Files
setup-docker-action/dist/index.js
2026-03-05 10:54:48 +00:00

16 lines
1.5 MiB
Generated
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import './sourcemap-register.cjs';import{createRequire as e}from"module";var t={3311:function(e,t){var r=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.ClientStreamingCall=void 0;class ClientStreamingCall{constructor(e,t,r,n,s,o,i){this.method=e;this.requestHeaders=t;this.requests=r;this.headers=n;this.response=s;this.status=o;this.trailers=i}then(e,t){return this.promiseFinished().then((t=>e?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return r(this,void 0,void 0,(function*(){let[e,t,r,n]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:t,status:r,trailers:n}}))}}t.ClientStreamingCall=ClientStreamingCall},9499:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.Deferred=t.DeferredState=void 0;var r;(function(e){e[e["PENDING"]=0]="PENDING";e[e["REJECTED"]=1]="REJECTED";e[e["RESOLVED"]=2]="RESOLVED"})(r=t.DeferredState||(t.DeferredState={}));class Deferred{constructor(e=true){this._state=r.PENDING;this._promise=new Promise(((e,t)=>{this._resolve=e;this._reject=t}));if(e){this._promise.catch((e=>{}))}}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==r.PENDING)throw new Error(`cannot resolve ${r[this.state].toLowerCase()}`);this._resolve(e);this._state=r.RESOLVED}reject(e){if(this.state!==r.PENDING)throw new Error(`cannot reject ${r[this.state].toLowerCase()}`);this._reject(e);this._state=r.REJECTED}resolvePending(e){if(this._state===r.PENDING)this.resolve(e)}rejectPending(e){if(this._state===r.PENDING)this.reject(e)}}t.Deferred=Deferred},800:function(e,t){var r=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.DuplexStreamingCall=void 0;class DuplexStreamingCall{constructor(e,t,r,n,s,o,i){this.method=e;this.requestHeaders=t;this.requests=r;this.headers=n;this.responses=s;this.status=o;this.trailers=i}then(e,t){return this.promiseFinished().then((t=>e?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return r(this,void 0,void 0,(function*(){let[e,t,r]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:t,trailers:r}}))}}t.DuplexStreamingCall=DuplexStreamingCall},6762:(e,t,r)=>{var n;n={value:true};var s=r(2554);Object.defineProperty(t,"C0",{enumerable:true,get:function(){return s.ServiceType}});var o=r(3402);n={enumerable:true,get:function(){return o.readMethodOptions}};n={enumerable:true,get:function(){return o.readMethodOption}};n={enumerable:true,get:function(){return o.readServiceOption}};var i=r(422);n={enumerable:true,get:function(){return i.RpcError}};var a=r(3474);n={enumerable:true,get:function(){return a.mergeRpcOptions}};var c=r(6407);n={enumerable:true,get:function(){return c.RpcOutputStreamController}};var l=r(5435);n={enumerable:true,get:function(){return l.TestTransport}};var u=r(9499);n={enumerable:true,get:function(){return u.Deferred}};n={enumerable:true,get:function(){return u.DeferredState}};var A=r(800);n={enumerable:true,get:function(){return A.DuplexStreamingCall}};var d=r(3311);n={enumerable:true,get:function(){return d.ClientStreamingCall}};var p=r(2715);n={enumerable:true,get:function(){return p.ServerStreamingCall}};var m=r(738);n={enumerable:true,get:function(){return m.UnaryCall}};var h=r(4359);n={enumerable:true,get:function(){return h.stackIntercept}};n={enumerable:true,get:function(){return h.stackDuplexStreamingInterceptors}};n={enumerable:true,get:function(){return h.stackClientStreamingInterceptors}};n={enumerable:true,get:function(){return h.stackServerStreamingInterceptors}};n={enumerable:true,get:function(){return h.stackUnaryInterceptors}};var g=r(4626);n={enumerable:true,get:function(){return g.ServerCallContextController}}},3402:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.readServiceOption=t.readMethodOption=t.readMethodOptions=t.normalizeMethodInfo=void 0;const n=r(8372);function normalizeMethodInfo(e,t){var r,s,o;let i=e;i.service=t;i.localName=(r=i.localName)!==null&&r!==void 0?r:n.lowerCamelCase(i.name);i.serverStreaming=!!i.serverStreaming;i.clientStreaming=!!i.clientStreaming;i.options=(s=i.options)!==null&&s!==void 0?s:{};i.idempotency=(o=i.idempotency)!==null&&o!==void 0?o:undefined;return i}t.normalizeMethodInfo=normalizeMethodInfo;function readMethodOptions(e,t,r,n){var s;const o=(s=e.methods.find(((e,r)=>e.localName===t||r===t)))===null||s===void 0?void 0:s.options;return o&&o[r]?n.fromJson(o[r]):undefined}t.readMethodOptions=readMethodOptions;function readMethodOption(e,t,r,n){var s;const o=(s=e.methods.find(((e,r)=>e.localName===t||r===t)))===null||s===void 0?void 0:s.options;if(!o){return undefined}const i=o[r];if(i===undefined){return i}return n?n.fromJson(i):i}t.readMethodOption=readMethodOption;function readServiceOption(e,t,r){const n=e.options;if(!n){return undefined}const s=n[t];if(s===undefined){return s}return r?r.fromJson(s):s}t.readServiceOption=readServiceOption},422:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.RpcError=void 0;class RpcError extends Error{constructor(e,t="UNKNOWN",r){super(e);this.name="RpcError";Object.setPrototypeOf(this,new.target.prototype);this.code=t;this.meta=r!==null&&r!==void 0?r:{}}toString(){const e=[this.name+": "+this.message];if(this.code){e.push("");e.push("Code: "+this.code)}if(this.serviceName&&this.methodName){e.push("Method: "+this.serviceName+"/"+this.methodName)}let t=Object.entries(this.meta);if(t.length){e.push("");e.push("Meta:");for(let[r,n]of t){e.push(` ${r}: ${n}`)}}return e.join("\n")}}t.RpcError=RpcError},4359:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.stackDuplexStreamingInterceptors=t.stackClientStreamingInterceptors=t.stackServerStreamingInterceptors=t.stackUnaryInterceptors=t.stackIntercept=void 0;const n=r(8372);function stackIntercept(e,t,r,s,o){var i,a,c,l;if(e=="unary"){let tail=(e,r,n)=>t.unary(e,r,n);for(const e of((i=s.interceptors)!==null&&i!==void 0?i:[]).filter((e=>e.interceptUnary)).reverse()){const t=tail;tail=(r,n,s)=>e.interceptUnary(t,r,n,s)}return tail(r,o,s)}if(e=="serverStreaming"){let tail=(e,r,n)=>t.serverStreaming(e,r,n);for(const e of((a=s.interceptors)!==null&&a!==void 0?a:[]).filter((e=>e.interceptServerStreaming)).reverse()){const t=tail;tail=(r,n,s)=>e.interceptServerStreaming(t,r,n,s)}return tail(r,o,s)}if(e=="clientStreaming"){let tail=(e,r)=>t.clientStreaming(e,r);for(const e of((c=s.interceptors)!==null&&c!==void 0?c:[]).filter((e=>e.interceptClientStreaming)).reverse()){const t=tail;tail=(r,n)=>e.interceptClientStreaming(t,r,n)}return tail(r,s)}if(e=="duplex"){let tail=(e,r)=>t.duplex(e,r);for(const e of((l=s.interceptors)!==null&&l!==void 0?l:[]).filter((e=>e.interceptDuplex)).reverse()){const t=tail;tail=(r,n)=>e.interceptDuplex(t,r,n)}return tail(r,s)}n.assertNever(e)}t.stackIntercept=stackIntercept;function stackUnaryInterceptors(e,t,r,n){return stackIntercept("unary",e,t,n,r)}t.stackUnaryInterceptors=stackUnaryInterceptors;function stackServerStreamingInterceptors(e,t,r,n){return stackIntercept("serverStreaming",e,t,n,r)}t.stackServerStreamingInterceptors=stackServerStreamingInterceptors;function stackClientStreamingInterceptors(e,t,r){return stackIntercept("clientStreaming",e,t,r)}t.stackClientStreamingInterceptors=stackClientStreamingInterceptors;function stackDuplexStreamingInterceptors(e,t,r){return stackIntercept("duplex",e,t,r)}t.stackDuplexStreamingInterceptors=stackDuplexStreamingInterceptors},3474:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.mergeRpcOptions=void 0;const n=r(8372);function mergeRpcOptions(e,t){if(!t)return e;let r={};copy(e,r);copy(t,r);for(let s of Object.keys(t)){let o=t[s];switch(s){case"jsonOptions":r.jsonOptions=n.mergeJsonOptions(e.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=n.mergeBinaryOptions(e.binaryOptions,r.binaryOptions);break;case"meta":r.meta={};copy(e.meta,r.meta);copy(t.meta,r.meta);break;case"interceptors":r.interceptors=e.interceptors?e.interceptors.concat(o):o.concat();break}}return r}t.mergeRpcOptions=mergeRpcOptions;function copy(e,t){if(!e)return;let r=t;for(let[t,n]of Object.entries(e)){if(n instanceof Date)r[t]=new Date(n.getTime());else if(Array.isArray(n))r[t]=n.concat();else r[t]=n}}},6407:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.RpcOutputStreamController=void 0;const n=r(9499);const s=r(8372);class RpcOutputStreamController{constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]};this._closed=false;this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,t){t.push(e);return()=>{let r=t.indexOf(e);if(r>=0)t.splice(r,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==false}notifyNext(e,t,r){s.assert((e?1:0)+(t?1:0)+(r?1:0)<=1,"only one emission at a time");if(e)this.notifyMessage(e);if(t)this.notifyError(t);if(r)this.notifyComplete()}notifyMessage(e){s.assert(!this.closed,"stream is closed");this.pushIt({value:e,done:false});this._lis.msg.forEach((t=>t(e)));this._lis.nxt.forEach((t=>t(e,undefined,false)))}notifyError(e){s.assert(!this.closed,"stream is closed");this._closed=e;this.pushIt(e);this._lis.err.forEach((t=>t(e)));this._lis.nxt.forEach((t=>t(undefined,e,false)));this.clearLis()}notifyComplete(){s.assert(!this.closed,"stream is closed");this._closed=true;this.pushIt({value:null,done:true});this._lis.cmp.forEach((e=>e()));this._lis.nxt.forEach((e=>e(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 e=this._itState;s.assert(e,"bad state");s.assert(!e.p,"iterator contract broken");let t=e.q.shift();if(t)return"value"in t?Promise.resolve(t):Promise.reject(t);e.p=new n.Deferred;return e.p.promise}}}pushIt(e){let t=this._itState;if(t.p){const r=t.p;s.assert(r.state==n.DeferredState.PENDING,"iterator contract broken");"value"in e?r.resolve(e):r.reject(e);delete t.p}else{t.q.push(e)}}}t.RpcOutputStreamController=RpcOutputStreamController},4626:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.ServerCallContextController=void 0;class ServerCallContextController{constructor(e,t,r,n,s={code:"OK",detail:""}){this._cancelled=false;this._listeners=[];this.method=e;this.headers=t;this.deadline=r;this.trailers={};this._sendRH=n;this.status=s}notifyCancelled(){if(!this._cancelled){this._cancelled=true;for(let e of this._listeners){e()}}}sendResponseHeaders(e){this._sendRH(e)}get cancelled(){return this._cancelled}onCancel(e){const t=this._listeners;t.push(e);return()=>{let r=t.indexOf(e);if(r>=0)t.splice(r,1)}}}t.ServerCallContextController=ServerCallContextController},2715:function(e,t){var r=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.ServerStreamingCall=void 0;class ServerStreamingCall{constructor(e,t,r,n,s,o,i){this.method=e;this.requestHeaders=t;this.request=r;this.headers=n;this.responses=s;this.status=o;this.trailers=i}then(e,t){return this.promiseFinished().then((t=>e?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return r(this,void 0,void 0,(function*(){let[e,t,r]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:t,trailers:r}}))}}t.ServerStreamingCall=ServerStreamingCall},2554:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ServiceType=void 0;const n=r(3402);class ServiceType{constructor(e,t,r){this.typeName=e;this.methods=t.map((e=>n.normalizeMethodInfo(e,this)));this.options=r!==null&&r!==void 0?r:{}}}t.ServiceType=ServiceType},5435:function(e,t,r){var n=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.TestTransport=void 0;const s=r(422);const o=r(8372);const i=r(6407);const a=r(3474);const c=r(738);const l=r(2715);const u=r(3311);const A=r(800);class TestTransport{constructor(e){this.suppressUncaughtRejections=true;this.headerDelay=10;this.responseDelay=50;this.betweenResponseDelay=10;this.afterResponseDelay=10;this.data=e!==null&&e!==void 0?e:{}}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 e;const t=(e=this.data.headers)!==null&&e!==void 0?e:TestTransport.defaultHeaders;return t instanceof s.RpcError?Promise.reject(t):Promise.resolve(t)}promiseSingleResponse(e){if(this.data.response instanceof s.RpcError){return Promise.reject(this.data.response)}let t;if(Array.isArray(this.data.response)){o.assert(this.data.response.length>0);t=this.data.response[0]}else if(this.data.response!==undefined){t=this.data.response}else{t=e.O.create()}o.assert(e.O.is(t));return Promise.resolve(t)}streamResponses(e,t,r){return n(this,void 0,void 0,(function*(){const n=[];if(this.data.response===undefined){n.push(e.O.create())}else if(Array.isArray(this.data.response)){for(let t of this.data.response){o.assert(e.O.is(t));n.push(t)}}else if(!(this.data.response instanceof s.RpcError)){o.assert(e.O.is(this.data.response));n.push(this.data.response)}try{yield delay(this.responseDelay,r)(undefined)}catch(e){t.notifyError(e);return}if(this.data.response instanceof s.RpcError){t.notifyError(this.data.response);return}for(let e of n){t.notifyMessage(e);try{yield delay(this.betweenResponseDelay,r)(undefined)}catch(e){t.notifyError(e);return}}if(this.data.status instanceof s.RpcError){t.notifyError(this.data.status);return}if(this.data.trailers instanceof s.RpcError){t.notifyError(this.data.trailers);return}t.notifyComplete()}))}promiseStatus(){var e;const t=(e=this.data.status)!==null&&e!==void 0?e:TestTransport.defaultStatus;return t instanceof s.RpcError?Promise.reject(t):Promise.resolve(t)}promiseTrailers(){var e;const t=(e=this.data.trailers)!==null&&e!==void 0?e:TestTransport.defaultTrailers;return t instanceof s.RpcError?Promise.reject(t):Promise.resolve(t)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections){for(let t of e){t.catch((()=>{}))}}}mergeOptions(e){return a.mergeRpcOptions({},e)}unary(e,t,r){var n;const s=(n=r.meta)!==null&&n!==void 0?n:{},o=this.promiseHeaders().then(delay(this.headerDelay,r.abort)),i=o.catch((e=>{})).then(delay(this.responseDelay,r.abort)).then((t=>this.promiseSingleResponse(e))),a=i.catch((e=>{})).then(delay(this.afterResponseDelay,r.abort)).then((e=>this.promiseStatus())),l=i.catch((e=>{})).then(delay(this.afterResponseDelay,r.abort)).then((e=>this.promiseTrailers()));this.maybeSuppressUncaught(a,l);this.lastInput={single:t};return new c.UnaryCall(e,s,t,o,i,a,l)}serverStreaming(e,t,r){var n;const s=(n=r.meta)!==null&&n!==void 0?n:{},o=this.promiseHeaders().then(delay(this.headerDelay,r.abort)),a=new i.RpcOutputStreamController,c=o.then(delay(this.responseDelay,r.abort)).catch((()=>{})).then((()=>this.streamResponses(e,a,r.abort))).then(delay(this.afterResponseDelay,r.abort)),u=c.then((()=>this.promiseStatus())),A=c.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(u,A);this.lastInput={single:t};return new l.ServerStreamingCall(e,s,t,o,a,u,A)}clientStreaming(e,t){var r;const n=(r=t.meta)!==null&&r!==void 0?r:{},s=this.promiseHeaders().then(delay(this.headerDelay,t.abort)),o=s.catch((e=>{})).then(delay(this.responseDelay,t.abort)).then((t=>this.promiseSingleResponse(e))),i=o.catch((e=>{})).then(delay(this.afterResponseDelay,t.abort)).then((e=>this.promiseStatus())),a=o.catch((e=>{})).then(delay(this.afterResponseDelay,t.abort)).then((e=>this.promiseTrailers()));this.maybeSuppressUncaught(i,a);this.lastInput=new TestInputStream(this.data,t.abort);return new u.ClientStreamingCall(e,n,this.lastInput,s,o,i,a)}duplex(e,t){var r;const n=(r=t.meta)!==null&&r!==void 0?r:{},s=this.promiseHeaders().then(delay(this.headerDelay,t.abort)),o=new i.RpcOutputStreamController,a=s.then(delay(this.responseDelay,t.abort)).catch((()=>{})).then((()=>this.streamResponses(e,o,t.abort))).then(delay(this.afterResponseDelay,t.abort)),c=a.then((()=>this.promiseStatus())),l=a.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(c,l);this.lastInput=new TestInputStream(this.data,t.abort);return new A.DuplexStreamingCall(e,n,this.lastInput,s,o,c,l)}}t.TestTransport=TestTransport;TestTransport.defaultHeaders={responseHeader:"test"};TestTransport.defaultStatus={code:"OK",detail:"all good"};TestTransport.defaultTrailers={responseTrailer:"test"};function delay(e,t){return r=>new Promise(((n,o)=>{if(t===null||t===void 0?void 0:t.aborted){o(new s.RpcError("user cancel","CANCELLED"))}else{const i=setTimeout((()=>n(r)),e);if(t){t.addEventListener("abort",(e=>{clearTimeout(i);o(new s.RpcError("user cancel","CANCELLED"))}))}}}))}class TestInputStream{constructor(e,t){this._completed=false;this._sent=[];this.data=e;this.abort=t}get sent(){return this._sent}get completed(){return this._completed}send(e){if(this.data.inputMessage instanceof s.RpcError){return Promise.reject(this.data.inputMessage)}const t=this.data.inputMessage===undefined?10:this.data.inputMessage;return Promise.resolve(undefined).then((()=>{this._sent.push(e)})).then(delay(t,this.abort))}complete(){if(this.data.inputComplete instanceof s.RpcError){return Promise.reject(this.data.inputComplete)}const e=this.data.inputComplete===undefined?10:this.data.inputComplete;return Promise.resolve(undefined).then((()=>{this._completed=true})).then(delay(e,this.abort))}}},738:function(e,t){var r=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.UnaryCall=void 0;class UnaryCall{constructor(e,t,r,n,s,o,i){this.method=e;this.requestHeaders=t;this.request=r;this.headers=n;this.response=s;this.status=o;this.trailers=i}then(e,t){return this.promiseFinished().then((t=>e?Promise.resolve(e(t)):t),(e=>t?Promise.resolve(t(e)):Promise.reject(e)))}promiseFinished(){return r(this,void 0,void 0,(function*(){let[e,t,r,n]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:t,status:r,trailers:n}}))}}t.UnaryCall=UnaryCall},6468:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.assertFloat32=t.assertUInt32=t.assertInt32=t.assertNever=t.assert=void 0;function assert(e,t){if(!e){throw new Error(t)}}t.assert=assert;function assertNever(e,t){throw new Error(t!==null&&t!==void 0?t:"Unexpected object: "+e)}t.assertNever=assertNever;const r=34028234663852886e22,n=-34028234663852886e22,s=4294967295,o=2147483647,i=-2147483648;function assertInt32(e){if(typeof e!=="number")throw new Error("invalid int 32: "+typeof e);if(!Number.isInteger(e)||e>o||e<i)throw new Error("invalid int 32: "+e)}t.assertInt32=assertInt32;function assertUInt32(e){if(typeof e!=="number")throw new Error("invalid uint 32: "+typeof e);if(!Number.isInteger(e)||e>s||e<0)throw new Error("invalid uint 32: "+e)}t.assertUInt32=assertUInt32;function assertFloat32(e){if(typeof e!=="number")throw new Error("invalid float 32: "+typeof e);if(!Number.isFinite(e))return;if(e>r||e<n)throw new Error("invalid float 32: "+e)}t.assertFloat32=assertFloat32},6689:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.base64encode=t.base64decode=void 0;let r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");let n=[];for(let e=0;e<r.length;e++)n[r[e].charCodeAt(0)]=e;n["-".charCodeAt(0)]=r.indexOf("+");n["_".charCodeAt(0)]=r.indexOf("/");function base64decode(e){let t=e.length*3/4;if(e[e.length-2]=="=")t-=2;else if(e[e.length-1]=="=")t-=1;let r=new Uint8Array(t),s=0,o=0,i,a=0;for(let t=0;t<e.length;t++){i=n[e.charCodeAt(t)];if(i===undefined){switch(e[t]){case"=":o=0;case"\n":case"\r":case"\t":case" ":continue;default:throw Error(`invalid base64 string.`)}}switch(o){case 0:a=i;o=1;break;case 1:r[s++]=a<<2|(i&48)>>4;a=i;o=2;break;case 2:r[s++]=(a&15)<<4|(i&60)>>2;a=i;o=3;break;case 3:r[s++]=(a&3)<<6|i;o=0;break}}if(o==1)throw Error(`invalid base64 string.`);return r.subarray(0,s)}t.base64decode=base64decode;function base64encode(e){let t="",n=0,s,o=0;for(let i=0;i<e.length;i++){s=e[i];switch(n){case 0:t+=r[s>>2];o=(s&3)<<4;n=1;break;case 1:t+=r[o|s>>4];o=(s&15)<<2;n=2;break;case 2:t+=r[o|s>>6];t+=r[s&63];n=0;break}}if(n){t+=r[o];t+="=";if(n==1)t+="="}return t}t.base64encode=base64encode},6690:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.WireType=t.mergeBinaryOptions=t.UnknownFieldHandler=void 0;var r;(function(e){e.symbol=Symbol.for("protobuf-ts/unknown");e.onRead=(t,r,n,s,o)=>{let i=is(r)?r[e.symbol]:r[e.symbol]=[];i.push({no:n,wireType:s,data:o})};e.onWrite=(t,r,n)=>{for(let{no:t,wireType:s,data:o}of e.list(r))n.tag(t,s).raw(o)};e.list=(t,r)=>{if(is(t)){let n=t[e.symbol];return r?n.filter((e=>e.no==r)):n}return[]};e.last=(t,r)=>e.list(t,r).slice(-1)[0];const is=t=>t&&Array.isArray(t[e.symbol])})(r=t.UnknownFieldHandler||(t.UnknownFieldHandler={}));function mergeBinaryOptions(e,t){return Object.assign(Object.assign({},e),t)}t.mergeBinaryOptions=mergeBinaryOptions;var n;(function(e){e[e["Varint"]=0]="Varint";e[e["Bit64"]=1]="Bit64";e[e["LengthDelimited"]=2]="LengthDelimited";e[e["StartGroup"]=3]="StartGroup";e[e["EndGroup"]=4]="EndGroup";e[e["Bit32"]=5]="Bit32"})(n=t.WireType||(t.WireType={}))},8887:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.BinaryReader=t.binaryReadOptions=void 0;const n=r(6690);const s=r(5579);const o=r(365);const i={readUnknownField:true,readerFactory:e=>new BinaryReader(e)};function binaryReadOptions(e){return e?Object.assign(Object.assign({},i),e):i}t.binaryReadOptions=binaryReadOptions;class BinaryReader{constructor(e,t){this.varint64=o.varint64read;this.uint32=o.varint32read;this.buf=e;this.len=e.length;this.pos=0;this.view=new DataView(e.buffer,e.byteOffset,e.byteLength);this.textDecoder=t!==null&&t!==void 0?t:new TextDecoder("utf-8",{fatal:true,ignoreBOM:true})}tag(){let e=this.uint32(),t=e>>>3,r=e&7;if(t<=0||r<0||r>5)throw new Error("illegal tag: field no "+t+" wire type "+r);return[t,r]}skip(e){let t=this.pos;switch(e){case n.WireType.Varint:while(this.buf[this.pos++]&128){}break;case n.WireType.Bit64:this.pos+=4;case n.WireType.Bit32:this.pos+=4;break;case n.WireType.LengthDelimited:let t=this.uint32();this.pos+=t;break;case n.WireType.StartGroup:let r;while((r=this.tag()[1])!==n.WireType.EndGroup){this.skip(r)}break;default:throw new Error("cant skip wire type "+e)}this.assertBounds();return this.buf.subarray(t,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let e=this.uint32();return e>>>1^-(e&1)}int64(){return new s.PbLong(...this.varint64())}uint64(){return new s.PbULong(...this.varint64())}sint64(){let[e,t]=this.varint64();let r=-(e&1);e=(e>>>1|(t&1)<<31)^r;t=t>>>1^r;return new s.PbLong(e,t)}bool(){let[e,t]=this.varint64();return e!==0||t!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,true)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,true)}fixed64(){return new s.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new s.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 e=this.uint32();let t=this.pos;this.pos+=e;this.assertBounds();return this.buf.subarray(t,t+e)}string(){return this.textDecoder.decode(this.bytes())}}t.BinaryReader=BinaryReader},4839:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.BinaryWriter=t.binaryWriteOptions=void 0;const n=r(5579);const s=r(365);const o=r(6468);const i={writeUnknownFields:true,writerFactory:()=>new BinaryWriter};function binaryWriteOptions(e){return e?Object.assign(Object.assign({},i),e):i}t.binaryWriteOptions=binaryWriteOptions;class BinaryWriter{constructor(e){this.stack=[];this.textEncoder=e!==null&&e!==void 0?e:new TextEncoder;this.chunks=[];this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let t=0;t<this.chunks.length;t++)e+=this.chunks[t].length;let t=new Uint8Array(e);let r=0;for(let e=0;e<this.chunks.length;e++){t.set(this.chunks[e],r);r+=this.chunks[e].length}this.chunks=[];return t}fork(){this.stack.push({chunks:this.chunks,buf:this.buf});this.chunks=[];this.buf=[];return this}join(){let e=this.finish();let t=this.stack.pop();if(!t)throw new Error("invalid state, fork stack empty");this.chunks=t.chunks;this.buf=t.buf;this.uint32(e.byteLength);return this.raw(e)}tag(e,t){return this.uint32((e<<3|t)>>>0)}raw(e){if(this.buf.length){this.chunks.push(new Uint8Array(this.buf));this.buf=[]}this.chunks.push(e);return this}uint32(e){o.assertUInt32(e);while(e>127){this.buf.push(e&127|128);e=e>>>7}this.buf.push(e);return this}int32(e){o.assertInt32(e);s.varint32write(e,this.buf);return this}bool(e){this.buf.push(e?1:0);return this}bytes(e){this.uint32(e.byteLength);return this.raw(e)}string(e){let t=this.textEncoder.encode(e);this.uint32(t.byteLength);return this.raw(t)}float(e){o.assertFloat32(e);let t=new Uint8Array(4);new DataView(t.buffer).setFloat32(0,e,true);return this.raw(t)}double(e){let t=new Uint8Array(8);new DataView(t.buffer).setFloat64(0,e,true);return this.raw(t)}fixed32(e){o.assertUInt32(e);let t=new Uint8Array(4);new DataView(t.buffer).setUint32(0,e,true);return this.raw(t)}sfixed32(e){o.assertInt32(e);let t=new Uint8Array(4);new DataView(t.buffer).setInt32(0,e,true);return this.raw(t)}sint32(e){o.assertInt32(e);e=(e<<1^e>>31)>>>0;s.varint32write(e,this.buf);return this}sfixed64(e){let t=new Uint8Array(8);let r=new DataView(t.buffer);let s=n.PbLong.from(e);r.setInt32(0,s.lo,true);r.setInt32(4,s.hi,true);return this.raw(t)}fixed64(e){let t=new Uint8Array(8);let r=new DataView(t.buffer);let s=n.PbULong.from(e);r.setInt32(0,s.lo,true);r.setInt32(4,s.hi,true);return this.raw(t)}int64(e){let t=n.PbLong.from(e);s.varint64write(t.lo,t.hi,this.buf);return this}sint64(e){let t=n.PbLong.from(e),r=t.hi>>31,o=t.lo<<1^r,i=(t.hi<<1|t.lo>>>31)^r;s.varint64write(o,i,this.buf);return this}uint64(e){let t=n.PbULong.from(e);s.varint64write(t.lo,t.hi,this.buf);return this}}t.BinaryWriter=BinaryWriter},6959:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.listEnumNumbers=t.listEnumNames=t.listEnumValues=t.isEnumObject=void 0;function isEnumObject(e){if(typeof e!="object"||e===null){return false}if(!e.hasOwnProperty(0)){return false}for(let t of Object.keys(e)){let r=parseInt(t);if(!Number.isNaN(r)){let t=e[r];if(t===undefined)return false;if(e[t]!==r)return false}else{let r=e[t];if(r===undefined)return false;if(typeof r!=="number")return false;if(e[r]===undefined)return false}}return true}t.isEnumObject=isEnumObject;function listEnumValues(e){if(!isEnumObject(e))throw new Error("not a typescript enum object");let t=[];for(let[r,n]of Object.entries(e))if(typeof n=="number")t.push({name:r,number:n});return t}t.listEnumValues=listEnumValues;function listEnumNames(e){return listEnumValues(e).map((e=>e.name))}t.listEnumNames=listEnumNames;function listEnumNumbers(e){return listEnumValues(e).map((e=>e.number)).filter(((e,t,r)=>r.indexOf(e)==t))}t.listEnumNumbers=listEnumNumbers},365:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.varint32read=t.varint32write=t.int64toString=t.int64fromString=t.varint64write=t.varint64read=void 0;function varint64read(){let e=0;let t=0;for(let r=0;r<28;r+=7){let n=this.buf[this.pos++];e|=(n&127)<<r;if((n&128)==0){this.assertBounds();return[e,t]}}let r=this.buf[this.pos++];e|=(r&15)<<28;t=(r&112)>>4;if((r&128)==0){this.assertBounds();return[e,t]}for(let r=3;r<=31;r+=7){let n=this.buf[this.pos++];t|=(n&127)<<r;if((n&128)==0){this.assertBounds();return[e,t]}}throw new Error("invalid varint")}t.varint64read=varint64read;function varint64write(e,t,r){for(let n=0;n<28;n=n+7){const s=e>>>n;const o=!(s>>>7==0&&t==0);const i=(o?s|128:s)&255;r.push(i);if(!o){return}}const n=e>>>28&15|(t&7)<<4;const s=!(t>>3==0);r.push((s?n|128:n)&255);if(!s){return}for(let e=3;e<31;e=e+7){const n=t>>>e;const s=!(n>>>7==0);const o=(s?n|128:n)&255;r.push(o);if(!s){return}}r.push(t>>>31&1)}t.varint64write=varint64write;const r=(1<<16)*(1<<16);function int64fromString(e){let t=e[0]=="-";if(t)e=e.slice(1);const n=1e6;let s=0;let o=0;function add1e6digit(t,i){const a=Number(e.slice(t,i));o*=n;s=s*n+a;if(s>=r){o=o+(s/r|0);s=s%r}}add1e6digit(-24,-18);add1e6digit(-18,-12);add1e6digit(-12,-6);add1e6digit(-6);return[t,s,o]}t.int64fromString=int64fromString;function int64toString(e,t){if(t>>>0<=2097151){return""+(r*t+(e>>>0))}let n=e&16777215;let s=(e>>>24|t<<8)>>>0&16777215;let o=t>>16&65535;let i=n+s*6777216+o*6710656;let a=s+o*8147497;let c=o*2;let l=1e7;if(i>=l){a+=Math.floor(i/l);i%=l}if(a>=l){c+=Math.floor(a/l);a%=l}function decimalFrom1e7(e,t){let r=e?String(e):"";if(t){return"0000000".slice(r.length)+r}return r}return decimalFrom1e7(c,0)+decimalFrom1e7(a,c)+decimalFrom1e7(i,1)}t.int64toString=int64toString;function varint32write(e,t){if(e>=0){while(e>127){t.push(e&127|128);e=e>>>7}t.push(e)}else{for(let r=0;r<9;r++){t.push(e&127|128);e=e>>7}t.push(1)}}t.varint32write=varint32write;function varint32read(){let e=this.buf[this.pos++];let t=e&127;if((e&128)==0){this.assertBounds();return t}e=this.buf[this.pos++];t|=(e&127)<<7;if((e&128)==0){this.assertBounds();return t}e=this.buf[this.pos++];t|=(e&127)<<14;if((e&128)==0){this.assertBounds();return t}e=this.buf[this.pos++];t|=(e&127)<<21;if((e&128)==0){this.assertBounds();return t}e=this.buf[this.pos++];t|=(e&15)<<28;for(let t=5;(e&128)!==0&&t<10;t++)e=this.buf[this.pos++];if((e&128)!=0)throw new Error("invalid varint");this.assertBounds();return t>>>0}t.varint32read=varint32read},8372:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});var n=r(8369);Object.defineProperty(t,"typeofJsonValue",{enumerable:true,get:function(){return n.typeofJsonValue}});Object.defineProperty(t,"isJsonObject",{enumerable:true,get:function(){return n.isJsonObject}});var s=r(6689);Object.defineProperty(t,"base64decode",{enumerable:true,get:function(){return s.base64decode}});Object.defineProperty(t,"base64encode",{enumerable:true,get:function(){return s.base64encode}});var o=r(5424);Object.defineProperty(t,"utf8read",{enumerable:true,get:function(){return o.utf8read}});var i=r(6690);Object.defineProperty(t,"WireType",{enumerable:true,get:function(){return i.WireType}});Object.defineProperty(t,"mergeBinaryOptions",{enumerable:true,get:function(){return i.mergeBinaryOptions}});Object.defineProperty(t,"UnknownFieldHandler",{enumerable:true,get:function(){return i.UnknownFieldHandler}});var a=r(8887);Object.defineProperty(t,"BinaryReader",{enumerable:true,get:function(){return a.BinaryReader}});Object.defineProperty(t,"binaryReadOptions",{enumerable:true,get:function(){return a.binaryReadOptions}});var c=r(4839);Object.defineProperty(t,"BinaryWriter",{enumerable:true,get:function(){return c.BinaryWriter}});Object.defineProperty(t,"binaryWriteOptions",{enumerable:true,get:function(){return c.binaryWriteOptions}});var l=r(5579);Object.defineProperty(t,"PbLong",{enumerable:true,get:function(){return l.PbLong}});Object.defineProperty(t,"PbULong",{enumerable:true,get:function(){return l.PbULong}});var u=r(3389);Object.defineProperty(t,"jsonReadOptions",{enumerable:true,get:function(){return u.jsonReadOptions}});Object.defineProperty(t,"jsonWriteOptions",{enumerable:true,get:function(){return u.jsonWriteOptions}});Object.defineProperty(t,"mergeJsonOptions",{enumerable:true,get:function(){return u.mergeJsonOptions}});var A=r(1371);Object.defineProperty(t,"MESSAGE_TYPE",{enumerable:true,get:function(){return A.MESSAGE_TYPE}});var d=r(4172);Object.defineProperty(t,"MessageType",{enumerable:true,get:function(){return d.MessageType}});var p=r(528);Object.defineProperty(t,"ScalarType",{enumerable:true,get:function(){return p.ScalarType}});Object.defineProperty(t,"LongType",{enumerable:true,get:function(){return p.LongType}});Object.defineProperty(t,"RepeatType",{enumerable:true,get:function(){return p.RepeatType}});Object.defineProperty(t,"normalizeFieldInfo",{enumerable:true,get:function(){return p.normalizeFieldInfo}});Object.defineProperty(t,"readFieldOptions",{enumerable:true,get:function(){return p.readFieldOptions}});Object.defineProperty(t,"readFieldOption",{enumerable:true,get:function(){return p.readFieldOption}});Object.defineProperty(t,"readMessageOption",{enumerable:true,get:function(){return p.readMessageOption}});var m=r(5649);Object.defineProperty(t,"ReflectionTypeCheck",{enumerable:true,get:function(){return m.ReflectionTypeCheck}});var h=r(868);Object.defineProperty(t,"reflectionCreate",{enumerable:true,get:function(){return h.reflectionCreate}});var g=r(412);Object.defineProperty(t,"reflectionScalarDefault",{enumerable:true,get:function(){return g.reflectionScalarDefault}});var f=r(8674);Object.defineProperty(t,"reflectionMergePartial",{enumerable:true,get:function(){return f.reflectionMergePartial}});var E=r(8197);Object.defineProperty(t,"reflectionEquals",{enumerable:true,get:function(){return E.reflectionEquals}});var y=r(2161);Object.defineProperty(t,"ReflectionBinaryReader",{enumerable:true,get:function(){return y.ReflectionBinaryReader}});var C=r(5325);Object.defineProperty(t,"ReflectionBinaryWriter",{enumerable:true,get:function(){return C.ReflectionBinaryWriter}});var I=r(5240);Object.defineProperty(t,"ReflectionJsonReader",{enumerable:true,get:function(){return I.ReflectionJsonReader}});var B=r(5572);Object.defineProperty(t,"ReflectionJsonWriter",{enumerable:true,get:function(){return B.ReflectionJsonWriter}});var b=r(5556);Object.defineProperty(t,"containsMessageType",{enumerable:true,get:function(){return b.containsMessageType}});var w=r(4857);Object.defineProperty(t,"isOneofGroup",{enumerable:true,get:function(){return w.isOneofGroup}});Object.defineProperty(t,"setOneofValue",{enumerable:true,get:function(){return w.setOneofValue}});Object.defineProperty(t,"getOneofValue",{enumerable:true,get:function(){return w.getOneofValue}});Object.defineProperty(t,"clearOneofValue",{enumerable:true,get:function(){return w.clearOneofValue}});Object.defineProperty(t,"getSelectedOneofValue",{enumerable:true,get:function(){return w.getSelectedOneofValue}});var S=r(6959);Object.defineProperty(t,"listEnumValues",{enumerable:true,get:function(){return S.listEnumValues}});Object.defineProperty(t,"listEnumNames",{enumerable:true,get:function(){return S.listEnumNames}});Object.defineProperty(t,"listEnumNumbers",{enumerable:true,get:function(){return S.listEnumNumbers}});Object.defineProperty(t,"isEnumObject",{enumerable:true,get:function(){return S.isEnumObject}});var Q=r(4959);Object.defineProperty(t,"lowerCamelCase",{enumerable:true,get:function(){return Q.lowerCamelCase}});var N=r(6468);Object.defineProperty(t,"assert",{enumerable:true,get:function(){return N.assert}});Object.defineProperty(t,"assertNever",{enumerable:true,get:function(){return N.assertNever}});Object.defineProperty(t,"assertInt32",{enumerable:true,get:function(){return N.assertInt32}});Object.defineProperty(t,"assertUInt32",{enumerable:true,get:function(){return N.assertUInt32}});Object.defineProperty(t,"assertFloat32",{enumerable:true,get:function(){return N.assertFloat32}})},3389:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.mergeJsonOptions=t.jsonWriteOptions=t.jsonReadOptions=void 0;const r={emitDefaultValues:false,enumAsInteger:false,useProtoFieldName:false,prettySpaces:0},n={ignoreUnknownFields:false};function jsonReadOptions(e){return e?Object.assign(Object.assign({},n),e):n}t.jsonReadOptions=jsonReadOptions;function jsonWriteOptions(e){return e?Object.assign(Object.assign({},r),e):r}t.jsonWriteOptions=jsonWriteOptions;function mergeJsonOptions(e,t){var r,n;let s=Object.assign(Object.assign({},e),t);s.typeRegistry=[...(r=e===null||e===void 0?void 0:e.typeRegistry)!==null&&r!==void 0?r:[],...(n=t===null||t===void 0?void 0:t.typeRegistry)!==null&&n!==void 0?n:[]];return s}t.mergeJsonOptions=mergeJsonOptions},8369:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.isJsonObject=t.typeofJsonValue=void 0;function typeofJsonValue(e){let t=typeof e;if(t=="object"){if(Array.isArray(e))return"array";if(e===null)return"null"}return t}t.typeofJsonValue=typeofJsonValue;function isJsonObject(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}t.isJsonObject=isJsonObject},4959:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.lowerCamelCase=void 0;function lowerCamelCase(e){let t=false;const r=[];for(let n=0;n<e.length;n++){let s=e.charAt(n);if(s=="_"){t=true}else if(/\d/.test(s)){r.push(s);t=true}else if(t){r.push(s.toUpperCase());t=false}else if(n==0){r.push(s.toLowerCase())}else{r.push(s)}}return r.join("")}t.lowerCamelCase=lowerCamelCase},1371:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.MESSAGE_TYPE=void 0;t.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")},4172:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.MessageType=void 0;const n=r(1371);const s=r(528);const o=r(5649);const i=r(5240);const a=r(5572);const c=r(2161);const l=r(5325);const u=r(868);const A=r(8674);const d=r(8369);const p=r(3389);const m=r(8197);const h=r(4839);const g=r(8887);const f=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({}));const E=f[n.MESSAGE_TYPE]={};class MessageType{constructor(e,t,r){this.defaultCheckDepth=16;this.typeName=e;this.fields=t.map(s.normalizeFieldInfo);this.options=r!==null&&r!==void 0?r:{};E.value=this;this.messagePrototype=Object.create(null,f);this.refTypeCheck=new o.ReflectionTypeCheck(this);this.refJsonReader=new i.ReflectionJsonReader(this);this.refJsonWriter=new a.ReflectionJsonWriter(this);this.refBinReader=new c.ReflectionBinaryReader(this);this.refBinWriter=new l.ReflectionBinaryWriter(this)}create(e){let t=u.reflectionCreate(this);if(e!==undefined){A.reflectionMergePartial(this,t,e)}return t}clone(e){let t=this.create();A.reflectionMergePartial(this,t,e);return t}equals(e,t){return m.reflectionEquals(this,e,t)}is(e,t=this.defaultCheckDepth){return this.refTypeCheck.is(e,t,false)}isAssignable(e,t=this.defaultCheckDepth){return this.refTypeCheck.is(e,t,true)}mergePartial(e,t){A.reflectionMergePartial(this,e,t)}fromBinary(e,t){let r=g.binaryReadOptions(t);return this.internalBinaryRead(r.readerFactory(e),e.byteLength,r)}fromJson(e,t){return this.internalJsonRead(e,p.jsonReadOptions(t))}fromJsonString(e,t){let r=JSON.parse(e);return this.fromJson(r,t)}toJson(e,t){return this.internalJsonWrite(e,p.jsonWriteOptions(t))}toJsonString(e,t){var r;let n=this.toJson(e,t);return JSON.stringify(n,null,(r=t===null||t===void 0?void 0:t.prettySpaces)!==null&&r!==void 0?r:0)}toBinary(e,t){let r=h.binaryWriteOptions(t);return this.internalBinaryWrite(e,r.writerFactory(),r).finish()}internalJsonRead(e,t,r){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let n=r!==null&&r!==void 0?r:this.create();this.refJsonReader.read(e,n,t);return n}throw new Error(`Unable to parse message ${this.typeName} from JSON ${d.typeofJsonValue(e)}.`)}internalJsonWrite(e,t){return this.refJsonWriter.write(e,t)}internalBinaryWrite(e,t,r){this.refBinWriter.write(e,t,r);return t}internalBinaryRead(e,t,r,n){let s=n!==null&&n!==void 0?n:this.create();this.refBinReader.read(e,s,r,t);return s}}t.MessageType=MessageType},4857:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.getSelectedOneofValue=t.clearOneofValue=t.setUnknownOneofValue=t.setOneofValue=t.getOneofValue=t.isOneofGroup=void 0;function isOneofGroup(e){if(typeof e!="object"||e===null||!e.hasOwnProperty("oneofKind")){return false}switch(typeof e.oneofKind){case"string":if(e[e.oneofKind]===undefined)return false;return Object.keys(e).length==2;case"undefined":return Object.keys(e).length==1;default:return false}}t.isOneofGroup=isOneofGroup;function getOneofValue(e,t){return e[t]}t.getOneofValue=getOneofValue;function setOneofValue(e,t,r){if(e.oneofKind!==undefined){delete e[e.oneofKind]}e.oneofKind=t;if(r!==undefined){e[t]=r}}t.setOneofValue=setOneofValue;function setUnknownOneofValue(e,t,r){if(e.oneofKind!==undefined){delete e[e.oneofKind]}e.oneofKind=t;if(r!==undefined&&t!==undefined){e[t]=r}}t.setUnknownOneofValue=setUnknownOneofValue;function clearOneofValue(e){if(e.oneofKind!==undefined){delete e[e.oneofKind]}e.oneofKind=undefined}t.clearOneofValue=clearOneofValue;function getSelectedOneofValue(e){if(e.oneofKind===undefined){return undefined}return e[e.oneofKind]}t.getSelectedOneofValue=getSelectedOneofValue},5579:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.PbLong=t.PbULong=t.detectBi=void 0;const n=r(365);let s;function detectBi(){const e=new DataView(new ArrayBuffer(8));const t=globalThis.BigInt!==undefined&&typeof e.getBigInt64==="function"&&typeof e.getBigUint64==="function"&&typeof e.setBigInt64==="function"&&typeof e.setBigUint64==="function";s=t?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:e}:undefined}t.detectBi=detectBi;detectBi();function assertBi(e){if(!e)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}const o=/^-?[0-9]+$/;const i=4294967296;const a=2147483648;class SharedPbLong{constructor(e,t){this.lo=e|0;this.hi=t|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*i+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}}class PbULong extends SharedPbLong{static from(e){if(s)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=s.C(e);case"number":if(e===0)return this.ZERO;e=s.C(e);case"bigint":if(!e)return this.ZERO;if(e<s.UMIN)throw new Error("signed value for ulong");if(e>s.UMAX)throw new Error("ulong too large");s.V.setBigUint64(0,e,true);return new PbULong(s.V.getInt32(0,true),s.V.getInt32(4,true))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;e=e.trim();if(!o.test(e))throw new Error("string is no integer");let[t,r,s]=n.int64fromString(e);if(t)throw new Error("signed value for ulong");return new PbULong(r,s);case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");if(e<0)throw new Error("signed value for ulong");return new PbULong(e,e/i)}throw new Error("unknown value "+typeof e)}toString(){return s?this.toBigInt().toString():n.int64toString(this.lo,this.hi)}toBigInt(){assertBi(s);s.V.setInt32(0,this.lo,true);s.V.setInt32(4,this.hi,true);return s.V.getBigUint64(0,true)}}t.PbULong=PbULong;PbULong.ZERO=new PbULong(0,0);class PbLong extends SharedPbLong{static from(e){if(s)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=s.C(e);case"number":if(e===0)return this.ZERO;e=s.C(e);case"bigint":if(!e)return this.ZERO;if(e<s.MIN)throw new Error("signed long too small");if(e>s.MAX)throw new Error("signed long too large");s.V.setBigInt64(0,e,true);return new PbLong(s.V.getInt32(0,true),s.V.getInt32(4,true))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;e=e.trim();if(!o.test(e))throw new Error("string is no integer");let[t,r,s]=n.int64fromString(e);if(t){if(s>a||s==a&&r!=0)throw new Error("signed long too small")}else if(s>=a)throw new Error("signed long too large");let c=new PbLong(r,s);return t?c.negate():c;case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");return e>0?new PbLong(e,e/i):new PbLong(-e,-e/i).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&a)!==0}negate(){let e=~this.hi,t=this.lo;if(t)t=~t+1;else e+=1;return new PbLong(t,e)}toString(){if(s)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+n.int64toString(e.lo,e.hi)}return n.int64toString(this.lo,this.hi)}toBigInt(){assertBi(s);s.V.setInt32(0,this.lo,true);s.V.setInt32(4,this.hi,true);return s.V.getBigInt64(0,true)}}t.PbLong=PbLong;PbLong.ZERO=new PbLong(0,0)},5424:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.utf8read=void 0;const fromCharCodes=e=>String.fromCharCode.apply(String,e);function utf8read(e){if(e.length<1)return"";let t=0,r=[],n=[],s=0,o;let i=e.length;while(t<i){o=e[t++];if(o<128)n[s++]=o;else if(o>191&&o<224)n[s++]=(o&31)<<6|e[t++]&63;else if(o>239&&o<365){o=((o&7)<<18|(e[t++]&63)<<12|(e[t++]&63)<<6|e[t++]&63)-65536;n[s++]=55296+(o>>10);n[s++]=56320+(o&1023)}else n[s++]=(o&15)<<12|(e[t++]&63)<<6|e[t++]&63;if(s>8191){r.push(fromCharCodes(n));s=0}}if(r.length){if(s)r.push(fromCharCodes(n.slice(0,s)));return r.join("")}return fromCharCodes(n.slice(0,s))}t.utf8read=utf8read},2161:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ReflectionBinaryReader=void 0;const n=r(6690);const s=r(528);const o=r(2344);const i=r(412);class ReflectionBinaryReader{constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){const t=(e=this.info.fields)!==null&&e!==void 0?e:[];this.fieldNoToField=new Map(t.map((e=>[e.no,e])))}}read(e,t,r,o){this.prepare();const i=o===undefined?e.len:e.pos+o;while(e.pos<i){const[o,i]=e.tag(),a=this.fieldNoToField.get(o);if(!a){let s=r.readUnknownField;if(s=="throw")throw new Error(`Unknown field ${o} (wire type ${i}) for ${this.info.typeName}`);let a=e.skip(i);if(s!==false)(s===true?n.UnknownFieldHandler.onRead:s)(this.info.typeName,t,o,i,a);continue}let c=t,l=a.repeat,u=a.localName;if(a.oneof){c=c[a.oneof];if(c.oneofKind!==u)c=t[a.oneof]={oneofKind:u}}switch(a.kind){case"scalar":case"enum":let t=a.kind=="enum"?s.ScalarType.INT32:a.T;let o=a.kind=="scalar"?a.L:undefined;if(l){let r=c[u];if(i==n.WireType.LengthDelimited&&t!=s.ScalarType.STRING&&t!=s.ScalarType.BYTES){let n=e.uint32()+e.pos;while(e.pos<n)r.push(this.scalar(e,t,o))}else r.push(this.scalar(e,t,o))}else c[u]=this.scalar(e,t,o);break;case"message":if(l){let t=c[u];let n=a.T().internalBinaryRead(e,e.uint32(),r);t.push(n)}else c[u]=a.T().internalBinaryRead(e,e.uint32(),r,c[u]);break;case"map":let[A,d]=this.mapEntry(a,e,r);c[u][A]=d;break}}}mapEntry(e,t,r){let n=t.uint32();let o=t.pos+n;let a=undefined;let c=undefined;while(t.pos<o){let[n,o]=t.tag();switch(n){case 1:if(e.K==s.ScalarType.BOOL)a=t.bool().toString();else a=this.scalar(t,e.K,s.LongType.STRING);break;case 2:switch(e.V.kind){case"scalar":c=this.scalar(t,e.V.T,e.V.L);break;case"enum":c=t.int32();break;case"message":c=e.V.T().internalBinaryRead(t,t.uint32(),r);break}break;default:throw new Error(`Unknown field ${n} (wire type ${o}) in map entry for ${this.info.typeName}#${e.name}`)}}if(a===undefined){let t=i.reflectionScalarDefault(e.K);a=e.K==s.ScalarType.BOOL?t.toString():t}if(c===undefined)switch(e.V.kind){case"scalar":c=i.reflectionScalarDefault(e.V.T,e.V.L);break;case"enum":c=0;break;case"message":c=e.V.T().create();break}return[a,c]}scalar(e,t,r){switch(t){case s.ScalarType.INT32:return e.int32();case s.ScalarType.STRING:return e.string();case s.ScalarType.BOOL:return e.bool();case s.ScalarType.DOUBLE:return e.double();case s.ScalarType.FLOAT:return e.float();case s.ScalarType.INT64:return o.reflectionLongConvert(e.int64(),r);case s.ScalarType.UINT64:return o.reflectionLongConvert(e.uint64(),r);case s.ScalarType.FIXED64:return o.reflectionLongConvert(e.fixed64(),r);case s.ScalarType.FIXED32:return e.fixed32();case s.ScalarType.BYTES:return e.bytes();case s.ScalarType.UINT32:return e.uint32();case s.ScalarType.SFIXED32:return e.sfixed32();case s.ScalarType.SFIXED64:return o.reflectionLongConvert(e.sfixed64(),r);case s.ScalarType.SINT32:return e.sint32();case s.ScalarType.SINT64:return o.reflectionLongConvert(e.sint64(),r)}}}t.ReflectionBinaryReader=ReflectionBinaryReader},5325:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ReflectionBinaryWriter=void 0;const n=r(6690);const s=r(528);const o=r(6468);const i=r(5579);class ReflectionBinaryWriter{constructor(e){this.info=e}prepare(){if(!this.fields){const e=this.info.fields?this.info.fields.concat():[];this.fields=e.sort(((e,t)=>e.no-t.no))}}write(e,t,r){this.prepare();for(const n of this.fields){let i,a,c=n.repeat,l=n.localName;if(n.oneof){const t=e[n.oneof];if(t.oneofKind!==l)continue;i=t[l];a=true}else{i=e[l];a=false}switch(n.kind){case"scalar":case"enum":let e=n.kind=="enum"?s.ScalarType.INT32:n.T;if(c){o.assert(Array.isArray(i));if(c==s.RepeatType.PACKED)this.packed(t,e,n.no,i);else for(const r of i)this.scalar(t,e,n.no,r,true)}else if(i===undefined)o.assert(n.opt);else this.scalar(t,e,n.no,i,a||n.opt);break;case"message":if(c){o.assert(Array.isArray(i));for(const e of i)this.message(t,r,n.T(),n.no,e)}else{this.message(t,r,n.T(),n.no,i)}break;case"map":o.assert(typeof i=="object"&&i!==null);for(const[e,s]of Object.entries(i))this.mapEntry(t,r,n,e,s);break}}let i=r.writeUnknownFields;if(i!==false)(i===true?n.UnknownFieldHandler.onWrite:i)(this.info.typeName,e,t)}mapEntry(e,t,r,i,a){e.tag(r.no,n.WireType.LengthDelimited);e.fork();let c=i;switch(r.K){case s.ScalarType.INT32:case s.ScalarType.FIXED32:case s.ScalarType.UINT32:case s.ScalarType.SFIXED32:case s.ScalarType.SINT32:c=Number.parseInt(i);break;case s.ScalarType.BOOL:o.assert(i=="true"||i=="false");c=i=="true";break}this.scalar(e,r.K,1,c,true);switch(r.V.kind){case"scalar":this.scalar(e,r.V.T,2,a,true);break;case"enum":this.scalar(e,s.ScalarType.INT32,2,a,true);break;case"message":this.message(e,t,r.V.T(),2,a);break}e.join()}message(e,t,r,s,o){if(o===undefined)return;r.internalBinaryWrite(o,e.tag(s,n.WireType.LengthDelimited).fork(),t);e.join()}scalar(e,t,r,n,s){let[o,i,a]=this.scalarInfo(t,n);if(!a||s){e.tag(r,o);e[i](n)}}packed(e,t,r,i){if(!i.length)return;o.assert(t!==s.ScalarType.BYTES&&t!==s.ScalarType.STRING);e.tag(r,n.WireType.LengthDelimited);e.fork();let[,a]=this.scalarInfo(t);for(let t=0;t<i.length;t++)e[a](i[t]);e.join()}scalarInfo(e,t){let r=n.WireType.Varint;let o;let a=t===undefined;let c=t===0;switch(e){case s.ScalarType.INT32:o="int32";break;case s.ScalarType.STRING:c=a||!t.length;r=n.WireType.LengthDelimited;o="string";break;case s.ScalarType.BOOL:c=t===false;o="bool";break;case s.ScalarType.UINT32:o="uint32";break;case s.ScalarType.DOUBLE:r=n.WireType.Bit64;o="double";break;case s.ScalarType.FLOAT:r=n.WireType.Bit32;o="float";break;case s.ScalarType.INT64:c=a||i.PbLong.from(t).isZero();o="int64";break;case s.ScalarType.UINT64:c=a||i.PbULong.from(t).isZero();o="uint64";break;case s.ScalarType.FIXED64:c=a||i.PbULong.from(t).isZero();r=n.WireType.Bit64;o="fixed64";break;case s.ScalarType.BYTES:c=a||!t.byteLength;r=n.WireType.LengthDelimited;o="bytes";break;case s.ScalarType.FIXED32:r=n.WireType.Bit32;o="fixed32";break;case s.ScalarType.SFIXED32:r=n.WireType.Bit32;o="sfixed32";break;case s.ScalarType.SFIXED64:c=a||i.PbLong.from(t).isZero();r=n.WireType.Bit64;o="sfixed64";break;case s.ScalarType.SINT32:o="sint32";break;case s.ScalarType.SINT64:c=a||i.PbLong.from(t).isZero();o="sint64";break}return[r,o,a||c]}}t.ReflectionBinaryWriter=ReflectionBinaryWriter},5556:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.containsMessageType=void 0;const n=r(1371);function containsMessageType(e){return e[n.MESSAGE_TYPE]!=null}t.containsMessageType=containsMessageType},868:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.reflectionCreate=void 0;const n=r(412);const s=r(1371);function reflectionCreate(e){const t=e.messagePrototype?Object.create(e.messagePrototype):Object.defineProperty({},s.MESSAGE_TYPE,{value:e});for(let r of e.fields){let e=r.localName;if(r.opt)continue;if(r.oneof)t[r.oneof]={oneofKind:undefined};else if(r.repeat)t[e]=[];else switch(r.kind){case"scalar":t[e]=n.reflectionScalarDefault(r.T,r.L);break;case"enum":t[e]=0;break;case"map":t[e]={};break}}return t}t.reflectionCreate=reflectionCreate},8197:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.reflectionEquals=void 0;const n=r(528);function reflectionEquals(e,t,r){if(t===r)return true;if(!t||!r)return false;for(let o of e.fields){let e=o.localName;let i=o.oneof?t[o.oneof][e]:t[e];let a=o.oneof?r[o.oneof][e]:r[e];switch(o.kind){case"enum":case"scalar":let e=o.kind=="enum"?n.ScalarType.INT32:o.T;if(!(o.repeat?repeatedPrimitiveEq(e,i,a):primitiveEq(e,i,a)))return false;break;case"map":if(!(o.V.kind=="message"?repeatedMsgEq(o.V.T(),s(i),s(a)):repeatedPrimitiveEq(o.V.kind=="enum"?n.ScalarType.INT32:o.V.T,s(i),s(a))))return false;break;case"message":let t=o.T();if(!(o.repeat?repeatedMsgEq(t,i,a):t.equals(i,a)))return false;break}}return true}t.reflectionEquals=reflectionEquals;const s=Object.values;function primitiveEq(e,t,r){if(t===r)return true;if(e!==n.ScalarType.BYTES)return false;let s=t;let o=r;if(s.length!==o.length)return false;for(let e=0;e<s.length;e++)if(s[e]!=o[e])return false;return true}function repeatedPrimitiveEq(e,t,r){if(t.length!==r.length)return false;for(let n=0;n<t.length;n++)if(!primitiveEq(e,t[n],r[n]))return false;return true}function repeatedMsgEq(e,t,r){if(t.length!==r.length)return false;for(let n=0;n<t.length;n++)if(!e.equals(t[n],r[n]))return false;return true}},528:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.readMessageOption=t.readFieldOption=t.readFieldOptions=t.normalizeFieldInfo=t.RepeatType=t.LongType=t.ScalarType=void 0;const n=r(4959);var s;(function(e){e[e["DOUBLE"]=1]="DOUBLE";e[e["FLOAT"]=2]="FLOAT";e[e["INT64"]=3]="INT64";e[e["UINT64"]=4]="UINT64";e[e["INT32"]=5]="INT32";e[e["FIXED64"]=6]="FIXED64";e[e["FIXED32"]=7]="FIXED32";e[e["BOOL"]=8]="BOOL";e[e["STRING"]=9]="STRING";e[e["BYTES"]=12]="BYTES";e[e["UINT32"]=13]="UINT32";e[e["SFIXED32"]=15]="SFIXED32";e[e["SFIXED64"]=16]="SFIXED64";e[e["SINT32"]=17]="SINT32";e[e["SINT64"]=18]="SINT64"})(s=t.ScalarType||(t.ScalarType={}));var o;(function(e){e[e["BIGINT"]=0]="BIGINT";e[e["STRING"]=1]="STRING";e[e["NUMBER"]=2]="NUMBER"})(o=t.LongType||(t.LongType={}));var i;(function(e){e[e["NO"]=0]="NO";e[e["PACKED"]=1]="PACKED";e[e["UNPACKED"]=2]="UNPACKED"})(i=t.RepeatType||(t.RepeatType={}));function normalizeFieldInfo(e){var t,r,s,o;e.localName=(t=e.localName)!==null&&t!==void 0?t:n.lowerCamelCase(e.name);e.jsonName=(r=e.jsonName)!==null&&r!==void 0?r:n.lowerCamelCase(e.name);e.repeat=(s=e.repeat)!==null&&s!==void 0?s:i.NO;e.opt=(o=e.opt)!==null&&o!==void 0?o:e.repeat?false:e.oneof?false:e.kind=="message";return e}t.normalizeFieldInfo=normalizeFieldInfo;function readFieldOptions(e,t,r,n){var s;const o=(s=e.fields.find(((e,r)=>e.localName==t||r==t)))===null||s===void 0?void 0:s.options;return o&&o[r]?n.fromJson(o[r]):undefined}t.readFieldOptions=readFieldOptions;function readFieldOption(e,t,r,n){var s;const o=(s=e.fields.find(((e,r)=>e.localName==t||r==t)))===null||s===void 0?void 0:s.options;if(!o){return undefined}const i=o[r];if(i===undefined){return i}return n?n.fromJson(i):i}t.readFieldOption=readFieldOption;function readMessageOption(e,t,r){const n=e.options;const s=n[t];if(s===undefined){return s}return r?r.fromJson(s):s}t.readMessageOption=readMessageOption},5240:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ReflectionJsonReader=void 0;const n=r(8369);const s=r(6689);const o=r(528);const i=r(5579);const a=r(6468);const c=r(2344);class ReflectionJsonReader{constructor(e){this.info=e}prepare(){var e;if(this.fMap===undefined){this.fMap={};const t=(e=this.info.fields)!==null&&e!==void 0?e:[];for(const e of t){this.fMap[e.name]=e;this.fMap[e.jsonName]=e;this.fMap[e.localName]=e}}}assert(e,t,r){if(!e){let e=n.typeofJsonValue(r);if(e=="number"||e=="boolean")e=r.toString();throw new Error(`Cannot parse JSON ${e} for ${this.info.typeName}#${t}`)}}read(e,t,r){this.prepare();const s=[];for(const[i,a]of Object.entries(e)){const e=this.fMap[i];if(!e){if(!r.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${i}`);continue}const c=e.localName;let l;if(e.oneof){if(a===null&&(e.kind!=="enum"||e.T()[0]!=="google.protobuf.NullValue")){continue}if(s.includes(e.oneof))throw new Error(`Multiple members of the oneof group "${e.oneof}" of ${this.info.typeName} are present in JSON.`);s.push(e.oneof);l=t[e.oneof]={oneofKind:c}}else{l=t}if(e.kind=="map"){if(a===null){continue}this.assert(n.isJsonObject(a),e.name,a);const t=l[c];for(const[n,s]of Object.entries(a)){this.assert(s!==null,e.name+" map value",null);let i;switch(e.V.kind){case"message":i=e.V.T().internalJsonRead(s,r);break;case"enum":i=this.enum(e.V.T(),s,e.name,r.ignoreUnknownFields);if(i===false)continue;break;case"scalar":i=this.scalar(s,e.V.T,e.V.L,e.name);break}this.assert(i!==undefined,e.name+" map value",s);let a=n;if(e.K==o.ScalarType.BOOL)a=a=="true"?true:a=="false"?false:a;a=this.scalar(a,e.K,o.LongType.STRING,e.name).toString();t[a]=i}}else if(e.repeat){if(a===null)continue;this.assert(Array.isArray(a),e.name,a);const t=l[c];for(const n of a){this.assert(n!==null,e.name,null);let s;switch(e.kind){case"message":s=e.T().internalJsonRead(n,r);break;case"enum":s=this.enum(e.T(),n,e.name,r.ignoreUnknownFields);if(s===false)continue;break;case"scalar":s=this.scalar(n,e.T,e.L,e.name);break}this.assert(s!==undefined,e.name,a);t.push(s)}}else{switch(e.kind){case"message":if(a===null&&e.T().typeName!="google.protobuf.Value"){this.assert(e.oneof===undefined,e.name+" (oneof member)",null);continue}l[c]=e.T().internalJsonRead(a,r,l[c]);break;case"enum":if(a===null)continue;let t=this.enum(e.T(),a,e.name,r.ignoreUnknownFields);if(t===false)continue;l[c]=t;break;case"scalar":if(a===null)continue;l[c]=this.scalar(a,e.T,e.L,e.name);break}}}}enum(e,t,r,n){if(e[0]=="google.protobuf.NullValue")a.assert(t===null||t==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${r}, enum ${e[0]} only accepts null.`);if(t===null)return 0;switch(typeof t){case"number":a.assert(Number.isInteger(t),`Unable to parse field ${this.info.typeName}#${r}, enum can only be integral number, got ${t}.`);return t;case"string":let s=t;if(e[2]&&t.substring(0,e[2].length)===e[2])s=t.substring(e[2].length);let o=e[1][s];if(typeof o==="undefined"&&n){return false}a.assert(typeof o=="number",`Unable to parse field ${this.info.typeName}#${r}, enum ${e[0]} has no value for "${t}".`);return o}a.assert(false,`Unable to parse field ${this.info.typeName}#${r}, cannot parse enum value from ${typeof t}".`)}scalar(e,t,r,n){let l;try{switch(t){case o.ScalarType.DOUBLE:case o.ScalarType.FLOAT:if(e===null)return 0;if(e==="NaN")return Number.NaN;if(e==="Infinity")return Number.POSITIVE_INFINITY;if(e==="-Infinity")return Number.NEGATIVE_INFINITY;if(e===""){l="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){l="extra whitespace";break}if(typeof e!="string"&&typeof e!="number"){break}let n=Number(e);if(Number.isNaN(n)){l="not a number";break}if(!Number.isFinite(n)){l="too large or small";break}if(t==o.ScalarType.FLOAT)a.assertFloat32(n);return n;case o.ScalarType.INT32:case o.ScalarType.FIXED32:case o.ScalarType.SFIXED32:case o.ScalarType.SINT32:case o.ScalarType.UINT32:if(e===null)return 0;let u;if(typeof e=="number")u=e;else if(e==="")l="empty string";else if(typeof e=="string"){if(e.trim().length!==e.length)l="extra whitespace";else u=Number(e)}if(u===undefined)break;if(t==o.ScalarType.UINT32)a.assertUInt32(u);else a.assertInt32(u);return u;case o.ScalarType.INT64:case o.ScalarType.SFIXED64:case o.ScalarType.SINT64:if(e===null)return c.reflectionLongConvert(i.PbLong.ZERO,r);if(typeof e!="number"&&typeof e!="string")break;return c.reflectionLongConvert(i.PbLong.from(e),r);case o.ScalarType.FIXED64:case o.ScalarType.UINT64:if(e===null)return c.reflectionLongConvert(i.PbULong.ZERO,r);if(typeof e!="number"&&typeof e!="string")break;return c.reflectionLongConvert(i.PbULong.from(e),r);case o.ScalarType.BOOL:if(e===null)return false;if(typeof e!=="boolean")break;return e;case o.ScalarType.STRING:if(e===null)return"";if(typeof e!=="string"){l="extra whitespace";break}try{encodeURIComponent(e)}catch(l){l="invalid UTF8";break}return e;case o.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!=="string")break;return s.base64decode(e)}}catch(e){l=e.message}this.assert(false,n+(l?" - "+l:""),e)}}t.ReflectionJsonReader=ReflectionJsonReader},5572:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ReflectionJsonWriter=void 0;const n=r(6689);const s=r(5579);const o=r(528);const i=r(6468);class ReflectionJsonWriter{constructor(e){var t;this.fields=(t=e.fields)!==null&&t!==void 0?t:[]}write(e,t){const r={},n=e;for(const e of this.fields){if(!e.oneof){let s=this.field(e,n[e.localName],t);if(s!==undefined)r[t.useProtoFieldName?e.name:e.jsonName]=s;continue}const s=n[e.oneof];if(s.oneofKind!==e.localName)continue;const o=e.kind=="scalar"||e.kind=="enum"?Object.assign(Object.assign({},t),{emitDefaultValues:true}):t;let a=this.field(e,s[e.localName],o);i.assert(a!==undefined);r[t.useProtoFieldName?e.name:e.jsonName]=a}return r}field(e,t,r){let n=undefined;if(e.kind=="map"){i.assert(typeof t=="object"&&t!==null);const s={};switch(e.V.kind){case"scalar":for(const[r,n]of Object.entries(t)){const t=this.scalar(e.V.T,n,e.name,false,true);i.assert(t!==undefined);s[r.toString()]=t}break;case"message":const n=e.V.T();for(const[o,a]of Object.entries(t)){const t=this.message(n,a,e.name,r);i.assert(t!==undefined);s[o.toString()]=t}break;case"enum":const o=e.V.T();for(const[n,a]of Object.entries(t)){i.assert(a===undefined||typeof a=="number");const t=this.enum(o,a,e.name,false,true,r.enumAsInteger);i.assert(t!==undefined);s[n.toString()]=t}break}if(r.emitDefaultValues||Object.keys(s).length>0)n=s}else if(e.repeat){i.assert(Array.isArray(t));const s=[];switch(e.kind){case"scalar":for(let r=0;r<t.length;r++){const n=this.scalar(e.T,t[r],e.name,e.opt,true);i.assert(n!==undefined);s.push(n)}break;case"enum":const n=e.T();for(let o=0;o<t.length;o++){i.assert(t[o]===undefined||typeof t[o]=="number");const a=this.enum(n,t[o],e.name,e.opt,true,r.enumAsInteger);i.assert(a!==undefined);s.push(a)}break;case"message":const o=e.T();for(let n=0;n<t.length;n++){const a=this.message(o,t[n],e.name,r);i.assert(a!==undefined);s.push(a)}break}if(r.emitDefaultValues||s.length>0||r.emitDefaultValues)n=s}else{switch(e.kind){case"scalar":n=this.scalar(e.T,t,e.name,e.opt,r.emitDefaultValues);break;case"enum":n=this.enum(e.T(),t,e.name,e.opt,r.emitDefaultValues,r.enumAsInteger);break;case"message":n=this.message(e.T(),t,e.name,r);break}}return n}enum(e,t,r,n,s,o){if(e[0]=="google.protobuf.NullValue")return!s&&!n?undefined:null;if(t===undefined){i.assert(n);return undefined}if(t===0&&!s&&!n)return undefined;i.assert(typeof t=="number");i.assert(Number.isInteger(t));if(o||!e[1].hasOwnProperty(t))return t;if(e[2])return e[2]+e[1][t];return e[1][t]}message(e,t,r,n){if(t===undefined)return n.emitDefaultValues?null:undefined;return e.internalJsonWrite(t,n)}scalar(e,t,r,a,c){if(t===undefined){i.assert(a);return undefined}const l=c||a;switch(e){case o.ScalarType.INT32:case o.ScalarType.SFIXED32:case o.ScalarType.SINT32:if(t===0)return l?0:undefined;i.assertInt32(t);return t;case o.ScalarType.FIXED32:case o.ScalarType.UINT32:if(t===0)return l?0:undefined;i.assertUInt32(t);return t;case o.ScalarType.FLOAT:i.assertFloat32(t);case o.ScalarType.DOUBLE:if(t===0)return l?0:undefined;i.assert(typeof t=="number");if(Number.isNaN(t))return"NaN";if(t===Number.POSITIVE_INFINITY)return"Infinity";if(t===Number.NEGATIVE_INFINITY)return"-Infinity";return t;case o.ScalarType.STRING:if(t==="")return l?"":undefined;i.assert(typeof t=="string");return t;case o.ScalarType.BOOL:if(t===false)return l?false:undefined;i.assert(typeof t=="boolean");return t;case o.ScalarType.UINT64:case o.ScalarType.FIXED64:i.assert(typeof t=="number"||typeof t=="string"||typeof t=="bigint");let e=s.PbULong.from(t);if(e.isZero()&&!l)return undefined;return e.toString();case o.ScalarType.INT64:case o.ScalarType.SFIXED64:case o.ScalarType.SINT64:i.assert(typeof t=="number"||typeof t=="string"||typeof t=="bigint");let r=s.PbLong.from(t);if(r.isZero()&&!l)return undefined;return r.toString();case o.ScalarType.BYTES:i.assert(t instanceof Uint8Array);if(!t.byteLength)return l?"":undefined;return n.base64encode(t)}}}t.ReflectionJsonWriter=ReflectionJsonWriter},2344:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.reflectionLongConvert=void 0;const n=r(528);function reflectionLongConvert(e,t){switch(t){case n.LongType.BIGINT:return e.toBigInt();case n.LongType.NUMBER:return e.toNumber();default:return e.toString()}}t.reflectionLongConvert=reflectionLongConvert},8674:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.reflectionMergePartial=void 0;function reflectionMergePartial(e,t,r){let n,s=r,o;for(let r of e.fields){let e=r.localName;if(r.oneof){const i=s[r.oneof];if((i===null||i===void 0?void 0:i.oneofKind)==undefined){continue}n=i[e];o=t[r.oneof];o.oneofKind=i.oneofKind;if(n==undefined){delete o[e];continue}}else{n=s[e];o=t;if(n==undefined){continue}}if(r.repeat)o[e].length=n.length;switch(r.kind){case"scalar":case"enum":if(r.repeat)for(let t=0;t<n.length;t++)o[e][t]=n[t];else o[e]=n;break;case"message":let t=r.T();if(r.repeat)for(let r=0;r<n.length;r++)o[e][r]=t.create(n[r]);else if(o[e]===undefined)o[e]=t.create(n);else t.mergePartial(o[e],n);break;case"map":switch(r.V.kind){case"scalar":case"enum":Object.assign(o[e],n);break;case"message":let t=r.V.T();for(let r of Object.keys(n))o[e][r]=t.create(n[r]);break}break}}}t.reflectionMergePartial=reflectionMergePartial},412:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.reflectionScalarDefault=void 0;const n=r(528);const s=r(2344);const o=r(5579);function reflectionScalarDefault(e,t=n.LongType.STRING){switch(e){case n.ScalarType.BOOL:return false;case n.ScalarType.UINT64:case n.ScalarType.FIXED64:return s.reflectionLongConvert(o.PbULong.ZERO,t);case n.ScalarType.INT64:case n.ScalarType.SFIXED64:case n.ScalarType.SINT64:return s.reflectionLongConvert(o.PbLong.ZERO,t);case n.ScalarType.DOUBLE:case n.ScalarType.FLOAT:return 0;case n.ScalarType.BYTES:return new Uint8Array(0);case n.ScalarType.STRING:return"";default:return 0}}t.reflectionScalarDefault=reflectionScalarDefault},5649:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.ReflectionTypeCheck=void 0;const n=r(528);const s=r(4857);class ReflectionTypeCheck{constructor(e){var t;this.fields=(t=e.fields)!==null&&t!==void 0?t:[]}prepare(){if(this.data)return;const e=[],t=[],r=[];for(let n of this.fields){if(n.oneof){if(!r.includes(n.oneof)){r.push(n.oneof);e.push(n.oneof);t.push(n.oneof)}}else{t.push(n.localName);switch(n.kind){case"scalar":case"enum":if(!n.opt||n.repeat)e.push(n.localName);break;case"message":if(n.repeat)e.push(n.localName);break;case"map":e.push(n.localName);break}}}this.data={req:e,known:t,oneofs:Object.values(r)}}is(e,t,r=false){if(t<0)return true;if(e===null||e===undefined||typeof e!="object")return false;this.prepare();let n=Object.keys(e),o=this.data;if(n.length<o.req.length||o.req.some((e=>!n.includes(e))))return false;if(!r){if(n.some((e=>!o.known.includes(e))))return false}if(t<1){return true}for(const n of o.oneofs){const o=e[n];if(!s.isOneofGroup(o))return false;if(o.oneofKind===undefined)continue;const i=this.fields.find((e=>e.localName===o.oneofKind));if(!i)return false;if(!this.field(o[o.oneofKind],i,r,t))return false}for(const n of this.fields){if(n.oneof!==undefined)continue;if(!this.field(e[n.localName],n,r,t))return false}return true}field(e,t,r,s){let o=t.repeat;switch(t.kind){case"scalar":if(e===undefined)return t.opt;if(o)return this.scalars(e,t.T,s,t.L);return this.scalar(e,t.T,t.L);case"enum":if(e===undefined)return t.opt;if(o)return this.scalars(e,n.ScalarType.INT32,s);return this.scalar(e,n.ScalarType.INT32);case"message":if(e===undefined)return true;if(o)return this.messages(e,t.T(),r,s);return this.message(e,t.T(),r,s);case"map":if(typeof e!="object"||e===null)return false;if(s<2)return true;if(!this.mapKeys(e,t.K,s))return false;switch(t.V.kind){case"scalar":return this.scalars(Object.values(e),t.V.T,s,t.V.L);case"enum":return this.scalars(Object.values(e),n.ScalarType.INT32,s);case"message":return this.messages(Object.values(e),t.V.T(),r,s)}break}return true}message(e,t,r,n){if(r){return t.isAssignable(e,n)}return t.is(e,n)}messages(e,t,r,n){if(!Array.isArray(e))return false;if(n<2)return true;if(r){for(let r=0;r<e.length&&r<n;r++)if(!t.isAssignable(e[r],n-1))return false}else{for(let r=0;r<e.length&&r<n;r++)if(!t.is(e[r],n-1))return false}return true}scalar(e,t,r){let s=typeof e;switch(t){case n.ScalarType.UINT64:case n.ScalarType.FIXED64:case n.ScalarType.INT64:case n.ScalarType.SFIXED64:case n.ScalarType.SINT64:switch(r){case n.LongType.BIGINT:return s=="bigint";case n.LongType.NUMBER:return s=="number"&&!isNaN(e);default:return s=="string"}case n.ScalarType.BOOL:return s=="boolean";case n.ScalarType.STRING:return s=="string";case n.ScalarType.BYTES:return e instanceof Uint8Array;case n.ScalarType.DOUBLE:case n.ScalarType.FLOAT:return s=="number"&&!isNaN(e);default:return s=="number"&&Number.isInteger(e)}}scalars(e,t,r,n){if(!Array.isArray(e))return false;if(r<2)return true;if(Array.isArray(e))for(let s=0;s<e.length&&s<r;s++)if(!this.scalar(e[s],t,n))return false;return true}mapKeys(e,t,r){let s=Object.keys(e);switch(t){case n.ScalarType.INT32:case n.ScalarType.FIXED32:case n.ScalarType.SFIXED32:case n.ScalarType.SINT32:case n.ScalarType.UINT32:return this.scalars(s.slice(0,r).map((e=>parseInt(e))),t,r);case n.ScalarType.BOOL:return this.scalars(s.slice(0,r).map((e=>e=="true"?true:e=="false"?false:e)),t,r);default:return this.scalars(s,t,r,n.LongType.STRING)}}}t.ReflectionTypeCheck=ReflectionTypeCheck},9659:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(){var ownKeys=function(e){ownKeys=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[t.length]=r;return t};return ownKeys(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=ownKeys(e),o=0;o<r.length;o++)if(r[o]!=="default")n(t,e,r[o]);s(t,e);return t}}();var i=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.HttpClient=t.HttpClientResponse=t.HttpClientError=t.MediaTypes=t.Headers=t.HttpCodes=void 0;t.getProxyUrl=getProxyUrl;t.isHttps=isHttps;const a=o(r(8611));const c=o(r(5692));const l=o(r(3335));const u=o(r(770));const A=r(6752);var d;(function(e){e[e["OK"]=200]="OK";e[e["MultipleChoices"]=300]="MultipleChoices";e[e["MovedPermanently"]=301]="MovedPermanently";e[e["ResourceMoved"]=302]="ResourceMoved";e[e["SeeOther"]=303]="SeeOther";e[e["NotModified"]=304]="NotModified";e[e["UseProxy"]=305]="UseProxy";e[e["SwitchProxy"]=306]="SwitchProxy";e[e["TemporaryRedirect"]=307]="TemporaryRedirect";e[e["PermanentRedirect"]=308]="PermanentRedirect";e[e["BadRequest"]=400]="BadRequest";e[e["Unauthorized"]=401]="Unauthorized";e[e["PaymentRequired"]=402]="PaymentRequired";e[e["Forbidden"]=403]="Forbidden";e[e["NotFound"]=404]="NotFound";e[e["MethodNotAllowed"]=405]="MethodNotAllowed";e[e["NotAcceptable"]=406]="NotAcceptable";e[e["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";e[e["RequestTimeout"]=408]="RequestTimeout";e[e["Conflict"]=409]="Conflict";e[e["Gone"]=410]="Gone";e[e["TooManyRequests"]=429]="TooManyRequests";e[e["InternalServerError"]=500]="InternalServerError";e[e["NotImplemented"]=501]="NotImplemented";e[e["BadGateway"]=502]="BadGateway";e[e["ServiceUnavailable"]=503]="ServiceUnavailable";e[e["GatewayTimeout"]=504]="GatewayTimeout"})(d||(t.HttpCodes=d={}));var p;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(p||(t.Headers=p={}));var m;(function(e){e["ApplicationJson"]="application/json"})(m||(t.MediaTypes=m={}));function getProxyUrl(e){const t=l.getProxyUrl(new URL(e));return t?t.href:""}const h=[d.MovedPermanently,d.ResourceMoved,d.SeeOther,d.TemporaryRedirect,d.PermanentRedirect];const g=[d.BadGateway,d.ServiceUnavailable,d.GatewayTimeout];const f=["OPTIONS","GET","DELETE","HEAD"];const E=10;const y=5;class HttpClientError extends Error{constructor(e,t){super(e);this.name="HttpClientError";this.statusCode=t;Object.setPrototypeOf(this,HttpClientError.prototype)}}t.HttpClientError=HttpClientError;class HttpClientResponse{constructor(e){this.message=e}readBody(){return i(this,void 0,void 0,(function*(){return new Promise((e=>i(this,void 0,void 0,(function*(){let t=Buffer.alloc(0);this.message.on("data",(e=>{t=Buffer.concat([t,e])}));this.message.on("end",(()=>{e(t.toString())}))}))))}))}readBodyBuffer(){return i(this,void 0,void 0,(function*(){return new Promise((e=>i(this,void 0,void 0,(function*(){const t=[];this.message.on("data",(e=>{t.push(e)}));this.message.on("end",(()=>{e(Buffer.concat(t))}))}))))}))}}t.HttpClientResponse=HttpClientResponse;function isHttps(e){const t=new URL(e);return t.protocol==="https:"}class HttpClient{constructor(e,t,r){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(e);this.handlers=t||[];this.requestOptions=r;if(r){if(r.ignoreSslError!=null){this._ignoreSslError=r.ignoreSslError}this._socketTimeout=r.socketTimeout;if(r.allowRedirects!=null){this._allowRedirects=r.allowRedirects}if(r.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=r.allowRedirectDowngrade}if(r.maxRedirects!=null){this._maxRedirects=Math.max(r.maxRedirects,0)}if(r.keepAlive!=null){this._keepAlive=r.keepAlive}if(r.allowRetries!=null){this._allowRetries=r.allowRetries}if(r.maxRetries!=null){this._maxRetries=r.maxRetries}}}options(e,t){return i(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return i(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return i(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,r){return i(this,void 0,void 0,(function*(){return this.request("POST",e,t,r||{})}))}patch(e,t,r){return i(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,r||{})}))}put(e,t,r){return i(this,void 0,void 0,(function*(){return this.request("PUT",e,t,r||{})}))}head(e,t){return i(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,r,n){return i(this,void 0,void 0,(function*(){return this.request(e,t,r,n)}))}getJson(e){return i(this,arguments,void 0,(function*(e,t={}){t[p.Accept]=this._getExistingOrDefaultHeader(t,p.Accept,m.ApplicationJson);const r=yield this.get(e,t);return this._processResponse(r,this.requestOptions)}))}postJson(e,t){return i(this,arguments,void 0,(function*(e,t,r={}){const n=JSON.stringify(t,null,2);r[p.Accept]=this._getExistingOrDefaultHeader(r,p.Accept,m.ApplicationJson);r[p.ContentType]=this._getExistingOrDefaultContentTypeHeader(r,m.ApplicationJson);const s=yield this.post(e,n,r);return this._processResponse(s,this.requestOptions)}))}putJson(e,t){return i(this,arguments,void 0,(function*(e,t,r={}){const n=JSON.stringify(t,null,2);r[p.Accept]=this._getExistingOrDefaultHeader(r,p.Accept,m.ApplicationJson);r[p.ContentType]=this._getExistingOrDefaultContentTypeHeader(r,m.ApplicationJson);const s=yield this.put(e,n,r);return this._processResponse(s,this.requestOptions)}))}patchJson(e,t){return i(this,arguments,void 0,(function*(e,t,r={}){const n=JSON.stringify(t,null,2);r[p.Accept]=this._getExistingOrDefaultHeader(r,p.Accept,m.ApplicationJson);r[p.ContentType]=this._getExistingOrDefaultContentTypeHeader(r,m.ApplicationJson);const s=yield this.patch(e,n,r);return this._processResponse(s,this.requestOptions)}))}request(e,t,r,n){return i(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const s=new URL(t);let o=this._prepareRequest(e,s,n);const i=this._allowRetries&&f.includes(e)?this._maxRetries+1:1;let a=0;let c;do{c=yield this.requestRaw(o,r);if(c&&c.message&&c.message.statusCode===d.Unauthorized){let e;for(const t of this.handlers){if(t.canHandleAuthentication(c)){e=t;break}}if(e){return e.handleAuthentication(this,o,r)}else{return c}}let t=this._maxRedirects;while(c.message.statusCode&&h.includes(c.message.statusCode)&&this._allowRedirects&&t>0){const i=c.message.headers["location"];if(!i){break}const a=new URL(i);if(s.protocol==="https:"&&s.protocol!==a.protocol&&!this._allowRedirectDowngrade){throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.")}yield c.readBody();if(a.hostname!==s.hostname){for(const e in n){if(e.toLowerCase()==="authorization"){delete n[e]}}}o=this._prepareRequest(e,a,n);c=yield this.requestRaw(o,r);t--}if(!c.message.statusCode||!g.includes(c.message.statusCode)){return c}a+=1;if(a<i){yield c.readBody();yield this._performExponentialBackoff(a)}}while(a<i);return c}))}dispose(){if(this._agent){this._agent.destroy()}this._disposed=true}requestRaw(e,t){return i(this,void 0,void 0,(function*(){return new Promise(((r,n)=>{function callbackForResult(e,t){if(e){n(e)}else if(!t){n(new Error("Unknown error"))}else{r(t)}}this.requestRawWithCallback(e,t,callbackForResult)}))}))}requestRawWithCallback(e,t,r){if(typeof t==="string"){if(!e.options.headers){e.options.headers={}}e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let n=false;function handleResult(e,t){if(!n){n=true;r(e,t)}}const s=e.httpModule.request(e.options,(e=>{const t=new HttpClientResponse(e);handleResult(undefined,t)}));let o;s.on("socket",(e=>{o=e}));s.setTimeout(this._socketTimeout||3*6e4,(()=>{if(o){o.end()}handleResult(new Error(`Request timeout: ${e.options.path}`))}));s.on("error",(function(e){handleResult(e)}));if(t&&typeof t==="string"){s.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",(function(){s.end()}));t.pipe(s)}else{s.end()}}getAgent(e){const t=new URL(e);return this._getAgent(t)}getAgentDispatcher(e){const t=new URL(e);const r=l.getProxyUrl(t);const n=r&&r.hostname;if(!n){return}return this._getProxyAgentDispatcher(t,r)}_prepareRequest(e,t,r){const n={};n.parsedUrl=t;const s=n.parsedUrl.protocol==="https:";n.httpModule=s?c:a;const o=s?443:80;n.options={};n.options.host=n.parsedUrl.hostname;n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):o;n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||"");n.options.method=e;n.options.headers=this._mergeHeaders(r);if(this.userAgent!=null){n.options.headers["user-agent"]=this.userAgent}n.options.agent=this._getAgent(n.parsedUrl);if(this.handlers){for(const e of this.handlers){e.prepareRequest(n.options)}}return n}_mergeHeaders(e){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e||{}))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,t,r){let n;if(this.requestOptions&&this.requestOptions.headers){const e=lowercaseKeys(this.requestOptions.headers)[t];if(e){n=typeof e==="number"?e.toString():e}}const s=e[t];if(s!==undefined){return typeof s==="number"?s.toString():s}if(n!==undefined){return n}return r}_getExistingOrDefaultContentTypeHeader(e,t){let r;if(this.requestOptions&&this.requestOptions.headers){const e=lowercaseKeys(this.requestOptions.headers)[p.ContentType];if(e){if(typeof e==="number"){r=String(e)}else if(Array.isArray(e)){r=e.join(", ")}else{r=e}}}const n=e[p.ContentType];if(n!==undefined){if(typeof n==="number"){return String(n)}else if(Array.isArray(n)){return n.join(", ")}else{return n}}if(r!==undefined){return r}return t}_getAgent(e){let t;const r=l.getProxyUrl(e);const n=r&&r.hostname;if(this._keepAlive&&n){t=this._proxyAgent}if(!n){t=this._agent}if(t){return t}const s=e.protocol==="https:";let o=100;if(this.requestOptions){o=this.requestOptions.maxSockets||a.globalAgent.maxSockets}if(r&&r.hostname){const e={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})};let n;const i=r.protocol==="https:";if(s){n=i?u.httpsOverHttps:u.httpsOverHttp}else{n=i?u.httpOverHttps:u.httpOverHttp}t=n(e);this._proxyAgent=t}if(!t){const e={keepAlive:this._keepAlive,maxSockets:o};t=s?new c.Agent(e):new a.Agent(e);this._agent=t}if(s&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_getProxyAgentDispatcher(e,t){let r;if(this._keepAlive){r=this._proxyAgentDispatcher}if(r){return r}const n=e.protocol==="https:";r=new A.ProxyAgent(Object.assign({uri:t.href,pipelining:!this._keepAlive?0:1},(t.username||t.password)&&{token:`Basic ${Buffer.from(`${t.username}:${t.password}`).toString("base64")}`}));this._proxyAgentDispatcher=r;if(n&&this._ignoreSslError){r.options=Object.assign(r.options.requestTls||{},{rejectUnauthorized:false})}return r}_getUserAgentWithOrchestrationId(e){const t=e||"actions/http-client";const r=process.env["ACTIONS_ORCHESTRATION_ID"];if(r){const e=r.replace(/[^a-z0-9_.-]/gi,"_");return`${t} actions_orchestration_id/${e}`}return t}_performExponentialBackoff(e){return i(this,void 0,void 0,(function*(){e=Math.min(E,e);const t=y*Math.pow(2,e);return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return i(this,void 0,void 0,(function*(){return new Promise(((r,n)=>i(this,void 0,void 0,(function*(){const s=e.message.statusCode||0;const o={statusCode:s,result:null,headers:{}};if(s===d.NotFound){r(o)}function dateTimeDeserializer(e,t){if(typeof t==="string"){const e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}let i;let a;try{a=yield e.readBody();if(a&&a.length>0){if(t&&t.deserializeDates){i=JSON.parse(a,dateTimeDeserializer)}else{i=JSON.parse(a)}o.result=i}o.headers=e.message.headers}catch(e){}if(s>299){let e;if(i&&i.message){e=i.message}else if(a&&a.length>0){e=a}else{e=`Failed request: (${s})`}const t=new HttpClientError(e,s);t.result=o.result;n(t)}else{r(o)}}))))}))}}t.HttpClient=HttpClient;const lowercaseKeys=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{})},3335:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.getProxyUrl=getProxyUrl;t.checkBypass=checkBypass;function getProxyUrl(e){const t=e.protocol==="https:";if(checkBypass(e)){return undefined}const r=(()=>{if(t){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(r){try{return new DecodedURL(r)}catch(e){if(!r.startsWith("http://")&&!r.startsWith("https://"))return new DecodedURL(`http://${r}`)}}else{return undefined}}function checkBypass(e){if(!e.hostname){return false}const t=e.hostname;if(isLoopbackAddress(t)){return true}const r=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!r){return false}let n;if(e.port){n=Number(e.port)}else if(e.protocol==="http:"){n=80}else if(e.protocol==="https:"){n=443}const s=[e.hostname.toUpperCase()];if(typeof n==="number"){s.push(`${s[0]}:${n}`)}for(const e of r.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e))){if(e==="*"||s.some((t=>t===e||t.endsWith(`.${e}`)||e.startsWith(".")&&t.endsWith(`${e}`)))){return true}}return false}function isLoopbackAddress(e){const t=e.toLowerCase();return t==="localhost"||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]")}class DecodedURL extends URL{constructor(e,t){super(e,t);this._decodedUsername=decodeURIComponent(super.username);this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}},5862:(e,t,r)=>{var n;n={value:true};var s=r(5004);var o=r(1391);var i=r(7132);const a=s.createClientLogger("core-lro");const c=2e3;const l=["succeeded","canceled","failed"];function deserializeState(e){try{return JSON.parse(e).state}catch(t){throw new Error(`Unable to deserialize input state: ${e}`)}}function setStateError(e){const{state:t,stateProxy:r,isOperationError:n}=e;return e=>{if(n(e)){r.setError(t,e);r.setFailed(t)}throw e}}function appendReadableErrorMessage(e,t){let r=e;if(r.slice(-1)!=="."){r=r+"."}return r+" "+t}function simplifyError(e){let t=e.message;let r=e.code;let n=e;while(n.innererror){n=n.innererror;r=n.code;t=appendReadableErrorMessage(t,n.message)}return{code:r,message:t}}function processOperationStatus(e){const{state:t,stateProxy:r,status:n,isDone:s,processResult:o,getError:i,response:c,setErrorAsResult:l}=e;switch(n){case"succeeded":{r.setSucceeded(t);break}case"failed":{const e=i===null||i===void 0?void 0:i(c);let n="";if(e){const{code:t,message:r}=simplifyError(e);n=`. ${t}. ${r}`}const s=`The long-running operation has failed${n}`;r.setError(t,new Error(s));r.setFailed(t);a.warning(s);break}case"canceled":{r.setCanceled(t);break}}if((s===null||s===void 0?void 0:s(c,t))||s===undefined&&["succeeded","canceled"].concat(l?[]:["failed"]).includes(n)){r.setResult(t,buildResult({response:c,state:t,processResult:o}))}}function buildResult(e){const{processResult:t,response:r,state:n}=e;return t?t(r,n):r}async function initOperation(e){const{init:t,stateProxy:r,processResult:n,getOperationStatus:s,withOperationLocation:o,setErrorAsResult:i}=e;const{operationLocation:c,resourceLocation:l,metadata:u,response:A}=await t();if(c)o===null||o===void 0?void 0:o(c,false);const d={metadata:u,operationLocation:c,resourceLocation:l};a.verbose(`LRO: Operation description:`,d);const p=r.initState(d);const m=s({response:A,state:p,operationLocation:c});processOperationStatus({state:p,status:m,stateProxy:r,response:A,setErrorAsResult:i,processResult:n});return p}async function pollOperationHelper(e){const{poll:t,state:r,stateProxy:n,operationLocation:s,getOperationStatus:o,getResourceLocation:i,isOperationError:c,options:u}=e;const A=await t(s,u).catch(setStateError({state:r,stateProxy:n,isOperationError:c}));const d=o(A,r);a.verbose(`LRO: Status:\n\tPolling from: ${r.config.operationLocation}\n\tOperation status: ${d}\n\tPolling status: ${l.includes(d)?"Stopped":"Running"}`);if(d==="succeeded"){const e=i(A,r);if(e!==undefined){return{response:await t(e).catch(setStateError({state:r,stateProxy:n,isOperationError:c})),status:d}}}return{response:A,status:d}}async function pollOperation(e){const{poll:t,state:r,stateProxy:n,options:s,getOperationStatus:o,getResourceLocation:i,getOperationLocation:a,isOperationError:c,withOperationLocation:u,getPollingInterval:A,processResult:d,getError:p,updateState:m,setDelay:h,isDone:g,setErrorAsResult:f}=e;const{operationLocation:E}=r.config;if(E!==undefined){const{response:e,status:y}=await pollOperationHelper({poll:t,getOperationStatus:o,state:r,stateProxy:n,operationLocation:E,getResourceLocation:i,isOperationError:c,options:s});processOperationStatus({status:y,response:e,state:r,stateProxy:n,isDone:g,processResult:d,getError:p,setErrorAsResult:f});if(!l.includes(y)){const t=A===null||A===void 0?void 0:A(e);if(t)h(t);const n=a===null||a===void 0?void 0:a(e,r);if(n!==undefined){const e=E!==n;r.config.operationLocation=n;u===null||u===void 0?void 0:u(n,e)}else u===null||u===void 0?void 0:u(E,false)}m===null||m===void 0?void 0:m(r,e)}}function getOperationLocationPollingUrl(e){const{azureAsyncOperation:t,operationLocation:r}=e;return r!==null&&r!==void 0?r:t}function getLocationHeader(e){return e.headers["location"]}function getOperationLocationHeader(e){return e.headers["operation-location"]}function getAzureAsyncOperationHeader(e){return e.headers["azure-asyncoperation"]}function findResourceLocation(e){var t;const{location:r,requestMethod:n,requestPath:s,resourceLocationConfig:o}=e;switch(n){case"PUT":{return s}case"DELETE":{return undefined}case"PATCH":{return(t=getDefault())!==null&&t!==void 0?t:s}default:{return getDefault()}}function getDefault(){switch(o){case"azure-async-operation":{return undefined}case"original-uri":{return s}case"location":default:{return r}}}}function inferLroMode(e){const{rawResponse:t,requestMethod:r,requestPath:n,resourceLocationConfig:s}=e;const o=getOperationLocationHeader(t);const i=getAzureAsyncOperationHeader(t);const a=getOperationLocationPollingUrl({operationLocation:o,azureAsyncOperation:i});const c=getLocationHeader(t);const l=r===null||r===void 0?void 0:r.toLocaleUpperCase();if(a!==undefined){return{mode:"OperationLocation",operationLocation:a,resourceLocation:findResourceLocation({requestMethod:l,location:c,requestPath:n,resourceLocationConfig:s})}}else if(c!==undefined){return{mode:"ResourceLocation",operationLocation:c}}else if(l==="PUT"&&n){return{mode:"Body",operationLocation:n}}else{return undefined}}function transformStatus(e){const{status:t,statusCode:r}=e;if(typeof t!=="string"&&t!==undefined){throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${t}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`)}switch(t===null||t===void 0?void 0:t.toLocaleLowerCase()){case undefined:return toOperationStatus(r);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:{a.verbose(`LRO: unrecognized operation status: ${t}`);return t}}}function getStatus(e){var t;const{status:r}=(t=e.body)!==null&&t!==void 0?t:{};return transformStatus({status:r,statusCode:e.statusCode})}function getProvisioningState(e){var t,r;const{properties:n,provisioningState:s}=(t=e.body)!==null&&t!==void 0?t:{};const o=(r=n===null||n===void 0?void 0:n.provisioningState)!==null&&r!==void 0?r:s;return transformStatus({status:o,statusCode:e.statusCode})}function toOperationStatus(e){if(e===202){return"running"}else if(e<300){return"succeeded"}else{return"failed"}}function parseRetryAfter({rawResponse:e}){const t=e.headers["retry-after"];if(t!==undefined){const e=parseInt(t);return isNaN(e)?calculatePollingIntervalFromDate(new Date(t)):e*1e3}return undefined}function getErrorFromResponse(e){const t=e.flatResponse.error;if(!t){a.warning(`The long-running operation failed but there is no error property in the response's body`);return}if(!t.code||!t.message){a.warning(`The long-running operation failed but the error property in the response's body doesn't contain code or message`);return}return t}function calculatePollingIntervalFromDate(e){const t=Math.floor((new Date).getTime());const r=e.getTime();if(t<r){return r-t}return undefined}function getStatusFromInitialResponse(e){const{response:t,state:r,operationLocation:n}=e;function helper(){var e;const n=(e=r.config.metadata)===null||e===void 0?void 0:e["mode"];switch(n){case undefined:return toOperationStatus(t.rawResponse.statusCode);case"Body":return getOperationStatus(t,r);default:return"running"}}const s=helper();return s==="running"&&n===undefined?"succeeded":s}async function initHttpOperation(e){const{stateProxy:t,resourceLocationConfig:r,processResult:n,lro:s,setErrorAsResult:o}=e;return initOperation({init:async()=>{const e=await s.sendInitialRequest();const t=inferLroMode({rawResponse:e.rawResponse,requestPath:s.requestPath,requestMethod:s.requestMethod,resourceLocationConfig:r});return Object.assign({response:e,operationLocation:t===null||t===void 0?void 0:t.operationLocation,resourceLocation:t===null||t===void 0?void 0:t.resourceLocation},(t===null||t===void 0?void 0:t.mode)?{metadata:{mode:t.mode}}:{})},stateProxy:t,processResult:n?({flatResponse:e},t)=>n(e,t):({flatResponse:e})=>e,getOperationStatus:getStatusFromInitialResponse,setErrorAsResult:o})}function getOperationLocation({rawResponse:e},t){var r;const n=(r=t.config.metadata)===null||r===void 0?void 0:r["mode"];switch(n){case"OperationLocation":{return getOperationLocationPollingUrl({operationLocation:getOperationLocationHeader(e),azureAsyncOperation:getAzureAsyncOperationHeader(e)})}case"ResourceLocation":{return getLocationHeader(e)}case"Body":default:{return undefined}}}function getOperationStatus({rawResponse:e},t){var r;const n=(r=t.config.metadata)===null||r===void 0?void 0:r["mode"];switch(n){case"OperationLocation":{return getStatus(e)}case"ResourceLocation":{return toOperationStatus(e.statusCode)}case"Body":{return getProvisioningState(e)}default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}function getResourceLocation({flatResponse:e},t){if(typeof e==="object"){const r=e.resourceLocation;if(r!==undefined){t.config.resourceLocation=r}}return t.config.resourceLocation}function isOperationError(e){return e.name==="RestError"}async function pollHttpOperation(e){const{lro:t,stateProxy:r,options:n,processResult:s,updateState:o,setDelay:i,state:a,setErrorAsResult:c}=e;return pollOperation({state:a,stateProxy:r,setDelay:i,processResult:s?({flatResponse:e},t)=>s(e,t):({flatResponse:e})=>e,getError:getErrorFromResponse,updateState:o,getPollingInterval:parseRetryAfter,getOperationLocation:getOperationLocation,getOperationStatus:getOperationStatus,isOperationError:isOperationError,getResourceLocation:getResourceLocation,options:n,poll:async(e,r)=>t.sendPollRequest(e,r),setErrorAsResult:c})}const createStateProxy$1=()=>({initState:e=>({status:"running",config:e}),setCanceled:e=>e.status="canceled",setError:(e,t)=>e.error=t,setResult:(e,t)=>e.result=t,setRunning:e=>e.status="running",setSucceeded:e=>e.status="succeeded",setFailed:e=>e.status="failed",getError:e=>e.error,getResult:e=>e.result,isCanceled:e=>e.status==="canceled",isFailed:e=>e.status==="failed",isRunning:e=>e.status==="running",isSucceeded:e=>e.status==="succeeded"});function buildCreatePoller(e){const{getOperationLocation:t,getStatusFromInitialResponse:r,getStatusFromPollResponse:n,isOperationError:s,getResourceLocation:a,getPollingInterval:l,getError:u,resolveOnUnsuccessful:A}=e;return async({init:e,poll:d},p)=>{const{processResult:m,updateState:h,withOperationLocation:g,intervalInMs:f=c,restoreFrom:E}=p||{};const y=createStateProxy$1();const C=g?(()=>{let e=false;return(t,r)=>{if(r)g(t);else if(!e)g(t);e=true}})():undefined;const I=E?deserializeState(E):await initOperation({init:e,stateProxy:y,processResult:m,getOperationStatus:r,withOperationLocation:C,setErrorAsResult:!A});let B;const b=new o.AbortController;const w=new Map;const handleProgressEvents=async()=>w.forEach((e=>e(I)));const S="Operation was canceled";let Q=f;const N={getOperationState:()=>I,getResult:()=>I.result,isDone:()=>["succeeded","failed","canceled"].includes(I.status),isStopped:()=>B===undefined,stopPolling:()=>{b.abort()},toString:()=>JSON.stringify({state:I}),onProgress:e=>{const t=Symbol();w.set(t,e);return()=>w.delete(t)},pollUntilDone:e=>B!==null&&B!==void 0?B:B=(async()=>{const{abortSignal:t}=e||{};const{signal:r}=t?new o.AbortController([t,b.signal]):b;if(!N.isDone()){await N.poll({abortSignal:r});while(!N.isDone()){await i.delay(Q,{abortSignal:r});await N.poll({abortSignal:r})}}if(A){return N.getResult()}else{switch(I.status){case"succeeded":return N.getResult();case"canceled":throw new Error(S);case"failed":throw I.error;case"notStarted":case"running":throw new Error(`Polling completed without succeeding or failing`)}}})().finally((()=>{B=undefined})),async poll(e){if(A){if(N.isDone())return}else{switch(I.status){case"succeeded":return;case"canceled":throw new Error(S);case"failed":throw I.error}}await pollOperation({poll:d,state:I,stateProxy:y,getOperationLocation:t,isOperationError:s,withOperationLocation:C,getPollingInterval:l,getOperationStatus:n,getResourceLocation:a,processResult:m,getError:u,updateState:h,options:e,setDelay:e=>{Q=e},setErrorAsResult:!A});await handleProgressEvents();if(!A){switch(I.status){case"canceled":throw new Error(S);case"failed":throw I.error}}}};return N}}async function createHttpPoller(e,t){const{resourceLocationConfig:r,intervalInMs:n,processResult:s,restoreFrom:o,updateState:i,withOperationLocation:a,resolveOnUnsuccessful:c=false}=t||{};return buildCreatePoller({getStatusFromInitialResponse:getStatusFromInitialResponse,getStatusFromPollResponse:getOperationStatus,isOperationError:isOperationError,getOperationLocation:getOperationLocation,getResourceLocation:getResourceLocation,getPollingInterval:parseRetryAfter,getError:getErrorFromResponse,resolveOnUnsuccessful:c})({init:async()=>{const t=await e.sendInitialRequest();const n=inferLroMode({rawResponse:t.rawResponse,requestPath:e.requestPath,requestMethod:e.requestMethod,resourceLocationConfig:r});return Object.assign({response:t,operationLocation:n===null||n===void 0?void 0:n.operationLocation,resourceLocation:n===null||n===void 0?void 0:n.resourceLocation},(n===null||n===void 0?void 0:n.mode)?{metadata:{mode:n.mode}}:{})},poll:e.sendPollRequest},{intervalInMs:n,withOperationLocation:a,restoreFrom:o,updateState:i,processResult:s?({flatResponse:e},t)=>s(e,t):({flatResponse:e})=>e})}const createStateProxy=()=>({initState:e=>({config:e,isStarted:true}),setCanceled:e=>e.isCancelled=true,setError:(e,t)=>e.error=t,setResult:(e,t)=>e.result=t,setRunning:e=>e.isStarted=true,setSucceeded:e=>e.isCompleted=true,setFailed:()=>{},getError:e=>e.error,getResult:e=>e.result,isCanceled:e=>!!e.isCancelled,isFailed:e=>!!e.error,isRunning:e=>!!e.isStarted,isSucceeded:e=>Boolean(e.isCompleted&&!e.isCancelled&&!e.error)});class GenericPollOperation{constructor(e,t,r,n,s,o,i){this.state=e;this.lro=t;this.setErrorAsResult=r;this.lroResourceLocationConfig=n;this.processResult=s;this.updateState=o;this.isDone=i}setPollerConfig(e){this.pollerConfig=e}async update(e){var t;const r=createStateProxy();if(!this.state.isStarted){this.state=Object.assign(Object.assign({},this.state),await initHttpOperation({lro:this.lro,stateProxy:r,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult}))}const n=this.updateState;const s=this.isDone;if(!this.state.isCompleted&&this.state.error===undefined){await pollHttpOperation({lro:this.lro,state:this.state,stateProxy:r,processResult:this.processResult,updateState:n?(e,{rawResponse:t})=>n(e,t):undefined,isDone:s?({flatResponse:e},t)=>s(e,t):undefined,options:e,setDelay:e=>{this.pollerConfig.intervalInMs=e},setErrorAsResult:this.setErrorAsResult})}(t=e===null||e===void 0?void 0:e.fireProgress)===null||t===void 0?void 0:t.call(e,this.state);return this}async cancel(){a.error("`cancelOperation` is deprecated because it wasn't implemented");return this}toString(){return JSON.stringify({state:this.state})}}class PollerStoppedError extends Error{constructor(e){super(e);this.name="PollerStoppedError";Object.setPrototypeOf(this,PollerStoppedError.prototype)}}class PollerCancelledError extends Error{constructor(e){super(e);this.name="PollerCancelledError";Object.setPrototypeOf(this,PollerCancelledError.prototype)}}class Poller{constructor(e){this.resolveOnUnsuccessful=false;this.stopped=true;this.pollProgressCallbacks=[];this.operation=e;this.promise=new Promise(((e,t)=>{this.resolve=e;this.reject=t}));this.promise.catch((()=>{}))}async startPolling(e={}){if(this.stopped){this.stopped=false}while(!this.isStopped()&&!this.isDone()){await this.poll(e);await this.delay()}}async pollOnce(e={}){if(!this.isDone()){this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})}this.processUpdatedState()}fireProgress(e){for(const t of this.pollProgressCallbacks){t(e)}}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);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 e=new PollerCancelledError("Operation was canceled");this.reject(e);throw e}}if(this.isDone()&&this.resolve){this.resolve(this.getResult())}}async pollUntilDone(e={}){if(this.stopped){this.startPolling(e).catch(this.reject)}this.processUpdatedState();return this.promise}onProgress(e){this.pollProgressCallbacks.push(e);return()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter((t=>t!==e))}}isDone(){const e=this.operation.state;return Boolean(e.isCompleted||e.isCancelled||e.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(e={}){if(!this.cancelPromise){this.cancelPromise=this.cancelOnce(e)}else if(e.abortSignal){throw new Error("A cancel request is currently pending")}return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){const e=this.operation.state;return e.result}toString(){return this.operation.toString()}}class LroEngine extends Poller{constructor(e,t){const{intervalInMs:r=c,resumeFrom:n,resolveOnUnsuccessful:s=false,isDone:o,lroResourceLocationConfig:i,processResult:a,updateState:l}=t||{};const u=n?deserializeState(n):{};const A=new GenericPollOperation(u,e,!s,i,a,l,o);super(A);this.resolveOnUnsuccessful=s;this.config={intervalInMs:r};A.setPollerConfig(this.config)}delay(){return new Promise((e=>setTimeout((()=>e()),this.config.intervalInMs)))}}n=LroEngine;t.vu=Poller;n=PollerCancelledError;n=PollerStoppedError;n=createHttpPoller},1391:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});const r=new WeakMap;const n=new WeakMap;class AbortSignal{constructor(){this.onabort=null;r.set(this,[]);n.set(this,false)}get aborted(){if(!n.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}return n.get(this)}static get none(){return new AbortSignal}addEventListener(e,t){if(!r.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const n=r.get(this);n.push(t)}removeEventListener(e,t){if(!r.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const n=r.get(this);const s=n.indexOf(t);if(s>-1){n.splice(s,1)}}dispatchEvent(e){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}}function abortSignal(e){if(e.aborted){return}if(e.onabort){e.onabort.call(e)}const t=r.get(e);if(t){t.slice().forEach((t=>{t.call(e,{type:"abort"})}))}n.set(e,true)}class AbortError extends Error{constructor(e){super(e);this.name="AbortError"}}class AbortController{constructor(e){this._signal=new AbortSignal;if(!e){return}if(!Array.isArray(e)){e=arguments}for(const t of e){if(t.aborted){this.abort()}else{t.addEventListener("abort",(()=>{this.abort()}))}}}get signal(){return this._signal}abort(){abortSignal(this._signal)}static timeout(e){const t=new AbortSignal;const r=setTimeout(abortSignal,e,t);if(typeof r.unref==="function"){r.unref()}return t}}t.AbortController=AbortController;t.AbortError=AbortError;t.AbortSignal=AbortSignal},7132:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});var n=r(1391);var s=r(6982);function createAbortablePromise(e,t){const{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:o}=t!==null&&t!==void 0?t:{};return new Promise(((t,i)=>{function rejectOnAbort(){i(new n.AbortError(o!==null&&o!==void 0?o:"The operation was aborted."))}function removeListeners(){s===null||s===void 0?void 0:s.removeEventListener("abort",onAbort)}function onAbort(){r===null||r===void 0?void 0:r();removeListeners();rejectOnAbort()}if(s===null||s===void 0?void 0:s.aborted){return rejectOnAbort()}try{e((e=>{removeListeners();t(e)}),(e=>{removeListeners();i(e)}))}catch(e){i(e)}s===null||s===void 0?void 0:s.addEventListener("abort",onAbort)}))}const o="The delay was aborted.";function delay(e,t){let r;const{abortSignal:n,abortErrorMsg:s}=t!==null&&t!==void 0?t:{};return createAbortablePromise((t=>{r=setTimeout(t,e)}),{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:n,abortErrorMsg:s!==null&&s!==void 0?s:o})}function getRandomIntegerInclusive(e,t){e=Math.ceil(e);t=Math.floor(t);const r=Math.floor(Math.random()*(t-e+1));return r+e}function isObject(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function isError(e){if(isObject(e)){const t=typeof e.name==="string";const r=typeof e.message==="string";return t&&r}return false}function getErrorMessage(e){if(isError(e)){return e.message}else{let t;try{if(typeof e==="object"&&e){t=JSON.stringify(e)}else{t=String(e)}}catch(e){t="[unable to stringify input]"}return`Unknown error ${t}`}}async function computeSha256Hmac(e,t,r){const n=Buffer.from(e,"base64");return s.createHmac("sha256",n).update(t).digest(r)}async function computeSha256Hash(e,t){return s.createHash("sha256").update(e).digest(t)}function isDefined(e){return typeof e!=="undefined"&&e!==null}function isObjectWithProperties(e,t){if(!isDefined(e)||typeof e!=="object"){return false}for(const r of t){if(!objectHasProperty(e,r)){return false}}return true}function objectHasProperty(e,t){return isDefined(e)&&typeof e==="object"&&t in e}function generateUUID(){let e="";for(let t=0;t<32;t++){const r=Math.floor(Math.random()*16);if(t===12){e+="4"}else if(t===16){e+=r&3|8}else{e+=r.toString(16)}if(t===7||t===11||t===15||t===19){e+="-"}}return e}var i;let a=typeof((i=globalThis===null||globalThis===void 0?void 0:globalThis.crypto)===null||i===void 0?void 0:i.randomUUID)==="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):s.randomUUID;if(!a){a=generateUUID}function randomUUID(){return a()}var c,l,u,A;const d=typeof window!=="undefined"&&typeof window.document!=="undefined";const p=typeof self==="object"&&typeof(self===null||self===void 0?void 0:self.importScripts)==="function"&&(((c=self.constructor)===null||c===void 0?void 0:c.name)==="DedicatedWorkerGlobalScope"||((l=self.constructor)===null||l===void 0?void 0:l.name)==="ServiceWorkerGlobalScope"||((u=self.constructor)===null||u===void 0?void 0:u.name)==="SharedWorkerGlobalScope");const m=typeof process!=="undefined"&&Boolean(process.version)&&Boolean((A=process.versions)===null||A===void 0?void 0:A.node);const h=typeof Deno!=="undefined"&&typeof Deno.version!=="undefined"&&typeof Deno.version.deno!=="undefined";const g=typeof Bun!=="undefined"&&typeof Bun.version!=="undefined";const f=typeof navigator!=="undefined"&&(navigator===null||navigator===void 0?void 0:navigator.product)==="ReactNative";function uint8ArrayToString(e,t){switch(t){case"utf-8":return uint8ArrayToUtf8String(e);case"base64":return uint8ArrayToBase64(e);case"base64url":return uint8ArrayToBase64Url(e)}}function stringToUint8Array(e,t){switch(t){case"utf-8":return utf8StringToUint8Array(e);case"base64":return base64ToUint8Array(e);case"base64url":return base64UrlToUint8Array(e)}}function uint8ArrayToBase64(e){return Buffer.from(e).toString("base64")}function uint8ArrayToBase64Url(e){return Buffer.from(e).toString("base64url")}function uint8ArrayToUtf8String(e){return Buffer.from(e).toString("utf-8")}function utf8StringToUint8Array(e){return Buffer.from(e)}function base64ToUint8Array(e){return Buffer.from(e,"base64")}function base64UrlToUint8Array(e){return Buffer.from(e,"base64url")}t.computeSha256Hash=computeSha256Hash;t.computeSha256Hmac=computeSha256Hmac;t.createAbortablePromise=createAbortablePromise;t.delay=delay;t.getErrorMessage=getErrorMessage;t.getRandomIntegerInclusive=getRandomIntegerInclusive;t.isBrowser=d;t.isBun=g;t.isDefined=isDefined;t.isDeno=h;t.isError=isError;t.isNode=m;t.isObject=isObject;t.isObjectWithProperties=isObjectWithProperties;t.isReactNative=f;t.isWebWorker=p;t.objectHasProperty=objectHasProperty;t.randomUUID=randomUUID;t.stringToUint8Array=stringToUint8Array;t.uint8ArrayToString=uint8ArrayToString},5004:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});var n=r(857);var s=r(9023);function _interopDefaultLegacy(e){return e&&typeof e==="object"&&"default"in e?e:{default:e}}var o=_interopDefaultLegacy(s);function log(e,...t){process.stderr.write(`${o["default"].format(e,...t)}${n.EOL}`)}const i=typeof process!=="undefined"&&process.env&&process.env.DEBUG||undefined;let a;let c=[];let l=[];const u=[];if(i){enable(i)}const A=Object.assign((e=>createDebugger(e)),{enable:enable,enabled:enabled,disable:disable,log:log});function enable(e){a=e;c=[];l=[];const t=/\*/g;const r=e.split(",").map((e=>e.trim().replace(t,".*?")));for(const e of r){if(e.startsWith("-")){l.push(new RegExp(`^${e.substr(1)}$`))}else{c.push(new RegExp(`^${e}$`))}}for(const e of u){e.enabled=enabled(e.namespace)}}function enabled(e){if(e.endsWith("*")){return true}for(const t of l){if(t.test(e)){return false}}for(const t of c){if(t.test(e)){return true}}return false}function disable(){const e=a||"";enable("");return e}function createDebugger(e){const t=Object.assign(debug,{enabled:enabled(e),destroy:destroy,log:A.log,namespace:e,extend:extend});function debug(...r){if(!t.enabled){return}if(r.length>0){r[0]=`${e} ${r[0]}`}t.log(...r)}u.push(t);return t}function destroy(){const e=u.indexOf(this);if(e>=0){u.splice(e,1);return true}return false}function extend(e){const t=createDebugger(`${this.namespace}:${e}`);t.log=this.log;return t}var d=A;const p=new Set;const m=typeof process!=="undefined"&&process.env&&process.env.AZURE_LOG_LEVEL||undefined;let h;const g=d("azure");g.log=(...e)=>{d.log(...e)};const f=["verbose","info","warning","error"];if(m){if(isAzureLogLevel(m)){setLogLevel(m)}else{console.error(`AZURE_LOG_LEVEL set to unknown log level '${m}'; logging is not enabled. Acceptable values: ${f.join(", ")}.`)}}function setLogLevel(e){if(e&&!isAzureLogLevel(e)){throw new Error(`Unknown log level '${e}'. Acceptable values: ${f.join(",")}`)}h=e;const t=[];for(const e of p){if(shouldEnable(e)){t.push(e.namespace)}}d.enable(t.join(","))}function getLogLevel(){return h}const E={verbose:400,info:300,warning:200,error:100};function createClientLogger(e){const t=g.extend(e);patchLogMethod(g,t);return{error:createLogger(t,"error"),warning:createLogger(t,"warning"),info:createLogger(t,"info"),verbose:createLogger(t,"verbose")}}function patchLogMethod(e,t){t.log=(...t)=>{e.log(...t)}}function createLogger(e,t){const r=Object.assign(e.extend(t),{level:t});patchLogMethod(e,r);if(shouldEnable(r)){const e=d.disable();d.enable(e+","+r.namespace)}p.add(r);return r}function shouldEnable(e){return Boolean(h&&E[e.level]<=E[h])}function isAzureLogLevel(e){return f.includes(e)}t.AzureLogger=g;t.createClientLogger=createClientLogger;t.getLogLevel=getLogLevel;t.setLogLevel=setLogLevel},1046:(e,t,r)=>{const n=Symbol("SemVer ANY");class Comparator{static get ANY(){return n}constructor(e,t){t=s(t);if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}e=e.trim().split(/\s+/).join(" ");c("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===n){this.value=""}else{this.value=this.operator+this.semver.version}c("comp",this)}parse(e){const t=this.options.loose?o[i.COMPARATORLOOSE]:o[i.COMPARATOR];const r=e.match(t);if(!r){throw new TypeError(`Invalid comparator: ${e}`)}this.operator=r[1]!==undefined?r[1]:"";if(this.operator==="="){this.operator=""}if(!r[2]){this.semver=n}else{this.semver=new l(r[2],this.options.loose)}}toString(){return this.value}test(e){c("Comparator.test",e,this.options.loose);if(this.semver===n||e===n){return true}if(typeof e==="string"){try{e=new l(e,this.options)}catch(e){return false}}return a(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(this.operator===""){if(this.value===""){return true}return new u(e.value,t).test(this.value)}else if(e.operator===""){if(e.value===""){return true}return new u(this.value,t).test(e.semver)}t=s(t);if(t.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")){return false}if(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))){return false}if(this.operator.startsWith(">")&&e.operator.startsWith(">")){return true}if(this.operator.startsWith("<")&&e.operator.startsWith("<")){return true}if(this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")){return true}if(a(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")){return true}if(a(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")){return true}return false}}e.exports=Comparator;const s=r(7766);const{safeRe:o,t:i}=r(4836);const a=r(7721);const c=r(2814);const l=r(5186);const u=r(3177)},3177:(e,t,r)=>{const n=/\s+/g;class Range{constructor(e,t){t=i(t);if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof a){this.raw=e.value;this.set=[[e]];this.formatted=undefined;return this}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e.trim().replace(n," ");this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${this.raw}`)}if(this.set.length>1){const e=this.set[0];this.set=this.set.filter((e=>!isNullSet(e[0])));if(this.set.length===0){this.set=[e]}else if(this.set.length>1){for(const e of this.set){if(e.length===1&&isAny(e[0])){this.set=[e];break}}}}this.formatted=undefined}get range(){if(this.formatted===undefined){this.formatted="";for(let e=0;e<this.set.length;e++){if(e>0){this.formatted+="||"}const t=this.set[e];for(let e=0;e<t.length;e++){if(e>0){this.formatted+=" "}this.formatted+=t[e].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=(this.options.includePrerelease&&h)|(this.options.loose&&g);const r=t+":"+e;const n=o.get(r);if(n){return n}const s=this.options.loose;const i=s?u[A.HYPHENRANGELOOSE]:u[A.HYPHENRANGE];e=e.replace(i,hyphenReplace(this.options.includePrerelease));c("hyphen replace",e);e=e.replace(u[A.COMPARATORTRIM],d);c("comparator trim",e);e=e.replace(u[A.TILDETRIM],p);c("tilde trim",e);e=e.replace(u[A.CARETTRIM],m);c("caret trim",e);let l=e.split(" ").map((e=>parseComparator(e,this.options))).join(" ").split(/\s+/).map((e=>replaceGTE0(e,this.options)));if(s){l=l.filter((e=>{c("loose invalid filter",e,this.options);return!!e.match(u[A.COMPARATORLOOSE])}))}c("range list",l);const f=new Map;const E=l.map((e=>new a(e,this.options)));for(const e of E){if(isNullSet(e)){return[e]}f.set(e.value,e)}if(f.size>1&&f.has("")){f.delete("")}const y=[...f.values()];o.set(r,y);return y}intersects(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((r=>isSatisfiable(r,t)&&e.set.some((e=>isSatisfiable(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e){return false}if(typeof e==="string"){try{e=new l(e,this.options)}catch(e){return false}}for(let t=0;t<this.set.length;t++){if(testSet(this.set[t],e,this.options)){return true}}return false}}e.exports=Range;const s=r(7515);const o=new s;const i=r(7766);const a=r(1046);const c=r(2814);const l=r(5186);const{safeRe:u,t:A,comparatorTrimReplace:d,tildeTrimReplace:p,caretTrimReplace:m}=r(4836);const{FLAG_INCLUDE_PRERELEASE:h,FLAG_LOOSE:g}=r(8504);const isNullSet=e=>e.value==="<0.0.0-0";const isAny=e=>e.value==="";const isSatisfiable=(e,t)=>{let r=true;const n=e.slice();let s=n.pop();while(r&&n.length){r=n.every((e=>s.intersects(e,t)));s=n.pop()}return r};const parseComparator=(e,t)=>{e=e.replace(u[A.BUILD],"");c("comp",e,t);e=replaceCarets(e,t);c("caret",e);e=replaceTildes(e,t);c("tildes",e);e=replaceXRanges(e,t);c("xrange",e);e=replaceStars(e,t);c("stars",e);return e};const isX=e=>!e||e.toLowerCase()==="x"||e==="*";const replaceTildes=(e,t)=>e.trim().split(/\s+/).map((e=>replaceTilde(e,t))).join(" ");const replaceTilde=(e,t)=>{const r=t.loose?u[A.TILDELOOSE]:u[A.TILDE];return e.replace(r,((t,r,n,s,o)=>{c("tilde",e,t,r,n,s,o);let i;if(isX(r)){i=""}else if(isX(n)){i=`>=${r}.0.0 <${+r+1}.0.0-0`}else if(isX(s)){i=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`}else if(o){c("replaceTilde pr",o);i=`>=${r}.${n}.${s}-${o} <${r}.${+n+1}.0-0`}else{i=`>=${r}.${n}.${s} <${r}.${+n+1}.0-0`}c("tilde return",i);return i}))};const replaceCarets=(e,t)=>e.trim().split(/\s+/).map((e=>replaceCaret(e,t))).join(" ");const replaceCaret=(e,t)=>{c("caret",e,t);const r=t.loose?u[A.CARETLOOSE]:u[A.CARET];const n=t.includePrerelease?"-0":"";return e.replace(r,((t,r,s,o,i)=>{c("caret",e,t,r,s,o,i);let a;if(isX(r)){a=""}else if(isX(s)){a=`>=${r}.0.0${n} <${+r+1}.0.0-0`}else if(isX(o)){if(r==="0"){a=`>=${r}.${s}.0${n} <${r}.${+s+1}.0-0`}else{a=`>=${r}.${s}.0${n} <${+r+1}.0.0-0`}}else if(i){c("replaceCaret pr",i);if(r==="0"){if(s==="0"){a=`>=${r}.${s}.${o}-${i} <${r}.${s}.${+o+1}-0`}else{a=`>=${r}.${s}.${o}-${i} <${r}.${+s+1}.0-0`}}else{a=`>=${r}.${s}.${o}-${i} <${+r+1}.0.0-0`}}else{c("no pr");if(r==="0"){if(s==="0"){a=`>=${r}.${s}.${o}${n} <${r}.${s}.${+o+1}-0`}else{a=`>=${r}.${s}.${o}${n} <${r}.${+s+1}.0-0`}}else{a=`>=${r}.${s}.${o} <${+r+1}.0.0-0`}}c("caret return",a);return a}))};const replaceXRanges=(e,t)=>{c("replaceXRanges",e,t);return e.split(/\s+/).map((e=>replaceXRange(e,t))).join(" ")};const replaceXRange=(e,t)=>{e=e.trim();const r=t.loose?u[A.XRANGELOOSE]:u[A.XRANGE];return e.replace(r,((r,n,s,o,i,a)=>{c("xRange",e,r,n,s,o,i,a);const l=isX(s);const u=l||isX(o);const A=u||isX(i);const d=A;if(n==="="&&d){n=""}a=t.includePrerelease?"-0":"";if(l){if(n===">"||n==="<"){r="<0.0.0-0"}else{r="*"}}else if(n&&d){if(u){o=0}i=0;if(n===">"){n=">=";if(u){s=+s+1;o=0;i=0}else{o=+o+1;i=0}}else if(n==="<="){n="<";if(u){s=+s+1}else{o=+o+1}}if(n==="<"){a="-0"}r=`${n+s}.${o}.${i}${a}`}else if(u){r=`>=${s}.0.0${a} <${+s+1}.0.0-0`}else if(A){r=`>=${s}.${o}.0${a} <${s}.${+o+1}.0-0`}c("xRange return",r);return r}))};const replaceStars=(e,t)=>{c("replaceStars",e,t);return e.trim().replace(u[A.STAR],"")};const replaceGTE0=(e,t)=>{c("replaceGTE0",e,t);return e.trim().replace(u[t.includePrerelease?A.GTE0PRE:A.GTE0],"")};const hyphenReplace=e=>(t,r,n,s,o,i,a,c,l,u,A,d)=>{if(isX(n)){r=""}else if(isX(s)){r=`>=${n}.0.0${e?"-0":""}`}else if(isX(o)){r=`>=${n}.${s}.0${e?"-0":""}`}else if(i){r=`>=${r}`}else{r=`>=${r}${e?"-0":""}`}if(isX(l)){c=""}else if(isX(u)){c=`<${+l+1}.0.0-0`}else if(isX(A)){c=`<${l}.${+u+1}.0-0`}else if(d){c=`<=${l}.${u}.${A}-${d}`}else if(e){c=`<${l}.${u}.${+A+1}-0`}else{c=`<=${c}`}return`${r} ${c}`.trim()};const testSet=(e,t,r)=>{for(let r=0;r<e.length;r++){if(!e[r].test(t)){return false}}if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++){c(e[r].semver);if(e[r].semver===a.ANY){continue}if(e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch){return true}}}return false}return true}},5186:(e,t,r)=>{const n=r(2814);const{MAX_LENGTH:s,MAX_SAFE_INTEGER:o}=r(8504);const{safeRe:i,t:a}=r(4836);const c=r(7766);const{compareIdentifiers:l}=r(7865);class SemVer{constructor(e,t){t=c(t);if(e instanceof SemVer){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`)}if(e.length>s){throw new TypeError(`version is longer than ${s} characters`)}n("SemVer",e,t);this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?i[a.LOOSE]:i[a.FULL]);if(!r){throw new TypeError(`Invalid Version: ${e}`)}this.raw=e;this.major=+r[1];this.minor=+r[2];this.patch=+r[3];if(this.major>o||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>o||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>o||this.patch<0){throw new TypeError("Invalid patch version")}if(!r[4]){this.prerelease=[]}else{this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<o){return t}}return e}))}this.build=r[5]?r[5].split("."):[];this.format()}format(){this.version=`${this.major}.${this.minor}.${this.patch}`;if(this.prerelease.length){this.version+=`-${this.prerelease.join(".")}`}return this.version}toString(){return this.version}compare(e){n("SemVer.compare",this.version,this.options,e);if(!(e instanceof SemVer)){if(typeof e==="string"&&e===this.version){return 0}e=new SemVer(e,this.options)}if(e.version===this.version){return 0}return this.compareMain(e)||this.comparePre(e)}compareMain(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.major<e.major){return-1}if(this.major>e.major){return 1}if(this.minor<e.minor){return-1}if(this.minor>e.minor){return 1}if(this.patch<e.patch){return-1}if(this.patch>e.patch){return 1}return 0}comparePre(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.prerelease.length&&!e.prerelease.length){return-1}else if(!this.prerelease.length&&e.prerelease.length){return 1}else if(!this.prerelease.length&&!e.prerelease.length){return 0}let t=0;do{const r=this.prerelease[t];const s=e.prerelease[t];n("prerelease compare",t,r,s);if(r===undefined&&s===undefined){return 0}else if(s===undefined){return 1}else if(r===undefined){return-1}else if(r===s){continue}else{return l(r,s)}}while(++t)}compareBuild(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}let t=0;do{const r=this.build[t];const s=e.build[t];n("build compare",t,r,s);if(r===undefined&&s===undefined){return 0}else if(s===undefined){return 1}else if(r===undefined){return-1}else if(r===s){continue}else{return l(r,s)}}while(++t)}inc(e,t,r){if(e.startsWith("pre")){if(!t&&r===false){throw new Error("invalid increment argument: identifier is empty")}if(t){const e=`-${t}`.match(this.options.loose?i[a.PRERELEASELOOSE]:i[a.PRERELEASE]);if(!e||e[1]!==t){throw new Error(`invalid identifier: ${t}`)}}}switch(e){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0;this.inc("patch",t,r);this.inc("pre",t,r);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",t,r)}this.inc("pre",t,r);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 e=Number(r)?1:0;if(this.prerelease.length===0){this.prerelease=[e]}else{let n=this.prerelease.length;while(--n>=0){if(typeof this.prerelease[n]==="number"){this.prerelease[n]++;n=-2}}if(n===-1){if(t===this.prerelease.join(".")&&r===false){throw new Error("invalid increment argument: identifier already exists")}this.prerelease.push(e)}}if(t){let n=[t,e];if(r===false){n=[t]}if(l(this.prerelease[0],t)===0){if(isNaN(this.prerelease[1])){this.prerelease=n}}else{this.prerelease=n}}break}default:throw new Error(`invalid increment argument: ${e}`)}this.raw=this.format();if(this.build.length){this.raw+=`+${this.build.join(".")}`}return this}}e.exports=SemVer},5436:(e,t,r)=>{const n=r(7526);const clean=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};e.exports=clean},7721:(e,t,r)=>{const n=r(4107);const s=r(7705);const o=r(7962);const i=r(5603);const a=r(525);const c=r(3966);const cmp=(e,t,r,l)=>{switch(t){case"===":if(typeof e==="object"){e=e.version}if(typeof r==="object"){r=r.version}return e===r;case"!==":if(typeof e==="object"){e=e.version}if(typeof r==="object"){r=r.version}return e!==r;case"":case"=":case"==":return n(e,r,l);case"!=":return s(e,r,l);case">":return o(e,r,l);case">=":return i(e,r,l);case"<":return a(e,r,l);case"<=":return c(e,r,l);default:throw new TypeError(`Invalid operator: ${t}`)}};e.exports=cmp},6356:(e,t,r)=>{const n=r(5186);const s=r(7526);const{safeRe:o,t:i}=r(4836);const coerce=(e,t)=>{if(e instanceof n){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};let r=null;if(!t.rtl){r=e.match(t.includePrerelease?o[i.COERCEFULL]:o[i.COERCE])}else{const n=t.includePrerelease?o[i.COERCERTLFULL]:o[i.COERCERTL];let s;while((s=n.exec(e))&&(!r||r.index+r[0].length!==e.length)){if(!r||s.index+s[0].length!==r.index+r[0].length){r=s}n.lastIndex=s.index+s[1].length+s[2].length}n.lastIndex=-1}if(r===null){return null}const a=r[2];const c=r[3]||"0";const l=r[4]||"0";const u=t.includePrerelease&&r[5]?`-${r[5]}`:"";const A=t.includePrerelease&&r[6]?`+${r[6]}`:"";return s(`${a}.${c}.${l}${u}${A}`,t)};e.exports=coerce},2147:(e,t,r)=>{const n=r(5186);const compareBuild=(e,t,r)=>{const s=new n(e,r);const o=new n(t,r);return s.compare(o)||s.compareBuild(o)};e.exports=compareBuild},8545:(e,t,r)=>{const n=r(18);const compareLoose=(e,t)=>n(e,t,true);e.exports=compareLoose},18:(e,t,r)=>{const n=r(5186);const compare=(e,t,r)=>new n(e,r).compare(new n(t,r));e.exports=compare},7290:(e,t,r)=>{const n=r(7526);const diff=(e,t)=>{const r=n(e,null,true);const s=n(t,null,true);const o=r.compare(s);if(o===0){return null}const i=o>0;const a=i?r:s;const c=i?s:r;const l=!!a.prerelease.length;const u=!!c.prerelease.length;if(u&&!l){if(!c.patch&&!c.minor){return"major"}if(c.compareMain(a)===0){if(c.minor&&!c.patch){return"minor"}return"patch"}}const A=l?"pre":"";if(r.major!==s.major){return A+"major"}if(r.minor!==s.minor){return A+"minor"}if(r.patch!==s.patch){return A+"patch"}return"prerelease"};e.exports=diff},4107:(e,t,r)=>{const n=r(18);const eq=(e,t,r)=>n(e,t,r)===0;e.exports=eq},7962:(e,t,r)=>{const n=r(18);const gt=(e,t,r)=>n(e,t,r)>0;e.exports=gt},5603:(e,t,r)=>{const n=r(18);const gte=(e,t,r)=>n(e,t,r)>=0;e.exports=gte},2317:(e,t,r)=>{const n=r(5186);const inc=(e,t,r,s,o)=>{if(typeof r==="string"){o=s;s=r;r=undefined}try{return new n(e instanceof n?e.version:e,r).inc(t,s,o).version}catch(e){return null}};e.exports=inc},525:(e,t,r)=>{const n=r(18);const lt=(e,t,r)=>n(e,t,r)<0;e.exports=lt},3966:(e,t,r)=>{const n=r(18);const lte=(e,t,r)=>n(e,t,r)<=0;e.exports=lte},4716:(e,t,r)=>{const n=r(5186);const major=(e,t)=>new n(e,t).major;e.exports=major},7968:(e,t,r)=>{const n=r(5186);const minor=(e,t)=>new n(e,t).minor;e.exports=minor},7705:(e,t,r)=>{const n=r(18);const neq=(e,t,r)=>n(e,t,r)!==0;e.exports=neq},7526:(e,t,r)=>{const n=r(5186);const parse=(e,t,r=false)=>{if(e instanceof n){return e}try{return new n(e,t)}catch(e){if(!r){return null}throw e}};e.exports=parse},4807:(e,t,r)=>{const n=r(5186);const patch=(e,t)=>new n(e,t).patch;e.exports=patch},5039:(e,t,r)=>{const n=r(7526);const prerelease=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null};e.exports=prerelease},5236:(e,t,r)=>{const n=r(18);const rcompare=(e,t,r)=>n(t,e,r);e.exports=rcompare},9547:(e,t,r)=>{const n=r(2147);const rsort=(e,t)=>e.sort(((e,r)=>n(r,e,t)));e.exports=rsort},6076:(e,t,r)=>{const n=r(3177);const satisfies=(e,t,r)=>{try{t=new n(t,r)}catch(e){return false}return t.test(e)};e.exports=satisfies},6293:(e,t,r)=>{const n=r(2147);const sort=(e,t)=>e.sort(((e,r)=>n(e,r,t)));e.exports=sort},2475:(e,t,r)=>{const n=r(7526);const valid=(e,t)=>{const r=n(e,t);return r?r.version:null};e.exports=valid},1955:(e,t,r)=>{const n=r(4836);const s=r(8504);const o=r(5186);const i=r(7865);const a=r(7526);const c=r(2475);const l=r(5436);const u=r(2317);const A=r(7290);const d=r(4716);const p=r(7968);const m=r(4807);const h=r(5039);const g=r(18);const f=r(5236);const E=r(8545);const y=r(2147);const C=r(6293);const I=r(9547);const B=r(7962);const b=r(525);const w=r(4107);const S=r(7705);const Q=r(5603);const N=r(3966);const R=r(7721);const v=r(6356);const x=r(1046);const T=r(3177);const k=r(6076);const D=r(8465);const _=r(1550);const P=r(9820);const L=r(2271);const M=r(8816);const O=r(6317);const F=r(5133);const U=r(8548);const H=r(9118);const G=r(3139);const q=r(1093);e.exports={parse:a,valid:c,clean:l,inc:u,diff:A,major:d,minor:p,patch:m,prerelease:h,compare:g,rcompare:f,compareLoose:E,compareBuild:y,sort:C,rsort:I,gt:B,lt:b,eq:w,neq:S,gte:Q,lte:N,cmp:R,coerce:v,Comparator:x,Range:T,satisfies:k,toComparators:D,maxSatisfying:_,minSatisfying:P,minVersion:L,validRange:M,outside:O,gtr:F,ltr:U,intersects:H,simplifyRange:G,subset:q,SemVer:o,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:s.SEMVER_SPEC_VERSION,RELEASE_TYPES:s.RELEASE_TYPES,compareIdentifiers:i.compareIdentifiers,rcompareIdentifiers:i.rcompareIdentifiers}},8504:e=>{const t="2.0.0";const r=256;const n=Number.MAX_SAFE_INTEGER||9007199254740991;const s=16;const o=r-6;const i=["major","premajor","minor","preminor","patch","prepatch","prerelease"];e.exports={MAX_LENGTH:r,MAX_SAFE_COMPONENT_LENGTH:s,MAX_SAFE_BUILD_LENGTH:o,MAX_SAFE_INTEGER:n,RELEASE_TYPES:i,SEMVER_SPEC_VERSION:t,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},2814:e=>{const t=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},7865:e=>{const t=/^[0-9]+$/;const compareIdentifiers=(e,r)=>{if(typeof e==="number"&&typeof r==="number"){return e===r?0:e<r?-1:1}const n=t.test(e);const s=t.test(r);if(n&&s){e=+e;r=+r}return e===r?0:n&&!s?-1:s&&!n?1:e<r?-1:1};const rcompareIdentifiers=(e,t)=>compareIdentifiers(t,e);e.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},7515:e=>{class LRUCache{constructor(){this.max=1e3;this.map=new Map}get(e){const t=this.map.get(e);if(t===undefined){return undefined}else{this.map.delete(e);this.map.set(e,t);return t}}delete(e){return this.map.delete(e)}set(e,t){const r=this.delete(e);if(!r&&t!==undefined){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}e.exports=LRUCache},7766:e=>{const t=Object.freeze({loose:true});const r=Object.freeze({});const parseOptions=e=>{if(!e){return r}if(typeof e!=="object"){return t}return e};e.exports=parseOptions},4836:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:s,MAX_LENGTH:o}=r(8504);const i=r(2814);t=e.exports={};const a=t.re=[];const c=t.safeRe=[];const l=t.src=[];const u=t.safeSrc=[];const A=t.t={};let d=0;const p="[a-zA-Z0-9-]";const m=[["\\s",1],["\\d",o],[p,s]];const makeSafeRegex=e=>{for(const[t,r]of m){e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`)}return e};const createToken=(e,t,r)=>{const n=makeSafeRegex(t);const s=d++;i(e,s,t);A[e]=s;l[s]=t;u[s]=n;a[s]=new RegExp(t,r?"g":undefined);c[s]=new RegExp(n,r?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","\\d+");createToken("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`);createToken("MAINVERSION",`(${l[A.NUMERICIDENTIFIER]})\\.`+`(${l[A.NUMERICIDENTIFIER]})\\.`+`(${l[A.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${l[A.NUMERICIDENTIFIERLOOSE]})\\.`+`(${l[A.NUMERICIDENTIFIERLOOSE]})\\.`+`(${l[A.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${l[A.NONNUMERICIDENTIFIER]}|${l[A.NUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${l[A.NONNUMERICIDENTIFIER]}|${l[A.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASE",`(?:-(${l[A.PRERELEASEIDENTIFIER]}(?:\\.${l[A.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${l[A.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[A.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER",`${p}+`);createToken("BUILD",`(?:\\+(${l[A.BUILDIDENTIFIER]}(?:\\.${l[A.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${l[A.MAINVERSION]}${l[A.PRERELEASE]}?${l[A.BUILD]}?`);createToken("FULL",`^${l[A.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${l[A.MAINVERSIONLOOSE]}${l[A.PRERELEASELOOSE]}?${l[A.BUILD]}?`);createToken("LOOSE",`^${l[A.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${l[A.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${l[A.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${l[A.XRANGEIDENTIFIER]})`+`(?:\\.(${l[A.XRANGEIDENTIFIER]})`+`(?:\\.(${l[A.XRANGEIDENTIFIER]})`+`(?:${l[A.PRERELEASE]})?${l[A.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${l[A.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${l[A.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${l[A.XRANGEIDENTIFIERLOOSE]})`+`(?:${l[A.PRERELEASELOOSE]})?${l[A.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${l[A.GTLT]}\\s*${l[A.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${l[A.GTLT]}\\s*${l[A.XRANGEPLAINLOOSE]}$`);createToken("COERCEPLAIN",`${"(^|[^\\d])"+"(\\d{1,"}${n}})`+`(?:\\.(\\d{1,${n}}))?`+`(?:\\.(\\d{1,${n}}))?`);createToken("COERCE",`${l[A.COERCEPLAIN]}(?:$|[^\\d])`);createToken("COERCEFULL",l[A.COERCEPLAIN]+`(?:${l[A.PRERELEASE]})?`+`(?:${l[A.BUILD]})?`+`(?:$|[^\\d])`);createToken("COERCERTL",l[A.COERCE],true);createToken("COERCERTLFULL",l[A.COERCEFULL],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${l[A.LONETILDE]}\\s+`,true);t.tildeTrimReplace="$1~";createToken("TILDE",`^${l[A.LONETILDE]}${l[A.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${l[A.LONETILDE]}${l[A.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${l[A.LONECARET]}\\s+`,true);t.caretTrimReplace="$1^";createToken("CARET",`^${l[A.LONECARET]}${l[A.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${l[A.LONECARET]}${l[A.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${l[A.GTLT]}\\s*(${l[A.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${l[A.GTLT]}\\s*(${l[A.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${l[A.GTLT]}\\s*(${l[A.LOOSEPLAIN]}|${l[A.XRANGEPLAIN]})`,true);t.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${l[A.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${l[A.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${l[A.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${l[A.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},5133:(e,t,r)=>{const n=r(6317);const gtr=(e,t,r)=>n(e,t,">",r);e.exports=gtr},9118:(e,t,r)=>{const n=r(3177);const intersects=(e,t,r)=>{e=new n(e,r);t=new n(t,r);return e.intersects(t,r)};e.exports=intersects},8548:(e,t,r)=>{const n=r(6317);const ltr=(e,t,r)=>n(e,t,"<",r);e.exports=ltr},1550:(e,t,r)=>{const n=r(5186);const s=r(3177);const maxSatisfying=(e,t,r)=>{let o=null;let i=null;let a=null;try{a=new s(t,r)}catch(e){return null}e.forEach((e=>{if(a.test(e)){if(!o||i.compare(e)===-1){o=e;i=new n(o,r)}}}));return o};e.exports=maxSatisfying},9820:(e,t,r)=>{const n=r(5186);const s=r(3177);const minSatisfying=(e,t,r)=>{let o=null;let i=null;let a=null;try{a=new s(t,r)}catch(e){return null}e.forEach((e=>{if(a.test(e)){if(!o||i.compare(e)===1){o=e;i=new n(o,r)}}}));return o};e.exports=minSatisfying},2271:(e,t,r)=>{const n=r(5186);const s=r(3177);const o=r(7962);const minVersion=(e,t)=>{e=new s(e,t);let r=new n("0.0.0");if(e.test(r)){return r}r=new n("0.0.0-0");if(e.test(r)){return r}r=null;for(let t=0;t<e.set.length;++t){const s=e.set[t];let i=null;s.forEach((e=>{const t=new n(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!i||o(t,i)){i=t}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}));if(i&&(!r||o(r,i))){r=i}}if(r&&e.test(r)){return r}return null};e.exports=minVersion},6317:(e,t,r)=>{const n=r(5186);const s=r(1046);const{ANY:o}=s;const i=r(3177);const a=r(6076);const c=r(7962);const l=r(525);const u=r(3966);const A=r(5603);const outside=(e,t,r,d)=>{e=new n(e,d);t=new i(t,d);let p,m,h,g,f;switch(r){case">":p=c;m=u;h=l;g=">";f=">=";break;case"<":p=l;m=A;h=c;g="<";f="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,d)){return false}for(let r=0;r<t.set.length;++r){const n=t.set[r];let i=null;let a=null;n.forEach((e=>{if(e.semver===o){e=new s(">=0.0.0")}i=i||e;a=a||e;if(p(e.semver,i.semver,d)){i=e}else if(h(e.semver,a.semver,d)){a=e}}));if(i.operator===g||i.operator===f){return false}if((!a.operator||a.operator===g)&&m(e,a.semver)){return false}else if(a.operator===f&&h(e,a.semver)){return false}}return true};e.exports=outside},3139:(e,t,r)=>{const n=r(6076);const s=r(18);e.exports=(e,t,r)=>{const o=[];let i=null;let a=null;const c=e.sort(((e,t)=>s(e,t,r)));for(const e of c){const s=n(e,t,r);if(s){a=e;if(!i){i=e}}else{if(a){o.push([i,a])}a=null;i=null}}if(i){o.push([i,null])}const l=[];for(const[e,t]of o){if(e===t){l.push(e)}else if(!t&&e===c[0]){l.push("*")}else if(!t){l.push(`>=${e}`)}else if(e===c[0]){l.push(`<=${t}`)}else{l.push(`${e} - ${t}`)}}const u=l.join(" || ");const A=typeof t.raw==="string"?t.raw:String(t);return u.length<A.length?u:t}},1093:(e,t,r)=>{const n=r(3177);const s=r(1046);const{ANY:o}=s;const i=r(6076);const a=r(18);const subset=(e,t,r={})=>{if(e===t){return true}e=new n(e,r);t=new n(t,r);let s=false;e:for(const n of e.set){for(const e of t.set){const t=simpleSubset(n,e,r);s=s||t!==null;if(t){continue e}}if(s){return false}}return true};const c=[new s(">=0.0.0-0")];const l=[new s(">=0.0.0")];const simpleSubset=(e,t,r)=>{if(e===t){return true}if(e.length===1&&e[0].semver===o){if(t.length===1&&t[0].semver===o){return true}else if(r.includePrerelease){e=c}else{e=l}}if(t.length===1&&t[0].semver===o){if(r.includePrerelease){return true}else{t=l}}const n=new Set;let s,u;for(const t of e){if(t.operator===">"||t.operator===">="){s=higherGT(s,t,r)}else if(t.operator==="<"||t.operator==="<="){u=lowerLT(u,t,r)}else{n.add(t.semver)}}if(n.size>1){return null}let A;if(s&&u){A=a(s.semver,u.semver,r);if(A>0){return null}else if(A===0&&(s.operator!==">="||u.operator!=="<=")){return null}}for(const e of n){if(s&&!i(e,String(s),r)){return null}if(u&&!i(e,String(u),r)){return null}for(const n of t){if(!i(e,String(n),r)){return false}}return true}let d,p;let m,h;let g=u&&!r.includePrerelease&&u.semver.prerelease.length?u.semver:false;let f=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:false;if(g&&g.prerelease.length===1&&u.operator==="<"&&g.prerelease[0]===0){g=false}for(const e of t){h=h||e.operator===">"||e.operator===">=";m=m||e.operator==="<"||e.operator==="<=";if(s){if(f){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===f.major&&e.semver.minor===f.minor&&e.semver.patch===f.patch){f=false}}if(e.operator===">"||e.operator===">="){d=higherGT(s,e,r);if(d===e&&d!==s){return false}}else if(s.operator===">="&&!i(s.semver,String(e),r)){return false}}if(u){if(g){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===g.major&&e.semver.minor===g.minor&&e.semver.patch===g.patch){g=false}}if(e.operator==="<"||e.operator==="<="){p=lowerLT(u,e,r);if(p===e&&p!==u){return false}}else if(u.operator==="<="&&!i(u.semver,String(e),r)){return false}}if(!e.operator&&(u||s)&&A!==0){return false}}if(s&&m&&!u&&A!==0){return false}if(u&&h&&!s&&A!==0){return false}if(f||g){return false}return true};const higherGT=(e,t,r)=>{if(!e){return t}const n=a(e.semver,t.semver,r);return n>0?e:n<0?t:t.operator===">"&&e.operator===">="?t:e};const lowerLT=(e,t,r)=>{if(!e){return t}const n=a(e.semver,t.semver,r);return n<0?e:n>0?t:t.operator==="<"&&e.operator==="<="?t:e};e.exports=subset},8465:(e,t,r)=>{const n=r(3177);const toComparators=(e,t)=>new n(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")));e.exports=toComparators},8816:(e,t,r)=>{const n=r(3177);const validRange=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}};e.exports=validRange},5183:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.req=t.json=t.toBuffer=void 0;const i=o(r(8611));const a=o(r(5692));async function toBuffer(e){let t=0;const r=[];for await(const n of e){t+=n.length;r.push(n)}return Buffer.concat(r,t)}t.toBuffer=toBuffer;async function json(e){const t=await toBuffer(e);const r=t.toString("utf8");try{return JSON.parse(r)}catch(e){const t=e;t.message+=` (input: ${r})`;throw t}}t.json=json;function req(e,t={}){const r=typeof e==="string"?e:e.href;const n=(r.startsWith("https:")?a:i).request(e,t);const s=new Promise(((e,t)=>{n.once("response",e).once("error",t).end()}));n.then=s.then.bind(s);return n}t.req=req},8894:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};var i=this&&this.__exportStar||function(e,t){for(var r in e)if(r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r))n(t,e,r)};Object.defineProperty(t,"__esModule",{value:true});t.Agent=void 0;const a=o(r(9278));const c=o(r(8611));const l=r(5692);i(r(5183),t);const u=Symbol("AgentBaseInternalState");class Agent extends c.Agent{constructor(e){super(e);this[u]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint==="boolean"){return e.secureEndpoint}if(typeof e.protocol==="string"){return e.protocol==="https:"}}const{stack:t}=new Error;if(typeof t!=="string")return false;return t.split("\n").some((e=>e.indexOf("(https.js:")!==-1||e.indexOf("node:https:")!==-1))}incrementSockets(e){if(this.maxSockets===Infinity&&this.maxTotalSockets===Infinity){return null}if(!this.sockets[e]){this.sockets[e]=[]}const t=new a.Socket({writable:false});this.sockets[e].push(t);this.totalSocketCount++;return t}decrementSockets(e,t){if(!this.sockets[e]||t===null){return}const r=this.sockets[e];const n=r.indexOf(t);if(n!==-1){r.splice(n,1);this.totalSocketCount--;if(r.length===0){delete this.sockets[e]}}}getName(e){const t=typeof e.secureEndpoint==="boolean"?e.secureEndpoint:this.isSecureEndpoint(e);if(t){return l.Agent.prototype.getName.call(this,e)}return super.getName(e)}createSocket(e,t,r){const n={...t,secureEndpoint:this.isSecureEndpoint(t)};const s=this.getName(n);const o=this.incrementSockets(s);Promise.resolve().then((()=>this.connect(e,n))).then((i=>{this.decrementSockets(s,o);if(i instanceof c.Agent){return i.addRequest(e,n)}this[u].currentSocket=i;super.createSocket(e,t,r)}),(e=>{this.decrementSockets(s,o);r(e)}))}createConnection(){const e=this[u].currentSocket;this[u].currentSocket=undefined;if(!e){throw new Error("No socket was returned in the `connect()` function")}return e}get defaultPort(){return this[u].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){if(this[u]){this[u].defaultPort=e}}get protocol(){return this[u].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){if(this[u]){this[u].protocol=e}}}t.Agent=Agent},5195:(e,t,r)=>{var n=r(5546);function retry(e,t){function run(r,s){var o=t||{};var i;if(!("randomize"in o)){o.randomize=true}i=n.operation(o);function bail(e){s(e||new Error("Aborted"))}function onError(e,t){if(e.bail){bail(e);return}if(!i.retry(e)){s(i.mainError())}else if(o.onRetry){o.onRetry(e,t)}}function runAttempt(t){var n;try{n=e(bail,t)}catch(e){onError(e,t);return}Promise.resolve(n).then(r).catch((function catchIt(e){onError(e,t)}))}i.attempt(runAttempt)}return new Promise(run)}e.exports=retry},9380:e=>{e.exports=balanced;function balanced(e,t,r){if(e instanceof RegExp)e=maybeMatch(e,r);if(t instanceof RegExp)t=maybeMatch(t,r);var n=range(e,t,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+e.length,n[1]),post:r.slice(n[1]+t.length)}}function maybeMatch(e,t){var r=t.match(e);return r?r[0]:null}balanced.range=range;function range(e,t,r){var n,s,o,i,a;var c=r.indexOf(e);var l=r.indexOf(t,c+1);var u=c;if(c>=0&&l>0){if(e===t){return[c,l]}n=[];o=r.length;while(u>=0&&!a){if(u==c){n.push(u);c=r.indexOf(e,u+1)}else if(n.length==1){a=[n.pop(),l]}else{s=n.pop();if(s<o){o=s;i=l}l=r.indexOf(t,u+1)}u=c<l&&c>=0?c:l}if(n.length){a=[o,i]}}return a}},7087:e=>{e.exports=function(e,r){var n=[];for(var s=0;s<e.length;s++){var o=r(e[s],s);if(t(o))n.push.apply(n,o);else n.push(o)}return n};var t=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"}},6867:e=>{var t=1e3;var r=t*60;var n=r*60;var s=n*24;var o=s*7;var i=s*365.25;e.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0){return parse(e)}else if(r==="number"&&isFinite(e)){return t.long?fmtLong(e):fmtShort(e)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function parse(e){e=String(e);if(e.length>100){return}var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a){return}var c=parseFloat(a[1]);var l=(a[2]||"ms").toLowerCase();switch(l){case"years":case"year":case"yrs":case"yr":case"y":return c*i;case"weeks":case"week":case"w":return c*o;case"days":case"day":case"d":return c*s;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*r;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return undefined}}function fmtShort(e){var o=Math.abs(e);if(o>=s){return Math.round(e/s)+"d"}if(o>=n){return Math.round(e/n)+"h"}if(o>=r){return Math.round(e/r)+"m"}if(o>=t){return Math.round(e/t)+"s"}return e+"ms"}function fmtLong(e){var o=Math.abs(e);if(o>=s){return plural(e,o,s,"day")}if(o>=n){return plural(e,o,n,"hour")}if(o>=r){return plural(e,o,r,"minute")}if(o>=t){return plural(e,o,t,"second")}return e+" ms"}function plural(e,t,r,n){var s=t>=r*1.5;return Math.round(e/r)+" "+n+(s?"s":"")}},6110:(e,t,r)=>{t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage=localstorage();t.destroy=(()=>{let e=false;return()=>{if(!e){e=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(t){t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0;let s=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{if(e==="%%"){return}n++;if(e==="%c"){s=n}}));t.splice(s,0,r)}t.log=console.debug||console.log||(()=>{});function save(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=r(897)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},897:(e,t,r)=>{function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=r(6867);createDebug.destroy=destroy;Object.keys(e).forEach((t=>{createDebug[t]=e[t]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let t=0;for(let r=0;r<e.length;r++){t=(t<<5)-t+e.charCodeAt(r);t|=0}return createDebug.colors[Math.abs(t)%createDebug.colors.length]}createDebug.selectColor=selectColor;function createDebug(e){let t;let r=null;let n;let s;function debug(...e){if(!debug.enabled){return}const r=debug;const n=Number(new Date);const s=n-(t||n);r.diff=s;r.prev=t;r.curr=n;t=n;e[0]=createDebug.coerce(e[0]);if(typeof e[0]!=="string"){e.unshift("%O")}let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((t,n)=>{if(t==="%%"){return"%"}o++;const s=createDebug.formatters[n];if(typeof s==="function"){const n=e[o];t=s.call(r,n);e.splice(o,1);o--}return t}));createDebug.formatArgs.call(r,e);const i=r.log||createDebug.log;i.apply(r,e)}debug.namespace=e;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(e);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(r!==null){return r}if(n!==createDebug.namespaces){n=createDebug.namespaces;s=createDebug.enabled(e)}return s},set:e=>{r=e}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(e,t){const r=createDebug(this.namespace+(typeof t==="undefined"?":":t)+e);r.log=this.log;return r}function enable(e){createDebug.save(e);createDebug.namespaces=e;createDebug.names=[];createDebug.skips=[];let t;const r=(typeof e==="string"?e:"").split(/[\s,]+/);const n=r.length;for(t=0;t<n;t++){if(!r[t]){continue}e=r[t].replace(/\*/g,".*?");if(e[0]==="-"){createDebug.skips.push(new RegExp("^"+e.slice(1)+"$"))}else{createDebug.names.push(new RegExp("^"+e+"$"))}}}function disable(){const e=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map((e=>"-"+e))].join(",");createDebug.enable("");return e}function enabled(e){if(e[e.length-1]==="*"){return true}let t;let r;for(t=0,r=createDebug.skips.length;t<r;t++){if(createDebug.skips[t].test(e)){return false}}for(t=0,r=createDebug.names.length;t<r;t++){if(createDebug.names[t].test(e)){return true}}return false}function toNamespace(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}function coerce(e){if(e instanceof Error){return e.stack||e.message}return e}function destroy(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}createDebug.enable(createDebug.load());return createDebug}e.exports=setup},2830:(e,t,r)=>{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=r(6110)}else{e.exports=r(5108)}},5108:(e,t,r)=>{const n=r(2018);const s=r(9023);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.destroy=s.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");t.colors=[6,2,3,4,5,1];try{const e=r(1450);if(e&&(e.stderr||e).level>=2){t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let n=process.env[t];if(/^(yes|on|true|enabled)$/i.test(n)){n=true}else if(/^(no|off|false|disabled)$/i.test(n)){n=false}else if(n==="null"){n=null}else{n=Number(n)}e[r]=n;return e}),{});function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:r,useColors:n}=this;if(n){const n=this.color;const s="[3"+(n<8?n:"8;5;"+n);const o=` ${s};1m${r} `;t[0]=o+t[0].split("\n").join("\n"+o);t.push(s+"m+"+e.exports.humanize(this.diff)+"")}else{t[0]=getDate()+r+" "+t[0]}}function getDate(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(s.format(...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let n=0;n<r.length;n++){e.inspectOpts[r[n]]=t.inspectOpts[r[n]]}}e.exports=r(897)(t);const{formatters:o}=e.exports;o.o=function(e){this.inspectOpts.colors=this.useColors;return s.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")};o.O=function(e){this.inspectOpts.colors=this.useColors;return s.inspect(e,this.inspectOpts)}},2150:(e,t,r)=>{t.__esModule=true;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var n=r(9476);var s=_interopRequireDefault(n);var o=r(2427);var i=_interopRequireDefault(o);var a=r(8406);var c=r(174);var l=r(9424);var u=_interopRequireDefault(l);var A=r(7749);var d=_interopRequireDefault(A);var p=r(9309);var m=_interopRequireDefault(p);var h=s["default"].create;function create(){var e=h();e.compile=function(t,r){return c.compile(t,r,e)};e.precompile=function(t,r){return c.precompile(t,r,e)};e.AST=i["default"];e.Compiler=c.Compiler;e.JavaScriptCompiler=u["default"];e.Parser=a.parser;e.parse=a.parse;e.parseWithoutProcessing=a.parseWithoutProcessing;return e}var g=create();g.create=create;m["default"](g);g.Visitor=d["default"];g["default"]=g;t["default"]=g;e.exports=t["default"]},9476:(e,t,r)=>{t.__esModule=true;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}}t["default"]=e;return t}}var n=r(7280);var s=_interopRequireWildcard(n);var o=r(7544);var i=_interopRequireDefault(o);var a=r(9252);var c=_interopRequireDefault(a);var l=r(8272);var u=_interopRequireWildcard(l);var A=r(3569);var d=_interopRequireWildcard(A);var p=r(9309);var m=_interopRequireDefault(p);function create(){var e=new s.HandlebarsEnvironment;u.extend(e,s);e.SafeString=i["default"];e.Exception=c["default"];e.Utils=u;e.escapeExpression=u.escapeExpression;e.VM=d;e.template=function(t){return d.template(t,e)};return e}var h=create();h.create=create;m["default"](h);h["default"]=h;t["default"]=h;e.exports=t["default"]},7280:(e,t,r)=>{t.__esModule=true;t.HandlebarsEnvironment=HandlebarsEnvironment;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var n=r(8272);var s=r(9252);var o=_interopRequireDefault(s);var i=r(5248);var a=r(1447);var c=r(8525);var l=_interopRequireDefault(c);var u=r(4784);var A="4.7.8";t.VERSION=A;var d=8;t.COMPILER_REVISION=d;var p=7;t.LAST_COMPATIBLE_COMPILER_REVISION=p;var m={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};t.REVISION_CHANGES=m;var h="[object Object]";function HandlebarsEnvironment(e,t,r){this.helpers=e||{};this.partials=t||{};this.decorators=r||{};i.registerDefaultHelpers(this);a.registerDefaultDecorators(this)}HandlebarsEnvironment.prototype={constructor:HandlebarsEnvironment,logger:l["default"],log:l["default"].log,registerHelper:function registerHelper(e,t){if(n.toString.call(e)===h){if(t){throw new o["default"]("Arg not supported with multiple helpers")}n.extend(this.helpers,e)}else{this.helpers[e]=t}},unregisterHelper:function unregisterHelper(e){delete this.helpers[e]},registerPartial:function registerPartial(e,t){if(n.toString.call(e)===h){n.extend(this.partials,e)}else{if(typeof t==="undefined"){throw new o["default"]('Attempting to register a partial called "'+e+'" as undefined')}this.partials[e]=t}},unregisterPartial:function unregisterPartial(e){delete this.partials[e]},registerDecorator:function registerDecorator(e,t){if(n.toString.call(e)===h){if(t){throw new o["default"]("Arg not supported with multiple decorators")}n.extend(this.decorators,e)}else{this.decorators[e]=t}},unregisterDecorator:function unregisterDecorator(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function resetLoggedPropertyAccesses(){u.resetLoggedProperties()}};var g=l["default"].log;t.log=g;t.createFrame=n.createFrame;t.logger=l["default"]},2427:(e,t)=>{t.__esModule=true;var r={helpers:{helperExpression:function helperExpression(e){return e.type==="SubExpression"||(e.type==="MustacheStatement"||e.type==="BlockStatement")&&!!(e.params&&e.params.length||e.hash)},scopedId:function scopedId(e){return/^\.|this\b/.test(e.original)},simpleId:function simpleId(e){return e.parts.length===1&&!r.helpers.scopedId(e)&&!e.depth}}};t["default"]=r;e.exports=t["default"]},8406:(e,t,r)=>{t.__esModule=true;t.parseWithoutProcessing=parseWithoutProcessing;t.parse=parse;function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}}t["default"]=e;return t}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var n=r(1060);var s=_interopRequireDefault(n);var o=r(9422);var i=_interopRequireDefault(o);var a=r(7914);var c=_interopRequireWildcard(a);var l=r(8272);t.parser=s["default"];var u={};l.extend(u,c);function parseWithoutProcessing(e,t){if(e.type==="Program"){return e}s["default"].yy=u;u.locInfo=function(e){return new u.SourceLocation(t&&t.srcName,e)};var r=s["default"].parse(e);return r}function parse(e,t){var r=parseWithoutProcessing(e,t);var n=new i["default"](t);return n.accept(r)}},8037:(e,t,r)=>{t.__esModule=true;var n=r(8272);var s=undefined;try{if(typeof define!=="function"||!define.amd){var o=r(2618);s=o.SourceNode}}catch(e){}if(!s){s=function(e,t,r,n){this.src="";if(n){this.add(n)}};s.prototype={add:function add(e){if(n.isArray(e)){e=e.join("")}this.src+=e},prepend:function prepend(e){if(n.isArray(e)){e=e.join("")}this.src=e+this.src},toStringWithSourceMap:function toStringWithSourceMap(){return{code:this.toString()}},toString:function toString(){return this.src}}}function castChunk(e,t,r){if(n.isArray(e)){var s=[];for(var o=0,i=e.length;o<i;o++){s.push(t.wrap(e[o],r))}return s}else if(typeof e==="boolean"||typeof e==="number"){return e+""}return e}function CodeGen(e){this.srcFile=e;this.source=[]}CodeGen.prototype={isEmpty:function isEmpty(){return!this.source.length},prepend:function prepend(e,t){this.source.unshift(this.wrap(e,t))},push:function push(e,t){this.source.push(this.wrap(e,t))},merge:function merge(){var e=this.empty();this.each((function(t){e.add([" ",t,"\n"])}));return e},each:function each(e){for(var t=0,r=this.source.length;t<r;t++){e(this.source[t])}},empty:function empty(){var e=this.currentLocation||{start:{}};return new s(e.start.line,e.start.column,this.srcFile)},wrap:function wrap(e){var t=arguments.length<=1||arguments[1]===undefined?this.currentLocation||{start:{}}:arguments[1];if(e instanceof s){return e}e=castChunk(e,this,t);return new s(t.start.line,t.start.column,this.srcFile,e)},functionCall:function functionCall(e,t,r){r=this.generateList(r);return this.wrap([e,t?"."+t+"(":"(",r,")"])},quotedString:function quotedString(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function objectLiteral(e){var t=this;var r=[];Object.keys(e).forEach((function(n){var s=castChunk(e[n],t);if(s!=="undefined"){r.push([t.quotedString(n),":",s])}}));var n=this.generateList(r);n.prepend("{");n.add("}");return n},generateList:function generateList(e){var t=this.empty();for(var r=0,n=e.length;r<n;r++){if(r){t.add(",")}t.add(castChunk(e[r],this))}return t},generateArray:function generateArray(e){var t=this.generateList(e);t.prepend("[");t.add("]");return t}};t["default"]=CodeGen;e.exports=t["default"]},174:(e,t,r)=>{t.__esModule=true;t.Compiler=Compiler;t.precompile=precompile;t.compile=compile;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var n=r(9252);var s=_interopRequireDefault(n);var o=r(8272);var i=r(2427);var a=_interopRequireDefault(i);var c=[].slice;function Compiler(){}Compiler.prototype={compiler:Compiler,equals:function equals(e){var t=this.opcodes.length;if(e.opcodes.length!==t){return false}for(var r=0;r<t;r++){var n=this.opcodes[r],s=e.opcodes[r];if(n.opcode!==s.opcode||!argEquals(n.args,s.args)){return false}}t=this.children.length;for(var r=0;r<t;r++){if(!this.children[r].equals(e.children[r])){return false}}return true},guid:0,compile:function compile(e,t){this.sourceNode=[];this.opcodes=[];this.children=[];this.options=t;this.stringParams=t.stringParams;this.trackIds=t.trackIds;t.blockParams=t.blockParams||[];t.knownHelpers=o.extend(Object.create(null),{helperMissing:true,blockHelperMissing:true,each:true,if:true,unless:true,with:true,log:true,lookup:true},t.knownHelpers);return this.accept(e)},compileProgram:function compileProgram(e){var t=new this.compiler,r=t.compile(e,this.options),n=this.guid++;this.usePartial=this.usePartial||r.usePartial;this.children[n]=r;this.useDepths=this.useDepths||r.useDepths;return n},accept:function accept(e){if(!this[e.type]){throw new s["default"]("Unknown type: "+e.type,e)}this.sourceNode.unshift(e);var t=this[e.type](e);this.sourceNode.shift();return t},Program:function Program(e){this.options.blockParams.unshift(e.blockParams);var t=e.body,r=t.length;for(var n=0;n<r;n++){this.accept(t[n])}this.options.blockParams.shift();this.isSimple=r===1;this.blockParams=e.blockParams?e.blockParams.length:0;return this},BlockStatement:function BlockStatement(e){transformLiteralToPath(e);var t=e.program,r=e.inverse;t=t&&this.compileProgram(t);r=r&&this.compileProgram(r);var n=this.classifySexpr(e);if(n==="helper"){this.helperSexpr(e,t,r)}else if(n==="simple"){this.simpleSexpr(e);this.opcode("pushProgram",t);this.opcode("pushProgram",r);this.opcode("emptyHash");this.opcode("blockValue",e.path.original)}else{this.ambiguousSexpr(e,t,r);this.opcode("pushProgram",t);this.opcode("pushProgram",r);this.opcode("emptyHash");this.opcode("ambiguousBlockValue")}this.opcode("append")},DecoratorBlock:function DecoratorBlock(e){var t=e.program&&this.compileProgram(e.program);var r=this.setupFullMustacheParams(e,t,undefined),n=e.path;this.useDecorators=true;this.opcode("registerDecorator",r.length,n.original)},PartialStatement:function PartialStatement(e){this.usePartial=true;var t=e.program;if(t){t=this.compileProgram(e.program)}var r=e.params;if(r.length>1){throw new s["default"]("Unsupported number of partial arguments: "+r.length,e)}else if(!r.length){if(this.options.explicitPartialContext){this.opcode("pushLiteral","undefined")}else{r.push({type:"PathExpression",parts:[],depth:0})}}var n=e.name.original,o=e.name.type==="SubExpression";if(o){this.accept(e.name)}this.setupFullMustacheParams(e,t,undefined,true);var i=e.indent||"";if(this.options.preventIndent&&i){this.opcode("appendContent",i);i=""}this.opcode("invokePartial",o,n,i);this.opcode("append")},PartialBlockStatement:function PartialBlockStatement(e){this.PartialStatement(e)},MustacheStatement:function MustacheStatement(e){this.SubExpression(e);if(e.escaped&&!this.options.noEscape){this.opcode("appendEscaped")}else{this.opcode("append")}},Decorator:function Decorator(e){this.DecoratorBlock(e)},ContentStatement:function ContentStatement(e){if(e.value){this.opcode("appendContent",e.value)}},CommentStatement:function CommentStatement(){},SubExpression:function SubExpression(e){transformLiteralToPath(e);var t=this.classifySexpr(e);if(t==="simple"){this.simpleSexpr(e)}else if(t==="helper"){this.helperSexpr(e)}else{this.ambiguousSexpr(e)}},ambiguousSexpr:function ambiguousSexpr(e,t,r){var n=e.path,s=n.parts[0],o=t!=null||r!=null;this.opcode("getContext",n.depth);this.opcode("pushProgram",t);this.opcode("pushProgram",r);n.strict=true;this.accept(n);this.opcode("invokeAmbiguous",s,o)},simpleSexpr:function simpleSexpr(e){var t=e.path;t.strict=true;this.accept(t);this.opcode("resolvePossibleLambda")},helperSexpr:function helperSexpr(e,t,r){var n=this.setupFullMustacheParams(e,t,r),o=e.path,i=o.parts[0];if(this.options.knownHelpers[i]){this.opcode("invokeKnownHelper",n.length,i)}else if(this.options.knownHelpersOnly){throw new s["default"]("You specified knownHelpersOnly, but used the unknown helper "+i,e)}else{o.strict=true;o.falsy=true;this.accept(o);this.opcode("invokeHelper",n.length,o.original,a["default"].helpers.simpleId(o))}},PathExpression:function PathExpression(e){this.addDepth(e.depth);this.opcode("getContext",e.depth);var t=e.parts[0],r=a["default"].helpers.scopedId(e),n=!e.depth&&!r&&this.blockParamIndex(t);if(n){this.opcode("lookupBlockParam",n,e.parts)}else if(!t){this.opcode("pushContext")}else if(e.data){this.options.data=true;this.opcode("lookupData",e.depth,e.parts,e.strict)}else{this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,r)}},StringLiteral:function StringLiteral(e){this.opcode("pushString",e.value)},NumberLiteral:function NumberLiteral(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function BooleanLiteral(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function UndefinedLiteral(){this.opcode("pushLiteral","undefined")},NullLiteral:function NullLiteral(){this.opcode("pushLiteral","null")},Hash:function Hash(e){var t=e.pairs,r=0,n=t.length;this.opcode("pushHash");for(;r<n;r++){this.pushParam(t[r].value)}while(r--){this.opcode("assignToHash",t[r].key)}this.opcode("popHash")},opcode:function opcode(e){this.opcodes.push({opcode:e,args:c.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function addDepth(e){if(!e){return}this.useDepths=true},classifySexpr:function classifySexpr(e){var t=a["default"].helpers.simpleId(e.path);var r=t&&!!this.blockParamIndex(e.path.parts[0]);var n=!r&&a["default"].helpers.helperExpression(e);var s=!r&&(n||t);if(s&&!n){var o=e.path.parts[0],i=this.options;if(i.knownHelpers[o]){n=true}else if(i.knownHelpersOnly){s=false}}if(n){return"helper"}else if(s){return"ambiguous"}else{return"simple"}},pushParams:function pushParams(e){for(var t=0,r=e.length;t<r;t++){this.pushParam(e[t])}},pushParam:function pushParam(e){var t=e.value!=null?e.value:e.original||"";if(this.stringParams){if(t.replace){t=t.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")}if(e.depth){this.addDepth(e.depth)}this.opcode("getContext",e.depth||0);this.opcode("pushStringParam",t,e.type);if(e.type==="SubExpression"){this.accept(e)}}else{if(this.trackIds){var r=undefined;if(e.parts&&!a["default"].helpers.scopedId(e)&&!e.depth){r=this.blockParamIndex(e.parts[0])}if(r){var n=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",r,n)}else{t=e.original||t;if(t.replace){t=t.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")}this.opcode("pushId",e.type,t)}}this.accept(e)}},setupFullMustacheParams:function setupFullMustacheParams(e,t,r,n){var s=e.params;this.pushParams(s);this.opcode("pushProgram",t);this.opcode("pushProgram",r);if(e.hash){this.accept(e.hash)}else{this.opcode("emptyHash",n)}return s},blockParamIndex:function blockParamIndex(e){for(var t=0,r=this.options.blockParams.length;t<r;t++){var n=this.options.blockParams[t],s=n&&o.indexOf(n,e);if(n&&s>=0){return[t,s]}}}};function precompile(e,t,r){if(e==null||typeof e!=="string"&&e.type!=="Program"){throw new s["default"]("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+e)}t=t||{};if(!("data"in t)){t.data=true}if(t.compat){t.useDepths=true}var n=r.parse(e,t),o=(new r.Compiler).compile(n,t);return(new r.JavaScriptCompiler).compile(o,t)}function compile(e,t,r){if(t===undefined)t={};if(e==null||typeof e!=="string"&&e.type!=="Program"){throw new s["default"]("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+e)}t=o.extend({},t);if(!("data"in t)){t.data=true}if(t.compat){t.useDepths=true}var n=undefined;function compileInput(){var n=r.parse(e,t),s=(new r.Compiler).compile(n,t),o=(new r.JavaScriptCompiler).compile(s,t,undefined,true);return r.template(o)}function ret(e,t){if(!n){n=compileInput()}return n.call(this,e,t)}ret._setup=function(e){if(!n){n=compileInput()}return n._setup(e)};ret._child=function(e,t,r,s){if(!n){n=compileInput()}return n._child(e,t,r,s)};return ret}function argEquals(e,t){if(e===t){return true}if(o.isArray(e)&&o.isArray(t)&&e.length===t.length){for(var r=0;r<e.length;r++){if(!argEquals(e[r],t[r])){return false}}return true}}function transformLiteralToPath(e){if(!e.path.parts){var t=e.path;e.path={type:"PathExpression",data:false,depth:0,parts:[t.original+""],original:t.original+"",loc:t.loc}}}},7914:(e,t,r)=>{t.__esModule=true;t.SourceLocation=SourceLocation;t.id=id;t.stripFlags=stripFlags;t.stripComment=stripComment;t.preparePath=preparePath;t.prepareMustache=prepareMustache;t.prepareRawBlock=prepareRawBlock;t.prepareBlock=prepareBlock;t.prepareProgram=prepareProgram;t.preparePartialBlock=preparePartialBlock;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var n=r(9252);var s=_interopRequireDefault(n);function validateClose(e,t){t=t.path?t.path.original:t;if(e.path.original!==t){var r={loc:e.path.loc};throw new s["default"](e.path.original+" doesn't match "+t,r)}}function SourceLocation(e,t){this.source=e;this.start={line:t.first_line,column:t.first_column};this.end={line:t.last_line,column:t.last_column}}function id(e){if(/^\[.*\]$/.test(e)){return e.substring(1,e.length-1)}else{return e}}function stripFlags(e,t){return{open:e.charAt(2)==="~",close:t.charAt(t.length-3)==="~"}}function stripComment(e){return e.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function preparePath(e,t,r){r=this.locInfo(r);var n=e?"@":"",o=[],i=0;for(var a=0,c=t.length;a<c;a++){var l=t[a].part,u=t[a].original!==l;n+=(t[a].separator||"")+l;if(!u&&(l===".."||l==="."||l==="this")){if(o.length>0){throw new s["default"]("Invalid path: "+n,{loc:r})}else if(l===".."){i++}}else{o.push(l)}}return{type:"PathExpression",data:e,depth:i,parts:o,original:n,loc:r}}function prepareMustache(e,t,r,n,s,o){var i=n.charAt(3)||n.charAt(2),a=i!=="{"&&i!=="&";var c=/\*/.test(n);return{type:c?"Decorator":"MustacheStatement",path:e,params:t,hash:r,escaped:a,strip:s,loc:this.locInfo(o)}}function prepareRawBlock(e,t,r,n){validateClose(e,r);n=this.locInfo(n);var s={type:"Program",body:t,strip:{},loc:n};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:s,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}function prepareBlock(e,t,r,n,o,i){if(n&&n.path){validateClose(e,n)}var a=/\*/.test(e.open);t.blockParams=e.blockParams;var c=undefined,l=undefined;if(r){if(a){throw new s["default"]("Unexpected inverse block on decorator",r)}if(r.chain){r.program.body[0].closeStrip=n.strip}l=r.strip;c=r.program}if(o){o=c;c=t;t=o}return{type:a?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:c,openStrip:e.strip,inverseStrip:l,closeStrip:n&&n.strip,loc:this.locInfo(i)}}function prepareProgram(e,t){if(!t&&e.length){var r=e[0].loc,n=e[e.length-1].loc;if(r&&n){t={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}}}}return{type:"Program",body:e,strip:{},loc:t}}function preparePartialBlock(e,t,r,n){validateClose(e,r);return{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:r&&r.strip,loc:this.locInfo(n)}}},9424:(e,t,r)=>{t.__esModule=true;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var n=r(7280);var s=r(9252);var o=_interopRequireDefault(s);var i=r(8272);var a=r(8037);var c=_interopRequireDefault(a);function Literal(e){this.value=e}function JavaScriptCompiler(){}JavaScriptCompiler.prototype={nameLookup:function nameLookup(e,t){return this.internalNameLookup(e,t)},depthedLookup:function depthedLookup(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},compilerInfo:function compilerInfo(){var e=n.COMPILER_REVISION,t=n.REVISION_CHANGES[e];return[e,t]},appendToBuffer:function appendToBuffer(e,t,r){if(!i.isArray(e)){e=[e]}e=this.source.wrap(e,t);if(this.environment.isSimple){return["return ",e,";"]}else if(r){return["buffer += ",e,";"]}else{e.appendToBuffer=true;return e}},initializeBuffer:function initializeBuffer(){return this.quotedString("")},internalNameLookup:function internalNameLookup(e,t){this.lookupPropertyFunctionIsUsed=true;return["lookupProperty(",e,",",JSON.stringify(t),")"]},lookupPropertyFunctionIsUsed:false,compile:function compile(e,t,r,n){this.environment=e;this.options=t;this.stringParams=this.options.stringParams;this.trackIds=this.options.trackIds;this.precompile=!n;this.name=this.environment.name;this.isChild=!!r;this.context=r||{decorators:[],programs:[],environments:[]};this.preamble();this.stackSlot=0;this.stackVars=[];this.aliases={};this.registers={list:[]};this.hashes=[];this.compileStack=[];this.inlineStack=[];this.blockParams=[];this.compileChildren(e,t);this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat;this.useBlockParams=this.useBlockParams||e.useBlockParams;var s=e.opcodes,i=undefined,a=undefined,c=undefined,l=undefined;for(c=0,l=s.length;c<l;c++){i=s[c];this.source.currentLocation=i.loc;a=a||i.loc;this[i.opcode].apply(this,i.args)}this.source.currentLocation=a;this.pushSource("");if(this.stackSlot||this.inlineStack.length||this.compileStack.length){throw new o["default"]("Compile completed with content left on stack")}if(!this.decorators.isEmpty()){this.useDecorators=true;this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),";\n"]);this.decorators.push("return fn;");if(n){this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()])}else{this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n");this.decorators.push("}\n");this.decorators=this.decorators.merge()}}else{this.decorators=undefined}var u=this.createFunctionContext(n);if(!this.isChild){var A={compiler:this.compilerInfo(),main:u};if(this.decorators){A.main_d=this.decorators;A.useDecorators=true}var d=this.context;var p=d.programs;var m=d.decorators;for(c=0,l=p.length;c<l;c++){if(p[c]){A[c]=p[c];if(m[c]){A[c+"_d"]=m[c];A.useDecorators=true}}}if(this.environment.usePartial){A.usePartial=true}if(this.options.data){A.useData=true}if(this.useDepths){A.useDepths=true}if(this.useBlockParams){A.useBlockParams=true}if(this.options.compat){A.compat=true}if(!n){A.compiler=JSON.stringify(A.compiler);this.source.currentLocation={start:{line:1,column:0}};A=this.objectLiteral(A);if(t.srcName){A=A.toStringWithSourceMap({file:t.destName});A.map=A.map&&A.map.toString()}else{A=A.toString()}}else{A.compilerOptions=this.options}return A}else{return u}},preamble:function preamble(){this.lastContext=0;this.source=new c["default"](this.options.srcName);this.decorators=new c["default"](this.options.srcName)},createFunctionContext:function createFunctionContext(e){var t=this;var r="";var n=this.stackVars.concat(this.registers.list);if(n.length>0){r+=", "+n.join(", ")}var s=0;Object.keys(this.aliases).forEach((function(e){var n=t.aliases[e];if(n.children&&n.referenceCount>1){r+=", alias"+ ++s+"="+e;n.children[0]="alias"+s}}));if(this.lookupPropertyFunctionIsUsed){r+=", "+this.lookupPropertyFunctionVarDeclaration()}var o=["container","depth0","helpers","partials","data"];if(this.useBlockParams||this.useDepths){o.push("blockParams")}if(this.useDepths){o.push("depths")}var i=this.mergeSource(r);if(e){o.push(i);return Function.apply(this,o)}else{return this.source.wrap(["function(",o.join(","),") {\n ",i,"}"])}},mergeSource:function mergeSource(e){var t=this.environment.isSimple,r=!this.forceBuffer,n=undefined,s=undefined,o=undefined,i=undefined;this.source.each((function(e){if(e.appendToBuffer){if(o){e.prepend(" + ")}else{o=e}i=e}else{if(o){if(!s){n=true}else{o.prepend("buffer += ")}i.add(";");o=i=undefined}s=true;if(!t){r=false}}}));if(r){if(o){o.prepend("return ");i.add(";")}else if(!s){this.source.push('return "";')}}else{e+=", buffer = "+(n?"":this.initializeBuffer());if(o){o.prepend("return buffer + ");i.add(";")}else{this.source.push("return buffer;")}}if(e){this.source.prepend("var "+e.substring(2)+(n?"":";\n"))}return this.source.merge()},lookupPropertyFunctionVarDeclaration:function lookupPropertyFunctionVarDeclaration(){return"\n lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n }\n ".trim()},blockValue:function blockValue(e){var t=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs(e,0,r);var n=this.popStack();r.splice(1,0,n);this.push(this.source.functionCall(t,"call",r))},ambiguousBlockValue:function ambiguousBlockValue(){var e=this.aliasable("container.hooks.blockHelperMissing"),t=[this.contextName(0)];this.setupHelperArgs("",0,t,true);this.flushInline();var r=this.topStack();t.splice(1,0,r);this.pushSource(["if (!",this.lastHelper,") { ",r," = ",this.source.functionCall(e,"call",t),"}"])},appendContent:function appendContent(e){if(this.pendingContent){e=this.pendingContent+e}else{this.pendingLocation=this.source.currentLocation}this.pendingContent=e},append:function append(){if(this.isInline()){this.replaceStack((function(e){return[" != null ? ",e,' : ""']}));this.pushSource(this.appendToBuffer(this.popStack()))}else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,undefined,true)," }"]);if(this.environment.isSimple){this.pushSource(["else { ",this.appendToBuffer("''",undefined,true)," }"])}}},appendEscaped:function appendEscaped(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function getContext(e){this.lastContext=e},pushContext:function pushContext(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function lookupOnContext(e,t,r,n){var s=0;if(!n&&this.options.compat&&!this.lastContext){this.push(this.depthedLookup(e[s++]))}else{this.pushContext()}this.resolvePath("context",e,s,t,r)},lookupBlockParam:function lookupBlockParam(e,t){this.useBlockParams=true;this.push(["blockParams[",e[0],"][",e[1],"]"]);this.resolvePath("context",t,1)},lookupData:function lookupData(e,t,r){if(!e){this.pushStackLiteral("data")}else{this.pushStackLiteral("container.data(data, "+e+")")}this.resolvePath("data",t,0,true,r)},resolvePath:function resolvePath(e,t,r,n,s){var o=this;if(this.options.strict||this.options.assumeObjects){this.push(strictLookup(this.options.strict&&s,this,t,r,e));return}var i=t.length;for(;r<i;r++){this.replaceStack((function(s){var i=o.nameLookup(s,t[r],e);if(!n){return[" != null ? ",i," : ",s]}else{return[" && ",i]}}))}},resolvePossibleLambda:function resolvePossibleLambda(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function pushStringParam(e,t){this.pushContext();this.pushString(t);if(t!=="SubExpression"){if(typeof e==="string"){this.pushString(e)}else{this.pushStackLiteral(e)}}},emptyHash:function emptyHash(e){if(this.trackIds){this.push("{}")}if(this.stringParams){this.push("{}");this.push("{}")}this.pushStackLiteral(e?"undefined":"{}")},pushHash:function pushHash(){if(this.hash){this.hashes.push(this.hash)}this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function popHash(){var e=this.hash;this.hash=this.hashes.pop();if(this.trackIds){this.push(this.objectLiteral(e.ids))}if(this.stringParams){this.push(this.objectLiteral(e.contexts));this.push(this.objectLiteral(e.types))}this.push(this.objectLiteral(e.values))},pushString:function pushString(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function pushLiteral(e){this.pushStackLiteral(e)},pushProgram:function pushProgram(e){if(e!=null){this.pushStackLiteral(this.programExpression(e))}else{this.pushStackLiteral(null)}},registerDecorator:function registerDecorator(e,t){var r=this.nameLookup("decorators",t,"decorator"),n=this.setupHelperArgs(t,e);this.decorators.push(["fn = ",this.decorators.functionCall(r,"",["fn","props","container",n])," || fn;"])},invokeHelper:function invokeHelper(e,t,r){var n=this.popStack(),s=this.setupHelper(e,t);var o=[];if(r){o.push(s.name)}o.push(n);if(!this.options.strict){o.push(this.aliasable("container.hooks.helperMissing"))}var i=["(",this.itemsSeparatedBy(o,"||"),")"];var a=this.source.functionCall(i,"call",s.callParams);this.push(a)},itemsSeparatedBy:function itemsSeparatedBy(e,t){var r=[];r.push(e[0]);for(var n=1;n<e.length;n++){r.push(t,e[n])}return r},invokeKnownHelper:function invokeKnownHelper(e,t){var r=this.setupHelper(e,t);this.push(this.source.functionCall(r.name,"call",r.callParams))},invokeAmbiguous:function invokeAmbiguous(e,t){this.useRegister("helper");var r=this.popStack();this.emptyHash();var n=this.setupHelper(0,e,t);var s=this.lastHelper=this.nameLookup("helpers",e,"helper");var o=["(","(helper = ",s," || ",r,")"];if(!this.options.strict){o[0]="(helper = ";o.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))}this.push(["(",o,n.paramsInit?["),(",n.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",n.callParams)," : helper))"])},invokePartial:function invokePartial(e,t,r){var n=[],s=this.setupParams(t,1,n);if(e){t=this.popStack();delete s.name}if(r){s.indent=JSON.stringify(r)}s.helpers="helpers";s.partials="partials";s.decorators="container.decorators";if(!e){n.unshift(this.nameLookup("partials",t,"partial"))}else{n.unshift(t)}if(this.options.compat){s.depths="depths"}s=this.objectLiteral(s);n.push(s);this.push(this.source.functionCall("container.invokePartial","",n))},assignToHash:function assignToHash(e){var t=this.popStack(),r=undefined,n=undefined,s=undefined;if(this.trackIds){s=this.popStack()}if(this.stringParams){n=this.popStack();r=this.popStack()}var o=this.hash;if(r){o.contexts[e]=r}if(n){o.types[e]=n}if(s){o.ids[e]=s}o.values[e]=t},pushId:function pushId(e,t,r){if(e==="BlockParam"){this.pushStackLiteral("blockParams["+t[0]+"].path["+t[1]+"]"+(r?" + "+JSON.stringify("."+r):""))}else if(e==="PathExpression"){this.pushString(t)}else if(e==="SubExpression"){this.pushStackLiteral("true")}else{this.pushStackLiteral("null")}},compiler:JavaScriptCompiler,compileChildren:function compileChildren(e,t){var r=e.children,n=undefined,s=undefined;for(var o=0,i=r.length;o<i;o++){n=r[o];s=new this.compiler;var a=this.matchExistingProgram(n);if(a==null){this.context.programs.push("");var c=this.context.programs.length;n.index=c;n.name="program"+c;this.context.programs[c]=s.compile(n,t,this.context,!this.precompile);this.context.decorators[c]=s.decorators;this.context.environments[c]=n;this.useDepths=this.useDepths||s.useDepths;this.useBlockParams=this.useBlockParams||s.useBlockParams;n.useDepths=this.useDepths;n.useBlockParams=this.useBlockParams}else{n.index=a.index;n.name="program"+a.index;this.useDepths=this.useDepths||a.useDepths;this.useBlockParams=this.useBlockParams||a.useBlockParams}}},matchExistingProgram:function matchExistingProgram(e){for(var t=0,r=this.context.environments.length;t<r;t++){var n=this.context.environments[t];if(n&&n.equals(e)){return n}}},programExpression:function programExpression(e){var t=this.environment.children[e],r=[t.index,"data",t.blockParams];if(this.useBlockParams||this.useDepths){r.push("blockParams")}if(this.useDepths){r.push("depths")}return"container.program("+r.join(", ")+")"},useRegister:function useRegister(e){if(!this.registers[e]){this.registers[e]=true;this.registers.list.push(e)}},push:function push(e){if(!(e instanceof Literal)){e=this.source.wrap(e)}this.inlineStack.push(e);return e},pushStackLiteral:function pushStackLiteral(e){this.push(new Literal(e))},pushSource:function pushSource(e){if(this.pendingContent){this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation));this.pendingContent=undefined}if(e){this.source.push(e)}},replaceStack:function replaceStack(e){var t=["("],r=undefined,n=undefined,s=undefined;if(!this.isInline()){throw new o["default"]("replaceStack on non-inline")}var i=this.popStack(true);if(i instanceof Literal){r=[i.value];t=["(",r];s=true}else{n=true;var a=this.incrStack();t=["((",this.push(a)," = ",i,")"];r=this.topStack()}var c=e.call(this,r);if(!s){this.popStack()}if(n){this.stackSlot--}this.push(t.concat(c,")"))},incrStack:function incrStack(){this.stackSlot++;if(this.stackSlot>this.stackVars.length){this.stackVars.push("stack"+this.stackSlot)}return this.topStackName()},topStackName:function topStackName(){return"stack"+this.stackSlot},flushInline:function flushInline(){var e=this.inlineStack;this.inlineStack=[];for(var t=0,r=e.length;t<r;t++){var n=e[t];if(n instanceof Literal){this.compileStack.push(n)}else{var s=this.incrStack();this.pushSource([s," = ",n,";"]);this.compileStack.push(s)}}},isInline:function isInline(){return this.inlineStack.length},popStack:function popStack(e){var t=this.isInline(),r=(t?this.inlineStack:this.compileStack).pop();if(!e&&r instanceof Literal){return r.value}else{if(!t){if(!this.stackSlot){throw new o["default"]("Invalid stack pop")}this.stackSlot--}return r}},topStack:function topStack(){var e=this.isInline()?this.inlineStack:this.compileStack,t=e[e.length-1];if(t instanceof Literal){return t.value}else{return t}},contextName:function contextName(e){if(this.useDepths&&e){return"depths["+e+"]"}else{return"depth"+e}},quotedString:function quotedString(e){return this.source.quotedString(e)},objectLiteral:function objectLiteral(e){return this.source.objectLiteral(e)},aliasable:function aliasable(e){var t=this.aliases[e];if(t){t.referenceCount++;return t}t=this.aliases[e]=this.source.wrap(e);t.aliasable=true;t.referenceCount=1;return t},setupHelper:function setupHelper(e,t,r){var n=[],s=this.setupHelperArgs(t,e,n,r);var o=this.nameLookup("helpers",t,"helper"),i=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:n,paramsInit:s,name:o,callParams:[i].concat(n)}},setupParams:function setupParams(e,t,r){var n={},s=[],o=[],i=[],a=!r,c=undefined;if(a){r=[]}n.name=this.quotedString(e);n.hash=this.popStack();if(this.trackIds){n.hashIds=this.popStack()}if(this.stringParams){n.hashTypes=this.popStack();n.hashContexts=this.popStack()}var l=this.popStack(),u=this.popStack();if(u||l){n.fn=u||"container.noop";n.inverse=l||"container.noop"}var A=t;while(A--){c=this.popStack();r[A]=c;if(this.trackIds){i[A]=this.popStack()}if(this.stringParams){o[A]=this.popStack();s[A]=this.popStack()}}if(a){n.args=this.source.generateArray(r)}if(this.trackIds){n.ids=this.source.generateArray(i)}if(this.stringParams){n.types=this.source.generateArray(o);n.contexts=this.source.generateArray(s)}if(this.options.data){n.data="data"}if(this.useBlockParams){n.blockParams="blockParams"}return n},setupHelperArgs:function setupHelperArgs(e,t,r,n){var s=this.setupParams(e,t,r);s.loc=JSON.stringify(this.source.currentLocation);s=this.objectLiteral(s);if(n){this.useRegister("options");r.push("options");return["options=",s]}else if(r){r.push(s);return""}else{return s}}};(function(){var e=("break else new var"+" case finally return void"+" catch for switch while"+" continue function this with"+" default if throw"+" delete in try"+" do instanceof typeof"+" abstract enum int short"+" boolean export interface static"+" byte extends long super"+" char final native synchronized"+" class float package throws"+" const goto private transient"+" debugger implements protected volatile"+" double import public let yield await"+" null true false").split(" ");var t=JavaScriptCompiler.RESERVED_WORDS={};for(var r=0,n=e.length;r<n;r++){t[e[r]]=true}})();JavaScriptCompiler.isValidJavaScriptVariableName=function(e){return!JavaScriptCompiler.RESERVED_WORDS[e]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e)};function strictLookup(e,t,r,n,s){var o=t.popStack(),i=r.length;if(e){i--}for(;n<i;n++){o=t.nameLookup(o,r[n],s)}if(e){return[t.aliasable("container.strict"),"(",o,", ",t.quotedString(r[n]),", ",JSON.stringify(t.source.currentLocation)," )"]}else{return o}}t["default"]=JavaScriptCompiler;e.exports=t["default"]},1060:(e,t)=>{t.__esModule=true;var r=function(){var e={trace:function trace(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function anonymous(e,t,r,n,s,o,i){var a=o.length-1;switch(s){case 1:return o[a-1];break;case 2:this.$=n.prepareProgram(o[a]);break;case 3:this.$=o[a];break;case 4:this.$=o[a];break;case 5:this.$=o[a];break;case 6:this.$=o[a];break;case 7:this.$=o[a];break;case 8:this.$=o[a];break;case 9:this.$={type:"CommentStatement",value:n.stripComment(o[a]),strip:n.stripFlags(o[a],o[a]),loc:n.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:o[a],value:o[a],loc:n.locInfo(this._$)};break;case 11:this.$=n.prepareRawBlock(o[a-2],o[a-1],o[a],this._$);break;case 12:this.$={path:o[a-3],params:o[a-2],hash:o[a-1]};break;case 13:this.$=n.prepareBlock(o[a-3],o[a-2],o[a-1],o[a],false,this._$);break;case 14:this.$=n.prepareBlock(o[a-3],o[a-2],o[a-1],o[a],true,this._$);break;case 15:this.$={open:o[a-5],path:o[a-4],params:o[a-3],hash:o[a-2],blockParams:o[a-1],strip:n.stripFlags(o[a-5],o[a])};break;case 16:this.$={path:o[a-4],params:o[a-3],hash:o[a-2],blockParams:o[a-1],strip:n.stripFlags(o[a-5],o[a])};break;case 17:this.$={path:o[a-4],params:o[a-3],hash:o[a-2],blockParams:o[a-1],strip:n.stripFlags(o[a-5],o[a])};break;case 18:this.$={strip:n.stripFlags(o[a-1],o[a-1]),program:o[a]};break;case 19:var c=n.prepareBlock(o[a-2],o[a-1],o[a],o[a],false,this._$),l=n.prepareProgram([c],o[a-1].loc);l.chained=true;this.$={strip:o[a-2].strip,program:l,chain:true};break;case 20:this.$=o[a];break;case 21:this.$={path:o[a-1],strip:n.stripFlags(o[a-2],o[a])};break;case 22:this.$=n.prepareMustache(o[a-3],o[a-2],o[a-1],o[a-4],n.stripFlags(o[a-4],o[a]),this._$);break;case 23:this.$=n.prepareMustache(o[a-3],o[a-2],o[a-1],o[a-4],n.stripFlags(o[a-4],o[a]),this._$);break;case 24:this.$={type:"PartialStatement",name:o[a-3],params:o[a-2],hash:o[a-1],indent:"",strip:n.stripFlags(o[a-4],o[a]),loc:n.locInfo(this._$)};break;case 25:this.$=n.preparePartialBlock(o[a-2],o[a-1],o[a],this._$);break;case 26:this.$={path:o[a-3],params:o[a-2],hash:o[a-1],strip:n.stripFlags(o[a-4],o[a])};break;case 27:this.$=o[a];break;case 28:this.$=o[a];break;case 29:this.$={type:"SubExpression",path:o[a-3],params:o[a-2],hash:o[a-1],loc:n.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:o[a],loc:n.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:n.id(o[a-2]),value:o[a],loc:n.locInfo(this._$)};break;case 32:this.$=n.id(o[a-1]);break;case 33:this.$=o[a];break;case 34:this.$=o[a];break;case 35:this.$={type:"StringLiteral",value:o[a],original:o[a],loc:n.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(o[a]),original:Number(o[a]),loc:n.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:o[a]==="true",original:o[a]==="true",loc:n.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:undefined,value:undefined,loc:n.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:n.locInfo(this._$)};break;case 40:this.$=o[a];break;case 41:this.$=o[a];break;case 42:this.$=n.preparePath(true,o[a],this._$);break;case 43:this.$=n.preparePath(false,o[a],this._$);break;case 44:o[a-2].push({part:n.id(o[a]),original:o[a],separator:o[a-1]});this.$=o[a-2];break;case 45:this.$=[{part:n.id(o[a]),original:o[a]}];break;case 46:this.$=[];break;case 47:o[a-1].push(o[a]);break;case 48:this.$=[];break;case 49:o[a-1].push(o[a]);break;case 50:this.$=[];break;case 51:o[a-1].push(o[a]);break;case 58:this.$=[];break;case 59:o[a-1].push(o[a]);break;case 64:this.$=[];break;case 65:o[a-1].push(o[a]);break;case 70:this.$=[];break;case 71:o[a-1].push(o[a]);break;case 78:this.$=[];break;case 79:o[a-1].push(o[a]);break;case 82:this.$=[];break;case 83:o[a-1].push(o[a]);break;case 86:this.$=[];break;case 87:o[a-1].push(o[a]);break;case 90:this.$=[];break;case 91:o[a-1].push(o[a]);break;case 94:this.$=[];break;case 95:o[a-1].push(o[a]);break;case 98:this.$=[o[a]];break;case 99:o[a-1].push(o[a]);break;case 100:this.$=[o[a]];break;case 101:o[a-1].push(o[a]);break}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function parseError(e,t){throw new Error(e)},parse:function parse(e){var t=this,r=[0],n=[null],s=[],o=this.table,i="",a=0,c=0,l=0,u=2,A=1;this.lexer.setInput(e);this.lexer.yy=this.yy;this.yy.lexer=this.lexer;this.yy.parser=this;if(typeof this.lexer.yylloc=="undefined")this.lexer.yylloc={};var d=this.lexer.yylloc;s.push(d);var p=this.lexer.options&&this.lexer.options.ranges;if(typeof this.yy.parseError==="function")this.parseError=this.yy.parseError;function popStack(e){r.length=r.length-2*e;n.length=n.length-e;s.length=s.length-e}function lex(){var e;e=t.lexer.lex()||1;if(typeof e!=="number"){e=t.symbols_[e]||e}return e}var m,h,g,f,E,y,C={},I,B,b,w;while(true){g=r[r.length-1];if(this.defaultActions[g]){f=this.defaultActions[g]}else{if(m===null||typeof m=="undefined"){m=lex()}f=o[g]&&o[g][m]}if(typeof f==="undefined"||!f.length||!f[0]){var S="";if(!l){w=[];for(I in o[g])if(this.terminals_[I]&&I>2){w.push("'"+this.terminals_[I]+"'")}if(this.lexer.showPosition){S="Parse error on line "+(a+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+w.join(", ")+", got '"+(this.terminals_[m]||m)+"'"}else{S="Parse error on line "+(a+1)+": Unexpected "+(m==1?"end of input":"'"+(this.terminals_[m]||m)+"'")}this.parseError(S,{text:this.lexer.match,token:this.terminals_[m]||m,line:this.lexer.yylineno,loc:d,expected:w})}}if(f[0]instanceof Array&&f.length>1){throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+m)}switch(f[0]){case 1:r.push(m);n.push(this.lexer.yytext);s.push(this.lexer.yylloc);r.push(f[1]);m=null;if(!h){c=this.lexer.yyleng;i=this.lexer.yytext;a=this.lexer.yylineno;d=this.lexer.yylloc;if(l>0)l--}else{m=h;h=null}break;case 2:B=this.productions_[f[1]][1];C.$=n[n.length-B];C._$={first_line:s[s.length-(B||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(B||1)].first_column,last_column:s[s.length-1].last_column};if(p){C._$.range=[s[s.length-(B||1)].range[0],s[s.length-1].range[1]]}y=this.performAction.call(C,i,c,a,this.yy,f[1],n,s);if(typeof y!=="undefined"){return y}if(B){r=r.slice(0,-1*B*2);n=n.slice(0,-1*B);s=s.slice(0,-1*B)}r.push(this.productions_[f[1]][0]);n.push(C.$);s.push(C._$);b=o[r[r.length-2]][r[r.length-1]];r.push(b);break;case 3:return true}}return true}};var t=function(){var e={EOF:1,parseError:function parseError(e,t){if(this.yy.parser){this.yy.parser.parseError(e,t)}else{throw new Error(e)}},setInput:function setInput(e){this._input=e;this._more=this._less=this.done=false;this.yylineno=this.yyleng=0;this.yytext=this.matched=this.match="";this.conditionStack=["INITIAL"];this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0};if(this.options.ranges)this.yylloc.range=[0,0];this.offset=0;return this},input:function input(){var e=this._input[0];this.yytext+=e;this.yyleng++;this.offset++;this.match+=e;this.matched+=e;var t=e.match(/(?:\r\n?|\n).*/g);if(t){this.yylineno++;this.yylloc.last_line++}else{this.yylloc.last_column++}if(this.options.ranges)this.yylloc.range[1]++;this._input=this._input.slice(1);return e},unput:function unput(e){var t=e.length;var r=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input;this.yytext=this.yytext.substr(0,this.yytext.length-t-1);this.offset-=t;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1);this.matched=this.matched.substr(0,this.matched.length-1);if(r.length-1)this.yylineno-=r.length-1;var s=this.yylloc.range;this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===n.length?this.yylloc.first_column:0)+n[n.length-r.length].length-r[0].length:this.yylloc.first_column-t};if(this.options.ranges){this.yylloc.range=[s[0],s[0]+this.yyleng-t]}return this},more:function more(){this._more=true;return this},less:function less(e){this.unput(this.match.slice(e))},pastInput:function pastInput(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function upcomingInput(){var e=this.match;if(e.length<20){e+=this._input.substr(0,20-e.length)}return(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function showPosition(){var e=this.pastInput();var t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function next(){if(this.done){return this.EOF}if(!this._input)this.done=true;var e,t,r,n,s,o;if(!this._more){this.yytext="";this.match=""}var i=this._currentRules();for(var a=0;a<i.length;a++){r=this._input.match(this.rules[i[a]]);if(r&&(!t||r[0].length>t[0].length)){t=r;n=a;if(!this.options.flex)break}}if(t){o=t[0].match(/(?:\r\n?|\n).*/g);if(o)this.yylineno+=o.length;this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length};this.yytext+=t[0];this.match+=t[0];this.matches=t;this.yyleng=this.yytext.length;if(this.options.ranges){this.yylloc.range=[this.offset,this.offset+=this.yyleng]}this._more=false;this._input=this._input.slice(t[0].length);this.matched+=t[0];e=this.performAction.call(this,this.yy,this,i[n],this.conditionStack[this.conditionStack.length-1]);if(this.done&&this._input)this.done=false;if(e)return e;else return}if(this._input===""){return this.EOF}else{return this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})}},lex:function lex(){var e=this.next();if(typeof e!=="undefined"){return e}else{return this.lex()}},begin:function begin(e){this.conditionStack.push(e)},popState:function popState(){return this.conditionStack.pop()},_currentRules:function _currentRules(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function topState(){return this.conditionStack[this.conditionStack.length-2]},pushState:function begin(e){this.begin(e)}};e.options={};e.performAction=function anonymous(e,t,r,n){function strip(e,r){return t.yytext=t.yytext.substring(e,t.yyleng-r+e)}var s=n;switch(r){case 0:if(t.yytext.slice(-2)==="\\\\"){strip(0,1);this.begin("mu")}else if(t.yytext.slice(-1)==="\\"){strip(0,1);this.begin("emu")}else{this.begin("mu")}if(t.yytext)return 15;break;case 1:return 15;break;case 2:this.popState();return 15;break;case 3:this.begin("raw");return 15;break;case 4:this.popState();if(this.conditionStack[this.conditionStack.length-1]==="raw"){return 15}else{strip(5,9);return"END_RAW_BLOCK"}break;case 5:return 15;break;case 6:this.popState();return 14;break;case 7:return 65;break;case 8:return 68;break;case 9:return 19;break;case 10:this.popState();this.begin("raw");return 23;break;case 11:return 55;break;case 12:return 60;break;case 13:return 29;break;case 14:return 47;break;case 15:this.popState();return 44;break;case 16:this.popState();return 44;break;case 17:return 34;break;case 18:return 39;break;case 19:return 51;break;case 20:return 48;break;case 21:this.unput(t.yytext);this.popState();this.begin("com");break;case 22:this.popState();return 14;break;case 23:return 48;break;case 24:return 73;break;case 25:return 72;break;case 26:return 72;break;case 27:return 87;break;case 28:break;case 29:this.popState();return 54;break;case 30:this.popState();return 33;break;case 31:t.yytext=strip(1,2).replace(/\\"/g,'"');return 80;break;case 32:t.yytext=strip(1,2).replace(/\\'/g,"'");return 80;break;case 33:return 85;break;case 34:return 82;break;case 35:return 82;break;case 36:return 83;break;case 37:return 84;break;case 38:return 81;break;case 39:return 75;break;case 40:return 77;break;case 41:return 72;break;case 42:t.yytext=t.yytext.replace(/\\([\\\]])/g,"$1");return 72;break;case 43:return"INVALID";break;case 44:return 5;break}};e.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/];e.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:false},emu:{rules:[2],inclusive:false},com:{rules:[6],inclusive:false},raw:{rules:[3,4,5],inclusive:false},INITIAL:{rules:[0,1,44],inclusive:true}};return e}();e.lexer=t;function Parser(){this.yy={}}Parser.prototype=e;e.Parser=Parser;return new Parser}();t["default"]=r;e.exports=t["default"]},8043:(e,t,r)=>{t.__esModule=true;t.print=print;t.PrintVisitor=PrintVisitor;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var n=r(7749);var s=_interopRequireDefault(n);function print(e){return(new PrintVisitor).accept(e)}function PrintVisitor(){this.padding=0}PrintVisitor.prototype=new s["default"];PrintVisitor.prototype.pad=function(e){var t="";for(var r=0,n=this.padding;r<n;r++){t+=" "}t+=e+"\n";return t};PrintVisitor.prototype.Program=function(e){var t="",r=e.body,n=undefined,s=undefined;if(e.blockParams){var o="BLOCK PARAMS: [";for(n=0,s=e.blockParams.length;n<s;n++){o+=" "+e.blockParams[n]}o+=" ]";t+=this.pad(o)}for(n=0,s=r.length;n<s;n++){t+=this.accept(r[n])}this.padding--;return t};PrintVisitor.prototype.MustacheStatement=function(e){return this.pad("{{ "+this.SubExpression(e)+" }}")};PrintVisitor.prototype.Decorator=function(e){return this.pad("{{ DIRECTIVE "+this.SubExpression(e)+" }}")};PrintVisitor.prototype.BlockStatement=PrintVisitor.prototype.DecoratorBlock=function(e){var t="";t+=this.pad((e.type==="DecoratorBlock"?"DIRECTIVE ":"")+"BLOCK:");this.padding++;t+=this.pad(this.SubExpression(e));if(e.program){t+=this.pad("PROGRAM:");this.padding++;t+=this.accept(e.program);this.padding--}if(e.inverse){if(e.program){this.padding++}t+=this.pad("{{^}}");this.padding++;t+=this.accept(e.inverse);this.padding--;if(e.program){this.padding--}}this.padding--;return t};PrintVisitor.prototype.PartialStatement=function(e){var t="PARTIAL:"+e.name.original;if(e.params[0]){t+=" "+this.accept(e.params[0])}if(e.hash){t+=" "+this.accept(e.hash)}return this.pad("{{> "+t+" }}")};PrintVisitor.prototype.PartialBlockStatement=function(e){var t="PARTIAL BLOCK:"+e.name.original;if(e.params[0]){t+=" "+this.accept(e.params[0])}if(e.hash){t+=" "+this.accept(e.hash)}t+=" "+this.pad("PROGRAM:");this.padding++;t+=this.accept(e.program);this.padding--;return this.pad("{{> "+t+" }}")};PrintVisitor.prototype.ContentStatement=function(e){return this.pad("CONTENT[ '"+e.value+"' ]")};PrintVisitor.prototype.CommentStatement=function(e){return this.pad("{{! '"+e.value+"' }}")};PrintVisitor.prototype.SubExpression=function(e){var t=e.params,r=[],n=undefined;for(var s=0,o=t.length;s<o;s++){r.push(this.accept(t[s]))}t="["+r.join(", ")+"]";n=e.hash?" "+this.accept(e.hash):"";return this.accept(e.path)+" "+t+n};PrintVisitor.prototype.PathExpression=function(e){var t=e.parts.join("/");return(e.data?"@":"")+"PATH:"+t};PrintVisitor.prototype.StringLiteral=function(e){return'"'+e.value+'"'};PrintVisitor.prototype.NumberLiteral=function(e){return"NUMBER{"+e.value+"}"};PrintVisitor.prototype.BooleanLiteral=function(e){return"BOOLEAN{"+e.value+"}"};PrintVisitor.prototype.UndefinedLiteral=function(){return"UNDEFINED"};PrintVisitor.prototype.NullLiteral=function(){return"NULL"};PrintVisitor.prototype.Hash=function(e){var t=e.pairs,r=[];for(var n=0,s=t.length;n<s;n++){r.push(this.accept(t[n]))}return"HASH{"+r.join(", ")+"}"};PrintVisitor.prototype.HashPair=function(e){return e.key+"="+this.accept(e.value)}},7749:(e,t,r)=>{t.__esModule=true;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var n=r(9252);var s=_interopRequireDefault(n);function Visitor(){this.parents=[]}Visitor.prototype={constructor:Visitor,mutating:false,acceptKey:function acceptKey(e,t){var r=this.accept(e[t]);if(this.mutating){if(r&&!Visitor.prototype[r.type]){throw new s["default"]('Unexpected node type "'+r.type+'" found when accepting '+t+" on "+e.type)}e[t]=r}},acceptRequired:function acceptRequired(e,t){this.acceptKey(e,t);if(!e[t]){throw new s["default"](e.type+" requires "+t)}},acceptArray:function acceptArray(e){for(var t=0,r=e.length;t<r;t++){this.acceptKey(e,t);if(!e[t]){e.splice(t,1);t--;r--}}},accept:function accept(e){if(!e){return}if(!this[e.type]){throw new s["default"]("Unknown type: "+e.type,e)}if(this.current){this.parents.unshift(this.current)}this.current=e;var t=this[e.type](e);this.current=this.parents.shift();if(!this.mutating||t){return t}else if(t!==false){return e}},Program:function Program(e){this.acceptArray(e.body)},MustacheStatement:visitSubExpression,Decorator:visitSubExpression,BlockStatement:visitBlock,DecoratorBlock:visitBlock,PartialStatement:visitPartial,PartialBlockStatement:function PartialBlockStatement(e){visitPartial.call(this,e);this.acceptKey(e,"program")},ContentStatement:function ContentStatement(){},CommentStatement:function CommentStatement(){},SubExpression:visitSubExpression,PathExpression:function PathExpression(){},StringLiteral:function StringLiteral(){},NumberLiteral:function NumberLiteral(){},BooleanLiteral:function BooleanLiteral(){},UndefinedLiteral:function UndefinedLiteral(){},NullLiteral:function NullLiteral(){},Hash:function Hash(e){this.acceptArray(e.pairs)},HashPair:function HashPair(e){this.acceptRequired(e,"value")}};function visitSubExpression(e){this.acceptRequired(e,"path");this.acceptArray(e.params);this.acceptKey(e,"hash")}function visitBlock(e){visitSubExpression.call(this,e);this.acceptKey(e,"program");this.acceptKey(e,"inverse")}function visitPartial(e){this.acceptRequired(e,"name");this.acceptArray(e.params);this.acceptKey(e,"hash")}t["default"]=Visitor;e.exports=t["default"]},9422:(e,t,r)=>{t.__esModule=true;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var n=r(7749);var s=_interopRequireDefault(n);function WhitespaceControl(){var e=arguments.length<=0||arguments[0]===undefined?{}:arguments[0];this.options=e}WhitespaceControl.prototype=new s["default"];WhitespaceControl.prototype.Program=function(e){var t=!this.options.ignoreStandalone;var r=!this.isRootSeen;this.isRootSeen=true;var n=e.body;for(var s=0,o=n.length;s<o;s++){var i=n[s],a=this.accept(i);if(!a){continue}var c=isPrevWhitespace(n,s,r),l=isNextWhitespace(n,s,r),u=a.openStandalone&&c,A=a.closeStandalone&&l,d=a.inlineStandalone&&c&&l;if(a.close){omitRight(n,s,true)}if(a.open){omitLeft(n,s,true)}if(t&&d){omitRight(n,s);if(omitLeft(n,s)){if(i.type==="PartialStatement"){i.indent=/([ \t]+$)/.exec(n[s-1].original)[1]}}}if(t&&u){omitRight((i.program||i.inverse).body);omitLeft(n,s)}if(t&&A){omitRight(n,s);omitLeft((i.inverse||i.program).body)}}return e};WhitespaceControl.prototype.BlockStatement=WhitespaceControl.prototype.DecoratorBlock=WhitespaceControl.prototype.PartialBlockStatement=function(e){this.accept(e.program);this.accept(e.inverse);var t=e.program||e.inverse,r=e.program&&e.inverse,n=r,s=r;if(r&&r.chained){n=r.body[0].program;while(s.chained){s=s.body[s.body.length-1].program}}var o={open:e.openStrip.open,close:e.closeStrip.close,openStandalone:isNextWhitespace(t.body),closeStandalone:isPrevWhitespace((n||t).body)};if(e.openStrip.close){omitRight(t.body,null,true)}if(r){var i=e.inverseStrip;if(i.open){omitLeft(t.body,null,true)}if(i.close){omitRight(n.body,null,true)}if(e.closeStrip.open){omitLeft(s.body,null,true)}if(!this.options.ignoreStandalone&&isPrevWhitespace(t.body)&&isNextWhitespace(n.body)){omitLeft(t.body);omitRight(n.body)}}else if(e.closeStrip.open){omitLeft(t.body,null,true)}return o};WhitespaceControl.prototype.Decorator=WhitespaceControl.prototype.MustacheStatement=function(e){return e.strip};WhitespaceControl.prototype.PartialStatement=WhitespaceControl.prototype.CommentStatement=function(e){var t=e.strip||{};return{inlineStandalone:true,open:t.open,close:t.close}};function isPrevWhitespace(e,t,r){if(t===undefined){t=e.length}var n=e[t-1],s=e[t-2];if(!n){return r}if(n.type==="ContentStatement"){return(s||!r?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original)}}function isNextWhitespace(e,t,r){if(t===undefined){t=-1}var n=e[t+1],s=e[t+2];if(!n){return r}if(n.type==="ContentStatement"){return(s||!r?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original)}}function omitRight(e,t,r){var n=e[t==null?0:t+1];if(!n||n.type!=="ContentStatement"||!r&&n.rightStripped){return}var s=n.value;n.value=n.value.replace(r?/^\s+/:/^[ \t]*\r?\n?/,"");n.rightStripped=n.value!==s}function omitLeft(e,t,r){var n=e[t==null?e.length-1:t-1];if(!n||n.type!=="ContentStatement"||!r&&n.leftStripped){return}var s=n.value;n.value=n.value.replace(r?/\s+$/:/[ \t]+$/,"");n.leftStripped=n.value!==s;return n.leftStripped}t["default"]=WhitespaceControl;e.exports=t["default"]},1447:(e,t,r)=>{t.__esModule=true;t.registerDefaultDecorators=registerDefaultDecorators;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var n=r(2760);var s=_interopRequireDefault(n);function registerDefaultDecorators(e){s["default"](e)}},2760:(e,t,r)=>{t.__esModule=true;var n=r(8272);t["default"]=function(e){e.registerDecorator("inline",(function(e,t,r,s){var o=e;if(!t.partials){t.partials={};o=function(s,o){var i=r.partials;r.partials=n.extend({},i,t.partials);var a=e(s,o);r.partials=i;return a}}t.partials[s.args[0]]=s.fn;return o}))};e.exports=t["default"]},9252:(e,t)=>{t.__esModule=true;var r=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function Exception(e,t){var n=t&&t.loc,s=undefined,o=undefined,i=undefined,a=undefined;if(n){s=n.start.line;o=n.end.line;i=n.start.column;a=n.end.column;e+=" - "+s+":"+i}var c=Error.prototype.constructor.call(this,e);for(var l=0;l<r.length;l++){this[r[l]]=c[r[l]]}if(Error.captureStackTrace){Error.captureStackTrace(this,Exception)}try{if(n){this.lineNumber=s;this.endLineNumber=o;if(Object.defineProperty){Object.defineProperty(this,"column",{value:i,enumerable:true});Object.defineProperty(this,"endColumn",{value:a,enumerable:true})}else{this.column=i;this.endColumn=a}}}catch(e){}}Exception.prototype=new Error;t["default"]=Exception;e.exports=t["default"]},5248:(e,t,r)=>{t.__esModule=true;t.registerDefaultHelpers=registerDefaultHelpers;t.moveHelperToHooks=moveHelperToHooks;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var n=r(9102);var s=_interopRequireDefault(n);var o=r(3350);var i=_interopRequireDefault(o);var a=r(9786);var c=_interopRequireDefault(a);var l=r(6040);var u=_interopRequireDefault(l);var A=r(4969);var d=_interopRequireDefault(A);var p=r(3285);var m=_interopRequireDefault(p);var h=r(1691);var g=_interopRequireDefault(h);function registerDefaultHelpers(e){s["default"](e);i["default"](e);c["default"](e);u["default"](e);d["default"](e);m["default"](e);g["default"](e)}function moveHelperToHooks(e,t,r){if(e.helpers[t]){e.hooks[t]=e.helpers[t];if(!r){delete e.helpers[t]}}}},9102:(e,t,r)=>{t.__esModule=true;var n=r(8272);t["default"]=function(e){e.registerHelper("blockHelperMissing",(function(t,r){var s=r.inverse,o=r.fn;if(t===true){return o(this)}else if(t===false||t==null){return s(this)}else if(n.isArray(t)){if(t.length>0){if(r.ids){r.ids=[r.name]}return e.helpers.each(t,r)}else{return s(this)}}else{if(r.data&&r.ids){var i=n.createFrame(r.data);i.contextPath=n.appendContextPath(r.data.contextPath,r.name);r={data:i}}return o(t,r)}}))};e.exports=t["default"]},3350:(e,t,r)=>{t.__esModule=true;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var n=r(8272);var s=r(9252);var o=_interopRequireDefault(s);t["default"]=function(e){e.registerHelper("each",(function(e,t){if(!t){throw new o["default"]("Must pass iterator to #each")}var r=t.fn,s=t.inverse,i=0,a="",c=undefined,l=undefined;if(t.data&&t.ids){l=n.appendContextPath(t.data.contextPath,t.ids[0])+"."}if(n.isFunction(e)){e=e.call(this)}if(t.data){c=n.createFrame(t.data)}function execIteration(t,s,o){if(c){c.key=t;c.index=s;c.first=s===0;c.last=!!o;if(l){c.contextPath=l+t}}a=a+r(e[t],{data:c,blockParams:n.blockParams([e[t],t],[l+t,null])})}if(e&&typeof e==="object"){if(n.isArray(e)){for(var u=e.length;i<u;i++){if(i in e){execIteration(i,i,i===e.length-1)}}}else if(typeof Symbol==="function"&&e[Symbol.iterator]){var A=[];var d=e[Symbol.iterator]();for(var p=d.next();!p.done;p=d.next()){A.push(p.value)}e=A;for(var u=e.length;i<u;i++){execIteration(i,i,i===e.length-1)}}else{(function(){var t=undefined;Object.keys(e).forEach((function(e){if(t!==undefined){execIteration(t,i-1)}t=e;i++}));if(t!==undefined){execIteration(t,i-1,true)}})()}}if(i===0){a=s(this)}return a}))};e.exports=t["default"]},9786:(e,t,r)=>{t.__esModule=true;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var n=r(9252);var s=_interopRequireDefault(n);t["default"]=function(e){e.registerHelper("helperMissing",(function(){if(arguments.length===1){return undefined}else{throw new s["default"]('Missing helper: "'+arguments[arguments.length-1].name+'"')}}))};e.exports=t["default"]},6040:(e,t,r)=>{t.__esModule=true;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var n=r(8272);var s=r(9252);var o=_interopRequireDefault(s);t["default"]=function(e){e.registerHelper("if",(function(e,t){if(arguments.length!=2){throw new o["default"]("#if requires exactly one argument")}if(n.isFunction(e)){e=e.call(this)}if(!t.hash.includeZero&&!e||n.isEmpty(e)){return t.inverse(this)}else{return t.fn(this)}}));e.registerHelper("unless",(function(t,r){if(arguments.length!=2){throw new o["default"]("#unless requires exactly one argument")}return e.helpers["if"].call(this,t,{fn:r.inverse,inverse:r.fn,hash:r.hash})}))};e.exports=t["default"]},4969:(e,t)=>{t.__esModule=true;t["default"]=function(e){e.registerHelper("log",(function(){var t=[undefined],r=arguments[arguments.length-1];for(var n=0;n<arguments.length-1;n++){t.push(arguments[n])}var s=1;if(r.hash.level!=null){s=r.hash.level}else if(r.data&&r.data.level!=null){s=r.data.level}t[0]=s;e.log.apply(e,t)}))};e.exports=t["default"]},3285:(e,t)=>{t.__esModule=true;t["default"]=function(e){e.registerHelper("lookup",(function(e,t,r){if(!e){return e}return r.lookupProperty(e,t)}))};e.exports=t["default"]},1691:(e,t,r)=>{t.__esModule=true;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var n=r(8272);var s=r(9252);var o=_interopRequireDefault(s);t["default"]=function(e){e.registerHelper("with",(function(e,t){if(arguments.length!=2){throw new o["default"]("#with requires exactly one argument")}if(n.isFunction(e)){e=e.call(this)}var r=t.fn;if(!n.isEmpty(e)){var s=t.data;if(t.data&&t.ids){s=n.createFrame(t.data);s.contextPath=n.appendContextPath(t.data.contextPath,t.ids[0])}return r(e,{data:s,blockParams:n.blockParams([e],[s&&s.contextPath])})}else{return t.inverse(this)}}))};e.exports=t["default"]},1939:(e,t,r)=>{t.__esModule=true;t.createNewLookupObject=createNewLookupObject;var n=r(8272);function createNewLookupObject(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++){t[r]=arguments[r]}return n.extend.apply(undefined,[Object.create(null)].concat(t))}},4784:(e,t,r)=>{t.__esModule=true;t.createProtoAccessControl=createProtoAccessControl;t.resultIsAllowed=resultIsAllowed;t.resetLoggedProperties=resetLoggedProperties;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var n=r(1939);var s=r(8525);var o=_interopRequireDefault(s);var i=Object.create(null);function createProtoAccessControl(e){var t=Object.create(null);t["constructor"]=false;t["__defineGetter__"]=false;t["__defineSetter__"]=false;t["__lookupGetter__"]=false;var r=Object.create(null);r["__proto__"]=false;return{properties:{whitelist:n.createNewLookupObject(r,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:n.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}}function resultIsAllowed(e,t,r){if(typeof e==="function"){return checkWhiteList(t.methods,r)}else{return checkWhiteList(t.properties,r)}}function checkWhiteList(e,t){if(e.whitelist[t]!==undefined){return e.whitelist[t]===true}if(e.defaultValue!==undefined){return e.defaultValue}logUnexpecedPropertyAccessOnce(t);return false}function logUnexpecedPropertyAccessOnce(e){if(i[e]!==true){i[e]=true;o["default"].log("error",'Handlebars: Access has been denied to resolve the property "'+e+'" because it is not an "own property" of its parent.\n'+"You can add a runtime option to disable the check or this warning:\n"+"See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details")}}function resetLoggedProperties(){Object.keys(i).forEach((function(e){delete i[e]}))}},1975:(e,t)=>{t.__esModule=true;t.wrapHelper=wrapHelper;function wrapHelper(e,t){if(typeof e!=="function"){return e}var r=function wrapper(){var r=arguments[arguments.length-1];arguments[arguments.length-1]=t(r);return e.apply(this,arguments)};return r}},8525:(e,t,r)=>{t.__esModule=true;var n=r(8272);var s={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function lookupLevel(e){if(typeof e==="string"){var t=n.indexOf(s.methodMap,e.toLowerCase());if(t>=0){e=t}else{e=parseInt(e,10)}}return e},log:function log(e){e=s.lookupLevel(e);if(typeof console!=="undefined"&&s.lookupLevel(s.level)<=e){var t=s.methodMap[e];if(!console[t]){t="log"}for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++){n[o-1]=arguments[o]}console[t].apply(console,n)}}};t["default"]=s;e.exports=t["default"]},9309:(e,t)=>{t.__esModule=true;t["default"]=function(e){(function(){if(typeof globalThis==="object")return;Object.prototype.__defineGetter__("__magic__",(function(){return this}));__magic__.globalThis=__magic__;delete Object.prototype.__magic__})();var t=globalThis.Handlebars;e.noConflict=function(){if(globalThis.Handlebars===e){globalThis.Handlebars=t}return e}};e.exports=t["default"]},3569:(e,t,r)=>{t.__esModule=true;t.checkRevision=checkRevision;t.template=template;t.wrapProgram=wrapProgram;t.resolvePartial=resolvePartial;t.invokePartial=invokePartial;t.noop=noop;function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}}t["default"]=e;return t}}var n=r(8272);var s=_interopRequireWildcard(n);var o=r(9252);var i=_interopRequireDefault(o);var a=r(7280);var c=r(5248);var l=r(1975);var u=r(4784);function checkRevision(e){var t=e&&e[0]||1,r=a.COMPILER_REVISION;if(t>=a.LAST_COMPATIBLE_COMPILER_REVISION&&t<=a.COMPILER_REVISION){return}if(t<a.LAST_COMPATIBLE_COMPILER_REVISION){var n=a.REVISION_CHANGES[r],s=a.REVISION_CHANGES[t];throw new i["default"]("Template was precompiled with an older version of Handlebars than the current runtime. "+"Please update your precompiler to a newer version ("+n+") or downgrade your runtime to an older version ("+s+").")}else{throw new i["default"]("Template was precompiled with a newer version of Handlebars than the current runtime. "+"Please update your runtime to a newer version ("+e[1]+").")}}function template(e,t){if(!t){throw new i["default"]("No environment passed to template")}if(!e||!e.main){throw new i["default"]("Unknown template object: "+typeof e)}e.main.decorator=e.main_d;t.VM.checkRevision(e.compiler);var r=e.compiler&&e.compiler[0]===7;function invokePartialWrapper(r,n,o){if(o.hash){n=s.extend({},n,o.hash);if(o.ids){o.ids[0]=true}}r=t.VM.resolvePartial.call(this,r,n,o);var a=s.extend({},o,{hooks:this.hooks,protoAccessControl:this.protoAccessControl});var c=t.VM.invokePartial.call(this,r,n,a);if(c==null&&t.compile){o.partials[o.name]=t.compile(r,e.compilerOptions,t);c=o.partials[o.name](n,a)}if(c!=null){if(o.indent){var l=c.split("\n");for(var u=0,A=l.length;u<A;u++){if(!l[u]&&u+1===A){break}l[u]=o.indent+l[u]}c=l.join("\n")}return c}else{throw new i["default"]("The partial "+o.name+" could not be compiled when running in runtime-only mode")}}var n={strict:function strict(e,t,r){if(!e||!(t in e)){throw new i["default"]('"'+t+'" not defined in '+e,{loc:r})}return n.lookupProperty(e,t)},lookupProperty:function lookupProperty(e,t){var r=e[t];if(r==null){return r}if(Object.prototype.hasOwnProperty.call(e,t)){return r}if(u.resultIsAllowed(r,n.protoAccessControl,t)){return r}return undefined},lookup:function lookup(e,t){var r=e.length;for(var s=0;s<r;s++){var o=e[s]&&n.lookupProperty(e[s],t);if(o!=null){return e[s][t]}}},lambda:function lambda(e,t){return typeof e==="function"?e.call(t):e},escapeExpression:s.escapeExpression,invokePartial:invokePartialWrapper,fn:function fn(t){var r=e[t];r.decorator=e[t+"_d"];return r},programs:[],program:function program(e,t,r,n,s){var o=this.programs[e],i=this.fn(e);if(t||s||n||r){o=wrapProgram(this,e,i,t,r,n,s)}else if(!o){o=this.programs[e]=wrapProgram(this,e,i)}return o},data:function data(e,t){while(e&&t--){e=e._parent}return e},mergeIfNeeded:function mergeIfNeeded(e,t){var r=e||t;if(e&&t&&e!==t){r=s.extend({},t,e)}return r},nullContext:Object.seal({}),noop:t.VM.noop,compilerInfo:e.compiler};function ret(t){var r=arguments.length<=1||arguments[1]===undefined?{}:arguments[1];var s=r.data;ret._setup(r);if(!r.partial&&e.useData){s=initData(t,s)}var o=undefined,i=e.useBlockParams?[]:undefined;if(e.useDepths){if(r.depths){o=t!=r.depths[0]?[t].concat(r.depths):r.depths}else{o=[t]}}function main(t){return""+e.main(n,t,n.helpers,n.partials,s,i,o)}main=executeDecorators(e.main,main,n,r.depths||[],s,i);return main(t,r)}ret.isTop=true;ret._setup=function(o){if(!o.partial){var i=s.extend({},t.helpers,o.helpers);wrapHelpersToPassLookupProperty(i,n);n.helpers=i;if(e.usePartial){n.partials=n.mergeIfNeeded(o.partials,t.partials)}if(e.usePartial||e.useDecorators){n.decorators=s.extend({},t.decorators,o.decorators)}n.hooks={};n.protoAccessControl=u.createProtoAccessControl(o);var a=o.allowCallsToHelperMissing||r;c.moveHelperToHooks(n,"helperMissing",a);c.moveHelperToHooks(n,"blockHelperMissing",a)}else{n.protoAccessControl=o.protoAccessControl;n.helpers=o.helpers;n.partials=o.partials;n.decorators=o.decorators;n.hooks=o.hooks}};ret._child=function(t,r,s,o){if(e.useBlockParams&&!s){throw new i["default"]("must pass block params")}if(e.useDepths&&!o){throw new i["default"]("must pass parent depths")}return wrapProgram(n,t,e[t],r,0,s,o)};return ret}function wrapProgram(e,t,r,n,s,o,i){function prog(t){var s=arguments.length<=1||arguments[1]===undefined?{}:arguments[1];var a=i;if(i&&t!=i[0]&&!(t===e.nullContext&&i[0]===null)){a=[t].concat(i)}return r(e,t,e.helpers,e.partials,s.data||n,o&&[s.blockParams].concat(o),a)}prog=executeDecorators(r,prog,e,i,n,o);prog.program=t;prog.depth=i?i.length:0;prog.blockParams=s||0;return prog}function resolvePartial(e,t,r){if(!e){if(r.name==="@partial-block"){e=r.data["partial-block"]}else{e=r.partials[r.name]}}else if(!e.call&&!r.name){r.name=e;e=r.partials[e]}return e}function invokePartial(e,t,r){var n=r.data&&r.data["partial-block"];r.partial=true;if(r.ids){r.data.contextPath=r.ids[0]||r.data.contextPath}var o=undefined;if(r.fn&&r.fn!==noop){(function(){r.data=a.createFrame(r.data);var e=r.fn;o=r.data["partial-block"]=function partialBlockWrapper(t){var r=arguments.length<=1||arguments[1]===undefined?{}:arguments[1];r.data=a.createFrame(r.data);r.data["partial-block"]=n;return e(t,r)};if(e.partials){r.partials=s.extend({},r.partials,e.partials)}})()}if(e===undefined&&o){e=o}if(e===undefined){throw new i["default"]("The partial "+r.name+" could not be found")}else if(e instanceof Function){return e(t,r)}}function noop(){return""}function initData(e,t){if(!t||!("root"in t)){t=t?a.createFrame(t):{};t.root=e}return t}function executeDecorators(e,t,r,n,o,i){if(e.decorator){var a={};t=e.decorator(t,a,r,n&&n[0],o,i,n);s.extend(t,a)}return t}function wrapHelpersToPassLookupProperty(e,t){Object.keys(e).forEach((function(r){var n=e[r];e[r]=passLookupPropertyOption(n,t)}))}function passLookupPropertyOption(e,t){var r=t.lookupProperty;return l.wrapHelper(e,(function(e){return s.extend({lookupProperty:r},e)}))}},7544:(e,t)=>{t.__esModule=true;function SafeString(e){this.string=e}SafeString.prototype.toString=SafeString.prototype.toHTML=function(){return""+this.string};t["default"]=SafeString;e.exports=t["default"]},8272:(e,t)=>{t.__esModule=true;t.extend=extend;t.indexOf=indexOf;t.escapeExpression=escapeExpression;t.isEmpty=isEmpty;t.createFrame=createFrame;t.blockParams=blockParams;t.appendContextPath=appendContextPath;var r={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"};var n=/[&<>"'`=]/g,s=/[&<>"'`=]/;function escapeChar(e){return r[e]}function extend(e){for(var t=1;t<arguments.length;t++){for(var r in arguments[t]){if(Object.prototype.hasOwnProperty.call(arguments[t],r)){e[r]=arguments[t][r]}}}return e}var o=Object.prototype.toString;t.toString=o;var i=function isFunction(e){return typeof e==="function"};if(i(/x/)){t.isFunction=i=function(e){return typeof e==="function"&&o.call(e)==="[object Function]"}}t.isFunction=i;var a=Array.isArray||function(e){return e&&typeof e==="object"?o.call(e)==="[object Array]":false};t.isArray=a;function indexOf(e,t){for(var r=0,n=e.length;r<n;r++){if(e[r]===t){return r}}return-1}function escapeExpression(e){if(typeof e!=="string"){if(e&&e.toHTML){return e.toHTML()}else if(e==null){return""}else if(!e){return e+""}e=""+e}if(!s.test(e)){return e}return e.replace(n,escapeChar)}function isEmpty(e){if(!e&&e!==0){return true}else if(a(e)&&e.length===0){return true}else{return false}}function createFrame(e){var t=extend({},e);t._parent=e;return t}function blockParams(e,t){e.path=t;return e}function appendContextPath(e,t){return(e?e+".":"")+t}},8508:(t,r,n)=>{var s=n(2150)["default"];var o=n(8043);s.PrintVisitor=o.PrintVisitor;s.print=o.print;t.exports=s;function extension(e,t){var r=n(9896);var o=r.readFileSync(t,"utf8");e.exports=s.compile(o)}if(true&&e(import.meta.url).extensions){e(import.meta.url).extensions[".handlebars"]=extension;e(import.meta.url).extensions[".hbs"]=extension}},3813:e=>{e.exports=(e,t=process.argv)=>{const r=e.startsWith("-")?"":e.length===1?"-":"--";const n=t.indexOf(r+e);const s=t.indexOf("--");return n!==-1&&(s===-1||n<s)}},1970:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.HttpProxyAgent=void 0;const a=o(r(9278));const c=o(r(4756));const l=i(r(2830));const u=r(4434);const A=r(8894);const d=r(7016);const p=(0,l.default)("http-proxy-agent");class HttpProxyAgent extends A.Agent{constructor(e,t){super(t);this.proxy=typeof e==="string"?new d.URL(e):e;this.proxyHeaders=t?.headers??{};p("Creating new HttpProxyAgent instance: %o",this.proxy.href);const r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,"");const n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...t?omit(t,"headers"):null,host:r,port:n}}addRequest(e,t){e._header=null;this.setRequestProps(e,t);super.addRequest(e,t)}setRequestProps(e,t){const{proxy:r}=this;const n=t.secureEndpoint?"https:":"http:";const s=e.getHeader("host")||"localhost";const o=`${n}//${s}`;const i=new d.URL(e.path,o);if(t.port!==80){i.port=String(t.port)}e.path=String(i);const a=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders};if(r.username||r.password){const e=`${decodeURIComponent(r.username)}:${decodeURIComponent(r.password)}`;a["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}if(!a["Proxy-Connection"]){a["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"}for(const t of Object.keys(a)){const r=a[t];if(r){e.setHeader(t,r)}}}async connect(e,t){e._header=null;if(!e.path.includes("://")){this.setRequestProps(e,t)}let r;let n;p("Regenerating stored HTTP header string for request");e._implicitHeader();if(e.outputData&&e.outputData.length>0){p("Patching connection write() output buffer with updated header");r=e.outputData[0].data;n=r.indexOf("\r\n\r\n")+4;e.outputData[0].data=e._header+r.substring(n);p("Output buffer: %o",e.outputData[0].data)}let s;if(this.proxy.protocol==="https:"){p("Creating `tls.Socket`: %o",this.connectOpts);s=c.connect(this.connectOpts)}else{p("Creating `net.Socket`: %o",this.connectOpts);s=a.connect(this.connectOpts)}await(0,u.once)(s,"connect");return s}}HttpProxyAgent.protocols=["http","https"];t.HttpProxyAgent=HttpProxyAgent;function omit(e,...t){const r={};let n;for(n in e){if(!t.includes(n)){r[n]=e[n]}}return r}},3669:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;var s=Object.getOwnPropertyDescriptor(t,r);if(!s||("get"in s?!t.__esModule:s.writable||s.configurable)){s={enumerable:true,get:function(){return t[r]}}}Object.defineProperty(e,n,s)}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))n(t,e,r);s(t,e);return t};var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.HttpsProxyAgent=void 0;const a=o(r(9278));const c=o(r(4756));const l=i(r(2613));const u=i(r(2830));const A=r(8894);const d=r(7016);const p=r(7943);const m=(0,u.default)("https-proxy-agent");class HttpsProxyAgent extends A.Agent{constructor(e,t){super(t);this.options={path:undefined};this.proxy=typeof e==="string"?new d.URL(e):e;this.proxyHeaders=t?.headers??{};m("Creating new HttpsProxyAgent instance: %o",this.proxy.href);const r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,"");const n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...t?omit(t,"headers"):null,host:r,port:n}}async connect(e,t){const{proxy:r}=this;if(!t.host){throw new TypeError('No "host" provided')}let n;if(r.protocol==="https:"){m("Creating `tls.Socket`: %o",this.connectOpts);const e=this.connectOpts.servername||this.connectOpts.host;n=c.connect({...this.connectOpts,servername:e&&a.isIP(e)?undefined:e})}else{m("Creating `net.Socket`: %o",this.connectOpts);n=a.connect(this.connectOpts)}const s=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders};const o=a.isIPv6(t.host)?`[${t.host}]`:t.host;let i=`CONNECT ${o}:${t.port} HTTP/1.1\r\n`;if(r.username||r.password){const e=`${decodeURIComponent(r.username)}:${decodeURIComponent(r.password)}`;s["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}s.Host=`${o}:${t.port}`;if(!s["Proxy-Connection"]){s["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"}for(const e of Object.keys(s)){i+=`${e}: ${s[e]}\r\n`}const u=(0,p.parseProxyResponse)(n);n.write(`${i}\r\n`);const{connect:A,buffered:d}=await u;e.emit("proxyConnect",A);this.emit("proxyConnect",A,e);if(A.statusCode===200){e.once("socket",resume);if(t.secureEndpoint){m("Upgrading socket connection to TLS");const e=t.servername||t.host;return c.connect({...omit(t,"host","path","port"),socket:n,servername:a.isIP(e)?undefined:e})}return n}n.destroy();const h=new a.Socket({writable:false});h.readable=true;e.once("socket",(e=>{m("Replaying proxy buffer for failed request");(0,l.default)(e.listenerCount("data")>0);e.push(d);e.push(null)}));return h}}HttpsProxyAgent.protocols=["http","https"];t.HttpsProxyAgent=HttpsProxyAgent;function resume(e){e.resume()}function omit(e,...t){const r={};let n;for(n in e){if(!t.includes(n)){r[n]=e[n]}}return r}},7943:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.parseProxyResponse=void 0;const s=n(r(2830));const o=(0,s.default)("https-proxy-agent:parse-proxy-response");function parseProxyResponse(e){return new Promise(((t,r)=>{let n=0;const s=[];function read(){const t=e.read();if(t)ondata(t);else e.once("readable",read)}function cleanup(){e.removeListener("end",onend);e.removeListener("error",onerror);e.removeListener("readable",read)}function onend(){cleanup();o("onend");r(new Error("Proxy connection ended before receiving CONNECT response"))}function onerror(e){cleanup();o("onerror %o",e);r(e)}function ondata(i){s.push(i);n+=i.length;const a=Buffer.concat(s,n);const c=a.indexOf("\r\n\r\n");if(c===-1){o("have not received end of HTTP headers yet...");read();return}const l=a.slice(0,c).toString("ascii").split("\r\n");const u=l.shift();if(!u){e.destroy();return r(new Error("No header received from proxy CONNECT response"))}const A=u.split(" ");const d=+A[1];const p=A.slice(2).join(" ");const m={};for(const t of l){if(!t)continue;const n=t.indexOf(":");if(n===-1){e.destroy();return r(new Error(`Invalid header from proxy CONNECT response: "${t}"`))}const s=t.slice(0,n).toLowerCase();const o=t.slice(n+1).trimStart();const i=m[s];if(typeof i==="string"){m[s]=[i,o]}else if(Array.isArray(i)){i.push(o)}else{m[s]=o}}o("got proxy server response: %o %o",u,m);cleanup();t({connect:{statusCode:d,statusText:p,headers:m},buffered:a})}e.on("error",onerror);e.on("end",onend);read()}))}t.parseProxyResponse=parseProxyResponse},3772:(e,t,r)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var n=function(){try{return r(6928)}catch(e){}}()||{sep:"/"};minimatch.sep=n.sep;var s=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var o=r(3783);var i={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var a="[^/]";var c=a+"*?";var l="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var u="(?:(?!(?:\\/|^)\\.).)*?";var A=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce((function(e,t){e[t]=true;return e}),{})}var d=/\/+/;minimatch.filter=filter;function filter(e,t){t=t||{};return function(r,n,s){return minimatch(r,e,t)}}function ext(e,t){t=t||{};var r={};Object.keys(e).forEach((function(t){r[t]=e[t]}));Object.keys(t).forEach((function(e){r[e]=t[e]}));return r}minimatch.defaults=function(e){if(!e||typeof e!=="object"||!Object.keys(e).length){return minimatch}var t=minimatch;var r=function minimatch(r,n,s){return t(r,n,ext(e,s))};r.Minimatch=function Minimatch(r,n){return new t.Minimatch(r,ext(e,n))};r.Minimatch.defaults=function defaults(r){return t.defaults(ext(e,r)).Minimatch};r.filter=function filter(r,n){return t.filter(r,ext(e,n))};r.defaults=function defaults(r){return t.defaults(ext(e,r))};r.makeRe=function makeRe(r,n){return t.makeRe(r,ext(e,n))};r.braceExpand=function braceExpand(r,n){return t.braceExpand(r,ext(e,n))};r.match=function(r,n,s){return t.match(r,n,ext(e,s))};return r};Minimatch.defaults=function(e){return minimatch.defaults(e).Minimatch};function minimatch(e,t,r){assertValidPattern(t);if(!r)r={};if(!r.nocomment&&t.charAt(0)==="#"){return false}return new Minimatch(t,r).match(e)}function Minimatch(e,t){if(!(this instanceof Minimatch)){return new Minimatch(e,t)}assertValidPattern(e);if(!t)t={};e=e.trim();if(!t.allowWindowsEscape&&n.sep!=="/"){e=e.split(n.sep).join("/")}this.options=t;this.set=[];this.pattern=e;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!t.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var e=this.pattern;var t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=true;return}if(!e){this.empty=true;return}this.parseNegate();var r=this.globSet=this.braceExpand();if(t.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,r);r=this.globParts=r.map((function(e){return e.split(d)}));this.debug(this.pattern,r);r=r.map((function(e,t,r){return e.map(this.parse,this)}),this);this.debug(this.pattern,r);r=r.filter((function(e){return e.indexOf(false)===-1}));this.debug(this.pattern,r);this.set=r}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var e=this.pattern;var t=false;var r=this.options;var n=0;if(r.nonegate)return;for(var s=0,o=e.length;s<o&&e.charAt(s)==="!";s++){t=!t;n++}if(n)this.pattern=e.substr(n);this.negate=t}minimatch.braceExpand=function(e,t){return braceExpand(e,t)};Minimatch.prototype.braceExpand=braceExpand;function braceExpand(e,t){if(!t){if(this instanceof Minimatch){t=this.options}else{t={}}}e=typeof e==="undefined"?this.pattern:e;assertValidPattern(e);if(t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)){return[e]}return o(e)}var p=1024*64;var assertValidPattern=function(e){if(typeof e!=="string"){throw new TypeError("invalid pattern")}if(e.length>p){throw new TypeError("pattern is too long")}};Minimatch.prototype.parse=parse;var m={};function parse(e,t){assertValidPattern(e);var r=this.options;if(e==="**"){if(!r.noglobstar)return s;else e="*"}if(e==="")return"";var n="";var o=!!r.nocase;var l=false;var u=[];var d=[];var p;var h=false;var g=-1;var f=-1;var E=e.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var y=this;function clearStateChar(){if(p){switch(p){case"*":n+=c;o=true;break;case"?":n+=a;o=true;break;default:n+="\\"+p;break}y.debug("clearStateChar %j %j",p,n);p=false}}for(var C=0,I=e.length,B;C<I&&(B=e.charAt(C));C++){this.debug("%s\t%s %s %j",e,C,n,B);if(l&&A[B]){n+="\\"+B;l=false;continue}switch(B){case"/":{return false}case"\\":clearStateChar();l=true;continue;case"?":case"*":case"+":case"@":case"!":this.debug("%s\t%s %s %j <-- stateChar",e,C,n,B);if(h){this.debug(" in class");if(B==="!"&&C===f+1)B="^";n+=B;continue}y.debug("call clearStateChar %j",p);clearStateChar();p=B;if(r.noext)clearStateChar();continue;case"(":if(h){n+="(";continue}if(!p){n+="\\(";continue}u.push({type:p,start:C-1,reStart:n.length,open:i[p].open,close:i[p].close});n+=p==="!"?"(?:(?!(?:":"(?:";this.debug("plType %j %j",p,n);p=false;continue;case")":if(h||!u.length){n+="\\)";continue}clearStateChar();o=true;var b=u.pop();n+=b.close;if(b.type==="!"){d.push(b)}b.reEnd=n.length;continue;case"|":if(h||!u.length||l){n+="\\|";l=false;continue}clearStateChar();n+="|";continue;case"[":clearStateChar();if(h){n+="\\"+B;continue}h=true;f=C;g=n.length;n+=B;continue;case"]":if(C===f+1||!h){n+="\\"+B;l=false;continue}var w=e.substring(f+1,C);try{RegExp("["+w+"]")}catch(e){var S=this.parse(w,m);n=n.substr(0,g)+"\\["+S[0]+"\\]";o=o||S[1];h=false;continue}o=true;h=false;n+=B;continue;default:clearStateChar();if(l){l=false}else if(A[B]&&!(B==="^"&&h)){n+="\\"}n+=B}}if(h){w=e.substr(f+1);S=this.parse(w,m);n=n.substr(0,g)+"\\["+S[0];o=o||S[1]}for(b=u.pop();b;b=u.pop()){var Q=n.slice(b.reStart+b.open.length);this.debug("setting tail",n,b);Q=Q.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,r){if(!r){r="\\"}return t+t+r+"|"}));this.debug("tail=%j\n %s",Q,Q,b,n);var N=b.type==="*"?c:b.type==="?"?a:"\\"+b.type;o=true;n=n.slice(0,b.reStart)+N+"\\("+Q}clearStateChar();if(l){n+="\\\\"}var R=false;switch(n.charAt(0)){case"[":case".":case"(":R=true}for(var v=d.length-1;v>-1;v--){var x=d[v];var T=n.slice(0,x.reStart);var k=n.slice(x.reStart,x.reEnd-8);var D=n.slice(x.reEnd-8,x.reEnd);var _=n.slice(x.reEnd);D+=_;var P=T.split("(").length-1;var L=_;for(C=0;C<P;C++){L=L.replace(/\)[+*?]?/,"")}_=L;var M="";if(_===""&&t!==m){M="$"}var O=T+k+_+M+D;n=O}if(n!==""&&o){n="(?=.)"+n}if(R){n=E+n}if(t===m){return[n,o]}if(!o){return globUnescape(e)}var F=r.nocase?"i":"";try{var U=new RegExp("^"+n+"$",F)}catch(e){return new RegExp("$.")}U._glob=e;U._src=n;return U}minimatch.makeRe=function(e,t){return new Minimatch(e,t||{}).makeRe()};Minimatch.prototype.makeRe=makeRe;function makeRe(){if(this.regexp||this.regexp===false)return this.regexp;var e=this.set;if(!e.length){this.regexp=false;return this.regexp}var t=this.options;var r=t.noglobstar?c:t.dot?l:u;var n=t.nocase?"i":"";var o=e.map((function(e){return e.map((function(e){return e===s?r:typeof e==="string"?regExpEscape(e):e._src})).join("\\/")})).join("|");o="^(?:"+o+")$";if(this.negate)o="^(?!"+o+").*$";try{this.regexp=new RegExp(o,n)}catch(e){this.regexp=false}return this.regexp}minimatch.match=function(e,t,r){r=r||{};var n=new Minimatch(t,r);e=e.filter((function(e){return n.match(e)}));if(n.options.nonull&&!e.length){e.push(t)}return e};Minimatch.prototype.match=function match(e,t){if(typeof t==="undefined")t=this.partial;this.debug("match",e,this.pattern);if(this.comment)return false;if(this.empty)return e==="";if(e==="/"&&t)return true;var r=this.options;if(n.sep!=="/"){e=e.split(n.sep).join("/")}e=e.split(d);this.debug(this.pattern,"split",e);var s=this.set;this.debug(this.pattern,"set",s);var o;var i;for(i=e.length-1;i>=0;i--){o=e[i];if(o)break}for(i=0;i<s.length;i++){var a=s[i];var c=e;if(r.matchBase&&a.length===1){c=[o]}var l=this.matchOne(c,a,t);if(l){if(r.flipNegate)return true;return!this.negate}}if(r.flipNegate)return false;return this.negate};Minimatch.prototype.matchOne=function(e,t,r){var n=this.options;this.debug("matchOne",{this:this,file:e,pattern:t});this.debug("matchOne",e.length,t.length);for(var o=0,i=0,a=e.length,c=t.length;o<a&&i<c;o++,i++){this.debug("matchOne loop");var l=t[i];var u=e[o];this.debug(t,l,u);if(l===false)return false;if(l===s){this.debug("GLOBSTAR",[t,l,u]);var A=o;var d=i+1;if(d===c){this.debug("** at the end");for(;o<a;o++){if(e[o]==="."||e[o]===".."||!n.dot&&e[o].charAt(0)===".")return false}return true}while(A<a){var p=e[A];this.debug("\nglobstar while",e,A,t,d,p);if(this.matchOne(e.slice(A),t.slice(d),r)){this.debug("globstar found match!",A,a,p);return true}else{if(p==="."||p===".."||!n.dot&&p.charAt(0)==="."){this.debug("dot detected!",e,A,t,d);break}this.debug("globstar swallow a segment, and continue");A++}}if(r){this.debug("\n>>> no match, partial?",e,A,t,d);if(A===a)return true}return false}var m;if(typeof l==="string"){m=u===l;this.debug("string match",l,u,m)}else{m=u.match(l);this.debug("pattern match",l,u,m)}if(!m)return false}if(o===a&&i===c){return true}else if(o===a){return r}else if(i===c){return o===a-1&&e[o]===""}throw new Error("wtf?")};function globUnescape(e){return e.replace(/\\(.)/g,"$1")}function regExpEscape(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},3783:(e,t,r)=>{var n=r(7087);var s=r(9380);e.exports=expandTop;var o="\0SLASH"+Math.random()+"\0";var i="\0OPEN"+Math.random()+"\0";var a="\0CLOSE"+Math.random()+"\0";var c="\0COMMA"+Math.random()+"\0";var l="\0PERIOD"+Math.random()+"\0";function numeric(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function escapeBraces(e){return e.split("\\\\").join(o).split("\\{").join(i).split("\\}").join(a).split("\\,").join(c).split("\\.").join(l)}function unescapeBraces(e){return e.split(o).join("\\").split(i).join("{").split(a).join("}").split(c).join(",").split(l).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[];var r=s("{","}",e);if(!r)return e.split(",");var n=r.pre;var o=r.body;var i=r.post;var a=n.split(",");a[a.length-1]+="{"+o+"}";var c=parseCommaParts(i);if(i.length){a[a.length-1]+=c.shift();a.push.apply(a,c)}t.push.apply(t,a);return t}function expandTop(e){if(!e)return[];if(e.substr(0,2)==="{}"){e="\\{\\}"+e.substr(2)}return expand(escapeBraces(e),true).map(unescapeBraces)}function identity(e){return e}function embrace(e){return"{"+e+"}"}function isPadded(e){return/^-?0\d/.test(e)}function lte(e,t){return e<=t}function gte(e,t){return e>=t}function expand(e,t){var r=[];var o=s("{","}",e);if(!o||/\$$/.test(o.pre))return[e];var i=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body);var c=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body);var l=i||c;var u=o.body.indexOf(",")>=0;if(!l&&!u){if(o.post.match(/,(?!,).*\}/)){e=o.pre+"{"+o.body+a+o.post;return expand(e)}return[e]}var A;if(l){A=o.body.split(/\.\./)}else{A=parseCommaParts(o.body);if(A.length===1){A=expand(A[0],false).map(embrace);if(A.length===1){var d=o.post.length?expand(o.post,false):[""];return d.map((function(e){return o.pre+A[0]+e}))}}}var p=o.pre;var d=o.post.length?expand(o.post,false):[""];var m;if(l){var h=numeric(A[0]);var g=numeric(A[1]);var f=Math.max(A[0].length,A[1].length);var E=A.length==3?Math.abs(numeric(A[2])):1;var y=lte;var C=g<h;if(C){E*=-1;y=gte}var I=A.some(isPadded);m=[];for(var B=h;y(B,g);B+=E){var b;if(c){b=String.fromCharCode(B);if(b==="\\")b=""}else{b=String(B);if(I){var w=f-b.length;if(w>0){var S=new Array(w+1).join("0");if(B<0)b="-"+S+b.slice(1);else b=S+b}}}m.push(b)}}else{m=n(A,(function(e){return expand(e,false)}))}for(var Q=0;Q<m.length;Q++){for(var N=0;N<d.length;N++){var R=p+m[Q]+d[N];if(!t||l||R)r.push(R)}}return r}},5546:(e,t,r)=>{e.exports=r(7084)},7084:(e,t,r)=>{var n=r(9538);t.operation=function(e){var r=t.timeouts(e);return new n(r,{forever:e&&(e.forever||e.retries===Infinity),unref:e&&e.unref,maxRetryTime:e&&e.maxRetryTime})};t.timeouts=function(e){if(e instanceof Array){return[].concat(e)}var t={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:Infinity,randomize:false};for(var r in e){t[r]=e[r]}if(t.minTimeout>t.maxTimeout){throw new Error("minTimeout is greater than maxTimeout")}var n=[];for(var s=0;s<t.retries;s++){n.push(this.createTimeout(s,t))}if(e&&e.forever&&!n.length){n.push(this.createTimeout(s,t))}n.sort((function(e,t){return e-t}));return n};t.createTimeout=function(e,t){var r=t.randomize?Math.random()+1:1;var n=Math.round(r*Math.max(t.minTimeout,1)*Math.pow(t.factor,e));n=Math.min(n,t.maxTimeout);return n};t.wrap=function(e,r,n){if(r instanceof Array){n=r;r=null}if(!n){n=[];for(var s in e){if(typeof e[s]==="function"){n.push(s)}}}for(var o=0;o<n.length;o++){var i=n[o];var a=e[i];e[i]=function retryWrapper(n){var s=t.operation(r);var o=Array.prototype.slice.call(arguments,1);var i=o.pop();o.push((function(e){if(s.retry(e)){return}if(e){arguments[0]=s.mainError()}i.apply(this,arguments)}));s.attempt((function(){n.apply(e,o)}))}.bind(e,a);e[i].options=r}}},9538:e=>{function RetryOperation(e,t){if(typeof t==="boolean"){t={forever:t}}this._originalTimeouts=JSON.parse(JSON.stringify(e));this._timeouts=e;this._options=t||{};this._maxRetryTime=t&&t.maxRetryTime||Infinity;this._fn=null;this._errors=[];this._attempts=1;this._operationTimeout=null;this._operationTimeoutCb=null;this._timeout=null;this._operationStart=null;this._timer=null;if(this._options.forever){this._cachedTimeouts=this._timeouts.slice(0)}}e.exports=RetryOperation;RetryOperation.prototype.reset=function(){this._attempts=1;this._timeouts=this._originalTimeouts.slice(0)};RetryOperation.prototype.stop=function(){if(this._timeout){clearTimeout(this._timeout)}if(this._timer){clearTimeout(this._timer)}this._timeouts=[];this._cachedTimeouts=null};RetryOperation.prototype.retry=function(e){if(this._timeout){clearTimeout(this._timeout)}if(!e){return false}var t=(new Date).getTime();if(e&&t-this._operationStart>=this._maxRetryTime){this._errors.push(e);this._errors.unshift(new Error("RetryOperation timeout occurred"));return false}this._errors.push(e);var r=this._timeouts.shift();if(r===undefined){if(this._cachedTimeouts){this._errors.splice(0,this._errors.length-1);r=this._cachedTimeouts.slice(-1)}else{return false}}var n=this;this._timer=setTimeout((function(){n._attempts++;if(n._operationTimeoutCb){n._timeout=setTimeout((function(){n._operationTimeoutCb(n._attempts)}),n._operationTimeout);if(n._options.unref){n._timeout.unref()}}n._fn(n._attempts)}),r);if(this._options.unref){this._timer.unref()}return true};RetryOperation.prototype.attempt=function(e,t){this._fn=e;if(t){if(t.timeout){this._operationTimeout=t.timeout}if(t.cb){this._operationTimeoutCb=t.cb}}var r=this;if(this._operationTimeoutCb){this._timeout=setTimeout((function(){r._operationTimeoutCb()}),r._operationTimeout)}this._operationStart=(new Date).getTime();this._fn(this._attempts)};RetryOperation.prototype.try=function(e){console.log("Using RetryOperation.try() is deprecated");this.attempt(e)};RetryOperation.prototype.start=function(e){console.log("Using RetryOperation.start() is deprecated");this.attempt(e)};RetryOperation.prototype.start=RetryOperation.prototype.try;RetryOperation.prototype.errors=function(){return this._errors};RetryOperation.prototype.attempts=function(){return this._attempts};RetryOperation.prototype.mainError=function(){if(this._errors.length===0){return null}var e={};var t=null;var r=0;for(var n=0;n<this._errors.length;n++){var s=this._errors[n];var o=s.message;var i=(e[o]||0)+1;e[o]=i;if(i>=r){t=s;r=i}}return t}},9379:(e,t,r)=>{const n=Symbol("SemVer ANY");class Comparator{static get ANY(){return n}constructor(e,t){t=s(t);if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}e=e.trim().split(/\s+/).join(" ");c("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===n){this.value=""}else{this.value=this.operator+this.semver.version}c("comp",this)}parse(e){const t=this.options.loose?o[i.COMPARATORLOOSE]:o[i.COMPARATOR];const r=e.match(t);if(!r){throw new TypeError(`Invalid comparator: ${e}`)}this.operator=r[1]!==undefined?r[1]:"";if(this.operator==="="){this.operator=""}if(!r[2]){this.semver=n}else{this.semver=new l(r[2],this.options.loose)}}toString(){return this.value}test(e){c("Comparator.test",e,this.options.loose);if(this.semver===n||e===n){return true}if(typeof e==="string"){try{e=new l(e,this.options)}catch(e){return false}}return a(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(this.operator===""){if(this.value===""){return true}return new u(e.value,t).test(this.value)}else if(e.operator===""){if(e.value===""){return true}return new u(this.value,t).test(e.semver)}t=s(t);if(t.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")){return false}if(!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))){return false}if(this.operator.startsWith(">")&&e.operator.startsWith(">")){return true}if(this.operator.startsWith("<")&&e.operator.startsWith("<")){return true}if(this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")){return true}if(a(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")){return true}if(a(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")){return true}return false}}e.exports=Comparator;const s=r(356);const{safeRe:o,t:i}=r(5471);const a=r(8646);const c=r(1159);const l=r(7163);const u=r(6782)},6782:(e,t,r)=>{const n=/\s+/g;class Range{constructor(e,t){t=i(t);if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof a){this.raw=e.value;this.set=[[e]];this.formatted=undefined;return this}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e.trim().replace(n," ");this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${this.raw}`)}if(this.set.length>1){const e=this.set[0];this.set=this.set.filter((e=>!isNullSet(e[0])));if(this.set.length===0){this.set=[e]}else if(this.set.length>1){for(const e of this.set){if(e.length===1&&isAny(e[0])){this.set=[e];break}}}}this.formatted=undefined}get range(){if(this.formatted===undefined){this.formatted="";for(let e=0;e<this.set.length;e++){if(e>0){this.formatted+="||"}const t=this.set[e];for(let e=0;e<t.length;e++){if(e>0){this.formatted+=" "}this.formatted+=t[e].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=(this.options.includePrerelease&&h)|(this.options.loose&&g);const r=t+":"+e;const n=o.get(r);if(n){return n}const s=this.options.loose;const i=s?u[A.HYPHENRANGELOOSE]:u[A.HYPHENRANGE];e=e.replace(i,hyphenReplace(this.options.includePrerelease));c("hyphen replace",e);e=e.replace(u[A.COMPARATORTRIM],d);c("comparator trim",e);e=e.replace(u[A.TILDETRIM],p);c("tilde trim",e);e=e.replace(u[A.CARETTRIM],m);c("caret trim",e);let l=e.split(" ").map((e=>parseComparator(e,this.options))).join(" ").split(/\s+/).map((e=>replaceGTE0(e,this.options)));if(s){l=l.filter((e=>{c("loose invalid filter",e,this.options);return!!e.match(u[A.COMPARATORLOOSE])}))}c("range list",l);const f=new Map;const E=l.map((e=>new a(e,this.options)));for(const e of E){if(isNullSet(e)){return[e]}f.set(e.value,e)}if(f.size>1&&f.has("")){f.delete("")}const y=[...f.values()];o.set(r,y);return y}intersects(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((r=>isSatisfiable(r,t)&&e.set.some((e=>isSatisfiable(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e){return false}if(typeof e==="string"){try{e=new l(e,this.options)}catch(e){return false}}for(let t=0;t<this.set.length;t++){if(testSet(this.set[t],e,this.options)){return true}}return false}}e.exports=Range;const s=r(1383);const o=new s;const i=r(356);const a=r(9379);const c=r(1159);const l=r(7163);const{safeRe:u,t:A,comparatorTrimReplace:d,tildeTrimReplace:p,caretTrimReplace:m}=r(5471);const{FLAG_INCLUDE_PRERELEASE:h,FLAG_LOOSE:g}=r(5101);const isNullSet=e=>e.value==="<0.0.0-0";const isAny=e=>e.value==="";const isSatisfiable=(e,t)=>{let r=true;const n=e.slice();let s=n.pop();while(r&&n.length){r=n.every((e=>s.intersects(e,t)));s=n.pop()}return r};const parseComparator=(e,t)=>{e=e.replace(u[A.BUILD],"");c("comp",e,t);e=replaceCarets(e,t);c("caret",e);e=replaceTildes(e,t);c("tildes",e);e=replaceXRanges(e,t);c("xrange",e);e=replaceStars(e,t);c("stars",e);return e};const isX=e=>!e||e.toLowerCase()==="x"||e==="*";const replaceTildes=(e,t)=>e.trim().split(/\s+/).map((e=>replaceTilde(e,t))).join(" ");const replaceTilde=(e,t)=>{const r=t.loose?u[A.TILDELOOSE]:u[A.TILDE];return e.replace(r,((t,r,n,s,o)=>{c("tilde",e,t,r,n,s,o);let i;if(isX(r)){i=""}else if(isX(n)){i=`>=${r}.0.0 <${+r+1}.0.0-0`}else if(isX(s)){i=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`}else if(o){c("replaceTilde pr",o);i=`>=${r}.${n}.${s}-${o} <${r}.${+n+1}.0-0`}else{i=`>=${r}.${n}.${s} <${r}.${+n+1}.0-0`}c("tilde return",i);return i}))};const replaceCarets=(e,t)=>e.trim().split(/\s+/).map((e=>replaceCaret(e,t))).join(" ");const replaceCaret=(e,t)=>{c("caret",e,t);const r=t.loose?u[A.CARETLOOSE]:u[A.CARET];const n=t.includePrerelease?"-0":"";return e.replace(r,((t,r,s,o,i)=>{c("caret",e,t,r,s,o,i);let a;if(isX(r)){a=""}else if(isX(s)){a=`>=${r}.0.0${n} <${+r+1}.0.0-0`}else if(isX(o)){if(r==="0"){a=`>=${r}.${s}.0${n} <${r}.${+s+1}.0-0`}else{a=`>=${r}.${s}.0${n} <${+r+1}.0.0-0`}}else if(i){c("replaceCaret pr",i);if(r==="0"){if(s==="0"){a=`>=${r}.${s}.${o}-${i} <${r}.${s}.${+o+1}-0`}else{a=`>=${r}.${s}.${o}-${i} <${r}.${+s+1}.0-0`}}else{a=`>=${r}.${s}.${o}-${i} <${+r+1}.0.0-0`}}else{c("no pr");if(r==="0"){if(s==="0"){a=`>=${r}.${s}.${o}${n} <${r}.${s}.${+o+1}-0`}else{a=`>=${r}.${s}.${o}${n} <${r}.${+s+1}.0-0`}}else{a=`>=${r}.${s}.${o} <${+r+1}.0.0-0`}}c("caret return",a);return a}))};const replaceXRanges=(e,t)=>{c("replaceXRanges",e,t);return e.split(/\s+/).map((e=>replaceXRange(e,t))).join(" ")};const replaceXRange=(e,t)=>{e=e.trim();const r=t.loose?u[A.XRANGELOOSE]:u[A.XRANGE];return e.replace(r,((r,n,s,o,i,a)=>{c("xRange",e,r,n,s,o,i,a);const l=isX(s);const u=l||isX(o);const A=u||isX(i);const d=A;if(n==="="&&d){n=""}a=t.includePrerelease?"-0":"";if(l){if(n===">"||n==="<"){r="<0.0.0-0"}else{r="*"}}else if(n&&d){if(u){o=0}i=0;if(n===">"){n=">=";if(u){s=+s+1;o=0;i=0}else{o=+o+1;i=0}}else if(n==="<="){n="<";if(u){s=+s+1}else{o=+o+1}}if(n==="<"){a="-0"}r=`${n+s}.${o}.${i}${a}`}else if(u){r=`>=${s}.0.0${a} <${+s+1}.0.0-0`}else if(A){r=`>=${s}.${o}.0${a} <${s}.${+o+1}.0-0`}c("xRange return",r);return r}))};const replaceStars=(e,t)=>{c("replaceStars",e,t);return e.trim().replace(u[A.STAR],"")};const replaceGTE0=(e,t)=>{c("replaceGTE0",e,t);return e.trim().replace(u[t.includePrerelease?A.GTE0PRE:A.GTE0],"")};const hyphenReplace=e=>(t,r,n,s,o,i,a,c,l,u,A,d)=>{if(isX(n)){r=""}else if(isX(s)){r=`>=${n}.0.0${e?"-0":""}`}else if(isX(o)){r=`>=${n}.${s}.0${e?"-0":""}`}else if(i){r=`>=${r}`}else{r=`>=${r}${e?"-0":""}`}if(isX(l)){c=""}else if(isX(u)){c=`<${+l+1}.0.0-0`}else if(isX(A)){c=`<${l}.${+u+1}.0-0`}else if(d){c=`<=${l}.${u}.${A}-${d}`}else if(e){c=`<${l}.${u}.${+A+1}-0`}else{c=`<=${c}`}return`${r} ${c}`.trim()};const testSet=(e,t,r)=>{for(let r=0;r<e.length;r++){if(!e[r].test(t)){return false}}if(t.prerelease.length&&!r.includePrerelease){for(let r=0;r<e.length;r++){c(e[r].semver);if(e[r].semver===a.ANY){continue}if(e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch){return true}}}return false}return true}},7163:(e,t,r)=>{const n=r(1159);const{MAX_LENGTH:s,MAX_SAFE_INTEGER:o}=r(5101);const{safeRe:i,t:a}=r(5471);const c=r(356);const{compareIdentifiers:l}=r(3348);class SemVer{constructor(e,t){t=c(t);if(e instanceof SemVer){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`)}if(e.length>s){throw new TypeError(`version is longer than ${s} characters`)}n("SemVer",e,t);this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?i[a.LOOSE]:i[a.FULL]);if(!r){throw new TypeError(`Invalid Version: ${e}`)}this.raw=e;this.major=+r[1];this.minor=+r[2];this.patch=+r[3];if(this.major>o||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>o||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>o||this.patch<0){throw new TypeError("Invalid patch version")}if(!r[4]){this.prerelease=[]}else{this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<o){return t}}return e}))}this.build=r[5]?r[5].split("."):[];this.format()}format(){this.version=`${this.major}.${this.minor}.${this.patch}`;if(this.prerelease.length){this.version+=`-${this.prerelease.join(".")}`}return this.version}toString(){return this.version}compare(e){n("SemVer.compare",this.version,this.options,e);if(!(e instanceof SemVer)){if(typeof e==="string"&&e===this.version){return 0}e=new SemVer(e,this.options)}if(e.version===this.version){return 0}return this.compareMain(e)||this.comparePre(e)}compareMain(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.major<e.major){return-1}if(this.major>e.major){return 1}if(this.minor<e.minor){return-1}if(this.minor>e.minor){return 1}if(this.patch<e.patch){return-1}if(this.patch>e.patch){return 1}return 0}comparePre(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}if(this.prerelease.length&&!e.prerelease.length){return-1}else if(!this.prerelease.length&&e.prerelease.length){return 1}else if(!this.prerelease.length&&!e.prerelease.length){return 0}let t=0;do{const r=this.prerelease[t];const s=e.prerelease[t];n("prerelease compare",t,r,s);if(r===undefined&&s===undefined){return 0}else if(s===undefined){return 1}else if(r===undefined){return-1}else if(r===s){continue}else{return l(r,s)}}while(++t)}compareBuild(e){if(!(e instanceof SemVer)){e=new SemVer(e,this.options)}let t=0;do{const r=this.build[t];const s=e.build[t];n("build compare",t,r,s);if(r===undefined&&s===undefined){return 0}else if(s===undefined){return 1}else if(r===undefined){return-1}else if(r===s){continue}else{return l(r,s)}}while(++t)}inc(e,t,r){if(e.startsWith("pre")){if(!t&&r===false){throw new Error("invalid increment argument: identifier is empty")}if(t){const e=`-${t}`.match(this.options.loose?i[a.PRERELEASELOOSE]:i[a.PRERELEASE]);if(!e||e[1]!==t){throw new Error(`invalid identifier: ${t}`)}}}switch(e){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",t,r);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",t,r);break;case"prepatch":this.prerelease.length=0;this.inc("patch",t,r);this.inc("pre",t,r);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",t,r)}this.inc("pre",t,r);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 e=Number(r)?1:0;if(this.prerelease.length===0){this.prerelease=[e]}else{let n=this.prerelease.length;while(--n>=0){if(typeof this.prerelease[n]==="number"){this.prerelease[n]++;n=-2}}if(n===-1){if(t===this.prerelease.join(".")&&r===false){throw new Error("invalid increment argument: identifier already exists")}this.prerelease.push(e)}}if(t){let n=[t,e];if(r===false){n=[t]}if(l(this.prerelease[0],t)===0){if(isNaN(this.prerelease[1])){this.prerelease=n}}else{this.prerelease=n}}break}default:throw new Error(`invalid increment argument: ${e}`)}this.raw=this.format();if(this.build.length){this.raw+=`+${this.build.join(".")}`}return this}}e.exports=SemVer},1799:(e,t,r)=>{const n=r(6353);const clean=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};e.exports=clean},8646:(e,t,r)=>{const n=r(5082);const s=r(4974);const o=r(6599);const i=r(1236);const a=r(3872);const c=r(6717);const cmp=(e,t,r,l)=>{switch(t){case"===":if(typeof e==="object"){e=e.version}if(typeof r==="object"){r=r.version}return e===r;case"!==":if(typeof e==="object"){e=e.version}if(typeof r==="object"){r=r.version}return e!==r;case"":case"=":case"==":return n(e,r,l);case"!=":return s(e,r,l);case">":return o(e,r,l);case">=":return i(e,r,l);case"<":return a(e,r,l);case"<=":return c(e,r,l);default:throw new TypeError(`Invalid operator: ${t}`)}};e.exports=cmp},5385:(e,t,r)=>{const n=r(7163);const s=r(6353);const{safeRe:o,t:i}=r(5471);const coerce=(e,t)=>{if(e instanceof n){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};let r=null;if(!t.rtl){r=e.match(t.includePrerelease?o[i.COERCEFULL]:o[i.COERCE])}else{const n=t.includePrerelease?o[i.COERCERTLFULL]:o[i.COERCERTL];let s;while((s=n.exec(e))&&(!r||r.index+r[0].length!==e.length)){if(!r||s.index+s[0].length!==r.index+r[0].length){r=s}n.lastIndex=s.index+s[1].length+s[2].length}n.lastIndex=-1}if(r===null){return null}const a=r[2];const c=r[3]||"0";const l=r[4]||"0";const u=t.includePrerelease&&r[5]?`-${r[5]}`:"";const A=t.includePrerelease&&r[6]?`+${r[6]}`:"";return s(`${a}.${c}.${l}${u}${A}`,t)};e.exports=coerce},7648:(e,t,r)=>{const n=r(7163);const compareBuild=(e,t,r)=>{const s=new n(e,r);const o=new n(t,r);return s.compare(o)||s.compareBuild(o)};e.exports=compareBuild},6874:(e,t,r)=>{const n=r(8469);const compareLoose=(e,t)=>n(e,t,true);e.exports=compareLoose},8469:(e,t,r)=>{const n=r(7163);const compare=(e,t,r)=>new n(e,r).compare(new n(t,r));e.exports=compare},711:(e,t,r)=>{const n=r(6353);const diff=(e,t)=>{const r=n(e,null,true);const s=n(t,null,true);const o=r.compare(s);if(o===0){return null}const i=o>0;const a=i?r:s;const c=i?s:r;const l=!!a.prerelease.length;const u=!!c.prerelease.length;if(u&&!l){if(!c.patch&&!c.minor){return"major"}if(c.compareMain(a)===0){if(c.minor&&!c.patch){return"minor"}return"patch"}}const A=l?"pre":"";if(r.major!==s.major){return A+"major"}if(r.minor!==s.minor){return A+"minor"}if(r.patch!==s.patch){return A+"patch"}return"prerelease"};e.exports=diff},5082:(e,t,r)=>{const n=r(8469);const eq=(e,t,r)=>n(e,t,r)===0;e.exports=eq},6599:(e,t,r)=>{const n=r(8469);const gt=(e,t,r)=>n(e,t,r)>0;e.exports=gt},1236:(e,t,r)=>{const n=r(8469);const gte=(e,t,r)=>n(e,t,r)>=0;e.exports=gte},2338:(e,t,r)=>{const n=r(7163);const inc=(e,t,r,s,o)=>{if(typeof r==="string"){o=s;s=r;r=undefined}try{return new n(e instanceof n?e.version:e,r).inc(t,s,o).version}catch(e){return null}};e.exports=inc},3872:(e,t,r)=>{const n=r(8469);const lt=(e,t,r)=>n(e,t,r)<0;e.exports=lt},6717:(e,t,r)=>{const n=r(8469);const lte=(e,t,r)=>n(e,t,r)<=0;e.exports=lte},8511:(e,t,r)=>{const n=r(7163);const major=(e,t)=>new n(e,t).major;e.exports=major},2603:(e,t,r)=>{const n=r(7163);const minor=(e,t)=>new n(e,t).minor;e.exports=minor},4974:(e,t,r)=>{const n=r(8469);const neq=(e,t,r)=>n(e,t,r)!==0;e.exports=neq},6353:(e,t,r)=>{const n=r(7163);const parse=(e,t,r=false)=>{if(e instanceof n){return e}try{return new n(e,t)}catch(e){if(!r){return null}throw e}};e.exports=parse},8756:(e,t,r)=>{const n=r(7163);const patch=(e,t)=>new n(e,t).patch;e.exports=patch},5714:(e,t,r)=>{const n=r(6353);const prerelease=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null};e.exports=prerelease},2173:(e,t,r)=>{const n=r(8469);const rcompare=(e,t,r)=>n(t,e,r);e.exports=rcompare},7192:(e,t,r)=>{const n=r(7648);const rsort=(e,t)=>e.sort(((e,r)=>n(r,e,t)));e.exports=rsort},8011:(e,t,r)=>{const n=r(6782);const satisfies=(e,t,r)=>{try{t=new n(t,r)}catch(e){return false}return t.test(e)};e.exports=satisfies},9872:(e,t,r)=>{const n=r(7648);const sort=(e,t)=>e.sort(((e,r)=>n(e,r,t)));e.exports=sort},8780:(e,t,r)=>{const n=r(6353);const valid=(e,t)=>{const r=n(e,t);return r?r.version:null};e.exports=valid},2088:(e,t,r)=>{const n=r(5471);const s=r(5101);const o=r(7163);const i=r(3348);const a=r(6353);const c=r(8780);const l=r(1799);const u=r(2338);const A=r(711);const d=r(8511);const p=r(2603);const m=r(8756);const h=r(5714);const g=r(8469);const f=r(2173);const E=r(6874);const y=r(7648);const C=r(9872);const I=r(7192);const B=r(6599);const b=r(3872);const w=r(5082);const S=r(4974);const Q=r(1236);const N=r(6717);const R=r(8646);const v=r(5385);const x=r(9379);const T=r(6782);const k=r(8011);const D=r(4750);const _=r(5574);const P=r(8595);const L=r(1866);const M=r(4737);const O=r(280);const F=r(2276);const U=r(5213);const H=r(3465);const G=r(2028);const q=r(1489);e.exports={parse:a,valid:c,clean:l,inc:u,diff:A,major:d,minor:p,patch:m,prerelease:h,compare:g,rcompare:f,compareLoose:E,compareBuild:y,sort:C,rsort:I,gt:B,lt:b,eq:w,neq:S,gte:Q,lte:N,cmp:R,coerce:v,Comparator:x,Range:T,satisfies:k,toComparators:D,maxSatisfying:_,minSatisfying:P,minVersion:L,validRange:M,outside:O,gtr:F,ltr:U,intersects:H,simplifyRange:G,subset:q,SemVer:o,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:s.SEMVER_SPEC_VERSION,RELEASE_TYPES:s.RELEASE_TYPES,compareIdentifiers:i.compareIdentifiers,rcompareIdentifiers:i.rcompareIdentifiers}},5101:e=>{const t="2.0.0";const r=256;const n=Number.MAX_SAFE_INTEGER||9007199254740991;const s=16;const o=r-6;const i=["major","premajor","minor","preminor","patch","prepatch","prerelease"];e.exports={MAX_LENGTH:r,MAX_SAFE_COMPONENT_LENGTH:s,MAX_SAFE_BUILD_LENGTH:o,MAX_SAFE_INTEGER:n,RELEASE_TYPES:i,SEMVER_SPEC_VERSION:t,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},1159:e=>{const t=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},3348:e=>{const t=/^[0-9]+$/;const compareIdentifiers=(e,r)=>{if(typeof e==="number"&&typeof r==="number"){return e===r?0:e<r?-1:1}const n=t.test(e);const s=t.test(r);if(n&&s){e=+e;r=+r}return e===r?0:n&&!s?-1:s&&!n?1:e<r?-1:1};const rcompareIdentifiers=(e,t)=>compareIdentifiers(t,e);e.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},1383:e=>{class LRUCache{constructor(){this.max=1e3;this.map=new Map}get(e){const t=this.map.get(e);if(t===undefined){return undefined}else{this.map.delete(e);this.map.set(e,t);return t}}delete(e){return this.map.delete(e)}set(e,t){const r=this.delete(e);if(!r&&t!==undefined){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}e.exports=LRUCache},356:e=>{const t=Object.freeze({loose:true});const r=Object.freeze({});const parseOptions=e=>{if(!e){return r}if(typeof e!=="object"){return t}return e};e.exports=parseOptions},5471:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:s,MAX_LENGTH:o}=r(5101);const i=r(1159);t=e.exports={};const a=t.re=[];const c=t.safeRe=[];const l=t.src=[];const u=t.safeSrc=[];const A=t.t={};let d=0;const p="[a-zA-Z0-9-]";const m=[["\\s",1],["\\d",o],[p,s]];const makeSafeRegex=e=>{for(const[t,r]of m){e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`)}return e};const createToken=(e,t,r)=>{const n=makeSafeRegex(t);const s=d++;i(e,s,t);A[e]=s;l[s]=t;u[s]=n;a[s]=new RegExp(t,r?"g":undefined);c[s]=new RegExp(n,r?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","\\d+");createToken("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`);createToken("MAINVERSION",`(${l[A.NUMERICIDENTIFIER]})\\.`+`(${l[A.NUMERICIDENTIFIER]})\\.`+`(${l[A.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${l[A.NUMERICIDENTIFIERLOOSE]})\\.`+`(${l[A.NUMERICIDENTIFIERLOOSE]})\\.`+`(${l[A.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${l[A.NONNUMERICIDENTIFIER]}|${l[A.NUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${l[A.NONNUMERICIDENTIFIER]}|${l[A.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASE",`(?:-(${l[A.PRERELEASEIDENTIFIER]}(?:\\.${l[A.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${l[A.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[A.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER",`${p}+`);createToken("BUILD",`(?:\\+(${l[A.BUILDIDENTIFIER]}(?:\\.${l[A.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${l[A.MAINVERSION]}${l[A.PRERELEASE]}?${l[A.BUILD]}?`);createToken("FULL",`^${l[A.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${l[A.MAINVERSIONLOOSE]}${l[A.PRERELEASELOOSE]}?${l[A.BUILD]}?`);createToken("LOOSE",`^${l[A.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${l[A.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${l[A.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${l[A.XRANGEIDENTIFIER]})`+`(?:\\.(${l[A.XRANGEIDENTIFIER]})`+`(?:\\.(${l[A.XRANGEIDENTIFIER]})`+`(?:${l[A.PRERELEASE]})?${l[A.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${l[A.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${l[A.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${l[A.XRANGEIDENTIFIERLOOSE]})`+`(?:${l[A.PRERELEASELOOSE]})?${l[A.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${l[A.GTLT]}\\s*${l[A.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${l[A.GTLT]}\\s*${l[A.XRANGEPLAINLOOSE]}$`);createToken("COERCEPLAIN",`${"(^|[^\\d])"+"(\\d{1,"}${n}})`+`(?:\\.(\\d{1,${n}}))?`+`(?:\\.(\\d{1,${n}}))?`);createToken("COERCE",`${l[A.COERCEPLAIN]}(?:$|[^\\d])`);createToken("COERCEFULL",l[A.COERCEPLAIN]+`(?:${l[A.PRERELEASE]})?`+`(?:${l[A.BUILD]})?`+`(?:$|[^\\d])`);createToken("COERCERTL",l[A.COERCE],true);createToken("COERCERTLFULL",l[A.COERCEFULL],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${l[A.LONETILDE]}\\s+`,true);t.tildeTrimReplace="$1~";createToken("TILDE",`^${l[A.LONETILDE]}${l[A.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${l[A.LONETILDE]}${l[A.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${l[A.LONECARET]}\\s+`,true);t.caretTrimReplace="$1^";createToken("CARET",`^${l[A.LONECARET]}${l[A.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${l[A.LONECARET]}${l[A.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${l[A.GTLT]}\\s*(${l[A.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${l[A.GTLT]}\\s*(${l[A.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${l[A.GTLT]}\\s*(${l[A.LOOSEPLAIN]}|${l[A.XRANGEPLAIN]})`,true);t.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${l[A.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${l[A.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${l[A.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${l[A.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},2276:(e,t,r)=>{const n=r(280);const gtr=(e,t,r)=>n(e,t,">",r);e.exports=gtr},3465:(e,t,r)=>{const n=r(6782);const intersects=(e,t,r)=>{e=new n(e,r);t=new n(t,r);return e.intersects(t,r)};e.exports=intersects},5213:(e,t,r)=>{const n=r(280);const ltr=(e,t,r)=>n(e,t,"<",r);e.exports=ltr},5574:(e,t,r)=>{const n=r(7163);const s=r(6782);const maxSatisfying=(e,t,r)=>{let o=null;let i=null;let a=null;try{a=new s(t,r)}catch(e){return null}e.forEach((e=>{if(a.test(e)){if(!o||i.compare(e)===-1){o=e;i=new n(o,r)}}}));return o};e.exports=maxSatisfying},8595:(e,t,r)=>{const n=r(7163);const s=r(6782);const minSatisfying=(e,t,r)=>{let o=null;let i=null;let a=null;try{a=new s(t,r)}catch(e){return null}e.forEach((e=>{if(a.test(e)){if(!o||i.compare(e)===1){o=e;i=new n(o,r)}}}));return o};e.exports=minSatisfying},1866:(e,t,r)=>{const n=r(7163);const s=r(6782);const o=r(6599);const minVersion=(e,t)=>{e=new s(e,t);let r=new n("0.0.0");if(e.test(r)){return r}r=new n("0.0.0-0");if(e.test(r)){return r}r=null;for(let t=0;t<e.set.length;++t){const s=e.set[t];let i=null;s.forEach((e=>{const t=new n(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!i||o(t,i)){i=t}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}));if(i&&(!r||o(r,i))){r=i}}if(r&&e.test(r)){return r}return null};e.exports=minVersion},280:(e,t,r)=>{const n=r(7163);const s=r(9379);const{ANY:o}=s;const i=r(6782);const a=r(8011);const c=r(6599);const l=r(3872);const u=r(6717);const A=r(1236);const outside=(e,t,r,d)=>{e=new n(e,d);t=new i(t,d);let p,m,h,g,f;switch(r){case">":p=c;m=u;h=l;g=">";f=">=";break;case"<":p=l;m=A;h=c;g="<";f="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(e,t,d)){return false}for(let r=0;r<t.set.length;++r){const n=t.set[r];let i=null;let a=null;n.forEach((e=>{if(e.semver===o){e=new s(">=0.0.0")}i=i||e;a=a||e;if(p(e.semver,i.semver,d)){i=e}else if(h(e.semver,a.semver,d)){a=e}}));if(i.operator===g||i.operator===f){return false}if((!a.operator||a.operator===g)&&m(e,a.semver)){return false}else if(a.operator===f&&h(e,a.semver)){return false}}return true};e.exports=outside},2028:(e,t,r)=>{const n=r(8011);const s=r(8469);e.exports=(e,t,r)=>{const o=[];let i=null;let a=null;const c=e.sort(((e,t)=>s(e,t,r)));for(const e of c){const s=n(e,t,r);if(s){a=e;if(!i){i=e}}else{if(a){o.push([i,a])}a=null;i=null}}if(i){o.push([i,null])}const l=[];for(const[e,t]of o){if(e===t){l.push(e)}else if(!t&&e===c[0]){l.push("*")}else if(!t){l.push(`>=${e}`)}else if(e===c[0]){l.push(`<=${t}`)}else{l.push(`${e} - ${t}`)}}const u=l.join(" || ");const A=typeof t.raw==="string"?t.raw:String(t);return u.length<A.length?u:t}},1489:(e,t,r)=>{const n=r(6782);const s=r(9379);const{ANY:o}=s;const i=r(8011);const a=r(8469);const subset=(e,t,r={})=>{if(e===t){return true}e=new n(e,r);t=new n(t,r);let s=false;e:for(const n of e.set){for(const e of t.set){const t=simpleSubset(n,e,r);s=s||t!==null;if(t){continue e}}if(s){return false}}return true};const c=[new s(">=0.0.0-0")];const l=[new s(">=0.0.0")];const simpleSubset=(e,t,r)=>{if(e===t){return true}if(e.length===1&&e[0].semver===o){if(t.length===1&&t[0].semver===o){return true}else if(r.includePrerelease){e=c}else{e=l}}if(t.length===1&&t[0].semver===o){if(r.includePrerelease){return true}else{t=l}}const n=new Set;let s,u;for(const t of e){if(t.operator===">"||t.operator===">="){s=higherGT(s,t,r)}else if(t.operator==="<"||t.operator==="<="){u=lowerLT(u,t,r)}else{n.add(t.semver)}}if(n.size>1){return null}let A;if(s&&u){A=a(s.semver,u.semver,r);if(A>0){return null}else if(A===0&&(s.operator!==">="||u.operator!=="<=")){return null}}for(const e of n){if(s&&!i(e,String(s),r)){return null}if(u&&!i(e,String(u),r)){return null}for(const n of t){if(!i(e,String(n),r)){return false}}return true}let d,p;let m,h;let g=u&&!r.includePrerelease&&u.semver.prerelease.length?u.semver:false;let f=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:false;if(g&&g.prerelease.length===1&&u.operator==="<"&&g.prerelease[0]===0){g=false}for(const e of t){h=h||e.operator===">"||e.operator===">=";m=m||e.operator==="<"||e.operator==="<=";if(s){if(f){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===f.major&&e.semver.minor===f.minor&&e.semver.patch===f.patch){f=false}}if(e.operator===">"||e.operator===">="){d=higherGT(s,e,r);if(d===e&&d!==s){return false}}else if(s.operator===">="&&!i(s.semver,String(e),r)){return false}}if(u){if(g){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===g.major&&e.semver.minor===g.minor&&e.semver.patch===g.patch){g=false}}if(e.operator==="<"||e.operator==="<="){p=lowerLT(u,e,r);if(p===e&&p!==u){return false}}else if(u.operator==="<="&&!i(u.semver,String(e),r)){return false}}if(!e.operator&&(u||s)&&A!==0){return false}}if(s&&m&&!u&&A!==0){return false}if(u&&h&&!s&&A!==0){return false}if(f||g){return false}return true};const higherGT=(e,t,r)=>{if(!e){return t}const n=a(e.semver,t.semver,r);return n>0?e:n<0?t:t.operator===">"&&e.operator===">="?t:e};const lowerLT=(e,t,r)=>{if(!e){return t}const n=a(e.semver,t.semver,r);return n<0?e:n>0?t:t.operator==="<"&&e.operator==="<="?t:e};e.exports=subset},4750:(e,t,r)=>{const n=r(6782);const toComparators=(e,t)=>new n(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")));e.exports=toComparators},4737:(e,t,r)=>{const n=r(6782);const validRange=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}};e.exports=validRange},6934:(e,t,r)=>{var n=r(2492);var s=Object.prototype.hasOwnProperty;var o=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=o?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(e,t){var r=new ArraySet;for(var n=0,s=e.length;n<s;n++){r.add(e[n],t)}return r};ArraySet.prototype.size=function ArraySet_size(){return o?this._set.size:Object.getOwnPropertyNames(this._set).length};ArraySet.prototype.add=function ArraySet_add(e,t){var r=o?e:n.toSetString(e);var i=o?this.has(e):s.call(this._set,r);var a=this._array.length;if(!i||t){this._array.push(e)}if(!i){if(o){this._set.set(e,a)}else{this._set[r]=a}}};ArraySet.prototype.has=function ArraySet_has(e){if(o){return this._set.has(e)}else{var t=n.toSetString(e);return s.call(this._set,t)}};ArraySet.prototype.indexOf=function ArraySet_indexOf(e){if(o){var t=this._set.get(e);if(t>=0){return t}}else{var r=n.toSetString(e);if(s.call(this._set,r)){return this._set[r]}}throw new Error('"'+e+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(e){if(e>=0&&e<this._array.length){return this._array[e]}throw new Error("No element indexed by "+e)};ArraySet.prototype.toArray=function ArraySet_toArray(){return this._array.slice()};t.C=ArraySet},7935:(e,t,r)=>{var n=r(691);var s=5;var o=1<<s;var i=o-1;var a=o;function toVLQSigned(e){return e<0?(-e<<1)+1:(e<<1)+0}function fromVLQSigned(e){var t=(e&1)===1;var r=e>>1;return t?-r:r}t.encode=function base64VLQ_encode(e){var t="";var r;var o=toVLQSigned(e);do{r=o&i;o>>>=s;if(o>0){r|=a}t+=n.encode(r)}while(o>0);return t};t.decode=function base64VLQ_decode(e,t,r){var o=e.length;var c=0;var l=0;var u,A;do{if(t>=o){throw new Error("Expected more digits in base 64 VLQ value.")}A=n.decode(e.charCodeAt(t++));if(A===-1){throw new Error("Invalid base64 digit: "+e.charAt(t-1))}u=!!(A&a);A&=i;c=c+(A<<l);l+=s}while(u);r.value=fromVLQSigned(c);r.rest=t}},691:(e,t)=>{var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<r.length){return r[e]}throw new TypeError("Must be between 0 and 63: "+e)};t.decode=function(e){var t=65;var r=90;var n=97;var s=122;var o=48;var i=57;var a=43;var c=47;var l=26;var u=52;if(t<=e&&e<=r){return e-t}if(n<=e&&e<=s){return e-n+l}if(o<=e&&e<=i){return e-o+u}if(e==a){return 62}if(e==c){return 63}return-1}},2326:(e,t)=>{t.GREATEST_LOWER_BOUND=1;t.LEAST_UPPER_BOUND=2;function recursiveSearch(e,r,n,s,o,i){var a=Math.floor((r-e)/2)+e;var c=o(n,s[a],true);if(c===0){return a}else if(c>0){if(r-a>1){return recursiveSearch(a,r,n,s,o,i)}if(i==t.LEAST_UPPER_BOUND){return r<s.length?r:-1}else{return a}}else{if(a-e>1){return recursiveSearch(e,a,n,s,o,i)}if(i==t.LEAST_UPPER_BOUND){return a}else{return e<0?-1:e}}}t.search=function search(e,r,n,s){if(r.length===0){return-1}var o=recursiveSearch(-1,r.length,e,r,n,s||t.GREATEST_LOWER_BOUND);if(o<0){return-1}while(o-1>=0){if(n(r[o],r[o-1],true)!==0){break}--o}return o}},2861:(e,t,r)=>{var n=r(2492);function generatedPositionAfter(e,t){var r=e.generatedLine;var s=t.generatedLine;var o=e.generatedColumn;var i=t.generatedColumn;return s>r||s==r&&i>=o||n.compareByGeneratedPositionsInflated(e,t)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(e,t){this._array.forEach(e,t)};MappingList.prototype.add=function MappingList_add(e){if(generatedPositionAfter(this._last,e)){this._last=e;this._array.push(e)}else{this._sorted=false;this._array.push(e)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(n.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};t.P=MappingList},9598:(e,t)=>{function swap(e,t,r){var n=e[t];e[t]=e[r];e[r]=n}function randomIntInRange(e,t){return Math.round(e+Math.random()*(t-e))}function doQuickSort(e,t,r,n){if(r<n){var s=randomIntInRange(r,n);var o=r-1;swap(e,s,n);var i=e[n];for(var a=r;a<n;a++){if(t(e[a],i)<=0){o+=1;swap(e,o,a)}}swap(e,o+1,a);var c=o+1;doQuickSort(e,t,r,c-1);doQuickSort(e,t,c+1,n)}}t.g=function(e,t){doQuickSort(e,t,0,e.length-1)}},9907:(e,t,r)=>{var n;var s=r(2492);var o=r(2326);var i=r(6934).C;var a=r(7935);var c=r(9598).g;function SourceMapConsumer(e,t){var r=e;if(typeof e==="string"){r=s.parseSourceMapInput(e)}return r.sections!=null?new IndexedSourceMapConsumer(r,t):new BasicSourceMapConsumer(r,t)}SourceMapConsumer.fromSourceMap=function(e,t){return BasicSourceMapConsumer.fromSourceMap(e,t)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(e,t){var r=e.charAt(t);return r===";"||r===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,t){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(e,t,r){var n=t||null;var o=r||SourceMapConsumer.GENERATED_ORDER;var i;switch(o){case SourceMapConsumer.GENERATED_ORDER:i=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;i.map((function(e){var t=e.source===null?null:this._sources.at(e.source);t=s.computeSourceURL(a,t,this._sourceMapURL);return{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name===null?null:this._names.at(e.name)}}),this).forEach(e,n)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(e){var t=s.getArg(e,"line");var r={source:s.getArg(e,"source"),originalLine:t,originalColumn:s.getArg(e,"column",0)};r.source=this._findSourceIndex(r.source);if(r.source<0){return[]}var n=[];var i=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",s.compareByOriginalPositions,o.LEAST_UPPER_BOUND);if(i>=0){var a=this._originalMappings[i];if(e.column===undefined){var c=a.originalLine;while(a&&a.originalLine===c){n.push({line:s.getArg(a,"generatedLine",null),column:s.getArg(a,"generatedColumn",null),lastColumn:s.getArg(a,"lastGeneratedColumn",null)});a=this._originalMappings[++i]}}else{var l=a.originalColumn;while(a&&a.originalLine===t&&a.originalColumn==l){n.push({line:s.getArg(a,"generatedLine",null),column:s.getArg(a,"generatedColumn",null),lastColumn:s.getArg(a,"lastGeneratedColumn",null)});a=this._originalMappings[++i]}}}return n};t.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(e,t){var r=e;if(typeof e==="string"){r=s.parseSourceMapInput(e)}var n=s.getArg(r,"version");var o=s.getArg(r,"sources");var a=s.getArg(r,"names",[]);var c=s.getArg(r,"sourceRoot",null);var l=s.getArg(r,"sourcesContent",null);var u=s.getArg(r,"mappings");var A=s.getArg(r,"file",null);if(n!=this._version){throw new Error("Unsupported version: "+n)}if(c){c=s.normalize(c)}o=o.map(String).map(s.normalize).map((function(e){return c&&s.isAbsolute(c)&&s.isAbsolute(e)?s.relative(c,e):e}));this._names=i.fromArray(a.map(String),true);this._sources=i.fromArray(o,true);this._absoluteSources=this._sources.toArray().map((function(e){return s.computeSourceURL(c,e,t)}));this.sourceRoot=c;this.sourcesContent=l;this._mappings=u;this._sourceMapURL=t;this.file=A}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(e){var t=e;if(this.sourceRoot!=null){t=s.relative(this.sourceRoot,t)}if(this._sources.has(t)){return this._sources.indexOf(t)}var r;for(r=0;r<this._absoluteSources.length;++r){if(this._absoluteSources[r]==e){return r}}return-1};BasicSourceMapConsumer.fromSourceMap=function SourceMapConsumer_fromSourceMap(e,t){var r=Object.create(BasicSourceMapConsumer.prototype);var n=r._names=i.fromArray(e._names.toArray(),true);var o=r._sources=i.fromArray(e._sources.toArray(),true);r.sourceRoot=e._sourceRoot;r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot);r.file=e._file;r._sourceMapURL=t;r._absoluteSources=r._sources.toArray().map((function(e){return s.computeSourceURL(r.sourceRoot,e,t)}));var a=e._mappings.toArray().slice();var l=r.__generatedMappings=[];var u=r.__originalMappings=[];for(var A=0,d=a.length;A<d;A++){var p=a[A];var m=new Mapping;m.generatedLine=p.generatedLine;m.generatedColumn=p.generatedColumn;if(p.source){m.source=o.indexOf(p.source);m.originalLine=p.originalLine;m.originalColumn=p.originalColumn;if(p.name){m.name=n.indexOf(p.name)}u.push(m)}l.push(m)}c(r.__originalMappings,s.compareByOriginalPositions);return r};BasicSourceMapConsumer.prototype._version=3;Object.defineProperty(BasicSourceMapConsumer.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Mapping(){this.generatedLine=0;this.generatedColumn=0;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}BasicSourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,t){var r=1;var n=0;var o=0;var i=0;var l=0;var u=0;var A=e.length;var d=0;var p={};var m={};var h=[];var g=[];var f,E,y,C,I;while(d<A){if(e.charAt(d)===";"){r++;d++;n=0}else if(e.charAt(d)===","){d++}else{f=new Mapping;f.generatedLine=r;for(C=d;C<A;C++){if(this._charIsMappingSeparator(e,C)){break}}E=e.slice(d,C);y=p[E];if(y){d+=E.length}else{y=[];while(d<C){a.decode(e,d,m);I=m.value;d=m.rest;y.push(I)}if(y.length===2){throw new Error("Found a source, but no line and column")}if(y.length===3){throw new Error("Found a source and line, but no column")}p[E]=y}f.generatedColumn=n+y[0];n=f.generatedColumn;if(y.length>1){f.source=l+y[1];l+=y[1];f.originalLine=o+y[2];o=f.originalLine;f.originalLine+=1;f.originalColumn=i+y[3];i=f.originalColumn;if(y.length>4){f.name=u+y[4];u+=y[4]}}g.push(f);if(typeof f.originalLine==="number"){h.push(f)}}}c(g,s.compareByGeneratedPositionsDeflated);this.__generatedMappings=g;c(h,s.compareByOriginalPositions);this.__originalMappings=h};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(e,t,r,n,s,i){if(e[r]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+e[r])}if(e[n]<0){throw new TypeError("Column must be greater than or equal to 0, got "+e[n])}return o.search(e,t,s,i)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(t.generatedLine===r.generatedLine){t.lastGeneratedColumn=r.generatedColumn-1;continue}}t.lastGeneratedColumn=Infinity}};BasicSourceMapConsumer.prototype.originalPositionFor=function SourceMapConsumer_originalPositionFor(e){var t={generatedLine:s.getArg(e,"line"),generatedColumn:s.getArg(e,"column")};var r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",s.compareByGeneratedPositionsDeflated,s.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(r>=0){var n=this._generatedMappings[r];if(n.generatedLine===t.generatedLine){var o=s.getArg(n,"source",null);if(o!==null){o=this._sources.at(o);o=s.computeSourceURL(this.sourceRoot,o,this._sourceMapURL)}var i=s.getArg(n,"name",null);if(i!==null){i=this._names.at(i)}return{source:o,line:s.getArg(n,"originalLine",null),column:s.getArg(n,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return e==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(e,t){if(!this.sourcesContent){return null}var r=this._findSourceIndex(e);if(r>=0){return this.sourcesContent[r]}var n=e;if(this.sourceRoot!=null){n=s.relative(this.sourceRoot,n)}var o;if(this.sourceRoot!=null&&(o=s.urlParse(this.sourceRoot))){var i=n.replace(/^file:\/\//,"");if(o.scheme=="file"&&this._sources.has(i)){return this.sourcesContent[this._sources.indexOf(i)]}if((!o.path||o.path=="/")&&this._sources.has("/"+n)){return this.sourcesContent[this._sources.indexOf("/"+n)]}}if(t){return null}else{throw new Error('"'+n+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(e){var t=s.getArg(e,"source");t=this._findSourceIndex(t);if(t<0){return{line:null,column:null,lastColumn:null}}var r={source:t,originalLine:s.getArg(e,"line"),originalColumn:s.getArg(e,"column")};var n=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",s.compareByOriginalPositions,s.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(n>=0){var o=this._originalMappings[n];if(o.source===r.source){return{line:s.getArg(o,"generatedLine",null),column:s.getArg(o,"generatedColumn",null),lastColumn:s.getArg(o,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};n=BasicSourceMapConsumer;function IndexedSourceMapConsumer(e,t){var r=e;if(typeof e==="string"){r=s.parseSourceMapInput(e)}var n=s.getArg(r,"version");var o=s.getArg(r,"sections");if(n!=this._version){throw new Error("Unsupported version: "+n)}this._sources=new i;this._names=new i;var a={line:-1,column:0};this._sections=o.map((function(e){if(e.url){throw new Error("Support for url field in sections not implemented.")}var r=s.getArg(e,"offset");var n=s.getArg(r,"line");var o=s.getArg(r,"column");if(n<a.line||n===a.line&&o<a.column){throw new Error("Section offsets must be ordered and non-overlapping.")}a=r;return{generatedOffset:{generatedLine:n+1,generatedColumn:o+1},consumer:new SourceMapConsumer(s.getArg(e,"map"),t)}}))}IndexedSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);IndexedSourceMapConsumer.prototype.constructor=SourceMapConsumer;IndexedSourceMapConsumer.prototype._version=3;Object.defineProperty(IndexedSourceMapConsumer.prototype,"sources",{get:function(){var e=[];for(var t=0;t<this._sections.length;t++){for(var r=0;r<this._sections[t].consumer.sources.length;r++){e.push(this._sections[t].consumer.sources[r])}}return e}});IndexedSourceMapConsumer.prototype.originalPositionFor=function IndexedSourceMapConsumer_originalPositionFor(e){var t={generatedLine:s.getArg(e,"line"),generatedColumn:s.getArg(e,"column")};var r=o.search(t,this._sections,(function(e,t){var r=e.generatedLine-t.generatedOffset.generatedLine;if(r){return r}return e.generatedColumn-t.generatedOffset.generatedColumn}));var n=this._sections[r];if(!n){return{source:null,line:null,column:null,name:null}}return n.consumer.originalPositionFor({line:t.generatedLine-(n.generatedOffset.generatedLine-1),column:t.generatedColumn-(n.generatedOffset.generatedLine===t.generatedLine?n.generatedOffset.generatedColumn-1:0),bias:e.bias})};IndexedSourceMapConsumer.prototype.hasContentsOfAllSources=function IndexedSourceMapConsumer_hasContentsOfAllSources(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))};IndexedSourceMapConsumer.prototype.sourceContentFor=function IndexedSourceMapConsumer_sourceContentFor(e,t){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];var s=n.consumer.sourceContentFor(e,true);if(s){return s}}if(t){return null}else{throw new Error('"'+e+'" is not in the SourceMap.')}};IndexedSourceMapConsumer.prototype.generatedPositionFor=function IndexedSourceMapConsumer_generatedPositionFor(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(r.consumer._findSourceIndex(s.getArg(e,"source"))===-1){continue}var n=r.consumer.generatedPositionFor(e);if(n){var o={line:n.line+(r.generatedOffset.generatedLine-1),column:n.column+(r.generatedOffset.generatedLine===n.line?r.generatedOffset.generatedColumn-1:0)};return o}}return{line:null,column:null}};IndexedSourceMapConsumer.prototype._parseMappings=function IndexedSourceMapConsumer_parseMappings(e,t){this.__generatedMappings=[];this.__originalMappings=[];for(var r=0;r<this._sections.length;r++){var n=this._sections[r];var o=n.consumer._generatedMappings;for(var i=0;i<o.length;i++){var a=o[i];var l=n.consumer._sources.at(a.source);l=s.computeSourceURL(n.consumer.sourceRoot,l,this._sourceMapURL);this._sources.add(l);l=this._sources.indexOf(l);var u=null;if(a.name){u=n.consumer._names.at(a.name);this._names.add(u);u=this._names.indexOf(u)}var A={source:l,generatedLine:a.generatedLine+(n.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(n.generatedOffset.generatedLine===a.generatedLine?n.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:u};this.__generatedMappings.push(A);if(typeof A.originalLine==="number"){this.__originalMappings.push(A)}}}c(this.__generatedMappings,s.compareByGeneratedPositionsDeflated);c(this.__originalMappings,s.compareByOriginalPositions)};n=IndexedSourceMapConsumer},2574:(e,t,r)=>{var n=r(7935);var s=r(2492);var o=r(6934).C;var i=r(2861).P;function SourceMapGenerator(e){if(!e){e={}}this._file=s.getArg(e,"file",null);this._sourceRoot=s.getArg(e,"sourceRoot",null);this._skipValidation=s.getArg(e,"skipValidation",false);this._sources=new o;this._names=new o;this._mappings=new i;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(e){var t=e.sourceRoot;var r=new SourceMapGenerator({file:e.file,sourceRoot:t});e.eachMapping((function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){n.source=e.source;if(t!=null){n.source=s.relative(t,n.source)}n.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){n.name=e.name}}r.addMapping(n)}));e.sources.forEach((function(n){var o=n;if(t!==null){o=s.relative(t,n)}if(!r._sources.has(o)){r._sources.add(o)}var i=e.sourceContentFor(n);if(i!=null){r.setSourceContent(n,i)}}));return r};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(e){var t=s.getArg(e,"generated");var r=s.getArg(e,"original",null);var n=s.getArg(e,"source",null);var o=s.getArg(e,"name",null);if(!this._skipValidation){this._validateMapping(t,r,n,o)}if(n!=null){n=String(n);if(!this._sources.has(n)){this._sources.add(n)}}if(o!=null){o=String(o);if(!this._names.has(o)){this._names.add(o)}}this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:n,name:o})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(e,t){var r=e;if(this._sourceRoot!=null){r=s.relative(this._sourceRoot,r)}if(t!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[s.toSetString(r)]=t}else if(this._sourcesContents){delete this._sourcesContents[s.toSetString(r)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(e,t,r){var n=t;if(t==null){if(e.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}n=e.file}var i=this._sourceRoot;if(i!=null){n=s.relative(i,n)}var a=new o;var c=new o;this._mappings.unsortedForEach((function(t){if(t.source===n&&t.originalLine!=null){var o=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});if(o.source!=null){t.source=o.source;if(r!=null){t.source=s.join(r,t.source)}if(i!=null){t.source=s.relative(i,t.source)}t.originalLine=o.line;t.originalColumn=o.column;if(o.name!=null){t.name=o.name}}}var l=t.source;if(l!=null&&!a.has(l)){a.add(l)}var u=t.name;if(u!=null&&!c.has(u)){c.add(u)}}),this);this._sources=a;this._names=c;e.sources.forEach((function(t){var n=e.sourceContentFor(t);if(n!=null){if(r!=null){t=s.join(r,t)}if(i!=null){t=s.relative(i,t)}this.setSourceContent(t,n)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(e,t,r,n){if(t&&typeof t.line!=="number"&&typeof t.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!r&&!n){return}else if(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:n}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var e=0;var t=1;var r=0;var o=0;var i=0;var a=0;var c="";var l;var u;var A;var d;var p=this._mappings.toArray();for(var m=0,h=p.length;m<h;m++){u=p[m];l="";if(u.generatedLine!==t){e=0;while(u.generatedLine!==t){l+=";";t++}}else{if(m>0){if(!s.compareByGeneratedPositionsInflated(u,p[m-1])){continue}l+=","}}l+=n.encode(u.generatedColumn-e);e=u.generatedColumn;if(u.source!=null){d=this._sources.indexOf(u.source);l+=n.encode(d-a);a=d;l+=n.encode(u.originalLine-1-o);o=u.originalLine-1;l+=n.encode(u.originalColumn-r);r=u.originalColumn;if(u.name!=null){A=this._names.indexOf(u.name);l+=n.encode(A-i);i=A}}c+=l}return c};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(e,t){return e.map((function(e){if(!this._sourcesContents){return null}if(t!=null){e=s.relative(t,e)}var r=s.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){e.file=this._file}if(this._sourceRoot!=null){e.sourceRoot=this._sourceRoot}if(this._sourcesContents){e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)}return e};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};t.SourceMapGenerator=SourceMapGenerator},9706:(e,t,r)=>{var n=r(2574).SourceMapGenerator;var s=r(2492);var o=/(\r?\n)/;var i=10;var a="$$$isSourceNode$$$";function SourceNode(e,t,r,n,s){this.children=[];this.sourceContents={};this.line=e==null?null:e;this.column=t==null?null:t;this.source=r==null?null:r;this.name=s==null?null:s;this[a]=true;if(n!=null)this.add(n)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(e,t,r){var n=new SourceNode;var i=e.split(o);var a=0;var shiftNextLine=function(){var e=getNextLine();var t=getNextLine()||"";return e+t;function getNextLine(){return a<i.length?i[a++]:undefined}};var c=1,l=0;var u=null;t.eachMapping((function(e){if(u!==null){if(c<e.generatedLine){addMappingWithCode(u,shiftNextLine());c++;l=0}else{var t=i[a]||"";var r=t.substr(0,e.generatedColumn-l);i[a]=t.substr(e.generatedColumn-l);l=e.generatedColumn;addMappingWithCode(u,r);u=e;return}}while(c<e.generatedLine){n.add(shiftNextLine());c++}if(l<e.generatedColumn){var t=i[a]||"";n.add(t.substr(0,e.generatedColumn));i[a]=t.substr(e.generatedColumn);l=e.generatedColumn}u=e}),this);if(a<i.length){if(u){addMappingWithCode(u,shiftNextLine())}n.add(i.splice(a).join(""))}t.sources.forEach((function(e){var o=t.sourceContentFor(e);if(o!=null){if(r!=null){e=s.join(r,e)}n.setSourceContent(e,o)}}));return n;function addMappingWithCode(e,t){if(e===null||e.source===undefined){n.add(t)}else{var o=r?s.join(r,e.source):e.source;n.add(new SourceNode(e.originalLine,e.originalColumn,o,t,e.name))}}};SourceNode.prototype.add=function SourceNode_add(e){if(Array.isArray(e)){e.forEach((function(e){this.add(e)}),this)}else if(e[a]||typeof e==="string"){if(e){this.children.push(e)}}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};SourceNode.prototype.prepend=function SourceNode_prepend(e){if(Array.isArray(e)){for(var t=e.length-1;t>=0;t--){this.prepend(e[t])}}else if(e[a]||typeof e==="string"){this.children.unshift(e)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};SourceNode.prototype.walk=function SourceNode_walk(e){var t;for(var r=0,n=this.children.length;r<n;r++){t=this.children[r];if(t[a]){t.walk(e)}else{if(t!==""){e(t,{source:this.source,line:this.line,column:this.column,name:this.name})}}}};SourceNode.prototype.join=function SourceNode_join(e){var t;var r;var n=this.children.length;if(n>0){t=[];for(r=0;r<n-1;r++){t.push(this.children[r]);t.push(e)}t.push(this.children[r]);this.children=t}return this};SourceNode.prototype.replaceRight=function SourceNode_replaceRight(e,t){var r=this.children[this.children.length-1];if(r[a]){r.replaceRight(e,t)}else if(typeof r==="string"){this.children[this.children.length-1]=r.replace(e,t)}else{this.children.push("".replace(e,t))}return this};SourceNode.prototype.setSourceContent=function SourceNode_setSourceContent(e,t){this.sourceContents[s.toSetString(e)]=t};SourceNode.prototype.walkSourceContents=function SourceNode_walkSourceContents(e){for(var t=0,r=this.children.length;t<r;t++){if(this.children[t][a]){this.children[t].walkSourceContents(e)}}var n=Object.keys(this.sourceContents);for(var t=0,r=n.length;t<r;t++){e(s.fromSetString(n[t]),this.sourceContents[n[t]])}};SourceNode.prototype.toString=function SourceNode_toString(){var e="";this.walk((function(t){e+=t}));return e};SourceNode.prototype.toStringWithSourceMap=function SourceNode_toStringWithSourceMap(e){var t={code:"",line:1,column:0};var r=new n(e);var s=false;var o=null;var a=null;var c=null;var l=null;this.walk((function(e,n){t.code+=e;if(n.source!==null&&n.line!==null&&n.column!==null){if(o!==n.source||a!==n.line||c!==n.column||l!==n.name){r.addMapping({source:n.source,original:{line:n.line,column:n.column},generated:{line:t.line,column:t.column},name:n.name})}o=n.source;a=n.line;c=n.column;l=n.name;s=true}else if(s){r.addMapping({generated:{line:t.line,column:t.column}});o=null;s=false}for(var u=0,A=e.length;u<A;u++){if(e.charCodeAt(u)===i){t.line++;t.column=0;if(u+1===A){o=null;s=false}else if(s){r.addMapping({source:n.source,original:{line:n.line,column:n.column},generated:{line:t.line,column:t.column},name:n.name})}}else{t.column++}}}));this.walkSourceContents((function(e,t){r.setSourceContent(e,t)}));return{code:t.code,map:r}};t.SourceNode=SourceNode},2492:(e,t)=>{function getArg(e,t,r){if(t in e){return e[t]}else if(arguments.length===3){return r}else{throw new Error('"'+t+'" is a required argument.')}}t.getArg=getArg;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var n=/^data:.+\,.+$/;function urlParse(e){var t=e.match(r);if(!t){return null}return{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}}t.urlParse=urlParse;function urlGenerate(e){var t="";if(e.scheme){t+=e.scheme+":"}t+="//";if(e.auth){t+=e.auth+"@"}if(e.host){t+=e.host}if(e.port){t+=":"+e.port}if(e.path){t+=e.path}return t}t.urlGenerate=urlGenerate;function normalize(e){var r=e;var n=urlParse(e);if(n){if(!n.path){return e}r=n.path}var s=t.isAbsolute(r);var o=r.split(/\/+/);for(var i,a=0,c=o.length-1;c>=0;c--){i=o[c];if(i==="."){o.splice(c,1)}else if(i===".."){a++}else if(a>0){if(i===""){o.splice(c+1,a);a=0}else{o.splice(c,2);a--}}}r=o.join("/");if(r===""){r=s?"/":"."}if(n){n.path=r;return urlGenerate(n)}return r}t.normalize=normalize;function join(e,t){if(e===""){e="."}if(t===""){t="."}var r=urlParse(t);var s=urlParse(e);if(s){e=s.path||"/"}if(r&&!r.scheme){if(s){r.scheme=s.scheme}return urlGenerate(r)}if(r||t.match(n)){return t}if(s&&!s.host&&!s.path){s.host=t;return urlGenerate(s)}var o=t.charAt(0)==="/"?t:normalize(e.replace(/\/+$/,"")+"/"+t);if(s){s.path=o;return urlGenerate(s)}return o}t.join=join;t.isAbsolute=function(e){return e.charAt(0)==="/"||r.test(e)};function relative(e,t){if(e===""){e="."}e=e.replace(/\/$/,"");var r=0;while(t.indexOf(e+"/")!==0){var n=e.lastIndexOf("/");if(n<0){return t}e=e.slice(0,n);if(e.match(/^([^\/]+:\/)?\/*$/)){return t}++r}return Array(r+1).join("../")+t.substr(e.length+1)}t.relative=relative;var s=function(){var e=Object.create(null);return!("__proto__"in e)}();function identity(e){return e}function toSetString(e){if(isProtoString(e)){return"$"+e}return e}t.toSetString=s?identity:toSetString;function fromSetString(e){if(isProtoString(e)){return e.slice(1)}return e}t.fromSetString=s?identity:fromSetString;function isProtoString(e){if(!e){return false}var t=e.length;if(t<9){return false}if(e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95){return false}for(var r=t-10;r>=0;r--){if(e.charCodeAt(r)!==36){return false}}return true}function compareByOriginalPositions(e,t,r){var n=strcmp(e.source,t.source);if(n!==0){return n}n=e.originalLine-t.originalLine;if(n!==0){return n}n=e.originalColumn-t.originalColumn;if(n!==0||r){return n}n=e.generatedColumn-t.generatedColumn;if(n!==0){return n}n=e.generatedLine-t.generatedLine;if(n!==0){return n}return strcmp(e.name,t.name)}t.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(e,t,r){var n=e.generatedLine-t.generatedLine;if(n!==0){return n}n=e.generatedColumn-t.generatedColumn;if(n!==0||r){return n}n=strcmp(e.source,t.source);if(n!==0){return n}n=e.originalLine-t.originalLine;if(n!==0){return n}n=e.originalColumn-t.originalColumn;if(n!==0){return n}return strcmp(e.name,t.name)}t.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(e,t){if(e===t){return 0}if(e===null){return 1}if(t===null){return-1}if(e>t){return 1}return-1}function compareByGeneratedPositionsInflated(e,t){var r=e.generatedLine-t.generatedLine;if(r!==0){return r}r=e.generatedColumn-t.generatedColumn;if(r!==0){return r}r=strcmp(e.source,t.source);if(r!==0){return r}r=e.originalLine-t.originalLine;if(r!==0){return r}r=e.originalColumn-t.originalColumn;if(r!==0){return r}return strcmp(e.name,t.name)}t.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(e,t,r){t=t||"";if(e){if(e[e.length-1]!=="/"&&t[0]!=="/"){e+="/"}t=e+t}if(r){var n=urlParse(r);if(!n){throw new Error("sourceMapURL could not be parsed")}if(n.path){var s=n.path.lastIndexOf("/");if(s>=0){n.path=n.path.substring(0,s+1)}}t=join(urlGenerate(n),t)}return normalize(t)}t.computeSourceURL=computeSourceURL},2618:(e,t,r)=>{t.SourceMapGenerator=r(2574).SourceMapGenerator;t.SourceMapConsumer=r(9907).SourceMapConsumer;t.SourceNode=r(9706).SourceNode},1450:(e,t,r)=>{const n=r(857);const s=r(2018);const o=r(3813);const{env:i}=process;let a;if(o("no-color")||o("no-colors")||o("color=false")||o("color=never")){a=0}else if(o("color")||o("colors")||o("color=true")||o("color=always")){a=1}if("FORCE_COLOR"in i){if(i.FORCE_COLOR==="true"){a=1}else if(i.FORCE_COLOR==="false"){a=0}else{a=i.FORCE_COLOR.length===0?1:Math.min(parseInt(i.FORCE_COLOR,10),3)}}function translateLevel(e){if(e===0){return false}return{level:e,hasBasic:true,has256:e>=2,has16m:e>=3}}function supportsColor(e,t){if(a===0){return 0}if(o("color=16m")||o("color=full")||o("color=truecolor")){return 3}if(o("color=256")){return 2}if(e&&!t&&a===undefined){return 0}const r=a||0;if(i.TERM==="dumb"){return r}if(process.platform==="win32"){const e=n.release().split(".");if(Number(e[0])>=10&&Number(e[2])>=10586){return Number(e[2])>=14931?3:2}return 1}if("CI"in i){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in i))||i.CI_NAME==="codeship"){return 1}return r}if("TEAMCITY_VERSION"in i){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0}if(i.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in i){const e=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(i.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)){return 1}if("COLORTERM"in i){return 1}return r}function getSupportLevel(e){const t=supportsColor(e,e&&e.isTTY);return translateLevel(t)}e.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,s.isatty(1))),stderr:translateLevel(supportsColor(true,s.isatty(2)))}},1288:(e,t,r)=>{var n;
/*!
* Tmp
*
* Copyright (c) 2011-2017 KARASZI Istvan <github@spam.raszi.hu>
*
* MIT Licensed
*/const s=r(9896);const o=r(857);const i=r(6928);const a=r(6982);const c={fs:s.constants,os:o.constants};const l="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",u=/XXXXXX/,A=3,d=(c.O_CREAT||c.fs.O_CREAT)|(c.O_EXCL||c.fs.O_EXCL)|(c.O_RDWR||c.fs.O_RDWR),p=o.platform()==="win32",m=c.EBADF||c.os.errno.EBADF,h=c.ENOENT||c.os.errno.ENOENT,g=448,f=384,E="exit",y=[],C=s.rmdirSync.bind(s);let I=false;function rimraf(e,t){return s.rm(e,{recursive:true},t)}function FN_RIMRAF_SYNC(e){return s.rmSync(e,{recursive:true})}function tmpName(e,t){const r=_parseArguments(e,t),n=r[0],o=r[1];_assertAndSanitizeOptions(n,(function(e,t){if(e)return o(e);let r=t.tries;(function _getUniqueName(){try{const e=_generateTmpName(t);s.stat(e,(function(t){if(!t){if(r-- >0)return _getUniqueName();return o(new Error("Could not get a unique tmp filename, max tries reached "+e))}o(null,e)}))}catch(e){o(e)}})()}))}function tmpNameSync(e){const t=_parseArguments(e),r=t[0];const n=_assertAndSanitizeOptionsSync(r);let o=n.tries;do{const e=_generateTmpName(n);try{s.statSync(e)}catch(t){return e}}while(o-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function file(e,t){const r=_parseArguments(e,t),n=r[0],o=r[1];tmpName(n,(function _tmpNameCreated(e,t){if(e)return o(e);s.open(t,d,n.mode||f,(function _fileCreated(e,r){if(e)return o(e);if(n.discardDescriptor){return s.close(r,(function _discardCallback(e){return o(e,t,undefined,_prepareTmpFileRemoveCallback(t,-1,n,false))}))}else{const e=n.discardDescriptor||n.detachDescriptor;o(null,t,r,_prepareTmpFileRemoveCallback(t,e?-1:r,n,false))}}))}))}function fileSync(e){const t=_parseArguments(e),r=t[0];const n=r.discardDescriptor||r.detachDescriptor;const o=tmpNameSync(r);let i=s.openSync(o,d,r.mode||f);if(r.discardDescriptor){s.closeSync(i);i=undefined}return{name:o,fd:i,removeCallback:_prepareTmpFileRemoveCallback(o,n?-1:i,r,true)}}function dir(e,t){const r=_parseArguments(e,t),n=r[0],o=r[1];tmpName(n,(function _tmpNameCreated(e,t){if(e)return o(e);s.mkdir(t,n.mode||g,(function _dirCreated(e){if(e)return o(e);o(null,t,_prepareTmpDirRemoveCallback(t,n,false))}))}))}function dirSync(e){const t=_parseArguments(e),r=t[0];const n=tmpNameSync(r);s.mkdirSync(n,r.mode||g);return{name:n,removeCallback:_prepareTmpDirRemoveCallback(n,r,true)}}function _removeFileAsync(e,t){const _handler=function(e){if(e&&!_isENOENT(e)){return t(e)}t()};if(0<=e[0])s.close(e[0],(function(){s.unlink(e[1],_handler)}));else s.unlink(e[1],_handler)}function _removeFileSync(e){let t=null;try{if(0<=e[0])s.closeSync(e[0])}catch(e){if(!_isEBADF(e)&&!_isENOENT(e))throw e}finally{try{s.unlinkSync(e[1])}catch(e){if(!_isENOENT(e))t=e}}if(t!==null){throw t}}function _prepareTmpFileRemoveCallback(e,t,r,n){const s=_prepareRemoveCallback(_removeFileSync,[t,e],n);const o=_prepareRemoveCallback(_removeFileAsync,[t,e],n,s);if(!r.keep)y.unshift(s);return n?s:o}function _prepareTmpDirRemoveCallback(e,t,r){const n=t.unsafeCleanup?rimraf:s.rmdir.bind(s);const o=t.unsafeCleanup?FN_RIMRAF_SYNC:C;const i=_prepareRemoveCallback(o,e,r);const a=_prepareRemoveCallback(n,e,r,i);if(!t.keep)y.unshift(i);return r?i:a}function _prepareRemoveCallback(e,t,r,n){let s=false;return function _cleanupCallback(o){if(!s){const i=n||_cleanupCallback;const a=y.indexOf(i);if(a>=0)y.splice(a,1);s=true;if(r||e===C||e===FN_RIMRAF_SYNC){return e(t)}else{return e(t,o||function(){})}}}}function _garbageCollector(){if(!I)return;while(y.length){try{y[0]()}catch(e){}}}function _randomChars(e){let t=[],r=null;try{r=a.randomBytes(e)}catch(t){r=a.pseudoRandomBytes(e)}for(let n=0;n<e;n++){t.push(l[r[n]%l.length])}return t.join("")}function _isUndefined(e){return typeof e==="undefined"}function _parseArguments(e,t){if(typeof e==="function"){return[{},e]}if(_isUndefined(e)){return[{},t]}const r={};for(const t of Object.getOwnPropertyNames(e)){r[t]=e[t]}return[r,t]}function _resolvePath(e,t,r){const n=i.isAbsolute(e)?e:i.join(t,e);s.stat(n,(function(e){if(e){s.realpath(i.dirname(n),(function(e,t){if(e)return r(e);r(null,i.join(t,i.basename(n)))}))}else{s.realpath(n,r)}}))}function _resolvePathSync(e,t){const r=i.isAbsolute(e)?e:i.join(t,e);try{s.statSync(r);return s.realpathSync(r)}catch(e){const t=s.realpathSync(i.dirname(r));return i.join(t,i.basename(r))}}function _generateTmpName(e){const t=e.tmpdir;if(!_isUndefined(e.name)){return i.join(t,e.dir,e.name)}if(!_isUndefined(e.template)){return i.join(t,e.dir,e.template).replace(u,_randomChars(6))}const r=[e.prefix?e.prefix:"tmp","-",process.pid,"-",_randomChars(12),e.postfix?"-"+e.postfix:""].join("");return i.join(t,e.dir,r)}function _assertOptionsBase(e){if(!_isUndefined(e.name)){const t=e.name;if(i.isAbsolute(t))throw new Error(`name option must not contain an absolute path, found "${t}".`);const r=i.basename(t);if(r===".."||r==="."||r!==t)throw new Error(`name option must not contain a path, found "${t}".`)}if(!_isUndefined(e.template)&&!e.template.match(u)){throw new Error(`Invalid template, found "${e.template}".`)}if(!_isUndefined(e.tries)&&isNaN(e.tries)||e.tries<0){throw new Error(`Invalid tries, found "${e.tries}".`)}e.tries=_isUndefined(e.name)?e.tries||A:1;e.keep=!!e.keep;e.detachDescriptor=!!e.detachDescriptor;e.discardDescriptor=!!e.discardDescriptor;e.unsafeCleanup=!!e.unsafeCleanup;e.prefix=_isUndefined(e.prefix)?"":e.prefix;e.postfix=_isUndefined(e.postfix)?"":e.postfix}function _getRelativePath(e,t,r,n){if(_isUndefined(t))return n(null);_resolvePath(t,r,(function(t,s){if(t)return n(t);const o=i.relative(r,s);if(!s.startsWith(r)){return n(new Error(`${e} option must be relative to "${r}", found "${o}".`))}n(null,o)}))}function _getRelativePathSync(e,t,r){if(_isUndefined(t))return;const n=_resolvePathSync(t,r);const s=i.relative(r,n);if(!n.startsWith(r)){throw new Error(`${e} option must be relative to "${r}", found "${s}".`)}return s}function _assertAndSanitizeOptions(e,t){_getTmpDir(e,(function(r,n){if(r)return t(r);e.tmpdir=n;try{_assertOptionsBase(e,n)}catch(r){return t(r)}_getRelativePath("dir",e.dir,n,(function(r,s){if(r)return t(r);e.dir=_isUndefined(s)?"":s;_getRelativePath("template",e.template,n,(function(r,n){if(r)return t(r);e.template=n;t(null,e)}))}))}))}function _assertAndSanitizeOptionsSync(e){const t=e.tmpdir=_getTmpDirSync(e);_assertOptionsBase(e,t);const r=_getRelativePathSync("dir",e.dir,t);e.dir=_isUndefined(r)?"":r;e.template=_getRelativePathSync("template",e.template,t);return e}function _isEBADF(e){return _isExpectedError(e,-m,"EBADF")}function _isENOENT(e){return _isExpectedError(e,-h,"ENOENT")}function _isExpectedError(e,t,r){return p?e.code===r:e.code===r&&e.errno===t}function setGracefulCleanup(){I=true}function _getTmpDir(e,t){return s.realpath(e&&e.tmpdir||o.tmpdir(),t)}function _getTmpDirSync(e){return s.realpathSync(e&&e.tmpdir||o.tmpdir())}process.addListener(E,_garbageCollector);n={enumerable:true,configurable:false,get:function(){return _getTmpDirSync()}};n=dir;n=dirSync;n=file;n=fileSync;n=tmpName;e.exports.om=tmpNameSync;n=setGracefulCleanup},770:(e,t,r)=>{e.exports=r(218)},218:(e,t,r)=>{var n=r(9278);var s=r(4756);var o=r(8611);var i=r(5692);var a=r(4434);var c=r(2613);var l=r(9023);t.httpOverHttp=httpOverHttp;t.httpsOverHttp=httpsOverHttp;t.httpOverHttps=httpOverHttps;t.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=o.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=o.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=i.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=i.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function TunnelingAgent(e){var t=this;t.options=e||{};t.proxyOptions=t.options.proxy||{};t.maxSockets=t.options.maxSockets||o.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",(function onFree(e,r,n,s){var o=toOptions(r,n,s);for(var i=0,a=t.requests.length;i<a;++i){var c=t.requests[i];if(c.host===o.host&&c.port===o.port){t.requests.splice(i,1);c.request.onSocket(e);return}}e.destroy();t.removeSocket(e)}))}l.inherits(TunnelingAgent,a.EventEmitter);TunnelingAgent.prototype.addRequest=function addRequest(e,t,r,n){var s=this;var o=mergeOptions({request:e},s.options,toOptions(t,r,n));if(s.sockets.length>=this.maxSockets){s.requests.push(o);return}s.createSocket(o,(function(t){t.on("free",onFree);t.on("close",onCloseOrRemove);t.on("agentRemove",onCloseOrRemove);e.onSocket(t);function onFree(){s.emit("free",t,o)}function onCloseOrRemove(e){s.removeSocket(t);t.removeListener("free",onFree);t.removeListener("close",onCloseOrRemove);t.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var r=this;var n={};r.sockets.push(n);var s=mergeOptions({},r.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){s.localAddress=e.localAddress}if(s.proxyAuth){s.headers=s.headers||{};s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")}u("making CONNECT request");var o=r.request(s);o.useChunkedEncodingByDefault=false;o.once("response",onResponse);o.once("upgrade",onUpgrade);o.once("connect",onConnect);o.once("error",onError);o.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,r){process.nextTick((function(){onConnect(e,t,r)}))}function onConnect(s,i,a){o.removeAllListeners();i.removeAllListeners();if(s.statusCode!==200){u("tunneling socket could not be established, statusCode=%d",s.statusCode);i.destroy();var c=new Error("tunneling socket could not be established, "+"statusCode="+s.statusCode);c.code="ECONNRESET";e.request.emit("error",c);r.removeSocket(n);return}if(a.length>0){u("got illegal response body from proxy");i.destroy();var c=new Error("got illegal response body from proxy");c.code="ECONNRESET";e.request.emit("error",c);r.removeSocket(n);return}u("tunneling connection has established");r.sockets[r.sockets.indexOf(n)]=i;return t(i)}function onError(t){o.removeAllListeners();u("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var s=new Error("tunneling socket could not be established, "+"cause="+t.message);s.code="ECONNRESET";e.request.emit("error",s);r.removeSocket(n)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1){return}this.sockets.splice(t,1);var r=this.requests.shift();if(r){this.createSocket(r,(function(e){r.request.onSocket(e)}))}};function createSecureSocket(e,t){var r=this;TunnelingAgent.prototype.createSocket.call(r,e,(function(n){var o=e.request.getHeader("host");var i=mergeOptions({},r.options,{socket:n,servername:o?o.replace(/:.*$/,""):e.host});var a=s.connect(0,i);r.sockets[r.sockets.indexOf(n)]=a;t(a)}))}function toOptions(e,t,r){if(typeof e==="string"){return{host:e,port:t,localAddress:r}}return e}function mergeOptions(e){for(var t=1,r=arguments.length;t<r;++t){var n=arguments[t];if(typeof n==="object"){var s=Object.keys(n);for(var o=0,i=s.length;o<i;++o){var a=s[o];if(n[a]!==undefined){e[a]=n[a]}}}}return e}var u;if(process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)){u=function(){var e=Array.prototype.slice.call(arguments);if(typeof e[0]==="string"){e[0]="TUNNEL: "+e[0]}else{e.unshift("TUNNEL:")}console.error.apply(console,e)}}else{u=function(){}}t.debug=u},6752:(e,t,r)=>{const n=r(3701);const s=r(883);const o=r(628);const i=r(837);const a=r(7405);const c=r(6672);const l=r(3137);const u=r(50);const A=r(8707);const d=r(3440);const{InvalidArgumentError:p}=A;const m=r(6615);const h=r(9136);const g=r(7365);const f=r(7501);const E=r(4004);const y=r(2429);const C=r(7816);const{getGlobalDispatcher:I,setGlobalDispatcher:B}=r(2581);const b=r(8155);const w=r(8754);const S=r(5092);Object.assign(s.prototype,m);e.exports.Dispatcher=s;e.exports.Client=n;e.exports.Pool=o;e.exports.BalancedPool=i;e.exports.Agent=a;e.exports.ProxyAgent=c;e.exports.EnvHttpProxyAgent=l;e.exports.RetryAgent=u;e.exports.RetryHandler=C;e.exports.DecoratorHandler=b;e.exports.RedirectHandler=w;e.exports.createRedirectInterceptor=S;e.exports.interceptors={redirect:r(1514),retry:r(2026),dump:r(8060),dns:r(379)};e.exports.buildConnector=h;e.exports.errors=A;e.exports.util={parseHeaders:d.parseHeaders,headerNameToString:d.headerNameToString};function makeDispatcher(e){return(t,r,n)=>{if(typeof r==="function"){n=r;r=null}if(!t||typeof t!=="string"&&typeof t!=="object"&&!(t instanceof URL)){throw new p("invalid url")}if(r!=null&&typeof r!=="object"){throw new p("invalid opts")}if(r&&r.path!=null){if(typeof r.path!=="string"){throw new p("invalid opts.path")}let e=r.path;if(!r.path.startsWith("/")){e=`/${e}`}t=new URL(d.parseOrigin(t).origin+e)}else{if(!r){r=typeof t==="object"?t:{}}t=d.parseURL(t)}const{agent:s,dispatcher:o=I()}=r;if(s){throw new p("unsupported opts.agent. Did you mean opts.client?")}return e.call(o,{...r,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:r.method||(r.body?"PUT":"GET")},n)}}e.exports.setGlobalDispatcher=B;e.exports.getGlobalDispatcher=I;const Q=r(4398).fetch;e.exports.fetch=async function fetch(e,t=undefined){try{return await Q(e,t)}catch(e){if(e&&typeof e==="object"){Error.captureStackTrace(e)}throw e}};e.exports.Headers=r(660).Headers;e.exports.Response=r(9051).Response;e.exports.Request=r(9967).Request;e.exports.FormData=r(5910).FormData;e.exports.File=globalThis.File??r(4573).File;e.exports.FileReader=r(8355).FileReader;const{setGlobalOrigin:N,getGlobalOrigin:R}=r(1059);e.exports.setGlobalOrigin=N;e.exports.getGlobalOrigin=R;const{CacheStorage:v}=r(3245);const{kConstruct:x}=r(109);e.exports.caches=new v(x);const{deleteCookie:T,getCookies:k,getSetCookies:D,setCookie:_}=r(9061);e.exports.deleteCookie=T;e.exports.getCookies=k;e.exports.getSetCookies=D;e.exports.setCookie=_;const{parseMIMEType:P,serializeAMimeType:L}=r(1900);e.exports.parseMIMEType=P;e.exports.serializeAMimeType=L;const{CloseEvent:M,ErrorEvent:O,MessageEvent:F}=r(5188);e.exports.WebSocket=r(3726).WebSocket;e.exports.CloseEvent=M;e.exports.ErrorEvent=O;e.exports.MessageEvent=F;e.exports.request=makeDispatcher(m.request);e.exports.stream=makeDispatcher(m.stream);e.exports.pipeline=makeDispatcher(m.pipeline);e.exports.connect=makeDispatcher(m.connect);e.exports.upgrade=makeDispatcher(m.upgrade);e.exports.MockClient=g;e.exports.MockPool=E;e.exports.MockAgent=f;e.exports.mockErrors=y;const{EventSource:U}=r(1238);e.exports.EventSource=U},158:(e,t,r)=>{const{addAbortListener:n}=r(3440);const{RequestAbortedError:s}=r(8707);const o=Symbol("kListener");const i=Symbol("kSignal");function abort(e){if(e.abort){e.abort(e[i]?.reason)}else{e.reason=e[i]?.reason??new s}removeSignal(e)}function addSignal(e,t){e.reason=null;e[i]=null;e[o]=null;if(!t){return}if(t.aborted){abort(e);return}e[i]=t;e[o]=()=>{abort(e)};n(e[i],e[o])}function removeSignal(e){if(!e[i]){return}if("removeEventListener"in e[i]){e[i].removeEventListener("abort",e[o])}else{e[i].removeListener("abort",e[o])}e[i]=null;e[o]=null}e.exports={addSignal:addSignal,removeSignal:removeSignal}},2279:(e,t,r)=>{const n=r(4589);const{AsyncResource:s}=r(6698);const{InvalidArgumentError:o,SocketError:i}=r(8707);const a=r(3440);const{addSignal:c,removeSignal:l}=r(158);class ConnectHandler extends s{constructor(e,t){if(!e||typeof e!=="object"){throw new o("invalid opts")}if(typeof t!=="function"){throw new o("invalid callback")}const{signal:r,opaque:n,responseHeaders:s}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=n||null;this.responseHeaders=s||null;this.callback=t;this.abort=null;c(this,r)}onConnect(e,t){if(this.reason){e(this.reason);return}n(this.callback);this.abort=e;this.context=t}onHeaders(){throw new i("bad connect",null)}onUpgrade(e,t,r){const{callback:n,opaque:s,context:o}=this;l(this);this.callback=null;let i=t;if(i!=null){i=this.responseHeaders==="raw"?a.parseRawHeaders(t):a.parseHeaders(t)}this.runInAsyncScope(n,null,null,{statusCode:e,headers:i,socket:r,opaque:s,context:o})}onError(e){const{callback:t,opaque:r}=this;l(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:r})}))}}}function connect(e,t){if(t===undefined){return new Promise(((t,r)=>{connect.call(this,e,((e,n)=>e?r(e):t(n)))}))}try{const r=new ConnectHandler(e,t);this.dispatch({...e,method:"CONNECT"},r)}catch(r){if(typeof t!=="function"){throw r}const n=e?.opaque;queueMicrotask((()=>t(r,{opaque:n})))}}e.exports=connect},6862:(e,t,r)=>{const{Readable:n,Duplex:s,PassThrough:o}=r(7075);const{InvalidArgumentError:i,InvalidReturnValueError:a,RequestAbortedError:c}=r(8707);const l=r(3440);const{AsyncResource:u}=r(6698);const{addSignal:A,removeSignal:d}=r(158);const p=r(4589);const m=Symbol("resume");class PipelineRequest extends n{constructor(){super({autoDestroy:true});this[m]=null}_read(){const{[m]:e}=this;if(e){this[m]=null;e()}}_destroy(e,t){this._read();t(e)}}class PipelineResponse extends n{constructor(e){super({autoDestroy:true});this[m]=e}_read(){this[m]()}_destroy(e,t){if(!e&&!this._readableState.endEmitted){e=new c}t(e)}}class PipelineHandler extends u{constructor(e,t){if(!e||typeof e!=="object"){throw new i("invalid opts")}if(typeof t!=="function"){throw new i("invalid handler")}const{signal:r,method:n,opaque:o,onInfo:a,responseHeaders:u}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new i("signal must be an EventEmitter or EventTarget")}if(n==="CONNECT"){throw new i("invalid method")}if(a&&typeof a!=="function"){throw new i("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=o||null;this.responseHeaders=u||null;this.handler=t;this.abort=null;this.context=null;this.onInfo=a||null;this.req=(new PipelineRequest).on("error",l.nop);this.ret=new s({readableObjectMode:e.objectMode,autoDestroy:true,read:()=>{const{body:e}=this;if(e?.resume){e.resume()}},write:(e,t,r)=>{const{req:n}=this;if(n.push(e,t)||n._readableState.destroyed){r()}else{n[m]=r}},destroy:(e,t)=>{const{body:r,req:n,res:s,ret:o,abort:i}=this;if(!e&&!o._readableState.endEmitted){e=new c}if(i&&e){i()}l.destroy(r,e);l.destroy(n,e);l.destroy(s,e);d(this);t(e)}}).on("prefinish",(()=>{const{req:e}=this;e.push(null)}));this.res=null;A(this,r)}onConnect(e,t){const{ret:r,res:n}=this;if(this.reason){e(this.reason);return}p(!n,"pipeline cannot be retried");p(!r.destroyed);this.abort=e;this.context=t}onHeaders(e,t,r){const{opaque:n,handler:s,context:o}=this;if(e<200){if(this.onInfo){const r=this.responseHeaders==="raw"?l.parseRawHeaders(t):l.parseHeaders(t);this.onInfo({statusCode:e,headers:r})}return}this.res=new PipelineResponse(r);let i;try{this.handler=null;const r=this.responseHeaders==="raw"?l.parseRawHeaders(t):l.parseHeaders(t);i=this.runInAsyncScope(s,null,{statusCode:e,headers:r,opaque:n,body:this.res,context:o})}catch(e){this.res.on("error",l.nop);throw e}if(!i||typeof i.on!=="function"){throw new a("expected Readable")}i.on("data",(e=>{const{ret:t,body:r}=this;if(!t.push(e)&&r.pause){r.pause()}})).on("error",(e=>{const{ret:t}=this;l.destroy(t,e)})).on("end",(()=>{const{ret:e}=this;e.push(null)})).on("close",(()=>{const{ret:e}=this;if(!e._readableState.ended){l.destroy(e,new c)}}));this.body=i}onData(e){const{res:t}=this;return t.push(e)}onComplete(e){const{res:t}=this;t.push(null)}onError(e){const{ret:t}=this;this.handler=null;l.destroy(t,e)}}function pipeline(e,t){try{const r=new PipelineHandler(e,t);this.dispatch({...e,body:r.req},r);return r.ret}catch(e){return(new o).destroy(e)}}e.exports=pipeline},4043:(e,t,r)=>{const n=r(4589);const{Readable:s}=r(9927);const{InvalidArgumentError:o,RequestAbortedError:i}=r(8707);const a=r(3440);const{getResolveErrorBodyCallback:c}=r(7655);const{AsyncResource:l}=r(6698);class RequestHandler extends l{constructor(e,t){if(!e||typeof e!=="object"){throw new o("invalid opts")}const{signal:r,method:n,opaque:s,body:c,onInfo:l,responseHeaders:u,throwOnError:A,highWaterMark:d}=e;try{if(typeof t!=="function"){throw new o("invalid callback")}if(d&&(typeof d!=="number"||d<0)){throw new o("invalid highWaterMark")}if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new o("signal must be an EventEmitter or EventTarget")}if(n==="CONNECT"){throw new o("invalid method")}if(l&&typeof l!=="function"){throw new o("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(e){if(a.isStream(c)){a.destroy(c.on("error",a.nop),e)}throw e}this.method=n;this.responseHeaders=u||null;this.opaque=s||null;this.callback=t;this.res=null;this.abort=null;this.body=c;this.trailers={};this.context=null;this.onInfo=l||null;this.throwOnError=A;this.highWaterMark=d;this.signal=r;this.reason=null;this.removeAbortListener=null;if(a.isStream(c)){c.on("error",(e=>{this.onError(e)}))}if(this.signal){if(this.signal.aborted){this.reason=this.signal.reason??new i}else{this.removeAbortListener=a.addAbortListener(this.signal,(()=>{this.reason=this.signal.reason??new i;if(this.res){a.destroy(this.res.on("error",a.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(e,t){if(this.reason){e(this.reason);return}n(this.callback);this.abort=e;this.context=t}onHeaders(e,t,r,n){const{callback:o,opaque:i,abort:l,context:u,responseHeaders:A,highWaterMark:d}=this;const p=A==="raw"?a.parseRawHeaders(t):a.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:p})}return}const m=A==="raw"?a.parseHeaders(t):p;const h=m["content-type"];const g=m["content-length"];const f=new s({resume:r,abort:l,contentType:h,contentLength:this.method!=="HEAD"&&g?Number(g):null,highWaterMark:d});if(this.removeAbortListener){f.on("close",this.removeAbortListener)}this.callback=null;this.res=f;if(o!==null){if(this.throwOnError&&e>=400){this.runInAsyncScope(c,null,{callback:o,body:f,contentType:h,statusCode:e,statusMessage:n,headers:p})}else{this.runInAsyncScope(o,null,null,{statusCode:e,headers:p,trailers:this.trailers,opaque:i,body:f,context:u})}}}onData(e){return this.res.push(e)}onComplete(e){a.parseHeaders(e,this.trailers);this.res.push(null)}onError(e){const{res:t,callback:r,body:n,opaque:s}=this;if(r){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}if(t){this.res=null;queueMicrotask((()=>{a.destroy(t,e)}))}if(n){this.body=null;a.destroy(n,e)}if(this.removeAbortListener){t?.off("close",this.removeAbortListener);this.removeAbortListener();this.removeAbortListener=null}}}function request(e,t){if(t===undefined){return new Promise(((t,r)=>{request.call(this,e,((e,n)=>e?r(e):t(n)))}))}try{this.dispatch(e,new RequestHandler(e,t))}catch(r){if(typeof t!=="function"){throw r}const n=e?.opaque;queueMicrotask((()=>t(r,{opaque:n})))}}e.exports=request;e.exports.RequestHandler=RequestHandler},3560:(e,t,r)=>{const n=r(4589);const{finished:s,PassThrough:o}=r(7075);const{InvalidArgumentError:i,InvalidReturnValueError:a}=r(8707);const c=r(3440);const{getResolveErrorBodyCallback:l}=r(7655);const{AsyncResource:u}=r(6698);const{addSignal:A,removeSignal:d}=r(158);class StreamHandler extends u{constructor(e,t,r){if(!e||typeof e!=="object"){throw new i("invalid opts")}const{signal:n,method:s,opaque:o,body:a,onInfo:l,responseHeaders:u,throwOnError:d}=e;try{if(typeof r!=="function"){throw new i("invalid callback")}if(typeof t!=="function"){throw new i("invalid factory")}if(n&&typeof n.on!=="function"&&typeof n.addEventListener!=="function"){throw new i("signal must be an EventEmitter or EventTarget")}if(s==="CONNECT"){throw new i("invalid method")}if(l&&typeof l!=="function"){throw new i("invalid onInfo callback")}super("UNDICI_STREAM")}catch(e){if(c.isStream(a)){c.destroy(a.on("error",c.nop),e)}throw e}this.responseHeaders=u||null;this.opaque=o||null;this.factory=t;this.callback=r;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=a;this.onInfo=l||null;this.throwOnError=d||false;if(c.isStream(a)){a.on("error",(e=>{this.onError(e)}))}A(this,n)}onConnect(e,t){if(this.reason){e(this.reason);return}n(this.callback);this.abort=e;this.context=t}onHeaders(e,t,r,n){const{factory:i,opaque:u,context:A,callback:d,responseHeaders:p}=this;const m=p==="raw"?c.parseRawHeaders(t):c.parseHeaders(t);if(e<200){if(this.onInfo){this.onInfo({statusCode:e,headers:m})}return}this.factory=null;let h;if(this.throwOnError&&e>=400){const r=p==="raw"?c.parseHeaders(t):m;const s=r["content-type"];h=new o;this.callback=null;this.runInAsyncScope(l,null,{callback:d,body:h,contentType:s,statusCode:e,statusMessage:n,headers:m})}else{if(i===null){return}h=this.runInAsyncScope(i,null,{statusCode:e,headers:m,opaque:u,context:A});if(!h||typeof h.write!=="function"||typeof h.end!=="function"||typeof h.on!=="function"){throw new a("expected Writable")}s(h,{readable:false},(e=>{const{callback:t,res:r,opaque:n,trailers:s,abort:o}=this;this.res=null;if(e||!r.readable){c.destroy(r,e)}this.callback=null;this.runInAsyncScope(t,null,e||null,{opaque:n,trailers:s});if(e){o()}}))}h.on("drain",r);this.res=h;const g=h.writableNeedDrain!==undefined?h.writableNeedDrain:h._writableState?.needDrain;return g!==true}onData(e){const{res:t}=this;return t?t.write(e):true}onComplete(e){const{res:t}=this;d(this);if(!t){return}this.trailers=c.parseHeaders(e);t.end()}onError(e){const{res:t,callback:r,opaque:n,body:s}=this;d(this);this.factory=null;if(t){this.res=null;c.destroy(t,e)}else if(r){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}if(s){this.body=null;c.destroy(s,e)}}}function stream(e,t,r){if(r===undefined){return new Promise(((r,n)=>{stream.call(this,e,t,((e,t)=>e?n(e):r(t)))}))}try{this.dispatch(e,new StreamHandler(e,t,r))}catch(t){if(typeof r!=="function"){throw t}const n=e?.opaque;queueMicrotask((()=>r(t,{opaque:n})))}}e.exports=stream},1882:(e,t,r)=>{const{InvalidArgumentError:n,SocketError:s}=r(8707);const{AsyncResource:o}=r(6698);const i=r(3440);const{addSignal:a,removeSignal:c}=r(158);const l=r(4589);class UpgradeHandler extends o{constructor(e,t){if(!e||typeof e!=="object"){throw new n("invalid opts")}if(typeof t!=="function"){throw new n("invalid callback")}const{signal:r,opaque:s,responseHeaders:o}=e;if(r&&typeof r.on!=="function"&&typeof r.addEventListener!=="function"){throw new n("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=o||null;this.opaque=s||null;this.callback=t;this.abort=null;this.context=null;a(this,r)}onConnect(e,t){if(this.reason){e(this.reason);return}l(this.callback);this.abort=e;this.context=null}onHeaders(){throw new s("bad upgrade",null)}onUpgrade(e,t,r){l(e===101);const{callback:n,opaque:s,context:o}=this;c(this);this.callback=null;const a=this.responseHeaders==="raw"?i.parseRawHeaders(t):i.parseHeaders(t);this.runInAsyncScope(n,null,null,{headers:a,socket:r,opaque:s,context:o})}onError(e){const{callback:t,opaque:r}=this;c(this);if(t){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(t,null,e,{opaque:r})}))}}}function upgrade(e,t){if(t===undefined){return new Promise(((t,r)=>{upgrade.call(this,e,((e,n)=>e?r(e):t(n)))}))}try{const r=new UpgradeHandler(e,t);this.dispatch({...e,method:e.method||"GET",upgrade:e.protocol||"Websocket"},r)}catch(r){if(typeof t!=="function"){throw r}const n=e?.opaque;queueMicrotask((()=>t(r,{opaque:n})))}}e.exports=upgrade},6615:(e,t,r)=>{e.exports.request=r(4043);e.exports.stream=r(3560);e.exports.pipeline=r(6862);e.exports.upgrade=r(1882);e.exports.connect=r(2279)},9927:(e,t,r)=>{const n=r(4589);const{Readable:s}=r(7075);const{RequestAbortedError:o,NotSupportedError:i,InvalidArgumentError:a,AbortError:c}=r(8707);const l=r(3440);const{ReadableStreamFrom:u}=r(3440);const A=Symbol("kConsume");const d=Symbol("kReading");const p=Symbol("kBody");const m=Symbol("kAbort");const h=Symbol("kContentType");const g=Symbol("kContentLength");const noop=()=>{};class BodyReadable extends s{constructor({resume:e,abort:t,contentType:r="",contentLength:n,highWaterMark:s=64*1024}){super({autoDestroy:true,read:e,highWaterMark:s});this._readableState.dataEmitted=false;this[m]=t;this[A]=null;this[p]=null;this[h]=r;this[g]=n;this[d]=false}destroy(e){if(!e&&!this._readableState.endEmitted){e=new o}if(e){this[m]()}return super.destroy(e)}_destroy(e,t){if(!this[d]){setImmediate((()=>{t(e)}))}else{t(e)}}on(e,...t){if(e==="data"||e==="readable"){this[d]=true}return super.on(e,...t)}addListener(e,...t){return this.on(e,...t)}off(e,...t){const r=super.off(e,...t);if(e==="data"||e==="readable"){this[d]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return r}removeListener(e,...t){return this.off(e,...t)}push(e){if(this[A]&&e!==null){consumePush(this[A],e);return this[d]?super.push(e):true}return super.push(e)}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 i}get bodyUsed(){return l.isDisturbed(this)}get body(){if(!this[p]){this[p]=u(this);if(this[A]){this[p].getReader();n(this[p].locked)}}return this[p]}async dump(e){let t=Number.isFinite(e?.limit)?e.limit:128*1024;const r=e?.signal;if(r!=null&&(typeof r!=="object"||!("aborted"in r))){throw new a("signal must be an AbortSignal")}r?.throwIfAborted();if(this._readableState.closeEmitted){return null}return await new Promise(((e,n)=>{if(this[g]>t){this.destroy(new c)}const onAbort=()=>{this.destroy(r.reason??new c)};r?.addEventListener("abort",onAbort);this.on("close",(function(){r?.removeEventListener("abort",onAbort);if(r?.aborted){n(r.reason??new c)}else{e(null)}})).on("error",noop).on("data",(function(e){t-=e.length;if(t<=0){this.destroy()}})).resume()}))}}function isLocked(e){return e[p]&&e[p].locked===true||e[A]}function isUnusable(e){return l.isDisturbed(e)||isLocked(e)}async function consume(e,t){n(!e[A]);return new Promise(((r,n)=>{if(isUnusable(e)){const t=e._readableState;if(t.destroyed&&t.closeEmitted===false){e.on("error",(e=>{n(e)})).on("close",(()=>{n(new TypeError("unusable"))}))}else{n(t.errored??new TypeError("unusable"))}}else{queueMicrotask((()=>{e[A]={type:t,stream:e,resolve:r,reject:n,length:0,body:[]};e.on("error",(function(e){consumeFinish(this[A],e)})).on("close",(function(){if(this[A].body!==null){consumeFinish(this[A],new o)}}));consumeStart(e[A])}))}}))}function consumeStart(e){if(e.body===null){return}const{_readableState:t}=e.stream;if(t.bufferIndex){const r=t.bufferIndex;const n=t.buffer.length;for(let s=r;s<n;s++){consumePush(e,t.buffer[s])}}else{for(const r of t.buffer){consumePush(e,r)}}if(t.endEmitted){consumeEnd(this[A])}else{e.stream.on("end",(function(){consumeEnd(this[A])}))}e.stream.resume();while(e.stream.read()!=null){}}function chunksDecode(e,t){if(e.length===0||t===0){return""}const r=e.length===1?e[0]:Buffer.concat(e,t);const n=r.length;const s=n>2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(s,n)}function chunksConcat(e,t){if(e.length===0||t===0){return new Uint8Array(0)}if(e.length===1){return new Uint8Array(e[0])}const r=new Uint8Array(Buffer.allocUnsafeSlow(t).buffer);let n=0;for(let t=0;t<e.length;++t){const s=e[t];r.set(s,n);n+=s.length}return r}function consumeEnd(e){const{type:t,body:r,resolve:n,stream:s,length:o}=e;try{if(t==="text"){n(chunksDecode(r,o))}else if(t==="json"){n(JSON.parse(chunksDecode(r,o)))}else if(t==="arrayBuffer"){n(chunksConcat(r,o).buffer)}else if(t==="blob"){n(new Blob(r,{type:s[h]}))}else if(t==="bytes"){n(chunksConcat(r,o))}consumeFinish(e)}catch(e){s.destroy(e)}}function consumePush(e,t){e.length+=t.length;e.body.push(t)}function consumeFinish(e,t){if(e.body===null){return}if(t){e.reject(t)}else{e.resolve()}e.type=null;e.stream=null;e.resolve=null;e.reject=null;e.length=0;e.body=null}e.exports={Readable:BodyReadable,chunksDecode:chunksDecode}},7655:(e,t,r)=>{const n=r(4589);const{ResponseStatusCodeError:s}=r(8707);const{chunksDecode:o}=r(9927);const i=128*1024;async function getResolveErrorBodyCallback({callback:e,body:t,contentType:r,statusCode:a,statusMessage:c,headers:l}){n(t);let u=[];let A=0;try{for await(const e of t){u.push(e);A+=e.length;if(A>i){u=[];A=0;break}}}catch{u=[];A=0}const d=`Response status code ${a}${c?`: ${c}`:""}`;if(a===204||!r||!A){queueMicrotask((()=>e(new s(d,a,l))));return}const p=Error.stackTraceLimit;Error.stackTraceLimit=0;let m;try{if(isContentTypeApplicationJson(r)){m=JSON.parse(o(u,A))}else if(isContentTypeText(r)){m=o(u,A)}}catch{}finally{Error.stackTraceLimit=p}queueMicrotask((()=>e(new s(d,a,l,m))))}const isContentTypeApplicationJson=e=>e.length>15&&e[11]==="/"&&e[0]==="a"&&e[1]==="p"&&e[2]==="p"&&e[3]==="l"&&e[4]==="i"&&e[5]==="c"&&e[6]==="a"&&e[7]==="t"&&e[8]==="i"&&e[9]==="o"&&e[10]==="n"&&e[12]==="j"&&e[13]==="s"&&e[14]==="o"&&e[15]==="n";const isContentTypeText=e=>e.length>4&&e[4]==="/"&&e[0]==="t"&&e[1]==="e"&&e[2]==="x"&&e[3]==="t";e.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback,isContentTypeApplicationJson:isContentTypeApplicationJson,isContentTypeText:isContentTypeText}},9136:(e,t,r)=>{const n=r(7030);const s=r(4589);const o=r(3440);const{InvalidArgumentError:i,ConnectTimeoutError:a}=r(8707);const c=r(6603);function noop(){}let l;let u;if(global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)){u=class WeakSessionCache{constructor(e){this._maxCachedSessions=e;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((e=>{if(this._sessionCache.size<this._maxCachedSessions){return}const t=this._sessionCache.get(e);if(t!==undefined&&t.deref()===undefined){this._sessionCache.delete(e)}}))}get(e){const t=this._sessionCache.get(e);return t?t.deref():null}set(e,t){if(this._maxCachedSessions===0){return}this._sessionCache.set(e,new WeakRef(t));this._sessionRegistry.register(t,e)}}}else{u=class SimpleSessionCache{constructor(e){this._maxCachedSessions=e;this._sessionCache=new Map}get(e){return this._sessionCache.get(e)}set(e,t){if(this._maxCachedSessions===0){return}if(this._sessionCache.size>=this._maxCachedSessions){const{value:e}=this._sessionCache.keys().next();this._sessionCache.delete(e)}this._sessionCache.set(e,t)}}}function buildConnector({allowH2:e,maxCachedSessions:t,socketPath:a,timeout:c,session:d,...p}){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new i("maxCachedSessions must be a positive integer or zero")}const m={path:a,...p};const h=new u(t==null?100:t);c=c==null?1e4:c;e=e!=null?e:false;return function connect({hostname:t,host:i,protocol:a,port:u,servername:p,localAddress:g,httpSocket:f},E){let y;if(a==="https:"){if(!l){l=r(1692)}p=p||m.servername||o.getServerName(i)||null;const n=p||t;s(n);const a=d||h.get(n)||null;u=u||443;y=l.connect({highWaterMark:16384,...m,servername:p,session:a,localAddress:g,ALPNProtocols:e?["http/1.1","h2"]:["http/1.1"],socket:f,port:u,host:t});y.on("session",(function(e){h.set(n,e)}))}else{s(!f,"httpSocket can only be sent on TLS update");u=u||80;y=n.connect({highWaterMark:64*1024,...m,localAddress:g,port:u,host:t})}if(m.keepAlive==null||m.keepAlive){const e=m.keepAliveInitialDelay===undefined?6e4:m.keepAliveInitialDelay;y.setKeepAlive(true,e)}const C=A(new WeakRef(y),{timeout:c,hostname:t,port:u});y.setNoDelay(true).once(a==="https:"?"secureConnect":"connect",(function(){queueMicrotask(C);if(E){const e=E;E=null;e(null,this)}})).on("error",(function(e){queueMicrotask(C);if(E){const t=E;E=null;t(e)}}));return y}}const A=process.platform==="win32"?(e,t)=>{if(!t.timeout){return noop}let r=null;let n=null;const s=c.setFastTimeout((()=>{r=setImmediate((()=>{n=setImmediate((()=>onConnectTimeout(e.deref(),t)))}))}),t.timeout);return()=>{c.clearFastTimeout(s);clearImmediate(r);clearImmediate(n)}}:(e,t)=>{if(!t.timeout){return noop}let r=null;const n=c.setFastTimeout((()=>{r=setImmediate((()=>{onConnectTimeout(e.deref(),t)}))}),t.timeout);return()=>{c.clearFastTimeout(n);clearImmediate(r)}};function onConnectTimeout(e,t){if(e==null){return}let r="Connect Timeout Error";if(Array.isArray(e.autoSelectFamilyAttemptedAddresses)){r+=` (attempted addresses: ${e.autoSelectFamilyAttemptedAddresses.join(", ")},`}else{r+=` (attempted address: ${t.hostname}:${t.port},`}r+=` timeout: ${t.timeout}ms)`;o.destroy(e,new a(r))}e.exports=buildConnector},735:e=>{const t={};const r=["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 e=0;e<r.length;++e){const n=r[e];const s=n.toLowerCase();t[n]=t[s]=s}Object.setPrototypeOf(t,null);e.exports={wellknownHeaderNames:r,headerNameLowerCasedRecord:t}},2414:(e,t,r)=>{const n=r(3053);const s=r(7975);const o=s.debuglog("undici");const i=s.debuglog("fetch");const a=s.debuglog("websocket");let c=false;const l={beforeConnect:n.channel("undici:client:beforeConnect"),connected:n.channel("undici:client:connected"),connectError:n.channel("undici:client:connectError"),sendHeaders:n.channel("undici:client:sendHeaders"),create:n.channel("undici:request:create"),bodySent:n.channel("undici:request:bodySent"),headers:n.channel("undici:request:headers"),trailers:n.channel("undici:request:trailers"),error:n.channel("undici:request:error"),open:n.channel("undici:websocket:open"),close:n.channel("undici:websocket:close"),socketError:n.channel("undici:websocket:socket_error"),ping:n.channel("undici:websocket:ping"),pong:n.channel("undici:websocket:pong")};if(o.enabled||i.enabled){const e=i.enabled?i:o;n.channel("undici:client:beforeConnect").subscribe((t=>{const{connectParams:{version:r,protocol:n,port:s,host:o}}=t;e("connecting to %s using %s%s",`${o}${s?`:${s}`:""}`,n,r)}));n.channel("undici:client:connected").subscribe((t=>{const{connectParams:{version:r,protocol:n,port:s,host:o}}=t;e("connected to %s using %s%s",`${o}${s?`:${s}`:""}`,n,r)}));n.channel("undici:client:connectError").subscribe((t=>{const{connectParams:{version:r,protocol:n,port:s,host:o},error:i}=t;e("connection to %s using %s%s errored - %s",`${o}${s?`:${s}`:""}`,n,r,i.message)}));n.channel("undici:client:sendHeaders").subscribe((t=>{const{request:{method:r,path:n,origin:s}}=t;e("sending request to %s %s/%s",r,s,n)}));n.channel("undici:request:headers").subscribe((t=>{const{request:{method:r,path:n,origin:s},response:{statusCode:o}}=t;e("received response to %s %s/%s - HTTP %d",r,s,n,o)}));n.channel("undici:request:trailers").subscribe((t=>{const{request:{method:r,path:n,origin:s}}=t;e("trailers received from %s %s/%s",r,s,n)}));n.channel("undici:request:error").subscribe((t=>{const{request:{method:r,path:n,origin:s},error:o}=t;e("request to %s %s/%s errored - %s",r,s,n,o.message)}));c=true}if(a.enabled){if(!c){const e=o.enabled?o:a;n.channel("undici:client:beforeConnect").subscribe((t=>{const{connectParams:{version:r,protocol:n,port:s,host:o}}=t;e("connecting to %s%s using %s%s",o,s?`:${s}`:"",n,r)}));n.channel("undici:client:connected").subscribe((t=>{const{connectParams:{version:r,protocol:n,port:s,host:o}}=t;e("connected to %s%s using %s%s",o,s?`:${s}`:"",n,r)}));n.channel("undici:client:connectError").subscribe((t=>{const{connectParams:{version:r,protocol:n,port:s,host:o},error:i}=t;e("connection to %s%s using %s%s errored - %s",o,s?`:${s}`:"",n,r,i.message)}));n.channel("undici:client:sendHeaders").subscribe((t=>{const{request:{method:r,path:n,origin:s}}=t;e("sending request to %s %s/%s",r,s,n)}))}n.channel("undici:websocket:open").subscribe((e=>{const{address:{address:t,port:r}}=e;a("connection opened %s%s",t,r?`:${r}`:"")}));n.channel("undici:websocket:close").subscribe((e=>{const{websocket:t,code:r,reason:n}=e;a("closed connection to %s - %s %s",t.url,r,n)}));n.channel("undici:websocket:socket_error").subscribe((e=>{a("connection errored - %s",e.message)}));n.channel("undici:websocket:ping").subscribe((e=>{a("ping received")}));n.channel("undici:websocket:pong").subscribe((e=>{a("pong received")}))}e.exports={channels:l}},8707:e=>{const t=Symbol.for("undici.error.UND_ERR");class UndiciError extends Error{constructor(e){super(e);this.name="UndiciError";this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[t]===true}[t]=true}const r=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT");class ConnectTimeoutError extends UndiciError{constructor(e){super(e);this.name="ConnectTimeoutError";this.message=e||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[r]===true}[r]=true}const n=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT");class HeadersTimeoutError extends UndiciError{constructor(e){super(e);this.name="HeadersTimeoutError";this.message=e||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[n]===true}[n]=true}const s=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW");class HeadersOverflowError extends UndiciError{constructor(e){super(e);this.name="HeadersOverflowError";this.message=e||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&e[s]===true}[s]=true}const o=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT");class BodyTimeoutError extends UndiciError{constructor(e){super(e);this.name="BodyTimeoutError";this.message=e||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[o]===true}[o]=true}const i=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE");class ResponseStatusCodeError extends UndiciError{constructor(e,t,r,n){super(e);this.name="ResponseStatusCodeError";this.message=e||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=n;this.status=t;this.statusCode=t;this.headers=r}static[Symbol.hasInstance](e){return e&&e[i]===true}[i]=true}const a=Symbol.for("undici.error.UND_ERR_INVALID_ARG");class InvalidArgumentError extends UndiciError{constructor(e){super(e);this.name="InvalidArgumentError";this.message=e||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&e[a]===true}[a]=true}const c=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE");class InvalidReturnValueError extends UndiciError{constructor(e){super(e);this.name="InvalidReturnValueError";this.message=e||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&e[c]===true}[c]=true}const l=Symbol.for("undici.error.UND_ERR_ABORT");class AbortError extends UndiciError{constructor(e){super(e);this.name="AbortError";this.message=e||"The operation was aborted";this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&e[l]===true}[l]=true}const u=Symbol.for("undici.error.UND_ERR_ABORTED");class RequestAbortedError extends AbortError{constructor(e){super(e);this.name="AbortError";this.message=e||"Request aborted";this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&e[u]===true}[u]=true}const A=Symbol.for("undici.error.UND_ERR_INFO");class InformationalError extends UndiciError{constructor(e){super(e);this.name="InformationalError";this.message=e||"Request information";this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&e[A]===true}[A]=true}const d=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH");class RequestContentLengthMismatchError extends UndiciError{constructor(e){super(e);this.name="RequestContentLengthMismatchError";this.message=e||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[d]===true}[d]=true}const p=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH");class ResponseContentLengthMismatchError extends UndiciError{constructor(e){super(e);this.name="ResponseContentLengthMismatchError";this.message=e||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[p]===true}[p]=true}const m=Symbol.for("undici.error.UND_ERR_DESTROYED");class ClientDestroyedError extends UndiciError{constructor(e){super(e);this.name="ClientDestroyedError";this.message=e||"The client is destroyed";this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&e[m]===true}[m]=true}const h=Symbol.for("undici.error.UND_ERR_CLOSED");class ClientClosedError extends UndiciError{constructor(e){super(e);this.name="ClientClosedError";this.message=e||"The client is closed";this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&e[h]===true}[h]=true}const g=Symbol.for("undici.error.UND_ERR_SOCKET");class SocketError extends UndiciError{constructor(e,t){super(e);this.name="SocketError";this.message=e||"Socket error";this.code="UND_ERR_SOCKET";this.socket=t}static[Symbol.hasInstance](e){return e&&e[g]===true}[g]=true}const f=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED");class NotSupportedError extends UndiciError{constructor(e){super(e);this.name="NotSupportedError";this.message=e||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&e[f]===true}[f]=true}const E=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM");class BalancedPoolMissingUpstreamError extends UndiciError{constructor(e){super(e);this.name="MissingUpstreamError";this.message=e||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&e[E]===true}[E]=true}const y=Symbol.for("undici.error.UND_ERR_HTTP_PARSER");class HTTPParserError extends Error{constructor(e,t,r){super(e);this.name="HTTPParserError";this.code=t?`HPE_${t}`:undefined;this.data=r?r.toString():undefined}static[Symbol.hasInstance](e){return e&&e[y]===true}[y]=true}const C=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE");class ResponseExceededMaxSizeError extends UndiciError{constructor(e){super(e);this.name="ResponseExceededMaxSizeError";this.message=e||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&e[C]===true}[C]=true}const I=Symbol.for("undici.error.UND_ERR_REQ_RETRY");class RequestRetryError extends UndiciError{constructor(e,t,{headers:r,data:n}){super(e);this.name="RequestRetryError";this.message=e||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=t;this.data=n;this.headers=r}static[Symbol.hasInstance](e){return e&&e[I]===true}[I]=true}const B=Symbol.for("undici.error.UND_ERR_RESPONSE");class ResponseError extends UndiciError{constructor(e,t,{headers:r,data:n}){super(e);this.name="ResponseError";this.message=e||"Response error";this.code="UND_ERR_RESPONSE";this.statusCode=t;this.data=n;this.headers=r}static[Symbol.hasInstance](e){return e&&e[B]===true}[B]=true}const b=Symbol.for("undici.error.UND_ERR_PRX_TLS");class SecureProxyConnectionError extends UndiciError{constructor(e,t,r){super(t,{cause:e,...r??{}});this.name="SecureProxyConnectionError";this.message=t||"Secure Proxy Connection failed";this.code="UND_ERR_PRX_TLS";this.cause=e}static[Symbol.hasInstance](e){return e&&e[b]===true}[b]=true}e.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}},4655:(e,t,r)=>{const{InvalidArgumentError:n,NotSupportedError:s}=r(8707);const o=r(4589);const{isValidHTTPToken:i,isValidHeaderValue:a,isStream:c,destroy:l,isBuffer:u,isFormDataLike:A,isIterable:d,isBlobLike:p,buildURL:m,validateHandler:h,getServerName:g,normalizedMethodRecords:f}=r(3440);const{channels:E}=r(2414);const{headerNameLowerCasedRecord:y}=r(735);const C=/[^\u0021-\u00ff]/;const I=Symbol("handler");class Request{constructor(e,{path:t,method:r,body:s,headers:o,query:a,idempotent:y,blocking:B,upgrade:b,headersTimeout:w,bodyTimeout:S,reset:Q,throwOnError:N,expectContinue:R,servername:v},x){if(typeof t!=="string"){throw new n("path must be a string")}else if(t[0]!=="/"&&!(t.startsWith("http://")||t.startsWith("https://"))&&r!=="CONNECT"){throw new n("path must be an absolute URL or start with a slash")}else if(C.test(t)){throw new n("invalid request path")}if(typeof r!=="string"){throw new n("method must be a string")}else if(f[r]===undefined&&!i(r)){throw new n("invalid request method")}if(b&&typeof b!=="string"){throw new n("upgrade must be a string")}if(w!=null&&(!Number.isFinite(w)||w<0)){throw new n("invalid headersTimeout")}if(S!=null&&(!Number.isFinite(S)||S<0)){throw new n("invalid bodyTimeout")}if(Q!=null&&typeof Q!=="boolean"){throw new n("invalid reset")}if(R!=null&&typeof R!=="boolean"){throw new n("invalid expectContinue")}this.headersTimeout=w;this.bodyTimeout=S;this.throwOnError=N===true;this.method=r;this.abort=null;if(s==null){this.body=null}else if(c(s)){this.body=s;const e=this.body._readableState;if(!e||!e.autoDestroy){this.endHandler=function autoDestroy(){l(this)};this.body.on("end",this.endHandler)}this.errorHandler=e=>{if(this.abort){this.abort(e)}else{this.error=e}};this.body.on("error",this.errorHandler)}else if(u(s)){this.body=s.byteLength?s:null}else if(ArrayBuffer.isView(s)){this.body=s.buffer.byteLength?Buffer.from(s.buffer,s.byteOffset,s.byteLength):null}else if(s instanceof ArrayBuffer){this.body=s.byteLength?Buffer.from(s):null}else if(typeof s==="string"){this.body=s.length?Buffer.from(s):null}else if(A(s)||d(s)||p(s)){this.body=s}else{throw new n("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=b||null;this.path=a?m(t,a):t;this.origin=e;this.idempotent=y==null?r==="HEAD"||r==="GET":y;this.blocking=B==null?false:B;this.reset=Q==null?null:Q;this.host=null;this.contentLength=null;this.contentType=null;this.headers=[];this.expectContinue=R!=null?R:false;if(Array.isArray(o)){if(o.length%2!==0){throw new n("headers array must be even")}for(let e=0;e<o.length;e+=2){processHeader(this,o[e],o[e+1])}}else if(o&&typeof o==="object"){if(o[Symbol.iterator]){for(const e of o){if(!Array.isArray(e)||e.length!==2){throw new n("headers must be in key-value pair format")}processHeader(this,e[0],e[1])}}else{const e=Object.keys(o);for(let t=0;t<e.length;++t){processHeader(this,e[t],o[e[t]])}}}else if(o!=null){throw new n("headers must be an object or an array")}h(x,r,b);this.servername=v||g(this.host);this[I]=x;if(E.create.hasSubscribers){E.create.publish({request:this})}}onBodySent(e){if(this[I].onBodySent){try{return this[I].onBodySent(e)}catch(e){this.abort(e)}}}onRequestSent(){if(E.bodySent.hasSubscribers){E.bodySent.publish({request:this})}if(this[I].onRequestSent){try{return this[I].onRequestSent()}catch(e){this.abort(e)}}}onConnect(e){o(!this.aborted);o(!this.completed);if(this.error){e(this.error)}else{this.abort=e;return this[I].onConnect(e)}}onResponseStarted(){return this[I].onResponseStarted?.()}onHeaders(e,t,r,n){o(!this.aborted);o(!this.completed);if(E.headers.hasSubscribers){E.headers.publish({request:this,response:{statusCode:e,headers:t,statusText:n}})}try{return this[I].onHeaders(e,t,r,n)}catch(e){this.abort(e)}}onData(e){o(!this.aborted);o(!this.completed);try{return this[I].onData(e)}catch(e){this.abort(e);return false}}onUpgrade(e,t,r){o(!this.aborted);o(!this.completed);return this[I].onUpgrade(e,t,r)}onComplete(e){this.onFinally();o(!this.aborted);this.completed=true;if(E.trailers.hasSubscribers){E.trailers.publish({request:this,trailers:e})}try{return this[I].onComplete(e)}catch(e){this.onError(e)}}onError(e){this.onFinally();if(E.error.hasSubscribers){E.error.publish({request:this,error:e})}if(this.aborted){return}this.aborted=true;return this[I].onError(e)}onFinally(){if(this.errorHandler){this.body.off("error",this.errorHandler);this.errorHandler=null}if(this.endHandler){this.body.off("end",this.endHandler);this.endHandler=null}}addHeader(e,t){processHeader(this,e,t);return this}}function processHeader(e,t,r){if(r&&(typeof r==="object"&&!Array.isArray(r))){throw new n(`invalid ${t} header`)}else if(r===undefined){return}let o=y[t];if(o===undefined){o=t.toLowerCase();if(y[o]===undefined&&!i(o)){throw new n("invalid header key")}}if(Array.isArray(r)){const e=[];for(let s=0;s<r.length;s++){if(typeof r[s]==="string"){if(!a(r[s])){throw new n(`invalid ${t} header`)}e.push(r[s])}else if(r[s]===null){e.push("")}else if(typeof r[s]==="object"){throw new n(`invalid ${t} header`)}else{e.push(`${r[s]}`)}}r=e}else if(typeof r==="string"){if(!a(r)){throw new n(`invalid ${t} header`)}}else if(r===null){r=""}else{r=`${r}`}if(e.host===null&&o==="host"){if(typeof r!=="string"){throw new n("invalid host header")}e.host=r}else if(e.contentLength===null&&o==="content-length"){e.contentLength=parseInt(r,10);if(!Number.isFinite(e.contentLength)){throw new n("invalid content-length header")}}else if(e.contentType===null&&o==="content-type"){e.contentType=r;e.headers.push(t,r)}else if(o==="transfer-encoding"||o==="keep-alive"||o==="upgrade"){throw new n(`invalid ${o} header`)}else if(o==="connection"){const t=typeof r==="string"?r.toLowerCase():null;if(t!=="close"&&t!=="keep-alive"){throw new n("invalid connection header")}if(t==="close"){e.reset=true}}else if(o==="expect"){throw new s("expect header not supported")}else{e.headers.push(t,r)}}e.exports=Request},6443:e=>{e.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")}},7752:(e,t,r)=>{const{wellknownHeaderNames:n,headerNameLowerCasedRecord:s}=r(735);class TstNode{value=null;left=null;middle=null;right=null;code;constructor(e,t,r){if(r===undefined||r>=e.length){throw new TypeError("Unreachable")}const n=this.code=e.charCodeAt(r);if(n>127){throw new TypeError("key must be ascii string")}if(e.length!==++r){this.middle=new TstNode(e,t,r)}else{this.value=t}}add(e,t){const r=e.length;if(r===0){throw new TypeError("Unreachable")}let n=0;let s=this;while(true){const o=e.charCodeAt(n);if(o>127){throw new TypeError("key must be ascii string")}if(s.code===o){if(r===++n){s.value=t;break}else if(s.middle!==null){s=s.middle}else{s.middle=new TstNode(e,t,n);break}}else if(s.code<o){if(s.left!==null){s=s.left}else{s.left=new TstNode(e,t,n);break}}else if(s.right!==null){s=s.right}else{s.right=new TstNode(e,t,n);break}}}search(e){const t=e.length;let r=0;let n=this;while(n!==null&&r<t){let s=e[r];if(s<=90&&s>=65){s|=32}while(n!==null){if(s===n.code){if(t===++r){return n}n=n.middle;break}n=n.code<s?n.left:n.right}}return null}}class TernarySearchTree{node=null;insert(e,t){if(this.node===null){this.node=new TstNode(e,t,0)}else{this.node.add(e,t)}}lookup(e){return this.node?.search(e)?.value??null}}const o=new TernarySearchTree;for(let e=0;e<n.length;++e){const t=s[n[e]];o.insert(t,t)}e.exports={TernarySearchTree:TernarySearchTree,tree:o}},3440:(e,t,r)=>{const n=r(4589);const{kDestroyed:s,kBodyUsed:o,kListeners:i,kBody:a}=r(6443);const{IncomingMessage:c}=r(7067);const l=r(7075);const u=r(7030);const{Blob:A}=r(4573);const d=r(7975);const{stringify:p}=r(1792);const{EventEmitter:m}=r(8474);const{InvalidArgumentError:h}=r(8707);const{headerNameLowerCasedRecord:g}=r(735);const{tree:f}=r(7752);const[E,y]=process.versions.node.split(".").map((e=>Number(e)));class BodyAsyncIterable{constructor(e){this[a]=e;this[o]=false}async*[Symbol.asyncIterator](){n(!this[o],"disturbed");this[o]=true;yield*this[a]}}function wrapRequestBody(e){if(isStream(e)){if(bodyLength(e)===0){e.on("data",(function(){n(false)}))}if(typeof e.readableDidRead!=="boolean"){e[o]=false;m.prototype.on.call(e,"data",(function(){this[o]=true}))}return e}else if(e&&typeof e.pipeTo==="function"){return new BodyAsyncIterable(e)}else if(e&&typeof e!=="string"&&!ArrayBuffer.isView(e)&&isIterable(e)){return new BodyAsyncIterable(e)}else{return e}}function nop(){}function isStream(e){return e&&typeof e==="object"&&typeof e.pipe==="function"&&typeof e.on==="function"}function isBlobLike(e){if(e===null){return false}else if(e instanceof A){return true}else if(typeof e!=="object"){return false}else{const t=e[Symbol.toStringTag];return(t==="Blob"||t==="File")&&("stream"in e&&typeof e.stream==="function"||"arrayBuffer"in e&&typeof e.arrayBuffer==="function")}}function buildURL(e,t){if(e.includes("?")||e.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const r=p(t);if(r){e+="?"+r}return e}function isValidPort(e){const t=parseInt(e,10);return t===Number(e)&&t>=0&&t<=65535}function isHttpOrHttpsPrefixed(e){return e!=null&&e[0]==="h"&&e[1]==="t"&&e[2]==="t"&&e[3]==="p"&&(e[4]===":"||e[4]==="s"&&e[5]===":")}function parseURL(e){if(typeof e==="string"){e=new URL(e);if(!isHttpOrHttpsPrefixed(e.origin||e.protocol)){throw new h("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return e}if(!e||typeof e!=="object"){throw new h("Invalid URL: The URL argument must be a non-null object.")}if(!(e instanceof URL)){if(e.port!=null&&e.port!==""&&isValidPort(e.port)===false){throw new h("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(e.path!=null&&typeof e.path!=="string"){throw new h("Invalid URL path: the path must be a string or null/undefined.")}if(e.pathname!=null&&typeof e.pathname!=="string"){throw new h("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(e.hostname!=null&&typeof e.hostname!=="string"){throw new h("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(e.origin!=null&&typeof e.origin!=="string"){throw new h("Invalid URL origin: the origin must be a string or null/undefined.")}if(!isHttpOrHttpsPrefixed(e.origin||e.protocol)){throw new h("Invalid URL protocol: the URL must start with `http:` or `https:`.")}const t=e.port!=null?e.port:e.protocol==="https:"?443:80;let r=e.origin!=null?e.origin:`${e.protocol||""}//${e.hostname||""}:${t}`;let n=e.path!=null?e.path:`${e.pathname||""}${e.search||""}`;if(r[r.length-1]==="/"){r=r.slice(0,r.length-1)}if(n&&n[0]!=="/"){n=`/${n}`}return new URL(`${r}${n}`)}if(!isHttpOrHttpsPrefixed(e.origin||e.protocol)){throw new h("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return e}function parseOrigin(e){e=parseURL(e);if(e.pathname!=="/"||e.search||e.hash){throw new h("invalid url")}return e}function getHostname(e){if(e[0]==="["){const t=e.indexOf("]");n(t!==-1);return e.substring(1,t)}const t=e.indexOf(":");if(t===-1)return e;return e.substring(0,t)}function getServerName(e){if(!e){return null}n(typeof e==="string");const t=getHostname(e);if(u.isIP(t)){return""}return t}function deepClone(e){return JSON.parse(JSON.stringify(e))}function isAsyncIterable(e){return!!(e!=null&&typeof e[Symbol.asyncIterator]==="function")}function isIterable(e){return!!(e!=null&&(typeof e[Symbol.iterator]==="function"||typeof e[Symbol.asyncIterator]==="function"))}function bodyLength(e){if(e==null){return 0}else if(isStream(e)){const t=e._readableState;return t&&t.objectMode===false&&t.ended===true&&Number.isFinite(t.length)?t.length:null}else if(isBlobLike(e)){return e.size!=null?e.size:null}else if(isBuffer(e)){return e.byteLength}return null}function isDestroyed(e){return e&&!!(e.destroyed||e[s]||l.isDestroyed?.(e))}function destroy(e,t){if(e==null||!isStream(e)||isDestroyed(e)){return}if(typeof e.destroy==="function"){if(Object.getPrototypeOf(e).constructor===c){e.socket=null}e.destroy(t)}else if(t){queueMicrotask((()=>{e.emit("error",t)}))}if(e.destroyed!==true){e[s]=true}}const C=/timeout=(\d+)/;function parseKeepAliveTimeout(e){const t=e.toString().match(C);return t?parseInt(t[1],10)*1e3:null}function headerNameToString(e){return typeof e==="string"?g[e]??e.toLowerCase():f.lookup(e)??e.toString("latin1").toLowerCase()}function bufferToLowerCasedHeaderName(e){return f.lookup(e)??e.toString("latin1").toLowerCase()}function parseHeaders(e,t){if(t===undefined)t={};for(let r=0;r<e.length;r+=2){const n=headerNameToString(e[r]);let s=t[n];if(s){if(typeof s==="string"){s=[s];t[n]=s}s.push(e[r+1].toString("utf8"))}else{const s=e[r+1];if(typeof s==="string"){t[n]=s}else{t[n]=Array.isArray(s)?s.map((e=>e.toString("utf8"))):s.toString("utf8")}}}if("content-length"in t&&"content-disposition"in t){t["content-disposition"]=Buffer.from(t["content-disposition"]).toString("latin1")}return t}function parseRawHeaders(e){const t=e.length;const r=new Array(t);let n=false;let s=-1;let o;let i;let a=0;for(let t=0;t<e.length;t+=2){o=e[t];i=e[t+1];typeof o!=="string"&&(o=o.toString());typeof i!=="string"&&(i=i.toString("utf8"));a=o.length;if(a===14&&o[7]==="-"&&(o==="content-length"||o.toLowerCase()==="content-length")){n=true}else if(a===19&&o[7]==="-"&&(o==="content-disposition"||o.toLowerCase()==="content-disposition")){s=t+1}r[t]=o;r[t+1]=i}if(n&&s!==-1){r[s]=Buffer.from(r[s]).toString("latin1")}return r}function isBuffer(e){return e instanceof Uint8Array||Buffer.isBuffer(e)}function validateHandler(e,t,r){if(!e||typeof e!=="object"){throw new h("handler must be an object")}if(typeof e.onConnect!=="function"){throw new h("invalid onConnect method")}if(typeof e.onError!=="function"){throw new h("invalid onError method")}if(typeof e.onBodySent!=="function"&&e.onBodySent!==undefined){throw new h("invalid onBodySent method")}if(r||t==="CONNECT"){if(typeof e.onUpgrade!=="function"){throw new h("invalid onUpgrade method")}}else{if(typeof e.onHeaders!=="function"){throw new h("invalid onHeaders method")}if(typeof e.onData!=="function"){throw new h("invalid onData method")}if(typeof e.onComplete!=="function"){throw new h("invalid onComplete method")}}}function isDisturbed(e){return!!(e&&(l.isDisturbed(e)||e[o]))}function isErrored(e){return!!(e&&l.isErrored(e))}function isReadable(e){return!!(e&&l.isReadable(e))}function getSocketInfo(e){return{localAddress:e.localAddress,localPort:e.localPort,remoteAddress:e.remoteAddress,remotePort:e.remotePort,remoteFamily:e.remoteFamily,timeout:e.timeout,bytesWritten:e.bytesWritten,bytesRead:e.bytesRead}}function ReadableStreamFrom(e){let t;return new ReadableStream({async start(){t=e[Symbol.asyncIterator]()},async pull(e){const{done:r,value:n}=await t.next();if(r){queueMicrotask((()=>{e.close();e.byobRequest?.respond(0)}))}else{const t=Buffer.isBuffer(n)?n:Buffer.from(n);if(t.byteLength){e.enqueue(new Uint8Array(t))}}return e.desiredSize>0},async cancel(e){await t.return()},type:"bytes"})}function isFormDataLike(e){return e&&typeof e==="object"&&typeof e.append==="function"&&typeof e.delete==="function"&&typeof e.get==="function"&&typeof e.getAll==="function"&&typeof e.has==="function"&&typeof e.set==="function"&&e[Symbol.toStringTag]==="FormData"}function addAbortListener(e,t){if("addEventListener"in e){e.addEventListener("abort",t,{once:true});return()=>e.removeEventListener("abort",t)}e.addListener("abort",t);return()=>e.removeListener("abort",t)}const I=typeof String.prototype.toWellFormed==="function";const B=typeof String.prototype.isWellFormed==="function";function toUSVString(e){return I?`${e}`.toWellFormed():d.toUSVString(e)}function isUSVString(e){return B?`${e}`.isWellFormed():toUSVString(e)===`${e}`}function isTokenCharCode(e){switch(e){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 e>=33&&e<=126}}function isValidHTTPToken(e){if(e.length===0){return false}for(let t=0;t<e.length;++t){if(!isTokenCharCode(e.charCodeAt(t))){return false}}return true}const b=/[^\t\x20-\x7e\x80-\xff]/;function isValidHeaderValue(e){return!b.test(e)}function parseRangeHeader(e){if(e==null||e==="")return{start:0,end:null,size:null};const t=e?e.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]?parseInt(t[3]):null}:null}function addListener(e,t,r){const n=e[i]??=[];n.push([t,r]);e.on(t,r);return e}function removeAllListeners(e){for(const[t,r]of e[i]??[]){e.removeListener(t,r)}e[i]=null}function errorRequest(e,t,r){try{t.onError(r);n(t.aborted)}catch(r){e.emit("error",r)}}const w=Object.create(null);w.enumerable=true;const S={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"};const Q={...S,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(S,null);Object.setPrototypeOf(Q,null);e.exports={kEnumerableProperty:w,nop:nop,isDisturbed:isDisturbed,isErrored:isErrored,isReadable:isReadable,toUSVString:toUSVString,isUSVString:isUSVString,isBlobLike:isBlobLike,parseOrigin:parseOrigin,parseURL:parseURL,getServerName:getServerName,isStream:isStream,isIterable:isIterable,isAsyncIterable:isAsyncIterable,isDestroyed:isDestroyed,headerNameToString:headerNameToString,bufferToLowerCasedHeaderName:bufferToLowerCasedHeaderName,addListener:addListener,removeAllListeners:removeAllListeners,errorRequest:errorRequest,parseRawHeaders:parseRawHeaders,parseHeaders:parseHeaders,parseKeepAliveTimeout:parseKeepAliveTimeout,destroy:destroy,bodyLength:bodyLength,deepClone:deepClone,ReadableStreamFrom:ReadableStreamFrom,isBuffer:isBuffer,validateHandler:validateHandler,getSocketInfo:getSocketInfo,isFormDataLike:isFormDataLike,buildURL:buildURL,addAbortListener:addAbortListener,isValidHTTPToken:isValidHTTPToken,isValidHeaderValue:isValidHeaderValue,isTokenCharCode:isTokenCharCode,parseRangeHeader:parseRangeHeader,normalizedMethodRecordsBase:S,normalizedMethodRecords:Q,isValidPort:isValidPort,isHttpOrHttpsPrefixed:isHttpOrHttpsPrefixed,nodeMajor:E,nodeMinor:y,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"],wrapRequestBody:wrapRequestBody}},7405:(e,t,r)=>{const{InvalidArgumentError:n}=r(8707);const{kClients:s,kRunning:o,kClose:i,kDestroy:a,kDispatch:c,kInterceptors:l}=r(6443);const u=r(1841);const A=r(628);const d=r(3701);const p=r(3440);const m=r(5092);const h=Symbol("onConnect");const g=Symbol("onDisconnect");const f=Symbol("onConnectionError");const E=Symbol("maxRedirections");const y=Symbol("onDrain");const C=Symbol("factory");const I=Symbol("options");function defaultFactory(e,t){return t&&t.connections===1?new d(e,t):new A(e,t)}class Agent extends u{constructor({factory:e=defaultFactory,maxRedirections:t=0,connect:r,...o}={}){super();if(typeof e!=="function"){throw new n("factory must be a function.")}if(r!=null&&typeof r!=="function"&&typeof r!=="object"){throw new n("connect must be a function or an object")}if(!Number.isInteger(t)||t<0){throw new n("maxRedirections must be a positive number")}if(r&&typeof r!=="function"){r={...r}}this[l]=o.interceptors?.Agent&&Array.isArray(o.interceptors.Agent)?o.interceptors.Agent:[m({maxRedirections:t})];this[I]={...p.deepClone(o),connect:r};this[I].interceptors=o.interceptors?{...o.interceptors}:undefined;this[E]=t;this[C]=e;this[s]=new Map;this[y]=(e,t)=>{this.emit("drain",e,[this,...t])};this[h]=(e,t)=>{this.emit("connect",e,[this,...t])};this[g]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)};this[f]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)}}get[o](){let e=0;for(const t of this[s].values()){e+=t[o]}return e}[c](e,t){let r;if(e.origin&&(typeof e.origin==="string"||e.origin instanceof URL)){r=String(e.origin)}else{throw new n("opts.origin must be a non-empty string or URL.")}let o=this[s].get(r);if(!o){o=this[C](e.origin,this[I]).on("drain",this[y]).on("connect",this[h]).on("disconnect",this[g]).on("connectionError",this[f]);this[s].set(r,o)}return o.dispatch(e,t)}async[i](){const e=[];for(const t of this[s].values()){e.push(t.close())}this[s].clear();await Promise.all(e)}async[a](e){const t=[];for(const r of this[s].values()){t.push(r.destroy(e))}this[s].clear();await Promise.all(t)}}e.exports=Agent},837:(e,t,r)=>{const{BalancedPoolMissingUpstreamError:n,InvalidArgumentError:s}=r(8707);const{PoolBase:o,kClients:i,kNeedDrain:a,kAddClient:c,kRemoveClient:l,kGetDispatcher:u}=r(2128);const A=r(628);const{kUrl:d,kInterceptors:p}=r(6443);const{parseOrigin:m}=r(3440);const h=Symbol("factory");const g=Symbol("options");const f=Symbol("kGreatestCommonDivisor");const E=Symbol("kCurrentWeight");const y=Symbol("kIndex");const C=Symbol("kWeight");const I=Symbol("kMaxWeightPerServer");const B=Symbol("kErrorPenalty");function getGreatestCommonDivisor(e,t){if(e===0)return t;while(t!==0){const r=t;t=e%t;e=r}return e}function defaultFactory(e,t){return new A(e,t)}class BalancedPool extends o{constructor(e=[],{factory:t=defaultFactory,...r}={}){super();this[g]=r;this[y]=-1;this[E]=0;this[I]=this[g].maxWeightPerServer||100;this[B]=this[g].errorPenalty||15;if(!Array.isArray(e)){e=[e]}if(typeof t!=="function"){throw new s("factory must be a function.")}this[p]=r.interceptors?.BalancedPool&&Array.isArray(r.interceptors.BalancedPool)?r.interceptors.BalancedPool:[];this[h]=t;for(const t of e){this.addUpstream(t)}this._updateBalancedPoolStats()}addUpstream(e){const t=m(e).origin;if(this[i].find((e=>e[d].origin===t&&e.closed!==true&&e.destroyed!==true))){return this}const r=this[h](t,Object.assign({},this[g]));this[c](r);r.on("connect",(()=>{r[C]=Math.min(this[I],r[C]+this[B])}));r.on("connectionError",(()=>{r[C]=Math.max(1,r[C]-this[B]);this._updateBalancedPoolStats()}));r.on("disconnect",((...e)=>{const t=e[2];if(t&&t.code==="UND_ERR_SOCKET"){r[C]=Math.max(1,r[C]-this[B]);this._updateBalancedPoolStats()}}));for(const e of this[i]){e[C]=this[I]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){let e=0;for(let t=0;t<this[i].length;t++){e=getGreatestCommonDivisor(this[i][t][C],e)}this[f]=e}removeUpstream(e){const t=m(e).origin;const r=this[i].find((e=>e[d].origin===t&&e.closed!==true&&e.destroyed!==true));if(r){this[l](r)}return this}get upstreams(){return this[i].filter((e=>e.closed!==true&&e.destroyed!==true)).map((e=>e[d].origin))}[u](){if(this[i].length===0){throw new n}const e=this[i].find((e=>!e[a]&&e.closed!==true&&e.destroyed!==true));if(!e){return}const t=this[i].map((e=>e[a])).reduce(((e,t)=>e&&t),true);if(t){return}let r=0;let s=this[i].findIndex((e=>!e[a]));while(r++<this[i].length){this[y]=(this[y]+1)%this[i].length;const e=this[i][this[y]];if(e[C]>this[i][s][C]&&!e[a]){s=this[y]}if(this[y]===0){this[E]=this[E]-this[f];if(this[E]<=0){this[E]=this[I]}}if(e[C]>=this[E]&&!e[a]){return e}}this[E]=this[i][s][C];this[y]=s;return this[i][s]}}e.exports=BalancedPool},637:(e,t,r)=>{const n=r(4589);const s=r(3440);const{channels:o}=r(2414);const i=r(6603);const{RequestContentLengthMismatchError:a,ResponseContentLengthMismatchError:c,RequestAbortedError:l,HeadersTimeoutError:u,HeadersOverflowError:A,SocketError:d,InformationalError:p,BodyTimeoutError:m,HTTPParserError:h,ResponseExceededMaxSizeError:g}=r(8707);const{kUrl:f,kReset:E,kClient:y,kParser:C,kBlocking:I,kRunning:B,kPending:b,kSize:w,kWriting:S,kQueue:Q,kNoRef:N,kKeepAliveDefaultTimeout:R,kHostHeader:v,kPendingIdx:x,kRunningIdx:T,kError:k,kPipelining:D,kSocket:_,kKeepAliveTimeoutValue:P,kMaxHeadersSize:L,kKeepAliveMaxTimeout:M,kKeepAliveTimeoutThreshold:O,kHeadersTimeout:F,kBodyTimeout:U,kStrictContentLength:H,kMaxRequests:G,kCounter:q,kMaxResponseSize:z,kOnError:V,kResume:$,kHTTPContext:J}=r(6443);const Y=r(2824);const W=Buffer.alloc(0);const j=Buffer[Symbol.species];const K=s.addListener;const X=s.removeAllListeners;let Z;async function lazyllhttp(){const e=process.env.JEST_WORKER_ID?r(3870):undefined;let t;try{t=await WebAssembly.compile(r(3434))}catch(n){t=await WebAssembly.compile(e||r(3870))}return await WebAssembly.instantiate(t,{env:{wasm_on_url:(e,t,r)=>0,wasm_on_status:(e,t,r)=>{n(re.ptr===e);const s=t-oe+ne.byteOffset;return re.onStatus(new j(ne.buffer,s,r))||0},wasm_on_message_begin:e=>{n(re.ptr===e);return re.onMessageBegin()||0},wasm_on_header_field:(e,t,r)=>{n(re.ptr===e);const s=t-oe+ne.byteOffset;return re.onHeaderField(new j(ne.buffer,s,r))||0},wasm_on_header_value:(e,t,r)=>{n(re.ptr===e);const s=t-oe+ne.byteOffset;return re.onHeaderValue(new j(ne.buffer,s,r))||0},wasm_on_headers_complete:(e,t,r,s)=>{n(re.ptr===e);return re.onHeadersComplete(t,Boolean(r),Boolean(s))||0},wasm_on_body:(e,t,r)=>{n(re.ptr===e);const s=t-oe+ne.byteOffset;return re.onBody(new j(ne.buffer,s,r))||0},wasm_on_message_complete:e=>{n(re.ptr===e);return re.onMessageComplete()||0}}})}let ee=null;let te=lazyllhttp();te.catch();let re=null;let ne=null;let se=0;let oe=null;const ie=0;const ae=1;const ce=2|ae;const le=4|ae;const ue=8|ie;class Parser{constructor(e,t,{exports:r}){n(Number.isFinite(e[L])&&e[L]>0);this.llhttp=r;this.ptr=this.llhttp.llhttp_alloc(Y.TYPE.RESPONSE);this.client=e;this.socket=t;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=e[L];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=e[z]}setTimeout(e,t){if(e!==this.timeoutValue||t&ae^this.timeoutType&ae){if(this.timeout){i.clearTimeout(this.timeout);this.timeout=null}if(e){if(t&ae){this.timeout=i.setFastTimeout(onParserTimeout,e,new WeakRef(this))}else{this.timeout=setTimeout(onParserTimeout,e,new WeakRef(this));this.timeout.unref()}}this.timeoutValue=e}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.timeoutType=t}resume(){if(this.socket.destroyed||!this.paused){return}n(this.ptr!=null);n(re==null);this.llhttp.llhttp_resume(this.ptr);n(this.timeoutType===le);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||W);this.readMore()}readMore(){while(!this.paused&&this.ptr){const e=this.socket.read();if(e===null){break}this.execute(e)}}execute(e){n(this.ptr!=null);n(re==null);n(!this.paused);const{socket:t,llhttp:r}=this;if(e.length>se){if(oe){r.free(oe)}se=Math.ceil(e.length/4096)*4096;oe=r.malloc(se)}new Uint8Array(r.memory.buffer,oe,se).set(e);try{let n;try{ne=e;re=this;n=r.llhttp_execute(this.ptr,oe,e.length)}catch(e){throw e}finally{re=null;ne=null}const s=r.llhttp_get_error_pos(this.ptr)-oe;if(n===Y.ERROR.PAUSED_UPGRADE){this.onUpgrade(e.slice(s))}else if(n===Y.ERROR.PAUSED){this.paused=true;t.unshift(e.slice(s))}else if(n!==Y.ERROR.OK){const t=r.llhttp_get_error_reason(this.ptr);let o="";if(t){const e=new Uint8Array(r.memory.buffer,t).indexOf(0);o="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,t,e).toString()+")"}throw new h(o,Y.ERROR[n],e.slice(s))}}catch(e){s.destroy(t,e)}}destroy(){n(this.ptr!=null);n(re==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;this.timeout&&i.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(e){this.statusText=e.toString()}onMessageBegin(){const{socket:e,client:t}=this;if(e.destroyed){return-1}const r=t[Q][t[T]];if(!r){return-1}r.onResponseStarted()}onHeaderField(e){const t=this.headers.length;if((t&1)===0){this.headers.push(e)}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}this.trackHeader(e.length)}onHeaderValue(e){let t=this.headers.length;if((t&1)===1){this.headers.push(e);t+=1}else{this.headers[t-1]=Buffer.concat([this.headers[t-1],e])}const r=this.headers[t-2];if(r.length===10){const t=s.bufferToLowerCasedHeaderName(r);if(t==="keep-alive"){this.keepAlive+=e.toString()}else if(t==="connection"){this.connection+=e.toString()}}else if(r.length===14&&s.bufferToLowerCasedHeaderName(r)==="content-length"){this.contentLength+=e.toString()}this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e;if(this.headersSize>=this.headersMaxSize){s.destroy(this.socket,new A)}}onUpgrade(e){const{upgrade:t,client:r,socket:o,headers:i,statusCode:a}=this;n(t);n(r[_]===o);n(!o.destroyed);n(!this.paused);n((i.length&1)===0);const c=r[Q][r[T]];n(c);n(c.upgrade||c.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;this.headers=[];this.headersSize=0;o.unshift(e);o[C].destroy();o[C]=null;o[y]=null;o[k]=null;X(o);r[_]=null;r[J]=null;r[Q][r[T]++]=null;r.emit("disconnect",r[f],[r],new p("upgrade"));try{c.onUpgrade(a,i,o)}catch(e){s.destroy(o,e)}r[$]()}onHeadersComplete(e,t,r){const{client:o,socket:i,headers:a,statusText:c}=this;if(i.destroyed){return-1}const l=o[Q][o[T]];if(!l){return-1}n(!this.upgrade);n(this.statusCode<200);if(e===100){s.destroy(i,new d("bad response",s.getSocketInfo(i)));return-1}if(t&&!l.upgrade){s.destroy(i,new d("bad upgrade",s.getSocketInfo(i)));return-1}n(this.timeoutType===ce);this.statusCode=e;this.shouldKeepAlive=r||l.method==="HEAD"&&!i[E]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const e=l.bodyTimeout!=null?l.bodyTimeout:o[U];this.setTimeout(e,le)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(l.method==="CONNECT"){n(o[B]===1);this.upgrade=true;return 2}if(t){n(o[B]===1);this.upgrade=true;return 2}n((this.headers.length&1)===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&o[D]){const e=this.keepAlive?s.parseKeepAliveTimeout(this.keepAlive):null;if(e!=null){const t=Math.min(e-o[O],o[M]);if(t<=0){i[E]=true}else{o[P]=t}}else{o[P]=o[R]}}else{i[E]=true}const u=l.onHeaders(e,a,this.resume,c)===false;if(l.aborted){return-1}if(l.method==="HEAD"){return 1}if(e<200){return 1}if(i[I]){i[I]=false;o[$]()}return u?Y.ERROR.PAUSED:0}onBody(e){const{client:t,socket:r,statusCode:o,maxResponseSize:i}=this;if(r.destroyed){return-1}const a=t[Q][t[T]];n(a);n(this.timeoutType===le);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}n(o>=200);if(i>-1&&this.bytesRead+e.length>i){s.destroy(r,new g);return-1}this.bytesRead+=e.length;if(a.onData(e)===false){return Y.ERROR.PAUSED}}onMessageComplete(){const{client:e,socket:t,statusCode:r,upgrade:o,headers:i,contentLength:a,bytesRead:l,shouldKeepAlive:u}=this;if(t.destroyed&&(!r||u)){return-1}if(o){return}n(r>=100);n((this.headers.length&1)===0);const A=e[Q][e[T]];n(A);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";this.headers=[];this.headersSize=0;if(r<200){return}if(A.method!=="HEAD"&&a&&l!==parseInt(a,10)){s.destroy(t,new c);return-1}A.onComplete(i);e[Q][e[T]++]=null;if(t[S]){n(e[B]===0);s.destroy(t,new p("reset"));return Y.ERROR.PAUSED}else if(!u){s.destroy(t,new p("reset"));return Y.ERROR.PAUSED}else if(t[E]&&e[B]===0){s.destroy(t,new p("reset"));return Y.ERROR.PAUSED}else if(e[D]==null||e[D]===1){setImmediate((()=>e[$]()))}else{e[$]()}}}function onParserTimeout(e){const{socket:t,timeoutType:r,client:o,paused:i}=e.deref();if(r===ce){if(!t[S]||t.writableNeedDrain||o[B]>1){n(!i,"cannot be paused while waiting for headers");s.destroy(t,new u)}}else if(r===le){if(!i){s.destroy(t,new m)}}else if(r===ue){n(o[B]===0&&o[P]);s.destroy(t,new p("socket idle timeout"))}}async function connectH1(e,t){e[_]=t;if(!ee){ee=await te;te=null}t[N]=false;t[S]=false;t[E]=false;t[I]=false;t[C]=new Parser(e,t,ee);K(t,"error",(function(e){n(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");const t=this[C];if(e.code==="ECONNRESET"&&t.statusCode&&!t.shouldKeepAlive){t.onMessageComplete();return}this[k]=e;this[y][V](e)}));K(t,"readable",(function(){const e=this[C];if(e){e.readMore()}}));K(t,"end",(function(){const e=this[C];if(e.statusCode&&!e.shouldKeepAlive){e.onMessageComplete();return}s.destroy(this,new d("other side closed",s.getSocketInfo(this)))}));K(t,"close",(function(){const e=this[y];const t=this[C];if(t){if(!this[k]&&t.statusCode&&!t.shouldKeepAlive){t.onMessageComplete()}this[C].destroy();this[C]=null}const r=this[k]||new d("closed",s.getSocketInfo(this));e[_]=null;e[J]=null;if(e.destroyed){n(e[b]===0);const t=e[Q].splice(e[T]);for(let n=0;n<t.length;n++){const o=t[n];s.errorRequest(e,o,r)}}else if(e[B]>0&&r.code!=="UND_ERR_INFO"){const t=e[Q][e[T]];e[Q][e[T]++]=null;s.errorRequest(e,t,r)}e[x]=e[T];n(e[B]===0);e.emit("disconnect",e[f],[e],r);e[$]()}));let r=false;t.on("close",(()=>{r=true}));return{version:"h1",defaultPipelining:1,write(...t){return writeH1(e,...t)},resume(){resumeH1(e)},destroy(e,n){if(r){queueMicrotask(n)}else{t.destroy(e).on("close",n)}},get destroyed(){return t.destroyed},busy(r){if(t[S]||t[E]||t[I]){return true}if(r){if(e[B]>0&&!r.idempotent){return true}if(e[B]>0&&(r.upgrade||r.method==="CONNECT")){return true}if(e[B]>0&&s.bodyLength(r.body)!==0&&(s.isStream(r.body)||s.isAsyncIterable(r.body)||s.isFormDataLike(r.body))){return true}}return false}}}function resumeH1(e){const t=e[_];if(t&&!t.destroyed){if(e[w]===0){if(!t[N]&&t.unref){t.unref();t[N]=true}}else if(t[N]&&t.ref){t.ref();t[N]=false}if(e[w]===0){if(t[C].timeoutType!==ue){t[C].setTimeout(e[P],ue)}}else if(e[B]>0&&t[C].statusCode<200){if(t[C].timeoutType!==ce){const r=e[Q][e[T]];const n=r.headersTimeout!=null?r.headersTimeout:e[F];t[C].setTimeout(n,ce)}}}}function shouldSendContentLength(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function writeH1(e,t){const{method:i,path:c,host:u,upgrade:A,blocking:d,reset:m}=t;let{body:h,headers:g,contentLength:f}=t;const y=i==="PUT"||i==="POST"||i==="PATCH"||i==="QUERY"||i==="PROPFIND"||i==="PROPPATCH";if(s.isFormDataLike(h)){if(!Z){Z=r(4492).extractBody}const[e,n]=Z(h);if(t.contentType==null){g.push("content-type",n)}h=e.stream;f=e.length}else if(s.isBlobLike(h)&&t.contentType==null&&h.type){g.push("content-type",h.type)}if(h&&typeof h.read==="function"){h.read(0)}const C=s.bodyLength(h);f=C??f;if(f===null){f=t.contentLength}if(f===0&&!y){f=null}if(shouldSendContentLength(i)&&f>0&&t.contentLength!==null&&t.contentLength!==f){if(e[H]){s.errorRequest(e,t,new a);return false}process.emitWarning(new a)}const B=e[_];const abort=r=>{if(t.aborted||t.completed){return}s.errorRequest(e,t,r||new l);s.destroy(h);s.destroy(B,new p("aborted"))};try{t.onConnect(abort)}catch(r){s.errorRequest(e,t,r)}if(t.aborted){return false}if(i==="HEAD"){B[E]=true}if(A||i==="CONNECT"){B[E]=true}if(m!=null){B[E]=m}if(e[G]&&B[q]++>=e[G]){B[E]=true}if(d){B[I]=true}let b=`${i} ${c} HTTP/1.1\r\n`;if(typeof u==="string"){b+=`host: ${u}\r\n`}else{b+=e[v]}if(A){b+=`connection: upgrade\r\nupgrade: ${A}\r\n`}else if(e[D]&&!B[E]){b+="connection: keep-alive\r\n"}else{b+="connection: close\r\n"}if(Array.isArray(g)){for(let e=0;e<g.length;e+=2){const t=g[e+0];const r=g[e+1];if(Array.isArray(r)){for(let e=0;e<r.length;e++){b+=`${t}: ${r[e]}\r\n`}}else{b+=`${t}: ${r}\r\n`}}}if(o.sendHeaders.hasSubscribers){o.sendHeaders.publish({request:t,headers:b,socket:B})}if(!h||C===0){writeBuffer(abort,null,e,t,B,f,b,y)}else if(s.isBuffer(h)){writeBuffer(abort,h,e,t,B,f,b,y)}else if(s.isBlobLike(h)){if(typeof h.stream==="function"){writeIterable(abort,h.stream(),e,t,B,f,b,y)}else{writeBlob(abort,h,e,t,B,f,b,y)}}else if(s.isStream(h)){writeStream(abort,h,e,t,B,f,b,y)}else if(s.isIterable(h)){writeIterable(abort,h,e,t,B,f,b,y)}else{n(false)}return true}function writeStream(e,t,r,o,i,a,c,u){n(a!==0||r[B]===0,"stream body cannot be pipelined");let A=false;const d=new AsyncWriter({abort:e,socket:i,request:o,contentLength:a,client:r,expectsPayload:u,header:c});const onData=function(e){if(A){return}try{if(!d.write(e)&&this.pause){this.pause()}}catch(e){s.destroy(this,e)}};const onDrain=function(){if(A){return}if(t.resume){t.resume()}};const onClose=function(){queueMicrotask((()=>{t.removeListener("error",onFinished)}));if(!A){const e=new l;queueMicrotask((()=>onFinished(e)))}};const onFinished=function(e){if(A){return}A=true;n(i.destroyed||i[S]&&r[B]<=1);i.off("drain",onDrain).off("error",onFinished);t.removeListener("data",onData).removeListener("end",onFinished).removeListener("close",onClose);if(!e){try{d.end()}catch(t){e=t}}d.destroy(e);if(e&&(e.code!=="UND_ERR_INFO"||e.message!=="reset")){s.destroy(t,e)}else{s.destroy(t)}};t.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onClose);if(t.resume){t.resume()}i.on("drain",onDrain).on("error",onFinished);if(t.errorEmitted??t.errored){setImmediate((()=>onFinished(t.errored)))}else if(t.endEmitted??t.readableEnded){setImmediate((()=>onFinished(null)))}if(t.closeEmitted??t.closed){setImmediate(onClose)}}function writeBuffer(e,t,r,o,i,a,c,l){try{if(!t){if(a===0){i.write(`${c}content-length: 0\r\n\r\n`,"latin1")}else{n(a===null,"no body must not have content length");i.write(`${c}\r\n`,"latin1")}}else if(s.isBuffer(t)){n(a===t.byteLength,"buffer body must have content length");i.cork();i.write(`${c}content-length: ${a}\r\n\r\n`,"latin1");i.write(t);i.uncork();o.onBodySent(t);if(!l&&o.reset!==false){i[E]=true}}o.onRequestSent();r[$]()}catch(t){e(t)}}async function writeBlob(e,t,r,s,o,i,c,l){n(i===t.size,"blob body must have content length");try{if(i!=null&&i!==t.size){throw new a}const e=Buffer.from(await t.arrayBuffer());o.cork();o.write(`${c}content-length: ${i}\r\n\r\n`,"latin1");o.write(e);o.uncork();s.onBodySent(e);s.onRequestSent();if(!l&&s.reset!==false){o[E]=true}r[$]()}catch(t){e(t)}}async function writeIterable(e,t,r,s,o,i,a,c){n(i!==0||r[B]===0,"iterator body cannot be pipelined");let l=null;function onDrain(){if(l){const e=l;l=null;e()}}const waitForDrain=()=>new Promise(((e,t)=>{n(l===null);if(o[k]){t(o[k])}else{l=e}}));o.on("close",onDrain).on("drain",onDrain);const u=new AsyncWriter({abort:e,socket:o,request:s,contentLength:i,client:r,expectsPayload:c,header:a});try{for await(const e of t){if(o[k]){throw o[k]}if(!u.write(e)){await waitForDrain()}}u.end()}catch(e){u.destroy(e)}finally{o.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({abort:e,socket:t,request:r,contentLength:n,client:s,expectsPayload:o,header:i}){this.socket=t;this.request=r;this.contentLength=n;this.client=s;this.bytesWritten=0;this.expectsPayload=o;this.header=i;this.abort=e;t[S]=true}write(e){const{socket:t,request:r,contentLength:n,client:s,bytesWritten:o,expectsPayload:i,header:c}=this;if(t[k]){throw t[k]}if(t.destroyed){return false}const l=Buffer.byteLength(e);if(!l){return true}if(n!==null&&o+l>n){if(s[H]){throw new a}process.emitWarning(new a)}t.cork();if(o===0){if(!i&&r.reset!==false){t[E]=true}if(n===null){t.write(`${c}transfer-encoding: chunked\r\n`,"latin1")}else{t.write(`${c}content-length: ${n}\r\n\r\n`,"latin1")}}if(n===null){t.write(`\r\n${l.toString(16)}\r\n`,"latin1")}this.bytesWritten+=l;const u=t.write(e);t.uncork();r.onBodySent(e);if(!u){if(t[C].timeout&&t[C].timeoutType===ce){if(t[C].timeout.refresh){t[C].timeout.refresh()}}}return u}end(){const{socket:e,contentLength:t,client:r,bytesWritten:n,expectsPayload:s,header:o,request:i}=this;i.onRequestSent();e[S]=false;if(e[k]){throw e[k]}if(e.destroyed){return}if(n===0){if(s){e.write(`${o}content-length: 0\r\n\r\n`,"latin1")}else{e.write(`${o}\r\n`,"latin1")}}else if(t===null){e.write("\r\n0\r\n\r\n","latin1")}if(t!==null&&n!==t){if(r[H]){throw new a}else{process.emitWarning(new a)}}if(e[C].timeout&&e[C].timeoutType===ce){if(e[C].timeout.refresh){e[C].timeout.refresh()}}r[$]()}destroy(e){const{socket:t,client:r,abort:s}=this;t[S]=false;if(e){n(r[B]<=1,"pipeline should only contain this request");s(e)}}}e.exports=connectH1},8788:(e,t,r)=>{const n=r(4589);const{pipeline:s}=r(7075);const o=r(3440);const{RequestContentLengthMismatchError:i,RequestAbortedError:a,SocketError:c,InformationalError:l}=r(8707);const{kUrl:u,kReset:A,kClient:d,kRunning:p,kPending:m,kQueue:h,kPendingIdx:g,kRunningIdx:f,kError:E,kSocket:y,kStrictContentLength:C,kOnError:I,kMaxConcurrentStreams:B,kHTTP2Session:b,kResume:w,kSize:S,kHTTPContext:Q}=r(6443);const N=Symbol("open streams");let R;let v=false;let x;try{x=r(2467)}catch{x={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:T,HTTP2_HEADER_METHOD:k,HTTP2_HEADER_PATH:D,HTTP2_HEADER_SCHEME:_,HTTP2_HEADER_CONTENT_LENGTH:P,HTTP2_HEADER_EXPECT:L,HTTP2_HEADER_STATUS:M}}=x;function parseH2Headers(e){const t=[];for(const[r,n]of Object.entries(e)){if(Array.isArray(n)){for(const e of n){t.push(Buffer.from(r),Buffer.from(e))}}else{t.push(Buffer.from(r),Buffer.from(n))}}return t}async function connectH2(e,t){e[y]=t;if(!v){v=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const r=x.connect(e[u],{createConnection:()=>t,peerMaxConcurrentStreams:e[B]});r[N]=0;r[d]=e;r[y]=t;o.addListener(r,"error",onHttp2SessionError);o.addListener(r,"frameError",onHttp2FrameError);o.addListener(r,"end",onHttp2SessionEnd);o.addListener(r,"goaway",onHTTP2GoAway);o.addListener(r,"close",(function(){const{[d]:e}=this;const{[y]:t}=e;const r=this[y][E]||this[E]||new c("closed",o.getSocketInfo(t));e[b]=null;if(e.destroyed){n(e[m]===0);const t=e[h].splice(e[f]);for(let n=0;n<t.length;n++){const s=t[n];o.errorRequest(e,s,r)}}}));r.unref();e[b]=r;t[b]=r;o.addListener(t,"error",(function(e){n(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[E]=e;this[d][I](e)}));o.addListener(t,"end",(function(){o.destroy(this,new c("other side closed",o.getSocketInfo(this)))}));o.addListener(t,"close",(function(){const t=this[E]||new c("closed",o.getSocketInfo(this));e[y]=null;if(this[b]!=null){this[b].destroy(t)}e[g]=e[f];n(e[p]===0);e.emit("disconnect",e[u],[e],t);e[w]()}));let s=false;t.on("close",(()=>{s=true}));return{version:"h2",defaultPipelining:Infinity,write(...t){return writeH2(e,...t)},resume(){resumeH2(e)},destroy(e,r){if(s){queueMicrotask(r)}else{t.destroy(e).on("close",r)}},get destroyed(){return t.destroyed},busy(){return false}}}function resumeH2(e){const t=e[y];if(t?.destroyed===false){if(e[S]===0&&e[B]===0){t.unref();e[b].unref()}else{t.ref();e[b].ref()}}}function onHttp2SessionError(e){n(e.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[y][E]=e;this[d][I](e)}function onHttp2FrameError(e,t,r){if(r===0){const r=new l(`HTTP/2: "frameError" received - type ${e}, code ${t}`);this[y][E]=r;this[d][I](r)}}function onHttp2SessionEnd(){const e=new c("other side closed",o.getSocketInfo(this[y]));this.destroy(e);o.destroy(this[y],e)}function onHTTP2GoAway(e){const t=this[E]||new c(`HTTP/2: "GOAWAY" frame received with code ${e}`,o.getSocketInfo(this));const r=this[d];r[y]=null;r[Q]=null;if(this[b]!=null){this[b].destroy(t);this[b]=null}o.destroy(this[y],t);if(r[f]<r[h].length){const e=r[h][r[f]];r[h][r[f]++]=null;o.errorRequest(r,e,t);r[g]=r[f]}n(r[p]===0);r.emit("disconnect",r[u],[r],t);r[w]()}function shouldSendContentLength(e){return e!=="GET"&&e!=="HEAD"&&e!=="OPTIONS"&&e!=="TRACE"&&e!=="CONNECT"}function writeH2(e,t){const s=e[b];const{method:c,path:A,host:d,upgrade:p,expectContinue:m,signal:E,headers:I}=t;let{body:B}=t;if(p){o.errorRequest(e,t,new Error("Upgrade not supported for H2"));return false}const S={};for(let e=0;e<I.length;e+=2){const t=I[e+0];const r=I[e+1];if(Array.isArray(r)){for(let e=0;e<r.length;e++){if(S[t]){S[t]+=`,${r[e]}`}else{S[t]=r[e]}}}else{S[t]=r}}let Q;const{hostname:v,port:x}=e[u];S[T]=d||`${v}${x?`:${x}`:""}`;S[k]=c;const abort=r=>{if(t.aborted||t.completed){return}r=r||new a;o.errorRequest(e,t,r);if(Q!=null){o.destroy(Q,r)}o.destroy(B,r);e[h][e[f]++]=null;e[w]()};try{t.onConnect(abort)}catch(r){o.errorRequest(e,t,r)}if(t.aborted){return false}if(c==="CONNECT"){s.ref();Q=s.request(S,{endStream:false,signal:E});if(Q.id&&!Q.pending){t.onUpgrade(null,null,Q);++s[N];e[h][e[f]++]=null}else{Q.once("ready",(()=>{t.onUpgrade(null,null,Q);++s[N];e[h][e[f]++]=null}))}Q.once("close",(()=>{s[N]-=1;if(s[N]===0)s.unref()}));return true}S[D]=A;S[_]="https";const O=c==="PUT"||c==="POST"||c==="PATCH";if(B&&typeof B.read==="function"){B.read(0)}let F=o.bodyLength(B);if(o.isFormDataLike(B)){R??=r(4492).extractBody;const[e,t]=R(B);S["content-type"]=t;B=e.stream;F=e.length}if(F==null){F=t.contentLength}if(F===0||!O){F=null}if(shouldSendContentLength(c)&&F>0&&t.contentLength!=null&&t.contentLength!==F){if(e[C]){o.errorRequest(e,t,new i);return false}process.emitWarning(new i)}if(F!=null){n(B,"no body must not have content length");S[P]=`${F}`}s.ref();const U=c==="GET"||c==="HEAD"||B===null;if(m){S[L]="100-continue";Q=s.request(S,{endStream:U,signal:E});Q.once("continue",writeBodyH2)}else{Q=s.request(S,{endStream:U,signal:E});writeBodyH2()}++s[N];Q.once("response",(r=>{const{[M]:n,...s}=r;t.onResponseStarted();if(t.aborted){const r=new a;o.errorRequest(e,t,r);o.destroy(Q,r);return}if(t.onHeaders(Number(n),parseH2Headers(s),Q.resume.bind(Q),"")===false){Q.pause()}Q.on("data",(e=>{if(t.onData(e)===false){Q.pause()}}))}));Q.once("end",(()=>{if(Q.state?.state==null||Q.state.state<6){t.onComplete([])}if(s[N]===0){s.unref()}abort(new l("HTTP/2: stream half-closed (remote)"));e[h][e[f]++]=null;e[g]=e[f];e[w]()}));Q.once("close",(()=>{s[N]-=1;if(s[N]===0){s.unref()}}));Q.once("error",(function(e){abort(e)}));Q.once("frameError",((e,t)=>{abort(new l(`HTTP/2: "frameError" received - type ${e}, code ${t}`))}));return true;function writeBodyH2(){if(!B||F===0){writeBuffer(abort,Q,null,e,t,e[y],F,O)}else if(o.isBuffer(B)){writeBuffer(abort,Q,B,e,t,e[y],F,O)}else if(o.isBlobLike(B)){if(typeof B.stream==="function"){writeIterable(abort,Q,B.stream(),e,t,e[y],F,O)}else{writeBlob(abort,Q,B,e,t,e[y],F,O)}}else if(o.isStream(B)){writeStream(abort,e[y],O,Q,B,e,t,F)}else if(o.isIterable(B)){writeIterable(abort,Q,B,e,t,e[y],F,O)}else{n(false)}}}function writeBuffer(e,t,r,s,i,a,c,l){try{if(r!=null&&o.isBuffer(r)){n(c===r.byteLength,"buffer body must have content length");t.cork();t.write(r);t.uncork();t.end();i.onBodySent(r)}if(!l){a[A]=true}i.onRequestSent();s[w]()}catch(t){e(t)}}function writeStream(e,t,r,i,a,c,l,u){n(u!==0||c[p]===0,"stream body cannot be pipelined");const d=s(a,i,(n=>{if(n){o.destroy(d,n);e(n)}else{o.removeAllListeners(d);l.onRequestSent();if(!r){t[A]=true}c[w]()}}));o.addListener(d,"data",onPipeData);function onPipeData(e){l.onBodySent(e)}}async function writeBlob(e,t,r,s,o,a,c,l){n(c===r.size,"blob body must have content length");try{if(c!=null&&c!==r.size){throw new i}const e=Buffer.from(await r.arrayBuffer());t.cork();t.write(e);t.uncork();t.end();o.onBodySent(e);o.onRequestSent();if(!l){a[A]=true}s[w]()}catch(t){e(t)}}async function writeIterable(e,t,r,s,o,i,a,c){n(a!==0||s[p]===0,"iterator body cannot be pipelined");let l=null;function onDrain(){if(l){const e=l;l=null;e()}}const waitForDrain=()=>new Promise(((e,t)=>{n(l===null);if(i[E]){t(i[E])}else{l=e}}));t.on("close",onDrain).on("drain",onDrain);try{for await(const e of r){if(i[E]){throw i[E]}const r=t.write(e);o.onBodySent(e);if(!r){await waitForDrain()}}t.end();o.onRequestSent();if(!c){i[A]=true}s[w]()}catch(t){e(t)}finally{t.off("close",onDrain).off("drain",onDrain)}}e.exports=connectH2},3701:(e,t,r)=>{const n=r(4589);const s=r(7030);const o=r(7067);const i=r(3440);const{channels:a}=r(2414);const c=r(4655);const l=r(1841);const{InvalidArgumentError:u,InformationalError:A,ClientDestroyedError:d}=r(8707);const p=r(9136);const{kUrl:m,kServerName:h,kClient:g,kBusy:f,kConnect:E,kResuming:y,kRunning:C,kPending:I,kSize:B,kQueue:b,kConnected:w,kConnecting:S,kNeedDrain:Q,kKeepAliveDefaultTimeout:N,kHostHeader:R,kPendingIdx:v,kRunningIdx:x,kError:T,kPipelining:k,kKeepAliveTimeoutValue:D,kMaxHeadersSize:_,kKeepAliveMaxTimeout:P,kKeepAliveTimeoutThreshold:L,kHeadersTimeout:M,kBodyTimeout:O,kStrictContentLength:F,kConnector:U,kMaxRedirections:H,kMaxRequests:G,kCounter:q,kClose:z,kDestroy:V,kDispatch:$,kInterceptors:J,kLocalAddress:Y,kMaxResponseSize:W,kOnError:j,kHTTPContext:K,kMaxConcurrentStreams:X,kResume:Z}=r(6443);const ee=r(637);const te=r(8788);let re=false;const ne=Symbol("kClosedResolve");const noop=()=>{};function getPipelining(e){return e[k]??e[K]?.defaultPipelining??1}class Client extends l{constructor(e,{interceptors:t,maxHeaderSize:r,headersTimeout:n,socketTimeout:a,requestTimeout:c,connectTimeout:l,bodyTimeout:A,idleTimeout:d,keepAlive:g,keepAliveTimeout:f,maxKeepAliveTimeout:E,keepAliveMaxTimeout:C,keepAliveTimeoutThreshold:I,socketPath:B,pipelining:w,tls:S,strictContentLength:T,maxCachedSessions:q,maxRedirections:z,connect:V,maxRequestsPerClient:$,localAddress:ee,maxResponseSize:te,autoSelectFamily:oe,autoSelectFamilyAttemptTimeout:ie,maxConcurrentStreams:ae,allowH2:ce}={}){super();if(g!==undefined){throw new u("unsupported keepAlive, use pipelining=0 instead")}if(a!==undefined){throw new u("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(c!==undefined){throw new u("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(d!==undefined){throw new u("unsupported idleTimeout, use keepAliveTimeout instead")}if(E!==undefined){throw new u("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(r!=null&&!Number.isFinite(r)){throw new u("invalid maxHeaderSize")}if(B!=null&&typeof B!=="string"){throw new u("invalid socketPath")}if(l!=null&&(!Number.isFinite(l)||l<0)){throw new u("invalid connectTimeout")}if(f!=null&&(!Number.isFinite(f)||f<=0)){throw new u("invalid keepAliveTimeout")}if(C!=null&&(!Number.isFinite(C)||C<=0)){throw new u("invalid keepAliveMaxTimeout")}if(I!=null&&!Number.isFinite(I)){throw new u("invalid keepAliveTimeoutThreshold")}if(n!=null&&(!Number.isInteger(n)||n<0)){throw new u("headersTimeout must be a positive integer or zero")}if(A!=null&&(!Number.isInteger(A)||A<0)){throw new u("bodyTimeout must be a positive integer or zero")}if(V!=null&&typeof V!=="function"&&typeof V!=="object"){throw new u("connect must be a function or an object")}if(z!=null&&(!Number.isInteger(z)||z<0)){throw new u("maxRedirections must be a positive number")}if($!=null&&(!Number.isInteger($)||$<0)){throw new u("maxRequestsPerClient must be a positive number")}if(ee!=null&&(typeof ee!=="string"||s.isIP(ee)===0)){throw new u("localAddress must be valid string IP address")}if(te!=null&&(!Number.isInteger(te)||te<-1)){throw new u("maxResponseSize must be a positive number")}if(ie!=null&&(!Number.isInteger(ie)||ie<-1)){throw new u("autoSelectFamilyAttemptTimeout must be a positive number")}if(ce!=null&&typeof ce!=="boolean"){throw new u("allowH2 must be a valid boolean value")}if(ae!=null&&(typeof ae!=="number"||ae<1)){throw new u("maxConcurrentStreams must be a positive integer, greater than 0")}if(typeof V!=="function"){V=p({...S,maxCachedSessions:q,allowH2:ce,socketPath:B,timeout:l,...oe?{autoSelectFamily:oe,autoSelectFamilyAttemptTimeout:ie}:undefined,...V})}if(t?.Client&&Array.isArray(t.Client)){this[J]=t.Client;if(!re){re=true;process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"})}}else{this[J]=[se({maxRedirections:z})]}this[m]=i.parseOrigin(e);this[U]=V;this[k]=w!=null?w:1;this[_]=r||o.maxHeaderSize;this[N]=f==null?4e3:f;this[P]=C==null?6e5:C;this[L]=I==null?2e3:I;this[D]=this[N];this[h]=null;this[Y]=ee!=null?ee:null;this[y]=0;this[Q]=0;this[R]=`host: ${this[m].hostname}${this[m].port?`:${this[m].port}`:""}\r\n`;this[O]=A!=null?A:3e5;this[M]=n!=null?n:3e5;this[F]=T==null?true:T;this[H]=z;this[G]=$;this[ne]=null;this[W]=te>-1?te:-1;this[X]=ae!=null?ae:100;this[K]=null;this[b]=[];this[x]=0;this[v]=0;this[Z]=e=>resume(this,e);this[j]=e=>onError(this,e)}get pipelining(){return this[k]}set pipelining(e){this[k]=e;this[Z](true)}get[I](){return this[b].length-this[v]}get[C](){return this[v]-this[x]}get[B](){return this[b].length-this[x]}get[w](){return!!this[K]&&!this[S]&&!this[K].destroyed}get[f](){return Boolean(this[K]?.busy(null)||this[B]>=(getPipelining(this)||1)||this[I]>0)}[E](e){connect(this);this.once("connect",e)}[$](e,t){const r=e.origin||this[m].origin;const n=new c(r,e,t);this[b].push(n);if(this[y]){}else if(i.bodyLength(n.body)==null&&i.isIterable(n.body)){this[y]=1;queueMicrotask((()=>resume(this)))}else{this[Z](true)}if(this[y]&&this[Q]!==2&&this[f]){this[Q]=2}return this[Q]<2}async[z](){return new Promise((e=>{if(this[B]){this[ne]=e}else{e(null)}}))}async[V](e){return new Promise((t=>{const r=this[b].splice(this[v]);for(let t=0;t<r.length;t++){const n=r[t];i.errorRequest(this,n,e)}const callback=()=>{if(this[ne]){this[ne]();this[ne]=null}t(null)};if(this[K]){this[K].destroy(e,callback);this[K]=null}else{queueMicrotask(callback)}this[Z]()}))}}const se=r(5092);function onError(e,t){if(e[C]===0&&t.code!=="UND_ERR_INFO"&&t.code!=="UND_ERR_SOCKET"){n(e[v]===e[x]);const r=e[b].splice(e[x]);for(let n=0;n<r.length;n++){const s=r[n];i.errorRequest(e,s,t)}n(e[B]===0)}}async function connect(e){n(!e[S]);n(!e[K]);let{host:t,hostname:r,protocol:o,port:c}=e[m];if(r[0]==="["){const e=r.indexOf("]");n(e!==-1);const t=r.substring(1,e);n(s.isIP(t));r=t}e[S]=true;if(a.beforeConnect.hasSubscribers){a.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:o,port:c,version:e[K]?.version,servername:e[h],localAddress:e[Y]},connector:e[U]})}try{const s=await new Promise(((n,s)=>{e[U]({host:t,hostname:r,protocol:o,port:c,servername:e[h],localAddress:e[Y]},((e,t)=>{if(e){s(e)}else{n(t)}}))}));if(e.destroyed){i.destroy(s.on("error",noop),new d);return}n(s);try{e[K]=s.alpnProtocol==="h2"?await te(e,s):await ee(e,s)}catch(e){s.destroy().on("error",noop);throw e}e[S]=false;s[q]=0;s[G]=e[G];s[g]=e;s[T]=null;if(a.connected.hasSubscribers){a.connected.publish({connectParams:{host:t,hostname:r,protocol:o,port:c,version:e[K]?.version,servername:e[h],localAddress:e[Y]},connector:e[U],socket:s})}e.emit("connect",e[m],[e])}catch(s){if(e.destroyed){return}e[S]=false;if(a.connectError.hasSubscribers){a.connectError.publish({connectParams:{host:t,hostname:r,protocol:o,port:c,version:e[K]?.version,servername:e[h],localAddress:e[Y]},connector:e[U],error:s})}if(s.code==="ERR_TLS_CERT_ALTNAME_INVALID"){n(e[C]===0);while(e[I]>0&&e[b][e[v]].servername===e[h]){const t=e[b][e[v]++];i.errorRequest(e,t,s)}}else{onError(e,s)}e.emit("connectionError",e[m],[e],s)}e[Z]()}function emitDrain(e){e[Q]=0;e.emit("drain",e[m],[e])}function resume(e,t){if(e[y]===2){return}e[y]=2;_resume(e,t);e[y]=0;if(e[x]>256){e[b].splice(0,e[x]);e[v]-=e[x];e[x]=0}}function _resume(e,t){while(true){if(e.destroyed){n(e[I]===0);return}if(e[ne]&&!e[B]){e[ne]();e[ne]=null;return}if(e[K]){e[K].resume()}if(e[f]){e[Q]=2}else if(e[Q]===2){if(t){e[Q]=1;queueMicrotask((()=>emitDrain(e)))}else{emitDrain(e)}continue}if(e[I]===0){return}if(e[C]>=(getPipelining(e)||1)){return}const r=e[b][e[v]];if(e[m].protocol==="https:"&&e[h]!==r.servername){if(e[C]>0){return}e[h]=r.servername;e[K]?.destroy(new A("servername changed"),(()=>{e[K]=null;resume(e)}))}if(e[S]){return}if(!e[K]){connect(e);return}if(e[K].destroyed){return}if(e[K].busy(r)){return}if(!r.aborted&&e[K].write(r)){e[v]++}else{e[b].splice(e[v],1)}}}e.exports=Client},1841:(e,t,r)=>{const n=r(883);const{ClientDestroyedError:s,ClientClosedError:o,InvalidArgumentError:i}=r(8707);const{kDestroy:a,kClose:c,kClosed:l,kDestroyed:u,kDispatch:A,kInterceptors:d}=r(6443);const p=Symbol("onDestroyed");const m=Symbol("onClosed");const h=Symbol("Intercepted Dispatch");class DispatcherBase extends n{constructor(){super();this[u]=false;this[p]=null;this[l]=false;this[m]=[]}get destroyed(){return this[u]}get closed(){return this[l]}get interceptors(){return this[d]}set interceptors(e){if(e){for(let t=e.length-1;t>=0;t--){const e=this[d][t];if(typeof e!=="function"){throw new i("interceptor must be an function")}}}this[d]=e}close(e){if(e===undefined){return new Promise(((e,t)=>{this.close(((r,n)=>r?t(r):e(n)))}))}if(typeof e!=="function"){throw new i("invalid callback")}if(this[u]){queueMicrotask((()=>e(new s,null)));return}if(this[l]){if(this[m]){this[m].push(e)}else{queueMicrotask((()=>e(null,null)))}return}this[l]=true;this[m].push(e);const onClosed=()=>{const e=this[m];this[m]=null;for(let t=0;t<e.length;t++){e[t](null,null)}};this[c]().then((()=>this.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(e,t){if(typeof e==="function"){t=e;e=null}if(t===undefined){return new Promise(((t,r)=>{this.destroy(e,((e,n)=>e?r(e):t(n)))}))}if(typeof t!=="function"){throw new i("invalid callback")}if(this[u]){if(this[p]){this[p].push(t)}else{queueMicrotask((()=>t(null,null)))}return}if(!e){e=new s}this[u]=true;this[p]=this[p]||[];this[p].push(t);const onDestroyed=()=>{const e=this[p];this[p]=null;for(let t=0;t<e.length;t++){e[t](null,null)}};this[a](e).then((()=>{queueMicrotask(onDestroyed)}))}[h](e,t){if(!this[d]||this[d].length===0){this[h]=this[A];return this[A](e,t)}let r=this[A].bind(this);for(let e=this[d].length-1;e>=0;e--){r=this[d][e](r)}this[h]=r;return r(e,t)}dispatch(e,t){if(!t||typeof t!=="object"){throw new i("handler must be an object")}try{if(!e||typeof e!=="object"){throw new i("opts must be an object.")}if(this[u]||this[p]){throw new s}if(this[l]){throw new o}return this[h](e,t)}catch(e){if(typeof t.onError!=="function"){throw new i("invalid onError method")}t.onError(e);return false}}}e.exports=DispatcherBase},883:(e,t,r)=>{const n=r(8474);class Dispatcher extends n{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...e){const t=Array.isArray(e[0])?e[0]:e;let r=this.dispatch.bind(this);for(const e of t){if(e==null){continue}if(typeof e!=="function"){throw new TypeError(`invalid interceptor, expected function received ${typeof e}`)}r=e(r);if(r==null||typeof r!=="function"||r.length!==2){throw new TypeError("invalid interceptor")}}return new ComposedDispatcher(this,r)}}class ComposedDispatcher extends Dispatcher{#e=null;#t=null;constructor(e,t){super();this.#e=e;this.#t=t}dispatch(...e){this.#t(...e)}close(...e){return this.#e.close(...e)}destroy(...e){return this.#e.destroy(...e)}}e.exports=Dispatcher},3137:(e,t,r)=>{const n=r(1841);const{kClose:s,kDestroy:o,kClosed:i,kDestroyed:a,kDispatch:c,kNoProxyAgent:l,kHttpProxyAgent:u,kHttpsProxyAgent:A}=r(6443);const d=r(6672);const p=r(7405);const m={"http:":80,"https:":443};let h=false;class EnvHttpProxyAgent extends n{#r=null;#n=null;#s=null;constructor(e={}){super();this.#s=e;if(!h){h=true;process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"})}const{httpProxy:t,httpsProxy:r,noProxy:n,...s}=e;this[l]=new p(s);const o=t??process.env.http_proxy??process.env.HTTP_PROXY;if(o){this[u]=new d({...s,uri:o})}else{this[u]=this[l]}const i=r??process.env.https_proxy??process.env.HTTPS_PROXY;if(i){this[A]=new d({...s,uri:i})}else{this[A]=this[u]}this.#o()}[c](e,t){const r=new URL(e.origin);const n=this.#i(r);return n.dispatch(e,t)}async[s](){await this[l].close();if(!this[u][i]){await this[u].close()}if(!this[A][i]){await this[A].close()}}async[o](e){await this[l].destroy(e);if(!this[u][a]){await this[u].destroy(e)}if(!this[A][a]){await this[A].destroy(e)}}#i(e){let{protocol:t,host:r,port:n}=e;r=r.replace(/:\d*$/,"").toLowerCase();n=Number.parseInt(n,10)||m[t]||0;if(!this.#a(r,n)){return this[l]}if(t==="https:"){return this[A]}return this[u]}#a(e,t){if(this.#c){this.#o()}if(this.#n.length===0){return true}if(this.#r==="*"){return false}for(let r=0;r<this.#n.length;r++){const n=this.#n[r];if(n.port&&n.port!==t){continue}if(!/^[.*]/.test(n.hostname)){if(e===n.hostname){return false}}else{if(e.endsWith(n.hostname.replace(/^\*/,""))){return false}}}return true}#o(){const e=this.#s.noProxy??this.#l;const t=e.split(/[,\s]/);const r=[];for(let e=0;e<t.length;e++){const n=t[e];if(!n){continue}const s=n.match(/^(.+):(\d+)$/);r.push({hostname:(s?s[1]:n).toLowerCase(),port:s?Number.parseInt(s[2],10):0})}this.#r=e;this.#n=r}get#c(){if(this.#s.noProxy!==undefined){return false}return this.#r!==this.#l}get#l(){return process.env.no_proxy??process.env.NO_PROXY??""}}e.exports=EnvHttpProxyAgent},4660:e=>{const t=2048;const r=t-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(t);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&r)===this.bottom}push(e){this.list[this.top]=e;this.top=this.top+1&r}shift(){const e=this.list[this.bottom];if(e===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&r;return e}}e.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(e){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(e)}shift(){const e=this.tail;const t=e.shift();if(e.isEmpty()&&e.next!==null){this.tail=e.next}return t}}},2128:(e,t,r)=>{const n=r(1841);const s=r(4660);const{kConnected:o,kSize:i,kRunning:a,kPending:c,kQueued:l,kBusy:u,kFree:A,kUrl:d,kClose:p,kDestroy:m,kDispatch:h}=r(6443);const g=r(3246);const f=Symbol("clients");const E=Symbol("needDrain");const y=Symbol("queue");const C=Symbol("closed resolve");const I=Symbol("onDrain");const B=Symbol("onConnect");const b=Symbol("onDisconnect");const w=Symbol("onConnectionError");const S=Symbol("get dispatcher");const Q=Symbol("add client");const N=Symbol("remove client");const R=Symbol("stats");class PoolBase extends n{constructor(){super();this[y]=new s;this[f]=[];this[l]=0;const e=this;this[I]=function onDrain(t,r){const n=e[y];let s=false;while(!s){const t=n.shift();if(!t){break}e[l]--;s=!this.dispatch(t.opts,t.handler)}this[E]=s;if(!this[E]&&e[E]){e[E]=false;e.emit("drain",t,[e,...r])}if(e[C]&&n.isEmpty()){Promise.all(e[f].map((e=>e.close()))).then(e[C])}};this[B]=(t,r)=>{e.emit("connect",t,[e,...r])};this[b]=(t,r,n)=>{e.emit("disconnect",t,[e,...r],n)};this[w]=(t,r,n)=>{e.emit("connectionError",t,[e,...r],n)};this[R]=new g(this)}get[u](){return this[E]}get[o](){return this[f].filter((e=>e[o])).length}get[A](){return this[f].filter((e=>e[o]&&!e[E])).length}get[c](){let e=this[l];for(const{[c]:t}of this[f]){e+=t}return e}get[a](){let e=0;for(const{[a]:t}of this[f]){e+=t}return e}get[i](){let e=this[l];for(const{[i]:t}of this[f]){e+=t}return e}get stats(){return this[R]}async[p](){if(this[y].isEmpty()){await Promise.all(this[f].map((e=>e.close())))}else{await new Promise((e=>{this[C]=e}))}}async[m](e){while(true){const t=this[y].shift();if(!t){break}t.handler.onError(e)}await Promise.all(this[f].map((t=>t.destroy(e))))}[h](e,t){const r=this[S]();if(!r){this[E]=true;this[y].push({opts:e,handler:t});this[l]++}else if(!r.dispatch(e,t)){r[E]=true;this[E]=!this[S]()}return!this[E]}[Q](e){e.on("drain",this[I]).on("connect",this[B]).on("disconnect",this[b]).on("connectionError",this[w]);this[f].push(e);if(this[E]){queueMicrotask((()=>{if(this[E]){this[I](e[d],[this,e])}}))}return this}[N](e){e.close((()=>{const t=this[f].indexOf(e);if(t!==-1){this[f].splice(t,1)}}));this[E]=this[f].some((e=>!e[E]&&e.closed!==true&&e.destroyed!==true))}}e.exports={PoolBase:PoolBase,kClients:f,kNeedDrain:E,kAddClient:Q,kRemoveClient:N,kGetDispatcher:S}},3246:(e,t,r)=>{const{kFree:n,kConnected:s,kPending:o,kQueued:i,kRunning:a,kSize:c}=r(6443);const l=Symbol("pool");class PoolStats{constructor(e){this[l]=e}get connected(){return this[l][s]}get free(){return this[l][n]}get pending(){return this[l][o]}get queued(){return this[l][i]}get running(){return this[l][a]}get size(){return this[l][c]}}e.exports=PoolStats},628:(e,t,r)=>{const{PoolBase:n,kClients:s,kNeedDrain:o,kAddClient:i,kGetDispatcher:a}=r(2128);const c=r(3701);const{InvalidArgumentError:l}=r(8707);const u=r(3440);const{kUrl:A,kInterceptors:d}=r(6443);const p=r(9136);const m=Symbol("options");const h=Symbol("connections");const g=Symbol("factory");function defaultFactory(e,t){return new c(e,t)}class Pool extends n{constructor(e,{connections:t,factory:r=defaultFactory,connect:n,connectTimeout:o,tls:i,maxCachedSessions:a,socketPath:c,autoSelectFamily:f,autoSelectFamilyAttemptTimeout:E,allowH2:y,...C}={}){super();if(t!=null&&(!Number.isFinite(t)||t<0)){throw new l("invalid connections")}if(typeof r!=="function"){throw new l("factory must be a function.")}if(n!=null&&typeof n!=="function"&&typeof n!=="object"){throw new l("connect must be a function or an object")}if(typeof n!=="function"){n=p({...i,maxCachedSessions:a,allowH2:y,socketPath:c,timeout:o,...f?{autoSelectFamily:f,autoSelectFamilyAttemptTimeout:E}:undefined,...n})}this[d]=C.interceptors?.Pool&&Array.isArray(C.interceptors.Pool)?C.interceptors.Pool:[];this[h]=t||null;this[A]=u.parseOrigin(e);this[m]={...u.deepClone(C),connect:n,allowH2:y};this[m].interceptors=C.interceptors?{...C.interceptors}:undefined;this[g]=r;this.on("connectionError",((e,t,r)=>{for(const e of t){const t=this[s].indexOf(e);if(t!==-1){this[s].splice(t,1)}}}))}[a](){for(const e of this[s]){if(!e[o]){return e}}if(!this[h]||this[s].length<this[h]){const e=this[g](this[A],this[m]);this[i](e);return e}}}e.exports=Pool},6672:(e,t,r)=>{const{kProxy:n,kClose:s,kDestroy:o,kDispatch:i,kInterceptors:a}=r(6443);const{URL:c}=r(3136);const l=r(7405);const u=r(628);const A=r(1841);const{InvalidArgumentError:d,RequestAbortedError:p,SecureProxyConnectionError:m}=r(8707);const h=r(9136);const g=r(3701);const f=Symbol("proxy agent");const E=Symbol("proxy client");const y=Symbol("proxy headers");const C=Symbol("request tls settings");const I=Symbol("proxy tls settings");const B=Symbol("connect endpoint function");const b=Symbol("tunnel proxy");function defaultProtocolPort(e){return e==="https:"?443:80}function defaultFactory(e,t){return new u(e,t)}const noop=()=>{};function defaultAgentFactory(e,t){if(t.connections===1){return new g(e,t)}return new u(e,t)}class Http1ProxyWrapper extends A{#u;constructor(e,{headers:t={},connect:r,factory:n}){super();if(!e){throw new d("Proxy URL is mandatory")}this[y]=t;if(n){this.#u=n(e,{connect:r})}else{this.#u=new g(e,{connect:r})}}[i](e,t){const r=t.onHeaders;t.onHeaders=function(e,n,s){if(e===407){if(typeof t.onError==="function"){t.onError(new d("Proxy Authentication Required (407)"))}return}if(r)r.call(this,e,n,s)};const{origin:n,path:s="/",headers:o={}}=e;e.path=n+s;if(!("host"in o)&&!("Host"in o)){const{host:e}=new c(n);o.host=e}e.headers={...this[y],...o};return this.#u[i](e,t)}async[s](){return this.#u.close()}async[o](e){return this.#u.destroy(e)}}class ProxyAgent extends A{constructor(e){super();if(!e||typeof e==="object"&&!(e instanceof c)&&!e.uri){throw new d("Proxy uri is mandatory")}const{clientFactory:t=defaultFactory}=e;if(typeof t!=="function"){throw new d("Proxy opts.clientFactory must be a function.")}const{proxyTunnel:r=true}=e;const s=this.#A(e);const{href:o,origin:i,port:u,protocol:A,username:g,password:w,hostname:S}=s;this[n]={uri:o,protocol:A};this[a]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[];this[C]=e.requestTls;this[I]=e.proxyTls;this[y]=e.headers||{};this[b]=r;if(e.auth&&e.token){throw new d("opts.auth cannot be used in combination with opts.token")}else if(e.auth){this[y]["proxy-authorization"]=`Basic ${e.auth}`}else if(e.token){this[y]["proxy-authorization"]=e.token}else if(g&&w){this[y]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(g)}:${decodeURIComponent(w)}`).toString("base64")}`}const Q=h({...e.proxyTls});this[B]=h({...e.requestTls});const N=e.factory||defaultAgentFactory;const factory=(e,t)=>{const{protocol:r}=new c(e);if(!this[b]&&r==="http:"&&this[n].protocol==="http:"){return new Http1ProxyWrapper(this[n].uri,{headers:this[y],connect:Q,factory:N})}return N(e,t)};this[E]=t(s,{connect:Q});this[f]=new l({...e,factory:factory,connect:async(e,t)=>{let r=e.host;if(!e.port){r+=`:${defaultProtocolPort(e.protocol)}`}try{const{socket:n,statusCode:s}=await this[E].connect({origin:i,port:u,path:r,signal:e.signal,headers:{...this[y],host:e.host},servername:this[I]?.servername||S});if(s!==200){n.on("error",noop).destroy();t(new p(`Proxy response (${s}) !== 200 when HTTP Tunneling`))}if(e.protocol!=="https:"){t(null,n);return}let o;if(this[C]){o=this[C].servername}else{o=e.servername}this[B]({...e,servername:o,httpSocket:n},t)}catch(e){if(e.code==="ERR_TLS_CERT_ALTNAME_INVALID"){t(new m(e))}else{t(e)}}}})}dispatch(e,t){const r=buildHeaders(e.headers);throwIfProxyAuthIsSent(r);if(r&&!("host"in r)&&!("Host"in r)){const{host:t}=new c(e.origin);r.host=t}return this[f].dispatch({...e,headers:r},t)}#A(e){if(typeof e==="string"){return new c(e)}else if(e instanceof c){return e}else{return new c(e.uri)}}async[s](){await this[f].close();await this[E].close()}async[o](){await this[f].destroy();await this[E].destroy()}}function buildHeaders(e){if(Array.isArray(e)){const t={};for(let r=0;r<e.length;r+=2){t[e[r]]=e[r+1]}return t}return e}function throwIfProxyAuthIsSent(e){const t=e&&Object.keys(e).find((e=>e.toLowerCase()==="proxy-authorization"));if(t){throw new d("Proxy-Authorization should be sent in ProxyAgent constructor")}}e.exports=ProxyAgent},50:(e,t,r)=>{const n=r(883);const s=r(7816);class RetryAgent extends n{#d=null;#p=null;constructor(e,t={}){super(t);this.#d=e;this.#p=t}dispatch(e,t){const r=new s({...e,retryOptions:this.#p},{dispatch:this.#d.dispatch.bind(this.#d),handler:t});return this.#d.dispatch(e,r)}close(){return this.#d.close()}destroy(){return this.#d.destroy()}}e.exports=RetryAgent},2581:(e,t,r)=>{const n=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:s}=r(8707);const o=r(7405);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new o)}function setGlobalDispatcher(e){if(!e||typeof e.dispatch!=="function"){throw new s("Argument agent must implement Agent")}Object.defineProperty(globalThis,n,{value:e,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[n]}e.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},8155:e=>{e.exports=class DecoratorHandler{#m;constructor(e){if(typeof e!=="object"||e===null){throw new TypeError("handler must be an object")}this.#m=e}onConnect(...e){return this.#m.onConnect?.(...e)}onError(...e){return this.#m.onError?.(...e)}onUpgrade(...e){return this.#m.onUpgrade?.(...e)}onResponseStarted(...e){return this.#m.onResponseStarted?.(...e)}onHeaders(...e){return this.#m.onHeaders?.(...e)}onData(...e){return this.#m.onData?.(...e)}onComplete(...e){return this.#m.onComplete?.(...e)}onBodySent(...e){return this.#m.onBodySent?.(...e)}}},8754:(e,t,r)=>{const n=r(3440);const{kBodyUsed:s}=r(6443);const o=r(4589);const{InvalidArgumentError:i}=r(8707);const a=r(8474);const c=[300,301,302,303,307,308];const l=Symbol("body");class BodyAsyncIterable{constructor(e){this[l]=e;this[s]=false}async*[Symbol.asyncIterator](){o(!this[s],"disturbed");this[s]=true;yield*this[l]}}class RedirectHandler{constructor(e,t,r,c){if(t!=null&&(!Number.isInteger(t)||t<0)){throw new i("maxRedirections must be a positive number")}n.validateHandler(c,r.method,r.upgrade);this.dispatch=e;this.location=null;this.abort=null;this.opts={...r,maxRedirections:0};this.maxRedirections=t;this.handler=c;this.history=[];this.redirectionLimitReached=false;if(n.isStream(this.opts.body)){if(n.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){o(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[s]=false;a.prototype.on.call(this.opts.body,"data",(function(){this[s]=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)&&n.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(e){this.abort=e;this.handler.onConnect(e,{history:this.history})}onUpgrade(e,t,r){this.handler.onUpgrade(e,t,r)}onError(e){this.handler.onError(e)}onHeaders(e,t,r,s){this.location=this.history.length>=this.maxRedirections||n.isDisturbed(this.opts.body)?null:parseLocation(e,t);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(e,t,r,s)}const{origin:o,pathname:i,search:a}=n.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const c=a?`${i}${a}`:i;this.opts.headers=cleanRequestHeaders(this.opts.headers,e===303,this.opts.origin!==o);this.opts.path=c;this.opts.origin=o;this.opts.maxRedirections=0;this.opts.query=null;if(e===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(e){if(this.location){}else{return this.handler.onData(e)}}onComplete(e){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(e)}}onBodySent(e){if(this.handler.onBodySent){this.handler.onBodySent(e)}}}function parseLocation(e,t){if(c.indexOf(e)===-1){return null}for(let e=0;e<t.length;e+=2){if(t[e].length===8&&n.headerNameToString(t[e])==="location"){return t[e+1]}}}function shouldRemoveHeader(e,t,r){if(e.length===4){return n.headerNameToString(e)==="host"}if(t&&n.headerNameToString(e).startsWith("content-")){return true}if(r&&(e.length===13||e.length===6||e.length===19)){const t=n.headerNameToString(e);return t==="authorization"||t==="cookie"||t==="proxy-authorization"}return false}function cleanRequestHeaders(e,t,r){const n=[];if(Array.isArray(e)){for(let s=0;s<e.length;s+=2){if(!shouldRemoveHeader(e[s],t,r)){n.push(e[s],e[s+1])}}}else if(e&&typeof e==="object"){for(const s of Object.keys(e)){if(!shouldRemoveHeader(s,t,r)){n.push(s,e[s])}}}else{o(e==null,"headers must be an object or an array")}return n}e.exports=RedirectHandler},7816:(e,t,r)=>{const n=r(4589);const{kRetryHandlerDefaultRetry:s}=r(6443);const{RequestRetryError:o}=r(8707);const{isDisturbed:i,parseHeaders:a,parseRangeHeader:c,wrapRequestBody:l}=r(3440);function calculateRetryAfterHeader(e){const t=Date.now();return new Date(e).getTime()-t}class RetryHandler{constructor(e,t){const{retryOptions:r,...n}=e;const{retry:o,maxRetries:i,maxTimeout:a,minTimeout:c,timeoutFactor:u,methods:A,errorCodes:d,retryAfter:p,statusCodes:m}=r??{};this.dispatch=t.dispatch;this.handler=t.handler;this.opts={...n,body:l(e.body)};this.abort=null;this.aborted=false;this.retryOpts={retry:o??RetryHandler[s],retryAfter:p??true,maxTimeout:a??30*1e3,minTimeout:c??500,timeoutFactor:u??2,maxRetries:i??5,methods:A??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:m??[500,502,503,504,429],errorCodes:d??["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((e=>{this.aborted=true;if(this.abort){this.abort(e)}else{this.reason=e}}))}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(e,t,r){if(this.handler.onUpgrade){this.handler.onUpgrade(e,t,r)}}onConnect(e){if(this.aborted){e(this.reason)}else{this.abort=e}}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[s](e,{state:t,opts:r},n){const{statusCode:s,code:o,headers:i}=e;const{method:a,retryOptions:c}=r;const{maxRetries:l,minTimeout:u,maxTimeout:A,timeoutFactor:d,statusCodes:p,errorCodes:m,methods:h}=c;const{counter:g}=t;if(o&&o!=="UND_ERR_REQ_RETRY"&&!m.includes(o)){n(e);return}if(Array.isArray(h)&&!h.includes(a)){n(e);return}if(s!=null&&Array.isArray(p)&&!p.includes(s)){n(e);return}if(g>l){n(e);return}let f=i?.["retry-after"];if(f){f=Number(f);f=Number.isNaN(f)?calculateRetryAfterHeader(f):f*1e3}const E=f>0?Math.min(f,A):Math.min(u*d**(g-1),A);setTimeout((()=>n(null)),E)}onHeaders(e,t,r,s){const i=a(t);this.retryCount+=1;if(e>=300){if(this.retryOpts.statusCodes.includes(e)===false){return this.handler.onHeaders(e,t,r,s)}else{this.abort(new o("Request failed",e,{headers:i,data:{count:this.retryCount}}));return false}}if(this.resume!=null){this.resume=null;if(e!==206&&(this.start>0||e!==200)){this.abort(new o("server does not support the range header and the payload was partially consumed",e,{headers:i,data:{count:this.retryCount}}));return false}const t=c(i["content-range"]);if(!t){this.abort(new o("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}}));return false}if(this.etag!=null&&this.etag!==i.etag){this.abort(new o("ETag mismatch",e,{headers:i,data:{count:this.retryCount}}));return false}const{start:s,size:a,end:l=a-1}=t;n(this.start===s,"content-range mismatch");n(this.end==null||this.end===l,"content-range mismatch");this.resume=r;return true}if(this.end==null){if(e===206){const o=c(i["content-range"]);if(o==null){return this.handler.onHeaders(e,t,r,s)}const{start:a,size:l,end:u=l-1}=o;n(a!=null&&Number.isFinite(a),"content-range mismatch");n(u!=null&&Number.isFinite(u),"invalid content-length");this.start=a;this.end=u}if(this.end==null){const e=i["content-length"];this.end=e!=null?Number(e)-1:null}n(Number.isFinite(this.start));n(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=r;this.etag=i.etag!=null?i.etag:null;if(this.etag!=null&&this.etag.startsWith("W/")){this.etag=null}return this.handler.onHeaders(e,t,r,s)}const l=new o("Request failed",e,{headers:i,data:{count:this.retryCount}});this.abort(l);return false}onData(e){this.start+=e.length;return this.handler.onData(e)}onComplete(e){this.retryCount=0;return this.handler.onComplete(e)}onError(e){if(this.aborted||i(this.opts.body)){return this.handler.onError(e)}if(this.retryCount-this.retryCountCheckpoint>0){this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint)}else{this.retryCount+=1}this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},onRetry.bind(this));function onRetry(e){if(e!=null||this.aborted||i(this.opts.body)){return this.handler.onError(e)}if(this.start!==0){const e={range:`bytes=${this.start}-${this.end??""}`};if(this.etag!=null){e["if-match"]=this.etag}this.opts={...this.opts,headers:{...this.opts.headers,...e}}}try{this.retryCountCheckpoint=this.retryCount;this.dispatch(this.opts,this)}catch(e){this.handler.onError(e)}}}}e.exports=RetryHandler},379:(e,t,r)=>{const{isIP:n}=r(7030);const{lookup:s}=r(610);const o=r(8155);const{InvalidArgumentError:i,InformationalError:a}=r(8707);const c=Math.pow(2,31)-1;class DNSInstance{#h=0;#g=0;#f=new Map;dualStack=true;affinity=null;lookup=null;pick=null;constructor(e){this.#h=e.maxTTL;this.#g=e.maxItems;this.dualStack=e.dualStack;this.affinity=e.affinity;this.lookup=e.lookup??this.#E;this.pick=e.pick??this.#y}get full(){return this.#f.size===this.#g}runLookup(e,t,r){const n=this.#f.get(e.hostname);if(n==null&&this.full){r(null,e.origin);return}const s={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...t.dns,maxTTL:this.#h,maxItems:this.#g};if(n==null){this.lookup(e,s,((t,n)=>{if(t||n==null||n.length===0){r(t??new a("No DNS entries found"));return}this.setRecords(e,n);const o=this.#f.get(e.hostname);const i=this.pick(e,o,s.affinity);let c;if(typeof i.port==="number"){c=`:${i.port}`}else if(e.port!==""){c=`:${e.port}`}else{c=""}r(null,`${e.protocol}//${i.family===6?`[${i.address}]`:i.address}${c}`)}))}else{const o=this.pick(e,n,s.affinity);if(o==null){this.#f.delete(e.hostname);this.runLookup(e,t,r);return}let i;if(typeof o.port==="number"){i=`:${o.port}`}else if(e.port!==""){i=`:${e.port}`}else{i=""}r(null,`${e.protocol}//${o.family===6?`[${o.address}]`:o.address}${i}`)}}#E(e,t,r){s(e.hostname,{all:true,family:this.dualStack===false?this.affinity:0,order:"ipv4first"},((e,t)=>{if(e){return r(e)}const n=new Map;for(const e of t){n.set(`${e.address}:${e.family}`,e)}r(null,n.values())}))}#y(e,t,r){let n=null;const{records:s,offset:o}=t;let i;if(this.dualStack){if(r==null){if(o==null||o===c){t.offset=0;r=4}else{t.offset++;r=(t.offset&1)===1?6:4}}if(s[r]!=null&&s[r].ips.length>0){i=s[r]}else{i=s[r===4?6:4]}}else{i=s[r]}if(i==null||i.ips.length===0){return n}if(i.offset==null||i.offset===c){i.offset=0}else{i.offset++}const a=i.offset%i.ips.length;n=i.ips[a]??null;if(n==null){return n}if(Date.now()-n.timestamp>n.ttl){i.ips.splice(a,1);return this.pick(e,t,r)}return n}setRecords(e,t){const r=Date.now();const n={records:{4:null,6:null}};for(const e of t){e.timestamp=r;if(typeof e.ttl==="number"){e.ttl=Math.min(e.ttl,this.#h)}else{e.ttl=this.#h}const t=n.records[e.family]??{ips:[]};t.ips.push(e);n.records[e.family]=t}this.#f.set(e.hostname,n)}getHandler(e,t){return new DNSDispatchHandler(this,e,t)}}class DNSDispatchHandler extends o{#C=null;#s=null;#t=null;#m=null;#I=null;constructor(e,{origin:t,handler:r,dispatch:n},s){super(r);this.#I=t;this.#m=r;this.#s={...s};this.#C=e;this.#t=n}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#C.dualStack){this.#C.runLookup(this.#I,this.#s,((e,t)=>{if(e){return this.#m.onError(e)}const r={...this.#s,origin:t};this.#t(r,this)}));return}this.#m.onError(e);return}case"ENOTFOUND":this.#C.deleteRecord(this.#I);default:this.#m.onError(e);break}}}e.exports=e=>{if(e?.maxTTL!=null&&(typeof e?.maxTTL!=="number"||e?.maxTTL<0)){throw new i("Invalid maxTTL. Must be a positive number")}if(e?.maxItems!=null&&(typeof e?.maxItems!=="number"||e?.maxItems<1)){throw new i("Invalid maxItems. Must be a positive number and greater than zero")}if(e?.affinity!=null&&e?.affinity!==4&&e?.affinity!==6){throw new i("Invalid affinity. Must be either 4 or 6")}if(e?.dualStack!=null&&typeof e?.dualStack!=="boolean"){throw new i("Invalid dualStack. Must be a boolean")}if(e?.lookup!=null&&typeof e?.lookup!=="function"){throw new i("Invalid lookup. Must be a function")}if(e?.pick!=null&&typeof e?.pick!=="function"){throw new i("Invalid pick. Must be a function")}const t=e?.dualStack??true;let r;if(t){r=e?.affinity??null}else{r=e?.affinity??4}const s={maxTTL:e?.maxTTL??1e4,lookup:e?.lookup??null,pick:e?.pick??null,dualStack:t,affinity:r,maxItems:e?.maxItems??Infinity};const o=new DNSInstance(s);return e=>function dnsInterceptor(t,r){const s=t.origin.constructor===URL?t.origin:new URL(t.origin);if(n(s.hostname)!==0){return e(t,r)}o.runLookup(s,t,((n,i)=>{if(n){return r.onError(n)}let a=null;a={...t,servername:s.hostname,origin:i,headers:{host:s.hostname,...t.headers}};e(a,o.getHandler({origin:s,dispatch:e,handler:r},t))}));return true}}},8060:(e,t,r)=>{const n=r(3440);const{InvalidArgumentError:s,RequestAbortedError:o}=r(8707);const i=r(8155);class DumpHandler extends i{#B=1024*1024;#b=null;#w=false;#S=false;#Q=0;#N=null;#m=null;constructor({maxSize:e},t){super(t);if(e!=null&&(!Number.isFinite(e)||e<1)){throw new s("maxSize must be a number greater than 0")}this.#B=e??this.#B;this.#m=t}onConnect(e){this.#b=e;this.#m.onConnect(this.#R.bind(this))}#R(e){this.#S=true;this.#N=e}onHeaders(e,t,r,s){const i=n.parseHeaders(t);const a=i["content-length"];if(a!=null&&a>this.#B){throw new o(`Response size (${a}) larger than maxSize (${this.#B})`)}if(this.#S){return true}return this.#m.onHeaders(e,t,r,s)}onError(e){if(this.#w){return}e=this.#N??e;this.#m.onError(e)}onData(e){this.#Q=this.#Q+e.length;if(this.#Q>=this.#B){this.#w=true;if(this.#S){this.#m.onError(this.#N)}else{this.#m.onComplete([])}}return true}onComplete(e){if(this.#w){return}if(this.#S){this.#m.onError(this.reason);return}this.#m.onComplete(e)}}function createDumpInterceptor({maxSize:e}={maxSize:1024*1024}){return t=>function Intercept(r,n){const{dumpMaxSize:s=e}=r;const o=new DumpHandler({maxSize:s},n);return t(r,o)}}e.exports=createDumpInterceptor},5092:(e,t,r)=>{const n=r(8754);function createRedirectInterceptor({maxRedirections:e}){return t=>function Intercept(r,s){const{maxRedirections:o=e}=r;if(!o){return t(r,s)}const i=new n(t,o,r,s);r={...r,maxRedirections:0};return t(r,i)}}e.exports=createRedirectInterceptor},1514:(e,t,r)=>{const n=r(8754);e.exports=e=>{const t=e?.maxRedirections;return e=>function redirectInterceptor(r,s){const{maxRedirections:o=t,...i}=r;if(!o){return e(r,s)}const a=new n(e,o,r,s);return e(i,a)}}},2026:(e,t,r)=>{const n=r(7816);e.exports=e=>t=>function retryInterceptor(r,s){return t(r,new n({...r,retryOptions:{...e,...r.retryOptions}},{handler:s,dispatch:t}))}},2824:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:true});t.SPECIAL_HEADERS=t.HEADER_STATE=t.MINOR=t.MAJOR=t.CONNECTION_TOKEN_CHARS=t.HEADER_CHARS=t.TOKEN=t.STRICT_TOKEN=t.HEX=t.URL_CHAR=t.STRICT_URL_CHAR=t.USERINFO_CHARS=t.MARK=t.ALPHANUM=t.NUM=t.HEX_MAP=t.NUM_MAP=t.ALPHA=t.FINISH=t.H_METHOD_MAP=t.METHOD_MAP=t.METHODS_RTSP=t.METHODS_ICE=t.METHODS_HTTP=t.METHODS=t.LENIENT_FLAGS=t.FLAGS=t.TYPE=t.ERROR=void 0;const n=r(172);var s;(function(e){e[e["OK"]=0]="OK";e[e["INTERNAL"]=1]="INTERNAL";e[e["STRICT"]=2]="STRICT";e[e["LF_EXPECTED"]=3]="LF_EXPECTED";e[e["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";e[e["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";e[e["INVALID_METHOD"]=6]="INVALID_METHOD";e[e["INVALID_URL"]=7]="INVALID_URL";e[e["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";e[e["INVALID_VERSION"]=9]="INVALID_VERSION";e[e["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";e[e["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";e[e["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";e[e["INVALID_STATUS"]=13]="INVALID_STATUS";e[e["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";e[e["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";e[e["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";e[e["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";e[e["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";e[e["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";e[e["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";e[e["PAUSED"]=21]="PAUSED";e[e["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";e[e["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";e[e["USER"]=24]="USER"})(s=t.ERROR||(t.ERROR={}));var o;(function(e){e[e["BOTH"]=0]="BOTH";e[e["REQUEST"]=1]="REQUEST";e[e["RESPONSE"]=2]="RESPONSE"})(o=t.TYPE||(t.TYPE={}));var i;(function(e){e[e["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";e[e["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";e[e["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";e[e["CHUNKED"]=8]="CHUNKED";e[e["UPGRADE"]=16]="UPGRADE";e[e["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";e[e["SKIPBODY"]=64]="SKIPBODY";e[e["TRAILING"]=128]="TRAILING";e[e["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(i=t.FLAGS||(t.FLAGS={}));var a;(function(e){e[e["HEADERS"]=1]="HEADERS";e[e["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";e[e["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(a=t.LENIENT_FLAGS||(t.LENIENT_FLAGS={}));var c;(function(e){e[e["DELETE"]=0]="DELETE";e[e["GET"]=1]="GET";e[e["HEAD"]=2]="HEAD";e[e["POST"]=3]="POST";e[e["PUT"]=4]="PUT";e[e["CONNECT"]=5]="CONNECT";e[e["OPTIONS"]=6]="OPTIONS";e[e["TRACE"]=7]="TRACE";e[e["COPY"]=8]="COPY";e[e["LOCK"]=9]="LOCK";e[e["MKCOL"]=10]="MKCOL";e[e["MOVE"]=11]="MOVE";e[e["PROPFIND"]=12]="PROPFIND";e[e["PROPPATCH"]=13]="PROPPATCH";e[e["SEARCH"]=14]="SEARCH";e[e["UNLOCK"]=15]="UNLOCK";e[e["BIND"]=16]="BIND";e[e["REBIND"]=17]="REBIND";e[e["UNBIND"]=18]="UNBIND";e[e["ACL"]=19]="ACL";e[e["REPORT"]=20]="REPORT";e[e["MKACTIVITY"]=21]="MKACTIVITY";e[e["CHECKOUT"]=22]="CHECKOUT";e[e["MERGE"]=23]="MERGE";e[e["M-SEARCH"]=24]="M-SEARCH";e[e["NOTIFY"]=25]="NOTIFY";e[e["SUBSCRIBE"]=26]="SUBSCRIBE";e[e["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";e[e["PATCH"]=28]="PATCH";e[e["PURGE"]=29]="PURGE";e[e["MKCALENDAR"]=30]="MKCALENDAR";e[e["LINK"]=31]="LINK";e[e["UNLINK"]=32]="UNLINK";e[e["SOURCE"]=33]="SOURCE";e[e["PRI"]=34]="PRI";e[e["DESCRIBE"]=35]="DESCRIBE";e[e["ANNOUNCE"]=36]="ANNOUNCE";e[e["SETUP"]=37]="SETUP";e[e["PLAY"]=38]="PLAY";e[e["PAUSE"]=39]="PAUSE";e[e["TEARDOWN"]=40]="TEARDOWN";e[e["GET_PARAMETER"]=41]="GET_PARAMETER";e[e["SET_PARAMETER"]=42]="SET_PARAMETER";e[e["REDIRECT"]=43]="REDIRECT";e[e["RECORD"]=44]="RECORD";e[e["FLUSH"]=45]="FLUSH"})(c=t.METHODS||(t.METHODS={}));t.METHODS_HTTP=[c.DELETE,c.GET,c.HEAD,c.POST,c.PUT,c.CONNECT,c.OPTIONS,c.TRACE,c.COPY,c.LOCK,c.MKCOL,c.MOVE,c.PROPFIND,c.PROPPATCH,c.SEARCH,c.UNLOCK,c.BIND,c.REBIND,c.UNBIND,c.ACL,c.REPORT,c.MKACTIVITY,c.CHECKOUT,c.MERGE,c["M-SEARCH"],c.NOTIFY,c.SUBSCRIBE,c.UNSUBSCRIBE,c.PATCH,c.PURGE,c.MKCALENDAR,c.LINK,c.UNLINK,c.PRI,c.SOURCE];t.METHODS_ICE=[c.SOURCE];t.METHODS_RTSP=[c.OPTIONS,c.DESCRIBE,c.ANNOUNCE,c.SETUP,c.PLAY,c.PAUSE,c.TEARDOWN,c.GET_PARAMETER,c.SET_PARAMETER,c.REDIRECT,c.RECORD,c.FLUSH,c.GET,c.POST];t.METHOD_MAP=n.enumToMap(c);t.H_METHOD_MAP={};Object.keys(t.METHOD_MAP).forEach((e=>{if(/^H/.test(e)){t.H_METHOD_MAP[e]=t.METHOD_MAP[e]}}));var l;(function(e){e[e["SAFE"]=0]="SAFE";e[e["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";e[e["UNSAFE"]=2]="UNSAFE"})(l=t.FINISH||(t.FINISH={}));t.ALPHA=[];for(let e="A".charCodeAt(0);e<="Z".charCodeAt(0);e++){t.ALPHA.push(String.fromCharCode(e));t.ALPHA.push(String.fromCharCode(e+32))}t.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};t.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};t.NUM=["0","1","2","3","4","5","6","7","8","9"];t.ALPHANUM=t.ALPHA.concat(t.NUM);t.MARK=["-","_",".","!","~","*","'","(",")"];t.USERINFO_CHARS=t.ALPHANUM.concat(t.MARK).concat(["%",";",":","&","=","+","$",","]);t.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(t.ALPHANUM);t.URL_CHAR=t.STRICT_URL_CHAR.concat(["\t","\f"]);for(let e=128;e<=255;e++){t.URL_CHAR.push(e)}t.HEX=t.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);t.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(t.ALPHANUM);t.TOKEN=t.STRICT_TOKEN.concat([" "]);t.HEADER_CHARS=["\t"];for(let e=32;e<=255;e++){if(e!==127){t.HEADER_CHARS.push(e)}}t.CONNECTION_TOKEN_CHARS=t.HEADER_CHARS.filter((e=>e!==44));t.MAJOR=t.NUM_MAP;t.MINOR=t.MAJOR;var u;(function(e){e[e["GENERAL"]=0]="GENERAL";e[e["CONNECTION"]=1]="CONNECTION";e[e["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";e[e["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";e[e["UPGRADE"]=4]="UPGRADE";e[e["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";e[e["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";e[e["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";e[e["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(u=t.HEADER_STATE||(t.HEADER_STATE={}));t.SPECIAL_HEADERS={connection:u.CONNECTION,"content-length":u.CONTENT_LENGTH,"proxy-connection":u.CONNECTION,"transfer-encoding":u.TRANSFER_ENCODING,upgrade:u.UPGRADE}},3870:(e,t,r)=>{const{Buffer:n}=r(4573);e.exports=n.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtsbGh0dHBfaW5pdAAJGGxsaHR0cF9zaG91bGRfa2VlcF9hbGl2ZQAvDGxsaHR0cF9hbGxvYwALBm1hbGxvYwAxC2xsaHR0cF9mcmVlAAwEZnJlZQAMD2xsaHR0cF9nZXRfdHlwZQANFWxsaHR0cF9nZXRfaHR0cF9tYWpvcgAOFWxsaHR0cF9nZXRfaHR0cF9taW5vcgAPEWxsaHR0cF9nZXRfbWV0aG9kABAWbGxodHRwX2dldF9zdGF0dXNfY29kZQAREmxsaHR0cF9n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IAI2AhAgAiAANgIYCyAFQRRqKAIAIgJFDQAgAEEUaiACNgIAIAIgADYCGAsgASAEaiAENgIAIAEgBEEBcjYCBCABQaDQACgCAEcNAEGU0AAgBDYCAAwBCyAEQf8BTQRAIARBeHFBtNAAaiEAAn9BjNAAKAIAIgJBASAEQQN2dCIDcUUEQEGM0AAgAiADcjYCACAADAELIAAoAggLIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ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AtBqQEMGwtBqgEMGgtBqwEMGQtBrAEMGAtBrQEMFwtBrgEMFgtBAQwVC0GvAQwUC0GwAQwTC0GxAQwSC0GzAQwRC0GyAQwQC0G0AQwPC0G1AQwOC0G2AQwNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAC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ogILQYsBIQMgASAERg2hAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGOzwBqLQAARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAycAgsgAkEANgIAIAZBAWohAUEVDF8LQZIBIQMgASAERg2aAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGhzwBqLQAARw1dIABBBUYNASAAQQF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IQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2AgxBACEDDJ8BCyACQQA2AgALQQAhAyACQQA2AhwgAiABNgIUIAJBkDM2AhAgAkEINgIMDJ0BCyACQQA2AgAgBkEBaiEBIAItAClBI0kNACACQQA2AhwgAiABNgIUIAJB0wk2AhAgAkEINgIMQQAhAwycAQtB0QAhAwyCAQsgAS0AAEEwayIAQf8BcUEKSQRAIAIgADoAKiABQQFqIQFBzwAhAwyCAQsgAigCBCEAIAJBADYCBCACIAA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EBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")},172:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t.enumToMap=void 0;function enumToMap(e){const t={};Object.keys(e).forEach((r=>{const n=e[r];if(typeof n==="number"){t[r]=n}}));return t}t.enumToMap=enumToMap},7501:(e,t,r)=>{const{kClients:n}=r(6443);const s=r(7405);const{kAgent:o,kMockAgentSet:i,kMockAgentGet:a,kDispatches:c,kIsMockActive:l,kNetConnect:u,kGetNetConnect:A,kOptions:d,kFactory:p}=r(1117);const m=r(7365);const h=r(4004);const{matchValue:g,buildMockOptions:f}=r(3397);const{InvalidArgumentError:E,UndiciError:y}=r(8707);const C=r(883);const I=r(1529);const B=r(6142);class MockAgent extends C{constructor(e){super(e);this[u]=true;this[l]=true;if(e?.agent&&typeof e.agent.dispatch!=="function"){throw new E("Argument opts.agent must implement Agent")}const t=e?.agent?e.agent:new s(e);this[o]=t;this[n]=t[n];this[d]=f(e)}get(e){let t=this[a](e);if(!t){t=this[p](e);this[i](e,t)}return t}dispatch(e,t){this.get(e.origin);return this[o].dispatch(e,t)}async close(){await this[o].close();this[n].clear()}deactivate(){this[l]=false}activate(){this[l]=true}enableNetConnect(e){if(typeof e==="string"||typeof e==="function"||e instanceof RegExp){if(Array.isArray(this[u])){this[u].push(e)}else{this[u]=[e]}}else if(typeof e==="undefined"){this[u]=true}else{throw new E("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[u]=false}get isMockActive(){return this[l]}[i](e,t){this[n].set(e,t)}[p](e){const t=Object.assign({agent:this},this[d]);return this[d]&&this[d].connections===1?new m(e,t):new h(e,t)}[a](e){const t=this[n].get(e);if(t){return t}if(typeof e!=="string"){const t=this[p]("http://localhost:9999");this[i](e,t);return t}for(const[t,r]of Array.from(this[n])){if(r&&typeof t!=="string"&&g(t,e)){const t=this[p](e);this[i](e,t);t[c]=r[c];return t}}}[A](){return this[u]}pendingInterceptors(){const e=this[n];return Array.from(e.entries()).flatMap((([e,t])=>t[c].map((t=>({...t,origin:e}))))).filter((({pending:e})=>e))}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new B}={}){const t=this.pendingInterceptors();if(t.length===0){return}const r=new I("interceptor","interceptors").pluralize(t.length);throw new y(`\n${r.count} ${r.noun} ${r.is} pending:\n\n${e.format(t)}\n`.trim())}}e.exports=MockAgent},7365:(e,t,r)=>{const{promisify:n}=r(7975);const s=r(3701);const{buildMockDispatch:o}=r(3397);const{kDispatches:i,kMockAgent:a,kClose:c,kOriginalClose:l,kOrigin:u,kOriginalDispatch:A,kConnected:d}=r(1117);const{MockInterceptor:p}=r(1511);const m=r(6443);const{InvalidArgumentError:h}=r(8707);class MockClient extends s{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new h("Argument opts.agent must implement Agent")}this[a]=t.agent;this[u]=e;this[i]=[];this[d]=1;this[A]=this.dispatch;this[l]=this.close.bind(this);this.dispatch=o.call(this);this.close=this[c]}get[m.kConnected](){return this[d]}intercept(e){return new p(e,this[i])}async[c](){await n(this[l])();this[d]=0;this[a][m.kClients].delete(this[u])}}e.exports=MockClient},2429:(e,t,r)=>{const{UndiciError:n}=r(8707);const s=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED");class MockNotMatchedError extends n{constructor(e){super(e);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=e||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&e[s]===true}[s]=true}e.exports={MockNotMatchedError:MockNotMatchedError}},1511:(e,t,r)=>{const{getResponseData:n,buildKey:s,addMockDispatch:o}=r(3397);const{kDispatches:i,kDispatchKey:a,kDefaultHeaders:c,kDefaultTrailers:l,kContentLength:u,kMockDispatch:A}=r(1117);const{InvalidArgumentError:d}=r(8707);const{buildURL:p}=r(3440);class MockScope{constructor(e){this[A]=e}delay(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new d("waitInMs must be a valid integer > 0")}this[A].delay=e;return this}persist(){this[A].persist=true;return this}times(e){if(typeof e!=="number"||!Number.isInteger(e)||e<=0){throw new d("repeatTimes must be a valid integer > 0")}this[A].times=e;return this}}class MockInterceptor{constructor(e,t){if(typeof e!=="object"){throw new d("opts must be an object")}if(typeof e.path==="undefined"){throw new d("opts.path must be defined")}if(typeof e.method==="undefined"){e.method="GET"}if(typeof e.path==="string"){if(e.query){e.path=p(e.path,e.query)}else{const t=new URL(e.path,"data://");e.path=t.pathname+t.search}}if(typeof e.method==="string"){e.method=e.method.toUpperCase()}this[a]=s(e);this[i]=t;this[c]={};this[l]={};this[u]=false}createMockScopeDispatchData({statusCode:e,data:t,responseOptions:r}){const s=n(t);const o=this[u]?{"content-length":s.length}:{};const i={...this[c],...o,...r.headers};const a={...this[l],...r.trailers};return{statusCode:e,data:t,headers:i,trailers:a}}validateReplyParameters(e){if(typeof e.statusCode==="undefined"){throw new d("statusCode must be defined")}if(typeof e.responseOptions!=="object"||e.responseOptions===null){throw new d("responseOptions must be an object")}}reply(e){if(typeof e==="function"){const wrappedDefaultsCallback=t=>{const r=e(t);if(typeof r!=="object"||r===null){throw new d("reply options callback must return an object")}const n={data:"",responseOptions:{},...r};this.validateReplyParameters(n);return{...this.createMockScopeDispatchData(n)}};const t=o(this[i],this[a],wrappedDefaultsCallback);return new MockScope(t)}const t={statusCode:e,data:arguments[1]===undefined?"":arguments[1],responseOptions:arguments[2]===undefined?{}:arguments[2]};this.validateReplyParameters(t);const r=this.createMockScopeDispatchData(t);const n=o(this[i],this[a],r);return new MockScope(n)}replyWithError(e){if(typeof e==="undefined"){throw new d("error must be defined")}const t=o(this[i],this[a],{error:e});return new MockScope(t)}defaultReplyHeaders(e){if(typeof e==="undefined"){throw new d("headers must be defined")}this[c]=e;return this}defaultReplyTrailers(e){if(typeof e==="undefined"){throw new d("trailers must be defined")}this[l]=e;return this}replyContentLength(){this[u]=true;return this}}e.exports.MockInterceptor=MockInterceptor;e.exports.MockScope=MockScope},4004:(e,t,r)=>{const{promisify:n}=r(7975);const s=r(628);const{buildMockDispatch:o}=r(3397);const{kDispatches:i,kMockAgent:a,kClose:c,kOriginalClose:l,kOrigin:u,kOriginalDispatch:A,kConnected:d}=r(1117);const{MockInterceptor:p}=r(1511);const m=r(6443);const{InvalidArgumentError:h}=r(8707);class MockPool extends s{constructor(e,t){super(e,t);if(!t||!t.agent||typeof t.agent.dispatch!=="function"){throw new h("Argument opts.agent must implement Agent")}this[a]=t.agent;this[u]=e;this[i]=[];this[d]=1;this[A]=this.dispatch;this[l]=this.close.bind(this);this.dispatch=o.call(this);this.close=this[c]}get[m.kConnected](){return this[d]}intercept(e){return new p(e,this[i])}async[c](){await n(this[l])();this[d]=0;this[a][m.kClients].delete(this[u])}}e.exports=MockPool},1117:e=>{e.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")}},3397:(e,t,r)=>{const{MockNotMatchedError:n}=r(2429);const{kDispatches:s,kMockAgent:o,kOriginalDispatch:i,kOrigin:a,kGetNetConnect:c}=r(1117);const{buildURL:l}=r(3440);const{STATUS_CODES:u}=r(7067);const{types:{isPromise:A}}=r(7975);function matchValue(e,t){if(typeof e==="string"){return e===t}if(e instanceof RegExp){return e.test(t)}if(typeof e==="function"){return e(t)===true}return false}function lowerCaseEntries(e){return Object.fromEntries(Object.entries(e).map((([e,t])=>[e.toLocaleLowerCase(),t])))}function getHeaderByName(e,t){if(Array.isArray(e)){for(let r=0;r<e.length;r+=2){if(e[r].toLocaleLowerCase()===t.toLocaleLowerCase()){return e[r+1]}}return undefined}else if(typeof e.get==="function"){return e.get(t)}else{return lowerCaseEntries(e)[t.toLocaleLowerCase()]}}function buildHeadersFromArray(e){const t=e.slice();const r=[];for(let e=0;e<t.length;e+=2){r.push([t[e],t[e+1]])}return Object.fromEntries(r)}function matchHeaders(e,t){if(typeof e.headers==="function"){if(Array.isArray(t)){t=buildHeadersFromArray(t)}return e.headers(t?lowerCaseEntries(t):{})}if(typeof e.headers==="undefined"){return true}if(typeof t!=="object"||typeof e.headers!=="object"){return false}for(const[r,n]of Object.entries(e.headers)){const e=getHeaderByName(t,r);if(!matchValue(n,e)){return false}}return true}function safeUrl(e){if(typeof e!=="string"){return e}const t=e.split("?");if(t.length!==2){return e}const r=new URLSearchParams(t.pop());r.sort();return[...t,r.toString()].join("?")}function matchKey(e,{path:t,method:r,body:n,headers:s}){const o=matchValue(e.path,t);const i=matchValue(e.method,r);const a=typeof e.body!=="undefined"?matchValue(e.body,n):true;const c=matchHeaders(e,s);return o&&i&&a&&c}function getResponseData(e){if(Buffer.isBuffer(e)){return e}else if(e instanceof Uint8Array){return e}else if(e instanceof ArrayBuffer){return e}else if(typeof e==="object"){return JSON.stringify(e)}else{return e.toString()}}function getMockDispatch(e,t){const r=t.query?l(t.path,t.query):t.path;const s=typeof r==="string"?safeUrl(r):r;let o=e.filter((({consumed:e})=>!e)).filter((({path:e})=>matchValue(safeUrl(e),s)));if(o.length===0){throw new n(`Mock dispatch not matched for path '${s}'`)}o=o.filter((({method:e})=>matchValue(e,t.method)));if(o.length===0){throw new n(`Mock dispatch not matched for method '${t.method}' on path '${s}'`)}o=o.filter((({body:e})=>typeof e!=="undefined"?matchValue(e,t.body):true));if(o.length===0){throw new n(`Mock dispatch not matched for body '${t.body}' on path '${s}'`)}o=o.filter((e=>matchHeaders(e,t.headers)));if(o.length===0){const e=typeof t.headers==="object"?JSON.stringify(t.headers):t.headers;throw new n(`Mock dispatch not matched for headers '${e}' on path '${s}'`)}return o[0]}function addMockDispatch(e,t,r){const n={timesInvoked:0,times:1,persist:false,consumed:false};const s=typeof r==="function"?{callback:r}:{...r};const o={...n,...t,pending:true,data:{error:null,...s}};e.push(o);return o}function deleteMockDispatch(e,t){const r=e.findIndex((e=>{if(!e.consumed){return false}return matchKey(e,t)}));if(r!==-1){e.splice(r,1)}}function buildKey(e){const{path:t,method:r,body:n,headers:s,query:o}=e;return{path:t,method:r,body:n,headers:s,query:o}}function generateKeyValues(e){const t=Object.keys(e);const r=[];for(let n=0;n<t.length;++n){const s=t[n];const o=e[s];const i=Buffer.from(`${s}`);if(Array.isArray(o)){for(let e=0;e<o.length;++e){r.push(i,Buffer.from(`${o[e]}`))}}else{r.push(i,Buffer.from(`${o}`))}}return r}function getStatusText(e){return u[e]||"unknown"}async function getResponse(e){const t=[];for await(const r of e){t.push(r)}return Buffer.concat(t).toString("utf8")}function mockDispatch(e,t){const r=buildKey(e);const n=getMockDispatch(this[s],r);n.timesInvoked++;if(n.data.callback){n.data={...n.data,...n.data.callback(e)}}const{data:{statusCode:o,data:i,headers:a,trailers:c,error:l},delay:u,persist:d}=n;const{timesInvoked:p,times:m}=n;n.consumed=!d&&p>=m;n.pending=p<m;if(l!==null){deleteMockDispatch(this[s],r);t.onError(l);return true}if(typeof u==="number"&&u>0){setTimeout((()=>{handleReply(this[s])}),u)}else{handleReply(this[s])}function handleReply(n,s=i){const l=Array.isArray(e.headers)?buildHeadersFromArray(e.headers):e.headers;const u=typeof s==="function"?s({...e,headers:l}):s;if(A(u)){u.then((e=>handleReply(n,e)));return}const d=getResponseData(u);const p=generateKeyValues(a);const m=generateKeyValues(c);t.onConnect?.((e=>t.onError(e)),null);t.onHeaders?.(o,p,resume,getStatusText(o));t.onData?.(Buffer.from(d));t.onComplete?.(m);deleteMockDispatch(n,r)}function resume(){}return true}function buildMockDispatch(){const e=this[o];const t=this[a];const r=this[i];return function dispatch(s,o){if(e.isMockActive){try{mockDispatch.call(this,s,o)}catch(i){if(i instanceof n){const a=e[c]();if(a===false){throw new n(`${i.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)`)}if(checkNetConnect(a,t)){r.call(this,s,o)}else{throw new n(`${i.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)`)}}else{throw i}}}else{r.call(this,s,o)}}}function checkNetConnect(e,t){const r=new URL(t);if(e===true){return true}else if(Array.isArray(e)&&e.some((e=>matchValue(e,r.host)))){return true}return false}function buildMockOptions(e){if(e){const{agent:t,...r}=e;return r}}e.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}},6142:(e,t,r)=>{const{Transform:n}=r(7075);const{Console:s}=r(7540);const o=process.versions.icu?"✅":"Y ";const i=process.versions.icu?"❌":"N ";e.exports=class PendingInterceptorsFormatter{constructor({disableColors:e}={}){this.transform=new n({transform(e,t,r){r(null,e)}});this.logger=new s({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){const t=e.map((({method:e,path:t,data:{statusCode:r},persist:n,times:s,timesInvoked:a,origin:c})=>({Method:e,Origin:c,Path:t,"Status code":r,Persistent:n?o:i,Invocations:a,Remaining:n?Infinity:s-a})));this.logger.table(t);return this.transform.read().toString()}}},1529:e=>{const t={pronoun:"it",is:"is",was:"was",this:"this"};const r={pronoun:"they",is:"are",was:"were",this:"these"};e.exports=class Pluralizer{constructor(e,t){this.singular=e;this.plural=t}pluralize(e){const n=e===1;const s=n?t:r;const o=n?this.singular:this.plural;return{...s,count:e,noun:o}}}},6603:e=>{let t=0;const r=1e3;const n=(r>>1)-1;let s;const o=Symbol("kFastTimer");const i=[];const a=-2;const c=-1;const l=0;const u=1;function onTick(){t+=n;let e=0;let r=i.length;while(e<r){const s=i[e];if(s._state===l){s._idleStart=t-n;s._state=u}else if(s._state===u&&t>=s._idleStart+s._idleTimeout){s._state=c;s._idleStart=-1;s._onTimeout(s._timerArg)}if(s._state===c){s._state=a;if(--r!==0){i[e]=i[r]}}else{++e}}i.length=r;if(i.length!==0){refreshTimeout()}}function refreshTimeout(){if(s){s.refresh()}else{clearTimeout(s);s=setTimeout(onTick,n);if(s.unref){s.unref()}}}class FastTimer{[o]=true;_state=a;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,t,r){this._onTimeout=e;this._idleTimeout=t;this._timerArg=r;this.refresh()}refresh(){if(this._state===a){i.push(this)}if(!s||i.length===1){refreshTimeout()}this._state=l}clear(){this._state=c;this._idleStart=-1}}e.exports={setTimeout(e,t,n){return t<=r?setTimeout(e,t,n):new FastTimer(e,t,n)},clearTimeout(e){if(e[o]){e.clear()}else{clearTimeout(e)}},setFastTimeout(e,t,r){return new FastTimer(e,t,r)},clearFastTimeout(e){e.clear()},now(){return t},tick(e=0){t+=e-r+1;onTick();onTick()},reset(){t=0;i.length=0;clearTimeout(s);s=null},kFastTimer:o}},9634:(e,t,r)=>{const{kConstruct:n}=r(109);const{urlEquals:s,getFieldValues:o}=r(6798);const{kEnumerableProperty:i,isDisturbed:a}=r(3440);const{webidl:c}=r(5893);const{Response:l,cloneResponse:u,fromInnerResponse:A}=r(9051);const{Request:d,fromInnerRequest:p}=r(9967);const{kState:m}=r(3627);const{fetching:h}=r(4398);const{urlIsHttpHttpsScheme:g,createDeferredPromise:f,readAllBytes:E}=r(3168);const y=r(4589);class Cache{#v;constructor(){if(arguments[0]!==n){c.illegalConstructor()}c.util.markAsUncloneable(this);this.#v=arguments[1]}async match(e,t={}){c.brandCheck(this,Cache);const r="Cache.match";c.argumentLengthCheck(arguments,1,r);e=c.converters.RequestInfo(e,r,"request");t=c.converters.CacheQueryOptions(t,r,"options");const n=this.#x(e,t,1);if(n.length===0){return}return n[0]}async matchAll(e=undefined,t={}){c.brandCheck(this,Cache);const r="Cache.matchAll";if(e!==undefined)e=c.converters.RequestInfo(e,r,"request");t=c.converters.CacheQueryOptions(t,r,"options");return this.#x(e,t)}async add(e){c.brandCheck(this,Cache);const t="Cache.add";c.argumentLengthCheck(arguments,1,t);e=c.converters.RequestInfo(e,t,"request");const r=[e];const n=this.addAll(r);return await n}async addAll(e){c.brandCheck(this,Cache);const t="Cache.addAll";c.argumentLengthCheck(arguments,1,t);const r=[];const n=[];for(let r of e){if(r===undefined){throw c.errors.conversionFailed({prefix:t,argument:"Argument 1",types:["undefined is not allowed"]})}r=c.converters.RequestInfo(r);if(typeof r==="string"){continue}const e=r[m];if(!g(e.url)||e.method!=="GET"){throw c.errors.exception({header:t,message:"Expected http/s scheme when method is not GET."})}}const s=[];for(const i of e){const e=new d(i)[m];if(!g(e.url)){throw c.errors.exception({header:t,message:"Expected http/s scheme."})}e.initiator="fetch";e.destination="subresource";n.push(e);const a=f();s.push(h({request:e,processResponse(e){if(e.type==="error"||e.status===206||e.status<200||e.status>299){a.reject(c.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(e.headersList.contains("vary")){const t=o(e.headersList.get("vary"));for(const e of t){if(e==="*"){a.reject(c.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const e of s){e.abort()}return}}}},processResponseEndOfBody(e){if(e.aborted){a.reject(new DOMException("aborted","AbortError"));return}a.resolve(e)}}));r.push(a.promise)}const i=Promise.all(r);const a=await i;const l=[];let u=0;for(const e of a){const t={type:"put",request:n[u],response:e};l.push(t);u++}const A=f();let p=null;try{this.#T(l)}catch(e){p=e}queueMicrotask((()=>{if(p===null){A.resolve(undefined)}else{A.reject(p)}}));return A.promise}async put(e,t){c.brandCheck(this,Cache);const r="Cache.put";c.argumentLengthCheck(arguments,2,r);e=c.converters.RequestInfo(e,r,"request");t=c.converters.Response(t,r,"response");let n=null;if(e instanceof d){n=e[m]}else{n=new d(e)[m]}if(!g(n.url)||n.method!=="GET"){throw c.errors.exception({header:r,message:"Expected an http/s scheme when method is not GET"})}const s=t[m];if(s.status===206){throw c.errors.exception({header:r,message:"Got 206 status"})}if(s.headersList.contains("vary")){const e=o(s.headersList.get("vary"));for(const t of e){if(t==="*"){throw c.errors.exception({header:r,message:"Got * vary field value"})}}}if(s.body&&(a(s.body.stream)||s.body.stream.locked)){throw c.errors.exception({header:r,message:"Response body is locked or disturbed"})}const i=u(s);const l=f();if(s.body!=null){const e=s.body.stream;const t=e.getReader();E(t).then(l.resolve,l.reject)}else{l.resolve(undefined)}const A=[];const p={type:"put",request:n,response:i};A.push(p);const h=await l.promise;if(i.body!=null){i.body.source=h}const y=f();let C=null;try{this.#T(A)}catch(e){C=e}queueMicrotask((()=>{if(C===null){y.resolve()}else{y.reject(C)}}));return y.promise}async delete(e,t={}){c.brandCheck(this,Cache);const r="Cache.delete";c.argumentLengthCheck(arguments,1,r);e=c.converters.RequestInfo(e,r,"request");t=c.converters.CacheQueryOptions(t,r,"options");let n=null;if(e instanceof d){n=e[m];if(n.method!=="GET"&&!t.ignoreMethod){return false}}else{y(typeof e==="string");n=new d(e)[m]}const s=[];const o={type:"delete",request:n,options:t};s.push(o);const i=f();let a=null;let l;try{l=this.#T(s)}catch(e){a=e}queueMicrotask((()=>{if(a===null){i.resolve(!!l?.length)}else{i.reject(a)}}));return i.promise}async keys(e=undefined,t={}){c.brandCheck(this,Cache);const r="Cache.keys";if(e!==undefined)e=c.converters.RequestInfo(e,r,"request");t=c.converters.CacheQueryOptions(t,r,"options");let n=null;if(e!==undefined){if(e instanceof d){n=e[m];if(n.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){n=new d(e)[m]}}const s=f();const o=[];if(e===undefined){for(const e of this.#v){o.push(e[0])}}else{const e=this.#k(n,t);for(const t of e){o.push(t[0])}}queueMicrotask((()=>{const e=[];for(const t of o){const r=p(t,(new AbortController).signal,"immutable");e.push(r)}s.resolve(Object.freeze(e))}));return s.promise}#T(e){const t=this.#v;const r=[...t];const n=[];const s=[];try{for(const r of e){if(r.type!=="delete"&&r.type!=="put"){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(r.type==="delete"&&r.response!=null){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#k(r.request,r.options,n).length){throw new DOMException("???","InvalidStateError")}let e;if(r.type==="delete"){e=this.#k(r.request,r.options);if(e.length===0){return[]}for(const r of e){const e=t.indexOf(r);y(e!==-1);t.splice(e,1)}}else if(r.type==="put"){if(r.response==null){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const s=r.request;if(!g(s.url)){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(s.method!=="GET"){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(r.options!=null){throw c.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}e=this.#k(r.request);for(const r of e){const e=t.indexOf(r);y(e!==-1);t.splice(e,1)}t.push([r.request,r.response]);n.push([r.request,r.response])}s.push([r.request,r.response])}return s}catch(e){this.#v.length=0;this.#v=r;throw e}}#k(e,t,r){const n=[];const s=r??this.#v;for(const r of s){const[s,o]=r;if(this.#D(e,s,o,t)){n.push(r)}}return n}#D(e,t,r=null,n){const i=new URL(e.url);const a=new URL(t.url);if(n?.ignoreSearch){a.search="";i.search=""}if(!s(i,a,true)){return false}if(r==null||n?.ignoreVary||!r.headersList.contains("vary")){return true}const c=o(r.headersList.get("vary"));for(const r of c){if(r==="*"){return false}const n=t.headersList.get(r);const s=e.headersList.get(r);if(n!==s){return false}}return true}#x(e,t,r=Infinity){let n=null;if(e!==undefined){if(e instanceof d){n=e[m];if(n.method!=="GET"&&!t.ignoreMethod){return[]}}else if(typeof e==="string"){n=new d(e)[m]}}const s=[];if(e===undefined){for(const e of this.#v){s.push(e[1])}}else{const e=this.#k(n,t);for(const t of e){s.push(t[1])}}const o=[];for(const e of s){const t=A(e,"immutable");o.push(t.clone());if(o.length>=r){break}}return Object.freeze(o)}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:i,matchAll:i,add:i,addAll:i,put:i,delete:i,keys:i});const C=[{key:"ignoreSearch",converter:c.converters.boolean,defaultValue:()=>false},{key:"ignoreMethod",converter:c.converters.boolean,defaultValue:()=>false},{key:"ignoreVary",converter:c.converters.boolean,defaultValue:()=>false}];c.converters.CacheQueryOptions=c.dictionaryConverter(C);c.converters.MultiCacheQueryOptions=c.dictionaryConverter([...C,{key:"cacheName",converter:c.converters.DOMString}]);c.converters.Response=c.interfaceConverter(l);c.converters["sequence<RequestInfo>"]=c.sequenceConverter(c.converters.RequestInfo);e.exports={Cache:Cache}},3245:(e,t,r)=>{const{kConstruct:n}=r(109);const{Cache:s}=r(9634);const{webidl:o}=r(5893);const{kEnumerableProperty:i}=r(3440);class CacheStorage{#_=new Map;constructor(){if(arguments[0]!==n){o.illegalConstructor()}o.util.markAsUncloneable(this)}async match(e,t={}){o.brandCheck(this,CacheStorage);o.argumentLengthCheck(arguments,1,"CacheStorage.match");e=o.converters.RequestInfo(e);t=o.converters.MultiCacheQueryOptions(t);if(t.cacheName!=null){if(this.#_.has(t.cacheName)){const r=this.#_.get(t.cacheName);const o=new s(n,r);return await o.match(e,t)}}else{for(const r of this.#_.values()){const o=new s(n,r);const i=await o.match(e,t);if(i!==undefined){return i}}}}async has(e){o.brandCheck(this,CacheStorage);const t="CacheStorage.has";o.argumentLengthCheck(arguments,1,t);e=o.converters.DOMString(e,t,"cacheName");return this.#_.has(e)}async open(e){o.brandCheck(this,CacheStorage);const t="CacheStorage.open";o.argumentLengthCheck(arguments,1,t);e=o.converters.DOMString(e,t,"cacheName");if(this.#_.has(e)){const t=this.#_.get(e);return new s(n,t)}const r=[];this.#_.set(e,r);return new s(n,r)}async delete(e){o.brandCheck(this,CacheStorage);const t="CacheStorage.delete";o.argumentLengthCheck(arguments,1,t);e=o.converters.DOMString(e,t,"cacheName");return this.#_.delete(e)}async keys(){o.brandCheck(this,CacheStorage);const e=this.#_.keys();return[...e]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:i,has:i,open:i,delete:i,keys:i});e.exports={CacheStorage:CacheStorage}},109:(e,t,r)=>{e.exports={kConstruct:r(6443).kConstruct}},6798:(e,t,r)=>{const n=r(4589);const{URLSerializer:s}=r(1900);const{isValidHeaderName:o}=r(3168);function urlEquals(e,t,r=false){const n=s(e,r);const o=s(t,r);return n===o}function getFieldValues(e){n(e!==null);const t=[];for(let r of e.split(",")){r=r.trim();if(o(r)){t.push(r)}}return t}e.exports={urlEquals:urlEquals,getFieldValues:getFieldValues}},1276:e=>{const t=1024;const r=4096;e.exports={maxAttributeValueSize:t,maxNameValuePairSize:r}},9061:(e,t,r)=>{const{parseSetCookie:n}=r(1978);const{stringify:s}=r(7797);const{webidl:o}=r(5893);const{Headers:i}=r(660);function getCookies(e){o.argumentLengthCheck(arguments,1,"getCookies");o.brandCheck(e,i,{strict:false});const t=e.get("cookie");const r={};if(!t){return r}for(const e of t.split(";")){const[t,...n]=e.split("=");r[t.trim()]=n.join("=")}return r}function deleteCookie(e,t,r){o.brandCheck(e,i,{strict:false});const n="deleteCookie";o.argumentLengthCheck(arguments,2,n);t=o.converters.DOMString(t,n,"name");r=o.converters.DeleteCookieAttributes(r);setCookie(e,{name:t,value:"",expires:new Date(0),...r})}function getSetCookies(e){o.argumentLengthCheck(arguments,1,"getSetCookies");o.brandCheck(e,i,{strict:false});const t=e.getSetCookie();if(!t){return[]}return t.map((e=>n(e)))}function setCookie(e,t){o.argumentLengthCheck(arguments,2,"setCookie");o.brandCheck(e,i,{strict:false});t=o.converters.Cookie(t);const r=s(t);if(r){e.append("Set-Cookie",r)}}o.converters.DeleteCookieAttributes=o.dictionaryConverter([{converter:o.nullableConverter(o.converters.DOMString),key:"path",defaultValue:()=>null},{converter:o.nullableConverter(o.converters.DOMString),key:"domain",defaultValue:()=>null}]);o.converters.Cookie=o.dictionaryConverter([{converter:o.converters.DOMString,key:"name"},{converter:o.converters.DOMString,key:"value"},{converter:o.nullableConverter((e=>{if(typeof e==="number"){return o.converters["unsigned long long"](e)}return new Date(e)})),key:"expires",defaultValue:()=>null},{converter:o.nullableConverter(o.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:o.nullableConverter(o.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:o.nullableConverter(o.converters.DOMString),key:"path",defaultValue:()=>null},{converter:o.nullableConverter(o.converters.boolean),key:"secure",defaultValue:()=>null},{converter:o.nullableConverter(o.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:o.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:o.sequenceConverter(o.converters.DOMString),key:"unparsed",defaultValue:()=>new Array(0)}]);e.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},1978:(e,t,r)=>{const{maxNameValuePairSize:n,maxAttributeValueSize:s}=r(1276);const{isCTLExcludingHtab:o}=r(7797);const{collectASequenceOfCodePointsFast:i}=r(1900);const a=r(4589);function parseSetCookie(e){if(o(e)){return null}let t="";let r="";let s="";let a="";if(e.includes(";")){const n={position:0};t=i(";",e,n);r=e.slice(n.position)}else{t=e}if(!t.includes("=")){a=t}else{const e={position:0};s=i("=",t,e);a=t.slice(e.position+1)}s=s.trim();a=a.trim();if(s.length+a.length>n){return null}return{name:s,value:a,...parseUnparsedAttributes(r)}}function parseUnparsedAttributes(e,t={}){if(e.length===0){return t}a(e[0]===";");e=e.slice(1);let r="";if(e.includes(";")){r=i(";",e,{position:0});e=e.slice(r.length)}else{r=e;e=""}let n="";let o="";if(r.includes("=")){const e={position:0};n=i("=",r,e);o=r.slice(e.position+1)}else{n=r}n=n.trim();o=o.trim();if(o.length>s){return parseUnparsedAttributes(e,t)}const c=n.toLowerCase();if(c==="expires"){const e=new Date(o);t.expires=e}else if(c==="max-age"){const r=o.charCodeAt(0);if((r<48||r>57)&&o[0]!=="-"){return parseUnparsedAttributes(e,t)}if(!/^\d+$/.test(o)){return parseUnparsedAttributes(e,t)}const n=Number(o);t.maxAge=n}else if(c==="domain"){let e=o;if(e[0]==="."){e=e.slice(1)}e=e.toLowerCase();t.domain=e}else if(c==="path"){let e="";if(o.length===0||o[0]!=="/"){e="/"}else{e=o}t.path=e}else if(c==="secure"){t.secure=true}else if(c==="httponly"){t.httpOnly=true}else if(c==="samesite"){let e="Default";const r=o.toLowerCase();if(r.includes("none")){e="None"}if(r.includes("strict")){e="Strict"}if(r.includes("lax")){e="Lax"}t.sameSite=e}else{t.unparsed??=[];t.unparsed.push(`${n}=${o}`)}return parseUnparsedAttributes(e,t)}e.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},7797:e=>{function isCTLExcludingHtab(e){for(let t=0;t<e.length;++t){const r=e.charCodeAt(t);if(r>=0&&r<=8||r>=10&&r<=31||r===127){return true}}return false}function validateCookieName(e){for(let t=0;t<e.length;++t){const r=e.charCodeAt(t);if(r<33||r>126||r===34||r===40||r===41||r===60||r===62||r===64||r===44||r===59||r===58||r===92||r===47||r===91||r===93||r===63||r===61||r===123||r===125){throw new Error("Invalid cookie name")}}}function validateCookieValue(e){let t=e.length;let r=0;if(e[0]==='"'){if(t===1||e[t-1]!=='"'){throw new Error("Invalid cookie value")}--t;++r}while(r<t){const t=e.charCodeAt(r++);if(t<33||t>126||t===34||t===44||t===59||t===92){throw new Error("Invalid cookie value")}}}function validateCookiePath(e){for(let t=0;t<e.length;++t){const r=e.charCodeAt(t);if(r<32||r===127||r===59){throw new Error("Invalid cookie path")}}}function validateCookieDomain(e){if(e.startsWith("-")||e.endsWith(".")||e.endsWith("-")){throw new Error("Invalid cookie domain")}}const t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const r=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const n=Array(61).fill(0).map(((e,t)=>t.toString().padStart(2,"0")));function toIMFDate(e){if(typeof e==="number"){e=new Date(e)}return`${t[e.getUTCDay()]}, ${n[e.getUTCDate()]} ${r[e.getUTCMonth()]} ${e.getUTCFullYear()} ${n[e.getUTCHours()]}:${n[e.getUTCMinutes()]}:${n[e.getUTCSeconds()]} GMT`}function validateCookieMaxAge(e){if(e<0){throw new Error("Invalid cookie max-age")}}function stringify(e){if(e.name.length===0){return null}validateCookieName(e.name);validateCookieValue(e.value);const t=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")){e.secure=true}if(e.name.startsWith("__Host-")){e.secure=true;e.domain=null;e.path="/"}if(e.secure){t.push("Secure")}if(e.httpOnly){t.push("HttpOnly")}if(typeof e.maxAge==="number"){validateCookieMaxAge(e.maxAge);t.push(`Max-Age=${e.maxAge}`)}if(e.domain){validateCookieDomain(e.domain);t.push(`Domain=${e.domain}`)}if(e.path){validateCookiePath(e.path);t.push(`Path=${e.path}`)}if(e.expires&&e.expires.toString()!=="Invalid Date"){t.push(`Expires=${toIMFDate(e.expires)}`)}if(e.sameSite){t.push(`SameSite=${e.sameSite}`)}for(const r of e.unparsed){if(!r.includes("=")){throw new Error("Invalid unparsed")}const[e,...n]=r.split("=");t.push(`${e.trim()}=${n.join("=")}`)}return t.join("; ")}e.exports={isCTLExcludingHtab:isCTLExcludingHtab,validateCookieName:validateCookieName,validateCookiePath:validateCookiePath,validateCookieValue:validateCookieValue,toIMFDate:toIMFDate,stringify:stringify}},4031:(e,t,r)=>{const{Transform:n}=r(7075);const{isASCIINumber:s,isValidLastEventId:o}=r(4811);const i=[239,187,191];const a=10;const c=13;const l=58;const u=32;class EventSourceStream extends n{state=null;checkBOM=true;crlfCheck=false;eventEndCheck=false;buffer=null;pos=0;event={data:undefined,event:undefined,id:undefined,retry:undefined};constructor(e={}){e.readableObjectMode=true;super(e);this.state=e.eventSourceSettings||{};if(e.push){this.push=e.push}}_transform(e,t,r){if(e.length===0){r();return}if(this.buffer){this.buffer=Buffer.concat([this.buffer,e])}else{this.buffer=e}if(this.checkBOM){switch(this.buffer.length){case 1:if(this.buffer[0]===i[0]){r();return}this.checkBOM=false;r();return;case 2:if(this.buffer[0]===i[0]&&this.buffer[1]===i[1]){r();return}this.checkBOM=false;break;case 3:if(this.buffer[0]===i[0]&&this.buffer[1]===i[1]&&this.buffer[2]===i[2]){this.buffer=Buffer.alloc(0);this.checkBOM=false;r();return}this.checkBOM=false;break;default:if(this.buffer[0]===i[0]&&this.buffer[1]===i[1]&&this.buffer[2]===i[2]){this.buffer=this.buffer.subarray(3)}this.checkBOM=false;break}}while(this.pos<this.buffer.length){if(this.eventEndCheck){if(this.crlfCheck){if(this.buffer[this.pos]===a){this.buffer=this.buffer.subarray(this.pos+1);this.pos=0;this.crlfCheck=false;continue}this.crlfCheck=false}if(this.buffer[this.pos]===a||this.buffer[this.pos]===c){if(this.buffer[this.pos]===c){this.crlfCheck=true}this.buffer=this.buffer.subarray(this.pos+1);this.pos=0;if(this.event.data!==undefined||this.event.event||this.event.id||this.event.retry){this.processEvent(this.event)}this.clearEvent();continue}this.eventEndCheck=false;continue}if(this.buffer[this.pos]===a||this.buffer[this.pos]===c){if(this.buffer[this.pos]===c){this.crlfCheck=true}this.parseLine(this.buffer.subarray(0,this.pos),this.event);this.buffer=this.buffer.subarray(this.pos+1);this.pos=0;this.eventEndCheck=true;continue}this.pos++}r()}parseLine(e,t){if(e.length===0){return}const r=e.indexOf(l);if(r===0){return}let n="";let i="";if(r!==-1){n=e.subarray(0,r).toString("utf8");let t=r+1;if(e[t]===u){++t}i=e.subarray(t).toString("utf8")}else{n=e.toString("utf8");i=""}switch(n){case"data":if(t[n]===undefined){t[n]=i}else{t[n]+=`\n${i}`}break;case"retry":if(s(i)){t[n]=i}break;case"id":if(o(i)){t[n]=i}break;case"event":if(i.length>0){t[n]=i}break}}processEvent(e){if(e.retry&&s(e.retry)){this.state.reconnectionTime=parseInt(e.retry,10)}if(e.id&&o(e.id)){this.state.lastEventId=e.id}if(e.data!==undefined){this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}}clearEvent(){this.event={data:undefined,event:undefined,id:undefined,retry:undefined}}}e.exports={EventSourceStream:EventSourceStream}},1238:(e,t,r)=>{const{pipeline:n}=r(7075);const{fetching:s}=r(4398);const{makeRequest:o}=r(9967);const{webidl:i}=r(5893);const{EventSourceStream:a}=r(4031);const{parseMIMEType:c}=r(1900);const{createFastMessageEvent:l}=r(5188);const{isNetworkError:u}=r(9051);const{delay:A}=r(4811);const{kEnumerableProperty:d}=r(3440);const{environmentSettingsObject:p}=r(3168);let m=false;const h=3e3;const g=0;const f=1;const E=2;const y="anonymous";const C="use-credentials";class EventSource extends EventTarget{#P={open:null,error:null,message:null};#L=null;#M=false;#O=g;#F=null;#U=null;#e;#C;constructor(e,t={}){super();i.util.markAsUncloneable(this);const r="EventSource constructor";i.argumentLengthCheck(arguments,1,r);if(!m){m=true;process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})}e=i.converters.USVString(e,r,"url");t=i.converters.EventSourceInitDict(t,r,"eventSourceInitDict");this.#e=t.dispatcher;this.#C={lastEventId:"",reconnectionTime:h};const n=p;let s;try{s=new URL(e,n.settingsObject.baseUrl);this.#C.origin=s.origin}catch(e){throw new DOMException(e,"SyntaxError")}this.#L=s.href;let a=y;if(t.withCredentials){a=C;this.#M=true}const c={redirect:"follow",keepalive:true,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=p.settingsObject;c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]];c.cache="no-store";c.initiator="other";c.urlList=[new URL(this.#L)];this.#F=o(c);this.#H()}get readyState(){return this.#O}get url(){return this.#L}get withCredentials(){return this.#M}#H(){if(this.#O===E)return;this.#O=g;const e={request:this.#F,dispatcher:this.#e};const processEventSourceEndOfBody=e=>{if(u(e)){this.dispatchEvent(new Event("error"));this.close()}this.#G()};e.processResponseEndOfBody=processEventSourceEndOfBody;e.processResponse=e=>{if(u(e)){if(e.aborted){this.close();this.dispatchEvent(new Event("error"));return}else{this.#G();return}}const t=e.headersList.get("content-type",true);const r=t!==null?c(t):"failure";const s=r!=="failure"&&r.essence==="text/event-stream";if(e.status!==200||s===false){this.close();this.dispatchEvent(new Event("error"));return}this.#O=f;this.dispatchEvent(new Event("open"));this.#C.origin=e.urlList[e.urlList.length-1].origin;const o=new a({eventSourceSettings:this.#C,push:e=>{this.dispatchEvent(l(e.type,e.options))}});n(e.body.stream,o,(e=>{if(e?.aborted===false){this.close();this.dispatchEvent(new Event("error"))}}))};this.#U=s(e)}async#G(){if(this.#O===E)return;this.#O=g;this.dispatchEvent(new Event("error"));await A(this.#C.reconnectionTime);if(this.#O!==g)return;if(this.#C.lastEventId.length){this.#F.headersList.set("last-event-id",this.#C.lastEventId,true)}this.#H()}close(){i.brandCheck(this,EventSource);if(this.#O===E)return;this.#O=E;this.#U.abort();this.#F=null}get onopen(){return this.#P.open}set onopen(e){if(this.#P.open){this.removeEventListener("open",this.#P.open)}if(typeof e==="function"){this.#P.open=e;this.addEventListener("open",e)}else{this.#P.open=null}}get onmessage(){return this.#P.message}set onmessage(e){if(this.#P.message){this.removeEventListener("message",this.#P.message)}if(typeof e==="function"){this.#P.message=e;this.addEventListener("message",e)}else{this.#P.message=null}}get onerror(){return this.#P.error}set onerror(e){if(this.#P.error){this.removeEventListener("error",this.#P.error)}if(typeof e==="function"){this.#P.error=e;this.addEventListener("error",e)}else{this.#P.error=null}}}const I={CONNECTING:{__proto__:null,configurable:false,enumerable:true,value:g,writable:false},OPEN:{__proto__:null,configurable:false,enumerable:true,value:f,writable:false},CLOSED:{__proto__:null,configurable:false,enumerable:true,value:E,writable:false}};Object.defineProperties(EventSource,I);Object.defineProperties(EventSource.prototype,I);Object.defineProperties(EventSource.prototype,{close:d,onerror:d,onmessage:d,onopen:d,readyState:d,url:d,withCredentials:d});i.converters.EventSourceInitDict=i.dictionaryConverter([{key:"withCredentials",converter:i.converters.boolean,defaultValue:()=>false},{key:"dispatcher",converter:i.converters.any}]);e.exports={EventSource:EventSource,defaultReconnectionTime:h}},4811:e=>{function isValidLastEventId(e){return e.indexOf("\0")===-1}function isASCIINumber(e){if(e.length===0)return false;for(let t=0;t<e.length;t++){if(e.charCodeAt(t)<48||e.charCodeAt(t)>57)return false}return true}function delay(e){return new Promise((t=>{setTimeout(t,e).unref()}))}e.exports={isValidLastEventId:isValidLastEventId,isASCIINumber:isASCIINumber,delay:delay}},4492:(e,t,r)=>{const n=r(3440);const{ReadableStreamFrom:s,isBlobLike:o,isReadableStreamLike:i,readableStreamClose:a,createDeferredPromise:c,fullyReadBody:l,extractMimeType:u,utf8DecodeBytes:A}=r(3168);const{FormData:d}=r(5910);const{kState:p}=r(3627);const{webidl:m}=r(5893);const{Blob:h}=r(4573);const g=r(4589);const{isErrored:f,isDisturbed:E}=r(7075);const{isArrayBuffer:y}=r(3429);const{serializeAMimeType:C}=r(1900);const{multipartFormDataParser:I}=r(116);let B;try{const e=r(7598);B=t=>e.randomInt(0,t)}catch{B=e=>Math.floor(Math.random(e))}const b=new TextEncoder;function noop(){}const w=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0;let S;if(w){S=new FinalizationRegistry((e=>{const t=e.deref();if(t&&!t.locked&&!E(t)&&!f(t)){t.cancel("Response object has been garbage collected").catch(noop)}}))}function extractBody(e,t=false){let r=null;if(e instanceof ReadableStream){r=e}else if(o(e)){r=e.stream()}else{r=new ReadableStream({async pull(e){const t=typeof l==="string"?b.encode(l):l;if(t.byteLength){e.enqueue(t)}queueMicrotask((()=>a(e)))},start(){},type:"bytes"})}g(i(r));let c=null;let l=null;let u=null;let A=null;if(typeof e==="string"){l=e;A="text/plain;charset=UTF-8"}else if(e instanceof URLSearchParams){l=e.toString();A="application/x-www-form-urlencoded;charset=UTF-8"}else if(y(e)){l=new Uint8Array(e.slice())}else if(ArrayBuffer.isView(e)){l=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength))}else if(n.isFormDataLike(e)){const t=`----formdata-undici-0${`${B(1e11)}`.padStart(11,"0")}`;const r=`--${t}\r\nContent-Disposition: form-data`
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=e=>e.replace(/\r?\n|\r/g,"\r\n");const n=[];const s=new Uint8Array([13,10]);u=0;let o=false;for(const[t,i]of e){if(typeof i==="string"){const e=b.encode(r+`; name="${escape(normalizeLinefeeds(t))}"`+`\r\n\r\n${normalizeLinefeeds(i)}\r\n`);n.push(e);u+=e.byteLength}else{const e=b.encode(`${r}; name="${escape(normalizeLinefeeds(t))}"`+(i.name?`; filename="${escape(i.name)}"`:"")+"\r\n"+`Content-Type: ${i.type||"application/octet-stream"}\r\n\r\n`);n.push(e,i,s);if(typeof i.size==="number"){u+=e.byteLength+i.size+s.byteLength}else{o=true}}}const i=b.encode(`--${t}--\r\n`);n.push(i);u+=i.byteLength;if(o){u=null}l=e;c=async function*(){for(const e of n){if(e.stream){yield*e.stream()}else{yield e}}};A=`multipart/form-data; boundary=${t}`}else if(o(e)){l=e;u=e.size;if(e.type){A=e.type}}else if(typeof e[Symbol.asyncIterator]==="function"){if(t){throw new TypeError("keepalive")}if(n.isDisturbed(e)||e.locked){throw new TypeError("Response body object should not be disturbed or locked")}r=e instanceof ReadableStream?e:s(e)}if(typeof l==="string"||n.isBuffer(l)){u=Buffer.byteLength(l)}if(c!=null){let t;r=new ReadableStream({async start(){t=c(e)[Symbol.asyncIterator]()},async pull(e){const{value:n,done:s}=await t.next();if(s){queueMicrotask((()=>{e.close();e.byobRequest?.respond(0)}))}else{if(!f(r)){const t=new Uint8Array(n);if(t.byteLength){e.enqueue(t)}}}return e.desiredSize>0},async cancel(e){await t.return()},type:"bytes"})}const d={stream:r,source:l,length:u};return[d,A]}function safelyExtractBody(e,t=false){if(e instanceof ReadableStream){g(!n.isDisturbed(e),"The body has already been consumed.");g(!e.locked,"The stream is locked.")}return extractBody(e,t)}function cloneBody(e,t){const[r,n]=t.stream.tee();t.stream=r;return{stream:n,length:t.length,source:t.source}}function throwIfAborted(e){if(e.aborted){throw new DOMException("The operation was aborted.","AbortError")}}function bodyMixinMethods(e){const t={blob(){return consumeBody(this,(e=>{let t=bodyMimeType(this);if(t===null){t=""}else if(t){t=C(t)}return new h([e],{type:t})}),e)},arrayBuffer(){return consumeBody(this,(e=>new Uint8Array(e).buffer),e)},text(){return consumeBody(this,A,e)},json(){return consumeBody(this,parseJSONFromBytes,e)},formData(){return consumeBody(this,(e=>{const t=bodyMimeType(this);if(t!==null){switch(t.essence){case"multipart/form-data":{const r=I(e,t);if(r==="failure"){throw new TypeError("Failed to parse body as FormData.")}const n=new d;n[p]=r;return n}case"application/x-www-form-urlencoded":{const t=new URLSearchParams(e.toString());const r=new d;for(const[e,n]of t){r.append(e,n)}return r}}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')}),e)},bytes(){return consumeBody(this,(e=>new Uint8Array(e)),e)}};return t}function mixinBody(e){Object.assign(e.prototype,bodyMixinMethods(e))}async function consumeBody(e,t,r){m.brandCheck(e,r);if(bodyUnusable(e)){throw new TypeError("Body is unusable: Body has already been read")}throwIfAborted(e[p]);const n=c();const errorSteps=e=>n.reject(e);const successSteps=e=>{try{n.resolve(t(e))}catch(e){errorSteps(e)}};if(e[p].body==null){successSteps(Buffer.allocUnsafe(0));return n.promise}await l(e[p].body,successSteps,errorSteps);return n.promise}function bodyUnusable(e){const t=e[p].body;return t!=null&&(t.stream.locked||n.isDisturbed(t.stream))}function parseJSONFromBytes(e){return JSON.parse(A(e))}function bodyMimeType(e){const t=e[p].headersList;const r=u(t);if(r==="failure"){return null}return r}e.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody,streamRegistry:S,hasFinalizationRegistry:w,bodyUnusable:bodyUnusable}},4495:e=>{const t=["GET","HEAD","POST"];const r=new Set(t);const n=[101,204,205,304];const s=[301,302,303,307,308];const o=new Set(s);const i=["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 a=new Set(i);const c=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const l=new Set(c);const u=["follow","manual","error"];const A=["GET","HEAD","OPTIONS","TRACE"];const d=new Set(A);const p=["navigate","same-origin","no-cors","cors"];const m=["omit","same-origin","include"];const h=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const g=["content-encoding","content-language","content-location","content-type","content-length"];const f=["half"];const E=["CONNECT","TRACE","TRACK"];const y=new Set(E);const C=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const I=new Set(C);e.exports={subresource:C,forbiddenMethods:E,requestBodyHeader:g,referrerPolicy:c,requestRedirect:u,requestMode:p,requestCredentials:m,requestCache:h,redirectStatus:s,corsSafeListedMethods:t,nullBodyStatus:n,safeMethods:A,badPorts:i,requestDuplex:f,subresourceSet:I,badPortsSet:a,redirectStatusSet:o,corsSafeListedMethodsSet:r,safeMethodsSet:d,forbiddenMethodsSet:y,referrerPolicySet:l}},1900:(e,t,r)=>{const n=r(4589);const s=new TextEncoder;const o=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/;const i=/[\u000A\u000D\u0009\u0020]/;const a=/[\u0009\u000A\u000C\u000D\u0020]/g;const c=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function dataURLProcessor(e){n(e.protocol==="data:");let t=URLSerializer(e,true);t=t.slice(5);const r={position:0};let s=collectASequenceOfCodePointsFast(",",t,r);const o=s.length;s=removeASCIIWhitespace(s,true,true);if(r.position>=t.length){return"failure"}r.position++;const i=t.slice(o+1);let a=stringPercentDecode(i);if(/;(\u0020){0,}base64$/i.test(s)){const e=isomorphicDecode(a);a=forgivingBase64(e);if(a==="failure"){return"failure"}s=s.slice(0,-6);s=s.replace(/(\u0020)+$/,"");s=s.slice(0,-1)}if(s.startsWith(";")){s="text/plain"+s}let c=parseMIMEType(s);if(c==="failure"){c=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:c,body:a}}function URLSerializer(e,t=false){if(!t){return e.href}const r=e.href;const n=e.hash.length;const s=n===0?r:r.substring(0,r.length-n);if(!n&&r.endsWith("#")){return s.slice(0,-1)}return s}function collectASequenceOfCodePoints(e,t,r){let n="";while(r.position<t.length&&e(t[r.position])){n+=t[r.position];r.position++}return n}function collectASequenceOfCodePointsFast(e,t,r){const n=t.indexOf(e,r.position);const s=r.position;if(n===-1){r.position=t.length;return t.slice(s)}r.position=n;return t.slice(s,r.position)}function stringPercentDecode(e){const t=s.encode(e);return percentDecode(t)}function isHexCharByte(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexByteToNumber(e){return e>=48&&e<=57?e-48:(e&223)-55}function percentDecode(e){const t=e.length;const r=new Uint8Array(t);let n=0;for(let s=0;s<t;++s){const t=e[s];if(t!==37){r[n++]=t}else if(t===37&&!(isHexCharByte(e[s+1])&&isHexCharByte(e[s+2]))){r[n++]=37}else{r[n++]=hexByteToNumber(e[s+1])<<4|hexByteToNumber(e[s+2]);s+=2}}return t===n?r:r.subarray(0,n)}function parseMIMEType(e){e=removeHTTPWhitespace(e,true,true);const t={position:0};const r=collectASequenceOfCodePointsFast("/",e,t);if(r.length===0||!o.test(r)){return"failure"}if(t.position>e.length){return"failure"}t.position++;let n=collectASequenceOfCodePointsFast(";",e,t);n=removeHTTPWhitespace(n,false,true);if(n.length===0||!o.test(n)){return"failure"}const s=r.toLowerCase();const a=n.toLowerCase();const l={type:s,subtype:a,parameters:new Map,essence:`${s}/${a}`};while(t.position<e.length){t.position++;collectASequenceOfCodePoints((e=>i.test(e)),e,t);let r=collectASequenceOfCodePoints((e=>e!==";"&&e!=="="),e,t);r=r.toLowerCase();if(t.position<e.length){if(e[t.position]===";"){continue}t.position++}if(t.position>e.length){break}let n=null;if(e[t.position]==='"'){n=collectAnHTTPQuotedString(e,t,true);collectASequenceOfCodePointsFast(";",e,t)}else{n=collectASequenceOfCodePointsFast(";",e,t);n=removeHTTPWhitespace(n,false,true);if(n.length===0){continue}}if(r.length!==0&&o.test(r)&&(n.length===0||c.test(n))&&!l.parameters.has(r)){l.parameters.set(r,n)}}return l}function forgivingBase64(e){e=e.replace(a,"");let t=e.length;if(t%4===0){if(e.charCodeAt(t-1)===61){--t;if(e.charCodeAt(t-1)===61){--t}}}if(t%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(e.length===t?e:e.substring(0,t))){return"failure"}const r=Buffer.from(e,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}function collectAnHTTPQuotedString(e,t,r){const s=t.position;let o="";n(e[t.position]==='"');t.position++;while(true){o+=collectASequenceOfCodePoints((e=>e!=='"'&&e!=="\\"),e,t);if(t.position>=e.length){break}const r=e[t.position];t.position++;if(r==="\\"){if(t.position>=e.length){o+="\\";break}o+=e[t.position];t.position++}else{n(r==='"');break}}if(r){return o}return e.slice(s,t.position)}function serializeAMimeType(e){n(e!=="failure");const{parameters:t,essence:r}=e;let s=r;for(let[e,r]of t.entries()){s+=";";s+=e;s+="=";if(!o.test(r)){r=r.replace(/(\\|")/g,"\\$1");r='"'+r;r+='"'}s+=r}return s}function isHTTPWhiteSpace(e){return e===13||e===10||e===9||e===32}function removeHTTPWhitespace(e,t=true,r=true){return removeChars(e,t,r,isHTTPWhiteSpace)}function isASCIIWhitespace(e){return e===13||e===10||e===9||e===12||e===32}function removeASCIIWhitespace(e,t=true,r=true){return removeChars(e,t,r,isASCIIWhitespace)}function removeChars(e,t,r,n){let s=0;let o=e.length-1;if(t){while(s<e.length&&n(e.charCodeAt(s)))s++}if(r){while(o>0&&n(e.charCodeAt(o)))o--}return s===0&&o===e.length-1?e:e.slice(s,o+1)}function isomorphicDecode(e){const t=e.length;if((2<<15)-1>t){return String.fromCharCode.apply(null,e)}let r="";let n=0;let s=(2<<15)-1;while(n<t){if(n+s>t){s=t-n}r+=String.fromCharCode.apply(null,e.subarray(n,n+=s))}return r}function minimizeSupportedMimeType(e){switch(e.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(e.subtype.endsWith("+json")){return"application/json"}if(e.subtype.endsWith("+xml")){return"application/xml"}return""}e.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:o,isomorphicDecode:isomorphicDecode}},6653:(e,t,r)=>{const{kConnected:n,kSize:s}=r(6443);class CompatWeakRef{constructor(e){this.value=e}deref(){return this.value[n]===0&&this.value[s]===0?undefined:this.value}}class CompatFinalizer{constructor(e){this.finalizer=e}register(e,t){if(e.on){e.on("disconnect",(()=>{if(e[n]===0&&e[s]===0){this.finalizer(t)}}))}}unregister(e){}}e.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}}},7114:(e,t,r)=>{const{Blob:n,File:s}=r(4573);const{kState:o}=r(3627);const{webidl:i}=r(5893);class FileLike{constructor(e,t,r={}){const n=t;const s=r.type;const i=r.lastModified??Date.now();this[o]={blobLike:e,name:n,type:s,lastModified:i}}stream(...e){i.brandCheck(this,FileLike);return this[o].blobLike.stream(...e)}arrayBuffer(...e){i.brandCheck(this,FileLike);return this[o].blobLike.arrayBuffer(...e)}slice(...e){i.brandCheck(this,FileLike);return this[o].blobLike.slice(...e)}text(...e){i.brandCheck(this,FileLike);return this[o].blobLike.text(...e)}get size(){i.brandCheck(this,FileLike);return this[o].blobLike.size}get type(){i.brandCheck(this,FileLike);return this[o].blobLike.type}get name(){i.brandCheck(this,FileLike);return this[o].name}get lastModified(){i.brandCheck(this,FileLike);return this[o].lastModified}get[Symbol.toStringTag](){return"File"}}i.converters.Blob=i.interfaceConverter(n);function isFileLike(e){return e instanceof s||e&&(typeof e.stream==="function"||typeof e.arrayBuffer==="function")&&e[Symbol.toStringTag]==="File"}e.exports={FileLike:FileLike,isFileLike:isFileLike}},116:(e,t,r)=>{const{isUSVString:n,bufferToLowerCasedHeaderName:s}=r(3440);const{utf8DecodeBytes:o}=r(3168);const{HTTP_TOKEN_CODEPOINTS:i,isomorphicDecode:a}=r(1900);const{isFileLike:c}=r(7114);const{makeEntry:l}=r(5910);const u=r(4589);const{File:A}=r(4573);const d=globalThis.File??A;const p=Buffer.from('form-data; name="');const m=Buffer.from("; filename");const h=Buffer.from("--");const g=Buffer.from("--\r\n");function isAsciiString(e){for(let t=0;t<e.length;++t){if((e.charCodeAt(t)&~127)!==0){return false}}return true}function validateBoundary(e){const t=e.length;if(t<27||t>70){return false}for(let r=0;r<t;++r){const t=e.charCodeAt(r);if(!(t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||t===39||t===45||t===95)){return false}}return true}function multipartFormDataParser(e,t){u(t!=="failure"&&t.essence==="multipart/form-data");const r=t.parameters.get("boundary");if(r===undefined){return"failure"}const s=Buffer.from(`--${r}`,"utf8");const i=[];const a={position:0};while(e[a.position]===13&&e[a.position+1]===10){a.position+=2}let A=e.length;while(e[A-1]===10&&e[A-2]===13){A-=2}if(A!==e.length){e=e.subarray(0,A)}while(true){if(e.subarray(a.position,a.position+s.length).equals(s)){a.position+=s.length}else{return"failure"}if(a.position===e.length-2&&bufferStartsWith(e,h,a)||a.position===e.length-4&&bufferStartsWith(e,g,a)){return i}if(e[a.position]!==13||e[a.position+1]!==10){return"failure"}a.position+=2;const t=parseMultipartFormDataHeaders(e,a);if(t==="failure"){return"failure"}let{name:r,filename:A,contentType:p,encoding:m}=t;a.position+=2;let f;{const t=e.indexOf(s.subarray(2),a.position);if(t===-1){return"failure"}f=e.subarray(a.position,t-4);a.position+=f.length;if(m==="base64"){f=Buffer.from(f.toString(),"base64")}}if(e[a.position]!==13||e[a.position+1]!==10){return"failure"}else{a.position+=2}let E;if(A!==null){p??="text/plain";if(!isAsciiString(p)){p=""}E=new d([f],A,{type:p})}else{E=o(Buffer.from(f))}u(n(r));u(typeof E==="string"&&n(E)||c(E));i.push(l(r,E,A))}}function parseMultipartFormDataHeaders(e,t){let r=null;let n=null;let o=null;let c=null;while(true){if(e[t.position]===13&&e[t.position+1]===10){if(r===null){return"failure"}return{name:r,filename:n,contentType:o,encoding:c}}let l=collectASequenceOfBytes((e=>e!==10&&e!==13&&e!==58),e,t);l=removeChars(l,true,true,(e=>e===9||e===32));if(!i.test(l.toString())){return"failure"}if(e[t.position]!==58){return"failure"}t.position++;collectASequenceOfBytes((e=>e===32||e===9),e,t);switch(s(l)){case"content-disposition":{r=n=null;if(!bufferStartsWith(e,p,t)){return"failure"}t.position+=17;r=parseMultipartFormDataName(e,t);if(r===null){return"failure"}if(bufferStartsWith(e,m,t)){let r=t.position+m.length;if(e[r]===42){t.position+=1;r+=1}if(e[r]!==61||e[r+1]!==34){return"failure"}t.position+=12;n=parseMultipartFormDataName(e,t);if(n===null){return"failure"}}break}case"content-type":{let r=collectASequenceOfBytes((e=>e!==10&&e!==13),e,t);r=removeChars(r,false,true,(e=>e===9||e===32));o=a(r);break}case"content-transfer-encoding":{let r=collectASequenceOfBytes((e=>e!==10&&e!==13),e,t);r=removeChars(r,false,true,(e=>e===9||e===32));c=a(r);break}default:{collectASequenceOfBytes((e=>e!==10&&e!==13),e,t)}}if(e[t.position]!==13&&e[t.position+1]!==10){return"failure"}else{t.position+=2}}}function parseMultipartFormDataName(e,t){u(e[t.position-1]===34);let r=collectASequenceOfBytes((e=>e!==10&&e!==13&&e!==34),e,t);if(e[t.position]!==34){return null}else{t.position++}r=(new TextDecoder).decode(r).replace(/%0A/gi,"\n").replace(/%0D/gi,"\r").replace(/%22/g,'"');return r}function collectASequenceOfBytes(e,t,r){let n=r.position;while(n<t.length&&e(t[n])){++n}return t.subarray(r.position,r.position=n)}function removeChars(e,t,r,n){let s=0;let o=e.length-1;if(t){while(s<e.length&&n(e[s]))s++}if(r){while(o>0&&n(e[o]))o--}return s===0&&o===e.length-1?e:e.subarray(s,o+1)}function bufferStartsWith(e,t,r){if(e.length<t.length){return false}for(let n=0;n<t.length;n++){if(t[n]!==e[r.position+n]){return false}}return true}e.exports={multipartFormDataParser:multipartFormDataParser,validateBoundary:validateBoundary}},5910:(e,t,r)=>{const{isBlobLike:n,iteratorMixin:s}=r(3168);const{kState:o}=r(3627);const{kEnumerableProperty:i}=r(3440);const{FileLike:a,isFileLike:c}=r(7114);const{webidl:l}=r(5893);const{File:u}=r(4573);const A=r(7975);const d=globalThis.File??u;class FormData{constructor(e){l.util.markAsUncloneable(this);if(e!==undefined){throw l.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[o]=[]}append(e,t,r=undefined){l.brandCheck(this,FormData);const s="FormData.append";l.argumentLengthCheck(arguments,2,s);if(arguments.length===3&&!n(t)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}e=l.converters.USVString(e,s,"name");t=n(t)?l.converters.Blob(t,s,"value",{strict:false}):l.converters.USVString(t,s,"value");r=arguments.length===3?l.converters.USVString(r,s,"filename"):undefined;const i=makeEntry(e,t,r);this[o].push(i)}delete(e){l.brandCheck(this,FormData);const t="FormData.delete";l.argumentLengthCheck(arguments,1,t);e=l.converters.USVString(e,t,"name");this[o]=this[o].filter((t=>t.name!==e))}get(e){l.brandCheck(this,FormData);const t="FormData.get";l.argumentLengthCheck(arguments,1,t);e=l.converters.USVString(e,t,"name");const r=this[o].findIndex((t=>t.name===e));if(r===-1){return null}return this[o][r].value}getAll(e){l.brandCheck(this,FormData);const t="FormData.getAll";l.argumentLengthCheck(arguments,1,t);e=l.converters.USVString(e,t,"name");return this[o].filter((t=>t.name===e)).map((e=>e.value))}has(e){l.brandCheck(this,FormData);const t="FormData.has";l.argumentLengthCheck(arguments,1,t);e=l.converters.USVString(e,t,"name");return this[o].findIndex((t=>t.name===e))!==-1}set(e,t,r=undefined){l.brandCheck(this,FormData);const s="FormData.set";l.argumentLengthCheck(arguments,2,s);if(arguments.length===3&&!n(t)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}e=l.converters.USVString(e,s,"name");t=n(t)?l.converters.Blob(t,s,"name",{strict:false}):l.converters.USVString(t,s,"name");r=arguments.length===3?l.converters.USVString(r,s,"name"):undefined;const i=makeEntry(e,t,r);const a=this[o].findIndex((t=>t.name===e));if(a!==-1){this[o]=[...this[o].slice(0,a),i,...this[o].slice(a+1).filter((t=>t.name!==e))]}else{this[o].push(i)}}[A.inspect.custom](e,t){const r=this[o].reduce(((e,t)=>{if(e[t.name]){if(Array.isArray(e[t.name])){e[t.name].push(t.value)}else{e[t.name]=[e[t.name],t.value]}}else{e[t.name]=t.value}return e}),{__proto__:null});t.depth??=e;t.colors??=true;const n=A.formatWithOptions(t,r);return`FormData ${n.slice(n.indexOf("]")+2)}`}}s("FormData",FormData,o,"name","value");Object.defineProperties(FormData.prototype,{append:i,delete:i,get:i,getAll:i,has:i,set:i,[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(e,t,r){if(typeof t==="string"){}else{if(!c(t)){t=t instanceof Blob?new d([t],"blob",{type:t.type}):new a(t,"blob",{type:t.type})}if(r!==undefined){const e={type:t.type,lastModified:t.lastModified};t=t instanceof u?new d([t],r,e):new a(t,r,e)}}return{name:e,value:t}}e.exports={FormData:FormData,makeEntry:makeEntry}},1059:e=>{const t=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[t]}function setGlobalOrigin(e){if(e===undefined){Object.defineProperty(globalThis,t,{value:undefined,writable:true,enumerable:false,configurable:false});return}const r=new URL(e);if(r.protocol!=="http:"&&r.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${r.protocol}`)}Object.defineProperty(globalThis,t,{value:r,writable:true,enumerable:false,configurable:false})}e.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},660:(e,t,r)=>{const{kConstruct:n}=r(6443);const{kEnumerableProperty:s}=r(3440);const{iteratorMixin:o,isValidHeaderName:i,isValidHeaderValue:a}=r(3168);const{webidl:c}=r(5893);const l=r(4589);const u=r(7975);const A=Symbol("headers map");const d=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(e){return e===10||e===13||e===9||e===32}function headerValueNormalize(e){let t=0;let r=e.length;while(r>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(r-1)))--r;while(r>t&&isHTTPWhiteSpaceCharCode(e.charCodeAt(t)))++t;return t===0&&r===e.length?e:e.substring(t,r)}function fill(e,t){if(Array.isArray(t)){for(let r=0;r<t.length;++r){const n=t[r];if(n.length!==2){throw c.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${n.length}.`})}appendHeader(e,n[0],n[1])}}else if(typeof t==="object"&&t!==null){const r=Object.keys(t);for(let n=0;n<r.length;++n){appendHeader(e,r[n],t[r[n]])}}else{throw c.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}}function appendHeader(e,t,r){r=headerValueNormalize(r);if(!i(t)){throw c.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"})}else if(!a(r)){throw c.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}if(p(e)==="immutable"){throw new TypeError("immutable")}return h(e).append(t,r,false)}function compareHeaderName(e,t){return e[0]<t[0]?-1:1}class HeadersList{cookies=null;constructor(e){if(e instanceof HeadersList){this[A]=new Map(e[A]);this[d]=e[d];this.cookies=e.cookies===null?null:[...e.cookies]}else{this[A]=new Map(e);this[d]=null}}contains(e,t){return this[A].has(t?e:e.toLowerCase())}clear(){this[A].clear();this[d]=null;this.cookies=null}append(e,t,r){this[d]=null;const n=r?e:e.toLowerCase();const s=this[A].get(n);if(s){const e=n==="cookie"?"; ":", ";this[A].set(n,{name:s.name,value:`${s.value}${e}${t}`})}else{this[A].set(n,{name:e,value:t})}if(n==="set-cookie"){(this.cookies??=[]).push(t)}}set(e,t,r){this[d]=null;const n=r?e:e.toLowerCase();if(n==="set-cookie"){this.cookies=[t]}this[A].set(n,{name:e,value:t})}delete(e,t){this[d]=null;if(!t)e=e.toLowerCase();if(e==="set-cookie"){this.cookies=null}this[A].delete(e)}get(e,t){return this[A].get(t?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(const{0:e,1:{value:t}}of this[A]){yield[e,t]}}get entries(){const e={};if(this[A].size!==0){for(const{name:t,value:r}of this[A].values()){e[t]=r}}return e}rawValues(){return this[A].values()}get entriesList(){const e=[];if(this[A].size!==0){for(const{0:t,1:{name:r,value:n}}of this[A]){if(t==="set-cookie"){for(const t of this.cookies){e.push([r,t])}}else{e.push([r,n])}}}return e}toSortedArray(){const e=this[A].size;const t=new Array(e);if(e<=32){if(e===0){return t}const r=this[A][Symbol.iterator]();const n=r.next().value;t[0]=[n[0],n[1].value];l(n[1].value!==null);for(let n=1,s=0,o=0,i=0,a=0,c,u;n<e;++n){u=r.next().value;c=t[n]=[u[0],u[1].value];l(c[1]!==null);i=0;o=n;while(i<o){a=i+(o-i>>1);if(t[a][0]<=c[0]){i=a+1}else{o=a}}if(n!==a){s=n;while(s>i){t[s]=t[--s]}t[i]=c}}if(!r.next().done){throw new TypeError("Unreachable")}return t}else{let e=0;for(const{0:r,1:{value:n}}of this[A]){t[e++]=[r,n];l(n!==null)}return t.sort(compareHeaderName)}}}class Headers{#q;#z;constructor(e=undefined){c.util.markAsUncloneable(this);if(e===n){return}this.#z=new HeadersList;this.#q="none";if(e!==undefined){e=c.converters.HeadersInit(e,"Headers contructor","init");fill(this,e)}}append(e,t){c.brandCheck(this,Headers);c.argumentLengthCheck(arguments,2,"Headers.append");const r="Headers.append";e=c.converters.ByteString(e,r,"name");t=c.converters.ByteString(t,r,"value");return appendHeader(this,e,t)}delete(e){c.brandCheck(this,Headers);c.argumentLengthCheck(arguments,1,"Headers.delete");const t="Headers.delete";e=c.converters.ByteString(e,t,"name");if(!i(e)){throw c.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"})}if(this.#q==="immutable"){throw new TypeError("immutable")}if(!this.#z.contains(e,false)){return}this.#z.delete(e,false)}get(e){c.brandCheck(this,Headers);c.argumentLengthCheck(arguments,1,"Headers.get");const t="Headers.get";e=c.converters.ByteString(e,t,"name");if(!i(e)){throw c.errors.invalidArgument({prefix:t,value:e,type:"header name"})}return this.#z.get(e,false)}has(e){c.brandCheck(this,Headers);c.argumentLengthCheck(arguments,1,"Headers.has");const t="Headers.has";e=c.converters.ByteString(e,t,"name");if(!i(e)){throw c.errors.invalidArgument({prefix:t,value:e,type:"header name"})}return this.#z.contains(e,false)}set(e,t){c.brandCheck(this,Headers);c.argumentLengthCheck(arguments,2,"Headers.set");const r="Headers.set";e=c.converters.ByteString(e,r,"name");t=c.converters.ByteString(t,r,"value");t=headerValueNormalize(t);if(!i(e)){throw c.errors.invalidArgument({prefix:r,value:e,type:"header name"})}else if(!a(t)){throw c.errors.invalidArgument({prefix:r,value:t,type:"header value"})}if(this.#q==="immutable"){throw new TypeError("immutable")}this.#z.set(e,t,false)}getSetCookie(){c.brandCheck(this,Headers);const e=this.#z.cookies;if(e){return[...e]}return[]}get[d](){if(this.#z[d]){return this.#z[d]}const e=[];const t=this.#z.toSortedArray();const r=this.#z.cookies;if(r===null||r.length===1){return this.#z[d]=t}for(let n=0;n<t.length;++n){const{0:s,1:o}=t[n];if(s==="set-cookie"){for(let t=0;t<r.length;++t){e.push([s,r[t]])}}else{e.push([s,o])}}return this.#z[d]=e}[u.inspect.custom](e,t){t.depth??=e;return`Headers ${u.formatWithOptions(t,this.#z.entries)}`}static getHeadersGuard(e){return e.#q}static setHeadersGuard(e,t){e.#q=t}static getHeadersList(e){return e.#z}static setHeadersList(e,t){e.#z=t}}const{getHeadersGuard:p,setHeadersGuard:m,getHeadersList:h,setHeadersList:g}=Headers;Reflect.deleteProperty(Headers,"getHeadersGuard");Reflect.deleteProperty(Headers,"setHeadersGuard");Reflect.deleteProperty(Headers,"getHeadersList");Reflect.deleteProperty(Headers,"setHeadersList");o("Headers",Headers,d,0,1);Object.defineProperties(Headers.prototype,{append:s,delete:s,get:s,has:s,set:s,getSetCookie:s,[Symbol.toStringTag]:{value:"Headers",configurable:true},[u.inspect.custom]:{enumerable:false}});c.converters.HeadersInit=function(e,t,r){if(c.util.Type(e)==="Object"){const n=Reflect.get(e,Symbol.iterator);if(!u.types.isProxy(e)&&n===Headers.prototype.entries){try{return h(e).entriesList}catch{}}if(typeof n==="function"){return c.converters["sequence<sequence<ByteString>>"](e,t,r,n.bind(e))}return c.converters["record<ByteString, ByteString>"](e,t,r)}throw c.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};e.exports={fill:fill,compareHeaderName:compareHeaderName,Headers:Headers,HeadersList:HeadersList,getHeadersGuard:p,setHeadersGuard:m,setHeadersList:g,getHeadersList:h}},4398:(e,t,r)=>{const{makeNetworkError:n,makeAppropriateNetworkError:s,filterResponse:o,makeResponse:i,fromInnerResponse:a}=r(9051);const{HeadersList:c}=r(660);const{Request:l,cloneRequest:u}=r(9967);const A=r(8522);const{bytesMatch:d,makePolicyContainer:p,clonePolicyContainer:m,requestBadPort:h,TAOCheck:g,appendRequestOriginHeader:f,responseLocationURL:E,requestCurrentURL:y,setRequestReferrerPolicyOnRedirect:C,tryUpgradeRequestToAPotentiallyTrustworthyURL:I,createOpaqueTimingInfo:B,appendFetchMetadata:b,corsCheck:w,crossOriginResourcePolicyCheck:S,determineRequestsReferrer:Q,coarsenedSharedCurrentTime:N,createDeferredPromise:R,isBlobLike:v,sameOrigin:x,isCancelled:T,isAborted:k,isErrorLike:D,fullyReadBody:_,readableStreamClose:P,isomorphicEncode:L,urlIsLocal:M,urlIsHttpHttpsScheme:O,urlHasHttpsScheme:F,clampAndCoarsenConnectionTimingInfo:U,simpleRangeHeaderValue:H,buildContentRange:G,createInflate:q,extractMimeType:z}=r(3168);const{kState:V,kDispatcher:$}=r(3627);const J=r(4589);const{safelyExtractBody:Y,extractBody:W}=r(4492);const{redirectStatusSet:j,nullBodyStatus:K,safeMethodsSet:X,requestBodyHeader:Z,subresourceSet:ee}=r(4495);const te=r(8474);const{Readable:re,pipeline:ne,finished:se}=r(7075);const{addAbortListener:oe,isErrored:ie,isReadable:ae,bufferToLowerCasedHeaderName:ce}=r(3440);const{dataURLProcessor:le,serializeAMimeType:ue,minimizeSupportedMimeType:Ae}=r(1900);const{getGlobalDispatcher:de}=r(2581);const{webidl:pe}=r(5893);const{STATUS_CODES:me}=r(7067);const he=["GET","HEAD"];const ge=typeof __UNDICI_IS_NODE__!=="undefined"||typeof esbuildDetection!=="undefined"?"node":"undici";let fe;class Fetch extends te{constructor(e){super();this.dispatcher=e;this.connection=null;this.dump=false;this.state="ongoing"}terminate(e){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(e);this.emit("terminated",e)}abort(e){if(this.state!=="ongoing"){return}this.state="aborted";if(!e){e=new DOMException("The operation was aborted.","AbortError")}this.serializedAbortReason=e;this.connection?.destroy(e);this.emit("terminated",e)}}function handleFetchDone(e){finalizeAndReportTiming(e,"fetch")}function fetch(e,t=undefined){pe.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=R();let n;try{n=new l(e,t)}catch(e){r.reject(e);return r.promise}const s=n[V];if(n.signal.aborted){abortFetch(r,s,null,n.signal.reason);return r.promise}const o=s.client.globalObject;if(o?.constructor?.name==="ServiceWorkerGlobalScope"){s.serviceWorkers="none"}let i=null;let c=false;let u=null;oe(n.signal,(()=>{c=true;J(u!=null);u.abort(n.signal.reason);const e=i?.deref();abortFetch(r,s,e,n.signal.reason)}));const processResponse=e=>{if(c){return}if(e.aborted){abortFetch(r,s,i,u.serializedAbortReason);return}if(e.type==="error"){r.reject(new TypeError("fetch failed",{cause:e.error}));return}i=new WeakRef(a(e,"immutable"));r.resolve(i.deref());r=null};u=fetching({request:s,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:n[$]});return r.promise}function finalizeAndReportTiming(e,t="other"){if(e.type==="error"&&e.aborted){return}if(!e.urlList?.length){return}const r=e.urlList[0];let n=e.timingInfo;let s=e.cacheState;if(!O(r)){return}if(n===null){return}if(!e.timingAllowPassed){n=B({startTime:n.startTime});s=""}n.endTime=N();e.timingInfo=n;Ee(n,r.href,t,globalThis,s)}const Ee=performance.markResourceTiming;function abortFetch(e,t,r,n){if(e){e.reject(n)}if(t.body!=null&&ae(t.body?.stream)){t.body.stream.cancel(n).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}if(r==null){return}const s=r[V];if(s.body!=null&&ae(s.body?.stream)){s.body.stream.cancel(n).catch((e=>{if(e.code==="ERR_INVALID_STATE"){return}throw e}))}}function fetching({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:s,processResponseConsumeBody:o,useParallelQueue:i=false,dispatcher:a=de()}){J(a);let c=null;let l=false;if(e.client!=null){c=e.client.globalObject;l=e.client.crossOriginIsolatedCapability}const u=N(l);const A=B({startTime:u});const d={controller:new Fetch(a),request:e,timingInfo:A,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:o,processResponseEndOfBody:s,taskDestination:c,crossOriginIsolatedCapability:l};J(!e.body||e.body.stream);if(e.window==="client"){e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"}if(e.origin==="client"){e.origin=e.client.origin}if(e.policyContainer==="client"){if(e.client!=null){e.policyContainer=m(e.client.policyContainer)}else{e.policyContainer=p()}}if(!e.headersList.contains("accept",true)){const t="*/*";e.headersList.append("accept",t,true)}if(!e.headersList.contains("accept-language",true)){e.headersList.append("accept-language","*",true)}if(e.priority===null){}if(ee.has(e.destination)){}mainFetch(d).catch((e=>{d.controller.terminate(e)}));return d.controller}async function mainFetch(e,t=false){const r=e.request;let s=null;if(r.localURLsOnly&&!M(y(r))){s=n("local URLs only")}I(r);if(h(r)==="blocked"){s=n("bad port")}if(r.referrerPolicy===""){r.referrerPolicy=r.policyContainer.referrerPolicy}if(r.referrer!=="no-referrer"){r.referrer=Q(r)}if(s===null){s=await(async()=>{const t=y(r);if(x(t,r.url)&&r.responseTainting==="basic"||t.protocol==="data:"||(r.mode==="navigate"||r.mode==="websocket")){r.responseTainting="basic";return await schemeFetch(e)}if(r.mode==="same-origin"){return n('request mode cannot be "same-origin"')}if(r.mode==="no-cors"){if(r.redirect!=="follow"){return n('redirect mode cannot be "follow" for "no-cors" request')}r.responseTainting="opaque";return await schemeFetch(e)}if(!O(y(r))){return n("URL scheme must be a HTTP(S) scheme")}r.responseTainting="cors";return await httpFetch(e)})()}if(t){return s}if(s.status!==0&&!s.internalResponse){if(r.responseTainting==="cors"){}if(r.responseTainting==="basic"){s=o(s,"basic")}else if(r.responseTainting==="cors"){s=o(s,"cors")}else if(r.responseTainting==="opaque"){s=o(s,"opaque")}else{J(false)}}let i=s.status===0?s:s.internalResponse;if(i.urlList.length===0){i.urlList.push(...r.urlList)}if(!r.timingAllowFailed){s.timingAllowPassed=true}if(s.type==="opaque"&&i.status===206&&i.rangeRequested&&!r.headers.contains("range",true)){s=i=n()}if(s.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||K.includes(i.status))){i.body=null;e.controller.dump=true}if(r.integrity){const processBodyError=t=>fetchFinale(e,n(t));if(r.responseTainting==="opaque"||s.body==null){processBodyError(s.error);return}const processBody=t=>{if(!d(t,r.integrity)){processBodyError("integrity mismatch");return}s.body=Y(t)[0];fetchFinale(e,s)};await _(s.body,processBody,processBodyError)}else{fetchFinale(e,s)}}function schemeFetch(e){if(T(e)&&e.request.redirectCount===0){return Promise.resolve(s(e))}const{request:t}=e;const{protocol:o}=y(t);switch(o){case"about:":{return Promise.resolve(n("about scheme is not supported"))}case"blob:":{if(!fe){fe=r(4573).resolveObjectURL}const e=y(t);if(e.search.length!==0){return Promise.resolve(n("NetworkError when attempting to fetch resource."))}const s=fe(e.toString());if(t.method!=="GET"||!v(s)){return Promise.resolve(n("invalid method"))}const o=i();const a=s.size;const c=L(`${a}`);const l=s.type;if(!t.headersList.contains("range",true)){const e=W(s);o.statusText="OK";o.body=e[0];o.headersList.set("content-length",c,true);o.headersList.set("content-type",l,true)}else{o.rangeRequested=true;const e=t.headersList.get("range",true);const r=H(e,true);if(r==="failure"){return Promise.resolve(n("failed to fetch the data URL"))}let{rangeStartValue:i,rangeEndValue:c}=r;if(i===null){i=a-c;c=i+c-1}else{if(i>=a){return Promise.resolve(n("Range start is greater than the blob's size."))}if(c===null||c>=a){c=a-1}}const u=s.slice(i,c,l);const A=W(u);o.body=A[0];const d=L(`${u.size}`);const p=G(i,c,a);o.status=206;o.statusText="Partial Content";o.headersList.set("content-length",d,true);o.headersList.set("content-type",l,true);o.headersList.set("content-range",p,true)}return Promise.resolve(o)}case"data:":{const e=y(t);const r=le(e);if(r==="failure"){return Promise.resolve(n("failed to fetch the data URL"))}const s=ue(r.mimeType);return Promise.resolve(i({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:Y(r.body)[0]}))}case"file:":{return Promise.resolve(n("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(e).catch((e=>n(e)))}default:{return Promise.resolve(n("unknown scheme"))}}}function finalizeResponse(e,t){e.request.done=true;if(e.processResponseDone!=null){queueMicrotask((()=>e.processResponseDone(t)))}}function fetchFinale(e,t){let r=e.timingInfo;const processResponseEndOfBody=()=>{const n=Date.now();if(e.request.destination==="document"){e.controller.fullTimingInfo=r}e.controller.reportTimingSteps=()=>{if(e.request.url.protocol!=="https:"){return}r.endTime=n;let s=t.cacheState;const o=t.bodyInfo;if(!t.timingAllowPassed){r=B(r);s=""}let i=0;if(e.request.mode!=="navigator"||!t.hasCrossOriginRedirects){i=t.status;const e=z(t.headersList);if(e!=="failure"){o.contentType=Ae(e)}}if(e.request.initiatorType!=null){Ee(r,e.request.url.href,e.request.initiatorType,globalThis,s,o,i)}};const processResponseEndOfBodyTask=()=>{e.request.done=true;if(e.processResponseEndOfBody!=null){queueMicrotask((()=>e.processResponseEndOfBody(t)))}if(e.request.initiatorType!=null){e.controller.reportTimingSteps()}};queueMicrotask((()=>processResponseEndOfBodyTask()))};if(e.processResponse!=null){queueMicrotask((()=>{e.processResponse(t);e.processResponse=null}))}const n=t.type==="error"?t:t.internalResponse??t;if(n.body==null){processResponseEndOfBody()}else{se(n.body.stream,(()=>{processResponseEndOfBody()}))}}async function httpFetch(e){const t=e.request;let r=null;let s=null;const o=e.timingInfo;if(t.serviceWorkers==="all"){}if(r===null){if(t.redirect==="follow"){t.serviceWorkers="none"}s=r=await httpNetworkOrCacheFetch(e);if(t.responseTainting==="cors"&&w(t,r)==="failure"){return n("cors failure")}if(g(t,r)==="failure"){t.timingAllowFailed=true}}if((t.responseTainting==="opaque"||r.type==="opaque")&&S(t.origin,t.client,t.destination,s)==="blocked"){return n("blocked")}if(j.has(s.status)){if(t.redirect!=="manual"){e.controller.connection.destroy(undefined,false)}if(t.redirect==="error"){r=n("unexpected redirect")}else if(t.redirect==="manual"){r=s}else if(t.redirect==="follow"){r=await httpRedirectFetch(e,r)}else{J(false)}}r.timingInfo=o;return r}function httpRedirectFetch(e,t){const r=e.request;const s=t.internalResponse?t.internalResponse:t;let o;try{o=E(s,y(r).hash);if(o==null){return t}}catch(e){return Promise.resolve(n(e))}if(!O(o)){return Promise.resolve(n("URL scheme must be a HTTP(S) scheme"))}if(r.redirectCount===20){return Promise.resolve(n("redirect count exceeded"))}r.redirectCount+=1;if(r.mode==="cors"&&(o.username||o.password)&&!x(r,o)){return Promise.resolve(n('cross origin not allowed for request mode "cors"'))}if(r.responseTainting==="cors"&&(o.username||o.password)){return Promise.resolve(n('URL cannot contain credentials for request mode "cors"'))}if(s.status!==303&&r.body!=null&&r.body.source==null){return Promise.resolve(n())}if([301,302].includes(s.status)&&r.method==="POST"||s.status===303&&!he.includes(r.method)){r.method="GET";r.body=null;for(const e of Z){r.headersList.delete(e)}}if(!x(y(r),o)){r.headersList.delete("authorization",true);r.headersList.delete("proxy-authorization",true);r.headersList.delete("cookie",true);r.headersList.delete("host",true)}if(r.body!=null){J(r.body.source!=null);r.body=Y(r.body.source)[0]}const i=e.timingInfo;i.redirectEndTime=i.postRedirectStartTime=N(e.crossOriginIsolatedCapability);if(i.redirectStartTime===0){i.redirectStartTime=i.startTime}r.urlList.push(o);C(r,s);return mainFetch(e,true)}async function httpNetworkOrCacheFetch(e,t=false,r=false){const o=e.request;let i=null;let a=null;let c=null;const l=null;const A=false;if(o.window==="no-window"&&o.redirect==="error"){i=e;a=o}else{a=u(o);i={...e};i.request=a}const d=o.credentials==="include"||o.credentials==="same-origin"&&o.responseTainting==="basic";const p=a.body?a.body.length:null;let m=null;if(a.body==null&&["POST","PUT"].includes(a.method)){m="0"}if(p!=null){m=L(`${p}`)}if(m!=null){a.headersList.append("content-length",m,true)}if(p!=null&&a.keepalive){}if(a.referrer instanceof URL){a.headersList.append("referer",L(a.referrer.href),true)}f(a);b(a);if(!a.headersList.contains("user-agent",true)){a.headersList.append("user-agent",ge)}if(a.cache==="default"&&(a.headersList.contains("if-modified-since",true)||a.headersList.contains("if-none-match",true)||a.headersList.contains("if-unmodified-since",true)||a.headersList.contains("if-match",true)||a.headersList.contains("if-range",true))){a.cache="no-store"}if(a.cache==="no-cache"&&!a.preventNoCacheCacheControlHeaderModification&&!a.headersList.contains("cache-control",true)){a.headersList.append("cache-control","max-age=0",true)}if(a.cache==="no-store"||a.cache==="reload"){if(!a.headersList.contains("pragma",true)){a.headersList.append("pragma","no-cache",true)}if(!a.headersList.contains("cache-control",true)){a.headersList.append("cache-control","no-cache",true)}}if(a.headersList.contains("range",true)){a.headersList.append("accept-encoding","identity",true)}if(!a.headersList.contains("accept-encoding",true)){if(F(y(a))){a.headersList.append("accept-encoding","br, gzip, deflate",true)}else{a.headersList.append("accept-encoding","gzip, deflate",true)}}a.headersList.delete("host",true);if(d){}if(l==null){a.cache="no-store"}if(a.cache!=="no-store"&&a.cache!=="reload"){}if(c==null){if(a.cache==="only-if-cached"){return n("only if cached")}const e=await httpNetworkFetch(i,d,r);if(!X.has(a.method)&&e.status>=200&&e.status<=399){}if(A&&e.status===304){}if(c==null){c=e}}c.urlList=[...a.urlList];if(a.headersList.contains("range",true)){c.rangeRequested=true}c.requestIncludesCredentials=d;if(c.status===407){if(o.window==="no-window"){return n()}if(T(e)){return s(e)}return n("proxy authentication required")}if(c.status===421&&!r&&(o.body==null||o.body.source!=null)){if(T(e)){return s(e)}e.controller.connection.destroy();c=await httpNetworkOrCacheFetch(e,t,true)}if(t){}return c}async function httpNetworkFetch(e,t=false,r=false){J(!e.controller.connection||e.controller.connection.destroyed);e.controller.connection={abort:null,destroyed:false,destroy(e,t=true){if(!this.destroyed){this.destroyed=true;if(t){this.abort?.(e??new DOMException("The operation was aborted.","AbortError"))}}}};const o=e.request;let a=null;const l=e.timingInfo;const u=null;if(u==null){o.cache="no-store"}const d=r?"yes":"no";if(o.mode==="websocket"){}else{}let p=null;if(o.body==null&&e.processRequestEndOfBody){queueMicrotask((()=>e.processRequestEndOfBody()))}else if(o.body!=null){const processBodyChunk=async function*(t){if(T(e)){return}yield t;e.processRequestBodyChunkLength?.(t.byteLength)};const processEndOfBody=()=>{if(T(e)){return}if(e.processRequestEndOfBody){e.processRequestEndOfBody()}};const processBodyError=t=>{if(T(e)){return}if(t.name==="AbortError"){e.controller.abort()}else{e.controller.terminate(t)}};p=async function*(){try{for await(const e of o.body.stream){yield*processBodyChunk(e)}processEndOfBody()}catch(e){processBodyError(e)}}()}try{const{body:t,status:r,statusText:n,headersList:s,socket:o}=await dispatch({body:p});if(o){a=i({status:r,statusText:n,headersList:s,socket:o})}else{const o=t[Symbol.asyncIterator]();e.controller.next=()=>o.next();a=i({status:r,statusText:n,headersList:s})}}catch(t){if(t.name==="AbortError"){e.controller.connection.destroy();return s(e,t)}return n(t)}const pullAlgorithm=async()=>{await e.controller.resume()};const cancelAlgorithm=t=>{if(!T(e)){e.controller.abort(t)}};const m=new ReadableStream({async start(t){e.controller.controller=t},async pull(e){await pullAlgorithm(e)},async cancel(e){await cancelAlgorithm(e)},type:"bytes"});a.body={stream:m,source:null,length:null};e.controller.onAborted=onAborted;e.controller.on("terminated",onAborted);e.controller.resume=async()=>{while(true){let t;let r;try{const{done:r,value:n}=await e.controller.next();if(k(e)){break}t=r?undefined:n}catch(n){if(e.controller.ended&&!l.encodedBodySize){t=undefined}else{t=n;r=true}}if(t===undefined){P(e.controller.controller);finalizeResponse(e,a);return}l.decodedBodySize+=t?.byteLength??0;if(r){e.controller.terminate(t);return}const n=new Uint8Array(t);if(n.byteLength){e.controller.controller.enqueue(n)}if(ie(m)){e.controller.terminate();return}if(e.controller.controller.desiredSize<=0){return}}};function onAborted(t){if(k(e)){a.aborted=true;if(ae(m)){e.controller.controller.error(e.controller.serializedAbortReason)}}else{if(ae(m)){e.controller.controller.error(new TypeError("terminated",{cause:D(t)?t:undefined}))}}e.controller.connection.destroy()}return a;function dispatch({body:t}){const r=y(o);const n=e.controller.dispatcher;return new Promise(((s,i)=>n.dispatch({path:r.pathname+r.search,origin:r.origin,method:o.method,body:n.isMockActive?o.body&&(o.body.source||o.body.stream):t,headers:o.headersList.entries,maxRedirections:0,upgrade:o.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(t){const{connection:r}=e.controller;l.finalConnectionTimingInfo=U(undefined,l.postRedirectStartTime,e.crossOriginIsolatedCapability);if(r.destroyed){t(new DOMException("The operation was aborted.","AbortError"))}else{e.controller.on("terminated",t);this.abort=r.abort=t}l.finalNetworkRequestStartTime=N(e.crossOriginIsolatedCapability)},onResponseStarted(){l.finalNetworkResponseStartTime=N(e.crossOriginIsolatedCapability)},onHeaders(e,t,r,n){if(e<200){return}let a="";const l=new c;for(let e=0;e<t.length;e+=2){l.append(ce(t[e]),t[e+1].toString("latin1"),true)}a=l.get("location",true);this.body=new re({read:r});const u=[];const d=a&&o.redirect==="follow"&&j.has(e);if(o.method!=="HEAD"&&o.method!=="CONNECT"&&!K.includes(e)&&!d){const e=l.get("content-encoding",true);const t=e?e.toLowerCase().split(","):[];const r=5;if(t.length>r){i(new Error(`too many content-encodings in response: ${t.length}, maximum allowed is ${r}`));return true}for(let e=t.length-1;e>=0;--e){const r=t[e].trim();if(r==="x-gzip"||r==="gzip"){u.push(A.createGunzip({flush:A.constants.Z_SYNC_FLUSH,finishFlush:A.constants.Z_SYNC_FLUSH}))}else if(r==="deflate"){u.push(q({flush:A.constants.Z_SYNC_FLUSH,finishFlush:A.constants.Z_SYNC_FLUSH}))}else if(r==="br"){u.push(A.createBrotliDecompress({flush:A.constants.BROTLI_OPERATION_FLUSH,finishFlush:A.constants.BROTLI_OPERATION_FLUSH}))}else{u.length=0;break}}}const p=this.onError.bind(this);s({status:e,statusText:n,headersList:l,body:u.length?ne(this.body,...u,(e=>{if(e){this.onError(e)}})).on("error",p):this.body.on("error",p)});return true},onData(t){if(e.controller.dump){return}const r=t;l.encodedBodySize+=r.byteLength;return this.body.push(r)},onComplete(){if(this.abort){e.controller.off("terminated",this.abort)}if(e.controller.onAborted){e.controller.off("terminated",e.controller.onAborted)}e.controller.ended=true;this.body.push(null)},onError(t){if(this.abort){e.controller.off("terminated",this.abort)}this.body?.destroy(t);e.controller.terminate(t);i(t)},onUpgrade(e,t,r){if(e!==101){return}const n=new c;for(let e=0;e<t.length;e+=2){n.append(ce(t[e]),t[e+1].toString("latin1"),true)}s({status:e,statusText:me[e],headersList:n,socket:r});return true}})))}}e.exports={fetch:fetch,Fetch:Fetch,fetching:fetching,finalizeAndReportTiming:finalizeAndReportTiming}},9967:(e,t,r)=>{const{extractBody:n,mixinBody:s,cloneBody:o,bodyUnusable:i}=r(4492);const{Headers:a,fill:c,HeadersList:l,setHeadersGuard:u,getHeadersGuard:A,setHeadersList:d,getHeadersList:p}=r(660);const{FinalizationRegistry:m}=r(6653)();const h=r(3440);const g=r(7975);const{isValidHTTPToken:f,sameOrigin:E,environmentSettingsObject:y}=r(3168);const{forbiddenMethodsSet:C,corsSafeListedMethodsSet:I,referrerPolicy:B,requestRedirect:b,requestMode:w,requestCredentials:S,requestCache:Q,requestDuplex:N}=r(4495);const{kEnumerableProperty:R,normalizedMethodRecordsBase:v,normalizedMethodRecords:x}=h;const{kHeaders:T,kSignal:k,kState:D,kDispatcher:_}=r(3627);const{webidl:P}=r(5893);const{URLSerializer:L}=r(1900);const{kConstruct:M}=r(6443);const O=r(4589);const{getMaxListeners:F,setMaxListeners:U,getEventListeners:H,defaultMaxListeners:G}=r(8474);const q=Symbol("abortController");const z=new m((({signal:e,abort:t})=>{e.removeEventListener("abort",t)}));const V=new WeakMap;function buildAbort(e){return abort;function abort(){const t=e.deref();if(t!==undefined){z.unregister(abort);this.removeEventListener("abort",abort);t.abort(this.reason);const e=V.get(t.signal);if(e!==undefined){if(e.size!==0){for(const t of e){const e=t.deref();if(e!==undefined){e.abort(this.reason)}}e.clear()}V.delete(t.signal)}}}}let $=false;class Request{constructor(e,t={}){P.util.markAsUncloneable(this);if(e===M){return}const r="Request constructor";P.argumentLengthCheck(arguments,1,r);e=P.converters.RequestInfo(e,r,"input");t=P.converters.RequestInit(t,r,"init");let s=null;let o=null;const A=y.settingsObject.baseUrl;let m=null;if(typeof e==="string"){this[_]=t.dispatcher;let r;try{r=new URL(e,A)}catch(t){throw new TypeError("Failed to parse URL from "+e,{cause:t})}if(r.username||r.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e)}s=makeRequest({urlList:[r]});o="cors"}else{this[_]=t.dispatcher||e[_];O(e instanceof Request);s=e[D];m=e[k]}const g=y.settingsObject.origin;let B="client";if(s.window?.constructor?.name==="EnvironmentSettingsObject"&&E(s.window,g)){B=s.window}if(t.window!=null){throw new TypeError(`'window' option '${B}' must be null`)}if("window"in t){B="no-window"}s=makeRequest({method:s.method,headersList:s.headersList,unsafeRequest:s.unsafeRequest,client:y.settingsObject,window:B,priority:s.priority,origin:s.origin,referrer:s.referrer,referrerPolicy:s.referrerPolicy,mode:s.mode,credentials:s.credentials,cache:s.cache,redirect:s.redirect,integrity:s.integrity,keepalive:s.keepalive,reloadNavigation:s.reloadNavigation,historyNavigation:s.historyNavigation,urlList:[...s.urlList]});const b=Object.keys(t).length!==0;if(b){if(s.mode==="navigate"){s.mode="same-origin"}s.reloadNavigation=false;s.historyNavigation=false;s.origin="client";s.referrer="client";s.referrerPolicy="";s.url=s.urlList[s.urlList.length-1];s.urlList=[s.url]}if(t.referrer!==undefined){const e=t.referrer;if(e===""){s.referrer="no-referrer"}else{let t;try{t=new URL(e,A)}catch(t){throw new TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}if(t.protocol==="about:"&&t.hostname==="client"||g&&!E(t,y.settingsObject.baseUrl)){s.referrer="client"}else{s.referrer=t}}}if(t.referrerPolicy!==undefined){s.referrerPolicy=t.referrerPolicy}let w;if(t.mode!==undefined){w=t.mode}else{w=o}if(w==="navigate"){throw P.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(w!=null){s.mode=w}if(t.credentials!==undefined){s.credentials=t.credentials}if(t.cache!==undefined){s.cache=t.cache}if(s.cache==="only-if-cached"&&s.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(t.redirect!==undefined){s.redirect=t.redirect}if(t.integrity!=null){s.integrity=String(t.integrity)}if(t.keepalive!==undefined){s.keepalive=Boolean(t.keepalive)}if(t.method!==undefined){let e=t.method;const r=x[e];if(r!==undefined){s.method=r}else{if(!f(e)){throw new TypeError(`'${e}' is not a valid HTTP method.`)}const t=e.toUpperCase();if(C.has(t)){throw new TypeError(`'${e}' HTTP method is unsupported.`)}e=v[t]??e;s.method=e}if(!$&&s.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"});$=true}}if(t.signal!==undefined){m=t.signal}this[D]=s;const S=new AbortController;this[k]=S.signal;if(m!=null){if(!m||typeof m.aborted!=="boolean"||typeof m.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(m.aborted){S.abort(m.reason)}else{this[q]=S;const e=new WeakRef(S);const t=buildAbort(e);try{if(typeof F==="function"&&F(m)===G){U(1500,m)}else if(H(m,"abort").length>=G){U(1500,m)}}catch{}h.addAbortListener(m,t);z.register(S,{signal:m,abort:t},t)}}this[T]=new a(M);d(this[T],s.headersList);u(this[T],"request");if(w==="no-cors"){if(!I.has(s.method)){throw new TypeError(`'${s.method} is unsupported in no-cors mode.`)}u(this[T],"request-no-cors")}if(b){const e=p(this[T]);const r=t.headers!==undefined?t.headers:new l(e);e.clear();if(r instanceof l){for(const{name:t,value:n}of r.rawValues()){e.append(t,n,false)}e.cookies=r.cookies}else{c(this[T],r)}}const Q=e instanceof Request?e[D].body:null;if((t.body!=null||Q!=null)&&(s.method==="GET"||s.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let N=null;if(t.body!=null){const[e,r]=n(t.body,s.keepalive);N=e;if(r&&!p(this[T]).contains("content-type",true)){this[T].append("content-type",r)}}const R=N??Q;if(R!=null&&R.source==null){if(N!=null&&t.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(s.mode!=="same-origin"&&s.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}s.useCORSPreflightFlag=true}let L=R;if(N==null&&Q!=null){if(i(e)){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}const t=new TransformStream;Q.stream.pipeThrough(t);L={source:Q.source,length:Q.length,stream:t.readable}}this[D].body=L}get method(){P.brandCheck(this,Request);return this[D].method}get url(){P.brandCheck(this,Request);return L(this[D].url)}get headers(){P.brandCheck(this,Request);return this[T]}get destination(){P.brandCheck(this,Request);return this[D].destination}get referrer(){P.brandCheck(this,Request);if(this[D].referrer==="no-referrer"){return""}if(this[D].referrer==="client"){return"about:client"}return this[D].referrer.toString()}get referrerPolicy(){P.brandCheck(this,Request);return this[D].referrerPolicy}get mode(){P.brandCheck(this,Request);return this[D].mode}get credentials(){return this[D].credentials}get cache(){P.brandCheck(this,Request);return this[D].cache}get redirect(){P.brandCheck(this,Request);return this[D].redirect}get integrity(){P.brandCheck(this,Request);return this[D].integrity}get keepalive(){P.brandCheck(this,Request);return this[D].keepalive}get isReloadNavigation(){P.brandCheck(this,Request);return this[D].reloadNavigation}get isHistoryNavigation(){P.brandCheck(this,Request);return this[D].historyNavigation}get signal(){P.brandCheck(this,Request);return this[k]}get body(){P.brandCheck(this,Request);return this[D].body?this[D].body.stream:null}get bodyUsed(){P.brandCheck(this,Request);return!!this[D].body&&h.isDisturbed(this[D].body.stream)}get duplex(){P.brandCheck(this,Request);return"half"}clone(){P.brandCheck(this,Request);if(i(this)){throw new TypeError("unusable")}const e=cloneRequest(this[D]);const t=new AbortController;if(this.signal.aborted){t.abort(this.signal.reason)}else{let e=V.get(this.signal);if(e===undefined){e=new Set;V.set(this.signal,e)}const r=new WeakRef(t);e.add(r);h.addAbortListener(t.signal,buildAbort(r))}return fromInnerRequest(e,t.signal,A(this[T]))}[g.inspect.custom](e,t){if(t.depth===null){t.depth=2}t.colors??=true;const r={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 ${g.formatWithOptions(t,r)}`}}s(Request);function makeRequest(e){return{method:e.method??"GET",localURLsOnly:e.localURLsOnly??false,unsafeRequest:e.unsafeRequest??false,body:e.body??null,client:e.client??null,reservedClient:e.reservedClient??null,replacesClientId:e.replacesClientId??"",window:e.window??"client",keepalive:e.keepalive??false,serviceWorkers:e.serviceWorkers??"all",initiator:e.initiator??"",destination:e.destination??"",priority:e.priority??null,origin:e.origin??"client",policyContainer:e.policyContainer??"client",referrer:e.referrer??"client",referrerPolicy:e.referrerPolicy??"",mode:e.mode??"no-cors",useCORSPreflightFlag:e.useCORSPreflightFlag??false,credentials:e.credentials??"same-origin",useCredentials:e.useCredentials??false,cache:e.cache??"default",redirect:e.redirect??"follow",integrity:e.integrity??"",cryptoGraphicsNonceMetadata:e.cryptoGraphicsNonceMetadata??"",parserMetadata:e.parserMetadata??"",reloadNavigation:e.reloadNavigation??false,historyNavigation:e.historyNavigation??false,userActivation:e.userActivation??false,taintedOrigin:e.taintedOrigin??false,redirectCount:e.redirectCount??0,responseTainting:e.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:e.preventNoCacheCacheControlHeaderModification??false,done:e.done??false,timingAllowFailed:e.timingAllowFailed??false,urlList:e.urlList,url:e.urlList[0],headersList:e.headersList?new l(e.headersList):new l}}function cloneRequest(e){const t=makeRequest({...e,body:null});if(e.body!=null){t.body=o(t,e.body)}return t}function fromInnerRequest(e,t,r){const n=new Request(M);n[D]=e;n[k]=t;n[T]=new a(M);d(n[T],e.headersList);u(n[T],r);return n}Object.defineProperties(Request.prototype,{method:R,url:R,headers:R,redirect:R,clone:R,signal:R,duplex:R,destination:R,body:R,bodyUsed:R,isHistoryNavigation:R,isReloadNavigation:R,keepalive:R,integrity:R,cache:R,credentials:R,attribute:R,referrerPolicy:R,referrer:R,mode:R,[Symbol.toStringTag]:{value:"Request",configurable:true}});P.converters.Request=P.interfaceConverter(Request);P.converters.RequestInfo=function(e,t,r){if(typeof e==="string"){return P.converters.USVString(e,t,r)}if(e instanceof Request){return P.converters.Request(e,t,r)}return P.converters.USVString(e,t,r)};P.converters.AbortSignal=P.interfaceConverter(AbortSignal);P.converters.RequestInit=P.dictionaryConverter([{key:"method",converter:P.converters.ByteString},{key:"headers",converter:P.converters.HeadersInit},{key:"body",converter:P.nullableConverter(P.converters.BodyInit)},{key:"referrer",converter:P.converters.USVString},{key:"referrerPolicy",converter:P.converters.DOMString,allowedValues:B},{key:"mode",converter:P.converters.DOMString,allowedValues:w},{key:"credentials",converter:P.converters.DOMString,allowedValues:S},{key:"cache",converter:P.converters.DOMString,allowedValues:Q},{key:"redirect",converter:P.converters.DOMString,allowedValues:b},{key:"integrity",converter:P.converters.DOMString},{key:"keepalive",converter:P.converters.boolean},{key:"signal",converter:P.nullableConverter((e=>P.converters.AbortSignal(e,"RequestInit","signal",{strict:false})))},{key:"window",converter:P.converters.any},{key:"duplex",converter:P.converters.DOMString,allowedValues:N},{key:"dispatcher",converter:P.converters.any}]);e.exports={Request:Request,makeRequest:makeRequest,fromInnerRequest:fromInnerRequest,cloneRequest:cloneRequest}},9051:(e,t,r)=>{const{Headers:n,HeadersList:s,fill:o,getHeadersGuard:i,setHeadersGuard:a,setHeadersList:c}=r(660);const{extractBody:l,cloneBody:u,mixinBody:A,hasFinalizationRegistry:d,streamRegistry:p,bodyUnusable:m}=r(4492);const h=r(3440);const g=r(7975);const{kEnumerableProperty:f}=h;const{isValidReasonPhrase:E,isCancelled:y,isAborted:C,isBlobLike:I,serializeJavascriptValueToJSONString:B,isErrorLike:b,isomorphicEncode:w,environmentSettingsObject:S}=r(3168);const{redirectStatusSet:Q,nullBodyStatus:N}=r(4495);const{kState:R,kHeaders:v}=r(3627);const{webidl:x}=r(5893);const{FormData:T}=r(5910);const{URLSerializer:k}=r(1900);const{kConstruct:D}=r(6443);const _=r(4589);const{types:P}=r(7975);const L=new TextEncoder("utf-8");class Response{static error(){const e=fromInnerResponse(makeNetworkError(),"immutable");return e}static json(e,t={}){x.argumentLengthCheck(arguments,1,"Response.json");if(t!==null){t=x.converters.ResponseInit(t)}const r=L.encode(B(e));const n=l(r);const s=fromInnerResponse(makeResponse({}),"response");initializeResponse(s,t,{body:n[0],type:"application/json"});return s}static redirect(e,t=302){x.argumentLengthCheck(arguments,1,"Response.redirect");e=x.converters.USVString(e);t=x.converters["unsigned short"](t);let r;try{r=new URL(e,S.settingsObject.baseUrl)}catch(t){throw new TypeError(`Failed to parse URL from ${e}`,{cause:t})}if(!Q.has(t)){throw new RangeError(`Invalid status code ${t}`)}const n=fromInnerResponse(makeResponse({}),"immutable");n[R].status=t;const s=w(k(r));n[R].headersList.append("location",s,true);return n}constructor(e=null,t={}){x.util.markAsUncloneable(this);if(e===D){return}if(e!==null){e=x.converters.BodyInit(e)}t=x.converters.ResponseInit(t);this[R]=makeResponse({});this[v]=new n(D);a(this[v],"response");c(this[v],this[R].headersList);let r=null;if(e!=null){const[t,n]=l(e);r={body:t,type:n}}initializeResponse(this,t,r)}get type(){x.brandCheck(this,Response);return this[R].type}get url(){x.brandCheck(this,Response);const e=this[R].urlList;const t=e[e.length-1]??null;if(t===null){return""}return k(t,true)}get redirected(){x.brandCheck(this,Response);return this[R].urlList.length>1}get status(){x.brandCheck(this,Response);return this[R].status}get ok(){x.brandCheck(this,Response);return this[R].status>=200&&this[R].status<=299}get statusText(){x.brandCheck(this,Response);return this[R].statusText}get headers(){x.brandCheck(this,Response);return this[v]}get body(){x.brandCheck(this,Response);return this[R].body?this[R].body.stream:null}get bodyUsed(){x.brandCheck(this,Response);return!!this[R].body&&h.isDisturbed(this[R].body.stream)}clone(){x.brandCheck(this,Response);if(m(this)){throw x.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const e=cloneResponse(this[R]);if(d&&this[R].body?.stream){p.register(this,new WeakRef(this[R].body.stream))}return fromInnerResponse(e,i(this[v]))}[g.inspect.custom](e,t){if(t.depth===null){t.depth=2}t.colors??=true;const r={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 ${g.formatWithOptions(t,r)}`}}A(Response);Object.defineProperties(Response.prototype,{type:f,url:f,status:f,ok:f,redirected:f,statusText:f,headers:f,clone:f,body:f,bodyUsed:f,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:f,redirect:f,error:f});function cloneResponse(e){if(e.internalResponse){return filterResponse(cloneResponse(e.internalResponse),e.type)}const t=makeResponse({...e,body:null});if(e.body!=null){t.body=u(t,e.body)}return t}function makeResponse(e){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e?.headersList?new s(e?.headersList):new s,urlList:e?.urlList?[...e.urlList]:[]}}function makeNetworkError(e){const t=b(e);return makeResponse({type:"error",status:0,error:t?e:new Error(e?String(e):e),aborted:e&&e.name==="AbortError"})}function isNetworkError(e){return e.type==="error"&&e.status===0}function makeFilteredResponse(e,t){t={internalResponse:e,...t};return new Proxy(e,{get(e,r){return r in t?t[r]:e[r]},set(e,r,n){_(!(r in t));e[r]=n;return true}})}function filterResponse(e,t){if(t==="basic"){return makeFilteredResponse(e,{type:"basic",headersList:e.headersList})}else if(t==="cors"){return makeFilteredResponse(e,{type:"cors",headersList:e.headersList})}else if(t==="opaque"){return makeFilteredResponse(e,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(t==="opaqueredirect"){return makeFilteredResponse(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{_(false)}}function makeAppropriateNetworkError(e,t=null){_(y(e));return C(e)?makeNetworkError(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:t})):makeNetworkError(Object.assign(new DOMException("Request was cancelled."),{cause:t}))}function initializeResponse(e,t,r){if(t.status!==null&&(t.status<200||t.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in t&&t.statusText!=null){if(!E(String(t.statusText))){throw new TypeError("Invalid statusText")}}if("status"in t&&t.status!=null){e[R].status=t.status}if("statusText"in t&&t.statusText!=null){e[R].statusText=t.statusText}if("headers"in t&&t.headers!=null){o(e[v],t.headers)}if(r){if(N.includes(e.status)){throw x.errors.exception({header:"Response constructor",message:`Invalid response status code ${e.status}`})}e[R].body=r.body;if(r.type!=null&&!e[R].headersList.contains("content-type",true)){e[R].headersList.append("content-type",r.type,true)}}}function fromInnerResponse(e,t){const r=new Response(D);r[R]=e;r[v]=new n(D);c(r[v],e.headersList);a(r[v],t);if(d&&e.body?.stream){p.register(r,new WeakRef(e.body.stream))}return r}x.converters.ReadableStream=x.interfaceConverter(ReadableStream);x.converters.FormData=x.interfaceConverter(T);x.converters.URLSearchParams=x.interfaceConverter(URLSearchParams);x.converters.XMLHttpRequestBodyInit=function(e,t,r){if(typeof e==="string"){return x.converters.USVString(e,t,r)}if(I(e)){return x.converters.Blob(e,t,r,{strict:false})}if(ArrayBuffer.isView(e)||P.isArrayBuffer(e)){return x.converters.BufferSource(e,t,r)}if(h.isFormDataLike(e)){return x.converters.FormData(e,t,r,{strict:false})}if(e instanceof URLSearchParams){return x.converters.URLSearchParams(e,t,r)}return x.converters.DOMString(e,t,r)};x.converters.BodyInit=function(e,t,r){if(e instanceof ReadableStream){return x.converters.ReadableStream(e,t,r)}if(e?.[Symbol.asyncIterator]){return e}return x.converters.XMLHttpRequestBodyInit(e,t,r)};x.converters.ResponseInit=x.dictionaryConverter([{key:"status",converter:x.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:x.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:x.converters.HeadersInit}]);e.exports={isNetworkError:isNetworkError,makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse,fromInnerResponse:fromInnerResponse}},3627:e=>{e.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}},3168:(e,t,r)=>{const{Transform:n}=r(7075);const s=r(8522);const{redirectStatusSet:o,referrerPolicySet:i,badPortsSet:a}=r(4495);const{getGlobalOrigin:c}=r(1059);const{collectASequenceOfCodePoints:l,collectAnHTTPQuotedString:u,removeChars:A,parseMIMEType:d}=r(1900);const{performance:p}=r(643);const{isBlobLike:m,ReadableStreamFrom:h,isValidHTTPToken:g,normalizedMethodRecordsBase:f}=r(3440);const E=r(4589);const{isUint8Array:y}=r(3429);const{webidl:C}=r(5893);let I=[];let B;try{B=r(7598);const e=["sha256","sha384","sha512"];I=B.getHashes().filter((t=>e.includes(t)))}catch{}function responseURL(e){const t=e.urlList;const r=t.length;return r===0?null:t[r-1].toString()}function responseLocationURL(e,t){if(!o.has(e.status)){return null}let r=e.headersList.get("location",true);if(r!==null&&isValidHeaderValue(r)){if(!isValidEncodedURL(r)){r=normalizeBinaryStringToUtf8(r)}r=new URL(r,responseURL(e))}if(r&&!r.hash){r.hash=t}return r}function isValidEncodedURL(e){for(let t=0;t<e.length;++t){const r=e.charCodeAt(t);if(r>126||r<32){return false}}return true}function normalizeBinaryStringToUtf8(e){return Buffer.from(e,"binary").toString("utf8")}function requestCurrentURL(e){return e.urlList[e.urlList.length-1]}function requestBadPort(e){const t=requestCurrentURL(e);if(urlIsHttpHttpsScheme(t)&&a.has(t.port)){return"blocked"}return"allowed"}function isErrorLike(e){return e instanceof Error||(e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException")}function isValidReasonPhrase(e){for(let t=0;t<e.length;++t){const r=e.charCodeAt(t);if(!(r===9||r>=32&&r<=126||r>=128&&r<=255)){return false}}return true}const b=g;function isValidHeaderValue(e){return(e[0]==="\t"||e[0]===" "||e[e.length-1]==="\t"||e[e.length-1]===" "||e.includes("\n")||e.includes("\r")||e.includes("\0"))===false}function setRequestReferrerPolicyOnRedirect(e,t){const{headersList:r}=t;const n=(r.get("referrer-policy",true)??"").split(",");let s="";if(n.length>0){for(let e=n.length;e!==0;e--){const t=n[e-1].trim();if(i.has(t)){s=t;break}}}if(s!==""){e.referrerPolicy=s}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(e){let t=null;t=e.mode;e.headersList.set("sec-fetch-mode",t,true)}function appendRequestOriginHeader(e){let t=e.origin;if(t==="client"||t===undefined){return}if(e.responseTainting==="cors"||e.mode==="websocket"){e.headersList.append("origin",t,true)}else if(e.method!=="GET"&&e.method!=="HEAD"){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(e.origin&&urlHasHttpsScheme(e.origin)&&!urlHasHttpsScheme(requestCurrentURL(e))){t=null}break;case"same-origin":if(!sameOrigin(e,requestCurrentURL(e))){t=null}break;default:}e.headersList.append("origin",t,true)}}function coarsenTime(e,t){return e}function clampAndCoarsenConnectionTimingInfo(e,t,r){if(!e?.startTime||e.startTime<t){return{domainLookupStartTime:t,domainLookupEndTime:t,connectionStartTime:t,connectionEndTime:t,secureConnectionStartTime:t,ALPNNegotiatedProtocol:e?.ALPNNegotiatedProtocol}}return{domainLookupStartTime:coarsenTime(e.domainLookupStartTime,r),domainLookupEndTime:coarsenTime(e.domainLookupEndTime,r),connectionStartTime:coarsenTime(e.connectionStartTime,r),connectionEndTime:coarsenTime(e.connectionEndTime,r),secureConnectionStartTime:coarsenTime(e.secureConnectionStartTime,r),ALPNNegotiatedProtocol:e.ALPNNegotiatedProtocol}}function coarsenedSharedCurrentTime(e){return coarsenTime(p.now(),e)}function createOpaqueTimingInfo(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.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(e){return{referrerPolicy:e.referrerPolicy}}function determineRequestsReferrer(e){const t=e.referrerPolicy;E(t);let r=null;if(e.referrer==="client"){const e=c();if(!e||e.origin==="null"){return"no-referrer"}r=new URL(e)}else if(e.referrer instanceof URL){r=e.referrer}let n=stripURLForReferrer(r);const s=stripURLForReferrer(r,true);if(n.toString().length>4096){n=s}const o=sameOrigin(e,n);const i=isURLPotentiallyTrustworthy(n)&&!isURLPotentiallyTrustworthy(e.url);switch(t){case"origin":return s!=null?s:stripURLForReferrer(r,true);case"unsafe-url":return n;case"same-origin":return o?s:"no-referrer";case"origin-when-cross-origin":return o?n:s;case"strict-origin-when-cross-origin":{const t=requestCurrentURL(e);if(sameOrigin(n,t)){return n}if(isURLPotentiallyTrustworthy(n)&&!isURLPotentiallyTrustworthy(t)){return"no-referrer"}return s}case"strict-origin":case"no-referrer-when-downgrade":default:return i?"no-referrer":s}}function stripURLForReferrer(e,t){E(e instanceof URL);e=new URL(e);if(e.protocol==="file:"||e.protocol==="about:"||e.protocol==="blank:"){return"no-referrer"}e.username="";e.password="";e.hash="";if(t){e.pathname="";e.search=""}return e}function isURLPotentiallyTrustworthy(e){if(!(e instanceof URL)){return false}if(e.href==="about:blank"||e.href==="about:srcdoc"){return true}if(e.protocol==="data:")return true;if(e.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(e.origin);function isOriginPotentiallyTrustworthy(e){if(e==null||e==="null")return false;const t=new URL(e);if(t.protocol==="https:"||t.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(t.hostname)||(t.hostname==="localhost"||t.hostname.includes("localhost."))||t.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(e,t){if(B===undefined){return true}const r=parseMetadata(t);if(r==="no metadata"){return true}if(r.length===0){return true}const n=getStrongestMetadata(r);const s=filterMetadataListByAlgorithm(r,n);for(const t of s){const r=t.algo;const n=t.hash;let s=B.createHash(r).update(e).digest("base64");if(s[s.length-1]==="="){if(s[s.length-2]==="="){s=s.slice(0,-2)}else{s=s.slice(0,-1)}}if(compareBase64Mixed(s,n)){return true}}return false}const w=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(e){const t=[];let r=true;for(const n of e.split(" ")){r=false;const e=w.exec(n);if(e===null||e.groups===undefined||e.groups.algo===undefined){continue}const s=e.groups.algo.toLowerCase();if(I.includes(s)){t.push(e.groups)}}if(r===true){return"no metadata"}return t}function getStrongestMetadata(e){let t=e[0].algo;if(t[3]==="5"){return t}for(let r=1;r<e.length;++r){const n=e[r];if(n.algo[3]==="5"){t="sha512";break}else if(t[3]==="3"){continue}else if(n.algo[3]==="3"){t="sha384"}}return t}function filterMetadataListByAlgorithm(e,t){if(e.length===1){return e}let r=0;for(let n=0;n<e.length;++n){if(e[n].algo===t){e[r++]=e[n]}}e.length=r;return e}function compareBase64Mixed(e,t){if(e.length!==t.length){return false}for(let r=0;r<e.length;++r){if(e[r]!==t[r]){if(e[r]==="+"&&t[r]==="-"||e[r]==="/"&&t[r]==="_"){continue}return false}}return true}function tryUpgradeRequestToAPotentiallyTrustworthyURL(e){}function sameOrigin(e,t){if(e.origin===t.origin&&e.origin==="null"){return true}if(e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port){return true}return false}function createDeferredPromise(){let e;let t;const r=new Promise(((r,n)=>{e=r;t=n}));return{promise:r,resolve:e,reject:t}}function isAborted(e){return e.controller.state==="aborted"}function isCancelled(e){return e.controller.state==="aborted"||e.controller.state==="terminated"}function normalizeMethod(e){return f[e.toLowerCase()]??e}function serializeJavascriptValueToJSONString(e){const t=JSON.stringify(e);if(t===undefined){throw new TypeError("Value is not JSON serializable")}E(typeof t==="string");return t}const S=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function createIterator(e,t,r=0,n=1){class FastIterableIterator{#V;#$;#J;constructor(e,t){this.#V=e;this.#$=t;this.#J=0}next(){if(typeof this!=="object"||this===null||!(#V in this)){throw new TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`)}const s=this.#J;const o=this.#V[t];const i=o.length;if(s>=i){return{value:undefined,done:true}}const{[r]:a,[n]:c}=o[s];this.#J=s+1;let l;switch(this.#$){case"key":l=a;break;case"value":l=c;break;case"key+value":l=[a,c];break}return{value:l,done:false}}}delete FastIterableIterator.prototype.constructor;Object.setPrototypeOf(FastIterableIterator.prototype,S);Object.defineProperties(FastIterableIterator.prototype,{[Symbol.toStringTag]:{writable:false,enumerable:false,configurable:true,value:`${e} Iterator`},next:{writable:true,enumerable:true,configurable:true}});return function(e,t){return new FastIterableIterator(e,t)}}function iteratorMixin(e,t,r,n=0,s=1){const o=createIterator(e,r,n,s);const i={keys:{writable:true,enumerable:true,configurable:true,value:function keys(){C.brandCheck(this,t);return o(this,"key")}},values:{writable:true,enumerable:true,configurable:true,value:function values(){C.brandCheck(this,t);return o(this,"value")}},entries:{writable:true,enumerable:true,configurable:true,value:function entries(){C.brandCheck(this,t);return o(this,"key+value")}},forEach:{writable:true,enumerable:true,configurable:true,value:function forEach(r,n=globalThis){C.brandCheck(this,t);C.argumentLengthCheck(arguments,1,`${e}.forEach`);if(typeof r!=="function"){throw new TypeError(`Failed to execute 'forEach' on '${e}': parameter 1 is not of type 'Function'.`)}for(const{0:e,1:t}of o(this,"key+value")){r.call(n,t,e,this)}}}};return Object.defineProperties(t.prototype,{...i,[Symbol.iterator]:{writable:true,enumerable:false,configurable:true,value:i.entries.value}})}async function fullyReadBody(e,t,r){const n=t;const s=r;let o;try{o=e.stream.getReader()}catch(e){s(e);return}try{n(await readAllBytes(o))}catch(e){s(e)}}function isReadableStreamLike(e){return e instanceof ReadableStream||e[Symbol.toStringTag]==="ReadableStream"&&typeof e.tee==="function"}function readableStreamClose(e){try{e.close();e.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed")){throw e}}}const Q=/[^\x00-\xFF]/;function isomorphicEncode(e){E(!Q.test(e));return e}async function readAllBytes(e){const t=[];let r=0;while(true){const{done:n,value:s}=await e.read();if(n){return Buffer.concat(t,r)}if(!y(s)){throw new TypeError("Received non-Uint8Array chunk")}t.push(s);r+=s.length}}function urlIsLocal(e){E("protocol"in e);const t=e.protocol;return t==="about:"||t==="blob:"||t==="data:"}function urlHasHttpsScheme(e){return typeof e==="string"&&e[5]===":"&&e[0]==="h"&&e[1]==="t"&&e[2]==="t"&&e[3]==="p"&&e[4]==="s"||e.protocol==="https:"}function urlIsHttpHttpsScheme(e){E("protocol"in e);const t=e.protocol;return t==="http:"||t==="https:"}function simpleRangeHeaderValue(e,t){const r=e;if(!r.startsWith("bytes")){return"failure"}const n={position:5};if(t){l((e=>e==="\t"||e===" "),r,n)}if(r.charCodeAt(n.position)!==61){return"failure"}n.position++;if(t){l((e=>e==="\t"||e===" "),r,n)}const s=l((e=>{const t=e.charCodeAt(0);return t>=48&&t<=57}),r,n);const o=s.length?Number(s):null;if(t){l((e=>e==="\t"||e===" "),r,n)}if(r.charCodeAt(n.position)!==45){return"failure"}n.position++;if(t){l((e=>e==="\t"||e===" "),r,n)}const i=l((e=>{const t=e.charCodeAt(0);return t>=48&&t<=57}),r,n);const a=i.length?Number(i):null;if(n.position<r.length){return"failure"}if(a===null&&o===null){return"failure"}if(o>a){return"failure"}return{rangeStartValue:o,rangeEndValue:a}}function buildContentRange(e,t,r){let n="bytes ";n+=isomorphicEncode(`${e}`);n+="-";n+=isomorphicEncode(`${t}`);n+="/";n+=isomorphicEncode(`${r}`);return n}class InflateStream extends n{#Y;constructor(e){super();this.#Y=e}_transform(e,t,r){if(!this._inflateStream){if(e.length===0){r();return}this._inflateStream=(e[0]&15)===8?s.createInflate(this.#Y):s.createInflateRaw(this.#Y);this._inflateStream.on("data",this.push.bind(this));this._inflateStream.on("end",(()=>this.push(null)));this._inflateStream.on("error",(e=>this.destroy(e)))}this._inflateStream.write(e,t,r)}_final(e){if(this._inflateStream){this._inflateStream.end();this._inflateStream=null}e()}}function createInflate(e){return new InflateStream(e)}function extractMimeType(e){let t=null;let r=null;let n=null;const s=getDecodeSplit("content-type",e);if(s===null){return"failure"}for(const e of s){const s=d(e);if(s==="failure"||s.essence==="*/*"){continue}n=s;if(n.essence!==r){t=null;if(n.parameters.has("charset")){t=n.parameters.get("charset")}r=n.essence}else if(!n.parameters.has("charset")&&t!==null){n.parameters.set("charset",t)}}if(n==null){return"failure"}return n}function gettingDecodingSplitting(e){const t=e;const r={position:0};const n=[];let s="";while(r.position<t.length){s+=l((e=>e!=='"'&&e!==","),t,r);if(r.position<t.length){if(t.charCodeAt(r.position)===34){s+=u(t,r);if(r.position<t.length){continue}}else{E(t.charCodeAt(r.position)===44);r.position++}}s=A(s,true,true,(e=>e===9||e===32));n.push(s);s=""}return n}function getDecodeSplit(e,t){const r=t.get(e,true);if(r===null){return null}return gettingDecodingSplitting(r)}const N=new TextDecoder;function utf8DecodeBytes(e){if(e.length===0){return""}if(e[0]===239&&e[1]===187&&e[2]===191){e=e.subarray(3)}const t=N.decode(e);return t}class EnvironmentSettingsObjectBase{get baseUrl(){return c()}get origin(){return this.baseUrl?.origin}policyContainer=makePolicyContainer()}class EnvironmentSettingsObject{settingsObject=new EnvironmentSettingsObjectBase}const R=new EnvironmentSettingsObject;e.exports={isAborted:isAborted,isCancelled:isCancelled,isValidEncodedURL:isValidEncodedURL,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:h,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:g,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:m,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,iteratorMixin:iteratorMixin,createIterator:createIterator,isValidHeaderName:b,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:R}},5893:(e,t,r)=>{const{types:n,inspect:s}=r(7975);const{markAsUncloneable:o}=r(5919);const{toUSVString:i}=r(3440);const a={};a.converters={};a.util={};a.errors={};a.errors.exception=function(e){return new TypeError(`${e.header}: ${e.message}`)};a.errors.conversionFailed=function(e){const t=e.types.length===1?"":" one of";const r=`${e.argument} could not be converted to`+`${t}: ${e.types.join(", ")}.`;return a.errors.exception({header:e.prefix,message:r})};a.errors.invalidArgument=function(e){return a.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})};a.brandCheck=function(e,t,r){if(r?.strict!==false){if(!(e instanceof t)){const e=new TypeError("Illegal invocation");e.code="ERR_INVALID_THIS";throw e}}else{if(e?.[Symbol.toStringTag]!==t.prototype[Symbol.toStringTag]){const e=new TypeError("Illegal invocation");e.code="ERR_INVALID_THIS";throw e}}};a.argumentLengthCheck=function({length:e},t,r){if(e<t){throw a.errors.exception({message:`${t} argument${t!==1?"s":""} required, `+`but${e?" only":""} ${e} found.`,header:r})}};a.illegalConstructor=function(){throw a.errors.exception({header:"TypeError",message:"Illegal constructor"})};a.util.Type=function(e){switch(typeof e){case"undefined":return"Undefined";case"boolean":return"Boolean";case"string":return"String";case"symbol":return"Symbol";case"number":return"Number";case"bigint":return"BigInt";case"function":case"object":{if(e===null){return"Null"}return"Object"}}};a.util.markAsUncloneable=o||(()=>{});a.util.ConvertToInt=function(e,t,r,n){let s;let o;if(t===64){s=Math.pow(2,53)-1;if(r==="unsigned"){o=0}else{o=Math.pow(-2,53)+1}}else if(r==="unsigned"){o=0;s=Math.pow(2,t)-1}else{o=Math.pow(-2,t)-1;s=Math.pow(2,t-1)-1}let i=Number(e);if(i===0){i=0}if(n?.enforceRange===true){if(Number.isNaN(i)||i===Number.POSITIVE_INFINITY||i===Number.NEGATIVE_INFINITY){throw a.errors.exception({header:"Integer conversion",message:`Could not convert ${a.util.Stringify(e)} to an integer.`})}i=a.util.IntegerPart(i);if(i<o||i>s){throw a.errors.exception({header:"Integer conversion",message:`Value must be between ${o}-${s}, got ${i}.`})}return i}if(!Number.isNaN(i)&&n?.clamp===true){i=Math.min(Math.max(i,o),s);if(Math.floor(i)%2===0){i=Math.floor(i)}else{i=Math.ceil(i)}return i}if(Number.isNaN(i)||i===0&&Object.is(0,i)||i===Number.POSITIVE_INFINITY||i===Number.NEGATIVE_INFINITY){return 0}i=a.util.IntegerPart(i);i=i%Math.pow(2,t);if(r==="signed"&&i>=Math.pow(2,t)-1){return i-Math.pow(2,t)}return i};a.util.IntegerPart=function(e){const t=Math.floor(Math.abs(e));if(e<0){return-1*t}return t};a.util.Stringify=function(e){const t=a.util.Type(e);switch(t){case"Symbol":return`Symbol(${e.description})`;case"Object":return s(e);case"String":return`"${e}"`;default:return`${e}`}};a.sequenceConverter=function(e){return(t,r,n,s)=>{if(a.util.Type(t)!=="Object"){throw a.errors.exception({header:r,message:`${n} (${a.util.Stringify(t)}) is not iterable.`})}const o=typeof s==="function"?s():t?.[Symbol.iterator]?.();const i=[];let c=0;if(o===undefined||typeof o.next!=="function"){throw a.errors.exception({header:r,message:`${n} is not iterable.`})}while(true){const{done:t,value:s}=o.next();if(t){break}i.push(e(s,r,`${n}[${c++}]`))}return i}};a.recordConverter=function(e,t){return(r,s,o)=>{if(a.util.Type(r)!=="Object"){throw a.errors.exception({header:s,message:`${o} ("${a.util.Type(r)}") is not an Object.`})}const i={};if(!n.isProxy(r)){const n=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(const a of n){const n=e(a,s,o);const c=t(r[a],s,o);i[n]=c}return i}const c=Reflect.ownKeys(r);for(const n of c){const a=Reflect.getOwnPropertyDescriptor(r,n);if(a?.enumerable){const a=e(n,s,o);const c=t(r[n],s,o);i[a]=c}}return i}};a.interfaceConverter=function(e){return(t,r,n,s)=>{if(s?.strict!==false&&!(t instanceof e)){throw a.errors.exception({header:r,message:`Expected ${n} ("${a.util.Stringify(t)}") to be an instance of ${e.name}.`})}return t}};a.dictionaryConverter=function(e){return(t,r,n)=>{const s=a.util.Type(t);const o={};if(s==="Null"||s==="Undefined"){return o}else if(s!=="Object"){throw a.errors.exception({header:r,message:`Expected ${t} to be one of: Null, Undefined, Object.`})}for(const s of e){const{key:e,defaultValue:i,required:c,converter:l}=s;if(c===true){if(!Object.hasOwn(t,e)){throw a.errors.exception({header:r,message:`Missing required key "${e}".`})}}let u=t[e];const A=Object.hasOwn(s,"defaultValue");if(A&&u!==null){u??=i()}if(c||A||u!==undefined){u=l(u,r,`${n}.${e}`);if(s.allowedValues&&!s.allowedValues.includes(u)){throw a.errors.exception({header:r,message:`${u} is not an accepted type. Expected one of ${s.allowedValues.join(", ")}.`})}o[e]=u}}return o}};a.nullableConverter=function(e){return(t,r,n)=>{if(t===null){return t}return e(t,r,n)}};a.converters.DOMString=function(e,t,r,n){if(e===null&&n?.legacyNullToEmptyString){return""}if(typeof e==="symbol"){throw a.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a DOMString.`})}return String(e)};a.converters.ByteString=function(e,t,r){const n=a.converters.DOMString(e,t,r);for(let e=0;e<n.length;e++){if(n.charCodeAt(e)>255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${e} has a value of ${n.charCodeAt(e)} which is greater than 255.`)}}return n};a.converters.USVString=i;a.converters.boolean=function(e){const t=Boolean(e);return t};a.converters.any=function(e){return e};a.converters["long long"]=function(e,t,r){const n=a.util.ConvertToInt(e,64,"signed",undefined,t,r);return n};a.converters["unsigned long long"]=function(e,t,r){const n=a.util.ConvertToInt(e,64,"unsigned",undefined,t,r);return n};a.converters["unsigned long"]=function(e,t,r){const n=a.util.ConvertToInt(e,32,"unsigned",undefined,t,r);return n};a.converters["unsigned short"]=function(e,t,r,n){const s=a.util.ConvertToInt(e,16,"unsigned",n,t,r);return s};a.converters.ArrayBuffer=function(e,t,r,s){if(a.util.Type(e)!=="Object"||!n.isAnyArrayBuffer(e)){throw a.errors.conversionFailed({prefix:t,argument:`${r} ("${a.util.Stringify(e)}")`,types:["ArrayBuffer"]})}if(s?.allowShared===false&&n.isSharedArrayBuffer(e)){throw a.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(e.resizable||e.growable){throw a.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return e};a.converters.TypedArray=function(e,t,r,s,o){if(a.util.Type(e)!=="Object"||!n.isTypedArray(e)||e.constructor.name!==t.name){throw a.errors.conversionFailed({prefix:r,argument:`${s} ("${a.util.Stringify(e)}")`,types:[t.name]})}if(o?.allowShared===false&&n.isSharedArrayBuffer(e.buffer)){throw a.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(e.buffer.resizable||e.buffer.growable){throw a.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return e};a.converters.DataView=function(e,t,r,s){if(a.util.Type(e)!=="Object"||!n.isDataView(e)){throw a.errors.exception({header:t,message:`${r} is not a DataView.`})}if(s?.allowShared===false&&n.isSharedArrayBuffer(e.buffer)){throw a.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(e.buffer.resizable||e.buffer.growable){throw a.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return e};a.converters.BufferSource=function(e,t,r,s){if(n.isAnyArrayBuffer(e)){return a.converters.ArrayBuffer(e,t,r,{...s,allowShared:false})}if(n.isTypedArray(e)){return a.converters.TypedArray(e,e.constructor,t,r,{...s,allowShared:false})}if(n.isDataView(e)){return a.converters.DataView(e,t,r,{...s,allowShared:false})}throw a.errors.conversionFailed({prefix:t,argument:`${r} ("${a.util.Stringify(e)}")`,types:["BufferSource"]})};a.converters["sequence<ByteString>"]=a.sequenceConverter(a.converters.ByteString);a.converters["sequence<sequence<ByteString>>"]=a.sequenceConverter(a.converters["sequence<ByteString>"]);a.converters["record<ByteString, ByteString>"]=a.recordConverter(a.converters.ByteString,a.converters.ByteString);e.exports={webidl:a}},2607:e=>{function getEncoding(e){if(!e){return"failure"}switch(e.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"}}e.exports={getEncoding:getEncoding}},8355:(e,t,r)=>{const{staticPropertyDescriptors:n,readOperation:s,fireAProgressEvent:o}=r(3610);const{kState:i,kError:a,kResult:c,kEvents:l,kAborted:u}=r(961);const{webidl:A}=r(5893);const{kEnumerableProperty:d}=r(3440);class FileReader extends EventTarget{constructor(){super();this[i]="empty";this[c]=null;this[a]=null;this[l]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){A.brandCheck(this,FileReader);A.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer");e=A.converters.Blob(e,{strict:false});s(this,e,"ArrayBuffer")}readAsBinaryString(e){A.brandCheck(this,FileReader);A.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString");e=A.converters.Blob(e,{strict:false});s(this,e,"BinaryString")}readAsText(e,t=undefined){A.brandCheck(this,FileReader);A.argumentLengthCheck(arguments,1,"FileReader.readAsText");e=A.converters.Blob(e,{strict:false});if(t!==undefined){t=A.converters.DOMString(t,"FileReader.readAsText","encoding")}s(this,e,"Text",t)}readAsDataURL(e){A.brandCheck(this,FileReader);A.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL");e=A.converters.Blob(e,{strict:false});s(this,e,"DataURL")}abort(){if(this[i]==="empty"||this[i]==="done"){this[c]=null;return}if(this[i]==="loading"){this[i]="done";this[c]=null}this[u]=true;o("abort",this);if(this[i]!=="loading"){o("loadend",this)}}get readyState(){A.brandCheck(this,FileReader);switch(this[i]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){A.brandCheck(this,FileReader);return this[c]}get error(){A.brandCheck(this,FileReader);return this[a]}get onloadend(){A.brandCheck(this,FileReader);return this[l].loadend}set onloadend(e){A.brandCheck(this,FileReader);if(this[l].loadend){this.removeEventListener("loadend",this[l].loadend)}if(typeof e==="function"){this[l].loadend=e;this.addEventListener("loadend",e)}else{this[l].loadend=null}}get onerror(){A.brandCheck(this,FileReader);return this[l].error}set onerror(e){A.brandCheck(this,FileReader);if(this[l].error){this.removeEventListener("error",this[l].error)}if(typeof e==="function"){this[l].error=e;this.addEventListener("error",e)}else{this[l].error=null}}get onloadstart(){A.brandCheck(this,FileReader);return this[l].loadstart}set onloadstart(e){A.brandCheck(this,FileReader);if(this[l].loadstart){this.removeEventListener("loadstart",this[l].loadstart)}if(typeof e==="function"){this[l].loadstart=e;this.addEventListener("loadstart",e)}else{this[l].loadstart=null}}get onprogress(){A.brandCheck(this,FileReader);return this[l].progress}set onprogress(e){A.brandCheck(this,FileReader);if(this[l].progress){this.removeEventListener("progress",this[l].progress)}if(typeof e==="function"){this[l].progress=e;this.addEventListener("progress",e)}else{this[l].progress=null}}get onload(){A.brandCheck(this,FileReader);return this[l].load}set onload(e){A.brandCheck(this,FileReader);if(this[l].load){this.removeEventListener("load",this[l].load)}if(typeof e==="function"){this[l].load=e;this.addEventListener("load",e)}else{this[l].load=null}}get onabort(){A.brandCheck(this,FileReader);return this[l].abort}set onabort(e){A.brandCheck(this,FileReader);if(this[l].abort){this.removeEventListener("abort",this[l].abort)}if(typeof e==="function"){this[l].abort=e;this.addEventListener("abort",e)}else{this[l].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:n,LOADING:n,DONE:n,readAsArrayBuffer:d,readAsBinaryString:d,readAsText:d,readAsDataURL:d,abort:d,readyState:d,result:d,error:d,onloadstart:d,onprogress:d,onload:d,onabort:d,onerror:d,onloadend:d,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:n,LOADING:n,DONE:n});e.exports={FileReader:FileReader}},8573:(e,t,r)=>{const{webidl:n}=r(5893);const s=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(e,t={}){e=n.converters.DOMString(e,"ProgressEvent constructor","type");t=n.converters.ProgressEventInit(t??{});super(e,t);this[s]={lengthComputable:t.lengthComputable,loaded:t.loaded,total:t.total}}get lengthComputable(){n.brandCheck(this,ProgressEvent);return this[s].lengthComputable}get loaded(){n.brandCheck(this,ProgressEvent);return this[s].loaded}get total(){n.brandCheck(this,ProgressEvent);return this[s].total}}n.converters.ProgressEventInit=n.dictionaryConverter([{key:"lengthComputable",converter:n.converters.boolean,defaultValue:()=>false},{key:"loaded",converter:n.converters["unsigned long long"],defaultValue:()=>0},{key:"total",converter:n.converters["unsigned long long"],defaultValue:()=>0},{key:"bubbles",converter:n.converters.boolean,defaultValue:()=>false},{key:"cancelable",converter:n.converters.boolean,defaultValue:()=>false},{key:"composed",converter:n.converters.boolean,defaultValue:()=>false}]);e.exports={ProgressEvent:ProgressEvent}},961:e=>{e.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")}},3610:(e,t,r)=>{const{kState:n,kError:s,kResult:o,kAborted:i,kLastProgressEventFired:a}=r(961);const{ProgressEvent:c}=r(8573);const{getEncoding:l}=r(2607);const{serializeAMimeType:u,parseMIMEType:A}=r(1900);const{types:d}=r(7975);const{StringDecoder:p}=r(3193);const{btoa:m}=r(4573);const h={enumerable:true,writable:false,configurable:false};function readOperation(e,t,r,c){if(e[n]==="loading"){throw new DOMException("Invalid state","InvalidStateError")}e[n]="loading";e[o]=null;e[s]=null;const l=t.stream();const u=l.getReader();const A=[];let p=u.read();let m=true;(async()=>{while(!e[i]){try{const{done:l,value:h}=await p;if(m&&!e[i]){queueMicrotask((()=>{fireAProgressEvent("loadstart",e)}))}m=false;if(!l&&d.isUint8Array(h)){A.push(h);if((e[a]===undefined||Date.now()-e[a]>=50)&&!e[i]){e[a]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",e)}))}p=u.read()}else if(l){queueMicrotask((()=>{e[n]="done";try{const n=packageData(A,r,t.type,c);if(e[i]){return}e[o]=n;fireAProgressEvent("load",e)}catch(t){e[s]=t;fireAProgressEvent("error",e)}if(e[n]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}catch(t){if(e[i]){return}queueMicrotask((()=>{e[n]="done";e[s]=t;fireAProgressEvent("error",e);if(e[n]!=="loading"){fireAProgressEvent("loadend",e)}}));break}}})()}function fireAProgressEvent(e,t){const r=new c(e,{bubbles:false,cancelable:false});t.dispatchEvent(r)}function packageData(e,t,r,n){switch(t){case"DataURL":{let t="data:";const n=A(r||"application/octet-stream");if(n!=="failure"){t+=u(n)}t+=";base64,";const s=new p("latin1");for(const r of e){t+=m(s.write(r))}t+=m(s.end());return t}case"Text":{let t="failure";if(n){t=l(n)}if(t==="failure"&&r){const e=A(r);if(e!=="failure"){t=l(e.parameters.get("charset"))}}if(t==="failure"){t="UTF-8"}return decode(e,t)}case"ArrayBuffer":{const t=combineByteSequences(e);return t.buffer}case"BinaryString":{let t="";const r=new p("latin1");for(const n of e){t+=r.write(n)}t+=r.end();return t}}}function decode(e,t){const r=combineByteSequences(e);const n=BOMSniffing(r);let s=0;if(n!==null){t=n;s=n==="UTF-8"?3:2}const o=r.slice(s);return new TextDecoder(t).decode(o)}function BOMSniffing(e){const[t,r,n]=e;if(t===239&&r===187&&n===191){return"UTF-8"}else if(t===254&&r===255){return"UTF-16BE"}else if(t===255&&r===254){return"UTF-16LE"}return null}function combineByteSequences(e){const t=e.reduce(((e,t)=>e+t.byteLength),0);let r=0;return e.reduce(((e,t)=>{e.set(t,r);r+=t.byteLength;return e}),new Uint8Array(t))}e.exports={staticPropertyDescriptors:h,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},6897:(e,t,r)=>{const{uid:n,states:s,sentCloseFrameState:o,emptyBuffer:i,opcodes:a}=r(736);const{kReadyState:c,kSentClose:l,kByteParser:u,kReceivedClose:A,kResponse:d}=r(1216);const{fireEvent:p,failWebsocketConnection:m,isClosing:h,isClosed:g,isEstablished:f,parseExtensions:E}=r(8625);const{channels:y}=r(2414);const{CloseEvent:C}=r(5188);const{makeRequest:I}=r(9967);const{fetching:B}=r(4398);const{Headers:b,getHeadersList:w}=r(660);const{getDecodeSplit:S}=r(3168);const{WebsocketFrameSend:Q}=r(3264);let N;try{N=r(7598)}catch{}function establishWebSocketConnection(e,t,r,s,o,i){const a=e;a.protocol=e.protocol==="ws:"?"http:":"https:";const c=I({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){const e=w(new b(i.headers));c.headersList=e}const l=N.randomBytes(16).toString("base64");c.headersList.append("sec-websocket-key",l);c.headersList.append("sec-websocket-version","13");for(const e of t){c.headersList.append("sec-websocket-protocol",e)}const u="permessage-deflate; client_max_window_bits";c.headersList.append("sec-websocket-extensions",u);const A=B({request:c,useParallelQueue:true,dispatcher:i.dispatcher,processResponse(e){if(e.type==="error"||e.status!==101){m(s,"Received network error or non-101 status code.");return}if(t.length!==0&&!e.headersList.get("Sec-WebSocket-Protocol")){m(s,"Server did not respond with sent protocols.");return}if(e.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){m(s,'Server did not set Upgrade header to "websocket".');return}if(e.headersList.get("Connection")?.toLowerCase()!=="upgrade"){m(s,'Server did not set Connection header to "upgrade".');return}const r=e.headersList.get("Sec-WebSocket-Accept");const i=N.createHash("sha1").update(l+n).digest("base64");if(r!==i){m(s,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const a=e.headersList.get("Sec-WebSocket-Extensions");let u;if(a!==null){u=E(a);if(!u.has("permessage-deflate")){m(s,"Sec-WebSocket-Extensions header does not match.");return}}const A=e.headersList.get("Sec-WebSocket-Protocol");if(A!==null){const e=S("sec-websocket-protocol",c.headersList);if(!e.includes(A)){m(s,"Protocol was not set in the opening handshake.");return}}e.socket.on("data",onSocketData);e.socket.on("close",onSocketClose);e.socket.on("error",onSocketError);if(y.open.hasSubscribers){y.open.publish({address:e.socket.address(),protocol:A,extensions:a})}o(e,u)}});return A}function closeWebSocketConnection(e,t,r,n){if(h(e)||g(e)){}else if(!f(e)){m(e,"Connection was closed before it was established.");e[c]=s.CLOSING}else if(e[l]===o.NOT_SENT){e[l]=o.PROCESSING;const u=new Q;if(t!==undefined&&r===undefined){u.frameData=Buffer.allocUnsafe(2);u.frameData.writeUInt16BE(t,0)}else if(t!==undefined&&r!==undefined){u.frameData=Buffer.allocUnsafe(2+n);u.frameData.writeUInt16BE(t,0);u.frameData.write(r,2,"utf-8")}else{u.frameData=i}const A=e[d].socket;A.write(u.createFrame(a.CLOSE));e[l]=o.SENT;e[c]=s.CLOSING}else{e[c]=s.CLOSING}}function onSocketData(e){if(!this.ws[u].write(e)){this.pause()}}function onSocketClose(){const{ws:e}=this;const{[d]:t}=e;t.socket.off("data",onSocketData);t.socket.off("close",onSocketClose);t.socket.off("error",onSocketError);const r=e[l]===o.SENT&&e[A];let n=1005;let i="";const a=e[u].closingInfo;if(a&&!a.error){n=a.code??1005;i=a.reason}else if(!e[A]){n=1006}e[c]=s.CLOSED;p("close",e,((e,t)=>new C(e,t)),{wasClean:r,code:n,reason:i});if(y.close.hasSubscribers){y.close.publish({websocket:e,code:n,reason:i})}}function onSocketError(e){const{ws:t}=this;t[c]=s.CLOSING;if(y.socketError.hasSubscribers){y.socketError.publish(e)}this.destroy()}e.exports={establishWebSocketConnection:establishWebSocketConnection,closeWebSocketConnection:closeWebSocketConnection}},736:e=>{const t="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const r={enumerable:true,writable:false,configurable:false};const n={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const s={NOT_SENT:0,PROCESSING:1,SENT:2};const o={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const i=2**16-1;const a={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const c=Buffer.allocUnsafe(0);const l={string:1,typedArray:2,arrayBuffer:3,blob:4};e.exports={uid:t,sentCloseFrameState:s,staticPropertyDescriptors:r,states:n,opcodes:o,maxUnsigned16Bit:i,parserStates:a,emptyBuffer:c,sendHints:l}},5188:(e,t,r)=>{const{webidl:n}=r(5893);const{kEnumerableProperty:s}=r(3440);const{kConstruct:o}=r(6443);const{MessagePort:i}=r(5919);class MessageEvent extends Event{#W;constructor(e,t={}){if(e===o){super(arguments[1],arguments[2]);n.util.markAsUncloneable(this);return}const r="MessageEvent constructor";n.argumentLengthCheck(arguments,1,r);e=n.converters.DOMString(e,r,"type");t=n.converters.MessageEventInit(t,r,"eventInitDict");super(e,t);this.#W=t;n.util.markAsUncloneable(this)}get data(){n.brandCheck(this,MessageEvent);return this.#W.data}get origin(){n.brandCheck(this,MessageEvent);return this.#W.origin}get lastEventId(){n.brandCheck(this,MessageEvent);return this.#W.lastEventId}get source(){n.brandCheck(this,MessageEvent);return this.#W.source}get ports(){n.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#W.ports)){Object.freeze(this.#W.ports)}return this.#W.ports}initMessageEvent(e,t=false,r=false,s=null,o="",i="",a=null,c=[]){n.brandCheck(this,MessageEvent);n.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent");return new MessageEvent(e,{bubbles:t,cancelable:r,data:s,origin:o,lastEventId:i,source:a,ports:c})}static createFastMessageEvent(e,t){const r=new MessageEvent(o,e,t);r.#W=t;r.#W.data??=null;r.#W.origin??="";r.#W.lastEventId??="";r.#W.source??=null;r.#W.ports??=[];return r}}const{createFastMessageEvent:a}=MessageEvent;delete MessageEvent.createFastMessageEvent;class CloseEvent extends Event{#W;constructor(e,t={}){const r="CloseEvent constructor";n.argumentLengthCheck(arguments,1,r);e=n.converters.DOMString(e,r,"type");t=n.converters.CloseEventInit(t);super(e,t);this.#W=t;n.util.markAsUncloneable(this)}get wasClean(){n.brandCheck(this,CloseEvent);return this.#W.wasClean}get code(){n.brandCheck(this,CloseEvent);return this.#W.code}get reason(){n.brandCheck(this,CloseEvent);return this.#W.reason}}class ErrorEvent extends Event{#W;constructor(e,t){const r="ErrorEvent constructor";n.argumentLengthCheck(arguments,1,r);super(e,t);n.util.markAsUncloneable(this);e=n.converters.DOMString(e,r,"type");t=n.converters.ErrorEventInit(t??{});this.#W=t}get message(){n.brandCheck(this,ErrorEvent);return this.#W.message}get filename(){n.brandCheck(this,ErrorEvent);return this.#W.filename}get lineno(){n.brandCheck(this,ErrorEvent);return this.#W.lineno}get colno(){n.brandCheck(this,ErrorEvent);return this.#W.colno}get error(){n.brandCheck(this,ErrorEvent);return this.#W.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:s,origin:s,lastEventId:s,source:s,ports:s,initMessageEvent:s});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:s,code:s,wasClean:s});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:s,filename:s,lineno:s,colno:s,error:s});n.converters.MessagePort=n.interfaceConverter(i);n.converters["sequence<MessagePort>"]=n.sequenceConverter(n.converters.MessagePort);const c=[{key:"bubbles",converter:n.converters.boolean,defaultValue:()=>false},{key:"cancelable",converter:n.converters.boolean,defaultValue:()=>false},{key:"composed",converter:n.converters.boolean,defaultValue:()=>false}];n.converters.MessageEventInit=n.dictionaryConverter([...c,{key:"data",converter:n.converters.any,defaultValue:()=>null},{key:"origin",converter:n.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:n.converters.DOMString,defaultValue:()=>""},{key:"source",converter:n.nullableConverter(n.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:n.converters["sequence<MessagePort>"],defaultValue:()=>new Array(0)}]);n.converters.CloseEventInit=n.dictionaryConverter([...c,{key:"wasClean",converter:n.converters.boolean,defaultValue:()=>false},{key:"code",converter:n.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:n.converters.USVString,defaultValue:()=>""}]);n.converters.ErrorEventInit=n.dictionaryConverter([...c,{key:"message",converter:n.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:n.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:n.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:n.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:n.converters.any}]);e.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent,createFastMessageEvent:a}},3264:(e,t,r)=>{const{maxUnsigned16Bit:n}=r(736);const s=16386;let o;let i=null;let a=s;try{o=r(7598)}catch{o={randomFillSync:function randomFillSync(e,t,r){for(let t=0;t<e.length;++t){e[t]=Math.random()*255|0}return e}}}function generateMask(){if(a===s){a=0;o.randomFillSync(i??=Buffer.allocUnsafe(s),0,s)}return[i[a++],i[a++],i[a++],i[a++]]}class WebsocketFrameSend{constructor(e){this.frameData=e}createFrame(e){const t=this.frameData;const r=generateMask();const s=t?.byteLength??0;let o=s;let i=6;if(s>n){i+=8;o=127}else if(s>125){i+=2;o=126}const a=Buffer.allocUnsafe(s+i);a[0]=a[1]=0;a[0]|=128;a[0]=(a[0]&240)+e;
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */a[i-4]=r[0];a[i-3]=r[1];a[i-2]=r[2];a[i-1]=r[3];a[1]=o;if(o===126){a.writeUInt16BE(s,2)}else if(o===127){a[2]=a[3]=0;a.writeUIntBE(s,4,6)}a[1]|=128;for(let e=0;e<s;++e){a[i+e]=t[e]^r[e&3]}return a}}e.exports={WebsocketFrameSend:WebsocketFrameSend}},9469:(e,t,r)=>{const{createInflateRaw:n,Z_DEFAULT_WINDOWBITS:s}=r(8522);const{isValidClientWindowBits:o}=r(8625);const i=Buffer.from([0,0,255,255]);const a=Symbol("kBuffer");const c=Symbol("kLength");class PerMessageDeflate{#j;#p={};constructor(e){this.#p.serverNoContextTakeover=e.has("server_no_context_takeover");this.#p.serverMaxWindowBits=e.get("server_max_window_bits")}decompress(e,t,r){if(!this.#j){let e=s;if(this.#p.serverMaxWindowBits){if(!o(this.#p.serverMaxWindowBits)){r(new Error("Invalid server_max_window_bits"));return}e=Number.parseInt(this.#p.serverMaxWindowBits)}this.#j=n({windowBits:e});this.#j[a]=[];this.#j[c]=0;this.#j.on("data",(e=>{this.#j[a].push(e);this.#j[c]+=e.length}));this.#j.on("error",(e=>{this.#j=null;r(e)}))}this.#j.write(e);if(t){this.#j.write(i)}this.#j.flush((()=>{const e=Buffer.concat(this.#j[a],this.#j[c]);this.#j[a].length=0;this.#j[c]=0;r(null,e)}))}}e.exports={PerMessageDeflate:PerMessageDeflate}},1652:(e,t,r)=>{const{Writable:n}=r(7075);const s=r(4589);const{parserStates:o,opcodes:i,states:a,emptyBuffer:c,sentCloseFrameState:l}=r(736);const{kReadyState:u,kSentClose:A,kResponse:d,kReceivedClose:p}=r(1216);const{channels:m}=r(2414);const{isValidStatusCode:h,isValidOpcode:g,failWebsocketConnection:f,websocketMessageReceived:E,utf8Decode:y,isControlFrame:C,isTextBinaryFrame:I,isContinuationFrame:B}=r(8625);const{WebsocketFrameSend:b}=r(3264);const{closeWebSocketConnection:w}=r(6897);const{PerMessageDeflate:S}=r(9469);class ByteParser extends n{#K=[];#X=0;#Z=false;#C=o.INFO;#ee={};#te=[];#re;constructor(e,t){super();this.ws=e;this.#re=t==null?new Map:t;if(this.#re.has("permessage-deflate")){this.#re.set("permessage-deflate",new S(t))}}_write(e,t,r){this.#K.push(e);this.#X+=e.length;this.#Z=true;this.run(r)}run(e){while(this.#Z){if(this.#C===o.INFO){if(this.#X<2){return e()}const t=this.consume(2);const r=(t[0]&128)!==0;const n=t[0]&15;const s=(t[1]&128)===128;const a=!r&&n!==i.CONTINUATION;const c=t[1]&127;const l=t[0]&64;const u=t[0]&32;const A=t[0]&16;if(!g(n)){f(this.ws,"Invalid opcode received");return e()}if(s){f(this.ws,"Frame cannot be masked");return e()}if(l!==0&&!this.#re.has("permessage-deflate")){f(this.ws,"Expected RSV1 to be clear.");return}if(u!==0||A!==0){f(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!I(n)){f(this.ws,"Invalid frame type was fragmented.");return}if(I(n)&&this.#te.length>0){f(this.ws,"Expected continuation frame");return}if(this.#ee.fragmented&&a){f(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&C(n)){f(this.ws,"Control frame either too large or fragmented");return}if(B(n)&&this.#te.length===0&&!this.#ee.compressed){f(this.ws,"Unexpected continuation frame");return}if(c<=125){this.#ee.payloadLength=c;this.#C=o.READ_DATA}else if(c===126){this.#C=o.PAYLOADLENGTH_16}else if(c===127){this.#C=o.PAYLOADLENGTH_64}if(I(n)){this.#ee.binaryType=n;this.#ee.compressed=l!==0}this.#ee.opcode=n;this.#ee.masked=s;this.#ee.fin=r;this.#ee.fragmented=a}else if(this.#C===o.PAYLOADLENGTH_16){if(this.#X<2){return e()}const t=this.consume(2);this.#ee.payloadLength=t.readUInt16BE(0);this.#C=o.READ_DATA}else if(this.#C===o.PAYLOADLENGTH_64){if(this.#X<8){return e()}const t=this.consume(8);const r=t.readUInt32BE(0);if(r>2**31-1){f(this.ws,"Received payload length > 2^31 bytes.");return}const n=t.readUInt32BE(4);this.#ee.payloadLength=(r<<8)+n;this.#C=o.READ_DATA}else if(this.#C===o.READ_DATA){if(this.#X<this.#ee.payloadLength){return e()}const t=this.consume(this.#ee.payloadLength);if(C(this.#ee.opcode)){this.#Z=this.parseControlFrame(t);this.#C=o.INFO}else{if(!this.#ee.compressed){this.#te.push(t);if(!this.#ee.fragmented&&this.#ee.fin){const e=Buffer.concat(this.#te);E(this.ws,this.#ee.binaryType,e);this.#te.length=0}this.#C=o.INFO}else{this.#re.get("permessage-deflate").decompress(t,this.#ee.fin,((t,r)=>{if(t){w(this.ws,1007,t.message,t.message.length);return}this.#te.push(r);if(!this.#ee.fin){this.#C=o.INFO;this.#Z=true;this.run(e);return}E(this.ws,this.#ee.binaryType,Buffer.concat(this.#te));this.#Z=true;this.#C=o.INFO;this.#te.length=0;this.run(e)}));this.#Z=false;break}}}}}consume(e){if(e>this.#X){throw new Error("Called consume() before buffers satiated.")}else if(e===0){return c}if(this.#K[0].length===e){this.#X-=this.#K[0].length;return this.#K.shift()}const t=Buffer.allocUnsafe(e);let r=0;while(r!==e){const n=this.#K[0];const{length:s}=n;if(s+r===e){t.set(this.#K.shift(),r);break}else if(s+r>e){t.set(n.subarray(0,e-r),r);this.#K[0]=n.subarray(e-r);break}else{t.set(this.#K.shift(),r);r+=n.length}}this.#X-=e;return t}parseCloseBody(e){s(e.length!==1);let t;if(e.length>=2){t=e.readUInt16BE(0)}if(t!==undefined&&!h(t)){return{code:1002,reason:"Invalid status code",error:true}}let r=e.subarray(2);if(r[0]===239&&r[1]===187&&r[2]===191){r=r.subarray(3)}try{r=y(r)}catch{return{code:1007,reason:"Invalid UTF-8",error:true}}return{code:t,reason:r,error:false}}parseControlFrame(e){const{opcode:t,payloadLength:r}=this.#ee;if(t===i.CLOSE){if(r===1){f(this.ws,"Received close frame with a 1-byte body.");return false}this.#ee.closeInfo=this.parseCloseBody(e);if(this.#ee.closeInfo.error){const{code:e,reason:t}=this.#ee.closeInfo;w(this.ws,e,t,t.length);f(this.ws,t);return false}if(this.ws[A]!==l.SENT){let e=c;if(this.#ee.closeInfo.code){e=Buffer.allocUnsafe(2);e.writeUInt16BE(this.#ee.closeInfo.code,0)}const t=new b(e);this.ws[d].socket.write(t.createFrame(i.CLOSE),(e=>{if(!e){this.ws[A]=l.SENT}}))}this.ws[u]=a.CLOSING;this.ws[p]=true;return false}else if(t===i.PING){if(!this.ws[p]){const t=new b(e);this.ws[d].socket.write(t.createFrame(i.PONG));if(m.ping.hasSubscribers){m.ping.publish({payload:e})}}}else if(t===i.PONG){if(m.pong.hasSubscribers){m.pong.publish({payload:e})}}return true}get closingInfo(){return this.#ee.closeInfo}}e.exports={ByteParser:ByteParser}},3900:(e,t,r)=>{const{WebsocketFrameSend:n}=r(3264);const{opcodes:s,sendHints:o}=r(736);const i=r(4660);const a=Buffer[Symbol.species];class SendQueue{#ne=new i;#se=false;#oe;constructor(e){this.#oe=e}add(e,t,r){if(r!==o.blob){const n=createFrame(e,r);if(!this.#se){this.#oe.write(n,t)}else{const e={promise:null,callback:t,frame:n};this.#ne.push(e)}return}const n={promise:e.arrayBuffer().then((e=>{n.promise=null;n.frame=createFrame(e,r)})),callback:t,frame:null};this.#ne.push(n);if(!this.#se){this.#ie()}}async#ie(){this.#se=true;const e=this.#ne;while(!e.isEmpty()){const t=e.shift();if(t.promise!==null){await t.promise}this.#oe.write(t.frame,t.callback);t.callback=t.frame=null}this.#se=false}}function createFrame(e,t){return new n(toBuffer(e,t)).createFrame(t===o.string?s.TEXT:s.BINARY)}function toBuffer(e,t){switch(t){case o.string:return Buffer.from(e);case o.arrayBuffer:case o.blob:return new a(e);case o.typedArray:return new a(e.buffer,e.byteOffset,e.byteLength)}}e.exports={SendQueue:SendQueue}},1216:e=>{e.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")}},8625:(e,t,r)=>{const{kReadyState:n,kController:s,kResponse:o,kBinaryType:i,kWebSocketURL:a}=r(1216);const{states:c,opcodes:l}=r(736);const{ErrorEvent:u,createFastMessageEvent:A}=r(5188);const{isUtf8:d}=r(4573);const{collectASequenceOfCodePointsFast:p,removeHTTPWhitespace:m}=r(1900);function isConnecting(e){return e[n]===c.CONNECTING}function isEstablished(e){return e[n]===c.OPEN}function isClosing(e){return e[n]===c.CLOSING}function isClosed(e){return e[n]===c.CLOSED}function fireEvent(e,t,r=(e,t)=>new Event(e,t),n={}){const s=r(e,n);t.dispatchEvent(s)}function websocketMessageReceived(e,t,r){if(e[n]!==c.OPEN){return}let s;if(t===l.TEXT){try{s=f(r)}catch{failWebsocketConnection(e,"Received invalid UTF-8 in text frame.");return}}else if(t===l.BINARY){if(e[i]==="blob"){s=new Blob([r])}else{s=toArrayBuffer(r)}}fireEvent("message",e,A,{origin:e[a].origin,data:s})}function toArrayBuffer(e){if(e.byteLength===e.buffer.byteLength){return e.buffer}return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function isValidSubprotocol(e){if(e.length===0){return false}for(let t=0;t<e.length;++t){const r=e.charCodeAt(t);if(r<33||r>126||r===34||r===40||r===41||r===44||r===47||r===58||r===59||r===60||r===61||r===62||r===63||r===64||r===91||r===92||r===93||r===123||r===125){return false}}return true}function isValidStatusCode(e){if(e>=1e3&&e<1015){return e!==1004&&e!==1005&&e!==1006}return e>=3e3&&e<=4999}function failWebsocketConnection(e,t){const{[s]:r,[o]:n}=e;r.abort();if(n?.socket&&!n.socket.destroyed){n.socket.destroy()}if(t){fireEvent("error",e,((e,t)=>new u(e,t)),{error:new Error(t),message:t})}}function isControlFrame(e){return e===l.CLOSE||e===l.PING||e===l.PONG}function isContinuationFrame(e){return e===l.CONTINUATION}function isTextBinaryFrame(e){return e===l.TEXT||e===l.BINARY}function isValidOpcode(e){return isTextBinaryFrame(e)||isContinuationFrame(e)||isControlFrame(e)}function parseExtensions(e){const t={position:0};const r=new Map;while(t.position<e.length){const n=p(";",e,t);const[s,o=""]=n.split("=");r.set(m(s,true,false),m(o,false,true));t.position++}return r}function isValidClientWindowBits(e){for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);if(r<48||r>57){return false}}return true}const h=typeof process.versions.icu==="string";const g=h?new TextDecoder("utf-8",{fatal:true}):undefined;const f=h?g.decode.bind(g):function(e){if(d(e)){return e.toString("utf-8")}throw new TypeError("Invalid utf-8 received.")};e.exports={isConnecting:isConnecting,isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived,utf8Decode:f,isControlFrame:isControlFrame,isContinuationFrame:isContinuationFrame,isTextBinaryFrame:isTextBinaryFrame,isValidOpcode:isValidOpcode,parseExtensions:parseExtensions,isValidClientWindowBits:isValidClientWindowBits}},3726:(e,t,r)=>{const{webidl:n}=r(5893);const{URLSerializer:s}=r(1900);const{environmentSettingsObject:o}=r(3168);const{staticPropertyDescriptors:i,states:a,sentCloseFrameState:c,sendHints:l}=r(736);const{kWebSocketURL:u,kReadyState:A,kController:d,kBinaryType:p,kResponse:m,kSentClose:h,kByteParser:g}=r(1216);const{isConnecting:f,isEstablished:E,isClosing:y,isValidSubprotocol:C,fireEvent:I}=r(8625);const{establishWebSocketConnection:B,closeWebSocketConnection:b}=r(6897);const{ByteParser:w}=r(1652);const{kEnumerableProperty:S,isBlobLike:Q}=r(3440);const{getGlobalDispatcher:N}=r(2581);const{types:R}=r(7975);const{ErrorEvent:v,CloseEvent:x}=r(5188);const{SendQueue:T}=r(3900);class WebSocket extends EventTarget{#P={open:null,error:null,close:null,message:null};#ae=0;#ce="";#re="";#le;constructor(e,t=[]){super();n.util.markAsUncloneable(this);const r="WebSocket constructor";n.argumentLengthCheck(arguments,1,r);const s=n.converters["DOMString or sequence<DOMString> or WebSocketInit"](t,r,"options");e=n.converters.USVString(e,r,"url");t=s.protocols;const i=o.settingsObject.baseUrl;let a;try{a=new URL(e,i)}catch(e){throw new DOMException(e,"SyntaxError")}if(a.protocol==="http:"){a.protocol="ws:"}else if(a.protocol==="https:"){a.protocol="wss:"}if(a.protocol!=="ws:"&&a.protocol!=="wss:"){throw new DOMException(`Expected a ws: or wss: protocol, got ${a.protocol}`,"SyntaxError")}if(a.hash||a.href.endsWith("#")){throw new DOMException("Got fragment","SyntaxError")}if(typeof t==="string"){t=[t]}if(t.length!==new Set(t.map((e=>e.toLowerCase()))).size){throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(t.length>0&&!t.every((e=>C(e)))){throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[u]=new URL(a.href);const l=o.settingsObject;this[d]=B(a,t,l,this,((e,t)=>this.#ue(e,t)),s);this[A]=WebSocket.CONNECTING;this[h]=c.NOT_SENT;this[p]="blob"}close(e=undefined,t=undefined){n.brandCheck(this,WebSocket);const r="WebSocket.close";if(e!==undefined){e=n.converters["unsigned short"](e,r,"code",{clamp:true})}if(t!==undefined){t=n.converters.USVString(t,r,"reason")}if(e!==undefined){if(e!==1e3&&(e<3e3||e>4999)){throw new DOMException("invalid code","InvalidAccessError")}}let s=0;if(t!==undefined){s=Buffer.byteLength(t);if(s>123){throw new DOMException(`Reason must be less than 123 bytes; received ${s}`,"SyntaxError")}}b(this,e,t,s)}send(e){n.brandCheck(this,WebSocket);const t="WebSocket.send";n.argumentLengthCheck(arguments,1,t);e=n.converters.WebSocketSendData(e,t,"data");if(f(this)){throw new DOMException("Sent before connected.","InvalidStateError")}if(!E(this)||y(this)){return}if(typeof e==="string"){const t=Buffer.byteLength(e);this.#ae+=t;this.#le.add(e,(()=>{this.#ae-=t}),l.string)}else if(R.isArrayBuffer(e)){this.#ae+=e.byteLength;this.#le.add(e,(()=>{this.#ae-=e.byteLength}),l.arrayBuffer)}else if(ArrayBuffer.isView(e)){this.#ae+=e.byteLength;this.#le.add(e,(()=>{this.#ae-=e.byteLength}),l.typedArray)}else if(Q(e)){this.#ae+=e.size;this.#le.add(e,(()=>{this.#ae-=e.size}),l.blob)}}get readyState(){n.brandCheck(this,WebSocket);return this[A]}get bufferedAmount(){n.brandCheck(this,WebSocket);return this.#ae}get url(){n.brandCheck(this,WebSocket);return s(this[u])}get extensions(){n.brandCheck(this,WebSocket);return this.#re}get protocol(){n.brandCheck(this,WebSocket);return this.#ce}get onopen(){n.brandCheck(this,WebSocket);return this.#P.open}set onopen(e){n.brandCheck(this,WebSocket);if(this.#P.open){this.removeEventListener("open",this.#P.open)}if(typeof e==="function"){this.#P.open=e;this.addEventListener("open",e)}else{this.#P.open=null}}get onerror(){n.brandCheck(this,WebSocket);return this.#P.error}set onerror(e){n.brandCheck(this,WebSocket);if(this.#P.error){this.removeEventListener("error",this.#P.error)}if(typeof e==="function"){this.#P.error=e;this.addEventListener("error",e)}else{this.#P.error=null}}get onclose(){n.brandCheck(this,WebSocket);return this.#P.close}set onclose(e){n.brandCheck(this,WebSocket);if(this.#P.close){this.removeEventListener("close",this.#P.close)}if(typeof e==="function"){this.#P.close=e;this.addEventListener("close",e)}else{this.#P.close=null}}get onmessage(){n.brandCheck(this,WebSocket);return this.#P.message}set onmessage(e){n.brandCheck(this,WebSocket);if(this.#P.message){this.removeEventListener("message",this.#P.message)}if(typeof e==="function"){this.#P.message=e;this.addEventListener("message",e)}else{this.#P.message=null}}get binaryType(){n.brandCheck(this,WebSocket);return this[p]}set binaryType(e){n.brandCheck(this,WebSocket);if(e!=="blob"&&e!=="arraybuffer"){this[p]="blob"}else{this[p]=e}}#ue(e,t){this[m]=e;const r=new w(this,t);r.on("drain",onParserDrain);r.on("error",onParserError.bind(this));e.socket.ws=this;this[g]=r;this.#le=new T(e.socket);this[A]=a.OPEN;const n=e.headersList.get("sec-websocket-extensions");if(n!==null){this.#re=n}const s=e.headersList.get("sec-websocket-protocol");if(s!==null){this.#ce=s}I("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=a.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=a.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=a.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=a.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:i,OPEN:i,CLOSING:i,CLOSED:i,url:S,readyState:S,bufferedAmount:S,onopen:S,onerror:S,onclose:S,close:S,onmessage:S,binaryType:S,send:S,extensions:S,protocol:S,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:i,OPEN:i,CLOSING:i,CLOSED:i});n.converters["sequence<DOMString>"]=n.sequenceConverter(n.converters.DOMString);n.converters["DOMString or sequence<DOMString>"]=function(e,t,r){if(n.util.Type(e)==="Object"&&Symbol.iterator in e){return n.converters["sequence<DOMString>"](e)}return n.converters.DOMString(e,t,r)};n.converters.WebSocketInit=n.dictionaryConverter([{key:"protocols",converter:n.converters["DOMString or sequence<DOMString>"],defaultValue:()=>new Array(0)},{key:"dispatcher",converter:n.converters.any,defaultValue:()=>N()},{key:"headers",converter:n.nullableConverter(n.converters.HeadersInit)}]);n.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(e){if(n.util.Type(e)==="Object"&&!(Symbol.iterator in e)){return n.converters.WebSocketInit(e)}return{protocols:n.converters["DOMString or sequence<DOMString>"](e)}};n.converters.WebSocketSendData=function(e){if(n.util.Type(e)==="Object"){if(Q(e)){return n.converters.Blob(e,{strict:false})}if(ArrayBuffer.isView(e)||R.isArrayBuffer(e)){return n.converters.BufferSource(e)}}return n.converters.USVString(e)};function onParserDrain(){this.ws[m].socket.resume()}function onParserError(e){let t;let r;if(e instanceof x){t=e.reason;r=e.code}else{t=e.message}I("error",this,(()=>new v("error",{error:e,message:t})));b(this,r)}e.exports={WebSocket:WebSocket}},2613:t=>{t.exports=e(import.meta.url)("assert")},6982:t=>{t.exports=e(import.meta.url)("crypto")},4434:t=>{t.exports=e(import.meta.url)("events")},9896:t=>{t.exports=e(import.meta.url)("fs")},8611:t=>{t.exports=e(import.meta.url)("http")},5692:t=>{t.exports=e(import.meta.url)("https")},9278:t=>{t.exports=e(import.meta.url)("net")},4589:t=>{t.exports=e(import.meta.url)("node:assert")},6698:t=>{t.exports=e(import.meta.url)("node:async_hooks")},4573:t=>{t.exports=e(import.meta.url)("node:buffer")},7540:t=>{t.exports=e(import.meta.url)("node:console")},7598:t=>{t.exports=e(import.meta.url)("node:crypto")},3053:t=>{t.exports=e(import.meta.url)("node:diagnostics_channel")},610:t=>{t.exports=e(import.meta.url)("node:dns")},8474:t=>{t.exports=e(import.meta.url)("node:events")},7067:t=>{t.exports=e(import.meta.url)("node:http")},2467:t=>{t.exports=e(import.meta.url)("node:http2")},7030:t=>{t.exports=e(import.meta.url)("node:net")},643:t=>{t.exports=e(import.meta.url)("node:perf_hooks")},1792:t=>{t.exports=e(import.meta.url)("node:querystring")},7075:t=>{t.exports=e(import.meta.url)("node:stream")},1692:t=>{t.exports=e(import.meta.url)("node:tls")},3136:t=>{t.exports=e(import.meta.url)("node:url")},7975:t=>{t.exports=e(import.meta.url)("node:util")},3429:t=>{t.exports=e(import.meta.url)("node:util/types")},5919:t=>{t.exports=e(import.meta.url)("node:worker_threads")},8522:t=>{t.exports=e(import.meta.url)("node:zlib")},857:t=>{t.exports=e(import.meta.url)("os")},6928:t=>{t.exports=e(import.meta.url)("path")},3193:t=>{t.exports=e(import.meta.url)("string_decoder")},4756:t=>{t.exports=e(import.meta.url)("tls")},2018:t=>{t.exports=e(import.meta.url)("tty")},7016:t=>{t.exports=e(import.meta.url)("url")},9023:t=>{t.exports=e(import.meta.url)("util")},3345:(e,t)=>{var r;r={value:true};t.w=void 0;t.w={operationRequestMap:new WeakMap}},8914:(e,t)=>{var r;r={value:true};t.w=void 0;t.w={instrumenterImplementation:undefined}},1120:e=>{var t;const r=function NullObject(){};r.prototype=Object.create(null);const n=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu;const s=/\\([\v\u0020-\u00ff])/gu;const o=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u;const i={type:"",parameters:new r};Object.freeze(i.parameters);Object.freeze(i);function parse(e){if(typeof e!=="string"){throw new TypeError("argument header is required and must be a string")}let t=e.indexOf(";");const i=t!==-1?e.slice(0,t).trim():e.trim();if(o.test(i)===false){throw new TypeError("invalid media type")}const a={type:i.toLowerCase(),parameters:new r};if(t===-1){return a}let c;let l;let u;n.lastIndex=t;while(l=n.exec(e)){if(l.index!==t){throw new TypeError("invalid parameter format")}t+=l[0].length;c=l[1].toLowerCase();u=l[2];if(u[0]==='"'){u=u.slice(1,u.length-1);s.test(u)&&(u=u.replace(s,"$1"))}a.parameters[c]=u}if(t!==e.length){throw new TypeError("invalid parameter format")}return a}function safeParse(e){if(typeof e!=="string"){return i}let t=e.indexOf(";");const a=t!==-1?e.slice(0,t).trim():e.trim();if(o.test(a)===false){return i}const c={type:a.toLowerCase(),parameters:new r};if(t===-1){return c}let l;let u;let A;n.lastIndex=t;while(u=n.exec(e)){if(u.index!==t){return i}t+=u[0].length;l=u[1].toLowerCase();A=u[2];if(A[0]==='"'){A=A.slice(1,A.length-1);s.test(A)&&(A=A.replace(s,"$1"))}c.parameters[l]=A}if(t!==e.length){return i}return c}t={parse:parse,safeParse:safeParse};t=parse;e.exports.xL=safeParse;t=i},8658:(e,t,r)=>{const n=r(4012);e.exports={version:n.version}},4012:e=>{e.exports=JSON.parse('{"name":"@actions/cache","version":"6.0.0","description":"Actions cache lib","keywords":["github","actions","cache"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/cache","license":"MIT","type":"module","main":"lib/cache.js","types":"lib/cache.d.ts","exports":{".":{"types":"./lib/cache.d.ts","import":"./lib/cache.js"}},"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 && cp src/internal/shared/package-version.cjs lib/internal/shared/"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^3.0.0","@actions/exec":"^3.0.0","@actions/glob":"^0.6.1","@actions/http-client":"^4.0.0","@actions/io":"^3.0.0","@azure/core-rest-pipeline":"^1.22.0","@azure/storage-blob":"^12.30.0","@protobuf-ts/runtime-rpc":"^2.11.1","semver":"^7.7.3"},"devDependencies":{"@protobuf-ts/plugin":"^2.9.4","@types/node":"^25.1.0","@types/semver":"^7.7.1","typescript":"^5.2.2"},"overrides":{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}')}};var r={};function __nccwpck_require__(e){var n=r[e];if(n!==undefined){return n.exports}var s=r[e]={exports:{}};var o=true;try{t[e].call(s.exports,s,s.exports,__nccwpck_require__);o=false}finally{if(o)delete r[e]}return s.exports}(()=>{__nccwpck_require__.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;__nccwpck_require__.d(t,{a:t});return t}})();(()=>{var e=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;var t;__nccwpck_require__.t=function(r,n){if(n&1)r=this(r);if(n&8)return r;if(typeof r==="object"&&r){if(n&4&&r.__esModule)return r;if(n&16&&typeof r.then==="function")return r}var s=Object.create(null);__nccwpck_require__.r(s);var o={};t=t||[null,e({}),e([]),e(e)];for(var i=n&2&&r;typeof i=="object"&&!~t.indexOf(i);i=e(i)){Object.getOwnPropertyNames(i).forEach((e=>o[e]=()=>r[e]))}o["default"]=()=>r;__nccwpck_require__.d(s,o);return s}})();(()=>{__nccwpck_require__.d=(e,t)=>{for(var r in t){if(__nccwpck_require__.o(t,r)&&!__nccwpck_require__.o(e,r)){Object.defineProperty(e,r,{enumerable:true,get:t[r]})}}}})();(()=>{__nccwpck_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})();(()=>{__nccwpck_require__.r=e=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(e,"__esModule",{value:true})}})();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 n={};var s={};__nccwpck_require__.r(s);__nccwpck_require__.d(s,{AccessPolicy:()=>ko,AppendBlobAppendBlockExceptionHeaders:()=>pc,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>hc,AppendBlobAppendBlockFromUrlHeaders:()=>mc,AppendBlobAppendBlockHeaders:()=>dc,AppendBlobCreateExceptionHeaders:()=>Ac,AppendBlobCreateHeaders:()=>uc,AppendBlobSealExceptionHeaders:()=>fc,AppendBlobSealHeaders:()=>gc,ArrowConfiguration:()=>Xo,ArrowField:()=>Zo,BlobAbortCopyFromURLExceptionHeaders:()=>Pa,BlobAbortCopyFromURLHeaders:()=>_a,BlobAcquireLeaseExceptionHeaders:()=>ya,BlobAcquireLeaseHeaders:()=>Ea,BlobBreakLeaseExceptionHeaders:()=>Na,BlobBreakLeaseHeaders:()=>Qa,BlobChangeLeaseExceptionHeaders:()=>Sa,BlobChangeLeaseHeaders:()=>wa,BlobCopyFromURLExceptionHeaders:()=>Da,BlobCopyFromURLHeaders:()=>ka,BlobCreateSnapshotExceptionHeaders:()=>va,BlobCreateSnapshotHeaders:()=>Ra,BlobDeleteExceptionHeaders:()=>na,BlobDeleteHeaders:()=>ra,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>pa,BlobDeleteImmutabilityPolicyHeaders:()=>da,BlobDownloadExceptionHeaders:()=>Zi,BlobDownloadHeaders:()=>Xi,BlobFlatListSegment:()=>_o,BlobGetAccountInfoExceptionHeaders:()=>Fa,BlobGetAccountInfoHeaders:()=>Oa,BlobGetPropertiesExceptionHeaders:()=>ta,BlobGetPropertiesHeaders:()=>ea,BlobGetTagsExceptionHeaders:()=>qa,BlobGetTagsHeaders:()=>Ga,BlobHierarchyListSegment:()=>Fo,BlobItemInternal:()=>Po,BlobName:()=>Lo,BlobPrefix:()=>Uo,BlobPropertiesInternal:()=>Mo,BlobQueryExceptionHeaders:()=>Ha,BlobQueryHeaders:()=>Ua,BlobReleaseLeaseExceptionHeaders:()=>Ia,BlobReleaseLeaseHeaders:()=>Ca,BlobRenewLeaseExceptionHeaders:()=>ba,BlobRenewLeaseHeaders:()=>Ba,BlobServiceProperties:()=>po,BlobServiceStatistics:()=>Co,BlobSetExpiryExceptionHeaders:()=>aa,BlobSetExpiryHeaders:()=>ia,BlobSetHttpHeadersExceptionHeaders:()=>la,BlobSetHttpHeadersHeaders:()=>ca,BlobSetImmutabilityPolicyExceptionHeaders:()=>Aa,BlobSetImmutabilityPolicyHeaders:()=>ua,BlobSetLegalHoldExceptionHeaders:()=>ha,BlobSetLegalHoldHeaders:()=>ma,BlobSetMetadataExceptionHeaders:()=>fa,BlobSetMetadataHeaders:()=>ga,BlobSetTagsExceptionHeaders:()=>Va,BlobSetTagsHeaders:()=>za,BlobSetTierExceptionHeaders:()=>Ma,BlobSetTierHeaders:()=>La,BlobStartCopyFromURLExceptionHeaders:()=>Ta,BlobStartCopyFromURLHeaders:()=>xa,BlobTag:()=>xo,BlobTags:()=>vo,BlobUndeleteExceptionHeaders:()=>oa,BlobUndeleteHeaders:()=>sa,Block:()=>qo,BlockBlobCommitBlockListExceptionHeaders:()=>Nc,BlockBlobCommitBlockListHeaders:()=>Qc,BlockBlobGetBlockListExceptionHeaders:()=>vc,BlockBlobGetBlockListHeaders:()=>Rc,BlockBlobPutBlobFromUrlExceptionHeaders:()=>Ic,BlockBlobPutBlobFromUrlHeaders:()=>Cc,BlockBlobStageBlockExceptionHeaders:()=>bc,BlockBlobStageBlockFromURLExceptionHeaders:()=>Sc,BlockBlobStageBlockFromURLHeaders:()=>wc,BlockBlobStageBlockHeaders:()=>Bc,BlockBlobUploadExceptionHeaders:()=>yc,BlockBlobUploadHeaders:()=>Ec,BlockList:()=>Go,BlockLookupList:()=>Ho,ClearRange:()=>$o,ContainerAcquireLeaseExceptionHeaders:()=>Mi,ContainerAcquireLeaseHeaders:()=>Li,ContainerBreakLeaseExceptionHeaders:()=>qi,ContainerBreakLeaseHeaders:()=>Gi,ContainerChangeLeaseExceptionHeaders:()=>Vi,ContainerChangeLeaseHeaders:()=>zi,ContainerCreateExceptionHeaders:()=>fi,ContainerCreateHeaders:()=>gi,ContainerDeleteExceptionHeaders:()=>Ii,ContainerDeleteHeaders:()=>Ci,ContainerFilterBlobsExceptionHeaders:()=>Pi,ContainerFilterBlobsHeaders:()=>_i,ContainerGetAccessPolicyExceptionHeaders:()=>Si,ContainerGetAccessPolicyHeaders:()=>wi,ContainerGetAccountInfoExceptionHeaders:()=>Ki,ContainerGetAccountInfoHeaders:()=>ji,ContainerGetPropertiesExceptionHeaders:()=>yi,ContainerGetPropertiesHeaders:()=>Ei,ContainerItem:()=>bo,ContainerListBlobFlatSegmentExceptionHeaders:()=>Ji,ContainerListBlobFlatSegmentHeaders:()=>$i,ContainerListBlobHierarchySegmentExceptionHeaders:()=>Wi,ContainerListBlobHierarchySegmentHeaders:()=>Yi,ContainerProperties:()=>wo,ContainerReleaseLeaseExceptionHeaders:()=>Fi,ContainerReleaseLeaseHeaders:()=>Oi,ContainerRenameExceptionHeaders:()=>Ti,ContainerRenameHeaders:()=>xi,ContainerRenewLeaseExceptionHeaders:()=>Hi,ContainerRenewLeaseHeaders:()=>Ui,ContainerRestoreExceptionHeaders:()=>vi,ContainerRestoreHeaders:()=>Ri,ContainerSetAccessPolicyExceptionHeaders:()=>Ni,ContainerSetAccessPolicyHeaders:()=>Qi,ContainerSetMetadataExceptionHeaders:()=>bi,ContainerSetMetadataHeaders:()=>Bi,ContainerSubmitBatchExceptionHeaders:()=>Di,ContainerSubmitBatchHeaders:()=>ki,CorsRule:()=>fo,DelimitedTextConfiguration:()=>jo,FilterBlobItem:()=>Ro,FilterBlobSegment:()=>No,GeoReplication:()=>Io,JsonTextConfiguration:()=>Ko,KeyInfo:()=>So,ListBlobsFlatSegmentResponse:()=>Do,ListBlobsHierarchySegmentResponse:()=>Oo,ListContainersSegmentResponse:()=>Bo,Logging:()=>mo,Metrics:()=>go,PageBlobClearPagesExceptionHeaders:()=>Ka,PageBlobClearPagesHeaders:()=>ja,PageBlobCopyIncrementalExceptionHeaders:()=>lc,PageBlobCopyIncrementalHeaders:()=>cc,PageBlobCreateExceptionHeaders:()=>Ja,PageBlobCreateHeaders:()=>$a,PageBlobGetPageRangesDiffExceptionHeaders:()=>nc,PageBlobGetPageRangesDiffHeaders:()=>rc,PageBlobGetPageRangesExceptionHeaders:()=>tc,PageBlobGetPageRangesHeaders:()=>ec,PageBlobResizeExceptionHeaders:()=>oc,PageBlobResizeHeaders:()=>sc,PageBlobUpdateSequenceNumberExceptionHeaders:()=>ac,PageBlobUpdateSequenceNumberHeaders:()=>ic,PageBlobUploadPagesExceptionHeaders:()=>Wa,PageBlobUploadPagesFromURLExceptionHeaders:()=>Za,PageBlobUploadPagesFromURLHeaders:()=>Xa,PageBlobUploadPagesHeaders:()=>Ya,PageList:()=>zo,PageRange:()=>Vo,QueryFormat:()=>Wo,QueryRequest:()=>Jo,QuerySerialization:()=>Yo,RetentionPolicy:()=>ho,ServiceFilterBlobsExceptionHeaders:()=>hi,ServiceFilterBlobsHeaders:()=>mi,ServiceGetAccountInfoExceptionHeaders:()=>Ai,ServiceGetAccountInfoHeaders:()=>ui,ServiceGetPropertiesExceptionHeaders:()=>ni,ServiceGetPropertiesHeaders:()=>ri,ServiceGetStatisticsExceptionHeaders:()=>oi,ServiceGetStatisticsHeaders:()=>si,ServiceGetUserDelegationKeyExceptionHeaders:()=>li,ServiceGetUserDelegationKeyHeaders:()=>ci,ServiceListContainersSegmentExceptionHeaders:()=>ai,ServiceListContainersSegmentHeaders:()=>ii,ServiceSetPropertiesExceptionHeaders:()=>ti,ServiceSetPropertiesHeaders:()=>ei,ServiceSubmitBatchExceptionHeaders:()=>pi,ServiceSubmitBatchHeaders:()=>di,SignedIdentifier:()=>To,StaticWebsite:()=>Eo,StorageError:()=>yo,UserDelegationKey:()=>Qo});var o=__nccwpck_require__(6982);var i=__nccwpck_require__(6928);var a=__nccwpck_require__.n(i);var c=__nccwpck_require__(857);var l=__nccwpck_require__.n(c);function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}function utils_toCommandProperties(e){if(!Object.keys(e).length){return{}}return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}function command_issueCommand(e,t,r){const n=new Command(e,t,r);process.stdout.write(n.toString()+c.EOL)}function command_issue(e,t=""){command_issueCommand(e,{},t)}const u="::";class Command{constructor(e,t,r){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=r}toString(){let e=u+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const r in this.properties){if(this.properties.hasOwnProperty(r)){const n=this.properties[r];if(n){if(t){t=false}else{e+=","}e+=`${r}=${escapeProperty(n)}`}}}}e+=`${u}${escapeData(this.message)}`;return e}}function escapeData(e){return toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}var A=__nccwpck_require__(9896);function issueFileCommand(e,t){const r=process.env[`GITHUB_${e}`];if(!r){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!A.existsSync(r)){throw new Error(`Missing file at path: ${r}`)}A.appendFileSync(r,`${toCommandValue(t)}${c.EOL}`,{encoding:"utf8"})}function prepareKeyValueMessage(e,t){const r=`ghadelimiter_${o.randomUUID()}`;const n=toCommandValue(t);if(e.includes(r)){throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`)}if(n.includes(r)){throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`)}return`${e}<<${r}${c.EOL}${n}${c.EOL}${r}`}var d=__nccwpck_require__(8611);var p=__nccwpck_require__.t(d,2);var m=__nccwpck_require__(5692);var h=__nccwpck_require__.t(m,2);function getProxyUrl(e){const t=e.protocol==="https:";if(checkBypass(e)){return undefined}const r=(()=>{if(t){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(r){try{return new DecodedURL(r)}catch(e){if(!r.startsWith("http://")&&!r.startsWith("https://"))return new DecodedURL(`http://${r}`)}}else{return undefined}}function checkBypass(e){if(!e.hostname){return false}const t=e.hostname;if(isLoopbackAddress(t)){return true}const r=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!r){return false}let n;if(e.port){n=Number(e.port)}else if(e.protocol==="http:"){n=80}else if(e.protocol==="https:"){n=443}const s=[e.hostname.toUpperCase()];if(typeof n==="number"){s.push(`${s[0]}:${n}`)}for(const e of r.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e))){if(e==="*"||s.some((t=>t===e||t.endsWith(`.${e}`)||e.startsWith(".")&&t.endsWith(`${e}`)))){return true}}return false}function isLoopbackAddress(e){const t=e.toLowerCase();return t==="localhost"||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]")}class DecodedURL extends URL{constructor(e,t){super(e,t);this._decodedUsername=decodeURIComponent(super.username);this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}var g=__nccwpck_require__(770);var f=__nccwpck_require__(6752);var E=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};var y;(function(e){e[e["OK"]=200]="OK";e[e["MultipleChoices"]=300]="MultipleChoices";e[e["MovedPermanently"]=301]="MovedPermanently";e[e["ResourceMoved"]=302]="ResourceMoved";e[e["SeeOther"]=303]="SeeOther";e[e["NotModified"]=304]="NotModified";e[e["UseProxy"]=305]="UseProxy";e[e["SwitchProxy"]=306]="SwitchProxy";e[e["TemporaryRedirect"]=307]="TemporaryRedirect";e[e["PermanentRedirect"]=308]="PermanentRedirect";e[e["BadRequest"]=400]="BadRequest";e[e["Unauthorized"]=401]="Unauthorized";e[e["PaymentRequired"]=402]="PaymentRequired";e[e["Forbidden"]=403]="Forbidden";e[e["NotFound"]=404]="NotFound";e[e["MethodNotAllowed"]=405]="MethodNotAllowed";e[e["NotAcceptable"]=406]="NotAcceptable";e[e["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";e[e["RequestTimeout"]=408]="RequestTimeout";e[e["Conflict"]=409]="Conflict";e[e["Gone"]=410]="Gone";e[e["TooManyRequests"]=429]="TooManyRequests";e[e["InternalServerError"]=500]="InternalServerError";e[e["NotImplemented"]=501]="NotImplemented";e[e["BadGateway"]=502]="BadGateway";e[e["ServiceUnavailable"]=503]="ServiceUnavailable";e[e["GatewayTimeout"]=504]="GatewayTimeout"})(y||(y={}));var C;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(C||(C={}));var I;(function(e){e["ApplicationJson"]="application/json"})(I||(I={}));function lib_getProxyUrl(e){const t=pm.getProxyUrl(new URL(e));return t?t.href:""}const B=[y.MovedPermanently,y.ResourceMoved,y.SeeOther,y.TemporaryRedirect,y.PermanentRedirect];const b=[y.BadGateway,y.ServiceUnavailable,y.GatewayTimeout];const w=["OPTIONS","GET","DELETE","HEAD"];const S=10;const Q=5;class HttpClientError extends Error{constructor(e,t){super(e);this.name="HttpClientError";this.statusCode=t;Object.setPrototypeOf(this,HttpClientError.prototype)}}class HttpClientResponse{constructor(e){this.message=e}readBody(){return E(this,void 0,void 0,(function*(){return new Promise((e=>E(this,void 0,void 0,(function*(){let t=Buffer.alloc(0);this.message.on("data",(e=>{t=Buffer.concat([t,e])}));this.message.on("end",(()=>{e(t.toString())}))}))))}))}readBodyBuffer(){return E(this,void 0,void 0,(function*(){return new Promise((e=>E(this,void 0,void 0,(function*(){const t=[];this.message.on("data",(e=>{t.push(e)}));this.message.on("end",(()=>{e(Buffer.concat(t))}))}))))}))}}function isHttps(e){const t=new URL(e);return t.protocol==="https:"}class lib_HttpClient{constructor(e,t,r){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(e);this.handlers=t||[];this.requestOptions=r;if(r){if(r.ignoreSslError!=null){this._ignoreSslError=r.ignoreSslError}this._socketTimeout=r.socketTimeout;if(r.allowRedirects!=null){this._allowRedirects=r.allowRedirects}if(r.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=r.allowRedirectDowngrade}if(r.maxRedirects!=null){this._maxRedirects=Math.max(r.maxRedirects,0)}if(r.keepAlive!=null){this._keepAlive=r.keepAlive}if(r.allowRetries!=null){this._allowRetries=r.allowRetries}if(r.maxRetries!=null){this._maxRetries=r.maxRetries}}}options(e,t){return E(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return E(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return E(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,r){return E(this,void 0,void 0,(function*(){return this.request("POST",e,t,r||{})}))}patch(e,t,r){return E(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,r||{})}))}put(e,t,r){return E(this,void 0,void 0,(function*(){return this.request("PUT",e,t,r||{})}))}head(e,t){return E(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,r,n){return E(this,void 0,void 0,(function*(){return this.request(e,t,r,n)}))}getJson(e){return E(this,arguments,void 0,(function*(e,t={}){t[C.Accept]=this._getExistingOrDefaultHeader(t,C.Accept,I.ApplicationJson);const r=yield this.get(e,t);return this._processResponse(r,this.requestOptions)}))}postJson(e,t){return E(this,arguments,void 0,(function*(e,t,r={}){const n=JSON.stringify(t,null,2);r[C.Accept]=this._getExistingOrDefaultHeader(r,C.Accept,I.ApplicationJson);r[C.ContentType]=this._getExistingOrDefaultContentTypeHeader(r,I.ApplicationJson);const s=yield this.post(e,n,r);return this._processResponse(s,this.requestOptions)}))}putJson(e,t){return E(this,arguments,void 0,(function*(e,t,r={}){const n=JSON.stringify(t,null,2);r[C.Accept]=this._getExistingOrDefaultHeader(r,C.Accept,I.ApplicationJson);r[C.ContentType]=this._getExistingOrDefaultContentTypeHeader(r,I.ApplicationJson);const s=yield this.put(e,n,r);return this._processResponse(s,this.requestOptions)}))}patchJson(e,t){return E(this,arguments,void 0,(function*(e,t,r={}){const n=JSON.stringify(t,null,2);r[C.Accept]=this._getExistingOrDefaultHeader(r,C.Accept,I.ApplicationJson);r[C.ContentType]=this._getExistingOrDefaultContentTypeHeader(r,I.ApplicationJson);const s=yield this.patch(e,n,r);return this._processResponse(s,this.requestOptions)}))}request(e,t,r,n){return E(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const s=new URL(t);let o=this._prepareRequest(e,s,n);const i=this._allowRetries&&w.includes(e)?this._maxRetries+1:1;let a=0;let c;do{c=yield this.requestRaw(o,r);if(c&&c.message&&c.message.statusCode===y.Unauthorized){let e;for(const t of this.handlers){if(t.canHandleAuthentication(c)){e=t;break}}if(e){return e.handleAuthentication(this,o,r)}else{return c}}let t=this._maxRedirects;while(c.message.statusCode&&B.includes(c.message.statusCode)&&this._allowRedirects&&t>0){const i=c.message.headers["location"];if(!i){break}const a=new URL(i);if(s.protocol==="https:"&&s.protocol!==a.protocol&&!this._allowRedirectDowngrade){throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.")}yield c.readBody();if(a.hostname!==s.hostname){for(const e in n){if(e.toLowerCase()==="authorization"){delete n[e]}}}o=this._prepareRequest(e,a,n);c=yield this.requestRaw(o,r);t--}if(!c.message.statusCode||!b.includes(c.message.statusCode)){return c}a+=1;if(a<i){yield c.readBody();yield this._performExponentialBackoff(a)}}while(a<i);return c}))}dispose(){if(this._agent){this._agent.destroy()}this._disposed=true}requestRaw(e,t){return E(this,void 0,void 0,(function*(){return new Promise(((r,n)=>{function callbackForResult(e,t){if(e){n(e)}else if(!t){n(new Error("Unknown error"))}else{r(t)}}this.requestRawWithCallback(e,t,callbackForResult)}))}))}requestRawWithCallback(e,t,r){if(typeof t==="string"){if(!e.options.headers){e.options.headers={}}e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let n=false;function handleResult(e,t){if(!n){n=true;r(e,t)}}const s=e.httpModule.request(e.options,(e=>{const t=new HttpClientResponse(e);handleResult(undefined,t)}));let o;s.on("socket",(e=>{o=e}));s.setTimeout(this._socketTimeout||3*6e4,(()=>{if(o){o.end()}handleResult(new Error(`Request timeout: ${e.options.path}`))}));s.on("error",(function(e){handleResult(e)}));if(t&&typeof t==="string"){s.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",(function(){s.end()}));t.pipe(s)}else{s.end()}}getAgent(e){const t=new URL(e);return this._getAgent(t)}getAgentDispatcher(e){const t=new URL(e);const r=getProxyUrl(t);const n=r&&r.hostname;if(!n){return}return this._getProxyAgentDispatcher(t,r)}_prepareRequest(e,t,r){const n={};n.parsedUrl=t;const s=n.parsedUrl.protocol==="https:";n.httpModule=s?h:p;const o=s?443:80;n.options={};n.options.host=n.parsedUrl.hostname;n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):o;n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||"");n.options.method=e;n.options.headers=this._mergeHeaders(r);if(this.userAgent!=null){n.options.headers["user-agent"]=this.userAgent}n.options.agent=this._getAgent(n.parsedUrl);if(this.handlers){for(const e of this.handlers){e.prepareRequest(n.options)}}return n}_mergeHeaders(e){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e||{}))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,t,r){let n;if(this.requestOptions&&this.requestOptions.headers){const e=lowercaseKeys(this.requestOptions.headers)[t];if(e){n=typeof e==="number"?e.toString():e}}const s=e[t];if(s!==undefined){return typeof s==="number"?s.toString():s}if(n!==undefined){return n}return r}_getExistingOrDefaultContentTypeHeader(e,t){let r;if(this.requestOptions&&this.requestOptions.headers){const e=lowercaseKeys(this.requestOptions.headers)[C.ContentType];if(e){if(typeof e==="number"){r=String(e)}else if(Array.isArray(e)){r=e.join(", ")}else{r=e}}}const n=e[C.ContentType];if(n!==undefined){if(typeof n==="number"){return String(n)}else if(Array.isArray(n)){return n.join(", ")}else{return n}}if(r!==undefined){return r}return t}_getAgent(e){let t;const r=getProxyUrl(e);const n=r&&r.hostname;if(this._keepAlive&&n){t=this._proxyAgent}if(!n){t=this._agent}if(t){return t}const s=e.protocol==="https:";let o=100;if(this.requestOptions){o=this.requestOptions.maxSockets||d.globalAgent.maxSockets}if(r&&r.hostname){const e={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})};let n;const i=r.protocol==="https:";if(s){n=i?g.httpsOverHttps:g.httpsOverHttp}else{n=i?g.httpOverHttps:g.httpOverHttp}t=n(e);this._proxyAgent=t}if(!t){const e={keepAlive:this._keepAlive,maxSockets:o};t=s?new m.Agent(e):new d.Agent(e);this._agent=t}if(s&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_getProxyAgentDispatcher(e,t){let r;if(this._keepAlive){r=this._proxyAgentDispatcher}if(r){return r}const n=e.protocol==="https:";r=new f.ProxyAgent(Object.assign({uri:t.href,pipelining:!this._keepAlive?0:1},(t.username||t.password)&&{token:`Basic ${Buffer.from(`${t.username}:${t.password}`).toString("base64")}`}));this._proxyAgentDispatcher=r;if(n&&this._ignoreSslError){r.options=Object.assign(r.options.requestTls||{},{rejectUnauthorized:false})}return r}_getUserAgentWithOrchestrationId(e){const t=e||"actions/http-client";const r=process.env["ACTIONS_ORCHESTRATION_ID"];if(r){const e=r.replace(/[^a-z0-9_.-]/gi,"_");return`${t} actions_orchestration_id/${e}`}return t}_performExponentialBackoff(e){return E(this,void 0,void 0,(function*(){e=Math.min(S,e);const t=Q*Math.pow(2,e);return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return E(this,void 0,void 0,(function*(){return new Promise(((r,n)=>E(this,void 0,void 0,(function*(){const s=e.message.statusCode||0;const o={statusCode:s,result:null,headers:{}};if(s===y.NotFound){r(o)}function dateTimeDeserializer(e,t){if(typeof t==="string"){const e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}let i;let a;try{a=yield e.readBody();if(a&&a.length>0){if(t&&t.deserializeDates){i=JSON.parse(a,dateTimeDeserializer)}else{i=JSON.parse(a)}o.result=i}o.headers=e.message.headers}catch(e){}if(s>299){let e;if(i&&i.message){e=i.message}else if(a&&a.length>0){e=a}else{e=`Failed request: (${s})`}const t=new HttpClientError(e,s);t.result=o.result;n(t)}else{r(o)}}))))}))}}const lowercaseKeys=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{});var N=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};class BasicCredentialHandler{constructor(e,t){this.username=e;this.password=t}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return N(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}class auth_BearerCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return N(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}class PersonalAccessTokenCredentialHandler{constructor(e){this.token=e}prepareRequest(e){if(!e.headers){throw Error("The request has no headers")}e.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return N(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}var R=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};class oidc_utils_OidcClient{static createHttpClient(e=true,t=10){const r={allowRetries:e,maxRetries:t};return new HttpClient("actions/oidc-client",[new BearerCredentialHandler(oidc_utils_OidcClient.getRequestToken())],r)}static getRequestToken(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return e}static getIDTokenUrl(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return e}static getCall(e){return R(this,void 0,void 0,(function*(){var t;const r=oidc_utils_OidcClient.createHttpClient();const n=yield r.getJson(e).catch((e=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.message}`)}));const s=(t=n.result)===null||t===void 0?void 0:t.value;if(!s){throw new Error("Response json body do not have ID Token field")}return s}))}static getIDToken(e){return R(this,void 0,void 0,(function*(){try{let t=oidc_utils_OidcClient.getIDTokenUrl();if(e){const r=encodeURIComponent(e);t=`${t}&audience=${r}`}debug(`ID token url is ${t}`);const r=yield oidc_utils_OidcClient.getCall(t);setSecret(r);return r}catch(e){throw new Error(`Error message: ${e.message}`)}}))}}var v=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};const{access:x,appendFile:T,writeFile:k}=A.promises;const D="GITHUB_STEP_SUMMARY";const _="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 e=process.env[D];if(!e){throw new Error(`Unable to find environment variable for $${D}. Check if your runtime environment supports job summaries.`)}try{yield x(e,A.constants.R_OK|A.constants.W_OK)}catch(t){throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}this._filePath=e;return this._filePath}))}wrap(e,t,r={}){const n=Object.entries(r).map((([e,t])=>` ${e}="${t}"`)).join("");if(!t){return`<${e}${n}>`}return`<${e}${n}>${t}</${e}>`}write(e){return v(this,void 0,void 0,(function*(){const t=!!(e===null||e===void 0?void 0:e.overwrite);const r=yield this.filePath();const n=t?k:T;yield n(r,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(e,t=false){this._buffer+=e;return t?this.addEOL():this}addEOL(){return this.addRaw(c.EOL)}addCodeBlock(e,t){const r=Object.assign({},t&&{lang:t});const n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL()}addList(e,t=false){const r=t?"ol":"ul";const n=e.map((e=>this.wrap("li",e))).join("");const s=this.wrap(r,n);return this.addRaw(s).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if(typeof e==="string"){return this.wrap("td",e)}const{header:t,data:r,colspan:n,rowspan:s}=e;const o=t?"th":"td";const i=Object.assign(Object.assign({},n&&{colspan:n}),s&&{rowspan:s});return this.wrap(o,r,i)})).join("");return this.wrap("tr",t)})).join("");const r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(e,t){const r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL()}addImage(e,t,r){const{width:n,height:s}=r||{};const o=Object.assign(Object.assign({},n&&{width:n}),s&&{height:s});const i=this.wrap("img",null,Object.assign({src:e,alt:t},o));return this.addRaw(i).addEOL()}addHeading(e,t){const r=`h${t}`;const n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1";const s=this.wrap(n,e);return this.addRaw(s).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const r=Object.assign({},t&&{cite:t});const n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL()}addLink(e,t){const r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL()}}const P=new Summary;const L=null&&P;const M=null&&P;function toPosixPath(e){return e.replace(/[\\]/g,"/")}function toWin32Path(e){return e.replace(/[/]/g,"\\")}function toPlatformPath(e){return e.replace(/[/\\]/g,path.sep)}var O=__nccwpck_require__(3193);var F=__nccwpck_require__(4434);const U=e(import.meta.url)("child_process");var H=__nccwpck_require__(2613);var G=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};const{chmod:q,copyFile:z,lstat:V,mkdir:$,open:J,readdir:Y,rename:W,rm:j,rmdir:K,stat:X,symlink:Z,unlink:ee}=A.promises;const te=process.platform==="win32";function readlink(e){return G(this,void 0,void 0,(function*(){const t=yield A.promises.readlink(e);if(te&&!t.endsWith("\\")){return`${t}\\`}return t}))}const re=268435456;const ne=A.constants.O_RDONLY;function exists(e){return G(this,void 0,void 0,(function*(){try{yield X(e)}catch(e){if(e.code==="ENOENT"){return false}throw e}return true}))}function isDirectory(e){return G(this,arguments,void 0,(function*(e,t=false){const r=t?yield X(e):yield V(e);return r.isDirectory()}))}function isRooted(e){e=normalizeSeparators(e);if(!e){throw new Error('isRooted() parameter "p" cannot be empty')}if(te){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}function tryGetExecutablePath(e,t){return G(this,void 0,void 0,(function*(){let r=undefined;try{r=yield X(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(r&&r.isFile()){if(te){const r=i.extname(e).toUpperCase();if(t.some((e=>e.toUpperCase()===r))){return e}}else{if(isUnixExecutable(r)){return e}}}const n=e;for(const s of t){e=n+s;r=undefined;try{r=yield X(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(r&&r.isFile()){if(te){try{const t=i.dirname(e);const r=i.basename(e).toUpperCase();for(const n of yield Y(t)){if(r===n.toUpperCase()){e=i.join(t,n);break}}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}else{if(isUnixExecutable(r)){return e}}}}return""}))}function normalizeSeparators(e){e=e||"";if(te){e=e.replace(/\//g,"\\");return e.replace(/\\\\+/g,"\\")}return e.replace(/\/\/+/g,"/")}function isUnixExecutable(e){return(e.mode&1)>0||(e.mode&8)>0&&process.getgid!==undefined&&e.gid===process.getgid()||(e.mode&64)>0&&process.getuid!==undefined&&e.uid===process.getuid()}function getCmdPath(){var e;return(e=process.env["COMSPEC"])!==null&&e!==void 0?e:`cmd.exe`}var se=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};function io_cp(e,t){return se(this,arguments,void 0,(function*(e,t,r={}){const{force:n,recursive:s,copySourceDirectory:o}=readCopyOptions(r);const a=(yield exists(t))?yield X(t):null;if(a&&a.isFile()&&!n){return}const c=a&&a.isDirectory()&&o?i.join(t,i.basename(e)):t;if(!(yield exists(e))){throw new Error(`no such file or directory: ${e}`)}const l=yield X(e);if(l.isDirectory()){if(!s){throw new Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(e,c,0,n)}}else{if(i.relative(e,c)===""){throw new Error(`'${c}' and '${e}' are the same file`)}yield io_copyFile(e,c,n)}}))}function mv(e,t){return se(this,arguments,void 0,(function*(e,t,r={}){if(yield ioUtil.exists(t)){let n=true;if(yield ioUtil.isDirectory(t)){t=path.join(t,path.basename(e));n=yield ioUtil.exists(t)}if(n){if(r.force==null||r.force){yield rmRF(t)}else{throw new Error("Destination already exists")}}}yield mkdirP(path.dirname(t));yield ioUtil.rename(e,t)}))}function rmRF(e){return se(this,void 0,void 0,(function*(){if(te){if(/[*"<>|]/.test(e)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield j(e,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}}))}function mkdirP(e){return se(this,void 0,void 0,(function*(){(0,H.ok)(e,"a path argument must be provided");yield $(e,{recursive:true})}))}function which(e,t){return se(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}if(t){const t=yield which(e,false);if(!t){if(te){throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}return t}const r=yield findInPath(e);if(r&&r.length>0){return r[0]}return""}))}function findInPath(e){return se(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}const t=[];if(te&&process.env["PATHEXT"]){for(const e of process.env["PATHEXT"].split(i.delimiter)){if(e){t.push(e)}}}if(isRooted(e)){const r=yield tryGetExecutablePath(e,t);if(r){return[r]}return[]}if(e.includes(i.sep)){return[]}const r=[];if(process.env.PATH){for(const e of process.env.PATH.split(i.delimiter)){if(e){r.push(e)}}}const n=[];for(const s of r){const r=yield tryGetExecutablePath(i.join(s,e),t);if(r){n.push(r)}}return n}))}function readCopyOptions(e){const t=e.force==null?true:e.force;const r=Boolean(e.recursive);const n=e.copySourceDirectory==null?true:Boolean(e.copySourceDirectory);return{force:t,recursive:r,copySourceDirectory:n}}function cpDirRecursive(e,t,r,n){return se(this,void 0,void 0,(function*(){if(r>=255)return;r++;yield mkdirP(t);const s=yield Y(e);for(const o of s){const s=`${e}/${o}`;const i=`${t}/${o}`;const a=yield V(s);if(a.isDirectory()){yield cpDirRecursive(s,i,r,n)}else{yield io_copyFile(s,i,n)}}yield q(t,(yield X(e)).mode)}))}function io_copyFile(e,t,r){return se(this,void 0,void 0,(function*(){if((yield V(e)).isSymbolicLink()){try{yield V(t);yield ee(t)}catch(e){if(e.code==="EPERM"){yield q(t,"0666");yield ee(t)}}const r=yield readlink(e);yield Z(r,t,te?"junction":null)}else if(!(yield exists(t))||r){yield z(e,t)}}))}const oe=e(import.meta.url)("timers");var ie=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};const ae=process.platform==="win32";class ToolRunner extends F.EventEmitter{constructor(e,t,r){super();if(!e){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=e;this.args=t||[];this.options=r||{}}_debug(e){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(e)}}_getCommandString(e,t){const r=this._getSpawnFileName();const n=this._getSpawnArgs(e);let s=t?"":"[command]";if(ae){if(this._isCmdFile()){s+=r;for(const e of n){s+=` ${e}`}}else if(e.windowsVerbatimArguments){s+=`"${r}"`;for(const e of n){s+=` ${e}`}}else{s+=this._windowsQuoteCmdArg(r);for(const e of n){s+=` ${this._windowsQuoteCmdArg(e)}`}}}else{s+=r;for(const e of n){s+=` ${e}`}}return s}_processLineBuffer(e,t,r){try{let n=t+e.toString();let s=n.indexOf(c.EOL);while(s>-1){const e=n.substring(0,s);r(e);n=n.substring(s+c.EOL.length);s=n.indexOf(c.EOL)}return n}catch(e){this._debug(`error processing line. Failed with error ${e}`);return""}}_getSpawnFileName(){if(ae){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(e){if(ae){if(this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const r of this.args){t+=" ";t+=e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r)}t+='"';return[t]}}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile()){return this._uvQuoteCmdArg(e)}if(!e){return'""'}const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let r=false;for(const n of e){if(t.some((e=>e===n))){r=true;break}}if(!r){return e}let n='"';let s=true;for(let t=e.length;t>0;t--){n+=e[t-1];if(s&&e[t-1]==="\\"){n+="\\"}else if(e[t-1]==='"'){s=true;n+='"'}else{s=false}}n+='"';return n.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e){return'""'}if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"')){return e}if(!e.includes('"')&&!e.includes("\\")){return`"${e}"`}let t='"';let r=true;for(let n=e.length;n>0;n--){t+=e[n-1];if(r&&e[n-1]==="\\"){t+="\\"}else if(e[n-1]==='"'){r=true;t+="\\"}else{r=false}}t+='"';return t.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};const t={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||false,windowsVerbatimArguments:e.windowsVerbatimArguments||false,failOnStdErr:e.failOnStdErr||false,ignoreReturnCode:e.ignoreReturnCode||false,delay:e.delay||1e4};t.outStream=e.outStream||process.stdout;t.errStream=e.errStream||process.stderr;return t}_getSpawnOptions(e,t){e=e||{};const r={};r.cwd=e.cwd;r.env=e.env;r["windowsVerbatimArguments"]=e.windowsVerbatimArguments||this._isCmdFile();if(e.windowsVerbatimArguments){r.argv0=`"${t}"`}return r}exec(){return ie(this,void 0,void 0,(function*(){if(!isRooted(this.toolPath)&&(this.toolPath.includes("/")||ae&&this.toolPath.includes("\\"))){this.toolPath=i.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield which(this.toolPath,true);return new Promise(((e,t)=>ie(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const e of this.args){this._debug(` ${e}`)}const r=this._cloneExecOptions(this.options);if(!r.silent&&r.outStream){r.outStream.write(this._getCommandString(r)+c.EOL)}const n=new ExecState(r,this.toolPath);n.on("debug",(e=>{this._debug(e)}));if(this.options.cwd&&!(yield exists(this.options.cwd))){return t(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const s=this._getSpawnFileName();const o=U.spawn(s,this._getSpawnArgs(r),this._getSpawnOptions(this.options,s));let i="";if(o.stdout){o.stdout.on("data",(e=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(e)}if(!r.silent&&r.outStream){r.outStream.write(e)}i=this._processLineBuffer(e,i,(e=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(e)}}))}))}let a="";if(o.stderr){o.stderr.on("data",(e=>{n.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(e)}if(!r.silent&&r.errStream&&r.outStream){const t=r.failOnStdErr?r.errStream:r.outStream;t.write(e)}a=this._processLineBuffer(e,a,(e=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(e)}}))}))}o.on("error",(e=>{n.processError=e.message;n.processExited=true;n.processClosed=true;n.CheckComplete()}));o.on("exit",(e=>{n.processExitCode=e;n.processExited=true;this._debug(`Exit code ${e} received from tool '${this.toolPath}'`);n.CheckComplete()}));o.on("close",(e=>{n.processExitCode=e;n.processExited=true;n.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);n.CheckComplete()}));n.on("done",((r,n)=>{if(i.length>0){this.emit("stdline",i)}if(a.length>0){this.emit("errline",a)}o.removeAllListeners();if(r){t(r)}else{e(n)}}));if(this.options.input){if(!o.stdin){throw new Error("child process missing stdin")}o.stdin.end(this.options.input)}}))))}))}}function argStringToArray(e){const t=[];let r=false;let n=false;let s="";function append(e){if(n&&e!=='"'){s+="\\"}s+=e;n=false}for(let o=0;o<e.length;o++){const i=e.charAt(o);if(i==='"'){if(!n){r=!r}else{append(i)}continue}if(i==="\\"&&n){append(i);continue}if(i==="\\"&&r){n=true;continue}if(i===" "&&!r){if(s.length>0){t.push(s);s=""}continue}append(i)}if(s.length>0){t.push(s.trim())}return t}class ExecState extends F.EventEmitter{constructor(e,t){super();this.processClosed=false;this.processError="";this.processExitCode=0;this.processExited=false;this.processStderr=false;this.delay=1e4;this.done=false;this.timeout=null;if(!t){throw new Error("toolPath must not be empty")}this.options=e;this.toolPath=t;if(e.delay){this.delay=e.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=(0,oe.setTimeout)(ExecState.HandleTimeout,this.delay,this)}}_debug(e){this.emit("debug",e)}_setResult(){let e;if(this.processExited){if(this.processError){e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`)}else if(this.processExitCode!==0&&!this.options.ignoreReturnCode){e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)}}if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.done=true;this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(e.done){return}if(!e.processClosed&&e.processExited){const t=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(t)}e._setResult()}}var ce=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};function exec_exec(e,t,r){return ce(this,void 0,void 0,(function*(){const n=argStringToArray(e);if(n.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const s=n[0];t=n.slice(1).concat(t||[]);const o=new ToolRunner(s,t,r);return o.exec()}))}function getExecOutput(e,t,r){return ce(this,void 0,void 0,(function*(){var n,s;let o="";let i="";const a=new O.StringDecoder("utf8");const c=new O.StringDecoder("utf8");const l=(n=r===null||r===void 0?void 0:r.listeners)===null||n===void 0?void 0:n.stdout;const u=(s=r===null||r===void 0?void 0:r.listeners)===null||s===void 0?void 0:s.stderr;const stdErrListener=e=>{i+=c.write(e);if(u){u(e)}};const stdOutListener=e=>{o+=a.write(e);if(l){l(e)}};const A=Object.assign(Object.assign({},r===null||r===void 0?void 0:r.listeners),{stdout:stdOutListener,stderr:stdErrListener});const d=yield exec_exec(e,t,Object.assign(Object.assign({},r),{listeners:A}));o+=a.end();i+=c.end();return{exitCode:d,stdout:o,stderr:i}}))}var le=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};const getWindowsInfo=()=>le(void 0,void 0,void 0,(function*(){const{stdout:e}=yield exec.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:t}=yield exec.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:t.trim(),version:e.trim()}}));const getMacOsInfo=()=>le(void 0,void 0,void 0,(function*(){var e,t,r,n;const{stdout:s}=yield exec.getExecOutput("sw_vers",undefined,{silent:true});const o=(t=(e=s.match(/ProductVersion:\s*(.+)/))===null||e===void 0?void 0:e[1])!==null&&t!==void 0?t:"";const i=(n=(r=s.match(/ProductName:\s*(.+)/))===null||r===void 0?void 0:r[1])!==null&&n!==void 0?n:"";return{name:i,version:o}}));const getLinuxInfo=()=>le(void 0,void 0,void 0,(function*(){const{stdout:e}=yield exec.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[t,r]=e.trim().split("\n");return{name:t,version:r}}));const ue=c.platform();const Ae=c.arch();const de=ue==="win32";const pe=ue==="darwin";const me=ue==="linux";function getDetails(){return le(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield de?getWindowsInfo():pe?getMacOsInfo():getLinuxInfo()),{platform:ue,arch:Ae,isWindows:de,isMacOS:pe,isLinux:me})}))}var he=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};var ge;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(ge||(ge={}));function exportVariable(e,t){const r=toCommandValue(t);process.env[e]=r;const n=process.env["GITHUB_ENV"]||"";if(n){return issueFileCommand("ENV",prepareKeyValueMessage(e,t))}command_issueCommand("set-env",{name:e},r)}function core_setSecret(e){command_issueCommand("add-mask",{},e)}function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){issueFileCommand("PATH",e)}else{command_issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${i.delimiter}${process.env["PATH"]}`}function getInput(e,t){const r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r){throw new Error(`Input required and not supplied: ${e}`)}if(t&&t.trimWhitespace===false){return r}return r.trim()}function getMultilineInput(e,t){const r=getInput(e,t).split("\n").filter((e=>e!==""));if(t&&t.trimWhitespace===false){return r}return r.map((e=>e.trim()))}function getBooleanInput(e,t){const r=["true","True","TRUE"];const n=["false","False","FALSE"];const s=getInput(e,t);if(r.includes(s))return true;if(n.includes(s))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function setOutput(e,t){const r=process.env["GITHUB_OUTPUT"]||"";if(r){return issueFileCommand("OUTPUT",prepareKeyValueMessage(e,t))}process.stdout.write(c.EOL);command_issueCommand("set-output",{name:e},toCommandValue(t))}function setCommandEcho(e){issue("echo",e?"on":"off")}function setFailed(e){process.exitCode=ge.Failure;core_error(e)}function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}function core_debug(e){command_issueCommand("debug",{},e)}function core_error(e,t={}){command_issueCommand("error",utils_toCommandProperties(t),e instanceof Error?e.toString():e)}function warning(e,t={}){command_issueCommand("warning",utils_toCommandProperties(t),e instanceof Error?e.toString():e)}function notice(e,t={}){issueCommand("notice",toCommandProperties(t),e instanceof Error?e.toString():e)}function info(e){process.stdout.write(e+c.EOL)}function startGroup(e){command_issue("group",e)}function endGroup(){command_issue("endgroup")}function group(e,t){return he(this,void 0,void 0,(function*(){startGroup(e);let r;try{r=yield t()}finally{endGroup()}return r}))}function saveState(e,t){const r=process.env["GITHUB_STATE"]||"";if(r){return issueFileCommand("STATE",prepareKeyValueMessage(e,t))}command_issueCommand("save-state",{name:e},toCommandValue(t))}function getState(e){return process.env[`STATE_${e}`]||""}function getIDToken(e){return he(this,void 0,void 0,(function*(){return yield OidcClient.getIDToken(e)}))}var fe=__nccwpck_require__(2088);var Ee=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};const ye={readLinuxVersionFile(){const e="/etc/lsb-release";const t="/etc/os-release";let r="";if(A.existsSync(e)){r=A.readFileSync(e).toString()}else if(A.existsSync(t)){r=A.readFileSync(t).toString()}return r}};function _findMatch(e,t,r,n){return Ee(this,void 0,void 0,(function*(){const s=os.platform();let o;let i;let a;for(const o of r){const r=o.version;debug(`check ${r} satisfies ${e}`);if(semver.satisfies(r,e)&&(!t||o.stable===t)){a=o.files.find((e=>{debug(`${e.arch}===${n} && ${e.platform}===${s}`);let t=e.arch===n&&e.platform===s;if(t&&e.platform_version){const r=_getOsVersion();if(r===e.platform_version){t=true}else{t=semver.satisfies(r,e.platform_version)}}return t}));if(a){debug(`matched ${o.version}`);i=o;break}}}if(i&&a){o=Object.assign({},i);o.files=[a]}return o}))}function _getOsVersion(){const e=os.platform();let t="";if(e==="darwin"){t=cp.execSync("sw_vers -productVersion").toString()}else if(e==="linux"){const e=ye.readLinuxVersionFile();if(e){const r=e.split("\n");for(const e of r){const r=e.split("=");if(r.length===2&&(r[0].trim()==="VERSION_ID"||r[0].trim()==="DISTRIB_RELEASE")){t=r[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return t}function _readLinuxVersionFile(){return ye.readLinuxVersionFile()}const Ce=e(import.meta.url)("stream");var Ie=__nccwpck_require__(9023);var Be=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};class RetryHelper{constructor(e,t,r){if(e<1){throw new Error("max attempts should be greater than or equal to 1")}this.maxAttempts=e;this.minSeconds=Math.floor(t);this.maxSeconds=Math.floor(r);if(this.minSeconds>this.maxSeconds){throw new Error("min seconds should be less than or equal to max seconds")}}execute(e,t){return Be(this,void 0,void 0,(function*(){let r=1;while(r<this.maxAttempts){try{return yield e()}catch(e){if(t&&!t(e)){throw e}info(e.message)}const n=this.getSleepAmount();info(`Waiting ${n} seconds before trying again`);yield this.sleep(n);r++}return yield e()}))}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(e){return Be(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,e*1e3)))}))}}var be=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};class HTTPError extends Error{constructor(e){super(`Unexpected HTTP response: ${e}`);this.httpStatusCode=e;Object.setPrototypeOf(this,new.target.prototype)}}const we=process.platform==="win32";const Se=process.platform==="darwin";const Qe="actions/tool-cache";function downloadTool(e,t,r,n){return be(this,void 0,void 0,(function*(){t=t||i.join(_getTempDirectory(),o.randomUUID());yield mkdirP(i.dirname(t));core_debug(`Downloading ${e}`);core_debug(`Destination ${t}`);const s=3;const a=_getGlobal("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10);const c=_getGlobal("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);const l=new RetryHelper(s,a,c);return yield l.execute((()=>be(this,void 0,void 0,(function*(){return yield downloadToolAttempt(e,t||"",r,n)}))),(e=>{if(e instanceof HTTPError&&e.httpStatusCode){if(e.httpStatusCode<500&&e.httpStatusCode!==408&&e.httpStatusCode!==429){return false}}return true}))}))}function downloadToolAttempt(e,t,r,n){return be(this,void 0,void 0,(function*(){if(A.existsSync(t)){throw new Error(`Destination file path ${t} already exists`)}const s=new lib_HttpClient(Qe,[],{allowRetries:false});if(r){core_debug("set auth");if(n===undefined){n={}}n.authorization=r}const o=yield s.get(e,n);if(o.message.statusCode!==200){const t=new HTTPError(o.message.statusCode);core_debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`);throw t}const i=Ie.promisify(Ce.pipeline);const a=_getGlobal("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>o.message));const c=a();let l=false;try{yield i(c,A.createWriteStream(t));core_debug("download complete");l=true;return t}finally{if(!l){core_debug("download failed");try{yield rmRF(t)}catch(e){core_debug(`Failed to delete '${t}'. ${e.message}`)}}}}))}function extract7z(e,t,r){return be(this,void 0,void 0,(function*(){ok(we,"extract7z() not supported on current OS");ok(e,'parameter "file" is required');t=yield _createExtractFolder(t);const n=process.cwd();process.chdir(t);if(r){try{const t=core.isDebug()?"-bb1":"-bb0";const n=["x",t,"-bd","-sccUTF-8",e];const s={silent:true};yield exec(`"${r}"`,n,s)}finally{process.chdir(n)}}else{const r=path.join(__dirname,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,"");const s=e.replace(/'/g,"''").replace(/"|\n|\r/g,"");const o=t.replace(/'/g,"''").replace(/"|\n|\r/g,"");const i=`& '${r}' -Source '${s}' -Target '${o}'`;const a=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",i];const c={silent:true};try{const e=yield io.which("powershell",true);yield exec(`"${e}"`,a,c)}finally{process.chdir(n)}}return t}))}function extractTar(e,t){return be(this,arguments,void 0,(function*(e,t,r="xz"){if(!e){throw new Error("parameter 'file' is required")}t=yield _createExtractFolder(t);core_debug("Checking tar --version");let n="";yield exec_exec("tar --version",[],{ignoreReturnCode:true,silent:true,listeners:{stdout:e=>n+=e.toString(),stderr:e=>n+=e.toString()}});core_debug(n.trim());const s=n.toUpperCase().includes("GNU TAR");let o;if(r instanceof Array){o=r}else{o=[r]}if(isDebug()&&!r.includes("v")){o.push("-v")}let i=t;let a=e;if(we&&s){o.push("--force-local");i=t.replace(/\\/g,"/");a=e.replace(/\\/g,"/")}if(s){o.push("--warning=no-unknown-keyword");o.push("--overwrite")}o.push("-C",i,"-f",a);yield exec_exec(`tar`,o);return t}))}function extractXar(e,t){return be(this,arguments,void 0,(function*(e,t,r=[]){ok(Se,"extractXar() not supported on current OS");ok(e,'parameter "file" is required');t=yield _createExtractFolder(t);let n;if(r instanceof Array){n=r}else{n=[r]}n.push("-x","-C",t,"-f",e);if(core.isDebug()){n.push("-v")}const s=yield io.which("xar",true);yield exec(`"${s}"`,_unique(n));return t}))}function extractZip(e,t){return be(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'file' is required")}t=yield _createExtractFolder(t);if(we){yield extractZipWin(e,t)}else{yield extractZipNix(e,t)}return t}))}function extractZipWin(e,t){return be(this,void 0,void 0,(function*(){const r=e.replace(/'/g,"''").replace(/"|\n|\r/g,"");const n=t.replace(/'/g,"''").replace(/"|\n|\r/g,"");const s=yield which("pwsh",false);if(s){const e=[`$ErrorActionPreference = 'Stop' ;`,`try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${n}' -Force } else { throw $_ } } ;`].join(" ");const t=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e];core_debug(`Using pwsh at path: ${s}`);yield exec_exec(`"${s}"`,t)}else{const e=[`$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 '${r}' -DestinationPath '${n}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`].join(" ");const t=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e];const s=yield which("powershell",true);core_debug(`Using powershell at path: ${s}`);yield exec_exec(`"${s}"`,t)}}))}function extractZipNix(e,t){return be(this,void 0,void 0,(function*(){const r=yield which("unzip",true);const n=[e];if(!isDebug()){n.unshift("-q")}n.unshift("-o");yield exec_exec(`"${r}"`,n,{cwd:t})}))}function cacheDir(e,t,r,n){return be(this,void 0,void 0,(function*(){r=fe.clean(r)||r;n=n||c.arch();core_debug(`Caching tool ${t} ${r} ${n}`);core_debug(`source dir: ${e}`);if(!A.statSync(e).isDirectory()){throw new Error("sourceDir is not a directory")}const s=yield _createToolPath(t,r,n);for(const t of A.readdirSync(e)){const r=i.join(e,t);yield io_cp(r,s,{recursive:true})}_completeToolPath(t,r,n);return s}))}function cacheFile(e,t,r,n,s){return be(this,void 0,void 0,(function*(){n=semver.clean(n)||n;s=s||os.arch();core.debug(`Caching tool ${r} ${n} ${s}`);core.debug(`source file: ${e}`);if(!fs.statSync(e).isFile()){throw new Error("sourceFile is not a file")}const o=yield _createToolPath(r,n,s);const i=path.join(o,t);core.debug(`destination file ${i}`);yield io.cp(e,i);_completeToolPath(r,n,s);return o}))}function find(e,t,r){if(!e){throw new Error("toolName parameter is required")}if(!t){throw new Error("versionSpec parameter is required")}r=r||c.arch();if(!isExplicitVersion(t)){const n=findAllVersions(e,r);const s=evaluateVersions(n,t);t=s}let n="";if(t){t=fe.clean(t)||"";const s=i.join(_getCacheDirectory(),e,t,r);core_debug(`checking cache: ${s}`);if(A.existsSync(s)&&A.existsSync(`${s}.complete`)){core_debug(`Found tool in cache ${e} ${t} ${r}`);n=s}else{core_debug("not found")}}return n}function findAllVersions(e,t){const r=[];t=t||c.arch();const n=i.join(_getCacheDirectory(),e);if(A.existsSync(n)){const e=A.readdirSync(n);for(const s of e){if(isExplicitVersion(s)){const e=i.join(n,s,t||"");if(A.existsSync(e)&&A.existsSync(`${e}.complete`)){r.push(s)}}}}return r}function getManifestFromRepo(e,t,r){return be(this,arguments,void 0,(function*(e,t,r,n="master"){let s=[];const o=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`;const i=new httpm.HttpClient("tool-cache");const a={};if(r){core.debug("set auth");a.authorization=r}const c=yield i.getJson(o,a);if(!c.result){return s}let l="";for(const e of c.result.tree){if(e.path==="versions-manifest.json"){l=e.url;break}}a["accept"]="application/vnd.github.VERSION.raw";let u=yield(yield i.get(l,a)).readBody();if(u){u=u.replace(/^\uFEFF/,"");try{s=JSON.parse(u)}catch(e){core.debug("Invalid json")}}return s}))}function findFromManifest(e,t,r){return be(this,arguments,void 0,(function*(e,t,r,n=os.arch()){const s=yield mm._findMatch(e,t,r,n);return s}))}function _createExtractFolder(e){return be(this,void 0,void 0,(function*(){if(!e){e=i.join(_getTempDirectory(),o.randomUUID())}yield mkdirP(e);return e}))}function _createToolPath(e,t,r){return be(this,void 0,void 0,(function*(){const n=i.join(_getCacheDirectory(),e,fe.clean(t)||t,r||"");core_debug(`destination ${n}`);const s=`${n}.complete`;yield rmRF(n);yield rmRF(s);yield mkdirP(n);return n}))}function _completeToolPath(e,t,r){const n=i.join(_getCacheDirectory(),e,fe.clean(t)||t,r||"");const s=`${n}.complete`;A.writeFileSync(s,"");core_debug("finished caching tool")}function isExplicitVersion(e){const t=fe.clean(e)||"";core_debug(`isExplicit: ${t}`);const r=fe.valid(t)!=null;core_debug(`explicit? ${r}`);return r}function evaluateVersions(e,t){let r="";core_debug(`evaluating ${e.length} versions`);e=e.sort(((e,t)=>{if(fe.gt(e,t)){return 1}return-1}));for(let n=e.length-1;n>=0;n--){const s=e[n];const o=fe.satisfies(s,t);if(o){r=s;break}}if(r){core_debug(`matched: ${r}`)}else{core_debug("match not found")}return r}function _getCacheDirectory(){const e=process.env["RUNNER_TOOL_CACHE"]||"";(0,H.ok)(e,"Expected RUNNER_TOOL_CACHE to be defined");return e}function _getTempDirectory(){const e=process.env["RUNNER_TEMP"]||"";(0,H.ok)(e,"Expected RUNNER_TEMP to be defined");return e}function _getGlobal(e,t){const r=global[e];return r!==undefined?r:t}function _unique(e){return Array.from(new Set(e))}function getOptions(e){const t={followSymbolicLinks:true,implicitDescendants:true,matchDirectories:true,omitBrokenSymbolicLinks:true,excludeHiddenFiles:false};if(e){if(typeof e.followSymbolicLinks==="boolean"){t.followSymbolicLinks=e.followSymbolicLinks;core_debug(`followSymbolicLinks '${t.followSymbolicLinks}'`)}if(typeof e.implicitDescendants==="boolean"){t.implicitDescendants=e.implicitDescendants;core_debug(`implicitDescendants '${t.implicitDescendants}'`)}if(typeof e.matchDirectories==="boolean"){t.matchDirectories=e.matchDirectories;core_debug(`matchDirectories '${t.matchDirectories}'`)}if(typeof e.omitBrokenSymbolicLinks==="boolean"){t.omitBrokenSymbolicLinks=e.omitBrokenSymbolicLinks;core_debug(`omitBrokenSymbolicLinks '${t.omitBrokenSymbolicLinks}'`)}if(typeof e.excludeHiddenFiles==="boolean"){t.excludeHiddenFiles=e.excludeHiddenFiles;core_debug(`excludeHiddenFiles '${t.excludeHiddenFiles}'`)}}return t}const Ne=process.platform==="win32";function dirname(e){e=safeTrimTrailingSeparator(e);if(Ne&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(e)){return e}let t=i.dirname(e);if(Ne&&/^\\\\[^\\]+\\[^\\]+\\$/.test(t)){t=safeTrimTrailingSeparator(t)}return t}function ensureAbsoluteRoot(e,t){H(e,`ensureAbsoluteRoot parameter 'root' must not be empty`);H(t,`ensureAbsoluteRoot parameter 'itemPath' must not be empty`);if(hasAbsoluteRoot(t)){return t}if(Ne){if(t.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let e=process.cwd();H(e.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${e}'`);if(t[0].toUpperCase()===e[0].toUpperCase()){if(t.length===2){return`${t[0]}:\\${e.substr(3)}`}else{if(!e.endsWith("\\")){e+="\\"}return`${t[0]}:\\${e.substr(3)}${t.substr(2)}`}}else{return`${t[0]}:\\${t.substr(2)}`}}else if(internal_path_helper_normalizeSeparators(t).match(/^\\$|^\\[^\\]/)){const e=process.cwd();H(e.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${e}'`);return`${e[0]}:\\${t.substr(1)}`}}H(hasAbsoluteRoot(e),`ensureAbsoluteRoot parameter 'root' must have an absolute root`);if(e.endsWith("/")||Ne&&e.endsWith("\\")){}else{e+=i.sep}return e+t}function hasAbsoluteRoot(e){H(e,`hasAbsoluteRoot parameter 'itemPath' must not be empty`);e=internal_path_helper_normalizeSeparators(e);if(Ne){return e.startsWith("\\\\")||/^[A-Z]:\\/i.test(e)}return e.startsWith("/")}function hasRoot(e){H(e,`isRooted parameter 'itemPath' must not be empty`);e=internal_path_helper_normalizeSeparators(e);if(Ne){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}function internal_path_helper_normalizeSeparators(e){e=e||"";if(Ne){e=e.replace(/\//g,"\\");const t=/^\\\\+[^\\]/.test(e);return(t?"\\":"")+e.replace(/\\\\+/g,"\\")}return e.replace(/\/\/+/g,"/")}function safeTrimTrailingSeparator(e){if(!e){return""}e=internal_path_helper_normalizeSeparators(e);if(!e.endsWith(i.sep)){return e}if(e===i.sep){return e}if(Ne&&/^[A-Z]:\\$/i.test(e)){return e}return e.substr(0,e.length-1)}var Re;(function(e){e[e["None"]=0]="None";e[e["Directory"]=1]="Directory";e[e["File"]=2]="File";e[e["All"]=3]="All"})(Re||(Re={}));const ve=process.platform==="win32";function getSearchPaths(e){e=e.filter((e=>!e.negate));const t={};for(const r of e){const e=ve?r.searchPath.toUpperCase():r.searchPath;t[e]="candidate"}const r=[];for(const n of e){const e=ve?n.searchPath.toUpperCase():n.searchPath;if(t[e]==="included"){continue}let s=false;let o=e;let i=dirname(o);while(i!==o){if(t[i]){s=true;break}o=i;i=dirname(o)}if(!s){r.push(n.searchPath);t[e]="included"}}return r}function internal_pattern_helper_match(e,t){let r=Re.None;for(const n of e){if(n.negate){r&=~n.match(t)}else{r|=n.match(t)}}return r}function internal_pattern_helper_partialMatch(e,t){return e.some((e=>!e.negate&&e.partialMatch(t)))}var xe=__nccwpck_require__(3772);const Te=process.platform==="win32";class Path{constructor(e){this.segments=[];if(typeof e==="string"){H(e,`Parameter 'itemPath' must not be empty`);e=safeTrimTrailingSeparator(e);if(!hasRoot(e)){this.segments=e.split(i.sep)}else{let t=e;let r=dirname(t);while(r!==t){const e=i.basename(t);this.segments.unshift(e);t=r;r=dirname(t)}this.segments.unshift(t)}}else{H(e.length>0,`Parameter 'itemPath' must not be an empty array`);for(let t=0;t<e.length;t++){let r=e[t];H(r,`Parameter 'itemPath' must not contain any empty segments`);r=internal_path_helper_normalizeSeparators(e[t]);if(t===0&&hasRoot(r)){r=safeTrimTrailingSeparator(r);H(r===dirname(r),`Parameter 'itemPath' root segment contains information for multiple segments`);this.segments.push(r)}else{H(!r.includes(i.sep),`Parameter 'itemPath' contains unexpected path separators`);this.segments.push(r)}}}}toString(){let e=this.segments[0];let t=e.endsWith(i.sep)||Te&&/^[A-Z]:$/i.test(e);for(let r=1;r<this.segments.length;r++){if(t){t=false}else{e+=i.sep}e+=this.segments[r]}return e}}const{Minimatch:ke}=xe;const De=process.platform==="win32";class Pattern{constructor(e,t=false,r,n){this.negate=false;let s;if(typeof e==="string"){s=e.trim()}else{r=r||[];H(r.length,`Parameter 'segments' must not empty`);const t=Pattern.getLiteral(r[0]);H(t&&hasAbsoluteRoot(t),`Parameter 'segments' first element must be a root path`);s=new Path(r).toString().trim();if(e){s=`!${s}`}}while(s.startsWith("!")){this.negate=!this.negate;s=s.substr(1).trim()}s=Pattern.fixupPattern(s,n);this.segments=new Path(s).segments;this.trailingSeparator=internal_path_helper_normalizeSeparators(s).endsWith(i.sep);s=safeTrimTrailingSeparator(s);let o=false;const a=this.segments.map((e=>Pattern.getLiteral(e))).filter((e=>!o&&!(o=e==="")));this.searchPath=new Path(a).toString();this.rootRegExp=new RegExp(Pattern.regExpEscape(a[0]),De?"i":"");this.isImplicitPattern=t;const c={dot:true,nobrace:true,nocase:De,nocomment:true,noext:true,nonegate:true};s=De?s.replace(/\\/g,"/"):s;this.minimatch=new ke(s,c)}match(e){if(this.segments[this.segments.length-1]==="**"){e=internal_path_helper_normalizeSeparators(e);if(!e.endsWith(i.sep)&&this.isImplicitPattern===false){e=`${e}${i.sep}`}}else{e=safeTrimTrailingSeparator(e)}if(this.minimatch.match(e)){return this.trailingSeparator?Re.Directory:Re.All}return Re.None}partialMatch(e){e=safeTrimTrailingSeparator(e);if(dirname(e)===e){return this.rootRegExp.test(e)}return this.minimatch.matchOne(e.split(De?/\\+/:/\/+/),this.minimatch.set[0],true)}static globEscape(e){return(De?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,t){H(e,"pattern cannot be empty");const r=new Path(e).segments.map((e=>Pattern.getLiteral(e)));H(r.every(((e,t)=>(e!=="."||t===0)&&e!=="..")),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`);H(!hasRoot(e)||r[0],`Invalid pattern '${e}'. Root segment must not contain globs.`);e=internal_path_helper_normalizeSeparators(e);if(e==="."||e.startsWith(`.${i.sep}`)){e=Pattern.globEscape(process.cwd())+e.substr(1)}else if(e==="~"||e.startsWith(`~${i.sep}`)){t=t||c.homedir();H(t,"Unable to determine HOME directory");H(hasAbsoluteRoot(t),`Expected HOME directory to be a rooted path. Actual '${t}'`);e=Pattern.globEscape(t)+e.substr(1)}else if(De&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let t=ensureAbsoluteRoot("C:\\dummy-root",e.substr(0,2));if(e.length>2&&!t.endsWith("\\")){t+="\\"}e=Pattern.globEscape(t)+e.substr(2)}else if(De&&(e==="\\"||e.match(/^\\[^\\]/))){let t=ensureAbsoluteRoot("C:\\dummy-root","\\");if(!t.endsWith("\\")){t+="\\"}e=Pattern.globEscape(t)+e.substr(1)}else{e=ensureAbsoluteRoot(Pattern.globEscape(process.cwd()),e)}return internal_path_helper_normalizeSeparators(e)}static getLiteral(e){let t="";for(let r=0;r<e.length;r++){const n=e[r];if(n==="\\"&&!De&&r+1<e.length){t+=e[++r];continue}else if(n==="*"||n==="?"){return""}else if(n==="["&&r+1<e.length){let n="";let s=-1;for(let t=r+1;t<e.length;t++){const r=e[t];if(r==="\\"&&!De&&t+1<e.length){n+=e[++t];continue}else if(r==="]"){s=t;break}else{n+=r}}if(s>=0){if(n.length>1){return""}if(n){t+=n;r=s;continue}}}t+=n}return t}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}}class SearchState{constructor(e,t){this.path=e;this.level=t}}var _e=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};var Pe=undefined&&undefined.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),r={},verb("next"),verb("throw"),verb("return"),r[Symbol.asyncIterator]=function(){return this},r);function verb(t){r[t]=e[t]&&function(r){return new Promise((function(n,s){r=e[t](r),settle(n,s,r.done,r.value)}))}}function settle(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}};var Le=undefined&&undefined.__await||function(e){return this instanceof Le?(this.v=e,this):new Le(e)};var Me=undefined&&undefined.__asyncGenerator||function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),s,o=[];return s=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),verb("next"),verb("throw"),verb("return",awaitReturn),s[Symbol.asyncIterator]=function(){return this},s;function awaitReturn(e){return function(t){return Promise.resolve(t).then(e,reject)}}function verb(e,t){if(n[e]){s[e]=function(t){return new Promise((function(r,n){o.push([e,t,r,n])>1||resume(e,t)}))};if(t)s[e]=t(s[e])}}function resume(e,t){try{step(n[e](t))}catch(e){settle(o[0][3],e)}}function step(e){e.value instanceof Le?Promise.resolve(e.value.v).then(fulfill,reject):settle(o[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,t){if(e(t),o.shift(),o.length)resume(o[0][0],o[0][1])}};const Oe=process.platform==="win32";class DefaultGlobber{constructor(e){this.patterns=[];this.searchPaths=[];this.options=getOptions(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return _e(this,void 0,void 0,(function*(){var e,t,r,n;const s=[];try{for(var o=true,i=Pe(this.globGenerator()),a;a=yield i.next(),e=a.done,!e;o=true){n=a.value;o=false;const e=n;s.push(e)}}catch(e){t={error:e}}finally{try{if(!o&&!e&&(r=i.return))yield r.call(i)}finally{if(t)throw t.error}}return s}))}globGenerator(){return Me(this,arguments,(function*globGenerator_1(){const e=getOptions(this.options);const t=[];for(const r of this.patterns){t.push(r);if(e.implicitDescendants&&(r.trailingSeparator||r.segments[r.segments.length-1]!=="**")){t.push(new Pattern(r.negate,true,r.segments.concat("**")))}}const r=[];for(const e of getSearchPaths(t)){core_debug(`Search path '${e}'`);try{yield Le(A.promises.lstat(e))}catch(e){if(e.code==="ENOENT"){continue}throw e}r.unshift(new SearchState(e,1))}const n=[];while(r.length){const s=r.pop();const o=internal_pattern_helper_match(t,s.path);const a=!!o||internal_pattern_helper_partialMatch(t,s.path);if(!o&&!a){continue}const c=yield Le(DefaultGlobber.stat(s,e,n));if(!c){continue}if(e.excludeHiddenFiles&&i.basename(s.path).match(/^\./)){continue}if(c.isDirectory()){if(o&Re.Directory&&e.matchDirectories){yield yield Le(s.path)}else if(!a){continue}const t=s.level+1;const n=(yield Le(A.promises.readdir(s.path))).map((e=>new SearchState(i.join(s.path,e),t)));r.push(...n.reverse())}else if(o&Re.File){yield yield Le(s.path)}}}))}static create(e,t){return _e(this,void 0,void 0,(function*(){const r=new DefaultGlobber(t);if(Oe){e=e.replace(/\r\n/g,"\n");e=e.replace(/\r/g,"\n")}const n=e.split("\n").map((e=>e.trim()));for(const e of n){if(!e||e.startsWith("#")){continue}else{r.patterns.push(new Pattern(e))}}r.searchPaths.push(...getSearchPaths(r.patterns));return r}))}static stat(e,t,r){return _e(this,void 0,void 0,(function*(){let n;if(t.followSymbolicLinks){try{n=yield A.promises.stat(e.path)}catch(r){if(r.code==="ENOENT"){if(t.omitBrokenSymbolicLinks){core_debug(`Broken symlink '${e.path}'`);return undefined}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw r}}else{n=yield A.promises.lstat(e.path)}if(n.isDirectory()&&t.followSymbolicLinks){const t=yield A.promises.realpath(e.path);while(r.length>=e.level){r.pop()}if(r.some((e=>e===t))){core_debug(`Symlink cycle detected for path '${e.path}' and realpath '${t}'`);return undefined}r.push(t)}return n}))}}var Fe=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};var Ue=undefined&&undefined.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),r={},verb("next"),verb("throw"),verb("return"),r[Symbol.asyncIterator]=function(){return this},r);function verb(t){r[t]=e[t]&&function(r){return new Promise((function(n,s){r=e[t](r),settle(n,s,r.done,r.value)}))}}function settle(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}};function hashFiles(e,t){return Fe(this,arguments,void 0,(function*(e,t,r=false){var n,s,o,i;var a;const c=r?core.info:core.debug;let l=false;const u=t?t:(a=process.env["GITHUB_WORKSPACE"])!==null&&a!==void 0?a:process.cwd();const A=crypto.createHash("sha256");let d=0;try{for(var p=true,m=Ue(e.globGenerator()),h;h=yield m.next(),n=h.done,!n;p=true){i=h.value;p=false;const e=i;c(e);if(!e.startsWith(`${u}${path.sep}`)){c(`Ignore '${e}' since it is not under GITHUB_WORKSPACE.`);continue}if(fs.statSync(e).isDirectory()){c(`Skip directory '${e}'.`);continue}const t=crypto.createHash("sha256");const r=util.promisify(stream.pipeline);yield r(fs.createReadStream(e),t);A.write(t.digest());d++;if(!l){l=true}}}catch(e){s={error:e}}finally{try{if(!p&&!n&&(o=m.return))yield o.call(m)}finally{if(s)throw s.error}}A.end();if(l){c(`Found ${d} files to hash.`);return A.digest("hex")}else{c(`No matches found for glob`);return""}}))}var He=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};function create(e,t){return He(this,void 0,void 0,(function*(){return yield DefaultGlobber.create(e,t)}))}function glob_hashFiles(e){return He(this,arguments,void 0,(function*(e,t="",r,n=false){let s=true;if(r&&typeof r.followSymbolicLinks==="boolean"){s=r.followSymbolicLinks}const o=yield create(e,{followSymbolicLinks:s});return _hashFiles(o,t,n)}))}var Ge;(function(e){e["Gzip"]="cache.tgz";e["Zstd"]="cache.tzst"})(Ge||(Ge={}));var qe;(function(e){e["Gzip"]="gzip";e["ZstdWithoutLong"]="zstd-without-long";e["Zstd"]="zstd"})(qe||(qe={}));var ze;(function(e){e["GNU"]="gnu";e["BSD"]="bsd"})(ze||(ze={}));const Ve=2;const $e=5e3;const Je=5e3;const Ye=`${process.env["PROGRAMFILES"]}\\Git\\usr\\bin\\tar.exe`;const We=`${process.env["SYSTEMDRIVE"]}\\Windows\\System32\\tar.exe`;const je="cache.tar";const Ke="manifest.txt";const Xe=10*Math.pow(1024,3);var Ze=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};var et=undefined&&undefined.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),r={},verb("next"),verb("throw"),verb("return"),r[Symbol.asyncIterator]=function(){return this},r);function verb(t){r[t]=e[t]&&function(r){return new Promise((function(n,s){r=e[t](r),settle(n,s,r.done,r.value)}))}}function settle(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}};const tt="1.0";function createTempDirectory(){return Ze(this,void 0,void 0,(function*(){const e=process.platform==="win32";let t=process.env["RUNNER_TEMP"]||"";if(!t){let r;if(e){r=process.env["USERPROFILE"]||"C:\\"}else{if(process.platform==="darwin"){r="/Users"}else{r="/home"}}t=i.join(r,"actions","temp")}const r=i.join(t,o.randomUUID());yield mkdirP(r);return r}))}function getArchiveFileSizeInBytes(e){return A.statSync(e).size}function resolvePaths(e){return Ze(this,void 0,void 0,(function*(){var t,r,n,s;var o;const a=[];const c=(o=process.env["GITHUB_WORKSPACE"])!==null&&o!==void 0?o:process.cwd();const l=yield create(e.join("\n"),{implicitDescendants:false});try{for(var u=true,A=et(l.globGenerator()),d;d=yield A.next(),t=d.done,!t;u=true){s=d.value;u=false;const e=s;const t=i.relative(c,e).replace(new RegExp(`\\${i.sep}`,"g"),"/");core_debug(`Matched: ${t}`);if(t===""){a.push(".")}else{a.push(`${t}`)}}}catch(e){r={error:e}}finally{try{if(!u&&!t&&(n=A.return))yield n.call(A)}finally{if(r)throw r.error}}return a}))}function unlinkFile(e){return Ze(this,void 0,void 0,(function*(){return Ie.promisify(A.unlink)(e)}))}function getVersion(e){return Ze(this,arguments,void 0,(function*(e,t=[]){let r="";t.push("--version");core_debug(`Checking ${e} ${t.join(" ")}`);try{yield exec_exec(`${e}`,t,{ignoreReturnCode:true,silent:true,listeners:{stdout:e=>r+=e.toString(),stderr:e=>r+=e.toString()}})}catch(e){core_debug(e.message)}r=r.trim();core_debug(r);return r}))}function getCompressionMethod(){return Ze(this,void 0,void 0,(function*(){const e=yield getVersion("zstd",["--quiet"]);const t=fe.clean(e);core_debug(`zstd version: ${t}`);if(e===""){return qe.Gzip}else{return qe.ZstdWithoutLong}}))}function getCacheFileName(e){return e===qe.Gzip?Ge.Gzip:Ge.Zstd}function getGnuTarPathOnWindows(){return Ze(this,void 0,void 0,(function*(){if(A.existsSync(Ye)){return Ye}const e=yield getVersion("tar");return e.toLowerCase().includes("gnu tar")?which("tar"):""}))}function assertDefined(e,t){if(t===undefined){throw Error(`Expected ${e} but value was undefiend`)}return t}function getCacheVersion(e,t,r=false){const n=e.slice();if(t){n.push(t)}if(process.platform==="win32"&&!r){n.push("windows-only")}n.push(tt);return o.createHash("sha256").update(n.join("|")).digest("hex")}function getRuntimeToken(){const e=process.env["ACTIONS_RUNTIME_TOKEN"];if(!e){throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable")}return e}var rt=__nccwpck_require__(7016);class AbortError extends Error{constructor(e){super(e);this.name="AbortError"}}const nt=e(import.meta.url)("node:os");var st=__nccwpck_require__(7975);const ot=e(import.meta.url)("node:process");function log(e,...t){ot.stderr.write(`${st.format(e,...t)}${nt.EOL}`)}const it=typeof process!=="undefined"&&process.env&&process.env.DEBUG||undefined;let at;let ct=[];let ut=[];const At=[];if(it){enable(it)}const dt=Object.assign((e=>createDebugger(e)),{enable:enable,enabled:enabled,disable:disable,log:log});function enable(e){at=e;ct=[];ut=[];const t=e.split(",").map((e=>e.trim()));for(const e of t){if(e.startsWith("-")){ut.push(e.substring(1))}else{ct.push(e)}}for(const e of At){e.enabled=enabled(e.namespace)}}function enabled(e){if(e.endsWith("*")){return true}for(const t of ut){if(namespaceMatches(e,t)){return false}}for(const t of ct){if(namespaceMatches(e,t)){return true}}return false}function namespaceMatches(e,t){if(t.indexOf("*")===-1){return e===t}let r=t;if(t.indexOf("**")!==-1){const e=[];let n="";for(const r of t){if(r==="*"&&n==="*"){continue}else{n=r;e.push(r)}}r=e.join("")}let n=0;let s=0;const o=r.length;const i=e.length;let a=-1;let c=-1;while(n<i&&s<o){if(r[s]==="*"){a=s;s++;if(s===o){return true}while(e[n]!==r[s]){n++;if(n===i){return false}}c=n;n++;s++;continue}else if(r[s]===e[n]){s++;n++}else if(a>=0){s=a+1;n=c+1;if(n===i){return false}while(e[n]!==r[s]){n++;if(n===i){return false}}c=n;n++;s++;continue}else{return false}}const l=n===e.length;const u=s===r.length;const A=s===r.length-1&&r[s]==="*";return l&&(u||A)}function disable(){const e=at||"";enable("");return e}function createDebugger(e){const t=Object.assign(debug,{enabled:enabled(e),destroy:destroy,log:dt.log,namespace:e,extend:extend});function debug(...r){if(!t.enabled){return}if(r.length>0){r[0]=`${e} ${r[0]}`}t.log(...r)}At.push(t);return t}function destroy(){const e=At.indexOf(this);if(e>=0){At.splice(e,1);return true}return false}function extend(e){const t=createDebugger(`${this.namespace}:${e}`);t.log=this.log;return t}const pt=dt;const mt=["verbose","info","warning","error"];const ht={verbose:400,info:300,warning:200,error:100};function patchLogMethod(e,t){t.log=(...t)=>{e.log(...t)}}function isTypeSpecRuntimeLogLevel(e){return mt.includes(e)}function createLoggerContext(e){const t=new Set;const r=typeof process!=="undefined"&&process.env&&process.env[e.logLevelEnvVarName]||undefined;let n;const s=pt(e.namespace);s.log=(...e)=>{pt.log(...e)};function contextSetLogLevel(e){if(e&&!isTypeSpecRuntimeLogLevel(e)){throw new Error(`Unknown log level '${e}'. Acceptable values: ${mt.join(",")}`)}n=e;const r=[];for(const e of t){if(shouldEnable(e)){r.push(e.namespace)}}pt.enable(r.join(","))}if(r){if(isTypeSpecRuntimeLogLevel(r)){contextSetLogLevel(r)}else{console.error(`${e.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${mt.join(", ")}.`)}}function shouldEnable(e){return Boolean(n&&ht[e.level]<=ht[n])}function createLogger(e,r){const n=Object.assign(e.extend(r),{level:r});patchLogMethod(e,n);if(shouldEnable(n)){const e=pt.disable();pt.enable(e+","+n.namespace)}t.add(n);return n}function contextGetLogLevel(){return n}function contextCreateClientLogger(e){const t=s.extend(e);patchLogMethod(s,t);return{error:createLogger(t,"error"),warning:createLogger(t,"warning"),info:createLogger(t,"info"),verbose:createLogger(t,"verbose")}}return{setLogLevel:contextSetLogLevel,getLogLevel:contextGetLogLevel,createClientLogger:contextCreateClientLogger,logger:s}}const ft=createLoggerContext({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});const Et=ft.logger;function setLogLevel(e){ft.setLogLevel(e)}function getLogLevel(){return ft.getLogLevel()}function createClientLogger(e){return ft.createClientLogger(e)}function normalizeName(e){return e.toLowerCase()}function*headerIterator(e){for(const t of e.values()){yield[t.name,t.value]}}class HttpHeadersImpl{_headersMap;constructor(e){this._headersMap=new Map;if(e){for(const t of Object.keys(e)){this.set(t,e[t])}}}set(e,t){this._headersMap.set(normalizeName(e),{name:e,value:String(t).trim()})}get(e){return this._headersMap.get(normalizeName(e))?.value}has(e){return this._headersMap.has(normalizeName(e))}delete(e){this._headersMap.delete(normalizeName(e))}toJSON(e={}){const t={};if(e.preserveCase){for(const e of this._headersMap.values()){t[e.name]=e.value}}else{for(const[e,r]of this._headersMap){t[e]=r.value}}return t}toString(){return JSON.stringify(this.toJSON({preserveCase:true}))}[Symbol.iterator](){return headerIterator(this._headersMap)}}function httpHeaders_createHttpHeaders(e){return new HttpHeadersImpl(e)}function randomUUID(){return crypto.randomUUID()}class PipelineRequestImpl{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url;this.body=e.body;this.headers=e.headers??httpHeaders_createHttpHeaders();this.method=e.method??"GET";this.timeout=e.timeout??0;this.multipartBody=e.multipartBody;this.formData=e.formData;this.disableKeepAlive=e.disableKeepAlive??false;this.proxySettings=e.proxySettings;this.streamResponseStatusCodes=e.streamResponseStatusCodes;this.withCredentials=e.withCredentials??false;this.abortSignal=e.abortSignal;this.onUploadProgress=e.onUploadProgress;this.onDownloadProgress=e.onDownloadProgress;this.requestId=e.requestId||randomUUID();this.allowInsecureConnection=e.allowInsecureConnection??false;this.enableBrowserStreams=e.enableBrowserStreams??false;this.requestOverrides=e.requestOverrides;this.authSchemes=e.authSchemes}}function pipelineRequest_createPipelineRequest(e){return new PipelineRequestImpl(e)}const yt=new Set(["Deserialize","Serialize","Retry","Sign"]);class HttpPipeline{_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[];this._orderedPolicies=undefined}addPolicy(e,t={}){if(t.phase&&t.afterPhase){throw new Error("Policies inside a phase cannot specify afterPhase.")}if(t.phase&&!yt.has(t.phase)){throw new Error(`Invalid phase name: ${t.phase}`)}if(t.afterPhase&&!yt.has(t.afterPhase)){throw new Error(`Invalid afterPhase name: ${t.afterPhase}`)}this._policies.push({policy:e,options:t});this._orderedPolicies=undefined}removePolicy(e){const t=[];this._policies=this._policies.filter((r=>{if(e.name&&r.policy.name===e.name||e.phase&&r.options.phase===e.phase){t.push(r.policy);return false}else{return true}}));this._orderedPolicies=undefined;return t}sendRequest(e,t){const r=this.getOrderedPolicies();const n=r.reduceRight(((e,t)=>r=>t.sendRequest(r,e)),(t=>e.sendRequest(t)));return n(t)}getOrderedPolicies(){if(!this._orderedPolicies){this._orderedPolicies=this.orderPolicies()}return this._orderedPolicies}clone(){return new HttpPipeline(this._policies)}static create(){return new HttpPipeline}orderPolicies(){const e=[];const t=new Map;function createPhase(e){return{name:e,policies:new Set,hasRun:false,hasAfterPolicies:false}}const r=createPhase("Serialize");const n=createPhase("None");const s=createPhase("Deserialize");const o=createPhase("Retry");const i=createPhase("Sign");const a=[r,n,s,o,i];function getPhase(e){if(e==="Retry"){return o}else if(e==="Serialize"){return r}else if(e==="Deserialize"){return s}else if(e==="Sign"){return i}else{return n}}for(const e of this._policies){const r=e.policy;const n=e.options;const s=r.name;if(t.has(s)){throw new Error("Duplicate policy names not allowed in pipeline")}const o={policy:r,dependsOn:new Set,dependants:new Set};if(n.afterPhase){o.afterPhase=getPhase(n.afterPhase);o.afterPhase.hasAfterPolicies=true}t.set(s,o);const i=getPhase(n.phase);i.policies.add(o)}for(const e of this._policies){const{policy:r,options:n}=e;const s=r.name;const o=t.get(s);if(!o){throw new Error(`Missing node for policy ${s}`)}if(n.afterPolicies){for(const e of n.afterPolicies){const r=t.get(e);if(r){o.dependsOn.add(r);r.dependants.add(o)}}}if(n.beforePolicies){for(const e of n.beforePolicies){const r=t.get(e);if(r){r.dependsOn.add(o);o.dependants.add(r)}}}}function walkPhase(r){r.hasRun=true;for(const n of r.policies){if(n.afterPhase&&(!n.afterPhase.hasRun||n.afterPhase.policies.size)){continue}if(n.dependsOn.size===0){e.push(n.policy);for(const e of n.dependants){e.dependsOn.delete(n)}t.delete(n.policy.name);r.policies.delete(n)}}}function walkPhases(){for(const e of a){walkPhase(e);if(e.policies.size>0&&e!==n){if(!n.hasRun){walkPhase(n)}return}if(e.hasAfterPolicies){walkPhase(n)}}}let c=0;while(t.size>0){c++;const t=e.length;walkPhases();if(e.length<=t&&c>1){throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}}return e}}function pipeline_createEmptyPipeline(){return HttpPipeline.create()}function isObject(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function isError(e){if(isObject(e)){const t=typeof e.name==="string";const r=typeof e.message==="string";return t&&r}return false}const Ct=st.inspect.custom;const It="REDACTED";const Bt=["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 bt=["api-version"];class Sanitizer{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=Bt.concat(e);t=bt.concat(t);this.allowedHeaderNames=new Set(e.map((e=>e.toLowerCase())));this.allowedQueryParameters=new Set(t.map((e=>e.toLowerCase())))}sanitize(e){const t=new Set;return JSON.stringify(e,((e,r)=>{if(r instanceof Error){return{...r,name:r.name,message:r.message}}if(e==="headers"){return this.sanitizeHeaders(r)}else if(e==="url"){return this.sanitizeUrl(r)}else if(e==="query"){return this.sanitizeQuery(r)}else if(e==="body"){return undefined}else if(e==="response"){return undefined}else if(e==="operationSpec"){return undefined}else if(Array.isArray(r)||isObject(r)){if(t.has(r)){return"[Circular]"}t.add(r)}return r}),2)}sanitizeUrl(e){if(typeof e!=="string"||e===null||e===""){return e}const t=new URL(e);if(!t.search){return e}for(const[e]of t.searchParams){if(!this.allowedQueryParameters.has(e.toLowerCase())){t.searchParams.set(e,It)}}return t.toString()}sanitizeHeaders(e){const t={};for(const r of Object.keys(e)){if(this.allowedHeaderNames.has(r.toLowerCase())){t[r]=e[r]}else{t[r]=It}}return t}sanitizeQuery(e){if(typeof e!=="object"||e===null){return e}const t={};for(const r of Object.keys(e)){if(this.allowedQueryParameters.has(r.toLowerCase())){t[r]=e[r]}else{t[r]=It}}return t}}const wt=new Sanitizer;class restError_RestError extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,t={}){super(e);this.name="RestError";this.code=t.code;this.statusCode=t.statusCode;Object.defineProperty(this,"request",{value:t.request,enumerable:false});Object.defineProperty(this,"response",{value:t.response,enumerable:false});const r=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:undefined;Object.defineProperty(this,Ct,{value:()=>`RestError: ${this.message} \n ${wt.sanitize({...this,request:{...this.request,agent:r},response:this.response})}`,enumerable:false});Object.setPrototypeOf(this,restError_RestError.prototype)}}function restError_isRestError(e){if(e instanceof restError_RestError){return true}return isError(e)&&e.name==="RestError"}var St=__nccwpck_require__(7067);const Qt=e(import.meta.url)("node:https");var Nt=__nccwpck_require__(8522);var Rt=__nccwpck_require__(7075);const vt=createClientLogger("ts-http-runtime");const xt={};function nodeHttpClient_isReadableStream(e){return e&&typeof e.pipe==="function"}function isStreamComplete(e){if(e.readable===false){return Promise.resolve()}return new Promise((t=>{const handler=()=>{t();e.removeListener("close",handler);e.removeListener("end",handler);e.removeListener("error",handler)};e.on("close",handler);e.on("end",handler);e.on("error",handler)}))}function isArrayBuffer(e){return e&&typeof e.byteLength==="number"}class ReportTransform extends Rt.Transform{loadedBytes=0;progressCallback;_transform(e,t,r){this.push(e);this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes});r()}catch(e){r(e)}}constructor(e){super();this.progressCallback=e}}class NodeHttpClient{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){const t=new AbortController;let r;if(e.abortSignal){if(e.abortSignal.aborted){throw new AbortError("The operation was aborted. Request has already been canceled.")}r=e=>{if(e.type==="abort"){t.abort()}};e.abortSignal.addEventListener("abort",r)}let n;if(e.timeout>0){n=setTimeout((()=>{const r=new Sanitizer;vt.info(`request to '${r.sanitizeUrl(e.url)}' timed out. canceling...`);t.abort()}),e.timeout)}const s=e.headers.get("Accept-Encoding");const o=s?.includes("gzip")||s?.includes("deflate");let i=typeof e.body==="function"?e.body():e.body;if(i&&!e.headers.has("Content-Length")){const t=getBodyLength(i);if(t!==null){e.headers.set("Content-Length",t)}}let a;try{if(i&&e.onUploadProgress){const t=e.onUploadProgress;const r=new ReportTransform(t);r.on("error",(e=>{vt.error("Error in upload progress",e)}));if(nodeHttpClient_isReadableStream(i)){i.pipe(r)}else{r.end(i)}i=r}const r=await this.makeRequest(e,t,i);if(n!==undefined){clearTimeout(n)}const s=getResponseHeaders(r);const c=r.statusCode??0;const l={status:c,headers:s,request:e};if(e.method==="HEAD"){r.resume();return l}a=o?getDecodedResponseStream(r,s):r;const u=e.onDownloadProgress;if(u){const e=new ReportTransform(u);e.on("error",(e=>{vt.error("Error in download progress",e)}));a.pipe(e);a=e}if(e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(l.status)){l.readableStreamBody=a}else{l.bodyAsText=await streamToText(a)}return l}finally{if(e.abortSignal&&r){let t=Promise.resolve();if(nodeHttpClient_isReadableStream(i)){t=isStreamComplete(i)}let n=Promise.resolve();if(nodeHttpClient_isReadableStream(a)){n=isStreamComplete(a)}Promise.all([t,n]).then((()=>{if(r){e.abortSignal?.removeEventListener("abort",r)}})).catch((e=>{vt.warning("Error when cleaning up abortListener on httpRequest",e)}))}}}makeRequest(e,t,r){const n=new URL(e.url);const s=n.protocol!=="https:";if(s&&!e.allowInsecureConnection){throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`)}const o=e.agent??this.getOrCreateAgent(e,s);const i={agent:o,hostname:n.hostname,path:`${n.pathname}${n.search}`,port:n.port,method:e.method,headers:e.headers.toJSON({preserveCase:true}),...e.requestOverrides};return new Promise(((n,o)=>{const a=s?St.request(i,n):Qt.request(i,n);a.once("error",(t=>{o(new restError_RestError(t.message,{code:t.code??restError_RestError.REQUEST_SEND_ERROR,request:e}))}));t.signal.addEventListener("abort",(()=>{const e=new AbortError("The operation was aborted. Rejecting from abort signal callback while making request.");a.destroy(e);o(e)}));if(r&&nodeHttpClient_isReadableStream(r)){r.pipe(a)}else if(r){if(typeof r==="string"||Buffer.isBuffer(r)){a.end(r)}else if(isArrayBuffer(r)){a.end(ArrayBuffer.isView(r)?Buffer.from(r.buffer):Buffer.from(r))}else{vt.error("Unrecognized body type",r);o(new restError_RestError("Unrecognized body type"))}}else{a.end()}}))}getOrCreateAgent(e,t){const r=e.disableKeepAlive;if(t){if(r){return St.globalAgent}if(!this.cachedHttpAgent){this.cachedHttpAgent=new St.Agent({keepAlive:true})}return this.cachedHttpAgent}else{if(r&&!e.tlsSettings){return Qt.globalAgent}const t=e.tlsSettings??xt;let n=this.cachedHttpsAgents.get(t);if(n&&n.options.keepAlive===!r){return n}vt.info("No cached TLS Agent exist, creating a new Agent");n=new Qt.Agent({keepAlive:!r,...t});this.cachedHttpsAgents.set(t,n);return n}}}function getResponseHeaders(e){const t=httpHeaders_createHttpHeaders();for(const r of Object.keys(e.headers)){const n=e.headers[r];if(Array.isArray(n)){if(n.length>0){t.set(r,n[0])}}else if(n){t.set(r,n)}}return t}function getDecodedResponseStream(e,t){const r=t.get("Content-Encoding");if(r==="gzip"){const t=Nt.createGunzip();e.pipe(t);return t}else if(r==="deflate"){const t=Nt.createInflate();e.pipe(t);return t}return e}function streamToText(e){return new Promise(((t,r)=>{const n=[];e.on("data",(e=>{if(Buffer.isBuffer(e)){n.push(e)}else{n.push(Buffer.from(e))}}));e.on("end",(()=>{t(Buffer.concat(n).toString("utf8"))}));e.on("error",(e=>{if(e&&e?.name==="AbortError"){r(e)}else{r(new restError_RestError(`Error reading response as text: ${e.message}`,{code:restError_RestError.PARSE_ERROR}))}}))}))}function getBodyLength(e){if(!e){return 0}else if(Buffer.isBuffer(e)){return e.length}else if(nodeHttpClient_isReadableStream(e)){return null}else if(isArrayBuffer(e)){return e.byteLength}else if(typeof e==="string"){return Buffer.from(e).length}else{return null}}function createNodeHttpClient(){return new NodeHttpClient}function defaultHttpClient_createDefaultHttpClient(){return createNodeHttpClient()}const Tt="logPolicy";function logPolicy_logPolicy(e={}){const t=e.logger??vt.info;const r=new Sanitizer({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:Tt,async sendRequest(e,n){if(!t.enabled){return n(e)}t(`Request: ${r.sanitize(e)}`);const s=await n(e);t(`Response status code: ${s.status}`);t(`Headers: ${r.sanitize(s.headers)}`);return s}}}function getHeaderName(){return"User-Agent"}async function userAgentPlatform_setPlatformSpecificData(e){if(process&&process.versions){const t=`${os.type()} ${os.release()}; ${os.arch()}`;const r=process.versions;if(r.bun){e.set("Bun",`${r.bun} (${t})`)}else if(r.deno){e.set("Deno",`${r.deno} (${t})`)}else if(r.node){e.set("Node",`${r.node} (${t})`)}}}function getUserAgentString(e){const t=[];for(const[r,n]of e){const e=n?`${r}/${n}`:r;t.push(e)}return t.join(" ")}function getUserAgentHeaderName(){return getHeaderName()}async function userAgent_getUserAgentValue(e){const t=new Map;t.set("ts-http-runtime",SDK_VERSION);await setPlatformSpecificData(t);const r=getUserAgentString(t);const n=e?`${e} ${r}`:r;return n}const kt=getUserAgentHeaderName();const Dt="userAgentPolicy";function userAgentPolicy_userAgentPolicy(e={}){const t=getUserAgentValue(e.userAgentPrefix);return{name:Dt,async sendRequest(e,r){if(!e.headers.has(kt)){e.headers.set(kt,await t)}return r(e)}}}function random_getRandomIntegerInclusive(e,t){e=Math.ceil(e);t=Math.floor(t);const r=Math.floor(Math.random()*(t-e+1));return r+e}function calculateRetryDelay(e,t){const r=t.retryDelayInMs*Math.pow(2,e);const n=Math.min(t.maxRetryDelayInMs,r);const s=n/2+random_getRandomIntegerInclusive(0,n/2);return{retryAfterInMs:s}}const _t="The operation was aborted.";function delay(e,t,r){return new Promise(((n,s)=>{let o=undefined;let i=undefined;const rejectOnAbort=()=>s(new AbortError(r?.abortErrorMsg?r?.abortErrorMsg:_t));const removeListeners=()=>{if(r?.abortSignal&&i){r.abortSignal.removeEventListener("abort",i)}};i=()=>{if(o){clearTimeout(o)}removeListeners();return rejectOnAbort()};if(r?.abortSignal&&r.abortSignal.aborted){return rejectOnAbort()}o=setTimeout((()=>{removeListeners();n(t)}),e);if(r?.abortSignal){r.abortSignal.addEventListener("abort",i)}}))}function parseHeaderValueAsNumber(e,t){const r=e.headers.get(t);if(!r)return;const n=Number(r);if(Number.isNaN(n))return;return n}const Pt="Retry-After";const Lt=["retry-after-ms","x-ms-retry-after-ms",Pt];function getRetryAfterInMs(e){if(!(e&&[429,503].includes(e.status)))return undefined;try{for(const t of Lt){const r=parseHeaderValueAsNumber(e,t);if(r===0||r){const e=t===Pt?1e3:1;return r*e}}const t=e.headers.get(Pt);if(!t)return;const r=Date.parse(t);const n=r-Date.now();return Number.isFinite(n)?Math.max(0,n):undefined}catch{return undefined}}function isThrottlingRetryResponse(e){return Number.isFinite(getRetryAfterInMs(e))}function throttlingRetryStrategy_throttlingRetryStrategy(){return{name:"throttlingRetryStrategy",retry({response:e}){const t=getRetryAfterInMs(e);if(!Number.isFinite(t)){return{skipStrategy:true}}return{retryAfterInMs:t}}}}const Mt=1e3;const Ot=1e3*64;function exponentialRetryStrategy_exponentialRetryStrategy(e={}){const t=e.retryDelayInMs??Mt;const r=e.maxRetryDelayInMs??Ot;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:s,responseError:o}){const i=isSystemError(o);const a=i&&e.ignoreSystemErrors;const c=isExponentialRetryResponse(s);const l=c&&e.ignoreHttpStatusCodes;const u=s&&(isThrottlingRetryResponse(s)||!c);if(u||l||a){return{skipStrategy:true}}if(o&&!i&&!c){return{errorToThrow:o}}return calculateRetryDelay(n,{retryDelayInMs:t,maxRetryDelayInMs:r})}}}function isExponentialRetryResponse(e){return Boolean(e&&e.status!==undefined&&(e.status>=500||e.status===408)&&e.status!==501&&e.status!==505)}function isSystemError(e){if(!e){return false}return e.code==="ETIMEDOUT"||e.code==="ESOCKETTIMEDOUT"||e.code==="ECONNREFUSED"||e.code==="ECONNRESET"||e.code==="ENOENT"||e.code==="ENOTFOUND"}const Ft="0.3.2";const Ut=3;const Ht=createClientLogger("ts-http-runtime retryPolicy");const Gt="retryPolicy";function retryPolicy_retryPolicy(e,t={maxRetries:Ut}){const r=t.logger||Ht;return{name:Gt,async sendRequest(n,s){let o;let i;let a=-1;e:while(true){a+=1;o=undefined;i=undefined;try{r.info(`Retry ${a}: Attempting to send request`,n.requestId);o=await s(n);r.info(`Retry ${a}: Received a response from request`,n.requestId)}catch(e){r.error(`Retry ${a}: Received an error from request`,n.requestId);i=e;if(!e||i.name!=="RestError"){throw e}o=i.response}if(n.abortSignal?.aborted){r.error(`Retry ${a}: Request aborted.`);const e=new AbortError;throw e}if(a>=(t.maxRetries??Ut)){r.info(`Retry ${a}: Maximum retries reached. Returning the last received response, or throwing the last received error.`);if(i){throw i}else if(o){return o}else{throw new Error("Maximum retries reached with no response or error to throw")}}r.info(`Retry ${a}: Processing ${e.length} retry strategies.`);t:for(const t of e){const e=t.logger||r;e.info(`Retry ${a}: Processing retry strategy ${t.name}.`);const s=t.retry({retryCount:a,response:o,responseError:i});if(s.skipStrategy){e.info(`Retry ${a}: Skipped.`);continue t}const{errorToThrow:c,retryAfterInMs:l,redirectTo:u}=s;if(c){e.error(`Retry ${a}: Retry strategy ${t.name} throws error:`,c);throw c}if(l||l===0){e.info(`Retry ${a}: Retry strategy ${t.name} retries after ${l}`);await delay(l,undefined,{abortSignal:n.abortSignal});continue e}if(u){e.info(`Retry ${a}: Retry strategy ${t.name} redirects to ${u}`);n.url=u;continue e}}if(i){r.info(`None of the retry strategies could work with the received error. Throwing it.`);throw i}if(o){r.info(`None of the retry strategies could work with the received response. Returning it.`);return o}}}}}const qt="defaultRetryPolicy";function defaultRetryPolicy_defaultRetryPolicy(e={}){return{name:qt,sendRequest:retryPolicy_retryPolicy([throttlingRetryStrategy_throttlingRetryStrategy(),exponentialRetryStrategy_exponentialRetryStrategy(e)],{maxRetries:e.maxRetries??Ut}).sendRequest}}function bytesEncoding_uint8ArrayToString(e,t){return Buffer.from(e).toString(t)}function bytesEncoding_stringToUint8Array(e,t){return Buffer.from(e,t)}const zt=typeof window!=="undefined"&&typeof window.document!=="undefined";const Vt=typeof self==="object"&&typeof self?.importScripts==="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope");const $t=typeof Deno!=="undefined"&&typeof Deno.version!=="undefined"&&typeof Deno.version.deno!=="undefined";const Jt=typeof Bun!=="undefined"&&typeof Bun.version!=="undefined";const Yt=typeof globalThis.process!=="undefined"&&Boolean(globalThis.process.version)&&Boolean(globalThis.process.versions?.node);const Wt=Yt&&!Jt&&!$t;const jt=typeof navigator!=="undefined"&&navigator?.product==="ReactNative";const Kt="formDataPolicy";function formDataToFormDataMap(e){const t={};for(const[r,n]of e.entries()){t[r]??=[];t[r].push(n)}return t}function formDataPolicy_formDataPolicy(){return{name:Kt,async sendRequest(e,t){if(Yt&&typeof FormData!=="undefined"&&e.body instanceof FormData){e.formData=formDataToFormDataMap(e.body);e.body=undefined}if(e.formData){const t=e.headers.get("Content-Type");if(t&&t.indexOf("application/x-www-form-urlencoded")!==-1){e.body=wwwFormUrlEncode(e.formData)}else{await prepareFormData(e.formData,e)}e.formData=undefined}return t(e)}}}function wwwFormUrlEncode(e){const t=new URLSearchParams;for(const[r,n]of Object.entries(e)){if(Array.isArray(n)){for(const e of n){t.append(r,e.toString())}}else{t.append(r,n.toString())}}return t.toString()}async function prepareFormData(e,t){const r=t.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data")){return}t.headers.set("Content-Type",r??"multipart/form-data");const n=[];for(const[t,r]of Object.entries(e)){for(const e of Array.isArray(r)?r:[r]){if(typeof e==="string"){n.push({headers:httpHeaders_createHttpHeaders({"Content-Disposition":`form-data; name="${t}"`}),body:bytesEncoding_stringToUint8Array(e,"utf-8")})}else if(e===undefined||e===null||typeof e!=="object"){throw new Error(`Unexpected value for key ${t}: ${e}. Value should be serialized to string first.`)}else{const r=e.name||"blob";const s=httpHeaders_createHttpHeaders();s.set("Content-Disposition",`form-data; name="${t}"; filename="${r}"`);s.set("Content-Type",e.type||"application/octet-stream");n.push({headers:s,body:e})}}}t.multipartBody={parts:n}}var Xt=__nccwpck_require__(3669);var Zt=__nccwpck_require__(1970);const er="HTTPS_PROXY";const tr="HTTP_PROXY";const rr="ALL_PROXY";const nr="NO_PROXY";const sr="proxyPolicy";const or=[];let ir=false;const ar=new Map;function getEnvironmentValue(e){if(process.env[e]){return process.env[e]}else if(process.env[e.toLowerCase()]){return process.env[e.toLowerCase()]}return undefined}function loadEnvironmentProxyValue(){if(!process){return undefined}const e=getEnvironmentValue(er);const t=getEnvironmentValue(rr);const r=getEnvironmentValue(tr);return e||t||r}function isBypassed(e,t,r){if(t.length===0){return false}const n=new URL(e).hostname;if(r?.has(n)){return r.get(n)}let s=false;for(const e of t){if(e[0]==="."){if(n.endsWith(e)){s=true}else{if(n.length===e.length-1&&n===e.slice(1)){s=true}}}else{if(n===e){s=true}}}r?.set(n,s);return s}function loadNoProxy(){const e=getEnvironmentValue(nr);ir=true;if(e){return e.split(",").map((e=>e.trim())).filter((e=>e.length))}return[]}function getDefaultProxySettings(e){if(!e){e=loadEnvironmentProxyValue();if(!e){return undefined}}const t=new URL(e);const r=t.protocol?t.protocol+"//":"";return{host:r+t.hostname,port:Number.parseInt(t.port||"80"),username:t.username,password:t.password}}function getDefaultProxySettingsInternal(){const e=loadEnvironmentProxyValue();return e?new URL(e):undefined}function getUrlFromProxySettings(e){let t;try{t=new URL(e.host)}catch{throw new Error(`Expecting a valid host string in proxy settings, but found "${e.host}".`)}t.port=String(e.port);if(e.username){t.username=e.username}if(e.password){t.password=e.password}return t}function setProxyAgentOnRequest(e,t,r){if(e.agent){return}const n=new URL(e.url);const s=n.protocol!=="https:";if(e.tlsSettings){vt.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.")}const o=e.headers.toJSON();if(s){if(!t.httpProxyAgent){t.httpProxyAgent=new Zt.HttpProxyAgent(r,{headers:o})}e.agent=t.httpProxyAgent}else{if(!t.httpsProxyAgent){t.httpsProxyAgent=new Xt.HttpsProxyAgent(r,{headers:o})}e.agent=t.httpsProxyAgent}}function proxyPolicy_proxyPolicy(e,t){if(!ir){or.push(...loadNoProxy())}const r=e?getUrlFromProxySettings(e):getDefaultProxySettingsInternal();const n={};return{name:sr,async sendRequest(e,s){if(!e.proxySettings&&r&&!isBypassed(e.url,t?.customNoProxyList??or,t?.customNoProxyList?undefined:ar)){setProxyAgentOnRequest(e,n,r)}else if(e.proxySettings){setProxyAgentOnRequest(e,n,getUrlFromProxySettings(e.proxySettings))}return s(e)}}}function isNodeReadableStream(e){return Boolean(e&&typeof e["pipe"]==="function")}function isWebReadableStream(e){return Boolean(e&&typeof e.getReader==="function"&&typeof e.tee==="function")}function typeGuards_isBinaryBody(e){return e!==undefined&&(e instanceof Uint8Array||typeGuards_isReadableStream(e)||typeof e==="function"||e instanceof Blob)}function typeGuards_isReadableStream(e){return isNodeReadableStream(e)||isWebReadableStream(e)}function isBlob(e){return typeof e.stream==="function"}async function*streamAsyncIterator(){const e=this.getReader();try{while(true){const{done:t,value:r}=await e.read();if(t){return}yield r}}finally{e.releaseLock()}}function makeAsyncIterable(e){if(!e[Symbol.asyncIterator]){e[Symbol.asyncIterator]=streamAsyncIterator.bind(e)}if(!e.values){e.values=streamAsyncIterator.bind(e)}}function ensureNodeStream(e){if(e instanceof ReadableStream){makeAsyncIterable(e);return Ce.Readable.fromWeb(e)}else{return e}}function toStream(e){if(e instanceof Uint8Array){return Ce.Readable.from(Buffer.from(e))}else if(isBlob(e)){return ensureNodeStream(e.stream())}else{return ensureNodeStream(e)}}async function concat(e){return function(){const t=e.map((e=>typeof e==="function"?e():e)).map(toStream);return Ce.Readable.from(async function*(){for(const e of t){for await(const t of e){yield t}}}())}}function generateBoundary(){return`----AzSDKFormBoundary${randomUUID()}`}function encodeHeaders(e){let t="";for(const[r,n]of e){t+=`${r}: ${n}\r\n`}return t}function getLength(e){if(e instanceof Uint8Array){return e.byteLength}else if(isBlob(e)){return e.size===-1?undefined:e.size}else{return undefined}}function getTotalLength(e){let t=0;for(const r of e){const e=getLength(r);if(e===undefined){return undefined}else{t+=e}}return t}async function buildRequestBody(e,t,r){const n=[bytesEncoding_stringToUint8Array(`--${r}`,"utf-8"),...t.flatMap((e=>[bytesEncoding_stringToUint8Array("\r\n","utf-8"),bytesEncoding_stringToUint8Array(encodeHeaders(e.headers),"utf-8"),bytesEncoding_stringToUint8Array("\r\n","utf-8"),e.body,bytesEncoding_stringToUint8Array(`\r\n--${r}`,"utf-8")])),bytesEncoding_stringToUint8Array("--\r\n\r\n","utf-8")];const s=getTotalLength(n);if(s){e.headers.set("Content-Length",s)}e.body=await concat(n)}const cr="multipartPolicy";const lr=70;const ur=new Set(`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?`);function assertValidBoundary(e){if(e.length>lr){throw new Error(`Multipart boundary "${e}" exceeds maximum length of 70 characters`)}if(Array.from(e).some((e=>!ur.has(e)))){throw new Error(`Multipart boundary "${e}" contains invalid characters`)}}function multipartPolicy_multipartPolicy(){return{name:cr,async sendRequest(e,t){if(!e.multipartBody){return t(e)}if(e.body){throw new Error("multipartBody and regular body cannot be set at the same time")}let r=e.multipartBody.boundary;const n=e.headers.get("Content-Type")??"multipart/mixed";const s=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!s){throw new Error(`Got multipart request body, but content-type header was not multipart: ${n}`)}const[,o,i]=s;if(i&&r&&i!==r){throw new Error(`Multipart boundary was specified as ${i} in the header, but got ${r} in the request body`)}r??=i;if(r){assertValidBoundary(r)}else{r=generateBoundary()}e.headers.set("Content-Type",`${o}; boundary=${r}`);await buildRequestBody(e,e.multipartBody.parts,r);e.multipartBody=undefined;return t(e)}}}function createPipelineFromOptions_createPipelineFromOptions(e){const t=createEmptyPipeline();if(isNodeLike){if(e.agent){t.addPolicy(agentPolicy(e.agent))}if(e.tlsOptions){t.addPolicy(tlsPolicy(e.tlsOptions))}t.addPolicy(proxyPolicy(e.proxyOptions));t.addPolicy(decompressResponsePolicy())}t.addPolicy(formDataPolicy(),{beforePolicies:[multipartPolicyName]});t.addPolicy(userAgentPolicy(e.userAgentOptions));t.addPolicy(multipartPolicy(),{afterPhase:"Deserialize"});t.addPolicy(defaultRetryPolicy(e.retryOptions),{phase:"Retry"});if(isNodeLike){t.addPolicy(redirectPolicy(e.redirectOptions),{afterPhase:"Retry"})}t.addPolicy(logPolicy(e.loggingOptions),{afterPhase:"Sign"});return t}let Ar=false;function allowInsecureConnection(e,t){if(t.allowInsecureConnection&&e.allowInsecureConnection){const t=new URL(e.url);if(t.hostname==="localhost"||t.hostname==="127.0.0.1"){return true}}return false}function emitInsecureConnectionWarning(){const e="Sending token over insecure transport. Assume any token issued is compromised.";logger.warning(e);if(typeof process?.emitWarning==="function"&&!Ar){Ar=true;process.emitWarning(e)}}function checkInsecureConnection_ensureSecureConnection(e,t){if(!e.url.toLowerCase().startsWith("https://")){if(allowInsecureConnection(e,t)){emitInsecureConnectionWarning()}else{throw new Error("Authentication is not permitted for non-TLS protected (non-https) URLs when allowInsecureConnection is false.")}}}const dr="apiKeyAuthenticationPolicy";function apiKeyAuthenticationPolicy_apiKeyAuthenticationPolicy(e){return{name:dr,async sendRequest(t,r){ensureSecureConnection(t,e);const n=(t.authSchemes??e.authSchemes)?.find((e=>e.kind==="apiKey"));if(!n){return r(t)}if(n.apiKeyLocation!=="header"){throw new Error(`Unsupported API key location: ${n.apiKeyLocation}`)}t.headers.set(n.name,e.credential.key);return r(t)}}}const pr="bearerAuthenticationPolicy";function basicAuthenticationPolicy_basicAuthenticationPolicy(e){return{name:pr,async sendRequest(t,r){ensureSecureConnection(t,e);const n=(t.authSchemes??e.authSchemes)?.find((e=>e.kind==="http"&&e.scheme==="basic"));if(!n){return r(t)}const{username:s,password:o}=e.credential;const i=uint8ArrayToString(stringToUint8Array(`${s}:${o}`,"utf-8"),"base64");t.headers.set("Authorization",`Basic ${i}`);return r(t)}}}const mr="bearerAuthenticationPolicy";function bearerAuthenticationPolicy_bearerAuthenticationPolicy(e){return{name:mr,async sendRequest(t,r){ensureSecureConnection(t,e);const n=(t.authSchemes??e.authSchemes)?.find((e=>e.kind==="http"&&e.scheme==="bearer"));if(!n){return r(t)}const s=await e.credential.getBearerToken({abortSignal:t.abortSignal});t.headers.set("Authorization",`Bearer ${s}`);return r(t)}}}const hr="oauth2AuthenticationPolicy";function oauth2AuthenticationPolicy_oauth2AuthenticationPolicy(e){return{name:hr,async sendRequest(t,r){ensureSecureConnection(t,e);const n=(t.authSchemes??e.authSchemes)?.find((e=>e.kind==="oauth2"));if(!n){return r(t)}const s=await e.credential.getOAuth2Token(n.flows,{abortSignal:t.abortSignal});t.headers.set("Authorization",`Bearer ${s}`);return r(t)}}}let gr;function clientHelpers_createDefaultPipeline(e={}){const t=createPipelineFromOptions(e);t.addPolicy(apiVersionPolicy(e));const{credential:r,authSchemes:n,allowInsecureConnection:s}=e;if(r){if(isApiKeyCredential(r)){t.addPolicy(apiKeyAuthenticationPolicy({authSchemes:n,credential:r,allowInsecureConnection:s}))}else if(isBasicCredential(r)){t.addPolicy(basicAuthenticationPolicy({authSchemes:n,credential:r,allowInsecureConnection:s}))}else if(isBearerTokenCredential(r)){t.addPolicy(bearerAuthenticationPolicy({authSchemes:n,credential:r,allowInsecureConnection:s}))}else if(isOAuth2TokenCredential(r)){t.addPolicy(oauth2AuthenticationPolicy({authSchemes:n,credential:r,allowInsecureConnection:s}))}}return t}function clientHelpers_getCachedDefaultHttpsClient(){if(!gr){gr=createDefaultHttpClient()}return gr}function getHeaderValue(e,t){if(e.headers){const r=Object.keys(e.headers).find((e=>e.toLowerCase()===t.toLowerCase()));if(r){return e.headers[r]}}return undefined}function getPartContentType(e){const t=getHeaderValue(e,"content-type");if(t){return t}if(e.contentType===null){return undefined}if(e.contentType){return e.contentType}const{body:r}=e;if(r===null||r===undefined){return undefined}if(typeof r==="string"||typeof r==="number"||typeof r==="boolean"){return"text/plain; charset=UTF-8"}if(r instanceof Blob){return r.type||"application/octet-stream"}if(isBinaryBody(r)){return"application/octet-stream"}return"application/json"}function escapeDispositionField(e){return JSON.stringify(e)}function getContentDisposition(e){const t=getHeaderValue(e,"content-disposition");if(t){return t}if(e.dispositionType===undefined&&e.name===undefined&&e.filename===undefined){return undefined}const r=e.dispositionType??"form-data";let n=r;if(e.name){n+=`; name=${escapeDispositionField(e.name)}`}let s=undefined;if(e.filename){s=e.filename}else if(typeof File!=="undefined"&&e.body instanceof File){const t=e.body.name;if(t!==""){s=t}}if(s){n+=`; filename=${escapeDispositionField(s)}`}return n}function normalizeBody(e,t){if(e===undefined){return new Uint8Array([])}if(isBinaryBody(e)){return e}if(typeof e==="string"||typeof e==="number"||typeof e==="boolean"){return stringToUint8Array(String(e),"utf-8")}if(t&&/application\/(.+\+)?json(;.+)?/i.test(String(t))){return stringToUint8Array(JSON.stringify(e),"utf-8")}throw new RestError(`Unsupported body/content-type combination: ${e}, ${t}`)}function buildBodyPart(e){const t=getPartContentType(e);const r=getContentDisposition(e);const n=createHttpHeaders(e.headers??{});if(t){n.set("content-type",t)}if(r){n.set("content-disposition",r)}const s=normalizeBody(e.body,t);return{headers:n,body:s}}function multipart_buildMultipartBody(e){return{parts:e.map(buildBodyPart)}}async function sendRequest_sendRequest(e,t,r,n={},s){const o=s??getCachedDefaultHttpsClient();const i=buildPipelineRequest(e,t,n);try{const e=await r.sendRequest(o,i);const t=e.headers.toJSON();const s=e.readableStreamBody??e.browserStreamBody;const a=n.responseAsStream||s!==undefined?undefined:getResponseBody(e);const c=s??a;if(n?.onResponse){n.onResponse({...e,request:i,rawHeaders:t,parsedBody:a})}return{request:i,headers:t,status:`${e.status}`,body:c}}catch(e){if(isRestError(e)&&e.response&&n.onResponse){const{response:t}=e;const r=t.headers.toJSON();n?.onResponse({...t,request:i,rawHeaders:r},e)}throw e}}function getRequestContentType(e={}){return e.contentType??e.headers?.["content-type"]??getContentType(e.body)}function getContentType(e){if(ArrayBuffer.isView(e)){return"application/octet-stream"}if(typeof e==="string"){try{JSON.parse(e);return"application/json"}catch(e){return undefined}}return"application/json"}function buildPipelineRequest(e,t,r={}){const n=getRequestContentType(r);const{body:s,multipartBody:o}=getRequestBody(r.body,n);const i=s!==undefined||o!==undefined;const a=createHttpHeaders({...r.headers?r.headers:{},accept:r.accept??r.headers?.accept??"application/json",...i&&n&&{"content-type":n}});return createPipelineRequest({url:t,method:e,body:s,multipartBody:o,headers:a,allowInsecureConnection:r.allowInsecureConnection,abortSignal:r.abortSignal,onUploadProgress:r.onUploadProgress,onDownloadProgress:r.onDownloadProgress,timeout:r.timeout,enableBrowserStreams:true,streamResponseStatusCodes:r.responseAsStream?new Set([Number.POSITIVE_INFINITY]):undefined})}function getRequestBody(e,t=""){if(e===undefined){return{body:undefined}}if(typeof FormData!=="undefined"&&e instanceof FormData){return{body:e}}if(isReadableStream(e)){return{body:e}}if(ArrayBuffer.isView(e)){return{body:e instanceof Uint8Array?e:JSON.stringify(e)}}const r=t.split(";")[0];switch(r){case"application/json":return{body:JSON.stringify(e)};case"multipart/form-data":if(Array.isArray(e)){return{multipartBody:buildMultipartBody(e)}}return{body:JSON.stringify(e)};case"text/plain":return{body:String(e)};default:if(typeof e==="string"){return{body:e}}return{body:JSON.stringify(e)}}}function getResponseBody(e){const t=e.headers.get("content-type")??"";const r=t.split(";")[0];const n=e.bodyAsText??"";if(r==="text/plain"){return String(n)}try{return n?JSON.parse(n):undefined}catch(t){if(r==="application/json"){throw createParseError(e,t)}return String(n)}}function createParseError(e,t){const r=`Error "${t}" occurred while parsing the response body - ${e.bodyAsText}.`;const n=t.code??RestError.PARSE_ERROR;return new RestError(r,{code:n,statusCode:e.status,request:e.request,response:e})}function getClient(e,t={}){const r=t.pipeline??createDefaultPipeline(t);if(t.additionalPolicies?.length){for(const{policy:e,position:n}of t.additionalPolicies){const t=n==="perRetry"?"Sign":undefined;r.addPolicy(e,{afterPhase:t})}}const{allowInsecureConnection:n,httpClient:s}=t;const o=t.endpoint??e;const client=(e,...t)=>{const getUrl=r=>buildRequestUrl(o,e,t,{allowInsecureConnection:n,...r});return{get:(e={})=>buildOperation("GET",getUrl(e),r,e,n,s),post:(e={})=>buildOperation("POST",getUrl(e),r,e,n,s),put:(e={})=>buildOperation("PUT",getUrl(e),r,e,n,s),patch:(e={})=>buildOperation("PATCH",getUrl(e),r,e,n,s),delete:(e={})=>buildOperation("DELETE",getUrl(e),r,e,n,s),head:(e={})=>buildOperation("HEAD",getUrl(e),r,e,n,s),options:(e={})=>buildOperation("OPTIONS",getUrl(e),r,e,n,s),trace:(e={})=>buildOperation("TRACE",getUrl(e),r,e,n,s)}};return{path:client,pathUnchecked:client,pipeline:r}}function buildOperation(e,t,r,n,s,o){s=n.allowInsecureConnection??s;return{then:function(i,a){return sendRequest(e,t,r,{...n,allowInsecureConnection:s},o).then(i,a)},async asBrowserStream(){if(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 sendRequest(e,t,r,{...n,allowInsecureConnection:s,responseAsStream:true},o)}},async asNodeStream(){if(isNodeLike){return sendRequest(e,t,r,{...n,allowInsecureConnection:s,responseAsStream:true},o)}else{throw new Error("`isNodeStream` is not supported in the browser environment. Use `asBrowserStream` to obtain the response body stream.")}}}}function createRestError(e,t){const r=typeof e==="string"?t:e;const n=r.body?.error??r.body;const s=typeof e==="string"?e:n?.message??`Unexpected status code: ${r.status}`;return new RestError(s,{statusCode:statusCodeToNumber(r.status),code:n?.code,request:r.request,response:toPipelineResponse(r)})}function toPipelineResponse(e){return{headers:createHttpHeaders(e.headers),request:e.request,status:statusCodeToNumber(e.status)??-1}}function statusCodeToNumber(e){const t=Number.parseInt(e);return Number.isNaN(t)?undefined:t}function esm_pipeline_createEmptyPipeline(){return pipeline_createEmptyPipeline()}const fr=createLoggerContext({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});const Er=fr.logger;function esm_setLogLevel(e){fr.setLogLevel(e)}function esm_getLogLevel(){return fr.getLogLevel()}function esm_createClientLogger(e){return fr.createClientLogger(e)}const yr=esm_createClientLogger("core-rest-pipeline");const Cr="agentPolicy";function agentPolicy_agentPolicy(e){return{name:Cr,sendRequest:async(t,r)=>{if(!t.agent){t.agent=e}return r(t)}}}const Ir="decompressResponsePolicy";function decompressResponsePolicy_decompressResponsePolicy(){return{name:Ir,async sendRequest(e,t){if(e.method!=="HEAD"){e.headers.set("Accept-Encoding","gzip,deflate")}return t(e)}}}const Br="exponentialRetryPolicy";function exponentialRetryPolicy(e={}){return retryPolicy([exponentialRetryStrategy({...e,ignoreSystemErrors:true})],{maxRetries:e.maxRetries??DEFAULT_RETRY_POLICY_COUNT})}const br="systemErrorRetryPolicy";function systemErrorRetryPolicy(e={}){return{name:br,sendRequest:retryPolicy([exponentialRetryStrategy({...e,ignoreHttpStatusCodes:true})],{maxRetries:e.maxRetries??DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}const wr="throttlingRetryPolicy";function throttlingRetryPolicy(e={}){return{name:wr,sendRequest:retryPolicy([throttlingRetryStrategy()],{maxRetries:e.maxRetries??DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}const Sr="redirectPolicy";const Qr=["GET","HEAD"];function redirectPolicy_redirectPolicy(e={}){const{maxRetries:t=20}=e;return{name:Sr,async sendRequest(e,r){const n=await r(e);return handleRedirect(r,n,t)}}}async function handleRedirect(e,t,r,n=0){const{request:s,status:o,headers:i}=t;const a=i.get("location");if(a&&(o===300||o===301&&Qr.includes(s.method)||o===302&&Qr.includes(s.method)||o===303&&s.method==="POST"||o===307)&&n<r){const t=new URL(a,s.url);s.url=t.toString();if(o===303){s.method="GET";s.headers.delete("Content-Length");delete s.body}s.headers.delete("Authorization");const i=await e(s);return handleRedirect(e,i,r,n+1)}return t}const Nr="tlsPolicy";function tlsPolicy_tlsPolicy(e){return{name:Nr,sendRequest:async(t,r)=>{if(!t.tlsSettings){t.tlsSettings=e}return r(t)}}}const Rr=null&&tspLogPolicyName;function policies_logPolicy_logPolicy(e={}){return logPolicy_logPolicy({logger:yr.info,...e})}const vr=Sr;function policies_redirectPolicy_redirectPolicy(e={}){return redirectPolicy_redirectPolicy(e)}function userAgentPlatform_getHeaderName(){return"User-Agent"}async function util_userAgentPlatform_setPlatformSpecificData(e){if(ot&&ot.versions){const t=`${nt.type()} ${nt.release()}; ${nt.arch()}`;const r=ot.versions;if(r.bun){e.set("Bun",`${r.bun} (${t})`)}else if(r.deno){e.set("Deno",`${r.deno} (${t})`)}else if(r.node){e.set("Node",`${r.node} (${t})`)}}}const xr="1.22.2";const Tr=3;function userAgent_getUserAgentString(e){const t=[];for(const[r,n]of e){const e=n?`${r}/${n}`:r;t.push(e)}return t.join(" ")}function userAgent_getUserAgentHeaderName(){return userAgentPlatform_getHeaderName()}async function util_userAgent_getUserAgentValue(e){const t=new Map;t.set("core-rest-pipeline",xr);await util_userAgentPlatform_setPlatformSpecificData(t);const r=userAgent_getUserAgentString(t);const n=e?`${e} ${r}`:r;return n}const kr=userAgent_getUserAgentHeaderName();const Dr="userAgentPolicy";function policies_userAgentPolicy_userAgentPolicy(e={}){const t=util_userAgent_getUserAgentValue(e.userAgentPrefix);return{name:Dr,async sendRequest(e,r){if(!e.headers.has(kr)){e.headers.set(kr,await t)}return r(e)}}}var _r=__nccwpck_require__(7598);async function computeSha256Hmac(e,t,r){const n=Buffer.from(e,"base64");return createHmac("sha256",n).update(t).digest(r)}async function computeSha256Hash(e,t){return createHash("sha256").update(e).digest(t)}class AbortError_AbortError extends Error{constructor(e){super(e);this.name="AbortError"}}function createAbortablePromise(e,t){const{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:s}=t??{};return new Promise(((t,o)=>{function rejectOnAbort(){o(new AbortError_AbortError(s??"The operation was aborted."))}function removeListeners(){n?.removeEventListener("abort",onAbort)}function onAbort(){r?.();removeListeners();rejectOnAbort()}if(n?.aborted){return rejectOnAbort()}try{e((e=>{removeListeners();t(e)}),(e=>{removeListeners();o(e)}))}catch(e){o(e)}n?.addEventListener("abort",onAbort)}))}const Pr="The delay was aborted.";function delay_delay(e,t){let r;const{abortSignal:n,abortErrorMsg:s}=t??{};return createAbortablePromise((t=>{r=setTimeout(t,e)}),{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:n,abortErrorMsg:s??Pr})}function delay_calculateRetryDelay(e,t){const r=t.retryDelayInMs*Math.pow(2,e);const n=Math.min(t.maxRetryDelayInMs,r);const s=n/2+getRandomIntegerInclusive(0,n/2);return{retryAfterInMs:s}}function getErrorMessage(e){if(isError(e)){return e.message}else{let t;try{if(typeof e==="object"&&e){t=JSON.stringify(e)}else{t=String(e)}}catch(e){t="[unable to stringify input]"}return`Unknown error ${t}`}}function esm_calculateRetryDelay(e,t){return tspRuntime.calculateRetryDelay(e,t)}function esm_computeSha256Hash(e,t){return tspRuntime.computeSha256Hash(e,t)}function esm_computeSha256Hmac(e,t,r){return tspRuntime.computeSha256Hmac(e,t,r)}function esm_getRandomIntegerInclusive(e,t){return tspRuntime.getRandomIntegerInclusive(e,t)}function esm_isError(e){return isError(e)}function esm_isObject(e){return tspRuntime.isObject(e)}function esm_randomUUID(){return randomUUID()}const Lr=zt;const Mr=Jt;const Or=$t;const Fr=Yt;const Ur=Yt;const Hr=Wt;const Gr=jt;const qr=Vt;function esm_uint8ArrayToString(e,t){return tspRuntime.uint8ArrayToString(e,t)}function esm_stringToUint8Array(e,t){return tspRuntime.stringToUint8Array(e,t)}function file_isNodeReadableStream(e){return Boolean(e&&typeof e["pipe"]==="function")}const zr={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 Vr=Symbol("rawContent");function hasRawContent(e){return typeof e[Vr]==="function"}function getRawContent(e){if(hasRawContent(e)){return e[Vr]()}else{return e}}function createFileFromStream(e,t,r={}){return{...zr,type:r.type??"",lastModified:r.lastModified??(new Date).getTime(),webkitRelativePath:r.webkitRelativePath??"",size:r.size??-1,name:t,stream:()=>{const t=e();if(file_isNodeReadableStream(t)){throw new Error("Not supported: a Node stream was provided as input to createFileFromStream.")}return t},[Vr]:e}}function createFile(e,t,r={}){if(isNodeLike){return{...zr,type:r.type??"",lastModified:r.lastModified??(new Date).getTime(),webkitRelativePath:r.webkitRelativePath??"",size:e.byteLength,name:t,arrayBuffer:async()=>e.buffer,stream:()=>new Blob([toArrayBuffer(e)]).stream(),[Vr]:()=>e}}else{return new File([toArrayBuffer(e)],t,r)}}function toArrayBuffer(e){if("resize"in e.buffer){return e}return e.map((e=>e))}const $r=cr;function policies_multipartPolicy_multipartPolicy(){const e=multipartPolicy_multipartPolicy();return{name:$r,sendRequest:async(t,r)=>{if(t.multipartBody){for(const e of t.multipartBody.parts){if(hasRawContent(e.body)){e.body=getRawContent(e.body)}}}return e.sendRequest(t,r)}}}const Jr=Ir;function policies_decompressResponsePolicy_decompressResponsePolicy(){return decompressResponsePolicy_decompressResponsePolicy()}const Yr=null&&tspDefaultRetryPolicyName;function policies_defaultRetryPolicy_defaultRetryPolicy(e={}){return defaultRetryPolicy_defaultRetryPolicy(e)}const Wr=null&&tspFormDataPolicyName;function policies_formDataPolicy_formDataPolicy(){return formDataPolicy_formDataPolicy()}const jr=null&&tspProxyPolicyName;function proxyPolicy_getDefaultProxySettings(e){return getDefaultProxySettings(e)}function policies_proxyPolicy_proxyPolicy(e,t){return proxyPolicy_proxyPolicy(e,t)}const Kr="setClientRequestIdPolicy";function setClientRequestIdPolicy(e="x-ms-client-request-id"){return{name:Kr,async sendRequest(t,r){if(!t.headers.has(e)){t.headers.set(e,t.requestId)}return r(t)}}}const Xr=null&&tspAgentPolicyName;function policies_agentPolicy_agentPolicy(e){return agentPolicy_agentPolicy(e)}const Zr=null&&tspTlsPolicyName;function policies_tlsPolicy_tlsPolicy(e){return tlsPolicy_tlsPolicy(e)}const en={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function createTracingContext(e={}){let t=new TracingContextImpl(e.parentContext);if(e.span){t=t.setValue(en.span,e.span)}if(e.namespace){t=t.setValue(en.namespace,e.namespace)}return t}class TracingContextImpl{_contextMap;constructor(e){this._contextMap=e instanceof TracingContextImpl?new Map(e._contextMap):new Map}setValue(e,t){const r=new TracingContextImpl(this);r._contextMap.set(e,t);return r}getValue(e){return this._contextMap.get(e)}deleteValue(e){const t=new TracingContextImpl(this);t._contextMap.delete(e);return t}}var tn=__nccwpck_require__(8914);const rn=tn.w;function createDefaultTracingSpan(){return{end:()=>{},isRecording:()=>false,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}function createDefaultInstrumenter(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>undefined,startSpan:(e,t)=>({span:createDefaultTracingSpan(),tracingContext:createTracingContext({parentContext:t.tracingContext})}),withContext(e,t,...r){return t(...r)}}}function useInstrumenter(e){state.instrumenterImplementation=e}function getInstrumenter(){if(!rn.instrumenterImplementation){rn.instrumenterImplementation=createDefaultInstrumenter()}return rn.instrumenterImplementation}function createTracingClient(e){const{namespace:t,packageName:r,packageVersion:n}=e;function startSpan(e,s,o){const i=getInstrumenter().startSpan(e,{...o,packageName:r,packageVersion:n,tracingContext:s?.tracingOptions?.tracingContext});let a=i.tracingContext;const c=i.span;if(!a.getValue(en.namespace)){a=a.setValue(en.namespace,t)}c.setAttribute("az.namespace",a.getValue(en.namespace));const l=Object.assign({},s,{tracingOptions:{...s?.tracingOptions,tracingContext:a}});return{span:c,updatedOptions:l}}async function withSpan(e,t,r,n){const{span:s,updatedOptions:o}=startSpan(e,t,n);try{const e=await withContext(o.tracingOptions.tracingContext,(()=>Promise.resolve(r(o,s))));s.setStatus({status:"success"});return e}catch(e){s.setStatus({status:"error",error:e});throw e}finally{s.end()}}function withContext(e,t,...r){return getInstrumenter().withContext(e,t,...r)}function parseTraceparentHeader(e){return getInstrumenter().parseTraceparentHeader(e)}function createRequestHeaders(e){return getInstrumenter().createRequestHeaders(e)}return{startSpan:startSpan,withSpan:withSpan,withContext:withContext,parseTraceparentHeader:parseTraceparentHeader,createRequestHeaders:createRequestHeaders}}const nn=restError_RestError;function esm_restError_isRestError(e){return restError_isRestError(e)}const sn="tracingPolicy";function tracingPolicy(e={}){const t=util_userAgent_getUserAgentValue(e.userAgentPrefix);const r=new Sanitizer({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});const n=tryCreateTracingClient();return{name:sn,async sendRequest(e,s){if(!n){return s(e)}const o=await t;const i={"http.url":r.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":o,requestId:e.requestId};if(o){i["http.user_agent"]=o}const{span:a,tracingContext:c}=tryCreateSpan(n,e,i)??{};if(!a||!c){return s(e)}try{const t=await n.withContext(c,s,e);tryProcessResponse(a,t);return t}catch(e){tryProcessError(a,e);throw e}}}}function tryCreateTracingClient(){try{return createTracingClient({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:xr})}catch(e){yr.warning(`Error when creating the TracingClient: ${getErrorMessage(e)}`);return undefined}}function tryCreateSpan(e,t,r){try{const{span:n,updatedOptions:s}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:r});if(!n.isRecording()){n.end();return undefined}const o=e.createRequestHeaders(s.tracingOptions.tracingContext);for(const[e,r]of Object.entries(o)){t.headers.set(e,r)}return{span:n,tracingContext:s.tracingOptions.tracingContext}}catch(e){yr.warning(`Skipping creating a tracing span due to an error: ${getErrorMessage(e)}`);return undefined}}function tryProcessError(e,t){try{e.setStatus({status:"error",error:esm_isError(t)?t:undefined});if(esm_restError_isRestError(t)&&t.statusCode){e.setAttribute("http.status_code",t.statusCode)}e.end()}catch(e){yr.warning(`Skipping tracing span processing due to an error: ${getErrorMessage(e)}`)}}function tryProcessResponse(e,t){try{e.setAttribute("http.status_code",t.status);const r=t.headers.get("x-ms-request-id");if(r){e.setAttribute("serviceRequestId",r)}if(t.status>=400){e.setStatus({status:"error"})}e.end()}catch(e){yr.warning(`Skipping tracing span processing due to an error: ${getErrorMessage(e)}`)}}function wrapAbortSignalLike(e){if(e instanceof AbortSignal){return{abortSignal:e}}if(e.aborted){return{abortSignal:AbortSignal.abort(e.reason)}}const t=new AbortController;let r=true;function cleanup(){if(r){e.removeEventListener("abort",listener);r=false}}function listener(){t.abort(e.reason);cleanup()}e.addEventListener("abort",listener);return{abortSignal:t.signal,cleanup:cleanup}}const on="wrapAbortSignalLikePolicy";function wrapAbortSignalLikePolicy(){return{name:on,sendRequest:async(e,t)=>{if(!e.abortSignal){return t(e)}const{abortSignal:r,cleanup:n}=wrapAbortSignalLike(e.abortSignal);e.abortSignal=r;try{return await t(e)}finally{n?.()}}}}function esm_createPipelineFromOptions_createPipelineFromOptions(e){const t=esm_pipeline_createEmptyPipeline();if(Ur){if(e.agent){t.addPolicy(policies_agentPolicy_agentPolicy(e.agent))}if(e.tlsOptions){t.addPolicy(policies_tlsPolicy_tlsPolicy(e.tlsOptions))}t.addPolicy(policies_proxyPolicy_proxyPolicy(e.proxyOptions));t.addPolicy(policies_decompressResponsePolicy_decompressResponsePolicy())}t.addPolicy(wrapAbortSignalLikePolicy());t.addPolicy(policies_formDataPolicy_formDataPolicy(),{beforePolicies:[$r]});t.addPolicy(policies_userAgentPolicy_userAgentPolicy(e.userAgentOptions));t.addPolicy(setClientRequestIdPolicy(e.telemetryOptions?.clientRequestIdHeaderName));t.addPolicy(policies_multipartPolicy_multipartPolicy(),{afterPhase:"Deserialize"});t.addPolicy(policies_defaultRetryPolicy_defaultRetryPolicy(e.retryOptions),{phase:"Retry"});t.addPolicy(tracingPolicy({...e.userAgentOptions,...e.loggingOptions}),{afterPhase:"Retry"});if(Ur){t.addPolicy(policies_redirectPolicy_redirectPolicy(e.redirectOptions),{afterPhase:"Retry"})}t.addPolicy(policies_logPolicy_logPolicy(e.loggingOptions),{afterPhase:"Sign"});return t}function esm_defaultHttpClient_createDefaultHttpClient(){const e=defaultHttpClient_createDefaultHttpClient();return{async sendRequest(t){const{abortSignal:r,cleanup:n}=t.abortSignal?wrapAbortSignalLike(t.abortSignal):{};try{t.abortSignal=r;return await e.sendRequest(t)}finally{n?.()}}}}function esm_httpHeaders_createHttpHeaders(e){return httpHeaders_createHttpHeaders(e)}function esm_pipelineRequest_createPipelineRequest(e){return pipelineRequest_createPipelineRequest(e)}const an=null&&tspExponentialRetryPolicyName;function exponentialRetryPolicy_exponentialRetryPolicy(e={}){return tspExponentialRetryPolicy(e)}const cn=null&&tspSystemErrorRetryPolicyName;function systemErrorRetryPolicy_systemErrorRetryPolicy(e={}){return tspSystemErrorRetryPolicy(e)}const ln=null&&tspThrottlingRetryPolicyName;function throttlingRetryPolicy_throttlingRetryPolicy(e={}){return tspThrottlingRetryPolicy(e)}const un=esm_createClientLogger("core-rest-pipeline retryPolicy");function policies_retryPolicy_retryPolicy(e,t={maxRetries:DEFAULT_RETRY_POLICY_COUNT}){return tspRetryPolicy(e,{logger:un,...t})}const An={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function beginRefresh(e,t,r){async function tryGetAccessToken(){if(Date.now()<r){try{return await e()}catch{return null}}else{const t=await e();if(t===null){throw new Error("Failed to refresh access token.")}return t}}let n=await tryGetAccessToken();while(n===null){await delay_delay(t);n=await tryGetAccessToken()}return n}function tokenCycler_createTokenCycler(e,t){let r=null;let n=null;let s;const o={...An,...t};const i={get isRefreshing(){return r!==null},get shouldRefresh(){if(i.isRefreshing){return false}if(n?.refreshAfterTimestamp&&n.refreshAfterTimestamp<Date.now()){return true}return(n?.expiresOnTimestamp??0)-o.refreshWindowInMs<Date.now()},get mustRefresh(){return n===null||n.expiresOnTimestamp-o.forcedRefreshWindowInMs<Date.now()}};function refresh(t,a){if(!i.isRefreshing){const tryGetAccessToken=()=>e.getToken(t,a);r=beginRefresh(tryGetAccessToken,o.retryIntervalInMs,n?.expiresOnTimestamp??Date.now()).then((e=>{r=null;n=e;s=a.tenantId;return n})).catch((e=>{r=null;n=null;s=undefined;throw e}))}return r}return async(e,t)=>{const r=Boolean(t.claims);const o=s!==t.tenantId;if(r){n=null}const a=o||r||i.mustRefresh;if(a){return refresh(e,t)}if(i.shouldRefresh){refresh(e,t)}return n}}const dn="bearerTokenAuthenticationPolicy";async function trySendRequest(e,t){try{return[await t(e),undefined]}catch(e){if(esm_restError_isRestError(e)&&e.response){return[e.response,e]}else{throw e}}}async function defaultAuthorizeRequest(e){const{scopes:t,getAccessToken:r,request:n}=e;const s={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions,enableCae:true};const o=await r(t,s);if(o){e.request.headers.set("Authorization",`Bearer ${o.token}`)}}function isChallengeResponse(e){return e.status===401&&e.headers.has("WWW-Authenticate")}async function authorizeRequestOnCaeChallenge(e,t){const{scopes:r}=e;const n=await e.getAccessToken(r,{enableCae:true,claims:t});if(!n){return false}e.request.headers.set("Authorization",`${n.tokenType??"Bearer"} ${n.token}`);return true}function bearerTokenAuthenticationPolicy(e){const{credential:t,scopes:r,challengeCallbacks:n}=e;const s=e.logger||yr;const o={authorizeRequest:n?.authorizeRequest?.bind(n)??defaultAuthorizeRequest,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)};const i=t?tokenCycler_createTokenCycler(t):()=>Promise.resolve(null);return{name:dn,async sendRequest(e,t){if(!e.url.toLowerCase().startsWith("https://")){throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.")}await o.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:e,getAccessToken:i,logger:s});let n;let a;let c;[n,a]=await trySendRequest(e,t);if(isChallengeResponse(n)){let l=getCaeChallengeClaims(n.headers.get("WWW-Authenticate"));if(l){let o;try{o=atob(l)}catch(e){s.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${l}`);return n}c=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(r)?r:[r],response:n,request:e,getAccessToken:i,logger:s},o);if(c){[n,a]=await trySendRequest(e,t)}}else if(o.authorizeRequestOnChallenge){c=await o.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:e,response:n,getAccessToken:i,logger:s});if(c){[n,a]=await trySendRequest(e,t)}if(isChallengeResponse(n)){l=getCaeChallengeClaims(n.headers.get("WWW-Authenticate"));if(l){let o;try{o=atob(l)}catch(e){s.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${l}`);return n}c=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(r)?r:[r],response:n,request:e,getAccessToken:i,logger:s},o);if(c){[n,a]=await trySendRequest(e,t)}}}}}if(a){throw a}else{return n}}}}function parseChallenges(e){const t=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g;const r=/(\w+)="([^"]*)"/g;const n=[];let s;while((s=t.exec(e))!==null){const e=s[1];const t=s[2];const o={};let i;while((i=r.exec(t))!==null){o[i[1]]=i[2]}n.push({scheme:e,params:o})}return n}function getCaeChallengeClaims(e){if(!e){return}const t=parseChallenges(e);return t.find((e=>e.scheme==="Bearer"&&e.params.claims&&e.params.error==="insufficient_claims"))?.params.claims}const pn="auxiliaryAuthenticationHeaderPolicy";const mn="x-ms-authorization-auxiliary";async function sendAuthorizeRequest(e){const{scopes:t,getAccessToken:r,request:n}=e;const s={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions};return(await r(t,s))?.token??""}function auxiliaryAuthenticationHeaderPolicy(e){const{credentials:t,scopes:r}=e;const n=e.logger||coreLogger;const s=new WeakMap;return{name:pn,async sendRequest(e,o){if(!e.url.toLowerCase().startsWith("https://")){throw new Error("Bearer token authentication for auxiliary header is not permitted for non-TLS protected (non-https) URLs.")}if(!t||t.length===0){n.info(`${pn} header will not be set due to empty credentials.`);return o(e)}const i=[];for(const o of t){let t=s.get(o);if(!t){t=createTokenCycler(o);s.set(o,t)}i.push(sendAuthorizeRequest({scopes:Array.isArray(r)?r:[r],request:e,getAccessToken:t,logger:n}))}const a=(await Promise.all(i)).filter((e=>Boolean(e)));if(a.length===0){n.warning(`None of the auxiliary tokens are valid. ${mn} header will not be set.`);return o(e)}e.headers.set(mn,a.map((e=>`Bearer ${e}`)).join(", "));return o(e)}}}function isKeyCredential(e){return isObjectWithProperties(e,["key"])&&typeof e.key==="string"}class AzureNamedKeyCredential{_key;_name;get key(){return this._key}get name(){return this._name}constructor(e,t){if(!e||!t){throw new TypeError("name and key must be non-empty strings")}this._name=e;this._key=t}update(e,t){if(!e||!t){throw new TypeError("newName and newKey must be non-empty strings")}this._name=e;this._key=t}}function isNamedKeyCredential(e){return isObjectWithProperties(e,["name","key"])&&typeof e.key==="string"&&typeof e.name==="string"}class AzureSASCredential{_signature;get signature(){return this._signature}constructor(e){if(!e){throw new Error("shared access signature must be a non-empty string")}this._signature=e}update(e){if(!e){throw new Error("shared access signature must be a non-empty string")}this._signature=e}}function isSASCredential(e){return isObjectWithProperties(e,["signature"])&&typeof e.signature==="string"}function isBearerToken(e){return!e.tokenType||e.tokenType==="Bearer"}function isPopToken(e){return e.tokenType==="pop"}function isTokenCredential(e){const t=e;return t&&typeof t.getToken==="function"&&(t.signRequest===undefined||t.getToken.length>0)}const hn="DisableKeepAlivePolicy";function createDisableKeepAlivePolicy(){return{name:hn,async sendRequest(e,t){e.disableKeepAlive=true;return t(e)}}}function pipelineContainsDisableKeepAlivePolicy(e){return e.getOrderedPolicies().some((e=>e.name===hn))}function encodeString(e){return Buffer.from(e).toString("base64")}function encodeByteArray(e){const t=e instanceof Buffer?e:Buffer.from(e.buffer);return t.toString("base64")}function decodeString(e){return Buffer.from(e,"base64")}function base64_decodeStringToString(e){return Buffer.from(e,"base64").toString()}const gn="$";const En="_";function isPrimitiveBody(e,t){return t!=="Composite"&&t!=="Dictionary"&&(typeof e==="string"||typeof e==="number"||typeof e==="boolean"||t?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||e===undefined||e===null)}const yn=/^(-|\+)?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(e){return yn.test(e)}const Cn=/^[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(e){return Cn.test(e)}function handleNullableResponseAndWrappableBody(e){const t={...e.headers,...e.body};if(e.hasNullableType&&Object.getOwnPropertyNames(t).length===0){return e.shouldWrapBody?{body:null}:null}else{return e.shouldWrapBody?{...e.headers,body:e.body}:t}}function flattenResponse(e,t){const r=e.parsedHeaders;if(e.request.method==="HEAD"){return{...r,body:e.parsedBody}}const n=t&&t.bodyMapper;const s=Boolean(n?.nullable);const o=n?.type.name;if(o==="Stream"){return{...r,blobBody:e.blobBody,readableStreamBody:e.readableStreamBody}}const i=o==="Composite"&&n.type.modelProperties||{};const a=Object.keys(i).some((e=>i[e].serializedName===""));if(o==="Sequence"||a){const t=e.parsedBody??[];for(const r of Object.keys(i)){if(i[r].serializedName){t[r]=e.parsedBody?.[r]}}if(r){for(const e of Object.keys(r)){t[e]=r[e]}}return s&&!e.parsedBody&&!r&&Object.getOwnPropertyNames(i).length===0?null:t}return handleNullableResponseAndWrappableBody({body:e.parsedBody,headers:r,hasNullableType:s,shouldWrapBody:isPrimitiveBody(e.parsedBody,o)})}class SerializerImpl{modelMappers;isXML;constructor(e={},t=false){this.modelMappers=e;this.isXML=t}validateConstraints(e,t,r){const failValidation=(e,n)=>{throw new Error(`"${r}" with value "${t}" should satisfy the constraint "${e}": ${n}.`)};if(e.constraints&&t!==undefined&&t!==null){const{ExclusiveMaximum:r,ExclusiveMinimum:n,InclusiveMaximum:s,InclusiveMinimum:o,MaxItems:i,MaxLength:a,MinItems:c,MinLength:l,MultipleOf:u,Pattern:A,UniqueItems:d}=e.constraints;if(r!==undefined&&t>=r){failValidation("ExclusiveMaximum",r)}if(n!==undefined&&t<=n){failValidation("ExclusiveMinimum",n)}if(s!==undefined&&t>s){failValidation("InclusiveMaximum",s)}if(o!==undefined&&t<o){failValidation("InclusiveMinimum",o)}if(i!==undefined&&t.length>i){failValidation("MaxItems",i)}if(a!==undefined&&t.length>a){failValidation("MaxLength",a)}if(c!==undefined&&t.length<c){failValidation("MinItems",c)}if(l!==undefined&&t.length<l){failValidation("MinLength",l)}if(u!==undefined&&t%u!==0){failValidation("MultipleOf",u)}if(A){const e=typeof A==="string"?new RegExp(A):A;if(typeof t!=="string"||t.match(e)===null){failValidation("Pattern",A)}}if(d&&t.some(((e,t,r)=>r.indexOf(e)!==t))){failValidation("UniqueItems",d)}}}serialize(e,t,r,n={xml:{}}){const s={xml:{rootName:n.xml.rootName??"",includeRoot:n.xml.includeRoot??false,xmlCharKey:n.xml.xmlCharKey??En}};let o={};const i=e.type.name;if(!r){r=e.serializedName}if(i.match(/^Sequence$/i)!==null){o=[]}if(e.isConstant){t=e.defaultValue}const{required:a,nullable:c}=e;if(a&&c&&t===undefined){throw new Error(`${r} cannot be undefined.`)}if(a&&!c&&(t===undefined||t===null)){throw new Error(`${r} cannot be null or undefined.`)}if(!a&&c===false&&t===null){throw new Error(`${r} cannot be null.`)}if(t===undefined||t===null){o=t}else{if(i.match(/^any$/i)!==null){o=t}else if(i.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null){o=serializeBasicTypes(i,r,t)}else if(i.match(/^Enum$/i)!==null){const n=e;o=serializeEnumType(r,n.type.allowedValues,t)}else if(i.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null){o=serializeDateTypes(i,t,r)}else if(i.match(/^ByteArray$/i)!==null){o=serializeByteArrayType(r,t)}else if(i.match(/^Base64Url$/i)!==null){o=serializeBase64UrlType(r,t)}else if(i.match(/^Sequence$/i)!==null){o=serializeSequenceType(this,e,t,r,Boolean(this.isXML),s)}else if(i.match(/^Dictionary$/i)!==null){o=serializeDictionaryType(this,e,t,r,Boolean(this.isXML),s)}else if(i.match(/^Composite$/i)!==null){o=serializeCompositeType(this,e,t,r,Boolean(this.isXML),s)}}return o}deserialize(e,t,r,n={xml:{}}){const s={xml:{rootName:n.xml.rootName??"",includeRoot:n.xml.includeRoot??false,xmlCharKey:n.xml.xmlCharKey??En},ignoreUnknownProperties:n.ignoreUnknownProperties??false};if(t===undefined||t===null){if(this.isXML&&e.type.name==="Sequence"&&!e.xmlIsWrapped){t=[]}if(e.defaultValue!==undefined){t=e.defaultValue}return t}let o;const i=e.type.name;if(!r){r=e.serializedName}if(i.match(/^Composite$/i)!==null){o=deserializeCompositeType(this,e,t,r,s)}else{if(this.isXML){const e=s.xml.xmlCharKey;if(t[gn]!==undefined&&t[e]!==undefined){t=t[e]}}if(i.match(/^Number$/i)!==null){o=parseFloat(t);if(isNaN(o)){o=t}}else if(i.match(/^Boolean$/i)!==null){if(t==="true"){o=true}else if(t==="false"){o=false}else{o=t}}else if(i.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null){o=t}else if(i.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null){o=new Date(t)}else if(i.match(/^UnixTime$/i)!==null){o=unixTimeToDate(t)}else if(i.match(/^ByteArray$/i)!==null){o=decodeString(t)}else if(i.match(/^Base64Url$/i)!==null){o=base64UrlToByteArray(t)}else if(i.match(/^Sequence$/i)!==null){o=deserializeSequenceType(this,e,t,r,s)}else if(i.match(/^Dictionary$/i)!==null){o=deserializeDictionaryType(this,e,t,r,s)}}if(e.isConstant){o=e.defaultValue}return o}}function createSerializer(e={},t=false){return new SerializerImpl(e,t)}function trimEnd(e,t){let r=e.length;while(r-1>=0&&e[r-1]===t){--r}return e.substr(0,r)}function bufferToBase64Url(e){if(!e){return undefined}if(!(e instanceof Uint8Array)){throw new Error(`Please provide an input of type Uint8Array for converting to Base64Url.`)}const t=encodeByteArray(e);return trimEnd(t,"=").replace(/\+/g,"-").replace(/\//g,"_")}function base64UrlToByteArray(e){if(!e){return undefined}if(e&&typeof e.valueOf()!=="string"){throw new Error("Please provide an input of type string for converting to Uint8Array")}e=e.replace(/-/g,"+").replace(/_/g,"/");return decodeString(e)}function splitSerializeName(e){const t=[];let r="";if(e){const n=e.split(".");for(const e of n){if(e.charAt(e.length-1)==="\\"){r+=e.substr(0,e.length-1)+"."}else{r+=e;t.push(r);r=""}}}return t}function dateToUnixTime(e){if(!e){return undefined}if(typeof e.valueOf()==="string"){e=new Date(e)}return Math.floor(e.getTime()/1e3)}function unixTimeToDate(e){if(!e){return undefined}return new Date(e*1e3)}function serializeBasicTypes(e,t,r){if(r!==null&&r!==undefined){if(e.match(/^Number$/i)!==null){if(typeof r!=="number"){throw new Error(`${t} with value ${r} must be of type number.`)}}else if(e.match(/^String$/i)!==null){if(typeof r.valueOf()!=="string"){throw new Error(`${t} with value "${r}" must be of type string.`)}}else if(e.match(/^Uuid$/i)!==null){if(!(typeof r.valueOf()==="string"&&isValidUuid(r))){throw new Error(`${t} with value "${r}" must be of type string and a valid uuid.`)}}else if(e.match(/^Boolean$/i)!==null){if(typeof r!=="boolean"){throw new Error(`${t} with value ${r} must be of type boolean.`)}}else if(e.match(/^Stream$/i)!==null){const e=typeof r;if(e!=="string"&&typeof r.pipe!=="function"&&typeof r.tee!=="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob==="function"||typeof Blob==="object")&&r instanceof Blob)&&e!=="function"){throw new Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}}return r}function serializeEnumType(e,t,r){if(!t){throw new Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`)}const n=t.some((e=>{if(typeof e.valueOf()==="string"){return e.toLowerCase()===r.toLowerCase()}return e===r}));if(!n){throw new Error(`${r} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`)}return r}function serializeByteArrayType(e,t){if(t!==undefined&&t!==null){if(!(t instanceof Uint8Array)){throw new Error(`${e} must be of type Uint8Array.`)}t=encodeByteArray(t)}return t}function serializeBase64UrlType(e,t){if(t!==undefined&&t!==null){if(!(t instanceof Uint8Array)){throw new Error(`${e} must be of type Uint8Array.`)}t=bufferToBase64Url(t)}return t}function serializeDateTypes(e,t,r){if(t!==undefined&&t!==null){if(e.match(/^Date$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`)}t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(e.match(/^DateTime$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`)}t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(e.match(/^DateTimeRfc1123$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`)}t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(e.match(/^UnixTime$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==="string"&&!isNaN(Date.parse(t)))){throw new Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format `+`for it to be serialized in UnixTime/Epoch format.`)}t=dateToUnixTime(t)}else if(e.match(/^TimeSpan$/i)!==null){if(!isDuration(t)){throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${t}".`)}}}return t}function serializeSequenceType(e,t,r,n,s,o){if(!Array.isArray(r)){throw new Error(`${n} must be of type Array.`)}let i=t.type.element;if(!i||typeof i!=="object"){throw new Error(`element" metadata for an Array must be defined in the `+`mapper and it must of type "object" in ${n}.`)}if(i.type.name==="Composite"&&i.type.className){i=e.modelMappers[i.type.className]??i}const a=[];for(let t=0;t<r.length;t++){const c=e.serialize(i,r[t],n,o);if(s&&i.xmlNamespace){const e=i.xmlNamespacePrefix?`xmlns:${i.xmlNamespacePrefix}`:"xmlns";if(i.type.name==="Composite"){a[t]={...c};a[t][gn]={[e]:i.xmlNamespace}}else{a[t]={};a[t][o.xml.xmlCharKey]=c;a[t][gn]={[e]:i.xmlNamespace}}}else{a[t]=c}}return a}function serializeDictionaryType(e,t,r,n,s,o){if(typeof r!=="object"){throw new Error(`${n} must be of type object.`)}const i=t.type.value;if(!i||typeof i!=="object"){throw new Error(`"value" metadata for a Dictionary must be defined in the `+`mapper and it must of type "object" in ${n}.`)}const a={};for(const t of Object.keys(r)){const c=e.serialize(i,r[t],n,o);a[t]=getXmlObjectValue(i,c,s,o)}if(s&&t.xmlNamespace){const e=t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns";const r=a;r[gn]={[e]:t.xmlNamespace};return r}return a}function resolveAdditionalProperties(e,t,r){const n=t.type.additionalProperties;if(!n&&t.type.className){const n=resolveReferencedMapper(e,t,r);return n?.type.additionalProperties}return n}function resolveReferencedMapper(e,t,r){const n=t.type.className;if(!n){throw new Error(`Class name for model "${r}" is not provided in the mapper "${JSON.stringify(t,undefined,2)}".`)}return e.modelMappers[n]}function resolveModelProperties(e,t,r){let n=t.type.modelProperties;if(!n){const s=resolveReferencedMapper(e,t,r);if(!s){throw new Error(`mapper() cannot be null or undefined for model "${t.type.className}".`)}n=s?.type.modelProperties;if(!n){throw new Error(`modelProperties cannot be null or undefined in the `+`mapper "${JSON.stringify(s)}" of type "${t.type.className}" for object "${r}".`)}}return n}function serializeCompositeType(e,t,r,n,s,o){if(getPolymorphicDiscriminatorRecursively(e,t)){t=getPolymorphicMapper(e,t,r,"clientName")}if(r!==undefined&&r!==null){const i={};const a=resolveModelProperties(e,t,n);for(const c of Object.keys(a)){const l=a[c];if(l.readOnly){continue}let u;let A=i;if(e.isXML){if(l.xmlIsWrapped){u=l.xmlName}else{u=l.xmlElementName||l.xmlName}}else{const e=splitSerializeName(l.serializedName);u=e.pop();for(const t of e){const e=A[t];if((e===undefined||e===null)&&(r[c]!==undefined&&r[c]!==null||l.defaultValue!==undefined)){A[t]={}}A=A[t]}}if(A!==undefined&&A!==null){if(s&&t.xmlNamespace){const e=t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns";A[gn]={...A[gn],[e]:t.xmlNamespace}}const i=l.serializedName!==""?n+"."+l.serializedName:n;let a=r[c];const d=getPolymorphicDiscriminatorRecursively(e,t);if(d&&d.clientName===c&&(a===undefined||a===null)){a=t.serializedName}const p=e.serialize(l,a,i,o);if(p!==undefined&&u!==undefined&&u!==null){const e=getXmlObjectValue(l,p,s,o);if(s&&l.xmlIsAttribute){A[gn]=A[gn]||{};A[gn][u]=p}else if(s&&l.xmlIsWrapped){A[u]={[l.xmlElementName]:e}}else{A[u]=e}}}}const c=resolveAdditionalProperties(e,t,n);if(c){const t=Object.keys(a);for(const s in r){const a=t.every((e=>e!==s));if(a){i[s]=e.serialize(c,r[s],n+'["'+s+'"]',o)}}}return i}return r}function getXmlObjectValue(e,t,r,n){if(!r||!e.xmlNamespace){return t}const s=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns";const o={[s]:e.xmlNamespace};if(["Composite"].includes(e.type.name)){if(t[gn]){return t}else{const e={...t};e[gn]=o;return e}}const i={};i[n.xml.xmlCharKey]=t;i[gn]=o;return i}function isSpecialXmlProperty(e,t){return[gn,t.xml.xmlCharKey].includes(e)}function deserializeCompositeType(e,t,r,n,s){const o=s.xml.xmlCharKey??En;if(getPolymorphicDiscriminatorRecursively(e,t)){t=getPolymorphicMapper(e,t,r,"serializedName")}const i=resolveModelProperties(e,t,n);let a={};const c=[];for(const l of Object.keys(i)){const u=i[l];const A=splitSerializeName(i[l].serializedName);c.push(A[0]);const{serializedName:d,xmlName:p,xmlElementName:m}=u;let h=n;if(d!==""&&d!==undefined){h=n+"."+d}const g=u.headerCollectionPrefix;if(g){const t={};for(const n of Object.keys(r)){if(n.startsWith(g)){t[n.substring(g.length)]=e.deserialize(u.type.value,r[n],h,s)}c.push(n)}a[l]=t}else if(e.isXML){if(u.xmlIsAttribute&&r[gn]){a[l]=e.deserialize(u,r[gn][p],h,s)}else if(u.xmlIsMsText){if(r[o]!==undefined){a[l]=r[o]}else if(typeof r==="string"){a[l]=r}}else{const t=m||p||d;if(u.xmlIsWrapped){const t=r[p];const n=t?.[m]??[];a[l]=e.deserialize(u,n,h,s);c.push(p)}else{const n=r[t];a[l]=e.deserialize(u,n,h,s);c.push(t)}}}else{let n;let o=r;let c=0;for(const e of A){if(!o)break;c++;o=o[e]}if(o===null&&c<A.length){o=undefined}n=o;const d=t.type.polymorphicDiscriminator;if(d&&l===d.clientName&&(n===undefined||n===null)){n=t.serializedName}let p;if(Array.isArray(r[l])&&i[l].serializedName===""){n=r[l];const t=e.deserialize(u,n,h,s);for(const[e,r]of Object.entries(a)){if(!Object.prototype.hasOwnProperty.call(t,e)){t[e]=r}}a=t}else if(n!==undefined||u.defaultValue!==undefined){p=e.deserialize(u,n,h,s);a[l]=p}}}const l=t.type.additionalProperties;if(l){const isAdditionalProperty=e=>{for(const t in i){const r=splitSerializeName(i[t].serializedName);if(r[0]===e){return false}}return true};for(const t in r){if(isAdditionalProperty(t)){a[t]=e.deserialize(l,r[t],n+'["'+t+'"]',s)}}}else if(r&&!s.ignoreUnknownProperties){for(const e of Object.keys(r)){if(a[e]===undefined&&!c.includes(e)&&!isSpecialXmlProperty(e,s)){a[e]=r[e]}}}return a}function deserializeDictionaryType(e,t,r,n,s){const o=t.type.value;if(!o||typeof o!=="object"){throw new Error(`"value" metadata for a Dictionary must be defined in the `+`mapper and it must of type "object" in ${n}`)}if(r){const t={};for(const i of Object.keys(r)){t[i]=e.deserialize(o,r[i],n,s)}return t}return r}function deserializeSequenceType(e,t,r,n,s){let o=t.type.element;if(!o||typeof o!=="object"){throw new Error(`element" metadata for an Array must be defined in the `+`mapper and it must of type "object" in ${n}`)}if(r){if(!Array.isArray(r)){r=[r]}if(o.type.name==="Composite"&&o.type.className){o=e.modelMappers[o.type.className]??o}const t=[];for(let i=0;i<r.length;i++){t[i]=e.deserialize(o,r[i],`${n}[${i}]`,s)}return t}return r}function getIndexDiscriminator(e,t,r){const n=[r];while(n.length){const r=n.shift();const s=t===r?t:r+"."+t;if(Object.prototype.hasOwnProperty.call(e,s)){return e[s]}else{for(const[t,s]of Object.entries(e)){if(t.startsWith(r+".")&&s.type.uberParent===r&&s.type.className){n.push(s.type.className)}}}}return undefined}function getPolymorphicMapper(e,t,r,n){const s=getPolymorphicDiscriminatorRecursively(e,t);if(s){let o=s[n];if(o){if(n==="serializedName"){o=o.replace(/\\/gi,"")}const s=r[o];const i=t.type.uberParent??t.type.className;if(typeof s==="string"&&i){const r=getIndexDiscriminator(e.modelMappers.discriminators,s,i);if(r){t=r}}}}return t}function getPolymorphicDiscriminatorRecursively(e,t){return t.type.polymorphicDiscriminator||getPolymorphicDiscriminatorSafely(e,t.type.uberParent)||getPolymorphicDiscriminatorSafely(e,t.type.className)}function getPolymorphicDiscriminatorSafely(e,t){return t&&e.modelMappers[t]&&e.modelMappers[t].type.polymorphicDiscriminator}const In={Base64Url:"Base64Url",Boolean:"Boolean",ByteArray:"ByteArray",Composite:"Composite",Date:"Date",DateTime:"DateTime",DateTimeRfc1123:"DateTimeRfc1123",Dictionary:"Dictionary",Enum:"Enum",Number:"Number",Object:"Object",Sequence:"Sequence",String:"String",Stream:"Stream",TimeSpan:"TimeSpan",UnixTime:"UnixTime"};var Bn=__nccwpck_require__(3345);const bn=Bn.w;function getOperationArgumentValueFromParameter(e,t,r){let n=t.parameterPath;const s=t.mapper;let o;if(typeof n==="string"){n=[n]}if(Array.isArray(n)){if(n.length>0){if(s.isConstant){o=s.defaultValue}else{let t=getPropertyFromParameterPath(e,n);if(!t.propertyFound&&r){t=getPropertyFromParameterPath(r,n)}let i=false;if(!t.propertyFound){i=s.required||n[0]==="options"&&n.length===2}o=i?s.defaultValue:t.propertyValue}}}else{if(s.required){o={}}for(const t in n){const i=s.type.modelProperties[t];const a=n[t];const c=getOperationArgumentValueFromParameter(e,{parameterPath:a,mapper:i},r);if(c!==undefined){if(!o){o={}}o[t]=c}}}return o}function getPropertyFromParameterPath(e,t){const r={propertyFound:false};let n=0;for(;n<t.length;++n){const r=t[n];if(e&&r in e){e=e[r]}else{break}}if(n===t.length){r.propertyValue=e;r.propertyFound=true}return r}const wn=Symbol.for("@azure/core-client original request");function hasOriginalRequest(e){return wn in e}function getOperationRequestInfo(e){if(hasOriginalRequest(e)){return getOperationRequestInfo(e[wn])}let t=bn.operationRequestMap.get(e);if(!t){t={};bn.operationRequestMap.set(e,t)}return t}const Sn=["application/json","text/json"];const Qn=["application/xml","application/atom+xml"];const Nn="deserializationPolicy";function deserializationPolicy(e={}){const t=e.expectedContentTypes?.json??Sn;const r=e.expectedContentTypes?.xml??Qn;const n=e.parseXML;const s=e.serializerOptions;const o={xml:{rootName:s?.xml.rootName??"",includeRoot:s?.xml.includeRoot??false,xmlCharKey:s?.xml.xmlCharKey??En}};return{name:Nn,async sendRequest(e,s){const i=await s(e);return deserializeResponseBody(t,r,i,o,n)}}}function getOperationResponseMap(e){let t;const r=e.request;const n=getOperationRequestInfo(r);const s=n?.operationSpec;if(s){if(!n?.operationResponseGetter){t=s.responses[e.status]}else{t=n?.operationResponseGetter(s,e)}}return t}function shouldDeserializeResponse(e){const t=e.request;const r=getOperationRequestInfo(t);const n=r?.shouldDeserialize;let s;if(n===undefined){s=true}else if(typeof n==="boolean"){s=n}else{s=n(e)}return s}async function deserializeResponseBody(e,t,r,n,s){const o=await parse(e,t,r,n,s);if(!shouldDeserializeResponse(o)){return o}const i=getOperationRequestInfo(o.request);const a=i?.operationSpec;if(!a||!a.responses){return o}const c=getOperationResponseMap(o);const{error:l,shouldReturnResponse:u}=handleErrorResponse(o,a,c,n);if(l){throw l}else if(u){return o}if(c){if(c.bodyMapper){let e=o.parsedBody;if(a.isXML&&c.bodyMapper.type.name===In.Sequence){e=typeof e==="object"?e[c.bodyMapper.xmlElementName]:[]}try{o.parsedBody=a.serializer.deserialize(c.bodyMapper,e,"operationRes.parsedBody",n)}catch(e){const t=new nn(`Error ${e} occurred in deserializing the responseBody - ${o.bodyAsText}`,{statusCode:o.status,request:o.request,response:o});throw t}}else if(a.httpMethod==="HEAD"){o.parsedBody=r.status>=200&&r.status<300}if(c.headersMapper){o.parsedHeaders=a.serializer.deserialize(c.headersMapper,o.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:true})}}return o}function isOperationSpecEmpty(e){const t=Object.keys(e.responses);return t.length===0||t.length===1&&t[0]==="default"}function handleErrorResponse(e,t,r,n){const s=200<=e.status&&e.status<300;const o=isOperationSpecEmpty(t)?s:!!r;if(o){if(r){if(!r.isError){return{error:null,shouldReturnResponse:false}}}else{return{error:null,shouldReturnResponse:false}}}const i=r??t.responses.default;const a=e.request.streamResponseStatusCodes?.has(e.status)?`Unexpected status code: ${e.status}`:e.bodyAsText;const c=new nn(a,{statusCode:e.status,request:e.request,response:e});if(!i&&!(e.parsedBody?.error?.code&&e.parsedBody?.error?.message)){throw c}const l=i?.bodyMapper;const u=i?.headersMapper;try{if(e.parsedBody){const r=e.parsedBody;let s;if(l){let e=r;if(t.isXML&&l.type.name===In.Sequence){e=[];const t=l.xmlElementName;if(typeof r==="object"&&t){e=r[t]}}s=t.serializer.deserialize(l,e,"error.response.parsedBody",n)}const o=r.error||s||r;c.code=o.code;if(o.message){c.message=o.message}if(l){c.response.parsedBody=s}}if(e.headers&&u){c.response.parsedHeaders=t.serializer.deserialize(u,e.headers.toJSON(),"operationRes.parsedHeaders")}}catch(t){c.message=`Error "${t.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:c,shouldReturnResponse:false}}async function parse(e,t,r,n,s){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){const o=r.bodyAsText;const i=r.headers.get("Content-Type")||"";const a=!i?[]:i.split(";").map((e=>e.toLowerCase()));try{if(a.length===0||a.some((t=>e.indexOf(t)!==-1))){r.parsedBody=JSON.parse(o);return r}else if(a.some((e=>t.indexOf(e)!==-1))){if(!s){throw new Error("Parsing XML not supported.")}const e=await s(o,n.xml);r.parsedBody=e;return r}}catch(e){const t=`Error "${e}" occurred while parsing the response body - ${r.bodyAsText}.`;const n=e.code||nn.PARSE_ERROR;const s=new nn(t,{code:n,statusCode:r.status,request:r.request,response:r});throw s}}return r}function getStreamingResponseStatusCodes(e){const t=new Set;for(const r in e.responses){const n=e.responses[r];if(n.bodyMapper&&n.bodyMapper.type.name===In.Stream){t.add(Number(r))}}return t}function getPathStringFromParameter(e){const{parameterPath:t,mapper:r}=e;let n;if(typeof t==="string"){n=t}else if(Array.isArray(t)){n=t.join(".")}else{n=r.serializedName}return n}const Rn="serializationPolicy";function serializationPolicy(e={}){const t=e.stringifyXML;return{name:Rn,async sendRequest(e,r){const n=getOperationRequestInfo(e);const s=n?.operationSpec;const o=n?.operationArguments;if(s&&o){serializeHeaders(e,o,s);serializeRequestBody(e,o,s,t)}return r(e)}}}function serializeHeaders(e,t,r){if(r.headerParameters){for(const n of r.headerParameters){let s=getOperationArgumentValueFromParameter(t,n);if(s!==null&&s!==undefined||n.mapper.required){s=r.serializer.serialize(n.mapper,s,getPathStringFromParameter(n));const t=n.mapper.headerCollectionPrefix;if(t){for(const r of Object.keys(s)){e.headers.set(t+r,s[r])}}else{e.headers.set(n.mapper.serializedName||getPathStringFromParameter(n),s)}}}}const n=t.options?.requestOptions?.customHeaders;if(n){for(const t of Object.keys(n)){e.headers.set(t,n[t])}}}function serializeRequestBody(e,t,r,n=function(){throw new Error("XML serialization unsupported!")}){const s=t.options?.serializerOptions;const o={xml:{rootName:s?.xml.rootName??"",includeRoot:s?.xml.includeRoot??false,xmlCharKey:s?.xml.xmlCharKey??En}};const i=o.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){e.body=getOperationArgumentValueFromParameter(t,r.requestBody);const s=r.requestBody.mapper;const{required:a,serializedName:c,xmlName:l,xmlElementName:u,xmlNamespace:A,xmlNamespacePrefix:d,nullable:p}=s;const m=s.type.name;try{if(e.body!==undefined&&e.body!==null||p&&e.body===null||a){const t=getPathStringFromParameter(r.requestBody);e.body=r.serializer.serialize(s,e.body,t,o);const a=m===In.Stream;if(r.isXML){const t=d?`xmlns:${d}`:"xmlns";const r=getXmlValueWithNamespace(A,t,m,e.body,o);if(m===In.Sequence){e.body=n(prepareXMLRootList(r,u||l||c,t,A),{rootName:l||c,xmlCharKey:i})}else if(!a){e.body=n(r,{rootName:l||c,xmlCharKey:i})}}else if(m===In.String&&(r.contentType?.match("text/plain")||r.mediaType==="text")){return}else if(!a){e.body=JSON.stringify(e.body)}}}catch(e){throw new Error(`Error "${e.message}" occurred in serializing the payload - ${JSON.stringify(c,undefined," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){e.formData={};for(const n of r.formDataParameters){const s=getOperationArgumentValueFromParameter(t,n);if(s!==undefined&&s!==null){const t=n.mapper.serializedName||getPathStringFromParameter(n);e.formData[t]=r.serializer.serialize(n.mapper,s,getPathStringFromParameter(n),o)}}}}function getXmlValueWithNamespace(e,t,r,n,s){if(e&&!["Composite","Sequence","Dictionary"].includes(r)){const r={};r[s.xml.xmlCharKey]=n;r[gn]={[t]:e};return r}return n}function prepareXMLRootList(e,t,r,n){if(!Array.isArray(e)){e=[e]}if(!r||!n){return{[t]:e}}const s={[t]:e};s[gn]={[r]:n};return s}function createClientPipeline(e={}){const t=esm_createPipelineFromOptions_createPipelineFromOptions(e??{});if(e.credentialOptions){t.addPolicy(bearerTokenAuthenticationPolicy({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes}))}t.addPolicy(serializationPolicy(e.serializationOptions),{phase:"Serialize"});t.addPolicy(deserializationPolicy(e.deserializationOptions),{phase:"Deserialize"});return t}let vn;function getCachedDefaultHttpClient(){if(!vn){vn=esm_defaultHttpClient_createDefaultHttpClient()}return vn}const xn={CSV:",",SSV:" ",Multi:"Multi",TSV:"\t",Pipes:"|"};function getRequestUrl(e,t,r,n){const s=calculateUrlReplacements(t,r,n);let o=false;let i=replaceAll(e,s);if(t.path){let e=replaceAll(t.path,s);if(t.path==="/{nextLink}"&&e.startsWith("/")){e=e.substring(1)}if(isAbsoluteUrl(e)){i=e;o=true}else{i=appendPath(i,e)}}const{queryParams:a,sequenceParams:c}=calculateQueryParameters(t,r,n);i=appendQueryParams(i,a,c,o);return i}function replaceAll(e,t){let r=e;for(const[e,n]of t){r=r.split(e).join(n)}return r}function calculateUrlReplacements(e,t,r){const n=new Map;if(e.urlParameters?.length){for(const s of e.urlParameters){let o=getOperationArgumentValueFromParameter(t,s,r);const i=getPathStringFromParameter(s);o=e.serializer.serialize(s.mapper,o,i);if(!s.skipEncoding){o=encodeURIComponent(o)}n.set(`{${s.mapper.serializedName||i}}`,o)}}return n}function isAbsoluteUrl(e){return e.includes("://")}function appendPath(e,t){if(!t){return e}const r=new URL(e);let n=r.pathname;if(!n.endsWith("/")){n=`${n}/`}if(t.startsWith("/")){t=t.substring(1)}const s=t.indexOf("?");if(s!==-1){const e=t.substring(0,s);const o=t.substring(s+1);n=n+e;if(o){r.search=r.search?`${r.search}&${o}`:o}}else{n=n+t}r.pathname=n;return r.toString()}function calculateQueryParameters(e,t,r){const n=new Map;const s=new Set;if(e.queryParameters?.length){for(const o of e.queryParameters){if(o.mapper.type.name==="Sequence"&&o.mapper.serializedName){s.add(o.mapper.serializedName)}let i=getOperationArgumentValueFromParameter(t,o,r);if(i!==undefined&&i!==null||o.mapper.required){i=e.serializer.serialize(o.mapper,i,getPathStringFromParameter(o));const t=o.collectionFormat?xn[o.collectionFormat]:"";if(Array.isArray(i)){i=i.map((e=>{if(e===null||e===undefined){return""}return e}))}if(o.collectionFormat==="Multi"&&i.length===0){continue}else if(Array.isArray(i)&&(o.collectionFormat==="SSV"||o.collectionFormat==="TSV")){i=i.join(t)}if(!o.skipEncoding){if(Array.isArray(i)){i=i.map((e=>encodeURIComponent(e)))}else{i=encodeURIComponent(i)}}if(Array.isArray(i)&&(o.collectionFormat==="CSV"||o.collectionFormat==="Pipes")){i=i.join(t)}n.set(o.mapper.serializedName||getPathStringFromParameter(o),i)}}}return{queryParams:n,sequenceParams:s}}function simpleParseQueryParams(e){const t=new Map;if(!e||e[0]!=="?"){return t}e=e.slice(1);const r=e.split("&");for(const e of r){const[r,n]=e.split("=",2);const s=t.get(r);if(s){if(Array.isArray(s)){s.push(n)}else{t.set(r,[s,n])}}else{t.set(r,n)}}return t}function appendQueryParams(e,t,r,n=false){if(t.size===0){return e}const s=new URL(e);const o=simpleParseQueryParams(s.search);for(const[e,s]of t){const t=o.get(e);if(Array.isArray(t)){if(Array.isArray(s)){t.push(...s);const r=new Set(t);o.set(e,Array.from(r))}else{t.push(s)}}else if(t){if(Array.isArray(s)){s.unshift(t)}else if(r.has(e)){o.set(e,[t,s])}if(!n){o.set(e,s)}}else{o.set(e,s)}}const i=[];for(const[e,t]of o){if(typeof t==="string"){i.push(`${e}=${t}`)}else if(Array.isArray(t)){for(const r of t){i.push(`${e}=${r}`)}}else{i.push(`${e}=${t}`)}}s.search=i.length?`?${i.join("&")}`:"";return s.toString()}const Tn=esm_createClientLogger("core-client");class ServiceClient{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){this._requestContentType=e.requestContentType;this._endpoint=e.endpoint??e.baseUri;if(e.baseUri){Tn.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead.")}this._allowInsecureConnection=e.allowInsecureConnection;this._httpClient=e.httpClient||getCachedDefaultHttpClient();this.pipeline=e.pipeline||serviceClient_createDefaultPipeline(e);if(e.additionalPolicies?.length){for(const{policy:t,position:r}of e.additionalPolicies){const e=r==="perRetry"?"Sign":undefined;this.pipeline.addPolicy(t,{afterPhase:e})}}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){const r=t.baseUrl||this._endpoint;if(!r){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 n=getRequestUrl(r,t,e,this);const s=esm_pipelineRequest_createPipelineRequest({url:n});s.method=t.httpMethod;const o=getOperationRequestInfo(s);o.operationSpec=t;o.operationArguments=e;const i=t.contentType||this._requestContentType;if(i&&t.requestBody){s.headers.set("Content-Type",i)}const a=e.options;if(a){const e=a.requestOptions;if(e){if(e.timeout){s.timeout=e.timeout}if(e.onUploadProgress){s.onUploadProgress=e.onUploadProgress}if(e.onDownloadProgress){s.onDownloadProgress=e.onDownloadProgress}if(e.shouldDeserialize!==undefined){o.shouldDeserialize=e.shouldDeserialize}if(e.allowInsecureConnection){s.allowInsecureConnection=true}}if(a.abortSignal){s.abortSignal=a.abortSignal}if(a.tracingOptions){s.tracingOptions=a.tracingOptions}}if(this._allowInsecureConnection){s.allowInsecureConnection=true}if(s.streamResponseStatusCodes===undefined){s.streamResponseStatusCodes=getStreamingResponseStatusCodes(t)}try{const e=await this.sendRequest(s);const r=flattenResponse(e,t.responses[e.status]);if(a?.onResponse){a.onResponse(e,r)}return r}catch(e){if(typeof e==="object"&&e?.response){const r=e.response;const n=flattenResponse(r,t.responses[e.statusCode]||t.responses["default"]);e.details=n;if(a?.onResponse){a.onResponse(r,n,e)}}throw e}}}function serviceClient_createDefaultPipeline(e){const t=getCredentialScopes(e);const r=e.credential&&t?{credentialScopes:t,credential:e.credential}:undefined;return createClientPipeline({...e,credentialOptions:r})}function getCredentialScopes(e){if(e.credentialScopes){return e.credentialScopes}if(e.endpoint){return`${e.endpoint}/.default`}if(e.baseUri){return`${e.baseUri}/.default`}if(e.credential&&!e.credentialScopes){throw new Error(`When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy`)}return undefined}function parseCAEChallenge(e){const t=`, ${e.trim()}`.split(", Bearer ").filter((e=>e));return t.map((e=>{const t=`${e.trim()}, `.split('", ').filter((e=>e));const r=t.map((e=>(([e,t])=>({[e]:t}))(e.trim().split('="'))));return r.reduce(((e,t)=>({...e,...t})),{})}))}async function authorizeRequestOnClaimChallenge(e){const{scopes:t,response:r}=e;const n=e.logger||coreClientLogger;const s=r.headers.get("WWW-Authenticate");if(!s){n.info(`The WWW-Authenticate header was missing. Failed to perform the Continuous Access Evaluation authentication flow.`);return false}const o=parseCAEChallenge(s)||[];const i=o.find((e=>e.claims));if(!i){n.info(`The WWW-Authenticate header was missing the necessary "claims" to perform the Continuous Access Evaluation authentication flow.`);return false}const a=await e.getAccessToken(i.scope?[i.scope]:t,{claims:decodeStringToString(i.claims)});if(!a){return false}e.request.headers.set("Authorization",`${a.tokenType??"Bearer"} ${a.token}`);return true}const kn={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function isUuid(e){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(e)}const authorizeRequestOnTenantChallenge=async e=>{const t=requestToOptions(e.request);const r=getChallenge(e.response);if(r){const n=parseChallenge(r);const s=buildScopes(e,n);const o=extractTenantId(n);if(!o){return false}const i=await e.getAccessToken(s,{...t,tenantId:o});if(!i){return false}e.request.headers.set(kn.HeaderConstants.AUTHORIZATION,`${i.tokenType??"Bearer"} ${i.token}`);return true}return false};function extractTenantId(e){const t=new URL(e.authorization_uri);const r=t.pathname.split("/");const n=r[1];if(n&&isUuid(n)){return n}return undefined}function buildScopes(e,t){if(!t.resource_id){return e.scopes}const r=new URL(t.resource_id);r.pathname=kn.DefaultScope;let n=r.toString();if(n==="https://disk.azure.com/.default"){n="https://disk.azure.com//.default"}return[n]}function getChallenge(e){const t=e.headers.get("WWW-Authenticate");if(e.status===401&&t){return t}return}function parseChallenge(e){const t=e.slice("Bearer ".length);const r=`${t.trim()} `.split(" ").filter((e=>e));const n=r.map((e=>(([e,t])=>({[e]:t}))(e.trim().split("="))));return n.reduce(((e,t)=>({...e,...t})),{})}function requestToOptions(e){return{abortSignal:e.abortSignal,requestOptions:{timeout:e.timeout},tracingOptions:e.tracingOptions}}const Dn=Symbol("Original PipelineRequest");const _n=Symbol.for("@azure/core-client original request");function toPipelineRequest(e,t={}){const r=e;const n=r[Dn];const s=esm_httpHeaders_createHttpHeaders(e.headers.toJson({preserveCase:true}));if(n){n.headers=s;return n}else{const r=esm_pipelineRequest_createPipelineRequest({url:e.url,method:e.method,headers:s,withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,disableKeepAlive:!!e.keepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides});if(t.originalRequest){r[_n]=t.originalRequest}return r}}function toWebResourceLike(e,t){const r=t?.originalRequest??e;const n={url:e.url,method:e.method,headers:toHttpHeadersLike(e.headers),withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.headers.get("x-ms-client-request-id")||e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,keepAlive:!!e.disableKeepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.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(t?.createProxy){return new Proxy(n,{get(t,s,o){if(s===Dn){return e}else if(s==="clone"){return()=>toWebResourceLike(toPipelineRequest(n,{originalRequest:r}),{createProxy:true,originalRequest:r})}return Reflect.get(t,s,o)},set(t,r,n,s){if(r==="keepAlive"){e.disableKeepAlive=!n}const o=["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"];if(typeof r==="string"&&o.includes(r)){e[r]=n}return Reflect.set(t,r,n,s)}})}else{return n}}function toHttpHeadersLike(e){return new HttpHeaders(e.toJSON({preserveCase:true}))}function getHeaderKey(e){return e.toLowerCase()}class HttpHeaders{_headersMap;constructor(e){this._headersMap={};if(e){for(const t in e){this.set(t,e[t])}}}set(e,t){this._headersMap[getHeaderKey(e)]={name:e,value:t.toString()}}get(e){const t=this._headersMap[getHeaderKey(e)];return!t?undefined:t.value}contains(e){return!!this._headersMap[getHeaderKey(e)]}remove(e){const t=this.contains(e);delete this._headersMap[getHeaderKey(e)];return t}rawHeaders(){return this.toJson({preserveCase:true})}headersArray(){const e=[];for(const t in this._headersMap){e.push(this._headersMap[t])}return e}headerNames(){const e=[];const t=this.headersArray();for(let r=0;r<t.length;++r){e.push(t[r].name)}return e}headerValues(){const e=[];const t=this.headersArray();for(let r=0;r<t.length;++r){e.push(t[r].value)}return e}toJson(e={}){const t={};if(e.preserveCase){for(const e in this._headersMap){const r=this._headersMap[e];t[r.name]=r.value}}else{for(const e in this._headersMap){const r=this._headersMap[e];t[getHeaderKey(r.name)]=r.value}}return t}toString(){return JSON.stringify(this.toJson({preserveCase:true}))}clone(){const e={};for(const t in this._headersMap){const r=this._headersMap[t];e[r.name]=r.value}return new HttpHeaders(e)}}const Pn=Symbol("Original FullOperationResponse");function toCompatResponse(e,t){let r=toWebResourceLike(e.request);let n=toHttpHeadersLike(e.headers);if(t?.createProxy){return new Proxy(e,{get(t,s,o){if(s==="headers"){return n}else if(s==="request"){return r}else if(s===Pn){return e}return Reflect.get(t,s,o)},set(e,t,s,o){if(t==="headers"){n=s}else if(t==="request"){r=s}return Reflect.set(e,t,s,o)}})}else{return{...e,request:r,headers:n}}}function response_toPipelineResponse(e){const t=e;const r=t[Pn];const n=esm_httpHeaders_createHttpHeaders(e.headers.toJson({preserveCase:true}));if(r){r.headers=n;return r}else{return{...e,headers:n,request:toPipelineRequest(e.request)}}}class ExtendedServiceClient extends ServiceClient{constructor(e){super(e);if(e.keepAliveOptions?.enable===false&&!pipelineContainsDisableKeepAlivePolicy(this.pipeline)){this.pipeline.addPolicy(createDisableKeepAlivePolicy())}if(e.redirectOptions?.handleRedirects===false){this.pipeline.removePolicy({name:vr})}}async sendOperationRequest(e,t){const r=e?.options?.onResponse;let n;function onResponse(e,t,s){n=e;if(r){r(e,t,s)}}e.options={...e.options,onResponse:onResponse};const s=await super.sendOperationRequest(e,t);if(n){Object.defineProperty(s,"_response",{value:toCompatResponse(n)})}return s}}var Ln;(function(e){e[e["ERROR"]=1]="ERROR";e[e["INFO"]=3]="INFO";e[e["OFF"]=0]="OFF";e[e["WARNING"]=2]="WARNING"})(Ln||(Ln={}));const Mn={log(e,t){},shouldLog(e){return false}};const On="RequestPolicyFactoryPolicy";function createRequestPolicyFactoryPolicy(e){const t=e.slice().reverse();return{name:On,async sendRequest(e,r){let n={async sendRequest(e){const t=await r(toPipelineRequest(e));return toCompatResponse(t,{createProxy:true})}};for(const e of t){n=e.create(n,Mn)}const s=toWebResourceLike(e,{createProxy:true});const o=await n.sendRequest(s);return response_toPipelineResponse(o)}}}function convertHttpClient(e){return{sendRequest:async t=>{const r=await e.sendRequest(toWebResourceLike(t,{createProxy:true}));return response_toPipelineResponse(r)}}}const Fn="\n";function toXml(e,t){let r="";if(t.format&&t.indentBy.length>0){r=Fn}return arrToStr(e,t,"",r)}function arrToStr(e,t,r,n){let s="";let o=false;if(!Array.isArray(e)){if(e!==undefined&&e!==null){let r=e.toString();r=replaceEntitiesValue(r,t);return r}return""}for(let i=0;i<e.length;i++){const a=e[i];const c=propName(a);if(c===undefined)continue;let l="";if(r.length===0)l=c;else l=`${r}.${c}`;if(c===t.textNodeName){let e=a[c];if(!isStopNode(l,t)){e=t.tagValueProcessor(c,e);e=replaceEntitiesValue(e,t)}if(o){s+=n}s+=e;o=false;continue}else if(c===t.cdataPropName){if(o){s+=n}s+=`<![CDATA[${a[c][0][t.textNodeName]}]]>`;o=false;continue}else if(c===t.commentPropName){s+=n+`\x3c!--${a[c][0][t.textNodeName]}--\x3e`;o=true;continue}else if(c[0]==="?"){const e=attr_to_str(a[":@"],t);const r=c==="?xml"?"":n;let i=a[c][0][t.textNodeName];i=i.length!==0?" "+i:"";s+=r+`<${c}${i}${e}?>`;o=true;continue}let u=n;if(u!==""){u+=t.indentBy}const A=attr_to_str(a[":@"],t);const d=n+`<${c}${A}`;const p=arrToStr(a[c],t,l,u);if(t.unpairedTags.indexOf(c)!==-1){if(t.suppressUnpairedNode)s+=d+">";else s+=d+"/>"}else if((!p||p.length===0)&&t.suppressEmptyNode){s+=d+"/>"}else if(p&&p.endsWith(">")){s+=d+`>${p}${n}</${c}>`}else{s+=d+">";if(p&&n!==""&&(p.includes("/>")||p.includes("</"))){s+=n+t.indentBy+p+n}else{s+=p}s+=`</${c}>`}o=true}return s}function propName(e){const t=Object.keys(e);for(let r=0;r<t.length;r++){const n=t[r];if(!Object.prototype.hasOwnProperty.call(e,n))continue;if(n!==":@")return n}}function attr_to_str(e,t){let r="";if(e&&!t.ignoreAttributes){for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let s=t.attributeValueProcessor(n,e[n]);s=replaceEntitiesValue(s,t);if(s===true&&t.suppressBooleanAttributes){r+=` ${n.substr(t.attributeNamePrefix.length)}`}else{r+=` ${n.substr(t.attributeNamePrefix.length)}="${s}"`}}}return r}function isStopNode(e,t){e=e.substr(0,e.length-t.textNodeName.length-1);let r=e.substr(e.lastIndexOf(".")+1);for(let n in t.stopNodes){if(t.stopNodes[n]===e||t.stopNodes[n]==="*."+r)return true}return false}function replaceEntitiesValue(e,t){if(e&&e.length>0&&t.processEntities){for(let r=0;r<t.entities.length;r++){const n=t.entities[r];e=e.replace(n.regex,n.val)}}return e}function getIgnoreAttributesFn(e){if(typeof e==="function"){return e}if(Array.isArray(e)){return t=>{for(const r of e){if(typeof r==="string"&&t===r){return true}if(r instanceof RegExp&&r.test(t)){return true}}}}return()=>false}const Un={attributeNamePrefix:"@_",attributesGroupName:false,textNodeName:"#text",ignoreAttributes:true,cdataPropName:false,format:false,indentBy:" ",suppressEmptyNode:false,suppressUnpairedNode:true,suppressBooleanAttributes:true,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:false,commentPropName:false,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:true,stopNodes:[],oneListGroup:false};function Builder(e){this.options=Object.assign({},Un,e);if(this.options.ignoreAttributes===true||this.options.attributesGroupName){this.isAttribute=function(){return false}}else{this.ignoreAttributesFn=getIgnoreAttributesFn(this.options.ignoreAttributes);this.attrPrefixLen=this.options.attributeNamePrefix.length;this.isAttribute=isAttribute}this.processTextOrObjNode=processTextOrObjNode;if(this.options.format){this.indentate=indentate;this.tagEndChar=">\n";this.newLine="\n"}else{this.indentate=function(){return""};this.tagEndChar=">";this.newLine=""}}Builder.prototype.build=function(e){if(this.options.preserveOrder){return toXml(e,this.options)}else{if(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1){e={[this.options.arrayNodeName]:e}}return this.j2x(e,0,[]).val}};Builder.prototype.j2x=function(e,t,r){let n="";let s="";const o=r.join(".");for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;if(typeof e[i]==="undefined"){if(this.isAttribute(i)){s+=""}}else if(e[i]===null){if(this.isAttribute(i)){s+=""}else if(i===this.options.cdataPropName){s+=""}else if(i[0]==="?"){s+=this.indentate(t)+"<"+i+"?"+this.tagEndChar}else{s+=this.indentate(t)+"<"+i+"/"+this.tagEndChar}}else if(e[i]instanceof Date){s+=this.buildTextValNode(e[i],i,"",t)}else if(typeof e[i]!=="object"){const r=this.isAttribute(i);if(r&&!this.ignoreAttributesFn(r,o)){n+=this.buildAttrPairStr(r,""+e[i])}else if(!r){if(i===this.options.textNodeName){let t=this.options.tagValueProcessor(i,""+e[i]);s+=this.replaceEntitiesValue(t)}else{s+=this.buildTextValNode(e[i],i,"",t)}}}else if(Array.isArray(e[i])){const n=e[i].length;let o="";let a="";for(let c=0;c<n;c++){const n=e[i][c];if(typeof n==="undefined"){}else if(n===null){if(i[0]==="?")s+=this.indentate(t)+"<"+i+"?"+this.tagEndChar;else s+=this.indentate(t)+"<"+i+"/"+this.tagEndChar}else if(typeof n==="object"){if(this.options.oneListGroup){const e=this.j2x(n,t+1,r.concat(i));o+=e.val;if(this.options.attributesGroupName&&n.hasOwnProperty(this.options.attributesGroupName)){a+=e.attrStr}}else{o+=this.processTextOrObjNode(n,i,t,r)}}else{if(this.options.oneListGroup){let e=this.options.tagValueProcessor(i,n);e=this.replaceEntitiesValue(e);o+=e}else{o+=this.buildTextValNode(n,i,"",t)}}}if(this.options.oneListGroup){o=this.buildObjectNode(o,i,a,t)}s+=o}else{if(this.options.attributesGroupName&&i===this.options.attributesGroupName){const t=Object.keys(e[i]);const r=t.length;for(let s=0;s<r;s++){n+=this.buildAttrPairStr(t[s],""+e[i][t[s]])}}else{s+=this.processTextOrObjNode(e[i],i,t,r)}}}return{attrStr:n,val:s}};Builder.prototype.buildAttrPairStr=function(e,t){t=this.options.attributeValueProcessor(e,""+t);t=this.replaceEntitiesValue(t);if(this.options.suppressBooleanAttributes&&t==="true"){return" "+e}else return" "+e+'="'+t+'"'};function processTextOrObjNode(e,t,r,n){const s=this.j2x(e,r+1,n.concat(t));if(e[this.options.textNodeName]!==undefined&&Object.keys(e).length===1){return this.buildTextValNode(e[this.options.textNodeName],t,s.attrStr,r)}else{return this.buildObjectNode(s.val,t,s.attrStr,r)}}Builder.prototype.buildObjectNode=function(e,t,r,n){if(e===""){if(t[0]==="?")return this.indentate(n)+"<"+t+r+"?"+this.tagEndChar;else{return this.indentate(n)+"<"+t+r+this.closeTag(t)+this.tagEndChar}}else{let s="</"+t+this.tagEndChar;let o="";if(t[0]==="?"){o="?";s=""}if((r||r==="")&&e.indexOf("<")===-1){return this.indentate(n)+"<"+t+r+o+">"+e+s}else if(this.options.commentPropName!==false&&t===this.options.commentPropName&&o.length===0){return this.indentate(n)+`\x3c!--${e}--\x3e`+this.newLine}else{return this.indentate(n)+"<"+t+r+o+this.tagEndChar+e+this.indentate(n)+s}}};Builder.prototype.closeTag=function(e){let t="";if(this.options.unpairedTags.indexOf(e)!==-1){if(!this.options.suppressUnpairedNode)t="/"}else if(this.options.suppressEmptyNode){t="/"}else{t=`></${e}`}return t};function buildEmptyObjNode(e,t,r,n){if(e!==""){return this.buildObjectNode(e,t,r,n)}else{if(t[0]==="?")return this.indentate(n)+"<"+t+r+"?"+this.tagEndChar;else{return this.indentate(n)+"<"+t+r+"/"+this.tagEndChar}}}Builder.prototype.buildTextValNode=function(e,t,r,n){if(this.options.cdataPropName!==false&&t===this.options.cdataPropName){return this.indentate(n)+`<![CDATA[${e}]]>`+this.newLine}else if(this.options.commentPropName!==false&&t===this.options.commentPropName){return this.indentate(n)+`\x3c!--${e}--\x3e`+this.newLine}else if(t[0]==="?"){return this.indentate(n)+"<"+t+r+"?"+this.tagEndChar}else{let s=this.options.tagValueProcessor(t,e);s=this.replaceEntitiesValue(s);if(s===""){return this.indentate(n)+"<"+t+r+this.closeTag(t)+this.tagEndChar}else{return this.indentate(n)+"<"+t+r+">"+s+"</"+t+this.tagEndChar}}};Builder.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities){for(let t=0;t<this.options.entities.length;t++){const r=this.options.entities[t];e=e.replace(r.regex,r.val)}}return e};function indentate(e){return this.options.indentBy.repeat(e)}function isAttribute(e){if(e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName){return e.substr(this.attrPrefixLen)}else{return false}}const Hn=Builder;const Gn=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD";const qn=Gn+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040";const zn="["+Gn+"]["+qn+"]*";const Vn=new RegExp("^"+zn+"$");function getAllMatches(e,t){const r=[];let n=t.exec(e);while(n){const s=[];s.startIndex=t.lastIndex-n[0].length;const o=n.length;for(let e=0;e<o;e++){s.push(n[e])}r.push(s);n=t.exec(e)}return r}const isName=function(e){const t=Vn.exec(e);return!(t===null||typeof t==="undefined")};function isExist(e){return typeof e!=="undefined"}function isEmptyObject(e){return Object.keys(e).length===0}function getValue(e){if(exports.isExist(e)){return e}else{return""}}const $n={allowBooleanAttributes:false,unpairedTags:[]};function validate(e,t){t=Object.assign({},$n,t);const r=[];let n=false;let s=false;if(e[0]==="\ufeff"){e=e.substr(1)}for(let o=0;o<e.length;o++){if(e[o]==="<"&&e[o+1]==="?"){o+=2;o=readPI(e,o);if(o.err)return o}else if(e[o]==="<"){let i=o;o++;if(e[o]==="!"){o=readCommentAndCDATA(e,o);continue}else{let a=false;if(e[o]==="/"){a=true;o++}let c="";for(;o<e.length&&e[o]!==">"&&e[o]!==" "&&e[o]!=="\t"&&e[o]!=="\n"&&e[o]!=="\r";o++){c+=e[o]}c=c.trim();if(c[c.length-1]==="/"){c=c.substring(0,c.length-1);o--}if(!validateTagName(c)){let t;if(c.trim().length===0){t="Invalid space after '<'."}else{t="Tag '"+c+"' is an invalid name."}return getErrorObject("InvalidTag",t,getLineNumberForPosition(e,o))}const l=readAttributeStr(e,o);if(l===false){return getErrorObject("InvalidAttr","Attributes for '"+c+"' have open quote.",getLineNumberForPosition(e,o))}let u=l.value;o=l.index;if(u[u.length-1]==="/"){const r=o-u.length;u=u.substring(0,u.length-1);const s=validateAttributeString(u,t);if(s===true){n=true}else{return getErrorObject(s.err.code,s.err.msg,getLineNumberForPosition(e,r+s.err.line))}}else if(a){if(!l.tagClosed){return getErrorObject("InvalidTag","Closing tag '"+c+"' doesn't have proper closing.",getLineNumberForPosition(e,o))}else if(u.trim().length>0){return getErrorObject("InvalidTag","Closing tag '"+c+"' can't have attributes or invalid starting.",getLineNumberForPosition(e,i))}else if(r.length===0){return getErrorObject("InvalidTag","Closing tag '"+c+"' has not been opened.",getLineNumberForPosition(e,i))}else{const t=r.pop();if(c!==t.tagName){let r=getLineNumberForPosition(e,t.tagStartPos);return getErrorObject("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+r.line+", col "+r.col+") instead of closing tag '"+c+"'.",getLineNumberForPosition(e,i))}if(r.length==0){s=true}}}else{const a=validateAttributeString(u,t);if(a!==true){return getErrorObject(a.err.code,a.err.msg,getLineNumberForPosition(e,o-u.length+a.err.line))}if(s===true){return getErrorObject("InvalidXml","Multiple possible root nodes found.",getLineNumberForPosition(e,o))}else if(t.unpairedTags.indexOf(c)!==-1){}else{r.push({tagName:c,tagStartPos:i})}n=true}for(o++;o<e.length;o++){if(e[o]==="<"){if(e[o+1]==="!"){o++;o=readCommentAndCDATA(e,o);continue}else if(e[o+1]==="?"){o=readPI(e,++o);if(o.err)return o}else{break}}else if(e[o]==="&"){const t=validateAmpersand(e,o);if(t==-1)return getErrorObject("InvalidChar","char '&' is not expected.",getLineNumberForPosition(e,o));o=t}else{if(s===true&&!isWhiteSpace(e[o])){return getErrorObject("InvalidXml","Extra text at the end",getLineNumberForPosition(e,o))}}}if(e[o]==="<"){o--}}}else{if(isWhiteSpace(e[o])){continue}return getErrorObject("InvalidChar","char '"+e[o]+"' is not expected.",getLineNumberForPosition(e,o))}}if(!n){return getErrorObject("InvalidXml","Start tag expected.",1)}else if(r.length==1){return getErrorObject("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",getLineNumberForPosition(e,r[0].tagStartPos))}else if(r.length>0){return getErrorObject("InvalidXml","Invalid '"+JSON.stringify(r.map((e=>e.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}return true}function isWhiteSpace(e){return e===" "||e==="\t"||e==="\n"||e==="\r"}function readPI(e,t){const r=t;for(;t<e.length;t++){if(e[t]=="?"||e[t]==" "){const n=e.substr(r,t-r);if(t>5&&n==="xml"){return getErrorObject("InvalidXml","XML declaration allowed only at the start of the document.",getLineNumberForPosition(e,t))}else if(e[t]=="?"&&e[t+1]==">"){t++;break}else{continue}}}return t}function readCommentAndCDATA(e,t){if(e.length>t+5&&e[t+1]==="-"&&e[t+2]==="-"){for(t+=3;t<e.length;t++){if(e[t]==="-"&&e[t+1]==="-"&&e[t+2]===">"){t+=2;break}}}else if(e.length>t+8&&e[t+1]==="D"&&e[t+2]==="O"&&e[t+3]==="C"&&e[t+4]==="T"&&e[t+5]==="Y"&&e[t+6]==="P"&&e[t+7]==="E"){let r=1;for(t+=8;t<e.length;t++){if(e[t]==="<"){r++}else if(e[t]===">"){r--;if(r===0){break}}}}else if(e.length>t+9&&e[t+1]==="["&&e[t+2]==="C"&&e[t+3]==="D"&&e[t+4]==="A"&&e[t+5]==="T"&&e[t+6]==="A"&&e[t+7]==="["){for(t+=8;t<e.length;t++){if(e[t]==="]"&&e[t+1]==="]"&&e[t+2]===">"){t+=2;break}}}return t}const Jn='"';const Yn="'";function readAttributeStr(e,t){let r="";let n="";let s=false;for(;t<e.length;t++){if(e[t]===Jn||e[t]===Yn){if(n===""){n=e[t]}else if(n!==e[t]){}else{n=""}}else if(e[t]===">"){if(n===""){s=true;break}}r+=e[t]}if(n!==""){return false}return{value:r,index:t,tagClosed:s}}const Wn=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function validateAttributeString(e,t){const r=getAllMatches(e,Wn);const n={};for(let e=0;e<r.length;e++){if(r[e][1].length===0){return getErrorObject("InvalidAttr","Attribute '"+r[e][2]+"' has no space in starting.",getPositionFromMatch(r[e]))}else if(r[e][3]!==undefined&&r[e][4]===undefined){return getErrorObject("InvalidAttr","Attribute '"+r[e][2]+"' is without value.",getPositionFromMatch(r[e]))}else if(r[e][3]===undefined&&!t.allowBooleanAttributes){return getErrorObject("InvalidAttr","boolean attribute '"+r[e][2]+"' is not allowed.",getPositionFromMatch(r[e]))}const s=r[e][2];if(!validateAttrName(s)){return getErrorObject("InvalidAttr","Attribute '"+s+"' is an invalid name.",getPositionFromMatch(r[e]))}if(!Object.prototype.hasOwnProperty.call(n,s)){n[s]=1}else{return getErrorObject("InvalidAttr","Attribute '"+s+"' is repeated.",getPositionFromMatch(r[e]))}}return true}function validateNumberAmpersand(e,t){let r=/\d/;if(e[t]==="x"){t++;r=/[\da-fA-F]/}for(;t<e.length;t++){if(e[t]===";")return t;if(!e[t].match(r))break}return-1}function validateAmpersand(e,t){t++;if(e[t]===";")return-1;if(e[t]==="#"){t++;return validateNumberAmpersand(e,t)}let r=0;for(;t<e.length;t++,r++){if(e[t].match(/\w/)&&r<20)continue;if(e[t]===";")break;return-1}return t}function getErrorObject(e,t,r){return{err:{code:e,msg:t,line:r.line||r,col:r.col}}}function validateAttrName(e){return isName(e)}function validateTagName(e){return isName(e)}function getLineNumberForPosition(e,t){const r=e.substring(0,t).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function getPositionFromMatch(e){return e.startIndex+e[1].length}const jn={validate:validate};const Kn={preserveOrder:false,attributeNamePrefix:"@_",attributesGroupName:false,textNodeName:"#text",ignoreAttributes:true,removeNSPrefix:false,allowBooleanAttributes:false,parseTagValue:true,parseAttributeValue:false,trimValues:true,cdataPropName:false,numberParseOptions:{hex:true,leadingZeros:true,eNotation:true},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:false,isArray:()=>false,commentPropName:false,unpairedTags:[],processEntities:true,htmlEntities:false,ignoreDeclaration:false,ignorePiTags:false,transformTagName:false,transformAttributeName:false,updateTag:function(e,t,r){return e},captureMetaData:false,maxNestedTags:100,strictReservedNames:true};function normalizeProcessEntities(e){if(typeof e==="boolean"){return{enabled:e,maxEntitySize:1e4,maxExpansionDepth:10,maxTotalExpansions:1e3,maxExpandedLength:1e5,allowedTags:null,tagFilter:null}}if(typeof e==="object"&&e!==null){return{enabled:e.enabled!==false,maxEntitySize:e.maxEntitySize??1e4,maxExpansionDepth:e.maxExpansionDepth??10,maxTotalExpansions:e.maxTotalExpansions??1e3,maxExpandedLength:e.maxExpandedLength??1e5,allowedTags:e.allowedTags??null,tagFilter:e.tagFilter??null}}return normalizeProcessEntities(true)}const buildOptions=function(e){const t=Object.assign({},Kn,e);t.processEntities=normalizeProcessEntities(t.processEntities);return t};let Xn;if(typeof Symbol!=="function"){Xn="@@xmlMetadata"}else{Xn=Symbol("XML Node Metadata")}class XmlNode{constructor(e){this.tagname=e;this.child=[];this[":@"]=Object.create(null)}add(e,t){if(e==="__proto__")e="#__proto__";this.child.push({[e]:t})}addChild(e,t){if(e.tagname==="__proto__")e.tagname="#__proto__";if(e[":@"]&&Object.keys(e[":@"]).length>0){this.child.push({[e.tagname]:e.child,[":@"]:e[":@"]})}else{this.child.push({[e.tagname]:e.child})}if(t!==undefined){this.child[this.child.length-1][Xn]={startIndex:t}}}static getMetaDataSymbol(){return Xn}}class DocTypeReader{constructor(e){this.suppressValidationErr=!e;this.options=e}readDocType(e,t){const r=Object.create(null);if(e[t+3]==="O"&&e[t+4]==="C"&&e[t+5]==="T"&&e[t+6]==="Y"&&e[t+7]==="P"&&e[t+8]==="E"){t=t+9;let n=1;let s=false,o=false;let i="";for(;t<e.length;t++){if(e[t]==="<"&&!o){if(s&&hasSeq(e,"!ENTITY",t)){t+=7;let n,s;[n,s,t]=this.readEntityExp(e,t+1,this.suppressValidationErr);if(s.indexOf("&")===-1){const e=n.replace(/[.\-+*:]/g,"\\.");r[n]={regx:RegExp(`&${e};`,"g"),val:s}}}else if(s&&hasSeq(e,"!ELEMENT",t)){t+=8;const{index:r}=this.readElementExp(e,t+1);t=r}else if(s&&hasSeq(e,"!ATTLIST",t)){t+=8}else if(s&&hasSeq(e,"!NOTATION",t)){t+=9;const{index:r}=this.readNotationExp(e,t+1,this.suppressValidationErr);t=r}else if(hasSeq(e,"!--",t))o=true;else throw new Error(`Invalid DOCTYPE`);n++;i=""}else if(e[t]===">"){if(o){if(e[t-1]==="-"&&e[t-2]==="-"){o=false;n--}}else{n--}if(n===0){break}}else if(e[t]==="["){s=true}else{i+=e[t]}}if(n!==0){throw new Error(`Unclosed DOCTYPE`)}}else{throw new Error(`Invalid Tag instead of DOCTYPE`)}return{entities:r,i:t}}readEntityExp(e,t){t=skipWhitespace(e,t);let r="";while(t<e.length&&!/\s/.test(e[t])&&e[t]!=='"'&&e[t]!=="'"){r+=e[t];t++}validateEntityName(r);t=skipWhitespace(e,t);if(!this.suppressValidationErr){if(e.substring(t,t+6).toUpperCase()==="SYSTEM"){throw new Error("External entities are not supported")}else if(e[t]==="%"){throw new Error("Parameter entities are not supported")}}let n="";[t,n]=this.readIdentifierVal(e,t,"entity");if(this.options.enabled!==false&&this.options.maxEntitySize&&n.length>this.options.maxEntitySize){throw new Error(`Entity "${r}" size (${n.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`)}t--;return[r,n,t]}readNotationExp(e,t){t=skipWhitespace(e,t);let r="";while(t<e.length&&!/\s/.test(e[t])){r+=e[t];t++}!this.suppressValidationErr&&validateEntityName(r);t=skipWhitespace(e,t);const n=e.substring(t,t+6).toUpperCase();if(!this.suppressValidationErr&&n!=="SYSTEM"&&n!=="PUBLIC"){throw new Error(`Expected SYSTEM or PUBLIC, found "${n}"`)}t+=n.length;t=skipWhitespace(e,t);let s=null;let o=null;if(n==="PUBLIC"){[t,s]=this.readIdentifierVal(e,t,"publicIdentifier");t=skipWhitespace(e,t);if(e[t]==='"'||e[t]==="'"){[t,o]=this.readIdentifierVal(e,t,"systemIdentifier")}}else if(n==="SYSTEM"){[t,o]=this.readIdentifierVal(e,t,"systemIdentifier");if(!this.suppressValidationErr&&!o){throw new Error("Missing mandatory system identifier for SYSTEM notation")}}return{notationName:r,publicIdentifier:s,systemIdentifier:o,index:--t}}readIdentifierVal(e,t,r){let n="";const s=e[t];if(s!=='"'&&s!=="'"){throw new Error(`Expected quoted string, found "${s}"`)}t++;while(t<e.length&&e[t]!==s){n+=e[t];t++}if(e[t]!==s){throw new Error(`Unterminated ${r} value`)}t++;return[t,n]}readElementExp(e,t){t=skipWhitespace(e,t);let r="";while(t<e.length&&!/\s/.test(e[t])){r+=e[t];t++}if(!this.suppressValidationErr&&!isName(r)){throw new Error(`Invalid element name: "${r}"`)}t=skipWhitespace(e,t);let n="";if(e[t]==="E"&&hasSeq(e,"MPTY",t))t+=4;else if(e[t]==="A"&&hasSeq(e,"NY",t))t+=2;else if(e[t]==="("){t++;while(t<e.length&&e[t]!==")"){n+=e[t];t++}if(e[t]!==")"){throw new Error("Unterminated content model")}}else if(!this.suppressValidationErr){throw new Error(`Invalid Element Expression, found "${e[t]}"`)}return{elementName:r,contentModel:n.trim(),index:t}}readAttlistExp(e,t){t=skipWhitespace(e,t);let r="";while(t<e.length&&!/\s/.test(e[t])){r+=e[t];t++}validateEntityName(r);t=skipWhitespace(e,t);let n="";while(t<e.length&&!/\s/.test(e[t])){n+=e[t];t++}if(!validateEntityName(n)){throw new Error(`Invalid attribute name: "${n}"`)}t=skipWhitespace(e,t);let s="";if(e.substring(t,t+8).toUpperCase()==="NOTATION"){s="NOTATION";t+=8;t=skipWhitespace(e,t);if(e[t]!=="("){throw new Error(`Expected '(', found "${e[t]}"`)}t++;let r=[];while(t<e.length&&e[t]!==")"){let n="";while(t<e.length&&e[t]!=="|"&&e[t]!==")"){n+=e[t];t++}n=n.trim();if(!validateEntityName(n)){throw new Error(`Invalid notation name: "${n}"`)}r.push(n);if(e[t]==="|"){t++;t=skipWhitespace(e,t)}}if(e[t]!==")"){throw new Error("Unterminated list of notations")}t++;s+=" ("+r.join("|")+")"}else{while(t<e.length&&!/\s/.test(e[t])){s+=e[t];t++}const r=["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"];if(!this.suppressValidationErr&&!r.includes(s.toUpperCase())){throw new Error(`Invalid attribute type: "${s}"`)}}t=skipWhitespace(e,t);let o="";if(e.substring(t,t+8).toUpperCase()==="#REQUIRED"){o="#REQUIRED";t+=8}else if(e.substring(t,t+7).toUpperCase()==="#IMPLIED"){o="#IMPLIED";t+=7}else{[t,o]=this.readIdentifierVal(e,t,"ATTLIST")}return{elementName:r,attributeName:n,attributeType:s,defaultValue:o,index:t}}}const skipWhitespace=(e,t)=>{while(t<e.length&&/\s/.test(e[t])){t++}return t};function hasSeq(e,t,r){for(let n=0;n<t.length;n++){if(t[n]!==e[r+n+1])return false}return true}function validateEntityName(e){if(isName(e))return e;else throw new Error(`Invalid entity name ${e}`)}const Zn=/^[-+]?0x[a-fA-F0-9]+$/;const es=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/;const ts={hex:true,leadingZeros:true,decimalPoint:".",eNotation:true};function toNumber(e,t={}){t=Object.assign({},ts,t);if(!e||typeof e!=="string")return e;let r=e.trim();if(t.skipLike!==undefined&&t.skipLike.test(r))return e;else if(e==="0")return 0;else if(t.hex&&Zn.test(r)){return parse_int(r,16)}else if(r.includes("e")||r.includes("E")){return resolveEnotation(e,r,t)}else{const n=es.exec(r);if(n){const s=n[1]||"";const o=n[2];let i=trimZeros(n[3]);const a=s?e[o.length+1]===".":e[o.length]===".";if(!t.leadingZeros&&(o.length>1||o.length===1&&!a)){return e}else{const n=Number(r);const a=String(n);if(n===0)return n;if(a.search(/[eE]/)!==-1){if(t.eNotation)return n;else return e}else if(r.indexOf(".")!==-1){if(a==="0")return n;else if(a===i)return n;else if(a===`${s}${i}`)return n;else return e}let c=o?i:r;if(o){return c===a||s+c===a?n:e}else{return c===a||c===s+a?n:e}}}else{return e}}}const rs=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function resolveEnotation(e,t,r){if(!r.eNotation)return e;const n=t.match(rs);if(n){let s=n[1]||"";const o=n[3].indexOf("e")===-1?"E":"e";const i=n[2];const a=s?e[i.length+1]===o:e[i.length]===o;if(i.length>1&&a)return e;else if(i.length===1&&(n[3].startsWith(`.${o}`)||n[3][0]===o)){return Number(t)}else if(r.leadingZeros&&!a){t=(n[1]||"")+n[3];return Number(t)}else return e}else{return e}}function trimZeros(e){if(e&&e.indexOf(".")!==-1){e=e.replace(/0+$/,"");if(e===".")e="0";else if(e[0]===".")e="0"+e;else if(e[e.length-1]===".")e=e.substring(0,e.length-1);return e}return e}function parse_int(e,t){if(parseInt)return parseInt(e,t);else if(Number.parseInt)return Number.parseInt(e,t);else if(window&&window.parseInt)return window.parseInt(e,t);else throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}function ignoreAttributes_getIgnoreAttributesFn(e){if(typeof e==="function"){return e}if(Array.isArray(e)){return t=>{for(const r of e){if(typeof r==="string"&&t===r){return true}if(r instanceof RegExp&&r.test(t)){return true}}}}return()=>false}class OrderedObjParser{constructor(e){this.options=e;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:(e,t)=>fromCodePoint(t,10,"&#")},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(e,t)=>fromCodePoint(t,16,"&#x")}};this.addExternalEntities=addExternalEntities;this.parseXml=parseXml;this.parseTextData=parseTextData;this.resolveNameSpace=resolveNameSpace;this.buildAttributesMap=buildAttributesMap;this.isItStopNode=isItStopNode;this.replaceEntitiesValue=OrderedObjParser_replaceEntitiesValue;this.readStopNodeData=readStopNodeData;this.saveTextToParentTag=saveTextToParentTag;this.addChild=addChild;this.ignoreAttributesFn=ignoreAttributes_getIgnoreAttributesFn(this.options.ignoreAttributes);this.entityExpansionCount=0;this.currentExpandedLength=0;if(this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodesExact=new Set;this.stopNodesWildcard=new Set;for(let e=0;e<this.options.stopNodes.length;e++){const t=this.options.stopNodes[e];if(typeof t!=="string")continue;if(t.startsWith("*.")){this.stopNodesWildcard.add(t.substring(2))}else{this.stopNodesExact.add(t)}}}}}function addExternalEntities(e){const t=Object.keys(e);for(let r=0;r<t.length;r++){const n=t[r];const s=n.replace(/[.\-+*:]/g,"\\.");this.lastEntities[n]={regex:new RegExp("&"+s+";","g"),val:e[n]}}}function parseTextData(e,t,r,n,s,o,i){if(e!==undefined){if(this.options.trimValues&&!n){e=e.trim()}if(e.length>0){if(!i)e=this.replaceEntitiesValue(e,t,r);const n=this.options.tagValueProcessor(t,e,r,s,o);if(n===null||n===undefined){return e}else if(typeof n!==typeof e||n!==e){return n}else if(this.options.trimValues){return parseValue(e,this.options.parseTagValue,this.options.numberParseOptions)}else{const t=e.trim();if(t===e){return parseValue(e,this.options.parseTagValue,this.options.numberParseOptions)}else{return e}}}}}function resolveNameSpace(e){if(this.options.removeNSPrefix){const t=e.split(":");const r=e.charAt(0)==="/"?"/":"";if(t[0]==="xmlns"){return""}if(t.length===2){e=r+t[1]}}return e}const ns=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function buildAttributesMap(e,t,r){if(this.options.ignoreAttributes!==true&&typeof e==="string"){const n=getAllMatches(e,ns);const s=n.length;const o={};for(let e=0;e<s;e++){const s=this.resolveNameSpace(n[e][1]);if(this.ignoreAttributesFn(s,t)){continue}let i=n[e][4];let a=this.options.attributeNamePrefix+s;if(s.length){if(this.options.transformAttributeName){a=this.options.transformAttributeName(a)}if(a==="__proto__")a="#__proto__";if(i!==undefined){if(this.options.trimValues){i=i.trim()}i=this.replaceEntitiesValue(i,r,t);const e=this.options.attributeValueProcessor(s,i,t);if(e===null||e===undefined){o[a]=i}else if(typeof e!==typeof i||e!==i){o[a]=e}else{o[a]=parseValue(i,this.options.parseAttributeValue,this.options.numberParseOptions)}}else if(this.options.allowBooleanAttributes){o[a]=true}}}if(!Object.keys(o).length){return}if(this.options.attributesGroupName){const e={};e[this.options.attributesGroupName]=o;return e}return o}}const parseXml=function(e){e=e.replace(/\r\n?/g,"\n");const t=new XmlNode("!xml");let r=t;let n="";let s="";this.entityExpansionCount=0;this.currentExpandedLength=0;const o=new DocTypeReader(this.options.processEntities);for(let i=0;i<e.length;i++){const a=e[i];if(a==="<"){if(e[i+1]==="/"){const t=findClosingIndex(e,">",i,"Closing Tag is not closed.");let o=e.substring(i+2,t).trim();if(this.options.removeNSPrefix){const e=o.indexOf(":");if(e!==-1){o=o.substr(e+1)}}if(this.options.transformTagName){o=this.options.transformTagName(o)}if(r){n=this.saveTextToParentTag(n,r,s)}const a=s.substring(s.lastIndexOf(".")+1);if(o&&this.options.unpairedTags.indexOf(o)!==-1){throw new Error(`Unpaired tag can not be used as closing tag: </${o}>`)}let c=0;if(a&&this.options.unpairedTags.indexOf(a)!==-1){c=s.lastIndexOf(".",s.lastIndexOf(".")-1);this.tagsNodeStack.pop()}else{c=s.lastIndexOf(".")}s=s.substring(0,c);r=this.tagsNodeStack.pop();n="";i=t}else if(e[i+1]==="?"){let t=readTagExp(e,i,false,"?>");if(!t)throw new Error("Pi Tag is not closed.");n=this.saveTextToParentTag(n,r,s);if(this.options.ignoreDeclaration&&t.tagName==="?xml"||this.options.ignorePiTags){}else{const e=new XmlNode(t.tagName);e.add(this.options.textNodeName,"");if(t.tagName!==t.tagExp&&t.attrExpPresent){e[":@"]=this.buildAttributesMap(t.tagExp,s,t.tagName)}this.addChild(r,e,s,i)}i=t.closeIndex+1}else if(e.substr(i+1,3)==="!--"){const t=findClosingIndex(e,"--\x3e",i+4,"Comment is not closed.");if(this.options.commentPropName){const o=e.substring(i+4,t-2);n=this.saveTextToParentTag(n,r,s);r.add(this.options.commentPropName,[{[this.options.textNodeName]:o}])}i=t}else if(e.substr(i+1,2)==="!D"){const t=o.readDocType(e,i);this.docTypeEntities=t.entities;i=t.i}else if(e.substr(i+1,2)==="!["){const t=findClosingIndex(e,"]]>",i,"CDATA is not closed.")-2;const o=e.substring(i+9,t);n=this.saveTextToParentTag(n,r,s);let a=this.parseTextData(o,r.tagname,s,true,false,true,true);if(a==undefined)a="";if(this.options.cdataPropName){r.add(this.options.cdataPropName,[{[this.options.textNodeName]:o}])}else{r.add(this.options.textNodeName,a)}i=t+2}else{let o=readTagExp(e,i,this.options.removeNSPrefix);let a=o.tagName;const c=o.rawTagName;let l=o.tagExp;let u=o.attrExpPresent;let A=o.closeIndex;if(this.options.transformTagName){const e=this.options.transformTagName(a);if(l===a){l=e}a=e}if(this.options.strictReservedNames&&(a===this.options.commentPropName||a===this.options.cdataPropName)){throw new Error(`Invalid tag name: ${a}`)}if(r&&n){if(r.tagname!=="!xml"){n=this.saveTextToParentTag(n,r,s,false)}}const d=r;if(d&&this.options.unpairedTags.indexOf(d.tagname)!==-1){r=this.tagsNodeStack.pop();s=s.substring(0,s.lastIndexOf("."))}if(a!==t.tagname){s+=s?"."+a:a}const p=i;if(this.isItStopNode(this.stopNodesExact,this.stopNodesWildcard,s,a)){let t="";if(l.length>0&&l.lastIndexOf("/")===l.length-1){if(a[a.length-1]==="/"){a=a.substr(0,a.length-1);s=s.substr(0,s.length-1);l=a}else{l=l.substr(0,l.length-1)}i=o.closeIndex}else if(this.options.unpairedTags.indexOf(a)!==-1){i=o.closeIndex}else{const r=this.readStopNodeData(e,c,A+1);if(!r)throw new Error(`Unexpected end of ${c}`);i=r.i;t=r.tagContent}const n=new XmlNode(a);if(a!==l&&u){n[":@"]=this.buildAttributesMap(l,s,a)}if(t){t=this.parseTextData(t,a,s,true,u,true,true)}s=s.substr(0,s.lastIndexOf("."));n.add(this.options.textNodeName,t);this.addChild(r,n,s,p)}else{if(l.length>0&&l.lastIndexOf("/")===l.length-1){if(a[a.length-1]==="/"){a=a.substr(0,a.length-1);s=s.substr(0,s.length-1);l=a}else{l=l.substr(0,l.length-1)}if(this.options.transformTagName){const e=this.options.transformTagName(a);if(l===a){l=e}a=e}const e=new XmlNode(a);if(a!==l&&u){e[":@"]=this.buildAttributesMap(l,s,a)}this.addChild(r,e,s,p);s=s.substr(0,s.lastIndexOf("."))}else if(this.options.unpairedTags.indexOf(a)!==-1){const e=new XmlNode(a);if(a!==l&&u){e[":@"]=this.buildAttributesMap(l,s)}this.addChild(r,e,s,p);s=s.substr(0,s.lastIndexOf("."));i=o.closeIndex;continue}else{const e=new XmlNode(a);if(this.tagsNodeStack.length>this.options.maxNestedTags){throw new Error("Maximum nested tags exceeded")}this.tagsNodeStack.push(r);if(a!==l&&u){e[":@"]=this.buildAttributesMap(l,s,a)}this.addChild(r,e,s,p);r=e}n="";i=A}}}else{n+=e[i]}}return t.child};function addChild(e,t,r,n){if(!this.options.captureMetaData)n=undefined;const s=this.options.updateTag(t.tagname,r,t[":@"]);if(s===false){}else if(typeof s==="string"){t.tagname=s;e.addChild(t,n)}else{e.addChild(t,n)}}const OrderedObjParser_replaceEntitiesValue=function(e,t,r){if(e.indexOf("&")===-1){return e}const n=this.options.processEntities;if(!n.enabled){return e}if(n.allowedTags){if(!n.allowedTags.includes(t)){return e}}if(n.tagFilter){if(!n.tagFilter(t,r)){return e}}for(let t in this.docTypeEntities){const r=this.docTypeEntities[t];const s=e.match(r.regx);if(s){this.entityExpansionCount+=s.length;if(n.maxTotalExpansions&&this.entityExpansionCount>n.maxTotalExpansions){throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${n.maxTotalExpansions}`)}const t=e.length;e=e.replace(r.regx,r.val);if(n.maxExpandedLength){this.currentExpandedLength+=e.length-t;if(this.currentExpandedLength>n.maxExpandedLength){throw new Error(`Total expanded content size exceeded: ${this.currentExpandedLength} > ${n.maxExpandedLength}`)}}}}if(e.indexOf("&")===-1)return e;for(let t in this.lastEntities){const r=this.lastEntities[t];e=e.replace(r.regex,r.val)}if(e.indexOf("&")===-1)return e;if(this.options.htmlEntities){for(let t in this.htmlEntities){const r=this.htmlEntities[t];e=e.replace(r.regex,r.val)}}e=e.replace(this.ampEntity.regex,this.ampEntity.val);return e};function saveTextToParentTag(e,t,r,n){if(e){if(n===undefined)n=t.child.length===0;e=this.parseTextData(e,t.tagname,r,false,t[":@"]?Object.keys(t[":@"]).length!==0:false,n);if(e!==undefined&&e!=="")t.add(this.options.textNodeName,e);e=""}return e}function isItStopNode(e,t,r,n){if(t&&t.has(n))return true;if(e&&e.has(r))return true;return false}function tagExpWithClosingIndex(e,t,r=">"){let n;let s="";for(let o=t;o<e.length;o++){let t=e[o];if(n){if(t===n)n=""}else if(t==='"'||t==="'"){n=t}else if(t===r[0]){if(r[1]){if(e[o+1]===r[1]){return{data:s,index:o}}}else{return{data:s,index:o}}}else if(t==="\t"){t=" "}s+=t}}function findClosingIndex(e,t,r,n){const s=e.indexOf(t,r);if(s===-1){throw new Error(n)}else{return s+t.length-1}}function readTagExp(e,t,r,n=">"){const s=tagExpWithClosingIndex(e,t+1,n);if(!s)return;let o=s.data;const i=s.index;const a=o.search(/\s/);let c=o;let l=true;if(a!==-1){c=o.substring(0,a);o=o.substring(a+1).trimStart()}const u=c;if(r){const e=c.indexOf(":");if(e!==-1){c=c.substr(e+1);l=c!==s.data.substr(e+1)}}return{tagName:c,tagExp:o,closeIndex:i,attrExpPresent:l,rawTagName:u}}function readStopNodeData(e,t,r){const n=r;let s=1;for(;r<e.length;r++){if(e[r]==="<"){if(e[r+1]==="/"){const o=findClosingIndex(e,">",r,`${t} is not closed`);let i=e.substring(r+2,o).trim();if(i===t){s--;if(s===0){return{tagContent:e.substring(n,r),i:o}}}r=o}else if(e[r+1]==="?"){const t=findClosingIndex(e,"?>",r+1,"StopNode is not closed.");r=t}else if(e.substr(r+1,3)==="!--"){const t=findClosingIndex(e,"--\x3e",r+3,"StopNode is not closed.");r=t}else if(e.substr(r+1,2)==="!["){const t=findClosingIndex(e,"]]>",r,"StopNode is not closed.")-2;r=t}else{const n=readTagExp(e,r,">");if(n){const e=n&&n.tagName;if(e===t&&n.tagExp[n.tagExp.length-1]!=="/"){s++}r=n.closeIndex}}}}}function parseValue(e,t,r){if(t&&typeof e==="string"){const t=e.trim();if(t==="true")return true;else if(t==="false")return false;else return toNumber(e,r)}else{if(isExist(e)){return e}else{return""}}}function fromCodePoint(e,t,r){const n=Number.parseInt(e,t);if(n>=0&&n<=1114111){return String.fromCodePoint(n)}else{return r+e+";"}}const ss=XmlNode.getMetaDataSymbol();function prettify(e,t){return compress(e,t)}function compress(e,t,r){let n;const s={};for(let o=0;o<e.length;o++){const i=e[o];const a=node2json_propName(i);let c="";if(r===undefined)c=a;else c=r+"."+a;if(a===t.textNodeName){if(n===undefined)n=i[a];else n+=""+i[a]}else if(a===undefined){continue}else if(i[a]){let e=compress(i[a],t,c);const r=isLeafTag(e,t);if(i[":@"]){assignAttributes(e,i[":@"],c,t)}else if(Object.keys(e).length===1&&e[t.textNodeName]!==undefined&&!t.alwaysCreateTextNode){e=e[t.textNodeName]}else if(Object.keys(e).length===0){if(t.alwaysCreateTextNode)e[t.textNodeName]="";else e=""}if(i[ss]!==undefined&&typeof e==="object"&&e!==null){e[ss]=i[ss]}if(s[a]!==undefined&&Object.prototype.hasOwnProperty.call(s,a)){if(!Array.isArray(s[a])){s[a]=[s[a]]}s[a].push(e)}else{if(t.isArray(a,c,r)){s[a]=[e]}else{s[a]=e}}}}if(typeof n==="string"){if(n.length>0)s[t.textNodeName]=n}else if(n!==undefined)s[t.textNodeName]=n;return s}function node2json_propName(e){const t=Object.keys(e);for(let e=0;e<t.length;e++){const r=t[e];if(r!==":@")return r}}function assignAttributes(e,t,r,n){if(t){const s=Object.keys(t);const o=s.length;for(let i=0;i<o;i++){const o=s[i];if(n.isArray(o,r+"."+o,true,true)){e[o]=[t[o]]}else{e[o]=t[o]}}}}function isLeafTag(e,t){const{textNodeName:r}=t;const n=Object.keys(e).length;if(n===0){return true}if(n===1&&(e[r]||typeof e[r]==="boolean"||e[r]===0)){return true}return false}class XMLParser{constructor(e){this.externalEntities={};this.options=buildOptions(e)}parse(e,t){if(typeof e!=="string"&&e.toString){e=e.toString()}else if(typeof e!=="string"){throw new Error("XML data is accepted in String or Bytes[] form.")}if(t){if(t===true)t={};const r=validate(e,t);if(r!==true){throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}}const r=new OrderedObjParser(this.options);r.addExternalEntities(this.externalEntities);const n=r.parseXml(e);if(this.options.preserveOrder||n===undefined)return n;else return prettify(n,this.options)}addEntity(e,t){if(t.indexOf("&")!==-1){throw new Error("Entity value can't have '&'")}else if(e.indexOf("&")!==-1||e.indexOf(";")!==-1){throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'")}else if(t==="&"){throw new Error("An entity with value '&' is not permitted")}else{this.externalEntities[e]=t}}static getMetaDataSymbol(){return XmlNode.getMetaDataSymbol()}}const as="$";const cs="_";function getCommonOptions(e){var t;return{attributesGroupName:as,textNodeName:(t=e.xmlCharKey)!==null&&t!==void 0?t:cs,ignoreAttributes:false,suppressBooleanAttributes:false}}function getSerializerOptions(e={}){var t,r;return Object.assign(Object.assign({},getCommonOptions(e)),{attributeNamePrefix:"@_",format:true,suppressEmptyNode:true,indentBy:"",rootNodeName:(t=e.rootName)!==null&&t!==void 0?t:"root",cdataPropName:(r=e.cdataPropName)!==null&&r!==void 0?r:"__cdata"})}function getParserOptions(e={}){return Object.assign(Object.assign({},getCommonOptions(e)),{parseAttributeValue:false,parseTagValue:false,attributeNamePrefix:"",stopNodes:e.stopNodes,processEntities:true,trimValues:false})}function stringifyXML(e,t={}){const r=getSerializerOptions(t);const n=new Hn(r);const s={[r.rootNodeName]:e};const o=n.build(s);return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${o}`.replace(/\n/g,"")}async function parseXML(e,t={}){if(!e){throw new Error("Document is empty")}const r=jn.validate(e);if(r!==true){throw r}const n=new XMLParser(getParserOptions(t));const s=n.parse(e);if(s["?xml"]){delete s["?xml"]}if(!t.includeRoot){for(const e of Object.keys(s)){const t=s[e];return typeof t==="object"?Object.assign({},t):t}}return s}const ls=esm_createClientLogger("storage-blob");class BuffersStream extends Rt.Readable{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,t,r){super(r);this.buffers=e;this.byteLength=t;this.byteOffsetInCurrentBuffer=0;this.bufferIndex=0;this.pushedBytesLength=0;let n=0;for(const e of this.buffers){n+=e.byteLength}if(n<this.byteLength){throw new Error("Data size shouldn't be larger than the total length of buffers.")}}_read(e){if(this.pushedBytesLength>=this.byteLength){this.push(null)}if(!e){e=this.readableHighWaterMark}const t=[];let r=0;while(r<e&&this.pushedBytesLength<this.byteLength){const n=this.byteLength-this.pushedBytesLength;const s=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer;const o=Math.min(s,n);if(o>e-r){const n=this.byteOffsetInCurrentBuffer+e-r;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,n));this.pushedBytesLength+=e-r;this.byteOffsetInCurrentBuffer=n;r=e;break}else{const e=this.byteOffsetInCurrentBuffer+o;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,e));if(o===s){this.byteOffsetInCurrentBuffer=0;this.bufferIndex++}else{this.byteOffsetInCurrentBuffer=e}this.pushedBytesLength+=o;r+=o}}if(t.length>1){this.push(Buffer.concat(t))}else if(t.length===1){this.push(t[0])}}}var us=__nccwpck_require__(4573);const As=us.constants.MAX_LENGTH;class PooledBuffer{buffers=[];capacity;_size;get size(){return this._size}constructor(e,t,r){this.capacity=e;this._size=0;const n=Math.ceil(e/As);for(let t=0;t<n;t++){let r=t===n-1?e%As:As;if(r===0){r=As}this.buffers.push(Buffer.allocUnsafe(r))}if(t){this.fill(t,r)}}fill(e,t){this._size=Math.min(this.capacity,t);let r=0,n=0,s=0,o=0,i=0;while(i<this._size){const t=e[r];const a=this.buffers[n];const c=t.copy(a,s,o);i+=c;o+=c;s+=c;if(o===t.length){r++;o=0}if(s===a.length){n++;s=0}}e.splice(0,r);if(e.length>0){e[0]=e[0].slice(o)}}getReadableStream(){return new BuffersStream(this.buffers,this.size)}}class BufferScheduler{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new F.EventEmitter;concurrency;offset=0;isStreamEnd=false;isError=false;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,t,r,n,s,o){if(t<=0){throw new RangeError(`bufferSize must be larger than 0, current is ${t}`)}if(r<=0){throw new RangeError(`maxBuffers must be larger than 0, current is ${r}`)}if(s<=0){throw new RangeError(`concurrency must be larger than 0, current is ${s}`)}this.bufferSize=t;this.maxBuffers=r;this.readable=e;this.outgoingHandler=n;this.concurrency=s;this.encoding=o}async do(){return new Promise(((e,t)=>{this.readable.on("data",(e=>{e=typeof e==="string"?Buffer.from(e,this.encoding):e;this.appendUnresolvedData(e);if(!this.resolveData()){this.readable.pause()}}));this.readable.on("error",(e=>{this.emitter.emit("error",e)}));this.readable.on("end",(()=>{this.isStreamEnd=true;this.emitter.emit("checkEnd")}));this.emitter.on("error",(e=>{this.isError=true;this.readable.pause();t(e)}));this.emitter.on("checkEnd",(()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0){if(this.unresolvedLength>0&&this.unresolvedLength<this.bufferSize){const r=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler((()=>r.getReadableStream()),r.size,this.offset).then(e).catch(t)}else if(this.unresolvedLength>=this.bufferSize){return}else{e()}}}))}))}appendUnresolvedData(e){this.unresolvedDataArray.push(e);this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){if(!e){e=new PooledBuffer(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength)}else{e.fill(this.unresolvedDataArray,this.unresolvedLength)}this.unresolvedLength-=e.size;return e}resolveData(){while(this.unresolvedLength>=this.bufferSize){let e;if(this.incoming.length>0){e=this.incoming.shift();this.shiftBufferFromUnresolvedDataArray(e)}else{if(this.numBuffers<this.maxBuffers){e=this.shiftBufferFromUnresolvedDataArray();this.numBuffers++}else{return false}}this.outgoing.push(e);this.triggerOutgoingHandlers()}return true}async triggerOutgoingHandlers(){let e;do{if(this.executingOutgoingHandlers>=this.concurrency){return}e=this.outgoing.shift();if(e){this.triggerOutgoingHandler(e)}}while(e)}async triggerOutgoingHandler(e){const t=e.size;this.executingOutgoingHandlers++;this.offset+=t;try{await this.outgoingHandler((()=>e.getReadableStream()),t,this.offset-t)}catch(e){this.emitter.emit("error",e);return}this.executingOutgoingHandlers--;this.reuseBuffer(e);this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e);if(!this.isError&&this.resolveData()&&!this.isStreamEnd){this.readable.resume()}}}let ds;function cache_getCachedDefaultHttpClient(){if(!ds){ds=esm_defaultHttpClient_createDefaultHttpClient()}return ds}class BaseRequestPolicy{_nextPolicy;_options;constructor(e,t){this._nextPolicy=e;this._options=t}shouldLog(e){return this._options.shouldLog(e)}log(e,t){this._options.log(e,t)}}const ps="1.0.0";const ms={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};const hs={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"};const gs=null&&`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;const Es=null&&["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function escapeURLPath(e){const t=new URL(e);let r=t.pathname;r=r||"/";r=utils_common_escape(r);t.pathname=r;return t.toString()}function getProxyUriFromDevConnString(e){let t="";if(e.search("DevelopmentStorageProxyUri=")!==-1){const r=e.split(";");for(const e of r){if(e.trim().startsWith("DevelopmentStorageProxyUri=")){t=e.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return t}function getValueInConnString(e,t){const r=e.split(";");for(const e of r){if(e.trim().startsWith(t)){return e.trim().match(t+"=(.*)")[1]}}return""}function extractConnectionStringParts(e){let t="";if(e.startsWith("UseDevelopmentStorage=true")){t=getProxyUriFromDevConnString(e);e=DevelopmentConnectionString}let r=getValueInConnString(e,"BlobEndpoint");r=r.endsWith("/")?r.slice(0,-1):r;if(e.search("DefaultEndpointsProtocol=")!==-1&&e.search("AccountKey=")!==-1){let n="";let s="";let o=Buffer.from("accountKey","base64");let i="";s=getValueInConnString(e,"AccountName");o=Buffer.from(getValueInConnString(e,"AccountKey"),"base64");if(!r){n=getValueInConnString(e,"DefaultEndpointsProtocol");const t=n.toLowerCase();if(t!=="https"&&t!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}i=getValueInConnString(e,"EndpointSuffix");if(!i){throw new Error("Invalid EndpointSuffix in the provided Connection String")}r=`${n}://${s}.blob.${i}`}if(!s){throw new Error("Invalid AccountName in the provided Connection String")}else if(o.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:r,accountName:s,accountKey:o,proxyUri:t}}else{let t=getValueInConnString(e,"SharedAccessSignature");let n=getValueInConnString(e,"AccountName");if(!n){n=getAccountNameFromUrl(r)}if(!r){throw new Error("Invalid BlobEndpoint in the provided SAS Connection String")}else if(!t){throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}if(t.startsWith("?")){t=t.substring(1)}return{kind:"SASConnString",url:r,accountName:n,accountSas:t}}}function utils_common_escape(e){return encodeURIComponent(e).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function appendToURLPath(e,t){const r=new URL(e);let n=r.pathname;n=n?n.endsWith("/")?`${n}${t}`:`${n}/${t}`:t;r.pathname=n;return r.toString()}function setURLParameter(e,t,r){const n=new URL(e);const s=encodeURIComponent(t);const o=r?encodeURIComponent(r):undefined;const i=n.search===""?"?":n.search;const a=[];for(const e of i.slice(1).split("&")){if(e){const[t]=e.split("=",2);if(t!==s){a.push(e)}}}if(o){a.push(`${s}=${o}`)}n.search=a.length?`?${a.join("&")}`:"";return n.toString()}function getURLParameter(e,t){const r=new URL(e);return r.searchParams.get(t)??undefined}function setURLHost(e,t){const r=new URL(e);r.hostname=t;return r.toString()}function getURLPath(e){try{const t=new URL(e);return t.pathname}catch(e){return undefined}}function getURLScheme(e){try{const t=new URL(e);return t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol}catch(e){return undefined}}function getURLPathAndQuery(e){const t=new URL(e);const r=t.pathname;if(!r){throw new RangeError("Invalid url without valid path.")}let n=t.search||"";n=n.trim();if(n!==""){n=n.startsWith("?")?n:`?${n}`}return`${r}${n}`}function getURLQueries(e){let t=new URL(e).search;if(!t){return{}}t=t.trim();t=t.startsWith("?")?t.substring(1):t;let r=t.split("&");r=r.filter((e=>{const t=e.indexOf("=");const r=e.lastIndexOf("=");return t>0&&t===r&&r<e.length-1}));const n={};for(const e of r){const t=e.split("=");const r=t[0];const s=t[1];n[r]=s}return n}function appendToURLQuery(e,t){const r=new URL(e);let n=r.search;if(n){n+="&"+t}else{n=t}r.search=n;return r.toString()}function truncatedISO8061Date(e,t=true){const r=e.toISOString();return t?r.substring(0,r.length-1)+"0000"+"Z":r.substring(0,r.length-5)+"Z"}function base64encode(e){return!isNodeLike?btoa(e):Buffer.from(e).toString("base64")}function base64decode(e){return!isNodeLike?atob(e):Buffer.from(e,"base64").toString()}function generateBlockID(e,t){const r=48;const n=6;const s=r-n;if(e.length>s){e=e.slice(0,s)}const o=e+padStart(t.toString(),r-e.length,"0");return base64encode(o)}async function utils_common_delay(e,t,r){return new Promise(((n,s)=>{let o;const abortHandler=()=>{if(o!==undefined){clearTimeout(o)}s(r)};const resolveHandler=()=>{if(t!==undefined){t.removeEventListener("abort",abortHandler)}n()};o=setTimeout(resolveHandler,e);if(t!==undefined){t.addEventListener("abort",abortHandler)}}))}function padStart(e,t,r=" "){if(String.prototype.padStart){return e.padStart(t,r)}r=r||" ";if(e.length>t){return e}else{t=t-e.length;if(t>r.length){r+=r.repeat(t/r.length)}return r.slice(0,t)+e}}function sanitizeURL(e){let t=e;if(getURLParameter(t,URLConstants.Parameters.SIGNATURE)){t=setURLParameter(t,URLConstants.Parameters.SIGNATURE,"*****")}return t}function sanitizeHeaders(e){const t=createHttpHeaders();for(const[r,n]of e){if(r.toLowerCase()===HeaderConstants.AUTHORIZATION.toLowerCase()){t.set(r,"*****")}else if(r.toLowerCase()===HeaderConstants.X_MS_COPY_SOURCE){t.set(r,sanitizeURL(n))}else{t.set(r,n)}}return t}function iEqual(e,t){return e.toLocaleLowerCase()===t.toLocaleLowerCase()}function getAccountNameFromUrl(e){const t=new URL(e);let r;try{if(t.hostname.split(".")[1]==="blob"){r=t.hostname.split(".")[0]}else if(isIpEndpointStyle(t)){r=t.pathname.split("/")[1]}else{r=""}return r}catch(e){throw new Error("Unable to extract accountName with provided information.")}}function isIpEndpointStyle(e){const t=e.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(t)||Boolean(e.port)&&PathStylePorts.includes(e.port)}function attachCredential(e,t){e.credential=t;return e}function httpAuthorizationToString(e){return e?e.scheme+" "+e.value:undefined}function EscapePath(e){const t=e.split("/");for(let e=0;e<t.length;e++){t[e]=encodeURIComponent(t[e])}return t.join("/")}function assertResponse(e){if(`_response`in e){return e}throw new TypeError(`Unexpected response object ${e}`)}class StorageBrowserPolicy extends BaseRequestPolicy{constructor(e,t){super(e,t)}async sendRequest(e){if(Ur){return this._nextPolicy.sendRequest(e)}if(e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD"){e.url=setURLParameter(e.url,ms.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}e.headers.remove(hs.COOKIE);e.headers.remove(hs.CONTENT_LENGTH);return this._nextPolicy.sendRequest(e)}}class StorageBrowserPolicyFactory{create(e,t){return new StorageBrowserPolicy(e,t)}}class CredentialPolicy extends BaseRequestPolicy{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}}class AnonymousCredentialPolicy extends CredentialPolicy{constructor(e,t){super(e,t)}}class Credential{create(e,t){throw new Error("Method should be implemented in children classes.")}}class AnonymousCredential extends Credential{create(e,t){return new AnonymousCredentialPolicy(e,t)}}const ys=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 Cs=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 Is=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(e,t){if(isLessThan(e,t))return-1;return 1}function isLessThan(e,t){const r=[ys,Cs,Is];let n=0;let s=0;let o=0;while(n<r.length){if(n===r.length-1&&s!==o){return s>o}const i=s<e.length?r[n][e[s].charCodeAt(0)]:1;const a=o<t.length?r[n][t[o].charCodeAt(0)]:1;if(i===1&&a===1){s=0;o=0;++n}else if(i===a){++s;++o}else if(i===0){++s}else if(a===0){++o}else{return i<a}}return false}class StorageSharedKeyCredentialPolicy extends CredentialPolicy{factory;constructor(e,t,r){super(e,t);this.factory=r}signRequest(e){e.headers.set(hs.X_MS_DATE,(new Date).toUTCString());if(e.body&&(typeof e.body==="string"||e.body!==undefined)&&e.body.length>0){e.headers.set(hs.CONTENT_LENGTH,Buffer.byteLength(e.body))}const t=[e.method.toUpperCase(),this.getHeaderValueToSign(e,hs.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,hs.CONTENT_ENCODING),this.getHeaderValueToSign(e,hs.CONTENT_LENGTH),this.getHeaderValueToSign(e,hs.CONTENT_MD5),this.getHeaderValueToSign(e,hs.CONTENT_TYPE),this.getHeaderValueToSign(e,hs.DATE),this.getHeaderValueToSign(e,hs.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,hs.IF_MATCH),this.getHeaderValueToSign(e,hs.IF_NONE_MATCH),this.getHeaderValueToSign(e,hs.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,hs.RANGE)].join("\n")+"\n"+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e);const r=this.factory.computeHMACSHA256(t);e.headers.set(hs.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${r}`);return e}getHeaderValueToSign(e,t){const r=e.headers.get(t);if(!r){return""}if(t===hs.CONTENT_LENGTH&&r==="0"){return""}return r}getCanonicalizedHeadersString(e){let t=e.headers.headersArray().filter((e=>e.name.toLowerCase().startsWith(hs.PREFIX_FOR_STORAGE)));t.sort(((e,t)=>compareHeader(e.name.toLowerCase(),t.name.toLowerCase())));t=t.filter(((e,t,r)=>{if(t>0&&e.name.toLowerCase()===r[t-1].name.toLowerCase()){return false}return true}));let r="";t.forEach((e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()}\n`}));return r}getCanonicalizedResourceString(e){const t=getURLPath(e.url)||"/";let r="";r+=`/${this.factory.accountName}${t}`;const n=getURLQueries(e.url);const s={};if(n){const e=[];for(const t in n){if(Object.prototype.hasOwnProperty.call(n,t)){const r=t.toLowerCase();s[r]=n[t];e.push(r)}}e.sort();for(const t of e){r+=`\n${t}:${decodeURIComponent(s[t])}`}}return r}}class StorageSharedKeyCredential extends Credential{accountName;accountKey;constructor(e,t){super();this.accountName=e;this.accountKey=Buffer.from(t,"base64")}create(e,t){return new StorageSharedKeyCredentialPolicy(e,t,this)}computeHMACSHA256(e){return(0,_r.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}}const Bs=esm_createClientLogger("storage-common");var bs;(function(e){e[e["EXPONENTIAL"]=0]="EXPONENTIAL";e[e["FIXED"]=1]="FIXED"})(bs||(bs={}));function NewRetryPolicyFactory(e){return{create:(t,r)=>new StorageRetryPolicy(t,r,e)}}const ws={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:bs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const Ss=new AbortError_AbortError("The operation was aborted.");class StorageRetryPolicy extends BaseRequestPolicy{retryOptions;constructor(e,t,r=ws){super(e,t);this.retryOptions={retryPolicyType:r.retryPolicyType?r.retryPolicyType:ws.retryPolicyType,maxTries:r.maxTries&&r.maxTries>=1?Math.floor(r.maxTries):ws.maxTries,tryTimeoutInMs:r.tryTimeoutInMs&&r.tryTimeoutInMs>=0?r.tryTimeoutInMs:ws.tryTimeoutInMs,retryDelayInMs:r.retryDelayInMs&&r.retryDelayInMs>=0?Math.min(r.retryDelayInMs,r.maxRetryDelayInMs?r.maxRetryDelayInMs:ws.maxRetryDelayInMs):ws.retryDelayInMs,maxRetryDelayInMs:r.maxRetryDelayInMs&&r.maxRetryDelayInMs>=0?r.maxRetryDelayInMs:ws.maxRetryDelayInMs,secondaryHost:r.secondaryHost?r.secondaryHost:ws.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,false,1)}async attemptSendRequest(e,t,r){const n=e.clone();const s=t||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||r%2===1;if(!s){n.url=setURLHost(n.url,this.retryOptions.secondaryHost)}if(this.retryOptions.tryTimeoutInMs){n.url=setURLParameter(n.url,ms.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString())}let o;try{Bs.info(`RetryPolicy: =====> Try=${r} ${s?"Primary":"Secondary"}`);o=await this._nextPolicy.sendRequest(n);if(!this.shouldRetry(s,r,o)){return o}t=t||!s&&o.status===404}catch(e){Bs.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`);if(!this.shouldRetry(s,r,o,e)){throw e}}await this.delay(s,r,e.abortSignal);return this.attemptSendRequest(e,t,++r)}shouldRetry(e,t,r,n){if(t>=this.retryOptions.maxTries){Bs.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${this.retryOptions.maxTries}, no further try.`);return false}const s=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(n){for(const e of s){if(n.name.toUpperCase().includes(e)||n.message.toUpperCase().includes(e)||n.code&&n.code.toString().toUpperCase()===e){Bs.info(`RetryPolicy: Network error ${e} found, will retry.`);return true}}}if(r||n){const t=r?r.status:n?n.statusCode:0;if(!e&&t===404){Bs.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(t===503||t===500){Bs.info(`RetryPolicy: Will retry for status code ${t}.`);return true}}if(r){if(r?.status>=400){const e=r.headers.get(hs.X_MS_CopySourceErrorCode);if(e!==undefined){switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}if(n?.code==="PARSE_ERROR"&&n?.message.startsWith(`Error "Error: Unclosed root tag`)){Bs.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}return false}async delay(e,t,r){let n=0;if(e){switch(this.retryOptions.retryPolicyType){case bs.EXPONENTIAL:n=Math.min((Math.pow(2,t-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case bs.FIXED:n=this.retryOptions.retryDelayInMs;break}}else{n=Math.random()*1e3}Bs.info(`RetryPolicy: Delay for ${n}ms`);return utils_common_delay(n,r,Ss)}}class StorageRetryPolicyFactory{retryOptions;constructor(e){this.retryOptions=e}create(e,t){return new StorageRetryPolicy(e,t,this.retryOptions)}}const Qs="storageBrowserPolicy";function storageBrowserPolicy(){return{name:Qs,async sendRequest(e,t){if(Ur){return t(e)}if(e.method==="GET"||e.method==="HEAD"){e.url=setURLParameter(e.url,ms.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}e.headers.delete(hs.COOKIE);e.headers.delete(hs.CONTENT_LENGTH);return t(e)}}}const Ns="StorageCorrectContentLengthPolicy";function storageCorrectContentLengthPolicy(){function correctContentLength(e){if(e.body&&(typeof e.body==="string"||Buffer.isBuffer(e.body))&&e.body.length>0){e.headers.set(hs.CONTENT_LENGTH,Buffer.byteLength(e.body))}}return{name:Ns,async sendRequest(e,t){correctContentLength(e);return t(e)}}}const Rs="storageRetryPolicy";const vs={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:bs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const xs=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];const Ts=new AbortError_AbortError("The operation was aborted.");function storageRetryPolicy(e={}){const t=e.retryPolicyType??vs.retryPolicyType;const r=e.maxTries??vs.maxTries;const n=e.retryDelayInMs??vs.retryDelayInMs;const s=e.maxRetryDelayInMs??vs.maxRetryDelayInMs;const o=e.secondaryHost??vs.secondaryHost;const i=e.tryTimeoutInMs??vs.tryTimeoutInMs;function shouldRetry({isPrimaryRetry:e,attempt:t,response:n,error:s}){if(t>=r){Bs.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${r}, no further try.`);return false}if(s){for(const e of xs){if(s.name.toUpperCase().includes(e)||s.message.toUpperCase().includes(e)||s.code&&s.code.toString().toUpperCase()===e){Bs.info(`RetryPolicy: Network error ${e} found, will retry.`);return true}}if(s?.code==="PARSE_ERROR"&&s?.message.startsWith(`Error "Error: Unclosed root tag`)){Bs.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}}if(n||s){const t=n?.status??s?.statusCode??0;if(!e&&t===404){Bs.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(t===503||t===500){Bs.info(`RetryPolicy: Will retry for status code ${t}.`);return true}}if(n){if(n?.status>=400){const e=n.headers.get(hs.X_MS_CopySourceErrorCode);if(e!==undefined){switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}return false}function calculateDelay(e,r){let o=0;if(e){switch(t){case bs.EXPONENTIAL:o=Math.min((Math.pow(2,r-1)-1)*n,s);break;case bs.FIXED:o=n;break}}else{o=Math.random()*1e3}Bs.info(`RetryPolicy: Delay for ${o}ms`);return o}return{name:Rs,async sendRequest(e,t){if(i){e.url=setURLParameter(e.url,ms.Parameters.TIMEOUT,String(Math.floor(i/1e3)))}const r=e.url;const n=o?setURLHost(e.url,o):undefined;let s=false;let a=1;let c=true;let l;let u;while(c){const o=s||!n||!["GET","HEAD","OPTIONS"].includes(e.method)||a%2===1;e.url=o?r:n;l=undefined;u=undefined;try{Bs.info(`RetryPolicy: =====> Try=${a} ${o?"Primary":"Secondary"}`);l=await t(e);s=s||!o&&l.status===404}catch(e){if(esm_restError_isRestError(e)){Bs.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`);u=e}else{Bs.error(`RetryPolicy: Caught error, message: ${getErrorMessage(e)}`);throw e}}c=shouldRetry({isPrimaryRetry:o,attempt:a,response:l,error:u});if(c){await utils_common_delay(calculateDelay(o,a),e.abortSignal,Ts)}a++}if(l){return l}throw u??new nn("RetryPolicy failed without known error.")}}}const ks="storageSharedKeyCredentialPolicy";function storageSharedKeyCredentialPolicy(e){function signRequest(t){t.headers.set(hs.X_MS_DATE,(new Date).toUTCString());if(t.body&&(typeof t.body==="string"||Buffer.isBuffer(t.body))&&t.body.length>0){t.headers.set(hs.CONTENT_LENGTH,Buffer.byteLength(t.body))}const r=[t.method.toUpperCase(),getHeaderValueToSign(t,hs.CONTENT_LANGUAGE),getHeaderValueToSign(t,hs.CONTENT_ENCODING),getHeaderValueToSign(t,hs.CONTENT_LENGTH),getHeaderValueToSign(t,hs.CONTENT_MD5),getHeaderValueToSign(t,hs.CONTENT_TYPE),getHeaderValueToSign(t,hs.DATE),getHeaderValueToSign(t,hs.IF_MODIFIED_SINCE),getHeaderValueToSign(t,hs.IF_MATCH),getHeaderValueToSign(t,hs.IF_NONE_MATCH),getHeaderValueToSign(t,hs.IF_UNMODIFIED_SINCE),getHeaderValueToSign(t,hs.RANGE)].join("\n")+"\n"+getCanonicalizedHeadersString(t)+getCanonicalizedResourceString(t);const n=(0,_r.createHmac)("sha256",e.accountKey).update(r,"utf8").digest("base64");t.headers.set(hs.AUTHORIZATION,`SharedKey ${e.accountName}:${n}`)}function getHeaderValueToSign(e,t){const r=e.headers.get(t);if(!r){return""}if(t===hs.CONTENT_LENGTH&&r==="0"){return""}return r}function getCanonicalizedHeadersString(e){let t=[];for(const[r,n]of e.headers){if(r.toLowerCase().startsWith(hs.PREFIX_FOR_STORAGE)){t.push({name:r,value:n})}}t.sort(((e,t)=>compareHeader(e.name.toLowerCase(),t.name.toLowerCase())));t=t.filter(((e,t,r)=>{if(t>0&&e.name.toLowerCase()===r[t-1].name.toLowerCase()){return false}return true}));let r="";t.forEach((e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()}\n`}));return r}function getCanonicalizedResourceString(t){const r=getURLPath(t.url)||"/";let n="";n+=`/${e.accountName}${r}`;const s=getURLQueries(t.url);const o={};if(s){const e=[];for(const t in s){if(Object.prototype.hasOwnProperty.call(s,t)){const r=t.toLowerCase();o[r]=s[t];e.push(r)}}e.sort();for(const t of e){n+=`\n${t}:${decodeURIComponent(o[t])}`}}return n}return{name:ks,async sendRequest(e,t){signRequest(e);return t(e)}}}const Ds="storageRequestFailureDetailsParserPolicy";function storageRequestFailureDetailsParserPolicy(){return{name:Ds,async sendRequest(e,t){try{const r=await t(e);return r}catch(e){if(typeof e==="object"&&e!==null&&e.response&&e.response.parsedBody){if(e.response.parsedBody.code==="InvalidHeaderValue"&&e.response.parsedBody.HeaderName==="x-ms-version"){e.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 e}}}}class UserDelegationKeyCredential{accountName;userDelegationKey;key;constructor(e,t){this.accountName=e;this.userDelegationKey=t;this.key=Buffer.from(t.value,"base64")}computeHMACSHA256(e){return(0,_r.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}}const _s="12.31.0";const Ps="2026-02-06";const Ls=256*1024*1024;const Ms=4e3*1024*1024;const Os=5e4;const Fs=8*1024*1024;const Us=4*1024*1024;const Hs=5;const Gs=100*1e3;const qs="https://storage.azure.com/.default";const zs={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};const Vs={HTTP_ACCEPTED:202,HTTP_CONFLICT:409,HTTP_NOT_FOUND:404,HTTP_PRECON_FAILED:412,HTTP_RANGE_NOT_SATISFIABLE:416};const $s={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"};const Js="";const Ys="*";const Ws=1*1024*1024;const js=256;const Ks=4*Ws;const Xs="\r\n";const Zs="HTTP/1.1";const eo="AES256";const to=`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;const ro=["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"];const no=["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"];const so="BlobUsesCustomerSpecifiedEncryption";const oo="BlobDoesNotUseCustomerSpecifiedEncryption";const ao=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function isPipelineLike(e){if(!e||typeof e!=="object"){return false}const t=e;return Array.isArray(t.factories)&&typeof t.options==="object"&&typeof t.toServiceClientOptions==="function"}class Pipeline{factories;options;constructor(e,t={}){this.factories=e;this.options=t}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}}function newPipeline(e,t={}){if(!e){e=new AnonymousCredential}const r=new Pipeline([],t);r._credential=e;return r}function processDownlevelPipeline(e){const t=[isAnonymousCredential,isStorageSharedKeyCredential,isCoreHttpBearerTokenFactory,isStorageBrowserPolicyFactory,isStorageRetryPolicyFactory,isStorageTelemetryPolicyFactory,isCoreHttpPolicyFactory];if(e.factories.length){const r=e.factories.filter((e=>!t.some((t=>t(e)))));if(r.length){const e=r.some((e=>isInjectorPolicyFactory(e)));return{wrappedPolicies:createRequestPolicyFactoryPolicy(r),afterRetry:e}}}return undefined}function getCoreClientOptions(e){const{httpClient:t,...r}=e.options;let n=e._coreHttpClient;if(!n){n=t?convertHttpClient(t):cache_getCachedDefaultHttpClient();e._coreHttpClient=n}let s=e._corePipeline;if(!s){const t=`azsdk-js-azure-storage-blob/${_s}`;const n=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${t}`:`${t}`;s=createClientPipeline({...r,loggingOptions:{additionalAllowedHeaderNames:ro,additionalAllowedQueryParameters:no,logger:ls.info},userAgentOptions:{userAgentPrefix:n},serializationOptions:{stringifyXML:stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:parseXML,serializerOptions:{xml:{xmlCharKey:"#"}}}});s.removePolicy({phase:"Retry"});s.removePolicy({name:Jr});s.addPolicy(storageCorrectContentLengthPolicy());s.addPolicy(storageRetryPolicy(r.retryOptions),{phase:"Retry"});s.addPolicy(storageRequestFailureDetailsParserPolicy());s.addPolicy(storageBrowserPolicy());const o=processDownlevelPipeline(e);if(o){s.addPolicy(o.wrappedPolicies,o.afterRetry?{afterPhase:"Retry"}:undefined)}const i=getCredentialFromPipeline(e);if(isTokenCredential(i)){s.addPolicy(bearerTokenAuthenticationPolicy({credential:i,scopes:r.audience??qs,challengeCallbacks:{authorizeRequestOnChallenge:authorizeRequestOnTenantChallenge}}),{phase:"Sign"})}else if(i instanceof StorageSharedKeyCredential){s.addPolicy(storageSharedKeyCredentialPolicy({accountName:i.accountName,accountKey:i.accountKey}),{phase:"Sign"})}e._corePipeline=s}return{...r,allowInsecureConnection:true,httpClient:n,pipeline:s}}function getCredentialFromPipeline(e){if(e._credential){return e._credential}let t=new AnonymousCredential;for(const r of e.factories){if(isTokenCredential(r.credential)){t=r.credential}else if(isStorageSharedKeyCredential(r)){return r}}return t}function isStorageSharedKeyCredential(e){if(e instanceof StorageSharedKeyCredential){return true}return e.constructor.name==="StorageSharedKeyCredential"}function isAnonymousCredential(e){if(e instanceof AnonymousCredential){return true}return e.constructor.name==="AnonymousCredential"}function isCoreHttpBearerTokenFactory(e){return isTokenCredential(e.credential)}function isStorageBrowserPolicyFactory(e){if(e instanceof StorageBrowserPolicyFactory){return true}return e.constructor.name==="StorageBrowserPolicyFactory"}function isStorageRetryPolicyFactory(e){if(e instanceof StorageRetryPolicyFactory){return true}return e.constructor.name==="StorageRetryPolicyFactory"}function isStorageTelemetryPolicyFactory(e){return e.constructor.name==="TelemetryPolicyFactory"}function isInjectorPolicyFactory(e){return e.constructor.name==="InjectorPolicyFactory"}function isCoreHttpPolicyFactory(e){const t=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"];const r={sendRequest:async e=>({request:e,headers:e.headers.clone(),status:500})};const n={log(e,t){},shouldLog(e){return false}};const s=e.create(r,n);const o=s.constructor.name;return t.some((e=>o.startsWith(e)))}var co;(function(e){e["AES256"]="AES256"})(co||(co={}));var lo;(function(e){e["Backup"]="backup"})(lo||(lo={}));var uo;(function(e){e["NeverExpire"]="NeverExpire";e["RelativeToCreation"]="RelativeToCreation";e["RelativeToNow"]="RelativeToNow";e["Absolute"]="Absolute"})(uo||(uo={}));var Ao;(function(e){e["AccountAlreadyExists"]="AccountAlreadyExists";e["AccountBeingCreated"]="AccountBeingCreated";e["AccountIsDisabled"]="AccountIsDisabled";e["AuthenticationFailed"]="AuthenticationFailed";e["AuthorizationFailure"]="AuthorizationFailure";e["ConditionHeadersNotSupported"]="ConditionHeadersNotSupported";e["ConditionNotMet"]="ConditionNotMet";e["EmptyMetadataKey"]="EmptyMetadataKey";e["InsufficientAccountPermissions"]="InsufficientAccountPermissions";e["InternalError"]="InternalError";e["InvalidAuthenticationInfo"]="InvalidAuthenticationInfo";e["InvalidHeaderValue"]="InvalidHeaderValue";e["InvalidHttpVerb"]="InvalidHttpVerb";e["InvalidInput"]="InvalidInput";e["InvalidMd5"]="InvalidMd5";e["InvalidMetadata"]="InvalidMetadata";e["InvalidQueryParameterValue"]="InvalidQueryParameterValue";e["InvalidRange"]="InvalidRange";e["InvalidResourceName"]="InvalidResourceName";e["InvalidUri"]="InvalidUri";e["InvalidXmlDocument"]="InvalidXmlDocument";e["InvalidXmlNodeValue"]="InvalidXmlNodeValue";e["Md5Mismatch"]="Md5Mismatch";e["MetadataTooLarge"]="MetadataTooLarge";e["MissingContentLengthHeader"]="MissingContentLengthHeader";e["MissingRequiredQueryParameter"]="MissingRequiredQueryParameter";e["MissingRequiredHeader"]="MissingRequiredHeader";e["MissingRequiredXmlNode"]="MissingRequiredXmlNode";e["MultipleConditionHeadersNotSupported"]="MultipleConditionHeadersNotSupported";e["OperationTimedOut"]="OperationTimedOut";e["OutOfRangeInput"]="OutOfRangeInput";e["OutOfRangeQueryParameterValue"]="OutOfRangeQueryParameterValue";e["RequestBodyTooLarge"]="RequestBodyTooLarge";e["ResourceTypeMismatch"]="ResourceTypeMismatch";e["RequestUrlFailedToParse"]="RequestUrlFailedToParse";e["ResourceAlreadyExists"]="ResourceAlreadyExists";e["ResourceNotFound"]="ResourceNotFound";e["ServerBusy"]="ServerBusy";e["UnsupportedHeader"]="UnsupportedHeader";e["UnsupportedXmlNode"]="UnsupportedXmlNode";e["UnsupportedQueryParameter"]="UnsupportedQueryParameter";e["UnsupportedHttpVerb"]="UnsupportedHttpVerb";e["AppendPositionConditionNotMet"]="AppendPositionConditionNotMet";e["BlobAlreadyExists"]="BlobAlreadyExists";e["BlobImmutableDueToPolicy"]="BlobImmutableDueToPolicy";e["BlobNotFound"]="BlobNotFound";e["BlobOverwritten"]="BlobOverwritten";e["BlobTierInadequateForContentLength"]="BlobTierInadequateForContentLength";e["BlobUsesCustomerSpecifiedEncryption"]="BlobUsesCustomerSpecifiedEncryption";e["BlockCountExceedsLimit"]="BlockCountExceedsLimit";e["BlockListTooLong"]="BlockListTooLong";e["CannotChangeToLowerTier"]="CannotChangeToLowerTier";e["CannotVerifyCopySource"]="CannotVerifyCopySource";e["ContainerAlreadyExists"]="ContainerAlreadyExists";e["ContainerBeingDeleted"]="ContainerBeingDeleted";e["ContainerDisabled"]="ContainerDisabled";e["ContainerNotFound"]="ContainerNotFound";e["ContentLengthLargerThanTierLimit"]="ContentLengthLargerThanTierLimit";e["CopyAcrossAccountsNotSupported"]="CopyAcrossAccountsNotSupported";e["CopyIdMismatch"]="CopyIdMismatch";e["FeatureVersionMismatch"]="FeatureVersionMismatch";e["IncrementalCopyBlobMismatch"]="IncrementalCopyBlobMismatch";e["IncrementalCopyOfEarlierVersionSnapshotNotAllowed"]="IncrementalCopyOfEarlierVersionSnapshotNotAllowed";e["IncrementalCopySourceMustBeSnapshot"]="IncrementalCopySourceMustBeSnapshot";e["InfiniteLeaseDurationRequired"]="InfiniteLeaseDurationRequired";e["InvalidBlobOrBlock"]="InvalidBlobOrBlock";e["InvalidBlobTier"]="InvalidBlobTier";e["InvalidBlobType"]="InvalidBlobType";e["InvalidBlockId"]="InvalidBlockId";e["InvalidBlockList"]="InvalidBlockList";e["InvalidOperation"]="InvalidOperation";e["InvalidPageRange"]="InvalidPageRange";e["InvalidSourceBlobType"]="InvalidSourceBlobType";e["InvalidSourceBlobUrl"]="InvalidSourceBlobUrl";e["InvalidVersionForPageBlobOperation"]="InvalidVersionForPageBlobOperation";e["LeaseAlreadyPresent"]="LeaseAlreadyPresent";e["LeaseAlreadyBroken"]="LeaseAlreadyBroken";e["LeaseIdMismatchWithBlobOperation"]="LeaseIdMismatchWithBlobOperation";e["LeaseIdMismatchWithContainerOperation"]="LeaseIdMismatchWithContainerOperation";e["LeaseIdMismatchWithLeaseOperation"]="LeaseIdMismatchWithLeaseOperation";e["LeaseIdMissing"]="LeaseIdMissing";e["LeaseIsBreakingAndCannotBeAcquired"]="LeaseIsBreakingAndCannotBeAcquired";e["LeaseIsBreakingAndCannotBeChanged"]="LeaseIsBreakingAndCannotBeChanged";e["LeaseIsBrokenAndCannotBeRenewed"]="LeaseIsBrokenAndCannotBeRenewed";e["LeaseLost"]="LeaseLost";e["LeaseNotPresentWithBlobOperation"]="LeaseNotPresentWithBlobOperation";e["LeaseNotPresentWithContainerOperation"]="LeaseNotPresentWithContainerOperation";e["LeaseNotPresentWithLeaseOperation"]="LeaseNotPresentWithLeaseOperation";e["MaxBlobSizeConditionNotMet"]="MaxBlobSizeConditionNotMet";e["NoAuthenticationInformation"]="NoAuthenticationInformation";e["NoPendingCopyOperation"]="NoPendingCopyOperation";e["OperationNotAllowedOnIncrementalCopyBlob"]="OperationNotAllowedOnIncrementalCopyBlob";e["PendingCopyOperation"]="PendingCopyOperation";e["PreviousSnapshotCannotBeNewer"]="PreviousSnapshotCannotBeNewer";e["PreviousSnapshotNotFound"]="PreviousSnapshotNotFound";e["PreviousSnapshotOperationNotSupported"]="PreviousSnapshotOperationNotSupported";e["SequenceNumberConditionNotMet"]="SequenceNumberConditionNotMet";e["SequenceNumberIncrementTooLarge"]="SequenceNumberIncrementTooLarge";e["SnapshotCountExceeded"]="SnapshotCountExceeded";e["SnapshotOperationRateExceeded"]="SnapshotOperationRateExceeded";e["SnapshotsPresent"]="SnapshotsPresent";e["SourceConditionNotMet"]="SourceConditionNotMet";e["SystemInUse"]="SystemInUse";e["TargetConditionNotMet"]="TargetConditionNotMet";e["UnauthorizedBlobOverwrite"]="UnauthorizedBlobOverwrite";e["BlobBeingRehydrated"]="BlobBeingRehydrated";e["BlobArchived"]="BlobArchived";e["BlobNotArchived"]="BlobNotArchived";e["AuthorizationSourceIPMismatch"]="AuthorizationSourceIPMismatch";e["AuthorizationProtocolMismatch"]="AuthorizationProtocolMismatch";e["AuthorizationPermissionMismatch"]="AuthorizationPermissionMismatch";e["AuthorizationServiceMismatch"]="AuthorizationServiceMismatch";e["AuthorizationResourceTypeMismatch"]="AuthorizationResourceTypeMismatch";e["BlobAccessTierNotSupportedForAccountType"]="BlobAccessTierNotSupportedForAccountType"})(Ao||(Ao={}));const po={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"}}}}};const mo={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"}}}}};const ho={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"}}}}};const go={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"}}}}};const fo={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"}}}}};const Eo={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"}}}}};const yo={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"}}}}};const Co={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}};const Io={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"}}}}};const Bo={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"}}}}};const bo={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"}}}}}}};const wo={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"}}}}};const So={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"}}}}};const Qo={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"}}}}};const No={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"}}}}};const Ro={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"}}}}};const vo={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"}}}}}}};const xo={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"}}}}};const To={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"}}}}};const ko={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"}}}}};const Do={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"}}}}};const _o={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"}}}}}}};const Po={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"}}}}};const Lo={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"}}}}};const Mo={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"}}}}};const Oo={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"}}}}};const Fo={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"}}}}}}};const Uo={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}};const Ho={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"}}}}}}};const Go={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"}}}}}}};const qo={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"}}}}};const zo={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"}}}}};const Vo={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"}}}}};const $o={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"}}}}};const Jo={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"}}}}};const Yo={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}};const Wo={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"}}}}}}};const jo={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"}}}}};const Ko={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}};const Xo={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"}}}}}}};const Zo={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"}}}}};const ei={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"}}}}};const ti={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ri={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"}}}}};const ni={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const si={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"}}}}};const oi={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ii={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"}}}}};const ai={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ci={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"}}}}};const li={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ui={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"}}}}};const Ai={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const di={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"}}}}};const pi={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const mi={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"}}}}};const hi={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const gi={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"}}}}};const fi={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ei={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"}}}}};const yi={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ci={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"}}}}};const Ii={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Bi={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"}}}}};const bi={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const wi={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"}}}}};const Si={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Qi={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"}}}}};const Ni={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ri={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"}}}}};const vi={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const xi={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"}}}}};const Ti={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ki={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"}}}}};const Di={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const _i={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"}}}}};const Pi={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Li={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"}}}}};const Mi={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Oi={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"}}}}};const Fi={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ui={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"}}}}};const Hi={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Gi={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"}}}}};const qi={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const zi={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"}}}}};const Vi={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const $i={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"}}}}};const Ji={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Yi={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"}}}}};const Wi={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ji={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"}}}}};const Ki={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Xi={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"}}}}};const Zi={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ea={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"}}}}};const ta={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ra={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"}}}}};const na={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const sa={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"}}}}};const oa={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ia={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"}}}}};const aa={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ca={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"}}}}};const la={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ua={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"]}}}}};const Aa={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const da={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"}}}}};const pa={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ma={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"}}}}};const ha={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ga={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"}}}}};const fa={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ea={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"}}}}};const ya={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ca={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"}}}}};const Ia={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ba={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"}}}}};const ba={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const wa={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"}}}}};const Sa={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Qa={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"}}}}};const Na={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ra={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"}}}}};const va={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const xa={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"}}}}};const Ta={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"}}}}};const ka={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"}}}}};const Da={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"}}}}};const _a={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"}}}}};const Pa={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const La={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"}}}}};const Ma={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Oa={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"}}}}};const Fa={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ua={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"}}}}};const Ha={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ga={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"}}}}};const qa={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const za={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"}}}}};const Va={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const $a={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"}}}}};const Ja={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ya={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"}}}}};const Wa={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ja={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"}}}}};const Ka={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Xa={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"}}}}};const Za={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"}}}}};const ec={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"}}}}};const tc={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const rc={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"}}}}};const nc={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const sc={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"}}}}};const oc={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const ic={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"}}}}};const ac={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const cc={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"}}}}};const lc={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const uc={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"}}}}};const Ac={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const dc={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"}}}}};const pc={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const mc={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"}}}}};const hc={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"}}}}};const gc={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"}}}}};const fc={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Ec={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"}}}}};const yc={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Cc={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"}}}}};const Ic={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"}}}}};const Bc={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"}}}}};const bc={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const wc={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"}}}}};const Sc={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"}}}}};const Qc={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"}}}}};const Nc={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const Rc={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"}}}}};const vc={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};const xc={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};const Tc={parameterPath:"blobServiceProperties",mapper:po};const kc={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};const Dc={parameterPath:"url",mapper:{serializedName:"url",required:true,xmlName:"url",type:{name:"String"}},skipEncoding:true};const _c={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:true,serializedName:"restype",type:{name:"String"}}};const Pc={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Lc={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}};const Mc={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:true,serializedName:"x-ms-version",type:{name:"String"}}};const Oc={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}};const Fc={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};const Uc={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Hc={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Gc={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}};const qc={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}};const zc={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}};const Vc={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"};const $c={parameterPath:"keyInfo",mapper:So};const Jc={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Yc={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:true,serializedName:"restype",type:{name:"String"}}};const Wc={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};const jc={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Kc={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:true,xmlName:"Content-Length",type:{name:"Number"}}};const Xc={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:true,xmlName:"Content-Type",type:{name:"String"}}};const Zc={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:true,serializedName:"comp",type:{name:"String"}}};const el={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}};const tl={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:true,serializedName:"restype",type:{name:"String"}}};const rl={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}};const nl={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}};const sl={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}};const ol={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}};const il={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}};const al={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}};const cl={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}};const ll={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:true,serializedName:"comp",type:{name:"String"}}};const ul={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Al={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}};const dl={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:true,serializedName:"comp",type:{name:"String"}}};const pl={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}};const ml={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}};const hl={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:true,serializedName:"comp",type:{name:"String"}}};const gl={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:true,xmlName:"x-ms-source-container-name",type:{name:"String"}}};const fl={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}};const El={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:true,serializedName:"comp",type:{name:"String"}}};const yl={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Cl={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}};const Il={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};const Bl={parameterPath:"action",mapper:{defaultValue:"release",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const bl={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:true,xmlName:"x-ms-lease-id",type:{name:"String"}}};const wl={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Sl={parameterPath:"action",mapper:{defaultValue:"break",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Ql={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}};const Nl={parameterPath:"action",mapper:{defaultValue:"change",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};const Rl={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:true,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};const vl={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"};const xl={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}};const Tl={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:true,xmlName:"delimiter",type:{name:"String"}}};const kl={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}};const Dl={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}};const _l={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}};const Pl={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}};const Ll={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}};const Ml={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}};const Ol={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}};const Fl={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}};const Ul={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}};const Hl={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}};const Gl={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}};const ql={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}};const zl={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}};const Vl={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:true,serializedName:"comp",type:{name:"String"}}};const $l={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:true,xmlName:"x-ms-expiry-option",type:{name:"String"}}};const Jl={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}};const Yl={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}};const Wl={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}};const jl={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}};const Kl={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}};const Xl={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}};const Zl={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}};const eu={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:true,serializedName:"comp",type:{name:"String"}}};const tu={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}};const ru={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}};const nu={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:true,serializedName:"comp",type:{name:"String"}}};const su={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:true,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};const ou={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}};const iu={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:true,serializedName:"comp",type:{name:"String"}}};const au={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"]}}};const cu={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}};const lu={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}};const uu={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};const Au={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}};const du={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}};const pu={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}};const mu={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};const hu={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}};const gu={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}};const fu={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};const Eu={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:true,serializedName:"x-ms-requires-sync",type:{name:"String"}}};const yu={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}};const Cu={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}};const Iu={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}};const Bu={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}};const bu={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:true,serializedName:"comp",type:{name:"String"}}};const wu={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:true,serializedName:"x-ms-copy-action",type:{name:"String"}}};const Su={parameterPath:"copyId",mapper:{serializedName:"copyid",required:true,xmlName:"copyid",type:{name:"String"}}};const Qu={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Nu={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"]}}};const Ru={parameterPath:["options","queryRequest"],mapper:Jo};const vu={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:true,serializedName:"comp",type:{name:"String"}}};const xu={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Tu={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}};const ku={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};const Du={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}};const _u={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}};const Pu={parameterPath:["options","tags"],mapper:vo};const Lu={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}};const Mu={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}};const Ou={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};const Fu={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:true,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}};const Uu={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}};const Hu={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};const Gu={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};const qu={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};const zu={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:true,serializedName:"comp",type:{name:"String"}}};const Vu={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};const $u={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}};const Ju={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}};const Yu={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}};const Wu={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};const ju={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};const Ku={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:true,xmlName:"x-ms-source-range",type:{name:"String"}}};const Xu={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}};const Zu={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:true,xmlName:"x-ms-range",type:{name:"String"}}};const eA={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:true,serializedName:"comp",type:{name:"String"}}};const tA={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}};const rA={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}};const nA={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:true,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}};const sA={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:true,serializedName:"comp",type:{name:"String"}}};const oA={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};const iA={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:true,serializedName:"comp",type:{name:"String"}}};const aA={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}};const cA={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}};const lA={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}};const uA={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:true,serializedName:"comp",type:{name:"String"}}};const AA={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};const dA={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}};const pA={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:true,serializedName:"comp",type:{name:"String"}}};const mA={parameterPath:"blockId",mapper:{serializedName:"blockid",required:true,xmlName:"blockid",type:{name:"String"}}};const hA={parameterPath:"blocks",mapper:Ho};const gA={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:true,serializedName:"comp",type:{name:"String"}}};const fA={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:true,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};class ServiceImpl{client;constructor(e){this.client=e}setProperties(e,t){return this.client.sendOperationRequest({blobServiceProperties:e,options:t},yA)}getProperties(e){return this.client.sendOperationRequest({options:e},CA)}getStatistics(e){return this.client.sendOperationRequest({options:e},IA)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},BA)}getUserDelegationKey(e,t){return this.client.sendOperationRequest({keyInfo:e,options:t},bA)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},wA)}submitBatch(e,t,r,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:n},SA)}filterBlobs(e){return this.client.sendOperationRequest({options:e},QA)}}const EA=createSerializer(s,true);const yA={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:ei},default:{bodyMapper:yo,headersMapper:ti}},requestBody:Tc,queryParameters:[_c,Pc,Lc],urlParameters:[Dc],headerParameters:[xc,kc,Mc,Oc],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:EA};const CA={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:po,headersMapper:ri},default:{bodyMapper:yo,headersMapper:ni}},queryParameters:[_c,Pc,Lc],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc],isXML:true,serializer:EA};const IA={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Co,headersMapper:si},default:{bodyMapper:yo,headersMapper:oi}},queryParameters:[_c,Lc,Uc],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc],isXML:true,serializer:EA};const BA={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Bo,headersMapper:ii},default:{bodyMapper:yo,headersMapper:ai}},queryParameters:[Lc,Hc,Gc,qc,zc,Vc],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc],isXML:true,serializer:EA};const bA={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:Qo,headersMapper:ci},default:{bodyMapper:yo,headersMapper:li}},requestBody:$c,queryParameters:[_c,Lc,Jc],urlParameters:[Dc],headerParameters:[xc,kc,Mc,Oc],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:EA};const wA={path:"/",httpMethod:"GET",responses:{200:{headersMapper:ui},default:{bodyMapper:yo,headersMapper:Ai}},queryParameters:[Pc,Lc,Yc],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc],isXML:true,serializer:EA};const SA={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:di},default:{bodyMapper:yo,headersMapper:pi}},requestBody:Wc,queryParameters:[Lc,jc],urlParameters:[Dc],headerParameters:[kc,Mc,Oc,Kc,Xc],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:EA};const QA={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:No,headersMapper:mi},default:{bodyMapper:yo,headersMapper:hi}},queryParameters:[Lc,qc,zc,Zc,el],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc],isXML:true,serializer:EA};class ContainerImpl{client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},RA)}getProperties(e){return this.client.sendOperationRequest({options:e},vA)}delete(e){return this.client.sendOperationRequest({options:e},xA)}setMetadata(e){return this.client.sendOperationRequest({options:e},TA)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},kA)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},DA)}restore(e){return this.client.sendOperationRequest({options:e},_A)}rename(e,t){return this.client.sendOperationRequest({sourceContainerName:e,options:t},PA)}submitBatch(e,t,r,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:n},LA)}filterBlobs(e){return this.client.sendOperationRequest({options:e},MA)}acquireLease(e){return this.client.sendOperationRequest({options:e},OA)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},FA)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},UA)}breakLease(e){return this.client.sendOperationRequest({options:e},HA)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},GA)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},qA)}listBlobHierarchySegment(e,t){return this.client.sendOperationRequest({delimiter:e,options:t},zA)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},VA)}}const NA=createSerializer(s,true);const RA={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:gi},default:{bodyMapper:yo,headersMapper:fi}},queryParameters:[Lc,tl],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,rl,nl,sl,ol],isXML:true,serializer:NA};const vA={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:Ei},default:{bodyMapper:yo,headersMapper:yi}},queryParameters:[Lc,tl],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,il],isXML:true,serializer:NA};const xA={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:Ci},default:{bodyMapper:yo,headersMapper:Ii}},queryParameters:[Lc,tl],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,il,al,cl],isXML:true,serializer:NA};const TA={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Bi},default:{bodyMapper:yo,headersMapper:bi}},queryParameters:[Lc,tl,ll],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,rl,il,al],isXML:true,serializer:NA};const kA={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:wi},default:{bodyMapper:yo,headersMapper:Si}},queryParameters:[Lc,tl,ul],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,il],isXML:true,serializer:NA};const DA={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Qi},default:{bodyMapper:yo,headersMapper:Ni}},requestBody:Al,queryParameters:[Lc,tl,ul],urlParameters:[Dc],headerParameters:[xc,kc,Mc,Oc,nl,il,al,cl],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:NA};const _A={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Ri},default:{bodyMapper:yo,headersMapper:vi}},queryParameters:[Lc,tl,dl],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,pl,ml],isXML:true,serializer:NA};const PA={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:xi},default:{bodyMapper:yo,headersMapper:Ti}},queryParameters:[Lc,tl,hl],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,gl,fl],isXML:true,serializer:NA};const LA={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ki},default:{bodyMapper:yo,headersMapper:Di}},requestBody:Wc,queryParameters:[Lc,jc,tl],urlParameters:[Dc],headerParameters:[kc,Mc,Oc,Kc,Xc],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:NA};const MA={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:No,headersMapper:_i},default:{bodyMapper:yo,headersMapper:Pi}},queryParameters:[Lc,qc,zc,Zc,el,tl],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc],isXML:true,serializer:NA};const OA={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Li},default:{bodyMapper:yo,headersMapper:Mi}},queryParameters:[Lc,tl,El],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,al,cl,yl,Cl,Il],isXML:true,serializer:NA};const FA={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Oi},default:{bodyMapper:yo,headersMapper:Fi}},queryParameters:[Lc,tl,El],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,al,cl,Bl,bl],isXML:true,serializer:NA};const UA={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Ui},default:{bodyMapper:yo,headersMapper:Hi}},queryParameters:[Lc,tl,El],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,al,cl,bl,wl],isXML:true,serializer:NA};const HA={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:Gi},default:{bodyMapper:yo,headersMapper:qi}},queryParameters:[Lc,tl,El],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,al,cl,Sl,Ql],isXML:true,serializer:NA};const GA={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:zi},default:{bodyMapper:yo,headersMapper:Vi}},queryParameters:[Lc,tl,El],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,al,cl,bl,Nl,Rl],isXML:true,serializer:NA};const qA={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Do,headersMapper:$i},default:{bodyMapper:yo,headersMapper:Ji}},queryParameters:[Lc,Hc,Gc,qc,zc,tl,vl,xl],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc],isXML:true,serializer:NA};const zA={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Oo,headersMapper:Yi},default:{bodyMapper:yo,headersMapper:Wi}},queryParameters:[Lc,Hc,Gc,qc,zc,tl,vl,xl,Tl],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc],isXML:true,serializer:NA};const VA={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:ji},default:{bodyMapper:yo,headersMapper:Ki}},queryParameters:[Pc,Lc,Yc],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc],isXML:true,serializer:NA};class BlobImpl{client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},JA)}getProperties(e){return this.client.sendOperationRequest({options:e},YA)}delete(e){return this.client.sendOperationRequest({options:e},WA)}undelete(e){return this.client.sendOperationRequest({options:e},jA)}setExpiry(e,t){return this.client.sendOperationRequest({expiryOptions:e,options:t},KA)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},XA)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},ZA)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},ed)}setLegalHold(e,t){return this.client.sendOperationRequest({legalHold:e,options:t},td)}setMetadata(e){return this.client.sendOperationRequest({options:e},rd)}acquireLease(e){return this.client.sendOperationRequest({options:e},nd)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},sd)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},od)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},ad)}breakLease(e){return this.client.sendOperationRequest({options:e},cd)}createSnapshot(e){return this.client.sendOperationRequest({options:e},ld)}startCopyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},ud)}copyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Ad)}abortCopyFromURL(e,t){return this.client.sendOperationRequest({copyId:e,options:t},dd)}setTier(e,t){return this.client.sendOperationRequest({tier:e,options:t},pd)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},md)}query(e){return this.client.sendOperationRequest({options:e},hd)}getTags(e){return this.client.sendOperationRequest({options:e},gd)}setTags(e){return this.client.sendOperationRequest({options:e},fd)}}const $A=createSerializer(s,true);const JA={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Xi},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Xi},default:{bodyMapper:yo,headersMapper:Zi}},queryParameters:[Lc,kl,Dl],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,il,al,cl,_l,Pl,Ll,Ml,Ol,Fl,Ul,Hl,Gl],isXML:true,serializer:$A};const YA={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:ea},default:{bodyMapper:yo,headersMapper:ta}},queryParameters:[Lc,kl,Dl],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,il,al,cl,Ml,Ol,Fl,Ul,Hl,Gl],isXML:true,serializer:$A};const WA={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:ra},default:{bodyMapper:yo,headersMapper:na}},queryParameters:[Lc,kl,Dl,zl],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,il,al,cl,Ul,Hl,Gl,ql],isXML:true,serializer:$A};const jA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:sa},default:{bodyMapper:yo,headersMapper:oa}},queryParameters:[Lc,dl],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc],isXML:true,serializer:$A};const KA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ia},default:{bodyMapper:yo,headersMapper:aa}},queryParameters:[Lc,Vl],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,$l,Jl],isXML:true,serializer:$A};const XA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ca},default:{bodyMapper:yo,headersMapper:la}},queryParameters:[Pc,Lc],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,il,al,cl,Ul,Hl,Gl,Yl,Wl,jl,Kl,Xl,Zl],isXML:true,serializer:$A};const ZA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ua},default:{bodyMapper:yo,headersMapper:Aa}},queryParameters:[Lc,kl,Dl,eu],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,cl,tu,ru],isXML:true,serializer:$A};const ed={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:da},default:{bodyMapper:yo,headersMapper:pa}},queryParameters:[Lc,kl,Dl,eu],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc],isXML:true,serializer:$A};const td={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ma},default:{bodyMapper:yo,headersMapper:ha}},queryParameters:[Lc,kl,Dl,nu],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,su],isXML:true,serializer:$A};const rd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ga},default:{bodyMapper:yo,headersMapper:fa}},queryParameters:[Lc,ll],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,rl,il,al,cl,Ml,Ol,Fl,Ul,Hl,Gl,ou],isXML:true,serializer:$A};const nd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Ea},default:{bodyMapper:yo,headersMapper:ya}},queryParameters:[Lc,El],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,al,cl,yl,Cl,Il,Ul,Hl,Gl],isXML:true,serializer:$A};const sd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Ca},default:{bodyMapper:yo,headersMapper:Ia}},queryParameters:[Lc,El],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,al,cl,Bl,bl,Ul,Hl,Gl],isXML:true,serializer:$A};const od={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Ba},default:{bodyMapper:yo,headersMapper:ba}},queryParameters:[Lc,El],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,al,cl,bl,wl,Ul,Hl,Gl],isXML:true,serializer:$A};const ad={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:wa},default:{bodyMapper:yo,headersMapper:Sa}},queryParameters:[Lc,El],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,al,cl,bl,Nl,Rl,Ul,Hl,Gl],isXML:true,serializer:$A};const cd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Qa},default:{bodyMapper:yo,headersMapper:Na}},queryParameters:[Lc,El],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,al,cl,Sl,Ql,Ul,Hl,Gl],isXML:true,serializer:$A};const ld={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Ra},default:{bodyMapper:yo,headersMapper:va}},queryParameters:[Lc,iu],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,rl,il,al,cl,Ml,Ol,Fl,Ul,Hl,Gl,ou],isXML:true,serializer:$A};const ud={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:xa},default:{bodyMapper:yo,headersMapper:Ta}},queryParameters:[Lc],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,rl,il,al,cl,Ul,Hl,Gl,tu,ru,au,cu,lu,uu,Au,du,pu,mu,hu,gu,fu],isXML:true,serializer:$A};const Ad={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:ka},default:{bodyMapper:yo,headersMapper:Da}},queryParameters:[Lc],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,rl,il,al,cl,Ul,Hl,Gl,tu,ru,ou,au,lu,uu,Au,du,mu,hu,fu,Eu,yu,Cu,Iu,Bu],isXML:true,serializer:$A};const dd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:_a},default:{bodyMapper:yo,headersMapper:Pa}},queryParameters:[Lc,bu,Su],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,il,wu],isXML:true,serializer:$A};const pd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:La},202:{headersMapper:La},default:{bodyMapper:yo,headersMapper:Ma}},queryParameters:[Lc,kl,Dl,Qu],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,il,Gl,cu,Nu],isXML:true,serializer:$A};const md={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:Oa},default:{bodyMapper:yo,headersMapper:Fa}},queryParameters:[Pc,Lc,Yc],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc],isXML:true,serializer:$A};const hd={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Ua},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Ua},default:{bodyMapper:yo,headersMapper:Ha}},requestBody:Ru,queryParameters:[Lc,kl,vu],urlParameters:[Dc],headerParameters:[xc,kc,Mc,Oc,il,al,cl,Ml,Ol,Fl,Ul,Hl,Gl],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:$A};const gd={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:vo,headersMapper:Ga},default:{bodyMapper:yo,headersMapper:qa}},queryParameters:[Lc,kl,Dl,xu],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,il,Gl,Tu,ku,Du,_u],isXML:true,serializer:$A};const fd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:za},default:{bodyMapper:yo,headersMapper:Va}},requestBody:Pu,queryParameters:[Lc,Dl,xu],urlParameters:[Dc],headerParameters:[xc,kc,Mc,Oc,il,Gl,Tu,ku,Du,_u,Lu,Mu],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:$A};class PageBlobImpl{client;constructor(e){this.client=e}create(e,t,r){return this.client.sendOperationRequest({contentLength:e,blobContentLength:t,options:r},yd)}uploadPages(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},Cd)}clearPages(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},Id)}uploadPagesFromURL(e,t,r,n,s){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:t,contentLength:r,range:n,options:s},Bd)}getPageRanges(e){return this.client.sendOperationRequest({options:e},bd)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},wd)}resize(e,t){return this.client.sendOperationRequest({blobContentLength:e,options:t},Sd)}updateSequenceNumber(e,t){return this.client.sendOperationRequest({sequenceNumberAction:e,options:t},Qd)}copyIncremental(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Nd)}}const Ed=createSerializer(s,true);const yd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:$a},default:{bodyMapper:yo,headersMapper:Ja}},queryParameters:[Lc],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,Kc,rl,il,al,cl,Ml,Ol,Fl,Ul,Hl,Gl,Yl,Wl,jl,Kl,Xl,Zl,tu,ru,ou,au,hu,fu,Ou,Fu,Uu],isXML:true,serializer:Ed};const Cd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Ya},default:{bodyMapper:yo,headersMapper:Wa}},requestBody:Gu,queryParameters:[Lc,zu],urlParameters:[Dc],headerParameters:[Mc,Oc,Kc,il,al,cl,_l,Ml,Ol,Fl,Ul,Hl,Gl,ou,Lu,Mu,Hu,qu,Vu,$u,Ju,Yu],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Ed};const Id={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ja},default:{bodyMapper:yo,headersMapper:Ka}},queryParameters:[Lc,zu],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,Kc,il,al,cl,_l,Ml,Ol,Fl,Ul,Hl,Gl,ou,$u,Ju,Yu,Wu],isXML:true,serializer:Ed};const Bd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Xa},default:{bodyMapper:yo,headersMapper:Za}},queryParameters:[Lc,zu],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,Kc,il,al,cl,Ml,Ol,Fl,Ul,Hl,Gl,ou,lu,uu,Au,du,yu,Cu,Bu,Vu,$u,Ju,Yu,ju,Ku,Xu,Zu],isXML:true,serializer:Ed};const bd={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:zo,headersMapper:ec},default:{bodyMapper:yo,headersMapper:tc}},queryParameters:[Lc,qc,zc,kl,eA],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,il,al,cl,_l,Ul,Hl,Gl],isXML:true,serializer:Ed};const wd={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:zo,headersMapper:rc},default:{bodyMapper:yo,headersMapper:nc}},queryParameters:[Lc,qc,zc,kl,eA,tA],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,il,al,cl,_l,Ul,Hl,Gl,rA],isXML:true,serializer:Ed};const Sd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:sc},default:{bodyMapper:yo,headersMapper:oc}},queryParameters:[Pc,Lc],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,il,al,cl,Ml,Ol,Fl,Ul,Hl,Gl,ou,Fu],isXML:true,serializer:Ed};const Qd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ic},default:{bodyMapper:yo,headersMapper:ac}},queryParameters:[Pc,Lc],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,il,al,cl,Ul,Hl,Gl,Uu,nA],isXML:true,serializer:Ed};const Nd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:cc},default:{bodyMapper:yo,headersMapper:lc}},queryParameters:[Lc,sA],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,al,cl,Ul,Hl,Gl,mu],isXML:true,serializer:Ed};class AppendBlobImpl{client;constructor(e){this.client=e}create(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},vd)}appendBlock(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},xd)}appendBlockFromUrl(e,t,r){return this.client.sendOperationRequest({sourceUrl:e,contentLength:t,options:r},Td)}seal(e){return this.client.sendOperationRequest({options:e},kd)}}const Rd=createSerializer(s,true);const vd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:uc},default:{bodyMapper:yo,headersMapper:Ac}},queryParameters:[Lc],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,Kc,rl,il,al,cl,Ml,Ol,Fl,Ul,Hl,Gl,Yl,Wl,jl,Kl,Xl,Zl,tu,ru,ou,hu,fu,oA],isXML:true,serializer:Rd};const xd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:dc},default:{bodyMapper:yo,headersMapper:pc}},requestBody:Gu,queryParameters:[Lc,iA],urlParameters:[Dc],headerParameters:[Mc,Oc,Kc,il,al,cl,Ml,Ol,Fl,Ul,Hl,Gl,ou,Lu,Mu,Hu,qu,aA,cA],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Rd};const Td={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:mc},default:{bodyMapper:yo,headersMapper:hc}},queryParameters:[Lc,iA],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,Kc,il,al,cl,Ml,Ol,Fl,Ul,Hl,Gl,ou,lu,uu,Au,du,yu,Cu,Bu,Lu,ju,Xu,aA,cA,lA],isXML:true,serializer:Rd};const kd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:gc},default:{bodyMapper:yo,headersMapper:fc}},queryParameters:[Lc,uA],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,il,al,cl,Ul,Hl,cA],isXML:true,serializer:Rd};class BlockBlobImpl{client;constructor(e){this.client=e}upload(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},_d)}putBlobFromUrl(e,t,r){return this.client.sendOperationRequest({contentLength:e,copySource:t,options:r},Pd)}stageBlock(e,t,r,n){return this.client.sendOperationRequest({blockId:e,contentLength:t,body:r,options:n},Ld)}stageBlockFromURL(e,t,r,n){return this.client.sendOperationRequest({blockId:e,contentLength:t,sourceUrl:r,options:n},Md)}commitBlockList(e,t){return this.client.sendOperationRequest({blocks:e,options:t},Od)}getBlockList(e,t){return this.client.sendOperationRequest({listType:e,options:t},Fd)}}const Dd=createSerializer(s,true);const _d={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Ec},default:{bodyMapper:yo,headersMapper:yc}},requestBody:Gu,queryParameters:[Lc],urlParameters:[Dc],headerParameters:[Mc,Oc,Kc,rl,il,al,cl,Ml,Ol,Fl,Ul,Hl,Gl,Yl,Wl,jl,Kl,Xl,Zl,tu,ru,ou,au,hu,fu,Lu,Mu,Hu,qu,AA],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Dd};const Pd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Cc},default:{bodyMapper:yo,headersMapper:Ic}},queryParameters:[Lc],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,Kc,rl,il,al,cl,Ml,Ol,Fl,Ul,Hl,Gl,Yl,Wl,jl,Kl,Xl,Zl,ou,au,lu,uu,Au,du,pu,mu,hu,yu,Cu,Iu,Bu,Lu,AA,dA],isXML:true,serializer:Dd};const Ld={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Bc},default:{bodyMapper:yo,headersMapper:bc}},requestBody:Gu,queryParameters:[Lc,pA,mA],urlParameters:[Dc],headerParameters:[Mc,Oc,Kc,il,Ml,Ol,Fl,ou,Lu,Mu,Hu,qu],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Dd};const Md={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wc},default:{bodyMapper:yo,headersMapper:Sc}},queryParameters:[Lc,pA,mA],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,Kc,il,Ml,Ol,Fl,ou,lu,uu,Au,du,yu,Cu,Bu,ju,Xu,lA],isXML:true,serializer:Dd};const Od={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Qc},default:{bodyMapper:yo,headersMapper:Nc}},requestBody:hA,queryParameters:[Lc,gA],urlParameters:[Dc],headerParameters:[xc,kc,Mc,Oc,rl,il,al,cl,Ml,Ol,Fl,Ul,Hl,Gl,Yl,Wl,jl,Kl,Xl,Zl,tu,ru,ou,au,hu,fu,Lu,Mu],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Dd};const Fd={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Go,headersMapper:Rc},default:{bodyMapper:yo,headersMapper:vc}},queryParameters:[Lc,kl,gA,fA],urlParameters:[Dc],headerParameters:[Mc,Oc,Fc,il,Gl],isXML:true,serializer:Dd};class StorageClient extends ExtendedServiceClient{url;version;constructor(e,t){if(e===undefined){throw new Error("'url' cannot be null")}if(!t){t={}}const r={requestContentType:"application/json; charset=utf-8"};const n=`azsdk-js-azure-storage-blob/12.30.0`;const s=t.userAgentOptions&&t.userAgentOptions.userAgentPrefix?`${t.userAgentOptions.userAgentPrefix} ${n}`:`${n}`;const o={...r,...t,userAgentOptions:{userAgentPrefix:s},endpoint:t.endpoint??t.baseUri??"{url}"};super(o);this.url=e;this.version=t.version||"2026-02-06";this.service=new ServiceImpl(this);this.container=new ContainerImpl(this);this.blob=new BlobImpl(this);this.pageBlob=new PageBlobImpl(this);this.appendBlob=new AppendBlobImpl(this);this.blockBlob=new BlockBlobImpl(this)}service;container;blob;pageBlob;appendBlob;blockBlob}class StorageContextClient extends StorageClient{async sendOperationRequest(e,t){const r={...t};if(r.path==="/{containerName}"||r.path==="/{containerName}/{blob}"){r.path=""}return super.sendOperationRequest(e,r)}}function utils_common_escapeURLPath(e){const t=new URL(e);let r=t.pathname;r=r||"/";r=utils_utils_common_escape(r);t.pathname=r;return t.toString()}function utils_common_getProxyUriFromDevConnString(e){let t="";if(e.search("DevelopmentStorageProxyUri=")!==-1){const r=e.split(";");for(const e of r){if(e.trim().startsWith("DevelopmentStorageProxyUri=")){t=e.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return t}function utils_common_getValueInConnString(e,t){const r=e.split(";");for(const e of r){if(e.trim().startsWith(t)){return e.trim().match(t+"=(.*)")[1]}}return""}function utils_common_extractConnectionStringParts(e){let t="";if(e.startsWith("UseDevelopmentStorage=true")){t=utils_common_getProxyUriFromDevConnString(e);e=to}let r=utils_common_getValueInConnString(e,"BlobEndpoint");r=r.endsWith("/")?r.slice(0,-1):r;if(e.search("DefaultEndpointsProtocol=")!==-1&&e.search("AccountKey=")!==-1){let n="";let s="";let o=Buffer.from("accountKey","base64");let i="";s=utils_common_getValueInConnString(e,"AccountName");o=Buffer.from(utils_common_getValueInConnString(e,"AccountKey"),"base64");if(!r){n=utils_common_getValueInConnString(e,"DefaultEndpointsProtocol");const t=n.toLowerCase();if(t!=="https"&&t!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}i=utils_common_getValueInConnString(e,"EndpointSuffix");if(!i){throw new Error("Invalid EndpointSuffix in the provided Connection String")}r=`${n}://${s}.blob.${i}`}if(!s){throw new Error("Invalid AccountName in the provided Connection String")}else if(o.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:r,accountName:s,accountKey:o,proxyUri:t}}else{let t=utils_common_getValueInConnString(e,"SharedAccessSignature");let n=utils_common_getValueInConnString(e,"AccountName");if(!n){n=utils_common_getAccountNameFromUrl(r)}if(!r){throw new Error("Invalid BlobEndpoint in the provided SAS Connection String")}else if(!t){throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}if(t.startsWith("?")){t=t.substring(1)}return{kind:"SASConnString",url:r,accountName:n,accountSas:t}}}function utils_utils_common_escape(e){return encodeURIComponent(e).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function utils_common_appendToURLPath(e,t){const r=new URL(e);let n=r.pathname;n=n?n.endsWith("/")?`${n}${t}`:`${n}/${t}`:t;r.pathname=n;return r.toString()}function utils_common_setURLParameter(e,t,r){const n=new URL(e);const s=encodeURIComponent(t);const o=r?encodeURIComponent(r):undefined;const i=n.search===""?"?":n.search;const a=[];for(const e of i.slice(1).split("&")){if(e){const[t]=e.split("=",2);if(t!==s){a.push(e)}}}if(o){a.push(`${s}=${o}`)}n.search=a.length?`?${a.join("&")}`:"";return n.toString()}function utils_common_getURLParameter(e,t){const r=new URL(e);return r.searchParams.get(t)??undefined}function utils_common_setURLHost(e,t){const r=new URL(e);r.hostname=t;return r.toString()}function utils_common_getURLPath(e){try{const t=new URL(e);return t.pathname}catch(e){return undefined}}function utils_common_getURLScheme(e){try{const t=new URL(e);return t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol}catch(e){return undefined}}function utils_common_getURLPathAndQuery(e){const t=new URL(e);const r=t.pathname;if(!r){throw new RangeError("Invalid url without valid path.")}let n=t.search||"";n=n.trim();if(n!==""){n=n.startsWith("?")?n:`?${n}`}return`${r}${n}`}function utils_common_getURLQueries(e){let t=new URL(e).search;if(!t){return{}}t=t.trim();t=t.startsWith("?")?t.substring(1):t;let r=t.split("&");r=r.filter((e=>{const t=e.indexOf("=");const r=e.lastIndexOf("=");return t>0&&t===r&&r<e.length-1}));const n={};for(const e of r){const t=e.split("=");const r=t[0];const s=t[1];n[r]=s}return n}function utils_common_appendToURLQuery(e,t){const r=new URL(e);let n=r.search;if(n){n+="&"+t}else{n=t}r.search=n;return r.toString()}function utils_common_truncatedISO8061Date(e,t=true){const r=e.toISOString();return t?r.substring(0,r.length-1)+"0000"+"Z":r.substring(0,r.length-5)+"Z"}function utils_common_base64encode(e){return!Ur?btoa(e):Buffer.from(e).toString("base64")}function utils_common_base64decode(e){return!isNodeLike?atob(e):Buffer.from(e,"base64").toString()}function utils_common_generateBlockID(e,t){const r=48;const n=6;const s=r-n;if(e.length>s){e=e.slice(0,s)}const o=e+utils_common_padStart(t.toString(),r-e.length,"0");return utils_common_base64encode(o)}async function utils_utils_common_delay(e,t,r){return new Promise(((n,s)=>{let o;const abortHandler=()=>{if(o!==undefined){clearTimeout(o)}s(r)};const resolveHandler=()=>{if(t!==undefined){t.removeEventListener("abort",abortHandler)}n()};o=setTimeout(resolveHandler,e);if(t!==undefined){t.addEventListener("abort",abortHandler)}}))}function utils_common_padStart(e,t,r=" "){if(String.prototype.padStart){return e.padStart(t,r)}r=r||" ";if(e.length>t){return e}else{t=t-e.length;if(t>r.length){r+=r.repeat(t/r.length)}return r.slice(0,t)+e}}function utils_common_sanitizeURL(e){let t=e;if(utils_common_getURLParameter(t,URLConstants.Parameters.SIGNATURE)){t=utils_common_setURLParameter(t,URLConstants.Parameters.SIGNATURE,"*****")}return t}function utils_common_sanitizeHeaders(e){const t=createHttpHeaders();for(const[r,n]of e){if(r.toLowerCase()===HeaderConstants.AUTHORIZATION.toLowerCase()){t.set(r,"*****")}else if(r.toLowerCase()===HeaderConstants.X_MS_COPY_SOURCE){t.set(r,utils_common_sanitizeURL(n))}else{t.set(r,n)}}return t}function utils_common_iEqual(e,t){return e.toLocaleLowerCase()===t.toLocaleLowerCase()}function utils_common_getAccountNameFromUrl(e){const t=new URL(e);let r;try{if(t.hostname.split(".")[1]==="blob"){r=t.hostname.split(".")[0]}else if(utils_common_isIpEndpointStyle(t)){r=t.pathname.split("/")[1]}else{r=""}return r}catch(e){throw new Error("Unable to extract accountName with provided information.")}}function utils_common_isIpEndpointStyle(e){const t=e.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(t)||Boolean(e.port)&&ao.includes(e.port)}function toBlobTagsString(e){if(e===undefined){return undefined}const t=[];for(const r in e){if(Object.prototype.hasOwnProperty.call(e,r)){const n=e[r];t.push(`${encodeURIComponent(r)}=${encodeURIComponent(n)}`)}}return t.join("&")}function toBlobTags(e){if(e===undefined){return undefined}const t={blobTagSet:[]};for(const r in e){if(Object.prototype.hasOwnProperty.call(e,r)){const n=e[r];t.blobTagSet.push({key:r,value:n})}}return t}function toTags(e){if(e===undefined){return undefined}const t={};for(const r of e.blobTagSet){t[r.key]=r.value}return t}function toQuerySerialization(e){if(e===undefined){return undefined}switch(e.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:e.columnSeparator||",",fieldQuote:e.fieldQuote||"",recordSeparator:e.recordSeparator,escapeChar:e.escapeCharacter||"",headersPresent:e.hasHeaders||false}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:e.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:e.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function parseObjectReplicationRecord(e){if(!e){return undefined}if("policy-id"in e){return undefined}const t=[];for(const r in e){const n=r.split("_");const s="or-";if(n[0].startsWith(s)){n[0]=n[0].substring(s.length)}const o={ruleId:n[1],replicationStatus:e[r]};const i=t.findIndex((e=>e.policyId===n[0]));if(i>-1){t[i].rules.push(o)}else{t.push({policyId:n[0],rules:[o]})}}return t}function utils_common_attachCredential(e,t){e.credential=t;return e}function utils_common_httpAuthorizationToString(e){return e?e.scheme+" "+e.value:undefined}function BlobNameToString(e){if(e.encoded){return decodeURIComponent(e.content)}else{return e.content}}function ConvertInternalResponseOfListBlobFlat(e){return{...e,segment:{blobItems:e.segment.blobItems.map((e=>{const t={...e,name:BlobNameToString(e.name)};return t}))}}}function ConvertInternalResponseOfListBlobHierarchy(e){return{...e,segment:{blobPrefixes:e.segment.blobPrefixes?.map((e=>{const t={...e,name:BlobNameToString(e.name)};return t})),blobItems:e.segment.blobItems.map((e=>{const t={...e,name:BlobNameToString(e.name)};return t}))}}}function*ExtractPageRangeInfoItems(e){let t=[];let r=[];if(e.pageRange)t=e.pageRange;if(e.clearRange)r=e.clearRange;let n=0;let s=0;while(n<t.length&&s<r.length){if(t[n].start<r[s].start){yield{start:t[n].start,end:t[n].end,isClear:false};++n}else{yield{start:r[s].start,end:r[s].end,isClear:true};++s}}for(;n<t.length;++n){yield{start:t[n].start,end:t[n].end,isClear:false}}for(;s<r.length;++s){yield{start:r[s].start,end:r[s].end,isClear:true}}}function utils_common_EscapePath(e){const t=e.split("/");for(let e=0;e<t.length;e++){t[e]=encodeURIComponent(t[e])}return t.join("/")}function utils_common_assertResponse(e){if(`_response`in e){return e}throw new TypeError(`Unexpected response object ${e}`)}class StorageClient_StorageClient{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,t){this.url=utils_common_escapeURLPath(e);this.accountName=utils_common_getAccountNameFromUrl(e);this.pipeline=t;this.storageClientContext=new StorageContextClient(this.url,getCoreClientOptions(t));this.isHttps=utils_common_iEqual(utils_common_getURLScheme(this.url)||"","https");this.credential=getCredentialFromPipeline(t);const r=this.storageClientContext;r.requestContentType=undefined}}const Ud=createTracingClient({packageName:"@azure/storage-blob",packageVersion:_s,namespace:"Microsoft.Storage"});class BlobSASPermissions{static parse(e){const t=new BlobSASPermissions;for(const r of e){switch(r){case"r":t.read=true;break;case"a":t.add=true;break;case"c":t.create=true;break;case"w":t.write=true;break;case"d":t.delete=true;break;case"x":t.deleteVersion=true;break;case"t":t.tag=true;break;case"m":t.move=true;break;case"e":t.execute=true;break;case"i":t.setImmutabilityPolicy=true;break;case"y":t.permanentDelete=true;break;default:throw new RangeError(`Invalid permission: ${r}`)}}return t}static from(e){const t=new BlobSASPermissions;if(e.read){t.read=true}if(e.add){t.add=true}if(e.create){t.create=true}if(e.write){t.write=true}if(e.delete){t.delete=true}if(e.deleteVersion){t.deleteVersion=true}if(e.tag){t.tag=true}if(e.move){t.move=true}if(e.execute){t.execute=true}if(e.setImmutabilityPolicy){t.setImmutabilityPolicy=true}if(e.permanentDelete){t.permanentDelete=true}return t}read=false;add=false;create=false;write=false;delete=false;deleteVersion=false;tag=false;move=false;execute=false;setImmutabilityPolicy=false;permanentDelete=false;toString(){const e=[];if(this.read){e.push("r")}if(this.add){e.push("a")}if(this.create){e.push("c")}if(this.write){e.push("w")}if(this.delete){e.push("d")}if(this.deleteVersion){e.push("x")}if(this.tag){e.push("t")}if(this.move){e.push("m")}if(this.execute){e.push("e")}if(this.setImmutabilityPolicy){e.push("i")}if(this.permanentDelete){e.push("y")}return e.join("")}}class ContainerSASPermissions{static parse(e){const t=new ContainerSASPermissions;for(const r of e){switch(r){case"r":t.read=true;break;case"a":t.add=true;break;case"c":t.create=true;break;case"w":t.write=true;break;case"d":t.delete=true;break;case"l":t.list=true;break;case"t":t.tag=true;break;case"x":t.deleteVersion=true;break;case"m":t.move=true;break;case"e":t.execute=true;break;case"i":t.setImmutabilityPolicy=true;break;case"y":t.permanentDelete=true;break;case"f":t.filterByTags=true;break;default:throw new RangeError(`Invalid permission ${r}`)}}return t}static from(e){const t=new ContainerSASPermissions;if(e.read){t.read=true}if(e.add){t.add=true}if(e.create){t.create=true}if(e.write){t.write=true}if(e.delete){t.delete=true}if(e.list){t.list=true}if(e.deleteVersion){t.deleteVersion=true}if(e.tag){t.tag=true}if(e.move){t.move=true}if(e.execute){t.execute=true}if(e.setImmutabilityPolicy){t.setImmutabilityPolicy=true}if(e.permanentDelete){t.permanentDelete=true}if(e.filterByTags){t.filterByTags=true}return t}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 e=[];if(this.read){e.push("r")}if(this.add){e.push("a")}if(this.create){e.push("c")}if(this.write){e.push("w")}if(this.delete){e.push("d")}if(this.deleteVersion){e.push("x")}if(this.list){e.push("l")}if(this.tag){e.push("t")}if(this.move){e.push("m")}if(this.execute){e.push("e")}if(this.setImmutabilityPolicy){e.push("i")}if(this.permanentDelete){e.push("y")}if(this.filterByTags){e.push("f")}return e.join("")}}function ipRangeToString(e){return e.end?`${e.start}-${e.end}`:e.start}var Hd;(function(e){e["Https"]="https";e["HttpsAndHttp"]="https,http"})(Hd||(Hd={}));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(e,t,r,n,s,o,i,a,c,l,u,A,d,p,m,h,g,f,E,y,C){this.version=e;this.signature=t;if(r!==undefined&&typeof r!=="string"){this.permissions=r.permissions;this.services=r.services;this.resourceTypes=r.resourceTypes;this.protocol=r.protocol;this.startsOn=r.startsOn;this.expiresOn=r.expiresOn;this.ipRangeInner=r.ipRange;this.identifier=r.identifier;this.delegatedUserObjectId=r.delegatedUserObjectId;this.encryptionScope=r.encryptionScope;this.resource=r.resource;this.cacheControl=r.cacheControl;this.contentDisposition=r.contentDisposition;this.contentEncoding=r.contentEncoding;this.contentLanguage=r.contentLanguage;this.contentType=r.contentType;if(r.userDelegationKey){this.signedOid=r.userDelegationKey.signedObjectId;this.signedTenantId=r.userDelegationKey.signedTenantId;this.signedStartsOn=r.userDelegationKey.signedStartsOn;this.signedExpiresOn=r.userDelegationKey.signedExpiresOn;this.signedService=r.userDelegationKey.signedService;this.signedVersion=r.userDelegationKey.signedVersion;this.preauthorizedAgentObjectId=r.preauthorizedAgentObjectId;this.correlationId=r.correlationId}}else{this.services=n;this.resourceTypes=s;this.expiresOn=a;this.permissions=r;this.protocol=o;this.startsOn=i;this.ipRangeInner=c;this.delegatedUserObjectId=C;this.encryptionScope=y;this.identifier=l;this.resource=u;this.cacheControl=A;this.contentDisposition=d;this.contentEncoding=p;this.contentLanguage=m;this.contentType=h;if(g){this.signedOid=g.signedObjectId;this.signedTenantId=g.signedTenantId;this.signedStartsOn=g.signedStartsOn;this.signedExpiresOn=g.signedExpiresOn;this.signedService=g.signedService;this.signedVersion=g.signedVersion;this.preauthorizedAgentObjectId=f;this.correlationId=E}}}toString(){const e=["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 t=[];for(const r of e){switch(r){case"sv":this.tryAppendQueryParameter(t,r,this.version);break;case"ss":this.tryAppendQueryParameter(t,r,this.services);break;case"srt":this.tryAppendQueryParameter(t,r,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(t,r,this.protocol);break;case"st":this.tryAppendQueryParameter(t,r,this.startsOn?utils_common_truncatedISO8061Date(this.startsOn,false):undefined);break;case"se":this.tryAppendQueryParameter(t,r,this.expiresOn?utils_common_truncatedISO8061Date(this.expiresOn,false):undefined);break;case"sip":this.tryAppendQueryParameter(t,r,this.ipRange?ipRangeToString(this.ipRange):undefined);break;case"si":this.tryAppendQueryParameter(t,r,this.identifier);break;case"ses":this.tryAppendQueryParameter(t,r,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(t,r,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(t,r,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(t,r,this.signedStartsOn?utils_common_truncatedISO8061Date(this.signedStartsOn,false):undefined);break;case"ske":this.tryAppendQueryParameter(t,r,this.signedExpiresOn?utils_common_truncatedISO8061Date(this.signedExpiresOn,false):undefined);break;case"sks":this.tryAppendQueryParameter(t,r,this.signedService);break;case"skv":this.tryAppendQueryParameter(t,r,this.signedVersion);break;case"sr":this.tryAppendQueryParameter(t,r,this.resource);break;case"sp":this.tryAppendQueryParameter(t,r,this.permissions);break;case"sig":this.tryAppendQueryParameter(t,r,this.signature);break;case"rscc":this.tryAppendQueryParameter(t,r,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(t,r,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(t,r,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(t,r,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(t,r,this.contentType);break;case"saoid":this.tryAppendQueryParameter(t,r,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(t,r,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(t,r,this.delegatedUserObjectId);break}}return t.join("&")}tryAppendQueryParameter(e,t,r){if(!r){return}t=encodeURIComponent(t);r=encodeURIComponent(r);if(t.length>0&&r.length>0){e.push(`${t}=${r}`)}}}function generateBlobSASQueryParameters(e,t,r){return generateBlobSASQueryParametersInternal(e,t,r).sasQueryParameters}function generateBlobSASQueryParametersInternal(e,t,r){const n=e.version?e.version:Ps;const s=t instanceof StorageSharedKeyCredential?t:undefined;let o;if(s===undefined&&r!==undefined){o=new UserDelegationKeyCredential(r,t)}if(s===undefined&&o===undefined){throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.")}if(n>="2020-12-06"){if(s!==undefined){return generateBlobSASQueryParameters20201206(e,s)}else{if(n>="2025-07-05"){return generateBlobSASQueryParametersUDK20250705(e,o)}else{return generateBlobSASQueryParametersUDK20201206(e,o)}}}if(n>="2018-11-09"){if(s!==undefined){return generateBlobSASQueryParameters20181109(e,s)}else{if(n>="2020-02-10"){return generateBlobSASQueryParametersUDK20200210(e,o)}else{return generateBlobSASQueryParametersUDK20181109(e,o)}}}if(n>="2015-04-05"){if(s!==undefined){return generateBlobSASQueryParameters20150405(e,s)}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(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.identifier&&!(e.permissions&&e.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let r="c";if(e.blobName){r="b"}let n;if(e.permissions){if(e.blobName){n=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{n=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const s=[n?n:"",e.startsOn?utils_common_truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?utils_common_truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",e.version,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n");const o=t.computeHMACSHA256(s);return{sasQueryParameters:new SASQueryParameters(e.version,o,n,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:s}}function generateBlobSASQueryParameters20181109(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.identifier&&!(e.permissions&&e.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let r="c";let n=e.snapshotTime;if(e.blobName){r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";n=e.versionId}}let s;if(e.permissions){if(e.blobName){s=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{s=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const o=[s?s:"",e.startsOn?utils_common_truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?utils_common_truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,n,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n");const i=t.computeHMACSHA256(o);return{sasQueryParameters:new SASQueryParameters(e.version,i,s,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:o}}function generateBlobSASQueryParameters20201206(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.identifier&&!(e.permissions&&e.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let r="c";let n=e.snapshotTime;if(e.blobName){r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";n=e.versionId}}let s;if(e.permissions){if(e.blobName){s=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{s=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const o=[s?s:"",e.startsOn?utils_common_truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?utils_common_truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,n,e.encryptionScope,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n");const i=t.computeHMACSHA256(o);return{sasQueryParameters:new SASQueryParameters(e.version,i,s,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,undefined,undefined,undefined,e.encryptionScope),stringToSign:o}}function generateBlobSASQueryParametersUDK20181109(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let r="c";let n=e.snapshotTime;if(e.blobName){r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";n=e.versionId}}let s;if(e.permissions){if(e.blobName){s=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{s=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const o=[s?s:"",e.startsOn?utils_common_truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?utils_common_truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?utils_common_truncatedISO8061Date(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?utils_common_truncatedISO8061Date(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");const i=t.computeHMACSHA256(o);return{sasQueryParameters:new SASQueryParameters(e.version,i,s,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey),stringToSign:o}}function generateBlobSASQueryParametersUDK20200210(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let r="c";let n=e.snapshotTime;if(e.blobName){r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";n=e.versionId}}let s;if(e.permissions){if(e.blobName){s=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{s=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const o=[s?s:"",e.startsOn?utils_common_truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?utils_common_truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?utils_common_truncatedISO8061Date(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?utils_common_truncatedISO8061Date(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,undefined,e.correlationId,e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");const i=t.computeHMACSHA256(o);return{sasQueryParameters:new SASQueryParameters(e.version,i,s,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId),stringToSign:o}}function generateBlobSASQueryParametersUDK20201206(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let r="c";let n=e.snapshotTime;if(e.blobName){r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";n=e.versionId}}let s;if(e.permissions){if(e.blobName){s=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{s=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const o=[s?s:"",e.startsOn?utils_common_truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?utils_common_truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?utils_common_truncatedISO8061Date(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?utils_common_truncatedISO8061Date(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,undefined,e.correlationId,e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,n,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");const i=t.computeHMACSHA256(o);return{sasQueryParameters:new SASQueryParameters(e.version,i,s,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope),stringToSign:o}}function generateBlobSASQueryParametersUDK20250705(e,t){e=SASSignatureValuesSanityCheckAndAutofill(e);if(!e.permissions||!e.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let r="c";let n=e.snapshotTime;if(e.blobName){r="b";if(e.snapshotTime){r="bs"}else if(e.versionId){r="bv";n=e.versionId}}let s;if(e.permissions){if(e.blobName){s=BlobSASPermissions.parse(e.permissions.toString()).toString()}else{s=ContainerSASPermissions.parse(e.permissions.toString()).toString()}}const o=[s?s:"",e.startsOn?utils_common_truncatedISO8061Date(e.startsOn,false):"",e.expiresOn?utils_common_truncatedISO8061Date(e.expiresOn,false):"",getCanonicalName(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?utils_common_truncatedISO8061Date(t.userDelegationKey.signedStartsOn,false):"",t.userDelegationKey.signedExpiresOn?utils_common_truncatedISO8061Date(t.userDelegationKey.signedExpiresOn,false):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,undefined,e.correlationId,undefined,e.delegatedUserObjectId,e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",e.version,r,n,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n");const i=t.computeHMACSHA256(o);return{sasQueryParameters:new SASQueryParameters(e.version,i,s,undefined,undefined,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId),stringToSign:o}}function getCanonicalName(e,t,r){const n=[`/blob/${e}/${t}`];if(r){n.push(`/${r}`)}return n.join("")}function SASSignatureValuesSanityCheckAndAutofill(e){const t=e.version?e.version:Ps;if(e.snapshotTime&&t<"2018-11-09"){throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.")}if(e.blobName===undefined&&e.snapshotTime){throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.")}if(e.versionId&&t<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.")}if(e.blobName===undefined&&e.versionId){throw RangeError("Must provide 'blobName' when providing 'versionId'.")}if(e.permissions&&e.permissions.setImmutabilityPolicy&&t<"2020-08-04"){throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.")}if(e.permissions&&e.permissions.deleteVersion&&t<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.")}if(e.permissions&&e.permissions.permanentDelete&&t<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.")}if(e.permissions&&e.permissions.tag&&t<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.")}if(t<"2020-02-10"&&e.permissions&&(e.permissions.move||e.permissions.execute)){throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.")}if(t<"2021-04-10"&&e.permissions&&e.permissions.filterByTags){throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.")}if(t<"2020-02-10"&&(e.preauthorizedAgentObjectId||e.correlationId)){throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.")}if(e.encryptionScope&&t<"2020-12-06"){throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.")}e.version=t;return e}class BlobLeaseClient{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,t){const r=e.storageClientContext;this._url=e.url;if(e.name===undefined){this._isContainer=true;this._containerOrBlobOperation=r.container}else{this._isContainer=false;this._containerOrBlobOperation=r.blob}if(!t){t=esm_randomUUID()}this._leaseId=t}async acquireLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==Js||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==Js||t.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 Ud.withSpan("BlobLeaseClient-acquireLease",t,(async r=>utils_common_assertResponse(await this._containerOrBlobOperation.acquireLease({abortSignal:t.abortSignal,duration:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:r.tracingOptions}))))}async changeLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==Js||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==Js||t.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 Ud.withSpan("BlobLeaseClient-changeLease",t,(async r=>{const n=utils_common_assertResponse(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));this._leaseId=e;return n}))}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==Js||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Js||e.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 Ud.withSpan("BlobLeaseClient-releaseLease",e,(async t=>utils_common_assertResponse(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==Js||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Js||e.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 Ud.withSpan("BlobLeaseClient-renewLease",e,(async t=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async breakLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==Js||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==Js||t.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 Ud.withSpan("BlobLeaseClient-breakLease",t,(async r=>{const n={abortSignal:t.abortSignal,breakPeriod:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions};return utils_common_assertResponse(await this._containerOrBlobOperation.breakLease(n))}))}}class RetriableReadableStream extends Rt.Readable{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,t,r,n,s={}){super({highWaterMark:s.highWaterMark});this.getter=t;this.source=e;this.start=r;this.offset=r;this.end=r+n-1;this.maxRetryRequests=s.maxRetryRequests&&s.maxRetryRequests>=0?s.maxRetryRequests:0;this.onProgress=s.onProgress;this.options=s;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=e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=undefined;this.source.pause();this.sourceErrorOrEndHandler();this.source.destroy();return}this.offset+=e.length;if(this.onProgress){this.onProgress({loadedBytes:this.offset-this.start})}if(!this.push(e)){this.source.pause()}};sourceAbortedHandler=()=>{const e=new AbortError_AbortError("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{if(e&&e.name==="AbortError"){this.destroy(e);return}this.removeSourceEventHandlers();if(this.offset-1===this.end){this.push(null)}else if(this.offset<=this.end){if(this.retries<this.maxRetryRequests){this.retries+=1;this.getter(this.offset).then((e=>{this.source=e;this.setSourceEventHandlers();return})).catch((e=>{this.destroy(e)}))}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(e,t){this.removeSourceEventHandlers();this.source.destroy();t(e===null?undefined:e)}}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 Ur?this.blobDownloadStream:undefined}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t,r,n,s={}){this.originalResponse=e;this.blobDownloadStream=new RetriableReadableStream(this.originalResponse.readableStreamBody,t,r,n,s)}}const Gd=16;const qd=new Uint8Array([79,98,106,1]);const zd="avro.codec";const Vd="avro.schema";class AvroParser{static async readFixedBytes(e,t,r={}){const n=await e.read(t,{abortSignal:r.abortSignal});if(n.length!==t){throw new Error("Hit stream end.")}return n}static async readByte(e,t={}){const r=await AvroParser.readFixedBytes(e,1,t);return r[0]}static async readZigZagLong(e,t={}){let r=0;let n=0;let s,o,i;do{s=await AvroParser.readByte(e,t);o=s&128;r|=(s&127)<<n;n+=7}while(o&&n<28);if(o){r=r;i=268435456;do{s=await AvroParser.readByte(e,t);r+=(s&127)*i;i*=128}while(s&128);const n=(r%2?-(r+1):r)/2;if(n<Number.MIN_SAFE_INTEGER||n>Number.MAX_SAFE_INTEGER){throw new Error("Integer overflow.")}return n}return r>>1^-(r&1)}static async readLong(e,t={}){return AvroParser.readZigZagLong(e,t)}static async readInt(e,t={}){return AvroParser.readZigZagLong(e,t)}static async readNull(){return null}static async readBoolean(e,t={}){const r=await AvroParser.readByte(e,t);if(r===1){return true}else if(r===0){return false}else{throw new Error("Byte was not a boolean.")}}static async readFloat(e,t={}){const r=await AvroParser.readFixedBytes(e,4,t);const n=new DataView(r.buffer,r.byteOffset,r.byteLength);return n.getFloat32(0,true)}static async readDouble(e,t={}){const r=await AvroParser.readFixedBytes(e,8,t);const n=new DataView(r.buffer,r.byteOffset,r.byteLength);return n.getFloat64(0,true)}static async readBytes(e,t={}){const r=await AvroParser.readLong(e,t);if(r<0){throw new Error("Bytes size was negative.")}return e.read(r,{abortSignal:t.abortSignal})}static async readString(e,t={}){const r=await AvroParser.readBytes(e,t);const n=new TextDecoder;return n.decode(r)}static async readMapPair(e,t,r={}){const n=await AvroParser.readString(e,r);const s=await t(e,r);return{key:n,value:s}}static async readMap(e,t,r={}){const readPairMethod=(e,r={})=>AvroParser.readMapPair(e,t,r);const n=await AvroParser.readArray(e,readPairMethod,r);const s={};for(const e of n){s[e.key]=e.value}return s}static async readArray(e,t,r={}){const n=[];for(let s=await AvroParser.readLong(e,r);s!==0;s=await AvroParser.readLong(e,r)){if(s<0){await AvroParser.readLong(e,r);s=-s}while(s--){const s=await t(e,r);n.push(s)}}return n}}var $d;(function(e){e["RECORD"]="record";e["ENUM"]="enum";e["ARRAY"]="array";e["MAP"]="map";e["UNION"]="union";e["FIXED"]="fixed"})($d||($d={}));var Jd;(function(e){e["NULL"]="null";e["BOOLEAN"]="boolean";e["INT"]="int";e["LONG"]="long";e["FLOAT"]="float";e["DOUBLE"]="double";e["BYTES"]="bytes";e["STRING"]="string"})(Jd||(Jd={}));class AvroType{static fromSchema(e){if(typeof e==="string"){return AvroType.fromStringSchema(e)}else if(Array.isArray(e)){return AvroType.fromArraySchema(e)}else{return AvroType.fromObjectSchema(e)}}static fromStringSchema(e){switch(e){case Jd.NULL:case Jd.BOOLEAN:case Jd.INT:case Jd.LONG:case Jd.FLOAT:case Jd.DOUBLE:case Jd.BYTES:case Jd.STRING:return new AvroPrimitiveType(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new AvroUnionType(e.map(AvroType.fromSchema))}static fromObjectSchema(e){const t=e.type;try{return AvroType.fromStringSchema(t)}catch{}switch(t){case $d.RECORD:if(e.aliases){throw new Error(`aliases currently is not supported, schema: ${e}`)}if(!e.name){throw new Error(`Required attribute 'name' doesn't exist on schema: ${e}`)}const r={};if(!e.fields){throw new Error(`Required attribute 'fields' doesn't exist on schema: ${e}`)}for(const t of e.fields){r[t.name]=AvroType.fromSchema(t.type)}return new AvroRecordType(r,e.name);case $d.ENUM:if(e.aliases){throw new Error(`aliases currently is not supported, schema: ${e}`)}if(!e.symbols){throw new Error(`Required attribute 'symbols' doesn't exist on schema: ${e}`)}return new AvroEnumType(e.symbols);case $d.MAP:if(!e.values){throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`)}return new AvroMapType(AvroType.fromSchema(e.values));case $d.ARRAY:case $d.FIXED:default:throw new Error(`Unexpected Avro type ${t} in ${e}`)}}}class AvroPrimitiveType extends AvroType{_primitive;constructor(e){super();this._primitive=e}read(e,t={}){switch(this._primitive){case Jd.NULL:return AvroParser.readNull();case Jd.BOOLEAN:return AvroParser.readBoolean(e,t);case Jd.INT:return AvroParser.readInt(e,t);case Jd.LONG:return AvroParser.readLong(e,t);case Jd.FLOAT:return AvroParser.readFloat(e,t);case Jd.DOUBLE:return AvroParser.readDouble(e,t);case Jd.BYTES:return AvroParser.readBytes(e,t);case Jd.STRING:return AvroParser.readString(e,t);default:throw new Error("Unknown Avro Primitive")}}}class AvroEnumType extends AvroType{_symbols;constructor(e){super();this._symbols=e}async read(e,t={}){const r=await AvroParser.readInt(e,t);return this._symbols[r]}}class AvroUnionType extends AvroType{_types;constructor(e){super();this._types=e}async read(e,t={}){const r=await AvroParser.readInt(e,t);return this._types[r].read(e,t)}}class AvroMapType extends AvroType{_itemType;constructor(e){super();this._itemType=e}read(e,t={}){const readItemMethod=(e,t)=>this._itemType.read(e,t);return AvroParser.readMap(e,readItemMethod,t)}}class AvroRecordType extends AvroType{_name;_fields;constructor(e,t){super();this._fields=e;this._name=t}async read(e,t={}){const r={};r["$schema"]=this._name;for(const n in this._fields){if(Object.prototype.hasOwnProperty.call(this._fields,n)){r[n]=await this._fields[n].read(e,t)}}return r}}function arraysEqual(e,t){if(e===t)return true;if(e==null||t==null)return false;if(e.length!==t.length)return false;for(let r=0;r<e.length;++r){if(e[r]!==t[r])return false}return true}class AvroReader{_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,t,r,n){this._dataStream=e;this._headerStream=t||e;this._initialized=false;this._blockOffset=r||0;this._objectIndex=n||0;this._initialBlockOffset=r||0}async initialize(e={}){const t=await AvroParser.readFixedBytes(this._headerStream,qd.length,{abortSignal:e.abortSignal});if(!arraysEqual(t,qd)){throw new Error("Stream is not an Avro file.")}this._metadata=await AvroParser.readMap(this._headerStream,AvroParser.readString,{abortSignal:e.abortSignal});const r=this._metadata[zd];if(!(r===undefined||r===null||r==="null")){throw new Error("Codecs are not supported")}this._syncMarker=await AvroParser.readFixedBytes(this._headerStream,Gd,{abortSignal:e.abortSignal});const n=JSON.parse(this._metadata[Vd]);this._itemType=AvroType.fromSchema(n);if(this._blockOffset===0){this._blockOffset=this._initialBlockOffset+this._dataStream.position}this._itemsRemainingInBlock=await AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal});await AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal});this._initialized=true;if(this._objectIndex&&this._objectIndex>0){for(let t=0;t<this._objectIndex;t++){await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});this._itemsRemainingInBlock--}}}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}async*parseObjects(e={}){if(!this._initialized){await this.initialize(e)}while(this.hasNext()){const t=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});this._itemsRemainingInBlock--;this._objectIndex++;if(this._itemsRemainingInBlock===0){const t=await AvroParser.readFixedBytes(this._dataStream,Gd,{abortSignal:e.abortSignal});this._blockOffset=this._initialBlockOffset+this._dataStream.position;this._objectIndex=0;if(!arraysEqual(this._syncMarker,t)){throw new Error("Stream is not a valid Avro file.")}try{this._itemsRemainingInBlock=await AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}if(this._itemsRemainingInBlock>0){await AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal})}}yield t}}}class AvroReadable{}const Yd=e(import.meta.url)("buffer");const Wd=new AbortError_AbortError("Reading from the avro stream was aborted.");class AvroReadableFromStream extends AvroReadable{_position;_readable;toUint8Array(e){if(typeof e==="string"){return Yd.Buffer.from(e)}return e}constructor(e){super();this._readable=e;this._position=0}get position(){return this._position}async read(e,t={}){if(t.abortSignal?.aborted){throw Wd}if(e<0){throw new Error(`size parameter should be positive: ${e}`)}if(e===0){return new Uint8Array}if(!this._readable.readable){throw new Error("Stream no longer readable.")}const r=this._readable.read(e);if(r){this._position+=r.length;return this.toUint8Array(r)}else{return new Promise(((r,n)=>{const cleanUp=()=>{this._readable.removeListener("readable",readableCallback);this._readable.removeListener("error",rejectCallback);this._readable.removeListener("end",rejectCallback);this._readable.removeListener("close",rejectCallback);if(t.abortSignal){t.abortSignal.removeEventListener("abort",abortHandler)}};const readableCallback=()=>{const t=this._readable.read(e);if(t){this._position+=t.length;cleanUp();r(this.toUint8Array(t))}};const rejectCallback=()=>{cleanUp();n()};const abortHandler=()=>{cleanUp();n(Wd)};this._readable.on("readable",readableCallback);this._readable.once("error",rejectCallback);this._readable.once("end",rejectCallback);this._readable.once("close",rejectCallback);if(t.abortSignal){t.abortSignal.addEventListener("abort",abortHandler)}}))}}}class BlobQuickQueryStream extends Rt.Readable{source;avroReader;avroIter;avroPaused=true;onProgress;onError;constructor(e,t={}){super();this.source=e;this.onProgress=t.onProgress;this.onError=t.onError;this.avroReader=new AvroReader(new AvroReadableFromStream(this.source));this.avroIter=this.avroReader.parseObjects({abortSignal:t.abortSignal})}_read(){if(this.avroPaused){this.readInternal().catch((e=>{this.emit("error",e)}))}}async readInternal(){this.avroPaused=false;let e;do{e=await this.avroIter.next();if(e.done){break}const t=e.value;const r=t.$schema;if(typeof r!=="string"){throw Error("Missing schema in avro record.")}switch(r){case"com.microsoft.azure.storage.queryBlobContents.resultData":{const e=t.data;if(e instanceof Uint8Array===false){throw Error("Invalid data in avro result record.")}if(!this.push(Buffer.from(e))){this.avroPaused=true}}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{const e=t.bytesScanned;if(typeof e!=="number"){throw Error("Invalid bytesScanned in avro progress record.")}if(this.onProgress){this.onProgress({loadedBytes:e})}}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){const e=t.totalBytes;if(typeof e!=="number"){throw Error("Invalid totalBytes in avro end record.")}this.onProgress({loadedBytes:e})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){const e=t.fatal;if(typeof e!=="boolean"){throw Error("Invalid fatal in avro error record.")}const r=t.name;if(typeof r!=="string"){throw Error("Invalid name in avro error record.")}const n=t.description;if(typeof n!=="string"){throw Error("Invalid description in avro error record.")}const s=t.position;if(typeof s!=="number"){throw Error("Invalid position in avro error record.")}this.onError({position:s,name:r,isFatal:e,description:n})}break;default:throw Error(`Unknown schema ${r} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}}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 Ur?this.blobDownloadStream:undefined}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t={}){this.originalResponse=e;this.blobDownloadStream=new BlobQuickQueryStream(this.originalResponse.readableStreamBody,t)}}var jd;(function(e){e["Hot"]="Hot";e["Cool"]="Cool";e["Cold"]="Cold";e["Archive"]="Archive"})(jd||(jd={}));var Kd;(function(e){e["P4"]="P4";e["P6"]="P6";e["P10"]="P10";e["P15"]="P15";e["P20"]="P20";e["P30"]="P30";e["P40"]="P40";e["P50"]="P50";e["P60"]="P60";e["P70"]="P70";e["P80"]="P80"})(Kd||(Kd={}));function toAccessTier(e){if(e===undefined){return undefined}return e}function ensureCpkIfSpecified(e,t){if(e&&!t){throw new RangeError("Customer-provided encryption key must be used over HTTPS.")}if(e&&!e.encryptionAlgorithm){e.encryptionAlgorithm=eo}}var Xd;(function(e){e["StorageOAuthScopes"]="https://storage.azure.com/.default";e["DiskComputeOAuthScopes"]="https://disk.compute.azure.com/.default"})(Xd||(Xd={}));function getBlobServiceAccountAudience(e){return`https://${e}.blob.core.windows.net/.default`}function rangeResponseFromModel(e){const t=(e._response.parsedBody.pageRange||[]).map((e=>({offset:e.start,count:e.end-e.start})));const r=(e._response.parsedBody.clearRange||[]).map((e=>({offset:e.start,count:e.end-e.start})));return{...e,pageRange:t,clearRange:r,_response:{...e._response,parsedBody:{pageRange:t,clearRange:r}}}}var Zd=__nccwpck_require__(5862);class BlobBeginCopyFromUrlPoller extends Zd.vu{intervalInMs;constructor(e){const{blobClient:t,copySource:r,intervalInMs:n=15e3,onProgress:s,resumeFrom:o,startCopyFromURLOptions:i}=e;let a;if(o){a=JSON.parse(o).state}const c=makeBlobBeginCopyFromURLPollOperation({...a,blobClient:t,copySource:r,startCopyFromURLOptions:i});super(c);if(typeof s==="function"){this.onProgress(s)}this.intervalInMs=n}delay(){return delay_delay(this.intervalInMs)}}const ep=async function cancel(e={}){const t=this.state;const{copyId:r}=t;if(t.isCompleted){return makeBlobBeginCopyFromURLPollOperation(t)}if(!r){t.isCancelled=true;return makeBlobBeginCopyFromURLPollOperation(t)}await t.blobClient.abortCopyFromURL(r,{abortSignal:e.abortSignal});t.isCancelled=true;return makeBlobBeginCopyFromURLPollOperation(t)};const tp=async function update(e={}){const t=this.state;const{blobClient:r,copySource:n,startCopyFromURLOptions:s}=t;if(!t.isStarted){t.isStarted=true;const e=await r.startCopyFromURL(n,s);t.copyId=e.copyId;if(e.copyStatus==="success"){t.result=e;t.isCompleted=true}}else if(!t.isCompleted){try{const r=await t.blobClient.getProperties({abortSignal:e.abortSignal});const{copyStatus:n,copyProgress:s}=r;const o=t.copyProgress;if(s){t.copyProgress=s}if(n==="pending"&&s!==o&&typeof e.fireProgress==="function"){e.fireProgress(t)}else if(n==="success"){t.result=r;t.isCompleted=true}else if(n==="failed"){t.error=new Error(`Blob copy failed with reason: "${r.copyStatusDescription||"unknown"}"`);t.isCompleted=true}}catch(e){t.error=e;t.isCompleted=true}}return makeBlobBeginCopyFromURLPollOperation(t)};const rp=function toString(){return JSON.stringify({state:this.state},((e,t)=>{if(e==="blobClient"){return undefined}return t}))};function makeBlobBeginCopyFromURLPollOperation(e){return{state:{...e},cancel:ep,toString:rp,update:tp}}function rangeToString(e){if(e.offset<0){throw new RangeError(`Range.offset cannot be smaller than 0.`)}if(e.count&&e.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 e.count?`bytes=${e.offset}-${e.offset+e.count-1}`:`bytes=${e.offset}-`}var np;(function(e){e[e["Good"]=0]="Good";e[e["Error"]=1]="Error"})(np||(np={}));class Batch{concurrency;actives=0;completed=0;offset=0;operations=[];state=np.Good;emitter;constructor(e=5){if(e<1){throw new RangeError("concurrency must be larger than 0")}this.concurrency=e;this.emitter=new F.EventEmitter}addOperation(e){this.operations.push((async()=>{try{this.actives++;await e();this.actives--;this.completed++;this.parallelExecute()}catch(e){this.emitter.emit("error",e)}}))}async do(){if(this.operations.length===0){return Promise.resolve()}this.parallelExecute();return new Promise(((e,t)=>{this.emitter.on("finish",e);this.emitter.on("error",(e=>{this.state=np.Error;t(e)}))}))}nextOperation(){if(this.offset<this.operations.length){return this.operations[this.offset++]}return null}parallelExecute(){if(this.state===np.Error){return}if(this.completed>=this.operations.length){this.emitter.emit("finish");return}while(this.actives<this.concurrency){const e=this.nextOperation();if(e){e()}else{return}}}}const sp=e(import.meta.url)("node:fs");async function streamToBuffer(e,t,r,n,s){let o=0;const i=n-r;return new Promise(((n,a)=>{const c=setTimeout((()=>a(new Error(`The operation cannot be completed in timeout.`))),Gs);e.on("readable",(()=>{if(o>=i){clearTimeout(c);n();return}let a=e.read();if(!a){return}if(typeof a==="string"){a=Buffer.from(a,s)}const l=o+a.length>i?i-o:a.length;t.fill(a.slice(0,l),r+o,r+o+l);o+=l}));e.on("end",(()=>{clearTimeout(c);if(o<i){a(new Error(`Stream drains before getting enough data needed. Data read: ${o}, data need: ${i}`))}n()}));e.on("error",(e=>{clearTimeout(c);a(e)}))}))}async function streamToBuffer2(e,t,r){let n=0;const s=t.length;return new Promise(((o,i)=>{e.on("readable",(()=>{let o=e.read();if(!o){return}if(typeof o==="string"){o=Buffer.from(o,r)}if(n+o.length>s){i(new Error(`Stream exceeds buffer size. Buffer size: ${s}`));return}t.fill(o,n,n+o.length);n+=o.length}));e.on("end",(()=>{o(n)}));e.on("error",i)}))}async function streamToBuffer3(e,t){return new Promise(((r,n)=>{const s=[];e.on("data",(e=>{s.push(typeof e==="string"?Buffer.from(e,t):e)}));e.on("end",(()=>{r(Buffer.concat(s))}));e.on("error",n)}))}async function readStreamToLocalFile(e,t){return new Promise(((r,n)=>{const s=sp.createWriteStream(t);e.on("error",(e=>{n(e)}));s.on("error",(e=>{n(e)}));s.on("close",r);e.pipe(s)}))}const op=st.promisify(sp.stat);const ip=sp.createReadStream;class BlobClient extends StorageClient_StorageClient{blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,t,r,n){n=n||{};let s;let o;if(isPipelineLike(t)){o=e;s=t}else if(Ur&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||isTokenCredential(t)){o=e;n=r;s=newPipeline(t,n)}else if(!t&&typeof t!=="string"){o=e;if(r&&typeof r!=="string"){n=r}s=newPipeline(new AnonymousCredential,n)}else if(t&&typeof t==="string"&&r&&typeof r==="string"){const i=t;const a=r;const c=utils_common_extractConnectionStringParts(e);if(c.kind==="AccountConnString"){if(Ur){const e=new StorageSharedKeyCredential(c.accountName,c.accountKey);o=utils_common_appendToURLPath(utils_common_appendToURLPath(c.url,encodeURIComponent(i)),encodeURIComponent(a));if(!n.proxyOptions){n.proxyOptions=proxyPolicy_getDefaultProxySettings(c.proxyUri)}s=newPipeline(e,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(c.kind==="SASConnString"){o=utils_common_appendToURLPath(utils_common_appendToURLPath(c.url,encodeURIComponent(i)),encodeURIComponent(a))+"?"+c.accountSas;s=newPipeline(new AnonymousCredential,n)}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(o,s);({blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl());this.blobContext=this.storageClientContext.blob;this._snapshot=utils_common_getURLParameter(this.url,zs.Parameters.SNAPSHOT);this._versionId=utils_common_getURLParameter(this.url,zs.Parameters.VERSIONID)}withSnapshot(e){return new BlobClient(utils_common_setURLParameter(this.url,zs.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline)}withVersion(e){return new BlobClient(utils_common_setURLParameter(this.url,zs.Parameters.VERSIONID,e.length===0?undefined:e),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(e=0,t,r={}){r.conditions=r.conditions||{};r.conditions=r.conditions||{};ensureCpkIfSpecified(r.customerProvidedKey,this.isHttps);return Ud.withSpan("BlobClient-download",r,(async n=>{const s=utils_common_assertResponse(await this.blobContext.download({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onDownloadProgress:Ur?undefined:r.onProgress},range:e===0&&!t?undefined:rangeToString({offset:e,count:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions}));const o={...s,_response:s._response,objectReplicationDestinationPolicyId:s.objectReplicationPolicyId,objectReplicationSourceProperties:parseObjectReplicationRecord(s.objectReplicationRules)};if(!Ur){return o}if(r.maxRetryRequests===undefined||r.maxRetryRequests<0){r.maxRetryRequests=Hs}if(s.contentLength===undefined){throw new RangeError(`File download response doesn't contain valid content length header`)}if(!s.etag){throw new RangeError(`File download response doesn't contain valid etag header`)}return new BlobDownloadResponse(o,(async t=>{const n={leaseAccessConditions:r.conditions,modifiedAccessConditions:{ifMatch:r.conditions.ifMatch||s.etag,ifModifiedSince:r.conditions.ifModifiedSince,ifNoneMatch:r.conditions.ifNoneMatch,ifUnmodifiedSince:r.conditions.ifUnmodifiedSince,ifTags:r.conditions?.tagConditions},range:rangeToString({count:e+s.contentLength-t,offset:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey};return(await this.blobContext.download({abortSignal:r.abortSignal,...n})).readableStreamBody}),e,s.contentLength,{maxRetryRequests:r.maxRetryRequests,onProgress:r.onProgress})}))}async exists(e={}){return Ud.withSpan("BlobClient-exists",e,(async t=>{try{ensureCpkIfSpecified(e.customerProvidedKey,this.isHttps);await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:t.tracingOptions});return true}catch(e){if(e.statusCode===404){return false}else if(e.statusCode===409&&(e.details.errorCode===so||e.details.errorCode===oo)){return true}throw e}}))}async getProperties(e={}){e.conditions=e.conditions||{};ensureCpkIfSpecified(e.customerProvidedKey,this.isHttps);return Ud.withSpan("BlobClient-getProperties",e,(async t=>{const r=utils_common_assertResponse(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,objectReplicationDestinationPolicyId:r.objectReplicationPolicyId,objectReplicationSourceProperties:parseObjectReplicationRecord(r.objectReplicationRules)}}))}async delete(e={}){e.conditions=e.conditions||{};return Ud.withSpan("BlobClient-delete",e,(async t=>utils_common_assertResponse(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))))}async deleteIfExists(e={}){return Ud.withSpan("BlobClient-deleteIfExists",e,(async e=>{try{const t=utils_common_assertResponse(await this.delete(e));return{succeeded:true,...t,_response:t._response}}catch(e){if(e.details?.errorCode==="BlobNotFound"){return{succeeded:false,...e.response?.parsedHeaders,_response:e.response}}throw e}}))}async undelete(e={}){return Ud.withSpan("BlobClient-undelete",e,(async t=>utils_common_assertResponse(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}async setHTTPHeaders(e,t={}){t.conditions=t.conditions||{};ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);return Ud.withSpan("BlobClient-setHTTPHeaders",t,(async r=>utils_common_assertResponse(await this.blobContext.setHttpHeaders({abortSignal:t.abortSignal,blobHttpHeaders:e,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}))))}async setMetadata(e,t={}){t.conditions=t.conditions||{};ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);return Ud.withSpan("BlobClient-setMetadata",t,(async r=>utils_common_assertResponse(await this.blobContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions}))))}async setTags(e,t={}){return Ud.withSpan("BlobClient-setTags",t,(async r=>utils_common_assertResponse(await this.blobContext.setTags({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},blobModifiedAccessConditions:t.conditions,tracingOptions:r.tracingOptions,tags:toBlobTags(e)}))))}async getTags(e={}){return Ud.withSpan("BlobClient-getTags",e,(async t=>{const r=utils_common_assertResponse(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:t.tracingOptions}));const n={...r,_response:r._response,tags:toTags({blobTagSet:r.blobTagSet})||{}};return n}))}getBlobLeaseClient(e){return new BlobLeaseClient(this,e)}async createSnapshot(e={}){e.conditions=e.conditions||{};ensureCpkIfSpecified(e.customerProvidedKey,this.isHttps);return Ud.withSpan("BlobClient-createSnapshot",e,(async t=>utils_common_assertResponse(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:t.tracingOptions}))))}async beginCopyFromURL(e,t={}){const r={abortCopyFromURL:(...e)=>this.abortCopyFromURL(...e),getProperties:(...e)=>this.getProperties(...e),startCopyFromURL:(...e)=>this.startCopyFromURL(...e)};const n=new BlobBeginCopyFromUrlPoller({blobClient:r,copySource:e,intervalInMs:t.intervalInMs,onProgress:t.onProgress,resumeFrom:t.resumeFrom,startCopyFromURLOptions:t});await n.poll();return n}async abortCopyFromURL(e,t={}){return Ud.withSpan("BlobClient-abortCopyFromURL",t,(async r=>utils_common_assertResponse(await this.blobContext.abortCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,tracingOptions:r.tracingOptions}))))}async syncCopyFromURL(e,t={}){t.conditions=t.conditions||{};t.sourceConditions=t.sourceConditions||{};return Ud.withSpan("BlobClient-syncCopyFromURL",t,(async r=>utils_common_assertResponse(await this.blobContext.copyFromURL(e,{abortSignal:t.abortSignal,metadata:t.metadata,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:t.sourceContentMD5,copySourceAuthorization:utils_common_httpAuthorizationToString(t.sourceAuthorization),tier:toAccessTier(t.tier),blobTagsString:toBlobTagsString(t.tags),immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,encryptionScope:t.encryptionScope,copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions}))))}async setAccessTier(e,t={}){return Ud.withSpan("BlobClient-setAccessTier",t,(async r=>utils_common_assertResponse(await this.blobContext.setTier(toAccessTier(e),{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},rehydratePriority:t.rehydratePriority,tracingOptions:r.tracingOptions}))))}async downloadToBuffer(e,t,r,n={}){let s;let o=0;let i=0;let a=n;if(e instanceof Buffer){s=e;o=t||0;i=typeof r==="number"?r:0}else{o=typeof e==="number"?e:0;i=typeof t==="number"?t:0;a=r||{}}let c=a.blockSize??0;if(c<0){throw new RangeError("blockSize option must be >= 0")}if(c===0){c=Us}if(o<0){throw new RangeError("offset option must be >= 0")}if(i&&i<=0){throw new RangeError("count option must be greater than 0")}if(!a.conditions){a.conditions={}}return Ud.withSpan("BlobClient-downloadToBuffer",a,(async e=>{if(!i){const t=await this.getProperties({...a,tracingOptions:e.tracingOptions});i=t.contentLength-o;if(i<0){throw new RangeError(`offset ${o} shouldn't be larger than blob size ${t.contentLength}`)}}if(!s){try{s=Buffer.alloc(i)}catch(e){throw new Error(`Unable to allocate the buffer of size: ${i}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile".\t ${e.message}`)}}if(s.length<i){throw new RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${i}`)}let t=0;const r=new Batch(a.concurrency);for(let n=o;n<o+i;n=n+c){r.addOperation((async()=>{let r=o+i;if(n+c<r){r=n+c}const l=await this.download(n,r-n,{abortSignal:a.abortSignal,conditions:a.conditions,maxRetryRequests:a.maxRetryRequestsPerBlock,customerProvidedKey:a.customerProvidedKey,tracingOptions:e.tracingOptions});const u=l.readableStreamBody;await streamToBuffer(u,s,n-o,r-o);t+=r-n;if(a.onProgress){a.onProgress({loadedBytes:t})}}))}await r.do();return s}))}async downloadToFile(e,t=0,r,n={}){return Ud.withSpan("BlobClient-downloadToFile",n,(async s=>{const o=await this.download(t,r,{...n,tracingOptions:s.tracingOptions});if(o.readableStreamBody){await readStreamToLocalFile(o.readableStreamBody,e)}o.blobDownloadStream=undefined;return o}))}getBlobAndContainerNamesFromUrl(){let e;let t;try{const r=new URL(this.url);if(r.host.split(".")[1]==="blob"){const n=r.pathname.match("/([^/]*)(/(.*))?");e=n[1];t=n[3]}else if(utils_common_isIpEndpointStyle(r)){const n=r.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=n[2];t=n[4]}else{const n=r.pathname.match("/([^/]*)(/(.*))?");e=n[1];t=n[3]}e=decodeURIComponent(e);t=decodeURIComponent(t);t=t.replace(/\\/g,"/");if(!e){throw new Error("Provided containerName is invalid.")}return{blobName:t,containerName:e}}catch(e){throw new Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,t={}){return Ud.withSpan("BlobClient-startCopyFromURL",t,(async r=>{t.conditions=t.conditions||{};t.sourceConditions=t.sourceConditions||{};return utils_common_assertResponse(await this.blobContext.startCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions.ifMatch,sourceIfModifiedSince:t.sourceConditions.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions.ifUnmodifiedSince,sourceIfTags:t.sourceConditions.tagConditions},immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,rehydratePriority:t.rehydratePriority,tier:toAccessTier(t.tier),blobTagsString:toBlobTagsString(t.tags),sealBlob:t.sealBlob,tracingOptions:r.tracingOptions}))}))}generateSasUrl(e){return new Promise((t=>{if(!(this.credential instanceof StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}const r=generateBlobSASQueryParameters({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();t(utils_common_appendToURLQuery(this.url,r))}))}generateSasStringToSign(e){if(!(this.credential instanceof StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}return generateBlobSASQueryParametersInternal({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,t){return new Promise((r=>{const n=generateBlobSASQueryParameters({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).toString();r(utils_common_appendToURLQuery(this.url,n))}))}generateUserDelegationSasStringToSign(e,t){return generateBlobSASQueryParametersInternal({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return Ud.withSpan("BlobClient-deleteImmutabilityPolicy",e,(async e=>utils_common_assertResponse(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:e.tracingOptions}))))}async setImmutabilityPolicy(e,t={}){return Ud.withSpan("BlobClient-setImmutabilityPolicy",t,(async t=>utils_common_assertResponse(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:t.tracingOptions}))))}async setLegalHold(e,t={}){return Ud.withSpan("BlobClient-setLegalHold",t,(async t=>utils_common_assertResponse(await this.blobContext.setLegalHold(e,{tracingOptions:t.tracingOptions}))))}async getAccountInfo(e={}){return Ud.withSpan("BlobClient-getAccountInfo",e,(async t=>utils_common_assertResponse(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}}class AppendBlobClient extends BlobClient{appendBlobContext;constructor(e,t,r,n){let s;let o;n=n||{};if(isPipelineLike(t)){o=e;s=t}else if(Ur&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||isTokenCredential(t)){o=e;n=r;s=newPipeline(t,n)}else if(!t&&typeof t!=="string"){o=e;s=newPipeline(new AnonymousCredential,n)}else if(t&&typeof t==="string"&&r&&typeof r==="string"){const i=t;const a=r;const c=utils_common_extractConnectionStringParts(e);if(c.kind==="AccountConnString"){if(Ur){const e=new StorageSharedKeyCredential(c.accountName,c.accountKey);o=utils_common_appendToURLPath(utils_common_appendToURLPath(c.url,encodeURIComponent(i)),encodeURIComponent(a));if(!n.proxyOptions){n.proxyOptions=proxyPolicy_getDefaultProxySettings(c.proxyUri)}s=newPipeline(e,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(c.kind==="SASConnString"){o=utils_common_appendToURLPath(utils_common_appendToURLPath(c.url,encodeURIComponent(i)),encodeURIComponent(a))+"?"+c.accountSas;s=newPipeline(new AnonymousCredential,n)}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(o,s);this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new AppendBlobClient(utils_common_setURLParameter(this.url,zs.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline)}async create(e={}){e.conditions=e.conditions||{};ensureCpkIfSpecified(e.customerProvidedKey,this.isHttps);return Ud.withSpan("AppendBlobClient-create",e,(async t=>utils_common_assertResponse(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:toBlobTagsString(e.tags),tracingOptions:t.tracingOptions}))))}async createIfNotExists(e={}){const t={ifNoneMatch:Ys};return Ud.withSpan("AppendBlobClient-createIfNotExists",e,(async e=>{try{const r=utils_common_assertResponse(await this.create({...e,conditions:t}));return{succeeded:true,...r,_response:r._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists"){return{succeeded:false,...e.response?.parsedHeaders,_response:e.response}}throw e}}))}async seal(e={}){e.conditions=e.conditions||{};return Ud.withSpan("AppendBlobClient-seal",e,(async t=>utils_common_assertResponse(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))))}async appendBlock(e,t,r={}){r.conditions=r.conditions||{};ensureCpkIfSpecified(r.customerProvidedKey,this.isHttps);return Ud.withSpan("AppendBlobClient-appendBlock",r,(async n=>utils_common_assertResponse(await this.appendBlobContext.appendBlock(t,e,{abortSignal:r.abortSignal,appendPositionAccessConditions:r.conditions,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},transactionalContentMD5:r.transactionalContentMD5,transactionalContentCrc64:r.transactionalContentCrc64,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions}))))}async appendBlockFromURL(e,t,r,n={}){n.conditions=n.conditions||{};n.sourceConditions=n.sourceConditions||{};ensureCpkIfSpecified(n.customerProvidedKey,this.isHttps);return Ud.withSpan("AppendBlobClient-appendBlockFromURL",n,(async s=>utils_common_assertResponse(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:n.abortSignal,sourceRange:rangeToString({offset:t,count:r}),sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,leaseAccessConditions:n.conditions,appendPositionAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:n.sourceConditions?.ifMatch,sourceIfModifiedSince:n.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:n.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:n.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:utils_common_httpAuthorizationToString(n.sourceAuthorization),cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:s.tracingOptions}))))}}class BlockBlobClient extends BlobClient{_blobContext;blockBlobContext;constructor(e,t,r,n){let s;let o;n=n||{};if(isPipelineLike(t)){o=e;s=t}else if(Ur&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||isTokenCredential(t)){o=e;n=r;s=newPipeline(t,n)}else if(!t&&typeof t!=="string"){o=e;if(r&&typeof r!=="string"){n=r}s=newPipeline(new AnonymousCredential,n)}else if(t&&typeof t==="string"&&r&&typeof r==="string"){const i=t;const a=r;const c=utils_common_extractConnectionStringParts(e);if(c.kind==="AccountConnString"){if(Ur){const e=new StorageSharedKeyCredential(c.accountName,c.accountKey);o=utils_common_appendToURLPath(utils_common_appendToURLPath(c.url,encodeURIComponent(i)),encodeURIComponent(a));if(!n.proxyOptions){n.proxyOptions=proxyPolicy_getDefaultProxySettings(c.proxyUri)}s=newPipeline(e,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(c.kind==="SASConnString"){o=utils_common_appendToURLPath(utils_common_appendToURLPath(c.url,encodeURIComponent(i)),encodeURIComponent(a))+"?"+c.accountSas;s=newPipeline(new AnonymousCredential,n)}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(o,s);this.blockBlobContext=this.storageClientContext.blockBlob;this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new BlockBlobClient(utils_common_setURLParameter(this.url,zs.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline)}async query(e,t={}){ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);if(!Ur){throw new Error("This operation currently is only supported in Node.js.")}return Ud.withSpan("BlockBlobClient-query",t,(async r=>{const n=utils_common_assertResponse(await this._blobContext.query({abortSignal:t.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:toQuerySerialization(t.inputTextConfiguration),outputSerialization:toQuerySerialization(t.outputTextConfiguration)},leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,tracingOptions:r.tracingOptions}));return new BlobQueryResponse(n,{abortSignal:t.abortSignal,onProgress:t.onProgress,onError:t.onError})}))}async upload(e,t,r={}){r.conditions=r.conditions||{};ensureCpkIfSpecified(r.customerProvidedKey,this.isHttps);return Ud.withSpan("BlockBlobClient-upload",r,(async n=>utils_common_assertResponse(await this.blockBlobContext.upload(t,e,{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:toAccessTier(r.tier),blobTagsString:toBlobTagsString(r.tags),tracingOptions:n.tracingOptions}))))}async syncUploadFromURL(e,t={}){t.conditions=t.conditions||{};ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);return Ud.withSpan("BlockBlobClient-syncUploadFromURL",t,(async r=>utils_common_assertResponse(await this.blockBlobContext.putBlobFromUrl(0,e,{...t,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince,sourceIfTags:t.sourceConditions?.tagConditions},cpkInfo:t.customerProvidedKey,copySourceAuthorization:utils_common_httpAuthorizationToString(t.sourceAuthorization),tier:toAccessTier(t.tier),blobTagsString:toBlobTagsString(t.tags),copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions}))))}async stageBlock(e,t,r,n={}){ensureCpkIfSpecified(n.customerProvidedKey,this.isHttps);return Ud.withSpan("BlockBlobClient-stageBlock",n,(async s=>utils_common_assertResponse(await this.blockBlobContext.stageBlock(e,r,t,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:s.tracingOptions}))))}async stageBlockFromURL(e,t,r=0,n,s={}){ensureCpkIfSpecified(s.customerProvidedKey,this.isHttps);return Ud.withSpan("BlockBlobClient-stageBlockFromURL",s,(async o=>utils_common_assertResponse(await this.blockBlobContext.stageBlockFromURL(e,0,t,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,sourceRange:r===0&&!n?undefined:rangeToString({offset:r,count:n}),cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:utils_common_httpAuthorizationToString(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:o.tracingOptions}))))}async commitBlockList(e,t={}){t.conditions=t.conditions||{};ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);return Ud.withSpan("BlockBlobClient-commitBlockList",t,(async r=>utils_common_assertResponse(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:toAccessTier(t.tier),blobTagsString:toBlobTagsString(t.tags),tracingOptions:r.tracingOptions}))))}async getBlockList(e,t={}){return Ud.withSpan("BlockBlobClient-getBlockList",t,(async r=>{const n=utils_common_assertResponse(await this.blockBlobContext.getBlockList(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));if(!n.committedBlocks){n.committedBlocks=[]}if(!n.uncommittedBlocks){n.uncommittedBlocks=[]}return n}))}async uploadData(e,t={}){return Ud.withSpan("BlockBlobClient-uploadData",t,(async t=>{if(Ur){let r;if(e instanceof Buffer){r=e}else if(e instanceof ArrayBuffer){r=Buffer.from(e)}else{e=e;r=Buffer.from(e.buffer,e.byteOffset,e.byteLength)}return this.uploadSeekableInternal(((e,t)=>r.slice(e,e+t)),r.byteLength,t)}else{const r=new Blob([e]);return this.uploadSeekableInternal(((e,t)=>r.slice(e,e+t)),r.size,t)}}))}async uploadBrowserData(e,t={}){return Ud.withSpan("BlockBlobClient-uploadBrowserData",t,(async t=>{const r=new Blob([e]);return this.uploadSeekableInternal(((e,t)=>r.slice(e,e+t)),r.size,t)}))}async uploadSeekableInternal(e,t,r={}){let n=r.blockSize??0;if(n<0||n>Ms){throw new RangeError(`blockSize option must be >= 0 and <= ${Ms}`)}const s=r.maxSingleShotSize??Ls;if(s<0||s>Ls){throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${Ls}`)}if(n===0){if(t>Ms*Os){throw new RangeError(`${t} is too larger to upload to a block blob.`)}if(t>s){n=Math.ceil(t/Os);if(n<Us){n=Us}}}if(!r.blobHTTPHeaders){r.blobHTTPHeaders={}}if(!r.conditions){r.conditions={}}return Ud.withSpan("BlockBlobClient-uploadSeekableInternal",r,(async o=>{if(t<=s){return utils_common_assertResponse(await this.upload(e(0,t),t,o))}const i=Math.floor((t-1)/n)+1;if(i>Os){throw new RangeError(`The buffer's size is too big or the BlockSize is too small;`+`the number of blocks must be <= ${Os}`)}const a=[];const c=esm_randomUUID();let l=0;const u=new Batch(r.concurrency);for(let s=0;s<i;s++){u.addOperation((async()=>{const u=utils_common_generateBlockID(c,s);const A=n*s;const d=s===i-1?t:A+n;const p=d-A;a.push(u);await this.stageBlock(u,e(A,p),p,{abortSignal:r.abortSignal,conditions:r.conditions,encryptionScope:r.encryptionScope,tracingOptions:o.tracingOptions});l+=p;if(r.onProgress){r.onProgress({loadedBytes:l})}}))}await u.do();return this.commitBlockList(a,o)}))}async uploadFile(e,t={}){return Ud.withSpan("BlockBlobClient-uploadFile",t,(async r=>{const n=(await op(e)).size;return this.uploadSeekableInternal(((t,r)=>()=>ip(e,{autoClose:true,end:r?t+r-1:Infinity,start:t})),n,{...t,tracingOptions:r.tracingOptions})}))}async uploadStream(e,t=Fs,r=5,n={}){if(!n.blobHTTPHeaders){n.blobHTTPHeaders={}}if(!n.conditions){n.conditions={}}return Ud.withSpan("BlockBlobClient-uploadStream",n,(async s=>{let o=0;const i=esm_randomUUID();let a=0;const c=[];const l=new BufferScheduler(e,t,r,(async(e,t)=>{const r=utils_common_generateBlockID(i,o);c.push(r);o++;await this.stageBlock(r,e,t,{customerProvidedKey:n.customerProvidedKey,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:s.tracingOptions});a+=t;if(n.onProgress){n.onProgress({loadedBytes:a})}}),Math.ceil(r/4*3));await l.do();return utils_common_assertResponse(await this.commitBlockList(c,{...n,tracingOptions:s.tracingOptions}))}))}}class PageBlobClient extends BlobClient{pageBlobContext;constructor(e,t,r,n){let s;let o;n=n||{};if(isPipelineLike(t)){o=e;s=t}else if(Ur&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||isTokenCredential(t)){o=e;n=r;s=newPipeline(t,n)}else if(!t&&typeof t!=="string"){o=e;s=newPipeline(new AnonymousCredential,n)}else if(t&&typeof t==="string"&&r&&typeof r==="string"){const i=t;const a=r;const c=utils_common_extractConnectionStringParts(e);if(c.kind==="AccountConnString"){if(Ur){const e=new StorageSharedKeyCredential(c.accountName,c.accountKey);o=utils_common_appendToURLPath(utils_common_appendToURLPath(c.url,encodeURIComponent(i)),encodeURIComponent(a));if(!n.proxyOptions){n.proxyOptions=proxyPolicy_getDefaultProxySettings(c.proxyUri)}s=newPipeline(e,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(c.kind==="SASConnString"){o=utils_common_appendToURLPath(utils_common_appendToURLPath(c.url,encodeURIComponent(i)),encodeURIComponent(a))+"?"+c.accountSas;s=newPipeline(new AnonymousCredential,n)}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(o,s);this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new PageBlobClient(utils_common_setURLParameter(this.url,zs.Parameters.SNAPSHOT,e.length===0?undefined:e),this.pipeline)}async create(e,t={}){t.conditions=t.conditions||{};ensureCpkIfSpecified(t.customerProvidedKey,this.isHttps);return Ud.withSpan("PageBlobClient-create",t,(async r=>utils_common_assertResponse(await this.pageBlobContext.create(0,e,{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,blobSequenceNumber:t.blobSequenceNumber,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:toAccessTier(t.tier),blobTagsString:toBlobTagsString(t.tags),tracingOptions:r.tracingOptions}))))}async createIfNotExists(e,t={}){return Ud.withSpan("PageBlobClient-createIfNotExists",t,(async r=>{try{const n={ifNoneMatch:Ys};const s=utils_common_assertResponse(await this.create(e,{...t,conditions:n,tracingOptions:r.tracingOptions}));return{succeeded:true,...s,_response:s._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists"){return{succeeded:false,...e.response?.parsedHeaders,_response:e.response}}throw e}}))}async uploadPages(e,t,r,n={}){n.conditions=n.conditions||{};ensureCpkIfSpecified(n.customerProvidedKey,this.isHttps);return Ud.withSpan("PageBlobClient-uploadPages",n,(async s=>utils_common_assertResponse(await this.pageBlobContext.uploadPages(r,e,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},range:rangeToString({offset:t,count:r}),sequenceNumberAccessConditions:n.conditions,transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:s.tracingOptions}))))}async uploadPagesFromURL(e,t,r,n,s={}){s.conditions=s.conditions||{};s.sourceConditions=s.sourceConditions||{};ensureCpkIfSpecified(s.customerProvidedKey,this.isHttps);return Ud.withSpan("PageBlobClient-uploadPagesFromURL",s,(async o=>utils_common_assertResponse(await this.pageBlobContext.uploadPagesFromURL(e,rangeToString({offset:t,count:n}),0,rangeToString({offset:r,count:n}),{abortSignal:s.abortSignal,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,leaseAccessConditions:s.conditions,sequenceNumberAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:s.sourceConditions?.ifMatch,sourceIfModifiedSince:s.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:s.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:s.sourceConditions?.ifUnmodifiedSince},cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:utils_common_httpAuthorizationToString(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:o.tracingOptions}))))}async clearPages(e=0,t,r={}){r.conditions=r.conditions||{};return Ud.withSpan("PageBlobClient-clearPages",r,(async n=>utils_common_assertResponse(await this.pageBlobContext.clearPages(0,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:rangeToString({offset:e,count:t}),sequenceNumberAccessConditions:r.conditions,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions}))))}async getPageRanges(e=0,t,r={}){r.conditions=r.conditions||{};return Ud.withSpan("PageBlobClient-getPageRanges",r,(async n=>{const s=utils_common_assertResponse(await this.pageBlobContext.getPageRanges({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:rangeToString({offset:e,count:t}),tracingOptions:n.tracingOptions}));return rangeResponseFromModel(s)}))}async listPageRangesSegment(e=0,t,r,n={}){return Ud.withSpan("PageBlobClient-getPageRangesSegment",n,(async s=>utils_common_assertResponse(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:rangeToString({offset:e,count:t}),marker:r,maxPageSize:n.maxPageSize,tracingOptions:s.tracingOptions}))))}async*listPageRangeItemSegments(e=0,t,r,n={}){let s;if(!!r||r===undefined){do{s=await this.listPageRangesSegment(e,t,r,n);r=s.continuationToken;yield await s}while(r)}}async*listPageRangeItems(e=0,t,r={}){let n;for await(const s of this.listPageRangeItemSegments(e,t,n,r)){yield*ExtractPageRangeInfoItems(s)}}listPageRanges(e=0,t,r={}){r.conditions=r.conditions||{};const n=this.listPageRangeItems(e,t,r);return{next(){return n.next()},[Symbol.asyncIterator](){return this},byPage:(n={})=>this.listPageRangeItemSegments(e,t,n.continuationToken,{maxPageSize:n.maxPageSize,...r})}}async getPageRangesDiff(e,t,r,n={}){n.conditions=n.conditions||{};return Ud.withSpan("PageBlobClient-getPageRangesDiff",n,(async s=>{const o=utils_common_assertResponse(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevsnapshot:r,range:rangeToString({offset:e,count:t}),tracingOptions:s.tracingOptions}));return rangeResponseFromModel(o)}))}async listPageRangesDiffSegment(e,t,r,n,s={}){return Ud.withSpan("PageBlobClient-getPageRangesDiffSegment",s,(async o=>utils_common_assertResponse(await this.pageBlobContext.getPageRangesDiff({abortSignal:s?.abortSignal,leaseAccessConditions:s?.conditions,modifiedAccessConditions:{...s?.conditions,ifTags:s?.conditions?.tagConditions},prevsnapshot:r,range:rangeToString({offset:e,count:t}),marker:n,maxPageSize:s?.maxPageSize,tracingOptions:o.tracingOptions}))))}async*listPageRangeDiffItemSegments(e,t,r,n,s){let o;if(!!n||n===undefined){do{o=await this.listPageRangesDiffSegment(e,t,r,n,s);n=o.continuationToken;yield await o}while(n)}}async*listPageRangeDiffItems(e,t,r,n){let s;for await(const o of this.listPageRangeDiffItemSegments(e,t,r,s,n)){yield*ExtractPageRangeInfoItems(o)}}listPageRangesDiff(e,t,r,n={}){n.conditions=n.conditions||{};const s=this.listPageRangeDiffItems(e,t,r,{...n});return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listPageRangeDiffItemSegments(e,t,r,s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async getPageRangesDiffForManagedDisks(e,t,r,n={}){n.conditions=n.conditions||{};return Ud.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",n,(async s=>{const o=utils_common_assertResponse(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevSnapshotUrl:r,range:rangeToString({offset:e,count:t}),tracingOptions:s.tracingOptions}));return rangeResponseFromModel(o)}))}async resize(e,t={}){t.conditions=t.conditions||{};return Ud.withSpan("PageBlobClient-resize",t,(async r=>utils_common_assertResponse(await this.pageBlobContext.resize(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions}))))}async updateSequenceNumber(e,t,r={}){r.conditions=r.conditions||{};return Ud.withSpan("PageBlobClient-updateSequenceNumber",r,(async n=>utils_common_assertResponse(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:r.abortSignal,blobSequenceNumber:t,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}))))}async startCopyIncremental(e,t={}){return Ud.withSpan("PageBlobClient-startCopyIncremental",t,(async r=>utils_common_assertResponse(await this.pageBlobContext.copyIncremental(e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}))))}}async function getBodyAsText(e){let t=Buffer.alloc(Ks);const r=await streamToBuffer2(e.readableStreamBody,t);t=t.slice(0,r);return t.toString()}function utf8ByteLength(e){return Buffer.byteLength(e)}const ap=": ";const lp=" ";const up=-1;class BatchResponseParser{batchResponse;responseBatchBoundary;perResponsePrefix;batchResponseEnding;subRequests;constructor(e,t){if(!e||!e.contentType){throw new RangeError("batchResponse is malformed or doesn't contain valid content-type.")}if(!t||t.size===0){throw new RangeError("Invalid state: subRequests is not provided or size is 0.")}this.batchResponse=e;this.subRequests=t;this.responseBatchBoundary=this.batchResponse.contentType.split("=")[1];this.perResponsePrefix=`--${this.responseBatchBoundary}${Xs}`;this.batchResponseEnding=`--${this.responseBatchBoundary}--`}async parseBatchResponse(){if(this.batchResponse._response.status!==Vs.HTTP_ACCEPTED){throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`)}const e=await getBodyAsText(this.batchResponse);const t=e.split(this.batchResponseEnding)[0].split(this.perResponsePrefix).slice(1);const r=t.length;if(r!==this.subRequests.size&&r!==1){throw new Error("Invalid state: sub responses' count is not equal to sub requests' count.")}const n=new Array(r);let s=0;let o=0;for(let e=0;e<r;e++){const r=t[e];const i={};i.headers=toHttpHeadersLike(esm_httpHeaders_createHttpHeaders());const a=r.split(`${Xs}`);let c=false;let l=false;let u=false;let A=up;for(const e of a){if(!c){if(e.startsWith($s.CONTENT_ID)){A=parseInt(e.split(ap)[1])}if(e.startsWith(Zs)){c=true;const t=e.split(lp);i.status=parseInt(t[1]);i.statusMessage=t.slice(2).join(lp)}continue}if(e.trim()===""){if(!l){l=true}continue}if(!l){if(e.indexOf(ap)===-1){throw new Error(`Invalid state: find non-empty line '${e}' without HTTP header delimiter '${ap}'.`)}const t=e.split(ap);i.headers.set(t[0],t[1]);if(t[0]===$s.X_MS_ERROR_CODE){i.errorCode=t[1];u=true}}else{if(!i.bodyAsText){i.bodyAsText=""}i.bodyAsText+=e}}if(A!==up&&Number.isInteger(A)&&A>=0&&A<this.subRequests.size&&n[A]===undefined){i._request=this.subRequests.get(A);n[A]=i}else{ls.error(`subResponses[${e}] is dropped as the Content-ID is not found or invalid, Content-ID: ${A}`)}if(u){o++}else{s++}}return{subResponses:n,subResponsesSucceededCount:s,subResponsesFailedCount:o}}}var Ap;(function(e){e[e["LOCKED"]=0]="LOCKED";e[e["UNLOCKED"]=1]="UNLOCKED"})(Ap||(Ap={}));class Mutex{static async lock(e){return new Promise((t=>{if(this.keys[e]===undefined||this.keys[e]===Ap.UNLOCKED){this.keys[e]=Ap.LOCKED;t()}else{this.onUnlockEvent(e,(()=>{this.keys[e]=Ap.LOCKED;t()}))}}))}static async unlock(e){return new Promise((t=>{if(this.keys[e]===Ap.LOCKED){this.emitUnlockEvent(e)}delete this.keys[e];t()}))}static keys={};static listeners={};static onUnlockEvent(e,t){if(this.listeners[e]===undefined){this.listeners[e]=[t]}else{this.listeners[e].push(t)}}static emitUnlockEvent(e){if(this.listeners[e]!==undefined&&this.listeners[e].length>0){const t=this.listeners[e].shift();setImmediate((()=>{t.call(this)}))}}}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(e,t){await Mutex.lock(this.batch);try{this.batchRequest.preAddSubRequest(e);await t();this.batchRequest.postAddSubRequest(e)}finally{await Mutex.unlock(this.batch)}}setBatchType(e){if(!this.batchType){this.batchType=e}if(this.batchType!==e){throw new RangeError(`BlobBatch only supports one operation type per batch and it already is being used for ${this.batchType} operations.`)}}async deleteBlob(e,t,r){let n;let s;if(typeof e==="string"&&(Ur&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||isTokenCredential(t))){n=e;s=t}else if(e instanceof BlobClient){n=e.url;s=e.credential;r=t}else{throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.")}if(!r){r={}}return Ud.withSpan("BatchDeleteRequest-addSubRequest",r,(async e=>{this.setBatchType("delete");await this.addSubRequestInternal({url:n,credential:s},(async()=>{await new BlobClient(n,this.batchRequest.createPipeline(s)).delete(e)}))}))}async setBlobAccessTier(e,t,r,n){let s;let o;let i;if(typeof e==="string"&&(Ur&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||isTokenCredential(t))){s=e;o=t;i=r}else if(e instanceof BlobClient){s=e.url;o=e.credential;i=t;n=r}else{throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.")}if(!n){n={}}return Ud.withSpan("BatchSetTierRequest-addSubRequest",n,(async e=>{this.setBatchType("setAccessTier");await this.addSubRequestInternal({url:s,credential:o},(async()=>{await new BlobClient(s,this.batchRequest.createPipeline(o)).setAccessTier(i,e)}))}))}}class InnerBatchRequest{operationCount;body;subRequests;boundary;subRequestPrefix;multipartContentType;batchRequestEnding;constructor(){this.operationCount=0;this.body="";const e=esm_randomUUID();this.boundary=`batch_${e}`;this.subRequestPrefix=`--${this.boundary}${Xs}${$s.CONTENT_TYPE}: application/http${Xs}${$s.CONTENT_TRANSFER_ENCODING}: binary`;this.multipartContentType=`multipart/mixed; boundary=${this.boundary}`;this.batchRequestEnding=`--${this.boundary}--`;this.subRequests=new Map}createPipeline(e){const t=esm_pipeline_createEmptyPipeline();t.addPolicy(serializationPolicy({stringifyXML:stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}}),{phase:"Serialize"});t.addPolicy(batchHeaderFilterPolicy());t.addPolicy(batchRequestAssemblePolicy(this),{afterPhase:"Sign"});if(isTokenCredential(e)){t.addPolicy(bearerTokenAuthenticationPolicy({credential:e,scopes:qs,challengeCallbacks:{authorizeRequestOnChallenge:authorizeRequestOnTenantChallenge}}),{phase:"Sign"})}else if(e instanceof StorageSharedKeyCredential){t.addPolicy(storageSharedKeyCredentialPolicy({accountName:e.accountName,accountKey:e.accountKey}),{phase:"Sign"})}const r=new Pipeline([]);r._credential=e;r._corePipeline=t;return r}appendSubRequestToBody(e){this.body+=[this.subRequestPrefix,`${$s.CONTENT_ID}: ${this.operationCount}`,"",`${e.method.toString()} ${utils_common_getURLPathAndQuery(e.url)} ${Zs}${Xs}`].join(Xs);for(const[t,r]of e.headers){this.body+=`${t}: ${r}${Xs}`}this.body+=Xs}preAddSubRequest(e){if(this.operationCount>=js){throw new RangeError(`Cannot exceed ${js} sub requests in a single batch`)}const t=utils_common_getURLPath(e.url);if(!t||t===""){throw new RangeError(`Invalid url for sub request: '${e.url}'`)}}postAddSubRequest(e){this.subRequests.set(this.operationCount,e);this.operationCount++}getHttpRequestBody(){return`${this.body}${this.batchRequestEnding}${Xs}`}getMultipartContentType(){return this.multipartContentType}getSubRequests(){return this.subRequests}}function batchRequestAssemblePolicy(e){return{name:"batchRequestAssemblePolicy",async sendRequest(t){e.appendSubRequestToBody(t);return{request:t,status:200,headers:esm_httpHeaders_createHttpHeaders()}}}}function batchHeaderFilterPolicy(){return{name:"batchHeaderFilterPolicy",async sendRequest(e,t){let r="";for(const[t]of e.headers){if(utils_common_iEqual(t,$s.X_MS_VERSION)){r=t}}if(r!==""){e.headers.delete(r)}return t(e)}}}class BlobBatchClient{serviceOrContainerContext;constructor(e,t,r){let n;if(isPipelineLike(t)){n=t}else if(!t){n=newPipeline(new AnonymousCredential,r)}else{n=newPipeline(t,r)}const s=new StorageContextClient(e,getCoreClientOptions(n));const o=utils_common_getURLPath(e);if(o&&o!=="/"){this.serviceOrContainerContext=s.container}else{this.serviceOrContainerContext=s.service}}createBatch(){return new BlobBatch}async deleteBlobs(e,t,r){const n=new BlobBatch;for(const s of e){if(typeof s==="string"){await n.deleteBlob(s,t,r)}else{await n.deleteBlob(s,t)}}return this.submitBatch(n)}async setBlobsAccessTier(e,t,r,n){const s=new BlobBatch;for(const o of e){if(typeof o==="string"){await s.setBlobAccessTier(o,t,r,n)}else{await s.setBlobAccessTier(o,t,r)}}return this.submitBatch(s)}async submitBatch(e,t={}){if(!e||e.getSubRequests().size===0){throw new RangeError("Batch request should contain one or more sub requests.")}return Ud.withSpan("BlobBatchClient-submitBatch",t,(async t=>{const r=e.getHttpRequestBody();const n=utils_common_assertResponse(await this.serviceOrContainerContext.submitBatch(utf8ByteLength(r),e.getMultiPartContentType(),r,{...t}));const s=new BatchResponseParser(n,e.getSubRequests());const o=await s.parseBatchResponse();const i={_response:n._response,contentType:n.contentType,errorCode:n.errorCode,requestId:n.requestId,clientRequestId:n.clientRequestId,version:n.version,subResponses:o.subResponses,subResponsesSucceededCount:o.subResponsesSucceededCount,subResponsesFailedCount:o.subResponsesFailedCount};return i}))}}class ContainerClient extends StorageClient_StorageClient{containerContext;_containerName;get containerName(){return this._containerName}constructor(e,t,r){let n;let s;r=r||{};if(isPipelineLike(t)){s=e;n=t}else if(Ur&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||isTokenCredential(t)){s=e;n=newPipeline(t,r)}else if(!t&&typeof t!=="string"){s=e;n=newPipeline(new AnonymousCredential,r)}else if(t&&typeof t==="string"){const o=t;const i=utils_common_extractConnectionStringParts(e);if(i.kind==="AccountConnString"){if(Ur){const e=new StorageSharedKeyCredential(i.accountName,i.accountKey);s=utils_common_appendToURLPath(i.url,encodeURIComponent(o));if(!r.proxyOptions){r.proxyOptions=proxyPolicy_getDefaultProxySettings(i.proxyUri)}n=newPipeline(e,r)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(i.kind==="SASConnString"){s=utils_common_appendToURLPath(i.url,encodeURIComponent(o))+"?"+i.accountSas;n=newPipeline(new AnonymousCredential,r)}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(s,n);this._containerName=this.getContainerNameFromUrl();this.containerContext=this.storageClientContext.container}async create(e={}){return Ud.withSpan("ContainerClient-create",e,(async e=>utils_common_assertResponse(await this.containerContext.create(e))))}async createIfNotExists(e={}){return Ud.withSpan("ContainerClient-createIfNotExists",e,(async e=>{try{const t=await this.create(e);return{succeeded:true,...t,_response:t._response}}catch(e){if(e.details?.errorCode==="ContainerAlreadyExists"){return{succeeded:false,...e.response?.parsedHeaders,_response:e.response}}else{throw e}}}))}async exists(e={}){return Ud.withSpan("ContainerClient-exists",e,(async t=>{try{await this.getProperties({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions});return true}catch(e){if(e.statusCode===404){return false}throw e}}))}getBlobClient(e){return new BlobClient(utils_common_appendToURLPath(this.url,utils_common_EscapePath(e)),this.pipeline)}getAppendBlobClient(e){return new AppendBlobClient(utils_common_appendToURLPath(this.url,utils_common_EscapePath(e)),this.pipeline)}getBlockBlobClient(e){return new BlockBlobClient(utils_common_appendToURLPath(this.url,utils_common_EscapePath(e)),this.pipeline)}getPageBlobClient(e){return new PageBlobClient(utils_common_appendToURLPath(this.url,utils_common_EscapePath(e)),this.pipeline)}async getProperties(e={}){if(!e.conditions){e.conditions={}}return Ud.withSpan("ContainerClient-getProperties",e,(async t=>utils_common_assertResponse(await this.containerContext.getProperties({abortSignal:e.abortSignal,...e.conditions,tracingOptions:t.tracingOptions}))))}async delete(e={}){if(!e.conditions){e.conditions={}}return Ud.withSpan("ContainerClient-delete",e,(async t=>utils_common_assertResponse(await this.containerContext.delete({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:e.conditions,tracingOptions:t.tracingOptions}))))}async deleteIfExists(e={}){return Ud.withSpan("ContainerClient-deleteIfExists",e,(async e=>{try{const t=await this.delete(e);return{succeeded:true,...t,_response:t._response}}catch(e){if(e.details?.errorCode==="ContainerNotFound"){return{succeeded:false,...e.response?.parsedHeaders,_response:e.response}}throw e}}))}async setMetadata(e,t={}){if(!t.conditions){t.conditions={}}if(t.conditions.ifUnmodifiedSince){throw new RangeError("the IfUnmodifiedSince must have their default values because they are ignored by the blob service")}return Ud.withSpan("ContainerClient-setMetadata",t,(async r=>utils_common_assertResponse(await this.containerContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:t.conditions,tracingOptions:r.tracingOptions}))))}async getAccessPolicy(e={}){if(!e.conditions){e.conditions={}}return Ud.withSpan("ContainerClient-getAccessPolicy",e,(async t=>{const r=utils_common_assertResponse(await this.containerContext.getAccessPolicy({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,tracingOptions:t.tracingOptions}));const n={_response:r._response,blobPublicAccess:r.blobPublicAccess,date:r.date,etag:r.etag,errorCode:r.errorCode,lastModified:r.lastModified,requestId:r.requestId,clientRequestId:r.clientRequestId,signedIdentifiers:[],version:r.version};for(const e of r){let t=undefined;if(e.accessPolicy){t={permissions:e.accessPolicy.permissions};if(e.accessPolicy.expiresOn){t.expiresOn=new Date(e.accessPolicy.expiresOn)}if(e.accessPolicy.startsOn){t.startsOn=new Date(e.accessPolicy.startsOn)}}n.signedIdentifiers.push({accessPolicy:t,id:e.id})}return n}))}async setAccessPolicy(e,t,r={}){r.conditions=r.conditions||{};return Ud.withSpan("ContainerClient-setAccessPolicy",r,(async n=>{const s=[];for(const e of t||[]){s.push({accessPolicy:{expiresOn:e.accessPolicy.expiresOn?utils_common_truncatedISO8061Date(e.accessPolicy.expiresOn):"",permissions:e.accessPolicy.permissions,startsOn:e.accessPolicy.startsOn?utils_common_truncatedISO8061Date(e.accessPolicy.startsOn):""},id:e.id})}return utils_common_assertResponse(await this.containerContext.setAccessPolicy({abortSignal:r.abortSignal,access:e,containerAcl:s,leaseAccessConditions:r.conditions,modifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions}))}))}getBlobLeaseClient(e){return new BlobLeaseClient(this,e)}async uploadBlockBlob(e,t,r,n={}){return Ud.withSpan("ContainerClient-uploadBlockBlob",n,(async n=>{const s=this.getBlockBlobClient(e);const o=await s.upload(t,r,n);return{blockBlobClient:s,response:o}}))}async deleteBlob(e,t={}){return Ud.withSpan("ContainerClient-deleteBlob",t,(async r=>{let n=this.getBlobClient(e);if(t.versionId){n=n.withVersion(t.versionId)}return n.delete(r)}))}async listBlobFlatSegment(e,t={}){return Ud.withSpan("ContainerClient-listBlobFlatSegment",t,(async r=>{const n=utils_common_assertResponse(await this.containerContext.listBlobFlatSegment({marker:e,...t,tracingOptions:r.tracingOptions}));const s={...n,_response:{...n._response,parsedBody:ConvertInternalResponseOfListBlobFlat(n._response.parsedBody)},segment:{...n.segment,blobItems:n.segment.blobItems.map((e=>{const t={...e,name:BlobNameToString(e.name),tags:toTags(e.blobTags),objectReplicationSourceProperties:parseObjectReplicationRecord(e.objectReplicationMetadata)};return t}))}};return s}))}async listBlobHierarchySegment(e,t,r={}){return Ud.withSpan("ContainerClient-listBlobHierarchySegment",r,(async n=>{const s=utils_common_assertResponse(await this.containerContext.listBlobHierarchySegment(e,{marker:t,...r,tracingOptions:n.tracingOptions}));const o={...s,_response:{...s._response,parsedBody:ConvertInternalResponseOfListBlobHierarchy(s._response.parsedBody)},segment:{...s.segment,blobItems:s.segment.blobItems.map((e=>{const t={...e,name:BlobNameToString(e.name),tags:toTags(e.blobTags),objectReplicationSourceProperties:parseObjectReplicationRecord(e.objectReplicationMetadata)};return t})),blobPrefixes:s.segment.blobPrefixes?.map((e=>{const t={...e,name:BlobNameToString(e.name)};return t}))}};return o}))}async*listSegments(e,t={}){let r;if(!!e||e===undefined){do{r=await this.listBlobFlatSegment(e,t);e=r.continuationToken;yield await r}while(e)}}async*listItems(e={}){let t;for await(const r of this.listSegments(t,e)){yield*r.segment.blobItems}}listBlobsFlat(e={}){const t=[];if(e.includeCopy){t.push("copy")}if(e.includeDeleted){t.push("deleted")}if(e.includeMetadata){t.push("metadata")}if(e.includeSnapshots){t.push("snapshots")}if(e.includeVersions){t.push("versions")}if(e.includeUncommitedBlobs){t.push("uncommittedblobs")}if(e.includeTags){t.push("tags")}if(e.includeDeletedWithVersions){t.push("deletedwithversions")}if(e.includeImmutabilityPolicy){t.push("immutabilitypolicy")}if(e.includeLegalHold){t.push("legalhold")}if(e.prefix===""){e.prefix=undefined}const r={...e,...t.length>0?{include:t}:{}};const n=this.listItems(r);return{next(){return n.next()},[Symbol.asyncIterator](){return this},byPage:(e={})=>this.listSegments(e.continuationToken,{maxPageSize:e.maxPageSize,...r})}}async*listHierarchySegments(e,t,r={}){let n;if(!!t||t===undefined){do{n=await this.listBlobHierarchySegment(e,t,r);t=n.continuationToken;yield await n}while(t)}}async*listItemsByHierarchy(e,t={}){let r;for await(const n of this.listHierarchySegments(e,r,t)){const e=n.segment;if(e.blobPrefixes){for(const t of e.blobPrefixes){yield{kind:"prefix",...t}}}for(const t of e.blobItems){yield{kind:"blob",...t}}}}listBlobsByHierarchy(e,t={}){if(e===""){throw new RangeError("delimiter should contain one or more characters")}const r=[];if(t.includeCopy){r.push("copy")}if(t.includeDeleted){r.push("deleted")}if(t.includeMetadata){r.push("metadata")}if(t.includeSnapshots){r.push("snapshots")}if(t.includeVersions){r.push("versions")}if(t.includeUncommitedBlobs){r.push("uncommittedblobs")}if(t.includeTags){r.push("tags")}if(t.includeDeletedWithVersions){r.push("deletedwithversions")}if(t.includeImmutabilityPolicy){r.push("immutabilitypolicy")}if(t.includeLegalHold){r.push("legalhold")}if(t.prefix===""){t.prefix=undefined}const n={...t,...r.length>0?{include:r}:{}};const s=this.listItemsByHierarchy(e,n);return{async next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(t={})=>this.listHierarchySegments(e,t.continuationToken,{maxPageSize:t.maxPageSize,...n})}}async findBlobsByTagsSegment(e,t,r={}){return Ud.withSpan("ContainerClient-findBlobsByTagsSegment",r,(async n=>{const s=utils_common_assertResponse(await this.containerContext.filterBlobs({abortSignal:r.abortSignal,where:e,marker:t,maxPageSize:r.maxPageSize,tracingOptions:n.tracingOptions}));const o={...s,_response:s._response,blobs:s.blobs.map((e=>{let t="";if(e.tags?.blobTagSet.length===1){t=e.tags.blobTagSet[0].value}return{...e,tags:toTags(e.tags),tagValue:t}}))};return o}))}async*findBlobsByTagsSegments(e,t,r={}){let n;if(!!t||t===undefined){do{n=await this.findBlobsByTagsSegment(e,t,r);n.blobs=n.blobs||[];t=n.continuationToken;yield n}while(t)}}async*findBlobsByTagsItems(e,t={}){let r;for await(const n of this.findBlobsByTagsSegments(e,r,t)){yield*n.blobs}}findBlobsByTags(e,t={}){const r={...t};const n=this.findBlobsByTagsItems(e,r);return{next(){return n.next()},[Symbol.asyncIterator](){return this},byPage:(t={})=>this.findBlobsByTagsSegments(e,t.continuationToken,{maxPageSize:t.maxPageSize,...r})}}async getAccountInfo(e={}){return Ud.withSpan("ContainerClient-getAccountInfo",e,(async t=>utils_common_assertResponse(await this.containerContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}getContainerNameFromUrl(){let e;try{const t=new URL(this.url);if(t.hostname.split(".")[1]==="blob"){e=t.pathname.split("/")[1]}else if(utils_common_isIpEndpointStyle(t)){e=t.pathname.split("/")[2]}else{e=t.pathname.split("/")[1]}e=decodeURIComponent(e);if(!e){throw new Error("Provided containerName is invalid.")}return e}catch(e){throw new Error("Unable to extract containerName with provided information.")}}generateSasUrl(e){return new Promise((t=>{if(!(this.credential instanceof StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}const r=generateBlobSASQueryParameters({containerName:this._containerName,...e},this.credential).toString();t(utils_common_appendToURLQuery(this.url,r))}))}generateSasStringToSign(e){if(!(this.credential instanceof StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}return generateBlobSASQueryParametersInternal({containerName:this._containerName,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,t){return new Promise((r=>{const n=generateBlobSASQueryParameters({containerName:this._containerName,...e},t,this.accountName).toString();r(utils_common_appendToURLQuery(this.url,n))}))}generateUserDelegationSasStringToSign(e,t){return generateBlobSASQueryParametersInternal({containerName:this._containerName,...e},t,this.accountName).stringToSign}getBlobBatchClient(){return new BlobBatchClient(this.url,this.pipeline)}}class AccountSASPermissions{static parse(e){const t=new AccountSASPermissions;for(const r of e){switch(r){case"r":t.read=true;break;case"w":t.write=true;break;case"d":t.delete=true;break;case"x":t.deleteVersion=true;break;case"l":t.list=true;break;case"a":t.add=true;break;case"c":t.create=true;break;case"u":t.update=true;break;case"p":t.process=true;break;case"t":t.tag=true;break;case"f":t.filter=true;break;case"i":t.setImmutabilityPolicy=true;break;case"y":t.permanentDelete=true;break;default:throw new RangeError(`Invalid permission character: ${r}`)}}return t}static from(e){const t=new AccountSASPermissions;if(e.read){t.read=true}if(e.write){t.write=true}if(e.delete){t.delete=true}if(e.deleteVersion){t.deleteVersion=true}if(e.filter){t.filter=true}if(e.tag){t.tag=true}if(e.list){t.list=true}if(e.add){t.add=true}if(e.create){t.create=true}if(e.update){t.update=true}if(e.process){t.process=true}if(e.setImmutabilityPolicy){t.setImmutabilityPolicy=true}if(e.permanentDelete){t.permanentDelete=true}return t}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 e=[];if(this.read){e.push("r")}if(this.write){e.push("w")}if(this.delete){e.push("d")}if(this.deleteVersion){e.push("x")}if(this.filter){e.push("f")}if(this.tag){e.push("t")}if(this.list){e.push("l")}if(this.add){e.push("a")}if(this.create){e.push("c")}if(this.update){e.push("u")}if(this.process){e.push("p")}if(this.setImmutabilityPolicy){e.push("i")}if(this.permanentDelete){e.push("y")}return e.join("")}}class AccountSASResourceTypes{static parse(e){const t=new AccountSASResourceTypes;for(const r of e){switch(r){case"s":t.service=true;break;case"c":t.container=true;break;case"o":t.object=true;break;default:throw new RangeError(`Invalid resource type: ${r}`)}}return t}service=false;container=false;object=false;toString(){const e=[];if(this.service){e.push("s")}if(this.container){e.push("c")}if(this.object){e.push("o")}return e.join("")}}class AccountSASServices{static parse(e){const t=new AccountSASServices;for(const r of e){switch(r){case"b":t.blob=true;break;case"f":t.file=true;break;case"q":t.queue=true;break;case"t":t.table=true;break;default:throw new RangeError(`Invalid service character: ${r}`)}}return t}blob=false;file=false;queue=false;table=false;toString(){const e=[];if(this.blob){e.push("b")}if(this.table){e.push("t")}if(this.queue){e.push("q")}if(this.file){e.push("f")}return e.join("")}}function generateAccountSASQueryParameters(e,t){return generateAccountSASQueryParametersInternal(e,t).sasQueryParameters}function generateAccountSASQueryParametersInternal(e,t){const r=e.version?e.version:Ps;if(e.permissions&&e.permissions.setImmutabilityPolicy&&r<"2020-08-04"){throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.")}if(e.permissions&&e.permissions.deleteVersion&&r<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when provided 'x' permission.")}if(e.permissions&&e.permissions.permanentDelete&&r<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when provided 'y' permission.")}if(e.permissions&&e.permissions.tag&&r<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when provided 't' permission.")}if(e.permissions&&e.permissions.filter&&r<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when provided 'f' permission.")}if(e.encryptionScope&&r<"2020-12-06"){throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.")}const n=AccountSASPermissions.parse(e.permissions.toString());const s=AccountSASServices.parse(e.services).toString();const o=AccountSASResourceTypes.parse(e.resourceTypes).toString();let i;if(r>="2020-12-06"){i=[t.accountName,n,s,o,e.startsOn?utils_common_truncatedISO8061Date(e.startsOn,false):"",utils_common_truncatedISO8061Date(e.expiresOn,false),e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",r,e.encryptionScope?e.encryptionScope:"",""].join("\n")}else{i=[t.accountName,n,s,o,e.startsOn?utils_common_truncatedISO8061Date(e.startsOn,false):"",utils_common_truncatedISO8061Date(e.expiresOn,false),e.ipRange?ipRangeToString(e.ipRange):"",e.protocol?e.protocol:"",r,""].join("\n")}const a=t.computeHMACSHA256(i);return{sasQueryParameters:new SASQueryParameters(r,a,n.toString(),s,o,e.protocol,e.startsOn,e.expiresOn,e.ipRange,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,e.encryptionScope),stringToSign:i}}class BlobServiceClient extends StorageClient_StorageClient{serviceContext;static fromConnectionString(e,t){t=t||{};const r=utils_common_extractConnectionStringParts(e);if(r.kind==="AccountConnString"){if(Ur){const e=new StorageSharedKeyCredential(r.accountName,r.accountKey);if(!t.proxyOptions){t.proxyOptions=proxyPolicy_getDefaultProxySettings(r.proxyUri)}const n=newPipeline(e,t);return new BlobServiceClient(r.url,n)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(r.kind==="SASConnString"){const e=newPipeline(new AnonymousCredential,t);return new BlobServiceClient(r.url+"?"+r.accountSas,e)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}constructor(e,t,r){let n;if(isPipelineLike(t)){n=t}else if(Ur&&t instanceof StorageSharedKeyCredential||t instanceof AnonymousCredential||isTokenCredential(t)){n=newPipeline(t,r)}else{n=newPipeline(new AnonymousCredential,r)}super(e,n);this.serviceContext=this.storageClientContext.service}getContainerClient(e){return new ContainerClient(utils_common_appendToURLPath(this.url,encodeURIComponent(e)),this.pipeline)}async createContainer(e,t={}){return Ud.withSpan("BlobServiceClient-createContainer",t,(async t=>{const r=this.getContainerClient(e);const n=await r.create(t);return{containerClient:r,containerCreateResponse:n}}))}async deleteContainer(e,t={}){return Ud.withSpan("BlobServiceClient-deleteContainer",t,(async t=>{const r=this.getContainerClient(e);return r.delete(t)}))}async undeleteContainer(e,t,r={}){return Ud.withSpan("BlobServiceClient-undeleteContainer",r,(async n=>{const s=this.getContainerClient(r.destinationContainerName||e);const o=s["storageClientContext"].container;const i=utils_common_assertResponse(await o.restore({deletedContainerName:e,deletedContainerVersion:t,tracingOptions:n.tracingOptions}));return{containerClient:s,containerUndeleteResponse:i}}))}async getProperties(e={}){return Ud.withSpan("BlobServiceClient-getProperties",e,(async t=>utils_common_assertResponse(await this.serviceContext.getProperties({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}async setProperties(e,t={}){return Ud.withSpan("BlobServiceClient-setProperties",t,(async r=>utils_common_assertResponse(await this.serviceContext.setProperties(e,{abortSignal:t.abortSignal,tracingOptions:r.tracingOptions}))))}async getStatistics(e={}){return Ud.withSpan("BlobServiceClient-getStatistics",e,(async t=>utils_common_assertResponse(await this.serviceContext.getStatistics({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}async getAccountInfo(e={}){return Ud.withSpan("BlobServiceClient-getAccountInfo",e,(async t=>utils_common_assertResponse(await this.serviceContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions}))))}async listContainersSegment(e,t={}){return Ud.withSpan("BlobServiceClient-listContainersSegment",t,(async r=>utils_common_assertResponse(await this.serviceContext.listContainersSegment({abortSignal:t.abortSignal,marker:e,...t,include:typeof t.include==="string"?[t.include]:t.include,tracingOptions:r.tracingOptions}))))}async findBlobsByTagsSegment(e,t,r={}){return Ud.withSpan("BlobServiceClient-findBlobsByTagsSegment",r,(async n=>{const s=utils_common_assertResponse(await this.serviceContext.filterBlobs({abortSignal:r.abortSignal,where:e,marker:t,maxPageSize:r.maxPageSize,tracingOptions:n.tracingOptions}));const o={...s,_response:s._response,blobs:s.blobs.map((e=>{let t="";if(e.tags?.blobTagSet.length===1){t=e.tags.blobTagSet[0].value}return{...e,tags:toTags(e.tags),tagValue:t}}))};return o}))}async*findBlobsByTagsSegments(e,t,r={}){let n;if(!!t||t===undefined){do{n=await this.findBlobsByTagsSegment(e,t,r);n.blobs=n.blobs||[];t=n.continuationToken;yield n}while(t)}}async*findBlobsByTagsItems(e,t={}){let r;for await(const n of this.findBlobsByTagsSegments(e,r,t)){yield*n.blobs}}findBlobsByTags(e,t={}){const r={...t};const n=this.findBlobsByTagsItems(e,r);return{next(){return n.next()},[Symbol.asyncIterator](){return this},byPage:(t={})=>this.findBlobsByTagsSegments(e,t.continuationToken,{maxPageSize:t.maxPageSize,...r})}}async*listSegments(e,t={}){let r;if(!!e||e===undefined){do{r=await this.listContainersSegment(e,t);r.containerItems=r.containerItems||[];e=r.continuationToken;yield await r}while(e)}}async*listItems(e={}){let t;for await(const r of this.listSegments(t,e)){yield*r.containerItems}}listContainers(e={}){if(e.prefix===""){e.prefix=undefined}const t=[];if(e.includeDeleted){t.push("deleted")}if(e.includeMetadata){t.push("metadata")}if(e.includeSystem){t.push("system")}const r={...e,...t.length>0?{include:t}:{}};const n=this.listItems(r);return{next(){return n.next()},[Symbol.asyncIterator](){return this},byPage:(e={})=>this.listSegments(e.continuationToken,{maxPageSize:e.maxPageSize,...r})}}async getUserDelegationKey(e,t,r={}){return Ud.withSpan("BlobServiceClient-getUserDelegationKey",r,(async n=>{const s=utils_common_assertResponse(await this.serviceContext.getUserDelegationKey({startsOn:utils_common_truncatedISO8061Date(e,false),expiresOn:utils_common_truncatedISO8061Date(t,false)},{abortSignal:r.abortSignal,tracingOptions:n.tracingOptions}));const o={signedObjectId:s.signedObjectId,signedTenantId:s.signedTenantId,signedStartsOn:new Date(s.signedStartsOn),signedExpiresOn:new Date(s.signedExpiresOn),signedService:s.signedService,signedVersion:s.signedVersion,value:s.value};const i={_response:s._response,requestId:s.requestId,clientRequestId:s.clientRequestId,version:s.version,date:s.date,errorCode:s.errorCode,...o};return i}))}getBlobBatchClient(){return new BlobBatchClient(this.url,this.pipeline)}generateAccountSasUrl(e,t=AccountSASPermissions.parse("r"),r="sco",n={}){if(!(this.credential instanceof StorageSharedKeyCredential)){throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential")}if(e===undefined){const t=new Date;e=new Date(t.getTime()+3600*1e3)}const s=generateAccountSASQueryParameters({permissions:t,expiresOn:e,resourceTypes:r,services:AccountSASServices.parse("b").toString(),...n},this.credential).toString();return utils_common_appendToURLQuery(this.url,s)}generateSasStringToSign(e,t=AccountSASPermissions.parse("r"),r="sco",n={}){if(!(this.credential instanceof StorageSharedKeyCredential)){throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential")}if(e===undefined){const t=new Date;e=new Date(t.getTime()+3600*1e3)}return generateAccountSASQueryParametersInternal({permissions:t,expiresOn:e,resourceTypes:r,services:AccountSASServices.parse("b").toString(),...n},this.credential).stringToSign}}var dp;(function(e){e["AES256"]="AES256"})(dp||(dp={}));class FilesNotFoundError extends Error{constructor(e=[]){let t="No files were found to upload";if(e.length>0){t+=`: ${e.join(", ")}`}super(t);this.files=e;this.name="FilesNotFoundError"}}class InvalidResponseError extends Error{constructor(e){super(e);this.name="InvalidResponseError"}}class CacheNotFoundError extends Error{constructor(e="Cache not found"){super(e);this.name="CacheNotFoundError"}}class GHESNotSupportedError extends Error{constructor(e="@actions/cache v4.1.4+, actions/cache/save@v4+ and actions/cache/restore@v4+ are not currently supported on GHES."){super(e);this.name="GHESNotSupportedError"}}class NetworkError extends Error{constructor(e){const t=`Unable to make request: ${e}\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(t);this.code=e;this.name="NetworkError"}}NetworkError.isNetworkErrorCode=e=>{if(!e)return false;return["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(e)};class UsageError extends Error{constructor(){const e=`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(e);this.name="UsageError"}}UsageError.isUsageErrorMessage=e=>{if(!e)return false;return e.includes("insufficient usage")};class RateLimitError extends Error{constructor(e){super(e);this.name="RateLimitError"}}var pp=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};class UploadProgress{constructor(e){this.contentLength=e;this.sentBytes=0;this.displayedComplete=false;this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete){return}const e=this.sentBytes;const t=(100*(e/this.contentLength)).toFixed(1);const r=Date.now()-this.startTime;const n=(e/(1024*1024)/(r/1e3)).toFixed(1);info(`Sent ${e} of ${this.contentLength} (${t}%), ${n} MBs/sec`);if(this.isDone()){this.displayedComplete=true}}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){const displayCallback=()=>{this.display();if(!this.isDone()){this.timeoutHandle=setTimeout(displayCallback,e)}};this.timeoutHandle=setTimeout(displayCallback,e)}stopDisplayTimer(){if(this.timeoutHandle){clearTimeout(this.timeoutHandle);this.timeoutHandle=undefined}this.display()}}function uploadCacheArchiveSDK(e,t,r){return pp(this,void 0,void 0,(function*(){var n;const s=new BlobClient(e);const o=s.getBlockBlobClient();const i=new UploadProgress((n=r===null||r===void 0?void 0:r.archiveSizeBytes)!==null&&n!==void 0?n:0);const a={blockSize:r===null||r===void 0?void 0:r.uploadChunkSize,concurrency:r===null||r===void 0?void 0:r.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:i.onProgress()};try{i.startDisplayTimer();core_debug(`BlobClient: ${s.name}:${s.accountName}:${s.containerName}`);const e=yield o.uploadFile(t,a);if(e._response.status>=400){throw new InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${e._response.status}`)}return e}catch(e){warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${e.message}`);throw e}finally{i.stopDisplayTimer()}}))}var mp=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};function isSuccessStatusCode(e){if(!e){return false}return e>=200&&e<300}function isServerErrorStatusCode(e){if(!e){return true}return e>=500}function isRetryableStatusCode(e){if(!e){return false}const t=[y.BadGateway,y.ServiceUnavailable,y.GatewayTimeout];return t.includes(e)}function sleep(e){return mp(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,e)))}))}function retry(e,t,r){return mp(this,arguments,void 0,(function*(e,t,r,n=Ve,s=$e,o=undefined){let i="";let a=1;while(a<=n){let c=undefined;let l=undefined;let u=false;try{c=yield t()}catch(e){if(o){c=o(e)}u=true;i=e.message}if(c){l=r(c);if(!isServerErrorStatusCode(l)){return c}}if(l){u=isRetryableStatusCode(l);i=`Cache service responded with ${l}`}core_debug(`${e} - Attempt ${a} of ${n} failed with error: ${i}`);if(!u){core_debug(`${e} - Error is not retryable`);break}yield sleep(s);a++}throw Error(`${e} failed: ${i}`)}))}function retryTypedResponse(e,t){return mp(this,arguments,void 0,(function*(e,t,r=Ve,n=$e){return yield retry(e,t,(e=>e.statusCode),r,n,(e=>{if(e instanceof HttpClientError){return{statusCode:e.statusCode,result:null,headers:{},error:e}}else{return undefined}}))}))}function retryHttpClientResponse(e,t){return mp(this,arguments,void 0,(function*(e,t,r=Ve,n=$e){return yield retry(e,t,(e=>e.message.statusCode),r,n)}))}var hp=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};function pipeResponseToStream(e,t){return hp(this,void 0,void 0,(function*(){const r=Ie.promisify(Ce.pipeline);yield r(e.message,t)}))}class DownloadProgress{constructor(e){this.contentLength=e;this.segmentIndex=0;this.segmentSize=0;this.segmentOffset=0;this.receivedBytes=0;this.displayedComplete=false;this.startTime=Date.now()}nextSegment(e){this.segmentOffset=this.segmentOffset+this.segmentSize;this.segmentIndex=this.segmentIndex+1;this.segmentSize=e;this.receivedBytes=0;core_debug(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`)}setReceivedBytes(e){this.receivedBytes=e}getTransferredBytes(){return this.segmentOffset+this.receivedBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete){return}const e=this.segmentOffset+this.receivedBytes;const t=(100*(e/this.contentLength)).toFixed(1);const r=Date.now()-this.startTime;const n=(e/(1024*1024)/(r/1e3)).toFixed(1);info(`Received ${e} of ${this.contentLength} (${t}%), ${n} MBs/sec`);if(this.isDone()){this.displayedComplete=true}}onProgress(){return e=>{this.setReceivedBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){const displayCallback=()=>{this.display();if(!this.isDone()){this.timeoutHandle=setTimeout(displayCallback,e)}};this.timeoutHandle=setTimeout(displayCallback,e)}stopDisplayTimer(){if(this.timeoutHandle){clearTimeout(this.timeoutHandle);this.timeoutHandle=undefined}this.display()}}function downloadCacheHttpClient(e,t){return hp(this,void 0,void 0,(function*(){const r=A.createWriteStream(t);const n=new lib_HttpClient("actions/cache");const s=yield retryHttpClientResponse("downloadCache",(()=>hp(this,void 0,void 0,(function*(){return n.get(e)}))));s.message.socket.setTimeout(Je,(()=>{s.message.destroy();core_debug(`Aborting download, socket timed out after ${Je} ms`)}));yield pipeResponseToStream(s,r);const o=s.message.headers["content-length"];if(o){const e=parseInt(o);const r=getArchiveFileSizeInBytes(t);if(r!==e){throw new Error(`Incomplete download. Expected file size: ${e}, actual file size: ${r}`)}}else{core_debug("Unable to validate download, no Content-Length header")}}))}function downloadCacheHttpClientConcurrent(e,t,r){return hp(this,void 0,void 0,(function*(){var n;const s=yield A.promises.open(t,"w");const o=new lib_HttpClient("actions/cache",undefined,{socketTimeout:r.timeoutInMs,keepAlive:true});try{const t=yield retryHttpClientResponse("downloadCacheMetadata",(()=>hp(this,void 0,void 0,(function*(){return yield o.request("HEAD",e,null,{})}))));const i=t.message.headers["content-length"];if(i===undefined||i===null){throw new Error("Content-Length not found on blob response")}const a=parseInt(i);if(Number.isNaN(a)){throw new Error(`Could not interpret Content-Length: ${a}`)}const c=[];const l=4*1024*1024;for(let t=0;t<a;t+=l){const r=Math.min(l,a-t);c.push({offset:t,promiseGetter:()=>hp(this,void 0,void 0,(function*(){return yield downloadSegmentRetry(o,e,t,r)}))})}c.reverse();let u=0;let A=0;const d=new DownloadProgress(a);d.startDisplayTimer();const p=d.onProgress();const m=[];let h;const waitAndWrite=()=>hp(this,void 0,void 0,(function*(){const e=yield Promise.race(Object.values(m));yield s.write(e.buffer,0,e.count,e.offset);u--;delete m[e.offset];A+=e.count;p({loadedBytes:A})}));while(h=c.pop()){m[h.offset]=h.promiseGetter();u++;if(u>=((n=r.downloadConcurrency)!==null&&n!==void 0?n:10)){yield waitAndWrite()}}while(u>0){yield waitAndWrite()}}finally{o.dispose();yield s.close()}}))}function downloadSegmentRetry(e,t,r,n){return hp(this,void 0,void 0,(function*(){const s=5;let o=0;while(true){try{const s=3e4;const o=yield promiseWithTimeout(s,downloadSegment(e,t,r,n));if(typeof o==="string"){throw new Error("downloadSegmentRetry failed due to timeout")}return o}catch(e){if(o>=s){throw e}o++}}}))}function downloadSegment(e,t,r,n){return hp(this,void 0,void 0,(function*(){const s=yield retryHttpClientResponse("downloadCachePart",(()=>hp(this,void 0,void 0,(function*(){return yield e.get(t,{Range:`bytes=${r}-${r+n-1}`})}))));if(!s.readBodyBuffer){throw new Error("Expected HttpClientResponse to implement readBodyBuffer")}return{offset:r,count:n,buffer:yield s.readBodyBuffer()}}))}function downloadCacheStorageSDK(e,t,r){return hp(this,void 0,void 0,(function*(){var n;const s=new BlockBlobClient(e,undefined,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}});const o=yield s.getProperties();const i=(n=o.contentLength)!==null&&n!==void 0?n:-1;if(i<0){core_debug("Unable to determine content length, downloading file with http-client...");yield downloadCacheHttpClient(e,t)}else{const e=Math.min(134217728,Yd.constants.MAX_LENGTH);const n=new DownloadProgress(i);const o=A.openSync(t,"w");try{n.startDisplayTimer();const t=new AbortController;const a=t.signal;while(!n.isDone()){const c=n.segmentOffset+n.segmentSize;const l=Math.min(e,i-c);n.nextSegment(l);const u=yield promiseWithTimeout(r.segmentTimeoutInMs||36e5,s.downloadToBuffer(c,l,{abortSignal:a,concurrency:r.downloadConcurrency,onProgress:n.onProgress()}));if(u==="timeout"){t.abort();throw new Error("Aborting cache download as the download time exceeded the timeout.")}else if(Buffer.isBuffer(u)){A.writeFileSync(o,u)}}}finally{n.stopDisplayTimer();A.closeSync(o)}}}))}const promiseWithTimeout=(e,t)=>hp(void 0,void 0,void 0,(function*(){let r;const n=new Promise((t=>{r=setTimeout((()=>t("timeout")),e)}));return Promise.race([t,n]).then((e=>{clearTimeout(r);return e}))}));function getUploadOptions(e){const t={useAzureSdk:false,uploadConcurrency:4,uploadChunkSize:32*1024*1024};if(e){if(typeof e.useAzureSdk==="boolean"){t.useAzureSdk=e.useAzureSdk}if(typeof e.uploadConcurrency==="number"){t.uploadConcurrency=e.uploadConcurrency}if(typeof e.uploadChunkSize==="number"){t.uploadChunkSize=e.uploadChunkSize}}t.uploadConcurrency=!isNaN(Number(process.env["CACHE_UPLOAD_CONCURRENCY"]))?Math.min(32,Number(process.env["CACHE_UPLOAD_CONCURRENCY"])):t.uploadConcurrency;t.uploadChunkSize=!isNaN(Number(process.env["CACHE_UPLOAD_CHUNK_SIZE"]))?Math.min(128*1024*1024,Number(process.env["CACHE_UPLOAD_CHUNK_SIZE"])*1024*1024):t.uploadChunkSize;core_debug(`Use Azure SDK: ${t.useAzureSdk}`);core_debug(`Upload concurrency: ${t.uploadConcurrency}`);core_debug(`Upload chunk size: ${t.uploadChunkSize}`);return t}function getDownloadOptions(e){const t={useAzureSdk:false,concurrentBlobDownloads:true,downloadConcurrency:8,timeoutInMs:3e4,segmentTimeoutInMs:6e5,lookupOnly:false};if(e){if(typeof e.useAzureSdk==="boolean"){t.useAzureSdk=e.useAzureSdk}if(typeof e.concurrentBlobDownloads==="boolean"){t.concurrentBlobDownloads=e.concurrentBlobDownloads}if(typeof e.downloadConcurrency==="number"){t.downloadConcurrency=e.downloadConcurrency}if(typeof e.timeoutInMs==="number"){t.timeoutInMs=e.timeoutInMs}if(typeof e.segmentTimeoutInMs==="number"){t.segmentTimeoutInMs=e.segmentTimeoutInMs}if(typeof e.lookupOnly==="boolean"){t.lookupOnly=e.lookupOnly}}const r=process.env["SEGMENT_DOWNLOAD_TIMEOUT_MINS"];if(r&&!isNaN(Number(r))&&isFinite(Number(r))){t.segmentTimeoutInMs=Number(r)*60*1e3}core_debug(`Use Azure SDK: ${t.useAzureSdk}`);core_debug(`Download concurrency: ${t.downloadConcurrency}`);core_debug(`Request timeout (ms): ${t.timeoutInMs}`);core_debug(`Cache segment download timeout mins env var: ${process.env["SEGMENT_DOWNLOAD_TIMEOUT_MINS"]}`);core_debug(`Segment download timeout (ms): ${t.segmentTimeoutInMs}`);core_debug(`Lookup only: ${t.lookupOnly}`);return t}function isGhes(){const e=new URL(process.env["GITHUB_SERVER_URL"]||"https://github.com");const t=e.hostname.trimEnd().toUpperCase();const r=t==="GITHUB.COM";const n=t.endsWith(".GHE.COM");const s=t.endsWith(".LOCALHOST");return!r&&!n&&!s}function getCacheServiceVersion(){if(isGhes())return"v1";return process.env["ACTIONS_CACHE_SERVICE_V2"]?"v2":"v1"}function getCacheServiceURL(){const e=getCacheServiceVersion();switch(e){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: ${e}`)}}var gp=__nccwpck_require__(8658);function user_agent_getUserAgentString(){return`@actions/cache-${gp.version}`}var fp=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};function getCacheApiUrl(e){const t=getCacheServiceURL();if(!t){throw new Error("Cache Service Url not found, unable to restore cache.")}const r=`${t}_apis/artifactcache/${e}`;core_debug(`Resource Url: ${r}`);return r}function createAcceptHeader(e,t){return`${e};api-version=${t}`}function getRequestOptions(){const e={headers:{Accept:createAcceptHeader("application/json","6.0-preview.1")}};return e}function createHttpClient(){const e=process.env["ACTIONS_RUNTIME_TOKEN"]||"";const t=new auth_BearerCredentialHandler(e);return new lib_HttpClient(user_agent_getUserAgentString(),[t],getRequestOptions())}function getCacheEntry(e,t,r){return fp(this,void 0,void 0,(function*(){const n=createHttpClient();const s=getCacheVersion(t,r===null||r===void 0?void 0:r.compressionMethod,r===null||r===void 0?void 0:r.enableCrossOsArchive);const o=`cache?keys=${encodeURIComponent(e.join(","))}&version=${s}`;const i=yield retryTypedResponse("getCacheEntry",(()=>fp(this,void 0,void 0,(function*(){return n.getJson(getCacheApiUrl(o))}))));if(i.statusCode===204){if(isDebug()){yield printCachesListForDiagnostics(e[0],n,s)}return null}if(!isSuccessStatusCode(i.statusCode)){throw new Error(`Cache service responded with ${i.statusCode}`)}const a=i.result;const c=a===null||a===void 0?void 0:a.archiveLocation;if(!c){throw new Error("Cache not found.")}core_setSecret(c);core_debug(`Cache Result:`);core_debug(JSON.stringify(a));return a}))}function printCachesListForDiagnostics(e,t,r){return fp(this,void 0,void 0,(function*(){const n=`caches?key=${encodeURIComponent(e)}`;const s=yield retryTypedResponse("listCache",(()=>fp(this,void 0,void 0,(function*(){return t.getJson(getCacheApiUrl(n))}))));if(s.statusCode===200){const t=s.result;const n=t===null||t===void 0?void 0:t.totalCount;if(n&&n>0){core_debug(`No matching cache found for cache key '${e}', version '${r} 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 e of(t===null||t===void 0?void 0:t.artifactCaches)||[]){core_debug(`Cache Key: ${e===null||e===void 0?void 0:e.cacheKey}, Cache Version: ${e===null||e===void 0?void 0:e.cacheVersion}, Cache Scope: ${e===null||e===void 0?void 0:e.scope}, Cache Created: ${e===null||e===void 0?void 0:e.creationTime}`)}}}}))}function downloadCache(e,t,r){return fp(this,void 0,void 0,(function*(){const n=new rt.URL(e);const s=getDownloadOptions(r);if(n.hostname.endsWith(".blob.core.windows.net")){if(s.useAzureSdk){yield downloadCacheStorageSDK(e,t,s)}else if(s.concurrentBlobDownloads){yield downloadCacheHttpClientConcurrent(e,t,s)}else{yield downloadCacheHttpClient(e,t)}}else{yield downloadCacheHttpClient(e,t)}}))}function reserveCache(e,t,r){return fp(this,void 0,void 0,(function*(){const n=createHttpClient();const s=getCacheVersion(t,r===null||r===void 0?void 0:r.compressionMethod,r===null||r===void 0?void 0:r.enableCrossOsArchive);const o={key:e,version:s,cacheSize:r===null||r===void 0?void 0:r.cacheSize};const i=yield retryTypedResponse("reserveCache",(()=>fp(this,void 0,void 0,(function*(){return n.postJson(getCacheApiUrl("caches"),o)}))));return i}))}function getContentRange(e,t){return`bytes ${e}-${t}/*`}function uploadChunk(e,t,r,n,s){return fp(this,void 0,void 0,(function*(){core_debug(`Uploading chunk of size ${s-n+1} bytes at offset ${n} with content range: ${getContentRange(n,s)}`);const o={"Content-Type":"application/octet-stream","Content-Range":getContentRange(n,s)};const i=yield retryHttpClientResponse(`uploadChunk (start: ${n}, end: ${s})`,(()=>fp(this,void 0,void 0,(function*(){return e.sendStream("PATCH",t,r(),o)}))));if(!isSuccessStatusCode(i.message.statusCode)){throw new Error(`Cache service responded with ${i.message.statusCode} during upload chunk.`)}}))}function uploadFile(e,t,r,n){return fp(this,void 0,void 0,(function*(){const s=getArchiveFileSizeInBytes(r);const o=getCacheApiUrl(`caches/${t.toString()}`);const i=A.openSync(r,"r");const a=getUploadOptions(n);const c=assertDefined("uploadConcurrency",a.uploadConcurrency);const l=assertDefined("uploadChunkSize",a.uploadChunkSize);const u=[...new Array(c).keys()];core_debug("Awaiting all uploads");let d=0;try{yield Promise.all(u.map((()=>fp(this,void 0,void 0,(function*(){while(d<s){const t=Math.min(s-d,l);const n=d;const a=d+t-1;d+=l;yield uploadChunk(e,o,(()=>A.createReadStream(r,{fd:i,start:n,end:a,autoClose:false}).on("error",(e=>{throw new Error(`Cache upload failed because file read failed with ${e.message}`)}))),n,a)}})))))}finally{A.closeSync(i)}return}))}function commitCache(e,t,r){return fp(this,void 0,void 0,(function*(){const n={size:r};return yield retryTypedResponse("commitCache",(()=>fp(this,void 0,void 0,(function*(){return e.postJson(getCacheApiUrl(`caches/${t.toString()}`),n)}))))}))}function saveCache(e,t,r,n){return fp(this,void 0,void 0,(function*(){const s=getUploadOptions(n);if(s.useAzureSdk){if(!r){throw new Error("Azure Storage SDK can only be used when a signed URL is provided.")}yield uploadCacheArchiveSDK(r,t,n)}else{const r=createHttpClient();core_debug("Upload cache");yield uploadFile(r,e,t,n);core_debug("Commiting cache");const s=getArchiveFileSizeInBytes(t);info(`Cache Size: ~${Math.round(s/(1024*1024))} MB (${s} B)`);const o=yield commitCache(r,e,s);if(!isSuccessStatusCode(o.statusCode)){throw new Error(`Cache service responded with ${o.statusCode} during commit cache.`)}info("Cache saved successfully")}}))}var Ep=__nccwpck_require__(6762);var yp=__nccwpck_require__(8372);class CacheScope$Type extends yp.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(e){const t={scope:"",permission:"0"};globalThis.Object.defineProperty(t,yp.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,yp.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,r,n){let s=n!==null&&n!==void 0?n:this.create(),o=e.pos+t;while(e.pos<o){let[t,n]=e.tag();switch(t){case 1:s.scope=e.string();break;case 2:s.permission=e.int64().toString();break;default:let o=r.readUnknownField;if(o==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${n}) for ${this.typeName}`);let i=e.skip(n);if(o!==false)(o===true?yp.UnknownFieldHandler.onRead:o)(this.typeName,s,t,n,i)}}return s}internalBinaryWrite(e,t,r){if(e.scope!=="")t.tag(1,yp.WireType.LengthDelimited).string(e.scope);if(e.permission!=="0")t.tag(2,yp.WireType.Varint).int64(e.permission);let n=r.writeUnknownFields;if(n!==false)(n==true?yp.UnknownFieldHandler.onWrite:n)(this.typeName,e,t);return t}}const Cp=new CacheScope$Type;class CacheMetadata$Type extends yp.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:()=>Cp}])}create(e){const t={repositoryId:"0",scope:[]};globalThis.Object.defineProperty(t,yp.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,yp.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,r,n){let s=n!==null&&n!==void 0?n:this.create(),o=e.pos+t;while(e.pos<o){let[t,n]=e.tag();switch(t){case 1:s.repositoryId=e.int64().toString();break;case 2:s.scope.push(Cp.internalBinaryRead(e,e.uint32(),r));break;default:let o=r.readUnknownField;if(o==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${n}) for ${this.typeName}`);let i=e.skip(n);if(o!==false)(o===true?yp.UnknownFieldHandler.onRead:o)(this.typeName,s,t,n,i)}}return s}internalBinaryWrite(e,t,r){if(e.repositoryId!=="0")t.tag(1,yp.WireType.Varint).int64(e.repositoryId);for(let n=0;n<e.scope.length;n++)Cp.internalBinaryWrite(e.scope[n],t.tag(2,yp.WireType.LengthDelimited).fork(),r).join();let n=r.writeUnknownFields;if(n!==false)(n==true?yp.UnknownFieldHandler.onWrite:n)(this.typeName,e,t);return t}}const Ip=new CacheMetadata$Type;class CreateCacheEntryRequest$Type extends yp.MessageType{constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:()=>Ip},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"version",kind:"scalar",T:9}])}create(e){const t={key:"",version:""};globalThis.Object.defineProperty(t,yp.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,yp.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,r,n){let s=n!==null&&n!==void 0?n:this.create(),o=e.pos+t;while(e.pos<o){let[t,n]=e.tag();switch(t){case 1:s.metadata=Ip.internalBinaryRead(e,e.uint32(),r,s.metadata);break;case 2:s.key=e.string();break;case 3:s.version=e.string();break;default:let o=r.readUnknownField;if(o==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${n}) for ${this.typeName}`);let i=e.skip(n);if(o!==false)(o===true?yp.UnknownFieldHandler.onRead:o)(this.typeName,s,t,n,i)}}return s}internalBinaryWrite(e,t,r){if(e.metadata)Ip.internalBinaryWrite(e.metadata,t.tag(1,yp.WireType.LengthDelimited).fork(),r).join();if(e.key!=="")t.tag(2,yp.WireType.LengthDelimited).string(e.key);if(e.version!=="")t.tag(3,yp.WireType.LengthDelimited).string(e.version);let n=r.writeUnknownFields;if(n!==false)(n==true?yp.UnknownFieldHandler.onWrite:n)(this.typeName,e,t);return t}}const Bp=new CreateCacheEntryRequest$Type;class CreateCacheEntryResponse$Type extends yp.MessageType{constructor(){super("github.actions.results.api.v1.CreateCacheEntryResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"signed_upload_url",kind:"scalar",T:9},{no:3,name:"message",kind:"scalar",T:9}])}create(e){const t={ok:false,signedUploadUrl:"",message:""};globalThis.Object.defineProperty(t,yp.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,yp.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,r,n){let s=n!==null&&n!==void 0?n:this.create(),o=e.pos+t;while(e.pos<o){let[t,n]=e.tag();switch(t){case 1:s.ok=e.bool();break;case 2:s.signedUploadUrl=e.string();break;case 3:s.message=e.string();break;default:let o=r.readUnknownField;if(o==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${n}) for ${this.typeName}`);let i=e.skip(n);if(o!==false)(o===true?yp.UnknownFieldHandler.onRead:o)(this.typeName,s,t,n,i)}}return s}internalBinaryWrite(e,t,r){if(e.ok!==false)t.tag(1,yp.WireType.Varint).bool(e.ok);if(e.signedUploadUrl!=="")t.tag(2,yp.WireType.LengthDelimited).string(e.signedUploadUrl);if(e.message!=="")t.tag(3,yp.WireType.LengthDelimited).string(e.message);let n=r.writeUnknownFields;if(n!==false)(n==true?yp.UnknownFieldHandler.onWrite:n)(this.typeName,e,t);return t}}const bp=new CreateCacheEntryResponse$Type;class FinalizeCacheEntryUploadRequest$Type extends yp.MessageType{constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadRequest",[{no:1,name:"metadata",kind:"message",T:()=>Ip},{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(e){const t={key:"",sizeBytes:"0",version:""};globalThis.Object.defineProperty(t,yp.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,yp.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,r,n){let s=n!==null&&n!==void 0?n:this.create(),o=e.pos+t;while(e.pos<o){let[t,n]=e.tag();switch(t){case 1:s.metadata=Ip.internalBinaryRead(e,e.uint32(),r,s.metadata);break;case 2:s.key=e.string();break;case 3:s.sizeBytes=e.int64().toString();break;case 4:s.version=e.string();break;default:let o=r.readUnknownField;if(o==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${n}) for ${this.typeName}`);let i=e.skip(n);if(o!==false)(o===true?yp.UnknownFieldHandler.onRead:o)(this.typeName,s,t,n,i)}}return s}internalBinaryWrite(e,t,r){if(e.metadata)Ip.internalBinaryWrite(e.metadata,t.tag(1,yp.WireType.LengthDelimited).fork(),r).join();if(e.key!=="")t.tag(2,yp.WireType.LengthDelimited).string(e.key);if(e.sizeBytes!=="0")t.tag(3,yp.WireType.Varint).int64(e.sizeBytes);if(e.version!=="")t.tag(4,yp.WireType.LengthDelimited).string(e.version);let n=r.writeUnknownFields;if(n!==false)(n==true?yp.UnknownFieldHandler.onWrite:n)(this.typeName,e,t);return t}}const wp=new FinalizeCacheEntryUploadRequest$Type;class FinalizeCacheEntryUploadResponse$Type extends yp.MessageType{constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"entry_id",kind:"scalar",T:3},{no:3,name:"message",kind:"scalar",T:9}])}create(e){const t={ok:false,entryId:"0",message:""};globalThis.Object.defineProperty(t,yp.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,yp.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,r,n){let s=n!==null&&n!==void 0?n:this.create(),o=e.pos+t;while(e.pos<o){let[t,n]=e.tag();switch(t){case 1:s.ok=e.bool();break;case 2:s.entryId=e.int64().toString();break;case 3:s.message=e.string();break;default:let o=r.readUnknownField;if(o==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${n}) for ${this.typeName}`);let i=e.skip(n);if(o!==false)(o===true?yp.UnknownFieldHandler.onRead:o)(this.typeName,s,t,n,i)}}return s}internalBinaryWrite(e,t,r){if(e.ok!==false)t.tag(1,yp.WireType.Varint).bool(e.ok);if(e.entryId!=="0")t.tag(2,yp.WireType.Varint).int64(e.entryId);if(e.message!=="")t.tag(3,yp.WireType.LengthDelimited).string(e.message);let n=r.writeUnknownFields;if(n!==false)(n==true?yp.UnknownFieldHandler.onWrite:n)(this.typeName,e,t);return t}}const Sp=new FinalizeCacheEntryUploadResponse$Type;class GetCacheEntryDownloadURLRequest$Type extends yp.MessageType{constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLRequest",[{no:1,name:"metadata",kind:"message",T:()=>Ip},{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(e){const t={key:"",restoreKeys:[],version:""};globalThis.Object.defineProperty(t,yp.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,yp.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,r,n){let s=n!==null&&n!==void 0?n:this.create(),o=e.pos+t;while(e.pos<o){let[t,n]=e.tag();switch(t){case 1:s.metadata=Ip.internalBinaryRead(e,e.uint32(),r,s.metadata);break;case 2:s.key=e.string();break;case 3:s.restoreKeys.push(e.string());break;case 4:s.version=e.string();break;default:let o=r.readUnknownField;if(o==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${n}) for ${this.typeName}`);let i=e.skip(n);if(o!==false)(o===true?yp.UnknownFieldHandler.onRead:o)(this.typeName,s,t,n,i)}}return s}internalBinaryWrite(e,t,r){if(e.metadata)Ip.internalBinaryWrite(e.metadata,t.tag(1,yp.WireType.LengthDelimited).fork(),r).join();if(e.key!=="")t.tag(2,yp.WireType.LengthDelimited).string(e.key);for(let r=0;r<e.restoreKeys.length;r++)t.tag(3,yp.WireType.LengthDelimited).string(e.restoreKeys[r]);if(e.version!=="")t.tag(4,yp.WireType.LengthDelimited).string(e.version);let n=r.writeUnknownFields;if(n!==false)(n==true?yp.UnknownFieldHandler.onWrite:n)(this.typeName,e,t);return t}}const Qp=new GetCacheEntryDownloadURLRequest$Type;class GetCacheEntryDownloadURLResponse$Type extends yp.MessageType{constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"signed_download_url",kind:"scalar",T:9},{no:3,name:"matched_key",kind:"scalar",T:9}])}create(e){const t={ok:false,signedDownloadUrl:"",matchedKey:""};globalThis.Object.defineProperty(t,yp.MESSAGE_TYPE,{enumerable:false,value:this});if(e!==undefined)(0,yp.reflectionMergePartial)(this,t,e);return t}internalBinaryRead(e,t,r,n){let s=n!==null&&n!==void 0?n:this.create(),o=e.pos+t;while(e.pos<o){let[t,n]=e.tag();switch(t){case 1:s.ok=e.bool();break;case 2:s.signedDownloadUrl=e.string();break;case 3:s.matchedKey=e.string();break;default:let o=r.readUnknownField;if(o==="throw")throw new globalThis.Error(`Unknown field ${t} (wire type ${n}) for ${this.typeName}`);let i=e.skip(n);if(o!==false)(o===true?yp.UnknownFieldHandler.onRead:o)(this.typeName,s,t,n,i)}}return s}internalBinaryWrite(e,t,r){if(e.ok!==false)t.tag(1,yp.WireType.Varint).bool(e.ok);if(e.signedDownloadUrl!=="")t.tag(2,yp.WireType.LengthDelimited).string(e.signedDownloadUrl);if(e.matchedKey!=="")t.tag(3,yp.WireType.LengthDelimited).string(e.matchedKey);let n=r.writeUnknownFields;if(n!==false)(n==true?yp.UnknownFieldHandler.onWrite:n)(this.typeName,e,t);return t}}const Np=new GetCacheEntryDownloadURLResponse$Type;const Rp=new Ep.C0("github.actions.results.api.v1.CacheService",[{name:"CreateCacheEntry",options:{},I:Bp,O:bp},{name:"FinalizeCacheEntryUpload",options:{},I:wp,O:Sp},{name:"GetCacheEntryDownloadURL",options:{},I:Qp,O:Np}]);class CacheServiceClientJSON{constructor(e){this.rpc=e;this.CreateCacheEntry.bind(this);this.FinalizeCacheEntryUpload.bind(this);this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){const t=Bp.toJson(e,{useProtoFieldName:true,emitDefaultValues:false});const r=this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",t);return r.then((e=>bp.fromJson(e,{ignoreUnknownFields:true})))}FinalizeCacheEntryUpload(e){const t=wp.toJson(e,{useProtoFieldName:true,emitDefaultValues:false});const r=this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",t);return r.then((e=>Sp.fromJson(e,{ignoreUnknownFields:true})))}GetCacheEntryDownloadURL(e){const t=Qp.toJson(e,{useProtoFieldName:true,emitDefaultValues:false});const r=this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",t);return r.then((e=>Np.fromJson(e,{ignoreUnknownFields:true})))}}class CacheServiceClientProtobuf{constructor(e){this.rpc=e;this.CreateCacheEntry.bind(this);this.FinalizeCacheEntryUpload.bind(this);this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){const t=CreateCacheEntryRequest.toBinary(e);const r=this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/protobuf",t);return r.then((e=>CreateCacheEntryResponse.fromBinary(e)))}FinalizeCacheEntryUpload(e){const t=FinalizeCacheEntryUploadRequest.toBinary(e);const r=this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/protobuf",t);return r.then((e=>FinalizeCacheEntryUploadResponse.fromBinary(e)))}GetCacheEntryDownloadURL(e){const t=GetCacheEntryDownloadURLRequest.toBinary(e);const r=this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/protobuf",t);return r.then((e=>GetCacheEntryDownloadURLResponse.fromBinary(e)))}}function maskSigUrl(e){if(!e)return;try{const t=new URL(e);const r=t.searchParams.get("sig");if(r){core_setSecret(r);core_setSecret(encodeURIComponent(r))}}catch(t){core_debug(`Failed to parse URL: ${e} ${t instanceof Error?t.message:String(t)}`)}}function maskSecretUrls(e){if(typeof e!=="object"||e===null){core_debug("body is not an object or is null");return}if("signed_upload_url"in e&&typeof e.signed_upload_url==="string"){maskSigUrl(e.signed_upload_url)}if("signed_download_url"in e&&typeof e.signed_download_url==="string"){maskSigUrl(e.signed_download_url)}}var vp=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};class CacheServiceClient{constructor(e,t,r,n){this.maxAttempts=5;this.baseRetryIntervalMilliseconds=3e3;this.retryMultiplier=1.5;const s=getRuntimeToken();this.baseUrl=getCacheServiceURL();if(t){this.maxAttempts=t}if(r){this.baseRetryIntervalMilliseconds=r}if(n){this.retryMultiplier=n}this.httpClient=new lib_HttpClient(e,[new auth_BearerCredentialHandler(s)])}request(e,t,r,n){return vp(this,void 0,void 0,(function*(){const s=new URL(`/twirp/${e}/${t}`,this.baseUrl).href;core_debug(`[Request] ${t} ${s}`);const o={"Content-Type":r};try{const{body:e}=yield this.retryableRequest((()=>vp(this,void 0,void 0,(function*(){return this.httpClient.post(s,JSON.stringify(n),o)}))));return e}catch(e){throw new Error(`Failed to ${t}: ${e.message}`)}}))}retryableRequest(e){return vp(this,void 0,void 0,(function*(){let t=0;let r="";let n="";while(t<this.maxAttempts){let s=false;try{const t=yield e();const o=t.message.statusCode;n=yield t.readBody();core_debug(`[Response] - ${t.message.statusCode}`);core_debug(`Headers: ${JSON.stringify(t.message.headers,null,2)}`);const i=JSON.parse(n);maskSecretUrls(i);core_debug(`Body: ${JSON.stringify(i,null,2)}`);if(this.isSuccessStatusCode(o)){return{response:t,body:i}}s=this.isRetryableHttpStatusCode(o);r=`Failed request: (${o}) ${t.message.statusMessage}`;if(i.msg){if(UsageError.isUsageErrorMessage(i.msg)){throw new UsageError}r=`${r}: ${i.msg}`}if(o===y.TooManyRequests){const e=t.message.headers["retry-after"];if(e){const t=parseInt(e,10);if(!isNaN(t)&&t>0){warning(`You've hit a rate limit, your rate limit will reset in ${t} seconds`)}}throw new RateLimitError(`Rate limited: ${r}`)}}catch(e){if(e instanceof SyntaxError){core_debug(`Raw Body: ${n}`)}if(e instanceof UsageError){throw e}if(e instanceof RateLimitError){throw e}if(NetworkError.isNetworkErrorCode(e===null||e===void 0?void 0:e.code)){throw new NetworkError(e===null||e===void 0?void 0:e.code)}s=true;r=e.message}if(!s){throw new Error(`Received non-retryable error: ${r}`)}if(t+1===this.maxAttempts){throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${r}`)}const o=this.getExponentialRetryTimeMilliseconds(t);info(`Attempt ${t+1} of ${this.maxAttempts} failed with error: ${r}. Retrying request in ${o} ms...`);yield this.sleep(o);t++}throw new Error(`Request failed`)}))}isSuccessStatusCode(e){if(!e)return false;return e>=200&&e<300}isRetryableHttpStatusCode(e){if(!e)return false;const t=[y.BadGateway,y.GatewayTimeout,y.InternalServerError,y.ServiceUnavailable];return t.includes(e)}sleep(e){return vp(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,e)))}))}getExponentialRetryTimeMilliseconds(e){if(e<0){throw new Error("attempt should be a positive integer")}if(e===0){return this.baseRetryIntervalMilliseconds}const t=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,e);const r=t*this.retryMultiplier;return Math.trunc(Math.random()*(r-t)+t)}}function internalCacheTwirpClient(e){const t=new CacheServiceClient(user_agent_getUserAgentString(),e===null||e===void 0?void 0:e.maxAttempts,e===null||e===void 0?void 0:e.retryIntervalMs,e===null||e===void 0?void 0:e.retryMultiplier);return new CacheServiceClientJSON(t)}var xp=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};const Tp=process.platform==="win32";function getTarPath(){return xp(this,void 0,void 0,(function*(){switch(process.platform){case"win32":{const e=yield getGnuTarPathOnWindows();const t=We;if(e){return{path:e,type:ze.GNU}}else if((0,A.existsSync)(t)){return{path:t,type:ze.BSD}}break}case"darwin":{const e=yield which("gtar",false);if(e){return{path:e,type:ze.GNU}}else{return{path:yield which("tar",true),type:ze.BSD}}}default:break}return{path:yield which("tar",true),type:ze.GNU}}))}function getTarArgs(e,t,r){return xp(this,arguments,void 0,(function*(e,t,r,n=""){const s=[`"${e.path}"`];const o=getCacheFileName(t);const a="cache.tar";const c=getWorkingDirectory();const l=e.type===ze.BSD&&t!==qe.Gzip&&Tp;switch(r){case"create":s.push("--posix","-cf",l?a:o.replace(new RegExp(`\\${i.sep}`,"g"),"/"),"--exclude",l?a:o.replace(new RegExp(`\\${i.sep}`,"g"),"/"),"-P","-C",c.replace(new RegExp(`\\${i.sep}`,"g"),"/"),"--files-from",Ke);break;case"extract":s.push("-xf",l?a:n.replace(new RegExp(`\\${i.sep}`,"g"),"/"),"-P","-C",c.replace(new RegExp(`\\${i.sep}`,"g"),"/"));break;case"list":s.push("-tf",l?a:n.replace(new RegExp(`\\${i.sep}`,"g"),"/"),"-P");break}if(e.type===ze.GNU){switch(process.platform){case"win32":s.push("--force-local");break;case"darwin":s.push("--delay-directory-restore");break}}return s}))}function getCommands(e,t){return xp(this,arguments,void 0,(function*(e,t,r=""){let n;const s=yield getTarPath();const o=yield getTarArgs(s,e,t,r);const i=t!=="create"?yield getDecompressionProgram(s,e,r):yield getCompressionProgram(s,e);const a=s.type===ze.BSD&&e!==qe.Gzip&&Tp;if(a&&t!=="create"){n=[[...i].join(" "),[...o].join(" ")]}else{n=[[...o].join(" "),[...i].join(" ")]}if(a){return n}return[n.join(" ")]}))}function getWorkingDirectory(){var e;return(e=process.env["GITHUB_WORKSPACE"])!==null&&e!==void 0?e:process.cwd()}function getDecompressionProgram(e,t,r){return xp(this,void 0,void 0,(function*(){const n=e.type===ze.BSD&&t!==qe.Gzip&&Tp;switch(t){case qe.Zstd:return n?["zstd -d --long=30 --force -o",je,r.replace(new RegExp(`\\${i.sep}`,"g"),"/")]:["--use-compress-program",Tp?'"zstd -d --long=30"':"unzstd --long=30"];case qe.ZstdWithoutLong:return n?["zstd -d --force -o",je,r.replace(new RegExp(`\\${i.sep}`,"g"),"/")]:["--use-compress-program",Tp?'"zstd -d"':"unzstd"];default:return["-z"]}}))}function getCompressionProgram(e,t){return xp(this,void 0,void 0,(function*(){const r=getCacheFileName(t);const n=e.type===ze.BSD&&t!==qe.Gzip&&Tp;switch(t){case qe.Zstd:return n?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${i.sep}`,"g"),"/"),je]:["--use-compress-program",Tp?'"zstd -T0 --long=30"':"zstdmt --long=30"];case qe.ZstdWithoutLong:return n?["zstd -T0 --force -o",r.replace(new RegExp(`\\${i.sep}`,"g"),"/"),je]:["--use-compress-program",Tp?'"zstd -T0"':"zstdmt"];default:return["-z"]}}))}function execCommands(e,t){return xp(this,void 0,void 0,(function*(){for(const r of e){try{yield exec_exec(r,undefined,{cwd:t,env:Object.assign(Object.assign({},process.env),{MSYS:"winsymlinks:nativestrict"})})}catch(e){throw new Error(`${r.split(" ")[0]} failed with error: ${e===null||e===void 0?void 0:e.message}`)}}}))}function listTar(e,t){return xp(this,void 0,void 0,(function*(){const r=yield getCommands(t,"list",e);yield execCommands(r)}))}function tar_extractTar(e,t){return xp(this,void 0,void 0,(function*(){const r=getWorkingDirectory();yield mkdirP(r);const n=yield getCommands(t,"extract",e);yield execCommands(n)}))}function createTar(e,t,r){return xp(this,void 0,void 0,(function*(){(0,A.writeFileSync)(i.join(e,Ke),t.join("\n"));const n=yield getCommands(r,"create");yield execCommands(n,e)}))}var kp=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};class ValidationError extends Error{constructor(e){super(e);this.name="ValidationError";Object.setPrototypeOf(this,ValidationError.prototype)}}class ReserveCacheError extends Error{constructor(e){super(e);this.name="ReserveCacheError";Object.setPrototypeOf(this,ReserveCacheError.prototype)}}class FinalizeCacheError extends Error{constructor(e){super(e);this.name="FinalizeCacheError";Object.setPrototypeOf(this,FinalizeCacheError.prototype)}}function checkPaths(e){if(!e||e.length===0){throw new ValidationError(`Path Validation Error: At least one directory or file path is required`)}}function checkKey(e){if(e.length>512){throw new ValidationError(`Key Validation Error: ${e} cannot be larger than 512 characters.`)}const t=/^[^,]*$/;if(!t.test(e)){throw new ValidationError(`Key Validation Error: ${e} cannot contain commas.`)}}function isFeatureAvailable(){const e=getCacheServiceVersion();switch(e){case"v2":return!!process.env["ACTIONS_RESULTS_URL"];case"v1":default:return!!process.env["ACTIONS_CACHE_URL"]}}function restoreCache(e,t,r,n){return kp(this,arguments,void 0,(function*(e,t,r,n,s=false){const o=getCacheServiceVersion();core_debug(`Cache service version: ${o}`);checkPaths(e);switch(o){case"v2":return yield restoreCacheV2(e,t,r,n,s);case"v1":default:return yield restoreCacheV1(e,t,r,n,s)}}))}function restoreCacheV1(e,t,r,n){return kp(this,arguments,void 0,(function*(e,t,r,n,s=false){r=r||[];const o=[t,...r];core_debug("Resolved Keys:");core_debug(JSON.stringify(o));if(o.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const e of o){checkKey(e)}const a=yield getCompressionMethod();let c="";try{const t=yield getCacheEntry(o,e,{compressionMethod:a,enableCrossOsArchive:s});if(!(t===null||t===void 0?void 0:t.archiveLocation)){return undefined}if(n===null||n===void 0?void 0:n.lookupOnly){info("Lookup only - skipping download");return t.cacheKey}c=i.join(yield createTempDirectory(),getCacheFileName(a));core_debug(`Archive Path: ${c}`);yield downloadCache(t.archiveLocation,c,n);if(isDebug()){yield listTar(c,a)}const r=getArchiveFileSizeInBytes(c);info(`Cache Size: ~${Math.round(r/(1024*1024))} MB (${r} B)`);yield tar_extractTar(c,a);info("Cache restored successfully");return t.cacheKey}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else{if(t instanceof HttpClientError&&typeof t.statusCode==="number"&&t.statusCode>=500){core_error(`Failed to restore: ${e.message}`)}else{warning(`Failed to restore: ${e.message}`)}}}finally{try{yield unlinkFile(c)}catch(e){core_debug(`Failed to delete archive: ${e}`)}}return undefined}))}function restoreCacheV2(e,t,r,n){return kp(this,arguments,void 0,(function*(e,t,r,n,s=false){n=Object.assign(Object.assign({},n),{useAzureSdk:true});r=r||[];const o=[t,...r];core_debug("Resolved Keys:");core_debug(JSON.stringify(o));if(o.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const e of o){checkKey(e)}let a="";try{const c=internalCacheTwirpClient();const l=yield getCompressionMethod();const u={key:t,restoreKeys:r,version:getCacheVersion(e,l,s)};const A=yield c.GetCacheEntryDownloadURL(u);if(!A.ok){core_debug(`Cache not found for version ${u.version} of keys: ${o.join(", ")}`);return undefined}const d=u.key!==A.matchedKey;if(d){info(`Cache hit for restore-key: ${A.matchedKey}`)}else{info(`Cache hit for: ${A.matchedKey}`)}if(n===null||n===void 0?void 0:n.lookupOnly){info("Lookup only - skipping download");return A.matchedKey}a=i.join(yield createTempDirectory(),getCacheFileName(l));core_debug(`Archive path: ${a}`);core_debug(`Starting download of archive to: ${a}`);yield downloadCache(A.signedDownloadUrl,a,n);const p=getArchiveFileSizeInBytes(a);info(`Cache Size: ~${Math.round(p/(1024*1024))} MB (${p} B)`);if(isDebug()){yield listTar(a,l)}yield tar_extractTar(a,l);info("Cache restored successfully");return A.matchedKey}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else{if(t instanceof HttpClientError&&typeof t.statusCode==="number"&&t.statusCode>=500){core_error(`Failed to restore: ${e.message}`)}else{warning(`Failed to restore: ${e.message}`)}}}finally{try{if(a){yield unlinkFile(a)}}catch(e){core_debug(`Failed to delete archive: ${e}`)}}return undefined}))}function cache_saveCache(e,t,r){return kp(this,arguments,void 0,(function*(e,t,r,n=false){const s=getCacheServiceVersion();core_debug(`Cache service version: ${s}`);checkPaths(e);checkKey(t);switch(s){case"v2":return yield saveCacheV2(e,t,r,n);case"v1":default:return yield saveCacheV1(e,t,r,n)}}))}function saveCacheV1(e,t,r){return kp(this,arguments,void 0,(function*(e,t,r,n=false){var s,o,a,c,l;const u=yield getCompressionMethod();let A=-1;const d=yield resolvePaths(e);core_debug("Cache Paths:");core_debug(`${JSON.stringify(d)}`);if(d.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 p=yield createTempDirectory();const m=i.join(p,getCacheFileName(u));core_debug(`Archive Path: ${m}`);try{yield createTar(p,d,u);if(isDebug()){yield listTar(m,u)}const i=10*1024*1024*1024;const h=getArchiveFileSizeInBytes(m);core_debug(`File Size: ${h}`);if(h>i&&!isGhes()){throw new Error(`Cache size of ~${Math.round(h/(1024*1024))} MB (${h} B) is over the 10GB limit, not saving cache.`)}core_debug("Reserving Cache");const g=yield reserveCache(t,e,{compressionMethod:u,enableCrossOsArchive:n,cacheSize:h});if((s=g===null||g===void 0?void 0:g.result)===null||s===void 0?void 0:s.cacheId){A=(o=g===null||g===void 0?void 0:g.result)===null||o===void 0?void 0:o.cacheId}else if((g===null||g===void 0?void 0:g.statusCode)===400){throw new Error((c=(a=g===null||g===void 0?void 0:g.error)===null||a===void 0?void 0:a.message)!==null&&c!==void 0?c:`Cache size of ~${Math.round(h/(1024*1024))} MB (${h} B) is over the data cap limit, not saving cache.`)}else{throw new ReserveCacheError(`Unable to reserve cache with key ${t}, another job may be creating this cache. More details: ${(l=g===null||g===void 0?void 0:g.error)===null||l===void 0?void 0:l.message}`)}core_debug(`Saving Cache (ID: ${A})`);yield saveCache(A,m,"",r)}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else if(t.name===ReserveCacheError.name){info(`Failed to save: ${t.message}`)}else{if(t instanceof HttpClientError&&typeof t.statusCode==="number"&&t.statusCode>=500){core_error(`Failed to save: ${t.message}`)}else{warning(`Failed to save: ${t.message}`)}}}finally{try{yield unlinkFile(m)}catch(e){core_debug(`Failed to delete archive: ${e}`)}}return A}))}function saveCacheV2(e,t,r){return kp(this,arguments,void 0,(function*(e,t,r,n=false){r=Object.assign(Object.assign({},r),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:true});const s=yield getCompressionMethod();const o=internalCacheTwirpClient();let a=-1;const c=yield resolvePaths(e);core_debug("Cache Paths:");core_debug(`${JSON.stringify(c)}`);if(c.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 l=yield createTempDirectory();const u=i.join(l,getCacheFileName(s));core_debug(`Archive Path: ${u}`);try{yield createTar(l,c,s);if(isDebug()){yield listTar(u,s)}const i=getArchiveFileSizeInBytes(u);core_debug(`File Size: ${i}`);r.archiveSizeBytes=i;core_debug("Reserving Cache");const A=getCacheVersion(e,s,n);const d={key:t,version:A};let p;try{const e=yield o.CreateCacheEntry(d);if(!e.ok){if(e.message){warning(`Cache reservation failed: ${e.message}`)}throw new Error(e.message||"Response was not ok")}p=e.signedUploadUrl}catch(e){core_debug(`Failed to reserve cache: ${e}`);throw new ReserveCacheError(`Unable to reserve cache with key ${t}, another job may be creating this cache.`)}core_debug(`Attempting to upload cache located at: ${u}`);yield saveCache(a,u,p,r);const m={key:t,version:A,sizeBytes:`${i}`};const h=yield o.FinalizeCacheEntryUpload(m);core_debug(`FinalizeCacheEntryUploadResponse: ${h.ok}`);if(!h.ok){if(h.message){throw new FinalizeCacheError(h.message)}throw new Error(`Unable to finalize cache with key ${t}, another job may be finalizing this cache.`)}a=parseInt(h.entryId)}catch(e){const t=e;if(t.name===ValidationError.name){throw e}else if(t.name===ReserveCacheError.name){info(`Failed to save: ${t.message}`)}else if(t.name===FinalizeCacheError.name){warning(t.message)}else{if(t instanceof HttpClientError&&typeof t.statusCode==="number"&&t.statusCode>=500){core_error(`Failed to save: ${t.message}`)}else{warning(`Failed to save: ${t.message}`)}}}finally{try{yield unlinkFile(u)}catch(e){core_debug(`Failed to delete archive: ${e}`)}}return a}))}class Cache{opts;ghaCacheKey;ghaNoCache;cacheDir;cachePath;static POST_CACHE_KEY="postCache";constructor(e){this.opts=e;this.ghaCacheKey=Ie.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform());this.ghaNoCache=this.opts.ghaNoCache;this.cacheDir=i.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform());this.cachePath=i.join(this.cacheDir,this.opts.cacheFile);if(!A.existsSync(this.cacheDir)){A.mkdirSync(this.cacheDir,{recursive:true})}}async save(e,t){core_debug(`Cache.save ${e}`);const r=this.copyToCache(e);const n=await cacheDir(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform());core_debug(`Cache.save cached to hosted tool cache ${n}`);if(!this.ghaNoCache&&isFeatureAvailable()){if(t){try{core_debug(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`);await cache_saveCache([this.cacheDir],this.ghaCacheKey)}catch(e){warning(`Failed to save cache: ${e}`)}}else{core_debug(`Cache.save sending ${this.ghaCacheKey} to post state`);saveState(Cache.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}))}}return r}async find(){try{let e=find(this.opts.htcName,this.opts.htcVersion,this.platform());if(e){info(`Restored from hosted tool cache ${e}`);return this.copyToCache(`${e}/${this.opts.cacheFile}`)}if(!this.ghaNoCache&&isFeatureAvailable()){core_debug(`GitHub Actions cache feature available`);if(await restoreCache([this.cacheDir],this.ghaCacheKey)){info(`Restored ${this.ghaCacheKey} from GitHub Actions cache`);e=await cacheDir(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform());info(`Cached to hosted tool cache ${e}`);return this.copyToCache(`${e}/${this.opts.cacheFile}`)}}else if(this.ghaNoCache){info(`GitHub Actions cache disabled`)}else{info(`GitHub Actions cache feature not available`)}}catch(e){warning(`Failed to restore cache: ${e}`)}return""}static async post(){const e=getState(Cache.POST_CACHE_KEY);if(!e){info(`State not set`);return Promise.resolve(undefined)}let t;try{t=JSON.parse(e)}catch(e){throw new Error(`Failed to parse cache post state: ${e}`)}if(!t.dir||!t.key){throw new Error(`Invalid cache post state: ${e}`)}try{info(`Caching ${t.key} to GitHub Actions cache`);await cache_saveCache([t.dir],t.key)}catch(e){warning(`Failed to save cache: ${e}`)}return t}copyToCache(e){info(`Copying ${e} to ${this.cachePath}`);A.copyFileSync(e,this.cachePath);return this.cachePath}platform(){const e=process.config.variables.arm_version;return`${c.platform()}-${c.arch()}${e?"v"+e:""}`}}const Dp=!!process.env["STATE_isPost"];if(!Dp){saveState("isPost","true")}async function run(e,t){if(!Dp){try{await e()}catch(e){setFailed(e.message)}}else{if(t){await t()}await group(`Post cache`,(async()=>{await Cache.post()}))}}const _p=e(import.meta.url)("fs/promises");var Pp=__nccwpck_require__(5195);var Lp=__nccwpck_require__(8508);var Mp=__nccwpck_require__(1288);class Context{constructor(){var e,t,r;this.payload={};if(process.env.GITHUB_EVENT_PATH){if((0,A.existsSync)(process.env.GITHUB_EVENT_PATH)){this.payload=JSON.parse((0,A.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}))}else{const e=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${e} does not exist${c.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=(e=process.env.GITHUB_API_URL)!==null&&e!==void 0?e:`https://api.github.com`;this.serverUrl=(t=process.env.GITHUB_SERVER_URL)!==null&&t!==void 0?t:`https://github.com`;this.graphqlUrl=(r=process.env.GITHUB_GRAPHQL_URL)!==null&&r!==void 0?r:`https://api.github.com/graphql`}get issue(){const e=this.payload;return Object.assign(Object.assign({},this.repo),{number:(e.issue||e.pull_request||e).number})}get repo(){if(process.env.GITHUB_REPOSITORY){const[e,t]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:t}}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'")}}var Op=__nccwpck_require__(9659);var Fp=undefined&&undefined.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function fulfilled(e){try{step(n.next(e))}catch(e){s(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){s(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};function getAuthString(e,t){if(!e&&!t.auth){throw new Error("Parameter token or opts.auth is required")}else if(e&&t.auth){throw new Error("Parameters token and opts.auth may not both be specified")}return typeof t.auth==="string"?t.auth:`token ${e}`}function getProxyAgent(e){const t=new Op.HttpClient;return t.getAgent(e)}function getProxyAgentDispatcher(e){const t=new Op.HttpClient;return t.getAgentDispatcher(e)}function getProxyFetch(e){const t=getProxyAgentDispatcher(e);const proxyFetch=(e,r)=>Fp(this,void 0,void 0,(function*(){return(0,f.fetch)(e,Object.assign(Object.assign({},r),{dispatcher:t}))}));return proxyFetch}function getApiBaseUrl(){return process.env["GITHUB_API_URL"]||"https://api.github.com"}function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&process.version!==undefined){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return"<environment undetectable>"}function register(e,t,r,n){if(typeof r!=="function"){throw new Error("method for before hook must be a function")}if(!n){n={}}if(Array.isArray(t)){return t.reverse().reduce(((t,r)=>register.bind(null,e,r,t,n)),r)()}return Promise.resolve().then((()=>{if(!e.registry[t]){return r(n)}return e.registry[t].reduce(((e,t)=>t.hook.bind(null,e,n)),r)()}))}function addHook(e,t,r,n){const s=n;if(!e.registry[r]){e.registry[r]=[]}if(t==="before"){n=(e,t)=>Promise.resolve().then(s.bind(null,t)).then(e.bind(null,t))}if(t==="after"){n=(e,t)=>{let r;return Promise.resolve().then(e.bind(null,t)).then((e=>{r=e;return s(r,t)})).then((()=>r))}}if(t==="error"){n=(e,t)=>Promise.resolve().then(e.bind(null,t)).catch((e=>s(e,t)))}e.registry[r].push({hook:n,orig:s})}function removeHook(e,t,r){if(!e.registry[t]){return}const n=e.registry[t].map((e=>e.orig)).indexOf(r);if(n===-1){return}e.registry[t].splice(n,1)}const Up=Function.bind;const Hp=Up.bind(Up);function bindApi(e,t,r){const n=Hp(removeHook,null).apply(null,r?[t,r]:[t]);e.api={remove:n};e.remove=n;["before","error","after","wrap"].forEach((n=>{const s=r?[t,n,r]:[t,n];e[n]=e.api[n]=Hp(addHook,null).apply(null,s)}))}function Singular(){const e=Symbol("Singular");const t={registry:{}};const r=register.bind(null,t,e);bindApi(r,t,e);return r}function Collection(){const e={registry:{}};const t=register.bind(null,e);bindApi(t,e);return t}const Gp={Singular:Singular,Collection:Collection};var qp="0.0.0-development";var zp=`octokit-endpoint.js/${qp} ${getUserAgent()}`;var Vp={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":zp},mediaType:{format:""}};function dist_bundle_lowercaseKeys(e){if(!e){return{}}return Object.keys(e).reduce(((t,r)=>{t[r.toLowerCase()]=e[r];return t}),{})}function isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const t=Object.getPrototypeOf(e);if(t===null)return true;const r=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r==="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(e)}function mergeDeep(e,t){const r=Object.assign({},e);Object.keys(t).forEach((n=>{if(isPlainObject(t[n])){if(!(n in e))Object.assign(r,{[n]:t[n]});else r[n]=mergeDeep(e[n],t[n])}else{Object.assign(r,{[n]:t[n]})}}));return r}function removeUndefinedProperties(e){for(const t in e){if(e[t]===void 0){delete e[t]}}return e}function merge(e,t,r){if(typeof t==="string"){let[e,n]=t.split(" ");r=Object.assign(n?{method:e,url:n}:{url:e},r)}else{r=Object.assign({},t)}r.headers=dist_bundle_lowercaseKeys(r.headers);removeUndefinedProperties(r);removeUndefinedProperties(r.headers);const n=mergeDeep(e||{},r);if(r.url==="/graphql"){if(e&&e.mediaType.previews?.length){n.mediaType.previews=e.mediaType.previews.filter((e=>!n.mediaType.previews.includes(e))).concat(n.mediaType.previews)}n.mediaType.previews=(n.mediaType.previews||[]).map((e=>e.replace(/-preview/,"")))}return n}function addQueryParameters(e,t){const r=/\?/.test(e)?"&":"?";const n=Object.keys(t);if(n.length===0){return e}return e+r+n.map((e=>{if(e==="q"){return"q="+t.q.split("+").map(encodeURIComponent).join("+")}return`${e}=${encodeURIComponent(t[e])}`})).join("&")}var $p=/\{[^{}}]+\}/g;function removeNonChars(e){return e.replace(/(?:^\W+)|(?:(?<!\W)\W+$)/g,"").split(/,/)}function extractUrlVariableNames(e){const t=e.match($p);if(!t){return[]}return t.map(removeNonChars).reduce(((e,t)=>e.concat(t)),[])}function omit(e,t){const r={__proto__:null};for(const n of Object.keys(e)){if(t.indexOf(n)===-1){r[n]=e[n]}}return r}function encodeReserved(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map((function(e){if(!/%[0-9A-Fa-f]/.test(e)){e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")}return e})).join("")}function encodeUnreserved(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function encodeValue(e,t,r){t=e==="+"||e==="#"?encodeReserved(t):encodeUnreserved(t);if(r){return encodeUnreserved(r)+"="+t}else{return t}}function isDefined(e){return e!==void 0&&e!==null}function isKeyOperator(e){return e===";"||e==="&"||e==="?"}function getValues(e,t,r,n){var s=e[r],o=[];if(isDefined(s)&&s!==""){if(typeof s==="string"||typeof s==="number"||typeof s==="bigint"||typeof s==="boolean"){s=s.toString();if(n&&n!=="*"){s=s.substring(0,parseInt(n,10))}o.push(encodeValue(t,s,isKeyOperator(t)?r:""))}else{if(n==="*"){if(Array.isArray(s)){s.filter(isDefined).forEach((function(e){o.push(encodeValue(t,e,isKeyOperator(t)?r:""))}))}else{Object.keys(s).forEach((function(e){if(isDefined(s[e])){o.push(encodeValue(t,s[e],e))}}))}}else{const e=[];if(Array.isArray(s)){s.filter(isDefined).forEach((function(r){e.push(encodeValue(t,r))}))}else{Object.keys(s).forEach((function(r){if(isDefined(s[r])){e.push(encodeUnreserved(r));e.push(encodeValue(t,s[r].toString()))}}))}if(isKeyOperator(t)){o.push(encodeUnreserved(r)+"="+e.join(","))}else if(e.length!==0){o.push(e.join(","))}}}}else{if(t===";"){if(isDefined(s)){o.push(encodeUnreserved(r))}}else if(s===""&&(t==="&"||t==="?")){o.push(encodeUnreserved(r)+"=")}else if(s===""){o.push("")}}return o}function parseUrl(e){return{expand:expand.bind(null,e)}}function expand(e,t){var r=["+","#",".","/",";","?","&"];e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,(function(e,n,s){if(n){let e="";const s=[];if(r.indexOf(n.charAt(0))!==-1){e=n.charAt(0);n=n.substr(1)}n.split(/,/g).forEach((function(r){var n=/([^:\*]*)(?::(\d+)|(\*))?/.exec(r);s.push(getValues(t,e,n[1],n[2]||n[3]))}));if(e&&e!=="+"){var o=",";if(e==="?"){o="&"}else if(e!=="#"){o=e}return(s.length!==0?e:"")+s.join(o)}else{return s.join(",")}}else{return encodeReserved(s)}}));if(e==="/"){return e}else{return e.replace(/\/$/,"")}}function dist_bundle_parse(e){let t=e.method.toUpperCase();let r=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let n=Object.assign({},e.headers);let s;let o=omit(e,["method","baseUrl","url","headers","request","mediaType"]);const i=extractUrlVariableNames(r);r=parseUrl(r).expand(o);if(!/^http/.test(r)){r=e.baseUrl+r}const a=Object.keys(e).filter((e=>i.includes(e))).concat("baseUrl");const c=omit(o,a);const l=/application\/octet-stream/i.test(n.accept);if(!l){if(e.mediaType.format){n.accept=n.accept.split(/,/).map((t=>t.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`))).join(",")}if(r.endsWith("/graphql")){if(e.mediaType.previews?.length){const t=n.accept.match(/(?<![\w-])[\w-]+(?=-preview)/g)||[];n.accept=t.concat(e.mediaType.previews).map((t=>{const r=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${t}-preview${r}`})).join(",")}}}if(["GET","HEAD"].includes(t)){r=addQueryParameters(r,c)}else{if("data"in c){s=c.data}else{if(Object.keys(c).length){s=c}}}if(!n["content-type"]&&typeof s!=="undefined"){n["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(t)&&typeof s==="undefined"){s=""}return Object.assign({method:t,url:r,headers:n},typeof s!=="undefined"?{body:s}:null,e.request?{request:e.request}:null)}function endpointWithDefaults(e,t,r){return dist_bundle_parse(merge(e,t,r))}function withDefaults(e,t){const r=merge(e,t);const n=endpointWithDefaults.bind(null,r);return Object.assign(n,{DEFAULTS:r,defaults:withDefaults.bind(null,r),merge:merge.bind(null,r),parse:dist_bundle_parse})}var Jp=withDefaults(null,Vp);var Yp=__nccwpck_require__(1120);const Wp=/^-?\d+n+$/;const jp=JSON.stringify;const Kp=JSON.parse;const JSONStringify=(e,t,r)=>{if("rawJSON"in JSON){return jp(e,((e,r)=>{if(typeof r==="bigint")return JSON.rawJSON(r.toString());if(typeof t==="function")return t(e,r);if(Array.isArray(t)&&t.includes(e))return r;return r}),r)}if(!e)return jp(e,t,r);const n=/([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g;const s=/([\[:])?("-?\d+n+)n("$|"([\\n]|\s)*(\s|[\\n])*[,\}\]])/g;const o=jp(e,((e,r)=>{const n=typeof r==="string"&&Boolean(r.match(Wp));if(n)return r.toString()+"n";if(typeof r==="bigint")return r.toString()+"n";if(typeof t==="function")return t(e,r);if(Array.isArray(t)&&t.includes(e))return r;return r}),r);const i=o.replace(n,"$1$2$3");const a=i.replace(s,"$1$2$3");return a};const isContextSourceSupported=()=>JSON.parse("1",((e,t,r)=>!!r&&r.source==="1"));const JSONParseV2=(e,t)=>{const r=/^-?\d+$/;return JSON.parse(e,((e,n,s)=>{const o=typeof n==="number"&&(n>Number.MAX_SAFE_INTEGER||n<Number.MIN_SAFE_INTEGER);const i=r.test(s.source);const a=o&&i;if(a)return BigInt(s.source);if(typeof t!=="function")return n;return t(e,n,s)}))};const JSONParse=(e,t)=>{if(!e)return Kp(e,t);if(isContextSourceSupported())return JSONParseV2(e,t);const r=Number.MAX_SAFE_INTEGER.toString();const n=r.length;const s=/"(?:\\.|[^"])*"|-?(0|[1-9][0-9]*)(\.[0-9]+)?([eE][+-]?[0-9]+)?/g;const o=/^"-?\d+n+"$/;const i=/^-?\d+n$/;const a=e.replace(s,((e,t,s,i)=>{const a=e[0]==='"';const c=a&&Boolean(e.match(o));if(c)return e.substring(0,e.length-1)+'n"';const l=s||i;const u=t&&(t.length<n||t.length===n&&t<=r);if(a||l||u)return e;return'"'+e+'n"'}));return Kp(a,((e,r,n)=>{const s=typeof r==="string"&&Boolean(r.match(i));if(s)return BigInt(r.substring(0,r.length-1));const o=typeof r==="string"&&Boolean(r.match(Wp));if(o)return r.substring(0,r.length-1);if(typeof t!=="function")return r;return t(e,r,n)}))};class RequestError extends Error{name;status;request;response;constructor(e,t,r){super(e,{cause:r.cause});this.name="HttpError";this.status=Number.parseInt(t);if(Number.isNaN(this.status)){this.status=0}
/* v8 ignore else -- @preserve -- Bug with vitest coverage where it sees an else branch that doesn't exist */if("response"in r){this.response=r.response}const n=Object.assign({},r.request);if(r.request.headers.authorization){n.headers=Object.assign({},r.request.headers,{authorization:r.request.headers.authorization.replace(/(?<! ) .*$/," [REDACTED]")})}n.url=n.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=n}}var Xp="10.0.8";var Zp={headers:{"user-agent":`octokit-request.js/${Xp} ${getUserAgent()}`}};function dist_bundle_isPlainObject(e){if(typeof e!=="object"||e===null)return false;if(Object.prototype.toString.call(e)!=="[object Object]")return false;const t=Object.getPrototypeOf(e);if(t===null)return true;const r=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r==="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(e)}var noop=()=>"";async function fetchWrapper(e){const t=e.request?.fetch||globalThis.fetch;if(!t){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")}const r=e.request?.log||console;const n=e.request?.parseSuccessResponseBody!==false;const s=dist_bundle_isPlainObject(e.body)||Array.isArray(e.body)?JSONStringify(e.body):e.body;const o=Object.fromEntries(Object.entries(e.headers).map((([e,t])=>[e,String(t)])));let i;try{i=await t(e.url,{method:e.method,body:s,redirect:e.request?.redirect,headers:o,signal:e.request?.signal,...e.body&&{duplex:"half"}})}catch(t){let r="Unknown Error";if(t instanceof Error){if(t.name==="AbortError"){t.status=500;throw t}r=t.message;if(t.name==="TypeError"&&"cause"in t){if(t.cause instanceof Error){r=t.cause.message}else if(typeof t.cause==="string"){r=t.cause}}}const n=new RequestError(r,500,{request:e});n.cause=t;throw n}const a=i.status;const c=i.url;const l={};for(const[e,t]of i.headers){l[e]=t}const u={url:c,status:a,headers:l,data:""};if("deprecation"in l){const t=l.link&&l.link.match(/<([^<>]+)>; rel="deprecation"/);const n=t&&t.pop();r.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${l.sunset}${n?`. See ${n}`:""}`)}if(a===204||a===205){return u}if(e.method==="HEAD"){if(a<400){return u}throw new RequestError(i.statusText,a,{response:u,request:e})}if(a===304){u.data=await getResponseData(i);throw new RequestError("Not modified",a,{response:u,request:e})}if(a>=400){u.data=await getResponseData(i);throw new RequestError(toErrorMessage(u.data),a,{response:u,request:e})}u.data=n?await getResponseData(i):i.body;return u}async function getResponseData(e){const t=e.headers.get("content-type");if(!t){return e.text().catch(noop)}const r=(0,Yp.xL)(t);if(isJSONResponse(r)){let t="";try{t=await e.text();return JSONParse(t)}catch(e){return t}}else if(r.type.startsWith("text/")||r.parameters.charset?.toLowerCase()==="utf-8"){return e.text().catch(noop)}else{return e.arrayBuffer().catch((
/* v8 ignore next -- @preserve */
()=>new ArrayBuffer(0)))}}function isJSONResponse(e){return e.type==="application/json"||e.type==="application/scim+json"}function toErrorMessage(e){if(typeof e==="string"){return e}if(e instanceof ArrayBuffer){return"Unknown error"}if("message"in e){const t="documentation_url"in e?` - ${e.documentation_url}`:"";return Array.isArray(e.errors)?`${e.message}: ${e.errors.map((e=>JSON.stringify(e))).join(", ")}${t}`:`${e.message}${t}`}return`Unknown error: ${JSON.stringify(e)}`}function dist_bundle_withDefaults(e,t){const r=e.defaults(t);const newApi=function(e,t){const n=r.merge(e,t);if(!n.request||!n.request.hook){return fetchWrapper(r.parse(n))}const request2=(e,t)=>fetchWrapper(r.parse(r.merge(e,t)));Object.assign(request2,{endpoint:r,defaults:dist_bundle_withDefaults.bind(null,r)});return n.request.hook(request2,n)};return Object.assign(newApi,{endpoint:r,defaults:dist_bundle_withDefaults.bind(null,r)})}var em=dist_bundle_withDefaults(Jp,Zp);
/* v8 ignore next -- @preserve */
/* v8 ignore else -- @preserve */var tm="0.0.0-development";function _buildMessageForResponseErrors(e){return`Request failed due to following response errors:\n`+e.errors.map((e=>` - ${e.message}`)).join("\n")}var rm=class extends Error{constructor(e,t,r){super(_buildMessageForResponseErrors(r));this.request=e;this.headers=t;this.response=r;this.errors=r.errors;this.data=r.data;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}name="GraphqlResponseError";errors;data};var nm=["method","baseUrl","url","headers","request","query","mediaType","operationName"];var sm=["query","method","url"];var om=/\/api\/v3\/?$/;function graphql(e,t,r){if(r){if(typeof t==="string"&&"query"in r){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}for(const e in r){if(!sm.includes(e))continue;return Promise.reject(new Error(`[@octokit/graphql] "${e}" cannot be used as variable name`))}}const n=typeof t==="string"?Object.assign({query:t},r):t;const s=Object.keys(n).reduce(((e,t)=>{if(nm.includes(t)){e[t]=n[t];return e}if(!e.variables){e.variables={}}e.variables[t]=n[t];return e}),{});const o=n.baseUrl||e.endpoint.DEFAULTS.baseUrl;if(om.test(o)){s.url=o.replace(om,"/api/graphql")}return e(s).then((e=>{if(e.data.errors){const t={};for(const r of Object.keys(e.headers)){t[r]=e.headers[r]}throw new rm(s,t,e.data)}return e.data.data}))}function graphql_dist_bundle_withDefaults(e,t){const r=e.defaults(t);const newApi=(e,t)=>graphql(r,e,t);return Object.assign(newApi,{defaults:graphql_dist_bundle_withDefaults.bind(null,r),endpoint:r.endpoint})}var im=graphql_dist_bundle_withDefaults(em,{headers:{"user-agent":`octokit-graphql.js/${tm} ${getUserAgent()}`},method:"POST",url:"/graphql"});function withCustomRequest(e){return graphql_dist_bundle_withDefaults(e,{method:"POST",url:"/graphql"})}var am="(?:[a-zA-Z0-9_-]+)";var cm="\\.";var lm=new RegExp(`^${am}${cm}${am}${cm}${am}$`);var um=lm.test.bind(lm);async function auth(e){const t=um(e);const r=e.startsWith("v1.")||e.startsWith("ghs_");const n=e.startsWith("ghu_");const s=t?"app":r?"installation":n?"user-to-server":"oauth";return{type:"token",token:e,tokenType:s}}function withAuthorizationPrefix(e){if(e.split(/\./).length===3){return`bearer ${e}`}return`token ${e}`}async function hook(e,t,r,n){const s=t.endpoint.merge(r,n);s.headers.authorization=withAuthorizationPrefix(e);return t(s)}var Am=function createTokenAuth2(e){if(!e){throw new Error("[@octokit/auth-token] No token passed to createTokenAuth")}if(typeof e!=="string"){throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string")}e=e.replace(/^(token|bearer) +/i,"");return Object.assign(auth.bind(null,e),{hook:hook.bind(null,e)})};const dm="7.0.6";const dist_src_noop=()=>{};const hm=console.warn.bind(console);const gm=console.error.bind(console);function createLogger(e={}){if(typeof e.debug!=="function"){e.debug=dist_src_noop}if(typeof e.info!=="function"){e.info=dist_src_noop}if(typeof e.warn!=="function"){e.warn=hm}if(typeof e.error!=="function"){e.error=gm}return e}const fm=`octokit-core.js/${dm} ${getUserAgent()}`;class Octokit{static VERSION=dm;static defaults(e){const t=class extends(this){constructor(...t){const r=t[0]||{};if(typeof e==="function"){super(e(r));return}super(Object.assign({},e,r,r.userAgent&&e.userAgent?{userAgent:`${r.userAgent} ${e.userAgent}`}:null))}};return t}static plugins=[];static plugin(...e){const t=this.plugins;const r=class extends(this){static plugins=t.concat(e.filter((e=>!t.includes(e))))};return r}constructor(e={}){const t=new Gp.Collection;const r={baseUrl:em.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:t.bind(null,"request")}),mediaType:{previews:[],format:""}};r.headers["user-agent"]=e.userAgent?`${e.userAgent} ${fm}`:fm;if(e.baseUrl){r.baseUrl=e.baseUrl}if(e.previews){r.mediaType.previews=e.previews}if(e.timeZone){r.headers["time-zone"]=e.timeZone}this.request=em.defaults(r);this.graphql=withCustomRequest(this.request).defaults(r);this.log=createLogger(e.log);this.hook=t;if(!e.authStrategy){if(!e.auth){this.auth=async()=>({type:"unauthenticated"})}else{const r=Am(e.auth);t.wrap("request",r.hook);this.auth=r}}else{const{authStrategy:r,...n}=e;const s=r(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:n},e.auth));t.wrap("request",s.hook);this.auth=s}const n=this.constructor;for(let t=0;t<n.plugins.length;++t){Object.assign(this,n.plugins[t](this,e))}}request;graphql;log;hook;auth}const Em="17.0.0";const ym={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addRepoAccessToSelfHostedRunnerGroupInOrg:["PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}"],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 /repos/{owner}/{repo}/environments/{environment_name}/variables"],createHostedRunnerForOrg:["POST /orgs/{org}/actions/hosted-runners"],createOrUpdateEnvironmentSecret:["PUT /repos/{owner}/{repo}/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}"],deleteCustomImageFromOrg:["DELETE /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}"],deleteCustomImageVersionFromOrg:["DELETE /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}"],deleteEnvironmentSecret:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],deleteHostedRunnerForOrg:["DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"],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}"],getCustomImageForOrg:["GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}"],getCustomImageVersionForOrg:["GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions/{version}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repos/{owner}/{repo}/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"],getHostedRunnerForOrg:["GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"],getHostedRunnersGithubOwnedImagesForOrg:["GET /orgs/{org}/actions/hosted-runners/images/github-owned"],getHostedRunnersLimitsForOrg:["GET /orgs/{org}/actions/hosted-runners/limits"],getHostedRunnersMachineSpecsForOrg:["GET /orgs/{org}/actions/hosted-runners/machine-sizes"],getHostedRunnersPartnerImagesForOrg:["GET /orgs/{org}/actions/hosted-runners/images/partner"],getHostedRunnersPlatformsForOrg:["GET /orgs/{org}/actions/hosted-runners/platforms"],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"],listCustomImageVersionsForOrg:["GET /orgs/{org}/actions/hosted-runners/images/custom/{image_definition_id}/versions"],listCustomImagesForOrg:["GET /orgs/{org}/actions/hosted-runners/images/custom"],listEnvironmentSecrets:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repos/{owner}/{repo}/environments/{environment_name}/variables"],listGithubHostedRunnersInGroupForOrg:["GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners"],listHostedRunnersForOrg:["GET /orgs/{org}/actions/hosted-runners"],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 /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],updateHostedRunnerForOrg:["PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"],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"],getGithubBillingPremiumRequestUsageReportOrg:["GET /organizations/{org}/settings/billing/premium_request/usage"],getGithubBillingPremiumRequestUsageReportUser:["GET /users/{username}/settings/billing/premium_request/usage"],getGithubBillingUsageReportOrg:["GET /organizations/{org}/settings/billing/usage"],getGithubBillingUsageReportUser:["GET /users/{username}/settings/billing/usage"],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"]},campaigns:{createCampaign:["POST /orgs/{org}/campaigns"],deleteCampaign:["DELETE /orgs/{org}/campaigns/{campaign_number}"],getCampaignSummary:["GET /orgs/{org}/campaigns/{campaign_number}"],listOrgCampaigns:["GET /orgs/{org}/campaigns"],updateCampaign:["PATCH /orgs/{org}/campaigns/{campaign_number}"]},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:{commitAutofix:["POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix/commits"],createAutofix:["POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix"],createVariantAnalysis:["POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses"],deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],deleteCodeqlDatabase:["DELETE /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],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}"],getAutofix:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix"],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}"],getVariantAnalysis:["GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}"],getVariantAnalysisRepoTask:["GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}"],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"]},codeSecurity:{attachConfiguration:["POST /orgs/{org}/code-security/configurations/{configuration_id}/attach"],attachEnterpriseConfiguration:["POST /enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach"],createConfiguration:["POST /orgs/{org}/code-security/configurations"],createConfigurationForEnterprise:["POST /enterprises/{enterprise}/code-security/configurations"],deleteConfiguration:["DELETE /orgs/{org}/code-security/configurations/{configuration_id}"],deleteConfigurationForEnterprise:["DELETE /enterprises/{enterprise}/code-security/configurations/{configuration_id}"],detachConfiguration:["DELETE /orgs/{org}/code-security/configurations/detach"],getConfiguration:["GET /orgs/{org}/code-security/configurations/{configuration_id}"],getConfigurationForRepository:["GET /repos/{owner}/{repo}/code-security-configuration"],getConfigurationsForEnterprise:["GET /enterprises/{enterprise}/code-security/configurations"],getConfigurationsForOrg:["GET /orgs/{org}/code-security/configurations"],getDefaultConfigurations:["GET /orgs/{org}/code-security/configurations/defaults"],getDefaultConfigurationsForEnterprise:["GET /enterprises/{enterprise}/code-security/configurations/defaults"],getRepositoriesForConfiguration:["GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories"],getRepositoriesForEnterpriseConfiguration:["GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories"],getSingleConfigurationForEnterprise:["GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}"],setConfigurationAsDefault:["PUT /orgs/{org}/code-security/configurations/{configuration_id}/defaults"],setConfigurationAsDefaultForEnterprise:["PUT /enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults"],updateConfiguration:["PATCH /orgs/{org}/code-security/configurations/{configuration_id}"],updateEnterpriseConfiguration:["PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id}"]},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"],copilotMetricsForOrganization:["GET /orgs/{org}/copilot/metrics"],copilotMetricsForTeam:["GET /orgs/{org}/team/{team_slug}/copilot/metrics"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"]},credentials:{revoke:["POST /credentials/revoke"]},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}"],repositoryAccessForOrg:["GET /organizations/{org}/dependabot/repository-access"],setRepositoryAccessDefaultLevel:["PUT /organizations/{org}/dependabot/repository-access/default-level"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],updateRepositoryAccessForOrg:["PATCH /organizations/{org}/dependabot/repository-access"]},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"]},enterpriseTeamMemberships:{add:["PUT /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}"],bulkAdd:["POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/add"],bulkRemove:["POST /enterprises/{enterprise}/teams/{enterprise-team}/memberships/remove"],get:["GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}"],list:["GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships"],remove:["DELETE /enterprises/{enterprise}/teams/{enterprise-team}/memberships/{username}"]},enterpriseTeamOrganizations:{add:["PUT /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}"],bulkAdd:["POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/add"],bulkRemove:["POST /enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove"],delete:["DELETE /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}"],getAssignment:["GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}"],getAssignments:["GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations"]},enterpriseTeams:{create:["POST /enterprises/{enterprise}/teams"],delete:["DELETE /enterprises/{enterprise}/teams/{team_slug}"],get:["GET /enterprises/{enterprise}/teams/{team_slug}"],list:["GET /enterprises/{enterprise}/teams"],update:["PATCH /enterprises/{enterprise}/teams/{team_slug}"]},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}"]},hostedCompute:{createNetworkConfigurationForOrg:["POST /orgs/{org}/settings/network-configurations"],deleteNetworkConfigurationFromOrg:["DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}"],getNetworkConfigurationForOrg:["GET /orgs/{org}/settings/network-configurations/{network_configuration_id}"],getNetworkSettingsForOrg:["GET /orgs/{org}/settings/network-settings/{network_settings_id}"],listNetworkConfigurationsForOrg:["GET /orgs/{org}/settings/network-configurations"],updateNetworkConfigurationForOrg:["PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}"]},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"],addBlockedByDependency:["POST /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],addSubIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues"],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}"],getParent:["GET /repos/{owner}/{repo}/issues/{issue_number}/parent"],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"],listDependenciesBlockedBy:["GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by"],listDependenciesBlocking:["GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocking"],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"],listSubIssues:["GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues"],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"],removeDependencyBlockedBy:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocked_by/{issue_id}"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],removeSubIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/sub_issue"],reprioritizeSubIssue:["PATCH /repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority"],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:{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"],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"]}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"]},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}",{},{deprecated:"octokit.rest.orgs.addSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team"}],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}"],createArtifactStorageRecord:["POST /orgs/{org}/artifacts/metadata/storage-record"],createInvitation:["POST /orgs/{org}/invitations"],createIssueType:["POST /orgs/{org}/issue-types"],createWebhook:["POST /orgs/{org}/hooks"],customPropertiesForOrgsCreateOrUpdateOrganizationValues:["PATCH /organizations/{org}/org-properties/values"],customPropertiesForOrgsGetOrganizationValues:["GET /organizations/{org}/org-properties/values"],customPropertiesForReposCreateOrUpdateOrganizationDefinition:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],customPropertiesForReposCreateOrUpdateOrganizationDefinitions:["PATCH /orgs/{org}/properties/schema"],customPropertiesForReposCreateOrUpdateOrganizationValues:["PATCH /orgs/{org}/properties/values"],customPropertiesForReposDeleteOrganizationDefinition:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],customPropertiesForReposGetOrganizationDefinition:["GET /orgs/{org}/properties/schema/{custom_property_name}"],customPropertiesForReposGetOrganizationDefinitions:["GET /orgs/{org}/properties/schema"],customPropertiesForReposGetOrganizationValues:["GET /orgs/{org}/properties/values"],delete:["DELETE /orgs/{org}"],deleteAttestationsBulk:["POST /orgs/{org}/attestations/delete-request"],deleteAttestationsById:["DELETE /orgs/{org}/attestations/{attestation_id}"],deleteAttestationsBySubjectDigest:["DELETE /orgs/{org}/attestations/digest/{subject_digest}"],deleteIssueType:["DELETE /orgs/{org}/issue-types/{issue_type_id}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],disableSelectedRepositoryImmutableReleasesOrganization:["DELETE /orgs/{org}/settings/immutable-releases/repositories/{repository_id}"],enableSelectedRepositoryImmutableReleasesOrganization:["PUT /orgs/{org}/settings/immutable-releases/repositories/{repository_id}"],get:["GET /orgs/{org}"],getImmutableReleasesSettings:["GET /orgs/{org}/settings/immutable-releases"],getImmutableReleasesSettingsRepositories:["GET /orgs/{org}/settings/immutable-releases/repositories"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],getOrgRulesetHistory:["GET /orgs/{org}/rulesets/{ruleset_id}/history"],getOrgRulesetVersion:["GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_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"],listArtifactStorageRecords:["GET /orgs/{org}/artifacts/{subject_digest}/metadata/storage-records"],listAttestationRepositories:["GET /orgs/{org}/attestations/repositories"],listAttestations:["GET /orgs/{org}/attestations/{subject_digest}"],listAttestationsBulk:["POST /orgs/{org}/attestations/bulk-list{?per_page,before,after}"],listBlockedUsers:["GET /orgs/{org}/blocks"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listIssueTypes:["GET /orgs/{org}/issue-types"],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",{},{deprecated:"octokit.rest.orgs.listSecurityManagerTeams() is deprecated, see https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams"}],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],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}",{},{deprecated:"octokit.rest.orgs.removeSecurityManagerTeam() is deprecated, see https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team"}],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}"],setImmutableReleasesSettings:["PUT /orgs/{org}/settings/immutable-releases"],setImmutableReleasesSettingsRepositories:["PUT /orgs/{org}/settings/immutable-releases/repositories"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateIssueType:["PUT /orgs/{org}/issue-types/{issue_type_id}"],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"]},privateRegistries:{createOrgPrivateRegistry:["POST /orgs/{org}/private-registries"],deleteOrgPrivateRegistry:["DELETE /orgs/{org}/private-registries/{secret_name}"],getOrgPrivateRegistry:["GET /orgs/{org}/private-registries/{secret_name}"],getOrgPublicKey:["GET /orgs/{org}/private-registries/public-key"],listOrgPrivateRegistries:["GET /orgs/{org}/private-registries"],updateOrgPrivateRegistry:["PATCH /orgs/{org}/private-registries/{secret_name}"]},projects:{addItemForOrg:["POST /orgs/{org}/projectsV2/{project_number}/items"],addItemForUser:["POST /users/{username}/projectsV2/{project_number}/items"],deleteItemForOrg:["DELETE /orgs/{org}/projectsV2/{project_number}/items/{item_id}"],deleteItemForUser:["DELETE /users/{username}/projectsV2/{project_number}/items/{item_id}"],getFieldForOrg:["GET /orgs/{org}/projectsV2/{project_number}/fields/{field_id}"],getFieldForUser:["GET /users/{username}/projectsV2/{project_number}/fields/{field_id}"],getForOrg:["GET /orgs/{org}/projectsV2/{project_number}"],getForUser:["GET /users/{username}/projectsV2/{project_number}"],getOrgItem:["GET /orgs/{org}/projectsV2/{project_number}/items/{item_id}"],getUserItem:["GET /users/{username}/projectsV2/{project_number}/items/{item_id}"],listFieldsForOrg:["GET /orgs/{org}/projectsV2/{project_number}/fields"],listFieldsForUser:["GET /users/{username}/projectsV2/{project_number}/fields"],listForOrg:["GET /orgs/{org}/projectsV2"],listForUser:["GET /users/{username}/projectsV2"],listItemsForOrg:["GET /orgs/{org}/projectsV2/{project_number}/items"],listItemsForUser:["GET /users/{username}/projectsV2/{project_number}/items"],updateItemForOrg:["PATCH /orgs/{org}/projectsV2/{project_number}/items/{item_id}"],updateItemForUser:["PATCH /users/{username}/projectsV2/{project_number}/items/{item_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}"],checkImmutableReleases:["GET /repos/{owner}/{repo}/immutable-releases"],checkPrivateVulnerabilityReporting:["GET /repos/{owner}/{repo}/private-vulnerability-reporting"],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}"],createAttestation:["POST /repos/{owner}/{repo}/attestations"],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"],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"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],customPropertiesForReposCreateOrUpdateRepositoryValues:["PATCH /repos/{owner}/{repo}/properties/values"],customPropertiesForReposGetRepositoryValues:["GET /repos/{owner}/{repo}/properties/values"],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}"],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}"],disableImmutableReleases:["DELETE /repos/{owner}/{repo}/immutable-releases"],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"],enableImmutableReleases:["PUT /repos/{owner}/{repo}/immutable-releases"],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}"],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}"],getRepoRulesetHistory:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history"],getRepoRulesetVersion:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_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"],listAttestations:["GET /repos/{owner}/{repo}/attestations/{subject_digest}"],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"],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:{createPushProtectionBypass:["POST /repos/{owner}/{repo}/secret-scanning/push-protection-bypasses"],getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],getScanHistory:["GET /repos/{owner}/{repo}/secret-scanning/scan-history"],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"],listOrgPatternConfigs:["GET /orgs/{org}/secret-scanning/pattern-configurations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],updateOrgPatternConfigs:["PATCH /orgs/{org}/secret-scanning/pattern-configurations"]},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}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],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"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],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"],deleteAttestationsBulk:["POST /users/{username}/attestations/delete-request"],deleteAttestationsById:["DELETE /users/{username}/attestations/{attestation_id}"],deleteAttestationsBySubjectDigest:["DELETE /users/{username}/attestations/digest/{subject_digest}"],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"],getById:["GET /user/{account_id}"],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"],listAttestations:["GET /users/{username}/attestations/{subject_digest}"],listAttestationsBulk:["POST /users/{username}/attestations/bulk-list{?per_page,before,after}"],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 Cm=ym;const Im=new Map;for(const[e,t]of Object.entries(Cm)){for(const[r,n]of Object.entries(t)){const[t,s,o]=n;const[i,a]=t.split(/ /);const c=Object.assign({method:i,url:a},s);if(!Im.has(e)){Im.set(e,new Map)}Im.get(e).set(r,{scope:e,methodName:r,endpointDefaults:c,decorations:o})}}const Bm={has({scope:e},t){return Im.get(e).has(t)},getOwnPropertyDescriptor(e,t){return{value:this.get(e,t),configurable:true,writable:true,enumerable:true}},defineProperty(e,t,r){Object.defineProperty(e.cache,t,r);return true},deleteProperty(e,t){delete e.cache[t];return true},ownKeys({scope:e}){return[...Im.get(e).keys()]},set(e,t,r){return e.cache[t]=r},get({octokit:e,scope:t,cache:r},n){if(r[n]){return r[n]}const s=Im.get(t).get(n);if(!s){return void 0}const{endpointDefaults:o,decorations:i}=s;if(i){r[n]=decorate(e,t,n,o,i)}else{r[n]=e.request.defaults(o)}return r[n]}};function endpointsToMethods(e){const t={};for(const r of Im.keys()){t[r]=new Proxy({octokit:e,scope:r,cache:{}},Bm)}return t}function decorate(e,t,r,n,s){const o=e.request.defaults(n);function withDecorations(...n){let i=o.endpoint.merge(...n);if(s.mapToData){i=Object.assign({},i,{data:i[s.mapToData],[s.mapToData]:void 0});return o(i)}if(s.renamed){const[n,o]=s.renamed;e.log.warn(`octokit.${t}.${r}() has been renamed to octokit.${n}.${o}()`)}if(s.deprecated){e.log.warn(s.deprecated)}if(s.renamedParameters){const i=o.endpoint.merge(...n);for(const[n,o]of Object.entries(s.renamedParameters)){if(n in i){e.log.warn(`"${n}" parameter is deprecated for "octokit.${t}.${r}()". Use "${o}" instead`);if(!(o in i)){i[o]=i[n]}delete i[n]}}return o(i)}return o(...n)}return Object.assign(withDecorations,o)}function restEndpointMethods(e){const t=endpointsToMethods(e);return{rest:t}}restEndpointMethods.VERSION=Em;function legacyRestEndpointMethods(e){const t=endpointsToMethods(e);return{...t,rest:t}}legacyRestEndpointMethods.VERSION=Em;var bm="0.0.0-development";function normalizePaginatedListResponse(e){if(!e.data){return{...e,data:[]}}const t=("total_count"in e.data||"total_commits"in e.data)&&!("url"in e.data);if(!t)return e;const r=e.data.incomplete_results;const n=e.data.repository_selection;const s=e.data.total_count;const o=e.data.total_commits;delete e.data.incomplete_results;delete e.data.repository_selection;delete e.data.total_count;delete e.data.total_commits;const i=Object.keys(e.data)[0];const a=e.data[i];e.data=a;if(typeof r!=="undefined"){e.data.incomplete_results=r}if(typeof n!=="undefined"){e.data.repository_selection=n}e.data.total_count=s;e.data.total_commits=o;return e}function iterator(e,t,r){const n=typeof t==="function"?t.endpoint(r):e.request.endpoint(t,r);const s=typeof t==="function"?t:e.request;const o=n.method;const i=n.headers;let a=n.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!a)return{done:true};try{const e=await s({method:o,url:a,headers:i});const t=normalizePaginatedListResponse(e);a=((t.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1];if(!a&&"total_commits"in t.data){const e=new URL(t.url);const r=e.searchParams;const n=parseInt(r.get("page")||"1",10);const s=parseInt(r.get("per_page")||"250",10);if(n*s<t.data.total_commits){r.set("page",String(n+1));a=e.toString()}}return{value:t}}catch(e){if(e.status!==409)throw e;a="";return{value:{status:200,headers:{},data:[]}}}}})}}function paginate(e,t,r,n){if(typeof r==="function"){n=r;r=void 0}return gather(e,[],iterator(e,t,r)[Symbol.asyncIterator](),n)}function gather(e,t,r,n){return r.next().then((s=>{if(s.done){return t}let o=false;function done(){o=true}t=t.concat(n?n(s.value,done):s.value.data);if(o){return t}return gather(e,t,r,n)}))}var wm=Object.assign(paginate,{iterator:iterator});var Sm=null&&["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}/code-security/configurations","GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories","GET /enterprises/{enterprise}/dependabot/alerts","GET /enterprises/{enterprise}/teams","GET /enterprises/{enterprise}/teams/{enterprise-team}/memberships","GET /enterprises/{enterprise}/teams/{enterprise-team}/organizations","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 /organizations/{org}/dependabot/repository-access","GET /orgs/{org}/actions/cache/usage-by-repository","GET /orgs/{org}/actions/hosted-runners","GET /orgs/{org}/actions/permissions/repositories","GET /orgs/{org}/actions/permissions/self-hosted-runners/repositories","GET /orgs/{org}/actions/runner-groups","GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners","GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories","GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners","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}/attestations/repositories","GET /orgs/{org}/attestations/{subject_digest}","GET /orgs/{org}/blocks","GET /orgs/{org}/campaigns","GET /orgs/{org}/code-scanning/alerts","GET /orgs/{org}/code-security/configurations","GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories","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}/copilot/metrics","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}/insights/api/route-stats/{actor_type}/{actor_id}","GET /orgs/{org}/insights/api/subject-stats","GET /orgs/{org}/insights/api/user-stats/{user_id}","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}/private-registries","GET /orgs/{org}/projects","GET /orgs/{org}/projectsV2","GET /orgs/{org}/projectsV2/{project_number}/fields","GET /orgs/{org}/projectsV2/{project_number}/items","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}/rulesets/{ruleset_id}/history","GET /orgs/{org}/secret-scanning/alerts","GET /orgs/{org}/security-advisories","GET /orgs/{org}/settings/immutable-releases/repositories","GET /orgs/{org}/settings/network-configurations","GET /orgs/{org}/team/{team_slug}/copilot/metrics","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/{project_id}/collaborators","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}/attestations/{subject_digest}","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}/compare/{basehead}","GET /repos/{owner}/{repo}/compare/{base}...{head}","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}/environments/{environment_name}/secrets","GET /repos/{owner}/{repo}/environments/{environment_name}/variables","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}/dependencies/blocked_by","GET /repos/{owner}/{repo}/issues/{issue_number}/dependencies/blocking","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}/sub_issues","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}/rulesets/{ruleset_id}/history","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 /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}/attestations/{subject_digest}","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}/projectsV2","GET /users/{username}/projectsV2/{project_number}/fields","GET /users/{username}/projectsV2/{project_number}/items","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(e){if(typeof e==="string"){return Sm.includes(e)}else{return false}}function paginateRest(e){return{paginate:Object.assign(paginate.bind(null,e),{iterator:iterator.bind(null,e)})}}paginateRest.VERSION=bm;const Qm=new Context;const Nm=getApiBaseUrl();const Rm={baseUrl:Nm,request:{agent:getProxyAgent(Nm),fetch:getProxyFetch(Nm)}};const vm=Octokit.plugin(restEndpointMethods,paginateRest).defaults(Rm);function getOctokitOptions(e,t){const r=Object.assign({},t||{});const n=getAuthString(e,r);if(n){r.auth=n}return r}const xm=new Context;function getOctokit(e,t,...r){const n=vm.plugin(...r);return new n(getOctokitOptions(e,t))}class InvalidTokenError extends Error{}InvalidTokenError.prototype.name="InvalidTokenError";function b64DecodeUnicode(e){return decodeURIComponent(atob(e).replace(/(.)/g,((e,t)=>{let r=t.charCodeAt(0).toString(16).toUpperCase();if(r.length<2){r="0"+r}return"%"+r})))}function base64UrlDecode(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return b64DecodeUnicode(t)}catch(e){return atob(t)}}function jwtDecode(e,t){if(typeof e!=="string"){throw new InvalidTokenError("Invalid token specified: must be a string")}t||(t={});const r=t.header===true?0:1;const n=e.split(".")[r];if(typeof n!=="string"){throw new InvalidTokenError(`Invalid token specified: missing part #${r+1}`)}let s;try{s=base64UrlDecode(n)}catch(e){throw new InvalidTokenError(`Invalid token specified: invalid base64 for part #${r+1} (${e.message})`)}try{return JSON.parse(s)}catch(e){throw new InvalidTokenError(`Invalid token specified: invalid json for part #${r+1} (${e.message})`)}}class github_GitHub{githubToken;octokit;constructor(e){this.githubToken=e?.token||process.env.GITHUB_TOKEN;this.octokit=getOctokit(`${this.githubToken}`)}repoData(){return this.octokit.rest.repos.get({...xm.repo}).then((e=>e.data))}async releases(e,t){let r;try{r=await this.releasesRaw(e,t)}catch(n){if(!this.githubToken){throw n}r=await this.releasesRaw(e,t,this.githubToken)}return r}async releasesRaw(e,t,r){const n=`https://raw.githubusercontent.com/${t.owner}/${t.repo}/${t.ref}/${t.path}`;const s=new lib_HttpClient("docker-actions-toolkit");const o=await s.get(n,r?{Authorization:`token ${r}`}:undefined);const i=await o.readBody();const a=o.message.statusCode||500;if(a>=400){throw new Error(`Failed to get ${e} releases from ${n} with status code ${a}: ${i}`)}return JSON.parse(i)}static get context(){return xm}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(){const e=new URL(github_GitHub.serverURL);const t=e.hostname.trimEnd().toUpperCase();const r=t==="GITHUB.COM";const n=t.endsWith(".GHE.COM");const s=t.endsWith(".LOCALHOST");return!r&&!n&&!s}static get repository(){return`${xm.repo.owner}/${xm.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:xm.runId}static get runAttempt(){return process.env.GITHUB_RUN_ATTEMPT?+process.env.GITHUB_RUN_ATTEMPT:1}static workflowRunURL(e){return`${github_GitHub.serverURL}/${github_GitHub.repository}/actions/runs/${github_GitHub.runId}${e?`/attempts/${github_GitHub.runAttempt}`:""}`}static get actionsRuntimeToken(){const e=process.env["ACTIONS_RUNTIME_TOKEN"]||"";return e?jwtDecode(e):undefined}static async printActionsRuntimeTokenACs(){let e;try{e=github_GitHub.actionsRuntimeToken}catch(e){throw new Error(`Cannot parse GitHub Actions Runtime Token: ${e.message}`)}if(!e){throw new Error(`ACTIONS_RUNTIME_TOKEN not set`)}try{JSON.parse(`${e.ac}`).forEach((e=>{let t;switch(e.Permission){case 1:t="read";break;case 2:t="write";break;case 3:t="read/write";break;default:t=`unimplemented (${e.Permission})`}info(`${e.Scope}: ${t}`)}))}catch(e){throw new Error(`Cannot parse GitHub Actions Runtime Token ACs: ${e.message}`)}}}class context_Context{static _tmpDir=A.mkdtempSync(i.join(context_Context.ensureDirExists(process.env.RUNNER_TEMP||c.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){A.mkdirSync(e,{recursive:true});return e}static tmpDir(){return context_Context._tmpDir}static tmpName(e){return Mp.om(e)}static gitRef(){return context_Context.parseGitRef(xm.ref,xm.sha)}static parseGitRef(e,t){const r=!!(process.env.DOCKER_DEFAULT_GIT_CONTEXT_PR_HEAD_REF&&process.env.DOCKER_DEFAULT_GIT_CONTEXT_PR_HEAD_REF==="true");if(t&&e&&!e.startsWith("refs/")){e=`refs/heads/${e}`}if(t&&!e.startsWith(`refs/pull/`)){e=t}else if(e.startsWith(`refs/pull/`)&&r){e=e.replace(/\/merge$/g,"/head")}return e}static gitContext(){return`${github_GitHub.serverURL}/${xm.repo.owner}/${xm.repo.repo}.git#${context_Context.gitRef()}`}}class Exec{static async exec(e,t,r){core_debug(`Exec.exec: ${e} ${t?.join(" ")}`);return exec_exec(e,t,r)}static async getExecOutput(e,t,r){core_debug(`Exec.getExecOutput: ${e} ${t?.join(" ")}`);return getExecOutput(e,t,r)}}class CsvError extends Error{constructor(e,t,r,...n){if(Array.isArray(t))t=t.join(" ").trim();super(t);if(Error.captureStackTrace!==undefined){Error.captureStackTrace(this,CsvError)}this.code=e;for(const e of n){for(const t in e){const n=e[t];this[t]=Buffer.isBuffer(n)?n.toString(r.encoding):n==null?n:JSON.parse(JSON.stringify(n))}}}}const is_object=function(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)};const normalize_columns_array=function(e){const t=[];for(let r=0,n=e.length;r<n;r++){const n=e[r];if(n===undefined||n===null||n===false){t[r]={disabled:true}}else if(typeof n==="string"){t[r]={name:n}}else if(is_object(n)){if(typeof n.name!=="string"){throw new CsvError("CSV_OPTION_COLUMNS_MISSING_NAME",["Option columns missing name:",`property "name" is required at position ${r}`,"when column is an object literal"])}t[r]=n}else{throw new CsvError("CSV_INVALID_COLUMN_DEFINITION",["Invalid column definition:","expect a string or a literal object,",`got ${JSON.stringify(n)} at position ${r}`])}}return t};class ResizeableBuffer{constructor(e=100){this.size=e;this.length=0;this.buf=Buffer.allocUnsafe(e)}prepend(e){if(Buffer.isBuffer(e)){const t=this.length+e.length;if(t>=this.size){this.resize();if(t>=this.size){throw Error("INVALID_BUFFER_STATE")}}const r=this.buf;this.buf=Buffer.allocUnsafe(this.size);e.copy(this.buf,0);r.copy(this.buf,e.length);this.length+=e.length}else{const t=this.length++;if(t===this.size){this.resize()}const r=this.clone();this.buf[0]=e;r.copy(this.buf,1,0,t)}}append(e){const t=this.length++;if(t===this.size){this.resize()}this.buf[t]=e}clone(){return Buffer.from(this.buf.slice(0,this.length))}resize(){const e=this.length;this.size=this.size*2;const t=Buffer.allocUnsafe(this.size);this.buf.copy(t,0,0,e);this.buf=t}toString(e){if(e){return this.buf.slice(0,this.length).toString(e)}else{return Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}}toJSON(){return this.toString("utf8")}reset(){this.length=0}}const Tm=ResizeableBuffer;const km=12;const Dm=13;const _m=10;const Pm=32;const Lm=9;const init_state=function(e){return{bomSkipped:false,bufBytesStart:0,castField:e.cast_function,commenting:false,error:undefined,enabled:e.from_line===1,escaping:false,escapeIsQuote:Buffer.isBuffer(e.escape)&&Buffer.isBuffer(e.quote)&&Buffer.compare(e.escape,e.quote)===0,expectedRecordLength:Array.isArray(e.columns)?e.columns.length:undefined,field:new Tm(20),firstLineToHeaders:e.cast_first_line_to_header,needMoreDataSize:Math.max(e.comment!==null?e.comment.length:0,...e.delimiter.map((e=>e.length)),e.quote!==null?e.quote.length:0),previousBuf:undefined,quoting:false,stop:false,rawBuffer:new Tm(100),record:[],recordHasError:false,record_length:0,recordDelimiterMaxLength:e.record_delimiter.length===0?0:Math.max(...e.record_delimiter.map((e=>e.length))),trimChars:[Buffer.from(" ",e.encoding)[0],Buffer.from("\t",e.encoding)[0]],wasQuoting:false,wasRowDelimiter:false,timchars:[Buffer.from(Buffer.from([Dm],"utf8").toString(),e.encoding),Buffer.from(Buffer.from([_m],"utf8").toString(),e.encoding),Buffer.from(Buffer.from([km],"utf8").toString(),e.encoding),Buffer.from(Buffer.from([Pm],"utf8").toString(),e.encoding),Buffer.from(Buffer.from([Lm],"utf8").toString(),e.encoding)]}};const underscore=function(e){return e.replace(/([A-Z])/g,(function(e,t){return"_"+t.toLowerCase()}))};const normalize_options=function(e){const t={};for(const r in e){t[underscore(r)]=e[r]}if(t.encoding===undefined||t.encoding===true){t.encoding="utf8"}else if(t.encoding===null||t.encoding===false){t.encoding=null}else if(typeof t.encoding!=="string"&&t.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(t.encoding)}`],t)}if(t.bom===undefined||t.bom===null||t.bom===false){t.bom=false}else if(t.bom!==true){throw new CsvError("CSV_INVALID_OPTION_BOM",["Invalid option bom:","bom must be true,",`got ${JSON.stringify(t.bom)}`],t)}t.cast_function=null;if(t.cast===undefined||t.cast===null||t.cast===false||t.cast===""){t.cast=undefined}else if(typeof t.cast==="function"){t.cast_function=t.cast;t.cast=true}else if(t.cast!==true){throw new CsvError("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(t.cast)}`],t)}if(t.cast_date===undefined||t.cast_date===null||t.cast_date===false||t.cast_date===""){t.cast_date=false}else if(t.cast_date===true){t.cast_date=function(e){const t=Date.parse(e);return!isNaN(t)?new Date(t):e}}else if(typeof t.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(t.cast_date)}`],t)}t.cast_first_line_to_header=undefined;if(t.columns===true){t.cast_first_line_to_header=undefined}else if(typeof t.columns==="function"){t.cast_first_line_to_header=t.columns;t.columns=true}else if(Array.isArray(t.columns)){t.columns=normalize_columns_array(t.columns)}else if(t.columns===undefined||t.columns===null||t.columns===false){t.columns=false}else{throw new CsvError("CSV_INVALID_OPTION_COLUMNS",["Invalid option columns:","expect an array, a function or true,",`got ${JSON.stringify(t.columns)}`],t)}if(t.group_columns_by_name===undefined||t.group_columns_by_name===null||t.group_columns_by_name===false){t.group_columns_by_name=false}else if(t.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(t.group_columns_by_name)}`],t)}else if(t.columns===false){throw new CsvError("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","the `columns` mode must be activated."],t)}if(t.comment===undefined||t.comment===null||t.comment===false||t.comment===""){t.comment=null}else{if(typeof t.comment==="string"){t.comment=Buffer.from(t.comment,t.encoding)}if(!Buffer.isBuffer(t.comment)){throw new CsvError("CSV_INVALID_OPTION_COMMENT",["Invalid option comment:","comment must be a buffer or a string,",`got ${JSON.stringify(t.comment)}`],t)}}if(t.comment_no_infix===undefined||t.comment_no_infix===null||t.comment_no_infix===false){t.comment_no_infix=false}else if(t.comment_no_infix!==true){throw new CsvError("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(t.comment_no_infix)}`],t)}const r=JSON.stringify(t.delimiter);if(!Array.isArray(t.delimiter))t.delimiter=[t.delimiter];if(t.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 ${r}`],t)}t.delimiter=t.delimiter.map((function(e){if(e===undefined||e===null||e===false){return Buffer.from(",",t.encoding)}if(typeof e==="string"){e=Buffer.from(e,t.encoding)}if(!Buffer.isBuffer(e)||e.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 ${r}`],t)}return e}));if(t.escape===undefined||t.escape===true){t.escape=Buffer.from('"',t.encoding)}else if(typeof t.escape==="string"){t.escape=Buffer.from(t.escape,t.encoding)}else if(t.escape===null||t.escape===false){t.escape=null}if(t.escape!==null){if(!Buffer.isBuffer(t.escape)){throw new Error(`Invalid Option: escape must be a buffer, a string or a boolean, got ${JSON.stringify(t.escape)}`)}}if(t.from===undefined||t.from===null){t.from=1}else{if(typeof t.from==="string"&&/\d+/.test(t.from)){t.from=parseInt(t.from)}if(Number.isInteger(t.from)){if(t.from<0){throw new Error(`Invalid Option: from must be a positive integer, got ${JSON.stringify(e.from)}`)}}else{throw new Error(`Invalid Option: from must be an integer, got ${JSON.stringify(t.from)}`)}}if(t.from_line===undefined||t.from_line===null){t.from_line=1}else{if(typeof t.from_line==="string"&&/\d+/.test(t.from_line)){t.from_line=parseInt(t.from_line)}if(Number.isInteger(t.from_line)){if(t.from_line<=0){throw new Error(`Invalid Option: from_line must be a positive integer greater than 0, got ${JSON.stringify(e.from_line)}`)}}else{throw new Error(`Invalid Option: from_line must be an integer, got ${JSON.stringify(e.from_line)}`)}}if(t.ignore_last_delimiters===undefined||t.ignore_last_delimiters===null){t.ignore_last_delimiters=false}else if(typeof t.ignore_last_delimiters==="number"){t.ignore_last_delimiters=Math.floor(t.ignore_last_delimiters);if(t.ignore_last_delimiters===0){t.ignore_last_delimiters=false}}else if(typeof t.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(t.ignore_last_delimiters)}`],t)}if(t.ignore_last_delimiters===true&&t.columns===false){throw new CsvError("CSV_IGNORE_LAST_DELIMITERS_REQUIRES_COLUMNS",["The option `ignore_last_delimiters`","requires the activation of the `columns` option"],t)}if(t.info===undefined||t.info===null||t.info===false){t.info=false}else if(t.info!==true){throw new Error(`Invalid Option: info must be true, got ${JSON.stringify(t.info)}`)}if(t.max_record_size===undefined||t.max_record_size===null||t.max_record_size===false){t.max_record_size=0}else if(Number.isInteger(t.max_record_size)&&t.max_record_size>=0){}else if(typeof t.max_record_size==="string"&&/\d+/.test(t.max_record_size)){t.max_record_size=parseInt(t.max_record_size)}else{throw new Error(`Invalid Option: max_record_size must be a positive integer, got ${JSON.stringify(t.max_record_size)}`)}if(t.objname===undefined||t.objname===null||t.objname===false){t.objname=undefined}else if(Buffer.isBuffer(t.objname)){if(t.objname.length===0){throw new Error(`Invalid Option: objname must be a non empty buffer`)}if(t.encoding===null){}else{t.objname=t.objname.toString(t.encoding)}}else if(typeof t.objname==="string"){if(t.objname.length===0){throw new Error(`Invalid Option: objname must be a non empty string`)}}else if(typeof t.objname==="number"){}else{throw new Error(`Invalid Option: objname must be a string or a buffer, got ${t.objname}`)}if(t.objname!==undefined){if(typeof t.objname==="number"){if(t.columns!==false){throw Error("Invalid Option: objname index cannot be combined with columns or be defined as a field")}}else{if(t.columns===false){throw Error("Invalid Option: objname field must be combined with columns or be defined as an index")}}}if(t.on_record===undefined||t.on_record===null){t.on_record=undefined}else if(typeof t.on_record!=="function"){throw new CsvError("CSV_INVALID_OPTION_ON_RECORD",["Invalid option `on_record`:","expect a function,",`got ${JSON.stringify(t.on_record)}`],t)}if(t.on_skip!==undefined&&t.on_skip!==null&&typeof t.on_skip!=="function"){throw new Error(`Invalid Option: on_skip must be a function, got ${JSON.stringify(t.on_skip)}`)}if(t.quote===null||t.quote===false||t.quote===""){t.quote=null}else{if(t.quote===undefined||t.quote===true){t.quote=Buffer.from('"',t.encoding)}else if(typeof t.quote==="string"){t.quote=Buffer.from(t.quote,t.encoding)}if(!Buffer.isBuffer(t.quote)){throw new Error(`Invalid Option: quote must be a buffer or a string, got ${JSON.stringify(t.quote)}`)}}if(t.raw===undefined||t.raw===null||t.raw===false){t.raw=false}else if(t.raw!==true){throw new Error(`Invalid Option: raw must be true, got ${JSON.stringify(t.raw)}`)}if(t.record_delimiter===undefined){t.record_delimiter=[]}else if(typeof t.record_delimiter==="string"||Buffer.isBuffer(t.record_delimiter)){if(t.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(t.record_delimiter)}`],t)}t.record_delimiter=[t.record_delimiter]}else if(!Array.isArray(t.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(t.record_delimiter)}`],t)}t.record_delimiter=t.record_delimiter.map((function(e,r){if(typeof e!=="string"&&!Buffer.isBuffer(e)){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 ${r},`,`got ${JSON.stringify(e)}`],t)}else if(e.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 ${r},`,`got ${JSON.stringify(e)}`],t)}if(typeof e==="string"){e=Buffer.from(e,t.encoding)}return e}));if(typeof t.relax_column_count==="boolean"){}else if(t.relax_column_count===undefined||t.relax_column_count===null){t.relax_column_count=false}else{throw new Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(t.relax_column_count)}`)}if(typeof t.relax_column_count_less==="boolean"){}else if(t.relax_column_count_less===undefined||t.relax_column_count_less===null){t.relax_column_count_less=false}else{throw new Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(t.relax_column_count_less)}`)}if(typeof t.relax_column_count_more==="boolean"){}else if(t.relax_column_count_more===undefined||t.relax_column_count_more===null){t.relax_column_count_more=false}else{throw new Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(t.relax_column_count_more)}`)}if(typeof t.relax_quotes==="boolean"){}else if(t.relax_quotes===undefined||t.relax_quotes===null){t.relax_quotes=false}else{throw new Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(t.relax_quotes)}`)}if(typeof t.skip_empty_lines==="boolean"){}else if(t.skip_empty_lines===undefined||t.skip_empty_lines===null){t.skip_empty_lines=false}else{throw new Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(t.skip_empty_lines)}`)}if(typeof t.skip_records_with_empty_values==="boolean"){}else if(t.skip_records_with_empty_values===undefined||t.skip_records_with_empty_values===null){t.skip_records_with_empty_values=false}else{throw new Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(t.skip_records_with_empty_values)}`)}if(typeof t.skip_records_with_error==="boolean"){}else if(t.skip_records_with_error===undefined||t.skip_records_with_error===null){t.skip_records_with_error=false}else{throw new Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(t.skip_records_with_error)}`)}if(t.rtrim===undefined||t.rtrim===null||t.rtrim===false){t.rtrim=false}else if(t.rtrim!==true){throw new Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(t.rtrim)}`)}if(t.ltrim===undefined||t.ltrim===null||t.ltrim===false){t.ltrim=false}else if(t.ltrim!==true){throw new Error(`Invalid Option: ltrim must be a boolean, got ${JSON.stringify(t.ltrim)}`)}if(t.trim===undefined||t.trim===null||t.trim===false){t.trim=false}else if(t.trim!==true){throw new Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(t.trim)}`)}if(t.trim===true&&e.ltrim!==false){t.ltrim=true}else if(t.ltrim!==true){t.ltrim=false}if(t.trim===true&&e.rtrim!==false){t.rtrim=true}else if(t.rtrim!==true){t.rtrim=false}if(t.to===undefined||t.to===null){t.to=-1}else if(t.to!==-1){if(typeof t.to==="string"&&/\d+/.test(t.to)){t.to=parseInt(t.to)}if(Number.isInteger(t.to)){if(t.to<=0){throw new Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(e.to)}`)}}else{throw new Error(`Invalid Option: to must be an integer, got ${JSON.stringify(e.to)}`)}}if(t.to_line===undefined||t.to_line===null){t.to_line=-1}else if(t.to_line!==-1){if(typeof t.to_line==="string"&&/\d+/.test(t.to_line)){t.to_line=parseInt(t.to_line)}if(Number.isInteger(t.to_line)){if(t.to_line<=0){throw new Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(e.to_line)}`)}}else{throw new Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(e.to_line)}`)}}return t};const isRecordEmpty=function(e){return e.every((e=>e==null||e.toString&&e.toString().trim()===""))};const Mm=13;const Om=10;const Fm={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])};const transform=function(e={}){const t={bytes:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0};const r=normalize_options(e);return{info:t,original_options:e,options:r,state:init_state(r),__needMoreData:function(e,t,r){if(r)return false;const{encoding:n,escape:s,quote:o}=this.options;const{quoting:i,needMoreDataSize:a,recordDelimiterMaxLength:c}=this.state;const l=t-e-1;const u=Math.max(a,c===0?Buffer.from("\r\n",n).length:c,i?(s===null?0:s.length)+o.length:0,i?o.length+c:0);return l<u},parse:function(e,t,r,n){const{bom:s,comment_no_infix:o,encoding:i,from_line:a,ltrim:c,max_record_size:l,raw:u,relax_quotes:A,rtrim:d,skip_empty_lines:p,to:m,to_line:h}=this.options;let{comment:g,escape:f,quote:E,record_delimiter:y}=this.options;const{bomSkipped:C,previousBuf:I,rawBuffer:B,escapeIsQuote:b}=this.state;let w;if(I===undefined){if(e===undefined){n();return}else{w=e}}else if(I!==undefined&&e===undefined){w=I}else{w=Buffer.concat([I,e])}if(C===false){if(s===false){this.state.bomSkipped=true}else if(w.length<3){if(t===false){this.state.previousBuf=w;return}}else{for(const e in Fm){if(Fm[e].compare(w,0,Fm[e].length)===0){const t=Fm[e].length;this.state.bufBytesStart+=t;w=w.slice(t);const r=normalize_options({...this.original_options,encoding:e});for(const e in r){this.options[e]=r[e]}({comment:g,escape:f,quote:E}=this.options);break}}this.state.bomSkipped=true}}const S=w.length;let Q;for(Q=0;Q<S;Q++){if(this.__needMoreData(Q,S,t)){break}if(this.state.wasRowDelimiter===true){this.info.lines++;this.state.wasRowDelimiter=false}if(h!==-1&&this.info.lines>h){this.state.stop=true;n();return}if(this.state.quoting===false&&y.length===0){const e=this.__autoDiscoverRecordDelimiter(w,Q);if(e){y=this.options.record_delimiter}}const e=w[Q];if(u===true){B.append(e)}if((e===Mm||e===Om)&&this.state.wasRowDelimiter===false){this.state.wasRowDelimiter=true}if(this.state.escaping===true){this.state.escaping=false}else{if(f!==null&&this.state.quoting===true&&this.__isEscape(w,Q,e)&&Q+f.length<S){if(b){if(this.__isQuote(w,Q+f.length)){this.state.escaping=true;Q+=f.length-1;continue}}else{this.state.escaping=true;Q+=f.length-1;continue}}if(this.state.commenting===false&&this.__isQuote(w,Q)){if(this.state.quoting===true){const t=w[Q+E.length];const r=d&&this.__isCharTrimable(w,Q+E.length);const n=g!==null&&this.__compareBytes(g,w,Q+E.length,t);const s=this.__isDelimiter(w,Q+E.length,t);const o=y.length===0?this.__autoDiscoverRecordDelimiter(w,Q+E.length):this.__isRecordDelimiter(t,w,Q+E.length);if(f!==null&&this.__isEscape(w,Q,e)&&this.__isQuote(w,Q+f.length)){Q+=f.length-1}else if(!t||s||o||n||r){this.state.quoting=false;this.state.wasQuoting=true;Q+=E.length-1;continue}else if(A===false){const e=this.__error(new CsvError("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(t)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(e!==undefined)return e}else{this.state.quoting=false;this.state.wasQuoting=true;this.state.field.prepend(E);Q+=E.length-1}}else{if(this.state.field.length!==0){if(A===false){const e=this.__infoField();const t=Object.keys(Fm).map((e=>Fm[e].equals(this.state.field.toString())?e:false)).filter(Boolean)[0];const r=this.__error(new CsvError("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(e.column)} at line ${e.lines}, value is ${JSON.stringify(this.state.field.toString(i))}`,t?`(${t} bom)`:undefined],this.options,e,{field:this.state.field}));if(r!==undefined)return r}}else{this.state.quoting=true;Q+=E.length-1;continue}}}if(this.state.quoting===false){const t=this.__isRecordDelimiter(e,w,Q);if(t!==0){const e=this.state.commenting&&this.state.wasQuoting===false&&this.state.record.length===0&&this.state.field.length===0;if(e){this.info.comment_lines++}else{if(this.state.enabled===false&&this.info.lines+(this.state.wasRowDelimiter===true?1:0)>=a){this.state.enabled=true;this.__resetField();this.__resetRecord();Q+=t-1;continue}if(p===true&&this.state.wasQuoting===false&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++;Q+=t-1;continue}this.info.bytes=this.state.bufBytesStart+Q;const e=this.__onField();if(e!==undefined)return e;this.info.bytes=this.state.bufBytesStart+Q+t;const s=this.__onRecord(r);if(s!==undefined)return s;if(m!==-1&&this.info.records>=m){this.state.stop=true;n();return}}this.state.commenting=false;Q+=t-1;continue}if(this.state.commenting){continue}if(g!==null&&(o===false||this.state.record.length===0&&this.state.field.length===0)){const t=this.__compareBytes(g,w,Q,e);if(t!==0){this.state.commenting=true;continue}}const s=this.__isDelimiter(w,Q,e);if(s!==0){this.info.bytes=this.state.bufBytesStart+Q;const e=this.__onField();if(e!==undefined)return e;Q+=s-1;continue}}}if(this.state.commenting===false){if(l!==0&&this.state.record_length+this.state.field.length>l){return this.__error(new CsvError("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${l}`,`at line ${this.info.lines}`],this.options,this.__infoField()))}}const s=c===false||this.state.quoting===true||this.state.field.length!==0||!this.__isCharTrimable(w,Q);const C=d===false||this.state.wasQuoting===false;if(s===true&&C===true){this.state.field.append(e)}else if(d===true&&!this.__isCharTrimable(w,Q)){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(s===false){Q+=this.__isCharTrimable(w,Q)-1}continue}}if(t===true){if(this.state.quoting===true){const e=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(e!==undefined)return e}else{if(this.state.wasQuoting===true||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+Q;const e=this.__onField();if(e!==undefined)return e;const t=this.__onRecord(r);if(t!==undefined)return t}else if(this.state.wasRowDelimiter===true){this.info.empty_lines++}else if(this.state.commenting===true){this.info.comment_lines++}}}else{this.state.bufBytesStart+=Q;this.state.previousBuf=w.slice(Q)}if(this.state.wasRowDelimiter===true){this.info.lines++;this.state.wasRowDelimiter=false}},__onRecord:function(e){const{columns:t,group_columns_by_name:r,encoding:n,info:s,from:o,relax_column_count:i,relax_column_count_less:a,relax_column_count_more:c,raw:l,skip_records_with_empty_values:u}=this.options;const{enabled:A,record:d}=this.state;if(A===false){return this.__resetRecord()}const p=d.length;if(t===true){if(u===true&&isRecordEmpty(d)){this.__resetRecord();return}return this.__firstLineToColumns(d)}if(t===false&&this.info.records===0){this.state.expectedRecordLength=p}if(p!==this.state.expectedRecordLength){const e=t===false?new CsvError("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${p} on line ${this.info.lines}`],this.options,this.__infoField(),{record:d}):new CsvError("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${t.length},`,`got ${p} on line ${this.info.lines}`],this.options,this.__infoField(),{record:d});if(i===true||a===true&&p<this.state.expectedRecordLength||c===true&&p>this.state.expectedRecordLength){this.info.invalid_field_length++;this.state.error=e}else{const t=this.__error(e);if(t)return t}}if(u===true&&isRecordEmpty(d)){this.__resetRecord();return}if(this.state.recordHasError===true){this.__resetRecord();this.state.recordHasError=false;return}this.info.records++;if(o===1||this.info.records>=o){const{objname:o}=this.options;if(t!==false){const i={};for(let e=0,n=d.length;e<n;e++){if(t[e]===undefined||t[e].disabled)continue;if(r===true&&i[t[e].name]!==undefined){if(Array.isArray(i[t[e].name])){i[t[e].name]=i[t[e].name].concat(d[e])}else{i[t[e].name]=[i[t[e].name],d[e]]}}else{i[t[e].name]=d[e]}}if(l===true||s===true){const t=Object.assign({record:i},l===true?{raw:this.state.rawBuffer.toString(n)}:{},s===true?{info:this.__infoRecord()}:{});const r=this.__push(o===undefined?t:[i[o],t],e);if(r){return r}}else{const t=this.__push(o===undefined?i:[i[o],i],e);if(t){return t}}}else{if(l===true||s===true){const t=Object.assign({record:d},l===true?{raw:this.state.rawBuffer.toString(n)}:{},s===true?{info:this.__infoRecord()}:{});const r=this.__push(o===undefined?t:[d[o],t],e);if(r){return r}}else{const t=this.__push(o===undefined?d:[d[o],d],e);if(t){return t}}}}this.__resetRecord()},__firstLineToColumns:function(e){const{firstLineToHeaders:t}=this.state;try{const r=t===undefined?e:t.call(null,e);if(!Array.isArray(r)){return this.__error(new CsvError("CSV_INVALID_COLUMN_MAPPING",["Invalid Column Mapping:","expect an array from column function,",`got ${JSON.stringify(r)}`],this.options,this.__infoField(),{headers:r}))}const n=normalize_columns_array(r);this.state.expectedRecordLength=n.length;this.options.columns=n;this.__resetRecord();return}catch(e){return e}},__resetRecord:function(){if(this.options.raw===true){this.state.rawBuffer.reset()}this.state.error=undefined;this.state.record=[];this.state.record_length=0},__onField:function(){const{cast:e,encoding:t,rtrim:r,max_record_size:n}=this.options;const{enabled:s,wasQuoting:o}=this.state;if(s===false){return this.__resetField()}let i=this.state.field.toString(t);if(r===true&&o===false){i=i.trimRight()}if(e===true){const[e,t]=this.__cast(i);if(e!==undefined)return e;i=t}this.state.record.push(i);if(n!==0&&typeof i==="string"){this.state.record_length+=i.length}this.__resetField()},__resetField:function(){this.state.field.reset();this.state.wasQuoting=false},__push:function(e,t){const{on_record:r}=this.options;if(r!==undefined){const t=this.__infoRecord();try{e=r.call(null,e,t)}catch(e){return e}if(e===undefined||e===null){return}}t(e)},__cast:function(e){const{columns:t,relax_column_count:r}=this.options;const n=Array.isArray(t);if(n===true&&r&&this.options.columns.length<=this.state.record.length){return[undefined,undefined]}if(this.state.castField!==null){try{const t=this.__infoField();return[undefined,this.state.castField.call(null,e,t)]}catch(e){return[e]}}if(this.__isFloat(e)){return[undefined,parseFloat(e)]}else if(this.options.cast_date!==false){const t=this.__infoField();return[undefined,this.options.cast_date.call(null,e,t)]}return[undefined,e]},__isCharTrimable:function(e,t){const isTrim=(e,t)=>{const{timchars:r}=this.state;e:for(let n=0;n<r.length;n++){const s=r[n];for(let r=0;r<s.length;r++){if(s[r]!==e[t+r])continue e}return s.length}return 0};return isTrim(e,t)},__isFloat:function(e){return e-parseFloat(e)+1>=0},__compareBytes:function(e,t,r,n){if(e[0]!==n)return 0;const s=e.length;for(let n=1;n<s;n++){if(e[n]!==t[r+n])return 0}return s},__isDelimiter:function(e,t,r){const{delimiter:n,ignore_last_delimiters:s}=this.options;if(s===true&&this.state.record.length===this.options.columns.length-1){return 0}else if(s!==false&&typeof s==="number"&&this.state.record.length===s-1){return 0}e:for(let s=0;s<n.length;s++){const o=n[s];if(o[0]===r){for(let r=1;r<o.length;r++){if(o[r]!==e[t+r])continue e}return o.length}}return 0},__isRecordDelimiter:function(e,t,r){const{record_delimiter:n}=this.options;const s=n.length;e:for(let o=0;o<s;o++){const s=n[o];const i=s.length;if(s[0]!==e){continue}for(let e=1;e<i;e++){if(s[e]!==t[r+e]){continue e}}return s.length}return 0},__isEscape:function(e,t,r){const{escape:n}=this.options;if(n===null)return false;const s=n.length;if(n[0]===r){for(let r=0;r<s;r++){if(n[r]!==e[t+r]){return false}}return true}return false},__isQuote:function(e,t){const{quote:r}=this.options;if(r===null)return false;const n=r.length;for(let s=0;s<n;s++){if(r[s]!==e[t+s]){return false}}return true},__autoDiscoverRecordDelimiter:function(e,t){const{encoding:r}=this.options;const n=[Buffer.from("\r\n",r),Buffer.from("\n",r),Buffer.from("\r",r)];e:for(let r=0;r<n.length;r++){const s=n[r].length;for(let o=0;o<s;o++){if(n[r][o]!==e[t+o]){continue e}}this.options.record_delimiter.push(n[r]);this.state.recordDelimiterMaxLength=n[r].length;return n[r].length}return 0},__error:function(e){const{encoding:t,raw:r,skip_records_with_error:n}=this.options;const s=typeof e==="string"?new Error(e):e;if(n){this.state.recordHasError=true;if(this.options.on_skip!==undefined){try{this.options.on_skip(s,r?this.state.rawBuffer.toString(t):undefined)}catch(s){return s}}return undefined}else{return s}},__infoDataSet:function(){return{...this.info,columns:this.options.columns}},__infoRecord:function(){const{columns:e,raw:t,encoding:r}=this.options;return{...this.__infoDataSet(),error:this.state.error,header:e===true,index:this.state.record.length,raw:t?this.state.rawBuffer.toString(r):undefined}},__infoField:function(){const{columns:e}=this.options;const t=Array.isArray(e);return{...this.__infoRecord(),column:t===true?e.length>this.state.record.length?e[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}}}};const sync_parse=function(e,t={}){if(typeof e==="string"){e=Buffer.from(e)}const r=t&&t.objname?{}:[];const n=transform(t);const push=e=>{if(n.options.objname===undefined)r.push(e);else{r[e[0]]=e[1]}};const close=()=>{};const s=n.parse(e,true,push,close);if(s!==undefined)throw s;return r};class Util{static getInputList(e,t){return this.getList(getInput(e),t)}static getList(e,t){const r=[];if(e==""){return r}const n=sync_parse(e,{columns:false,relaxQuotes:true,comment:t?.comment,comment_no_infix:t?.commentNoInfix,relaxColumnCount:true,skipEmptyLines:true,quote:t?.quote});for(const e of n){if(e.length==1){if(t?.ignoreComma){r.push(e[0])}else{r.push(...e[0].split(","))}}else if(!t?.ignoreComma){r.push(...e)}else{r.push(e.join(","))}}return r.filter((e=>e)).map((e=>e.trim()))}static getInputNumber(e){const t=getInput(e);if(!t){return undefined}return parseInt(t)}static async asyncForEach(e,t){for(let r=0;r<e.length;r++){await t(e[r],r,e)}}static isValidURL(e){let t;try{t=new URL(e)}catch{return false}return t.protocol==="http:"||t.protocol==="https:"}static isValidRef(e){if(Util.isValidURL(e)){return true}for(const t of["git://","github.com/","git@"]){if(e.startsWith(t)){return true}}return false}static async powershellCommand(e,t){const r=await which("powershell",true);const n=e.replace(/'/g,"''").replace(/"|\n|\r/g,"");const s=[];if(t){for(const e in t){s.push(`-${e} '${t[e].replace(/'/g,"''").replace(/"|\n|\r/g,"")}'`)}}return{command:`"${r}"`,args:["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${n}' ${s.join(" ")}`]}}static isDirectory(e){try{return A.lstatSync(e).isDirectory()}catch{}return false}static trimPrefix(e,t){if(!e||!t){return e}const r=e.indexOf(t);if(r!==0){return e}return e.substring(t.length)}static trimSuffix(e,t){if(!e||!t){return e}const r=e.lastIndexOf(t);if(r===-1||r+t.length!==e.length){return e}return e.substring(0,r)}static sleep(e){return new Promise((t=>setTimeout(t,e*1e3)))}static hash(e){return o.createHash("sha256").update(e).digest("hex")}static parseBool(e){switch(e){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: ${e}`)}}static formatFileSize(e){if(e===0)return"0 Bytes";const t=1024;const r=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"];const n=Math.floor(Math.log(e)/Math.log(t));return parseFloat((e/Math.pow(t,n)).toFixed(2))+" "+r[n]}static generateRandomString(e=10){const t=o.randomBytes(Math.ceil(e/2));return t.toString("hex").slice(0,e)}static stringToUnicodeEntities(e){return Array.from(e).map((e=>`&#x${e.charCodeAt(0).toString(16)};`)).join("")}static countLines(e){return e.split(/\r\n|\r|\n/).length}static isPathRelativeTo(e,t){const r=i.resolve(e);const n=i.resolve(t);return n.startsWith(r.endsWith(i.sep)?r:`${r}${i.sep}`)}static formatDuration(e){if(e===0)return"0s";const t=Math.floor(e/1e9);const r=Math.floor(t/3600);const n=Math.floor(t%3600/60);const s=t%60;const o=[];if(r)o.push(`${r}h`);if(n)o.push(`${n}m`);if(s||o.length===0)o.push(`${s}s`);return o.join("")}}class Docker{static get configDir(){return process.env.DOCKER_CONFIG||i.join(c.homedir(),".docker")}static configFile(){const e=i.join(Docker.configDir,"config.json");if(!A.existsSync(e)){return undefined}return JSON.parse(A.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await which("docker",true).then((e=>{core_debug(`Docker.isAvailable ok: ${e}`);return true})).catch((e=>{core_debug(`Docker.isAvailable error: ${e}`);return false}))}static async isDaemonRunning(){try{await Docker.getExecOutput([`version`],{silent:true});return true}catch{return false}}static async exec(e,t){return Exec.exec("docker",e,Docker.execOptions(t))}static async getExecOutput(e,t){return Exec.getExecOutput("docker",e,Docker.execOptions(t))}static execOptions(e){if(!e){e={}}if(!e.env){e.env=Object.assign({},process.env,{DOCKER_CONTENT_TRUST:"false"})}else{e.env.DOCKER_CONTENT_TRUST="false"}return e}static async context(e){const t=["context","inspect","--format","{{.Name}}"];if(e){t.push(e)}return await Docker.getExecOutput(t,{ignoreReturnCode:true,silent:true}).then((e=>{if(e.stderr.length>0&&e.exitCode!=0){throw new Error(e.stderr)}return e.stdout.trim()}))}static async contextInspect(e){const t=["context","inspect","--format=json"];if(e){t.push(e)}return await Docker.getExecOutput(t,{ignoreReturnCode:true,silent:true}).then((e=>{if(e.stderr.length>0&&e.exitCode!=0){throw new Error(e.stderr.trim())}return JSON.parse(e.stdout.trim())[0]}))}static async printVersion(){await Docker.exec(["version"])}static async printInfo(){await Docker.exec(["info"])}static parseRepoTag(e){let t;const r=e.indexOf("@");const n=e.lastIndexOf(":");if(r>=0){t=r}else if(n>=0){t=n}else{return{repository:e,tag:"latest"}}const s=e.slice(t+1);if(s.indexOf("/")===-1){return{repository:e.slice(0,t),tag:s}}return{repository:e,tag:"latest"}}static async pull(e,t){const r=Docker.parseRepoTag(e);const n=r.repository.replace(/[^a-zA-Z0-9.]+/g,"--");const s=r.tag.replace(/[^a-zA-Z0-9.]+/g,"--");const o=new Cache({htcName:n,htcVersion:s,baseCacheDir:i.join(Docker.configDir,".cache","images",n),cacheFile:"image.tar"});let a;if(t){a=await o.find();if(a){info(`Image found from cache in ${a}`);await Docker.getExecOutput(["load","-i",a],{ignoreReturnCode:true}).then((e=>{if(e.stderr.length>0&&e.exitCode!=0){warning(`Failed to load image from cache: ${e.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`)}}))}}let c=true;await Docker.getExecOutput(["pull",e],{ignoreReturnCode:true}).then((e=>{if(e.stderr.length>0&&e.exitCode!=0){c=false;const t=e.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error";if(a){warning(`Failed to pull image, using one from cache: ${t}`)}else{throw new Error(t)}}}));if(t&&c){const t=i.join(context_Context.tmpDir(),`${Util.hash(e)}.tar`);await Docker.getExecOutput(["save","-o",t,e],{ignoreReturnCode:true}).then((async e=>{if(e.stderr.length>0&&e.exitCode!=0){warning(`Failed to save image: ${e.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`)}else{const e=await o.save(t);info(`Image cached to ${e}`)}}))}}}var Um=__nccwpck_require__(1955);class Regctl{binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"regctl";this._version="";this._versionOnce=false}async blobGet(e){return await Exec.getExecOutput(this.binPath,["blob","get",e.repository,e.digest],{ignoreReturnCode:true,silent:true}).then((e=>{if(e.stderr.length>0&&e.exitCode!=0){throw new Error(e.stderr.trim())}return e.stdout}))}async manifestGet(e){return await Exec.getExecOutput(this.binPath,["manifest","get",e.image,`--platform=${e.platform??"local"}`,`--format={{json .}}`],{ignoreReturnCode:true,silent:true}).then((e=>{if(e.stderr.length>0&&e.exitCode!=0){throw new Error(e.stderr.trim())}return JSON.parse(e.stdout.trim())}))}async isAvailable(){const e=await Exec.getExecOutput(this.binPath,[],{ignoreReturnCode:true,silent:true}).then((e=>{if(e.stderr.length>0&&e.exitCode!=0){core_debug(`Regctl.isAvailable cmd err: ${e.stderr.trim()}`);return false}return e.exitCode==0})).catch((e=>{core_debug(`Regctl.isAvailable error: ${e}`);return false}));core_debug(`Regctl.isAvailable: ${e}`);return e}async version(){if(this._versionOnce){return this._version}this._versionOnce=true;this._version=await Exec.getExecOutput(this.binPath,["version","--format","{{.VCSTag}}"],{ignoreReturnCode:true,silent:true}).then((e=>{if(e.stderr.length>0&&e.exitCode!=0){throw new Error(e.stderr.trim())}return e.stdout.trim()}));return this._version}async printVersion(){await Exec.exec(this.binPath,["version"],{failOnStdErr:false})}async versionSatisfies(e,t){const r=t??await this.version();if(!r){core_debug(`Regctl.versionSatisfies false: undefined version`);return false}const n=Um.satisfies(r,e)||/^[0-9a-f]{7}$/.exec(r)!==null;core_debug(`Regctl.versionSatisfies ${r} statisfies ${e}: ${n}`);return n}}class Undock{binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"undock";this._version="";this._versionOnce=false}async run(e){if(!e.source){throw new Error("source is required")}if(!e.dist){throw new Error("dist is required")}const t=[];if(e.logLevel){t.push(`--log-level=${e.logLevel}`)}if(e.logCaller){t.push("--log-caller")}if(e.cacheDir){t.push(`--cachedir=${e.cacheDir}`)}if(e.platform){t.push(`--platform=${e.platform}`)}if(e.all){t.push("--all")}if(e.include){e.include.forEach((e=>{t.push(`--include=${e}`)}))}if(e.insecure){t.push("--insecure")}if(e.rmDist){t.push("--rm-dist")}if(e.wrap){t.push("--wrap")}t.push(e.source,e.dist);await Exec.exec(this.binPath,t,{failOnStdErr:false})}async isAvailable(){const e=await Exec.getExecOutput(this.binPath,[],{ignoreReturnCode:true,silent:true}).then((e=>{if(e.stderr.length>0&&e.exitCode!=0){core_debug(`Undock.isAvailable cmd err: ${e.stderr.trim()}`);return false}return e.exitCode==0})).catch((e=>{core_debug(`Undock.isAvailable error: ${e}`);return false}));core_debug(`Undock.isAvailable: ${e}`);return e}async version(){if(this._versionOnce){return this._version}this._versionOnce=true;this._version=await Exec.getExecOutput(this.binPath,["--version"],{ignoreReturnCode:true,silent:true}).then((e=>{if(e.stderr.length>0&&e.exitCode!=0){throw new Error(e.stderr.trim())}return e.stdout.trim()}));return this._version}async printVersion(){await Exec.exec(this.binPath,["--version"],{failOnStdErr:false})}async versionSatisfies(e,t){const r=t??await this.version();if(!r){core_debug(`Undock.versionSatisfies false: undefined version`);return false}const n=Um.satisfies(r,e)||/^[0-9a-f]{7}$/.exec(r)!==null;core_debug(`Undock.versionSatisfies ${r} statisfies ${e}: ${n}`);return n}}const setupDockerWinPs1=()=>get("docker-setup-win.ps1",Hm);const dockerServiceLogsPs1=()=>get("docker-service-logs.ps1",Gm);const limaYaml=()=>get("lima.yaml",qm);const get=(e,t,r)=>{const n=context_Context.tmpName({template:`docker-asset-XXXXXX-${e}`,tmpdir:context_Context.tmpDir()});A.writeFileSync(n,t);if(r){A.chmodSync(n,r)}return n};const Hm=`\n[CmdletBinding()]\nparam(\n [Parameter(Mandatory = $true)]\n [string]$ToolDir,\n\n [Parameter(Mandatory = $true)]\n [string]$RunDir,\n\n [Parameter(Mandatory = $true)]\n [string]$DockerHostSocket,\n\n [Parameter(Mandatory = $false)]\n [string]$DockerHostTCP,\n\n [Parameter(Mandatory = $false)]\n [string]$DaemonConfig)\n\n$pwver = (Get-ItemProperty -Path HKLM:\\SOFTWARE\\Microsoft\\PowerShell\\3\\PowerShellEngine -Name 'PowerShellVersion').PowerShellVersion\nWrite-Host "PowerShell version: $pwver"\n\n# Create run directory\nNew-Item -ItemType Directory "$RunDir" -ErrorAction SilentlyContinue | Out-Null\n\n# Remove existing service\nif (Get-Service docker -ErrorAction SilentlyContinue) {\n $dockerVersion = (docker version -f "{{.Server.Version}}")\n Write-Host "Current installed Docker version: $dockerVersion"\n # stop service\n Stop-Service -Force -Name docker\n Write-Host "Service stopped"\n # remove service\n sc.exe delete "docker"\n # removes event log entry. we could use "Remove-EventLog -LogName -Source docker"\n # but this cmd is not available atm\n $ErrorActionPreference = "SilentlyContinue"\n & reg delete "HKLM\\SYSTEM\\CurrentControlSet\\Services\\EventLog\\Application\\docker" /f 2>&1 | Out-Null\n $ErrorActionPreference = "Stop"\n Write-Host "Service removed"\n}\n\n$env:Path = "$ToolDir;" + [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")\nWrite-Host "Path: $env:Path"\n\n$env:DOCKER_HOST = $DockerHostSocket\nWrite-Host "DOCKER_HOST: $env:DOCKER_HOST"\n\nif ($DaemonConfig) {\n Write-Host "Writing Docker daemon config"\n New-Item -ItemType Directory -Force -Path "$env:ProgramData\\Docker\\config"\n $DaemonConfig | Out-File -FilePath "$env:ProgramData\\Docker\\config\\daemon.json"\n}\n\n$arguments = @(\n "--host=$DockerHostSocket",\n "--data-root=$RunDir\\\\moby-root",\n "--exec-root=$RunDir\\\\moby-exec",\n "--pidfile=$RunDir\\\\docker.pid",\n "--register-service"\n)\nif ($DockerHostTCP) {\n $arguments += "--host=$DockerHostTCP"\n}\n\nWrite-Host "Creating service"\nNew-Item -ItemType Directory "$RunDir\\moby-root" -ErrorAction SilentlyContinue | Out-Null\nNew-Item -ItemType Directory "$RunDir\\moby-exec" -ErrorAction SilentlyContinue | Out-Null\nStart-Process -Wait -NoNewWindow "$ToolDir\\dockerd" -ArgumentList $arguments\nWrite-Host "Starting service"\nStart-Service -Name docker\nWrite-Host "Service started successfully!"\n\n$tries=20\nWrite-Host "Waiting for Docker daemon to start..."\nWhile ($true) {\n $ErrorActionPreference = "SilentlyContinue"\n & "$ToolDir\\docker" version | Out-Null\n $ErrorActionPreference = "Stop"\n If ($LastExitCode -eq 0) {\n break\n }\n $tries--\n If ($tries -le 0) {\n Throw "Failed to get a response from Docker daemon"\n }\n Write-Host -NoNewline "."\n Start-Sleep -Seconds 1\n}\nWrite-Host "Docker daemon started successfully!"\n`;const Gm=`\nGet-WinEvent -ea SilentlyContinue \`\n -FilterHashtable @{ProviderName= "docker"; LogName = "application"} |\n Sort-Object @{Expression="TimeCreated";Descending=$false} |\n ForEach-Object {"$($_.TimeCreated.ToUniversalTime().ToString("o")) [$($_.LevelDisplayName)] $($_.Message)"}\n`;const qm=`\n# Source:\n# - https://github.com/lima-vm/lima/blob/master/templates/docker-rootful.yaml\n# - https://github.com/lima-vm/lima/blob/master/templates/_images/ubuntu-lts.yaml\n# - https://github.com/lima-vm/lima/blob/master/templates/_images/ubuntu-24.04.yaml\n\n# VM type: "qemu" or "vz" (on macOS 13 and later).\n# The vmType can be specified only on creating the instance.\n# The vmType of existing instances cannot be changed.\n# Builtin default: "qemu"\nvmType: qemu\n\n# OS: "Linux".\n# Builtin default: "Linux"\nos: null\n\n# Arch: "default", "x86_64", "aarch64".\n# Builtin default: "default" (corresponds to the host architecture)\narch: null\n\nimages:\n{{#each customImages}}\n- location: "{{location}}"\n arch: "{{arch}}"\n digest: "{{digest}}"\n{{/each}}\n- location: "https://cloud-images.ubuntu.com/releases/noble/release-20250704/ubuntu-24.04-server-cloudimg-amd64.img"\n arch: "x86_64"\n digest: "sha256:f1652d29d497fb7c623433705c9fca6525d1311b11294a0f495eed55c7639d1f"\n kernel:\n location: "https://cloud-images.ubuntu.com/releases/noble/release-20250704/unpacked/ubuntu-24.04-server-cloudimg-amd64-vmlinuz-generic"\n digest: "sha256:67cd9af083515de2101de032b49a64fc4b65778e5383df6ef21cf788a3f4688e"\n cmdline: "root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyAMA0 no_timer_check"\n initrd:\n location: "https://cloud-images.ubuntu.com/releases/noble/release-20250704/unpacked/ubuntu-24.04-server-cloudimg-amd64-initrd-generic"\n digest: "sha256:f257d581c44f66da2d80c7c5dc3fa598ce76ef313d6e27b368683e8030a9e8fd"\n- location: "https://cloud-images.ubuntu.com/releases/noble/release-20250704/ubuntu-24.04-server-cloudimg-arm64.img"\n arch: "aarch64"\n digest: "sha256:bbecbb88100ee65497927ed0da247ba15af576a8855004182cf3c87265e25d35"\n# Fallback to the latest release image.\n# Hint: run \`limactl prune\` to invalidate the cache\n- location: https://cloud-images.ubuntu.com/releases/noble/release/ubuntu-24.04-server-cloudimg-amd64.img\n arch: "x86_64"\n- location: https://cloud-images.ubuntu.com/releases/noble/release/ubuntu-24.04-server-cloudimg-arm64.img\n arch: "aarch64"\n\n# CPUs\n# Builtin default: min(4, host CPU cores)\ncpus: null\n\n# Memory size\n# Builtin default: min("4GiB", half of host memory)\nmemory: null\n\n# Disk size\n# Builtin default: "100GiB"\ndisk: 60GiB\n\n# Expose host directories to the guest, the mount point might be accessible from all UIDs in the guest\n# Builtin default: null (Mount nothing)\n# This file: Mount the home as read-only, /tmp/lima as writable\nmounts:\n- location: "~"\n- location: "/tmp/lima"\n writable: true\n\n# Mount type for above mounts, such as "reverse-sshfs" (from sshocker), "9p" (EXPERIMENTAL, from QEMUs virtio-9p-pci, aka virtfs),\n# or "virtiofs" (EXPERIMENTAL, needs \`vmType: vz\`)\n# Builtin default: "reverse-sshfs" (for QEMU), "virtiofs" (for vz)\nmountType: null\n\ncontainerd:\n system: false\n user: false\n\nprovision:\n- mode: system\n # This script defines the host.docker.internal hostname when hostResolver is disabled.\n # It is also needed for lima 0.8.2 and earlier, which does not support hostResolver.hosts.\n # Names defined in /etc/hosts inside the VM are not resolved inside containers when\n # using the hostResolver; use hostResolver.hosts instead (requires lima 0.8.3 or later).\n script: |\n #!/bin/sh\n sed -i 's/host.lima.internal.*/host.lima.internal host.docker.internal/' /etc/hosts\n- mode: system\n script: |\n #!/bin/sh\n apt-get install -f -y iptables\n- mode: system\n script: |\n #!/bin/bash\n set -eux -o pipefail\n command -v docker >/dev/null 2>&1 && exit 0\n if [ ! -e /etc/systemd/system/docker.socket.d/override.conf ]; then\n mkdir -p /etc/systemd/system/docker.socket.d\n # Alternatively we could just add the user to the "docker" group, but that requires restarting the user session\n cat <<-EOF >/etc/systemd/system/docker.socket.d/override.conf\n [Socket]\n SocketUser=\${LIMA_CIDATA_USER}\n EOF\n fi\n if [ ! -e /etc/docker/daemon.json ]; then\n mkdir -p /etc/docker\n cat <<-EOF >/etc/docker/daemon.json\n {{stringify daemonConfig}}\n EOF\n fi\n export DEBIAN_FRONTEND=noninteractive\n if [ "{{srcType}}" == "archive" ]; then\n curl -fsSL https://get.docker.com | sh -s -- --channel {{srcArchiveChannel}} --version {{srcArchiveVersion}}\n sed -i 's|^ExecStart=.*|ExecStart=/usr/bin/dockerd -H fd://{{#if localTCPPort}} -H tcp://0.0.0.0:2375{{/if}} --containerd=/run/containerd/containerd.sock|' /usr/lib/systemd/system/docker.service\n systemctl daemon-reload\n systemctl restart docker\n systemctl status docker.socket || true\n systemctl status docker.service || true\n elif [ "{{srcType}}" == "image" ]; then\n arch=$(uname -m)\n case $arch in\n x86_64) arch=amd64;;\n aarch64) arch=arm64;;\n esac\n url="https://github.com/crazy-max/undock/releases/download/v0.10.0/undock_0.10.0_linux_$arch.tar.gz"\n\n wget "$url" -O /tmp/undock.tar.gz\n tar -C /usr/local/bin -xvf /tmp/undock.tar.gz\n undock --version\n\n HOME=/tmp undock moby/moby-bin:{{srcImageTag}} /usr/local/bin\n\n wget https://raw.githubusercontent.com/moby/moby/{{gitCommit}}/contrib/init/systemd/docker.service -O /etc/systemd/system/docker.service\n wget https://raw.githubusercontent.com/moby/moby/{{gitCommit}}/contrib/init/systemd/docker.socket -O /etc/systemd/system/docker.socket\n\n sed -i 's|^ExecStart=.*|ExecStart=/usr/local/bin/dockerd -H fd://{{#if localTCPPort}} -H tcp://0.0.0.0:2375{{/if}}|' /etc/systemd/system/docker.service\n sed -i 's|containerd.service||' /etc/systemd/system/docker.service\n if ! getent group docker; then\n groupadd --system docker\n fi\n systemctl daemon-reload\n fail=0\n if ! systemctl enable --now docker; then\n fail=1\n fi\n systemctl status docker.socket || true\n systemctl status docker.service || true\n exit $fail\n fi\n\nprobes:\n- script: |\n #!/bin/bash\n set -eux -o pipefail\n # Don't check for docker CLI as it's not installed in the VM (only on the host)\n if ! timeout 60s bash -c "until pgrep dockerd; do sleep 3; done"; then\n echo >&2 "dockerd is not running"\n exit 1\n fi\n hint: See "/var/log/cloud-init-output.log". in the guest\n\nhostResolver:\n # Don't use local system resolver\n enabled: false\n # hostResolver.hosts requires lima 0.8.3 or later. Names defined here will also\n # resolve inside containers, and not just inside the VM itself.\n hosts:\n host.docker.internal: host.lima.internal\n\n# Use custom DNS servers instead of the host's DNS settings\ndns:\n - 1.1.1.1\n - 1.0.0.1\n\nportForwards:\n- guestSocket: "/var/run/docker.sock"\n hostSocket: "{{dockerSock}}"\n{{#if localTCPPort}}\n- guestPort: 2375\n hostPort: {{localTCPPort}}\n{{/if}}\n\naudio:\n # EXPERIMENTAL\n # QEMU audiodev, e.g., "none", "coreaudio", "pa", "alsa", "oss".\n # VZ driver, use "vz" as device name\n # Choosing "none" will mute the audio output, and not play any sound.\n # Builtin default: ""\n device: none\n`;class Install{runDir;source;contextName;daemonConfig;rootless;localTCPPort;regctl;undock;githubToken;_version;_toolDir;gitCommit;limaInstanceName="docker-actions-toolkit";constructor(e){this.runDir=e.runDir;this.source=e.source||{type:"archive",version:"latest",channel:"stable"};this.contextName=e.contextName||"setup-docker-action";this.daemonConfig=e.daemonConfig;this.rootless=e.rootless||false;this.localTCPPort=e.localTCPPort;this.regctl=e.regctl||new Regctl;this.undock=e.undock||new Undock;this.githubToken=e.githubToken||process.env.GITHUB_TOKEN}get toolDir(){return this._toolDir||context_Context.tmpDir()}async download(){let e;let t;const r=c.platform();switch(this.source.type){case"image":{this._version=this.source.tag;t=`docker-image`;e=await this.downloadSourceImage(r);break}case"archive":{const r=this.source.version;const n=this.source.channel;t=`docker-archive-${n}`;this._version=r;info(`Downloading Docker ${r} from ${this.source.channel} at download.docker.com`);e=await this.downloadSourceArchive("docker",this.source);if(this.rootless){info(`Downloading Docker rootless extras ${r} from ${this.source.channel} at download.docker.com`);const t=await this.downloadSourceArchive("docker-rootless-extras",this.source);A.readdirSync(t).forEach((r=>{const n=i.join(t,r);const s=i.join(e,r);A.copyFileSync(n,s)}))}break}}info("Fixing perms");A.readdir(i.join(e),(function(t,r){if(t){throw t}r.forEach((function(t,r){if(!Util.isDirectory(i.join(e,t))){A.chmodSync(i.join(e,t),"0755")}}))}));const n=await cacheDir(e,t,this._version.replace(/(0+)([1-9]+)/,"$2"));addPath(n);info("Added Docker to PATH");this._toolDir=n;return n}async downloadSourceImage(e){const t=i.join(context_Context.tmpDir(),"docker-install-image");const r=`dockereng/cli-bin:${this._version}`;const n=`moby/moby-bin:${this._version}`;info(`Downloading Docker CLI from ${r}`);await this.undock.run({source:r,dist:t});if(["win32","linux"].includes(e)){info(`Downloading Docker engine from ${n}`);await this.undock.run({source:n,dist:t})}else if(e=="darwin"){try{const e=await this.imageConfig(n,"linux/arm64");core_debug(`docker.Install.downloadSourceImage engineImageConfig: ${JSON.stringify(e)}`);this.gitCommit=e.config?.Labels?.["org.opencontainers.image.revision"];if(!this.gitCommit){throw new Error(`No git revision can be determined from the image`)}}catch(e){warning(e);this.gitCommit="master"}core_debug(`docker.Install.downloadSourceImage gitCommit: ${this.gitCommit}`)}else{warning(`Docker engine not supported on ${e}, only the Docker cli will be available`)}return t}async downloadSourceArchive(e,t){const r=await Install.getRelease(t.version,this.githubToken);this._version=r.tag_name.replace(/^(docker-)?v+/,"");core_debug(`docker.Install.downloadSourceArchive version: ${this._version}`);const n=this.downloadURL(e,this._version,t.channel);info(`Downloading ${n}`);const s=await downloadTool(n);core_debug(`docker.Install.downloadSourceArchive downloadPath: ${s}`);let o;if(c.platform()=="win32"){o=await extractZip(s,o)}else{o=await extractTar(s,o)}if(Util.isDirectory(i.join(o,e))){o=i.join(o,e)}core_debug(`docker.Install.downloadSourceArchive extractFolder: ${o}`);return o}async install(){if(!this.toolDir){throw new Error("toolDir must be set. Run download first.")}if(!this.runDir){throw new Error("runDir must be set")}const e=c.platform();if(this.rootless&&e!="linux"){throw new Error(`rootless is only supported on linux`)}switch(e){case"darwin":{return await this.installDarwin()}case"linux":{return await this.installLinux()}case"win32":{return await this.installWindows()}default:{throw new Error(`Unsupported platform: ${c.platform()}`)}}}async installDarwin(){if(this.source.type=="image"&&!this.gitCommit){throw new Error("gitCommit must be set. Run download first.")}const e=this.source;const t=i.join(c.homedir(),".lima",this.limaInstanceName);await mkdirP(t);const r=`unix://${t}/docker.sock`;if(!await Install.limaInstalled()){await this.brewInstall("lima")}await group("Lima version",(async()=>{await Exec.exec("lima",["--version"])}));await group("Creating lima config",(async()=>{let r={};if(this.daemonConfig){r=JSON.parse(this.daemonConfig)}Lp.registerHelper("stringify",(function(e){return new Lp.SafeString(JSON.stringify(e))}));const n=e;const s=Lp.compile(qm)({customImages:Install.limaCustomImages(),daemonConfig:r,dockerSock:`${t}/docker.sock`,localTCPPort:this.localTCPPort,gitCommit:this.gitCommit,srcType:e.type,srcArchiveVersion:this._version,srcArchiveChannel:n.channel,srcImageTag:e.tag});info(`Writing lima config to ${i.join(t,"lima.yaml")}`);A.writeFileSync(i.join(t,"lima.yaml"),s);info(s)}));if(!await Install.qemuInstalled()){await this.brewInstall("qemu")}const n=await Install.qemuBin();await group("QEMU version",(async()=>{await Exec.exec(n,["--version"])}));const s=Object.assign({},process.env,{PATH:`${this.toolDir}:${process.env.PATH}`});await group("Starting lima instance",(async()=>{const e=["start",`--name=${this.limaInstanceName}`,`--timeout=${process.env.LIMA_START_TIMEOUT??"15m"}`];if(process.env.LIMA_START_ARGS){e.push(process.env.LIMA_START_ARGS)}try{await Exec.exec(`limactl ${e.join(" ")}`,[],{env:s})}catch(e){_p.readdir(t).then((e=>{e.filter((e=>i.extname(e)===".log")).forEach((e=>{const r=i.join(t,e);const n=A.readFileSync(r,{encoding:"utf8"}).trim();if(n.length>0){info(`### ${r}:\n${n}`)}}))})).catch((()=>{}));throw e}}));await group("Create Docker context",(async()=>{await Docker.exec(["context","create",this.contextName,"--docker",`host=${r}`]);await Docker.exec(["context","use",this.contextName])}));return r}async installLinux(){const e=`unix://${i.join(this.runDir,"docker.sock")}`;await mkdirP(this.runDir);const t=i.join(this.runDir,"daemon.json");await A.writeFileSync(t,"{}");let r=undefined;const n="/etc/docker/daemon.json";if(A.existsSync(n)){await group("Default Docker daemon config found",(async()=>{info(JSON.stringify(JSON.parse(A.readFileSync(n,{encoding:"utf8"})),null,2))}));r=JSON.parse(A.readFileSync(n,{encoding:"utf8"}))}if(this.daemonConfig){r=Object.assign(r||{},JSON.parse(this.daemonConfig))}if(r){const e=JSON.stringify(r,null,2);await group("Writing Docker daemon config",(async()=>{A.writeFileSync(t,e);info(e)}))}const s=Object.assign({},process.env,{PATH:`${this.toolDir}:${process.env.PATH}`,XDG_RUNTIME_DIR:this.rootless&&this.runDir||undefined});await group("Start Docker daemon",(async()=>{const r=await which("bash",true);let n=`${this.toolDir}/dockerd`;if(this.rootless){n=`${this.toolDir}/dockerd-rootless.sh`;if(A.existsSync("/proc/sys/kernel/apparmor_restrict_unprivileged_userns")){await Exec.exec("sudo",["sh","-c","echo 0 > /proc/sys/kernel/apparmor_restrict_unprivileged_userns"])}}let o=`${n} --host="${e}" --config-file="${t}" --exec-root="${this.runDir}/execroot" --data-root="${this.runDir}/data" --pidfile="${this.runDir}/docker.pid"`;if(this.localTCPPort){o+=` --host="tcp://127.0.0.1:${this.localTCPPort}"`}info(`[command] ${o}`);let i="sudo";if(this.rootless){i+=" -u \\#1001"}const a=await U.spawn(`${i} env "PATH=$PATH" "XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR" ${r} << EOF\n( ${o} 2>&1 | tee "${this.runDir}/dockerd.log" ) &\nEOF`,[],{env:s,detached:true,shell:true,stdio:["ignore",process.stdout,process.stderr]});a.unref();await Util.sleep(3);const c=10;await Pp((async t=>{try{await Exec.getExecOutput(`docker version`,undefined,{silent:true,env:Object.assign({},s,{DOCKER_HOST:e,DOCKER_CONTENT_TRUST:"false"})})}catch(e){t(e)}}),{retries:c,minTimeout:1e3,onRetry:(e,t)=>{info(`${e}. Retrying (${t}/${c})...`)}});info(`Docker daemon started started successfully`)}));await group("Create Docker context",(async()=>{await Docker.exec(["context","create",this.contextName,"--docker",`host=${e}`]);await Docker.exec(["context","use",this.contextName])}));return e}async installWindows(){const e="npipe:////./pipe/setup_docker_action";let t=undefined;const r=i.join(this.runDir,"daemon.json");if(A.existsSync(r)){await group("Default Docker daemon config found",(async()=>{info(JSON.stringify(JSON.parse(A.readFileSync(r,{encoding:"utf8"})),null,2))}));t=JSON.parse(A.readFileSync(r,{encoding:"utf8"}))}if(this.daemonConfig){t=Object.assign(t||{},JSON.parse(this.daemonConfig))}let n="{}";if(t){n=JSON.stringify(t,null,2);await group("Docker daemon config",(async()=>{info(n)}))}const s={ToolDir:this.toolDir,RunDir:this.runDir,DockerHostSocket:e,DaemonConfig:n};if(this.localTCPPort){s["DockerHostTCP"]=`tcp://127.0.0.1:${this.localTCPPort}`}await group("Install Docker daemon service",(async()=>{const e=await Util.powershellCommand(setupDockerWinPs1(),s);await Exec.exec(e.command,e.args);const t=await Util.powershellCommand(dockerServiceLogsPs1());await Exec.exec(t.command,t.args)}));await group("Create Docker context",(async()=>{await Docker.exec(["context","create",this.contextName,"--docker",`host=${e}`]);await Docker.exec(["context","use",this.contextName])}));return e}async tearDown(){if(!this.runDir){throw new Error("runDir must be set")}switch(c.platform()){case"darwin":{await this.tearDownDarwin();break}case"linux":{await this.tearDownLinux();break}case"win32":{await this.tearDownWindows();break}default:{throw new Error(`Unsupported platform: ${c.platform()}`)}}await group(`Cleaning up toolDir`,(async()=>{if(!this._toolDir){return}A.rmSync(this._toolDir,{recursive:true,force:true})}))}async tearDownDarwin(){await group("Docker daemon logs",(async()=>{await Exec.exec("limactl",["shell","--tty=false",this.limaInstanceName,"sudo","journalctl","-u","docker.service","-l","--no-pager"]).catch((()=>{warning(`Failed to get Docker daemon logs`)}))}));await group("Stopping lima instance",(async()=>{await Exec.exec("limactl",["stop","--tty=false",this.limaInstanceName,"--force"])}));await group("Removing lima instance",(async()=>{await Exec.exec("limactl",["delete","--tty=false",this.limaInstanceName,"--force"])}));await group("Removing Docker context",(async()=>{await Docker.exec(["context","rm","-f",this.contextName])}));await group(`Cleaning up runDir`,(async()=>{await Exec.exec("sudo",["rm","-rf",this.runDir])}))}async tearDownLinux(){await group("Docker daemon logs",(async()=>{info(A.readFileSync(i.join(this.runDir,"dockerd.log"),{encoding:"utf8"}))}));await group("Stopping Docker daemon",(async()=>{await Exec.exec("sudo",["kill","-s","SIGTERM",A.readFileSync(i.join(this.runDir,"docker.pid")).toString().trim()]);await Util.sleep(5)}));await group("Removing Docker context",(async()=>{await Docker.exec(["context","rm","-f",this.contextName])}));await group(`Cleaning up runDir`,(async()=>{await Exec.exec("sudo",["rm","-rf",this.runDir],{ignoreReturnCode:true,failOnStdErr:false})}))}async tearDownWindows(){await group("Docker daemon logs",(async()=>{const e=await Util.powershellCommand(dockerServiceLogsPs1());await Exec.exec(e.command,e.args)}));await group("Removing Docker context",(async()=>{await Docker.exec(["context","rm","-f",this.contextName])}));await group("Stopping Docker daemon service",(async()=>{await Exec.exec("powershell",["-Command",`Stop-Service -Name docker -Force`])}))}downloadURL(e,t,r){const n=Install.platformOS();const s=Install.platformArch();const o=n==="win"?".zip":".tgz";return`https://download.docker.com/${n}/static/${r}/${s}/${e}-${t}${o}`}static platformOS(){switch(c.platform()){case"darwin":{return"mac"}case"linux":{return"linux"}case"win32":{return"win"}default:{return c.platform()}}}static platformArch(){switch(c.arch()){case"x64":{return"x86_64"}case"ppc64":{return"ppc64le"}case"arm64":{return"aarch64"}case"arm":{const e=process.config.variables.arm_version;switch(e){case 6:{return"armel"}case 7:{return"armhf"}default:{return`v${e}`}}}default:{return c.arch()}}}static async limaInstalled(){return await which("lima",true).then((e=>{core_debug(`docker.Install.limaInstalled ok: ${e}`);return true})).catch((e=>{core_debug(`docker.Install.limaInstalled error: ${e}`);return false}))}static async qemuBin(){switch(c.arch()){case"x64":{return`qemu-system-x86_64`}case"arm64":{return`qemu-system-aarch64`}default:{return`qemu-system-${c.arch()}`}}}static async qemuInstalled(){return await which(await Install.qemuBin(),true).then((e=>{core_debug(`docker.Install.qemuInstalled ok: ${e}`);return true})).catch((e=>{core_debug(`docker.Install.qemuInstalled error: ${e}`);return false}))}static async getRelease(e,t){const r=new github_GitHub({token:t});const n=await r.releases("Docker",{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/docker-releases.json"});if(!n[e]){if(!n["v"+e]){throw new Error(`Cannot find Docker release ${e} in releases JSON`)}return n["v"+e]}return n[e]}static limaCustomImages(){const e=[];const t=process.env.LIMA_IMAGES;if(!t){return e}for(const r of Util.getList(t,{ignoreComma:true,comment:"#"})){const t=r.indexOf(":");const n=r.substring(0,t).trim();const s=r.indexOf("@");const o=r.substring(t+1,s!==-1?s:undefined).trim();const i=s!==-1?r.substring(s+1).trim():"";e.push({location:o,arch:n,digest:i})}return e}async imageConfig(e,t){const r=await this.regctl.manifestGet({image:e,platform:t});const n=r?.config?.digest;if(!n){throw new Error(`No config digest found for image ${e}`)}const s=await this.regctl.blobGet({repository:e,digest:n});return JSON.parse(s)}async brewInstall(e,t){const r=Object.assign({},process.env,{HOMEBREW_NO_AUTO_UPDATE:"1",HOMEBREW_NO_INSTALL_UPGRADE:"1",HOMEBREW_NO_INSTALL_CLEANUP:"1"});await group(`Installing ${e}`,(async()=>{if(!t){await Exec.exec("brew",["install",e])}else{const n="docker-actions-toolkit/tap";const s=await Exec.getExecOutput("brew",["tap"],{ignoreReturnCode:true,silent:true,env:r}).then((e=>{if(e.stderr.length>0&&e.exitCode!=0){throw new Error(e.stderr)}for(const t of e.stdout.trim().split("\n")){if(t.includes(n)){return true}}return false}));if(!s){await Exec.exec("brew",["tap-new",n],{env:r})}const o=await Exec.getExecOutput("brew",["--repo",n],{ignoreReturnCode:true,silent:true,env:r}).then((e=>{if(e.stderr.length>0&&e.exitCode!=0){throw new Error(e.stderr)}return e.stdout.trim()}));const a=`https://raw.githubusercontent.com/Homebrew/homebrew-core/${t}/Formula/${e.charAt(0)}/${e}.rb`;await downloadTool(a,i.join(o,"Formula",`${e}.rb`));const c=await Exec.getExecOutput("brew",["ls","-1"],{ignoreReturnCode:true,silent:true,env:r}).then((t=>{if(t.stderr.length>0&&t.exitCode!=0){throw new Error(t.stderr)}for(const r of t.stdout.trim().split("\n")){if(r.trim()==e){return true}}return false}));if(c){await Exec.exec("brew",["uninstall",e,"--ignore-dependencies"],{env:r})}await Exec.exec("brew",["install",`${n}/${e}`],{env:r})}}))}}class install_Install{githubToken;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,t){const r=await install_Install.getDownloadVersion(e);core_debug(`Install.download version: ${r.version}`);const n=await install_Install.getRelease(r,this.githubToken);core_debug(`Install.download release tag name: ${n.tag_name}`);const s=await this.vspec(n.tag_name);core_debug(`Install.download vspec: ${s}`);const o=Um.clean(s)||"";if(!Um.valid(o)){throw new Error(`Invalid regclient version "${s}".`)}const a=new Cache({htcName:"regctl-dl-bin",htcVersion:s,baseCacheDir:i.join(c.homedir(),".bin"),cacheFile:c.platform()=="win32"?"regctl.exe":"regctl",ghaNoCache:t});const l=await a.find();if(l){info(`regctl binary found in ${l}`);return l}const u=Ie.format(r.downloadURL,s,this.filename());info(`Downloading ${u}`);const A=await downloadTool(u,undefined,this.githubToken);core_debug(`Install.download htcDownloadPath: ${A}`);const d=await a.save(A);info(`Cached to ${d}`);return d}async install(e,t){t=t||context_Context.tmpDir();const r=i.join(t,"regctl-bin");if(!A.existsSync(r)){A.mkdirSync(r,{recursive:true})}const n=c.platform()=="win32"?"regctl.exe":"regctl";const s=i.join(r,n);A.copyFileSync(e,s);info("Fixing perms");A.chmodSync(s,"0755");addPath(r);info("Added regctl to PATH");info(`Binary path: ${s}`);return s}filename(){let e;switch(c.arch()){case"x64":{e="amd64";break}case"ppc64":{e="ppc64le";break}case"arm":{const t=process.config.variables.arm_version;e=t?"armv"+t:"arm";break}default:{e=c.arch();break}}const t=c.platform()=="win32"?"windows":c.platform();const r=c.platform()=="win32"?".exe":"";return Ie.format("regctl-%s-%s%s",t,e,r)}async vspec(e){const t=e.replace(/^v+|v+$/g,"");info(`Use ${t} version spec cache key for ${e}`);return t}static async getDownloadVersion(e){return{version:e,downloadURL:"https://github.com/regclient/regclient/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/regclient-releases.json"}}}static async getRelease(e,t){const r=new github_GitHub({token:t});const n=await r.releases("regclient",e.contentOpts);if(!n[e.version]){throw new Error(`Cannot find regclient release ${e.version} in releases JSON`)}return n[e.version]}}class undock_install_Install{githubToken;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,t){const r=await undock_install_Install.getDownloadVersion(e);core_debug(`Install.download version: ${r.version}`);const n=await undock_install_Install.getRelease(r,this.githubToken);core_debug(`Install.download release tag name: ${n.tag_name}`);const s=await this.vspec(n.tag_name);core_debug(`Install.download vspec: ${s}`);const o=Um.clean(s)||"";if(!Um.valid(o)){throw new Error(`Invalid Undock version "${s}".`)}const a=new Cache({htcName:"undock-dl-bin",htcVersion:s,baseCacheDir:i.join(c.homedir(),".bin"),cacheFile:c.platform()=="win32"?"undock.exe":"undock",ghaNoCache:t});const l=await a.find();if(l){info(`Undock binary found in ${l}`);return l}const u=Ie.format(r.downloadURL,s,this.filename(s));info(`Downloading ${u}`);const A=await downloadTool(u,undefined,this.githubToken);core_debug(`Install.download htcDownloadPath: ${A}`);let d;if(c.platform()=="win32"){d=await extractZip(A)}else{d=await extractTar(A)}info(`Extracted to ${d}`);const p=i.join(d,c.platform()=="win32"?"undock.exe":"undock");core_debug(`Install.download exePath: ${p}`);const m=await a.save(p);info(`Cached to ${m}`);return m}async install(e,t){t=t||context_Context.tmpDir();const r=i.join(t,"undock-bin");if(!A.existsSync(r)){A.mkdirSync(r,{recursive:true})}const n=c.platform()=="win32"?"undock.exe":"undock";const s=i.join(r,n);A.copyFileSync(e,s);info("Fixing perms");A.chmodSync(s,"0755");addPath(r);info("Added Undock to PATH");info(`Binary path: ${s}`);return s}filename(e){let t;switch(c.arch()){case"x64":{t="amd64";break}case"ppc64":{t="ppc64le";break}case"arm":{const e=process.config.variables.arm_version;t=e?"armv"+e:"arm";break}default:{t=c.arch();break}}const r=c.platform()=="win32"?"windows":c.platform();const n=c.platform()=="win32"?".zip":".tar.gz";return Ie.format("undock_%s_%s_%s%s",e,r,t,n)}async vspec(e){const t=e.replace(/^v+|v+$/g,"");info(`Use ${t} version spec cache key for ${e}`);return t}static async getDownloadVersion(e){return{version:e,downloadURL:"https://github.com/crazy-max/undock/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/undock-releases.json"}}}static async getRelease(e,t){const r=new github_GitHub({token:t});const n=await r.releases("Undock",e.contentOpts);if(!n[e.version]){throw new Error(`Cannot find Undock release ${e.version} in releases JSON`)}return n[e.version]}}function getInputs(){const e=getInput("version")||"latest";const t=parseSource(e);const r=getInput("channel");if(r&&t.type==="archive"){t.channel=r}return{source:t,daemonConfig:getInput("daemon-config"),tcpPort:Util.getInputNumber("tcp-port"),context:getInput("context"),setHost:getBooleanInput("set-host"),rootless:getBooleanInput("rootless"),runtimeBasedir:getInput("runtime-basedir")||a().join(l().homedir(),`setup-docker-action`),githubToken:getInput("github-token")}}function parseSource(e){let[t,r,n,s]=["archive","latest","stable","latest"];const o=sync_parse(e,{relaxColumnCount:true,skipEmptyLines:true})[0];for(const e of o){const i=e.toString().split(/(?<=^[^=]+?)=/).map((e=>e.trim()));switch(i[0]){case"type":t=i[1];break;case"version":r=i[1];break;case"channel":n=i[1];break;case"tag":s=i[1];break;default:if(o.length===1){r=i[0];break}throw new Error(`Invalid field: ${i[0]}`)}}if(!t){throw new Error(`Invalid type: ${t}`)}if(!n){throw new Error(`Invalid channel: ${n}`)}if(!r){throw new Error(`Invalid version: ${r}`)}if(!s){throw new Error(`Invalid tag: ${s}`)}let i;switch(t){case"archive":i={type:"archive",version:r,channel:n};break;case"image":i={type:"image",tag:s};break;default:throw new Error(`Invalid version: ${e}`)}return i}const zm=process.env["STATE_rundir"]||"";function setRunDir(e){saveState("rundir",e)}const Vm="v0.8.3";const $m="v0.10.0";run((async()=>{const e=getInputs();const t=a().join(e.runtimeBasedir,`run-${o.randomUUID().slice(0,8)}`);if(e.context=="default"){throw new Error(`'default' context cannot be used.`)}if(e.source.type==="image"){await group(`Download and install regctl`,(async()=>{const t=new install_Install({githubToken:e.githubToken});const r=await t.download(process.env.REGCTL_VERSION&&process.env.REGCTL_VERSION.trim()?process.env.REGCTL_VERSION:Vm,true);await t.install(r)}));await group(`Download and install undock`,(async()=>{const t=new undock_install_Install({githubToken:e.githubToken});const r=await t.download(process.env.UNDOCK_VERSION&&process.env.UNDOCK_VERSION.trim()?process.env.UNDOCK_VERSION:$m,true);await t.install(r)}))}let r;let n;if(e.tcpPort){r=e.tcpPort;n=`tcp://127.0.0.1:${r}`}const s=new Install({runDir:t,source:e.source,rootless:e.rootless,contextName:e.context||"setup-docker-action",daemonConfig:e.daemonConfig,localTCPPort:r,githubToken:e.githubToken});let i;if(!await Docker.isAvailable()||e.source){await group(`Download docker`,(async()=>{i=await s.download()}))}if(i){setRunDir(t);const r=await s.install();await group(`Setting outputs`,(async()=>{info(`sock=${r}`);setOutput("sock",r);if(n){info(`tcp=${n}`);setOutput("tcp",n)}}));if(e.setHost){await group(`Setting Docker host`,(async()=>{exportVariable("DOCKER_HOST",r);info(`DOCKER_HOST=${r}`)}))}}await group(`Docker info`,(async()=>{await Docker.printVersion();await Docker.printInfo()}))}),(async()=>{if(zm.length==0){return}const e=new Install({runDir:zm});await e.tearDown()}));
//# sourceMappingURL=index.js.map