setup-bun/dist/setup/index.js
Lee Trout 5bb1c1b2dc
feat: support reading bun version from mise.toml
Add `mise.toml` and `.mise.toml` to the version file readers, using the
existing `@iarna/toml` dependency for robust TOML parsing. Handles both
string and array formats under `[tools]`.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-06-01 21:50:25 -04:00

144 lines
1.4 MiB
Generated

var c9=Object.create;var aA=Object.defineProperty;var l9=Object.getOwnPropertyDescriptor;var A9=Object.getOwnPropertyNames;var u9=Object.getPrototypeOf,d9=Object.prototype.hasOwnProperty;var o=(t,e)=>aA(t,"name",{value:e,configurable:!0});var vd=(t,e)=>()=>(t&&(e=t(t=0)),e);var g=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Pd=(t,e)=>{for(var r in e)aA(t,r,{get:e[r],enumerable:!0})},tv=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of A9(e))!d9.call(t,i)&&i!==r&&aA(t,i,{get:()=>e[i],enumerable:!(n=l9(e,i))||n.enumerable});return t};var li=(t,e,r)=>(r=t!=null?c9(u9(t)):{},tv(e||!t||!t.__esModule?aA(r,"default",{value:t,enumerable:!0}):r,t)),Zt=t=>tv(aA({},"__esModule",{value:!0}),t);var Td=g(Dd=>{"use strict";Object.defineProperty(Dd,"__esModule",{value:!0});Dd.toCommandValue=p9;Dd.toCommandProperties=h9;function p9(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(p9,"toCommandValue");function h9(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}o(h9,"toCommandProperties")});var sv=g(Ai=>{"use strict";var f9=Ai&&Ai.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),m9=Ai&&Ai.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),g9=Ai&&Ai.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&f9(r,e,n[i]);return m9(r,e),r}}();Object.defineProperty(Ai,"__esModule",{value:!0});Ai.issueCommand=iv;Ai.issue=C9;var y9=g9(require("os")),nv=Td();function iv(t,e,r){let n=new TC(t,e,r);process.stdout.write(n.toString()+y9.EOL)}o(iv,"issueCommand");function C9(t,e=""){iv(t,{},e)}o(C9,"issue");var rv="::",TC=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=rv+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:e+=",",e+=`${n}=${B9(i)}`)}}return e+=`${rv}${E9(this.message)}`,e}};function E9(t){return(0,nv.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(E9,"escapeData");function B9(t){return(0,nv.toCommandValue)(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(B9,"escapeProperty")});var cv=g(ui=>{"use strict";var I9=ui&&ui.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),b9=ui&&ui.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),MC=ui&&ui.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&I9(r,e,n[i]);return b9(r,e),r}}();Object.defineProperty(ui,"__esModule",{value:!0});ui.issueFileCommand=w9;ui.prepareKeyValueMessage=N9;var Q9=MC(require("crypto")),ov=MC(require("fs")),OC=MC(require("os")),av=Td();function w9(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!ov.existsSync(r))throw new Error(`Missing file at path: ${r}`);ov.appendFileSync(r,`${(0,av.toCommandValue)(e)}${OC.EOL}`,{encoding:"utf8"})}o(w9,"issueFileCommand");function N9(t,e){let r=`ghadelimiter_${Q9.randomUUID()}`,n=(0,av.toCommandValue)(e);if(t.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`${t}<<${r}${OC.EOL}${n}${OC.EOL}${r}`}o(N9,"prepareKeyValueMessage")});var Av=g(Md=>{"use strict";Object.defineProperty(Md,"__esModule",{value:!0});Md.getProxyUrl=x9;Md.checkBypass=lv;function x9(t){let e=t.protocol==="https:";if(lv(t))return;let r=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new Od(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new Od(`http://${r}`)}else return}o(x9,"getProxyUrl");function lv(t){if(!t.hostname)return!1;let e=t.hostname;if(S9(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let i=[t.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let s of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(s==="*"||i.some(a=>a===s||a.endsWith(`.${s}`)||s.startsWith(".")&&a.endsWith(`${s}`)))return!0;return!1}o(lv,"checkBypass");function S9(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}o(S9,"isLoopbackAddress");var Od=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}});var hv=g(Sa=>{"use strict";var WHe=require("net"),R9=require("tls"),kC=require("http"),uv=require("https"),_9=require("events"),$He=require("assert"),v9=require("util");Sa.httpOverHttp=P9;Sa.httpsOverHttp=D9;Sa.httpOverHttps=T9;Sa.httpsOverHttps=O9;function P9(t){var e=new Vi(t);return e.request=kC.request,e}o(P9,"httpOverHttp");function D9(t){var e=new Vi(t);return e.request=kC.request,e.createSocket=dv,e.defaultPort=443,e}o(D9,"httpsOverHttp");function T9(t){var e=new Vi(t);return e.request=uv.request,e}o(T9,"httpOverHttps");function O9(t){var e=new Vi(t);return e.request=uv.request,e.createSocket=dv,e.defaultPort=443,e}o(O9,"httpsOverHttps");function Vi(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||kC.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(n,i,s,a){for(var c=pv(i,s,a),l=0,A=e.requests.length;l<A;++l){var u=e.requests[l];if(u.host===c.host&&u.port===c.port){e.requests.splice(l,1),u.request.onSocket(n);return}}n.destroy(),e.removeSocket(n)},"onFree"))}o(Vi,"TunnelingAgent");v9.inherits(Vi,_9.EventEmitter);Vi.prototype.addRequest=o(function(e,r,n,i){var s=this,a=LC({request:e},s.options,pv(r,n,i));if(s.sockets.length>=this.maxSockets){s.requests.push(a);return}s.createSocket(a,function(c){c.on("free",l),c.on("close",A),c.on("agentRemove",A),e.onSocket(c);function l(){s.emit("free",c,a)}o(l,"onFree");function A(u){s.removeSocket(c),c.removeListener("free",l),c.removeListener("close",A),c.removeListener("agentRemove",A)}o(A,"onCloseOrRemove")})},"addRequest");Vi.prototype.createSocket=o(function(e,r){var n=this,i={};n.sockets.push(i);var s=LC({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(s.localAddress=e.localAddress),s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")),Is("making CONNECT request");var a=n.request(s);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",A),a.once("error",u),a.end();function c(d){d.upgrade=!0}o(c,"onResponse");function l(d,f,m){process.nextTick(function(){A(d,f,m)})}o(l,"onUpgrade");function A(d,f,m){if(a.removeAllListeners(),f.removeAllListeners(),d.statusCode!==200){Is("tunneling socket could not be established, statusCode=%d",d.statusCode),f.destroy();var C=new Error("tunneling socket could not be established, statusCode="+d.statusCode);C.code="ECONNRESET",e.request.emit("error",C),n.removeSocket(i);return}if(m.length>0){Is("got illegal response body from proxy"),f.destroy();var C=new Error("got illegal response body from proxy");C.code="ECONNRESET",e.request.emit("error",C),n.removeSocket(i);return}return Is("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=f,r(f)}o(A,"onConnect");function u(d){a.removeAllListeners(),Is(`tunneling socket could not be established, cause=%s
`,d.message,d.stack);var f=new Error("tunneling socket could not be established, cause="+d.message);f.code="ECONNRESET",e.request.emit("error",f),n.removeSocket(i)}o(u,"onError")},"createSocket");Vi.prototype.removeSocket=o(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createSocket(n,function(i){n.request.onSocket(i)})}},"removeSocket");function dv(t,e){var r=this;Vi.prototype.createSocket.call(r,t,function(n){var i=t.request.getHeader("host"),s=LC({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):t.host}),a=R9.connect(0,s);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}o(dv,"createSecureSocket");function pv(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(pv,"toOptions");function LC(t){for(var e=1,r=arguments.length;e<r;++e){var n=arguments[e];if(typeof n=="object")for(var i=Object.keys(n),s=0,a=i.length;s<a;++s){var c=i[s];n[c]!==void 0&&(t[c]=n[c])}}return t}o(LC,"mergeOptions");var Is;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?Is=o(function(){var t=Array.prototype.slice.call(arguments);typeof t[0]=="string"?t[0]="TUNNEL: "+t[0]:t.unshift("TUNNEL:"),console.error.apply(console,t)},"debug"):Is=o(function(){},"debug");Sa.debug=Is});var mv=g((ZHe,fv)=>{fv.exports=hv()});var nt=g((e2e,gv)=>{gv.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")}});var Pe=g((t2e,qv)=>{"use strict";var yv=Symbol.for("undici.error.UND_ERR"),At=class extends Error{static{o(this,"UndiciError")}constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[yv]===!0}[yv]=!0},Cv=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),UC=class extends At{static{o(this,"ConnectTimeoutError")}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[Cv]===!0}[Cv]=!0},Ev=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),FC=class extends At{static{o(this,"HeadersTimeoutError")}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[Ev]===!0}[Ev]=!0},Bv=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),qC=class extends At{static{o(this,"HeadersOverflowError")}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[Bv]===!0}[Bv]=!0},Iv=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),HC=class extends At{static{o(this,"BodyTimeoutError")}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[Iv]===!0}[Iv]=!0},bv=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),zC=class extends At{static{o(this,"ResponseStatusCodeError")}constructor(e,r,n,i){super(e),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=i,this.status=r,this.statusCode=r,this.headers=n}static[Symbol.hasInstance](e){return e&&e[bv]===!0}[bv]=!0},Qv=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),jC=class extends At{static{o(this,"InvalidArgumentError")}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[Qv]===!0}[Qv]=!0},wv=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),GC=class extends At{static{o(this,"InvalidReturnValueError")}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[wv]===!0}[wv]=!0},Nv=Symbol.for("undici.error.UND_ERR_ABORT"),kd=class extends At{static{o(this,"AbortError")}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[Nv]===!0}[Nv]=!0},xv=Symbol.for("undici.error.UND_ERR_ABORTED"),YC=class extends kd{static{o(this,"RequestAbortedError")}constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&e[xv]===!0}[xv]=!0},Sv=Symbol.for("undici.error.UND_ERR_INFO"),JC=class extends At{static{o(this,"InformationalError")}constructor(e){super(e),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&e[Sv]===!0}[Sv]=!0},Rv=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),VC=class extends At{static{o(this,"RequestContentLengthMismatchError")}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[Rv]===!0}[Rv]=!0},_v=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),WC=class extends At{static{o(this,"ResponseContentLengthMismatchError")}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[_v]===!0}[_v]=!0},vv=Symbol.for("undici.error.UND_ERR_DESTROYED"),$C=class extends At{static{o(this,"ClientDestroyedError")}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[vv]===!0}[vv]=!0},Pv=Symbol.for("undici.error.UND_ERR_CLOSED"),KC=class extends At{static{o(this,"ClientClosedError")}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[Pv]===!0}[Pv]=!0},Dv=Symbol.for("undici.error.UND_ERR_SOCKET"),XC=class extends At{static{o(this,"SocketError")}constructor(e,r){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=r}static[Symbol.hasInstance](e){return e&&e[Dv]===!0}[Dv]=!0},Tv=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),ZC=class extends At{static{o(this,"NotSupportedError")}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[Tv]===!0}[Tv]=!0},Ov=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),eE=class extends At{static{o(this,"BalancedPoolMissingUpstreamError")}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[Ov]===!0}[Ov]=!0},Mv=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),tE=class extends Error{static{o(this,"HTTPParserError")}constructor(e,r,n){super(e),this.name="HTTPParserError",this.code=r?`HPE_${r}`:void 0,this.data=n?n.toString():void 0}static[Symbol.hasInstance](e){return e&&e[Mv]===!0}[Mv]=!0},kv=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),rE=class extends At{static{o(this,"ResponseExceededMaxSizeError")}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[kv]===!0}[kv]=!0},Lv=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),nE=class extends At{static{o(this,"RequestRetryError")}constructor(e,r,{headers:n,data:i}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=i,this.headers=n}static[Symbol.hasInstance](e){return e&&e[Lv]===!0}[Lv]=!0},Uv=Symbol.for("undici.error.UND_ERR_RESPONSE"),iE=class extends At{static{o(this,"ResponseError")}constructor(e,r,{headers:n,data:i}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=r,this.data=i,this.headers=n}static[Symbol.hasInstance](e){return e&&e[Uv]===!0}[Uv]=!0},Fv=Symbol.for("undici.error.UND_ERR_PRX_TLS"),sE=class extends At{static{o(this,"SecureProxyConnectionError")}constructor(e,r,n){super(r,{cause:e,...n??{}}),this.name="SecureProxyConnectionError",this.message=r||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&e[Fv]===!0}[Fv]=!0};qv.exports={AbortError:kd,HTTPParserError:tE,UndiciError:At,HeadersTimeoutError:FC,HeadersOverflowError:qC,BodyTimeoutError:HC,RequestContentLengthMismatchError:VC,ConnectTimeoutError:UC,ResponseStatusCodeError:zC,InvalidArgumentError:jC,InvalidReturnValueError:GC,RequestAbortedError:YC,ClientDestroyedError:$C,ClientClosedError:KC,InformationalError:JC,SocketError:XC,NotSupportedError:ZC,ResponseContentLengthMismatchError:WC,BalancedPoolMissingUpstreamError:eE,ResponseExceededMaxSizeError:rE,RequestRetryError:nE,ResponseError:iE,SecureProxyConnectionError:sE}});var Ud=g((n2e,Hv)=>{"use strict";var Ld={},oE=["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 t=0;t<oE.length;++t){let e=oE[t],r=e.toLowerCase();Ld[e]=Ld[r]=r}Object.setPrototypeOf(Ld,null);Hv.exports={wellknownHeaderNames:oE,headerNameLowerCasedRecord:Ld}});var Yv=g((i2e,Gv)=>{"use strict";var{wellknownHeaderNames:zv,headerNameLowerCasedRecord:M9}=Ud(),aE=class t{static{o(this,"TstNode")}value=null;left=null;middle=null;right=null;code;constructor(e,r,n){if(n===void 0||n>=e.length)throw new TypeError("Unreachable");if((this.code=e.charCodeAt(n))>127)throw new TypeError("key must be ascii string");e.length!==++n?this.middle=new t(e,r,n):this.value=r}add(e,r){let n=e.length;if(n===0)throw new TypeError("Unreachable");let i=0,s=this;for(;;){let a=e.charCodeAt(i);if(a>127)throw new TypeError("key must be ascii string");if(s.code===a)if(n===++i){s.value=r;break}else if(s.middle!==null)s=s.middle;else{s.middle=new t(e,r,i);break}else if(s.code<a)if(s.left!==null)s=s.left;else{s.left=new t(e,r,i);break}else if(s.right!==null)s=s.right;else{s.right=new t(e,r,i);break}}}search(e){let r=e.length,n=0,i=this;for(;i!==null&&n<r;){let s=e[n];for(s<=90&&s>=65&&(s|=32);i!==null;){if(s===i.code){if(r===++n)return i;i=i.middle;break}i=i.code<s?i.left:i.right}}return null}},Fd=class{static{o(this,"TernarySearchTree")}node=null;insert(e,r){this.node===null?this.node=new aE(e,r,0):this.node.add(e,r)}lookup(e){return this.node?.search(e)?.value??null}},jv=new Fd;for(let t=0;t<zv.length;++t){let e=M9[zv[t]];jv.insert(e,e)}Gv.exports={TernarySearchTree:Fd,tree:jv}});var Ee=g((o2e,cP)=>{"use strict";var cA=require("node:assert"),{kDestroyed:Vv,kBodyUsed:Ra,kListeners:cE,kBody:Jv}=nt(),{IncomingMessage:k9}=require("node:http"),zd=require("node:stream"),L9=require("node:net"),{Blob:U9}=require("node:buffer"),F9=require("node:util"),{stringify:q9}=require("node:querystring"),{EventEmitter:H9}=require("node:events"),{InvalidArgumentError:Ft}=Pe(),{headerNameLowerCasedRecord:z9}=Ud(),{tree:Wv}=Yv(),[j9,G9]=process.versions.node.split(".").map(t=>Number(t)),Hd=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[Jv]=e,this[Ra]=!1}async*[Symbol.asyncIterator](){cA(!this[Ra],"disturbed"),this[Ra]=!0,yield*this[Jv]}};function Y9(t){return jd(t)?(eP(t)===0&&t.on("data",function(){cA(!1)}),typeof t.readableDidRead!="boolean"&&(t[Ra]=!1,H9.prototype.on.call(t,"data",function(){this[Ra]=!0})),t):t&&typeof t.pipeTo=="function"?new Hd(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&Zv(t)?new Hd(t):t}o(Y9,"wrapRequestBody");function J9(){}o(J9,"nop");function jd(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(jd,"isStream");function $v(t){if(t===null)return!1;if(t instanceof U9)return!0;if(typeof t!="object")return!1;{let e=t[Symbol.toStringTag];return(e==="Blob"||e==="File")&&("stream"in t&&typeof t.stream=="function"||"arrayBuffer"in t&&typeof t.arrayBuffer=="function")}}o($v,"isBlobLike");function V9(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=q9(e);return r&&(t+="?"+r),t}o(V9,"buildURL");function Kv(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(Kv,"isValidPort");function qd(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(qd,"isHttpOrHttpsPrefixed");function Xv(t){if(typeof t=="string"){if(t=new URL(t),!qd(t.origin||t.protocol))throw new Ft("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new Ft("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&Kv(t.port)===!1)throw new Ft("Invalid URL: port must be a valid integer or a string representation of an integer.");if(t.path!=null&&typeof t.path!="string")throw new Ft("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new Ft("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new Ft("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new Ft("Invalid URL origin: the origin must be a string or null/undefined.");if(!qd(t.origin||t.protocol))throw new Ft("Invalid URL protocol: the URL must start with `http:` or `https:`.");let e=t.port!=null?t.port:t.protocol==="https:"?443:80,r=t.origin!=null?t.origin:`${t.protocol||""}//${t.hostname||""}:${e}`,n=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return r[r.length-1]==="/"&&(r=r.slice(0,r.length-1)),n&&n[0]!=="/"&&(n=`/${n}`),new URL(`${r}${n}`)}if(!qd(t.origin||t.protocol))throw new Ft("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(Xv,"parseURL");function W9(t){if(t=Xv(t),t.pathname!=="/"||t.search||t.hash)throw new Ft("invalid url");return t}o(W9,"parseOrigin");function $9(t){if(t[0]==="["){let r=t.indexOf("]");return cA(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}o($9,"getHostname");function K9(t){if(!t)return null;cA(typeof t=="string");let e=$9(t);return L9.isIP(e)?"":e}o(K9,"getServerName");function X9(t){return JSON.parse(JSON.stringify(t))}o(X9,"deepClone");function Z9(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(Z9,"isAsyncIterable");function Zv(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(Zv,"isIterable");function eP(t){if(t==null)return 0;if(jd(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if($v(t))return t.size!=null?t.size:null;if(nP(t))return t.byteLength}return null}o(eP,"bodyLength");function tP(t){return t&&!!(t.destroyed||t[Vv]||zd.isDestroyed?.(t))}o(tP,"isDestroyed");function eX(t,e){t==null||!jd(t)||tP(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===k9&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[Vv]=!0))}o(eX,"destroy");var tX=/timeout=(\d+)/;function rX(t){let e=t.toString().match(tX);return e?parseInt(e[1],10)*1e3:null}o(rX,"parseKeepAliveTimeout");function rP(t){return typeof t=="string"?z9[t]??t.toLowerCase():Wv.lookup(t)??t.toString("latin1").toLowerCase()}o(rP,"headerNameToString");function nX(t){return Wv.lookup(t)??t.toString("latin1").toLowerCase()}o(nX,"bufferToLowerCasedHeaderName");function iX(t,e){e===void 0&&(e={});for(let r=0;r<t.length;r+=2){let n=rP(t[r]),i=e[n];if(i)typeof i=="string"&&(i=[i],e[n]=i),i.push(t[r+1].toString("utf8"));else{let s=t[r+1];typeof s=="string"?e[n]=s:e[n]=Array.isArray(s)?s.map(a=>a.toString("utf8")):s.toString("utf8")}}return"content-length"in e&&"content-disposition"in e&&(e["content-disposition"]=Buffer.from(e["content-disposition"]).toString("latin1")),e}o(iX,"parseHeaders");function sX(t){let e=t.length,r=new Array(e),n=!1,i=-1,s,a,c=0;for(let l=0;l<t.length;l+=2)s=t[l],a=t[l+1],typeof s!="string"&&(s=s.toString()),typeof a!="string"&&(a=a.toString("utf8")),c=s.length,c===14&&s[7]==="-"&&(s==="content-length"||s.toLowerCase()==="content-length")?n=!0:c===19&&s[7]==="-"&&(s==="content-disposition"||s.toLowerCase()==="content-disposition")&&(i=l+1),r[l]=s,r[l+1]=a;return n&&i!==-1&&(r[i]=Buffer.from(r[i]).toString("latin1")),r}o(sX,"parseRawHeaders");function nP(t){return t instanceof Uint8Array||Buffer.isBuffer(t)}o(nP,"isBuffer");function oX(t,e,r){if(!t||typeof t!="object")throw new Ft("handler must be an object");if(typeof t.onConnect!="function")throw new Ft("invalid onConnect method");if(typeof t.onError!="function")throw new Ft("invalid onError method");if(typeof t.onBodySent!="function"&&t.onBodySent!==void 0)throw new Ft("invalid onBodySent method");if(r||e==="CONNECT"){if(typeof t.onUpgrade!="function")throw new Ft("invalid onUpgrade method")}else{if(typeof t.onHeaders!="function")throw new Ft("invalid onHeaders method");if(typeof t.onData!="function")throw new Ft("invalid onData method");if(typeof t.onComplete!="function")throw new Ft("invalid onComplete method")}}o(oX,"validateHandler");function aX(t){return!!(t&&(zd.isDisturbed(t)||t[Ra]))}o(aX,"isDisturbed");function cX(t){return!!(t&&zd.isErrored(t))}o(cX,"isErrored");function lX(t){return!!(t&&zd.isReadable(t))}o(lX,"isReadable");function AX(t){return{localAddress:t.localAddress,localPort:t.localPort,remoteAddress:t.remoteAddress,remotePort:t.remotePort,remoteFamily:t.remoteFamily,timeout:t.timeout,bytesWritten:t.bytesWritten,bytesRead:t.bytesRead}}o(AX,"getSocketInfo");function uX(t){let e;return new ReadableStream({async start(){e=t[Symbol.asyncIterator]()},async pull(r){let{done:n,value:i}=await e.next();if(n)queueMicrotask(()=>{r.close(),r.byobRequest?.respond(0)});else{let s=Buffer.isBuffer(i)?i:Buffer.from(i);s.byteLength&&r.enqueue(new Uint8Array(s))}return r.desiredSize>0},async cancel(r){await e.return()},type:"bytes"})}o(uX,"ReadableStreamFrom");function dX(t){return t&&typeof t=="object"&&typeof t.append=="function"&&typeof t.delete=="function"&&typeof t.get=="function"&&typeof t.getAll=="function"&&typeof t.has=="function"&&typeof t.set=="function"&&t[Symbol.toStringTag]==="FormData"}o(dX,"isFormDataLike");function pX(t,e){return"addEventListener"in t?(t.addEventListener("abort",e,{once:!0}),()=>t.removeEventListener("abort",e)):(t.addListener("abort",e),()=>t.removeListener("abort",e))}o(pX,"addAbortListener");var hX=typeof String.prototype.toWellFormed=="function",fX=typeof String.prototype.isWellFormed=="function";function iP(t){return hX?`${t}`.toWellFormed():F9.toUSVString(t)}o(iP,"toUSVString");function mX(t){return fX?`${t}`.isWellFormed():iP(t)===`${t}`}o(mX,"isUSVString");function sP(t){switch(t){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!1;default:return t>=33&&t<=126}}o(sP,"isTokenCharCode");function gX(t){if(t.length===0)return!1;for(let e=0;e<t.length;++e)if(!sP(t.charCodeAt(e)))return!1;return!0}o(gX,"isValidHTTPToken");var yX=/[^\t\x20-\x7e\x80-\xff]/;function CX(t){return!yX.test(t)}o(CX,"isValidHeaderValue");function EX(t){if(t==null||t==="")return{start:0,end:null,size:null};let e=t?t.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return e?{start:parseInt(e[1]),end:e[2]?parseInt(e[2]):null,size:e[3]?parseInt(e[3]):null}:null}o(EX,"parseRangeHeader");function BX(t,e,r){return(t[cE]??=[]).push([e,r]),t.on(e,r),t}o(BX,"addListener");function IX(t){for(let[e,r]of t[cE]??[])t.removeListener(e,r);t[cE]=null}o(IX,"removeAllListeners");function bX(t,e,r){try{e.onError(r),cA(e.aborted)}catch(n){t.emit("error",n)}}o(bX,"errorRequest");var oP=Object.create(null);oP.enumerable=!0;var lE={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"},aP={...lE,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(lE,null);Object.setPrototypeOf(aP,null);cP.exports={kEnumerableProperty:oP,nop:J9,isDisturbed:aX,isErrored:cX,isReadable:lX,toUSVString:iP,isUSVString:mX,isBlobLike:$v,parseOrigin:W9,parseURL:Xv,getServerName:K9,isStream:jd,isIterable:Zv,isAsyncIterable:Z9,isDestroyed:tP,headerNameToString:rP,bufferToLowerCasedHeaderName:nX,addListener:BX,removeAllListeners:IX,errorRequest:bX,parseRawHeaders:sX,parseHeaders:iX,parseKeepAliveTimeout:rX,destroy:eX,bodyLength:eP,deepClone:X9,ReadableStreamFrom:uX,isBuffer:nP,validateHandler:oX,getSocketInfo:AX,isFormDataLike:dX,buildURL:V9,addAbortListener:pX,isValidHTTPToken:gX,isValidHeaderValue:CX,isTokenCharCode:sP,parseRangeHeader:EX,normalizedMethodRecordsBase:lE,normalizedMethodRecords:aP,isValidPort:Kv,isHttpOrHttpsPrefixed:qd,nodeMajor:j9,nodeMinor:G9,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"],wrapRequestBody:Y9}});var _a=g((c2e,AP)=>{"use strict";var Me=require("node:diagnostics_channel"),uE=require("node:util"),Gd=uE.debuglog("undici"),AE=uE.debuglog("fetch"),Bo=uE.debuglog("websocket"),lP=!1,QX={beforeConnect:Me.channel("undici:client:beforeConnect"),connected:Me.channel("undici:client:connected"),connectError:Me.channel("undici:client:connectError"),sendHeaders:Me.channel("undici:client:sendHeaders"),create:Me.channel("undici:request:create"),bodySent:Me.channel("undici:request:bodySent"),headers:Me.channel("undici:request:headers"),trailers:Me.channel("undici:request:trailers"),error:Me.channel("undici:request:error"),open:Me.channel("undici:websocket:open"),close:Me.channel("undici:websocket:close"),socketError:Me.channel("undici:websocket:socket_error"),ping:Me.channel("undici:websocket:ping"),pong:Me.channel("undici:websocket:pong")};if(Gd.enabled||AE.enabled){let t=AE.enabled?AE:Gd;Me.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connecting to %s using %s%s",`${s}${i?`:${i}`:""}`,n,r)}),Me.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connected to %s using %s%s",`${s}${i?`:${i}`:""}`,n,r)}),Me.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s},error:a}=e;t("connection to %s using %s%s errored - %s",`${s}${i?`:${i}`:""}`,n,r,a.message)}),Me.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("sending request to %s %s/%s",r,i,n)}),Me.channel("undici:request:headers").subscribe(e=>{let{request:{method:r,path:n,origin:i},response:{statusCode:s}}=e;t("received response to %s %s/%s - HTTP %d",r,i,n,s)}),Me.channel("undici:request:trailers").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("trailers received from %s %s/%s",r,i,n)}),Me.channel("undici:request:error").subscribe(e=>{let{request:{method:r,path:n,origin:i},error:s}=e;t("request to %s %s/%s errored - %s",r,i,n,s.message)}),lP=!0}if(Bo.enabled){if(!lP){let t=Gd.enabled?Gd:Bo;Me.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connecting to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),Me.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=e;t("connected to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),Me.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:i,host:s},error:a}=e;t("connection to %s%s using %s%s errored - %s",s,i?`:${i}`:"",n,r,a.message)}),Me.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:i}}=e;t("sending request to %s %s/%s",r,i,n)})}Me.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;Bo("connection opened %s%s",e,r?`:${r}`:"")}),Me.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:n}=t;Bo("closed connection to %s - %s %s",e.url,r,n)}),Me.channel("undici:websocket:socket_error").subscribe(t=>{Bo("connection errored - %s",t.message)}),Me.channel("undici:websocket:ping").subscribe(t=>{Bo("ping received")}),Me.channel("undici:websocket:pong").subscribe(t=>{Bo("pong received")})}AP.exports={channels:QX}});var fP=g((l2e,hP)=>{"use strict";var{InvalidArgumentError:ut,NotSupportedError:wX}=Pe(),Wi=require("node:assert"),{isValidHTTPToken:pP,isValidHeaderValue:uP,isStream:NX,destroy:xX,isBuffer:SX,isFormDataLike:RX,isIterable:_X,isBlobLike:vX,buildURL:PX,validateHandler:DX,getServerName:TX,normalizedMethodRecords:OX}=Ee(),{channels:di}=_a(),{headerNameLowerCasedRecord:dP}=Ud(),MX=/[^\u0021-\u00ff]/,dn=Symbol("handler"),dE=class{static{o(this,"Request")}constructor(e,{path:r,method:n,body:i,headers:s,query:a,idempotent:c,blocking:l,upgrade:A,headersTimeout:u,bodyTimeout:d,reset:f,throwOnError:m,expectContinue:C,servername:Q},S){if(typeof r!="string")throw new ut("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new ut("path must be an absolute URL or start with a slash");if(MX.test(r))throw new ut("invalid request path");if(typeof n!="string")throw new ut("method must be a string");if(OX[n]===void 0&&!pP(n))throw new ut("invalid request method");if(A&&typeof A!="string")throw new ut("upgrade must be a string");if(u!=null&&(!Number.isFinite(u)||u<0))throw new ut("invalid headersTimeout");if(d!=null&&(!Number.isFinite(d)||d<0))throw new ut("invalid bodyTimeout");if(f!=null&&typeof f!="boolean")throw new ut("invalid reset");if(C!=null&&typeof C!="boolean")throw new ut("invalid expectContinue");if(this.headersTimeout=u,this.bodyTimeout=d,this.throwOnError=m===!0,this.method=n,this.abort=null,i==null)this.body=null;else if(NX(i)){this.body=i;let w=this.body._readableState;(!w||!w.autoDestroy)&&(this.endHandler=o(function(){xX(this)},"autoDestroy"),this.body.on("end",this.endHandler)),this.errorHandler=R=>{this.abort?this.abort(R):this.error=R},this.body.on("error",this.errorHandler)}else if(SX(i))this.body=i.byteLength?i:null;else if(ArrayBuffer.isView(i))this.body=i.buffer.byteLength?Buffer.from(i.buffer,i.byteOffset,i.byteLength):null;else if(i instanceof ArrayBuffer)this.body=i.byteLength?Buffer.from(i):null;else if(typeof i=="string")this.body=i.length?Buffer.from(i):null;else if(RX(i)||_X(i)||vX(i))this.body=i;else throw new ut("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=A||null,this.path=a?PX(r,a):r,this.origin=e,this.idempotent=c??(n==="HEAD"||n==="GET"),this.blocking=l??!1,this.reset=f??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=C??!1,Array.isArray(s)){if(s.length%2!==0)throw new ut("headers array must be even");for(let w=0;w<s.length;w+=2)Yd(this,s[w],s[w+1])}else if(s&&typeof s=="object")if(s[Symbol.iterator])for(let w of s){if(!Array.isArray(w)||w.length!==2)throw new ut("headers must be in key-value pair format");Yd(this,w[0],w[1])}else{let w=Object.keys(s);for(let R=0;R<w.length;++R)Yd(this,w[R],s[w[R]])}else if(s!=null)throw new ut("headers must be an object or an array");DX(S,n,A),this.servername=Q||TX(this.host),this[dn]=S,di.create.hasSubscribers&&di.create.publish({request:this})}onBodySent(e){if(this[dn].onBodySent)try{return this[dn].onBodySent(e)}catch(r){this.abort(r)}}onRequestSent(){if(di.bodySent.hasSubscribers&&di.bodySent.publish({request:this}),this[dn].onRequestSent)try{return this[dn].onRequestSent()}catch(e){this.abort(e)}}onConnect(e){if(Wi(!this.aborted),Wi(!this.completed),this.error)e(this.error);else return this.abort=e,this[dn].onConnect(e)}onResponseStarted(){return this[dn].onResponseStarted?.()}onHeaders(e,r,n,i){Wi(!this.aborted),Wi(!this.completed),di.headers.hasSubscribers&&di.headers.publish({request:this,response:{statusCode:e,headers:r,statusText:i}});try{return this[dn].onHeaders(e,r,n,i)}catch(s){this.abort(s)}}onData(e){Wi(!this.aborted),Wi(!this.completed);try{return this[dn].onData(e)}catch(r){return this.abort(r),!1}}onUpgrade(e,r,n){return Wi(!this.aborted),Wi(!this.completed),this[dn].onUpgrade(e,r,n)}onComplete(e){this.onFinally(),Wi(!this.aborted),this.completed=!0,di.trailers.hasSubscribers&&di.trailers.publish({request:this,trailers:e});try{return this[dn].onComplete(e)}catch(r){this.onError(r)}}onError(e){if(this.onFinally(),di.error.hasSubscribers&&di.error.publish({request:this,error:e}),!this.aborted)return this.aborted=!0,this[dn].onError(e)}onFinally(){this.errorHandler&&(this.body.off("error",this.errorHandler),this.errorHandler=null),this.endHandler&&(this.body.off("end",this.endHandler),this.endHandler=null)}addHeader(e,r){return Yd(this,e,r),this}};function Yd(t,e,r){if(r&&typeof r=="object"&&!Array.isArray(r))throw new ut(`invalid ${e} header`);if(r===void 0)return;let n=dP[e];if(n===void 0&&(n=e.toLowerCase(),dP[n]===void 0&&!pP(n)))throw new ut("invalid header key");if(Array.isArray(r)){let i=[];for(let s=0;s<r.length;s++)if(typeof r[s]=="string"){if(!uP(r[s]))throw new ut(`invalid ${e} header`);i.push(r[s])}else if(r[s]===null)i.push("");else{if(typeof r[s]=="object")throw new ut(`invalid ${e} header`);i.push(`${r[s]}`)}r=i}else if(typeof r=="string"){if(!uP(r))throw new ut(`invalid ${e} header`)}else r===null?r="":r=`${r}`;if(t.host===null&&n==="host"){if(typeof r!="string")throw new ut("invalid host header");t.host=r}else if(t.contentLength===null&&n==="content-length"){if(t.contentLength=parseInt(r,10),!Number.isFinite(t.contentLength))throw new ut("invalid content-length header")}else if(t.contentType===null&&n==="content-type")t.contentType=r,t.headers.push(e,r);else{if(n==="transfer-encoding"||n==="keep-alive"||n==="upgrade")throw new ut(`invalid ${n} header`);if(n==="connection"){let i=typeof r=="string"?r.toLowerCase():null;if(i!=="close"&&i!=="keep-alive")throw new ut("invalid connection header");i==="close"&&(t.reset=!0)}else{if(n==="expect")throw new wX("expect header not supported");t.headers.push(e,r)}}}o(Yd,"processHeader");hP.exports=dE});var lA=g((u2e,mP)=>{"use strict";var kX=require("node:events"),Jd=class extends kX{static{o(this,"Dispatcher")}dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...e){let r=Array.isArray(e[0])?e[0]:e,n=this.dispatch.bind(this);for(let i of r)if(i!=null){if(typeof i!="function")throw new TypeError(`invalid interceptor, expected function received ${typeof i}`);if(n=i(n),n==null||typeof n!="function"||n.length!==2)throw new TypeError("invalid interceptor")}return new pE(this,n)}},pE=class extends Jd{static{o(this,"ComposedDispatcher")}#e=null;#t=null;constructor(e,r){super(),this.#e=e,this.#t=r}dispatch(...e){this.#t(...e)}close(...e){return this.#e.close(...e)}destroy(...e){return this.#e.destroy(...e)}};mP.exports=Jd});var Ta=g((p2e,gP)=>{"use strict";var LX=lA(),{ClientDestroyedError:hE,ClientClosedError:UX,InvalidArgumentError:va}=Pe(),{kDestroy:FX,kClose:qX,kClosed:AA,kDestroyed:Pa,kDispatch:fE,kInterceptors:Io}=nt(),$i=Symbol("onDestroyed"),Da=Symbol("onClosed"),Vd=Symbol("Intercepted Dispatch"),mE=class extends LX{static{o(this,"DispatcherBase")}constructor(){super(),this[Pa]=!1,this[$i]=null,this[AA]=!1,this[Da]=[]}get destroyed(){return this[Pa]}get closed(){return this[AA]}get interceptors(){return this[Io]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[Io][r]!="function")throw new va("interceptor must be an function")}this[Io]=e}close(e){if(e===void 0)return new Promise((n,i)=>{this.close((s,a)=>s?i(s):n(a))});if(typeof e!="function")throw new va("invalid callback");if(this[Pa]){queueMicrotask(()=>e(new hE,null));return}if(this[AA]){this[Da]?this[Da].push(e):queueMicrotask(()=>e(null,null));return}this[AA]=!0,this[Da].push(e);let r=o(()=>{let n=this[Da];this[Da]=null;for(let i=0;i<n.length;i++)n[i](null,null)},"onClosed");this[qX]().then(()=>this.destroy()).then(()=>{queueMicrotask(r)})}destroy(e,r){if(typeof e=="function"&&(r=e,e=null),r===void 0)return new Promise((i,s)=>{this.destroy(e,(a,c)=>a?s(a):i(c))});if(typeof r!="function")throw new va("invalid callback");if(this[Pa]){this[$i]?this[$i].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new hE),this[Pa]=!0,this[$i]=this[$i]||[],this[$i].push(r);let n=o(()=>{let i=this[$i];this[$i]=null;for(let s=0;s<i.length;s++)i[s](null,null)},"onDestroyed");this[FX](e).then(()=>{queueMicrotask(n)})}[Vd](e,r){if(!this[Io]||this[Io].length===0)return this[Vd]=this[fE],this[fE](e,r);let n=this[fE].bind(this);for(let i=this[Io].length-1;i>=0;i--)n=this[Io][i](n);return this[Vd]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new va("handler must be an object");try{if(!e||typeof e!="object")throw new va("opts must be an object.");if(this[Pa]||this[$i])throw new hE;if(this[AA])throw new UX;return this[Vd](e,r)}catch(n){if(typeof r.onError!="function")throw new va("invalid onError method");return r.onError(n),!1}}};gP.exports=mE});var bE=g((f2e,BP)=>{"use strict";var Oa=0,gE=1e3,yE=(gE>>1)-1,Ki,CE=Symbol("kFastTimer"),Xi=[],EE=-2,BE=-1,CP=0,yP=1;function IE(){Oa+=yE;let t=0,e=Xi.length;for(;t<e;){let r=Xi[t];r._state===CP?(r._idleStart=Oa-yE,r._state=yP):r._state===yP&&Oa>=r._idleStart+r._idleTimeout&&(r._state=BE,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===BE?(r._state=EE,--e!==0&&(Xi[t]=Xi[e])):++t}Xi.length=e,Xi.length!==0&&EP()}o(IE,"onTick");function EP(){Ki?Ki.refresh():(clearTimeout(Ki),Ki=setTimeout(IE,yE),Ki.unref&&Ki.unref())}o(EP,"refreshTimeout");var Wd=class{static{o(this,"FastTimer")}[CE]=!0;_state=EE;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,n){this._onTimeout=e,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===EE&&Xi.push(this),(!Ki||Xi.length===1)&&EP(),this._state=CP}clear(){this._state=BE,this._idleStart=-1}};BP.exports={setTimeout(t,e,r){return e<=gE?setTimeout(t,e,r):new Wd(t,e,r)},clearTimeout(t){t[CE]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new Wd(t,e,r)},clearFastTimeout(t){t.clear()},now(){return Oa},tick(t=0){Oa+=t-gE+1,IE(),IE()},reset(){Oa=0,Xi.length=0,clearTimeout(Ki),Ki=null},kFastTimer:CE}});var uA=g((C2e,NP)=>{"use strict";var HX=require("node:net"),IP=require("node:assert"),wP=Ee(),{InvalidArgumentError:zX,ConnectTimeoutError:jX}=Pe(),$d=bE();function bP(){}o(bP,"noop");var QE,wE;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?wE=class{static{o(this,"WeakSessionCache")}constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new global.FinalizationRegistry(r=>{if(this._sessionCache.size<this._maxCachedSessions)return;let n=this._sessionCache.get(r);n!==void 0&&n.deref()===void 0&&this._sessionCache.delete(r)})}get(e){let r=this._sessionCache.get(e);return r?r.deref():null}set(e,r){this._maxCachedSessions!==0&&(this._sessionCache.set(e,new WeakRef(r)),this._sessionRegistry.register(r,e))}}:wE=class{static{o(this,"SimpleSessionCache")}constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map}get(e){return this._sessionCache.get(e)}set(e,r){if(this._maxCachedSessions!==0){if(this._sessionCache.size>=this._maxCachedSessions){let{value:n}=this._sessionCache.keys().next();this._sessionCache.delete(n)}this._sessionCache.set(e,r)}}};function GX({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:n,session:i,...s}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new zX("maxCachedSessions must be a positive integer or zero");let a={path:r,...s},c=new wE(e??100);return n=n??1e4,t=t??!1,o(function({hostname:A,host:u,protocol:d,port:f,servername:m,localAddress:C,httpSocket:Q},S){let w;if(d==="https:"){QE||(QE=require("node:tls")),m=m||a.servername||wP.getServerName(u)||null;let T=m||A;IP(T);let L=i||c.get(T)||null;f=f||443,w=QE.connect({highWaterMark:16384,...a,servername:m,session:L,localAddress:C,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:Q,port:f,host:A}),w.on("session",function(W){c.set(T,W)})}else IP(!Q,"httpSocket can only be sent on TLS update"),f=f||80,w=HX.connect({highWaterMark:64*1024,...a,localAddress:C,port:f,host:A});if(a.keepAlive==null||a.keepAlive){let T=a.keepAliveInitialDelay===void 0?6e4:a.keepAliveInitialDelay;w.setKeepAlive(!0,T)}let R=YX(new WeakRef(w),{timeout:n,hostname:A,port:f});return w.setNoDelay(!0).once(d==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(R),S){let T=S;S=null,T(null,this)}}).on("error",function(T){if(queueMicrotask(R),S){let L=S;S=null,L(T)}}),w},"connect")}o(GX,"buildConnector");var YX=process.platform==="win32"?(t,e)=>{if(!e.timeout)return bP;let r=null,n=null,i=$d.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>QP(t.deref(),e))})},e.timeout);return()=>{$d.clearFastTimeout(i),clearImmediate(r),clearImmediate(n)}}:(t,e)=>{if(!e.timeout)return bP;let r=null,n=$d.setFastTimeout(()=>{r=setImmediate(()=>{QP(t.deref(),e)})},e.timeout);return()=>{$d.clearFastTimeout(n),clearImmediate(r)}};function QP(t,e){if(t==null)return;let r="Connect Timeout Error";Array.isArray(t.autoSelectFamilyAttemptedAddresses)?r+=` (attempted addresses: ${t.autoSelectFamilyAttemptedAddresses.join(", ")},`:r+=` (attempted address: ${e.hostname}:${e.port},`,r+=` timeout: ${e.timeout}ms)`,wP.destroy(t,new jX(r))}o(QP,"onConnectTimeout");NP.exports=GX});var xP=g(Kd=>{"use strict";Object.defineProperty(Kd,"__esModule",{value:!0});Kd.enumToMap=void 0;function JX(t){let e={};return Object.keys(t).forEach(r=>{let n=t[r];typeof n=="number"&&(e[r]=n)}),e}o(JX,"enumToMap");Kd.enumToMap=JX});var SP=g(j=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});j.SPECIAL_HEADERS=j.HEADER_STATE=j.MINOR=j.MAJOR=j.CONNECTION_TOKEN_CHARS=j.HEADER_CHARS=j.TOKEN=j.STRICT_TOKEN=j.HEX=j.URL_CHAR=j.STRICT_URL_CHAR=j.USERINFO_CHARS=j.MARK=j.ALPHANUM=j.NUM=j.HEX_MAP=j.NUM_MAP=j.ALPHA=j.FINISH=j.H_METHOD_MAP=j.METHOD_MAP=j.METHODS_RTSP=j.METHODS_ICE=j.METHODS_HTTP=j.METHODS=j.LENIENT_FLAGS=j.FLAGS=j.TYPE=j.ERROR=void 0;var VX=xP(),WX;(function(t){t[t.OK=0]="OK",t[t.INTERNAL=1]="INTERNAL",t[t.STRICT=2]="STRICT",t[t.LF_EXPECTED=3]="LF_EXPECTED",t[t.UNEXPECTED_CONTENT_LENGTH=4]="UNEXPECTED_CONTENT_LENGTH",t[t.CLOSED_CONNECTION=5]="CLOSED_CONNECTION",t[t.INVALID_METHOD=6]="INVALID_METHOD",t[t.INVALID_URL=7]="INVALID_URL",t[t.INVALID_CONSTANT=8]="INVALID_CONSTANT",t[t.INVALID_VERSION=9]="INVALID_VERSION",t[t.INVALID_HEADER_TOKEN=10]="INVALID_HEADER_TOKEN",t[t.INVALID_CONTENT_LENGTH=11]="INVALID_CONTENT_LENGTH",t[t.INVALID_CHUNK_SIZE=12]="INVALID_CHUNK_SIZE",t[t.INVALID_STATUS=13]="INVALID_STATUS",t[t.INVALID_EOF_STATE=14]="INVALID_EOF_STATE",t[t.INVALID_TRANSFER_ENCODING=15]="INVALID_TRANSFER_ENCODING",t[t.CB_MESSAGE_BEGIN=16]="CB_MESSAGE_BEGIN",t[t.CB_HEADERS_COMPLETE=17]="CB_HEADERS_COMPLETE",t[t.CB_MESSAGE_COMPLETE=18]="CB_MESSAGE_COMPLETE",t[t.CB_CHUNK_HEADER=19]="CB_CHUNK_HEADER",t[t.CB_CHUNK_COMPLETE=20]="CB_CHUNK_COMPLETE",t[t.PAUSED=21]="PAUSED",t[t.PAUSED_UPGRADE=22]="PAUSED_UPGRADE",t[t.PAUSED_H2_UPGRADE=23]="PAUSED_H2_UPGRADE",t[t.USER=24]="USER"})(WX=j.ERROR||(j.ERROR={}));var $X;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})($X=j.TYPE||(j.TYPE={}));var KX;(function(t){t[t.CONNECTION_KEEP_ALIVE=1]="CONNECTION_KEEP_ALIVE",t[t.CONNECTION_CLOSE=2]="CONNECTION_CLOSE",t[t.CONNECTION_UPGRADE=4]="CONNECTION_UPGRADE",t[t.CHUNKED=8]="CHUNKED",t[t.UPGRADE=16]="UPGRADE",t[t.CONTENT_LENGTH=32]="CONTENT_LENGTH",t[t.SKIPBODY=64]="SKIPBODY",t[t.TRAILING=128]="TRAILING",t[t.TRANSFER_ENCODING=512]="TRANSFER_ENCODING"})(KX=j.FLAGS||(j.FLAGS={}));var XX;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(XX=j.LENIENT_FLAGS||(j.LENIENT_FLAGS={}));var ne;(function(t){t[t.DELETE=0]="DELETE",t[t.GET=1]="GET",t[t.HEAD=2]="HEAD",t[t.POST=3]="POST",t[t.PUT=4]="PUT",t[t.CONNECT=5]="CONNECT",t[t.OPTIONS=6]="OPTIONS",t[t.TRACE=7]="TRACE",t[t.COPY=8]="COPY",t[t.LOCK=9]="LOCK",t[t.MKCOL=10]="MKCOL",t[t.MOVE=11]="MOVE",t[t.PROPFIND=12]="PROPFIND",t[t.PROPPATCH=13]="PROPPATCH",t[t.SEARCH=14]="SEARCH",t[t.UNLOCK=15]="UNLOCK",t[t.BIND=16]="BIND",t[t.REBIND=17]="REBIND",t[t.UNBIND=18]="UNBIND",t[t.ACL=19]="ACL",t[t.REPORT=20]="REPORT",t[t.MKACTIVITY=21]="MKACTIVITY",t[t.CHECKOUT=22]="CHECKOUT",t[t.MERGE=23]="MERGE",t[t["M-SEARCH"]=24]="M-SEARCH",t[t.NOTIFY=25]="NOTIFY",t[t.SUBSCRIBE=26]="SUBSCRIBE",t[t.UNSUBSCRIBE=27]="UNSUBSCRIBE",t[t.PATCH=28]="PATCH",t[t.PURGE=29]="PURGE",t[t.MKCALENDAR=30]="MKCALENDAR",t[t.LINK=31]="LINK",t[t.UNLINK=32]="UNLINK",t[t.SOURCE=33]="SOURCE",t[t.PRI=34]="PRI",t[t.DESCRIBE=35]="DESCRIBE",t[t.ANNOUNCE=36]="ANNOUNCE",t[t.SETUP=37]="SETUP",t[t.PLAY=38]="PLAY",t[t.PAUSE=39]="PAUSE",t[t.TEARDOWN=40]="TEARDOWN",t[t.GET_PARAMETER=41]="GET_PARAMETER",t[t.SET_PARAMETER=42]="SET_PARAMETER",t[t.REDIRECT=43]="REDIRECT",t[t.RECORD=44]="RECORD",t[t.FLUSH=45]="FLUSH"})(ne=j.METHODS||(j.METHODS={}));j.METHODS_HTTP=[ne.DELETE,ne.GET,ne.HEAD,ne.POST,ne.PUT,ne.CONNECT,ne.OPTIONS,ne.TRACE,ne.COPY,ne.LOCK,ne.MKCOL,ne.MOVE,ne.PROPFIND,ne.PROPPATCH,ne.SEARCH,ne.UNLOCK,ne.BIND,ne.REBIND,ne.UNBIND,ne.ACL,ne.REPORT,ne.MKACTIVITY,ne.CHECKOUT,ne.MERGE,ne["M-SEARCH"],ne.NOTIFY,ne.SUBSCRIBE,ne.UNSUBSCRIBE,ne.PATCH,ne.PURGE,ne.MKCALENDAR,ne.LINK,ne.UNLINK,ne.PRI,ne.SOURCE];j.METHODS_ICE=[ne.SOURCE];j.METHODS_RTSP=[ne.OPTIONS,ne.DESCRIBE,ne.ANNOUNCE,ne.SETUP,ne.PLAY,ne.PAUSE,ne.TEARDOWN,ne.GET_PARAMETER,ne.SET_PARAMETER,ne.REDIRECT,ne.RECORD,ne.FLUSH,ne.GET,ne.POST];j.METHOD_MAP=VX.enumToMap(ne);j.H_METHOD_MAP={};Object.keys(j.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(j.H_METHOD_MAP[t]=j.METHOD_MAP[t])});var ZX;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(ZX=j.FINISH||(j.FINISH={}));j.ALPHA=[];for(let t=65;t<=90;t++)j.ALPHA.push(String.fromCharCode(t)),j.ALPHA.push(String.fromCharCode(t+32));j.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};j.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};j.NUM=["0","1","2","3","4","5","6","7","8","9"];j.ALPHANUM=j.ALPHA.concat(j.NUM);j.MARK=["-","_",".","!","~","*","'","(",")"];j.USERINFO_CHARS=j.ALPHANUM.concat(j.MARK).concat(["%",";",":","&","=","+","$",","]);j.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(j.ALPHANUM);j.URL_CHAR=j.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)j.URL_CHAR.push(t);j.HEX=j.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);j.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(j.ALPHANUM);j.TOKEN=j.STRICT_TOKEN.concat([" "]);j.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&j.HEADER_CHARS.push(t);j.CONNECTION_TOKEN_CHARS=j.HEADER_CHARS.filter(t=>t!==44);j.MAJOR=j.NUM_MAP;j.MINOR=j.MAJOR;var Ma;(function(t){t[t.GENERAL=0]="GENERAL",t[t.CONNECTION=1]="CONNECTION",t[t.CONTENT_LENGTH=2]="CONTENT_LENGTH",t[t.TRANSFER_ENCODING=3]="TRANSFER_ENCODING",t[t.UPGRADE=4]="UPGRADE",t[t.CONNECTION_KEEP_ALIVE=5]="CONNECTION_KEEP_ALIVE",t[t.CONNECTION_CLOSE=6]="CONNECTION_CLOSE",t[t.CONNECTION_UPGRADE=7]="CONNECTION_UPGRADE",t[t.TRANSFER_ENCODING_CHUNKED=8]="TRANSFER_ENCODING_CHUNKED"})(Ma=j.HEADER_STATE||(j.HEADER_STATE={}));j.SPECIAL_HEADERS={connection:Ma.CONNECTION,"content-length":Ma.CONTENT_LENGTH,"proxy-connection":Ma.CONNECTION,"transfer-encoding":Ma.TRANSFER_ENCODING,upgrade:Ma.UPGRADE}});var NE=g((Q2e,RP)=>{"use strict";var{Buffer:e6}=require("node:buffer");RP.exports=e6.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib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AWoiAUcNAAsgAiAFNgIADLACCyACQQA2AgAgBkEBaiEBQRAMcwtB/gAhAyABIARGDa4CIAIoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQfbOAGotAABHDXEgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK8CCyACQQA2AgAgBkEBaiEBQRYMcgtB/wAhAyABIARGDa0CIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQfzOAGotAABHDXAgAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK4CCyACQQA2AgAgBkEBaiEBQQUMcQsgASAERgRAQYABIQMMrQILIAEtAABB2QBHDW4gAUEBaiEBQQgMcAsgASAERgRAQYEBIQMMrAILAkACQCABLQAAQc4Aaw4DAG8BbwsgAUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQfAAIQMMjgILIAEgBEYEQEGGASEDDKcCCyABLQAAQcUARw1oIAFBAWohAQxgC0GHASEDIAEgBEYNpQIgAigCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABB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A2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACA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QhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAIoAhwiA0EBaw7dAdoBAdkBAgMEBQYHCAkKCwwNDtgBDxDXARES1gETFBUWFxgZGhvgAd8BHB0e1QEfICEiIyQl1AEmJygpKiss0wHSAS0u0QHQAS8wMTIzNDU2Nzg5Ojs8PT4/QEFCQ0RFRtsBR0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AAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHyAhIyUmKCorLC8wMTIzNDU2Nzk6Ozw9lANAQkRFRklLTk9QUVJTVFVWWFpbXF1eX2BhYmNkZWZnaGpsb3Bxc3V2eHl6e3x/gAGBAYIBgwGEAYUBhgGHAYgBiQGKAYsBjAGNAY4BjwGQAZEBkgGTAZQBlQGWAZcBmAGZAZoBmwGcAZ0BngGfAaABoQGiAaMBpAGlAaYBpwGoAakBqgGrAawBrQGuAa8BsAGxAbIBswG0AbUBtgG3AbgBuQG6Abs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BQcMAIQMMxgILIAFBAWohAUHEACEDDMUCCyABIARHBEAgAkENNgIIIAIgATYCBEHFACEDDMUCC0HPACEDDN0CCwJAAkAgAS0AAEEKaw4EAZABkAEAkAELIAFBAWohAQtBKCEDDMMCCyABIARGBEBB0QAhAwzcAgsgAS0AAEEgRw0AIAFBAWohASACLQAtQQFxRQ3QAQtBFyEDDMECCyABIARHDcsBQdIAIQMM2QILQdMAIQMgASAERg3YAiACKAIAIgAgBCABa2ohBiABIABrQQFqIQUDQCABLQAAIABB1sIAai0AAEcNxwEgAEEBRg3KASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBjYCAAzYAgsgASAERgRAQdUAIQMM2AILIAEtAABBCkcNwgEgAUEBaiEBDMoBCyABIARGBEBB1gAhAwzXAgsCQAJAIAEtAABBCmsOBADDAcMBAcMBCyABQQFqIQEMygELIAFBAWohAUHKACEDDL0CC0EAIQACQCACKAI4IgNFDQAgAygCPCIDRQ0AIAIgAxEAACEACyAADb8BQc0AIQMMvAILIAItAClBIkYNzwIMiQELIAQgASIFRgRAQdsAIQMM1AILQQAhAEEBIQFBASEGQQAhAwJAAn8CQAJAAkACQAJAAkACQCAFLQAAQTBrDgrFAcQBAAECAwQFBgjDAQtBAgwGC0EDDAULQQQMBAtBBQwDC0EGDAILQQcMAQtBCAshA0EAIQFBACEGDL0BC0EJIQNBASEAQQAhAUEAIQYMvAELIAEgBEYEQEHdACEDDNMCCyABLQAAQS5HDbgBIAFBAWohAQyIAQsgASAERw22AUHfACEDDNECCyABIARHBEAgAkEONgIIIAIgATYCBEHQACEDDLgCC0HgACEDDNACC0HhACEDIAEgBEYNzwIgAigCACIAIAQgAWtqIQUgASAAa0EDaiEGA0AgAS0AACAAQeLCAGotAABHDbEBIABBA0YNswEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMzwILQeIAIQMgASAERg3OAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYDQCABLQAAIABB5sIAai0AAEcNsAEgAEECRg2vAS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QAhAyABIARGDa8CIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQe3PAGotAABHDXIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADLACCyACQQA2AgAgBkEBaiEBQRAMcwtB/gAhAyABIARGDa4CIAIoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQfbOAGotAABHDXEgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK8CCyACQQA2AgAgBkEBaiEBQRYMcgtB/wAhAyABIARGDa0CIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQfzOAGotAABHDXAgAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK4CCyACQQA2AgAgBkEBaiEBQQUMcQsgASAERgRAQYABIQMMrQILIAEtAABB2QBHDW4gAUEBaiEBQQgMcAsgASAERgRAQYEBIQMMrAILAkACQCABLQAAQc4Aaw4DAG8BbwsgAUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQfAAIQMMjgILIAEgBEYEQEGGASE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EAIQMMtAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0gIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMswELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCH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205,304],DP=[301,302,303,307,308],i6=new Set(DP),TP=["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"],s6=new Set(TP),OP=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],o6=new Set(OP),a6=["follow","manual","error"],MP=["GET","HEAD","OPTIONS","TRACE"],c6=new Set(MP),l6=["navigate","same-origin","no-cors","cors"],A6=["omit","same-origin","include"],u6=["default","no-store","reload","no-cache","force-cache","only-if-cached"],d6=["content-encoding","content-language","content-location","content-type","content-length"],p6=["half"],kP=["CONNECT","TRACE","TRACK"],h6=new Set(kP),LP=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],f6=new Set(LP);UP.exports={subresource:LP,forbiddenMethods:kP,requestBodyHeader:d6,referrerPolicy:OP,requestRedirect:a6,requestMode:l6,requestCredentials:A6,requestCache:u6,redirectStatus:DP,corsSafeListedMethods:PP,nullBodyStatus:n6,safeMethods:MP,badPorts:TP,requestDuplex:p6,subresourceSet:f6,badPortsSet:s6,redirectStatusSet:i6,corsSafeListedMethodsSet:r6,safeMethodsSet:c6,forbiddenMethodsSet:h6,referrerPolicySet:o6}});var SE=g((x2e,FP)=>{"use strict";var xE=Symbol.for("undici.globalOrigin.1");function m6(){return globalThis[xE]}o(m6,"getGlobalOrigin");function g6(t){if(t===void 0){Object.defineProperty(globalThis,xE,{value:void 0,writable:!0,enumerable:!1,configurable:!1});return}let e=new URL(t);if(e.protocol!=="http:"&&e.protocol!=="https:")throw new TypeError(`Only http & https urls are allowed, received ${e.protocol}`);Object.defineProperty(globalThis,xE,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(g6,"setGlobalOrigin");FP.exports={getGlobalOrigin:m6,setGlobalOrigin:g6}});var Br=g((R2e,JP)=>{"use strict";var Zd=require("node:assert"),y6=new TextEncoder,pA=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,C6=/[\u000A\u000D\u0009\u0020]/,E6=/[\u0009\u000A\u000C\u000D\u0020]/g,B6=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function I6(t){Zd(t.protocol==="data:");let e=zP(t,!0);e=e.slice(5);let r={position:0},n=ka(",",e,r),i=n.length;if(n=S6(n,!0,!0),r.position>=e.length)return"failure";r.position++;let s=e.slice(i+1),a=jP(s);if(/;(\u0020){0,}base64$/i.test(n)){let l=YP(a);if(a=Q6(l),a==="failure")return"failure";n=n.slice(0,-6),n=n.replace(/(\u0020)+$/,""),n=n.slice(0,-1)}n.startsWith(";")&&(n="text/plain"+n);let c=RE(n);return c==="failure"&&(c=RE("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(I6,"dataURLProcessor");function zP(t,e=!1){if(!e)return t.href;let r=t.href,n=t.hash.length,i=n===0?r:r.substring(0,r.length-n);return!n&&r.endsWith("#")?i.slice(0,-1):i}o(zP,"URLSerializer");function ep(t,e,r){let n="";for(;r.position<e.length&&t(e[r.position]);)n+=e[r.position],r.position++;return n}o(ep,"collectASequenceOfCodePoints");function ka(t,e,r){let n=e.indexOf(t,r.position),i=r.position;return n===-1?(r.position=e.length,e.slice(i)):(r.position=n,e.slice(i,r.position))}o(ka,"collectASequenceOfCodePointsFast");function jP(t){let e=y6.encode(t);return b6(e)}o(jP,"stringPercentDecode");function qP(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(qP,"isHexCharByte");function HP(t){return t>=48&&t<=57?t-48:(t&223)-55}o(HP,"hexByteToNumber");function b6(t){let e=t.length,r=new Uint8Array(e),n=0;for(let i=0;i<e;++i){let s=t[i];s!==37?r[n++]=s:s===37&&!(qP(t[i+1])&&qP(t[i+2]))?r[n++]=37:(r[n++]=HP(t[i+1])<<4|HP(t[i+2]),i+=2)}return e===n?r:r.subarray(0,n)}o(b6,"percentDecode");function RE(t){t=Xd(t,!0,!0);let e={position:0},r=ka("/",t,e);if(r.length===0||!pA.test(r)||e.position>t.length)return"failure";e.position++;let n=ka(";",t,e);if(n=Xd(n,!1,!0),n.length===0||!pA.test(n))return"failure";let i=r.toLowerCase(),s=n.toLowerCase(),a={type:i,subtype:s,parameters:new Map,essence:`${i}/${s}`};for(;e.position<t.length;){e.position++,ep(A=>C6.test(A),t,e);let c=ep(A=>A!==";"&&A!=="=",t,e);if(c=c.toLowerCase(),e.position<t.length){if(t[e.position]===";")continue;e.position++}if(e.position>t.length)break;let l=null;if(t[e.position]==='"')l=GP(t,e,!0),ka(";",t,e);else if(l=ka(";",t,e),l=Xd(l,!1,!0),l.length===0)continue;c.length!==0&&pA.test(c)&&(l.length===0||B6.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(RE,"parseMIMEType");function Q6(t){t=t.replace(E6,"");let e=t.length;if(e%4===0&&t.charCodeAt(e-1)===61&&(--e,t.charCodeAt(e-1)===61&&--e),e%4===1||/[^+/0-9A-Za-z]/.test(t.length===e?t:t.substring(0,e)))return"failure";let r=Buffer.from(t,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}o(Q6,"forgivingBase64");function GP(t,e,r){let n=e.position,i="";for(Zd(t[e.position]==='"'),e.position++;i+=ep(a=>a!=='"'&&a!=="\\",t,e),!(e.position>=t.length);){let s=t[e.position];if(e.position++,s==="\\"){if(e.position>=t.length){i+="\\";break}i+=t[e.position],e.position++}else{Zd(s==='"');break}}return r?i:t.slice(n,e.position)}o(GP,"collectAnHTTPQuotedString");function w6(t){Zd(t!=="failure");let{parameters:e,essence:r}=t,n=r;for(let[i,s]of e.entries())n+=";",n+=i,n+="=",pA.test(s)||(s=s.replace(/(\\|")/g,"\\$1"),s='"'+s,s+='"'),n+=s;return n}o(w6,"serializeAMimeType");function N6(t){return t===13||t===10||t===9||t===32}o(N6,"isHTTPWhiteSpace");function Xd(t,e=!0,r=!0){return _E(t,e,r,N6)}o(Xd,"removeHTTPWhitespace");function x6(t){return t===13||t===10||t===9||t===12||t===32}o(x6,"isASCIIWhitespace");function S6(t,e=!0,r=!0){return _E(t,e,r,x6)}o(S6,"removeASCIIWhitespace");function _E(t,e,r,n){let i=0,s=t.length-1;if(e)for(;i<t.length&&n(t.charCodeAt(i));)i++;if(r)for(;s>0&&n(t.charCodeAt(s));)s--;return i===0&&s===t.length-1?t:t.slice(i,s+1)}o(_E,"removeChars");function YP(t){let e=t.length;if(65535>e)return String.fromCharCode.apply(null,t);let r="",n=0,i=65535;for(;n<e;)n+i>e&&(i=e-n),r+=String.fromCharCode.apply(null,t.subarray(n,n+=i));return r}o(YP,"isomorphicDecode");function R6(t){switch(t.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"}return t.subtype.endsWith("+json")?"application/json":t.subtype.endsWith("+xml")?"application/xml":""}o(R6,"minimizeSupportedMimeType");JP.exports={dataURLProcessor:I6,URLSerializer:zP,collectASequenceOfCodePoints:ep,collectASequenceOfCodePointsFast:ka,stringPercentDecode:jP,parseMIMEType:RE,collectAnHTTPQuotedString:GP,serializeAMimeType:w6,removeChars:_E,removeHTTPWhitespace:Xd,minimizeSupportedMimeType:R6,HTTP_TOKEN_CODEPOINTS:pA,isomorphicDecode:YP}});var $t=g((v2e,VP)=>{"use strict";var{types:pi,inspect:_6}=require("node:util"),{markAsUncloneable:v6}=require("node:worker_threads"),{toUSVString:P6}=Ee(),z={};z.converters={};z.util={};z.errors={};z.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};z.errors.conversionFailed=function(t){let e=t.types.length===1?"":" one of",r=`${t.argument} could not be converted to${e}: ${t.types.join(", ")}.`;return z.errors.exception({header:t.prefix,message:r})};z.errors.invalidArgument=function(t){return z.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};z.brandCheck=function(t,e,r){if(r?.strict!==!1){if(!(t instanceof e)){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}}else if(t?.[Symbol.toStringTag]!==e.prototype[Symbol.toStringTag]){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}};z.argumentLengthCheck=function({length:t},e,r){if(t<e)throw z.errors.exception({message:`${e} argument${e!==1?"s":""} required, but${t?" only":""} ${t} found.`,header:r})};z.illegalConstructor=function(){throw z.errors.exception({header:"TypeError",message:"Illegal constructor"})};z.util.Type=function(t){switch(typeof t){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":return t===null?"Null":"Object"}};z.util.markAsUncloneable=v6||(()=>{});z.util.ConvertToInt=function(t,e,r,n){let i,s;e===64?(i=Math.pow(2,53)-1,r==="unsigned"?s=0:s=Math.pow(-2,53)+1):r==="unsigned"?(s=0,i=Math.pow(2,e)-1):(s=Math.pow(-2,e)-1,i=Math.pow(2,e-1)-1);let a=Number(t);if(a===0&&(a=0),n?.enforceRange===!0){if(Number.isNaN(a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY)throw z.errors.exception({header:"Integer conversion",message:`Could not convert ${z.util.Stringify(t)} to an integer.`});if(a=z.util.IntegerPart(a),a<s||a>i)throw z.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${i}, got ${a}.`});return a}return!Number.isNaN(a)&&n?.clamp===!0?(a=Math.min(Math.max(a,s),i),Math.floor(a)%2===0?a=Math.floor(a):a=Math.ceil(a),a):Number.isNaN(a)||a===0&&Object.is(0,a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY?0:(a=z.util.IntegerPart(a),a=a%Math.pow(2,e),r==="signed"&&a>=Math.pow(2,e)-1?a-Math.pow(2,e):a)};z.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};z.util.Stringify=function(t){switch(z.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return _6(t);case"String":return`"${t}"`;default:return`${t}`}};z.sequenceConverter=function(t){return(e,r,n,i)=>{if(z.util.Type(e)!=="Object")throw z.errors.exception({header:r,message:`${n} (${z.util.Stringify(e)}) is not iterable.`});let s=typeof i=="function"?i():e?.[Symbol.iterator]?.(),a=[],c=0;if(s===void 0||typeof s.next!="function")throw z.errors.exception({header:r,message:`${n} is not iterable.`});for(;;){let{done:l,value:A}=s.next();if(l)break;a.push(t(A,r,`${n}[${c++}]`))}return a}};z.recordConverter=function(t,e){return(r,n,i)=>{if(z.util.Type(r)!=="Object")throw z.errors.exception({header:n,message:`${i} ("${z.util.Type(r)}") is not an Object.`});let s={};if(!pi.isProxy(r)){let c=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let l of c){let A=t(l,n,i),u=e(r[l],n,i);s[A]=u}return s}let a=Reflect.ownKeys(r);for(let c of a)if(Reflect.getOwnPropertyDescriptor(r,c)?.enumerable){let A=t(c,n,i),u=e(r[c],n,i);s[A]=u}return s}};z.interfaceConverter=function(t){return(e,r,n,i)=>{if(i?.strict!==!1&&!(e instanceof t))throw z.errors.exception({header:r,message:`Expected ${n} ("${z.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};z.dictionaryConverter=function(t){return(e,r,n)=>{let i=z.util.Type(e),s={};if(i==="Null"||i==="Undefined")return s;if(i!=="Object")throw z.errors.exception({header:r,message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let a of t){let{key:c,defaultValue:l,required:A,converter:u}=a;if(A===!0&&!Object.hasOwn(e,c))throw z.errors.exception({header:r,message:`Missing required key "${c}".`});let d=e[c],f=Object.hasOwn(a,"defaultValue");if(f&&d!==null&&(d??=l()),A||f||d!==void 0){if(d=u(d,r,`${n}.${c}`),a.allowedValues&&!a.allowedValues.includes(d))throw z.errors.exception({header:r,message:`${d} is not an accepted type. Expected one of ${a.allowedValues.join(", ")}.`});s[c]=d}}return s}};z.nullableConverter=function(t){return(e,r,n)=>e===null?e:t(e,r,n)};z.converters.DOMString=function(t,e,r,n){if(t===null&&n?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw z.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};z.converters.ByteString=function(t,e,r){let n=z.converters.DOMString(t,e,r);for(let i=0;i<n.length;i++)if(n.charCodeAt(i)>255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${i} has a value of ${n.charCodeAt(i)} which is greater than 255.`);return n};z.converters.USVString=P6;z.converters.boolean=function(t){return!!t};z.converters.any=function(t){return t};z.converters["long long"]=function(t,e,r){return z.util.ConvertToInt(t,64,"signed",void 0,e,r)};z.converters["unsigned long long"]=function(t,e,r){return z.util.ConvertToInt(t,64,"unsigned",void 0,e,r)};z.converters["unsigned long"]=function(t,e,r){return z.util.ConvertToInt(t,32,"unsigned",void 0,e,r)};z.converters["unsigned short"]=function(t,e,r,n){return z.util.ConvertToInt(t,16,"unsigned",n,e,r)};z.converters.ArrayBuffer=function(t,e,r,n){if(z.util.Type(t)!=="Object"||!pi.isAnyArrayBuffer(t))throw z.errors.conversionFailed({prefix:e,argument:`${r} ("${z.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(n?.allowShared===!1&&pi.isSharedArrayBuffer(t))throw z.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw z.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};z.converters.TypedArray=function(t,e,r,n,i){if(z.util.Type(t)!=="Object"||!pi.isTypedArray(t)||t.constructor.name!==e.name)throw z.errors.conversionFailed({prefix:r,argument:`${n} ("${z.util.Stringify(t)}")`,types:[e.name]});if(i?.allowShared===!1&&pi.isSharedArrayBuffer(t.buffer))throw z.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw z.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};z.converters.DataView=function(t,e,r,n){if(z.util.Type(t)!=="Object"||!pi.isDataView(t))throw z.errors.exception({header:e,message:`${r} is not a DataView.`});if(n?.allowShared===!1&&pi.isSharedArrayBuffer(t.buffer))throw z.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw z.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};z.converters.BufferSource=function(t,e,r,n){if(pi.isAnyArrayBuffer(t))return z.converters.ArrayBuffer(t,e,r,{...n,allowShared:!1});if(pi.isTypedArray(t))return z.converters.TypedArray(t,t.constructor,e,r,{...n,allowShared:!1});if(pi.isDataView(t))return z.converters.DataView(t,e,r,{...n,allowShared:!1});throw z.errors.conversionFailed({prefix:e,argument:`${r} ("${z.util.Stringify(t)}")`,types:["BufferSource"]})};z.converters["sequence<ByteString>"]=z.sequenceConverter(z.converters.ByteString);z.converters["sequence<sequence<ByteString>>"]=z.sequenceConverter(z.converters["sequence<ByteString>"]);z.converters["record<ByteString, ByteString>"]=z.recordConverter(z.converters.ByteString,z.converters.ByteString);VP.exports={webidl:z}});var Ur=g((P2e,cD)=>{"use strict";var{Transform:D6}=require("node:stream"),WP=require("node:zlib"),{redirectStatusSet:T6,referrerPolicySet:O6,badPortsSet:M6}=dA(),{getGlobalOrigin:$P}=SE(),{collectASequenceOfCodePoints:bo,collectAnHTTPQuotedString:k6,removeChars:L6,parseMIMEType:U6}=Br(),{performance:F6}=require("node:perf_hooks"),{isBlobLike:q6,ReadableStreamFrom:H6,isValidHTTPToken:KP,normalizedMethodRecordsBase:z6}=Ee(),Qo=require("node:assert"),{isUint8Array:j6}=require("node:util/types"),{webidl:hA}=$t(),XP=[],rp;try{rp=require("node:crypto");let t=["sha256","sha384","sha512"];XP=rp.getHashes().filter(e=>t.includes(e))}catch{}function ZP(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(ZP,"responseURL");function G6(t,e){if(!T6.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&tD(r)&&(eD(r)||(r=Y6(r)),r=new URL(r,ZP(t))),r&&!r.hash&&(r.hash=e),r}o(G6,"responseLocationURL");function eD(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r>126||r<32)return!1}return!0}o(eD,"isValidEncodedURL");function Y6(t){return Buffer.from(t,"binary").toString("utf8")}o(Y6,"normalizeBinaryStringToUtf8");function mA(t){return t.urlList[t.urlList.length-1]}o(mA,"requestCurrentURL");function J6(t){let e=mA(t);return oD(e)&&M6.has(e.port)?"blocked":"allowed"}o(J6,"requestBadPort");function V6(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(V6,"isErrorLike");function W6(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(!(r===9||r>=32&&r<=126||r>=128&&r<=255))return!1}return!0}o(W6,"isValidReasonPhrase");var $6=KP;function tD(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(`
`)||t.includes("\r")||t.includes("\0"))===!1}o(tD,"isValidHeaderValue");function K6(t,e){let{headersList:r}=e,n=(r.get("referrer-policy",!0)??"").split(","),i="";if(n.length>0)for(let s=n.length;s!==0;s--){let a=n[s-1].trim();if(O6.has(a)){i=a;break}}i!==""&&(t.referrerPolicy=i)}o(K6,"setRequestReferrerPolicyOnRedirect");function X6(){return"allowed"}o(X6,"crossOriginResourcePolicyCheck");function Z6(){return"success"}o(Z6,"corsCheck");function eZ(){return"success"}o(eZ,"TAOCheck");function tZ(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(tZ,"appendFetchMetadata");function rZ(t){let e=t.origin;if(!(e==="client"||e===void 0)){if(t.responseTainting==="cors"||t.mode==="websocket")t.headersList.append("origin",e,!0);else if(t.method!=="GET"&&t.method!=="HEAD"){switch(t.referrerPolicy){case"no-referrer":e=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":t.origin&&PE(t.origin)&&!PE(mA(t))&&(e=null);break;case"same-origin":np(t,mA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(rZ,"appendRequestOriginHeader");function La(t,e){return t}o(La,"coarsenTime");function nZ(t,e,r){return!t?.startTime||t.startTime<e?{domainLookupStartTime:e,domainLookupEndTime:e,connectionStartTime:e,connectionEndTime:e,secureConnectionStartTime:e,ALPNNegotiatedProtocol:t?.ALPNNegotiatedProtocol}:{domainLookupStartTime:La(t.domainLookupStartTime,r),domainLookupEndTime:La(t.domainLookupEndTime,r),connectionStartTime:La(t.connectionStartTime,r),connectionEndTime:La(t.connectionEndTime,r),secureConnectionStartTime:La(t.secureConnectionStartTime,r),ALPNNegotiatedProtocol:t.ALPNNegotiatedProtocol}}o(nZ,"clampAndCoarsenConnectionTimingInfo");function iZ(t){return La(F6.now(),t)}o(iZ,"coarsenedSharedCurrentTime");function sZ(t){return{startTime:t.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:t.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}o(sZ,"createOpaqueTimingInfo");function rD(){return{referrerPolicy:"strict-origin-when-cross-origin"}}o(rD,"makePolicyContainer");function oZ(t){return{referrerPolicy:t.referrerPolicy}}o(oZ,"clonePolicyContainer");function aZ(t){let e=t.referrerPolicy;Qo(e);let r=null;if(t.referrer==="client"){let c=$P();if(!c||c.origin==="null")return"no-referrer";r=new URL(c)}else t.referrer instanceof URL&&(r=t.referrer);let n=vE(r),i=vE(r,!0);n.toString().length>4096&&(n=i);let s=np(t,n),a=fA(n)&&!fA(t.url);switch(e){case"origin":return i??vE(r,!0);case"unsafe-url":return n;case"same-origin":return s?i:"no-referrer";case"origin-when-cross-origin":return s?n:i;case"strict-origin-when-cross-origin":{let c=mA(t);return np(n,c)?n:fA(n)&&!fA(c)?"no-referrer":i}case"strict-origin":case"no-referrer-when-downgrade":default:return a?"no-referrer":i}}o(aZ,"determineRequestsReferrer");function vE(t,e){return Qo(t instanceof URL),t=new URL(t),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}o(vE,"stripURLForReferrer");function fA(t){if(!(t instanceof URL))return!1;if(t.href==="about:blank"||t.href==="about:srcdoc"||t.protocol==="data:"||t.protocol==="file:")return!0;return e(t.origin);function e(r){if(r==null||r==="null")return!1;let n=new URL(r);return!!(n.protocol==="https:"||n.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(n.hostname)||n.hostname==="localhost"||n.hostname.includes("localhost.")||n.hostname.endsWith(".localhost"))}}o(fA,"isURLPotentiallyTrustworthy");function cZ(t,e){if(rp===void 0)return!0;let r=nD(e);if(r==="no metadata"||r.length===0)return!0;let n=AZ(r),i=uZ(r,n);for(let s of i){let a=s.algo,c=s.hash,l=rp.createHash(a).update(t).digest("base64");if(l[l.length-1]==="="&&(l[l.length-2]==="="?l=l.slice(0,-2):l=l.slice(0,-1)),dZ(l,c))return!0}return!1}o(cZ,"bytesMatch");var lZ=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function nD(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let i=lZ.exec(n);if(i===null||i.groups===void 0||i.groups.algo===void 0)continue;let s=i.groups.algo.toLowerCase();XP.includes(s)&&e.push(i.groups)}return r===!0?"no metadata":e}o(nD,"parseMetadata");function AZ(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r<t.length;++r){let n=t[r];if(n.algo[3]==="5"){e="sha512";break}else{if(e[3]==="3")continue;n.algo[3]==="3"&&(e="sha384")}}return e}o(AZ,"getStrongestMetadata");function uZ(t,e){if(t.length===1)return t;let r=0;for(let n=0;n<t.length;++n)t[n].algo===e&&(t[r++]=t[n]);return t.length=r,t}o(uZ,"filterMetadataListByAlgorithm");function dZ(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(t[r]!==e[r]){if(t[r]==="+"&&e[r]==="-"||t[r]==="/"&&e[r]==="_")continue;return!1}return!0}o(dZ,"compareBase64Mixed");function pZ(t){}o(pZ,"tryUpgradeRequestToAPotentiallyTrustworthyURL");function np(t,e){return t.origin===e.origin&&t.origin==="null"||t.protocol===e.protocol&&t.hostname===e.hostname&&t.port===e.port}o(np,"sameOrigin");function hZ(){let t,e;return{promise:new Promise((n,i)=>{t=n,e=i}),resolve:t,reject:e}}o(hZ,"createDeferredPromise");function fZ(t){return t.controller.state==="aborted"}o(fZ,"isAborted");function mZ(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(mZ,"isCancelled");function gZ(t){return z6[t.toLowerCase()]??t}o(gZ,"normalizeMethod");function yZ(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return Qo(typeof e=="string"),e}o(yZ,"serializeJavascriptValueToJSONString");var CZ=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function iD(t,e,r=0,n=1){class i{static{o(this,"FastIterableIterator")}#e;#t;#i;constructor(a,c){this.#e=a,this.#t=c,this.#i=0}next(){if(typeof this!="object"||this===null||!(#e in this))throw new TypeError(`'next' called on an object that does not implement interface ${t} Iterator.`);let a=this.#i,c=this.#e[e],l=c.length;if(a>=l)return{value:void 0,done:!0};let{[r]:A,[n]:u}=c[a];this.#i=a+1;let d;switch(this.#t){case"key":d=A;break;case"value":d=u;break;case"key+value":d=[A,u];break}return{value:d,done:!1}}}return delete i.prototype.constructor,Object.setPrototypeOf(i.prototype,CZ),Object.defineProperties(i.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(s,a){return new i(s,a)}}o(iD,"createIterator");function EZ(t,e,r,n=0,i=1){let s=iD(t,r,n,i),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return hA.brandCheck(this,e),s(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return hA.brandCheck(this,e),s(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return hA.brandCheck(this,e),s(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,A=globalThis){if(hA.brandCheck(this,e),hA.argumentLengthCheck(arguments,1,`${t}.forEach`),typeof l!="function")throw new TypeError(`Failed to execute 'forEach' on '${t}': parameter 1 is not of type 'Function'.`);for(let{0:u,1:d}of s(this,"key+value"))l.call(A,d,u,this)},"forEach")}};return Object.defineProperties(e.prototype,{...a,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:a.entries.value}})}o(EZ,"iteratorMixin");async function BZ(t,e,r){let n=e,i=r,s;try{s=t.stream.getReader()}catch(a){i(a);return}try{n(await sD(s))}catch(a){i(a)}}o(BZ,"fullyReadBody");function IZ(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(IZ,"isReadableStreamLike");function bZ(t){try{t.close(),t.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}}o(bZ,"readableStreamClose");var QZ=/[^\x00-\xFF]/;function tp(t){return Qo(!QZ.test(t)),t}o(tp,"isomorphicEncode");async function sD(t){let e=[],r=0;for(;;){let{done:n,value:i}=await t.read();if(n)return Buffer.concat(e,r);if(!j6(i))throw new TypeError("Received non-Uint8Array chunk");e.push(i),r+=i.length}}o(sD,"readAllBytes");function wZ(t){Qo("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(wZ,"urlIsLocal");function PE(t){return typeof t=="string"&&t[5]===":"&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&t[4]==="s"||t.protocol==="https:"}o(PE,"urlHasHttpsScheme");function oD(t){Qo("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(oD,"urlIsHttpHttpsScheme");function NZ(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(e&&bo(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==61)return"failure";n.position++,e&&bo(l=>l===" "||l===" ",r,n);let i=bo(l=>{let A=l.charCodeAt(0);return A>=48&&A<=57},r,n),s=i.length?Number(i):null;if(e&&bo(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==45)return"failure";n.position++,e&&bo(l=>l===" "||l===" ",r,n);let a=bo(l=>{let A=l.charCodeAt(0);return A>=48&&A<=57},r,n),c=a.length?Number(a):null;return n.position<r.length||c===null&&s===null||s>c?"failure":{rangeStartValue:s,rangeEndValue:c}}o(NZ,"simpleRangeHeaderValue");function xZ(t,e,r){let n="bytes ";return n+=tp(`${t}`),n+="-",n+=tp(`${e}`),n+="/",n+=tp(`${r}`),n}o(xZ,"buildContentRange");var DE=class extends D6{static{o(this,"InflateStream")}#e;constructor(e){super(),this.#e=e}_transform(e,r,n){if(!this._inflateStream){if(e.length===0){n();return}this._inflateStream=(e[0]&15)===8?WP.createInflate(this.#e):WP.createInflateRaw(this.#e),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",i=>this.destroy(i))}this._inflateStream.write(e,r,n)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}};function SZ(t){return new DE(t)}o(SZ,"createInflate");function RZ(t){let e=null,r=null,n=null,i=aD("content-type",t);if(i===null)return"failure";for(let s of i){let a=U6(s);a==="failure"||a.essence==="*/*"||(n=a,n.essence!==r?(e=null,n.parameters.has("charset")&&(e=n.parameters.get("charset")),r=n.essence):!n.parameters.has("charset")&&e!==null&&n.parameters.set("charset",e))}return n??"failure"}o(RZ,"extractMimeType");function _Z(t){let e=t,r={position:0},n=[],i="";for(;r.position<e.length;){if(i+=bo(s=>s!=='"'&&s!==",",e,r),r.position<e.length)if(e.charCodeAt(r.position)===34){if(i+=k6(e,r),r.position<e.length)continue}else Qo(e.charCodeAt(r.position)===44),r.position++;i=L6(i,!0,!0,s=>s===9||s===32),n.push(i),i=""}return n}o(_Z,"gettingDecodingSplitting");function aD(t,e){let r=e.get(t,!0);return r===null?null:_Z(r)}o(aD,"getDecodeSplit");var vZ=new TextDecoder;function PZ(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),vZ.decode(t))}o(PZ,"utf8DecodeBytes");var TE=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return $P()}get origin(){return this.baseUrl?.origin}policyContainer=rD()},OE=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new TE},DZ=new OE;cD.exports={isAborted:fZ,isCancelled:mZ,isValidEncodedURL:eD,createDeferredPromise:hZ,ReadableStreamFrom:H6,tryUpgradeRequestToAPotentiallyTrustworthyURL:pZ,clampAndCoarsenConnectionTimingInfo:nZ,coarsenedSharedCurrentTime:iZ,determineRequestsReferrer:aZ,makePolicyContainer:rD,clonePolicyContainer:oZ,appendFetchMetadata:tZ,appendRequestOriginHeader:rZ,TAOCheck:eZ,corsCheck:Z6,crossOriginResourcePolicyCheck:X6,createOpaqueTimingInfo:sZ,setRequestReferrerPolicyOnRedirect:K6,isValidHTTPToken:KP,requestBadPort:J6,requestCurrentURL:mA,responseURL:ZP,responseLocationURL:G6,isBlobLike:q6,isURLPotentiallyTrustworthy:fA,isValidReasonPhrase:W6,sameOrigin:np,normalizeMethod:gZ,serializeJavascriptValueToJSONString:yZ,iteratorMixin:EZ,createIterator:iD,isValidHeaderName:$6,isValidHeaderValue:tD,isErrorLike:V6,fullyReadBody:BZ,bytesMatch:cZ,isReadableStreamLike:IZ,readableStreamClose:bZ,isomorphicEncode:tp,urlIsLocal:wZ,urlHasHttpsScheme:PE,urlIsHttpHttpsScheme:oD,readAllBytes:sD,simpleRangeHeaderValue:NZ,buildContentRange:xZ,parseMetadata:nD,createInflate:SZ,extractMimeType:RZ,getDecodeSplit:aD,utf8DecodeBytes:PZ,environmentSettingsObject:DZ}});var bs=g((T2e,lD)=>{"use strict";lD.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var kE=g((O2e,AD)=>{"use strict";var{Blob:TZ,File:OZ}=require("node:buffer"),{kState:Zi}=bs(),{webidl:hi}=$t(),ME=class t{static{o(this,"FileLike")}constructor(e,r,n={}){let i=r,s=n.type,a=n.lastModified??Date.now();this[Zi]={blobLike:e,name:i,type:s,lastModified:a}}stream(...e){return hi.brandCheck(this,t),this[Zi].blobLike.stream(...e)}arrayBuffer(...e){return hi.brandCheck(this,t),this[Zi].blobLike.arrayBuffer(...e)}slice(...e){return hi.brandCheck(this,t),this[Zi].blobLike.slice(...e)}text(...e){return hi.brandCheck(this,t),this[Zi].blobLike.text(...e)}get size(){return hi.brandCheck(this,t),this[Zi].blobLike.size}get type(){return hi.brandCheck(this,t),this[Zi].blobLike.type}get name(){return hi.brandCheck(this,t),this[Zi].name}get lastModified(){return hi.brandCheck(this,t),this[Zi].lastModified}get[Symbol.toStringTag](){return"File"}};hi.converters.Blob=hi.interfaceConverter(TZ);function MZ(t){return t instanceof OZ||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(MZ,"isFileLike");AD.exports={FileLike:ME,isFileLike:MZ}});var yA=g((k2e,fD)=>{"use strict";var{isBlobLike:ip,iteratorMixin:kZ}=Ur(),{kState:dr}=bs(),{kEnumerableProperty:Ua}=Ee(),{FileLike:uD,isFileLike:LZ}=kE(),{webidl:Ve}=$t(),{File:hD}=require("node:buffer"),dD=require("node:util"),pD=globalThis.File??hD,gA=class t{static{o(this,"FormData")}constructor(e){if(Ve.util.markAsUncloneable(this),e!==void 0)throw Ve.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[dr]=[]}append(e,r,n=void 0){Ve.brandCheck(this,t);let i="FormData.append";if(Ve.argumentLengthCheck(arguments,2,i),arguments.length===3&&!ip(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Ve.converters.USVString(e,i,"name"),r=ip(r)?Ve.converters.Blob(r,i,"value",{strict:!1}):Ve.converters.USVString(r,i,"value"),n=arguments.length===3?Ve.converters.USVString(n,i,"filename"):void 0;let s=LE(e,r,n);this[dr].push(s)}delete(e){Ve.brandCheck(this,t);let r="FormData.delete";Ve.argumentLengthCheck(arguments,1,r),e=Ve.converters.USVString(e,r,"name"),this[dr]=this[dr].filter(n=>n.name!==e)}get(e){Ve.brandCheck(this,t);let r="FormData.get";Ve.argumentLengthCheck(arguments,1,r),e=Ve.converters.USVString(e,r,"name");let n=this[dr].findIndex(i=>i.name===e);return n===-1?null:this[dr][n].value}getAll(e){Ve.brandCheck(this,t);let r="FormData.getAll";return Ve.argumentLengthCheck(arguments,1,r),e=Ve.converters.USVString(e,r,"name"),this[dr].filter(n=>n.name===e).map(n=>n.value)}has(e){Ve.brandCheck(this,t);let r="FormData.has";return Ve.argumentLengthCheck(arguments,1,r),e=Ve.converters.USVString(e,r,"name"),this[dr].findIndex(n=>n.name===e)!==-1}set(e,r,n=void 0){Ve.brandCheck(this,t);let i="FormData.set";if(Ve.argumentLengthCheck(arguments,2,i),arguments.length===3&&!ip(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Ve.converters.USVString(e,i,"name"),r=ip(r)?Ve.converters.Blob(r,i,"name",{strict:!1}):Ve.converters.USVString(r,i,"name"),n=arguments.length===3?Ve.converters.USVString(n,i,"name"):void 0;let s=LE(e,r,n),a=this[dr].findIndex(c=>c.name===e);a!==-1?this[dr]=[...this[dr].slice(0,a),s,...this[dr].slice(a+1).filter(c=>c.name!==e)]:this[dr].push(s)}[dD.inspect.custom](e,r){let n=this[dr].reduce((s,a)=>(s[a.name]?Array.isArray(s[a.name])?s[a.name].push(a.value):s[a.name]=[s[a.name],a.value]:s[a.name]=a.value,s),{__proto__:null});r.depth??=e,r.colors??=!0;let i=dD.formatWithOptions(r,n);return`FormData ${i.slice(i.indexOf("]")+2)}`}};kZ("FormData",gA,dr,"name","value");Object.defineProperties(gA.prototype,{append:Ua,delete:Ua,get:Ua,getAll:Ua,has:Ua,set:Ua,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function LE(t,e,r){if(typeof e!="string"){if(LZ(e)||(e=e instanceof Blob?new pD([e],"blob",{type:e.type}):new uD(e,"blob",{type:e.type})),r!==void 0){let n={type:e.type,lastModified:e.lastModified};e=e instanceof hD?new pD([e],r,n):new uD(e,r,n)}}return{name:t,value:e}}o(LE,"makeEntry");fD.exports={FormData:gA,makeEntry:LE}});var BD=g((U2e,ED)=>{"use strict";var{isUSVString:mD,bufferToLowerCasedHeaderName:UZ}=Ee(),{utf8DecodeBytes:FZ}=Ur(),{HTTP_TOKEN_CODEPOINTS:qZ,isomorphicDecode:gD}=Br(),{isFileLike:HZ}=kE(),{makeEntry:zZ}=yA(),sp=require("node:assert"),{File:jZ}=require("node:buffer"),GZ=globalThis.File??jZ,YZ=Buffer.from('form-data; name="'),yD=Buffer.from("; filename"),JZ=Buffer.from("--"),VZ=Buffer.from(`--\r
`);function WZ(t){for(let e=0;e<t.length;++e)if(t.charCodeAt(e)&-128)return!1;return!0}o(WZ,"isAsciiString");function $Z(t){let e=t.length;if(e<27||e>70)return!1;for(let r=0;r<e;++r){let n=t.charCodeAt(r);if(!(n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122||n===39||n===45||n===95))return!1}return!0}o($Z,"validateBoundary");function KZ(t,e){sp(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let n=Buffer.from(`--${r}`,"utf8"),i=[],s={position:0};for(;t[s.position]===13&&t[s.position+1]===10;)s.position+=2;let a=t.length;for(;t[a-1]===10&&t[a-2]===13;)a-=2;for(a!==t.length&&(t=t.subarray(0,a));;){if(t.subarray(s.position,s.position+n.length).equals(n))s.position+=n.length;else return"failure";if(s.position===t.length-2&&op(t,JZ,s)||s.position===t.length-4&&op(t,VZ,s))return i;if(t[s.position]!==13||t[s.position+1]!==10)return"failure";s.position+=2;let c=XZ(t,s);if(c==="failure")return"failure";let{name:l,filename:A,contentType:u,encoding:d}=c;s.position+=2;let f;{let C=t.indexOf(n.subarray(2),s.position);if(C===-1)return"failure";f=t.subarray(s.position,C-4),s.position+=f.length,d==="base64"&&(f=Buffer.from(f.toString(),"base64"))}if(t[s.position]!==13||t[s.position+1]!==10)return"failure";s.position+=2;let m;A!==null?(u??="text/plain",WZ(u)||(u=""),m=new GZ([f],A,{type:u})):m=FZ(Buffer.from(f)),sp(mD(l)),sp(typeof m=="string"&&mD(m)||HZ(m)),i.push(zZ(l,m,A))}}o(KZ,"multipartFormDataParser");function XZ(t,e){let r=null,n=null,i=null,s=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:n,contentType:i,encoding:s};let a=Fa(c=>c!==10&&c!==13&&c!==58,t,e);if(a=UE(a,!0,!0,c=>c===9||c===32),!qZ.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,Fa(c=>c===32||c===9,t,e),UZ(a)){case"content-disposition":{if(r=n=null,!op(t,YZ,e)||(e.position+=17,r=CD(t,e),r===null))return"failure";if(op(t,yD,e)){let c=e.position+yD.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,n=CD(t,e),n===null))return"failure"}break}case"content-type":{let c=Fa(l=>l!==10&&l!==13,t,e);c=UE(c,!1,!0,l=>l===9||l===32),i=gD(c);break}case"content-transfer-encoding":{let c=Fa(l=>l!==10&&l!==13,t,e);c=UE(c,!1,!0,l=>l===9||l===32),s=gD(c);break}default:Fa(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(XZ,"parseMultipartFormDataHeaders");function CD(t,e){sp(t[e.position-1]===34);let r=Fa(n=>n!==10&&n!==13&&n!==34,t,e);return t[e.position]!==34?null:(e.position++,r=new TextDecoder().decode(r).replace(/%0A/ig,`
`).replace(/%0D/ig,"\r").replace(/%22/g,'"'),r)}o(CD,"parseMultipartFormDataName");function Fa(t,e,r){let n=r.position;for(;n<e.length&&t(e[n]);)++n;return e.subarray(r.position,r.position=n)}o(Fa,"collectASequenceOfBytes");function UE(t,e,r,n){let i=0,s=t.length-1;if(e)for(;i<t.length&&n(t[i]);)i++;if(r)for(;s>0&&n(t[s]);)s--;return i===0&&s===t.length-1?t:t.subarray(i,s+1)}o(UE,"removeChars");function op(t,e,r){if(t.length<e.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[r.position+n])return!1;return!0}o(op,"bufferStartsWith");ED.exports={multipartFormDataParser:KZ,validateBoundary:$Z}});var za=g((q2e,vD)=>{"use strict";var CA=Ee(),{ReadableStreamFrom:ZZ,isBlobLike:ID,isReadableStreamLike:e7,readableStreamClose:t7,createDeferredPromise:r7,fullyReadBody:n7,extractMimeType:i7,utf8DecodeBytes:wD}=Ur(),{FormData:bD}=yA(),{kState:Ha}=bs(),{webidl:s7}=$t(),{Blob:o7}=require("node:buffer"),FE=require("node:assert"),{isErrored:ND,isDisturbed:a7}=require("node:stream"),{isArrayBuffer:c7}=require("node:util/types"),{serializeAMimeType:l7}=Br(),{multipartFormDataParser:A7}=BD(),qE;try{let t=require("node:crypto");qE=o(e=>t.randomInt(0,e),"random")}catch{qE=o(t=>Math.floor(Math.random(t)),"random")}var ap=new TextEncoder;function u7(){}o(u7,"noop");var xD=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,SD;xD&&(SD=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!a7(e)&&!ND(e)&&e.cancel("Response object has been garbage collected").catch(u7)}));function RD(t,e=!1){let r=null;t instanceof ReadableStream?r=t:ID(t)?r=t.stream():r=new ReadableStream({async pull(l){let A=typeof i=="string"?ap.encode(i):i;A.byteLength&&l.enqueue(A),queueMicrotask(()=>t7(l))},start(){},type:"bytes"}),FE(e7(r));let n=null,i=null,s=null,a=null;if(typeof t=="string")i=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)i=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(c7(t))i=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))i=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(CA.isFormDataLike(t)){let l=`----formdata-undici-0${`${qE(1e11)}`.padStart(11,"0")}`,A=`--${l}\r
Content-Disposition: form-data`;let u=o(S=>S.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),"escape"),d=o(S=>S.replace(/\r?\n|\r/g,`\r
`),"normalizeLinefeeds"),f=[],m=new Uint8Array([13,10]);s=0;let C=!1;for(let[S,w]of t)if(typeof w=="string"){let R=ap.encode(A+`; name="${u(d(S))}"\r
\r
${d(w)}\r
`);f.push(R),s+=R.byteLength}else{let R=ap.encode(`${A}; name="${u(d(S))}"`+(w.name?`; filename="${u(w.name)}"`:"")+`\r
Content-Type: ${w.type||"application/octet-stream"}\r
\r
`);f.push(R,w,m),typeof w.size=="number"?s+=R.byteLength+w.size+m.byteLength:C=!0}let Q=ap.encode(`--${l}--\r
`);f.push(Q),s+=Q.byteLength,C&&(s=null),i=t,n=o(async function*(){for(let S of f)S.stream?yield*S.stream():yield S},"action"),a=`multipart/form-data; boundary=${l}`}else if(ID(t))i=t,s=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(CA.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:ZZ(t)}if((typeof i=="string"||CA.isBuffer(i))&&(s=Buffer.byteLength(i)),n!=null){let l;r=new ReadableStream({async start(){l=n(t)[Symbol.asyncIterator]()},async pull(A){let{value:u,done:d}=await l.next();if(d)queueMicrotask(()=>{A.close(),A.byobRequest?.respond(0)});else if(!ND(r)){let f=new Uint8Array(u);f.byteLength&&A.enqueue(f)}return A.desiredSize>0},async cancel(A){await l.return()},type:"bytes"})}return[{stream:r,source:i,length:s},a]}o(RD,"extractBody");function d7(t,e=!1){return t instanceof ReadableStream&&(FE(!CA.isDisturbed(t),"The body has already been consumed."),FE(!t.locked,"The stream is locked.")),RD(t,e)}o(d7,"safelyExtractBody");function p7(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}o(p7,"cloneBody");function h7(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(h7,"throwIfAborted");function f7(t){return{blob(){return qa(this,r=>{let n=QD(this);return n===null?n="":n&&(n=l7(n)),new o7([r],{type:n})},t)},arrayBuffer(){return qa(this,r=>new Uint8Array(r).buffer,t)},text(){return qa(this,wD,t)},json(){return qa(this,g7,t)},formData(){return qa(this,r=>{let n=QD(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let i=A7(r,n);if(i==="failure")throw new TypeError("Failed to parse body as FormData.");let s=new bD;return s[Ha]=i,s}case"application/x-www-form-urlencoded":{let i=new URLSearchParams(r.toString()),s=new bD;for(let[a,c]of i)s.append(a,c);return s}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return qa(this,r=>new Uint8Array(r),t)}}}o(f7,"bodyMixinMethods");function m7(t){Object.assign(t.prototype,f7(t))}o(m7,"mixinBody");async function qa(t,e,r){if(s7.brandCheck(t,r),_D(t))throw new TypeError("Body is unusable: Body has already been read");h7(t[Ha]);let n=r7(),i=o(a=>n.reject(a),"errorSteps"),s=o(a=>{try{n.resolve(e(a))}catch(c){i(c)}},"successSteps");return t[Ha].body==null?(s(Buffer.allocUnsafe(0)),n.promise):(await n7(t[Ha].body,s,i),n.promise)}o(qa,"consumeBody");function _D(t){let e=t[Ha].body;return e!=null&&(e.stream.locked||CA.isDisturbed(e.stream))}o(_D,"bodyUnusable");function g7(t){return JSON.parse(wD(t))}o(g7,"parseJSONFromBytes");function QD(t){let e=t[Ha].headersList,r=i7(e);return r==="failure"?null:r}o(QD,"bodyMimeType");vD.exports={extractBody:RD,safelyExtractBody:d7,cloneBody:p7,mixinBody:m7,streamRegistry:SD,hasFinalizationRegistry:xD,bodyUnusable:_D}});var HD=g((z2e,qD)=>{"use strict";var oe=require("node:assert"),pe=Ee(),{channels:PD}=_a(),HE=bE(),{RequestContentLengthMismatchError:wo,ResponseContentLengthMismatchError:y7,RequestAbortedError:LD,HeadersTimeoutError:C7,HeadersOverflowError:E7,SocketError:pp,InformationalError:ja,BodyTimeoutError:B7,HTTPParserError:I7,ResponseExceededMaxSizeError:b7}=Pe(),{kUrl:UD,kReset:Ir,kClient:YE,kParser:ht,kBlocking:IA,kRunning:er,kPending:Q7,kSize:DD,kWriting:ws,kQueue:Hn,kNoRef:EA,kKeepAliveDefaultTimeout:w7,kHostHeader:N7,kPendingIdx:x7,kRunningIdx:pn,kError:hn,kPipelining:up,kSocket:Ga,kKeepAliveTimeoutValue:hp,kMaxHeadersSize:zE,kKeepAliveMaxTimeout:S7,kKeepAliveTimeoutThreshold:R7,kHeadersTimeout:_7,kBodyTimeout:v7,kStrictContentLength:JE,kMaxRequests:TD,kCounter:P7,kMaxResponseSize:D7,kOnError:T7,kResume:Qs,kHTTPContext:FD}=nt(),fi=SP(),O7=Buffer.alloc(0),cp=Buffer[Symbol.species],lp=pe.addListener,M7=pe.removeAllListeners,jE;async function k7(){let t=process.env.JEST_WORKER_ID?NE():void 0,e;try{e=await WebAssembly.compile(vP())}catch{e=await WebAssembly.compile(t||NE())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:(r,n,i)=>0,wasm_on_status:(r,n,i)=>{oe(Tt.ptr===r);let s=n-gi+mi.byteOffset;return Tt.onStatus(new cp(mi.buffer,s,i))||0},wasm_on_message_begin:r=>(oe(Tt.ptr===r),Tt.onMessageBegin()||0),wasm_on_header_field:(r,n,i)=>{oe(Tt.ptr===r);let s=n-gi+mi.byteOffset;return Tt.onHeaderField(new cp(mi.buffer,s,i))||0},wasm_on_header_value:(r,n,i)=>{oe(Tt.ptr===r);let s=n-gi+mi.byteOffset;return Tt.onHeaderValue(new cp(mi.buffer,s,i))||0},wasm_on_headers_complete:(r,n,i,s)=>(oe(Tt.ptr===r),Tt.onHeadersComplete(n,!!i,!!s)||0),wasm_on_body:(r,n,i)=>{oe(Tt.ptr===r);let s=n-gi+mi.byteOffset;return Tt.onBody(new cp(mi.buffer,s,i))||0},wasm_on_message_complete:r=>(oe(Tt.ptr===r),Tt.onMessageComplete()||0)}})}o(k7,"lazyllhttp");var GE=null,VE=k7();VE.catch();var Tt=null,mi=null,Ap=0,gi=null,L7=0,BA=1,Ya=2|BA,dp=4|BA,WE=8|L7,$E=class{static{o(this,"Parser")}constructor(e,r,{exports:n}){oe(Number.isFinite(e[zE])&&e[zE]>0),this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(fi.TYPE.RESPONSE),this.client=e,this.socket=r,this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.statusCode=null,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=e[zE],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[D7]}setTimeout(e,r){e!==this.timeoutValue||r&BA^this.timeoutType&BA?(this.timeout&&(HE.clearTimeout(this.timeout),this.timeout=null),e&&(r&BA?this.timeout=HE.setFastTimeout(OD,e,new WeakRef(this)):(this.timeout=setTimeout(OD,e,new WeakRef(this)),this.timeout.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=r}resume(){this.socket.destroyed||!this.paused||(oe(this.ptr!=null),oe(Tt==null),this.llhttp.llhttp_resume(this.ptr),oe(this.timeoutType===dp),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||O7),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){oe(this.ptr!=null),oe(Tt==null),oe(!this.paused);let{socket:r,llhttp:n}=this;e.length>Ap&&(gi&&n.free(gi),Ap=Math.ceil(e.length/4096)*4096,gi=n.malloc(Ap)),new Uint8Array(n.memory.buffer,gi,Ap).set(e);try{let i;try{mi=e,Tt=this,i=n.llhttp_execute(this.ptr,gi,e.length)}catch(a){throw a}finally{Tt=null,mi=null}let s=n.llhttp_get_error_pos(this.ptr)-gi;if(i===fi.ERROR.PAUSED_UPGRADE)this.onUpgrade(e.slice(s));else if(i===fi.ERROR.PAUSED)this.paused=!0,r.unshift(e.slice(s));else if(i!==fi.ERROR.OK){let a=n.llhttp_get_error_reason(this.ptr),c="";if(a){let l=new Uint8Array(n.memory.buffer,a).indexOf(0);c="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,a,l).toString()+")"}throw new I7(c,fi.ERROR[i],e.slice(s))}}catch(i){pe.destroy(r,i)}}destroy(){oe(this.ptr!=null),oe(Tt==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&HE.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){this.statusText=e.toString()}onMessageBegin(){let{socket:e,client:r}=this;if(e.destroyed)return-1;let n=r[Hn][r[pn]];if(!n)return-1;n.onResponseStarted()}onHeaderField(e){let r=this.headers.length;r&1?this.headers[r-1]=Buffer.concat([this.headers[r-1],e]):this.headers.push(e),this.trackHeader(e.length)}onHeaderValue(e){let r=this.headers.length;(r&1)===1?(this.headers.push(e),r+=1):this.headers[r-1]=Buffer.concat([this.headers[r-1],e]);let n=this.headers[r-2];if(n.length===10){let i=pe.bufferToLowerCasedHeaderName(n);i==="keep-alive"?this.keepAlive+=e.toString():i==="connection"&&(this.connection+=e.toString())}else n.length===14&&pe.bufferToLowerCasedHeaderName(n)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&pe.destroy(this.socket,new E7)}onUpgrade(e){let{upgrade:r,client:n,socket:i,headers:s,statusCode:a}=this;oe(r),oe(n[Ga]===i),oe(!i.destroyed),oe(!this.paused),oe((s.length&1)===0);let c=n[Hn][n[pn]];oe(c),oe(c.upgrade||c.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,i.unshift(e),i[ht].destroy(),i[ht]=null,i[YE]=null,i[hn]=null,M7(i),n[Ga]=null,n[FD]=null,n[Hn][n[pn]++]=null,n.emit("disconnect",n[UD],[n],new ja("upgrade"));try{c.onUpgrade(a,s,i)}catch(l){pe.destroy(i,l)}n[Qs]()}onHeadersComplete(e,r,n){let{client:i,socket:s,headers:a,statusText:c}=this;if(s.destroyed)return-1;let l=i[Hn][i[pn]];if(!l)return-1;if(oe(!this.upgrade),oe(this.statusCode<200),e===100)return pe.destroy(s,new pp("bad response",pe.getSocketInfo(s))),-1;if(r&&!l.upgrade)return pe.destroy(s,new pp("bad upgrade",pe.getSocketInfo(s))),-1;if(oe(this.timeoutType===Ya),this.statusCode=e,this.shouldKeepAlive=n||l.method==="HEAD"&&!s[Ir]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let u=l.bodyTimeout!=null?l.bodyTimeout:i[v7];this.setTimeout(u,dp)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return oe(i[er]===1),this.upgrade=!0,2;if(r)return oe(i[er]===1),this.upgrade=!0,2;if(oe((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[up]){let u=this.keepAlive?pe.parseKeepAliveTimeout(this.keepAlive):null;if(u!=null){let d=Math.min(u-i[R7],i[S7]);d<=0?s[Ir]=!0:i[hp]=d}else i[hp]=i[w7]}else s[Ir]=!0;let A=l.onHeaders(e,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||e<200?1:(s[IA]&&(s[IA]=!1,i[Qs]()),A?fi.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:n,statusCode:i,maxResponseSize:s}=this;if(n.destroyed)return-1;let a=r[Hn][r[pn]];if(oe(a),oe(this.timeoutType===dp),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),oe(i>=200),s>-1&&this.bytesRead+e.length>s)return pe.destroy(n,new b7),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return fi.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:n,upgrade:i,headers:s,contentLength:a,bytesRead:c,shouldKeepAlive:l}=this;if(r.destroyed&&(!n||l))return-1;if(i)return;oe(n>=100),oe((this.headers.length&1)===0);let A=e[Hn][e[pn]];if(oe(A),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,!(n<200)){if(A.method!=="HEAD"&&a&&c!==parseInt(a,10))return pe.destroy(r,new y7),-1;if(A.onComplete(s),e[Hn][e[pn]++]=null,r[ws])return oe(e[er]===0),pe.destroy(r,new ja("reset")),fi.ERROR.PAUSED;if(l){if(r[Ir]&&e[er]===0)return pe.destroy(r,new ja("reset")),fi.ERROR.PAUSED;e[up]==null||e[up]===1?setImmediate(()=>e[Qs]()):e[Qs]()}else return pe.destroy(r,new ja("reset")),fi.ERROR.PAUSED}}};function OD(t){let{socket:e,timeoutType:r,client:n,paused:i}=t.deref();r===Ya?(!e[ws]||e.writableNeedDrain||n[er]>1)&&(oe(!i,"cannot be paused while waiting for headers"),pe.destroy(e,new C7)):r===dp?i||pe.destroy(e,new B7):r===WE&&(oe(n[er]===0&&n[hp]),pe.destroy(e,new ja("socket idle timeout")))}o(OD,"onParserTimeout");async function U7(t,e){t[Ga]=e,GE||(GE=await VE,VE=null),e[EA]=!1,e[ws]=!1,e[Ir]=!1,e[IA]=!1,e[ht]=new $E(t,e,GE),lp(e,"error",function(n){oe(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let i=this[ht];if(n.code==="ECONNRESET"&&i.statusCode&&!i.shouldKeepAlive){i.onMessageComplete();return}this[hn]=n,this[YE][T7](n)}),lp(e,"readable",function(){let n=this[ht];n&&n.readMore()}),lp(e,"end",function(){let n=this[ht];if(n.statusCode&&!n.shouldKeepAlive){n.onMessageComplete();return}pe.destroy(this,new pp("other side closed",pe.getSocketInfo(this)))}),lp(e,"close",function(){let n=this[YE],i=this[ht];i&&(!this[hn]&&i.statusCode&&!i.shouldKeepAlive&&i.onMessageComplete(),this[ht].destroy(),this[ht]=null);let s=this[hn]||new pp("closed",pe.getSocketInfo(this));if(n[Ga]=null,n[FD]=null,n.destroyed){oe(n[Q7]===0);let a=n[Hn].splice(n[pn]);for(let c=0;c<a.length;c++){let l=a[c];pe.errorRequest(n,l,s)}}else if(n[er]>0&&s.code!=="UND_ERR_INFO"){let a=n[Hn][n[pn]];n[Hn][n[pn]++]=null,pe.errorRequest(n,a,s)}n[x7]=n[pn],oe(n[er]===0),n.emit("disconnect",n[UD],[n],s),n[Qs]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...n){return H7(t,...n)},resume(){F7(t)},destroy(n,i){r?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(n){return!!(e[ws]||e[Ir]||e[IA]||n&&(t[er]>0&&!n.idempotent||t[er]>0&&(n.upgrade||n.method==="CONNECT")||t[er]>0&&pe.bodyLength(n.body)!==0&&(pe.isStream(n.body)||pe.isAsyncIterable(n.body)||pe.isFormDataLike(n.body))))}}}o(U7,"connectH1");function F7(t){let e=t[Ga];if(e&&!e.destroyed){if(t[DD]===0?!e[EA]&&e.unref&&(e.unref(),e[EA]=!0):e[EA]&&e.ref&&(e.ref(),e[EA]=!1),t[DD]===0)e[ht].timeoutType!==WE&&e[ht].setTimeout(t[hp],WE);else if(t[er]>0&&e[ht].statusCode<200&&e[ht].timeoutType!==Ya){let r=t[Hn][t[pn]],n=r.headersTimeout!=null?r.headersTimeout:t[_7];e[ht].setTimeout(n,Ya)}}}o(F7,"resumeH1");function q7(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(q7,"shouldSendContentLength");function H7(t,e){let{method:r,path:n,host:i,upgrade:s,blocking:a,reset:c}=e,{body:l,headers:A,contentLength:u}=e,d=r==="PUT"||r==="POST"||r==="PATCH"||r==="QUERY"||r==="PROPFIND"||r==="PROPPATCH";if(pe.isFormDataLike(l)){jE||(jE=za().extractBody);let[S,w]=jE(l);e.contentType==null&&A.push("content-type",w),l=S.stream,u=S.length}else pe.isBlobLike(l)&&e.contentType==null&&l.type&&A.push("content-type",l.type);l&&typeof l.read=="function"&&l.read(0);let f=pe.bodyLength(l);if(u=f??u,u===null&&(u=e.contentLength),u===0&&!d&&(u=null),q7(r)&&u>0&&e.contentLength!==null&&e.contentLength!==u){if(t[JE])return pe.errorRequest(t,e,new wo),!1;process.emitWarning(new wo)}let m=t[Ga],C=o(S=>{e.aborted||e.completed||(pe.errorRequest(t,e,S||new LD),pe.destroy(l),pe.destroy(m,new ja("aborted")))},"abort");try{e.onConnect(C)}catch(S){pe.errorRequest(t,e,S)}if(e.aborted)return!1;r==="HEAD"&&(m[Ir]=!0),(s||r==="CONNECT")&&(m[Ir]=!0),c!=null&&(m[Ir]=c),t[TD]&&m[P7]++>=t[TD]&&(m[Ir]=!0),a&&(m[IA]=!0);let Q=`${r} ${n} HTTP/1.1\r
`;if(typeof i=="string"?Q+=`host: ${i}\r
`:Q+=t[N7],s?Q+=`connection: upgrade\r
upgrade: ${s}\r
`:t[up]&&!m[Ir]?Q+=`connection: keep-alive\r
`:Q+=`connection: close\r
`,Array.isArray(A))for(let S=0;S<A.length;S+=2){let w=A[S+0],R=A[S+1];if(Array.isArray(R))for(let T=0;T<R.length;T++)Q+=`${w}: ${R[T]}\r
`;else Q+=`${w}: ${R}\r
`}return PD.sendHeaders.hasSubscribers&&PD.sendHeaders.publish({request:e,headers:Q,socket:m}),!l||f===0?MD(C,null,t,e,m,u,Q,d):pe.isBuffer(l)?MD(C,l,t,e,m,u,Q,d):pe.isBlobLike(l)?typeof l.stream=="function"?kD(C,l.stream(),t,e,m,u,Q,d):j7(C,l,t,e,m,u,Q,d):pe.isStream(l)?z7(C,l,t,e,m,u,Q,d):pe.isIterable(l)?kD(C,l,t,e,m,u,Q,d):oe(!1),!0}o(H7,"writeH1");function z7(t,e,r,n,i,s,a,c){oe(s!==0||r[er]===0,"stream body cannot be pipelined");let l=!1,A=new fp({abort:t,socket:i,request:n,contentLength:s,client:r,expectsPayload:c,header:a}),u=o(function(C){if(!l)try{!A.write(C)&&this.pause&&this.pause()}catch(Q){pe.destroy(this,Q)}},"onData"),d=o(function(){l||e.resume&&e.resume()},"onDrain"),f=o(function(){if(queueMicrotask(()=>{e.removeListener("error",m)}),!l){let C=new LD;queueMicrotask(()=>m(C))}},"onClose"),m=o(function(C){if(!l){if(l=!0,oe(i.destroyed||i[ws]&&r[er]<=1),i.off("drain",d).off("error",m),e.removeListener("data",u).removeListener("end",m).removeListener("close",f),!C)try{A.end()}catch(Q){C=Q}A.destroy(C),C&&(C.code!=="UND_ERR_INFO"||C.message!=="reset")?pe.destroy(e,C):pe.destroy(e)}},"onFinished");e.on("data",u).on("end",m).on("error",m).on("close",f),e.resume&&e.resume(),i.on("drain",d).on("error",m),e.errorEmitted??e.errored?setImmediate(()=>m(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>m(null)),(e.closeEmitted??e.closed)&&setImmediate(f)}o(z7,"writeStream");function MD(t,e,r,n,i,s,a,c){try{e?pe.isBuffer(e)&&(oe(s===e.byteLength,"buffer body must have content length"),i.cork(),i.write(`${a}content-length: ${s}\r
\r
`,"latin1"),i.write(e),i.uncork(),n.onBodySent(e),!c&&n.reset!==!1&&(i[Ir]=!0)):s===0?i.write(`${a}content-length: 0\r
\r
`,"latin1"):(oe(s===null,"no body must not have content length"),i.write(`${a}\r
`,"latin1")),n.onRequestSent(),r[Qs]()}catch(l){t(l)}}o(MD,"writeBuffer");async function j7(t,e,r,n,i,s,a,c){oe(s===e.size,"blob body must have content length");try{if(s!=null&&s!==e.size)throw new wo;let l=Buffer.from(await e.arrayBuffer());i.cork(),i.write(`${a}content-length: ${s}\r
\r
`,"latin1"),i.write(l),i.uncork(),n.onBodySent(l),n.onRequestSent(),!c&&n.reset!==!1&&(i[Ir]=!0),r[Qs]()}catch(l){t(l)}}o(j7,"writeBlob");async function kD(t,e,r,n,i,s,a,c){oe(s!==0||r[er]===0,"iterator body cannot be pipelined");let l=null;function A(){if(l){let f=l;l=null,f()}}o(A,"onDrain");let u=o(()=>new Promise((f,m)=>{oe(l===null),i[hn]?m(i[hn]):l=f}),"waitForDrain");i.on("close",A).on("drain",A);let d=new fp({abort:t,socket:i,request:n,contentLength:s,client:r,expectsPayload:c,header:a});try{for await(let f of e){if(i[hn])throw i[hn];d.write(f)||await u()}d.end()}catch(f){d.destroy(f)}finally{i.off("close",A).off("drain",A)}}o(kD,"writeIterable");var fp=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:n,contentLength:i,client:s,expectsPayload:a,header:c}){this.socket=r,this.request=n,this.contentLength=i,this.client=s,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[ws]=!0}write(e){let{socket:r,request:n,contentLength:i,client:s,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[hn])throw r[hn];if(r.destroyed)return!1;let A=Buffer.byteLength(e);if(!A)return!0;if(i!==null&&a+A>i){if(s[JE])throw new wo;process.emitWarning(new wo)}r.cork(),a===0&&(!c&&n.reset!==!1&&(r[Ir]=!0),i===null?r.write(`${l}transfer-encoding: chunked\r
`,"latin1"):r.write(`${l}content-length: ${i}\r
\r
`,"latin1")),i===null&&r.write(`\r
${A.toString(16)}\r
`,"latin1"),this.bytesWritten+=A;let u=r.write(e);return r.uncork(),n.onBodySent(e),u||r[ht].timeout&&r[ht].timeoutType===Ya&&r[ht].timeout.refresh&&r[ht].timeout.refresh(),u}end(){let{socket:e,contentLength:r,client:n,bytesWritten:i,expectsPayload:s,header:a,request:c}=this;if(c.onRequestSent(),e[ws]=!1,e[hn])throw e[hn];if(!e.destroyed){if(i===0?s?e.write(`${a}content-length: 0\r
\r
`,"latin1"):e.write(`${a}\r
`,"latin1"):r===null&&e.write(`\r
0\r
\r
`,"latin1"),r!==null&&i!==r){if(n[JE])throw new wo;process.emitWarning(new wo)}e[ht].timeout&&e[ht].timeoutType===Ya&&e[ht].timeout.refresh&&e[ht].timeout.refresh(),n[Qs]()}}destroy(e){let{socket:r,client:n,abort:i}=this;r[ws]=!1,e&&(oe(n[er]<=1,"pipeline should only contain this request"),i(e))}};qD.exports=U7});var $D=g((G2e,WD)=>{"use strict";var fn=require("node:assert"),{pipeline:G7}=require("node:stream"),we=Ee(),{RequestContentLengthMismatchError:KE,RequestAbortedError:zD,SocketError:bA,InformationalError:XE}=Pe(),{kUrl:mp,kReset:yp,kClient:Ja,kRunning:Cp,kPending:Y7,kQueue:Ns,kPendingIdx:ZE,kRunningIdx:zn,kError:Gn,kSocket:qt,kStrictContentLength:J7,kOnError:eB,kMaxConcurrentStreams:VD,kHTTP2Session:jn,kResume:xs,kSize:V7,kHTTPContext:W7}=nt(),es=Symbol("open streams"),jD,GD=!1,gp;try{gp=require("node:http2")}catch{gp={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:$7,HTTP2_HEADER_METHOD:K7,HTTP2_HEADER_PATH:X7,HTTP2_HEADER_SCHEME:Z7,HTTP2_HEADER_CONTENT_LENGTH:eee,HTTP2_HEADER_EXPECT:tee,HTTP2_HEADER_STATUS:ree}}=gp;function nee(t){let e=[];for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let i of n)e.push(Buffer.from(r),Buffer.from(i));else e.push(Buffer.from(r),Buffer.from(n));return e}o(nee,"parseH2Headers");async function iee(t,e){t[qt]=e,GD||(GD=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=gp.connect(t[mp],{createConnection:()=>e,peerMaxConcurrentStreams:t[VD]});r[es]=0,r[Ja]=t,r[qt]=e,we.addListener(r,"error",oee),we.addListener(r,"frameError",aee),we.addListener(r,"end",cee),we.addListener(r,"goaway",lee),we.addListener(r,"close",function(){let{[Ja]:i}=this,{[qt]:s}=i,a=this[qt][Gn]||this[Gn]||new bA("closed",we.getSocketInfo(s));if(i[jn]=null,i.destroyed){fn(i[Y7]===0);let c=i[Ns].splice(i[zn]);for(let l=0;l<c.length;l++){let A=c[l];we.errorRequest(i,A,a)}}}),r.unref(),t[jn]=r,e[jn]=r,we.addListener(e,"error",function(i){fn(i.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Gn]=i,this[Ja][eB](i)}),we.addListener(e,"end",function(){we.destroy(this,new bA("other side closed",we.getSocketInfo(this)))}),we.addListener(e,"close",function(){let i=this[Gn]||new bA("closed",we.getSocketInfo(this));t[qt]=null,this[jn]!=null&&this[jn].destroy(i),t[ZE]=t[zn],fn(t[Cp]===0),t.emit("disconnect",t[mp],[t],i),t[xs]()});let n=!1;return e.on("close",()=>{n=!0}),{version:"h2",defaultPipelining:1/0,write(...i){return uee(t,...i)},resume(){see(t)},destroy(i,s){n?queueMicrotask(s):e.destroy(i).on("close",s)},get destroyed(){return e.destroyed},busy(){return!1}}}o(iee,"connectH2");function see(t){let e=t[qt];e?.destroyed===!1&&(t[V7]===0&&t[VD]===0?(e.unref(),t[jn].unref()):(e.ref(),t[jn].ref()))}o(see,"resumeH2");function oee(t){fn(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[qt][Gn]=t,this[Ja][eB](t)}o(oee,"onHttp2SessionError");function aee(t,e,r){if(r===0){let n=new XE(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[qt][Gn]=n,this[Ja][eB](n)}}o(aee,"onHttp2FrameError");function cee(){let t=new bA("other side closed",we.getSocketInfo(this[qt]));this.destroy(t),we.destroy(this[qt],t)}o(cee,"onHttp2SessionEnd");function lee(t){let e=this[Gn]||new bA(`HTTP/2: "GOAWAY" frame received with code ${t}`,we.getSocketInfo(this)),r=this[Ja];if(r[qt]=null,r[W7]=null,this[jn]!=null&&(this[jn].destroy(e),this[jn]=null),we.destroy(this[qt],e),r[zn]<r[Ns].length){let n=r[Ns][r[zn]];r[Ns][r[zn]++]=null,we.errorRequest(r,n,e),r[ZE]=r[zn]}fn(r[Cp]===0),r.emit("disconnect",r[mp],[r],e),r[xs]()}o(lee,"onHTTP2GoAway");function Aee(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(Aee,"shouldSendContentLength");function uee(t,e){let r=t[jn],{method:n,path:i,host:s,upgrade:a,expectContinue:c,signal:l,headers:A}=e,{body:u}=e;if(a)return we.errorRequest(t,e,new Error("Upgrade not supported for H2")),!1;let d={};for(let L=0;L<A.length;L+=2){let W=A[L+0],de=A[L+1];if(Array.isArray(de))for(let le=0;le<de.length;le++)d[W]?d[W]+=`,${de[le]}`:d[W]=de[le];else d[W]=de}let f,{hostname:m,port:C}=t[mp];d[$7]=s||`${m}${C?`:${C}`:""}`,d[K7]=n;let Q=o(L=>{e.aborted||e.completed||(L=L||new zD,we.errorRequest(t,e,L),f!=null&&we.destroy(f,L),we.destroy(u,L),t[Ns][t[zn]++]=null,t[xs]())},"abort");try{e.onConnect(Q)}catch(L){we.errorRequest(t,e,L)}if(e.aborted)return!1;if(n==="CONNECT")return r.ref(),f=r.request(d,{endStream:!1,signal:l}),f.id&&!f.pending?(e.onUpgrade(null,null,f),++r[es],t[Ns][t[zn]++]=null):f.once("ready",()=>{e.onUpgrade(null,null,f),++r[es],t[Ns][t[zn]++]=null}),f.once("close",()=>{r[es]-=1,r[es]===0&&r.unref()}),!0;d[X7]=i,d[Z7]="https";let S=n==="PUT"||n==="POST"||n==="PATCH";u&&typeof u.read=="function"&&u.read(0);let w=we.bodyLength(u);if(we.isFormDataLike(u)){jD??=za().extractBody;let[L,W]=jD(u);d["content-type"]=W,u=L.stream,w=L.length}if(w==null&&(w=e.contentLength),(w===0||!S)&&(w=null),Aee(n)&&w>0&&e.contentLength!=null&&e.contentLength!==w){if(t[J7])return we.errorRequest(t,e,new KE),!1;process.emitWarning(new KE)}w!=null&&(fn(u,"no body must not have content length"),d[eee]=`${w}`),r.ref();let R=n==="GET"||n==="HEAD"||u===null;return c?(d[tee]="100-continue",f=r.request(d,{endStream:R,signal:l}),f.once("continue",T)):(f=r.request(d,{endStream:R,signal:l}),T()),++r[es],f.once("response",L=>{let{[ree]:W,...de}=L;if(e.onResponseStarted(),e.aborted){let le=new zD;we.errorRequest(t,e,le),we.destroy(f,le);return}e.onHeaders(Number(W),nee(de),f.resume.bind(f),"")===!1&&f.pause(),f.on("data",le=>{e.onData(le)===!1&&f.pause()})}),f.once("end",()=>{(f.state?.state==null||f.state.state<6)&&e.onComplete([]),r[es]===0&&r.unref(),Q(new XE("HTTP/2: stream half-closed (remote)")),t[Ns][t[zn]++]=null,t[ZE]=t[zn],t[xs]()}),f.once("close",()=>{r[es]-=1,r[es]===0&&r.unref()}),f.once("error",function(L){Q(L)}),f.once("frameError",(L,W)=>{Q(new XE(`HTTP/2: "frameError" received - type ${L}, code ${W}`))}),!0;function T(){!u||w===0?YD(Q,f,null,t,e,t[qt],w,S):we.isBuffer(u)?YD(Q,f,u,t,e,t[qt],w,S):we.isBlobLike(u)?typeof u.stream=="function"?JD(Q,f,u.stream(),t,e,t[qt],w,S):pee(Q,f,u,t,e,t[qt],w,S):we.isStream(u)?dee(Q,t[qt],S,f,u,t,e,w):we.isIterable(u)?JD(Q,f,u,t,e,t[qt],w,S):fn(!1)}o(T,"writeBodyH2")}o(uee,"writeH2");function YD(t,e,r,n,i,s,a,c){try{r!=null&&we.isBuffer(r)&&(fn(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),i.onBodySent(r)),c||(s[yp]=!0),i.onRequestSent(),n[xs]()}catch(l){t(l)}}o(YD,"writeBuffer");function dee(t,e,r,n,i,s,a,c){fn(c!==0||s[Cp]===0,"stream body cannot be pipelined");let l=G7(i,n,u=>{u?(we.destroy(l,u),t(u)):(we.removeAllListeners(l),a.onRequestSent(),r||(e[yp]=!0),s[xs]())});we.addListener(l,"data",A);function A(u){a.onBodySent(u)}o(A,"onPipeData")}o(dee,"writeStream");async function pee(t,e,r,n,i,s,a,c){fn(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new KE;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),i.onBodySent(l),i.onRequestSent(),c||(s[yp]=!0),n[xs]()}catch(l){t(l)}}o(pee,"writeBlob");async function JD(t,e,r,n,i,s,a,c){fn(a!==0||n[Cp]===0,"iterator body cannot be pipelined");let l=null;function A(){if(l){let d=l;l=null,d()}}o(A,"onDrain");let u=o(()=>new Promise((d,f)=>{fn(l===null),s[Gn]?f(s[Gn]):l=d}),"waitForDrain");e.on("close",A).on("drain",A);try{for await(let d of r){if(s[Gn])throw s[Gn];let f=e.write(d);i.onBodySent(d),f||await u()}e.end(),i.onRequestSent(),c||(s[yp]=!0),n[xs]()}catch(d){t(d)}finally{e.off("close",A).off("drain",A)}}o(JD,"writeIterable");WD.exports=iee});var Bp=g((J2e,ZD)=>{"use strict";var yi=Ee(),{kBodyUsed:QA}=nt(),rB=require("node:assert"),{InvalidArgumentError:hee}=Pe(),fee=require("node:events"),mee=[300,301,302,303,307,308],KD=Symbol("body"),Ep=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[KD]=e,this[QA]=!1}async*[Symbol.asyncIterator](){rB(!this[QA],"disturbed"),this[QA]=!0,yield*this[KD]}},tB=class{static{o(this,"RedirectHandler")}constructor(e,r,n,i){if(r!=null&&(!Number.isInteger(r)||r<0))throw new hee("maxRedirections must be a positive number");yi.validateHandler(i,n.method,n.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...n,maxRedirections:0},this.maxRedirections=r,this.handler=i,this.history=[],this.redirectionLimitReached=!1,yi.isStream(this.opts.body)?(yi.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){rB(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[QA]=!1,fee.prototype.on.call(this.opts.body,"data",function(){this[QA]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new Ep(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&yi.isIterable(this.opts.body)&&(this.opts.body=new Ep(this.opts.body))}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,r,n){this.handler.onUpgrade(e,r,n)}onError(e){this.handler.onError(e)}onHeaders(e,r,n,i){if(this.location=this.history.length>=this.maxRedirections||yi.isDisturbed(this.opts.body)?null:gee(e,r),this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){this.request&&this.request.abort(new Error("max redirects")),this.redirectionLimitReached=!0,this.abort(new Error("max redirects"));return}if(this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return this.handler.onHeaders(e,r,n,i);let{origin:s,pathname:a,search:c}=yi.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=yee(this.opts.headers,e===303,this.opts.origin!==s),this.opts.path=l,this.opts.origin=s,this.opts.maxRedirections=0,this.opts.query=null,e===303&&this.opts.method!=="HEAD"&&(this.opts.method="GET",this.opts.body=null)}onData(e){if(!this.location)return this.handler.onData(e)}onComplete(e){this.location?(this.location=null,this.abort=null,this.dispatch(this.opts,this)):this.handler.onComplete(e)}onBodySent(e){this.handler.onBodySent&&this.handler.onBodySent(e)}};function gee(t,e){if(mee.indexOf(t)===-1)return null;for(let r=0;r<e.length;r+=2)if(e[r].length===8&&yi.headerNameToString(e[r])==="location")return e[r+1]}o(gee,"parseLocation");function XD(t,e,r){if(t.length===4)return yi.headerNameToString(t)==="host";if(e&&yi.headerNameToString(t).startsWith("content-"))return!0;if(r&&(t.length===13||t.length===6||t.length===19)){let n=yi.headerNameToString(t);return n==="authorization"||n==="cookie"||n==="proxy-authorization"}return!1}o(XD,"shouldRemoveHeader");function yee(t,e,r){let n=[];if(Array.isArray(t))for(let i=0;i<t.length;i+=2)XD(t[i],e,r)||n.push(t[i],t[i+1]);else if(t&&typeof t=="object")for(let i of Object.keys(t))XD(i,e,r)||n.push(i,t[i]);else rB(t==null,"headers must be an object or an array");return n}o(yee,"cleanRequestHeaders");ZD.exports=tB});var Ip=g((W2e,eT)=>{"use strict";var Cee=Bp();function Eee({maxRedirections:t}){return e=>o(function(n,i){let{maxRedirections:s=t}=n;if(!s)return e(n,i);let a=new Cee(e,s,n,i);return n={...n,maxRedirections:0},e(n,a)},"Intercept")}o(Eee,"createRedirectInterceptor");eT.exports=Eee});var $a=g((K2e,AT)=>{"use strict";var ts=require("node:assert"),oT=require("node:net"),Bee=require("node:http"),No=Ee(),{channels:Va}=_a(),Iee=fP(),bee=Ta(),{InvalidArgumentError:Qt,InformationalError:Qee,ClientDestroyedError:wee}=Pe(),Nee=uA(),{kUrl:Ci,kServerName:Ss,kClient:xee,kBusy:nB,kConnect:See,kResuming:xo,kRunning:RA,kPending:_A,kSize:SA,kQueue:Yn,kConnected:Ree,kConnecting:Wa,kNeedDrain:_s,kKeepAliveDefaultTimeout:tT,kHostHeader:_ee,kPendingIdx:Jn,kRunningIdx:rs,kError:vee,kPipelining:bp,kKeepAliveTimeoutValue:Pee,kMaxHeadersSize:Dee,kKeepAliveMaxTimeout:Tee,kKeepAliveTimeoutThreshold:Oee,kHeadersTimeout:Mee,kBodyTimeout:kee,kStrictContentLength:Lee,kConnector:wA,kMaxRedirections:Uee,kMaxRequests:iB,kCounter:Fee,kClose:qee,kDestroy:Hee,kDispatch:zee,kInterceptors:rT,kLocalAddress:NA,kMaxResponseSize:jee,kOnError:Gee,kHTTPContext:wt,kMaxConcurrentStreams:Yee,kResume:xA}=nt(),Jee=HD(),Vee=$D(),nT=!1,Rs=Symbol("kClosedResolve"),iT=o(()=>{},"noop");function aT(t){return t[bp]??t[wt]?.defaultPipelining??1}o(aT,"getPipelining");var sB=class extends bee{static{o(this,"Client")}constructor(e,{interceptors:r,maxHeaderSize:n,headersTimeout:i,socketTimeout:s,requestTimeout:a,connectTimeout:c,bodyTimeout:l,idleTimeout:A,keepAlive:u,keepAliveTimeout:d,maxKeepAliveTimeout:f,keepAliveMaxTimeout:m,keepAliveTimeoutThreshold:C,socketPath:Q,pipelining:S,tls:w,strictContentLength:R,maxCachedSessions:T,maxRedirections:L,connect:W,maxRequestsPerClient:de,localAddress:le,maxResponseSize:Te,autoSelectFamily:Oe,autoSelectFamilyAttemptTimeout:He,maxConcurrentStreams:Xe,allowH2:fe}={}){if(super(),u!==void 0)throw new Qt("unsupported keepAlive, use pipelining=0 instead");if(s!==void 0)throw new Qt("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new Qt("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(A!==void 0)throw new Qt("unsupported idleTimeout, use keepAliveTimeout instead");if(f!==void 0)throw new Qt("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(n!=null&&!Number.isFinite(n))throw new Qt("invalid maxHeaderSize");if(Q!=null&&typeof Q!="string")throw new Qt("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new Qt("invalid connectTimeout");if(d!=null&&(!Number.isFinite(d)||d<=0))throw new Qt("invalid keepAliveTimeout");if(m!=null&&(!Number.isFinite(m)||m<=0))throw new Qt("invalid keepAliveMaxTimeout");if(C!=null&&!Number.isFinite(C))throw new Qt("invalid keepAliveTimeoutThreshold");if(i!=null&&(!Number.isInteger(i)||i<0))throw new Qt("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new Qt("bodyTimeout must be a positive integer or zero");if(W!=null&&typeof W!="function"&&typeof W!="object")throw new Qt("connect must be a function or an object");if(L!=null&&(!Number.isInteger(L)||L<0))throw new Qt("maxRedirections must be a positive number");if(de!=null&&(!Number.isInteger(de)||de<0))throw new Qt("maxRequestsPerClient must be a positive number");if(le!=null&&(typeof le!="string"||oT.isIP(le)===0))throw new Qt("localAddress must be valid string IP address");if(Te!=null&&(!Number.isInteger(Te)||Te<-1))throw new Qt("maxResponseSize must be a positive number");if(He!=null&&(!Number.isInteger(He)||He<-1))throw new Qt("autoSelectFamilyAttemptTimeout must be a positive number");if(fe!=null&&typeof fe!="boolean")throw new Qt("allowH2 must be a valid boolean value");if(Xe!=null&&(typeof Xe!="number"||Xe<1))throw new Qt("maxConcurrentStreams must be a positive integer, greater than 0");typeof W!="function"&&(W=Nee({...w,maxCachedSessions:T,allowH2:fe,socketPath:Q,timeout:c,...Oe?{autoSelectFamily:Oe,autoSelectFamilyAttemptTimeout:He}:void 0,...W})),r?.Client&&Array.isArray(r.Client)?(this[rT]=r.Client,nT||(nT=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[rT]=[Wee({maxRedirections:L})],this[Ci]=No.parseOrigin(e),this[wA]=W,this[bp]=S??1,this[Dee]=n||Bee.maxHeaderSize,this[tT]=d??4e3,this[Tee]=m??6e5,this[Oee]=C??2e3,this[Pee]=this[tT],this[Ss]=null,this[NA]=le??null,this[xo]=0,this[_s]=0,this[_ee]=`host: ${this[Ci].hostname}${this[Ci].port?`:${this[Ci].port}`:""}\r
`,this[kee]=l??3e5,this[Mee]=i??3e5,this[Lee]=R??!0,this[Uee]=L,this[iB]=de,this[Rs]=null,this[jee]=Te>-1?Te:-1,this[Yee]=Xe??100,this[wt]=null,this[Yn]=[],this[rs]=0,this[Jn]=0,this[xA]=Ge=>oB(this,Ge),this[Gee]=Ge=>cT(this,Ge)}get pipelining(){return this[bp]}set pipelining(e){this[bp]=e,this[xA](!0)}get[_A](){return this[Yn].length-this[Jn]}get[RA](){return this[Jn]-this[rs]}get[SA](){return this[Yn].length-this[rs]}get[Ree](){return!!this[wt]&&!this[Wa]&&!this[wt].destroyed}get[nB](){return!!(this[wt]?.busy(null)||this[SA]>=(aT(this)||1)||this[_A]>0)}[See](e){lT(this),this.once("connect",e)}[zee](e,r){let n=e.origin||this[Ci].origin,i=new Iee(n,e,r);return this[Yn].push(i),this[xo]||(No.bodyLength(i.body)==null&&No.isIterable(i.body)?(this[xo]=1,queueMicrotask(()=>oB(this))):this[xA](!0)),this[xo]&&this[_s]!==2&&this[nB]&&(this[_s]=2),this[_s]<2}async[qee](){return new Promise(e=>{this[SA]?this[Rs]=e:e(null)})}async[Hee](e){return new Promise(r=>{let n=this[Yn].splice(this[Jn]);for(let s=0;s<n.length;s++){let a=n[s];No.errorRequest(this,a,e)}let i=o(()=>{this[Rs]&&(this[Rs](),this[Rs]=null),r(null)},"callback");this[wt]?(this[wt].destroy(e,i),this[wt]=null):queueMicrotask(i),this[xA]()})}},Wee=Ip();function cT(t,e){if(t[RA]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){ts(t[Jn]===t[rs]);let r=t[Yn].splice(t[rs]);for(let n=0;n<r.length;n++){let i=r[n];No.errorRequest(t,i,e)}ts(t[SA]===0)}}o(cT,"onError");async function lT(t){ts(!t[Wa]),ts(!t[wt]);let{host:e,hostname:r,protocol:n,port:i}=t[Ci];if(r[0]==="["){let s=r.indexOf("]");ts(s!==-1);let a=r.substring(1,s);ts(oT.isIP(a)),r=a}t[Wa]=!0,Va.beforeConnect.hasSubscribers&&Va.beforeConnect.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[wt]?.version,servername:t[Ss],localAddress:t[NA]},connector:t[wA]});try{let s=await new Promise((a,c)=>{t[wA]({host:e,hostname:r,protocol:n,port:i,servername:t[Ss],localAddress:t[NA]},(l,A)=>{l?c(l):a(A)})});if(t.destroyed){No.destroy(s.on("error",iT),new wee);return}ts(s);try{t[wt]=s.alpnProtocol==="h2"?await Vee(t,s):await Jee(t,s)}catch(a){throw s.destroy().on("error",iT),a}t[Wa]=!1,s[Fee]=0,s[iB]=t[iB],s[xee]=t,s[vee]=null,Va.connected.hasSubscribers&&Va.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[wt]?.version,servername:t[Ss],localAddress:t[NA]},connector:t[wA],socket:s}),t.emit("connect",t[Ci],[t])}catch(s){if(t.destroyed)return;if(t[Wa]=!1,Va.connectError.hasSubscribers&&Va.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:i,version:t[wt]?.version,servername:t[Ss],localAddress:t[NA]},connector:t[wA],error:s}),s.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(ts(t[RA]===0);t[_A]>0&&t[Yn][t[Jn]].servername===t[Ss];){let a=t[Yn][t[Jn]++];No.errorRequest(t,a,s)}else cT(t,s);t.emit("connectionError",t[Ci],[t],s)}t[xA]()}o(lT,"connect");function sT(t){t[_s]=0,t.emit("drain",t[Ci],[t])}o(sT,"emitDrain");function oB(t,e){t[xo]!==2&&(t[xo]=2,$ee(t,e),t[xo]=0,t[rs]>256&&(t[Yn].splice(0,t[rs]),t[Jn]-=t[rs],t[rs]=0))}o(oB,"resume");function $ee(t,e){for(;;){if(t.destroyed){ts(t[_A]===0);return}if(t[Rs]&&!t[SA]){t[Rs](),t[Rs]=null;return}if(t[wt]&&t[wt].resume(),t[nB])t[_s]=2;else if(t[_s]===2){e?(t[_s]=1,queueMicrotask(()=>sT(t))):sT(t);continue}if(t[_A]===0||t[RA]>=(aT(t)||1))return;let r=t[Yn][t[Jn]];if(t[Ci].protocol==="https:"&&t[Ss]!==r.servername){if(t[RA]>0)return;t[Ss]=r.servername,t[wt]?.destroy(new Qee("servername changed"),()=>{t[wt]=null,oB(t)})}if(t[Wa])return;if(!t[wt]){lT(t);return}if(t[wt].destroyed||t[wt].busy(r))return;!r.aborted&&t[wt].write(r)?t[Jn]++:t[Yn].splice(t[Jn],1)}}o($ee,"_resume");AT.exports=sB});var aB=g((eze,uT)=>{"use strict";var Qp=class{static{o(this,"FixedCircularBuffer")}constructor(){this.bottom=0,this.top=0,this.list=new Array(2048),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}};uT.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new Qp}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new Qp),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var pT=g((rze,dT)=>{var{kFree:Kee,kConnected:Xee,kPending:Zee,kQueued:ete,kRunning:tte,kSize:rte}=nt(),So=Symbol("pool"),cB=class{static{o(this,"PoolStats")}constructor(e){this[So]=e}get connected(){return this[So][Xee]}get free(){return this[So][Kee]}get pending(){return this[So][Zee]}get queued(){return this[So][ete]}get running(){return this[So][tte]}get size(){return this[So][rte]}};dT.exports=cB});var hB=g((ize,bT)=>{"use strict";var nte=Ta(),ite=aB(),{kConnected:lB,kSize:hT,kRunning:fT,kPending:mT,kQueued:vA,kBusy:ste,kFree:ote,kUrl:ate,kClose:cte,kDestroy:lte,kDispatch:Ate}=nt(),ute=pT(),br=Symbol("clients"),pr=Symbol("needDrain"),PA=Symbol("queue"),AB=Symbol("closed resolve"),uB=Symbol("onDrain"),gT=Symbol("onConnect"),yT=Symbol("onDisconnect"),CT=Symbol("onConnectionError"),dB=Symbol("get dispatcher"),BT=Symbol("add client"),IT=Symbol("remove client"),ET=Symbol("stats"),pB=class extends nte{static{o(this,"PoolBase")}constructor(){super(),this[PA]=new ite,this[br]=[],this[vA]=0;let e=this;this[uB]=o(function(n,i){let s=e[PA],a=!1;for(;!a;){let c=s.shift();if(!c)break;e[vA]--,a=!this.dispatch(c.opts,c.handler)}this[pr]=a,!this[pr]&&e[pr]&&(e[pr]=!1,e.emit("drain",n,[e,...i])),e[AB]&&s.isEmpty()&&Promise.all(e[br].map(c=>c.close())).then(e[AB])},"onDrain"),this[gT]=(r,n)=>{e.emit("connect",r,[e,...n])},this[yT]=(r,n,i)=>{e.emit("disconnect",r,[e,...n],i)},this[CT]=(r,n,i)=>{e.emit("connectionError",r,[e,...n],i)},this[ET]=new ute(this)}get[ste](){return this[pr]}get[lB](){return this[br].filter(e=>e[lB]).length}get[ote](){return this[br].filter(e=>e[lB]&&!e[pr]).length}get[mT](){let e=this[vA];for(let{[mT]:r}of this[br])e+=r;return e}get[fT](){let e=0;for(let{[fT]:r}of this[br])e+=r;return e}get[hT](){let e=this[vA];for(let{[hT]:r}of this[br])e+=r;return e}get stats(){return this[ET]}async[cte](){this[PA].isEmpty()?await Promise.all(this[br].map(e=>e.close())):await new Promise(e=>{this[AB]=e})}async[lte](e){for(;;){let r=this[PA].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[br].map(r=>r.destroy(e)))}[Ate](e,r){let n=this[dB]();return n?n.dispatch(e,r)||(n[pr]=!0,this[pr]=!this[dB]()):(this[pr]=!0,this[PA].push({opts:e,handler:r}),this[vA]++),!this[pr]}[BT](e){return e.on("drain",this[uB]).on("connect",this[gT]).on("disconnect",this[yT]).on("connectionError",this[CT]),this[br].push(e),this[pr]&&queueMicrotask(()=>{this[pr]&&this[uB](e[ate],[this,e])}),this}[IT](e){e.close(()=>{let r=this[br].indexOf(e);r!==-1&&this[br].splice(r,1)}),this[pr]=this[br].some(r=>!r[pr]&&r.closed!==!0&&r.destroyed!==!0)}};bT.exports={PoolBase:pB,kClients:br,kNeedDrain:pr,kAddClient:BT,kRemoveClient:IT,kGetDispatcher:dB}});var Ka=g((oze,xT)=>{"use strict";var{PoolBase:dte,kClients:wp,kNeedDrain:pte,kAddClient:hte,kGetDispatcher:fte}=hB(),mte=$a(),{InvalidArgumentError:fB}=Pe(),QT=Ee(),{kUrl:wT,kInterceptors:gte}=nt(),yte=uA(),mB=Symbol("options"),gB=Symbol("connections"),NT=Symbol("factory");function Cte(t,e){return new mte(t,e)}o(Cte,"defaultFactory");var yB=class extends dte{static{o(this,"Pool")}constructor(e,{connections:r,factory:n=Cte,connect:i,connectTimeout:s,tls:a,maxCachedSessions:c,socketPath:l,autoSelectFamily:A,autoSelectFamilyAttemptTimeout:u,allowH2:d,...f}={}){if(super(),r!=null&&(!Number.isFinite(r)||r<0))throw new fB("invalid connections");if(typeof n!="function")throw new fB("factory must be a function.");if(i!=null&&typeof i!="function"&&typeof i!="object")throw new fB("connect must be a function or an object");typeof i!="function"&&(i=yte({...a,maxCachedSessions:c,allowH2:d,socketPath:l,timeout:s,...A?{autoSelectFamily:A,autoSelectFamilyAttemptTimeout:u}:void 0,...i})),this[gte]=f.interceptors?.Pool&&Array.isArray(f.interceptors.Pool)?f.interceptors.Pool:[],this[gB]=r||null,this[wT]=QT.parseOrigin(e),this[mB]={...QT.deepClone(f),connect:i,allowH2:d},this[mB].interceptors=f.interceptors?{...f.interceptors}:void 0,this[NT]=n,this.on("connectionError",(m,C,Q)=>{for(let S of C){let w=this[wp].indexOf(S);w!==-1&&this[wp].splice(w,1)}})}[fte](){for(let e of this[wp])if(!e[pte])return e;if(!this[gB]||this[wp].length<this[gB]){let e=this[NT](this[wT],this[mB]);return this[hte](e),e}}};xT.exports=yB});var PT=g((cze,vT)=>{"use strict";var{BalancedPoolMissingUpstreamError:Ete,InvalidArgumentError:Bte}=Pe(),{PoolBase:Ite,kClients:tr,kNeedDrain:DA,kAddClient:bte,kRemoveClient:Qte,kGetDispatcher:wte}=hB(),Nte=Ka(),{kUrl:CB,kInterceptors:xte}=nt(),{parseOrigin:ST}=Ee(),RT=Symbol("factory"),Np=Symbol("options"),_T=Symbol("kGreatestCommonDivisor"),Ro=Symbol("kCurrentWeight"),_o=Symbol("kIndex"),mn=Symbol("kWeight"),xp=Symbol("kMaxWeightPerServer"),Sp=Symbol("kErrorPenalty");function Ste(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(Ste,"getGreatestCommonDivisor");function Rte(t,e){return new Nte(t,e)}o(Rte,"defaultFactory");var EB=class extends Ite{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=Rte,...n}={}){if(super(),this[Np]=n,this[_o]=-1,this[Ro]=0,this[xp]=this[Np].maxWeightPerServer||100,this[Sp]=this[Np].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new Bte("factory must be a function.");this[xte]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[RT]=r;for(let i of e)this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let r=ST(e).origin;if(this[tr].find(i=>i[CB].origin===r&&i.closed!==!0&&i.destroyed!==!0))return this;let n=this[RT](r,Object.assign({},this[Np]));this[bte](n),n.on("connect",()=>{n[mn]=Math.min(this[xp],n[mn]+this[Sp])}),n.on("connectionError",()=>{n[mn]=Math.max(1,n[mn]-this[Sp]),this._updateBalancedPoolStats()}),n.on("disconnect",(...i)=>{let s=i[2];s&&s.code==="UND_ERR_SOCKET"&&(n[mn]=Math.max(1,n[mn]-this[Sp]),this._updateBalancedPoolStats())});for(let i of this[tr])i[mn]=this[xp];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;r<this[tr].length;r++)e=Ste(this[tr][r][mn],e);this[_T]=e}removeUpstream(e){let r=ST(e).origin,n=this[tr].find(i=>i[CB].origin===r&&i.closed!==!0&&i.destroyed!==!0);return n&&this[Qte](n),this}get upstreams(){return this[tr].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[CB].origin)}[wte](){if(this[tr].length===0)throw new Ete;if(!this[tr].find(s=>!s[DA]&&s.closed!==!0&&s.destroyed!==!0)||this[tr].map(s=>s[DA]).reduce((s,a)=>s&&a,!0))return;let n=0,i=this[tr].findIndex(s=>!s[DA]);for(;n++<this[tr].length;){this[_o]=(this[_o]+1)%this[tr].length;let s=this[tr][this[_o]];if(s[mn]>this[tr][i][mn]&&!s[DA]&&(i=this[_o]),this[_o]===0&&(this[Ro]=this[Ro]-this[_T],this[Ro]<=0&&(this[Ro]=this[xp])),s[mn]>=this[Ro]&&!s[DA])return s}return this[Ro]=this[tr][i][mn],this[_o]=i,this[tr][i]}};vT.exports=EB});var Xa=g((Aze,UT)=>{"use strict";var{InvalidArgumentError:Rp}=Pe(),{kClients:vs,kRunning:DT,kClose:_te,kDestroy:vte,kDispatch:Pte,kInterceptors:Dte}=nt(),Tte=Ta(),Ote=Ka(),Mte=$a(),kte=Ee(),Lte=Ip(),TT=Symbol("onConnect"),OT=Symbol("onDisconnect"),MT=Symbol("onConnectionError"),Ute=Symbol("maxRedirections"),kT=Symbol("onDrain"),LT=Symbol("factory"),BB=Symbol("options");function Fte(t,e){return e&&e.connections===1?new Mte(t,e):new Ote(t,e)}o(Fte,"defaultFactory");var IB=class extends Tte{static{o(this,"Agent")}constructor({factory:e=Fte,maxRedirections:r=0,connect:n,...i}={}){if(super(),typeof e!="function")throw new Rp("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new Rp("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new Rp("maxRedirections must be a positive number");n&&typeof n!="function"&&(n={...n}),this[Dte]=i.interceptors?.Agent&&Array.isArray(i.interceptors.Agent)?i.interceptors.Agent:[Lte({maxRedirections:r})],this[BB]={...kte.deepClone(i),connect:n},this[BB].interceptors=i.interceptors?{...i.interceptors}:void 0,this[Ute]=r,this[LT]=e,this[vs]=new Map,this[kT]=(s,a)=>{this.emit("drain",s,[this,...a])},this[TT]=(s,a)=>{this.emit("connect",s,[this,...a])},this[OT]=(s,a,c)=>{this.emit("disconnect",s,[this,...a],c)},this[MT]=(s,a,c)=>{this.emit("connectionError",s,[this,...a],c)}}get[DT](){let e=0;for(let r of this[vs].values())e+=r[DT];return e}[Pte](e,r){let n;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))n=String(e.origin);else throw new Rp("opts.origin must be a non-empty string or URL.");let i=this[vs].get(n);return i||(i=this[LT](e.origin,this[BB]).on("drain",this[kT]).on("connect",this[TT]).on("disconnect",this[OT]).on("connectionError",this[MT]),this[vs].set(n,i)),i.dispatch(e,r)}async[_te](){let e=[];for(let r of this[vs].values())e.push(r.close());this[vs].clear(),await Promise.all(e)}async[vte](e){let r=[];for(let n of this[vs].values())r.push(n.destroy(e));this[vs].clear(),await Promise.all(r)}};UT.exports=IB});var xB=g((dze,$T)=>{"use strict";var{kProxy:bB,kClose:GT,kDestroy:YT,kDispatch:FT,kInterceptors:qte}=nt(),{URL:vo}=require("node:url"),Hte=Xa(),JT=Ka(),VT=Ta(),{InvalidArgumentError:Za,RequestAbortedError:zte,SecureProxyConnectionError:jte}=Pe(),qT=uA(),WT=$a(),_p=Symbol("proxy agent"),vp=Symbol("proxy client"),Ps=Symbol("proxy headers"),QB=Symbol("request tls settings"),HT=Symbol("proxy tls settings"),zT=Symbol("connect endpoint function"),jT=Symbol("tunnel proxy");function Gte(t){return t==="https:"?443:80}o(Gte,"defaultProtocolPort");function Yte(t,e){return new JT(t,e)}o(Yte,"defaultFactory");var Jte=o(()=>{},"noop");function Vte(t,e){return e.connections===1?new WT(t,e):new JT(t,e)}o(Vte,"defaultAgentFactory");var wB=class extends VT{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:n,factory:i}){if(super(),!e)throw new Za("Proxy URL is mandatory");this[Ps]=r,i?this.#e=i(e,{connect:n}):this.#e=new WT(e,{connect:n})}[FT](e,r){let n=r.onHeaders;r.onHeaders=function(c,l,A){if(c===407){typeof r.onError=="function"&&r.onError(new Za("Proxy Authentication Required (407)"));return}n&&n.call(this,c,l,A)};let{origin:i,path:s="/",headers:a={}}=e;if(e.path=i+s,!("host"in a)&&!("Host"in a)){let{host:c}=new vo(i);a.host=c}return e.headers={...this[Ps],...a},this.#e[FT](e,r)}async[GT](){return this.#e.close()}async[YT](e){return this.#e.destroy(e)}},NB=class extends VT{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof vo)&&!e.uri)throw new Za("Proxy uri is mandatory");let{clientFactory:r=Yte}=e;if(typeof r!="function")throw new Za("Proxy opts.clientFactory must be a function.");let{proxyTunnel:n=!0}=e,i=this.#e(e),{href:s,origin:a,port:c,protocol:l,username:A,password:u,hostname:d}=i;if(this[bB]={uri:s,protocol:l},this[qte]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[QB]=e.requestTls,this[HT]=e.proxyTls,this[Ps]=e.headers||{},this[jT]=n,e.auth&&e.token)throw new Za("opts.auth cannot be used in combination with opts.token");e.auth?this[Ps]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[Ps]["proxy-authorization"]=e.token:A&&u&&(this[Ps]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(A)}:${decodeURIComponent(u)}`).toString("base64")}`);let f=qT({...e.proxyTls});this[zT]=qT({...e.requestTls});let m=e.factory||Vte,C=o((Q,S)=>{let{protocol:w}=new vo(Q);return!this[jT]&&w==="http:"&&this[bB].protocol==="http:"?new wB(this[bB].uri,{headers:this[Ps],connect:f,factory:m}):m(Q,S)},"factory");this[vp]=r(i,{connect:f}),this[_p]=new Hte({...e,factory:C,connect:async(Q,S)=>{let w=Q.host;Q.port||(w+=`:${Gte(Q.protocol)}`);try{let{socket:R,statusCode:T}=await this[vp].connect({origin:a,port:c,path:w,signal:Q.signal,headers:{...this[Ps],host:Q.host},servername:this[HT]?.servername||d});if(T!==200&&(R.on("error",Jte).destroy(),S(new zte(`Proxy response (${T}) !== 200 when HTTP Tunneling`))),Q.protocol!=="https:"){S(null,R);return}let L;this[QB]?L=this[QB].servername:L=Q.servername,this[zT]({...Q,servername:L,httpSocket:R},S)}catch(R){R.code==="ERR_TLS_CERT_ALTNAME_INVALID"?S(new jte(R)):S(R)}}})}dispatch(e,r){let n=Wte(e.headers);if($te(n),n&&!("host"in n)&&!("Host"in n)){let{host:i}=new vo(e.origin);n.host=i}return this[_p].dispatch({...e,headers:n},r)}#e(e){return typeof e=="string"?new vo(e):e instanceof vo?e:new vo(e.uri)}async[GT](){await this[_p].close(),await this[vp].close()}async[YT](){await this[_p].destroy(),await this[vp].destroy()}};function Wte(t){if(Array.isArray(t)){let e={};for(let r=0;r<t.length;r+=2)e[t[r]]=t[r+1];return e}return t}o(Wte,"buildHeaders");function $te(t){if(t&&Object.keys(t).find(r=>r.toLowerCase()==="proxy-authorization"))throw new Za("Proxy-Authorization should be sent in ProxyAgent constructor")}o($te,"throwIfProxyAuthIsSent");$T.exports=NB});var rO=g((hze,tO)=>{"use strict";var Kte=Ta(),{kClose:Xte,kDestroy:Zte,kClosed:KT,kDestroyed:XT,kDispatch:ere,kNoProxyAgent:TA,kHttpProxyAgent:Ds,kHttpsProxyAgent:Po}=nt(),ZT=xB(),tre=Xa(),rre={"http:":80,"https:":443},eO=!1,SB=class extends Kte{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#i=null;constructor(e={}){super(),this.#i=e,eO||(eO=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"}));let{httpProxy:r,httpsProxy:n,noProxy:i,...s}=e;this[TA]=new tre(s);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[Ds]=new ZT({...s,uri:a}):this[Ds]=this[TA];let c=n??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[Po]=new ZT({...s,uri:c}):this[Po]=this[Ds],this.#s()}[ere](e,r){let n=new URL(e.origin);return this.#n(n).dispatch(e,r)}async[Xte](){await this[TA].close(),this[Ds][KT]||await this[Ds].close(),this[Po][KT]||await this[Po].close()}async[Zte](e){await this[TA].destroy(e),this[Ds][XT]||await this[Ds].destroy(e),this[Po][XT]||await this[Po].destroy(e)}#n(e){let{protocol:r,host:n,port:i}=e;return n=n.replace(/:\d*$/,"").toLowerCase(),i=Number.parseInt(i,10)||rre[r]||0,this.#r(n,i)?r==="https:"?this[Po]:this[Ds]:this[TA]}#r(e,r){if(this.#o&&this.#s(),this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let n=0;n<this.#t.length;n++){let i=this.#t[n];if(!(i.port&&i.port!==r)){if(/^[.*]/.test(i.hostname)){if(e.endsWith(i.hostname.replace(/^\*/,"")))return!1}else if(e===i.hostname)return!1}}return!0}#s(){let e=this.#i.noProxy??this.#a,r=e.split(/[,\s]/),n=[];for(let i=0;i<r.length;i++){let s=r[i];if(!s)continue;let a=s.match(/^(.+):(\d+)$/);n.push({hostname:(a?a[1]:s).toLowerCase(),port:a?Number.parseInt(a[2],10):0})}this.#e=e,this.#t=n}get#o(){return this.#i.noProxy!==void 0?!1:this.#e!==this.#a}get#a(){return process.env.no_proxy??process.env.NO_PROXY??""}};tO.exports=SB});var Pp=g((mze,oO)=>{"use strict";var ec=require("node:assert"),{kRetryHandlerDefaultRetry:nO}=nt(),{RequestRetryError:OA}=Pe(),{isDisturbed:iO,parseHeaders:nre,parseRangeHeader:sO,wrapRequestBody:ire}=Ee();function sre(t){let e=Date.now();return new Date(t).getTime()-e}o(sre,"calculateRetryAfterHeader");var RB=class t{static{o(this,"RetryHandler")}constructor(e,r){let{retryOptions:n,...i}=e,{retry:s,maxRetries:a,maxTimeout:c,minTimeout:l,timeoutFactor:A,methods:u,errorCodes:d,retryAfter:f,statusCodes:m}=n??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts={...i,body:ire(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:s??t[nO],retryAfter:f??!0,maxTimeout:c??30*1e3,minTimeout:l??500,timeoutFactor:A??2,maxRetries:a??5,methods:u??["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(C=>{this.aborted=!0,this.abort?this.abort(C):this.reason=C})}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,r,n){this.handler.onUpgrade&&this.handler.onUpgrade(e,r,n)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[nO](e,{state:r,opts:n},i){let{statusCode:s,code:a,headers:c}=e,{method:l,retryOptions:A}=n,{maxRetries:u,minTimeout:d,maxTimeout:f,timeoutFactor:m,statusCodes:C,errorCodes:Q,methods:S}=A,{counter:w}=r;if(a&&a!=="UND_ERR_REQ_RETRY"&&!Q.includes(a)){i(e);return}if(Array.isArray(S)&&!S.includes(l)){i(e);return}if(s!=null&&Array.isArray(C)&&!C.includes(s)){i(e);return}if(w>u){i(e);return}let R=c?.["retry-after"];R&&(R=Number(R),R=Number.isNaN(R)?sre(R):R*1e3);let T=R>0?Math.min(R,f):Math.min(d*m**(w-1),f);setTimeout(()=>i(null),T)}onHeaders(e,r,n,i){let s=nre(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,r,n,i):(this.abort(new OA("Request failed",e,{headers:s,data:{count:this.retryCount}})),!1);if(this.resume!=null){if(this.resume=null,e!==206&&(this.start>0||e!==200))return this.abort(new OA("server does not support the range header and the payload was partially consumed",e,{headers:s,data:{count:this.retryCount}})),!1;let c=sO(s["content-range"]);if(!c)return this.abort(new OA("Content-Range mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==s.etag)return this.abort(new OA("ETag mismatch",e,{headers:s,data:{count:this.retryCount}})),!1;let{start:l,size:A,end:u=A-1}=c;return ec(this.start===l,"content-range mismatch"),ec(this.end==null||this.end===u,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(e===206){let c=sO(s["content-range"]);if(c==null)return this.handler.onHeaders(e,r,n,i);let{start:l,size:A,end:u=A-1}=c;ec(l!=null&&Number.isFinite(l),"content-range mismatch"),ec(u!=null&&Number.isFinite(u),"invalid content-length"),this.start=l,this.end=u}if(this.end==null){let c=s["content-length"];this.end=c!=null?Number(c)-1:null}return ec(Number.isFinite(this.start)),ec(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=n,this.etag=s.etag!=null?s.etag:null,this.etag!=null&&this.etag.startsWith("W/")&&(this.etag=null),this.handler.onHeaders(e,r,n,i)}let a=new OA("Request failed",e,{headers:s,data:{count:this.retryCount}});return this.abort(a),!1}onData(e){return this.start+=e.length,this.handler.onData(e)}onComplete(e){return this.retryCount=0,this.handler.onComplete(e)}onError(e){if(this.aborted||iO(this.opts.body))return this.handler.onError(e);this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},r.bind(this));function r(n){if(n!=null||this.aborted||iO(this.opts.body))return this.handler.onError(n);if(this.start!==0){let i={range:`bytes=${this.start}-${this.end??""}`};this.etag!=null&&(i["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...i}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(i){this.handler.onError(i)}}o(r,"onRetry")}};oO.exports=RB});var cO=g((yze,aO)=>{"use strict";var ore=lA(),are=Pp(),_B=class extends ore{static{o(this,"RetryAgent")}#e=null;#t=null;constructor(e,r={}){super(r),this.#e=e,this.#t=r}dispatch(e,r){let n=new are({...e,retryOptions:this.#t},{dispatch:this.#e.dispatch.bind(this.#e),handler:r});return this.#e.dispatch(e,n)}close(){return this.#e.close()}destroy(){return this.#e.destroy()}};aO.exports=_B});var MB=g((Eze,gO)=>{"use strict";var pO=require("node:assert"),{Readable:cre}=require("node:stream"),{RequestAbortedError:hO,NotSupportedError:lre,InvalidArgumentError:Are,AbortError:vB}=Pe(),fO=Ee(),{ReadableStreamFrom:ure}=Ee(),Fr=Symbol("kConsume"),MA=Symbol("kReading"),Ts=Symbol("kBody"),lO=Symbol("kAbort"),mO=Symbol("kContentType"),AO=Symbol("kContentLength"),dre=o(()=>{},"noop"),PB=class extends cre{static{o(this,"BodyReadable")}constructor({resume:e,abort:r,contentType:n="",contentLength:i,highWaterMark:s=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:s}),this._readableState.dataEmitted=!1,this[lO]=r,this[Fr]=null,this[Ts]=null,this[mO]=n,this[AO]=i,this[MA]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new hO),e&&this[lO](),super.destroy(e)}_destroy(e,r){this[MA]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[MA]=!0),super.on(e,...r)}addListener(e,...r){return this.on(e,...r)}off(e,...r){let n=super.off(e,...r);return(e==="data"||e==="readable")&&(this[MA]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(e,...r){return this.off(e,...r)}push(e){return this[Fr]&&e!==null?(TB(this[Fr],e),this[MA]?super.push(e):!0):super.push(e)}async text(){return kA(this,"text")}async json(){return kA(this,"json")}async blob(){return kA(this,"blob")}async bytes(){return kA(this,"bytes")}async arrayBuffer(){return kA(this,"arrayBuffer")}async formData(){throw new lre}get bodyUsed(){return fO.isDisturbed(this)}get body(){return this[Ts]||(this[Ts]=ure(this),this[Fr]&&(this[Ts].getReader(),pO(this[Ts].locked))),this[Ts]}async dump(e){let r=Number.isFinite(e?.limit)?e.limit:131072,n=e?.signal;if(n!=null&&(typeof n!="object"||!("aborted"in n)))throw new Are("signal must be an AbortSignal");return n?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((i,s)=>{this[AO]>r&&this.destroy(new vB);let a=o(()=>{this.destroy(n.reason??new vB)},"onAbort");n?.addEventListener("abort",a),this.on("close",function(){n?.removeEventListener("abort",a),n?.aborted?s(n.reason??new vB):i(null)}).on("error",dre).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function pre(t){return t[Ts]&&t[Ts].locked===!0||t[Fr]}o(pre,"isLocked");function hre(t){return fO.isDisturbed(t)||pre(t)}o(hre,"isUnusable");async function kA(t,e){return pO(!t[Fr]),new Promise((r,n)=>{if(hre(t)){let i=t._readableState;i.destroyed&&i.closeEmitted===!1?t.on("error",s=>{n(s)}).on("close",()=>{n(new TypeError("unusable"))}):n(i.errored??new TypeError("unusable"))}else queueMicrotask(()=>{t[Fr]={type:e,stream:t,resolve:r,reject:n,length:0,body:[]},t.on("error",function(i){OB(this[Fr],i)}).on("close",function(){this[Fr].body!==null&&OB(this[Fr],new hO)}),fre(t[Fr])})})}o(kA,"consume");function fre(t){if(t.body===null)return;let{_readableState:e}=t.stream;if(e.bufferIndex){let r=e.bufferIndex,n=e.buffer.length;for(let i=r;i<n;i++)TB(t,e.buffer[i])}else for(let r of e.buffer)TB(t,r);for(e.endEmitted?dO(this[Fr]):t.stream.on("end",function(){dO(this[Fr])}),t.stream.resume();t.stream.read()!=null;);}o(fre,"consumeStart");function DB(t,e){if(t.length===0||e===0)return"";let r=t.length===1?t[0]:Buffer.concat(t,e),n=r.length,i=n>2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(i,n)}o(DB,"chunksDecode");function uO(t,e){if(t.length===0||e===0)return new Uint8Array(0);if(t.length===1)return new Uint8Array(t[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(e).buffer),n=0;for(let i=0;i<t.length;++i){let s=t[i];r.set(s,n),n+=s.length}return r}o(uO,"chunksConcat");function dO(t){let{type:e,body:r,resolve:n,stream:i,length:s}=t;try{e==="text"?n(DB(r,s)):e==="json"?n(JSON.parse(DB(r,s))):e==="arrayBuffer"?n(uO(r,s).buffer):e==="blob"?n(new Blob(r,{type:i[mO]})):e==="bytes"&&n(uO(r,s)),OB(t)}catch(a){i.destroy(a)}}o(dO,"consumeEnd");function TB(t,e){t.length+=e.length,t.body.push(e)}o(TB,"consumePush");function OB(t,e){t.body!==null&&(e?t.reject(e):t.resolve(),t.type=null,t.stream=null,t.resolve=null,t.reject=null,t.length=0,t.body=null)}o(OB,"consumeFinish");gO.exports={Readable:PB,chunksDecode:DB}});var kB=g((Ize,IO)=>{var mre=require("node:assert"),{ResponseStatusCodeError:yO}=Pe(),{chunksDecode:CO}=MB(),gre=128*1024;async function yre({callback:t,body:e,contentType:r,statusCode:n,statusMessage:i,headers:s}){mre(e);let a=[],c=0;try{for await(let d of e)if(a.push(d),c+=d.length,c>gre){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${n}${i?`: ${i}`:""}`;if(n===204||!r||!c){queueMicrotask(()=>t(new yO(l,n,s)));return}let A=Error.stackTraceLimit;Error.stackTraceLimit=0;let u;try{EO(r)?u=JSON.parse(CO(a,c)):BO(r)&&(u=CO(a,c))}catch{}finally{Error.stackTraceLimit=A}queueMicrotask(()=>t(new yO(l,n,s,u)))}o(yre,"getResolveErrorBodyCallback");var EO=o(t=>t.length>15&&t[11]==="/"&&t[0]==="a"&&t[1]==="p"&&t[2]==="p"&&t[3]==="l"&&t[4]==="i"&&t[5]==="c"&&t[6]==="a"&&t[7]==="t"&&t[8]==="i"&&t[9]==="o"&&t[10]==="n"&&t[12]==="j"&&t[13]==="s"&&t[14]==="o"&&t[15]==="n","isContentTypeApplicationJson"),BO=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");IO.exports={getResolveErrorBodyCallback:yre,isContentTypeApplicationJson:EO,isContentTypeText:BO}});var wO=g((Qze,LB)=>{"use strict";var Cre=require("node:assert"),{Readable:Ere}=MB(),{InvalidArgumentError:tc,RequestAbortedError:bO}=Pe(),qr=Ee(),{getResolveErrorBodyCallback:Bre}=kB(),{AsyncResource:Ire}=require("node:async_hooks"),Dp=class extends Ire{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new tc("invalid opts");let{signal:n,method:i,opaque:s,body:a,onInfo:c,responseHeaders:l,throwOnError:A,highWaterMark:u}=e;try{if(typeof r!="function")throw new tc("invalid callback");if(u&&(typeof u!="number"||u<0))throw new tc("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new tc("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new tc("invalid method");if(c&&typeof c!="function")throw new tc("invalid onInfo callback");super("UNDICI_REQUEST")}catch(d){throw qr.isStream(a)&&qr.destroy(a.on("error",qr.nop),d),d}this.method=i,this.responseHeaders=l||null,this.opaque=s||null,this.callback=r,this.res=null,this.abort=null,this.body=a,this.trailers={},this.context=null,this.onInfo=c||null,this.throwOnError=A,this.highWaterMark=u,this.signal=n,this.reason=null,this.removeAbortListener=null,qr.isStream(a)&&a.on("error",d=>{this.onError(d)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new bO:this.removeAbortListener=qr.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new bO,this.res?qr.destroy(this.res.on("error",qr.nop),this.reason):this.abort&&this.abort(this.reason),this.removeAbortListener&&(this.res?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}))}onConnect(e,r){if(this.reason){e(this.reason);return}Cre(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,i){let{callback:s,opaque:a,abort:c,context:l,responseHeaders:A,highWaterMark:u}=this,d=A==="raw"?qr.parseRawHeaders(r):qr.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}let f=A==="raw"?qr.parseHeaders(r):d,m=f["content-type"],C=f["content-length"],Q=new Ere({resume:n,abort:c,contentType:m,contentLength:this.method!=="HEAD"&&C?Number(C):null,highWaterMark:u});this.removeAbortListener&&Q.on("close",this.removeAbortListener),this.callback=null,this.res=Q,s!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(Bre,null,{callback:s,body:Q,contentType:m,statusCode:e,statusMessage:i,headers:d}):this.runInAsyncScope(s,null,null,{statusCode:e,headers:d,trailers:this.trailers,opaque:a,body:Q,context:l}))}onData(e){return this.res.push(e)}onComplete(e){qr.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:r,callback:n,body:i,opaque:s}=this;n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:s})})),r&&(this.res=null,queueMicrotask(()=>{qr.destroy(r,e)})),i&&(this.body=null,qr.destroy(i,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function QO(t,e){if(e===void 0)return new Promise((r,n)=>{QO.call(this,t,(i,s)=>i?n(i):r(s))});try{this.dispatch(t,new Dp(t,e))}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(QO,"request");LB.exports=QO;LB.exports.RequestHandler=Dp});var LA=g((Nze,SO)=>{var{addAbortListener:bre}=Ee(),{RequestAbortedError:Qre}=Pe(),rc=Symbol("kListener"),Ei=Symbol("kSignal");function NO(t){t.abort?t.abort(t[Ei]?.reason):t.reason=t[Ei]?.reason??new Qre,xO(t)}o(NO,"abort");function wre(t,e){if(t.reason=null,t[Ei]=null,t[rc]=null,!!e){if(e.aborted){NO(t);return}t[Ei]=e,t[rc]=()=>{NO(t)},bre(t[Ei],t[rc])}}o(wre,"addSignal");function xO(t){t[Ei]&&("removeEventListener"in t[Ei]?t[Ei].removeEventListener("abort",t[rc]):t[Ei].removeListener("abort",t[rc]),t[Ei]=null,t[rc]=null)}o(xO,"removeSignal");SO.exports={addSignal:wre,removeSignal:xO}});var PO=g((Sze,vO)=>{"use strict";var Nre=require("node:assert"),{finished:xre,PassThrough:Sre}=require("node:stream"),{InvalidArgumentError:nc,InvalidReturnValueError:Rre}=Pe(),Vn=Ee(),{getResolveErrorBodyCallback:_re}=kB(),{AsyncResource:vre}=require("node:async_hooks"),{addSignal:Pre,removeSignal:RO}=LA(),UB=class extends vre{static{o(this,"StreamHandler")}constructor(e,r,n){if(!e||typeof e!="object")throw new nc("invalid opts");let{signal:i,method:s,opaque:a,body:c,onInfo:l,responseHeaders:A,throwOnError:u}=e;try{if(typeof n!="function")throw new nc("invalid callback");if(typeof r!="function")throw new nc("invalid factory");if(i&&typeof i.on!="function"&&typeof i.addEventListener!="function")throw new nc("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new nc("invalid method");if(l&&typeof l!="function")throw new nc("invalid onInfo callback");super("UNDICI_STREAM")}catch(d){throw Vn.isStream(c)&&Vn.destroy(c.on("error",Vn.nop),d),d}this.responseHeaders=A||null,this.opaque=a||null,this.factory=r,this.callback=n,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=c,this.onInfo=l||null,this.throwOnError=u||!1,Vn.isStream(c)&&c.on("error",d=>{this.onError(d)}),Pre(this,i)}onConnect(e,r){if(this.reason){e(this.reason);return}Nre(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,i){let{factory:s,opaque:a,context:c,callback:l,responseHeaders:A}=this,u=A==="raw"?Vn.parseRawHeaders(r):Vn.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:u});return}this.factory=null;let d;if(this.throwOnError&&e>=400){let C=(A==="raw"?Vn.parseHeaders(r):u)["content-type"];d=new Sre,this.callback=null,this.runInAsyncScope(_re,null,{callback:l,body:d,contentType:C,statusCode:e,statusMessage:i,headers:u})}else{if(s===null)return;if(d=this.runInAsyncScope(s,null,{statusCode:e,headers:u,opaque:a,context:c}),!d||typeof d.write!="function"||typeof d.end!="function"||typeof d.on!="function")throw new Rre("expected Writable");xre(d,{readable:!1},m=>{let{callback:C,res:Q,opaque:S,trailers:w,abort:R}=this;this.res=null,(m||!Q.readable)&&Vn.destroy(Q,m),this.callback=null,this.runInAsyncScope(C,null,m||null,{opaque:S,trailers:w}),m&&R()})}return d.on("drain",n),this.res=d,(d.writableNeedDrain!==void 0?d.writableNeedDrain:d._writableState?.needDrain)!==!0}onData(e){let{res:r}=this;return r?r.write(e):!0}onComplete(e){let{res:r}=this;RO(this),r&&(this.trailers=Vn.parseHeaders(e),r.end())}onError(e){let{res:r,callback:n,opaque:i,body:s}=this;RO(this),this.factory=null,r?(this.res=null,Vn.destroy(r,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:i})})),s&&(this.body=null,Vn.destroy(s,e))}};function _O(t,e,r){if(r===void 0)return new Promise((n,i)=>{_O.call(this,t,e,(s,a)=>s?i(s):n(a))});try{this.dispatch(t,new UB(t,e,r))}catch(n){if(typeof r!="function")throw n;let i=t?.opaque;queueMicrotask(()=>r(n,{opaque:i}))}}o(_O,"stream");vO.exports=_O});var MO=g((_ze,OO)=>{"use strict";var{Readable:TO,Duplex:Dre,PassThrough:Tre}=require("node:stream"),{InvalidArgumentError:UA,InvalidReturnValueError:Ore,RequestAbortedError:FB}=Pe(),gn=Ee(),{AsyncResource:Mre}=require("node:async_hooks"),{addSignal:kre,removeSignal:Lre}=LA(),DO=require("node:assert"),ic=Symbol("resume"),qB=class extends TO{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[ic]=null}_read(){let{[ic]:e}=this;e&&(this[ic]=null,e())}_destroy(e,r){this._read(),r(e)}},HB=class extends TO{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[ic]=e}_read(){this[ic]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new FB),r(e)}},zB=class extends Mre{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new UA("invalid opts");if(typeof r!="function")throw new UA("invalid handler");let{signal:n,method:i,opaque:s,onInfo:a,responseHeaders:c}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new UA("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new UA("invalid method");if(a&&typeof a!="function")throw new UA("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=s||null,this.responseHeaders=c||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new qB().on("error",gn.nop),this.ret=new Dre({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:l}=this;l?.resume&&l.resume()},write:(l,A,u)=>{let{req:d}=this;d.push(l,A)||d._readableState.destroyed?u():d[ic]=u},destroy:(l,A)=>{let{body:u,req:d,res:f,ret:m,abort:C}=this;!l&&!m._readableState.endEmitted&&(l=new FB),C&&l&&C(),gn.destroy(u,l),gn.destroy(d,l),gn.destroy(f,l),Lre(this),A(l)}}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,kre(this,n)}onConnect(e,r){let{ret:n,res:i}=this;if(this.reason){e(this.reason);return}DO(!i,"pipeline cannot be retried"),DO(!n.destroyed),this.abort=e,this.context=r}onHeaders(e,r,n){let{opaque:i,handler:s,context:a}=this;if(e<200){if(this.onInfo){let l=this.responseHeaders==="raw"?gn.parseRawHeaders(r):gn.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new HB(n);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?gn.parseRawHeaders(r):gn.parseHeaders(r);c=this.runInAsyncScope(s,null,{statusCode:e,headers:l,opaque:i,body:this.res,context:a})}catch(l){throw this.res.on("error",gn.nop),l}if(!c||typeof c.on!="function")throw new Ore("expected Readable");c.on("data",l=>{let{ret:A,body:u}=this;!A.push(l)&&u.pause&&u.pause()}).on("error",l=>{let{ret:A}=this;gn.destroy(A,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||gn.destroy(l,new FB)}),this.body=c}onData(e){let{res:r}=this;return r.push(e)}onComplete(e){let{res:r}=this;r.push(null)}onError(e){let{ret:r}=this;this.handler=null,gn.destroy(r,e)}};function Ure(t,e){try{let r=new zB(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new Tre().destroy(r)}}o(Ure,"pipeline");OO.exports=Ure});var HO=g((Pze,qO)=>{"use strict";var{InvalidArgumentError:jB,SocketError:Fre}=Pe(),{AsyncResource:qre}=require("node:async_hooks"),kO=Ee(),{addSignal:Hre,removeSignal:LO}=LA(),UO=require("node:assert"),GB=class extends qre{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new jB("invalid opts");if(typeof r!="function")throw new jB("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new jB("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=s||null,this.opaque=i||null,this.callback=r,this.abort=null,this.context=null,Hre(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}UO(this.callback),this.abort=e,this.context=null}onHeaders(){throw new Fre("bad upgrade",null)}onUpgrade(e,r,n){UO(e===101);let{callback:i,opaque:s,context:a}=this;LO(this),this.callback=null;let c=this.responseHeaders==="raw"?kO.parseRawHeaders(r):kO.parseHeaders(r);this.runInAsyncScope(i,null,null,{headers:c,socket:n,opaque:s,context:a})}onError(e){let{callback:r,opaque:n}=this;LO(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function FO(t,e){if(e===void 0)return new Promise((r,n)=>{FO.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new GB(t,e);this.dispatch({...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(FO,"upgrade");qO.exports=FO});var JO=g((Tze,YO)=>{"use strict";var zre=require("node:assert"),{AsyncResource:jre}=require("node:async_hooks"),{InvalidArgumentError:YB,SocketError:Gre}=Pe(),zO=Ee(),{addSignal:Yre,removeSignal:jO}=LA(),JB=class extends jre{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new YB("invalid opts");if(typeof r!="function")throw new YB("invalid callback");let{signal:n,opaque:i,responseHeaders:s}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new YB("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=s||null,this.callback=r,this.abort=null,Yre(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}zre(this.callback),this.abort=e,this.context=r}onHeaders(){throw new Gre("bad connect",null)}onUpgrade(e,r,n){let{callback:i,opaque:s,context:a}=this;jO(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?zO.parseRawHeaders(r):zO.parseHeaders(r)),this.runInAsyncScope(i,null,null,{statusCode:e,headers:c,socket:n,opaque:s,context:a})}onError(e){let{callback:r,opaque:n}=this;jO(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function GO(t,e){if(e===void 0)return new Promise((r,n)=>{GO.call(this,t,(i,s)=>i?n(i):r(s))});try{let r=new JB(t,e);this.dispatch({...t,method:"CONNECT"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(GO,"connect");YO.exports=GO});var VO=g((Mze,sc)=>{"use strict";sc.exports.request=wO();sc.exports.stream=PO();sc.exports.pipeline=MO();sc.exports.upgrade=HO();sc.exports.connect=JO()});var WB=g((kze,$O)=>{"use strict";var{UndiciError:Jre}=Pe(),WO=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),VB=class t extends Jre{static{o(this,"MockNotMatchedError")}constructor(e){super(e),Error.captureStackTrace(this,t),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[WO]===!0}[WO]=!0};$O.exports={MockNotMatchedError:VB}});var oc=g((Uze,KO)=>{"use strict";KO.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")}});var FA=g((Fze,cM)=>{"use strict";var{MockNotMatchedError:Do}=WB(),{kDispatches:Tp,kMockAgent:Vre,kOriginalDispatch:Wre,kOrigin:$re,kGetNetConnect:Kre}=oc(),{buildURL:Xre}=Ee(),{STATUS_CODES:Zre}=require("node:http"),{types:{isPromise:ene}}=require("node:util");function ns(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(ns,"matchValue");function ZO(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(ZO,"lowerCaseEntries");function eM(t,e){if(Array.isArray(t)){for(let r=0;r<t.length;r+=2)if(t[r].toLocaleLowerCase()===e.toLocaleLowerCase())return t[r+1];return}else return typeof t.get=="function"?t.get(e):ZO(t)[e.toLocaleLowerCase()]}o(eM,"getHeaderByName");function XB(t){let e=t.slice(),r=[];for(let n=0;n<e.length;n+=2)r.push([e[n],e[n+1]]);return Object.fromEntries(r)}o(XB,"buildHeadersFromArray");function tM(t,e){if(typeof t.headers=="function")return Array.isArray(e)&&(e=XB(e)),t.headers(e?ZO(e):{});if(typeof t.headers>"u")return!0;if(typeof e!="object"||typeof t.headers!="object")return!1;for(let[r,n]of Object.entries(t.headers)){let i=eM(e,r);if(!ns(n,i))return!1}return!0}o(tM,"matchHeaders");function XO(t){if(typeof t!="string")return t;let e=t.split("?");if(e.length!==2)return t;let r=new URLSearchParams(e.pop());return r.sort(),[...e,r.toString()].join("?")}o(XO,"safeUrl");function tne(t,{path:e,method:r,body:n,headers:i}){let s=ns(t.path,e),a=ns(t.method,r),c=typeof t.body<"u"?ns(t.body,n):!0,l=tM(t,i);return s&&a&&c&&l}o(tne,"matchKey");function rM(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(rM,"getResponseData");function nM(t,e){let r=e.query?Xre(e.path,e.query):e.path,n=typeof r=="string"?XO(r):r,i=t.filter(({consumed:s})=>!s).filter(({path:s})=>ns(XO(s),n));if(i.length===0)throw new Do(`Mock dispatch not matched for path '${n}'`);if(i=i.filter(({method:s})=>ns(s,e.method)),i.length===0)throw new Do(`Mock dispatch not matched for method '${e.method}' on path '${n}'`);if(i=i.filter(({body:s})=>typeof s<"u"?ns(s,e.body):!0),i.length===0)throw new Do(`Mock dispatch not matched for body '${e.body}' on path '${n}'`);if(i=i.filter(s=>tM(s,e.headers)),i.length===0){let s=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new Do(`Mock dispatch not matched for headers '${s}' on path '${n}'`)}return i[0]}o(nM,"getMockDispatch");function rne(t,e,r){let n={timesInvoked:0,times:1,persist:!1,consumed:!1},i=typeof r=="function"?{callback:r}:{...r},s={...n,...e,pending:!0,data:{error:null,...i}};return t.push(s),s}o(rne,"addMockDispatch");function $B(t,e){let r=t.findIndex(n=>n.consumed?tne(n,e):!1);r!==-1&&t.splice(r,1)}o($B,"deleteMockDispatch");function iM(t){let{path:e,method:r,body:n,headers:i,query:s}=t;return{path:e,method:r,body:n,headers:i,query:s}}o(iM,"buildKey");function KB(t){let e=Object.keys(t),r=[];for(let n=0;n<e.length;++n){let i=e[n],s=t[i],a=Buffer.from(`${i}`);if(Array.isArray(s))for(let c=0;c<s.length;++c)r.push(a,Buffer.from(`${s[c]}`));else r.push(a,Buffer.from(`${s}`))}return r}o(KB,"generateKeyValues");function sM(t){return Zre[t]||"unknown"}o(sM,"getStatusText");async function nne(t){let e=[];for await(let r of t)e.push(r);return Buffer.concat(e).toString("utf8")}o(nne,"getResponse");function oM(t,e){let r=iM(t),n=nM(this[Tp],r);n.timesInvoked++,n.data.callback&&(n.data={...n.data,...n.data.callback(t)});let{data:{statusCode:i,data:s,headers:a,trailers:c,error:l},delay:A,persist:u}=n,{timesInvoked:d,times:f}=n;if(n.consumed=!u&&d>=f,n.pending=d<f,l!==null)return $B(this[Tp],r),e.onError(l),!0;typeof A=="number"&&A>0?setTimeout(()=>{m(this[Tp])},A):m(this[Tp]);function m(Q,S=s){let w=Array.isArray(t.headers)?XB(t.headers):t.headers,R=typeof S=="function"?S({...t,headers:w}):S;if(ene(R)){R.then(de=>m(Q,de));return}let T=rM(R),L=KB(a),W=KB(c);e.onConnect?.(de=>e.onError(de),null),e.onHeaders?.(i,L,C,sM(i)),e.onData?.(Buffer.from(T)),e.onComplete?.(W),$B(Q,r)}o(m,"handleReply");function C(){}return o(C,"resume"),!0}o(oM,"mockDispatch");function ine(){let t=this[Vre],e=this[$re],r=this[Wre];return o(function(i,s){if(t.isMockActive)try{oM.call(this,i,s)}catch(a){if(a instanceof Do){let c=t[Kre]();if(c===!1)throw new Do(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(aM(c,e))r.call(this,i,s);else throw new Do(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect is not enabled for this origin)`)}else throw a}else r.call(this,i,s)},"dispatch")}o(ine,"buildMockDispatch");function aM(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(n=>ns(n,r.host)))}o(aM,"checkNetConnect");function sne(t){if(t){let{agent:e,...r}=t;return r}}o(sne,"buildMockOptions");cM.exports={getResponseData:rM,getMockDispatch:nM,addMockDispatch:rne,deleteMockDispatch:$B,buildKey:iM,generateKeyValues:KB,matchValue:ns,getResponse:nne,getStatusText:sM,mockDispatch:oM,buildMockDispatch:ine,checkNetConnect:aM,buildMockOptions:sne,getHeaderByName:eM,buildHeadersFromArray:XB}});var sI=g((Hze,iI)=>{"use strict";var{getResponseData:one,buildKey:ane,addMockDispatch:ZB}=FA(),{kDispatches:Op,kDispatchKey:Mp,kDefaultHeaders:eI,kDefaultTrailers:tI,kContentLength:rI,kMockDispatch:kp}=oc(),{InvalidArgumentError:Bi}=Pe(),{buildURL:cne}=Ee(),ac=class{static{o(this,"MockScope")}constructor(e){this[kp]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Bi("waitInMs must be a valid integer > 0");return this[kp].delay=e,this}persist(){return this[kp].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Bi("repeatTimes must be a valid integer > 0");return this[kp].times=e,this}},nI=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new Bi("opts must be an object");if(typeof e.path>"u")throw new Bi("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=cne(e.path,e.query);else{let n=new URL(e.path,"data://");e.path=n.pathname+n.search}typeof e.method=="string"&&(e.method=e.method.toUpperCase()),this[Mp]=ane(e),this[Op]=r,this[eI]={},this[tI]={},this[rI]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:n}){let i=one(r),s=this[rI]?{"content-length":i.length}:{},a={...this[eI],...s,...n.headers},c={...this[tI],...n.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new Bi("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new Bi("responseOptions must be an object")}reply(e){if(typeof e=="function"){let s=o(c=>{let l=e(c);if(typeof l!="object"||l===null)throw new Bi("reply options callback must return an object");let A={data:"",responseOptions:{},...l};return this.validateReplyParameters(A),{...this.createMockScopeDispatchData(A)}},"wrappedDefaultsCallback"),a=ZB(this[Op],this[Mp],s);return new ac(a)}let r={statusCode:e,data:arguments[1]===void 0?"":arguments[1],responseOptions:arguments[2]===void 0?{}:arguments[2]};this.validateReplyParameters(r);let n=this.createMockScopeDispatchData(r),i=ZB(this[Op],this[Mp],n);return new ac(i)}replyWithError(e){if(typeof e>"u")throw new Bi("error must be defined");let r=ZB(this[Op],this[Mp],{error:e});return new ac(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new Bi("headers must be defined");return this[eI]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new Bi("trailers must be defined");return this[tI]=e,this}replyContentLength(){return this[rI]=!0,this}};iI.exports.MockInterceptor=nI;iI.exports.MockScope=ac});var cI=g((jze,fM)=>{"use strict";var{promisify:lne}=require("node:util"),Ane=$a(),{buildMockDispatch:une}=FA(),{kDispatches:lM,kMockAgent:AM,kClose:uM,kOriginalClose:dM,kOrigin:pM,kOriginalDispatch:dne,kConnected:oI}=oc(),{MockInterceptor:pne}=sI(),hM=nt(),{InvalidArgumentError:hne}=Pe(),aI=class extends Ane{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new hne("Argument opts.agent must implement Agent");this[AM]=r.agent,this[pM]=e,this[lM]=[],this[oI]=1,this[dne]=this.dispatch,this[dM]=this.close.bind(this),this.dispatch=une.call(this),this.close=this[uM]}get[hM.kConnected](){return this[oI]}intercept(e){return new pne(e,this[lM])}async[uM](){await lne(this[dM])(),this[oI]=0,this[AM][hM.kClients].delete(this[pM])}};fM.exports=aI});var uI=g((Yze,IM)=>{"use strict";var{promisify:fne}=require("node:util"),mne=Ka(),{buildMockDispatch:gne}=FA(),{kDispatches:mM,kMockAgent:gM,kClose:yM,kOriginalClose:CM,kOrigin:EM,kOriginalDispatch:yne,kConnected:lI}=oc(),{MockInterceptor:Cne}=sI(),BM=nt(),{InvalidArgumentError:Ene}=Pe(),AI=class extends mne{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Ene("Argument opts.agent must implement Agent");this[gM]=r.agent,this[EM]=e,this[mM]=[],this[lI]=1,this[yne]=this.dispatch,this[CM]=this.close.bind(this),this.dispatch=gne.call(this),this.close=this[yM]}get[BM.kConnected](){return this[lI]}intercept(e){return new Cne(e,this[mM])}async[yM](){await fne(this[CM])(),this[lI]=0,this[gM][BM.kClients].delete(this[EM])}};IM.exports=AI});var QM=g((Wze,bM)=>{"use strict";var Bne={pronoun:"it",is:"is",was:"was",this:"this"},Ine={pronoun:"they",is:"are",was:"were",this:"these"};bM.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,n=r?Bne:Ine,i=r?this.singular:this.plural;return{...n,count:e,noun:i}}}});var NM=g((Xze,wM)=>{"use strict";var{Transform:bne}=require("node:stream"),{Console:Qne}=require("node:console"),wne=process.versions.icu?"\u2705":"Y ",Nne=process.versions.icu?"\u274C":"N ";wM.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new bne({transform(r,n,i){i(null,r)}}),this.logger=new Qne({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:n,path:i,data:{statusCode:s},persist:a,times:c,timesInvoked:l,origin:A})=>({Method:n,Origin:A,Path:i,"Status code":s,Persistent:a?wne:Nne,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var _M=g((eje,RM)=>{"use strict";var{kClients:To}=nt(),xne=Xa(),{kAgent:dI,kMockAgentSet:Lp,kMockAgentGet:xM,kDispatches:pI,kIsMockActive:Up,kNetConnect:Oo,kGetNetConnect:Sne,kOptions:Fp,kFactory:qp}=oc(),Rne=cI(),_ne=uI(),{matchValue:vne,buildMockOptions:Pne}=FA(),{InvalidArgumentError:SM,UndiciError:Dne}=Pe(),Tne=lA(),One=QM(),Mne=NM(),hI=class extends Tne{static{o(this,"MockAgent")}constructor(e){if(super(e),this[Oo]=!0,this[Up]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new SM("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new xne(e);this[dI]=r,this[To]=r[To],this[Fp]=Pne(e)}get(e){let r=this[xM](e);return r||(r=this[qp](e),this[Lp](e,r)),r}dispatch(e,r){return this.get(e.origin),this[dI].dispatch(e,r)}async close(){await this[dI].close(),this[To].clear()}deactivate(){this[Up]=!1}activate(){this[Up]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[Oo])?this[Oo].push(e):this[Oo]=[e];else if(typeof e>"u")this[Oo]=!0;else throw new SM("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[Oo]=!1}get isMockActive(){return this[Up]}[Lp](e,r){this[To].set(e,r)}[qp](e){let r=Object.assign({agent:this},this[Fp]);return this[Fp]&&this[Fp].connections===1?new Rne(e,r):new _ne(e,r)}[xM](e){let r=this[To].get(e);if(r)return r;if(typeof e!="string"){let n=this[qp]("http://localhost:9999");return this[Lp](e,n),n}for(let[n,i]of Array.from(this[To]))if(i&&typeof n!="string"&&vne(n,e)){let s=this[qp](e);return this[Lp](e,s),s[pI]=i[pI],s}}[Sne](){return this[Oo]}pendingInterceptors(){let e=this[To];return Array.from(e.entries()).flatMap(([r,n])=>n[pI].map(i=>({...i,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new Mne}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new One("interceptor","interceptors").pluralize(r.length);throw new Dne(`
${n.count} ${n.noun} ${n.is} pending:
${e.format(r)}
`.trim())}};RM.exports=hI});var Hp=g((rje,TM)=>{"use strict";var vM=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:kne}=Pe(),Lne=Xa();DM()===void 0&&PM(new Lne);function PM(t){if(!t||typeof t.dispatch!="function")throw new kne("Argument agent must implement Agent");Object.defineProperty(globalThis,vM,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(PM,"setGlobalDispatcher");function DM(){return globalThis[vM]}o(DM,"getGlobalDispatcher");TM.exports={setGlobalDispatcher:PM,getGlobalDispatcher:DM}});var zp=g((sje,OM)=>{"use strict";OM.exports=class{static{o(this,"DecoratorHandler")}#e;constructor(e){if(typeof e!="object"||e===null)throw new TypeError("handler must be an object");this.#e=e}onConnect(...e){return this.#e.onConnect?.(...e)}onError(...e){return this.#e.onError?.(...e)}onUpgrade(...e){return this.#e.onUpgrade?.(...e)}onResponseStarted(...e){return this.#e.onResponseStarted?.(...e)}onHeaders(...e){return this.#e.onHeaders?.(...e)}onData(...e){return this.#e.onData?.(...e)}onComplete(...e){return this.#e.onComplete?.(...e)}onBodySent(...e){return this.#e.onBodySent?.(...e)}}});var kM=g((aje,MM)=>{"use strict";var Une=Bp();MM.exports=t=>{let e=t?.maxRedirections;return r=>o(function(i,s){let{maxRedirections:a=e,...c}=i;if(!a)return r(i,s);let l=new Une(r,a,i,s);return r(c,l)},"redirectInterceptor")}});var UM=g((lje,LM)=>{"use strict";var Fne=Pp();LM.exports=t=>e=>o(function(n,i){return e(n,new Fne({...n,retryOptions:{...t,...n.retryOptions}},{handler:i,dispatch:e}))},"retryInterceptor")});var qM=g((uje,FM)=>{"use strict";var qne=Ee(),{InvalidArgumentError:Hne,RequestAbortedError:zne}=Pe(),jne=zp(),fI=class extends jne{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#i=!1;#n=!1;#r=0;#s=null;#o=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new Hne("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#o=r}onConnect(e){this.#t=e,this.#o.onConnect(this.#a.bind(this))}#a(e){this.#n=!0,this.#s=e}onHeaders(e,r,n,i){let a=qne.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new zne(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#n?!0:this.#o.onHeaders(e,r,n,i)}onError(e){this.#i||(e=this.#s??e,this.#o.onError(e))}onData(e){return this.#r=this.#r+e.length,this.#r>=this.#e&&(this.#i=!0,this.#n?this.#o.onError(this.#s):this.#o.onComplete([])),!0}onComplete(e){if(!this.#i){if(this.#n){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function Gne({maxSize:t}={maxSize:1024*1024}){return e=>o(function(n,i){let{dumpMaxSize:s=t}=n,a=new fI({maxSize:s},i);return e(n,a)},"Intercept")}o(Gne,"createDumpInterceptor");FM.exports=Gne});var jM=g((pje,zM)=>{"use strict";var{isIP:Yne}=require("node:net"),{lookup:Jne}=require("node:dns"),Vne=zp(),{InvalidArgumentError:cc,InformationalError:Wne}=Pe(),HM=Math.pow(2,31)-1,mI=class{static{o(this,"DNSInstance")}#e=0;#t=0;#i=new Map;dualStack=!0;affinity=null;lookup=null;pick=null;constructor(e){this.#e=e.maxTTL,this.#t=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#n,this.pick=e.pick??this.#r}get full(){return this.#i.size===this.#t}runLookup(e,r,n){let i=this.#i.get(e.hostname);if(i==null&&this.full){n(null,e.origin);return}let s={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...r.dns,maxTTL:this.#e,maxItems:this.#t};if(i==null)this.lookup(e,s,(a,c)=>{if(a||c==null||c.length===0){n(a??new Wne("No DNS entries found"));return}this.setRecords(e,c);let l=this.#i.get(e.hostname),A=this.pick(e,l,s.affinity),u;typeof A.port=="number"?u=`:${A.port}`:e.port!==""?u=`:${e.port}`:u="",n(null,`${e.protocol}//${A.family===6?`[${A.address}]`:A.address}${u}`)});else{let a=this.pick(e,i,s.affinity);if(a==null){this.#i.delete(e.hostname),this.runLookup(e,r,n);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",n(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#n(e,r,n){Jne(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(i,s)=>{if(i)return n(i);let a=new Map;for(let c of s)a.set(`${c.address}:${c.family}`,c);n(null,a.values())})}#r(e,r,n){let i=null,{records:s,offset:a}=r,c;if(this.dualStack?(n==null&&(a==null||a===HM?(r.offset=0,n=4):(r.offset++,n=(r.offset&1)===1?6:4)),s[n]!=null&&s[n].ips.length>0?c=s[n]:c=s[n===4?6:4]):c=s[n],c==null||c.ips.length===0)return i;c.offset==null||c.offset===HM?c.offset=0:c.offset++;let l=c.offset%c.ips.length;return i=c.ips[l]??null,i==null?i:Date.now()-i.timestamp>i.ttl?(c.ips.splice(l,1),this.pick(e,r,n)):i}setRecords(e,r){let n=Date.now(),i={records:{4:null,6:null}};for(let s of r){s.timestamp=n,typeof s.ttl=="number"?s.ttl=Math.min(s.ttl,this.#e):s.ttl=this.#e;let a=i.records[s.family]??{ips:[]};a.ips.push(s),i.records[s.family]=a}this.#i.set(e.hostname,i)}getHandler(e,r){return new gI(this,e,r)}},gI=class extends Vne{static{o(this,"DNSDispatchHandler")}#e=null;#t=null;#i=null;#n=null;#r=null;constructor(e,{origin:r,handler:n,dispatch:i},s){super(n),this.#r=r,this.#n=n,this.#t={...s},this.#e=e,this.#i=i}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#e.dualStack){this.#e.runLookup(this.#r,this.#t,(r,n)=>{if(r)return this.#n.onError(r);let i={...this.#t,origin:n};this.#i(i,this)});return}this.#n.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#r);default:this.#n.onError(e);break}}};zM.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new cc("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new cc("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new cc("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new cc("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new cc("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new cc("Invalid pick. Must be a function");let e=t?.dualStack??!0,r;e?r=t?.affinity??null:r=t?.affinity??4;let n={maxTTL:t?.maxTTL??1e4,lookup:t?.lookup??null,pick:t?.pick??null,dualStack:e,affinity:r,maxItems:t?.maxItems??1/0},i=new mI(n);return s=>o(function(c,l){let A=c.origin.constructor===URL?c.origin:new URL(c.origin);return Yne(A.hostname)!==0?s(c,l):(i.runLookup(A,c,(u,d)=>{if(u)return l.onError(u);let f=null;f={...c,servername:A.hostname,origin:d,headers:{host:A.hostname,...c.headers}},s(f,i.getHandler({origin:A,dispatch:s,handler:l},c))}),!0)},"dnsInterceptor")}});var Mo=g((fje,KM)=>{"use strict";var{kConstruct:$ne}=nt(),{kEnumerableProperty:lc}=Ee(),{iteratorMixin:Kne,isValidHeaderName:qA,isValidHeaderValue:YM}=Ur(),{webidl:Se}=$t(),yI=require("node:assert"),jp=require("node:util"),Rt=Symbol("headers map"),Hr=Symbol("headers map sorted");function GM(t){return t===10||t===13||t===9||t===32}o(GM,"isHTTPWhiteSpaceCharCode");function JM(t){let e=0,r=t.length;for(;r>e&&GM(t.charCodeAt(r-1));)--r;for(;r>e&&GM(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(JM,"headerValueNormalize");function VM(t,e){if(Array.isArray(e))for(let r=0;r<e.length;++r){let n=e[r];if(n.length!==2)throw Se.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${n.length}.`});CI(t,n[0],n[1])}else if(typeof e=="object"&&e!==null){let r=Object.keys(e);for(let n=0;n<r.length;++n)CI(t,r[n],e[r[n]])}else throw Se.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}o(VM,"fill");function CI(t,e,r){if(r=JM(r),qA(e)){if(!YM(r))throw Se.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw Se.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if($M(t)==="immutable")throw new TypeError("immutable");return EI(t).append(e,r,!1)}o(CI,"appendHeader");function WM(t,e){return t[0]<e[0]?-1:1}o(WM,"compareHeaderName");var Gp=class t{static{o(this,"HeadersList")}cookies=null;constructor(e){e instanceof t?(this[Rt]=new Map(e[Rt]),this[Hr]=e[Hr],this.cookies=e.cookies===null?null:[...e.cookies]):(this[Rt]=new Map(e),this[Hr]=null)}contains(e,r){return this[Rt].has(r?e:e.toLowerCase())}clear(){this[Rt].clear(),this[Hr]=null,this.cookies=null}append(e,r,n){this[Hr]=null;let i=n?e:e.toLowerCase(),s=this[Rt].get(i);if(s){let a=i==="cookie"?"; ":", ";this[Rt].set(i,{name:s.name,value:`${s.value}${a}${r}`})}else this[Rt].set(i,{name:e,value:r});i==="set-cookie"&&(this.cookies??=[]).push(r)}set(e,r,n){this[Hr]=null;let i=n?e:e.toLowerCase();i==="set-cookie"&&(this.cookies=[r]),this[Rt].set(i,{name:e,value:r})}delete(e,r){this[Hr]=null,r||(e=e.toLowerCase()),e==="set-cookie"&&(this.cookies=null),this[Rt].delete(e)}get(e,r){return this[Rt].get(r?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:r}}of this[Rt])yield[e,r]}get entries(){let e={};if(this[Rt].size!==0)for(let{name:r,value:n}of this[Rt].values())e[r]=n;return e}rawValues(){return this[Rt].values()}get entriesList(){let e=[];if(this[Rt].size!==0)for(let{0:r,1:{name:n,value:i}}of this[Rt])if(r==="set-cookie")for(let s of this.cookies)e.push([n,s]);else e.push([n,i]);return e}toSortedArray(){let e=this[Rt].size,r=new Array(e);if(e<=32){if(e===0)return r;let n=this[Rt][Symbol.iterator](),i=n.next().value;r[0]=[i[0],i[1].value],yI(i[1].value!==null);for(let s=1,a=0,c=0,l=0,A=0,u,d;s<e;++s){for(d=n.next().value,u=r[s]=[d[0],d[1].value],yI(u[1]!==null),l=0,c=s;l<c;)A=l+(c-l>>1),r[A][0]<=u[0]?l=A+1:c=A;if(s!==A){for(a=s;a>l;)r[a]=r[--a];r[l]=u}}if(!n.next().done)throw new TypeError("Unreachable");return r}else{let n=0;for(let{0:i,1:{value:s}}of this[Rt])r[n++]=[i,s],yI(s!==null);return r.sort(WM)}}},Wn=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){Se.util.markAsUncloneable(this),e!==$ne&&(this.#t=new Gp,this.#e="none",e!==void 0&&(e=Se.converters.HeadersInit(e,"Headers contructor","init"),VM(this,e)))}append(e,r){Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,2,"Headers.append");let n="Headers.append";return e=Se.converters.ByteString(e,n,"name"),r=Se.converters.ByteString(r,n,"value"),CI(this,e,r)}delete(e){if(Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,1,"Headers.delete"),e=Se.converters.ByteString(e,"Headers.delete","name"),!qA(e))throw Se.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.contains(e,!1)&&this.#t.delete(e,!1)}get(e){Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=Se.converters.ByteString(e,r,"name"),!qA(e))throw Se.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=Se.converters.ByteString(e,r,"name"),!qA(e))throw Se.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){Se.brandCheck(this,t),Se.argumentLengthCheck(arguments,2,"Headers.set");let n="Headers.set";if(e=Se.converters.ByteString(e,n,"name"),r=Se.converters.ByteString(r,n,"value"),r=JM(r),qA(e)){if(!YM(r))throw Se.errors.invalidArgument({prefix:n,value:r,type:"header value"})}else throw Se.errors.invalidArgument({prefix:n,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){Se.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[Hr](){if(this.#t[Hr])return this.#t[Hr];let e=[],r=this.#t.toSortedArray(),n=this.#t.cookies;if(n===null||n.length===1)return this.#t[Hr]=r;for(let i=0;i<r.length;++i){let{0:s,1:a}=r[i];if(s==="set-cookie")for(let c=0;c<n.length;++c)e.push([s,n[c]]);else e.push([s,a])}return this.#t[Hr]=e}[jp.inspect.custom](e,r){return r.depth??=e,`Headers ${jp.formatWithOptions(r,this.#t.entries)}`}static getHeadersGuard(e){return e.#e}static setHeadersGuard(e,r){e.#e=r}static getHeadersList(e){return e.#t}static setHeadersList(e,r){e.#t=r}},{getHeadersGuard:$M,setHeadersGuard:Xne,getHeadersList:EI,setHeadersList:Zne}=Wn;Reflect.deleteProperty(Wn,"getHeadersGuard");Reflect.deleteProperty(Wn,"setHeadersGuard");Reflect.deleteProperty(Wn,"getHeadersList");Reflect.deleteProperty(Wn,"setHeadersList");Kne("Headers",Wn,Hr,0,1);Object.defineProperties(Wn.prototype,{append:lc,delete:lc,get:lc,has:lc,set:lc,getSetCookie:lc,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[jp.inspect.custom]:{enumerable:!1}});Se.converters.HeadersInit=function(t,e,r){if(Se.util.Type(t)==="Object"){let n=Reflect.get(t,Symbol.iterator);if(!jp.types.isProxy(t)&&n===Wn.prototype.entries)try{return EI(t).entriesList}catch{}return typeof n=="function"?Se.converters["sequence<sequence<ByteString>>"](t,e,r,n.bind(t)):Se.converters["record<ByteString, ByteString>"](t,e,r)}throw Se.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};KM.exports={fill:VM,compareHeaderName:WM,Headers:Wn,HeadersList:Gp,getHeadersGuard:$M,setHeadersGuard:Xne,setHeadersList:Zne,getHeadersList:EI}});var zA=g((gje,lk)=>{"use strict";var{Headers:nk,HeadersList:XM,fill:eie,getHeadersGuard:tie,setHeadersGuard:ik,setHeadersList:sk}=Mo(),{extractBody:ZM,cloneBody:rie,mixinBody:nie,hasFinalizationRegistry:ok,streamRegistry:ak,bodyUnusable:iie}=za(),BI=Ee(),ek=require("node:util"),{kEnumerableProperty:zr}=BI,{isValidReasonPhrase:sie,isCancelled:oie,isAborted:aie,isBlobLike:cie,serializeJavascriptValueToJSONString:lie,isErrorLike:Aie,isomorphicEncode:uie,environmentSettingsObject:die}=Ur(),{redirectStatusSet:pie,nullBodyStatus:hie}=dA(),{kState:it,kHeaders:is}=bs(),{webidl:me}=$t(),{FormData:fie}=yA(),{URLSerializer:tk}=Br(),{kConstruct:Jp}=nt(),II=require("node:assert"),{types:mie}=require("node:util"),gie=new TextEncoder("utf-8"),ko=class t{static{o(this,"Response")}static error(){return HA(Vp(),"immutable")}static json(e,r={}){me.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=me.converters.ResponseInit(r));let n=gie.encode(lie(e)),i=ZM(n),s=HA(Ac({}),"response");return rk(s,r,{body:i[0],type:"application/json"}),s}static redirect(e,r=302){me.argumentLengthCheck(arguments,1,"Response.redirect"),e=me.converters.USVString(e),r=me.converters["unsigned short"](r);let n;try{n=new URL(e,die.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!pie.has(r))throw new RangeError(`Invalid status code ${r}`);let i=HA(Ac({}),"immutable");i[it].status=r;let s=uie(tk(n));return i[it].headersList.append("location",s,!0),i}constructor(e=null,r={}){if(me.util.markAsUncloneable(this),e===Jp)return;e!==null&&(e=me.converters.BodyInit(e)),r=me.converters.ResponseInit(r),this[it]=Ac({}),this[is]=new nk(Jp),ik(this[is],"response"),sk(this[is],this[it].headersList);let n=null;if(e!=null){let[i,s]=ZM(e);n={body:i,type:s}}rk(this,r,n)}get type(){return me.brandCheck(this,t),this[it].type}get url(){me.brandCheck(this,t);let e=this[it].urlList,r=e[e.length-1]??null;return r===null?"":tk(r,!0)}get redirected(){return me.brandCheck(this,t),this[it].urlList.length>1}get status(){return me.brandCheck(this,t),this[it].status}get ok(){return me.brandCheck(this,t),this[it].status>=200&&this[it].status<=299}get statusText(){return me.brandCheck(this,t),this[it].statusText}get headers(){return me.brandCheck(this,t),this[is]}get body(){return me.brandCheck(this,t),this[it].body?this[it].body.stream:null}get bodyUsed(){return me.brandCheck(this,t),!!this[it].body&&BI.isDisturbed(this[it].body.stream)}clone(){if(me.brandCheck(this,t),iie(this))throw me.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=bI(this[it]);return ok&&this[it].body?.stream&&ak.register(this,new WeakRef(this[it].body.stream)),HA(e,tie(this[is]))}[ek.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={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 ${ek.formatWithOptions(r,n)}`}};nie(ko);Object.defineProperties(ko.prototype,{type:zr,url:zr,status:zr,ok:zr,redirected:zr,statusText:zr,headers:zr,clone:zr,body:zr,bodyUsed:zr,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(ko,{json:zr,redirect:zr,error:zr});function bI(t){if(t.internalResponse)return ck(bI(t.internalResponse),t.type);let e=Ac({...t,body:null});return t.body!=null&&(e.body=rie(e,t.body)),e}o(bI,"cloneResponse");function Ac(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new XM(t?.headersList):new XM,urlList:t?.urlList?[...t.urlList]:[]}}o(Ac,"makeResponse");function Vp(t){let e=Aie(t);return Ac({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(Vp,"makeNetworkError");function yie(t){return t.type==="error"&&t.status===0}o(yie,"isNetworkError");function Yp(t,e){return e={internalResponse:t,...e},new Proxy(t,{get(r,n){return n in e?e[n]:r[n]},set(r,n,i){return II(!(n in e)),r[n]=i,!0}})}o(Yp,"makeFilteredResponse");function ck(t,e){if(e==="basic")return Yp(t,{type:"basic",headersList:t.headersList});if(e==="cors")return Yp(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return Yp(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return Yp(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});II(!1)}o(ck,"filterResponse");function Cie(t,e=null){return II(oie(t)),aie(t)?Vp(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):Vp(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(Cie,"makeAppropriateNetworkError");function rk(t,e,r){if(e.status!==null&&(e.status<200||e.status>599))throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in e&&e.statusText!=null&&!sie(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[it].status=e.status),"statusText"in e&&e.statusText!=null&&(t[it].statusText=e.statusText),"headers"in e&&e.headers!=null&&eie(t[is],e.headers),r){if(hie.includes(t.status))throw me.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[it].body=r.body,r.type!=null&&!t[it].headersList.contains("content-type",!0)&&t[it].headersList.append("content-type",r.type,!0)}}o(rk,"initializeResponse");function HA(t,e){let r=new ko(Jp);return r[it]=t,r[is]=new nk(Jp),sk(r[is],t.headersList),ik(r[is],e),ok&&t.body?.stream&&ak.register(r,new WeakRef(t.body.stream)),r}o(HA,"fromInnerResponse");me.converters.ReadableStream=me.interfaceConverter(ReadableStream);me.converters.FormData=me.interfaceConverter(fie);me.converters.URLSearchParams=me.interfaceConverter(URLSearchParams);me.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?me.converters.USVString(t,e,r):cie(t)?me.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||mie.isArrayBuffer(t)?me.converters.BufferSource(t,e,r):BI.isFormDataLike(t)?me.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?me.converters.URLSearchParams(t,e,r):me.converters.DOMString(t,e,r)};me.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?me.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:me.converters.XMLHttpRequestBodyInit(t,e,r)};me.converters.ResponseInit=me.dictionaryConverter([{key:"status",converter:me.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:me.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:me.converters.HeadersInit}]);lk.exports={isNetworkError:yie,makeNetworkError:Vp,makeResponse:Ac,makeAppropriateNetworkError:Cie,filterResponse:ck,Response:ko,cloneResponse:bI,fromInnerResponse:HA}});var pk=g((Cje,dk)=>{"use strict";var{kConnected:Ak,kSize:uk}=nt(),QI=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[Ak]===0&&this.value[uk]===0?void 0:this.value}},wI=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[Ak]===0&&e[uk]===0&&this.finalizer(r)})}unregister(e){}};dk.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:QI,FinalizationRegistry:wI}):{WeakRef,FinalizationRegistry}}});var uc=g((Bje,Sk)=>{"use strict";var{extractBody:Eie,mixinBody:Bie,cloneBody:Iie,bodyUnusable:hk}=za(),{Headers:bk,fill:bie,HeadersList:Xp,setHeadersGuard:xI,getHeadersGuard:Qie,setHeadersList:Qk,getHeadersList:fk}=Mo(),{FinalizationRegistry:wie}=pk()(),$p=Ee(),mk=require("node:util"),{isValidHTTPToken:Nie,sameOrigin:gk,environmentSettingsObject:Wp}=Ur(),{forbiddenMethodsSet:xie,corsSafeListedMethodsSet:Sie,referrerPolicy:Rie,requestRedirect:_ie,requestMode:vie,requestCredentials:Pie,requestCache:Die,requestDuplex:Tie}=dA(),{kEnumerableProperty:_t,normalizedMethodRecordsBase:Oie,normalizedMethodRecords:Mie}=$p,{kHeaders:jr,kSignal:Kp,kState:Ze,kDispatcher:NI}=bs(),{webidl:ae}=$t(),{URLSerializer:kie}=Br(),{kConstruct:Zp}=nt(),Lie=require("node:assert"),{getMaxListeners:yk,setMaxListeners:Ck,getEventListeners:Uie,defaultMaxListeners:Ek}=require("node:events"),Fie=Symbol("abortController"),wk=new wie(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),eh=new WeakMap;function Bk(t){return e;function e(){let r=t.deref();if(r!==void 0){wk.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let n=eh.get(r.signal);if(n!==void 0){if(n.size!==0){for(let i of n){let s=i.deref();s!==void 0&&s.abort(this.reason)}n.clear()}eh.delete(r.signal)}}}}o(Bk,"buildAbort");var Ik=!1,Os=class t{static{o(this,"Request")}constructor(e,r={}){if(ae.util.markAsUncloneable(this),e===Zp)return;let n="Request constructor";ae.argumentLengthCheck(arguments,1,n),e=ae.converters.RequestInfo(e,n,"input"),r=ae.converters.RequestInit(r,n,"init");let i=null,s=null,a=Wp.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[NI]=r.dispatcher;let w;try{w=new URL(e,a)}catch(R){throw new TypeError("Failed to parse URL from "+e,{cause:R})}if(w.username||w.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);i=th({urlList:[w]}),s="cors"}else this[NI]=r.dispatcher||e[NI],Lie(e instanceof t),i=e[Ze],c=e[Kp];let l=Wp.settingsObject.origin,A="client";if(i.window?.constructor?.name==="EnvironmentSettingsObject"&&gk(i.window,l)&&(A=i.window),r.window!=null)throw new TypeError(`'window' option '${A}' must be null`);"window"in r&&(A="no-window"),i=th({method:i.method,headersList:i.headersList,unsafeRequest:i.unsafeRequest,client:Wp.settingsObject,window:A,priority:i.priority,origin:i.origin,referrer:i.referrer,referrerPolicy:i.referrerPolicy,mode:i.mode,credentials:i.credentials,cache:i.cache,redirect:i.redirect,integrity:i.integrity,keepalive:i.keepalive,reloadNavigation:i.reloadNavigation,historyNavigation:i.historyNavigation,urlList:[...i.urlList]});let u=Object.keys(r).length!==0;if(u&&(i.mode==="navigate"&&(i.mode="same-origin"),i.reloadNavigation=!1,i.historyNavigation=!1,i.origin="client",i.referrer="client",i.referrerPolicy="",i.url=i.urlList[i.urlList.length-1],i.urlList=[i.url]),r.referrer!==void 0){let w=r.referrer;if(w==="")i.referrer="no-referrer";else{let R;try{R=new URL(w,a)}catch(T){throw new TypeError(`Referrer "${w}" is not a valid URL.`,{cause:T})}R.protocol==="about:"&&R.hostname==="client"||l&&!gk(R,Wp.settingsObject.baseUrl)?i.referrer="client":i.referrer=R}}r.referrerPolicy!==void 0&&(i.referrerPolicy=r.referrerPolicy);let d;if(r.mode!==void 0?d=r.mode:d=s,d==="navigate")throw ae.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(d!=null&&(i.mode=d),r.credentials!==void 0&&(i.credentials=r.credentials),r.cache!==void 0&&(i.cache=r.cache),i.cache==="only-if-cached"&&i.mode!=="same-origin")throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(r.redirect!==void 0&&(i.redirect=r.redirect),r.integrity!=null&&(i.integrity=String(r.integrity)),r.keepalive!==void 0&&(i.keepalive=!!r.keepalive),r.method!==void 0){let w=r.method,R=Mie[w];if(R!==void 0)i.method=R;else{if(!Nie(w))throw new TypeError(`'${w}' is not a valid HTTP method.`);let T=w.toUpperCase();if(xie.has(T))throw new TypeError(`'${w}' HTTP method is unsupported.`);w=Oie[T]??w,i.method=w}!Ik&&i.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"}),Ik=!0)}r.signal!==void 0&&(c=r.signal),this[Ze]=i;let f=new AbortController;if(this[Kp]=f.signal,c!=null){if(!c||typeof c.aborted!="boolean"||typeof c.addEventListener!="function")throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.");if(c.aborted)f.abort(c.reason);else{this[Fie]=f;let w=new WeakRef(f),R=Bk(w);try{(typeof yk=="function"&&yk(c)===Ek||Uie(c,"abort").length>=Ek)&&Ck(1500,c)}catch{}$p.addAbortListener(c,R),wk.register(f,{signal:c,abort:R},R)}}if(this[jr]=new bk(Zp),Qk(this[jr],i.headersList),xI(this[jr],"request"),d==="no-cors"){if(!Sie.has(i.method))throw new TypeError(`'${i.method} is unsupported in no-cors mode.`);xI(this[jr],"request-no-cors")}if(u){let w=fk(this[jr]),R=r.headers!==void 0?r.headers:new Xp(w);if(w.clear(),R instanceof Xp){for(let{name:T,value:L}of R.rawValues())w.append(T,L,!1);w.cookies=R.cookies}else bie(this[jr],R)}let m=e instanceof t?e[Ze].body:null;if((r.body!=null||m!=null)&&(i.method==="GET"||i.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let C=null;if(r.body!=null){let[w,R]=Eie(r.body,i.keepalive);C=w,R&&!fk(this[jr]).contains("content-type",!0)&&this[jr].append("content-type",R)}let Q=C??m;if(Q!=null&&Q.source==null){if(C!=null&&r.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(i.mode!=="same-origin"&&i.mode!=="cors")throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');i.useCORSPreflightFlag=!0}let S=Q;if(C==null&&m!=null){if(hk(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let w=new TransformStream;m.stream.pipeThrough(w),S={source:m.source,length:m.length,stream:w.readable}}this[Ze].body=S}get method(){return ae.brandCheck(this,t),this[Ze].method}get url(){return ae.brandCheck(this,t),kie(this[Ze].url)}get headers(){return ae.brandCheck(this,t),this[jr]}get destination(){return ae.brandCheck(this,t),this[Ze].destination}get referrer(){return ae.brandCheck(this,t),this[Ze].referrer==="no-referrer"?"":this[Ze].referrer==="client"?"about:client":this[Ze].referrer.toString()}get referrerPolicy(){return ae.brandCheck(this,t),this[Ze].referrerPolicy}get mode(){return ae.brandCheck(this,t),this[Ze].mode}get credentials(){return this[Ze].credentials}get cache(){return ae.brandCheck(this,t),this[Ze].cache}get redirect(){return ae.brandCheck(this,t),this[Ze].redirect}get integrity(){return ae.brandCheck(this,t),this[Ze].integrity}get keepalive(){return ae.brandCheck(this,t),this[Ze].keepalive}get isReloadNavigation(){return ae.brandCheck(this,t),this[Ze].reloadNavigation}get isHistoryNavigation(){return ae.brandCheck(this,t),this[Ze].historyNavigation}get signal(){return ae.brandCheck(this,t),this[Kp]}get body(){return ae.brandCheck(this,t),this[Ze].body?this[Ze].body.stream:null}get bodyUsed(){return ae.brandCheck(this,t),!!this[Ze].body&&$p.isDisturbed(this[Ze].body.stream)}get duplex(){return ae.brandCheck(this,t),"half"}clone(){if(ae.brandCheck(this,t),hk(this))throw new TypeError("unusable");let e=Nk(this[Ze]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let n=eh.get(this.signal);n===void 0&&(n=new Set,eh.set(this.signal,n));let i=new WeakRef(r);n.add(i),$p.addAbortListener(r.signal,Bk(i))}return xk(e,r.signal,Qie(this[jr]))}[mk.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={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 ${mk.formatWithOptions(r,n)}`}};Bie(Os);function th(t){return{method:t.method??"GET",localURLsOnly:t.localURLsOnly??!1,unsafeRequest:t.unsafeRequest??!1,body:t.body??null,client:t.client??null,reservedClient:t.reservedClient??null,replacesClientId:t.replacesClientId??"",window:t.window??"client",keepalive:t.keepalive??!1,serviceWorkers:t.serviceWorkers??"all",initiator:t.initiator??"",destination:t.destination??"",priority:t.priority??null,origin:t.origin??"client",policyContainer:t.policyContainer??"client",referrer:t.referrer??"client",referrerPolicy:t.referrerPolicy??"",mode:t.mode??"no-cors",useCORSPreflightFlag:t.useCORSPreflightFlag??!1,credentials:t.credentials??"same-origin",useCredentials:t.useCredentials??!1,cache:t.cache??"default",redirect:t.redirect??"follow",integrity:t.integrity??"",cryptoGraphicsNonceMetadata:t.cryptoGraphicsNonceMetadata??"",parserMetadata:t.parserMetadata??"",reloadNavigation:t.reloadNavigation??!1,historyNavigation:t.historyNavigation??!1,userActivation:t.userActivation??!1,taintedOrigin:t.taintedOrigin??!1,redirectCount:t.redirectCount??0,responseTainting:t.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:t.preventNoCacheCacheControlHeaderModification??!1,done:t.done??!1,timingAllowFailed:t.timingAllowFailed??!1,urlList:t.urlList,url:t.urlList[0],headersList:t.headersList?new Xp(t.headersList):new Xp}}o(th,"makeRequest");function Nk(t){let e=th({...t,body:null});return t.body!=null&&(e.body=Iie(e,t.body)),e}o(Nk,"cloneRequest");function xk(t,e,r){let n=new Os(Zp);return n[Ze]=t,n[Kp]=e,n[jr]=new bk(Zp),Qk(n[jr],t.headersList),xI(n[jr],r),n}o(xk,"fromInnerRequest");Object.defineProperties(Os.prototype,{method:_t,url:_t,headers:_t,redirect:_t,clone:_t,signal:_t,duplex:_t,destination:_t,body:_t,bodyUsed:_t,isHistoryNavigation:_t,isReloadNavigation:_t,keepalive:_t,integrity:_t,cache:_t,credentials:_t,attribute:_t,referrerPolicy:_t,referrer:_t,mode:_t,[Symbol.toStringTag]:{value:"Request",configurable:!0}});ae.converters.Request=ae.interfaceConverter(Os);ae.converters.RequestInfo=function(t,e,r){return typeof t=="string"?ae.converters.USVString(t,e,r):t instanceof Os?ae.converters.Request(t,e,r):ae.converters.USVString(t,e,r)};ae.converters.AbortSignal=ae.interfaceConverter(AbortSignal);ae.converters.RequestInit=ae.dictionaryConverter([{key:"method",converter:ae.converters.ByteString},{key:"headers",converter:ae.converters.HeadersInit},{key:"body",converter:ae.nullableConverter(ae.converters.BodyInit)},{key:"referrer",converter:ae.converters.USVString},{key:"referrerPolicy",converter:ae.converters.DOMString,allowedValues:Rie},{key:"mode",converter:ae.converters.DOMString,allowedValues:vie},{key:"credentials",converter:ae.converters.DOMString,allowedValues:Pie},{key:"cache",converter:ae.converters.DOMString,allowedValues:Die},{key:"redirect",converter:ae.converters.DOMString,allowedValues:_ie},{key:"integrity",converter:ae.converters.DOMString},{key:"keepalive",converter:ae.converters.boolean},{key:"signal",converter:ae.nullableConverter(t=>ae.converters.AbortSignal(t,"RequestInit","signal",{strict:!1}))},{key:"window",converter:ae.converters.any},{key:"duplex",converter:ae.converters.DOMString,allowedValues:Tie},{key:"dispatcher",converter:ae.converters.any}]);Sk.exports={Request:Os,makeRequest:th,fromInnerRequest:xk,cloneRequest:Nk}});var GA=g((bje,zk)=>{"use strict";var{makeNetworkError:ze,makeAppropriateNetworkError:rh,filterResponse:SI,makeResponse:nh,fromInnerResponse:qie}=zA(),{HeadersList:Rk}=Mo(),{Request:Hie,cloneRequest:zie}=uc(),Ms=require("node:zlib"),{bytesMatch:jie,makePolicyContainer:Gie,clonePolicyContainer:Yie,requestBadPort:Jie,TAOCheck:Vie,appendRequestOriginHeader:Wie,responseLocationURL:$ie,requestCurrentURL:Ii,setRequestReferrerPolicyOnRedirect:Kie,tryUpgradeRequestToAPotentiallyTrustworthyURL:Xie,createOpaqueTimingInfo:DI,appendFetchMetadata:Zie,corsCheck:ese,crossOriginResourcePolicyCheck:tse,determineRequestsReferrer:rse,coarsenedSharedCurrentTime:jA,createDeferredPromise:nse,isBlobLike:ise,sameOrigin:PI,isCancelled:Lo,isAborted:_k,isErrorLike:sse,fullyReadBody:ose,readableStreamClose:ase,isomorphicEncode:ih,urlIsLocal:cse,urlIsHttpHttpsScheme:TI,urlHasHttpsScheme:lse,clampAndCoarsenConnectionTimingInfo:Ase,simpleRangeHeaderValue:use,buildContentRange:dse,createInflate:pse,extractMimeType:hse}=Ur(),{kState:Tk,kDispatcher:fse}=bs(),Uo=require("node:assert"),{safelyExtractBody:OI,extractBody:vk}=za(),{redirectStatusSet:Ok,nullBodyStatus:Mk,safeMethodsSet:mse,requestBodyHeader:gse,subresourceSet:yse}=dA(),Cse=require("node:events"),{Readable:Ese,pipeline:Bse,finished:Ise}=require("node:stream"),{addAbortListener:bse,isErrored:Qse,isReadable:sh,bufferToLowerCasedHeaderName:Pk}=Ee(),{dataURLProcessor:wse,serializeAMimeType:Nse,minimizeSupportedMimeType:xse}=Br(),{getGlobalDispatcher:Sse}=Hp(),{webidl:Rse}=$t(),{STATUS_CODES:_se}=require("node:http"),vse=["GET","HEAD"],Pse=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",RI,oh=class extends Cse{static{o(this,"Fetch")}constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(e){this.state==="ongoing"&&(this.state="terminated",this.connection?.destroy(e),this.emit("terminated",e))}abort(e){this.state==="ongoing"&&(this.state="aborted",e||(e=new DOMException("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}};function Dse(t){kk(t,"fetch")}o(Dse,"handleFetchDone");function Tse(t,e=void 0){Rse.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=nse(),n;try{n=new Hie(t,e)}catch(u){return r.reject(u),r.promise}let i=n[Tk];if(n.signal.aborted)return _I(r,i,null,n.signal.reason),r.promise;i.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(i.serviceWorkers="none");let a=null,c=!1,l=null;return bse(n.signal,()=>{c=!0,Uo(l!=null),l.abort(n.signal.reason);let u=a?.deref();_I(r,i,u,n.signal.reason)}),l=Uk({request:i,processResponseEndOfBody:Dse,processResponse:o(u=>{if(!c){if(u.aborted){_I(r,i,a,l.serializedAbortReason);return}if(u.type==="error"){r.reject(new TypeError("fetch failed",{cause:u.error}));return}a=new WeakRef(qie(u,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:n[fse]}),r.promise}o(Tse,"fetch");function kk(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],n=t.timingInfo,i=t.cacheState;TI(r)&&n!==null&&(t.timingAllowPassed||(n=DI({startTime:n.startTime}),i=""),n.endTime=jA(),t.timingInfo=n,Lk(n,r.href,e,globalThis,i))}o(kk,"finalizeAndReportTiming");var Lk=performance.markResourceTiming;function _I(t,e,r,n){if(t&&t.reject(n),e.body!=null&&sh(e.body?.stream)&&e.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s}),r==null)return;let i=r[Tk];i.body!=null&&sh(i.body?.stream)&&i.body.stream.cancel(n).catch(s=>{if(s.code!=="ERR_INVALID_STATE")throw s})}o(_I,"abortFetch");function Uk({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:i,processResponseConsumeBody:s,useParallelQueue:a=!1,dispatcher:c=Sse()}){Uo(c);let l=null,A=!1;t.client!=null&&(l=t.client.globalObject,A=t.client.crossOriginIsolatedCapability);let u=jA(A),d=DI({startTime:u}),f={controller:new oh(c),request:t,timingInfo:d,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:s,processResponseEndOfBody:i,taskDestination:l,crossOriginIsolatedCapability:A};return Uo(!t.body||t.body.stream),t.window==="client"&&(t.window=t.client?.globalObject?.constructor?.name==="Window"?t.client:"no-window"),t.origin==="client"&&(t.origin=t.client.origin),t.policyContainer==="client"&&(t.client!=null?t.policyContainer=Yie(t.client.policyContainer):t.policyContainer=Gie()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,yse.has(t.destination),Fk(f).catch(m=>{f.controller.terminate(m)}),f.controller}o(Uk,"fetching");async function Fk(t,e=!1){let r=t.request,n=null;if(r.localURLsOnly&&!cse(Ii(r))&&(n=ze("local URLs only")),Xie(r),Jie(r)==="blocked"&&(n=ze("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=rse(r)),n===null&&(n=await(async()=>{let s=Ii(r);return PI(s,r.url)&&r.responseTainting==="basic"||s.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await Dk(t)):r.mode==="same-origin"?ze('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?ze('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await Dk(t)):TI(Ii(r))?(r.responseTainting="cors",await qk(t)):ze("URL scheme must be a HTTP(S) scheme")})()),e)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=SI(n,"basic"):r.responseTainting==="cors"?n=SI(n,"cors"):r.responseTainting==="opaque"?n=SI(n,"opaque"):Uo(!1));let i=n.status===0?n:n.internalResponse;if(i.urlList.length===0&&i.urlList.push(...r.urlList),r.timingAllowFailed||(n.timingAllowPassed=!0),n.type==="opaque"&&i.status===206&&i.rangeRequested&&!r.headers.contains("range",!0)&&(n=i=ze()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||Mk.includes(i.status))&&(i.body=null,t.controller.dump=!0),r.integrity){let s=o(c=>vI(t,ze(c)),"processBodyError");if(r.responseTainting==="opaque"||n.body==null){s(n.error);return}let a=o(c=>{if(!jie(c,r.integrity)){s("integrity mismatch");return}n.body=OI(c)[0],vI(t,n)},"processBody");await ose(n.body,a,s)}else vI(t,n)}o(Fk,"mainFetch");function Dk(t){if(Lo(t)&&t.request.redirectCount===0)return Promise.resolve(rh(t));let{request:e}=t,{protocol:r}=Ii(e);switch(r){case"about:":return Promise.resolve(ze("about scheme is not supported"));case"blob:":{RI||(RI=require("node:buffer").resolveObjectURL);let n=Ii(e);if(n.search.length!==0)return Promise.resolve(ze("NetworkError when attempting to fetch resource."));let i=RI(n.toString());if(e.method!=="GET"||!ise(i))return Promise.resolve(ze("invalid method"));let s=nh(),a=i.size,c=ih(`${a}`),l=i.type;if(e.headersList.contains("range",!0)){s.rangeRequested=!0;let A=e.headersList.get("range",!0),u=use(A,!0);if(u==="failure")return Promise.resolve(ze("failed to fetch the data URL"));let{rangeStartValue:d,rangeEndValue:f}=u;if(d===null)d=a-f,f=d+f-1;else{if(d>=a)return Promise.resolve(ze("Range start is greater than the blob's size."));(f===null||f>=a)&&(f=a-1)}let m=i.slice(d,f,l),C=vk(m);s.body=C[0];let Q=ih(`${m.size}`),S=dse(d,f,a);s.status=206,s.statusText="Partial Content",s.headersList.set("content-length",Q,!0),s.headersList.set("content-type",l,!0),s.headersList.set("content-range",S,!0)}else{let A=vk(i);s.statusText="OK",s.body=A[0],s.headersList.set("content-length",c,!0),s.headersList.set("content-type",l,!0)}return Promise.resolve(s)}case"data:":{let n=Ii(e),i=wse(n);if(i==="failure")return Promise.resolve(ze("failed to fetch the data URL"));let s=Nse(i.mimeType);return Promise.resolve(nh({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:s}]],body:OI(i.body)[0]}))}case"file:":return Promise.resolve(ze("not implemented... yet..."));case"http:":case"https:":return qk(t).catch(n=>ze(n));default:return Promise.resolve(ze("unknown scheme"))}}o(Dk,"schemeFetch");function Ose(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(Ose,"finalizeResponse");function vI(t,e){let r=t.timingInfo,n=o(()=>{let s=Date.now();t.request.destination==="document"&&(t.controller.fullTimingInfo=r),t.controller.reportTimingSteps=()=>{if(t.request.url.protocol!=="https:")return;r.endTime=s;let c=e.cacheState,l=e.bodyInfo;e.timingAllowPassed||(r=DI(r),c="");let A=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){A=e.status;let u=hse(e.headersList);u!=="failure"&&(l.contentType=xse(u))}t.request.initiatorType!=null&&Lk(r,t.request.url.href,t.request.initiatorType,globalThis,c,l,A)};let a=o(()=>{t.request.done=!0,t.processResponseEndOfBody!=null&&queueMicrotask(()=>t.processResponseEndOfBody(e)),t.request.initiatorType!=null&&t.controller.reportTimingSteps()},"processResponseEndOfBodyTask");queueMicrotask(()=>a())},"processResponseEndOfBody");t.processResponse!=null&&queueMicrotask(()=>{t.processResponse(e),t.processResponse=null});let i=e.type==="error"?e:e.internalResponse??e;i.body==null?n():Ise(i.body.stream,()=>{n()})}o(vI,"fetchFinale");async function qk(t){let e=t.request,r=null,n=null,i=t.timingInfo;if(e.serviceWorkers,r===null){if(e.redirect==="follow"&&(e.serviceWorkers="none"),n=r=await Hk(t),e.responseTainting==="cors"&&ese(e,r)==="failure")return ze("cors failure");Vie(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&tse(e.origin,e.client,e.destination,n)==="blocked"?ze("blocked"):(Ok.has(n.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=ze("unexpected redirect"):e.redirect==="manual"?r=n:e.redirect==="follow"?r=await Mse(t,r):Uo(!1)),r.timingInfo=i,r)}o(qk,"httpFetch");function Mse(t,e){let r=t.request,n=e.internalResponse?e.internalResponse:e,i;try{if(i=$ie(n,Ii(r).hash),i==null)return e}catch(a){return Promise.resolve(ze(a))}if(!TI(i))return Promise.resolve(ze("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(ze("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(i.username||i.password)&&!PI(r,i))return Promise.resolve(ze('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(i.username||i.password))return Promise.resolve(ze('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(ze());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!vse.includes(r.method)){r.method="GET",r.body=null;for(let a of gse)r.headersList.delete(a)}PI(Ii(r),i)||(r.headersList.delete("authorization",!0),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie",!0),r.headersList.delete("host",!0)),r.body!=null&&(Uo(r.body.source!=null),r.body=OI(r.body.source)[0]);let s=t.timingInfo;return s.redirectEndTime=s.postRedirectStartTime=jA(t.crossOriginIsolatedCapability),s.redirectStartTime===0&&(s.redirectStartTime=s.startTime),r.urlList.push(i),Kie(r,n),Fk(t,!0)}o(Mse,"httpRedirectFetch");async function Hk(t,e=!1,r=!1){let n=t.request,i=null,s=null,a=null,c=null,l=!1;n.window==="no-window"&&n.redirect==="error"?(i=t,s=n):(s=zie(n),i={...t},i.request=s);let A=n.credentials==="include"||n.credentials==="same-origin"&&n.responseTainting==="basic",u=s.body?s.body.length:null,d=null;if(s.body==null&&["POST","PUT"].includes(s.method)&&(d="0"),u!=null&&(d=ih(`${u}`)),d!=null&&s.headersList.append("content-length",d,!0),u!=null&&s.keepalive,s.referrer instanceof URL&&s.headersList.append("referer",ih(s.referrer.href),!0),Wie(s),Zie(s),s.headersList.contains("user-agent",!0)||s.headersList.append("user-agent",Pse),s.cache==="default"&&(s.headersList.contains("if-modified-since",!0)||s.headersList.contains("if-none-match",!0)||s.headersList.contains("if-unmodified-since",!0)||s.headersList.contains("if-match",!0)||s.headersList.contains("if-range",!0))&&(s.cache="no-store"),s.cache==="no-cache"&&!s.preventNoCacheCacheControlHeaderModification&&!s.headersList.contains("cache-control",!0)&&s.headersList.append("cache-control","max-age=0",!0),(s.cache==="no-store"||s.cache==="reload")&&(s.headersList.contains("pragma",!0)||s.headersList.append("pragma","no-cache",!0),s.headersList.contains("cache-control",!0)||s.headersList.append("cache-control","no-cache",!0)),s.headersList.contains("range",!0)&&s.headersList.append("accept-encoding","identity",!0),s.headersList.contains("accept-encoding",!0)||(lse(Ii(s))?s.headersList.append("accept-encoding","br, gzip, deflate",!0):s.headersList.append("accept-encoding","gzip, deflate",!0)),s.headersList.delete("host",!0),c==null&&(s.cache="no-store"),s.cache!=="no-store"&&s.cache,a==null){if(s.cache==="only-if-cached")return ze("only if cached");let f=await kse(i,A,r);!mse.has(s.method)&&f.status>=200&&f.status<=399,l&&f.status,a==null&&(a=f)}if(a.urlList=[...s.urlList],s.headersList.contains("range",!0)&&(a.rangeRequested=!0),a.requestIncludesCredentials=A,a.status===407)return n.window==="no-window"?ze():Lo(t)?rh(t):ze("proxy authentication required");if(a.status===421&&!r&&(n.body==null||n.body.source!=null)){if(Lo(t))return rh(t);t.controller.connection.destroy(),a=await Hk(t,e,!0)}return a}o(Hk,"httpNetworkOrCacheFetch");async function kse(t,e=!1,r=!1){Uo(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(C,Q=!0){this.destroyed||(this.destroyed=!0,Q&&this.abort?.(C??new DOMException("The operation was aborted.","AbortError")))}};let n=t.request,i=null,s=t.timingInfo;null==null&&(n.cache="no-store");let c=r?"yes":"no";n.mode;let l=null;if(n.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(n.body!=null){let C=o(async function*(w){Lo(t)||(yield w,t.processRequestBodyChunkLength?.(w.byteLength))},"processBodyChunk"),Q=o(()=>{Lo(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),S=o(w=>{Lo(t)||(w.name==="AbortError"?t.controller.abort():t.controller.terminate(w))},"processBodyError");l=async function*(){try{for await(let w of n.body.stream)yield*C(w);Q()}catch(w){S(w)}}()}try{let{body:C,status:Q,statusText:S,headersList:w,socket:R}=await m({body:l});if(R)i=nh({status:Q,statusText:S,headersList:w,socket:R});else{let T=C[Symbol.asyncIterator]();t.controller.next=()=>T.next(),i=nh({status:Q,statusText:S,headersList:w})}}catch(C){return C.name==="AbortError"?(t.controller.connection.destroy(),rh(t,C)):ze(C)}let A=o(async()=>{await t.controller.resume()},"pullAlgorithm"),u=o(C=>{Lo(t)||t.controller.abort(C)},"cancelAlgorithm"),d=new ReadableStream({async start(C){t.controller.controller=C},async pull(C){await A(C)},async cancel(C){await u(C)},type:"bytes"});i.body={stream:d,source:null,length:null},t.controller.onAborted=f,t.controller.on("terminated",f),t.controller.resume=async()=>{for(;;){let C,Q;try{let{done:w,value:R}=await t.controller.next();if(_k(t))break;C=w?void 0:R}catch(w){t.controller.ended&&!s.encodedBodySize?C=void 0:(C=w,Q=!0)}if(C===void 0){ase(t.controller.controller),Ose(t,i);return}if(s.decodedBodySize+=C?.byteLength??0,Q){t.controller.terminate(C);return}let S=new Uint8Array(C);if(S.byteLength&&t.controller.controller.enqueue(S),Qse(d)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function f(C){_k(t)?(i.aborted=!0,sh(d)&&t.controller.controller.error(t.controller.serializedAbortReason)):sh(d)&&t.controller.controller.error(new TypeError("terminated",{cause:sse(C)?C:void 0})),t.controller.connection.destroy()}return o(f,"onAborted"),i;function m({body:C}){let Q=Ii(n),S=t.controller.dispatcher;return new Promise((w,R)=>S.dispatch({path:Q.pathname+Q.search,origin:Q.origin,method:n.method,body:S.isMockActive?n.body&&(n.body.source||n.body.stream):C,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(T){let{connection:L}=t.controller;s.finalConnectionTimingInfo=Ase(void 0,s.postRedirectStartTime,t.crossOriginIsolatedCapability),L.destroyed?T(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",T),this.abort=L.abort=T),s.finalNetworkRequestStartTime=jA(t.crossOriginIsolatedCapability)},onResponseStarted(){s.finalNetworkResponseStartTime=jA(t.crossOriginIsolatedCapability)},onHeaders(T,L,W,de){if(T<200)return;let le="",Te=new Rk;for(let fe=0;fe<L.length;fe+=2)Te.append(Pk(L[fe]),L[fe+1].toString("latin1"),!0);le=Te.get("location",!0),this.body=new Ese({read:W});let Oe=[],He=le&&n.redirect==="follow"&&Ok.has(T);if(n.method!=="HEAD"&&n.method!=="CONNECT"&&!Mk.includes(T)&&!He){let fe=Te.get("content-encoding",!0),Ge=fe?fe.toLowerCase().split(","):[],ai=5;if(Ge.length>ai)return R(new Error(`too many content-encodings in response: ${Ge.length}, maximum allowed is ${ai}`)),!0;for(let Gi=Ge.length-1;Gi>=0;--Gi){let Yi=Ge[Gi].trim();if(Yi==="x-gzip"||Yi==="gzip")Oe.push(Ms.createGunzip({flush:Ms.constants.Z_SYNC_FLUSH,finishFlush:Ms.constants.Z_SYNC_FLUSH}));else if(Yi==="deflate")Oe.push(pse({flush:Ms.constants.Z_SYNC_FLUSH,finishFlush:Ms.constants.Z_SYNC_FLUSH}));else if(Yi==="br")Oe.push(Ms.createBrotliDecompress({flush:Ms.constants.BROTLI_OPERATION_FLUSH,finishFlush:Ms.constants.BROTLI_OPERATION_FLUSH}));else{Oe.length=0;break}}}let Xe=this.onError.bind(this);return w({status:T,statusText:de,headersList:Te,body:Oe.length?Bse(this.body,...Oe,fe=>{fe&&this.onError(fe)}).on("error",Xe):this.body.on("error",Xe)}),!0},onData(T){if(t.controller.dump)return;let L=T;return s.encodedBodySize+=L.byteLength,this.body.push(L)},onComplete(){this.abort&&t.controller.off("terminated",this.abort),t.controller.onAborted&&t.controller.off("terminated",t.controller.onAborted),t.controller.ended=!0,this.body.push(null)},onError(T){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(T),t.controller.terminate(T),R(T)},onUpgrade(T,L,W){if(T!==101)return;let de=new Rk;for(let le=0;le<L.length;le+=2)de.append(Pk(L[le]),L[le+1].toString("latin1"),!0);return w({status:T,statusText:_se[T],headersList:de,socket:W}),!0}}))}o(m,"dispatch")}o(kse,"httpNetworkFetch");zk.exports={fetch:Tse,Fetch:oh,fetching:Uk,finalizeAndReportTiming:kk}});var MI=g((wje,jk)=>{"use strict";jk.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")}});var Yk=g((Nje,Gk)=>{"use strict";var{webidl:Gr}=$t(),ah=Symbol("ProgressEvent state"),kI=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=Gr.converters.DOMString(e,"ProgressEvent constructor","type"),r=Gr.converters.ProgressEventInit(r??{}),super(e,r),this[ah]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return Gr.brandCheck(this,t),this[ah].lengthComputable}get loaded(){return Gr.brandCheck(this,t),this[ah].loaded}get total(){return Gr.brandCheck(this,t),this[ah].total}};Gr.converters.ProgressEventInit=Gr.dictionaryConverter([{key:"lengthComputable",converter:Gr.converters.boolean,defaultValue:()=>!1},{key:"loaded",converter:Gr.converters["unsigned long long"],defaultValue:()=>0},{key:"total",converter:Gr.converters["unsigned long long"],defaultValue:()=>0},{key:"bubbles",converter:Gr.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:Gr.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:Gr.converters.boolean,defaultValue:()=>!1}]);Gk.exports={ProgressEvent:kI}});var Vk=g((Sje,Jk)=>{"use strict";function Lse(t){if(!t)return"failure";switch(t.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"}}o(Lse,"getEncoding");Jk.exports={getEncoding:Lse}});var rL=g((_je,tL)=>{"use strict";var{kState:dc,kError:LI,kResult:Wk,kAborted:YA,kLastProgressEventFired:UI}=MI(),{ProgressEvent:Use}=Yk(),{getEncoding:$k}=Vk(),{serializeAMimeType:Fse,parseMIMEType:Kk}=Br(),{types:qse}=require("node:util"),{StringDecoder:Xk}=require("string_decoder"),{btoa:Zk}=require("node:buffer"),Hse={enumerable:!0,writable:!1,configurable:!1};function zse(t,e,r,n){if(t[dc]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[dc]="loading",t[Wk]=null,t[LI]=null;let s=e.stream().getReader(),a=[],c=s.read(),l=!0;(async()=>{for(;!t[YA];)try{let{done:A,value:u}=await c;if(l&&!t[YA]&&queueMicrotask(()=>{ks("loadstart",t)}),l=!1,!A&&qse.isUint8Array(u))a.push(u),(t[UI]===void 0||Date.now()-t[UI]>=50)&&!t[YA]&&(t[UI]=Date.now(),queueMicrotask(()=>{ks("progress",t)})),c=s.read();else if(A){queueMicrotask(()=>{t[dc]="done";try{let d=jse(a,r,e.type,n);if(t[YA])return;t[Wk]=d,ks("load",t)}catch(d){t[LI]=d,ks("error",t)}t[dc]!=="loading"&&ks("loadend",t)});break}}catch(A){if(t[YA])return;queueMicrotask(()=>{t[dc]="done",t[LI]=A,ks("error",t),t[dc]!=="loading"&&ks("loadend",t)});break}})()}o(zse,"readOperation");function ks(t,e){let r=new Use(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(ks,"fireAProgressEvent");function jse(t,e,r,n){switch(e){case"DataURL":{let i="data:",s=Kk(r||"application/octet-stream");s!=="failure"&&(i+=Fse(s)),i+=";base64,";let a=new Xk("latin1");for(let c of t)i+=Zk(a.write(c));return i+=Zk(a.end()),i}case"Text":{let i="failure";if(n&&(i=$k(n)),i==="failure"&&r){let s=Kk(r);s!=="failure"&&(i=$k(s.parameters.get("charset")))}return i==="failure"&&(i="UTF-8"),Gse(t,i)}case"ArrayBuffer":return eL(t).buffer;case"BinaryString":{let i="",s=new Xk("latin1");for(let a of t)i+=s.write(a);return i+=s.end(),i}}}o(jse,"packageData");function Gse(t,e){let r=eL(t),n=Yse(r),i=0;n!==null&&(e=n,i=n==="UTF-8"?3:2);let s=r.slice(i);return new TextDecoder(e).decode(s)}o(Gse,"decode");function Yse(t){let[e,r,n]=t;return e===239&&r===187&&n===191?"UTF-8":e===254&&r===255?"UTF-16BE":e===255&&r===254?"UTF-16LE":null}o(Yse,"BOMSniffing");function eL(t){let e=t.reduce((n,i)=>n+i.byteLength,0),r=0;return t.reduce((n,i)=>(n.set(i,r),r+=i.byteLength,n),new Uint8Array(e))}o(eL,"combineByteSequences");tL.exports={staticPropertyDescriptors:Hse,readOperation:zse,fireAProgressEvent:ks}});var oL=g((Pje,sL)=>{"use strict";var{staticPropertyDescriptors:pc,readOperation:ch,fireAProgressEvent:nL}=rL(),{kState:Fo,kError:iL,kResult:lh,kEvents:De,kAborted:Jse}=MI(),{webidl:Ye}=$t(),{kEnumerableProperty:Qr}=Ee(),$n=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[Fo]="empty",this[lh]=null,this[iL]=null,this[De]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){Ye.brandCheck(this,t),Ye.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=Ye.converters.Blob(e,{strict:!1}),ch(this,e,"ArrayBuffer")}readAsBinaryString(e){Ye.brandCheck(this,t),Ye.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=Ye.converters.Blob(e,{strict:!1}),ch(this,e,"BinaryString")}readAsText(e,r=void 0){Ye.brandCheck(this,t),Ye.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=Ye.converters.Blob(e,{strict:!1}),r!==void 0&&(r=Ye.converters.DOMString(r,"FileReader.readAsText","encoding")),ch(this,e,"Text",r)}readAsDataURL(e){Ye.brandCheck(this,t),Ye.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=Ye.converters.Blob(e,{strict:!1}),ch(this,e,"DataURL")}abort(){if(this[Fo]==="empty"||this[Fo]==="done"){this[lh]=null;return}this[Fo]==="loading"&&(this[Fo]="done",this[lh]=null),this[Jse]=!0,nL("abort",this),this[Fo]!=="loading"&&nL("loadend",this)}get readyState(){switch(Ye.brandCheck(this,t),this[Fo]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return Ye.brandCheck(this,t),this[lh]}get error(){return Ye.brandCheck(this,t),this[iL]}get onloadend(){return Ye.brandCheck(this,t),this[De].loadend}set onloadend(e){Ye.brandCheck(this,t),this[De].loadend&&this.removeEventListener("loadend",this[De].loadend),typeof e=="function"?(this[De].loadend=e,this.addEventListener("loadend",e)):this[De].loadend=null}get onerror(){return Ye.brandCheck(this,t),this[De].error}set onerror(e){Ye.brandCheck(this,t),this[De].error&&this.removeEventListener("error",this[De].error),typeof e=="function"?(this[De].error=e,this.addEventListener("error",e)):this[De].error=null}get onloadstart(){return Ye.brandCheck(this,t),this[De].loadstart}set onloadstart(e){Ye.brandCheck(this,t),this[De].loadstart&&this.removeEventListener("loadstart",this[De].loadstart),typeof e=="function"?(this[De].loadstart=e,this.addEventListener("loadstart",e)):this[De].loadstart=null}get onprogress(){return Ye.brandCheck(this,t),this[De].progress}set onprogress(e){Ye.brandCheck(this,t),this[De].progress&&this.removeEventListener("progress",this[De].progress),typeof e=="function"?(this[De].progress=e,this.addEventListener("progress",e)):this[De].progress=null}get onload(){return Ye.brandCheck(this,t),this[De].load}set onload(e){Ye.brandCheck(this,t),this[De].load&&this.removeEventListener("load",this[De].load),typeof e=="function"?(this[De].load=e,this.addEventListener("load",e)):this[De].load=null}get onabort(){return Ye.brandCheck(this,t),this[De].abort}set onabort(e){Ye.brandCheck(this,t),this[De].abort&&this.removeEventListener("abort",this[De].abort),typeof e=="function"?(this[De].abort=e,this.addEventListener("abort",e)):this[De].abort=null}};$n.EMPTY=$n.prototype.EMPTY=0;$n.LOADING=$n.prototype.LOADING=1;$n.DONE=$n.prototype.DONE=2;Object.defineProperties($n.prototype,{EMPTY:pc,LOADING:pc,DONE:pc,readAsArrayBuffer:Qr,readAsBinaryString:Qr,readAsText:Qr,readAsDataURL:Qr,abort:Qr,readyState:Qr,result:Qr,error:Qr,onloadstart:Qr,onprogress:Qr,onload:Qr,onabort:Qr,onerror:Qr,onloadend:Qr,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties($n,{EMPTY:pc,LOADING:pc,DONE:pc});sL.exports={FileReader:$n}});var Ah=g((Tje,aL)=>{"use strict";aL.exports={kConstruct:nt().kConstruct}});var AL=g((Oje,lL)=>{"use strict";var Vse=require("node:assert"),{URLSerializer:cL}=Br(),{isValidHeaderName:Wse}=Ur();function $se(t,e,r=!1){let n=cL(t,r),i=cL(e,r);return n===i}o($se,"urlEquals");function Kse(t){Vse(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),Wse(r)&&e.push(r);return e}o(Kse,"getFieldValues");lL.exports={urlEquals:$se,getFieldValues:Kse}});var pL=g((kje,dL)=>{"use strict";var{kConstruct:Xse}=Ah(),{urlEquals:Zse,getFieldValues:FI}=AL(),{kEnumerableProperty:qo,isDisturbed:eoe}=Ee(),{webidl:te}=$t(),{Response:toe,cloneResponse:roe,fromInnerResponse:noe}=zA(),{Request:ss,fromInnerRequest:ioe}=uc(),{kState:Kn}=bs(),{fetching:soe}=GA(),{urlIsHttpHttpsScheme:uh,createDeferredPromise:hc,readAllBytes:ooe}=Ur(),qI=require("node:assert"),dh=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==Xse&&te.illegalConstructor(),te.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,r={}){te.brandCheck(this,t);let n="Cache.match";te.argumentLengthCheck(arguments,1,n),e=te.converters.RequestInfo(e,n,"request"),r=te.converters.CacheQueryOptions(r,n,"options");let i=this.#r(e,r,1);if(i.length!==0)return i[0]}async matchAll(e=void 0,r={}){te.brandCheck(this,t);let n="Cache.matchAll";return e!==void 0&&(e=te.converters.RequestInfo(e,n,"request")),r=te.converters.CacheQueryOptions(r,n,"options"),this.#r(e,r)}async add(e){te.brandCheck(this,t);let r="Cache.add";te.argumentLengthCheck(arguments,1,r),e=te.converters.RequestInfo(e,r,"request");let n=[e];return await this.addAll(n)}async addAll(e){te.brandCheck(this,t);let r="Cache.addAll";te.argumentLengthCheck(arguments,1,r);let n=[],i=[];for(let f of e){if(f===void 0)throw te.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(f=te.converters.RequestInfo(f),typeof f=="string")continue;let m=f[Kn];if(!uh(m.url)||m.method!=="GET")throw te.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let s=[];for(let f of e){let m=new ss(f)[Kn];if(!uh(m.url))throw te.errors.exception({header:r,message:"Expected http/s scheme."});m.initiator="fetch",m.destination="subresource",i.push(m);let C=hc();s.push(soe({request:m,processResponse(Q){if(Q.type==="error"||Q.status===206||Q.status<200||Q.status>299)C.reject(te.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(Q.headersList.contains("vary")){let S=FI(Q.headersList.get("vary"));for(let w of S)if(w==="*"){C.reject(te.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let R of s)R.abort();return}}},processResponseEndOfBody(Q){if(Q.aborted){C.reject(new DOMException("aborted","AbortError"));return}C.resolve(Q)}})),n.push(C.promise)}let c=await Promise.all(n),l=[],A=0;for(let f of c){let m={type:"put",request:i[A],response:f};l.push(m),A++}let u=hc(),d=null;try{this.#t(l)}catch(f){d=f}return queueMicrotask(()=>{d===null?u.resolve(void 0):u.reject(d)}),u.promise}async put(e,r){te.brandCheck(this,t);let n="Cache.put";te.argumentLengthCheck(arguments,2,n),e=te.converters.RequestInfo(e,n,"request"),r=te.converters.Response(r,n,"response");let i=null;if(e instanceof ss?i=e[Kn]:i=new ss(e)[Kn],!uh(i.url)||i.method!=="GET")throw te.errors.exception({header:n,message:"Expected an http/s scheme when method is not GET"});let s=r[Kn];if(s.status===206)throw te.errors.exception({header:n,message:"Got 206 status"});if(s.headersList.contains("vary")){let m=FI(s.headersList.get("vary"));for(let C of m)if(C==="*")throw te.errors.exception({header:n,message:"Got * vary field value"})}if(s.body&&(eoe(s.body.stream)||s.body.stream.locked))throw te.errors.exception({header:n,message:"Response body is locked or disturbed"});let a=roe(s),c=hc();if(s.body!=null){let C=s.body.stream.getReader();ooe(C).then(c.resolve,c.reject)}else c.resolve(void 0);let l=[],A={type:"put",request:i,response:a};l.push(A);let u=await c.promise;a.body!=null&&(a.body.source=u);let d=hc(),f=null;try{this.#t(l)}catch(m){f=m}return queueMicrotask(()=>{f===null?d.resolve():d.reject(f)}),d.promise}async delete(e,r={}){te.brandCheck(this,t);let n="Cache.delete";te.argumentLengthCheck(arguments,1,n),e=te.converters.RequestInfo(e,n,"request"),r=te.converters.CacheQueryOptions(r,n,"options");let i=null;if(e instanceof ss){if(i=e[Kn],i.method!=="GET"&&!r.ignoreMethod)return!1}else qI(typeof e=="string"),i=new ss(e)[Kn];let s=[],a={type:"delete",request:i,options:r};s.push(a);let c=hc(),l=null,A;try{A=this.#t(s)}catch(u){l=u}return queueMicrotask(()=>{l===null?c.resolve(!!A?.length):c.reject(l)}),c.promise}async keys(e=void 0,r={}){te.brandCheck(this,t);let n="Cache.keys";e!==void 0&&(e=te.converters.RequestInfo(e,n,"request")),r=te.converters.CacheQueryOptions(r,n,"options");let i=null;if(e!==void 0)if(e instanceof ss){if(i=e[Kn],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new ss(e)[Kn]);let s=hc(),a=[];if(e===void 0)for(let c of this.#e)a.push(c[0]);else{let c=this.#i(i,r);for(let l of c)a.push(l[0])}return queueMicrotask(()=>{let c=[];for(let l of a){let A=ioe(l,new AbortController().signal,"immutable");c.push(A)}s.resolve(Object.freeze(c))}),s.promise}#t(e){let r=this.#e,n=[...r],i=[],s=[];try{for(let a of e){if(a.type!=="delete"&&a.type!=="put")throw te.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#i(a.request,a.options,i).length)throw new DOMException("???","InvalidStateError");let c;if(a.type==="delete"){if(c=this.#i(a.request,a.options),c.length===0)return[];for(let l of c){let A=r.indexOf(l);qI(A!==-1),r.splice(A,1)}}else if(a.type==="put"){if(a.response==null)throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let l=a.request;if(!uh(l.url))throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(l.method!=="GET")throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw te.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#i(a.request);for(let A of c){let u=r.indexOf(A);qI(u!==-1),r.splice(u,1)}r.push([a.request,a.response]),i.push([a.request,a.response])}s.push([a.request,a.response])}return s}catch(a){throw this.#e.length=0,this.#e=n,a}}#i(e,r,n){let i=[],s=n??this.#e;for(let a of s){let[c,l]=a;this.#n(e,c,l,r)&&i.push(a)}return i}#n(e,r,n=null,i){let s=new URL(e.url),a=new URL(r.url);if(i?.ignoreSearch&&(a.search="",s.search=""),!Zse(s,a,!0))return!1;if(n==null||i?.ignoreVary||!n.headersList.contains("vary"))return!0;let c=FI(n.headersList.get("vary"));for(let l of c){if(l==="*")return!1;let A=r.headersList.get(l),u=e.headersList.get(l);if(A!==u)return!1}return!0}#r(e,r,n=1/0){let i=null;if(e!==void 0)if(e instanceof ss){if(i=e[Kn],i.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(i=new ss(e)[Kn]);let s=[];if(e===void 0)for(let c of this.#e)s.push(c[1]);else{let c=this.#i(i,r);for(let l of c)s.push(l[1])}let a=[];for(let c of s){let l=noe(c,"immutable");if(a.push(l.clone()),a.length>=n)break}return Object.freeze(a)}};Object.defineProperties(dh.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:qo,matchAll:qo,add:qo,addAll:qo,put:qo,delete:qo,keys:qo});var uL=[{key:"ignoreSearch",converter:te.converters.boolean,defaultValue:()=>!1},{key:"ignoreMethod",converter:te.converters.boolean,defaultValue:()=>!1},{key:"ignoreVary",converter:te.converters.boolean,defaultValue:()=>!1}];te.converters.CacheQueryOptions=te.dictionaryConverter(uL);te.converters.MultiCacheQueryOptions=te.dictionaryConverter([...uL,{key:"cacheName",converter:te.converters.DOMString}]);te.converters.Response=te.interfaceConverter(toe);te.converters["sequence<RequestInfo>"]=te.sequenceConverter(te.converters.RequestInfo);dL.exports={Cache:dh}});var fL=g((Uje,hL)=>{"use strict";var{kConstruct:JA}=Ah(),{Cache:ph}=pL(),{webidl:rr}=$t(),{kEnumerableProperty:VA}=Ee(),hh=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==JA&&rr.illegalConstructor(),rr.util.markAsUncloneable(this)}async match(e,r={}){if(rr.brandCheck(this,t),rr.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=rr.converters.RequestInfo(e),r=rr.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new ph(JA,n).match(e,r)}}else for(let n of this.#e.values()){let s=await new ph(JA,n).match(e,r);if(s!==void 0)return s}}async has(e){rr.brandCheck(this,t);let r="CacheStorage.has";return rr.argumentLengthCheck(arguments,1,r),e=rr.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){rr.brandCheck(this,t);let r="CacheStorage.open";if(rr.argumentLengthCheck(arguments,1,r),e=rr.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let i=this.#e.get(e);return new ph(JA,i)}let n=[];return this.#e.set(e,n),new ph(JA,n)}async delete(e){rr.brandCheck(this,t);let r="CacheStorage.delete";return rr.argumentLengthCheck(arguments,1,r),e=rr.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return rr.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(hh.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:VA,has:VA,open:VA,delete:VA,keys:VA});hL.exports={CacheStorage:hh}});var gL=g((qje,mL)=>{"use strict";mL.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var HI=g((Hje,IL)=>{"use strict";function aoe(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r>=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}o(aoe,"isCTLExcludingHtab");function yL(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);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")}}o(yL,"validateCookieName");function CL(t){let e=t.length,r=0;if(t[0]==='"'){if(e===1||t[e-1]!=='"')throw new Error("Invalid cookie value");--e,++r}for(;r<e;){let n=t.charCodeAt(r++);if(n<33||n>126||n===34||n===44||n===59||n===92)throw new Error("Invalid cookie value")}}o(CL,"validateCookieValue");function EL(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r<32||r===127||r===59)throw new Error("Invalid cookie path")}}o(EL,"validateCookiePath");function coe(t){if(t.startsWith("-")||t.endsWith(".")||t.endsWith("-"))throw new Error("Invalid cookie domain")}o(coe,"validateCookieDomain");var loe=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Aoe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],fh=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function BL(t){return typeof t=="number"&&(t=new Date(t)),`${loe[t.getUTCDay()]}, ${fh[t.getUTCDate()]} ${Aoe[t.getUTCMonth()]} ${t.getUTCFullYear()} ${fh[t.getUTCHours()]}:${fh[t.getUTCMinutes()]}:${fh[t.getUTCSeconds()]} GMT`}o(BL,"toIMFDate");function uoe(t){if(t<0)throw new Error("Invalid cookie max-age")}o(uoe,"validateCookieMaxAge");function doe(t){if(t.name.length===0)return null;yL(t.name),CL(t.value);let e=[`${t.name}=${t.value}`];t.name.startsWith("__Secure-")&&(t.secure=!0),t.name.startsWith("__Host-")&&(t.secure=!0,t.domain=null,t.path="/"),t.secure&&e.push("Secure"),t.httpOnly&&e.push("HttpOnly"),typeof t.maxAge=="number"&&(uoe(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(coe(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(EL(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${BL(t.expires)}`),t.sameSite&&e.push(`SameSite=${t.sameSite}`);for(let r of t.unparsed){if(!r.includes("="))throw new Error("Invalid unparsed");let[n,...i]=r.split("=");e.push(`${n.trim()}=${i.join("=")}`)}return e.join("; ")}o(doe,"stringify");IL.exports={isCTLExcludingHtab:aoe,validateCookieName:yL,validateCookiePath:EL,validateCookieValue:CL,toIMFDate:BL,stringify:doe}});var QL=g((jje,bL)=>{"use strict";var{maxNameValuePairSize:poe,maxAttributeValueSize:hoe}=gL(),{isCTLExcludingHtab:foe}=HI(),{collectASequenceOfCodePointsFast:mh}=Br(),moe=require("node:assert");function goe(t){if(foe(t))return null;let e="",r="",n="",i="";if(t.includes(";")){let s={position:0};e=mh(";",t,s),r=t.slice(s.position)}else e=t;if(!e.includes("="))i=e;else{let s={position:0};n=mh("=",e,s),i=e.slice(s.position+1)}return n=n.trim(),i=i.trim(),n.length+i.length>poe?null:{name:n,value:i,...fc(r)}}o(goe,"parseSetCookie");function fc(t,e={}){if(t.length===0)return e;moe(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=mh(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",i="";if(r.includes("=")){let a={position:0};n=mh("=",r,a),i=r.slice(a.position+1)}else n=r;if(n=n.trim(),i=i.trim(),i.length>hoe)return fc(t,e);let s=n.toLowerCase();if(s==="expires"){let a=new Date(i);e.expires=a}else if(s==="max-age"){let a=i.charCodeAt(0);if((a<48||a>57)&&i[0]!=="-"||!/^\d+$/.test(i))return fc(t,e);let c=Number(i);e.maxAge=c}else if(s==="domain"){let a=i;a[0]==="."&&(a=a.slice(1)),a=a.toLowerCase(),e.domain=a}else if(s==="path"){let a="";i.length===0||i[0]!=="/"?a="/":a=i,e.path=a}else if(s==="secure")e.secure=!0;else if(s==="httponly")e.httpOnly=!0;else if(s==="samesite"){let a="Default",c=i.toLowerCase();c.includes("none")&&(a="None"),c.includes("strict")&&(a="Strict"),c.includes("lax")&&(a="Lax"),e.sameSite=a}else e.unparsed??=[],e.unparsed.push(`${n}=${i}`);return fc(t,e)}o(fc,"parseUnparsedAttributes");bL.exports={parseSetCookie:goe,parseUnparsedAttributes:fc}});var xL=g((Yje,NL)=>{"use strict";var{parseSetCookie:yoe}=QL(),{stringify:Coe}=HI(),{webidl:Ne}=$t(),{Headers:gh}=Mo();function Eoe(t){Ne.argumentLengthCheck(arguments,1,"getCookies"),Ne.brandCheck(t,gh,{strict:!1});let e=t.get("cookie"),r={};if(!e)return r;for(let n of e.split(";")){let[i,...s]=n.split("=");r[i.trim()]=s.join("=")}return r}o(Eoe,"getCookies");function Boe(t,e,r){Ne.brandCheck(t,gh,{strict:!1});let n="deleteCookie";Ne.argumentLengthCheck(arguments,2,n),e=Ne.converters.DOMString(e,n,"name"),r=Ne.converters.DeleteCookieAttributes(r),wL(t,{name:e,value:"",expires:new Date(0),...r})}o(Boe,"deleteCookie");function Ioe(t){Ne.argumentLengthCheck(arguments,1,"getSetCookies"),Ne.brandCheck(t,gh,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>yoe(r)):[]}o(Ioe,"getSetCookies");function wL(t,e){Ne.argumentLengthCheck(arguments,2,"setCookie"),Ne.brandCheck(t,gh,{strict:!1}),e=Ne.converters.Cookie(e);let r=Coe(e);r&&t.append("Set-Cookie",r)}o(wL,"setCookie");Ne.converters.DeleteCookieAttributes=Ne.dictionaryConverter([{converter:Ne.nullableConverter(Ne.converters.DOMString),key:"path",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters.DOMString),key:"domain",defaultValue:()=>null}]);Ne.converters.Cookie=Ne.dictionaryConverter([{converter:Ne.converters.DOMString,key:"name"},{converter:Ne.converters.DOMString,key:"value"},{converter:Ne.nullableConverter(t=>typeof t=="number"?Ne.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters.DOMString),key:"path",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters.boolean),key:"secure",defaultValue:()=>null},{converter:Ne.nullableConverter(Ne.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:Ne.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:Ne.sequenceConverter(Ne.converters.DOMString),key:"unparsed",defaultValue:()=>new Array(0)}]);NL.exports={getCookies:Eoe,deleteCookie:Boe,getSetCookies:Ioe,setCookie:wL}});var gc=g((Vje,RL)=>{"use strict";var{webidl:ee}=$t(),{kEnumerableProperty:wr}=Ee(),{kConstruct:SL}=nt(),{MessagePort:boe}=require("node:worker_threads"),mc=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===SL){super(arguments[1],arguments[2]),ee.util.markAsUncloneable(this);return}let n="MessageEvent constructor";ee.argumentLengthCheck(arguments,1,n),e=ee.converters.DOMString(e,n,"type"),r=ee.converters.MessageEventInit(r,n,"eventInitDict"),super(e,r),this.#e=r,ee.util.markAsUncloneable(this)}get data(){return ee.brandCheck(this,t),this.#e.data}get origin(){return ee.brandCheck(this,t),this.#e.origin}get lastEventId(){return ee.brandCheck(this,t),this.#e.lastEventId}get source(){return ee.brandCheck(this,t),this.#e.source}get ports(){return ee.brandCheck(this,t),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(e,r=!1,n=!1,i=null,s="",a="",c=null,l=[]){return ee.brandCheck(this,t),ee.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new t(e,{bubbles:r,cancelable:n,data:i,origin:s,lastEventId:a,source:c,ports:l})}static createFastMessageEvent(e,r){let n=new t(SL,e,r);return n.#e=r,n.#e.data??=null,n.#e.origin??="",n.#e.lastEventId??="",n.#e.source??=null,n.#e.ports??=[],n}},{createFastMessageEvent:Qoe}=mc;delete mc.createFastMessageEvent;var yh=class t extends Event{static{o(this,"CloseEvent")}#e;constructor(e,r={}){let n="CloseEvent constructor";ee.argumentLengthCheck(arguments,1,n),e=ee.converters.DOMString(e,n,"type"),r=ee.converters.CloseEventInit(r),super(e,r),this.#e=r,ee.util.markAsUncloneable(this)}get wasClean(){return ee.brandCheck(this,t),this.#e.wasClean}get code(){return ee.brandCheck(this,t),this.#e.code}get reason(){return ee.brandCheck(this,t),this.#e.reason}},Ch=class t extends Event{static{o(this,"ErrorEvent")}#e;constructor(e,r){let n="ErrorEvent constructor";ee.argumentLengthCheck(arguments,1,n),super(e,r),ee.util.markAsUncloneable(this),e=ee.converters.DOMString(e,n,"type"),r=ee.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return ee.brandCheck(this,t),this.#e.message}get filename(){return ee.brandCheck(this,t),this.#e.filename}get lineno(){return ee.brandCheck(this,t),this.#e.lineno}get colno(){return ee.brandCheck(this,t),this.#e.colno}get error(){return ee.brandCheck(this,t),this.#e.error}};Object.defineProperties(mc.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:wr,origin:wr,lastEventId:wr,source:wr,ports:wr,initMessageEvent:wr});Object.defineProperties(yh.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:wr,code:wr,wasClean:wr});Object.defineProperties(Ch.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:wr,filename:wr,lineno:wr,colno:wr,error:wr});ee.converters.MessagePort=ee.interfaceConverter(boe);ee.converters["sequence<MessagePort>"]=ee.sequenceConverter(ee.converters.MessagePort);var zI=[{key:"bubbles",converter:ee.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:ee.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:ee.converters.boolean,defaultValue:()=>!1}];ee.converters.MessageEventInit=ee.dictionaryConverter([...zI,{key:"data",converter:ee.converters.any,defaultValue:()=>null},{key:"origin",converter:ee.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:ee.converters.DOMString,defaultValue:()=>""},{key:"source",converter:ee.nullableConverter(ee.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:ee.converters["sequence<MessagePort>"],defaultValue:()=>new Array(0)}]);ee.converters.CloseEventInit=ee.dictionaryConverter([...zI,{key:"wasClean",converter:ee.converters.boolean,defaultValue:()=>!1},{key:"code",converter:ee.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:ee.converters.USVString,defaultValue:()=>""}]);ee.converters.ErrorEventInit=ee.dictionaryConverter([...zI,{key:"message",converter:ee.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:ee.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:ee.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:ee.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:ee.converters.any}]);RL.exports={MessageEvent:mc,CloseEvent:yh,ErrorEvent:Ch,createFastMessageEvent:Qoe}});var Ho=g(($je,_L)=>{"use strict";var woe="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",Noe={enumerable:!0,writable:!1,configurable:!1},xoe={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},Soe={NOT_SENT:0,PROCESSING:1,SENT:2},Roe={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},_oe=2**16-1,voe={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},Poe=Buffer.allocUnsafe(0),Doe={string:1,typedArray:2,arrayBuffer:3,blob:4};_L.exports={uid:woe,sentCloseFrameState:Soe,staticPropertyDescriptors:Noe,states:xoe,opcodes:Roe,maxUnsigned16Bit:_oe,parserStates:voe,emptyBuffer:Poe,sendHints:Doe}});var WA=g((Kje,vL)=>{"use strict";vL.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")}});var XA=g((Xje,FL)=>{"use strict";var{kReadyState:$A,kController:Toe,kResponse:Ooe,kBinaryType:Moe,kWebSocketURL:koe}=WA(),{states:KA,opcodes:Ls}=Ho(),{ErrorEvent:Loe,createFastMessageEvent:Uoe}=gc(),{isUtf8:Foe}=require("node:buffer"),{collectASequenceOfCodePointsFast:qoe,removeHTTPWhitespace:PL}=Br();function Hoe(t){return t[$A]===KA.CONNECTING}o(Hoe,"isConnecting");function zoe(t){return t[$A]===KA.OPEN}o(zoe,"isEstablished");function joe(t){return t[$A]===KA.CLOSING}o(joe,"isClosing");function Goe(t){return t[$A]===KA.CLOSED}o(Goe,"isClosed");function jI(t,e,r=(i,s)=>new Event(i,s),n={}){let i=r(t,n);e.dispatchEvent(i)}o(jI,"fireEvent");function Yoe(t,e,r){if(t[$A]!==KA.OPEN)return;let n;if(e===Ls.TEXT)try{n=UL(r)}catch{TL(t,"Received invalid UTF-8 in text frame.");return}else e===Ls.BINARY&&(t[Moe]==="blob"?n=new Blob([r]):n=Joe(r));jI("message",t,Uoe,{origin:t[koe].origin,data:n})}o(Yoe,"websocketMessageReceived");function Joe(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(Joe,"toArrayBuffer");function Voe(t){if(t.length===0)return!1;for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);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!1}return!0}o(Voe,"isValidSubprotocol");function Woe(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(Woe,"isValidStatusCode");function TL(t,e){let{[Toe]:r,[Ooe]:n}=t;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),e&&jI("error",t,(i,s)=>new Loe(i,s),{error:new Error(e),message:e})}o(TL,"failWebsocketConnection");function OL(t){return t===Ls.CLOSE||t===Ls.PING||t===Ls.PONG}o(OL,"isControlFrame");function ML(t){return t===Ls.CONTINUATION}o(ML,"isContinuationFrame");function kL(t){return t===Ls.TEXT||t===Ls.BINARY}o(kL,"isTextBinaryFrame");function $oe(t){return kL(t)||ML(t)||OL(t)}o($oe,"isValidOpcode");function Koe(t){let e={position:0},r=new Map;for(;e.position<t.length;){let n=qoe(";",t,e),[i,s=""]=n.split("=");r.set(PL(i,!0,!1),PL(s,!1,!0)),e.position++}return r}o(Koe,"parseExtensions");function Xoe(t){for(let e=0;e<t.length;e++){let r=t.charCodeAt(e);if(r<48||r>57)return!1}return!0}o(Xoe,"isValidClientWindowBits");var LL=typeof process.versions.icu=="string",DL=LL?new TextDecoder("utf-8",{fatal:!0}):void 0,UL=LL?DL.decode.bind(DL):function(t){if(Foe(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};FL.exports={isConnecting:Hoe,isEstablished:zoe,isClosing:joe,isClosed:Goe,fireEvent:jI,isValidSubprotocol:Voe,isValidStatusCode:Woe,failWebsocketConnection:TL,websocketMessageReceived:Yoe,utf8Decode:UL,isControlFrame:OL,isContinuationFrame:ML,isTextBinaryFrame:kL,isValidOpcode:$oe,parseExtensions:Koe,isValidClientWindowBits:Xoe}});var Bh=g((eGe,qL)=>{"use strict";var{maxUnsigned16Bit:Zoe}=Ho(),Eh=16386,GI,ZA=null,yc=Eh;try{GI=require("node:crypto")}catch{GI={randomFillSync:o(function(e,r,n){for(let i=0;i<e.length;++i)e[i]=Math.random()*255|0;return e},"randomFillSync")}}function eae(){return yc===Eh&&(yc=0,GI.randomFillSync(ZA??=Buffer.allocUnsafe(Eh),0,Eh)),[ZA[yc++],ZA[yc++],ZA[yc++],ZA[yc++]]}o(eae,"generateMask");var YI=class{static{o(this,"WebsocketFrameSend")}constructor(e){this.frameData=e}createFrame(e){let r=this.frameData,n=eae(),i=r?.byteLength??0,s=i,a=6;i>Zoe?(a+=8,s=127):i>125&&(a+=2,s=126);let c=Buffer.allocUnsafe(i+a);c[0]=c[1]=0,c[0]|=128,c[0]=(c[0]&240)+e;c[a-4]=n[0],c[a-3]=n[1],c[a-2]=n[2],c[a-1]=n[3],c[1]=s,s===126?c.writeUInt16BE(i,2):s===127&&(c[2]=c[3]=0,c.writeUIntBE(i,4,6)),c[1]|=128;for(let l=0;l<i;++l)c[a+l]=r[l]^n[l&3];return c}};qL.exports={WebsocketFrameSend:YI}});var VI=g((rGe,VL)=>{"use strict";var{uid:tae,states:eu,sentCloseFrameState:Ih,emptyBuffer:rae,opcodes:nae}=Ho(),{kReadyState:tu,kSentClose:bh,kByteParser:zL,kReceivedClose:HL,kResponse:jL}=WA(),{fireEvent:iae,failWebsocketConnection:Us,isClosing:sae,isClosed:oae,isEstablished:aae,parseExtensions:cae}=XA(),{channels:Cc}=_a(),{CloseEvent:lae}=gc(),{makeRequest:Aae}=uc(),{fetching:uae}=GA(),{Headers:dae,getHeadersList:pae}=Mo(),{getDecodeSplit:hae}=Ur(),{WebsocketFrameSend:fae}=Bh(),JI;try{JI=require("node:crypto")}catch{}function mae(t,e,r,n,i,s){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=Aae({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(s.headers){let d=pae(new dae(s.headers));c.headersList=d}let l=JI.randomBytes(16).toString("base64");c.headersList.append("sec-websocket-key",l),c.headersList.append("sec-websocket-version","13");for(let d of e)c.headersList.append("sec-websocket-protocol",d);return c.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits"),uae({request:c,useParallelQueue:!0,dispatcher:s.dispatcher,processResponse(d){if(d.type==="error"||d.status!==101){Us(n,"Received network error or non-101 status code.");return}if(e.length!==0&&!d.headersList.get("Sec-WebSocket-Protocol")){Us(n,"Server did not respond with sent protocols.");return}if(d.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Us(n,'Server did not set Upgrade header to "websocket".');return}if(d.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Us(n,'Server did not set Connection header to "upgrade".');return}let f=d.headersList.get("Sec-WebSocket-Accept"),m=JI.createHash("sha1").update(l+tae).digest("base64");if(f!==m){Us(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let C=d.headersList.get("Sec-WebSocket-Extensions"),Q;if(C!==null&&(Q=cae(C),!Q.has("permessage-deflate"))){Us(n,"Sec-WebSocket-Extensions header does not match.");return}let S=d.headersList.get("Sec-WebSocket-Protocol");if(S!==null&&!hae("sec-websocket-protocol",c.headersList).includes(S)){Us(n,"Protocol was not set in the opening handshake.");return}d.socket.on("data",GL),d.socket.on("close",YL),d.socket.on("error",JL),Cc.open.hasSubscribers&&Cc.open.publish({address:d.socket.address(),protocol:S,extensions:C}),i(d,Q)}})}o(mae,"establishWebSocketConnection");function gae(t,e,r,n){if(!(sae(t)||oae(t)))if(!aae(t))Us(t,"Connection was closed before it was established."),t[tu]=eu.CLOSING;else if(t[bh]===Ih.NOT_SENT){t[bh]=Ih.PROCESSING;let i=new fae;e!==void 0&&r===void 0?(i.frameData=Buffer.allocUnsafe(2),i.frameData.writeUInt16BE(e,0)):e!==void 0&&r!==void 0?(i.frameData=Buffer.allocUnsafe(2+n),i.frameData.writeUInt16BE(e,0),i.frameData.write(r,2,"utf-8")):i.frameData=rae,t[jL].socket.write(i.createFrame(nae.CLOSE)),t[bh]=Ih.SENT,t[tu]=eu.CLOSING}else t[tu]=eu.CLOSING}o(gae,"closeWebSocketConnection");function GL(t){this.ws[zL].write(t)||this.pause()}o(GL,"onSocketData");function YL(){let{ws:t}=this,{[jL]:e}=t;e.socket.off("data",GL),e.socket.off("close",YL),e.socket.off("error",JL);let r=t[bh]===Ih.SENT&&t[HL],n=1005,i="",s=t[zL].closingInfo;s&&!s.error?(n=s.code??1005,i=s.reason):t[HL]||(n=1006),t[tu]=eu.CLOSED,iae("close",t,(a,c)=>new lae(a,c),{wasClean:r,code:n,reason:i}),Cc.close.hasSubscribers&&Cc.close.publish({websocket:t,code:n,reason:i})}o(YL,"onSocketClose");function JL(t){let{ws:e}=this;e[tu]=eu.CLOSING,Cc.socketError.hasSubscribers&&Cc.socketError.publish(t),this.destroy()}o(JL,"onSocketError");VL.exports={establishWebSocketConnection:mae,closeWebSocketConnection:gae}});var $L=g((iGe,WL)=>{"use strict";var{createInflateRaw:yae,Z_DEFAULT_WINDOWBITS:Cae}=require("node:zlib"),{isValidClientWindowBits:Eae}=XA(),Bae=Buffer.from([0,0,255,255]),Qh=Symbol("kBuffer"),wh=Symbol("kLength"),WI=class{static{o(this,"PerMessageDeflate")}#e;#t={};constructor(e){this.#t.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#t.serverMaxWindowBits=e.get("server_max_window_bits")}decompress(e,r,n){if(!this.#e){let i=Cae;if(this.#t.serverMaxWindowBits){if(!Eae(this.#t.serverMaxWindowBits)){n(new Error("Invalid server_max_window_bits"));return}i=Number.parseInt(this.#t.serverMaxWindowBits)}this.#e=yae({windowBits:i}),this.#e[Qh]=[],this.#e[wh]=0,this.#e.on("data",s=>{this.#e[Qh].push(s),this.#e[wh]+=s.length}),this.#e.on("error",s=>{this.#e=null,n(s)})}this.#e.write(e),r&&this.#e.write(Bae),this.#e.flush(()=>{let i=Buffer.concat(this.#e[Qh],this.#e[wh]);this.#e[Qh].length=0,this.#e[wh]=0,n(null,i)})}};WL.exports={PerMessageDeflate:WI}});var aU=g((oGe,oU)=>{"use strict";var{Writable:Iae}=require("node:stream"),bae=require("node:assert"),{parserStates:Nr,opcodes:Ec,states:Qae,emptyBuffer:KL,sentCloseFrameState:XL}=Ho(),{kReadyState:wae,kSentClose:ZL,kResponse:eU,kReceivedClose:tU}=WA(),{channels:Nh}=_a(),{isValidStatusCode:Nae,isValidOpcode:xae,failWebsocketConnection:yn,websocketMessageReceived:rU,utf8Decode:Sae,isControlFrame:nU,isTextBinaryFrame:$I,isContinuationFrame:Rae}=XA(),{WebsocketFrameSend:iU}=Bh(),{closeWebSocketConnection:sU}=VI(),{PerMessageDeflate:_ae}=$L(),KI=class extends Iae{static{o(this,"ByteParser")}#e=[];#t=0;#i=!1;#n=Nr.INFO;#r={};#s=[];#o;constructor(e,r){super(),this.ws=e,this.#o=r??new Map,this.#o.has("permessage-deflate")&&this.#o.set("permessage-deflate",new _ae(r))}_write(e,r,n){this.#e.push(e),this.#t+=e.length,this.#i=!0,this.run(n)}run(e){for(;this.#i;)if(this.#n===Nr.INFO){if(this.#t<2)return e();let r=this.consume(2),n=(r[0]&128)!==0,i=r[0]&15,s=(r[1]&128)===128,a=!n&&i!==Ec.CONTINUATION,c=r[1]&127,l=r[0]&64,A=r[0]&32,u=r[0]&16;if(!xae(i))return yn(this.ws,"Invalid opcode received"),e();if(s)return yn(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#o.has("permessage-deflate")){yn(this.ws,"Expected RSV1 to be clear.");return}if(A!==0||u!==0){yn(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!$I(i)){yn(this.ws,"Invalid frame type was fragmented.");return}if($I(i)&&this.#s.length>0){yn(this.ws,"Expected continuation frame");return}if(this.#r.fragmented&&a){yn(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&nU(i)){yn(this.ws,"Control frame either too large or fragmented");return}if(Rae(i)&&this.#s.length===0&&!this.#r.compressed){yn(this.ws,"Unexpected continuation frame");return}c<=125?(this.#r.payloadLength=c,this.#n=Nr.READ_DATA):c===126?this.#n=Nr.PAYLOADLENGTH_16:c===127&&(this.#n=Nr.PAYLOADLENGTH_64),$I(i)&&(this.#r.binaryType=i,this.#r.compressed=l!==0),this.#r.opcode=i,this.#r.masked=s,this.#r.fin=n,this.#r.fragmented=a}else if(this.#n===Nr.PAYLOADLENGTH_16){if(this.#t<2)return e();let r=this.consume(2);this.#r.payloadLength=r.readUInt16BE(0),this.#n=Nr.READ_DATA}else if(this.#n===Nr.PAYLOADLENGTH_64){if(this.#t<8)return e();let r=this.consume(8),n=r.readUInt32BE(0);if(n>2**31-1){yn(this.ws,"Received payload length > 2^31 bytes.");return}let i=r.readUInt32BE(4);this.#r.payloadLength=(n<<8)+i,this.#n=Nr.READ_DATA}else if(this.#n===Nr.READ_DATA){if(this.#t<this.#r.payloadLength)return e();let r=this.consume(this.#r.payloadLength);if(nU(this.#r.opcode))this.#i=this.parseControlFrame(r),this.#n=Nr.INFO;else if(this.#r.compressed){this.#o.get("permessage-deflate").decompress(r,this.#r.fin,(n,i)=>{if(n){sU(this.ws,1007,n.message,n.message.length);return}if(this.#s.push(i),!this.#r.fin){this.#n=Nr.INFO,this.#i=!0,this.run(e);return}rU(this.ws,this.#r.binaryType,Buffer.concat(this.#s)),this.#i=!0,this.#n=Nr.INFO,this.#s.length=0,this.run(e)}),this.#i=!1;break}else{if(this.#s.push(r),!this.#r.fragmented&&this.#r.fin){let n=Buffer.concat(this.#s);rU(this.ws,this.#r.binaryType,n),this.#s.length=0}this.#n=Nr.INFO}}}consume(e){if(e>this.#t)throw new Error("Called consume() before buffers satiated.");if(e===0)return KL;if(this.#e[0].length===e)return this.#t-=this.#e[0].length,this.#e.shift();let r=Buffer.allocUnsafe(e),n=0;for(;n!==e;){let i=this.#e[0],{length:s}=i;if(s+n===e){r.set(this.#e.shift(),n);break}else if(s+n>e){r.set(i.subarray(0,e-n),n),this.#e[0]=i.subarray(e-n);break}else r.set(this.#e.shift(),n),n+=i.length}return this.#t-=e,r}parseCloseBody(e){bae(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!Nae(r))return{code:1002,reason:"Invalid status code",error:!0};let n=e.subarray(2);n[0]===239&&n[1]===187&&n[2]===191&&(n=n.subarray(3));try{n=Sae(n)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:r,reason:n,error:!1}}parseControlFrame(e){let{opcode:r,payloadLength:n}=this.#r;if(r===Ec.CLOSE){if(n===1)return yn(this.ws,"Received close frame with a 1-byte body."),!1;if(this.#r.closeInfo=this.parseCloseBody(e),this.#r.closeInfo.error){let{code:i,reason:s}=this.#r.closeInfo;return sU(this.ws,i,s,s.length),yn(this.ws,s),!1}if(this.ws[ZL]!==XL.SENT){let i=KL;this.#r.closeInfo.code&&(i=Buffer.allocUnsafe(2),i.writeUInt16BE(this.#r.closeInfo.code,0));let s=new iU(i);this.ws[eU].socket.write(s.createFrame(Ec.CLOSE),a=>{a||(this.ws[ZL]=XL.SENT)})}return this.ws[wae]=Qae.CLOSING,this.ws[tU]=!0,!1}else if(r===Ec.PING){if(!this.ws[tU]){let i=new iU(e);this.ws[eU].socket.write(i.createFrame(Ec.PONG)),Nh.ping.hasSubscribers&&Nh.ping.publish({payload:e})}}else r===Ec.PONG&&Nh.pong.hasSubscribers&&Nh.pong.publish({payload:e});return!0}get closingInfo(){return this.#r.closeInfo}};oU.exports={ByteParser:KI}});var dU=g((cGe,uU)=>{"use strict";var{WebsocketFrameSend:vae}=Bh(),{opcodes:cU,sendHints:Bc}=Ho(),Pae=aB(),lU=Buffer[Symbol.species],XI=class{static{o(this,"SendQueue")}#e=new Pae;#t=!1;#i;constructor(e){this.#i=e}add(e,r,n){if(n!==Bc.blob){let s=AU(e,n);if(!this.#t)this.#i.write(s,r);else{let a={promise:null,callback:r,frame:s};this.#e.push(a)}return}let i={promise:e.arrayBuffer().then(s=>{i.promise=null,i.frame=AU(s,n)}),callback:r,frame:null};this.#e.push(i),this.#t||this.#n()}async#n(){this.#t=!0;let e=this.#e;for(;!e.isEmpty();){let r=e.shift();r.promise!==null&&await r.promise,this.#i.write(r.frame,r.callback),r.callback=r.frame=null}this.#t=!1}};function AU(t,e){return new vae(Dae(t,e)).createFrame(e===Bc.string?cU.TEXT:cU.BINARY)}o(AU,"createFrame");function Dae(t,e){switch(e){case Bc.string:return Buffer.from(t);case Bc.arrayBuffer:case Bc.blob:return new lU(t);case Bc.typedArray:return new lU(t.buffer,t.byteOffset,t.byteLength)}}o(Dae,"toBuffer");uU.exports={SendQueue:XI}});var BU=g((AGe,EU)=>{"use strict";var{webidl:Ae}=$t(),{URLSerializer:Tae}=Br(),{environmentSettingsObject:pU}=Ur(),{staticPropertyDescriptors:Fs,states:ru,sentCloseFrameState:Oae,sendHints:xh}=Ho(),{kWebSocketURL:hU,kReadyState:ZI,kController:Mae,kBinaryType:Sh,kResponse:fU,kSentClose:kae,kByteParser:Lae}=WA(),{isConnecting:Uae,isEstablished:Fae,isClosing:qae,isValidSubprotocol:Hae,fireEvent:mU}=XA(),{establishWebSocketConnection:zae,closeWebSocketConnection:gU}=VI(),{ByteParser:jae}=aU(),{kEnumerableProperty:Cn,isBlobLike:yU}=Ee(),{getGlobalDispatcher:Gae}=Hp(),{types:CU}=require("node:util"),{ErrorEvent:Yae,CloseEvent:Jae}=gc(),{SendQueue:Vae}=dU(),Yr=class t extends EventTarget{static{o(this,"WebSocket")}#e={open:null,error:null,close:null,message:null};#t=0;#i="";#n="";#r;constructor(e,r=[]){super(),Ae.util.markAsUncloneable(this);let n="WebSocket constructor";Ae.argumentLengthCheck(arguments,1,n);let i=Ae.converters["DOMString or sequence<DOMString> or WebSocketInit"](r,n,"options");e=Ae.converters.USVString(e,n,"url"),r=i.protocols;let s=pU.settingsObject.baseUrl,a;try{a=new URL(e,s)}catch(l){throw new DOMException(l,"SyntaxError")}if(a.protocol==="http:"?a.protocol="ws:":a.protocol==="https:"&&(a.protocol="wss:"),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 r=="string"&&(r=[r]),r.length!==new Set(r.map(l=>l.toLowerCase())).size)throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(r.length>0&&!r.every(l=>Hae(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[hU]=new URL(a.href);let c=pU.settingsObject;this[Mae]=zae(a,r,c,this,(l,A)=>this.#s(l,A),i),this[ZI]=t.CONNECTING,this[kae]=Oae.NOT_SENT,this[Sh]="blob"}close(e=void 0,r=void 0){Ae.brandCheck(this,t);let n="WebSocket.close";if(e!==void 0&&(e=Ae.converters["unsigned short"](e,n,"code",{clamp:!0})),r!==void 0&&(r=Ae.converters.USVString(r,n,"reason")),e!==void 0&&e!==1e3&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");let i=0;if(r!==void 0&&(i=Buffer.byteLength(r),i>123))throw new DOMException(`Reason must be less than 123 bytes; received ${i}`,"SyntaxError");gU(this,e,r,i)}send(e){Ae.brandCheck(this,t);let r="WebSocket.send";if(Ae.argumentLengthCheck(arguments,1,r),e=Ae.converters.WebSocketSendData(e,r,"data"),Uae(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!Fae(this)||qae(this)))if(typeof e=="string"){let n=Buffer.byteLength(e);this.#t+=n,this.#r.add(e,()=>{this.#t-=n},xh.string)}else CU.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#r.add(e,()=>{this.#t-=e.byteLength},xh.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#r.add(e,()=>{this.#t-=e.byteLength},xh.typedArray)):yU(e)&&(this.#t+=e.size,this.#r.add(e,()=>{this.#t-=e.size},xh.blob))}get readyState(){return Ae.brandCheck(this,t),this[ZI]}get bufferedAmount(){return Ae.brandCheck(this,t),this.#t}get url(){return Ae.brandCheck(this,t),Tae(this[hU])}get extensions(){return Ae.brandCheck(this,t),this.#n}get protocol(){return Ae.brandCheck(this,t),this.#i}get onopen(){return Ae.brandCheck(this,t),this.#e.open}set onopen(e){Ae.brandCheck(this,t),this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onerror(){return Ae.brandCheck(this,t),this.#e.error}set onerror(e){Ae.brandCheck(this,t),this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}get onclose(){return Ae.brandCheck(this,t),this.#e.close}set onclose(e){Ae.brandCheck(this,t),this.#e.close&&this.removeEventListener("close",this.#e.close),typeof e=="function"?(this.#e.close=e,this.addEventListener("close",e)):this.#e.close=null}get onmessage(){return Ae.brandCheck(this,t),this.#e.message}set onmessage(e){Ae.brandCheck(this,t),this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get binaryType(){return Ae.brandCheck(this,t),this[Sh]}set binaryType(e){Ae.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[Sh]="blob":this[Sh]=e}#s(e,r){this[fU]=e;let n=new jae(this,r);n.on("drain",Wae),n.on("error",$ae.bind(this)),e.socket.ws=this,this[Lae]=n,this.#r=new Vae(e.socket),this[ZI]=ru.OPEN;let i=e.headersList.get("sec-websocket-extensions");i!==null&&(this.#n=i);let s=e.headersList.get("sec-websocket-protocol");s!==null&&(this.#i=s),mU("open",this)}};Yr.CONNECTING=Yr.prototype.CONNECTING=ru.CONNECTING;Yr.OPEN=Yr.prototype.OPEN=ru.OPEN;Yr.CLOSING=Yr.prototype.CLOSING=ru.CLOSING;Yr.CLOSED=Yr.prototype.CLOSED=ru.CLOSED;Object.defineProperties(Yr.prototype,{CONNECTING:Fs,OPEN:Fs,CLOSING:Fs,CLOSED:Fs,url:Cn,readyState:Cn,bufferedAmount:Cn,onopen:Cn,onerror:Cn,onclose:Cn,close:Cn,onmessage:Cn,binaryType:Cn,send:Cn,extensions:Cn,protocol:Cn,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Yr,{CONNECTING:Fs,OPEN:Fs,CLOSING:Fs,CLOSED:Fs});Ae.converters["sequence<DOMString>"]=Ae.sequenceConverter(Ae.converters.DOMString);Ae.converters["DOMString or sequence<DOMString>"]=function(t,e,r){return Ae.util.Type(t)==="Object"&&Symbol.iterator in t?Ae.converters["sequence<DOMString>"](t):Ae.converters.DOMString(t,e,r)};Ae.converters.WebSocketInit=Ae.dictionaryConverter([{key:"protocols",converter:Ae.converters["DOMString or sequence<DOMString>"],defaultValue:()=>new Array(0)},{key:"dispatcher",converter:Ae.converters.any,defaultValue:()=>Gae()},{key:"headers",converter:Ae.nullableConverter(Ae.converters.HeadersInit)}]);Ae.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(t){return Ae.util.Type(t)==="Object"&&!(Symbol.iterator in t)?Ae.converters.WebSocketInit(t):{protocols:Ae.converters["DOMString or sequence<DOMString>"](t)}};Ae.converters.WebSocketSendData=function(t){if(Ae.util.Type(t)==="Object"){if(yU(t))return Ae.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||CU.isArrayBuffer(t))return Ae.converters.BufferSource(t)}return Ae.converters.USVString(t)};function Wae(){this.ws[fU].socket.resume()}o(Wae,"onParserDrain");function $ae(t){let e,r;t instanceof Jae?(e=t.reason,r=t.code):e=t.message,mU("error",this,()=>new Yae("error",{error:t,message:e})),gU(this,r)}o($ae,"onParserError");EU.exports={WebSocket:Yr}});var eb=g((dGe,IU)=>{"use strict";function Kae(t){return t.indexOf("\0")===-1}o(Kae,"isValidLastEventId");function Xae(t){if(t.length===0)return!1;for(let e=0;e<t.length;e++)if(t.charCodeAt(e)<48||t.charCodeAt(e)>57)return!1;return!0}o(Xae,"isASCIINumber");function Zae(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(Zae,"delay");IU.exports={isValidLastEventId:Kae,isASCIINumber:Xae,delay:Zae}});var NU=g((hGe,wU)=>{"use strict";var{Transform:ece}=require("node:stream"),{isASCIINumber:bU,isValidLastEventId:QU}=eb(),os=[239,187,191],tb=10,Rh=13,tce=58,rce=32,rb=class extends ece{static{o(this,"EventSourceStream")}state=null;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;buffer=null;pos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,r,n){if(e.length===0){n();return}if(this.buffer?this.buffer=Buffer.concat([this.buffer,e]):this.buffer=e,this.checkBOM)switch(this.buffer.length){case 1:if(this.buffer[0]===os[0]){n();return}this.checkBOM=!1,n();return;case 2:if(this.buffer[0]===os[0]&&this.buffer[1]===os[1]){n();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===os[0]&&this.buffer[1]===os[1]&&this.buffer[2]===os[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,n();return}this.checkBOM=!1;break;default:this.buffer[0]===os[0]&&this.buffer[1]===os[1]&&this.buffer[2]===os[2]&&(this.buffer=this.buffer.subarray(3)),this.checkBOM=!1;break}for(;this.pos<this.buffer.length;){if(this.eventEndCheck){if(this.crlfCheck){if(this.buffer[this.pos]===tb){this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,this.crlfCheck=!1;continue}this.crlfCheck=!1}if(this.buffer[this.pos]===tb||this.buffer[this.pos]===Rh){this.buffer[this.pos]===Rh&&(this.crlfCheck=!0),this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,(this.event.data!==void 0||this.event.event||this.event.id||this.event.retry)&&this.processEvent(this.event),this.clearEvent();continue}this.eventEndCheck=!1;continue}if(this.buffer[this.pos]===tb||this.buffer[this.pos]===Rh){this.buffer[this.pos]===Rh&&(this.crlfCheck=!0),this.parseLine(this.buffer.subarray(0,this.pos),this.event),this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,this.eventEndCheck=!0;continue}this.pos++}n()}parseLine(e,r){if(e.length===0)return;let n=e.indexOf(tce);if(n===0)return;let i="",s="";if(n!==-1){i=e.subarray(0,n).toString("utf8");let a=n+1;e[a]===rce&&++a,s=e.subarray(a).toString("utf8")}else i=e.toString("utf8"),s="";switch(i){case"data":r[i]===void 0?r[i]=s:r[i]+=`
${s}`;break;case"retry":bU(s)&&(r[i]=s);break;case"id":QU(s)&&(r[i]=s);break;case"event":s.length>0&&(r[i]=s);break}}processEvent(e){e.retry&&bU(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&QU(e.id)&&(this.state.lastEventId=e.id),e.data!==void 0&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event={data:void 0,event:void 0,id:void 0,retry:void 0}}};wU.exports={EventSourceStream:rb}});var TU=g((mGe,DU)=>{"use strict";var{pipeline:nce}=require("node:stream"),{fetching:ice}=GA(),{makeRequest:sce}=uc(),{webidl:as}=$t(),{EventSourceStream:oce}=NU(),{parseMIMEType:ace}=Br(),{createFastMessageEvent:cce}=gc(),{isNetworkError:xU}=zA(),{delay:lce}=eb(),{kEnumerableProperty:zo}=Ee(),{environmentSettingsObject:SU}=Ur(),RU=!1,_U=3e3,nu=0,vU=1,iu=2,Ace="anonymous",uce="use-credentials",Ic=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#i=!1;#n=nu;#r=null;#s=null;#o;#a;constructor(e,r={}){super(),as.util.markAsUncloneable(this);let n="EventSource constructor";as.argumentLengthCheck(arguments,1,n),RU||(RU=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=as.converters.USVString(e,n,"url"),r=as.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:_U};let i=SU,s;try{s=new URL(e,i.settingsObject.baseUrl),this.#a.origin=s.origin}catch(l){throw new DOMException(l,"SyntaxError")}this.#t=s.href;let a=Ace;r.withCredentials&&(a=uce,this.#i=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=SU.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#r=sce(c),this.#c()}get readyState(){return this.#n}get url(){return this.#t}get withCredentials(){return this.#i}#c(){if(this.#n===iu)return;this.#n=nu;let e={request:this.#r,dispatcher:this.#o},r=o(n=>{xU(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#l()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=n=>{if(xU(n))if(n.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#l();return}let i=n.headersList.get("content-type",!0),s=i!==null?ace(i):"failure",a=s!=="failure"&&s.essence==="text/event-stream";if(n.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#n=vU,this.dispatchEvent(new Event("open")),this.#a.origin=n.urlList[n.urlList.length-1].origin;let c=new oce({eventSourceSettings:this.#a,push:l=>{this.dispatchEvent(cce(l.type,l.options))}});nce(n.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#s=ice(e)}async#l(){this.#n!==iu&&(this.#n=nu,this.dispatchEvent(new Event("error")),await lce(this.#a.reconnectionTime),this.#n===nu&&(this.#a.lastEventId.length&&this.#r.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#c()))}close(){as.brandCheck(this,t),this.#n!==iu&&(this.#n=iu,this.#s.abort(),this.#r=null)}get onopen(){return this.#e.open}set onopen(e){this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onmessage(){return this.#e.message}set onmessage(e){this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get onerror(){return this.#e.error}set onerror(e){this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}},PU={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:nu,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:vU,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:iu,writable:!1}};Object.defineProperties(Ic,PU);Object.defineProperties(Ic.prototype,PU);Object.defineProperties(Ic.prototype,{close:zo,onerror:zo,onmessage:zo,onopen:zo,readyState:zo,url:zo,withCredentials:zo});as.converters.EventSourceInitDict=as.dictionaryConverter([{key:"withCredentials",converter:as.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:as.converters.any}]);DU.exports={EventSource:Ic,defaultReconnectionTime:_U}});var LU=g((yGe,ce)=>{"use strict";var dce=$a(),OU=lA(),pce=Ka(),hce=PT(),fce=Xa(),mce=xB(),gce=rO(),yce=cO(),MU=Pe(),vh=Ee(),{InvalidArgumentError:_h}=MU,bc=VO(),Cce=uA(),Ece=cI(),Bce=_M(),Ice=uI(),bce=WB(),Qce=Pp(),{getGlobalDispatcher:kU,setGlobalDispatcher:wce}=Hp(),Nce=zp(),xce=Bp(),Sce=Ip();Object.assign(OU.prototype,bc);ce.exports.Dispatcher=OU;ce.exports.Client=dce;ce.exports.Pool=pce;ce.exports.BalancedPool=hce;ce.exports.Agent=fce;ce.exports.ProxyAgent=mce;ce.exports.EnvHttpProxyAgent=gce;ce.exports.RetryAgent=yce;ce.exports.RetryHandler=Qce;ce.exports.DecoratorHandler=Nce;ce.exports.RedirectHandler=xce;ce.exports.createRedirectInterceptor=Sce;ce.exports.interceptors={redirect:kM(),retry:UM(),dump:qM(),dns:jM()};ce.exports.buildConnector=Cce;ce.exports.errors=MU;ce.exports.util={parseHeaders:vh.parseHeaders,headerNameToString:vh.headerNameToString};function su(t){return(e,r,n)=>{if(typeof r=="function"&&(n=r,r=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new _h("invalid url");if(r!=null&&typeof r!="object")throw new _h("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new _h("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(vh.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=vh.parseURL(e);let{agent:i,dispatcher:s=kU()}=r;if(i)throw new _h("unsupported opts.agent. Did you mean opts.client?");return t.call(s,{...r,origin:e.origin,path:e.search?`${e.pathname}${e.search}`:e.pathname,method:r.method||(r.body?"PUT":"GET")},n)}}o(su,"makeDispatcher");ce.exports.setGlobalDispatcher=wce;ce.exports.getGlobalDispatcher=kU;var Rce=GA().fetch;ce.exports.fetch=o(async function(e,r=void 0){try{return await Rce(e,r)}catch(n){throw n&&typeof n=="object"&&Error.captureStackTrace(n),n}},"fetch");ce.exports.Headers=Mo().Headers;ce.exports.Response=zA().Response;ce.exports.Request=uc().Request;ce.exports.FormData=yA().FormData;ce.exports.File=globalThis.File??require("node:buffer").File;ce.exports.FileReader=oL().FileReader;var{setGlobalOrigin:_ce,getGlobalOrigin:vce}=SE();ce.exports.setGlobalOrigin=_ce;ce.exports.getGlobalOrigin=vce;var{CacheStorage:Pce}=fL(),{kConstruct:Dce}=Ah();ce.exports.caches=new Pce(Dce);var{deleteCookie:Tce,getCookies:Oce,getSetCookies:Mce,setCookie:kce}=xL();ce.exports.deleteCookie=Tce;ce.exports.getCookies=Oce;ce.exports.getSetCookies=Mce;ce.exports.setCookie=kce;var{parseMIMEType:Lce,serializeAMimeType:Uce}=Br();ce.exports.parseMIMEType=Lce;ce.exports.serializeAMimeType=Uce;var{CloseEvent:Fce,ErrorEvent:qce,MessageEvent:Hce}=gc();ce.exports.WebSocket=BU().WebSocket;ce.exports.CloseEvent=Fce;ce.exports.ErrorEvent=qce;ce.exports.MessageEvent=Hce;ce.exports.request=su(bc.request);ce.exports.stream=su(bc.stream);ce.exports.pipeline=su(bc.pipeline);ce.exports.connect=su(bc.connect);ce.exports.upgrade=su(bc.upgrade);ce.exports.MockClient=Ece;ce.exports.MockPool=Ice;ce.exports.MockAgent=Bce;ce.exports.mockErrors=bce;var{EventSource:zce}=TU();ce.exports.EventSource=zce});var qs=g(st=>{"use strict";var jce=st&&st.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Gce=st&&st.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Oh=st&&st.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&jce(r,e,n[i]);return Gce(r,e),r}}(),Nt=st&&st.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(st,"__esModule",{value:!0});st.HttpClient=st.HttpClientResponse=st.HttpClientError=st.MediaTypes=st.Headers=st.HttpCodes=void 0;st.getProxyUrl=Jce;st.isHttps=Zce;var nb=Oh(require("http")),UU=Oh(require("https")),ib=Oh(Av()),Ph=Oh(mv()),Yce=LU(),En;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(En||(st.HttpCodes=En={}));var hr;(function(t){t.Accept="accept",t.ContentType="content-type"})(hr||(st.Headers=hr={}));var cs;(function(t){t.ApplicationJson="application/json"})(cs||(st.MediaTypes=cs={}));function Jce(t){let e=ib.getProxyUrl(new URL(t));return e?e.href:""}o(Jce,"getProxyUrl");var Vce=[En.MovedPermanently,En.ResourceMoved,En.SeeOther,En.TemporaryRedirect,En.PermanentRedirect],Wce=[En.BadGateway,En.ServiceUnavailable,En.GatewayTimeout],$ce=["OPTIONS","GET","DELETE","HEAD"],Kce=10,Xce=5,Dh=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}};st.HttpClientError=Dh;var Th=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return Nt(this,void 0,void 0,function*(){return new Promise(e=>Nt(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return Nt(this,void 0,void 0,function*(){return new Promise(e=>Nt(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};st.HttpClientResponse=Th;function Zce(t){return new URL(t).protocol==="https:"}o(Zce,"isHttps");var sb=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return Nt(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return Nt(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return Nt(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return Nt(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return Nt(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return Nt(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return Nt(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,i){return Nt(this,void 0,void 0,function*(){return this.request(e,r,n,i)})}getJson(e){return Nt(this,arguments,void 0,function*(r,n={}){n[hr.Accept]=this._getExistingOrDefaultHeader(n,hr.Accept,cs.ApplicationJson);let i=yield this.get(r,n);return this._processResponse(i,this.requestOptions)})}postJson(e,r){return Nt(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[hr.Accept]=this._getExistingOrDefaultHeader(s,hr.Accept,cs.ApplicationJson),s[hr.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,cs.ApplicationJson);let c=yield this.post(n,a,s);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return Nt(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[hr.Accept]=this._getExistingOrDefaultHeader(s,hr.Accept,cs.ApplicationJson),s[hr.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,cs.ApplicationJson);let c=yield this.put(n,a,s);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return Nt(this,arguments,void 0,function*(n,i,s={}){let a=JSON.stringify(i,null,2);s[hr.Accept]=this._getExistingOrDefaultHeader(s,hr.Accept,cs.ApplicationJson),s[hr.ContentType]=this._getExistingOrDefaultContentTypeHeader(s,cs.ApplicationJson);let c=yield this.patch(n,a,s);return this._processResponse(c,this.requestOptions)})}request(e,r,n,i){return Nt(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),a=this._prepareRequest(e,s,i),c=this._allowRetries&&$ce.includes(e)?this._maxRetries+1:1,l=0,A;do{if(A=yield this.requestRaw(a,n),A&&A.message&&A.message.statusCode===En.Unauthorized){let d;for(let f of this.handlers)if(f.canHandleAuthentication(A)){d=f;break}return d?d.handleAuthentication(this,a,n):A}let u=this._maxRedirects;for(;A.message.statusCode&&Vce.includes(A.message.statusCode)&&this._allowRedirects&&u>0;){let d=A.message.headers.location;if(!d)break;let f=new URL(d);if(s.protocol==="https:"&&s.protocol!==f.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.");if(yield A.readBody(),f.hostname!==s.hostname)for(let m in i)m.toLowerCase()==="authorization"&&delete i[m];a=this._prepareRequest(e,f,i),A=yield this.requestRaw(a,n),u--}if(!A.message.statusCode||!Wce.includes(A.message.statusCode))return A;l+=1,l<c&&(yield A.readBody(),yield this._performExponentialBackoff(l))}while(l<c);return A})}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,r){return Nt(this,void 0,void 0,function*(){return new Promise((n,i)=>{function s(a,c){a?i(a):c?n(c):i(new Error("Unknown error"))}o(s,"callbackForResult"),this.requestRawWithCallback(e,r,s)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function s(l,A){i||(i=!0,n(l,A))}o(s,"handleResult");let a=e.httpModule.request(e.options,l=>{let A=new Th(l);s(void 0,A)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){s(l)}),r&&typeof r=="string"&&a.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){a.end()}),r.pipe(a)):a.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=ib.getProxyUrl(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?UU:nb;let a=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):a,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},ou(this.requestOptions.headers),ou(e||{})):ou(e||{})}_getExistingOrDefaultHeader(e,r,n){let i;if(this.requestOptions&&this.requestOptions.headers){let a=ou(this.requestOptions.headers)[r];a&&(i=typeof a=="number"?a.toString():a)}let s=e[r];return s!==void 0?typeof s=="number"?s.toString():s:i!==void 0?i:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let s=ou(this.requestOptions.headers)[hr.ContentType];s&&(typeof s=="number"?n=String(s):Array.isArray(s)?n=s.join(", "):n=s)}let i=e[hr.ContentType];return i!==void 0?typeof i=="number"?String(i):Array.isArray(i)?i.join(", "):i:n!==void 0?n:r}_getAgent(e){let r,n=ib.getProxyUrl(e),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),i||(r=this._agent),r)return r;let s=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||nb.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,A=n.protocol==="https:";s?l=A?Ph.httpsOverHttps:Ph.httpsOverHttp:l=A?Ph.httpOverHttps:Ph.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=s?new UU.Agent(c):new nb.Agent(c),this._agent=r}return s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let i=e.protocol==="https:";return n=new Yce.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=n,i&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let i=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${i}`}return r}_performExponentialBackoff(e){return Nt(this,void 0,void 0,function*(){e=Math.min(Kce,e);let r=Xce*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return Nt(this,void 0,void 0,function*(){return new Promise((n,i)=>Nt(this,void 0,void 0,function*(){let s=e.message.statusCode||0,a={statusCode:s,result:null,headers:{}};s===En.NotFound&&n(a);function c(u,d){if(typeof d=="string"){let f=new Date(d);if(!isNaN(f.valueOf()))return f}return d}o(c,"dateTimeDeserializer");let l,A;try{A=yield e.readBody(),A&&A.length>0&&(r&&r.deserializeDates?l=JSON.parse(A,c):l=JSON.parse(A),a.result=l),a.headers=e.message.headers}catch{}if(s>299){let u;l&&l.message?u=l.message:A&&A.length>0?u=A:u=`Failed request: (${s})`;let d=new Dh(u,s);d.result=a.result,i(d)}else n(a)}))})}};st.HttpClient=sb;var ou=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var Mh=g(bi=>{"use strict";var lb=bi&&bi.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(bi,"__esModule",{value:!0});bi.PersonalAccessTokenCredentialHandler=bi.BearerCredentialHandler=bi.BasicCredentialHandler=void 0;var ob=class{static{o(this,"BasicCredentialHandler")}constructor(e,r){this.username=e,this.password=r}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!1}handleAuthentication(){return lb(this,void 0,void 0,function*(){throw new Error("not implemented")})}};bi.BasicCredentialHandler=ob;var ab=class{static{o(this,"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!1}handleAuthentication(){return lb(this,void 0,void 0,function*(){throw new Error("not implemented")})}};bi.BearerCredentialHandler=ab;var cb=class{static{o(this,"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!1}handleAuthentication(){return lb(this,void 0,void 0,function*(){throw new Error("not implemented")})}};bi.PersonalAccessTokenCredentialHandler=cb});var HU=g(Qc=>{"use strict";var FU=Qc&&Qc.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Qc,"__esModule",{value:!0});Qc.OidcClient=void 0;var ele=qs(),tle=Mh(),qU=ft(),Ab=class t{static{o(this,"OidcClient")}static createHttpClient(e=!0,r=10){let n={allowRetries:e,maxRetries:r};return new ele.HttpClient("actions/oidc-client",[new tle.BearerCredentialHandler(t.getRequestToken())],n)}static getRequestToken(){let 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(){let 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 FU(this,void 0,void 0,function*(){var r;let s=(r=(yield t.createHttpClient().getJson(e).catch(a=>{throw new Error(`Failed to get ID Token.
Error Code : ${a.statusCode}
Error Message: ${a.message}`)})).result)===null||r===void 0?void 0:r.value;if(!s)throw new Error("Response json body do not have ID Token field");return s})}static getIDToken(e){return FU(this,void 0,void 0,function*(){try{let r=t.getIDTokenUrl();if(e){let i=encodeURIComponent(e);r=`${r}&audience=${i}`}(0,qU.debug)(`ID token url is ${r}`);let n=yield t.getCall(r);return(0,qU.setSecret)(n),n}catch(r){throw new Error(`Error message: ${r.message}`)}})}};Qc.OidcClient=Ab});var hb=g(xr=>{"use strict";var ub=xr&&xr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(xr,"__esModule",{value:!0});xr.summary=xr.markdownSummary=xr.SUMMARY_DOCS_URL=xr.SUMMARY_ENV_VAR=void 0;var rle=require("os"),db=require("fs"),{access:nle,appendFile:ile,writeFile:sle}=db.promises;xr.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";xr.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var pb=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return ub(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[xr.SUMMARY_ENV_VAR];if(!e)throw new Error(`Unable to find environment variable for $${xr.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield nle(e,db.constants.R_OK|db.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,n={}){let i=Object.entries(n).map(([s,a])=>` ${s}="${a}"`).join("");return r?`<${e}${i}>${r}</${e}>`:`<${e}${i}>`}write(e){return ub(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?sle:ile)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return ub(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){return this._buffer="",this}addRaw(e,r=!1){return this._buffer+=e,r?this.addEOL():this}addEOL(){return this.addRaw(rle.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(i).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",i=e.map(a=>this.wrap("li",a)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(e){let r=e.map(i=>{let s=i.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:A,rowspan:u}=a,d=c?"th":"td",f=Object.assign(Object.assign({},A&&{colspan:A}),u&&{rowspan:u});return this.wrap(d,l,f)}).join("");return this.wrap("tr",s)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:i,height:s}=n||{},a=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,e);return this.addRaw(s).addEOL()}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,r){let n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",e,n);return this.addRaw(i).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},zU=new pb;xr.markdownSummary=zU;xr.summary=zU});var jU=g(Xn=>{"use strict";var ole=Xn&&Xn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),ale=Xn&&Xn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),cle=Xn&&Xn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&ole(r,e,n[i]);return ale(r,e),r}}();Object.defineProperty(Xn,"__esModule",{value:!0});Xn.toPosixPath=Ale;Xn.toWin32Path=ule;Xn.toPlatformPath=dle;var lle=cle(require("path"));function Ale(t){return t.replace(/[\\]/g,"/")}o(Ale,"toPosixPath");function ule(t){return t.replace(/[/]/g,"\\")}o(ule,"toWin32Path");function dle(t){return t.replace(/[/\\]/g,lle.sep)}o(dle,"toPlatformPath")});var mb=g(X=>{"use strict";var ple=X&&X.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),hle=X&&X.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),YU=X&&X.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&ple(r,e,n[i]);return hle(r,e),r}}(),Lh=X&&X.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},Jr;Object.defineProperty(X,"__esModule",{value:!0});X.READONLY=X.UV_FS_O_EXLOCK=X.IS_WINDOWS=X.unlink=X.symlink=X.stat=X.rmdir=X.rm=X.rename=X.readdir=X.open=X.mkdir=X.lstat=X.copyFile=X.chmod=void 0;X.readlink=fle;X.exists=mle;X.isDirectory=gle;X.isRooted=yle;X.tryGetExecutablePath=Cle;X.getCmdPath=Ble;var fb=YU(require("fs")),kh=YU(require("path"));Jr=fb.promises,X.chmod=Jr.chmod,X.copyFile=Jr.copyFile,X.lstat=Jr.lstat,X.mkdir=Jr.mkdir,X.open=Jr.open,X.readdir=Jr.readdir,X.rename=Jr.rename,X.rm=Jr.rm,X.rmdir=Jr.rmdir,X.stat=Jr.stat,X.symlink=Jr.symlink,X.unlink=Jr.unlink;X.IS_WINDOWS=process.platform==="win32";function fle(t){return Lh(this,void 0,void 0,function*(){let e=yield fb.promises.readlink(t);return X.IS_WINDOWS&&!e.endsWith("\\")?`${e}\\`:e})}o(fle,"readlink");X.UV_FS_O_EXLOCK=268435456;X.READONLY=fb.constants.O_RDONLY;function mle(t){return Lh(this,void 0,void 0,function*(){try{yield(0,X.stat)(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}o(mle,"exists");function gle(t){return Lh(this,arguments,void 0,function*(e,r=!1){return(r?yield(0,X.stat)(e):yield(0,X.lstat)(e)).isDirectory()})}o(gle,"isDirectory");function yle(t){if(t=Ele(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return X.IS_WINDOWS?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(yle,"isRooted");function Cle(t,e){return Lh(this,void 0,void 0,function*(){let r;try{r=yield(0,X.stat)(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if(X.IS_WINDOWS){let i=kh.extname(t).toUpperCase();if(e.some(s=>s.toUpperCase()===i))return t}else if(GU(r))return t}let n=t;for(let i of e){t=n+i,r=void 0;try{r=yield(0,X.stat)(t)}catch(s){s.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${s}`)}if(r&&r.isFile()){if(X.IS_WINDOWS){try{let s=kh.dirname(t),a=kh.basename(t).toUpperCase();for(let c of yield(0,X.readdir)(s))if(a===c.toUpperCase()){t=kh.join(s,c);break}}catch(s){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${s}`)}return t}else if(GU(r))return t}}return""})}o(Cle,"tryGetExecutablePath");function Ele(t){return t=t||"",X.IS_WINDOWS?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(Ele,"normalizeSeparators");function GU(t){return(t.mode&1)>0||(t.mode&8)>0&&process.getgid!==void 0&&t.gid===process.getgid()||(t.mode&64)>0&&process.getuid!==void 0&&t.uid===process.getuid()}o(GU,"isUnixExecutable");function Ble(){var t;return(t=process.env.COMSPEC)!==null&&t!==void 0?t:"cmd.exe"}o(Ble,"getCmdPath")});var au=g(nr=>{"use strict";var Ile=nr&&nr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),ble=nr&&nr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),JU=nr&&nr.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&Ile(r,e,n[i]);return ble(r,e),r}}(),Hs=nr&&nr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(nr,"__esModule",{value:!0});nr.cp=wle;nr.mv=Nle;nr.rmRF=VU;nr.mkdirP=gb;nr.which=WU;nr.findInPath=$U;var Qle=require("assert"),Qi=JU(require("path")),ke=JU(mb());function wle(t,e){return Hs(this,arguments,void 0,function*(r,n,i={}){let{force:s,recursive:a,copySourceDirectory:c}=xle(i),l=(yield ke.exists(n))?yield ke.stat(n):null;if(l&&l.isFile()&&!s)return;let A=l&&l.isDirectory()&&c?Qi.join(n,Qi.basename(r)):n;if(!(yield ke.exists(r)))throw new Error(`no such file or directory: ${r}`);if((yield ke.stat(r)).isDirectory())if(a)yield KU(r,A,0,s);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(Qi.relative(r,A)==="")throw new Error(`'${A}' and '${r}' are the same file`);yield XU(r,A,s)}})}o(wle,"cp");function Nle(t,e){return Hs(this,arguments,void 0,function*(r,n,i={}){if(yield ke.exists(n)){let s=!0;if((yield ke.isDirectory(n))&&(n=Qi.join(n,Qi.basename(r)),s=yield ke.exists(n)),s)if(i.force==null||i.force)yield VU(n);else throw new Error("Destination already exists")}yield gb(Qi.dirname(n)),yield ke.rename(r,n)})}o(Nle,"mv");function VU(t){return Hs(this,void 0,void 0,function*(){if(ke.IS_WINDOWS&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield ke.rm(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(VU,"rmRF");function gb(t){return Hs(this,void 0,void 0,function*(){(0,Qle.ok)(t,"a path argument must be provided"),yield ke.mkdir(t,{recursive:!0})})}o(gb,"mkdirP");function WU(t,e){return Hs(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let n=yield WU(t,!1);if(!n)throw ke.IS_WINDOWS?new Error(`Unable to locate executable file: ${t}. 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.`):new Error(`Unable to locate executable file: ${t}. 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 n}let r=yield $U(t);return r&&r.length>0?r[0]:""})}o(WU,"which");function $U(t){return Hs(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(ke.IS_WINDOWS&&process.env.PATHEXT)for(let i of process.env.PATHEXT.split(Qi.delimiter))i&&e.push(i);if(ke.isRooted(t)){let i=yield ke.tryGetExecutablePath(t,e);return i?[i]:[]}if(t.includes(Qi.sep))return[];let r=[];if(process.env.PATH)for(let i of process.env.PATH.split(Qi.delimiter))i&&r.push(i);let n=[];for(let i of r){let s=yield ke.tryGetExecutablePath(Qi.join(i,t),e);s&&n.push(s)}return n})}o($U,"findInPath");function xle(t){let e=t.force==null?!0:t.force,r=!!t.recursive,n=t.copySourceDirectory==null?!0:!!t.copySourceDirectory;return{force:e,recursive:r,copySourceDirectory:n}}o(xle,"readCopyOptions");function KU(t,e,r,n){return Hs(this,void 0,void 0,function*(){if(r>=255)return;r++,yield gb(e);let i=yield ke.readdir(t);for(let s of i){let a=`${t}/${s}`,c=`${e}/${s}`;(yield ke.lstat(a)).isDirectory()?yield KU(a,c,r,n):yield XU(a,c,n)}yield ke.chmod(e,(yield ke.stat(t)).mode)})}o(KU,"cpDirRecursive");function XU(t,e,r){return Hs(this,void 0,void 0,function*(){if((yield ke.lstat(t)).isSymbolicLink()){try{yield ke.lstat(e),yield ke.unlink(e)}catch(i){i.code==="EPERM"&&(yield ke.chmod(e,"0666"),yield ke.unlink(e))}let n=yield ke.readlink(t);yield ke.symlink(n,e,ke.IS_WINDOWS?"junction":null)}else(!(yield ke.exists(e))||r)&&(yield ke.copyFile(t,e))})}o(XU,"copyFile")});var rF=g(Vr=>{"use strict";var Sle=Vr&&Vr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Rle=Vr&&Vr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),wc=Vr&&Vr.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&Sle(r,e,n[i]);return Rle(r,e),r}}(),ZU=Vr&&Vr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Vr,"__esModule",{value:!0});Vr.ToolRunner=void 0;Vr.argStringToArray=Tle;var Uh=wc(require("os")),tF=wc(require("events")),_le=wc(require("child_process")),vle=wc(require("path")),Ple=wc(au()),eF=wc(mb()),Dle=require("timers"),Fh=process.platform==="win32",yb=class extends tF.EventEmitter{static{o(this,"ToolRunner")}constructor(e,r,n){if(super(),!e)throw new Error("Parameter 'toolPath' cannot be null or empty.");this.toolPath=e,this.args=r||[],this.options=n||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,r){let n=this._getSpawnFileName(),i=this._getSpawnArgs(e),s=r?"":"[command]";if(Fh)if(this._isCmdFile()){s+=n;for(let a of i)s+=` ${a}`}else if(e.windowsVerbatimArguments){s+=`"${n}"`;for(let a of i)s+=` ${a}`}else{s+=this._windowsQuoteCmdArg(n);for(let a of i)s+=` ${this._windowsQuoteCmdArg(a)}`}else{s+=n;for(let a of i)s+=` ${a}`}return s}_processLineBuffer(e,r,n){try{let i=r+e.toString(),s=i.indexOf(Uh.EOL);for(;s>-1;){let a=i.substring(0,s);n(a),i=i.substring(s+Uh.EOL.length),s=i.indexOf(Uh.EOL)}return i}catch(i){return this._debug(`error processing line. Failed with error ${i}`),""}}_getSpawnFileName(){return Fh&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(Fh&&this._isCmdFile()){let r=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(let n of this.args)r+=" ",r+=e.windowsVerbatimArguments?n:this._windowsQuoteCmdArg(n);return r+='"',[r]}return this.args}_endsWith(e,r){return e.endsWith(r)}_isCmdFile(){let 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'""';let r=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],n=!1;for(let a of e)if(r.some(c=>c===a)){n=!0;break}if(!n)return e;let i='"',s=!0;for(let a=e.length;a>0;a--)i+=e[a-1],s&&e[a-1]==="\\"?i+="\\":e[a-1]==='"'?(s=!0,i+='"'):s=!1;return i+='"',i.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let r='"',n=!0;for(let i=e.length;i>0;i--)r+=e[i-1],n&&e[i-1]==="\\"?r+="\\":e[i-1]==='"'?(n=!0,r+="\\"):n=!1;return r+='"',r.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};let r={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return r.outStream=e.outStream||process.stdout,r.errStream=e.errStream||process.stderr,r}_getSpawnOptions(e,r){e=e||{};let n={};return n.cwd=e.cwd,n.env=e.env,n.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(n.argv0=`"${r}"`),n}exec(){return ZU(this,void 0,void 0,function*(){return!eF.isRooted(this.toolPath)&&(this.toolPath.includes("/")||Fh&&this.toolPath.includes("\\"))&&(this.toolPath=vle.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield Ple.which(this.toolPath,!0),new Promise((e,r)=>ZU(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(let A of this.args)this._debug(` ${A}`);let n=this._cloneExecOptions(this.options);!n.silent&&n.outStream&&n.outStream.write(this._getCommandString(n)+Uh.EOL);let i=new Cb(n,this.toolPath);if(i.on("debug",A=>{this._debug(A)}),this.options.cwd&&!(yield eF.exists(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let s=this._getSpawnFileName(),a=_le.spawn(s,this._getSpawnArgs(n),this._getSpawnOptions(this.options,s)),c="";a.stdout&&a.stdout.on("data",A=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(A),!n.silent&&n.outStream&&n.outStream.write(A),c=this._processLineBuffer(A,c,u=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(u)})});let l="";if(a.stderr&&a.stderr.on("data",A=>{i.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(A),!n.silent&&n.errStream&&n.outStream&&(n.failOnStdErr?n.errStream:n.outStream).write(A),l=this._processLineBuffer(A,l,u=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(u)})}),a.on("error",A=>{i.processError=A.message,i.processExited=!0,i.processClosed=!0,i.CheckComplete()}),a.on("exit",A=>{i.processExitCode=A,i.processExited=!0,this._debug(`Exit code ${A} received from tool '${this.toolPath}'`),i.CheckComplete()}),a.on("close",A=>{i.processExitCode=A,i.processExited=!0,i.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),i.CheckComplete()}),i.on("done",(A,u)=>{c.length>0&&this.emit("stdline",c),l.length>0&&this.emit("errline",l),a.removeAllListeners(),A?r(A):e(u)}),this.options.input){if(!a.stdin)throw new Error("child process missing stdin");a.stdin.end(this.options.input)}}))})}};Vr.ToolRunner=yb;function Tle(t){let e=[],r=!1,n=!1,i="";function s(a){n&&a!=='"'&&(i+="\\"),i+=a,n=!1}o(s,"append");for(let a=0;a<t.length;a++){let c=t.charAt(a);if(c==='"'){n?s(c):r=!r;continue}if(c==="\\"&&n){s(c);continue}if(c==="\\"&&r){n=!0;continue}if(c===" "&&!r){i.length>0&&(e.push(i),i="");continue}s(c)}return i.length>0&&e.push(i.trim()),e}o(Tle,"argStringToArray");var Cb=class t extends tF.EventEmitter{static{o(this,"ExecState")}constructor(e,r){if(super(),this.processClosed=!1,this.processError="",this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!r)throw new Error("toolPath must not be empty");this.options=e,this.toolPath=r,e.delay&&(this.delay=e.delay)}CheckComplete(){this.done||(this.processClosed?this._setResult():this.processExited&&(this.timeout=(0,Dle.setTimeout)(t.HandleTimeout,this.delay,this)))}_debug(e){this.emit("debug",e)}_setResult(){let e;this.processExited&&(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}`):this.processExitCode!==0&&!this.options.ignoreReturnCode?e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`):this.processStderr&&this.options.failOnStdErr&&(e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`))),this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.done=!0,this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(!e.done){if(!e.processClosed&&e.processExited){let r=`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(r)}e._setResult()}}}});var Nc=g(Bn=>{"use strict";var Ole=Bn&&Bn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Mle=Bn&&Bn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),kle=Bn&&Bn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&Ole(r,e,n[i]);return Mle(r,e),r}}(),sF=Bn&&Bn.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Bn,"__esModule",{value:!0});Bn.exec=oF;Bn.getExecOutput=Lle;var nF=require("string_decoder"),iF=kle(rF());function oF(t,e,r){return sF(this,void 0,void 0,function*(){let n=iF.argStringToArray(t);if(n.length===0)throw new Error("Parameter 'commandLine' cannot be null or empty.");let i=n[0];return e=n.slice(1).concat(e||[]),new iF.ToolRunner(i,e,r).exec()})}o(oF,"exec");function Lle(t,e,r){return sF(this,void 0,void 0,function*(){var n,i;let s="",a="",c=new nF.StringDecoder("utf8"),l=new nF.StringDecoder("utf8"),A=(n=r?.listeners)===null||n===void 0?void 0:n.stdout,u=(i=r?.listeners)===null||i===void 0?void 0:i.stderr,d=o(Q=>{a+=l.write(Q),u&&u(Q)},"stdErrListener"),f=o(Q=>{s+=c.write(Q),A&&A(Q)},"stdOutListener"),m=Object.assign(Object.assign({},r?.listeners),{stdout:f,stderr:d}),C=yield oF(t,e,Object.assign(Object.assign({},r),{listeners:m}));return s+=c.end(),a+=l.end(),{exitCode:C,stdout:s,stderr:a}})}o(Lle,"getExecOutput")});var cF=g(Re=>{"use strict";var Ule=Re&&Re.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Fle=Re&&Re.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),qle=Re&&Re.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&Ule(r,e,n[i]);return Fle(r,e),r}}(),Hh=Re&&Re.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},Hle=Re&&Re.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Re,"__esModule",{value:!0});Re.isLinux=Re.isMacOS=Re.isWindows=Re.arch=Re.platform=void 0;Re.getDetails=Yle;var aF=Hle(require("os")),qh=qle(Nc()),zle=o(()=>Hh(void 0,void 0,void 0,function*(){let{stdout:t}=yield qh.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',void 0,{silent:!0}),{stdout:e}=yield qh.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',void 0,{silent:!0});return{name:e.trim(),version:t.trim()}}),"getWindowsInfo"),jle=o(()=>Hh(void 0,void 0,void 0,function*(){var t,e,r,n;let{stdout:i}=yield qh.getExecOutput("sw_vers",void 0,{silent:!0}),s=(e=(t=i.match(/ProductVersion:\s*(.+)/))===null||t===void 0?void 0:t[1])!==null&&e!==void 0?e:"";return{name:(n=(r=i.match(/ProductName:\s*(.+)/))===null||r===void 0?void 0:r[1])!==null&&n!==void 0?n:"",version:s}}),"getMacOsInfo"),Gle=o(()=>Hh(void 0,void 0,void 0,function*(){let{stdout:t}=yield qh.getExecOutput("lsb_release",["-i","-r","-s"],{silent:!0}),[e,r]=t.trim().split(`
`);return{name:e,version:r}}),"getLinuxInfo");Re.platform=aF.default.platform();Re.arch=aF.default.arch();Re.isWindows=Re.platform==="win32";Re.isMacOS=Re.platform==="darwin";Re.isLinux=Re.platform==="linux";function Yle(){return Hh(this,void 0,void 0,function*(){return Object.assign(Object.assign({},yield Re.isWindows?zle():Re.isMacOS?jle():Gle()),{platform:Re.platform,arch:Re.arch,isWindows:Re.isWindows,isMacOS:Re.isMacOS,isLinux:Re.isLinux})})}o(Yle,"getDetails")});var ft=g(he=>{"use strict";var Jle=he&&he.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Vle=he&&he.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Bb=he&&he.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&Jle(r,e,n[i]);return Vle(r,e),r}}(),lF=he&&he.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(he,"__esModule",{value:!0});he.platform=he.toPlatformPath=he.toWin32Path=he.toPosixPath=he.markdownSummary=he.summary=he.ExitCode=void 0;he.exportVariable=Kle;he.setSecret=Xle;he.addPath=Zle;he.getInput=Ib;he.getMultilineInput=eAe;he.getBooleanInput=tAe;he.setOutput=rAe;he.setCommandEcho=nAe;he.setFailed=iAe;he.isDebug=sAe;he.debug=oAe;he.error=uF;he.warning=aAe;he.notice=cAe;he.info=lAe;he.startGroup=dF;he.endGroup=pF;he.group=AAe;he.saveState=uAe;he.getState=dAe;he.getIDToken=pAe;var In=sv(),jo=cv(),xc=Td(),AF=Bb(require("os")),Wle=Bb(require("path")),$le=HU(),Eb;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Eb||(he.ExitCode=Eb={}));function Kle(t,e){let r=(0,xc.toCommandValue)(e);if(process.env[t]=r,process.env.GITHUB_ENV||"")return(0,jo.issueFileCommand)("ENV",(0,jo.prepareKeyValueMessage)(t,e));(0,In.issueCommand)("set-env",{name:t},r)}o(Kle,"exportVariable");function Xle(t){(0,In.issueCommand)("add-mask",{},t)}o(Xle,"setSecret");function Zle(t){process.env.GITHUB_PATH||""?(0,jo.issueFileCommand)("PATH",t):(0,In.issueCommand)("add-path",{},t),process.env.PATH=`${t}${Wle.delimiter}${process.env.PATH}`}o(Zle,"addPath");function Ib(t,e){let r=process.env[`INPUT_${t.replace(/ /g,"_").toUpperCase()}`]||"";if(e&&e.required&&!r)throw new Error(`Input required and not supplied: ${t}`);return e&&e.trimWhitespace===!1?r:r.trim()}o(Ib,"getInput");function eAe(t,e){let r=Ib(t,e).split(`
`).filter(n=>n!=="");return e&&e.trimWhitespace===!1?r:r.map(n=>n.trim())}o(eAe,"getMultilineInput");function tAe(t,e){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=Ib(t,e);if(r.includes(i))return!0;if(n.includes(i))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${t}
Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}o(tAe,"getBooleanInput");function rAe(t,e){if(process.env.GITHUB_OUTPUT||"")return(0,jo.issueFileCommand)("OUTPUT",(0,jo.prepareKeyValueMessage)(t,e));process.stdout.write(AF.EOL),(0,In.issueCommand)("set-output",{name:t},(0,xc.toCommandValue)(e))}o(rAe,"setOutput");function nAe(t){(0,In.issue)("echo",t?"on":"off")}o(nAe,"setCommandEcho");function iAe(t){process.exitCode=Eb.Failure,uF(t)}o(iAe,"setFailed");function sAe(){return process.env.RUNNER_DEBUG==="1"}o(sAe,"isDebug");function oAe(t){(0,In.issueCommand)("debug",{},t)}o(oAe,"debug");function uF(t,e={}){(0,In.issueCommand)("error",(0,xc.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(uF,"error");function aAe(t,e={}){(0,In.issueCommand)("warning",(0,xc.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(aAe,"warning");function cAe(t,e={}){(0,In.issueCommand)("notice",(0,xc.toCommandProperties)(e),t instanceof Error?t.toString():t)}o(cAe,"notice");function lAe(t){process.stdout.write(t+AF.EOL)}o(lAe,"info");function dF(t){(0,In.issue)("group",t)}o(dF,"startGroup");function pF(){(0,In.issue)("endgroup")}o(pF,"endGroup");function AAe(t,e){return lF(this,void 0,void 0,function*(){dF(t);let r;try{r=yield e()}finally{pF()}return r})}o(AAe,"group");function uAe(t,e){if(process.env.GITHUB_STATE||"")return(0,jo.issueFileCommand)("STATE",(0,jo.prepareKeyValueMessage)(t,e));(0,In.issueCommand)("save-state",{name:t},(0,xc.toCommandValue)(e))}o(uAe,"saveState");function dAe(t){return process.env[`STATE_${t}`]||""}o(dAe,"getState");function pAe(t){return lF(this,void 0,void 0,function*(){return yield $le.OidcClient.getIDToken(t)})}o(pAe,"getIDToken");var hAe=hb();Object.defineProperty(he,"summary",{enumerable:!0,get:function(){return hAe.summary}});var fAe=hb();Object.defineProperty(he,"markdownSummary",{enumerable:!0,get:function(){return fAe.markdownSummary}});var bb=jU();Object.defineProperty(he,"toPosixPath",{enumerable:!0,get:function(){return bb.toPosixPath}});Object.defineProperty(he,"toWin32Path",{enumerable:!0,get:function(){return bb.toWin32Path}});Object.defineProperty(he,"toPlatformPath",{enumerable:!0,get:function(){return bb.toPlatformPath}});he.platform=Bb(cF())});var hF=g(ls=>{"use strict";var mAe=ls&&ls.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),gAe=ls&&ls.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),yAe=ls&&ls.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&mAe(r,e,n[i]);return gAe(r,e),r}}();Object.defineProperty(ls,"__esModule",{value:!0});ls.getOptions=CAe;var cu=yAe(ft());function CAe(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,cu.debug(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,cu.debug(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,cu.debug(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,cu.debug(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,cu.debug(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}o(CAe,"getOptions")});var jh=g(ir=>{"use strict";var EAe=ir&&ir.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),BAe=ir&&ir.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),IAe=ir&&ir.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&EAe(r,e,n[i]);return BAe(r,e),r}}(),bAe=ir&&ir.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ir,"__esModule",{value:!0});ir.dirname=QAe;ir.ensureAbsoluteRoot=wAe;ir.hasAbsoluteRoot=Qb;ir.hasRoot=NAe;ir.normalizeSeparators=lu;ir.safeTrimTrailingSeparator=wb;var zh=IAe(require("path")),Go=bAe(require("assert")),zs=process.platform==="win32";function QAe(t){if(t=wb(t),zs&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=zh.dirname(t);return zs&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=wb(e)),e}o(QAe,"dirname");function wAe(t,e){if((0,Go.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,Go.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),Qb(e))return e;if(zs){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,Go.default)(r.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${r}'`),e[0].toUpperCase()===r[0].toUpperCase()?e.length===2?`${e[0]}:\\${r.substr(3)}`:(r.endsWith("\\")||(r+="\\"),`${e[0]}:\\${r.substr(3)}${e.substr(2)}`):`${e[0]}:\\${e.substr(2)}`}else if(lu(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,Go.default)(r.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${r}'`),`${r[0]}:\\${e.substr(1)}`}}return(0,Go.default)(Qb(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||zs&&t.endsWith("\\")||(t+=zh.sep),t+e}o(wAe,"ensureAbsoluteRoot");function Qb(t){return(0,Go.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=lu(t),zs?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}o(Qb,"hasAbsoluteRoot");function NAe(t){return(0,Go.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=lu(t),zs?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(NAe,"hasRoot");function lu(t){return t=t||"",zs?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(lu,"normalizeSeparators");function wb(t){return t?(t=lu(t),!t.endsWith(zh.sep)||t===zh.sep||zs&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}o(wb,"safeTrimTrailingSeparator")});var Yh=g(Gh=>{"use strict";Object.defineProperty(Gh,"__esModule",{value:!0});Gh.MatchKind=void 0;var fF;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(fF||(Gh.MatchKind=fF={}))});var yF=g(Zn=>{"use strict";var xAe=Zn&&Zn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),SAe=Zn&&Zn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),RAe=Zn&&Zn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&xAe(r,e,n[i]);return SAe(r,e),r}}();Object.defineProperty(Zn,"__esModule",{value:!0});Zn.getSearchPaths=vAe;Zn.match=PAe;Zn.partialMatch=DAe;var mF=RAe(jh()),_Ae=Yh(),gF=process.platform==="win32";function vAe(t){t=t.filter(n=>!n.negate);let e={};for(let n of t){let i=gF?n.searchPath.toUpperCase():n.searchPath;e[i]="candidate"}let r=[];for(let n of t){let i=gF?n.searchPath.toUpperCase():n.searchPath;if(e[i]==="included")continue;let s=!1,a=i,c=mF.dirname(a);for(;c!==a;){if(e[c]){s=!0;break}a=c,c=mF.dirname(a)}s||(r.push(n.searchPath),e[i]="included")}return r}o(vAe,"getSearchPaths");function PAe(t,e){let r=_Ae.MatchKind.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}o(PAe,"match");function DAe(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(DAe,"partialMatch")});var EF=g((WGe,CF)=>{CF.exports=function(t,e){for(var r=[],n=0;n<t.length;n++){var i=e(t[n],n);TAe(i)?r.push.apply(r,i):r.push(i)}return r};var TAe=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"}});var wF=g(($Ge,QF)=>{"use strict";QF.exports=IF;function IF(t,e,r){t instanceof RegExp&&(t=BF(t,r)),e instanceof RegExp&&(e=BF(e,r));var n=bF(t,e,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+t.length,n[1]),post:r.slice(n[1]+e.length)}}o(IF,"balanced");function BF(t,e){var r=e.match(t);return r?r[0]:null}o(BF,"maybeMatch");IF.range=bF;function bF(t,e,r){var n,i,s,a,c,l=r.indexOf(t),A=r.indexOf(e,l+1),u=l;if(l>=0&&A>0){if(t===e)return[l,A];for(n=[],s=r.length;u>=0&&!c;)u==l?(n.push(u),l=r.indexOf(t,u+1)):n.length==1?c=[n.pop(),A]:(i=n.pop(),i<s&&(s=i,a=A),A=r.indexOf(e,u+1)),u=l<A&&l>=0?l:A;n.length&&(c=[s,a])}return c}o(bF,"range")});var DF=g((XGe,PF)=>{var OAe=EF(),NF=wF();PF.exports=LAe;var xF="\0SLASH"+Math.random()+"\0",SF="\0OPEN"+Math.random()+"\0",xb="\0CLOSE"+Math.random()+"\0",RF="\0COMMA"+Math.random()+"\0",_F="\0PERIOD"+Math.random()+"\0";function Nb(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(Nb,"numeric");function MAe(t){return t.split("\\\\").join(xF).split("\\{").join(SF).split("\\}").join(xb).split("\\,").join(RF).split("\\.").join(_F)}o(MAe,"escapeBraces");function kAe(t){return t.split(xF).join("\\").split(SF).join("{").split(xb).join("}").split(RF).join(",").split(_F).join(".")}o(kAe,"unescapeBraces");function vF(t){if(!t)return[""];var e=[],r=NF("{","}",t);if(!r)return t.split(",");var n=r.pre,i=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+i+"}";var c=vF(s);return s.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(vF,"parseCommaParts");function LAe(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),Sc(MAe(t),!0).map(kAe)):[]}o(LAe,"expandTop");function UAe(t){return"{"+t+"}"}o(UAe,"embrace");function FAe(t){return/^-?0\d/.test(t)}o(FAe,"isPadded");function qAe(t,e){return t<=e}o(qAe,"lte");function HAe(t,e){return t>=e}o(HAe,"gte");function Sc(t,e){var r=[],n=NF("{","}",t);if(!n||/\$$/.test(n.pre))return[t];var i=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),s=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),a=i||s,c=n.body.indexOf(",")>=0;if(!a&&!c)return n.post.match(/,.*\}/)?(t=n.pre+"{"+n.body+xb+n.post,Sc(t)):[t];var l;if(a)l=n.body.split(/\.\./);else if(l=vF(n.body),l.length===1&&(l=Sc(l[0],!1).map(UAe),l.length===1)){var u=n.post.length?Sc(n.post,!1):[""];return u.map(function(Xe){return n.pre+l[0]+Xe})}var A=n.pre,u=n.post.length?Sc(n.post,!1):[""],d;if(a){var f=Nb(l[0]),m=Nb(l[1]),C=Math.max(l[0].length,l[1].length),Q=l.length==3?Math.abs(Nb(l[2])):1,S=qAe,w=m<f;w&&(Q*=-1,S=HAe);var R=l.some(FAe);d=[];for(var T=f;S(T,m);T+=Q){var L;if(s)L=String.fromCharCode(T),L==="\\"&&(L="");else if(L=String(T),R){var W=C-L.length;if(W>0){var de=new Array(W+1).join("0");T<0?L="-"+de+L.slice(1):L=de+L}}d.push(L)}}else d=OAe(l,function(He){return Sc(He,!1)});for(var le=0;le<d.length;le++)for(var Te=0;Te<u.length;Te++){var Oe=A+d[le]+u[Te];(!e||a||Oe)&&r.push(Oe)}return r}o(Sc,"expand")});var UF=g((eYe,LF)=>{LF.exports=Wr;Wr.Minimatch=Kt;var Au=function(){try{return require("path")}catch{}}()||{sep:"/"};Wr.sep=Au.sep;var _b=Wr.GLOBSTAR=Kt.GLOBSTAR={},zAe=DF(),TF={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Sb="[^/]",Rb=Sb+"*?",jAe="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",GAe="(?:(?!(?:\\/|^)\\.).)*?",OF=YAe("().*{}+?[]^$\\!");function YAe(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}o(YAe,"charSet");var MF=/\/+/;Wr.filter=JAe;function JAe(t,e){return e=e||{},function(r,n,i){return Wr(r,t,e)}}o(JAe,"filter");function js(t,e){e=e||{};var r={};return Object.keys(t).forEach(function(n){r[n]=t[n]}),Object.keys(e).forEach(function(n){r[n]=e[n]}),r}o(js,"ext");Wr.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return Wr;var e=Wr,r=o(function(i,s,a){return e(i,s,js(t,a))},"minimatch");return r.Minimatch=o(function(i,s){return new e.Minimatch(i,js(t,s))},"Minimatch"),r.Minimatch.defaults=o(function(i){return e.defaults(js(t,i)).Minimatch},"defaults"),r.filter=o(function(i,s){return e.filter(i,js(t,s))},"filter"),r.defaults=o(function(i){return e.defaults(js(t,i))},"defaults"),r.makeRe=o(function(i,s){return e.makeRe(i,js(t,s))},"makeRe"),r.braceExpand=o(function(i,s){return e.braceExpand(i,js(t,s))},"braceExpand"),r.match=function(n,i,s){return e.match(n,i,js(t,s))},r};Kt.defaults=function(t){return Wr.defaults(t).Minimatch};function Wr(t,e,r){return Vh(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new Kt(e,r).match(t)}o(Wr,"minimatch");function Kt(t,e){if(!(this instanceof Kt))return new Kt(t,e);Vh(t),e||(e={}),t=t.trim(),Au.sep!=="/"&&(t=t.split(Au.sep).join("/")),this.options=e,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.make()}o(Kt,"Minimatch");Kt.prototype.debug=function(){};Kt.prototype.make=VAe;function VAe(){var t=this.pattern,e=this.options;if(!e.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate();var r=this.globSet=this.braceExpand();e.debug&&(this.debug=o(function(){console.error.apply(console,arguments)},"debug")),this.debug(this.pattern,r),r=this.globParts=r.map(function(n){return n.split(MF)}),this.debug(this.pattern,r),r=r.map(function(n,i,s){return n.map(this.parse,this)},this),this.debug(this.pattern,r),r=r.filter(function(n){return n.indexOf(!1)===-1}),this.debug(this.pattern,r),this.set=r}o(VAe,"make");Kt.prototype.parseNegate=WAe;function WAe(){var t=this.pattern,e=!1,r=this.options,n=0;if(!r.nonegate){for(var i=0,s=t.length;i<s&&t.charAt(i)==="!";i++)e=!e,n++;n&&(this.pattern=t.substr(n)),this.negate=e}}o(WAe,"parseNegate");Wr.braceExpand=function(t,e){return kF(t,e)};Kt.prototype.braceExpand=kF;function kF(t,e){return e||(this instanceof Kt?e=this.options:e={}),t=typeof t>"u"?this.pattern:t,Vh(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:zAe(t)}o(kF,"braceExpand");var $Ae=1024*64,Vh=o(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>$Ae)throw new TypeError("pattern is too long")},"assertValidPattern");Kt.prototype.parse=KAe;var Jh={};function KAe(t,e){Vh(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return _b;if(t==="")return"";var n="",i=!!r.nocase,s=!1,a=[],c=[],l,A=!1,u=-1,d=-1,f=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",m=this;function C(){if(l){switch(l){case"*":n+=Rb,i=!0;break;case"?":n+=Sb,i=!0;break;default:n+="\\"+l;break}m.debug("clearStateChar %j %j",l,n),l=!1}}o(C,"clearStateChar");for(var Q=0,S=t.length,w;Q<S&&(w=t.charAt(Q));Q++){if(this.debug("%s %s %s %j",t,Q,n,w),s&&OF[w]){n+="\\"+w,s=!1;continue}switch(w){case"/":return!1;case"\\":C(),s=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",t,Q,n,w),A){this.debug(" in class"),w==="!"&&Q===d+1&&(w="^"),n+=w;continue}m.debug("call clearStateChar %j",l),C(),l=w,r.noext&&C();continue;case"(":if(A){n+="(";continue}if(!l){n+="\\(";continue}a.push({type:l,start:Q-1,reStart:n.length,open:TF[l].open,close:TF[l].close}),n+=l==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",l,n),l=!1;continue;case")":if(A||!a.length){n+="\\)";continue}C(),i=!0;var R=a.pop();n+=R.close,R.type==="!"&&c.push(R),R.reEnd=n.length;continue;case"|":if(A||!a.length||s){n+="\\|",s=!1;continue}C(),n+="|";continue;case"[":if(C(),A){n+="\\"+w;continue}A=!0,d=Q,u=n.length,n+=w;continue;case"]":if(Q===d+1||!A){n+="\\"+w,s=!1;continue}var T=t.substring(d+1,Q);try{RegExp("["+T+"]")}catch{var L=this.parse(T,Jh);n=n.substr(0,u)+"\\["+L[0]+"\\]",i=i||L[1],A=!1;continue}i=!0,A=!1,n+=w;continue;default:C(),s?s=!1:OF[w]&&!(w==="^"&&A)&&(n+="\\"),n+=w}}for(A&&(T=t.substr(d+1),L=this.parse(T,Jh),n=n.substr(0,u)+"\\["+L[0],i=i||L[1]),R=a.pop();R;R=a.pop()){var W=n.slice(R.reStart+R.open.length);this.debug("setting tail",n,R),W=W.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(Ji,_d,oA){return oA||(oA="\\"),_d+_d+oA+"|"}),this.debug(`tail=%j
%s`,W,W,R,n);var de=R.type==="*"?Rb:R.type==="?"?Sb:"\\"+R.type;i=!0,n=n.slice(0,R.reStart)+de+"\\("+W}C(),s&&(n+="\\\\");var le=!1;switch(n.charAt(0)){case"[":case".":case"(":le=!0}for(var Te=c.length-1;Te>-1;Te--){var Oe=c[Te],He=n.slice(0,Oe.reStart),Xe=n.slice(Oe.reStart,Oe.reEnd-8),fe=n.slice(Oe.reEnd-8,Oe.reEnd),Ge=n.slice(Oe.reEnd);fe+=Ge;var ai=He.split("(").length-1,Gi=Ge;for(Q=0;Q<ai;Q++)Gi=Gi.replace(/\)[+*?]?/,"");Ge=Gi;var Yi="";Ge===""&&e!==Jh&&(Yi="$");var SC=He+Xe+Ge+Yi+fe;n=SC}if(n!==""&&i&&(n="(?=.)"+n),le&&(n=f+n),e===Jh)return[n,i];if(!i)return ZAe(t);var RC=r.nocase?"i":"";try{var Co=new RegExp("^"+n+"$",RC)}catch{return new RegExp("$.")}return Co._glob=t,Co._src=n,Co}o(KAe,"parse");Wr.makeRe=function(t,e){return new Kt(t,e||{}).makeRe()};Kt.prototype.makeRe=XAe;function XAe(){if(this.regexp||this.regexp===!1)return this.regexp;var t=this.set;if(!t.length)return this.regexp=!1,this.regexp;var e=this.options,r=e.noglobstar?Rb:e.dot?jAe:GAe,n=e.nocase?"i":"",i=t.map(function(s){return s.map(function(a){return a===_b?r:typeof a=="string"?eue(a):a._src}).join("\\/")}).join("|");i="^(?:"+i+")$",this.negate&&(i="^(?!"+i+").*$");try{this.regexp=new RegExp(i,n)}catch{this.regexp=!1}return this.regexp}o(XAe,"makeRe");Wr.match=function(t,e,r){r=r||{};var n=new Kt(e,r);return t=t.filter(function(i){return n.match(i)}),n.options.nonull&&!t.length&&t.push(e),t};Kt.prototype.match=o(function(e,r){if(typeof r>"u"&&(r=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;var n=this.options;Au.sep!=="/"&&(e=e.split(Au.sep).join("/")),e=e.split(MF),this.debug(this.pattern,"split",e);var i=this.set;this.debug(this.pattern,"set",i);var s,a;for(a=e.length-1;a>=0&&(s=e[a],!s);a--);for(a=0;a<i.length;a++){var c=i[a],l=e;n.matchBase&&c.length===1&&(l=[s]);var A=this.matchOne(l,c,r);if(A)return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate},"match");Kt.prototype.matchOne=function(t,e,r){var n=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var i=0,s=0,a=t.length,c=e.length;i<a&&s<c;i++,s++){this.debug("matchOne loop");var l=e[s],A=t[i];if(this.debug(e,l,A),l===!1)return!1;if(l===_b){this.debug("GLOBSTAR",[e,l,A]);var u=i,d=s+1;if(d===c){for(this.debug("** at the end");i<a;i++)if(t[i]==="."||t[i]===".."||!n.dot&&t[i].charAt(0)===".")return!1;return!0}for(;u<a;){var f=t[u];if(this.debug(`
globstar while`,t,u,e,d,f),this.matchOne(t.slice(u),e.slice(d),r))return this.debug("globstar found match!",u,a,f),!0;if(f==="."||f===".."||!n.dot&&f.charAt(0)==="."){this.debug("dot detected!",t,u,e,d);break}this.debug("globstar swallow a segment, and continue"),u++}return!!(r&&(this.debug(`
>>> no match, partial?`,t,u,e,d),u===a))}var m;if(typeof l=="string"?(m=A===l,this.debug("string match",l,A,m)):(m=A.match(l),this.debug("pattern match",l,A,m)),!m)return!1}if(i===a&&s===c)return!0;if(i===a)return r;if(s===c)return i===a-1&&t[i]==="";throw new Error("wtf?")};function ZAe(t){return t.replace(/\\(.)/g,"$1")}o(ZAe,"globUnescape");function eue(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(eue,"regExpEscape")});var qF=g(bn=>{"use strict";var tue=bn&&bn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),rue=bn&&bn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),FF=bn&&bn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&tue(r,e,n[i]);return rue(r,e),r}}(),nue=bn&&bn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(bn,"__esModule",{value:!0});bn.Path=void 0;var uu=FF(require("path")),Gs=FF(jh()),du=nue(require("assert")),iue=process.platform==="win32",vb=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if((0,du.default)(e,"Parameter 'itemPath' must not be empty"),e=Gs.safeTrimTrailingSeparator(e),!Gs.hasRoot(e))this.segments=e.split(uu.sep);else{let r=e,n=Gs.dirname(r);for(;n!==r;){let i=uu.basename(r);this.segments.unshift(i),r=n,n=Gs.dirname(r)}this.segments.unshift(r)}else{(0,du.default)(e.length>0,"Parameter 'itemPath' must not be an empty array");for(let r=0;r<e.length;r++){let n=e[r];(0,du.default)(n,"Parameter 'itemPath' must not contain any empty segments"),n=Gs.normalizeSeparators(e[r]),r===0&&Gs.hasRoot(n)?(n=Gs.safeTrimTrailingSeparator(n),(0,du.default)(n===Gs.dirname(n),"Parameter 'itemPath' root segment contains information for multiple segments"),this.segments.push(n)):((0,du.default)(!n.includes(uu.sep),"Parameter 'itemPath' contains unexpected path separators"),this.segments.push(n))}}}toString(){let e=this.segments[0],r=e.endsWith(uu.sep)||iue&&/^[A-Z]:$/i.test(e);for(let n=1;n<this.segments.length;n++)r?r=!1:e+=uu.sep,e+=this.segments[n];return e}};bn.Path=vb});var HF=g(Qn=>{"use strict";var sue=Qn&&Qn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),oue=Qn&&Qn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Tb=Qn&&Qn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&sue(r,e,n[i]);return oue(r,e),r}}(),aue=Qn&&Qn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Qn,"__esModule",{value:!0});Qn.Pattern=void 0;var cue=Tb(require("os")),pu=Tb(require("path")),Sr=Tb(jh()),Yo=aue(require("assert")),lue=UF(),Pb=Yh(),Wh=qF(),As=process.platform==="win32",Db=class t{static{o(this,"Pattern")}constructor(e,r=!1,n,i){this.negate=!1;let s;if(typeof e=="string")s=e.trim();else{n=n||[],(0,Yo.default)(n.length,"Parameter 'segments' must not empty");let A=t.getLiteral(n[0]);(0,Yo.default)(A&&Sr.hasAbsoluteRoot(A),"Parameter 'segments' first element must be a root path"),s=new Wh.Path(n).toString().trim(),e&&(s=`!${s}`)}for(;s.startsWith("!");)this.negate=!this.negate,s=s.substr(1).trim();s=t.fixupPattern(s,i),this.segments=new Wh.Path(s).segments,this.trailingSeparator=Sr.normalizeSeparators(s).endsWith(pu.sep),s=Sr.safeTrimTrailingSeparator(s);let a=!1,c=this.segments.map(A=>t.getLiteral(A)).filter(A=>!a&&!(a=A===""));this.searchPath=new Wh.Path(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),As?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:As,nocomment:!0,noext:!0,nonegate:!0};s=As?s.replace(/\\/g,"/"):s,this.minimatch=new lue.Minimatch(s,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=Sr.normalizeSeparators(e),!e.endsWith(pu.sep)&&this.isImplicitPattern===!1&&(e=`${e}${pu.sep}`)):e=Sr.safeTrimTrailingSeparator(e),this.minimatch.match(e)?this.trailingSeparator?Pb.MatchKind.Directory:Pb.MatchKind.All:Pb.MatchKind.None}partialMatch(e){return e=Sr.safeTrimTrailingSeparator(e),Sr.dirname(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(As?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(As?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,Yo.default)(e,"pattern cannot be empty");let n=new Wh.Path(e).segments.map(i=>t.getLiteral(i));if((0,Yo.default)(n.every((i,s)=>(i!=="."||s===0)&&i!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,Yo.default)(!Sr.hasRoot(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=Sr.normalizeSeparators(e),e==="."||e.startsWith(`.${pu.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${pu.sep}`))r=r||cue.homedir(),(0,Yo.default)(r,"Unable to determine HOME directory"),(0,Yo.default)(Sr.hasAbsoluteRoot(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(As&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let i=Sr.ensureAbsoluteRoot("C:\\dummy-root",e.substr(0,2));e.length>2&&!i.endsWith("\\")&&(i+="\\"),e=t.globEscape(i)+e.substr(2)}else if(As&&(e==="\\"||e.match(/^\\[^\\]/))){let i=Sr.ensureAbsoluteRoot("C:\\dummy-root","\\");i.endsWith("\\")||(i+="\\"),e=t.globEscape(i)+e.substr(1)}else e=Sr.ensureAbsoluteRoot(t.globEscape(process.cwd()),e);return Sr.normalizeSeparators(e)}static getLiteral(e){let r="";for(let n=0;n<e.length;n++){let i=e[n];if(i==="\\"&&!As&&n+1<e.length){r+=e[++n];continue}else{if(i==="*"||i==="?")return"";if(i==="["&&n+1<e.length){let s="",a=-1;for(let c=n+1;c<e.length;c++){let l=e[c];if(l==="\\"&&!As&&c+1<e.length){s+=e[++c];continue}else if(l==="]"){a=c;break}else s+=l}if(a>=0){if(s.length>1)return"";if(s){r+=s,n=a;continue}}}}r+=i}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};Qn.Pattern=Db});var zF=g($h=>{"use strict";Object.defineProperty($h,"__esModule",{value:!0});$h.SearchState=void 0;var Ob=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};$h.SearchState=Ob});var WF=g(Ht=>{"use strict";var Aue=Ht&&Ht.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),uue=Ht&&Ht.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),fu=Ht&&Ht.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&Aue(r,e,n[i]);return uue(r,e),r}}(),Mb=Ht&&Ht.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},due=Ht&&Ht.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}},Ys=Ht&&Ht.__await||function(t){return this instanceof Ys?(this.v=t,this):new Ys(t)},pue=Ht&&Ht.__asyncGenerator||function(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,s=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(m){return function(C){return Promise.resolve(C).then(m,d)}}function c(m,C){n[m]&&(i[m]=function(Q){return new Promise(function(S,w){s.push([m,Q,S,w])>1||l(m,Q)})},C&&(i[m]=C(i[m])))}function l(m,C){try{A(n[m](C))}catch(Q){f(s[0][3],Q)}}function A(m){m.value instanceof Ys?Promise.resolve(m.value.v).then(u,d):f(s[0][2],m)}function u(m){l("next",m)}function d(m){l("throw",m)}function f(m,C){m(C),s.shift(),s.length&&l(s[0][0],s[0][1])}};Object.defineProperty(Ht,"__esModule",{value:!0});Ht.DefaultGlobber=void 0;var kb=fu(ft()),hu=fu(require("fs")),jF=fu(hF()),GF=fu(require("path")),Kh=fu(yF()),YF=Yh(),JF=HF(),VF=zF(),hue=process.platform==="win32",Lb=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=jF.getOptions(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return Mb(this,void 0,void 0,function*(){var e,r,n,i;let s=[];try{for(var a=!0,c=due(this.globGenerator()),l;l=yield c.next(),e=l.done,!e;a=!0){i=l.value,a=!1;let A=i;s.push(A)}}catch(A){r={error:A}}finally{try{!a&&!e&&(n=c.return)&&(yield n.call(c))}finally{if(r)throw r.error}}return s})}globGenerator(){return pue(this,arguments,o(function*(){let r=jF.getOptions(this.options),n=[];for(let a of this.patterns)n.push(a),r.implicitDescendants&&(a.trailingSeparator||a.segments[a.segments.length-1]!=="**")&&n.push(new JF.Pattern(a.negate,!0,a.segments.concat("**")));let i=[];for(let a of Kh.getSearchPaths(n)){kb.debug(`Search path '${a}'`);try{yield Ys(hu.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}i.unshift(new VF.SearchState(a,1))}let s=[];for(;i.length;){let a=i.pop(),c=Kh.match(n,a.path),l=!!c||Kh.partialMatch(n,a.path);if(!c&&!l)continue;let A=yield Ys(t.stat(a,r,s));if(A&&!(r.excludeHiddenFiles&&GF.basename(a.path).match(/^\./)))if(A.isDirectory()){if(c&YF.MatchKind.Directory&&r.matchDirectories)yield yield Ys(a.path);else if(!l)continue;let u=a.level+1,d=(yield Ys(hu.promises.readdir(a.path))).map(f=>new VF.SearchState(GF.join(a.path,f),u));i.push(...d.reverse())}else c&YF.MatchKind.File&&(yield yield Ys(a.path))}},"globGenerator_1"))}static create(e,r){return Mb(this,void 0,void 0,function*(){let n=new t(r);hue&&(e=e.replace(/\r\n/g,`
`),e=e.replace(/\r/g,`
`));let i=e.split(`
`).map(s=>s.trim());for(let s of i)!s||s.startsWith("#")||n.patterns.push(new JF.Pattern(s));return n.searchPaths.push(...Kh.getSearchPaths(n.patterns)),n})}static stat(e,r,n){return Mb(this,void 0,void 0,function*(){let i;if(r.followSymbolicLinks)try{i=yield hu.promises.stat(e.path)}catch(s){if(s.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){kb.debug(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw s}else i=yield hu.promises.lstat(e.path);if(i.isDirectory()&&r.followSymbolicLinks){let s=yield hu.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(a=>a===s)){kb.debug(`Symlink cycle detected for path '${e.path}' and realpath '${s}'`);return}n.push(s)}return i})}};Ht.DefaultGlobber=Lb});var ZF=g($r=>{"use strict";var fue=$r&&$r.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),mue=$r&&$r.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Rc=$r&&$r.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&fue(r,e,n[i]);return mue(r,e),r}}(),gue=$r&&$r.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},yue=$r&&$r.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}};Object.defineProperty($r,"__esModule",{value:!0});$r.hashFiles=Iue;var $F=Rc(require("crypto")),KF=Rc(ft()),XF=Rc(require("fs")),Cue=Rc(require("stream")),Eue=Rc(require("util")),Bue=Rc(require("path"));function Iue(t,e){return gue(this,arguments,void 0,function*(r,n,i=!1){var s,a,c,l,A;let u=i?KF.info:KF.debug,d=!1,f=n||((A=process.env.GITHUB_WORKSPACE)!==null&&A!==void 0?A:process.cwd()),m=$F.createHash("sha256"),C=0;try{for(var Q=!0,S=yue(r.globGenerator()),w;w=yield S.next(),s=w.done,!s;Q=!0){l=w.value,Q=!1;let R=l;if(u(R),!R.startsWith(`${f}${Bue.sep}`)){u(`Ignore '${R}' since it is not under GITHUB_WORKSPACE.`);continue}if(XF.statSync(R).isDirectory()){u(`Skip directory '${R}'.`);continue}let T=$F.createHash("sha256");yield Eue.promisify(Cue.pipeline)(XF.createReadStream(R),T),m.write(T.digest()),C++,d||(d=!0)}}catch(R){a={error:R}}finally{try{!Q&&!s&&(c=S.return)&&(yield c.call(S))}finally{if(a)throw a.error}}return m.end(),d?(u(`Found ${C} files to hash.`),m.digest("hex")):(u("No matches found for glob"),"")})}o(Iue,"hashFiles")});var rq=g(_c=>{"use strict";var eq=_c&&_c.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(_c,"__esModule",{value:!0});_c.create=tq;_c.hashFiles=wue;var bue=WF(),Que=ZF();function tq(t,e){return eq(this,void 0,void 0,function*(){return yield bue.DefaultGlobber.create(t,e)})}o(tq,"create");function wue(t){return eq(this,arguments,void 0,function*(e,r="",n,i=!1){let s=!0;n&&typeof n.followSymbolicLinks=="boolean"&&(s=n.followSymbolicLinks);let a=yield tq(e,{followSymbolicLinks:s});return(0,Que.hashFiles)(a,r,i)})}o(wue,"hashFiles")});var rf=g((ue,aq)=>{ue=aq.exports=Ce;var Ue;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?Ue=o(function(){var t=Array.prototype.slice.call(arguments,0);t.unshift("SEMVER"),console.log.apply(console,t)},"debug"):Ue=o(function(){},"debug");ue.SEMVER_SPEC_VERSION="2.0.0";var mu=256,Xh=Number.MAX_SAFE_INTEGER||9007199254740991,Ub=16,Nue=mu-6,vc=ue.re=[],Le=ue.safeRe=[],U=ue.src=[],O=ue.tokens={},sq=0;function Be(t){O[t]=sq++}o(Be,"tok");var qb="[a-zA-Z0-9-]",Fb=[["\\s",1],["\\d",mu],[qb,Nue]];function yu(t){for(var e=0;e<Fb.length;e++){var r=Fb[e][0],n=Fb[e][1];t=t.split(r+"*").join(r+"{0,"+n+"}").split(r+"+").join(r+"{1,"+n+"}")}return t}o(yu,"makeSafeRe");Be("NUMERICIDENTIFIER");U[O.NUMERICIDENTIFIER]="0|[1-9]\\d*";Be("NUMERICIDENTIFIERLOOSE");U[O.NUMERICIDENTIFIERLOOSE]="\\d+";Be("NONNUMERICIDENTIFIER");U[O.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+qb+"*";Be("MAINVERSION");U[O.MAINVERSION]="("+U[O.NUMERICIDENTIFIER]+")\\.("+U[O.NUMERICIDENTIFIER]+")\\.("+U[O.NUMERICIDENTIFIER]+")";Be("MAINVERSIONLOOSE");U[O.MAINVERSIONLOOSE]="("+U[O.NUMERICIDENTIFIERLOOSE]+")\\.("+U[O.NUMERICIDENTIFIERLOOSE]+")\\.("+U[O.NUMERICIDENTIFIERLOOSE]+")";Be("PRERELEASEIDENTIFIER");U[O.PRERELEASEIDENTIFIER]="(?:"+U[O.NUMERICIDENTIFIER]+"|"+U[O.NONNUMERICIDENTIFIER]+")";Be("PRERELEASEIDENTIFIERLOOSE");U[O.PRERELEASEIDENTIFIERLOOSE]="(?:"+U[O.NUMERICIDENTIFIERLOOSE]+"|"+U[O.NONNUMERICIDENTIFIER]+")";Be("PRERELEASE");U[O.PRERELEASE]="(?:-("+U[O.PRERELEASEIDENTIFIER]+"(?:\\."+U[O.PRERELEASEIDENTIFIER]+")*))";Be("PRERELEASELOOSE");U[O.PRERELEASELOOSE]="(?:-?("+U[O.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+U[O.PRERELEASEIDENTIFIERLOOSE]+")*))";Be("BUILDIDENTIFIER");U[O.BUILDIDENTIFIER]=qb+"+";Be("BUILD");U[O.BUILD]="(?:\\+("+U[O.BUILDIDENTIFIER]+"(?:\\."+U[O.BUILDIDENTIFIER]+")*))";Be("FULL");Be("FULLPLAIN");U[O.FULLPLAIN]="v?"+U[O.MAINVERSION]+U[O.PRERELEASE]+"?"+U[O.BUILD]+"?";U[O.FULL]="^"+U[O.FULLPLAIN]+"$";Be("LOOSEPLAIN");U[O.LOOSEPLAIN]="[v=\\s]*"+U[O.MAINVERSIONLOOSE]+U[O.PRERELEASELOOSE]+"?"+U[O.BUILD]+"?";Be("LOOSE");U[O.LOOSE]="^"+U[O.LOOSEPLAIN]+"$";Be("GTLT");U[O.GTLT]="((?:<|>)?=?)";Be("XRANGEIDENTIFIERLOOSE");U[O.XRANGEIDENTIFIERLOOSE]=U[O.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";Be("XRANGEIDENTIFIER");U[O.XRANGEIDENTIFIER]=U[O.NUMERICIDENTIFIER]+"|x|X|\\*";Be("XRANGEPLAIN");U[O.XRANGEPLAIN]="[v=\\s]*("+U[O.XRANGEIDENTIFIER]+")(?:\\.("+U[O.XRANGEIDENTIFIER]+")(?:\\.("+U[O.XRANGEIDENTIFIER]+")(?:"+U[O.PRERELEASE]+")?"+U[O.BUILD]+"?)?)?";Be("XRANGEPLAINLOOSE");U[O.XRANGEPLAINLOOSE]="[v=\\s]*("+U[O.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+U[O.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+U[O.XRANGEIDENTIFIERLOOSE]+")(?:"+U[O.PRERELEASELOOSE]+")?"+U[O.BUILD]+"?)?)?";Be("XRANGE");U[O.XRANGE]="^"+U[O.GTLT]+"\\s*"+U[O.XRANGEPLAIN]+"$";Be("XRANGELOOSE");U[O.XRANGELOOSE]="^"+U[O.GTLT]+"\\s*"+U[O.XRANGEPLAINLOOSE]+"$";Be("COERCE");U[O.COERCE]="(^|[^\\d])(\\d{1,"+Ub+"})(?:\\.(\\d{1,"+Ub+"}))?(?:\\.(\\d{1,"+Ub+"}))?(?:$|[^\\d])";Be("COERCERTL");vc[O.COERCERTL]=new RegExp(U[O.COERCE],"g");Le[O.COERCERTL]=new RegExp(yu(U[O.COERCE]),"g");Be("LONETILDE");U[O.LONETILDE]="(?:~>?)";Be("TILDETRIM");U[O.TILDETRIM]="(\\s*)"+U[O.LONETILDE]+"\\s+";vc[O.TILDETRIM]=new RegExp(U[O.TILDETRIM],"g");Le[O.TILDETRIM]=new RegExp(yu(U[O.TILDETRIM]),"g");var xue="$1~";Be("TILDE");U[O.TILDE]="^"+U[O.LONETILDE]+U[O.XRANGEPLAIN]+"$";Be("TILDELOOSE");U[O.TILDELOOSE]="^"+U[O.LONETILDE]+U[O.XRANGEPLAINLOOSE]+"$";Be("LONECARET");U[O.LONECARET]="(?:\\^)";Be("CARETTRIM");U[O.CARETTRIM]="(\\s*)"+U[O.LONECARET]+"\\s+";vc[O.CARETTRIM]=new RegExp(U[O.CARETTRIM],"g");Le[O.CARETTRIM]=new RegExp(yu(U[O.CARETTRIM]),"g");var Sue="$1^";Be("CARET");U[O.CARET]="^"+U[O.LONECARET]+U[O.XRANGEPLAIN]+"$";Be("CARETLOOSE");U[O.CARETLOOSE]="^"+U[O.LONECARET]+U[O.XRANGEPLAINLOOSE]+"$";Be("COMPARATORLOOSE");U[O.COMPARATORLOOSE]="^"+U[O.GTLT]+"\\s*("+U[O.LOOSEPLAIN]+")$|^$";Be("COMPARATOR");U[O.COMPARATOR]="^"+U[O.GTLT]+"\\s*("+U[O.FULLPLAIN]+")$|^$";Be("COMPARATORTRIM");U[O.COMPARATORTRIM]="(\\s*)"+U[O.GTLT]+"\\s*("+U[O.LOOSEPLAIN]+"|"+U[O.XRANGEPLAIN]+")";vc[O.COMPARATORTRIM]=new RegExp(U[O.COMPARATORTRIM],"g");Le[O.COMPARATORTRIM]=new RegExp(yu(U[O.COMPARATORTRIM]),"g");var Rue="$1$2$3";Be("HYPHENRANGE");U[O.HYPHENRANGE]="^\\s*("+U[O.XRANGEPLAIN]+")\\s+-\\s+("+U[O.XRANGEPLAIN]+")\\s*$";Be("HYPHENRANGELOOSE");U[O.HYPHENRANGELOOSE]="^\\s*("+U[O.XRANGEPLAINLOOSE]+")\\s+-\\s+("+U[O.XRANGEPLAINLOOSE]+")\\s*$";Be("STAR");U[O.STAR]="(<|>)?=?\\s*\\*";for(wi=0;wi<sq;wi++)Ue(wi,U[wi]),vc[wi]||(vc[wi]=new RegExp(U[wi]),Le[wi]=new RegExp(yu(U[wi])));var wi;ue.parse=Vo;function Vo(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof Ce)return t;if(typeof t!="string"||t.length>mu)return null;var r=e.loose?Le[O.LOOSE]:Le[O.FULL];if(!r.test(t))return null;try{return new Ce(t,e)}catch{return null}}o(Vo,"parse");ue.valid=_ue;function _ue(t,e){var r=Vo(t,e);return r?r.version:null}o(_ue,"valid");ue.clean=vue;function vue(t,e){var r=Vo(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null}o(vue,"clean");ue.SemVer=Ce;function Ce(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof Ce){if(t.loose===e.loose)return t;t=t.version}else if(typeof t!="string")throw new TypeError("Invalid Version: "+t);if(t.length>mu)throw new TypeError("version is longer than "+mu+" characters");if(!(this instanceof Ce))return new Ce(t,e);Ue("SemVer",t,e),this.options=e,this.loose=!!e.loose;var r=t.trim().match(e.loose?Le[O.LOOSE]:Le[O.FULL]);if(!r)throw new TypeError("Invalid Version: "+t);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Xh||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Xh||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Xh||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(n){if(/^[0-9]+$/.test(n)){var i=+n;if(i>=0&&i<Xh)return i}return n}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}o(Ce,"SemVer");Ce.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version};Ce.prototype.toString=function(){return this.version};Ce.prototype.compare=function(t){return Ue("SemVer.compare",this.version,this.options,t),t instanceof Ce||(t=new Ce(t,this.options)),this.compareMain(t)||this.comparePre(t)};Ce.prototype.compareMain=function(t){return t instanceof Ce||(t=new Ce(t,this.options)),Jo(this.major,t.major)||Jo(this.minor,t.minor)||Jo(this.patch,t.patch)};Ce.prototype.comparePre=function(t){if(t instanceof Ce||(t=new Ce(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;var e=0;do{var r=this.prerelease[e],n=t.prerelease[e];if(Ue("prerelease compare",e,r,n),r===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(r===void 0)return-1;if(r===n)continue;return Jo(r,n)}while(++e)};Ce.prototype.compareBuild=function(t){t instanceof Ce||(t=new Ce(t,this.options));var e=0;do{var r=this.build[e],n=t.build[e];if(Ue("prerelease compare",e,r,n),r===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(r===void 0)return-1;if(r===n)continue;return Jo(r,n)}while(++e)};Ce.prototype.inc=function(t,e){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e),this.inc("pre",e);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",e),this.inc("pre",e);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var r=this.prerelease.length;--r>=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);r===-1&&this.prerelease.push(0)}e&&(this.prerelease[0]===e?isNaN(this.prerelease[1])&&(this.prerelease=[e,0]):this.prerelease=[e,0]);break;default:throw new Error("invalid increment argument: "+t)}return this.format(),this.raw=this.version,this};ue.inc=Pue;function Pue(t,e,r,n){typeof r=="string"&&(n=r,r=void 0);try{return new Ce(t,r).inc(e,n).version}catch{return null}}o(Pue,"inc");ue.diff=Due;function Due(t,e){if(Hb(t,e))return null;var r=Vo(t),n=Vo(e),i="";if(r.prerelease.length||n.prerelease.length){i="pre";var s="prerelease"}for(var a in r)if((a==="major"||a==="minor"||a==="patch")&&r[a]!==n[a])return i+a;return s}o(Due,"diff");ue.compareIdentifiers=Jo;var nq=/^[0-9]+$/;function Jo(t,e){var r=nq.test(t),n=nq.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1}o(Jo,"compareIdentifiers");ue.rcompareIdentifiers=Tue;function Tue(t,e){return Jo(e,t)}o(Tue,"rcompareIdentifiers");ue.major=Oue;function Oue(t,e){return new Ce(t,e).major}o(Oue,"major");ue.minor=Mue;function Mue(t,e){return new Ce(t,e).minor}o(Mue,"minor");ue.patch=kue;function kue(t,e){return new Ce(t,e).patch}o(kue,"patch");ue.compare=us;function us(t,e,r){return new Ce(t,r).compare(new Ce(e,r))}o(us,"compare");ue.compareLoose=Lue;function Lue(t,e){return us(t,e,!0)}o(Lue,"compareLoose");ue.compareBuild=Uue;function Uue(t,e,r){var n=new Ce(t,r),i=new Ce(e,r);return n.compare(i)||n.compareBuild(i)}o(Uue,"compareBuild");ue.rcompare=Fue;function Fue(t,e,r){return us(e,t,r)}o(Fue,"rcompare");ue.sort=que;function que(t,e){return t.sort(function(r,n){return ue.compareBuild(r,n,e)})}o(que,"sort");ue.rsort=Hue;function Hue(t,e){return t.sort(function(r,n){return ue.compareBuild(n,r,e)})}o(Hue,"rsort");ue.gt=gu;function gu(t,e,r){return us(t,e,r)>0}o(gu,"gt");ue.lt=Zh;function Zh(t,e,r){return us(t,e,r)<0}o(Zh,"lt");ue.eq=Hb;function Hb(t,e,r){return us(t,e,r)===0}o(Hb,"eq");ue.neq=oq;function oq(t,e,r){return us(t,e,r)!==0}o(oq,"neq");ue.gte=zb;function zb(t,e,r){return us(t,e,r)>=0}o(zb,"gte");ue.lte=jb;function jb(t,e,r){return us(t,e,r)<=0}o(jb,"lte");ue.cmp=ef;function ef(t,e,r,n){switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return Hb(t,r,n);case"!=":return oq(t,r,n);case">":return gu(t,r,n);case">=":return zb(t,r,n);case"<":return Zh(t,r,n);case"<=":return jb(t,r,n);default:throw new TypeError("Invalid operator: "+e)}}o(ef,"cmp");ue.Comparator=wn;function wn(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof wn){if(t.loose===!!e.loose)return t;t=t.value}if(!(this instanceof wn))return new wn(t,e);t=t.trim().split(/\s+/).join(" "),Ue("comparator",t,e),this.options=e,this.loose=!!e.loose,this.parse(t),this.semver===Pc?this.value="":this.value=this.operator+this.semver.version,Ue("comp",this)}o(wn,"Comparator");var Pc={};wn.prototype.parse=function(t){var e=this.options.loose?Le[O.COMPARATORLOOSE]:Le[O.COMPARATOR],r=t.match(e);if(!r)throw new TypeError("Invalid comparator: "+t);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new Ce(r[2],this.options.loose):this.semver=Pc};wn.prototype.toString=function(){return this.value};wn.prototype.test=function(t){if(Ue("Comparator.test",t,this.options.loose),this.semver===Pc||t===Pc)return!0;if(typeof t=="string")try{t=new Ce(t,this.options)}catch{return!1}return ef(t,this.operator,this.semver,this.options)};wn.prototype.intersects=function(t,e){if(!(t instanceof wn))throw new TypeError("a Comparator is required");(!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1});var r;if(this.operator==="")return this.value===""?!0:(r=new dt(t.value,e),tf(this.value,r,e));if(t.operator==="")return t.value===""?!0:(r=new dt(this.value,e),tf(t.semver,r,e));var n=(this.operator===">="||this.operator===">")&&(t.operator===">="||t.operator===">"),i=(this.operator==="<="||this.operator==="<")&&(t.operator==="<="||t.operator==="<"),s=this.semver.version===t.semver.version,a=(this.operator===">="||this.operator==="<=")&&(t.operator===">="||t.operator==="<="),c=ef(this.semver,"<",t.semver,e)&&(this.operator===">="||this.operator===">")&&(t.operator==="<="||t.operator==="<"),l=ef(this.semver,">",t.semver,e)&&(this.operator==="<="||this.operator==="<")&&(t.operator===">="||t.operator===">");return n||i||s&&a||c||l};ue.Range=dt;function dt(t,e){if((!e||typeof e!="object")&&(e={loose:!!e,includePrerelease:!1}),t instanceof dt)return t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease?t:new dt(t.raw,e);if(t instanceof wn)return new dt(t.value,e);if(!(this instanceof dt))return new dt(t,e);if(this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease,this.raw=t.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(r){return this.parseRange(r.trim())},this).filter(function(r){return r.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}o(dt,"Range");dt.prototype.format=function(){return this.range=this.set.map(function(t){return t.join(" ").trim()}).join("||").trim(),this.range};dt.prototype.toString=function(){return this.range};dt.prototype.parseRange=function(t){var e=this.options.loose,r=e?Le[O.HYPHENRANGELOOSE]:Le[O.HYPHENRANGE];t=t.replace(r,Xue),Ue("hyphen replace",t),t=t.replace(Le[O.COMPARATORTRIM],Rue),Ue("comparator trim",t,Le[O.COMPARATORTRIM]),t=t.replace(Le[O.TILDETRIM],xue),t=t.replace(Le[O.CARETTRIM],Sue),t=t.split(/\s+/).join(" ");var n=e?Le[O.COMPARATORLOOSE]:Le[O.COMPARATOR],i=t.split(" ").map(function(s){return jue(s,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(s){return!!s.match(n)})),i=i.map(function(s){return new wn(s,this.options)},this),i};dt.prototype.intersects=function(t,e){if(!(t instanceof dt))throw new TypeError("a Range is required");return this.set.some(function(r){return iq(r,e)&&t.set.some(function(n){return iq(n,e)&&r.every(function(i){return n.every(function(s){return i.intersects(s,e)})})})})};function iq(t,e){for(var r=!0,n=t.slice(),i=n.pop();r&&n.length;)r=n.every(function(s){return i.intersects(s,e)}),i=n.pop();return r}o(iq,"isSatisfiable");ue.toComparators=zue;function zue(t,e){return new dt(t,e).set.map(function(r){return r.map(function(n){return n.value}).join(" ").trim().split(" ")})}o(zue,"toComparators");function jue(t,e){return Ue("comp",t,e),t=Jue(t,e),Ue("caret",t),t=Gue(t,e),Ue("tildes",t),t=Wue(t,e),Ue("xrange",t),t=Kue(t,e),Ue("stars",t),t}o(jue,"parseComparator");function fr(t){return!t||t.toLowerCase()==="x"||t==="*"}o(fr,"isX");function Gue(t,e){return t.trim().split(/\s+/).map(function(r){return Yue(r,e)}).join(" ")}o(Gue,"replaceTildes");function Yue(t,e){var r=e.loose?Le[O.TILDELOOSE]:Le[O.TILDE];return t.replace(r,function(n,i,s,a,c){Ue("tilde",t,n,i,s,a,c);var l;return fr(i)?l="":fr(s)?l=">="+i+".0.0 <"+(+i+1)+".0.0":fr(a)?l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0":c?(Ue("replaceTilde pr",c),l=">="+i+"."+s+"."+a+"-"+c+" <"+i+"."+(+s+1)+".0"):l=">="+i+"."+s+"."+a+" <"+i+"."+(+s+1)+".0",Ue("tilde return",l),l})}o(Yue,"replaceTilde");function Jue(t,e){return t.trim().split(/\s+/).map(function(r){return Vue(r,e)}).join(" ")}o(Jue,"replaceCarets");function Vue(t,e){Ue("caret",t,e);var r=e.loose?Le[O.CARETLOOSE]:Le[O.CARET];return t.replace(r,function(n,i,s,a,c){Ue("caret",t,n,i,s,a,c);var l;return fr(i)?l="":fr(s)?l=">="+i+".0.0 <"+(+i+1)+".0.0":fr(a)?i==="0"?l=">="+i+"."+s+".0 <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+".0 <"+(+i+1)+".0.0":c?(Ue("replaceCaret pr",c),i==="0"?s==="0"?l=">="+i+"."+s+"."+a+"-"+c+" <"+i+"."+s+"."+(+a+1):l=">="+i+"."+s+"."+a+"-"+c+" <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+"."+a+"-"+c+" <"+(+i+1)+".0.0"):(Ue("no pr"),i==="0"?s==="0"?l=">="+i+"."+s+"."+a+" <"+i+"."+s+"."+(+a+1):l=">="+i+"."+s+"."+a+" <"+i+"."+(+s+1)+".0":l=">="+i+"."+s+"."+a+" <"+(+i+1)+".0.0"),Ue("caret return",l),l})}o(Vue,"replaceCaret");function Wue(t,e){return Ue("replaceXRanges",t,e),t.split(/\s+/).map(function(r){return $ue(r,e)}).join(" ")}o(Wue,"replaceXRanges");function $ue(t,e){t=t.trim();var r=e.loose?Le[O.XRANGELOOSE]:Le[O.XRANGE];return t.replace(r,function(n,i,s,a,c,l){Ue("xRange",t,n,i,s,a,c,l);var A=fr(s),u=A||fr(a),d=u||fr(c),f=d;return i==="="&&f&&(i=""),l=e.includePrerelease?"-0":"",A?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&f?(u&&(a=0),c=0,i===">"?(i=">=",u?(s=+s+1,a=0,c=0):(a=+a+1,c=0)):i==="<="&&(i="<",u?s=+s+1:a=+a+1),n=i+s+"."+a+"."+c+l):u?n=">="+s+".0.0"+l+" <"+(+s+1)+".0.0"+l:d&&(n=">="+s+"."+a+".0"+l+" <"+s+"."+(+a+1)+".0"+l),Ue("xRange return",n),n})}o($ue,"replaceXRange");function Kue(t,e){return Ue("replaceStars",t,e),t.trim().replace(Le[O.STAR],"")}o(Kue,"replaceStars");function Xue(t,e,r,n,i,s,a,c,l,A,u,d,f){return fr(r)?e="":fr(n)?e=">="+r+".0.0":fr(i)?e=">="+r+"."+n+".0":e=">="+e,fr(l)?c="":fr(A)?c="<"+(+l+1)+".0.0":fr(u)?c="<"+l+"."+(+A+1)+".0":d?c="<="+l+"."+A+"."+u+"-"+d:c="<="+c,(e+" "+c).trim()}o(Xue,"hyphenReplace");dt.prototype.test=function(t){if(!t)return!1;if(typeof t=="string")try{t=new Ce(t,this.options)}catch{return!1}for(var e=0;e<this.set.length;e++)if(Zue(this.set[e],t,this.options))return!0;return!1};function Zue(t,e,r){for(var n=0;n<t.length;n++)if(!t[n].test(e))return!1;if(e.prerelease.length&&!r.includePrerelease){for(n=0;n<t.length;n++)if(Ue(t[n].semver),t[n].semver!==Pc&&t[n].semver.prerelease.length>0){var i=t[n].semver;if(i.major===e.major&&i.minor===e.minor&&i.patch===e.patch)return!0}return!1}return!0}o(Zue,"testSet");ue.satisfies=tf;function tf(t,e,r){try{e=new dt(e,r)}catch{return!1}return e.test(t)}o(tf,"satisfies");ue.maxSatisfying=ede;function ede(t,e,r){var n=null,i=null;try{var s=new dt(e,r)}catch{return null}return t.forEach(function(a){s.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new Ce(n,r))}),n}o(ede,"maxSatisfying");ue.minSatisfying=tde;function tde(t,e,r){var n=null,i=null;try{var s=new dt(e,r)}catch{return null}return t.forEach(function(a){s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new Ce(n,r))}),n}o(tde,"minSatisfying");ue.minVersion=rde;function rde(t,e){t=new dt(t,e);var r=new Ce("0.0.0");if(t.test(r)||(r=new Ce("0.0.0-0"),t.test(r)))return r;r=null;for(var n=0;n<t.set.length;++n){var i=t.set[n];i.forEach(function(s){var a=new Ce(s.semver.version);switch(s.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!r||gu(r,a))&&(r=a);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+s.operator)}})}return r&&t.test(r)?r:null}o(rde,"minVersion");ue.validRange=nde;function nde(t,e){try{return new dt(t,e).range||"*"}catch{return null}}o(nde,"validRange");ue.ltr=ide;function ide(t,e,r){return Gb(t,e,"<",r)}o(ide,"ltr");ue.gtr=sde;function sde(t,e,r){return Gb(t,e,">",r)}o(sde,"gtr");ue.outside=Gb;function Gb(t,e,r,n){t=new Ce(t,n),e=new dt(e,n);var i,s,a,c,l;switch(r){case">":i=gu,s=jb,a=Zh,c=">",l=">=";break;case"<":i=Zh,s=zb,a=gu,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(tf(t,e,n))return!1;for(var A=0;A<e.set.length;++A){var u=e.set[A],d=null,f=null;if(u.forEach(function(m){m.semver===Pc&&(m=new wn(">=0.0.0")),d=d||m,f=f||m,i(m.semver,d.semver,n)?d=m:a(m.semver,f.semver,n)&&(f=m)}),d.operator===c||d.operator===l||(!f.operator||f.operator===c)&&s(t,f.semver))return!1;if(f.operator===l&&a(t,f.semver))return!1}return!0}o(Gb,"outside");ue.prerelease=ode;function ode(t,e){var r=Vo(t,e);return r&&r.prerelease.length?r.prerelease:null}o(ode,"prerelease");ue.intersects=ade;function ade(t,e,r){return t=new dt(t,r),e=new dt(e,r),t.intersects(e)}o(ade,"intersects");ue.coerce=cde;function cde(t,e){if(t instanceof Ce)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};var r=null;if(!e.rtl)r=t.match(Le[O.COERCE]);else{for(var n;(n=Le[O.COERCERTL].exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),Le[O.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;Le[O.COERCERTL].lastIndex=-1}return r===null?null:Vo(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),e)}o(cde,"coerce")});var Cu=g(ot=>{"use strict";Object.defineProperty(ot,"__esModule",{value:!0});ot.CacheFileSizeLimit=ot.ManifestFilename=ot.TarFilename=ot.SystemTarPathOnWindows=ot.GnuTarPathOnWindows=ot.SocketTimeout=ot.DefaultRetryDelay=ot.DefaultRetryAttempts=ot.ArchiveToolType=ot.CompressionMethod=ot.CacheFilename=void 0;var cq;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(cq||(ot.CacheFilename=cq={}));var lq;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(lq||(ot.CompressionMethod=lq={}));var Aq;(function(t){t.GNU="gnu",t.BSD="bsd"})(Aq||(ot.ArchiveToolType=Aq={}));ot.DefaultRetryAttempts=2;ot.DefaultRetryDelay=5e3;ot.SocketTimeout=5e3;ot.GnuTarPathOnWindows=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`;ot.SystemTarPathOnWindows=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`;ot.TarFilename="cache.tar";ot.ManifestFilename="manifest.txt";ot.CacheFileSizeLimit=10*Math.pow(1024,3)});var Tc=g(mt=>{"use strict";var lde=mt&&mt.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Ade=mt&&mt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),ds=mt&&mt.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&lde(r,e,n[i]);return Ade(r,e),r}}(),Dc=mt&&mt.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},ude=mt&&mt.__asyncValues||function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}};Object.defineProperty(mt,"__esModule",{value:!0});mt.createTempDirectory=gde;mt.getArchiveFileSizeInBytes=yde;mt.resolvePaths=Cde;mt.unlinkFile=Ede;mt.getCompressionMethod=Bde;mt.getCacheFileName=Ide;mt.getGnuTarPathOnWindows=bde;mt.assertDefined=Qde;mt.getCacheVersion=wde;mt.getRuntimeToken=Nde;var Eu=ds(ft()),dde=ds(Nc()),pde=ds(rq()),uq=ds(au()),dq=ds(require("crypto")),Yb=ds(require("fs")),nf=ds(require("path")),hde=ds(rf()),fde=ds(require("util")),Wo=Cu(),mde="1.0";function gde(){return Dc(this,void 0,void 0,function*(){let t=process.platform==="win32",e=process.env.RUNNER_TEMP||"";if(!e){let n;t?n=process.env.USERPROFILE||"C:\\":process.platform==="darwin"?n="/Users":n="/home",e=nf.join(n,"actions","temp")}let r=nf.join(e,dq.randomUUID());return yield uq.mkdirP(r),r})}o(gde,"createTempDirectory");function yde(t){return Yb.statSync(t).size}o(yde,"getArchiveFileSizeInBytes");function Cde(t){return Dc(this,void 0,void 0,function*(){var e,r,n,i,s;let a=[],c=(s=process.env.GITHUB_WORKSPACE)!==null&&s!==void 0?s:process.cwd(),l=yield pde.create(t.join(`
`),{implicitDescendants:!1});try{for(var A=!0,u=ude(l.globGenerator()),d;d=yield u.next(),e=d.done,!e;A=!0){i=d.value,A=!1;let f=i,m=nf.relative(c,f).replace(new RegExp(`\\${nf.sep}`,"g"),"/");Eu.debug(`Matched: ${m}`),m===""?a.push("."):a.push(`${m}`)}}catch(f){r={error:f}}finally{try{!A&&!e&&(n=u.return)&&(yield n.call(u))}finally{if(r)throw r.error}}return a})}o(Cde,"resolvePaths");function Ede(t){return Dc(this,void 0,void 0,function*(){return fde.promisify(Yb.unlink)(t)})}o(Ede,"unlinkFile");function pq(t){return Dc(this,arguments,void 0,function*(e,r=[]){let n="";r.push("--version"),Eu.debug(`Checking ${e} ${r.join(" ")}`);try{yield dde.exec(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:i=>n+=i.toString(),stderr:i=>n+=i.toString()}})}catch(i){Eu.debug(i.message)}return n=n.trim(),Eu.debug(n),n})}o(pq,"getVersion");function Bde(){return Dc(this,void 0,void 0,function*(){let t=yield pq("zstd",["--quiet"]),e=hde.clean(t);return Eu.debug(`zstd version: ${e}`),t===""?Wo.CompressionMethod.Gzip:Wo.CompressionMethod.ZstdWithoutLong})}o(Bde,"getCompressionMethod");function Ide(t){return t===Wo.CompressionMethod.Gzip?Wo.CacheFilename.Gzip:Wo.CacheFilename.Zstd}o(Ide,"getCacheFileName");function bde(){return Dc(this,void 0,void 0,function*(){return Yb.existsSync(Wo.GnuTarPathOnWindows)?Wo.GnuTarPathOnWindows:(yield pq("tar")).toLowerCase().includes("gnu tar")?uq.which("tar"):""})}o(bde,"getGnuTarPathOnWindows");function Qde(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(Qde,"assertDefined");function wde(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(mde),dq.createHash("sha256").update(n.join("|")).digest("hex")}o(wde,"getCacheVersion");function Nde(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(Nde,"getRuntimeToken")});var Kr={};Pd(Kr,{__addDisposableResource:()=>Lq,__assign:()=>sf,__asyncDelegator:()=>_q,__asyncGenerator:()=>Rq,__asyncValues:()=>vq,__await:()=>Oc,__awaiter:()=>bq,__classPrivateFieldGet:()=>Oq,__classPrivateFieldIn:()=>kq,__classPrivateFieldSet:()=>Mq,__createBinding:()=>af,__decorate:()=>mq,__disposeResources:()=>Uq,__esDecorate:()=>yq,__exportStar:()=>wq,__extends:()=>hq,__generator:()=>Qq,__importDefault:()=>Tq,__importStar:()=>Dq,__makeTemplateObject:()=>Pq,__metadata:()=>Iq,__param:()=>gq,__propKey:()=>Eq,__read:()=>Wb,__rest:()=>fq,__rewriteRelativeImportExtension:()=>Fq,__runInitializers:()=>Cq,__setFunctionName:()=>Bq,__spread:()=>Nq,__spreadArray:()=>Sq,__spreadArrays:()=>xq,__values:()=>of,default:()=>Rde});function hq(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Jb(t,e);function r(){this.constructor=t}o(r,"__"),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function fq(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function mq(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function gq(t,e){return function(r,n){e(r,n,t)}}function yq(t,e,r,n,i,s){function a(w){if(w!==void 0&&typeof w!="function")throw new TypeError("Function expected");return w}o(a,"accept");for(var c=n.kind,l=c==="getter"?"get":c==="setter"?"set":"value",A=!e&&t?n.static?t:t.prototype:null,u=e||(A?Object.getOwnPropertyDescriptor(A,n.name):{}),d,f=!1,m=r.length-1;m>=0;m--){var C={};for(var Q in n)C[Q]=Q==="access"?{}:n[Q];for(var Q in n.access)C.access[Q]=n.access[Q];C.addInitializer=function(w){if(f)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(w||null))};var S=(0,r[m])(c==="accessor"?{get:u.get,set:u.set}:u[l],C);if(c==="accessor"){if(S===void 0)continue;if(S===null||typeof S!="object")throw new TypeError("Object expected");(d=a(S.get))&&(u.get=d),(d=a(S.set))&&(u.set=d),(d=a(S.init))&&i.unshift(d)}else(d=a(S))&&(c==="field"?i.unshift(d):u[l]=d)}A&&Object.defineProperty(A,n.name,u),f=!0}function Cq(t,e,r){for(var n=arguments.length>2,i=0;i<e.length;i++)r=n?e[i].call(t,r):e[i].call(t);return n?r:void 0}function Eq(t){return typeof t=="symbol"?t:"".concat(t)}function Bq(t,e,r){return typeof e=="symbol"&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:r?"".concat(r," ",e):e})}function Iq(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function bq(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})}function Qq(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=c(0),a.throw=c(1),a.return=c(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(A){return function(u){return l([A,u])}}function l(A){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,A[0]&&(r=0)),r;)try{if(n=1,i&&(s=A[0]&2?i.return:A[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,A[1])).done)return s;switch(i=0,s&&(A=[A[0]&2,s.value]),A[0]){case 0:case 1:s=A;break;case 4:return r.label++,{value:A[1],done:!1};case 5:r.label++,i=A[1],A=[0];continue;case 7:A=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(A[0]===6||A[0]===2)){r=0;continue}if(A[0]===3&&(!s||A[1]>s[0]&&A[1]<s[3])){r.label=A[1];break}if(A[0]===6&&r.label<s[1]){r.label=s[1],s=A;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(A);break}s[2]&&r.ops.pop(),r.trys.pop();continue}A=e.call(t,r)}catch(u){A=[6,u],i=0}finally{n=s=0}if(A[0]&5)throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}}function wq(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&af(e,t,r)}function of(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Wb(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],a;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(c){a={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function Nq(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(Wb(arguments[e]));return t}function xq(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var n=Array(t),i=0,e=0;e<r;e++)for(var s=arguments[e],a=0,c=s.length;a<c;a++,i++)n[i]=s[a];return n}function Sq(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n<i;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return t.concat(s||Array.prototype.slice.call(e))}function Oc(t){return this instanceof Oc?(this.v=t,this):new Oc(t)}function Rq(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,s=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(m){return function(C){return Promise.resolve(C).then(m,d)}}function c(m,C){n[m]&&(i[m]=function(Q){return new Promise(function(S,w){s.push([m,Q,S,w])>1||l(m,Q)})},C&&(i[m]=C(i[m])))}function l(m,C){try{A(n[m](C))}catch(Q){f(s[0][3],Q)}}function A(m){m.value instanceof Oc?Promise.resolve(m.value.v).then(u,d):f(s[0][2],m)}function u(m){l("next",m)}function d(m){l("throw",m)}function f(m,C){m(C),s.shift(),s.length&&l(s[0][0],s[0][1])}}function _q(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(a){return(r=!r)?{value:Oc(t[i](a)),done:!1}:s?s(a):a}:s}}function vq(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof of=="function"?of(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}}function Pq(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function Dq(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=Vb(t),n=0;n<r.length;n++)r[n]!=="default"&&af(e,t,r[n]);return xde(e,t),e}function Tq(t){return t&&t.__esModule?t:{default:t}}function Oq(t,e,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(t):n?n.value:e.get(t)}function Mq(t,e,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(t,r):i?i.value=r:e.set(t,r),r}function kq(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}function Lq(t,e,r){if(e!=null){if(typeof e!="object"&&typeof e!="function")throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=e[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=e[Symbol.dispose],r&&(i=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");i&&(n=o(function(){try{i.call(this)}catch(s){return Promise.reject(s)}},"dispose")),t.stack.push({value:e,dispose:n,async:r})}else r&&t.stack.push({async:!0});return e}function Uq(t){function e(s){t.error=t.hasError?new Sde(s,t.error,"An error was suppressed during disposal."):s,t.hasError=!0}o(e,"fail");var r,n=0;function i(){for(;r=t.stack.pop();)try{if(!r.async&&n===1)return n=0,t.stack.push(r),Promise.resolve().then(i);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(s).then(i,function(a){return e(a),i()})}else n|=1}catch(a){e(a)}if(n===1)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}return o(i,"next"),i()}function Fq(t,e){return typeof t=="string"&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,s,a){return n?e?".jsx":".js":i&&(!s||!a)?r:i+s+"."+a.toLowerCase()+"js"}):t}var Jb,sf,af,xde,Vb,Sde,Rde,Xr=vd(()=>{Jb=o(function(t,e){return Jb=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Jb(t,e)},"extendStatics");o(hq,"__extends");sf=o(function(){return sf=Object.assign||o(function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},"__assign"),sf.apply(this,arguments)},"__assign");o(fq,"__rest");o(mq,"__decorate");o(gq,"__param");o(yq,"__esDecorate");o(Cq,"__runInitializers");o(Eq,"__propKey");o(Bq,"__setFunctionName");o(Iq,"__metadata");o(bq,"__awaiter");o(Qq,"__generator");af=Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]};o(wq,"__exportStar");o(of,"__values");o(Wb,"__read");o(Nq,"__spread");o(xq,"__spreadArrays");o(Sq,"__spreadArray");o(Oc,"__await");o(Rq,"__asyncGenerator");o(_q,"__asyncDelegator");o(vq,"__asyncValues");o(Pq,"__makeTemplateObject");xde=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},Vb=o(function(t){return Vb=Object.getOwnPropertyNames||function(e){var r=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[r.length]=n);return r},Vb(t)},"ownKeys");o(Dq,"__importStar");o(Tq,"__importDefault");o(Oq,"__classPrivateFieldGet");o(Mq,"__classPrivateFieldSet");o(kq,"__classPrivateFieldIn");o(Lq,"__addDisposableResource");Sde=typeof SuppressedError=="function"?SuppressedError:function(t,e,r){var n=new Error(r);return n.name="SuppressedError",n.error=t,n.suppressed=e,n};o(Uq,"__disposeResources");o(Fq,"__rewriteRelativeImportExtension");Rde={__extends:hq,__assign:sf,__rest:fq,__decorate:mq,__param:gq,__esDecorate:yq,__runInitializers:Cq,__propKey:Eq,__setFunctionName:Bq,__metadata:Iq,__awaiter:bq,__generator:Qq,__createBinding:af,__exportStar:wq,__values:of,__read:Wb,__spread:Nq,__spreadArrays:xq,__spreadArray:Sq,__await:Oc,__asyncGenerator:Rq,__asyncDelegator:_q,__asyncValues:vq,__makeTemplateObject:Pq,__importStar:Dq,__importDefault:Tq,__classPrivateFieldGet:Oq,__classPrivateFieldSet:Mq,__classPrivateFieldIn:kq,__addDisposableResource:Lq,__disposeResources:Uq,__rewriteRelativeImportExtension:Fq}});var Bu=g((CYe,Hq)=>{var Kb=Object.defineProperty,_de=Object.getOwnPropertyDescriptor,vde=Object.getOwnPropertyNames,Pde=Object.prototype.hasOwnProperty,Dde=o((t,e)=>{for(var r in e)Kb(t,r,{get:e[r],enumerable:!0})},"__export"),Tde=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of vde(e))!Pde.call(t,i)&&i!==r&&Kb(t,i,{get:()=>e[i],enumerable:!(n=_de(e,i))||n.enumerable});return t},"__copyProps"),Ode=o(t=>Tde(Kb({},"__esModule",{value:!0}),t),"__toCommonJS"),qq={};Dde(qq,{AbortError:()=>$b});Hq.exports=Ode(qq);var $b=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}}});var Jq=g((BYe,Yq)=>{var Mde=Object.create,cf=Object.defineProperty,kde=Object.getOwnPropertyDescriptor,Lde=Object.getOwnPropertyNames,Ude=Object.getPrototypeOf,Fde=Object.prototype.hasOwnProperty,qde=o((t,e)=>{for(var r in e)cf(t,r,{get:e[r],enumerable:!0})},"__export"),zq=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Lde(e))!Fde.call(t,i)&&i!==r&&cf(t,i,{get:()=>e[i],enumerable:!(n=kde(e,i))||n.enumerable});return t},"__copyProps"),jq=o((t,e,r)=>(r=t!=null?Mde(Ude(t)):{},zq(e||!t||!t.__esModule?cf(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),Hde=o(t=>zq(cf({},"__esModule",{value:!0}),t),"__toCommonJS"),Gq={};qde(Gq,{log:()=>Yde});Yq.exports=Hde(Gq);var zde=require("node:os"),jde=jq(require("node:util")),Gde=jq(require("node:process"));function Yde(t,...e){Gde.default.stderr.write(`${jde.default.format(t,...e)}${zde.EOL}`)}o(Yde,"log")});var t1=g((bYe,e1)=>{var eQ=Object.defineProperty,Jde=Object.getOwnPropertyDescriptor,Vde=Object.getOwnPropertyNames,Wde=Object.prototype.hasOwnProperty,$de=o((t,e)=>{for(var r in e)eQ(t,r,{get:e[r],enumerable:!0})},"__export"),Kde=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Vde(e))!Wde.call(t,i)&&i!==r&&eQ(t,i,{get:()=>e[i],enumerable:!(n=Jde(e,i))||n.enumerable});return t},"__copyProps"),Xde=o(t=>Kde(eQ({},"__esModule",{value:!0}),t),"__toCommonJS"),$q={};$de($q,{default:()=>npe});e1.exports=Xde($q);var Zde=Jq(),Vq=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,Kq,Xb=[],Zb=[],lf=[];Vq&&tQ(Vq);var Xq=Object.assign(t=>Zq(t),{enable:tQ,enabled:rQ,disable:epe,log:Zde.log});function tQ(t){Kq=t,Xb=[],Zb=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?Zb.push(r.substring(1)):Xb.push(r);for(let r of lf)r.enabled=rQ(r.namespace)}o(tQ,"enable");function rQ(t){if(t.endsWith("*"))return!0;for(let e of Zb)if(Wq(t,e))return!1;for(let e of Xb)if(Wq(t,e))return!0;return!1}o(rQ,"enabled");function Wq(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let f=[],m="";for(let C of e)C==="*"&&m==="*"||(m=C,f.push(C));r=f.join("")}let n=0,i=0,s=r.length,a=t.length,c=-1,l=-1;for(;n<a&&i<s;)if(r[i]==="*"){if(c=i,i++,i===s)return!0;for(;t[n]!==r[i];)if(n++,n===a)return!1;l=n,n++,i++;continue}else if(r[i]===t[n])i++,n++;else if(c>=0){if(i=c+1,n=l+1,n===a)return!1;for(;t[n]!==r[i];)if(n++,n===a)return!1;l=n,n++,i++;continue}else return!1;let A=n===t.length,u=i===r.length,d=i===r.length-1&&r[i]==="*";return A&&(u||d)}o(Wq,"namespaceMatches");function epe(){let t=Kq||"";return tQ(""),t}o(epe,"disable");function Zq(t){let e=Object.assign(r,{enabled:rQ(t),destroy:tpe,log:Xq.log,namespace:t,extend:rpe});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),lf.push(e),e}o(Zq,"createDebugger");function tpe(){let t=lf.indexOf(this);return t>=0?(lf.splice(t,1),!0):!1}o(tpe,"destroy");function rpe(t){let e=Zq(`${this.namespace}:${t}`);return e.log=this.log,e}o(rpe,"extend");var npe=Xq});var bu=g((wYe,c1)=>{var ipe=Object.create,Af=Object.defineProperty,spe=Object.getOwnPropertyDescriptor,ope=Object.getOwnPropertyNames,ape=Object.getPrototypeOf,cpe=Object.prototype.hasOwnProperty,lpe=o((t,e)=>{for(var r in e)Af(t,r,{get:e[r],enumerable:!0})},"__export"),s1=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ope(e))!cpe.call(t,i)&&i!==r&&Af(t,i,{get:()=>e[i],enumerable:!(n=spe(e,i))||n.enumerable});return t},"__copyProps"),Ape=o((t,e,r)=>(r=t!=null?ipe(ape(t)):{},s1(e||!t||!t.__esModule?Af(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),upe=o(t=>s1(Af({},"__esModule",{value:!0}),t),"__toCommonJS"),o1={};lpe(o1,{TypeSpecRuntimeLogger:()=>dpe,createClientLogger:()=>fpe,createLoggerContext:()=>a1,getLogLevel:()=>hpe,setLogLevel:()=>ppe});c1.exports=upe(o1);var Iu=Ape(t1()),nQ=["verbose","info","warning","error"],r1={verbose:400,info:300,warning:200,error:100};function n1(t,e){e.log=(...r)=>{t.log(...r)}}o(n1,"patchLogMethod");function i1(t){return nQ.includes(t)}o(i1,"isTypeSpecRuntimeLogLevel");function a1(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,n,i=(0,Iu.default)(t.namespace);i.log=(...u)=>{Iu.default.log(...u)};function s(u){if(u&&!i1(u))throw new Error(`Unknown log level '${u}'. Acceptable values: ${nQ.join(",")}`);n=u;let d=[];for(let f of e)a(f)&&d.push(f.namespace);Iu.default.enable(d.join(","))}o(s,"contextSetLogLevel"),r&&(i1(r)?s(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${nQ.join(", ")}.`));function a(u){return!!(n&&r1[u.level]<=r1[n])}o(a,"shouldEnable");function c(u,d){let f=Object.assign(u.extend(d),{level:d});if(n1(u,f),a(f)){let m=Iu.default.disable();Iu.default.enable(m+","+f.namespace)}return e.add(f),f}o(c,"createLogger");function l(){return n}o(l,"contextGetLogLevel");function A(u){let d=i.extend(u);return n1(i,d),{error:c(d,"error"),warning:c(d,"warning"),info:c(d,"info"),verbose:c(d,"verbose")}}return o(A,"contextCreateClientLogger"),{setLogLevel:s,getLogLevel:l,createClientLogger:A,logger:i}}o(a1,"createLoggerContext");var uf=a1({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),dpe=uf.logger;function ppe(t){uf.setLogLevel(t)}o(ppe,"setLogLevel");function hpe(){return uf.getLogLevel()}o(hpe,"getLogLevel");function fpe(t){return uf.createClientLogger(t)}o(fpe,"createClientLogger")});var Js=g((xYe,A1)=>{var sQ=Object.defineProperty,mpe=Object.getOwnPropertyDescriptor,gpe=Object.getOwnPropertyNames,ype=Object.prototype.hasOwnProperty,Cpe=o((t,e)=>{for(var r in e)sQ(t,r,{get:e[r],enumerable:!0})},"__export"),Epe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of gpe(e))!ype.call(t,i)&&i!==r&&sQ(t,i,{get:()=>e[i],enumerable:!(n=mpe(e,i))||n.enumerable});return t},"__copyProps"),Bpe=o(t=>Epe(sQ({},"__esModule",{value:!0}),t),"__toCommonJS"),l1={};Cpe(l1,{createHttpHeaders:()=>bpe});A1.exports=Bpe(l1);function df(t){return t.toLowerCase()}o(df,"normalizeName");function*Ipe(t){for(let e of t.values())yield[e.name,e.value]}o(Ipe,"headerIterator");var iQ=class{static{o(this,"HttpHeadersImpl")}_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let r of Object.keys(e))this.set(r,e[r])}set(e,r){this._headersMap.set(df(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(df(e))?.value}has(e){return this._headersMap.has(df(e))}delete(e){this._headersMap.delete(df(e))}toJSON(e={}){let r={};if(e.preserveCase)for(let n of this._headersMap.values())r[n.name]=n.value;else for(let[n,i]of this._headersMap)r[n]=i.value;return r}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return Ipe(this._headersMap)}};function bpe(t){return new iQ(t)}o(bpe,"createHttpHeaders")});var pf=g((RYe,d1)=>{var oQ=Object.defineProperty,Qpe=Object.getOwnPropertyDescriptor,wpe=Object.getOwnPropertyNames,Npe=Object.prototype.hasOwnProperty,xpe=o((t,e)=>{for(var r in e)oQ(t,r,{get:e[r],enumerable:!0})},"__export"),Spe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of wpe(e))!Npe.call(t,i)&&i!==r&&oQ(t,i,{get:()=>e[i],enumerable:!(n=Qpe(e,i))||n.enumerable});return t},"__copyProps"),Rpe=o(t=>Spe(oQ({},"__esModule",{value:!0}),t),"__toCommonJS"),u1={};xpe(u1,{randomUUID:()=>_pe});d1.exports=Rpe(u1);function _pe(){return crypto.randomUUID()}o(_pe,"randomUUID")});var lQ=g((vYe,h1)=>{var cQ=Object.defineProperty,vpe=Object.getOwnPropertyDescriptor,Ppe=Object.getOwnPropertyNames,Dpe=Object.prototype.hasOwnProperty,Tpe=o((t,e)=>{for(var r in e)cQ(t,r,{get:e[r],enumerable:!0})},"__export"),Ope=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ppe(e))!Dpe.call(t,i)&&i!==r&&cQ(t,i,{get:()=>e[i],enumerable:!(n=vpe(e,i))||n.enumerable});return t},"__copyProps"),Mpe=o(t=>Ope(cQ({},"__esModule",{value:!0}),t),"__toCommonJS"),p1={};Tpe(p1,{createPipelineRequest:()=>Upe});h1.exports=Mpe(p1);var kpe=Js(),Lpe=pf(),aQ=class{static{o(this,"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??(0,kpe.createHttpHeaders)(),this.method=e.method??"GET",this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||(0,Lpe.randomUUID)(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function Upe(t){return new aQ(t)}o(Upe,"createPipelineRequest")});var dQ=g((DYe,g1)=>{var uQ=Object.defineProperty,Fpe=Object.getOwnPropertyDescriptor,qpe=Object.getOwnPropertyNames,Hpe=Object.prototype.hasOwnProperty,zpe=o((t,e)=>{for(var r in e)uQ(t,r,{get:e[r],enumerable:!0})},"__export"),jpe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of qpe(e))!Hpe.call(t,i)&&i!==r&&uQ(t,i,{get:()=>e[i],enumerable:!(n=Fpe(e,i))||n.enumerable});return t},"__copyProps"),Gpe=o(t=>jpe(uQ({},"__esModule",{value:!0}),t),"__toCommonJS"),m1={};zpe(m1,{createEmptyPipeline:()=>Ype});g1.exports=Gpe(m1);var f1=new Set(["Deserialize","Serialize","Retry","Sign"]),AQ=class t{static{o(this,"HttpPipeline")}_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,r={}){if(r.phase&&r.afterPhase)throw new Error("Policies inside a phase cannot specify afterPhase.");if(r.phase&&!f1.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!f1.has(r.afterPhase))throw new Error(`Invalid afterPhase name: ${r.afterPhase}`);this._policies.push({policy:e,options:r}),this._orderedPolicies=void 0}removePolicy(e){let r=[];return this._policies=this._policies.filter(n=>e.name&&n.policy.name===e.name||e.phase&&n.options.phase===e.phase?(r.push(n.policy),!1):!0),this._orderedPolicies=void 0,r}sendRequest(e,r){return this.getOrderedPolicies().reduceRight((s,a)=>c=>a.sendRequest(c,s),s=>e.sendRequest(s))(r)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new t(this._policies)}static create(){return new t}orderPolicies(){let e=[],r=new Map;function n(C){return{name:C,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}o(n,"createPhase");let i=n("Serialize"),s=n("None"),a=n("Deserialize"),c=n("Retry"),l=n("Sign"),A=[i,s,a,c,l];function u(C){return C==="Retry"?c:C==="Serialize"?i:C==="Deserialize"?a:C==="Sign"?l:s}o(u,"getPhase");for(let C of this._policies){let Q=C.policy,S=C.options,w=Q.name;if(r.has(w))throw new Error("Duplicate policy names not allowed in pipeline");let R={policy:Q,dependsOn:new Set,dependants:new Set};S.afterPhase&&(R.afterPhase=u(S.afterPhase),R.afterPhase.hasAfterPolicies=!0),r.set(w,R),u(S.phase).policies.add(R)}for(let C of this._policies){let{policy:Q,options:S}=C,w=Q.name,R=r.get(w);if(!R)throw new Error(`Missing node for policy ${w}`);if(S.afterPolicies)for(let T of S.afterPolicies){let L=r.get(T);L&&(R.dependsOn.add(L),L.dependants.add(R))}if(S.beforePolicies)for(let T of S.beforePolicies){let L=r.get(T);L&&(L.dependsOn.add(R),R.dependants.add(L))}}function d(C){C.hasRun=!0;for(let Q of C.policies)if(!(Q.afterPhase&&(!Q.afterPhase.hasRun||Q.afterPhase.policies.size))&&Q.dependsOn.size===0){e.push(Q.policy);for(let S of Q.dependants)S.dependsOn.delete(Q);r.delete(Q.policy.name),C.policies.delete(Q)}}o(d,"walkPhase");function f(){for(let C of A){if(d(C),C.policies.size>0&&C!==s){s.hasRun||d(s);return}C.hasAfterPolicies&&d(s)}}o(f,"walkPhases");let m=0;for(;r.size>0;){m++;let C=e.length;if(f(),e.length<=C&&m>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function Ype(){return AQ.create()}o(Ype,"createEmptyPipeline")});var hf=g((OYe,C1)=>{var pQ=Object.defineProperty,Jpe=Object.getOwnPropertyDescriptor,Vpe=Object.getOwnPropertyNames,Wpe=Object.prototype.hasOwnProperty,$pe=o((t,e)=>{for(var r in e)pQ(t,r,{get:e[r],enumerable:!0})},"__export"),Kpe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Vpe(e))!Wpe.call(t,i)&&i!==r&&pQ(t,i,{get:()=>e[i],enumerable:!(n=Jpe(e,i))||n.enumerable});return t},"__copyProps"),Xpe=o(t=>Kpe(pQ({},"__esModule",{value:!0}),t),"__toCommonJS"),y1={};$pe(y1,{isObject:()=>Zpe});C1.exports=Xpe(y1);function Zpe(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(Zpe,"isObject")});var fQ=g((kYe,B1)=>{var hQ=Object.defineProperty,ehe=Object.getOwnPropertyDescriptor,the=Object.getOwnPropertyNames,rhe=Object.prototype.hasOwnProperty,nhe=o((t,e)=>{for(var r in e)hQ(t,r,{get:e[r],enumerable:!0})},"__export"),ihe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of the(e))!rhe.call(t,i)&&i!==r&&hQ(t,i,{get:()=>e[i],enumerable:!(n=ehe(e,i))||n.enumerable});return t},"__copyProps"),she=o(t=>ihe(hQ({},"__esModule",{value:!0}),t),"__toCommonJS"),E1={};nhe(E1,{isError:()=>ahe});B1.exports=she(E1);var ohe=hf();function ahe(t){if((0,ohe.isObject)(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(ahe,"isError")});var Q1=g((UYe,b1)=>{var mQ=Object.defineProperty,che=Object.getOwnPropertyDescriptor,lhe=Object.getOwnPropertyNames,Ahe=Object.prototype.hasOwnProperty,uhe=o((t,e)=>{for(var r in e)mQ(t,r,{get:e[r],enumerable:!0})},"__export"),dhe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of lhe(e))!Ahe.call(t,i)&&i!==r&&mQ(t,i,{get:()=>e[i],enumerable:!(n=che(e,i))||n.enumerable});return t},"__copyProps"),phe=o(t=>dhe(mQ({},"__esModule",{value:!0}),t),"__toCommonJS"),I1={};uhe(I1,{custom:()=>fhe});b1.exports=phe(I1);var hhe=require("node:util"),fhe=hhe.inspect.custom});var Qu=g((qYe,N1)=>{var CQ=Object.defineProperty,mhe=Object.getOwnPropertyDescriptor,ghe=Object.getOwnPropertyNames,yhe=Object.prototype.hasOwnProperty,Che=o((t,e)=>{for(var r in e)CQ(t,r,{get:e[r],enumerable:!0})},"__export"),Ehe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ghe(e))!yhe.call(t,i)&&i!==r&&CQ(t,i,{get:()=>e[i],enumerable:!(n=mhe(e,i))||n.enumerable});return t},"__copyProps"),Bhe=o(t=>Ehe(CQ({},"__esModule",{value:!0}),t),"__toCommonJS"),w1={};Che(w1,{Sanitizer:()=>yQ});N1.exports=Bhe(w1);var Ihe=hf(),gQ="REDACTED",bhe=["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"],Qhe=["api-version"],yQ=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=bhe.concat(e),r=Qhe.concat(r),this.allowedHeaderNames=new Set(e.map(n=>n.toLowerCase())),this.allowedQueryParameters=new Set(r.map(n=>n.toLowerCase()))}sanitize(e){let r=new Set;return JSON.stringify(e,(n,i)=>{if(i instanceof Error)return{...i,name:i.name,message:i.message};if(n==="headers")return this.sanitizeHeaders(i);if(n==="url")return this.sanitizeUrl(i);if(n==="query")return this.sanitizeQuery(i);if(n==="body")return;if(n==="response")return;if(n==="operationSpec")return;if(Array.isArray(i)||(0,Ihe.isObject)(i)){if(r.has(i))return"[Circular]";r.add(i)}return i},2)}sanitizeUrl(e){if(typeof e!="string"||e===null||e==="")return e;let r=new URL(e);if(!r.search)return e;for(let[n]of r.searchParams)this.allowedQueryParameters.has(n.toLowerCase())||r.searchParams.set(n,gQ);return r.toString()}sanitizeHeaders(e){let r={};for(let n of Object.keys(e))this.allowedHeaderNames.has(n.toLowerCase())?r[n]=e[n]:r[n]=gQ;return r}sanitizeQuery(e){if(typeof e!="object"||e===null)return e;let r={};for(let n of Object.keys(e))this.allowedQueryParameters.has(n.toLowerCase())?r[n]=e[n]:r[n]=gQ;return r}}});var Mc=g((zYe,S1)=>{var EQ=Object.defineProperty,whe=Object.getOwnPropertyDescriptor,Nhe=Object.getOwnPropertyNames,xhe=Object.prototype.hasOwnProperty,She=o((t,e)=>{for(var r in e)EQ(t,r,{get:e[r],enumerable:!0})},"__export"),Rhe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Nhe(e))!xhe.call(t,i)&&i!==r&&EQ(t,i,{get:()=>e[i],enumerable:!(n=whe(e,i))||n.enumerable});return t},"__copyProps"),_he=o(t=>Rhe(EQ({},"__esModule",{value:!0}),t),"__toCommonJS"),x1={};She(x1,{RestError:()=>ff,isRestError:()=>Ohe});S1.exports=_he(x1);var vhe=fQ(),Phe=Q1(),Dhe=Qu(),The=new Dhe.Sanitizer,ff=class t extends Error{static{o(this,"RestError")}static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,r={}){super(e),this.name="RestError",this.code=r.code,this.statusCode=r.statusCode,Object.defineProperty(this,"request",{value:r.request,enumerable:!1}),Object.defineProperty(this,"response",{value:r.response,enumerable:!1});let n=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,Phe.custom,{value:()=>`RestError: ${this.message}
${The.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function Ohe(t){return t instanceof ff?!0:(0,vhe.isError)(t)&&t.name==="RestError"}o(Ohe,"isRestError")});var $o=g((GYe,_1)=>{var BQ=Object.defineProperty,Mhe=Object.getOwnPropertyDescriptor,khe=Object.getOwnPropertyNames,Lhe=Object.prototype.hasOwnProperty,Uhe=o((t,e)=>{for(var r in e)BQ(t,r,{get:e[r],enumerable:!0})},"__export"),Fhe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of khe(e))!Lhe.call(t,i)&&i!==r&&BQ(t,i,{get:()=>e[i],enumerable:!(n=Mhe(e,i))||n.enumerable});return t},"__copyProps"),qhe=o(t=>Fhe(BQ({},"__esModule",{value:!0}),t),"__toCommonJS"),R1={};Uhe(R1,{stringToUint8Array:()=>zhe,uint8ArrayToString:()=>Hhe});_1.exports=qhe(R1);function Hhe(t,e){return Buffer.from(t).toString(e)}o(Hhe,"uint8ArrayToString");function zhe(t,e){return Buffer.from(t,e)}o(zhe,"stringToUint8Array")});var kc=g((JYe,P1)=>{var IQ=Object.defineProperty,jhe=Object.getOwnPropertyDescriptor,Ghe=Object.getOwnPropertyNames,Yhe=Object.prototype.hasOwnProperty,Jhe=o((t,e)=>{for(var r in e)IQ(t,r,{get:e[r],enumerable:!0})},"__export"),Vhe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ghe(e))!Yhe.call(t,i)&&i!==r&&IQ(t,i,{get:()=>e[i],enumerable:!(n=jhe(e,i))||n.enumerable});return t},"__copyProps"),Whe=o(t=>Vhe(IQ({},"__esModule",{value:!0}),t),"__toCommonJS"),v1={};Jhe(v1,{logger:()=>Khe});P1.exports=Whe(v1);var $he=bu(),Khe=(0,$he.createClientLogger)("ts-http-runtime")});var q1=g((WYe,F1)=>{var Xhe=Object.create,gf=Object.defineProperty,Zhe=Object.getOwnPropertyDescriptor,efe=Object.getOwnPropertyNames,tfe=Object.getPrototypeOf,rfe=Object.prototype.hasOwnProperty,nfe=o((t,e)=>{for(var r in e)gf(t,r,{get:e[r],enumerable:!0})},"__export"),M1=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of efe(e))!rfe.call(t,i)&&i!==r&&gf(t,i,{get:()=>e[i],enumerable:!(n=Zhe(e,i))||n.enumerable});return t},"__copyProps"),NQ=o((t,e,r)=>(r=t!=null?Xhe(tfe(t)):{},M1(e||!t||!t.__esModule?gf(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),ife=o(t=>M1(gf({},"__esModule",{value:!0}),t),"__toCommonJS"),k1={};nfe(k1,{createNodeHttpClient:()=>dfe,getBodyLength:()=>U1});F1.exports=ife(k1);var bQ=NQ(require("node:http")),QQ=NQ(require("node:https")),D1=NQ(require("node:zlib")),sfe=require("node:stream"),T1=Bu(),ofe=Js(),Nu=Mc(),Lc=kc(),afe=Qu(),cfe={};function wu(t){return t&&typeof t.pipe=="function"}o(wu,"isReadableStream");function O1(t){return t.readable===!1?Promise.resolve():new Promise(e=>{let r=o(()=>{e(),t.removeListener("close",r),t.removeListener("end",r),t.removeListener("error",r)},"handler");t.on("close",r),t.on("end",r),t.on("error",r)})}o(O1,"isStreamComplete");function L1(t){return t&&typeof t.byteLength=="number"}o(L1,"isArrayBuffer");var mf=class extends sfe.Transform{static{o(this,"ReportTransform")}loadedBytes=0;progressCallback;_transform(e,r,n){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),n()}catch(i){n(i)}}constructor(e){super(),this.progressCallback=e}},wQ=class{static{o(this,"NodeHttpClient")}cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,n;if(e.abortSignal){if(e.abortSignal.aborted)throw new T1.AbortError("The operation was aborted. Request has already been canceled.");n=o(A=>{A.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",n)}let i;e.timeout>0&&(i=setTimeout(()=>{let A=new afe.Sanitizer;Lc.logger.info(`request to '${A.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let s=e.headers.get("Accept-Encoding"),a=s?.includes("gzip")||s?.includes("deflate"),c=typeof e.body=="function"?e.body():e.body;if(c&&!e.headers.has("Content-Length")){let A=U1(c);A!==null&&e.headers.set("Content-Length",A)}let l;try{if(c&&e.onUploadProgress){let C=e.onUploadProgress,Q=new mf(C);Q.on("error",S=>{Lc.logger.error("Error in upload progress",S)}),wu(c)?c.pipe(Q):Q.end(c),c=Q}let A=await this.makeRequest(e,r,c);i!==void 0&&clearTimeout(i);let u=lfe(A),f={status:A.statusCode??0,headers:u,request:e};if(e.method==="HEAD")return A.resume(),f;l=a?Afe(A,u):A;let m=e.onDownloadProgress;if(m){let C=new mf(m);C.on("error",Q=>{Lc.logger.error("Error in download progress",Q)}),l.pipe(C),l=C}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(f.status)?f.readableStreamBody=l:f.bodyAsText=await ufe(l),f}finally{if(e.abortSignal&&n){let A=Promise.resolve();wu(c)&&(A=O1(c));let u=Promise.resolve();wu(l)&&(u=O1(l)),Promise.all([A,u]).then(()=>{n&&e.abortSignal?.removeEventListener("abort",n)}).catch(d=>{Lc.logger.warning("Error when cleaning up abortListener on httpRequest",d)})}}}makeRequest(e,r,n){let i=new URL(e.url),s=i.protocol!=="https:";if(s&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let c={agent:e.agent??this.getOrCreateAgent(e,s),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((l,A)=>{let u=s?bQ.default.request(c,l):QQ.default.request(c,l);u.once("error",d=>{A(new Nu.RestError(d.message,{code:d.code??Nu.RestError.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new T1.AbortError("The operation was aborted. Rejecting from abort signal callback while making request.");u.destroy(d),A(d)}),n&&wu(n)?n.pipe(u):n?typeof n=="string"||Buffer.isBuffer(n)?u.end(n):L1(n)?u.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(Lc.logger.error("Unrecognized body type",n),A(new Nu.RestError("Unrecognized body type"))):u.end()})}getOrCreateAgent(e,r){let n=e.disableKeepAlive;if(r)return n?bQ.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new bQ.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return QQ.default.globalAgent;let i=e.tlsSettings??cfe,s=this.cachedHttpsAgents.get(i);return s&&s.options.keepAlive===!n||(Lc.logger.info("No cached TLS Agent exist, creating a new Agent"),s=new QQ.default.Agent({keepAlive:!n,...i}),this.cachedHttpsAgents.set(i,s)),s}}};function lfe(t){let e=(0,ofe.createHttpHeaders)();for(let r of Object.keys(t.headers)){let n=t.headers[r];Array.isArray(n)?n.length>0&&e.set(r,n[0]):n&&e.set(r,n)}return e}o(lfe,"getResponseHeaders");function Afe(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=D1.default.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=D1.default.createInflate();return t.pipe(n),n}return t}o(Afe,"getDecodedResponseStream");function ufe(t){return new Promise((e,r)=>{let n=[];t.on("data",i=>{Buffer.isBuffer(i)?n.push(i):n.push(Buffer.from(i))}),t.on("end",()=>{e(Buffer.concat(n).toString("utf8"))}),t.on("error",i=>{i&&i?.name==="AbortError"?r(i):r(new Nu.RestError(`Error reading response as text: ${i.message}`,{code:Nu.RestError.PARSE_ERROR}))})})}o(ufe,"streamToText");function U1(t){return t?Buffer.isBuffer(t)?t.length:wu(t)?null:L1(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(U1,"getBodyLength");function dfe(){return new wQ}o(dfe,"createNodeHttpClient")});var SQ=g((KYe,z1)=>{var xQ=Object.defineProperty,pfe=Object.getOwnPropertyDescriptor,hfe=Object.getOwnPropertyNames,ffe=Object.prototype.hasOwnProperty,mfe=o((t,e)=>{for(var r in e)xQ(t,r,{get:e[r],enumerable:!0})},"__export"),gfe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of hfe(e))!ffe.call(t,i)&&i!==r&&xQ(t,i,{get:()=>e[i],enumerable:!(n=pfe(e,i))||n.enumerable});return t},"__copyProps"),yfe=o(t=>gfe(xQ({},"__esModule",{value:!0}),t),"__toCommonJS"),H1={};mfe(H1,{createDefaultHttpClient:()=>Efe});z1.exports=yfe(H1);var Cfe=q1();function Efe(){return(0,Cfe.createNodeHttpClient)()}o(Efe,"createDefaultHttpClient")});var _Q=g((ZYe,Y1)=>{var RQ=Object.defineProperty,Bfe=Object.getOwnPropertyDescriptor,Ife=Object.getOwnPropertyNames,bfe=Object.prototype.hasOwnProperty,Qfe=o((t,e)=>{for(var r in e)RQ(t,r,{get:e[r],enumerable:!0})},"__export"),wfe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ife(e))!bfe.call(t,i)&&i!==r&&RQ(t,i,{get:()=>e[i],enumerable:!(n=Bfe(e,i))||n.enumerable});return t},"__copyProps"),Nfe=o(t=>wfe(RQ({},"__esModule",{value:!0}),t),"__toCommonJS"),j1={};Qfe(j1,{logPolicy:()=>Rfe,logPolicyName:()=>G1});Y1.exports=Nfe(j1);var xfe=kc(),Sfe=Qu(),G1="logPolicy";function Rfe(t={}){let e=t.logger??xfe.logger.info,r=new Sfe.Sanitizer({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:G1,async sendRequest(n,i){if(!e.enabled)return i(n);e(`Request: ${r.sanitize(n)}`);let s=await i(n);return e(`Response status code: ${s.status}`),e(`Headers: ${r.sanitize(s.headers)}`),s}}}o(Rfe,"logPolicy")});var PQ=g((tJe,K1)=>{var vQ=Object.defineProperty,_fe=Object.getOwnPropertyDescriptor,vfe=Object.getOwnPropertyNames,Pfe=Object.prototype.hasOwnProperty,Dfe=o((t,e)=>{for(var r in e)vQ(t,r,{get:e[r],enumerable:!0})},"__export"),Tfe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of vfe(e))!Pfe.call(t,i)&&i!==r&&vQ(t,i,{get:()=>e[i],enumerable:!(n=_fe(e,i))||n.enumerable});return t},"__copyProps"),Ofe=o(t=>Tfe(vQ({},"__esModule",{value:!0}),t),"__toCommonJS"),V1={};Dfe(V1,{redirectPolicy:()=>kfe,redirectPolicyName:()=>W1});K1.exports=Ofe(V1);var Mfe=kc(),W1="redirectPolicy",J1=["GET","HEAD"];function kfe(t={}){let{maxRetries:e=20,allowCrossOriginRedirects:r=!1}=t;return{name:W1,async sendRequest(n,i){let s=await i(n);return $1(i,s,e,r)}}}o(kfe,"redirectPolicy");async function $1(t,e,r,n,i=0){let{request:s,status:a,headers:c}=e,l=c.get("location");if(l&&(a===300||a===301&&J1.includes(s.method)||a===302&&J1.includes(s.method)||a===303&&s.method==="POST"||a===307)&&i<r){let A=new URL(l,s.url);if(!n){let d=new URL(s.url);if(A.origin!==d.origin)return Mfe.logger.verbose(`Skipping cross-origin redirect from ${d.origin} to ${A.origin}.`),e}s.url=A.toString(),a===303&&(s.method="GET",s.headers.delete("Content-Length"),delete s.body),s.headers.delete("Authorization");let u=await t(s);return $1(t,u,r,n,i+1)}return e}o($1,"handleRedirect")});var rH=g((nJe,tH)=>{var Lfe=Object.create,yf=Object.defineProperty,Ufe=Object.getOwnPropertyDescriptor,Ffe=Object.getOwnPropertyNames,qfe=Object.getPrototypeOf,Hfe=Object.prototype.hasOwnProperty,zfe=o((t,e)=>{for(var r in e)yf(t,r,{get:e[r],enumerable:!0})},"__export"),X1=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ffe(e))!Hfe.call(t,i)&&i!==r&&yf(t,i,{get:()=>e[i],enumerable:!(n=Ufe(e,i))||n.enumerable});return t},"__copyProps"),Z1=o((t,e,r)=>(r=t!=null?Lfe(qfe(t)):{},X1(e||!t||!t.__esModule?yf(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),jfe=o(t=>X1(yf({},"__esModule",{value:!0}),t),"__toCommonJS"),eH={};zfe(eH,{getHeaderName:()=>Gfe,setPlatformSpecificData:()=>Yfe});tH.exports=jfe(eH);var DQ=Z1(require("node:os")),TQ=Z1(require("node:process"));function Gfe(){return"User-Agent"}o(Gfe,"getHeaderName");async function Yfe(t){if(TQ.default&&TQ.default.versions){let e=`${DQ.default.type()} ${DQ.default.release()}; ${DQ.default.arch()}`,r=TQ.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}o(Yfe,"setPlatformSpecificData")});var Ko=g((sJe,iH)=>{var OQ=Object.defineProperty,Jfe=Object.getOwnPropertyDescriptor,Vfe=Object.getOwnPropertyNames,Wfe=Object.prototype.hasOwnProperty,$fe=o((t,e)=>{for(var r in e)OQ(t,r,{get:e[r],enumerable:!0})},"__export"),Kfe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Vfe(e))!Wfe.call(t,i)&&i!==r&&OQ(t,i,{get:()=>e[i],enumerable:!(n=Jfe(e,i))||n.enumerable});return t},"__copyProps"),Xfe=o(t=>Kfe(OQ({},"__esModule",{value:!0}),t),"__toCommonJS"),nH={};$fe(nH,{DEFAULT_RETRY_POLICY_COUNT:()=>eme,SDK_VERSION:()=>Zfe});iH.exports=Xfe(nH);var Zfe="0.3.4",eme=3});var cH=g((aJe,aH)=>{var MQ=Object.defineProperty,tme=Object.getOwnPropertyDescriptor,rme=Object.getOwnPropertyNames,nme=Object.prototype.hasOwnProperty,ime=o((t,e)=>{for(var r in e)MQ(t,r,{get:e[r],enumerable:!0})},"__export"),sme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of rme(e))!nme.call(t,i)&&i!==r&&MQ(t,i,{get:()=>e[i],enumerable:!(n=tme(e,i))||n.enumerable});return t},"__copyProps"),ome=o(t=>sme(MQ({},"__esModule",{value:!0}),t),"__toCommonJS"),sH={};ime(sH,{getUserAgentHeaderName:()=>lme,getUserAgentValue:()=>Ame});aH.exports=ome(sH);var oH=rH(),ame=Ko();function cme(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}o(cme,"getUserAgentString");function lme(){return(0,oH.getHeaderName)()}o(lme,"getUserAgentHeaderName");async function Ame(t){let e=new Map;e.set("ts-http-runtime",ame.SDK_VERSION),await(0,oH.setPlatformSpecificData)(e);let r=cme(e);return t?`${t} ${r}`:r}o(Ame,"getUserAgentValue")});var LQ=g((lJe,pH)=>{var kQ=Object.defineProperty,ume=Object.getOwnPropertyDescriptor,dme=Object.getOwnPropertyNames,pme=Object.prototype.hasOwnProperty,hme=o((t,e)=>{for(var r in e)kQ(t,r,{get:e[r],enumerable:!0})},"__export"),fme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of dme(e))!pme.call(t,i)&&i!==r&&kQ(t,i,{get:()=>e[i],enumerable:!(n=ume(e,i))||n.enumerable});return t},"__copyProps"),mme=o(t=>fme(kQ({},"__esModule",{value:!0}),t),"__toCommonJS"),AH={};hme(AH,{userAgentPolicy:()=>gme,userAgentPolicyName:()=>dH});pH.exports=mme(AH);var uH=cH(),lH=(0,uH.getUserAgentHeaderName)(),dH="userAgentPolicy";function gme(t={}){let e=(0,uH.getUserAgentValue)(t.userAgentPrefix);return{name:dH,async sendRequest(r,n){return r.headers.has(lH)||r.headers.set(lH,await e),n(r)}}}o(gme,"userAgentPolicy")});var FQ=g((uJe,mH)=>{var UQ=Object.defineProperty,yme=Object.getOwnPropertyDescriptor,Cme=Object.getOwnPropertyNames,Eme=Object.prototype.hasOwnProperty,Bme=o((t,e)=>{for(var r in e)UQ(t,r,{get:e[r],enumerable:!0})},"__export"),Ime=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Cme(e))!Eme.call(t,i)&&i!==r&&UQ(t,i,{get:()=>e[i],enumerable:!(n=yme(e,i))||n.enumerable});return t},"__copyProps"),bme=o(t=>Ime(UQ({},"__esModule",{value:!0}),t),"__toCommonJS"),hH={};Bme(hH,{decompressResponsePolicy:()=>Qme,decompressResponsePolicyName:()=>fH});mH.exports=bme(hH);var fH="decompressResponsePolicy";function Qme(){return{name:fH,async sendRequest(t,e){return t.method!=="HEAD"&&t.headers.set("Accept-Encoding","gzip,deflate"),e(t)}}}o(Qme,"decompressResponsePolicy")});var HQ=g((pJe,yH)=>{var qQ=Object.defineProperty,wme=Object.getOwnPropertyDescriptor,Nme=Object.getOwnPropertyNames,xme=Object.prototype.hasOwnProperty,Sme=o((t,e)=>{for(var r in e)qQ(t,r,{get:e[r],enumerable:!0})},"__export"),Rme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Nme(e))!xme.call(t,i)&&i!==r&&qQ(t,i,{get:()=>e[i],enumerable:!(n=wme(e,i))||n.enumerable});return t},"__copyProps"),_me=o(t=>Rme(qQ({},"__esModule",{value:!0}),t),"__toCommonJS"),gH={};Sme(gH,{getRandomIntegerInclusive:()=>vme});yH.exports=_me(gH);function vme(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(vme,"getRandomIntegerInclusive")});var jQ=g((fJe,EH)=>{var zQ=Object.defineProperty,Pme=Object.getOwnPropertyDescriptor,Dme=Object.getOwnPropertyNames,Tme=Object.prototype.hasOwnProperty,Ome=o((t,e)=>{for(var r in e)zQ(t,r,{get:e[r],enumerable:!0})},"__export"),Mme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Dme(e))!Tme.call(t,i)&&i!==r&&zQ(t,i,{get:()=>e[i],enumerable:!(n=Pme(e,i))||n.enumerable});return t},"__copyProps"),kme=o(t=>Mme(zQ({},"__esModule",{value:!0}),t),"__toCommonJS"),CH={};Ome(CH,{calculateRetryDelay:()=>Ume});EH.exports=kme(CH);var Lme=HQ();function Ume(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+(0,Lme.getRandomIntegerInclusive)(0,n/2)}}o(Ume,"calculateRetryDelay")});var YQ=g((gJe,IH)=>{var GQ=Object.defineProperty,Fme=Object.getOwnPropertyDescriptor,qme=Object.getOwnPropertyNames,Hme=Object.prototype.hasOwnProperty,zme=o((t,e)=>{for(var r in e)GQ(t,r,{get:e[r],enumerable:!0})},"__export"),jme=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of qme(e))!Hme.call(t,i)&&i!==r&&GQ(t,i,{get:()=>e[i],enumerable:!(n=Fme(e,i))||n.enumerable});return t},"__copyProps"),Gme=o(t=>jme(GQ({},"__esModule",{value:!0}),t),"__toCommonJS"),BH={};zme(BH,{delay:()=>Vme,parseHeaderValueAsNumber:()=>Wme});IH.exports=Gme(BH);var Yme=Bu(),Jme="The operation was aborted.";function Vme(t,e,r){return new Promise((n,i)=>{let s,a,c=o(()=>i(new Yme.AbortError(r?.abortErrorMsg?r?.abortErrorMsg:Jme)),"rejectOnAbort"),l=o(()=>{r?.abortSignal&&a&&r.abortSignal.removeEventListener("abort",a)},"removeListeners");if(a=o(()=>(s&&clearTimeout(s),l(),c()),"onAborted"),r?.abortSignal&&r.abortSignal.aborted)return c();s=setTimeout(()=>{l(),n(e)},t),r?.abortSignal&&r.abortSignal.addEventListener("abort",a)})}o(Vme,"delay");function Wme(t,e){let r=t.headers.get(e);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}o(Wme,"parseHeaderValueAsNumber")});var Cf=g((CJe,wH)=>{var VQ=Object.defineProperty,$me=Object.getOwnPropertyDescriptor,Kme=Object.getOwnPropertyNames,Xme=Object.prototype.hasOwnProperty,Zme=o((t,e)=>{for(var r in e)VQ(t,r,{get:e[r],enumerable:!0})},"__export"),ege=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Kme(e))!Xme.call(t,i)&&i!==r&&VQ(t,i,{get:()=>e[i],enumerable:!(n=$me(e,i))||n.enumerable});return t},"__copyProps"),tge=o(t=>ege(VQ({},"__esModule",{value:!0}),t),"__toCommonJS"),bH={};Zme(bH,{isThrottlingRetryResponse:()=>ige,throttlingRetryStrategy:()=>sge});wH.exports=tge(bH);var rge=YQ(),JQ="Retry-After",nge=["retry-after-ms","x-ms-retry-after-ms",JQ];function QH(t){if(t&&[429,503].includes(t.status))try{for(let i of nge){let s=(0,rge.parseHeaderValueAsNumber)(t,i);if(s===0||s)return s*(i===JQ?1e3:1)}let e=t.headers.get(JQ);if(!e)return;let n=Date.parse(e)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}o(QH,"getRetryAfterInMs");function ige(t){return Number.isFinite(QH(t))}o(ige,"isThrottlingRetryResponse");function sge(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=QH(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(sge,"throttlingRetryStrategy")});var Ef=g((BJe,RH)=>{var WQ=Object.defineProperty,oge=Object.getOwnPropertyDescriptor,age=Object.getOwnPropertyNames,cge=Object.prototype.hasOwnProperty,lge=o((t,e)=>{for(var r in e)WQ(t,r,{get:e[r],enumerable:!0})},"__export"),Age=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of age(e))!cge.call(t,i)&&i!==r&&WQ(t,i,{get:()=>e[i],enumerable:!(n=oge(e,i))||n.enumerable});return t},"__copyProps"),uge=o(t=>Age(WQ({},"__esModule",{value:!0}),t),"__toCommonJS"),NH={};lge(NH,{exponentialRetryStrategy:()=>mge,isExponentialRetryResponse:()=>xH,isSystemError:()=>SH});RH.exports=uge(NH);var dge=jQ(),pge=Cf(),hge=1e3,fge=1e3*64;function mge(t={}){let e=t.retryDelayInMs??hge,r=t.maxRetryDelayInMs??fge;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:i,responseError:s}){let a=SH(s),c=a&&t.ignoreSystemErrors,l=xH(i),A=l&&t.ignoreHttpStatusCodes;return i&&((0,pge.isThrottlingRetryResponse)(i)||!l)||A||c?{skipStrategy:!0}:s&&!a&&!l?{errorToThrow:s}:(0,dge.calculateRetryDelay)(n,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(mge,"exponentialRetryStrategy");function xH(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(xH,"isExponentialRetryResponse");function SH(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(SH,"isSystemError")});var Uc=g((bJe,PH)=>{var $Q=Object.defineProperty,gge=Object.getOwnPropertyDescriptor,yge=Object.getOwnPropertyNames,Cge=Object.prototype.hasOwnProperty,Ege=o((t,e)=>{for(var r in e)$Q(t,r,{get:e[r],enumerable:!0})},"__export"),Bge=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of yge(e))!Cge.call(t,i)&&i!==r&&$Q(t,i,{get:()=>e[i],enumerable:!(n=gge(e,i))||n.enumerable});return t},"__copyProps"),Ige=o(t=>Bge($Q({},"__esModule",{value:!0}),t),"__toCommonJS"),vH={};Ege(vH,{retryPolicy:()=>Sge});PH.exports=Ige(vH);var bge=YQ(),Qge=Bu(),wge=bu(),_H=Ko(),Nge=(0,wge.createClientLogger)("ts-http-runtime retryPolicy"),xge="retryPolicy";function Sge(t,e={maxRetries:_H.DEFAULT_RETRY_POLICY_COUNT}){let r=e.logger||Nge;return{name:xge,async sendRequest(n,i){let s,a,c=-1;e:for(;;){c+=1,s=void 0,a=void 0;try{r.info(`Retry ${c}: Attempting to send request`,n.requestId),s=await i(n),r.info(`Retry ${c}: Received a response from request`,n.requestId)}catch(l){if(r.error(`Retry ${c}: Received an error from request`,n.requestId),a=l,!l||a.name!=="RestError")throw l;s=a.response}if(n.abortSignal?.aborted)throw r.error(`Retry ${c}: Request aborted.`),new Qge.AbortError;if(c>=(e.maxRetries??_H.DEFAULT_RETRY_POLICY_COUNT)){if(r.info(`Retry ${c}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),a)throw a;if(s)return s;throw new Error("Maximum retries reached with no response or error to throw")}r.info(`Retry ${c}: Processing ${t.length} retry strategies.`);t:for(let l of t){let A=l.logger||r;A.info(`Retry ${c}: Processing retry strategy ${l.name}.`);let u=l.retry({retryCount:c,response:s,responseError:a});if(u.skipStrategy){A.info(`Retry ${c}: Skipped.`);continue t}let{errorToThrow:d,retryAfterInMs:f,redirectTo:m}=u;if(d)throw A.error(`Retry ${c}: Retry strategy ${l.name} throws error:`,d),d;if(f||f===0){A.info(`Retry ${c}: Retry strategy ${l.name} retries after ${f}`),await(0,bge.delay)(f,void 0,{abortSignal:n.abortSignal});continue e}if(m){A.info(`Retry ${c}: Retry strategy ${l.name} redirects to ${m}`),n.url=m;continue e}}if(a)throw r.info("None of the retry strategies could work with the received error. Throwing it."),a;if(s)return r.info("None of the retry strategies could work with the received response. Returning it."),s}}}}o(Sge,"retryPolicy")});var XQ=g((wJe,OH)=>{var KQ=Object.defineProperty,Rge=Object.getOwnPropertyDescriptor,_ge=Object.getOwnPropertyNames,vge=Object.prototype.hasOwnProperty,Pge=o((t,e)=>{for(var r in e)KQ(t,r,{get:e[r],enumerable:!0})},"__export"),Dge=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _ge(e))!vge.call(t,i)&&i!==r&&KQ(t,i,{get:()=>e[i],enumerable:!(n=Rge(e,i))||n.enumerable});return t},"__copyProps"),Tge=o(t=>Dge(KQ({},"__esModule",{value:!0}),t),"__toCommonJS"),DH={};Pge(DH,{defaultRetryPolicy:()=>Uge,defaultRetryPolicyName:()=>TH});OH.exports=Tge(DH);var Oge=Ef(),Mge=Cf(),kge=Uc(),Lge=Ko(),TH="defaultRetryPolicy";function Uge(t={}){return{name:TH,sendRequest:(0,kge.retryPolicy)([(0,Mge.throttlingRetryStrategy)(),(0,Oge.exponentialRetryStrategy)(t)],{maxRetries:t.maxRetries??Lge.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}o(Uge,"defaultRetryPolicy")});var xu=g((xJe,FH)=>{var ZQ=Object.defineProperty,Fge=Object.getOwnPropertyDescriptor,qge=Object.getOwnPropertyNames,Hge=Object.prototype.hasOwnProperty,zge=o((t,e)=>{for(var r in e)ZQ(t,r,{get:e[r],enumerable:!0})},"__export"),jge=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of qge(e))!Hge.call(t,i)&&i!==r&&ZQ(t,i,{get:()=>e[i],enumerable:!(n=Fge(e,i))||n.enumerable});return t},"__copyProps"),Gge=o(t=>jge(ZQ({},"__esModule",{value:!0}),t),"__toCommonJS"),MH={};zge(MH,{isBrowser:()=>Yge,isBun:()=>LH,isDeno:()=>kH,isNodeLike:()=>UH,isNodeRuntime:()=>Vge,isReactNative:()=>Wge,isWebWorker:()=>Jge});FH.exports=Gge(MH);var Yge=typeof window<"u"&&typeof window.document<"u",Jge=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),kH=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",LH=typeof Bun<"u"&&typeof Bun.version<"u",UH=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node,Vge=UH&&!LH&&!kH,Wge=typeof navigator<"u"&&navigator?.product==="ReactNative"});var tw=g((RJe,jH)=>{var ew=Object.defineProperty,$ge=Object.getOwnPropertyDescriptor,Kge=Object.getOwnPropertyNames,Xge=Object.prototype.hasOwnProperty,Zge=o((t,e)=>{for(var r in e)ew(t,r,{get:e[r],enumerable:!0})},"__export"),eye=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Kge(e))!Xge.call(t,i)&&i!==r&&ew(t,i,{get:()=>e[i],enumerable:!(n=$ge(e,i))||n.enumerable});return t},"__copyProps"),tye=o(t=>eye(ew({},"__esModule",{value:!0}),t),"__toCommonJS"),HH={};Zge(HH,{formDataPolicy:()=>sye,formDataPolicyName:()=>zH});jH.exports=tye(HH);var rye=$o(),nye=xu(),qH=Js(),zH="formDataPolicy";function iye(t){let e={};for(let[r,n]of t.entries())e[r]??=[],e[r].push(n);return e}o(iye,"formDataToFormDataMap");function sye(){return{name:zH,async sendRequest(t,e){if(nye.isNodeLike&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=iye(t.body),t.body=void 0),t.formData){let r=t.headers.get("Content-Type");r&&r.indexOf("application/x-www-form-urlencoded")!==-1?t.body=oye(t.formData):await aye(t.formData,t),t.formData=void 0}return e(t)}}}o(sye,"formDataPolicy");function oye(t){let e=new URLSearchParams;for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let i of n)e.append(r,i.toString());else e.append(r,n.toString());return e.toString()}o(oye,"wwwFormUrlEncode");async function aye(t,e){let r=e.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;e.headers.set("Content-Type",r??"multipart/form-data");let n=[];for(let[i,s]of Object.entries(t))for(let a of Array.isArray(s)?s:[s])if(typeof a=="string")n.push({headers:(0,qH.createHttpHeaders)({"Content-Disposition":`form-data; name="${i}"`}),body:(0,rye.stringToUint8Array)(a,"utf-8")});else{if(a==null||typeof a!="object")throw new Error(`Unexpected value for key ${i}: ${a}. Value should be serialized to string first.`);{let c=a.name||"blob",l=(0,qH.createHttpHeaders)();l.set("Content-Disposition",`form-data; name="${i}"; filename="${c}"`),l.set("Content-Type",a.type||"application/octet-stream"),n.push({headers:l,body:a})}}e.multipartBody={parts:n}}o(aye,"prepareFormData")});var YH=g((vJe,GH)=>{var Fc=1e3,qc=Fc*60,Hc=qc*60,Xo=Hc*24,cye=Xo*7,lye=Xo*365.25;GH.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return Aye(t);if(r==="number"&&isFinite(t))return e.long?dye(t):uye(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Aye(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*lye;case"weeks":case"week":case"w":return r*cye;case"days":case"day":case"d":return r*Xo;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Hc;case"minutes":case"minute":case"mins":case"min":case"m":return r*qc;case"seconds":case"second":case"secs":case"sec":case"s":return r*Fc;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(Aye,"parse");function uye(t){var e=Math.abs(t);return e>=Xo?Math.round(t/Xo)+"d":e>=Hc?Math.round(t/Hc)+"h":e>=qc?Math.round(t/qc)+"m":e>=Fc?Math.round(t/Fc)+"s":t+"ms"}o(uye,"fmtShort");function dye(t){var e=Math.abs(t);return e>=Xo?Bf(t,e,Xo,"day"):e>=Hc?Bf(t,e,Hc,"hour"):e>=qc?Bf(t,e,qc,"minute"):e>=Fc?Bf(t,e,Fc,"second"):t+" ms"}o(dye,"fmtLong");function Bf(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}o(Bf,"plural")});var rw=g((DJe,JH)=>{function pye(t){r.debug=r,r.default=r,r.coerce=l,r.disable=a,r.enable=i,r.enabled=c,r.humanize=YH(),r.destroy=A,Object.keys(t).forEach(u=>{r[u]=t[u]}),r.names=[],r.skips=[],r.formatters={};function e(u){let d=0;for(let f=0;f<u.length;f++)d=(d<<5)-d+u.charCodeAt(f),d|=0;return r.colors[Math.abs(d)%r.colors.length]}o(e,"selectColor"),r.selectColor=e;function r(u){let d,f=null,m,C;function Q(...S){if(!Q.enabled)return;let w=Q,R=Number(new Date),T=R-(d||R);w.diff=T,w.prev=d,w.curr=R,d=R,S[0]=r.coerce(S[0]),typeof S[0]!="string"&&S.unshift("%O");let L=0;S[0]=S[0].replace(/%([a-zA-Z%])/g,(de,le)=>{if(de==="%%")return"%";L++;let Te=r.formatters[le];if(typeof Te=="function"){let Oe=S[L];de=Te.call(w,Oe),S.splice(L,1),L--}return de}),r.formatArgs.call(w,S),(w.log||r.log).apply(w,S)}return o(Q,"debug"),Q.namespace=u,Q.useColors=r.useColors(),Q.color=r.selectColor(u),Q.extend=n,Q.destroy=r.destroy,Object.defineProperty(Q,"enabled",{enumerable:!0,configurable:!1,get:()=>f!==null?f:(m!==r.namespaces&&(m=r.namespaces,C=r.enabled(u)),C),set:S=>{f=S}}),typeof r.init=="function"&&r.init(Q),Q}o(r,"createDebug");function n(u,d){let f=r(this.namespace+(typeof d>"u"?":":d)+u);return f.log=this.log,f}o(n,"extend");function i(u){r.save(u),r.namespaces=u,r.names=[],r.skips=[];let d=(typeof u=="string"?u:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let f of d)f[0]==="-"?r.skips.push(f.slice(1)):r.names.push(f)}o(i,"enable");function s(u,d){let f=0,m=0,C=-1,Q=0;for(;f<u.length;)if(m<d.length&&(d[m]===u[f]||d[m]==="*"))d[m]==="*"?(C=m,Q=f,m++):(f++,m++);else if(C!==-1)m=C+1,Q++,f=Q;else return!1;for(;m<d.length&&d[m]==="*";)m++;return m===d.length}o(s,"matchesTemplate");function a(){let u=[...r.names,...r.skips.map(d=>"-"+d)].join(",");return r.enable(""),u}o(a,"disable");function c(u){for(let d of r.skips)if(s(u,d))return!1;for(let d of r.names)if(s(u,d))return!0;return!1}o(c,"enabled");function l(u){return u instanceof Error?u.stack||u.message:u}o(l,"coerce");function A(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return o(A,"destroy"),r.enable(r.load()),r}o(pye,"setup");JH.exports=pye});var VH=g((Rr,If)=>{Rr.formatArgs=fye;Rr.save=mye;Rr.load=gye;Rr.useColors=hye;Rr.storage=yye();Rr.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();Rr.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 hye(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}o(hye,"useColors");function fye(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+If.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),t.splice(n,0,e)}o(fye,"formatArgs");Rr.log=console.debug||console.log||(()=>{});function mye(t){try{t?Rr.storage.setItem("debug",t):Rr.storage.removeItem("debug")}catch{}}o(mye,"save");function gye(){let t;try{t=Rr.storage.getItem("debug")||Rr.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(gye,"load");function yye(){try{return localStorage}catch{}}o(yye,"localstorage");If.exports=rw()(Rr);var{formatters:Cye}=If.exports;Cye.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var $H=g((zt,Qf)=>{var Eye=require("tty"),bf=require("util");zt.init=xye;zt.log=Qye;zt.formatArgs=Iye;zt.save=wye;zt.load=Nye;zt.useColors=Bye;zt.destroy=bf.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");zt.colors=[6,2,3,4,5,1];try{let t=require("supports-color");t&&(t.stderr||t).level>=2&&(zt.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{}zt.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(i,s)=>s.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),t[r]=n,t},{});function Bye(){return"colors"in zt.inspectOpts?!!zt.inspectOpts.colors:Eye.isatty(process.stderr.fd)}o(Bye,"useColors");function Iye(t){let{namespace:e,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${i};1m${e} \x1B[0m`;t[0]=s+t[0].split(`
`).join(`
`+s),t.push(i+"m+"+Qf.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=bye()+e+" "+t[0]}o(Iye,"formatArgs");function bye(){return zt.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(bye,"getDate");function Qye(...t){return process.stderr.write(bf.formatWithOptions(zt.inspectOpts,...t)+`
`)}o(Qye,"log");function wye(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(wye,"save");function Nye(){return process.env.DEBUG}o(Nye,"load");function xye(t){t.inspectOpts={};let e=Object.keys(zt.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=zt.inspectOpts[e[r]]}o(xye,"init");Qf.exports=rw()(zt);var{formatters:WH}=Qf.exports;WH.o=function(t){return this.inspectOpts.colors=this.useColors,bf.inspect(t,this.inspectOpts).split(`
`).map(e=>e.trim()).join(" ")};WH.O=function(t){return this.inspectOpts.colors=this.useColors,bf.inspect(t,this.inspectOpts)}});var wf=g((kJe,nw)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?nw.exports=VH():nw.exports=$H()});var ZH=g(_r=>{"use strict";var Sye=_r&&_r.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Rye=_r&&_r.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),KH=_r&&_r.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Sye(e,t,r);return Rye(e,t),e};Object.defineProperty(_r,"__esModule",{value:!0});_r.req=_r.json=_r.toBuffer=void 0;var _ye=KH(require("http")),vye=KH(require("https"));async function XH(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(XH,"toBuffer");_r.toBuffer=XH;async function Pye(t){let r=(await XH(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let i=n;throw i.message+=` (input: ${r})`,i}}o(Pye,"json");_r.json=Pye;function Dye(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?vye:_ye).request(t,e),i=new Promise((s,a)=>{n.once("response",s).once("error",a).end()});return n.then=i.then.bind(i),n}o(Dye,"req");_r.req=Dye});var sw=g(Zr=>{"use strict";var t2=Zr&&Zr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Tye=Zr&&Zr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),r2=Zr&&Zr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&t2(e,t,r);return Tye(e,t),e},Oye=Zr&&Zr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&t2(e,t,r)};Object.defineProperty(Zr,"__esModule",{value:!0});Zr.Agent=void 0;var Mye=r2(require("net")),e2=r2(require("http")),kye=require("https");Oye(ZH(),Zr);var Ni=Symbol("AgentBaseInternalState"),iw=class extends e2.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Ni]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(`
`).some(n=>n.indexOf("(https.js:")!==-1||n.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new Mye.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let n=this.sockets[e],i=n.indexOf(r);i!==-1&&(n.splice(i,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?kye.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let i={...r,secureEndpoint:this.isSecureEndpoint(r)},s=this.getName(i),a=this.incrementSockets(s);Promise.resolve().then(()=>this.connect(e,i)).then(c=>{if(this.decrementSockets(s,a),c instanceof e2.Agent)try{return c.addRequest(e,i)}catch(l){return n(l)}this[Ni].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(s,a),n(c)})}createConnection(){let e=this[Ni].currentSocket;if(this[Ni].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Ni].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Ni]&&(this[Ni].defaultPort=e)}get protocol(){return this[Ni].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Ni]&&(this[Ni].protocol=e)}};Zr.Agent=iw});var n2=g(zc=>{"use strict";var Lye=zc&&zc.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(zc,"__esModule",{value:!0});zc.parseProxyResponse=void 0;var Uye=Lye(wf()),Nf=(0,Uye.default)("https-proxy-agent:parse-proxy-response");function Fye(t){return new Promise((e,r)=>{let n=0,i=[];function s(){let u=t.read();u?A(u):t.once("readable",s)}o(s,"read");function a(){t.removeListener("end",c),t.removeListener("error",l),t.removeListener("readable",s)}o(a,"cleanup");function c(){a(),Nf("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(u){a(),Nf("onerror %o",u),r(u)}o(l,"onerror");function A(u){i.push(u),n+=u.length;let d=Buffer.concat(i,n),f=d.indexOf(`\r
\r
`);if(f===-1){Nf("have not received end of HTTP headers yet..."),s();return}let m=d.slice(0,f).toString("ascii").split(`\r
`),C=m.shift();if(!C)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let Q=C.split(" "),S=+Q[1],w=Q.slice(2).join(" "),R={};for(let T of m){if(!T)continue;let L=T.indexOf(":");if(L===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${T}"`));let W=T.slice(0,L).toLowerCase(),de=T.slice(L+1).trimStart(),le=R[W];typeof le=="string"?R[W]=[le,de]:Array.isArray(le)?le.push(de):R[W]=de}Nf("got proxy server response: %o %o",C,R),a(),e({connect:{statusCode:S,statusText:w,headers:R},buffered:d})}o(A,"ondata"),t.on("error",l),t.on("end",c),s()})}o(Fye,"parseProxyResponse");zc.parseProxyResponse=Fye});var l2=g(Nn=>{"use strict";var qye=Nn&&Nn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Hye=Nn&&Nn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),a2=Nn&&Nn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&qye(e,t,r);return Hye(e,t),e},c2=Nn&&Nn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Nn,"__esModule",{value:!0});Nn.HttpsProxyAgent=void 0;var xf=a2(require("net")),i2=a2(require("tls")),zye=c2(require("assert")),jye=c2(wf()),Gye=sw(),Yye=require("url"),Jye=n2(),Su=(0,jye.default)("https-proxy-agent"),s2=o(t=>t.servername===void 0&&t.host&&!xf.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),Sf=class extends Gye.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new Yye.URL(e):e,this.proxyHeaders=r?.headers??{},Su("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?o2(r,"headers"):null,host:n,port:i}}async connect(e,r){let{proxy:n}=this;if(!r.host)throw new TypeError('No "host" provided');let i;n.protocol==="https:"?(Su("Creating `tls.Socket`: %o",this.connectOpts),i=i2.connect(s2(this.connectOpts))):(Su("Creating `net.Socket`: %o",this.connectOpts),i=xf.connect(this.connectOpts));let s=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=xf.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r
`;if(n.username||n.password){let f=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;s["Proxy-Authorization"]=`Basic ${Buffer.from(f).toString("base64")}`}s.Host=`${a}:${r.port}`,s["Proxy-Connection"]||(s["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let f of Object.keys(s))c+=`${f}: ${s[f]}\r
`;let l=(0,Jye.parseProxyResponse)(i);i.write(`${c}\r
`);let{connect:A,buffered:u}=await l;if(e.emit("proxyConnect",A),this.emit("proxyConnect",A,e),A.statusCode===200)return e.once("socket",Vye),r.secureEndpoint?(Su("Upgrading socket connection to TLS"),i2.connect({...o2(s2(r),"host","path","port"),socket:i})):i;i.destroy();let d=new xf.Socket({writable:!1});return d.readable=!0,e.once("socket",f=>{Su("Replaying proxy buffer for failed request"),(0,zye.default)(f.listenerCount("data")>0),f.push(u),f.push(null)}),d}};Sf.protocols=["http","https"];Nn.HttpsProxyAgent=Sf;function Vye(t){t.resume()}o(Vye,"resume");function o2(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(o2,"omit")});var d2=g(xn=>{"use strict";var Wye=xn&&xn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),$ye=xn&&xn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),u2=xn&&xn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Wye(e,t,r);return $ye(e,t),e},Kye=xn&&xn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(xn,"__esModule",{value:!0});xn.HttpProxyAgent=void 0;var Xye=u2(require("net")),Zye=u2(require("tls")),eCe=Kye(wf()),tCe=require("events"),rCe=sw(),A2=require("url"),jc=(0,eCe.default)("http-proxy-agent"),Rf=class extends rCe.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new A2.URL(e):e,this.proxyHeaders=r?.headers??{},jc("Creating new HttpProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?nCe(r,"headers"):null,host:n,port:i}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:n}=this,i=r.secureEndpoint?"https:":"http:",s=e.getHeader("host")||"localhost",a=`${i}//${s}`,c=new A2.URL(e.path,a);r.port!==80&&(c.port=String(r.port)),e.path=String(c);let l=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(n.username||n.password){let A=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;l["Proxy-Authorization"]=`Basic ${Buffer.from(A).toString("base64")}`}l["Proxy-Connection"]||(l["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let A of Object.keys(l)){let u=l[A];u&&e.setHeader(A,u)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let n,i;jc("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(jc("Patching connection write() output buffer with updated header"),n=e.outputData[0].data,i=n.indexOf(`\r
\r
`)+4,e.outputData[0].data=e._header+n.substring(i),jc("Output buffer: %o",e.outputData[0].data));let s;return this.proxy.protocol==="https:"?(jc("Creating `tls.Socket`: %o",this.connectOpts),s=Zye.connect(this.connectOpts)):(jc("Creating `net.Socket`: %o",this.connectOpts),s=Xye.connect(this.connectOpts)),await(0,tCe.once)(s,"connect"),s}};Rf.protocols=["http","https"];xn.HttpProxyAgent=Rf;function nCe(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(nCe,"omit")});var cw=g((VJe,E2)=>{var aw=Object.defineProperty,iCe=Object.getOwnPropertyDescriptor,sCe=Object.getOwnPropertyNames,oCe=Object.prototype.hasOwnProperty,aCe=o((t,e)=>{for(var r in e)aw(t,r,{get:e[r],enumerable:!0})},"__export"),cCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of sCe(e))!oCe.call(t,i)&&i!==r&&aw(t,i,{get:()=>e[i],enumerable:!(n=iCe(e,i))||n.enumerable});return t},"__copyProps"),lCe=o(t=>cCe(aw({},"__esModule",{value:!0}),t),"__toCommonJS"),f2={};aCe(f2,{getDefaultProxySettings:()=>CCe,globalNoProxyList:()=>ow,loadNoProxy:()=>C2,proxyPolicy:()=>BCe,proxyPolicyName:()=>m2});E2.exports=lCe(f2);var ACe=l2(),uCe=d2(),dCe=kc(),pCe="HTTPS_PROXY",hCe="HTTP_PROXY",fCe="ALL_PROXY",mCe="NO_PROXY",m2="proxyPolicy",ow=[],g2=!1,gCe=new Map;function _f(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(_f,"getEnvironmentValue");function y2(){if(!process)return;let t=_f(pCe),e=_f(fCe),r=_f(hCe);return t||e||r}o(y2,"loadEnvironmentProxyValue");function yCe(t,e,r){if(e.length===0)return!1;let n=new URL(t).hostname;if(r?.has(n))return r.get(n);let i=!1;for(let s of e)s[0]==="."?(n.endsWith(s)||n.length===s.length-1&&n===s.slice(1))&&(i=!0):n===s&&(i=!0);return r?.set(n,i),i}o(yCe,"isBypassed");function C2(){let t=_f(mCe);return g2=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(C2,"loadNoProxy");function CCe(t){if(!t&&(t=y2(),!t))return;let e=new URL(t);return{host:(e.protocol?e.protocol+"//":"")+e.hostname,port:Number.parseInt(e.port||"80"),username:e.username,password:e.password}}o(CCe,"getDefaultProxySettings");function ECe(){let t=y2();return t?new URL(t):void 0}o(ECe,"getDefaultProxySettingsInternal");function p2(t){let e;try{e=new URL(t.host)}catch{throw new Error(`Expecting a valid host string in proxy settings, but found "${t.host}".`)}return e.port=String(t.port),t.username&&(e.username=t.username),t.password&&(e.password=t.password),e}o(p2,"getUrlFromProxySettings");function h2(t,e,r){if(t.agent)return;let i=new URL(t.url).protocol!=="https:";t.tlsSettings&&dCe.logger.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.");let s=t.headers.toJSON();i?(e.httpProxyAgent||(e.httpProxyAgent=new uCe.HttpProxyAgent(r,{headers:s})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new ACe.HttpsProxyAgent(r,{headers:s})),t.agent=e.httpsProxyAgent)}o(h2,"setProxyAgentOnRequest");function BCe(t,e){g2||ow.push(...C2());let r=t?p2(t):ECe(),n={};return{name:m2,async sendRequest(i,s){return!i.proxySettings&&r&&!yCe(i.url,e?.customNoProxyList??ow,e?.customNoProxyList?void 0:gCe)?h2(i,n,r):i.proxySettings&&h2(i,n,p2(i.proxySettings)),s(i)}}}o(BCe,"proxyPolicy")});var Aw=g(($Je,b2)=>{var lw=Object.defineProperty,ICe=Object.getOwnPropertyDescriptor,bCe=Object.getOwnPropertyNames,QCe=Object.prototype.hasOwnProperty,wCe=o((t,e)=>{for(var r in e)lw(t,r,{get:e[r],enumerable:!0})},"__export"),NCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of bCe(e))!QCe.call(t,i)&&i!==r&&lw(t,i,{get:()=>e[i],enumerable:!(n=ICe(e,i))||n.enumerable});return t},"__copyProps"),xCe=o(t=>NCe(lw({},"__esModule",{value:!0}),t),"__toCommonJS"),B2={};wCe(B2,{agentPolicy:()=>SCe,agentPolicyName:()=>I2});b2.exports=xCe(B2);var I2="agentPolicy";function SCe(t){return{name:I2,sendRequest:async(e,r)=>(e.agent||(e.agent=t),r(e))}}o(SCe,"agentPolicy")});var dw=g((XJe,N2)=>{var uw=Object.defineProperty,RCe=Object.getOwnPropertyDescriptor,_Ce=Object.getOwnPropertyNames,vCe=Object.prototype.hasOwnProperty,PCe=o((t,e)=>{for(var r in e)uw(t,r,{get:e[r],enumerable:!0})},"__export"),DCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _Ce(e))!vCe.call(t,i)&&i!==r&&uw(t,i,{get:()=>e[i],enumerable:!(n=RCe(e,i))||n.enumerable});return t},"__copyProps"),TCe=o(t=>DCe(uw({},"__esModule",{value:!0}),t),"__toCommonJS"),Q2={};PCe(Q2,{tlsPolicy:()=>OCe,tlsPolicyName:()=>w2});N2.exports=TCe(Q2);var w2="tlsPolicy";function OCe(t){return{name:w2,sendRequest:async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e))}}o(OCe,"tlsPolicy")});var Ru=g((eVe,v2)=>{var pw=Object.defineProperty,MCe=Object.getOwnPropertyDescriptor,kCe=Object.getOwnPropertyNames,LCe=Object.prototype.hasOwnProperty,UCe=o((t,e)=>{for(var r in e)pw(t,r,{get:e[r],enumerable:!0})},"__export"),FCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of kCe(e))!LCe.call(t,i)&&i!==r&&pw(t,i,{get:()=>e[i],enumerable:!(n=MCe(e,i))||n.enumerable});return t},"__copyProps"),qCe=o(t=>FCe(pw({},"__esModule",{value:!0}),t),"__toCommonJS"),x2={};UCe(x2,{isBinaryBody:()=>HCe,isBlob:()=>zCe,isNodeReadableStream:()=>S2,isReadableStream:()=>_2,isWebReadableStream:()=>R2});v2.exports=qCe(x2);function S2(t){return!!(t&&typeof t.pipe=="function")}o(S2,"isNodeReadableStream");function R2(t){return!!(t&&typeof t.getReader=="function"&&typeof t.tee=="function")}o(R2,"isWebReadableStream");function HCe(t){return t!==void 0&&(t instanceof Uint8Array||_2(t)||typeof t=="function"||t instanceof Blob)}o(HCe,"isBinaryBody");function _2(t){return S2(t)||R2(t)}o(_2,"isReadableStream");function zCe(t){return typeof t.stream=="function"}o(zCe,"isBlob")});var M2=g((rVe,O2)=>{var hw=Object.defineProperty,jCe=Object.getOwnPropertyDescriptor,GCe=Object.getOwnPropertyNames,YCe=Object.prototype.hasOwnProperty,JCe=o((t,e)=>{for(var r in e)hw(t,r,{get:e[r],enumerable:!0})},"__export"),VCe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of GCe(e))!YCe.call(t,i)&&i!==r&&hw(t,i,{get:()=>e[i],enumerable:!(n=jCe(e,i))||n.enumerable});return t},"__copyProps"),WCe=o(t=>VCe(hw({},"__esModule",{value:!0}),t),"__toCommonJS"),T2={};JCe(T2,{concat:()=>ZCe});O2.exports=WCe(T2);var fw=require("stream"),$Ce=Ru();async function*P2(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(P2,"streamAsyncIterator");function KCe(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=P2.bind(t)),t.values||(t.values=P2.bind(t))}o(KCe,"makeAsyncIterable");function D2(t){return t instanceof ReadableStream?(KCe(t),fw.Readable.fromWeb(t)):t}o(D2,"ensureNodeStream");function XCe(t){return t instanceof Uint8Array?fw.Readable.from(Buffer.from(t)):(0,$Ce.isBlob)(t)?D2(t.stream()):D2(t)}o(XCe,"toStream");async function ZCe(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(XCe);return fw.Readable.from(async function*(){for(let r of e)for await(let n of r)yield n}())}}o(ZCe,"concat")});var gw=g((iVe,U2)=>{var mw=Object.defineProperty,eEe=Object.getOwnPropertyDescriptor,tEe=Object.getOwnPropertyNames,rEe=Object.prototype.hasOwnProperty,nEe=o((t,e)=>{for(var r in e)mw(t,r,{get:e[r],enumerable:!0})},"__export"),iEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of tEe(e))!rEe.call(t,i)&&i!==r&&mw(t,i,{get:()=>e[i],enumerable:!(n=eEe(e,i))||n.enumerable});return t},"__copyProps"),sEe=o(t=>iEe(mw({},"__esModule",{value:!0}),t),"__toCommonJS"),k2={};nEe(k2,{multipartPolicy:()=>gEe,multipartPolicyName:()=>L2});U2.exports=sEe(k2);var Gc=$o(),oEe=Ru(),aEe=pf(),cEe=M2();function lEe(){return`----AzSDKFormBoundary${(0,aEe.randomUUID)()}`}o(lEe,"generateBoundary");function AEe(t){let e="";for(let[r,n]of t)e+=`${r}: ${n}\r
`;return e}o(AEe,"encodeHeaders");function uEe(t){return t instanceof Uint8Array?t.byteLength:(0,oEe.isBlob)(t)?t.size===-1?void 0:t.size:void 0}o(uEe,"getLength");function dEe(t){let e=0;for(let r of t){let n=uEe(r);if(n===void 0)return;e+=n}return e}o(dEe,"getTotalLength");async function pEe(t,e,r){let n=[(0,Gc.stringToUint8Array)(`--${r}`,"utf-8"),...e.flatMap(s=>[(0,Gc.stringToUint8Array)(`\r
`,"utf-8"),(0,Gc.stringToUint8Array)(AEe(s.headers),"utf-8"),(0,Gc.stringToUint8Array)(`\r
`,"utf-8"),s.body,(0,Gc.stringToUint8Array)(`\r
--${r}`,"utf-8")]),(0,Gc.stringToUint8Array)(`--\r
\r
`,"utf-8")],i=dEe(n);i&&t.headers.set("Content-Length",i),t.body=await(0,cEe.concat)(n)}o(pEe,"buildRequestBody");var L2="multipartPolicy",hEe=70,fEe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function mEe(t){if(t.length>hEe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!fEe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(mEe,"assertValidBoundary");function gEe(){return{name:L2,async sendRequest(t,e){if(!t.multipartBody)return e(t);if(t.body)throw new Error("multipartBody and regular body cannot be set at the same time");let r=t.multipartBody.boundary,n=t.headers.get("Content-Type")??"multipart/mixed",i=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!i)throw new Error(`Got multipart request body, but content-type header was not multipart: ${n}`);let[,s,a]=i;if(a&&r&&a!==r)throw new Error(`Multipart boundary was specified as ${a} in the header, but got ${r} in the request body`);return r??=a,r?mEe(r):r=lEe(),t.headers.set("Content-Type",`${s}; boundary=${r}`),await pEe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(gEe,"multipartPolicy")});var j2=g((oVe,z2)=>{var yw=Object.defineProperty,yEe=Object.getOwnPropertyDescriptor,CEe=Object.getOwnPropertyNames,EEe=Object.prototype.hasOwnProperty,BEe=o((t,e)=>{for(var r in e)yw(t,r,{get:e[r],enumerable:!0})},"__export"),IEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of CEe(e))!EEe.call(t,i)&&i!==r&&yw(t,i,{get:()=>e[i],enumerable:!(n=yEe(e,i))||n.enumerable});return t},"__copyProps"),bEe=o(t=>IEe(yw({},"__esModule",{value:!0}),t),"__toCommonJS"),H2={};BEe(H2,{createPipelineFromOptions:()=>TEe});z2.exports=bEe(H2);var QEe=_Q(),wEe=dQ(),NEe=PQ(),xEe=LQ(),SEe=FQ(),REe=XQ(),_Ee=tw(),F2=xu(),vEe=cw(),PEe=Aw(),DEe=dw(),q2=gw();function TEe(t){let e=(0,wEe.createEmptyPipeline)();return F2.isNodeLike&&(t.agent&&e.addPolicy((0,PEe.agentPolicy)(t.agent)),t.tlsOptions&&e.addPolicy((0,DEe.tlsPolicy)(t.tlsOptions)),e.addPolicy((0,vEe.proxyPolicy)(t.proxyOptions)),e.addPolicy((0,SEe.decompressResponsePolicy)())),e.addPolicy((0,_Ee.formDataPolicy)(),{beforePolicies:[q2.multipartPolicyName]}),e.addPolicy((0,xEe.userAgentPolicy)(t.userAgentOptions)),e.addPolicy((0,q2.multipartPolicy)(),{afterPhase:"Deserialize"}),e.addPolicy((0,REe.defaultRetryPolicy)(t.retryOptions),{phase:"Retry"}),F2.isNodeLike&&e.addPolicy((0,NEe.redirectPolicy)(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy((0,QEe.logPolicy)(t.loggingOptions),{afterPhase:"Sign"}),e}o(TEe,"createPipelineFromOptions")});var V2=g((cVe,J2)=>{var Cw=Object.defineProperty,OEe=Object.getOwnPropertyDescriptor,MEe=Object.getOwnPropertyNames,kEe=Object.prototype.hasOwnProperty,LEe=o((t,e)=>{for(var r in e)Cw(t,r,{get:e[r],enumerable:!0})},"__export"),UEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of MEe(e))!kEe.call(t,i)&&i!==r&&Cw(t,i,{get:()=>e[i],enumerable:!(n=OEe(e,i))||n.enumerable});return t},"__copyProps"),FEe=o(t=>UEe(Cw({},"__esModule",{value:!0}),t),"__toCommonJS"),G2={};LEe(G2,{apiVersionPolicy:()=>qEe,apiVersionPolicyName:()=>Y2});J2.exports=FEe(G2);var Y2="ApiVersionPolicy";function qEe(t){return{name:Y2,sendRequest:(e,r)=>{let n=new URL(e.url);return!n.searchParams.get("api-version")&&t.apiVersion&&(e.url=`${e.url}${Array.from(n.searchParams.keys()).length>0?"&":"?"}api-version=${t.apiVersion}`),r(e)}}}o(qEe,"apiVersionPolicy")});var K2=g((AVe,$2)=>{var Ew=Object.defineProperty,HEe=Object.getOwnPropertyDescriptor,zEe=Object.getOwnPropertyNames,jEe=Object.prototype.hasOwnProperty,GEe=o((t,e)=>{for(var r in e)Ew(t,r,{get:e[r],enumerable:!0})},"__export"),YEe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zEe(e))!jEe.call(t,i)&&i!==r&&Ew(t,i,{get:()=>e[i],enumerable:!(n=HEe(e,i))||n.enumerable});return t},"__copyProps"),JEe=o(t=>YEe(Ew({},"__esModule",{value:!0}),t),"__toCommonJS"),W2={};GEe(W2,{isApiKeyCredential:()=>KEe,isBasicCredential:()=>$Ee,isBearerTokenCredential:()=>WEe,isOAuth2TokenCredential:()=>VEe});$2.exports=JEe(W2);function VEe(t){return"getOAuth2Token"in t}o(VEe,"isOAuth2TokenCredential");function WEe(t){return"getBearerToken"in t}o(WEe,"isBearerTokenCredential");function $Ee(t){return"username"in t&&"password"in t}o($Ee,"isBasicCredential");function KEe(t){return"key"in t}o(KEe,"isApiKeyCredential")});var _u=g((dVe,ez)=>{var Bw=Object.defineProperty,XEe=Object.getOwnPropertyDescriptor,ZEe=Object.getOwnPropertyNames,eBe=Object.prototype.hasOwnProperty,tBe=o((t,e)=>{for(var r in e)Bw(t,r,{get:e[r],enumerable:!0})},"__export"),rBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of ZEe(e))!eBe.call(t,i)&&i!==r&&Bw(t,i,{get:()=>e[i],enumerable:!(n=XEe(e,i))||n.enumerable});return t},"__copyProps"),nBe=o(t=>rBe(Bw({},"__esModule",{value:!0}),t),"__toCommonJS"),Z2={};tBe(Z2,{ensureSecureConnection:()=>aBe});ez.exports=nBe(Z2);var iBe=kc(),X2=!1;function sBe(t,e){if(e.allowInsecureConnection&&t.allowInsecureConnection){let r=new URL(t.url);if(r.hostname==="localhost"||r.hostname==="127.0.0.1")return!0}return!1}o(sBe,"allowInsecureConnection");function oBe(){let t="Sending token over insecure transport. Assume any token issued is compromised.";iBe.logger.warning(t),typeof process?.emitWarning=="function"&&!X2&&(X2=!0,process.emitWarning(t))}o(oBe,"emitInsecureConnectionWarning");function aBe(t,e){if(!t.url.toLowerCase().startsWith("https://"))if(sBe(t,e))oBe();else throw new Error("Authentication is not permitted for non-TLS protected (non-https) URLs when allowInsecureConnection is false.")}o(aBe,"ensureSecureConnection")});var iz=g((hVe,nz)=>{var Iw=Object.defineProperty,cBe=Object.getOwnPropertyDescriptor,lBe=Object.getOwnPropertyNames,ABe=Object.prototype.hasOwnProperty,uBe=o((t,e)=>{for(var r in e)Iw(t,r,{get:e[r],enumerable:!0})},"__export"),dBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of lBe(e))!ABe.call(t,i)&&i!==r&&Iw(t,i,{get:()=>e[i],enumerable:!(n=cBe(e,i))||n.enumerable});return t},"__copyProps"),pBe=o(t=>dBe(Iw({},"__esModule",{value:!0}),t),"__toCommonJS"),tz={};uBe(tz,{apiKeyAuthenticationPolicy:()=>fBe,apiKeyAuthenticationPolicyName:()=>rz});nz.exports=pBe(tz);var hBe=_u(),rz="apiKeyAuthenticationPolicy";function fBe(t){return{name:rz,async sendRequest(e,r){(0,hBe.ensureSecureConnection)(e,t);let n=(e.authSchemes??t.authSchemes)?.find(i=>i.kind==="apiKey");if(!n)return r(e);if(n.apiKeyLocation!=="header")throw new Error(`Unsupported API key location: ${n.apiKeyLocation}`);return e.headers.set(n.name,t.credential.key),r(e)}}}o(fBe,"apiKeyAuthenticationPolicy")});var lz=g((mVe,cz)=>{var bw=Object.defineProperty,mBe=Object.getOwnPropertyDescriptor,gBe=Object.getOwnPropertyNames,yBe=Object.prototype.hasOwnProperty,CBe=o((t,e)=>{for(var r in e)bw(t,r,{get:e[r],enumerable:!0})},"__export"),EBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of gBe(e))!yBe.call(t,i)&&i!==r&&bw(t,i,{get:()=>e[i],enumerable:!(n=mBe(e,i))||n.enumerable});return t},"__copyProps"),BBe=o(t=>EBe(bw({},"__esModule",{value:!0}),t),"__toCommonJS"),oz={};CBe(oz,{basicAuthenticationPolicy:()=>bBe,basicAuthenticationPolicyName:()=>az});cz.exports=BBe(oz);var sz=$o(),IBe=_u(),az="bearerAuthenticationPolicy";function bBe(t){return{name:az,async sendRequest(e,r){if((0,IBe.ensureSecureConnection)(e,t),!(e.authSchemes??t.authSchemes)?.find(c=>c.kind==="http"&&c.scheme==="basic"))return r(e);let{username:i,password:s}=t.credential,a=(0,sz.uint8ArrayToString)((0,sz.stringToUint8Array)(`${i}:${s}`,"utf-8"),"base64");return e.headers.set("Authorization",`Basic ${a}`),r(e)}}}o(bBe,"basicAuthenticationPolicy")});var pz=g((yVe,dz)=>{var Qw=Object.defineProperty,QBe=Object.getOwnPropertyDescriptor,wBe=Object.getOwnPropertyNames,NBe=Object.prototype.hasOwnProperty,xBe=o((t,e)=>{for(var r in e)Qw(t,r,{get:e[r],enumerable:!0})},"__export"),SBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of wBe(e))!NBe.call(t,i)&&i!==r&&Qw(t,i,{get:()=>e[i],enumerable:!(n=QBe(e,i))||n.enumerable});return t},"__copyProps"),RBe=o(t=>SBe(Qw({},"__esModule",{value:!0}),t),"__toCommonJS"),Az={};xBe(Az,{bearerAuthenticationPolicy:()=>vBe,bearerAuthenticationPolicyName:()=>uz});dz.exports=RBe(Az);var _Be=_u(),uz="bearerAuthenticationPolicy";function vBe(t){return{name:uz,async sendRequest(e,r){if((0,_Be.ensureSecureConnection)(e,t),!(e.authSchemes??t.authSchemes)?.find(s=>s.kind==="http"&&s.scheme==="bearer"))return r(e);let i=await t.credential.getBearerToken({abortSignal:e.abortSignal});return e.headers.set("Authorization",`Bearer ${i}`),r(e)}}}o(vBe,"bearerAuthenticationPolicy")});var gz=g((EVe,mz)=>{var ww=Object.defineProperty,PBe=Object.getOwnPropertyDescriptor,DBe=Object.getOwnPropertyNames,TBe=Object.prototype.hasOwnProperty,OBe=o((t,e)=>{for(var r in e)ww(t,r,{get:e[r],enumerable:!0})},"__export"),MBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of DBe(e))!TBe.call(t,i)&&i!==r&&ww(t,i,{get:()=>e[i],enumerable:!(n=PBe(e,i))||n.enumerable});return t},"__copyProps"),kBe=o(t=>MBe(ww({},"__esModule",{value:!0}),t),"__toCommonJS"),hz={};OBe(hz,{oauth2AuthenticationPolicy:()=>UBe,oauth2AuthenticationPolicyName:()=>fz});mz.exports=kBe(hz);var LBe=_u(),fz="oauth2AuthenticationPolicy";function UBe(t){return{name:fz,async sendRequest(e,r){(0,LBe.ensureSecureConnection)(e,t);let n=(e.authSchemes??t.authSchemes)?.find(s=>s.kind==="oauth2");if(!n)return r(e);let i=await t.credential.getOAuth2Token(n.flows,{abortSignal:e.abortSignal});return e.headers.set("Authorization",`Bearer ${i}`),r(e)}}}o(UBe,"oauth2AuthenticationPolicy")});var Sw=g((IVe,Cz)=>{var xw=Object.defineProperty,FBe=Object.getOwnPropertyDescriptor,qBe=Object.getOwnPropertyNames,HBe=Object.prototype.hasOwnProperty,zBe=o((t,e)=>{for(var r in e)xw(t,r,{get:e[r],enumerable:!0})},"__export"),jBe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of qBe(e))!HBe.call(t,i)&&i!==r&&xw(t,i,{get:()=>e[i],enumerable:!(n=FBe(e,i))||n.enumerable});return t},"__copyProps"),GBe=o(t=>jBe(xw({},"__esModule",{value:!0}),t),"__toCommonJS"),yz={};zBe(yz,{createDefaultPipeline:()=>ZBe,getCachedDefaultHttpsClient:()=>eIe});Cz.exports=GBe(yz);var YBe=SQ(),JBe=j2(),VBe=V2(),vf=K2(),WBe=iz(),$Be=lz(),KBe=pz(),XBe=gz(),Nw;function ZBe(t={}){let e=(0,JBe.createPipelineFromOptions)(t);e.addPolicy((0,VBe.apiVersionPolicy)(t));let{credential:r,authSchemes:n,allowInsecureConnection:i}=t;return r&&((0,vf.isApiKeyCredential)(r)?e.addPolicy((0,WBe.apiKeyAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,vf.isBasicCredential)(r)?e.addPolicy((0,$Be.basicAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,vf.isBearerTokenCredential)(r)?e.addPolicy((0,KBe.bearerAuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i})):(0,vf.isOAuth2TokenCredential)(r)&&e.addPolicy((0,XBe.oauth2AuthenticationPolicy)({authSchemes:n,credential:r,allowInsecureConnection:i}))),e}o(ZBe,"createDefaultPipeline");function eIe(){return Nw||(Nw=(0,YBe.createDefaultHttpClient)()),Nw}o(eIe,"getCachedDefaultHttpsClient")});var xz=g((QVe,Nz)=>{var Rw=Object.defineProperty,tIe=Object.getOwnPropertyDescriptor,rIe=Object.getOwnPropertyNames,nIe=Object.prototype.hasOwnProperty,iIe=o((t,e)=>{for(var r in e)Rw(t,r,{get:e[r],enumerable:!0})},"__export"),sIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of rIe(e))!nIe.call(t,i)&&i!==r&&Rw(t,i,{get:()=>e[i],enumerable:!(n=tIe(e,i))||n.enumerable});return t},"__copyProps"),oIe=o(t=>sIe(Rw({},"__esModule",{value:!0}),t),"__toCommonJS"),Iz={};iIe(Iz,{buildBodyPart:()=>wz,buildMultipartBody:()=>dIe});Nz.exports=oIe(Iz);var aIe=Mc(),cIe=Js(),Ez=$o(),bz=Ru();function Qz(t,e){if(t.headers){let r=Object.keys(t.headers).find(n=>n.toLowerCase()===e.toLowerCase());if(r)return t.headers[r]}}o(Qz,"getHeaderValue");function lIe(t){let e=Qz(t,"content-type");if(e)return e;if(t.contentType===null)return;if(t.contentType)return t.contentType;let{body:r}=t;if(r!=null)return typeof r=="string"||typeof r=="number"||typeof r=="boolean"?"text/plain; charset=UTF-8":r instanceof Blob?r.type||"application/octet-stream":(0,bz.isBinaryBody)(r)?"application/octet-stream":"application/json"}o(lIe,"getPartContentType");function Bz(t){return JSON.stringify(t)}o(Bz,"escapeDispositionField");function AIe(t){let e=Qz(t,"content-disposition");if(e)return e;if(t.dispositionType===void 0&&t.name===void 0&&t.filename===void 0)return;let n=t.dispositionType??"form-data";t.name&&(n+=`; name=${Bz(t.name)}`);let i;if(t.filename)i=t.filename;else if(typeof File<"u"&&t.body instanceof File){let s=t.body.name;s!==""&&(i=s)}return i&&(n+=`; filename=${Bz(i)}`),n}o(AIe,"getContentDisposition");function uIe(t,e){if(t===void 0)return new Uint8Array([]);if((0,bz.isBinaryBody)(t))return t;if(typeof t=="string"||typeof t=="number"||typeof t=="boolean")return(0,Ez.stringToUint8Array)(String(t),"utf-8");if(e&&/application\/(.+\+)?json(;.+)?/i.test(String(e)))return(0,Ez.stringToUint8Array)(JSON.stringify(t),"utf-8");throw new aIe.RestError(`Unsupported body/content-type combination: ${t}, ${e}`)}o(uIe,"normalizeBody");function wz(t){let e=lIe(t),r=AIe(t),n=(0,cIe.createHttpHeaders)(t.headers??{});e&&n.set("content-type",e),r&&n.set("content-disposition",r);let i=uIe(t.body,e);return{headers:n,body:i}}o(wz,"buildBodyPart");function dIe(t){return{parts:t.map(wz)}}o(dIe,"buildMultipartBody")});var vz=g((NVe,_z)=>{var Pw=Object.defineProperty,pIe=Object.getOwnPropertyDescriptor,hIe=Object.getOwnPropertyNames,fIe=Object.prototype.hasOwnProperty,mIe=o((t,e)=>{for(var r in e)Pw(t,r,{get:e[r],enumerable:!0})},"__export"),gIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of hIe(e))!fIe.call(t,i)&&i!==r&&Pw(t,i,{get:()=>e[i],enumerable:!(n=pIe(e,i))||n.enumerable});return t},"__copyProps"),yIe=o(t=>gIe(Pw({},"__esModule",{value:!0}),t),"__toCommonJS"),Sz={};mIe(Sz,{getRequestBody:()=>Rz,sendRequest:()=>bIe});_z.exports=yIe(Sz);var _w=Mc(),CIe=Js(),EIe=lQ(),BIe=Sw(),vw=Ru(),IIe=xz();async function bIe(t,e,r,n={},i){let s=i??(0,BIe.getCachedDefaultHttpsClient)(),a=NIe(t,e,n);try{let c=await r.sendRequest(s,a),l=c.headers.toJSON(),A=c.readableStreamBody??c.browserStreamBody,u=n.responseAsStream||A!==void 0?void 0:xIe(c),d=A??u;return n?.onResponse&&n.onResponse({...c,request:a,rawHeaders:l,parsedBody:u}),{request:a,headers:l,status:`${c.status}`,body:d}}catch(c){if((0,_w.isRestError)(c)&&c.response&&n.onResponse){let{response:l}=c,A=l.headers.toJSON();n?.onResponse({...l,request:a,rawHeaders:A},c)}throw c}}o(bIe,"sendRequest");function QIe(t={}){return t.contentType??t.headers?.["content-type"]??wIe(t.body)}o(QIe,"getRequestContentType");function wIe(t){if(t!==void 0){if(ArrayBuffer.isView(t))return"application/octet-stream";if((0,vw.isBlob)(t)&&t.type)return t.type;if(typeof t=="string")try{return JSON.parse(t),"application/json"}catch{return}return"application/json"}}o(wIe,"getContentType");function NIe(t,e,r={}){let n=QIe(r),{body:i,multipartBody:s}=Rz(r.body,n),a=(0,CIe.createHttpHeaders)({...r.headers?r.headers:{},accept:r.accept??r.headers?.accept??"application/json",...n&&{"content-type":n}});return(0,EIe.createPipelineRequest)({url:e,method:t,body:i,multipartBody:s,headers:a,allowInsecureConnection:r.allowInsecureConnection,abortSignal:r.abortSignal,onUploadProgress:r.onUploadProgress,onDownloadProgress:r.onDownloadProgress,timeout:r.timeout,enableBrowserStreams:!0,streamResponseStatusCodes:r.responseAsStream?new Set([Number.POSITIVE_INFINITY]):void 0})}o(NIe,"buildPipelineRequest");function Rz(t,e=""){if(t===void 0)return{body:void 0};if(typeof FormData<"u"&&t instanceof FormData)return{body:t};if((0,vw.isBlob)(t))return{body:t};if((0,vw.isReadableStream)(t)||typeof t=="function")return{body:t};if(ArrayBuffer.isView(t))return{body:t instanceof Uint8Array?t:JSON.stringify(t)};switch(e.split(";")[0]){case"application/json":return{body:JSON.stringify(t)};case"multipart/form-data":return Array.isArray(t)?{multipartBody:(0,IIe.buildMultipartBody)(t)}:{body:JSON.stringify(t)};case"text/plain":return{body:String(t)};default:return typeof t=="string"?{body:t}:{body:JSON.stringify(t)}}}o(Rz,"getRequestBody");function xIe(t){let r=(t.headers.get("content-type")??"").split(";")[0],n=t.bodyAsText??"";if(r==="text/plain")return String(n);try{return n?JSON.parse(n):void 0}catch(i){if(r==="application/json")throw SIe(t,i);return String(n)}}o(xIe,"getResponseBody");function SIe(t,e){let r=`Error "${e}" occurred while parsing the response body - ${t.bodyAsText}.`,n=e.code??_w.RestError.PARSE_ERROR;return new _w.RestError(r,{code:n,statusCode:t.status,request:t.request,response:t})}o(SIe,"createParseError")});var Mz=g((SVe,Oz)=>{var Tw=Object.defineProperty,RIe=Object.getOwnPropertyDescriptor,_Ie=Object.getOwnPropertyNames,vIe=Object.prototype.hasOwnProperty,PIe=o((t,e)=>{for(var r in e)Tw(t,r,{get:e[r],enumerable:!0})},"__export"),DIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _Ie(e))!vIe.call(t,i)&&i!==r&&Tw(t,i,{get:()=>e[i],enumerable:!(n=RIe(e,i))||n.enumerable});return t},"__copyProps"),TIe=o(t=>DIe(Tw({},"__esModule",{value:!0}),t),"__toCommonJS"),Pz={};PIe(Pz,{buildBaseUrl:()=>Dz,buildRequestUrl:()=>MIe,replaceAll:()=>Tz});Oz.exports=TIe(Pz);function OIe(t){let e=t.value;return e!==void 0&&e.toString!==void 0&&typeof e.toString=="function"}o(OIe,"isQueryParameterWithOptions");function MIe(t,e,r,n={}){if(e.startsWith("https://")||e.startsWith("http://"))return e;t=Dz(t,n),e=LIe(e,r,n);let i=kIe(`${t}/${e}`,n);return new URL(i).toString().replace(/([^:]\/)\/+/g,"$1")}o(MIe,"buildRequestUrl");function Dw(t,e,r,n){let i;r==="pipeDelimited"?i="|":r==="spaceDelimited"?i="%20":i=",";let s;Array.isArray(n)?s=n:typeof n=="object"&&n.toString===Object.prototype.toString?s=Object.entries(n).flat():s=[n];let a=s.map(c=>{if(c==null)return"";if(!c.toString||typeof c.toString!="function")throw new Error(`Query parameters must be able to be represented as string, ${t} can't`);let l=c.toISOString!==void 0?c.toISOString():c.toString();return e?l:encodeURIComponent(l)}).join(i);return`${e?t:encodeURIComponent(t)}=${a}`}o(Dw,"getQueryParamValue");function kIe(t,e={}){if(!e.queryParameters)return t;let r=new URL(t),n=e.queryParameters,i=[];for(let s of Object.keys(n)){let a=n[s];if(a==null)continue;let c=OIe(a),l=c?a.value:a,A=c?a.explode??!1:!1,u=c&&a.style?a.style:"form";if(A)if(Array.isArray(l))for(let d of l)i.push(Dw(s,e.skipUrlEncoding??!1,u,d));else if(typeof l=="object")for(let[d,f]of Object.entries(l))i.push(Dw(d,e.skipUrlEncoding??!1,u,f));else throw new Error("explode can only be set to true for objects and arrays");else i.push(Dw(s,e.skipUrlEncoding??!1,u,l))}return r.search!==""&&(r.search+="&"),r.search+=i.join("&"),r.toString()}o(kIe,"appendQueryParams");function Dz(t,e){if(!e.pathParameters)return t;let r=e.pathParameters;for(let[n,i]of Object.entries(r)){if(i==null)throw new Error(`Path parameters ${n} must not be undefined or null`);if(!i.toString||typeof i.toString!="function")throw new Error(`Path parameters must be able to be represented as string, ${n} can't`);let s=i.toISOString!==void 0?i.toISOString():String(i);e.skipUrlEncoding||(s=encodeURIComponent(i)),t=Tz(t,`{${n}}`,s)??""}return t}o(Dz,"buildBaseUrl");function LIe(t,e,r={}){for(let n of e){let i=typeof n=="object"&&(n.allowReserved??!1),s=typeof n=="object"?n.value:n;!r.skipUrlEncoding&&!i&&(s=encodeURIComponent(s)),t=t.replace(/\{[\w-]+\}/,String(s))}return t}o(LIe,"buildRoutePath");function Tz(t,e,r){return!t||!e?t:t.split(e).join(r||"")}o(Tz,"replaceAll")});var Fz=g((_Ve,Uz)=>{var Mw=Object.defineProperty,UIe=Object.getOwnPropertyDescriptor,FIe=Object.getOwnPropertyNames,qIe=Object.prototype.hasOwnProperty,HIe=o((t,e)=>{for(var r in e)Mw(t,r,{get:e[r],enumerable:!0})},"__export"),zIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of FIe(e))!qIe.call(t,i)&&i!==r&&Mw(t,i,{get:()=>e[i],enumerable:!(n=UIe(e,i))||n.enumerable});return t},"__copyProps"),jIe=o(t=>zIe(Mw({},"__esModule",{value:!0}),t),"__toCommonJS"),Lz={};HIe(Lz,{getClient:()=>JIe});Uz.exports=jIe(Lz);var GIe=Sw(),Ow=vz(),YIe=Mz(),kz=xu();function JIe(t,e={}){let r=e.pipeline??(0,GIe.createDefaultPipeline)(e);if(e.additionalPolicies?.length)for(let{policy:c,position:l}of e.additionalPolicies){let A=l==="perRetry"?"Sign":void 0;r.addPolicy(c,{afterPhase:A})}let{allowInsecureConnection:n,httpClient:i}=e,s=e.endpoint??t,a=o((c,...l)=>{let A=o(u=>(0,YIe.buildRequestUrl)(s,c,l,{allowInsecureConnection:n,...u}),"getUrl");return{get:(u={})=>Vs("GET",A(u),r,u,n,i),post:(u={})=>Vs("POST",A(u),r,u,n,i),put:(u={})=>Vs("PUT",A(u),r,u,n,i),patch:(u={})=>Vs("PATCH",A(u),r,u,n,i),delete:(u={})=>Vs("DELETE",A(u),r,u,n,i),head:(u={})=>Vs("HEAD",A(u),r,u,n,i),options:(u={})=>Vs("OPTIONS",A(u),r,u,n,i),trace:(u={})=>Vs("TRACE",A(u),r,u,n,i)}},"client");return{path:a,pathUnchecked:a,pipeline:r}}o(JIe,"getClient");function Vs(t,e,r,n,i,s){return i=n.allowInsecureConnection??i,{then:function(a,c){return(0,Ow.sendRequest)(t,e,r,{...n,allowInsecureConnection:i},s).then(a,c)},async asBrowserStream(){if(kz.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`.");return(0,Ow.sendRequest)(t,e,r,{...n,allowInsecureConnection:i,responseAsStream:!0},s)},async asNodeStream(){if(kz.isNodeLike)return(0,Ow.sendRequest)(t,e,r,{...n,allowInsecureConnection:i,responseAsStream:!0},s);throw new Error("`isNodeStream` is not supported in the browser environment. Use `asBrowserStream` to obtain the response body stream.")}}}o(Vs,"buildOperation")});var zz=g((PVe,Hz)=>{var kw=Object.defineProperty,VIe=Object.getOwnPropertyDescriptor,WIe=Object.getOwnPropertyNames,$Ie=Object.prototype.hasOwnProperty,KIe=o((t,e)=>{for(var r in e)kw(t,r,{get:e[r],enumerable:!0})},"__export"),XIe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of WIe(e))!$Ie.call(t,i)&&i!==r&&kw(t,i,{get:()=>e[i],enumerable:!(n=VIe(e,i))||n.enumerable});return t},"__copyProps"),ZIe=o(t=>XIe(kw({},"__esModule",{value:!0}),t),"__toCommonJS"),qz={};KIe(qz,{operationOptionsToRequestParameters:()=>ebe});Hz.exports=ZIe(qz);function ebe(t){return{allowInsecureConnection:t.requestOptions?.allowInsecureConnection,timeout:t.requestOptions?.timeout,skipUrlEncoding:t.requestOptions?.skipUrlEncoding,abortSignal:t.abortSignal,onUploadProgress:t.requestOptions?.onUploadProgress,onDownloadProgress:t.requestOptions?.onDownloadProgress,headers:{...t.requestOptions?.headers},onResponse:t.onResponse}}o(ebe,"operationOptionsToRequestParameters")});var Jz=g((TVe,Yz)=>{var Lw=Object.defineProperty,tbe=Object.getOwnPropertyDescriptor,rbe=Object.getOwnPropertyNames,nbe=Object.prototype.hasOwnProperty,ibe=o((t,e)=>{for(var r in e)Lw(t,r,{get:e[r],enumerable:!0})},"__export"),sbe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of rbe(e))!nbe.call(t,i)&&i!==r&&Lw(t,i,{get:()=>e[i],enumerable:!(n=tbe(e,i))||n.enumerable});return t},"__copyProps"),obe=o(t=>sbe(Lw({},"__esModule",{value:!0}),t),"__toCommonJS"),jz={};ibe(jz,{createRestError:()=>lbe});Yz.exports=obe(jz);var abe=Mc(),cbe=Js();function lbe(t,e){let r=typeof t=="string"?e:t,n=r.body?.error??r.body,i=typeof t=="string"?t:n?.message??`Unexpected status code: ${r.status}`;return new abe.RestError(i,{statusCode:Gz(r.status),code:n?.code,request:r.request,response:Abe(r)})}o(lbe,"createRestError");function Abe(t){return{headers:(0,cbe.createHttpHeaders)(t.headers),request:t.request,status:Gz(t.status)??-1}}o(Abe,"toPipelineResponse");function Gz(t){let e=Number.parseInt(t);return Number.isNaN(e)?void 0:e}o(Gz,"statusCodeToNumber")});var Yc=g((MVe,Kz)=>{var Uw=Object.defineProperty,ube=Object.getOwnPropertyDescriptor,dbe=Object.getOwnPropertyNames,pbe=Object.prototype.hasOwnProperty,hbe=o((t,e)=>{for(var r in e)Uw(t,r,{get:e[r],enumerable:!0})},"__export"),fbe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of dbe(e))!pbe.call(t,i)&&i!==r&&Uw(t,i,{get:()=>e[i],enumerable:!(n=ube(e,i))||n.enumerable});return t},"__copyProps"),mbe=o(t=>fbe(Uw({},"__esModule",{value:!0}),t),"__toCommonJS"),$z={};hbe($z,{AbortError:()=>gbe.AbortError,RestError:()=>Vz.RestError,TypeSpecRuntimeLogger:()=>Pf.TypeSpecRuntimeLogger,createClientLogger:()=>Pf.createClientLogger,createDefaultHttpClient:()=>Bbe.createDefaultHttpClient,createEmptyPipeline:()=>Ebe.createEmptyPipeline,createHttpHeaders:()=>ybe.createHttpHeaders,createPipelineRequest:()=>Cbe.createPipelineRequest,createRestError:()=>Qbe.createRestError,getClient:()=>Ibe.getClient,getLogLevel:()=>Pf.getLogLevel,isRestError:()=>Vz.isRestError,operationOptionsToRequestParameters:()=>bbe.operationOptionsToRequestParameters,setLogLevel:()=>Pf.setLogLevel,stringToUint8Array:()=>Wz.stringToUint8Array,uint8ArrayToString:()=>Wz.uint8ArrayToString});Kz.exports=mbe($z);var gbe=Bu(),Pf=bu(),ybe=Js(),Cbe=lQ(),Ebe=dQ(),Vz=Mc(),Wz=$o(),Bbe=SQ(),Ibe=Fz(),bbe=zz(),Qbe=Jz()});var qw=g((LVe,Zz)=>{var Fw=Object.defineProperty,wbe=Object.getOwnPropertyDescriptor,Nbe=Object.getOwnPropertyNames,xbe=Object.prototype.hasOwnProperty,Sbe=o((t,e)=>{for(var r in e)Fw(t,r,{get:e[r],enumerable:!0})},"__export"),Rbe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Nbe(e))!xbe.call(t,i)&&i!==r&&Fw(t,i,{get:()=>e[i],enumerable:!(n=wbe(e,i))||n.enumerable});return t},"__copyProps"),_be=o(t=>Rbe(Fw({},"__esModule",{value:!0}),t),"__toCommonJS"),Xz={};Sbe(Xz,{createEmptyPipeline:()=>Pbe});Zz.exports=_be(Xz);var vbe=Yc();function Pbe(){return(0,vbe.createEmptyPipeline)()}o(Pbe,"createEmptyPipeline")});var rj=g((FVe,tj)=>{var Hw=Object.defineProperty,Dbe=Object.getOwnPropertyDescriptor,Tbe=Object.getOwnPropertyNames,Obe=Object.prototype.hasOwnProperty,Mbe=o((t,e)=>{for(var r in e)Hw(t,r,{get:e[r],enumerable:!0})},"__export"),kbe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Tbe(e))!Obe.call(t,i)&&i!==r&&Hw(t,i,{get:()=>e[i],enumerable:!(n=Dbe(e,i))||n.enumerable});return t},"__copyProps"),Lbe=o(t=>kbe(Hw({},"__esModule",{value:!0}),t),"__toCommonJS"),ej={};Mbe(ej,{createLoggerContext:()=>Ube.createLoggerContext});tj.exports=Lbe(ej);var Ube=bu()});var Jc=g(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.AzureLogger=void 0;Zo.setLogLevel=qbe;Zo.getLogLevel=Hbe;Zo.createClientLogger=zbe;var Fbe=rj(),Df=(0,Fbe.createLoggerContext)({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});Zo.AzureLogger=Df.logger;function qbe(t){Df.setLogLevel(t)}o(qbe,"setLogLevel");function Hbe(){return Df.getLogLevel()}o(Hbe,"getLogLevel");function zbe(t){return Df.createClientLogger(t)}o(zbe,"createClientLogger")});var vu=g((jVe,ij)=>{var zw=Object.defineProperty,jbe=Object.getOwnPropertyDescriptor,Gbe=Object.getOwnPropertyNames,Ybe=Object.prototype.hasOwnProperty,Jbe=o((t,e)=>{for(var r in e)zw(t,r,{get:e[r],enumerable:!0})},"__export"),Vbe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Gbe(e))!Ybe.call(t,i)&&i!==r&&zw(t,i,{get:()=>e[i],enumerable:!(n=jbe(e,i))||n.enumerable});return t},"__copyProps"),Wbe=o(t=>Vbe(zw({},"__esModule",{value:!0}),t),"__toCommonJS"),nj={};Jbe(nj,{logger:()=>Kbe});ij.exports=Wbe(nj);var $be=Jc(),Kbe=(0,$be.createClientLogger)("core-rest-pipeline")});var aj=g((YVe,oj)=>{var jw=Object.defineProperty,Xbe=Object.getOwnPropertyDescriptor,Zbe=Object.getOwnPropertyNames,eQe=Object.prototype.hasOwnProperty,tQe=o((t,e)=>{for(var r in e)jw(t,r,{get:e[r],enumerable:!0})},"__export"),rQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Zbe(e))!eQe.call(t,i)&&i!==r&&jw(t,i,{get:()=>e[i],enumerable:!(n=Xbe(e,i))||n.enumerable});return t},"__copyProps"),nQe=o(t=>rQe(jw({},"__esModule",{value:!0}),t),"__toCommonJS"),sj={};tQe(sj,{exponentialRetryPolicy:()=>cQe,exponentialRetryPolicyName:()=>aQe});oj.exports=nQe(sj);var iQe=Ef(),sQe=Uc(),oQe=Ko(),aQe="exponentialRetryPolicy";function cQe(t={}){return(0,sQe.retryPolicy)([(0,iQe.exponentialRetryStrategy)({...t,ignoreSystemErrors:!0})],{maxRetries:t.maxRetries??oQe.DEFAULT_RETRY_POLICY_COUNT})}o(cQe,"exponentialRetryPolicy")});var uj=g((VVe,Aj)=>{var Gw=Object.defineProperty,lQe=Object.getOwnPropertyDescriptor,AQe=Object.getOwnPropertyNames,uQe=Object.prototype.hasOwnProperty,dQe=o((t,e)=>{for(var r in e)Gw(t,r,{get:e[r],enumerable:!0})},"__export"),pQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of AQe(e))!uQe.call(t,i)&&i!==r&&Gw(t,i,{get:()=>e[i],enumerable:!(n=lQe(e,i))||n.enumerable});return t},"__copyProps"),hQe=o(t=>pQe(Gw({},"__esModule",{value:!0}),t),"__toCommonJS"),cj={};dQe(cj,{systemErrorRetryPolicy:()=>yQe,systemErrorRetryPolicyName:()=>lj});Aj.exports=hQe(cj);var fQe=Ef(),mQe=Uc(),gQe=Ko(),lj="systemErrorRetryPolicy";function yQe(t={}){return{name:lj,sendRequest:(0,mQe.retryPolicy)([(0,fQe.exponentialRetryStrategy)({...t,ignoreHttpStatusCodes:!0})],{maxRetries:t.maxRetries??gQe.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}o(yQe,"systemErrorRetryPolicy")});var fj=g(($Ve,hj)=>{var Yw=Object.defineProperty,CQe=Object.getOwnPropertyDescriptor,EQe=Object.getOwnPropertyNames,BQe=Object.prototype.hasOwnProperty,IQe=o((t,e)=>{for(var r in e)Yw(t,r,{get:e[r],enumerable:!0})},"__export"),bQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of EQe(e))!BQe.call(t,i)&&i!==r&&Yw(t,i,{get:()=>e[i],enumerable:!(n=CQe(e,i))||n.enumerable});return t},"__copyProps"),QQe=o(t=>bQe(Yw({},"__esModule",{value:!0}),t),"__toCommonJS"),dj={};IQe(dj,{throttlingRetryPolicy:()=>SQe,throttlingRetryPolicyName:()=>pj});hj.exports=QQe(dj);var wQe=Cf(),NQe=Uc(),xQe=Ko(),pj="throttlingRetryPolicy";function SQe(t={}){return{name:pj,sendRequest:(0,NQe.retryPolicy)([(0,wQe.throttlingRetryStrategy)()],{maxRetries:t.maxRetries??xQe.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}o(SQe,"throttlingRetryPolicy")});var vr=g((XVe,Rj)=>{var Vw=Object.defineProperty,RQe=Object.getOwnPropertyDescriptor,_Qe=Object.getOwnPropertyNames,vQe=Object.prototype.hasOwnProperty,PQe=o((t,e)=>{for(var r in e)Vw(t,r,{get:e[r],enumerable:!0})},"__export"),DQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of _Qe(e))!vQe.call(t,i)&&i!==r&&Vw(t,i,{get:()=>e[i],enumerable:!(n=RQe(e,i))||n.enumerable});return t},"__copyProps"),TQe=o(t=>DQe(Vw({},"__esModule",{value:!0}),t),"__toCommonJS"),Sj={};PQe(Sj,{agentPolicy:()=>mj.agentPolicy,agentPolicyName:()=>mj.agentPolicyName,decompressResponsePolicy:()=>gj.decompressResponsePolicy,decompressResponsePolicyName:()=>gj.decompressResponsePolicyName,defaultRetryPolicy:()=>yj.defaultRetryPolicy,defaultRetryPolicyName:()=>yj.defaultRetryPolicyName,exponentialRetryPolicy:()=>Cj.exponentialRetryPolicy,exponentialRetryPolicyName:()=>Cj.exponentialRetryPolicyName,formDataPolicy:()=>Ij.formDataPolicy,formDataPolicyName:()=>Ij.formDataPolicyName,getDefaultProxySettings:()=>Jw.getDefaultProxySettings,logPolicy:()=>bj.logPolicy,logPolicyName:()=>bj.logPolicyName,multipartPolicy:()=>Qj.multipartPolicy,multipartPolicyName:()=>Qj.multipartPolicyName,proxyPolicy:()=>Jw.proxyPolicy,proxyPolicyName:()=>Jw.proxyPolicyName,redirectPolicy:()=>wj.redirectPolicy,redirectPolicyName:()=>wj.redirectPolicyName,retryPolicy:()=>OQe.retryPolicy,systemErrorRetryPolicy:()=>Ej.systemErrorRetryPolicy,systemErrorRetryPolicyName:()=>Ej.systemErrorRetryPolicyName,throttlingRetryPolicy:()=>Bj.throttlingRetryPolicy,throttlingRetryPolicyName:()=>Bj.throttlingRetryPolicyName,tlsPolicy:()=>Nj.tlsPolicy,tlsPolicyName:()=>Nj.tlsPolicyName,userAgentPolicy:()=>xj.userAgentPolicy,userAgentPolicyName:()=>xj.userAgentPolicyName});Rj.exports=TQe(Sj);var mj=Aw(),gj=FQ(),yj=XQ(),Cj=aj(),OQe=Uc(),Ej=uj(),Bj=fj(),Ij=tw(),bj=_Q(),Qj=gw(),Jw=cw(),wj=PQ(),Nj=dw(),xj=LQ()});var $w=g((eWe,Pj)=>{var Ww=Object.defineProperty,MQe=Object.getOwnPropertyDescriptor,kQe=Object.getOwnPropertyNames,LQe=Object.prototype.hasOwnProperty,UQe=o((t,e)=>{for(var r in e)Ww(t,r,{get:e[r],enumerable:!0})},"__export"),FQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of kQe(e))!LQe.call(t,i)&&i!==r&&Ww(t,i,{get:()=>e[i],enumerable:!(n=MQe(e,i))||n.enumerable});return t},"__copyProps"),qQe=o(t=>FQe(Ww({},"__esModule",{value:!0}),t),"__toCommonJS"),_j={};UQe(_j,{logPolicy:()=>jQe,logPolicyName:()=>zQe});Pj.exports=qQe(_j);var HQe=vu(),vj=vr(),zQe=vj.logPolicyName;function jQe(t={}){return(0,vj.logPolicy)({logger:HQe.logger.info,...t})}o(jQe,"logPolicy")});var Xw=g((rWe,Oj)=>{var Kw=Object.defineProperty,GQe=Object.getOwnPropertyDescriptor,YQe=Object.getOwnPropertyNames,JQe=Object.prototype.hasOwnProperty,VQe=o((t,e)=>{for(var r in e)Kw(t,r,{get:e[r],enumerable:!0})},"__export"),WQe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of YQe(e))!JQe.call(t,i)&&i!==r&&Kw(t,i,{get:()=>e[i],enumerable:!(n=GQe(e,i))||n.enumerable});return t},"__copyProps"),$Qe=o(t=>WQe(Kw({},"__esModule",{value:!0}),t),"__toCommonJS"),Dj={};VQe(Dj,{redirectPolicy:()=>XQe,redirectPolicyName:()=>KQe});Oj.exports=$Qe(Dj);var Tj=vr(),KQe=Tj.redirectPolicyName;function XQe(t={}){return(0,Tj.redirectPolicy)(t)}o(XQe,"redirectPolicy")});var Fj=g((iWe,Uj)=>{var ZQe=Object.create,Tf=Object.defineProperty,ewe=Object.getOwnPropertyDescriptor,twe=Object.getOwnPropertyNames,rwe=Object.getPrototypeOf,nwe=Object.prototype.hasOwnProperty,iwe=o((t,e)=>{for(var r in e)Tf(t,r,{get:e[r],enumerable:!0})},"__export"),Mj=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of twe(e))!nwe.call(t,i)&&i!==r&&Tf(t,i,{get:()=>e[i],enumerable:!(n=ewe(e,i))||n.enumerable});return t},"__copyProps"),kj=o((t,e,r)=>(r=t!=null?ZQe(rwe(t)):{},Mj(e||!t||!t.__esModule?Tf(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),swe=o(t=>Mj(Tf({},"__esModule",{value:!0}),t),"__toCommonJS"),Lj={};iwe(Lj,{getHeaderName:()=>owe,setPlatformSpecificData:()=>awe});Uj.exports=swe(Lj);var Zw=kj(require("node:os")),eN=kj(require("node:process"));function owe(){return"User-Agent"}o(owe,"getHeaderName");async function awe(t){if(eN.default&&eN.default.versions){let e=`${Zw.default.type()} ${Zw.default.release()}; ${Zw.default.arch()}`,r=eN.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}o(awe,"setPlatformSpecificData")});var Of=g((oWe,Hj)=>{var tN=Object.defineProperty,cwe=Object.getOwnPropertyDescriptor,lwe=Object.getOwnPropertyNames,Awe=Object.prototype.hasOwnProperty,uwe=o((t,e)=>{for(var r in e)tN(t,r,{get:e[r],enumerable:!0})},"__export"),dwe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of lwe(e))!Awe.call(t,i)&&i!==r&&tN(t,i,{get:()=>e[i],enumerable:!(n=cwe(e,i))||n.enumerable});return t},"__copyProps"),pwe=o(t=>dwe(tN({},"__esModule",{value:!0}),t),"__toCommonJS"),qj={};uwe(qj,{DEFAULT_RETRY_POLICY_COUNT:()=>fwe,SDK_VERSION:()=>hwe});Hj.exports=pwe(qj);var hwe="1.22.3",fwe=3});var nN=g((cWe,Gj)=>{var rN=Object.defineProperty,mwe=Object.getOwnPropertyDescriptor,gwe=Object.getOwnPropertyNames,ywe=Object.prototype.hasOwnProperty,Cwe=o((t,e)=>{for(var r in e)rN(t,r,{get:e[r],enumerable:!0})},"__export"),Ewe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of gwe(e))!ywe.call(t,i)&&i!==r&&rN(t,i,{get:()=>e[i],enumerable:!(n=mwe(e,i))||n.enumerable});return t},"__copyProps"),Bwe=o(t=>Ewe(rN({},"__esModule",{value:!0}),t),"__toCommonJS"),zj={};Cwe(zj,{getUserAgentHeaderName:()=>Qwe,getUserAgentValue:()=>wwe});Gj.exports=Bwe(zj);var jj=Fj(),Iwe=Of();function bwe(t){let e=[];for(let[r,n]of t){let i=n?`${r}/${n}`:r;e.push(i)}return e.join(" ")}o(bwe,"getUserAgentString");function Qwe(){return(0,jj.getHeaderName)()}o(Qwe,"getUserAgentHeaderName");async function wwe(t){let e=new Map;e.set("core-rest-pipeline",Iwe.SDK_VERSION),await(0,jj.setPlatformSpecificData)(e);let r=bwe(e);return t?`${t} ${r}`:r}o(wwe,"getUserAgentValue")});var sN=g((AWe,$j)=>{var iN=Object.defineProperty,Nwe=Object.getOwnPropertyDescriptor,xwe=Object.getOwnPropertyNames,Swe=Object.prototype.hasOwnProperty,Rwe=o((t,e)=>{for(var r in e)iN(t,r,{get:e[r],enumerable:!0})},"__export"),_we=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of xwe(e))!Swe.call(t,i)&&i!==r&&iN(t,i,{get:()=>e[i],enumerable:!(n=Nwe(e,i))||n.enumerable});return t},"__copyProps"),vwe=o(t=>_we(iN({},"__esModule",{value:!0}),t),"__toCommonJS"),Jj={};Rwe(Jj,{userAgentPolicy:()=>Pwe,userAgentPolicyName:()=>Wj});$j.exports=vwe(Jj);var Vj=nN(),Yj=(0,Vj.getUserAgentHeaderName)(),Wj="userAgentPolicy";function Pwe(t={}){let e=(0,Vj.getUserAgentValue)(t.userAgentPrefix);return{name:Wj,async sendRequest(r,n){return r.headers.has(Yj)||r.headers.set(Yj,await e),n(r)}}}o(Pwe,"userAgentPolicy")});var QG={};Pd(QG,{__addDisposableResource:()=>BG,__assign:()=>Mf,__asyncDelegator:()=>pG,__asyncGenerator:()=>dG,__asyncValues:()=>hG,__await:()=>Vc,__awaiter:()=>oG,__classPrivateFieldGet:()=>yG,__classPrivateFieldIn:()=>EG,__classPrivateFieldSet:()=>CG,__createBinding:()=>Lf,__decorate:()=>Zj,__disposeResources:()=>IG,__esDecorate:()=>tG,__exportStar:()=>cG,__extends:()=>Kj,__generator:()=>aG,__importDefault:()=>gG,__importStar:()=>mG,__makeTemplateObject:()=>fG,__metadata:()=>sG,__param:()=>eG,__propKey:()=>nG,__read:()=>cN,__rest:()=>Xj,__rewriteRelativeImportExtension:()=>bG,__runInitializers:()=>rG,__setFunctionName:()=>iG,__spread:()=>lG,__spreadArray:()=>uG,__spreadArrays:()=>AG,__values:()=>kf,default:()=>Owe});function Kj(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");oN(t,e);function r(){this.constructor=t}o(r,"__"),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function Xj(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function Zj(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function eG(t,e){return function(r,n){e(r,n,t)}}function tG(t,e,r,n,i,s){function a(w){if(w!==void 0&&typeof w!="function")throw new TypeError("Function expected");return w}o(a,"accept");for(var c=n.kind,l=c==="getter"?"get":c==="setter"?"set":"value",A=!e&&t?n.static?t:t.prototype:null,u=e||(A?Object.getOwnPropertyDescriptor(A,n.name):{}),d,f=!1,m=r.length-1;m>=0;m--){var C={};for(var Q in n)C[Q]=Q==="access"?{}:n[Q];for(var Q in n.access)C.access[Q]=n.access[Q];C.addInitializer=function(w){if(f)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(w||null))};var S=(0,r[m])(c==="accessor"?{get:u.get,set:u.set}:u[l],C);if(c==="accessor"){if(S===void 0)continue;if(S===null||typeof S!="object")throw new TypeError("Object expected");(d=a(S.get))&&(u.get=d),(d=a(S.set))&&(u.set=d),(d=a(S.init))&&i.unshift(d)}else(d=a(S))&&(c==="field"?i.unshift(d):u[l]=d)}A&&Object.defineProperty(A,n.name,u),f=!0}function rG(t,e,r){for(var n=arguments.length>2,i=0;i<e.length;i++)r=n?e[i].call(t,r):e[i].call(t);return n?r:void 0}function nG(t){return typeof t=="symbol"?t:"".concat(t)}function iG(t,e,r){return typeof e=="symbol"&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:r?"".concat(r," ",e):e})}function sG(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function oG(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})}function aG(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=c(0),a.throw=c(1),a.return=c(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(A){return function(u){return l([A,u])}}function l(A){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,A[0]&&(r=0)),r;)try{if(n=1,i&&(s=A[0]&2?i.return:A[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,A[1])).done)return s;switch(i=0,s&&(A=[A[0]&2,s.value]),A[0]){case 0:case 1:s=A;break;case 4:return r.label++,{value:A[1],done:!1};case 5:r.label++,i=A[1],A=[0];continue;case 7:A=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(A[0]===6||A[0]===2)){r=0;continue}if(A[0]===3&&(!s||A[1]>s[0]&&A[1]<s[3])){r.label=A[1];break}if(A[0]===6&&r.label<s[1]){r.label=s[1],s=A;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(A);break}s[2]&&r.ops.pop(),r.trys.pop();continue}A=e.call(t,r)}catch(u){A=[6,u],i=0}finally{n=s=0}if(A[0]&5)throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}}function cG(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Lf(e,t,r)}function kf(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function cN(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],a;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(c){a={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function lG(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(cN(arguments[e]));return t}function AG(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var n=Array(t),i=0,e=0;e<r;e++)for(var s=arguments[e],a=0,c=s.length;a<c;a++,i++)n[i]=s[a];return n}function uG(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n<i;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return t.concat(s||Array.prototype.slice.call(e))}function Vc(t){return this instanceof Vc?(this.v=t,this):new Vc(t)}function dG(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,s=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(m){return function(C){return Promise.resolve(C).then(m,d)}}function c(m,C){n[m]&&(i[m]=function(Q){return new Promise(function(S,w){s.push([m,Q,S,w])>1||l(m,Q)})},C&&(i[m]=C(i[m])))}function l(m,C){try{A(n[m](C))}catch(Q){f(s[0][3],Q)}}function A(m){m.value instanceof Vc?Promise.resolve(m.value.v).then(u,d):f(s[0][2],m)}function u(m){l("next",m)}function d(m){l("throw",m)}function f(m,C){m(C),s.shift(),s.length&&l(s[0][0],s[0][1])}}function pG(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(a){return(r=!r)?{value:Vc(t[i](a)),done:!1}:s?s(a):a}:s}}function hG(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof kf=="function"?kf(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}}function fG(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function mG(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=aN(t),n=0;n<r.length;n++)r[n]!=="default"&&Lf(e,t,r[n]);return Dwe(e,t),e}function gG(t){return t&&t.__esModule?t:{default:t}}function yG(t,e,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(t):n?n.value:e.get(t)}function CG(t,e,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(t,r):i?i.value=r:e.set(t,r),r}function EG(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}function BG(t,e,r){if(e!=null){if(typeof e!="object"&&typeof e!="function")throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=e[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=e[Symbol.dispose],r&&(i=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");i&&(n=o(function(){try{i.call(this)}catch(s){return Promise.reject(s)}},"dispose")),t.stack.push({value:e,dispose:n,async:r})}else r&&t.stack.push({async:!0});return e}function IG(t){function e(s){t.error=t.hasError?new Twe(s,t.error,"An error was suppressed during disposal."):s,t.hasError=!0}o(e,"fail");var r,n=0;function i(){for(;r=t.stack.pop();)try{if(!r.async&&n===1)return n=0,t.stack.push(r),Promise.resolve().then(i);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(s).then(i,function(a){return e(a),i()})}else n|=1}catch(a){e(a)}if(n===1)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}return o(i,"next"),i()}function bG(t,e){return typeof t=="string"&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,s,a){return n?e?".jsx":".js":i&&(!s||!a)?r:i+s+"."+a.toLowerCase()+"js"}):t}var oN,Mf,Lf,Dwe,aN,Twe,Owe,wG=vd(()=>{oN=o(function(t,e){return oN=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},oN(t,e)},"extendStatics");o(Kj,"__extends");Mf=o(function(){return Mf=Object.assign||o(function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},"__assign"),Mf.apply(this,arguments)},"__assign");o(Xj,"__rest");o(Zj,"__decorate");o(eG,"__param");o(tG,"__esDecorate");o(rG,"__runInitializers");o(nG,"__propKey");o(iG,"__setFunctionName");o(sG,"__metadata");o(oG,"__awaiter");o(aG,"__generator");Lf=Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]};o(cG,"__exportStar");o(kf,"__values");o(cN,"__read");o(lG,"__spread");o(AG,"__spreadArrays");o(uG,"__spreadArray");o(Vc,"__await");o(dG,"__asyncGenerator");o(pG,"__asyncDelegator");o(hG,"__asyncValues");o(fG,"__makeTemplateObject");Dwe=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},aN=o(function(t){return aN=Object.getOwnPropertyNames||function(e){var r=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[r.length]=n);return r},aN(t)},"ownKeys");o(mG,"__importStar");o(gG,"__importDefault");o(yG,"__classPrivateFieldGet");o(CG,"__classPrivateFieldSet");o(EG,"__classPrivateFieldIn");o(BG,"__addDisposableResource");Twe=typeof SuppressedError=="function"?SuppressedError:function(t,e,r){var n=new Error(r);return n.name="SuppressedError",n.error=t,n.suppressed=e,n};o(IG,"__disposeResources");o(bG,"__rewriteRelativeImportExtension");Owe={__extends:Kj,__assign:Mf,__rest:Xj,__decorate:Zj,__param:eG,__esDecorate:tG,__runInitializers:rG,__propKey:nG,__setFunctionName:iG,__metadata:sG,__awaiter:oG,__generator:aG,__createBinding:Lf,__exportStar:cG,__values:kf,__read:cN,__spread:lG,__spreadArrays:AG,__spreadArray:uG,__await:Vc,__asyncGenerator:dG,__asyncDelegator:pG,__asyncValues:hG,__makeTemplateObject:fG,__importStar:mG,__importDefault:gG,__classPrivateFieldGet:yG,__classPrivateFieldSet:CG,__classPrivateFieldIn:EG,__addDisposableResource:BG,__disposeResources:IG,__rewriteRelativeImportExtension:bG}});var RG=g((pWe,SG)=>{var lN=Object.defineProperty,Mwe=Object.getOwnPropertyDescriptor,kwe=Object.getOwnPropertyNames,Lwe=Object.prototype.hasOwnProperty,Uwe=o((t,e)=>{for(var r in e)lN(t,r,{get:e[r],enumerable:!0})},"__export"),Fwe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of kwe(e))!Lwe.call(t,i)&&i!==r&&lN(t,i,{get:()=>e[i],enumerable:!(n=Mwe(e,i))||n.enumerable});return t},"__copyProps"),qwe=o(t=>Fwe(lN({},"__esModule",{value:!0}),t),"__toCommonJS"),NG={};Uwe(NG,{computeSha256Hash:()=>zwe,computeSha256Hmac:()=>Hwe});SG.exports=qwe(NG);var xG=require("node:crypto");async function Hwe(t,e,r){let n=Buffer.from(t,"base64");return(0,xG.createHmac)("sha256",n).update(e).digest(r)}o(Hwe,"computeSha256Hmac");async function zwe(t,e){return(0,xG.createHash)("sha256").update(t).digest(e)}o(zwe,"computeSha256Hash")});var Pu=g((fWe,DG)=>{var AN=Object.defineProperty,jwe=Object.getOwnPropertyDescriptor,Gwe=Object.getOwnPropertyNames,Ywe=Object.prototype.hasOwnProperty,Jwe=o((t,e)=>{for(var r in e)AN(t,r,{get:e[r],enumerable:!0})},"__export"),Vwe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Gwe(e))!Ywe.call(t,i)&&i!==r&&AN(t,i,{get:()=>e[i],enumerable:!(n=jwe(e,i))||n.enumerable});return t},"__copyProps"),Wwe=o(t=>Vwe(AN({},"__esModule",{value:!0}),t),"__toCommonJS"),PG={};Jwe(PG,{Sanitizer:()=>tNe.Sanitizer,calculateRetryDelay:()=>$we.calculateRetryDelay,computeSha256Hash:()=>_G.computeSha256Hash,computeSha256Hmac:()=>_G.computeSha256Hmac,getRandomIntegerInclusive:()=>Kwe.getRandomIntegerInclusive,isBrowser:()=>ea.isBrowser,isBun:()=>ea.isBun,isDeno:()=>ea.isDeno,isError:()=>Zwe.isError,isNodeLike:()=>ea.isNodeLike,isNodeRuntime:()=>ea.isNodeRuntime,isObject:()=>Xwe.isObject,isReactNative:()=>ea.isReactNative,isWebWorker:()=>ea.isWebWorker,randomUUID:()=>eNe.randomUUID,stringToUint8Array:()=>vG.stringToUint8Array,uint8ArrayToString:()=>vG.uint8ArrayToString});DG.exports=Wwe(PG);var $we=jQ(),Kwe=HQ(),Xwe=hf(),Zwe=fQ(),_G=RG(),eNe=pf(),ea=xu(),vG=$o(),tNe=Qu()});var TG=g(uN=>{"use strict";Object.defineProperty(uN,"__esModule",{value:!0});uN.cancelablePromiseRace=rNe;async function rNe(t,e){let r=new AbortController;function n(){r.abort()}o(n,"abortHandler"),e?.abortSignal?.addEventListener("abort",n);try{return await Promise.race(t.map(i=>i({abortSignal:r.signal})))}finally{r.abort(),e?.abortSignal?.removeEventListener("abort",n)}}o(rNe,"cancelablePromiseRace")});var OG=g(Uf=>{"use strict";Object.defineProperty(Uf,"__esModule",{value:!0});Uf.AbortError=void 0;var dN=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};Uf.AbortError=dN});var MG=g(Ff=>{"use strict";Object.defineProperty(Ff,"__esModule",{value:!0});Ff.AbortError=void 0;var nNe=OG();Object.defineProperty(Ff,"AbortError",{enumerable:!0,get:function(){return nNe.AbortError}})});var hN=g(pN=>{"use strict";Object.defineProperty(pN,"__esModule",{value:!0});pN.createAbortablePromise=sNe;var iNe=MG();function sNe(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,a)=>{function c(){a(new iNe.AbortError(i??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){n?.removeEventListener("abort",A)}o(l,"removeListeners");function A(){r?.(),l(),c()}if(o(A,"onAbort"),n?.aborted)return c();try{t(u=>{l(),s(u)},u=>{l(),a(u)})}catch(u){a(u)}n?.addEventListener("abort",A)})}o(sNe,"createAbortablePromise")});var kG=g(qf=>{"use strict";Object.defineProperty(qf,"__esModule",{value:!0});qf.delay=lNe;qf.calculateRetryDelay=ANe;var oNe=hN(),aNe=Pu(),cNe="The delay was aborted.";function lNe(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return(0,oNe.createAbortablePromise)(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:n,abortErrorMsg:i??cNe})}o(lNe,"delay");function ANe(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+(0,aNe.getRandomIntegerInclusive)(0,n/2)}}o(ANe,"calculateRetryDelay")});var LG=g(fN=>{"use strict";Object.defineProperty(fN,"__esModule",{value:!0});fN.getErrorMessage=dNe;var uNe=Pu();function dNe(t){if((0,uNe.isError)(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(dNe,"getErrorMessage")});var FG=g(Du=>{"use strict";Object.defineProperty(Du,"__esModule",{value:!0});Du.isDefined=mN;Du.isObjectWithProperties=pNe;Du.objectHasProperty=UG;function mN(t){return typeof t<"u"&&t!==null}o(mN,"isDefined");function pNe(t,e){if(!mN(t)||typeof t!="object")return!1;for(let r of e)if(!UG(t,r))return!1;return!0}o(pNe,"isObjectWithProperties");function UG(t,e){return mN(t)&&typeof t=="object"&&e in t}o(UG,"objectHasProperty")});var pt=g(ge=>{"use strict";Object.defineProperty(ge,"__esModule",{value:!0});ge.isWebWorker=ge.isReactNative=ge.isNodeRuntime=ge.isNodeLike=ge.isNode=ge.isDeno=ge.isBun=ge.isBrowser=ge.objectHasProperty=ge.isObjectWithProperties=ge.isDefined=ge.getErrorMessage=ge.delay=ge.createAbortablePromise=ge.cancelablePromiseRace=void 0;ge.calculateRetryDelay=CNe;ge.computeSha256Hash=ENe;ge.computeSha256Hmac=BNe;ge.getRandomIntegerInclusive=INe;ge.isError=bNe;ge.isObject=QNe;ge.randomUUID=wNe;ge.uint8ArrayToString=NNe;ge.stringToUint8Array=xNe;var hNe=(wG(),Zt(QG)),Xt=hNe.__importStar(Pu()),fNe=TG();Object.defineProperty(ge,"cancelablePromiseRace",{enumerable:!0,get:function(){return fNe.cancelablePromiseRace}});var mNe=hN();Object.defineProperty(ge,"createAbortablePromise",{enumerable:!0,get:function(){return mNe.createAbortablePromise}});var gNe=kG();Object.defineProperty(ge,"delay",{enumerable:!0,get:function(){return gNe.delay}});var yNe=LG();Object.defineProperty(ge,"getErrorMessage",{enumerable:!0,get:function(){return yNe.getErrorMessage}});var gN=FG();Object.defineProperty(ge,"isDefined",{enumerable:!0,get:function(){return gN.isDefined}});Object.defineProperty(ge,"isObjectWithProperties",{enumerable:!0,get:function(){return gN.isObjectWithProperties}});Object.defineProperty(ge,"objectHasProperty",{enumerable:!0,get:function(){return gN.objectHasProperty}});function CNe(t,e){return Xt.calculateRetryDelay(t,e)}o(CNe,"calculateRetryDelay");function ENe(t,e){return Xt.computeSha256Hash(t,e)}o(ENe,"computeSha256Hash");function BNe(t,e,r){return Xt.computeSha256Hmac(t,e,r)}o(BNe,"computeSha256Hmac");function INe(t,e){return Xt.getRandomIntegerInclusive(t,e)}o(INe,"getRandomIntegerInclusive");function bNe(t){return Xt.isError(t)}o(bNe,"isError");function QNe(t){return Xt.isObject(t)}o(QNe,"isObject");function wNe(){return Xt.randomUUID()}o(wNe,"randomUUID");ge.isBrowser=Xt.isBrowser;ge.isBun=Xt.isBun;ge.isDeno=Xt.isDeno;ge.isNode=Xt.isNodeLike;ge.isNodeLike=Xt.isNodeLike;ge.isNodeRuntime=Xt.isNodeRuntime;ge.isReactNative=Xt.isReactNative;ge.isWebWorker=Xt.isWebWorker;function NNe(t,e){return Xt.uint8ArrayToString(t,e)}o(NNe,"uint8ArrayToString");function xNe(t,e){return Xt.stringToUint8Array(t,e)}o(xNe,"stringToUint8Array")});var CN=g((PWe,GG)=>{var yN=Object.defineProperty,SNe=Object.getOwnPropertyDescriptor,RNe=Object.getOwnPropertyNames,_Ne=Object.prototype.hasOwnProperty,vNe=o((t,e)=>{for(var r in e)yN(t,r,{get:e[r],enumerable:!0})},"__export"),PNe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of RNe(e))!_Ne.call(t,i)&&i!==r&&yN(t,i,{get:()=>e[i],enumerable:!(n=SNe(e,i))||n.enumerable});return t},"__copyProps"),DNe=o(t=>PNe(yN({},"__esModule",{value:!0}),t),"__toCommonJS"),HG={};vNe(HG,{createFile:()=>LNe,createFileFromStream:()=>kNe,getRawContent:()=>MNe,hasRawContent:()=>jG});GG.exports=DNe(HG);var TNe=pt();function ONe(t){return!!(t&&typeof t.pipe=="function")}o(ONe,"isNodeReadableStream");var zG={arrayBuffer:()=>{throw new Error("Not implemented")},bytes:()=>{throw new Error("Not implemented")},slice:()=>{throw new Error("Not implemented")},text:()=>{throw new Error("Not implemented")}},Hf=Symbol("rawContent");function jG(t){return typeof t[Hf]=="function"}o(jG,"hasRawContent");function MNe(t){return jG(t)?t[Hf]():t}o(MNe,"getRawContent");function kNe(t,e,r={}){return{...zG,type:r.type??"",lastModified:r.lastModified??new Date().getTime(),webkitRelativePath:r.webkitRelativePath??"",size:r.size??-1,name:e,stream:()=>{let n=t();if(ONe(n))throw new Error("Not supported: a Node stream was provided as input to createFileFromStream.");return n},[Hf]:t}}o(kNe,"createFileFromStream");function LNe(t,e,r={}){return TNe.isNodeLike?{...zG,type:r.type??"",lastModified:r.lastModified??new Date().getTime(),webkitRelativePath:r.webkitRelativePath??"",size:t.byteLength,name:e,arrayBuffer:async()=>t.buffer,stream:()=>new Blob([qG(t)]).stream(),[Hf]:()=>t}:new File([qG(t)],e,r)}o(LNe,"createFile");function qG(t){return"resize"in t.buffer?t:t.map(e=>e)}o(qG,"toArrayBuffer")});var BN=g((TWe,$G)=>{var EN=Object.defineProperty,UNe=Object.getOwnPropertyDescriptor,FNe=Object.getOwnPropertyNames,qNe=Object.prototype.hasOwnProperty,HNe=o((t,e)=>{for(var r in e)EN(t,r,{get:e[r],enumerable:!0})},"__export"),zNe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of FNe(e))!qNe.call(t,i)&&i!==r&&EN(t,i,{get:()=>e[i],enumerable:!(n=UNe(e,i))||n.enumerable});return t},"__copyProps"),jNe=o(t=>zNe(EN({},"__esModule",{value:!0}),t),"__toCommonJS"),JG={};HNe(JG,{multipartPolicy:()=>GNe,multipartPolicyName:()=>WG});$G.exports=jNe(JG);var VG=vr(),YG=CN(),WG=VG.multipartPolicyName;function GNe(){let t=(0,VG.multipartPolicy)();return{name:WG,sendRequest:async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)(0,YG.hasRawContent)(n.body)&&(n.body=(0,YG.getRawContent)(n.body));return t.sendRequest(e,r)}}}o(GNe,"multipartPolicy")});var bN=g((MWe,ZG)=>{var IN=Object.defineProperty,YNe=Object.getOwnPropertyDescriptor,JNe=Object.getOwnPropertyNames,VNe=Object.prototype.hasOwnProperty,WNe=o((t,e)=>{for(var r in e)IN(t,r,{get:e[r],enumerable:!0})},"__export"),$Ne=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of JNe(e))!VNe.call(t,i)&&i!==r&&IN(t,i,{get:()=>e[i],enumerable:!(n=YNe(e,i))||n.enumerable});return t},"__copyProps"),KNe=o(t=>$Ne(IN({},"__esModule",{value:!0}),t),"__toCommonJS"),KG={};WNe(KG,{decompressResponsePolicy:()=>ZNe,decompressResponsePolicyName:()=>XNe});ZG.exports=KNe(KG);var XG=vr(),XNe=XG.decompressResponsePolicyName;function ZNe(){return(0,XG.decompressResponsePolicy)()}o(ZNe,"decompressResponsePolicy")});var wN=g((LWe,rY)=>{var QN=Object.defineProperty,e0e=Object.getOwnPropertyDescriptor,t0e=Object.getOwnPropertyNames,r0e=Object.prototype.hasOwnProperty,n0e=o((t,e)=>{for(var r in e)QN(t,r,{get:e[r],enumerable:!0})},"__export"),i0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of t0e(e))!r0e.call(t,i)&&i!==r&&QN(t,i,{get:()=>e[i],enumerable:!(n=e0e(e,i))||n.enumerable});return t},"__copyProps"),s0e=o(t=>i0e(QN({},"__esModule",{value:!0}),t),"__toCommonJS"),eY={};n0e(eY,{defaultRetryPolicy:()=>a0e,defaultRetryPolicyName:()=>o0e});rY.exports=s0e(eY);var tY=vr(),o0e=tY.defaultRetryPolicyName;function a0e(t={}){return(0,tY.defaultRetryPolicy)(t)}o(a0e,"defaultRetryPolicy")});var xN=g((FWe,sY)=>{var NN=Object.defineProperty,c0e=Object.getOwnPropertyDescriptor,l0e=Object.getOwnPropertyNames,A0e=Object.prototype.hasOwnProperty,u0e=o((t,e)=>{for(var r in e)NN(t,r,{get:e[r],enumerable:!0})},"__export"),d0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of l0e(e))!A0e.call(t,i)&&i!==r&&NN(t,i,{get:()=>e[i],enumerable:!(n=c0e(e,i))||n.enumerable});return t},"__copyProps"),p0e=o(t=>d0e(NN({},"__esModule",{value:!0}),t),"__toCommonJS"),nY={};u0e(nY,{formDataPolicy:()=>f0e,formDataPolicyName:()=>h0e});sY.exports=p0e(nY);var iY=vr(),h0e=iY.formDataPolicyName;function f0e(){return(0,iY.formDataPolicy)()}o(f0e,"formDataPolicy")});var _N=g((HWe,aY)=>{var SN=Object.defineProperty,m0e=Object.getOwnPropertyDescriptor,g0e=Object.getOwnPropertyNames,y0e=Object.prototype.hasOwnProperty,C0e=o((t,e)=>{for(var r in e)SN(t,r,{get:e[r],enumerable:!0})},"__export"),E0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of g0e(e))!y0e.call(t,i)&&i!==r&&SN(t,i,{get:()=>e[i],enumerable:!(n=m0e(e,i))||n.enumerable});return t},"__copyProps"),B0e=o(t=>E0e(SN({},"__esModule",{value:!0}),t),"__toCommonJS"),oY={};C0e(oY,{getDefaultProxySettings:()=>b0e,proxyPolicy:()=>Q0e,proxyPolicyName:()=>I0e});aY.exports=B0e(oY);var RN=vr(),I0e=RN.proxyPolicyName;function b0e(t){return(0,RN.getDefaultProxySettings)(t)}o(b0e,"getDefaultProxySettings");function Q0e(t,e){return(0,RN.proxyPolicy)(t,e)}o(Q0e,"proxyPolicy")});var PN=g((jWe,AY)=>{var vN=Object.defineProperty,w0e=Object.getOwnPropertyDescriptor,N0e=Object.getOwnPropertyNames,x0e=Object.prototype.hasOwnProperty,S0e=o((t,e)=>{for(var r in e)vN(t,r,{get:e[r],enumerable:!0})},"__export"),R0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of N0e(e))!x0e.call(t,i)&&i!==r&&vN(t,i,{get:()=>e[i],enumerable:!(n=w0e(e,i))||n.enumerable});return t},"__copyProps"),_0e=o(t=>R0e(vN({},"__esModule",{value:!0}),t),"__toCommonJS"),cY={};S0e(cY,{setClientRequestIdPolicy:()=>v0e,setClientRequestIdPolicyName:()=>lY});AY.exports=_0e(cY);var lY="setClientRequestIdPolicy";function v0e(t="x-ms-client-request-id"){return{name:lY,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(v0e,"setClientRequestIdPolicy")});var TN=g((YWe,pY)=>{var DN=Object.defineProperty,P0e=Object.getOwnPropertyDescriptor,D0e=Object.getOwnPropertyNames,T0e=Object.prototype.hasOwnProperty,O0e=o((t,e)=>{for(var r in e)DN(t,r,{get:e[r],enumerable:!0})},"__export"),M0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of D0e(e))!T0e.call(t,i)&&i!==r&&DN(t,i,{get:()=>e[i],enumerable:!(n=P0e(e,i))||n.enumerable});return t},"__copyProps"),k0e=o(t=>M0e(DN({},"__esModule",{value:!0}),t),"__toCommonJS"),uY={};O0e(uY,{agentPolicy:()=>U0e,agentPolicyName:()=>L0e});pY.exports=k0e(uY);var dY=vr(),L0e=dY.agentPolicyName;function U0e(t){return(0,dY.agentPolicy)(t)}o(U0e,"agentPolicy")});var MN=g((VWe,mY)=>{var ON=Object.defineProperty,F0e=Object.getOwnPropertyDescriptor,q0e=Object.getOwnPropertyNames,H0e=Object.prototype.hasOwnProperty,z0e=o((t,e)=>{for(var r in e)ON(t,r,{get:e[r],enumerable:!0})},"__export"),j0e=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of q0e(e))!H0e.call(t,i)&&i!==r&&ON(t,i,{get:()=>e[i],enumerable:!(n=F0e(e,i))||n.enumerable});return t},"__copyProps"),G0e=o(t=>j0e(ON({},"__esModule",{value:!0}),t),"__toCommonJS"),hY={};z0e(hY,{tlsPolicy:()=>J0e,tlsPolicyName:()=>Y0e});mY.exports=G0e(hY);var fY=vr(),Y0e=fY.tlsPolicyName;function J0e(t){return(0,fY.tlsPolicy)(t)}o(J0e,"tlsPolicy")});var kN=g(ps=>{"use strict";Object.defineProperty(ps,"__esModule",{value:!0});ps.TracingContextImpl=ps.knownContextKeys=void 0;ps.createTracingContext=V0e;ps.knownContextKeys={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function V0e(t={}){let e=new zf(t.parentContext);return t.span&&(e=e.setValue(ps.knownContextKeys.span,t.span)),t.namespace&&(e=e.setValue(ps.knownContextKeys.namespace,t.namespace)),e}o(V0e,"createTracingContext");var zf=class t{static{o(this,"TracingContextImpl")}_contextMap;constructor(e){this._contextMap=e instanceof t?new Map(e._contextMap):new Map}setValue(e,r){let n=new t(this);return n._contextMap.set(e,r),n}getValue(e){return this._contextMap.get(e)}deleteValue(e){let r=new t(this);return r._contextMap.delete(e),r}};ps.TracingContextImpl=zf});var gY=g(jf=>{"use strict";Object.defineProperty(jf,"__esModule",{value:!0});jf.state=void 0;jf.state={instrumenterImplementation:void 0}});var LN=g(Wc=>{"use strict";Object.defineProperty(Wc,"__esModule",{value:!0});Wc.createDefaultTracingSpan=yY;Wc.createDefaultInstrumenter=CY;Wc.useInstrumenter=$0e;Wc.getInstrumenter=K0e;var W0e=kN(),Gf=gY();function yY(){return{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}o(yY,"createDefaultTracingSpan");function CY(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(t,e)=>({span:yY(),tracingContext:(0,W0e.createTracingContext)({parentContext:e.tracingContext})}),withContext(t,e,...r){return e(...r)}}}o(CY,"createDefaultInstrumenter");function $0e(t){Gf.state.instrumenterImplementation=t}o($0e,"useInstrumenter");function K0e(){return Gf.state.instrumenterImplementation||(Gf.state.instrumenterImplementation=CY()),Gf.state.instrumenterImplementation}o(K0e,"getInstrumenter")});var EY=g(FN=>{"use strict";Object.defineProperty(FN,"__esModule",{value:!0});FN.createTracingClient=X0e;var Yf=LN(),UN=kN();function X0e(t){let{namespace:e,packageName:r,packageVersion:n}=t;function i(A,u,d){let f=(0,Yf.getInstrumenter)().startSpan(A,{...d,packageName:r,packageVersion:n,tracingContext:u?.tracingOptions?.tracingContext}),m=f.tracingContext,C=f.span;m.getValue(UN.knownContextKeys.namespace)||(m=m.setValue(UN.knownContextKeys.namespace,e)),C.setAttribute("az.namespace",m.getValue(UN.knownContextKeys.namespace));let Q=Object.assign({},u,{tracingOptions:{...u?.tracingOptions,tracingContext:m}});return{span:C,updatedOptions:Q}}o(i,"startSpan");async function s(A,u,d,f){let{span:m,updatedOptions:C}=i(A,u,f);try{let Q=await a(C.tracingOptions.tracingContext,()=>Promise.resolve(d(C,m)));return m.setStatus({status:"success"}),Q}catch(Q){throw m.setStatus({status:"error",error:Q}),Q}finally{m.end()}}o(s,"withSpan");function a(A,u,...d){return(0,Yf.getInstrumenter)().withContext(A,u,...d)}o(a,"withContext");function c(A){return(0,Yf.getInstrumenter)().parseTraceparentHeader(A)}o(c,"parseTraceparentHeader");function l(A){return(0,Yf.getInstrumenter)().createRequestHeaders(A)}return o(l,"createRequestHeaders"),{startSpan:i,withSpan:s,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o(X0e,"createTracingClient")});var qN=g($c=>{"use strict";Object.defineProperty($c,"__esModule",{value:!0});$c.createTracingClient=$c.useInstrumenter=void 0;var Z0e=LN();Object.defineProperty($c,"useInstrumenter",{enumerable:!0,get:function(){return Z0e.useInstrumenter}});var exe=EY();Object.defineProperty($c,"createTracingClient",{enumerable:!0,get:function(){return exe.createTracingClient}})});var Jf=g((i$e,bY)=>{var HN=Object.defineProperty,txe=Object.getOwnPropertyDescriptor,rxe=Object.getOwnPropertyNames,nxe=Object.prototype.hasOwnProperty,ixe=o((t,e)=>{for(var r in e)HN(t,r,{get:e[r],enumerable:!0})},"__export"),sxe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of rxe(e))!nxe.call(t,i)&&i!==r&&HN(t,i,{get:()=>e[i],enumerable:!(n=txe(e,i))||n.enumerable});return t},"__copyProps"),oxe=o(t=>sxe(HN({},"__esModule",{value:!0}),t),"__toCommonJS"),BY={};ixe(BY,{RestError:()=>axe,isRestError:()=>cxe});bY.exports=oxe(BY);var IY=Yc(),axe=IY.RestError;function cxe(t){return(0,IY.isRestError)(t)}o(cxe,"isRestError")});var jN=g((o$e,NY)=>{var zN=Object.defineProperty,lxe=Object.getOwnPropertyDescriptor,Axe=Object.getOwnPropertyNames,uxe=Object.prototype.hasOwnProperty,dxe=o((t,e)=>{for(var r in e)zN(t,r,{get:e[r],enumerable:!0})},"__export"),pxe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Axe(e))!uxe.call(t,i)&&i!==r&&zN(t,i,{get:()=>e[i],enumerable:!(n=lxe(e,i))||n.enumerable});return t},"__copyProps"),hxe=o(t=>pxe(zN({},"__esModule",{value:!0}),t),"__toCommonJS"),QY={};dxe(QY,{tracingPolicy:()=>Exe,tracingPolicyName:()=>wY});NY.exports=hxe(QY);var fxe=qN(),mxe=Of(),gxe=nN(),Vf=vu(),Tu=pt(),yxe=Jf(),Cxe=Pu(),wY="tracingPolicy";function Exe(t={}){let e=(0,gxe.getUserAgentValue)(t.userAgentPrefix),r=new Cxe.Sanitizer({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),n=Bxe();return{name:wY,async sendRequest(i,s){if(!n)return s(i);let a=await e,c={"http.url":r.sanitizeUrl(i.url),"http.method":i.method,"http.user_agent":a,requestId:i.requestId};a&&(c["http.user_agent"]=a);let{span:l,tracingContext:A}=Ixe(n,i,c)??{};if(!l||!A)return s(i);try{let u=await n.withContext(A,s,i);return Qxe(l,u),u}catch(u){throw bxe(l,u),u}}}}o(Exe,"tracingPolicy");function Bxe(){try{return(0,fxe.createTracingClient)({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:mxe.SDK_VERSION})}catch(t){Vf.logger.warning(`Error when creating the TracingClient: ${(0,Tu.getErrorMessage)(t)}`);return}}o(Bxe,"tryCreateTracingClient");function Ixe(t,e,r){try{let{span:n,updatedOptions:i}=t.startSpan(`HTTP ${e.method}`,{tracingOptions:e.tracingOptions},{spanKind:"client",spanAttributes:r});if(!n.isRecording()){n.end();return}let s=t.createRequestHeaders(i.tracingOptions.tracingContext);for(let[a,c]of Object.entries(s))e.headers.set(a,c);return{span:n,tracingContext:i.tracingOptions.tracingContext}}catch(n){Vf.logger.warning(`Skipping creating a tracing span due to an error: ${(0,Tu.getErrorMessage)(n)}`);return}}o(Ixe,"tryCreateSpan");function bxe(t,e){try{t.setStatus({status:"error",error:(0,Tu.isError)(e)?e:void 0}),(0,yxe.isRestError)(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){Vf.logger.warning(`Skipping tracing span processing due to an error: ${(0,Tu.getErrorMessage)(r)}`)}}o(bxe,"tryProcessError");function Qxe(t,e){try{t.setAttribute("http.status_code",e.status);let r=e.headers.get("x-ms-request-id");r&&t.setAttribute("serviceRequestId",r),e.status>=400&&t.setStatus({status:"error"}),t.end()}catch(r){Vf.logger.warning(`Skipping tracing span processing due to an error: ${(0,Tu.getErrorMessage)(r)}`)}}o(Qxe,"tryProcessResponse")});var YN=g((c$e,SY)=>{var GN=Object.defineProperty,wxe=Object.getOwnPropertyDescriptor,Nxe=Object.getOwnPropertyNames,xxe=Object.prototype.hasOwnProperty,Sxe=o((t,e)=>{for(var r in e)GN(t,r,{get:e[r],enumerable:!0})},"__export"),Rxe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Nxe(e))!xxe.call(t,i)&&i!==r&&GN(t,i,{get:()=>e[i],enumerable:!(n=wxe(e,i))||n.enumerable});return t},"__copyProps"),_xe=o(t=>Rxe(GN({},"__esModule",{value:!0}),t),"__toCommonJS"),xY={};Sxe(xY,{wrapAbortSignalLike:()=>vxe});SY.exports=_xe(xY);function vxe(t){if(t instanceof AbortSignal)return{abortSignal:t};if(t.aborted)return{abortSignal:AbortSignal.abort(t.reason)};let e=new AbortController,r=!0;function n(){r&&(t.removeEventListener("abort",i),r=!1)}o(n,"cleanup");function i(){e.abort(t.reason),n()}return o(i,"listener"),t.addEventListener("abort",i),{abortSignal:e.signal,cleanup:n}}o(vxe,"wrapAbortSignalLike")});var PY=g((A$e,vY)=>{var JN=Object.defineProperty,Pxe=Object.getOwnPropertyDescriptor,Dxe=Object.getOwnPropertyNames,Txe=Object.prototype.hasOwnProperty,Oxe=o((t,e)=>{for(var r in e)JN(t,r,{get:e[r],enumerable:!0})},"__export"),Mxe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Dxe(e))!Txe.call(t,i)&&i!==r&&JN(t,i,{get:()=>e[i],enumerable:!(n=Pxe(e,i))||n.enumerable});return t},"__copyProps"),kxe=o(t=>Mxe(JN({},"__esModule",{value:!0}),t),"__toCommonJS"),RY={};Oxe(RY,{wrapAbortSignalLikePolicy:()=>Uxe,wrapAbortSignalLikePolicyName:()=>_Y});vY.exports=kxe(RY);var Lxe=YN(),_Y="wrapAbortSignalLikePolicy";function Uxe(){return{name:_Y,sendRequest:async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:n}=(0,Lxe.wrapAbortSignalLike)(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}}}}o(Uxe,"wrapAbortSignalLikePolicy")});var kY=g((d$e,MY)=>{var VN=Object.defineProperty,Fxe=Object.getOwnPropertyDescriptor,qxe=Object.getOwnPropertyNames,Hxe=Object.prototype.hasOwnProperty,zxe=o((t,e)=>{for(var r in e)VN(t,r,{get:e[r],enumerable:!0})},"__export"),jxe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of qxe(e))!Hxe.call(t,i)&&i!==r&&VN(t,i,{get:()=>e[i],enumerable:!(n=Fxe(e,i))||n.enumerable});return t},"__copyProps"),Gxe=o(t=>jxe(VN({},"__esModule",{value:!0}),t),"__toCommonJS"),OY={};zxe(OY,{createPipelineFromOptions:()=>sSe});MY.exports=Gxe(OY);var Yxe=$w(),Jxe=qw(),Vxe=Xw(),Wxe=sN(),DY=BN(),$xe=bN(),Kxe=wN(),Xxe=xN(),TY=pt(),Zxe=_N(),eSe=PN(),tSe=TN(),rSe=MN(),nSe=jN(),iSe=PY();function sSe(t){let e=(0,Jxe.createEmptyPipeline)();return TY.isNodeLike&&(t.agent&&e.addPolicy((0,tSe.agentPolicy)(t.agent)),t.tlsOptions&&e.addPolicy((0,rSe.tlsPolicy)(t.tlsOptions)),e.addPolicy((0,Zxe.proxyPolicy)(t.proxyOptions)),e.addPolicy((0,$xe.decompressResponsePolicy)())),e.addPolicy((0,iSe.wrapAbortSignalLikePolicy)()),e.addPolicy((0,Xxe.formDataPolicy)(),{beforePolicies:[DY.multipartPolicyName]}),e.addPolicy((0,Wxe.userAgentPolicy)(t.userAgentOptions)),e.addPolicy((0,eSe.setClientRequestIdPolicy)(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy((0,DY.multipartPolicy)(),{afterPhase:"Deserialize"}),e.addPolicy((0,Kxe.defaultRetryPolicy)(t.retryOptions),{phase:"Retry"}),e.addPolicy((0,nSe.tracingPolicy)({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),TY.isNodeLike&&e.addPolicy((0,Vxe.redirectPolicy)(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy((0,Yxe.logPolicy)(t.loggingOptions),{afterPhase:"Sign"}),e}o(sSe,"createPipelineFromOptions")});var FY=g((h$e,UY)=>{var WN=Object.defineProperty,oSe=Object.getOwnPropertyDescriptor,aSe=Object.getOwnPropertyNames,cSe=Object.prototype.hasOwnProperty,lSe=o((t,e)=>{for(var r in e)WN(t,r,{get:e[r],enumerable:!0})},"__export"),ASe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of aSe(e))!cSe.call(t,i)&&i!==r&&WN(t,i,{get:()=>e[i],enumerable:!(n=oSe(e,i))||n.enumerable});return t},"__copyProps"),uSe=o(t=>ASe(WN({},"__esModule",{value:!0}),t),"__toCommonJS"),LY={};lSe(LY,{createDefaultHttpClient:()=>hSe});UY.exports=uSe(LY);var dSe=Yc(),pSe=YN();function hSe(){let t=(0,dSe.createDefaultHttpClient)();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?(0,pSe.wrapAbortSignalLike)(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}o(hSe,"createDefaultHttpClient")});var zY=g((m$e,HY)=>{var $N=Object.defineProperty,fSe=Object.getOwnPropertyDescriptor,mSe=Object.getOwnPropertyNames,gSe=Object.prototype.hasOwnProperty,ySe=o((t,e)=>{for(var r in e)$N(t,r,{get:e[r],enumerable:!0})},"__export"),CSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of mSe(e))!gSe.call(t,i)&&i!==r&&$N(t,i,{get:()=>e[i],enumerable:!(n=fSe(e,i))||n.enumerable});return t},"__copyProps"),ESe=o(t=>CSe($N({},"__esModule",{value:!0}),t),"__toCommonJS"),qY={};ySe(qY,{createHttpHeaders:()=>ISe});HY.exports=ESe(qY);var BSe=Yc();function ISe(t){return(0,BSe.createHttpHeaders)(t)}o(ISe,"createHttpHeaders")});var YY=g((y$e,GY)=>{var KN=Object.defineProperty,bSe=Object.getOwnPropertyDescriptor,QSe=Object.getOwnPropertyNames,wSe=Object.prototype.hasOwnProperty,NSe=o((t,e)=>{for(var r in e)KN(t,r,{get:e[r],enumerable:!0})},"__export"),xSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of QSe(e))!wSe.call(t,i)&&i!==r&&KN(t,i,{get:()=>e[i],enumerable:!(n=bSe(e,i))||n.enumerable});return t},"__copyProps"),SSe=o(t=>xSe(KN({},"__esModule",{value:!0}),t),"__toCommonJS"),jY={};NSe(jY,{createPipelineRequest:()=>_Se});GY.exports=SSe(jY);var RSe=Yc();function _Se(t){return(0,RSe.createPipelineRequest)(t)}o(_Se,"createPipelineRequest")});var $Y=g((E$e,WY)=>{var XN=Object.defineProperty,vSe=Object.getOwnPropertyDescriptor,PSe=Object.getOwnPropertyNames,DSe=Object.prototype.hasOwnProperty,TSe=o((t,e)=>{for(var r in e)XN(t,r,{get:e[r],enumerable:!0})},"__export"),OSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of PSe(e))!DSe.call(t,i)&&i!==r&&XN(t,i,{get:()=>e[i],enumerable:!(n=vSe(e,i))||n.enumerable});return t},"__copyProps"),MSe=o(t=>OSe(XN({},"__esModule",{value:!0}),t),"__toCommonJS"),JY={};TSe(JY,{exponentialRetryPolicy:()=>LSe,exponentialRetryPolicyName:()=>kSe});WY.exports=MSe(JY);var VY=vr(),kSe=VY.exponentialRetryPolicyName;function LSe(t={}){return(0,VY.exponentialRetryPolicy)(t)}o(LSe,"exponentialRetryPolicy")});var eJ=g((I$e,ZY)=>{var ZN=Object.defineProperty,USe=Object.getOwnPropertyDescriptor,FSe=Object.getOwnPropertyNames,qSe=Object.prototype.hasOwnProperty,HSe=o((t,e)=>{for(var r in e)ZN(t,r,{get:e[r],enumerable:!0})},"__export"),zSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of FSe(e))!qSe.call(t,i)&&i!==r&&ZN(t,i,{get:()=>e[i],enumerable:!(n=USe(e,i))||n.enumerable});return t},"__copyProps"),jSe=o(t=>zSe(ZN({},"__esModule",{value:!0}),t),"__toCommonJS"),KY={};HSe(KY,{systemErrorRetryPolicy:()=>YSe,systemErrorRetryPolicyName:()=>GSe});ZY.exports=jSe(KY);var XY=vr(),GSe=XY.systemErrorRetryPolicyName;function YSe(t={}){return(0,XY.systemErrorRetryPolicy)(t)}o(YSe,"systemErrorRetryPolicy")});var iJ=g((Q$e,nJ)=>{var e0=Object.defineProperty,JSe=Object.getOwnPropertyDescriptor,VSe=Object.getOwnPropertyNames,WSe=Object.prototype.hasOwnProperty,$Se=o((t,e)=>{for(var r in e)e0(t,r,{get:e[r],enumerable:!0})},"__export"),KSe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of VSe(e))!WSe.call(t,i)&&i!==r&&e0(t,i,{get:()=>e[i],enumerable:!(n=JSe(e,i))||n.enumerable});return t},"__copyProps"),XSe=o(t=>KSe(e0({},"__esModule",{value:!0}),t),"__toCommonJS"),tJ={};$Se(tJ,{throttlingRetryPolicy:()=>eRe,throttlingRetryPolicyName:()=>ZSe});nJ.exports=XSe(tJ);var rJ=vr(),ZSe=rJ.throttlingRetryPolicyName;function eRe(t={}){return(0,rJ.throttlingRetryPolicy)(t)}o(eRe,"throttlingRetryPolicy")});var aJ=g((N$e,oJ)=>{var t0=Object.defineProperty,tRe=Object.getOwnPropertyDescriptor,rRe=Object.getOwnPropertyNames,nRe=Object.prototype.hasOwnProperty,iRe=o((t,e)=>{for(var r in e)t0(t,r,{get:e[r],enumerable:!0})},"__export"),sRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of rRe(e))!nRe.call(t,i)&&i!==r&&t0(t,i,{get:()=>e[i],enumerable:!(n=tRe(e,i))||n.enumerable});return t},"__copyProps"),oRe=o(t=>sRe(t0({},"__esModule",{value:!0}),t),"__toCommonJS"),sJ={};iRe(sJ,{retryPolicy:()=>uRe});oJ.exports=oRe(sJ);var aRe=Jc(),cRe=Of(),lRe=vr(),ARe=(0,aRe.createClientLogger)("core-rest-pipeline retryPolicy");function uRe(t,e={maxRetries:cRe.DEFAULT_RETRY_POLICY_COUNT}){return(0,lRe.retryPolicy)(t,{logger:ARe,...e})}o(uRe,"retryPolicy")});var n0=g((S$e,AJ)=>{var r0=Object.defineProperty,dRe=Object.getOwnPropertyDescriptor,pRe=Object.getOwnPropertyNames,hRe=Object.prototype.hasOwnProperty,fRe=o((t,e)=>{for(var r in e)r0(t,r,{get:e[r],enumerable:!0})},"__export"),mRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of pRe(e))!hRe.call(t,i)&&i!==r&&r0(t,i,{get:()=>e[i],enumerable:!(n=dRe(e,i))||n.enumerable});return t},"__copyProps"),gRe=o(t=>mRe(r0({},"__esModule",{value:!0}),t),"__toCommonJS"),cJ={};fRe(cJ,{DEFAULT_CYCLER_OPTIONS:()=>lJ,createTokenCycler:()=>ERe});AJ.exports=gRe(cJ);var yRe=pt(),lJ={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function CRe(t,e,r){async function n(){if(Date.now()<r)try{return await t()}catch{return null}else{let s=await t();if(s===null)throw new Error("Failed to refresh access token.");return s}}o(n,"tryGetAccessToken");let i=await n();for(;i===null;)await(0,yRe.delay)(e),i=await n();return i}o(CRe,"beginRefresh");function ERe(t,e){let r=null,n=null,i,s={...lJ,...e},a={get isRefreshing(){return r!==null},get shouldRefresh(){return a.isRefreshing?!1:n?.refreshAfterTimestamp&&n.refreshAfterTimestamp<Date.now()?!0:(n?.expiresOnTimestamp??0)-s.refreshWindowInMs<Date.now()},get mustRefresh(){return n===null||n.expiresOnTimestamp-s.forcedRefreshWindowInMs<Date.now()}};function c(l,A){return a.isRefreshing||(r=CRe(o(()=>t.getToken(l,A),"tryGetAccessToken"),s.retryIntervalInMs,n?.expiresOnTimestamp??Date.now()).then(d=>(r=null,n=d,i=A.tenantId,n)).catch(d=>{throw r=null,n=null,i=void 0,d})),r}return o(c,"refresh"),async(l,A)=>{let u=!!A.claims,d=i!==A.tenantId;return u&&(n=null),d||u||a.mustRefresh?c(l,A):(a.shouldRefresh&&c(l,A),n)}}o(ERe,"createTokenCycler")});var yJ=g((_$e,gJ)=>{var i0=Object.defineProperty,BRe=Object.getOwnPropertyDescriptor,IRe=Object.getOwnPropertyNames,bRe=Object.prototype.hasOwnProperty,QRe=o((t,e)=>{for(var r in e)i0(t,r,{get:e[r],enumerable:!0})},"__export"),wRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of IRe(e))!bRe.call(t,i)&&i!==r&&i0(t,i,{get:()=>e[i],enumerable:!(n=BRe(e,i))||n.enumerable});return t},"__copyProps"),NRe=o(t=>wRe(i0({},"__esModule",{value:!0}),t),"__toCommonJS"),hJ={};QRe(hJ,{bearerTokenAuthenticationPolicy:()=>vRe,bearerTokenAuthenticationPolicyName:()=>fJ,parseChallenges:()=>mJ});gJ.exports=NRe(hJ);var xRe=n0(),SRe=vu(),RRe=Jf(),fJ="bearerTokenAuthenticationPolicy";async function Wf(t,e){try{return[await e(t),void 0]}catch(r){if((0,RRe.isRestError)(r)&&r.response)return[r.response,r];throw r}}o(Wf,"trySendRequest");async function _Re(t){let{scopes:e,getAccessToken:r,request:n}=t,i={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions,enableCae:!0},s=await r(e,i);s&&t.request.headers.set("Authorization",`Bearer ${s.token}`)}o(_Re,"defaultAuthorizeRequest");function uJ(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(uJ,"isChallengeResponse");async function dJ(t,e){let{scopes:r}=t,n=await t.getAccessToken(r,{enableCae:!0,claims:e});return n?(t.request.headers.set("Authorization",`${n.tokenType??"Bearer"} ${n.token}`),!0):!1}o(dJ,"authorizeRequestOnCaeChallenge");function vRe(t){let{credential:e,scopes:r,challengeCallbacks:n}=t,i=t.logger||SRe.logger,s={authorizeRequest:n?.authorizeRequest?.bind(n)??_Re,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)},a=e?(0,xRe.createTokenCycler)(e):()=>Promise.resolve(null);return{name:fJ,async sendRequest(c,l){if(!c.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");await s.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:c,getAccessToken:a,logger:i});let A,u,d;if([A,u]=await Wf(c,l),uJ(A)){let f=pJ(A.headers.get("WWW-Authenticate"));if(f){let m;try{m=atob(f)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${f}`),A}d=await dJ({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:i},m),d&&([A,u]=await Wf(c,l))}else if(s.authorizeRequestOnChallenge&&(d=await s.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:c,response:A,getAccessToken:a,logger:i}),d&&([A,u]=await Wf(c,l)),uJ(A)&&(f=pJ(A.headers.get("WWW-Authenticate")),f))){let m;try{m=atob(f)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${f}`),A}d=await dJ({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:i},m),d&&([A,u]=await Wf(c,l))}}if(u)throw u;return A}}}o(vRe,"bearerTokenAuthenticationPolicy");function mJ(t){let e=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,r=/(\w+)="([^"]*)"/g,n=[],i;for(;(i=e.exec(t))!==null;){let s=i[1],a=i[2],c={},l;for(;(l=r.exec(a))!==null;)c[l[1]]=l[2];n.push({scheme:s,params:c})}return n}o(mJ,"parseChallenges");function pJ(t){return t?mJ(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(pJ,"getCaeChallengeClaims")});var IJ=g((P$e,BJ)=>{var s0=Object.defineProperty,PRe=Object.getOwnPropertyDescriptor,DRe=Object.getOwnPropertyNames,TRe=Object.prototype.hasOwnProperty,ORe=o((t,e)=>{for(var r in e)s0(t,r,{get:e[r],enumerable:!0})},"__export"),MRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of DRe(e))!TRe.call(t,i)&&i!==r&&s0(t,i,{get:()=>e[i],enumerable:!(n=PRe(e,i))||n.enumerable});return t},"__copyProps"),kRe=o(t=>MRe(s0({},"__esModule",{value:!0}),t),"__toCommonJS"),CJ={};ORe(CJ,{ndJsonPolicy:()=>LRe,ndJsonPolicyName:()=>EJ});BJ.exports=kRe(CJ);var EJ="ndJsonPolicy";function LRe(){return{name:EJ,async sendRequest(t,e){if(typeof t.body=="string"&&t.body.startsWith("[")){let r=JSON.parse(t.body);Array.isArray(r)&&(t.body=r.map(n=>JSON.stringify(n)+`
`).join(""))}return e(t)}}}o(LRe,"ndJsonPolicy")});var NJ=g((T$e,wJ)=>{var a0=Object.defineProperty,URe=Object.getOwnPropertyDescriptor,FRe=Object.getOwnPropertyNames,qRe=Object.prototype.hasOwnProperty,HRe=o((t,e)=>{for(var r in e)a0(t,r,{get:e[r],enumerable:!0})},"__export"),zRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of FRe(e))!qRe.call(t,i)&&i!==r&&a0(t,i,{get:()=>e[i],enumerable:!(n=URe(e,i))||n.enumerable});return t},"__copyProps"),jRe=o(t=>zRe(a0({},"__esModule",{value:!0}),t),"__toCommonJS"),QJ={};HRe(QJ,{auxiliaryAuthenticationHeaderPolicy:()=>VRe,auxiliaryAuthenticationHeaderPolicyName:()=>o0});wJ.exports=jRe(QJ);var GRe=n0(),YRe=vu(),o0="auxiliaryAuthenticationHeaderPolicy",bJ="x-ms-authorization-auxiliary";async function JRe(t){let{scopes:e,getAccessToken:r,request:n}=t,i={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions};return(await r(e,i))?.token??""}o(JRe,"sendAuthorizeRequest");function VRe(t){let{credentials:e,scopes:r}=t,n=t.logger||YRe.logger,i=new WeakMap;return{name:o0,async sendRequest(s,a){if(!s.url.toLowerCase().startsWith("https://"))throw new Error("Bearer token authentication for auxiliary header is not permitted for non-TLS protected (non-https) URLs.");if(!e||e.length===0)return n.info(`${o0} header will not be set due to empty credentials.`),a(s);let c=[];for(let A of e){let u=i.get(A);u||(u=(0,GRe.createTokenCycler)(A),i.set(A,u)),c.push(JRe({scopes:Array.isArray(r)?r:[r],request:s,getAccessToken:u,logger:n}))}let l=(await Promise.all(c)).filter(A=>!!A);return l.length===0?(n.warning(`None of the auxiliary tokens are valid. ${bJ} header will not be set.`),a(s)):(s.headers.set(bJ,l.map(A=>`Bearer ${A}`).join(", ")),a(s))}}}o(VRe,"auxiliaryAuthenticationHeaderPolicy")});var Ot=g((M$e,YJ)=>{var l0=Object.defineProperty,WRe=Object.getOwnPropertyDescriptor,$Re=Object.getOwnPropertyNames,KRe=Object.prototype.hasOwnProperty,XRe=o((t,e)=>{for(var r in e)l0(t,r,{get:e[r],enumerable:!0})},"__export"),ZRe=o((t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of $Re(e))!KRe.call(t,i)&&i!==r&&l0(t,i,{get:()=>e[i],enumerable:!(n=WRe(e,i))||n.enumerable});return t},"__copyProps"),e_e=o(t=>ZRe(l0({},"__esModule",{value:!0}),t),"__toCommonJS"),GJ={};XRe(GJ,{RestError:()=>xJ.RestError,agentPolicy:()=>zJ.agentPolicy,agentPolicyName:()=>zJ.agentPolicyName,auxiliaryAuthenticationHeaderPolicy:()=>HJ.auxiliaryAuthenticationHeaderPolicy,auxiliaryAuthenticationHeaderPolicyName:()=>HJ.auxiliaryAuthenticationHeaderPolicyName,bearerTokenAuthenticationPolicy:()=>FJ.bearerTokenAuthenticationPolicy,bearerTokenAuthenticationPolicyName:()=>FJ.bearerTokenAuthenticationPolicyName,createDefaultHttpClient:()=>n_e.createDefaultHttpClient,createEmptyPipeline:()=>t_e.createEmptyPipeline,createFile:()=>jJ.createFile,createFileFromStream:()=>jJ.createFileFromStream,createHttpHeaders:()=>i_e.createHttpHeaders,createPipelineFromOptions:()=>r_e.createPipelineFromOptions,createPipelineRequest:()=>s_e.createPipelineRequest,decompressResponsePolicy:()=>SJ.decompressResponsePolicy,decompressResponsePolicyName:()=>SJ.decompressResponsePolicyName,defaultRetryPolicy:()=>a_e.defaultRetryPolicy,exponentialRetryPolicy:()=>RJ.exponentialRetryPolicy,exponentialRetryPolicyName:()=>RJ.exponentialRetryPolicyName,formDataPolicy:()=>UJ.formDataPolicy,formDataPolicyName:()=>UJ.formDataPolicyName,getDefaultProxySettings:()=>c0.getDefaultProxySettings,isRestError:()=>xJ.isRestError,logPolicy:()=>vJ.logPolicy,logPolicyName:()=>vJ.logPolicyName,multipartPolicy:()=>PJ.multipartPolicy,multipartPolicyName:()=>PJ.multipartPolicyName,ndJsonPolicy:()=>qJ.ndJsonPolicy,ndJsonPolicyName:()=>qJ.ndJsonPolicyName,proxyPolicy:()=>c0.proxyPolicy,proxyPolicyName:()=>c0.proxyPolicyName,redirectPolicy:()=>DJ.redirectPolicy,redirectPolicyName:()=>DJ.redirectPolicyName,retryPolicy:()=>o_e.retryPolicy,setClientRequestIdPolicy:()=>_J.setClientRequestIdPolicy,setClientRequestIdPolicyName:()=>_J.setClientRequestIdPolicyName,systemErrorRetryPolicy:()=>TJ.systemErrorRetryPolicy,systemErrorRetryPolicyName:()=>TJ.systemErrorRetryPolicyName,throttlingRetryPolicy:()=>OJ.throttlingRetryPolicy,throttlingRetryPolicyName:()=>OJ.throttlingRetryPolicyName,tlsPolicy:()=>LJ.tlsPolicy,tlsPolicyName:()=>LJ.tlsPolicyName,tracingPolicy:()=>MJ.tracingPolicy,tracingPolicyName:()=>MJ.tracingPolicyName,userAgentPolicy:()=>kJ.userAgentPolicy,userAgentPolicyName:()=>kJ.userAgentPolicyName});YJ.exports=e_e(GJ);var t_e=qw(),r_e=kY(),n_e=FY(),i_e=zY(),s_e=YY(),xJ=Jf(),SJ=bN(),RJ=$Y(),_J=PN(),vJ=$w(),PJ=BN(),c0=_N(),DJ=Xw(),TJ=eJ(),OJ=iJ(),o_e=aJ(),MJ=jN(),a_e=wN(),kJ=sN(),LJ=MN(),UJ=xN(),FJ=yJ(),qJ=IJ(),HJ=NJ(),zJ=TN(),jJ=CN()});var JJ=g($f=>{"use strict";Object.defineProperty($f,"__esModule",{value:!0});$f.AzureKeyCredential=void 0;var A0=class{static{o(this,"AzureKeyCredential")}_key;get key(){return this._key}constructor(e){if(!e)throw new Error("key must be a non-empty string");this._key=e}update(e){this._key=e}};$f.AzureKeyCredential=A0});var VJ=g(u0=>{"use strict";Object.defineProperty(u0,"__esModule",{value:!0});u0.isKeyCredential=l_e;var c_e=pt();function l_e(t){return(0,c_e.isObjectWithProperties)(t,["key"])&&typeof t.key=="string"}o(l_e,"isKeyCredential")});var WJ=g(Ou=>{"use strict";Object.defineProperty(Ou,"__esModule",{value:!0});Ou.AzureNamedKeyCredential=void 0;Ou.isNamedKeyCredential=u_e;var A_e=pt(),d0=class{static{o(this,"AzureNamedKeyCredential")}_key;_name;get key(){return this._key}get name(){return this._name}constructor(e,r){if(!e||!r)throw new TypeError("name and key must be non-empty strings");this._name=e,this._key=r}update(e,r){if(!e||!r)throw new TypeError("newName and newKey must be non-empty strings");this._name=e,this._key=r}};Ou.AzureNamedKeyCredential=d0;function u_e(t){return(0,A_e.isObjectWithProperties)(t,["name","key"])&&typeof t.key=="string"&&typeof t.name=="string"}o(u_e,"isNamedKeyCredential")});var $J=g(Mu=>{"use strict";Object.defineProperty(Mu,"__esModule",{value:!0});Mu.AzureSASCredential=void 0;Mu.isSASCredential=p_e;var d_e=pt(),p0=class{static{o(this,"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}};Mu.AzureSASCredential=p0;function p_e(t){return(0,d_e.isObjectWithProperties)(t,["signature"])&&typeof t.signature=="string"}o(p_e,"isSASCredential")});var KJ=g(ku=>{"use strict";Object.defineProperty(ku,"__esModule",{value:!0});ku.isBearerToken=h_e;ku.isPopToken=f_e;ku.isTokenCredential=m_e;function h_e(t){return!t.tokenType||t.tokenType==="Bearer"}o(h_e,"isBearerToken");function f_e(t){return t.tokenType==="pop"}o(f_e,"isPopToken");function m_e(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(m_e,"isTokenCredential")});var Kc=g(sr=>{"use strict";Object.defineProperty(sr,"__esModule",{value:!0});sr.isTokenCredential=sr.isSASCredential=sr.AzureSASCredential=sr.isNamedKeyCredential=sr.AzureNamedKeyCredential=sr.isKeyCredential=sr.AzureKeyCredential=void 0;var g_e=JJ();Object.defineProperty(sr,"AzureKeyCredential",{enumerable:!0,get:function(){return g_e.AzureKeyCredential}});var y_e=VJ();Object.defineProperty(sr,"isKeyCredential",{enumerable:!0,get:function(){return y_e.isKeyCredential}});var XJ=WJ();Object.defineProperty(sr,"AzureNamedKeyCredential",{enumerable:!0,get:function(){return XJ.AzureNamedKeyCredential}});Object.defineProperty(sr,"isNamedKeyCredential",{enumerable:!0,get:function(){return XJ.isNamedKeyCredential}});var ZJ=$J();Object.defineProperty(sr,"AzureSASCredential",{enumerable:!0,get:function(){return ZJ.AzureSASCredential}});Object.defineProperty(sr,"isSASCredential",{enumerable:!0,get:function(){return ZJ.isSASCredential}});var C_e=KJ();Object.defineProperty(sr,"isTokenCredential",{enumerable:!0,get:function(){return C_e.isTokenCredential}})});var h0=g(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws.disableKeepAlivePolicyName=void 0;Ws.createDisableKeepAlivePolicy=E_e;Ws.pipelineContainsDisableKeepAlivePolicy=B_e;Ws.disableKeepAlivePolicyName="DisableKeepAlivePolicy";function E_e(){return{name:Ws.disableKeepAlivePolicyName,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(E_e,"createDisableKeepAlivePolicy");function B_e(t){return t.getOrderedPolicies().some(e=>e.name===Ws.disableKeepAlivePolicyName)}o(B_e,"pipelineContainsDisableKeepAlivePolicy")});var xV={};Pd(xV,{__addDisposableResource:()=>QV,__assign:()=>Kf,__asyncDelegator:()=>mV,__asyncGenerator:()=>fV,__asyncValues:()=>gV,__await:()=>Xc,__awaiter:()=>lV,__classPrivateFieldGet:()=>BV,__classPrivateFieldIn:()=>bV,__classPrivateFieldSet:()=>IV,__createBinding:()=>Zf,__decorate:()=>rV,__disposeResources:()=>wV,__esDecorate:()=>iV,__exportStar:()=>uV,__extends:()=>eV,__generator:()=>AV,__importDefault:()=>EV,__importStar:()=>CV,__makeTemplateObject:()=>yV,__metadata:()=>cV,__param:()=>nV,__propKey:()=>oV,__read:()=>g0,__rest:()=>tV,__rewriteRelativeImportExtension:()=>NV,__runInitializers:()=>sV,__setFunctionName:()=>aV,__spread:()=>dV,__spreadArray:()=>hV,__spreadArrays:()=>pV,__values:()=>Xf,default:()=>Q_e});function eV(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");f0(t,e);function r(){this.constructor=t}o(r,"__"),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function tV(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function rV(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function nV(t,e){return function(r,n){e(r,n,t)}}function iV(t,e,r,n,i,s){function a(w){if(w!==void 0&&typeof w!="function")throw new TypeError("Function expected");return w}o(a,"accept");for(var c=n.kind,l=c==="getter"?"get":c==="setter"?"set":"value",A=!e&&t?n.static?t:t.prototype:null,u=e||(A?Object.getOwnPropertyDescriptor(A,n.name):{}),d,f=!1,m=r.length-1;m>=0;m--){var C={};for(var Q in n)C[Q]=Q==="access"?{}:n[Q];for(var Q in n.access)C.access[Q]=n.access[Q];C.addInitializer=function(w){if(f)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(w||null))};var S=(0,r[m])(c==="accessor"?{get:u.get,set:u.set}:u[l],C);if(c==="accessor"){if(S===void 0)continue;if(S===null||typeof S!="object")throw new TypeError("Object expected");(d=a(S.get))&&(u.get=d),(d=a(S.set))&&(u.set=d),(d=a(S.init))&&i.unshift(d)}else(d=a(S))&&(c==="field"?i.unshift(d):u[l]=d)}A&&Object.defineProperty(A,n.name,u),f=!0}function sV(t,e,r){for(var n=arguments.length>2,i=0;i<e.length;i++)r=n?e[i].call(t,r):e[i].call(t);return n?r:void 0}function oV(t){return typeof t=="symbol"?t:"".concat(t)}function aV(t,e,r){return typeof e=="symbol"&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:r?"".concat(r," ",e):e})}function cV(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function lV(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})}function AV(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=c(0),a.throw=c(1),a.return=c(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(A){return function(u){return l([A,u])}}function l(A){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,A[0]&&(r=0)),r;)try{if(n=1,i&&(s=A[0]&2?i.return:A[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,A[1])).done)return s;switch(i=0,s&&(A=[A[0]&2,s.value]),A[0]){case 0:case 1:s=A;break;case 4:return r.label++,{value:A[1],done:!1};case 5:r.label++,i=A[1],A=[0];continue;case 7:A=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(A[0]===6||A[0]===2)){r=0;continue}if(A[0]===3&&(!s||A[1]>s[0]&&A[1]<s[3])){r.label=A[1];break}if(A[0]===6&&r.label<s[1]){r.label=s[1],s=A;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(A);break}s[2]&&r.ops.pop(),r.trys.pop();continue}A=e.call(t,r)}catch(u){A=[6,u],i=0}finally{n=s=0}if(A[0]&5)throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}}function uV(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Zf(e,t,r)}function Xf(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function g0(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],a;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(c){a={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function dV(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(g0(arguments[e]));return t}function pV(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var n=Array(t),i=0,e=0;e<r;e++)for(var s=arguments[e],a=0,c=s.length;a<c;a++,i++)n[i]=s[a];return n}function hV(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n<i;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return t.concat(s||Array.prototype.slice.call(e))}function Xc(t){return this instanceof Xc?(this.v=t,this):new Xc(t)}function fV(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,s=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(m){return function(C){return Promise.resolve(C).then(m,d)}}function c(m,C){n[m]&&(i[m]=function(Q){return new Promise(function(S,w){s.push([m,Q,S,w])>1||l(m,Q)})},C&&(i[m]=C(i[m])))}function l(m,C){try{A(n[m](C))}catch(Q){f(s[0][3],Q)}}function A(m){m.value instanceof Xc?Promise.resolve(m.value.v).then(u,d):f(s[0][2],m)}function u(m){l("next",m)}function d(m){l("throw",m)}function f(m,C){m(C),s.shift(),s.length&&l(s[0][0],s[0][1])}}function mV(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(a){return(r=!r)?{value:Xc(t[i](a)),done:!1}:s?s(a):a}:s}}function gV(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Xf=="function"?Xf(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}}function yV(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function CV(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=m0(t),n=0;n<r.length;n++)r[n]!=="default"&&Zf(e,t,r[n]);return I_e(e,t),e}function EV(t){return t&&t.__esModule?t:{default:t}}function BV(t,e,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(t):n?n.value:e.get(t)}function IV(t,e,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(t,r):i?i.value=r:e.set(t,r),r}function bV(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}function QV(t,e,r){if(e!=null){if(typeof e!="object"&&typeof e!="function")throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=e[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=e[Symbol.dispose],r&&(i=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");i&&(n=o(function(){try{i.call(this)}catch(s){return Promise.reject(s)}},"dispose")),t.stack.push({value:e,dispose:n,async:r})}else r&&t.stack.push({async:!0});return e}function wV(t){function e(s){t.error=t.hasError?new b_e(s,t.error,"An error was suppressed during disposal."):s,t.hasError=!0}o(e,"fail");var r,n=0;function i(){for(;r=t.stack.pop();)try{if(!r.async&&n===1)return n=0,t.stack.push(r),Promise.resolve().then(i);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(s).then(i,function(a){return e(a),i()})}else n|=1}catch(a){e(a)}if(n===1)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}return o(i,"next"),i()}function NV(t,e){return typeof t=="string"&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,s,a){return n?e?".jsx":".js":i&&(!s||!a)?r:i+s+"."+a.toLowerCase()+"js"}):t}var f0,Kf,Zf,I_e,m0,b_e,Q_e,SV=vd(()=>{f0=o(function(t,e){return f0=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},f0(t,e)},"extendStatics");o(eV,"__extends");Kf=o(function(){return Kf=Object.assign||o(function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},"__assign"),Kf.apply(this,arguments)},"__assign");o(tV,"__rest");o(rV,"__decorate");o(nV,"__param");o(iV,"__esDecorate");o(sV,"__runInitializers");o(oV,"__propKey");o(aV,"__setFunctionName");o(cV,"__metadata");o(lV,"__awaiter");o(AV,"__generator");Zf=Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]};o(uV,"__exportStar");o(Xf,"__values");o(g0,"__read");o(dV,"__spread");o(pV,"__spreadArrays");o(hV,"__spreadArray");o(Xc,"__await");o(fV,"__asyncGenerator");o(mV,"__asyncDelegator");o(gV,"__asyncValues");o(yV,"__makeTemplateObject");I_e=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},m0=o(function(t){return m0=Object.getOwnPropertyNames||function(e){var r=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[r.length]=n);return r},m0(t)},"ownKeys");o(CV,"__importStar");o(EV,"__importDefault");o(BV,"__classPrivateFieldGet");o(IV,"__classPrivateFieldSet");o(bV,"__classPrivateFieldIn");o(QV,"__addDisposableResource");b_e=typeof SuppressedError=="function"?SuppressedError:function(t,e,r){var n=new Error(r);return n.name="SuppressedError",n.error=t,n.suppressed=e,n};o(wV,"__disposeResources");o(NV,"__rewriteRelativeImportExtension");Q_e={__extends:eV,__assign:Kf,__rest:tV,__decorate:rV,__param:nV,__esDecorate:iV,__runInitializers:sV,__propKey:oV,__setFunctionName:aV,__metadata:cV,__awaiter:lV,__generator:AV,__createBinding:Zf,__exportStar:uV,__values:Xf,__read:g0,__spread:dV,__spreadArrays:pV,__spreadArray:hV,__await:Xc,__asyncGenerator:fV,__asyncDelegator:mV,__asyncValues:gV,__makeTemplateObject:yV,__importStar:CV,__importDefault:EV,__classPrivateFieldGet:BV,__classPrivateFieldSet:IV,__classPrivateFieldIn:bV,__addDisposableResource:QV,__disposeResources:wV,__rewriteRelativeImportExtension:NV}});var y0=g(Zc=>{"use strict";Object.defineProperty(Zc,"__esModule",{value:!0});Zc.encodeString=w_e;Zc.encodeByteArray=N_e;Zc.decodeString=x_e;Zc.decodeStringToString=S_e;function w_e(t){return Buffer.from(t).toString("base64")}o(w_e,"encodeString");function N_e(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(N_e,"encodeByteArray");function x_e(t){return Buffer.from(t,"base64")}o(x_e,"decodeString");function S_e(t){return Buffer.from(t,"base64").toString()}o(S_e,"decodeStringToString")});var Lu=g(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});el.XML_CHARKEY=el.XML_ATTRKEY=void 0;el.XML_ATTRKEY="$";el.XML_CHARKEY="_"});var C0=g(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});tl.isPrimitiveBody=RV;tl.isDuration=__e;tl.isValidUuid=P_e;tl.flattenResponse=T_e;function RV(t,e){return e!=="Composite"&&e!=="Dictionary"&&(typeof t=="string"||typeof t=="number"||typeof t=="boolean"||e?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||t===void 0||t===null)}o(RV,"isPrimitiveBody");var R_e=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function __e(t){return R_e.test(t)}o(__e,"isDuration");var v_e=/^[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 P_e(t){return v_e.test(t)}o(P_e,"isValidUuid");function D_e(t){let e={...t.headers,...t.body};return t.hasNullableType&&Object.getOwnPropertyNames(e).length===0?t.shouldWrapBody?{body:null}:null:t.shouldWrapBody?{...t.headers,body:t.body}:e}o(D_e,"handleNullableResponseAndWrappableBody");function T_e(t,e){let r=t.parsedHeaders;if(t.request.method==="HEAD")return{...r,body:t.parsedBody};let n=e&&e.bodyMapper,i=!!n?.nullable,s=n?.type.name;if(s==="Stream")return{...r,blobBody:t.blobBody,readableStreamBody:t.readableStreamBody};let a=s==="Composite"&&n.type.modelProperties||{},c=Object.keys(a).some(l=>a[l].serializedName==="");if(s==="Sequence"||c){let l=t.parsedBody??[];for(let A of Object.keys(a))a[A].serializedName&&(l[A]=t.parsedBody?.[A]);if(r)for(let A of Object.keys(r))l[A]=r[A];return i&&!t.parsedBody&&!r&&Object.getOwnPropertyNames(a).length===0?null:l}return D_e({body:t.parsedBody,headers:r,hasNullableType:i,shouldWrapBody:RV(t.parsedBody,s)})}o(T_e,"flattenResponse")});var Fu=g(Uu=>{"use strict";Object.defineProperty(Uu,"__esModule",{value:!0});Uu.MapperTypeNames=void 0;Uu.createSerializer=M_e;var O_e=(SV(),Zt(xV)),tm=O_e.__importStar(y0()),jt=Lu(),vV=C0(),E0=class{static{o(this,"SerializerImpl")}modelMappers;isXML;constructor(e={},r=!1){this.modelMappers=e,this.isXML=r}validateConstraints(e,r,n){let i=o((s,a)=>{throw new Error(`"${n}" with value "${r}" should satisfy the constraint "${s}": ${a}.`)},"failValidation");if(e.constraints&&r!==void 0&&r!==null){let{ExclusiveMaximum:s,ExclusiveMinimum:a,InclusiveMaximum:c,InclusiveMinimum:l,MaxItems:A,MaxLength:u,MinItems:d,MinLength:f,MultipleOf:m,Pattern:C,UniqueItems:Q}=e.constraints;if(s!==void 0&&r>=s&&i("ExclusiveMaximum",s),a!==void 0&&r<=a&&i("ExclusiveMinimum",a),c!==void 0&&r>c&&i("InclusiveMaximum",c),l!==void 0&&r<l&&i("InclusiveMinimum",l),A!==void 0&&r.length>A&&i("MaxItems",A),u!==void 0&&r.length>u&&i("MaxLength",u),d!==void 0&&r.length<d&&i("MinItems",d),f!==void 0&&r.length<f&&i("MinLength",f),m!==void 0&&r%m!==0&&i("MultipleOf",m),C){let S=typeof C=="string"?new RegExp(C):C;(typeof r!="string"||r.match(S)===null)&&i("Pattern",C)}Q&&r.some((S,w,R)=>R.indexOf(S)!==w)&&i("UniqueItems",Q)}}serialize(e,r,n,i={xml:{}}){let s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??jt.XML_CHARKEY}},a={},c=e.type.name;n||(n=e.serializedName),c.match(/^Sequence$/i)!==null&&(a=[]),e.isConstant&&(r=e.defaultValue);let{required:l,nullable:A}=e;if(l&&A&&r===void 0)throw new Error(`${n} cannot be undefined.`);if(l&&!A&&r==null)throw new Error(`${n} cannot be null or undefined.`);if(!l&&A===!1&&r===null)throw new Error(`${n} cannot be null.`);return r==null||c.match(/^any$/i)!==null?a=r:c.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null?a=H_e(c,n,r):c.match(/^Enum$/i)!==null?a=z_e(n,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=Y_e(c,r,n):c.match(/^ByteArray$/i)!==null?a=j_e(n,r):c.match(/^Base64Url$/i)!==null?a=G_e(n,r):c.match(/^Sequence$/i)!==null?a=J_e(this,e,r,n,!!this.isXML,s):c.match(/^Dictionary$/i)!==null?a=V_e(this,e,r,n,!!this.isXML,s):c.match(/^Composite$/i)!==null&&(a=$_e(this,e,r,n,!!this.isXML,s)),a}deserialize(e,r,n,i={xml:{}}){let s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??jt.XML_CHARKEY},ignoreUnknownProperties:i.ignoreUnknownProperties??!1};if(r==null)return this.isXML&&e.type.name==="Sequence"&&!e.xmlIsWrapped&&(r=[]),e.defaultValue!==void 0&&(r=e.defaultValue),r;let a,c=e.type.name;if(n||(n=e.serializedName),c.match(/^Composite$/i)!==null)a=X_e(this,e,r,n,s);else{if(this.isXML){let l=s.xml.xmlCharKey;r[jt.XML_ATTRKEY]!==void 0&&r[l]!==void 0&&(r=r[l])}c.match(/^Number$/i)!==null?(a=parseFloat(r),isNaN(a)&&(a=r)):c.match(/^Boolean$/i)!==null?r==="true"?a=!0:r==="false"?a=!1:a=r:c.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null?a=r:c.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null?a=new Date(r):c.match(/^UnixTime$/i)!==null?a=q_e(r):c.match(/^ByteArray$/i)!==null?a=tm.decodeString(r):c.match(/^Base64Url$/i)!==null?a=U_e(r):c.match(/^Sequence$/i)!==null?a=eve(this,e,r,n,s):c.match(/^Dictionary$/i)!==null&&(a=Z_e(this,e,r,n,s))}return e.isConstant&&(a=e.defaultValue),a}};function M_e(t={},e=!1){return new E0(t,e)}o(M_e,"createSerializer");function k_e(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(k_e,"trimEnd");function L_e(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=tm.encodeByteArray(t);return k_e(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(L_e,"bufferToBase64Url");function U_e(t){if(t){if(t&&typeof t.valueOf()!="string")throw new Error("Please provide an input of type string for converting to Uint8Array");return t=t.replace(/-/g,"+").replace(/_/g,"/"),tm.decodeString(t)}}o(U_e,"base64UrlToByteArray");function B0(t){let e=[],r="";if(t){let n=t.split(".");for(let i of n)i.charAt(i.length-1)==="\\"?r+=i.substr(0,i.length-1)+".":(r+=i,e.push(r),r="")}return e}o(B0,"splitSerializeName");function F_e(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(F_e,"dateToUnixTime");function q_e(t){if(t)return new Date(t*1e3)}o(q_e,"unixTimeToDate");function H_e(t,e,r){if(r!=null){if(t.match(/^Number$/i)!==null){if(typeof r!="number")throw new Error(`${e} with value ${r} must be of type number.`)}else if(t.match(/^String$/i)!==null){if(typeof r.valueOf()!="string")throw new Error(`${e} with value "${r}" must be of type string.`)}else if(t.match(/^Uuid$/i)!==null){if(!(typeof r.valueOf()=="string"&&(0,vV.isValidUuid)(r)))throw new Error(`${e} with value "${r}" must be of type string and a valid uuid.`)}else if(t.match(/^Boolean$/i)!==null){if(typeof r!="boolean")throw new Error(`${e} with value ${r} must be of type boolean.`)}else if(t.match(/^Stream$/i)!==null){let n=typeof r;if(n!=="string"&&typeof r.pipe!="function"&&typeof r.tee!="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob=="function"||typeof Blob=="object")&&r instanceof Blob)&&n!=="function")throw new Error(`${e} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}o(H_e,"serializeBasicTypes");function z_e(t,e,r){if(!e)throw new Error(`Please provide a set of allowedValues to validate ${t} as an Enum Type.`);if(!e.some(i=>typeof i.valueOf()=="string"?i.toLowerCase()===r.toLowerCase():i===r))throw new Error(`${r} is not a valid value for ${t}. The valid values are: ${JSON.stringify(e)}.`);return r}o(z_e,"serializeEnumType");function j_e(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=tm.encodeByteArray(e)}return e}o(j_e,"serializeByteArrayType");function G_e(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=L_e(e)}return e}o(G_e,"serializeBase64UrlType");function Y_e(t,e,r){if(e!=null){if(t.match(/^Date$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);e=e instanceof Date?e.toISOString().substring(0,10):new Date(e).toISOString().substring(0,10)}else if(t.match(/^DateTime$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);e=e instanceof Date?e.toISOString():new Date(e).toISOString()}else if(t.match(/^DateTimeRfc1123$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))throw new Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`);e=e instanceof Date?e.toUTCString():new Date(e).toUTCString()}else if(t.match(/^UnixTime$/i)!==null){if(!(e instanceof Date||typeof e.valueOf()=="string"&&!isNaN(Date.parse(e))))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.`);e=F_e(e)}else if(t.match(/^TimeSpan$/i)!==null&&!(0,vV.isDuration)(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(Y_e,"serializeDateTypes");function J_e(t,e,r,n,i,s){if(!Array.isArray(r))throw new Error(`${n} must be of type Array.`);let a=e.type.element;if(!a||typeof a!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}.`);a.type.name==="Composite"&&a.type.className&&(a=t.modelMappers[a.type.className]??a);let c=[];for(let l=0;l<r.length;l++){let A=t.serialize(a,r[l],n,s);if(i&&a.xmlNamespace){let u=a.xmlNamespacePrefix?`xmlns:${a.xmlNamespacePrefix}`:"xmlns";a.type.name==="Composite"?(c[l]={...A},c[l][jt.XML_ATTRKEY]={[u]:a.xmlNamespace}):(c[l]={},c[l][s.xml.xmlCharKey]=A,c[l][jt.XML_ATTRKEY]={[u]:a.xmlNamespace})}else c[l]=A}return c}o(J_e,"serializeSequenceType");function V_e(t,e,r,n,i,s){if(typeof r!="object")throw new Error(`${n} must be of type object.`);let a=e.type.value;if(!a||typeof a!="object")throw new Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${n}.`);let c={};for(let l of Object.keys(r)){let A=t.serialize(a,r[l],n,s);c[l]=TV(a,A,i,s)}if(i&&e.xmlNamespace){let l=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns",A=c;return A[jt.XML_ATTRKEY]={[l]:e.xmlNamespace},A}return c}o(V_e,"serializeDictionaryType");function W_e(t,e,r){let n=e.type.additionalProperties;return!n&&e.type.className?PV(t,e,r)?.type.additionalProperties:n}o(W_e,"resolveAdditionalProperties");function PV(t,e,r){let n=e.type.className;if(!n)throw new Error(`Class name for model "${r}" is not provided in the mapper "${JSON.stringify(e,void 0,2)}".`);return t.modelMappers[n]}o(PV,"resolveReferencedMapper");function DV(t,e,r){let n=e.type.modelProperties;if(!n){let i=PV(t,e,r);if(!i)throw new Error(`mapper() cannot be null or undefined for model "${e.type.className}".`);if(n=i?.type.modelProperties,!n)throw new Error(`modelProperties cannot be null or undefined in the mapper "${JSON.stringify(i)}" of type "${e.type.className}" for object "${r}".`)}return n}o(DV,"resolveModelProperties");function $_e(t,e,r,n,i,s){if(em(t,e)&&(e=OV(t,e,r,"clientName")),r!=null){let a={},c=DV(t,e,n);for(let A of Object.keys(c)){let u=c[A];if(u.readOnly)continue;let d,f=a;if(t.isXML)u.xmlIsWrapped?d=u.xmlName:d=u.xmlElementName||u.xmlName;else{let m=B0(u.serializedName);d=m.pop();for(let C of m){let Q=f[C];Q==null&&(r[A]!==void 0&&r[A]!==null||u.defaultValue!==void 0)&&(f[C]={}),f=f[C]}}if(f!=null){if(i&&e.xmlNamespace){let w=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns";f[jt.XML_ATTRKEY]={...f[jt.XML_ATTRKEY],[w]:e.xmlNamespace}}let m=u.serializedName!==""?n+"."+u.serializedName:n,C=r[A],Q=em(t,e);Q&&Q.clientName===A&&C==null&&(C=e.serializedName);let S=t.serialize(u,C,m,s);if(S!==void 0&&d!==void 0&&d!==null){let w=TV(u,S,i,s);i&&u.xmlIsAttribute?(f[jt.XML_ATTRKEY]=f[jt.XML_ATTRKEY]||{},f[jt.XML_ATTRKEY][d]=S):i&&u.xmlIsWrapped?f[d]={[u.xmlElementName]:w}:f[d]=w}}}let l=W_e(t,e,n);if(l){let A=Object.keys(c);for(let u in r)A.every(f=>f!==u)&&(a[u]=t.serialize(l,r[u],n+'["'+u+'"]',s))}return a}return r}o($_e,"serializeCompositeType");function TV(t,e,r,n){if(!r||!t.xmlNamespace)return e;let s={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace};if(["Composite"].includes(t.type.name)){if(e[jt.XML_ATTRKEY])return e;{let c={...e};return c[jt.XML_ATTRKEY]=s,c}}let a={};return a[n.xml.xmlCharKey]=e,a[jt.XML_ATTRKEY]=s,a}o(TV,"getXmlObjectValue");function K_e(t,e){return[jt.XML_ATTRKEY,e.xml.xmlCharKey].includes(t)}o(K_e,"isSpecialXmlProperty");function X_e(t,e,r,n,i){let s=i.xml.xmlCharKey??jt.XML_CHARKEY;em(t,e)&&(e=OV(t,e,r,"serializedName"));let a=DV(t,e,n),c={},l=[];for(let u of Object.keys(a)){let d=a[u],f=B0(a[u].serializedName);l.push(f[0]);let{serializedName:m,xmlName:C,xmlElementName:Q}=d,S=n;m!==""&&m!==void 0&&(S=n+"."+m);let w=d.headerCollectionPrefix;if(w){let R={};for(let T of Object.keys(r))T.startsWith(w)&&(R[T.substring(w.length)]=t.deserialize(d.type.value,r[T],S,i)),l.push(T);c[u]=R}else if(t.isXML)if(d.xmlIsAttribute&&r[jt.XML_ATTRKEY])c[u]=t.deserialize(d,r[jt.XML_ATTRKEY][C],S,i);else if(d.xmlIsMsText)r[s]!==void 0?c[u]=r[s]:typeof r=="string"&&(c[u]=r);else{let R=Q||C||m;if(d.xmlIsWrapped){let L=r[C]?.[Q]??[];c[u]=t.deserialize(d,L,S,i),l.push(C)}else{let T=r[R];c[u]=t.deserialize(d,T,S,i),l.push(R)}}else{let R,T=r,L=0;for(let le of f){if(!T)break;L++,T=T[le]}T===null&&L<f.length&&(T=void 0),R=T;let W=e.type.polymorphicDiscriminator;W&&u===W.clientName&&R==null&&(R=e.serializedName);let de;if(Array.isArray(r[u])&&a[u].serializedName===""){R=r[u];let le=t.deserialize(d,R,S,i);for(let[Te,Oe]of Object.entries(c))Object.prototype.hasOwnProperty.call(le,Te)||(le[Te]=Oe);c=le}else(R!==void 0||d.defaultValue!==void 0)&&(de=t.deserialize(d,R,S,i),c[u]=de)}}let A=e.type.additionalProperties;if(A){let u=o(d=>{for(let f in a)if(B0(a[f].serializedName)[0]===d)return!1;return!0},"isAdditionalProperty");for(let d in r)u(d)&&(c[d]=t.deserialize(A,r[d],n+'["'+d+'"]',i))}else if(r&&!i.ignoreUnknownProperties)for(let u of Object.keys(r))c[u]===void 0&&!l.includes(u)&&!K_e(u,i)&&(c[u]=r[u]);return c}o(X_e,"deserializeCompositeType");function Z_e(t,e,r,n,i){let s=e.type.value;if(!s||typeof s!="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){let a={};for(let c of Object.keys(r))a[c]=t.deserialize(s,r[c],n,i);return a}return r}o(Z_e,"deserializeDictionaryType");function eve(t,e,r,n,i){let s=e.type.element;if(!s||typeof s!="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){Array.isArray(r)||(r=[r]),s.type.name==="Composite"&&s.type.className&&(s=t.modelMappers[s.type.className]??s);let a=[];for(let c=0;c<r.length;c++)a[c]=t.deserialize(s,r[c],`${n}[${c}]`,i);return a}return r}o(eve,"deserializeSequenceType");function tve(t,e,r){let n=[r];for(;n.length;){let i=n.shift(),s=e===i?e:i+"."+e;if(Object.prototype.hasOwnProperty.call(t,s))return t[s];for(let[a,c]of Object.entries(t))a.startsWith(i+".")&&c.type.uberParent===i&&c.type.className&&n.push(c.type.className)}}o(tve,"getIndexDiscriminator");function OV(t,e,r,n){let i=em(t,e);if(i){let s=i[n];if(s){n==="serializedName"&&(s=s.replace(/\\/gi,""));let a=r[s],c=e.type.uberParent??e.type.className;if(typeof a=="string"&&c){let l=tve(t.modelMappers.discriminators,a,c);l&&(e=l)}}}return e}o(OV,"getPolymorphicMapper");function em(t,e){return e.type.polymorphicDiscriminator||_V(t,e.type.uberParent)||_V(t,e.type.className)}o(em,"getPolymorphicDiscriminatorRecursively");function _V(t,e){return e&&t.modelMappers[e]&&t.modelMappers[e].type.polymorphicDiscriminator}o(_V,"getPolymorphicDiscriminatorSafely");Uu.MapperTypeNames={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 MV=g(rm=>{"use strict";Object.defineProperty(rm,"__esModule",{value:!0});rm.state=void 0;rm.state={operationRequestMap:new WeakMap}});var qu=g(nm=>{"use strict";Object.defineProperty(nm,"__esModule",{value:!0});nm.getOperationArgumentValueFromParameter=UV;nm.getOperationRequestInfo=qV;var kV=MV();function UV(t,e,r){let n=e.parameterPath,i=e.mapper,s;if(typeof n=="string"&&(n=[n]),Array.isArray(n)){if(n.length>0)if(i.isConstant)s=i.defaultValue;else{let a=LV(t,n);!a.propertyFound&&r&&(a=LV(r,n));let c=!1;a.propertyFound||(c=i.required||n[0]==="options"&&n.length===2),s=c?i.defaultValue:a.propertyValue}}else{i.required&&(s={});for(let a in n){let c=i.type.modelProperties[a],l=n[a],A=UV(t,{parameterPath:l,mapper:c},r);A!==void 0&&(s||(s={}),s[a]=A)}}return s}o(UV,"getOperationArgumentValueFromParameter");function LV(t,e){let r={propertyFound:!1},n=0;for(;n<e.length;++n){let i=e[n];if(t&&i in t)t=t[i];else break}return n===e.length&&(r.propertyValue=t,r.propertyFound=!0),r}o(LV,"getPropertyFromParameterPath");var FV=Symbol.for("@azure/core-client original request");function rve(t){return FV in t}o(rve,"hasOriginalRequest");function qV(t){if(rve(t))return qV(t[FV]);let e=kV.state.operationRequestMap.get(t);return e||(e={},kV.state.operationRequestMap.set(t,e)),e}o(qV,"getOperationRequestInfo")});var b0=g(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});rl.deserializationPolicyName=void 0;rl.deserializationPolicy=ove;var nve=Lu(),im=Ot(),HV=Fu(),I0=qu(),ive=["application/json","text/json"],sve=["application/xml","application/atom+xml"];rl.deserializationPolicyName="deserializationPolicy";function ove(t={}){let e=t.expectedContentTypes?.json??ive,r=t.expectedContentTypes?.xml??sve,n=t.parseXML,i=t.serializerOptions,s={xml:{rootName:i?.xml.rootName??"",includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??nve.XML_CHARKEY}};return{name:rl.deserializationPolicyName,async sendRequest(a,c){let l=await c(a);return lve(e,r,l,s,n)}}}o(ove,"deserializationPolicy");function ave(t){let e,r=t.request,n=(0,I0.getOperationRequestInfo)(r),i=n?.operationSpec;return i&&(n?.operationResponseGetter?e=n?.operationResponseGetter(i,t):e=i.responses[t.status]),e}o(ave,"getOperationResponseMap");function cve(t){let e=t.request,n=(0,I0.getOperationRequestInfo)(e)?.shouldDeserialize,i;return n===void 0?i=!0:typeof n=="boolean"?i=n:i=n(t),i}o(cve,"shouldDeserializeResponse");async function lve(t,e,r,n,i){let s=await dve(t,e,r,n,i);if(!cve(s))return s;let c=(0,I0.getOperationRequestInfo)(s.request)?.operationSpec;if(!c||!c.responses)return s;let l=ave(s),{error:A,shouldReturnResponse:u}=uve(s,c,l,n);if(A)throw A;if(u)return s;if(l){if(l.bodyMapper){let d=s.parsedBody;c.isXML&&l.bodyMapper.type.name===HV.MapperTypeNames.Sequence&&(d=typeof d=="object"?d[l.bodyMapper.xmlElementName]:[]);try{s.parsedBody=c.serializer.deserialize(l.bodyMapper,d,"operationRes.parsedBody",n)}catch(f){throw new im.RestError(`Error ${f} occurred in deserializing the responseBody - ${s.bodyAsText}`,{statusCode:s.status,request:s.request,response:s})}}else c.httpMethod==="HEAD"&&(s.parsedBody=r.status>=200&&r.status<300);l.headersMapper&&(s.parsedHeaders=c.serializer.deserialize(l.headersMapper,s.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return s}o(lve,"deserializeResponseBody");function Ave(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(Ave,"isOperationSpecEmpty");function uve(t,e,r,n){let i=200<=t.status&&t.status<300;if(Ave(e)?i:!!r)if(r){if(!r.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let a=r??e.responses.default,c=t.request.streamResponseStatusCodes?.has(t.status)?`Unexpected status code: ${t.status}`:t.bodyAsText,l=new im.RestError(c,{statusCode:t.status,request:t.request,response:t});if(!a&&!(t.parsedBody?.error?.code&&t.parsedBody?.error?.message))throw l;let A=a?.bodyMapper,u=a?.headersMapper;try{if(t.parsedBody){let d=t.parsedBody,f;if(A){let C=d;if(e.isXML&&A.type.name===HV.MapperTypeNames.Sequence){C=[];let Q=A.xmlElementName;typeof d=="object"&&Q&&(C=d[Q])}f=e.serializer.deserialize(A,C,"error.response.parsedBody",n)}let m=d.error||f||d;l.code=m.code,m.message&&(l.message=m.message),A&&(l.response.parsedBody=f)}t.headers&&u&&(l.response.parsedHeaders=e.serializer.deserialize(u,t.headers.toJSON(),"operationRes.parsedHeaders"))}catch(d){l.message=`Error "${d.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:l,shouldReturnResponse:!1}}o(uve,"handleErrorResponse");async function dve(t,e,r,n,i){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let s=r.bodyAsText,a=r.headers.get("Content-Type")||"",c=a?a.split(";").map(l=>l.toLowerCase()):[];try{if(c.length===0||c.some(l=>t.indexOf(l)!==-1))return r.parsedBody=JSON.parse(s),r;if(c.some(l=>e.indexOf(l)!==-1)){if(!i)throw new Error("Parsing XML not supported.");let l=await i(s,n.xml);return r.parsedBody=l,r}}catch(l){let A=`Error "${l}" occurred while parsing the response body - ${r.bodyAsText}.`,u=l.code||im.RestError.PARSE_ERROR;throw new im.RestError(A,{code:u,statusCode:r.status,request:r.request,response:r})}}return r}o(dve,"parse")});var om=g(sm=>{"use strict";Object.defineProperty(sm,"__esModule",{value:!0});sm.getStreamingResponseStatusCodes=hve;sm.getPathStringFromParameter=fve;var pve=Fu();function hve(t){let e=new Set;for(let r in t.responses){let n=t.responses[r];n.bodyMapper&&n.bodyMapper.type.name===pve.MapperTypeNames.Stream&&e.add(Number(r))}return e}o(hve,"getStreamingResponseStatusCodes");function fve(t){let{parameterPath:e,mapper:r}=t,n;return typeof e=="string"?n=e:Array.isArray(e)?n=e.join("."):n=r.serializedName,n}o(fve,"getPathStringFromParameter")});var N0=g($s=>{"use strict";Object.defineProperty($s,"__esModule",{value:!0});$s.serializationPolicyName=void 0;$s.serializationPolicy=mve;$s.serializeHeaders=zV;$s.serializeRequestBody=jV;var w0=Lu(),am=qu(),Q0=Fu(),Hu=om();$s.serializationPolicyName="serializationPolicy";function mve(t={}){let e=t.stringifyXML;return{name:$s.serializationPolicyName,async sendRequest(r,n){let i=(0,am.getOperationRequestInfo)(r),s=i?.operationSpec,a=i?.operationArguments;return s&&a&&(zV(r,a,s),jV(r,a,s,e)),n(r)}}}o(mve,"serializationPolicy");function zV(t,e,r){if(r.headerParameters)for(let i of r.headerParameters){let s=(0,am.getOperationArgumentValueFromParameter)(e,i);if(s!=null||i.mapper.required){s=r.serializer.serialize(i.mapper,s,(0,Hu.getPathStringFromParameter)(i));let a=i.mapper.headerCollectionPrefix;if(a)for(let c of Object.keys(s))t.headers.set(a+c,s[c]);else t.headers.set(i.mapper.serializedName||(0,Hu.getPathStringFromParameter)(i),s)}}let n=e.options?.requestOptions?.customHeaders;if(n)for(let i of Object.keys(n))t.headers.set(i,n[i])}o(zV,"serializeHeaders");function jV(t,e,r,n=function(){throw new Error("XML serialization unsupported!")}){let i=e.options?.serializerOptions,s={xml:{rootName:i?.xml.rootName??"",includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??w0.XML_CHARKEY}},a=s.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=(0,am.getOperationArgumentValueFromParameter)(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:A,xmlName:u,xmlElementName:d,xmlNamespace:f,xmlNamespacePrefix:m,nullable:C}=c,Q=c.type.name;try{if(t.body!==void 0&&t.body!==null||C&&t.body===null||l){let S=(0,Hu.getPathStringFromParameter)(r.requestBody);t.body=r.serializer.serialize(c,t.body,S,s);let w=Q===Q0.MapperTypeNames.Stream;if(r.isXML){let R=m?`xmlns:${m}`:"xmlns",T=gve(f,R,Q,t.body,s);Q===Q0.MapperTypeNames.Sequence?t.body=n(yve(T,d||u||A,R,f),{rootName:u||A,xmlCharKey:a}):w||(t.body=n(T,{rootName:u||A,xmlCharKey:a}))}else{if(Q===Q0.MapperTypeNames.String&&(r.contentType?.match("text/plain")||r.mediaType==="text"))return;w||(t.body=JSON.stringify(t.body))}}}catch(S){throw new Error(`Error "${S.message}" occurred in serializing the payload - ${JSON.stringify(A,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){t.formData={};for(let c of r.formDataParameters){let l=(0,am.getOperationArgumentValueFromParameter)(e,c);if(l!=null){let A=c.mapper.serializedName||(0,Hu.getPathStringFromParameter)(c);t.formData[A]=r.serializer.serialize(c.mapper,l,(0,Hu.getPathStringFromParameter)(c),s)}}}}o(jV,"serializeRequestBody");function gve(t,e,r,n,i){if(t&&!["Composite","Sequence","Dictionary"].includes(r)){let s={};return s[i.xml.xmlCharKey]=n,s[w0.XML_ATTRKEY]={[e]:t},s}return n}o(gve,"getXmlValueWithNamespace");function yve(t,e,r,n){if(Array.isArray(t)||(t=[t]),!r||!n)return{[e]:t};let i={[e]:t};return i[w0.XML_ATTRKEY]={[r]:n},i}o(yve,"prepareXMLRootList")});var S0=g(x0=>{"use strict";Object.defineProperty(x0,"__esModule",{value:!0});x0.createClientPipeline=Bve;var Cve=b0(),GV=Ot(),Eve=N0();function Bve(t={}){let e=(0,GV.createPipelineFromOptions)(t??{});return t.credentialOptions&&e.addPolicy((0,GV.bearerTokenAuthenticationPolicy)({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy((0,Eve.serializationPolicy)(t.serializationOptions),{phase:"Serialize"}),e.addPolicy((0,Cve.deserializationPolicy)(t.deserializationOptions),{phase:"Deserialize"}),e}o(Bve,"createClientPipeline")});var YV=g(_0=>{"use strict";Object.defineProperty(_0,"__esModule",{value:!0});_0.getCachedDefaultHttpClient=bve;var Ive=Ot(),R0;function bve(){return R0||(R0=(0,Ive.createDefaultHttpClient)()),R0}o(bve,"getCachedDefaultHttpClient")});var $V=g(cm=>{"use strict";Object.defineProperty(cm,"__esModule",{value:!0});cm.getRequestUrl=wve;cm.appendQueryParams=WV;var VV=qu(),v0=om(),Qve={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function wve(t,e,r,n){let i=Nve(e,r,n),s=!1,a=JV(t,i);if(e.path){let A=JV(e.path,i);e.path==="/{nextLink}"&&A.startsWith("/")&&(A=A.substring(1)),xve(A)?(a=A,s=!0):a=Sve(a,A)}let{queryParams:c,sequenceParams:l}=Rve(e,r,n);return a=WV(a,c,l,s),a}o(wve,"getRequestUrl");function JV(t,e){let r=t;for(let[n,i]of e)r=r.split(n).join(i);return r}o(JV,"replaceAll");function Nve(t,e,r){let n=new Map;if(t.urlParameters?.length)for(let i of t.urlParameters){let s=(0,VV.getOperationArgumentValueFromParameter)(e,i,r),a=(0,v0.getPathStringFromParameter)(i);s=t.serializer.serialize(i.mapper,s,a),i.skipEncoding||(s=encodeURIComponent(s)),n.set(`{${i.mapper.serializedName||a}}`,s)}return n}o(Nve,"calculateUrlReplacements");function xve(t){return t.includes("://")}o(xve,"isAbsoluteUrl");function Sve(t,e){if(!e)return t;let r=new URL(t),n=r.pathname;n.endsWith("/")||(n=`${n}/`),e.startsWith("/")&&(e=e.substring(1));let i=e.indexOf("?");if(i!==-1){let s=e.substring(0,i),a=e.substring(i+1);n=n+s,a&&(r.search=r.search?`${r.search}&${a}`:a)}else n=n+e;return r.pathname=n,r.toString()}o(Sve,"appendPath");function Rve(t,e,r){let n=new Map,i=new Set;if(t.queryParameters?.length)for(let s of t.queryParameters){s.mapper.type.name==="Sequence"&&s.mapper.serializedName&&i.add(s.mapper.serializedName);let a=(0,VV.getOperationArgumentValueFromParameter)(e,s,r);if(a!=null||s.mapper.required){a=t.serializer.serialize(s.mapper,a,(0,v0.getPathStringFromParameter)(s));let c=s.collectionFormat?Qve[s.collectionFormat]:"";if(Array.isArray(a)&&(a=a.map(l=>l??"")),s.collectionFormat==="Multi"&&a.length===0)continue;Array.isArray(a)&&(s.collectionFormat==="SSV"||s.collectionFormat==="TSV")&&(a=a.join(c)),s.skipEncoding||(Array.isArray(a)?a=a.map(l=>encodeURIComponent(l)):a=encodeURIComponent(a)),Array.isArray(a)&&(s.collectionFormat==="CSV"||s.collectionFormat==="Pipes")&&(a=a.join(c)),n.set(s.mapper.serializedName||(0,v0.getPathStringFromParameter)(s),a)}}return{queryParams:n,sequenceParams:i}}o(Rve,"calculateQueryParameters");function _ve(t){let e=new Map;if(!t||t[0]!=="?")return e;t=t.slice(1);let r=t.split("&");for(let n of r){let[i,s]=n.split("=",2),a=e.get(i);a?Array.isArray(a)?a.push(s):e.set(i,[a,s]):e.set(i,s)}return e}o(_ve,"simpleParseQueryParams");function WV(t,e,r,n=!1){if(e.size===0)return t;let i=new URL(t),s=_ve(i.search);for(let[c,l]of e){let A=s.get(c);if(Array.isArray(A))if(Array.isArray(l)){A.push(...l);let u=new Set(A);s.set(c,Array.from(u))}else A.push(l);else A?(Array.isArray(l)?l.unshift(A):r.has(c)&&s.set(c,[A,l]),n||s.set(c,l)):s.set(c,l)}let a=[];for(let[c,l]of s)if(typeof l=="string")a.push(`${c}=${l}`);else if(Array.isArray(l))for(let A of l)a.push(`${c}=${A}`);else a.push(`${c}=${l}`);return i.search=a.length?`?${a.join("&")}`:"",i.toString()}o(WV,"appendQueryParams")});var P0=g(lm=>{"use strict";Object.defineProperty(lm,"__esModule",{value:!0});lm.logger=void 0;var vve=Jc();lm.logger=(0,vve.createClientLogger)("core-client")});var XV=g(Am=>{"use strict";Object.defineProperty(Am,"__esModule",{value:!0});Am.ServiceClient=void 0;var Pve=Ot(),Dve=S0(),KV=C0(),Tve=YV(),Ove=qu(),Mve=$V(),kve=om(),Lve=P0(),D0=class{static{o(this,"ServiceClient")}_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&Lve.logger.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||(0,Tve.getCachedDefaultHttpClient)(),this.pipeline=e.pipeline||Uve(e),e.additionalPolicies?.length)for(let{policy:r,position:n}of e.additionalPolicies){let i=n==="perRetry"?"Sign":void 0;this.pipeline.addPolicy(r,{afterPhase:i})}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,r){let n=r.baseUrl||this._endpoint;if(!n)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.");let i=(0,Mve.getRequestUrl)(n,r,e,this),s=(0,Pve.createPipelineRequest)({url:i});s.method=r.httpMethod;let a=(0,Ove.getOperationRequestInfo)(s);a.operationSpec=r,a.operationArguments=e;let c=r.contentType||this._requestContentType;c&&r.requestBody&&s.headers.set("Content-Type",c);let l=e.options;if(l){let A=l.requestOptions;A&&(A.timeout&&(s.timeout=A.timeout),A.onUploadProgress&&(s.onUploadProgress=A.onUploadProgress),A.onDownloadProgress&&(s.onDownloadProgress=A.onDownloadProgress),A.shouldDeserialize!==void 0&&(a.shouldDeserialize=A.shouldDeserialize),A.allowInsecureConnection&&(s.allowInsecureConnection=!0)),l.abortSignal&&(s.abortSignal=l.abortSignal),l.tracingOptions&&(s.tracingOptions=l.tracingOptions)}this._allowInsecureConnection&&(s.allowInsecureConnection=!0),s.streamResponseStatusCodes===void 0&&(s.streamResponseStatusCodes=(0,kve.getStreamingResponseStatusCodes)(r));try{let A=await this.sendRequest(s),u=(0,KV.flattenResponse)(A,r.responses[A.status]);return l?.onResponse&&l.onResponse(A,u),u}catch(A){if(typeof A=="object"&&A?.response){let u=A.response,d=(0,KV.flattenResponse)(u,r.responses[A.statusCode]||r.responses.default);A.details=d,l?.onResponse&&l.onResponse(u,d,A)}throw A}}};Am.ServiceClient=D0;function Uve(t){let e=Fve(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return(0,Dve.createClientPipeline)({...t,credentialOptions:r})}o(Uve,"createDefaultPipeline");function Fve(t){if(t.credentialScopes)return t.credentialScopes;if(t.endpoint)return`${t.endpoint}/.default`;if(t.baseUri)return`${t.baseUri}/.default`;if(t.credential&&!t.credentialScopes)throw new Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}o(Fve,"getCredentialScopes")});var eW=g(um=>{"use strict";Object.defineProperty(um,"__esModule",{value:!0});um.parseCAEChallenge=ZV;um.authorizeRequestOnClaimChallenge=zve;var qve=P0(),Hve=y0();function ZV(t){return`, ${t.trim()}`.split(", Bearer ").filter(r=>r).map(r=>`${r.trim()}, `.split('", ').filter(s=>s).map(s=>(([a,c])=>({[a]:c}))(s.trim().split('="'))).reduce((s,a)=>({...s,...a}),{}))}o(ZV,"parseCAEChallenge");async function zve(t){let{scopes:e,response:r}=t,n=t.logger||qve.logger,i=r.headers.get("WWW-Authenticate");if(!i)return n.info("The WWW-Authenticate header was missing. Failed to perform the Continuous Access Evaluation authentication flow."),!1;let a=(ZV(i)||[]).find(l=>l.claims);if(!a)return n.info('The WWW-Authenticate header was missing the necessary "claims" to perform the Continuous Access Evaluation authentication flow.'),!1;let c=await t.getAccessToken(a.scope?[a.scope]:e,{claims:(0,Hve.decodeStringToString)(a.claims)});return c?(t.request.headers.set("Authorization",`${c.tokenType??"Bearer"} ${c.token}`),!0):!1}o(zve,"authorizeRequestOnClaimChallenge")});var rW=g(dm=>{"use strict";Object.defineProperty(dm,"__esModule",{value:!0});dm.authorizeRequestOnTenantChallenge=void 0;var tW={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function jve(t){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(t)}o(jve,"isUuid");var Gve=o(async t=>{let e=$ve(t.request),r=Vve(t.response);if(r){let n=Wve(r),i=Jve(t,n),s=Yve(n);if(!s)return!1;let a=await t.getAccessToken(i,{...e,tenantId:s});return a?(t.request.headers.set(tW.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");dm.authorizeRequestOnTenantChallenge=Gve;function Yve(t){let n=new URL(t.authorization_uri).pathname.split("/")[1];if(n&&jve(n))return n}o(Yve,"extractTenantId");function Jve(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=tW.DefaultScope;let n=r.toString();return n==="https://disk.azure.com/.default"&&(n="https://disk.azure.com//.default"),[n]}o(Jve,"buildScopes");function Vve(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(Vve,"getChallenge");function Wve(t){return`${t.slice(7).trim()} `.split(" ").filter(i=>i).map(i=>(([s,a])=>({[s]:a}))(i.trim().split("="))).reduce((i,s)=>({...i,...s}),{})}o(Wve,"parseChallenge");function $ve(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o($ve,"requestToOptions")});var xi=g(We=>{"use strict";Object.defineProperty(We,"__esModule",{value:!0});We.authorizeRequestOnTenantChallenge=We.authorizeRequestOnClaimChallenge=We.serializationPolicyName=We.serializationPolicy=We.deserializationPolicyName=We.deserializationPolicy=We.XML_CHARKEY=We.XML_ATTRKEY=We.createClientPipeline=We.ServiceClient=We.MapperTypeNames=We.createSerializer=void 0;var nW=Fu();Object.defineProperty(We,"createSerializer",{enumerable:!0,get:function(){return nW.createSerializer}});Object.defineProperty(We,"MapperTypeNames",{enumerable:!0,get:function(){return nW.MapperTypeNames}});var Kve=XV();Object.defineProperty(We,"ServiceClient",{enumerable:!0,get:function(){return Kve.ServiceClient}});var Xve=S0();Object.defineProperty(We,"createClientPipeline",{enumerable:!0,get:function(){return Xve.createClientPipeline}});var iW=Lu();Object.defineProperty(We,"XML_ATTRKEY",{enumerable:!0,get:function(){return iW.XML_ATTRKEY}});Object.defineProperty(We,"XML_CHARKEY",{enumerable:!0,get:function(){return iW.XML_CHARKEY}});var sW=b0();Object.defineProperty(We,"deserializationPolicy",{enumerable:!0,get:function(){return sW.deserializationPolicy}});Object.defineProperty(We,"deserializationPolicyName",{enumerable:!0,get:function(){return sW.deserializationPolicyName}});var oW=N0();Object.defineProperty(We,"serializationPolicy",{enumerable:!0,get:function(){return oW.serializationPolicy}});Object.defineProperty(We,"serializationPolicyName",{enumerable:!0,get:function(){return oW.serializationPolicyName}});var Zve=eW();Object.defineProperty(We,"authorizeRequestOnClaimChallenge",{enumerable:!0,get:function(){return Zve.authorizeRequestOnClaimChallenge}});var ePe=rW();Object.defineProperty(We,"authorizeRequestOnTenantChallenge",{enumerable:!0,get:function(){return ePe.authorizeRequestOnTenantChallenge}})});var ju=g(ta=>{"use strict";Object.defineProperty(ta,"__esModule",{value:!0});ta.HttpHeaders=void 0;ta.toPipelineRequest=lW;ta.toWebResourceLike=AW;ta.toHttpHeadersLike=uW;var aW=Ot(),cW=Symbol("Original PipelineRequest"),tPe=Symbol.for("@azure/core-client original request");function lW(t,e={}){let n=t[cW],i=(0,aW.createHttpHeaders)(t.headers.toJson({preserveCase:!0}));if(n)return n.headers=i,n;{let s=(0,aW.createPipelineRequest)({url:t.url,method:t.method,headers:i,withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,disableKeepAlive:!!t.keepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides});return e.originalRequest&&(s[tPe]=e.originalRequest),s}}o(lW,"toPipelineRequest");function AW(t,e){let r=e?.originalRequest??t,n={url:t.url,method:t.method,headers:uW(t.headers),withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.headers.get("x-ms-client-request-id")||t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,keepAlive:!!t.disableKeepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.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(){}};return e?.createProxy?new Proxy(n,{get(i,s,a){return s===cW?t:s==="clone"?()=>AW(lW(n,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(i,s,a)},set(i,s,a,c){return s==="keepAlive"&&(t.disableKeepAlive=!a),typeof s=="string"&&["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"].includes(s)&&(t[s]=a),Reflect.set(i,s,a,c)}}):n}o(AW,"toWebResourceLike");function uW(t){return new pm(t.toJSON({preserveCase:!0}))}o(uW,"toHttpHeadersLike");function zu(t){return t.toLowerCase()}o(zu,"getHeaderKey");var pm=class t{static{o(this,"HttpHeaders")}_headersMap;constructor(e){if(this._headersMap={},e)for(let r in e)this.set(r,e[r])}set(e,r){this._headersMap[zu(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[zu(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[zu(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[zu(e)],r}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let r in this._headersMap)e.push(this._headersMap[r]);return e}headerNames(){let e=[],r=this.headersArray();for(let n=0;n<r.length;++n)e.push(r[n].name);return e}headerValues(){let e=[],r=this.headersArray();for(let n=0;n<r.length;++n)e.push(r[n].value);return e}toJson(e={}){let r={};if(e.preserveCase)for(let n in this._headersMap){let i=this._headersMap[n];r[i.name]=i.value}else for(let n in this._headersMap){let i=this._headersMap[n];r[zu(i.name)]=i.value}return r}toString(){return JSON.stringify(this.toJson({preserveCase:!0}))}clone(){let e={};for(let r in this._headersMap){let n=this._headersMap[r];e[n.name]=n.value}return new t(e)}};ta.HttpHeaders=pm});var fm=g(hm=>{"use strict";Object.defineProperty(hm,"__esModule",{value:!0});hm.toCompatResponse=nPe;hm.toPipelineResponse=iPe;var rPe=Ot(),T0=ju(),dW=Symbol("Original FullOperationResponse");function nPe(t,e){let r=(0,T0.toWebResourceLike)(t.request),n=(0,T0.toHttpHeadersLike)(t.headers);return e?.createProxy?new Proxy(t,{get(i,s,a){return s==="headers"?n:s==="request"?r:s===dW?t:Reflect.get(i,s,a)},set(i,s,a,c){return s==="headers"?n=a:s==="request"&&(r=a),Reflect.set(i,s,a,c)}}):{...t,request:r,headers:n}}o(nPe,"toCompatResponse");function iPe(t){let r=t[dW],n=(0,rPe.createHttpHeaders)(t.headers.toJson({preserveCase:!0}));return r?(r.headers=n,r):{...t,headers:n,request:(0,T0.toPipelineRequest)(t.request)}}o(iPe,"toPipelineResponse")});var hW=g(mm=>{"use strict";Object.defineProperty(mm,"__esModule",{value:!0});mm.ExtendedServiceClient=void 0;var pW=h0(),sPe=Ot(),oPe=xi(),aPe=fm(),O0=class extends oPe.ServiceClient{static{o(this,"ExtendedServiceClient")}constructor(e){super(e),e.keepAliveOptions?.enable===!1&&!(0,pW.pipelineContainsDisableKeepAlivePolicy)(this.pipeline)&&this.pipeline.addPolicy((0,pW.createDisableKeepAlivePolicy)()),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:sPe.redirectPolicyName})}async sendOperationRequest(e,r){let n=e?.options?.onResponse,i;function s(c,l,A){i=c,n&&n(c,l,A)}o(s,"onResponse"),e.options={...e.options,onResponse:s};let a=await super.sendOperationRequest(e,r);return i&&Object.defineProperty(a,"_response",{value:(0,aPe.toCompatResponse)(i)}),a}};mm.ExtendedServiceClient=O0});var yW=g(Ks=>{"use strict";Object.defineProperty(Ks,"__esModule",{value:!0});Ks.requestPolicyFactoryPolicyName=Ks.HttpPipelineLogLevel=void 0;Ks.createRequestPolicyFactoryPolicy=lPe;var fW=ju(),mW=fm(),gW;(function(t){t[t.ERROR=1]="ERROR",t[t.INFO=3]="INFO",t[t.OFF=0]="OFF",t[t.WARNING=2]="WARNING"})(gW||(Ks.HttpPipelineLogLevel=gW={}));var cPe={log(t,e){},shouldLog(t){return!1}};Ks.requestPolicyFactoryPolicyName="RequestPolicyFactoryPolicy";function lPe(t){let e=t.slice().reverse();return{name:Ks.requestPolicyFactoryPolicyName,async sendRequest(r,n){let i={async sendRequest(c){let l=await n((0,fW.toPipelineRequest)(c));return(0,mW.toCompatResponse)(l,{createProxy:!0})}};for(let c of e)i=c.create(i,cPe);let s=(0,fW.toWebResourceLike)(r,{createProxy:!0}),a=await i.sendRequest(s);return(0,mW.toPipelineResponse)(a)}}}o(lPe,"createRequestPolicyFactoryPolicy")});var CW=g(M0=>{"use strict";Object.defineProperty(M0,"__esModule",{value:!0});M0.convertHttpClient=dPe;var APe=fm(),uPe=ju();function dPe(t){return{sendRequest:async e=>{let r=await t.sendRequest((0,uPe.toWebResourceLike)(e,{createProxy:!0}));return(0,APe.toPipelineResponse)(r)}}}o(dPe,"convertHttpClient")});var gm=g(or=>{"use strict";Object.defineProperty(or,"__esModule",{value:!0});or.toHttpHeadersLike=or.convertHttpClient=or.disableKeepAlivePolicyName=or.HttpPipelineLogLevel=or.createRequestPolicyFactoryPolicy=or.requestPolicyFactoryPolicyName=or.ExtendedServiceClient=void 0;var pPe=hW();Object.defineProperty(or,"ExtendedServiceClient",{enumerable:!0,get:function(){return pPe.ExtendedServiceClient}});var k0=yW();Object.defineProperty(or,"requestPolicyFactoryPolicyName",{enumerable:!0,get:function(){return k0.requestPolicyFactoryPolicyName}});Object.defineProperty(or,"createRequestPolicyFactoryPolicy",{enumerable:!0,get:function(){return k0.createRequestPolicyFactoryPolicy}});Object.defineProperty(or,"HttpPipelineLogLevel",{enumerable:!0,get:function(){return k0.HttpPipelineLogLevel}});var hPe=h0();Object.defineProperty(or,"disableKeepAlivePolicyName",{enumerable:!0,get:function(){return hPe.disableKeepAlivePolicyName}});var fPe=CW();Object.defineProperty(or,"convertHttpClient",{enumerable:!0,get:function(){return fPe.convertHttpClient}});var mPe=ju();Object.defineProperty(or,"toHttpHeadersLike",{enumerable:!0,get:function(){return mPe.toHttpHeadersLike}})});var BW=g((U3e,EW)=>{(()=>{"use strict";var t={d:(y,p)=>{for(var h in p)t.o(p,h)&&!t.o(y,h)&&Object.defineProperty(y,h,{enumerable:!0,get:p[h]})},o:(y,p)=>Object.prototype.hasOwnProperty.call(y,p),r:y=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{XMLBuilder:()=>o9,XMLParser:()=>K5,XMLValidator:()=>a9});let r=":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",n=new RegExp("^["+r+"]["+r+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function i(y,p){let h=[],b=p.exec(y);for(;b;){let x=[];x.startIndex=p.lastIndex-b[0].length;let N=b.length;for(let k=0;k<N;k++)x.push(b[k]);h.push(x),b=p.exec(y)}return h}o(i,"s");let s=o(function(y){return n.exec(y)!=null},"r"),a={allowBooleanAttributes:!1,unpairedTags:[]};function c(y,p){p=Object.assign({},a,p);let h=[],b=!1,x=!1;y[0]==="\uFEFF"&&(y=y.substr(1));for(let N=0;N<y.length;N++)if(y[N]==="<"&&y[N+1]==="?"){if(N+=2,N=A(y,N),N.err)return N}else{if(y[N]!=="<"){if(l(y[N]))continue;return w("InvalidChar","char '"+y[N]+"' is not expected.",L(y,N))}{let k=N;if(N++,y[N]==="!"){N=u(y,N);continue}{let _=!1;y[N]==="/"&&(_=!0,N++);let M="";for(;N<y.length&&y[N]!==">"&&y[N]!==" "&&y[N]!==" "&&y[N]!==`
`&&y[N]!=="\r";N++)M+=y[N];if(M=M.trim(),M[M.length-1]==="/"&&(M=M.substring(0,M.length-1),N--),!T(M)){let $;return $=M.trim().length===0?"Invalid space after '<'.":"Tag '"+M+"' is an invalid name.",w("InvalidTag",$,L(y,N))}let q=m(y,N);if(q===!1)return w("InvalidAttr","Attributes for '"+M+"' have open quote.",L(y,N));let G=q.value;if(N=q.index,G[G.length-1]==="/"){let $=N-G.length;G=G.substring(0,G.length-1);let be=Q(G,p);if(be!==!0)return w(be.err.code,be.err.msg,L(y,$+be.err.line));b=!0}else if(_){if(!q.tagClosed)return w("InvalidTag","Closing tag '"+M+"' doesn't have proper closing.",L(y,N));if(G.trim().length>0)return w("InvalidTag","Closing tag '"+M+"' can't have attributes or invalid starting.",L(y,k));if(h.length===0)return w("InvalidTag","Closing tag '"+M+"' has not been opened.",L(y,k));{let $=h.pop();if(M!==$.tagName){let be=L(y,$.tagStartPos);return w("InvalidTag","Expected closing tag '"+$.tagName+"' (opened in line "+be.line+", col "+be.col+") instead of closing tag '"+M+"'.",L(y,k))}h.length==0&&(x=!0)}}else{let $=Q(G,p);if($!==!0)return w($.err.code,$.err.msg,L(y,N-G.length+$.err.line));if(x===!0)return w("InvalidXml","Multiple possible root nodes found.",L(y,N));p.unpairedTags.indexOf(M)!==-1||h.push({tagName:M,tagStartPos:k}),b=!0}for(N++;N<y.length;N++)if(y[N]==="<"){if(y[N+1]==="!"){N++,N=u(y,N);continue}if(y[N+1]!=="?")break;if(N=A(y,++N),N.err)return N}else if(y[N]==="&"){let $=S(y,N);if($==-1)return w("InvalidChar","char '&' is not expected.",L(y,N));N=$}else if(x===!0&&!l(y[N]))return w("InvalidXml","Extra text at the end",L(y,N));y[N]==="<"&&N--}}}return b?h.length==1?w("InvalidTag","Unclosed tag '"+h[0].tagName+"'.",L(y,h[0].tagStartPos)):!(h.length>0)||w("InvalidXml","Invalid '"+JSON.stringify(h.map(N=>N.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):w("InvalidXml","Start tag expected.",1)}o(c,"a");function l(y){return y===" "||y===" "||y===`
`||y==="\r"}o(l,"h");function A(y,p){let h=p;for(;p<y.length;p++)if(y[p]=="?"||y[p]==" "){let b=y.substr(h,p-h);if(p>5&&b==="xml")return w("InvalidXml","XML declaration allowed only at the start of the document.",L(y,p));if(y[p]=="?"&&y[p+1]==">"){p++;break}continue}return p}o(A,"l");function u(y,p){if(y.length>p+5&&y[p+1]==="-"&&y[p+2]==="-"){for(p+=3;p<y.length;p++)if(y[p]==="-"&&y[p+1]==="-"&&y[p+2]===">"){p+=2;break}}else if(y.length>p+8&&y[p+1]==="D"&&y[p+2]==="O"&&y[p+3]==="C"&&y[p+4]==="T"&&y[p+5]==="Y"&&y[p+6]==="P"&&y[p+7]==="E"){let h=1;for(p+=8;p<y.length;p++)if(y[p]==="<")h++;else if(y[p]===">"&&(h--,h===0))break}else if(y.length>p+9&&y[p+1]==="["&&y[p+2]==="C"&&y[p+3]==="D"&&y[p+4]==="A"&&y[p+5]==="T"&&y[p+6]==="A"&&y[p+7]==="["){for(p+=8;p<y.length;p++)if(y[p]==="]"&&y[p+1]==="]"&&y[p+2]===">"){p+=2;break}}return p}o(u,"p");let d='"',f="'";function m(y,p){let h="",b="",x=!1;for(;p<y.length;p++){if(y[p]===d||y[p]===f)b===""?b=y[p]:b!==y[p]||(b="");else if(y[p]===">"&&b===""){x=!0;break}h+=y[p]}return b===""&&{value:h,index:p,tagClosed:x}}o(m,"d");let C=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function Q(y,p){let h=i(y,C),b={};for(let x=0;x<h.length;x++){if(h[x][1].length===0)return w("InvalidAttr","Attribute '"+h[x][2]+"' has no space in starting.",W(h[x]));if(h[x][3]!==void 0&&h[x][4]===void 0)return w("InvalidAttr","Attribute '"+h[x][2]+"' is without value.",W(h[x]));if(h[x][3]===void 0&&!p.allowBooleanAttributes)return w("InvalidAttr","boolean attribute '"+h[x][2]+"' is not allowed.",W(h[x]));let N=h[x][2];if(!R(N))return w("InvalidAttr","Attribute '"+N+"' is an invalid name.",W(h[x]));if(Object.prototype.hasOwnProperty.call(b,N))return w("InvalidAttr","Attribute '"+N+"' is repeated.",W(h[x]));b[N]=1}return!0}o(Q,"g");function S(y,p){if(y[++p]===";")return-1;if(y[p]==="#")return function(b,x){let N=/\d/;for(b[x]==="x"&&(x++,N=/[\da-fA-F]/);x<b.length;x++){if(b[x]===";")return x;if(!b[x].match(N))break}return-1}(y,++p);let h=0;for(;p<y.length;p++,h++)if(!(y[p].match(/\w/)&&h<20)){if(y[p]===";")break;return-1}return p}o(S,"m");function w(y,p,h){return{err:{code:y,msg:p,line:h.line||h,col:h.col}}}o(w,"x");function R(y){return s(y)}o(R,"N");function T(y){return s(y)}o(T,"b");function L(y,p){let h=y.substring(0,p).split(/\r?\n/);return{line:h.length,col:h[h.length-1].length+1}}o(L,"E");function W(y){return y.startIndex+y[1].length}o(W,"y");let de={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(y,p){return p},attributeValueProcessor:function(y,p){return p},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(y,p,h){return y},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0};function le(y){return typeof y=="boolean"?{enabled:y,maxEntitySize:1e4,maxExpansionDepth:10,maxTotalExpansions:1e3,maxExpandedLength:1e5,maxEntityCount:100,allowedTags:null,tagFilter:null}:typeof y=="object"&&y!==null?{enabled:y.enabled!==!1,maxEntitySize:y.maxEntitySize??1e4,maxExpansionDepth:y.maxExpansionDepth??10,maxTotalExpansions:y.maxTotalExpansions??1e3,maxExpandedLength:y.maxExpandedLength??1e5,maxEntityCount:y.maxEntityCount??100,allowedTags:y.allowedTags??null,tagFilter:y.tagFilter??null}:le(!0)}o(le,"v");let Te=o(function(y){let p=Object.assign({},de,y);return p.processEntities=le(p.processEntities),p.stopNodes&&Array.isArray(p.stopNodes)&&(p.stopNodes=p.stopNodes.map(h=>typeof h=="string"&&h.startsWith("*.")?".."+h.substring(2):h)),p},"T"),Oe;Oe=typeof Symbol!="function"?"@@xmlMetadata":Symbol("XML Node Metadata");class He{static{o(this,"S")}constructor(p){this.tagname=p,this.child=[],this[":@"]=Object.create(null)}add(p,h){p==="__proto__"&&(p="#__proto__"),this.child.push({[p]:h})}addChild(p,h){p.tagname==="__proto__"&&(p.tagname="#__proto__"),p[":@"]&&Object.keys(p[":@"]).length>0?this.child.push({[p.tagname]:p.child,":@":p[":@"]}):this.child.push({[p.tagname]:p.child}),h!==void 0&&(this.child[this.child.length-1][Oe]={startIndex:h})}static getMetaDataSymbol(){return Oe}}class Xe{static{o(this,"A")}constructor(p){this.suppressValidationErr=!p,this.options=p}readDocType(p,h){let b=Object.create(null),x=0;if(p[h+3]!=="O"||p[h+4]!=="C"||p[h+5]!=="T"||p[h+6]!=="Y"||p[h+7]!=="P"||p[h+8]!=="E")throw new Error("Invalid Tag instead of DOCTYPE");{h+=9;let N=1,k=!1,_=!1,M="";for(;h<p.length;h++)if(p[h]!=="<"||_)if(p[h]===">"){if(_?p[h-1]==="-"&&p[h-2]==="-"&&(_=!1,N--):N--,N===0)break}else p[h]==="["?k=!0:M+=p[h];else{if(k&&Ge(p,"!ENTITY",h)){let q,G;if(h+=7,[q,G,h]=this.readEntityExp(p,h+1,this.suppressValidationErr),G.indexOf("&")===-1){if(this.options.enabled!==!1&&this.options.maxEntityCount&&x>=this.options.maxEntityCount)throw new Error(`Entity count (${x+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);let $=q.replace(/[.\-+*:]/g,"\\.");b[q]={regx:RegExp(`&${$};`,"g"),val:G},x++}}else if(k&&Ge(p,"!ELEMENT",h)){h+=8;let{index:q}=this.readElementExp(p,h+1);h=q}else if(k&&Ge(p,"!ATTLIST",h))h+=8;else if(k&&Ge(p,"!NOTATION",h)){h+=9;let{index:q}=this.readNotationExp(p,h+1,this.suppressValidationErr);h=q}else{if(!Ge(p,"!--",h))throw new Error("Invalid DOCTYPE");_=!0}N++,M=""}if(N!==0)throw new Error("Unclosed DOCTYPE")}return{entities:b,i:h}}readEntityExp(p,h){h=fe(p,h);let b="";for(;h<p.length&&!/\s/.test(p[h])&&p[h]!=='"'&&p[h]!=="'";)b+=p[h],h++;if(ai(b),h=fe(p,h),!this.suppressValidationErr){if(p.substring(h,h+6).toUpperCase()==="SYSTEM")throw new Error("External entities are not supported");if(p[h]==="%")throw new Error("Parameter entities are not supported")}let x="";if([h,x]=this.readIdentifierVal(p,h,"entity"),this.options.enabled!==!1&&this.options.maxEntitySize&&x.length>this.options.maxEntitySize)throw new Error(`Entity "${b}" size (${x.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[b,x,--h]}readNotationExp(p,h){h=fe(p,h);let b="";for(;h<p.length&&!/\s/.test(p[h]);)b+=p[h],h++;!this.suppressValidationErr&&ai(b),h=fe(p,h);let x=p.substring(h,h+6).toUpperCase();if(!this.suppressValidationErr&&x!=="SYSTEM"&&x!=="PUBLIC")throw new Error(`Expected SYSTEM or PUBLIC, found "${x}"`);h+=x.length,h=fe(p,h);let N=null,k=null;if(x==="PUBLIC")[h,N]=this.readIdentifierVal(p,h,"publicIdentifier"),p[h=fe(p,h)]!=='"'&&p[h]!=="'"||([h,k]=this.readIdentifierVal(p,h,"systemIdentifier"));else if(x==="SYSTEM"&&([h,k]=this.readIdentifierVal(p,h,"systemIdentifier"),!this.suppressValidationErr&&!k))throw new Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:b,publicIdentifier:N,systemIdentifier:k,index:--h}}readIdentifierVal(p,h,b){let x="",N=p[h];if(N!=='"'&&N!=="'")throw new Error(`Expected quoted string, found "${N}"`);for(h++;h<p.length&&p[h]!==N;)x+=p[h],h++;if(p[h]!==N)throw new Error(`Unterminated ${b} value`);return[++h,x]}readElementExp(p,h){h=fe(p,h);let b="";for(;h<p.length&&!/\s/.test(p[h]);)b+=p[h],h++;if(!this.suppressValidationErr&&!s(b))throw new Error(`Invalid element name: "${b}"`);let x="";if(p[h=fe(p,h)]==="E"&&Ge(p,"MPTY",h))h+=4;else if(p[h]==="A"&&Ge(p,"NY",h))h+=2;else if(p[h]==="("){for(h++;h<p.length&&p[h]!==")";)x+=p[h],h++;if(p[h]!==")")throw new Error("Unterminated content model")}else if(!this.suppressValidationErr)throw new Error(`Invalid Element Expression, found "${p[h]}"`);return{elementName:b,contentModel:x.trim(),index:h}}readAttlistExp(p,h){h=fe(p,h);let b="";for(;h<p.length&&!/\s/.test(p[h]);)b+=p[h],h++;ai(b),h=fe(p,h);let x="";for(;h<p.length&&!/\s/.test(p[h]);)x+=p[h],h++;if(!ai(x))throw new Error(`Invalid attribute name: "${x}"`);h=fe(p,h);let N="";if(p.substring(h,h+8).toUpperCase()==="NOTATION"){if(N="NOTATION",p[h=fe(p,h+=8)]!=="(")throw new Error(`Expected '(', found "${p[h]}"`);h++;let _=[];for(;h<p.length&&p[h]!==")";){let M="";for(;h<p.length&&p[h]!=="|"&&p[h]!==")";)M+=p[h],h++;if(M=M.trim(),!ai(M))throw new Error(`Invalid notation name: "${M}"`);_.push(M),p[h]==="|"&&(h++,h=fe(p,h))}if(p[h]!==")")throw new Error("Unterminated list of notations");h++,N+=" ("+_.join("|")+")"}else{for(;h<p.length&&!/\s/.test(p[h]);)N+=p[h],h++;let _=["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"];if(!this.suppressValidationErr&&!_.includes(N.toUpperCase()))throw new Error(`Invalid attribute type: "${N}"`)}h=fe(p,h);let k="";return p.substring(h,h+8).toUpperCase()==="#REQUIRED"?(k="#REQUIRED",h+=8):p.substring(h,h+7).toUpperCase()==="#IMPLIED"?(k="#IMPLIED",h+=7):[h,k]=this.readIdentifierVal(p,h,"ATTLIST"),{elementName:b,attributeName:x,attributeType:N,defaultValue:k,index:h}}}let fe=o((y,p)=>{for(;p<y.length&&/\s/.test(y[p]);)p++;return p},"O");function Ge(y,p,h){for(let b=0;b<p.length;b++)if(p[b]!==y[h+b+1])return!1;return!0}o(Ge,"C");function ai(y){if(s(y))return y;throw new Error(`Invalid entity name ${y}`)}o(ai,"I");let Gi=/^[-+]?0x[a-fA-F0-9]+$/,Yi=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,SC={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0},RC=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;class Co{static{o(this,"_")}constructor(p={}){this.separator=p.separator||".",this.path=[],this.siblingStacks=[]}push(p,h=null,b=null){this.path.length>0&&(this.path[this.path.length-1].values=void 0);let x=this.path.length;this.siblingStacks[x]||(this.siblingStacks[x]=new Map);let N=this.siblingStacks[x],k=b?`${b}:${p}`:p,_=N.get(k)||0,M=0;for(let G of N.values())M+=G;N.set(k,_+1);let q={tag:p,position:M,counter:_};b!=null&&(q.namespace=b),h!=null&&(q.values=h),this.path.push(q)}pop(){if(this.path.length===0)return;let p=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),p}updateCurrent(p){if(this.path.length>0){let h=this.path[this.path.length-1];p!=null&&(h.values=p)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(p){return this.path.length===0?void 0:this.path[this.path.length-1].values?.[p]}hasAttr(p){if(this.path.length===0)return!1;let h=this.path[this.path.length-1];return h.values!==void 0&&p in h.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(p,h=!0){let b=p||this.separator;return this.path.map(x=>h&&x.namespace?`${x.namespace}:${x.tag}`:x.tag).join(b)}toArray(){return this.path.map(p=>p.tag)}reset(){this.path=[],this.siblingStacks=[]}matches(p){let h=p.segments;return h.length!==0&&(p.hasDeepWildcard()?this._matchWithDeepWildcard(h):this._matchSimple(h))}_matchSimple(p){if(this.path.length!==p.length)return!1;for(let h=0;h<p.length;h++){let b=p[h],x=this.path[h],N=h===this.path.length-1;if(!this._matchSegment(b,x,N))return!1}return!0}_matchWithDeepWildcard(p){let h=this.path.length-1,b=p.length-1;for(;b>=0&&h>=0;){let x=p[b];if(x.type==="deep-wildcard"){if(b--,b<0)return!0;let N=p[b],k=!1;for(let _=h;_>=0;_--){let M=_===this.path.length-1;if(this._matchSegment(N,this.path[_],M)){h=_-1,b--,k=!0;break}}if(!k)return!1}else{let N=h===this.path.length-1;if(!this._matchSegment(x,this.path[h],N))return!1;h--,b--}}return b<0}_matchSegment(p,h,b){if(p.tag!=="*"&&p.tag!==h.tag||p.namespace!==void 0&&p.namespace!=="*"&&p.namespace!==h.namespace)return!1;if(p.attrName!==void 0){if(!b||!h.values||!(p.attrName in h.values))return!1;if(p.attrValue!==void 0){let x=h.values[p.attrName];if(String(x)!==String(p.attrValue))return!1}}if(p.position!==void 0){if(!b)return!1;let x=h.counter??0;if(p.position==="first"&&x!==0||p.position==="odd"&&x%2!=1||p.position==="even"&&x%2!=0||p.position==="nth"&&x!==p.positionValue)return!1}return!0}snapshot(){return{path:this.path.map(p=>({...p})),siblingStacks:this.siblingStacks.map(p=>new Map(p))}}restore(p){this.path=p.path.map(h=>({...h})),this.siblingStacks=p.siblingStacks.map(h=>new Map(h))}}class Ji{static{o(this,"k")}constructor(p,h={}){this.pattern=p,this.separator=h.separator||".",this.segments=this._parse(p),this._hasDeepWildcard=this.segments.some(b=>b.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(b=>b.attrName!==void 0),this._hasPositionSelector=this.segments.some(b=>b.position!==void 0)}_parse(p){let h=[],b=0,x="";for(;b<p.length;)p[b]===this.separator?b+1<p.length&&p[b+1]===this.separator?(x.trim()&&(h.push(this._parseSegment(x.trim())),x=""),h.push({type:"deep-wildcard"}),b+=2):(x.trim()&&h.push(this._parseSegment(x.trim())),x="",b++):(x+=p[b],b++);return x.trim()&&h.push(this._parseSegment(x.trim())),h}_parseSegment(p){let h={type:"tag"},b=null,x=p,N=p.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(N&&(x=N[1]+N[3],N[2])){let G=N[2].slice(1,-1);G&&(b=G)}let k,_,M=x;if(x.includes("::")){let G=x.indexOf("::");if(k=x.substring(0,G).trim(),M=x.substring(G+2).trim(),!k)throw new Error(`Invalid namespace in pattern: ${p}`)}let q=null;if(M.includes(":")){let G=M.lastIndexOf(":"),$=M.substring(0,G).trim(),be=M.substring(G+1).trim();["first","last","odd","even"].includes(be)||/^nth\(\d+\)$/.test(be)?(_=$,q=be):_=M}else _=M;if(!_)throw new Error(`Invalid segment pattern: ${p}`);if(h.tag=_,k&&(h.namespace=k),b)if(b.includes("=")){let G=b.indexOf("=");h.attrName=b.substring(0,G).trim(),h.attrValue=b.substring(G+1).trim()}else h.attrName=b.trim();if(q){let G=q.match(/^nth\((\d+)\)$/);G?(h.position="nth",h.positionValue=parseInt(G[1],10)):h.position=q}return h}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}function _d(y,p){if(!y)return{};let h=p.attributesGroupName?y[p.attributesGroupName]:y;if(!h)return{};let b={};for(let x in h)x.startsWith(p.attributeNamePrefix)?b[x.substring(p.attributeNamePrefix.length)]=h[x]:b[x]=h[x];return b}o(_d,"F");function oA(y){if(!y||typeof y!="string")return;let p=y.indexOf(":");if(p!==-1&&p>0){let h=y.substring(0,p);if(h!=="xmlns")return h}}o(oA,"M");class T5{static{o(this,"L")}constructor(p){var h;if(this.options=p,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:"\xA2"},pound:{regex:/&(pound|#163);/g,val:"\xA3"},yen:{regex:/&(yen|#165);/g,val:"\xA5"},euro:{regex:/&(euro|#8364);/g,val:"\u20AC"},copyright:{regex:/&(copy|#169);/g,val:"\xA9"},reg:{regex:/&(reg|#174);/g,val:"\xAE"},inr:{regex:/&(inr|#8377);/g,val:"\u20B9"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(b,x)=>W_(x,10,"&#")},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(b,x)=>W_(x,16,"&#x")}},this.addExternalEntities=O5,this.parseXml=F5,this.parseTextData=M5,this.resolveNameSpace=k5,this.buildAttributesMap=U5,this.isItStopNode=j5,this.replaceEntitiesValue=H5,this.readStopNodeData=G5,this.saveTextToParentTag=z5,this.addChild=q5,this.ignoreAttributesFn=typeof(h=this.options.ignoreAttributes)=="function"?h:Array.isArray(h)?b=>{for(let x of h)if(typeof x=="string"&&b===x||x instanceof RegExp&&x.test(b))return!0}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0,this.matcher=new Co,this.isCurrentNodeStopNode=!1,this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodeExpressions=[];for(let b=0;b<this.options.stopNodes.length;b++){let x=this.options.stopNodes[b];typeof x=="string"?this.stopNodeExpressions.push(new Ji(x)):x instanceof Ji&&this.stopNodeExpressions.push(x)}}}}function O5(y){let p=Object.keys(y);for(let h=0;h<p.length;h++){let b=p[h],x=b.replace(/[.\-+*:]/g,"\\.");this.lastEntities[b]={regex:new RegExp("&"+x+";","g"),val:y[b]}}}o(O5,"R");function M5(y,p,h,b,x,N,k){if(y!==void 0&&(this.options.trimValues&&!b&&(y=y.trim()),y.length>0)){k||(y=this.replaceEntitiesValue(y,p,h));let _=this.options.jPath?h.toString():h,M=this.options.tagValueProcessor(p,y,_,x,N);return M==null?y:typeof M!=typeof y||M!==y?M:this.options.trimValues||y.trim()===y?V_(y,this.options.parseTagValue,this.options.numberParseOptions):y}}o(M5,"G");function k5(y){if(this.options.removeNSPrefix){let p=y.split(":"),h=y.charAt(0)==="/"?"/":"";if(p[0]==="xmlns")return"";p.length===2&&(y=h+p[1])}return y}o(k5,"B");let L5=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function U5(y,p,h){if(this.options.ignoreAttributes!==!0&&typeof y=="string"){let b=i(y,L5),x=b.length,N={},k={};for(let _=0;_<x;_++){let M=this.resolveNameSpace(b[_][1]),q=b[_][4];if(M.length&&q!==void 0){let G=q;this.options.trimValues&&(G=G.trim()),G=this.replaceEntitiesValue(G,h,p),k[M]=G}}Object.keys(k).length>0&&typeof p=="object"&&p.updateCurrent&&p.updateCurrent(k);for(let _=0;_<x;_++){let M=this.resolveNameSpace(b[_][1]),q=this.options.jPath?p.toString():p;if(this.ignoreAttributesFn(M,q))continue;let G=b[_][4],$=this.options.attributeNamePrefix+M;if(M.length)if(this.options.transformAttributeName&&($=this.options.transformAttributeName($)),$==="__proto__"&&($="#__proto__"),G!==void 0){this.options.trimValues&&(G=G.trim()),G=this.replaceEntitiesValue(G,h,p);let be=this.options.jPath?p.toString():p,ye=this.options.attributeValueProcessor(M,G,be);N[$]=ye==null?G:typeof ye!=typeof G||ye!==G?ye:V_(G,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(N[$]=!0)}if(!Object.keys(N).length)return;if(this.options.attributesGroupName){let _={};return _[this.options.attributesGroupName]=N,_}return N}}o(U5,"W");let F5=o(function(y){y=y.replace(/\r\n?/g,`
`);let p=new He("!xml"),h=p,b="";this.matcher.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0;let x=new Xe(this.options.processEntities);for(let N=0;N<y.length;N++)if(y[N]==="<")if(y[N+1]==="/"){let k=Eo(y,">",N,"Closing Tag is not closed."),_=y.substring(N+2,k).trim();if(this.options.removeNSPrefix){let q=_.indexOf(":");q!==-1&&(_=_.substr(q+1))}this.options.transformTagName&&(_=this.options.transformTagName(_)),h&&(b=this.saveTextToParentTag(b,h,this.matcher));let M=this.matcher.getCurrentTag();if(_&&this.options.unpairedTags.indexOf(_)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${_}>`);M&&this.options.unpairedTags.indexOf(M)!==-1&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,h=this.tagsNodeStack.pop(),b="",N=k}else if(y[N+1]==="?"){let k=_C(y,N,!1,"?>");if(!k)throw new Error("Pi Tag is not closed.");if(b=this.saveTextToParentTag(b,h,this.matcher),!(this.options.ignoreDeclaration&&k.tagName==="?xml"||this.options.ignorePiTags)){let _=new He(k.tagName);_.add(this.options.textNodeName,""),k.tagName!==k.tagExp&&k.attrExpPresent&&(_[":@"]=this.buildAttributesMap(k.tagExp,this.matcher,k.tagName)),this.addChild(h,_,this.matcher,N)}N=k.closeIndex+1}else if(y.substr(N+1,3)==="!--"){let k=Eo(y,"-->",N+4,"Comment is not closed.");if(this.options.commentPropName){let _=y.substring(N+4,k-2);b=this.saveTextToParentTag(b,h,this.matcher),h.add(this.options.commentPropName,[{[this.options.textNodeName]:_}])}N=k}else if(y.substr(N+1,2)==="!D"){let k=x.readDocType(y,N);this.docTypeEntities=k.entities,N=k.i}else if(y.substr(N+1,2)==="!["){let k=Eo(y,"]]>",N,"CDATA is not closed.")-2,_=y.substring(N+9,k);b=this.saveTextToParentTag(b,h,this.matcher);let M=this.parseTextData(_,h.tagname,this.matcher,!0,!1,!0,!0);M==null&&(M=""),this.options.cdataPropName?h.add(this.options.cdataPropName,[{[this.options.textNodeName]:_}]):h.add(this.options.textNodeName,M),N=k+2}else{let k=_C(y,N,this.options.removeNSPrefix);if(!k){let Wt=y.substring(Math.max(0,N-50),Math.min(y.length,N+50));throw new Error(`readTagExp returned undefined at position ${N}. Context: "${Wt}"`)}let _=k.tagName,M=k.rawTagName,q=k.tagExp,G=k.attrExpPresent,$=k.closeIndex;if(this.options.transformTagName){let Wt=this.options.transformTagName(_);q===_&&(q=Wt),_=Wt}if(this.options.strictReservedNames&&(_===this.options.commentPropName||_===this.options.cdataPropName))throw new Error(`Invalid tag name: ${_}`);h&&b&&h.tagname!=="!xml"&&(b=this.saveTextToParentTag(b,h,this.matcher,!1));let be=h;be&&this.options.unpairedTags.indexOf(be.tagname)!==-1&&(h=this.tagsNodeStack.pop(),this.matcher.pop());let ye=!1;q.length>0&&q.lastIndexOf("/")===q.length-1&&(ye=!0,_[_.length-1]==="/"?(_=_.substr(0,_.length-1),q=_):q=q.substr(0,q.length-1),G=_!==q);let Qe,ve=null,ci={};Qe=oA(M),_!==p.tagname&&this.matcher.push(_,{},Qe),_!==q&&G&&(ve=this.buildAttributesMap(q,this.matcher,_),ve&&(ci=_d(ve,this.options))),_!==p.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode(this.stopNodeExpressions,this.matcher));let Ut=N;if(this.isCurrentNodeStopNode){let Wt="";if(ye)N=k.closeIndex;else if(this.options.unpairedTags.indexOf(_)!==-1)N=k.closeIndex;else{let DC=this.readStopNodeData(y,M,$+1);if(!DC)throw new Error(`Unexpected end of ${M}`);N=DC.i,Wt=DC.tagContent}let xa=new He(_);ve&&(xa[":@"]=ve),xa.add(this.options.textNodeName,Wt),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(h,xa,this.matcher,Ut)}else{if(ye){if(this.options.transformTagName){let xa=this.options.transformTagName(_);q===_&&(q=xa),_=xa}let Wt=new He(_);ve&&(Wt[":@"]=ve),this.addChild(h,Wt,this.matcher,Ut),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else{if(this.options.unpairedTags.indexOf(_)!==-1){let Wt=new He(_);ve&&(Wt[":@"]=ve),this.addChild(h,Wt,this.matcher,Ut),this.matcher.pop(),this.isCurrentNodeStopNode=!1,N=k.closeIndex;continue}{let Wt=new He(_);if(this.tagsNodeStack.length>this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(h),ve&&(Wt[":@"]=ve),this.addChild(h,Wt,this.matcher,Ut),h=Wt}}b="",N=$}}else b+=y[N];return p.child},"Y");function q5(y,p,h,b){this.options.captureMetaData||(b=void 0);let x=this.options.jPath?h.toString():h,N=this.options.updateTag(p.tagname,x,p[":@"]);N===!1||(typeof N=="string"&&(p.tagname=N),y.addChild(p,b))}o(q5,"X");function H5(y,p,h){let b=this.options.processEntities;if(!b||!b.enabled)return y;if(b.allowedTags){let x=this.options.jPath?h.toString():h;if(!(Array.isArray(b.allowedTags)?b.allowedTags.includes(p):b.allowedTags(p,x)))return y}if(b.tagFilter){let x=this.options.jPath?h.toString():h;if(!b.tagFilter(p,x))return y}for(let x in this.docTypeEntities){let N=this.docTypeEntities[x],k=y.match(N.regx);if(k){if(this.entityExpansionCount+=k.length,b.maxTotalExpansions&&this.entityExpansionCount>b.maxTotalExpansions)throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${b.maxTotalExpansions}`);let _=y.length;if(y=y.replace(N.regx,N.val),b.maxExpandedLength&&(this.currentExpandedLength+=y.length-_,this.currentExpandedLength>b.maxExpandedLength))throw new Error(`Total expanded content size exceeded: ${this.currentExpandedLength} > ${b.maxExpandedLength}`)}}if(y.indexOf("&")===-1)return y;for(let x in this.lastEntities){let N=this.lastEntities[x];y=y.replace(N.regex,N.val)}if(y.indexOf("&")===-1)return y;if(this.options.htmlEntities)for(let x in this.htmlEntities){let N=this.htmlEntities[x];y=y.replace(N.regex,N.val)}return y.replace(this.ampEntity.regex,this.ampEntity.val)}o(H5,"z");function z5(y,p,h,b){return y&&(b===void 0&&(b=p.child.length===0),(y=this.parseTextData(y,p.tagname,h,!1,!!p[":@"]&&Object.keys(p[":@"]).length!==0,b))!==void 0&&y!==""&&p.add(this.options.textNodeName,y),y=""),y}o(z5,"q");function j5(y,p){if(!y||y.length===0)return!1;for(let h=0;h<y.length;h++)if(p.matches(y[h]))return!0;return!1}o(j5,"Z");function Eo(y,p,h,b){let x=y.indexOf(p,h);if(x===-1)throw new Error(b);return x+p.length-1}o(Eo,"K");function _C(y,p,h,b=">"){let x=function($,be,ye=">"){let Qe,ve="";for(let ci=be;ci<$.length;ci++){let Ut=$[ci];if(Qe)Ut===Qe&&(Qe="");else if(Ut==='"'||Ut==="'")Qe=Ut;else if(Ut===ye[0]){if(!ye[1])return{data:ve,index:ci};if($[ci+1]===ye[1])return{data:ve,index:ci}}else Ut===" "&&(Ut=" ");ve+=Ut}}(y,p+1,b);if(!x)return;let N=x.data,k=x.index,_=N.search(/\s/),M=N,q=!0;_!==-1&&(M=N.substring(0,_),N=N.substring(_+1).trimStart());let G=M;if(h){let $=M.indexOf(":");$!==-1&&(M=M.substr($+1),q=M!==x.data.substr($+1))}return{tagName:M,tagExp:N,closeIndex:k,attrExpPresent:q,rawTagName:G}}o(_C,"Q");function G5(y,p,h){let b=h,x=1;for(;h<y.length;h++)if(y[h]==="<")if(y[h+1]==="/"){let N=Eo(y,">",h,`${p} is not closed`);if(y.substring(h+2,N).trim()===p&&(x--,x===0))return{tagContent:y.substring(b,h),i:N};h=N}else if(y[h+1]==="?")h=Eo(y,"?>",h+1,"StopNode is not closed.");else if(y.substr(h+1,3)==="!--")h=Eo(y,"-->",h+3,"StopNode is not closed.");else if(y.substr(h+1,2)==="![")h=Eo(y,"]]>",h,"StopNode is not closed.")-2;else{let N=_C(y,h,">");N&&((N&&N.tagName)===p&&N.tagExp[N.tagExp.length-1]!=="/"&&x++,h=N.closeIndex)}}o(G5,"J");function V_(y,p,h){if(p&&typeof y=="string"){let b=y.trim();return b==="true"||b!=="false"&&function(x,N={}){if(N=Object.assign({},SC,N),!x||typeof x!="string")return x;let k=x.trim();if(N.skipLike!==void 0&&N.skipLike.test(k))return x;if(x==="0")return 0;if(N.hex&&Gi.test(k))return function(M){if(parseInt)return parseInt(M,16);if(Number.parseInt)return Number.parseInt(M,16);if(window&&window.parseInt)return window.parseInt(M,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}(k);if(k.includes("e")||k.includes("E"))return function(M,q,G){if(!G.eNotation)return M;let $=q.match(RC);if($){let be=$[1]||"",ye=$[3].indexOf("e")===-1?"E":"e",Qe=$[2],ve=be?M[Qe.length+1]===ye:M[Qe.length]===ye;return Qe.length>1&&ve?M:Qe.length!==1||!$[3].startsWith(`.${ye}`)&&$[3][0]!==ye?G.leadingZeros&&!ve?(q=($[1]||"")+$[3],Number(q)):M:Number(q)}return M}(x,k,N);{let M=Yi.exec(k);if(M){let q=M[1]||"",G=M[2],$=((_=M[3])&&_.indexOf(".")!==-1&&((_=_.replace(/0+$/,""))==="."?_="0":_[0]==="."?_="0"+_:_[_.length-1]==="."&&(_=_.substring(0,_.length-1))),_),be=q?x[G.length+1]===".":x[G.length]===".";if(!N.leadingZeros&&(G.length>1||G.length===1&&!be))return x;{let ye=Number(k),Qe=String(ye);if(ye===0)return ye;if(Qe.search(/[eE]/)!==-1)return N.eNotation?ye:x;if(k.indexOf(".")!==-1)return Qe==="0"||Qe===$||Qe===`${q}${$}`?ye:x;let ve=G?$:k;return G?ve===Qe||q+ve===Qe?ye:x:ve===Qe||ve===q+Qe?ye:x}}return x}var _}(y,h)}return y!==void 0?y:""}o(V_,"H");function W_(y,p,h){let b=Number.parseInt(y,p);return b>=0&&b<=1114111?String.fromCodePoint(b):h+y+";"}o(W_,"tt");let vC=He.getMetaDataSymbol();function Y5(y,p){if(!y||typeof y!="object")return{};if(!p)return y;let h={};for(let b in y)b.startsWith(p)?h[b.substring(p.length)]=y[b]:h[b]=y[b];return h}o(Y5,"it");function J5(y,p,h){return $_(y,p,h)}o(J5,"nt");function $_(y,p,h){let b,x={};for(let N=0;N<y.length;N++){let k=y[N],_=V5(k);if(_!==void 0&&_!==p.textNodeName){let M=Y5(k[":@"]||{},p.attributeNamePrefix);h.push(_,M)}if(_===p.textNodeName)b===void 0?b=k[_]:b+=""+k[_];else{if(_===void 0)continue;if(k[_]){let M=$_(k[_],p,h),q=$5(M,p);if(k[":@"]?W5(M,k[":@"],h,p):Object.keys(M).length!==1||M[p.textNodeName]===void 0||p.alwaysCreateTextNode?Object.keys(M).length===0&&(p.alwaysCreateTextNode?M[p.textNodeName]="":M=""):M=M[p.textNodeName],k[vC]!==void 0&&typeof M=="object"&&M!==null&&(M[vC]=k[vC]),x[_]!==void 0&&Object.prototype.hasOwnProperty.call(x,_))Array.isArray(x[_])||(x[_]=[x[_]]),x[_].push(M);else{let G=p.jPath?h.toString():h;p.isArray(_,G,q)?x[_]=[M]:x[_]=M}_!==void 0&&_!==p.textNodeName&&h.pop()}}}return typeof b=="string"?b.length>0&&(x[p.textNodeName]=b):b!==void 0&&(x[p.textNodeName]=b),x}o($_,"st");function V5(y){let p=Object.keys(y);for(let h=0;h<p.length;h++){let b=p[h];if(b!==":@")return b}}o(V5,"rt");function W5(y,p,h,b){if(p){let x=Object.keys(p),N=x.length;for(let k=0;k<N;k++){let _=x[k],M=_.startsWith(b.attributeNamePrefix)?_.substring(b.attributeNamePrefix.length):_,q=b.jPath?h.toString()+"."+M:h;b.isArray(_,q,!0,!0)?y[_]=[p[_]]:y[_]=p[_]}}}o(W5,"ot");function $5(y,p){let{textNodeName:h}=p,b=Object.keys(y).length;return b===0||!(b!==1||!y[h]&&typeof y[h]!="boolean"&&y[h]!==0)}o($5,"at");class K5{static{o(this,"ht")}constructor(p){this.externalEntities={},this.options=Te(p)}parse(p,h){if(typeof p!="string"&&p.toString)p=p.toString();else if(typeof p!="string")throw new Error("XML data is accepted in String or Bytes[] form.");if(h){h===!0&&(h={});let N=c(p,h);if(N!==!0)throw Error(`${N.err.msg}:${N.err.line}:${N.err.col}`)}let b=new T5(this.options);b.addExternalEntities(this.externalEntities);let x=b.parseXml(p);return this.options.preserveOrder||x===void 0?x:J5(x,this.options,b.matcher)}addEntity(p,h){if(h.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(p.indexOf("&")!==-1||p.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if(h==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[p]=h}static getMetaDataSymbol(){return He.getMetaDataSymbol()}}function X5(y,p){let h="";p.format&&p.indentBy.length>0&&(h=`
`);let b=[];if(p.stopNodes&&Array.isArray(p.stopNodes))for(let x=0;x<p.stopNodes.length;x++){let N=p.stopNodes[x];typeof N=="string"?b.push(new Ji(N)):N instanceof Ji&&b.push(N)}return K_(y,p,h,new Co,b)}o(X5,"lt");function K_(y,p,h,b,x){let N="",k=!1;if(!Array.isArray(y)){if(y!=null){let _=y.toString();return _=PC(_,p),_}return""}for(let _=0;_<y.length;_++){let M=y[_],q=Z_(M);if(q===void 0)continue;let G=Z5(M[":@"],p);b.push(q,G);let $=t9(b,x);if(q===p.textNodeName){let ve=M[q];$||(ve=p.tagValueProcessor(q,ve),ve=PC(ve,p)),k&&(N+=h),N+=ve,k=!1,b.pop();continue}if(q===p.cdataPropName){k&&(N+=h),N+=`<![CDATA[${M[q][0][p.textNodeName]}]]>`,k=!1,b.pop();continue}if(q===p.commentPropName){N+=h+`<!--${M[q][0][p.textNodeName]}-->`,k=!0,b.pop();continue}if(q[0]==="?"){let ve=ev(M[":@"],p,$),ci=q==="?xml"?"":h,Ut=M[q][0][p.textNodeName];Ut=Ut.length!==0?" "+Ut:"",N+=ci+`<${q}${Ut}${ve}?>`,k=!0,b.pop();continue}let be=h;be!==""&&(be+=p.indentBy);let ye=h+`<${q}${ev(M[":@"],p,$)}`,Qe;Qe=$?X_(M[q],p):K_(M[q],p,be,b,x),p.unpairedTags.indexOf(q)!==-1?p.suppressUnpairedNode?N+=ye+">":N+=ye+"/>":Qe&&Qe.length!==0||!p.suppressEmptyNode?Qe&&Qe.endsWith(">")?N+=ye+`>${Qe}${h}</${q}>`:(N+=ye+">",Qe&&h!==""&&(Qe.includes("/>")||Qe.includes("</"))?N+=h+p.indentBy+Qe+h:N+=Qe,N+=`</${q}>`):N+=ye+"/>",k=!0,b.pop()}return N}o(K_,"pt");function Z5(y,p){if(!y||p.ignoreAttributes)return null;let h={},b=!1;for(let x in y)Object.prototype.hasOwnProperty.call(y,x)&&(h[x.startsWith(p.attributeNamePrefix)?x.substr(p.attributeNamePrefix.length):x]=y[x],b=!0);return b?h:null}o(Z5,"ut");function X_(y,p){if(!Array.isArray(y))return y!=null?y.toString():"";let h="";for(let b=0;b<y.length;b++){let x=y[b],N=Z_(x);if(N===p.textNodeName)h+=x[N];else if(N===p.cdataPropName)h+=x[N][0][p.textNodeName];else if(N===p.commentPropName)h+=x[N][0][p.textNodeName];else{if(N&&N[0]==="?")continue;if(N){let k=e9(x[":@"],p),_=X_(x[N],p);_&&_.length!==0?h+=`<${N}${k}>${_}</${N}>`:h+=`<${N}${k}/>`}}}return h}o(X_,"ct");function e9(y,p){let h="";if(y&&!p.ignoreAttributes)for(let b in y){if(!Object.prototype.hasOwnProperty.call(y,b))continue;let x=y[b];x===!0&&p.suppressBooleanAttributes?h+=` ${b.substr(p.attributeNamePrefix.length)}`:h+=` ${b.substr(p.attributeNamePrefix.length)}="${x}"`}return h}o(e9,"dt");function Z_(y){let p=Object.keys(y);for(let h=0;h<p.length;h++){let b=p[h];if(Object.prototype.hasOwnProperty.call(y,b)&&b!==":@")return b}}o(Z_,"ft");function ev(y,p,h){let b="";if(y&&!p.ignoreAttributes)for(let x in y){if(!Object.prototype.hasOwnProperty.call(y,x))continue;let N;h?N=y[x]:(N=p.attributeValueProcessor(x,y[x]),N=PC(N,p)),N===!0&&p.suppressBooleanAttributes?b+=` ${x.substr(p.attributeNamePrefix.length)}`:b+=` ${x.substr(p.attributeNamePrefix.length)}="${N}"`}return b}o(ev,"gt");function t9(y,p){if(!p||p.length===0)return!1;for(let h=0;h<p.length;h++)if(y.matches(p[h]))return!0;return!1}o(t9,"mt");function PC(y,p){if(y&&y.length>0&&p.processEntities)for(let h=0;h<p.entities.length;h++){let b=p.entities[h];y=y.replace(b.regex,b.val)}return y}o(PC,"xt");let r9={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(y,p){return p},attributeValueProcessor:function(y,p){return p},preserveOrder:!1,commentPropName:!1,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:!0,stopNodes:[],oneListGroup:!1,jPath:!0};function un(y){if(this.options=Object.assign({},r9,y),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(h=>typeof h=="string"&&h.startsWith("*.")?".."+h.substring(2):h)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let h=0;h<this.options.stopNodes.length;h++){let b=this.options.stopNodes[h];typeof b=="string"?this.stopNodeExpressions.push(new Ji(b)):b instanceof Ji&&this.stopNodeExpressions.push(b)}var p;this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=typeof(p=this.options.ignoreAttributes)=="function"?p:Array.isArray(p)?h=>{for(let b of p)if(typeof b=="string"&&h===b||b instanceof RegExp&&b.test(h))return!0}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=s9),this.processTextOrObjNode=n9,this.options.format?(this.indentate=i9,this.tagEndChar=`>
`,this.newLine=`
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(un,"bt");function n9(y,p,h,b){let x=this.extractAttributes(y);if(b.push(p,x),this.checkStopNode(b)){let k=this.buildRawContent(y),_=this.buildAttributesForStopNode(y);return b.pop(),this.buildObjectNode(k,p,_,h)}let N=this.j2x(y,h+1,b);return b.pop(),y[this.options.textNodeName]!==void 0&&Object.keys(y).length===1?this.buildTextValNode(y[this.options.textNodeName],p,N.attrStr,h,b):this.buildObjectNode(N.val,p,N.attrStr,h)}o(n9,"Et");function i9(y){return this.options.indentBy.repeat(y)}o(i9,"yt");function s9(y){return!(!y.startsWith(this.options.attributeNamePrefix)||y===this.options.textNodeName)&&y.substr(this.attrPrefixLen)}o(s9,"wt"),un.prototype.build=function(y){if(this.options.preserveOrder)return X5(y,this.options);{Array.isArray(y)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(y={[this.options.arrayNodeName]:y});let p=new Co;return this.j2x(y,0,p).val}},un.prototype.j2x=function(y,p,h){let b="",x="",N=this.options.jPath?h.toString():h,k=this.checkStopNode(h);for(let _ in y)if(Object.prototype.hasOwnProperty.call(y,_))if(y[_]===void 0)this.isAttribute(_)&&(x+="");else if(y[_]===null)this.isAttribute(_)||_===this.options.cdataPropName?x+="":_[0]==="?"?x+=this.indentate(p)+"<"+_+"?"+this.tagEndChar:x+=this.indentate(p)+"<"+_+"/"+this.tagEndChar;else if(y[_]instanceof Date)x+=this.buildTextValNode(y[_],_,"",p,h);else if(typeof y[_]!="object"){let M=this.isAttribute(_);if(M&&!this.ignoreAttributesFn(M,N))b+=this.buildAttrPairStr(M,""+y[_],k);else if(!M)if(_===this.options.textNodeName){let q=this.options.tagValueProcessor(_,""+y[_]);x+=this.replaceEntitiesValue(q)}else{h.push(_);let q=this.checkStopNode(h);if(h.pop(),q){let G=""+y[_];x+=G===""?this.indentate(p)+"<"+_+this.closeTag(_)+this.tagEndChar:this.indentate(p)+"<"+_+">"+G+"</"+_+this.tagEndChar}else x+=this.buildTextValNode(y[_],_,"",p,h)}}else if(Array.isArray(y[_])){let M=y[_].length,q="",G="";for(let $=0;$<M;$++){let be=y[_][$];if(be!==void 0)if(be===null)_[0]==="?"?x+=this.indentate(p)+"<"+_+"?"+this.tagEndChar:x+=this.indentate(p)+"<"+_+"/"+this.tagEndChar;else if(typeof be=="object")if(this.options.oneListGroup){h.push(_);let ye=this.j2x(be,p+1,h);h.pop(),q+=ye.val,this.options.attributesGroupName&&be.hasOwnProperty(this.options.attributesGroupName)&&(G+=ye.attrStr)}else q+=this.processTextOrObjNode(be,_,p,h);else if(this.options.oneListGroup){let ye=this.options.tagValueProcessor(_,be);ye=this.replaceEntitiesValue(ye),q+=ye}else{h.push(_);let ye=this.checkStopNode(h);if(h.pop(),ye){let Qe=""+be;q+=Qe===""?this.indentate(p)+"<"+_+this.closeTag(_)+this.tagEndChar:this.indentate(p)+"<"+_+">"+Qe+"</"+_+this.tagEndChar}else q+=this.buildTextValNode(be,_,"",p,h)}}this.options.oneListGroup&&(q=this.buildObjectNode(q,_,G,p)),x+=q}else if(this.options.attributesGroupName&&_===this.options.attributesGroupName){let M=Object.keys(y[_]),q=M.length;for(let G=0;G<q;G++)b+=this.buildAttrPairStr(M[G],""+y[_][M[G]],k)}else x+=this.processTextOrObjNode(y[_],_,p,h);return{attrStr:b,val:x}},un.prototype.buildAttrPairStr=function(y,p,h){return h||(p=this.options.attributeValueProcessor(y,""+p),p=this.replaceEntitiesValue(p)),this.options.suppressBooleanAttributes&&p==="true"?" "+y:" "+y+'="'+p+'"'},un.prototype.extractAttributes=function(y){if(!y||typeof y!="object")return null;let p={},h=!1;if(this.options.attributesGroupName&&y[this.options.attributesGroupName]){let b=y[this.options.attributesGroupName];for(let x in b)Object.prototype.hasOwnProperty.call(b,x)&&(p[x.startsWith(this.options.attributeNamePrefix)?x.substring(this.options.attributeNamePrefix.length):x]=b[x],h=!0)}else for(let b in y){if(!Object.prototype.hasOwnProperty.call(y,b))continue;let x=this.isAttribute(b);x&&(p[x]=y[b],h=!0)}return h?p:null},un.prototype.buildRawContent=function(y){if(typeof y=="string")return y;if(typeof y!="object"||y===null)return String(y);if(y[this.options.textNodeName]!==void 0)return y[this.options.textNodeName];let p="";for(let h in y){if(!Object.prototype.hasOwnProperty.call(y,h)||this.isAttribute(h)||this.options.attributesGroupName&&h===this.options.attributesGroupName)continue;let b=y[h];if(h===this.options.textNodeName)p+=b;else if(Array.isArray(b)){for(let x of b)if(typeof x=="string"||typeof x=="number")p+=`<${h}>${x}</${h}>`;else if(typeof x=="object"&&x!==null){let N=this.buildRawContent(x),k=this.buildAttributesForStopNode(x);p+=N===""?`<${h}${k}/>`:`<${h}${k}>${N}</${h}>`}}else if(typeof b=="object"&&b!==null){let x=this.buildRawContent(b),N=this.buildAttributesForStopNode(b);p+=x===""?`<${h}${N}/>`:`<${h}${N}>${x}</${h}>`}else p+=`<${h}>${b}</${h}>`}return p},un.prototype.buildAttributesForStopNode=function(y){if(!y||typeof y!="object")return"";let p="";if(this.options.attributesGroupName&&y[this.options.attributesGroupName]){let h=y[this.options.attributesGroupName];for(let b in h){if(!Object.prototype.hasOwnProperty.call(h,b))continue;let x=b.startsWith(this.options.attributeNamePrefix)?b.substring(this.options.attributeNamePrefix.length):b,N=h[b];N===!0&&this.options.suppressBooleanAttributes?p+=" "+x:p+=" "+x+'="'+N+'"'}}else for(let h in y){if(!Object.prototype.hasOwnProperty.call(y,h))continue;let b=this.isAttribute(h);if(b){let x=y[h];x===!0&&this.options.suppressBooleanAttributes?p+=" "+b:p+=" "+b+'="'+x+'"'}}return p},un.prototype.buildObjectNode=function(y,p,h,b){if(y==="")return p[0]==="?"?this.indentate(b)+"<"+p+h+"?"+this.tagEndChar:this.indentate(b)+"<"+p+h+this.closeTag(p)+this.tagEndChar;{let x="</"+p+this.tagEndChar,N="";return p[0]==="?"&&(N="?",x=""),!h&&h!==""||y.indexOf("<")!==-1?this.options.commentPropName!==!1&&p===this.options.commentPropName&&N.length===0?this.indentate(b)+`<!--${y}-->`+this.newLine:this.indentate(b)+"<"+p+h+N+this.tagEndChar+y+this.indentate(b)+x:this.indentate(b)+"<"+p+h+N+">"+y+x}},un.prototype.closeTag=function(y){let p="";return this.options.unpairedTags.indexOf(y)!==-1?this.options.suppressUnpairedNode||(p="/"):p=this.options.suppressEmptyNode?"/":`></${y}`,p},un.prototype.checkStopNode=function(y){if(!this.stopNodeExpressions||this.stopNodeExpressions.length===0)return!1;for(let p=0;p<this.stopNodeExpressions.length;p++)if(y.matches(this.stopNodeExpressions[p]))return!0;return!1},un.prototype.buildTextValNode=function(y,p,h,b,x){if(this.options.cdataPropName!==!1&&p===this.options.cdataPropName)return this.indentate(b)+`<![CDATA[${y}]]>`+this.newLine;if(this.options.commentPropName!==!1&&p===this.options.commentPropName)return this.indentate(b)+`<!--${y}-->`+this.newLine;if(p[0]==="?")return this.indentate(b)+"<"+p+h+"?"+this.tagEndChar;{let N=this.options.tagValueProcessor(p,y);return N=this.replaceEntitiesValue(N),N===""?this.indentate(b)+"<"+p+h+this.closeTag(p)+this.tagEndChar:this.indentate(b)+"<"+p+h+">"+N+"</"+p+this.tagEndChar}},un.prototype.replaceEntitiesValue=function(y){if(y&&y.length>0&&this.options.processEntities)for(let p=0;p<this.options.entities.length;p++){let h=this.options.entities[p];y=y.replace(h.regex,h.val)}return y};let o9=un,a9={validate:c};EW.exports=e})()});var L0=g(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});nl.XML_CHARKEY=nl.XML_ATTRKEY=void 0;nl.XML_ATTRKEY="$";nl.XML_CHARKEY="_"});var QW=g(ym=>{"use strict";Object.defineProperty(ym,"__esModule",{value:!0});ym.stringifyXML=CPe;ym.parseXML=EPe;var U0=BW(),IW=L0();function bW(t){var e;return{attributesGroupName:IW.XML_ATTRKEY,textNodeName:(e=t.xmlCharKey)!==null&&e!==void 0?e:IW.XML_CHARKEY,ignoreAttributes:!1,suppressBooleanAttributes:!1}}o(bW,"getCommonOptions");function gPe(t={}){var e,r;return Object.assign(Object.assign({},bW(t)),{attributeNamePrefix:"@_",format:!0,suppressEmptyNode:!0,indentBy:"",rootNodeName:(e=t.rootName)!==null&&e!==void 0?e:"root",cdataPropName:(r=t.cdataPropName)!==null&&r!==void 0?r:"__cdata"})}o(gPe,"getSerializerOptions");function yPe(t={}){return Object.assign(Object.assign({},bW(t)),{parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:t.stopNodes,processEntities:!0,trimValues:!1})}o(yPe,"getParserOptions");function CPe(t,e={}){let r=gPe(e),n=new U0.XMLBuilder(r),i={[r.rootNodeName]:t};return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${n.build(i)}`.replace(/\n/g,"")}o(CPe,"stringifyXML");async function EPe(t,e={}){if(!t)throw new Error("Document is empty");let r=U0.XMLValidator.validate(t);if(r!==!0)throw r;let i=new U0.XMLParser(yPe(e)).parse(t);if(i["?xml"]&&delete i["?xml"],!e.includeRoot)for(let s of Object.keys(i)){let a=i[s];return typeof a=="object"?Object.assign({},a):a}return i}o(EPe,"parseXML")});var F0=g(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.XML_CHARKEY=Si.XML_ATTRKEY=Si.parseXML=Si.stringifyXML=void 0;var wW=QW();Object.defineProperty(Si,"stringifyXML",{enumerable:!0,get:function(){return wW.stringifyXML}});Object.defineProperty(Si,"parseXML",{enumerable:!0,get:function(){return wW.parseXML}});var NW=L0();Object.defineProperty(Si,"XML_ATTRKEY",{enumerable:!0,get:function(){return NW.XML_ATTRKEY}});Object.defineProperty(Si,"XML_CHARKEY",{enumerable:!0,get:function(){return NW.XML_CHARKEY}})});var Em=g(Cm=>{"use strict";Object.defineProperty(Cm,"__esModule",{value:!0});Cm.logger=void 0;var BPe=Jc();Cm.logger=(0,BPe.createClientLogger)("storage-blob")});var j0={};Pd(j0,{__addDisposableResource:()=>KW,__assign:()=>Bm,__asyncDelegator:()=>zW,__asyncGenerator:()=>HW,__asyncValues:()=>jW,__await:()=>il,__awaiter:()=>MW,__classPrivateFieldGet:()=>VW,__classPrivateFieldIn:()=>$W,__classPrivateFieldSet:()=>WW,__createBinding:()=>bm,__decorate:()=>RW,__disposeResources:()=>XW,__esDecorate:()=>vW,__exportStar:()=>LW,__extends:()=>xW,__generator:()=>kW,__importDefault:()=>JW,__importStar:()=>YW,__makeTemplateObject:()=>GW,__metadata:()=>OW,__param:()=>_W,__propKey:()=>DW,__read:()=>z0,__rest:()=>SW,__rewriteRelativeImportExtension:()=>ZW,__runInitializers:()=>PW,__setFunctionName:()=>TW,__spread:()=>UW,__spreadArray:()=>qW,__spreadArrays:()=>FW,__values:()=>Im,default:()=>QPe});function xW(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");q0(t,e);function r(){this.constructor=t}o(r,"__"),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function SW(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function RW(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function _W(t,e){return function(r,n){e(r,n,t)}}function vW(t,e,r,n,i,s){function a(w){if(w!==void 0&&typeof w!="function")throw new TypeError("Function expected");return w}o(a,"accept");for(var c=n.kind,l=c==="getter"?"get":c==="setter"?"set":"value",A=!e&&t?n.static?t:t.prototype:null,u=e||(A?Object.getOwnPropertyDescriptor(A,n.name):{}),d,f=!1,m=r.length-1;m>=0;m--){var C={};for(var Q in n)C[Q]=Q==="access"?{}:n[Q];for(var Q in n.access)C.access[Q]=n.access[Q];C.addInitializer=function(w){if(f)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(w||null))};var S=(0,r[m])(c==="accessor"?{get:u.get,set:u.set}:u[l],C);if(c==="accessor"){if(S===void 0)continue;if(S===null||typeof S!="object")throw new TypeError("Object expected");(d=a(S.get))&&(u.get=d),(d=a(S.set))&&(u.set=d),(d=a(S.init))&&i.unshift(d)}else(d=a(S))&&(c==="field"?i.unshift(d):u[l]=d)}A&&Object.defineProperty(A,n.name,u),f=!0}function PW(t,e,r){for(var n=arguments.length>2,i=0;i<e.length;i++)r=n?e[i].call(t,r):e[i].call(t);return n?r:void 0}function DW(t){return typeof t=="symbol"?t:"".concat(t)}function TW(t,e,r){return typeof e=="symbol"&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:r?"".concat(r," ",e):e})}function OW(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function MW(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})}function kW(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=c(0),a.throw=c(1),a.return=c(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(A){return function(u){return l([A,u])}}function l(A){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,A[0]&&(r=0)),r;)try{if(n=1,i&&(s=A[0]&2?i.return:A[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,A[1])).done)return s;switch(i=0,s&&(A=[A[0]&2,s.value]),A[0]){case 0:case 1:s=A;break;case 4:return r.label++,{value:A[1],done:!1};case 5:r.label++,i=A[1],A=[0];continue;case 7:A=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(A[0]===6||A[0]===2)){r=0;continue}if(A[0]===3&&(!s||A[1]>s[0]&&A[1]<s[3])){r.label=A[1];break}if(A[0]===6&&r.label<s[1]){r.label=s[1],s=A;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(A);break}s[2]&&r.ops.pop(),r.trys.pop();continue}A=e.call(t,r)}catch(u){A=[6,u],i=0}finally{n=s=0}if(A[0]&5)throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}}function LW(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&bm(e,t,r)}function Im(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function z0(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],a;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(c){a={error:c}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function UW(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(z0(arguments[e]));return t}function FW(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var n=Array(t),i=0,e=0;e<r;e++)for(var s=arguments[e],a=0,c=s.length;a<c;a++,i++)n[i]=s[a];return n}function qW(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n<i;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return t.concat(s||Array.prototype.slice.call(e))}function il(t){return this instanceof il?(this.v=t,this):new il(t)}function HW(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,s=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(m){return function(C){return Promise.resolve(C).then(m,d)}}function c(m,C){n[m]&&(i[m]=function(Q){return new Promise(function(S,w){s.push([m,Q,S,w])>1||l(m,Q)})},C&&(i[m]=C(i[m])))}function l(m,C){try{A(n[m](C))}catch(Q){f(s[0][3],Q)}}function A(m){m.value instanceof il?Promise.resolve(m.value.v).then(u,d):f(s[0][2],m)}function u(m){l("next",m)}function d(m){l("throw",m)}function f(m,C){m(C),s.shift(),s.length&&l(s[0][0],s[0][1])}}function zW(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(a){return(r=!r)?{value:il(t[i](a)),done:!1}:s?s(a):a}:s}}function jW(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof Im=="function"?Im(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(a){return new Promise(function(c,l){a=t[s](a),i(c,l,a.done,a.value)})}}function i(s,a,c,l){Promise.resolve(l).then(function(A){s({value:A,done:c})},a)}}function GW(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function YW(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r=H0(t),n=0;n<r.length;n++)r[n]!=="default"&&bm(e,t,r[n]);return IPe(e,t),e}function JW(t){return t&&t.__esModule?t:{default:t}}function VW(t,e,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(t):n?n.value:e.get(t)}function WW(t,e,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(t,r):i?i.value=r:e.set(t,r),r}function $W(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}function KW(t,e,r){if(e!=null){if(typeof e!="object"&&typeof e!="function")throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=e[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=e[Symbol.dispose],r&&(i=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");i&&(n=o(function(){try{i.call(this)}catch(s){return Promise.reject(s)}},"dispose")),t.stack.push({value:e,dispose:n,async:r})}else r&&t.stack.push({async:!0});return e}function XW(t){function e(s){t.error=t.hasError?new bPe(s,t.error,"An error was suppressed during disposal."):s,t.hasError=!0}o(e,"fail");var r,n=0;function i(){for(;r=t.stack.pop();)try{if(!r.async&&n===1)return n=0,t.stack.push(r),Promise.resolve().then(i);if(r.dispose){var s=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(s).then(i,function(a){return e(a),i()})}else n|=1}catch(a){e(a)}if(n===1)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}return o(i,"next"),i()}function ZW(t,e){return typeof t=="string"&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,s,a){return n?e?".jsx":".js":i&&(!s||!a)?r:i+s+"."+a.toLowerCase()+"js"}):t}var q0,Bm,bm,IPe,H0,bPe,QPe,G0=vd(()=>{q0=o(function(t,e){return q0=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},q0(t,e)},"extendStatics");o(xW,"__extends");Bm=o(function(){return Bm=Object.assign||o(function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},"__assign"),Bm.apply(this,arguments)},"__assign");o(SW,"__rest");o(RW,"__decorate");o(_W,"__param");o(vW,"__esDecorate");o(PW,"__runInitializers");o(DW,"__propKey");o(TW,"__setFunctionName");o(OW,"__metadata");o(MW,"__awaiter");o(kW,"__generator");bm=Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]};o(LW,"__exportStar");o(Im,"__values");o(z0,"__read");o(UW,"__spread");o(FW,"__spreadArrays");o(qW,"__spreadArray");o(il,"__await");o(HW,"__asyncGenerator");o(zW,"__asyncDelegator");o(jW,"__asyncValues");o(GW,"__makeTemplateObject");IPe=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},H0=o(function(t){return H0=Object.getOwnPropertyNames||function(e){var r=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[r.length]=n);return r},H0(t)},"ownKeys");o(YW,"__importStar");o(JW,"__importDefault");o(VW,"__classPrivateFieldGet");o(WW,"__classPrivateFieldSet");o($W,"__classPrivateFieldIn");o(KW,"__addDisposableResource");bPe=typeof SuppressedError=="function"?SuppressedError:function(t,e,r){var n=new Error(r);return n.name="SuppressedError",n.error=t,n.suppressed=e,n};o(XW,"__disposeResources");o(ZW,"__rewriteRelativeImportExtension");QPe={__extends:xW,__assign:Bm,__rest:SW,__decorate:RW,__param:_W,__esDecorate:vW,__runInitializers:PW,__propKey:DW,__setFunctionName:TW,__metadata:OW,__awaiter:MW,__generator:kW,__createBinding:bm,__exportStar:LW,__values:Im,__read:z0,__spread:UW,__spreadArrays:FW,__spreadArray:qW,__await:il,__asyncGenerator:HW,__asyncDelegator:zW,__asyncValues:jW,__makeTemplateObject:GW,__importStar:YW,__importDefault:JW,__classPrivateFieldGet:VW,__classPrivateFieldSet:WW,__classPrivateFieldIn:$W,__addDisposableResource:KW,__disposeResources:XW,__rewriteRelativeImportExtension:ZW}});var e$=g(Qm=>{"use strict";Object.defineProperty(Qm,"__esModule",{value:!0});Qm.BuffersStream=void 0;var wPe=require("node:stream"),Y0=class extends wPe.Readable{static{o(this,"BuffersStream")}buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,r,n){super(n),this.buffers=e,this.byteLength=r,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let i=0;for(let s of this.buffers)i+=s.byteLength;if(i<this.byteLength)throw new Error("Data size shouldn't be larger than the total length of buffers.")}_read(e){this.pushedBytesLength>=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let r=[],n=0;for(;n<e&&this.pushedBytesLength<this.byteLength;){let i=this.byteLength-this.pushedBytesLength,s=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer,a=Math.min(s,i);if(a>e-n){let c=this.byteOffsetInCurrentBuffer+e-n;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),this.pushedBytesLength+=e-n,this.byteOffsetInCurrentBuffer=c,n=e;break}else{let c=this.byteOffsetInCurrentBuffer+a;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),a===s?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=c,this.pushedBytesLength+=a,n+=a}}r.length>1?this.push(Buffer.concat(r)):r.length===1&&this.push(r[0])}};Qm.BuffersStream=Y0});var t$=g(Nm=>{"use strict";Object.defineProperty(Nm,"__esModule",{value:!0});Nm.PooledBuffer=void 0;var NPe=(G0(),Zt(j0)),xPe=e$(),SPe=NPe.__importDefault(require("node:buffer")),wm=SPe.default.constants.MAX_LENGTH,J0=class{static{o(this,"PooledBuffer")}buffers=[];capacity;_size;get size(){return this._size}constructor(e,r,n){this.capacity=e,this._size=0;let i=Math.ceil(e/wm);for(let s=0;s<i;s++){let a=s===i-1?e%wm:wm;a===0&&(a=wm),this.buffers.push(Buffer.allocUnsafe(a))}r&&this.fill(r,n)}fill(e,r){this._size=Math.min(this.capacity,r);let n=0,i=0,s=0,a=0,c=0;for(;c<this._size;){let l=e[n],A=this.buffers[i],u=l.copy(A,s,a);c+=u,a+=u,s+=u,a===l.length&&(n++,a=0),s===A.length&&(i++,s=0)}e.splice(0,n),e.length>0&&(e[0]=e[0].slice(a))}getReadableStream(){return new xPe.BuffersStream(this.buffers,this.size)}};Nm.PooledBuffer=J0});var r$=g(xm=>{"use strict";Object.defineProperty(xm,"__esModule",{value:!0});xm.BufferScheduler=void 0;var RPe=require("events"),_Pe=t$(),V0=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new RPe.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,r,n,i,s,a){if(r<=0)throw new RangeError(`bufferSize must be larger than 0, current is ${r}`);if(n<=0)throw new RangeError(`maxBuffers must be larger than 0, current is ${n}`);if(s<=0)throw new RangeError(`concurrency must be larger than 0, current is ${s}`);this.bufferSize=r,this.maxBuffers=n,this.readable=e,this.outgoingHandler=i,this.concurrency=s,this.encoding=a}async do(){return new Promise((e,r)=>{this.readable.on("data",n=>{n=typeof n=="string"?Buffer.from(n,this.encoding):n,this.appendUnresolvedData(n),this.resolveData()||this.readable.pause()}),this.readable.on("error",n=>{this.emitter.emit("error",n)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",n=>{this.isError=!0,this.readable.pause(),r(n)}),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){let n=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler(()=>n.getReadableStream(),n.size,this.offset).then(e).catch(r)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new _Pe.PooledBuffer(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;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!1;this.outgoing.push(e),this.triggerOutgoingHandlers()}return!0}async triggerOutgoingHandlers(){let e;do{if(this.executingOutgoingHandlers>=this.concurrency)return;e=this.outgoing.shift(),e&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let r=e.size;this.executingOutgoingHandlers++,this.offset+=r;try{await this.outgoingHandler(()=>e.getReadableStream(),r,this.offset-r)}catch(n){this.emitter.emit("error",n);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}};xm.BufferScheduler=V0});var n$=g($0=>{"use strict";Object.defineProperty($0,"__esModule",{value:!0});$0.getCachedDefaultHttpClient=PPe;var vPe=Ot(),W0;function PPe(){return W0||(W0=(0,vPe.createDefaultHttpClient)()),W0}o(PPe,"getCachedDefaultHttpClient")});var s$=g(i$=>{"use strict";Object.defineProperty(i$,"__esModule",{value:!0})});var Gu=g(Sm=>{"use strict";Object.defineProperty(Sm,"__esModule",{value:!0});Sm.BaseRequestPolicy=void 0;var K0=class{static{o(this,"BaseRequestPolicy")}_nextPolicy;_options;constructor(e,r){this._nextPolicy=e,this._options=r}shouldLog(e){return this._options.shouldLog(e)}log(e,r){this._options.log(e,r)}};Sm.BaseRequestPolicy=K0});var hs=g(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.PathStylePorts=Sn.DevelopmentConnectionString=Sn.HeaderConstants=Sn.URLConstants=Sn.SDK_VERSION=void 0;Sn.SDK_VERSION="1.0.0";Sn.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};Sn.HeaderConstants={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};Sn.DevelopmentConnectionString="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;";Sn.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]});var ra=g(je=>{"use strict";Object.defineProperty(je,"__esModule",{value:!0});je.escapeURLPath=TPe;je.getValueInConnString=Xs;je.extractConnectionStringParts=MPe;je.appendToURLPath=LPe;je.setURLParameter=a$;je.getURLParameter=c$;je.setURLHost=UPe;je.getURLPath=FPe;je.getURLScheme=qPe;je.getURLPathAndQuery=HPe;je.getURLQueries=zPe;je.appendToURLQuery=jPe;je.truncatedISO8061Date=GPe;je.base64encode=l$;je.base64decode=YPe;je.generateBlockID=JPe;je.delay=VPe;je.padStart=A$;je.sanitizeURL=u$;je.sanitizeHeaders=WPe;je.iEqual=$Pe;je.getAccountNameFromUrl=d$;je.isIpEndpointStyle=p$;je.attachCredential=KPe;je.httpAuthorizationToString=XPe;je.EscapePath=ZPe;je.assertResponse=eDe;var DPe=Ot(),o$=pt(),sl=hs();function TPe(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=kPe(r),e.pathname=r,e.toString()}o(TPe,"escapeURLPath");function OPe(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let r=t.split(";");for(let n of r)n.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=n.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(OPe,"getProxyUriFromDevConnString");function Xs(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(Xs,"getValueInConnString");function MPe(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=OPe(t),t=sl.DevelopmentConnectionString);let r=Xs(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let n="",i="",s=Buffer.from("accountKey","base64"),a="";if(i=Xs(t,"AccountName"),s=Buffer.from(Xs(t,"AccountKey"),"base64"),!r){n=Xs(t,"DefaultEndpointsProtocol");let c=n.toLowerCase();if(c!=="https"&&c!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(a=Xs(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${i}.blob.${a}`}if(i){if(s.length===0)throw new Error("Invalid AccountKey in the provided Connection String")}else throw new Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:i,accountKey:s,proxyUri:e}}else{let n=Xs(t,"SharedAccessSignature"),i=Xs(t,"AccountName");if(i||(i=d$(r)),r){if(!n)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return n.startsWith("?")&&(n=n.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:n}}}o(MPe,"extractConnectionStringParts");function kPe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(kPe,"escape");function LPe(t,e){let r=new URL(t),n=r.pathname;return n=n?n.endsWith("/")?`${n}${e}`:`${n}/${e}`:e,r.pathname=n,r.toString()}o(LPe,"appendToURLPath");function a$(t,e,r){let n=new URL(t),i=encodeURIComponent(e),s=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[A]=l.split("=",2);A!==i&&c.push(l)}return s&&c.push(`${i}=${s}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o(a$,"setURLParameter");function c$(t,e){return new URL(t).searchParams.get(e)??void 0}o(c$,"getURLParameter");function UPe(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(UPe,"setURLHost");function FPe(t){try{return new URL(t).pathname}catch{return}}o(FPe,"getURLPath");function qPe(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(qPe,"getURLScheme");function HPe(t){let e=new URL(t),r=e.pathname;if(!r)throw new RangeError("Invalid url without valid path.");let n=e.search||"";return n=n.trim(),n!==""&&(n=n.startsWith("?")?n:`?${n}`),`${r}${n}`}o(HPe,"getURLPathAndQuery");function zPe(t){let e=new URL(t).search;if(!e)return{};e=e.trim(),e=e.startsWith("?")?e.substring(1):e;let r=e.split("&");r=r.filter(i=>{let s=i.indexOf("="),a=i.lastIndexOf("=");return s>0&&s===a&&a<i.length-1});let n={};for(let i of r){let s=i.split("="),a=s[0],c=s[1];n[a]=c}return n}o(zPe,"getURLQueries");function jPe(t,e){let r=new URL(t),n=r.search;return n?n+="&"+e:n=e,r.search=n,r.toString()}o(jPe,"appendToURLQuery");function GPe(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(GPe,"truncatedISO8061Date");function l$(t){return o$.isNodeLike?Buffer.from(t).toString("base64"):btoa(t)}o(l$,"base64encode");function YPe(t){return o$.isNodeLike?Buffer.from(t,"base64").toString():atob(t)}o(YPe,"base64decode");function JPe(t,e){t.length>42&&(t=t.slice(0,42));let s=t+A$(e.toString(),48-t.length,"0");return l$(s)}o(JPe,"generateBlockID");async function VPe(t,e,r){return new Promise((n,i)=>{let s,a=o(()=>{s!==void 0&&clearTimeout(s),i(r)},"abortHandler");s=setTimeout(o(()=>{e!==void 0&&e.removeEventListener("abort",a),n()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}o(VPe,"delay");function A$(t,e,r=" "){return String.prototype.padStart?t.padStart(e,r):(r=r||" ",t.length>e?t:(e=e-t.length,e>r.length&&(r+=r.repeat(e/r.length)),r.slice(0,e)+t))}o(A$,"padStart");function u$(t){let e=t;return c$(e,sl.URLConstants.Parameters.SIGNATURE)&&(e=a$(e,sl.URLConstants.Parameters.SIGNATURE,"*****")),e}o(u$,"sanitizeURL");function WPe(t){let e=(0,DPe.createHttpHeaders)();for(let[r,n]of t)r.toLowerCase()===sl.HeaderConstants.AUTHORIZATION.toLowerCase()?e.set(r,"*****"):r.toLowerCase()===sl.HeaderConstants.X_MS_COPY_SOURCE?e.set(r,u$(n)):e.set(r,n);return e}o(WPe,"sanitizeHeaders");function $Pe(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o($Pe,"iEqual");function d$(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:p$(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(d$,"getAccountNameFromUrl");function p$(t){let e=t.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(e)||!!t.port&&sl.PathStylePorts.includes(t.port)}o(p$,"isIpEndpointStyle");function KPe(t,e){return t.credential=e,t}o(KPe,"attachCredential");function XPe(t){return t?t.scheme+" "+t.value:void 0}o(XPe,"httpAuthorizationToString");function ZPe(t){let e=t.split("/");for(let r=0;r<e.length;r++)e[r]=encodeURIComponent(e[r]);return e.join("/")}o(ZPe,"EscapePath");function eDe(t){if("_response"in t)return t;throw new TypeError(`Unexpected response object ${t}`)}o(eDe,"assertResponse")});var h$=g(Rm=>{"use strict";Object.defineProperty(Rm,"__esModule",{value:!0});Rm.StorageBrowserPolicy=void 0;var tDe=Gu(),rDe=pt(),X0=hs(),nDe=ra(),Z0=class extends tDe.BaseRequestPolicy{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return rDe.isNodeLike?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=(0,nDe.setURLParameter)(e.url,X0.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(X0.HeaderConstants.COOKIE),e.headers.remove(X0.HeaderConstants.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}};Rm.StorageBrowserPolicy=Z0});var m$=g(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});ol.StorageBrowserPolicyFactory=ol.StorageBrowserPolicy=void 0;var f$=h$();Object.defineProperty(ol,"StorageBrowserPolicy",{enumerable:!0,get:function(){return f$.StorageBrowserPolicy}});var ex=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new f$.StorageBrowserPolicy(e,r)}};ol.StorageBrowserPolicyFactory=ex});var vm=g(_m=>{"use strict";Object.defineProperty(_m,"__esModule",{value:!0});_m.CredentialPolicy=void 0;var iDe=Gu(),tx=class extends iDe.BaseRequestPolicy{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};_m.CredentialPolicy=tx});var nx=g(Pm=>{"use strict";Object.defineProperty(Pm,"__esModule",{value:!0});Pm.AnonymousCredentialPolicy=void 0;var sDe=vm(),rx=class extends sDe.CredentialPolicy{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};Pm.AnonymousCredentialPolicy=rx});var Tm=g(Dm=>{"use strict";Object.defineProperty(Dm,"__esModule",{value:!0});Dm.Credential=void 0;var ix=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};Dm.Credential=ix});var g$=g(Om=>{"use strict";Object.defineProperty(Om,"__esModule",{value:!0});Om.AnonymousCredential=void 0;var oDe=nx(),aDe=Tm(),sx=class extends aDe.Credential{static{o(this,"AnonymousCredential")}create(e,r){return new oDe.AnonymousCredentialPolicy(e,r)}};Om.AnonymousCredential=sx});var ax=g(ox=>{"use strict";Object.defineProperty(ox,"__esModule",{value:!0});ox.compareHeader=uDe;var cDe=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]),lDe=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]),ADe=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 uDe(t,e){return dDe(t,e)?-1:1}o(uDe,"compareHeader");function dDe(t,e){let r=[cDe,lDe,ADe],n=0,i=0,s=0;for(;n<r.length;){if(n===r.length-1&&i!==s)return i>s;let a=i<t.length?r[n][t[i].charCodeAt(0)]:1,c=s<e.length?r[n][e[s].charCodeAt(0)]:1;if(a===1&&c===1)i=0,s=0,++n;else if(a===c)++i,++s;else if(a===0)++i;else if(c===0)++s;else return a<c}return!1}o(dDe,"isLessThan")});var lx=g(Mm=>{"use strict";Object.defineProperty(Mm,"__esModule",{value:!0});Mm.StorageSharedKeyCredentialPolicy=void 0;var ar=hs(),y$=ra(),pDe=vm(),hDe=ax(),cx=class extends pDe.CredentialPolicy{static{o(this,"StorageSharedKeyCredentialPolicy")}factory;constructor(e,r,n){super(e,r),this.factory=n}signRequest(e){e.headers.set(ar.HeaderConstants.X_MS_DATE,new Date().toUTCString()),e.body&&(typeof e.body=="string"||e.body!==void 0)&&e.body.length>0&&e.headers.set(ar.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,ar.HeaderConstants.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,ar.HeaderConstants.CONTENT_ENCODING),this.getHeaderValueToSign(e,ar.HeaderConstants.CONTENT_LENGTH),this.getHeaderValueToSign(e,ar.HeaderConstants.CONTENT_MD5),this.getHeaderValueToSign(e,ar.HeaderConstants.CONTENT_TYPE),this.getHeaderValueToSign(e,ar.HeaderConstants.DATE),this.getHeaderValueToSign(e,ar.HeaderConstants.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,ar.HeaderConstants.IF_MATCH),this.getHeaderValueToSign(e,ar.HeaderConstants.IF_NONE_MATCH),this.getHeaderValueToSign(e,ar.HeaderConstants.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,ar.HeaderConstants.RANGE)].join(`
`)+`
`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),n=this.factory.computeHMACSHA256(r);return e.headers.set(ar.HeaderConstants.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`),e}getHeaderValueToSign(e,r){let n=e.headers.get(r);return!n||r===ar.HeaderConstants.CONTENT_LENGTH&&n==="0"?"":n}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(i=>i.name.toLowerCase().startsWith(ar.HeaderConstants.PREFIX_FOR_STORAGE));r.sort((i,s)=>(0,hDe.compareHeader)(i.name.toLowerCase(),s.name.toLowerCase())),r=r.filter((i,s,a)=>!(s>0&&i.name.toLowerCase()===a[s-1].name.toLowerCase()));let n="";return r.forEach(i=>{n+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()}
`}),n}getCanonicalizedResourceString(e){let r=(0,y$.getURLPath)(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let i=(0,y$.getURLQueries)(e.url),s={};if(i){let a=[];for(let c in i)if(Object.prototype.hasOwnProperty.call(i,c)){let l=c.toLowerCase();s[l]=i[c],a.push(l)}a.sort();for(let c of a)n+=`
${c}:${decodeURIComponent(s[c])}`}return n}};Mm.StorageSharedKeyCredentialPolicy=cx});var C$=g(km=>{"use strict";Object.defineProperty(km,"__esModule",{value:!0});km.StorageSharedKeyCredential=void 0;var fDe=require("node:crypto"),mDe=lx(),gDe=Tm(),Ax=class extends gDe.Credential{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new mDe.StorageSharedKeyCredentialPolicy(e,r,this)}computeHMACSHA256(e){return(0,fDe.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};km.StorageSharedKeyCredential=Ax});var E$=g(Lm=>{"use strict";Object.defineProperty(Lm,"__esModule",{value:!0});Lm.AbortError=void 0;var ux=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};Lm.AbortError=ux});var dx=g(Um=>{"use strict";Object.defineProperty(Um,"__esModule",{value:!0});Um.AbortError=void 0;var yDe=E$();Object.defineProperty(Um,"AbortError",{enumerable:!0,get:function(){return yDe.AbortError}})});var px=g(Fm=>{"use strict";Object.defineProperty(Fm,"__esModule",{value:!0});Fm.logger=void 0;var CDe=Jc();Fm.logger=(0,CDe.createClientLogger)("storage-common")});var hx=g(qm=>{"use strict";Object.defineProperty(qm,"__esModule",{value:!0});qm.StorageRetryPolicyType=void 0;var B$;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(B$||(qm.StorageRetryPolicyType=B$={}))});var b$=g(Yu=>{"use strict";Object.defineProperty(Yu,"__esModule",{value:!0});Yu.StorageRetryPolicy=void 0;Yu.NewRetryPolicyFactory=IDe;var EDe=dx(),BDe=Gu(),I$=hs(),fx=ra(),Zs=px(),mx=hx();function IDe(t){return{create:(e,r)=>new Hm(e,r,t)}}o(IDe,"NewRetryPolicyFactory");var eo={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:mx.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},bDe=new EDe.AbortError("The operation was aborted."),Hm=class extends BDe.BaseRequestPolicy{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=eo){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:eo.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):eo.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:eo.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:eo.maxRetryDelayInMs):eo.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:eo.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:eo.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,n){let i=e.clone(),s=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||n%2===1;s||(i.url=(0,fx.setURLHost)(i.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(i.url=(0,fx.setURLParameter)(i.url,I$.URLConstants.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(Zs.logger.info(`RetryPolicy: =====> Try=${n} ${s?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(i),!this.shouldRetry(s,n,a))return a;r=r||!s&&a.status===404}catch(c){if(Zs.logger.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(s,n,a,c))throw c}return await this.delay(s,n,e.abortSignal),this.attemptSendRequest(e,r,++n)}shouldRetry(e,r,n,i){if(r>=this.retryOptions.maxTries)return Zs.logger.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let s=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(i){for(let a of s)if(i.name.toUpperCase().includes(a)||i.message.toUpperCase().includes(a)||i.code&&i.code.toString().toUpperCase()===a)return Zs.logger.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(n||i){let a=n?n.status:i?i.statusCode:0;if(!e&&a===404)return Zs.logger.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return Zs.logger.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(n&&n?.status>=400){let a=n.headers.get(I$.HeaderConstants.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag')?(Zs.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,n){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case mx.StorageRetryPolicyType.EXPONENTIAL:i=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case mx.StorageRetryPolicyType.FIXED:i=this.retryOptions.retryDelayInMs;break}else i=Math.random()*1e3;return Zs.logger.info(`RetryPolicy: Delay for ${i}ms`),(0,fx.delay)(i,n,bDe)}};Yu.StorageRetryPolicy=Hm});var Cx=g(Ri=>{"use strict";Object.defineProperty(Ri,"__esModule",{value:!0});Ri.StorageRetryPolicyFactory=Ri.NewRetryPolicyFactory=Ri.StorageRetryPolicy=Ri.StorageRetryPolicyType=void 0;var yx=b$();Object.defineProperty(Ri,"StorageRetryPolicy",{enumerable:!0,get:function(){return yx.StorageRetryPolicy}});Object.defineProperty(Ri,"NewRetryPolicyFactory",{enumerable:!0,get:function(){return yx.NewRetryPolicyFactory}});var QDe=hx();Object.defineProperty(Ri,"StorageRetryPolicyType",{enumerable:!0,get:function(){return QDe.StorageRetryPolicyType}});var gx=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new yx.StorageRetryPolicy(e,r,this.retryOptions)}};Ri.StorageRetryPolicyFactory=gx});var Q$=g(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});al.storageBrowserPolicyName=void 0;al.storageBrowserPolicy=xDe;var wDe=pt(),Ex=hs(),NDe=ra();al.storageBrowserPolicyName="storageBrowserPolicy";function xDe(){return{name:al.storageBrowserPolicyName,async sendRequest(t,e){return wDe.isNodeLike||((t.method==="GET"||t.method==="HEAD")&&(t.url=(0,NDe.setURLParameter)(t.url,Ex.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(Ex.HeaderConstants.COOKIE),t.headers.delete(Ex.HeaderConstants.CONTENT_LENGTH)),e(t)}}}o(xDe,"storageBrowserPolicy")});var w$=g(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});cl.storageCorrectContentLengthPolicyName=void 0;cl.storageCorrectContentLengthPolicy=RDe;var SDe=hs();cl.storageCorrectContentLengthPolicyName="StorageCorrectContentLengthPolicy";function RDe(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(SDe.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(e.body))}return o(t,"correctContentLength"),{name:cl.storageCorrectContentLengthPolicyName,async sendRequest(e,r){return t(e),r(e)}}}o(RDe,"storageCorrectContentLengthPolicy")});var S$=g(Al=>{"use strict";Object.defineProperty(Al,"__esModule",{value:!0});Al.storageRetryPolicyName=void 0;Al.storageRetryPolicy=TDe;var _De=dx(),N$=Ot(),vDe=pt(),Ix=Cx(),x$=hs(),Bx=ra(),fs=px();Al.storageRetryPolicyName="storageRetryPolicy";var ll={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Ix.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},PDe=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],DDe=new _De.AbortError("The operation was aborted.");function TDe(t={}){let e=t.retryPolicyType??ll.retryPolicyType,r=t.maxTries??ll.maxTries,n=t.retryDelayInMs??ll.retryDelayInMs,i=t.maxRetryDelayInMs??ll.maxRetryDelayInMs,s=t.secondaryHost??ll.secondaryHost,a=t.tryTimeoutInMs??ll.tryTimeoutInMs;function c({isPrimaryRetry:A,attempt:u,response:d,error:f}){if(u>=r)return fs.logger.info(`RetryPolicy: Attempt(s) ${u} >= maxTries ${r}, no further try.`),!1;if(f){for(let m of PDe)if(f.name.toUpperCase().includes(m)||f.message.toUpperCase().includes(m)||f.code&&f.code.toString().toUpperCase()===m)return fs.logger.info(`RetryPolicy: Network error ${m} found, will retry.`),!0;if(f?.code==="PARSE_ERROR"&&f?.message.startsWith('Error "Error: Unclosed root tag'))return fs.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(d||f){let m=d?.status??f?.statusCode??0;if(!A&&m===404)return fs.logger.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(m===503||m===500)return fs.logger.info(`RetryPolicy: Will retry for status code ${m}.`),!0}if(d&&d?.status>=400){let m=d.headers.get(x$.HeaderConstants.X_MS_CopySourceErrorCode);if(m!==void 0)switch(m){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}o(c,"shouldRetry");function l(A,u){let d=0;if(A)switch(e){case Ix.StorageRetryPolicyType.EXPONENTIAL:d=Math.min((Math.pow(2,u-1)-1)*n,i);break;case Ix.StorageRetryPolicyType.FIXED:d=n;break}else d=Math.random()*1e3;return fs.logger.info(`RetryPolicy: Delay for ${d}ms`),d}return o(l,"calculateDelay"),{name:Al.storageRetryPolicyName,async sendRequest(A,u){a&&(A.url=(0,Bx.setURLParameter)(A.url,x$.URLConstants.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let d=A.url,f=s?(0,Bx.setURLHost)(A.url,s):void 0,m=!1,C=1,Q=!0,S,w;for(;Q;){let R=m||!f||!["GET","HEAD","OPTIONS"].includes(A.method)||C%2===1;A.url=R?d:f,S=void 0,w=void 0;try{fs.logger.info(`RetryPolicy: =====> Try=${C} ${R?"Primary":"Secondary"}`),S=await u(A),m=m||!R&&S.status===404}catch(T){if((0,N$.isRestError)(T))fs.logger.error(`RetryPolicy: Caught error, message: ${T.message}, code: ${T.code}`),w=T;else throw fs.logger.error(`RetryPolicy: Caught error, message: ${(0,vDe.getErrorMessage)(T)}`),T}Q=c({isPrimaryRetry:R,attempt:C,response:S,error:w}),Q&&await(0,Bx.delay)(l(R,C),A.abortSignal,DDe),C++}if(S)return S;throw w??new N$.RestError("RetryPolicy failed without known error.")}}}o(TDe,"storageRetryPolicy")});var _$=g(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});ul.storageSharedKeyCredentialPolicyName=void 0;ul.storageSharedKeyCredentialPolicy=kDe;var ODe=require("node:crypto"),cr=hs(),R$=ra(),MDe=ax();ul.storageSharedKeyCredentialPolicyName="storageSharedKeyCredentialPolicy";function kDe(t){function e(s){s.headers.set(cr.HeaderConstants.X_MS_DATE,new Date().toUTCString()),s.body&&(typeof s.body=="string"||Buffer.isBuffer(s.body))&&s.body.length>0&&s.headers.set(cr.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(s.body));let a=[s.method.toUpperCase(),r(s,cr.HeaderConstants.CONTENT_LANGUAGE),r(s,cr.HeaderConstants.CONTENT_ENCODING),r(s,cr.HeaderConstants.CONTENT_LENGTH),r(s,cr.HeaderConstants.CONTENT_MD5),r(s,cr.HeaderConstants.CONTENT_TYPE),r(s,cr.HeaderConstants.DATE),r(s,cr.HeaderConstants.IF_MODIFIED_SINCE),r(s,cr.HeaderConstants.IF_MATCH),r(s,cr.HeaderConstants.IF_NONE_MATCH),r(s,cr.HeaderConstants.IF_UNMODIFIED_SINCE),r(s,cr.HeaderConstants.RANGE)].join(`
`)+`
`+n(s)+i(s),c=(0,ODe.createHmac)("sha256",t.accountKey).update(a,"utf8").digest("base64");s.headers.set(cr.HeaderConstants.AUTHORIZATION,`SharedKey ${t.accountName}:${c}`)}o(e,"signRequest");function r(s,a){let c=s.headers.get(a);return!c||a===cr.HeaderConstants.CONTENT_LENGTH&&c==="0"?"":c}o(r,"getHeaderValueToSign");function n(s){let a=[];for(let[l,A]of s.headers)l.toLowerCase().startsWith(cr.HeaderConstants.PREFIX_FOR_STORAGE)&&a.push({name:l,value:A});a.sort((l,A)=>(0,MDe.compareHeader)(l.name.toLowerCase(),A.name.toLowerCase())),a=a.filter((l,A,u)=>!(A>0&&l.name.toLowerCase()===u[A-1].name.toLowerCase()));let c="";return a.forEach(l=>{c+=`${l.name.toLowerCase().trimRight()}:${l.value.trimLeft()}
`}),c}o(n,"getCanonicalizedHeadersString");function i(s){let a=(0,R$.getURLPath)(s.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=(0,R$.getURLQueries)(s.url),A={};if(l){let u=[];for(let d in l)if(Object.prototype.hasOwnProperty.call(l,d)){let f=d.toLowerCase();A[f]=l[d],u.push(f)}u.sort();for(let d of u)c+=`
${d}:${decodeURIComponent(A[d])}`}return c}return o(i,"getCanonicalizedResourceString"),{name:ul.storageSharedKeyCredentialPolicyName,async sendRequest(s,a){return e(s),a(s)}}}o(kDe,"storageSharedKeyCredentialPolicy")});var v$=g(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});dl.storageRequestFailureDetailsParserPolicyName=void 0;dl.storageRequestFailureDetailsParserPolicy=LDe;dl.storageRequestFailureDetailsParserPolicyName="storageRequestFailureDetailsParserPolicy";function LDe(){return{name:dl.storageRequestFailureDetailsParserPolicyName,async sendRequest(t,e){try{return await e(t)}catch(r){throw typeof r=="object"&&r!==null&&r.response&&r.response.parsedBody&&r.response.parsedBody.code==="InvalidHeaderValue"&&r.response.parsedBody.HeaderName==="x-ms-version"&&(r.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.
`),r}}}}o(LDe,"storageRequestFailureDetailsParserPolicy")});var P$=g(zm=>{"use strict";Object.defineProperty(zm,"__esModule",{value:!0});zm.UserDelegationKeyCredential=void 0;var UDe=require("node:crypto"),bx=class{static{o(this,"UserDelegationKeyCredential")}accountName;userDelegationKey;key;constructor(e,r){this.accountName=e,this.userDelegationKey=r,this.key=Buffer.from(r.value,"base64")}computeHMACSHA256(e){return(0,UDe.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};zm.UserDelegationKeyCredential=bx});var ei=g(gt=>{"use strict";Object.defineProperty(gt,"__esModule",{value:!0});gt.BaseRequestPolicy=gt.getCachedDefaultHttpClient=void 0;var lr=(G0(),Zt(j0));lr.__exportStar(r$(),gt);var FDe=n$();Object.defineProperty(gt,"getCachedDefaultHttpClient",{enumerable:!0,get:function(){return FDe.getCachedDefaultHttpClient}});lr.__exportStar(s$(),gt);lr.__exportStar(m$(),gt);lr.__exportStar(g$(),gt);lr.__exportStar(Tm(),gt);lr.__exportStar(C$(),gt);lr.__exportStar(Cx(),gt);var qDe=Gu();Object.defineProperty(gt,"BaseRequestPolicy",{enumerable:!0,get:function(){return qDe.BaseRequestPolicy}});lr.__exportStar(nx(),gt);lr.__exportStar(vm(),gt);lr.__exportStar(Q$(),gt);lr.__exportStar(w$(),gt);lr.__exportStar(S$(),gt);lr.__exportStar(lx(),gt);lr.__exportStar(_$(),gt);lr.__exportStar(v$(),gt);lr.__exportStar(P$(),gt)});var en=g(Z=>{"use strict";Object.defineProperty(Z,"__esModule",{value:!0});Z.PathStylePorts=Z.BlobDoesNotUseCustomerSpecifiedEncryption=Z.BlobUsesCustomerSpecifiedEncryptionMsg=Z.StorageBlobLoggingAllowedQueryParameters=Z.StorageBlobLoggingAllowedHeaderNames=Z.DevelopmentConnectionString=Z.EncryptionAlgorithmAES25=Z.HTTP_VERSION_1_1=Z.HTTP_LINE_ENDING=Z.BATCH_MAX_PAYLOAD_IN_BYTES=Z.BATCH_MAX_REQUEST=Z.SIZE_1_MB=Z.ETagAny=Z.ETagNone=Z.HeaderConstants=Z.HTTPURLConnection=Z.URLConstants=Z.StorageOAuthScopes=Z.REQUEST_TIMEOUT=Z.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=Z.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=Z.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=Z.BLOCK_BLOB_MAX_BLOCKS=Z.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=Z.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=Z.SERVICE_VERSION=Z.SDK_VERSION=void 0;Z.SDK_VERSION="12.31.0";Z.SERVICE_VERSION="2026-02-06";Z.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=256*1024*1024;Z.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=4e3*1024*1024;Z.BLOCK_BLOB_MAX_BLOCKS=5e4;Z.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=8*1024*1024;Z.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=4*1024*1024;Z.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=5;Z.REQUEST_TIMEOUT=100*1e3;Z.StorageOAuthScopes="https://storage.azure.com/.default";Z.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};Z.HTTPURLConnection={HTTP_ACCEPTED:202,HTTP_CONFLICT:409,HTTP_NOT_FOUND:404,HTTP_PRECON_FAILED:412,HTTP_RANGE_NOT_SATISFIABLE:416};Z.HeaderConstants={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};Z.ETagNone="";Z.ETagAny="*";Z.SIZE_1_MB=1*1024*1024;Z.BATCH_MAX_REQUEST=256;Z.BATCH_MAX_PAYLOAD_IN_BYTES=4*Z.SIZE_1_MB;Z.HTTP_LINE_ENDING=`\r
`;Z.HTTP_VERSION_1_1="HTTP/1.1";Z.EncryptionAlgorithmAES25="AES256";Z.DevelopmentConnectionString="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;";Z.StorageBlobLoggingAllowedHeaderNames=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"];Z.StorageBlobLoggingAllowedQueryParameters=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"];Z.BlobUsesCustomerSpecifiedEncryptionMsg="BlobUsesCustomerSpecifiedEncryption";Z.BlobDoesNotUseCustomerSpecifiedEncryption="BlobDoesNotUseCustomerSpecifiedEncryption";Z.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]});var to=g(_i=>{"use strict";Object.defineProperty(_i,"__esModule",{value:!0});_i.Pipeline=_i.StorageOAuthScopes=void 0;_i.isPipelineLike=zDe;_i.newPipeline=jDe;_i.getCoreClientOptions=YDe;_i.getCredentialFromPipeline=k$;var M$=gm(),D$=Ot(),T$=xi(),O$=F0(),Qx=Kc(),HDe=Em(),tn=ei(),Ju=en();Object.defineProperty(_i,"StorageOAuthScopes",{enumerable:!0,get:function(){return Ju.StorageOAuthScopes}});function zDe(t){if(!t||typeof t!="object")return!1;let e=t;return Array.isArray(e.factories)&&typeof e.options=="object"&&typeof e.toServiceClientOptions=="function"}o(zDe,"isPipelineLike");var jm=class{static{o(this,"Pipeline")}factories;options;constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};_i.Pipeline=jm;function jDe(t,e={}){t||(t=new tn.AnonymousCredential);let r=new jm([],e);return r._credential=t,r}o(jDe,"newPipeline");function GDe(t){let e=[JDe,L$,VDe,WDe,$De,KDe,ZDe];if(t.factories.length){let r=t.factories.filter(n=>!e.some(i=>i(n)));if(r.length){let n=r.some(i=>XDe(i));return{wrappedPolicies:(0,M$.createRequestPolicyFactoryPolicy)(r),afterRetry:n}}}}o(GDe,"processDownlevelPipeline");function YDe(t){let{httpClient:e,...r}=t.options,n=t._coreHttpClient;n||(n=e?(0,M$.convertHttpClient)(e):(0,tn.getCachedDefaultHttpClient)(),t._coreHttpClient=n);let i=t._corePipeline;if(!i){let s=`azsdk-js-azure-storage-blob/${Ju.SDK_VERSION}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${s}`:`${s}`;i=(0,T$.createClientPipeline)({...r,loggingOptions:{additionalAllowedHeaderNames:Ju.StorageBlobLoggingAllowedHeaderNames,additionalAllowedQueryParameters:Ju.StorageBlobLoggingAllowedQueryParameters,logger:HDe.logger.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:O$.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:O$.parseXML,serializerOptions:{xml:{xmlCharKey:"#"}}}}),i.removePolicy({phase:"Retry"}),i.removePolicy({name:D$.decompressResponsePolicyName}),i.addPolicy((0,tn.storageCorrectContentLengthPolicy)()),i.addPolicy((0,tn.storageRetryPolicy)(r.retryOptions),{phase:"Retry"}),i.addPolicy((0,tn.storageRequestFailureDetailsParserPolicy)()),i.addPolicy((0,tn.storageBrowserPolicy)());let c=GDe(t);c&&i.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=k$(t);(0,Qx.isTokenCredential)(l)?i.addPolicy((0,D$.bearerTokenAuthenticationPolicy)({credential:l,scopes:r.audience??Ju.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:T$.authorizeRequestOnTenantChallenge}}),{phase:"Sign"}):l instanceof tn.StorageSharedKeyCredential&&i.addPolicy((0,tn.storageSharedKeyCredentialPolicy)({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=i}return{...r,allowInsecureConnection:!0,httpClient:n,pipeline:i}}o(YDe,"getCoreClientOptions");function k$(t){if(t._credential)return t._credential;let e=new tn.AnonymousCredential;for(let r of t.factories)if((0,Qx.isTokenCredential)(r.credential))e=r.credential;else if(L$(r))return r;return e}o(k$,"getCredentialFromPipeline");function L$(t){return t instanceof tn.StorageSharedKeyCredential?!0:t.constructor.name==="StorageSharedKeyCredential"}o(L$,"isStorageSharedKeyCredential");function JDe(t){return t instanceof tn.AnonymousCredential?!0:t.constructor.name==="AnonymousCredential"}o(JDe,"isAnonymousCredential");function VDe(t){return(0,Qx.isTokenCredential)(t.credential)}o(VDe,"isCoreHttpBearerTokenFactory");function WDe(t){return t instanceof tn.StorageBrowserPolicyFactory?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(WDe,"isStorageBrowserPolicyFactory");function $De(t){return t instanceof tn.StorageRetryPolicyFactory?!0:t.constructor.name==="StorageRetryPolicyFactory"}o($De,"isStorageRetryPolicyFactory");function KDe(t){return t.constructor.name==="TelemetryPolicyFactory"}o(KDe,"isStorageTelemetryPolicyFactory");function XDe(t){return t.constructor.name==="InjectorPolicyFactory"}o(XDe,"isInjectorPolicyFactory");function ZDe(t){let e=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"],r={sendRequest:async a=>({request:a,headers:a.headers.clone(),status:500})},n={log(a,c){},shouldLog(a){return!1}},s=t.create(r,n).constructor.name;return e.some(a=>s.startsWith(a))}o(ZDe,"isCoreHttpPolicyFactory")});var z$=g(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.KnownStorageErrorCode=vi.KnownBlobExpiryOptions=vi.KnownFileShareTokenIntent=vi.KnownEncryptionAlgorithmType=void 0;var U$;(function(t){t.AES256="AES256"})(U$||(vi.KnownEncryptionAlgorithmType=U$={}));var F$;(function(t){t.Backup="backup"})(F$||(vi.KnownFileShareTokenIntent=F$={}));var q$;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(q$||(vi.KnownBlobExpiryOptions=q$={}));var H$;(function(t){t.AccountAlreadyExists="AccountAlreadyExists",t.AccountBeingCreated="AccountBeingCreated",t.AccountIsDisabled="AccountIsDisabled",t.AuthenticationFailed="AuthenticationFailed",t.AuthorizationFailure="AuthorizationFailure",t.ConditionHeadersNotSupported="ConditionHeadersNotSupported",t.ConditionNotMet="ConditionNotMet",t.EmptyMetadataKey="EmptyMetadataKey",t.InsufficientAccountPermissions="InsufficientAccountPermissions",t.InternalError="InternalError",t.InvalidAuthenticationInfo="InvalidAuthenticationInfo",t.InvalidHeaderValue="InvalidHeaderValue",t.InvalidHttpVerb="InvalidHttpVerb",t.InvalidInput="InvalidInput",t.InvalidMd5="InvalidMd5",t.InvalidMetadata="InvalidMetadata",t.InvalidQueryParameterValue="InvalidQueryParameterValue",t.InvalidRange="InvalidRange",t.InvalidResourceName="InvalidResourceName",t.InvalidUri="InvalidUri",t.InvalidXmlDocument="InvalidXmlDocument",t.InvalidXmlNodeValue="InvalidXmlNodeValue",t.Md5Mismatch="Md5Mismatch",t.MetadataTooLarge="MetadataTooLarge",t.MissingContentLengthHeader="MissingContentLengthHeader",t.MissingRequiredQueryParameter="MissingRequiredQueryParameter",t.MissingRequiredHeader="MissingRequiredHeader",t.MissingRequiredXmlNode="MissingRequiredXmlNode",t.MultipleConditionHeadersNotSupported="MultipleConditionHeadersNotSupported",t.OperationTimedOut="OperationTimedOut",t.OutOfRangeInput="OutOfRangeInput",t.OutOfRangeQueryParameterValue="OutOfRangeQueryParameterValue",t.RequestBodyTooLarge="RequestBodyTooLarge",t.ResourceTypeMismatch="ResourceTypeMismatch",t.RequestUrlFailedToParse="RequestUrlFailedToParse",t.ResourceAlreadyExists="ResourceAlreadyExists",t.ResourceNotFound="ResourceNotFound",t.ServerBusy="ServerBusy",t.UnsupportedHeader="UnsupportedHeader",t.UnsupportedXmlNode="UnsupportedXmlNode",t.UnsupportedQueryParameter="UnsupportedQueryParameter",t.UnsupportedHttpVerb="UnsupportedHttpVerb",t.AppendPositionConditionNotMet="AppendPositionConditionNotMet",t.BlobAlreadyExists="BlobAlreadyExists",t.BlobImmutableDueToPolicy="BlobImmutableDueToPolicy",t.BlobNotFound="BlobNotFound",t.BlobOverwritten="BlobOverwritten",t.BlobTierInadequateForContentLength="BlobTierInadequateForContentLength",t.BlobUsesCustomerSpecifiedEncryption="BlobUsesCustomerSpecifiedEncryption",t.BlockCountExceedsLimit="BlockCountExceedsLimit",t.BlockListTooLong="BlockListTooLong",t.CannotChangeToLowerTier="CannotChangeToLowerTier",t.CannotVerifyCopySource="CannotVerifyCopySource",t.ContainerAlreadyExists="ContainerAlreadyExists",t.ContainerBeingDeleted="ContainerBeingDeleted",t.ContainerDisabled="ContainerDisabled",t.ContainerNotFound="ContainerNotFound",t.ContentLengthLargerThanTierLimit="ContentLengthLargerThanTierLimit",t.CopyAcrossAccountsNotSupported="CopyAcrossAccountsNotSupported",t.CopyIdMismatch="CopyIdMismatch",t.FeatureVersionMismatch="FeatureVersionMismatch",t.IncrementalCopyBlobMismatch="IncrementalCopyBlobMismatch",t.IncrementalCopyOfEarlierVersionSnapshotNotAllowed="IncrementalCopyOfEarlierVersionSnapshotNotAllowed",t.IncrementalCopySourceMustBeSnapshot="IncrementalCopySourceMustBeSnapshot",t.InfiniteLeaseDurationRequired="InfiniteLeaseDurationRequired",t.InvalidBlobOrBlock="InvalidBlobOrBlock",t.InvalidBlobTier="InvalidBlobTier",t.InvalidBlobType="InvalidBlobType",t.InvalidBlockId="InvalidBlockId",t.InvalidBlockList="InvalidBlockList",t.InvalidOperation="InvalidOperation",t.InvalidPageRange="InvalidPageRange",t.InvalidSourceBlobType="InvalidSourceBlobType",t.InvalidSourceBlobUrl="InvalidSourceBlobUrl",t.InvalidVersionForPageBlobOperation="InvalidVersionForPageBlobOperation",t.LeaseAlreadyPresent="LeaseAlreadyPresent",t.LeaseAlreadyBroken="LeaseAlreadyBroken",t.LeaseIdMismatchWithBlobOperation="LeaseIdMismatchWithBlobOperation",t.LeaseIdMismatchWithContainerOperation="LeaseIdMismatchWithContainerOperation",t.LeaseIdMismatchWithLeaseOperation="LeaseIdMismatchWithLeaseOperation",t.LeaseIdMissing="LeaseIdMissing",t.LeaseIsBreakingAndCannotBeAcquired="LeaseIsBreakingAndCannotBeAcquired",t.LeaseIsBreakingAndCannotBeChanged="LeaseIsBreakingAndCannotBeChanged",t.LeaseIsBrokenAndCannotBeRenewed="LeaseIsBrokenAndCannotBeRenewed",t.LeaseLost="LeaseLost",t.LeaseNotPresentWithBlobOperation="LeaseNotPresentWithBlobOperation",t.LeaseNotPresentWithContainerOperation="LeaseNotPresentWithContainerOperation",t.LeaseNotPresentWithLeaseOperation="LeaseNotPresentWithLeaseOperation",t.MaxBlobSizeConditionNotMet="MaxBlobSizeConditionNotMet",t.NoAuthenticationInformation="NoAuthenticationInformation",t.NoPendingCopyOperation="NoPendingCopyOperation",t.OperationNotAllowedOnIncrementalCopyBlob="OperationNotAllowedOnIncrementalCopyBlob",t.PendingCopyOperation="PendingCopyOperation",t.PreviousSnapshotCannotBeNewer="PreviousSnapshotCannotBeNewer",t.PreviousSnapshotNotFound="PreviousSnapshotNotFound",t.PreviousSnapshotOperationNotSupported="PreviousSnapshotOperationNotSupported",t.SequenceNumberConditionNotMet="SequenceNumberConditionNotMet",t.SequenceNumberIncrementTooLarge="SequenceNumberIncrementTooLarge",t.SnapshotCountExceeded="SnapshotCountExceeded",t.SnapshotOperationRateExceeded="SnapshotOperationRateExceeded",t.SnapshotsPresent="SnapshotsPresent",t.SourceConditionNotMet="SourceConditionNotMet",t.SystemInUse="SystemInUse",t.TargetConditionNotMet="TargetConditionNotMet",t.UnauthorizedBlobOverwrite="UnauthorizedBlobOverwrite",t.BlobBeingRehydrated="BlobBeingRehydrated",t.BlobArchived="BlobArchived",t.BlobNotArchived="BlobNotArchived",t.AuthorizationSourceIPMismatch="AuthorizationSourceIPMismatch",t.AuthorizationProtocolMismatch="AuthorizationProtocolMismatch",t.AuthorizationPermissionMismatch="AuthorizationPermissionMismatch",t.AuthorizationServiceMismatch="AuthorizationServiceMismatch",t.AuthorizationResourceTypeMismatch="AuthorizationResourceTypeMismatch",t.BlobAccessTierNotSupportedForAccountType="BlobAccessTierNotSupportedForAccountType"})(H$||(vi.KnownStorageErrorCode=H$={}))});var ro=g(E=>{"use strict";Object.defineProperty(E,"__esModule",{value:!0});E.ServiceGetUserDelegationKeyHeaders=E.ServiceListContainersSegmentExceptionHeaders=E.ServiceListContainersSegmentHeaders=E.ServiceGetStatisticsExceptionHeaders=E.ServiceGetStatisticsHeaders=E.ServiceGetPropertiesExceptionHeaders=E.ServiceGetPropertiesHeaders=E.ServiceSetPropertiesExceptionHeaders=E.ServiceSetPropertiesHeaders=E.ArrowField=E.ArrowConfiguration=E.JsonTextConfiguration=E.DelimitedTextConfiguration=E.QueryFormat=E.QuerySerialization=E.QueryRequest=E.ClearRange=E.PageRange=E.PageList=E.Block=E.BlockList=E.BlockLookupList=E.BlobPrefix=E.BlobHierarchyListSegment=E.ListBlobsHierarchySegmentResponse=E.BlobPropertiesInternal=E.BlobName=E.BlobItemInternal=E.BlobFlatListSegment=E.ListBlobsFlatSegmentResponse=E.AccessPolicy=E.SignedIdentifier=E.BlobTag=E.BlobTags=E.FilterBlobItem=E.FilterBlobSegment=E.UserDelegationKey=E.KeyInfo=E.ContainerProperties=E.ContainerItem=E.ListContainersSegmentResponse=E.GeoReplication=E.BlobServiceStatistics=E.StorageError=E.StaticWebsite=E.CorsRule=E.Metrics=E.RetentionPolicy=E.Logging=E.BlobServiceProperties=void 0;E.BlobUndeleteHeaders=E.BlobDeleteExceptionHeaders=E.BlobDeleteHeaders=E.BlobGetPropertiesExceptionHeaders=E.BlobGetPropertiesHeaders=E.BlobDownloadExceptionHeaders=E.BlobDownloadHeaders=E.ContainerGetAccountInfoExceptionHeaders=E.ContainerGetAccountInfoHeaders=E.ContainerListBlobHierarchySegmentExceptionHeaders=E.ContainerListBlobHierarchySegmentHeaders=E.ContainerListBlobFlatSegmentExceptionHeaders=E.ContainerListBlobFlatSegmentHeaders=E.ContainerChangeLeaseExceptionHeaders=E.ContainerChangeLeaseHeaders=E.ContainerBreakLeaseExceptionHeaders=E.ContainerBreakLeaseHeaders=E.ContainerRenewLeaseExceptionHeaders=E.ContainerRenewLeaseHeaders=E.ContainerReleaseLeaseExceptionHeaders=E.ContainerReleaseLeaseHeaders=E.ContainerAcquireLeaseExceptionHeaders=E.ContainerAcquireLeaseHeaders=E.ContainerFilterBlobsExceptionHeaders=E.ContainerFilterBlobsHeaders=E.ContainerSubmitBatchExceptionHeaders=E.ContainerSubmitBatchHeaders=E.ContainerRenameExceptionHeaders=E.ContainerRenameHeaders=E.ContainerRestoreExceptionHeaders=E.ContainerRestoreHeaders=E.ContainerSetAccessPolicyExceptionHeaders=E.ContainerSetAccessPolicyHeaders=E.ContainerGetAccessPolicyExceptionHeaders=E.ContainerGetAccessPolicyHeaders=E.ContainerSetMetadataExceptionHeaders=E.ContainerSetMetadataHeaders=E.ContainerDeleteExceptionHeaders=E.ContainerDeleteHeaders=E.ContainerGetPropertiesExceptionHeaders=E.ContainerGetPropertiesHeaders=E.ContainerCreateExceptionHeaders=E.ContainerCreateHeaders=E.ServiceFilterBlobsExceptionHeaders=E.ServiceFilterBlobsHeaders=E.ServiceSubmitBatchExceptionHeaders=E.ServiceSubmitBatchHeaders=E.ServiceGetAccountInfoExceptionHeaders=E.ServiceGetAccountInfoHeaders=E.ServiceGetUserDelegationKeyExceptionHeaders=void 0;E.PageBlobGetPageRangesHeaders=E.PageBlobUploadPagesFromURLExceptionHeaders=E.PageBlobUploadPagesFromURLHeaders=E.PageBlobClearPagesExceptionHeaders=E.PageBlobClearPagesHeaders=E.PageBlobUploadPagesExceptionHeaders=E.PageBlobUploadPagesHeaders=E.PageBlobCreateExceptionHeaders=E.PageBlobCreateHeaders=E.BlobSetTagsExceptionHeaders=E.BlobSetTagsHeaders=E.BlobGetTagsExceptionHeaders=E.BlobGetTagsHeaders=E.BlobQueryExceptionHeaders=E.BlobQueryHeaders=E.BlobGetAccountInfoExceptionHeaders=E.BlobGetAccountInfoHeaders=E.BlobSetTierExceptionHeaders=E.BlobSetTierHeaders=E.BlobAbortCopyFromURLExceptionHeaders=E.BlobAbortCopyFromURLHeaders=E.BlobCopyFromURLExceptionHeaders=E.BlobCopyFromURLHeaders=E.BlobStartCopyFromURLExceptionHeaders=E.BlobStartCopyFromURLHeaders=E.BlobCreateSnapshotExceptionHeaders=E.BlobCreateSnapshotHeaders=E.BlobBreakLeaseExceptionHeaders=E.BlobBreakLeaseHeaders=E.BlobChangeLeaseExceptionHeaders=E.BlobChangeLeaseHeaders=E.BlobRenewLeaseExceptionHeaders=E.BlobRenewLeaseHeaders=E.BlobReleaseLeaseExceptionHeaders=E.BlobReleaseLeaseHeaders=E.BlobAcquireLeaseExceptionHeaders=E.BlobAcquireLeaseHeaders=E.BlobSetMetadataExceptionHeaders=E.BlobSetMetadataHeaders=E.BlobSetLegalHoldExceptionHeaders=E.BlobSetLegalHoldHeaders=E.BlobDeleteImmutabilityPolicyExceptionHeaders=E.BlobDeleteImmutabilityPolicyHeaders=E.BlobSetImmutabilityPolicyExceptionHeaders=E.BlobSetImmutabilityPolicyHeaders=E.BlobSetHttpHeadersExceptionHeaders=E.BlobSetHttpHeadersHeaders=E.BlobSetExpiryExceptionHeaders=E.BlobSetExpiryHeaders=E.BlobUndeleteExceptionHeaders=void 0;E.BlockBlobGetBlockListExceptionHeaders=E.BlockBlobGetBlockListHeaders=E.BlockBlobCommitBlockListExceptionHeaders=E.BlockBlobCommitBlockListHeaders=E.BlockBlobStageBlockFromURLExceptionHeaders=E.BlockBlobStageBlockFromURLHeaders=E.BlockBlobStageBlockExceptionHeaders=E.BlockBlobStageBlockHeaders=E.BlockBlobPutBlobFromUrlExceptionHeaders=E.BlockBlobPutBlobFromUrlHeaders=E.BlockBlobUploadExceptionHeaders=E.BlockBlobUploadHeaders=E.AppendBlobSealExceptionHeaders=E.AppendBlobSealHeaders=E.AppendBlobAppendBlockFromUrlExceptionHeaders=E.AppendBlobAppendBlockFromUrlHeaders=E.AppendBlobAppendBlockExceptionHeaders=E.AppendBlobAppendBlockHeaders=E.AppendBlobCreateExceptionHeaders=E.AppendBlobCreateHeaders=E.PageBlobCopyIncrementalExceptionHeaders=E.PageBlobCopyIncrementalHeaders=E.PageBlobUpdateSequenceNumberExceptionHeaders=E.PageBlobUpdateSequenceNumberHeaders=E.PageBlobResizeExceptionHeaders=E.PageBlobResizeHeaders=E.PageBlobGetPageRangesDiffExceptionHeaders=E.PageBlobGetPageRangesDiffHeaders=E.PageBlobGetPageRangesExceptionHeaders=void 0;E.BlobServiceProperties={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:!0,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"}}}}};E.Logging={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:!0,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:!0,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:!0,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:!0,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};E.RetentionPolicy={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}};E.Metrics={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};E.CorsRule={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:!0,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:!0,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:!0,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:!0,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:!0,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}};E.StaticWebsite={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:!0,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"}}}}};E.StorageError={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}};E.BlobServiceStatistics={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}};E.GeoReplication={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:!0,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:!0,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}};E.ListContainersSegmentResponse={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,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:!0,xmlName:"Containers",xmlIsWrapped:!0,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};E.ContainerItem={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:!0,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"}}}}}}};E.ContainerProperties={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,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"}}}}};E.KeyInfo={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:!0,xmlName:"Expiry",type:{name:"String"}}}}};E.UserDelegationKey={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:!0,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:!0,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:!0,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:!0,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:!0,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:!0,xmlName:"SignedVersion",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}};E.FilterBlobSegment={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},where:{serializedName:"Where",required:!0,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:!0,xmlName:"Blobs",xmlIsWrapped:!0,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};E.FilterBlobItem={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}};E.BlobTags={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:!0,xmlName:"TagSet",xmlIsWrapped:!0,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}};E.BlobTag={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:!0,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}};E.SignedIdentifier={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:!0,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}};E.AccessPolicy={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}};E.ListBlobsFlatSegmentResponse={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,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"}}}}};E.BlobFlatListSegment={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};E.BlobItemInternal={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:!0,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:!0,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"}}}}};E.BlobName={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:!0,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:!0,type:{name:"String"}}}}};E.BlobPropertiesInternal={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,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"}}}}};E.ListBlobsHierarchySegmentResponse={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,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"}}}}};E.BlobHierarchyListSegment={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};E.BlobPrefix={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}};E.BlockLookupList={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}};E.BlockList={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}};E.Block={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:!0,xmlName:"Size",type:{name:"Number"}}}}};E.PageList={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};E.PageRange={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}};E.ClearRange={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}};E.QueryRequest={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:!0,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:!0,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"}}}}};E.QuerySerialization={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}};E.QueryFormat={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:!0,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"}}}}}}};E.DelimitedTextConfiguration={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}};E.JsonTextConfiguration={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}};E.ArrowConfiguration={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:!0,xmlName:"Schema",xmlIsWrapped:!0,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}};E.ArrowField={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:!0,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"}}}}};E.ServiceSetPropertiesHeaders={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceSetPropertiesExceptionHeaders={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetPropertiesHeaders={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetPropertiesExceptionHeaders={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetStatisticsHeaders={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetStatisticsExceptionHeaders={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceListContainersSegmentHeaders={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceListContainersSegmentExceptionHeaders={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetUserDelegationKeyHeaders={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetUserDelegationKeyExceptionHeaders={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetAccountInfoHeaders={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceGetAccountInfoExceptionHeaders={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceSubmitBatchHeaders={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceSubmitBatchExceptionHeaders={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceFilterBlobsHeaders={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ServiceFilterBlobsExceptionHeaders={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerCreateHeaders={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerCreateExceptionHeaders={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerGetPropertiesHeaders={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerGetPropertiesExceptionHeaders={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerDeleteHeaders={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerDeleteExceptionHeaders={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerSetMetadataHeaders={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerSetMetadataExceptionHeaders={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerGetAccessPolicyHeaders={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerGetAccessPolicyExceptionHeaders={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerSetAccessPolicyHeaders={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerSetAccessPolicyExceptionHeaders={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerRestoreHeaders={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerRestoreExceptionHeaders={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerRenameHeaders={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerRenameExceptionHeaders={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerSubmitBatchHeaders={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}};E.ContainerSubmitBatchExceptionHeaders={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerFilterBlobsHeaders={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.ContainerFilterBlobsExceptionHeaders={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerAcquireLeaseHeaders={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.ContainerAcquireLeaseExceptionHeaders={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerReleaseLeaseHeaders={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.ContainerReleaseLeaseExceptionHeaders={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerRenewLeaseHeaders={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.ContainerRenewLeaseExceptionHeaders={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerBreakLeaseHeaders={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.ContainerBreakLeaseExceptionHeaders={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerChangeLeaseHeaders={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.ContainerChangeLeaseExceptionHeaders={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerListBlobFlatSegmentHeaders={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerListBlobFlatSegmentExceptionHeaders={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerListBlobHierarchySegmentHeaders={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerListBlobHierarchySegmentExceptionHeaders={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.ContainerGetAccountInfoHeaders={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};E.ContainerGetAccountInfoExceptionHeaders={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobDownloadHeaders={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};E.BlobDownloadExceptionHeaders={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobGetPropertiesHeaders={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobGetPropertiesExceptionHeaders={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobDeleteHeaders={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobDeleteExceptionHeaders={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobUndeleteHeaders={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobUndeleteExceptionHeaders={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetExpiryHeaders={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.BlobSetExpiryExceptionHeaders={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetHttpHeadersHeaders={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetHttpHeadersExceptionHeaders={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetImmutabilityPolicyHeaders={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}};E.BlobSetImmutabilityPolicyExceptionHeaders={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobDeleteImmutabilityPolicyHeaders={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.BlobDeleteImmutabilityPolicyExceptionHeaders={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetLegalHoldHeaders={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}};E.BlobSetLegalHoldExceptionHeaders={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetMetadataHeaders={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetMetadataExceptionHeaders={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobAcquireLeaseHeaders={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.BlobAcquireLeaseExceptionHeaders={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobReleaseLeaseHeaders={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.BlobReleaseLeaseExceptionHeaders={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobRenewLeaseHeaders={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.BlobRenewLeaseExceptionHeaders={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobChangeLeaseHeaders={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.BlobChangeLeaseExceptionHeaders={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobBreakLeaseHeaders={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};E.BlobBreakLeaseExceptionHeaders={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobCreateSnapshotHeaders={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobCreateSnapshotExceptionHeaders={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobStartCopyFromURLHeaders={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobStartCopyFromURLExceptionHeaders={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};E.BlobCopyFromURLHeaders={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:!0,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"}}}}};E.BlobCopyFromURLExceptionHeaders={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};E.BlobAbortCopyFromURLHeaders={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobAbortCopyFromURLExceptionHeaders={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetTierHeaders={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetTierExceptionHeaders={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobGetAccountInfoHeaders={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};E.BlobGetAccountInfoExceptionHeaders={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobQueryHeaders={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};E.BlobQueryExceptionHeaders={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobGetTagsHeaders={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobGetTagsExceptionHeaders={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetTagsHeaders={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlobSetTagsExceptionHeaders={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobCreateHeaders={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobCreateExceptionHeaders={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobUploadPagesHeaders={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobUploadPagesExceptionHeaders={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobClearPagesHeaders={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobClearPagesExceptionHeaders={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobUploadPagesFromURLHeaders={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobUploadPagesFromURLExceptionHeaders={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};E.PageBlobGetPageRangesHeaders={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobGetPageRangesExceptionHeaders={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobGetPageRangesDiffHeaders={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobGetPageRangesDiffExceptionHeaders={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobResizeHeaders={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobResizeExceptionHeaders={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobUpdateSequenceNumberHeaders={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobUpdateSequenceNumberExceptionHeaders={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobCopyIncrementalHeaders={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.PageBlobCopyIncrementalExceptionHeaders={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.AppendBlobCreateHeaders={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.AppendBlobCreateExceptionHeaders={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.AppendBlobAppendBlockHeaders={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.AppendBlobAppendBlockExceptionHeaders={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.AppendBlobAppendBlockFromUrlHeaders={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.AppendBlobAppendBlockFromUrlExceptionHeaders={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};E.AppendBlobSealHeaders={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}};E.AppendBlobSealExceptionHeaders={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobUploadHeaders={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobUploadExceptionHeaders={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobPutBlobFromUrlHeaders={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobPutBlobFromUrlExceptionHeaders={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};E.BlockBlobStageBlockHeaders={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobStageBlockExceptionHeaders={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobStageBlockFromURLHeaders={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobStageBlockFromURLExceptionHeaders={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};E.BlockBlobCommitBlockListHeaders={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobCommitBlockListExceptionHeaders={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobGetBlockListHeaders={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};E.BlockBlobGetBlockListExceptionHeaders={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}}});var na=g(I=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});I.action3=I.action2=I.leaseId1=I.action1=I.proposedLeaseId=I.duration=I.action=I.comp10=I.sourceLeaseId=I.sourceContainerName=I.comp9=I.deletedContainerVersion=I.deletedContainerName=I.comp8=I.containerAcl=I.comp7=I.comp6=I.ifUnmodifiedSince=I.ifModifiedSince=I.leaseId=I.preventEncryptionScopeOverride=I.defaultEncryptionScope=I.access=I.metadata=I.restype2=I.where=I.comp5=I.multipartContentType=I.contentLength=I.comp4=I.body=I.restype1=I.comp3=I.keyInfo=I.include=I.maxPageSize=I.marker=I.prefix=I.comp2=I.comp1=I.accept1=I.requestId=I.version=I.timeoutInSeconds=I.comp=I.restype=I.url=I.accept=I.blobServiceProperties=I.contentType=void 0;I.copySourceTags=I.copySourceAuthorization=I.sourceContentMD5=I.xMsRequiresSync=I.legalHold1=I.sealBlob=I.blobTagsString=I.copySource=I.sourceIfTags=I.sourceIfNoneMatch=I.sourceIfMatch=I.sourceIfUnmodifiedSince=I.sourceIfModifiedSince=I.rehydratePriority=I.tier=I.comp14=I.encryptionScope=I.legalHold=I.comp13=I.immutabilityPolicyMode=I.immutabilityPolicyExpiry=I.comp12=I.blobContentDisposition=I.blobContentLanguage=I.blobContentEncoding=I.blobContentMD5=I.blobContentType=I.blobCacheControl=I.expiresOn=I.expiryOptions=I.comp11=I.blobDeleteType=I.deleteSnapshots=I.ifTags=I.ifNoneMatch=I.ifMatch=I.encryptionAlgorithm=I.encryptionKeySha256=I.encryptionKey=I.rangeGetContentCRC64=I.rangeGetContentMD5=I.range=I.versionId=I.snapshot=I.delimiter=I.startFrom=I.include1=I.proposedLeaseId1=I.action4=I.breakPeriod=void 0;I.listType=I.comp25=I.blocks=I.blockId=I.comp24=I.copySourceBlobProperties=I.blobType2=I.comp23=I.sourceRange1=I.appendPosition=I.maxSize=I.comp22=I.blobType1=I.comp21=I.sequenceNumberAction=I.prevSnapshotUrl=I.prevsnapshot=I.comp20=I.range1=I.sourceContentCrc64=I.sourceRange=I.sourceUrl=I.pageWrite1=I.ifSequenceNumberEqualTo=I.ifSequenceNumberLessThan=I.ifSequenceNumberLessThanOrEqualTo=I.pageWrite=I.comp19=I.accept2=I.body1=I.contentType1=I.blobSequenceNumber=I.blobContentLength=I.blobType=I.transactionalContentCrc64=I.transactionalContentMD5=I.tags=I.ifNoneMatch1=I.ifMatch1=I.ifUnmodifiedSince1=I.ifModifiedSince1=I.comp18=I.comp17=I.queryRequest=I.tier1=I.comp16=I.copyId=I.copyActionAbortConstant=I.comp15=I.fileRequestIntent=void 0;var Vu=ro();I.contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}};I.blobServiceProperties={parameterPath:"blobServiceProperties",mapper:Vu.BlobServiceProperties};I.accept={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}};I.url={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0};I.restype={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}};I.comp={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.timeoutInSeconds={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}};I.version={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}};I.requestId={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}};I.accept1={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}};I.comp1={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.comp2={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.prefix={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}};I.marker={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}};I.maxPageSize={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}};I.include={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"};I.keyInfo={parameterPath:"keyInfo",mapper:Vu.KeyInfo};I.comp3={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.restype1={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}};I.body={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}};I.comp4={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.contentLength={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}};I.multipartContentType={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}};I.comp5={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.where={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}};I.restype2={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}};I.metadata={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}};I.access={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}};I.defaultEncryptionScope={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}};I.preventEncryptionScopeOverride={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}};I.leaseId={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}};I.ifModifiedSince={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}};I.ifUnmodifiedSince={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}};I.comp6={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.comp7={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.containerAcl={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}};I.comp8={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.deletedContainerName={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}};I.deletedContainerVersion={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}};I.comp9={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.sourceContainerName={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}};I.sourceLeaseId={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}};I.comp10={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.action={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};I.duration={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}};I.proposedLeaseId={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};I.action1={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};I.leaseId1={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}};I.action2={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};I.action3={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};I.breakPeriod={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}};I.action4={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}};I.proposedLeaseId1={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};I.include1={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"};I.startFrom={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}};I.delimiter={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}};I.snapshot={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}};I.versionId={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}};I.range={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}};I.rangeGetContentMD5={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}};I.rangeGetContentCRC64={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}};I.encryptionKey={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}};I.encryptionKeySha256={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}};I.encryptionAlgorithm={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}};I.ifMatch={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}};I.ifNoneMatch={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}};I.ifTags={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}};I.deleteSnapshots={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}};I.blobDeleteType={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}};I.comp11={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.expiryOptions={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}};I.expiresOn={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}};I.blobCacheControl={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}};I.blobContentType={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}};I.blobContentMD5={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}};I.blobContentEncoding={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}};I.blobContentLanguage={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}};I.blobContentDisposition={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}};I.comp12={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.immutabilityPolicyExpiry={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}};I.immutabilityPolicyMode={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}};I.comp13={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.legalHold={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};I.encryptionScope={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}};I.comp14={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.tier={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};I.rehydratePriority={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}};I.sourceIfModifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}};I.sourceIfUnmodifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};I.sourceIfMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}};I.sourceIfNoneMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}};I.sourceIfTags={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}};I.copySource={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}};I.blobTagsString={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}};I.sealBlob={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}};I.legalHold1={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};I.xMsRequiresSync={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}};I.sourceContentMD5={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}};I.copySourceAuthorization={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}};I.copySourceTags={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}};I.fileRequestIntent={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}};I.comp15={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.copyActionAbortConstant={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}};I.copyId={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}};I.comp16={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.tier1={parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:!0,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};I.queryRequest={parameterPath:["options","queryRequest"],mapper:Vu.QueryRequest};I.comp17={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.comp18={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.ifModifiedSince1={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}};I.ifUnmodifiedSince1={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};I.ifMatch1={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}};I.ifNoneMatch1={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}};I.tags={parameterPath:["options","tags"],mapper:Vu.BlobTags};I.transactionalContentMD5={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}};I.transactionalContentCrc64={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}};I.blobType={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}};I.blobContentLength={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}};I.blobSequenceNumber={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}};I.contentType1={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}};I.body1={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}};I.accept2={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}};I.comp19={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.pageWrite={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}};I.ifSequenceNumberLessThanOrEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}};I.ifSequenceNumberLessThan={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}};I.ifSequenceNumberEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}};I.pageWrite1={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}};I.sourceUrl={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}};I.sourceRange={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}};I.sourceContentCrc64={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}};I.range1={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}};I.comp20={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.prevsnapshot={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}};I.prevSnapshotUrl={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}};I.sequenceNumberAction={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}};I.comp21={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.blobType1={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}};I.comp22={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.maxSize={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}};I.appendPosition={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}};I.sourceRange1={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}};I.comp23={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.blobType2={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}};I.copySourceBlobProperties={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}};I.comp24={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.blockId={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}};I.blocks={parameterPath:"blocks",mapper:Vu.BlockLookupList};I.comp25={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};I.listType={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}});var j$=g(Gm=>{"use strict";Object.defineProperty(Gm,"__esModule",{value:!0});Gm.ServiceImpl=void 0;var Nx=(Xr(),Zt(Kr)),eTe=Nx.__importStar(xi()),Fe=Nx.__importStar(ro()),J=Nx.__importStar(na()),wx=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},tTe)}getProperties(e){return this.client.sendOperationRequest({options:e},rTe)}getStatistics(e){return this.client.sendOperationRequest({options:e},nTe)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},iTe)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},sTe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},oTe)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},aTe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},cTe)}};Gm.ServiceImpl=wx;var no=eTe.createSerializer(Fe,!0),tTe={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:Fe.ServiceSetPropertiesHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceSetPropertiesExceptionHeaders}},requestBody:J.blobServiceProperties,queryParameters:[J.restype,J.comp,J.timeoutInSeconds],urlParameters:[J.url],headerParameters:[J.contentType,J.accept,J.version,J.requestId],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:no},rTe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Fe.BlobServiceProperties,headersMapper:Fe.ServiceGetPropertiesHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceGetPropertiesExceptionHeaders}},queryParameters:[J.restype,J.comp,J.timeoutInSeconds],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:no},nTe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Fe.BlobServiceStatistics,headersMapper:Fe.ServiceGetStatisticsHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceGetStatisticsExceptionHeaders}},queryParameters:[J.restype,J.timeoutInSeconds,J.comp1],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:no},iTe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Fe.ListContainersSegmentResponse,headersMapper:Fe.ServiceListContainersSegmentHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceListContainersSegmentExceptionHeaders}},queryParameters:[J.timeoutInSeconds,J.comp2,J.prefix,J.marker,J.maxPageSize,J.include],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:no},sTe={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:Fe.UserDelegationKey,headersMapper:Fe.ServiceGetUserDelegationKeyHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceGetUserDelegationKeyExceptionHeaders}},requestBody:J.keyInfo,queryParameters:[J.restype,J.timeoutInSeconds,J.comp3],urlParameters:[J.url],headerParameters:[J.contentType,J.accept,J.version,J.requestId],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:no},oTe={path:"/",httpMethod:"GET",responses:{200:{headersMapper:Fe.ServiceGetAccountInfoHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceGetAccountInfoExceptionHeaders}},queryParameters:[J.comp,J.timeoutInSeconds,J.restype1],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:no},aTe={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Fe.ServiceSubmitBatchHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceSubmitBatchExceptionHeaders}},requestBody:J.body,queryParameters:[J.timeoutInSeconds,J.comp4],urlParameters:[J.url],headerParameters:[J.accept,J.version,J.requestId,J.contentLength,J.multipartContentType],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:no},cTe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Fe.FilterBlobSegment,headersMapper:Fe.ServiceFilterBlobsHeaders},default:{bodyMapper:Fe.StorageError,headersMapper:Fe.ServiceFilterBlobsExceptionHeaders}},queryParameters:[J.timeoutInSeconds,J.marker,J.maxPageSize,J.comp5,J.where],urlParameters:[J.url],headerParameters:[J.version,J.requestId,J.accept1],isXML:!0,serializer:no}});var G$=g(Ym=>{"use strict";Object.defineProperty(Ym,"__esModule",{value:!0});Ym.ContainerImpl=void 0;var Sx=(Xr(),Zt(Kr)),lTe=Sx.__importStar(xi()),K=Sx.__importStar(ro()),P=Sx.__importStar(na()),xx=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},ATe)}getProperties(e){return this.client.sendOperationRequest({options:e},uTe)}delete(e){return this.client.sendOperationRequest({options:e},dTe)}setMetadata(e){return this.client.sendOperationRequest({options:e},pTe)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},hTe)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},fTe)}restore(e){return this.client.sendOperationRequest({options:e},mTe)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},gTe)}submitBatch(e,r,n,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:i},yTe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},CTe)}acquireLease(e){return this.client.sendOperationRequest({options:e},ETe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},BTe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},ITe)}breakLease(e){return this.client.sendOperationRequest({options:e},bTe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},QTe)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},wTe)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},NTe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},xTe)}};Ym.ContainerImpl=xx;var Gt=lTe.createSerializer(K,!0),ATe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:K.ContainerCreateHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerCreateExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.metadata,P.access,P.defaultEncryptionScope,P.preventEncryptionScopeOverride],isXML:!0,serializer:Gt},uTe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:K.ContainerGetPropertiesHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerGetPropertiesExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.leaseId],isXML:!0,serializer:Gt},dTe={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:K.ContainerDeleteHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerDeleteExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.leaseId,P.ifModifiedSince,P.ifUnmodifiedSince],isXML:!0,serializer:Gt},pTe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerSetMetadataHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerSetMetadataExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp6],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.metadata,P.leaseId,P.ifModifiedSince],isXML:!0,serializer:Gt},hTe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier"},headersMapper:K.ContainerGetAccessPolicyHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerGetAccessPolicyExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp7],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.leaseId],isXML:!0,serializer:Gt},fTe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerSetAccessPolicyHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerSetAccessPolicyExceptionHeaders}},requestBody:P.containerAcl,queryParameters:[P.timeoutInSeconds,P.restype2,P.comp7],urlParameters:[P.url],headerParameters:[P.contentType,P.accept,P.version,P.requestId,P.access,P.leaseId,P.ifModifiedSince,P.ifUnmodifiedSince],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Gt},mTe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:K.ContainerRestoreHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerRestoreExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp8],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.deletedContainerName,P.deletedContainerVersion],isXML:!0,serializer:Gt},gTe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerRenameHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerRenameExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp9],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.sourceContainerName,P.sourceLeaseId],isXML:!0,serializer:Gt},yTe={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:K.ContainerSubmitBatchHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerSubmitBatchExceptionHeaders}},requestBody:P.body,queryParameters:[P.timeoutInSeconds,P.comp4,P.restype2],urlParameters:[P.url],headerParameters:[P.accept,P.version,P.requestId,P.contentLength,P.multipartContentType],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Gt},CTe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:K.FilterBlobSegment,headersMapper:K.ContainerFilterBlobsHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerFilterBlobsExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.marker,P.maxPageSize,P.comp5,P.where,P.restype2],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1],isXML:!0,serializer:Gt},ETe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:K.ContainerAcquireLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerAcquireLeaseExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp10],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.ifModifiedSince,P.ifUnmodifiedSince,P.action,P.duration,P.proposedLeaseId],isXML:!0,serializer:Gt},BTe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerReleaseLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerReleaseLeaseExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp10],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.ifModifiedSince,P.ifUnmodifiedSince,P.action1,P.leaseId1],isXML:!0,serializer:Gt},ITe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerRenewLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerRenewLeaseExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp10],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.ifModifiedSince,P.ifUnmodifiedSince,P.leaseId1,P.action2],isXML:!0,serializer:Gt},bTe={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:K.ContainerBreakLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerBreakLeaseExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp10],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.ifModifiedSince,P.ifUnmodifiedSince,P.action3,P.breakPeriod],isXML:!0,serializer:Gt},QTe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerChangeLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerChangeLeaseExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.restype2,P.comp10],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1,P.ifModifiedSince,P.ifUnmodifiedSince,P.leaseId1,P.action4,P.proposedLeaseId1],isXML:!0,serializer:Gt},wTe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:K.ListBlobsFlatSegmentResponse,headersMapper:K.ContainerListBlobFlatSegmentHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerListBlobFlatSegmentExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.comp2,P.prefix,P.marker,P.maxPageSize,P.restype2,P.include1,P.startFrom],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1],isXML:!0,serializer:Gt},NTe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:K.ListBlobsHierarchySegmentResponse,headersMapper:K.ContainerListBlobHierarchySegmentHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerListBlobHierarchySegmentExceptionHeaders}},queryParameters:[P.timeoutInSeconds,P.comp2,P.prefix,P.marker,P.maxPageSize,P.restype2,P.include1,P.startFrom,P.delimiter],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1],isXML:!0,serializer:Gt},xTe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:K.ContainerGetAccountInfoHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerGetAccountInfoExceptionHeaders}},queryParameters:[P.comp,P.timeoutInSeconds,P.restype1],urlParameters:[P.url],headerParameters:[P.version,P.requestId,P.accept1],isXML:!0,serializer:Gt}});var Y$=g(Jm=>{"use strict";Object.defineProperty(Jm,"__esModule",{value:!0});Jm.BlobImpl=void 0;var _x=(Xr(),Zt(Kr)),STe=_x.__importStar(xi()),Y=_x.__importStar(ro()),B=_x.__importStar(na()),Rx=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},RTe)}getProperties(e){return this.client.sendOperationRequest({options:e},_Te)}delete(e){return this.client.sendOperationRequest({options:e},vTe)}undelete(e){return this.client.sendOperationRequest({options:e},PTe)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},DTe)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},TTe)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},OTe)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},MTe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},kTe)}setMetadata(e){return this.client.sendOperationRequest({options:e},LTe)}acquireLease(e){return this.client.sendOperationRequest({options:e},UTe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},FTe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},qTe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},HTe)}breakLease(e){return this.client.sendOperationRequest({options:e},zTe)}createSnapshot(e){return this.client.sendOperationRequest({options:e},jTe)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},GTe)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},YTe)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},JTe)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},VTe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},WTe)}query(e){return this.client.sendOperationRequest({options:e},$Te)}getTags(e){return this.client.sendOperationRequest({options:e},KTe)}setTags(e){return this.client.sendOperationRequest({options:e},XTe)}};Jm.BlobImpl=Rx;var at=STe.createSerializer(Y,!0),RTe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Y.BlobDownloadHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Y.BlobDownloadHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobDownloadExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.range,B.rangeGetContentMD5,B.rangeGetContentCRC64,B.encryptionKey,B.encryptionKeySha256,B.encryptionAlgorithm,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:at},_Te={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:Y.BlobGetPropertiesHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobGetPropertiesExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.encryptionKey,B.encryptionKeySha256,B.encryptionAlgorithm,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:at},vTe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:Y.BlobDeleteHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobDeleteExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.blobDeleteType],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.ifMatch,B.ifNoneMatch,B.ifTags,B.deleteSnapshots],isXML:!0,serializer:at},PTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobUndeleteHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobUndeleteExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp8],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1],isXML:!0,serializer:at},DTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetExpiryHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetExpiryExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp11],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.expiryOptions,B.expiresOn],isXML:!0,serializer:at},TTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetHttpHeadersHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetHttpHeadersExceptionHeaders}},queryParameters:[B.comp,B.timeoutInSeconds],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.ifMatch,B.ifNoneMatch,B.ifTags,B.blobCacheControl,B.blobContentType,B.blobContentMD5,B.blobContentEncoding,B.blobContentLanguage,B.blobContentDisposition],isXML:!0,serializer:at},OTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetImmutabilityPolicyHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetImmutabilityPolicyExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.comp12],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifUnmodifiedSince,B.immutabilityPolicyExpiry,B.immutabilityPolicyMode],isXML:!0,serializer:at},MTe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:Y.BlobDeleteImmutabilityPolicyHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobDeleteImmutabilityPolicyExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.comp12],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1],isXML:!0,serializer:at},kTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetLegalHoldHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetLegalHoldExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.comp13],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.legalHold],isXML:!0,serializer:at},LTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetMetadataHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetMetadataExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp6],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.metadata,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.encryptionKey,B.encryptionKeySha256,B.encryptionAlgorithm,B.ifMatch,B.ifNoneMatch,B.ifTags,B.encryptionScope],isXML:!0,serializer:at},UTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Y.BlobAcquireLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobAcquireLeaseExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp10],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifModifiedSince,B.ifUnmodifiedSince,B.action,B.duration,B.proposedLeaseId,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:at},FTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobReleaseLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobReleaseLeaseExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp10],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifModifiedSince,B.ifUnmodifiedSince,B.action1,B.leaseId1,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:at},qTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobRenewLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobRenewLeaseExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp10],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifModifiedSince,B.ifUnmodifiedSince,B.leaseId1,B.action2,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:at},HTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobChangeLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobChangeLeaseExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp10],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifModifiedSince,B.ifUnmodifiedSince,B.leaseId1,B.action4,B.proposedLeaseId1,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:at},zTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Y.BlobBreakLeaseHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobBreakLeaseExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp10],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.ifModifiedSince,B.ifUnmodifiedSince,B.action3,B.breakPeriod,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,serializer:at},jTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Y.BlobCreateSnapshotHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobCreateSnapshotExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp14],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.metadata,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.encryptionKey,B.encryptionKeySha256,B.encryptionAlgorithm,B.ifMatch,B.ifNoneMatch,B.ifTags,B.encryptionScope],isXML:!0,serializer:at},GTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Y.BlobStartCopyFromURLHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobStartCopyFromURLExceptionHeaders}},queryParameters:[B.timeoutInSeconds],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.metadata,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.ifMatch,B.ifNoneMatch,B.ifTags,B.immutabilityPolicyExpiry,B.immutabilityPolicyMode,B.tier,B.rehydratePriority,B.sourceIfModifiedSince,B.sourceIfUnmodifiedSince,B.sourceIfMatch,B.sourceIfNoneMatch,B.sourceIfTags,B.copySource,B.blobTagsString,B.sealBlob,B.legalHold1],isXML:!0,serializer:at},YTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Y.BlobCopyFromURLHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobCopyFromURLExceptionHeaders}},queryParameters:[B.timeoutInSeconds],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.metadata,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.ifMatch,B.ifNoneMatch,B.ifTags,B.immutabilityPolicyExpiry,B.immutabilityPolicyMode,B.encryptionScope,B.tier,B.sourceIfModifiedSince,B.sourceIfUnmodifiedSince,B.sourceIfMatch,B.sourceIfNoneMatch,B.copySource,B.blobTagsString,B.legalHold1,B.xMsRequiresSync,B.sourceContentMD5,B.copySourceAuthorization,B.copySourceTags,B.fileRequestIntent],isXML:!0,serializer:at},JTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Y.BlobAbortCopyFromURLHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobAbortCopyFromURLExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.comp15,B.copyId],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.copyActionAbortConstant],isXML:!0,serializer:at},VTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Y.BlobSetTierHeaders},202:{headersMapper:Y.BlobSetTierHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetTierExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.comp16],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifTags,B.rehydratePriority,B.tier1],isXML:!0,serializer:at},WTe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:Y.BlobGetAccountInfoHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobGetAccountInfoExceptionHeaders}},queryParameters:[B.comp,B.timeoutInSeconds,B.restype1],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1],isXML:!0,serializer:at},$Te={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Y.BlobQueryHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Y.BlobQueryHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobQueryExceptionHeaders}},requestBody:B.queryRequest,queryParameters:[B.timeoutInSeconds,B.snapshot,B.comp17],urlParameters:[B.url],headerParameters:[B.contentType,B.accept,B.version,B.requestId,B.leaseId,B.ifModifiedSince,B.ifUnmodifiedSince,B.encryptionKey,B.encryptionKeySha256,B.encryptionAlgorithm,B.ifMatch,B.ifNoneMatch,B.ifTags],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:at},KTe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Y.BlobTags,headersMapper:Y.BlobGetTagsHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobGetTagsExceptionHeaders}},queryParameters:[B.timeoutInSeconds,B.snapshot,B.versionId,B.comp18],urlParameters:[B.url],headerParameters:[B.version,B.requestId,B.accept1,B.leaseId,B.ifTags,B.ifModifiedSince1,B.ifUnmodifiedSince1,B.ifMatch1,B.ifNoneMatch1],isXML:!0,serializer:at},XTe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Y.BlobSetTagsHeaders},default:{bodyMapper:Y.StorageError,headersMapper:Y.BlobSetTagsExceptionHeaders}},requestBody:B.tags,queryParameters:[B.timeoutInSeconds,B.versionId,B.comp18],urlParameters:[B.url],headerParameters:[B.contentType,B.accept,B.version,B.requestId,B.leaseId,B.ifTags,B.ifModifiedSince1,B.ifUnmodifiedSince1,B.ifMatch1,B.ifNoneMatch1,B.transactionalContentMD5,B.transactionalContentCrc64],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:at}});var J$=g(Vm=>{"use strict";Object.defineProperty(Vm,"__esModule",{value:!0});Vm.PageBlobImpl=void 0;var Px=(Xr(),Zt(Kr)),ZTe=Px.__importStar(xi()),qe=Px.__importStar(ro()),v=Px.__importStar(na()),vx=class{static{o(this,"PageBlobImpl")}client;constructor(e){this.client=e}create(e,r,n){return this.client.sendOperationRequest({contentLength:e,blobContentLength:r,options:n},eOe)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},tOe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},rOe)}uploadPagesFromURL(e,r,n,i,s){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:n,range:i,options:s},nOe)}getPageRanges(e){return this.client.sendOperationRequest({options:e},iOe)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},sOe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},oOe)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},aOe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},cOe)}};Vm.PageBlobImpl=vx;var ms=ZTe.createSerializer(qe,!0),eOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:qe.PageBlobCreateHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.PageBlobCreateExceptionHeaders}},queryParameters:[v.timeoutInSeconds],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.contentLength,v.metadata,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.encryptionKey,v.encryptionKeySha256,v.encryptionAlgorithm,v.ifMatch,v.ifNoneMatch,v.ifTags,v.blobCacheControl,v.blobContentType,v.blobContentMD5,v.blobContentEncoding,v.blobContentLanguage,v.blobContentDisposition,v.immutabilityPolicyExpiry,v.immutabilityPolicyMode,v.encryptionScope,v.tier,v.blobTagsString,v.legalHold1,v.blobType,v.blobContentLength,v.blobSequenceNumber],isXML:!0,serializer:ms},tOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:qe.PageBlobUploadPagesHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.PageBlobUploadPagesExceptionHeaders}},requestBody:v.body1,queryParameters:[v.timeoutInSeconds,v.comp19],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.contentLength,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.range,v.encryptionKey,v.encryptionKeySha256,v.encryptionAlgorithm,v.ifMatch,v.ifNoneMatch,v.ifTags,v.encryptionScope,v.transactionalContentMD5,v.transactionalContentCrc64,v.contentType1,v.accept2,v.pageWrite,v.ifSequenceNumberLessThanOrEqualTo,v.ifSequenceNumberLessThan,v.ifSequenceNumberEqualTo],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:ms},rOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:qe.PageBlobClearPagesHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.PageBlobClearPagesExceptionHeaders}},queryParameters:[v.timeoutInSeconds,v.comp19],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.contentLength,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.range,v.encryptionKey,v.encryptionKeySha256,v.encryptionAlgorithm,v.ifMatch,v.ifNoneMatch,v.ifTags,v.encryptionScope,v.ifSequenceNumberLessThanOrEqualTo,v.ifSequenceNumberLessThan,v.ifSequenceNumberEqualTo,v.pageWrite1],isXML:!0,serializer:ms},nOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:qe.PageBlobUploadPagesFromURLHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.PageBlobUploadPagesFromURLExceptionHeaders}},queryParameters:[v.timeoutInSeconds,v.comp19],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.contentLength,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.encryptionKey,v.encryptionKeySha256,v.encryptionAlgorithm,v.ifMatch,v.ifNoneMatch,v.ifTags,v.encryptionScope,v.sourceIfModifiedSince,v.sourceIfUnmodifiedSince,v.sourceIfMatch,v.sourceIfNoneMatch,v.sourceContentMD5,v.copySourceAuthorization,v.fileRequestIntent,v.pageWrite,v.ifSequenceNumberLessThanOrEqualTo,v.ifSequenceNumberLessThan,v.ifSequenceNumberEqualTo,v.sourceUrl,v.sourceRange,v.sourceContentCrc64,v.range1],isXML:!0,serializer:ms},iOe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:qe.PageList,headersMapper:qe.PageBlobGetPageRangesHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.PageBlobGetPageRangesExceptionHeaders}},queryParameters:[v.timeoutInSeconds,v.marker,v.maxPageSize,v.snapshot,v.comp20],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.range,v.ifMatch,v.ifNoneMatch,v.ifTags],isXML:!0,serializer:ms},sOe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:qe.PageList,headersMapper:qe.PageBlobGetPageRangesDiffHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.PageBlobGetPageRangesDiffExceptionHeaders}},queryParameters:[v.timeoutInSeconds,v.marker,v.maxPageSize,v.snapshot,v.comp20,v.prevsnapshot],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.range,v.ifMatch,v.ifNoneMatch,v.ifTags,v.prevSnapshotUrl],isXML:!0,serializer:ms},oOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:qe.PageBlobResizeHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.PageBlobResizeExceptionHeaders}},queryParameters:[v.comp,v.timeoutInSeconds],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.encryptionKey,v.encryptionKeySha256,v.encryptionAlgorithm,v.ifMatch,v.ifNoneMatch,v.ifTags,v.encryptionScope,v.blobContentLength],isXML:!0,serializer:ms},aOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:qe.PageBlobUpdateSequenceNumberHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.PageBlobUpdateSequenceNumberExceptionHeaders}},queryParameters:[v.comp,v.timeoutInSeconds],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.leaseId,v.ifModifiedSince,v.ifUnmodifiedSince,v.ifMatch,v.ifNoneMatch,v.ifTags,v.blobSequenceNumber,v.sequenceNumberAction],isXML:!0,serializer:ms},cOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:qe.PageBlobCopyIncrementalHeaders},default:{bodyMapper:qe.StorageError,headersMapper:qe.PageBlobCopyIncrementalExceptionHeaders}},queryParameters:[v.timeoutInSeconds,v.comp21],urlParameters:[v.url],headerParameters:[v.version,v.requestId,v.accept1,v.ifModifiedSince,v.ifUnmodifiedSince,v.ifMatch,v.ifNoneMatch,v.ifTags,v.copySource],isXML:!0,serializer:ms}});var V$=g($m=>{"use strict";Object.defineProperty($m,"__esModule",{value:!0});$m.AppendBlobImpl=void 0;var Tx=(Xr(),Zt(Kr)),lOe=Tx.__importStar(xi()),rn=Tx.__importStar(ro()),H=Tx.__importStar(na()),Dx=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},AOe)}appendBlock(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},uOe)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},dOe)}seal(e){return this.client.sendOperationRequest({options:e},pOe)}};$m.AppendBlobImpl=Dx;var Wm=lOe.createSerializer(rn,!0),AOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:rn.AppendBlobCreateHeaders},default:{bodyMapper:rn.StorageError,headersMapper:rn.AppendBlobCreateExceptionHeaders}},queryParameters:[H.timeoutInSeconds],urlParameters:[H.url],headerParameters:[H.version,H.requestId,H.accept1,H.contentLength,H.metadata,H.leaseId,H.ifModifiedSince,H.ifUnmodifiedSince,H.encryptionKey,H.encryptionKeySha256,H.encryptionAlgorithm,H.ifMatch,H.ifNoneMatch,H.ifTags,H.blobCacheControl,H.blobContentType,H.blobContentMD5,H.blobContentEncoding,H.blobContentLanguage,H.blobContentDisposition,H.immutabilityPolicyExpiry,H.immutabilityPolicyMode,H.encryptionScope,H.blobTagsString,H.legalHold1,H.blobType1],isXML:!0,serializer:Wm},uOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:rn.AppendBlobAppendBlockHeaders},default:{bodyMapper:rn.StorageError,headersMapper:rn.AppendBlobAppendBlockExceptionHeaders}},requestBody:H.body1,queryParameters:[H.timeoutInSeconds,H.comp22],urlParameters:[H.url],headerParameters:[H.version,H.requestId,H.contentLength,H.leaseId,H.ifModifiedSince,H.ifUnmodifiedSince,H.encryptionKey,H.encryptionKeySha256,H.encryptionAlgorithm,H.ifMatch,H.ifNoneMatch,H.ifTags,H.encryptionScope,H.transactionalContentMD5,H.transactionalContentCrc64,H.contentType1,H.accept2,H.maxSize,H.appendPosition],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Wm},dOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:rn.AppendBlobAppendBlockFromUrlHeaders},default:{bodyMapper:rn.StorageError,headersMapper:rn.AppendBlobAppendBlockFromUrlExceptionHeaders}},queryParameters:[H.timeoutInSeconds,H.comp22],urlParameters:[H.url],headerParameters:[H.version,H.requestId,H.accept1,H.contentLength,H.leaseId,H.ifModifiedSince,H.ifUnmodifiedSince,H.encryptionKey,H.encryptionKeySha256,H.encryptionAlgorithm,H.ifMatch,H.ifNoneMatch,H.ifTags,H.encryptionScope,H.sourceIfModifiedSince,H.sourceIfUnmodifiedSince,H.sourceIfMatch,H.sourceIfNoneMatch,H.sourceContentMD5,H.copySourceAuthorization,H.fileRequestIntent,H.transactionalContentMD5,H.sourceUrl,H.sourceContentCrc64,H.maxSize,H.appendPosition,H.sourceRange1],isXML:!0,serializer:Wm},pOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:rn.AppendBlobSealHeaders},default:{bodyMapper:rn.StorageError,headersMapper:rn.AppendBlobSealExceptionHeaders}},queryParameters:[H.timeoutInSeconds,H.comp23],urlParameters:[H.url],headerParameters:[H.version,H.requestId,H.accept1,H.leaseId,H.ifModifiedSince,H.ifUnmodifiedSince,H.ifMatch,H.ifNoneMatch,H.appendPosition],isXML:!0,serializer:Wm}});var W$=g(Km=>{"use strict";Object.defineProperty(Km,"__esModule",{value:!0});Km.BlockBlobImpl=void 0;var Mx=(Xr(),Zt(Kr)),hOe=Mx.__importStar(xi()),vt=Mx.__importStar(ro()),D=Mx.__importStar(na()),Ox=class{static{o(this,"BlockBlobImpl")}client;constructor(e){this.client=e}upload(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},fOe)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},mOe)}stageBlock(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:i},gOe)}stageBlockFromURL(e,r,n,i){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:i},yOe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},COe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},EOe)}};Km.BlockBlobImpl=Ox;var pl=hOe.createSerializer(vt,!0),fOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vt.BlockBlobUploadHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.BlockBlobUploadExceptionHeaders}},requestBody:D.body1,queryParameters:[D.timeoutInSeconds],urlParameters:[D.url],headerParameters:[D.version,D.requestId,D.contentLength,D.metadata,D.leaseId,D.ifModifiedSince,D.ifUnmodifiedSince,D.encryptionKey,D.encryptionKeySha256,D.encryptionAlgorithm,D.ifMatch,D.ifNoneMatch,D.ifTags,D.blobCacheControl,D.blobContentType,D.blobContentMD5,D.blobContentEncoding,D.blobContentLanguage,D.blobContentDisposition,D.immutabilityPolicyExpiry,D.immutabilityPolicyMode,D.encryptionScope,D.tier,D.blobTagsString,D.legalHold1,D.transactionalContentMD5,D.transactionalContentCrc64,D.contentType1,D.accept2,D.blobType2],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:pl},mOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vt.BlockBlobPutBlobFromUrlHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.BlockBlobPutBlobFromUrlExceptionHeaders}},queryParameters:[D.timeoutInSeconds],urlParameters:[D.url],headerParameters:[D.version,D.requestId,D.accept1,D.contentLength,D.metadata,D.leaseId,D.ifModifiedSince,D.ifUnmodifiedSince,D.encryptionKey,D.encryptionKeySha256,D.encryptionAlgorithm,D.ifMatch,D.ifNoneMatch,D.ifTags,D.blobCacheControl,D.blobContentType,D.blobContentMD5,D.blobContentEncoding,D.blobContentLanguage,D.blobContentDisposition,D.encryptionScope,D.tier,D.sourceIfModifiedSince,D.sourceIfUnmodifiedSince,D.sourceIfMatch,D.sourceIfNoneMatch,D.sourceIfTags,D.copySource,D.blobTagsString,D.sourceContentMD5,D.copySourceAuthorization,D.copySourceTags,D.fileRequestIntent,D.transactionalContentMD5,D.blobType2,D.copySourceBlobProperties],isXML:!0,serializer:pl},gOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vt.BlockBlobStageBlockHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.BlockBlobStageBlockExceptionHeaders}},requestBody:D.body1,queryParameters:[D.timeoutInSeconds,D.comp24,D.blockId],urlParameters:[D.url],headerParameters:[D.version,D.requestId,D.contentLength,D.leaseId,D.encryptionKey,D.encryptionKeySha256,D.encryptionAlgorithm,D.encryptionScope,D.transactionalContentMD5,D.transactionalContentCrc64,D.contentType1,D.accept2],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:pl},yOe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vt.BlockBlobStageBlockFromURLHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.BlockBlobStageBlockFromURLExceptionHeaders}},queryParameters:[D.timeoutInSeconds,D.comp24,D.blockId],urlParameters:[D.url],headerParameters:[D.version,D.requestId,D.accept1,D.contentLength,D.leaseId,D.encryptionKey,D.encryptionKeySha256,D.encryptionAlgorithm,D.encryptionScope,D.sourceIfModifiedSince,D.sourceIfUnmodifiedSince,D.sourceIfMatch,D.sourceIfNoneMatch,D.sourceContentMD5,D.copySourceAuthorization,D.fileRequestIntent,D.sourceUrl,D.sourceContentCrc64,D.sourceRange1],isXML:!0,serializer:pl},COe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:vt.BlockBlobCommitBlockListHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.BlockBlobCommitBlockListExceptionHeaders}},requestBody:D.blocks,queryParameters:[D.timeoutInSeconds,D.comp25],urlParameters:[D.url],headerParameters:[D.contentType,D.accept,D.version,D.requestId,D.metadata,D.leaseId,D.ifModifiedSince,D.ifUnmodifiedSince,D.encryptionKey,D.encryptionKeySha256,D.encryptionAlgorithm,D.ifMatch,D.ifNoneMatch,D.ifTags,D.blobCacheControl,D.blobContentType,D.blobContentMD5,D.blobContentEncoding,D.blobContentLanguage,D.blobContentDisposition,D.immutabilityPolicyExpiry,D.immutabilityPolicyMode,D.encryptionScope,D.tier,D.blobTagsString,D.legalHold1,D.transactionalContentMD5,D.transactionalContentCrc64],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:pl},EOe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:vt.BlockList,headersMapper:vt.BlockBlobGetBlockListHeaders},default:{bodyMapper:vt.StorageError,headersMapper:vt.BlockBlobGetBlockListExceptionHeaders}},queryParameters:[D.timeoutInSeconds,D.snapshot,D.comp25,D.listType],urlParameters:[D.url],headerParameters:[D.version,D.requestId,D.accept1,D.leaseId,D.ifTags],isXML:!0,serializer:pl}});var $$=g(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});var hl=(Xr(),Zt(Kr));hl.__exportStar(j$(),io);hl.__exportStar(G$(),io);hl.__exportStar(Y$(),io);hl.__exportStar(J$(),io);hl.__exportStar(V$(),io);hl.__exportStar(W$(),io)});var K$=g(Xm=>{"use strict";Object.defineProperty(Xm,"__esModule",{value:!0});Xm.StorageClient=void 0;var BOe=(Xr(),Zt(Kr)),IOe=BOe.__importStar(gm()),fl=$$(),kx=class extends IOe.ExtendedServiceClient{static{o(this,"StorageClient")}url;version;constructor(e,r){if(e===void 0)throw new Error("'url' cannot be null");r||(r={});let n={requestContentType:"application/json; charset=utf-8"},i="azsdk-js-azure-storage-blob/12.30.0",s=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`,a={...n,...r,userAgentOptions:{userAgentPrefix:s},endpoint:r.endpoint??r.baseUri??"{url}"};super(a),this.url=e,this.version=r.version||"2026-02-06",this.service=new fl.ServiceImpl(this),this.container=new fl.ContainerImpl(this),this.blob=new fl.BlobImpl(this),this.pageBlob=new fl.PageBlobImpl(this),this.appendBlob=new fl.AppendBlobImpl(this),this.blockBlob=new fl.BlockBlobImpl(this)}service;container;blob;pageBlob;appendBlob;blockBlob};Xm.StorageClient=kx});var Z$=g(X$=>{"use strict";Object.defineProperty(X$,"__esModule",{value:!0})});var t3=g(e3=>{"use strict";Object.defineProperty(e3,"__esModule",{value:!0})});var n3=g(r3=>{"use strict";Object.defineProperty(r3,"__esModule",{value:!0})});var s3=g(i3=>{"use strict";Object.defineProperty(i3,"__esModule",{value:!0})});var a3=g(o3=>{"use strict";Object.defineProperty(o3,"__esModule",{value:!0})});var l3=g(c3=>{"use strict";Object.defineProperty(c3,"__esModule",{value:!0})});var A3=g(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});var ml=(Xr(),Zt(Kr));ml.__exportStar(Z$(),so);ml.__exportStar(t3(),so);ml.__exportStar(n3(),so);ml.__exportStar(s3(),so);ml.__exportStar(a3(),so);ml.__exportStar(l3(),so)});var d3=g(gl=>{"use strict";Object.defineProperty(gl,"__esModule",{value:!0});gl.StorageClient=void 0;var u3=(Xr(),Zt(Kr));u3.__exportStar(z$(),gl);var bOe=K$();Object.defineProperty(gl,"StorageClient",{enumerable:!0,get:function(){return bOe.StorageClient}});u3.__exportStar(A3(),gl)});var Ux=g(Zm=>{"use strict";Object.defineProperty(Zm,"__esModule",{value:!0});Zm.StorageContextClient=void 0;var QOe=d3(),Lx=class extends QOe.StorageClient{static{o(this,"StorageContextClient")}async sendOperationRequest(e,r){let n={...r};return(n.path==="/{containerName}"||n.path==="/{containerName}/{blob}")&&(n.path=""),super.sendOperationRequest(e,n)}};Zm.StorageContextClient=Lx});var Rn=g(Ie=>{"use strict";Object.defineProperty(Ie,"__esModule",{value:!0});Ie.escapeURLPath=NOe;Ie.getValueInConnString=oo;Ie.extractConnectionStringParts=SOe;Ie.appendToURLPath=_Oe;Ie.setURLParameter=h3;Ie.getURLParameter=f3;Ie.setURLHost=vOe;Ie.getURLPath=POe;Ie.getURLScheme=DOe;Ie.getURLPathAndQuery=TOe;Ie.getURLQueries=OOe;Ie.appendToURLQuery=MOe;Ie.truncatedISO8061Date=kOe;Ie.base64encode=m3;Ie.base64decode=LOe;Ie.generateBlockID=UOe;Ie.delay=FOe;Ie.padStart=g3;Ie.sanitizeURL=y3;Ie.sanitizeHeaders=qOe;Ie.iEqual=HOe;Ie.getAccountNameFromUrl=C3;Ie.isIpEndpointStyle=E3;Ie.toBlobTagsString=zOe;Ie.toBlobTags=jOe;Ie.toTags=GOe;Ie.toQuerySerialization=YOe;Ie.parseObjectReplicationRecord=JOe;Ie.attachCredential=VOe;Ie.httpAuthorizationToString=WOe;Ie.BlobNameToString=eg;Ie.ConvertInternalResponseOfListBlobFlat=$Oe;Ie.ConvertInternalResponseOfListBlobHierarchy=KOe;Ie.ExtractPageRangeInfoItems=XOe;Ie.EscapePath=ZOe;Ie.assertResponse=eMe;var wOe=Ot(),p3=pt(),yl=en();function NOe(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=ROe(r),e.pathname=r,e.toString()}o(NOe,"escapeURLPath");function xOe(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let r=t.split(";");for(let n of r)n.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=n.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(xOe,"getProxyUriFromDevConnString");function oo(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(oo,"getValueInConnString");function SOe(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=xOe(t),t=yl.DevelopmentConnectionString);let r=oo(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let n="",i="",s=Buffer.from("accountKey","base64"),a="";if(i=oo(t,"AccountName"),s=Buffer.from(oo(t,"AccountKey"),"base64"),!r){n=oo(t,"DefaultEndpointsProtocol");let c=n.toLowerCase();if(c!=="https"&&c!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(a=oo(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${i}.blob.${a}`}if(i){if(s.length===0)throw new Error("Invalid AccountKey in the provided Connection String")}else throw new Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:i,accountKey:s,proxyUri:e}}else{let n=oo(t,"SharedAccessSignature"),i=oo(t,"AccountName");if(i||(i=C3(r)),r){if(!n)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return n.startsWith("?")&&(n=n.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:n}}}o(SOe,"extractConnectionStringParts");function ROe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(ROe,"escape");function _Oe(t,e){let r=new URL(t),n=r.pathname;return n=n?n.endsWith("/")?`${n}${e}`:`${n}/${e}`:e,r.pathname=n,r.toString()}o(_Oe,"appendToURLPath");function h3(t,e,r){let n=new URL(t),i=encodeURIComponent(e),s=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[A]=l.split("=",2);A!==i&&c.push(l)}return s&&c.push(`${i}=${s}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o(h3,"setURLParameter");function f3(t,e){return new URL(t).searchParams.get(e)??void 0}o(f3,"getURLParameter");function vOe(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(vOe,"setURLHost");function POe(t){try{return new URL(t).pathname}catch{return}}o(POe,"getURLPath");function DOe(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(DOe,"getURLScheme");function TOe(t){let e=new URL(t),r=e.pathname;if(!r)throw new RangeError("Invalid url without valid path.");let n=e.search||"";return n=n.trim(),n!==""&&(n=n.startsWith("?")?n:`?${n}`),`${r}${n}`}o(TOe,"getURLPathAndQuery");function OOe(t){let e=new URL(t).search;if(!e)return{};e=e.trim(),e=e.startsWith("?")?e.substring(1):e;let r=e.split("&");r=r.filter(i=>{let s=i.indexOf("="),a=i.lastIndexOf("=");return s>0&&s===a&&a<i.length-1});let n={};for(let i of r){let s=i.split("="),a=s[0],c=s[1];n[a]=c}return n}o(OOe,"getURLQueries");function MOe(t,e){let r=new URL(t),n=r.search;return n?n+="&"+e:n=e,r.search=n,r.toString()}o(MOe,"appendToURLQuery");function kOe(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(kOe,"truncatedISO8061Date");function m3(t){return p3.isNodeLike?Buffer.from(t).toString("base64"):btoa(t)}o(m3,"base64encode");function LOe(t){return p3.isNodeLike?Buffer.from(t,"base64").toString():atob(t)}o(LOe,"base64decode");function UOe(t,e){t.length>42&&(t=t.slice(0,42));let s=t+g3(e.toString(),48-t.length,"0");return m3(s)}o(UOe,"generateBlockID");async function FOe(t,e,r){return new Promise((n,i)=>{let s,a=o(()=>{s!==void 0&&clearTimeout(s),i(r)},"abortHandler");s=setTimeout(o(()=>{e!==void 0&&e.removeEventListener("abort",a),n()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}o(FOe,"delay");function g3(t,e,r=" "){return String.prototype.padStart?t.padStart(e,r):(r=r||" ",t.length>e?t:(e=e-t.length,e>r.length&&(r+=r.repeat(e/r.length)),r.slice(0,e)+t))}o(g3,"padStart");function y3(t){let e=t;return f3(e,yl.URLConstants.Parameters.SIGNATURE)&&(e=h3(e,yl.URLConstants.Parameters.SIGNATURE,"*****")),e}o(y3,"sanitizeURL");function qOe(t){let e=(0,wOe.createHttpHeaders)();for(let[r,n]of t)r.toLowerCase()===yl.HeaderConstants.AUTHORIZATION.toLowerCase()?e.set(r,"*****"):r.toLowerCase()===yl.HeaderConstants.X_MS_COPY_SOURCE?e.set(r,y3(n)):e.set(r,n);return e}o(qOe,"sanitizeHeaders");function HOe(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(HOe,"iEqual");function C3(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:E3(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(C3,"getAccountNameFromUrl");function E3(t){let e=t.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(e)||!!t.port&&yl.PathStylePorts.includes(t.port)}o(E3,"isIpEndpointStyle");function zOe(t){if(t===void 0)return;let e=[];for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.push(`${encodeURIComponent(r)}=${encodeURIComponent(n)}`)}return e.join("&")}o(zOe,"toBlobTagsString");function jOe(t){if(t===void 0)return;let e={blobTagSet:[]};for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.blobTagSet.push({key:r,value:n})}return e}o(jOe,"toBlobTags");function GOe(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(GOe,"toTags");function YOe(t){if(t!==void 0)switch(t.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:t.columnSeparator||",",fieldQuote:t.fieldQuote||"",recordSeparator:t.recordSeparator,escapeChar:t.escapeCharacter||"",headersPresent:t.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:t.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:t.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}o(YOe,"toQuerySerialization");function JOe(t){if(!t||"policy-id"in t)return;let e=[];for(let r in t){let n=r.split("_"),i="or-";n[0].startsWith(i)&&(n[0]=n[0].substring(i.length));let s={ruleId:n[1],replicationStatus:t[r]},a=e.findIndex(c=>c.policyId===n[0]);a>-1?e[a].rules.push(s):e.push({policyId:n[0],rules:[s]})}return e}o(JOe,"parseObjectReplicationRecord");function VOe(t,e){return t.credential=e,t}o(VOe,"attachCredential");function WOe(t){return t?t.scheme+" "+t.value:void 0}o(WOe,"httpAuthorizationToString");function eg(t){return t.encoded?decodeURIComponent(t.content):t.content}o(eg,"BlobNameToString");function $Oe(t){return{...t,segment:{blobItems:t.segment.blobItems.map(e=>({...e,name:eg(e.name)}))}}}o($Oe,"ConvertInternalResponseOfListBlobFlat");function KOe(t){return{...t,segment:{blobPrefixes:t.segment.blobPrefixes?.map(e=>({...e,name:eg(e.name)})),blobItems:t.segment.blobItems.map(e=>({...e,name:eg(e.name)}))}}}o(KOe,"ConvertInternalResponseOfListBlobHierarchy");function*XOe(t){let e=[],r=[];t.pageRange&&(e=t.pageRange),t.clearRange&&(r=t.clearRange);let n=0,i=0;for(;n<e.length&&i<r.length;)e[n].start<r[i].start?(yield{start:e[n].start,end:e[n].end,isClear:!1},++n):(yield{start:r[i].start,end:r[i].end,isClear:!0},++i);for(;n<e.length;++n)yield{start:e[n].start,end:e[n].end,isClear:!1};for(;i<r.length;++i)yield{start:r[i].start,end:r[i].end,isClear:!0}}o(XOe,"ExtractPageRangeInfoItems");function ZOe(t){let e=t.split("/");for(let r=0;r<e.length;r++)e[r]=encodeURIComponent(e[r]);return e.join("/")}o(ZOe,"EscapePath");function eMe(t){if("_response"in t)return t;throw new TypeError(`Unexpected response object ${t}`)}o(eMe,"assertResponse")});var ng=g(rg=>{"use strict";Object.defineProperty(rg,"__esModule",{value:!0});rg.StorageClient=void 0;var tMe=Ux(),B3=to(),tg=Rn(),Fx=class{static{o(this,"StorageClient")}url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,r){this.url=(0,tg.escapeURLPath)(e),this.accountName=(0,tg.getAccountNameFromUrl)(e),this.pipeline=r,this.storageClientContext=new tMe.StorageContextClient(this.url,(0,B3.getCoreClientOptions)(r)),this.isHttps=(0,tg.iEqual)((0,tg.getURLScheme)(this.url)||"","https"),this.credential=(0,B3.getCredentialFromPipeline)(r);let n=this.storageClientContext;n.requestContentType=void 0}};rg.StorageClient=Fx});var ia=g(ig=>{"use strict";Object.defineProperty(ig,"__esModule",{value:!0});ig.tracingClient=void 0;var rMe=qN(),nMe=en();ig.tracingClient=(0,rMe.createTracingClient)({packageName:"@azure/storage-blob",packageVersion:nMe.SDK_VERSION,namespace:"Microsoft.Storage"})});var Hx=g(sg=>{"use strict";Object.defineProperty(sg,"__esModule",{value:!0});sg.BlobSASPermissions=void 0;var qx=class t{static{o(this,"BlobSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"x":r.deleteVersion=!0;break;case"t":r.tag=!0;break;case"m":r.move=!0;break;case"e":r.execute=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;default:throw new RangeError(`Invalid permission: ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.deleteVersion&&(r.deleteVersion=!0),e.tag&&(r.tag=!0),e.move&&(r.move=!0),e.execute&&(r.execute=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),r}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}};sg.BlobSASPermissions=qx});var jx=g(og=>{"use strict";Object.defineProperty(og,"__esModule",{value:!0});og.ContainerSASPermissions=void 0;var zx=class t{static{o(this,"ContainerSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"l":r.list=!0;break;case"t":r.tag=!0;break;case"x":r.deleteVersion=!0;break;case"m":r.move=!0;break;case"e":r.execute=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;case"f":r.filterByTags=!0;break;default:throw new RangeError(`Invalid permission ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.list&&(r.list=!0),e.deleteVersion&&(r.deleteVersion=!0),e.tag&&(r.tag=!0),e.move&&(r.move=!0),e.execute&&(r.execute=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),e.filterByTags&&(r.filterByTags=!0),r}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;filterByTags=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),this.filterByTags&&e.push("f"),e.join("")}};og.ContainerSASPermissions=zx});var ag=g(Gx=>{"use strict";Object.defineProperty(Gx,"__esModule",{value:!0});Gx.ipRangeToString=iMe;function iMe(t){return t.end?`${t.start}-${t.end}`:t.start}o(iMe,"ipRangeToString")});var lg=g(Cl=>{"use strict";Object.defineProperty(Cl,"__esModule",{value:!0});Cl.SASQueryParameters=Cl.SASProtocol=void 0;var sMe=ag(),cg=Rn(),I3;(function(t){t.Https="https",t.HttpsAndHttp="https,http"})(I3||(Cl.SASProtocol=I3={}));var Yx=class{static{o(this,"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}}constructor(e,r,n,i,s,a,c,l,A,u,d,f,m,C,Q,S,w,R,T,L,W){this.version=e,this.signature=r,n!==void 0&&typeof n!="string"?(this.permissions=n.permissions,this.services=n.services,this.resourceTypes=n.resourceTypes,this.protocol=n.protocol,this.startsOn=n.startsOn,this.expiresOn=n.expiresOn,this.ipRangeInner=n.ipRange,this.identifier=n.identifier,this.delegatedUserObjectId=n.delegatedUserObjectId,this.encryptionScope=n.encryptionScope,this.resource=n.resource,this.cacheControl=n.cacheControl,this.contentDisposition=n.contentDisposition,this.contentEncoding=n.contentEncoding,this.contentLanguage=n.contentLanguage,this.contentType=n.contentType,n.userDelegationKey&&(this.signedOid=n.userDelegationKey.signedObjectId,this.signedTenantId=n.userDelegationKey.signedTenantId,this.signedStartsOn=n.userDelegationKey.signedStartsOn,this.signedExpiresOn=n.userDelegationKey.signedExpiresOn,this.signedService=n.userDelegationKey.signedService,this.signedVersion=n.userDelegationKey.signedVersion,this.preauthorizedAgentObjectId=n.preauthorizedAgentObjectId,this.correlationId=n.correlationId)):(this.services=i,this.resourceTypes=s,this.expiresOn=l,this.permissions=n,this.protocol=a,this.startsOn=c,this.ipRangeInner=A,this.delegatedUserObjectId=W,this.encryptionScope=L,this.identifier=u,this.resource=d,this.cacheControl=f,this.contentDisposition=m,this.contentEncoding=C,this.contentLanguage=Q,this.contentType=S,w&&(this.signedOid=w.signedObjectId,this.signedTenantId=w.signedTenantId,this.signedStartsOn=w.signedStartsOn,this.signedExpiresOn=w.signedExpiresOn,this.signedService=w.signedService,this.signedVersion=w.signedVersion,this.preauthorizedAgentObjectId=R,this.correlationId=T))}toString(){let 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"],r=[];for(let n of e)switch(n){case"sv":this.tryAppendQueryParameter(r,n,this.version);break;case"ss":this.tryAppendQueryParameter(r,n,this.services);break;case"srt":this.tryAppendQueryParameter(r,n,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(r,n,this.protocol);break;case"st":this.tryAppendQueryParameter(r,n,this.startsOn?(0,cg.truncatedISO8061Date)(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(r,n,this.expiresOn?(0,cg.truncatedISO8061Date)(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(r,n,this.ipRange?(0,sMe.ipRangeToString)(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(r,n,this.identifier);break;case"ses":this.tryAppendQueryParameter(r,n,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(r,n,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(r,n,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(r,n,this.signedStartsOn?(0,cg.truncatedISO8061Date)(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(r,n,this.signedExpiresOn?(0,cg.truncatedISO8061Date)(this.signedExpiresOn,!1):void 0);break;case"sks":this.tryAppendQueryParameter(r,n,this.signedService);break;case"skv":this.tryAppendQueryParameter(r,n,this.signedVersion);break;case"sr":this.tryAppendQueryParameter(r,n,this.resource);break;case"sp":this.tryAppendQueryParameter(r,n,this.permissions);break;case"sig":this.tryAppendQueryParameter(r,n,this.signature);break;case"rscc":this.tryAppendQueryParameter(r,n,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(r,n,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(r,n,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(r,n,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(r,n,this.contentType);break;case"saoid":this.tryAppendQueryParameter(r,n,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(r,n,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(r,n,this.delegatedUserObjectId);break}return r.join("&")}tryAppendQueryParameter(e,r,n){n&&(r=encodeURIComponent(r),n=encodeURIComponent(n),r.length>0&&n.length>0&&e.push(`${r}=${n}`))}};Cl.SASQueryParameters=Yx});var ug=g(Ag=>{"use strict";Object.defineProperty(Ag,"__esModule",{value:!0});Ag.generateBlobSASQueryParameters=cMe;Ag.generateBlobSASQueryParametersInternal=Q3;var sa=Hx(),oa=jx(),oMe=ei(),aa=ag(),ca=lg(),b3=en(),yt=Rn(),aMe=ei();function cMe(t,e,r){return Q3(t,e,r).sasQueryParameters}o(cMe,"generateBlobSASQueryParameters");function Q3(t,e,r){let n=t.version?t.version:b3.SERVICE_VERSION,i=e instanceof oMe.StorageSharedKeyCredential?e:void 0,s;if(i===void 0&&r!==void 0&&(s=new aMe.UserDelegationKeyCredential(r,e)),i===void 0&&s===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")return i!==void 0?uMe(t,i):n>="2025-07-05"?fMe(t,s):hMe(t,s);if(n>="2018-11-09")return i!==void 0?AMe(t,i):n>="2020-02-10"?pMe(t,s):dMe(t,s);if(n>="2015-04-05"){if(i!==void 0)return lMe(t,i);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'.")}o(Q3,"generateBlobSASQueryParametersInternal");function lMe(t,e){if(t=Aa(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";t.blobName&&(r="b");let n;t.permissions&&(t.blobName?n=sa.BlobSASPermissions.parse(t.permissions.toString()).toString():n=oa.ContainerSASPermissions.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?(0,yt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,yt.truncatedISO8061Date)(t.expiresOn,!1):"",la(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?(0,aa.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),s=e.computeHMACSHA256(i);return{sasQueryParameters:new ca.SASQueryParameters(t.version,s,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:i}}o(lMe,"generateBlobSASQueryParameters20150405");function AMe(t,e){if(t=Aa(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=sa.BlobSASPermissions.parse(t.permissions.toString()).toString():i=oa.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,yt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,yt.truncatedISO8061Date)(t.expiresOn,!1):"",la(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?(0,aa.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new ca.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:s}}o(AMe,"generateBlobSASQueryParameters20181109");function uMe(t,e){if(t=Aa(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=sa.BlobSASPermissions.parse(t.permissions.toString()).toString():i=oa.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,yt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,yt.truncatedISO8061Date)(t.expiresOn,!1):"",la(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?(0,aa.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new ca.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void 0,void 0,void 0,t.encryptionScope),stringToSign:s}}o(uMe,"generateBlobSASQueryParameters20201206");function dMe(t,e){if(t=Aa(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=sa.BlobSASPermissions.parse(t.permissions.toString()).toString():i=oa.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,yt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,yt.truncatedISO8061Date)(t.expiresOn,!1):"",la(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?(0,aa.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new ca.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey),stringToSign:s}}o(dMe,"generateBlobSASQueryParametersUDK20181109");function pMe(t,e){if(t=Aa(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=sa.BlobSASPermissions.parse(t.permissions.toString()).toString():i=oa.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,yt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,yt.truncatedISO8061Date)(t.expiresOn,!1):"",la(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?(0,aa.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new ca.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:s}}o(pMe,"generateBlobSASQueryParametersUDK20200210");function hMe(t,e){if(t=Aa(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=sa.BlobSASPermissions.parse(t.permissions.toString()).toString():i=oa.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,yt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,yt.truncatedISO8061Date)(t.expiresOn,!1):"",la(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?(0,aa.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new ca.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:s}}o(hMe,"generateBlobSASQueryParametersUDK20201206");function fMe(t,e){if(t=Aa(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let i;t.permissions&&(t.blobName?i=sa.BlobSASPermissions.parse(t.permissions.toString()).toString():i=oa.ContainerSASPermissions.parse(t.permissions.toString()).toString());let s=[i||"",t.startsOn?(0,yt.truncatedISO8061Date)(t.startsOn,!1):"",t.expiresOn?(0,yt.truncatedISO8061Date)(t.expiresOn,!1):"",la(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?(0,yt.truncatedISO8061Date)(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?(0,aa.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(s);return{sasQueryParameters:new ca.SASQueryParameters(t.version,a,i,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:s}}o(fMe,"generateBlobSASQueryParametersUDK20250705");function la(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}o(la,"getCanonicalName");function Aa(t){let e=t.version?t.version:b3.SERVICE_VERSION;if(t.snapshotTime&&e<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(t.blobName===void 0&&t.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(t.versionId&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(t.blobName===void 0&&t.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(t.permissions&&t.permissions.setImmutabilityPolicy&&e<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(t.permissions&&t.permissions.tag&&e<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(e<"2020-02-10"&&t.permissions&&(t.permissions.move||t.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(e<"2021-04-10"&&t.permissions&&t.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(e<"2020-02-10"&&(t.preauthorizedAgentObjectId||t.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(t.encryptionScope&&e<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return t.version=e,t}o(Aa,"SASSignatureValuesSanityCheckAndAutofill")});var hg=g(pg=>{"use strict";Object.defineProperty(pg,"__esModule",{value:!0});pg.BlobLeaseClient=void 0;var mMe=pt(),Pi=en(),Wu=ia(),dg=Rn(),Jx=class{static{o(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let n=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=n.container):(this._isContainer=!1,this._containerOrBlobOperation=n.blob),r||(r=(0,mMe.randomUUID)()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Pi.ETagNone||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Pi.ETagNone||r.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 Wu.tracingClient.withSpan("BlobLeaseClient-acquireLease",r,async n=>(0,dg.assertResponse)(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:n.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Pi.ETagNone||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Pi.ETagNone||r.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 Wu.tracingClient.withSpan("BlobLeaseClient-changeLease",r,async n=>{let i=(0,dg.assertResponse)(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return this._leaseId=e,i})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==Pi.ETagNone||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Pi.ETagNone||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 Wu.tracingClient.withSpan("BlobLeaseClient-releaseLease",e,async r=>(0,dg.assertResponse)(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==Pi.ETagNone||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Pi.ETagNone||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 Wu.tracingClient.withSpan("BlobLeaseClient-renewLease",e,async r=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions}))}async breakLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Pi.ETagNone||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Pi.ETagNone||r.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 Wu.tracingClient.withSpan("BlobLeaseClient-breakLease",r,async n=>{let i={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions};return(0,dg.assertResponse)(await this._containerOrBlobOperation.breakLease(i))})}};pg.BlobLeaseClient=Jx});var w3=g(fg=>{"use strict";Object.defineProperty(fg,"__esModule",{value:!0});fg.AbortError=void 0;var Vx=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};fg.AbortError=Vx});var Wx=g(mg=>{"use strict";Object.defineProperty(mg,"__esModule",{value:!0});mg.AbortError=void 0;var gMe=w3();Object.defineProperty(mg,"AbortError",{enumerable:!0,get:function(){return gMe.AbortError}})});var N3=g(gg=>{"use strict";Object.defineProperty(gg,"__esModule",{value:!0});gg.RetriableReadableStream=void 0;var yMe=Wx(),CMe=require("node:stream"),$x=class extends CMe.Readable{static{o(this,"RetriableReadableStream")}start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,r,n,i,s={}){super({highWaterMark:s.highWaterMark}),this.getter=r,this.source=e,this.start=n,this.offset=n,this.end=n+i-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=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()};sourceAbortedHandler=()=>{let e=new yMe.AbortError("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{if(e&&e.name==="AbortError"){this.destroy(e);return}this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries<this.maxRetryRequests?(this.retries+=1,this.getter(this.offset).then(r=>{this.source=r,this.setSourceEventHandlers()}).catch(r=>{this.destroy(r)})):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}`)):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,r){this.removeSourceEventHandlers(),this.source.destroy(),r(e===null?void 0:e)}};gg.RetriableReadableStream=$x});var x3=g(yg=>{"use strict";Object.defineProperty(yg,"__esModule",{value:!0});yg.BlobDownloadResponse=void 0;var EMe=pt(),BMe=N3(),Kx=class{static{o(this,"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 EMe.isNodeLike?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,n,i,s={}){this.originalResponse=e,this.blobDownloadStream=new BMe.RetriableReadableStream(this.originalResponse.readableStreamBody,r,n,i,s)}};yg.BlobDownloadResponse=Kx});var S3=g(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});Di.AVRO_SCHEMA_KEY=Di.AVRO_CODEC_KEY=Di.AVRO_INIT_BYTES=Di.AVRO_SYNC_MARKER_SIZE=void 0;Di.AVRO_SYNC_MARKER_SIZE=16;Di.AVRO_INIT_BYTES=new Uint8Array([79,98,106,1]);Di.AVRO_CODEC_KEY="avro.codec";Di.AVRO_SCHEMA_KEY="avro.schema"});var R3=g(El=>{"use strict";Object.defineProperty(El,"__esModule",{value:!0});El.AvroType=El.AvroParser=void 0;var Pr=class t{static{o(this,"AvroParser")}static async readFixedBytes(e,r,n={}){let i=await e.read(r,{abortSignal:n.abortSignal});if(i.length!==r)throw new Error("Hit stream end.");return i}static async readByte(e,r={}){return(await t.readFixedBytes(e,1,r))[0]}static async readZigZagLong(e,r={}){let n=0,i=0,s,a,c;do s=await t.readByte(e,r),a=s&128,n|=(s&127)<<i,i+=7;while(a&&i<28);if(a){n=n,c=268435456;do s=await t.readByte(e,r),n+=(s&127)*c,c*=128;while(s&128);let l=(n%2?-(n+1):n)/2;if(l<Number.MIN_SAFE_INTEGER||l>Number.MAX_SAFE_INTEGER)throw new Error("Integer overflow.");return l}return n>>1^-(n&1)}static async readLong(e,r={}){return t.readZigZagLong(e,r)}static async readInt(e,r={}){return t.readZigZagLong(e,r)}static async readNull(){return null}static async readBoolean(e,r={}){let n=await t.readByte(e,r);if(n===1)return!0;if(n===0)return!1;throw new Error("Byte was not a boolean.")}static async readFloat(e,r={}){let n=await t.readFixedBytes(e,4,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat32(0,!0)}static async readDouble(e,r={}){let n=await t.readFixedBytes(e,8,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat64(0,!0)}static async readBytes(e,r={}){let n=await t.readLong(e,r);if(n<0)throw new Error("Bytes size was negative.");return e.read(n,{abortSignal:r.abortSignal})}static async readString(e,r={}){let n=await t.readBytes(e,r);return new TextDecoder().decode(n)}static async readMapPair(e,r,n={}){let i=await t.readString(e,n),s=await r(e,n);return{key:i,value:s}}static async readMap(e,r,n={}){let i=o((c,l={})=>t.readMapPair(c,r,l),"readPairMethod"),s=await t.readArray(e,i,n),a={};for(let c of s)a[c.key]=c.value;return a}static async readArray(e,r,n={}){let i=[];for(let s=await t.readLong(e,n);s!==0;s=await t.readLong(e,n))for(s<0&&(await t.readLong(e,n),s=-s);s--;){let a=await r(e,n);i.push(a)}return i}};El.AvroParser=Pr;var ua;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(ua||(ua={}));var Yt;(function(t){t.NULL="null",t.BOOLEAN="boolean",t.INT="int",t.LONG="long",t.FLOAT="float",t.DOUBLE="double",t.BYTES="bytes",t.STRING="string"})(Yt||(Yt={}));var ao=class t{static{o(this,"AvroType")}static fromSchema(e){return typeof e=="string"?t.fromStringSchema(e):Array.isArray(e)?t.fromArraySchema(e):t.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case Yt.NULL:case Yt.BOOLEAN:case Yt.INT:case Yt.LONG:case Yt.FLOAT:case Yt.DOUBLE:case Yt.BYTES:case Yt.STRING:return new Xx(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new eS(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case ua.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}`);let n={};if(!e.fields)throw new Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let i of e.fields)n[i.name]=t.fromSchema(i.type);return new rS(n,e.name);case ua.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 Zx(e.symbols);case ua.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new tS(t.fromSchema(e.values));case ua.ARRAY:case ua.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}};El.AvroType=ao;var Xx=class extends ao{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case Yt.NULL:return Pr.readNull();case Yt.BOOLEAN:return Pr.readBoolean(e,r);case Yt.INT:return Pr.readInt(e,r);case Yt.LONG:return Pr.readLong(e,r);case Yt.FLOAT:return Pr.readFloat(e,r);case Yt.DOUBLE:return Pr.readDouble(e,r);case Yt.BYTES:return Pr.readBytes(e,r);case Yt.STRING:return Pr.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},Zx=class extends ao{static{o(this,"AvroEnumType")}_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let n=await Pr.readInt(e,r);return this._symbols[n]}},eS=class extends ao{static{o(this,"AvroUnionType")}_types;constructor(e){super(),this._types=e}async read(e,r={}){let n=await Pr.readInt(e,r);return this._types[n].read(e,r)}},tS=class extends ao{static{o(this,"AvroMapType")}_itemType;constructor(e){super(),this._itemType=e}read(e,r={}){let n=o((i,s)=>this._itemType.read(i,s),"readItemMethod");return Pr.readMap(e,n,r)}},rS=class extends ao{static{o(this,"AvroRecordType")}_name;_fields;constructor(e,r){super(),this._fields=e,this._name=r}async read(e,r={}){let n={};n.$schema=this._name;for(let i in this._fields)Object.prototype.hasOwnProperty.call(this._fields,i)&&(n[i]=await this._fields[i].read(e,r));return n}}});var _3=g(nS=>{"use strict";Object.defineProperty(nS,"__esModule",{value:!0});nS.arraysEqual=IMe;function IMe(t,e){if(t===e)return!0;if(t==null||e==null||t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(t[r]!==e[r])return!1;return!0}o(IMe,"arraysEqual")});var P3=g(Cg=>{"use strict";Object.defineProperty(Cg,"__esModule",{value:!0});Cg.AvroReader=void 0;var Bl=S3(),Ti=R3(),v3=_3(),iS=class{static{o(this,"AvroReader")}_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,r,n,i){this._dataStream=e,this._headerStream=r||e,this._initialized=!1,this._blockOffset=n||0,this._objectIndex=i||0,this._initialBlockOffset=n||0}async initialize(e={}){let r=await Ti.AvroParser.readFixedBytes(this._headerStream,Bl.AVRO_INIT_BYTES.length,{abortSignal:e.abortSignal});if(!(0,v3.arraysEqual)(r,Bl.AVRO_INIT_BYTES))throw new Error("Stream is not an Avro file.");this._metadata=await Ti.AvroParser.readMap(this._headerStream,Ti.AvroParser.readString,{abortSignal:e.abortSignal});let n=this._metadata[Bl.AVRO_CODEC_KEY];if(!(n==null||n==="null"))throw new Error("Codecs are not supported");this._syncMarker=await Ti.AvroParser.readFixedBytes(this._headerStream,Bl.AVRO_SYNC_MARKER_SIZE,{abortSignal:e.abortSignal});let i=JSON.parse(this._metadata[Bl.AVRO_SCHEMA_KEY]);if(this._itemType=Ti.AvroType.fromSchema(i),this._blockOffset===0&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await Ti.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal}),await Ti.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let s=0;s<this._objectIndex;s++)await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal}),this._itemsRemainingInBlock--}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}async*parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let r=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,this._itemsRemainingInBlock===0){let n=await Ti.AvroParser.readFixedBytes(this._dataStream,Bl.AVRO_SYNC_MARKER_SIZE,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!(0,v3.arraysEqual)(this._syncMarker,n))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await Ti.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await Ti.AvroParser.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};Cg.AvroReader=iS});var oS=g(Eg=>{"use strict";Object.defineProperty(Eg,"__esModule",{value:!0});Eg.AvroReadable=void 0;var sS=class{static{o(this,"AvroReadable")}};Eg.AvroReadable=sS});var T3=g(Bg=>{"use strict";Object.defineProperty(Bg,"__esModule",{value:!0});Bg.AvroReadableFromStream=void 0;var bMe=oS(),QMe=Wx(),wMe=require("buffer"),D3=new QMe.AbortError("Reading from the avro stream was aborted."),aS=class extends bMe.AvroReadable{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?wMe.Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,r={}){if(r.abortSignal?.aborted)throw D3;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.");let n=this._readable.read(e);return n?(this._position+=n.length,this.toUint8Array(n)):new Promise((i,s)=>{let a=o(()=>{this._readable.removeListener("readable",c),this._readable.removeListener("error",l),this._readable.removeListener("end",l),this._readable.removeListener("close",l),r.abortSignal&&r.abortSignal.removeEventListener("abort",A)},"cleanUp"),c=o(()=>{let u=this._readable.read(e);u&&(this._position+=u.length,a(),i(this.toUint8Array(u)))},"readableCallback"),l=o(()=>{a(),s()},"rejectCallback"),A=o(()=>{a(),s(D3)},"abortHandler");this._readable.on("readable",c),this._readable.once("error",l),this._readable.once("end",l),this._readable.once("close",l),r.abortSignal&&r.abortSignal.addEventListener("abort",A)})}};Bg.AvroReadableFromStream=aS});var O3=g(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.AvroReadableFromStream=co.AvroReadable=co.AvroReader=void 0;var NMe=P3();Object.defineProperty(co,"AvroReader",{enumerable:!0,get:function(){return NMe.AvroReader}});var xMe=oS();Object.defineProperty(co,"AvroReadable",{enumerable:!0,get:function(){return xMe.AvroReadable}});var SMe=T3();Object.defineProperty(co,"AvroReadableFromStream",{enumerable:!0,get:function(){return SMe.AvroReadableFromStream}})});var k3=g(Ig=>{"use strict";Object.defineProperty(Ig,"__esModule",{value:!0});Ig.BlobQuickQueryStream=void 0;var RMe=require("node:stream"),M3=O3(),cS=class extends RMe.Readable{static{o(this,"BlobQuickQueryStream")}source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,r={}){super(),this.source=e,this.onProgress=r.onProgress,this.onError=r.onError,this.avroReader=new M3.AvroReader(new M3.AvroReadableFromStream(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:r.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){this.avroPaused=!1;let e;do{if(e=await this.avroIter.next(),e.done)break;let r=e.value,n=r.$schema;if(typeof n!="string")throw Error("Missing schema in avro record.");switch(n){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let i=r.data;if(!(i instanceof Uint8Array))throw Error("Invalid data in avro result record.");this.push(Buffer.from(i))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let i=r.bytesScanned;if(typeof i!="number")throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:i})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let i=r.totalBytes;if(typeof i!="number")throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:i})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let i=r.fatal;if(typeof i!="boolean")throw Error("Invalid fatal in avro error record.");let s=r.name;if(typeof s!="string")throw Error("Invalid name in avro error record.");let a=r.description;if(typeof a!="string")throw Error("Invalid description in avro error record.");let c=r.position;if(typeof c!="number")throw Error("Invalid position in avro error record.");this.onError({position:c,name:s,isFatal:i,description:a})}break;default:throw Error(`Unknown schema ${n} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}};Ig.BlobQuickQueryStream=cS});var L3=g(bg=>{"use strict";Object.defineProperty(bg,"__esModule",{value:!0});bg.BlobQueryResponse=void 0;var _Me=pt(),vMe=k3(),lS=class{static{o(this,"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(){}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(){}get readableStreamBody(){return _Me.isNodeLike?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new vMe.BlobQuickQueryStream(this.originalResponse.readableStreamBody,r)}};bg.BlobQueryResponse=lS});var AS=g(ti=>{"use strict";Object.defineProperty(ti,"__esModule",{value:!0});ti.StorageBlobAudience=ti.PremiumPageBlobTier=ti.BlockBlobTier=void 0;ti.toAccessTier=DMe;ti.ensureCpkIfSpecified=TMe;ti.getBlobServiceAccountAudience=OMe;var PMe=en(),U3;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(U3||(ti.BlockBlobTier=U3={}));var F3;(function(t){t.P4="P4",t.P6="P6",t.P10="P10",t.P15="P15",t.P20="P20",t.P30="P30",t.P40="P40",t.P50="P50",t.P60="P60",t.P70="P70",t.P80="P80"})(F3||(ti.PremiumPageBlobTier=F3={}));function DMe(t){if(t!==void 0)return t}o(DMe,"toAccessTier");function TMe(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=PMe.EncryptionAlgorithmAES25)}o(TMe,"ensureCpkIfSpecified");var q3;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(q3||(ti.StorageBlobAudience=q3={}));function OMe(t){return`https://${t}.blob.core.windows.net/.default`}o(OMe,"getBlobServiceAccountAudience")});var H3=g(uS=>{"use strict";Object.defineProperty(uS,"__esModule",{value:!0});uS.rangeResponseFromModel=MMe;function MMe(t){let e=(t._response.parsedBody.pageRange||[]).map(n=>({offset:n.start,count:n.end-n.start})),r=(t._response.parsedBody.clearRange||[]).map(n=>({offset:n.start,count:n.end-n.start}));return{...t,pageRange:e,clearRange:r,_response:{...t._response,parsedBody:{pageRange:e,clearRange:r}}}}o(MMe,"rangeResponseFromModel")});var Z3=g(Il=>{"use strict";Object.defineProperty(Il,"__esModule",{value:!0});var kMe=require("os"),LMe=require("util");function UMe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(UMe,"_interopDefaultLegacy");var FMe=UMe(LMe);function qMe(t,...e){process.stderr.write(`${FMe.default.format(t,...e)}${kMe.EOL}`)}o(qMe,"log");var z3=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,G3,dS=[],pS=[],Ng=[];z3&&hS(z3);var Y3=Object.assign(t=>J3(t),{enable:hS,enabled:fS,disable:HMe,log:qMe});function hS(t){G3=t,dS=[],pS=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?pS.push(new RegExp(`^${n.substr(1)}$`)):dS.push(new RegExp(`^${n}$`));for(let n of Ng)n.enabled=fS(n.namespace)}o(hS,"enable");function fS(t){if(t.endsWith("*"))return!0;for(let e of pS)if(e.test(t))return!1;for(let e of dS)if(e.test(t))return!0;return!1}o(fS,"enabled");function HMe(){let t=G3||"";return hS(""),t}o(HMe,"disable");function J3(t){let e=Object.assign(r,{enabled:fS(t),destroy:zMe,log:Y3.log,namespace:t,extend:jMe});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),Ng.push(e),e}o(J3,"createDebugger");function zMe(){let t=Ng.indexOf(this);return t>=0?(Ng.splice(t,1),!0):!1}o(zMe,"destroy");function jMe(t){let e=J3(`${this.namespace}:${t}`);return e.log=this.log,e}o(jMe,"extend");var $u=Y3,V3=new Set,Qg=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,xg,Sg=$u("azure");Sg.log=(...t)=>{$u.log(...t)};var mS=["verbose","info","warning","error"];Qg&&(X3(Qg)?W3(Qg):console.error(`AZURE_LOG_LEVEL set to unknown log level '${Qg}'; logging is not enabled. Acceptable values: ${mS.join(", ")}.`));function W3(t){if(t&&!X3(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${mS.join(",")}`);xg=t;let e=[];for(let r of V3)K3(r)&&e.push(r.namespace);$u.enable(e.join(","))}o(W3,"setLogLevel");function GMe(){return xg}o(GMe,"getLogLevel");var j3={verbose:400,info:300,warning:200,error:100};function YMe(t){let e=Sg.extend(t);return $3(Sg,e),{error:wg(e,"error"),warning:wg(e,"warning"),info:wg(e,"info"),verbose:wg(e,"verbose")}}o(YMe,"createClientLogger");function $3(t,e){e.log=(...r)=>{t.log(...r)}}o($3,"patchLogMethod");function wg(t,e){let r=Object.assign(t.extend(e),{level:e});if($3(t,r),K3(r)){let n=$u.disable();$u.enable(n+","+r.namespace)}return V3.add(r),r}o(wg,"createLogger");function K3(t){return!!(xg&&j3[t.level]<=j3[xg])}o(K3,"shouldEnable");function X3(t){return mS.includes(t)}o(X3,"isAzureLogLevel");Il.AzureLogger=Sg;Il.createClientLogger=YMe;Il.getLogLevel=GMe;Il.setLogLevel=W3});var _g=g(Xu=>{"use strict";Object.defineProperty(Xu,"__esModule",{value:!0});var bl=new WeakMap,Rg=new WeakMap,Ku=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,bl.set(this,[]),Rg.set(this,!1)}get aborted(){if(!Rg.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return Rg.get(this)}static get none(){return new t}addEventListener(e,r){if(!bl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");bl.get(this).push(r)}removeEventListener(e,r){if(!bl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=bl.get(this),i=n.indexOf(r);i>-1&&n.splice(i,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 eK(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=bl.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),Rg.set(t,!0)}o(eK,"abortSignal");var gS=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},yS=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new Ku,!!e){Array.isArray(e)||(e=arguments);for(let r of e)r.aborted?this.abort():r.addEventListener("abort",()=>{this.abort()})}}get signal(){return this._signal}abort(){eK(this._signal)}static timeout(e){let r=new Ku,n=setTimeout(eK,e,r);return typeof n.unref=="function"&&n.unref(),r}};Xu.AbortController=yS;Xu.AbortError=gS;Xu.AbortSignal=Ku});var sK=g(Ct=>{"use strict";Object.defineProperty(Ct,"__esModule",{value:!0});var JMe=_g(),wS=require("crypto");function tK(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=e??{};return new Promise((s,a)=>{function c(){a(new JMe.AbortError(i??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){n?.removeEventListener("abort",A)}o(l,"removeListeners");function A(){r?.(),l(),c()}if(o(A,"onAbort"),n?.aborted)return c();try{t(u=>{l(),s(u)},u=>{l(),a(u)})}catch(u){a(u)}n?.addEventListener("abort",A)})}o(tK,"createAbortablePromise");var VMe="The delay was aborted.";function WMe(t,e){let r,{abortSignal:n,abortErrorMsg:i}=e??{};return tK(s=>{r=setTimeout(s,t)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:n,abortErrorMsg:i??VMe})}o(WMe,"delay");function $Me(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o($Me,"getRandomIntegerInclusive");function rK(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(rK,"isObject");function nK(t){if(rK(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(nK,"isError");function KMe(t){if(nK(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(KMe,"getErrorMessage");async function XMe(t,e,r){let n=Buffer.from(t,"base64");return wS.createHmac("sha256",n).update(e).digest(r)}o(XMe,"computeSha256Hmac");async function ZMe(t,e){return wS.createHash("sha256").update(t).digest(e)}o(ZMe,"computeSha256Hash");function NS(t){return typeof t<"u"&&t!==null}o(NS,"isDefined");function eke(t,e){if(!NS(t)||typeof t!="object")return!1;for(let r of e)if(!iK(t,r))return!1;return!0}o(eke,"isObjectWithProperties");function iK(t,e){return NS(t)&&typeof t=="object"&&e in t}o(iK,"objectHasProperty");function tke(){let t="";for(let e=0;e<32;e++){let r=Math.floor(Math.random()*16);e===12?t+="4":e===16?t+=r&3|8:t+=r.toString(16),(e===7||e===11||e===15||e===19)&&(t+="-")}return t}o(tke,"generateUUID");var CS,QS=typeof((CS=globalThis?.crypto)===null||CS===void 0?void 0:CS.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):wS.randomUUID;QS||(QS=tke);function rke(){return QS()}o(rke,"randomUUID");var ES,BS,IS,bS,nke=typeof window<"u"&&typeof window.document<"u",ike=typeof self=="object"&&typeof self?.importScripts=="function"&&(((ES=self.constructor)===null||ES===void 0?void 0:ES.name)==="DedicatedWorkerGlobalScope"||((BS=self.constructor)===null||BS===void 0?void 0:BS.name)==="ServiceWorkerGlobalScope"||((IS=self.constructor)===null||IS===void 0?void 0:IS.name)==="SharedWorkerGlobalScope"),ske=typeof process<"u"&&!!process.version&&!!(!((bS=process.versions)===null||bS===void 0)&&bS.node),oke=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",ake=typeof Bun<"u"&&typeof Bun.version<"u",cke=typeof navigator<"u"&&navigator?.product==="ReactNative";function lke(t,e){switch(e){case"utf-8":return pke(t);case"base64":return uke(t);case"base64url":return dke(t)}}o(lke,"uint8ArrayToString");function Ake(t,e){switch(e){case"utf-8":return hke(t);case"base64":return fke(t);case"base64url":return mke(t)}}o(Ake,"stringToUint8Array");function uke(t){return Buffer.from(t).toString("base64")}o(uke,"uint8ArrayToBase64");function dke(t){return Buffer.from(t).toString("base64url")}o(dke,"uint8ArrayToBase64Url");function pke(t){return Buffer.from(t).toString("utf-8")}o(pke,"uint8ArrayToUtf8String");function hke(t){return Buffer.from(t)}o(hke,"utf8StringToUint8Array");function fke(t){return Buffer.from(t,"base64")}o(fke,"base64ToUint8Array");function mke(t){return Buffer.from(t,"base64url")}o(mke,"base64UrlToUint8Array");Ct.computeSha256Hash=ZMe;Ct.computeSha256Hmac=XMe;Ct.createAbortablePromise=tK;Ct.delay=WMe;Ct.getErrorMessage=KMe;Ct.getRandomIntegerInclusive=$Me;Ct.isBrowser=nke;Ct.isBun=ake;Ct.isDefined=NS;Ct.isDeno=oke;Ct.isError=nK;Ct.isNode=ske;Ct.isObject=rK;Ct.isObjectWithProperties=eke;Ct.isReactNative=cke;Ct.isWebWorker=ike;Ct.objectHasProperty=iK;Ct.randomUUID=rke;Ct.stringToUint8Array=Ake;Ct.uint8ArrayToString=lke});var NK=g(pa=>{"use strict";Object.defineProperty(pa,"__esModule",{value:!0});var gke=Z3(),oK=_g(),yke=sK(),da=gke.createClientLogger("core-lro"),cK=2e3,lK=["succeeded","canceled","failed"];function AK(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(AK,"deserializeState");function aK(t){let{state:e,stateProxy:r,isOperationError:n}=t;return i=>{throw n(i)&&(r.setError(e,i),r.setFailed(e)),i}}o(aK,"setStateError");function Cke(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(Cke,"appendReadableErrorMessage");function Eke(t){let e=t.message,r=t.code,n=t;for(;n.innererror;)n=n.innererror,r=n.code,e=Cke(e,n.message);return{code:r,message:e}}o(Eke,"simplifyError");function uK(t){let{state:e,stateProxy:r,status:n,isDone:i,processResult:s,getError:a,response:c,setErrorAsResult:l}=t;switch(n){case"succeeded":{r.setSucceeded(e);break}case"failed":{let A=a?.(c),u="";if(A){let{code:f,message:m}=Eke(A);u=`. ${f}. ${m}`}let d=`The long-running operation has failed${u}`;r.setError(e,new Error(d)),r.setFailed(e),da.warning(d);break}case"canceled":{r.setCanceled(e);break}}(i?.(c,e)||i===void 0&&["succeeded","canceled"].concat(l?[]:["failed"]).includes(n))&&r.setResult(e,Bke({response:c,state:e,processResult:s}))}o(uK,"processOperationStatus");function Bke(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}o(Bke,"buildResult");async function dK(t){let{init:e,stateProxy:r,processResult:n,getOperationStatus:i,withOperationLocation:s,setErrorAsResult:a}=t,{operationLocation:c,resourceLocation:l,metadata:A,response:u}=await e();c&&s?.(c,!1);let d={metadata:A,operationLocation:c,resourceLocation:l};da.verbose("LRO: Operation description:",d);let f=r.initState(d),m=i({response:u,state:f,operationLocation:c});return uK({state:f,status:m,stateProxy:r,response:u,setErrorAsResult:a,processResult:n}),f}o(dK,"initOperation");async function Ike(t){let{poll:e,state:r,stateProxy:n,operationLocation:i,getOperationStatus:s,getResourceLocation:a,isOperationError:c,options:l}=t,A=await e(i,l).catch(aK({state:r,stateProxy:n,isOperationError:c})),u=s(A,r);if(da.verbose(`LRO: Status:
Polling from: ${r.config.operationLocation}
Operation status: ${u}
Polling status: ${lK.includes(u)?"Stopped":"Running"}`),u==="succeeded"){let d=a(A,r);if(d!==void 0)return{response:await e(d).catch(aK({state:r,stateProxy:n,isOperationError:c})),status:u}}return{response:A,status:u}}o(Ike,"pollOperationHelper");async function pK(t){let{poll:e,state:r,stateProxy:n,options:i,getOperationStatus:s,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:A,getPollingInterval:u,processResult:d,getError:f,updateState:m,setDelay:C,isDone:Q,setErrorAsResult:S}=t,{operationLocation:w}=r.config;if(w!==void 0){let{response:R,status:T}=await Ike({poll:e,getOperationStatus:s,state:r,stateProxy:n,operationLocation:w,getResourceLocation:a,isOperationError:l,options:i});if(uK({status:T,response:R,state:r,stateProxy:n,isDone:Q,processResult:d,getError:f,setErrorAsResult:S}),!lK.includes(T)){let L=u?.(R);L&&C(L);let W=c?.(R,r);if(W!==void 0){let de=w!==W;r.config.operationLocation=W,A?.(W,de)}else A?.(w,!1)}m?.(r,R)}}o(pK,"pollOperation");function hK(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(hK,"getOperationLocationPollingUrl");function fK(t){return t.headers.location}o(fK,"getLocationHeader");function mK(t){return t.headers["operation-location"]}o(mK,"getOperationLocationHeader");function gK(t){return t.headers["azure-asyncoperation"]}o(gK,"getAzureAsyncOperationHeader");function bke(t){var e;let{location:r,requestMethod:n,requestPath:i,resourceLocationConfig:s}=t;switch(n){case"PUT":return i;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:i;default:return a()}function a(){switch(s){case"azure-async-operation":return;case"original-uri":return i;case"location":default:return r}}o(a,"getDefault")}o(bke,"findResourceLocation");function yK(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:i}=t,s=mK(e),a=gK(e),c=hK({operationLocation:s,azureAsyncOperation:a}),l=fK(e),A=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:bke({requestMethod:A,location:l,requestPath:n,resourceLocationConfig:i})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:A==="PUT"&&n?{mode:"Body",operationLocation:n}:void 0}o(yK,"inferLroMode");function CK(t){let{status:e,statusCode:r}=t;if(typeof e!="string"&&e!==void 0)throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${e}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`);switch(e?.toLocaleLowerCase()){case void 0:return RS(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:return da.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(CK,"transformStatus");function Qke(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return CK({status:r,statusCode:t.statusCode})}o(Qke,"getStatus");function wke(t){var e,r;let{properties:n,provisioningState:i}=(e=t.body)!==null&&e!==void 0?e:{},s=(r=n?.provisioningState)!==null&&r!==void 0?r:i;return CK({status:s,statusCode:t.statusCode})}o(wke,"getProvisioningState");function RS(t){return t===202?"running":t<300?"succeeded":"failed"}o(RS,"toOperationStatus");function EK({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?Nke(new Date(e)):r*1e3}}o(EK,"parseRetryAfter");function BK(t){let e=t.flatResponse.error;if(!e){da.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){da.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}o(BK,"getErrorFromResponse");function Nke(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}o(Nke,"calculatePollingIntervalFromDate");function IK(t){let{response:e,state:r,operationLocation:n}=t;function i(){var a;switch((a=r.config.metadata)===null||a===void 0?void 0:a.mode){case void 0:return RS(e.rawResponse.statusCode);case"Body":return _S(e,r);default:return"running"}}o(i,"helper");let s=i();return s==="running"&&n===void 0?"succeeded":s}o(IK,"getStatusFromInitialResponse");async function xke(t){let{stateProxy:e,resourceLocationConfig:r,processResult:n,lro:i,setErrorAsResult:s}=t;return dK({init:async()=>{let a=await i.sendInitialRequest(),c=yK({rawResponse:a.rawResponse,requestPath:i.requestPath,requestMethod:i.requestMethod,resourceLocationConfig:r});return Object.assign({response:a,operationLocation:c?.operationLocation,resourceLocation:c?.resourceLocation},c?.mode?{metadata:{mode:c.mode}}:{})},stateProxy:e,processResult:n?({flatResponse:a},c)=>n(a,c):({flatResponse:a})=>a,getOperationStatus:IK,setErrorAsResult:s})}o(xke,"initHttpOperation");function bK({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return hK({operationLocation:mK(t),azureAsyncOperation:gK(t)});case"ResourceLocation":return fK(t);case"Body":default:return}}o(bK,"getOperationLocation");function _S({rawResponse:t},e){var r;let n=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(n){case"OperationLocation":return Qke(t);case"ResourceLocation":return RS(t.statusCode);case"Body":return wke(t);default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}o(_S,"getOperationStatus");function QK({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(QK,"getResourceLocation");function wK(t){return t.name==="RestError"}o(wK,"isOperationError");async function Ske(t){let{lro:e,stateProxy:r,options:n,processResult:i,updateState:s,setDelay:a,state:c,setErrorAsResult:l}=t;return pK({state:c,stateProxy:r,setDelay:a,processResult:i?({flatResponse:A},u)=>i(A,u):({flatResponse:A})=>A,getError:BK,updateState:s,getPollingInterval:EK,getOperationLocation:bK,getOperationStatus:_S,isOperationError:wK,getResourceLocation:QK,options:n,poll:async(A,u)=>e.sendPollRequest(A,u),setErrorAsResult:l})}o(Ske,"pollHttpOperation");var Rke=o(()=>({initState:t=>({status:"running",config:t}),setCanceled:t=>t.status="canceled",setError:(t,e)=>t.error=e,setResult:(t,e)=>t.result=e,setRunning:t=>t.status="running",setSucceeded:t=>t.status="succeeded",setFailed:t=>t.status="failed",getError:t=>t.error,getResult:t=>t.result,isCanceled:t=>t.status==="canceled",isFailed:t=>t.status==="failed",isRunning:t=>t.status==="running",isSucceeded:t=>t.status==="succeeded"}),"createStateProxy$1");function _ke(t){let{getOperationLocation:e,getStatusFromInitialResponse:r,getStatusFromPollResponse:n,isOperationError:i,getResourceLocation:s,getPollingInterval:a,getError:c,resolveOnUnsuccessful:l}=t;return async({init:A,poll:u},d)=>{let{processResult:f,updateState:m,withOperationLocation:C,intervalInMs:Q=cK,restoreFrom:S}=d||{},w=Rke(),R=C?(()=>{let Xe=!1;return(fe,Ge)=>{Ge?C(fe):Xe||C(fe),Xe=!0}})():void 0,T=S?AK(S):await dK({init:A,stateProxy:w,processResult:f,getOperationStatus:r,withOperationLocation:R,setErrorAsResult:!l}),L,W=new oK.AbortController,de=new Map,le=o(async()=>de.forEach(Xe=>Xe(T)),"handleProgressEvents"),Te="Operation was canceled",Oe=Q,He={getOperationState:()=>T,getResult:()=>T.result,isDone:()=>["succeeded","failed","canceled"].includes(T.status),isStopped:()=>L===void 0,stopPolling:()=>{W.abort()},toString:()=>JSON.stringify({state:T}),onProgress:Xe=>{let fe=Symbol();return de.set(fe,Xe),()=>de.delete(fe)},pollUntilDone:Xe=>L??(L=(async()=>{let{abortSignal:fe}=Xe||{},{signal:Ge}=fe?new oK.AbortController([fe,W.signal]):W;if(!He.isDone())for(await He.poll({abortSignal:Ge});!He.isDone();)await yke.delay(Oe,{abortSignal:Ge}),await He.poll({abortSignal:Ge});if(l)return He.getResult();switch(T.status){case"succeeded":return He.getResult();case"canceled":throw new Error(Te);case"failed":throw T.error;case"notStarted":case"running":throw new Error("Polling completed without succeeding or failing")}})().finally(()=>{L=void 0})),async poll(Xe){if(l){if(He.isDone())return}else switch(T.status){case"succeeded":return;case"canceled":throw new Error(Te);case"failed":throw T.error}if(await pK({poll:u,state:T,stateProxy:w,getOperationLocation:e,isOperationError:i,withOperationLocation:R,getPollingInterval:a,getOperationStatus:n,getResourceLocation:s,processResult:f,getError:c,updateState:m,options:Xe,setDelay:fe=>{Oe=fe},setErrorAsResult:!l}),await le(),!l)switch(T.status){case"canceled":throw new Error(Te);case"failed":throw T.error}}};return He}}o(_ke,"buildCreatePoller");async function vke(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:i,restoreFrom:s,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return _ke({getStatusFromInitialResponse:IK,getStatusFromPollResponse:_S,isOperationError:wK,getOperationLocation:bK,getResourceLocation:QK,getPollingInterval:EK,getError:BK,resolveOnUnsuccessful:l})({init:async()=>{let A=await t.sendInitialRequest(),u=yK({rawResponse:A.rawResponse,requestPath:t.requestPath,requestMethod:t.requestMethod,resourceLocationConfig:r});return Object.assign({response:A,operationLocation:u?.operationLocation,resourceLocation:u?.resourceLocation},u?.mode?{metadata:{mode:u.mode}}:{})},poll:t.sendPollRequest},{intervalInMs:n,withOperationLocation:c,restoreFrom:s,updateState:a,processResult:i?({flatResponse:A},u)=>i(A,u):({flatResponse:A})=>A})}o(vke,"createHttpPoller");var Pke=o(()=>({initState:t=>({config:t,isStarted:!0}),setCanceled:t=>t.isCancelled=!0,setError:(t,e)=>t.error=e,setResult:(t,e)=>t.result=e,setRunning:t=>t.isStarted=!0,setSucceeded:t=>t.isCompleted=!0,setFailed:()=>{},getError:t=>t.error,getResult:t=>t.result,isCanceled:t=>!!t.isCancelled,isFailed:t=>!!t.error,isRunning:t=>!!t.isStarted,isSucceeded:t=>!!(t.isCompleted&&!t.isCancelled&&!t.error)}),"createStateProxy"),xS=class{static{o(this,"GenericPollOperation")}constructor(e,r,n,i,s,a,c){this.state=e,this.lro=r,this.setErrorAsResult=n,this.lroResourceLocationConfig=i,this.processResult=s,this.updateState=a,this.isDone=c}setPollerConfig(e){this.pollerConfig=e}async update(e){var r;let n=Pke();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await xke({lro:this.lro,stateProxy:n,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult})));let i=this.updateState,s=this.isDone;return!this.state.isCompleted&&this.state.error===void 0&&await Ske({lro:this.lro,state:this.state,stateProxy:n,processResult:this.processResult,updateState:i?(a,{rawResponse:c})=>i(a,c):void 0,isDone:s?({flatResponse:a},c)=>s(a,c):void 0,options:e,setDelay:a=>{this.pollerConfig.intervalInMs=a},setErrorAsResult:this.setErrorAsResult}),(r=e?.fireProgress)===null||r===void 0||r.call(e,this.state),this}async cancel(){return da.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},vg=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},Pg=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},Dg=class{static{o(this,"Poller")}constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((r,n)=>{this.resolve=r,this.reject=n}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let r of this.pollProgressCallbacks)r(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let r=o(()=>{this.pollOncePromise=void 0},"clearPollOncePromise");this.pollOncePromise.then(r,r).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new Pg("Operation was canceled");throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(r=>r!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){this.stopped||(this.stopped=!0,this.reject&&this.reject(new vg("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(){return this.operation.state.result}toString(){return this.operation.toString()}},SS=class extends Dg{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:n=cK,resumeFrom:i,resolveOnUnsuccessful:s=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:A}=r||{},u=i?AK(i):{},d=new xS(u,e,!s,c,l,A,a);super(d),this.resolveOnUnsuccessful=s,this.config={intervalInMs:n},d.setPollerConfig(this.config)}delay(){return new Promise(e=>setTimeout(()=>e(),this.config.intervalInMs))}};pa.LroEngine=SS;pa.Poller=Dg;pa.PollerCancelledError=Pg;pa.PollerStoppedError=vg;pa.createHttpPoller=vke});var xK=g(Tg=>{"use strict";Object.defineProperty(Tg,"__esModule",{value:!0});Tg.BlobBeginCopyFromUrlPoller=void 0;var Dke=pt(),Tke=NK(),vS=class extends Tke.Poller{static{o(this,"BlobBeginCopyFromUrlPoller")}intervalInMs;constructor(e){let{blobClient:r,copySource:n,intervalInMs:i=15e3,onProgress:s,resumeFrom:a,startCopyFromURLOptions:c}=e,l;a&&(l=JSON.parse(a).state);let A=Zu({...l,blobClient:r,copySource:n,startCopyFromURLOptions:c});super(A),typeof s=="function"&&this.onProgress(s),this.intervalInMs=i}delay(){return(0,Dke.delay)(this.intervalInMs)}};Tg.BlobBeginCopyFromUrlPoller=vS;var Oke=o(async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?Zu(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,Zu(r)):(r.isCancelled=!0,Zu(r))},"cancel"),Mke=o(async function(e={}){let r=this.state,{blobClient:n,copySource:i,startCopyFromURLOptions:s}=r;if(r.isStarted){if(!r.isCompleted)try{let a=await r.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:c,copyProgress:l}=a,A=r.copyProgress;l&&(r.copyProgress=l),c==="pending"&&l!==A&&typeof e.fireProgress=="function"?e.fireProgress(r):c==="success"?(r.result=a,r.isCompleted=!0):c==="failed"&&(r.error=new Error(`Blob copy failed with reason: "${a.copyStatusDescription||"unknown"}"`),r.isCompleted=!0)}catch(a){r.error=a,r.isCompleted=!0}}else{r.isStarted=!0;let a=await n.startCopyFromURL(i,s);r.copyId=a.copyId,a.copyStatus==="success"&&(r.result=a,r.isCompleted=!0)}return Zu(r)},"update"),kke=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function Zu(t){return{state:{...t},cancel:Oke,toString:kke,update:Mke}}o(Zu,"makeBlobBeginCopyFromURLPollOperation")});var SK=g(PS=>{"use strict";Object.defineProperty(PS,"__esModule",{value:!0});PS.rangeToString=Lke;function Lke(t){if(t.offset<0)throw new RangeError("Range.offset cannot be smaller than 0.");if(t.count&&t.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 t.count?`bytes=${t.offset}-${t.offset+t.count-1}`:`bytes=${t.offset}-`}o(Lke,"rangeToString")});var RK=g(Og=>{"use strict";Object.defineProperty(Og,"__esModule",{value:!0});Og.Batch=void 0;var Uke=require("events"),ed;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(ed||(ed={}));var DS=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=ed.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new Uke.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(r){this.emitter.emit("error",r)}})}async do(){return this.operations.length===0?Promise.resolve():(this.parallelExecute(),new Promise((e,r)=>{this.emitter.on("finish",e),this.emitter.on("error",n=>{this.state=ed.Error,r(n)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==ed.Error){if(this.completed>=this.operations.length){this.emitter.emit("finish");return}for(;this.actives<this.concurrency;){let e=this.nextOperation();if(e)e();else return}}}};Og.Batch=DS});var OS=g(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});Oi.fsCreateReadStream=Oi.fsStat=void 0;Oi.streamToBuffer=Hke;Oi.streamToBuffer2=zke;Oi.streamToBuffer3=jke;Oi.readStreamToLocalFile=Gke;var _K=(Xr(),Zt(Kr)),TS=_K.__importDefault(require("node:fs")),Fke=_K.__importDefault(require("node:util")),qke=en();async function Hke(t,e,r,n,i){let s=0,a=n-r;return new Promise((c,l)=>{let A=setTimeout(()=>l(new Error("The operation cannot be completed in timeout.")),qke.REQUEST_TIMEOUT);t.on("readable",()=>{if(s>=a){clearTimeout(A),c();return}let u=t.read();if(!u)return;typeof u=="string"&&(u=Buffer.from(u,i));let d=s+u.length>a?a-s:u.length;e.fill(u.slice(0,d),r+s,r+s+d),s+=d}),t.on("end",()=>{clearTimeout(A),s<a&&l(new Error(`Stream drains before getting enough data needed. Data read: ${s}, data need: ${a}`)),c()}),t.on("error",u=>{clearTimeout(A),l(u)})})}o(Hke,"streamToBuffer");async function zke(t,e,r){let n=0,i=e.length;return new Promise((s,a)=>{t.on("readable",()=>{let c=t.read();if(c){if(typeof c=="string"&&(c=Buffer.from(c,r)),n+c.length>i){a(new Error(`Stream exceeds buffer size. Buffer size: ${i}`));return}e.fill(c,n,n+c.length),n+=c.length}}),t.on("end",()=>{s(n)}),t.on("error",a)})}o(zke,"streamToBuffer2");async function jke(t,e){return new Promise((r,n)=>{let i=[];t.on("data",s=>{i.push(typeof s=="string"?Buffer.from(s,e):s)}),t.on("end",()=>{r(Buffer.concat(i))}),t.on("error",n)})}o(jke,"streamToBuffer3");async function Gke(t,e){return new Promise((r,n)=>{let i=TS.default.createWriteStream(e);t.on("error",s=>{n(s)}),i.on("error",s=>{n(s)}),i.on("close",r),t.pipe(i)})}o(Gke,"readStreamToLocalFile");Oi.fsStat=Fke.default.promisify(TS.default.stat);Oi.fsCreateReadStream=TS.default.createReadStream});var zg=g(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.PageBlobClient=Mi.BlockBlobClient=Mi.AppendBlobClient=Mi.BlobClient=void 0;var qg=Ot(),Hg=Kc(),_n=pt(),vK=pt(),Yke=x3(),Jke=L3(),Et=ei(),et=AS(),MS=H3(),Pt=to(),Vke=xK(),nn=SK(),Wke=ng(),PK=RK(),$ke=ei(),$e=en(),se=ia(),F=Rn(),kg=OS(),Mg=ug(),Kke=hg(),Ql=class t extends Wke.StorageClient{static{o(this,"BlobClient")}blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,r,n,i){i=i||{};let s,a;if((0,Pt.isPipelineLike)(r))a=e,s=r;else if(_n.isNodeLike&&r instanceof Et.StorageSharedKeyCredential||r instanceof Et.AnonymousCredential||(0,Hg.isTokenCredential)(r))a=e,i=n,s=(0,Pt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=(0,Pt.newPipeline)(new Et.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=(0,F.extractConnectionStringParts)(e);if(A.kind==="AccountConnString")if(_n.isNodeLike){let u=new Et.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,qg.getDefaultProxySettings)(A.proxyUri)),s=(0,Pt.newPipeline)(u,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,s=(0,Pt.newPipeline)(new Et.AnonymousCredential,i);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(a,s),{blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl(),this.blobContext=this.storageClientContext.blob,this._snapshot=(0,F.getURLParameter)(this.url,$e.URLConstants.Parameters.SNAPSHOT),this._versionId=(0,F.getURLParameter)(this.url,$e.URLConstants.Parameters.VERSIONID)}withSnapshot(e){return new t((0,F.setURLParameter)(this.url,$e.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t((0,F.setURLParameter)(this.url,$e.URLConstants.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new Lg(this.url,this.pipeline)}getBlockBlobClient(){return new Ug(this.url,this.pipeline)}getPageBlobClient(){return new Fg(this.url,this.pipeline)}async download(e=0,r,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},(0,et.ensureCpkIfSpecified)(n.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlobClient-download",n,async i=>{let s=(0,F.assertResponse)(await this.blobContext.download({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onDownloadProgress:_n.isNodeLike?void 0:n.onProgress},range:e===0&&!r?void 0:(0,nn.rangeToString)({offset:e,count:r}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey,tracingOptions:i.tracingOptions})),a={...s,_response:s._response,objectReplicationDestinationPolicyId:s.objectReplicationPolicyId,objectReplicationSourceProperties:(0,F.parseObjectReplicationRecord)(s.objectReplicationRules)};if(!_n.isNodeLike)return a;if((n.maxRetryRequests===void 0||n.maxRetryRequests<0)&&(n.maxRetryRequests=$e.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS),s.contentLength===void 0)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 Yke.BlobDownloadResponse(a,async c=>{let l={leaseAccessConditions:n.conditions,modifiedAccessConditions:{ifMatch:n.conditions.ifMatch||s.etag,ifModifiedSince:n.conditions.ifModifiedSince,ifNoneMatch:n.conditions.ifNoneMatch,ifUnmodifiedSince:n.conditions.ifUnmodifiedSince,ifTags:n.conditions?.tagConditions},range:(0,nn.rangeToString)({count:e+s.contentLength-c,offset:c}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey};return(await this.blobContext.download({abortSignal:n.abortSignal,...l})).readableStreamBody},e,s.contentLength,{maxRetryRequests:n.maxRetryRequests,onProgress:n.onProgress})})}async exists(e={}){return se.tracingClient.withSpan("BlobClient-exists",e,async r=>{try{return(0,et.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:r.tracingOptions}),!0}catch(n){if(n.statusCode===404)return!1;if(n.statusCode===409&&(n.details.errorCode===$e.BlobUsesCustomerSpecifiedEncryptionMsg||n.details.errorCode===$e.BlobDoesNotUseCustomerSpecifiedEncryption))return!0;throw n}})}async getProperties(e={}){return e.conditions=e.conditions||{},(0,et.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlobClient-getProperties",e,async r=>{let n=(0,F.assertResponse)(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,objectReplicationDestinationPolicyId:n.objectReplicationPolicyId,objectReplicationSourceProperties:(0,F.parseObjectReplicationRecord)(n.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},se.tracingClient.withSpan("BlobClient-delete",e,async r=>(0,F.assertResponse)(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async deleteIfExists(e={}){return se.tracingClient.withSpan("BlobClient-deleteIfExists",e,async r=>{try{let n=(0,F.assertResponse)(await this.delete(r));return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="BlobNotFound")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async undelete(e={}){return se.tracingClient.withSpan("BlobClient-undelete",e,async r=>(0,F.assertResponse)(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},(0,et.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlobClient-setHTTPHeaders",r,async n=>(0,F.assertResponse)(await this.blobContext.setHttpHeaders({abortSignal:r.abortSignal,blobHttpHeaders:e,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}async setMetadata(e,r={}){return r.conditions=r.conditions||{},(0,et.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlobClient-setMetadata",r,async n=>(0,F.assertResponse)(await this.blobContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async setTags(e,r={}){return se.tracingClient.withSpan("BlobClient-setTags",r,async n=>(0,F.assertResponse)(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},blobModifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions,tags:(0,F.toBlobTags)(e)})))}async getTags(e={}){return se.tracingClient.withSpan("BlobClient-getTags",e,async r=>{let n=(0,F.assertResponse)(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,tags:(0,F.toTags)({blobTagSet:n.blobTagSet})||{}}})}getBlobLeaseClient(e){return new Kke.BlobLeaseClient(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},(0,et.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlobClient-createSnapshot",e,async r=>(0,F.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:r.tracingOptions})))}async beginCopyFromURL(e,r={}){let n={abortCopyFromURL:(...s)=>this.abortCopyFromURL(...s),getProperties:(...s)=>this.getProperties(...s),startCopyFromURL:(...s)=>this.startCopyFromURL(...s)},i=new Vke.BlobBeginCopyFromUrlPoller({blobClient:n,copySource:e,intervalInMs:r.intervalInMs,onProgress:r.onProgress,resumeFrom:r.resumeFrom,startCopyFromURLOptions:r});return await i.poll(),i}async abortCopyFromURL(e,r={}){return se.tracingClient.withSpan("BlobClient-abortCopyFromURL",r,async n=>(0,F.assertResponse)(await this.blobContext.abortCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,tracingOptions:n.tracingOptions})))}async syncCopyFromURL(e,r={}){return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},se.tracingClient.withSpan("BlobClient-syncCopyFromURL",r,async n=>(0,F.assertResponse)(await this.blobContext.copyFromURL(e,{abortSignal:r.abortSignal,metadata:r.metadata,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions?.ifMatch,sourceIfModifiedSince:r.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:r.sourceContentMD5,copySourceAuthorization:(0,F.httpAuthorizationToString)(r.sourceAuthorization),tier:(0,et.toAccessTier)(r.tier),blobTagsString:(0,F.toBlobTagsString)(r.tags),immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,encryptionScope:r.encryptionScope,copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async setAccessTier(e,r={}){return se.tracingClient.withSpan("BlobClient-setAccessTier",r,async n=>(0,F.assertResponse)(await this.blobContext.setTier((0,et.toAccessTier)(e),{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},rehydratePriority:r.rehydratePriority,tracingOptions:n.tracingOptions})))}async downloadToBuffer(e,r,n,i={}){let s,a=0,c=0,l=i;e instanceof Buffer?(s=e,a=r||0,c=typeof n=="number"?n:0):(a=typeof e=="number"?e:0,c=typeof r=="number"?r:0,l=n||{});let A=l.blockSize??0;if(A<0)throw new RangeError("blockSize option must be >= 0");if(A===0&&(A=$e.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES),a<0)throw new RangeError("offset option must be >= 0");if(c&&c<=0)throw new RangeError("count option must be greater than 0");return l.conditions||(l.conditions={}),se.tracingClient.withSpan("BlobClient-downloadToBuffer",l,async u=>{if(!c){let m=await this.getProperties({...l,tracingOptions:u.tracingOptions});if(c=m.contentLength-a,c<0)throw new RangeError(`offset ${a} shouldn't be larger than blob size ${m.contentLength}`)}if(!s)try{s=Buffer.alloc(c)}catch(m){throw new Error(`Unable to allocate the buffer of size: ${c}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${m.message}`)}if(s.length<c)throw new RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${c}`);let d=0,f=new PK.Batch(l.concurrency);for(let m=a;m<a+c;m=m+A)f.addOperation(async()=>{let C=a+c;m+A<C&&(C=m+A);let S=(await this.download(m,C-m,{abortSignal:l.abortSignal,conditions:l.conditions,maxRetryRequests:l.maxRetryRequestsPerBlock,customerProvidedKey:l.customerProvidedKey,tracingOptions:u.tracingOptions})).readableStreamBody;await(0,kg.streamToBuffer)(S,s,m-a,C-a),d+=C-m,l.onProgress&&l.onProgress({loadedBytes:d})});return await f.do(),s})}async downloadToFile(e,r=0,n,i={}){return se.tracingClient.withSpan("BlobClient-downloadToFile",i,async s=>{let a=await this.download(r,n,{...i,tracingOptions:s.tracingOptions});return a.readableStreamBody&&await(0,kg.readStreamToLocalFile)(a.readableStreamBody,e),a.blobDownloadStream=void 0,a})}getBlobAndContainerNamesFromUrl(){let e,r;try{let n=new URL(this.url);if(n.host.split(".")[1]==="blob"){let i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1],r=i[3]}else if((0,F.isIpEndpointStyle)(n)){let i=n.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2],r=i[4]}else{let i=n.pathname.match("/([^/]*)(/(.*))?");e=i[1],r=i[3]}if(e=decodeURIComponent(e),r=decodeURIComponent(r),r=r.replace(/\\/g,"/"),!e)throw new Error("Provided containerName is invalid.");return{blobName:r,containerName:e}}catch{throw new Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,r={}){return se.tracingClient.withSpan("BlobClient-startCopyFromURL",r,async n=>(r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},(0,F.assertResponse)(await this.blobContext.startCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions.ifMatch,sourceIfModifiedSince:r.sourceConditions.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions.ifUnmodifiedSince,sourceIfTags:r.sourceConditions.tagConditions},immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,rehydratePriority:r.rehydratePriority,tier:(0,et.toAccessTier)(r.tier),blobTagsString:(0,F.toBlobTagsString)(r.tags),sealBlob:r.sealBlob,tracingOptions:n.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof Et.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=(0,Mg.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r((0,F.appendToURLQuery)(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof Et.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return(0,Mg.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let i=(0,Mg.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();n((0,F.appendToURLQuery)(this.url,i))})}generateUserDelegationSasStringToSign(e,r){return(0,Mg.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return se.tracingClient.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>(0,F.assertResponse)(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return se.tracingClient.withSpan("BlobClient-setImmutabilityPolicy",r,async n=>(0,F.assertResponse)(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:n.tracingOptions})))}async setLegalHold(e,r={}){return se.tracingClient.withSpan("BlobClient-setLegalHold",r,async n=>(0,F.assertResponse)(await this.blobContext.setLegalHold(e,{tracingOptions:n.tracingOptions})))}async getAccountInfo(e={}){return se.tracingClient.withSpan("BlobClient-getAccountInfo",e,async r=>(0,F.assertResponse)(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}};Mi.BlobClient=Ql;var Lg=class t extends Ql{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},(0,Pt.isPipelineLike)(r))a=e,s=r;else if(_n.isNodeLike&&r instanceof Et.StorageSharedKeyCredential||r instanceof Et.AnonymousCredential||(0,Hg.isTokenCredential)(r))a=e,i=n,s=(0,Pt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,s=(0,Pt.newPipeline)(new Et.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=(0,F.extractConnectionStringParts)(e);if(A.kind==="AccountConnString")if(_n.isNodeLike){let u=new Et.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,qg.getDefaultProxySettings)(A.proxyUri)),s=(0,Pt.newPipeline)(u,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,s=(0,Pt.newPipeline)(new Et.AnonymousCredential,i);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(a,s),this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new t((0,F.setURLParameter)(this.url,$e.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},(0,et.ensureCpkIfSpecified)(e.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("AppendBlobClient-create",e,async r=>(0,F.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:(0,F.toBlobTagsString)(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:$e.ETagAny};return se.tracingClient.withSpan("AppendBlobClient-createIfNotExists",e,async n=>{try{let i=(0,F.assertResponse)(await this.create({...n,conditions:r}));return{succeeded:!0,...i,_response:i._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...i.response?.parsedHeaders,_response:i.response};throw i}})}async seal(e={}){return e.conditions=e.conditions||{},se.tracingClient.withSpan("AppendBlobClient-seal",e,async r=>(0,F.assertResponse)(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async appendBlock(e,r,n={}){return n.conditions=n.conditions||{},(0,et.ensureCpkIfSpecified)(n.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("AppendBlobClient-appendBlock",n,async i=>(0,F.assertResponse)(await this.appendBlobContext.appendBlock(r,e,{abortSignal:n.abortSignal,appendPositionAccessConditions:n.conditions,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async appendBlockFromURL(e,r,n,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},(0,et.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("AppendBlobClient-appendBlockFromURL",i,async s=>(0,F.assertResponse)(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:(0,nn.rangeToString)({offset:r,count:n}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:(0,F.httpAuthorizationToString)(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}};Mi.AppendBlobClient=Lg;var Ug=class t extends Ql{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},(0,Pt.isPipelineLike)(r))a=e,s=r;else if(_n.isNodeLike&&r instanceof Et.StorageSharedKeyCredential||r instanceof Et.AnonymousCredential||(0,Hg.isTokenCredential)(r))a=e,i=n,s=(0,Pt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(i=n),s=(0,Pt.newPipeline)(new Et.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=(0,F.extractConnectionStringParts)(e);if(A.kind==="AccountConnString")if(_n.isNodeLike){let u=new Et.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,qg.getDefaultProxySettings)(A.proxyUri)),s=(0,Pt.newPipeline)(u,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,s=(0,Pt.newPipeline)(new Et.AnonymousCredential,i);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(a,s),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new t((0,F.setURLParameter)(this.url,$e.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if((0,et.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),!_n.isNodeLike)throw new Error("This operation currently is only supported in Node.js.");return se.tracingClient.withSpan("BlockBlobClient-query",r,async n=>{let i=(0,F.assertResponse)(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:(0,F.toQuerySerialization)(r.inputTextConfiguration),outputSerialization:(0,F.toQuerySerialization)(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions}));return new Jke.BlobQueryResponse(i,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,n={}){return n.conditions=n.conditions||{},(0,et.ensureCpkIfSpecified)(n.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlockBlobClient-upload",n,async i=>(0,F.assertResponse)(await this.blockBlobContext.upload(r,e,{abortSignal:n.abortSignal,blobHttpHeaders:n.blobHTTPHeaders,leaseAccessConditions:n.conditions,metadata:n.metadata,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,immutabilityPolicyExpiry:n.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:n.immutabilityPolicy?.policyMode,legalHold:n.legalHold,tier:(0,et.toAccessTier)(n.tier),blobTagsString:(0,F.toBlobTagsString)(n.tags),tracingOptions:i.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},(0,et.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlockBlobClient-syncUploadFromURL",r,async n=>(0,F.assertResponse)(await this.blockBlobContext.putBlobFromUrl(0,e,{...r,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions?.ifMatch,sourceIfModifiedSince:r.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions?.ifUnmodifiedSince,sourceIfTags:r.sourceConditions?.tagConditions},cpkInfo:r.customerProvidedKey,copySourceAuthorization:(0,F.httpAuthorizationToString)(r.sourceAuthorization),tier:(0,et.toAccessTier)(r.tier),blobTagsString:(0,F.toBlobTagsString)(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async stageBlock(e,r,n,i={}){return(0,et.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlockBlobClient-stageBlock",i,async s=>(0,F.assertResponse)(await this.blockBlobContext.stageBlock(e,n,r,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions})))}async stageBlockFromURL(e,r,n=0,i,s={}){return(0,et.ensureCpkIfSpecified)(s.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlockBlobClient-stageBlockFromURL",s,async a=>(0,F.assertResponse)(await this.blockBlobContext.stageBlockFromURL(e,0,r,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,sourceRange:n===0&&!i?void 0:(0,nn.rangeToString)({offset:n,count:i}),cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:(0,F.httpAuthorizationToString)(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},(0,et.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("BlockBlobClient-commitBlockList",r,async n=>(0,F.assertResponse)(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:(0,et.toAccessTier)(r.tier),blobTagsString:(0,F.toBlobTagsString)(r.tags),tracingOptions:n.tracingOptions})))}async getBlockList(e,r={}){return se.tracingClient.withSpan("BlockBlobClient-getBlockList",r,async n=>{let i=(0,F.assertResponse)(await this.blockBlobContext.getBlockList(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return i.committedBlocks||(i.committedBlocks=[]),i.uncommittedBlocks||(i.uncommittedBlocks=[]),i})}async uploadData(e,r={}){return se.tracingClient.withSpan("BlockBlobClient-uploadData",r,async n=>{if(_n.isNodeLike){let i;return e instanceof Buffer?i=e:e instanceof ArrayBuffer?i=Buffer.from(e):(e=e,i=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.byteLength,n)}else{let i=new Blob([e]);return this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.size,n)}})}async uploadBrowserData(e,r={}){return se.tracingClient.withSpan("BlockBlobClient-uploadBrowserData",r,async n=>{let i=new Blob([e]);return this.uploadSeekableInternal((s,a)=>i.slice(s,s+a),i.size,n)})}async uploadSeekableInternal(e,r,n={}){let i=n.blockSize??0;if(i<0||i>$e.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES)throw new RangeError(`blockSize option must be >= 0 and <= ${$e.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES}`);let s=n.maxSingleShotSize??$e.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES;if(s<0||s>$e.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES)throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${$e.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}`);if(i===0){if(r>$e.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES*$e.BLOCK_BLOB_MAX_BLOCKS)throw new RangeError(`${r} is too larger to upload to a block blob.`);r>s&&(i=Math.ceil(r/$e.BLOCK_BLOB_MAX_BLOCKS),i<$e.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES&&(i=$e.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES))}return n.blobHTTPHeaders||(n.blobHTTPHeaders={}),n.conditions||(n.conditions={}),se.tracingClient.withSpan("BlockBlobClient-uploadSeekableInternal",n,async a=>{if(r<=s)return(0,F.assertResponse)(await this.upload(e(0,r),r,a));let c=Math.floor((r-1)/i)+1;if(c>$e.BLOCK_BLOB_MAX_BLOCKS)throw new RangeError(`The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= ${$e.BLOCK_BLOB_MAX_BLOCKS}`);let l=[],A=(0,vK.randomUUID)(),u=0,d=new PK.Batch(n.concurrency);for(let f=0;f<c;f++)d.addOperation(async()=>{let m=(0,F.generateBlockID)(A,f),C=i*f,S=(f===c-1?r:C+i)-C;l.push(m),await this.stageBlock(m,e(C,S),S,{abortSignal:n.abortSignal,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:a.tracingOptions}),u+=S,n.onProgress&&n.onProgress({loadedBytes:u})});return await d.do(),this.commitBlockList(l,a)})}async uploadFile(e,r={}){return se.tracingClient.withSpan("BlockBlobClient-uploadFile",r,async n=>{let i=(await(0,kg.fsStat)(e)).size;return this.uploadSeekableInternal((s,a)=>()=>(0,kg.fsCreateReadStream)(e,{autoClose:!0,end:a?s+a-1:1/0,start:s}),i,{...r,tracingOptions:n.tracingOptions})})}async uploadStream(e,r=$e.DEFAULT_BLOCK_BUFFER_SIZE_BYTES,n=5,i={}){return i.blobHTTPHeaders||(i.blobHTTPHeaders={}),i.conditions||(i.conditions={}),se.tracingClient.withSpan("BlockBlobClient-uploadStream",i,async s=>{let a=0,c=(0,vK.randomUUID)(),l=0,A=[];return await new $ke.BufferScheduler(e,r,n,async(d,f)=>{let m=(0,F.generateBlockID)(c,a);A.push(m),a++,await this.stageBlock(m,d,f,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions}),l+=f,i.onProgress&&i.onProgress({loadedBytes:l})},Math.ceil(n/4*3)).do(),(0,F.assertResponse)(await this.commitBlockList(A,{...i,tracingOptions:s.tracingOptions}))})}};Mi.BlockBlobClient=Ug;var Fg=class t extends Ql{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,n,i){let s,a;if(i=i||{},(0,Pt.isPipelineLike)(r))a=e,s=r;else if(_n.isNodeLike&&r instanceof Et.StorageSharedKeyCredential||r instanceof Et.AnonymousCredential||(0,Hg.isTokenCredential)(r))a=e,i=n,s=(0,Pt.newPipeline)(r,i);else if(!r&&typeof r!="string")a=e,s=(0,Pt.newPipeline)(new Et.AnonymousCredential,i);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=(0,F.extractConnectionStringParts)(e);if(A.kind==="AccountConnString")if(_n.isNodeLike){let u=new Et.StorageSharedKeyCredential(A.accountName,A.accountKey);a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l)),i.proxyOptions||(i.proxyOptions=(0,qg.getDefaultProxySettings)(A.proxyUri)),s=(0,Pt.newPipeline)(u,i)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=(0,F.appendToURLPath)((0,F.appendToURLPath)(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,s=(0,Pt.newPipeline)(new Et.AnonymousCredential,i);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(a,s),this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new t((0,F.setURLParameter)(this.url,$e.URLConstants.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},(0,et.ensureCpkIfSpecified)(r.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("PageBlobClient-create",r,async n=>(0,F.assertResponse)(await this.pageBlobContext.create(0,e,{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,blobSequenceNumber:r.blobSequenceNumber,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:(0,et.toAccessTier)(r.tier),blobTagsString:(0,F.toBlobTagsString)(r.tags),tracingOptions:n.tracingOptions})))}async createIfNotExists(e,r={}){return se.tracingClient.withSpan("PageBlobClient-createIfNotExists",r,async n=>{try{let i={ifNoneMatch:$e.ETagAny},s=(0,F.assertResponse)(await this.create(e,{...r,conditions:i,tracingOptions:n.tracingOptions}));return{succeeded:!0,...s,_response:s._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...i.response?.parsedHeaders,_response:i.response};throw i}})}async uploadPages(e,r,n,i={}){return i.conditions=i.conditions||{},(0,et.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("PageBlobClient-uploadPages",i,async s=>(0,F.assertResponse)(await this.pageBlobContext.uploadPages(n,e,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},requestOptions:{onUploadProgress:i.onProgress},range:(0,nn.rangeToString)({offset:r,count:n}),sequenceNumberAccessConditions:i.conditions,transactionalContentMD5:i.transactionalContentMD5,transactionalContentCrc64:i.transactionalContentCrc64,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions})))}async uploadPagesFromURL(e,r,n,i,s={}){return s.conditions=s.conditions||{},s.sourceConditions=s.sourceConditions||{},(0,et.ensureCpkIfSpecified)(s.customerProvidedKey,this.isHttps),se.tracingClient.withSpan("PageBlobClient-uploadPagesFromURL",s,async a=>(0,F.assertResponse)(await this.pageBlobContext.uploadPagesFromURL(e,(0,nn.rangeToString)({offset:r,count:i}),0,(0,nn.rangeToString)({offset:n,count:i}),{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:(0,F.httpAuthorizationToString)(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async clearPages(e=0,r,n={}){return n.conditions=n.conditions||{},se.tracingClient.withSpan("PageBlobClient-clearPages",n,async i=>(0,F.assertResponse)(await this.pageBlobContext.clearPages(0,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:(0,nn.rangeToString)({offset:e,count:r}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async getPageRanges(e=0,r,n={}){return n.conditions=n.conditions||{},se.tracingClient.withSpan("PageBlobClient-getPageRanges",n,async i=>{let s=(0,F.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:(0,nn.rangeToString)({offset:e,count:r}),tracingOptions:i.tracingOptions}));return(0,MS.rangeResponseFromModel)(s)})}async listPageRangesSegment(e=0,r,n,i={}){return se.tracingClient.withSpan("PageBlobClient-getPageRangesSegment",i,async s=>(0,F.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},range:(0,nn.rangeToString)({offset:e,count:r}),marker:n,maxPageSize:i.maxPageSize,tracingOptions:s.tracingOptions})))}async*listPageRangeItemSegments(e=0,r,n,i={}){let s;if(n||n===void 0)do s=await this.listPageRangesSegment(e,r,n,i),n=s.continuationToken,yield await s;while(n)}async*listPageRangeItems(e=0,r,n={}){let i;for await(let s of this.listPageRangeItemSegments(e,r,i,n))yield*(0,F.ExtractPageRangeInfoItems)(s)}listPageRanges(e=0,r,n={}){n.conditions=n.conditions||{};let i=this.listPageRangeItems(e,r,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listPageRangeItemSegments(e,r,s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async getPageRangesDiff(e,r,n,i={}){return i.conditions=i.conditions||{},se.tracingClient.withSpan("PageBlobClient-getPageRangesDiff",i,async s=>{let a=(0,F.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevsnapshot:n,range:(0,nn.rangeToString)({offset:e,count:r}),tracingOptions:s.tracingOptions}));return(0,MS.rangeResponseFromModel)(a)})}async listPageRangesDiffSegment(e,r,n,i,s={}){return se.tracingClient.withSpan("PageBlobClient-getPageRangesDiffSegment",s,async a=>(0,F.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:s?.abortSignal,leaseAccessConditions:s?.conditions,modifiedAccessConditions:{...s?.conditions,ifTags:s?.conditions?.tagConditions},prevsnapshot:n,range:(0,nn.rangeToString)({offset:e,count:r}),marker:i,maxPageSize:s?.maxPageSize,tracingOptions:a.tracingOptions})))}async*listPageRangeDiffItemSegments(e,r,n,i,s){let a;if(i||i===void 0)do a=await this.listPageRangesDiffSegment(e,r,n,i,s),i=a.continuationToken,yield await a;while(i)}async*listPageRangeDiffItems(e,r,n,i){let s;for await(let a of this.listPageRangeDiffItemSegments(e,r,n,s,i))yield*(0,F.ExtractPageRangeInfoItems)(a)}listPageRangesDiff(e,r,n,i={}){i.conditions=i.conditions||{};let s=this.listPageRangeDiffItems(e,r,n,{...i});return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(a={})=>this.listPageRangeDiffItemSegments(e,r,n,a.continuationToken,{maxPageSize:a.maxPageSize,...i})}}async getPageRangesDiffForManagedDisks(e,r,n,i={}){return i.conditions=i.conditions||{},se.tracingClient.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,async s=>{let a=(0,F.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevSnapshotUrl:n,range:(0,nn.rangeToString)({offset:e,count:r}),tracingOptions:s.tracingOptions}));return(0,MS.rangeResponseFromModel)(a)})}async resize(e,r={}){return r.conditions=r.conditions||{},se.tracingClient.withSpan("PageBlobClient-resize",r,async n=>(0,F.assertResponse)(await this.pageBlobContext.resize(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async updateSequenceNumber(e,r,n={}){return n.conditions=n.conditions||{},se.tracingClient.withSpan("PageBlobClient-updateSequenceNumber",n,async i=>(0,F.assertResponse)(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:n.abortSignal,blobSequenceNumber:r,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},tracingOptions:i.tracingOptions})))}async startCopyIncremental(e,r={}){return se.tracingClient.withSpan("PageBlobClient-startCopyIncremental",r,async n=>(0,F.assertResponse)(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}};Mi.PageBlobClient=Fg});var kS=g(jg=>{"use strict";Object.defineProperty(jg,"__esModule",{value:!0});jg.getBodyAsText=eLe;jg.utf8ByteLength=tLe;var Xke=OS(),Zke=en();async function eLe(t){let e=Buffer.alloc(Zke.BATCH_MAX_PAYLOAD_IN_BYTES),r=await(0,Xke.streamToBuffer2)(t.readableStreamBody,e);return e=e.slice(0,r),e.toString()}o(eLe,"getBodyAsText");function tLe(t){return Buffer.byteLength(t)}o(tLe,"utf8ByteLength")});var OK=g(Yg=>{"use strict";Object.defineProperty(Yg,"__esModule",{value:!0});Yg.BatchResponseParser=void 0;var rLe=Ot(),nLe=gm(),wl=en(),iLe=kS(),sLe=Em(),Gg=": ",DK=" ",TK=-1,LS=class{static{o(this,"BatchResponseParser")}batchResponse;responseBatchBoundary;perResponsePrefix;batchResponseEnding;subRequests;constructor(e,r){if(!e||!e.contentType)throw new RangeError("batchResponse is malformed or doesn't contain valid content-type.");if(!r||r.size===0)throw new RangeError("Invalid state: subRequests is not provided or size is 0.");this.batchResponse=e,this.subRequests=r,this.responseBatchBoundary=this.batchResponse.contentType.split("=")[1],this.perResponsePrefix=`--${this.responseBatchBoundary}${wl.HTTP_LINE_ENDING}`,this.batchResponseEnding=`--${this.responseBatchBoundary}--`}async parseBatchResponse(){if(this.batchResponse._response.status!==wl.HTTPURLConnection.HTTP_ACCEPTED)throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`);let r=(await(0,iLe.getBodyAsText)(this.batchResponse)).split(this.batchResponseEnding)[0].split(this.perResponsePrefix).slice(1),n=r.length;if(n!==this.subRequests.size&&n!==1)throw new Error("Invalid state: sub responses' count is not equal to sub requests' count.");let i=new Array(n),s=0,a=0;for(let c=0;c<n;c++){let l=r[c],A={};A.headers=(0,nLe.toHttpHeadersLike)((0,rLe.createHttpHeaders)());let u=l.split(`${wl.HTTP_LINE_ENDING}`),d=!1,f=!1,m=!1,C=TK;for(let Q of u){if(!d){if(Q.startsWith(wl.HeaderConstants.CONTENT_ID)&&(C=parseInt(Q.split(Gg)[1])),Q.startsWith(wl.HTTP_VERSION_1_1)){d=!0;let S=Q.split(DK);A.status=parseInt(S[1]),A.statusMessage=S.slice(2).join(DK)}continue}if(Q.trim()===""){f||(f=!0);continue}if(f)A.bodyAsText||(A.bodyAsText=""),A.bodyAsText+=Q;else{if(Q.indexOf(Gg)===-1)throw new Error(`Invalid state: find non-empty line '${Q}' without HTTP header delimiter '${Gg}'.`);let S=Q.split(Gg);A.headers.set(S[0],S[1]),S[0]===wl.HeaderConstants.X_MS_ERROR_CODE&&(A.errorCode=S[1],m=!0)}}C!==TK&&Number.isInteger(C)&&C>=0&&C<this.subRequests.size&&i[C]===void 0?(A._request=this.subRequests.get(C),i[C]=A):sLe.logger.error(`subResponses[${c}] is dropped as the Content-ID is not found or invalid, Content-ID: ${C}`),m?a++:s++}return{subResponses:i,subResponsesSucceededCount:s,subResponsesFailedCount:a}}};Yg.BatchResponseParser=LS});var MK=g(Jg=>{"use strict";Object.defineProperty(Jg,"__esModule",{value:!0});Jg.Mutex=void 0;var Nl;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(Nl||(Nl={}));var US=class{static{o(this,"Mutex")}static async lock(e){return new Promise(r=>{this.keys[e]===void 0||this.keys[e]===Nl.UNLOCKED?(this.keys[e]=Nl.LOCKED,r()):this.onUnlockEvent(e,()=>{this.keys[e]=Nl.LOCKED,r()})})}static async unlock(e){return new Promise(r=>{this.keys[e]===Nl.LOCKED&&this.emitUnlockEvent(e),delete this.keys[e],r()})}static keys={};static listeners={};static onUnlockEvent(e,r){this.listeners[e]===void 0?this.listeners[e]=[r]:this.listeners[e].push(r)}static emitUnlockEvent(e){if(this.listeners[e]!==void 0&&this.listeners[e].length>0){let r=this.listeners[e].shift();setImmediate(()=>{r.call(this)})}}};Jg.Mutex=US});var GS=g(Wg=>{"use strict";Object.defineProperty(Wg,"__esModule",{value:!0});Wg.BlobBatch=void 0;var oLe=pt(),FS=Kc(),qS=Ot(),kK=pt(),xl=ei(),Vg=zg(),LK=MK(),aLe=to(),HS=Rn(),cLe=F0(),mr=en(),UK=ia(),FK=xi(),zS=class{static{o(this,"BlobBatch")}batchRequest;batch="batch";batchType;constructor(){this.batchRequest=new jS}getMultiPartContentType(){return this.batchRequest.getMultipartContentType()}getHttpRequestBody(){return this.batchRequest.getHttpRequestBody()}getSubRequests(){return this.batchRequest.getSubRequests()}async addSubRequestInternal(e,r){await LK.Mutex.lock(this.batch);try{this.batchRequest.preAddSubRequest(e),await r(),this.batchRequest.postAddSubRequest(e)}finally{await LK.Mutex.unlock(this.batch)}}setBatchType(e){if(this.batchType||(this.batchType=e),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,r,n){let i,s;if(typeof e=="string"&&(kK.isNodeLike&&r instanceof xl.StorageSharedKeyCredential||r instanceof xl.AnonymousCredential||(0,FS.isTokenCredential)(r)))i=e,s=r;else if(e instanceof Vg.BlobClient)i=e.url,s=e.credential,n=r;else throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.");return n||(n={}),UK.tracingClient.withSpan("BatchDeleteRequest-addSubRequest",n,async a=>{this.setBatchType("delete"),await this.addSubRequestInternal({url:i,credential:s},async()=>{await new Vg.BlobClient(i,this.batchRequest.createPipeline(s)).delete(a)})})}async setBlobAccessTier(e,r,n,i){let s,a,c;if(typeof e=="string"&&(kK.isNodeLike&&r instanceof xl.StorageSharedKeyCredential||r instanceof xl.AnonymousCredential||(0,FS.isTokenCredential)(r)))s=e,a=r,c=n;else if(e instanceof Vg.BlobClient)s=e.url,a=e.credential,c=r,i=n;else throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.");return i||(i={}),UK.tracingClient.withSpan("BatchSetTierRequest-addSubRequest",i,async l=>{this.setBatchType("setAccessTier"),await this.addSubRequestInternal({url:s,credential:a},async()=>{await new Vg.BlobClient(s,this.batchRequest.createPipeline(a)).setAccessTier(c,l)})})}};Wg.BlobBatch=zS;var jS=class{static{o(this,"InnerBatchRequest")}operationCount;body;subRequests;boundary;subRequestPrefix;multipartContentType;batchRequestEnding;constructor(){this.operationCount=0,this.body="";let e=(0,oLe.randomUUID)();this.boundary=`batch_${e}`,this.subRequestPrefix=`--${this.boundary}${mr.HTTP_LINE_ENDING}${mr.HeaderConstants.CONTENT_TYPE}: application/http${mr.HTTP_LINE_ENDING}${mr.HeaderConstants.CONTENT_TRANSFER_ENCODING}: binary`,this.multipartContentType=`multipart/mixed; boundary=${this.boundary}`,this.batchRequestEnding=`--${this.boundary}--`,this.subRequests=new Map}createPipeline(e){let r=(0,qS.createEmptyPipeline)();r.addPolicy((0,FK.serializationPolicy)({stringifyXML:cLe.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}}),{phase:"Serialize"}),r.addPolicy(ALe()),r.addPolicy(lLe(this),{afterPhase:"Sign"}),(0,FS.isTokenCredential)(e)?r.addPolicy((0,qS.bearerTokenAuthenticationPolicy)({credential:e,scopes:mr.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:FK.authorizeRequestOnTenantChallenge}}),{phase:"Sign"}):e instanceof xl.StorageSharedKeyCredential&&r.addPolicy((0,xl.storageSharedKeyCredentialPolicy)({accountName:e.accountName,accountKey:e.accountKey}),{phase:"Sign"});let n=new aLe.Pipeline([]);return n._credential=e,n._corePipeline=r,n}appendSubRequestToBody(e){this.body+=[this.subRequestPrefix,`${mr.HeaderConstants.CONTENT_ID}: ${this.operationCount}`,"",`${e.method.toString()} ${(0,HS.getURLPathAndQuery)(e.url)} ${mr.HTTP_VERSION_1_1}${mr.HTTP_LINE_ENDING}`].join(mr.HTTP_LINE_ENDING);for(let[r,n]of e.headers)this.body+=`${r}: ${n}${mr.HTTP_LINE_ENDING}`;this.body+=mr.HTTP_LINE_ENDING}preAddSubRequest(e){if(this.operationCount>=mr.BATCH_MAX_REQUEST)throw new RangeError(`Cannot exceed ${mr.BATCH_MAX_REQUEST} sub requests in a single batch`);let r=(0,HS.getURLPath)(e.url);if(!r||r==="")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}${mr.HTTP_LINE_ENDING}`}getMultipartContentType(){return this.multipartContentType}getSubRequests(){return this.subRequests}};function lLe(t){return{name:"batchRequestAssemblePolicy",async sendRequest(e){return t.appendSubRequestToBody(e),{request:e,status:200,headers:(0,qS.createHttpHeaders)()}}}}o(lLe,"batchRequestAssemblePolicy");function ALe(){return{name:"batchHeaderFilterPolicy",async sendRequest(t,e){let r="";for(let[n]of t.headers)(0,HS.iEqual)(n,mr.HeaderConstants.X_MS_VERSION)&&(r=n);return r!==""&&t.headers.delete(r),e(t)}}}o(ALe,"batchHeaderFilterPolicy")});var Xg=g(Kg=>{"use strict";Object.defineProperty(Kg,"__esModule",{value:!0});Kg.BlobBatchClient=void 0;var uLe=OK(),dLe=kS(),YS=GS(),pLe=ia(),hLe=ei(),fLe=Ux(),$g=to(),qK=Rn(),JS=class{static{o(this,"BlobBatchClient")}serviceOrContainerContext;constructor(e,r,n){let i;(0,$g.isPipelineLike)(r)?i=r:r?i=(0,$g.newPipeline)(r,n):i=(0,$g.newPipeline)(new hLe.AnonymousCredential,n);let s=new fLe.StorageContextClient(e,(0,$g.getCoreClientOptions)(i)),a=(0,qK.getURLPath)(e);a&&a!=="/"?this.serviceOrContainerContext=s.container:this.serviceOrContainerContext=s.service}createBatch(){return new YS.BlobBatch}async deleteBlobs(e,r,n){let i=new YS.BlobBatch;for(let s of e)typeof s=="string"?await i.deleteBlob(s,r,n):await i.deleteBlob(s,r);return this.submitBatch(i)}async setBlobsAccessTier(e,r,n,i){let s=new YS.BlobBatch;for(let a of e)typeof a=="string"?await s.setBlobAccessTier(a,r,n,i):await s.setBlobAccessTier(a,r,n);return this.submitBatch(s)}async submitBatch(e,r={}){if(!e||e.getSubRequests().size===0)throw new RangeError("Batch request should contain one or more sub requests.");return pLe.tracingClient.withSpan("BlobBatchClient-submitBatch",r,async n=>{let i=e.getHttpRequestBody(),s=(0,qK.assertResponse)(await this.serviceOrContainerContext.submitBatch((0,dLe.utf8ByteLength)(i),e.getMultiPartContentType(),i,{...n})),c=await new uLe.BatchResponseParser(s,e.getSubRequests()).parseBatchResponse();return{_response:s._response,contentType:s.contentType,errorCode:s.errorCode,requestId:s.requestId,clientRequestId:s.clientRequestId,version:s.version,subResponses:c.subResponses,subResponsesSucceededCount:c.subResponsesSucceededCount,subResponsesFailedCount:c.subResponsesFailedCount}})}};Kg.BlobBatchClient=JS});var WS=g(ty=>{"use strict";Object.defineProperty(ty,"__esModule",{value:!0});ty.ContainerClient=void 0;var mLe=Ot(),HK=pt(),gLe=Kc(),ha=ei(),td=to(),yLe=ng(),gr=ia(),xe=Rn(),Zg=ug(),CLe=hg(),ey=zg(),ELe=Xg(),VS=class extends yLe.StorageClient{static{o(this,"ContainerClient")}containerContext;_containerName;get containerName(){return this._containerName}constructor(e,r,n){let i,s;if(n=n||{},(0,td.isPipelineLike)(r))s=e,i=r;else if(HK.isNodeLike&&r instanceof ha.StorageSharedKeyCredential||r instanceof ha.AnonymousCredential||(0,gLe.isTokenCredential)(r))s=e,i=(0,td.newPipeline)(r,n);else if(!r&&typeof r!="string")s=e,i=(0,td.newPipeline)(new ha.AnonymousCredential,n);else if(r&&typeof r=="string"){let a=r,c=(0,xe.extractConnectionStringParts)(e);if(c.kind==="AccountConnString")if(HK.isNodeLike){let l=new ha.StorageSharedKeyCredential(c.accountName,c.accountKey);s=(0,xe.appendToURLPath)(c.url,encodeURIComponent(a)),n.proxyOptions||(n.proxyOptions=(0,mLe.getDefaultProxySettings)(c.proxyUri)),i=(0,td.newPipeline)(l,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(c.kind==="SASConnString")s=(0,xe.appendToURLPath)(c.url,encodeURIComponent(a))+"?"+c.accountSas,i=(0,td.newPipeline)(new ha.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 parameter");super(s,i),this._containerName=this.getContainerNameFromUrl(),this.containerContext=this.storageClientContext.container}async create(e={}){return gr.tracingClient.withSpan("ContainerClient-create",e,async r=>(0,xe.assertResponse)(await this.containerContext.create(r)))}async createIfNotExists(e={}){return gr.tracingClient.withSpan("ContainerClient-createIfNotExists",e,async r=>{try{let n=await this.create(r);return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="ContainerAlreadyExists")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async exists(e={}){return gr.tracingClient.withSpan("ContainerClient-exists",e,async r=>{try{return await this.getProperties({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions}),!0}catch(n){if(n.statusCode===404)return!1;throw n}})}getBlobClient(e){return new ey.BlobClient((0,xe.appendToURLPath)(this.url,(0,xe.EscapePath)(e)),this.pipeline)}getAppendBlobClient(e){return new ey.AppendBlobClient((0,xe.appendToURLPath)(this.url,(0,xe.EscapePath)(e)),this.pipeline)}getBlockBlobClient(e){return new ey.BlockBlobClient((0,xe.appendToURLPath)(this.url,(0,xe.EscapePath)(e)),this.pipeline)}getPageBlobClient(e){return new ey.PageBlobClient((0,xe.appendToURLPath)(this.url,(0,xe.EscapePath)(e)),this.pipeline)}async getProperties(e={}){return e.conditions||(e.conditions={}),gr.tracingClient.withSpan("ContainerClient-getProperties",e,async r=>(0,xe.assertResponse)(await this.containerContext.getProperties({abortSignal:e.abortSignal,...e.conditions,tracingOptions:r.tracingOptions})))}async delete(e={}){return e.conditions||(e.conditions={}),gr.tracingClient.withSpan("ContainerClient-delete",e,async r=>(0,xe.assertResponse)(await this.containerContext.delete({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions})))}async deleteIfExists(e={}){return gr.tracingClient.withSpan("ContainerClient-deleteIfExists",e,async r=>{try{let n=await this.delete(r);return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="ContainerNotFound")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async setMetadata(e,r={}){if(r.conditions||(r.conditions={}),r.conditions.ifUnmodifiedSince)throw new RangeError("the IfUnmodifiedSince must have their default values because they are ignored by the blob service");return gr.tracingClient.withSpan("ContainerClient-setMetadata",r,async n=>(0,xe.assertResponse)(await this.containerContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions})))}async getAccessPolicy(e={}){return e.conditions||(e.conditions={}),gr.tracingClient.withSpan("ContainerClient-getAccessPolicy",e,async r=>{let n=(0,xe.assertResponse)(await this.containerContext.getAccessPolicy({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,tracingOptions:r.tracingOptions})),i={_response:n._response,blobPublicAccess:n.blobPublicAccess,date:n.date,etag:n.etag,errorCode:n.errorCode,lastModified:n.lastModified,requestId:n.requestId,clientRequestId:n.clientRequestId,signedIdentifiers:[],version:n.version};for(let s of n){let a;s.accessPolicy&&(a={permissions:s.accessPolicy.permissions},s.accessPolicy.expiresOn&&(a.expiresOn=new Date(s.accessPolicy.expiresOn)),s.accessPolicy.startsOn&&(a.startsOn=new Date(s.accessPolicy.startsOn))),i.signedIdentifiers.push({accessPolicy:a,id:s.id})}return i})}async setAccessPolicy(e,r,n={}){return n.conditions=n.conditions||{},gr.tracingClient.withSpan("ContainerClient-setAccessPolicy",n,async i=>{let s=[];for(let a of r||[])s.push({accessPolicy:{expiresOn:a.accessPolicy.expiresOn?(0,xe.truncatedISO8061Date)(a.accessPolicy.expiresOn):"",permissions:a.accessPolicy.permissions,startsOn:a.accessPolicy.startsOn?(0,xe.truncatedISO8061Date)(a.accessPolicy.startsOn):""},id:a.id});return(0,xe.assertResponse)(await this.containerContext.setAccessPolicy({abortSignal:n.abortSignal,access:e,containerAcl:s,leaseAccessConditions:n.conditions,modifiedAccessConditions:n.conditions,tracingOptions:i.tracingOptions}))})}getBlobLeaseClient(e){return new CLe.BlobLeaseClient(this,e)}async uploadBlockBlob(e,r,n,i={}){return gr.tracingClient.withSpan("ContainerClient-uploadBlockBlob",i,async s=>{let a=this.getBlockBlobClient(e),c=await a.upload(r,n,s);return{blockBlobClient:a,response:c}})}async deleteBlob(e,r={}){return gr.tracingClient.withSpan("ContainerClient-deleteBlob",r,async n=>{let i=this.getBlobClient(e);return r.versionId&&(i=i.withVersion(r.versionId)),i.delete(n)})}async listBlobFlatSegment(e,r={}){return gr.tracingClient.withSpan("ContainerClient-listBlobFlatSegment",r,async n=>{let i=(0,xe.assertResponse)(await this.containerContext.listBlobFlatSegment({marker:e,...r,tracingOptions:n.tracingOptions}));return{...i,_response:{...i._response,parsedBody:(0,xe.ConvertInternalResponseOfListBlobFlat)(i._response.parsedBody)},segment:{...i.segment,blobItems:i.segment.blobItems.map(a=>({...a,name:(0,xe.BlobNameToString)(a.name),tags:(0,xe.toTags)(a.blobTags),objectReplicationSourceProperties:(0,xe.parseObjectReplicationRecord)(a.objectReplicationMetadata)}))}}})}async listBlobHierarchySegment(e,r,n={}){return gr.tracingClient.withSpan("ContainerClient-listBlobHierarchySegment",n,async i=>{let s=(0,xe.assertResponse)(await this.containerContext.listBlobHierarchySegment(e,{marker:r,...n,tracingOptions:i.tracingOptions}));return{...s,_response:{...s._response,parsedBody:(0,xe.ConvertInternalResponseOfListBlobHierarchy)(s._response.parsedBody)},segment:{...s.segment,blobItems:s.segment.blobItems.map(c=>({...c,name:(0,xe.BlobNameToString)(c.name),tags:(0,xe.toTags)(c.blobTags),objectReplicationSourceProperties:(0,xe.parseObjectReplicationRecord)(c.objectReplicationMetadata)})),blobPrefixes:s.segment.blobPrefixes?.map(c=>({...c,name:(0,xe.BlobNameToString)(c.name)}))}}})}async*listSegments(e,r={}){let n;if(e||e===void 0)do n=await this.listBlobFlatSegment(e,r),e=n.continuationToken,yield await n;while(e)}async*listItems(e={}){let r;for await(let n of this.listSegments(r,e))yield*n.segment.blobItems}listBlobsFlat(e={}){let r=[];e.includeCopy&&r.push("copy"),e.includeDeleted&&r.push("deleted"),e.includeMetadata&&r.push("metadata"),e.includeSnapshots&&r.push("snapshots"),e.includeVersions&&r.push("versions"),e.includeUncommitedBlobs&&r.push("uncommittedblobs"),e.includeTags&&r.push("tags"),e.includeDeletedWithVersions&&r.push("deletedwithversions"),e.includeImmutabilityPolicy&&r.push("immutabilitypolicy"),e.includeLegalHold&&r.push("legalhold"),e.prefix===""&&(e.prefix=void 0);let n={...e,...r.length>0?{include:r}:{}},i=this.listItems(n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listSegments(s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async*listHierarchySegments(e,r,n={}){let i;if(r||r===void 0)do i=await this.listBlobHierarchySegment(e,r,n),r=i.continuationToken,yield await i;while(r)}async*listItemsByHierarchy(e,r={}){let n;for await(let i of this.listHierarchySegments(e,n,r)){let s=i.segment;if(s.blobPrefixes)for(let a of s.blobPrefixes)yield{kind:"prefix",...a};for(let a of s.blobItems)yield{kind:"blob",...a}}}listBlobsByHierarchy(e,r={}){if(e==="")throw new RangeError("delimiter should contain one or more characters");let n=[];r.includeCopy&&n.push("copy"),r.includeDeleted&&n.push("deleted"),r.includeMetadata&&n.push("metadata"),r.includeSnapshots&&n.push("snapshots"),r.includeVersions&&n.push("versions"),r.includeUncommitedBlobs&&n.push("uncommittedblobs"),r.includeTags&&n.push("tags"),r.includeDeletedWithVersions&&n.push("deletedwithversions"),r.includeImmutabilityPolicy&&n.push("immutabilitypolicy"),r.includeLegalHold&&n.push("legalhold"),r.prefix===""&&(r.prefix=void 0);let i={...r,...n.length>0?{include:n}:{}},s=this.listItemsByHierarchy(e,i);return{async next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:(a={})=>this.listHierarchySegments(e,a.continuationToken,{maxPageSize:a.maxPageSize,...i})}}async findBlobsByTagsSegment(e,r,n={}){return gr.tracingClient.withSpan("ContainerClient-findBlobsByTagsSegment",n,async i=>{let s=(0,xe.assertResponse)(await this.containerContext.filterBlobs({abortSignal:n.abortSignal,where:e,marker:r,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions}));return{...s,_response:s._response,blobs:s.blobs.map(c=>{let l="";return c.tags?.blobTagSet.length===1&&(l=c.tags.blobTagSet[0].value),{...c,tags:(0,xe.toTags)(c.tags),tagValue:l}})}})}async*findBlobsByTagsSegments(e,r,n={}){let i;if(r||r===void 0)do i=await this.findBlobsByTagsSegment(e,r,n),i.blobs=i.blobs||[],r=i.continuationToken,yield i;while(r)}async*findBlobsByTagsItems(e,r={}){let n;for await(let i of this.findBlobsByTagsSegments(e,n,r))yield*i.blobs}findBlobsByTags(e,r={}){let n={...r},i=this.findBlobsByTagsItems(e,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.findBlobsByTagsSegments(e,s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async getAccountInfo(e={}){return gr.tracingClient.withSpan("ContainerClient-getAccountInfo",e,async r=>(0,xe.assertResponse)(await this.containerContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}getContainerNameFromUrl(){let e;try{let r=new URL(this.url);if(r.hostname.split(".")[1]==="blob"?e=r.pathname.split("/")[1]:(0,xe.isIpEndpointStyle)(r)?e=r.pathname.split("/")[2]:e=r.pathname.split("/")[1],e=decodeURIComponent(e),!e)throw new Error("Provided containerName is invalid.");return e}catch{throw new Error("Unable to extract containerName with provided information.")}}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof ha.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=(0,Zg.generateBlobSASQueryParameters)({containerName:this._containerName,...e},this.credential).toString();r((0,xe.appendToURLQuery)(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof ha.StorageSharedKeyCredential))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return(0,Zg.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let i=(0,Zg.generateBlobSASQueryParameters)({containerName:this._containerName,...e},r,this.accountName).toString();n((0,xe.appendToURLQuery)(this.url,i))})}generateUserDelegationSasStringToSign(e,r){return(0,Zg.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...e},r,this.accountName).stringToSign}getBlobBatchClient(){return new ELe.BlobBatchClient(this.url,this.pipeline)}};ty.ContainerClient=VS});var ny=g(ry=>{"use strict";Object.defineProperty(ry,"__esModule",{value:!0});ry.AccountSASPermissions=void 0;var $S=class t{static{o(this,"AccountSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"x":r.deleteVersion=!0;break;case"l":r.list=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"u":r.update=!0;break;case"p":r.process=!0;break;case"t":r.tag=!0;break;case"f":r.filter=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;default:throw new RangeError(`Invalid permission character: ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.deleteVersion&&(r.deleteVersion=!0),e.filter&&(r.filter=!0),e.tag&&(r.tag=!0),e.list&&(r.list=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.update&&(r.update=!0),e.process&&(r.process=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),r}read=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;add=!1;create=!1;update=!1;process=!1;tag=!1;filter=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.filter&&e.push("f"),this.tag&&e.push("t"),this.list&&e.push("l"),this.add&&e.push("a"),this.create&&e.push("c"),this.update&&e.push("u"),this.process&&e.push("p"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}};ry.AccountSASPermissions=$S});var XS=g(iy=>{"use strict";Object.defineProperty(iy,"__esModule",{value:!0});iy.AccountSASResourceTypes=void 0;var KS=class t{static{o(this,"AccountSASResourceTypes")}static parse(e){let r=new t;for(let n of e)switch(n){case"s":r.service=!0;break;case"c":r.container=!0;break;case"o":r.object=!0;break;default:throw new RangeError(`Invalid resource type: ${n}`)}return r}service=!1;container=!1;object=!1;toString(){let e=[];return this.service&&e.push("s"),this.container&&e.push("c"),this.object&&e.push("o"),e.join("")}};iy.AccountSASResourceTypes=KS});var oy=g(sy=>{"use strict";Object.defineProperty(sy,"__esModule",{value:!0});sy.AccountSASServices=void 0;var ZS=class t{static{o(this,"AccountSASServices")}static parse(e){let r=new t;for(let n of e)switch(n){case"b":r.blob=!0;break;case"f":r.file=!0;break;case"q":r.queue=!0;break;case"t":r.table=!0;break;default:throw new RangeError(`Invalid service character: ${n}`)}return r}blob=!1;file=!1;queue=!1;table=!1;toString(){let e=[];return this.blob&&e.push("b"),this.table&&e.push("t"),this.queue&&e.push("q"),this.file&&e.push("f"),e.join("")}};sy.AccountSASServices=ZS});var eR=g(cy=>{"use strict";Object.defineProperty(cy,"__esModule",{value:!0});cy.generateAccountSASQueryParameters=NLe;cy.generateAccountSASQueryParametersInternal=jK;var BLe=ny(),ILe=XS(),bLe=oy(),zK=ag(),QLe=lg(),wLe=en(),ay=Rn();function NLe(t,e){return jK(t,e).sasQueryParameters}o(NLe,"generateAccountSASQueryParameters");function jK(t,e){let r=t.version?t.version:wLe.SERVICE_VERSION;if(t.permissions&&t.permissions.setImmutabilityPolicy&&r<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&r<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when provided 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&r<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when provided 'y' permission.");if(t.permissions&&t.permissions.tag&&r<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when provided 't' permission.");if(t.permissions&&t.permissions.filter&&r<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when provided 'f' permission.");if(t.encryptionScope&&r<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");let n=BLe.AccountSASPermissions.parse(t.permissions.toString()),i=bLe.AccountSASServices.parse(t.services).toString(),s=ILe.AccountSASResourceTypes.parse(t.resourceTypes).toString(),a;r>="2020-12-06"?a=[e.accountName,n,i,s,t.startsOn?(0,ay.truncatedISO8061Date)(t.startsOn,!1):"",(0,ay.truncatedISO8061Date)(t.expiresOn,!1),t.ipRange?(0,zK.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",r,t.encryptionScope?t.encryptionScope:"",""].join(`
`):a=[e.accountName,n,i,s,t.startsOn?(0,ay.truncatedISO8061Date)(t.startsOn,!1):"",(0,ay.truncatedISO8061Date)(t.expiresOn,!1),t.ipRange?(0,zK.ipRangeToString)(t.ipRange):"",t.protocol?t.protocol:"",r,""].join(`
`);let c=e.computeHMACSHA256(a);return{sasQueryParameters:new QLe.SASQueryParameters(r,c,n.toString(),i,s,t.protocol,t.startsOn,t.expiresOn,t.ipRange,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,t.encryptionScope),stringToSign:a}}o(jK,"generateAccountSASQueryParametersInternal")});var WK=g(Ay=>{"use strict";Object.defineProperty(Ay,"__esModule",{value:!0});Ay.BlobServiceClient=void 0;var xLe=Kc(),SLe=Ot(),GK=pt(),rd=to(),RLe=WS(),ly=Rn(),fa=ei(),ki=Rn(),Li=ia(),_Le=Xg(),vLe=ng(),YK=ny(),JK=eR(),VK=oy(),tR=class t extends vLe.StorageClient{static{o(this,"BlobServiceClient")}serviceContext;static fromConnectionString(e,r){r=r||{};let n=(0,ly.extractConnectionStringParts)(e);if(n.kind==="AccountConnString")if(GK.isNodeLike){let i=new fa.StorageSharedKeyCredential(n.accountName,n.accountKey);r.proxyOptions||(r.proxyOptions=(0,SLe.getDefaultProxySettings)(n.proxyUri));let s=(0,rd.newPipeline)(i,r);return new t(n.url,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(n.kind==="SASConnString"){let i=(0,rd.newPipeline)(new fa.AnonymousCredential,r);return new t(n.url+"?"+n.accountSas,i)}else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}constructor(e,r,n){let i;(0,rd.isPipelineLike)(r)?i=r:GK.isNodeLike&&r instanceof fa.StorageSharedKeyCredential||r instanceof fa.AnonymousCredential||(0,xLe.isTokenCredential)(r)?i=(0,rd.newPipeline)(r,n):i=(0,rd.newPipeline)(new fa.AnonymousCredential,n),super(e,i),this.serviceContext=this.storageClientContext.service}getContainerClient(e){return new RLe.ContainerClient((0,ly.appendToURLPath)(this.url,encodeURIComponent(e)),this.pipeline)}async createContainer(e,r={}){return Li.tracingClient.withSpan("BlobServiceClient-createContainer",r,async n=>{let i=this.getContainerClient(e),s=await i.create(n);return{containerClient:i,containerCreateResponse:s}})}async deleteContainer(e,r={}){return Li.tracingClient.withSpan("BlobServiceClient-deleteContainer",r,async n=>this.getContainerClient(e).delete(n))}async undeleteContainer(e,r,n={}){return Li.tracingClient.withSpan("BlobServiceClient-undeleteContainer",n,async i=>{let s=this.getContainerClient(n.destinationContainerName||e),a=s.storageClientContext.container,c=(0,ki.assertResponse)(await a.restore({deletedContainerName:e,deletedContainerVersion:r,tracingOptions:i.tracingOptions}));return{containerClient:s,containerUndeleteResponse:c}})}async getProperties(e={}){return Li.tracingClient.withSpan("BlobServiceClient-getProperties",e,async r=>(0,ki.assertResponse)(await this.serviceContext.getProperties({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setProperties(e,r={}){return Li.tracingClient.withSpan("BlobServiceClient-setProperties",r,async n=>(0,ki.assertResponse)(await this.serviceContext.setProperties(e,{abortSignal:r.abortSignal,tracingOptions:n.tracingOptions})))}async getStatistics(e={}){return Li.tracingClient.withSpan("BlobServiceClient-getStatistics",e,async r=>(0,ki.assertResponse)(await this.serviceContext.getStatistics({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async getAccountInfo(e={}){return Li.tracingClient.withSpan("BlobServiceClient-getAccountInfo",e,async r=>(0,ki.assertResponse)(await this.serviceContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async listContainersSegment(e,r={}){return Li.tracingClient.withSpan("BlobServiceClient-listContainersSegment",r,async n=>(0,ki.assertResponse)(await this.serviceContext.listContainersSegment({abortSignal:r.abortSignal,marker:e,...r,include:typeof r.include=="string"?[r.include]:r.include,tracingOptions:n.tracingOptions})))}async findBlobsByTagsSegment(e,r,n={}){return Li.tracingClient.withSpan("BlobServiceClient-findBlobsByTagsSegment",n,async i=>{let s=(0,ki.assertResponse)(await this.serviceContext.filterBlobs({abortSignal:n.abortSignal,where:e,marker:r,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions}));return{...s,_response:s._response,blobs:s.blobs.map(c=>{let l="";return c.tags?.blobTagSet.length===1&&(l=c.tags.blobTagSet[0].value),{...c,tags:(0,ly.toTags)(c.tags),tagValue:l}})}})}async*findBlobsByTagsSegments(e,r,n={}){let i;if(r||r===void 0)do i=await this.findBlobsByTagsSegment(e,r,n),i.blobs=i.blobs||[],r=i.continuationToken,yield i;while(r)}async*findBlobsByTagsItems(e,r={}){let n;for await(let i of this.findBlobsByTagsSegments(e,n,r))yield*i.blobs}findBlobsByTags(e,r={}){let n={...r},i=this.findBlobsByTagsItems(e,n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.findBlobsByTagsSegments(e,s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async*listSegments(e,r={}){let n;if(e||e===void 0)do n=await this.listContainersSegment(e,r),n.containerItems=n.containerItems||[],e=n.continuationToken,yield await n;while(e)}async*listItems(e={}){let r;for await(let n of this.listSegments(r,e))yield*n.containerItems}listContainers(e={}){e.prefix===""&&(e.prefix=void 0);let r=[];e.includeDeleted&&r.push("deleted"),e.includeMetadata&&r.push("metadata"),e.includeSystem&&r.push("system");let n={...e,...r.length>0?{include:r}:{}},i=this.listItems(n);return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listSegments(s.continuationToken,{maxPageSize:s.maxPageSize,...n})}}async getUserDelegationKey(e,r,n={}){return Li.tracingClient.withSpan("BlobServiceClient-getUserDelegationKey",n,async i=>{let s=(0,ki.assertResponse)(await this.serviceContext.getUserDelegationKey({startsOn:(0,ki.truncatedISO8061Date)(e,!1),expiresOn:(0,ki.truncatedISO8061Date)(r,!1)},{abortSignal:n.abortSignal,tracingOptions:i.tracingOptions})),a={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};return{_response:s._response,requestId:s.requestId,clientRequestId:s.clientRequestId,version:s.version,date:s.date,errorCode:s.errorCode,...a}})}getBlobBatchClient(){return new _Le.BlobBatchClient(this.url,this.pipeline)}generateAccountSasUrl(e,r=YK.AccountSASPermissions.parse("r"),n="sco",i={}){if(!(this.credential instanceof fa.StorageSharedKeyCredential))throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential");if(e===void 0){let a=new Date;e=new Date(a.getTime()+3600*1e3)}let s=(0,JK.generateAccountSASQueryParameters)({permissions:r,expiresOn:e,resourceTypes:n,services:VK.AccountSASServices.parse("b").toString(),...i},this.credential).toString();return(0,ly.appendToURLQuery)(this.url,s)}generateSasStringToSign(e,r=YK.AccountSASPermissions.parse("r"),n="sco",i={}){if(!(this.credential instanceof fa.StorageSharedKeyCredential))throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential");if(e===void 0){let s=new Date;e=new Date(s.getTime()+3600*1e3)}return(0,JK.generateAccountSASQueryParametersInternal)({permissions:r,expiresOn:e,resourceTypes:n,services:VK.AccountSASServices.parse("b").toString(),...i},this.credential).stringToSign}};Ay.BlobServiceClient=tR});var KK=g($K=>{"use strict";Object.defineProperty($K,"__esModule",{value:!0})});var ZK=g(uy=>{"use strict";Object.defineProperty(uy,"__esModule",{value:!0});uy.KnownEncryptionAlgorithmType=void 0;var XK;(function(t){t.AES256="AES256"})(XK||(uy.KnownEncryptionAlgorithmType=XK={}))});var rR=g(V=>{"use strict";Object.defineProperty(V,"__esModule",{value:!0});V.logger=V.RestError=V.StorageBrowserPolicyFactory=V.StorageBrowserPolicy=V.StorageSharedKeyCredentialPolicy=V.StorageSharedKeyCredential=V.StorageRetryPolicyFactory=V.StorageRetryPolicy=V.StorageRetryPolicyType=V.Credential=V.CredentialPolicy=V.BaseRequestPolicy=V.AnonymousCredentialPolicy=V.AnonymousCredential=V.StorageOAuthScopes=V.newPipeline=V.isPipelineLike=V.Pipeline=V.getBlobServiceAccountAudience=V.StorageBlobAudience=V.PremiumPageBlobTier=V.BlockBlobTier=V.generateBlobSASQueryParameters=V.generateAccountSASQueryParameters=void 0;var Dr=(Xr(),Zt(Kr)),PLe=Ot();Object.defineProperty(V,"RestError",{enumerable:!0,get:function(){return PLe.RestError}});Dr.__exportStar(WK(),V);Dr.__exportStar(zg(),V);Dr.__exportStar(WS(),V);Dr.__exportStar(hg(),V);Dr.__exportStar(ny(),V);Dr.__exportStar(XS(),V);Dr.__exportStar(oy(),V);var DLe=eR();Object.defineProperty(V,"generateAccountSASQueryParameters",{enumerable:!0,get:function(){return DLe.generateAccountSASQueryParameters}});Dr.__exportStar(GS(),V);Dr.__exportStar(Xg(),V);Dr.__exportStar(KK(),V);Dr.__exportStar(Hx(),V);var TLe=ug();Object.defineProperty(V,"generateBlobSASQueryParameters",{enumerable:!0,get:function(){return TLe.generateBlobSASQueryParameters}});Dr.__exportStar(jx(),V);var dy=AS();Object.defineProperty(V,"BlockBlobTier",{enumerable:!0,get:function(){return dy.BlockBlobTier}});Object.defineProperty(V,"PremiumPageBlobTier",{enumerable:!0,get:function(){return dy.PremiumPageBlobTier}});Object.defineProperty(V,"StorageBlobAudience",{enumerable:!0,get:function(){return dy.StorageBlobAudience}});Object.defineProperty(V,"getBlobServiceAccountAudience",{enumerable:!0,get:function(){return dy.getBlobServiceAccountAudience}});var py=to();Object.defineProperty(V,"Pipeline",{enumerable:!0,get:function(){return py.Pipeline}});Object.defineProperty(V,"isPipelineLike",{enumerable:!0,get:function(){return py.isPipelineLike}});Object.defineProperty(V,"newPipeline",{enumerable:!0,get:function(){return py.newPipeline}});Object.defineProperty(V,"StorageOAuthScopes",{enumerable:!0,get:function(){return py.StorageOAuthScopes}});var vn=ei();Object.defineProperty(V,"AnonymousCredential",{enumerable:!0,get:function(){return vn.AnonymousCredential}});Object.defineProperty(V,"AnonymousCredentialPolicy",{enumerable:!0,get:function(){return vn.AnonymousCredentialPolicy}});Object.defineProperty(V,"BaseRequestPolicy",{enumerable:!0,get:function(){return vn.BaseRequestPolicy}});Object.defineProperty(V,"CredentialPolicy",{enumerable:!0,get:function(){return vn.CredentialPolicy}});Object.defineProperty(V,"Credential",{enumerable:!0,get:function(){return vn.Credential}});Object.defineProperty(V,"StorageRetryPolicyType",{enumerable:!0,get:function(){return vn.StorageRetryPolicyType}});Object.defineProperty(V,"StorageRetryPolicy",{enumerable:!0,get:function(){return vn.StorageRetryPolicy}});Object.defineProperty(V,"StorageRetryPolicyFactory",{enumerable:!0,get:function(){return vn.StorageRetryPolicyFactory}});Object.defineProperty(V,"StorageSharedKeyCredential",{enumerable:!0,get:function(){return vn.StorageSharedKeyCredential}});Object.defineProperty(V,"StorageSharedKeyCredentialPolicy",{enumerable:!0,get:function(){return vn.StorageSharedKeyCredentialPolicy}});Object.defineProperty(V,"StorageBrowserPolicy",{enumerable:!0,get:function(){return vn.StorageBrowserPolicy}});Object.defineProperty(V,"StorageBrowserPolicyFactory",{enumerable:!0,get:function(){return vn.StorageBrowserPolicyFactory}});Dr.__exportStar(lg(),V);Dr.__exportStar(ZK(),V);var OLe=Em();Object.defineProperty(V,"logger",{enumerable:!0,get:function(){return OLe.logger}})});var cR=g(Ar=>{"use strict";Object.defineProperty(Ar,"__esModule",{value:!0});Ar.RateLimitError=Ar.UsageError=Ar.NetworkError=Ar.GHESNotSupportedError=Ar.CacheNotFoundError=Ar.InvalidResponseError=Ar.FilesNotFoundError=void 0;var nR=class extends Error{static{o(this,"FilesNotFoundError")}constructor(e=[]){let r="No files were found to upload";e.length>0&&(r+=`: ${e.join(", ")}`),super(r),this.files=e,this.name="FilesNotFoundError"}};Ar.FilesNotFoundError=nR;var iR=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};Ar.InvalidResponseError=iR;var sR=class extends Error{static{o(this,"CacheNotFoundError")}constructor(e="Cache not found"){super(e),this.name="CacheNotFoundError"}};Ar.CacheNotFoundError=sR;var oR=class extends Error{static{o(this,"GHESNotSupportedError")}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"}};Ar.GHESNotSupportedError=oR;var hy=class extends Error{static{o(this,"NetworkError")}constructor(e){let r=`Unable to make request: ${e}
If 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(r),this.code=e,this.name="NetworkError"}};Ar.NetworkError=hy;hy.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var fy=class extends Error{static{o(this,"UsageError")}constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries. Usage is recalculated every 6-12 hours.
More 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`),this.name="UsageError"}};Ar.UsageError=fy;fy.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var aR=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};Ar.RateLimitError=aR});var e4=g(sn=>{"use strict";var MLe=sn&&sn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),kLe=sn&&sn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),LLe=sn&&sn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&MLe(r,e,n[i]);return kLe(r,e),r}}(),ULe=sn&&sn.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(sn,"__esModule",{value:!0});sn.UploadProgress=void 0;sn.uploadCacheArchiveSDK=HLe;var lR=LLe(ft()),FLe=rR(),qLe=cR(),my=class{static{o(this,"UploadProgress")}constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,r=(100*(e/this.contentLength)).toFixed(1),n=Date.now()-this.startTime,i=(e/(1024*1024)/(n/1e3)).toFixed(1);lR.info(`Sent ${e} of ${this.contentLength} (${r}%), ${i} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};sn.UploadProgress=my;function HLe(t,e,r){return ULe(this,void 0,void 0,function*(){var n;let i=new FLe.BlobClient(t),s=i.getBlockBlobClient(),a=new my((n=r?.archiveSizeBytes)!==null&&n!==void 0?n:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),lR.debug(`BlobClient: ${i.name}:${i.accountName}:${i.containerName}`);let l=yield s.uploadFile(e,c);if(l._response.status>=400)throw new qLe.InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw lR.warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(HLe,"uploadCacheArchiveSDK")});var uR=g(ur=>{"use strict";var zLe=ur&&ur.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),jLe=ur&&ur.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),GLe=ur&&ur.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&zLe(r,e,n[i]);return jLe(r,e),r}}(),yy=ur&&ur.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(ur,"__esModule",{value:!0});ur.isSuccessStatusCode=YLe;ur.isServerErrorStatusCode=r4;ur.isRetryableStatusCode=n4;ur.retry=AR;ur.retryTypedResponse=VLe;ur.retryHttpClientResponse=WLe;var t4=GLe(ft()),gy=qs(),Sl=Cu();function YLe(t){return t?t>=200&&t<300:!1}o(YLe,"isSuccessStatusCode");function r4(t){return t?t>=500:!0}o(r4,"isServerErrorStatusCode");function n4(t){return t?[gy.HttpCodes.BadGateway,gy.HttpCodes.ServiceUnavailable,gy.HttpCodes.GatewayTimeout].includes(t):!1}o(n4,"isRetryableStatusCode");function JLe(t){return yy(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(JLe,"sleep");function AR(t,e,r){return yy(this,arguments,void 0,function*(n,i,s,a=Sl.DefaultRetryAttempts,c=Sl.DefaultRetryDelay,l=void 0){let A="",u=1;for(;u<=a;){let d,f,m=!1;try{d=yield i()}catch(C){l&&(d=l(C)),m=!0,A=C.message}if(d&&(f=s(d),!r4(f)))return d;if(f&&(m=n4(f),A=`Cache service responded with ${f}`),t4.debug(`${n} - Attempt ${u} of ${a} failed with error: ${A}`),!m){t4.debug(`${n} - Error is not retryable`);break}yield JLe(c),u++}throw Error(`${n} failed: ${A}`)})}o(AR,"retry");function VLe(t,e){return yy(this,arguments,void 0,function*(r,n,i=Sl.DefaultRetryAttempts,s=Sl.DefaultRetryDelay){return yield AR(r,n,a=>a.statusCode,i,s,a=>{if(a instanceof gy.HttpClientError)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(VLe,"retryTypedResponse");function WLe(t,e){return yy(this,arguments,void 0,function*(r,n,i=Sl.DefaultRetryAttempts,s=Sl.DefaultRetryDelay){return yield AR(r,n,a=>a.message.statusCode,i,s)})}o(WLe,"retryHttpClientResponse")});var c4=g(yr=>{"use strict";var $Le=yr&&yr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),KLe=yr&&yr.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Rl=yr&&yr.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&$Le(r,e,n[i]);return KLe(r,e),r}}(),Pn=yr&&yr.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(yr,"__esModule",{value:!0});yr.DownloadProgress=void 0;yr.downloadCacheHttpClient=o4;yr.downloadCacheHttpClientConcurrent=sUe;yr.downloadCacheStorageSDK=cUe;var id=Rl(ft()),s4=qs(),XLe=rR(),ZLe=Rl(require("buffer")),nd=Rl(require("fs")),eUe=Rl(require("stream")),tUe=Rl(require("util")),rUe=Rl(Tc()),i4=Cu(),dR=uR(),nUe=_g();function iUe(t,e){return Pn(this,void 0,void 0,function*(){yield tUe.promisify(eUe.pipeline)(t.message,e)})}o(iUe,"pipeResponseToStream");var sd=class{static{o(this,"DownloadProgress")}constructor(e){this.contentLength=e,this.segmentIndex=0,this.segmentSize=0,this.segmentOffset=0,this.receivedBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}nextSegment(e){this.segmentOffset=this.segmentOffset+this.segmentSize,this.segmentIndex=this.segmentIndex+1,this.segmentSize=e,this.receivedBytes=0,id.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;let e=this.segmentOffset+this.receivedBytes,r=(100*(e/this.contentLength)).toFixed(1),n=Date.now()-this.startTime,i=(e/(1024*1024)/(n/1e3)).toFixed(1);id.info(`Received ${e} of ${this.contentLength} (${r}%), ${i} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setReceivedBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};yr.DownloadProgress=sd;function o4(t,e){return Pn(this,void 0,void 0,function*(){let r=nd.createWriteStream(e),n=new s4.HttpClient("actions/cache"),i=yield(0,dR.retryHttpClientResponse)("downloadCache",()=>Pn(this,void 0,void 0,function*(){return n.get(t)}));i.message.socket.setTimeout(i4.SocketTimeout,()=>{i.message.destroy(),id.debug(`Aborting download, socket timed out after ${i4.SocketTimeout} ms`)}),yield iUe(i,r);let s=i.message.headers["content-length"];if(s){let a=parseInt(s),c=rUe.getArchiveFileSizeInBytes(e);if(c!==a)throw new Error(`Incomplete download. Expected file size: ${a}, actual file size: ${c}`)}else id.debug("Unable to validate download, no Content-Length header")})}o(o4,"downloadCacheHttpClient");function sUe(t,e,r){return Pn(this,void 0,void 0,function*(){var n;let i=yield nd.promises.open(e,"w"),s=new s4.HttpClient("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield(0,dR.retryHttpClientResponse)("downloadCacheMetadata",()=>Pn(this,void 0,void 0,function*(){return yield s.request("HEAD",t,null,{})}))).message.headers["content-length"];if(c==null)throw new Error("Content-Length not found on blob response");let l=parseInt(c);if(Number.isNaN(l))throw new Error(`Could not interpret Content-Length: ${l}`);let A=[],u=4*1024*1024;for(let R=0;R<l;R+=u){let T=Math.min(u,l-R);A.push({offset:R,promiseGetter:()=>Pn(this,void 0,void 0,function*(){return yield oUe(s,t,R,T)})})}A.reverse();let d=0,f=0,m=new sd(l);m.startDisplayTimer();let C=m.onProgress(),Q=[],S,w=o(()=>Pn(this,void 0,void 0,function*(){let R=yield Promise.race(Object.values(Q));yield i.write(R.buffer,0,R.count,R.offset),d--,delete Q[R.offset],f+=R.count,C({loadedBytes:f})}),"waitAndWrite");for(;S=A.pop();)Q[S.offset]=S.promiseGetter(),d++,d>=((n=r.downloadConcurrency)!==null&&n!==void 0?n:10)&&(yield w());for(;d>0;)yield w()}finally{s.dispose(),yield i.close()}})}o(sUe,"downloadCacheHttpClientConcurrent");function oUe(t,e,r,n){return Pn(this,void 0,void 0,function*(){let s=0;for(;;)try{let c=yield a4(3e4,aUe(t,e,r,n));if(typeof c=="string")throw new Error("downloadSegmentRetry failed due to timeout");return c}catch(a){if(s>=5)throw a;s++}})}o(oUe,"downloadSegmentRetry");function aUe(t,e,r,n){return Pn(this,void 0,void 0,function*(){let i=yield(0,dR.retryHttpClientResponse)("downloadCachePart",()=>Pn(this,void 0,void 0,function*(){return yield t.get(e,{Range:`bytes=${r}-${r+n-1}`})}));if(!i.readBodyBuffer)throw new Error("Expected HttpClientResponse to implement readBodyBuffer");return{offset:r,count:n,buffer:yield i.readBodyBuffer()}})}o(aUe,"downloadSegment");function cUe(t,e,r){return Pn(this,void 0,void 0,function*(){var n;let i=new XLe.BlockBlobClient(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),a=(n=(yield i.getProperties()).contentLength)!==null&&n!==void 0?n:-1;if(a<0)id.debug("Unable to determine content length, downloading file with http-client..."),yield o4(t,e);else{let c=Math.min(134217728,ZLe.constants.MAX_LENGTH),l=new sd(a),A=nd.openSync(e,"w");try{l.startDisplayTimer();let u=new nUe.AbortController,d=u.signal;for(;!l.isDone();){let f=l.segmentOffset+l.segmentSize,m=Math.min(c,a-f);l.nextSegment(m);let C=yield a4(r.segmentTimeoutInMs||36e5,i.downloadToBuffer(f,m,{abortSignal:d,concurrency:r.downloadConcurrency,onProgress:l.onProgress()}));if(C==="timeout")throw u.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(C)&&nd.writeFileSync(A,C)}}finally{l.stopDisplayTimer(),nd.closeSync(A)}}})}o(cUe,"downloadCacheStorageSDK");var a4=o((t,e)=>Pn(void 0,void 0,void 0,function*(){let r,n=new Promise(i=>{r=setTimeout(()=>i("timeout"),t)});return Promise.race([e,n]).then(i=>(clearTimeout(r),i))}),"promiseWithTimeout")});var l4=g(Ui=>{"use strict";var lUe=Ui&&Ui.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),AUe=Ui&&Ui.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),uUe=Ui&&Ui.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&lUe(r,e,n[i]);return AUe(r,e),r}}();Object.defineProperty(Ui,"__esModule",{value:!0});Ui.getUploadOptions=dUe;Ui.getDownloadOptions=pUe;var gs=uUe(ft());function dUe(t){let e={useAzureSdk:!1,uploadConcurrency:4,uploadChunkSize:33554432};return t&&(typeof t.useAzureSdk=="boolean"&&(e.useAzureSdk=t.useAzureSdk),typeof t.uploadConcurrency=="number"&&(e.uploadConcurrency=t.uploadConcurrency),typeof t.uploadChunkSize=="number"&&(e.uploadChunkSize=t.uploadChunkSize)),e.uploadConcurrency=isNaN(Number(process.env.CACHE_UPLOAD_CONCURRENCY))?e.uploadConcurrency:Math.min(32,Number(process.env.CACHE_UPLOAD_CONCURRENCY)),e.uploadChunkSize=isNaN(Number(process.env.CACHE_UPLOAD_CHUNK_SIZE))?e.uploadChunkSize:Math.min(128*1024*1024,Number(process.env.CACHE_UPLOAD_CHUNK_SIZE)*1024*1024),gs.debug(`Use Azure SDK: ${e.useAzureSdk}`),gs.debug(`Upload concurrency: ${e.uploadConcurrency}`),gs.debug(`Upload chunk size: ${e.uploadChunkSize}`),e}o(dUe,"getUploadOptions");function pUe(t){let e={useAzureSdk:!1,concurrentBlobDownloads:!0,downloadConcurrency:8,timeoutInMs:3e4,segmentTimeoutInMs:6e5,lookupOnly:!1};t&&(typeof t.useAzureSdk=="boolean"&&(e.useAzureSdk=t.useAzureSdk),typeof t.concurrentBlobDownloads=="boolean"&&(e.concurrentBlobDownloads=t.concurrentBlobDownloads),typeof t.downloadConcurrency=="number"&&(e.downloadConcurrency=t.downloadConcurrency),typeof t.timeoutInMs=="number"&&(e.timeoutInMs=t.timeoutInMs),typeof t.segmentTimeoutInMs=="number"&&(e.segmentTimeoutInMs=t.segmentTimeoutInMs),typeof t.lookupOnly=="boolean"&&(e.lookupOnly=t.lookupOnly));let r=process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS;return r&&!isNaN(Number(r))&&isFinite(Number(r))&&(e.segmentTimeoutInMs=Number(r)*60*1e3),gs.debug(`Use Azure SDK: ${e.useAzureSdk}`),gs.debug(`Download concurrency: ${e.downloadConcurrency}`),gs.debug(`Request timeout (ms): ${e.timeoutInMs}`),gs.debug(`Cache segment download timeout mins env var: ${process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS}`),gs.debug(`Segment download timeout (ms): ${e.segmentTimeoutInMs}`),gs.debug(`Lookup only: ${e.lookupOnly}`),e}o(pUe,"getDownloadOptions")});var Cy=g(od=>{"use strict";Object.defineProperty(od,"__esModule",{value:!0});od.isGhes=A4;od.getCacheServiceVersion=u4;od.getCacheServiceURL=hUe;function A4(){let e=new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.trimEnd().toUpperCase(),r=e==="GITHUB.COM",n=e.endsWith(".GHE.COM"),i=e.endsWith(".LOCALHOST");return!r&&!n&&!i}o(A4,"isGhes");function u4(){return A4()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(u4,"getCacheServiceVersion");function hUe(){let t=u4();switch(t){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: ${t}`)}}o(hUe,"getCacheServiceURL")});var d4=g((f5e,fUe)=>{fUe.exports={name:"@actions/cache",version:"5.0.5",preview:!0,description:"Actions cache lib",keywords:["github","actions","cache"],homepage:"https://github.com/actions/toolkit/tree/main/packages/cache",license:"MIT",main:"lib/cache.js",types:"lib/cache.d.ts",directories:{lib:"lib",test:"__tests__"},files:["lib","!.DS_Store"],publishConfig:{access:"public"},repository:{type:"git",url:"git+https://github.com/actions/toolkit.git",directory:"packages/cache"},scripts:{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json",test:'echo "Error: run tests from root" && exit 1',tsc:"tsc"},bugs:{url:"https://github.com/actions/toolkit/issues"},dependencies:{"@actions/core":"^2.0.0","@actions/exec":"^2.0.0","@actions/glob":"^0.5.1","@protobuf-ts/runtime-rpc":"^2.11.1","@actions/http-client":"^3.0.2","@actions/io":"^2.0.0","@azure/abort-controller":"^1.1.0","@azure/core-rest-pipeline":"^1.22.0","@azure/storage-blob":"^12.29.1",semver:"^6.3.1"},devDependencies:{"@types/node":"^24.1.0","@types/semver":"^6.0.0","@protobuf-ts/plugin":"^2.9.4",typescript:"^5.2.2"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var hR=g(pR=>{"use strict";Object.defineProperty(pR,"__esModule",{value:!0});pR.getUserAgentString=gUe;var mUe=d4();function gUe(){return`@actions/cache-${mUe.version}`}o(gUe,"getUserAgentString")});var h4=g(Or=>{"use strict";var yUe=Or&&Or.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),CUe=Or&&Or.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),mR=Or&&Or.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&yUe(r,e,n[i]);return CUe(r,e),r}}(),Tr=Or&&Or.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Or,"__esModule",{value:!0});Or.getCacheEntry=SUe;Or.downloadCache=_Ue;Or.reserveCache=vUe;Or.saveCache=OUe;var on=mR(ft()),EUe=qs(),BUe=Mh(),fR=mR(require("fs")),IUe=require("url"),_l=mR(Tc()),bUe=e4(),Ey=c4(),gR=l4(),lo=uR(),QUe=Cy(),wUe=hR();function ad(t){let e=(0,QUe.getCacheServiceURL)();if(!e)throw new Error("Cache Service Url not found, unable to restore cache.");let r=`${e}_apis/artifactcache/${t}`;return on.debug(`Resource Url: ${r}`),r}o(ad,"getCacheApiUrl");function NUe(t,e){return`${t};api-version=${e}`}o(NUe,"createAcceptHeader");function xUe(){return{headers:{Accept:NUe("application/json","6.0-preview.1")}}}o(xUe,"getRequestOptions");function yR(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new BUe.BearerCredentialHandler(t);return new EUe.HttpClient((0,wUe.getUserAgentString)(),[e],xUe())}o(yR,"createHttpClient");function SUe(t,e,r){return Tr(this,void 0,void 0,function*(){let n=yR(),i=_l.getCacheVersion(e,r?.compressionMethod,r?.enableCrossOsArchive),s=`cache?keys=${encodeURIComponent(t.join(","))}&version=${i}`,a=yield(0,lo.retryTypedResponse)("getCacheEntry",()=>Tr(this,void 0,void 0,function*(){return n.getJson(ad(s))}));if(a.statusCode===204)return on.isDebug()&&(yield RUe(t[0],n,i)),null;if(!(0,lo.isSuccessStatusCode)(a.statusCode))throw new Error(`Cache service responded with ${a.statusCode}`);let c=a.result,l=c?.archiveLocation;if(!l)throw new Error("Cache not found.");return on.setSecret(l),on.debug("Cache Result:"),on.debug(JSON.stringify(c)),c})}o(SUe,"getCacheEntry");function RUe(t,e,r){return Tr(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,i=yield(0,lo.retryTypedResponse)("listCache",()=>Tr(this,void 0,void 0,function*(){return e.getJson(ad(n))}));if(i.statusCode===200){let s=i.result,a=s?.totalCount;if(a&&a>0){on.debug(`No matching cache found for cache key '${t}', 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
Other caches with similar key:`);for(let c of s?.artifactCaches||[])on.debug(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}o(RUe,"printCachesListForDiagnostics");function _Ue(t,e,r){return Tr(this,void 0,void 0,function*(){let n=new IUe.URL(t),i=(0,gR.getDownloadOptions)(r);n.hostname.endsWith(".blob.core.windows.net")?i.useAzureSdk?yield(0,Ey.downloadCacheStorageSDK)(t,e,i):i.concurrentBlobDownloads?yield(0,Ey.downloadCacheHttpClientConcurrent)(t,e,i):yield(0,Ey.downloadCacheHttpClient)(t,e):yield(0,Ey.downloadCacheHttpClient)(t,e)})}o(_Ue,"downloadCache");function vUe(t,e,r){return Tr(this,void 0,void 0,function*(){let n=yR(),i=_l.getCacheVersion(e,r?.compressionMethod,r?.enableCrossOsArchive),s={key:t,version:i,cacheSize:r?.cacheSize};return yield(0,lo.retryTypedResponse)("reserveCache",()=>Tr(this,void 0,void 0,function*(){return n.postJson(ad("caches"),s)}))})}o(vUe,"reserveCache");function p4(t,e){return`bytes ${t}-${e}/*`}o(p4,"getContentRange");function PUe(t,e,r,n,i){return Tr(this,void 0,void 0,function*(){on.debug(`Uploading chunk of size ${i-n+1} bytes at offset ${n} with content range: ${p4(n,i)}`);let s={"Content-Type":"application/octet-stream","Content-Range":p4(n,i)},a=yield(0,lo.retryHttpClientResponse)(`uploadChunk (start: ${n}, end: ${i})`,()=>Tr(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),s)}));if(!(0,lo.isSuccessStatusCode)(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(PUe,"uploadChunk");function DUe(t,e,r,n){return Tr(this,void 0,void 0,function*(){let i=_l.getArchiveFileSizeInBytes(r),s=ad(`caches/${e.toString()}`),a=fR.openSync(r,"r"),c=(0,gR.getUploadOptions)(n),l=_l.assertDefined("uploadConcurrency",c.uploadConcurrency),A=_l.assertDefined("uploadChunkSize",c.uploadChunkSize),u=[...new Array(l).keys()];on.debug("Awaiting all uploads");let d=0;try{yield Promise.all(u.map(()=>Tr(this,void 0,void 0,function*(){for(;d<i;){let f=Math.min(i-d,A),m=d,C=d+f-1;d+=A,yield PUe(t,s,()=>fR.createReadStream(r,{fd:a,start:m,end:C,autoClose:!1}).on("error",Q=>{throw new Error(`Cache upload failed because file read failed with ${Q.message}`)}),m,C)}})))}finally{fR.closeSync(a)}})}o(DUe,"uploadFile");function TUe(t,e,r){return Tr(this,void 0,void 0,function*(){let n={size:r};return yield(0,lo.retryTypedResponse)("commitCache",()=>Tr(this,void 0,void 0,function*(){return t.postJson(ad(`caches/${e.toString()}`),n)}))})}o(TUe,"commitCache");function OUe(t,e,r,n){return Tr(this,void 0,void 0,function*(){if((0,gR.getUploadOptions)(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield(0,bUe.uploadCacheArchiveSDK)(r,e,n)}else{let s=yR();on.debug("Upload cache"),yield DUe(s,t,e,n),on.debug("Commiting cache");let a=_l.getArchiveFileSizeInBytes(e);on.info(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield TUe(s,t,a);if(!(0,lo.isSuccessStatusCode)(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);on.info("Cache saved successfully")}})}o(OUe,"saveCache")});var By=g(vl=>{"use strict";Object.defineProperty(vl,"__esModule",{value:!0});vl.isJsonObject=vl.typeofJsonValue=void 0;function MUe(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(MUe,"typeofJsonValue");vl.typeofJsonValue=MUe;function kUe(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(kUe,"isJsonObject");vl.isJsonObject=kUe});var by=g(Pl=>{"use strict";Object.defineProperty(Pl,"__esModule",{value:!0});Pl.base64encode=Pl.base64decode=void 0;var ys="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Iy=[];for(let t=0;t<ys.length;t++)Iy[ys[t].charCodeAt(0)]=t;Iy[45]=ys.indexOf("+");Iy[95]=ys.indexOf("/");function LUe(t){let e=t.length*3/4;t[t.length-2]=="="?e-=2:t[t.length-1]=="="&&(e-=1);let r=new Uint8Array(e),n=0,i=0,s,a=0;for(let c=0;c<t.length;c++){if(s=Iy[t.charCodeAt(c)],s===void 0)switch(t[c]){case"=":i=0;case`
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(i){case 0:a=s,i=1;break;case 1:r[n++]=a<<2|(s&48)>>4,a=s,i=2;break;case 2:r[n++]=(a&15)<<4|(s&60)>>2,a=s,i=3;break;case 3:r[n++]=(a&3)<<6|s,i=0;break}}if(i==1)throw Error("invalid base64 string.");return r.subarray(0,n)}o(LUe,"base64decode");Pl.base64decode=LUe;function UUe(t){let e="",r=0,n,i=0;for(let s=0;s<t.length;s++)switch(n=t[s],r){case 0:e+=ys[n>>2],i=(n&3)<<4,r=1;break;case 1:e+=ys[i|n>>4],i=(n&15)<<2,r=2;break;case 2:e+=ys[i|n>>6],e+=ys[n&63],r=0;break}return r&&(e+=ys[i],e+="=",r==1&&(e+="=")),e}o(UUe,"base64encode");Pl.base64encode=UUe});var f4=g(Qy=>{"use strict";Object.defineProperty(Qy,"__esModule",{value:!0});Qy.utf8read=void 0;var CR=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function FUe(t){if(t.length<1)return"";let e=0,r=[],n=[],i=0,s,a=t.length;for(;e<a;)s=t[e++],s<128?n[i++]=s:s>191&&s<224?n[i++]=(s&31)<<6|t[e++]&63:s>239&&s<365?(s=((s&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,n[i++]=55296+(s>>10),n[i++]=56320+(s&1023)):n[i++]=(s&15)<<12|(t[e++]&63)<<6|t[e++]&63,i>8191&&(r.push(CR(n)),i=0);return r.length?(i&&r.push(CR(n.slice(0,i))),r.join("")):CR(n.slice(0,i))}o(FUe,"utf8read");Qy.utf8read=FUe});var cd=g(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});Fi.WireType=Fi.mergeBinaryOptions=Fi.UnknownFieldHandler=void 0;var qUe;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,i,s,a)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:i,wireType:s,data:a})},t.onWrite=(r,n,i)=>{for(let{no:s,wireType:a,data:c}of t.list(n))i.tag(s,a).raw(c)},t.list=(r,n)=>{if(e(r)){let i=r[t.symbol];return n?i.filter(s=>s.no==n):i}return[]},t.last=(r,n)=>t.list(r,n).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})(qUe=Fi.UnknownFieldHandler||(Fi.UnknownFieldHandler={}));function HUe(t,e){return Object.assign(Object.assign({},t),e)}o(HUe,"mergeBinaryOptions");Fi.mergeBinaryOptions=HUe;var zUe;(function(t){t[t.Varint=0]="Varint",t[t.Bit64=1]="Bit64",t[t.LengthDelimited=2]="LengthDelimited",t[t.StartGroup=3]="StartGroup",t[t.EndGroup=4]="EndGroup",t[t.Bit32=5]="Bit32"})(zUe=Fi.WireType||(Fi.WireType={}))});var Ny=g(Mr=>{"use strict";Object.defineProperty(Mr,"__esModule",{value:!0});Mr.varint32read=Mr.varint32write=Mr.int64toString=Mr.int64fromString=Mr.varint64write=Mr.varint64read=void 0;function jUe(){let t=0,e=0;for(let n=0;n<28;n+=7){let i=this.buf[this.pos++];if(t|=(i&127)<<n,!(i&128))return this.assertBounds(),[t,e]}let r=this.buf[this.pos++];if(t|=(r&15)<<28,e=(r&112)>>4,!(r&128))return this.assertBounds(),[t,e];for(let n=3;n<=31;n+=7){let i=this.buf[this.pos++];if(e|=(i&127)<<n,!(i&128))return this.assertBounds(),[t,e]}throw new Error("invalid varint")}o(jUe,"varint64read");Mr.varint64read=jUe;function GUe(t,e,r){for(let s=0;s<28;s=s+7){let a=t>>>s,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let n=t>>>28&15|(e&7)<<4,i=!!(e>>3);if(r.push((i?n|128:n)&255),!!i){for(let s=3;s<31;s=s+7){let a=e>>>s,c=!!(a>>>7),l=(c?a|128:a)&255;if(r.push(l),!c)return}r.push(e>>>31&1)}}o(GUe,"varint64write");Mr.varint64write=GUe;var wy=65536*65536;function YUe(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,i=0;function s(a,c){let l=Number(t.slice(a,c));i*=r,n=n*r+l,n>=wy&&(i=i+(n/wy|0),n=n%wy)}return o(s,"add1e6digit"),s(-24,-18),s(-18,-12),s(-12,-6),s(-6),[e,n,i]}o(YUe,"int64fromString");Mr.int64fromString=YUe;function JUe(t,e){if(e>>>0<=2097151)return""+(wy*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,i=e>>16&65535,s=r+n*6777216+i*6710656,a=n+i*8147497,c=i*2,l=1e7;s>=l&&(a+=Math.floor(s/l),s%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function A(u,d){let f=u?String(u):"";return d?"0000000".slice(f.length)+f:f}return o(A,"decimalFrom1e7"),A(c,0)+A(a,c)+A(s,1)}o(JUe,"int64toString");Mr.int64toString=JUe;function VUe(t,e){if(t>=0){for(;t>127;)e.push(t&127|128),t=t>>>7;e.push(t)}else{for(let r=0;r<9;r++)e.push(t&127|128),t=t>>7;e.push(1)}}o(VUe,"varint32write");Mr.varint32write=VUe;function WUe(){let t=this.buf[this.pos++],e=t&127;if(!(t&128))return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<7,!(t&128))return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<14,!(t&128))return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<21,!(t&128))return this.assertBounds(),e;t=this.buf[this.pos++],e|=(t&15)<<28;for(let r=5;t&128&&r<10;r++)t=this.buf[this.pos++];if(t&128)throw new Error("invalid varint");return this.assertBounds(),e>>>0}o(WUe,"varint32read");Mr.varint32read=WUe});var uo=g(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});Ao.PbLong=Ao.PbULong=Ao.detectBi=void 0;var ld=Ny(),Je;function m4(){let t=new DataView(new ArrayBuffer(8));Je=globalThis.BigInt!==void 0&&typeof t.getBigInt64=="function"&&typeof t.getBigUint64=="function"&&typeof t.setBigInt64=="function"&&typeof t.setBigUint64=="function"?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:t}:void 0}o(m4,"detectBi");Ao.detectBi=m4;m4();function g4(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(g4,"assertBi");var y4=/^-?[0-9]+$/,Sy=4294967296,xy=2147483648,Ry=class{static{o(this,"SharedPbLong")}constructor(e,r){this.lo=e|0,this.hi=r|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*Sy+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},Ad=class t extends Ry{static{o(this,"PbULong")}static from(e){if(Je)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Je.C(e);case"number":if(e===0)return this.ZERO;e=Je.C(e);case"bigint":if(!e)return this.ZERO;if(e<Je.UMIN)throw new Error("signed value for ulong");if(e>Je.UMAX)throw new Error("ulong too large");return Je.V.setBigUint64(0,e,!0),new t(Je.V.getInt32(0,!0),Je.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!y4.test(e))throw new Error("string is no integer");let[r,n,i]=ld.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(n,i);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 t(e,e/Sy)}throw new Error("unknown value "+typeof e)}toString(){return Je?this.toBigInt().toString():ld.int64toString(this.lo,this.hi)}toBigInt(){return g4(Je),Je.V.setInt32(0,this.lo,!0),Je.V.setInt32(4,this.hi,!0),Je.V.getBigUint64(0,!0)}};Ao.PbULong=Ad;Ad.ZERO=new Ad(0,0);var ud=class t extends Ry{static{o(this,"PbLong")}static from(e){if(Je)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Je.C(e);case"number":if(e===0)return this.ZERO;e=Je.C(e);case"bigint":if(!e)return this.ZERO;if(e<Je.MIN)throw new Error("signed long too small");if(e>Je.MAX)throw new Error("signed long too large");return Je.V.setBigInt64(0,e,!0),new t(Je.V.getInt32(0,!0),Je.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!y4.test(e))throw new Error("string is no integer");let[r,n,i]=ld.int64fromString(e);if(r){if(i>xy||i==xy&&n!=0)throw new Error("signed long too small")}else if(i>=xy)throw new Error("signed long too large");let s=new t(n,i);return r?s.negate():s;case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");return e>0?new t(e,e/Sy):new t(-e,-e/Sy).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&xy)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(Je)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+ld.int64toString(e.lo,e.hi)}return ld.int64toString(this.lo,this.hi)}toBigInt(){return g4(Je),Je.V.setInt32(0,this.lo,!0),Je.V.setInt32(4,this.hi,!0),Je.V.getBigInt64(0,!0)}};Ao.PbLong=ud;ud.ZERO=new ud(0,0)});var ER=g(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});Tl.BinaryReader=Tl.binaryReadOptions=void 0;var Dl=cd(),dd=uo(),C4=Ny(),E4={readUnknownField:!0,readerFactory:t=>new _y(t)};function $Ue(t){return t?Object.assign(Object.assign({},E4),t):E4}o($Ue,"binaryReadOptions");Tl.binaryReadOptions=$Ue;var _y=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=C4.varint64read,this.uint32=C4.varint32read,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.textDecoder=r??new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0})}tag(){let e=this.uint32(),r=e>>>3,n=e&7;if(r<=0||n<0||n>5)throw new Error("illegal tag: field no "+r+" wire type "+n);return[r,n]}skip(e){let r=this.pos;switch(e){case Dl.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case Dl.WireType.Bit64:this.pos+=4;case Dl.WireType.Bit32:this.pos+=4;break;case Dl.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case Dl.WireType.StartGroup:let i;for(;(i=this.tag()[1])!==Dl.WireType.EndGroup;)this.skip(i);break;default:throw new Error("cant skip wire type "+e)}return this.assertBounds(),this.buf.subarray(r,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 dd.PbLong(...this.varint64())}uint64(){return new dd.PbULong(...this.varint64())}sint64(){let[e,r]=this.varint64(),n=-(e&1);return e=(e>>>1|(r&1)<<31)^n,r=r>>>1^n,new dd.PbLong(e,r)}bool(){let[e,r]=this.varint64();return e!==0||r!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return new dd.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new dd.PbLong(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let e=this.uint32(),r=this.pos;return this.pos+=e,this.assertBounds(),this.buf.subarray(r,r+e)}string(){return this.textDecoder.decode(this.bytes())}};Tl.BinaryReader=_y});var Ol=g(Dn=>{"use strict";Object.defineProperty(Dn,"__esModule",{value:!0});Dn.assertFloat32=Dn.assertUInt32=Dn.assertInt32=Dn.assertNever=Dn.assert=void 0;function KUe(t,e){if(!t)throw new Error(e)}o(KUe,"assert");Dn.assert=KUe;function XUe(t,e){throw new Error(e??"Unexpected object: "+t)}o(XUe,"assertNever");Dn.assertNever=XUe;var ZUe=34028234663852886e22,eFe=-34028234663852886e22,tFe=4294967295,rFe=2147483647,nFe=-2147483648;function iFe(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>rFe||t<nFe)throw new Error("invalid int 32: "+t)}o(iFe,"assertInt32");Dn.assertInt32=iFe;function sFe(t){if(typeof t!="number")throw new Error("invalid uint 32: "+typeof t);if(!Number.isInteger(t)||t>tFe||t<0)throw new Error("invalid uint 32: "+t)}o(sFe,"assertUInt32");Dn.assertUInt32=sFe;function oFe(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>ZUe||t<eFe))throw new Error("invalid float 32: "+t)}o(oFe,"assertFloat32");Dn.assertFloat32=oFe});var BR=g(kl=>{"use strict";Object.defineProperty(kl,"__esModule",{value:!0});kl.BinaryWriter=kl.binaryWriteOptions=void 0;var pd=uo(),hd=Ny(),Ml=Ol(),B4={writeUnknownFields:!0,writerFactory:()=>new vy};function aFe(t){return t?Object.assign(Object.assign({},B4),t):B4}o(aFe,"binaryWriteOptions");kl.binaryWriteOptions=aFe;var vy=class{static{o(this,"BinaryWriter")}constructor(e){this.stack=[],this.textEncoder=e??new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let i=0;i<this.chunks.length;i++)e+=this.chunks[i].length;let r=new Uint8Array(e),n=0;for(let i=0;i<this.chunks.length;i++)r.set(this.chunks[i],n),n+=this.chunks[i].length;return this.chunks=[],r}fork(){return this.stack.push({chunks:this.chunks,buf:this.buf}),this.chunks=[],this.buf=[],this}join(){let e=this.finish(),r=this.stack.pop();if(!r)throw new Error("invalid state, fork stack empty");return this.chunks=r.chunks,this.buf=r.buf,this.uint32(e.byteLength),this.raw(e)}tag(e,r){return this.uint32((e<<3|r)>>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(Ml.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return Ml.assertInt32(e),hd.varint32write(e,this.buf),this}bool(e){return this.buf.push(e?1:0),this}bytes(e){return this.uint32(e.byteLength),this.raw(e)}string(e){let r=this.textEncoder.encode(e);return this.uint32(r.byteLength),this.raw(r)}float(e){Ml.assertFloat32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setFloat32(0,e,!0),this.raw(r)}double(e){let r=new Uint8Array(8);return new DataView(r.buffer).setFloat64(0,e,!0),this.raw(r)}fixed32(e){Ml.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){Ml.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return Ml.assertInt32(e),e=(e<<1^e>>31)>>>0,hd.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=pd.PbLong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),i=pd.PbULong.from(e);return n.setInt32(0,i.lo,!0),n.setInt32(4,i.hi,!0),this.raw(r)}int64(e){let r=pd.PbLong.from(e);return hd.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=pd.PbLong.from(e),n=r.hi>>31,i=r.lo<<1^n,s=(r.hi<<1|r.lo>>>31)^n;return hd.varint64write(i,s,this.buf),this}uint64(e){let r=pd.PbULong.from(e);return hd.varint64write(r.lo,r.hi,this.buf),this}};kl.BinaryWriter=vy});var IR=g(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.mergeJsonOptions=po.jsonWriteOptions=po.jsonReadOptions=void 0;var I4={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},b4={ignoreUnknownFields:!1};function cFe(t){return t?Object.assign(Object.assign({},b4),t):b4}o(cFe,"jsonReadOptions");po.jsonReadOptions=cFe;function lFe(t){return t?Object.assign(Object.assign({},I4),t):I4}o(lFe,"jsonWriteOptions");po.jsonWriteOptions=lFe;function AFe(t,e){var r,n;let i=Object.assign(Object.assign({},t),e);return i.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(n=e?.typeRegistry)!==null&&n!==void 0?n:[]],i}o(AFe,"mergeJsonOptions");po.mergeJsonOptions=AFe});var fd=g(Py=>{"use strict";Object.defineProperty(Py,"__esModule",{value:!0});Py.MESSAGE_TYPE=void 0;Py.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var bR=g(Dy=>{"use strict";Object.defineProperty(Dy,"__esModule",{value:!0});Dy.lowerCamelCase=void 0;function uFe(t){let e=!1,r=[];for(let n=0;n<t.length;n++){let i=t.charAt(n);i=="_"?e=!0:/\d/.test(i)?(r.push(i),e=!0):e?(r.push(i.toUpperCase()),e=!1):n==0?r.push(i.toLowerCase()):r.push(i)}return r.join("")}o(uFe,"lowerCamelCase");Dy.lowerCamelCase=uFe});var ri=g(Mt=>{"use strict";Object.defineProperty(Mt,"__esModule",{value:!0});Mt.readMessageOption=Mt.readFieldOption=Mt.readFieldOptions=Mt.normalizeFieldInfo=Mt.RepeatType=Mt.LongType=Mt.ScalarType=void 0;var Q4=bR(),dFe;(function(t){t[t.DOUBLE=1]="DOUBLE",t[t.FLOAT=2]="FLOAT",t[t.INT64=3]="INT64",t[t.UINT64=4]="UINT64",t[t.INT32=5]="INT32",t[t.FIXED64=6]="FIXED64",t[t.FIXED32=7]="FIXED32",t[t.BOOL=8]="BOOL",t[t.STRING=9]="STRING",t[t.BYTES=12]="BYTES",t[t.UINT32=13]="UINT32",t[t.SFIXED32=15]="SFIXED32",t[t.SFIXED64=16]="SFIXED64",t[t.SINT32=17]="SINT32",t[t.SINT64=18]="SINT64"})(dFe=Mt.ScalarType||(Mt.ScalarType={}));var pFe;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(pFe=Mt.LongType||(Mt.LongType={}));var w4;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(w4=Mt.RepeatType||(Mt.RepeatType={}));function hFe(t){var e,r,n,i;return t.localName=(e=t.localName)!==null&&e!==void 0?e:Q4.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:Q4.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:w4.NO,t.opt=(i=t.opt)!==null&&i!==void 0?i:t.repeat||t.oneof?!1:t.kind=="message",t}o(hFe,"normalizeFieldInfo");Mt.normalizeFieldInfo=hFe;function fFe(t,e,r,n){var i;let s=(i=t.fields.find((a,c)=>a.localName==e||c==e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(fFe,"readFieldOptions");Mt.readFieldOptions=fFe;function mFe(t,e,r,n){var i;let s=(i=t.fields.find((c,l)=>c.localName==e||l==e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o(mFe,"readFieldOption");Mt.readFieldOption=mFe;function gFe(t,e,r){let i=t.options[e];return i===void 0?i:r?r.fromJson(i):i}o(gFe,"readMessageOption");Mt.readMessageOption=gFe});var QR=g(kr=>{"use strict";Object.defineProperty(kr,"__esModule",{value:!0});kr.getSelectedOneofValue=kr.clearOneofValue=kr.setUnknownOneofValue=kr.setOneofValue=kr.getOneofValue=kr.isOneofGroup=void 0;function yFe(t){if(typeof t!="object"||t===null||!t.hasOwnProperty("oneofKind"))return!1;switch(typeof t.oneofKind){case"string":return t[t.oneofKind]===void 0?!1:Object.keys(t).length==2;case"undefined":return Object.keys(t).length==1;default:return!1}}o(yFe,"isOneofGroup");kr.isOneofGroup=yFe;function CFe(t,e){return t[e]}o(CFe,"getOneofValue");kr.getOneofValue=CFe;function EFe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(EFe,"setOneofValue");kr.setOneofValue=EFe;function BFe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(BFe,"setUnknownOneofValue");kr.setUnknownOneofValue=BFe;function IFe(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(IFe,"clearOneofValue");kr.clearOneofValue=IFe;function bFe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(bFe,"getSelectedOneofValue");kr.getSelectedOneofValue=bFe});var NR=g(Ty=>{"use strict";Object.defineProperty(Ty,"__esModule",{value:!0});Ty.ReflectionTypeCheck=void 0;var Bt=ri(),QFe=QR(),wR=class{static{o(this,"ReflectionTypeCheck")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}prepare(){if(this.data)return;let e=[],r=[],n=[];for(let i of this.fields)if(i.oneof)n.includes(i.oneof)||(n.push(i.oneof),e.push(i.oneof),r.push(i.oneof));else switch(r.push(i.localName),i.kind){case"scalar":case"enum":(!i.opt||i.repeat)&&e.push(i.localName);break;case"message":i.repeat&&e.push(i.localName);break;case"map":e.push(i.localName);break}this.data={req:e,known:r,oneofs:Object.values(n)}}is(e,r,n=!1){if(r<0)return!0;if(e==null||typeof e!="object")return!1;this.prepare();let i=Object.keys(e),s=this.data;if(i.length<s.req.length||s.req.some(a=>!i.includes(a))||!n&&i.some(a=>!s.known.includes(a)))return!1;if(r<1)return!0;for(let a of s.oneofs){let c=e[a];if(!QFe.isOneofGroup(c))return!1;if(c.oneofKind===void 0)continue;let l=this.fields.find(A=>A.localName===c.oneofKind);if(!l||!this.field(c[c.oneofKind],l,n,r))return!1}for(let a of this.fields)if(a.oneof===void 0&&!this.field(e[a.localName],a,n,r))return!1;return!0}field(e,r,n,i){let s=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:s?this.scalars(e,r.T,i,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:s?this.scalars(e,Bt.ScalarType.INT32,i):this.scalar(e,Bt.ScalarType.INT32);case"message":return e===void 0?!0:s?this.messages(e,r.T(),n,i):this.message(e,r.T(),n,i);case"map":if(typeof e!="object"||e===null)return!1;if(i<2)return!0;if(!this.mapKeys(e,r.K,i))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,i,r.V.L);case"enum":return this.scalars(Object.values(e),Bt.ScalarType.INT32,i);case"message":return this.messages(Object.values(e),r.V.T(),n,i)}break}return!0}message(e,r,n,i){return n?r.isAssignable(e,i):r.is(e,i)}messages(e,r,n,i){if(!Array.isArray(e))return!1;if(i<2)return!0;if(n){for(let s=0;s<e.length&&s<i;s++)if(!r.isAssignable(e[s],i-1))return!1}else for(let s=0;s<e.length&&s<i;s++)if(!r.is(e[s],i-1))return!1;return!0}scalar(e,r,n){let i=typeof e;switch(r){case Bt.ScalarType.UINT64:case Bt.ScalarType.FIXED64:case Bt.ScalarType.INT64:case Bt.ScalarType.SFIXED64:case Bt.ScalarType.SINT64:switch(n){case Bt.LongType.BIGINT:return i=="bigint";case Bt.LongType.NUMBER:return i=="number"&&!isNaN(e);default:return i=="string"}case Bt.ScalarType.BOOL:return i=="boolean";case Bt.ScalarType.STRING:return i=="string";case Bt.ScalarType.BYTES:return e instanceof Uint8Array;case Bt.ScalarType.DOUBLE:case Bt.ScalarType.FLOAT:return i=="number"&&!isNaN(e);default:return i=="number"&&Number.isInteger(e)}}scalars(e,r,n,i){if(!Array.isArray(e))return!1;if(n<2)return!0;if(Array.isArray(e)){for(let s=0;s<e.length&&s<n;s++)if(!this.scalar(e[s],r,i))return!1}return!0}mapKeys(e,r,n){let i=Object.keys(e);switch(r){case Bt.ScalarType.INT32:case Bt.ScalarType.FIXED32:case Bt.ScalarType.SFIXED32:case Bt.ScalarType.SINT32:case Bt.ScalarType.UINT32:return this.scalars(i.slice(0,n).map(s=>parseInt(s)),r,n);case Bt.ScalarType.BOOL:return this.scalars(i.slice(0,n).map(s=>s=="true"?!0:s=="false"?!1:s),r,n);default:return this.scalars(i,r,n,Bt.LongType.STRING)}}};Ty.ReflectionTypeCheck=wR});var My=g(Oy=>{"use strict";Object.defineProperty(Oy,"__esModule",{value:!0});Oy.reflectionLongConvert=void 0;var N4=ri();function wFe(t,e){switch(e){case N4.LongType.BIGINT:return t.toBigInt();case N4.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(wFe,"reflectionLongConvert");Oy.reflectionLongConvert=wFe});var SR=g(Uy=>{"use strict";Object.defineProperty(Uy,"__esModule",{value:!0});Uy.ReflectionJsonReader=void 0;var x4=By(),NFe=by(),kt=ri(),ky=uo(),ma=Ol(),Ly=My(),xR=class{static{o(this,"ReflectionJsonReader")}constructor(e){this.info=e}prepare(){var e;if(this.fMap===void 0){this.fMap={};let r=(e=this.info.fields)!==null&&e!==void 0?e:[];for(let n of r)this.fMap[n.name]=n,this.fMap[n.jsonName]=n,this.fMap[n.localName]=n}}assert(e,r,n){if(!e){let i=x4.typeofJsonValue(n);throw(i=="number"||i=="boolean")&&(i=n.toString()),new Error(`Cannot parse JSON ${i} for ${this.info.typeName}#${r}`)}}read(e,r,n){this.prepare();let i=[];for(let[s,a]of Object.entries(e)){let c=this.fMap[s];if(!c){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${s}`);continue}let l=c.localName,A;if(c.oneof){if(a===null&&(c.kind!=="enum"||c.T()[0]!=="google.protobuf.NullValue"))continue;if(i.includes(c.oneof))throw new Error(`Multiple members of the oneof group "${c.oneof}" of ${this.info.typeName} are present in JSON.`);i.push(c.oneof),A=r[c.oneof]={oneofKind:l}}else A=r;if(c.kind=="map"){if(a===null)continue;this.assert(x4.isJsonObject(a),c.name,a);let u=A[l];for(let[d,f]of Object.entries(a)){this.assert(f!==null,c.name+" map value",null);let m;switch(c.V.kind){case"message":m=c.V.T().internalJsonRead(f,n);break;case"enum":if(m=this.enum(c.V.T(),f,c.name,n.ignoreUnknownFields),m===!1)continue;break;case"scalar":m=this.scalar(f,c.V.T,c.V.L,c.name);break}this.assert(m!==void 0,c.name+" map value",f);let C=d;c.K==kt.ScalarType.BOOL&&(C=C=="true"?!0:C=="false"?!1:C),C=this.scalar(C,c.K,kt.LongType.STRING,c.name).toString(),u[C]=m}}else if(c.repeat){if(a===null)continue;this.assert(Array.isArray(a),c.name,a);let u=A[l];for(let d of a){this.assert(d!==null,c.name,null);let f;switch(c.kind){case"message":f=c.T().internalJsonRead(d,n);break;case"enum":if(f=this.enum(c.T(),d,c.name,n.ignoreUnknownFields),f===!1)continue;break;case"scalar":f=this.scalar(d,c.T,c.L,c.name);break}this.assert(f!==void 0,c.name,a),u.push(f)}}else switch(c.kind){case"message":if(a===null&&c.T().typeName!="google.protobuf.Value"){this.assert(c.oneof===void 0,c.name+" (oneof member)",null);continue}A[l]=c.T().internalJsonRead(a,n,A[l]);break;case"enum":if(a===null)continue;let u=this.enum(c.T(),a,c.name,n.ignoreUnknownFields);if(u===!1)continue;A[l]=u;break;case"scalar":if(a===null)continue;A[l]=this.scalar(a,c.T,c.L,c.name);break}}}enum(e,r,n,i){if(e[0]=="google.protobuf.NullValue"&&ma.assert(r===null||r==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`),r===null)return 0;switch(typeof r){case"number":return ma.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${r}.`),r;case"string":let s=r;e[2]&&r.substring(0,e[2].length)===e[2]&&(s=r.substring(e[2].length));let a=e[1][s];return typeof a>"u"&&i?!1:(ma.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}ma.assert(!1,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,n,i){let s;try{switch(r){case kt.ScalarType.DOUBLE:case kt.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===""){s="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){s="extra whitespace";break}if(typeof e!="string"&&typeof e!="number")break;let a=Number(e);if(Number.isNaN(a)){s="not a number";break}if(!Number.isFinite(a)){s="too large or small";break}return r==kt.ScalarType.FLOAT&&ma.assertFloat32(a),a;case kt.ScalarType.INT32:case kt.ScalarType.FIXED32:case kt.ScalarType.SFIXED32:case kt.ScalarType.SINT32:case kt.ScalarType.UINT32:if(e===null)return 0;let c;if(typeof e=="number"?c=e:e===""?s="empty string":typeof e=="string"&&(e.trim().length!==e.length?s="extra whitespace":c=Number(e)),c===void 0)break;return r==kt.ScalarType.UINT32?ma.assertUInt32(c):ma.assertInt32(c),c;case kt.ScalarType.INT64:case kt.ScalarType.SFIXED64:case kt.ScalarType.SINT64:if(e===null)return Ly.reflectionLongConvert(ky.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return Ly.reflectionLongConvert(ky.PbLong.from(e),n);case kt.ScalarType.FIXED64:case kt.ScalarType.UINT64:if(e===null)return Ly.reflectionLongConvert(ky.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return Ly.reflectionLongConvert(ky.PbULong.from(e),n);case kt.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case kt.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){s="extra whitespace";break}try{encodeURIComponent(e)}catch(l){l="invalid UTF8";break}return e;case kt.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return NFe.base64decode(e)}}catch(a){s=a.message}this.assert(!1,i+(s?" - "+s:""),e)}};Uy.ReflectionJsonReader=xR});var _R=g(Fy=>{"use strict";Object.defineProperty(Fy,"__esModule",{value:!0});Fy.ReflectionJsonWriter=void 0;var xFe=by(),S4=uo(),Cr=ri(),ct=Ol(),RR=class{static{o(this,"ReflectionJsonWriter")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let n={},i=e;for(let s of this.fields){if(!s.oneof){let A=this.field(s,i[s.localName],r);A!==void 0&&(n[r.useProtoFieldName?s.name:s.jsonName]=A);continue}let a=i[s.oneof];if(a.oneofKind!==s.localName)continue;let c=s.kind=="scalar"||s.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,l=this.field(s,a[s.localName],c);ct.assert(l!==void 0),n[r.useProtoFieldName?s.name:s.jsonName]=l}return n}field(e,r,n){let i;if(e.kind=="map"){ct.assert(typeof r=="object"&&r!==null);let s={};switch(e.V.kind){case"scalar":for(let[l,A]of Object.entries(r)){let u=this.scalar(e.V.T,A,e.name,!1,!0);ct.assert(u!==void 0),s[l.toString()]=u}break;case"message":let a=e.V.T();for(let[l,A]of Object.entries(r)){let u=this.message(a,A,e.name,n);ct.assert(u!==void 0),s[l.toString()]=u}break;case"enum":let c=e.V.T();for(let[l,A]of Object.entries(r)){ct.assert(A===void 0||typeof A=="number");let u=this.enum(c,A,e.name,!1,!0,n.enumAsInteger);ct.assert(u!==void 0),s[l.toString()]=u}break}(n.emitDefaultValues||Object.keys(s).length>0)&&(i=s)}else if(e.repeat){ct.assert(Array.isArray(r));let s=[];switch(e.kind){case"scalar":for(let l=0;l<r.length;l++){let A=this.scalar(e.T,r[l],e.name,e.opt,!0);ct.assert(A!==void 0),s.push(A)}break;case"enum":let a=e.T();for(let l=0;l<r.length;l++){ct.assert(r[l]===void 0||typeof r[l]=="number");let A=this.enum(a,r[l],e.name,e.opt,!0,n.enumAsInteger);ct.assert(A!==void 0),s.push(A)}break;case"message":let c=e.T();for(let l=0;l<r.length;l++){let A=this.message(c,r[l],e.name,n);ct.assert(A!==void 0),s.push(A)}break}(n.emitDefaultValues||s.length>0||n.emitDefaultValues)&&(i=s)}else switch(e.kind){case"scalar":i=this.scalar(e.T,r,e.name,e.opt,n.emitDefaultValues);break;case"enum":i=this.enum(e.T(),r,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case"message":i=this.message(e.T(),r,e.name,n);break}return i}enum(e,r,n,i,s,a){if(e[0]=="google.protobuf.NullValue")return!s&&!i?void 0:null;if(r===void 0){ct.assert(i);return}if(!(r===0&&!s&&!i))return ct.assert(typeof r=="number"),ct.assert(Number.isInteger(r)),a||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,n,i){return r===void 0?i.emitDefaultValues?null:void 0:e.internalJsonWrite(r,i)}scalar(e,r,n,i,s){if(r===void 0){ct.assert(i);return}let a=s||i;switch(e){case Cr.ScalarType.INT32:case Cr.ScalarType.SFIXED32:case Cr.ScalarType.SINT32:return r===0?a?0:void 0:(ct.assertInt32(r),r);case Cr.ScalarType.FIXED32:case Cr.ScalarType.UINT32:return r===0?a?0:void 0:(ct.assertUInt32(r),r);case Cr.ScalarType.FLOAT:ct.assertFloat32(r);case Cr.ScalarType.DOUBLE:return r===0?a?0:void 0:(ct.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case Cr.ScalarType.STRING:return r===""?a?"":void 0:(ct.assert(typeof r=="string"),r);case Cr.ScalarType.BOOL:return r===!1?a?!1:void 0:(ct.assert(typeof r=="boolean"),r);case Cr.ScalarType.UINT64:case Cr.ScalarType.FIXED64:ct.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=S4.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case Cr.ScalarType.INT64:case Cr.ScalarType.SFIXED64:case Cr.ScalarType.SINT64:ct.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=S4.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case Cr.ScalarType.BYTES:return ct.assert(r instanceof Uint8Array),r.byteLength?xFe.base64encode(r):a?"":void 0}}};Fy.ReflectionJsonWriter=RR});var Hy=g(qy=>{"use strict";Object.defineProperty(qy,"__esModule",{value:!0});qy.reflectionScalarDefault=void 0;var ni=ri(),R4=My(),_4=uo();function SFe(t,e=ni.LongType.STRING){switch(t){case ni.ScalarType.BOOL:return!1;case ni.ScalarType.UINT64:case ni.ScalarType.FIXED64:return R4.reflectionLongConvert(_4.PbULong.ZERO,e);case ni.ScalarType.INT64:case ni.ScalarType.SFIXED64:case ni.ScalarType.SINT64:return R4.reflectionLongConvert(_4.PbLong.ZERO,e);case ni.ScalarType.DOUBLE:case ni.ScalarType.FLOAT:return 0;case ni.ScalarType.BYTES:return new Uint8Array(0);case ni.ScalarType.STRING:return"";default:return 0}}o(SFe,"reflectionScalarDefault");qy.reflectionScalarDefault=SFe});var PR=g(zy=>{"use strict";Object.defineProperty(zy,"__esModule",{value:!0});zy.ReflectionBinaryReader=void 0;var v4=cd(),xt=ri(),md=My(),P4=Hy(),vR=class{static{o(this,"ReflectionBinaryReader")}constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){let r=(e=this.info.fields)!==null&&e!==void 0?e:[];this.fieldNoToField=new Map(r.map(n=>[n.no,n]))}}read(e,r,n,i){this.prepare();let s=i===void 0?e.len:e.pos+i;for(;e.pos<s;){let[a,c]=e.tag(),l=this.fieldNoToField.get(a);if(!l){let f=n.readUnknownField;if(f=="throw")throw new Error(`Unknown field ${a} (wire type ${c}) for ${this.info.typeName}`);let m=e.skip(c);f!==!1&&(f===!0?v4.UnknownFieldHandler.onRead:f)(this.info.typeName,r,a,c,m);continue}let A=r,u=l.repeat,d=l.localName;switch(l.oneof&&(A=A[l.oneof],A.oneofKind!==d&&(A=r[l.oneof]={oneofKind:d})),l.kind){case"scalar":case"enum":let f=l.kind=="enum"?xt.ScalarType.INT32:l.T,m=l.kind=="scalar"?l.L:void 0;if(u){let S=A[d];if(c==v4.WireType.LengthDelimited&&f!=xt.ScalarType.STRING&&f!=xt.ScalarType.BYTES){let w=e.uint32()+e.pos;for(;e.pos<w;)S.push(this.scalar(e,f,m))}else S.push(this.scalar(e,f,m))}else A[d]=this.scalar(e,f,m);break;case"message":if(u){let S=A[d],w=l.T().internalBinaryRead(e,e.uint32(),n);S.push(w)}else A[d]=l.T().internalBinaryRead(e,e.uint32(),n,A[d]);break;case"map":let[C,Q]=this.mapEntry(l,e,n);A[d][C]=Q;break}}}mapEntry(e,r,n){let i=r.uint32(),s=r.pos+i,a,c;for(;r.pos<s;){let[l,A]=r.tag();switch(l){case 1:e.K==xt.ScalarType.BOOL?a=r.bool().toString():a=this.scalar(r,e.K,xt.LongType.STRING);break;case 2:switch(e.V.kind){case"scalar":c=this.scalar(r,e.V.T,e.V.L);break;case"enum":c=r.int32();break;case"message":c=e.V.T().internalBinaryRead(r,r.uint32(),n);break}break;default:throw new Error(`Unknown field ${l} (wire type ${A}) in map entry for ${this.info.typeName}#${e.name}`)}}if(a===void 0){let l=P4.reflectionScalarDefault(e.K);a=e.K==xt.ScalarType.BOOL?l.toString():l}if(c===void 0)switch(e.V.kind){case"scalar":c=P4.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,r,n){switch(r){case xt.ScalarType.INT32:return e.int32();case xt.ScalarType.STRING:return e.string();case xt.ScalarType.BOOL:return e.bool();case xt.ScalarType.DOUBLE:return e.double();case xt.ScalarType.FLOAT:return e.float();case xt.ScalarType.INT64:return md.reflectionLongConvert(e.int64(),n);case xt.ScalarType.UINT64:return md.reflectionLongConvert(e.uint64(),n);case xt.ScalarType.FIXED64:return md.reflectionLongConvert(e.fixed64(),n);case xt.ScalarType.FIXED32:return e.fixed32();case xt.ScalarType.BYTES:return e.bytes();case xt.ScalarType.UINT32:return e.uint32();case xt.ScalarType.SFIXED32:return e.sfixed32();case xt.ScalarType.SFIXED64:return md.reflectionLongConvert(e.sfixed64(),n);case xt.ScalarType.SINT32:return e.sint32();case xt.ScalarType.SINT64:return md.reflectionLongConvert(e.sint64(),n)}}};zy.ReflectionBinaryReader=vR});var TR=g(jy=>{"use strict";Object.defineProperty(jy,"__esModule",{value:!0});jy.ReflectionBinaryWriter=void 0;var an=cd(),Ke=ri(),Ll=Ol(),gd=uo(),DR=class{static{o(this,"ReflectionBinaryWriter")}constructor(e){this.info=e}prepare(){if(!this.fields){let e=this.info.fields?this.info.fields.concat():[];this.fields=e.sort((r,n)=>r.no-n.no)}}write(e,r,n){this.prepare();for(let s of this.fields){let a,c,l=s.repeat,A=s.localName;if(s.oneof){let u=e[s.oneof];if(u.oneofKind!==A)continue;a=u[A],c=!0}else a=e[A],c=!1;switch(s.kind){case"scalar":case"enum":let u=s.kind=="enum"?Ke.ScalarType.INT32:s.T;if(l)if(Ll.assert(Array.isArray(a)),l==Ke.RepeatType.PACKED)this.packed(r,u,s.no,a);else for(let d of a)this.scalar(r,u,s.no,d,!0);else a===void 0?Ll.assert(s.opt):this.scalar(r,u,s.no,a,c||s.opt);break;case"message":if(l){Ll.assert(Array.isArray(a));for(let d of a)this.message(r,n,s.T(),s.no,d)}else this.message(r,n,s.T(),s.no,a);break;case"map":Ll.assert(typeof a=="object"&&a!==null);for(let[d,f]of Object.entries(a))this.mapEntry(r,n,s,d,f);break}}let i=n.writeUnknownFields;i!==!1&&(i===!0?an.UnknownFieldHandler.onWrite:i)(this.info.typeName,e,r)}mapEntry(e,r,n,i,s){e.tag(n.no,an.WireType.LengthDelimited),e.fork();let a=i;switch(n.K){case Ke.ScalarType.INT32:case Ke.ScalarType.FIXED32:case Ke.ScalarType.UINT32:case Ke.ScalarType.SFIXED32:case Ke.ScalarType.SINT32:a=Number.parseInt(i);break;case Ke.ScalarType.BOOL:Ll.assert(i=="true"||i=="false"),a=i=="true";break}switch(this.scalar(e,n.K,1,a,!0),n.V.kind){case"scalar":this.scalar(e,n.V.T,2,s,!0);break;case"enum":this.scalar(e,Ke.ScalarType.INT32,2,s,!0);break;case"message":this.message(e,r,n.V.T(),2,s);break}e.join()}message(e,r,n,i,s){s!==void 0&&(n.internalBinaryWrite(s,e.tag(i,an.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,n,i,s){let[a,c,l]=this.scalarInfo(r,i);(!l||s)&&(e.tag(n,a),e[c](i))}packed(e,r,n,i){if(!i.length)return;Ll.assert(r!==Ke.ScalarType.BYTES&&r!==Ke.ScalarType.STRING),e.tag(n,an.WireType.LengthDelimited),e.fork();let[,s]=this.scalarInfo(r);for(let a=0;a<i.length;a++)e[s](i[a]);e.join()}scalarInfo(e,r){let n=an.WireType.Varint,i,s=r===void 0,a=r===0;switch(e){case Ke.ScalarType.INT32:i="int32";break;case Ke.ScalarType.STRING:a=s||!r.length,n=an.WireType.LengthDelimited,i="string";break;case Ke.ScalarType.BOOL:a=r===!1,i="bool";break;case Ke.ScalarType.UINT32:i="uint32";break;case Ke.ScalarType.DOUBLE:n=an.WireType.Bit64,i="double";break;case Ke.ScalarType.FLOAT:n=an.WireType.Bit32,i="float";break;case Ke.ScalarType.INT64:a=s||gd.PbLong.from(r).isZero(),i="int64";break;case Ke.ScalarType.UINT64:a=s||gd.PbULong.from(r).isZero(),i="uint64";break;case Ke.ScalarType.FIXED64:a=s||gd.PbULong.from(r).isZero(),n=an.WireType.Bit64,i="fixed64";break;case Ke.ScalarType.BYTES:a=s||!r.byteLength,n=an.WireType.LengthDelimited,i="bytes";break;case Ke.ScalarType.FIXED32:n=an.WireType.Bit32,i="fixed32";break;case Ke.ScalarType.SFIXED32:n=an.WireType.Bit32,i="sfixed32";break;case Ke.ScalarType.SFIXED64:a=s||gd.PbLong.from(r).isZero(),n=an.WireType.Bit64,i="sfixed64";break;case Ke.ScalarType.SINT32:i="sint32";break;case Ke.ScalarType.SINT64:a=s||gd.PbLong.from(r).isZero(),i="sint64";break}return[n,i,s||a]}};jy.ReflectionBinaryWriter=DR});var OR=g(Gy=>{"use strict";Object.defineProperty(Gy,"__esModule",{value:!0});Gy.reflectionCreate=void 0;var RFe=Hy(),_Fe=fd();function vFe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},_Fe.MESSAGE_TYPE,{value:t});for(let r of t.fields){let n=r.localName;if(!r.opt)if(r.oneof)e[r.oneof]={oneofKind:void 0};else if(r.repeat)e[n]=[];else switch(r.kind){case"scalar":e[n]=RFe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(vFe,"reflectionCreate");Gy.reflectionCreate=vFe});var MR=g(Yy=>{"use strict";Object.defineProperty(Yy,"__esModule",{value:!0});Yy.reflectionMergePartial=void 0;function PFe(t,e,r){let n,i=r,s;for(let a of t.fields){let c=a.localName;if(a.oneof){let l=i[a.oneof];if(l?.oneofKind==null)continue;if(n=l[c],s=e[a.oneof],s.oneofKind=l.oneofKind,n==null){delete s[c];continue}}else if(n=i[c],s=e,n==null)continue;switch(a.repeat&&(s[c].length=n.length),a.kind){case"scalar":case"enum":if(a.repeat)for(let A=0;A<n.length;A++)s[c][A]=n[A];else s[c]=n;break;case"message":let l=a.T();if(a.repeat)for(let A=0;A<n.length;A++)s[c][A]=l.create(n[A]);else s[c]===void 0?s[c]=l.create(n):l.mergePartial(s[c],n);break;case"map":switch(a.V.kind){case"scalar":case"enum":Object.assign(s[c],n);break;case"message":let A=a.V.T();for(let u of Object.keys(n))s[c][u]=A.create(n[u]);break}break}}}o(PFe,"reflectionMergePartial");Yy.reflectionMergePartial=PFe});var LR=g(Vy=>{"use strict";Object.defineProperty(Vy,"__esModule",{value:!0});Vy.reflectionEquals=void 0;var kR=ri();function DFe(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let n of t.fields){let i=n.localName,s=n.oneof?e[n.oneof][i]:e[i],a=n.oneof?r[n.oneof][i]:r[i];switch(n.kind){case"enum":case"scalar":let c=n.kind=="enum"?kR.ScalarType.INT32:n.T;if(!(n.repeat?D4(c,s,a):O4(c,s,a)))return!1;break;case"map":if(!(n.V.kind=="message"?T4(n.V.T(),Jy(s),Jy(a)):D4(n.V.kind=="enum"?kR.ScalarType.INT32:n.V.T,Jy(s),Jy(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?T4(l,s,a):l.equals(s,a)))return!1;break}}return!0}o(DFe,"reflectionEquals");Vy.reflectionEquals=DFe;var Jy=Object.values;function O4(t,e,r){if(e===r)return!0;if(t!==kR.ScalarType.BYTES)return!1;let n=e,i=r;if(n.length!==i.length)return!1;for(let s=0;s<n.length;s++)if(n[s]!=i[s])return!1;return!0}o(O4,"primitiveEq");function D4(t,e,r){if(e.length!==r.length)return!1;for(let n=0;n<e.length;n++)if(!O4(t,e[n],r[n]))return!1;return!0}o(D4,"repeatedPrimitiveEq");function T4(t,e,r){if(e.length!==r.length)return!1;for(let n=0;n<e.length;n++)if(!t.equals(e[n],r[n]))return!1;return!0}o(T4,"repeatedMsgEq")});var L4=g(Wy=>{"use strict";Object.defineProperty(Wy,"__esModule",{value:!0});Wy.MessageType=void 0;var TFe=fd(),OFe=ri(),MFe=NR(),kFe=SR(),LFe=_R(),UFe=PR(),FFe=TR(),qFe=OR(),UR=MR(),HFe=By(),M4=IR(),zFe=LR(),jFe=BR(),GFe=ER(),k4=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),YFe=k4[TFe.MESSAGE_TYPE]={},FR=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(OFe.normalizeFieldInfo),this.options=n??{},YFe.value=this,this.messagePrototype=Object.create(null,k4),this.refTypeCheck=new MFe.ReflectionTypeCheck(this),this.refJsonReader=new kFe.ReflectionJsonReader(this),this.refJsonWriter=new LFe.ReflectionJsonWriter(this),this.refBinReader=new UFe.ReflectionBinaryReader(this),this.refBinWriter=new FFe.ReflectionBinaryWriter(this)}create(e){let r=qFe.reflectionCreate(this);return e!==void 0&&UR.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return UR.reflectionMergePartial(this,r,e),r}equals(e,r){return zFe.reflectionEquals(this,e,r)}is(e,r=this.defaultCheckDepth){return this.refTypeCheck.is(e,r,!1)}isAssignable(e,r=this.defaultCheckDepth){return this.refTypeCheck.is(e,r,!0)}mergePartial(e,r){UR.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=GFe.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,M4.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,M4.jsonWriteOptions(r))}toJsonString(e,r){var n;let i=this.toJson(e,r);return JSON.stringify(i,null,(n=r?.prettySpaces)!==null&&n!==void 0?n:0)}toBinary(e,r){let n=jFe.binaryWriteOptions(r);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,r,n){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let i=n??this.create();return this.refJsonReader.read(e,i,r),i}throw new Error(`Unable to parse message ${this.typeName} from JSON ${HFe.typeofJsonValue(e)}.`)}internalJsonWrite(e,r){return this.refJsonWriter.write(e,r)}internalBinaryWrite(e,r,n){return this.refBinWriter.write(e,r,n),r}internalBinaryRead(e,r,n,i){let s=i??this.create();return this.refBinReader.read(e,s,n,r),s}};Wy.MessageType=FR});var U4=g($y=>{"use strict";Object.defineProperty($y,"__esModule",{value:!0});$y.containsMessageType=void 0;var JFe=fd();function VFe(t){return t[JFe.MESSAGE_TYPE]!=null}o(VFe,"containsMessageType");$y.containsMessageType=VFe});var q4=g(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.listEnumNumbers=qi.listEnumNames=qi.listEnumValues=qi.isEnumObject=void 0;function F4(t){if(typeof t!="object"||t===null||!t.hasOwnProperty(0))return!1;for(let e of Object.keys(t)){let r=parseInt(e);if(Number.isNaN(r)){let n=t[e];if(n===void 0||typeof n!="number"||t[n]===void 0)return!1}else{let n=t[r];if(n===void 0||t[n]!==r)return!1}}return!0}o(F4,"isEnumObject");qi.isEnumObject=F4;function qR(t){if(!F4(t))throw new Error("not a typescript enum object");let e=[];for(let[r,n]of Object.entries(t))typeof n=="number"&&e.push({name:r,number:n});return e}o(qR,"listEnumValues");qi.listEnumValues=qR;function WFe(t){return qR(t).map(e=>e.name)}o(WFe,"listEnumNames");qi.listEnumNames=WFe;function $Fe(t){return qR(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o($Fe,"listEnumNumbers");qi.listEnumNumbers=$Fe});var St=g(re=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0});var H4=By();Object.defineProperty(re,"typeofJsonValue",{enumerable:!0,get:function(){return H4.typeofJsonValue}});Object.defineProperty(re,"isJsonObject",{enumerable:!0,get:function(){return H4.isJsonObject}});var z4=by();Object.defineProperty(re,"base64decode",{enumerable:!0,get:function(){return z4.base64decode}});Object.defineProperty(re,"base64encode",{enumerable:!0,get:function(){return z4.base64encode}});var KFe=f4();Object.defineProperty(re,"utf8read",{enumerable:!0,get:function(){return KFe.utf8read}});var HR=cd();Object.defineProperty(re,"WireType",{enumerable:!0,get:function(){return HR.WireType}});Object.defineProperty(re,"mergeBinaryOptions",{enumerable:!0,get:function(){return HR.mergeBinaryOptions}});Object.defineProperty(re,"UnknownFieldHandler",{enumerable:!0,get:function(){return HR.UnknownFieldHandler}});var j4=ER();Object.defineProperty(re,"BinaryReader",{enumerable:!0,get:function(){return j4.BinaryReader}});Object.defineProperty(re,"binaryReadOptions",{enumerable:!0,get:function(){return j4.binaryReadOptions}});var G4=BR();Object.defineProperty(re,"BinaryWriter",{enumerable:!0,get:function(){return G4.BinaryWriter}});Object.defineProperty(re,"binaryWriteOptions",{enumerable:!0,get:function(){return G4.binaryWriteOptions}});var Y4=uo();Object.defineProperty(re,"PbLong",{enumerable:!0,get:function(){return Y4.PbLong}});Object.defineProperty(re,"PbULong",{enumerable:!0,get:function(){return Y4.PbULong}});var zR=IR();Object.defineProperty(re,"jsonReadOptions",{enumerable:!0,get:function(){return zR.jsonReadOptions}});Object.defineProperty(re,"jsonWriteOptions",{enumerable:!0,get:function(){return zR.jsonWriteOptions}});Object.defineProperty(re,"mergeJsonOptions",{enumerable:!0,get:function(){return zR.mergeJsonOptions}});var XFe=fd();Object.defineProperty(re,"MESSAGE_TYPE",{enumerable:!0,get:function(){return XFe.MESSAGE_TYPE}});var ZFe=L4();Object.defineProperty(re,"MessageType",{enumerable:!0,get:function(){return ZFe.MessageType}});var ga=ri();Object.defineProperty(re,"ScalarType",{enumerable:!0,get:function(){return ga.ScalarType}});Object.defineProperty(re,"LongType",{enumerable:!0,get:function(){return ga.LongType}});Object.defineProperty(re,"RepeatType",{enumerable:!0,get:function(){return ga.RepeatType}});Object.defineProperty(re,"normalizeFieldInfo",{enumerable:!0,get:function(){return ga.normalizeFieldInfo}});Object.defineProperty(re,"readFieldOptions",{enumerable:!0,get:function(){return ga.readFieldOptions}});Object.defineProperty(re,"readFieldOption",{enumerable:!0,get:function(){return ga.readFieldOption}});Object.defineProperty(re,"readMessageOption",{enumerable:!0,get:function(){return ga.readMessageOption}});var eqe=NR();Object.defineProperty(re,"ReflectionTypeCheck",{enumerable:!0,get:function(){return eqe.ReflectionTypeCheck}});var tqe=OR();Object.defineProperty(re,"reflectionCreate",{enumerable:!0,get:function(){return tqe.reflectionCreate}});var rqe=Hy();Object.defineProperty(re,"reflectionScalarDefault",{enumerable:!0,get:function(){return rqe.reflectionScalarDefault}});var nqe=MR();Object.defineProperty(re,"reflectionMergePartial",{enumerable:!0,get:function(){return nqe.reflectionMergePartial}});var iqe=LR();Object.defineProperty(re,"reflectionEquals",{enumerable:!0,get:function(){return iqe.reflectionEquals}});var sqe=PR();Object.defineProperty(re,"ReflectionBinaryReader",{enumerable:!0,get:function(){return sqe.ReflectionBinaryReader}});var oqe=TR();Object.defineProperty(re,"ReflectionBinaryWriter",{enumerable:!0,get:function(){return oqe.ReflectionBinaryWriter}});var aqe=SR();Object.defineProperty(re,"ReflectionJsonReader",{enumerable:!0,get:function(){return aqe.ReflectionJsonReader}});var cqe=_R();Object.defineProperty(re,"ReflectionJsonWriter",{enumerable:!0,get:function(){return cqe.ReflectionJsonWriter}});var lqe=U4();Object.defineProperty(re,"containsMessageType",{enumerable:!0,get:function(){return lqe.containsMessageType}});var yd=QR();Object.defineProperty(re,"isOneofGroup",{enumerable:!0,get:function(){return yd.isOneofGroup}});Object.defineProperty(re,"setOneofValue",{enumerable:!0,get:function(){return yd.setOneofValue}});Object.defineProperty(re,"getOneofValue",{enumerable:!0,get:function(){return yd.getOneofValue}});Object.defineProperty(re,"clearOneofValue",{enumerable:!0,get:function(){return yd.clearOneofValue}});Object.defineProperty(re,"getSelectedOneofValue",{enumerable:!0,get:function(){return yd.getSelectedOneofValue}});var Ky=q4();Object.defineProperty(re,"listEnumValues",{enumerable:!0,get:function(){return Ky.listEnumValues}});Object.defineProperty(re,"listEnumNames",{enumerable:!0,get:function(){return Ky.listEnumNames}});Object.defineProperty(re,"listEnumNumbers",{enumerable:!0,get:function(){return Ky.listEnumNumbers}});Object.defineProperty(re,"isEnumObject",{enumerable:!0,get:function(){return Ky.isEnumObject}});var Aqe=bR();Object.defineProperty(re,"lowerCamelCase",{enumerable:!0,get:function(){return Aqe.lowerCamelCase}});var Cd=Ol();Object.defineProperty(re,"assert",{enumerable:!0,get:function(){return Cd.assert}});Object.defineProperty(re,"assertNever",{enumerable:!0,get:function(){return Cd.assertNever}});Object.defineProperty(re,"assertInt32",{enumerable:!0,get:function(){return Cd.assertInt32}});Object.defineProperty(re,"assertUInt32",{enumerable:!0,get:function(){return Cd.assertUInt32}});Object.defineProperty(re,"assertFloat32",{enumerable:!0,get:function(){return Cd.assertFloat32}})});var jR=g(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});Hi.readServiceOption=Hi.readMethodOption=Hi.readMethodOptions=Hi.normalizeMethodInfo=void 0;var uqe=St();function dqe(t,e){var r,n,i;let s=t;return s.service=e,s.localName=(r=s.localName)!==null&&r!==void 0?r:uqe.lowerCamelCase(s.name),s.serverStreaming=!!s.serverStreaming,s.clientStreaming=!!s.clientStreaming,s.options=(n=s.options)!==null&&n!==void 0?n:{},s.idempotency=(i=s.idempotency)!==null&&i!==void 0?i:void 0,s}o(dqe,"normalizeMethodInfo");Hi.normalizeMethodInfo=dqe;function pqe(t,e,r,n){var i;let s=(i=t.methods.find((a,c)=>a.localName===e||c===e))===null||i===void 0?void 0:i.options;return s&&s[r]?n.fromJson(s[r]):void 0}o(pqe,"readMethodOptions");Hi.readMethodOptions=pqe;function hqe(t,e,r,n){var i;let s=(i=t.methods.find((c,l)=>c.localName===e||l===e))===null||i===void 0?void 0:i.options;if(!s)return;let a=s[r];return a===void 0?a:n?n.fromJson(a):a}o(hqe,"readMethodOption");Hi.readMethodOption=hqe;function fqe(t,e,r){let n=t.options;if(!n)return;let i=n[e];return i===void 0?i:r?r.fromJson(i):i}o(fqe,"readServiceOption");Hi.readServiceOption=fqe});var J4=g(Xy=>{"use strict";Object.defineProperty(Xy,"__esModule",{value:!0});Xy.ServiceType=void 0;var mqe=jR(),GR=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(i=>mqe.normalizeMethodInfo(i,this)),this.options=n??{}}};Xy.ServiceType=GR});var JR=g(Zy=>{"use strict";Object.defineProperty(Zy,"__esModule",{value:!0});Zy.RpcError=void 0;var YR=class extends Error{static{o(this,"RpcError")}constructor(e,r="UNKNOWN",n){super(e),this.name="RpcError",Object.setPrototypeOf(this,new.target.prototype),this.code=r,this.meta=n??{}}toString(){let e=[this.name+": "+this.message];this.code&&(e.push(""),e.push("Code: "+this.code)),this.serviceName&&this.methodName&&e.push("Method: "+this.serviceName+"/"+this.methodName);let r=Object.entries(this.meta);if(r.length){e.push(""),e.push("Meta:");for(let[n,i]of r)e.push(` ${n}: ${i}`)}return e.join(`
`)}};Zy.RpcError=YR});var VR=g(tC=>{"use strict";Object.defineProperty(tC,"__esModule",{value:!0});tC.mergeRpcOptions=void 0;var V4=St();function gqe(t,e){if(!e)return t;let r={};eC(t,r),eC(e,r);for(let n of Object.keys(e)){let i=e[n];switch(n){case"jsonOptions":r.jsonOptions=V4.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=V4.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},eC(t.meta,r.meta),eC(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(i):i.concat();break}}return r}o(gqe,"mergeRpcOptions");tC.mergeRpcOptions=gqe;function eC(t,e){if(!t)return;let r=e;for(let[n,i]of Object.entries(t))i instanceof Date?r[n]=new Date(i.getTime()):Array.isArray(i)?r[n]=i.concat():r[n]=i}o(eC,"copy")});var $R=g(ya=>{"use strict";Object.defineProperty(ya,"__esModule",{value:!0});ya.Deferred=ya.DeferredState=void 0;var zi;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(zi=ya.DeferredState||(ya.DeferredState={}));var WR=class{static{o(this,"Deferred")}constructor(e=!0){this._state=zi.PENDING,this._promise=new Promise((r,n)=>{this._resolve=r,this._reject=n}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==zi.PENDING)throw new Error(`cannot resolve ${zi[this.state].toLowerCase()}`);this._resolve(e),this._state=zi.RESOLVED}reject(e){if(this.state!==zi.PENDING)throw new Error(`cannot reject ${zi[this.state].toLowerCase()}`);this._reject(e),this._state=zi.REJECTED}resolvePending(e){this._state===zi.PENDING&&this.resolve(e)}rejectPending(e){this._state===zi.PENDING&&this.reject(e)}};ya.Deferred=WR});var XR=g(rC=>{"use strict";Object.defineProperty(rC,"__esModule",{value:!0});rC.RpcOutputStreamController=void 0;var W4=$R(),Ca=St(),KR=class{static{o(this,"RpcOutputStreamController")}constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1,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,r){return r.push(e),()=>{let n=r.indexOf(e);n>=0&&r.splice(n,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,n){Ca.assert((e?1:0)+(r?1:0)+(n?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),n&&this.notifyComplete()}notifyMessage(e){Ca.assert(!this.closed,"stream is closed"),this.pushIt({value:e,done:!1}),this._lis.msg.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(e,void 0,!1))}notifyError(e){Ca.assert(!this.closed,"stream is closed"),this._closed=e,this.pushIt(e),this._lis.err.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(void 0,e,!1)),this.clearLis()}notifyComplete(){Ca.assert(!this.closed,"stream is closed"),this._closed=!0,this.pushIt({value:null,done:!0}),this._lis.cmp.forEach(e=>e()),this._lis.nxt.forEach(e=>e(void 0,void 0,!0)),this.clearLis()}[Symbol.asyncIterator](){return this._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:()=>{let e=this._itState;Ca.assert(e,"bad state"),Ca.assert(!e.p,"iterator contract broken");let r=e.q.shift();return r?"value"in r?Promise.resolve(r):Promise.reject(r):(e.p=new W4.Deferred,e.p.promise)}}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;Ca.assert(n.state==W4.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};rC.RpcOutputStreamController=KR});var e_=g(Ul=>{"use strict";var yqe=Ul&&Ul.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Ul,"__esModule",{value:!0});Ul.UnaryCall=void 0;var ZR=class{static{o(this,"UnaryCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.response=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return yqe(this,void 0,void 0,function*(){let[e,r,n,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:r,status:n,trailers:i}})}};Ul.UnaryCall=ZR});var r_=g(Fl=>{"use strict";var Cqe=Fl&&Fl.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Fl,"__esModule",{value:!0});Fl.ServerStreamingCall=void 0;var t_=class{static{o(this,"ServerStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=i,this.responses=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return Cqe(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:r,trailers:n}})}};Fl.ServerStreamingCall=t_});var i_=g(ql=>{"use strict";var Eqe=ql&&ql.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(ql,"__esModule",{value:!0});ql.ClientStreamingCall=void 0;var n_=class{static{o(this,"ClientStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.response=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return Eqe(this,void 0,void 0,function*(){let[e,r,n,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:r,status:n,trailers:i}})}};ql.ClientStreamingCall=n_});var o_=g(Hl=>{"use strict";var Bqe=Hl&&Hl.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Hl,"__esModule",{value:!0});Hl.DuplexStreamingCall=void 0;var s_=class{static{o(this,"DuplexStreamingCall")}constructor(e,r,n,i,s,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=i,this.responses=s,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return Bqe(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:r,trailers:n}})}};Hl.DuplexStreamingCall=s_});var K4=g(Gl=>{"use strict";var Iqe=Gl&&Gl.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Gl,"__esModule",{value:!0});Gl.TestTransport=void 0;var Tn=JR(),nC=St(),$4=XR(),bqe=VR(),Qqe=e_(),wqe=r_(),Nqe=i_(),xqe=o_(),jl=class t{static{o(this,"TestTransport")}constructor(e){this.suppressUncaughtRejections=!0,this.headerDelay=10,this.responseDelay=50,this.betweenResponseDelay=10,this.afterResponseDelay=10,this.data=e??{}}get sentMessages(){return this.lastInput instanceof zl?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof zl?this.lastInput.completed:typeof this.lastInput=="object"}promiseHeaders(){var e;let r=(e=this.data.headers)!==null&&e!==void 0?e:t.defaultHeaders;return r instanceof Tn.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof Tn.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(nC.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),nC.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return Iqe(this,void 0,void 0,function*(){let i=[];if(this.data.response===void 0)i.push(e.O.create());else if(Array.isArray(this.data.response))for(let s of this.data.response)nC.assert(e.O.is(s)),i.push(s);else this.data.response instanceof Tn.RpcError||(nC.assert(e.O.is(this.data.response)),i.push(this.data.response));try{yield Jt(this.responseDelay,n)(void 0)}catch(s){r.notifyError(s);return}if(this.data.response instanceof Tn.RpcError){r.notifyError(this.data.response);return}for(let s of i){r.notifyMessage(s);try{yield Jt(this.betweenResponseDelay,n)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof Tn.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof Tn.RpcError){r.notifyError(this.data.trailers);return}r.notifyComplete()})}promiseStatus(){var e;let r=(e=this.data.status)!==null&&e!==void 0?e:t.defaultStatus;return r instanceof Tn.RpcError?Promise.reject(r):Promise.resolve(r)}promiseTrailers(){var e;let r=(e=this.data.trailers)!==null&&e!==void 0?e:t.defaultTrailers;return r instanceof Tn.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return bqe.mergeRpcOptions({},e)}unary(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(Jt(this.headerDelay,n.abort)),c=a.catch(u=>{}).then(Jt(this.responseDelay,n.abort)).then(u=>this.promiseSingleResponse(e)),l=c.catch(u=>{}).then(Jt(this.afterResponseDelay,n.abort)).then(u=>this.promiseStatus()),A=c.catch(u=>{}).then(Jt(this.afterResponseDelay,n.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput={single:r},new Qqe.UnaryCall(e,s,r,a,c,l,A)}serverStreaming(e,r,n){var i;let s=(i=n.meta)!==null&&i!==void 0?i:{},a=this.promiseHeaders().then(Jt(this.headerDelay,n.abort)),c=new $4.RpcOutputStreamController,l=a.then(Jt(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,n.abort)).then(Jt(this.afterResponseDelay,n.abort)),A=l.then(()=>this.promiseStatus()),u=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(A,u),this.lastInput={single:r},new wqe.ServerStreamingCall(e,s,r,a,c,A,u)}clientStreaming(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(Jt(this.headerDelay,r.abort)),a=s.catch(A=>{}).then(Jt(this.responseDelay,r.abort)).then(A=>this.promiseSingleResponse(e)),c=a.catch(A=>{}).then(Jt(this.afterResponseDelay,r.abort)).then(A=>this.promiseStatus()),l=a.catch(A=>{}).then(Jt(this.afterResponseDelay,r.abort)).then(A=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new zl(this.data,r.abort),new Nqe.ClientStreamingCall(e,i,this.lastInput,s,a,c,l)}duplex(e,r){var n;let i=(n=r.meta)!==null&&n!==void 0?n:{},s=this.promiseHeaders().then(Jt(this.headerDelay,r.abort)),a=new $4.RpcOutputStreamController,c=s.then(Jt(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(Jt(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),A=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput=new zl(this.data,r.abort),new xqe.DuplexStreamingCall(e,i,this.lastInput,s,a,l,A)}};Gl.TestTransport=jl;jl.defaultHeaders={responseHeader:"test"};jl.defaultStatus={code:"OK",detail:"all good"};jl.defaultTrailers={responseTrailer:"test"};function Jt(t,e){return r=>new Promise((n,i)=>{if(e?.aborted)i(new Tn.RpcError("user cancel","CANCELLED"));else{let s=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(s),i(new Tn.RpcError("user cancel","CANCELLED"))})}})}o(Jt,"delay");var zl=class{static{o(this,"TestInputStream")}constructor(e,r){this._completed=!1,this._sent=[],this.data=e,this.abort=r}get sent(){return this._sent}get completed(){return this._completed}send(e){if(this.data.inputMessage instanceof Tn.RpcError)return Promise.reject(this.data.inputMessage);let r=this.data.inputMessage===void 0?10:this.data.inputMessage;return Promise.resolve(void 0).then(()=>{this._sent.push(e)}).then(Jt(r,this.abort))}complete(){if(this.data.inputComplete instanceof Tn.RpcError)return Promise.reject(this.data.inputComplete);let e=this.data.inputComplete===void 0?10:this.data.inputComplete;return Promise.resolve(void 0).then(()=>{this._completed=!0}).then(Jt(e,this.abort))}}});var X4=g(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.stackDuplexStreamingInterceptors=On.stackClientStreamingInterceptors=On.stackServerStreamingInterceptors=On.stackUnaryInterceptors=On.stackIntercept=void 0;var Sqe=St();function Ed(t,e,r,n,i){var s,a,c,l;if(t=="unary"){let A=o((u,d,f)=>e.unary(u,d,f),"tail");for(let u of((s=n.interceptors)!==null&&s!==void 0?s:[]).filter(d=>d.interceptUnary).reverse()){let d=A;A=o((f,m,C)=>u.interceptUnary(d,f,m,C),"tail")}return A(r,i,n)}if(t=="serverStreaming"){let A=o((u,d,f)=>e.serverStreaming(u,d,f),"tail");for(let u of((a=n.interceptors)!==null&&a!==void 0?a:[]).filter(d=>d.interceptServerStreaming).reverse()){let d=A;A=o((f,m,C)=>u.interceptServerStreaming(d,f,m,C),"tail")}return A(r,i,n)}if(t=="clientStreaming"){let A=o((u,d)=>e.clientStreaming(u,d),"tail");for(let u of((c=n.interceptors)!==null&&c!==void 0?c:[]).filter(d=>d.interceptClientStreaming).reverse()){let d=A;A=o((f,m)=>u.interceptClientStreaming(d,f,m),"tail")}return A(r,n)}if(t=="duplex"){let A=o((u,d)=>e.duplex(u,d),"tail");for(let u of((l=n.interceptors)!==null&&l!==void 0?l:[]).filter(d=>d.interceptDuplex).reverse()){let d=A;A=o((f,m)=>u.interceptDuplex(d,f,m),"tail")}return A(r,n)}Sqe.assertNever(t)}o(Ed,"stackIntercept");On.stackIntercept=Ed;function Rqe(t,e,r,n){return Ed("unary",t,e,n,r)}o(Rqe,"stackUnaryInterceptors");On.stackUnaryInterceptors=Rqe;function _qe(t,e,r,n){return Ed("serverStreaming",t,e,n,r)}o(_qe,"stackServerStreamingInterceptors");On.stackServerStreamingInterceptors=_qe;function vqe(t,e,r){return Ed("clientStreaming",t,e,r)}o(vqe,"stackClientStreamingInterceptors");On.stackClientStreamingInterceptors=vqe;function Pqe(t,e,r){return Ed("duplex",t,e,r)}o(Pqe,"stackDuplexStreamingInterceptors");On.stackDuplexStreamingInterceptors=Pqe});var Z4=g(iC=>{"use strict";Object.defineProperty(iC,"__esModule",{value:!0});iC.ServerCallContextController=void 0;var a_=class{static{o(this,"ServerCallContextController")}constructor(e,r,n,i,s={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=n,this.trailers={},this._sendRH=i,this.status=s}notifyCancelled(){if(!this._cancelled){this._cancelled=!0;for(let e of this._listeners)e()}}sendResponseHeaders(e){this._sendRH(e)}get cancelled(){return this._cancelled}onCancel(e){let r=this._listeners;return r.push(e),()=>{let n=r.indexOf(e);n>=0&&r.splice(n,1)}}};iC.ServerCallContextController=a_});var t8=g(It=>{"use strict";Object.defineProperty(It,"__esModule",{value:!0});var Dqe=J4();Object.defineProperty(It,"ServiceType",{enumerable:!0,get:function(){return Dqe.ServiceType}});var c_=jR();Object.defineProperty(It,"readMethodOptions",{enumerable:!0,get:function(){return c_.readMethodOptions}});Object.defineProperty(It,"readMethodOption",{enumerable:!0,get:function(){return c_.readMethodOption}});Object.defineProperty(It,"readServiceOption",{enumerable:!0,get:function(){return c_.readServiceOption}});var Tqe=JR();Object.defineProperty(It,"RpcError",{enumerable:!0,get:function(){return Tqe.RpcError}});var Oqe=VR();Object.defineProperty(It,"mergeRpcOptions",{enumerable:!0,get:function(){return Oqe.mergeRpcOptions}});var Mqe=XR();Object.defineProperty(It,"RpcOutputStreamController",{enumerable:!0,get:function(){return Mqe.RpcOutputStreamController}});var kqe=K4();Object.defineProperty(It,"TestTransport",{enumerable:!0,get:function(){return kqe.TestTransport}});var e8=$R();Object.defineProperty(It,"Deferred",{enumerable:!0,get:function(){return e8.Deferred}});Object.defineProperty(It,"DeferredState",{enumerable:!0,get:function(){return e8.DeferredState}});var Lqe=o_();Object.defineProperty(It,"DuplexStreamingCall",{enumerable:!0,get:function(){return Lqe.DuplexStreamingCall}});var Uqe=i_();Object.defineProperty(It,"ClientStreamingCall",{enumerable:!0,get:function(){return Uqe.ClientStreamingCall}});var Fqe=r_();Object.defineProperty(It,"ServerStreamingCall",{enumerable:!0,get:function(){return Fqe.ServerStreamingCall}});var qqe=e_();Object.defineProperty(It,"UnaryCall",{enumerable:!0,get:function(){return qqe.UnaryCall}});var Bd=X4();Object.defineProperty(It,"stackIntercept",{enumerable:!0,get:function(){return Bd.stackIntercept}});Object.defineProperty(It,"stackDuplexStreamingInterceptors",{enumerable:!0,get:function(){return Bd.stackDuplexStreamingInterceptors}});Object.defineProperty(It,"stackClientStreamingInterceptors",{enumerable:!0,get:function(){return Bd.stackClientStreamingInterceptors}});Object.defineProperty(It,"stackServerStreamingInterceptors",{enumerable:!0,get:function(){return Bd.stackServerStreamingInterceptors}});Object.defineProperty(It,"stackUnaryInterceptors",{enumerable:!0,get:function(){return Bd.stackUnaryInterceptors}});var Hqe=Z4();Object.defineProperty(It,"ServerCallContextController",{enumerable:!0,get:function(){return Hqe.ServerCallContextController}})});var i8=g(sC=>{"use strict";Object.defineProperty(sC,"__esModule",{value:!0});sC.CacheScope=void 0;var r8=St(),n8=St(),zqe=St(),jqe=St(),Gqe=St(),l_=class extends Gqe.MessageType{static{o(this,"CacheScope$Type")}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){let r={scope:"",permission:"0"};return globalThis.Object.defineProperty(r,jqe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,zqe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.scope=e.string();break;case 2:s.permission=e.int64().toString();break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?n8.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.scope!==""&&r.tag(1,r8.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,r8.WireType.Varint).int64(e.permission);let i=n.writeUnknownFields;return i!==!1&&(i==!0?n8.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};sC.CacheScope=new l_});var a8=g(oC=>{"use strict";Object.defineProperty(oC,"__esModule",{value:!0});oC.CacheMetadata=void 0;var s8=St(),o8=St(),Yqe=St(),Jqe=St(),Vqe=St(),A_=i8(),u_=class extends Vqe.MessageType{static{o(this,"CacheMetadata$Type")}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:()=>A_.CacheScope}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,Jqe.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Yqe.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.repositoryId=e.int64().toString();break;case 2:s.scope.push(A_.CacheScope.internalBinaryRead(e,e.uint32(),n));break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?o8.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.repositoryId!=="0"&&r.tag(1,s8.WireType.Varint).int64(e.repositoryId);for(let s=0;s<e.scope.length;s++)A_.CacheScope.internalBinaryWrite(e.scope[s],r.tag(2,s8.WireType.LengthDelimited).fork(),n).join();let i=n.writeUnknownFields;return i!==!1&&(i==!0?o8.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};oC.CacheMetadata=new u_});var c8=g(bt=>{"use strict";Object.defineProperty(bt,"__esModule",{value:!0});bt.CacheService=bt.GetCacheEntryDownloadURLResponse=bt.GetCacheEntryDownloadURLRequest=bt.FinalizeCacheEntryUploadResponse=bt.FinalizeCacheEntryUploadRequest=bt.CreateCacheEntryResponse=bt.CreateCacheEntryRequest=void 0;var Wqe=t8(),Dt=St(),Mn=St(),Yl=St(),Jl=St(),Vl=St(),Cs=a8(),d_=class extends Vl.MessageType{static{o(this,"CreateCacheEntryRequest$Type")}constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:()=>Cs.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",version:""};return globalThis.Object.defineProperty(r,Jl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Yl.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.metadata=Cs.CacheMetadata.internalBinaryRead(e,e.uint32(),n,s.metadata);break;case 2:s.key=e.string();break;case 3:s.version=e.string();break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?Mn.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.metadata&&Cs.CacheMetadata.internalBinaryWrite(e.metadata,r.tag(1,Dt.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,Dt.WireType.LengthDelimited).string(e.key),e.version!==""&&r.tag(3,Dt.WireType.LengthDelimited).string(e.version);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Mn.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};bt.CreateCacheEntryRequest=new d_;var p_=class extends Vl.MessageType{static{o(this,"CreateCacheEntryResponse$Type")}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){let r={ok:!1,signedUploadUrl:"",message:""};return globalThis.Object.defineProperty(r,Jl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Yl.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.ok=e.bool();break;case 2:s.signedUploadUrl=e.string();break;case 3:s.message=e.string();break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?Mn.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,Dt.WireType.Varint).bool(e.ok),e.signedUploadUrl!==""&&r.tag(2,Dt.WireType.LengthDelimited).string(e.signedUploadUrl),e.message!==""&&r.tag(3,Dt.WireType.LengthDelimited).string(e.message);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Mn.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};bt.CreateCacheEntryResponse=new p_;var h_=class extends Vl.MessageType{static{o(this,"FinalizeCacheEntryUploadRequest$Type")}constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadRequest",[{no:1,name:"metadata",kind:"message",T:()=>Cs.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"size_bytes",kind:"scalar",T:3},{no:4,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",sizeBytes:"0",version:""};return globalThis.Object.defineProperty(r,Jl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Yl.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.metadata=Cs.CacheMetadata.internalBinaryRead(e,e.uint32(),n,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 A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?Mn.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.metadata&&Cs.CacheMetadata.internalBinaryWrite(e.metadata,r.tag(1,Dt.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,Dt.WireType.LengthDelimited).string(e.key),e.sizeBytes!=="0"&&r.tag(3,Dt.WireType.Varint).int64(e.sizeBytes),e.version!==""&&r.tag(4,Dt.WireType.LengthDelimited).string(e.version);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Mn.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};bt.FinalizeCacheEntryUploadRequest=new h_;var f_=class extends Vl.MessageType{static{o(this,"FinalizeCacheEntryUploadResponse$Type")}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){let r={ok:!1,entryId:"0",message:""};return globalThis.Object.defineProperty(r,Jl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Yl.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.ok=e.bool();break;case 2:s.entryId=e.int64().toString();break;case 3:s.message=e.string();break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?Mn.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,Dt.WireType.Varint).bool(e.ok),e.entryId!=="0"&&r.tag(2,Dt.WireType.Varint).int64(e.entryId),e.message!==""&&r.tag(3,Dt.WireType.LengthDelimited).string(e.message);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Mn.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};bt.FinalizeCacheEntryUploadResponse=new f_;var m_=class extends Vl.MessageType{static{o(this,"GetCacheEntryDownloadURLRequest$Type")}constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLRequest",[{no:1,name:"metadata",kind:"message",T:()=>Cs.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"restore_keys",kind:"scalar",repeat:2,T:9},{no:4,name:"version",kind:"scalar",T:9}])}create(e){let r={key:"",restoreKeys:[],version:""};return globalThis.Object.defineProperty(r,Jl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Yl.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.metadata=Cs.CacheMetadata.internalBinaryRead(e,e.uint32(),n,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 A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?Mn.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.metadata&&Cs.CacheMetadata.internalBinaryWrite(e.metadata,r.tag(1,Dt.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,Dt.WireType.LengthDelimited).string(e.key);for(let s=0;s<e.restoreKeys.length;s++)r.tag(3,Dt.WireType.LengthDelimited).string(e.restoreKeys[s]);e.version!==""&&r.tag(4,Dt.WireType.LengthDelimited).string(e.version);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Mn.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};bt.GetCacheEntryDownloadURLRequest=new m_;var g_=class extends Vl.MessageType{static{o(this,"GetCacheEntryDownloadURLResponse$Type")}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){let r={ok:!1,signedDownloadUrl:"",matchedKey:""};return globalThis.Object.defineProperty(r,Jl.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Yl.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,i){let s=i??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:s.ok=e.bool();break;case 2:s.signedDownloadUrl=e.string();break;case 3:s.matchedKey=e.string();break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?Mn.UnknownFieldHandler.onRead:A)(this.typeName,s,c,l,u)}}return s}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,Dt.WireType.Varint).bool(e.ok),e.signedDownloadUrl!==""&&r.tag(2,Dt.WireType.LengthDelimited).string(e.signedDownloadUrl),e.matchedKey!==""&&r.tag(3,Dt.WireType.LengthDelimited).string(e.matchedKey);let i=n.writeUnknownFields;return i!==!1&&(i==!0?Mn.UnknownFieldHandler.onWrite:i)(this.typeName,e,r),r}};bt.GetCacheEntryDownloadURLResponse=new g_;bt.CacheService=new Wqe.ServiceType("github.actions.results.api.v1.CacheService",[{name:"CreateCacheEntry",options:{},I:bt.CreateCacheEntryRequest,O:bt.CreateCacheEntryResponse},{name:"FinalizeCacheEntryUpload",options:{},I:bt.FinalizeCacheEntryUploadRequest,O:bt.FinalizeCacheEntryUploadResponse},{name:"GetCacheEntryDownloadURL",options:{},I:bt.GetCacheEntryDownloadURLRequest,O:bt.GetCacheEntryDownloadURLResponse}])});var l8=g(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.CacheServiceClientProtobuf=Wl.CacheServiceClientJSON=void 0;var kn=c8(),y_=class{static{o(this,"CacheServiceClientJSON")}constructor(e){this.rpc=e,this.CreateCacheEntry.bind(this),this.FinalizeCacheEntryUpload.bind(this),this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){let r=kn.CreateCacheEntryRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",r).then(i=>kn.CreateCacheEntryResponse.fromJson(i,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=kn.FinalizeCacheEntryUploadRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(i=>kn.FinalizeCacheEntryUploadResponse.fromJson(i,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=kn.GetCacheEntryDownloadURLRequest.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(i=>kn.GetCacheEntryDownloadURLResponse.fromJson(i,{ignoreUnknownFields:!0}))}};Wl.CacheServiceClientJSON=y_;var C_=class{static{o(this,"CacheServiceClientProtobuf")}constructor(e){this.rpc=e,this.CreateCacheEntry.bind(this),this.FinalizeCacheEntryUpload.bind(this),this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){let r=kn.CreateCacheEntryRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/protobuf",r).then(i=>kn.CreateCacheEntryResponse.fromBinary(i))}FinalizeCacheEntryUpload(e){let r=kn.FinalizeCacheEntryUploadRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/protobuf",r).then(i=>kn.FinalizeCacheEntryUploadResponse.fromBinary(i))}GetCacheEntryDownloadURL(e){let r=kn.GetCacheEntryDownloadURLRequest.toBinary(e);return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/protobuf",r).then(i=>kn.GetCacheEntryDownloadURLResponse.fromBinary(i))}};Wl.CacheServiceClientProtobuf=C_});var A8=g(cC=>{"use strict";Object.defineProperty(cC,"__esModule",{value:!0});cC.maskSigUrl=E_;cC.maskSecretUrls=$qe;var aC=ft();function E_(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&((0,aC.setSecret)(r),(0,aC.setSecret)(encodeURIComponent(r)))}catch(e){(0,aC.debug)(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(E_,"maskSigUrl");function $qe(t){if(typeof t!="object"||t===null){(0,aC.debug)("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&E_(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&E_(t.signed_download_url)}o($qe,"maskSecretUrls")});var u8=g(Id=>{"use strict";var lC=Id&&Id.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Id,"__esModule",{value:!0});Id.internalCacheTwirpClient=n1e;var Ea=ft(),Kqe=hR(),Ba=cR(),Xqe=Cy(),Zqe=Tc(),e1e=Mh(),$l=qs(),t1e=l8(),r1e=A8(),B_=class{static{o(this,"CacheServiceClient")}constructor(e,r,n,i){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let s=(0,Zqe.getRuntimeToken)();this.baseUrl=(0,Xqe.getCacheServiceURL)(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),i&&(this.retryMultiplier=i),this.httpClient=new $l.HttpClient(e,[new e1e.BearerCredentialHandler(s)])}request(e,r,n,i){return lC(this,void 0,void 0,function*(){let s=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;(0,Ea.debug)(`[Request] ${r} ${s}`);let a={"Content-Type":n};try{let{body:c}=yield this.retryableRequest(()=>lC(this,void 0,void 0,function*(){return this.httpClient.post(s,JSON.stringify(i),a)}));return c}catch(c){throw new Error(`Failed to ${r}: ${c.message}`)}})}retryableRequest(e){return lC(this,void 0,void 0,function*(){let r=0,n="",i="";for(;r<this.maxAttempts;){let s=!1;try{let c=yield e(),l=c.message.statusCode;i=yield c.readBody(),(0,Ea.debug)(`[Response] - ${c.message.statusCode}`),(0,Ea.debug)(`Headers: ${JSON.stringify(c.message.headers,null,2)}`);let A=JSON.parse(i);if((0,r1e.maskSecretUrls)(A),(0,Ea.debug)(`Body: ${JSON.stringify(A,null,2)}`),this.isSuccessStatusCode(l))return{response:c,body:A};if(s=this.isRetryableHttpStatusCode(l),n=`Failed request: (${l}) ${c.message.statusMessage}`,A.msg){if(Ba.UsageError.isUsageErrorMessage(A.msg))throw new Ba.UsageError;n=`${n}: ${A.msg}`}if(l===$l.HttpCodes.TooManyRequests){let u=c.message.headers["retry-after"];if(u){let d=parseInt(u,10);!isNaN(d)&&d>0&&(0,Ea.warning)(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}throw new Ba.RateLimitError(`Rate limited: ${n}`)}}catch(c){if(c instanceof SyntaxError&&(0,Ea.debug)(`Raw Body: ${i}`),c instanceof Ba.UsageError||c instanceof Ba.RateLimitError)throw c;if(Ba.NetworkError.isNetworkErrorCode(c?.code))throw new Ba.NetworkError(c?.code);s=!0,n=c.message}if(!s)throw new Error(`Received non-retryable error: ${n}`);if(r+1===this.maxAttempts)throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${n}`);let a=this.getExponentialRetryTimeMilliseconds(r);(0,Ea.info)(`Attempt ${r+1} of ${this.maxAttempts} failed with error: ${n}. Retrying request in ${a} ms...`),yield this.sleep(a),r++}throw new Error("Request failed")})}isSuccessStatusCode(e){return e?e>=200&&e<300:!1}isRetryableHttpStatusCode(e){return e?[$l.HttpCodes.BadGateway,$l.HttpCodes.GatewayTimeout,$l.HttpCodes.InternalServerError,$l.HttpCodes.ServiceUnavailable].includes(e):!1}sleep(e){return lC(this,void 0,void 0,function*(){return new Promise(r=>setTimeout(r,e))})}getExponentialRetryTimeMilliseconds(e){if(e<0)throw new Error("attempt should be a positive integer");if(e===0)return this.baseRetryIntervalMilliseconds;let r=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,e),n=r*this.retryMultiplier;return Math.trunc(Math.random()*(n-r)+r)}};function n1e(t){let e=new B_((0,Kqe.getUserAgentString)(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new t1e.CacheServiceClientJSON(e)}o(n1e,"internalCacheTwirpClient")});var h8=g(cn=>{"use strict";var i1e=cn&&cn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),s1e=cn&&cn.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),I_=cn&&cn.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&i1e(r,e,n[i]);return s1e(r,e),r}}(),Es=cn&&cn.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(cn,"__esModule",{value:!0});cn.listTar=u1e;cn.extractTar=d1e;cn.createTar=p1e;var o1e=Nc(),AC=I_(au()),d8=require("fs"),ii=I_(require("path")),b_=I_(Tc()),tt=Cu(),ho=process.platform==="win32";function a1e(){return Es(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield b_.getGnuTarPathOnWindows(),e=tt.SystemTarPathOnWindows;if(t)return{path:t,type:tt.ArchiveToolType.GNU};if((0,d8.existsSync)(e))return{path:e,type:tt.ArchiveToolType.BSD};break}case"darwin":{let t=yield AC.which("gtar",!1);return t?{path:t,type:tt.ArchiveToolType.GNU}:{path:yield AC.which("tar",!0),type:tt.ArchiveToolType.BSD}}default:break}return{path:yield AC.which("tar",!0),type:tt.ArchiveToolType.GNU}})}o(a1e,"getTarPath");function c1e(t,e,r){return Es(this,arguments,void 0,function*(n,i,s,a=""){let c=[`"${n.path}"`],l=b_.getCacheFileName(i),A="cache.tar",u=p8(),d=n.type===tt.ArchiveToolType.BSD&&i!==tt.CompressionMethod.Gzip&&ho;switch(s){case"create":c.push("--posix","-cf",d?A:l.replace(new RegExp(`\\${ii.sep}`,"g"),"/"),"--exclude",d?A:l.replace(new RegExp(`\\${ii.sep}`,"g"),"/"),"-P","-C",u.replace(new RegExp(`\\${ii.sep}`,"g"),"/"),"--files-from",tt.ManifestFilename);break;case"extract":c.push("-xf",d?A:a.replace(new RegExp(`\\${ii.sep}`,"g"),"/"),"-P","-C",u.replace(new RegExp(`\\${ii.sep}`,"g"),"/"));break;case"list":c.push("-tf",d?A:a.replace(new RegExp(`\\${ii.sep}`,"g"),"/"),"-P");break}if(n.type===tt.ArchiveToolType.GNU)switch(process.platform){case"win32":c.push("--force-local");break;case"darwin":c.push("--delay-directory-restore");break}return c})}o(c1e,"getTarArgs");function Q_(t,e){return Es(this,arguments,void 0,function*(r,n,i=""){let s,a=yield a1e(),c=yield c1e(a,r,n,i),l=n!=="create"?yield l1e(a,r,i):yield A1e(a,r),A=a.type===tt.ArchiveToolType.BSD&&r!==tt.CompressionMethod.Gzip&&ho;return A&&n!=="create"?s=[[...l].join(" "),[...c].join(" ")]:s=[[...c].join(" "),[...l].join(" ")],A?s:[s.join(" ")]})}o(Q_,"getCommands");function p8(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}o(p8,"getWorkingDirectory");function l1e(t,e,r){return Es(this,void 0,void 0,function*(){let n=t.type===tt.ArchiveToolType.BSD&&e!==tt.CompressionMethod.Gzip&&ho;switch(e){case tt.CompressionMethod.Zstd:return n?["zstd -d --long=30 --force -o",tt.TarFilename,r.replace(new RegExp(`\\${ii.sep}`,"g"),"/")]:["--use-compress-program",ho?'"zstd -d --long=30"':"unzstd --long=30"];case tt.CompressionMethod.ZstdWithoutLong:return n?["zstd -d --force -o",tt.TarFilename,r.replace(new RegExp(`\\${ii.sep}`,"g"),"/")]:["--use-compress-program",ho?'"zstd -d"':"unzstd"];default:return["-z"]}})}o(l1e,"getDecompressionProgram");function A1e(t,e){return Es(this,void 0,void 0,function*(){let r=b_.getCacheFileName(e),n=t.type===tt.ArchiveToolType.BSD&&e!==tt.CompressionMethod.Gzip&&ho;switch(e){case tt.CompressionMethod.Zstd:return n?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${ii.sep}`,"g"),"/"),tt.TarFilename]:["--use-compress-program",ho?'"zstd -T0 --long=30"':"zstdmt --long=30"];case tt.CompressionMethod.ZstdWithoutLong:return n?["zstd -T0 --force -o",r.replace(new RegExp(`\\${ii.sep}`,"g"),"/"),tt.TarFilename]:["--use-compress-program",ho?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(A1e,"getCompressionProgram");function w_(t,e){return Es(this,void 0,void 0,function*(){for(let r of t)try{yield(0,o1e.exec)(r,void 0,{cwd:e,env:Object.assign(Object.assign({},process.env),{MSYS:"winsymlinks:nativestrict"})})}catch(n){throw new Error(`${r.split(" ")[0]} failed with error: ${n?.message}`)}})}o(w_,"execCommands");function u1e(t,e){return Es(this,void 0,void 0,function*(){let r=yield Q_(e,"list",t);yield w_(r)})}o(u1e,"listTar");function d1e(t,e){return Es(this,void 0,void 0,function*(){let r=p8();yield AC.mkdirP(r);let n=yield Q_(e,"extract",t);yield w_(n)})}o(d1e,"extractTar");function p1e(t,e,r){return Es(this,void 0,void 0,function*(){(0,d8.writeFileSync)(ii.join(t,tt.ManifestFilename),e.join(`
`));let n=yield Q_(r,"create");yield w_(n,t)})}o(p1e,"createTar")});var g8=g(Lt=>{"use strict";var h1e=Lt&&Lt.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),f1e=Lt&&Lt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Qd=Lt&&Lt.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&h1e(r,e,n[i]);return f1e(r,e),r}}(),Xl=Lt&&Lt.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Lt,"__esModule",{value:!0});Lt.FinalizeCacheError=Lt.ReserveCacheError=Lt.ValidationError=void 0;Lt.isFeatureAvailable=m1e;Lt.restoreCache=g1e;Lt.saveCache=E1e;var ie=Qd(ft()),uC=Qd(require("path")),lt=Qd(Tc()),Kl=Qd(h4()),f8=Qd(u8()),dC=Cy(),fo=h8(),pC=qs(),Ln=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}};Lt.ValidationError=Ln;var Ia=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}};Lt.ReserveCacheError=Ia;var bd=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};Lt.FinalizeCacheError=bd;function m8(t){if(!t||t.length===0)throw new Ln("Path Validation Error: At least one directory or file path is required")}o(m8,"checkPaths");function N_(t){if(t.length>512)throw new Ln(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Ln(`Key Validation Error: ${t} cannot contain commas.`)}o(N_,"checkKey");function m1e(){switch((0,dC.getCacheServiceVersion)()){case"v2":return!!process.env.ACTIONS_RESULTS_URL;case"v1":default:return!!process.env.ACTIONS_CACHE_URL}}o(m1e,"isFeatureAvailable");function g1e(t,e,r,n){return Xl(this,arguments,void 0,function*(i,s,a,c,l=!1){let A=(0,dC.getCacheServiceVersion)();switch(ie.debug(`Cache service version: ${A}`),m8(i),A){case"v2":return yield C1e(i,s,a,c,l);case"v1":default:return yield y1e(i,s,a,c,l)}})}o(g1e,"restoreCache");function y1e(t,e,r,n){return Xl(this,arguments,void 0,function*(i,s,a,c,l=!1){a=a||[];let A=[s,...a];if(ie.debug("Resolved Keys:"),ie.debug(JSON.stringify(A)),A.length>10)throw new Ln("Key Validation Error: Keys are limited to a maximum of 10.");for(let f of A)N_(f);let u=yield lt.getCompressionMethod(),d="";try{let f=yield Kl.getCacheEntry(A,i,{compressionMethod:u,enableCrossOsArchive:l});if(!f?.archiveLocation)return;if(c?.lookupOnly)return ie.info("Lookup only - skipping download"),f.cacheKey;d=uC.join(yield lt.createTempDirectory(),lt.getCacheFileName(u)),ie.debug(`Archive Path: ${d}`),yield Kl.downloadCache(f.archiveLocation,d,c),ie.isDebug()&&(yield(0,fo.listTar)(d,u));let m=lt.getArchiveFileSizeInBytes(d);return ie.info(`Cache Size: ~${Math.round(m/(1024*1024))} MB (${m} B)`),yield(0,fo.extractTar)(d,u),ie.info("Cache restored successfully"),f.cacheKey}catch(f){let m=f;if(m.name===Ln.name)throw f;m instanceof pC.HttpClientError&&typeof m.statusCode=="number"&&m.statusCode>=500?ie.error(`Failed to restore: ${f.message}`):ie.warning(`Failed to restore: ${f.message}`)}finally{try{yield lt.unlinkFile(d)}catch(f){ie.debug(`Failed to delete archive: ${f}`)}}})}o(y1e,"restoreCacheV1");function C1e(t,e,r,n){return Xl(this,arguments,void 0,function*(i,s,a,c,l=!1){c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let A=[s,...a];if(ie.debug("Resolved Keys:"),ie.debug(JSON.stringify(A)),A.length>10)throw new Ln("Key Validation Error: Keys are limited to a maximum of 10.");for(let d of A)N_(d);let u="";try{let d=f8.internalCacheTwirpClient(),f=yield lt.getCompressionMethod(),m={key:s,restoreKeys:a,version:lt.getCacheVersion(i,f,l)},C=yield d.GetCacheEntryDownloadURL(m);if(!C.ok){ie.debug(`Cache not found for version ${m.version} of keys: ${A.join(", ")}`);return}if(m.key!==C.matchedKey?ie.info(`Cache hit for restore-key: ${C.matchedKey}`):ie.info(`Cache hit for: ${C.matchedKey}`),c?.lookupOnly)return ie.info("Lookup only - skipping download"),C.matchedKey;u=uC.join(yield lt.createTempDirectory(),lt.getCacheFileName(f)),ie.debug(`Archive path: ${u}`),ie.debug(`Starting download of archive to: ${u}`),yield Kl.downloadCache(C.signedDownloadUrl,u,c);let S=lt.getArchiveFileSizeInBytes(u);return ie.info(`Cache Size: ~${Math.round(S/(1024*1024))} MB (${S} B)`),ie.isDebug()&&(yield(0,fo.listTar)(u,f)),yield(0,fo.extractTar)(u,f),ie.info("Cache restored successfully"),C.matchedKey}catch(d){let f=d;if(f.name===Ln.name)throw d;f instanceof pC.HttpClientError&&typeof f.statusCode=="number"&&f.statusCode>=500?ie.error(`Failed to restore: ${d.message}`):ie.warning(`Failed to restore: ${d.message}`)}finally{try{u&&(yield lt.unlinkFile(u))}catch(d){ie.debug(`Failed to delete archive: ${d}`)}}})}o(C1e,"restoreCacheV2");function E1e(t,e,r){return Xl(this,arguments,void 0,function*(n,i,s,a=!1){let c=(0,dC.getCacheServiceVersion)();switch(ie.debug(`Cache service version: ${c}`),m8(n),N_(i),c){case"v2":return yield I1e(n,i,s,a);case"v1":default:return yield B1e(n,i,s,a)}})}o(E1e,"saveCache");function B1e(t,e,r){return Xl(this,arguments,void 0,function*(n,i,s,a=!1){var c,l,A,u,d;let f=yield lt.getCompressionMethod(),m=-1,C=yield lt.resolvePaths(n);if(ie.debug("Cache Paths:"),ie.debug(`${JSON.stringify(C)}`),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.");let Q=yield lt.createTempDirectory(),S=uC.join(Q,lt.getCacheFileName(f));ie.debug(`Archive Path: ${S}`);try{yield(0,fo.createTar)(Q,C,f),ie.isDebug()&&(yield(0,fo.listTar)(S,f));let w=10*1024*1024*1024,R=lt.getArchiveFileSizeInBytes(S);if(ie.debug(`File Size: ${R}`),R>w&&!(0,dC.isGhes)())throw new Error(`Cache size of ~${Math.round(R/(1024*1024))} MB (${R} B) is over the 10GB limit, not saving cache.`);ie.debug("Reserving Cache");let T=yield Kl.reserveCache(i,n,{compressionMethod:f,enableCrossOsArchive:a,cacheSize:R});if(!((c=T?.result)===null||c===void 0)&&c.cacheId)m=(l=T?.result)===null||l===void 0?void 0:l.cacheId;else throw T?.statusCode===400?new Error((u=(A=T?.error)===null||A===void 0?void 0:A.message)!==null&&u!==void 0?u:`Cache size of ~${Math.round(R/(1024*1024))} MB (${R} B) is over the data cap limit, not saving cache.`):new Ia(`Unable to reserve cache with key ${i}, another job may be creating this cache. More details: ${(d=T?.error)===null||d===void 0?void 0:d.message}`);ie.debug(`Saving Cache (ID: ${m})`),yield Kl.saveCache(m,S,"",s)}catch(w){let R=w;if(R.name===Ln.name)throw w;R.name===Ia.name?ie.info(`Failed to save: ${R.message}`):R instanceof pC.HttpClientError&&typeof R.statusCode=="number"&&R.statusCode>=500?ie.error(`Failed to save: ${R.message}`):ie.warning(`Failed to save: ${R.message}`)}finally{try{yield lt.unlinkFile(S)}catch(w){ie.debug(`Failed to delete archive: ${w}`)}}return m})}o(B1e,"saveCacheV1");function I1e(t,e,r){return Xl(this,arguments,void 0,function*(n,i,s,a=!1){s=Object.assign(Object.assign({},s),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let c=yield lt.getCompressionMethod(),l=f8.internalCacheTwirpClient(),A=-1,u=yield lt.resolvePaths(n);if(ie.debug("Cache Paths:"),ie.debug(`${JSON.stringify(u)}`),u.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.");let d=yield lt.createTempDirectory(),f=uC.join(d,lt.getCacheFileName(c));ie.debug(`Archive Path: ${f}`);try{yield(0,fo.createTar)(d,u,c),ie.isDebug()&&(yield(0,fo.listTar)(f,c));let m=lt.getArchiveFileSizeInBytes(f);ie.debug(`File Size: ${m}`),s.archiveSizeBytes=m,ie.debug("Reserving Cache");let C=lt.getCacheVersion(n,c,a),Q={key:i,version:C},S;try{let T=yield l.CreateCacheEntry(Q);if(!T.ok)throw T.message&&ie.warning(`Cache reservation failed: ${T.message}`),new Error(T.message||"Response was not ok");S=T.signedUploadUrl}catch(T){throw ie.debug(`Failed to reserve cache: ${T}`),new Ia(`Unable to reserve cache with key ${i}, another job may be creating this cache.`)}ie.debug(`Attempting to upload cache located at: ${f}`),yield Kl.saveCache(A,f,S,s);let w={key:i,version:C,sizeBytes:`${m}`},R=yield l.FinalizeCacheEntryUpload(w);if(ie.debug(`FinalizeCacheEntryUploadResponse: ${R.ok}`),!R.ok)throw R.message?new bd(R.message):new Error(`Unable to finalize cache with key ${i}, another job may be finalizing this cache.`);A=parseInt(R.entryId)}catch(m){let C=m;if(C.name===Ln.name)throw m;C.name===Ia.name?ie.info(`Failed to save: ${C.message}`):C.name===bd.name?ie.warning(C.message):C instanceof pC.HttpClientError&&typeof C.statusCode=="number"&&C.statusCode>=500?ie.error(`Failed to save: ${C.message}`):ie.warning(`Failed to save: ${C.message}`)}finally{try{yield lt.unlinkFile(f)}catch(m){ie.debug(`Failed to delete archive: ${m}`)}}return A})}o(I1e,"saveCacheV2")});var E8=g((ln,S_)=>{"use strict";var b1e=ln&&ln.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Q1e=ln&&ln.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),w1e=ln&&ln.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&b1e(r,e,n[i]);return Q1e(r,e),r}}(),N1e=ln&&ln.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(ln,"__esModule",{value:!0});ln._findMatch=S1e;ln._getOsVersion=R1e;ln._readLinuxVersionFile=_1e;var y8=w1e(rf()),x_=ft(),C8=require("os"),x1e=require("child_process"),hC=require("fs");function S1e(t,e,r,n){return N1e(this,void 0,void 0,function*(){let i=C8.platform(),s,a,c;for(let l of r){let A=l.version;if((0,x_.debug)(`check ${A} satisfies ${t}`),y8.satisfies(A,t)&&(!e||l.stable===e)&&(c=l.files.find(u=>{(0,x_.debug)(`${u.arch}===${n} && ${u.platform}===${i}`);let d=u.arch===n&&u.platform===i;if(d&&u.platform_version){let f=S_.exports._getOsVersion();f===u.platform_version?d=!0:d=y8.satisfies(f,u.platform_version)}return d}),c)){(0,x_.debug)(`matched ${l.version}`),a=l;break}}return a&&c&&(s=Object.assign({},a),s.files=[c]),s})}o(S1e,"_findMatch");function R1e(){let t=C8.platform(),e="";if(t==="darwin")e=x1e.execSync("sw_vers -productVersion").toString();else if(t==="linux"){let r=S_.exports._readLinuxVersionFile();if(r){let n=r.split(`
`);for(let i of n){let s=i.split("=");if(s.length===2&&(s[0].trim()==="VERSION_ID"||s[0].trim()==="DISTRIB_RELEASE")){e=s[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return e}o(R1e,"_getOsVersion");function _1e(){let t="/etc/lsb-release",e="/etc/os-release",r="";return hC.existsSync(t)?r=hC.readFileSync(t).toString():hC.existsSync(e)&&(r=hC.readFileSync(e).toString()),r}o(_1e,"_readLinuxVersionFile")});var b8=g(Un=>{"use strict";var v1e=Un&&Un.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),P1e=Un&&Un.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),D1e=Un&&Un.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&v1e(r,e,n[i]);return P1e(r,e),r}}(),B8=Un&&Un.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(Un,"__esModule",{value:!0});Un.RetryHelper=void 0;var I8=D1e(ft()),R_=class{static{o(this,"RetryHelper")}constructor(e,r,n){if(e<1)throw new Error("max attempts should be greater than or equal to 1");if(this.maxAttempts=e,this.minSeconds=Math.floor(r),this.maxSeconds=Math.floor(n),this.minSeconds>this.maxSeconds)throw new Error("min seconds should be less than or equal to max seconds")}execute(e,r){return B8(this,void 0,void 0,function*(){let n=1;for(;n<this.maxAttempts;){try{return yield e()}catch(s){if(r&&!r(s))throw s;I8.info(s.message)}let i=this.getSleepAmount();I8.info(`Waiting ${i} seconds before trying again`),yield this.sleep(i),n++}return yield e()})}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(e){return B8(this,void 0,void 0,function*(){return new Promise(r=>setTimeout(r,e*1e3))})}};Un.RetryHelper=R_});var v8=g(rt=>{"use strict";var T1e=rt&&rt.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),O1e=rt&&rt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),oi=rt&&rt.__importStar||function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),i=0;i<n.length;i++)n[i]!=="default"&&T1e(r,e,n[i]);return O1e(r,e),r}}(),Er=rt&&rt.__awaiter||function(t,e,r,n){function i(s){return s instanceof r?s:new r(function(a){a(s)})}return o(i,"adopt"),new(r||(r=Promise))(function(s,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?s(u.value):i(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(rt,"__esModule",{value:!0});rt.HTTPError=void 0;rt.downloadTool=H1e;rt.extract7z=j1e;rt.extractTar=G1e;rt.extractXar=Y1e;rt.extractZip=J1e;rt.cacheDir=$1e;rt.cacheFile=K1e;rt.find=X1e;rt.findAllVersions=N8;rt.getManifestFromRepo=Z1e;rt.findFromManifest=eHe;rt.isExplicitVersion=P_;rt.evaluateVersions=R8;var _e=oi(ft()),An=oi(au()),Q8=oi(require("crypto")),Fn=oi(require("fs")),M1e=oi(E8()),Nd=oi(require("os")),si=oi(require("path")),w8=oi(qs()),Bs=oi(rf()),k1e=oi(require("stream")),L1e=oi(require("util")),Zl=require("assert"),mo=Nc(),U1e=b8(),wd=class extends Error{static{o(this,"HTTPError")}constructor(e){super(`Unexpected HTTP response: ${e}`),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}};rt.HTTPError=wd;var v_=process.platform==="win32",F1e=process.platform==="darwin",q1e="actions/tool-cache";function H1e(t,e,r,n){return Er(this,void 0,void 0,function*(){e=e||si.join(_8(),Q8.randomUUID()),yield An.mkdirP(si.dirname(e)),_e.debug(`Downloading ${t}`),_e.debug(`Destination ${e}`);let i=3,s=__("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=__("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);return yield new U1e.RetryHelper(i,s,a).execute(()=>Er(this,void 0,void 0,function*(){return yield z1e(t,e||"",r,n)}),l=>!(l instanceof wd&&l.httpStatusCode&&l.httpStatusCode<500&&l.httpStatusCode!==408&&l.httpStatusCode!==429))})}o(H1e,"downloadTool");function z1e(t,e,r,n){return Er(this,void 0,void 0,function*(){if(Fn.existsSync(e))throw new Error(`Destination file path ${e} already exists`);let i=new w8.HttpClient(q1e,[],{allowRetries:!1});r&&(_e.debug("set auth"),n===void 0&&(n={}),n.authorization=r);let s=yield i.get(t,n);if(s.message.statusCode!==200){let u=new wd(s.message.statusCode);throw _e.debug(`Failed to download from "${t}". Code(${s.message.statusCode}) Message(${s.message.statusMessage})`),u}let a=L1e.promisify(k1e.pipeline),l=__("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>s.message)(),A=!1;try{return yield a(l,Fn.createWriteStream(e)),_e.debug("download complete"),A=!0,e}finally{if(!A){_e.debug("download failed");try{yield An.rmRF(e)}catch(u){_e.debug(`Failed to delete '${e}'. ${u.message}`)}}}})}o(z1e,"downloadToolAttempt");function j1e(t,e,r){return Er(this,void 0,void 0,function*(){(0,Zl.ok)(v_,"extract7z() not supported on current OS"),(0,Zl.ok)(t,'parameter "file" is required'),e=yield fC(e);let n=process.cwd();if(process.chdir(e),r)try{let s=["x",_e.isDebug()?"-bb1":"-bb0","-bd","-sccUTF-8",t],a={silent:!0};yield(0,mo.exec)(`"${r}"`,s,a)}finally{process.chdir(n)}else{let i=si.join(__dirname,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),s=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),a=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),l=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${i}' -Source '${s}' -Target '${a}'`],A={silent:!0};try{let u=yield An.which("powershell",!0);yield(0,mo.exec)(`"${u}"`,l,A)}finally{process.chdir(n)}}return e})}o(j1e,"extract7z");function G1e(t,e){return Er(this,arguments,void 0,function*(r,n,i="xz"){if(!r)throw new Error("parameter 'file' is required");n=yield fC(n),_e.debug("Checking tar --version");let s="";yield(0,mo.exec)("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:u=>s+=u.toString(),stderr:u=>s+=u.toString()}}),_e.debug(s.trim());let a=s.toUpperCase().includes("GNU TAR"),c;i instanceof Array?c=i:c=[i],_e.isDebug()&&!i.includes("v")&&c.push("-v");let l=n,A=r;return v_&&a&&(c.push("--force-local"),l=n.replace(/\\/g,"/"),A=r.replace(/\\/g,"/")),a&&(c.push("--warning=no-unknown-keyword"),c.push("--overwrite")),c.push("-C",l,"-f",A),yield(0,mo.exec)("tar",c),n})}o(G1e,"extractTar");function Y1e(t,e){return Er(this,arguments,void 0,function*(r,n,i=[]){(0,Zl.ok)(F1e,"extractXar() not supported on current OS"),(0,Zl.ok)(r,'parameter "file" is required'),n=yield fC(n);let s;i instanceof Array?s=i:s=[i],s.push("-x","-C",n,"-f",r),_e.isDebug()&&s.push("-v");let a=yield An.which("xar",!0);return yield(0,mo.exec)(`"${a}"`,tHe(s)),n})}o(Y1e,"extractXar");function J1e(t,e){return Er(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'file' is required");return e=yield fC(e),v_?yield V1e(t,e):yield W1e(t,e),e})}o(J1e,"extractZip");function V1e(t,e){return Er(this,void 0,void 0,function*(){let r=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=yield An.which("pwsh",!1);if(i){let a=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$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(" ")];_e.debug(`Using pwsh at path: ${i}`),yield(0,mo.exec)(`"${i}"`,a)}else{let a=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$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(" ")],c=yield An.which("powershell",!0);_e.debug(`Using powershell at path: ${c}`),yield(0,mo.exec)(`"${c}"`,a)}})}o(V1e,"extractZipWin");function W1e(t,e){return Er(this,void 0,void 0,function*(){let r=yield An.which("unzip",!0),n=[t];_e.isDebug()||n.unshift("-q"),n.unshift("-o"),yield(0,mo.exec)(`"${r}"`,n,{cwd:e})})}o(W1e,"extractZipNix");function $1e(t,e,r,n){return Er(this,void 0,void 0,function*(){if(r=Bs.clean(r)||r,n=n||Nd.arch(),_e.debug(`Caching tool ${e} ${r} ${n}`),_e.debug(`source dir: ${t}`),!Fn.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let i=yield x8(e,r,n);for(let s of Fn.readdirSync(t)){let a=si.join(t,s);yield An.cp(a,i,{recursive:!0})}return S8(e,r,n),i})}o($1e,"cacheDir");function K1e(t,e,r,n,i){return Er(this,void 0,void 0,function*(){if(n=Bs.clean(n)||n,i=i||Nd.arch(),_e.debug(`Caching tool ${r} ${n} ${i}`),_e.debug(`source file: ${t}`),!Fn.statSync(t).isFile())throw new Error("sourceFile is not a file");let s=yield x8(r,n,i),a=si.join(s,e);return _e.debug(`destination file ${a}`),yield An.cp(t,a),S8(r,n,i),s})}o(K1e,"cacheFile");function X1e(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||Nd.arch(),!P_(e)){let i=N8(t,r);e=R8(i,e)}let n="";if(e){e=Bs.clean(e)||"";let i=si.join(mC(),t,e,r);_e.debug(`checking cache: ${i}`),Fn.existsSync(i)&&Fn.existsSync(`${i}.complete`)?(_e.debug(`Found tool in cache ${t} ${e} ${r}`),n=i):_e.debug("not found")}return n}o(X1e,"find");function N8(t,e){let r=[];e=e||Nd.arch();let n=si.join(mC(),t);if(Fn.existsSync(n)){let i=Fn.readdirSync(n);for(let s of i)if(P_(s)){let a=si.join(n,s,e||"");Fn.existsSync(a)&&Fn.existsSync(`${a}.complete`)&&r.push(s)}}return r}o(N8,"findAllVersions");function Z1e(t,e,r){return Er(this,arguments,void 0,function*(n,i,s,a="master"){let c=[],l=`https://api.github.com/repos/${n}/${i}/git/trees/${a}`,A=new w8.HttpClient("tool-cache"),u={};s&&(_e.debug("set auth"),u.authorization=s);let d=yield A.getJson(l,u);if(!d.result)return c;let f="";for(let C of d.result.tree)if(C.path==="versions-manifest.json"){f=C.url;break}u.accept="application/vnd.github.VERSION.raw";let m=yield(yield A.get(f,u)).readBody();if(m){m=m.replace(/^\uFEFF/,"");try{c=JSON.parse(m)}catch{_e.debug("Invalid json")}}return c})}o(Z1e,"getManifestFromRepo");function eHe(t,e,r){return Er(this,arguments,void 0,function*(n,i,s,a=Nd.arch()){return yield M1e._findMatch(n,i,s,a)})}o(eHe,"findFromManifest");function fC(t){return Er(this,void 0,void 0,function*(){return t||(t=si.join(_8(),Q8.randomUUID())),yield An.mkdirP(t),t})}o(fC,"_createExtractFolder");function x8(t,e,r){return Er(this,void 0,void 0,function*(){let n=si.join(mC(),t,Bs.clean(e)||e,r||"");_e.debug(`destination ${n}`);let i=`${n}.complete`;return yield An.rmRF(n),yield An.rmRF(i),yield An.mkdirP(n),n})}o(x8,"_createToolPath");function S8(t,e,r){let i=`${si.join(mC(),t,Bs.clean(e)||e,r||"")}.complete`;Fn.writeFileSync(i,""),_e.debug("finished caching tool")}o(S8,"_completeToolPath");function P_(t){let e=Bs.clean(t)||"";_e.debug(`isExplicit: ${e}`);let r=Bs.valid(e)!=null;return _e.debug(`explicit? ${r}`),r}o(P_,"isExplicitVersion");function R8(t,e){let r="";_e.debug(`evaluating ${t.length} versions`),t=t.sort((n,i)=>Bs.gt(n,i)?1:-1);for(let n=t.length-1;n>=0;n--){let i=t[n];if(Bs.satisfies(i,e)){r=i;break}}return r?_e.debug(`matched: ${r}`):_e.debug("match not found"),r}o(R8,"evaluateVersions");function mC(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,Zl.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(mC,"_getCacheDirectory");function _8(){let t=process.env.RUNNER_TEMP||"";return(0,Zl.ok)(t,"Expected RUNNER_TEMP to be defined"),t}o(_8,"_getTempDirectory");function __(t,e){let r=global[t];return r!==void 0?r:e}o(__,"_getGlobal");function tHe(t){return Array.from(new Set(t))}o(tHe,"_unique")});var D8=g((hXe,P8)=>{"use strict";var ba=class t extends Error{static{o(this,"ParserError")}constructor(e,r,n){super("[ParserError] "+e,r,n),this.name="ParserError",this.code="ParserError",Error.captureStackTrace&&Error.captureStackTrace(this,t)}},gC=class{static{o(this,"State")}constructor(e){this.parser=e,this.buf="",this.returned=null,this.result=null,this.resultTable=null,this.resultArr=null}},xd=class{static{o(this,"Parser")}constructor(){this.pos=0,this.col=0,this.line=0,this.obj={},this.ctx=this.obj,this.stack=[],this._buf="",this.char=null,this.ii=0,this.state=new gC(this.parseStart)}parse(e){if(e.length===0||e.length==null)return;this._buf=String(e),this.ii=-1,this.char=-1;let r;for(;r===!1||this.nextChar();)r=this.runOne();this._buf=null}nextChar(){return this.char===10&&(++this.line,this.col=-1),++this.ii,this.char=this._buf.codePointAt(this.ii),++this.pos,++this.col,this.haveBuffer()}haveBuffer(){return this.ii<this._buf.length}runOne(){return this.state.parser.call(this,this.state.returned)}finish(){this.char=1114112;let e;do e=this.state.parser,this.runOne();while(this.state.parser!==e);return this.ctx=null,this.state=null,this._buf=null,this.obj}next(e){if(typeof e!="function")throw new ba("Tried to set state to non-existent state: "+JSON.stringify(e));this.state.parser=e}goto(e){return this.next(e),this.runOne()}call(e,r){r&&this.next(r),this.stack.push(this.state),this.state=new gC(e)}callNow(e,r){return this.call(e,r),this.runOne()}return(e){if(this.stack.length===0)throw this.error(new ba("Stack underflow"));e===void 0&&(e=this.state.buf),this.state=this.stack.pop(),this.state.returned=e}returnNow(e){return this.return(e),this.runOne()}consume(){if(this.char===1114112)throw this.error(new ba("Unexpected end-of-buffer"));this.state.buf+=this._buf[this.ii]}error(e){return e.line=this.line,e.col=this.col,e.pos=this.pos,e}parseStart(){throw new ba("Must declare a parseStart method")}};xd.END=1114112;xd.Error=ba;P8.exports=xd});var O8=g((mXe,T8)=>{"use strict";T8.exports=t=>{let e=new Date(t);if(isNaN(e))throw new TypeError("Invalid Datetime");return e}});var yC=g((gXe,M8)=>{"use strict";M8.exports=(t,e)=>{for(e=String(e);e.length<t;)e="0"+e;return e}});var L8=g((yXe,k8)=>{"use strict";var eA=yC(),D_=class extends Date{static{o(this,"FloatingDateTime")}constructor(e){super(e+"Z"),this.isFloating=!0}toISOString(){let e=`${this.getUTCFullYear()}-${eA(2,this.getUTCMonth()+1)}-${eA(2,this.getUTCDate())}`,r=`${eA(2,this.getUTCHours())}:${eA(2,this.getUTCMinutes())}:${eA(2,this.getUTCSeconds())}.${eA(3,this.getUTCMilliseconds())}`;return`${e}T${r}`}};k8.exports=t=>{let e=new D_(t);if(isNaN(e))throw new TypeError("Invalid Datetime");return e}});var q8=g((EXe,F8)=>{"use strict";var U8=yC(),rHe=global.Date,T_=class extends rHe{static{o(this,"Date")}constructor(e){super(e),this.isDate=!0}toISOString(){return`${this.getUTCFullYear()}-${U8(2,this.getUTCMonth()+1)}-${U8(2,this.getUTCDate())}`}};F8.exports=t=>{let e=new T_(t);if(isNaN(e))throw new TypeError("Invalid Datetime");return e}});var z8=g((IXe,H8)=>{"use strict";var CC=yC(),O_=class extends Date{static{o(this,"Time")}constructor(e){super(`0000-01-01T${e}Z`),this.isTime=!0}toISOString(){return`${CC(2,this.getUTCHours())}:${CC(2,this.getUTCMinutes())}:${CC(2,this.getUTCSeconds())}.${CC(3,this.getUTCMilliseconds())}`}};H8.exports=t=>{let e=new O_(t);if(isNaN(e))throw new TypeError("Invalid Datetime");return e}});var EC=g((exports,module)=>{"use strict";module.exports=makeParserClass(D8());module.exports.makeParserClass=makeParserClass;var TomlError=class t extends Error{static{o(this,"TomlError")}constructor(e){super(e),this.name="TomlError",Error.captureStackTrace&&Error.captureStackTrace(this,t),this.fromTOML=!0,this.wrapped=null}};TomlError.wrap=t=>{let e=new TomlError(t.message);return e.code=t.code,e.wrapped=t,e};module.exports.TomlError=TomlError;var createDateTime=O8(),createDateTimeFloat=L8(),createDate=q8(),createTime=z8(),CTRL_I=9,CTRL_J=10,CTRL_M=13,CTRL_CHAR_BOUNDARY=31,CHAR_SP=32,CHAR_QUOT=34,CHAR_NUM=35,CHAR_APOS=39,CHAR_PLUS=43,CHAR_COMMA=44,CHAR_HYPHEN=45,CHAR_PERIOD=46,CHAR_0=48,CHAR_1=49,CHAR_7=55,CHAR_9=57,CHAR_COLON=58,CHAR_EQUALS=61,CHAR_A=65,CHAR_E=69,CHAR_F=70,CHAR_T=84,CHAR_U=85,CHAR_Z=90,CHAR_LOWBAR=95,CHAR_a=97,CHAR_b=98,CHAR_e=101,CHAR_f=102,CHAR_i=105,CHAR_l=108,CHAR_n=110,CHAR_o=111,CHAR_r=114,CHAR_s=115,CHAR_t=116,CHAR_u=117,CHAR_x=120,CHAR_z=122,CHAR_LCUB=123,CHAR_RCUB=125,CHAR_LSQB=91,CHAR_BSOL=92,CHAR_RSQB=93,CHAR_DEL=127,SURROGATE_FIRST=55296,SURROGATE_LAST=57343,escapes={[CHAR_b]:"\b",[CHAR_t]:" ",[CHAR_n]:`
`,[CHAR_f]:"\f",[CHAR_r]:"\r",[CHAR_QUOT]:'"',[CHAR_BSOL]:"\\"};function isDigit(t){return t>=CHAR_0&&t<=CHAR_9}o(isDigit,"isDigit");function isHexit(t){return t>=CHAR_A&&t<=CHAR_F||t>=CHAR_a&&t<=CHAR_f||t>=CHAR_0&&t<=CHAR_9}o(isHexit,"isHexit");function isBit(t){return t===CHAR_1||t===CHAR_0}o(isBit,"isBit");function isOctit(t){return t>=CHAR_0&&t<=CHAR_7}o(isOctit,"isOctit");function isAlphaNumQuoteHyphen(t){return t>=CHAR_A&&t<=CHAR_Z||t>=CHAR_a&&t<=CHAR_z||t>=CHAR_0&&t<=CHAR_9||t===CHAR_APOS||t===CHAR_QUOT||t===CHAR_LOWBAR||t===CHAR_HYPHEN}o(isAlphaNumQuoteHyphen,"isAlphaNumQuoteHyphen");function isAlphaNumHyphen(t){return t>=CHAR_A&&t<=CHAR_Z||t>=CHAR_a&&t<=CHAR_z||t>=CHAR_0&&t<=CHAR_9||t===CHAR_LOWBAR||t===CHAR_HYPHEN}o(isAlphaNumHyphen,"isAlphaNumHyphen");var _type=Symbol("type"),_declared=Symbol("declared"),hasOwnProperty=Object.prototype.hasOwnProperty,defineProperty=Object.defineProperty,descriptor={configurable:!0,enumerable:!0,writable:!0,value:void 0};function hasKey(t,e){return hasOwnProperty.call(t,e)?!0:(e==="__proto__"&&defineProperty(t,"__proto__",descriptor),!1)}o(hasKey,"hasKey");var INLINE_TABLE=Symbol("inline-table");function InlineTable(){return Object.defineProperties({},{[_type]:{value:INLINE_TABLE}})}o(InlineTable,"InlineTable");function isInlineTable(t){return t===null||typeof t!="object"?!1:t[_type]===INLINE_TABLE}o(isInlineTable,"isInlineTable");var TABLE=Symbol("table");function Table(){return Object.defineProperties({},{[_type]:{value:TABLE},[_declared]:{value:!1,writable:!0}})}o(Table,"Table");function isTable(t){return t===null||typeof t!="object"?!1:t[_type]===TABLE}o(isTable,"isTable");var _contentType=Symbol("content-type"),INLINE_LIST=Symbol("inline-list");function InlineList(t){return Object.defineProperties([],{[_type]:{value:INLINE_LIST},[_contentType]:{value:t}})}o(InlineList,"InlineList");function isInlineList(t){return t===null||typeof t!="object"?!1:t[_type]===INLINE_LIST}o(isInlineList,"isInlineList");var LIST=Symbol("list");function List(){return Object.defineProperties([],{[_type]:{value:LIST}})}o(List,"List");function isList(t){return t===null||typeof t!="object"?!1:t[_type]===LIST}o(isList,"isList");var _custom;try{let utilInspect=eval("require('util').inspect");_custom=utilInspect.custom}catch(t){}var _inspect=_custom||"inspect",BoxedBigInt=class{static{o(this,"BoxedBigInt")}constructor(e){try{this.value=global.BigInt.asIntN(64,e)}catch{this.value=null}Object.defineProperty(this,_type,{value:INTEGER})}isNaN(){return this.value===null}toString(){return String(this.value)}[_inspect](){return`[BigInt: ${this.toString()}]}`}valueOf(){return this.value}},INTEGER=Symbol("integer");function Integer(t){let e=Number(t);return Object.is(e,-0)&&(e=0),global.BigInt&&!Number.isSafeInteger(e)?new BoxedBigInt(t):Object.defineProperties(new Number(e),{isNaN:{value:function(){return isNaN(this)}},[_type]:{value:INTEGER},[_inspect]:{value:()=>`[Integer: ${t}]`}})}o(Integer,"Integer");function isInteger(t){return t===null||typeof t!="object"?!1:t[_type]===INTEGER}o(isInteger,"isInteger");var FLOAT=Symbol("float");function Float(t){return Object.defineProperties(new Number(t),{[_type]:{value:FLOAT},[_inspect]:{value:()=>`[Float: ${t}]`}})}o(Float,"Float");function isFloat(t){return t===null||typeof t!="object"?!1:t[_type]===FLOAT}o(isFloat,"isFloat");function tomlType(t){let e=typeof t;if(e==="object"){if(t===null)return"null";if(t instanceof Date)return"datetime";if(_type in t)switch(t[_type]){case INLINE_TABLE:return"inline-table";case INLINE_LIST:return"inline-list";case TABLE:return"table";case LIST:return"list";case FLOAT:return"float";case INTEGER:return"integer"}}return e}o(tomlType,"tomlType");function makeParserClass(t){class e extends t{static{o(this,"TOMLParser")}constructor(){super(),this.ctx=this.obj=Table()}atEndOfWord(){return this.char===CHAR_NUM||this.char===CTRL_I||this.char===CHAR_SP||this.atEndOfLine()}atEndOfLine(){return this.char===t.END||this.char===CTRL_J||this.char===CTRL_M}parseStart(){if(this.char===t.END)return null;if(this.char===CHAR_LSQB)return this.call(this.parseTableOrList);if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(isAlphaNumQuoteHyphen(this.char))return this.callNow(this.parseAssignStatement);throw this.error(new TomlError(`Unknown character "${this.char}"`))}parseWhitespaceToEOL(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(this.char===CHAR_NUM)return this.goto(this.parseComment);if(this.char===t.END||this.char===CTRL_J)return this.return();throw this.error(new TomlError("Unexpected character, expected only whitespace or comments till end of line"))}parseAssignStatement(){return this.callNow(this.parseAssign,this.recordAssignStatement)}recordAssignStatement(n){let i=this.ctx,s=n.key.pop();for(let a of n.key){if(hasKey(i,a)&&(!isTable(i[a])||i[a][_declared]))throw this.error(new TomlError("Can't redefine existing key"));i=i[a]=i[a]||Table()}if(hasKey(i,s))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(n.value)||isFloat(n.value)?i[s]=n.value.valueOf():i[s]=n.value,this.goto(this.parseWhitespaceToEOL)}parseAssign(){return this.callNow(this.parseKeyword,this.recordAssignKeyword)}recordAssignKeyword(n){return this.state.resultTable?this.state.resultTable.push(n):this.state.resultTable=[n],this.goto(this.parseAssignKeywordPreDot)}parseAssignKeywordPreDot(){if(this.char===CHAR_PERIOD)return this.next(this.parseAssignKeywordPostDot);if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.goto(this.parseAssignEqual)}parseAssignKeywordPostDot(){if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.callNow(this.parseKeyword,this.recordAssignKeyword)}parseAssignEqual(){if(this.char===CHAR_EQUALS)return this.next(this.parseAssignPreValue);throw this.error(new TomlError('Invalid character, expected "="'))}parseAssignPreValue(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseValue,this.recordAssignValue)}recordAssignValue(n){return this.returnNow({key:this.state.resultTable,value:n})}parseComment(){do if(this.char===t.END||this.char===CTRL_J)return this.return();while(this.nextChar())}parseTableOrList(){if(this.char===CHAR_LSQB)this.next(this.parseList);else return this.goto(this.parseTable)}parseTable(){return this.ctx=this.obj,this.goto(this.parseTableNext)}parseTableNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseTableMore)}parseTableMore(n){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,n)&&(!isTable(this.ctx[n])||this.ctx[n][_declared]))throw this.error(new TomlError("Can't redefine existing key"));return this.ctx=this.ctx[n]=this.ctx[n]||Table(),this.ctx[_declared]=!0,this.next(this.parseWhitespaceToEOL)}else if(this.char===CHAR_PERIOD){if(!hasKey(this.ctx,n))this.ctx=this.ctx[n]=Table();else if(isTable(this.ctx[n]))this.ctx=this.ctx[n];else if(isList(this.ctx[n]))this.ctx=this.ctx[n][this.ctx[n].length-1];else throw this.error(new TomlError("Can't redefine existing key"));return this.next(this.parseTableNext)}else throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}parseList(){return this.ctx=this.obj,this.goto(this.parseListNext)}parseListNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseListMore)}parseListMore(n){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,n)||(this.ctx[n]=List()),isInlineList(this.ctx[n]))throw this.error(new TomlError("Can't extend an inline array"));if(isList(this.ctx[n])){let i=Table();this.ctx[n].push(i),this.ctx=i}else throw this.error(new TomlError("Can't redefine an existing key"));return this.next(this.parseListEnd)}else if(this.char===CHAR_PERIOD){if(!hasKey(this.ctx,n))this.ctx=this.ctx[n]=Table();else{if(isInlineList(this.ctx[n]))throw this.error(new TomlError("Can't extend an inline array"));if(isInlineTable(this.ctx[n]))throw this.error(new TomlError("Can't extend an inline table"));if(isList(this.ctx[n]))this.ctx=this.ctx[n][this.ctx[n].length-1];else if(isTable(this.ctx[n]))this.ctx=this.ctx[n];else throw this.error(new TomlError("Can't redefine an existing key"))}return this.next(this.parseListNext)}else throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}parseListEnd(n){if(this.char===CHAR_RSQB)return this.next(this.parseWhitespaceToEOL);throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"))}parseValue(){if(this.char===t.END)throw this.error(new TomlError("Key without value"));if(this.char===CHAR_QUOT)return this.next(this.parseDoubleString);if(this.char===CHAR_APOS)return this.next(this.parseSingleString);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)return this.goto(this.parseNumberSign);if(this.char===CHAR_i)return this.next(this.parseInf);if(this.char===CHAR_n)return this.next(this.parseNan);if(isDigit(this.char))return this.goto(this.parseNumberOrDateTime);if(this.char===CHAR_t||this.char===CHAR_f)return this.goto(this.parseBoolean);if(this.char===CHAR_LSQB)return this.call(this.parseInlineList,this.recordValue);if(this.char===CHAR_LCUB)return this.call(this.parseInlineTable,this.recordValue);throw this.error(new TomlError("Unexpected character, expecting string, number, datetime, boolean, inline array or inline table"))}recordValue(n){return this.returnNow(n)}parseInf(){if(this.char===CHAR_n)return this.next(this.parseInf2);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'))}parseInf2(){if(this.char===CHAR_f)return this.state.buf==="-"?this.return(-1/0):this.return(1/0);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'))}parseNan(){if(this.char===CHAR_a)return this.next(this.parseNan2);throw this.error(new TomlError('Unexpected character, expected "nan"'))}parseNan2(){if(this.char===CHAR_n)return this.return(NaN);throw this.error(new TomlError('Unexpected character, expected "nan"'))}parseKeyword(){return this.char===CHAR_QUOT?this.next(this.parseBasicString):this.char===CHAR_APOS?this.next(this.parseLiteralString):this.goto(this.parseBareKey)}parseBareKey(){do{if(this.char===t.END)throw this.error(new TomlError("Key ended without value"));if(isAlphaNumHyphen(this.char))this.consume();else{if(this.state.buf.length===0)throw this.error(new TomlError("Empty bare keys are not allowed"));return this.returnNow()}}while(this.nextChar())}parseSingleString(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiStringMaybe):this.goto(this.parseLiteralString)}parseLiteralString(){do{if(this.char===CHAR_APOS)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}parseLiteralMultiStringMaybe(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiString):this.returnNow()}parseLiteralMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseLiteralMultiStringContent):this.goto(this.parseLiteralMultiStringContent)}parseLiteralMultiStringContent(){do{if(this.char===CHAR_APOS)return this.next(this.parseLiteralMultiEnd);if(this.char===t.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}parseLiteralMultiEnd(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiEnd2):(this.state.buf+="'",this.goto(this.parseLiteralMultiStringContent))}parseLiteralMultiEnd2(){return this.char===CHAR_APOS?this.return():(this.state.buf+="''",this.goto(this.parseLiteralMultiStringContent))}parseDoubleString(){return this.char===CHAR_QUOT?this.next(this.parseMultiStringMaybe):this.goto(this.parseBasicString)}parseBasicString(){do{if(this.char===CHAR_BSOL)return this.call(this.parseEscape,this.recordEscapeReplacement);if(this.char===CHAR_QUOT)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}recordEscapeReplacement(n){return this.state.buf+=n,this.goto(this.parseBasicString)}parseMultiStringMaybe(){return this.char===CHAR_QUOT?this.next(this.parseMultiString):this.returnNow()}parseMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseMultiStringContent):this.goto(this.parseMultiStringContent)}parseMultiStringContent(){do{if(this.char===CHAR_BSOL)return this.call(this.parseMultiEscape,this.recordMultiEscapeReplacement);if(this.char===CHAR_QUOT)return this.next(this.parseMultiEnd);if(this.char===t.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();this.consume()}while(this.nextChar())}errorControlCharInString(){let n="\\u00";return this.char<16&&(n+="0"),n+=this.char.toString(16),this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${n} instead`))}recordMultiEscapeReplacement(n){return this.state.buf+=n,this.goto(this.parseMultiStringContent)}parseMultiEnd(){return this.char===CHAR_QUOT?this.next(this.parseMultiEnd2):(this.state.buf+='"',this.goto(this.parseMultiStringContent))}parseMultiEnd2(){return this.char===CHAR_QUOT?this.return():(this.state.buf+='""',this.goto(this.parseMultiStringContent))}parseMultiEscape(){return this.char===CTRL_M||this.char===CTRL_J?this.next(this.parseMultiTrim):this.char===CHAR_SP||this.char===CTRL_I?this.next(this.parsePreMultiTrim):this.goto(this.parseEscape)}parsePreMultiTrim(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CTRL_M||this.char===CTRL_J)return this.next(this.parseMultiTrim);throw this.error(new TomlError("Can't escape whitespace"))}parseMultiTrim(){return this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M?null:this.returnNow()}parseEscape(){if(this.char in escapes)return this.return(escapes[this.char]);if(this.char===CHAR_u)return this.call(this.parseSmallUnicode,this.parseUnicodeReturn);if(this.char===CHAR_U)return this.call(this.parseLargeUnicode,this.parseUnicodeReturn);throw this.error(new TomlError("Unknown escape character: "+this.char))}parseUnicodeReturn(n){try{let i=parseInt(n,16);if(i>=SURROGATE_FIRST&&i<=SURROGATE_LAST)throw this.error(new TomlError("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved"));return this.returnNow(String.fromCodePoint(i))}catch(i){throw this.error(TomlError.wrap(i))}}parseSmallUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=4)return this.return()}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"))}parseLargeUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=8)return this.return()}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"))}parseNumberSign(){return this.consume(),this.next(this.parseMaybeSignedInfOrNan)}parseMaybeSignedInfOrNan(){return this.char===CHAR_i?this.next(this.parseInf):this.char===CHAR_n?this.next(this.parseNan):this.callNow(this.parseNoUnder,this.parseNumberIntegerStart)}parseNumberIntegerStart(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberIntegerExponentOrDecimal)):this.goto(this.parseNumberInteger)}parseNumberIntegerExponentOrDecimal(){return this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Integer(this.state.buf))}parseNumberInteger(){if(isDigit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);{let n=Integer(this.state.buf);if(n.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(n)}}}parseNoUnder(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD||this.char===CHAR_E||this.char===CHAR_e)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow()}parseNoUnderHexOctBinLiteral(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow()}parseNumberFloat(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberFloat);if(isDigit(this.char))this.consume();else return this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Float(this.state.buf))}parseNumberExponentSign(){if(isDigit(this.char))return this.goto(this.parseNumberExponent);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.call(this.parseNoUnder,this.parseNumberExponent);else throw this.error(new TomlError("Unexpected character, expected -, + or digit"))}parseNumberExponent(){if(isDigit(this.char))this.consume();else return this.char===CHAR_LOWBAR?this.call(this.parseNoUnder):this.returnNow(Float(this.state.buf))}parseNumberOrDateTime(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberBaseOrDateTime)):this.goto(this.parseNumberOrDateTimeOnly)}parseNumberOrDateTimeOnly(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberInteger);if(isDigit(this.char))this.consume(),this.state.buf.length>4&&this.next(this.parseNumberInteger);else return this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_HYPHEN?this.goto(this.parseDateTime):this.char===CHAR_COLON?this.goto(this.parseOnlyTimeHour):this.returnNow(Integer(this.state.buf))}parseDateTimeOnly(){if(this.state.buf.length<4){if(isDigit(this.char))return this.consume();if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);throw this.error(new TomlError("Expected digit while parsing year part of a date"))}else{if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);throw this.error(new TomlError("Expected hyphen (-) while parsing year part of date"))}}parseNumberBaseOrDateTime(){return this.char===CHAR_b?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerBin)):this.char===CHAR_o?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerOct)):this.char===CHAR_x?(this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerHex)):this.char===CHAR_PERIOD?this.goto(this.parseNumberInteger):isDigit(this.char)?this.goto(this.parseDateTimeOnly):this.returnNow(Integer(this.state.buf))}parseIntegerHex(){if(isHexit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);{let n=Integer(this.state.buf);if(n.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(n)}}}parseIntegerOct(){if(isOctit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);{let n=Integer(this.state.buf);if(n.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(n)}}}parseIntegerBin(){if(isBit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);{let n=Integer(this.state.buf);if(n.isNaN())throw this.error(new TomlError("Invalid number"));return this.returnNow(n)}}}parseDateTime(){if(this.state.buf.length<4)throw this.error(new TomlError("Years less than 1000 must be zero padded to four characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseDateMonth)}parseDateMonth(){if(this.char===CHAR_HYPHEN){if(this.state.buf.length<2)throw this.error(new TomlError("Months less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseDateDay)}else if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"))}parseDateDay(){if(this.char===CHAR_T||this.char===CHAR_SP){if(this.state.buf.length<2)throw this.error(new TomlError("Days less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseStartTimeHour)}else{if(this.atEndOfWord())return this.returnNow(createDate(this.state.result+"-"+this.state.buf));if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"))}}parseStartTimeHour(){return this.atEndOfWord()?this.returnNow(createDate(this.state.result)):this.goto(this.parseTimeHour)}parseTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result+="T"+this.state.buf,this.state.buf="",this.next(this.parseTimeMin)}else if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"))}parseTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else{if(this.state.buf.length===2&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeSec);throw this.error(new TomlError("Incomplete datetime"))}}parseTimeSec(){if(isDigit(this.char)){if(this.consume(),this.state.buf.length===2)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeZoneOrFraction)}else throw this.error(new TomlError("Incomplete datetime"))}parseOnlyTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeMin)}else throw this.error(new TomlError("Incomplete time"))}parseOnlyTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else{if(this.state.buf.length===2&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeSec);throw this.error(new TomlError("Incomplete time"))}}parseOnlyTimeSec(){if(isDigit(this.char)){if(this.consume(),this.state.buf.length===2)return this.next(this.parseOnlyTimeFractionMaybe)}else throw this.error(new TomlError("Incomplete time"))}parseOnlyTimeFractionMaybe(){if(this.state.result+=":"+this.state.buf,this.char===CHAR_PERIOD)this.state.buf="",this.next(this.parseOnlyTimeFraction);else return this.return(createTime(this.state.result))}parseOnlyTimeFraction(){if(isDigit(this.char))this.consume();else if(this.atEndOfWord()){if(this.state.buf.length===0)throw this.error(new TomlError("Expected digit in milliseconds"));return this.returnNow(createTime(this.state.result+"."+this.state.buf))}else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}parseTimeZoneOrFraction(){if(this.char===CHAR_PERIOD)this.consume(),this.next(this.parseDateTimeFraction);else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else{if(this.char===CHAR_Z)return this.consume(),this.return(createDateTime(this.state.result+this.state.buf));if(this.atEndOfWord())return this.returnNow(createDateTimeFloat(this.state.result+this.state.buf));throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}}parseDateTimeFraction(){if(isDigit(this.char))this.consume();else{if(this.state.buf.length===1)throw this.error(new TomlError("Expected digit in milliseconds"));if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else{if(this.char===CHAR_Z)return this.consume(),this.return(createDateTime(this.state.result+this.state.buf));if(this.atEndOfWord())return this.returnNow(createDateTimeFloat(this.state.result+this.state.buf));throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"))}}}parseTimeZoneHour(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.next(this.parseTimeZoneSep)}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"))}parseTimeZoneSep(){if(this.char===CHAR_COLON)this.consume(),this.next(this.parseTimeZoneMin);else throw this.error(new TomlError("Unexpected character in datetime, expected colon"))}parseTimeZoneMin(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.return(createDateTime(this.state.result+this.state.buf))}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"))}parseBoolean(){if(this.char===CHAR_t)return this.consume(),this.next(this.parseTrue_r);if(this.char===CHAR_f)return this.consume(),this.next(this.parseFalse_a)}parseTrue_r(){if(this.char===CHAR_r)return this.consume(),this.next(this.parseTrue_u);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseTrue_u(){if(this.char===CHAR_u)return this.consume(),this.next(this.parseTrue_e);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseTrue_e(){if(this.char===CHAR_e)return this.return(!0);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_a(){if(this.char===CHAR_a)return this.consume(),this.next(this.parseFalse_l);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_l(){if(this.char===CHAR_l)return this.consume(),this.next(this.parseFalse_s);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_s(){if(this.char===CHAR_s)return this.consume(),this.next(this.parseFalse_e);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseFalse_e(){if(this.char===CHAR_e)return this.return(!1);throw this.error(new TomlError("Invalid boolean, expected true or false"))}parseInlineList(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===t.END)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_NUM?this.call(this.parseComment):this.char===CHAR_RSQB?this.return(this.state.resultArr||InlineList()):this.callNow(this.parseValue,this.recordInlineListValue)}recordInlineListValue(n){if(this.state.resultArr){let i=this.state.resultArr[_contentType],s=tomlType(n);if(i!==s)throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${i} and ${s}`))}else this.state.resultArr=InlineList(tomlType(n));return isFloat(n)||isInteger(n)?this.state.resultArr.push(n.valueOf()):this.state.resultArr.push(n),this.goto(this.parseInlineListNext)}parseInlineListNext(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CHAR_COMMA)return this.next(this.parseInlineList);if(this.char===CHAR_RSQB)return this.goto(this.parseInlineList);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"))}parseInlineTable(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===t.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_RCUB?this.return(this.state.resultTable||InlineTable()):(this.state.resultTable||(this.state.resultTable=InlineTable()),this.callNow(this.parseAssign,this.recordInlineTableValue))}recordInlineTableValue(n){let i=this.state.resultTable,s=n.key.pop();for(let a of n.key){if(hasKey(i,a)&&(!isTable(i[a])||i[a][_declared]))throw this.error(new TomlError("Can't redefine existing key"));i=i[a]=i[a]||Table()}if(hasKey(i,s))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(n.value)||isFloat(n.value)?i[s]=n.value.valueOf():i[s]=n.value,this.goto(this.parseInlineTableNext)}parseInlineTableNext(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===t.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));if(this.char===CHAR_COMMA)return this.next(this.parseInlineTable);if(this.char===CHAR_RCUB)return this.goto(this.parseInlineTable);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"))}}return e}o(makeParserClass,"makeParserClass")});var BC=g((wXe,j8)=>{"use strict";j8.exports=nHe;function nHe(t,e){if(t.pos==null||t.line==null)return t;let r=t.message;if(r+=` at row ${t.line+1}, col ${t.col+1}, pos ${t.pos}:
`,e&&e.split){let n=e.split(/\n/),i=String(Math.min(n.length,t.line+3)).length,s=" ";for(;s.length<i;)s+=" ";for(let a=Math.max(0,t.line-1);a<Math.min(n.length,t.line+2);++a){let c=String(a+1);if(c.length<i&&(c=" "+c),t.line===a){r+=c+"> "+n[a]+`
`,r+=s+" ";for(let l=0;l<t.col;++l)r+=" ";r+=`^
`}else r+=c+": "+n[a]+`
`}}return t.message=r+`
`,t}o(nHe,"prettyError")});var Y8=g((xXe,G8)=>{"use strict";G8.exports=oHe;var iHe=EC(),sHe=BC();function oHe(t){global.Buffer&&global.Buffer.isBuffer(t)&&(t=t.toString("utf8"));let e=new iHe;try{return e.parse(t),e.finish()}catch(r){throw sHe(r,t)}}o(oHe,"parseString")});var W8=g((RXe,V8)=>{"use strict";V8.exports=cHe;var aHe=EC(),J8=BC();function cHe(t,e){e||(e={});let r=0,n=e.blocksize||40960,i=new aHe;return new Promise((a,c)=>{setImmediate(s,r,n,a,c)});function s(a,c,l,A){if(a>=t.length)try{return l(i.finish())}catch(u){return A(J8(u,t))}try{i.parse(t.slice(a,a+c)),setImmediate(s,a+c,c,l,A)}catch(u){A(J8(u,t))}}}o(cHe,"parseAsync")});var X8=g((vXe,K8)=>{"use strict";K8.exports=AHe;var lHe=require("stream"),$8=EC();function AHe(t){return t?uHe(t):dHe(t)}o(AHe,"parseStream");function uHe(t){let e=new $8;return t.setEncoding("utf8"),new Promise((r,n)=>{let i,s=!1,a=!1;function c(){if(s=!0,!i)try{r(e.finish())}catch(u){n(u)}}o(c,"finish");function l(u){a=!0,n(u)}o(l,"error"),t.once("end",c),t.once("error",l),A();function A(){i=!0;let u;for(;(u=t.read())!==null;)try{e.parse(u)}catch(d){return l(d)}if(i=!1,s)return c();a||t.once("readable",A)}o(A,"readNext")})}o(uHe,"parseReadable");function dHe(){let t=new $8;return new lHe.Transform({objectMode:!0,transform(e,r,n){try{t.parse(e.toString(r))}catch(i){this.emit("error",i)}n()},flush(e){try{this.push(t.finish())}catch(r){this.emit("error",r)}e()}})}o(dHe,"parseTransform")});var Z8=g((DXe,Sd)=>{"use strict";Sd.exports=Y8();Sd.exports.async=W8();Sd.exports.stream=X8();Sd.exports.prettyError=BC()});var a5=g((TXe,L_)=>{"use strict";L_.exports=pHe;L_.exports.value=k_;function pHe(t){if(t===null)throw Qa("null");if(t===void 0)throw Qa("undefined");if(typeof t!="object")throw Qa(typeof t);if(typeof t.toJSON=="function"&&(t=t.toJSON()),t==null)return null;let e=Lr(t);if(e!=="table")throw Qa(e);return M_("","",t)}o(pHe,"stringify");function Qa(t){return new Error("Can only stringify objects, not "+t)}o(Qa,"typeError");function hHe(){return new Error("Array values can't have mixed types")}o(hHe,"arrayOneTypeError");function e5(t){return Object.keys(t).filter(e=>t5(t[e]))}o(e5,"getInlineKeys");function fHe(t){return Object.keys(t).filter(e=>!t5(t[e]))}o(fHe,"getComplexKeys");function IC(t){let e=Array.isArray(t)?[]:Object.prototype.hasOwnProperty.call(t,"__proto__")?{["__proto__"]:void 0}:{};for(let r of Object.keys(t))t[r]&&typeof t[r].toJSON=="function"&&!("toISOString"in t[r])?e[r]=t[r].toJSON():e[r]=t[r];return e}o(IC,"toJSON");function M_(t,e,r){r=IC(r);var n,i;n=e5(r),i=fHe(r);var s=[],a=e||"";n.forEach(l=>{var A=Lr(r[l]);A!=="undefined"&&A!=="null"&&s.push(a+bC(l)+" = "+i5(r[l],!0))}),s.length>0&&s.push("");var c=t&&n.length>0?e+" ":"";return i.forEach(l=>{s.push(NHe(t,c,l,r[l]))}),s.join(`
`)}o(M_,"stringifyObject");function t5(t){switch(Lr(t)){case"undefined":case"null":case"integer":case"nan":case"float":case"boolean":case"string":case"datetime":return!0;case"array":return t.length===0||Lr(t[0])!=="table";case"table":return Object.keys(t).length===0;default:return!1}}o(t5,"isInline");function Lr(t){return t===void 0?"undefined":t===null?"null":typeof t=="bigint"||Number.isInteger(t)&&!Object.is(t,-0)?"integer":typeof t=="number"?"float":typeof t=="boolean"?"boolean":typeof t=="string"?"string":"toISOString"in t?isNaN(t)?"undefined":"datetime":Array.isArray(t)?"array":"table"}o(Lr,"tomlType");function bC(t){var e=String(t);return/^[-A-Za-z0-9_]+$/.test(e)?e:r5(e)}o(bC,"stringifyKey");function r5(t){return'"'+n5(t).replace(/"/g,'\\"')+'"'}o(r5,"stringifyBasicString");function mHe(t){return"'"+t+"'"}o(mHe,"stringifyLiteralString");function gHe(t,e){for(;e.length<t;)e="0"+e;return e}o(gHe,"numpad");function n5(t){return t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/([\u0000-\u001f\u007f])/,e=>"\\u"+gHe(4,e.codePointAt(0).toString(16)))}o(n5,"escapeString");function yHe(t){let e=t.split(/\n/).map(r=>n5(r).replace(/"(?="")/g,'\\"')).join(`
`);return e.slice(-1)==='"'&&(e+=`\\
`),`"""
`+e+'"""'}o(yHe,"stringifyMultilineString");function i5(t,e){let r=Lr(t);return r==="string"&&(e&&/\n/.test(t)?r="string-multiline":!/[\b\t\n\f\r']/.test(t)&&/"/.test(t)&&(r="string-literal")),k_(t,r)}o(i5,"stringifyAnyInline");function k_(t,e){switch(e||(e=Lr(t)),e){case"string-multiline":return yHe(t);case"string":return r5(t);case"string-literal":return mHe(t);case"integer":return s5(t);case"float":return CHe(t);case"boolean":return EHe(t);case"datetime":return BHe(t);case"array":return QHe(t.filter(r=>Lr(r)!=="null"&&Lr(r)!=="undefined"&&Lr(r)!=="nan"));case"table":return wHe(t);default:throw Qa(e)}}o(k_,"stringifyInline");function s5(t){return String(t).replace(/\B(?=(\d{3})+(?!\d))/g,"_")}o(s5,"stringifyInteger");function CHe(t){if(t===1/0)return"inf";if(t===-1/0)return"-inf";if(Object.is(t,NaN))return"nan";if(Object.is(t,-0))return"-0.0";var e=String(t).split("."),r=e[0],n=e[1]||0;return s5(r)+"."+n}o(CHe,"stringifyFloat");function EHe(t){return String(t)}o(EHe,"stringifyBoolean");function BHe(t){return t.toISOString()}o(BHe,"stringifyDatetime");function IHe(t){return t==="float"||t==="integer"}o(IHe,"isNumber");function bHe(t){var e=Lr(t[0]);return t.every(r=>Lr(r)===e)?e:t.every(r=>IHe(Lr(r)))?"float":"mixed"}o(bHe,"arrayType");function o5(t){let e=bHe(t);if(e==="mixed")throw hHe();return e}o(o5,"validateArray");function QHe(t){t=IC(t);let e=o5(t);var r="[",n=t.map(i=>k_(i,e));return n.join(", ").length>60||/\n/.test(n)?r+=`
`+n.join(`,
`)+`
`:r+=" "+n.join(", ")+(n.length>0?" ":""),r+"]"}o(QHe,"stringifyInlineArray");function wHe(t){t=IC(t);var e=[];return Object.keys(t).forEach(r=>{e.push(bC(r)+" = "+i5(t[r],!1))}),"{ "+e.join(", ")+(e.length>0?" ":"")+"}"}o(wHe,"stringifyInlineTable");function NHe(t,e,r,n){var i=Lr(n);if(i==="array")return xHe(t,e,r,n);if(i==="table")return SHe(t,e,r,n);throw Qa(i)}o(NHe,"stringifyComplex");function xHe(t,e,r,n){n=IC(n),o5(n);var i=Lr(n[0]);if(i!=="table")throw Qa(i);var s=t+bC(r),a="";return n.forEach(c=>{a.length>0&&(a+=`
`),a+=e+"[["+s+`]]
`,a+=M_(s+".",e,c)}),a}o(xHe,"stringifyArrayOfTables");function SHe(t,e,r,n){var i=t+bC(r),s="";return e5(n).length>0&&(s+=e+"["+i+`]
`),s+M_(i+".",e,n)}o(SHe,"stringifyComplexTable")});var F_=g(U_=>{"use strict";U_.parse=Z8();U_.stringify=a5()});var P5=require("node:os"),Vt=li(ft());var N5=require("node:os"),sA=require("node:path"),qn=require("node:fs"),ji=li(ft()),xC=li(g8()),Rd=li(v8()),G_=li(Nc());var tA=require("node:fs"),q_=li(ft()),QC=li(F_());function c5(t,e){if(!e.length)return;let r=0;if(e.forEach(s=>{try{new URL(s.url)}catch{throw new Error(`Invalid registry URL: ${s.url}`)}s.scope||r++}),r>1)throw new Error("You can't have more than one global registry.");(0,q_.info)(`Writing bunfig.toml to '${t}'.`);let n={};if((0,tA.existsSync)(t))try{let s=(0,tA.readFileSync)(t,{encoding:"utf-8"});n=(0,QC.parse)(s)}catch(s){(0,q_.info)(`Error reading existing bunfig: ${s.message}`),n={}}n.install=n?.install||{},n.install.scopes=n?.install.scopes||{};let i=e.find(s=>!s.scope);i&&(n.install.registry={url:i.url,...i.token?{token:i.token}:{}});for(let s of e)if(s.scope){let a=s.scope.startsWith("@")?s.scope.toLowerCase():`@${s.scope.toLowerCase()}`;n.install.scopes[a]={url:s.url,...s.token?{token:s.token}:{}}}Object.keys(n.install.scopes).length===0&&delete n.install.scopes,(0,tA.writeFileSync)(t,(0,QC.stringify)(n),{encoding:"utf8"})}o(c5,"writeBunfig");var x5=li(ft());var yo=li(ft()),f5=li(F_()),m5=require("node:console"),g5=require("node:crypto"),Na=require("node:fs"),wC=require("node:path");var H_=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,rA=o(t=>{if(typeof t!="string")throw new TypeError("Invalid argument expected string");let e=t.match(H_);if(!e)throw new Error(`Invalid argument not valid semver ('${t}' received)`);return e.shift(),e},"validateAndParse"),l5=o(t=>t==="*"||t==="x"||t==="X","isWildcard"),A5=o(t=>{let e=parseInt(t,10);return isNaN(e)?t:e},"tryParse"),RHe=o((t,e)=>typeof t!=typeof e?[String(t),String(e)]:[t,e],"forceType"),_He=o((t,e)=>{if(l5(t)||l5(e))return 0;let[r,n]=RHe(A5(t),A5(e));return r>n?1:r<n?-1:0},"compareStrings"),go=o((t,e)=>{for(let r=0;r<Math.max(t.length,e.length);r++){let n=_He(t[r]||"x",e[r]||"x");if(n!==0)return n}return 0},"compareSegments");var wa=o((t,e)=>{let r=rA(t),n=rA(e),i=r.pop(),s=n.pop(),a=go(r,n);return a!==0?a:i&&s?go(i.split("."),s.split(".")):i||s?i?-1:1:0},"compareVersions");var d5=o((t,e,r)=>{vHe(r);let n=wa(t,e);return p5[r].includes(n)},"compare"),p5={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},u5=Object.keys(p5),vHe=o(t=>{if(typeof t!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof t}`);if(u5.indexOf(t)===-1)throw new Error(`Invalid operator, expected one of ${u5.join("|")}`)},"assertValidOperator");var nA=o((t,e)=>{if(e=e.replace(/([><=]+)\s+/g,"$1"),e.includes("||"))return e.split("||").some(S=>nA(t,S));if(e.includes(" - ")){let[S,w]=e.split(" - ",2);return nA(t,`>=${S} <=${w}`)}else if(e.includes(" "))return e.trim().replace(/\s{2,}/g," ").split(" ").every(S=>nA(t,S));let r=e.match(/^([<>=~^]+)/),n=r?r[1]:"=";if(n!=="^"&&n!=="~")return d5(t,e,n);let[i,s,a,,c]=rA(t),[l,A,u,,d]=rA(e),f=[i,s??"x",a??"x"],m=[l,A??"x",u??"x"];if(d&&(!c||go(f,m)!==0||go(c.split("."),d.split("."))===-1))return!1;let C=m.findIndex(S=>S!=="0")+1,Q=n==="~"?2:C>1?C:1;return!(go(f.slice(0,Q),m.slice(0,Q))!==0||go(f.slice(Q),m.slice(Q))===-1)},"satisfies");var iA=o(t=>typeof t=="string"&&/^[v\d]/.test(t)&&H_.test(t),"validate"),z_=o(t=>typeof t=="string"&&/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/.test(t),"validateStrict");var PHe="1.3.10";function y5(t){return`bun-${(0,g5.createHash)("sha1").update(t).digest("base64")}`}o(y5,"getCacheKey");function C5(t){return t.match(/\/bun-v([^/]+)\//)?.[1]}o(C5,"extractVersionFromUrl");async function E5(t,e){let r=new Headers(e?.headers);r.has("User-Agent")||r.set("User-Agent","@oven-sh/setup-bun");let n=await fetch(t,{...e,headers:r});if(!n.ok){let i=await n.text().catch(()=>"");throw new Error(`Failed to fetch url ${t}. (status code: ${n.status}, status text: ${n.statusText})${i?`
${i}`:""}`)}return n}o(E5,"request");function B5(t,e){return t.endsWith(e)?t:((0,Na.renameSync)(t,t+e),t+e)}o(B5,"addExtension");function NC(){let t=process.platform;return t==="win32"?"windows":t}o(NC,"getPlatform");function I5(t){if(!t)return!1;let e=t.replace(/^bun-v/,"");return iA(e)?wa(e,PHe)>=0:!0}o(I5,"hasNativeWindowsArm64");function b5(t,e,r){return t==="windows"&&(e==="aarch64"||e==="arm64")&&!I5(r)?((0,yo.warning)(["\u26A0\uFE0F This version of Bun does not provide native arm64 builds for Windows.","Using x64 baseline build which will run through Microsoft's x64 emulation layer.","This may result in reduced performance and potential compatibility issues.","\u{1F4A1} For best performance, consider using Bun >= 1.3.10, x64 Windows runners, or other platforms with native support."].join(`
`)),"x64"):e==="arm64"?"aarch64":e}o(b5,"getArchitecture");function Q5(t,e,r,n){if(t==="windows"&&(e==="aarch64"||e==="arm64"))return!!I5(n);if(t==="linux"&&e==="x64"&&r===void 0)try{return(0,Na.readFileSync)("/proc/cpuinfo","utf8").includes("avx2")}catch{return(0,yo.warning)("Failed to detect AVX2 support."),!1}return r??!0}o(Q5,"getAvx2");var h5=o(t=>{let r=(0,f5.parse)(t).tools;if(!r)return;let n=r.bun;if(typeof n=="string")return n;if(Array.isArray(n)&&typeof n[0]=="string")return n[0]},"readMiseToml"),DHe={"package.json":t=>{let e=JSON.parse(t);return e.packageManager?.split("bun@")?.[1]??e.engines?.bun},".tool-versions":t=>t.match(/^bun\s*(?<version>.*?)$/m)?.groups?.version,".bumrc":t=>t,".bun-version":t=>t,"mise.toml":h5,".mise.toml":h5};function j_(t,e=!1){let r=process.env.GITHUB_WORKSPACE;if(!r||!t)return;(0,yo.debug)(`Reading version from ${t}`);let n=(0,wC.resolve)(r,t),i=(0,wC.basename)(t);if(!(0,Na.existsSync)(n)){e||(0,yo.warning)(`File ${n} not found`);return}let s=DHe[i]??(()=>{}),a;try{if(a=s((0,Na.readFileSync)(n,"utf8"))?.trim(),!a){e||(0,yo.warning)(`Failed to read version from ${t}`);return}}catch(c){let{message:l}=c;e||(0,yo.warning)(`Failed to read ${t}: ${l}`)}finally{if(a)return(0,m5.info)(`Obtained version ${a} from ${t}`),a}}o(j_,"readVersionFromFile");async function w5(t){let{customUrl:e}=t;return e||await THe(t)}o(w5,"getDownloadUrl");async function THe(t){let{version:e,os:r,arch:n,avx2:i,profile:s}=t,a;if(z_(e)&&(a=`bun-v${e}`),!a){let Q=(await(await E5("https://api.github.com/repos/oven-sh/bun/git/refs/tags",{headers:t.token?{Authorization:`Bearer ${t.token}`}:{}})).json()).filter(S=>S.ref.startsWith("refs/tags/bun-v")||S.ref==="refs/tags/canary").map(S=>S.ref.replace(/refs\/tags\/(bun-v)?/g,"")).filter(Boolean);if(a=Q.find(S=>S===e),a)iA(a)&&(a=`bun-v${a}`);else{Q=Q.filter(w=>iA(w)).sort(wa);let S=e==="latest"||!e?Q.at(-1):Q.filter(w=>nA(w,e)).at(-1);if(!S)throw new Error(`No Bun release found matching version '${e}'`);a=`bun-v${S}`}}let c=a??e,l=encodeURIComponent(c),A=encodeURIComponent(r??NC()),u=encodeURIComponent(b5(r??NC(),n??process.arch,c)),d=encodeURIComponent(Q5(r??NC(),n??process.arch,i,c)===!1?"-baseline":""),f=encodeURIComponent(s===!0?"-profile":""),{href:m}=new URL(`${l}/bun-${A}-${u}${d}${f}.zip`,"https://github.com/oven-sh/bun/releases/download/");return m}o(THe,"getSemverDownloadUrl");var S5=require("node:process");var R5=o(async t=>{let e=(0,sA.join)((0,S5.cwd)(),"bunfig.toml");c5(e,t.registries);let r=await w5(t),n=kHe(t),i=(0,sA.join)((0,N5.homedir)(),".bun","bin");try{(0,qn.mkdirSync)(i,{recursive:!0})}catch(d){if(d.code!=="EEXIST")throw d}(0,ji.addPath)(i);let s=o(d=>process.platform==="win32"?`${d}.exe`:d,"exe"),a=(0,sA.join)(i,s("bun"));try{(0,qn.symlinkSync)(a,(0,sA.join)(i,s("bunx")))}catch(d){if(d.code!=="EEXIST")throw d}let c,l=!1;if(!t.customUrl&&(0,qn.existsSync)(a)){let d=await J_(a);d&&OHe(d,t.version)&&(c=d,l=!0,(0,ji.info)(`Using existing Bun installation: ${c}`))}if(!c){if(n){let d=y5(r);if(await(0,xC.restoreCache)([a],d))if(c=await J_(a),c){let m=C5(r),[C]=c.split("+");m?C!==m?((0,ji.warning)(`Cached Bun version ${c} does not match expected version ${m}. Re-downloading.`),c=void 0):(l=!0,(0,ji.info)(`Using a cached version of Bun: ${c}`)):((0,ji.warning)(`Could not parse expected version from URL: ${r}. Ignoring cache.`),c=void 0)}else(0,ji.warning)(`Found a cached version of Bun: ${c} (but it appears to be corrupted?)`)}l||((0,ji.info)(`Downloading a new version of Bun: ${r}`),c=await MHe(r,a))}if(!c)throw new Error("Downloaded a new version of Bun, but failed to check its version? Try again.");let[A]=c.split("+");return(0,x5.saveState)("cache",JSON.stringify({cacheEnabled:n,cacheHit:l,bunPath:a,url:r})),{version:A,revision:c,bunPath:a,url:r,cacheHit:l}},"default");function OHe(t,e){if(!e||/^(latest|canary|action)$/i.test(e))return!1;let[r]=t.split("+"),n=o(i=>i.replace(/^v/i,""),"normalizeVersion");return n(r)===n(e)}o(OHe,"isVersionMatch");async function MHe(t,e){let r=B5(await(0,Rd.downloadTool)(t),".zip"),n=await(0,Rd.extractZip)(r),i=await Y_(n);try{(0,qn.renameSync)(i,e)}catch{(0,qn.copyFileSync)(i,e)}return await J_(e)}o(MHe,"downloadBun");function kHe(t){let{customUrl:e,version:r,noCache:n}=t;return n||e||!r||/latest|canary|action/i.test(r)?!1:(0,xC.isFeatureAvailable)()}o(kHe,"isCacheEnabled");async function Y_(t){for(let e of(0,qn.readdirSync)(t,{withFileTypes:!0})){let{name:r}=e,n=(0,sA.join)(t,r);if(e.isFile()){if(r==="bun"||r==="bun.exe")return n;if(/^bun.*\.zip/.test(r)){let i=await(0,Rd.extractZip)(n);return Y_(i)}}if(/^bun/.test(r)&&e.isDirectory())return Y_(n)}throw new Error("Could not find executable: bun")}o(Y_,"extractBun");async function J_(t){let e=await(0,G_.getExecOutput)(t,["--revision"],{ignoreReturnCode:!0});if(e.exitCode===0&&/^\d+\.\d+\.\d+/.test(e.stdout))return e.stdout.trim();let r=await(0,G_.getExecOutput)(t,["--version"],{ignoreReturnCode:!0});if(r.exitCode===0&&/^\d+\.\d+\.\d+/.test(r.stdout))return r.stdout.trim()}o(J_,"getRevision");function _5(t){return t?.trim()?t.split(`
`).map(e=>e.trim()).filter(Boolean).map(LHe).filter(Boolean):[]}o(_5,"parseRegistries");function LHe(t){let e=t.match(/^(@[a-z0-9-_.]+|[a-z0-9-_.]+(?=:[a-z]+:\/\/)):(.+)$/i);if(e){let r=e[1],n=e[2].trim(),[i,s]=n.split("|",2).map(a=>a?.trim());try{return new URL(i),{url:i,scope:r,...s&&{token:s}}}catch{throw new Error(`Invalid URL in registry configuration: ${i}`)}}else{let[r,n]=t.split("|",2).map(i=>i?.trim());try{return new URL(r),{url:r,scope:"",...n&&{token:n}}}catch{throw new Error(`Invalid URL in registry configuration: ${r}`)}}}o(LHe,"parseLine");process.env.RUNNER_TEMP||(process.env.RUNNER_TEMP=(0,P5.tmpdir)());var D5=_5((0,Vt.getInput)("registries")),v5=(0,Vt.getInput)("registry-url"),UHe=(0,Vt.getInput)("scope");v5&&D5.push({url:v5,scope:UHe,token:"$BUN_AUTH_TOKEN"});R5({version:(0,Vt.getInput)("bun-version")||j_((0,Vt.getInput)("bun-version-file"))||j_("package.json",!0)||void 0,customUrl:(0,Vt.getInput)("bun-download-url")||void 0,registries:D5,noCache:(0,Vt.getBooleanInput)("no-cache")||!1,token:(0,Vt.getInput)("token")}).then(({version:t,revision:e,bunPath:r,url:n,cacheHit:i})=>{(0,Vt.setOutput)("bun-version",t),(0,Vt.setOutput)("bun-revision",e),(0,Vt.setOutput)("bun-path",r),(0,Vt.setOutput)("bun-download-url",n),(0,Vt.setOutput)("cache-hit",i),process.exit(0)}).catch(t=>{(0,Vt.setFailed)(t),process.exit(1)});
/*! Bundled license information:
undici/lib/web/fetch/body.js:
(*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> *)
undici/lib/web/websocket/frame.js:
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
*/