var EZ=Object.create;var oh=Object.defineProperty;var yZ=Object.getOwnPropertyDescriptor;var CZ=Object.getOwnPropertyNames;var IZ=Object.getPrototypeOf,BZ=Object.prototype.hasOwnProperty;var o=(t,e)=>oh(t,"name",{value:e,configurable:!0});var f=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),wZ=(t,e)=>{for(var r in e)oh(t,r,{get:e[r],enumerable:!0})},bZ=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of CZ(e))!BZ.call(t,n)&&n!==r&&oh(t,n,{get:()=>e[n],enumerable:!(s=yZ(e,n))||s.enumerable});return t};var w=(t,e,r)=>(r=t!=null?EZ(IZ(t)):{},bZ(e||!t||!t.__esModule?oh(r,"default",{value:t,enumerable:!0}):r,t));var J_=f(Jc=>{"use strict";var YLe=require("net"),TZ=require("tls"),VB=require("http"),V_=require("https"),vZ=require("events"),JLe=require("assert"),PZ=require("util");Jc.httpOverHttp=kZ;Jc.httpsOverHttp=DZ;Jc.httpOverHttps=_Z;Jc.httpsOverHttps=LZ;function kZ(t){var e=new _i(t);return e.request=VB.request,e}o(kZ,"httpOverHttp");function DZ(t){var e=new _i(t);return e.request=VB.request,e.createSocket=$_,e.defaultPort=443,e}o(DZ,"httpsOverHttp");function _Z(t){var e=new _i(t);return e.request=V_.request,e}o(_Z,"httpOverHttps");function LZ(t){var e=new _i(t);return e.request=V_.request,e.createSocket=$_,e.defaultPort=443,e}o(LZ,"httpsOverHttps");function _i(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||VB.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(s,n,i,a){for(var c=Y_(n,i,a),l=0,u=e.requests.length;l=this.maxSockets){i.requests.push(a);return}i.createSocket(a,function(c){c.on("free",l),c.on("close",u),c.on("agentRemove",u),e.onSocket(c);function l(){i.emit("free",c,a)}o(l,"onFree");function u(A){i.removeSocket(c),c.removeListener("free",l),c.removeListener("close",u),c.removeListener("agentRemove",u)}o(u,"onCloseOrRemove")})},"addRequest");_i.prototype.createSocket=o(function(e,r){var s=this,n={};s.sockets.push(n);var i=$B({},s.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(i.localAddress=e.localAddress),i.proxyAuth&&(i.headers=i.headers||{},i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")),Qo("making CONNECT request");var a=s.request(i);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",u),a.once("error",A),a.end();function c(d){d.upgrade=!0}o(c,"onResponse");function l(d,p,m){process.nextTick(function(){u(d,p,m)})}o(l,"onUpgrade");function u(d,p,m){if(a.removeAllListeners(),p.removeAllListeners(),d.statusCode!==200){Qo("tunneling socket could not be established, statusCode=%d",d.statusCode),p.destroy();var h=new Error("tunneling socket could not be established, statusCode="+d.statusCode);h.code="ECONNRESET",e.request.emit("error",h),s.removeSocket(n);return}if(m.length>0){Qo("got illegal response body from proxy"),p.destroy();var h=new Error("got illegal response body from proxy");h.code="ECONNRESET",e.request.emit("error",h),s.removeSocket(n);return}return Qo("tunneling connection has established"),s.sockets[s.sockets.indexOf(n)]=p,r(p)}o(u,"onConnect");function A(d){a.removeAllListeners(),Qo(`tunneling socket could not be established, cause=%s `,d.message,d.stack);var p=new Error("tunneling socket could not be established, cause="+d.message);p.code="ECONNRESET",e.request.emit("error",p),s.removeSocket(n)}o(A,"onError")},"createSocket");_i.prototype.removeSocket=o(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var s=this.requests.shift();s&&this.createSocket(s,function(n){s.request.onSocket(n)})}},"removeSocket");function $_(t,e){var r=this;_i.prototype.createSocket.call(r,t,function(s){var n=t.request.getHeader("host"),i=$B({},r.options,{socket:s,servername:n?n.replace(/:.*$/,""):t.host}),a=TZ.connect(0,i);r.sockets[r.sockets.indexOf(s)]=a,e(a)})}o($_,"createSecureSocket");function Y_(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(Y_,"toOptions");function $B(t){for(var e=1,r=arguments.length;e{W_.exports=J_()});var Ye=f((XLe,j_)=>{j_.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 we=f((ZLe,IL)=>{"use strict";var K_=Symbol.for("undici.error.UND_ERR"),Je=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[K_]===!0}[K_]=!0},X_=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),YB=class extends Je{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[X_]===!0}[X_]=!0},Z_=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),JB=class extends Je{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[Z_]===!0}[Z_]=!0},eL=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),WB=class extends Je{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[eL]===!0}[eL]=!0},tL=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),jB=class extends Je{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[tL]===!0}[tL]=!0},rL=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),KB=class extends Je{static{o(this,"ResponseStatusCodeError")}constructor(e,r,s,n){super(e),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=n,this.status=r,this.statusCode=r,this.headers=s}static[Symbol.hasInstance](e){return e&&e[rL]===!0}[rL]=!0},sL=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),XB=class extends Je{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[sL]===!0}[sL]=!0},nL=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),ZB=class extends Je{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[nL]===!0}[nL]=!0},iL=Symbol.for("undici.error.UND_ERR_ABORT"),Ah=class extends Je{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[iL]===!0}[iL]=!0},oL=Symbol.for("undici.error.UND_ERR_ABORTED"),ew=class extends Ah{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[oL]===!0}[oL]=!0},aL=Symbol.for("undici.error.UND_ERR_INFO"),tw=class extends Je{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[aL]===!0}[aL]=!0},cL=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),rw=class extends Je{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[cL]===!0}[cL]=!0},lL=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),sw=class extends Je{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[lL]===!0}[lL]=!0},uL=Symbol.for("undici.error.UND_ERR_DESTROYED"),nw=class extends Je{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[uL]===!0}[uL]=!0},AL=Symbol.for("undici.error.UND_ERR_CLOSED"),iw=class extends Je{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[AL]===!0}[AL]=!0},dL=Symbol.for("undici.error.UND_ERR_SOCKET"),ow=class extends Je{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[dL]===!0}[dL]=!0},pL=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),aw=class extends Je{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[pL]===!0}[pL]=!0},mL=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),cw=class extends Je{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[mL]===!0}[mL]=!0},hL=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),lw=class extends Error{static{o(this,"HTTPParserError")}constructor(e,r,s){super(e),this.name="HTTPParserError",this.code=r?`HPE_${r}`:void 0,this.data=s?s.toString():void 0}static[Symbol.hasInstance](e){return e&&e[hL]===!0}[hL]=!0},fL=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),uw=class extends Je{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[fL]===!0}[fL]=!0},gL=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),Aw=class extends Je{static{o(this,"RequestRetryError")}constructor(e,r,{headers:s,data:n}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=n,this.headers=s}static[Symbol.hasInstance](e){return e&&e[gL]===!0}[gL]=!0},EL=Symbol.for("undici.error.UND_ERR_RESPONSE"),dw=class extends Je{static{o(this,"ResponseError")}constructor(e,r,{headers:s,data:n}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=r,this.data=n,this.headers=s}static[Symbol.hasInstance](e){return e&&e[EL]===!0}[EL]=!0},yL=Symbol.for("undici.error.UND_ERR_PRX_TLS"),pw=class extends Je{static{o(this,"SecureProxyConnectionError")}constructor(e,r,s){super(r,{cause:e,...s??{}}),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[yL]===!0}[yL]=!0},CL=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),mw=class extends Je{static{o(this,"MessageSizeExceededError")}constructor(e){super(e),this.name="MessageSizeExceededError",this.message=e||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&e[CL]===!0}get[CL](){return!0}};IL.exports={AbortError:Ah,HTTPParserError:lw,UndiciError:Je,HeadersTimeoutError:JB,HeadersOverflowError:WB,BodyTimeoutError:jB,RequestContentLengthMismatchError:rw,ConnectTimeoutError:YB,ResponseStatusCodeError:KB,InvalidArgumentError:XB,InvalidReturnValueError:ZB,RequestAbortedError:ew,ClientDestroyedError:nw,ClientClosedError:iw,InformationalError:tw,SocketError:ow,NotSupportedError:aw,ResponseContentLengthMismatchError:sw,BalancedPoolMissingUpstreamError:cw,ResponseExceededMaxSizeError:uw,RequestRetryError:Aw,ResponseError:dw,SecureProxyConnectionError:pw,MessageSizeExceededError:mw}});var ph=f((tMe,BL)=>{"use strict";var dh={},hw=["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{"use strict";var{wellknownHeaderNames:wL,headerNameLowerCasedRecord:MZ}=ph(),fw=class t{static{o(this,"TstNode")}value=null;left=null;middle=null;right=null;code;constructor(e,r,s){if(s===void 0||s>=e.length)throw new TypeError("Unreachable");if((this.code=e.charCodeAt(s))>127)throw new TypeError("key must be ascii string");e.length!==++s?this.middle=new t(e,r,s):this.value=r}add(e,r){let s=e.length;if(s===0)throw new TypeError("Unreachable");let n=0,i=this;for(;;){let a=e.charCodeAt(n);if(a>127)throw new TypeError("key must be ascii string");if(i.code===a)if(s===++n){i.value=r;break}else if(i.middle!==null)i=i.middle;else{i.middle=new t(e,r,n);break}else if(i.code=65&&(i|=32);n!==null;){if(i===n.code){if(r===++s)return n;n=n.middle;break}n=n.code{"use strict";var wA=require("node:assert"),{kDestroyed:SL,kBodyUsed:Wc,kListeners:gw,kBody:NL}=Ye(),{IncomingMessage:OZ}=require("node:http"),gh=require("node:stream"),FZ=require("node:net"),{Blob:UZ}=require("node:buffer"),qZ=require("node:util"),{stringify:GZ}=require("node:querystring"),{EventEmitter:HZ}=require("node:events"),{InvalidArgumentError:qt}=we(),{headerNameLowerCasedRecord:zZ}=ph(),{tree:RL}=xL(),[VZ,$Z]=process.versions.node.split(".").map(t=>Number(t)),fh=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[NL]=e,this[Wc]=!1}async*[Symbol.asyncIterator](){wA(!this[Wc],"disturbed"),this[Wc]=!0,yield*this[NL]}};function YZ(t){return Eh(t)?(DL(t)===0&&t.on("data",function(){wA(!1)}),typeof t.readableDidRead!="boolean"&&(t[Wc]=!1,HZ.prototype.on.call(t,"data",function(){this[Wc]=!0})),t):t&&typeof t.pipeTo=="function"?new fh(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&kL(t)?new fh(t):t}o(YZ,"wrapRequestBody");function JZ(){}o(JZ,"nop");function Eh(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(Eh,"isStream");function TL(t){if(t===null)return!1;if(t instanceof UZ)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(TL,"isBlobLike");function WZ(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=GZ(e);return r&&(t+="?"+r),t}o(WZ,"buildURL");function vL(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(vL,"isValidPort");function hh(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(hh,"isHttpOrHttpsPrefixed");function PL(t){if(typeof t=="string"){if(t=new URL(t),!hh(t.origin||t.protocol))throw new qt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new qt("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&vL(t.port)===!1)throw new qt("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 qt("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new qt("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new qt("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new qt("Invalid URL origin: the origin must be a string or null/undefined.");if(!hh(t.origin||t.protocol))throw new qt("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}`,s=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return r[r.length-1]==="/"&&(r=r.slice(0,r.length-1)),s&&s[0]!=="/"&&(s=`/${s}`),new URL(`${r}${s}`)}if(!hh(t.origin||t.protocol))throw new qt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(PL,"parseURL");function jZ(t){if(t=PL(t),t.pathname!=="/"||t.search||t.hash)throw new qt("invalid url");return t}o(jZ,"parseOrigin");function KZ(t){if(t[0]==="["){let r=t.indexOf("]");return wA(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}o(KZ,"getHostname");function XZ(t){if(!t)return null;wA(typeof t=="string");let e=KZ(t);return FZ.isIP(e)?"":e}o(XZ,"getServerName");function ZZ(t){return JSON.parse(JSON.stringify(t))}o(ZZ,"deepClone");function e7(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(e7,"isAsyncIterable");function kL(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(kL,"isIterable");function DL(t){if(t==null)return 0;if(Eh(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(TL(t))return t.size!=null?t.size:null;if(ML(t))return t.byteLength}return null}o(DL,"bodyLength");function _L(t){return t&&!!(t.destroyed||t[SL]||gh.isDestroyed?.(t))}o(_L,"isDestroyed");function t7(t,e){t==null||!Eh(t)||_L(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===OZ&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[SL]=!0))}o(t7,"destroy");var r7=/timeout=(\d+)/;function s7(t){let e=t.toString().match(r7);return e?parseInt(e[1],10)*1e3:null}o(s7,"parseKeepAliveTimeout");function LL(t){return typeof t=="string"?zZ[t]??t.toLowerCase():RL.lookup(t)??t.toString("latin1").toLowerCase()}o(LL,"headerNameToString");function n7(t){return RL.lookup(t)??t.toString("latin1").toLowerCase()}o(n7,"bufferToLowerCasedHeaderName");function i7(t,e){e===void 0&&(e={});for(let r=0;ra.toString("utf8")):i.toString("utf8")}}return"content-length"in e&&"content-disposition"in e&&(e["content-disposition"]=Buffer.from(e["content-disposition"]).toString("latin1")),e}o(i7,"parseHeaders");function o7(t){let e=t.length,r=new Array(e),s=!1,n=-1,i,a,c=0;for(let l=0;l{r.close(),r.byobRequest?.respond(0)});else{let i=Buffer.isBuffer(n)?n:Buffer.from(n);i.byteLength&&r.enqueue(new Uint8Array(i))}return r.desiredSize>0},async cancel(r){await e.return()},type:"bytes"})}o(d7,"ReadableStreamFrom");function p7(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(p7,"isFormDataLike");function m7(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(m7,"addAbortListener");var h7=typeof String.prototype.toWellFormed=="function",f7=typeof String.prototype.isWellFormed=="function";function OL(t){return h7?`${t}`.toWellFormed():qZ.toUSVString(t)}o(OL,"toUSVString");function g7(t){return f7?`${t}`.isWellFormed():OL(t)===`${t}`}o(g7,"isUSVString");function FL(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(FL,"isTokenCharCode");function E7(t){if(t.length===0)return!1;for(let e=0;e{"use strict";var Re=require("node:diagnostics_channel"),Cw=require("node:util"),yh=Cw.debuglog("undici"),yw=Cw.debuglog("fetch"),Ia=Cw.debuglog("websocket"),HL=!1,Q7={beforeConnect:Re.channel("undici:client:beforeConnect"),connected:Re.channel("undici:client:connected"),connectError:Re.channel("undici:client:connectError"),sendHeaders:Re.channel("undici:client:sendHeaders"),create:Re.channel("undici:request:create"),bodySent:Re.channel("undici:request:bodySent"),headers:Re.channel("undici:request:headers"),trailers:Re.channel("undici:request:trailers"),error:Re.channel("undici:request:error"),open:Re.channel("undici:websocket:open"),close:Re.channel("undici:websocket:close"),socketError:Re.channel("undici:websocket:socket_error"),ping:Re.channel("undici:websocket:ping"),pong:Re.channel("undici:websocket:pong")};if(yh.enabled||yw.enabled){let t=yw.enabled?yw:yh;Re.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i}}=e;t("connecting to %s using %s%s",`${i}${n?`:${n}`:""}`,s,r)}),Re.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i}}=e;t("connected to %s using %s%s",`${i}${n?`:${n}`:""}`,s,r)}),Re.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i},error:a}=e;t("connection to %s using %s%s errored - %s",`${i}${n?`:${n}`:""}`,s,r,a.message)}),Re.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:s,origin:n}}=e;t("sending request to %s %s/%s",r,n,s)}),Re.channel("undici:request:headers").subscribe(e=>{let{request:{method:r,path:s,origin:n},response:{statusCode:i}}=e;t("received response to %s %s/%s - HTTP %d",r,n,s,i)}),Re.channel("undici:request:trailers").subscribe(e=>{let{request:{method:r,path:s,origin:n}}=e;t("trailers received from %s %s/%s",r,n,s)}),Re.channel("undici:request:error").subscribe(e=>{let{request:{method:r,path:s,origin:n},error:i}=e;t("request to %s %s/%s errored - %s",r,n,s,i.message)}),HL=!0}if(Ia.enabled){if(!HL){let t=yh.enabled?yh:Ia;Re.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i}}=e;t("connecting to %s%s using %s%s",i,n?`:${n}`:"",s,r)}),Re.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i}}=e;t("connected to %s%s using %s%s",i,n?`:${n}`:"",s,r)}),Re.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:s,port:n,host:i},error:a}=e;t("connection to %s%s using %s%s errored - %s",i,n?`:${n}`:"",s,r,a.message)}),Re.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:s,origin:n}}=e;t("sending request to %s %s/%s",r,n,s)})}Re.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;Ia("connection opened %s%s",e,r?`:${r}`:"")}),Re.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:s}=t;Ia("closed connection to %s - %s %s",e.url,r,s)}),Re.channel("undici:websocket:socket_error").subscribe(t=>{Ia("connection errored - %s",t.message)}),Re.channel("undici:websocket:ping").subscribe(t=>{Ia("ping received")}),Re.channel("undici:websocket:pong").subscribe(t=>{Ia("pong received")})}zL.exports={channels:Q7}});var JL=f((aMe,YL)=>{"use strict";var{InvalidArgumentError:ke,NotSupportedError:x7}=we(),Li=require("node:assert"),{isValidHTTPToken:$L,isValidHeaderValue:bA,isStream:N7,destroy:S7,isBuffer:R7,isFormDataLike:T7,isIterable:v7,isBlobLike:P7,buildURL:k7,validateHandler:D7,getServerName:_7,normalizedMethodRecords:L7}=pe(),{channels:Ln}=jc(),{headerNameLowerCasedRecord:VL}=ph(),M7=/[^\u0021-\u00ff]/,Qs=Symbol("handler"),Iw=class{static{o(this,"Request")}constructor(e,{path:r,method:s,body:n,headers:i,query:a,idempotent:c,blocking:l,upgrade:u,headersTimeout:A,bodyTimeout:d,reset:p,throwOnError:m,expectContinue:h,servername:g},C){if(typeof r!="string")throw new ke("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&s!=="CONNECT")throw new ke("path must be an absolute URL or start with a slash");if(M7.test(r))throw new ke("invalid request path");if(typeof s!="string")throw new ke("method must be a string");if(L7[s]===void 0&&!$L(s))throw new ke("invalid request method");if(u&&typeof u!="string")throw new ke("upgrade must be a string");if(u&&!bA(u))throw new ke("invalid upgrade header");if(A!=null&&(!Number.isFinite(A)||A<0))throw new ke("invalid headersTimeout");if(d!=null&&(!Number.isFinite(d)||d<0))throw new ke("invalid bodyTimeout");if(p!=null&&typeof p!="boolean")throw new ke("invalid reset");if(h!=null&&typeof h!="boolean")throw new ke("invalid expectContinue");if(this.headersTimeout=A,this.bodyTimeout=d,this.throwOnError=m===!0,this.method=s,this.abort=null,n==null)this.body=null;else if(N7(n)){this.body=n;let E=this.body._readableState;(!E||!E.autoDestroy)&&(this.endHandler=o(function(){S7(this)},"autoDestroy"),this.body.on("end",this.endHandler)),this.errorHandler=y=>{this.abort?this.abort(y):this.error=y},this.body.on("error",this.errorHandler)}else if(R7(n))this.body=n.byteLength?n:null;else if(ArrayBuffer.isView(n))this.body=n.buffer.byteLength?Buffer.from(n.buffer,n.byteOffset,n.byteLength):null;else if(n instanceof ArrayBuffer)this.body=n.byteLength?Buffer.from(n):null;else if(typeof n=="string")this.body=n.length?Buffer.from(n):null;else if(T7(n)||v7(n)||P7(n))this.body=n;else throw new ke("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=u||null,this.path=a?k7(r,a):r,this.origin=e,this.idempotent=c??(s==="HEAD"||s==="GET"),this.blocking=l??!1,this.reset=p??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=h??!1,Array.isArray(i)){if(i.length%2!==0)throw new ke("headers array must be even");for(let E=0;E{"use strict";var O7=require("node:events"),Ih=class extends O7{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,s=this.dispatch.bind(this);for(let n of r)if(n!=null){if(typeof n!="function")throw new TypeError(`invalid interceptor, expected function received ${typeof n}`);if(s=n(s),s==null||typeof s!="function"||s.length!==2)throw new TypeError("invalid interceptor")}return new Bw(this,s)}},Bw=class extends Ih{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)}};WL.exports=Ih});var el=f((AMe,jL)=>{"use strict";var F7=QA(),{ClientDestroyedError:ww,ClientClosedError:U7,InvalidArgumentError:Kc}=we(),{kDestroy:q7,kClose:G7,kClosed:xA,kDestroyed:Xc,kDispatch:bw,kInterceptors:Ba}=Ye(),Mi=Symbol("onDestroyed"),Zc=Symbol("onClosed"),Bh=Symbol("Intercepted Dispatch"),Qw=Symbol("webSocketOptions"),xw=class extends F7{static{o(this,"DispatcherBase")}constructor(e){super(),this[Xc]=!1,this[Mi]=null,this[xA]=!1,this[Zc]=[],this[Qw]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[Qw].maxFragments??131072,maxPayloadSize:this[Qw].maxPayloadSize??128*1024*1024}}get destroyed(){return this[Xc]}get closed(){return this[xA]}get interceptors(){return this[Ba]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[Ba][r]!="function")throw new Kc("interceptor must be an function")}this[Ba]=e}close(e){if(e===void 0)return new Promise((s,n)=>{this.close((i,a)=>i?n(i):s(a))});if(typeof e!="function")throw new Kc("invalid callback");if(this[Xc]){queueMicrotask(()=>e(new ww,null));return}if(this[xA]){this[Zc]?this[Zc].push(e):queueMicrotask(()=>e(null,null));return}this[xA]=!0,this[Zc].push(e);let r=o(()=>{let s=this[Zc];this[Zc]=null;for(let n=0;nthis.destroy()).then(()=>{queueMicrotask(r)})}destroy(e,r){if(typeof e=="function"&&(r=e,e=null),r===void 0)return new Promise((n,i)=>{this.destroy(e,(a,c)=>a?i(a):n(c))});if(typeof r!="function")throw new Kc("invalid callback");if(this[Xc]){this[Mi]?this[Mi].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new ww),this[Xc]=!0,this[Mi]=this[Mi]||[],this[Mi].push(r);let s=o(()=>{let n=this[Mi];this[Mi]=null;for(let i=0;i{queueMicrotask(s)})}[Bh](e,r){if(!this[Ba]||this[Ba].length===0)return this[Bh]=this[bw],this[bw](e,r);let s=this[bw].bind(this);for(let n=this[Ba].length-1;n>=0;n--)s=this[Ba][n](s);return this[Bh]=s,s(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new Kc("handler must be an object");try{if(!e||typeof e!="object")throw new Kc("opts must be an object.");if(this[Xc]||this[Mi])throw new ww;if(this[xA])throw new U7;return this[Bh](e,r)}catch(s){if(typeof r.onError!="function")throw new Kc("invalid onError method");return r.onError(s),!1}}};jL.exports=xw});var kw=f((pMe,eM)=>{"use strict";var tl=0,Nw=1e3,Sw=(Nw>>1)-1,Oi,Rw=Symbol("kFastTimer"),Fi=[],Tw=-2,vw=-1,XL=0,KL=1;function Pw(){tl+=Sw;let t=0,e=Fi.length;for(;t=r._idleStart+r._idleTimeout&&(r._state=vw,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===vw?(r._state=Tw,--e!==0&&(Fi[t]=Fi[e])):++t}Fi.length=e,Fi.length!==0&&ZL()}o(Pw,"onTick");function ZL(){Oi?Oi.refresh():(clearTimeout(Oi),Oi=setTimeout(Pw,Sw),Oi.unref&&Oi.unref())}o(ZL,"refreshTimeout");var wh=class{static{o(this,"FastTimer")}[Rw]=!0;_state=Tw;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,s){this._onTimeout=e,this._idleTimeout=r,this._timerArg=s,this.refresh()}refresh(){this._state===Tw&&Fi.push(this),(!Oi||Fi.length===1)&&ZL(),this._state=XL}clear(){this._state=vw,this._idleStart=-1}};eM.exports={setTimeout(t,e,r){return e<=Nw?setTimeout(t,e,r):new wh(t,e,r)},clearTimeout(t){t[Rw]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new wh(t,e,r)},clearFastTimeout(t){t.clear()},now(){return tl},tick(t=0){tl+=t-Nw+1,Pw(),Pw()},reset(){tl=0,Fi.length=0,clearTimeout(Oi),Oi=null},kFastTimer:Rw}});var NA=f((gMe,iM)=>{"use strict";var H7=require("node:net"),tM=require("node:assert"),nM=pe(),{InvalidArgumentError:z7,ConnectTimeoutError:V7}=we(),bh=kw();function rM(){}o(rM,"noop");var Dw,_w;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?_w=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){let{value:s}=this._sessionCache.keys().next();this._sessionCache.delete(s)}this._sessionCache.set(e,r)}}};function $7({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:s,session:n,...i}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new z7("maxCachedSessions must be a positive integer or zero");let a={path:r,...i},c=new _w(e??100);return s=s??1e4,t=t??!1,o(function({hostname:u,host:A,protocol:d,port:p,servername:m,localAddress:h,httpSocket:g},C){let E;if(d==="https:"){Dw||(Dw=require("node:tls")),m=m||a.servername||nM.getServerName(A)||null;let I=m||u;tM(I);let B=n||c.get(I)||null;p=p||443,E=Dw.connect({highWaterMark:16384,...a,servername:m,session:B,localAddress:h,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:g,port:p,host:u}),E.on("session",function(N){c.set(I,N)})}else tM(!g,"httpSocket can only be sent on TLS update"),p=p||80,E=H7.connect({highWaterMark:64*1024,...a,localAddress:h,port:p,host:u});if(a.keepAlive==null||a.keepAlive){let I=a.keepAliveInitialDelay===void 0?6e4:a.keepAliveInitialDelay;E.setKeepAlive(!0,I)}let y=Y7(new WeakRef(E),{timeout:s,hostname:u,port:p});return E.setNoDelay(!0).once(d==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(y),C){let I=C;C=null,I(null,this)}}).on("error",function(I){if(queueMicrotask(y),C){let B=C;C=null,B(I)}}),E},"connect")}o($7,"buildConnector");var Y7=process.platform==="win32"?(t,e)=>{if(!e.timeout)return rM;let r=null,s=null,n=bh.setFastTimeout(()=>{r=setImmediate(()=>{s=setImmediate(()=>sM(t.deref(),e))})},e.timeout);return()=>{bh.clearFastTimeout(n),clearImmediate(r),clearImmediate(s)}}:(t,e)=>{if(!e.timeout)return rM;let r=null,s=bh.setFastTimeout(()=>{r=setImmediate(()=>{sM(t.deref(),e)})},e.timeout);return()=>{bh.clearFastTimeout(s),clearImmediate(r)}};function sM(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)`,nM.destroy(t,new V7(r))}o(sM,"onConnectTimeout");iM.exports=$7});var oM=f(Qh=>{"use strict";Object.defineProperty(Qh,"__esModule",{value:!0});Qh.enumToMap=void 0;function J7(t){let e={};return Object.keys(t).forEach(r=>{let s=t[r];typeof s=="number"&&(e[r]=s)}),e}o(J7,"enumToMap");Qh.enumToMap=J7});var aM=f(x=>{"use strict";Object.defineProperty(x,"__esModule",{value:!0});x.SPECIAL_HEADERS=x.HEADER_STATE=x.MINOR=x.MAJOR=x.CONNECTION_TOKEN_CHARS=x.HEADER_CHARS=x.TOKEN=x.STRICT_TOKEN=x.HEX=x.URL_CHAR=x.STRICT_URL_CHAR=x.USERINFO_CHARS=x.MARK=x.ALPHANUM=x.NUM=x.HEX_MAP=x.NUM_MAP=x.ALPHA=x.FINISH=x.H_METHOD_MAP=x.METHOD_MAP=x.METHODS_RTSP=x.METHODS_ICE=x.METHODS_HTTP=x.METHODS=x.LENIENT_FLAGS=x.FLAGS=x.TYPE=x.ERROR=void 0;var W7=oM(),j7;(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"})(j7=x.ERROR||(x.ERROR={}));var K7;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(K7=x.TYPE||(x.TYPE={}));var X7;(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"})(X7=x.FLAGS||(x.FLAGS={}));var Z7;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(Z7=x.LENIENT_FLAGS||(x.LENIENT_FLAGS={}));var K;(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"})(K=x.METHODS||(x.METHODS={}));x.METHODS_HTTP=[K.DELETE,K.GET,K.HEAD,K.POST,K.PUT,K.CONNECT,K.OPTIONS,K.TRACE,K.COPY,K.LOCK,K.MKCOL,K.MOVE,K.PROPFIND,K.PROPPATCH,K.SEARCH,K.UNLOCK,K.BIND,K.REBIND,K.UNBIND,K.ACL,K.REPORT,K.MKACTIVITY,K.CHECKOUT,K.MERGE,K["M-SEARCH"],K.NOTIFY,K.SUBSCRIBE,K.UNSUBSCRIBE,K.PATCH,K.PURGE,K.MKCALENDAR,K.LINK,K.UNLINK,K.PRI,K.SOURCE];x.METHODS_ICE=[K.SOURCE];x.METHODS_RTSP=[K.OPTIONS,K.DESCRIBE,K.ANNOUNCE,K.SETUP,K.PLAY,K.PAUSE,K.TEARDOWN,K.GET_PARAMETER,K.SET_PARAMETER,K.REDIRECT,K.RECORD,K.FLUSH,K.GET,K.POST];x.METHOD_MAP=W7.enumToMap(K);x.H_METHOD_MAP={};Object.keys(x.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(x.H_METHOD_MAP[t]=x.METHOD_MAP[t])});var eee;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(eee=x.FINISH||(x.FINISH={}));x.ALPHA=[];for(let t=65;t<=90;t++)x.ALPHA.push(String.fromCharCode(t)),x.ALPHA.push(String.fromCharCode(t+32));x.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};x.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};x.NUM=["0","1","2","3","4","5","6","7","8","9"];x.ALPHANUM=x.ALPHA.concat(x.NUM);x.MARK=["-","_",".","!","~","*","'","(",")"];x.USERINFO_CHARS=x.ALPHANUM.concat(x.MARK).concat(["%",";",":","&","=","+","$",","]);x.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(x.ALPHANUM);x.URL_CHAR=x.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)x.URL_CHAR.push(t);x.HEX=x.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);x.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(x.ALPHANUM);x.TOKEN=x.STRICT_TOKEN.concat([" "]);x.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&x.HEADER_CHARS.push(t);x.CONNECTION_TOKEN_CHARS=x.HEADER_CHARS.filter(t=>t!==44);x.MAJOR=x.NUM_MAP;x.MINOR=x.MAJOR;var rl;(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"})(rl=x.HEADER_STATE||(x.HEADER_STATE={}));x.SPECIAL_HEADERS={connection:rl.CONNECTION,"content-length":rl.CONTENT_LENGTH,"proxy-connection":rl.CONNECTION,"transfer-encoding":rl.TRANSFER_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CDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAC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0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMU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CyAEQf8BTQRAIARBeHFBtNAAaiEAAn9BjNAAKAIAIgJBASAEQQN2dCIDcUUEQEGM0AAgAiADcjYCACAADAELIAAoAggLIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAC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wOC0G2AQwNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJA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EGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var SA=f((bMe,EM)=>{"use strict";var AM=["GET","HEAD","POST"],see=new Set(AM),nee=[101,204,205,304],dM=[301,302,303,307,308],iee=new Set(dM),pM=["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"],oee=new Set(pM),mM=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],aee=new Set(mM),cee=["follow","manual","error"],hM=["GET","HEAD","OPTIONS","TRACE"],lee=new Set(hM),uee=["navigate","same-origin","no-cors","cors"],Aee=["omit","same-origin","include"],dee=["default","no-store","reload","no-cache","force-cache","only-if-cached"],pee=["content-encoding","content-language","content-location","content-type","content-length"],mee=["half"],fM=["CONNECT","TRACE","TRACK"],hee=new Set(fM),gM=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],fee=new Set(gM);EM.exports={subresource:gM,forbiddenMethods:fM,requestBodyHeader:pee,referrerPolicy:mM,requestRedirect:cee,requestMode:uee,requestCredentials:Aee,requestCache:dee,redirectStatus:dM,corsSafeListedMethods:AM,nullBodyStatus:nee,safeMethods:hM,badPorts:pM,requestDuplex:mee,subresourceSet:fee,badPortsSet:oee,redirectStatusSet:iee,corsSafeListedMethodsSet:see,safeMethodsSet:lee,forbiddenMethodsSet:hee,referrerPolicySet:aee}});var Ow=f((QMe,yM)=>{"use strict";var Mw=Symbol.for("undici.globalOrigin.1");function gee(){return globalThis[Mw]}o(gee,"getGlobalOrigin");function Eee(t){if(t===void 0){Object.defineProperty(globalThis,Mw,{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,Mw,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(Eee,"setGlobalOrigin");yM.exports={getGlobalOrigin:gee,setGlobalOrigin:Eee}});var vr=f((NMe,xM)=>{"use strict";var Nh=require("node:assert"),yee=new TextEncoder,RA=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,Cee=/[\u000A\u000D\u0009\u0020]/,Iee=/[\u0009\u000A\u000C\u000D\u0020]/g,Bee=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function wee(t){Nh(t.protocol==="data:");let e=BM(t,!0);e=e.slice(5);let r={position:0},s=sl(",",e,r),n=s.length;if(s=Ree(s,!0,!0),r.position>=e.length)return"failure";r.position++;let i=e.slice(n+1),a=wM(i);if(/;(\u0020){0,}base64$/i.test(s)){let l=QM(a);if(a=Qee(l),a==="failure")return"failure";s=s.slice(0,-6),s=s.replace(/(\u0020)+$/,""),s=s.slice(0,-1)}s.startsWith(";")&&(s="text/plain"+s);let c=Fw(s);return c==="failure"&&(c=Fw("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(wee,"dataURLProcessor");function BM(t,e=!1){if(!e)return t.href;let r=t.href,s=t.hash.length,n=s===0?r:r.substring(0,r.length-s);return!s&&r.endsWith("#")?n.slice(0,-1):n}o(BM,"URLSerializer");function Sh(t,e,r){let s="";for(;r.position=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(CM,"isHexCharByte");function IM(t){return t>=48&&t<=57?t-48:(t&223)-55}o(IM,"hexByteToNumber");function bee(t){let e=t.length,r=new Uint8Array(e),s=0;for(let n=0;nt.length)return"failure";e.position++;let s=sl(";",t,e);if(s=xh(s,!1,!0),s.length===0||!RA.test(s))return"failure";let n=r.toLowerCase(),i=s.toLowerCase(),a={type:n,subtype:i,parameters:new Map,essence:`${n}/${i}`};for(;e.positionCee.test(u),t,e);let c=Sh(u=>u!==";"&&u!=="=",t,e);if(c=c.toLowerCase(),e.positiont.length)break;let l=null;if(t[e.position]==='"')l=bM(t,e,!0),sl(";",t,e);else if(l=sl(";",t,e),l=xh(l,!1,!0),l.length===0)continue;c.length!==0&&RA.test(c)&&(l.length===0||Bee.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(Fw,"parseMIMEType");function Qee(t){t=t.replace(Iee,"");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(Qee,"forgivingBase64");function bM(t,e,r){let s=e.position,n="";for(Nh(t[e.position]==='"'),e.position++;n+=Sh(a=>a!=='"'&&a!=="\\",t,e),!(e.position>=t.length);){let i=t[e.position];if(e.position++,i==="\\"){if(e.position>=t.length){n+="\\";break}n+=t[e.position],e.position++}else{Nh(i==='"');break}}return r?n:t.slice(s,e.position)}o(bM,"collectAnHTTPQuotedString");function xee(t){Nh(t!=="failure");let{parameters:e,essence:r}=t,s=r;for(let[n,i]of e.entries())s+=";",s+=n,s+="=",RA.test(i)||(i=i.replace(/(\\|")/g,"\\$1"),i='"'+i,i+='"'),s+=i;return s}o(xee,"serializeAMimeType");function Nee(t){return t===13||t===10||t===9||t===32}o(Nee,"isHTTPWhiteSpace");function xh(t,e=!0,r=!0){return Uw(t,e,r,Nee)}o(xh,"removeHTTPWhitespace");function See(t){return t===13||t===10||t===9||t===12||t===32}o(See,"isASCIIWhitespace");function Ree(t,e=!0,r=!0){return Uw(t,e,r,See)}o(Ree,"removeASCIIWhitespace");function Uw(t,e,r,s){let n=0,i=t.length-1;if(e)for(;n0&&s(t.charCodeAt(i));)i--;return n===0&&i===t.length-1?t:t.slice(n,i+1)}o(Uw,"removeChars");function QM(t){let e=t.length;if(65535>e)return String.fromCharCode.apply(null,t);let r="",s=0,n=65535;for(;se&&(n=e-s),r+=String.fromCharCode.apply(null,t.subarray(s,s+=n));return r}o(QM,"isomorphicDecode");function Tee(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(Tee,"minimizeSupportedMimeType");xM.exports={dataURLProcessor:wee,URLSerializer:BM,collectASequenceOfCodePoints:Sh,collectASequenceOfCodePointsFast:sl,stringPercentDecode:wM,parseMIMEType:Fw,collectAnHTTPQuotedString:bM,serializeAMimeType:xee,removeChars:Uw,removeHTTPWhitespace:xh,minimizeSupportedMimeType:Tee,HTTP_TOKEN_CODEPOINTS:RA,isomorphicDecode:QM}});var Wt=f((RMe,NM)=>{"use strict";var{types:Mn,inspect:vee}=require("node:util"),{markAsUncloneable:Pee}=require("node:worker_threads"),{toUSVString:kee}=pe(),Q={};Q.converters={};Q.util={};Q.errors={};Q.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};Q.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 Q.errors.exception({header:t.prefix,message:r})};Q.errors.invalidArgument=function(t){return Q.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};Q.brandCheck=function(t,e,r){if(r?.strict!==!1){if(!(t instanceof e)){let s=new TypeError("Illegal invocation");throw s.code="ERR_INVALID_THIS",s}}else if(t?.[Symbol.toStringTag]!==e.prototype[Symbol.toStringTag]){let s=new TypeError("Illegal invocation");throw s.code="ERR_INVALID_THIS",s}};Q.argumentLengthCheck=function({length:t},e,r){if(t{});Q.util.ConvertToInt=function(t,e,r,s){let n,i;e===64?(n=Math.pow(2,53)-1,r==="unsigned"?i=0:i=Math.pow(-2,53)+1):r==="unsigned"?(i=0,n=Math.pow(2,e)-1):(i=Math.pow(-2,e)-1,n=Math.pow(2,e-1)-1);let a=Number(t);if(a===0&&(a=0),s?.enforceRange===!0){if(Number.isNaN(a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY)throw Q.errors.exception({header:"Integer conversion",message:`Could not convert ${Q.util.Stringify(t)} to an integer.`});if(a=Q.util.IntegerPart(a),an)throw Q.errors.exception({header:"Integer conversion",message:`Value must be between ${i}-${n}, got ${a}.`});return a}return!Number.isNaN(a)&&s?.clamp===!0?(a=Math.min(Math.max(a,i),n),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=Q.util.IntegerPart(a),a=a%Math.pow(2,e),r==="signed"&&a>=Math.pow(2,e)-1?a-Math.pow(2,e):a)};Q.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};Q.util.Stringify=function(t){switch(Q.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return vee(t);case"String":return`"${t}"`;default:return`${t}`}};Q.sequenceConverter=function(t){return(e,r,s,n)=>{if(Q.util.Type(e)!=="Object")throw Q.errors.exception({header:r,message:`${s} (${Q.util.Stringify(e)}) is not iterable.`});let i=typeof n=="function"?n():e?.[Symbol.iterator]?.(),a=[],c=0;if(i===void 0||typeof i.next!="function")throw Q.errors.exception({header:r,message:`${s} is not iterable.`});for(;;){let{done:l,value:u}=i.next();if(l)break;a.push(t(u,r,`${s}[${c++}]`))}return a}};Q.recordConverter=function(t,e){return(r,s,n)=>{if(Q.util.Type(r)!=="Object")throw Q.errors.exception({header:s,message:`${n} ("${Q.util.Type(r)}") is not an Object.`});let i={};if(!Mn.isProxy(r)){let c=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let l of c){let u=t(l,s,n),A=e(r[l],s,n);i[u]=A}return i}let a=Reflect.ownKeys(r);for(let c of a)if(Reflect.getOwnPropertyDescriptor(r,c)?.enumerable){let u=t(c,s,n),A=e(r[c],s,n);i[u]=A}return i}};Q.interfaceConverter=function(t){return(e,r,s,n)=>{if(n?.strict!==!1&&!(e instanceof t))throw Q.errors.exception({header:r,message:`Expected ${s} ("${Q.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};Q.dictionaryConverter=function(t){return(e,r,s)=>{let n=Q.util.Type(e),i={};if(n==="Null"||n==="Undefined")return i;if(n!=="Object")throw Q.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:u,converter:A}=a;if(u===!0&&!Object.hasOwn(e,c))throw Q.errors.exception({header:r,message:`Missing required key "${c}".`});let d=e[c],p=Object.hasOwn(a,"defaultValue");if(p&&d!==null&&(d??=l()),u||p||d!==void 0){if(d=A(d,r,`${s}.${c}`),a.allowedValues&&!a.allowedValues.includes(d))throw Q.errors.exception({header:r,message:`${d} is not an accepted type. Expected one of ${a.allowedValues.join(", ")}.`});i[c]=d}}return i}};Q.nullableConverter=function(t){return(e,r,s)=>e===null?e:t(e,r,s)};Q.converters.DOMString=function(t,e,r,s){if(t===null&&s?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw Q.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};Q.converters.ByteString=function(t,e,r){let s=Q.converters.DOMString(t,e,r);for(let n=0;n255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${n} has a value of ${s.charCodeAt(n)} which is greater than 255.`);return s};Q.converters.USVString=kee;Q.converters.boolean=function(t){return!!t};Q.converters.any=function(t){return t};Q.converters["long long"]=function(t,e,r){return Q.util.ConvertToInt(t,64,"signed",void 0,e,r)};Q.converters["unsigned long long"]=function(t,e,r){return Q.util.ConvertToInt(t,64,"unsigned",void 0,e,r)};Q.converters["unsigned long"]=function(t,e,r){return Q.util.ConvertToInt(t,32,"unsigned",void 0,e,r)};Q.converters["unsigned short"]=function(t,e,r,s){return Q.util.ConvertToInt(t,16,"unsigned",s,e,r)};Q.converters.ArrayBuffer=function(t,e,r,s){if(Q.util.Type(t)!=="Object"||!Mn.isAnyArrayBuffer(t))throw Q.errors.conversionFailed({prefix:e,argument:`${r} ("${Q.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(s?.allowShared===!1&&Mn.isSharedArrayBuffer(t))throw Q.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw Q.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};Q.converters.TypedArray=function(t,e,r,s,n){if(Q.util.Type(t)!=="Object"||!Mn.isTypedArray(t)||t.constructor.name!==e.name)throw Q.errors.conversionFailed({prefix:r,argument:`${s} ("${Q.util.Stringify(t)}")`,types:[e.name]});if(n?.allowShared===!1&&Mn.isSharedArrayBuffer(t.buffer))throw Q.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw Q.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};Q.converters.DataView=function(t,e,r,s){if(Q.util.Type(t)!=="Object"||!Mn.isDataView(t))throw Q.errors.exception({header:e,message:`${r} is not a DataView.`});if(s?.allowShared===!1&&Mn.isSharedArrayBuffer(t.buffer))throw Q.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw Q.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};Q.converters.BufferSource=function(t,e,r,s){if(Mn.isAnyArrayBuffer(t))return Q.converters.ArrayBuffer(t,e,r,{...s,allowShared:!1});if(Mn.isTypedArray(t))return Q.converters.TypedArray(t,t.constructor,e,r,{...s,allowShared:!1});if(Mn.isDataView(t))return Q.converters.DataView(t,e,r,{...s,allowShared:!1});throw Q.errors.conversionFailed({prefix:e,argument:`${r} ("${Q.util.Stringify(t)}")`,types:["BufferSource"]})};Q.converters["sequence"]=Q.sequenceConverter(Q.converters.ByteString);Q.converters["sequence>"]=Q.sequenceConverter(Q.converters["sequence"]);Q.converters["record"]=Q.recordConverter(Q.converters.ByteString,Q.converters.ByteString);NM.exports={webidl:Q}});var Kr=f((TMe,qM)=>{"use strict";var{Transform:Dee}=require("node:stream"),SM=require("node:zlib"),{redirectStatusSet:_ee,referrerPolicySet:Lee,badPortsSet:Mee}=SA(),{getGlobalOrigin:RM}=Ow(),{collectASequenceOfCodePoints:wa,collectAnHTTPQuotedString:Oee,removeChars:Fee,parseMIMEType:Uee}=vr(),{performance:qee}=require("node:perf_hooks"),{isBlobLike:Gee,ReadableStreamFrom:Hee,isValidHTTPToken:TM,normalizedMethodRecordsBase:zee}=pe(),ba=require("node:assert"),{isUint8Array:Vee}=require("node:util/types"),{webidl:TA}=Wt(),vM=[],Th;try{Th=require("node:crypto");let t=["sha256","sha384","sha512"];vM=Th.getHashes().filter(e=>t.includes(e))}catch{}function PM(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(PM,"responseURL");function $ee(t,e){if(!_ee.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&DM(r)&&(kM(r)||(r=Yee(r)),r=new URL(r,PM(t))),r&&!r.hash&&(r.hash=e),r}o($ee,"responseLocationURL");function kM(t){for(let e=0;e126||r<32)return!1}return!0}o(kM,"isValidEncodedURL");function Yee(t){return Buffer.from(t,"binary").toString("utf8")}o(Yee,"normalizeBinaryStringToUtf8");function PA(t){return t.urlList[t.urlList.length-1]}o(PA,"requestCurrentURL");function Jee(t){let e=PA(t);return FM(e)&&Mee.has(e.port)?"blocked":"allowed"}o(Jee,"requestBadPort");function Wee(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(Wee,"isErrorLike");function jee(t){for(let e=0;e=32&&r<=126||r>=128&&r<=255))return!1}return!0}o(jee,"isValidReasonPhrase");var Kee=TM;function DM(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(` `)||t.includes("\r")||t.includes("\0"))===!1}o(DM,"isValidHeaderValue");function Xee(t,e){let{headersList:r}=e,s=(r.get("referrer-policy",!0)??"").split(","),n="";if(s.length>0)for(let i=s.length;i!==0;i--){let a=s[i-1].trim();if(Lee.has(a)){n=a;break}}n!==""&&(t.referrerPolicy=n)}o(Xee,"setRequestReferrerPolicyOnRedirect");function Zee(){return"allowed"}o(Zee,"crossOriginResourcePolicyCheck");function ete(){return"success"}o(ete,"corsCheck");function tte(){return"success"}o(tte,"TAOCheck");function rte(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(rte,"appendFetchMetadata");function ste(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&&Gw(t.origin)&&!Gw(PA(t))&&(e=null);break;case"same-origin":vh(t,PA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(ste,"appendRequestOriginHeader");function nl(t,e){return t}o(nl,"coarsenTime");function nte(t,e,r){return!t?.startTime||t.startTime4096&&(s=n);let i=vh(t,s),a=vA(s)&&!vA(t.url);switch(e){case"origin":return n??qw(r,!0);case"unsafe-url":return s;case"same-origin":return i?n:"no-referrer";case"origin-when-cross-origin":return i?s:n;case"strict-origin-when-cross-origin":{let c=PA(t);return vh(s,c)?s:vA(s)&&!vA(c)?"no-referrer":n}default:return a?"no-referrer":n}}o(cte,"determineRequestsReferrer");function qw(t,e){return ba(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(qw,"stripURLForReferrer");function vA(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 s=new URL(r);return!!(s.protocol==="https:"||s.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(s.hostname)||s.hostname==="localhost"||s.hostname.includes("localhost.")||s.hostname.endsWith(".localhost"))}}o(vA,"isURLPotentiallyTrustworthy");function lte(t,e){if(Th===void 0)return!0;let r=LM(e);if(r==="no metadata"||r.length===0)return!0;let s=Ate(r),n=dte(r,s);for(let i of n){let a=i.algo,c=i.hash,l=Th.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)),pte(l,c))return!0}return!1}o(lte,"bytesMatch");var ute=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function LM(t){let e=[],r=!0;for(let s of t.split(" ")){r=!1;let n=ute.exec(s);if(n===null||n.groups===void 0||n.groups.algo===void 0)continue;let i=n.groups.algo.toLowerCase();vM.includes(i)&&e.push(n.groups)}return r===!0?"no metadata":e}o(LM,"parseMetadata");function Ate(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r{t=s,e=n}),resolve:t,reject:e}}o(hte,"createDeferredPromise");function fte(t){return t.controller.state==="aborted"}o(fte,"isAborted");function gte(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(gte,"isCancelled");function Ete(t){return zee[t.toLowerCase()]??t}o(Ete,"normalizeMethod");function yte(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return ba(typeof e=="string"),e}o(yte,"serializeJavascriptValueToJSONString");var Cte=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function MM(t,e,r=0,s=1){class n{static{o(this,"FastIterableIterator")}#e;#t;#r;constructor(a,c){this.#e=a,this.#t=c,this.#r=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.#r,c=this.#e[e],l=c.length;if(a>=l)return{value:void 0,done:!0};let{[r]:u,[s]:A}=c[a];this.#r=a+1;let d;switch(this.#t){case"key":d=u;break;case"value":d=A;break;case"key+value":d=[u,A];break}return{value:d,done:!1}}}return delete n.prototype.constructor,Object.setPrototypeOf(n.prototype,Cte),Object.defineProperties(n.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(i,a){return new n(i,a)}}o(MM,"createIterator");function Ite(t,e,r,s=0,n=1){let i=MM(t,r,s,n),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return TA.brandCheck(this,e),i(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return TA.brandCheck(this,e),i(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return TA.brandCheck(this,e),i(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,u=globalThis){if(TA.brandCheck(this,e),TA.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:A,1:d}of i(this,"key+value"))l.call(u,d,A,this)},"forEach")}};return Object.defineProperties(e.prototype,{...a,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:a.entries.value}})}o(Ite,"iteratorMixin");async function Bte(t,e,r){let s=e,n=r,i;try{i=t.stream.getReader()}catch(a){n(a);return}try{s(await OM(i))}catch(a){n(a)}}o(Bte,"fullyReadBody");function wte(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(wte,"isReadableStreamLike");function bte(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(bte,"readableStreamClose");var Qte=/[^\x00-\xFF]/;function Rh(t){return ba(!Qte.test(t)),t}o(Rh,"isomorphicEncode");async function OM(t){let e=[],r=0;for(;;){let{done:s,value:n}=await t.read();if(s)return Buffer.concat(e,r);if(!Vee(n))throw new TypeError("Received non-Uint8Array chunk");e.push(n),r+=n.length}}o(OM,"readAllBytes");function xte(t){ba("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(xte,"urlIsLocal");function Gw(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(Gw,"urlHasHttpsScheme");function FM(t){ba("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(FM,"urlIsHttpHttpsScheme");function Nte(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let s={position:5};if(e&&wa(l=>l===" "||l===" ",r,s),r.charCodeAt(s.position)!==61)return"failure";s.position++,e&&wa(l=>l===" "||l===" ",r,s);let n=wa(l=>{let u=l.charCodeAt(0);return u>=48&&u<=57},r,s),i=n.length?Number(n):null;if(e&&wa(l=>l===" "||l===" ",r,s),r.charCodeAt(s.position)!==45)return"failure";s.position++,e&&wa(l=>l===" "||l===" ",r,s);let a=wa(l=>{let u=l.charCodeAt(0);return u>=48&&u<=57},r,s),c=a.length?Number(a):null;return s.positionc?"failure":{rangeStartValue:i,rangeEndValue:c}}o(Nte,"simpleRangeHeaderValue");function Ste(t,e,r){let s="bytes ";return s+=Rh(`${t}`),s+="-",s+=Rh(`${e}`),s+="/",s+=Rh(`${r}`),s}o(Ste,"buildContentRange");var Hw=class extends Dee{static{o(this,"InflateStream")}#e;constructor(e){super(),this.#e=e}_transform(e,r,s){if(!this._inflateStream){if(e.length===0){s();return}this._inflateStream=(e[0]&15)===8?SM.createInflate(this.#e):SM.createInflateRaw(this.#e),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",n=>this.destroy(n))}this._inflateStream.write(e,r,s)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}};function Rte(t){return new Hw(t)}o(Rte,"createInflate");function Tte(t){let e=null,r=null,s=null,n=UM("content-type",t);if(n===null)return"failure";for(let i of n){let a=Uee(i);a==="failure"||a.essence==="*/*"||(s=a,s.essence!==r?(e=null,s.parameters.has("charset")&&(e=s.parameters.get("charset")),r=s.essence):!s.parameters.has("charset")&&e!==null&&s.parameters.set("charset",e))}return s??"failure"}o(Tte,"extractMimeType");function vte(t){let e=t,r={position:0},s=[],n="";for(;r.positioni!=='"'&&i!==",",e,r),r.positioni===9||i===32),s.push(n),n=""}return s}o(vte,"gettingDecodingSplitting");function UM(t,e){let r=e.get(t,!0);return r===null?null:vte(r)}o(UM,"getDecodeSplit");var Pte=new TextDecoder;function kte(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),Pte.decode(t))}o(kte,"utf8DecodeBytes");var zw=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return RM()}get origin(){return this.baseUrl?.origin}policyContainer=_M()},Vw=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new zw},Dte=new Vw;qM.exports={isAborted:fte,isCancelled:gte,isValidEncodedURL:kM,createDeferredPromise:hte,ReadableStreamFrom:Hee,tryUpgradeRequestToAPotentiallyTrustworthyURL:mte,clampAndCoarsenConnectionTimingInfo:nte,coarsenedSharedCurrentTime:ite,determineRequestsReferrer:cte,makePolicyContainer:_M,clonePolicyContainer:ate,appendFetchMetadata:rte,appendRequestOriginHeader:ste,TAOCheck:tte,corsCheck:ete,crossOriginResourcePolicyCheck:Zee,createOpaqueTimingInfo:ote,setRequestReferrerPolicyOnRedirect:Xee,isValidHTTPToken:TM,requestBadPort:Jee,requestCurrentURL:PA,responseURL:PM,responseLocationURL:$ee,isBlobLike:Gee,isURLPotentiallyTrustworthy:vA,isValidReasonPhrase:jee,sameOrigin:vh,normalizeMethod:Ete,serializeJavascriptValueToJSONString:yte,iteratorMixin:Ite,createIterator:MM,isValidHeaderName:Kee,isValidHeaderValue:DM,isErrorLike:Wee,fullyReadBody:Bte,bytesMatch:lte,isReadableStreamLike:wte,readableStreamClose:bte,isomorphicEncode:Rh,urlIsLocal:xte,urlHasHttpsScheme:Gw,urlIsHttpHttpsScheme:FM,readAllBytes:OM,simpleRangeHeaderValue:Nte,buildContentRange:Ste,parseMetadata:LM,createInflate:Rte,extractMimeType:Tte,getDecodeSplit:UM,utf8DecodeBytes:kte,environmentSettingsObject:Dte}});var xo=f((PMe,GM)=>{"use strict";GM.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var Yw=f((kMe,HM)=>{"use strict";var{Blob:_te,File:Lte}=require("node:buffer"),{kState:Ui}=xo(),{webidl:On}=Wt(),$w=class t{static{o(this,"FileLike")}constructor(e,r,s={}){let n=r,i=s.type,a=s.lastModified??Date.now();this[Ui]={blobLike:e,name:n,type:i,lastModified:a}}stream(...e){return On.brandCheck(this,t),this[Ui].blobLike.stream(...e)}arrayBuffer(...e){return On.brandCheck(this,t),this[Ui].blobLike.arrayBuffer(...e)}slice(...e){return On.brandCheck(this,t),this[Ui].blobLike.slice(...e)}text(...e){return On.brandCheck(this,t),this[Ui].blobLike.text(...e)}get size(){return On.brandCheck(this,t),this[Ui].blobLike.size}get type(){return On.brandCheck(this,t),this[Ui].blobLike.type}get name(){return On.brandCheck(this,t),this[Ui].name}get lastModified(){return On.brandCheck(this,t),this[Ui].lastModified}get[Symbol.toStringTag](){return"File"}};On.converters.Blob=On.interfaceConverter(_te);function Mte(t){return t instanceof Lte||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(Mte,"isFileLike");HM.exports={FileLike:$w,isFileLike:Mte}});var DA=f((_Me,JM)=>{"use strict";var{isBlobLike:Ph,iteratorMixin:Ote}=Kr(),{kState:dr}=xo(),{kEnumerableProperty:il}=pe(),{FileLike:zM,isFileLike:Fte}=Yw(),{webidl:Oe}=Wt(),{File:YM}=require("node:buffer"),VM=require("node:util"),$M=globalThis.File??YM,kA=class t{static{o(this,"FormData")}constructor(e){if(Oe.util.markAsUncloneable(this),e!==void 0)throw Oe.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[dr]=[]}append(e,r,s=void 0){Oe.brandCheck(this,t);let n="FormData.append";if(Oe.argumentLengthCheck(arguments,2,n),arguments.length===3&&!Ph(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Oe.converters.USVString(e,n,"name"),r=Ph(r)?Oe.converters.Blob(r,n,"value",{strict:!1}):Oe.converters.USVString(r,n,"value"),s=arguments.length===3?Oe.converters.USVString(s,n,"filename"):void 0;let i=Jw(e,r,s);this[dr].push(i)}delete(e){Oe.brandCheck(this,t);let r="FormData.delete";Oe.argumentLengthCheck(arguments,1,r),e=Oe.converters.USVString(e,r,"name"),this[dr]=this[dr].filter(s=>s.name!==e)}get(e){Oe.brandCheck(this,t);let r="FormData.get";Oe.argumentLengthCheck(arguments,1,r),e=Oe.converters.USVString(e,r,"name");let s=this[dr].findIndex(n=>n.name===e);return s===-1?null:this[dr][s].value}getAll(e){Oe.brandCheck(this,t);let r="FormData.getAll";return Oe.argumentLengthCheck(arguments,1,r),e=Oe.converters.USVString(e,r,"name"),this[dr].filter(s=>s.name===e).map(s=>s.value)}has(e){Oe.brandCheck(this,t);let r="FormData.has";return Oe.argumentLengthCheck(arguments,1,r),e=Oe.converters.USVString(e,r,"name"),this[dr].findIndex(s=>s.name===e)!==-1}set(e,r,s=void 0){Oe.brandCheck(this,t);let n="FormData.set";if(Oe.argumentLengthCheck(arguments,2,n),arguments.length===3&&!Ph(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Oe.converters.USVString(e,n,"name"),r=Ph(r)?Oe.converters.Blob(r,n,"name",{strict:!1}):Oe.converters.USVString(r,n,"name"),s=arguments.length===3?Oe.converters.USVString(s,n,"name"):void 0;let i=Jw(e,r,s),a=this[dr].findIndex(c=>c.name===e);a!==-1?this[dr]=[...this[dr].slice(0,a),i,...this[dr].slice(a+1).filter(c=>c.name!==e)]:this[dr].push(i)}[VM.inspect.custom](e,r){let s=this[dr].reduce((i,a)=>(i[a.name]?Array.isArray(i[a.name])?i[a.name].push(a.value):i[a.name]=[i[a.name],a.value]:i[a.name]=a.value,i),{__proto__:null});r.depth??=e,r.colors??=!0;let n=VM.formatWithOptions(r,s);return`FormData ${n.slice(n.indexOf("]")+2)}`}};Ote("FormData",kA,dr,"name","value");Object.defineProperties(kA.prototype,{append:il,delete:il,get:il,getAll:il,has:il,set:il,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function Jw(t,e,r){if(typeof e!="string"){if(Fte(e)||(e=e instanceof Blob?new $M([e],"blob",{type:e.type}):new zM(e,"blob",{type:e.type})),r!==void 0){let s={type:e.type,lastModified:e.lastModified};e=e instanceof YM?new $M([e],r,s):new zM(e,r,s)}}return{name:t,value:e}}o(Jw,"makeEntry");JM.exports={FormData:kA,makeEntry:Jw}});var eO=f((MMe,ZM)=>{"use strict";var{isUSVString:WM,bufferToLowerCasedHeaderName:Ute}=pe(),{utf8DecodeBytes:qte}=Kr(),{HTTP_TOKEN_CODEPOINTS:Gte,isomorphicDecode:jM}=vr(),{isFileLike:Hte}=Yw(),{makeEntry:zte}=DA(),kh=require("node:assert"),{File:Vte}=require("node:buffer"),$te=globalThis.File??Vte,Yte=Buffer.from('form-data; name="'),KM=Buffer.from("; filename"),Jte=Buffer.from("--"),Wte=Buffer.from(`--\r `);function jte(t){for(let e=0;e70)return!1;for(let r=0;r=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||s===39||s===45||s===95))return!1}return!0}o(Kte,"validateBoundary");function Xte(t,e){kh(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let s=Buffer.from(`--${r}`,"utf8"),n=[],i={position:0};for(;t[i.position]===13&&t[i.position+1]===10;)i.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(i.position,i.position+s.length).equals(s))i.position+=s.length;else return"failure";if(i.position===t.length-2&&Dh(t,Jte,i)||i.position===t.length-4&&Dh(t,Wte,i))return n;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let c=Zte(t,i);if(c==="failure")return"failure";let{name:l,filename:u,contentType:A,encoding:d}=c;i.position+=2;let p;{let h=t.indexOf(s.subarray(2),i.position);if(h===-1)return"failure";p=t.subarray(i.position,h-4),i.position+=p.length,d==="base64"&&(p=Buffer.from(p.toString(),"base64"))}if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let m;u!==null?(A??="text/plain",jte(A)||(A=""),m=new $te([p],u,{type:A})):m=qte(Buffer.from(p)),kh(WM(l)),kh(typeof m=="string"&&WM(m)||Hte(m)),n.push(zte(l,m,u))}}o(Xte,"multipartFormDataParser");function Zte(t,e){let r=null,s=null,n=null,i=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:s,contentType:n,encoding:i};let a=ol(c=>c!==10&&c!==13&&c!==58,t,e);if(a=Ww(a,!0,!0,c=>c===9||c===32),!Gte.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,ol(c=>c===32||c===9,t,e),Ute(a)){case"content-disposition":{if(r=s=null,!Dh(t,Yte,e)||(e.position+=17,r=XM(t,e),r===null))return"failure";if(Dh(t,KM,e)){let c=e.position+KM.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,s=XM(t,e),s===null))return"failure"}break}case"content-type":{let c=ol(l=>l!==10&&l!==13,t,e);c=Ww(c,!1,!0,l=>l===9||l===32),n=jM(c);break}case"content-transfer-encoding":{let c=ol(l=>l!==10&&l!==13,t,e);c=Ww(c,!1,!0,l=>l===9||l===32),i=jM(c);break}default:ol(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(Zte,"parseMultipartFormDataHeaders");function XM(t,e){kh(t[e.position-1]===34);let r=ol(s=>s!==10&&s!==13&&s!==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(XM,"parseMultipartFormDataName");function ol(t,e,r){let s=r.position;for(;s0&&s(t[i]);)i--;return n===0&&i===t.length-1?t:t.subarray(n,i+1)}o(Ww,"removeChars");function Dh(t,e,r){if(t.length{"use strict";var _A=pe(),{ReadableStreamFrom:ere,isBlobLike:tO,isReadableStreamLike:tre,readableStreamClose:rre,createDeferredPromise:sre,fullyReadBody:nre,extractMimeType:ire,utf8DecodeBytes:nO}=Kr(),{FormData:rO}=DA(),{kState:cl}=xo(),{webidl:ore}=Wt(),{Blob:are}=require("node:buffer"),jw=require("node:assert"),{isErrored:iO,isDisturbed:cre}=require("node:stream"),{isArrayBuffer:lre}=require("node:util/types"),{serializeAMimeType:ure}=vr(),{multipartFormDataParser:Are}=eO(),Kw;try{let t=require("node:crypto");Kw=o(e=>t.randomInt(0,e),"random")}catch{Kw=o(t=>Math.floor(Math.random(t)),"random")}var _h=new TextEncoder;function dre(){}o(dre,"noop");var oO=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,aO;oO&&(aO=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!cre(e)&&!iO(e)&&e.cancel("Response object has been garbage collected").catch(dre)}));function cO(t,e=!1){let r=null;t instanceof ReadableStream?r=t:tO(t)?r=t.stream():r=new ReadableStream({async pull(l){let u=typeof n=="string"?_h.encode(n):n;u.byteLength&&l.enqueue(u),queueMicrotask(()=>rre(l))},start(){},type:"bytes"}),jw(tre(r));let s=null,n=null,i=null,a=null;if(typeof t=="string")n=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)n=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(lre(t))n=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))n=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(_A.isFormDataLike(t)){let l=`----formdata-undici-0${`${Kw(1e11)}`.padStart(11,"0")}`,u=`--${l}\r Content-Disposition: form-data`;let A=o(C=>C.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),"escape"),d=o(C=>C.replace(/\r?\n|\r/g,`\r `),"normalizeLinefeeds"),p=[],m=new Uint8Array([13,10]);i=0;let h=!1;for(let[C,E]of t)if(typeof E=="string"){let y=_h.encode(u+`; name="${A(d(C))}"\r \r ${d(E)}\r `);p.push(y),i+=y.byteLength}else{let y=_h.encode(`${u}; name="${A(d(C))}"`+(E.name?`; filename="${A(E.name)}"`:"")+`\r Content-Type: ${E.type||"application/octet-stream"}\r \r `);p.push(y,E,m),typeof E.size=="number"?i+=y.byteLength+E.size+m.byteLength:h=!0}let g=_h.encode(`--${l}--\r `);p.push(g),i+=g.byteLength,h&&(i=null),n=t,s=o(async function*(){for(let C of p)C.stream?yield*C.stream():yield C},"action"),a=`multipart/form-data; boundary=${l}`}else if(tO(t))n=t,i=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(_A.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:ere(t)}if((typeof n=="string"||_A.isBuffer(n))&&(i=Buffer.byteLength(n)),s!=null){let l;r=new ReadableStream({async start(){l=s(t)[Symbol.asyncIterator]()},async pull(u){let{value:A,done:d}=await l.next();if(d)queueMicrotask(()=>{u.close(),u.byobRequest?.respond(0)});else if(!iO(r)){let p=new Uint8Array(A);p.byteLength&&u.enqueue(p)}return u.desiredSize>0},async cancel(u){await l.return()},type:"bytes"})}return[{stream:r,source:n,length:i},a]}o(cO,"extractBody");function pre(t,e=!1){return t instanceof ReadableStream&&(jw(!_A.isDisturbed(t),"The body has already been consumed."),jw(!t.locked,"The stream is locked.")),cO(t,e)}o(pre,"safelyExtractBody");function mre(t,e){let[r,s]=e.stream.tee();return e.stream=r,{stream:s,length:e.length,source:e.source}}o(mre,"cloneBody");function hre(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(hre,"throwIfAborted");function fre(t){return{blob(){return al(this,r=>{let s=sO(this);return s===null?s="":s&&(s=ure(s)),new are([r],{type:s})},t)},arrayBuffer(){return al(this,r=>new Uint8Array(r).buffer,t)},text(){return al(this,nO,t)},json(){return al(this,Ere,t)},formData(){return al(this,r=>{let s=sO(this);if(s!==null)switch(s.essence){case"multipart/form-data":{let n=Are(r,s);if(n==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new rO;return i[cl]=n,i}case"application/x-www-form-urlencoded":{let n=new URLSearchParams(r.toString()),i=new rO;for(let[a,c]of n)i.append(a,c);return i}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return al(this,r=>new Uint8Array(r),t)}}}o(fre,"bodyMixinMethods");function gre(t){Object.assign(t.prototype,fre(t))}o(gre,"mixinBody");async function al(t,e,r){if(ore.brandCheck(t,r),lO(t))throw new TypeError("Body is unusable: Body has already been read");hre(t[cl]);let s=sre(),n=o(a=>s.reject(a),"errorSteps"),i=o(a=>{try{s.resolve(e(a))}catch(c){n(c)}},"successSteps");return t[cl].body==null?(i(Buffer.allocUnsafe(0)),s.promise):(await nre(t[cl].body,i,n),s.promise)}o(al,"consumeBody");function lO(t){let e=t[cl].body;return e!=null&&(e.stream.locked||_A.isDisturbed(e.stream))}o(lO,"bodyUnusable");function Ere(t){return JSON.parse(nO(t))}o(Ere,"parseJSONFromBytes");function sO(t){let e=t[cl].headersList,r=ire(e);return r==="failure"?null:r}o(sO,"bodyMimeType");uO.exports={extractBody:cO,safelyExtractBody:pre,cloneBody:mre,mixinBody:gre,streamRegistry:aO,hasFinalizationRegistry:oO,bodyUnusable:lO}});var xO=f((qMe,QO)=>{"use strict";var W=require("node:assert"),X=pe(),{channels:AO}=jc(),Xw=kw(),{RequestContentLengthMismatchError:Qa,ResponseContentLengthMismatchError:dO,RequestAbortedError:CO,InvalidArgumentError:yre,HeadersTimeoutError:Cre,HeadersOverflowError:Ire,SocketError:ul,InformationalError:Al,BodyTimeoutError:Bre,HTTPParserError:wre,ResponseExceededMaxSizeError:bre}=we(),{kUrl:IO,kReset:Pr,kClient:Fh,kParser:qe,kBlocking:OA,kRunning:xt,kPending:BO,kSize:pO,kWriting:No,kQueue:on,kNoRef:LA,kKeepAliveDefaultTimeout:Qre,kHostHeader:xre,kPendingIdx:Nre,kRunningIdx:xs,kError:pr,kPipelining:Uh,kSocket:xa,kKeepAliveTimeoutValue:Gh,kMaxHeadersSize:Zw,kKeepAliveMaxTimeout:Sre,kKeepAliveTimeoutThreshold:Rre,kHeadersTimeout:Tre,kBodyTimeout:vre,kStrictContentLength:rb,kMaxRequests:mO,kCounter:Pre,kMaxResponseSize:kre,kOnError:hO,kResume:qi,kHTTPContext:wO}=Ye(),Xr=aM(),fO=Buffer.alloc(0),Lh=Buffer[Symbol.species],Mh=X.addListener,Dre=X.removeAllListeners,Na=Symbol("kIdleSocketValidation"),dl=Symbol("kIdleSocketValidationTimeout"),ob=Symbol("kSocketUsed"),eb;async function _re(){let t=process.env.JEST_WORKER_ID?Lw():void 0,e;try{e=await WebAssembly.compile(uM())}catch{e=await WebAssembly.compile(t||Lw())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:o((r,s,n)=>0,"wasm_on_url"),wasm_on_status:o((r,s,n)=>{W(st.ptr===r);let i=s-Un+Fn.byteOffset;return st.onStatus(new Lh(Fn.buffer,i,n))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>(W(st.ptr===r),st.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,s,n)=>{W(st.ptr===r);let i=s-Un+Fn.byteOffset;return st.onHeaderField(new Lh(Fn.buffer,i,n))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,s,n)=>{W(st.ptr===r);let i=s-Un+Fn.byteOffset;return st.onHeaderValue(new Lh(Fn.buffer,i,n))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,s,n,i)=>(W(st.ptr===r),st.onHeadersComplete(s,!!n,!!i)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,s,n)=>{W(st.ptr===r);let i=s-Un+Fn.byteOffset;return st.onBody(new Lh(Fn.buffer,i,n))||0},"wasm_on_body"),wasm_on_message_complete:o(r=>(W(st.ptr===r),st.onMessageComplete()||0),"wasm_on_message_complete")}})}o(_re,"lazyllhttp");var tb=null,sb=_re();sb.catch();var st=null,Fn=null,Oh=0,Un=null,Lre=0,MA=1,pl=2|MA,qh=4|MA,nb=8|Lre,ib=class{static{o(this,"Parser")}constructor(e,r,{exports:s}){W(Number.isFinite(e[Zw])&&e[Zw]>0),this.llhttp=s,this.ptr=this.llhttp.llhttp_alloc(Xr.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[Zw],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[kre]}setTimeout(e,r){e!==this.timeoutValue||r&MA^this.timeoutType&MA?(this.timeout&&(Xw.clearTimeout(this.timeout),this.timeout=null),e&&(r&MA?this.timeout=Xw.setFastTimeout(gO,e,new WeakRef(this)):(this.timeout=setTimeout(gO,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||(W(this.ptr!=null),W(st==null),this.llhttp.llhttp_resume(this.ptr),W(this.timeoutType===qh),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||fO),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){W(this.ptr!=null),W(st==null),W(!this.paused);let{socket:r,llhttp:s}=this;e.length>Oh&&(Un&&s.free(Un),Oh=Math.ceil(e.length/4096)*4096,Un=s.malloc(Oh)),new Uint8Array(s.memory.buffer,Un,Oh).set(e);try{let n;try{Fn=e,st=this,n=s.llhttp_execute(this.ptr,Un,e.length)}catch(a){throw a}finally{st=null,Fn=null}let i=s.llhttp_get_error_pos(this.ptr)-Un;if(n!==Xr.ERROR.OK){let a=e.subarray(i);if(n===Xr.ERROR.PAUSED_UPGRADE)this.onUpgrade(a);else if(n===Xr.ERROR.PAUSED)this.paused=!0,r.unshift(a);else throw this.createError(n,a)}}catch(n){X.destroy(r,n)}}finish(){W(st===null),W(this.ptr!=null),W(!this.paused);let{llhttp:e}=this,r;try{st=this,r=e.llhttp_finish(this.ptr)}finally{st=null}return r===Xr.ERROR.OK?null:r===Xr.ERROR.PAUSED||r===Xr.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(r,fO)}createError(e,r){let{llhttp:s,contentLength:n,bytesRead:i}=this;if(n&&i!==parseInt(n,10))return new dO;let a=s.llhttp_get_error_reason(this.ptr),c="";if(a){let l=new Uint8Array(s.memory.buffer,a).indexOf(0);c="Response does not match the HTTP/1.1 protocol ("+Buffer.from(s.memory.buffer,a,l).toString()+")"}return new wre(c,Xr.ERROR[e],r)}destroy(){W(this.ptr!=null),W(st==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&Xw.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;if(r[xt]===0)return X.destroy(e,new ul("bad response",X.getSocketInfo(e))),-1;let s=r[on][r[xs]];if(!s)return-1;s.onResponseStarted()}onHeaderField(e){let r=this.headers.length;(r&1)===0?this.headers.push(e):this.headers[r-1]=Buffer.concat([this.headers[r-1],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 s=this.headers[r-2];if(s.length===10){let n=X.bufferToLowerCasedHeaderName(s);n==="keep-alive"?this.keepAlive+=e.toString():n==="connection"&&(this.connection+=e.toString())}else s.length===14&&X.bufferToLowerCasedHeaderName(s)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&X.destroy(this.socket,new Ire)}onUpgrade(e){let{upgrade:r,client:s,socket:n,headers:i,statusCode:a}=this;W(r),W(s[xa]===n),W(!n.destroyed),W(!this.paused),W((i.length&1)===0);let c=s[on][s[xs]];W(c),W(c.upgrade||c.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,n.unshift(e),n[qe].destroy(),n[qe]=null,n[Fh]=null,n[pr]=null,Dre(n),s[xa]=null,s[wO]=null,s[on][s[xs]++]=null,s.emit("disconnect",s[IO],[s],new Al("upgrade"));try{c.onUpgrade(a,i,n)}catch(l){X.destroy(n,l)}s[qi]()}onHeadersComplete(e,r,s){let{client:n,socket:i,headers:a,statusText:c}=this;if(i.destroyed)return-1;if(n[xt]===0)return X.destroy(i,new ul("bad response",X.getSocketInfo(i))),-1;let l=n[on][n[xs]];if(!l)return-1;if(W(!this.upgrade),W(this.statusCode<200),e===100)return X.destroy(i,new ul("bad response",X.getSocketInfo(i))),-1;if(r&&!l.upgrade)return X.destroy(i,new ul("bad upgrade",X.getSocketInfo(i))),-1;if(W(this.timeoutType===pl),this.statusCode=e,this.shouldKeepAlive=s||l.method==="HEAD"&&!i[Pr]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let A=l.bodyTimeout!=null?l.bodyTimeout:n[vre];this.setTimeout(A,qh)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return W(n[xt]===1),this.upgrade=!0,2;if(r)return W(n[xt]===1),this.upgrade=!0,2;if(W((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&n[Uh]){let A=this.keepAlive?X.parseKeepAliveTimeout(this.keepAlive):null;if(A!=null){let d=Math.min(A-n[Rre],n[Sre]);d<=0?i[Pr]=!0:n[Gh]=d}else n[Gh]=n[Qre]}else i[Pr]=!0;let u=l.onHeaders(e,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||e<200?1:(i[OA]&&(i[OA]=!1,n[qi]()),u?Xr.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:s,statusCode:n,maxResponseSize:i}=this;if(s.destroyed)return-1;let a=r[on][r[xs]];if(W(a),W(this.timeoutType===qh),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),W(n>=200),i>-1&&this.bytesRead+e.length>i)return X.destroy(s,new bre),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return Xr.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:s,upgrade:n,headers:i,contentLength:a,bytesRead:c,shouldKeepAlive:l}=this;if(r.destroyed&&(!s||l))return-1;if(n)return;W(s>=100),W((this.headers.length&1)===0);let u=e[on][e[xs]];if(W(u),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,!(s<200)){if(u.method!=="HEAD"&&a&&c!==parseInt(a,10))return X.destroy(r,new dO),-1;if(u.onComplete(i),e[on][e[xs]++]=null,r[ob]=!0,r[No])return W(e[xt]===0),X.destroy(r,new Al("reset")),Xr.ERROR.PAUSED;if(l){if(r[Pr]&&e[xt]===0)return X.destroy(r,new Al("reset")),Xr.ERROR.PAUSED;e[Uh]==null||e[Uh]===1?setImmediate(()=>e[qi]()):e[qi]()}else return X.destroy(r,new Al("reset")),Xr.ERROR.PAUSED}}};function gO(t){let{socket:e,timeoutType:r,client:s,paused:n}=t.deref();r===pl?(!e[No]||e.writableNeedDrain||s[xt]>1)&&(W(!n,"cannot be paused while waiting for headers"),X.destroy(e,new Cre)):r===qh?n||X.destroy(e,new Bre):r===nb&&(W(s[xt]===0&&s[Gh]),X.destroy(e,new Al("socket idle timeout")))}o(gO,"onParserTimeout");async function Mre(t,e){t[xa]=e,tb||(tb=await sb,sb=null),e[LA]=!1,e[No]=!1,e[Pr]=!1,e[OA]=!1,e[Na]=0,e[dl]=null,e[ob]=!1,e[qe]=new ib(t,e,tb),Mh(e,"error",function(s){W(s.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let n=this[qe];if(s.code==="ECONNRESET"&&n.statusCode&&!n.shouldKeepAlive){let i=n.finish();i&&(this[pr]=i,this[Fh][hO](i));return}this[pr]=s,this[Fh][hO](s)}),Mh(e,"readable",function(){let s=this[qe];s&&s.readMore()}),Mh(e,"end",function(){let s=this[qe];if(s.statusCode&&!s.shouldKeepAlive){let n=s.finish();n&&X.destroy(this,n);return}X.destroy(this,new ul("other side closed",X.getSocketInfo(this)))}),Mh(e,"close",function(){let s=this[Fh],n=this[qe];bO(this),n&&(!this[pr]&&n.statusCode&&!n.shouldKeepAlive&&(this[pr]=n.finish()||this[pr]),this[qe].destroy(),this[qe]=null);let i=this[pr]||new ul("closed",X.getSocketInfo(this));if(s[xa]=null,s[wO]=null,s.destroyed){W(s[BO]===0);let a=s[on].splice(s[xs]);for(let c=0;c0&&i.code!=="UND_ERR_INFO"){let a=s[on][s[xs]];s[on][s[xs]++]=null,X.errorRequest(s,a,i)}s[Nre]=s[xs],W(s[xt]===0),s.emit("disconnect",s[IO],[s],i),s[qi]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...s){return qre(t,...s)},resume(){Fre(t)},destroy(s,n){r?queueMicrotask(n):e.destroy(s).on("close",n)},get destroyed(){return e.destroyed},busy(s){return!!(e[No]||e[Pr]||e[OA]||e[Na]===1||s&&(t[xt]>0&&!s.idempotent||t[xt]>0&&(s.upgrade||s.method==="CONNECT")||t[xt]>0&&X.bodyLength(s.body)!==0&&(X.isStream(s.body)||X.isAsyncIterable(s.body)||X.isFormDataLike(s.body))))}}}o(Mre,"connectH1");function bO(t){t[dl]&&(clearImmediate(t[dl]),t[dl]=null),t[Na]=0}o(bO,"clearIdleSocketValidation");function Ore(t,e){e[Na]=1,e[dl]=setImmediate(()=>{e[dl]=null,e[Na]=2,t[xa]===e&&!e.destroyed&&t[qi]()})}o(Ore,"scheduleIdleSocketValidation");function Fre(t){let e=t[xa];if(e&&!e.destroyed){if(t[pO]===0?!e[LA]&&e.unref&&(e.unref(),e[LA]=!0):e[LA]&&e.ref&&(e.ref(),e[LA]=!1),t[xt]===0&&t[BO]>0&&e[ob]){if(e[Na]===0)return Ore(t,e),e[qe].readMore(),e.destroyed,void 0;if(e[Na]===1)return e[qe].readMore(),e.destroyed,void 0}if(t[xt]===0&&(e[qe].readMore(),e.destroyed))return;if(t[pO]===0)e[qe].timeoutType!==nb&&e[qe].setTimeout(t[Gh],nb);else if(t[xt]>0&&e[qe].statusCode<200&&e[qe].timeoutType!==pl){let r=t[on][t[xs]],s=r.headersTimeout!=null?r.headersTimeout:t[Tre];e[qe].setTimeout(s,pl)}}}o(Fre,"resumeH1");function Ure(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(Ure,"shouldSendContentLength");function qre(t,e){let{method:r,path:s,host:n,upgrade:i,blocking:a,reset:c}=e,{body:l,headers:u,contentLength:A}=e,d=r==="PUT"||r==="POST"||r==="PATCH"||r==="QUERY"||r==="PROPFIND"||r==="PROPPATCH";if(X.isFormDataLike(l)){eb||(eb=ll().extractBody);let[C,E]=eb(l);e.contentType==null&&u.push("content-type",E),l=C.stream,A=C.length}else if(X.isBlobLike(l)&&e.contentType==null){let C=l.type;if(C){let E=`${C}`;if(!X.isValidHeaderValue(E))return X.errorRequest(t,e,new yre("invalid content-type header")),!1;u.push("content-type",E)}}l&&typeof l.read=="function"&&l.read(0);let p=X.bodyLength(l);if(A=p??A,A===null&&(A=e.contentLength),A===0&&!d&&(A=null),Ure(r)&&A>0&&e.contentLength!==null&&e.contentLength!==A){if(t[rb])return X.errorRequest(t,e,new Qa),!1;process.emitWarning(new Qa)}let m=t[xa];bO(m);let h=o(C=>{e.aborted||e.completed||(X.errorRequest(t,e,C||new CO),X.destroy(l),X.destroy(m,new Al("aborted")))},"abort");try{e.onConnect(h)}catch(C){X.errorRequest(t,e,C)}if(e.aborted)return!1;r==="HEAD"&&(m[Pr]=!0),(i||r==="CONNECT")&&(m[Pr]=!0),c!=null&&(m[Pr]=c),t[mO]&&m[Pre]++>=t[mO]&&(m[Pr]=!0),a&&(m[OA]=!0);let g=`${r} ${s} HTTP/1.1\r `;if(typeof n=="string"?g+=`host: ${n}\r `:g+=t[xre],i?g+=`connection: upgrade\r upgrade: ${i}\r `:t[Uh]&&!m[Pr]?g+=`connection: keep-alive\r `:g+=`connection: close\r `,Array.isArray(u))for(let C=0;C{e.removeListener("error",m)}),!l){let h=new CO;queueMicrotask(()=>m(h))}},"onClose"),m=o(function(h){if(!l){if(l=!0,W(n.destroyed||n[No]&&r[xt]<=1),n.off("drain",d).off("error",m),e.removeListener("data",A).removeListener("end",m).removeListener("close",p),!h)try{u.end()}catch(g){h=g}u.destroy(h),h&&(h.code!=="UND_ERR_INFO"||h.message!=="reset")?X.destroy(e,h):X.destroy(e)}},"onFinished");e.on("data",A).on("end",m).on("error",m).on("close",p),e.resume&&e.resume(),n.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(p)}o(Gre,"writeStream");function EO(t,e,r,s,n,i,a,c){try{e?X.isBuffer(e)&&(W(i===e.byteLength,"buffer body must have content length"),n.cork(),n.write(`${a}content-length: ${i}\r \r `,"latin1"),n.write(e),n.uncork(),s.onBodySent(e),!c&&s.reset!==!1&&(n[Pr]=!0)):i===0?n.write(`${a}content-length: 0\r \r `,"latin1"):(W(i===null,"no body must not have content length"),n.write(`${a}\r `,"latin1")),s.onRequestSent(),r[qi]()}catch(l){t(l)}}o(EO,"writeBuffer");async function Hre(t,e,r,s,n,i,a,c){W(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new Qa;let l=Buffer.from(await e.arrayBuffer());n.cork(),n.write(`${a}content-length: ${i}\r \r `,"latin1"),n.write(l),n.uncork(),s.onBodySent(l),s.onRequestSent(),!c&&s.reset!==!1&&(n[Pr]=!0),r[qi]()}catch(l){t(l)}}o(Hre,"writeBlob");async function yO(t,e,r,s,n,i,a,c){W(i!==0||r[xt]===0,"iterator body cannot be pipelined");let l=null;function u(){if(l){let p=l;l=null,p()}}o(u,"onDrain");let A=o(()=>new Promise((p,m)=>{W(l===null),n[pr]?m(n[pr]):l=p}),"waitForDrain");n.on("close",u).on("drain",u);let d=new Hh({abort:t,socket:n,request:s,contentLength:i,client:r,expectsPayload:c,header:a});try{for await(let p of e){if(n[pr])throw n[pr];d.write(p)||await A()}d.end()}catch(p){d.destroy(p)}finally{n.off("close",u).off("drain",u)}}o(yO,"writeIterable");var Hh=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:s,contentLength:n,client:i,expectsPayload:a,header:c}){this.socket=r,this.request=s,this.contentLength=n,this.client=i,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[No]=!0}write(e){let{socket:r,request:s,contentLength:n,client:i,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[pr])throw r[pr];if(r.destroyed)return!1;let u=Buffer.byteLength(e);if(!u)return!0;if(n!==null&&a+u>n){if(i[rb])throw new Qa;process.emitWarning(new Qa)}r.cork(),a===0&&(!c&&s.reset!==!1&&(r[Pr]=!0),n===null?r.write(`${l}transfer-encoding: chunked\r `,"latin1"):r.write(`${l}content-length: ${n}\r \r `,"latin1")),n===null&&r.write(`\r ${u.toString(16)}\r `,"latin1"),this.bytesWritten+=u;let A=r.write(e);return r.uncork(),s.onBodySent(e),A||r[qe].timeout&&r[qe].timeoutType===pl&&r[qe].timeout.refresh&&r[qe].timeout.refresh(),A}end(){let{socket:e,contentLength:r,client:s,bytesWritten:n,expectsPayload:i,header:a,request:c}=this;if(c.onRequestSent(),e[No]=!1,e[pr])throw e[pr];if(!e.destroyed){if(n===0?i?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&&n!==r){if(s[rb])throw new Qa;process.emitWarning(new Qa)}e[qe].timeout&&e[qe].timeoutType===pl&&e[qe].timeout.refresh&&e[qe].timeout.refresh(),s[qi]()}}destroy(e){let{socket:r,client:s,abort:n}=this;r[No]=!1,e&&(W(s[xt]<=1,"pipeline should only contain this request"),n(e))}};QO.exports=Mre});var DO=f((HMe,kO)=>{"use strict";var Ns=require("node:assert"),{pipeline:zre}=require("node:stream"),Ee=pe(),{RequestContentLengthMismatchError:ab,RequestAbortedError:NO,SocketError:FA,InformationalError:cb}=we(),{kUrl:zh,kReset:$h,kClient:ml,kRunning:Yh,kPending:Vre,kQueue:So,kPendingIdx:lb,kRunningIdx:an,kError:ln,kSocket:Gt,kStrictContentLength:$re,kOnError:ub,kMaxConcurrentStreams:PO,kHTTP2Session:cn,kResume:Ro,kSize:Yre,kHTTPContext:Jre}=Ye(),Gi=Symbol("open streams"),SO,RO=!1,Vh;try{Vh=require("node:http2")}catch{Vh={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:Wre,HTTP2_HEADER_METHOD:jre,HTTP2_HEADER_PATH:Kre,HTTP2_HEADER_SCHEME:Xre,HTTP2_HEADER_CONTENT_LENGTH:Zre,HTTP2_HEADER_EXPECT:ese,HTTP2_HEADER_STATUS:tse}}=Vh;function rse(t){let e=[];for(let[r,s]of Object.entries(t))if(Array.isArray(s))for(let n of s)e.push(Buffer.from(r),Buffer.from(n));else e.push(Buffer.from(r),Buffer.from(s));return e}o(rse,"parseH2Headers");async function sse(t,e){t[Gt]=e,RO||(RO=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=Vh.connect(t[zh],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[PO]});r[Gi]=0,r[ml]=t,r[Gt]=e,Ee.addListener(r,"error",ise),Ee.addListener(r,"frameError",ose),Ee.addListener(r,"end",ase),Ee.addListener(r,"goaway",cse),Ee.addListener(r,"close",function(){let{[ml]:n}=this,{[Gt]:i}=n,a=this[Gt][ln]||this[ln]||new FA("closed",Ee.getSocketInfo(i));if(n[cn]=null,n.destroyed){Ns(n[Vre]===0);let c=n[So].splice(n[an]);for(let l=0;l{s=!0}),{version:"h2",defaultPipelining:1/0,write(...n){return use(t,...n)},resume(){nse(t)},destroy(n,i){s?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}o(sse,"connectH2");function nse(t){let e=t[Gt];e?.destroyed===!1&&(t[Yre]===0&&t[PO]===0?(e.unref(),t[cn].unref()):(e.ref(),t[cn].ref()))}o(nse,"resumeH2");function ise(t){Ns(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Gt][ln]=t,this[ml][ub](t)}o(ise,"onHttp2SessionError");function ose(t,e,r){if(r===0){let s=new cb(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[Gt][ln]=s,this[ml][ub](s)}}o(ose,"onHttp2FrameError");function ase(){let t=new FA("other side closed",Ee.getSocketInfo(this[Gt]));this.destroy(t),Ee.destroy(this[Gt],t)}o(ase,"onHttp2SessionEnd");function cse(t){let e=this[ln]||new FA(`HTTP/2: "GOAWAY" frame received with code ${t}`,Ee.getSocketInfo(this)),r=this[ml];if(r[Gt]=null,r[Jre]=null,this[cn]!=null&&(this[cn].destroy(e),this[cn]=null),Ee.destroy(this[Gt],e),r[an]{e.aborted||e.completed||(B=B||new NO,Ee.errorRequest(t,e,B),p!=null&&Ee.destroy(p,B),Ee.destroy(A,B),t[So][t[an]++]=null,t[Ro]())},"abort");try{e.onConnect(g)}catch(B){Ee.errorRequest(t,e,B)}if(e.aborted)return!1;if(s==="CONNECT")return r.ref(),p=r.request(d,{endStream:!1,signal:l}),p.id&&!p.pending?(e.onUpgrade(null,null,p),++r[Gi],t[So][t[an]++]=null):p.once("ready",()=>{e.onUpgrade(null,null,p),++r[Gi],t[So][t[an]++]=null}),p.once("close",()=>{r[Gi]-=1,r[Gi]===0&&r.unref()}),!0;d[Kre]=n,d[Xre]="https";let C=s==="PUT"||s==="POST"||s==="PATCH";A&&typeof A.read=="function"&&A.read(0);let E=Ee.bodyLength(A);if(Ee.isFormDataLike(A)){SO??=ll().extractBody;let[B,N]=SO(A);d["content-type"]=N,A=B.stream,E=B.length}if(E==null&&(E=e.contentLength),(E===0||!C)&&(E=null),lse(s)&&E>0&&e.contentLength!=null&&e.contentLength!==E){if(t[$re])return Ee.errorRequest(t,e,new ab),!1;process.emitWarning(new ab)}E!=null&&(Ns(A,"no body must not have content length"),d[Zre]=`${E}`),r.ref();let y=s==="GET"||s==="HEAD"||A===null;return c?(d[ese]="100-continue",p=r.request(d,{endStream:y,signal:l}),p.once("continue",I)):(p=r.request(d,{endStream:y,signal:l}),I()),++r[Gi],p.once("response",B=>{let{[tse]:N,...S}=B;if(e.onResponseStarted(),e.aborted){let q=new NO;Ee.errorRequest(t,e,q),Ee.destroy(p,q);return}e.onHeaders(Number(N),rse(S),p.resume.bind(p),"")===!1&&p.pause(),p.on("data",q=>{e.onData(q)===!1&&p.pause()})}),p.once("end",()=>{(p.state?.state==null||p.state.state<6)&&e.onComplete([]),r[Gi]===0&&r.unref(),g(new cb("HTTP/2: stream half-closed (remote)")),t[So][t[an]++]=null,t[lb]=t[an],t[Ro]()}),p.once("close",()=>{r[Gi]-=1,r[Gi]===0&&r.unref()}),p.once("error",function(B){g(B)}),p.once("frameError",(B,N)=>{g(new cb(`HTTP/2: "frameError" received - type ${B}, code ${N}`))}),!0;function I(){!A||E===0?TO(g,p,null,t,e,t[Gt],E,C):Ee.isBuffer(A)?TO(g,p,A,t,e,t[Gt],E,C):Ee.isBlobLike(A)?typeof A.stream=="function"?vO(g,p,A.stream(),t,e,t[Gt],E,C):dse(g,p,A,t,e,t[Gt],E,C):Ee.isStream(A)?Ase(g,t[Gt],C,p,A,t,e,E):Ee.isIterable(A)?vO(g,p,A,t,e,t[Gt],E,C):Ns(!1)}o(I,"writeBodyH2")}o(use,"writeH2");function TO(t,e,r,s,n,i,a,c){try{r!=null&&Ee.isBuffer(r)&&(Ns(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),n.onBodySent(r)),c||(i[$h]=!0),n.onRequestSent(),s[Ro]()}catch(l){t(l)}}o(TO,"writeBuffer");function Ase(t,e,r,s,n,i,a,c){Ns(c!==0||i[Yh]===0,"stream body cannot be pipelined");let l=zre(n,s,A=>{A?(Ee.destroy(l,A),t(A)):(Ee.removeAllListeners(l),a.onRequestSent(),r||(e[$h]=!0),i[Ro]())});Ee.addListener(l,"data",u);function u(A){a.onBodySent(A)}o(u,"onPipeData")}o(Ase,"writeStream");async function dse(t,e,r,s,n,i,a,c){Ns(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new ab;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),n.onBodySent(l),n.onRequestSent(),c||(i[$h]=!0),s[Ro]()}catch(l){t(l)}}o(dse,"writeBlob");async function vO(t,e,r,s,n,i,a,c){Ns(a!==0||s[Yh]===0,"iterator body cannot be pipelined");let l=null;function u(){if(l){let d=l;l=null,d()}}o(u,"onDrain");let A=o(()=>new Promise((d,p)=>{Ns(l===null),i[ln]?p(i[ln]):l=d}),"waitForDrain");e.on("close",u).on("drain",u);try{for await(let d of r){if(i[ln])throw i[ln];let p=e.write(d);n.onBodySent(d),p||await A()}e.end(),n.onRequestSent(),c||(i[$h]=!0),s[Ro]()}catch(d){t(d)}finally{e.off("close",u).off("drain",u)}}o(vO,"writeIterable");kO.exports=sse});var Wh=f((VMe,MO)=>{"use strict";var qn=pe(),{kBodyUsed:UA}=Ye(),db=require("node:assert"),{InvalidArgumentError:pse}=we(),mse=require("node:events"),hse=[300,301,302,303,307,308],_O=Symbol("body"),Jh=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[_O]=e,this[UA]=!1}async*[Symbol.asyncIterator](){db(!this[UA],"disturbed"),this[UA]=!0,yield*this[_O]}},Ab=class{static{o(this,"RedirectHandler")}constructor(e,r,s,n){if(r!=null&&(!Number.isInteger(r)||r<0))throw new pse("maxRedirections must be a positive number");qn.validateHandler(n,s.method,s.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...s,maxRedirections:0},this.maxRedirections=r,this.handler=n,this.history=[],this.redirectionLimitReached=!1,qn.isStream(this.opts.body)?(qn.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){db(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[UA]=!1,mse.prototype.on.call(this.opts.body,"data",function(){this[UA]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new Jh(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&qn.isIterable(this.opts.body)&&(this.opts.body=new Jh(this.opts.body))}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,r,s){this.handler.onUpgrade(e,r,s)}onError(e){this.handler.onError(e)}onHeaders(e,r,s,n){if(this.location=this.history.length>=this.maxRedirections||qn.isDisturbed(this.opts.body)?null:fse(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,s,n);let{origin:i,pathname:a,search:c}=qn.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=gse(this.opts.headers,e===303,this.opts.origin!==i),this.opts.path=l,this.opts.origin=i,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 fse(t,e){if(hse.indexOf(t)===-1)return null;for(let r=0;r{"use strict";var Ese=Wh();function yse({maxRedirections:t}){return e=>o(function(s,n){let{maxRedirections:i=t}=s;if(!i)return e(s,n);let a=new Ese(e,i,s,n);return s={...s,maxRedirections:0},e(s,a)},"Intercept")}o(yse,"createRedirectInterceptor");OO.exports=yse});var gl=f((WMe,JO)=>{"use strict";var Hi=require("node:assert"),zO=require("node:net"),Cse=require("node:http"),Sa=pe(),{channels:hl}=jc(),Ise=JL(),Bse=el(),{InvalidArgumentError:pt,InformationalError:wse,ClientDestroyedError:bse}=we(),Qse=NA(),{kUrl:Gn,kServerName:To,kClient:xse,kBusy:pb,kConnect:Nse,kResuming:Ra,kRunning:VA,kPending:$A,kSize:zA,kQueue:un,kConnected:Sse,kConnecting:fl,kNeedDrain:Po,kKeepAliveDefaultTimeout:FO,kHostHeader:Rse,kPendingIdx:An,kRunningIdx:zi,kError:Tse,kPipelining:Kh,kKeepAliveTimeoutValue:vse,kMaxHeadersSize:Pse,kKeepAliveMaxTimeout:kse,kKeepAliveTimeoutThreshold:Dse,kHeadersTimeout:_se,kBodyTimeout:Lse,kStrictContentLength:Mse,kConnector:qA,kMaxRedirections:Ose,kMaxRequests:mb,kCounter:Fse,kClose:Use,kDestroy:qse,kDispatch:Gse,kInterceptors:UO,kLocalAddress:GA,kMaxResponseSize:Hse,kOnError:zse,kHTTPContext:mt,kMaxConcurrentStreams:Vse,kResume:HA}=Ye(),$se=xO(),Yse=DO(),qO=!1,vo=Symbol("kClosedResolve"),GO=o(()=>{},"noop");function VO(t){return t[Kh]??t[mt]?.defaultPipelining??1}o(VO,"getPipelining");var hb=class extends Bse{static{o(this,"Client")}constructor(e,{interceptors:r,maxHeaderSize:s,headersTimeout:n,socketTimeout:i,requestTimeout:a,connectTimeout:c,bodyTimeout:l,idleTimeout:u,keepAlive:A,keepAliveTimeout:d,maxKeepAliveTimeout:p,keepAliveMaxTimeout:m,keepAliveTimeoutThreshold:h,socketPath:g,pipelining:C,tls:E,strictContentLength:y,maxCachedSessions:I,maxRedirections:B,connect:N,maxRequestsPerClient:S,localAddress:q,maxResponseSize:ge,autoSelectFamily:Te,autoSelectFamilyAttemptTimeout:Ne,maxConcurrentStreams:Pe,allowH2:Ae,webSocket:Me}={}){if(super({webSocket:Me}),A!==void 0)throw new pt("unsupported keepAlive, use pipelining=0 instead");if(i!==void 0)throw new pt("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new pt("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(u!==void 0)throw new pt("unsupported idleTimeout, use keepAliveTimeout instead");if(p!==void 0)throw new pt("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(s!=null&&!Number.isFinite(s))throw new pt("invalid maxHeaderSize");if(g!=null&&typeof g!="string")throw new pt("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new pt("invalid connectTimeout");if(d!=null&&(!Number.isFinite(d)||d<=0))throw new pt("invalid keepAliveTimeout");if(m!=null&&(!Number.isFinite(m)||m<=0))throw new pt("invalid keepAliveMaxTimeout");if(h!=null&&!Number.isFinite(h))throw new pt("invalid keepAliveTimeoutThreshold");if(n!=null&&(!Number.isInteger(n)||n<0))throw new pt("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new pt("bodyTimeout must be a positive integer or zero");if(N!=null&&typeof N!="function"&&typeof N!="object")throw new pt("connect must be a function or an object");if(B!=null&&(!Number.isInteger(B)||B<0))throw new pt("maxRedirections must be a positive number");if(S!=null&&(!Number.isInteger(S)||S<0))throw new pt("maxRequestsPerClient must be a positive number");if(q!=null&&(typeof q!="string"||zO.isIP(q)===0))throw new pt("localAddress must be valid string IP address");if(ge!=null&&(!Number.isInteger(ge)||ge<-1))throw new pt("maxResponseSize must be a positive number");if(Ne!=null&&(!Number.isInteger(Ne)||Ne<-1))throw new pt("autoSelectFamilyAttemptTimeout must be a positive number");if(Ae!=null&&typeof Ae!="boolean")throw new pt("allowH2 must be a valid boolean value");if(Pe!=null&&(typeof Pe!="number"||Pe<1))throw new pt("maxConcurrentStreams must be a positive integer, greater than 0");typeof N!="function"&&(N=Qse({...E,maxCachedSessions:I,allowH2:Ae,socketPath:g,timeout:c,...Te?{autoSelectFamily:Te,autoSelectFamilyAttemptTimeout:Ne}:void 0,...N})),r?.Client&&Array.isArray(r.Client)?(this[UO]=r.Client,qO||(qO=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[UO]=[Jse({maxRedirections:B})],this[Gn]=Sa.parseOrigin(e),this[qA]=N,this[Kh]=C??1,this[Pse]=s||Cse.maxHeaderSize,this[FO]=d??4e3,this[kse]=m??6e5,this[Dse]=h??2e3,this[vse]=this[FO],this[To]=null,this[GA]=q??null,this[Ra]=0,this[Po]=0,this[Rse]=`host: ${this[Gn].hostname}${this[Gn].port?`:${this[Gn].port}`:""}\r `,this[Lse]=l??3e5,this[_se]=n??3e5,this[Mse]=y??!0,this[Ose]=B,this[mb]=S,this[vo]=null,this[Hse]=ge>-1?ge:-1,this[Vse]=Pe??100,this[mt]=null,this[un]=[],this[zi]=0,this[An]=0,this[HA]=se=>fb(this,se),this[zse]=se=>$O(this,se)}get pipelining(){return this[Kh]}set pipelining(e){this[Kh]=e,this[HA](!0)}get[$A](){return this[un].length-this[An]}get[VA](){return this[An]-this[zi]}get[zA](){return this[un].length-this[zi]}get[Sse](){return!!this[mt]&&!this[fl]&&!this[mt].destroyed}get[pb](){return!!(this[mt]?.busy(null)||this[zA]>=(VO(this)||1)||this[$A]>0)}[Nse](e){YO(this),this.once("connect",e)}[Gse](e,r){let s=e.origin||this[Gn].origin,n=new Ise(s,e,r);return this[un].push(n),this[Ra]||(Sa.bodyLength(n.body)==null&&Sa.isIterable(n.body)?(this[Ra]=1,queueMicrotask(()=>fb(this))):this[HA](!0)),this[Ra]&&this[Po]!==2&&this[pb]&&(this[Po]=2),this[Po]<2}async[Use](){return new Promise(e=>{this[zA]?this[vo]=e:e(null)})}async[qse](e){return new Promise(r=>{let s=this[un].splice(this[An]);for(let i=0;i{this[vo]&&(this[vo](),this[vo]=null),r(null)},"callback");this[mt]?(this[mt].destroy(e,n),this[mt]=null):queueMicrotask(n),this[HA]()})}},Jse=jh();function $O(t,e){if(t[VA]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){Hi(t[An]===t[zi]);let r=t[un].splice(t[zi]);for(let s=0;s{t[qA]({host:e,hostname:r,protocol:s,port:n,servername:t[To],localAddress:t[GA]},(l,u)=>{l?c(l):a(u)})});if(t.destroyed){Sa.destroy(i.on("error",GO),new bse);return}Hi(i);try{t[mt]=i.alpnProtocol==="h2"?await Yse(t,i):await $se(t,i)}catch(a){throw i.destroy().on("error",GO),a}t[fl]=!1,i[Fse]=0,i[mb]=t[mb],i[xse]=t,i[Tse]=null,hl.connected.hasSubscribers&&hl.connected.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[mt]?.version,servername:t[To],localAddress:t[GA]},connector:t[qA],socket:i}),t.emit("connect",t[Gn],[t])}catch(i){if(t.destroyed)return;if(t[fl]=!1,hl.connectError.hasSubscribers&&hl.connectError.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[mt]?.version,servername:t[To],localAddress:t[GA]},connector:t[qA],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(Hi(t[VA]===0);t[$A]>0&&t[un][t[An]].servername===t[To];){let a=t[un][t[An]++];Sa.errorRequest(t,a,i)}else $O(t,i);t.emit("connectionError",t[Gn],[t],i)}t[HA]()}o(YO,"connect");function HO(t){t[Po]=0,t.emit("drain",t[Gn],[t])}o(HO,"emitDrain");function fb(t,e){t[Ra]!==2&&(t[Ra]=2,Wse(t,e),t[Ra]=0,t[zi]>256&&(t[un].splice(0,t[zi]),t[An]-=t[zi],t[zi]=0))}o(fb,"resume");function Wse(t,e){for(;;){if(t.destroyed){Hi(t[$A]===0);return}if(t[vo]&&!t[zA]){t[vo](),t[vo]=null;return}if(t[mt]&&t[mt].resume(),t[pb])t[Po]=2;else if(t[Po]===2){e?(t[Po]=1,queueMicrotask(()=>HO(t))):HO(t);continue}if(t[$A]===0||t[VA]>=(VO(t)||1))return;let r=t[un][t[An]];if(t[Gn].protocol==="https:"&&t[To]!==r.servername){if(t[VA]>0)return;t[To]=r.servername,t[mt]?.destroy(new wse("servername changed"),()=>{t[mt]=null,fb(t)})}if(t[fl])return;if(!t[mt]){YO(t);return}if(t[mt].destroyed||t[mt].busy(r))return;!r.aborted&&t[mt].write(r)?t[An]++:t[un].splice(t[An],1)}}o(Wse,"_resume");JO.exports=hb});var gb=f((XMe,WO)=>{"use strict";var Xh=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)}};WO.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new Xh}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new Xh),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var KO=f((eOe,jO)=>{var{kFree:jse,kConnected:Kse,kPending:Xse,kQueued:Zse,kRunning:ene,kSize:tne}=Ye(),Ta=Symbol("pool"),Eb=class{static{o(this,"PoolStats")}constructor(e){this[Ta]=e}get connected(){return this[Ta][Kse]}get free(){return this[Ta][jse]}get pending(){return this[Ta][Xse]}get queued(){return this[Ta][Zse]}get running(){return this[Ta][ene]}get size(){return this[Ta][tne]}};jO.exports=Eb});var bb=f((rOe,aF)=>{"use strict";var rne=el(),sne=gb(),{kConnected:yb,kSize:XO,kRunning:ZO,kPending:eF,kQueued:YA,kBusy:nne,kFree:ine,kUrl:one,kClose:ane,kDestroy:cne,kDispatch:lne}=Ye(),une=KO(),kr=Symbol("clients"),mr=Symbol("needDrain"),JA=Symbol("queue"),Cb=Symbol("closed resolve"),Ib=Symbol("onDrain"),tF=Symbol("onConnect"),rF=Symbol("onDisconnect"),sF=Symbol("onConnectionError"),Bb=Symbol("get dispatcher"),iF=Symbol("add client"),oF=Symbol("remove client"),nF=Symbol("stats"),wb=class extends rne{static{o(this,"PoolBase")}constructor(e){super(e),this[JA]=new sne,this[kr]=[],this[YA]=0;let r=this;this[Ib]=o(function(n,i){let a=r[JA],c=!1;for(;!c;){let l=a.shift();if(!l)break;r[YA]--,c=!this.dispatch(l.opts,l.handler)}this[mr]=c,!this[mr]&&r[mr]&&(r[mr]=!1,r.emit("drain",n,[r,...i])),r[Cb]&&a.isEmpty()&&Promise.all(r[kr].map(l=>l.close())).then(r[Cb])},"onDrain"),this[tF]=(s,n)=>{r.emit("connect",s,[r,...n])},this[rF]=(s,n,i)=>{r.emit("disconnect",s,[r,...n],i)},this[sF]=(s,n,i)=>{r.emit("connectionError",s,[r,...n],i)},this[nF]=new une(this)}get[nne](){return this[mr]}get[yb](){return this[kr].filter(e=>e[yb]).length}get[ine](){return this[kr].filter(e=>e[yb]&&!e[mr]).length}get[eF](){let e=this[YA];for(let{[eF]:r}of this[kr])e+=r;return e}get[ZO](){let e=0;for(let{[ZO]:r}of this[kr])e+=r;return e}get[XO](){let e=this[YA];for(let{[XO]:r}of this[kr])e+=r;return e}get stats(){return this[nF]}async[ane](){this[JA].isEmpty()?await Promise.all(this[kr].map(e=>e.close())):await new Promise(e=>{this[Cb]=e})}async[cne](e){for(;;){let r=this[JA].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[kr].map(r=>r.destroy(e)))}[lne](e,r){let s=this[Bb]();return s?s.dispatch(e,r)||(s[mr]=!0,this[mr]=!this[Bb]()):(this[mr]=!0,this[JA].push({opts:e,handler:r}),this[YA]++),!this[mr]}[iF](e){return e.on("drain",this[Ib]).on("connect",this[tF]).on("disconnect",this[rF]).on("connectionError",this[sF]),this[kr].push(e),this[mr]&&queueMicrotask(()=>{this[mr]&&this[Ib](e[one],[this,e])}),this}[oF](e){e.close(()=>{let r=this[kr].indexOf(e);r!==-1&&this[kr].splice(r,1)}),this[mr]=this[kr].some(r=>!r[mr]&&r.closed!==!0&&r.destroyed!==!0)}};aF.exports={PoolBase:wb,kClients:kr,kNeedDrain:mr,kAddClient:iF,kRemoveClient:oF,kGetDispatcher:Bb}});var El=f((nOe,AF)=>{"use strict";var{PoolBase:Ane,kClients:Zh,kNeedDrain:dne,kAddClient:pne,kGetDispatcher:mne}=bb(),hne=gl(),{InvalidArgumentError:Qb}=we(),cF=pe(),{kUrl:lF,kInterceptors:fne}=Ye(),gne=NA(),xb=Symbol("options"),Nb=Symbol("connections"),uF=Symbol("factory");function Ene(t,e){return new hne(t,e)}o(Ene,"defaultFactory");var Sb=class extends Ane{static{o(this,"Pool")}constructor(e,{connections:r,factory:s=Ene,connect:n,connectTimeout:i,tls:a,maxCachedSessions:c,socketPath:l,autoSelectFamily:u,autoSelectFamilyAttemptTimeout:A,allowH2:d,...p}={}){if(r!=null&&(!Number.isFinite(r)||r<0))throw new Qb("invalid connections");if(typeof s!="function")throw new Qb("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new Qb("connect must be a function or an object");typeof n!="function"&&(n=gne({...a,maxCachedSessions:c,allowH2:d,socketPath:l,timeout:i,...u?{autoSelectFamily:u,autoSelectFamilyAttemptTimeout:A}:void 0,...n})),super(p),this[fne]=p.interceptors?.Pool&&Array.isArray(p.interceptors.Pool)?p.interceptors.Pool:[],this[Nb]=r||null,this[lF]=cF.parseOrigin(e),this[xb]={...cF.deepClone(p),connect:n,allowH2:d},this[xb].interceptors=p.interceptors?{...p.interceptors}:void 0,this[uF]=s,this.on("connectionError",(m,h,g)=>{for(let C of h){let E=this[Zh].indexOf(C);E!==-1&&this[Zh].splice(E,1)}})}[mne](){for(let e of this[Zh])if(!e[dne])return e;if(!this[Nb]||this[Zh].length{"use strict";var{BalancedPoolMissingUpstreamError:yne,InvalidArgumentError:Cne}=we(),{PoolBase:Ine,kClients:tr,kNeedDrain:WA,kAddClient:Bne,kRemoveClient:wne,kGetDispatcher:bne}=bb(),Qne=El(),{kUrl:Rb,kInterceptors:xne}=Ye(),{parseOrigin:dF}=pe(),pF=Symbol("factory"),ef=Symbol("options"),mF=Symbol("kGreatestCommonDivisor"),va=Symbol("kCurrentWeight"),Pa=Symbol("kIndex"),Ss=Symbol("kWeight"),tf=Symbol("kMaxWeightPerServer"),rf=Symbol("kErrorPenalty");function Nne(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(Nne,"getGreatestCommonDivisor");function Sne(t,e){return new Qne(t,e)}o(Sne,"defaultFactory");var Tb=class extends Ine{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=Sne,...s}={}){if(super(),this[ef]=s,this[Pa]=-1,this[va]=0,this[tf]=this[ef].maxWeightPerServer||100,this[rf]=this[ef].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new Cne("factory must be a function.");this[xne]=s.interceptors?.BalancedPool&&Array.isArray(s.interceptors.BalancedPool)?s.interceptors.BalancedPool:[],this[pF]=r;for(let n of e)this.addUpstream(n);this._updateBalancedPoolStats()}addUpstream(e){let r=dF(e).origin;if(this[tr].find(n=>n[Rb].origin===r&&n.closed!==!0&&n.destroyed!==!0))return this;let s=this[pF](r,Object.assign({},this[ef]));this[Bne](s),s.on("connect",()=>{s[Ss]=Math.min(this[tf],s[Ss]+this[rf])}),s.on("connectionError",()=>{s[Ss]=Math.max(1,s[Ss]-this[rf]),this._updateBalancedPoolStats()}),s.on("disconnect",(...n)=>{let i=n[2];i&&i.code==="UND_ERR_SOCKET"&&(s[Ss]=Math.max(1,s[Ss]-this[rf]),this._updateBalancedPoolStats())});for(let n of this[tr])n[Ss]=this[tf];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;rn[Rb].origin===r&&n.closed!==!0&&n.destroyed!==!0);return s&&this[wne](s),this}get upstreams(){return this[tr].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[Rb].origin)}[bne](){if(this[tr].length===0)throw new yne;if(!this[tr].find(i=>!i[WA]&&i.closed!==!0&&i.destroyed!==!0)||this[tr].map(i=>i[WA]).reduce((i,a)=>i&&a,!0))return;let s=0,n=this[tr].findIndex(i=>!i[WA]);for(;s++this[tr][n][Ss]&&!i[WA]&&(n=this[Pa]),this[Pa]===0&&(this[va]=this[va]-this[mF],this[va]<=0&&(this[va]=this[tf])),i[Ss]>=this[va]&&!i[WA])return i}return this[va]=this[tr][n][Ss],this[Pa]=n,this[tr][n]}};hF.exports=Tb});var yl=f((cOe,wF)=>{"use strict";var{InvalidArgumentError:sf}=we(),{kClients:ko,kRunning:gF,kClose:Rne,kDestroy:Tne,kDispatch:vne,kInterceptors:Pne}=Ye(),kne=el(),Dne=El(),_ne=gl(),Lne=pe(),Mne=jh(),EF=Symbol("onConnect"),yF=Symbol("onDisconnect"),CF=Symbol("onConnectionError"),One=Symbol("maxRedirections"),IF=Symbol("onDrain"),BF=Symbol("factory"),vb=Symbol("options");function Fne(t,e){return e&&e.connections===1?new _ne(t,e):new Dne(t,e)}o(Fne,"defaultFactory");var Pb=class extends kne{static{o(this,"Agent")}constructor({factory:e=Fne,maxRedirections:r=0,connect:s,...n}={}){if(typeof e!="function")throw new sf("factory must be a function.");if(s!=null&&typeof s!="function"&&typeof s!="object")throw new sf("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new sf("maxRedirections must be a positive number");super(n),s&&typeof s!="function"&&(s={...s}),this[Pne]=n.interceptors?.Agent&&Array.isArray(n.interceptors.Agent)?n.interceptors.Agent:[Mne({maxRedirections:r})],this[vb]={...Lne.deepClone(n),connect:s},this[vb].interceptors=n.interceptors?{...n.interceptors}:void 0,this[One]=r,this[BF]=e,this[ko]=new Map,this[IF]=(i,a)=>{this.emit("drain",i,[this,...a])},this[EF]=(i,a)=>{this.emit("connect",i,[this,...a])},this[yF]=(i,a,c)=>{this.emit("disconnect",i,[this,...a],c)},this[CF]=(i,a,c)=>{this.emit("connectionError",i,[this,...a],c)}}get[gF](){let e=0;for(let r of this[ko].values())e+=r[gF];return e}[vne](e,r){let s;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))s=String(e.origin);else throw new sf("opts.origin must be a non-empty string or URL.");let n=this[ko].get(s);return n||(n=this[BF](e.origin,this[vb]).on("drain",this[IF]).on("connect",this[EF]).on("disconnect",this[yF]).on("connectionError",this[CF]),this[ko].set(s,n)),n.dispatch(e,r)}async[Rne](){let e=[];for(let r of this[ko].values())e.push(r.close());this[ko].clear(),await Promise.all(e)}async[Tne](e){let r=[];for(let s of this[ko].values())r.push(s.destroy(e));this[ko].clear(),await Promise.all(r)}};wF.exports=Pb});var Mb=f((uOe,DF)=>{"use strict";var{kProxy:kb,kClose:RF,kDestroy:TF,kDispatch:bF,kInterceptors:Une}=Ye(),{URL:ka}=require("node:url"),qne=yl(),vF=El(),PF=el(),{InvalidArgumentError:Cl,RequestAbortedError:Gne,SecureProxyConnectionError:Hne}=we(),QF=NA(),kF=gl(),nf=Symbol("proxy agent"),of=Symbol("proxy client"),Do=Symbol("proxy headers"),Db=Symbol("request tls settings"),xF=Symbol("proxy tls settings"),NF=Symbol("connect endpoint function"),SF=Symbol("tunnel proxy");function zne(t){return t==="https:"?443:80}o(zne,"defaultProtocolPort");function Vne(t,e){return new vF(t,e)}o(Vne,"defaultFactory");var $ne=o(()=>{},"noop");function Yne(t,e){return e.connections===1?new kF(t,e):new vF(t,e)}o(Yne,"defaultAgentFactory");var _b=class extends PF{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:s,factory:n}){if(super(),!e)throw new Cl("Proxy URL is mandatory");this[Do]=r,n?this.#e=n(e,{connect:s}):this.#e=new kF(e,{connect:s})}[bF](e,r){let s=r.onHeaders;r.onHeaders=function(c,l,u){if(c===407){typeof r.onError=="function"&&r.onError(new Cl("Proxy Authentication Required (407)"));return}s&&s.call(this,c,l,u)};let{origin:n,path:i="/",headers:a={}}=e;if(e.path=n+i,!("host"in a)&&!("Host"in a)){let{host:c}=new ka(n);a.host=c}return e.headers={...this[Do],...a},this.#e[bF](e,r)}async[RF](){return this.#e.close()}async[TF](e){return this.#e.destroy(e)}},Lb=class extends PF{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof ka)&&!e.uri)throw new Cl("Proxy uri is mandatory");let{clientFactory:r=Vne}=e;if(typeof r!="function")throw new Cl("Proxy opts.clientFactory must be a function.");let{proxyTunnel:s=!0}=e,n=this.#e(e),{href:i,origin:a,port:c,protocol:l,username:u,password:A,hostname:d}=n;if(this[kb]={uri:i,protocol:l},this[Une]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[Db]=e.requestTls,this[xF]=e.proxyTls,this[Do]=e.headers||{},this[SF]=s,e.auth&&e.token)throw new Cl("opts.auth cannot be used in combination with opts.token");e.auth?this[Do]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[Do]["proxy-authorization"]=e.token:u&&A&&(this[Do]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(u)}:${decodeURIComponent(A)}`).toString("base64")}`);let p=QF({...e.proxyTls});this[NF]=QF({...e.requestTls});let m=e.factory||Yne,h=o((g,C)=>{let{protocol:E}=new ka(g);return!this[SF]&&E==="http:"&&this[kb].protocol==="http:"?new _b(this[kb].uri,{headers:this[Do],connect:p,factory:m}):m(g,C)},"factory");this[of]=r(n,{connect:p}),this[nf]=new qne({...e,factory:h,connect:o(async(g,C)=>{let E=g.host;g.port||(E+=`:${zne(g.protocol)}`);try{let{socket:y,statusCode:I}=await this[of].connect({origin:a,port:c,path:E,signal:g.signal,headers:{...this[Do],host:g.host},servername:this[xF]?.servername||d});if(I!==200&&(y.on("error",$ne).destroy(),C(new Gne(`Proxy response (${I}) !== 200 when HTTP Tunneling`))),g.protocol!=="https:"){C(null,y);return}let B;this[Db]?B=this[Db].servername:B=g.servername,this[NF]({...g,servername:B,httpSocket:y},C)}catch(y){y.code==="ERR_TLS_CERT_ALTNAME_INVALID"?C(new Hne(y)):C(y)}},"connect")})}dispatch(e,r){let s=Jne(e.headers);if(Wne(s),s&&!("host"in s)&&!("Host"in s)){let{host:n}=new ka(e.origin);s.host=n}return this[nf].dispatch({...e,headers:s},r)}#e(e){return typeof e=="string"?new ka(e):e instanceof ka?e:new ka(e.uri)}async[RF](){await this[nf].close(),await this[of].close()}async[TF](){await this[nf].destroy(),await this[of].destroy()}};function Jne(t){if(Array.isArray(t)){let e={};for(let r=0;rr.toLowerCase()==="proxy-authorization"))throw new Cl("Proxy-Authorization should be sent in ProxyAgent constructor")}o(Wne,"throwIfProxyAuthIsSent");DF.exports=Lb});var UF=f((dOe,FF)=>{"use strict";var jne=el(),{kClose:Kne,kDestroy:Xne,kClosed:_F,kDestroyed:LF,kDispatch:Zne,kNoProxyAgent:jA,kHttpProxyAgent:_o,kHttpsProxyAgent:Da}=Ye(),MF=Mb(),eie=yl(),tie={"http:":80,"https:":443},OF=!1,Ob=class extends jne{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#r=null;constructor(e={}){super(),this.#r=e,OF||(OF=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"}));let{httpProxy:r,httpsProxy:s,noProxy:n,...i}=e;this[jA]=new eie(i);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[_o]=new MF({...i,uri:a}):this[_o]=this[jA];let c=s??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[Da]=new MF({...i,uri:c}):this[Da]=this[_o],this.#s()}[Zne](e,r){let s=new URL(e.origin);return this.#i(s).dispatch(e,r)}async[Kne](){await this[jA].close(),this[_o][_F]||await this[_o].close(),this[Da][_F]||await this[Da].close()}async[Xne](e){await this[jA].destroy(e),this[_o][LF]||await this[_o].destroy(e),this[Da][LF]||await this[Da].destroy(e)}#i(e){let{protocol:r,host:s,port:n}=e;return s=s.replace(/:\d*$/,"").toLowerCase(),n=Number.parseInt(n,10)||tie[r]||0,this.#n(s,n)?r==="https:"?this[Da]:this[_o]:this[jA]}#n(e,r){if(this.#o&&this.#s(),this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let s=0;s{"use strict";var KA=require("node:assert"),{kRetryHandlerDefaultRetry:qF}=Ye(),{RequestRetryError:_a}=we(),{isDisturbed:GF,parseHeaders:rie,parseRangeHeader:HF,wrapRequestBody:sie}=pe();function nie(t){let e=Date.now();return new Date(t).getTime()-e}o(nie,"calculateRetryAfterHeader");function zF(t,e,r,s){let n=t["content-length"];if(n==null||!Number.isFinite(e.start)||!Number.isFinite(e.end))return null;let i=Number(n),a=e.end-e.start+1;return!Number.isFinite(i)||i!==a?new _a("Content-Length mismatch",r,{headers:t,data:{count:s}}):null}o(zF,"validatePartialResponseContentLength");var Fb=class t{static{o(this,"RetryHandler")}constructor(e,r){let{retryOptions:s,...n}=e,{retry:i,maxRetries:a,maxTimeout:c,minTimeout:l,timeoutFactor:u,methods:A,errorCodes:d,retryAfter:p,statusCodes:m}=s??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts={...n,body:sie(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:i??t[qF],retryAfter:p??!0,maxTimeout:c??30*1e3,minTimeout:l??500,timeoutFactor:u??2,maxRetries:a??5,methods:A??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:m??[500,502,503,504,429],errorCodes:d??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.headersSent=!1,this.handler.onConnect(h=>{this.aborted=!0,this.abort?this.abort(h):this.reason=h})}checkpointResponseEnd(e,r){if(this.end==null&&this.opts.method!=="HEAD"){let s=e["content-length"];this.end=s!=null?Number(s)-1:null,KA(this.end==null||Number.isFinite(this.end),"invalid content-length")}this.resume=this.end!=null?r:null}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,r,s){this.handler.onUpgrade&&this.handler.onUpgrade(e,r,s)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[qF](e,{state:r,opts:s},n){let{statusCode:i,code:a,headers:c}=e,{method:l,retryOptions:u}=s,{maxRetries:A,minTimeout:d,maxTimeout:p,timeoutFactor:m,statusCodes:h,errorCodes:g,methods:C}=u,{counter:E}=r;if(a&&a!=="UND_ERR_REQ_RETRY"&&!g.includes(a)){n(e);return}if(Array.isArray(C)&&!C.includes(l)){n(e);return}if(i!=null&&Array.isArray(h)&&!h.includes(i)){n(e);return}if(E>A){n(e);return}let y=c?.["retry-after"];y&&(y=Number(y),y=Number.isNaN(y)?nie(y):y*1e3);let I=y>0?Math.min(y,p):Math.min(d*m**(E-1),p);setTimeout(()=>n(null),I)}onHeaders(e,r,s,n){let i=rie(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?(this.headersSent=!0,this.checkpointResponseEnd(i,s),this.handler.onHeaders(e,r,s,n)):(this.abort(new _a("Request failed",e,{headers:i,data:{count:this.retryCount}})),!1);if(this.resume!=null){if(this.resume=null,e!==206&&(this.start>0||e!==200))return this.abort(new _a("server does not support the range header and the payload was partially consumed",e,{headers:i,data:{count:this.retryCount}})),!1;let c=HF(i["content-range"]);if(!c)return this.abort(new _a("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==i.etag)return this.abort(new _a("ETag mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;let l=zF(i,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:u,size:A,end:d=A-1}=c;return this.start!==u||this.end!=null&&this.end!==d?(this.abort(new _a("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1):(this.resume=s,!0)}if(this.end==null){if(e===206){let c=HF(i["content-range"]);if(c==null)return this.headersSent=!0,this.handler.onHeaders(e,r,s,n);let l=zF(i,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:u,size:A,end:d=A-1}=c;KA(u!=null&&Number.isFinite(u),"content-range mismatch"),KA(d!=null&&Number.isFinite(d),"invalid content-length"),this.start=u,this.end=d}if(this.end==null){let c=i["content-length"];this.end=c!=null?Number(c)-1:null}return KA(Number.isFinite(this.start)),KA(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=s,this.headersSent=!0,this.etag=i.etag!=null?i.etag:null,this.etag!=null&&this.etag.startsWith("W/")&&(this.etag=null),this.handler.onHeaders(e,r,s,n)}let a=new _a("Request failed",e,{headers:i,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||GF(this.opts.body)||this.headersSent&&this.resume==null)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(s){if(s!=null||this.aborted||GF(this.opts.body))return this.handler.onError(s);if(this.start!==0){let n={range:`bytes=${this.start}-${this.end??""}`};this.etag!=null&&(n["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...n}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(n){this.handler.onError(n)}}o(r,"onRetry")}};VF.exports=Fb});var YF=f((fOe,$F)=>{"use strict";var iie=QA(),oie=af(),Ub=class extends iie{static{o(this,"RetryAgent")}#e=null;#t=null;constructor(e,r={}){super(r),this.#e=e,this.#t=r}dispatch(e,r){let s=new oie({...e,retryOptions:this.#t},{dispatch:this.#e.dispatch.bind(this.#e),handler:r});return this.#e.dispatch(e,s)}close(){return this.#e.close()}destroy(){return this.#e.destroy()}};$F.exports=Ub});var $b=f((EOe,rU)=>{"use strict";var XF=require("node:assert"),{Readable:aie}=require("node:stream"),{RequestAbortedError:ZF,NotSupportedError:cie,InvalidArgumentError:lie,AbortError:qb}=we(),eU=pe(),{ReadableStreamFrom:uie}=pe(),Zr=Symbol("kConsume"),XA=Symbol("kReading"),Lo=Symbol("kBody"),JF=Symbol("kAbort"),tU=Symbol("kContentType"),WF=Symbol("kContentLength"),Aie=o(()=>{},"noop"),Gb=class extends aie{static{o(this,"BodyReadable")}constructor({resume:e,abort:r,contentType:s="",contentLength:n,highWaterMark:i=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:i}),this._readableState.dataEmitted=!1,this[JF]=r,this[Zr]=null,this[Lo]=null,this[tU]=s,this[WF]=n,this[XA]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new ZF),e&&this[JF](),super.destroy(e)}_destroy(e,r){this[XA]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[XA]=!0),super.on(e,...r)}addListener(e,...r){return this.on(e,...r)}off(e,...r){let s=super.off(e,...r);return(e==="data"||e==="readable")&&(this[XA]=this.listenerCount("data")>0||this.listenerCount("readable")>0),s}removeListener(e,...r){return this.off(e,...r)}push(e){return this[Zr]&&e!==null?(zb(this[Zr],e),this[XA]?super.push(e):!0):super.push(e)}async text(){return ZA(this,"text")}async json(){return ZA(this,"json")}async blob(){return ZA(this,"blob")}async bytes(){return ZA(this,"bytes")}async arrayBuffer(){return ZA(this,"arrayBuffer")}async formData(){throw new cie}get bodyUsed(){return eU.isDisturbed(this)}get body(){return this[Lo]||(this[Lo]=uie(this),this[Zr]&&(this[Lo].getReader(),XF(this[Lo].locked))),this[Lo]}async dump(e){let r=Number.isFinite(e?.limit)?e.limit:131072,s=e?.signal;if(s!=null&&(typeof s!="object"||!("aborted"in s)))throw new lie("signal must be an AbortSignal");return s?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((n,i)=>{this[WF]>r&&this.destroy(new qb);let a=o(()=>{this.destroy(s.reason??new qb)},"onAbort");s?.addEventListener("abort",a),this.on("close",function(){s?.removeEventListener("abort",a),s?.aborted?i(s.reason??new qb):n(null)}).on("error",Aie).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function die(t){return t[Lo]&&t[Lo].locked===!0||t[Zr]}o(die,"isLocked");function pie(t){return eU.isDisturbed(t)||die(t)}o(pie,"isUnusable");async function ZA(t,e){return XF(!t[Zr]),new Promise((r,s)=>{if(pie(t)){let n=t._readableState;n.destroyed&&n.closeEmitted===!1?t.on("error",i=>{s(i)}).on("close",()=>{s(new TypeError("unusable"))}):s(n.errored??new TypeError("unusable"))}else queueMicrotask(()=>{t[Zr]={type:e,stream:t,resolve:r,reject:s,length:0,body:[]},t.on("error",function(n){Vb(this[Zr],n)}).on("close",function(){this[Zr].body!==null&&Vb(this[Zr],new ZF)}),mie(t[Zr])})})}o(ZA,"consume");function mie(t){if(t.body===null)return;let{_readableState:e}=t.stream;if(e.bufferIndex){let r=e.bufferIndex,s=e.buffer.length;for(let n=r;n2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(n,s)}o(Hb,"chunksDecode");function jF(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),s=0;for(let n=0;n{var hie=require("node:assert"),{ResponseStatusCodeError:sU}=we(),{chunksDecode:nU}=$b(),fie=128*1024;async function gie({callback:t,body:e,contentType:r,statusCode:s,statusMessage:n,headers:i}){hie(e);let a=[],c=0;try{for await(let d of e)if(a.push(d),c+=d.length,c>fie){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${s}${n?`: ${n}`:""}`;if(s===204||!r||!c){queueMicrotask(()=>t(new sU(l,s,i)));return}let u=Error.stackTraceLimit;Error.stackTraceLimit=0;let A;try{iU(r)?A=JSON.parse(nU(a,c)):oU(r)&&(A=nU(a,c))}catch{}finally{Error.stackTraceLimit=u}queueMicrotask(()=>t(new sU(l,s,i,A)))}o(gie,"getResolveErrorBodyCallback");var iU=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"),oU=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");aU.exports={getResolveErrorBodyCallback:gie,isContentTypeApplicationJson:iU,isContentTypeText:oU}});var uU=f((BOe,Jb)=>{"use strict";var Eie=require("node:assert"),{Readable:yie}=$b(),{InvalidArgumentError:Il,RequestAbortedError:cU}=we(),es=pe(),{getResolveErrorBodyCallback:Cie}=Yb(),{AsyncResource:Iie}=require("node:async_hooks"),cf=class extends Iie{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new Il("invalid opts");let{signal:s,method:n,opaque:i,body:a,onInfo:c,responseHeaders:l,throwOnError:u,highWaterMark:A}=e;try{if(typeof r!="function")throw new Il("invalid callback");if(A&&(typeof A!="number"||A<0))throw new Il("invalid highWaterMark");if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new Il("signal must be an EventEmitter or EventTarget");if(n==="CONNECT")throw new Il("invalid method");if(c&&typeof c!="function")throw new Il("invalid onInfo callback");super("UNDICI_REQUEST")}catch(d){throw es.isStream(a)&&es.destroy(a.on("error",es.nop),d),d}this.method=n,this.responseHeaders=l||null,this.opaque=i||null,this.callback=r,this.res=null,this.abort=null,this.body=a,this.trailers={},this.context=null,this.onInfo=c||null,this.throwOnError=u,this.highWaterMark=A,this.signal=s,this.reason=null,this.removeAbortListener=null,es.isStream(a)&&a.on("error",d=>{this.onError(d)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new cU:this.removeAbortListener=es.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new cU,this.res?es.destroy(this.res.on("error",es.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}Eie(this.callback),this.abort=e,this.context=r}onHeaders(e,r,s,n){let{callback:i,opaque:a,abort:c,context:l,responseHeaders:u,highWaterMark:A}=this,d=u==="raw"?es.parseRawHeaders(r):es.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}let p=u==="raw"?es.parseHeaders(r):d,m=p["content-type"],h=p["content-length"],g=new yie({resume:s,abort:c,contentType:m,contentLength:this.method!=="HEAD"&&h?Number(h):null,highWaterMark:A});this.removeAbortListener&&g.on("close",this.removeAbortListener),this.callback=null,this.res=g,i!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(Cie,null,{callback:i,body:g,contentType:m,statusCode:e,statusMessage:n,headers:d}):this.runInAsyncScope(i,null,null,{statusCode:e,headers:d,trailers:this.trailers,opaque:a,body:g,context:l}))}onData(e){return this.res.push(e)}onComplete(e){es.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:r,callback:s,body:n,opaque:i}=this;s&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(s,null,e,{opaque:i})})),r&&(this.res=null,queueMicrotask(()=>{es.destroy(r,e)})),n&&(this.body=null,es.destroy(n,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function lU(t,e){if(e===void 0)return new Promise((r,s)=>{lU.call(this,t,(n,i)=>n?s(n):r(i))});try{this.dispatch(t,new cf(t,e))}catch(r){if(typeof e!="function")throw r;let s=t?.opaque;queueMicrotask(()=>e(r,{opaque:s}))}}o(lU,"request");Jb.exports=lU;Jb.exports.RequestHandler=cf});var ed=f((bOe,pU)=>{var{addAbortListener:Bie}=pe(),{RequestAbortedError:wie}=we(),Bl=Symbol("kListener"),Hn=Symbol("kSignal");function AU(t){t.abort?t.abort(t[Hn]?.reason):t.reason=t[Hn]?.reason??new wie,dU(t)}o(AU,"abort");function bie(t,e){if(t.reason=null,t[Hn]=null,t[Bl]=null,!!e){if(e.aborted){AU(t);return}t[Hn]=e,t[Bl]=()=>{AU(t)},Bie(t[Hn],t[Bl])}}o(bie,"addSignal");function dU(t){t[Hn]&&("removeEventListener"in t[Hn]?t[Hn].removeEventListener("abort",t[Bl]):t[Hn].removeListener("abort",t[Bl]),t[Hn]=null,t[Bl]=null)}o(dU,"removeSignal");pU.exports={addSignal:bie,removeSignal:dU}});var gU=f((xOe,fU)=>{"use strict";var Qie=require("node:assert"),{finished:xie,PassThrough:Nie}=require("node:stream"),{InvalidArgumentError:wl,InvalidReturnValueError:Sie}=we(),dn=pe(),{getResolveErrorBodyCallback:Rie}=Yb(),{AsyncResource:Tie}=require("node:async_hooks"),{addSignal:vie,removeSignal:mU}=ed(),Wb=class extends Tie{static{o(this,"StreamHandler")}constructor(e,r,s){if(!e||typeof e!="object")throw new wl("invalid opts");let{signal:n,method:i,opaque:a,body:c,onInfo:l,responseHeaders:u,throwOnError:A}=e;try{if(typeof s!="function")throw new wl("invalid callback");if(typeof r!="function")throw new wl("invalid factory");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new wl("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new wl("invalid method");if(l&&typeof l!="function")throw new wl("invalid onInfo callback");super("UNDICI_STREAM")}catch(d){throw dn.isStream(c)&&dn.destroy(c.on("error",dn.nop),d),d}this.responseHeaders=u||null,this.opaque=a||null,this.factory=r,this.callback=s,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=c,this.onInfo=l||null,this.throwOnError=A||!1,dn.isStream(c)&&c.on("error",d=>{this.onError(d)}),vie(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}Qie(this.callback),this.abort=e,this.context=r}onHeaders(e,r,s,n){let{factory:i,opaque:a,context:c,callback:l,responseHeaders:u}=this,A=u==="raw"?dn.parseRawHeaders(r):dn.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:A});return}this.factory=null;let d;if(this.throwOnError&&e>=400){let h=(u==="raw"?dn.parseHeaders(r):A)["content-type"];d=new Nie,this.callback=null,this.runInAsyncScope(Rie,null,{callback:l,body:d,contentType:h,statusCode:e,statusMessage:n,headers:A})}else{if(i===null)return;if(d=this.runInAsyncScope(i,null,{statusCode:e,headers:A,opaque:a,context:c}),!d||typeof d.write!="function"||typeof d.end!="function"||typeof d.on!="function")throw new Sie("expected Writable");xie(d,{readable:!1},m=>{let{callback:h,res:g,opaque:C,trailers:E,abort:y}=this;this.res=null,(m||!g.readable)&&dn.destroy(g,m),this.callback=null,this.runInAsyncScope(h,null,m||null,{opaque:C,trailers:E}),m&&y()})}return d.on("drain",s),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;mU(this),r&&(this.trailers=dn.parseHeaders(e),r.end())}onError(e){let{res:r,callback:s,opaque:n,body:i}=this;mU(this),this.factory=null,r?(this.res=null,dn.destroy(r,e)):s&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(s,null,e,{opaque:n})})),i&&(this.body=null,dn.destroy(i,e))}};function hU(t,e,r){if(r===void 0)return new Promise((s,n)=>{hU.call(this,t,e,(i,a)=>i?n(i):s(a))});try{this.dispatch(t,new Wb(t,e,r))}catch(s){if(typeof r!="function")throw s;let n=t?.opaque;queueMicrotask(()=>r(s,{opaque:n}))}}o(hU,"stream");fU.exports=hU});var IU=f((SOe,CU)=>{"use strict";var{Readable:yU,Duplex:Pie,PassThrough:kie}=require("node:stream"),{InvalidArgumentError:td,InvalidReturnValueError:Die,RequestAbortedError:jb}=we(),Rs=pe(),{AsyncResource:_ie}=require("node:async_hooks"),{addSignal:Lie,removeSignal:Mie}=ed(),EU=require("node:assert"),bl=Symbol("resume"),Kb=class extends yU{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[bl]=null}_read(){let{[bl]:e}=this;e&&(this[bl]=null,e())}_destroy(e,r){this._read(),r(e)}},Xb=class extends yU{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[bl]=e}_read(){this[bl]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new jb),r(e)}},Zb=class extends _ie{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new td("invalid opts");if(typeof r!="function")throw new td("invalid handler");let{signal:s,method:n,opaque:i,onInfo:a,responseHeaders:c}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new td("signal must be an EventEmitter or EventTarget");if(n==="CONNECT")throw new td("invalid method");if(a&&typeof a!="function")throw new td("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=i||null,this.responseHeaders=c||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new Kb().on("error",Rs.nop),this.ret=new Pie({readableObjectMode:e.objectMode,autoDestroy:!0,read:o(()=>{let{body:l}=this;l?.resume&&l.resume()},"read"),write:o((l,u,A)=>{let{req:d}=this;d.push(l,u)||d._readableState.destroyed?A():d[bl]=A},"write"),destroy:o((l,u)=>{let{body:A,req:d,res:p,ret:m,abort:h}=this;!l&&!m._readableState.endEmitted&&(l=new jb),h&&l&&h(),Rs.destroy(A,l),Rs.destroy(d,l),Rs.destroy(p,l),Mie(this),u(l)},"destroy")}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,Lie(this,s)}onConnect(e,r){let{ret:s,res:n}=this;if(this.reason){e(this.reason);return}EU(!n,"pipeline cannot be retried"),EU(!s.destroyed),this.abort=e,this.context=r}onHeaders(e,r,s){let{opaque:n,handler:i,context:a}=this;if(e<200){if(this.onInfo){let l=this.responseHeaders==="raw"?Rs.parseRawHeaders(r):Rs.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new Xb(s);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?Rs.parseRawHeaders(r):Rs.parseHeaders(r);c=this.runInAsyncScope(i,null,{statusCode:e,headers:l,opaque:n,body:this.res,context:a})}catch(l){throw this.res.on("error",Rs.nop),l}if(!c||typeof c.on!="function")throw new Die("expected Readable");c.on("data",l=>{let{ret:u,body:A}=this;!u.push(l)&&A.pause&&A.pause()}).on("error",l=>{let{ret:u}=this;Rs.destroy(u,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||Rs.destroy(l,new jb)}),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,Rs.destroy(r,e)}};function Oie(t,e){try{let r=new Zb(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new kie().destroy(r)}}o(Oie,"pipeline");CU.exports=Oie});var NU=f((TOe,xU)=>{"use strict";var{InvalidArgumentError:eQ,SocketError:Fie}=we(),{AsyncResource:Uie}=require("node:async_hooks"),BU=pe(),{addSignal:qie,removeSignal:wU}=ed(),bU=require("node:assert"),tQ=class extends Uie{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new eQ("invalid opts");if(typeof r!="function")throw new eQ("invalid callback");let{signal:s,opaque:n,responseHeaders:i}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new eQ("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=i||null,this.opaque=n||null,this.callback=r,this.abort=null,this.context=null,qie(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}bU(this.callback),this.abort=e,this.context=null}onHeaders(){throw new Fie("bad upgrade",null)}onUpgrade(e,r,s){bU(e===101);let{callback:n,opaque:i,context:a}=this;wU(this),this.callback=null;let c=this.responseHeaders==="raw"?BU.parseRawHeaders(r):BU.parseHeaders(r);this.runInAsyncScope(n,null,null,{headers:c,socket:s,opaque:i,context:a})}onError(e){let{callback:r,opaque:s}=this;wU(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}};function QU(t,e){if(e===void 0)return new Promise((r,s)=>{QU.call(this,t,(n,i)=>n?s(n):r(i))});try{let r=new tQ(t,e);this.dispatch({...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"},r)}catch(r){if(typeof e!="function")throw r;let s=t?.opaque;queueMicrotask(()=>e(r,{opaque:s}))}}o(QU,"upgrade");xU.exports=QU});var PU=f((POe,vU)=>{"use strict";var Gie=require("node:assert"),{AsyncResource:Hie}=require("node:async_hooks"),{InvalidArgumentError:rQ,SocketError:zie}=we(),SU=pe(),{addSignal:Vie,removeSignal:RU}=ed(),sQ=class extends Hie{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new rQ("invalid opts");if(typeof r!="function")throw new rQ("invalid callback");let{signal:s,opaque:n,responseHeaders:i}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new rQ("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=n||null,this.responseHeaders=i||null,this.callback=r,this.abort=null,Vie(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}Gie(this.callback),this.abort=e,this.context=r}onHeaders(){throw new zie("bad connect",null)}onUpgrade(e,r,s){let{callback:n,opaque:i,context:a}=this;RU(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?SU.parseRawHeaders(r):SU.parseHeaders(r)),this.runInAsyncScope(n,null,null,{statusCode:e,headers:c,socket:s,opaque:i,context:a})}onError(e){let{callback:r,opaque:s}=this;RU(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}};function TU(t,e){if(e===void 0)return new Promise((r,s)=>{TU.call(this,t,(n,i)=>n?s(n):r(i))});try{let r=new sQ(t,e);this.dispatch({...t,method:"CONNECT"},r)}catch(r){if(typeof e!="function")throw r;let s=t?.opaque;queueMicrotask(()=>e(r,{opaque:s}))}}o(TU,"connect");vU.exports=TU});var kU=f((DOe,Ql)=>{"use strict";Ql.exports.request=uU();Ql.exports.stream=gU();Ql.exports.pipeline=IU();Ql.exports.upgrade=NU();Ql.exports.connect=PU()});var iQ=f((_Oe,_U)=>{"use strict";var{UndiciError:$ie}=we(),DU=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),nQ=class t extends $ie{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[DU]===!0}[DU]=!0};_U.exports={MockNotMatchedError:nQ}});var xl=f((MOe,LU)=>{"use strict";LU.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 rd=f((OOe,YU)=>{"use strict";var{MockNotMatchedError:La}=iQ(),{kDispatches:lf,kMockAgent:Yie,kOriginalDispatch:Jie,kOrigin:Wie,kGetNetConnect:jie}=xl(),{buildURL:Kie}=pe(),{STATUS_CODES:Xie}=require("node:http"),{types:{isPromise:Zie}}=require("node:util");function Vi(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(Vi,"matchValue");function OU(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(OU,"lowerCaseEntries");function FU(t,e){if(Array.isArray(t)){for(let r=0;r"u")return!0;if(typeof e!="object"||typeof t.headers!="object")return!1;for(let[r,s]of Object.entries(t.headers)){let n=FU(e,r);if(!Vi(s,n))return!1}return!0}o(UU,"matchHeaders");function MU(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(MU,"safeUrl");function eoe(t,{path:e,method:r,body:s,headers:n}){let i=Vi(t.path,e),a=Vi(t.method,r),c=typeof t.body<"u"?Vi(t.body,s):!0,l=UU(t,n);return i&&a&&c&&l}o(eoe,"matchKey");function qU(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(qU,"getResponseData");function GU(t,e){let r=e.query?Kie(e.path,e.query):e.path,s=typeof r=="string"?MU(r):r,n=t.filter(({consumed:i})=>!i).filter(({path:i})=>Vi(MU(i),s));if(n.length===0)throw new La(`Mock dispatch not matched for path '${s}'`);if(n=n.filter(({method:i})=>Vi(i,e.method)),n.length===0)throw new La(`Mock dispatch not matched for method '${e.method}' on path '${s}'`);if(n=n.filter(({body:i})=>typeof i<"u"?Vi(i,e.body):!0),n.length===0)throw new La(`Mock dispatch not matched for body '${e.body}' on path '${s}'`);if(n=n.filter(i=>UU(i,e.headers)),n.length===0){let i=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new La(`Mock dispatch not matched for headers '${i}' on path '${s}'`)}return n[0]}o(GU,"getMockDispatch");function toe(t,e,r){let s={timesInvoked:0,times:1,persist:!1,consumed:!1},n=typeof r=="function"?{callback:r}:{...r},i={...s,...e,pending:!0,data:{error:null,...n}};return t.push(i),i}o(toe,"addMockDispatch");function oQ(t,e){let r=t.findIndex(s=>s.consumed?eoe(s,e):!1);r!==-1&&t.splice(r,1)}o(oQ,"deleteMockDispatch");function HU(t){let{path:e,method:r,body:s,headers:n,query:i}=t;return{path:e,method:r,body:s,headers:n,query:i}}o(HU,"buildKey");function aQ(t){let e=Object.keys(t),r=[];for(let s=0;s=p,s.pending=d0?setTimeout(()=>{m(this[lf])},u):m(this[lf]);function m(g,C=i){let E=Array.isArray(t.headers)?cQ(t.headers):t.headers,y=typeof C=="function"?C({...t,headers:E}):C;if(Zie(y)){y.then(S=>m(g,S));return}let I=qU(y),B=aQ(a),N=aQ(c);e.onConnect?.(S=>e.onError(S),null),e.onHeaders?.(n,B,h,zU(n)),e.onData?.(Buffer.from(I)),e.onComplete?.(N),oQ(g,r)}o(m,"handleReply");function h(){}return o(h,"resume"),!0}o(VU,"mockDispatch");function soe(){let t=this[Yie],e=this[Wie],r=this[Jie];return o(function(n,i){if(t.isMockActive)try{VU.call(this,n,i)}catch(a){if(a instanceof La){let c=t[jie]();if(c===!1)throw new La(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if($U(c,e))r.call(this,n,i);else throw new La(`${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,n,i)},"dispatch")}o(soe,"buildMockDispatch");function $U(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(s=>Vi(s,r.host)))}o($U,"checkNetConnect");function noe(t){if(t){let{agent:e,...r}=t;return r}}o(noe,"buildMockOptions");YU.exports={getResponseData:qU,getMockDispatch:GU,addMockDispatch:toe,deleteMockDispatch:oQ,buildKey:HU,generateKeyValues:aQ,matchValue:Vi,getResponse:roe,getStatusText:zU,mockDispatch:VU,buildMockDispatch:soe,checkNetConnect:$U,buildMockOptions:noe,getHeaderByName:FU,buildHeadersFromArray:cQ}});var hQ=f((UOe,mQ)=>{"use strict";var{getResponseData:ioe,buildKey:ooe,addMockDispatch:lQ}=rd(),{kDispatches:uf,kDispatchKey:Af,kDefaultHeaders:uQ,kDefaultTrailers:AQ,kContentLength:dQ,kMockDispatch:df}=xl(),{InvalidArgumentError:zn}=we(),{buildURL:aoe}=pe(),Nl=class{static{o(this,"MockScope")}constructor(e){this[df]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new zn("waitInMs must be a valid integer > 0");return this[df].delay=e,this}persist(){return this[df].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new zn("repeatTimes must be a valid integer > 0");return this[df].times=e,this}},pQ=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new zn("opts must be an object");if(typeof e.path>"u")throw new zn("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=aoe(e.path,e.query);else{let s=new URL(e.path,"data://");e.path=s.pathname+s.search}typeof e.method=="string"&&(e.method=e.method.toUpperCase()),this[Af]=ooe(e),this[uf]=r,this[uQ]={},this[AQ]={},this[dQ]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:s}){let n=ioe(r),i=this[dQ]?{"content-length":n.length}:{},a={...this[uQ],...i,...s.headers},c={...this[AQ],...s.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new zn("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new zn("responseOptions must be an object")}reply(e){if(typeof e=="function"){let i=o(c=>{let l=e(c);if(typeof l!="object"||l===null)throw new zn("reply options callback must return an object");let u={data:"",responseOptions:{},...l};return this.validateReplyParameters(u),{...this.createMockScopeDispatchData(u)}},"wrappedDefaultsCallback"),a=lQ(this[uf],this[Af],i);return new Nl(a)}let r={statusCode:e,data:arguments[1]===void 0?"":arguments[1],responseOptions:arguments[2]===void 0?{}:arguments[2]};this.validateReplyParameters(r);let s=this.createMockScopeDispatchData(r),n=lQ(this[uf],this[Af],s);return new Nl(n)}replyWithError(e){if(typeof e>"u")throw new zn("error must be defined");let r=lQ(this[uf],this[Af],{error:e});return new Nl(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new zn("headers must be defined");return this[uQ]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new zn("trailers must be defined");return this[AQ]=e,this}replyContentLength(){return this[dQ]=!0,this}};mQ.exports.MockInterceptor=pQ;mQ.exports.MockScope=Nl});var EQ=f((GOe,e2)=>{"use strict";var{promisify:coe}=require("node:util"),loe=gl(),{buildMockDispatch:uoe}=rd(),{kDispatches:JU,kMockAgent:WU,kClose:jU,kOriginalClose:KU,kOrigin:XU,kOriginalDispatch:Aoe,kConnected:fQ}=xl(),{MockInterceptor:doe}=hQ(),ZU=Ye(),{InvalidArgumentError:poe}=we(),gQ=class extends loe{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new poe("Argument opts.agent must implement Agent");this[WU]=r.agent,this[XU]=e,this[JU]=[],this[fQ]=1,this[Aoe]=this.dispatch,this[KU]=this.close.bind(this),this.dispatch=uoe.call(this),this.close=this[jU]}get[ZU.kConnected](){return this[fQ]}intercept(e){return new doe(e,this[JU])}async[jU](){await coe(this[KU])(),this[fQ]=0,this[WU][ZU.kClients].delete(this[XU])}};e2.exports=gQ});var IQ=f((zOe,a2)=>{"use strict";var{promisify:moe}=require("node:util"),hoe=El(),{buildMockDispatch:foe}=rd(),{kDispatches:t2,kMockAgent:r2,kClose:s2,kOriginalClose:n2,kOrigin:i2,kOriginalDispatch:goe,kConnected:yQ}=xl(),{MockInterceptor:Eoe}=hQ(),o2=Ye(),{InvalidArgumentError:yoe}=we(),CQ=class extends hoe{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new yoe("Argument opts.agent must implement Agent");this[r2]=r.agent,this[i2]=e,this[t2]=[],this[yQ]=1,this[goe]=this.dispatch,this[n2]=this.close.bind(this),this.dispatch=foe.call(this),this.close=this[s2]}get[o2.kConnected](){return this[yQ]}intercept(e){return new Eoe(e,this[t2])}async[s2](){await moe(this[n2])(),this[yQ]=0,this[r2][o2.kClients].delete(this[i2])}};a2.exports=CQ});var l2=f((YOe,c2)=>{"use strict";var Coe={pronoun:"it",is:"is",was:"was",this:"this"},Ioe={pronoun:"they",is:"are",was:"were",this:"these"};c2.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,s=r?Coe:Ioe,n=r?this.singular:this.plural;return{...s,count:e,noun:n}}}});var A2=f((jOe,u2)=>{"use strict";var{Transform:Boe}=require("node:stream"),{Console:woe}=require("node:console"),boe=process.versions.icu?"\u2705":"Y ",Qoe=process.versions.icu?"\u274C":"N ";u2.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new Boe({transform(r,s,n){n(null,r)}}),this.logger=new woe({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:s,path:n,data:{statusCode:i},persist:a,times:c,timesInvoked:l,origin:u})=>({Method:s,Origin:u,Path:n,"Status code":i,Persistent:a?boe:Qoe,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var h2=f((XOe,m2)=>{"use strict";var{kClients:Ma}=Ye(),xoe=yl(),{kAgent:BQ,kMockAgentSet:pf,kMockAgentGet:d2,kDispatches:wQ,kIsMockActive:mf,kNetConnect:Oa,kGetNetConnect:Noe,kOptions:hf,kFactory:ff}=xl(),Soe=EQ(),Roe=IQ(),{matchValue:Toe,buildMockOptions:voe}=rd(),{InvalidArgumentError:p2,UndiciError:Poe}=we(),koe=QA(),Doe=l2(),_oe=A2(),bQ=class extends koe{static{o(this,"MockAgent")}constructor(e){if(super(e),this[Oa]=!0,this[mf]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new p2("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new xoe(e);this[BQ]=r,this[Ma]=r[Ma],this[hf]=voe(e)}get(e){let r=this[d2](e);return r||(r=this[ff](e),this[pf](e,r)),r}dispatch(e,r){return this.get(e.origin),this[BQ].dispatch(e,r)}async close(){await this[BQ].close(),this[Ma].clear()}deactivate(){this[mf]=!1}activate(){this[mf]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[Oa])?this[Oa].push(e):this[Oa]=[e];else if(typeof e>"u")this[Oa]=!0;else throw new p2("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[Oa]=!1}get isMockActive(){return this[mf]}[pf](e,r){this[Ma].set(e,r)}[ff](e){let r=Object.assign({agent:this},this[hf]);return this[hf]&&this[hf].connections===1?new Soe(e,r):new Roe(e,r)}[d2](e){let r=this[Ma].get(e);if(r)return r;if(typeof e!="string"){let s=this[ff]("http://localhost:9999");return this[pf](e,s),s}for(let[s,n]of Array.from(this[Ma]))if(n&&typeof s!="string"&&Toe(s,e)){let i=this[ff](e);return this[pf](e,i),i[wQ]=n[wQ],i}}[Noe](){return this[Oa]}pendingInterceptors(){let e=this[Ma];return Array.from(e.entries()).flatMap(([r,s])=>s[wQ].map(n=>({...n,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new _oe}={}){let r=this.pendingInterceptors();if(r.length===0)return;let s=new Doe("interceptor","interceptors").pluralize(r.length);throw new Poe(` ${s.count} ${s.noun} ${s.is} pending: ${e.format(r)} `.trim())}};m2.exports=bQ});var gf=f((eFe,y2)=>{"use strict";var f2=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:Loe}=we(),Moe=yl();E2()===void 0&&g2(new Moe);function g2(t){if(!t||typeof t.dispatch!="function")throw new Loe("Argument agent must implement Agent");Object.defineProperty(globalThis,f2,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(g2,"setGlobalDispatcher");function E2(){return globalThis[f2]}o(E2,"getGlobalDispatcher");y2.exports={setGlobalDispatcher:g2,getGlobalDispatcher:E2}});var Ef=f((sFe,C2)=>{"use strict";C2.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 B2=f((iFe,I2)=>{"use strict";var Ooe=Wh();I2.exports=t=>{let e=t?.maxRedirections;return r=>o(function(n,i){let{maxRedirections:a=e,...c}=n;if(!a)return r(n,i);let l=new Ooe(r,a,n,i);return r(c,l)},"redirectInterceptor")}});var b2=f((aFe,w2)=>{"use strict";var Foe=af();w2.exports=t=>e=>o(function(s,n){return e(s,new Foe({...s,retryOptions:{...t,...s.retryOptions}},{handler:n,dispatch:e}))},"retryInterceptor")});var x2=f((lFe,Q2)=>{"use strict";var Uoe=pe(),{InvalidArgumentError:qoe,RequestAbortedError:Goe}=we(),Hoe=Ef(),QQ=class extends Hoe{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#r=!1;#i=!1;#n=0;#s=null;#o=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new qoe("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.#i=!0,this.#s=e}onHeaders(e,r,s,n){let a=Uoe.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new Goe(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#i?!0:this.#o.onHeaders(e,r,s,n)}onError(e){this.#r||(e=this.#s??e,this.#o.onError(e))}onData(e){return this.#n=this.#n+e.length,this.#n>=this.#e&&(this.#r=!0,this.#i?this.#o.onError(this.#s):this.#o.onComplete([])),!0}onComplete(e){if(!this.#r){if(this.#i){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function zoe({maxSize:t}={maxSize:1024*1024}){return e=>o(function(s,n){let{dumpMaxSize:i=t}=s,a=new QQ({maxSize:i},n);return e(s,a)},"Intercept")}o(zoe,"createDumpInterceptor");Q2.exports=zoe});var R2=f((AFe,S2)=>{"use strict";var{isIP:Voe}=require("node:net"),{lookup:$oe}=require("node:dns"),Yoe=Ef(),{InvalidArgumentError:Sl,InformationalError:Joe}=we(),N2=Math.pow(2,31)-1,xQ=class{static{o(this,"DNSInstance")}#e=0;#t=0;#r=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.#i,this.pick=e.pick??this.#n}get full(){return this.#r.size===this.#t}runLookup(e,r,s){let n=this.#r.get(e.hostname);if(n==null&&this.full){s(null,e.origin);return}let i={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...r.dns,maxTTL:this.#e,maxItems:this.#t};if(n==null)this.lookup(e,i,(a,c)=>{if(a||c==null||c.length===0){s(a??new Joe("No DNS entries found"));return}this.setRecords(e,c);let l=this.#r.get(e.hostname),u=this.pick(e,l,i.affinity),A;typeof u.port=="number"?A=`:${u.port}`:e.port!==""?A=`:${e.port}`:A="",s(null,`${e.protocol}//${u.family===6?`[${u.address}]`:u.address}${A}`)});else{let a=this.pick(e,n,i.affinity);if(a==null){this.#r.delete(e.hostname),this.runLookup(e,r,s);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",s(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#i(e,r,s){$oe(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(n,i)=>{if(n)return s(n);let a=new Map;for(let c of i)a.set(`${c.address}:${c.family}`,c);s(null,a.values())})}#n(e,r,s){let n=null,{records:i,offset:a}=r,c;if(this.dualStack?(s==null&&(a==null||a===N2?(r.offset=0,s=4):(r.offset++,s=(r.offset&1)===1?6:4)),i[s]!=null&&i[s].ips.length>0?c=i[s]:c=i[s===4?6:4]):c=i[s],c==null||c.ips.length===0)return n;c.offset==null||c.offset===N2?c.offset=0:c.offset++;let l=c.offset%c.ips.length;return n=c.ips[l]??null,n==null?n:Date.now()-n.timestamp>n.ttl?(c.ips.splice(l,1),this.pick(e,r,s)):n}setRecords(e,r){let s=Date.now(),n={records:{4:null,6:null}};for(let i of r){i.timestamp=s,typeof i.ttl=="number"?i.ttl=Math.min(i.ttl,this.#e):i.ttl=this.#e;let a=n.records[i.family]??{ips:[]};a.ips.push(i),n.records[i.family]=a}this.#r.set(e.hostname,n)}getHandler(e,r){return new NQ(this,e,r)}},NQ=class extends Yoe{static{o(this,"DNSDispatchHandler")}#e=null;#t=null;#r=null;#i=null;#n=null;constructor(e,{origin:r,handler:s,dispatch:n},i){super(s),this.#n=r,this.#i=s,this.#t={...i},this.#e=e,this.#r=n}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#e.dualStack){this.#e.runLookup(this.#n,this.#t,(r,s)=>{if(r)return this.#i.onError(r);let n={...this.#t,origin:s};this.#r(n,this)});return}this.#i.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#n);default:this.#i.onError(e);break}}};S2.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new Sl("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new Sl("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new Sl("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new Sl("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new Sl("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new Sl("Invalid pick. Must be a function");let e=t?.dualStack??!0,r;e?r=t?.affinity??null:r=t?.affinity??4;let s={maxTTL:t?.maxTTL??1e4,lookup:t?.lookup??null,pick:t?.pick??null,dualStack:e,affinity:r,maxItems:t?.maxItems??1/0},n=new xQ(s);return i=>o(function(c,l){let u=c.origin.constructor===URL?c.origin:new URL(c.origin);return Voe(u.hostname)!==0?i(c,l):(n.runLookup(u,c,(A,d)=>{if(A)return l.onError(A);let p=null;p={...c,servername:u.hostname,origin:d,headers:{host:u.hostname,...c.headers}},i(p,n.getHandler({origin:u,dispatch:i,handler:l},c))}),!0)},"dnsInterceptor")}});var Fa=f((pFe,L2)=>{"use strict";var{kConstruct:Woe}=Ye(),{kEnumerableProperty:Rl}=pe(),{iteratorMixin:joe,isValidHeaderName:sd,isValidHeaderValue:v2}=Kr(),{webidl:Ce}=Wt(),SQ=require("node:assert"),yf=require("node:util"),Nt=Symbol("headers map"),ts=Symbol("headers map sorted");function T2(t){return t===10||t===13||t===9||t===32}o(T2,"isHTTPWhiteSpaceCharCode");function P2(t){let e=0,r=t.length;for(;r>e&&T2(t.charCodeAt(r-1));)--r;for(;r>e&&T2(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(P2,"headerValueNormalize");function k2(t,e){if(Array.isArray(e))for(let r=0;r>","record"]})}o(k2,"fill");function RQ(t,e,r){if(r=P2(r),sd(e)){if(!v2(r))throw Ce.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw Ce.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(_2(t)==="immutable")throw new TypeError("immutable");return TQ(t).append(e,r,!1)}o(RQ,"appendHeader");function D2(t,e){return t[0]>1),r[u][0]<=A[0]?l=u+1:c=u;if(i!==u){for(a=i;a>l;)r[a]=r[--a];r[l]=A}}if(!s.next().done)throw new TypeError("Unreachable");return r}else{let s=0;for(let{0:n,1:{value:i}}of this[Nt])r[s++]=[n,i],SQ(i!==null);return r.sort(D2)}}},pn=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){Ce.util.markAsUncloneable(this),e!==Woe&&(this.#t=new Cf,this.#e="none",e!==void 0&&(e=Ce.converters.HeadersInit(e,"Headers contructor","init"),k2(this,e)))}append(e,r){Ce.brandCheck(this,t),Ce.argumentLengthCheck(arguments,2,"Headers.append");let s="Headers.append";return e=Ce.converters.ByteString(e,s,"name"),r=Ce.converters.ByteString(r,s,"value"),RQ(this,e,r)}delete(e){if(Ce.brandCheck(this,t),Ce.argumentLengthCheck(arguments,1,"Headers.delete"),e=Ce.converters.ByteString(e,"Headers.delete","name"),!sd(e))throw Ce.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){Ce.brandCheck(this,t),Ce.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=Ce.converters.ByteString(e,r,"name"),!sd(e))throw Ce.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){Ce.brandCheck(this,t),Ce.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=Ce.converters.ByteString(e,r,"name"),!sd(e))throw Ce.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){Ce.brandCheck(this,t),Ce.argumentLengthCheck(arguments,2,"Headers.set");let s="Headers.set";if(e=Ce.converters.ByteString(e,s,"name"),r=Ce.converters.ByteString(r,s,"value"),r=P2(r),sd(e)){if(!v2(r))throw Ce.errors.invalidArgument({prefix:s,value:r,type:"header value"})}else throw Ce.errors.invalidArgument({prefix:s,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){Ce.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[ts](){if(this.#t[ts])return this.#t[ts];let e=[],r=this.#t.toSortedArray(),s=this.#t.cookies;if(s===null||s.length===1)return this.#t[ts]=r;for(let n=0;n>"](t,e,r,s.bind(t)):Ce.converters["record"](t,e,r)}throw Ce.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};L2.exports={fill:k2,compareHeaderName:D2,Headers:pn,HeadersList:Cf,getHeadersGuard:_2,setHeadersGuard:Koe,setHeadersList:Xoe,getHeadersList:TQ}});var id=f((hFe,J2)=>{"use strict";var{Headers:G2,HeadersList:M2,fill:Zoe,getHeadersGuard:eae,setHeadersGuard:H2,setHeadersList:z2}=Fa(),{extractBody:O2,cloneBody:tae,mixinBody:rae,hasFinalizationRegistry:V2,streamRegistry:$2,bodyUnusable:sae}=ll(),vQ=pe(),F2=require("node:util"),{kEnumerableProperty:rs}=vQ,{isValidReasonPhrase:nae,isCancelled:iae,isAborted:oae,isBlobLike:aae,serializeJavascriptValueToJSONString:cae,isErrorLike:lae,isomorphicEncode:uae,environmentSettingsObject:Aae}=Kr(),{redirectStatusSet:dae,nullBodyStatus:pae}=SA(),{kState:We,kHeaders:$i}=xo(),{webidl:le}=Wt(),{FormData:mae}=DA(),{URLSerializer:U2}=vr(),{kConstruct:Bf}=Ye(),PQ=require("node:assert"),{types:hae}=require("node:util"),fae=new TextEncoder("utf-8"),Ua=class t{static{o(this,"Response")}static error(){return nd(wf(),"immutable")}static json(e,r={}){le.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=le.converters.ResponseInit(r));let s=fae.encode(cae(e)),n=O2(s),i=nd(Tl({}),"response");return q2(i,r,{body:n[0],type:"application/json"}),i}static redirect(e,r=302){le.argumentLengthCheck(arguments,1,"Response.redirect"),e=le.converters.USVString(e),r=le.converters["unsigned short"](r);let s;try{s=new URL(e,Aae.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!dae.has(r))throw new RangeError(`Invalid status code ${r}`);let n=nd(Tl({}),"immutable");n[We].status=r;let i=uae(U2(s));return n[We].headersList.append("location",i,!0),n}constructor(e=null,r={}){if(le.util.markAsUncloneable(this),e===Bf)return;e!==null&&(e=le.converters.BodyInit(e)),r=le.converters.ResponseInit(r),this[We]=Tl({}),this[$i]=new G2(Bf),H2(this[$i],"response"),z2(this[$i],this[We].headersList);let s=null;if(e!=null){let[n,i]=O2(e);s={body:n,type:i}}q2(this,r,s)}get type(){return le.brandCheck(this,t),this[We].type}get url(){le.brandCheck(this,t);let e=this[We].urlList,r=e[e.length-1]??null;return r===null?"":U2(r,!0)}get redirected(){return le.brandCheck(this,t),this[We].urlList.length>1}get status(){return le.brandCheck(this,t),this[We].status}get ok(){return le.brandCheck(this,t),this[We].status>=200&&this[We].status<=299}get statusText(){return le.brandCheck(this,t),this[We].statusText}get headers(){return le.brandCheck(this,t),this[$i]}get body(){return le.brandCheck(this,t),this[We].body?this[We].body.stream:null}get bodyUsed(){return le.brandCheck(this,t),!!this[We].body&&vQ.isDisturbed(this[We].body.stream)}clone(){if(le.brandCheck(this,t),sae(this))throw le.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=kQ(this[We]);return V2&&this[We].body?.stream&&$2.register(this,new WeakRef(this[We].body.stream)),nd(e,eae(this[$i]))}[F2.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let s={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 ${F2.formatWithOptions(r,s)}`}};rae(Ua);Object.defineProperties(Ua.prototype,{type:rs,url:rs,status:rs,ok:rs,redirected:rs,statusText:rs,headers:rs,clone:rs,body:rs,bodyUsed:rs,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(Ua,{json:rs,redirect:rs,error:rs});function kQ(t){if(t.internalResponse)return Y2(kQ(t.internalResponse),t.type);let e=Tl({...t,body:null});return t.body!=null&&(e.body=tae(e,t.body)),e}o(kQ,"cloneResponse");function Tl(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new M2(t?.headersList):new M2,urlList:t?.urlList?[...t.urlList]:[]}}o(Tl,"makeResponse");function wf(t){let e=lae(t);return Tl({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(wf,"makeNetworkError");function gae(t){return t.type==="error"&&t.status===0}o(gae,"isNetworkError");function If(t,e){return e={internalResponse:t,...e},new Proxy(t,{get(r,s){return s in e?e[s]:r[s]},set(r,s,n){return PQ(!(s in e)),r[s]=n,!0}})}o(If,"makeFilteredResponse");function Y2(t,e){if(e==="basic")return If(t,{type:"basic",headersList:t.headersList});if(e==="cors")return If(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return If(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return If(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});PQ(!1)}o(Y2,"filterResponse");function Eae(t,e=null){return PQ(iae(t)),oae(t)?wf(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):wf(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(Eae,"makeAppropriateNetworkError");function q2(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&&!nae(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[We].status=e.status),"statusText"in e&&e.statusText!=null&&(t[We].statusText=e.statusText),"headers"in e&&e.headers!=null&&Zoe(t[$i],e.headers),r){if(pae.includes(t.status))throw le.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[We].body=r.body,r.type!=null&&!t[We].headersList.contains("content-type",!0)&&t[We].headersList.append("content-type",r.type,!0)}}o(q2,"initializeResponse");function nd(t,e){let r=new Ua(Bf);return r[We]=t,r[$i]=new G2(Bf),z2(r[$i],t.headersList),H2(r[$i],e),V2&&t.body?.stream&&$2.register(r,new WeakRef(t.body.stream)),r}o(nd,"fromInnerResponse");le.converters.ReadableStream=le.interfaceConverter(ReadableStream);le.converters.FormData=le.interfaceConverter(mae);le.converters.URLSearchParams=le.interfaceConverter(URLSearchParams);le.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?le.converters.USVString(t,e,r):aae(t)?le.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||hae.isArrayBuffer(t)?le.converters.BufferSource(t,e,r):vQ.isFormDataLike(t)?le.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?le.converters.URLSearchParams(t,e,r):le.converters.DOMString(t,e,r)};le.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?le.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:le.converters.XMLHttpRequestBodyInit(t,e,r)};le.converters.ResponseInit=le.dictionaryConverter([{key:"status",converter:le.converters["unsigned short"],defaultValue:o(()=>200,"defaultValue")},{key:"statusText",converter:le.converters.ByteString,defaultValue:o(()=>"","defaultValue")},{key:"headers",converter:le.converters.HeadersInit}]);J2.exports={isNetworkError:gae,makeNetworkError:wf,makeResponse:Tl,makeAppropriateNetworkError:Eae,filterResponse:Y2,Response:Ua,cloneResponse:kQ,fromInnerResponse:nd}});var X2=f((gFe,K2)=>{"use strict";var{kConnected:W2,kSize:j2}=Ye(),DQ=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[W2]===0&&this.value[j2]===0?void 0:this.value}},_Q=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[W2]===0&&e[j2]===0&&this.finalizer(r)})}unregister(e){}};K2.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:DQ,FinalizationRegistry:_Q}):{WeakRef,FinalizationRegistry}}});var vl=f((yFe,p1)=>{"use strict";var{extractBody:yae,mixinBody:Cae,cloneBody:Iae,bodyUnusable:Z2}=ll(),{Headers:c1,fill:Bae,HeadersList:Nf,setHeadersGuard:MQ,getHeadersGuard:wae,setHeadersList:l1,getHeadersList:e1}=Fa(),{FinalizationRegistry:bae}=X2()(),Qf=pe(),t1=require("node:util"),{isValidHTTPToken:Qae,sameOrigin:r1,environmentSettingsObject:bf}=Kr(),{forbiddenMethodsSet:xae,corsSafeListedMethodsSet:Nae,referrerPolicy:Sae,requestRedirect:Rae,requestMode:Tae,requestCredentials:vae,requestCache:Pae,requestDuplex:kae}=SA(),{kEnumerableProperty:St,normalizedMethodRecordsBase:Dae,normalizedMethodRecords:_ae}=Qf,{kHeaders:ss,kSignal:xf,kState:Ge,kDispatcher:LQ}=xo(),{webidl:Z}=Wt(),{URLSerializer:Lae}=vr(),{kConstruct:Sf}=Ye(),Mae=require("node:assert"),{getMaxListeners:s1,setMaxListeners:n1,getEventListeners:Oae,defaultMaxListeners:i1}=require("node:events"),Fae=Symbol("abortController"),u1=new bae(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),Rf=new WeakMap;function o1(t){return e;function e(){let r=t.deref();if(r!==void 0){u1.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let s=Rf.get(r.signal);if(s!==void 0){if(s.size!==0){for(let n of s){let i=n.deref();i!==void 0&&i.abort(this.reason)}s.clear()}Rf.delete(r.signal)}}}}o(o1,"buildAbort");var a1=!1,Mo=class t{static{o(this,"Request")}constructor(e,r={}){if(Z.util.markAsUncloneable(this),e===Sf)return;let s="Request constructor";Z.argumentLengthCheck(arguments,1,s),e=Z.converters.RequestInfo(e,s,"input"),r=Z.converters.RequestInit(r,s,"init");let n=null,i=null,a=bf.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[LQ]=r.dispatcher;let E;try{E=new URL(e,a)}catch(y){throw new TypeError("Failed to parse URL from "+e,{cause:y})}if(E.username||E.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);n=Tf({urlList:[E]}),i="cors"}else this[LQ]=r.dispatcher||e[LQ],Mae(e instanceof t),n=e[Ge],c=e[xf];let l=bf.settingsObject.origin,u="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&r1(n.window,l)&&(u=n.window),r.window!=null)throw new TypeError(`'window' option '${u}' must be null`);"window"in r&&(u="no-window"),n=Tf({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:bf.settingsObject,window:u,priority:n.priority,origin:n.origin,referrer:n.referrer,referrerPolicy:n.referrerPolicy,mode:n.mode,credentials:n.credentials,cache:n.cache,redirect:n.redirect,integrity:n.integrity,keepalive:n.keepalive,reloadNavigation:n.reloadNavigation,historyNavigation:n.historyNavigation,urlList:[...n.urlList]});let A=Object.keys(r).length!==0;if(A&&(n.mode==="navigate"&&(n.mode="same-origin"),n.reloadNavigation=!1,n.historyNavigation=!1,n.origin="client",n.referrer="client",n.referrerPolicy="",n.url=n.urlList[n.urlList.length-1],n.urlList=[n.url]),r.referrer!==void 0){let E=r.referrer;if(E==="")n.referrer="no-referrer";else{let y;try{y=new URL(E,a)}catch(I){throw new TypeError(`Referrer "${E}" is not a valid URL.`,{cause:I})}y.protocol==="about:"&&y.hostname==="client"||l&&!r1(y,bf.settingsObject.baseUrl)?n.referrer="client":n.referrer=y}}r.referrerPolicy!==void 0&&(n.referrerPolicy=r.referrerPolicy);let d;if(r.mode!==void 0?d=r.mode:d=i,d==="navigate")throw Z.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(d!=null&&(n.mode=d),r.credentials!==void 0&&(n.credentials=r.credentials),r.cache!==void 0&&(n.cache=r.cache),n.cache==="only-if-cached"&&n.mode!=="same-origin")throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(r.redirect!==void 0&&(n.redirect=r.redirect),r.integrity!=null&&(n.integrity=String(r.integrity)),r.keepalive!==void 0&&(n.keepalive=!!r.keepalive),r.method!==void 0){let E=r.method,y=_ae[E];if(y!==void 0)n.method=y;else{if(!Qae(E))throw new TypeError(`'${E}' is not a valid HTTP method.`);let I=E.toUpperCase();if(xae.has(I))throw new TypeError(`'${E}' HTTP method is unsupported.`);E=Dae[I]??E,n.method=E}!a1&&n.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"}),a1=!0)}r.signal!==void 0&&(c=r.signal),this[Ge]=n;let p=new AbortController;if(this[xf]=p.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)p.abort(c.reason);else{this[Fae]=p;let E=new WeakRef(p),y=o1(E);try{(typeof s1=="function"&&s1(c)===i1||Oae(c,"abort").length>=i1)&&n1(1500,c)}catch{}Qf.addAbortListener(c,y),u1.register(p,{signal:c,abort:y},y)}}if(this[ss]=new c1(Sf),l1(this[ss],n.headersList),MQ(this[ss],"request"),d==="no-cors"){if(!Nae.has(n.method))throw new TypeError(`'${n.method} is unsupported in no-cors mode.`);MQ(this[ss],"request-no-cors")}if(A){let E=e1(this[ss]),y=r.headers!==void 0?r.headers:new Nf(E);if(E.clear(),y instanceof Nf){for(let{name:I,value:B}of y.rawValues())E.append(I,B,!1);E.cookies=y.cookies}else Bae(this[ss],y)}let m=e instanceof t?e[Ge].body:null;if((r.body!=null||m!=null)&&(n.method==="GET"||n.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let h=null;if(r.body!=null){let[E,y]=yae(r.body,n.keepalive);h=E,y&&!e1(this[ss]).contains("content-type",!0)&&this[ss].append("content-type",y)}let g=h??m;if(g!=null&&g.source==null){if(h!=null&&r.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(n.mode!=="same-origin"&&n.mode!=="cors")throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');n.useCORSPreflightFlag=!0}let C=g;if(h==null&&m!=null){if(Z2(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let E=new TransformStream;m.stream.pipeThrough(E),C={source:m.source,length:m.length,stream:E.readable}}this[Ge].body=C}get method(){return Z.brandCheck(this,t),this[Ge].method}get url(){return Z.brandCheck(this,t),Lae(this[Ge].url)}get headers(){return Z.brandCheck(this,t),this[ss]}get destination(){return Z.brandCheck(this,t),this[Ge].destination}get referrer(){return Z.brandCheck(this,t),this[Ge].referrer==="no-referrer"?"":this[Ge].referrer==="client"?"about:client":this[Ge].referrer.toString()}get referrerPolicy(){return Z.brandCheck(this,t),this[Ge].referrerPolicy}get mode(){return Z.brandCheck(this,t),this[Ge].mode}get credentials(){return this[Ge].credentials}get cache(){return Z.brandCheck(this,t),this[Ge].cache}get redirect(){return Z.brandCheck(this,t),this[Ge].redirect}get integrity(){return Z.brandCheck(this,t),this[Ge].integrity}get keepalive(){return Z.brandCheck(this,t),this[Ge].keepalive}get isReloadNavigation(){return Z.brandCheck(this,t),this[Ge].reloadNavigation}get isHistoryNavigation(){return Z.brandCheck(this,t),this[Ge].historyNavigation}get signal(){return Z.brandCheck(this,t),this[xf]}get body(){return Z.brandCheck(this,t),this[Ge].body?this[Ge].body.stream:null}get bodyUsed(){return Z.brandCheck(this,t),!!this[Ge].body&&Qf.isDisturbed(this[Ge].body.stream)}get duplex(){return Z.brandCheck(this,t),"half"}clone(){if(Z.brandCheck(this,t),Z2(this))throw new TypeError("unusable");let e=A1(this[Ge]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let s=Rf.get(this.signal);s===void 0&&(s=new Set,Rf.set(this.signal,s));let n=new WeakRef(r);s.add(n),Qf.addAbortListener(r.signal,o1(n))}return d1(e,r.signal,wae(this[ss]))}[t1.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let s={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 ${t1.formatWithOptions(r,s)}`}};Cae(Mo);function Tf(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 Nf(t.headersList):new Nf}}o(Tf,"makeRequest");function A1(t){let e=Tf({...t,body:null});return t.body!=null&&(e.body=Iae(e,t.body)),e}o(A1,"cloneRequest");function d1(t,e,r){let s=new Mo(Sf);return s[Ge]=t,s[xf]=e,s[ss]=new c1(Sf),l1(s[ss],t.headersList),MQ(s[ss],r),s}o(d1,"fromInnerRequest");Object.defineProperties(Mo.prototype,{method:St,url:St,headers:St,redirect:St,clone:St,signal:St,duplex:St,destination:St,body:St,bodyUsed:St,isHistoryNavigation:St,isReloadNavigation:St,keepalive:St,integrity:St,cache:St,credentials:St,attribute:St,referrerPolicy:St,referrer:St,mode:St,[Symbol.toStringTag]:{value:"Request",configurable:!0}});Z.converters.Request=Z.interfaceConverter(Mo);Z.converters.RequestInfo=function(t,e,r){return typeof t=="string"?Z.converters.USVString(t,e,r):t instanceof Mo?Z.converters.Request(t,e,r):Z.converters.USVString(t,e,r)};Z.converters.AbortSignal=Z.interfaceConverter(AbortSignal);Z.converters.RequestInit=Z.dictionaryConverter([{key:"method",converter:Z.converters.ByteString},{key:"headers",converter:Z.converters.HeadersInit},{key:"body",converter:Z.nullableConverter(Z.converters.BodyInit)},{key:"referrer",converter:Z.converters.USVString},{key:"referrerPolicy",converter:Z.converters.DOMString,allowedValues:Sae},{key:"mode",converter:Z.converters.DOMString,allowedValues:Tae},{key:"credentials",converter:Z.converters.DOMString,allowedValues:vae},{key:"cache",converter:Z.converters.DOMString,allowedValues:Pae},{key:"redirect",converter:Z.converters.DOMString,allowedValues:Rae},{key:"integrity",converter:Z.converters.DOMString},{key:"keepalive",converter:Z.converters.boolean},{key:"signal",converter:Z.nullableConverter(t=>Z.converters.AbortSignal(t,"RequestInit","signal",{strict:!1}))},{key:"window",converter:Z.converters.any},{key:"duplex",converter:Z.converters.DOMString,allowedValues:kae},{key:"dispatcher",converter:Z.converters.any}]);p1.exports={Request:Mo,makeRequest:Tf,fromInnerRequest:d1,cloneRequest:A1}});var ad=f((IFe,S1)=>{"use strict";var{makeNetworkError:ve,makeAppropriateNetworkError:vf,filterResponse:OQ,makeResponse:Pf,fromInnerResponse:Uae}=id(),{HeadersList:m1}=Fa(),{Request:qae,cloneRequest:Gae}=vl(),Oo=require("node:zlib"),{bytesMatch:Hae,makePolicyContainer:zae,clonePolicyContainer:Vae,requestBadPort:$ae,TAOCheck:Yae,appendRequestOriginHeader:Jae,responseLocationURL:Wae,requestCurrentURL:Vn,setRequestReferrerPolicyOnRedirect:jae,tryUpgradeRequestToAPotentiallyTrustworthyURL:Kae,createOpaqueTimingInfo:HQ,appendFetchMetadata:Xae,corsCheck:Zae,crossOriginResourcePolicyCheck:ece,determineRequestsReferrer:tce,coarsenedSharedCurrentTime:od,createDeferredPromise:rce,isBlobLike:sce,sameOrigin:GQ,isCancelled:qa,isAborted:h1,isErrorLike:nce,fullyReadBody:ice,readableStreamClose:oce,isomorphicEncode:kf,urlIsLocal:ace,urlIsHttpHttpsScheme:zQ,urlHasHttpsScheme:cce,clampAndCoarsenConnectionTimingInfo:lce,simpleRangeHeaderValue:uce,buildContentRange:Ace,createInflate:dce,extractMimeType:pce}=Kr(),{kState:y1,kDispatcher:mce}=xo(),Ga=require("node:assert"),{safelyExtractBody:VQ,extractBody:f1}=ll(),{redirectStatusSet:C1,nullBodyStatus:I1,safeMethodsSet:hce,requestBodyHeader:fce,subresourceSet:gce}=SA(),Ece=require("node:events"),{Readable:yce,pipeline:Cce,finished:Ice}=require("node:stream"),{addAbortListener:Bce,isErrored:wce,isReadable:Df,bufferToLowerCasedHeaderName:g1}=pe(),{dataURLProcessor:bce,serializeAMimeType:Qce,minimizeSupportedMimeType:xce}=vr(),{getGlobalDispatcher:Nce}=gf(),{webidl:Sce}=Wt(),{STATUS_CODES:Rce}=require("node:http"),Tce=["GET","HEAD"],vce=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",FQ,_f=class extends Ece{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 Pce(t){B1(t,"fetch")}o(Pce,"handleFetchDone");function kce(t,e=void 0){Sce.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=rce(),s;try{s=new qae(t,e)}catch(A){return r.reject(A),r.promise}let n=s[y1];if(s.signal.aborted)return UQ(r,n,null,s.signal.reason),r.promise;n.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(n.serviceWorkers="none");let a=null,c=!1,l=null;return Bce(s.signal,()=>{c=!0,Ga(l!=null),l.abort(s.signal.reason);let A=a?.deref();UQ(r,n,A,s.signal.reason)}),l=b1({request:n,processResponseEndOfBody:Pce,processResponse:o(A=>{if(!c){if(A.aborted){UQ(r,n,a,l.serializedAbortReason);return}if(A.type==="error"){r.reject(new TypeError("fetch failed",{cause:A.error}));return}a=new WeakRef(Uae(A,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:s[mce]}),r.promise}o(kce,"fetch");function B1(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],s=t.timingInfo,n=t.cacheState;zQ(r)&&s!==null&&(t.timingAllowPassed||(s=HQ({startTime:s.startTime}),n=""),s.endTime=od(),t.timingInfo=s,w1(s,r.href,e,globalThis,n))}o(B1,"finalizeAndReportTiming");var w1=performance.markResourceTiming;function UQ(t,e,r,s){if(t&&t.reject(s),e.body!=null&&Df(e.body?.stream)&&e.body.stream.cancel(s).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i}),r==null)return;let n=r[y1];n.body!=null&&Df(n.body?.stream)&&n.body.stream.cancel(s).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i})}o(UQ,"abortFetch");function b1({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:s,processResponseEndOfBody:n,processResponseConsumeBody:i,useParallelQueue:a=!1,dispatcher:c=Nce()}){Ga(c);let l=null,u=!1;t.client!=null&&(l=t.client.globalObject,u=t.client.crossOriginIsolatedCapability);let A=od(u),d=HQ({startTime:A}),p={controller:new _f(c),request:t,timingInfo:d,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:s,processResponseConsumeBody:i,processResponseEndOfBody:n,taskDestination:l,crossOriginIsolatedCapability:u};return Ga(!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=Vae(t.client.policyContainer):t.policyContainer=zae()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,gce.has(t.destination),Q1(p).catch(m=>{p.controller.terminate(m)}),p.controller}o(b1,"fetching");async function Q1(t,e=!1){let r=t.request,s=null;if(r.localURLsOnly&&!ace(Vn(r))&&(s=ve("local URLs only")),Kae(r),$ae(r)==="blocked"&&(s=ve("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=tce(r)),s===null&&(s=await(async()=>{let i=Vn(r);return GQ(i,r.url)&&r.responseTainting==="basic"||i.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await E1(t)):r.mode==="same-origin"?ve('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?ve('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await E1(t)):zQ(Vn(r))?(r.responseTainting="cors",await x1(t)):ve("URL scheme must be a HTTP(S) scheme")})()),e)return s;s.status!==0&&!s.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?s=OQ(s,"basic"):r.responseTainting==="cors"?s=OQ(s,"cors"):r.responseTainting==="opaque"?s=OQ(s,"opaque"):Ga(!1));let n=s.status===0?s:s.internalResponse;if(n.urlList.length===0&&n.urlList.push(...r.urlList),r.timingAllowFailed||(s.timingAllowPassed=!0),s.type==="opaque"&&n.status===206&&n.rangeRequested&&!r.headers.contains("range",!0)&&(s=n=ve()),s.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||I1.includes(n.status))&&(n.body=null,t.controller.dump=!0),r.integrity){let i=o(c=>qQ(t,ve(c)),"processBodyError");if(r.responseTainting==="opaque"||s.body==null){i(s.error);return}let a=o(c=>{if(!Hae(c,r.integrity)){i("integrity mismatch");return}s.body=VQ(c)[0],qQ(t,s)},"processBody");await ice(s.body,a,i)}else qQ(t,s)}o(Q1,"mainFetch");function E1(t){if(qa(t)&&t.request.redirectCount===0)return Promise.resolve(vf(t));let{request:e}=t,{protocol:r}=Vn(e);switch(r){case"about:":return Promise.resolve(ve("about scheme is not supported"));case"blob:":{FQ||(FQ=require("node:buffer").resolveObjectURL);let s=Vn(e);if(s.search.length!==0)return Promise.resolve(ve("NetworkError when attempting to fetch resource."));let n=FQ(s.toString());if(e.method!=="GET"||!sce(n))return Promise.resolve(ve("invalid method"));let i=Pf(),a=n.size,c=kf(`${a}`),l=n.type;if(e.headersList.contains("range",!0)){i.rangeRequested=!0;let u=e.headersList.get("range",!0),A=uce(u,!0);if(A==="failure")return Promise.resolve(ve("failed to fetch the data URL"));let{rangeStartValue:d,rangeEndValue:p}=A;if(d===null)d=a-p,p=d+p-1;else{if(d>=a)return Promise.resolve(ve("Range start is greater than the blob's size."));(p===null||p>=a)&&(p=a-1)}let m=n.slice(d,p,l),h=f1(m);i.body=h[0];let g=kf(`${m.size}`),C=Ace(d,p,a);i.status=206,i.statusText="Partial Content",i.headersList.set("content-length",g,!0),i.headersList.set("content-type",l,!0),i.headersList.set("content-range",C,!0)}else{let u=f1(n);i.statusText="OK",i.body=u[0],i.headersList.set("content-length",c,!0),i.headersList.set("content-type",l,!0)}return Promise.resolve(i)}case"data:":{let s=Vn(e),n=bce(s);if(n==="failure")return Promise.resolve(ve("failed to fetch the data URL"));let i=Qce(n.mimeType);return Promise.resolve(Pf({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:i}]],body:VQ(n.body)[0]}))}case"file:":return Promise.resolve(ve("not implemented... yet..."));case"http:":case"https:":return x1(t).catch(s=>ve(s));default:return Promise.resolve(ve("unknown scheme"))}}o(E1,"schemeFetch");function Dce(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(Dce,"finalizeResponse");function qQ(t,e){let r=t.timingInfo,s=o(()=>{let i=Date.now();t.request.destination==="document"&&(t.controller.fullTimingInfo=r),t.controller.reportTimingSteps=()=>{if(t.request.url.protocol!=="https:")return;r.endTime=i;let c=e.cacheState,l=e.bodyInfo;e.timingAllowPassed||(r=HQ(r),c="");let u=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){u=e.status;let A=pce(e.headersList);A!=="failure"&&(l.contentType=xce(A))}t.request.initiatorType!=null&&w1(r,t.request.url.href,t.request.initiatorType,globalThis,c,l,u)};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 n=e.type==="error"?e:e.internalResponse??e;n.body==null?s():Ice(n.body.stream,()=>{s()})}o(qQ,"fetchFinale");async function x1(t){let e=t.request,r=null,s=null,n=t.timingInfo;if(e.serviceWorkers,r===null){if(e.redirect==="follow"&&(e.serviceWorkers="none"),s=r=await N1(t),e.responseTainting==="cors"&&Zae(e,r)==="failure")return ve("cors failure");Yae(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&ece(e.origin,e.client,e.destination,s)==="blocked"?ve("blocked"):(C1.has(s.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=ve("unexpected redirect"):e.redirect==="manual"?r=s:e.redirect==="follow"?r=await _ce(t,r):Ga(!1)),r.timingInfo=n,r)}o(x1,"httpFetch");function _ce(t,e){let r=t.request,s=e.internalResponse?e.internalResponse:e,n;try{if(n=Wae(s,Vn(r).hash),n==null)return e}catch(a){return Promise.resolve(ve(a))}if(!zQ(n))return Promise.resolve(ve("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(ve("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(n.username||n.password)&&!GQ(r,n))return Promise.resolve(ve('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(n.username||n.password))return Promise.resolve(ve('URL cannot contain credentials for request mode "cors"'));if(s.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(ve());if([301,302].includes(s.status)&&r.method==="POST"||s.status===303&&!Tce.includes(r.method)){r.method="GET",r.body=null;for(let a of fce)r.headersList.delete(a)}GQ(Vn(r),n)||(r.headersList.delete("authorization",!0),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie",!0),r.headersList.delete("host",!0)),r.body!=null&&(Ga(r.body.source!=null),r.body=VQ(r.body.source)[0]);let i=t.timingInfo;return i.redirectEndTime=i.postRedirectStartTime=od(t.crossOriginIsolatedCapability),i.redirectStartTime===0&&(i.redirectStartTime=i.startTime),r.urlList.push(n),jae(r,s),Q1(t,!0)}o(_ce,"httpRedirectFetch");async function N1(t,e=!1,r=!1){let s=t.request,n=null,i=null,a=null,c=null,l=!1;s.window==="no-window"&&s.redirect==="error"?(n=t,i=s):(i=Gae(s),n={...t},n.request=i);let u=s.credentials==="include"||s.credentials==="same-origin"&&s.responseTainting==="basic",A=i.body?i.body.length:null,d=null;if(i.body==null&&["POST","PUT"].includes(i.method)&&(d="0"),A!=null&&(d=kf(`${A}`)),d!=null&&i.headersList.append("content-length",d,!0),A!=null&&i.keepalive,i.referrer instanceof URL&&i.headersList.append("referer",kf(i.referrer.href),!0),Jae(i),Xae(i),i.headersList.contains("user-agent",!0)||i.headersList.append("user-agent",vce),i.cache==="default"&&(i.headersList.contains("if-modified-since",!0)||i.headersList.contains("if-none-match",!0)||i.headersList.contains("if-unmodified-since",!0)||i.headersList.contains("if-match",!0)||i.headersList.contains("if-range",!0))&&(i.cache="no-store"),i.cache==="no-cache"&&!i.preventNoCacheCacheControlHeaderModification&&!i.headersList.contains("cache-control",!0)&&i.headersList.append("cache-control","max-age=0",!0),(i.cache==="no-store"||i.cache==="reload")&&(i.headersList.contains("pragma",!0)||i.headersList.append("pragma","no-cache",!0),i.headersList.contains("cache-control",!0)||i.headersList.append("cache-control","no-cache",!0)),i.headersList.contains("range",!0)&&i.headersList.append("accept-encoding","identity",!0),i.headersList.contains("accept-encoding",!0)||(cce(Vn(i))?i.headersList.append("accept-encoding","br, gzip, deflate",!0):i.headersList.append("accept-encoding","gzip, deflate",!0)),i.headersList.delete("host",!0),c==null&&(i.cache="no-store"),i.cache!=="no-store"&&i.cache,a==null){if(i.cache==="only-if-cached")return ve("only if cached");let p=await Lce(n,u,r);!hce.has(i.method)&&p.status>=200&&p.status<=399,l&&p.status,a==null&&(a=p)}if(a.urlList=[...i.urlList],i.headersList.contains("range",!0)&&(a.rangeRequested=!0),a.requestIncludesCredentials=u,a.status===407)return s.window==="no-window"?ve():qa(t)?vf(t):ve("proxy authentication required");if(a.status===421&&!r&&(s.body==null||s.body.source!=null)){if(qa(t))return vf(t);t.controller.connection.destroy(),a=await N1(t,e,!0)}return a}o(N1,"httpNetworkOrCacheFetch");async function Lce(t,e=!1,r=!1){Ga(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(h,g=!0){this.destroyed||(this.destroyed=!0,g&&this.abort?.(h??new DOMException("The operation was aborted.","AbortError")))}};let s=t.request,n=null,i=t.timingInfo;null==null&&(s.cache="no-store");let c=r?"yes":"no";s.mode;let l=null;if(s.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(s.body!=null){let h=o(async function*(E){qa(t)||(yield E,t.processRequestBodyChunkLength?.(E.byteLength))},"processBodyChunk"),g=o(()=>{qa(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),C=o(E=>{qa(t)||(E.name==="AbortError"?t.controller.abort():t.controller.terminate(E))},"processBodyError");l=(async function*(){try{for await(let E of s.body.stream)yield*h(E);g()}catch(E){C(E)}})()}try{let{body:h,status:g,statusText:C,headersList:E,socket:y}=await m({body:l});if(y)n=Pf({status:g,statusText:C,headersList:E,socket:y});else{let I=h[Symbol.asyncIterator]();t.controller.next=()=>I.next(),n=Pf({status:g,statusText:C,headersList:E})}}catch(h){return h.name==="AbortError"?(t.controller.connection.destroy(),vf(t,h)):ve(h)}let u=o(async()=>{await t.controller.resume()},"pullAlgorithm"),A=o(h=>{qa(t)||t.controller.abort(h)},"cancelAlgorithm"),d=new ReadableStream({async start(h){t.controller.controller=h},async pull(h){await u(h)},async cancel(h){await A(h)},type:"bytes"});n.body={stream:d,source:null,length:null},t.controller.onAborted=p,t.controller.on("terminated",p),t.controller.resume=async()=>{for(;;){let h,g;try{let{done:E,value:y}=await t.controller.next();if(h1(t))break;h=E?void 0:y}catch(E){t.controller.ended&&!i.encodedBodySize?h=void 0:(h=E,g=!0)}if(h===void 0){oce(t.controller.controller),Dce(t,n);return}if(i.decodedBodySize+=h?.byteLength??0,g){t.controller.terminate(h);return}let C=new Uint8Array(h);if(C.byteLength&&t.controller.controller.enqueue(C),wce(d)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function p(h){h1(t)?(n.aborted=!0,Df(d)&&t.controller.controller.error(t.controller.serializedAbortReason)):Df(d)&&t.controller.controller.error(new TypeError("terminated",{cause:nce(h)?h:void 0})),t.controller.connection.destroy()}return o(p,"onAborted"),n;function m({body:h}){let g=Vn(s),C=t.controller.dispatcher;return new Promise((E,y)=>C.dispatch({path:g.pathname+g.search,origin:g.origin,method:s.method,body:C.isMockActive?s.body&&(s.body.source||s.body.stream):h,headers:s.headersList.entries,maxRedirections:0,upgrade:s.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(I){let{connection:B}=t.controller;i.finalConnectionTimingInfo=lce(void 0,i.postRedirectStartTime,t.crossOriginIsolatedCapability),B.destroyed?I(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",I),this.abort=B.abort=I),i.finalNetworkRequestStartTime=od(t.crossOriginIsolatedCapability)},onResponseStarted(){i.finalNetworkResponseStartTime=od(t.crossOriginIsolatedCapability)},onHeaders(I,B,N,S){if(I<200)return;let q="",ge=new m1;for(let Ae=0;Aese)return y(new Error(`too many content-encodings in response: ${Me.length}, maximum allowed is ${se}`)),!0;for(let Ar=Me.length-1;Ar>=0;--Ar){let V=Me[Ar].trim();if(V==="x-gzip"||V==="gzip")Te.push(Oo.createGunzip({flush:Oo.constants.Z_SYNC_FLUSH,finishFlush:Oo.constants.Z_SYNC_FLUSH}));else if(V==="deflate")Te.push(dce({flush:Oo.constants.Z_SYNC_FLUSH,finishFlush:Oo.constants.Z_SYNC_FLUSH}));else if(V==="br")Te.push(Oo.createBrotliDecompress({flush:Oo.constants.BROTLI_OPERATION_FLUSH,finishFlush:Oo.constants.BROTLI_OPERATION_FLUSH}));else{Te.length=0;break}}}let Pe=this.onError.bind(this);return E({status:I,statusText:S,headersList:ge,body:Te.length?Cce(this.body,...Te,Ae=>{Ae&&this.onError(Ae)}).on("error",Pe):this.body.on("error",Pe)}),!0},onData(I){if(t.controller.dump)return;let B=I;return i.encodedBodySize+=B.byteLength,this.body.push(B)},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(I){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(I),t.controller.terminate(I),y(I)},onUpgrade(I,B,N){if(I!==101)return;let S=new m1;for(let q=0;q{"use strict";R1.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 v1=f((bFe,T1)=>{"use strict";var{webidl:ns}=Wt(),Lf=Symbol("ProgressEvent state"),YQ=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=ns.converters.DOMString(e,"ProgressEvent constructor","type"),r=ns.converters.ProgressEventInit(r??{}),super(e,r),this[Lf]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return ns.brandCheck(this,t),this[Lf].lengthComputable}get loaded(){return ns.brandCheck(this,t),this[Lf].loaded}get total(){return ns.brandCheck(this,t),this[Lf].total}};ns.converters.ProgressEventInit=ns.dictionaryConverter([{key:"lengthComputable",converter:ns.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"loaded",converter:ns.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"total",converter:ns.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"bubbles",converter:ns.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:ns.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:ns.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}]);T1.exports={ProgressEvent:YQ}});var k1=f((xFe,P1)=>{"use strict";function Mce(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(Mce,"getEncoding");P1.exports={getEncoding:Mce}});var q1=f((SFe,U1)=>{"use strict";var{kState:Pl,kError:JQ,kResult:D1,kAborted:cd,kLastProgressEventFired:WQ}=$Q(),{ProgressEvent:Oce}=v1(),{getEncoding:_1}=k1(),{serializeAMimeType:Fce,parseMIMEType:L1}=vr(),{types:Uce}=require("node:util"),{StringDecoder:M1}=require("string_decoder"),{btoa:O1}=require("node:buffer"),qce={enumerable:!0,writable:!1,configurable:!1};function Gce(t,e,r,s){if(t[Pl]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[Pl]="loading",t[D1]=null,t[JQ]=null;let i=e.stream().getReader(),a=[],c=i.read(),l=!0;(async()=>{for(;!t[cd];)try{let{done:u,value:A}=await c;if(l&&!t[cd]&&queueMicrotask(()=>{Fo("loadstart",t)}),l=!1,!u&&Uce.isUint8Array(A))a.push(A),(t[WQ]===void 0||Date.now()-t[WQ]>=50)&&!t[cd]&&(t[WQ]=Date.now(),queueMicrotask(()=>{Fo("progress",t)})),c=i.read();else if(u){queueMicrotask(()=>{t[Pl]="done";try{let d=Hce(a,r,e.type,s);if(t[cd])return;t[D1]=d,Fo("load",t)}catch(d){t[JQ]=d,Fo("error",t)}t[Pl]!=="loading"&&Fo("loadend",t)});break}}catch(u){if(t[cd])return;queueMicrotask(()=>{t[Pl]="done",t[JQ]=u,Fo("error",t),t[Pl]!=="loading"&&Fo("loadend",t)});break}})()}o(Gce,"readOperation");function Fo(t,e){let r=new Oce(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(Fo,"fireAProgressEvent");function Hce(t,e,r,s){switch(e){case"DataURL":{let n="data:",i=L1(r||"application/octet-stream");i!=="failure"&&(n+=Fce(i)),n+=";base64,";let a=new M1("latin1");for(let c of t)n+=O1(a.write(c));return n+=O1(a.end()),n}case"Text":{let n="failure";if(s&&(n=_1(s)),n==="failure"&&r){let i=L1(r);i!=="failure"&&(n=_1(i.parameters.get("charset")))}return n==="failure"&&(n="UTF-8"),zce(t,n)}case"ArrayBuffer":return F1(t).buffer;case"BinaryString":{let n="",i=new M1("latin1");for(let a of t)n+=i.write(a);return n+=i.end(),n}}}o(Hce,"packageData");function zce(t,e){let r=F1(t),s=Vce(r),n=0;s!==null&&(e=s,n=s==="UTF-8"?3:2);let i=r.slice(n);return new TextDecoder(e).decode(i)}o(zce,"decode");function Vce(t){let[e,r,s]=t;return e===239&&r===187&&s===191?"UTF-8":e===254&&r===255?"UTF-16BE":e===255&&r===254?"UTF-16LE":null}o(Vce,"BOMSniffing");function F1(t){let e=t.reduce((s,n)=>s+n.byteLength,0),r=0;return t.reduce((s,n)=>(s.set(n,r),r+=n.byteLength,s),new Uint8Array(e))}o(F1,"combineByteSequences");U1.exports={staticPropertyDescriptors:qce,readOperation:Gce,fireAProgressEvent:Fo}});var V1=f((TFe,z1)=>{"use strict";var{staticPropertyDescriptors:kl,readOperation:Mf,fireAProgressEvent:G1}=q1(),{kState:Ha,kError:H1,kResult:Of,kEvents:be,kAborted:$ce}=$Q(),{webidl:De}=Wt(),{kEnumerableProperty:Dr}=pe(),mn=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[Ha]="empty",this[Of]=null,this[H1]=null,this[be]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){De.brandCheck(this,t),De.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=De.converters.Blob(e,{strict:!1}),Mf(this,e,"ArrayBuffer")}readAsBinaryString(e){De.brandCheck(this,t),De.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=De.converters.Blob(e,{strict:!1}),Mf(this,e,"BinaryString")}readAsText(e,r=void 0){De.brandCheck(this,t),De.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=De.converters.Blob(e,{strict:!1}),r!==void 0&&(r=De.converters.DOMString(r,"FileReader.readAsText","encoding")),Mf(this,e,"Text",r)}readAsDataURL(e){De.brandCheck(this,t),De.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=De.converters.Blob(e,{strict:!1}),Mf(this,e,"DataURL")}abort(){if(this[Ha]==="empty"||this[Ha]==="done"){this[Of]=null;return}this[Ha]==="loading"&&(this[Ha]="done",this[Of]=null),this[$ce]=!0,G1("abort",this),this[Ha]!=="loading"&&G1("loadend",this)}get readyState(){switch(De.brandCheck(this,t),this[Ha]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return De.brandCheck(this,t),this[Of]}get error(){return De.brandCheck(this,t),this[H1]}get onloadend(){return De.brandCheck(this,t),this[be].loadend}set onloadend(e){De.brandCheck(this,t),this[be].loadend&&this.removeEventListener("loadend",this[be].loadend),typeof e=="function"?(this[be].loadend=e,this.addEventListener("loadend",e)):this[be].loadend=null}get onerror(){return De.brandCheck(this,t),this[be].error}set onerror(e){De.brandCheck(this,t),this[be].error&&this.removeEventListener("error",this[be].error),typeof e=="function"?(this[be].error=e,this.addEventListener("error",e)):this[be].error=null}get onloadstart(){return De.brandCheck(this,t),this[be].loadstart}set onloadstart(e){De.brandCheck(this,t),this[be].loadstart&&this.removeEventListener("loadstart",this[be].loadstart),typeof e=="function"?(this[be].loadstart=e,this.addEventListener("loadstart",e)):this[be].loadstart=null}get onprogress(){return De.brandCheck(this,t),this[be].progress}set onprogress(e){De.brandCheck(this,t),this[be].progress&&this.removeEventListener("progress",this[be].progress),typeof e=="function"?(this[be].progress=e,this.addEventListener("progress",e)):this[be].progress=null}get onload(){return De.brandCheck(this,t),this[be].load}set onload(e){De.brandCheck(this,t),this[be].load&&this.removeEventListener("load",this[be].load),typeof e=="function"?(this[be].load=e,this.addEventListener("load",e)):this[be].load=null}get onabort(){return De.brandCheck(this,t),this[be].abort}set onabort(e){De.brandCheck(this,t),this[be].abort&&this.removeEventListener("abort",this[be].abort),typeof e=="function"?(this[be].abort=e,this.addEventListener("abort",e)):this[be].abort=null}};mn.EMPTY=mn.prototype.EMPTY=0;mn.LOADING=mn.prototype.LOADING=1;mn.DONE=mn.prototype.DONE=2;Object.defineProperties(mn.prototype,{EMPTY:kl,LOADING:kl,DONE:kl,readAsArrayBuffer:Dr,readAsBinaryString:Dr,readAsText:Dr,readAsDataURL:Dr,abort:Dr,readyState:Dr,result:Dr,error:Dr,onloadstart:Dr,onprogress:Dr,onload:Dr,onabort:Dr,onerror:Dr,onloadend:Dr,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(mn,{EMPTY:kl,LOADING:kl,DONE:kl});z1.exports={FileReader:mn}});var Ff=f((PFe,$1)=>{"use strict";$1.exports={kConstruct:Ye().kConstruct}});var W1=f((kFe,J1)=>{"use strict";var Yce=require("node:assert"),{URLSerializer:Y1}=vr(),{isValidHeaderName:Jce}=Kr();function Wce(t,e,r=!1){let s=Y1(t,r),n=Y1(e,r);return s===n}o(Wce,"urlEquals");function jce(t){Yce(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),Jce(r)&&e.push(r);return e}o(jce,"getFieldValues");J1.exports={urlEquals:Wce,getFieldValues:jce}});var X1=f((_Fe,K1)=>{"use strict";var{kConstruct:Kce}=Ff(),{urlEquals:Xce,getFieldValues:jQ}=W1(),{kEnumerableProperty:za,isDisturbed:Zce}=pe(),{webidl:Y}=Wt(),{Response:ele,cloneResponse:tle,fromInnerResponse:rle}=id(),{Request:Yi,fromInnerRequest:sle}=vl(),{kState:hn}=xo(),{fetching:nle}=ad(),{urlIsHttpHttpsScheme:Uf,createDeferredPromise:Dl,readAllBytes:ile}=Kr(),KQ=require("node:assert"),qf=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==Kce&&Y.illegalConstructor(),Y.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,r={}){Y.brandCheck(this,t);let s="Cache.match";Y.argumentLengthCheck(arguments,1,s),e=Y.converters.RequestInfo(e,s,"request"),r=Y.converters.CacheQueryOptions(r,s,"options");let n=this.#n(e,r,1);if(n.length!==0)return n[0]}async matchAll(e=void 0,r={}){Y.brandCheck(this,t);let s="Cache.matchAll";return e!==void 0&&(e=Y.converters.RequestInfo(e,s,"request")),r=Y.converters.CacheQueryOptions(r,s,"options"),this.#n(e,r)}async add(e){Y.brandCheck(this,t);let r="Cache.add";Y.argumentLengthCheck(arguments,1,r),e=Y.converters.RequestInfo(e,r,"request");let s=[e];return await this.addAll(s)}async addAll(e){Y.brandCheck(this,t);let r="Cache.addAll";Y.argumentLengthCheck(arguments,1,r);let s=[],n=[];for(let p of e){if(p===void 0)throw Y.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(p=Y.converters.RequestInfo(p),typeof p=="string")continue;let m=p[hn];if(!Uf(m.url)||m.method!=="GET")throw Y.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let i=[];for(let p of e){let m=new Yi(p)[hn];if(!Uf(m.url))throw Y.errors.exception({header:r,message:"Expected http/s scheme."});m.initiator="fetch",m.destination="subresource",n.push(m);let h=Dl();i.push(nle({request:m,processResponse(g){if(g.type==="error"||g.status===206||g.status<200||g.status>299)h.reject(Y.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(g.headersList.contains("vary")){let C=jQ(g.headersList.get("vary"));for(let E of C)if(E==="*"){h.reject(Y.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let y of i)y.abort();return}}},processResponseEndOfBody(g){if(g.aborted){h.reject(new DOMException("aborted","AbortError"));return}h.resolve(g)}})),s.push(h.promise)}let c=await Promise.all(s),l=[],u=0;for(let p of c){let m={type:"put",request:n[u],response:p};l.push(m),u++}let A=Dl(),d=null;try{this.#t(l)}catch(p){d=p}return queueMicrotask(()=>{d===null?A.resolve(void 0):A.reject(d)}),A.promise}async put(e,r){Y.brandCheck(this,t);let s="Cache.put";Y.argumentLengthCheck(arguments,2,s),e=Y.converters.RequestInfo(e,s,"request"),r=Y.converters.Response(r,s,"response");let n=null;if(e instanceof Yi?n=e[hn]:n=new Yi(e)[hn],!Uf(n.url)||n.method!=="GET")throw Y.errors.exception({header:s,message:"Expected an http/s scheme when method is not GET"});let i=r[hn];if(i.status===206)throw Y.errors.exception({header:s,message:"Got 206 status"});if(i.headersList.contains("vary")){let m=jQ(i.headersList.get("vary"));for(let h of m)if(h==="*")throw Y.errors.exception({header:s,message:"Got * vary field value"})}if(i.body&&(Zce(i.body.stream)||i.body.stream.locked))throw Y.errors.exception({header:s,message:"Response body is locked or disturbed"});let a=tle(i),c=Dl();if(i.body!=null){let h=i.body.stream.getReader();ile(h).then(c.resolve,c.reject)}else c.resolve(void 0);let l=[],u={type:"put",request:n,response:a};l.push(u);let A=await c.promise;a.body!=null&&(a.body.source=A);let d=Dl(),p=null;try{this.#t(l)}catch(m){p=m}return queueMicrotask(()=>{p===null?d.resolve():d.reject(p)}),d.promise}async delete(e,r={}){Y.brandCheck(this,t);let s="Cache.delete";Y.argumentLengthCheck(arguments,1,s),e=Y.converters.RequestInfo(e,s,"request"),r=Y.converters.CacheQueryOptions(r,s,"options");let n=null;if(e instanceof Yi){if(n=e[hn],n.method!=="GET"&&!r.ignoreMethod)return!1}else KQ(typeof e=="string"),n=new Yi(e)[hn];let i=[],a={type:"delete",request:n,options:r};i.push(a);let c=Dl(),l=null,u;try{u=this.#t(i)}catch(A){l=A}return queueMicrotask(()=>{l===null?c.resolve(!!u?.length):c.reject(l)}),c.promise}async keys(e=void 0,r={}){Y.brandCheck(this,t);let s="Cache.keys";e!==void 0&&(e=Y.converters.RequestInfo(e,s,"request")),r=Y.converters.CacheQueryOptions(r,s,"options");let n=null;if(e!==void 0)if(e instanceof Yi){if(n=e[hn],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(n=new Yi(e)[hn]);let i=Dl(),a=[];if(e===void 0)for(let c of this.#e)a.push(c[0]);else{let c=this.#r(n,r);for(let l of c)a.push(l[0])}return queueMicrotask(()=>{let c=[];for(let l of a){let u=sle(l,new AbortController().signal,"immutable");c.push(u)}i.resolve(Object.freeze(c))}),i.promise}#t(e){let r=this.#e,s=[...r],n=[],i=[];try{for(let a of e){if(a.type!=="delete"&&a.type!=="put")throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#r(a.request,a.options,n).length)throw new DOMException("???","InvalidStateError");let c;if(a.type==="delete"){if(c=this.#r(a.request,a.options),c.length===0)return[];for(let l of c){let u=r.indexOf(l);KQ(u!==-1),r.splice(u,1)}}else if(a.type==="put"){if(a.response==null)throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let l=a.request;if(!Uf(l.url))throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(l.method!=="GET")throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#r(a.request);for(let u of c){let A=r.indexOf(u);KQ(A!==-1),r.splice(A,1)}r.push([a.request,a.response]),n.push([a.request,a.response])}i.push([a.request,a.response])}return i}catch(a){throw this.#e.length=0,this.#e=s,a}}#r(e,r,s){let n=[],i=s??this.#e;for(let a of i){let[c,l]=a;this.#i(e,c,l,r)&&n.push(a)}return n}#i(e,r,s=null,n){let i=new URL(e.url),a=new URL(r.url);if(n?.ignoreSearch&&(a.search="",i.search=""),!Xce(i,a,!0))return!1;if(s==null||n?.ignoreVary||!s.headersList.contains("vary"))return!0;let c=jQ(s.headersList.get("vary"));for(let l of c){if(l==="*")return!1;let u=r.headersList.get(l),A=e.headersList.get(l);if(u!==A)return!1}return!0}#n(e,r,s=1/0){let n=null;if(e!==void 0)if(e instanceof Yi){if(n=e[hn],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(n=new Yi(e)[hn]);let i=[];if(e===void 0)for(let c of this.#e)i.push(c[1]);else{let c=this.#r(n,r);for(let l of c)i.push(l[1])}let a=[];for(let c of i){let l=rle(c,"immutable");if(a.push(l.clone()),a.length>=s)break}return Object.freeze(a)}};Object.defineProperties(qf.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:za,matchAll:za,add:za,addAll:za,put:za,delete:za,keys:za});var j1=[{key:"ignoreSearch",converter:Y.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreMethod",converter:Y.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreVary",converter:Y.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];Y.converters.CacheQueryOptions=Y.dictionaryConverter(j1);Y.converters.MultiCacheQueryOptions=Y.dictionaryConverter([...j1,{key:"cacheName",converter:Y.converters.DOMString}]);Y.converters.Response=Y.interfaceConverter(ele);Y.converters["sequence"]=Y.sequenceConverter(Y.converters.RequestInfo);K1.exports={Cache:qf}});var eq=f((MFe,Z1)=>{"use strict";var{kConstruct:ld}=Ff(),{Cache:Gf}=X1(),{webidl:rr}=Wt(),{kEnumerableProperty:ud}=pe(),Hf=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==ld&&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 s=this.#e.get(r.cacheName);return await new Gf(ld,s).match(e,r)}}else for(let s of this.#e.values()){let i=await new Gf(ld,s).match(e,r);if(i!==void 0)return i}}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 n=this.#e.get(e);return new Gf(ld,n)}let s=[];return this.#e.set(e,s),new Gf(ld,s)}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(Hf.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:ud,has:ud,open:ud,delete:ud,keys:ud});Z1.exports={CacheStorage:Hf}});var rq=f((FFe,tq)=>{"use strict";tq.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var ex=f((UFe,oq)=>{"use strict";function ole(t){for(let e=0;e=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}o(ole,"isCTLExcludingHtab");function XQ(t){for(let e=0;e126||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(XQ,"validateCookieName");function ZQ(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(;r126||s===34||s===44||s===59||s===92)throw new Error("Invalid cookie value")}}o(ZQ,"validateCookieValue");function nq(t){for(let e=0;e126||r===59)throw new Error("Invalid cookie path")}}o(nq,"validateCookiePath");function sq(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}o(sq,"isLetterOrDigit");function ale(t){if(t===" ")return;if(t.length>255)throw new Error("Invalid cookie domain");let e=0;for(let r=0;r63)throw new Error("Invalid cookie domain")}if(e===0||t.charCodeAt(t.length-1)===45)throw new Error("Invalid cookie domain")}o(ale,"validateCookieDomain");var cle=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],lle=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],zf=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function iq(t){return typeof t=="number"&&(t=new Date(t)),`${cle[t.getUTCDay()]}, ${zf[t.getUTCDate()]} ${lle[t.getUTCMonth()]} ${t.getUTCFullYear()} ${zf[t.getUTCHours()]}:${zf[t.getUTCMinutes()]}:${zf[t.getUTCSeconds()]} GMT`}o(iq,"toIMFDate");function ule(t){if(t<0)throw new Error("Invalid cookie max-age")}o(ule,"validateCookieMaxAge");function Ale(t){if(t.name.length===0)return null;XQ(t.name),ZQ(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"&&(ule(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(ale(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(nq(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${iq(t.expires)}`),t.sameSite&&e.push(`SameSite=${t.sameSite}`);for(let r of t.unparsed){if(!r.includes("="))throw new Error("Invalid unparsed");let[s,...n]=r.split("="),i=s.trim(),a=n.join("=");XQ(i),ZQ(a),e.push(`${i}=${a}`)}return e.join("; ")}o(Ale,"stringify");oq.exports={isCTLExcludingHtab:ole,validateCookieName:XQ,validateCookiePath:nq,validateCookieValue:ZQ,toIMFDate:iq,stringify:Ale}});var cq=f((GFe,aq)=>{"use strict";var{maxNameValuePairSize:dle,maxAttributeValueSize:ple}=rq(),{isCTLExcludingHtab:mle}=ex(),{collectASequenceOfCodePointsFast:Vf}=vr(),hle=require("node:assert");function fle(t){if(mle(t))return null;let e="",r="",s="",n="";if(t.includes(";")){let i={position:0};e=Vf(";",t,i),r=t.slice(i.position)}else e=t;if(!e.includes("="))n=e;else{let i={position:0};s=Vf("=",e,i),n=e.slice(i.position+1)}return s=s.trim(),n=n.trim(),s.length+n.length>dle?null:{name:s,value:n,..._l(r)}}o(fle,"parseSetCookie");function _l(t,e={}){if(t.length===0)return e;hle(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=Vf(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let s="",n="";if(r.includes("=")){let a={position:0};s=Vf("=",r,a),n=r.slice(a.position+1)}else s=r;if(s=s.trim(),n=n.trim(),n.length>ple)return _l(t,e);let i=s.toLowerCase();if(i==="expires"){let a=new Date(n);e.expires=a}else if(i==="max-age"){let a=n.charCodeAt(0);if((a<48||a>57)&&n[0]!=="-"||!/^\d+$/.test(n))return _l(t,e);let c=Number(n);e.maxAge=c}else if(i==="domain"){let a=n;a[0]==="."&&(a=a.slice(1)),a=a.toLowerCase(),e.domain=a}else if(i==="path"){let a="";n.length===0||n[0]!=="/"?a="/":a=n,e.path=a}else if(i==="secure")e.secure=!0;else if(i==="httponly")e.httpOnly=!0;else if(i==="samesite"){let a=n.toLowerCase();a==="none"?e.sameSite="None":a==="strict"?e.sameSite="Strict":a==="lax"&&(e.sameSite="Lax")}else e.unparsed??=[],e.unparsed.push(`${s}=${n}`);return _l(t,e)}o(_l,"parseUnparsedAttributes");aq.exports={parseSetCookie:fle,parseUnparsedAttributes:_l}});var Aq=f((zFe,uq)=>{"use strict";var{parseSetCookie:gle}=cq(),{stringify:Ele}=ex(),{webidl:ye}=Wt(),{Headers:$f}=Fa();function yle(t){ye.argumentLengthCheck(arguments,1,"getCookies"),ye.brandCheck(t,$f,{strict:!1});let e=t.get("cookie"),r={};if(!e)return r;for(let s of e.split(";")){let[n,...i]=s.split("=");r[n.trim()]=i.join("=")}return r}o(yle,"getCookies");function Cle(t,e,r){ye.brandCheck(t,$f,{strict:!1});let s="deleteCookie";ye.argumentLengthCheck(arguments,2,s),e=ye.converters.DOMString(e,s,"name"),r=ye.converters.DeleteCookieAttributes(r),lq(t,{name:e,value:"",expires:new Date(0),...r})}o(Cle,"deleteCookie");function Ile(t){ye.argumentLengthCheck(arguments,1,"getSetCookies"),ye.brandCheck(t,$f,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>gle(r)):[]}o(Ile,"getSetCookies");function lq(t,e){ye.argumentLengthCheck(arguments,2,"setCookie"),ye.brandCheck(t,$f,{strict:!1}),e=ye.converters.Cookie(e);let r=Ele(e);r&&t.append("Set-Cookie",r)}o(lq,"setCookie");ye.converters.DeleteCookieAttributes=ye.dictionaryConverter([{converter:ye.nullableConverter(ye.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:ye.nullableConverter(ye.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")}]);ye.converters.Cookie=ye.dictionaryConverter([{converter:ye.converters.DOMString,key:"name"},{converter:ye.converters.DOMString,key:"value"},{converter:ye.nullableConverter(t=>typeof t=="number"?ye.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:o(()=>null,"defaultValue")},{converter:ye.nullableConverter(ye.converters["long long"]),key:"maxAge",defaultValue:o(()=>null,"defaultValue")},{converter:ye.nullableConverter(ye.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")},{converter:ye.nullableConverter(ye.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:ye.nullableConverter(ye.converters.boolean),key:"secure",defaultValue:o(()=>null,"defaultValue")},{converter:ye.nullableConverter(ye.converters.boolean),key:"httpOnly",defaultValue:o(()=>null,"defaultValue")},{converter:ye.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:ye.sequenceConverter(ye.converters.DOMString),key:"unparsed",defaultValue:o(()=>new Array(0),"defaultValue")}]);uq.exports={getCookies:yle,deleteCookie:Cle,getSetCookies:Ile,setCookie:lq}});var Ml=f(($Fe,pq)=>{"use strict";var{webidl:$}=Wt(),{kEnumerableProperty:_r}=pe(),{kConstruct:dq}=Ye(),{MessagePort:Ble}=require("node:worker_threads"),Ll=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===dq){super(arguments[1],arguments[2]),$.util.markAsUncloneable(this);return}let s="MessageEvent constructor";$.argumentLengthCheck(arguments,1,s),e=$.converters.DOMString(e,s,"type"),r=$.converters.MessageEventInit(r,s,"eventInitDict"),super(e,r),this.#e=r,$.util.markAsUncloneable(this)}get data(){return $.brandCheck(this,t),this.#e.data}get origin(){return $.brandCheck(this,t),this.#e.origin}get lastEventId(){return $.brandCheck(this,t),this.#e.lastEventId}get source(){return $.brandCheck(this,t),this.#e.source}get ports(){return $.brandCheck(this,t),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(e,r=!1,s=!1,n=null,i="",a="",c=null,l=[]){return $.brandCheck(this,t),$.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new t(e,{bubbles:r,cancelable:s,data:n,origin:i,lastEventId:a,source:c,ports:l})}static createFastMessageEvent(e,r){let s=new t(dq,e,r);return s.#e=r,s.#e.data??=null,s.#e.origin??="",s.#e.lastEventId??="",s.#e.source??=null,s.#e.ports??=[],s}},{createFastMessageEvent:wle}=Ll;delete Ll.createFastMessageEvent;var Yf=class t extends Event{static{o(this,"CloseEvent")}#e;constructor(e,r={}){let s="CloseEvent constructor";$.argumentLengthCheck(arguments,1,s),e=$.converters.DOMString(e,s,"type"),r=$.converters.CloseEventInit(r),super(e,r),this.#e=r,$.util.markAsUncloneable(this)}get wasClean(){return $.brandCheck(this,t),this.#e.wasClean}get code(){return $.brandCheck(this,t),this.#e.code}get reason(){return $.brandCheck(this,t),this.#e.reason}},Jf=class t extends Event{static{o(this,"ErrorEvent")}#e;constructor(e,r){let s="ErrorEvent constructor";$.argumentLengthCheck(arguments,1,s),super(e,r),$.util.markAsUncloneable(this),e=$.converters.DOMString(e,s,"type"),r=$.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return $.brandCheck(this,t),this.#e.message}get filename(){return $.brandCheck(this,t),this.#e.filename}get lineno(){return $.brandCheck(this,t),this.#e.lineno}get colno(){return $.brandCheck(this,t),this.#e.colno}get error(){return $.brandCheck(this,t),this.#e.error}};Object.defineProperties(Ll.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:_r,origin:_r,lastEventId:_r,source:_r,ports:_r,initMessageEvent:_r});Object.defineProperties(Yf.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:_r,code:_r,wasClean:_r});Object.defineProperties(Jf.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:_r,filename:_r,lineno:_r,colno:_r,error:_r});$.converters.MessagePort=$.interfaceConverter(Ble);$.converters["sequence"]=$.sequenceConverter($.converters.MessagePort);var tx=[{key:"bubbles",converter:$.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:$.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:$.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];$.converters.MessageEventInit=$.dictionaryConverter([...tx,{key:"data",converter:$.converters.any,defaultValue:o(()=>null,"defaultValue")},{key:"origin",converter:$.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lastEventId",converter:$.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"source",converter:$.nullableConverter($.converters.MessagePort),defaultValue:o(()=>null,"defaultValue")},{key:"ports",converter:$.converters["sequence"],defaultValue:o(()=>new Array(0),"defaultValue")}]);$.converters.CloseEventInit=$.dictionaryConverter([...tx,{key:"wasClean",converter:$.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"code",converter:$.converters["unsigned short"],defaultValue:o(()=>0,"defaultValue")},{key:"reason",converter:$.converters.USVString,defaultValue:o(()=>"","defaultValue")}]);$.converters.ErrorEventInit=$.dictionaryConverter([...tx,{key:"message",converter:$.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"filename",converter:$.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lineno",converter:$.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"colno",converter:$.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"error",converter:$.converters.any}]);pq.exports={MessageEvent:Ll,CloseEvent:Yf,ErrorEvent:Jf,createFastMessageEvent:wle}});var Va=f((JFe,mq)=>{"use strict";var ble="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",Qle={enumerable:!0,writable:!1,configurable:!1},xle={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},Nle={NOT_SENT:0,PROCESSING:1,SENT:2},Sle={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},Rle=2**16-1,Tle={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},vle=Buffer.allocUnsafe(0),Ple={string:1,typedArray:2,arrayBuffer:3,blob:4};mq.exports={uid:ble,sentCloseFrameState:Nle,staticPropertyDescriptors:Qle,states:xle,opcodes:Sle,maxUnsigned16Bit:Rle,parserStates:Tle,emptyBuffer:vle,sendHints:Ple}});var Ad=f((WFe,hq)=>{"use strict";hq.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 md=f((jFe,bq)=>{"use strict";var{kReadyState:dd,kController:kle,kResponse:Dle,kBinaryType:_le,kWebSocketURL:Lle}=Ad(),{states:pd,opcodes:Uo}=Va(),{ErrorEvent:Mle,createFastMessageEvent:Ole}=Ml(),{isUtf8:Fle}=require("node:buffer"),{collectASequenceOfCodePointsFast:Ule,removeHTTPWhitespace:fq}=vr();function qle(t){return t[dd]===pd.CONNECTING}o(qle,"isConnecting");function Gle(t){return t[dd]===pd.OPEN}o(Gle,"isEstablished");function Hle(t){return t[dd]===pd.CLOSING}o(Hle,"isClosing");function zle(t){return t[dd]===pd.CLOSED}o(zle,"isClosed");function rx(t,e,r=(n,i)=>new Event(n,i),s={}){let n=r(t,s);e.dispatchEvent(n)}o(rx,"fireEvent");function Vle(t,e,r){if(t[dd]!==pd.OPEN)return;let s;if(e===Uo.TEXT)try{s=wq(r)}catch{Eq(t,"Received invalid UTF-8 in text frame.");return}else e===Uo.BINARY&&(t[_le]==="blob"?s=new Blob([r]):s=$le(r));rx("message",t,Ole,{origin:t[Lle].origin,data:s})}o(Vle,"websocketMessageReceived");function $le(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o($le,"toArrayBuffer");function Yle(t){if(t.length===0)return!1;for(let e=0;e126||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(Yle,"isValidSubprotocol");function Jle(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(Jle,"isValidStatusCode");function Eq(t,e){let{[kle]:r,[Dle]:s}=t;r.abort(),s?.socket&&!s.socket.destroyed&&s.socket.destroy(),e&&rx("error",t,(n,i)=>new Mle(n,i),{error:new Error(e),message:e})}o(Eq,"failWebsocketConnection");function yq(t){return t===Uo.CLOSE||t===Uo.PING||t===Uo.PONG}o(yq,"isControlFrame");function Cq(t){return t===Uo.CONTINUATION}o(Cq,"isContinuationFrame");function Iq(t){return t===Uo.TEXT||t===Uo.BINARY}o(Iq,"isTextBinaryFrame");function Wle(t){return Iq(t)||Cq(t)||yq(t)}o(Wle,"isValidOpcode");function jle(t){let e={position:0},r=new Map;for(;e.position57)return!1}let e=Number.parseInt(t,10);return e>=8&&e<=15}o(Kle,"isValidClientWindowBits");var Bq=typeof process.versions.icu=="string",gq=Bq?new TextDecoder("utf-8",{fatal:!0}):void 0,wq=Bq?gq.decode.bind(gq):function(t){if(Fle(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};bq.exports={isConnecting:qle,isEstablished:Gle,isClosing:Hle,isClosed:zle,fireEvent:rx,isValidSubprotocol:Yle,isValidStatusCode:Jle,failWebsocketConnection:Eq,websocketMessageReceived:Vle,utf8Decode:wq,isControlFrame:yq,isContinuationFrame:Cq,isTextBinaryFrame:Iq,isValidOpcode:Wle,parseExtensions:jle,isValidClientWindowBits:Kle}});var jf=f((XFe,Qq)=>{"use strict";var{maxUnsigned16Bit:Xle}=Va(),Wf=16386,sx,hd=null,Ol=Wf;try{sx=require("node:crypto")}catch{sx={randomFillSync:o(function(e,r,s){for(let n=0;nXle?(a+=8,i=127):n>125&&(a+=2,i=126);let c=Buffer.allocUnsafe(n+a);c[0]=c[1]=0,c[0]|=128,c[0]=(c[0]&240)+e;c[a-4]=s[0],c[a-3]=s[1],c[a-2]=s[2],c[a-1]=s[3],c[1]=i,i===126?c.writeUInt16BE(n,2):i===127&&(c[2]=c[3]=0,c.writeUIntBE(n,4,6)),c[1]|=128;for(let l=0;l{"use strict";var{uid:eue,states:fd,sentCloseFrameState:Kf,emptyBuffer:tue,opcodes:rue}=Va(),{kReadyState:gd,kSentClose:Xf,kByteParser:Nq,kReceivedClose:xq,kResponse:Sq}=Ad(),{fireEvent:sue,failWebsocketConnection:qo,isClosing:nue,isClosed:iue,isEstablished:oue,parseExtensions:aue}=md(),{channels:Fl}=jc(),{CloseEvent:cue}=Ml(),{makeRequest:lue}=vl(),{fetching:uue}=ad(),{Headers:Aue,getHeadersList:due}=Fa(),{getDecodeSplit:pue}=Kr(),{WebsocketFrameSend:mue}=jf(),ix;try{ix=require("node:crypto")}catch{}function hue(t,e,r,s,n,i){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=lue({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let d=due(new Aue(i.headers));c.headersList=d}let l=ix.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"),uue({request:c,useParallelQueue:!0,dispatcher:i.dispatcher,processResponse(d){if(d.type==="error"||d.status!==101){qo(s,"Received network error or non-101 status code.");return}if(e.length!==0&&!d.headersList.get("Sec-WebSocket-Protocol")){qo(s,"Server did not respond with sent protocols.");return}if(d.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){qo(s,'Server did not set Upgrade header to "websocket".');return}if(d.headersList.get("Connection")?.toLowerCase()!=="upgrade"){qo(s,'Server did not set Connection header to "upgrade".');return}let p=d.headersList.get("Sec-WebSocket-Accept"),m=ix.createHash("sha1").update(l+eue).digest("base64");if(p!==m){qo(s,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let h=d.headersList.get("Sec-WebSocket-Extensions"),g;if(h!==null&&(g=aue(h),!g.has("permessage-deflate"))){qo(s,"Sec-WebSocket-Extensions header does not match.");return}let C=d.headersList.get("Sec-WebSocket-Protocol");if(C!==null){let E=pue("sec-websocket-protocol",c.headersList);if(E===null||!E.includes(C)){qo(s,"Protocol was not set in the opening handshake.");return}}d.socket.on("data",Rq),d.socket.on("close",Tq),d.socket.on("error",vq),Fl.open.hasSubscribers&&Fl.open.publish({address:d.socket.address(),protocol:C,extensions:h}),n(d,g)}})}o(hue,"establishWebSocketConnection");function fue(t,e,r,s){if(!(nue(t)||iue(t)))if(!oue(t))qo(t,"Connection was closed before it was established."),t[gd]=fd.CLOSING;else if(t[Xf]===Kf.NOT_SENT){t[Xf]=Kf.PROCESSING;let n=new mue;e!==void 0&&r===void 0?(n.frameData=Buffer.allocUnsafe(2),n.frameData.writeUInt16BE(e,0)):e!==void 0&&r!==void 0?(n.frameData=Buffer.allocUnsafe(2+s),n.frameData.writeUInt16BE(e,0),n.frameData.write(r,2,"utf-8")):n.frameData=tue,t[Sq].socket.write(n.createFrame(rue.CLOSE)),t[Xf]=Kf.SENT,t[gd]=fd.CLOSING}else t[gd]=fd.CLOSING}o(fue,"closeWebSocketConnection");function Rq(t){this.ws[Nq].write(t)||this.pause()}o(Rq,"onSocketData");function Tq(){let{ws:t}=this,{[Sq]:e}=t;e.socket.off("data",Rq),e.socket.off("close",Tq),e.socket.off("error",vq);let r=t[Xf]===Kf.SENT&&t[xq],s=1005,n="",i=t[Nq].closingInfo;i&&!i.error?(s=i.code??1005,n=i.reason):t[xq]||(s=1006),t[gd]=fd.CLOSED,sue("close",t,(a,c)=>new cue(a,c),{wasClean:r,code:s,reason:n}),Fl.close.hasSubscribers&&Fl.close.publish({websocket:t,code:s,reason:n})}o(Tq,"onSocketClose");function vq(t){let{ws:e}=this;e[gd]=fd.CLOSING,Fl.socketError.hasSubscribers&&Fl.socketError.publish(t),this.destroy()}o(vq,"onSocketError");Pq.exports={establishWebSocketConnection:hue,closeWebSocketConnection:fue}});var Dq=f((rUe,kq)=>{"use strict";var{createInflateRaw:gue,Z_DEFAULT_WINDOWBITS:Eue}=require("node:zlib"),{isValidClientWindowBits:yue}=md(),{MessageSizeExceededError:Cue}=we(),Iue=Buffer.from([0,0,255,255]),Zf=Symbol("kBuffer"),Ed=Symbol("kLength"),ax=class{static{o(this,"PerMessageDeflate")}#e;#t={};#r=0;constructor(e,r){this.#t.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#t.serverMaxWindowBits=e.get("server_max_window_bits"),this.#r=r.maxPayloadSize}decompress(e,r,s){if(!this.#e){let n=Eue;if(this.#t.serverMaxWindowBits){if(!yue(this.#t.serverMaxWindowBits)){s(new Error("Invalid server_max_window_bits"));return}n=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=gue({windowBits:n})}catch(i){s(i);return}this.#e[Zf]=[],this.#e[Ed]=0,this.#e.on("data",i=>{if(this.#e[Ed]+=i.length,this.#r>0&&this.#e[Ed]>this.#r){s(new Cue),this.#e.removeAllListeners(),this.#e.destroy(),this.#e=null;return}this.#e[Zf].push(i)}),this.#e.on("error",i=>{this.#e=null,s(i)})}this.#e.write(e),r&&this.#e.write(Iue),this.#e.flush(()=>{if(!this.#e)return;let n=Buffer.concat(this.#e[Zf],this.#e[Ed]);this.#e[Zf].length=0,this.#e[Ed]=0,s(null,n)})}};kq.exports={PerMessageDeflate:ax}});var zq=f((nUe,Hq)=>{"use strict";var{Writable:Bue}=require("node:stream"),wue=require("node:assert"),{parserStates:Lr,opcodes:Ul,states:bue,emptyBuffer:_q,sentCloseFrameState:Lq}=Va(),{kReadyState:Que,kSentClose:Mq,kResponse:Oq,kReceivedClose:Fq}=Ad(),{channels:eg}=jc(),{isValidStatusCode:xue,isValidOpcode:Nue,failWebsocketConnection:is,websocketMessageReceived:Uq,utf8Decode:Sue,isControlFrame:cx,isTextBinaryFrame:lx,isContinuationFrame:Rue}=md(),{WebsocketFrameSend:qq}=jf(),{closeWebSocketConnection:Gq}=ox(),{PerMessageDeflate:Tue}=Dq(),{MessageSizeExceededError:ux}=we();function yd(t,e,r){Gq(t,e,r,Buffer.byteLength(r)),is(t,r)}o(yd,"failWebsocketConnectionWithCode");var Ax=class extends Bue{static{o(this,"ByteParser")}#e=[];#t=0;#r=0;#i=!1;#n=Lr.INFO;#s={};#o=[];#a;#l;#c;constructor(e,r,s={}){super(),this.ws=e,this.#a=r??new Map,this.#l=s.maxFragments??0,this.#c=s.maxPayloadSize??0,this.#a.has("permessage-deflate")&&this.#a.set("permessage-deflate",new Tue(r,s))}_write(e,r,s){this.#e.push(e),this.#r+=e.length,this.#i=!0,this.run(s)}#u(){return this.#c>0&&!cx(this.#s.opcode)&&this.#s.payloadLength+this.#t>this.#c?(yd(this.ws,1009,"Payload size exceeds maximum allowed size"),!1):!0}run(e){for(;this.#i;)if(this.#n===Lr.INFO){if(this.#r<2)return e();let r=this.consume(2),s=(r[0]&128)!==0,n=r[0]&15,i=(r[1]&128)===128,a=!s&&n!==Ul.CONTINUATION,c=r[1]&127,l=r[0]&64,u=r[0]&32,A=r[0]&16;if(!Nue(n))return is(this.ws,"Invalid opcode received"),e();if(i)return is(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#a.has("permessage-deflate")){is(this.ws,"Expected RSV1 to be clear.");return}if(u!==0||A!==0){is(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!lx(n)){is(this.ws,"Invalid frame type was fragmented.");return}if(lx(n)&&this.#o.length>0){is(this.ws,"Expected continuation frame");return}if(this.#s.fragmented&&a){is(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&cx(n)){is(this.ws,"Control frame either too large or fragmented");return}if(Rue(n)&&this.#o.length===0&&!this.#s.compressed){is(this.ws,"Unexpected continuation frame");return}if(c<=125){if(this.#s.payloadLength=c,this.#n=Lr.READ_DATA,!this.#u())return}else c===126?this.#n=Lr.PAYLOADLENGTH_16:c===127&&(this.#n=Lr.PAYLOADLENGTH_64);lx(n)&&(this.#s.binaryType=n,this.#s.compressed=l!==0),this.#s.opcode=n,this.#s.masked=i,this.#s.fin=s,this.#s.fragmented=a}else if(this.#n===Lr.PAYLOADLENGTH_16){if(this.#r<2)return e();let r=this.consume(2);if(this.#s.payloadLength=r.readUInt16BE(0),this.#n=Lr.READ_DATA,!this.#u())return}else if(this.#n===Lr.PAYLOADLENGTH_64){if(this.#r<8)return e();let r=this.consume(8),s=r.readUInt32BE(0),n=r.readUInt32BE(4);if(s!==0||n>2**31-1){is(this.ws,"Received payload length > 2^31 bytes.");return}if(this.#s.payloadLength=n,this.#n=Lr.READ_DATA,!this.#u())return}else if(this.#n===Lr.READ_DATA){if(this.#r{if(s){let i=s instanceof ux?1009:1007;yd(this.ws,i,s.message);return}if(this.writeFragments(n)){if(this.#c>0&&this.#t>this.#c){yd(this.ws,1009,new ux().message);return}if(!this.#s.fin){this.#n=Lr.INFO,this.#i=!0,this.run(e);return}Uq(this.ws,this.#s.binaryType,this.consumeFragments()),this.#i=!0,this.#n=Lr.INFO,this.run(e)}}),this.#i=!1;break}else{if(!this.writeFragments(r))return;if(this.#c>0&&this.#t>this.#c){yd(this.ws,1009,new ux().message);return}!this.#s.fragmented&&this.#s.fin&&Uq(this.ws,this.#s.binaryType,this.consumeFragments()),this.#n=Lr.INFO}}}consume(e){if(e>this.#r)throw new Error("Called consume() before buffers satiated.");if(e===0)return _q;if(this.#e[0].length===e)return this.#r-=this.#e[0].length,this.#e.shift();let r=Buffer.allocUnsafe(e),s=0;for(;s!==e;){let n=this.#e[0],{length:i}=n;if(i+s===e){r.set(this.#e.shift(),s);break}else if(i+s>e){r.set(n.subarray(0,e-s),s),this.#e[0]=n.subarray(e-s);break}else r.set(this.#e.shift(),s),s+=n.length}return this.#r-=e,r}writeFragments(e){return this.#l>0&&this.#o.length===this.#l?(yd(this.ws,1008,"Too many message fragments"),!1):(this.#t+=e.length,this.#o.push(e),!0)}consumeFragments(){let e=this.#o;if(e.length===1)return this.#t=0,e.shift();let r=Buffer.concat(e,this.#t);return this.#o=[],this.#t=0,r}parseCloseBody(e){wue(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!xue(r))return{code:1002,reason:"Invalid status code",error:!0};let s=e.subarray(2);s[0]===239&&s[1]===187&&s[2]===191&&(s=s.subarray(3));try{s=Sue(s)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:r,reason:s,error:!1}}parseControlFrame(e){let{opcode:r,payloadLength:s}=this.#s;if(r===Ul.CLOSE){if(s===1)return is(this.ws,"Received close frame with a 1-byte body."),!1;if(this.#s.closeInfo=this.parseCloseBody(e),this.#s.closeInfo.error){let{code:n,reason:i}=this.#s.closeInfo;return Gq(this.ws,n,i,i.length),is(this.ws,i),!1}if(this.ws[Mq]!==Lq.SENT){let n=_q;this.#s.closeInfo.code&&(n=Buffer.allocUnsafe(2),n.writeUInt16BE(this.#s.closeInfo.code,0));let i=new qq(n);this.ws[Oq].socket.write(i.createFrame(Ul.CLOSE),a=>{a||(this.ws[Mq]=Lq.SENT)})}return this.ws[Que]=bue.CLOSING,this.ws[Fq]=!0,!1}else if(r===Ul.PING){if(!this.ws[Fq]){let n=new qq(e);this.ws[Oq].socket.write(n.createFrame(Ul.PONG)),eg.ping.hasSubscribers&&eg.ping.publish({payload:e})}}else r===Ul.PONG&&eg.pong.hasSubscribers&&eg.pong.publish({payload:e});return!0}get closingInfo(){return this.#s.closeInfo}};Hq.exports={ByteParser:Ax}});var Wq=f((oUe,Jq)=>{"use strict";var{WebsocketFrameSend:vue}=jf(),{opcodes:Vq,sendHints:ql}=Va(),Pue=gb(),$q=Buffer[Symbol.species],dx=class{static{o(this,"SendQueue")}#e=new Pue;#t=!1;#r;constructor(e){this.#r=e}add(e,r,s){if(s!==ql.blob){let i=Yq(e,s);if(!this.#t)this.#r.write(i,r);else{let a={promise:null,callback:r,frame:i};this.#e.push(a)}return}let n={promise:e.arrayBuffer().then(i=>{n.promise=null,n.frame=Yq(i,s)}),callback:r,frame:null};this.#e.push(n),this.#t||this.#i()}async#i(){this.#t=!0;let e=this.#e;for(;!e.isEmpty();){let r=e.shift();r.promise!==null&&await r.promise,this.#r.write(r.frame,r.callback),r.callback=r.frame=null}this.#t=!1}};function Yq(t,e){return new vue(kue(t,e)).createFrame(e===ql.string?Vq.TEXT:Vq.BINARY)}o(Yq,"createFrame");function kue(t,e){switch(e){case ql.string:return Buffer.from(t);case ql.arrayBuffer:case ql.blob:return new $q(t);case ql.typedArray:return new $q(t.buffer,t.byteOffset,t.byteLength)}}o(kue,"toBuffer");Jq.exports={SendQueue:dx}});var iG=f((cUe,nG)=>{"use strict";var{webidl:te}=Wt(),{URLSerializer:Due}=vr(),{environmentSettingsObject:jq}=Kr(),{staticPropertyDescriptors:Go,states:Cd,sentCloseFrameState:_ue,sendHints:tg}=Va(),{kWebSocketURL:Kq,kReadyState:px,kController:Xq,kBinaryType:rg,kResponse:Zq,kSentClose:Lue,kByteParser:Mue}=Ad(),{isConnecting:Oue,isEstablished:Fue,isClosing:Uue,isValidSubprotocol:que,fireEvent:eG}=md(),{establishWebSocketConnection:Gue,closeWebSocketConnection:tG}=ox(),{ByteParser:Hue}=zq(),{kEnumerableProperty:Ts,isBlobLike:rG}=pe(),{getGlobalDispatcher:zue}=gf(),{types:sG}=require("node:util"),{ErrorEvent:Vue,CloseEvent:$ue}=Ml(),{SendQueue:Yue}=Wq(),os=class t extends EventTarget{static{o(this,"WebSocket")}#e={open:null,error:null,close:null,message:null};#t=0;#r="";#i="";#n;constructor(e,r=[]){super(),te.util.markAsUncloneable(this);let s="WebSocket constructor";te.argumentLengthCheck(arguments,1,s);let n=te.converters["DOMString or sequence or WebSocketInit"](r,s,"options");e=te.converters.USVString(e,s,"url"),r=n.protocols;let i=jq.settingsObject.baseUrl,a;try{a=new URL(e,i)}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=>que(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[Kq]=new URL(a.href);let c=jq.settingsObject;this[Xq]=Gue(a,r,c,this,(l,u)=>this.#s(l,u),n),this[px]=t.CONNECTING,this[Lue]=_ue.NOT_SENT,this[rg]="blob"}close(e=void 0,r=void 0){te.brandCheck(this,t);let s="WebSocket.close";if(e!==void 0&&(e=te.converters["unsigned short"](e,s,"code",{clamp:!0})),r!==void 0&&(r=te.converters.USVString(r,s,"reason")),e!==void 0&&e!==1e3&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");let n=0;if(r!==void 0&&(n=Buffer.byteLength(r),n>123))throw new DOMException(`Reason must be less than 123 bytes; received ${n}`,"SyntaxError");tG(this,e,r,n)}send(e){te.brandCheck(this,t);let r="WebSocket.send";if(te.argumentLengthCheck(arguments,1,r),e=te.converters.WebSocketSendData(e,r,"data"),Oue(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!Fue(this)||Uue(this)))if(typeof e=="string"){let s=Buffer.byteLength(e);this.#t+=s,this.#n.add(e,()=>{this.#t-=s},tg.string)}else sG.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#n.add(e,()=>{this.#t-=e.byteLength},tg.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#n.add(e,()=>{this.#t-=e.byteLength},tg.typedArray)):rG(e)&&(this.#t+=e.size,this.#n.add(e,()=>{this.#t-=e.size},tg.blob))}get readyState(){return te.brandCheck(this,t),this[px]}get bufferedAmount(){return te.brandCheck(this,t),this.#t}get url(){return te.brandCheck(this,t),Due(this[Kq])}get extensions(){return te.brandCheck(this,t),this.#i}get protocol(){return te.brandCheck(this,t),this.#r}get onopen(){return te.brandCheck(this,t),this.#e.open}set onopen(e){te.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 te.brandCheck(this,t),this.#e.error}set onerror(e){te.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 te.brandCheck(this,t),this.#e.close}set onclose(e){te.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 te.brandCheck(this,t),this.#e.message}set onmessage(e){te.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 te.brandCheck(this,t),this[rg]}set binaryType(e){te.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[rg]="blob":this[rg]=e}#s(e,r){this[Zq]=e;let s=this[Xq]?.dispatcher?.webSocketOptions,n=s?.maxFragments,i=s?.maxPayloadSize,a=new Hue(this,r,{maxFragments:n,maxPayloadSize:i});a.on("drain",Jue),a.on("error",Wue.bind(this)),e.socket.ws=this,this[Mue]=a,this.#n=new Yue(e.socket),this[px]=Cd.OPEN;let c=e.headersList.get("sec-websocket-extensions");c!==null&&(this.#i=c);let l=e.headersList.get("sec-websocket-protocol");l!==null&&(this.#r=l),eG("open",this)}};os.CONNECTING=os.prototype.CONNECTING=Cd.CONNECTING;os.OPEN=os.prototype.OPEN=Cd.OPEN;os.CLOSING=os.prototype.CLOSING=Cd.CLOSING;os.CLOSED=os.prototype.CLOSED=Cd.CLOSED;Object.defineProperties(os.prototype,{CONNECTING:Go,OPEN:Go,CLOSING:Go,CLOSED:Go,url:Ts,readyState:Ts,bufferedAmount:Ts,onopen:Ts,onerror:Ts,onclose:Ts,close:Ts,onmessage:Ts,binaryType:Ts,send:Ts,extensions:Ts,protocol:Ts,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(os,{CONNECTING:Go,OPEN:Go,CLOSING:Go,CLOSED:Go});te.converters["sequence"]=te.sequenceConverter(te.converters.DOMString);te.converters["DOMString or sequence"]=function(t,e,r){return te.util.Type(t)==="Object"&&Symbol.iterator in t?te.converters["sequence"](t):te.converters.DOMString(t,e,r)};te.converters.WebSocketInit=te.dictionaryConverter([{key:"protocols",converter:te.converters["DOMString or sequence"],defaultValue:o(()=>new Array(0),"defaultValue")},{key:"dispatcher",converter:te.converters.any,defaultValue:o(()=>zue(),"defaultValue")},{key:"headers",converter:te.nullableConverter(te.converters.HeadersInit)}]);te.converters["DOMString or sequence or WebSocketInit"]=function(t){return te.util.Type(t)==="Object"&&!(Symbol.iterator in t)?te.converters.WebSocketInit(t):{protocols:te.converters["DOMString or sequence"](t)}};te.converters.WebSocketSendData=function(t){if(te.util.Type(t)==="Object"){if(rG(t))return te.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||sG.isArrayBuffer(t))return te.converters.BufferSource(t)}return te.converters.USVString(t)};function Jue(){this.ws[Zq].socket.resume()}o(Jue,"onParserDrain");function Wue(t){let e,r;t instanceof $ue?(e=t.reason,r=t.code):e=t.message,eG("error",this,()=>new Vue("error",{error:t,message:e})),tG(this,r)}o(Wue,"onParserError");nG.exports={WebSocket:os}});var mx=f((uUe,oG)=>{"use strict";function jue(t){return t.indexOf("\0")===-1}o(jue,"isValidLastEventId");function Kue(t){if(t.length===0)return!1;for(let e=0;e57)return!1;return!0}o(Kue,"isASCIINumber");function Xue(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(Xue,"delay");oG.exports={isValidLastEventId:jue,isASCIINumber:Kue,delay:Xue}});var cG=f((dUe,aG)=>{"use strict";var{Transform:Zue}=require("node:stream"),{isASCIINumber:eAe,isValidLastEventId:tAe}=mx(),Gl=[239,187,191],hx=10,sg=13,rAe=58,sAe=32,nAe=Buffer.from("data"),iAe=Buffer.from("event"),oAe=Buffer.from("id"),aAe=Buffer.from("retry");function cAe(t,e){if(e>=t.length)return!1;for(let r=e;r57)return!1;return!0}o(cAe,"isASCIINumberBytes");function lAe(t,e){for(let r=e;r0&&(r.event=a)}}processEvent(e){e.retry&&eAe(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&tAe(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,this.event.event=void 0,this.event.id=void 0,this.event.retry=void 0}hasPendingEvent(){return this.event.data!==void 0||this.event.event!==void 0||this.event.id!==void 0||this.event.retry!==void 0}hasCurrentByte(){return this.chunkIndex=this.chunks[this.chunkIndex].length;)this.chunkIndex++,this.pos=0}syncLineStartToCursor(){this.lineChunkIndex=this.chunkIndex,this.linePos=this.pos,this.dropConsumedChunks()}dropConsumedChunks(){for(;this.lineChunkIndex>0;)this.chunks.shift(),this.lineChunkIndex--,this.chunkIndex--;this.chunkIndex===this.chunks.length&&(this.chunks.length=0,this.chunkIndex=0,this.pos=0,this.lineChunkIndex=0,this.linePos=0)}readLine(){if(this.lineChunkIndex===this.chunkIndex)return this.chunks[this.chunkIndex].subarray(this.linePos,this.pos);let e=[],r=0;for(let s=this.lineChunkIndex;s<=this.chunkIndex;s++){let n=this.chunks[s],i=s===this.lineChunkIndex?this.linePos:0,a=s===this.chunkIndex?this.pos:n.length,c=n.subarray(i,a);r+=c.length,e.push(c)}return Buffer.concat(e,r)}peekBufferedByte(e){let r=this.lineChunkIndex,s=this.linePos;for(;r0&&this.lineChunkIndex{"use strict";var{pipeline:uAe}=require("node:stream"),{fetching:AAe}=ad(),{makeRequest:dAe}=vl(),{webidl:Ji}=Wt(),{EventSourceStream:pAe}=cG(),{parseMIMEType:mAe}=vr(),{createFastMessageEvent:hAe}=Ml(),{isNetworkError:lG}=id(),{delay:fAe}=mx(),{kEnumerableProperty:$a}=pe(),{environmentSettingsObject:uG}=Kr(),AG=!1,dG=3e3,Id=0,pG=1,Bd=2,gAe="anonymous",EAe="use-credentials",Hl=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#r=!1;#i=Id;#n=null;#s=null;#o;#a;constructor(e,r={}){super(),Ji.util.markAsUncloneable(this);let s="EventSource constructor";Ji.argumentLengthCheck(arguments,1,s),AG||(AG=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Ji.converters.USVString(e,s,"url"),r=Ji.converters.EventSourceInitDict(r,s,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:dG};let n=uG,i;try{i=new URL(e,n.settingsObject.baseUrl),this.#a.origin=i.origin}catch(l){throw new DOMException(l,"SyntaxError")}this.#t=i.href;let a=gAe;r.withCredentials&&(a=EAe,this.#r=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=uG.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#n=dAe(c),this.#l()}get readyState(){return this.#i}get url(){return this.#t}get withCredentials(){return this.#r}#l(){if(this.#i===Bd)return;this.#i=Id;let e={request:this.#n,dispatcher:this.#o},r=o(s=>{lG(s)&&(this.dispatchEvent(new Event("error")),this.close()),this.#c()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=s=>{if(lG(s))if(s.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#c();return}let n=s.headersList.get("content-type",!0),i=n!==null?mAe(n):"failure",a=i!=="failure"&&i.essence==="text/event-stream";if(s.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#i=pG,this.dispatchEvent(new Event("open")),this.#a.origin=s.urlList[s.urlList.length-1].origin;let c=new pAe({eventSourceSettings:this.#a,push:o(l=>{this.dispatchEvent(hAe(l.type,l.options))},"push")});uAe(s.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#s=AAe(e)}async#c(){this.#i!==Bd&&(this.#i=Id,this.dispatchEvent(new Event("error")),await fAe(this.#a.reconnectionTime),this.#i===Id&&(this.#a.lastEventId.length&&this.#n.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#l()))}close(){Ji.brandCheck(this,t),this.#i!==Bd&&(this.#i=Bd,this.#s.abort(),this.#n=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}},mG={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:Id,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:pG,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:Bd,writable:!1}};Object.defineProperties(Hl,mG);Object.defineProperties(Hl.prototype,mG);Object.defineProperties(Hl.prototype,{close:$a,onerror:$a,onmessage:$a,onopen:$a,readyState:$a,url:$a,withCredentials:$a});Ji.converters.EventSourceInitDict=Ji.dictionaryConverter([{key:"withCredentials",converter:Ji.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"dispatcher",converter:Ji.converters.any}]);hG.exports={EventSource:Hl,defaultReconnectionTime:dG}});var Vl=f((fUe,ee)=>{"use strict";var yAe=gl(),gG=QA(),CAe=El(),IAe=fF(),BAe=yl(),wAe=Mb(),bAe=UF(),QAe=YF(),EG=we(),og=pe(),{InvalidArgumentError:ig}=EG,zl=kU(),xAe=NA(),NAe=EQ(),SAe=h2(),RAe=IQ(),TAe=iQ(),vAe=af(),{getGlobalDispatcher:yG,setGlobalDispatcher:PAe}=gf(),kAe=Ef(),DAe=Wh(),_Ae=jh();Object.assign(gG.prototype,zl);ee.exports.Dispatcher=gG;ee.exports.Client=yAe;ee.exports.Pool=CAe;ee.exports.BalancedPool=IAe;ee.exports.Agent=BAe;ee.exports.ProxyAgent=wAe;ee.exports.EnvHttpProxyAgent=bAe;ee.exports.RetryAgent=QAe;ee.exports.RetryHandler=vAe;ee.exports.DecoratorHandler=kAe;ee.exports.RedirectHandler=DAe;ee.exports.createRedirectInterceptor=_Ae;ee.exports.interceptors={redirect:B2(),retry:b2(),dump:x2(),dns:R2()};ee.exports.buildConnector=xAe;ee.exports.errors=EG;ee.exports.util={parseHeaders:og.parseHeaders,headerNameToString:og.headerNameToString};function wd(t){return(e,r,s)=>{if(typeof r=="function"&&(s=r,r=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new ig("invalid url");if(r!=null&&typeof r!="object")throw new ig("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new ig("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(og.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=og.parseURL(e);let{agent:n,dispatcher:i=yG()}=r;if(n)throw new ig("unsupported opts.agent. Did you mean opts.client?");return t.call(i,{...r,origin:e.origin,path:e.search?`${e.pathname}${e.search}`:e.pathname,method:r.method||(r.body?"PUT":"GET")},s)}}o(wd,"makeDispatcher");ee.exports.setGlobalDispatcher=PAe;ee.exports.getGlobalDispatcher=yG;var LAe=ad().fetch;ee.exports.fetch=o(async function(e,r=void 0){try{return await LAe(e,r)}catch(s){throw s&&typeof s=="object"&&Error.captureStackTrace(s),s}},"fetch");ee.exports.Headers=Fa().Headers;ee.exports.Response=id().Response;ee.exports.Request=vl().Request;ee.exports.FormData=DA().FormData;ee.exports.File=globalThis.File??require("node:buffer").File;ee.exports.FileReader=V1().FileReader;var{setGlobalOrigin:MAe,getGlobalOrigin:OAe}=Ow();ee.exports.setGlobalOrigin=MAe;ee.exports.getGlobalOrigin=OAe;var{CacheStorage:FAe}=eq(),{kConstruct:UAe}=Ff();ee.exports.caches=new FAe(UAe);var{deleteCookie:qAe,getCookies:GAe,getSetCookies:HAe,setCookie:zAe}=Aq();ee.exports.deleteCookie=qAe;ee.exports.getCookies=GAe;ee.exports.getSetCookies=HAe;ee.exports.setCookie=zAe;var{parseMIMEType:VAe,serializeAMimeType:$Ae}=vr();ee.exports.parseMIMEType=VAe;ee.exports.serializeAMimeType=$Ae;var{CloseEvent:YAe,ErrorEvent:JAe,MessageEvent:WAe}=Ml();ee.exports.WebSocket=iG().WebSocket;ee.exports.CloseEvent=YAe;ee.exports.ErrorEvent=JAe;ee.exports.MessageEvent=WAe;ee.exports.request=wd(zl.request);ee.exports.stream=wd(zl.stream);ee.exports.pipeline=wd(zl.pipeline);ee.exports.connect=wd(zl.connect);ee.exports.upgrade=wd(zl.upgrade);ee.exports.MockClient=NAe;ee.exports.MockPool=RAe;ee.exports.MockAgent=SAe;ee.exports.mockErrors=TAe;var{EventSource:jAe}=fG();ee.exports.EventSource=jAe});var kd=f((G2e,ZG)=>{"use strict";var Ide="2.0.0",Bde=Number.MAX_SAFE_INTEGER||9007199254740991,wde=16,bde=250,Qde=["major","premajor","minor","preminor","patch","prepatch","prerelease"];ZG.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:wde,MAX_SAFE_BUILD_LENGTH:bde,MAX_SAFE_INTEGER:Bde,RELEASE_TYPES:Qde,SEMVER_SPEC_VERSION:Ide,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Dd=f((H2e,eH)=>{"use strict";var xde=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};eH.exports=xde});var Kl=f((Yn,tH)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:qx,MAX_SAFE_BUILD_LENGTH:Nde,MAX_LENGTH:Sde}=kd(),Rde=Dd();Yn=tH.exports={};var Tde=Yn.re=[],vde=Yn.safeRe=[],_=Yn.src=[],Pde=Yn.safeSrc=[],L=Yn.t={},kde=0,Gx="[a-zA-Z0-9-]",Dde=[["\\s",1],["\\d",Sde],[Gx,Nde]],_de=o(t=>{for(let[e,r]of Dde)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),ne=o((t,e,r)=>{let s=_de(e),n=kde++;Rde(t,n,e),L[t]=n,_[n]=e,Pde[n]=s,Tde[n]=new RegExp(e,r?"g":void 0),vde[n]=new RegExp(s,r?"g":void 0)},"createToken");ne("NUMERICIDENTIFIER","0|[1-9]\\d*");ne("NUMERICIDENTIFIERLOOSE","\\d+");ne("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Gx}*`);ne("MAINVERSION",`(${_[L.NUMERICIDENTIFIER]})\\.(${_[L.NUMERICIDENTIFIER]})\\.(${_[L.NUMERICIDENTIFIER]})`);ne("MAINVERSIONLOOSE",`(${_[L.NUMERICIDENTIFIERLOOSE]})\\.(${_[L.NUMERICIDENTIFIERLOOSE]})\\.(${_[L.NUMERICIDENTIFIERLOOSE]})`);ne("PRERELEASEIDENTIFIER",`(?:${_[L.NONNUMERICIDENTIFIER]}|${_[L.NUMERICIDENTIFIER]})`);ne("PRERELEASEIDENTIFIERLOOSE",`(?:${_[L.NONNUMERICIDENTIFIER]}|${_[L.NUMERICIDENTIFIERLOOSE]})`);ne("PRERELEASE",`(?:-(${_[L.PRERELEASEIDENTIFIER]}(?:\\.${_[L.PRERELEASEIDENTIFIER]})*))`);ne("PRERELEASELOOSE",`(?:-?(${_[L.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${_[L.PRERELEASEIDENTIFIERLOOSE]})*))`);ne("BUILDIDENTIFIER",`${Gx}+`);ne("BUILD",`(?:\\+(${_[L.BUILDIDENTIFIER]}(?:\\.${_[L.BUILDIDENTIFIER]})*))`);ne("FULLPLAIN",`v?${_[L.MAINVERSION]}${_[L.PRERELEASE]}?${_[L.BUILD]}?`);ne("FULL",`^${_[L.FULLPLAIN]}$`);ne("LOOSEPLAIN",`[v=\\s]*${_[L.MAINVERSIONLOOSE]}${_[L.PRERELEASELOOSE]}?${_[L.BUILD]}?`);ne("LOOSE",`^${_[L.LOOSEPLAIN]}$`);ne("GTLT","((?:<|>)?=?)");ne("XRANGEIDENTIFIERLOOSE",`${_[L.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ne("XRANGEIDENTIFIER",`${_[L.NUMERICIDENTIFIER]}|x|X|\\*`);ne("XRANGEPLAIN",`[v=\\s]*(${_[L.XRANGEIDENTIFIER]})(?:\\.(${_[L.XRANGEIDENTIFIER]})(?:\\.(${_[L.XRANGEIDENTIFIER]})(?:${_[L.PRERELEASE]})?${_[L.BUILD]}?)?)?`);ne("XRANGEPLAINLOOSE",`[v=\\s]*(${_[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${_[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${_[L.XRANGEIDENTIFIERLOOSE]})(?:${_[L.PRERELEASELOOSE]})?${_[L.BUILD]}?)?)?`);ne("XRANGE",`^${_[L.GTLT]}\\s*${_[L.XRANGEPLAIN]}$`);ne("XRANGELOOSE",`^${_[L.GTLT]}\\s*${_[L.XRANGEPLAINLOOSE]}$`);ne("COERCEPLAIN",`(^|[^\\d])(\\d{1,${qx}})(?:\\.(\\d{1,${qx}}))?(?:\\.(\\d{1,${qx}}))?`);ne("COERCE",`${_[L.COERCEPLAIN]}(?:$|[^\\d])`);ne("COERCEFULL",_[L.COERCEPLAIN]+`(?:${_[L.PRERELEASE]})?(?:${_[L.BUILD]})?(?:$|[^\\d])`);ne("COERCERTL",_[L.COERCE],!0);ne("COERCERTLFULL",_[L.COERCEFULL],!0);ne("LONETILDE","(?:~>?)");ne("TILDETRIM",`(\\s*)${_[L.LONETILDE]}\\s+`,!0);Yn.tildeTrimReplace="$1~";ne("TILDE",`^${_[L.LONETILDE]}${_[L.XRANGEPLAIN]}$`);ne("TILDELOOSE",`^${_[L.LONETILDE]}${_[L.XRANGEPLAINLOOSE]}$`);ne("LONECARET","(?:\\^)");ne("CARETTRIM",`(\\s*)${_[L.LONECARET]}\\s+`,!0);Yn.caretTrimReplace="$1^";ne("CARET",`^${_[L.LONECARET]}${_[L.XRANGEPLAIN]}$`);ne("CARETLOOSE",`^${_[L.LONECARET]}${_[L.XRANGEPLAINLOOSE]}$`);ne("COMPARATORLOOSE",`^${_[L.GTLT]}\\s*(${_[L.LOOSEPLAIN]})$|^$`);ne("COMPARATOR",`^${_[L.GTLT]}\\s*(${_[L.FULLPLAIN]})$|^$`);ne("COMPARATORTRIM",`(\\s*)${_[L.GTLT]}\\s*(${_[L.LOOSEPLAIN]}|${_[L.XRANGEPLAIN]})`,!0);Yn.comparatorTrimReplace="$1$2$3";ne("HYPHENRANGE",`^\\s*(${_[L.XRANGEPLAIN]})\\s+-\\s+(${_[L.XRANGEPLAIN]})\\s*$`);ne("HYPHENRANGELOOSE",`^\\s*(${_[L.XRANGEPLAINLOOSE]})\\s+-\\s+(${_[L.XRANGEPLAINLOOSE]})\\s*$`);ne("STAR","(<|>)?=?\\s*\\*");ne("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ne("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var dg=f((V2e,rH)=>{"use strict";var Lde=Object.freeze({loose:!0}),Mde=Object.freeze({}),Ode=o(t=>t?typeof t!="object"?Lde:t:Mde,"parseOptions");rH.exports=Ode});var Hx=f((Y2e,iH)=>{"use strict";var sH=/^[0-9]+$/,nH=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tnH(e,t),"rcompareIdentifiers");iH.exports={compareIdentifiers:nH,rcompareIdentifiers:Fde}});var sr=f((W2e,aH)=>{"use strict";var pg=Dd(),{MAX_LENGTH:oH,MAX_SAFE_INTEGER:mg}=kd(),{safeRe:hg,t:fg}=Kl(),Ude=dg(),{compareIdentifiers:zx}=Hx(),Vx=class t{static{o(this,"SemVer")}constructor(e,r){if(r=Ude(r),e instanceof t){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>oH)throw new TypeError(`version is longer than ${oH} characters`);pg("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?hg[fg.LOOSE]:hg[fg.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>mg||this.major<0)throw new TypeError("Invalid major version");if(this.minor>mg||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>mg||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let i=+n;if(i>=0&&ie.major?1:this.minore.minor?1:this.patche.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let s=this.prerelease[r],n=e.prerelease[r];if(pg("prerelease compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return zx(s,n)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let s=this.build[r],n=e.build[r];if(pg("build compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return zx(s,n)}while(++r)}inc(e,r,s){if(e.startsWith("pre")){if(!r&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let n=`-${r}`.match(this.options.loose?hg[fg.PRERELEASELOOSE]:hg[fg.PRERELEASE]);if(!n||n[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,s),this.inc("pre",r,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,s),this.inc("pre",r,s);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(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":{let n=Number(s)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(r){let i=[r,n];s===!1&&(i=[r]),zx(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};aH.exports=Vx});var Xa=f((K2e,lH)=>{"use strict";var cH=sr(),qde=o((t,e,r=!1)=>{if(t instanceof cH)return t;try{return new cH(t,e)}catch(s){if(!r)return null;throw s}},"parse");lH.exports=qde});var AH=f((Z2e,uH)=>{"use strict";var Gde=Xa(),Hde=o((t,e)=>{let r=Gde(t,e);return r?r.version:null},"valid");uH.exports=Hde});var pH=f((t1e,dH)=>{"use strict";var zde=Xa(),Vde=o((t,e)=>{let r=zde(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");dH.exports=Vde});var fH=f((s1e,hH)=>{"use strict";var mH=sr(),$de=o((t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new mH(t instanceof mH?t.version:t,r).inc(e,s,n).version}catch{return null}},"inc");hH.exports=$de});var yH=f((i1e,EH)=>{"use strict";var gH=Xa(),Yde=o((t,e)=>{let r=gH(t,null,!0),s=gH(e,null,!0),n=r.compare(s);if(n===0)return null;let i=n>0,a=i?r:s,c=i?s:r,l=!!a.prerelease.length;if(!!c.prerelease.length&&!l){if(!c.patch&&!c.minor)return"major";if(c.compareMain(a)===0)return c.minor&&!c.patch?"minor":"patch"}let A=l?"pre":"";return r.major!==s.major?A+"major":r.minor!==s.minor?A+"minor":r.patch!==s.patch?A+"patch":"prerelease"},"diff");EH.exports=Yde});var IH=f((a1e,CH)=>{"use strict";var Jde=sr(),Wde=o((t,e)=>new Jde(t,e).major,"major");CH.exports=Wde});var wH=f((l1e,BH)=>{"use strict";var jde=sr(),Kde=o((t,e)=>new jde(t,e).minor,"minor");BH.exports=Kde});var QH=f((A1e,bH)=>{"use strict";var Xde=sr(),Zde=o((t,e)=>new Xde(t,e).patch,"patch");bH.exports=Zde});var NH=f((p1e,xH)=>{"use strict";var epe=Xa(),tpe=o((t,e)=>{let r=epe(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");xH.exports=tpe});var ks=f((h1e,RH)=>{"use strict";var SH=sr(),rpe=o((t,e,r)=>new SH(t,r).compare(new SH(e,r)),"compare");RH.exports=rpe});var vH=f((g1e,TH)=>{"use strict";var spe=ks(),npe=o((t,e,r)=>spe(e,t,r),"rcompare");TH.exports=npe});var kH=f((y1e,PH)=>{"use strict";var ipe=ks(),ope=o((t,e)=>ipe(t,e,!0),"compareLoose");PH.exports=ope});var gg=f((I1e,_H)=>{"use strict";var DH=sr(),ape=o((t,e,r)=>{let s=new DH(t,r),n=new DH(e,r);return s.compare(n)||s.compareBuild(n)},"compareBuild");_H.exports=ape});var MH=f((w1e,LH)=>{"use strict";var cpe=gg(),lpe=o((t,e)=>t.sort((r,s)=>cpe(r,s,e)),"sort");LH.exports=lpe});var FH=f((Q1e,OH)=>{"use strict";var upe=gg(),Ape=o((t,e)=>t.sort((r,s)=>upe(s,r,e)),"rsort");OH.exports=Ape});var _d=f((N1e,UH)=>{"use strict";var dpe=ks(),ppe=o((t,e,r)=>dpe(t,e,r)>0,"gt");UH.exports=ppe});var Eg=f((R1e,qH)=>{"use strict";var mpe=ks(),hpe=o((t,e,r)=>mpe(t,e,r)<0,"lt");qH.exports=hpe});var $x=f((v1e,GH)=>{"use strict";var fpe=ks(),gpe=o((t,e,r)=>fpe(t,e,r)===0,"eq");GH.exports=gpe});var Yx=f((k1e,HH)=>{"use strict";var Epe=ks(),ype=o((t,e,r)=>Epe(t,e,r)!==0,"neq");HH.exports=ype});var yg=f((_1e,zH)=>{"use strict";var Cpe=ks(),Ipe=o((t,e,r)=>Cpe(t,e,r)>=0,"gte");zH.exports=Ipe});var Cg=f((M1e,VH)=>{"use strict";var Bpe=ks(),wpe=o((t,e,r)=>Bpe(t,e,r)<=0,"lte");VH.exports=wpe});var Jx=f((F1e,$H)=>{"use strict";var bpe=$x(),Qpe=Yx(),xpe=_d(),Npe=yg(),Spe=Eg(),Rpe=Cg(),Tpe=o((t,e,r,s)=>{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 bpe(t,r,s);case"!=":return Qpe(t,r,s);case">":return xpe(t,r,s);case">=":return Npe(t,r,s);case"<":return Spe(t,r,s);case"<=":return Rpe(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");$H.exports=Tpe});var JH=f((q1e,YH)=>{"use strict";var vpe=sr(),Ppe=Xa(),{safeRe:Ig,t:Bg}=Kl(),kpe=o((t,e)=>{if(t instanceof vpe)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let r=null;if(!e.rtl)r=t.match(e.includePrerelease?Ig[Bg.COERCEFULL]:Ig[Bg.COERCE]);else{let l=e.includePrerelease?Ig[Bg.COERCERTLFULL]:Ig[Bg.COERCERTL],u;for(;(u=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||u.index+u[0].length!==r.index+r[0].length)&&(r=u),l.lastIndex=u.index+u[1].length+u[2].length;l.lastIndex=-1}if(r===null)return null;let s=r[2],n=r[3]||"0",i=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return Ppe(`${s}.${n}.${i}${a}${c}`,e)},"coerce");YH.exports=kpe});var jH=f((H1e,WH)=>{"use strict";var Wx=class{static{o(this,"LRUCache")}constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(e,r)}return this}};WH.exports=Wx});var Ds=f((V1e,ez)=>{"use strict";var Dpe=/\s+/g,jx=class t{static{o(this,"Range")}constructor(e,r){if(r=Lpe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof Kx)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().replace(Dpe," "),this.set=this.raw.split("||").map(s=>this.parseRange(s.trim())).filter(s=>s.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let s=this.set[0];if(this.set=this.set.filter(n=>!XH(n[0])),this.set.length===0)this.set=[s];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&Hpe(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e0&&(this.formatted+="||");let r=this.set[e];for(let s=0;s0&&(this.formatted+=" "),this.formatted+=r[s].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let s=((this.options.includePrerelease&&qpe)|(this.options.loose&&Gpe))+":"+e,n=KH.get(s);if(n)return n;let i=this.options.loose,a=i?fr[nr.HYPHENRANGELOOSE]:fr[nr.HYPHENRANGE];e=e.replace(a,Zpe(this.options.includePrerelease)),He("hyphen replace",e),e=e.replace(fr[nr.COMPARATORTRIM],Ope),He("comparator trim",e),e=e.replace(fr[nr.TILDETRIM],Fpe),He("tilde trim",e),e=e.replace(fr[nr.CARETTRIM],Upe),He("caret trim",e);let c=e.split(" ").map(d=>zpe(d,this.options)).join(" ").split(/\s+/).map(d=>Xpe(d,this.options));i&&(c=c.filter(d=>(He("loose invalid filter",d,this.options),!!d.match(fr[nr.COMPARATORLOOSE])))),He("range list",c);let l=new Map,u=c.map(d=>new Kx(d,this.options));for(let d of u){if(XH(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let A=[...l.values()];return KH.set(s,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>ZH(s,r)&&e.set.some(n=>ZH(n,r)&&s.every(i=>n.every(a=>i.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new Mpe(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),Hpe=o(t=>t.value==="","isAny"),ZH=o((t,e)=>{let r=!0,s=t.slice(),n=s.pop();for(;r&&s.length;)r=s.every(i=>n.intersects(i,e)),n=s.pop();return r},"isSatisfiable"),zpe=o((t,e)=>(t=t.replace(fr[nr.BUILD],""),He("comp",t,e),t=Ype(t,e),He("caret",t),t=Vpe(t,e),He("tildes",t),t=Wpe(t,e),He("xrange",t),t=Kpe(t,e),He("stars",t),t),"parseComparator"),gr=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),Vpe=o((t,e)=>t.trim().split(/\s+/).map(r=>$pe(r,e)).join(" "),"replaceTildes"),$pe=o((t,e)=>{let r=e.loose?fr[nr.TILDELOOSE]:fr[nr.TILDE];return t.replace(r,(s,n,i,a,c)=>{He("tilde",t,s,n,i,a,c);let l;return gr(n)?l="":gr(i)?l=`>=${n}.0.0 <${+n+1}.0.0-0`:gr(a)?l=`>=${n}.${i}.0 <${n}.${+i+1}.0-0`:c?(He("replaceTilde pr",c),l=`>=${n}.${i}.${a}-${c} <${n}.${+i+1}.0-0`):l=`>=${n}.${i}.${a} <${n}.${+i+1}.0-0`,He("tilde return",l),l})},"replaceTilde"),Ype=o((t,e)=>t.trim().split(/\s+/).map(r=>Jpe(r,e)).join(" "),"replaceCarets"),Jpe=o((t,e)=>{He("caret",t,e);let r=e.loose?fr[nr.CARETLOOSE]:fr[nr.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{He("caret",t,n,i,a,c,l);let u;return gr(i)?u="":gr(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:gr(c)?i==="0"?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.0${s} <${+i+1}.0.0-0`:l?(He("replaceCaret pr",l),i==="0"?a==="0"?u=`>=${i}.${a}.${c}-${l} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c}-${l} <${+i+1}.0.0-0`):(He("no pr"),i==="0"?a==="0"?u=`>=${i}.${a}.${c}${s} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c}${s} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c} <${+i+1}.0.0-0`),He("caret return",u),u})},"replaceCaret"),Wpe=o((t,e)=>(He("replaceXRanges",t,e),t.split(/\s+/).map(r=>jpe(r,e)).join(" ")),"replaceXRanges"),jpe=o((t,e)=>{t=t.trim();let r=e.loose?fr[nr.XRANGELOOSE]:fr[nr.XRANGE];return t.replace(r,(s,n,i,a,c,l)=>{He("xRange",t,s,n,i,a,c,l);let u=gr(i),A=u||gr(a),d=A||gr(c),p=d;return n==="="&&p&&(n=""),l=e.includePrerelease?"-0":"",u?n===">"||n==="<"?s="<0.0.0-0":s="*":n&&p?(A&&(a=0),c=0,n===">"?(n=">=",A?(i=+i+1,a=0,c=0):(a=+a+1,c=0)):n==="<="&&(n="<",A?i=+i+1:a=+a+1),n==="<"&&(l="-0"),s=`${n+i}.${a}.${c}${l}`):A?s=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(s=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),He("xRange return",s),s})},"replaceXRange"),Kpe=o((t,e)=>(He("replaceStars",t,e),t.trim().replace(fr[nr.STAR],"")),"replaceStars"),Xpe=o((t,e)=>(He("replaceGTE0",t,e),t.trim().replace(fr[e.includePrerelease?nr.GTE0PRE:nr.GTE0],"")),"replaceGTE0"),Zpe=o(t=>(e,r,s,n,i,a,c,l,u,A,d,p)=>(gr(s)?r="":gr(n)?r=`>=${s}.0.0${t?"-0":""}`:gr(i)?r=`>=${s}.${n}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,gr(u)?l="":gr(A)?l=`<${+u+1}.0.0-0`:gr(d)?l=`<${u}.${+A+1}.0-0`:p?l=`<=${u}.${A}.${d}-${p}`:t?l=`<${u}.${A}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),eme=o((t,e,r)=>{for(let s=0;s0){let n=t[s].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0},"testSet")});var Ld=f((Y1e,oz)=>{"use strict";var Md=Symbol("SemVer ANY"),e0=class t{static{o(this,"Comparator")}static get ANY(){return Md}constructor(e,r){if(r=tz(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Zx("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Md?this.value="":this.value=this.operator+this.semver.version,Zx("comp",this)}parse(e){let r=this.options.loose?rz[sz.COMPARATORLOOSE]:rz[sz.COMPARATOR],s=e.match(r);if(!s)throw new TypeError(`Invalid comparator: ${e}`);this.operator=s[1]!==void 0?s[1]:"",this.operator==="="&&(this.operator=""),s[2]?this.semver=new nz(s[2],this.options.loose):this.semver=Md}toString(){return this.value}test(e){if(Zx("Comparator.test",e,this.options.loose),this.semver===Md||e===Md)return!0;if(typeof e=="string")try{e=new nz(e,this.options)}catch{return!1}return Xx(e,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new iz(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new iz(this.value,r).test(e.semver):(r=tz(r),r.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||Xx(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Xx(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};oz.exports=e0;var tz=dg(),{safeRe:rz,t:sz}=Kl(),Xx=Jx(),Zx=Dd(),nz=sr(),iz=Ds()});var Od=f((W1e,az)=>{"use strict";var tme=Ds(),rme=o((t,e,r)=>{try{e=new tme(e,r)}catch{return!1}return e.test(t)},"satisfies");az.exports=rme});var lz=f((K1e,cz)=>{"use strict";var sme=Ds(),nme=o((t,e)=>new sme(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),"toComparators");cz.exports=nme});var Az=f((Z1e,uz)=>{"use strict";var ime=sr(),ome=Ds(),ame=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new ome(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new ime(s,r))}),s},"maxSatisfying");uz.exports=ame});var pz=f((tqe,dz)=>{"use strict";var cme=sr(),lme=Ds(),ume=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new lme(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===1)&&(s=a,n=new cme(s,r))}),s},"minSatisfying");dz.exports=ume});var fz=f((sqe,hz)=>{"use strict";var t0=sr(),Ame=Ds(),mz=_d(),dme=o((t,e)=>{t=new Ame(t,e);let r=new t0("0.0.0");if(t.test(r)||(r=new t0("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let c=new t0(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||mz(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||mz(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");hz.exports=dme});var Ez=f((iqe,gz)=>{"use strict";var pme=Ds(),mme=o((t,e)=>{try{return new pme(t,e).range||"*"}catch{return null}},"validRange");gz.exports=mme});var wg=f((aqe,Bz)=>{"use strict";var hme=sr(),Iz=Ld(),{ANY:fme}=Iz,gme=Ds(),Eme=Od(),yz=_d(),Cz=Eg(),yme=Cg(),Cme=yg(),Ime=o((t,e,r,s)=>{t=new hme(t,s),e=new gme(e,s);let n,i,a,c,l;switch(r){case">":n=yz,i=yme,a=Cz,c=">",l=">=";break;case"<":n=Cz,i=Cme,a=yz,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Eme(t,e,s))return!1;for(let u=0;u{m.semver===fme&&(m=new Iz(">=0.0.0")),d=d||m,p=p||m,n(m.semver,d.semver,s)?d=m:a(m.semver,p.semver,s)&&(p=m)}),d.operator===c||d.operator===l||(!p.operator||p.operator===c)&&i(t,p.semver))return!1;if(p.operator===l&&a(t,p.semver))return!1}return!0},"outside");Bz.exports=Ime});var bz=f((lqe,wz)=>{"use strict";var Bme=wg(),wme=o((t,e,r)=>Bme(t,e,">",r),"gtr");wz.exports=wme});var xz=f((Aqe,Qz)=>{"use strict";var bme=wg(),Qme=o((t,e,r)=>bme(t,e,"<",r),"ltr");Qz.exports=Qme});var Rz=f((pqe,Sz)=>{"use strict";var Nz=Ds(),xme=o((t,e,r)=>(t=new Nz(t,r),e=new Nz(e,r),t.intersects(e,r)),"intersects");Sz.exports=xme});var vz=f((hqe,Tz)=>{"use strict";var Nme=Od(),Sme=ks();Tz.exports=(t,e,r)=>{let s=[],n=null,i=null,a=t.sort((A,d)=>Sme(A,d,r));for(let A of a)Nme(A,e,r)?(i=A,n||(n=A)):(i&&s.push([n,i]),i=null,n=null);n&&s.push([n,null]);let c=[];for(let[A,d]of s)A===d?c.push(A):!d&&A===a[0]?c.push("*"):d?A===a[0]?c.push(`<=${d}`):c.push(`${A} - ${d}`):c.push(`>=${A}`);let l=c.join(" || "),u=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var Pz=Ds(),s0=Ld(),{ANY:r0}=s0,Fd=Od(),n0=ks(),Rme=o((t,e,r={})=>{if(t===e)return!0;t=new Pz(t,r),e=new Pz(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let a=vme(n,i,r);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},"subset"),Tme=[new s0(">=0.0.0-0")],kz=[new s0(">=0.0.0")],vme=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===r0){if(e.length===1&&e[0].semver===r0)return!0;r.includePrerelease?t=Tme:t=kz}if(e.length===1&&e[0].semver===r0){if(r.includePrerelease)return!0;e=kz}let s=new Set,n,i;for(let m of t)m.operator===">"||m.operator===">="?n=Dz(n,m,r):m.operator==="<"||m.operator==="<="?i=_z(i,m,r):s.add(m.semver);if(s.size>1)return null;let a;if(n&&i){if(a=n0(n.semver,i.semver,r),a>0)return null;if(a===0&&(n.operator!==">="||i.operator!=="<="))return null}for(let m of s){if(n&&!Fd(m,String(n),r)||i&&!Fd(m,String(i),r))return null;for(let h of e)if(!Fd(m,String(h),r))return!1;return!0}let c,l,u,A,d=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,p=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;d&&d.prerelease.length===1&&i.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let m of e){if(A=A||m.operator===">"||m.operator===">=",u=u||m.operator==="<"||m.operator==="<=",n){if(p&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===p.major&&m.semver.minor===p.minor&&m.semver.patch===p.patch&&(p=!1),m.operator===">"||m.operator===">="){if(c=Dz(n,m,r),c===m&&c!==n)return!1}else if(n.operator===">="&&!Fd(n.semver,String(m),r))return!1}if(i){if(d&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===d.major&&m.semver.minor===d.minor&&m.semver.patch===d.patch&&(d=!1),m.operator==="<"||m.operator==="<="){if(l=_z(i,m,r),l===m&&l!==i)return!1}else if(i.operator==="<="&&!Fd(i.semver,String(m),r))return!1}if(!m.operator&&(i||n)&&a!==0)return!1}return!(n&&u&&!i&&a!==0||i&&A&&!n&&a!==0||p||d)},"simpleSubset"),Dz=o((t,e,r)=>{if(!t)return e;let s=n0(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),_z=o((t,e,r)=>{if(!t)return e;let s=n0(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");Lz.exports=Rme});var o0=f((Eqe,Uz)=>{"use strict";var i0=Kl(),Oz=kd(),Pme=sr(),Fz=Hx(),kme=Xa(),Dme=AH(),_me=pH(),Lme=fH(),Mme=yH(),Ome=IH(),Fme=wH(),Ume=QH(),qme=NH(),Gme=ks(),Hme=vH(),zme=kH(),Vme=gg(),$me=MH(),Yme=FH(),Jme=_d(),Wme=Eg(),jme=$x(),Kme=Yx(),Xme=yg(),Zme=Cg(),ehe=Jx(),the=JH(),rhe=Ld(),she=Ds(),nhe=Od(),ihe=lz(),ohe=Az(),ahe=pz(),che=fz(),lhe=Ez(),uhe=wg(),Ahe=bz(),dhe=xz(),phe=Rz(),mhe=vz(),hhe=Mz();Uz.exports={parse:kme,valid:Dme,clean:_me,inc:Lme,diff:Mme,major:Ome,minor:Fme,patch:Ume,prerelease:qme,compare:Gme,rcompare:Hme,compareLoose:zme,compareBuild:Vme,sort:$me,rsort:Yme,gt:Jme,lt:Wme,eq:jme,neq:Kme,gte:Xme,lte:Zme,cmp:ehe,coerce:the,Comparator:rhe,Range:she,satisfies:nhe,toComparators:ihe,maxSatisfying:ohe,minSatisfying:ahe,minVersion:che,validRange:lhe,outside:uhe,gtr:Ahe,ltr:dhe,intersects:phe,simplifyRange:mhe,subset:hhe,SemVer:Pme,re:i0.re,src:i0.src,tokens:i0.t,SEMVER_SPEC_VERSION:Oz.SEMVER_SPEC_VERSION,RELEASE_TYPES:Oz.RELEASE_TYPES,compareIdentifiers:Fz.compareIdentifiers,rcompareIdentifiers:Fz.rcompareIdentifiers}});var iV=f((yGe,nV)=>{nV.exports=function(t,e){for(var r=[],s=0;s{"use strict";lV.exports=aV;function aV(t,e,r){t instanceof RegExp&&(t=oV(t,r)),e instanceof RegExp&&(e=oV(e,r));var s=cV(t,e,r);return s&&{start:s[0],end:s[1],pre:r.slice(0,s[0]),body:r.slice(s[0]+t.length,s[1]),post:r.slice(s[1]+e.length)}}o(aV,"balanced");function oV(t,e){var r=e.match(t);return r?r[0]:null}o(oV,"maybeMatch");aV.range=cV;function cV(t,e,r){var s,n,i,a,c,l=r.indexOf(t),u=r.indexOf(e,l+1),A=l;if(l>=0&&u>0){if(t===e)return[l,u];for(s=[],i=r.length;A>=0&&!c;)A==l?(s.push(A),l=r.indexOf(t,A+1)):s.length==1?c=[s.pop(),u]:(n=s.pop(),n=0?l:u;s.length&&(c=[i,a])}return c}o(cV,"range")});var EV=f((wGe,gV)=>{var BGe=iV(),AV=uV();gV.exports=Fhe;var dV="\0SLASH"+Math.random()+"\0",pV="\0OPEN"+Math.random()+"\0",C0="\0CLOSE"+Math.random()+"\0",mV="\0COMMA"+Math.random()+"\0",hV="\0PERIOD"+Math.random()+"\0",_he=1e5,Lhe=4e6;function E0(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(E0,"numeric");function Mhe(t){return t.split("\\\\").join(dV).split("\\{").join(pV).split("\\}").join(C0).split("\\,").join(mV).split("\\.").join(hV)}o(Mhe,"escapeBraces");function Ohe(t){return t.split(dV).join("\\").split(pV).join("{").split(C0).join("}").split(mV).join(",").split(hV).join(".")}o(Ohe,"unescapeBraces");function fV(t){if(!t)return[""];var e=[],r=AV("{","}",t);if(!r)return t.split(",");var s=r.pre,n=r.body,i=r.post,a=s.split(",");a[a.length-1]+="{"+n+"}";var c=fV(i);return i.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(fV,"parseCommaParts");function Fhe(t,e){if(!t)return[];e=e||{};var r=e.max==null?_he:e.max,s=e.maxLength==null?Lhe:e.maxLength;return t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),y0(Mhe(t),r,s,!0).map(Ohe)}o(Fhe,"expandTop");function Uhe(t){return"{"+t+"}"}o(Uhe,"embrace");function qhe(t){return/^-?0\d/.test(t)}o(qhe,"isPadded");function Ghe(t,e){return t<=e}o(Ghe,"lte");function Hhe(t,e){return t>=e}o(Hhe,"gte");function Vd(t,e,r,s,n,i,a,c){for(var l=[],u=0,A=0;A=n)return l;var p=t[A]+r+s[d];if(!(a&&p.length===e[A])){if(u+p.length>i)return l;l.push(p),c.push(e[A]),u+=p.length}}return l}o(Vd,"combine");function zhe(t,e,r,s){var n=t.split(/\.\./),i=[];if(n[0]===void 0||n[1]===void 0)return i;var a=E0(n[0]),c=E0(n[1]),l=Math.max(n[0].length,n[1].length),u=n.length===3&&n[2]!==void 0?Math.max(Math.abs(E0(n[2])),1):1,A=Ghe,d=c0){var E=new Array(C+1).join("0");h<0?g="-"+E+g.slice(1):g=E+g}}if(m+g.length>s)break;i.push(g),m+=g.length}return i}o(zhe,"expandSequence");function y0(t,e,r,s){for(var n=[""],i=[0],a=!1,c=!0,l;;){var u=AV("{","}",t);if(!u)return Vd(n,i,t,[""],e,r,a,[]);var A=u.pre;if(/\$$/.test(A))return Vd(n,i,t,[""],e,r,a,[]);var d=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(u.body),p=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(u.body),m=d||p,h=u.body.indexOf(",")>=0;if(!m&&!h){if(u.post.match(/,(?!,).*\}/)){t=u.pre+"{"+u.body+C0+u.post,s=!0,c=!0,a=!1,i=[];for(var g=0;g=e||B+ge.length>r)break e;C.push(ge),B+=ge.length}}}if(l=[],n=Vd(n,i,A,C,e,r,a&&!u.post.length,l),i=l,!u.post.length)break;t=u.post}return n}o(y0,"expand")});var bV=f((QGe,wV)=>{wV.exports=ls;ls.Minimatch=jt;var $d=(function(){try{return require("path")}catch{}})()||{sep:"/"};ls.sep=$d.sep;var w0=ls.GLOBSTAR=jt.GLOBSTAR={},Vhe=EV(),yV={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},I0="[^/]",B0=I0+"*?",$he="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",Yhe="(?:(?!(?:\\/|^)\\.).)*?",CV=Jhe("().*{}+?[]^$\\!");function Jhe(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}o(Jhe,"charSet");var IV=/\/+/;ls.filter=Whe;function Whe(t,e){return e=e||{},function(r,s,n){return ls(r,t,e)}}o(Whe,"filter");function Yo(t,e){e=e||{};var r={};return Object.keys(t).forEach(function(s){r[s]=t[s]}),Object.keys(e).forEach(function(s){r[s]=e[s]}),r}o(Yo,"ext");ls.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return ls;var e=ls,r=o(function(n,i,a){return e(n,i,Yo(t,a))},"minimatch");return r.Minimatch=o(function(n,i){return new e.Minimatch(n,Yo(t,i))},"Minimatch"),r.Minimatch.defaults=o(function(n){return e.defaults(Yo(t,n)).Minimatch},"defaults"),r.filter=o(function(n,i){return e.filter(n,Yo(t,i))},"filter"),r.defaults=o(function(n){return e.defaults(Yo(t,n))},"defaults"),r.makeRe=o(function(n,i){return e.makeRe(n,Yo(t,i))},"makeRe"),r.braceExpand=o(function(n,i){return e.braceExpand(n,Yo(t,i))},"braceExpand"),r.match=function(s,n,i){return e.match(s,n,Yo(t,i))},r};jt.defaults=function(t){return ls.defaults(t).Minimatch};function ls(t,e,r){return kg(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new jt(e,r).match(t)}o(ls,"minimatch");function jt(t,e){if(!(this instanceof jt))return new jt(t,e);kg(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&$d.sep!=="/"&&(t=t.split($d.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(jt,"Minimatch");jt.prototype.debug=function(){};jt.prototype.make=jhe;function jhe(){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(s){return s.split(IV)}),this.debug(this.pattern,r),r=r.map(function(s,n,i){return s.map(this.parse,this)},this),this.debug(this.pattern,r),r=r.filter(function(s){return s.indexOf(!1)===-1}),this.debug(this.pattern,r),this.set=r}o(jhe,"make");jt.prototype.parseNegate=Khe;function Khe(){var t=this.pattern,e=!1,r=this.options,s=0;if(!r.nonegate){for(var n=0,i=t.length;n"u"?this.pattern:t,kg(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:Vhe(t)}o(BV,"braceExpand");var Xhe=1024*64,kg=o(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>Xhe)throw new TypeError("pattern is too long")},"assertValidPattern");jt.prototype.parse=Zhe;var Pg={};function Zhe(t,e){kg(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return w0;if(t==="")return"";var s="",n=!!r.nocase,i=!1,a=[],c=[],l,u=!1,A=-1,d=-1,p=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",m=this;function h(){if(l){switch(l){case"*":s+=B0,n=!0;break;case"?":s+=I0,n=!0;break;default:s+="\\"+l;break}m.debug("clearStateChar %j %j",l,s),l=!1}}o(h,"clearStateChar");for(var g=0,C=t.length,E;g-1;ge--){var Te=c[ge],Ne=s.slice(0,Te.reStart),Pe=s.slice(Te.reStart,Te.reEnd-8),Ae=s.slice(Te.reEnd-8,Te.reEnd),Me=s.slice(Te.reEnd);Ae+=Me;var se=Ne.split("(").length-1,Ar=Me;for(g=0;g"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 s=this.options;$d.sep!=="/"&&(e=e.split($d.sep).join("/")),e=e.split(IV),this.debug(this.pattern,"split",e);var n=this.set;this.debug(this.pattern,"set",n);var i,a;for(a=e.length-1;a>=0&&(i=e[a],!i);a--);for(a=0;a>> no match, partial?`,t,A,e,d),A===a))}var m;if(typeof l=="string"?(m=u===l,this.debug("string match",l,u,m)):(m=u.match(l),this.debug("pattern match",l,u,m)),!m)return!1}if(n===a&&i===c)return!0;if(n===a)return r;if(i===c)return n===a-1&&t[n]==="";throw new Error("wtf?")};function tfe(t){return t.replace(/\\(.)/g,"$1")}o(tfe,"globUnescape");function rfe(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(rfe,"regExpEscape")});var Wd=f((YGe,SV)=>{"use strict";var ufe="2.0.0",Afe=Number.MAX_SAFE_INTEGER||9007199254740991,dfe=16,pfe=250,mfe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];SV.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:dfe,MAX_SAFE_BUILD_LENGTH:pfe,MAX_SAFE_INTEGER:Afe,RELEASE_TYPES:mfe,SEMVER_SPEC_VERSION:ufe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var jd=f((JGe,RV)=>{"use strict";var hfe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};RV.exports=hfe});var ru=f((Wn,TV)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Q0,MAX_SAFE_BUILD_LENGTH:ffe,MAX_LENGTH:gfe}=Wd(),Efe=jd();Wn=TV.exports={};var yfe=Wn.re=[],Cfe=Wn.safeRe=[],M=Wn.src=[],Ife=Wn.safeSrc=[],O=Wn.t={},Bfe=0,x0="[a-zA-Z0-9-]",wfe=[["\\s",1],["\\d",gfe],[x0,ffe]],bfe=o(t=>{for(let[e,r]of wfe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),ie=o((t,e,r)=>{let s=bfe(e),n=Bfe++;Efe(t,n,e),O[t]=n,M[n]=e,Ife[n]=s,yfe[n]=new RegExp(e,r?"g":void 0),Cfe[n]=new RegExp(s,r?"g":void 0)},"createToken");ie("NUMERICIDENTIFIER","0|[1-9]\\d*");ie("NUMERICIDENTIFIERLOOSE","\\d+");ie("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${x0}*`);ie("MAINVERSION",`(${M[O.NUMERICIDENTIFIER]})\\.(${M[O.NUMERICIDENTIFIER]})\\.(${M[O.NUMERICIDENTIFIER]})`);ie("MAINVERSIONLOOSE",`(${M[O.NUMERICIDENTIFIERLOOSE]})\\.(${M[O.NUMERICIDENTIFIERLOOSE]})\\.(${M[O.NUMERICIDENTIFIERLOOSE]})`);ie("PRERELEASEIDENTIFIER",`(?:${M[O.NONNUMERICIDENTIFIER]}|${M[O.NUMERICIDENTIFIER]})`);ie("PRERELEASEIDENTIFIERLOOSE",`(?:${M[O.NONNUMERICIDENTIFIER]}|${M[O.NUMERICIDENTIFIERLOOSE]})`);ie("PRERELEASE",`(?:-(${M[O.PRERELEASEIDENTIFIER]}(?:\\.${M[O.PRERELEASEIDENTIFIER]})*))`);ie("PRERELEASELOOSE",`(?:-?(${M[O.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${M[O.PRERELEASEIDENTIFIERLOOSE]})*))`);ie("BUILDIDENTIFIER",`${x0}+`);ie("BUILD",`(?:\\+(${M[O.BUILDIDENTIFIER]}(?:\\.${M[O.BUILDIDENTIFIER]})*))`);ie("FULLPLAIN",`v?${M[O.MAINVERSION]}${M[O.PRERELEASE]}?${M[O.BUILD]}?`);ie("FULL",`^${M[O.FULLPLAIN]}$`);ie("LOOSEPLAIN",`[v=\\s]*${M[O.MAINVERSIONLOOSE]}${M[O.PRERELEASELOOSE]}?${M[O.BUILD]}?`);ie("LOOSE",`^${M[O.LOOSEPLAIN]}$`);ie("GTLT","((?:<|>)?=?)");ie("XRANGEIDENTIFIERLOOSE",`${M[O.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ie("XRANGEIDENTIFIER",`${M[O.NUMERICIDENTIFIER]}|x|X|\\*`);ie("XRANGEPLAIN",`[v=\\s]*(${M[O.XRANGEIDENTIFIER]})(?:\\.(${M[O.XRANGEIDENTIFIER]})(?:\\.(${M[O.XRANGEIDENTIFIER]})(?:${M[O.PRERELEASE]})?${M[O.BUILD]}?)?)?`);ie("XRANGEPLAINLOOSE",`[v=\\s]*(${M[O.XRANGEIDENTIFIERLOOSE]})(?:\\.(${M[O.XRANGEIDENTIFIERLOOSE]})(?:\\.(${M[O.XRANGEIDENTIFIERLOOSE]})(?:${M[O.PRERELEASELOOSE]})?${M[O.BUILD]}?)?)?`);ie("XRANGE",`^${M[O.GTLT]}\\s*${M[O.XRANGEPLAIN]}$`);ie("XRANGELOOSE",`^${M[O.GTLT]}\\s*${M[O.XRANGEPLAINLOOSE]}$`);ie("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Q0}})(?:\\.(\\d{1,${Q0}}))?(?:\\.(\\d{1,${Q0}}))?`);ie("COERCE",`${M[O.COERCEPLAIN]}(?:$|[^\\d])`);ie("COERCEFULL",M[O.COERCEPLAIN]+`(?:${M[O.PRERELEASE]})?(?:${M[O.BUILD]})?(?:$|[^\\d])`);ie("COERCERTL",M[O.COERCE],!0);ie("COERCERTLFULL",M[O.COERCEFULL],!0);ie("LONETILDE","(?:~>?)");ie("TILDETRIM",`(\\s*)${M[O.LONETILDE]}\\s+`,!0);Wn.tildeTrimReplace="$1~";ie("TILDE",`^${M[O.LONETILDE]}${M[O.XRANGEPLAIN]}$`);ie("TILDELOOSE",`^${M[O.LONETILDE]}${M[O.XRANGEPLAINLOOSE]}$`);ie("LONECARET","(?:\\^)");ie("CARETTRIM",`(\\s*)${M[O.LONECARET]}\\s+`,!0);Wn.caretTrimReplace="$1^";ie("CARET",`^${M[O.LONECARET]}${M[O.XRANGEPLAIN]}$`);ie("CARETLOOSE",`^${M[O.LONECARET]}${M[O.XRANGEPLAINLOOSE]}$`);ie("COMPARATORLOOSE",`^${M[O.GTLT]}\\s*(${M[O.LOOSEPLAIN]})$|^$`);ie("COMPARATOR",`^${M[O.GTLT]}\\s*(${M[O.FULLPLAIN]})$|^$`);ie("COMPARATORTRIM",`(\\s*)${M[O.GTLT]}\\s*(${M[O.LOOSEPLAIN]}|${M[O.XRANGEPLAIN]})`,!0);Wn.comparatorTrimReplace="$1$2$3";ie("HYPHENRANGE",`^\\s*(${M[O.XRANGEPLAIN]})\\s+-\\s+(${M[O.XRANGEPLAIN]})\\s*$`);ie("HYPHENRANGELOOSE",`^\\s*(${M[O.XRANGEPLAINLOOSE]})\\s+-\\s+(${M[O.XRANGEPLAINLOOSE]})\\s*$`);ie("STAR","(<|>)?=?\\s*\\*");ie("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ie("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Lg=f((jGe,vV)=>{"use strict";var Qfe=Object.freeze({loose:!0}),xfe=Object.freeze({}),Nfe=o(t=>t?typeof t!="object"?Qfe:t:xfe,"parseOptions");vV.exports=Nfe});var N0=f((XGe,DV)=>{"use strict";var PV=/^[0-9]+$/,kV=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tkV(e,t),"rcompareIdentifiers");DV.exports={compareIdentifiers:kV,rcompareIdentifiers:Sfe}});var or=f((eHe,LV)=>{"use strict";var Mg=jd(),{MAX_LENGTH:_V,MAX_SAFE_INTEGER:Og}=Wd(),{safeRe:Fg,t:Ug}=ru(),Rfe=Lg(),{compareIdentifiers:S0}=N0(),R0=class t{static{o(this,"SemVer")}constructor(e,r){if(r=Rfe(r),e instanceof t){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>_V)throw new TypeError(`version is longer than ${_V} characters`);Mg("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?Fg[Ug.LOOSE]:Fg[Ug.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>Og||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Og||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Og||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let i=+n;if(i>=0&&ie.major?1:this.minore.minor?1:this.patche.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let s=this.prerelease[r],n=e.prerelease[r];if(Mg("prerelease compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return S0(s,n)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let s=this.build[r],n=e.build[r];if(Mg("build compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return S0(s,n)}while(++r)}inc(e,r,s){if(e.startsWith("pre")){if(!r&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let n=`-${r}`.match(this.options.loose?Fg[Ug.PRERELEASELOOSE]:Fg[Ug.PRERELEASE]);if(!n||n[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,s),this.inc("pre",r,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,s),this.inc("pre",r,s);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(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":{let n=Number(s)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(r){let i=[r,n];s===!1&&(i=[r]),S0(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};LV.exports=R0});var rc=f((rHe,OV)=>{"use strict";var MV=or(),Tfe=o((t,e,r=!1)=>{if(t instanceof MV)return t;try{return new MV(t,e)}catch(s){if(!r)return null;throw s}},"parse");OV.exports=Tfe});var UV=f((nHe,FV)=>{"use strict";var vfe=rc(),Pfe=o((t,e)=>{let r=vfe(t,e);return r?r.version:null},"valid");FV.exports=Pfe});var GV=f((oHe,qV)=>{"use strict";var kfe=rc(),Dfe=o((t,e)=>{let r=kfe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");qV.exports=Dfe});var VV=f((cHe,zV)=>{"use strict";var HV=or(),_fe=o((t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new HV(t instanceof HV?t.version:t,r).inc(e,s,n).version}catch{return null}},"inc");zV.exports=_fe});var JV=f((uHe,YV)=>{"use strict";var $V=rc(),Lfe=o((t,e)=>{let r=$V(t,null,!0),s=$V(e,null,!0),n=r.compare(s);if(n===0)return null;let i=n>0,a=i?r:s,c=i?s:r,l=!!a.prerelease.length;if(!!c.prerelease.length&&!l){if(!c.patch&&!c.minor)return"major";if(c.compareMain(a)===0)return c.minor&&!c.patch?"minor":"patch"}let A=l?"pre":"";return r.major!==s.major?A+"major":r.minor!==s.minor?A+"minor":r.patch!==s.patch?A+"patch":"prerelease"},"diff");YV.exports=Lfe});var jV=f((dHe,WV)=>{"use strict";var Mfe=or(),Ofe=o((t,e)=>new Mfe(t,e).major,"major");WV.exports=Ofe});var XV=f((mHe,KV)=>{"use strict";var Ffe=or(),Ufe=o((t,e)=>new Ffe(t,e).minor,"minor");KV.exports=Ufe});var e$=f((fHe,ZV)=>{"use strict";var qfe=or(),Gfe=o((t,e)=>new qfe(t,e).patch,"patch");ZV.exports=Gfe});var r$=f((EHe,t$)=>{"use strict";var Hfe=rc(),zfe=o((t,e)=>{let r=Hfe(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");t$.exports=zfe});var Ms=f((CHe,n$)=>{"use strict";var s$=or(),Vfe=o((t,e,r)=>new s$(t,r).compare(new s$(e,r)),"compare");n$.exports=Vfe});var o$=f((BHe,i$)=>{"use strict";var $fe=Ms(),Yfe=o((t,e,r)=>$fe(e,t,r),"rcompare");i$.exports=Yfe});var c$=f((bHe,a$)=>{"use strict";var Jfe=Ms(),Wfe=o((t,e)=>Jfe(t,e,!0),"compareLoose");a$.exports=Wfe});var qg=f((xHe,u$)=>{"use strict";var l$=or(),jfe=o((t,e,r)=>{let s=new l$(t,r),n=new l$(e,r);return s.compare(n)||s.compareBuild(n)},"compareBuild");u$.exports=jfe});var d$=f((SHe,A$)=>{"use strict";var Kfe=qg(),Xfe=o((t,e)=>t.sort((r,s)=>Kfe(r,s,e)),"sort");A$.exports=Xfe});var m$=f((THe,p$)=>{"use strict";var Zfe=qg(),ege=o((t,e)=>t.sort((r,s)=>Zfe(s,r,e)),"rsort");p$.exports=ege});var Kd=f((PHe,h$)=>{"use strict";var tge=Ms(),rge=o((t,e,r)=>tge(t,e,r)>0,"gt");h$.exports=rge});var Gg=f((DHe,f$)=>{"use strict";var sge=Ms(),nge=o((t,e,r)=>sge(t,e,r)<0,"lt");f$.exports=nge});var T0=f((LHe,g$)=>{"use strict";var ige=Ms(),oge=o((t,e,r)=>ige(t,e,r)===0,"eq");g$.exports=oge});var v0=f((OHe,E$)=>{"use strict";var age=Ms(),cge=o((t,e,r)=>age(t,e,r)!==0,"neq");E$.exports=cge});var Hg=f((UHe,y$)=>{"use strict";var lge=Ms(),uge=o((t,e,r)=>lge(t,e,r)>=0,"gte");y$.exports=uge});var zg=f((GHe,C$)=>{"use strict";var Age=Ms(),dge=o((t,e,r)=>Age(t,e,r)<=0,"lte");C$.exports=dge});var P0=f((zHe,I$)=>{"use strict";var pge=T0(),mge=v0(),hge=Kd(),fge=Hg(),gge=Gg(),Ege=zg(),yge=o((t,e,r,s)=>{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 pge(t,r,s);case"!=":return mge(t,r,s);case">":return hge(t,r,s);case">=":return fge(t,r,s);case"<":return gge(t,r,s);case"<=":return Ege(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");I$.exports=yge});var w$=f(($He,B$)=>{"use strict";var Cge=or(),Ige=rc(),{safeRe:Vg,t:$g}=ru(),Bge=o((t,e)=>{if(t instanceof Cge)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let r=null;if(!e.rtl)r=t.match(e.includePrerelease?Vg[$g.COERCEFULL]:Vg[$g.COERCE]);else{let l=e.includePrerelease?Vg[$g.COERCERTLFULL]:Vg[$g.COERCERTL],u;for(;(u=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||u.index+u[0].length!==r.index+r[0].length)&&(r=u),l.lastIndex=u.index+u[1].length+u[2].length;l.lastIndex=-1}if(r===null)return null;let s=r[2],n=r[3]||"0",i=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return Ige(`${s}.${n}.${i}${a}${c}`,e)},"coerce");B$.exports=Bge});var Q$=f((JHe,b$)=>{"use strict";var k0=class{static{o(this,"LRUCache")}constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(e,r)}return this}};b$.exports=k0});var Os=f((jHe,R$)=>{"use strict";var wge=/\s+/g,D0=class t{static{o(this,"Range")}constructor(e,r){if(r=Qge(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof _0)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().replace(wge," "),this.set=this.raw.split("||").map(s=>this.parseRange(s.trim())).filter(s=>s.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let s=this.set[0];if(this.set=this.set.filter(n=>!N$(n[0])),this.set.length===0)this.set=[s];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&Pge(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e0&&(this.formatted+="||");let r=this.set[e];for(let s=0;s0&&(this.formatted+=" "),this.formatted+=r[s].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let s=((this.options.includePrerelease&&Tge)|(this.options.loose&&vge))+":"+e,n=x$.get(s);if(n)return n;let i=this.options.loose,a=i?Er[ar.HYPHENRANGELOOSE]:Er[ar.HYPHENRANGE];e=e.replace(a,Gge(this.options.includePrerelease)),ze("hyphen replace",e),e=e.replace(Er[ar.COMPARATORTRIM],Nge),ze("comparator trim",e),e=e.replace(Er[ar.TILDETRIM],Sge),ze("tilde trim",e),e=e.replace(Er[ar.CARETTRIM],Rge),ze("caret trim",e);let c=e.split(" ").map(d=>kge(d,this.options)).join(" ").split(/\s+/).map(d=>qge(d,this.options));i&&(c=c.filter(d=>(ze("loose invalid filter",d,this.options),!!d.match(Er[ar.COMPARATORLOOSE])))),ze("range list",c);let l=new Map,u=c.map(d=>new _0(d,this.options));for(let d of u){if(N$(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let A=[...l.values()];return x$.set(s,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>S$(s,r)&&e.set.some(n=>S$(n,r)&&s.every(i=>n.every(a=>i.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new xge(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),Pge=o(t=>t.value==="","isAny"),S$=o((t,e)=>{let r=!0,s=t.slice(),n=s.pop();for(;r&&s.length;)r=s.every(i=>n.intersects(i,e)),n=s.pop();return r},"isSatisfiable"),kge=o((t,e)=>(t=t.replace(Er[ar.BUILD],""),ze("comp",t,e),t=Lge(t,e),ze("caret",t),t=Dge(t,e),ze("tildes",t),t=Oge(t,e),ze("xrange",t),t=Uge(t,e),ze("stars",t),t),"parseComparator"),yr=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),Dge=o((t,e)=>t.trim().split(/\s+/).map(r=>_ge(r,e)).join(" "),"replaceTildes"),_ge=o((t,e)=>{let r=e.loose?Er[ar.TILDELOOSE]:Er[ar.TILDE];return t.replace(r,(s,n,i,a,c)=>{ze("tilde",t,s,n,i,a,c);let l;return yr(n)?l="":yr(i)?l=`>=${n}.0.0 <${+n+1}.0.0-0`:yr(a)?l=`>=${n}.${i}.0 <${n}.${+i+1}.0-0`:c?(ze("replaceTilde pr",c),l=`>=${n}.${i}.${a}-${c} <${n}.${+i+1}.0-0`):l=`>=${n}.${i}.${a} <${n}.${+i+1}.0-0`,ze("tilde return",l),l})},"replaceTilde"),Lge=o((t,e)=>t.trim().split(/\s+/).map(r=>Mge(r,e)).join(" "),"replaceCarets"),Mge=o((t,e)=>{ze("caret",t,e);let r=e.loose?Er[ar.CARETLOOSE]:Er[ar.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{ze("caret",t,n,i,a,c,l);let u;return yr(i)?u="":yr(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:yr(c)?i==="0"?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.0${s} <${+i+1}.0.0-0`:l?(ze("replaceCaret pr",l),i==="0"?a==="0"?u=`>=${i}.${a}.${c}-${l} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c}-${l} <${+i+1}.0.0-0`):(ze("no pr"),i==="0"?a==="0"?u=`>=${i}.${a}.${c}${s} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c}${s} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c} <${+i+1}.0.0-0`),ze("caret return",u),u})},"replaceCaret"),Oge=o((t,e)=>(ze("replaceXRanges",t,e),t.split(/\s+/).map(r=>Fge(r,e)).join(" ")),"replaceXRanges"),Fge=o((t,e)=>{t=t.trim();let r=e.loose?Er[ar.XRANGELOOSE]:Er[ar.XRANGE];return t.replace(r,(s,n,i,a,c,l)=>{ze("xRange",t,s,n,i,a,c,l);let u=yr(i),A=u||yr(a),d=A||yr(c),p=d;return n==="="&&p&&(n=""),l=e.includePrerelease?"-0":"",u?n===">"||n==="<"?s="<0.0.0-0":s="*":n&&p?(A&&(a=0),c=0,n===">"?(n=">=",A?(i=+i+1,a=0,c=0):(a=+a+1,c=0)):n==="<="&&(n="<",A?i=+i+1:a=+a+1),n==="<"&&(l="-0"),s=`${n+i}.${a}.${c}${l}`):A?s=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(s=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),ze("xRange return",s),s})},"replaceXRange"),Uge=o((t,e)=>(ze("replaceStars",t,e),t.trim().replace(Er[ar.STAR],"")),"replaceStars"),qge=o((t,e)=>(ze("replaceGTE0",t,e),t.trim().replace(Er[e.includePrerelease?ar.GTE0PRE:ar.GTE0],"")),"replaceGTE0"),Gge=o(t=>(e,r,s,n,i,a,c,l,u,A,d,p)=>(yr(s)?r="":yr(n)?r=`>=${s}.0.0${t?"-0":""}`:yr(i)?r=`>=${s}.${n}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,yr(u)?l="":yr(A)?l=`<${+u+1}.0.0-0`:yr(d)?l=`<${u}.${+A+1}.0-0`:p?l=`<=${u}.${A}.${d}-${p}`:t?l=`<${u}.${A}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),Hge=o((t,e,r)=>{for(let s=0;s0){let n=t[s].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0},"testSet")});var Xd=f((XHe,_$)=>{"use strict";var Zd=Symbol("SemVer ANY"),O0=class t{static{o(this,"Comparator")}static get ANY(){return Zd}constructor(e,r){if(r=T$(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),M0("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Zd?this.value="":this.value=this.operator+this.semver.version,M0("comp",this)}parse(e){let r=this.options.loose?v$[P$.COMPARATORLOOSE]:v$[P$.COMPARATOR],s=e.match(r);if(!s)throw new TypeError(`Invalid comparator: ${e}`);this.operator=s[1]!==void 0?s[1]:"",this.operator==="="&&(this.operator=""),s[2]?this.semver=new k$(s[2],this.options.loose):this.semver=Zd}toString(){return this.value}test(e){if(M0("Comparator.test",e,this.options.loose),this.semver===Zd||e===Zd)return!0;if(typeof e=="string")try{e=new k$(e,this.options)}catch{return!1}return L0(e,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new D$(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new D$(this.value,r).test(e.semver):(r=T$(r),r.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||L0(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||L0(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};_$.exports=O0;var T$=Lg(),{safeRe:v$,t:P$}=ru(),L0=P0(),M0=jd(),k$=or(),D$=Os()});var ep=f((eze,L$)=>{"use strict";var zge=Os(),Vge=o((t,e,r)=>{try{e=new zge(e,r)}catch{return!1}return e.test(t)},"satisfies");L$.exports=Vge});var O$=f((rze,M$)=>{"use strict";var $ge=Os(),Yge=o((t,e)=>new $ge(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),"toComparators");M$.exports=Yge});var U$=f((nze,F$)=>{"use strict";var Jge=or(),Wge=Os(),jge=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new Wge(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new Jge(s,r))}),s},"maxSatisfying");F$.exports=jge});var G$=f((oze,q$)=>{"use strict";var Kge=or(),Xge=Os(),Zge=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new Xge(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===1)&&(s=a,n=new Kge(s,r))}),s},"minSatisfying");q$.exports=Zge});var V$=f((cze,z$)=>{"use strict";var F0=or(),eEe=Os(),H$=Kd(),tEe=o((t,e)=>{t=new eEe(t,e);let r=new F0("0.0.0");if(t.test(r)||(r=new F0("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let c=new F0(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||H$(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||H$(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");z$.exports=tEe});var Y$=f((uze,$$)=>{"use strict";var rEe=Os(),sEe=o((t,e)=>{try{return new rEe(t,e).range||"*"}catch{return null}},"validRange");$$.exports=sEe});var Yg=f((dze,K$)=>{"use strict";var nEe=or(),j$=Xd(),{ANY:iEe}=j$,oEe=Os(),aEe=ep(),J$=Kd(),W$=Gg(),cEe=zg(),lEe=Hg(),uEe=o((t,e,r,s)=>{t=new nEe(t,s),e=new oEe(e,s);let n,i,a,c,l;switch(r){case">":n=J$,i=cEe,a=W$,c=">",l=">=";break;case"<":n=W$,i=lEe,a=J$,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(aEe(t,e,s))return!1;for(let u=0;u{m.semver===iEe&&(m=new j$(">=0.0.0")),d=d||m,p=p||m,n(m.semver,d.semver,s)?d=m:a(m.semver,p.semver,s)&&(p=m)}),d.operator===c||d.operator===l||(!p.operator||p.operator===c)&&i(t,p.semver))return!1;if(p.operator===l&&a(t,p.semver))return!1}return!0},"outside");K$.exports=uEe});var Z$=f((mze,X$)=>{"use strict";var AEe=Yg(),dEe=o((t,e,r)=>AEe(t,e,">",r),"gtr");X$.exports=dEe});var tY=f((fze,eY)=>{"use strict";var pEe=Yg(),mEe=o((t,e,r)=>pEe(t,e,"<",r),"ltr");eY.exports=mEe});var nY=f((Eze,sY)=>{"use strict";var rY=Os(),hEe=o((t,e,r)=>(t=new rY(t,r),e=new rY(e,r),t.intersects(e,r)),"intersects");sY.exports=hEe});var oY=f((Cze,iY)=>{"use strict";var fEe=ep(),gEe=Ms();iY.exports=(t,e,r)=>{let s=[],n=null,i=null,a=t.sort((A,d)=>gEe(A,d,r));for(let A of a)fEe(A,e,r)?(i=A,n||(n=A)):(i&&s.push([n,i]),i=null,n=null);n&&s.push([n,null]);let c=[];for(let[A,d]of s)A===d?c.push(A):!d&&A===a[0]?c.push("*"):d?A===a[0]?c.push(`<=${d}`):c.push(`${A} - ${d}`):c.push(`>=${A}`);let l=c.join(" || "),u=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var aY=Os(),q0=Xd(),{ANY:U0}=q0,tp=ep(),G0=Ms(),EEe=o((t,e,r={})=>{if(t===e)return!0;t=new aY(t,r),e=new aY(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let a=CEe(n,i,r);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},"subset"),yEe=[new q0(">=0.0.0-0")],cY=[new q0(">=0.0.0")],CEe=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===U0){if(e.length===1&&e[0].semver===U0)return!0;r.includePrerelease?t=yEe:t=cY}if(e.length===1&&e[0].semver===U0){if(r.includePrerelease)return!0;e=cY}let s=new Set,n,i;for(let m of t)m.operator===">"||m.operator===">="?n=lY(n,m,r):m.operator==="<"||m.operator==="<="?i=uY(i,m,r):s.add(m.semver);if(s.size>1)return null;let a;if(n&&i){if(a=G0(n.semver,i.semver,r),a>0)return null;if(a===0&&(n.operator!==">="||i.operator!=="<="))return null}for(let m of s){if(n&&!tp(m,String(n),r)||i&&!tp(m,String(i),r))return null;for(let h of e)if(!tp(m,String(h),r))return!1;return!0}let c,l,u,A,d=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,p=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;d&&d.prerelease.length===1&&i.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let m of e){if(A=A||m.operator===">"||m.operator===">=",u=u||m.operator==="<"||m.operator==="<=",n){if(p&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===p.major&&m.semver.minor===p.minor&&m.semver.patch===p.patch&&(p=!1),m.operator===">"||m.operator===">="){if(c=lY(n,m,r),c===m&&c!==n)return!1}else if(n.operator===">="&&!tp(n.semver,String(m),r))return!1}if(i){if(d&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===d.major&&m.semver.minor===d.minor&&m.semver.patch===d.patch&&(d=!1),m.operator==="<"||m.operator==="<="){if(l=uY(i,m,r),l===m&&l!==i)return!1}else if(i.operator==="<="&&!tp(i.semver,String(m),r))return!1}if(!m.operator&&(i||n)&&a!==0)return!1}return!(n&&u&&!i&&a!==0||i&&A&&!n&&a!==0||p||d)},"simpleSubset"),lY=o((t,e,r)=>{if(!t)return e;let s=G0(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),uY=o((t,e,r)=>{if(!t)return e;let s=G0(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");AY.exports=EEe});var fY=f((wze,hY)=>{"use strict";var H0=ru(),pY=Wd(),IEe=or(),mY=N0(),BEe=rc(),wEe=UV(),bEe=GV(),QEe=VV(),xEe=JV(),NEe=jV(),SEe=XV(),REe=e$(),TEe=r$(),vEe=Ms(),PEe=o$(),kEe=c$(),DEe=qg(),_Ee=d$(),LEe=m$(),MEe=Kd(),OEe=Gg(),FEe=T0(),UEe=v0(),qEe=Hg(),GEe=zg(),HEe=P0(),zEe=w$(),VEe=Xd(),$Ee=Os(),YEe=ep(),JEe=O$(),WEe=U$(),jEe=G$(),KEe=V$(),XEe=Y$(),ZEe=Yg(),eye=Z$(),tye=tY(),rye=nY(),sye=oY(),nye=dY();hY.exports={parse:BEe,valid:wEe,clean:bEe,inc:QEe,diff:xEe,major:NEe,minor:SEe,patch:REe,prerelease:TEe,compare:vEe,rcompare:PEe,compareLoose:kEe,compareBuild:DEe,sort:_Ee,rsort:LEe,gt:MEe,lt:OEe,eq:FEe,neq:UEe,gte:qEe,lte:GEe,cmp:HEe,coerce:zEe,Comparator:VEe,Range:$Ee,satisfies:YEe,toComparators:JEe,maxSatisfying:WEe,minSatisfying:jEe,minVersion:KEe,validRange:XEe,outside:ZEe,gtr:eye,ltr:tye,intersects:rye,simplifyRange:sye,subset:nye,SemVer:IEe,re:H0.re,src:H0.src,tokens:H0.t,SEMVER_SPEC_VERSION:pY.SEMVER_SPEC_VERSION,RELEASE_TYPES:pY.RELEASE_TYPES,compareIdentifiers:mY.compareIdentifiers,rcompareIdentifiers:mY.rcompareIdentifiers}});var nJ=f((S$e,sJ)=>{var lu=1e3,uu=lu*60,Au=uu*60,lc=Au*24,Uye=lc*7,qye=lc*365.25;sJ.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return Gye(t);if(r==="number"&&isFinite(t))return e.long?zye(t):Hye(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Gye(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]),s=(e[2]||"ms").toLowerCase();switch(s){case"years":case"year":case"yrs":case"yr":case"y":return r*qye;case"weeks":case"week":case"w":return r*Uye;case"days":case"day":case"d":return r*lc;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Au;case"minutes":case"minute":case"mins":case"min":case"m":return r*uu;case"seconds":case"second":case"secs":case"sec":case"s":return r*lu;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(Gye,"parse");function Hye(t){var e=Math.abs(t);return e>=lc?Math.round(t/lc)+"d":e>=Au?Math.round(t/Au)+"h":e>=uu?Math.round(t/uu)+"m":e>=lu?Math.round(t/lu)+"s":t+"ms"}o(Hye,"fmtShort");function zye(t){var e=Math.abs(t);return e>=lc?EE(t,e,lc,"day"):e>=Au?EE(t,e,Au,"hour"):e>=uu?EE(t,e,uu,"minute"):e>=lu?EE(t,e,lu,"second"):t+" ms"}o(zye,"fmtLong");function EE(t,e,r,s){var n=e>=r*1.5;return Math.round(t/r)+" "+s+(n?"s":"")}o(EE,"plural")});var mN=f((T$e,iJ)=>{function Vye(t){r.debug=r,r.default=r,r.coerce=l,r.disable=i,r.enable=n,r.enabled=a,r.humanize=nJ(),r.destroy=u,Object.keys(t).forEach(A=>{r[A]=t[A]}),r.names=[],r.skips=[],r.formatters={};function e(A){let d=0;for(let p=0;p{if(S==="%%")return"%";B++;let ge=r.formatters[q];if(typeof ge=="function"){let Te=C[B];S=ge.call(E,Te),C.splice(B,1),B--}return S}),r.formatArgs.call(E,C),(E.log||r.log).apply(E,C)}return o(g,"debug"),g.namespace=A,g.useColors=r.useColors(),g.color=r.selectColor(A),g.extend=s,g.destroy=r.destroy,Object.defineProperty(g,"enabled",{enumerable:!0,configurable:!1,get:o(()=>p!==null?p:(m!==r.namespaces&&(m=r.namespaces,h=r.enabled(A)),h),"get"),set:o(C=>{p=C},"set")}),typeof r.init=="function"&&r.init(g),g}o(r,"createDebug");function s(A,d){let p=r(this.namespace+(typeof d>"u"?":":d)+A);return p.log=this.log,p}o(s,"extend");function n(A){r.save(A),r.namespaces=A,r.names=[],r.skips=[];let d,p=(typeof A=="string"?A:"").split(/[\s,]+/),m=p.length;for(d=0;d"-"+d)].join(",");return r.enable(""),A}o(i,"disable");function a(A){if(A[A.length-1]==="*")return!0;let d,p;for(d=0,p=r.skips.length;d{ds.formatArgs=Yye;ds.save=Jye;ds.load=Wye;ds.useColors=$ye;ds.storage=jye();ds.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`."))}})();ds.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 $ye(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1: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&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}o($ye,"useColors");function Yye(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+yE.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,s=0;t[0].replace(/%[a-zA-Z%]/g,n=>{n!=="%%"&&(r++,n==="%c"&&(s=r))}),t.splice(s,0,e)}o(Yye,"formatArgs");ds.log=console.debug||console.log||(()=>{});function Jye(t){try{t?ds.storage.setItem("debug",t):ds.storage.removeItem("debug")}catch{}}o(Jye,"save");function Wye(){let t;try{t=ds.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(Wye,"load");function jye(){try{return localStorage}catch{}}o(jye,"localstorage");yE.exports=mN()(ds);var{formatters:Kye}=yE.exports;Kye.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var cJ=f((k$e,aJ)=>{"use strict";aJ.exports=(t,e=process.argv)=>{let r=t.startsWith("-")?"":t.length===1?"-":"--",s=e.indexOf(r+t),n=e.indexOf("--");return s!==-1&&(n===-1||s{"use strict";var Xye=require("os"),lJ=require("tty"),Us=cJ(),{env:Ht}=process,Xo;Us("no-color")||Us("no-colors")||Us("color=false")||Us("color=never")?Xo=0:(Us("color")||Us("colors")||Us("color=true")||Us("color=always"))&&(Xo=1);"FORCE_COLOR"in Ht&&(Ht.FORCE_COLOR==="true"?Xo=1:Ht.FORCE_COLOR==="false"?Xo=0:Xo=Ht.FORCE_COLOR.length===0?1:Math.min(parseInt(Ht.FORCE_COLOR,10),3));function hN(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o(hN,"translateLevel");function fN(t,e){if(Xo===0)return 0;if(Us("color=16m")||Us("color=full")||Us("color=truecolor"))return 3;if(Us("color=256"))return 2;if(t&&!e&&Xo===void 0)return 0;let r=Xo||0;if(Ht.TERM==="dumb")return r;if(process.platform==="win32"){let s=Xye.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in Ht)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(s=>s in Ht)||Ht.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in Ht)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ht.TEAMCITY_VERSION)?1:0;if(Ht.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Ht){let s=parseInt((Ht.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ht.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ht.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ht.TERM)||"COLORTERM"in Ht?1:r}o(fN,"supportsColor");function Zye(t){let e=fN(t,t&&t.isTTY);return hN(e)}o(Zye,"getSupportLevel");uJ.exports={supportsColor:Zye,stdout:hN(fN(!0,lJ.isatty(1))),stderr:hN(fN(!0,lJ.isatty(2)))}});var pJ=f((Kt,IE)=>{var eCe=require("tty"),CE=require("util");Kt.init=aCe;Kt.log=nCe;Kt.formatArgs=rCe;Kt.save=iCe;Kt.load=oCe;Kt.useColors=tCe;Kt.destroy=CE.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Kt.colors=[6,2,3,4,5,1];try{let t=AJ();t&&(t.stderr||t).level>=2&&(Kt.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{}Kt.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(n,i)=>i.toUpperCase()),s=process.env[e];return/^(yes|on|true|enabled)$/i.test(s)?s=!0:/^(no|off|false|disabled)$/i.test(s)?s=!1:s==="null"?s=null:s=Number(s),t[r]=s,t},{});function tCe(){return"colors"in Kt.inspectOpts?!!Kt.inspectOpts.colors:eCe.isatty(process.stderr.fd)}o(tCe,"useColors");function rCe(t){let{namespace:e,useColors:r}=this;if(r){let s=this.color,n="\x1B[3"+(s<8?s:"8;5;"+s),i=` ${n};1m${e} \x1B[0m`;t[0]=i+t[0].split(` `).join(` `+i),t.push(n+"m+"+IE.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=sCe()+e+" "+t[0]}o(rCe,"formatArgs");function sCe(){return Kt.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(sCe,"getDate");function nCe(...t){return process.stderr.write(CE.format(...t)+` `)}o(nCe,"log");function iCe(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(iCe,"save");function oCe(){return process.env.DEBUG}o(oCe,"load");function aCe(t){t.inspectOpts={};let e=Object.keys(Kt.inspectOpts);for(let r=0;re.trim()).join(" ")};dJ.O=function(t){return this.inspectOpts.colors=this.useColors,CE.inspect(t,this.inspectOpts)}});var BE=f((M$e,gN)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?gN.exports=oJ():gN.exports=pJ()});var fJ=f(Or=>{"use strict";var cCe=Or&&Or.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),lCe=Or&&Or.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),mJ=Or&&Or.__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)&&cCe(e,t,r);return lCe(e,t),e};Object.defineProperty(Or,"__esModule",{value:!0});Or.req=Or.json=Or.toBuffer=void 0;var uCe=mJ(require("http")),ACe=mJ(require("https"));async function hJ(t){let e=0,r=[];for await(let s of t)e+=s.length,r.push(s);return Buffer.concat(r,e)}o(hJ,"toBuffer");Or.toBuffer=hJ;async function dCe(t){let r=(await hJ(t)).toString("utf8");try{return JSON.parse(r)}catch(s){let n=s;throw n.message+=` (input: ${r})`,n}}o(dCe,"json");Or.json=dCe;function pCe(t,e={}){let s=((typeof t=="string"?t:t.href).startsWith("https:")?ACe:uCe).request(t,e),n=new Promise((i,a)=>{s.once("response",i).once("error",a).end()});return s.then=n.then.bind(n),s}o(pCe,"req");Or.req=pCe});var yN=f(ps=>{"use strict";var EJ=ps&&ps.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),mCe=ps&&ps.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),yJ=ps&&ps.__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)&&EJ(e,t,r);return mCe(e,t),e},hCe=ps&&ps.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&EJ(e,t,r)};Object.defineProperty(ps,"__esModule",{value:!0});ps.Agent=void 0;var fCe=yJ(require("net")),gJ=yJ(require("http")),gCe=require("https");hCe(fJ(),ps);var Zn=Symbol("AgentBaseInternalState"),EN=class extends gJ.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Zn]={}}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(s=>s.indexOf("(https.js:")!==-1||s.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 fCe.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let s=this.sockets[e],n=s.indexOf(r);n!==-1&&(s.splice(n,1),this.totalSocketCount--,s.length===0&&delete this.sockets[e])}getName(e){return(typeof e.secureEndpoint=="boolean"?e.secureEndpoint:this.isSecureEndpoint(e))?gCe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,s){let n={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(n),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,n)).then(c=>{if(this.decrementSockets(i,a),c instanceof gJ.Agent)return c.addRequest(e,n);this[Zn].currentSocket=c,super.createSocket(e,r,s)},c=>{this.decrementSockets(i,a),s(c)})}createConnection(){let e=this[Zn].currentSocket;if(this[Zn].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Zn].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Zn]&&(this[Zn].defaultPort=e)}get protocol(){return this[Zn].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Zn]&&(this[Zn].protocol=e)}};ps.Agent=EN});var CJ=f(du=>{"use strict";var ECe=du&&du.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(du,"__esModule",{value:!0});du.parseProxyResponse=void 0;var yCe=ECe(BE()),wE=(0,yCe.default)("https-proxy-agent:parse-proxy-response");function CCe(t){return new Promise((e,r)=>{let s=0,n=[];function i(){let A=t.read();A?u(A):t.once("readable",i)}o(i,"read");function a(){t.removeListener("end",c),t.removeListener("error",l),t.removeListener("readable",i)}o(a,"cleanup");function c(){a(),wE("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(A){a(),wE("onerror %o",A),r(A)}o(l,"onerror");function u(A){n.push(A),s+=A.length;let d=Buffer.concat(n,s),p=d.indexOf(`\r \r `);if(p===-1){wE("have not received end of HTTP headers yet..."),i();return}let m=d.slice(0,p).toString("ascii").split(`\r `),h=m.shift();if(!h)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let g=h.split(" "),C=+g[1],E=g.slice(2).join(" "),y={};for(let I of m){if(!I)continue;let B=I.indexOf(":");if(B===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${I}"`));let N=I.slice(0,B).toLowerCase(),S=I.slice(B+1).trimStart(),q=y[N];typeof q=="string"?y[N]=[q,S]:Array.isArray(q)?q.push(S):y[N]=S}wE("got proxy server response: %o %o",h,y),a(),e({connect:{statusCode:C,statusText:E,headers:y},buffered:d})}o(u,"ondata"),t.on("error",l),t.on("end",c),i()})}o(CCe,"parseProxyResponse");du.parseProxyResponse=CCe});var QJ=f(qs=>{"use strict";var ICe=qs&&qs.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),BCe=qs&&qs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),wJ=qs&&qs.__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)&&ICe(e,t,r);return BCe(e,t),e},bJ=qs&&qs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(qs,"__esModule",{value:!0});qs.HttpsProxyAgent=void 0;var dp=wJ(require("net")),IJ=wJ(require("tls")),wCe=bJ(require("assert")),bCe=bJ(BE()),QCe=yN(),xCe=require("url"),NCe=CJ(),pp=(0,bCe.default)("https-proxy-agent"),bE=class extends QCe.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new xCe.URL(e):e,this.proxyHeaders=r?.headers??{},pp("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?BJ(r,"headers"):null,host:s,port:n}}async connect(e,r){let{proxy:s}=this;if(!r.host)throw new TypeError('No "host" provided');let n;if(s.protocol==="https:"){pp("Creating `tls.Socket`: %o",this.connectOpts);let p=this.connectOpts.servername||this.connectOpts.host;n=IJ.connect({...this.connectOpts,servername:p&&dp.isIP(p)?void 0:p})}else pp("Creating `net.Socket`: %o",this.connectOpts),n=dp.connect(this.connectOpts);let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=dp.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r `;if(s.username||s.password){let p=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;i["Proxy-Authorization"]=`Basic ${Buffer.from(p).toString("base64")}`}i.Host=`${a}:${r.port}`,i["Proxy-Connection"]||(i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let p of Object.keys(i))c+=`${p}: ${i[p]}\r `;let l=(0,NCe.parseProxyResponse)(n);n.write(`${c}\r `);let{connect:u,buffered:A}=await l;if(e.emit("proxyConnect",u),this.emit("proxyConnect",u,e),u.statusCode===200){if(e.once("socket",SCe),r.secureEndpoint){pp("Upgrading socket connection to TLS");let p=r.servername||r.host;return IJ.connect({...BJ(r,"host","path","port"),socket:n,servername:dp.isIP(p)?void 0:p})}return n}n.destroy();let d=new dp.Socket({writable:!1});return d.readable=!0,e.once("socket",p=>{pp("Replaying proxy buffer for failed request"),(0,wCe.default)(p.listenerCount("data")>0),p.push(A),p.push(null)}),d}};bE.protocols=["http","https"];qs.HttpsProxyAgent=bE;function SCe(t){t.resume()}o(SCe,"resume");function BJ(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(BJ,"omit")});var SJ=f(Gs=>{"use strict";var RCe=Gs&&Gs.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),TCe=Gs&&Gs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),NJ=Gs&&Gs.__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)&&RCe(e,t,r);return TCe(e,t),e},vCe=Gs&&Gs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Gs,"__esModule",{value:!0});Gs.HttpProxyAgent=void 0;var PCe=NJ(require("net")),kCe=NJ(require("tls")),DCe=vCe(BE()),_Ce=require("events"),LCe=yN(),xJ=require("url"),pu=(0,DCe.default)("http-proxy-agent"),QE=class extends LCe.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new xJ.URL(e):e,this.proxyHeaders=r?.headers??{},pu("Creating new HttpProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?MCe(r,"headers"):null,host:s,port:n}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:s}=this,n=r.secureEndpoint?"https:":"http:",i=e.getHeader("host")||"localhost",a=`${n}//${i}`,c=new xJ.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(s.username||s.password){let u=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;l["Proxy-Authorization"]=`Basic ${Buffer.from(u).toString("base64")}`}l["Proxy-Connection"]||(l["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let u of Object.keys(l)){let A=l[u];A&&e.setHeader(u,A)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let s,n;pu("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(pu("Patching connection write() output buffer with updated header"),s=e.outputData[0].data,n=s.indexOf(`\r \r `)+4,e.outputData[0].data=e._header+s.substring(n),pu("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(pu("Creating `tls.Socket`: %o",this.connectOpts),i=kCe.connect(this.connectOpts)):(pu("Creating `net.Socket`: %o",this.connectOpts),i=PCe.connect(this.connectOpts)),await(0,_Ce.once)(i,"connect"),i}};QE.protocols=["http","https"];Gs.HttpProxyAgent=QE;function MCe(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(MCe,"omit")});var jJ=f(FE=>{"use strict";Object.defineProperty(FE,"__esModule",{value:!0});FE.state=void 0;FE.state={instrumenterImplementation:void 0}});var p3=f(zE=>{"use strict";Object.defineProperty(zE,"__esModule",{value:!0});zE.state=void 0;zE.state={operationRequestMap:new WeakMap}});var VW=f(Pu=>{"use strict";Object.defineProperty(Pu,"__esModule",{value:!0});var rxe=require("os"),sxe=require("util");function nxe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(nxe,"_interopDefaultLegacy");var ixe=nxe(sxe);function oxe(t,...e){process.stderr.write(`${ixe.default.format(t,...e)}${rxe.EOL}`)}o(oxe,"log");var _W=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,MW,Wv=[],jv=[],uC=[];_W&&Kv(_W);var OW=Object.assign(t=>FW(t),{enable:Kv,enabled:Xv,disable:axe,log:oxe});function Kv(t){MW=t,Wv=[],jv=[];let e=/\*/g,r=t.split(",").map(s=>s.trim().replace(e,".*?"));for(let s of r)s.startsWith("-")?jv.push(new RegExp(`^${s.substr(1)}$`)):Wv.push(new RegExp(`^${s}$`));for(let s of uC)s.enabled=Xv(s.namespace)}o(Kv,"enable");function Xv(t){if(t.endsWith("*"))return!0;for(let e of jv)if(e.test(t))return!1;for(let e of Wv)if(e.test(t))return!0;return!1}o(Xv,"enabled");function axe(){let t=MW||"";return Kv(""),t}o(axe,"disable");function FW(t){let e=Object.assign(r,{enabled:Xv(t),destroy:cxe,log:OW.log,namespace:t,extend:lxe});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return o(r,"debug"),uC.push(e),e}o(FW,"createDebugger");function cxe(){let t=uC.indexOf(this);return t>=0?(uC.splice(t,1),!0):!1}o(cxe,"destroy");function lxe(t){let e=FW(`${this.namespace}:${t}`);return e.log=this.log,e}o(lxe,"extend");var em=OW,UW=new Set,cC=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,AC,dC=em("azure");dC.log=(...t)=>{em.log(...t)};var Zv=["verbose","info","warning","error"];cC&&(zW(cC)?qW(cC):console.error(`AZURE_LOG_LEVEL set to unknown log level '${cC}'; logging is not enabled. Acceptable values: ${Zv.join(", ")}.`));function qW(t){if(t&&!zW(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${Zv.join(",")}`);AC=t;let e=[];for(let r of UW)HW(r)&&e.push(r.namespace);em.enable(e.join(","))}o(qW,"setLogLevel");function uxe(){return AC}o(uxe,"getLogLevel");var LW={verbose:400,info:300,warning:200,error:100};function Axe(t){let e=dC.extend(t);return GW(dC,e),{error:lC(e,"error"),warning:lC(e,"warning"),info:lC(e,"info"),verbose:lC(e,"verbose")}}o(Axe,"createClientLogger");function GW(t,e){e.log=(...r)=>{t.log(...r)}}o(GW,"patchLogMethod");function lC(t,e){let r=Object.assign(t.extend(e),{level:e});if(GW(t,r),HW(r)){let s=em.disable();em.enable(s+","+r.namespace)}return UW.add(r),r}o(lC,"createLogger");function HW(t){return!!(AC&&LW[t.level]<=LW[AC])}o(HW,"shouldEnable");function zW(t){return Zv.includes(t)}o(zW,"isAzureLogLevel");Pu.AzureLogger=dC;Pu.createClientLogger=Axe;Pu.getLogLevel=uxe;Pu.setLogLevel=qW});var rP=f(rm=>{"use strict";Object.defineProperty(rm,"__esModule",{value:!0});var ku=new WeakMap,pC=new WeakMap,tm=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,ku.set(this,[]),pC.set(this,!1)}get aborted(){if(!pC.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return pC.get(this)}static get none(){return new t}addEventListener(e,r){if(!ku.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");ku.get(this).push(r)}removeEventListener(e,r){if(!ku.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let s=ku.get(this),n=s.indexOf(r);n>-1&&s.splice(n,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 $W(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=ku.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),pC.set(t,!0)}o($W,"abortSignal");var eP=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},tP=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new tm,!!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(){$W(this._signal)}static timeout(e){let r=new tm,s=setTimeout($W,e,r);return typeof s.unref=="function"&&s.unref(),r}};rm.AbortController=tP;rm.AbortError=eP;rm.AbortSignal=tm});var KW=f(lt=>{"use strict";Object.defineProperty(lt,"__esModule",{value:!0});var dxe=rP(),lP=require("crypto");function YW(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:n}=e??{};return new Promise((i,a)=>{function c(){a(new dxe.AbortError(n??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){s?.removeEventListener("abort",u)}o(l,"removeListeners");function u(){r?.(),l(),c()}if(o(u,"onAbort"),s?.aborted)return c();try{t(A=>{l(),i(A)},A=>{l(),a(A)})}catch(A){a(A)}s?.addEventListener("abort",u)})}o(YW,"createAbortablePromise");var pxe="The delay was aborted.";function mxe(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return YW(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:s,abortErrorMsg:n??pxe})}o(mxe,"delay");function hxe(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(hxe,"getRandomIntegerInclusive");function JW(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(JW,"isObject");function WW(t){if(JW(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(WW,"isError");function fxe(t){if(WW(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(fxe,"getErrorMessage");async function gxe(t,e,r){let s=Buffer.from(t,"base64");return lP.createHmac("sha256",s).update(e).digest(r)}o(gxe,"computeSha256Hmac");async function Exe(t,e){return lP.createHash("sha256").update(t).digest(e)}o(Exe,"computeSha256Hash");function uP(t){return typeof t<"u"&&t!==null}o(uP,"isDefined");function yxe(t,e){if(!uP(t)||typeof t!="object")return!1;for(let r of e)if(!jW(t,r))return!1;return!0}o(yxe,"isObjectWithProperties");function jW(t,e){return uP(t)&&typeof t=="object"&&e in t}o(jW,"objectHasProperty");function Cxe(){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(Cxe,"generateUUID");var sP,cP=typeof((sP=globalThis?.crypto)===null||sP===void 0?void 0:sP.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):lP.randomUUID;cP||(cP=Cxe);function Ixe(){return cP()}o(Ixe,"randomUUID");var nP,iP,oP,aP,Bxe=typeof window<"u"&&typeof window.document<"u",wxe=typeof self=="object"&&typeof self?.importScripts=="function"&&(((nP=self.constructor)===null||nP===void 0?void 0:nP.name)==="DedicatedWorkerGlobalScope"||((iP=self.constructor)===null||iP===void 0?void 0:iP.name)==="ServiceWorkerGlobalScope"||((oP=self.constructor)===null||oP===void 0?void 0:oP.name)==="SharedWorkerGlobalScope"),bxe=typeof process<"u"&&!!process.version&&!!(!((aP=process.versions)===null||aP===void 0)&&aP.node),Qxe=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",xxe=typeof Bun<"u"&&typeof Bun.version<"u",Nxe=typeof navigator<"u"&&navigator?.product==="ReactNative";function Sxe(t,e){switch(e){case"utf-8":return Pxe(t);case"base64":return Txe(t);case"base64url":return vxe(t)}}o(Sxe,"uint8ArrayToString");function Rxe(t,e){switch(e){case"utf-8":return kxe(t);case"base64":return Dxe(t);case"base64url":return _xe(t)}}o(Rxe,"stringToUint8Array");function Txe(t){return Buffer.from(t).toString("base64")}o(Txe,"uint8ArrayToBase64");function vxe(t){return Buffer.from(t).toString("base64url")}o(vxe,"uint8ArrayToBase64Url");function Pxe(t){return Buffer.from(t).toString("utf-8")}o(Pxe,"uint8ArrayToUtf8String");function kxe(t){return Buffer.from(t)}o(kxe,"utf8StringToUint8Array");function Dxe(t){return Buffer.from(t,"base64")}o(Dxe,"base64ToUint8Array");function _xe(t){return Buffer.from(t,"base64url")}o(_xe,"base64UrlToUint8Array");lt.computeSha256Hash=Exe;lt.computeSha256Hmac=gxe;lt.createAbortablePromise=YW;lt.delay=mxe;lt.getErrorMessage=fxe;lt.getRandomIntegerInclusive=hxe;lt.isBrowser=Bxe;lt.isBun=xxe;lt.isDefined=uP;lt.isDeno=Qxe;lt.isError=WW;lt.isNode=bxe;lt.isObject=JW;lt.isObjectWithProperties=yxe;lt.isReactNative=Nxe;lt.isWebWorker=wxe;lt.objectHasProperty=jW;lt.randomUUID=Ixe;lt.stringToUint8Array=Rxe;lt.uint8ArrayToString=Sxe});var E8=f(Nc=>{"use strict";Object.defineProperty(Nc,"__esModule",{value:!0});var Lxe=VW(),XW=rP(),Mxe=KW(),xc=Lxe.createClientLogger("core-lro"),e8=2e3,t8=["succeeded","canceled","failed"];function r8(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(r8,"deserializeState");function ZW(t){let{state:e,stateProxy:r,isOperationError:s}=t;return n=>{throw s(n)&&(r.setError(e,n),r.setFailed(e)),n}}o(ZW,"setStateError");function Oxe(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(Oxe,"appendReadableErrorMessage");function Fxe(t){let e=t.message,r=t.code,s=t;for(;s.innererror;)s=s.innererror,r=s.code,e=Oxe(e,s.message);return{code:r,message:e}}o(Fxe,"simplifyError");function s8(t){let{state:e,stateProxy:r,status:s,isDone:n,processResult:i,getError:a,response:c,setErrorAsResult:l}=t;switch(s){case"succeeded":{r.setSucceeded(e);break}case"failed":{let u=a?.(c),A="";if(u){let{code:p,message:m}=Fxe(u);A=`. ${p}. ${m}`}let d=`The long-running operation has failed${A}`;r.setError(e,new Error(d)),r.setFailed(e),xc.warning(d);break}case"canceled":{r.setCanceled(e);break}}(n?.(c,e)||n===void 0&&["succeeded","canceled"].concat(l?[]:["failed"]).includes(s))&&r.setResult(e,Uxe({response:c,state:e,processResult:i}))}o(s8,"processOperationStatus");function Uxe(t){let{processResult:e,response:r,state:s}=t;return e?e(r,s):r}o(Uxe,"buildResult");async function n8(t){let{init:e,stateProxy:r,processResult:s,getOperationStatus:n,withOperationLocation:i,setErrorAsResult:a}=t,{operationLocation:c,resourceLocation:l,metadata:u,response:A}=await e();c&&i?.(c,!1);let d={metadata:u,operationLocation:c,resourceLocation:l};xc.verbose("LRO: Operation description:",d);let p=r.initState(d),m=n({response:A,state:p,operationLocation:c});return s8({state:p,status:m,stateProxy:r,response:A,setErrorAsResult:a,processResult:s}),p}o(n8,"initOperation");async function qxe(t){let{poll:e,state:r,stateProxy:s,operationLocation:n,getOperationStatus:i,getResourceLocation:a,isOperationError:c,options:l}=t,u=await e(n,l).catch(ZW({state:r,stateProxy:s,isOperationError:c})),A=i(u,r);if(xc.verbose(`LRO: Status: Polling from: ${r.config.operationLocation} Operation status: ${A} Polling status: ${t8.includes(A)?"Stopped":"Running"}`),A==="succeeded"){let d=a(u,r);if(d!==void 0)return{response:await e(d).catch(ZW({state:r,stateProxy:s,isOperationError:c})),status:A}}return{response:u,status:A}}o(qxe,"pollOperationHelper");async function i8(t){let{poll:e,state:r,stateProxy:s,options:n,getOperationStatus:i,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:u,getPollingInterval:A,processResult:d,getError:p,updateState:m,setDelay:h,isDone:g,setErrorAsResult:C}=t,{operationLocation:E}=r.config;if(E!==void 0){let{response:y,status:I}=await qxe({poll:e,getOperationStatus:i,state:r,stateProxy:s,operationLocation:E,getResourceLocation:a,isOperationError:l,options:n});if(s8({status:I,response:y,state:r,stateProxy:s,isDone:g,processResult:d,getError:p,setErrorAsResult:C}),!t8.includes(I)){let B=A?.(y);B&&h(B);let N=c?.(y,r);if(N!==void 0){let S=E!==N;r.config.operationLocation=N,u?.(N,S)}else u?.(E,!1)}m?.(r,y)}}o(i8,"pollOperation");function o8(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(o8,"getOperationLocationPollingUrl");function a8(t){return t.headers.location}o(a8,"getLocationHeader");function c8(t){return t.headers["operation-location"]}o(c8,"getOperationLocationHeader");function l8(t){return t.headers["azure-asyncoperation"]}o(l8,"getAzureAsyncOperationHeader");function Gxe(t){var e;let{location:r,requestMethod:s,requestPath:n,resourceLocationConfig:i}=t;switch(s){case"PUT":return n;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:n;default:return a()}function a(){switch(i){case"azure-async-operation":return;case"original-uri":return n;default:return r}}o(a,"getDefault")}o(Gxe,"findResourceLocation");function u8(t){let{rawResponse:e,requestMethod:r,requestPath:s,resourceLocationConfig:n}=t,i=c8(e),a=l8(e),c=o8({operationLocation:i,azureAsyncOperation:a}),l=a8(e),u=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:Gxe({requestMethod:u,location:l,requestPath:s,resourceLocationConfig:n})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:u==="PUT"&&s?{mode:"Body",operationLocation:s}:void 0}o(u8,"inferLroMode");function A8(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 pP(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 xc.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(A8,"transformStatus");function Hxe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return A8({status:r,statusCode:t.statusCode})}o(Hxe,"getStatus");function zxe(t){var e,r;let{properties:s,provisioningState:n}=(e=t.body)!==null&&e!==void 0?e:{},i=(r=s?.provisioningState)!==null&&r!==void 0?r:n;return A8({status:i,statusCode:t.statusCode})}o(zxe,"getProvisioningState");function pP(t){return t===202?"running":t<300?"succeeded":"failed"}o(pP,"toOperationStatus");function d8({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?Vxe(new Date(e)):r*1e3}}o(d8,"parseRetryAfter");function p8(t){let e=t.flatResponse.error;if(!e){xc.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){xc.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(p8,"getErrorFromResponse");function Vxe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e{let a=await n.sendInitialRequest(),c=u8({rawResponse:a.rawResponse,requestPath:n.requestPath,requestMethod:n.requestMethod,resourceLocationConfig:r});return Object.assign({response:a,operationLocation:c?.operationLocation,resourceLocation:c?.resourceLocation},c?.mode?{metadata:{mode:c.mode}}:{})},"init"),stateProxy:e,processResult:s?({flatResponse:a},c)=>s(a,c):({flatResponse:a})=>a,getOperationStatus:m8,setErrorAsResult:i})}o($xe,"initHttpOperation");function h8({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return o8({operationLocation:c8(t),azureAsyncOperation:l8(t)});case"ResourceLocation":return a8(t);default:return}}o(h8,"getOperationLocation");function mP({rawResponse:t},e){var r;let s=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(s){case"OperationLocation":return Hxe(t);case"ResourceLocation":return pP(t.statusCode);case"Body":return zxe(t);default:throw new Error(`Internal error: Unexpected operation mode: ${s}`)}}o(mP,"getOperationStatus");function f8({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(f8,"getResourceLocation");function g8(t){return t.name==="RestError"}o(g8,"isOperationError");async function Yxe(t){let{lro:e,stateProxy:r,options:s,processResult:n,updateState:i,setDelay:a,state:c,setErrorAsResult:l}=t;return i8({state:c,stateProxy:r,setDelay:a,processResult:n?({flatResponse:u},A)=>n(u,A):({flatResponse:u})=>u,getError:p8,updateState:i,getPollingInterval:d8,getOperationLocation:h8,getOperationStatus:mP,isOperationError:g8,getResourceLocation:f8,options:s,poll:o(async(u,A)=>e.sendPollRequest(u,A),"poll"),setErrorAsResult:l})}o(Yxe,"pollHttpOperation");var Jxe=o(()=>({initState:o(t=>({status:"running",config:t}),"initState"),setCanceled:o(t=>t.status="canceled","setCanceled"),setError:o((t,e)=>t.error=e,"setError"),setResult:o((t,e)=>t.result=e,"setResult"),setRunning:o(t=>t.status="running","setRunning"),setSucceeded:o(t=>t.status="succeeded","setSucceeded"),setFailed:o(t=>t.status="failed","setFailed"),getError:o(t=>t.error,"getError"),getResult:o(t=>t.result,"getResult"),isCanceled:o(t=>t.status==="canceled","isCanceled"),isFailed:o(t=>t.status==="failed","isFailed"),isRunning:o(t=>t.status==="running","isRunning"),isSucceeded:o(t=>t.status==="succeeded","isSucceeded")}),"createStateProxy$1");function Wxe(t){let{getOperationLocation:e,getStatusFromInitialResponse:r,getStatusFromPollResponse:s,isOperationError:n,getResourceLocation:i,getPollingInterval:a,getError:c,resolveOnUnsuccessful:l}=t;return async({init:u,poll:A},d)=>{let{processResult:p,updateState:m,withOperationLocation:h,intervalInMs:g=e8,restoreFrom:C}=d||{},E=Jxe(),y=h?(()=>{let Pe=!1;return(Ae,Me)=>{Me?h(Ae):Pe||h(Ae),Pe=!0}})():void 0,I=C?r8(C):await n8({init:u,stateProxy:E,processResult:p,getOperationStatus:r,withOperationLocation:y,setErrorAsResult:!l}),B,N=new XW.AbortController,S=new Map,q=o(async()=>S.forEach(Pe=>Pe(I)),"handleProgressEvents"),ge="Operation was canceled",Te=g,Ne={getOperationState:o(()=>I,"getOperationState"),getResult:o(()=>I.result,"getResult"),isDone:o(()=>["succeeded","failed","canceled"].includes(I.status),"isDone"),isStopped:o(()=>B===void 0,"isStopped"),stopPolling:o(()=>{N.abort()},"stopPolling"),toString:o(()=>JSON.stringify({state:I}),"toString"),onProgress:o(Pe=>{let Ae=Symbol();return S.set(Ae,Pe),()=>S.delete(Ae)},"onProgress"),pollUntilDone:o(Pe=>B??(B=(async()=>{let{abortSignal:Ae}=Pe||{},{signal:Me}=Ae?new XW.AbortController([Ae,N.signal]):N;if(!Ne.isDone())for(await Ne.poll({abortSignal:Me});!Ne.isDone();)await Mxe.delay(Te,{abortSignal:Me}),await Ne.poll({abortSignal:Me});if(l)return Ne.getResult();switch(I.status){case"succeeded":return Ne.getResult();case"canceled":throw new Error(ge);case"failed":throw I.error;case"notStarted":case"running":throw new Error("Polling completed without succeeding or failing")}})().finally(()=>{B=void 0})),"pollUntilDone"),async poll(Pe){if(l){if(Ne.isDone())return}else switch(I.status){case"succeeded":return;case"canceled":throw new Error(ge);case"failed":throw I.error}if(await i8({poll:A,state:I,stateProxy:E,getOperationLocation:e,isOperationError:n,withOperationLocation:y,getPollingInterval:a,getOperationStatus:s,getResourceLocation:i,processResult:p,getError:c,updateState:m,options:Pe,setDelay:o(Ae=>{Te=Ae},"setDelay"),setErrorAsResult:!l}),await q(),!l)switch(I.status){case"canceled":throw new Error(ge);case"failed":throw I.error}}};return Ne}}o(Wxe,"buildCreatePoller");async function jxe(t,e){let{resourceLocationConfig:r,intervalInMs:s,processResult:n,restoreFrom:i,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return Wxe({getStatusFromInitialResponse:m8,getStatusFromPollResponse:mP,isOperationError:g8,getOperationLocation:h8,getResourceLocation:f8,getPollingInterval:d8,getError:p8,resolveOnUnsuccessful:l})({init:o(async()=>{let u=await t.sendInitialRequest(),A=u8({rawResponse:u.rawResponse,requestPath:t.requestPath,requestMethod:t.requestMethod,resourceLocationConfig:r});return Object.assign({response:u,operationLocation:A?.operationLocation,resourceLocation:A?.resourceLocation},A?.mode?{metadata:{mode:A.mode}}:{})},"init"),poll:t.sendPollRequest},{intervalInMs:s,withOperationLocation:c,restoreFrom:i,updateState:a,processResult:n?({flatResponse:u},A)=>n(u,A):({flatResponse:u})=>u})}o(jxe,"createHttpPoller");var Kxe=o(()=>({initState:o(t=>({config:t,isStarted:!0}),"initState"),setCanceled:o(t=>t.isCancelled=!0,"setCanceled"),setError:o((t,e)=>t.error=e,"setError"),setResult:o((t,e)=>t.result=e,"setResult"),setRunning:o(t=>t.isStarted=!0,"setRunning"),setSucceeded:o(t=>t.isCompleted=!0,"setSucceeded"),setFailed:o(()=>{},"setFailed"),getError:o(t=>t.error,"getError"),getResult:o(t=>t.result,"getResult"),isCanceled:o(t=>!!t.isCancelled,"isCanceled"),isFailed:o(t=>!!t.error,"isFailed"),isRunning:o(t=>!!t.isStarted,"isRunning"),isSucceeded:o(t=>!!(t.isCompleted&&!t.isCancelled&&!t.error),"isSucceeded")}),"createStateProxy"),AP=class{static{o(this,"GenericPollOperation")}constructor(e,r,s,n,i,a,c){this.state=e,this.lro=r,this.setErrorAsResult=s,this.lroResourceLocationConfig=n,this.processResult=i,this.updateState=a,this.isDone=c}setPollerConfig(e){this.pollerConfig=e}async update(e){var r;let s=Kxe();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await $xe({lro:this.lro,stateProxy:s,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult})));let n=this.updateState,i=this.isDone;return!this.state.isCompleted&&this.state.error===void 0&&await Yxe({lro:this.lro,state:this.state,stateProxy:s,processResult:this.processResult,updateState:n?(a,{rawResponse:c})=>n(a,c):void 0,isDone:i?({flatResponse:a},c)=>i(a,c):void 0,options:e,setDelay:o(a=>{this.pollerConfig.intervalInMs=a},"setDelay"),setErrorAsResult:this.setErrorAsResult}),(r=e?.fireProgress)===null||r===void 0||r.call(e,this.state),this}async cancel(){return xc.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},mC=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},hC=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},fC=class{static{o(this,"Poller")}constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((r,s)=>{this.resolve=r,this.reject=s}),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 hC("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 mC("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()}},dP=class extends fC{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:s=e8,resumeFrom:n,resolveOnUnsuccessful:i=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:u}=r||{},A=n?r8(n):{},d=new AP(A,e,!i,c,l,u,a);super(d),this.resolveOnUnsuccessful=i,this.config={intervalInMs:s},d.setPollerConfig(this.config)}delay(){return new Promise(e=>setTimeout(()=>e(),this.config.intervalInMs))}};Nc.LroEngine=dP;Nc.Poller=fC;Nc.PollerCancelledError=hC;Nc.PollerStoppedError=mC;Nc.createHttpPoller=jxe});var M8=f((Vnt,E0e)=>{E0e.exports={name:"@actions/cache",version:"6.1.0",description:"Actions cache lib",keywords:["github","actions","cache"],homepage:"https://github.com/actions/toolkit/tree/main/packages/cache",license:"MIT",type:"module",main:"lib/cache.js",types:"lib/cache.d.ts",exports:{".":{types:"./lib/cache.d.ts",import:"./lib/cache.js"}},directories:{lib:"lib",test:"__tests__"},files:["lib","!.DS_Store"],publishConfig:{access:"public"},repository:{type:"git",url:"git+https://github.com/actions/toolkit.git",directory:"packages/cache"},scripts:{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json",test:'echo "Error: run tests from root" && exit 1',tsc:"tsc && cp src/internal/shared/package-version.cjs lib/internal/shared/"},bugs:{url:"https://github.com/actions/toolkit/issues"},dependencies:{"@actions/core":"^3.0.1","@actions/exec":"^3.0.0","@actions/glob":"^0.6.1","@actions/http-client":"^4.0.1","@actions/io":"^3.0.2","@azure/core-rest-pipeline":"^1.23.0","@azure/storage-blob":"^12.31.0","@protobuf-ts/runtime-rpc":"^2.11.1",semver:"^7.7.4"},devDependencies:{"@protobuf-ts/plugin":"^2.11.1","@types/node":"^25.6.0","@types/semver":"^7.7.1",typescript:"^5.9.3"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var F8=f(($nt,O8)=>{var y0e=M8();O8.exports={version:y0e.version}});var RC=f(Ou=>{"use strict";Object.defineProperty(Ou,"__esModule",{value:!0});Ou.isJsonObject=Ou.typeofJsonValue=void 0;function N0e(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(N0e,"typeofJsonValue");Ou.typeofJsonValue=N0e;function S0e(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(S0e,"isJsonObject");Ou.isJsonObject=S0e});var vC=f(Fu=>{"use strict";Object.defineProperty(Fu,"__esModule",{value:!0});Fu.base64encode=Fu.base64decode=void 0;var ho="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),TC=[];for(let t=0;t>4,a=i,n=2;break;case 2:r[s++]=(a&15)<<4|(i&60)>>2,a=i,n=3;break;case 3:r[s++]=(a&3)<<6|i,n=0;break}}if(n==1)throw Error("invalid base64 string.");return r.subarray(0,s)}o(R0e,"base64decode");Fu.base64decode=R0e;function T0e(t){let e="",r=0,s,n=0;for(let i=0;i>2],n=(s&3)<<4,r=1;break;case 1:e+=ho[n|s>>4],n=(s&15)<<2,r=2;break;case 2:e+=ho[n|s>>6],e+=ho[s&63],r=0;break}return r&&(e+=ho[n],e+="=",r==1&&(e+="=")),e}o(T0e,"base64encode");Fu.base64encode=T0e});var V8=f(PC=>{"use strict";Object.defineProperty(PC,"__esModule",{value:!0});PC.utf8read=void 0;var bP=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function v0e(t){if(t.length<1)return"";let e=0,r=[],s=[],n=0,i,a=t.length;for(;e191&&i<224?s[n++]=(i&31)<<6|t[e++]&63:i>239&&i<365?(i=((i&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,s[n++]=55296+(i>>10),s[n++]=56320+(i&1023)):s[n++]=(i&15)<<12|(t[e++]&63)<<6|t[e++]&63,n>8191&&(r.push(bP(s)),n=0);return r.length?(n&&r.push(bP(s.slice(0,n))),r.join("")):bP(s.slice(0,n))}o(v0e,"utf8read");PC.utf8read=v0e});var um=f(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.WireType=Qi.mergeBinaryOptions=Qi.UnknownFieldHandler=void 0;var P0e;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,s,n,i,a)=>{(e(s)?s[t.symbol]:s[t.symbol]=[]).push({no:n,wireType:i,data:a})},t.onWrite=(r,s,n)=>{for(let{no:i,wireType:a,data:c}of t.list(s))n.tag(i,a).raw(c)},t.list=(r,s)=>{if(e(r)){let n=r[t.symbol];return s?n.filter(i=>i.no==s):n}return[]},t.last=(r,s)=>t.list(r,s).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})(P0e=Qi.UnknownFieldHandler||(Qi.UnknownFieldHandler={}));function k0e(t,e){return Object.assign(Object.assign({},t),e)}o(k0e,"mergeBinaryOptions");Qi.mergeBinaryOptions=k0e;var D0e;(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"})(D0e=Qi.WireType||(Qi.WireType={}))});var DC=f(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});Vr.varint32read=Vr.varint32write=Vr.int64toString=Vr.int64fromString=Vr.varint64write=Vr.varint64read=void 0;function _0e(){let t=0,e=0;for(let s=0;s<28;s+=7){let n=this.buf[this.pos++];if(t|=(n&127)<>4,(r&128)==0)return this.assertBounds(),[t,e];for(let s=3;s<=31;s+=7){let n=this.buf[this.pos++];if(e|=(n&127)<>>i,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let s=t>>>28&15|(e&7)<<4,n=e>>3!=0;if(r.push((n?s|128:s)&255),!!n){for(let i=3;i<31;i=i+7){let a=e>>>i,c=!!(a>>>7),l=(c?a|128:a)&255;if(r.push(l),!c)return}r.push(e>>>31&1)}}o(L0e,"varint64write");Vr.varint64write=L0e;var kC=65536*65536;function M0e(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,s=0,n=0;function i(a,c){let l=Number(t.slice(a,c));n*=r,s=s*r+l,s>=kC&&(n=n+(s/kC|0),s=s%kC)}return o(i,"add1e6digit"),i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,s,n]}o(M0e,"int64fromString");Vr.int64fromString=M0e;function O0e(t,e){if(e>>>0<=2097151)return""+(kC*e+(t>>>0));let r=t&16777215,s=(t>>>24|e<<8)>>>0&16777215,n=e>>16&65535,i=r+s*6777216+n*6710656,a=s+n*8147497,c=n*2,l=1e7;i>=l&&(a+=Math.floor(i/l),i%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function u(A,d){let p=A?String(A):"";return d?"0000000".slice(p.length)+p:p}return o(u,"decimalFrom1e7"),u(c,0)+u(a,c)+u(i,1)}o(O0e,"int64toString");Vr.int64toString=O0e;function F0e(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(F0e,"varint32write");Vr.varint32write=F0e;function U0e(){let t=this.buf[this.pos++],e=t&127;if((t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<7,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<14,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<21,(t&128)==0)return this.assertBounds(),e;t=this.buf[this.pos++],e|=(t&15)<<28;for(let r=5;(t&128)!==0&&r<10;r++)t=this.buf[this.pos++];if((t&128)!=0)throw new Error("invalid varint");return this.assertBounds(),e>>>0}o(U0e,"varint32read");Vr.varint32read=U0e});var Aa=f(ua=>{"use strict";Object.defineProperty(ua,"__esModule",{value:!0});ua.PbLong=ua.PbULong=ua.detectBi=void 0;var Am=DC(),Le;function $8(){let t=new DataView(new ArrayBuffer(8));Le=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($8,"detectBi");ua.detectBi=$8;$8();function Y8(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(Y8,"assertBi");var J8=/^-?[0-9]+$/,LC=4294967296,_C=2147483648,MC=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*LC+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},dm=class t extends MC{static{o(this,"PbULong")}static from(e){if(Le)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Le.C(e);case"number":if(e===0)return this.ZERO;e=Le.C(e);case"bigint":if(!e)return this.ZERO;if(eLe.UMAX)throw new Error("ulong too large");return Le.V.setBigUint64(0,e,!0),new t(Le.V.getInt32(0,!0),Le.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!J8.test(e))throw new Error("string is no integer");let[r,s,n]=Am.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(s,n);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/LC)}throw new Error("unknown value "+typeof e)}toString(){return Le?this.toBigInt().toString():Am.int64toString(this.lo,this.hi)}toBigInt(){return Y8(Le),Le.V.setInt32(0,this.lo,!0),Le.V.setInt32(4,this.hi,!0),Le.V.getBigUint64(0,!0)}};ua.PbULong=dm;dm.ZERO=new dm(0,0);var pm=class t extends MC{static{o(this,"PbLong")}static from(e){if(Le)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Le.C(e);case"number":if(e===0)return this.ZERO;e=Le.C(e);case"bigint":if(!e)return this.ZERO;if(eLe.MAX)throw new Error("signed long too large");return Le.V.setBigInt64(0,e,!0),new t(Le.V.getInt32(0,!0),Le.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!J8.test(e))throw new Error("string is no integer");let[r,s,n]=Am.int64fromString(e);if(r){if(n>_C||n==_C&&s!=0)throw new Error("signed long too small")}else if(n>=_C)throw new Error("signed long too large");let i=new t(s,n);return r?i.negate():i;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/LC):new t(-e,-e/LC).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&_C)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(Le)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+Am.int64toString(e.lo,e.hi)}return Am.int64toString(this.lo,this.hi)}toBigInt(){return Y8(Le),Le.V.setInt32(0,this.lo,!0),Le.V.setInt32(4,this.hi,!0),Le.V.getBigInt64(0,!0)}};ua.PbLong=pm;pm.ZERO=new pm(0,0)});var QP=f(qu=>{"use strict";Object.defineProperty(qu,"__esModule",{value:!0});qu.BinaryReader=qu.binaryReadOptions=void 0;var Uu=um(),mm=Aa(),W8=DC(),j8={readUnknownField:!0,readerFactory:o(t=>new OC(t),"readerFactory")};function q0e(t){return t?Object.assign(Object.assign({},j8),t):j8}o(q0e,"binaryReadOptions");qu.binaryReadOptions=q0e;var OC=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=W8.varint64read,this.uint32=W8.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,s=e&7;if(r<=0||s<0||s>5)throw new Error("illegal tag: field no "+r+" wire type "+s);return[r,s]}skip(e){let r=this.pos;switch(e){case Uu.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case Uu.WireType.Bit64:this.pos+=4;case Uu.WireType.Bit32:this.pos+=4;break;case Uu.WireType.LengthDelimited:let s=this.uint32();this.pos+=s;break;case Uu.WireType.StartGroup:let n;for(;(n=this.tag()[1])!==Uu.WireType.EndGroup;)this.skip(n);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 mm.PbLong(...this.varint64())}uint64(){return new mm.PbULong(...this.varint64())}sint64(){let[e,r]=this.varint64(),s=-(e&1);return e=(e>>>1|(r&1)<<31)^s,r=r>>>1^s,new mm.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 mm.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new mm.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())}};qu.BinaryReader=OC});var Gu=f(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws.assertFloat32=Ws.assertUInt32=Ws.assertInt32=Ws.assertNever=Ws.assert=void 0;function G0e(t,e){if(!t)throw new Error(e)}o(G0e,"assert");Ws.assert=G0e;function H0e(t,e){throw new Error(e??"Unexpected object: "+t)}o(H0e,"assertNever");Ws.assertNever=H0e;var z0e=34028234663852886e22,V0e=-34028234663852886e22,$0e=4294967295,Y0e=2147483647,J0e=-2147483648;function W0e(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>Y0e||t$0e||t<0)throw new Error("invalid uint 32: "+t)}o(j0e,"assertUInt32");Ws.assertUInt32=j0e;function K0e(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>z0e||t{"use strict";Object.defineProperty(zu,"__esModule",{value:!0});zu.BinaryWriter=zu.binaryWriteOptions=void 0;var hm=Aa(),fm=DC(),Hu=Gu(),K8={writeUnknownFields:!0,writerFactory:o(()=>new FC,"writerFactory")};function X0e(t){return t?Object.assign(Object.assign({},K8),t):K8}o(X0e,"binaryWriteOptions");zu.binaryWriteOptions=X0e;var FC=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 n=0;n>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(Hu.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return Hu.assertInt32(e),fm.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){Hu.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){Hu.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){Hu.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return Hu.assertInt32(e),e=(e<<1^e>>31)>>>0,fm.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),s=new DataView(r.buffer),n=hm.PbLong.from(e);return s.setInt32(0,n.lo,!0),s.setInt32(4,n.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),s=new DataView(r.buffer),n=hm.PbULong.from(e);return s.setInt32(0,n.lo,!0),s.setInt32(4,n.hi,!0),this.raw(r)}int64(e){let r=hm.PbLong.from(e);return fm.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=hm.PbLong.from(e),s=r.hi>>31,n=r.lo<<1^s,i=(r.hi<<1|r.lo>>>31)^s;return fm.varint64write(n,i,this.buf),this}uint64(e){let r=hm.PbULong.from(e);return fm.varint64write(r.lo,r.hi,this.buf),this}};zu.BinaryWriter=FC});var NP=f(da=>{"use strict";Object.defineProperty(da,"__esModule",{value:!0});da.mergeJsonOptions=da.jsonWriteOptions=da.jsonReadOptions=void 0;var X8={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},Z8={ignoreUnknownFields:!1};function Z0e(t){return t?Object.assign(Object.assign({},Z8),t):Z8}o(Z0e,"jsonReadOptions");da.jsonReadOptions=Z0e;function eNe(t){return t?Object.assign(Object.assign({},X8),t):X8}o(eNe,"jsonWriteOptions");da.jsonWriteOptions=eNe;function tNe(t,e){var r,s;let n=Object.assign(Object.assign({},t),e);return n.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(s=e?.typeRegistry)!==null&&s!==void 0?s:[]],n}o(tNe,"mergeJsonOptions");da.mergeJsonOptions=tNe});var gm=f(UC=>{"use strict";Object.defineProperty(UC,"__esModule",{value:!0});UC.MESSAGE_TYPE=void 0;UC.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var SP=f(qC=>{"use strict";Object.defineProperty(qC,"__esModule",{value:!0});qC.lowerCamelCase=void 0;function rNe(t){let e=!1,r=[];for(let s=0;s{"use strict";Object.defineProperty(Lt,"__esModule",{value:!0});Lt.readMessageOption=Lt.readFieldOption=Lt.readFieldOptions=Lt.normalizeFieldInfo=Lt.RepeatType=Lt.LongType=Lt.ScalarType=void 0;var e5=SP(),sNe;(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"})(sNe=Lt.ScalarType||(Lt.ScalarType={}));var nNe;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(nNe=Lt.LongType||(Lt.LongType={}));var t5;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(t5=Lt.RepeatType||(Lt.RepeatType={}));function iNe(t){var e,r,s,n;return t.localName=(e=t.localName)!==null&&e!==void 0?e:e5.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:e5.lowerCamelCase(t.name),t.repeat=(s=t.repeat)!==null&&s!==void 0?s:t5.NO,t.opt=(n=t.opt)!==null&&n!==void 0?n:t.repeat||t.oneof?!1:t.kind=="message",t}o(iNe,"normalizeFieldInfo");Lt.normalizeFieldInfo=iNe;function oNe(t,e,r,s){var n;let i=(n=t.fields.find((a,c)=>a.localName==e||c==e))===null||n===void 0?void 0:n.options;return i&&i[r]?s.fromJson(i[r]):void 0}o(oNe,"readFieldOptions");Lt.readFieldOptions=oNe;function aNe(t,e,r,s){var n;let i=(n=t.fields.find((c,l)=>c.localName==e||l==e))===null||n===void 0?void 0:n.options;if(!i)return;let a=i[r];return a===void 0?a:s?s.fromJson(a):a}o(aNe,"readFieldOption");Lt.readFieldOption=aNe;function cNe(t,e,r){let n=t.options[e];return n===void 0?n:r?r.fromJson(n):n}o(cNe,"readMessageOption");Lt.readMessageOption=cNe});var RP=f($r=>{"use strict";Object.defineProperty($r,"__esModule",{value:!0});$r.getSelectedOneofValue=$r.clearOneofValue=$r.setUnknownOneofValue=$r.setOneofValue=$r.getOneofValue=$r.isOneofGroup=void 0;function lNe(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(lNe,"isOneofGroup");$r.isOneofGroup=lNe;function uNe(t,e){return t[e]}o(uNe,"getOneofValue");$r.getOneofValue=uNe;function ANe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(ANe,"setOneofValue");$r.setOneofValue=ANe;function dNe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(dNe,"setUnknownOneofValue");$r.setUnknownOneofValue=dNe;function pNe(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(pNe,"clearOneofValue");$r.clearOneofValue=pNe;function mNe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(mNe,"getSelectedOneofValue");$r.getSelectedOneofValue=mNe});var vP=f(GC=>{"use strict";Object.defineProperty(GC,"__esModule",{value:!0});GC.ReflectionTypeCheck=void 0;var ut=Nn(),hNe=RP(),TP=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=[],s=[];for(let n of this.fields)if(n.oneof)s.includes(n.oneof)||(s.push(n.oneof),e.push(n.oneof),r.push(n.oneof));else switch(r.push(n.localName),n.kind){case"scalar":case"enum":(!n.opt||n.repeat)&&e.push(n.localName);break;case"message":n.repeat&&e.push(n.localName);break;case"map":e.push(n.localName);break}this.data={req:e,known:r,oneofs:Object.values(s)}}is(e,r,s=!1){if(r<0)return!0;if(e==null||typeof e!="object")return!1;this.prepare();let n=Object.keys(e),i=this.data;if(n.length!n.includes(a))||!s&&n.some(a=>!i.known.includes(a)))return!1;if(r<1)return!0;for(let a of i.oneofs){let c=e[a];if(!hNe.isOneofGroup(c))return!1;if(c.oneofKind===void 0)continue;let l=this.fields.find(u=>u.localName===c.oneofKind);if(!l||!this.field(c[c.oneofKind],l,s,r))return!1}for(let a of this.fields)if(a.oneof===void 0&&!this.field(e[a.localName],a,s,r))return!1;return!0}field(e,r,s,n){let i=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:i?this.scalars(e,r.T,n,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:i?this.scalars(e,ut.ScalarType.INT32,n):this.scalar(e,ut.ScalarType.INT32);case"message":return e===void 0?!0:i?this.messages(e,r.T(),s,n):this.message(e,r.T(),s,n);case"map":if(typeof e!="object"||e===null)return!1;if(n<2)return!0;if(!this.mapKeys(e,r.K,n))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,n,r.V.L);case"enum":return this.scalars(Object.values(e),ut.ScalarType.INT32,n);case"message":return this.messages(Object.values(e),r.V.T(),s,n)}break}return!0}message(e,r,s,n){return s?r.isAssignable(e,n):r.is(e,n)}messages(e,r,s,n){if(!Array.isArray(e))return!1;if(n<2)return!0;if(s){for(let i=0;iparseInt(i)),r,s);case ut.ScalarType.BOOL:return this.scalars(n.slice(0,s).map(i=>i=="true"?!0:i=="false"?!1:i),r,s);default:return this.scalars(n,r,s,ut.LongType.STRING)}}};GC.ReflectionTypeCheck=TP});var zC=f(HC=>{"use strict";Object.defineProperty(HC,"__esModule",{value:!0});HC.reflectionLongConvert=void 0;var r5=Nn();function fNe(t,e){switch(e){case r5.LongType.BIGINT:return t.toBigInt();case r5.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(fNe,"reflectionLongConvert");HC.reflectionLongConvert=fNe});var kP=f(YC=>{"use strict";Object.defineProperty(YC,"__esModule",{value:!0});YC.ReflectionJsonReader=void 0;var s5=RC(),gNe=vC(),Mt=Nn(),VC=Aa(),Rc=Gu(),$C=zC(),PP=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 s of r)this.fMap[s.name]=s,this.fMap[s.jsonName]=s,this.fMap[s.localName]=s}}assert(e,r,s){if(!e){let n=s5.typeofJsonValue(s);throw(n=="number"||n=="boolean")&&(n=s.toString()),new Error(`Cannot parse JSON ${n} for ${this.info.typeName}#${r}`)}}read(e,r,s){this.prepare();let n=[];for(let[i,a]of Object.entries(e)){let c=this.fMap[i];if(!c){if(!s.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${i}`);continue}let l=c.localName,u;if(c.oneof){if(a===null&&(c.kind!=="enum"||c.T()[0]!=="google.protobuf.NullValue"))continue;if(n.includes(c.oneof))throw new Error(`Multiple members of the oneof group "${c.oneof}" of ${this.info.typeName} are present in JSON.`);n.push(c.oneof),u=r[c.oneof]={oneofKind:l}}else u=r;if(c.kind=="map"){if(a===null)continue;this.assert(s5.isJsonObject(a),c.name,a);let A=u[l];for(let[d,p]of Object.entries(a)){this.assert(p!==null,c.name+" map value",null);let m;switch(c.V.kind){case"message":m=c.V.T().internalJsonRead(p,s);break;case"enum":if(m=this.enum(c.V.T(),p,c.name,s.ignoreUnknownFields),m===!1)continue;break;case"scalar":m=this.scalar(p,c.V.T,c.V.L,c.name);break}this.assert(m!==void 0,c.name+" map value",p);let h=d;c.K==Mt.ScalarType.BOOL&&(h=h=="true"?!0:h=="false"?!1:h),h=this.scalar(h,c.K,Mt.LongType.STRING,c.name).toString(),A[h]=m}}else if(c.repeat){if(a===null)continue;this.assert(Array.isArray(a),c.name,a);let A=u[l];for(let d of a){this.assert(d!==null,c.name,null);let p;switch(c.kind){case"message":p=c.T().internalJsonRead(d,s);break;case"enum":if(p=this.enum(c.T(),d,c.name,s.ignoreUnknownFields),p===!1)continue;break;case"scalar":p=this.scalar(d,c.T,c.L,c.name);break}this.assert(p!==void 0,c.name,a),A.push(p)}}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}u[l]=c.T().internalJsonRead(a,s,u[l]);break;case"enum":if(a===null)continue;let A=this.enum(c.T(),a,c.name,s.ignoreUnknownFields);if(A===!1)continue;u[l]=A;break;case"scalar":if(a===null)continue;u[l]=this.scalar(a,c.T,c.L,c.name);break}}}enum(e,r,s,n){if(e[0]=="google.protobuf.NullValue"&&Rc.assert(r===null||r==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${s}, enum ${e[0]} only accepts null.`),r===null)return 0;switch(typeof r){case"number":return Rc.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${s}, enum can only be integral number, got ${r}.`),r;case"string":let i=r;e[2]&&r.substring(0,e[2].length)===e[2]&&(i=r.substring(e[2].length));let a=e[1][i];return typeof a>"u"&&n?!1:(Rc.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${s}, enum ${e[0]} has no value for "${r}".`),a)}Rc.assert(!1,`Unable to parse field ${this.info.typeName}#${s}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,s,n){let i;try{switch(r){case Mt.ScalarType.DOUBLE:case Mt.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===""){i="empty string";break}if(typeof e=="string"&&e.trim().length!==e.length){i="extra whitespace";break}if(typeof e!="string"&&typeof e!="number")break;let a=Number(e);if(Number.isNaN(a)){i="not a number";break}if(!Number.isFinite(a)){i="too large or small";break}return r==Mt.ScalarType.FLOAT&&Rc.assertFloat32(a),a;case Mt.ScalarType.INT32:case Mt.ScalarType.FIXED32:case Mt.ScalarType.SFIXED32:case Mt.ScalarType.SINT32:case Mt.ScalarType.UINT32:if(e===null)return 0;let c;if(typeof e=="number"?c=e:e===""?i="empty string":typeof e=="string"&&(e.trim().length!==e.length?i="extra whitespace":c=Number(e)),c===void 0)break;return r==Mt.ScalarType.UINT32?Rc.assertUInt32(c):Rc.assertInt32(c),c;case Mt.ScalarType.INT64:case Mt.ScalarType.SFIXED64:case Mt.ScalarType.SINT64:if(e===null)return $C.reflectionLongConvert(VC.PbLong.ZERO,s);if(typeof e!="number"&&typeof e!="string")break;return $C.reflectionLongConvert(VC.PbLong.from(e),s);case Mt.ScalarType.FIXED64:case Mt.ScalarType.UINT64:if(e===null)return $C.reflectionLongConvert(VC.PbULong.ZERO,s);if(typeof e!="number"&&typeof e!="string")break;return $C.reflectionLongConvert(VC.PbULong.from(e),s);case Mt.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Mt.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){i="extra whitespace";break}try{encodeURIComponent(e)}catch(l){l="invalid UTF8";break}return e;case Mt.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return gNe.base64decode(e)}}catch(a){i=a.message}this.assert(!1,n+(i?" - "+i:""),e)}};YC.ReflectionJsonReader=PP});var _P=f(JC=>{"use strict";Object.defineProperty(JC,"__esModule",{value:!0});JC.ReflectionJsonWriter=void 0;var ENe=vC(),n5=Aa(),Qr=Nn(),Ze=Gu(),DP=class{static{o(this,"ReflectionJsonWriter")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let s={},n=e;for(let i of this.fields){if(!i.oneof){let u=this.field(i,n[i.localName],r);u!==void 0&&(s[r.useProtoFieldName?i.name:i.jsonName]=u);continue}let a=n[i.oneof];if(a.oneofKind!==i.localName)continue;let c=i.kind=="scalar"||i.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,l=this.field(i,a[i.localName],c);Ze.assert(l!==void 0),s[r.useProtoFieldName?i.name:i.jsonName]=l}return s}field(e,r,s){let n;if(e.kind=="map"){Ze.assert(typeof r=="object"&&r!==null);let i={};switch(e.V.kind){case"scalar":for(let[l,u]of Object.entries(r)){let A=this.scalar(e.V.T,u,e.name,!1,!0);Ze.assert(A!==void 0),i[l.toString()]=A}break;case"message":let a=e.V.T();for(let[l,u]of Object.entries(r)){let A=this.message(a,u,e.name,s);Ze.assert(A!==void 0),i[l.toString()]=A}break;case"enum":let c=e.V.T();for(let[l,u]of Object.entries(r)){Ze.assert(u===void 0||typeof u=="number");let A=this.enum(c,u,e.name,!1,!0,s.enumAsInteger);Ze.assert(A!==void 0),i[l.toString()]=A}break}(s.emitDefaultValues||Object.keys(i).length>0)&&(n=i)}else if(e.repeat){Ze.assert(Array.isArray(r));let i=[];switch(e.kind){case"scalar":for(let l=0;l0||s.emitDefaultValues)&&(n=i)}else switch(e.kind){case"scalar":n=this.scalar(e.T,r,e.name,e.opt,s.emitDefaultValues);break;case"enum":n=this.enum(e.T(),r,e.name,e.opt,s.emitDefaultValues,s.enumAsInteger);break;case"message":n=this.message(e.T(),r,e.name,s);break}return n}enum(e,r,s,n,i,a){if(e[0]=="google.protobuf.NullValue")return!i&&!n?void 0:null;if(r===void 0){Ze.assert(n);return}if(!(r===0&&!i&&!n))return Ze.assert(typeof r=="number"),Ze.assert(Number.isInteger(r)),a||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,s,n){return r===void 0?n.emitDefaultValues?null:void 0:e.internalJsonWrite(r,n)}scalar(e,r,s,n,i){if(r===void 0){Ze.assert(n);return}let a=i||n;switch(e){case Qr.ScalarType.INT32:case Qr.ScalarType.SFIXED32:case Qr.ScalarType.SINT32:return r===0?a?0:void 0:(Ze.assertInt32(r),r);case Qr.ScalarType.FIXED32:case Qr.ScalarType.UINT32:return r===0?a?0:void 0:(Ze.assertUInt32(r),r);case Qr.ScalarType.FLOAT:Ze.assertFloat32(r);case Qr.ScalarType.DOUBLE:return r===0?a?0:void 0:(Ze.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case Qr.ScalarType.STRING:return r===""?a?"":void 0:(Ze.assert(typeof r=="string"),r);case Qr.ScalarType.BOOL:return r===!1?a?!1:void 0:(Ze.assert(typeof r=="boolean"),r);case Qr.ScalarType.UINT64:case Qr.ScalarType.FIXED64:Ze.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=n5.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case Qr.ScalarType.INT64:case Qr.ScalarType.SFIXED64:case Qr.ScalarType.SINT64:Ze.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=n5.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case Qr.ScalarType.BYTES:return Ze.assert(r instanceof Uint8Array),r.byteLength?ENe.base64encode(r):a?"":void 0}}};JC.ReflectionJsonWriter=DP});var jC=f(WC=>{"use strict";Object.defineProperty(WC,"__esModule",{value:!0});WC.reflectionScalarDefault=void 0;var Sn=Nn(),i5=zC(),o5=Aa();function yNe(t,e=Sn.LongType.STRING){switch(t){case Sn.ScalarType.BOOL:return!1;case Sn.ScalarType.UINT64:case Sn.ScalarType.FIXED64:return i5.reflectionLongConvert(o5.PbULong.ZERO,e);case Sn.ScalarType.INT64:case Sn.ScalarType.SFIXED64:case Sn.ScalarType.SINT64:return i5.reflectionLongConvert(o5.PbLong.ZERO,e);case Sn.ScalarType.DOUBLE:case Sn.ScalarType.FLOAT:return 0;case Sn.ScalarType.BYTES:return new Uint8Array(0);case Sn.ScalarType.STRING:return"";default:return 0}}o(yNe,"reflectionScalarDefault");WC.reflectionScalarDefault=yNe});var MP=f(KC=>{"use strict";Object.defineProperty(KC,"__esModule",{value:!0});KC.ReflectionBinaryReader=void 0;var a5=um(),It=Nn(),Em=zC(),c5=jC(),LP=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(s=>[s.no,s]))}}read(e,r,s,n){this.prepare();let i=n===void 0?e.len:e.pos+n;for(;e.pos{"use strict";Object.defineProperty(XC,"__esModule",{value:!0});XC.ReflectionBinaryWriter=void 0;var ys=um(),Ue=Nn(),Vu=Gu(),ym=Aa(),OP=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,s)=>r.no-s.no)}}write(e,r,s){this.prepare();for(let i of this.fields){let a,c,l=i.repeat,u=i.localName;if(i.oneof){let A=e[i.oneof];if(A.oneofKind!==u)continue;a=A[u],c=!0}else a=e[u],c=!1;switch(i.kind){case"scalar":case"enum":let A=i.kind=="enum"?Ue.ScalarType.INT32:i.T;if(l)if(Vu.assert(Array.isArray(a)),l==Ue.RepeatType.PACKED)this.packed(r,A,i.no,a);else for(let d of a)this.scalar(r,A,i.no,d,!0);else a===void 0?Vu.assert(i.opt):this.scalar(r,A,i.no,a,c||i.opt);break;case"message":if(l){Vu.assert(Array.isArray(a));for(let d of a)this.message(r,s,i.T(),i.no,d)}else this.message(r,s,i.T(),i.no,a);break;case"map":Vu.assert(typeof a=="object"&&a!==null);for(let[d,p]of Object.entries(a))this.mapEntry(r,s,i,d,p);break}}let n=s.writeUnknownFields;n!==!1&&(n===!0?ys.UnknownFieldHandler.onWrite:n)(this.info.typeName,e,r)}mapEntry(e,r,s,n,i){e.tag(s.no,ys.WireType.LengthDelimited),e.fork();let a=n;switch(s.K){case Ue.ScalarType.INT32:case Ue.ScalarType.FIXED32:case Ue.ScalarType.UINT32:case Ue.ScalarType.SFIXED32:case Ue.ScalarType.SINT32:a=Number.parseInt(n);break;case Ue.ScalarType.BOOL:Vu.assert(n=="true"||n=="false"),a=n=="true";break}switch(this.scalar(e,s.K,1,a,!0),s.V.kind){case"scalar":this.scalar(e,s.V.T,2,i,!0);break;case"enum":this.scalar(e,Ue.ScalarType.INT32,2,i,!0);break;case"message":this.message(e,r,s.V.T(),2,i);break}e.join()}message(e,r,s,n,i){i!==void 0&&(s.internalBinaryWrite(i,e.tag(n,ys.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,s,n,i){let[a,c,l]=this.scalarInfo(r,n);(!l||i)&&(e.tag(s,a),e[c](n))}packed(e,r,s,n){if(!n.length)return;Vu.assert(r!==Ue.ScalarType.BYTES&&r!==Ue.ScalarType.STRING),e.tag(s,ys.WireType.LengthDelimited),e.fork();let[,i]=this.scalarInfo(r);for(let a=0;a{"use strict";Object.defineProperty(ZC,"__esModule",{value:!0});ZC.reflectionCreate=void 0;var CNe=jC(),INe=gm();function BNe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},INe.MESSAGE_TYPE,{value:t});for(let r of t.fields){let s=r.localName;if(!r.opt)if(r.oneof)e[r.oneof]={oneofKind:void 0};else if(r.repeat)e[s]=[];else switch(r.kind){case"scalar":e[s]=CNe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[s]=0;break;case"map":e[s]={};break}}return e}o(BNe,"reflectionCreate");ZC.reflectionCreate=BNe});var qP=f(eI=>{"use strict";Object.defineProperty(eI,"__esModule",{value:!0});eI.reflectionMergePartial=void 0;function wNe(t,e,r){let s,n=r,i;for(let a of t.fields){let c=a.localName;if(a.oneof){let l=n[a.oneof];if(l?.oneofKind==null)continue;if(s=l[c],i=e[a.oneof],i.oneofKind=l.oneofKind,s==null){delete i[c];continue}}else if(s=n[c],i=e,s==null)continue;switch(a.repeat&&(i[c].length=s.length),a.kind){case"scalar":case"enum":if(a.repeat)for(let u=0;u{"use strict";Object.defineProperty(rI,"__esModule",{value:!0});rI.reflectionEquals=void 0;var GP=Nn();function bNe(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let s of t.fields){let n=s.localName,i=s.oneof?e[s.oneof][n]:e[n],a=s.oneof?r[s.oneof][n]:r[n];switch(s.kind){case"enum":case"scalar":let c=s.kind=="enum"?GP.ScalarType.INT32:s.T;if(!(s.repeat?l5(c,i,a):A5(c,i,a)))return!1;break;case"map":if(!(s.V.kind=="message"?u5(s.V.T(),tI(i),tI(a)):l5(s.V.kind=="enum"?GP.ScalarType.INT32:s.V.T,tI(i),tI(a))))return!1;break;case"message":let l=s.T();if(!(s.repeat?u5(l,i,a):l.equals(i,a)))return!1;break}}return!0}o(bNe,"reflectionEquals");rI.reflectionEquals=bNe;var tI=Object.values;function A5(t,e,r){if(e===r)return!0;if(t!==GP.ScalarType.BYTES)return!1;let s=e,n=r;if(s.length!==n.length)return!1;for(let i=0;i{"use strict";Object.defineProperty(sI,"__esModule",{value:!0});sI.MessageType=void 0;var QNe=gm(),xNe=Nn(),NNe=vP(),SNe=kP(),RNe=_P(),TNe=MP(),vNe=FP(),PNe=UP(),zP=qP(),kNe=RC(),d5=NP(),DNe=HP(),_Ne=xP(),LNe=QP(),p5=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),MNe=p5[QNe.MESSAGE_TYPE]={},VP=class{static{o(this,"MessageType")}constructor(e,r,s){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(xNe.normalizeFieldInfo),this.options=s??{},MNe.value=this,this.messagePrototype=Object.create(null,p5),this.refTypeCheck=new NNe.ReflectionTypeCheck(this),this.refJsonReader=new SNe.ReflectionJsonReader(this),this.refJsonWriter=new RNe.ReflectionJsonWriter(this),this.refBinReader=new TNe.ReflectionBinaryReader(this),this.refBinWriter=new vNe.ReflectionBinaryWriter(this)}create(e){let r=PNe.reflectionCreate(this);return e!==void 0&&zP.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return zP.reflectionMergePartial(this,r,e),r}equals(e,r){return DNe.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){zP.reflectionMergePartial(this,e,r)}fromBinary(e,r){let s=LNe.binaryReadOptions(r);return this.internalBinaryRead(s.readerFactory(e),e.byteLength,s)}fromJson(e,r){return this.internalJsonRead(e,d5.jsonReadOptions(r))}fromJsonString(e,r){let s=JSON.parse(e);return this.fromJson(s,r)}toJson(e,r){return this.internalJsonWrite(e,d5.jsonWriteOptions(r))}toJsonString(e,r){var s;let n=this.toJson(e,r);return JSON.stringify(n,null,(s=r?.prettySpaces)!==null&&s!==void 0?s:0)}toBinary(e,r){let s=_Ne.binaryWriteOptions(r);return this.internalBinaryWrite(e,s.writerFactory(),s).finish()}internalJsonRead(e,r,s){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let n=s??this.create();return this.refJsonReader.read(e,n,r),n}throw new Error(`Unable to parse message ${this.typeName} from JSON ${kNe.typeofJsonValue(e)}.`)}internalJsonWrite(e,r){return this.refJsonWriter.write(e,r)}internalBinaryWrite(e,r,s){return this.refBinWriter.write(e,r,s),r}internalBinaryRead(e,r,s,n){let i=n??this.create();return this.refBinReader.read(e,i,s,r),i}};sI.MessageType=VP});var h5=f(nI=>{"use strict";Object.defineProperty(nI,"__esModule",{value:!0});nI.containsMessageType=void 0;var ONe=gm();function FNe(t){return t[ONe.MESSAGE_TYPE]!=null}o(FNe,"containsMessageType");nI.containsMessageType=FNe});var g5=f(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.listEnumNumbers=xi.listEnumNames=xi.listEnumValues=xi.isEnumObject=void 0;function f5(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 s=t[e];if(s===void 0||typeof s!="number"||t[s]===void 0)return!1}else{let s=t[r];if(s===void 0||t[s]!==r)return!1}}return!0}o(f5,"isEnumObject");xi.isEnumObject=f5;function $P(t){if(!f5(t))throw new Error("not a typescript enum object");let e=[];for(let[r,s]of Object.entries(t))typeof s=="number"&&e.push({name:r,number:s});return e}o($P,"listEnumValues");xi.listEnumValues=$P;function UNe(t){return $P(t).map(e=>e.name)}o(UNe,"listEnumNames");xi.listEnumNames=UNe;function qNe(t){return $P(t).map(e=>e.number).filter((e,r,s)=>s.indexOf(e)==r)}o(qNe,"listEnumNumbers");xi.listEnumNumbers=qNe});var Bt=f(j=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});var E5=RC();Object.defineProperty(j,"typeofJsonValue",{enumerable:!0,get:o(function(){return E5.typeofJsonValue},"get")});Object.defineProperty(j,"isJsonObject",{enumerable:!0,get:o(function(){return E5.isJsonObject},"get")});var y5=vC();Object.defineProperty(j,"base64decode",{enumerable:!0,get:o(function(){return y5.base64decode},"get")});Object.defineProperty(j,"base64encode",{enumerable:!0,get:o(function(){return y5.base64encode},"get")});var GNe=V8();Object.defineProperty(j,"utf8read",{enumerable:!0,get:o(function(){return GNe.utf8read},"get")});var YP=um();Object.defineProperty(j,"WireType",{enumerable:!0,get:o(function(){return YP.WireType},"get")});Object.defineProperty(j,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return YP.mergeBinaryOptions},"get")});Object.defineProperty(j,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return YP.UnknownFieldHandler},"get")});var C5=QP();Object.defineProperty(j,"BinaryReader",{enumerable:!0,get:o(function(){return C5.BinaryReader},"get")});Object.defineProperty(j,"binaryReadOptions",{enumerable:!0,get:o(function(){return C5.binaryReadOptions},"get")});var I5=xP();Object.defineProperty(j,"BinaryWriter",{enumerable:!0,get:o(function(){return I5.BinaryWriter},"get")});Object.defineProperty(j,"binaryWriteOptions",{enumerable:!0,get:o(function(){return I5.binaryWriteOptions},"get")});var B5=Aa();Object.defineProperty(j,"PbLong",{enumerable:!0,get:o(function(){return B5.PbLong},"get")});Object.defineProperty(j,"PbULong",{enumerable:!0,get:o(function(){return B5.PbULong},"get")});var JP=NP();Object.defineProperty(j,"jsonReadOptions",{enumerable:!0,get:o(function(){return JP.jsonReadOptions},"get")});Object.defineProperty(j,"jsonWriteOptions",{enumerable:!0,get:o(function(){return JP.jsonWriteOptions},"get")});Object.defineProperty(j,"mergeJsonOptions",{enumerable:!0,get:o(function(){return JP.mergeJsonOptions},"get")});var HNe=gm();Object.defineProperty(j,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return HNe.MESSAGE_TYPE},"get")});var zNe=m5();Object.defineProperty(j,"MessageType",{enumerable:!0,get:o(function(){return zNe.MessageType},"get")});var Tc=Nn();Object.defineProperty(j,"ScalarType",{enumerable:!0,get:o(function(){return Tc.ScalarType},"get")});Object.defineProperty(j,"LongType",{enumerable:!0,get:o(function(){return Tc.LongType},"get")});Object.defineProperty(j,"RepeatType",{enumerable:!0,get:o(function(){return Tc.RepeatType},"get")});Object.defineProperty(j,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return Tc.normalizeFieldInfo},"get")});Object.defineProperty(j,"readFieldOptions",{enumerable:!0,get:o(function(){return Tc.readFieldOptions},"get")});Object.defineProperty(j,"readFieldOption",{enumerable:!0,get:o(function(){return Tc.readFieldOption},"get")});Object.defineProperty(j,"readMessageOption",{enumerable:!0,get:o(function(){return Tc.readMessageOption},"get")});var VNe=vP();Object.defineProperty(j,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return VNe.ReflectionTypeCheck},"get")});var $Ne=UP();Object.defineProperty(j,"reflectionCreate",{enumerable:!0,get:o(function(){return $Ne.reflectionCreate},"get")});var YNe=jC();Object.defineProperty(j,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return YNe.reflectionScalarDefault},"get")});var JNe=qP();Object.defineProperty(j,"reflectionMergePartial",{enumerable:!0,get:o(function(){return JNe.reflectionMergePartial},"get")});var WNe=HP();Object.defineProperty(j,"reflectionEquals",{enumerable:!0,get:o(function(){return WNe.reflectionEquals},"get")});var jNe=MP();Object.defineProperty(j,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return jNe.ReflectionBinaryReader},"get")});var KNe=FP();Object.defineProperty(j,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return KNe.ReflectionBinaryWriter},"get")});var XNe=kP();Object.defineProperty(j,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return XNe.ReflectionJsonReader},"get")});var ZNe=_P();Object.defineProperty(j,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return ZNe.ReflectionJsonWriter},"get")});var eSe=h5();Object.defineProperty(j,"containsMessageType",{enumerable:!0,get:o(function(){return eSe.containsMessageType},"get")});var Cm=RP();Object.defineProperty(j,"isOneofGroup",{enumerable:!0,get:o(function(){return Cm.isOneofGroup},"get")});Object.defineProperty(j,"setOneofValue",{enumerable:!0,get:o(function(){return Cm.setOneofValue},"get")});Object.defineProperty(j,"getOneofValue",{enumerable:!0,get:o(function(){return Cm.getOneofValue},"get")});Object.defineProperty(j,"clearOneofValue",{enumerable:!0,get:o(function(){return Cm.clearOneofValue},"get")});Object.defineProperty(j,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return Cm.getSelectedOneofValue},"get")});var iI=g5();Object.defineProperty(j,"listEnumValues",{enumerable:!0,get:o(function(){return iI.listEnumValues},"get")});Object.defineProperty(j,"listEnumNames",{enumerable:!0,get:o(function(){return iI.listEnumNames},"get")});Object.defineProperty(j,"listEnumNumbers",{enumerable:!0,get:o(function(){return iI.listEnumNumbers},"get")});Object.defineProperty(j,"isEnumObject",{enumerable:!0,get:o(function(){return iI.isEnumObject},"get")});var tSe=SP();Object.defineProperty(j,"lowerCamelCase",{enumerable:!0,get:o(function(){return tSe.lowerCamelCase},"get")});var Im=Gu();Object.defineProperty(j,"assert",{enumerable:!0,get:o(function(){return Im.assert},"get")});Object.defineProperty(j,"assertNever",{enumerable:!0,get:o(function(){return Im.assertNever},"get")});Object.defineProperty(j,"assertInt32",{enumerable:!0,get:o(function(){return Im.assertInt32},"get")});Object.defineProperty(j,"assertUInt32",{enumerable:!0,get:o(function(){return Im.assertUInt32},"get")});Object.defineProperty(j,"assertFloat32",{enumerable:!0,get:o(function(){return Im.assertFloat32},"get")})});var WP=f(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.readServiceOption=Ni.readMethodOption=Ni.readMethodOptions=Ni.normalizeMethodInfo=void 0;var rSe=Bt();function sSe(t,e){var r,s,n;let i=t;return i.service=e,i.localName=(r=i.localName)!==null&&r!==void 0?r:rSe.lowerCamelCase(i.name),i.serverStreaming=!!i.serverStreaming,i.clientStreaming=!!i.clientStreaming,i.options=(s=i.options)!==null&&s!==void 0?s:{},i.idempotency=(n=i.idempotency)!==null&&n!==void 0?n:void 0,i}o(sSe,"normalizeMethodInfo");Ni.normalizeMethodInfo=sSe;function nSe(t,e,r,s){var n;let i=(n=t.methods.find((a,c)=>a.localName===e||c===e))===null||n===void 0?void 0:n.options;return i&&i[r]?s.fromJson(i[r]):void 0}o(nSe,"readMethodOptions");Ni.readMethodOptions=nSe;function iSe(t,e,r,s){var n;let i=(n=t.methods.find((c,l)=>c.localName===e||l===e))===null||n===void 0?void 0:n.options;if(!i)return;let a=i[r];return a===void 0?a:s?s.fromJson(a):a}o(iSe,"readMethodOption");Ni.readMethodOption=iSe;function oSe(t,e,r){let s=t.options;if(!s)return;let n=s[e];return n===void 0?n:r?r.fromJson(n):n}o(oSe,"readServiceOption");Ni.readServiceOption=oSe});var w5=f(oI=>{"use strict";Object.defineProperty(oI,"__esModule",{value:!0});oI.ServiceType=void 0;var aSe=WP(),jP=class{static{o(this,"ServiceType")}constructor(e,r,s){this.typeName=e,this.methods=r.map(n=>aSe.normalizeMethodInfo(n,this)),this.options=s??{}}};oI.ServiceType=jP});var XP=f(aI=>{"use strict";Object.defineProperty(aI,"__esModule",{value:!0});aI.RpcError=void 0;var KP=class extends Error{static{o(this,"RpcError")}constructor(e,r="UNKNOWN",s){super(e),this.name="RpcError",Object.setPrototypeOf(this,new.target.prototype),this.code=r,this.meta=s??{}}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[s,n]of r)e.push(` ${s}: ${n}`)}return e.join(` `)}};aI.RpcError=KP});var ZP=f(lI=>{"use strict";Object.defineProperty(lI,"__esModule",{value:!0});lI.mergeRpcOptions=void 0;var b5=Bt();function cSe(t,e){if(!e)return t;let r={};cI(t,r),cI(e,r);for(let s of Object.keys(e)){let n=e[s];switch(s){case"jsonOptions":r.jsonOptions=b5.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=b5.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},cI(t.meta,r.meta),cI(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(n):n.concat();break}}return r}o(cSe,"mergeRpcOptions");lI.mergeRpcOptions=cSe;function cI(t,e){if(!t)return;let r=e;for(let[s,n]of Object.entries(t))n instanceof Date?r[s]=new Date(n.getTime()):Array.isArray(n)?r[s]=n.concat():r[s]=n}o(cI,"copy")});var tk=f(vc=>{"use strict";Object.defineProperty(vc,"__esModule",{value:!0});vc.Deferred=vc.DeferredState=void 0;var Si;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Si=vc.DeferredState||(vc.DeferredState={}));var ek=class{static{o(this,"Deferred")}constructor(e=!0){this._state=Si.PENDING,this._promise=new Promise((r,s)=>{this._resolve=r,this._reject=s}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==Si.PENDING)throw new Error(`cannot resolve ${Si[this.state].toLowerCase()}`);this._resolve(e),this._state=Si.RESOLVED}reject(e){if(this.state!==Si.PENDING)throw new Error(`cannot reject ${Si[this.state].toLowerCase()}`);this._reject(e),this._state=Si.REJECTED}resolvePending(e){this._state===Si.PENDING&&this.resolve(e)}rejectPending(e){this._state===Si.PENDING&&this.reject(e)}};vc.Deferred=ek});var sk=f(uI=>{"use strict";Object.defineProperty(uI,"__esModule",{value:!0});uI.RpcOutputStreamController=void 0;var Q5=tk(),Pc=Bt(),rk=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 s=r.indexOf(e);s>=0&&r.splice(s,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,s){Pc.assert((e?1:0)+(r?1:0)+(s?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),s&&this.notifyComplete()}notifyMessage(e){Pc.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){Pc.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(){Pc.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:o(()=>{let e=this._itState;Pc.assert(e,"bad state"),Pc.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 Q5.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let s=r.p;Pc.assert(s.state==Q5.DeferredState.PENDING,"iterator contract broken"),"value"in e?s.resolve(e):s.reject(e),delete r.p}else r.q.push(e)}};uI.RpcOutputStreamController=rk});var ik=f($u=>{"use strict";var lSe=$u&&$u.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty($u,"__esModule",{value:!0});$u.UnaryCall=void 0;var nk=class{static{o(this,"UnaryCall")}constructor(e,r,s,n,i,a,c){this.method=e,this.requestHeaders=r,this.request=s,this.headers=n,this.response=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return lSe(this,void 0,void 0,function*(){let[e,r,s,n]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:r,status:s,trailers:n}})}};$u.UnaryCall=nk});var ak=f(Yu=>{"use strict";var uSe=Yu&&Yu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(Yu,"__esModule",{value:!0});Yu.ServerStreamingCall=void 0;var ok=class{static{o(this,"ServerStreamingCall")}constructor(e,r,s,n,i,a,c){this.method=e,this.requestHeaders=r,this.request=s,this.headers=n,this.responses=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return uSe(this,void 0,void 0,function*(){let[e,r,s]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:r,trailers:s}})}};Yu.ServerStreamingCall=ok});var lk=f(Ju=>{"use strict";var ASe=Ju&&Ju.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(Ju,"__esModule",{value:!0});Ju.ClientStreamingCall=void 0;var ck=class{static{o(this,"ClientStreamingCall")}constructor(e,r,s,n,i,a,c){this.method=e,this.requestHeaders=r,this.requests=s,this.headers=n,this.response=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return ASe(this,void 0,void 0,function*(){let[e,r,s,n]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:r,status:s,trailers:n}})}};Ju.ClientStreamingCall=ck});var Ak=f(Wu=>{"use strict";var dSe=Wu&&Wu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(Wu,"__esModule",{value:!0});Wu.DuplexStreamingCall=void 0;var uk=class{static{o(this,"DuplexStreamingCall")}constructor(e,r,s,n,i,a,c){this.method=e,this.requestHeaders=r,this.requests=s,this.headers=n,this.responses=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return dSe(this,void 0,void 0,function*(){let[e,r,s]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:r,trailers:s}})}};Wu.DuplexStreamingCall=uk});var N5=f(Xu=>{"use strict";var pSe=Xu&&Xu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(Xu,"__esModule",{value:!0});Xu.TestTransport=void 0;var js=XP(),AI=Bt(),x5=sk(),mSe=ZP(),hSe=ik(),fSe=ak(),gSe=lk(),ESe=Ak(),Ku=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 ju?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof ju?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 js.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof js.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(AI.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),AI.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,s){return pSe(this,void 0,void 0,function*(){let n=[];if(this.data.response===void 0)n.push(e.O.create());else if(Array.isArray(this.data.response))for(let i of this.data.response)AI.assert(e.O.is(i)),n.push(i);else this.data.response instanceof js.RpcError||(AI.assert(e.O.is(this.data.response)),n.push(this.data.response));try{yield Jt(this.responseDelay,s)(void 0)}catch(i){r.notifyError(i);return}if(this.data.response instanceof js.RpcError){r.notifyError(this.data.response);return}for(let i of n){r.notifyMessage(i);try{yield Jt(this.betweenResponseDelay,s)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof js.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof js.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 js.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 js.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return mSe.mergeRpcOptions({},e)}unary(e,r,s){var n;let i=(n=s.meta)!==null&&n!==void 0?n:{},a=this.promiseHeaders().then(Jt(this.headerDelay,s.abort)),c=a.catch(A=>{}).then(Jt(this.responseDelay,s.abort)).then(A=>this.promiseSingleResponse(e)),l=c.catch(A=>{}).then(Jt(this.afterResponseDelay,s.abort)).then(A=>this.promiseStatus()),u=c.catch(A=>{}).then(Jt(this.afterResponseDelay,s.abort)).then(A=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput={single:r},new hSe.UnaryCall(e,i,r,a,c,l,u)}serverStreaming(e,r,s){var n;let i=(n=s.meta)!==null&&n!==void 0?n:{},a=this.promiseHeaders().then(Jt(this.headerDelay,s.abort)),c=new x5.RpcOutputStreamController,l=a.then(Jt(this.responseDelay,s.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,s.abort)).then(Jt(this.afterResponseDelay,s.abort)),u=l.then(()=>this.promiseStatus()),A=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(u,A),this.lastInput={single:r},new fSe.ServerStreamingCall(e,i,r,a,c,u,A)}clientStreaming(e,r){var s;let n=(s=r.meta)!==null&&s!==void 0?s:{},i=this.promiseHeaders().then(Jt(this.headerDelay,r.abort)),a=i.catch(u=>{}).then(Jt(this.responseDelay,r.abort)).then(u=>this.promiseSingleResponse(e)),c=a.catch(u=>{}).then(Jt(this.afterResponseDelay,r.abort)).then(u=>this.promiseStatus()),l=a.catch(u=>{}).then(Jt(this.afterResponseDelay,r.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new ju(this.data,r.abort),new gSe.ClientStreamingCall(e,n,this.lastInput,i,a,c,l)}duplex(e,r){var s;let n=(s=r.meta)!==null&&s!==void 0?s:{},i=this.promiseHeaders().then(Jt(this.headerDelay,r.abort)),a=new x5.RpcOutputStreamController,c=i.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()),u=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput=new ju(this.data,r.abort),new ESe.DuplexStreamingCall(e,n,this.lastInput,i,a,l,u)}};Xu.TestTransport=Ku;Ku.defaultHeaders={responseHeader:"test"};Ku.defaultStatus={code:"OK",detail:"all good"};Ku.defaultTrailers={responseTrailer:"test"};function Jt(t,e){return r=>new Promise((s,n)=>{if(e?.aborted)n(new js.RpcError("user cancel","CANCELLED"));else{let i=setTimeout(()=>s(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(i),n(new js.RpcError("user cancel","CANCELLED"))})}})}o(Jt,"delay");var ju=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 js.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 js.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 S5=f(Ks=>{"use strict";Object.defineProperty(Ks,"__esModule",{value:!0});Ks.stackDuplexStreamingInterceptors=Ks.stackClientStreamingInterceptors=Ks.stackServerStreamingInterceptors=Ks.stackUnaryInterceptors=Ks.stackIntercept=void 0;var ySe=Bt();function Bm(t,e,r,s,n){var i,a,c,l;if(t=="unary"){let u=o((A,d,p)=>e.unary(A,d,p),"tail");for(let A of((i=s.interceptors)!==null&&i!==void 0?i:[]).filter(d=>d.interceptUnary).reverse()){let d=u;u=o((p,m,h)=>A.interceptUnary(d,p,m,h),"tail")}return u(r,n,s)}if(t=="serverStreaming"){let u=o((A,d,p)=>e.serverStreaming(A,d,p),"tail");for(let A of((a=s.interceptors)!==null&&a!==void 0?a:[]).filter(d=>d.interceptServerStreaming).reverse()){let d=u;u=o((p,m,h)=>A.interceptServerStreaming(d,p,m,h),"tail")}return u(r,n,s)}if(t=="clientStreaming"){let u=o((A,d)=>e.clientStreaming(A,d),"tail");for(let A of((c=s.interceptors)!==null&&c!==void 0?c:[]).filter(d=>d.interceptClientStreaming).reverse()){let d=u;u=o((p,m)=>A.interceptClientStreaming(d,p,m),"tail")}return u(r,s)}if(t=="duplex"){let u=o((A,d)=>e.duplex(A,d),"tail");for(let A of((l=s.interceptors)!==null&&l!==void 0?l:[]).filter(d=>d.interceptDuplex).reverse()){let d=u;u=o((p,m)=>A.interceptDuplex(d,p,m),"tail")}return u(r,s)}ySe.assertNever(t)}o(Bm,"stackIntercept");Ks.stackIntercept=Bm;function CSe(t,e,r,s){return Bm("unary",t,e,s,r)}o(CSe,"stackUnaryInterceptors");Ks.stackUnaryInterceptors=CSe;function ISe(t,e,r,s){return Bm("serverStreaming",t,e,s,r)}o(ISe,"stackServerStreamingInterceptors");Ks.stackServerStreamingInterceptors=ISe;function BSe(t,e,r){return Bm("clientStreaming",t,e,r)}o(BSe,"stackClientStreamingInterceptors");Ks.stackClientStreamingInterceptors=BSe;function wSe(t,e,r){return Bm("duplex",t,e,r)}o(wSe,"stackDuplexStreamingInterceptors");Ks.stackDuplexStreamingInterceptors=wSe});var R5=f(dI=>{"use strict";Object.defineProperty(dI,"__esModule",{value:!0});dI.ServerCallContextController=void 0;var dk=class{static{o(this,"ServerCallContextController")}constructor(e,r,s,n,i={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=s,this.trailers={},this._sendRH=n,this.status=i}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 s=r.indexOf(e);s>=0&&r.splice(s,1)}}};dI.ServerCallContextController=dk});var v5=f(At=>{"use strict";Object.defineProperty(At,"__esModule",{value:!0});var bSe=w5();Object.defineProperty(At,"ServiceType",{enumerable:!0,get:o(function(){return bSe.ServiceType},"get")});var pk=WP();Object.defineProperty(At,"readMethodOptions",{enumerable:!0,get:o(function(){return pk.readMethodOptions},"get")});Object.defineProperty(At,"readMethodOption",{enumerable:!0,get:o(function(){return pk.readMethodOption},"get")});Object.defineProperty(At,"readServiceOption",{enumerable:!0,get:o(function(){return pk.readServiceOption},"get")});var QSe=XP();Object.defineProperty(At,"RpcError",{enumerable:!0,get:o(function(){return QSe.RpcError},"get")});var xSe=ZP();Object.defineProperty(At,"mergeRpcOptions",{enumerable:!0,get:o(function(){return xSe.mergeRpcOptions},"get")});var NSe=sk();Object.defineProperty(At,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return NSe.RpcOutputStreamController},"get")});var SSe=N5();Object.defineProperty(At,"TestTransport",{enumerable:!0,get:o(function(){return SSe.TestTransport},"get")});var T5=tk();Object.defineProperty(At,"Deferred",{enumerable:!0,get:o(function(){return T5.Deferred},"get")});Object.defineProperty(At,"DeferredState",{enumerable:!0,get:o(function(){return T5.DeferredState},"get")});var RSe=Ak();Object.defineProperty(At,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return RSe.DuplexStreamingCall},"get")});var TSe=lk();Object.defineProperty(At,"ClientStreamingCall",{enumerable:!0,get:o(function(){return TSe.ClientStreamingCall},"get")});var vSe=ak();Object.defineProperty(At,"ServerStreamingCall",{enumerable:!0,get:o(function(){return vSe.ServerStreamingCall},"get")});var PSe=ik();Object.defineProperty(At,"UnaryCall",{enumerable:!0,get:o(function(){return PSe.UnaryCall},"get")});var wm=S5();Object.defineProperty(At,"stackIntercept",{enumerable:!0,get:o(function(){return wm.stackIntercept},"get")});Object.defineProperty(At,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return wm.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(At,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return wm.stackClientStreamingInterceptors},"get")});Object.defineProperty(At,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return wm.stackServerStreamingInterceptors},"get")});Object.defineProperty(At,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return wm.stackUnaryInterceptors},"get")});var kSe=R5();Object.defineProperty(At,"ServerCallContextController",{enumerable:!0,get:o(function(){return kSe.ServerCallContextController},"get")})});var J5=f((fat,Y5)=>{function Xs(t,e){typeof e=="boolean"&&(e={forever:e}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=e||{},this._maxRetryTime=e&&e.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}o(Xs,"RetryOperation");Y5.exports=Xs;Xs.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};Xs.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};Xs.prototype.retry=function(t){if(this._timeout&&clearTimeout(this._timeout),!t)return!1;var e=new Date().getTime();if(t&&e-this._operationStart>=this._maxRetryTime)return this._errors.push(t),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(t);var r=this._timeouts.shift();if(r===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),r=this._cachedTimeouts.slice(-1);else return!1;var s=this;return this._timer=setTimeout(function(){s._attempts++,s._operationTimeoutCb&&(s._timeout=setTimeout(function(){s._operationTimeoutCb(s._attempts)},s._operationTimeout),s._options.unref&&s._timeout.unref()),s._fn(s._attempts)},r),this._options.unref&&this._timer.unref(),!0};Xs.prototype.attempt=function(t,e){this._fn=t,e&&(e.timeout&&(this._operationTimeout=e.timeout),e.cb&&(this._operationTimeoutCb=e.cb));var r=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){r._operationTimeoutCb()},r._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};Xs.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};Xs.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};Xs.prototype.start=Xs.prototype.try;Xs.prototype.errors=function(){return this._errors};Xs.prototype.attempts=function(){return this._attempts};Xs.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,r=0,s=0;s=r&&(e=n,r=a)}return e}});var W5=f(Mc=>{var VSe=J5();Mc.operation=function(t){var e=Mc.timeouts(t);return new VSe(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};Mc.timeouts=function(t){if(t instanceof Array)return[].concat(t);var e={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var r in t)e[r]=t[r];if(e.minTimeout>e.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var s=[],n=0;n{j5.exports=W5()});var Z5=f((Iat,X5)=>{var $Se=K5();function YSe(t,e){function r(s,n){var i=e||{},a;"randomize"in i||(i.randomize=!0),a=$Se.operation(i);function c(A){n(A||new Error("Aborted"))}o(c,"bail");function l(A,d){if(A.bail){c(A);return}a.retry(A)?i.onRetry&&i.onRetry(A,d):n(a.mainError())}o(l,"onError");function u(A){var d;try{d=t(c,A)}catch(p){l(p,A);return}Promise.resolve(d).then(s).catch(o(function(m){l(m,A)},"catchIt"))}o(u,"runAttempt"),a.attempt(u)}return o(r,"run"),new Promise(r)}o(YSe,"retry");X5.exports=YSe});var xr=f(Bs=>{"use strict";Bs.__esModule=!0;Bs.extend=ej;Bs.indexOf=XSe;Bs.escapeExpression=ZSe;Bs.isEmpty=eRe;Bs.createFrame=tRe;Bs.blockParams=rRe;Bs.appendContextPath=sRe;var JSe={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},WSe=/[&<>"'`=]/g,jSe=/[&<>"'`=]/;function KSe(t){return JSe[t]}o(KSe,"escapeChar");function ej(t){for(var e=1;e{"use strict";yI.__esModule=!0;var $k=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function Yk(t,e){var r=e&&e.loc,s=void 0,n=void 0,i=void 0,a=void 0;r&&(s=r.start.line,n=r.end.line,i=r.start.column,a=r.end.column,t+=" - "+s+":"+i);for(var c=Error.prototype.constructor.call(this,t),l=0;l<$k.length;l++)this[$k[l]]=c[$k[l]];Error.captureStackTrace&&Error.captureStackTrace(this,Yk);try{r&&(this.lineNumber=s,this.endLineNumber=n,Object.defineProperty?(Object.defineProperty(this,"column",{value:i,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:a,enumerable:!0})):(this.column=i,this.endColumn=a))}catch{}}o(Yk,"Exception");Yk.prototype=new Error;yI.default=Yk;rj.exports=yI.default});var nj=f((CI,sj)=>{"use strict";CI.__esModule=!0;var Jk=xr();CI.default=function(t){t.registerHelper("blockHelperMissing",function(e,r){var s=r.inverse,n=r.fn;if(e===!0)return n(this);if(e===!1||e==null)return s(this);if(Jk.isArray(e))return e.length>0?(r.ids&&(r.ids=[r.name]),t.helpers.each(e,r)):s(this);if(r.data&&r.ids){var i=Jk.createFrame(r.data);i.contextPath=Jk.appendContextPath(r.data.contextPath,r.name),r={data:i}}return n(e,r)})};sj.exports=CI.default});var oj=f((II,ij)=>{"use strict";II.__esModule=!0;function nRe(t){return t&&t.__esModule?t:{default:t}}o(nRe,"_interopRequireDefault");var xm=xr(),iRe=ws(),oRe=nRe(iRe);II.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new oRe.default("Must pass iterator to #each");var s=r.fn,n=r.inverse,i=0,a="",c=void 0,l=void 0;r.data&&r.ids&&(l=xm.appendContextPath(r.data.contextPath,r.ids[0])+"."),xm.isFunction(e)&&(e=e.call(this)),r.data&&(c=xm.createFrame(r.data));function u(h,g,C){c&&(c.key=h,c.index=g,c.first=g===0,c.last=!!C,l&&(c.contextPath=l+h)),a=a+s(e[h],{data:c,blockParams:xm.blockParams([e[h],h],[l+h,null])})}if(o(u,"execIteration"),e&&typeof e=="object")if(xm.isArray(e))for(var A=e.length;i{"use strict";BI.__esModule=!0;function aRe(t){return t&&t.__esModule?t:{default:t}}o(aRe,"_interopRequireDefault");var cRe=ws(),lRe=aRe(cRe);BI.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new lRe.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};aj.exports=BI.default});var dj=f((wI,Aj)=>{"use strict";wI.__esModule=!0;function uRe(t){return t&&t.__esModule?t:{default:t}}o(uRe,"_interopRequireDefault");var lj=xr(),ARe=ws(),uj=uRe(ARe);wI.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new uj.default("#if requires exactly one argument");return lj.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||lj.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new uj.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};Aj.exports=wI.default});var mj=f((bI,pj)=>{"use strict";bI.__esModule=!0;bI.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],s=0;s{"use strict";QI.__esModule=!0;QI.default=function(t){t.registerHelper("lookup",function(e,r,s){return e&&s.lookupProperty(e,r)})};hj.exports=QI.default});var Ej=f((xI,gj)=>{"use strict";xI.__esModule=!0;function dRe(t){return t&&t.__esModule?t:{default:t}}o(dRe,"_interopRequireDefault");var Nm=xr(),pRe=ws(),mRe=dRe(pRe);xI.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new mRe.default("#with requires exactly one argument");Nm.isFunction(e)&&(e=e.call(this));var s=r.fn;if(Nm.isEmpty(e))return r.inverse(this);var n=r.data;return r.data&&r.ids&&(n=Nm.createFrame(r.data),n.contextPath=Nm.appendContextPath(r.data.contextPath,r.ids[0])),s(e,{data:n,blockParams:Nm.blockParams([e],[n&&n.contextPath])})})};gj.exports=xI.default});var Wk=f(NI=>{"use strict";NI.__esModule=!0;NI.registerDefaultHelpers=RRe;NI.moveHelperToHooks=TRe;function Oc(t){return t&&t.__esModule?t:{default:t}}o(Oc,"_interopRequireDefault");var hRe=nj(),fRe=Oc(hRe),gRe=oj(),ERe=Oc(gRe),yRe=cj(),CRe=Oc(yRe),IRe=dj(),BRe=Oc(IRe),wRe=mj(),bRe=Oc(wRe),QRe=fj(),xRe=Oc(QRe),NRe=Ej(),SRe=Oc(NRe);function RRe(t){fRe.default(t),ERe.default(t),CRe.default(t),BRe.default(t),bRe.default(t),xRe.default(t),SRe.default(t)}o(RRe,"registerDefaultHelpers");function TRe(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}o(TRe,"moveHelperToHooks")});var Cj=f((SI,yj)=>{"use strict";SI.__esModule=!0;var vRe=xr();SI.default=function(t){t.registerDecorator("inline",function(e,r,s,n){var i=e;return r.partials||(r.partials={},i=o(function(a,c){var l=s.partials;s.partials=vRe.extend({},l,r.partials);var u=e(a,c);return s.partials=l,u},"ret")),r.partials[n.args[0]]=n.fn,i})};yj.exports=SI.default});var Ij=f(jk=>{"use strict";jk.__esModule=!0;jk.registerDefaultDecorators=_Re;function PRe(t){return t&&t.__esModule?t:{default:t}}o(PRe,"_interopRequireDefault");var kRe=Cj(),DRe=PRe(kRe);function _Re(t){DRe.default(t)}o(_Re,"registerDefaultDecorators")});var Kk=f((RI,Bj)=>{"use strict";RI.__esModule=!0;var LRe=xr(),tA={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:o(function(e){if(typeof e=="string"){var r=LRe.indexOf(tA.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},"lookupLevel"),log:o(function(e){if(e=tA.lookupLevel(e),typeof console<"u"&&tA.lookupLevel(tA.level)<=e){var r=tA.methodMap[e];console[r]||(r="log");for(var s=arguments.length,n=Array(s>1?s-1:0),i=1;i{"use strict";Sm.__esModule=!0;Sm.createProtoAccessControl=URe;Sm.resultIsAllowed=qRe;Sm.resetLoggedProperties=HRe;function MRe(t){return t&&t.__esModule?t:{default:t}}o(MRe,"_interopRequireDefault");var wj=xr(),ORe=Kk(),FRe=MRe(ORe),TI=Object.create(null);function URe(t){var e=Object.create(null);e.__proto__=!1,wj.extend(e,t.allowedProtoProperties);var r=Object.create(null);return r.constructor=!1,r.__defineGetter__=!1,r.__defineSetter__=!1,r.__lookupGetter__=!1,r.__lookupSetter__=!1,wj.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}o(URe,"createProtoAccessControl");function qRe(t,e,r){return bj(typeof t=="function"?e.methods:e.properties,r)}o(qRe,"resultIsAllowed");function bj(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(GRe(e),!1)}o(bj,"checkWhiteList");function GRe(t){TI[t]!==!0&&(TI[t]=!0,FRe.default.log("error",'Handlebars: Access has been denied to resolve the property "'+t+`" because it is not an "own property" of its parent. You can add a runtime option to disable the check or this warning: See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}o(GRe,"logUnexpecedPropertyAccessOnce");function HRe(){Object.keys(TI).forEach(function(t){delete TI[t]})}o(HRe,"resetLoggedProperties")});var PI=f(vi=>{"use strict";vi.__esModule=!0;vi.HandlebarsEnvironment=tD;function Qj(t){return t&&t.__esModule?t:{default:t}}o(Qj,"_interopRequireDefault");var Fc=xr(),zRe=ws(),Zk=Qj(zRe),VRe=Wk(),$Re=Ij(),YRe=Kk(),vI=Qj(YRe),JRe=Xk(),WRe="4.7.9";vi.VERSION=WRe;var jRe=8;vi.COMPILER_REVISION=jRe;var KRe=7;vi.LAST_COMPATIBLE_COMPILER_REVISION=KRe;var XRe={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};vi.REVISION_CHANGES=XRe;var eD="[object Object]";function tD(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},VRe.registerDefaultHelpers(this),$Re.registerDefaultDecorators(this)}o(tD,"HandlebarsEnvironment");tD.prototype={constructor:tD,logger:vI.default,log:vI.default.log,registerHelper:o(function(e,r){if(Fc.toString.call(e)===eD){if(r)throw new Zk.default("Arg not supported with multiple helpers");Fc.extend(this.helpers,e)}else this.helpers[e]=r},"registerHelper"),unregisterHelper:o(function(e){delete this.helpers[e]},"unregisterHelper"),registerPartial:o(function(e,r){if(Fc.toString.call(e)===eD)Fc.extend(this.partials,e);else{if(typeof r>"u")throw new Zk.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},"registerPartial"),unregisterPartial:o(function(e){delete this.partials[e]},"unregisterPartial"),registerDecorator:o(function(e,r){if(Fc.toString.call(e)===eD){if(r)throw new Zk.default("Arg not supported with multiple decorators");Fc.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){JRe.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var ZRe=vI.default.log;vi.log=ZRe;vi.createFrame=Fc.createFrame;vi.logger=vI.default});var Nj=f((kI,xj)=>{"use strict";kI.__esModule=!0;function rD(t){this.string=t}o(rD,"SafeString");rD.prototype.toString=rD.prototype.toHTML=function(){return""+this.string};kI.default=rD;xj.exports=kI.default});var Sj=f(sD=>{"use strict";sD.__esModule=!0;sD.wrapHelper=eTe;function eTe(t,e){if(typeof t!="function")return t;var r=o(function(){var n=arguments[arguments.length-1];return arguments[arguments.length-1]=e(n),t.apply(this,arguments)},"wrapper");return r}o(eTe,"wrapHelper")});var Dj=f(ma=>{"use strict";ma.__esModule=!0;ma.checkRevision=oTe;ma.template=aTe;ma.wrapProgram=DI;ma.resolvePartial=cTe;ma.invokePartial=lTe;ma.noop=Pj;function tTe(t){return t&&t.__esModule?t:{default:t}}o(tTe,"_interopRequireDefault");function rTe(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(rTe,"_interopRequireWildcard");var sTe=xr(),rA=rTe(sTe),nTe=ws(),go=tTe(nTe),Eo=PI(),Rj=Wk(),iTe=Sj(),Tj=Xk();function oTe(t){var e=t&&t[0]||1,r=Eo.COMPILER_REVISION;if(!(e>=Eo.LAST_COMPATIBLE_COMPILER_REVISION&&e<=Eo.COMPILER_REVISION))if(e{"use strict";LI.__esModule=!0;LI.default=function(t){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var e=globalThis.Handlebars;t.noConflict=function(){return globalThis.Handlebars===t&&(globalThis.Handlebars=e),t}};_j.exports=LI.default});var Uj=f((MI,Fj)=>{"use strict";MI.__esModule=!0;function oD(t){return t&&t.__esModule?t:{default:t}}o(oD,"_interopRequireDefault");function aD(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(aD,"_interopRequireWildcard");var dTe=PI(),Lj=aD(dTe),pTe=Nj(),mTe=oD(pTe),hTe=ws(),fTe=oD(hTe),gTe=xr(),iD=aD(gTe),ETe=Dj(),Mj=aD(ETe),yTe=nD(),CTe=oD(yTe);function Oj(){var t=new Lj.HandlebarsEnvironment;return iD.extend(t,Lj),t.SafeString=mTe.default,t.Exception=fTe.default,t.Utils=iD,t.escapeExpression=iD.escapeExpression,t.VM=Mj,t.template=function(e){return Mj.template(e,t)},t}o(Oj,"create");var Rm=Oj();Rm.create=Oj;CTe.default(Rm);Rm.default=Rm;MI.default=Rm;Fj.exports=MI.default});var cD=f((OI,Gj)=>{"use strict";OI.__esModule=!0;var qj={helpers:{helperExpression:o(function(e){return e.type==="SubExpression"||(e.type==="MustacheStatement"||e.type==="BlockStatement")&&!!(e.params&&e.params.length||e.hash)},"helperExpression"),scopedId:o(function(e){return/^\.|this\b/.test(e.original)},"scopedId"),simpleId:o(function(e){return e.parts.length===1&&!qj.helpers.scopedId(e)&&!e.depth},"simpleId")}};OI.default=qj;Gj.exports=OI.default});var zj=f((FI,Hj)=>{"use strict";FI.__esModule=!0;var ITe=(function(){var t={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sexpr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:o(function(n,i,a,c,l,u,A){var d=u.length-1;switch(l){case 1:return u[d-1];case 2:this.$=c.prepareProgram(u[d]);break;case 3:this.$=u[d];break;case 4:this.$=u[d];break;case 5:this.$=u[d];break;case 6:this.$=u[d];break;case 7:this.$=u[d];break;case 8:this.$=u[d];break;case 9:this.$={type:"CommentStatement",value:c.stripComment(u[d]),strip:c.stripFlags(u[d],u[d]),loc:c.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:u[d],value:u[d],loc:c.locInfo(this._$)};break;case 11:this.$=c.prepareRawBlock(u[d-2],u[d-1],u[d],this._$);break;case 12:this.$={path:u[d-3],params:u[d-2],hash:u[d-1]};break;case 13:this.$=c.prepareBlock(u[d-3],u[d-2],u[d-1],u[d],!1,this._$);break;case 14:this.$=c.prepareBlock(u[d-3],u[d-2],u[d-1],u[d],!0,this._$);break;case 15:this.$={open:u[d-5],path:u[d-4],params:u[d-3],hash:u[d-2],blockParams:u[d-1],strip:c.stripFlags(u[d-5],u[d])};break;case 16:this.$={path:u[d-4],params:u[d-3],hash:u[d-2],blockParams:u[d-1],strip:c.stripFlags(u[d-5],u[d])};break;case 17:this.$={path:u[d-4],params:u[d-3],hash:u[d-2],blockParams:u[d-1],strip:c.stripFlags(u[d-5],u[d])};break;case 18:this.$={strip:c.stripFlags(u[d-1],u[d-1]),program:u[d]};break;case 19:var p=c.prepareBlock(u[d-2],u[d-1],u[d],u[d],!1,this._$),m=c.prepareProgram([p],u[d-1].loc);m.chained=!0,this.$={strip:u[d-2].strip,program:m,chain:!0};break;case 20:this.$=u[d];break;case 21:this.$={path:u[d-1],strip:c.stripFlags(u[d-2],u[d])};break;case 22:this.$=c.prepareMustache(u[d-3],u[d-2],u[d-1],u[d-4],c.stripFlags(u[d-4],u[d]),this._$);break;case 23:this.$=c.prepareMustache(u[d-3],u[d-2],u[d-1],u[d-4],c.stripFlags(u[d-4],u[d]),this._$);break;case 24:this.$={type:"PartialStatement",name:u[d-3],params:u[d-2],hash:u[d-1],indent:"",strip:c.stripFlags(u[d-4],u[d]),loc:c.locInfo(this._$)};break;case 25:this.$=c.preparePartialBlock(u[d-2],u[d-1],u[d],this._$);break;case 26:this.$={path:u[d-3],params:u[d-2],hash:u[d-1],strip:c.stripFlags(u[d-4],u[d])};break;case 27:this.$=u[d];break;case 28:this.$=u[d];break;case 29:this.$={type:"SubExpression",path:u[d-3],params:u[d-2],hash:u[d-1],loc:c.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:u[d],loc:c.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:c.id(u[d-2]),value:u[d],loc:c.locInfo(this._$)};break;case 32:this.$=c.id(u[d-1]);break;case 33:this.$=u[d];break;case 34:this.$=u[d];break;case 35:this.$={type:"StringLiteral",value:u[d],original:u[d],loc:c.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(u[d]),original:Number(u[d]),loc:c.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:u[d]==="true",original:u[d]==="true",loc:c.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:c.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:c.locInfo(this._$)};break;case 40:this.$=u[d];break;case 41:this.$=u[d];break;case 42:this.$=c.preparePath(!0,u[d],this._$);break;case 43:this.$=c.preparePath(!1,u[d],this._$);break;case 44:u[d-2].push({part:c.id(u[d]),original:u[d],separator:u[d-1]}),this.$=u[d-2];break;case 45:this.$=[{part:c.id(u[d]),original:u[d]}];break;case 46:this.$=[];break;case 47:u[d-1].push(u[d]);break;case 48:this.$=[];break;case 49:u[d-1].push(u[d]);break;case 50:this.$=[];break;case 51:u[d-1].push(u[d]);break;case 58:this.$=[];break;case 59:u[d-1].push(u[d]);break;case 64:this.$=[];break;case 65:u[d-1].push(u[d]);break;case 70:this.$=[];break;case 71:u[d-1].push(u[d]);break;case 78:this.$=[];break;case 79:u[d-1].push(u[d]);break;case 82:this.$=[];break;case 83:u[d-1].push(u[d]);break;case 86:this.$=[];break;case 87:u[d-1].push(u[d]);break;case 90:this.$=[];break;case 91:u[d-1].push(u[d]);break;case 94:this.$=[];break;case 95:u[d-1].push(u[d]);break;case 98:this.$=[u[d]];break;case 99:u[d-1].push(u[d]);break;case 100:this.$=[u[d]];break;case 101:u[d-1].push(u[d]);break}},"anonymous"),table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:o(function(n,i){throw new Error(n)},"parseError"),parse:o(function(n){var i=this,a=[0],c=[null],l=[],u=this.table,A="",d=0,p=0,m=0,h=2,g=1;this.lexer.setInput(n),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var C=this.lexer.yylloc;l.push(C);var E=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function y(V){a.length=a.length-2*V,c.length=c.length-V,l.length=l.length-V}o(y,"popStack");function I(){var V;return V=i.lexer.lex()||1,typeof V!="number"&&(V=i.symbols_[V]||V),V}o(I,"lex");for(var B,N,S,q,ge,Te,Ne={},Pe,Ae,Me,se;;){if(S=a[a.length-1],this.defaultActions[S]?q=this.defaultActions[S]:((B===null||typeof B>"u")&&(B=I()),q=u[S]&&u[S][B]),typeof q>"u"||!q.length||!q[0]){var Ar="";if(!m){se=[];for(Pe in u[S])this.terminals_[Pe]&&Pe>2&&se.push("'"+this.terminals_[Pe]+"'");this.lexer.showPosition?Ar="Parse error on line "+(d+1)+`: `+this.lexer.showPosition()+` Expecting `+se.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Ar="Parse error on line "+(d+1)+": Unexpected "+(B==1?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(Ar,{text:this.lexer.match,token:this.terminals_[B]||B,line:this.lexer.yylineno,loc:C,expected:se})}}if(q[0]instanceof Array&&q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+S+", token: "+B);switch(q[0]){case 1:a.push(B),c.push(this.lexer.yytext),l.push(this.lexer.yylloc),a.push(q[1]),B=null,N?(B=N,N=null):(p=this.lexer.yyleng,A=this.lexer.yytext,d=this.lexer.yylineno,C=this.lexer.yylloc,m>0&&m--);break;case 2:if(Ae=this.productions_[q[1]][1],Ne.$=c[c.length-Ae],Ne._$={first_line:l[l.length-(Ae||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(Ae||1)].first_column,last_column:l[l.length-1].last_column},E&&(Ne._$.range=[l[l.length-(Ae||1)].range[0],l[l.length-1].range[1]]),Te=this.performAction.call(Ne,A,p,d,this.yy,q[1],c,l),typeof Te<"u")return Te;Ae&&(a=a.slice(0,-1*Ae*2),c=c.slice(0,-1*Ae),l=l.slice(0,-1*Ae)),a.push(this.productions_[q[1]][0]),c.push(Ne.$),l.push(Ne._$),Me=u[a[a.length-2]][a[a.length-1]],a.push(Me);break;case 3:return!0}}return!0},"parse")},e=(function(){var s={EOF:1,parseError:o(function(i,a){if(this.yy.parser)this.yy.parser.parseError(i,a);else throw new Error(i)},"parseError"),setInput:o(function(i){return this._input=i,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:o(function(i){var a=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a-1),this.offset-=a;var l=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===l.length?this.yylloc.first_column:0)+l[l.length-c.length].length-c[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-a]),this},"unput"),more:o(function(){return this._more=!0,this},"more"),less:o(function(i){this.unput(this.match.slice(i))},"less"),pastInput:o(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+` `+a+"^"},"showPosition"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,a,c,l,u,A;this._more||(this.yytext="",this.match="");for(var d=this._currentRules(),p=0;pa[0].length)&&(a=c,l=p,!this.options.flex)));p++);return a?(A=a[0].match(/(?:\r\n?|\n).*/g),A&&(this.yylineno+=A.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:A?A[A.length-1].length-A[A.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],i=this.performAction.call(this,this.yy,this,d[l],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var i=this.next();return typeof i<"u"?i:this.lex()},"lex"),begin:o(function(i){this.conditionStack.push(i)},"begin"),popState:o(function(){return this.conditionStack.pop()},"popState"),_currentRules:o(function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},"_currentRules"),topState:o(function(){return this.conditionStack[this.conditionStack.length-2]},"topState"),pushState:o(function(i){this.begin(i)},"begin")};return s.options={},s.performAction=o(function(i,a,c,l){function u(d,p){return a.yytext=a.yytext.substring(d,a.yyleng-p+d)}o(u,"strip");var A=l;switch(c){case 0:if(a.yytext.slice(-2)==="\\\\"?(u(0,1),this.begin("mu")):a.yytext.slice(-1)==="\\"?(u(0,1),this.begin("emu")):this.begin("mu"),a.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(u(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;break;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(a.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;break;case 30:return this.popState(),33;break;case 31:return a.yytext=u(1,2).replace(/\\"/g,'"'),80;break;case 32:return a.yytext=u(1,2).replace(/\\'/g,"'"),80;break;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return a.yytext=a.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},"anonymous"),s.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],s.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},s})();t.lexer=e;function r(){this.yy={}}return o(r,"Parser"),r.prototype=t,t.Parser=r,new r})();FI.default=ITe;Hj.exports=FI.default});var HI=f((GI,Yj)=>{"use strict";GI.__esModule=!0;function BTe(t){return t&&t.__esModule?t:{default:t}}o(BTe,"_interopRequireDefault");var wTe=ws(),lD=BTe(wTe);function UI(){this.parents=[]}o(UI,"Visitor");UI.prototype={constructor:UI,mutating:!1,acceptKey:o(function(e,r){var s=this.accept(e[r]);if(this.mutating){if(s&&!UI.prototype[s.type])throw new lD.default('Unexpected node type "'+s.type+'" found when accepting '+r+" on "+e.type);e[r]=s}},"acceptKey"),acceptRequired:o(function(e,r){if(this.acceptKey(e,r),!e[r])throw new lD.default(e.type+" requires "+r)},"acceptRequired"),acceptArray:o(function(e){for(var r=0,s=e.length;r{"use strict";zI.__esModule=!0;function bTe(t){return t&&t.__esModule?t:{default:t}}o(bTe,"_interopRequireDefault");var QTe=HI(),xTe=bTe(QTe);function Pi(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}o(Pi,"WhitespaceControl");Pi.prototype=new xTe.default;Pi.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var s=t.body,n=0,i=s.length;n{"use strict";Zs.__esModule=!0;Zs.SourceLocation=RTe;Zs.id=TTe;Zs.stripFlags=vTe;Zs.stripComment=PTe;Zs.preparePath=kTe;Zs.prepareMustache=DTe;Zs.prepareRawBlock=_Te;Zs.prepareBlock=LTe;Zs.prepareProgram=MTe;Zs.preparePartialBlock=OTe;function NTe(t){return t&&t.__esModule?t:{default:t}}o(NTe,"_interopRequireDefault");var STe=ws(),dD=NTe(STe);function pD(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new dD.default(t.path.original+" doesn't match "+e,r)}}o(pD,"validateClose");function RTe(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}}o(RTe,"SourceLocation");function TTe(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}o(TTe,"id");function vTe(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}o(vTe,"stripFlags");function PTe(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}o(PTe,"stripComment");function kTe(t,e,r){r=this.locInfo(r);for(var s=t?"@":"",n=[],i=0,a=0,c=e.length;a0)throw new dD.default("Invalid path: "+s,{loc:r});l===".."&&i++}else n.push(l)}return{type:"PathExpression",data:t,depth:i,parts:n,original:s,loc:r}}o(kTe,"preparePath");function DTe(t,e,r,s,n,i){var a=s.charAt(3)||s.charAt(2),c=a!=="{"&&a!=="&",l=/\*/.test(s);return{type:l?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:c,strip:n,loc:this.locInfo(i)}}o(DTe,"prepareMustache");function _Te(t,e,r,s){pD(t,r),s=this.locInfo(s);var n={type:"Program",body:e,strip:{},loc:s};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:n,openStrip:{},inverseStrip:{},closeStrip:{},loc:s}}o(_Te,"prepareRawBlock");function LTe(t,e,r,s,n,i){s&&s.path&&pD(t,s);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,l=void 0;if(r){if(a)throw new dD.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=s.strip),l=r.strip,c=r.program}return n&&(n=c,c=e,e=n),{type:a?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:c,openStrip:t.strip,inverseStrip:l,closeStrip:s&&s.strip,loc:this.locInfo(i)}}o(LTe,"prepareBlock");function MTe(t,e){if(!e&&t.length){var r=t[0].loc,s=t[t.length-1].loc;r&&s&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:s.end.line,column:s.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}o(MTe,"prepareProgram");function OTe(t,e,r,s){return pD(t,r),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:r&&r.strip,loc:this.locInfo(s)}}o(OTe,"preparePartialBlock")});var Xj=f(vm=>{"use strict";vm.__esModule=!0;vm.parseWithoutProcessing=Kj;vm.parse=YTe;function FTe(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(FTe,"_interopRequireWildcard");function fD(t){return t&&t.__esModule?t:{default:t}}o(fD,"_interopRequireDefault");var UTe=zj(),mD=fD(UTe),qTe=Wj(),GTe=fD(qTe),HTe=jj(),zTe=FTe(HTe),VTe=ws(),Tm=fD(VTe),$Te=xr();vm.parser=mD.default;var VI={};$Te.extend(VI,zTe);function Kj(t,e){if(t.type==="Program")return JTe(t),t;mD.default.yy=VI,VI.locInfo=function(s){return new VI.SourceLocation(e&&e.srcName,s)};var r=mD.default.parse(t);return r}o(Kj,"parseWithoutProcessing");function YTe(t,e){var r=Kj(t,e),s=new GTe.default(e);return s.accept(r)}o(YTe,"parse");function JTe(t){hD(t)}o(JTe,"validateInputAst");function hD(t){if(t!=null){if(Array.isArray(t)){t.forEach(hD);return}if(typeof t=="object"){if(t.type==="PathExpression"){if(!WTe(t.depth))throw new Tm.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(t.parts))throw new Tm.default("Invalid AST: PathExpression.parts must be an array");for(var e=0;e=0}o(WTe,"isValidDepth")});var r9=f(_m=>{"use strict";_m.__esModule=!0;_m.Compiler=gD;_m.precompile=ZTe;_m.compile=eve;function e9(t){return t&&t.__esModule?t:{default:t}}o(e9,"_interopRequireDefault");var jTe=ws(),km=e9(jTe),Dm=xr(),KTe=cD(),Pm=e9(KTe),XTe=[].slice;function gD(){}o(gD,"Compiler");gD.prototype={compiler:gD,equals:o(function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var s=0;s1)throw new km.default("Unsupported number of partial arguments: "+s.length,e);s.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):s.push({type:"PathExpression",parts:[],depth:0}));var n=e.name.original,i=e.name.type==="SubExpression";i&&this.accept(e.name),this.setupFullMustacheParams(e,r,void 0,!0);var a=e.indent||"";this.options.preventIndent&&a&&(this.opcode("appendContent",a),a=""),this.opcode("invokePartial",i,n,a),this.opcode("append")},"PartialStatement"),PartialBlockStatement:o(function(e){this.PartialStatement(e)},"PartialBlockStatement"),MustacheStatement:o(function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},"MustacheStatement"),Decorator:o(function(e){this.DecoratorBlock(e)},"Decorator"),ContentStatement:o(function(e){e.value&&this.opcode("appendContent",e.value)},"ContentStatement"),CommentStatement:o(function(){},"CommentStatement"),SubExpression:o(function(e){Zj(e);var r=this.classifySexpr(e);r==="simple"?this.simpleSexpr(e):r==="helper"?this.helperSexpr(e):this.ambiguousSexpr(e)},"SubExpression"),ambiguousSexpr:o(function(e,r,s){var n=e.path,i=n.parts[0],a=r!=null||s!=null;this.opcode("getContext",n.depth),this.opcode("pushProgram",r),this.opcode("pushProgram",s),n.strict=!0,this.accept(n),this.opcode("invokeAmbiguous",i,a)},"ambiguousSexpr"),simpleSexpr:o(function(e){var r=e.path;r.strict=!0,this.accept(r),this.opcode("resolvePossibleLambda")},"simpleSexpr"),helperSexpr:o(function(e,r,s){var n=this.setupFullMustacheParams(e,r,s),i=e.path,a=i.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",n.length,a);else{if(this.options.knownHelpersOnly)throw new km.default("You specified knownHelpersOnly, but used the unknown helper "+a,e);i.strict=!0,i.falsy=!0,this.accept(i),this.opcode("invokeHelper",n.length,i.original,Pm.default.helpers.simpleId(i))}},"helperSexpr"),PathExpression:o(function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],s=Pm.default.helpers.scopedId(e),n=!e.depth&&!s&&this.blockParamIndex(r);n?this.opcode("lookupBlockParam",n,e.parts):r?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,s):this.opcode("pushContext")},"PathExpression"),StringLiteral:o(function(e){this.opcode("pushString",e.value)},"StringLiteral"),NumberLiteral:o(function(e){this.opcode("pushLiteral",e.value)},"NumberLiteral"),BooleanLiteral:o(function(e){this.opcode("pushLiteral",e.value)},"BooleanLiteral"),UndefinedLiteral:o(function(){this.opcode("pushLiteral","undefined")},"UndefinedLiteral"),NullLiteral:o(function(){this.opcode("pushLiteral","null")},"NullLiteral"),Hash:o(function(e){var r=e.pairs,s=0,n=r.length;for(this.opcode("pushHash");s=0)return[r,i]}},"blockParamIndex")};function ZTe(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new km.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);e=e||{},"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var s=r.parse(t,e),n=new r.Compiler().compile(s,e);return new r.JavaScriptCompiler().compile(n,e)}o(ZTe,"precompile");function eve(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new km.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=Dm.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var s=void 0;function n(){var a=r.parse(t,e),c=new r.Compiler().compile(a,e),l=new r.JavaScriptCompiler().compile(c,e,void 0,!0);return r.template(l)}o(n,"compileInput");function i(a,c){return s||(s=n()),s.call(this,a,c)}return o(i,"ret"),i._setup=function(a){return s||(s=n()),s._setup(a)},i._child=function(a,c,l,u){return s||(s=n()),s._child(a,c,l,u)},i}o(eve,"compile");function t9(t,e){if(t===e)return!0;if(Dm.isArray(t)&&Dm.isArray(e)&&t.length===e.length){for(var r=0;r{var s9="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");ED.encode=function(t){if(0<=t&&t{var i9=n9(),yD=5,o9=1<>1;return e?-r:r}o(rve,"fromVLQSigned");CD.encode=o(function(e){var r="",s,n=tve(e);do s=n&a9,n>>>=yD,n>0&&(s|=c9),r+=i9.encode(s);while(n>0);return r},"base64VLQ_encode");CD.decode=o(function(e,r,s){var n=e.length,i=0,a=0,c,l;do{if(r>=n)throw new Error("Expected more digits in base 64 VLQ value.");if(l=i9.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));c=!!(l&c9),l&=a9,i=i+(l<{function sve(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}o(sve,"getArg");lr.getArg=sve;var l9=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,nve=/^data:.+\,.+$/;function Lm(t){var e=t.match(l9);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}o(Lm,"urlParse");lr.urlParse=Lm;function sA(t){var e="";return t.scheme&&(e+=t.scheme+":"),e+="//",t.auth&&(e+=t.auth+"@"),t.host&&(e+=t.host),t.port&&(e+=":"+t.port),t.path&&(e+=t.path),e}o(sA,"urlGenerate");lr.urlGenerate=sA;function BD(t){var e=t,r=Lm(t);if(r){if(!r.path)return t;e=r.path}for(var s=lr.isAbsolute(e),n=e.split(/\/+/),i,a=0,c=n.length-1;c>=0;c--)i=n[c],i==="."?n.splice(c,1):i===".."?a++:a>0&&(i===""?(n.splice(c+1,a),a=0):(n.splice(c,2),a--));return e=n.join("/"),e===""&&(e=s?"/":"."),r?(r.path=e,sA(r)):e}o(BD,"normalize");lr.normalize=BD;function u9(t,e){t===""&&(t="."),e===""&&(e=".");var r=Lm(e),s=Lm(t);if(s&&(t=s.path||"/"),r&&!r.scheme)return s&&(r.scheme=s.scheme),sA(r);if(r||e.match(nve))return e;if(s&&!s.host&&!s.path)return s.host=e,sA(s);var n=e.charAt(0)==="/"?e:BD(t.replace(/\/+$/,"")+"/"+e);return s?(s.path=n,sA(s)):n}o(u9,"join");lr.join=u9;lr.isAbsolute=function(t){return t.charAt(0)==="/"||l9.test(t)};function ive(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var s=t.lastIndexOf("/");if(s<0||(t=t.slice(0,s),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}o(ive,"relative");lr.relative=ive;var A9=(function(){var t=Object.create(null);return!("__proto__"in t)})();function d9(t){return t}o(d9,"identity");function ove(t){return p9(t)?"$"+t:t}o(ove,"toSetString");lr.toSetString=A9?d9:ove;function ave(t){return p9(t)?t.slice(1):t}o(ave,"fromSetString");lr.fromSetString=A9?d9:ave;function p9(t){if(!t)return!1;var e=t.length;if(e<9||t.charCodeAt(e-1)!==95||t.charCodeAt(e-2)!==95||t.charCodeAt(e-3)!==111||t.charCodeAt(e-4)!==116||t.charCodeAt(e-5)!==111||t.charCodeAt(e-6)!==114||t.charCodeAt(e-7)!==112||t.charCodeAt(e-8)!==95||t.charCodeAt(e-9)!==95)return!1;for(var r=e-10;r>=0;r--)if(t.charCodeAt(r)!==36)return!1;return!0}o(p9,"isProtoString");function cve(t,e,r){var s=nA(t.source,e.source);return s!==0||(s=t.originalLine-e.originalLine,s!==0)||(s=t.originalColumn-e.originalColumn,s!==0||r)||(s=t.generatedColumn-e.generatedColumn,s!==0)||(s=t.generatedLine-e.generatedLine,s!==0)?s:nA(t.name,e.name)}o(cve,"compareByOriginalPositions");lr.compareByOriginalPositions=cve;function lve(t,e,r){var s=t.generatedLine-e.generatedLine;return s!==0||(s=t.generatedColumn-e.generatedColumn,s!==0||r)||(s=nA(t.source,e.source),s!==0)||(s=t.originalLine-e.originalLine,s!==0)||(s=t.originalColumn-e.originalColumn,s!==0)?s:nA(t.name,e.name)}o(lve,"compareByGeneratedPositionsDeflated");lr.compareByGeneratedPositionsDeflated=lve;function nA(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}o(nA,"strcmp");function uve(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=nA(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:nA(t.name,e.name)}o(uve,"compareByGeneratedPositionsInflated");lr.compareByGeneratedPositionsInflated=uve;function Ave(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}o(Ave,"parseSourceMapInput");lr.parseSourceMapInput=Ave;function dve(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var s=Lm(r);if(!s)throw new Error("sourceMapURL could not be parsed");if(s.path){var n=s.path.lastIndexOf("/");n>=0&&(s.path=s.path.substring(0,n+1))}e=u9(sA(s),e)}return BD(e)}o(dve,"computeSourceURL");lr.computeSourceURL=dve});var QD=f(m9=>{var wD=iA(),bD=Object.prototype.hasOwnProperty,qc=typeof Map<"u";function yo(){this._array=[],this._set=qc?new Map:Object.create(null)}o(yo,"ArraySet");yo.fromArray=o(function(e,r){for(var s=new yo,n=0,i=e.length;n=0)return r}else{var s=wD.toSetString(e);if(bD.call(this._set,s))return this._set[s]}throw new Error('"'+e+'" is not in the set.')},"ArraySet_indexOf");yo.prototype.at=o(function(e){if(e>=0&&e{var h9=iA();function pve(t,e){var r=t.generatedLine,s=e.generatedLine,n=t.generatedColumn,i=e.generatedColumn;return s>r||s==r&&i>=n||h9.compareByGeneratedPositionsInflated(t,e)<=0}o(pve,"generatedPositionAfter");function $I(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o($I,"MappingList");$I.prototype.unsortedForEach=o(function(e,r){this._array.forEach(e,r)},"MappingList_forEach");$I.prototype.add=o(function(e){pve(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},"MappingList_add");$I.prototype.toArray=o(function(){return this._sorted||(this._array.sort(h9.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},"MappingList_toArray");f9.MappingList=$I});var xD=f(E9=>{var Mm=ID(),Tt=iA(),YI=QD().ArraySet,mve=g9().MappingList;function en(t){t||(t={}),this._file=Tt.getArg(t,"file",null),this._sourceRoot=Tt.getArg(t,"sourceRoot",null),this._skipValidation=Tt.getArg(t,"skipValidation",!1),this._sources=new YI,this._names=new YI,this._mappings=new mve,this._sourcesContents=null}o(en,"SourceMapGenerator");en.prototype._version=3;en.fromSourceMap=o(function(e){var r=e.sourceRoot,s=new en({file:e.file,sourceRoot:r});return e.eachMapping(function(n){var i={generated:{line:n.generatedLine,column:n.generatedColumn}};n.source!=null&&(i.source=n.source,r!=null&&(i.source=Tt.relative(r,i.source)),i.original={line:n.originalLine,column:n.originalColumn},n.name!=null&&(i.name=n.name)),s.addMapping(i)}),e.sources.forEach(function(n){var i=n;r!==null&&(i=Tt.relative(r,n)),s._sources.has(i)||s._sources.add(i);var a=e.sourceContentFor(n);a!=null&&s.setSourceContent(n,a)}),s},"SourceMapGenerator_fromSourceMap");en.prototype.addMapping=o(function(e){var r=Tt.getArg(e,"generated"),s=Tt.getArg(e,"original",null),n=Tt.getArg(e,"source",null),i=Tt.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,s,n,i),n!=null&&(n=String(n),this._sources.has(n)||this._sources.add(n)),i!=null&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:s!=null&&s.line,originalColumn:s!=null&&s.column,source:n,name:i})},"SourceMapGenerator_addMapping");en.prototype.setSourceContent=o(function(e,r){var s=e;this._sourceRoot!=null&&(s=Tt.relative(this._sourceRoot,s)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Tt.toSetString(s)]=r):this._sourcesContents&&(delete this._sourcesContents[Tt.toSetString(s)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},"SourceMapGenerator_setSourceContent");en.prototype.applySourceMap=o(function(e,r,s){var n=r;if(r==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);n=e.file}var i=this._sourceRoot;i!=null&&(n=Tt.relative(i,n));var a=new YI,c=new YI;this._mappings.unsortedForEach(function(l){if(l.source===n&&l.originalLine!=null){var u=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});u.source!=null&&(l.source=u.source,s!=null&&(l.source=Tt.join(s,l.source)),i!=null&&(l.source=Tt.relative(i,l.source)),l.originalLine=u.line,l.originalColumn=u.column,u.name!=null&&(l.name=u.name))}var A=l.source;A!=null&&!a.has(A)&&a.add(A);var d=l.name;d!=null&&!c.has(d)&&c.add(d)},this),this._sources=a,this._names=c,e.sources.forEach(function(l){var u=e.sourceContentFor(l);u!=null&&(s!=null&&(l=Tt.join(s,l)),i!=null&&(l=Tt.relative(i,l)),this.setSourceContent(l,u))},this)},"SourceMapGenerator_applySourceMap");en.prototype._validateMapping=o(function(e,r,s,n){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!s&&!n)){if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&s)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:s,original:r,name:n}))}},"SourceMapGenerator_validateMapping");en.prototype._serializeMappings=o(function(){for(var e=0,r=1,s=0,n=0,i=0,a=0,c="",l,u,A,d,p=this._mappings.toArray(),m=0,h=p.length;m0){if(!Tt.compareByGeneratedPositionsInflated(u,p[m-1]))continue;l+=","}l+=Mm.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(d=this._sources.indexOf(u.source),l+=Mm.encode(d-a),a=d,l+=Mm.encode(u.originalLine-1-n),n=u.originalLine-1,l+=Mm.encode(u.originalColumn-s),s=u.originalColumn,u.name!=null&&(A=this._names.indexOf(u.name),l+=Mm.encode(A-i),i=A)),c+=l}return c},"SourceMapGenerator_serializeMappings");en.prototype._generateSourcesContent=o(function(e,r){return e.map(function(s){if(!this._sourcesContents)return null;r!=null&&(s=Tt.relative(r,s));var n=Tt.toSetString(s);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},"SourceMapGenerator_generateSourcesContent");en.prototype.toJSON=o(function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},"SourceMapGenerator_toJSON");en.prototype.toString=o(function(){return JSON.stringify(this.toJSON())},"SourceMapGenerator_toString");E9.SourceMapGenerator=en});var y9=f(Gc=>{Gc.GREATEST_LOWER_BOUND=1;Gc.LEAST_UPPER_BOUND=2;function ND(t,e,r,s,n,i){var a=Math.floor((e-t)/2)+t,c=n(r,s[a],!0);return c===0?a:c>0?e-a>1?ND(a,e,r,s,n,i):i==Gc.LEAST_UPPER_BOUND?e1?ND(t,a,r,s,n,i):i==Gc.LEAST_UPPER_BOUND?a:t<0?-1:t}o(ND,"recursiveSearch");Gc.search=o(function(e,r,s,n){if(r.length===0)return-1;var i=ND(-1,r.length,e,r,s,n||Gc.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&s(r[i],r[i-1],!0)===0;)--i;return i},"search")});var I9=f(C9=>{function SD(t,e,r){var s=t[e];t[e]=t[r],t[r]=s}o(SD,"swap");function hve(t,e){return Math.round(t+Math.random()*(e-t))}o(hve,"randomIntInRange");function RD(t,e,r,s){if(r{var H=iA(),TD=y9(),oA=QD().ArraySet,fve=ID(),Om=I9().quickSort;function Ve(t,e){var r=t;return typeof t=="string"&&(r=H.parseSourceMapInput(t)),r.sections!=null?new Tn(r,e):new Xt(r,e)}o(Ve,"SourceMapConsumer");Ve.fromSourceMap=function(t,e){return Xt.fromSourceMap(t,e)};Ve.prototype._version=3;Ve.prototype.__generatedMappings=null;Object.defineProperty(Ve.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings},"get")});Ve.prototype.__originalMappings=null;Object.defineProperty(Ve.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings},"get")});Ve.prototype._charIsMappingSeparator=o(function(e,r){var s=e.charAt(r);return s===";"||s===","},"SourceMapConsumer_charIsMappingSeparator");Ve.prototype._parseMappings=o(function(e,r){throw new Error("Subclasses must implement _parseMappings")},"SourceMapConsumer_parseMappings");Ve.GENERATED_ORDER=1;Ve.ORIGINAL_ORDER=2;Ve.GREATEST_LOWER_BOUND=1;Ve.LEAST_UPPER_BOUND=2;Ve.prototype.eachMapping=o(function(e,r,s){var n=r||null,i=s||Ve.GENERATED_ORDER,a;switch(i){case Ve.GENERATED_ORDER:a=this._generatedMappings;break;case Ve.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var c=this.sourceRoot;a.map(function(l){var u=l.source===null?null:this._sources.at(l.source);return u=H.computeSourceURL(c,u,this._sourceMapURL),{source:u,generatedLine:l.generatedLine,generatedColumn:l.generatedColumn,originalLine:l.originalLine,originalColumn:l.originalColumn,name:l.name===null?null:this._names.at(l.name)}},this).forEach(e,n)},"SourceMapConsumer_eachMapping");Ve.prototype.allGeneratedPositionsFor=o(function(e){var r=H.getArg(e,"line"),s={source:H.getArg(e,"source"),originalLine:r,originalColumn:H.getArg(e,"column",0)};if(s.source=this._findSourceIndex(s.source),s.source<0)return[];var n=[],i=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",H.compareByOriginalPositions,TD.LEAST_UPPER_BOUND);if(i>=0){var a=this._originalMappings[i];if(e.column===void 0)for(var c=a.originalLine;a&&a.originalLine===c;)n.push({line:H.getArg(a,"generatedLine",null),column:H.getArg(a,"generatedColumn",null),lastColumn:H.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)n.push({line:H.getArg(a,"generatedLine",null),column:H.getArg(a,"generatedColumn",null),lastColumn:H.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i]}return n},"SourceMapConsumer_allGeneratedPositionsFor");JI.SourceMapConsumer=Ve;function Xt(t,e){var r=t;typeof t=="string"&&(r=H.parseSourceMapInput(t));var s=H.getArg(r,"version"),n=H.getArg(r,"sources"),i=H.getArg(r,"names",[]),a=H.getArg(r,"sourceRoot",null),c=H.getArg(r,"sourcesContent",null),l=H.getArg(r,"mappings"),u=H.getArg(r,"file",null);if(s!=this._version)throw new Error("Unsupported version: "+s);a&&(a=H.normalize(a)),n=n.map(String).map(H.normalize).map(function(A){return a&&H.isAbsolute(a)&&H.isAbsolute(A)?H.relative(a,A):A}),this._names=oA.fromArray(i.map(String),!0),this._sources=oA.fromArray(n,!0),this._absoluteSources=this._sources.toArray().map(function(A){return H.computeSourceURL(a,A,e)}),this.sourceRoot=a,this.sourcesContent=c,this._mappings=l,this._sourceMapURL=e,this.file=u}o(Xt,"BasicSourceMapConsumer");Xt.prototype=Object.create(Ve.prototype);Xt.prototype.consumer=Ve;Xt.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=H.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r1&&(g.source=c+E[1],c+=E[1],g.originalLine=i+E[2],i=g.originalLine,g.originalLine+=1,g.originalColumn=a+E[3],a=g.originalColumn,E.length>4&&(g.name=l+E[4],l+=E[4])),h.push(g),typeof g.originalLine=="number"&&m.push(g)}Om(h,H.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,Om(m,H.compareByOriginalPositions),this.__originalMappings=m},"SourceMapConsumer_parseMappings");Xt.prototype._findMapping=o(function(e,r,s,n,i,a){if(e[s]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[s]);if(e[n]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[n]);return TD.search(e,r,i,a)},"SourceMapConsumer_findMapping");Xt.prototype.computeColumnSpans=o(function(){for(var e=0;e=0){var n=this._generatedMappings[s];if(n.generatedLine===r.generatedLine){var i=H.getArg(n,"source",null);i!==null&&(i=this._sources.at(i),i=H.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var a=H.getArg(n,"name",null);return a!==null&&(a=this._names.at(a)),{source:i,line:H.getArg(n,"originalLine",null),column:H.getArg(n,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},"SourceMapConsumer_originalPositionFor");Xt.prototype.hasContentsOfAllSources=o(function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},"BasicSourceMapConsumer_hasContentsOfAllSources");Xt.prototype.sourceContentFor=o(function(e,r){if(!this.sourcesContent)return null;var s=this._findSourceIndex(e);if(s>=0)return this.sourcesContent[s];var n=e;this.sourceRoot!=null&&(n=H.relative(this.sourceRoot,n));var i;if(this.sourceRoot!=null&&(i=H.urlParse(this.sourceRoot))){var a=n.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!i.path||i.path=="/")&&this._sources.has("/"+n))return this.sourcesContent[this._sources.indexOf("/"+n)]}if(r)return null;throw new Error('"'+n+'" is not in the SourceMap.')},"SourceMapConsumer_sourceContentFor");Xt.prototype.generatedPositionFor=o(function(e){var r=H.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var s={source:r,originalLine:H.getArg(e,"line"),originalColumn:H.getArg(e,"column")},n=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",H.compareByOriginalPositions,H.getArg(e,"bias",Ve.GREATEST_LOWER_BOUND));if(n>=0){var i=this._originalMappings[n];if(i.source===s.source)return{line:H.getArg(i,"generatedLine",null),column:H.getArg(i,"generatedColumn",null),lastColumn:H.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},"SourceMapConsumer_generatedPositionFor");JI.BasicSourceMapConsumer=Xt;function Tn(t,e){var r=t;typeof t=="string"&&(r=H.parseSourceMapInput(t));var s=H.getArg(r,"version"),n=H.getArg(r,"sections");if(s!=this._version)throw new Error("Unsupported version: "+s);this._sources=new oA,this._names=new oA;var i={line:-1,column:0};this._sections=n.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var c=H.getArg(a,"offset"),l=H.getArg(c,"line"),u=H.getArg(c,"column");if(l{var gve=xD().SourceMapGenerator,WI=iA(),Eve=/(\r?\n)/,yve=10,aA="$$$isSourceNode$$$";function bs(t,e,r,s,n){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=n??null,this[aA]=!0,s!=null&&this.add(s)}o(bs,"SourceNode");bs.fromStringWithSourceMap=o(function(e,r,s){var n=new bs,i=e.split(Eve),a=0,c=o(function(){var p=h(),m=h()||"";return p+m;function h(){return a=0;r--)this.prepend(e[r]);else if(e[aA]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this},"SourceNode_prepend");bs.prototype.walk=o(function(e){for(var r,s=0,n=this.children.length;s0){for(r=[],s=0;s{jI.SourceMapGenerator=xD().SourceMapGenerator;jI.SourceMapConsumer=w9().SourceMapConsumer;jI.SourceNode=Q9().SourceNode});var T9=f((KI,R9)=>{"use strict";KI.__esModule=!0;var PD=xr(),Hc=void 0;try{(typeof define!="function"||!define.amd)&&(N9=x9(),Hc=N9.SourceNode)}catch{}var N9;Hc||(Hc=o(function(t,e,r,s){this.src="",s&&this.add(s)},"SourceNode"),Hc.prototype={add:o(function(e){PD.isArray(e)&&(e=e.join("")),this.src+=e},"add"),prepend:o(function(e){PD.isArray(e)&&(e=e.join("")),this.src=e+this.src},"prepend"),toStringWithSourceMap:o(function(){return{code:this.toString()}},"toStringWithSourceMap"),toString:o(function(){return this.src},"toString")});function vD(t,e,r){if(PD.isArray(t)){for(var s=[],n=0,i=t.length;n{"use strict";XI.__esModule=!0;function k9(t){return t&&t.__esModule?t:{default:t}}o(k9,"_interopRequireDefault");var v9=PI(),Cve=ws(),kD=k9(Cve),Ive=xr(),Bve=T9(),P9=k9(Bve);function cA(t){this.value=t}o(cA,"Literal");function lA(){}o(lA,"JavaScriptCompiler");lA.prototype={nameLookup:o(function(e,r){return this.internalNameLookup(e,r)},"nameLookup"),depthedLookup:o(function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},"depthedLookup"),compilerInfo:o(function(){var e=v9.COMPILER_REVISION,r=v9.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,s){return Ive.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:s?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},"appendToBuffer"),initializeBuffer:o(function(){return this.quotedString("")},"initializeBuffer"),internalNameLookup:o(function(e,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(r),")"]},"internalNameLookup"),lookupPropertyFunctionIsUsed:!1,compile:o(function(e,r,s,n){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!n,this.name=this.environment.name,this.isChild=!!s,this.context=s||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,r),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var i=e.opcodes,a=void 0,c=void 0,l=void 0,u=void 0;for(l=0,u=i.length;l0&&(s+=", "+n.join(", "));var i=0;Object.keys(this.aliases).forEach(function(l){var u=r.aliases[l];u.children&&u.referenceCount>1&&(s+=", alias"+ ++i+"="+l,u.children[0]="alias"+i)}),this.lookupPropertyFunctionIsUsed&&(s+=", "+this.lookupPropertyFunctionVarDeclaration());var a=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&a.push("blockParams"),this.useDepths&&a.push("depths");var c=this.mergeSource(s);return e?(a.push(c),Function.apply(this,a)):this.source.wrap(["function(",a.join(","),`) { `,c,"}"])},"createFunctionContext"),mergeSource:o(function(e){var r=this.environment.isSimple,s=!this.forceBuffer,n=void 0,i=void 0,a=void 0,c=void 0;return this.source.each(function(l){l.appendToBuffer?(a?l.prepend(" + "):a=l,c=l):(a&&(i?a.prepend("buffer += "):n=!0,c.add(";"),a=c=void 0),i=!0,r||(s=!1))}),s?a?(a.prepend("return "),c.add(";")):i||this.source.push('return "";'):(e+=", buffer = "+(n?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),c.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(n?"":`; `)),this.source.merge()},"mergeSource"),lookupPropertyFunctionVarDeclaration:o(function(){return` lookupProperty = container.lookupProperty || function(parent, propertyName) { if (Object.prototype.hasOwnProperty.call(parent, propertyName)) { return parent[propertyName]; } return undefined } `.trim()},"lookupPropertyFunctionVarDeclaration"),blockValue:o(function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),s=[this.contextName(0)];this.setupHelperArgs(e,0,s);var n=this.popStack();s.splice(1,0,n),this.push(this.source.functionCall(r,"call",s))},"blockValue"),ambiguousBlockValue:o(function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var s=this.topStack();r.splice(1,0,s),this.pushSource(["if (!",this.lastHelper,") { ",s," = ",this.source.functionCall(e,"call",r),"}"])},"ambiguousBlockValue"),appendContent:o(function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},"appendContent"),append:o(function(){if(this.isInline())this.replaceStack(function(r){return[" != null ? ",r,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},"append"),appendEscaped:o(function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},"appendEscaped"),getContext:o(function(e){this.lastContext=e},"getContext"),pushContext:o(function(){this.pushStackLiteral(this.contextName(this.lastContext))},"pushContext"),lookupOnContext:o(function(e,r,s,n){var i=0;!n&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[i++])):this.pushContext(),this.resolvePath("context",e,i,r,s)},"lookupOnContext"),lookupBlockParam:o(function(e,r){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",r,1)},"lookupBlockParam"),lookupData:o(function(e,r,s){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,s)},"lookupData"),resolvePath:o(function(e,r,s,n,i){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(wve(this.options.strict&&i,this,r,s,e));return}for(var c=r.length,l=o(function(A){a.replaceStack(function(d){var p=a.nameLookup(d,r[A],e);return n?[" && ",p]:[" != null ? ",p," : ",d]})},"_loop"),u=s;uthis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},"incrStack"),topStackName:o(function(){return"stack"+this.stackSlot},"topStackName"),flushInline:o(function(){var e=this.inlineStack;this.inlineStack=[];for(var r=0,s=e.length;r{"use strict";ZI.__esModule=!0;function Fm(t){return t&&t.__esModule?t:{default:t}}o(Fm,"_interopRequireDefault");var bve=Uj(),Qve=Fm(bve),xve=cD(),Nve=Fm(xve),DD=Xj(),_D=r9(),Sve=_9(),Rve=Fm(Sve),Tve=HI(),vve=Fm(Tve),Pve=nD(),kve=Fm(Pve),Dve=Qve.default.create;function L9(){var t=Dve();return t.compile=function(e,r){return _D.compile(e,r,t)},t.precompile=function(e,r){return _D.precompile(e,r,t)},t.AST=Nve.default,t.Compiler=_D.Compiler,t.JavaScriptCompiler=Rve.default,t.Parser=DD.parser,t.parse=DD.parse,t.parseWithoutProcessing=DD.parseWithoutProcessing,t}o(L9,"create");var uA=L9();uA.create=L9;kve.default(uA);uA.Visitor=vve.default;uA.default=uA;ZI.default=uA;M9.exports=ZI.default});var F9=f(eB=>{"use strict";eB.__esModule=!0;eB.print=Ove;eB.PrintVisitor=dt;function _ve(t){return t&&t.__esModule?t:{default:t}}o(_ve,"_interopRequireDefault");var Lve=HI(),Mve=_ve(Lve);function Ove(t){return new dt().accept(t)}o(Ove,"print");function dt(){this.padding=0}o(dt,"PrintVisitor");dt.prototype=new Mve.default;dt.prototype.pad=function(t){for(var e="",r=0,s=this.padding;r "+e+" }}")};dt.prototype.PartialBlockStatement=function(t){var e="PARTIAL BLOCK:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),e+=" "+this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--,this.pad("{{> "+e+" }}")};dt.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};dt.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};dt.prototype.SubExpression=function(t){for(var e=t.params,r=[],s=void 0,n=0,i=e.length;n{var _e=require("fs"),sB=require("os"),Ot=require("path"),H9=require("crypto"),ki={fs:_e.constants,os:sB.constants},z9="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",J9=/XXXXXX/,Fve=3,W9=(ki.O_CREAT||ki.fs.O_CREAT)|(ki.O_EXCL||ki.fs.O_EXCL)|(ki.O_RDWR||ki.fs.O_RDWR),Uve=sB.platform()==="win32",qve=ki.EBADF||ki.os.errno.EBADF,Gve=ki.ENOENT||ki.os.errno.ENOENT,j9=448,K9=384,Hve="exit",AA=[],X9=_e.rmdirSync.bind(_e),Z9=!1;function zve(t,e){return _e.rm(t,{recursive:!0},e)}o(zve,"rimraf");function e6(t){return _e.rmSync(t,{recursive:!0})}o(e6,"FN_RIMRAF_SYNC");function UD(t,e){let r=dA(t,e),s=r[0],n=r[1];ePe(s,function(i,a){if(i)return n(i);let c=a.tries;o((function l(){try{let u=r6(a);_e.stat(u,function(A){if(!A)return c-- >0?l():n(new Error("Could not get a unique tmp filename, max tries reached "+u));n(null,u)})}catch(u){n(u)}}),"_getUniqueName")()})}o(UD,"tmpName");function qD(t){let e=dA(t),r=e[0],s=tPe(r),n=s.tries;do{let i=r6(s);try{_e.statSync(i)}catch{return i}}while(n-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}o(qD,"tmpNameSync");function Vve(t,e){let r=dA(t,e),s=r[0],n=r[1];UD(s,o(function(a,c){if(a)return n(a);_e.open(c,W9,s.mode||K9,o(function(u,A){if(u)return n(u);if(s.discardDescriptor)return _e.close(A,o(function(p){return n(p,c,void 0,OD(c,-1,s,!1))},"_discardCallback"));{let d=s.discardDescriptor||s.detachDescriptor;n(null,c,A,OD(c,d?-1:A,s,!1))}},"_fileCreated"))},"_tmpNameCreated"))}o(Vve,"file");function $ve(t){let e=dA(t),r=e[0],s=r.discardDescriptor||r.detachDescriptor,n=qD(r),i=_e.openSync(n,W9,r.mode||K9);return r.discardDescriptor&&(_e.closeSync(i),i=void 0),{name:n,fd:i,removeCallback:OD(n,s?-1:i,r,!0)}}o($ve,"fileSync");function Yve(t,e){let r=dA(t,e),s=r[0],n=r[1];UD(s,o(function(a,c){if(a)return n(a);_e.mkdir(c,s.mode||j9,o(function(u){if(u)return n(u);n(null,c,t6(c,s,!1))},"_dirCreated"))},"_tmpNameCreated"))}o(Yve,"dir");function Jve(t){let e=dA(t),r=e[0],s=qD(r);return _e.mkdirSync(s,r.mode||j9),{name:s,removeCallback:t6(s,r,!0)}}o(Jve,"dirSync");function Wve(t,e){let r=o(function(s){if(s&&!FD(s))return e(s);e()},"_handler");0<=t[0]?_e.close(t[0],function(){_e.unlink(t[1],r)}):_e.unlink(t[1],r)}o(Wve,"_removeFileAsync");function jve(t){let e=null;try{0<=t[0]&&_e.closeSync(t[0])}catch(r){if(!rPe(r)&&!FD(r))throw r}finally{try{_e.unlinkSync(t[1])}catch(r){FD(r)||(e=r)}}if(e!==null)throw e}o(jve,"_removeFileSync");function OD(t,e,r,s){let n=rB(jve,[e,t],s),i=rB(Wve,[e,t],s,n);return r.keep||AA.unshift(n),s?n:i}o(OD,"_prepareTmpFileRemoveCallback");function t6(t,e,r){let s=e.unsafeCleanup?zve:_e.rmdir.bind(_e),n=e.unsafeCleanup?e6:X9,i=rB(n,t,r),a=rB(s,t,r,i);return e.keep||AA.unshift(i),r?i:a}o(t6,"_prepareTmpDirRemoveCallback");function rB(t,e,r,s){let n=!1;return o(function i(a){if(!n){let c=s||i,l=AA.indexOf(c);return l>=0&&AA.splice(l,1),n=!0,r||t===X9||t===e6?t(e):t(e,a||function(){})}},"_cleanupCallback")}o(rB,"_prepareRemoveCallback");function Kve(){if(Z9)for(;AA.length;)try{AA[0]()}catch{}}o(Kve,"_garbageCollector");function V9(t){let e=[],r=null;try{r=H9.randomBytes(t)}catch{r=H9.pseudoRandomBytes(t)}for(let s=0;s"u"}o(Yr,"_isUndefined");function dA(t,e){if(typeof t=="function")return[{},t];if(Yr(t))return[{},e];let r={};for(let s of Object.getOwnPropertyNames(t))r[s]=t[s];return[r,e]}o(dA,"_parseArguments");function Xve(t,e,r){let s=Ot.isAbsolute(t)?t:Ot.join(e,t);_e.stat(s,function(n){n?_e.realpath(Ot.dirname(s),function(i,a){if(i)return r(i);r(null,Ot.join(a,Ot.basename(s)))}):_e.realpath(s,r)})}o(Xve,"_resolvePath");function Zve(t,e){let r=Ot.isAbsolute(t)?t:Ot.join(e,t);try{return _e.statSync(r),_e.realpathSync(r)}catch{let n=_e.realpathSync(Ot.dirname(r));return Ot.join(n,Ot.basename(r))}}o(Zve,"_resolvePathSync");function r6(t){let e=t.tmpdir;if(!Yr(t.name))return Ot.join(e,t.dir,t.name);if(!Yr(t.template))return Ot.join(e,t.dir,t.template).replace(J9,V9(6));let r=[t.prefix?t.prefix:"tmp","-",process.pid,"-",V9(12),t.postfix?"-"+t.postfix:""].join("");return Ot.join(e,t.dir,r)}o(r6,"_generateTmpName");function MD(t,e){if(typeof e!="string")throw new Error(`${t} option must be a string, got "${typeof e}".`);if(e.includes(".."))throw new Error("Relative value not allowed");return e}o(MD,"_assertPath");function s6(t){if(!Yr(t.name)){let e=t.name;if(Ot.isAbsolute(e))throw new Error(`name option must not contain an absolute path, found "${e}".`);let r=Ot.basename(e);if(r===".."||r==="."||r!==e)throw new Error(`name option must not contain a path, found "${e}".`)}if(!Yr(t.template)){if(typeof t.template!="string")throw new Error(`template option must be a string, got "${typeof t.template}".`);if(!t.template.match(J9))throw new Error(`Invalid template, found "${t.template}".`)}if(!Yr(t.tries)&&isNaN(t.tries)||t.tries<0)throw new Error(`Invalid tries, found "${t.tries}".`);t.tries=Yr(t.name)?t.tries||Fve:1,t.keep=!!t.keep,t.detachDescriptor=!!t.detachDescriptor,t.discardDescriptor=!!t.discardDescriptor,t.unsafeCleanup=!!t.unsafeCleanup,t.prefix=Yr(t.prefix)?"":MD("prefix",t.prefix),t.postfix=Yr(t.postfix)?"":MD("postfix",t.postfix),t.template=Yr(t.template)?void 0:MD("template",t.template)}o(s6,"_assertOptionsBase");function $9(t,e,r,s){if(Yr(e))return s(null);Xve(e,r,function(n,i){if(n)return s(n);let a=Ot.relative(r,i);if(a.startsWith("..")||Ot.isAbsolute(a))return s(new Error(`${t} option must be relative to "${r}", found "${a}".`));s(null,a)})}o($9,"_getRelativePath");function Y9(t,e,r){if(Yr(e))return;let s=Zve(e,r),n=Ot.relative(r,s);if(n.startsWith("..")||Ot.isAbsolute(n))throw new Error(`${t} option must be relative to "${r}", found "${n}".`);return n}o(Y9,"_getRelativePathSync");function ePe(t,e){nPe(t,function(r,s){if(r)return e(r);t.tmpdir=s;try{s6(t,s)}catch(n){return e(n)}$9("dir",t.dir,s,function(n,i){if(n)return e(n);t.dir=Yr(i)?"":i,$9("template",t.template,s,function(a,c){if(a)return e(a);t.template=c,e(null,t)})})})}o(ePe,"_assertAndSanitizeOptions");function tPe(t){let e=t.tmpdir=i6(t);s6(t,e);let r=Y9("dir",t.dir,e);return t.dir=Yr(r)?"":r,t.template=Y9("template",t.template,e),t}o(tPe,"_assertAndSanitizeOptionsSync");function rPe(t){return n6(t,-qve,"EBADF")}o(rPe,"_isEBADF");function FD(t){return n6(t,-Gve,"ENOENT")}o(FD,"_isENOENT");function n6(t,e,r){return Uve?t.code===r:t.code===r&&t.errno===e}o(n6,"_isExpectedError");function sPe(){Z9=!0}o(sPe,"setGracefulCleanup");function nPe(t,e){return _e.realpath(t&&t.tmpdir||sB.tmpdir(),e)}o(nPe,"_getTmpDir");function i6(t){return _e.realpathSync(t&&t.tmpdir||sB.tmpdir())}o(i6,"_getTmpDirSync");process.addListener(Hve,Kve);Object.defineProperty(Co.exports,"tmpdir",{enumerable:!0,configurable:!1,get:o(function(){return i6()},"get")});Co.exports.dir=Yve;Co.exports.dirSync=Jve;Co.exports.file=Vve;Co.exports.fileSync=$ve;Co.exports.tmpName=UD;Co.exports.tmpNameSync=qD;Co.exports.setGracefulCleanup=sPe});var C6=f(lB=>{"use strict";Object.defineProperty(lB,"__esModule",{value:!0});lB.getProxyUrl=cPe;lB.checkBypass=y6;function cPe(t){let e=t.protocol==="https:";if(y6(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 cB(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new cB(`http://${r}`)}else return}o(cPe,"getProxyUrl");function y6(t){if(!t.hostname)return!1;let e=t.hostname;if(lPe(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||n.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(y6,"checkBypass");function lPe(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(lPe,"isLoopbackAddress");var cB=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 B6=f(et=>{"use strict";var uPe=et&&et.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),APe=et&&et.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),pB=et&&et.__importStar||(function(){var t=o(function(e){return t=Object.getOwnPropertyNames||function(r){var s=[];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(s[s.length]=n);return s},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var s=t(e),n=0;nbt(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",s=>{r=Buffer.concat([r,s])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return bt(this,void 0,void 0,function*(){return new Promise(e=>bt(this,void 0,void 0,function*(){let r=[];this.message.on("data",s=>{r.push(s)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};et.HttpClientResponse=dB;function yPe(t){return new URL(t).protocol==="https:"}o(yPe,"isHttps");var WD=class{static{o(this,"HttpClient")}constructor(e,r,s){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=s,s&&(s.ignoreSslError!=null&&(this._ignoreSslError=s.ignoreSslError),this._socketTimeout=s.socketTimeout,s.allowRedirects!=null&&(this._allowRedirects=s.allowRedirects),s.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=s.allowRedirectDowngrade),s.maxRedirects!=null&&(this._maxRedirects=Math.max(s.maxRedirects,0)),s.keepAlive!=null&&(this._keepAlive=s.keepAlive),s.allowRetries!=null&&(this._allowRetries=s.allowRetries),s.maxRetries!=null&&(this._maxRetries=s.maxRetries))}options(e,r){return bt(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return bt(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return bt(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return bt(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return bt(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return bt(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return bt(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return bt(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return bt(this,arguments,void 0,function*(r,s={}){s[Sr.Accept]=this._getExistingOrDefaultHeader(s,Sr.Accept,Io.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return bt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Sr.Accept]=this._getExistingOrDefaultHeader(i,Sr.Accept,Io.ApplicationJson),i[Sr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Io.ApplicationJson);let c=yield this.post(s,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return bt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Sr.Accept]=this._getExistingOrDefaultHeader(i,Sr.Accept,Io.ApplicationJson),i[Sr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Io.ApplicationJson);let c=yield this.put(s,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return bt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Sr.Accept]=this._getExistingOrDefaultHeader(i,Sr.Accept,Io.ApplicationJson),i[Sr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Io.ApplicationJson);let c=yield this.patch(s,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,s,n){return bt(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),a=this._prepareRequest(e,i,n),c=this._allowRetries&&fPe.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,s),u&&u.message&&u.message.statusCode===tn.Unauthorized){let d;for(let p of this.handlers)if(p.canHandleAuthentication(u)){d=p;break}return d?d.handleAuthentication(this,a,s):u}let A=this._maxRedirects;for(;u.message.statusCode&&mPe.includes(u.message.statusCode)&&this._allowRedirects&&A>0;){let d=u.message.headers.location;if(!d)break;let p=new URL(d);if(i.protocol==="https:"&&i.protocol!==p.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 u.readBody(),p.hostname!==i.hostname)for(let m in n)m.toLowerCase()==="authorization"&&delete n[m];a=this._prepareRequest(e,p,n),u=yield this.requestRaw(a,s),A--}if(!u.message.statusCode||!hPe.includes(u.message.statusCode))return u;l+=1,l{function i(a,c){a?n(a):c?s(c):n(new Error("Unknown error"))}o(i,"callbackForResult"),this.requestRawWithCallback(e,r,i)})})}requestRawWithCallback(e,r,s){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let n=!1;function i(l,u){n||(n=!0,s(l,u))}o(i,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new dB(l);i(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),i(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){i(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),s=JD.getProxyUrl(r);if(s&&s.hostname)return this._getProxyAgentDispatcher(r,s)}_prepareRequest(e,r,s){let n={};n.parsedUrl=r;let i=n.parsedUrl.protocol==="https:";n.httpModule=i?I6:YD;let a=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):a,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(s),this.userAgent!=null&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},Hm(this.requestOptions.headers),Hm(e||{})):Hm(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=Hm(this.requestOptions.headers)[r];a&&(n=typeof a=="number"?a.toString():a)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:n!==void 0?n:s}_getExistingOrDefaultContentTypeHeader(e,r){let s;if(this.requestOptions&&this.requestOptions.headers){let i=Hm(this.requestOptions.headers)[Sr.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[Sr.ContentType];return n!==void 0?typeof n=="number"?String(n):Array.isArray(n)?n.join(", "):n:s!==void 0?s:r}_getAgent(e){let r,s=JD.getProxyUrl(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||YD.globalAgent.maxSockets),s&&s.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},l,u=s.protocol==="https:";i?l=u?uB.httpsOverHttps:uB.httpsOverHttp:l=u?uB.httpOverHttps:uB.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new I6.Agent(c):new YD.Agent(c),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let s;if(this._keepAlive&&(s=this._proxyAgentDispatcher),s)return s;let n=e.protocol==="https:";return s=new dPe.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=s,n&&this._ignoreSslError&&(s.options=Object.assign(s.options.requestTls||{},{rejectUnauthorized:!1})),s}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",s=process.env.ACTIONS_ORCHESTRATION_ID;if(s){let n=s.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${n}`}return r}_performExponentialBackoff(e){return bt(this,void 0,void 0,function*(){e=Math.min(gPe,e);let r=EPe*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return bt(this,void 0,void 0,function*(){return new Promise((s,n)=>bt(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===tn.NotFound&&s(a);function c(A,d){if(typeof d=="string"){let p=new Date(d);if(!isNaN(p.valueOf()))return p}return d}o(c,"dateTimeDeserializer");let l,u;try{u=yield e.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),a.result=l),a.headers=e.message.headers}catch{}if(i>299){let A;l&&l.message?A=l.message:u&&u.length>0?A=u:A=`Failed request: (${i})`;let d=new AB(A,i);d.result=a.result,n(d)}else s(a)}))})}};et.HttpClient=WD;var Hm=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var z6=f((Jlt,Vm)=>{"use strict";var gB=o(function(){},"NullObject");gB.prototype=Object.create(null);var hB=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,fB=/\\([\v\u0020-\u00ff])/gu,q6=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,zc={type:"",parameters:new gB};Object.freeze(zc.parameters);Object.freeze(zc);function G6(t){if(typeof t!="string")throw new TypeError("argument header is required and must be a string");let e=t.indexOf(";"),r=e!==-1?t.slice(0,e).trim():t.trim();if(q6.test(r)===!1)throw new TypeError("invalid media type");let s={type:r.toLowerCase(),parameters:new gB};if(e===-1)return s;let n,i,a;for(hB.lastIndex=e;i=hB.exec(t);){if(i.index!==e)throw new TypeError("invalid parameter format");e+=i[0].length,n=i[1].toLowerCase(),a=i[2],a[0]==='"'&&(a=a.slice(1,a.length-1),fB.test(a)&&(a=a.replace(fB,"$1"))),s.parameters[n]=a}if(e!==t.length)throw new TypeError("invalid parameter format");return s}o(G6,"parse");function H6(t){if(typeof t!="string")return zc;let e=t.indexOf(";"),r=e!==-1?t.slice(0,e).trim():t.trim();if(q6.test(r)===!1)return zc;let s={type:r.toLowerCase(),parameters:new gB};if(e===-1)return s;let n,i,a;for(hB.lastIndex=e;i=hB.exec(t);){if(i.index!==e)return zc;e+=i[0].length,n=i[1].toLowerCase(),a=i[2],a[0]==='"'&&(a=a.slice(1,a.length-1),fB.test(a)&&(a=a.replace(fB,"$1"))),s.parameters[n]=a}return e!==t.length?zc:s}o(H6,"safeParse");Vm.exports.default={parse:G6,safeParse:H6};Vm.exports.parse=G6;Vm.exports.safeParse=H6;Vm.exports.defaultContentType=zc});var yA=f((Zut,pK)=>{"use strict";var wke="2.0.0",bke=Number.MAX_SAFE_INTEGER||9007199254740991,Qke=16,xke=250,Nke=["major","premajor","minor","preminor","patch","prepatch","prerelease"];pK.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Qke,MAX_SAFE_BUILD_LENGTH:xke,MAX_SAFE_INTEGER:bke,RELEASE_TYPES:Nke,SEMVER_SPEC_VERSION:wke,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Wm=f((eAt,mK)=>{"use strict";var Ske=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};mK.exports=Ske});var CA=f((Di,hK)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:f_,MAX_SAFE_BUILD_LENGTH:Rke,MAX_LENGTH:Tke}=yA(),vke=Wm();Di=hK.exports={};var Pke=Di.re=[],kke=Di.safeRe=[],F=Di.src=[],Dke=Di.safeSrc=[],U=Di.t={},_ke=0,g_="[a-zA-Z0-9-]",Lke=[["\\s",1],["\\d",Tke],[g_,Rke]],Mke=o(t=>{for(let[e,r]of Lke)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),ce=o((t,e,r)=>{let s=Mke(e),n=_ke++;vke(t,n,e),U[t]=n,F[n]=e,Dke[n]=s,Pke[n]=new RegExp(e,r?"g":void 0),kke[n]=new RegExp(s,r?"g":void 0)},"createToken");ce("NUMERICIDENTIFIER","0|[1-9]\\d*");ce("NUMERICIDENTIFIERLOOSE","\\d+");ce("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${g_}*`);ce("MAINVERSION",`(${F[U.NUMERICIDENTIFIER]})\\.(${F[U.NUMERICIDENTIFIER]})\\.(${F[U.NUMERICIDENTIFIER]})`);ce("MAINVERSIONLOOSE",`(${F[U.NUMERICIDENTIFIERLOOSE]})\\.(${F[U.NUMERICIDENTIFIERLOOSE]})\\.(${F[U.NUMERICIDENTIFIERLOOSE]})`);ce("PRERELEASEIDENTIFIER",`(?:${F[U.NONNUMERICIDENTIFIER]}|${F[U.NUMERICIDENTIFIER]})`);ce("PRERELEASEIDENTIFIERLOOSE",`(?:${F[U.NONNUMERICIDENTIFIER]}|${F[U.NUMERICIDENTIFIERLOOSE]})`);ce("PRERELEASE",`(?:-(${F[U.PRERELEASEIDENTIFIER]}(?:\\.${F[U.PRERELEASEIDENTIFIER]})*))`);ce("PRERELEASELOOSE",`(?:-?(${F[U.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${F[U.PRERELEASEIDENTIFIERLOOSE]})*))`);ce("BUILDIDENTIFIER",`${g_}+`);ce("BUILD",`(?:\\+(${F[U.BUILDIDENTIFIER]}(?:\\.${F[U.BUILDIDENTIFIER]})*))`);ce("FULLPLAIN",`v?${F[U.MAINVERSION]}${F[U.PRERELEASE]}?${F[U.BUILD]}?`);ce("FULL",`^${F[U.FULLPLAIN]}$`);ce("LOOSEPLAIN",`[v=\\s]*${F[U.MAINVERSIONLOOSE]}${F[U.PRERELEASELOOSE]}?${F[U.BUILD]}?`);ce("LOOSE",`^${F[U.LOOSEPLAIN]}$`);ce("GTLT","((?:<|>)?=?)");ce("XRANGEIDENTIFIERLOOSE",`${F[U.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ce("XRANGEIDENTIFIER",`${F[U.NUMERICIDENTIFIER]}|x|X|\\*`);ce("XRANGEPLAIN",`[v=\\s]*(${F[U.XRANGEIDENTIFIER]})(?:\\.(${F[U.XRANGEIDENTIFIER]})(?:\\.(${F[U.XRANGEIDENTIFIER]})(?:${F[U.PRERELEASE]})?${F[U.BUILD]}?)?)?`);ce("XRANGEPLAINLOOSE",`[v=\\s]*(${F[U.XRANGEIDENTIFIERLOOSE]})(?:\\.(${F[U.XRANGEIDENTIFIERLOOSE]})(?:\\.(${F[U.XRANGEIDENTIFIERLOOSE]})(?:${F[U.PRERELEASELOOSE]})?${F[U.BUILD]}?)?)?`);ce("XRANGE",`^${F[U.GTLT]}\\s*${F[U.XRANGEPLAIN]}$`);ce("XRANGELOOSE",`^${F[U.GTLT]}\\s*${F[U.XRANGEPLAINLOOSE]}$`);ce("COERCEPLAIN",`(^|[^\\d])(\\d{1,${f_}})(?:\\.(\\d{1,${f_}}))?(?:\\.(\\d{1,${f_}}))?`);ce("COERCE",`${F[U.COERCEPLAIN]}(?:$|[^\\d])`);ce("COERCEFULL",F[U.COERCEPLAIN]+`(?:${F[U.PRERELEASE]})?(?:${F[U.BUILD]})?(?:$|[^\\d])`);ce("COERCERTL",F[U.COERCE],!0);ce("COERCERTLFULL",F[U.COERCEFULL],!0);ce("LONETILDE","(?:~>?)");ce("TILDETRIM",`(\\s*)${F[U.LONETILDE]}\\s+`,!0);Di.tildeTrimReplace="$1~";ce("TILDE",`^${F[U.LONETILDE]}${F[U.XRANGEPLAIN]}$`);ce("TILDELOOSE",`^${F[U.LONETILDE]}${F[U.XRANGEPLAINLOOSE]}$`);ce("LONECARET","(?:\\^)");ce("CARETTRIM",`(\\s*)${F[U.LONECARET]}\\s+`,!0);Di.caretTrimReplace="$1^";ce("CARET",`^${F[U.LONECARET]}${F[U.XRANGEPLAIN]}$`);ce("CARETLOOSE",`^${F[U.LONECARET]}${F[U.XRANGEPLAINLOOSE]}$`);ce("COMPARATORLOOSE",`^${F[U.GTLT]}\\s*(${F[U.LOOSEPLAIN]})$|^$`);ce("COMPARATOR",`^${F[U.GTLT]}\\s*(${F[U.FULLPLAIN]})$|^$`);ce("COMPARATORTRIM",`(\\s*)${F[U.GTLT]}\\s*(${F[U.LOOSEPLAIN]}|${F[U.XRANGEPLAIN]})`,!0);Di.comparatorTrimReplace="$1$2$3";ce("HYPHENRANGE",`^\\s*(${F[U.XRANGEPLAIN]})\\s+-\\s+(${F[U.XRANGEPLAIN]})\\s*$`);ce("HYPHENRANGELOOSE",`^\\s*(${F[U.XRANGEPLAINLOOSE]})\\s+-\\s+(${F[U.XRANGEPLAINLOOSE]})\\s*$`);ce("STAR","(<|>)?=?\\s*\\*");ce("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ce("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var IB=f((rAt,fK)=>{"use strict";var Oke=Object.freeze({loose:!0}),Fke=Object.freeze({}),Uke=o(t=>t?typeof t!="object"?Oke:t:Fke,"parseOptions");fK.exports=Uke});var E_=f((nAt,yK)=>{"use strict";var gK=/^[0-9]+$/,EK=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tEK(e,t),"rcompareIdentifiers");yK.exports={compareIdentifiers:EK,rcompareIdentifiers:qke}});var Zt=f((oAt,IK)=>{"use strict";var BB=Wm(),{MAX_LENGTH:CK,MAX_SAFE_INTEGER:wB}=yA(),{safeRe:bB,t:QB}=CA(),Gke=IB(),{compareIdentifiers:y_}=E_(),Hke=o((t,e)=>{let r=e.split(".");if(r.length>t.length)return!1;for(let s=0;sCK)throw new TypeError(`version is longer than ${CK} characters`);BB("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?bB[QB.LOOSE]:bB[QB.FULL]);if(!s)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>wB||this.major<0)throw new TypeError("Invalid major version");if(this.minor>wB||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>wB||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let i=+n;if(i>=0&&ie.major?1:this.minore.minor?1:this.patche.patch?1:0}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let s=this.prerelease[r],n=e.prerelease[r];if(BB("prerelease compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return y_(s,n)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let s=this.build[r],n=e.build[r];if(BB("build compare",r,s,n),s===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(s===void 0)return-1;if(s===n)continue;return y_(s,n)}while(++r)}inc(e,r,s){if(e.startsWith("pre")){if(!r&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let n=`-${r}`.match(this.options.loose?bB[QB.PRERELEASELOOSE]:bB[QB.PRERELEASE]);if(!n||n[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,s),this.inc("pre",r,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,s),this.inc("pre",r,s);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(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":{let n=Number(s)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(r){let i=[r,n];if(s===!1&&(i=[r]),Hke(this.prerelease,r)){let a=this.prerelease[r.split(".").length];isNaN(a)&&(this.prerelease=i)}else this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};IK.exports=C_});var ya=f((cAt,wK)=>{"use strict";var BK=Zt(),zke=o((t,e,r=!1)=>{if(t instanceof BK)return t;try{return new BK(t,e)}catch(s){if(!r)return null;throw s}},"parse");wK.exports=zke});var QK=f((uAt,bK)=>{"use strict";var Vke=ya(),$ke=o((t,e)=>{let r=Vke(t,e);return r?r.version:null},"valid");bK.exports=$ke});var NK=f((dAt,xK)=>{"use strict";var Yke=ya(),Jke=o((t,e)=>{let r=Yke(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");xK.exports=Jke});var TK=f((mAt,RK)=>{"use strict";var SK=Zt(),Wke=o((t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new SK(t instanceof SK?t.version:t,r).inc(e,s,n).version}catch{return null}},"inc");RK.exports=Wke});var kK=f((fAt,PK)=>{"use strict";var vK=ya(),jke=o((t,e)=>{let r=vK(t,null,!0),s=vK(e,null,!0),n=r.compare(s);if(n===0)return null;let i=n>0,a=i?r:s,c=i?s:r,l=!!a.prerelease.length;if(!!c.prerelease.length&&!l){if(!c.patch&&!c.minor)return"major";if(c.compareMain(a)===0)return c.minor&&!c.patch?"minor":"patch"}let A=l?"pre":"";return r.major!==s.major?A+"major":r.minor!==s.minor?A+"minor":r.patch!==s.patch?A+"patch":"prerelease"},"diff");PK.exports=jke});var _K=f((EAt,DK)=>{"use strict";var Kke=Zt(),Xke=o((t,e)=>new Kke(t,e).major,"major");DK.exports=Xke});var MK=f((CAt,LK)=>{"use strict";var Zke=Zt(),eDe=o((t,e)=>new Zke(t,e).minor,"minor");LK.exports=eDe});var FK=f((BAt,OK)=>{"use strict";var tDe=Zt(),rDe=o((t,e)=>new tDe(t,e).patch,"patch");OK.exports=rDe});var qK=f((bAt,UK)=>{"use strict";var sDe=ya(),nDe=o((t,e)=>{let r=sDe(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");UK.exports=nDe});var sn=f((xAt,HK)=>{"use strict";var GK=Zt(),iDe=o((t,e,r)=>new GK(t,r).compare(new GK(e,r)),"compare");HK.exports=iDe});var VK=f((SAt,zK)=>{"use strict";var oDe=sn(),aDe=o((t,e,r)=>oDe(e,t,r),"rcompare");zK.exports=aDe});var YK=f((TAt,$K)=>{"use strict";var cDe=sn(),lDe=o((t,e)=>cDe(t,e,!0),"compareLoose");$K.exports=lDe});var xB=f((PAt,WK)=>{"use strict";var JK=Zt(),uDe=o((t,e,r)=>{let s=new JK(t,r),n=new JK(e,r);return s.compare(n)||s.compareBuild(n)},"compareBuild");WK.exports=uDe});var KK=f((DAt,jK)=>{"use strict";var ADe=xB(),dDe=o((t,e)=>t.sort((r,s)=>ADe(r,s,e)),"sort");jK.exports=dDe});var ZK=f((LAt,XK)=>{"use strict";var pDe=xB(),mDe=o((t,e)=>t.sort((r,s)=>pDe(s,r,e)),"rsort");XK.exports=mDe});var jm=f((OAt,eX)=>{"use strict";var hDe=sn(),fDe=o((t,e,r)=>hDe(t,e,r)>0,"gt");eX.exports=fDe});var NB=f((UAt,tX)=>{"use strict";var gDe=sn(),EDe=o((t,e,r)=>gDe(t,e,r)<0,"lt");tX.exports=EDe});var I_=f((GAt,rX)=>{"use strict";var yDe=sn(),CDe=o((t,e,r)=>yDe(t,e,r)===0,"eq");rX.exports=CDe});var B_=f((zAt,sX)=>{"use strict";var IDe=sn(),BDe=o((t,e,r)=>IDe(t,e,r)!==0,"neq");sX.exports=BDe});var SB=f(($At,nX)=>{"use strict";var wDe=sn(),bDe=o((t,e,r)=>wDe(t,e,r)>=0,"gte");nX.exports=bDe});var RB=f((JAt,iX)=>{"use strict";var QDe=sn(),xDe=o((t,e,r)=>QDe(t,e,r)<=0,"lte");iX.exports=xDe});var w_=f((jAt,oX)=>{"use strict";var NDe=I_(),SDe=B_(),RDe=jm(),TDe=SB(),vDe=NB(),PDe=RB(),kDe=o((t,e,r,s)=>{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 NDe(t,r,s);case"!=":return SDe(t,r,s);case">":return RDe(t,r,s);case">=":return TDe(t,r,s);case"<":return vDe(t,r,s);case"<=":return PDe(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");oX.exports=kDe});var cX=f((XAt,aX)=>{"use strict";var DDe=Zt(),_De=ya(),{safeRe:TB,t:vB}=CA(),LDe=o((t,e)=>{if(t instanceof DDe)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let r=null;if(!e.rtl)r=t.match(e.includePrerelease?TB[vB.COERCEFULL]:TB[vB.COERCE]);else{let l=e.includePrerelease?TB[vB.COERCERTLFULL]:TB[vB.COERCERTL],u;for(;(u=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||u.index+u[0].length!==r.index+r[0].length)&&(r=u),l.lastIndex=u.index+u[1].length+u[2].length;l.lastIndex=-1}if(r===null)return null;let s=r[2],n=r[3]||"0",i=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return _De(`${s}.${n}.${i}${a}${c}`,e)},"coerce");aX.exports=LDe});var uX=f((edt,lX)=>{"use strict";var MDe=ya(),ODe=yA(),FDe=Zt(),UDe=o((t,e,r)=>{if(!ODe.RELEASE_TYPES.includes(e))return null;let s=qDe(t,r);return s&&GDe(s,e)},"truncate"),qDe=o((t,e)=>{let r=t instanceof FDe?t.version:t;return MDe(r,e)},"cloneInputVersion"),GDe=o((t,e)=>{if(HDe(e))return t.version;switch(t.prerelease=[],e){case"major":t.minor=0,t.patch=0;break;case"minor":t.patch=0;break}return t.format()},"doTruncation"),HDe=o(t=>t.startsWith("pre"),"isPrerelease");lX.exports=UDe});var dX=f((rdt,AX)=>{"use strict";var b_=class{static{o(this,"LRUCache")}constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(e,r)}return this}};AX.exports=b_});var nn=f((ndt,fX)=>{"use strict";var zDe=/\s+/g,Q_=class t{static{o(this,"Range")}constructor(e,r){if(r=$De(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof x_)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().replace(zDe," "),this.set=this.raw.split("||").map(s=>this.parseRange(s.trim())).filter(s=>s.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let s=this.set[0];if(this.set=this.set.filter(n=>!mX(n[0])),this.set.length===0)this.set=[s];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&t_e(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e0&&(this.formatted+="||");let r=this.set[e];for(let s=0;s0&&(this.formatted+=" "),this.formatted+=r[s].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(e_e,"");let s=((this.options.includePrerelease&&XDe)|(this.options.loose&&ZDe))+":"+e,n=pX.get(s);if(n)return n;let i=this.options.loose,a=i?Tr[er.HYPHENRANGELOOSE]:Tr[er.HYPHENRANGE];e=e.replace(a,d_e(this.options.includePrerelease)),$e("hyphen replace",e),e=e.replace(Tr[er.COMPARATORTRIM],WDe),$e("comparator trim",e),e=e.replace(Tr[er.TILDETRIM],jDe),$e("tilde trim",e),e=e.replace(Tr[er.CARETTRIM],KDe),$e("caret trim",e);let c=e.split(" ").map(d=>r_e(d,this.options)).join(" ").split(/\s+/).map(d=>A_e(d,this.options));i&&(c=c.filter(d=>($e("loose invalid filter",d,this.options),!!d.match(Tr[er.COMPARATORLOOSE])))),$e("range list",c);let l=new Map,u=c.map(d=>new x_(d,this.options));for(let d of u){if(mX(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let A=[...l.values()];return pX.set(s,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>hX(s,r)&&e.set.some(n=>hX(n,r)&&s.every(i=>n.every(a=>i.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new YDe(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),t_e=o(t=>t.value==="","isAny"),hX=o((t,e)=>{let r=!0,s=t.slice(),n=s.pop();for(;r&&s.length;)r=s.every(i=>n.intersects(i,e)),n=s.pop();return r},"isSatisfiable"),r_e=o((t,e)=>(t=t.replace(Tr[er.BUILD],""),$e("comp",t,e),t=o_e(t,e),$e("caret",t),t=n_e(t,e),$e("tildes",t),t=c_e(t,e),$e("xrange",t),t=u_e(t,e),$e("stars",t),t),"parseComparator"),Ft=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),s_e=o((t,e,r)=>Ft(t)&&!Ft(e)||Ft(e)&&r&&!Ft(r),"invalidXRangeOrder"),n_e=o((t,e)=>t.trim().split(/\s+/).map(r=>i_e(r,e)).join(" "),"replaceTildes"),i_e=o((t,e)=>{let r=e.loose?Tr[er.TILDELOOSE]:Tr[er.TILDE],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{$e("tilde",t,n,i,a,c,l);let u;return Ft(i)?u="":Ft(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:Ft(c)?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:l?($e("replaceTilde pr",l),u=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`):u=`>=${i}.${a}.${c} <${i}.${+a+1}.0-0`,$e("tilde return",u),u})},"replaceTilde"),o_e=o((t,e)=>t.trim().split(/\s+/).map(r=>a_e(r,e)).join(" "),"replaceCarets"),a_e=o((t,e)=>{$e("caret",t,e);let r=e.loose?Tr[er.CARETLOOSE]:Tr[er.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{$e("caret",t,n,i,a,c,l);let u;return Ft(i)?u="":Ft(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:Ft(c)?i==="0"?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.0${s} <${+i+1}.0.0-0`:l?($e("replaceCaret pr",l),i==="0"?a==="0"?u=`>=${i}.${a}.${c}-${l} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c}-${l} <${+i+1}.0.0-0`):($e("no pr"),i==="0"?a==="0"?u=`>=${i}.${a}.${c} <${i}.${a}.${+c+1}-0`:u=`>=${i}.${a}.${c} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.${c} <${+i+1}.0.0-0`),$e("caret return",u),u})},"replaceCaret"),c_e=o((t,e)=>($e("replaceXRanges",t,e),t.split(/\s+/).map(r=>l_e(r,e)).join(" ")),"replaceXRanges"),l_e=o((t,e)=>{t=t.trim();let r=e.loose?Tr[er.XRANGELOOSE]:Tr[er.XRANGE];return t.replace(r,(s,n,i,a,c,l)=>{if($e("xRange",t,s,n,i,a,c,l),s_e(i,a,c))return t;let u=Ft(i),A=u||Ft(a),d=A||Ft(c),p=d;return n==="="&&p&&(n=""),l=e.includePrerelease?"-0":"",u?n===">"||n==="<"?s="<0.0.0-0":s="*":n&&p?(A&&(a=0),c=0,n===">"?(n=">=",A?(i=+i+1,a=0,c=0):(a=+a+1,c=0)):n==="<="&&(n="<",A?i=+i+1:a=+a+1),n==="<"&&(l="-0"),s=`${n+i}.${a}.${c}${l}`):A?s=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(s=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),$e("xRange return",s),s})},"replaceXRange"),u_e=o((t,e)=>($e("replaceStars",t,e),t.trim().replace(Tr[er.STAR],"")),"replaceStars"),A_e=o((t,e)=>($e("replaceGTE0",t,e),t.trim().replace(Tr[e.includePrerelease?er.GTE0PRE:er.GTE0],"")),"replaceGTE0"),d_e=o(t=>(e,r,s,n,i,a,c,l,u,A,d,p)=>(Ft(s)?r="":Ft(n)?r=`>=${s}.0.0${t?"-0":""}`:Ft(i)?r=`>=${s}.${n}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Ft(u)?l="":Ft(A)?l=`<${+u+1}.0.0-0`:Ft(d)?l=`<${u}.${+A+1}.0-0`:p?l=`<=${u}.${A}.${d}-${p}`:t?l=`<${u}.${A}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),p_e=o((t,e,r)=>{for(let s=0;s0){let n=t[s].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0},"testSet")});var Km=f((odt,BX)=>{"use strict";var Xm=Symbol("SemVer ANY"),R_=class t{static{o(this,"Comparator")}static get ANY(){return Xm}constructor(e,r){if(r=gX(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),S_("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Xm?this.value="":this.value=this.operator+this.semver.version,S_("comp",this)}parse(e){let r=this.options.loose?EX[yX.COMPARATORLOOSE]:EX[yX.COMPARATOR],s=e.match(r);if(!s)throw new TypeError(`Invalid comparator: ${e}`);this.operator=s[1]!==void 0?s[1]:"",this.operator==="="&&(this.operator=""),s[2]?this.semver=new CX(s[2],this.options.loose):this.semver=Xm}toString(){return this.value}test(e){if(S_("Comparator.test",e,this.options.loose),this.semver===Xm||e===Xm)return!0;if(typeof e=="string")try{e=new CX(e,this.options)}catch{return!1}return N_(e,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new IX(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new IX(this.value,r).test(e.semver):(r=gX(r),r.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||N_(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||N_(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};BX.exports=R_;var gX=IB(),{safeRe:EX,t:yX}=CA(),N_=w_(),S_=Wm(),CX=Zt(),IX=nn()});var Zm=f((cdt,wX)=>{"use strict";var m_e=nn(),h_e=o((t,e,r)=>{try{e=new m_e(e,r)}catch{return!1}return e.test(t)},"satisfies");wX.exports=h_e});var QX=f((udt,bX)=>{"use strict";var f_e=nn(),g_e=o((t,e)=>new f_e(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),"toComparators");bX.exports=g_e});var NX=f((ddt,xX)=>{"use strict";var E_e=Zt(),y_e=nn(),C_e=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new y_e(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new E_e(s,r))}),s},"maxSatisfying");xX.exports=C_e});var RX=f((mdt,SX)=>{"use strict";var I_e=Zt(),B_e=nn(),w_e=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new B_e(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===1)&&(s=a,n=new I_e(s,r))}),s},"minSatisfying");SX.exports=w_e});var PX=f((fdt,vX)=>{"use strict";var T_=Zt(),b_e=nn(),TX=jm(),Q_e=o((t,e)=>{t=new b_e(t,e);let r=new T_("0.0.0");if(t.test(r)||(r=new T_("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let c=new T_(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||TX(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||TX(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");vX.exports=Q_e});var DX=f((Edt,kX)=>{"use strict";var x_e=nn(),N_e=o((t,e)=>{try{return new x_e(t,e).range||"*"}catch{return null}},"validRange");kX.exports=N_e});var PB=f((Cdt,OX)=>{"use strict";var S_e=Zt(),MX=Km(),{ANY:R_e}=MX,T_e=nn(),v_e=Zm(),_X=jm(),LX=NB(),P_e=RB(),k_e=SB(),D_e=o((t,e,r,s)=>{t=new S_e(t,s),e=new T_e(e,s);let n,i,a,c,l;switch(r){case">":n=_X,i=P_e,a=LX,c=">",l=">=";break;case"<":n=LX,i=k_e,a=_X,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(v_e(t,e,s))return!1;for(let u=0;u{m.semver===R_e&&(m=new MX(">=0.0.0")),d=d||m,p=p||m,n(m.semver,d.semver,s)?d=m:a(m.semver,p.semver,s)&&(p=m)}),d.operator===c||d.operator===l||(!p.operator||p.operator===c)&&i(t,p.semver))return!1;if(p.operator===l&&a(t,p.semver))return!1}return!0},"outside");OX.exports=D_e});var UX=f((Bdt,FX)=>{"use strict";var __e=PB(),L_e=o((t,e,r)=>__e(t,e,">",r),"gtr");FX.exports=L_e});var GX=f((bdt,qX)=>{"use strict";var M_e=PB(),O_e=o((t,e,r)=>M_e(t,e,"<",r),"ltr");qX.exports=O_e});var VX=f((xdt,zX)=>{"use strict";var HX=nn(),F_e=o((t,e,r)=>(t=new HX(t,r),e=new HX(e,r),t.intersects(e,r)),"intersects");zX.exports=F_e});var YX=f((Sdt,$X)=>{"use strict";var U_e=Zm(),q_e=sn();$X.exports=(t,e,r)=>{let s=[],n=null,i=null,a=t.sort((A,d)=>q_e(A,d,r));for(let A of a)U_e(A,e,r)?(i=A,n||(n=A)):(i&&s.push([n,i]),i=null,n=null);n&&s.push([n,null]);let c=[];for(let[A,d]of s)A===d?c.push(A):!d&&A===a[0]?c.push("*"):d?A===a[0]?c.push(`<=${d}`):c.push(`${A} - ${d}`):c.push(`>=${A}`);let l=c.join(" || "),u=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var JX=nn(),k_=Km(),{ANY:v_}=k_,P_=Zm(),D_=sn(),G_e=o((t,e,r={})=>{if(t===e)return!0;t=new JX(t,r),e=new JX(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let a=z_e(n,i,r);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},"subset"),H_e=[new k_(">=0.0.0-0")],WX=[new k_(">=0.0.0")],z_e=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===v_){if(e.length===1&&e[0].semver===v_)return!0;r.includePrerelease?t=H_e:t=WX}if(e.length===1&&e[0].semver===v_){if(r.includePrerelease)return!0;e=WX}let s=new Set,n,i;for(let m of t)m.operator===">"||m.operator===">="?n=jX(n,m,r):m.operator==="<"||m.operator==="<="?i=KX(i,m,r):s.add(m.semver);if(s.size>1)return null;let a;if(n&&i){if(a=D_(n.semver,i.semver,r),a>0)return null;if(a===0&&(n.operator!==">="||i.operator!=="<="))return null}for(let m of s){if(n&&!P_(m,String(n),r)||i&&!P_(m,String(i),r))return null;for(let h of e)if(!P_(m,String(h),r))return!1;return!0}let c,l,u,A,d=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,p=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;d&&d.prerelease.length===1&&i.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let m of e){if(A=A||m.operator===">"||m.operator===">=",u=u||m.operator==="<"||m.operator==="<=",n){if(p&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===p.major&&m.semver.minor===p.minor&&m.semver.patch===p.patch&&(p=!1),m.operator===">"||m.operator===">="){if(c=jX(n,m,r),c===m&&c!==n)return!1}else if(n.operator===">="&&!m.test(n.semver))return!1}if(i){if(d&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===d.major&&m.semver.minor===d.minor&&m.semver.patch===d.patch&&(d=!1),m.operator==="<"||m.operator==="<="){if(l=KX(i,m,r),l===m&&l!==i)return!1}else if(i.operator==="<="&&!m.test(i.semver))return!1}if(!m.operator&&(i||n)&&a!==0)return!1}return!(n&&u&&!i&&a!==0||i&&A&&!n&&a!==0||p||d)},"simpleSubset"),jX=o((t,e,r)=>{if(!t)return e;let s=D_(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),KX=o((t,e,r)=>{if(!t)return e;let s=D_(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");XX.exports=G_e});var eh=f((vdt,rZ)=>{"use strict";var __=CA(),eZ=yA(),V_e=Zt(),tZ=E_(),$_e=ya(),Y_e=QK(),J_e=NK(),W_e=TK(),j_e=kK(),K_e=_K(),X_e=MK(),Z_e=FK(),eLe=qK(),tLe=sn(),rLe=VK(),sLe=YK(),nLe=xB(),iLe=KK(),oLe=ZK(),aLe=jm(),cLe=NB(),lLe=I_(),uLe=B_(),ALe=SB(),dLe=RB(),pLe=w_(),mLe=cX(),hLe=uX(),fLe=Km(),gLe=nn(),ELe=Zm(),yLe=QX(),CLe=NX(),ILe=RX(),BLe=PX(),wLe=DX(),bLe=PB(),QLe=UX(),xLe=GX(),NLe=VX(),SLe=YX(),RLe=ZX();rZ.exports={parse:$_e,valid:Y_e,clean:J_e,inc:W_e,diff:j_e,major:K_e,minor:X_e,patch:Z_e,prerelease:eLe,compare:tLe,rcompare:rLe,compareLoose:sLe,compareBuild:nLe,sort:iLe,rsort:oLe,gt:aLe,lt:cLe,eq:lLe,neq:uLe,gte:ALe,lte:dLe,cmp:pLe,coerce:mLe,truncate:hLe,Comparator:fLe,Range:gLe,satisfies:ELe,toComparators:yLe,maxSatisfying:CLe,minSatisfying:ILe,minVersion:BLe,validRange:wLe,outside:bLe,gtr:QLe,ltr:xLe,intersects:NLe,simplifyRange:SLe,subset:RLe,SemVer:V_e,re:__.re,src:__.src,tokens:__.t,SEMVER_SPEC_VERSION:eZ.SEMVER_SPEC_VERSION,RELEASE_TYPES:eZ.RELEASE_TYPES,compareIdentifiers:tZ.compareIdentifiers,rcompareIdentifiers:tZ.rcompareIdentifiers}});var fZ=w(require("crypto"),1),gZ=w(require("path"),1);var H_=w(require("os"),1);function Dn(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(Dn,"toCommandValue");function qB(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(qB,"toCommandProperties");function _n(t,e,r){let s=new GB(t,e,r);process.stdout.write(s.toString()+H_.EOL)}o(_n,"issueCommand");function HB(t,e=""){_n(t,{},e)}o(HB,"issue");var G_="::",GB=class{static{o(this,"Command")}constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=G_+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let s in this.properties)if(this.properties.hasOwnProperty(s)){let n=this.properties[s];n&&(r?r=!1:e+=",",e+=`${s}=${xZ(n)}`)}}return e+=`${G_}${QZ(this.message)}`,e}};function QZ(t){return Dn(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(QZ,"escapeData");function xZ(t){return Dn(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(xZ,"escapeProperty");var z_=w(require("crypto"),1),ch=w(require("fs"),1),ah=w(require("os"),1);function IA(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!ch.existsSync(r))throw new Error(`Missing file at path: ${r}`);ch.appendFileSync(r,`${Dn(e)}${ah.EOL}`,{encoding:"utf8"})}o(IA,"issueFileCommand");function lh(t,e){let r=`ghadelimiter_${z_.randomUUID()}`,s=Dn(e);if(t.includes(r))throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(s.includes(r))throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${t}<<${r}${ah.EOL}${s}${ah.EOL}${r}`}o(lh,"prepareKeyValueMessage");var Px=w(require("os"),1),qG=w(require("path"),1);var Qd=w(require("http"),1),yx=w(require("https"),1);function zB(t){let e=t.protocol==="https:";if(NZ(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 uh(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new uh(`http://${r}`)}else return}o(zB,"getProxyUrl");function NZ(t){if(!t.hostname)return!1;let e=t.hostname;if(SZ(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||n.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(NZ,"checkBypass");function SZ(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(SZ,"isLoopbackAddress");var uh=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 Ho=w(BA(),1),CG=w(Vl(),1);var ht=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},vs;(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"})(vs||(vs={}));var hr;(function(t){t.Accept="accept",t.ContentType="content-type"})(hr||(hr={}));var Wi;(function(t){t.ApplicationJson="application/json"})(Wi||(Wi={}));var KAe=[vs.MovedPermanently,vs.ResourceMoved,vs.SeeOther,vs.TemporaryRedirect,vs.PermanentRedirect],XAe=[vs.BadGateway,vs.ServiceUnavailable,vs.GatewayTimeout],ZAe=["OPTIONS","GET","DELETE","HEAD"],ede=10,tde=5,gx=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},Ex=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return ht(this,void 0,void 0,function*(){return new Promise(e=>ht(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",s=>{r=Buffer.concat([r,s])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return ht(this,void 0,void 0,function*(){return new Promise(e=>ht(this,void 0,void 0,function*(){let r=[];this.message.on("data",s=>{r.push(s)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var Ya=class{static{o(this,"HttpClient")}constructor(e,r,s){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=s,s&&(s.ignoreSslError!=null&&(this._ignoreSslError=s.ignoreSslError),this._socketTimeout=s.socketTimeout,s.allowRedirects!=null&&(this._allowRedirects=s.allowRedirects),s.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=s.allowRedirectDowngrade),s.maxRedirects!=null&&(this._maxRedirects=Math.max(s.maxRedirects,0)),s.keepAlive!=null&&(this._keepAlive=s.keepAlive),s.allowRetries!=null&&(this._allowRetries=s.allowRetries),s.maxRetries!=null&&(this._maxRetries=s.maxRetries))}options(e,r){return ht(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return ht(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return ht(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return ht(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return ht(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return ht(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return ht(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return ht(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return ht(this,arguments,void 0,function*(r,s={}){s[hr.Accept]=this._getExistingOrDefaultHeader(s,hr.Accept,Wi.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return ht(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[hr.Accept]=this._getExistingOrDefaultHeader(i,hr.Accept,Wi.ApplicationJson),i[hr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Wi.ApplicationJson);let c=yield this.post(s,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return ht(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[hr.Accept]=this._getExistingOrDefaultHeader(i,hr.Accept,Wi.ApplicationJson),i[hr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Wi.ApplicationJson);let c=yield this.put(s,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return ht(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[hr.Accept]=this._getExistingOrDefaultHeader(i,hr.Accept,Wi.ApplicationJson),i[hr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Wi.ApplicationJson);let c=yield this.patch(s,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,s,n){return ht(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),a=this._prepareRequest(e,i,n),c=this._allowRetries&&ZAe.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,s),u&&u.message&&u.message.statusCode===vs.Unauthorized){let d;for(let p of this.handlers)if(p.canHandleAuthentication(u)){d=p;break}return d?d.handleAuthentication(this,a,s):u}let A=this._maxRedirects;for(;u.message.statusCode&&KAe.includes(u.message.statusCode)&&this._allowRedirects&&A>0;){let d=u.message.headers.location;if(!d)break;let p=new URL(d);if(i.protocol==="https:"&&i.protocol!==p.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 u.readBody(),p.hostname!==i.hostname)for(let m in n)m.toLowerCase()==="authorization"&&delete n[m];a=this._prepareRequest(e,p,n),u=yield this.requestRaw(a,s),A--}if(!u.message.statusCode||!XAe.includes(u.message.statusCode))return u;l+=1,l{function i(a,c){a?n(a):c?s(c):n(new Error("Unknown error"))}o(i,"callbackForResult"),this.requestRawWithCallback(e,r,i)})})}requestRawWithCallback(e,r,s){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let n=!1;function i(l,u){n||(n=!0,s(l,u))}o(i,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new Ex(l);i(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),i(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){i(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),s=zB(r);if(s&&s.hostname)return this._getProxyAgentDispatcher(r,s)}_prepareRequest(e,r,s){let n={};n.parsedUrl=r;let i=n.parsedUrl.protocol==="https:";n.httpModule=i?yx:Qd;let a=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):a,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(s),this.userAgent!=null&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},bd(this.requestOptions.headers),bd(e||{})):bd(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=bd(this.requestOptions.headers)[r];a&&(n=typeof a=="number"?a.toString():a)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:n!==void 0?n:s}_getExistingOrDefaultContentTypeHeader(e,r){let s;if(this.requestOptions&&this.requestOptions.headers){let i=bd(this.requestOptions.headers)[hr.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[hr.ContentType];return n!==void 0?typeof n=="number"?String(n):Array.isArray(n)?n.join(", "):n:s!==void 0?s:r}_getAgent(e){let r,s=zB(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||Qd.globalAgent.maxSockets),s&&s.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},l,u=s.protocol==="https:";i?l=u?Ho.httpsOverHttps:Ho.httpsOverHttp:l=u?Ho.httpOverHttps:Ho.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new yx.Agent(c):new Qd.Agent(c),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let s;if(this._keepAlive&&(s=this._proxyAgentDispatcher),s)return s;let n=e.protocol==="https:";return s=new CG.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=s,n&&this._ignoreSslError&&(s.options=Object.assign(s.options.requestTls||{},{rejectUnauthorized:!1})),s}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",s=process.env.ACTIONS_ORCHESTRATION_ID;if(s){let n=s.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${n}`}return r}_performExponentialBackoff(e){return ht(this,void 0,void 0,function*(){e=Math.min(ede,e);let r=tde*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return ht(this,void 0,void 0,function*(){return new Promise((s,n)=>ht(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===vs.NotFound&&s(a);function c(A,d){if(typeof d=="string"){let p=new Date(d);if(!isNaN(p.valueOf()))return p}return d}o(c,"dateTimeDeserializer");let l,u;try{u=yield e.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),a.result=l),a.headers=e.message.headers}catch{}if(i>299){let A;l&&l.message?A=l.message:u&&u.length>0?A=u:A=`Failed request: (${i})`;let d=new gx(A,i);d.result=a.result,n(d)}else s(a)}))})}},bd=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var wG=require("os"),xd=require("fs");var Cx=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},{access:sde,appendFile:nde,writeFile:ide}=xd.promises,BG="GITHUB_STEP_SUMMARY";var Ix=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Cx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[BG];if(!e)throw new Error(`Unable to find environment variable for $${BG}. Check if your runtime environment supports job summaries.`);try{yield sde(e,xd.constants.R_OK|xd.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,s={}){let n=Object.entries(s).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${n}>${r}`:`<${e}${n}>`}write(e){return Cx(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?ide:nde)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Cx(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(wG.EOL)}addCodeBlock(e,r){let s=Object.assign({},r&&{lang:r}),n=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(n).addEOL()}addList(e,r=!1){let s=r?"ol":"ul",n=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:A}=a,d=c?"th":"td",p=Object.assign(Object.assign({},u&&{colspan:u}),A&&{rowspan:A});return this.wrap(d,l,p)}).join("");return this.wrap("tr",i)}).join(""),s=this.wrap("table",r);return this.addRaw(s).addEOL()}addDetails(e,r){let s=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(s).addEOL()}addImage(e,r,s){let{width:n,height:i}=s||{},a=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let s=`h${r}`,n=["h1","h2","h3","h4","h5","h6"].includes(s)?s:"h1",i=this.wrap(n,e);return this.addRaw(i).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 s=Object.assign({},r&&{cite:r}),n=this.wrap("blockquote",e,s);return this.addRaw(n).addEOL()}addLink(e,r){let s=this.wrap("a",e,{href:r});return this.addRaw(s).addEOL()}},xUe=new Ix;var Tx=w(require("os"),1);var Rx=require("string_decoder");var Sd=w(require("os"),1),Sx=w(require("events"),1),LG=w(require("child_process"),1),MG=w(require("path"),1);var vG=require("assert"),as=w(require("path"),1);var Nd=w(require("fs"),1),zo=w(require("path"),1);var Bx=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},{chmod:wx,copyFile:QG,lstat:ag,mkdir:xG,open:vUe,readdir:bx,rename:ode,rm:NG,rmdir:PUe,stat:Ja,symlink:SG,unlink:Qx}=Nd.promises,$n=process.platform==="win32";function RG(t){return Bx(this,void 0,void 0,function*(){let e=yield Nd.promises.readlink(t);return $n&&!e.endsWith("\\")?`${e}\\`:e})}o(RG,"readlink");var kUe=Nd.constants.O_RDONLY;function Yl(t){return Bx(this,void 0,void 0,function*(){try{yield Ja(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}o(Yl,"exists");function cg(t){if(t=ade(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return $n?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(cg,"isRooted");function xx(t,e){return Bx(this,void 0,void 0,function*(){let r;try{r=yield Ja(t)}catch(n){n.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${n}`)}if(r&&r.isFile()){if($n){let n=zo.extname(t).toUpperCase();if(e.some(i=>i.toUpperCase()===n))return t}else if(bG(r))return t}let s=t;for(let n of e){t=s+n,r=void 0;try{r=yield Ja(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if($n){try{let i=zo.dirname(t),a=zo.basename(t).toUpperCase();for(let c of yield bx(i))if(a===c.toUpperCase()){t=zo.join(i,c);break}}catch(i){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${i}`)}return t}else if(bG(r))return t}}return""})}o(xx,"tryGetExecutablePath");function ade(t){return t=t||"",$n?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(ade,"normalizeSeparators");function bG(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(bG,"isUnixExecutable");var Wa=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function PG(t,e){return Wa(this,arguments,void 0,function*(r,s,n={}){let{force:i,recursive:a,copySourceDirectory:c}=lde(n),l=(yield Yl(s))?yield Ja(s):null;if(l&&l.isFile()&&!i)return;let u=l&&l.isDirectory()&&c?as.join(s,as.basename(r)):s;if(!(yield Yl(r)))throw new Error(`no such file or directory: ${r}`);if((yield Ja(r)).isDirectory())if(a)yield kG(r,u,0,i);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(as.relative(r,u)==="")throw new Error(`'${u}' and '${r}' are the same file`);yield DG(r,u,i)}})}o(PG,"cp");function lg(t){return Wa(this,void 0,void 0,function*(){if($n&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield NG(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(lg,"rmRF");function Ps(t){return Wa(this,void 0,void 0,function*(){(0,vG.ok)(t,"a path argument must be provided"),yield xG(t,{recursive:!0})})}o(Ps,"mkdirP");function ft(t,e){return Wa(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let s=yield ft(t,!1);if(!s)throw $n?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 s}let r=yield cde(t);return r&&r.length>0?r[0]:""})}o(ft,"which");function cde(t){return Wa(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if($n&&process.env.PATHEXT)for(let n of process.env.PATHEXT.split(as.delimiter))n&&e.push(n);if(cg(t)){let n=yield xx(t,e);return n?[n]:[]}if(t.includes(as.sep))return[];let r=[];if(process.env.PATH)for(let n of process.env.PATH.split(as.delimiter))n&&r.push(n);let s=[];for(let n of r){let i=yield xx(as.join(n,t),e);i&&s.push(i)}return s})}o(cde,"findInPath");function lde(t){let e=t.force==null?!0:t.force,r=!!t.recursive,s=t.copySourceDirectory==null?!0:!!t.copySourceDirectory;return{force:e,recursive:r,copySourceDirectory:s}}o(lde,"readCopyOptions");function kG(t,e,r,s){return Wa(this,void 0,void 0,function*(){if(r>=255)return;r++,yield Ps(e);let n=yield bx(t);for(let i of n){let a=`${t}/${i}`,c=`${e}/${i}`;(yield ag(a)).isDirectory()?yield kG(a,c,r,s):yield DG(a,c,s)}yield wx(e,(yield Ja(t)).mode)})}o(kG,"cpDirRecursive");function DG(t,e,r){return Wa(this,void 0,void 0,function*(){if((yield ag(t)).isSymbolicLink()){try{yield ag(e),yield Qx(e)}catch(n){n.code==="EPERM"&&(yield wx(e,"0666"),yield Qx(e))}let s=yield RG(t);yield SG(s,e,$n?"junction":null)}else(!(yield Yl(e))||r)&&(yield QG(t,e))})}o(DG,"copyFile");var OG=require("timers");var _G=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},ug=process.platform==="win32",Ag=class extends Sx.EventEmitter{static{o(this,"ToolRunner")}constructor(e,r,s){if(super(),!e)throw new Error("Parameter 'toolPath' cannot be null or empty.");this.toolPath=e,this.args=r||[],this.options=s||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,r){let s=this._getSpawnFileName(),n=this._getSpawnArgs(e),i=r?"":"[command]";if(ug)if(this._isCmdFile()){i+=s;for(let a of n)i+=` ${a}`}else if(e.windowsVerbatimArguments){i+=`"${s}"`;for(let a of n)i+=` ${a}`}else{i+=this._windowsQuoteCmdArg(s);for(let a of n)i+=` ${this._windowsQuoteCmdArg(a)}`}else{i+=s;for(let a of n)i+=` ${a}`}return i}_processLineBuffer(e,r,s){try{let n=r+e.toString(),i=n.indexOf(Sd.EOL);for(;i>-1;){let a=n.substring(0,i);s(a),n=n.substring(i+Sd.EOL.length),i=n.indexOf(Sd.EOL)}return n}catch(n){return this._debug(`error processing line. Failed with error ${n}`),""}}_getSpawnFileName(){return ug&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(ug&&this._isCmdFile()){let r=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(let s of this.args)r+=" ",r+=e.windowsVerbatimArguments?s:this._windowsQuoteCmdArg(s);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=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],s=!1;for(let a of e)if(r.some(c=>c===a)){s=!0;break}if(!s)return e;let n='"',i=!0;for(let a=e.length;a>0;a--)n+=e[a-1],i&&e[a-1]==="\\"?n+="\\":e[a-1]==='"'?(i=!0,n+='"'):i=!1;return n+='"',n.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='"',s=!0;for(let n=e.length;n>0;n--)r+=e[n-1],s&&e[n-1]==="\\"?r+="\\":e[n-1]==='"'?(s=!0,r+="\\"):s=!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 s={};return s.cwd=e.cwd,s.env=e.env,s.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(s.argv0=`"${r}"`),s}exec(){return _G(this,void 0,void 0,function*(){return!cg(this.toolPath)&&(this.toolPath.includes("/")||ug&&this.toolPath.includes("\\"))&&(this.toolPath=MG.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield ft(this.toolPath,!0),new Promise((e,r)=>_G(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(let u of this.args)this._debug(` ${u}`);let s=this._cloneExecOptions(this.options);!s.silent&&s.outStream&&s.outStream.write(this._getCommandString(s)+Sd.EOL);let n=new Nx(s,this.toolPath);if(n.on("debug",u=>{this._debug(u)}),this.options.cwd&&!(yield Yl(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),a=LG.spawn(i,this._getSpawnArgs(s),this._getSpawnOptions(this.options,i)),c="";a.stdout&&a.stdout.on("data",u=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(u),!s.silent&&s.outStream&&s.outStream.write(u),c=this._processLineBuffer(u,c,A=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(A)})});let l="";if(a.stderr&&a.stderr.on("data",u=>{n.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(u),!s.silent&&s.errStream&&s.outStream&&(s.failOnStdErr?s.errStream:s.outStream).write(u),l=this._processLineBuffer(u,l,A=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(A)})}),a.on("error",u=>{n.processError=u.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete()}),a.on("exit",u=>{n.processExitCode=u,n.processExited=!0,this._debug(`Exit code ${u} received from tool '${this.toolPath}'`),n.CheckComplete()}),a.on("close",u=>{n.processExitCode=u,n.processExited=!0,n.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),n.CheckComplete()}),n.on("done",(u,A)=>{c.length>0&&this.emit("stdline",c),l.length>0&&this.emit("errline",l),a.removeAllListeners(),u?r(u):e(A)}),this.options.input){if(!a.stdin)throw new Error("child process missing stdin");a.stdin.end(this.options.input)}}))})}};function FG(t){let e=[],r=!1,s=!1,n="";function i(a){s&&a!=='"'&&(n+="\\"),n+=a,s=!1}o(i,"append");for(let a=0;a0&&(e.push(n),n="");continue}i(c)}return n.length>0&&e.push(n.trim()),e}o(FG,"argStringToArray");var Nx=class t extends Sx.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,OG.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 UG=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function cs(t,e,r){return UG(this,void 0,void 0,function*(){let s=FG(t);if(s.length===0)throw new Error("Parameter 'commandLine' cannot be null or empty.");let n=s[0];return e=s.slice(1).concat(e||[]),new Ag(n,e,r).exec()})}o(cs,"exec");function Rd(t,e,r){return UG(this,void 0,void 0,function*(){var s,n;let i="",a="",c=new Rx.StringDecoder("utf8"),l=new Rx.StringDecoder("utf8"),u=(s=r?.listeners)===null||s===void 0?void 0:s.stdout,A=(n=r?.listeners)===null||n===void 0?void 0:n.stderr,d=o(g=>{a+=l.write(g),A&&A(g)},"stdErrListener"),p=o(g=>{i+=c.write(g),u&&u(g)},"stdOutListener"),m=Object.assign(Object.assign({},r?.listeners),{stdout:p,stderr:d}),h=yield cs(t,e,Object.assign(Object.assign({},r),{listeners:m}));return i+=c.end(),a+=l.end(),{exitCode:h,stdout:i,stderr:a}})}o(Rd,"getExecOutput");var FUe=Tx.default.platform(),UUe=Tx.default.arch();var dde=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},vx;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(vx||(vx={}));function GG(t,e){let r=Dn(e);if(process.env[t]=r,process.env.GITHUB_ENV||"")return IA("ENV",lh(t,e));_n("set-env",{name:t},r)}o(GG,"exportVariable");function $l(t){_n("add-mask",{},t)}o($l,"setSecret");function Jl(t){process.env.GITHUB_PATH||""?IA("PATH",t):_n("add-path",{},t),process.env.PATH=`${t}${qG.delimiter}${process.env.PATH}`}o(Jl,"addPath");function fn(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(fn,"getInput");function kx(t,e){let r=["true","True","TRUE"],s=["false","False","FALSE"],n=fn(t,e);if(r.includes(n))return!0;if(s.includes(n))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(kx,"getBooleanInput");function Dx(t,e){if(process.env.GITHUB_OUTPUT||"")return IA("OUTPUT",lh(t,e));process.stdout.write(Px.EOL),_n("set-output",{name:t},Dn(e))}o(Dx,"setOutput");function HG(t){process.exitCode=vx.Failure,Wl(t)}o(HG,"setFailed");function Ka(){return process.env.RUNNER_DEBUG==="1"}o(Ka,"isDebug");function b(t){_n("debug",{},t)}o(b,"debug");function Wl(t,e={}){_n("error",qB(e),t instanceof Error?t.toString():t)}o(Wl,"error");function je(t,e={}){_n("warning",qB(e),t instanceof Error?t.toString():t)}o(je,"warning");function R(t){process.stdout.write(t+Px.EOL)}o(R,"info");function pde(t){HB("group",t)}o(pde,"startGroup");function mde(){HB("endgroup")}o(mde,"endGroup");function me(t,e){return dde(this,void 0,void 0,function*(){pde(t);let r;try{r=yield e()}finally{mde()}return r})}o(me,"group");function jl(t,e){if(process.env.GITHUB_STATE||"")return IA("STATE",lh(t,e));_n("save-state",{name:t},Dn(e))}o(jl,"saveState");function zG(t){return process.env[`STATE_${t}`]||""}o(zG,"getState");var EI=w(require("fs"),1),Gk=w(require("os"),1),Hk=w(require("path"),1);var $G=w(require("os"),1);function vd(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(vd,"toCommandValue");function YG(t,e,r){let s=new _x(t,e,r);process.stdout.write(s.toString()+$G.EOL)}o(YG,"issueCommand");var VG="::",_x=class{static{o(this,"Command")}constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=VG+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let s in this.properties)if(this.properties.hasOwnProperty(s)){let n=this.properties[s];n&&(r?r=!1:e+=",",e+=`${s}=${fde(n)}`)}}return e+=`${VG}${hde(this.message)}`,e}};function hde(t){return vd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(hde,"escapeData");function fde(t){return vd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(fde,"escapeProperty");var KG=w(require("os"),1);var WG=require("os"),Pd=require("fs");var Lx=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},{access:gde,appendFile:Ede,writeFile:yde}=Pd.promises,JG="GITHUB_STEP_SUMMARY";var Mx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Lx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[JG];if(!e)throw new Error(`Unable to find environment variable for $${JG}. Check if your runtime environment supports job summaries.`);try{yield gde(e,Pd.constants.R_OK|Pd.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,s={}){let n=Object.entries(s).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${n}>${r}`:`<${e}${n}>`}write(e){return Lx(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?yde:Ede)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Lx(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(WG.EOL)}addCodeBlock(e,r){let s=Object.assign({},r&&{lang:r}),n=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(n).addEOL()}addList(e,r=!1){let s=r?"ol":"ul",n=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:A}=a,d=c?"th":"td",p=Object.assign(Object.assign({},u&&{colspan:u}),A&&{rowspan:A});return this.wrap(d,l,p)}).join("");return this.wrap("tr",i)}).join(""),s=this.wrap("table",r);return this.addRaw(s).addEOL()}addDetails(e,r){let s=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(s).addEOL()}addImage(e,r,s){let{width:n,height:i}=s||{},a=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let s=`h${r}`,n=["h1","h2","h3","h4","h5","h6"].includes(s)?s:"h1",i=this.wrap(n,e);return this.addRaw(i).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 s=Object.assign({},r&&{cite:r}),n=this.wrap("blockquote",e,s);return this.addRaw(n).addEOL()}addLink(e,r){let s=this.wrap("a",e,{href:r});return this.addRaw(s).addEOL()}},f2e=new Mx;var Ox=w(require("os"),1);var I2e=Ox.default.platform(),B2e=Ox.default.arch();var jG;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(jG||(jG={}));function Fx(){return process.env.RUNNER_DEBUG==="1"}o(Fx,"isDebug");function Fe(t){YG("debug",{},t)}o(Fe,"debug");function Ux(t){process.stdout.write(t+KG.EOL)}o(Ux,"info");var c0=w(require("crypto"),1),ir=w(require("fs"),1);var fhe=w(o0(),1);var xg=w(require("os"),1),gn=w(require("path"),1);var _s=w(o0(),1),Gz=w(require("stream"),1),Hz=w(require("util"),1),l0=require("assert");var qz=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},bg=class{static{o(this,"RetryHelper")}constructor(e,r,s){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(s),this.minSeconds>this.maxSeconds)throw new Error("min seconds should be less than or equal to max seconds")}execute(e,r){return qz(this,void 0,void 0,function*(){let s=1;for(;ssetTimeout(r,e*1e3))})}};var Jn=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},Qg=class extends Error{static{o(this,"HTTPError")}constructor(e){super(`Unexpected HTTP response: ${e}`),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}},zz=process.platform==="win32",xqe=process.platform==="darwin",Ehe="actions/tool-cache";function Za(t,e,r,s){return Jn(this,void 0,void 0,function*(){e=e||gn.join(Jz(),c0.randomUUID()),yield Ps(gn.dirname(e)),Fe(`Downloading ${t}`),Fe(`Destination ${e}`);let n=3,i=a0("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=a0("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);return yield new bg(n,i,a).execute(()=>Jn(this,void 0,void 0,function*(){return yield yhe(t,e||"",r,s)}),l=>!(l instanceof Qg&&l.httpStatusCode&&l.httpStatusCode<500&&l.httpStatusCode!==408&&l.httpStatusCode!==429))})}o(Za,"downloadTool");function yhe(t,e,r,s){return Jn(this,void 0,void 0,function*(){if(ir.existsSync(e))throw new Error(`Destination file path ${e} already exists`);let n=new Ya(Ehe,[],{allowRetries:!1});r&&(Fe("set auth"),s===void 0&&(s={}),s.authorization=r);let i=yield n.get(t,s);if(i.message.statusCode!==200){let A=new Qg(i.message.statusCode);throw Fe(`Failed to download from "${t}". Code(${i.message.statusCode}) Message(${i.message.statusMessage})`),A}let a=Hz.promisify(Gz.pipeline),l=a0("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>i.message)(),u=!1;try{return yield a(l,ir.createWriteStream(e)),Fe("download complete"),u=!0,e}finally{if(!u){Fe("download failed");try{yield lg(e)}catch(A){Fe(`Failed to delete '${e}'. ${A.message}`)}}}})}o(yhe,"downloadToolAttempt");function Ng(t,e){return Jn(this,arguments,void 0,function*(r,s,n="xz"){if(!r)throw new Error("parameter 'file' is required");s=yield $z(s),Fe("Checking tar --version");let i="";yield cs("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(A=>i+=A.toString(),"stdout"),stderr:o(A=>i+=A.toString(),"stderr")}}),Fe(i.trim());let a=i.toUpperCase().includes("GNU TAR"),c;n instanceof Array?c=n:c=[n],Fx()&&!n.includes("v")&&c.push("-v");let l=s,u=r;return zz&&a&&(c.push("--force-local"),l=s.replace(/\\/g,"/"),u=r.replace(/\\/g,"/")),a&&(c.push("--warning=no-unknown-keyword"),c.push("--overwrite")),c.push("-C",l,"-f",u),yield cs("tar",c),s})}o(Ng,"extractTar");function Sg(t,e){return Jn(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'file' is required");return e=yield $z(e),zz?yield Che(t,e):yield Ihe(t,e),e})}o(Sg,"extractZip");function Che(t,e){return Jn(this,void 0,void 0,function*(){let r=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=yield ft("pwsh",!1);if(n){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}', '${s}', $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 '${s}' -Force } else { throw $_ } } ;`].join(" ")];Fe(`Using pwsh at path: ${n}`),yield cs(`"${n}"`,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 '${s}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${s}', $true) }`].join(" ")],c=yield ft("powershell",!0);Fe(`Using powershell at path: ${c}`),yield cs(`"${c}"`,a)}})}o(Che,"extractZipWin");function Ihe(t,e){return Jn(this,void 0,void 0,function*(){let r=yield ft("unzip",!0),s=[t];Fx()||s.unshift("-q"),s.unshift("-o"),yield cs(`"${r}"`,s,{cwd:e})})}o(Ihe,"extractZipNix");function Ud(t,e,r,s){return Jn(this,void 0,void 0,function*(){if(r=_s.clean(r)||r,s=s||xg.arch(),Fe(`Caching tool ${e} ${r} ${s}`),Fe(`source dir: ${t}`),!ir.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let n=yield whe(e,r,s);for(let i of ir.readdirSync(t)){let a=gn.join(t,i);yield PG(a,n,{recursive:!0})}return bhe(e,r,s),n})}o(Ud,"cacheDir");function Vz(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||xg.arch(),!Yz(e)){let n=Bhe(t,r);e=Qhe(n,e)}let s="";if(e){e=_s.clean(e)||"";let n=gn.join(Rg(),t,e,r);Fe(`checking cache: ${n}`),ir.existsSync(n)&&ir.existsSync(`${n}.complete`)?(Fe(`Found tool in cache ${t} ${e} ${r}`),s=n):Fe("not found")}return s}o(Vz,"find");function Bhe(t,e){let r=[];e=e||xg.arch();let s=gn.join(Rg(),t);if(ir.existsSync(s)){let n=ir.readdirSync(s);for(let i of n)if(Yz(i)){let a=gn.join(s,i,e||"");ir.existsSync(a)&&ir.existsSync(`${a}.complete`)&&r.push(i)}}return r}o(Bhe,"findAllVersions");function $z(t){return Jn(this,void 0,void 0,function*(){return t||(t=gn.join(Jz(),c0.randomUUID())),yield Ps(t),t})}o($z,"_createExtractFolder");function whe(t,e,r){return Jn(this,void 0,void 0,function*(){let s=gn.join(Rg(),t,_s.clean(e)||e,r||"");Fe(`destination ${s}`);let n=`${s}.complete`;return yield lg(s),yield lg(n),yield Ps(s),s})}o(whe,"_createToolPath");function bhe(t,e,r){let n=`${gn.join(Rg(),t,_s.clean(e)||e,r||"")}.complete`;ir.writeFileSync(n,""),Fe("finished caching tool")}o(bhe,"_completeToolPath");function Yz(t){let e=_s.clean(t)||"";Fe(`isExplicit: ${e}`);let r=_s.valid(e)!=null;return Fe(`explicit? ${r}`),r}o(Yz,"isExplicitVersion");function Qhe(t,e){let r="";Fe(`evaluating ${t.length} versions`),t=t.sort((s,n)=>_s.gt(s,n)?1:-1);for(let s=t.length-1;s>=0;s--){let n=t[s];if(_s.satisfies(n,e)){r=n;break}}return r?Fe(`matched: ${r}`):Fe("match not found"),r}o(Qhe,"evaluateVersions");function Rg(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,l0.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(Rg,"_getCacheDirectory");function Jz(){let t=process.env.RUNNER_TEMP||"";return(0,l0.ok)(t,"Expected RUNNER_TEMP to be defined"),t}o(Jz,"_getTempDirectory");function a0(t,e){let r=global[t];return r!==void 0?r:e}o(a0,"_getGlobal");var Qm=w(require("path"),1);var jz=w(require("os"),1);function qd(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(qd,"toCommandValue");function Kz(t,e,r){let s=new u0(t,e,r);process.stdout.write(s.toString()+jz.EOL)}o(Kz,"issueCommand");var Wz="::",u0=class{static{o(this,"Command")}constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=Wz+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let s in this.properties)if(this.properties.hasOwnProperty(s)){let n=this.properties[s];n&&(r?r=!1:e+=",",e+=`${s}=${Nhe(n)}`)}}return e+=`${Wz}${xhe(this.message)}`,e}};function xhe(t){return qd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(xhe,"escapeData");function Nhe(t){return qd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(Nhe,"escapeProperty");var Zz=require("os"),Gd=require("fs");var A0=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},{access:She,appendFile:Rhe,writeFile:The}=Gd.promises,Xz="GITHUB_STEP_SUMMARY";var d0=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return A0(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Xz];if(!e)throw new Error(`Unable to find environment variable for $${Xz}. Check if your runtime environment supports job summaries.`);try{yield She(e,Gd.constants.R_OK|Gd.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,s={}){let n=Object.entries(s).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${n}>${r}`:`<${e}${n}>`}write(e){return A0(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?The:Rhe)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return A0(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(Zz.EOL)}addCodeBlock(e,r){let s=Object.assign({},r&&{lang:r}),n=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(n).addEOL()}addList(e,r=!1){let s=r?"ol":"ul",n=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:A}=a,d=c?"th":"td",p=Object.assign(Object.assign({},u&&{colspan:u}),A&&{rowspan:A});return this.wrap(d,l,p)}).join("");return this.wrap("tr",i)}).join(""),s=this.wrap("table",r);return this.addRaw(s).addEOL()}addDetails(e,r){let s=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(s).addEOL()}addImage(e,r,s){let{width:n,height:i}=s||{},a=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let s=`h${r}`,n=["h1","h2","h3","h4","h5","h6"].includes(s)?s:"h1",i=this.wrap(n,e);return this.addRaw(i).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 s=Object.assign({},r&&{cite:r}),n=this.wrap("blockquote",e,s);return this.addRaw(n).addEOL()}addLink(e,r){let s=this.wrap("a",e,{href:r});return this.addRaw(s).addEOL()}},Gqe=new d0;var p0=w(require("os"),1);var Yqe=p0.default.platform(),Jqe=p0.default.arch();var eV;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(eV||(eV={}));function Ls(t){Kz("debug",{},t)}o(Ls,"debug");var tu=w(require("fs"),1);function h0(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,Ls(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,Ls(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,Ls(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,Ls(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,Ls(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}o(h0,"getOptions");var _g=w(require("path"),1);var Xl=w(require("path"),1),Vo=w(require("assert"),1);var $o=process.platform==="win32";function Ki(t){if(t=ji(t),$o&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=Xl.dirname(t);return $o&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=ji(e)),e}o(Ki,"dirname");function vg(t,e){if((0,Vo.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,Vo.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),Hd(e))return e;if($o){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,Vo.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(En(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,Vo.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,Vo.default)(Hd(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||$o&&t.endsWith("\\")||(t+=Xl.sep),t+e}o(vg,"ensureAbsoluteRoot");function Hd(t){return(0,Vo.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=En(t),$o?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}o(Hd,"hasAbsoluteRoot");function zd(t){return(0,Vo.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=En(t),$o?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(zd,"hasRoot");function En(t){return t=t||"",$o?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(En,"normalizeSeparators");function ji(t){return t?(t=En(t),!t.endsWith(Xl.sep)||t===Xl.sep||$o&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}o(ji,"safeTrimTrailingSeparator");var yn;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(yn||(yn={}));var tV=process.platform==="win32";function g0(t){t=t.filter(s=>!s.negate);let e={};for(let s of t){let n=tV?s.searchPath.toUpperCase():s.searchPath;e[n]="candidate"}let r=[];for(let s of t){let n=tV?s.searchPath.toUpperCase():s.searchPath;if(e[n]==="included")continue;let i=!1,a=n,c=Ki(a);for(;c!==a;){if(e[c]){i=!0;break}a=c,c=Ki(a)}i||(r.push(s.searchPath),e[n]="included")}return r}o(g0,"getSearchPaths");function rV(t,e){let r=yn.None;for(let s of t)s.negate?r&=~s.match(e):r|=s.match(e);return r}o(rV,"match");function sV(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(sV,"partialMatch");var QV=w(require("os"),1),eu=w(require("path"),1);var Jo=w(require("assert"),1),xV=w(bV(),1);var ec=w(require("path"),1);var Zl=w(require("assert"),1);var sfe=process.platform==="win32",tc=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if((0,Zl.default)(e,"Parameter 'itemPath' must not be empty"),e=ji(e),!zd(e))this.segments=e.split(ec.sep);else{let r=e,s=Ki(r);for(;s!==r;){let n=ec.basename(r);this.segments.unshift(n),r=s,s=Ki(r)}this.segments.unshift(r)}else{(0,Zl.default)(e.length>0,"Parameter 'itemPath' must not be an empty array");for(let r=0;rt.getLiteral(u)).filter(u=>!a&&!(a=u===""));this.searchPath=new tc(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),Xi?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:Xi,nocomment:!0,noext:!0,nonegate:!0};i=Xi?i.replace(/\\/g,"/"):i,this.minimatch=new nfe(i,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=En(e),!e.endsWith(eu.sep)&&this.isImplicitPattern===!1&&(e=`${e}${eu.sep}`)):e=ji(e),this.minimatch.match(e)?this.trailingSeparator?yn.Directory:yn.All:yn.None}partialMatch(e){return e=ji(e),Ki(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Xi?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Xi?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,Jo.default)(e,"pattern cannot be empty");let s=new tc(e).segments.map(n=>t.getLiteral(n));if((0,Jo.default)(s.every((n,i)=>(n!=="."||i===0)&&n!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,Jo.default)(!zd(e)||s[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=En(e),e==="."||e.startsWith(`.${eu.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${eu.sep}`))r=r||QV.homedir(),(0,Jo.default)(r,"Unable to determine HOME directory"),(0,Jo.default)(Hd(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(Xi&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let n=vg("C:\\dummy-root",e.substr(0,2));e.length>2&&!n.endsWith("\\")&&(n+="\\"),e=t.globEscape(n)+e.substr(2)}else if(Xi&&(e==="\\"||e.match(/^\\[^\\]/))){let n=vg("C:\\dummy-root","\\");n.endsWith("\\")||(n+="\\"),e=t.globEscape(n)+e.substr(1)}else e=vg(t.globEscape(process.cwd()),e);return En(e)}static getLiteral(e){let r="";for(let s=0;s=0){if(i.length>1)return"";if(i){r+=i,s=a;continue}}}}r+=n}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};var Jd=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};var b0=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},ife=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={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r);function s(i){r[i]=t[i]&&function(a){return new Promise(function(c,l){a=t[i](a),n(c,l,a.done,a.value)})}}function n(i,a,c,l){Promise.resolve(l).then(function(u){i({value:u,done:c})},a)}},Wo=function(t){return this instanceof Wo?(this.v=t,this):new Wo(t)},ofe=function(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s=r.apply(t,e||[]),n,i=[];return n=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),n[Symbol.asyncIterator]=function(){return this},n;function a(m){return function(h){return Promise.resolve(h).then(m,d)}}function c(m,h){s[m]&&(n[m]=function(g){return new Promise(function(C,E){i.push([m,g,C,E])>1||l(m,g)})},h&&(n[m]=h(n[m])))}function l(m,h){try{u(s[m](h))}catch(g){p(i[0][3],g)}}function u(m){m.value instanceof Wo?Promise.resolve(m.value.v).then(A,d):p(i[0][2],m)}function A(m){l("next",m)}function d(m){l("throw",m)}function p(m,h){m(h),i.shift(),i.length&&l(i[0][0],i[0][1])}},afe=process.platform==="win32",Dg=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=h0(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return b0(this,void 0,void 0,function*(){var e,r,s,n;let i=[];try{for(var a=!0,c=ife(this.globGenerator()),l;l=yield c.next(),e=l.done,!e;a=!0){n=l.value,a=!1;let u=n;i.push(u)}}catch(u){r={error:u}}finally{try{!a&&!e&&(s=c.return)&&(yield s.call(c))}finally{if(r)throw r.error}}return i})}globGenerator(){return ofe(this,arguments,o(function*(){let r=h0(this.options),s=[];for(let a of this.patterns)s.push(a),r.implicitDescendants&&(a.trailingSeparator||a.segments[a.segments.length-1]!=="**")&&s.push(new Yd(a.negate,!0,a.segments.concat("**")));let n=[];for(let a of g0(s)){Ls(`Search path '${a}'`);try{yield Wo(tu.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}n.unshift(new Jd(a,1))}let i=[];for(;n.length;){let a=n.pop(),c=rV(s,a.path),l=!!c||sV(s,a.path);if(!c&&!l)continue;let u=yield Wo(t.stat(a,r,i));if(u&&!(r.excludeHiddenFiles&&_g.basename(a.path).match(/^\./)))if(u.isDirectory()){if(c&yn.Directory&&r.matchDirectories)yield yield Wo(a.path);else if(!l)continue;let A=a.level+1,d=(yield Wo(tu.promises.readdir(a.path))).map(p=>new Jd(_g.join(a.path,p),A));n.push(...d.reverse())}else c&yn.File&&(yield yield Wo(a.path))}},"globGenerator_1"))}static create(e,r){return b0(this,void 0,void 0,function*(){let s=new t(r);afe&&(e=e.replace(/\r\n/g,` `),e=e.replace(/\r/g,` `));let n=e.split(` `).map(i=>i.trim());for(let i of n)!i||i.startsWith("#")||s.patterns.push(new Yd(i));return s.searchPaths.push(...g0(s.patterns)),s})}static stat(e,r,s){return b0(this,void 0,void 0,function*(){let n;if(r.followSymbolicLinks)try{n=yield tu.promises.stat(e.path)}catch(i){if(i.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){Ls(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw i}else n=yield tu.promises.lstat(e.path);if(n.isDirectory()&&r.followSymbolicLinks){let i=yield tu.promises.realpath(e.path);for(;s.length>=e.level;)s.pop();if(s.some(a=>a===i)){Ls(`Symlink cycle detected for path '${e.path}' and realpath '${i}'`);return}s.push(i)}return n})}};var cfe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function NV(t,e){return cfe(this,void 0,void 0,function*(){return yield Dg.create(t,e)})}o(NV,"create");var jg=w(require("crypto"),1),nu=w(require("fs"),1),sc=w(require("path"),1),EY=w(fY(),1),yY=w(require("util"),1);var rp;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(rp||(rp={}));var Cr;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(Cr||(Cr={}));var us;(function(t){t.GNU="gnu",t.BSD="bsd"})(us||(us={}));var Jg=2,Wg=5e3,z0=5e3,V0=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,gY=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,sp="cache.tar",$0="manifest.txt",bze=10*Math.pow(1024,3);var su=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},iye=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={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r);function s(i){r[i]=t[i]&&function(a){return new Promise(function(c,l){a=t[i](a),n(c,l,a.done,a.value)})}}function n(i,a,c,l){Promise.resolve(l).then(function(u){i({value:u,done:c})},a)}},oye="1.0";function np(){return su(this,void 0,void 0,function*(){let t=process.platform==="win32",e=process.env.RUNNER_TEMP||"";if(!e){let s;t?s=process.env.USERPROFILE||"C:\\":process.platform==="darwin"?s="/Users":s="/home",e=sc.join(s,"actions","temp")}let r=sc.join(e,jg.randomUUID());return yield Ps(r),r})}o(np,"createTempDirectory");function jn(t){return nu.statSync(t).size}o(jn,"getArchiveFileSizeInBytes");function Y0(t){return su(this,void 0,void 0,function*(){var e,r,s,n,i;let a=[],c=(i=process.env.GITHUB_WORKSPACE)!==null&&i!==void 0?i:process.cwd(),l=yield NV(t.join(` `),{implicitDescendants:!1});try{for(var u=!0,A=iye(l.globGenerator()),d;d=yield A.next(),e=d.done,!e;u=!0){n=d.value,u=!1;let m=sc.relative(c,n).replace(new RegExp(`\\${sc.sep}`,"g"),"/");b(`Matched: ${m}`),m===""?a.push("."):a.push(`${m}`)}}catch(p){r={error:p}}finally{try{!u&&!e&&(s=A.return)&&(yield s.call(A))}finally{if(r)throw r.error}}return a})}o(Y0,"resolvePaths");function ip(t){return su(this,void 0,void 0,function*(){return yY.promisify(nu.unlink)(t)})}o(ip,"unlinkFile");function CY(t){return su(this,arguments,void 0,function*(e,r=[]){let s="";r.push("--version"),b(`Checking ${e} ${r.join(" ")}`);try{yield cs(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(n=>s+=n.toString(),"stdout"),stderr:o(n=>s+=n.toString(),"stderr")}})}catch(n){b(n.message)}return s=s.trim(),b(s),s})}o(CY,"getVersion");function op(){return su(this,void 0,void 0,function*(){let t=yield CY("zstd",["--quiet"]),e=EY.clean(t);return b(`zstd version: ${e}`),t===""?Cr.Gzip:Cr.ZstdWithoutLong})}o(op,"getCompressionMethod");function jo(t){return t===Cr.Gzip?rp.Gzip:rp.Zstd}o(jo,"getCacheFileName");function IY(){return su(this,void 0,void 0,function*(){return nu.existsSync(V0)?V0:(yield CY("tar")).toLowerCase().includes("gnu tar")?ft("tar"):""})}o(IY,"getGnuTarPathOnWindows");function J0(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(J0,"assertDefined");function iu(t,e,r=!1){let s=t.slice();return e&&s.push(e),process.platform==="win32"&&!r&&s.push("windows-only"),s.push(oye),jg.createHash("sha256").update(s.join("|")).digest("hex")}o(iu,"getCacheVersion");function BY(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(BY,"getRuntimeToken");var cp=w(require("http"),1),K0=w(require("https"),1);function W0(t){let e=t.protocol==="https:";if(aye(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 Xg(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new Xg(`http://${r}`)}else return}o(W0,"getProxyUrl");function aye(t){if(!t.hostname)return!1;let e=t.hostname;if(cye(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||n.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(aye,"checkBypass");function cye(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(cye,"isLoopbackAddress");var Xg=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 Ko=w(BA(),1),wY=w(Vl(),1);var Et=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},nt;(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"})(nt||(nt={}));var Ir;(function(t){t.Accept="accept",t.ContentType="content-type"})(Ir||(Ir={}));var Zi;(function(t){t.ApplicationJson="application/json"})(Zi||(Zi={}));var uye=[nt.MovedPermanently,nt.ResourceMoved,nt.SeeOther,nt.TemporaryRedirect,nt.PermanentRedirect],Aye=[nt.BadGateway,nt.ServiceUnavailable,nt.GatewayTimeout],dye=["OPTIONS","GET","DELETE","HEAD"],pye=10,mye=5,Kn=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},j0=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return Et(this,void 0,void 0,function*(){return new Promise(e=>Et(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",s=>{r=Buffer.concat([r,s])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return Et(this,void 0,void 0,function*(){return new Promise(e=>Et(this,void 0,void 0,function*(){let r=[];this.message.on("data",s=>{r.push(s)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var eo=class{static{o(this,"HttpClient")}constructor(e,r,s){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=s,s&&(s.ignoreSslError!=null&&(this._ignoreSslError=s.ignoreSslError),this._socketTimeout=s.socketTimeout,s.allowRedirects!=null&&(this._allowRedirects=s.allowRedirects),s.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=s.allowRedirectDowngrade),s.maxRedirects!=null&&(this._maxRedirects=Math.max(s.maxRedirects,0)),s.keepAlive!=null&&(this._keepAlive=s.keepAlive),s.allowRetries!=null&&(this._allowRetries=s.allowRetries),s.maxRetries!=null&&(this._maxRetries=s.maxRetries))}options(e,r){return Et(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return Et(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return Et(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return Et(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return Et(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return Et(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return Et(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return Et(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return Et(this,arguments,void 0,function*(r,s={}){s[Ir.Accept]=this._getExistingOrDefaultHeader(s,Ir.Accept,Zi.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return Et(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Ir.Accept]=this._getExistingOrDefaultHeader(i,Ir.Accept,Zi.ApplicationJson),i[Ir.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Zi.ApplicationJson);let c=yield this.post(s,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return Et(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Ir.Accept]=this._getExistingOrDefaultHeader(i,Ir.Accept,Zi.ApplicationJson),i[Ir.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Zi.ApplicationJson);let c=yield this.put(s,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return Et(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Ir.Accept]=this._getExistingOrDefaultHeader(i,Ir.Accept,Zi.ApplicationJson),i[Ir.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Zi.ApplicationJson);let c=yield this.patch(s,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,s,n){return Et(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),a=this._prepareRequest(e,i,n),c=this._allowRetries&&dye.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,s),u&&u.message&&u.message.statusCode===nt.Unauthorized){let d;for(let p of this.handlers)if(p.canHandleAuthentication(u)){d=p;break}return d?d.handleAuthentication(this,a,s):u}let A=this._maxRedirects;for(;u.message.statusCode&&uye.includes(u.message.statusCode)&&this._allowRedirects&&A>0;){let d=u.message.headers.location;if(!d)break;let p=new URL(d);if(i.protocol==="https:"&&i.protocol!==p.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 u.readBody(),p.hostname!==i.hostname)for(let m in n)m.toLowerCase()==="authorization"&&delete n[m];a=this._prepareRequest(e,p,n),u=yield this.requestRaw(a,s),A--}if(!u.message.statusCode||!Aye.includes(u.message.statusCode))return u;l+=1,l{function i(a,c){a?n(a):c?s(c):n(new Error("Unknown error"))}o(i,"callbackForResult"),this.requestRawWithCallback(e,r,i)})})}requestRawWithCallback(e,r,s){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let n=!1;function i(l,u){n||(n=!0,s(l,u))}o(i,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new j0(l);i(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),i(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){i(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),s=W0(r);if(s&&s.hostname)return this._getProxyAgentDispatcher(r,s)}_prepareRequest(e,r,s){let n={};n.parsedUrl=r;let i=n.parsedUrl.protocol==="https:";n.httpModule=i?K0:cp;let a=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):a,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(s),this.userAgent!=null&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},ap(this.requestOptions.headers),ap(e||{})):ap(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=ap(this.requestOptions.headers)[r];a&&(n=typeof a=="number"?a.toString():a)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:n!==void 0?n:s}_getExistingOrDefaultContentTypeHeader(e,r){let s;if(this.requestOptions&&this.requestOptions.headers){let i=ap(this.requestOptions.headers)[Ir.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[Ir.ContentType];return n!==void 0?typeof n=="number"?String(n):Array.isArray(n)?n.join(", "):n:s!==void 0?s:r}_getAgent(e){let r,s=W0(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||cp.globalAgent.maxSockets),s&&s.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},l,u=s.protocol==="https:";i?l=u?Ko.httpsOverHttps:Ko.httpsOverHttp:l=u?Ko.httpOverHttps:Ko.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new K0.Agent(c):new cp.Agent(c),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let s;if(this._keepAlive&&(s=this._proxyAgentDispatcher),s)return s;let n=e.protocol==="https:";return s=new wY.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=s,n&&this._ignoreSslError&&(s.options=Object.assign(s.options.requestTls||{},{rejectUnauthorized:!1})),s}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",s=process.env.ACTIONS_ORCHESTRATION_ID;if(s){let n=s.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${n}`}return r}_performExponentialBackoff(e){return Et(this,void 0,void 0,function*(){e=Math.min(pye,e);let r=mye*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return Et(this,void 0,void 0,function*(){return new Promise((s,n)=>Et(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===nt.NotFound&&s(a);function c(A,d){if(typeof d=="string"){let p=new Date(d);if(!isNaN(p.valueOf()))return p}return d}o(c,"dateTimeDeserializer");let l,u;try{u=yield e.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),a.result=l),a.headers=e.message.headers}catch{}if(i>299){let A;l&&l.message?A=l.message:u&&u.length>0?A=u:A=`Failed request: (${i})`;let d=new Kn(A,i);d.result=a.result,n(d)}else s(a)}))})}},ap=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var hye=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};var ou=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 hye(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var Mu=w(require("fs"),1),G8=require("url");var Xn=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};var bY=require("node:os"),QY=w(require("node:util"),1),xY=w(require("node:process"),1);function NY(t,...e){xY.default.stderr.write(`${QY.default.format(t,...e)}${bY.EOL}`)}o(NY,"log");var SY=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,TY,X0=[],Z0=[],Zg=[];SY&&eN(SY);var vY=Object.assign(t=>PY(t),{enable:eN,enabled:tN,disable:fye,log:NY});function eN(t){TY=t,X0=[],Z0=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?Z0.push(r.substring(1)):X0.push(r);for(let r of Zg)r.enabled=tN(r.namespace)}o(eN,"enable");function tN(t){if(t.endsWith("*"))return!0;for(let e of Z0)if(RY(t,e))return!1;for(let e of X0)if(RY(t,e))return!0;return!1}o(tN,"enabled");function RY(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let p=[],m="";for(let h of e)h==="*"&&m==="*"||(m=h,p.push(h));r=p.join("")}let s=0,n=0,i=r.length,a=t.length,c=-1,l=-1;for(;s=0){if(n=c+1,s=l+1,s===a)return!1;for(;t[s]!==r[n];)if(s++,s===a)return!1;l=s,s++,n++;continue}else return!1;let u=s===t.length,A=n===r.length,d=n===r.length-1&&r[n]==="*";return u&&(A||d)}o(RY,"namespaceMatches");function fye(){let t=TY||"";return eN(""),t}o(fye,"disable");function PY(t){let e=Object.assign(r,{enabled:tN(t),destroy:gye,log:vY.log,namespace:t,extend:Eye});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return o(r,"debug"),Zg.push(e),e}o(PY,"createDebugger");function gye(){let t=Zg.indexOf(this);return t>=0?(Zg.splice(t,1),!0):!1}o(gye,"destroy");function Eye(t){let e=PY(`${this.namespace}:${t}`);return e.log=this.log,e}o(Eye,"extend");var au=vY;var rN=["verbose","info","warning","error"],kY={verbose:400,info:300,warning:200,error:100};function DY(t,e){e.log=(...r)=>{t.log(...r)}}o(DY,"patchLogMethod");function _Y(t){return rN.includes(t)}o(_Y,"isTypeSpecRuntimeLogLevel");function eE(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,s,n=au(t.namespace);n.log=(...A)=>{au.log(...A)};function i(A){if(A&&!_Y(A))throw new Error(`Unknown log level '${A}'. Acceptable values: ${rN.join(",")}`);s=A;let d=[];for(let p of e)a(p)&&d.push(p.namespace);au.enable(d.join(","))}o(i,"contextSetLogLevel"),r&&(_Y(r)?i(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${rN.join(", ")}.`));function a(A){return!!(s&&kY[A.level]<=kY[s])}o(a,"shouldEnable");function c(A,d){let p=Object.assign(A.extend(d),{level:d});if(DY(A,p),a(p)){let m=au.disable();au.enable(m+","+p.namespace)}return e.add(p),p}o(c,"createLogger");function l(){return s}o(l,"contextGetLogLevel");function u(A){let d=n.extend(A);return DY(n,d),{error:c(d,"error"),warning:c(d,"warning"),info:c(d,"info"),verbose:c(d,"verbose")}}return o(u,"contextCreateClientLogger"),{setLogLevel:i,getLogLevel:l,createClientLogger:u,logger:n}}o(eE,"createLoggerContext");var LY=eE({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),yye=LY.logger;function lp(t){return LY.createClientLogger(t)}o(lp,"createClientLogger");function tE(t){return t.toLowerCase()}o(tE,"normalizeName");function*Cye(t){for(let e of t.values())yield[e.name,e.value]}o(Cye,"headerIterator");var sN=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(tE(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(tE(e))?.value}has(e){return this._headersMap.has(tE(e))}delete(e){this._headersMap.delete(tE(e))}toJSON(e={}){let r={};if(e.preserveCase)for(let s of this._headersMap.values())r[s.name]=s.value;else for(let[s,n]of this._headersMap)r[s]=n.value;return r}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return Cye(this._headersMap)}};function As(t){return new sN(t)}o(As,"createHttpHeaders");function nc(){return crypto.randomUUID()}o(nc,"randomUUID");var nN=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??As(),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||nc(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function rE(t){return new nN(t)}o(rE,"createPipelineRequest");var MY=new Set(["Deserialize","Serialize","Retry","Sign"]),iN=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&&!MY.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!MY.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(s=>e.name&&s.policy.name===e.name||e.phase&&s.options.phase===e.phase?(r.push(s.policy),!1):!0),this._orderedPolicies=void 0,r}sendRequest(e,r){return this.getOrderedPolicies().reduceRight((i,a)=>c=>a.sendRequest(c,i),i=>e.sendRequest(i))(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 s(h){return{name:h,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}o(s,"createPhase");let n=s("Serialize"),i=s("None"),a=s("Deserialize"),c=s("Retry"),l=s("Sign"),u=[n,i,a,c,l];function A(h){return h==="Retry"?c:h==="Serialize"?n:h==="Deserialize"?a:h==="Sign"?l:i}o(A,"getPhase");for(let h of this._policies){let g=h.policy,C=h.options,E=g.name;if(r.has(E))throw new Error("Duplicate policy names not allowed in pipeline");let y={policy:g,dependsOn:new Set,dependants:new Set};C.afterPhase&&(y.afterPhase=A(C.afterPhase),y.afterPhase.hasAfterPolicies=!0),r.set(E,y),A(C.phase).policies.add(y)}for(let h of this._policies){let{policy:g,options:C}=h,E=g.name,y=r.get(E);if(!y)throw new Error(`Missing node for policy ${E}`);if(C.afterPolicies)for(let I of C.afterPolicies){let B=r.get(I);B&&(y.dependsOn.add(B),B.dependants.add(y))}if(C.beforePolicies)for(let I of C.beforePolicies){let B=r.get(I);B&&(B.dependsOn.add(y),y.dependants.add(B))}}function d(h){h.hasRun=!0;for(let g of h.policies)if(!(g.afterPhase&&(!g.afterPhase.hasRun||g.afterPhase.policies.size))&&g.dependsOn.size===0){e.push(g.policy);for(let C of g.dependants)C.dependsOn.delete(g);r.delete(g.policy.name),h.policies.delete(g)}}o(d,"walkPhase");function p(){for(let h of u){if(d(h),h.policies.size>0&&h!==i){i.hasRun||d(i);return}h.hasAfterPolicies&&d(i)}}o(p,"walkPhases");let m=0;for(;r.size>0;){m++;let h=e.length;if(p(),e.length<=h&&m>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function sE(){return iN.create()}o(sE,"createEmptyPipeline");function cu(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(cu,"isObject");function ic(t){if(cu(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(ic,"isError");var OY=require("node:util"),FY=OY.inspect.custom;var oN="REDACTED",Iye=["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"],Bye=["api-version"],Cn=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=Iye.concat(e),r=Bye.concat(r),this.allowedHeaderNames=new Set(e.map(s=>s.toLowerCase())),this.allowedQueryParameters=new Set(r.map(s=>s.toLowerCase()))}sanitize(e){let r=new Set;return JSON.stringify(e,(s,n)=>{if(n instanceof Error)return{...n,name:n.name,message:n.message};if(s==="headers")return this.sanitizeHeaders(n);if(s==="url")return this.sanitizeUrl(n);if(s==="query")return this.sanitizeQuery(n);if(s==="body")return;if(s==="response")return;if(s==="operationSpec")return;if(Array.isArray(n)||cu(n)){if(r.has(n))return"[Circular]";r.add(n)}return n},2)}sanitizeUrl(e){if(typeof e!="string"||e===null||e==="")return e;let r=new URL(e);if(!r.search)return e;for(let[s]of r.searchParams)this.allowedQueryParameters.has(s.toLowerCase())||r.searchParams.set(s,oN);return r.toString()}sanitizeHeaders(e){let r={};for(let s of Object.keys(e))this.allowedHeaderNames.has(s.toLowerCase())?r[s]=e[s]:r[s]=oN;return r}sanitizeQuery(e){if(typeof e!="object"||e===null)return e;let r={};for(let s of Object.keys(e))this.allowedQueryParameters.has(s.toLowerCase())?r[s]=e[s]:r[s]=oN;return r}};var wye=new Cn,Br=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 s=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,FY,{value:o(()=>`RestError: ${this.message} ${wye.sanitize({...this,request:{...this.request,agent:s},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function nE(t){return t instanceof Br?!0:ic(t)&&t.name==="RestError"}o(nE,"isRestError");function Mr(t,e){return Buffer.from(t,e)}o(Mr,"stringToUint8Array");var iE=w(require("node:http"),1),oE=w(require("node:https"),1),aN=w(require("node:zlib"),1),qY=require("node:stream");var Fs=lp("ts-http-runtime");var bye={};function up(t){return t&&typeof t.pipe=="function"}o(up,"isReadableStream");function UY(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(UY,"isStreamComplete");function GY(t){return t&&typeof t.byteLength=="number"}o(GY,"isArrayBuffer");var aE=class extends qY.Transform{static{o(this,"ReportTransform")}loadedBytes=0;progressCallback;_transform(e,r,s){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),s()}catch(n){s(n)}}constructor(e){super(),this.progressCallback=e}},cN=class{static{o(this,"NodeHttpClient")}cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,s;if(e.abortSignal){if(e.abortSignal.aborted)throw new Xn("The operation was aborted. Request has already been canceled.");s=o(u=>{u.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",s)}let n;e.timeout>0&&(n=setTimeout(()=>{let u=new Cn;Fs.info(`request to '${u.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let i=e.headers.get("Accept-Encoding"),a=i?.includes("gzip")||i?.includes("deflate"),c=typeof e.body=="function"?e.body():e.body;if(c&&!e.headers.has("Content-Length")){let u=Sye(c);u!==null&&e.headers.set("Content-Length",u)}let l;try{if(c&&e.onUploadProgress){let h=e.onUploadProgress,g=new aE(h);g.on("error",C=>{Fs.error("Error in upload progress",C)}),up(c)?c.pipe(g):g.end(c),c=g}let u=await this.makeRequest(e,r,c);n!==void 0&&clearTimeout(n);let A=Qye(u),p={status:u.statusCode??0,headers:A,request:e};if(e.method==="HEAD")return u.resume(),p;l=a?xye(u,A):u;let m=e.onDownloadProgress;if(m){let h=new aE(m);h.on("error",g=>{Fs.error("Error in download progress",g)}),l.pipe(h),l=h}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(p.status)?p.readableStreamBody=l:p.bodyAsText=await Nye(l),p}finally{if(e.abortSignal&&s){let u=Promise.resolve();up(c)&&(u=UY(c));let A=Promise.resolve();up(l)&&(A=UY(l)),Promise.all([u,A]).then(()=>{s&&e.abortSignal?.removeEventListener("abort",s)}).catch(d=>{Fs.warning("Error when cleaning up abortListener on httpRequest",d)})}}}makeRequest(e,r,s){let n=new URL(e.url),i=n.protocol!=="https:";if(i&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let c={agent:e.agent??this.getOrCreateAgent(e,i),hostname:n.hostname,path:`${n.pathname}${n.search}`,port:n.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((l,u)=>{let A=i?iE.default.request(c,l):oE.default.request(c,l);A.once("error",d=>{u(new Br(d.message,{code:d.code??Br.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new Xn("The operation was aborted. Rejecting from abort signal callback while making request.");A.destroy(d),u(d)}),s&&up(s)?s.pipe(A):s?typeof s=="string"||Buffer.isBuffer(s)?A.end(s):GY(s)?A.end(ArrayBuffer.isView(s)?Buffer.from(s.buffer):Buffer.from(s)):(Fs.error("Unrecognized body type",s),u(new Br("Unrecognized body type"))):A.end()})}getOrCreateAgent(e,r){let s=e.disableKeepAlive;if(r)return s?iE.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new iE.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(s&&!e.tlsSettings)return oE.default.globalAgent;let n=e.tlsSettings??bye,i=this.cachedHttpsAgents.get(n);return i&&i.options.keepAlive===!s||(Fs.info("No cached TLS Agent exist, creating a new Agent"),i=new oE.default.Agent({keepAlive:!s,...n}),this.cachedHttpsAgents.set(n,i)),i}}};function Qye(t){let e=As();for(let r of Object.keys(t.headers)){let s=t.headers[r];Array.isArray(s)?s.length>0&&e.set(r,s[0]):s&&e.set(r,s)}return e}o(Qye,"getResponseHeaders");function xye(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let s=aN.default.createGunzip();return t.pipe(s),s}else if(r==="deflate"){let s=aN.default.createInflate();return t.pipe(s),s}return t}o(xye,"getDecodedResponseStream");function Nye(t){return new Promise((e,r)=>{let s=[];t.on("data",n=>{Buffer.isBuffer(n)?s.push(n):s.push(Buffer.from(n))}),t.on("end",()=>{e(Buffer.concat(s).toString("utf8"))}),t.on("error",n=>{n&&n?.name==="AbortError"?r(n):r(new Br(`Error reading response as text: ${n.message}`,{code:Br.PARSE_ERROR}))})})}o(Nye,"streamToText");function Sye(t){return t?Buffer.isBuffer(t)?t.length:up(t)?null:GY(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(Sye,"getBodyLength");function HY(){return new cN}o(HY,"createNodeHttpClient");function cE(){return HY()}o(cE,"createDefaultHttpClient");var lN="logPolicy";function lE(t={}){let e=t.logger??Fs.info,r=new Cn({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:lN,async sendRequest(s,n){if(!e.enabled)return n(s);e(`Request: ${r.sanitize(s)}`);let i=await n(s);return e(`Response status code: ${i.status}`),e(`Headers: ${r.sanitize(i.headers)}`),i}}}o(lE,"logPolicy");var uE="redirectPolicy",zY=["GET","HEAD"];function AE(t={}){let{maxRetries:e=20}=t;return{name:uE,async sendRequest(r,s){let n=await s(r);return VY(s,n,e)}}}o(AE,"redirectPolicy");async function VY(t,e,r,s=0){let{request:n,status:i,headers:a}=e,c=a.get("location");if(c&&(i===300||i===301&&zY.includes(n.method)||i===302&&zY.includes(n.method)||i===303&&n.method==="POST"||i===307)&&s{let i,a,c=o(()=>n(new Xn(r?.abortErrorMsg?r?.abortErrorMsg:Rye)),"rejectOnAbort"),l=o(()=>{r?.abortSignal&&a&&r.abortSignal.removeEventListener("abort",a)},"removeListeners");if(a=o(()=>(i&&clearTimeout(i),l(),c()),"onAborted"),r?.abortSignal&&r.abortSignal.aborted)return c();i=setTimeout(()=>{l(),s(e)},t),r?.abortSignal&&r.abortSignal.addEventListener("abort",a)})}o(JY,"delay");function WY(t,e){let r=t.headers.get(e);if(!r)return;let s=Number(r);if(!Number.isNaN(s))return s}o(WY,"parseHeaderValueAsNumber");var uN="Retry-After",Tye=["retry-after-ms","x-ms-retry-after-ms",uN];function jY(t){if(t&&[429,503].includes(t.status))try{for(let n of Tye){let i=WY(t,n);if(i===0||i)return i*(n===uN?1e3:1)}let e=t.headers.get(uN);if(!e)return;let s=Date.parse(e)-Date.now();return Number.isFinite(s)?Math.max(0,s):void 0}catch{return}}o(jY,"getRetryAfterInMs");function KY(t){return Number.isFinite(jY(t))}o(KY,"isThrottlingRetryResponse");function AN(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=jY(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(AN,"throttlingRetryStrategy");var vye=1e3,Pye=1e3*64;function hE(t={}){let e=t.retryDelayInMs??vye,r=t.maxRetryDelayInMs??Pye;return{name:"exponentialRetryStrategy",retry({retryCount:s,response:n,responseError:i}){let a=Dye(i),c=a&&t.ignoreSystemErrors,l=kye(n),u=l&&t.ignoreHttpStatusCodes;return n&&(KY(n)||!l)||u||c?{skipStrategy:!0}:i&&!a&&!l?{errorToThrow:i}:mE(s,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(hE,"exponentialRetryStrategy");function kye(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(kye,"isExponentialRetryResponse");function Dye(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(Dye,"isSystemError");var _ye=lp("ts-http-runtime retryPolicy"),Lye="retryPolicy";function ac(t,e={maxRetries:3}){let r=e.logger||_ye;return{name:Lye,async sendRequest(s,n){let i,a,c=-1;e:for(;;){c+=1,i=void 0,a=void 0;try{r.info(`Retry ${c}: Attempting to send request`,s.requestId),i=await n(s),r.info(`Retry ${c}: Received a response from request`,s.requestId)}catch(l){if(r.error(`Retry ${c}: Received an error from request`,s.requestId),a=l,!l||a.name!=="RestError")throw l;i=a.response}if(s.abortSignal?.aborted)throw r.error(`Retry ${c}: Request aborted.`),new Xn;if(c>=(e.maxRetries??3)){if(r.info(`Retry ${c}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),a)throw a;if(i)return i;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 u=l.logger||r;u.info(`Retry ${c}: Processing retry strategy ${l.name}.`);let A=l.retry({retryCount:c,response:i,responseError:a});if(A.skipStrategy){u.info(`Retry ${c}: Skipped.`);continue t}let{errorToThrow:d,retryAfterInMs:p,redirectTo:m}=A;if(d)throw u.error(`Retry ${c}: Retry strategy ${l.name} throws error:`,d),d;if(p||p===0){u.info(`Retry ${c}: Retry strategy ${l.name} retries after ${p}`),await JY(p,void 0,{abortSignal:s.abortSignal});continue e}if(m){u.info(`Retry ${c}: Retry strategy ${l.name} redirects to ${m}`),s.url=m;continue e}}if(a)throw r.info("None of the retry strategies could work with the received error. Throwing it."),a;if(i)return r.info("None of the retry strategies could work with the received response. Returning it."),i}}}}o(ac,"retryPolicy");var dN="defaultRetryPolicy";function fE(t={}){return{name:dN,sendRequest:ac([AN(),hE(t)],{maxRetries:t.maxRetries??3}).sendRequest}}o(fE,"defaultRetryPolicy");var XY=typeof window<"u"&&typeof window.document<"u",ZY=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),eJ=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",tJ=typeof Bun<"u"&&typeof Bun.version<"u",cc=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node;var rJ=typeof navigator<"u"&&navigator?.product==="ReactNative";var pN="formDataPolicy";function Mye(t){let e={};for(let[r,s]of t.entries())e[r]??=[],e[r].push(s);return e}o(Mye,"formDataToFormDataMap");function gE(){return{name:pN,async sendRequest(t,e){if(cc&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=Mye(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 Fye(t.formData,t),t.formData=void 0}return e(t)}}}o(gE,"formDataPolicy");function Oye(t){let e=new URLSearchParams;for(let[r,s]of Object.entries(t))if(Array.isArray(s))for(let n of s)e.append(r,n.toString());else e.append(r,s.toString());return e.toString()}o(Oye,"wwwFormUrlEncode");async function Fye(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 s=[];for(let[n,i]of Object.entries(t))for(let a of Array.isArray(i)?i:[i])if(typeof a=="string")s.push({headers:As({"Content-Disposition":`form-data; name="${n}"`}),body:Mr(a,"utf-8")});else{if(a==null||typeof a!="object")throw new Error(`Unexpected value for key ${n}: ${a}. Value should be serialized to string first.`);{let c=a.name||"blob",l=As();l.set("Content-Disposition",`form-data; name="${n}"; filename="${c}"`),l.set("Content-Type",a.type||"application/octet-stream"),s.push({headers:l,body:a})}}e.multipartBody={parts:s}}o(Fye,"prepareFormData");var PJ=w(QJ(),1),kJ=w(SJ(),1);var OCe="HTTPS_PROXY",FCe="HTTP_PROXY",UCe="ALL_PROXY",qCe="NO_PROXY",CN="proxyPolicy",RJ=[],DJ=!1,GCe=new Map;function xE(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(xE,"getEnvironmentValue");function _J(){if(!process)return;let t=xE(OCe),e=xE(UCe),r=xE(FCe);return t||e||r}o(_J,"loadEnvironmentProxyValue");function HCe(t,e,r){if(e.length===0)return!1;let s=new URL(t).hostname;if(r?.has(s))return r.get(s);let n=!1;for(let i of e)i[0]==="."?(s.endsWith(i)||s.length===i.length-1&&s===i.slice(1))&&(n=!0):s===i&&(n=!0);return r?.set(s,n),n}o(HCe,"isBypassed");function zCe(){let t=xE(qCe);return DJ=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(zCe,"loadNoProxy");function IN(t){if(!t&&(t=_J(),!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(IN,"getDefaultProxySettings");function VCe(){let t=_J();return t?new URL(t):void 0}o(VCe,"getDefaultProxySettingsInternal");function TJ(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(TJ,"getUrlFromProxySettings");function vJ(t,e,r){if(t.agent)return;let n=new URL(t.url).protocol!=="https:";t.tlsSettings&&Fs.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.");let i=t.headers.toJSON();n?(e.httpProxyAgent||(e.httpProxyAgent=new kJ.HttpProxyAgent(r,{headers:i})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new PJ.HttpsProxyAgent(r,{headers:i})),t.agent=e.httpsProxyAgent)}o(vJ,"setProxyAgentOnRequest");function NE(t,e){DJ||RJ.push(...zCe());let r=t?TJ(t):VCe(),s={};return{name:CN,async sendRequest(n,i){return!n.proxySettings&&r&&!HCe(n.url,e?.customNoProxyList??RJ,e?.customNoProxyList?void 0:GCe)?vJ(n,s,r):n.proxySettings&&vJ(n,s,TJ(n.proxySettings)),i(n)}}}o(NE,"proxyPolicy");var BN="agentPolicy";function SE(t){return{name:BN,sendRequest:o(async(e,r)=>(e.agent||(e.agent=t),r(e)),"sendRequest")}}o(SE,"agentPolicy");var wN="tlsPolicy";function RE(t){return{name:wN,sendRequest:o(async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e)),"sendRequest")}}o(RE,"tlsPolicy");function TE(t){return typeof t.stream=="function"}o(TE,"isBlob");var vE=require("stream");async function*LJ(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(LJ,"streamAsyncIterator");function $Ce(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=LJ.bind(t)),t.values||(t.values=LJ.bind(t))}o($Ce,"makeAsyncIterable");function MJ(t){return t instanceof ReadableStream?($Ce(t),vE.Readable.fromWeb(t)):t}o(MJ,"ensureNodeStream");function YCe(t){return t instanceof Uint8Array?vE.Readable.from(Buffer.from(t)):TE(t)?MJ(t.stream()):MJ(t)}o(YCe,"toStream");async function OJ(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(YCe);return vE.Readable.from((async function*(){for(let r of e)for await(let s of r)yield s})())}}o(OJ,"concat");function JCe(){return`----AzSDKFormBoundary${nc()}`}o(JCe,"generateBoundary");function WCe(t){let e="";for(let[r,s]of t)e+=`${r}: ${s}\r `;return e}o(WCe,"encodeHeaders");function jCe(t){return t instanceof Uint8Array?t.byteLength:TE(t)?t.size===-1?void 0:t.size:void 0}o(jCe,"getLength");function KCe(t){let e=0;for(let r of t){let s=jCe(r);if(s===void 0)return;e+=s}return e}o(KCe,"getTotalLength");async function XCe(t,e,r){let s=[Mr(`--${r}`,"utf-8"),...e.flatMap(i=>[Mr(`\r `,"utf-8"),Mr(WCe(i.headers),"utf-8"),Mr(`\r `,"utf-8"),i.body,Mr(`\r --${r}`,"utf-8")]),Mr(`--\r \r `,"utf-8")],n=KCe(s);n&&t.headers.set("Content-Length",n),t.body=await OJ(s)}o(XCe,"buildRequestBody");var mp="multipartPolicy",ZCe=70,eIe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function tIe(t){if(t.length>ZCe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!eIe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(tIe,"assertValidBoundary");function PE(){return{name:mp,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,s=t.headers.get("Content-Type")??"multipart/mixed",n=s.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!n)throw new Error(`Got multipart request body, but content-type header was not multipart: ${s}`);let[,i,a]=n;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?tIe(r):r=JCe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await XCe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(PE,"multipartPolicy");function kE(){return sE()}o(kE,"createEmptyPipeline");var FJ=eE({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),E3e=FJ.logger;function ei(t){return FJ.createClientLogger(t)}o(ei,"createClientLogger");var ti=ei("core-rest-pipeline");function xN(t={}){return lE({logger:ti.info,...t})}o(xN,"logPolicy");var NN=uE;function SN(t={}){return AE(t)}o(SN,"redirectPolicy");var DE=w(require("node:os"),1),_E=w(require("node:process"),1);function UJ(){return"User-Agent"}o(UJ,"getHeaderName");async function qJ(t){if(_E.default&&_E.default.versions){let e=`${DE.default.type()} ${DE.default.release()}; ${DE.default.arch()}`,r=_E.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(qJ,"setPlatformSpecificData");var LE="1.22.2";function lIe(t){let e=[];for(let[r,s]of t){let n=s?`${r}/${s}`:r;e.push(n)}return e.join(" ")}o(lIe,"getUserAgentString");function GJ(){return UJ()}o(GJ,"getUserAgentHeaderName");async function ME(t){let e=new Map;e.set("core-rest-pipeline",LE),await qJ(e);let r=lIe(e);return t?`${t} ${r}`:r}o(ME,"getUserAgentValue");var HJ=GJ(),zJ="userAgentPolicy";function RN(t={}){let e=ME(t.userAgentPrefix);return{name:zJ,async sendRequest(r,s){return r.headers.has(HJ)||r.headers.set(HJ,await e),s(r)}}}o(RN,"userAgentPolicy");var ms=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function TN(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:n}=e??{};return new Promise((i,a)=>{function c(){a(new ms(n??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){s?.removeEventListener("abort",u)}o(l,"removeListeners");function u(){r?.(),l(),c()}if(o(u,"onAbort"),s?.aborted)return c();try{t(A=>{l(),i(A)},A=>{l(),a(A)})}catch(A){a(A)}s?.addEventListener("abort",u)})}o(TN,"createAbortablePromise");var mIe="The delay was aborted.";function hp(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return TN(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:s,abortErrorMsg:n??mIe})}o(hp,"delay");function Zo(t){if(ic(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(Zo,"getErrorMessage");function VJ(t){return ic(t)}o(VJ,"isError");function mu(){return nc()}o(mu,"randomUUID");var Qe=cc;var $J=Symbol("rawContent");function PN(t){return typeof t[$J]=="function"}o(PN,"hasRawContent");function YJ(t){return PN(t)?t[$J]():t}o(YJ,"getRawContent");var OE=mp;function kN(){let t=PE();return{name:OE,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let s of e.multipartBody.parts)PN(s.body)&&(s.body=YJ(s.body));return t.sendRequest(e,r)},"sendRequest")}}o(kN,"multipartPolicy");var DN=dE;function _N(){return pE()}o(_N,"decompressResponsePolicy");function LN(t={}){return fE(t)}o(LN,"defaultRetryPolicy");function MN(){return gE()}o(MN,"formDataPolicy");function ea(t){return IN(t)}o(ea,"getDefaultProxySettings");function ON(t,e){return NE(t,e)}o(ON,"proxyPolicy");var JJ="setClientRequestIdPolicy";function FN(t="x-ms-client-request-id"){return{name:JJ,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(FN,"setClientRequestIdPolicy");function UN(t){return SE(t)}o(UN,"agentPolicy");function qN(t){return RE(t)}o(qN,"tlsPolicy");var hu={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function WJ(t={}){let e=new GN(t.parentContext);return t.span&&(e=e.setValue(hu.span,t.span)),t.namespace&&(e=e.setValue(hu.namespace,t.namespace)),e}o(WJ,"createTracingContext");var GN=class t{static{o(this,"TracingContextImpl")}_contextMap;constructor(e){this._contextMap=e instanceof t?new Map(e._contextMap):new Map}setValue(e,r){let s=new t(this);return s._contextMap.set(e,r),s}getValue(e){return this._contextMap.get(e)}deleteValue(e){let r=new t(this);return r._contextMap.delete(e),r}};var KJ=w(jJ(),1),UE=KJ.state;function hIe(){return{end:o(()=>{},"end"),isRecording:o(()=>!1,"isRecording"),recordException:o(()=>{},"recordException"),setAttribute:o(()=>{},"setAttribute"),setStatus:o(()=>{},"setStatus"),addEvent:o(()=>{},"addEvent")}}o(hIe,"createDefaultTracingSpan");function fIe(){return{createRequestHeaders:o(()=>({}),"createRequestHeaders"),parseTraceparentHeader:o(()=>{},"parseTraceparentHeader"),startSpan:o((t,e)=>({span:hIe(),tracingContext:WJ({parentContext:e.tracingContext})}),"startSpan"),withContext(t,e,...r){return e(...r)}}}o(fIe,"createDefaultInstrumenter");function fp(){return UE.instrumenterImplementation||(UE.instrumenterImplementation=fIe()),UE.instrumenterImplementation}o(fp,"getInstrumenter");function gp(t){let{namespace:e,packageName:r,packageVersion:s}=t;function n(u,A,d){let p=fp().startSpan(u,{...d,packageName:r,packageVersion:s,tracingContext:A?.tracingOptions?.tracingContext}),m=p.tracingContext,h=p.span;m.getValue(hu.namespace)||(m=m.setValue(hu.namespace,e)),h.setAttribute("az.namespace",m.getValue(hu.namespace));let g=Object.assign({},A,{tracingOptions:{...A?.tracingOptions,tracingContext:m}});return{span:h,updatedOptions:g}}o(n,"startSpan");async function i(u,A,d,p){let{span:m,updatedOptions:h}=n(u,A,p);try{let g=await a(h.tracingOptions.tracingContext,()=>Promise.resolve(d(h,m)));return m.setStatus({status:"success"}),g}catch(g){throw m.setStatus({status:"error",error:g}),g}finally{m.end()}}o(i,"withSpan");function a(u,A,...d){return fp().withContext(u,A,...d)}o(a,"withContext");function c(u){return fp().parseTraceparentHeader(u)}o(c,"parseTraceparentHeader");function l(u){return fp().createRequestHeaders(u)}return o(l,"createRequestHeaders"),{startSpan:n,withSpan:i,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o(gp,"createTracingClient");var to=Br;function uc(t){return nE(t)}o(uc,"isRestError");var XJ="tracingPolicy";function HN(t={}){let e=ME(t.userAgentPrefix),r=new Cn({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),s=gIe();return{name:XJ,async sendRequest(n,i){if(!s)return i(n);let a=await e,c={"http.url":r.sanitizeUrl(n.url),"http.method":n.method,"http.user_agent":a,requestId:n.requestId};a&&(c["http.user_agent"]=a);let{span:l,tracingContext:u}=EIe(s,n,c)??{};if(!l||!u)return i(n);try{let A=await s.withContext(u,i,n);return CIe(l,A),A}catch(A){throw yIe(l,A),A}}}}o(HN,"tracingPolicy");function gIe(){try{return gp({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:LE})}catch(t){ti.warning(`Error when creating the TracingClient: ${Zo(t)}`);return}}o(gIe,"tryCreateTracingClient");function EIe(t,e,r){try{let{span:s,updatedOptions:n}=t.startSpan(`HTTP ${e.method}`,{tracingOptions:e.tracingOptions},{spanKind:"client",spanAttributes:r});if(!s.isRecording()){s.end();return}let i=t.createRequestHeaders(n.tracingOptions.tracingContext);for(let[a,c]of Object.entries(i))e.headers.set(a,c);return{span:s,tracingContext:n.tracingOptions.tracingContext}}catch(s){ti.warning(`Skipping creating a tracing span due to an error: ${Zo(s)}`);return}}o(EIe,"tryCreateSpan");function yIe(t,e){try{t.setStatus({status:"error",error:VJ(e)?e:void 0}),uc(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){ti.warning(`Skipping tracing span processing due to an error: ${Zo(r)}`)}}o(yIe,"tryProcessError");function CIe(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){ti.warning(`Skipping tracing span processing due to an error: ${Zo(r)}`)}}o(CIe,"tryProcessResponse");function qE(t){if(t instanceof AbortSignal)return{abortSignal:t};if(t.aborted)return{abortSignal:AbortSignal.abort(t.reason)};let e=new AbortController,r=!0;function s(){r&&(t.removeEventListener("abort",n),r=!1)}o(s,"cleanup");function n(){e.abort(t.reason),s()}return o(n,"listener"),t.addEventListener("abort",n),{abortSignal:e.signal,cleanup:s}}o(qE,"wrapAbortSignalLike");var IIe="wrapAbortSignalLikePolicy";function ZJ(){return{name:IIe,sendRequest:o(async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:s}=qE(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{s?.()}},"sendRequest")}}o(ZJ,"wrapAbortSignalLikePolicy");function zN(t){let e=kE();return Qe&&(t.agent&&e.addPolicy(UN(t.agent)),t.tlsOptions&&e.addPolicy(qN(t.tlsOptions)),e.addPolicy(ON(t.proxyOptions)),e.addPolicy(_N())),e.addPolicy(ZJ()),e.addPolicy(MN(),{beforePolicies:[OE]}),e.addPolicy(RN(t.userAgentOptions)),e.addPolicy(FN(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(kN(),{afterPhase:"Deserialize"}),e.addPolicy(LN(t.retryOptions),{phase:"Retry"}),e.addPolicy(HN({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),Qe&&e.addPolicy(SN(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(xN(t.loggingOptions),{afterPhase:"Sign"}),e}o(zN,"createPipelineFromOptions");function Ep(){let t=cE();return{async sendRequest(e){let{abortSignal:r,cleanup:s}=e.abortSignal?qE(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{s?.()}}}}o(Ep,"createDefaultHttpClient");function ro(t){return As(t)}o(ro,"createHttpHeaders");function yp(t){return rE(t)}o(yp,"createPipelineRequest");var J8e=ei("core-rest-pipeline retryPolicy");var BIe={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function wIe(t,e,r){async function s(){if(Date.now()t.getToken(l,u),"tryGetAccessToken"),i.retryIntervalInMs,s?.expiresOnTimestamp??Date.now()).then(d=>(r=null,s=d,n=u.tenantId,s)).catch(d=>{throw r=null,s=null,n=void 0,d})),r}return o(c,"refresh"),async(l,u)=>{let A=!!u.claims,d=n!==u.tenantId;return A&&(s=null),d||A||a.mustRefresh?c(l,u):(a.shouldRefresh&&c(l,u),s)}}o(VN,"createTokenCycler");var s3="bearerTokenAuthenticationPolicy";async function GE(t,e){try{return[await e(t),void 0]}catch(r){if(uc(r)&&r.response)return[r.response,r];throw r}}o(GE,"trySendRequest");async function bIe(t){let{scopes:e,getAccessToken:r,request:s}=t,n={abortSignal:s.abortSignal,tracingOptions:s.tracingOptions,enableCae:!0},i=await r(e,n);i&&t.request.headers.set("Authorization",`Bearer ${i.token}`)}o(bIe,"defaultAuthorizeRequest");function e3(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(e3,"isChallengeResponse");async function t3(t,e){let{scopes:r}=t,s=await t.getAccessToken(r,{enableCae:!0,claims:e});return s?(t.request.headers.set("Authorization",`${s.tokenType??"Bearer"} ${s.token}`),!0):!1}o(t3,"authorizeRequestOnCaeChallenge");function fu(t){let{credential:e,scopes:r,challengeCallbacks:s}=t,n=t.logger||ti,i={authorizeRequest:s?.authorizeRequest?.bind(s)??bIe,authorizeRequestOnChallenge:s?.authorizeRequestOnChallenge?.bind(s)},a=e?VN(e):()=>Promise.resolve(null);return{name:s3,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 i.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:c,getAccessToken:a,logger:n});let u,A,d;if([u,A]=await GE(c,l),e3(u)){let p=r3(u.headers.get("WWW-Authenticate"));if(p){let m;try{m=atob(p)}catch{return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${p}`),u}d=await t3({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:n},m),d&&([u,A]=await GE(c,l))}else if(i.authorizeRequestOnChallenge&&(d=await i.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:c,response:u,getAccessToken:a,logger:n}),d&&([u,A]=await GE(c,l)),e3(u)&&(p=r3(u.headers.get("WWW-Authenticate")),p))){let m;try{m=atob(p)}catch{return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${p}`),u}d=await t3({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:n},m),d&&([u,A]=await GE(c,l))}}if(A)throw A;return u}}}o(fu,"bearerTokenAuthenticationPolicy");function QIe(t){let e=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,r=/(\w+)="([^"]*)"/g,s=[],n;for(;(n=e.exec(t))!==null;){let i=n[1],a=n[2],c={},l;for(;(l=r.exec(a))!==null;)c[l[1]]=l[2];s.push({scheme:i,params:c})}return s}o(QIe,"parseChallenges");function r3(t){return t?QIe(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(r3,"getCaeChallengeClaims");function hs(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(hs,"isTokenCredential");var $N="DisableKeepAlivePolicy";function n3(){return{name:$N,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(n3,"createDisableKeepAlivePolicy");function i3(t){return t.getOrderedPolicies().some(e=>e.name===$N)}o(i3,"pipelineContainsDisableKeepAlivePolicy");function YN(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(YN,"encodeByteArray");function JN(t){return Buffer.from(t,"base64")}o(JN,"decodeString");function NIe(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(NIe,"isPrimitiveBody");var SIe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function o3(t){return SIe.test(t)}o(o3,"isDuration");var RIe=/^[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 a3(t){return RIe.test(t)}o(a3,"isValidUuid");function TIe(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(TIe,"handleNullableResponseAndWrappableBody");function WN(t,e){let r=t.parsedHeaders;if(t.request.method==="HEAD")return{...r,body:t.parsedBody};let s=e&&e.bodyMapper,n=!!s?.nullable,i=s?.type.name;if(i==="Stream")return{...r,blobBody:t.blobBody,readableStreamBody:t.readableStreamBody};let a=i==="Composite"&&s.type.modelProperties||{},c=Object.keys(a).some(l=>a[l].serializedName==="");if(i==="Sequence"||c){let l=t.parsedBody??[];for(let u of Object.keys(a))a[u].serializedName&&(l[u]=t.parsedBody?.[u]);if(r)for(let u of Object.keys(r))l[u]=r[u];return n&&!t.parsedBody&&!r&&Object.getOwnPropertyNames(a).length===0?null:l}return TIe({body:t.parsedBody,headers:r,hasNullableType:n,shouldWrapBody:NIe(t.parsedBody,i)})}o(WN,"flattenResponse");var jN=class{static{o(this,"SerializerImpl")}modelMappers;isXML;constructor(e={},r=!1){this.modelMappers=e,this.isXML=r}validateConstraints(e,r,s){let n=o((i,a)=>{throw new Error(`"${s}" with value "${r}" should satisfy the constraint "${i}": ${a}.`)},"failValidation");if(e.constraints&&r!==void 0&&r!==null){let{ExclusiveMaximum:i,ExclusiveMinimum:a,InclusiveMaximum:c,InclusiveMinimum:l,MaxItems:u,MaxLength:A,MinItems:d,MinLength:p,MultipleOf:m,Pattern:h,UniqueItems:g}=e.constraints;if(i!==void 0&&r>=i&&n("ExclusiveMaximum",i),a!==void 0&&r<=a&&n("ExclusiveMinimum",a),c!==void 0&&r>c&&n("InclusiveMaximum",c),l!==void 0&&ru&&n("MaxItems",u),A!==void 0&&r.length>A&&n("MaxLength",A),d!==void 0&&r.lengthy.indexOf(C)!==E)&&n("UniqueItems",g)}}serialize(e,r,s,n={xml:{}}){let i={xml:{rootName:n.xml.rootName??"",includeRoot:n.xml.includeRoot??!1,xmlCharKey:n.xml.xmlCharKey??"_"}},a={},c=e.type.name;s||(s=e.serializedName),c.match(/^Sequence$/i)!==null&&(a=[]),e.isConstant&&(r=e.defaultValue);let{required:l,nullable:u}=e;if(l&&u&&r===void 0)throw new Error(`${s} cannot be undefined.`);if(l&&!u&&r==null)throw new Error(`${s} cannot be null or undefined.`);if(!l&&u===!1&&r===null)throw new Error(`${s} cannot be null.`);return r==null||c.match(/^any$/i)!==null?a=r:c.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null?a=LIe(c,s,r):c.match(/^Enum$/i)!==null?a=MIe(s,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=UIe(c,r,s):c.match(/^ByteArray$/i)!==null?a=OIe(s,r):c.match(/^Base64Url$/i)!==null?a=FIe(s,r):c.match(/^Sequence$/i)!==null?a=qIe(this,e,r,s,!!this.isXML,i):c.match(/^Dictionary$/i)!==null?a=GIe(this,e,r,s,!!this.isXML,i):c.match(/^Composite$/i)!==null&&(a=zIe(this,e,r,s,!!this.isXML,i)),a}deserialize(e,r,s,n={xml:{}}){let i={xml:{rootName:n.xml.rootName??"",includeRoot:n.xml.includeRoot??!1,xmlCharKey:n.xml.xmlCharKey??"_"},ignoreUnknownProperties:n.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(s||(s=e.serializedName),c.match(/^Composite$/i)!==null)a=$Ie(this,e,r,s,i);else{if(this.isXML){let l=i.xml.xmlCharKey;r["$"]!==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=_Ie(r):c.match(/^ByteArray$/i)!==null?a=JN(r):c.match(/^Base64Url$/i)!==null?a=kIe(r):c.match(/^Sequence$/i)!==null?a=JIe(this,e,r,s,i):c.match(/^Dictionary$/i)!==null&&(a=YIe(this,e,r,s,i))}return e.isConstant&&(a=e.defaultValue),a}};function fs(t={},e=!1){return new jN(t,e)}o(fs,"createSerializer");function vIe(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(vIe,"trimEnd");function PIe(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=YN(t);return vIe(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(PIe,"bufferToBase64Url");function kIe(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,"/"),JN(t)}}o(kIe,"base64UrlToByteArray");function KN(t){let e=[],r="";if(t){let s=t.split(".");for(let n of s)n.charAt(n.length-1)==="\\"?r+=n.substr(0,n.length-1)+".":(r+=n,e.push(r),r="")}return e}o(KN,"splitSerializeName");function DIe(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(DIe,"dateToUnixTime");function _Ie(t){if(t)return new Date(t*1e3)}o(_Ie,"unixTimeToDate");function LIe(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"&&a3(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 s=typeof r;if(s!=="string"&&typeof r.pipe!="function"&&typeof r.tee!="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob=="function"||typeof Blob=="object")&&r instanceof Blob)&&s!=="function")throw new Error(`${e} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}o(LIe,"serializeBasicTypes");function MIe(t,e,r){if(!e)throw new Error(`Please provide a set of allowedValues to validate ${t} as an Enum Type.`);if(!e.some(n=>typeof n.valueOf()=="string"?n.toLowerCase()===r.toLowerCase():n===r))throw new Error(`${r} is not a valid value for ${t}. The valid values are: ${JSON.stringify(e)}.`);return r}o(MIe,"serializeEnumType");function OIe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=YN(e)}return e}o(OIe,"serializeByteArrayType");function FIe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=PIe(e)}return e}o(FIe,"serializeBase64UrlType");function UIe(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=DIe(e)}else if(t.match(/^TimeSpan$/i)!==null&&!o3(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(UIe,"serializeDateTypes");function qIe(t,e,r,s,n,i){if(!Array.isArray(r))throw new Error(`${s} 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 ${s}.`);a.type.name==="Composite"&&a.type.className&&(a=t.modelMappers[a.type.className]??a);let c=[];for(let l=0;lp!==A)&&(a[A]=t.serialize(l,r[A],s+'["'+A+'"]',i))}return a}return r}o(zIe,"serializeCompositeType");function A3(t,e,r,s){if(!r||!t.xmlNamespace)return e;let i={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace};if(["Composite"].includes(t.type.name)){if(e["$"])return e;{let c={...e};return c["$"]=i,c}}let a={};return a[s.xml.xmlCharKey]=e,a["$"]=i,a}o(A3,"getXmlObjectValue");function VIe(t,e){return["$",e.xml.xmlCharKey].includes(t)}o(VIe,"isSpecialXmlProperty");function $Ie(t,e,r,s,n){let i=n.xml.xmlCharKey??"_";HE(t,e)&&(e=d3(t,e,r,"serializedName"));let a=u3(t,e,s),c={},l=[];for(let A of Object.keys(a)){let d=a[A],p=KN(a[A].serializedName);l.push(p[0]);let{serializedName:m,xmlName:h,xmlElementName:g}=d,C=s;m!==""&&m!==void 0&&(C=s+"."+m);let E=d.headerCollectionPrefix;if(E){let y={};for(let I of Object.keys(r))I.startsWith(E)&&(y[I.substring(E.length)]=t.deserialize(d.type.value,r[I],C,n)),l.push(I);c[A]=y}else if(t.isXML)if(d.xmlIsAttribute&&r["$"])c[A]=t.deserialize(d,r["$"][h],C,n);else if(d.xmlIsMsText)r[i]!==void 0?c[A]=r[i]:typeof r=="string"&&(c[A]=r);else{let y=g||h||m;if(d.xmlIsWrapped){let B=r[h]?.[g]??[];c[A]=t.deserialize(d,B,C,n),l.push(h)}else{let I=r[y];c[A]=t.deserialize(d,I,C,n),l.push(y)}}else{let y,I=r,B=0;for(let q of p){if(!I)break;B++,I=I[q]}I===null&&B{for(let p in a)if(KN(a[p].serializedName)[0]===d)return!1;return!0},"isAdditionalProperty");for(let d in r)A(d)&&(c[d]=t.deserialize(u,r[d],s+'["'+d+'"]',n))}else if(r&&!n.ignoreUnknownProperties)for(let A of Object.keys(r))c[A]===void 0&&!l.includes(A)&&!VIe(A,n)&&(c[A]=r[A]);return c}o($Ie,"deserializeCompositeType");function YIe(t,e,r,s,n){let i=e.type.value;if(!i||typeof i!="object")throw new Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${s}`);if(r){let a={};for(let c of Object.keys(r))a[c]=t.deserialize(i,r[c],s,n);return a}return r}o(YIe,"deserializeDictionaryType");function JIe(t,e,r,s,n){let i=e.type.element;if(!i||typeof i!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${s}`);if(r){Array.isArray(r)||(r=[r]),i.type.name==="Composite"&&i.type.className&&(i=t.modelMappers[i.type.className]??i);let a=[];for(let c=0;c0)if(n.isConstant)i=n.defaultValue;else{let a=h3(t,s);!a.propertyFound&&r&&(a=h3(r,s));let c=!1;a.propertyFound||(c=n.required||s[0]==="options"&&s.length===2),i=c?n.defaultValue:a.propertyValue}}else{n.required&&(i={});for(let a in s){let c=n.type.modelProperties[a],l=s[a],u=ra(t,{parameterPath:l,mapper:c},r);u!==void 0&&(i||(i={}),i[a]=u)}}return i}o(ra,"getOperationArgumentValueFromParameter");function h3(t,e){let r={propertyFound:!1},s=0;for(;s=200&&r.status<300);l.headersMapper&&(i.parsedHeaders=c.serializer.deserialize(l.headersMapper,i.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return i}o(tBe,"deserializeResponseBody");function rBe(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(rBe,"isOperationSpecEmpty");function sBe(t,e,r,s){let n=200<=t.status&&t.status<300;if(rBe(e)?n:!!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 to(c,{statusCode:t.status,request:t.request,response:t});if(!a&&!(t.parsedBody?.error?.code&&t.parsedBody?.error?.message))throw l;let u=a?.bodyMapper,A=a?.headersMapper;try{if(t.parsedBody){let d=t.parsedBody,p;if(u){let h=d;if(e.isXML&&u.type.name===ri.Sequence){h=[];let g=u.xmlElementName;typeof d=="object"&&g&&(h=d[g])}p=e.serializer.deserialize(u,h,"error.response.parsedBody",s)}let m=d.error||p||d;l.code=m.code,m.message&&(l.message=m.message),u&&(l.response.parsedBody=p)}t.headers&&A&&(l.response.parsedHeaders=e.serializer.deserialize(A,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(sBe,"handleErrorResponse");async function nBe(t,e,r,s,n){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let i=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(i),r;if(c.some(l=>e.indexOf(l)!==-1)){if(!n)throw new Error("Parsing XML not supported.");let l=await n(i,s.xml);return r.parsedBody=l,r}}catch(l){let u=`Error "${l}" occurred while parsing the response body - ${r.bodyAsText}.`,A=l.code||to.PARSE_ERROR;throw new to(u,{code:A,statusCode:r.status,request:r.request,response:r})}}return r}o(nBe,"parse");function E3(t){let e=new Set;for(let r in t.responses){let s=t.responses[r];s.bodyMapper&&s.bodyMapper.type.name===ri.Stream&&e.add(Number(r))}return e}o(E3,"getStreamingResponseStatusCodes");function si(t){let{parameterPath:e,mapper:r}=t,s;return typeof e=="string"?s=e:Array.isArray(e)?s=e.join("."):s=r.serializedName,s}o(si,"getPathStringFromParameter");var y3="serializationPolicy";function VE(t={}){let e=t.stringifyXML;return{name:y3,async sendRequest(r,s){let n=so(r),i=n?.operationSpec,a=n?.operationArguments;return i&&a&&(iBe(r,a,i),oBe(r,a,i,e)),s(r)}}}o(VE,"serializationPolicy");function iBe(t,e,r){if(r.headerParameters)for(let n of r.headerParameters){let i=ra(e,n);if(i!=null||n.mapper.required){i=r.serializer.serialize(n.mapper,i,si(n));let a=n.mapper.headerCollectionPrefix;if(a)for(let c of Object.keys(i))t.headers.set(a+c,i[c]);else t.headers.set(n.mapper.serializedName||si(n),i)}}let s=e.options?.requestOptions?.customHeaders;if(s)for(let n of Object.keys(s))t.headers.set(n,s[n])}o(iBe,"serializeHeaders");function oBe(t,e,r,s=function(){throw new Error("XML serialization unsupported!")}){let n=e.options?.serializerOptions,i={xml:{rootName:n?.xml.rootName??"",includeRoot:n?.xml.includeRoot??!1,xmlCharKey:n?.xml.xmlCharKey??"_"}},a=i.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=ra(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:u,xmlName:A,xmlElementName:d,xmlNamespace:p,xmlNamespacePrefix:m,nullable:h}=c,g=c.type.name;try{if(t.body!==void 0&&t.body!==null||h&&t.body===null||l){let C=si(r.requestBody);t.body=r.serializer.serialize(c,t.body,C,i);let E=g===ri.Stream;if(r.isXML){let y=m?`xmlns:${m}`:"xmlns",I=aBe(p,y,g,t.body,i);g===ri.Sequence?t.body=s(cBe(I,d||A||u,y,p),{rootName:A||u,xmlCharKey:a}):E||(t.body=s(I,{rootName:A||u,xmlCharKey:a}))}else{if(g===ri.String&&(r.contentType?.match("text/plain")||r.mediaType==="text"))return;E||(t.body=JSON.stringify(t.body))}}}catch(C){throw new Error(`Error "${C.message}" occurred in serializing the payload - ${JSON.stringify(u,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){t.formData={};for(let c of r.formDataParameters){let l=ra(e,c);if(l!=null){let u=c.mapper.serializedName||si(c);t.formData[u]=r.serializer.serialize(c.mapper,l,si(c),i)}}}}o(oBe,"serializeRequestBody");function aBe(t,e,r,s,n){if(t&&!["Composite","Sequence","Dictionary"].includes(r)){let i={};return i[n.xml.xmlCharKey]=s,i["$"]={[e]:t},i}return s}o(aBe,"getXmlValueWithNamespace");function cBe(t,e,r,s){if(Array.isArray(t)||(t=[t]),!r||!s)return{[e]:t};let n={[e]:t};return n["$"]={[r]:s},n}o(cBe,"prepareXMLRootList");function Cp(t={}){let e=zN(t??{});return t.credentialOptions&&e.addPolicy(fu({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(VE(t.serializationOptions),{phase:"Serialize"}),e.addPolicy(ZN(t.deserializationOptions),{phase:"Deserialize"}),e}o(Cp,"createClientPipeline");var eS;function C3(){return eS||(eS=Ep()),eS}o(C3,"getCachedDefaultHttpClient");var lBe={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function B3(t,e,r,s){let n=uBe(e,r,s),i=!1,a=I3(t,n);if(e.path){let u=I3(e.path,n);e.path==="/{nextLink}"&&u.startsWith("/")&&(u=u.substring(1)),ABe(u)?(a=u,i=!0):a=dBe(a,u)}let{queryParams:c,sequenceParams:l}=pBe(e,r,s);return a=hBe(a,c,l,i),a}o(B3,"getRequestUrl");function I3(t,e){let r=t;for(let[s,n]of e)r=r.split(s).join(n);return r}o(I3,"replaceAll");function uBe(t,e,r){let s=new Map;if(t.urlParameters?.length)for(let n of t.urlParameters){let i=ra(e,n,r),a=si(n);i=t.serializer.serialize(n.mapper,i,a),n.skipEncoding||(i=encodeURIComponent(i)),s.set(`{${n.mapper.serializedName||a}}`,i)}return s}o(uBe,"calculateUrlReplacements");function ABe(t){return t.includes("://")}o(ABe,"isAbsoluteUrl");function dBe(t,e){if(!e)return t;let r=new URL(t),s=r.pathname;s.endsWith("/")||(s=`${s}/`),e.startsWith("/")&&(e=e.substring(1));let n=e.indexOf("?");if(n!==-1){let i=e.substring(0,n),a=e.substring(n+1);s=s+i,a&&(r.search=r.search?`${r.search}&${a}`:a)}else s=s+e;return r.pathname=s,r.toString()}o(dBe,"appendPath");function pBe(t,e,r){let s=new Map,n=new Set;if(t.queryParameters?.length)for(let i of t.queryParameters){i.mapper.type.name==="Sequence"&&i.mapper.serializedName&&n.add(i.mapper.serializedName);let a=ra(e,i,r);if(a!=null||i.mapper.required){a=t.serializer.serialize(i.mapper,a,si(i));let c=i.collectionFormat?lBe[i.collectionFormat]:"";if(Array.isArray(a)&&(a=a.map(l=>l??"")),i.collectionFormat==="Multi"&&a.length===0)continue;Array.isArray(a)&&(i.collectionFormat==="SSV"||i.collectionFormat==="TSV")&&(a=a.join(c)),i.skipEncoding||(Array.isArray(a)?a=a.map(l=>encodeURIComponent(l)):a=encodeURIComponent(a)),Array.isArray(a)&&(i.collectionFormat==="CSV"||i.collectionFormat==="Pipes")&&(a=a.join(c)),s.set(i.mapper.serializedName||si(i),a)}}return{queryParams:s,sequenceParams:n}}o(pBe,"calculateQueryParameters");function mBe(t){let e=new Map;if(!t||t[0]!=="?")return e;t=t.slice(1);let r=t.split("&");for(let s of r){let[n,i]=s.split("=",2),a=e.get(n);a?Array.isArray(a)?a.push(i):e.set(n,[a,i]):e.set(n,i)}return e}o(mBe,"simpleParseQueryParams");function hBe(t,e,r,s=!1){if(e.size===0)return t;let n=new URL(t),i=mBe(n.search);for(let[c,l]of e){let u=i.get(c);if(Array.isArray(u))if(Array.isArray(l)){u.push(...l);let A=new Set(u);i.set(c,Array.from(A))}else u.push(l);else u?(Array.isArray(l)?l.unshift(u):r.has(c)&&i.set(c,[u,l]),s||i.set(c,l)):i.set(c,l)}let a=[];for(let[c,l]of i)if(typeof l=="string")a.push(`${c}=${l}`);else if(Array.isArray(l))for(let u of l)a.push(`${c}=${u}`);else a.push(`${c}=${l}`);return n.search=a.length?`?${a.join("&")}`:"",n.toString()}o(hBe,"appendQueryParams");var tS=ei("core-client");var Ip=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&&tS.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||C3(),this.pipeline=e.pipeline||fBe(e),e.additionalPolicies?.length)for(let{policy:r,position:s}of e.additionalPolicies){let n=s==="perRetry"?"Sign":void 0;this.pipeline.addPolicy(r,{afterPhase:n})}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,r){let s=r.baseUrl||this._endpoint;if(!s)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 n=B3(s,r,e,this),i=yp({url:n});i.method=r.httpMethod;let a=so(i);a.operationSpec=r,a.operationArguments=e;let c=r.contentType||this._requestContentType;c&&r.requestBody&&i.headers.set("Content-Type",c);let l=e.options;if(l){let u=l.requestOptions;u&&(u.timeout&&(i.timeout=u.timeout),u.onUploadProgress&&(i.onUploadProgress=u.onUploadProgress),u.onDownloadProgress&&(i.onDownloadProgress=u.onDownloadProgress),u.shouldDeserialize!==void 0&&(a.shouldDeserialize=u.shouldDeserialize),u.allowInsecureConnection&&(i.allowInsecureConnection=!0)),l.abortSignal&&(i.abortSignal=l.abortSignal),l.tracingOptions&&(i.tracingOptions=l.tracingOptions)}this._allowInsecureConnection&&(i.allowInsecureConnection=!0),i.streamResponseStatusCodes===void 0&&(i.streamResponseStatusCodes=E3(r));try{let u=await this.sendRequest(i),A=WN(u,r.responses[u.status]);return l?.onResponse&&l.onResponse(u,A),A}catch(u){if(typeof u=="object"&&u?.response){let A=u.response,d=WN(A,r.responses[u.statusCode]||r.responses.default);u.details=d,l?.onResponse&&l.onResponse(A,d,u)}throw u}}};function fBe(t){let e=gBe(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return Cp({...t,credentialOptions:r})}o(fBe,"createDefaultPipeline");function gBe(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(gBe,"getCredentialScopes");var w3={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function EBe(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(EBe,"isUuid");var $E=o(async t=>{let e=wBe(t.request),r=IBe(t.response);if(r){let s=BBe(r),n=CBe(t,s),i=yBe(s);if(!i)return!1;let a=await t.getAccessToken(n,{...e,tenantId:i});return a?(t.request.headers.set(w3.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");function yBe(t){let s=new URL(t.authorization_uri).pathname.split("/")[1];if(s&&EBe(s))return s}o(yBe,"extractTenantId");function CBe(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=w3.DefaultScope;let s=r.toString();return s==="https://disk.azure.com/.default"&&(s="https://disk.azure.com//.default"),[s]}o(CBe,"buildScopes");function IBe(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(IBe,"getChallenge");function BBe(t){return`${t.slice(7).trim()} `.split(" ").filter(n=>n).map(n=>(([i,a])=>({[i]:a}))(n.trim().split("="))).reduce((n,i)=>({...n,...i}),{})}o(BBe,"parseChallenge");function wBe(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(wBe,"requestToOptions");var b3=Symbol("Original PipelineRequest"),bBe=Symbol.for("@azure/core-client original request");function wp(t,e={}){let s=t[b3],n=ro(t.headers.toJson({preserveCase:!0}));if(s)return s.headers=n,s;{let i=yp({url:t.url,method:t.method,headers:n,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&&(i[bBe]=e.originalRequest),i}}o(wp,"toPipelineRequest");function Ac(t,e){let r=e?.originalRequest??t,s={url:t.url,method:t.method,headers:bp(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(s,{get(n,i,a){return i===b3?t:i==="clone"?()=>Ac(wp(s,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(n,i,a)},set(n,i,a,c){return i==="keepAlive"&&(t.disableKeepAlive=!a),typeof i=="string"&&["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"].includes(i)&&(t[i]=a),Reflect.set(n,i,a,c)}}):s}o(Ac,"toWebResourceLike");function bp(t){return new rS(t.toJSON({preserveCase:!0}))}o(bp,"toHttpHeadersLike");function Bp(t){return t.toLowerCase()}o(Bp,"getHeaderKey");var rS=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[Bp(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[Bp(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[Bp(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[Bp(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 s=0;s{let r=await t.sendRequest(Ac(e,{createProxy:!0}));return JE(r)},"sendRequest")}}o(iS,"convertHttpClient");var N3=":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",NBe=N3+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",SBe="["+N3+"]["+NBe+"]*",RBe=new RegExp("^"+SBe+"$");function WE(t,e){let r=[],s=e.exec(t);for(;s;){let n=[];n.startIndex=e.lastIndex-s[0].length;let i=s.length;for(let a=0;a"u")},"isName");function S3(t){return typeof t<"u"}o(S3,"isExist");var xp=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],jE=["__proto__","constructor","prototype"];var TBe={allowBooleanAttributes:!1,unpairedTags:[]};function KE(t,e){e=Object.assign({},TBe,e);let r=[],s=!1,n=!1;t[0]==="\uFEFF"&&(t=t.substr(1));for(let i=0;i"&&t[i]!==" "&&t[i]!==" "&&t[i]!==` `&&t[i]!=="\r";i++)l+=t[i];if(l=l.trim(),l[l.length-1]==="/"&&(l=l.substring(0,l.length-1),i--),!OBe(l)){let d;return l.trim().length===0?d="Invalid space after '<'.":d="Tag '"+l+"' is an invalid name.",yt("InvalidTag",d,wr(t,i))}let u=kBe(t,i);if(u===!1)return yt("InvalidAttr","Attributes for '"+l+"' have open quote.",wr(t,i));let A=u.value;if(i=u.index,A[A.length-1]==="/"){let d=i-A.length;A=A.substring(0,A.length-1);let p=P3(A,e);if(p===!0)s=!0;else return yt(p.err.code,p.err.msg,wr(t,d+p.err.line))}else if(c)if(u.tagClosed){if(A.trim().length>0)return yt("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",wr(t,a));if(r.length===0)return yt("InvalidTag","Closing tag '"+l+"' has not been opened.",wr(t,a));{let d=r.pop();if(l!==d.tagName){let p=wr(t,d.tagStartPos);return yt("InvalidTag","Expected closing tag '"+d.tagName+"' (opened in line "+p.line+", col "+p.col+") instead of closing tag '"+l+"'.",wr(t,a))}r.length==0&&(n=!0)}}else return yt("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",wr(t,i));else{let d=P3(A,e);if(d!==!0)return yt(d.err.code,d.err.msg,wr(t,i-A.length+d.err.line));if(n===!0)return yt("InvalidXml","Multiple possible root nodes found.",wr(t,i));e.unpairedTags.indexOf(l)!==-1||r.push({tagName:l,tagStartPos:a}),s=!0}for(i++;i0)return yt("InvalidXml","Invalid '"+JSON.stringify(r.map(i=>i.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return yt("InvalidXml","Start tag expected.",1);return!0}o(KE,"validate");function R3(t){return t===" "||t===" "||t===` `||t==="\r"}o(R3,"isWhiteSpace");function T3(t,e){let r=e;for(;e5&&s==="xml")return yt("InvalidXml","XML declaration allowed only at the start of the document.",wr(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}o(T3,"readPI");function v3(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e"){e+=2;break}}else if(t.length>e+8&&t[e+1]==="D"&&t[e+2]==="O"&&t[e+3]==="C"&&t[e+4]==="T"&&t[e+5]==="Y"&&t[e+6]==="P"&&t[e+7]==="E"){let r=1;for(e+=8;e"&&(r--,r===0))break}else if(t.length>e+9&&t[e+1]==="["&&t[e+2]==="C"&&t[e+3]==="D"&&t[e+4]==="A"&&t[e+5]==="T"&&t[e+6]==="A"&&t[e+7]==="["){for(e+=8;e"){e+=2;break}}return e}o(v3,"readCommentAndCDATA");var vBe='"',PBe="'";function kBe(t,e){let r="",s="",n=!1;for(;e"&&s===""){n=!0;break}r+=t[e]}return s!==""?!1:{value:r,index:e,tagClosed:n}}o(kBe,"readAttributeStr");var DBe=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function P3(t,e){let r=WE(t,DBe),s={};for(let n=0;n",GT:">",quot:'"',QUOT:'"',apos:"'",lsquo:"\u2018",rsquo:"\u2019",ldquo:"\u201C",rdquo:"\u201D",lsquor:"\u201A",rsquor:"\u2019",ldquor:"\u201E",bdquo:"\u201E",comma:",",period:".",colon:":",semi:";",excl:"!",quest:"?",num:"#",dollar:"$",percent:"%",amp:"&",ast:"*",commat:"@",lowbar:"_",verbar:"|",vert:"|",sol:"/",bsol:"\\",lbrace:"{",rbrace:"}",lbrack:"[",rbrack:"]",lpar:"(",rpar:")",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",COPY:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",REG:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",half:"\xBD",frac34:"\xBE",iquest:"\xBF",times:"\xD7",div:"\xF7",divide:"\xF7"},D3={Agrave:"\xC0",agrave:"\xE0",Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",Aring:"\xC5",aring:"\xE5",AElig:"\xC6",aelig:"\xE6",Ccedil:"\xC7",ccedil:"\xE7",Egrave:"\xC8",egrave:"\xE8",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Euml:"\xCB",euml:"\xEB",Igrave:"\xCC",igrave:"\xEC",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",Iuml:"\xCF",iuml:"\xEF",ETH:"\xD0",eth:"\xF0",Ntilde:"\xD1",ntilde:"\xF1",Ograve:"\xD2",ograve:"\xF2",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",Oslash:"\xD8",oslash:"\xF8",Ugrave:"\xD9",ugrave:"\xF9",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",THORN:"\xDE",thorn:"\xFE",szlig:"\xDF",yuml:"\xFF",Yuml:"\u0178"},_3={Amacr:"\u0100",amacr:"\u0101",Abreve:"\u0102",abreve:"\u0103",Aogon:"\u0104",aogon:"\u0105",Cacute:"\u0106",cacute:"\u0107",Ccirc:"\u0108",ccirc:"\u0109",Cdot:"\u010A",cdot:"\u010B",Ccaron:"\u010C",ccaron:"\u010D",Dcaron:"\u010E",dcaron:"\u010F",Dstrok:"\u0110",dstrok:"\u0111",Emacr:"\u0112",emacr:"\u0113",Ecaron:"\u011A",ecaron:"\u011B",Edot:"\u0116",edot:"\u0117",Eogon:"\u0118",eogon:"\u0119",Gcirc:"\u011C",gcirc:"\u011D",Gbreve:"\u011E",gbreve:"\u011F",Gdot:"\u0120",gdot:"\u0121",Gcedil:"\u0122",Hcirc:"\u0124",hcirc:"\u0125",Hstrok:"\u0126",hstrok:"\u0127",Itilde:"\u0128",itilde:"\u0129",Imacr:"\u012A",imacr:"\u012B",Iogon:"\u012E",iogon:"\u012F",Idot:"\u0130",IJlig:"\u0132",ijlig:"\u0133",Jcirc:"\u0134",jcirc:"\u0135",Kcedil:"\u0136",kcedil:"\u0137",kgreen:"\u0138",Lacute:"\u0139",lacute:"\u013A",Lcedil:"\u013B",lcedil:"\u013C",Lcaron:"\u013D",lcaron:"\u013E",Lmidot:"\u013F",lmidot:"\u0140",Lstrok:"\u0141",lstrok:"\u0142",Nacute:"\u0143",nacute:"\u0144",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ENG:"\u014A",eng:"\u014B",Omacr:"\u014C",omacr:"\u014D",Odblac:"\u0150",odblac:"\u0151",OElig:"\u0152",oelig:"\u0153",Racute:"\u0154",racute:"\u0155",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",Sacute:"\u015A",sacute:"\u015B",Scirc:"\u015C",scirc:"\u015D",Scedil:"\u015E",scedil:"\u015F",Scaron:"\u0160",scaron:"\u0161",Tcedil:"\u0162",tcedil:"\u0163",Tcaron:"\u0164",tcaron:"\u0165",Tstrok:"\u0166",tstrok:"\u0167",Utilde:"\u0168",utilde:"\u0169",Umacr:"\u016A",umacr:"\u016B",Ubreve:"\u016C",ubreve:"\u016D",Uring:"\u016E",uring:"\u016F",Udblac:"\u0170",udblac:"\u0171",Uogon:"\u0172",uogon:"\u0173",Wcirc:"\u0174",wcirc:"\u0175",Ycirc:"\u0176",ycirc:"\u0177",Zacute:"\u0179",zacute:"\u017A",Zdot:"\u017B",zdot:"\u017C",Zcaron:"\u017D",zcaron:"\u017E"},L3={Alpha:"\u0391",alpha:"\u03B1",Beta:"\u0392",beta:"\u03B2",Gamma:"\u0393",gamma:"\u03B3",Delta:"\u0394",delta:"\u03B4",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",varepsilon:"\u03F5",Zeta:"\u0396",zeta:"\u03B6",Eta:"\u0397",eta:"\u03B7",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",vartheta:"\u03D1",Iota:"\u0399",iota:"\u03B9",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",varkappa:"\u03F0",Lambda:"\u039B",lambda:"\u03BB",Mu:"\u039C",mu:"\u03BC",Nu:"\u039D",nu:"\u03BD",Xi:"\u039E",xi:"\u03BE",Omicron:"\u039F",omicron:"\u03BF",Pi:"\u03A0",pi:"\u03C0",piv:"\u03D6",varpi:"\u03D6",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",varrho:"\u03F1",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",varsigma:"\u03C2",Tau:"\u03A4",tau:"\u03C4",Upsilon:"\u03A5",upsilon:"\u03C5",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",varphi:"\u03D5",Chi:"\u03A7",chi:"\u03C7",Psi:"\u03A8",psi:"\u03C8",Omega:"\u03A9",omega:"\u03C9",ohm:"\u03A9",Gammad:"\u03DC",gammad:"\u03DD",digamma:"\u03DD"},M3={Afr:"\u{1D504}",afr:"\u{1D51E}",Acy:"\u0410",acy:"\u0430",Bcy:"\u0411",bcy:"\u0431",Vcy:"\u0412",vcy:"\u0432",Gcy:"\u0413",gcy:"\u0433",Dcy:"\u0414",dcy:"\u0434",IEcy:"\u0415",iecy:"\u0435",IOcy:"\u0401",iocy:"\u0451",ZHcy:"\u0416",zhcy:"\u0436",Zcy:"\u0417",zcy:"\u0437",Icy:"\u0418",icy:"\u0438",Jcy:"\u0419",jcy:"\u0439",Kcy:"\u041A",kcy:"\u043A",Lcy:"\u041B",lcy:"\u043B",Mcy:"\u041C",mcy:"\u043C",Ncy:"\u041D",ncy:"\u043D",Ocy:"\u041E",ocy:"\u043E",Pcy:"\u041F",pcy:"\u043F",Rcy:"\u0420",rcy:"\u0440",Scy:"\u0421",scy:"\u0441",Tcy:"\u0422",tcy:"\u0442",Ucy:"\u0423",ucy:"\u0443",Fcy:"\u0424",fcy:"\u0444",KHcy:"\u0425",khcy:"\u0445",TScy:"\u0426",tscy:"\u0446",CHcy:"\u0427",chcy:"\u0447",SHcy:"\u0428",shcy:"\u0448",SHCHcy:"\u0429",shchcy:"\u0449",HARDcy:"\u042A",hardcy:"\u044A",Ycy:"\u042B",ycy:"\u044B",SOFTcy:"\u042C",softcy:"\u044C",Ecy:"\u042D",ecy:"\u044D",YUcy:"\u042E",yucy:"\u044E",YAcy:"\u042F",yacy:"\u044F",DJcy:"\u0402",djcy:"\u0452",GJcy:"\u0403",gjcy:"\u0453",Jukcy:"\u0404",jukcy:"\u0454",DScy:"\u0405",dscy:"\u0455",Iukcy:"\u0406",iukcy:"\u0456",YIcy:"\u0407",yicy:"\u0457",Jsercy:"\u0408",jsercy:"\u0458",LJcy:"\u0409",ljcy:"\u0459",NJcy:"\u040A",njcy:"\u045A",TSHcy:"\u040B",tshcy:"\u045B",KJcy:"\u040C",kjcy:"\u045C",Ubrcy:"\u040E",ubrcy:"\u045E",DZcy:"\u040F",dzcy:"\u045F"},O3={plus:"+",minus:"\u2212",mnplus:"\u2213",mp:"\u2213",pm:"\xB1",times:"\xD7",div:"\xF7",divide:"\xF7",sdot:"\u22C5",star:"\u2606",starf:"\u2605",bigstar:"\u2605",lowast:"\u2217",ast:"*",midast:"*",compfn:"\u2218",smallcircle:"\u2218",bullet:"\u2022",bull:"\u2022",nbsp:"\xA0",hellip:"\u2026",mldr:"\u2026",prime:"\u2032",Prime:"\u2033",tprime:"\u2034",bprime:"\u2035",backprime:"\u2035",minus:"\u2212",minusd:"\u2238",dotminus:"\u2238",plusdo:"\u2214",dotplus:"\u2214",plusmn:"\xB1",minusplus:"\u2213",mnplus:"\u2213",mp:"\u2213",setminus:"\u2216",smallsetminus:"\u2216",Backslash:"\u2216",setmn:"\u2216",ssetmn:"\u2216",lowbar:"_",verbar:"|",vert:"|",VerticalLine:"|",colon:":",Colon:"\u2237",Proportion:"\u2237",ratio:"\u2236",equals:"=",ne:"\u2260",nequiv:"\u2262",equiv:"\u2261",Congruent:"\u2261",sim:"\u223C",thicksim:"\u223C",thksim:"\u223C",sime:"\u2243",simeq:"\u2243",TildeEqual:"\u2243",asymp:"\u2248",approx:"\u2248",thickapprox:"\u2248",thkap:"\u2248",TildeTilde:"\u2248",ncong:"\u2247",cong:"\u2245",TildeFullEqual:"\u2245",asympeq:"\u224D",CupCap:"\u224D",bump:"\u224E",Bumpeq:"\u224E",HumpDownHump:"\u224E",bumpe:"\u224F",bumpeq:"\u224F",HumpEqual:"\u224F",dotminus:"\u2238",minusd:"\u2238",plusdo:"\u2214",dotplus:"\u2214",le:"\u2264",LessEqual:"\u2264",ge:"\u2265",GreaterEqual:"\u2265",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",greater:">",less:"<"},F3={alefsym:"\u2135",aleph:"\u2135",beth:"\u2136",gimel:"\u2137",daleth:"\u2138",forall:"\u2200",ForAll:"\u2200",part:"\u2202",PartialD:"\u2202",exist:"\u2203",Exists:"\u2203",nexist:"\u2204",nexists:"\u2204",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",varnothing:"\u2205",nabla:"\u2207",Del:"\u2207",isin:"\u2208",isinv:"\u2208",in:"\u2208",Element:"\u2208",notin:"\u2209",notinva:"\u2209",ni:"\u220B",niv:"\u220B",SuchThat:"\u220B",ReverseElement:"\u220B",notni:"\u220C",notniva:"\u220C",prod:"\u220F",Product:"\u220F",coprod:"\u2210",Coproduct:"\u2210",sum:"\u2211",Sum:"\u2211",minus:"\u2212",mp:"\u2213",plusdo:"\u2214",dotplus:"\u2214",setminus:"\u2216",lowast:"\u2217",radic:"\u221A",Sqrt:"\u221A",prop:"\u221D",propto:"\u221D",Proportional:"\u221D",varpropto:"\u221D",infin:"\u221E",infintie:"\u29DD",ang:"\u2220",angle:"\u2220",angmsd:"\u2221",measuredangle:"\u2221",angsph:"\u2222",mid:"\u2223",VerticalBar:"\u2223",nmid:"\u2224",nsmid:"\u2224",npar:"\u2226",parallel:"\u2225",spar:"\u2225",nparallel:"\u2226",nspar:"\u2226",and:"\u2227",wedge:"\u2227",or:"\u2228",vee:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",Integral:"\u222B",conint:"\u222E",ContourIntegral:"\u222E",Conint:"\u222F",DoubleContourIntegral:"\u222F",Cconint:"\u2230",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",becaus:"\u2235",because:"\u2235",Because:"\u2235",ratio:"\u2236",Proportion:"\u2237",minusd:"\u2238",dotminus:"\u2238",mDDot:"\u223A",homtht:"\u223B",sim:"\u223C",bsimg:"\u223D",backsim:"\u223D",ac:"\u223E",mstpos:"\u223E",acd:"\u223F",VerticalTilde:"\u2240",wr:"\u2240",wreath:"\u2240",nsime:"\u2244",nsimeq:"\u2244",nsimeq:"\u2244",ncong:"\u2247",simne:"\u2246",ncongdot:"\u2A6D\u0338",ngsim:"\u2275",nsim:"\u2241",napprox:"\u2249",nap:"\u2249",ngeq:"\u2271",nge:"\u2271",nleq:"\u2270",nle:"\u2270",ngtr:"\u226F",ngt:"\u226F",nless:"\u226E",nlt:"\u226E",nprec:"\u2280",npr:"\u2280",nsucc:"\u2281",nsc:"\u2281"},U3={larr:"\u2190",leftarrow:"\u2190",LeftArrow:"\u2190",uarr:"\u2191",uparrow:"\u2191",UpArrow:"\u2191",rarr:"\u2192",rightarrow:"\u2192",RightArrow:"\u2192",darr:"\u2193",downarrow:"\u2193",DownArrow:"\u2193",harr:"\u2194",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",varr:"\u2195",updownarrow:"\u2195",UpDownArrow:"\u2195",nwarr:"\u2196",nwarrow:"\u2196",UpperLeftArrow:"\u2196",nearr:"\u2197",nearrow:"\u2197",UpperRightArrow:"\u2197",searr:"\u2198",searrow:"\u2198",LowerRightArrow:"\u2198",swarr:"\u2199",swarrow:"\u2199",LowerLeftArrow:"\u2199",lArr:"\u21D0",Leftarrow:"\u21D0",uArr:"\u21D1",Uparrow:"\u21D1",rArr:"\u21D2",Rightarrow:"\u21D2",dArr:"\u21D3",Downarrow:"\u21D3",hArr:"\u21D4",Leftrightarrow:"\u21D4",iff:"\u21D4",vArr:"\u21D5",Updownarrow:"\u21D5",lAarr:"\u21DA",Lleftarrow:"\u21DA",rAarr:"\u21DB",Rrightarrow:"\u21DB",lrarr:"\u21C6",leftrightarrows:"\u21C6",rlarr:"\u21C4",rightleftarrows:"\u21C4",lrhar:"\u21CB",leftrightharpoons:"\u21CB",ReverseEquilibrium:"\u21CB",rlhar:"\u21CC",rightleftharpoons:"\u21CC",Equilibrium:"\u21CC",udarr:"\u21C5",UpArrowDownArrow:"\u21C5",duarr:"\u21F5",DownArrowUpArrow:"\u21F5",llarr:"\u21C7",leftleftarrows:"\u21C7",rrarr:"\u21C9",rightrightarrows:"\u21C9",ddarr:"\u21CA",downdownarrows:"\u21CA",har:"\u21BD",lhard:"\u21BD",leftharpoondown:"\u21BD",lharu:"\u21BC",leftharpoonup:"\u21BC",rhard:"\u21C1",rightharpoondown:"\u21C1",rharu:"\u21C0",rightharpoonup:"\u21C0",lsh:"\u21B0",Lsh:"\u21B0",rsh:"\u21B1",Rsh:"\u21B1",ldsh:"\u21B2",rdsh:"\u21B3",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",mapstoleft:"\u21A4",mapstoup:"\u21A5",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",crarr:"\u21B5",nwarrow:"\u2196",nearrow:"\u2197",searrow:"\u2198",swarrow:"\u2199",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nrightarrow:"\u219B",nrarr:"\u219B",larrtl:"\u21A2",rarrtl:"\u21A3",leftarrowtail:"\u21A2",rightarrowtail:"\u21A3",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Larr:"\u219E",Rarr:"\u21A0",larrhk:"\u21A9",rarrhk:"\u21AA",larrlp:"\u21AB",looparrowleft:"\u21AB",rarrlp:"\u21AC",looparrowright:"\u21AC",harrw:"\u21AD",leftrightsquigarrow:"\u21AD",nrarrw:"\u219D\u0338",rarrw:"\u219D",rightsquigarrow:"\u219D",larrbfs:"\u291F",rarrbfs:"\u2920",nvHarr:"\u2904",nvlArr:"\u2902",nvrArr:"\u2903",larrfs:"\u291D",rarrfs:"\u291E",Map:"\u2905",larrsim:"\u2973",rarrsim:"\u2974",harrcir:"\u2948",Uarrocir:"\u2949",lurdshar:"\u294A",ldrdhar:"\u2967",ldrushar:"\u294B",rdldhar:"\u2969",lrhard:"\u296D",rlhar:"\u21CC",uharr:"\u21BE",uharl:"\u21BF",dharr:"\u21C2",dharl:"\u21C3",Uarr:"\u219F",Darr:"\u21A1",zigrarr:"\u21DD",nwArr:"\u21D6",neArr:"\u21D7",seArr:"\u21D8",swArr:"\u21D9",nharr:"\u21AE",nhArr:"\u21CE",nlarr:"\u219A",nlArr:"\u21CD",nrarr:"\u219B",nrArr:"\u21CF",larrb:"\u21E4",LeftArrowBar:"\u21E4",rarrb:"\u21E5",RightArrowBar:"\u21E5"},q3={square:"\u25A1",Square:"\u25A1",squ:"\u25A1",squf:"\u25AA",squarf:"\u25AA",blacksquar:"\u25AA",blacksquare:"\u25AA",FilledVerySmallSquare:"\u25AA",blk34:"\u2593",blk12:"\u2592",blk14:"\u2591",block:"\u2588",srect:"\u25AD",rect:"\u25AD",sdot:"\u22C5",sdotb:"\u22A1",dotsquare:"\u22A1",triangle:"\u25B5",tri:"\u25B5",trine:"\u25B5",utri:"\u25B5",triangledown:"\u25BF",dtri:"\u25BF",tridown:"\u25BF",triangleleft:"\u25C3",ltri:"\u25C3",triangleright:"\u25B9",rtri:"\u25B9",blacktriangle:"\u25B4",utrif:"\u25B4",blacktriangledown:"\u25BE",dtrif:"\u25BE",blacktriangleleft:"\u25C2",ltrif:"\u25C2",blacktriangleright:"\u25B8",rtrif:"\u25B8",loz:"\u25CA",lozenge:"\u25CA",blacklozenge:"\u29EB",lozf:"\u29EB",bigcirc:"\u25EF",xcirc:"\u25EF",circ:"\u02C6",Circle:"\u25CB",cir:"\u25CB",o:"\u25CB",bullet:"\u2022",bull:"\u2022",hellip:"\u2026",mldr:"\u2026",nldr:"\u2025",boxh:"\u2500",HorizontalLine:"\u2500",boxv:"\u2502",boxdr:"\u250C",boxdl:"\u2510",boxur:"\u2514",boxul:"\u2518",boxvr:"\u251C",boxvl:"\u2524",boxhd:"\u252C",boxhu:"\u2534",boxvh:"\u253C",boxH:"\u2550",boxV:"\u2551",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxDl:"\u2555",boxdL:"\u2556",boxDL:"\u2557",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxUl:"\u255C",boxuL:"\u255B",boxUL:"\u255D",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",boxVl:"\u2562",boxvL:"\u2561",boxVL:"\u2563",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C"},G3={excl:"!",iexcl:"\xA1",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",nbsp:"\xA0",comma:",",period:".",colon:":",semi:";",vert:"|",Verbar:"\u2016",verbar:"|",dblac:"\u02DD",circ:"\u02C6",caron:"\u02C7",breve:"\u02D8",dot:"\u02D9",ring:"\u02DA",ogon:"\u02DB",tilde:"\u02DC",DiacriticalGrave:"`",DiacriticalAcute:"\xB4",DiacriticalTilde:"\u02DC",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",grave:"`",acute:"\xB4"},XE={cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",euro:"\u20AC",dollar:"$",euro:"\u20AC",fnof:"\u0192",inr:"\u20B9",af:"\u060B",birr:"\u1265\u122D",peso:"\u20B1",rub:"\u20BD",won:"\u20A9",yuan:"\xA5",cedil:"\xB8"},H3={frac12:"\xBD",half:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044"},z3={trade:"\u2122",TRADE:"\u2122",telrec:"\u2315",target:"\u2316",ulcorn:"\u231C",ulcorner:"\u231C",urcorn:"\u231D",urcorner:"\u231D",dlcorn:"\u231E",llcorner:"\u231E",drcorn:"\u231F",lrcorner:"\u231F",intercal:"\u22BA",intcal:"\u22BA",oplus:"\u2295",CirclePlus:"\u2295",ominus:"\u2296",CircleMinus:"\u2296",otimes:"\u2297",CircleTimes:"\u2297",osol:"\u2298",odot:"\u2299",CircleDot:"\u2299",oast:"\u229B",circledast:"\u229B",odash:"\u229D",circleddash:"\u229D",ocirc:"\u229A",circledcirc:"\u229A",boxplus:"\u229E",plusb:"\u229E",boxminus:"\u229F",minusb:"\u229F",boxtimes:"\u22A0",timesb:"\u22A0",boxdot:"\u22A1",sdotb:"\u22A1",veebar:"\u22BB",vee:"\u2228",barvee:"\u22BD",and:"\u2227",wedge:"\u2227",Cap:"\u22D2",Cup:"\u22D3",Fork:"\u22D4",pitchfork:"\u22D4",epar:"\u22D5",ltlarr:"\u2976",nvap:"\u224D\u20D2",nvsim:"\u223C\u20D2",nvge:"\u2265\u20D2",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvgt:">\u20D2",nvltrie:"\u22B4\u20D2",nvrtrie:"\u22B5\u20D2",Vdash:"\u22A9",dashv:"\u22A3",vDash:"\u22A8",Vdash:"\u22A9",Vvdash:"\u22AA",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF"},FBe={...k3,...D3,..._3,...L3,...M3,...O3,...F3,...U3,...q3,...G3,...XE,...H3,...z3},Sp={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},oS={nbsp:"\xA0",copy:"\xA9",reg:"\xAE",trade:"\u2122",mdash:"\u2014",ndash:"\u2013",hellip:"\u2026",laquo:"\xAB",raquo:"\xBB",lsquo:"\u2018",rsquo:"\u2019",ldquo:"\u201C",rdquo:"\u201D",bull:"\u2022",para:"\xB6",sect:"\xA7",deg:"\xB0",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE"};var UBe=new Set("!?\\\\/[]$%{}^&*()<>|+");function V3(t){if(t[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${t}"`);for(let e of t)if(UBe.has(e))throw new Error(`[EntityReplacer] Invalid character '${e}' in entity name: "${t}"`);return t}o(V3,"validateEntityName");function aS(...t){let e=Object.create(null);for(let r of t)if(r)for(let s of Object.keys(r)){let n=r[s];if(typeof n=="string")e[s]=n;else if(n&&typeof n=="object"&&n.val!==void 0){let i=n.val;typeof i=="string"&&(e[s]=i)}}return e}o(aS,"mergeEntityMaps");var dc="external",ZE="base",cS="all";function qBe(t){return!t||t===dc?new Set([dc]):t===cS?new Set([cS]):t===ZE?new Set([ZE]):Array.isArray(t)?new Set(t):new Set([dc])}o(qBe,"parseLimitTiers");var Fr=Object.freeze({allow:0,leave:1,remove:2,throw:3}),GBe=new Set([9,10,13]);function HBe(t){if(!t)return{xmlVersion:1,onLevel:Fr.allow,nullLevel:Fr.remove};let e=t.xmlVersion===1.1?1.1:1,r=Fr[t.onNCR]??Fr.allow,s=Fr[t.nullNCR]??Fr.remove,n=Math.max(s,Fr.remove);return{xmlVersion:e,onLevel:r,nullLevel:n}}o(HBe,"parseNCRConfig");var yu=class{static{o(this,"EntityDecoder")}constructor(e={}){this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck=typeof e.postCheck=="function"?e.postCheck:s=>s,this._limitTiers=qBe(this._limit.applyLimitsTo??dc),this._numericAllowed=e.numericAllowed??!0,this._baseMap=aS(Sp,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let r=HBe(e.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel}setExternalEntities(e){if(e)for(let r of Object.keys(e))V3(r);this._externalMap=aS(e)}addExternalEntity(e,r){V3(e),typeof r=="string"&&r.indexOf("&")===-1&&(this._externalMap[e]=r)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=aS(e)}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=e===1.1?1.1:1}decode(e){if(typeof e!="string"||e.length===0)return e;let r=e,s=[],n=e.length,i=0,a=0,c=this._maxTotalExpansions>0,l=this._maxExpandedLength>0,u=c||l;for(;a=n||e.charCodeAt(d)!==59){a++;continue}let p=e.slice(a+1,d);if(p.length===0){a++;continue}let m,h;if(this._removeSet.has(p))m="",h===void 0&&(h=dc);else if(this._leaveSet.has(p)){a++;continue}else if(p.charCodeAt(0)===35){let g=this._resolveNCR(p);if(g===void 0){a++;continue}m=g,h=ZE}else{let g=this._resolveName(p);m=g?.value,h=g?.tier}if(m===void 0){a++;continue}if(a>i&&s.push(e.slice(i,a)),s.push(m),i=d+1,a=i,u&&this._tierCounts(h)){if(c&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw new Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(l){let g=m.length-(p.length+2);if(g>0&&(this._expandedLength+=g,this._expandedLength>this._maxExpandedLength))throw new Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}i=55296&&e<=57343||this._ncrXmlVersion===1&&e>=1&&e<=31&&!GBe.has(e)?Fr.remove:-1}_applyNCRAction(e,r,s){switch(e){case Fr.allow:return String.fromCodePoint(s);case Fr.remove:return"";case Fr.leave:return;case Fr.throw:throw new Error(`[EntityDecoder] Prohibited numeric character reference &${r}; (U+${s.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(s)}}_resolveNCR(e){let r=e.charCodeAt(1),s;if(r===120||r===88?s=parseInt(e.slice(2),16):s=parseInt(e.slice(1),10),Number.isNaN(s)||s<0||s>1114111)return;let n=this._classifyNCR(s);if(!this._numericAllowed&&nxp.includes(t)?"__"+t:t,"defaultOnDangerousProperty"),zBe={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:o(function(t,e){return e},"tagValueProcessor"),attributeValueProcessor:o(function(t,e){return e},"attributeValueProcessor"),stopNodes:[],alwaysCreateTextNode:!1,isArray:o(()=>!1,"isArray"),commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:o(function(t,e,r){return t},"updateTag"),captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:$3};function VBe(t,e){if(typeof t!="string")return;let r=t.toLowerCase();if(xp.some(s=>r===s.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(jE.some(s=>r===s.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}o(VBe,"validatePropertyName");function Y3(t,e){return typeof t=="boolean"?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:typeof t=="object"&&t!==null?{enabled:t.enabled!==!1,maxEntitySize:Math.max(1,t.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,t.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,t.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,t.maxExpandedLength??1e5),maxEntityCount:Math.max(1,t.maxEntityCount??1e3),allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null,appliesTo:t.appliesTo??"all"}:Y3(!0)}o(Y3,"normalizeProcessEntities");var J3=o(function(t){let e=Object.assign({},zBe,t),r=[{value:e.attributeNamePrefix,name:"attributeNamePrefix"},{value:e.attributesGroupName,name:"attributesGroupName"},{value:e.textNodeName,name:"textNodeName"},{value:e.cdataPropName,name:"cdataPropName"},{value:e.commentPropName,name:"commentPropName"}];for(let{value:s,name:n}of r)s&&VBe(s,n);return e.onDangerousProperty===null&&(e.onDangerousProperty=$3),e.processEntities=Y3(e.processEntities,e.htmlEntities),e.unpairedTagsSet=new Set(e.unpairedTags),e.stopNodes&&Array.isArray(e.stopNodes)&&(e.stopNodes=e.stopNodes.map(s=>typeof s=="string"&&s.startsWith("*.")?".."+s.substring(2):s)),e},"buildOptions");var ey;typeof Symbol!="function"?ey="@@xmlMetadata":ey=Symbol("XML Node Metadata");var Ur=class{static{o(this,"XmlNode")}constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,r){e==="__proto__"&&(e="#__proto__"),this.child.push({[e]:r})}addChild(e,r){e.tagname==="__proto__"&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),r!==void 0&&(this.child[this.child.length-1][ey]={startIndex:r})}static getMetaDataSymbol(){return ey}};var Tp=class{static{o(this,"DocTypeReader")}constructor(e){this.suppressValidationErr=!e,this.options=e}readDocType(e,r){let s=Object.create(null),n=0;if(e[r+3]==="O"&&e[r+4]==="C"&&e[r+5]==="T"&&e[r+6]==="Y"&&e[r+7]==="P"&&e[r+8]==="E"){r=r+9;let i=1,a=!1,c=!1,l="";for(;r=this.options.maxEntityCount)throw new Error(`Entity count (${n+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);s[u]=A,n++}}else if(a&&pc(e,"!ELEMENT",r)){r+=8;let{index:u}=this.readElementExp(e,r+1);r=u}else if(a&&pc(e,"!ATTLIST",r))r+=8;else if(a&&pc(e,"!NOTATION",r)){r+=9;let{index:u}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=u}else if(pc(e,"!--",r))c=!0;else throw new Error("Invalid DOCTYPE");i++,l=""}else if(e[r]===">"){if(c?e[r-1]==="-"&&e[r-2]==="-"&&(c=!1,i--):i--,i===0)break}else e[r]==="["?a=!0:l+=e[r];if(i!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:s,i:r}}readEntityExp(e,r){r=qr(e,r);let s=r;for(;rthis.options.maxEntitySize)throw new Error(`Entity "${n}" size (${i.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return r--,[n,i,r]}readNotationExp(e,r){r=qr(e,r);let s=r;for(;r{for(;e1||i.length===1&&!c))return t;{let l=Number(r),u=String(l);if(l===0)return l;if(u.search(/[eE]/)!==-1)return e.eNotation?l:t;if(r.indexOf(".")!==-1)return u==="0"||u===a||u===`${n}${a}`?l:t;let A=i?a:r;return i?A===u||n+A===u?l:t:A===u||A===n+u?l:t}}else return t}}else return ZBe(t,Number(r),e)}o(lS,"toNumber");var WBe=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function jBe(t,e,r){if(!r.eNotation)return t;let s=e.match(WBe);if(s){let n=s[1]||"",i=s[3].indexOf("e")===-1?"E":"e",a=s[2],c=n?t[a.length+1]===i:t[a.length]===i;return a.length>1&&c?t:a.length===1&&(s[3].startsWith(`.${i}`)||s[3][0]===i)?Number(e):a.length>0?r.leadingZeros&&!c?(e=(s[1]||"")+s[3],Number(e)):t:Number(e)}else return t}o(jBe,"resolveEnotation");function KBe(t){return t&&t.indexOf(".")!==-1&&(t=t.replace(/0+$/,""),t==="."?t="0":t[0]==="."?t="0"+t:t[t.length-1]==="."&&(t=t.substring(0,t.length-1))),t}o(KBe,"trimZeros");function XBe(t,e){if(parseInt)return parseInt(t,e);if(Number.parseInt)return Number.parseInt(t,e);if(window&&window.parseInt)return window.parseInt(t,e);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}o(XBe,"parse_int");function ZBe(t,e,r){let s=e===1/0;switch(r.infinity.toLowerCase()){case"null":return null;case"infinity":return e;case"string":return s?"Infinity":"-Infinity";default:return t}}o(ZBe,"handleInfinity");function uS(t){return typeof t=="function"?t:Array.isArray(t)?e=>{for(let r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}o(uS,"getIgnoreAttributesFn");var gs=class{static{o(this,"Expression")}constructor(e,r={},s){this.pattern=e,this.separator=r.separator||".",this.segments=this._parse(e),this.data=s,this._hasDeepWildcard=this.segments.some(n=>n.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(n=>n.attrName!==void 0),this._hasPositionSelector=this.segments.some(n=>n.position!==void 0)}_parse(e){let r=[],s=0,n="";for(;s0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let r=this._matcher.path;if(r.length!==0)return r[r.length-1].values?.[e]}hasAttr(e){let r=this._matcher.path;if(r.length===0)return!1;let s=r[r.length-1];return s.values!==void 0&&e in s.values}getPosition(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,r=!0){return this._matcher.toString(e,r)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}},ni=class{static{o(this,"Matcher")}constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new AS(this)}push(e,r=null,s=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let n=this.path.length;this.siblingStacks[n]||(this.siblingStacks[n]=new Map);let i=this.siblingStacks[n],a=s?`${s}:${e}`:e,c=i.get(a)||0,l=0;for(let A of i.values())l+=A;i.set(a,c+1);let u={tag:e,position:l,counter:c};s!=null&&(u.namespace=s),r!=null&&(u.values=r),this.path.push(u)}pop(){if(this.path.length===0)return;this._pathStringCache=null;let e=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),e}updateCurrent(e){if(this.path.length>0){let r=this.path[this.path.length-1];e!=null&&(r.values=e)}}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(e){if(this.path.length!==0)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(this.path.length===0)return!1;let r=this.path[this.path.length-1];return r.values!==void 0&&e in r.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(e,r=!0){let s=e||this.separator;if(s===this.separator&&r===!0){if(this._pathStringCache!==null)return this._pathStringCache;let i=this.path.map(a=>a.namespace?`${a.namespace}:${a.tag}`:a.tag).join(s);return this._pathStringCache=i,i}return this.path.map(i=>r&&i.namespace?`${i.namespace}:${i.tag}`:i.tag).join(s)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(e){let r=e.segments;return r.length===0?!1:e.hasDeepWildcard()?this._matchWithDeepWildcard(r):this._matchSimple(r)}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let r=0;r=0&&r>=0;){let n=e[s];if(n.type==="deep-wildcard"){if(s--,s<0)return!0;let i=e[s],a=!1;for(let c=r;c>=0;c--)if(this._matchSegment(i,this.path[c],c===this.path.length-1)){r=c-1,s--,a=!0;break}if(!a)return!1}else{if(!this._matchSegment(n,this.path[r],r===this.path.length-1))return!1;r--,s--}}return s<0}_matchSegment(e,r,s){if(e.tag!=="*"&&e.tag!==r.tag||e.namespace!==void 0&&e.namespace!=="*"&&e.namespace!==r.namespace||e.attrName!==void 0&&(!s||!r.values||!(e.attrName in r.values)||e.attrValue!==void 0&&String(r.values[e.attrName])!==String(e.attrValue)))return!1;if(e.position!==void 0){if(!s)return!1;let n=r.counter??0;if(e.position==="first"&&n!==0)return!1;if(e.position==="odd"&&n%2!==1)return!1;if(e.position==="even"&&n%2!==0)return!1;if(e.position==="nth"&&n!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>new Map(e))}}restore(e){this._pathStringCache=null,this.path=e.path.map(r=>({...r})),this.siblingStacks=e.siblingStacks.map(r=>new Map(r))}readOnly(){return this._view}};function ewe(t,e){if(!t)return{};let r=e.attributesGroupName?t[e.attributesGroupName]:t;if(!r)return{};let s={};for(let n in r)if(n.startsWith(e.attributeNamePrefix)){let i=n.substring(e.attributeNamePrefix.length);s[i]=r[n]}else s[n]=r[n];return s}o(ewe,"extractRawAttributes");function twe(t){if(!t||typeof t!="string")return;let e=t.indexOf(":");if(e!==-1&&e>0){let r=t.substring(0,e);if(r!=="xmlns")return r}}o(twe,"extractNamespace");var vp=class{static{o(this,"OrderedObjParser")}constructor(e){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=owe,this.parseTextData=rwe,this.resolveNameSpace=swe,this.buildAttributesMap=iwe,this.isItStopNode=uwe,this.replaceEntitiesValue=cwe,this.readStopNodeData=pwe,this.saveTextToParentTag=lwe,this.addChild=awe,this.ignoreAttributesFn=uS(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0;let r={...Sp};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?r=this.options.htmlEntities:this.options.htmlEntities===!0&&(r={...oS,...XE}),this.entityDecoder=new yu({namedEntities:r,numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo}})),this.matcher=new ni,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new Cu;let s=this.options.stopNodes;if(s&&s.length>0){for(let n=0;n0)){a||(t=this.replaceEntitiesValue(t,e,r));let l=c.jPath?r.toString():r,u=c.tagValueProcessor(e,t,l,n,i);return u==null?t:typeof u!=typeof t||u!==t?u:c.trimValues||t.trim()===t?mS(t,c.parseTagValue,c.numberParseOptions):t}}o(rwe,"parseTextData");function swe(t){if(this.options.removeNSPrefix){let e=t.split(":"),r=t.charAt(0)==="/"?"/":"";if(e[0]==="xmlns")return"";e.length===2&&(t=r+e[1])}return t}o(swe,"resolveNameSpace");var nwe=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function iwe(t,e,r,s=!1){let n=this.options;if(s===!0||n.ignoreAttributes!==!0&&typeof t=="string"){let i=WE(t,nwe),a=i.length,c={},l=new Array(a),u=!1,A={};for(let m=0;m",c,"Closing Tag is not closed."),d=t.substring(c+2,A).trim();if(n.removeNSPrefix){let m=d.indexOf(":");m!==-1&&(d=d.substr(m+1))}d=dS(n.transformTagName,d,"",n).tagName,r&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher));let p=this.matcher.getCurrentTag();if(d&&n.unpairedTagsSet.has(d))throw new Error(`Unpaired tag can not be used as closing tag: `);p&&n.unpairedTagsSet.has(p)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),s="",c=A}else if(u===63){let A=pS(t,c,!1,"?>");if(!A)throw new Error("Pi Tag is not closed.");s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let d=this.buildAttributesMap(A.tagExp,this.matcher,A.tagName,!0);if(d){let p=d[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(p)||1)}if(!(n.ignoreDeclaration&&A.tagName==="?xml"||n.ignorePiTags)){let p=new Ur(A.tagName);p.add(n.textNodeName,""),A.tagName!==A.tagExp&&A.attrExpPresent&&n.ignoreAttributes!==!0&&(p[":@"]=d),this.addChild(r,p,this.readonlyMatcher,c)}c=A.closeIndex+1}else if(u===33&&t.charCodeAt(c+2)===45&&t.charCodeAt(c+3)===45){let A=Iu(t,"-->",c+4,"Comment is not closed.");if(n.commentPropName){let d=t.substring(c+4,A-2);s=this.saveTextToParentTag(s,r,this.readonlyMatcher),r.add(n.commentPropName,[{[n.textNodeName]:d}])}c=A}else if(u===33&&t.charCodeAt(c+2)===68){let A=i.readDocType(t,c);this.entityDecoder.addInputEntities(A.entities),c=A.i}else if(u===33&&t.charCodeAt(c+2)===91){let A=Iu(t,"]]>",c,"CDATA is not closed.")-2,d=t.substring(c+9,A);s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let p=this.parseTextData(d,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);p==null&&(p=""),n.cdataPropName?r.add(n.cdataPropName,[{[n.textNodeName]:d}]):r.add(n.textNodeName,p),c=A+2}else{let A=pS(t,c,n.removeNSPrefix);if(!A){let S=t.substring(Math.max(0,c-50),Math.min(a,c+50));throw new Error(`readTagExp returned undefined at position ${c}. Context: "${S}"`)}let d=A.tagName,p=A.rawTagName,m=A.tagExp,h=A.attrExpPresent,g=A.closeIndex;if({tagName:d,tagExp:m}=dS(n.transformTagName,d,m,n),n.strictReservedNames&&(d===n.commentPropName||d===n.cdataPropName||d===n.textNodeName||d===n.attributesGroupName))throw new Error(`Invalid tag name: ${d}`);r&&s&&r.tagname!=="!xml"&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher,!1));let C=r;C&&n.unpairedTagsSet.has(C.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let E=!1;m.length>0&&m.lastIndexOf("/")===m.length-1&&(E=!0,d[d.length-1]==="/"?(d=d.substr(0,d.length-1),m=d):m=m.substr(0,m.length-1),h=d!==m);let y=null,I={},B;B=twe(p),d!==e.tagname&&this.matcher.push(d,{},B),d!==m&&h&&(y=this.buildAttributesMap(m,this.matcher,d),y&&(I=ewe(y,n))),d!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let N=c;if(this.isCurrentNodeStopNode){let S="";if(E)c=A.closeIndex;else if(n.unpairedTagsSet.has(d))c=A.closeIndex;else{let ge=this.readStopNodeData(t,p,g+1);if(!ge)throw new Error(`Unexpected end of ${p}`);c=ge.i,S=ge.tagContent}let q=new Ur(d);y&&(q[":@"]=y),q.add(n.textNodeName,S),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,q,this.readonlyMatcher,N)}else{if(E){({tagName:d,tagExp:m}=dS(n.transformTagName,d,m,n));let S=new Ur(d);y&&(S[":@"]=y),this.addChild(r,S,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(n.unpairedTagsSet.has(d)){let S=new Ur(d);y&&(S[":@"]=y),this.addChild(r,S,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1,c=A.closeIndex;continue}else{let S=new Ur(d);if(this.tagsNodeStack.length>n.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),y&&(S[":@"]=y),this.addChild(r,S,this.readonlyMatcher,N),r=S}s="",c=g}}}else s+=t[c];return e.child},"parseXml");function awe(t,e,r,s){this.options.captureMetaData||(s=void 0);let n=this.options.jPath?r.toString():r,i=this.options.updateTag(e.tagname,n,e[":@"]);i===!1||(typeof i=="string"&&(e.tagname=i),t.addChild(e,s))}o(awe,"addChild");function cwe(t,e,r){let s=this.options.processEntities;if(!s||!s.enabled)return t;if(s.allowedTags){let n=this.options.jPath?r.toString():r;if(!(Array.isArray(s.allowedTags)?s.allowedTags.includes(e):s.allowedTags(e,n)))return t}if(s.tagFilter){let n=this.options.jPath?r.toString():r;if(!s.tagFilter(e,n))return t}return this.entityDecoder.decode(t)}o(cwe,"replaceEntitiesValue");function lwe(t,e,r,s){return t&&(s===void 0&&(s=e.child.length===0),t=this.parseTextData(t,e.tagname,r,!1,e[":@"]?Object.keys(e[":@"]).length!==0:!1,s),t!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}o(lwe,"saveTextToParentTag");function uwe(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}o(uwe,"isItStopNode");function Awe(t,e,r=">"){let s=0,n=[],i=t.length,a=r.charCodeAt(0),c=r.length>1?r.charCodeAt(1):-1;for(let l=e;l",r,`${e} is not closed`);if(t.substring(r+2,c).trim()===e&&(n--,n===0))return{tagContent:t.substring(s,r),i:c};r=c}else if(a===63)r=Iu(t,"?>",r+1,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===45&&t.charCodeAt(r+3)===45)r=Iu(t,"-->",r+3,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===91)r=Iu(t,"]]>",r,"StopNode is not closed.")-2;else{let c=pS(t,r,">");c&&((c&&c.tagName)===e&&c.tagExp[c.tagExp.length-1]!=="/"&&n++,r=c.closeIndex)}}}o(pwe,"readStopNodeData");function mS(t,e,r){if(e&&typeof t=="string"){let s=t.trim();return s==="true"?!0:s==="false"?!1:lS(t,r)}else return S3(t)?t:""}o(mS,"parseValue");function dS(t,e,r,s){if(t){let n=t(e);r===e&&(r=n),e=n}return e=W3(e,s),{tagName:e,tagExp:r}}o(dS,"transformTagName");function W3(t,e){if(jE.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return xp.includes(t)?e.onDangerousProperty(t):t}o(W3,"sanitizeName");var hS=Ur.getMetaDataSymbol();function mwe(t,e){if(!t||typeof t!="object")return{};if(!e)return t;let r={};for(let s in t)if(s.startsWith(e)){let n=s.substring(e.length);r[n]=t[s]}else r[s]=t[s];return r}o(mwe,"stripAttributePrefix");function fS(t,e,r,s){return j3(t,e,r,s)}o(fS,"prettify");function j3(t,e,r,s){let n,i={};for(let a=0;a0&&(i[e.textNodeName]=n):n!==void 0&&(i[e.textNodeName]=n),i}o(j3,"compress");function hwe(t){let e=Object.keys(t);for(let r=0;r/g,"]]]]>")}o(ry,"safeCdata");function sa(t){return String(t).replace(/"/g,""").replace(/'/g,"'")}o(sa,"escapeAttribute");var K3=":A-Za-z_\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u0486\u0488-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD",Ewe=K3+"\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040",X3=":A-Za-z_\xC0-\u02FF\u0370-\u037D\u037F-\u0486\u0488-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}",ywe=X3+"\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040",Z3=o((t,e,r="")=>{let s=t.replace(":",""),n=e.replace(":",""),i=`[${s}][${n}]*`;return{name:new RegExp(`^[${t}][${e}]*$`,r),ncName:new RegExp(`^${i}$`,r),qName:new RegExp(`^${i}(?::${i})?$`,r),nmToken:new RegExp(`^[${e}]+$`,r),nmTokens:new RegExp(`^[${e}]+(?:\\s+[${e}]+)*$`,r)}},"buildRegexes"),Cwe=Z3(K3,Ewe),Iwe=Z3(X3,ywe,"u"),Bwe=o((t="1.0")=>t==="1.1"?Iwe:Cwe,"getRegexes");var sy=o((t,{xmlVersion:e="1.0"}={})=>Bwe(e).qName.test(t),"qName");var wwe=` `;function bwe(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(yS(r)==="?xml"){let n=r[":@"];if(n){let i=e.attributeNamePrefix+"version";if(n[i])return n[i]}}return"1.0"}o(bwe,"detectXmlVersionFromArray");function t4(t,e,r,s,n){return!r.sanitizeName||sy(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(t4,"resolveTagName");function ES(t,e){let r="";e.format&&(r=wwe);let s=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let a=0;ae.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let l=t.toString();return l=gS(l,e),l}return""}for(let l=0;l`,c=!1,s.pop();continue}else if(p===e.commentPropName){let I=u[A][0][e.textNodeName],B=ty(I);a+=r+``,c=!0,s.pop();continue}else if(p[0]==="?"){let I=e4(u[":@"],e,h,s,i);a+=(p==="?xml"?"":r)+`<${p}${I}?>`,c=!0,s.pop();continue}let g=r;g!==""&&(g+=e.indentBy);let C=e4(u[":@"],e,h,s,i),E=r+`<${p}${C}`,y;h?y=s4(u[A],e):y=r4(u[A],e,g,s,n,i),e.unpairedTags.indexOf(p)!==-1?e.suppressUnpairedNode?a+=E+">":a+=E+"/>":(!y||y.length===0)&&e.suppressEmptyNode?a+=E+"/>":y&&y.endsWith(">")?a+=E+`>${y}${r}`:(a+=E+">",y&&r!==""&&(y.includes("/>")||y.includes("`),c=!0,s.pop()}return a}o(r4,"arrToStr");function Qwe(t,e){if(!t||e.ignoreAttributes)return null;let r={},s=!1;for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let i=n.startsWith(e.attributeNamePrefix)?n.substr(e.attributeNamePrefix.length):n;r[i]=sa(t[n]),s=!0}return s?r:null}o(Qwe,"extractAttributeValues");function s4(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let s=0;s`:r+=`<${i}${a}>${c}`}}}return r}o(s4,"getRawContent");function xwe(t,e){let r="";if(t&&!e.ignoreAttributes)for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let n=t[s];n===!0&&e.suppressBooleanAttributes?r+=` ${s.substr(e.attributeNamePrefix.length)}`:r+=` ${s.substr(e.attributeNamePrefix.length)}="${sa(n)}"`}return r}o(xwe,"attr_to_str_raw");function yS(t){let e=Object.keys(t);for(let r=0;r0&&e.processEntities)for(let r=0;r{for(let r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}o(CS,"getIgnoreAttributesFn");var Swe={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:o(function(t,e){return e},"tagValueProcessor"),attributeValueProcessor:o(function(t,e){return e},"attributeValueProcessor"),preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function Gr(t){if(this.options=Object.assign({},Swe,t),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>typeof e=="string"&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e `,this.newLine=` `):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(Gr,"Builder");function Rwe(t,e){let r=t["?xml"];if(r&&typeof r=="object"){if(e.attributesGroupName&&r[e.attributesGroupName]){let n=r[e.attributesGroupName][e.attributeNamePrefix+"version"];if(n)return n}let s=r[e.attributeNamePrefix+"version"];if(s)return s}return"1.0"}o(Rwe,"detectXmlVersionFromObj");function IS(t,e,r,s,n){return!r.sanitizeName||sy(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(IS,"resolveTagName");Gr.prototype.build=function(t){if(this.options.preserveOrder)return ES(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new ni,r=Rwe(t,this.options);return this.j2x(t,0,e,r).val}};Gr.prototype.j2x=function(t,e,r,s){let n="",i="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");let a=this.options.jPath?r.toString():r,c=this.checkStopNode(r);for(let l in t){if(!Object.prototype.hasOwnProperty.call(t,l))continue;let A=l===this.options.textNodeName||l===this.options.cdataPropName||l===this.options.commentPropName||this.options.attributesGroupName&&l===this.options.attributesGroupName||this.isAttribute(l)||l[0]==="?"?l:IS(l,!1,this.options,r,s);if(typeof t[l]>"u")this.isAttribute(l)&&(i+="");else if(t[l]===null)this.isAttribute(l)||A===this.options.cdataPropName||A===this.options.commentPropName?i+="":A[0]==="?"?i+=this.indentate(e)+"<"+A+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+A+"/"+this.tagEndChar;else if(t[l]instanceof Date)i+=this.buildTextValNode(t[l],A,"",e,r);else if(typeof t[l]!="object"){let d=this.isAttribute(l);if(d&&!this.ignoreAttributesFn(d,a)){let p=IS(d,!0,this.options,r,s);n+=this.buildAttrPairStr(p,""+t[l],c)}else if(!d)if(l===this.options.textNodeName){let p=this.options.tagValueProcessor(l,""+t[l]);i+=this.replaceEntitiesValue(p)}else{r.push(A);let p=this.checkStopNode(r);if(r.pop(),p){let m=""+t[l];m===""?i+=this.indentate(e)+"<"+A+this.closeTag(A)+this.tagEndChar:i+=this.indentate(e)+"<"+A+">"+m+""u"))if(g===null)A[0]==="?"?i+=this.indentate(e)+"<"+A+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+A+"/"+this.tagEndChar;else if(typeof g=="object")if(this.options.oneListGroup){r.push(A);let C=this.j2x(g,e+1,r,s);r.pop(),p+=C.val,this.options.attributesGroupName&&g.hasOwnProperty(this.options.attributesGroupName)&&(m+=C.attrStr)}else p+=this.processTextOrObjNode(g,A,e,r,s);else if(this.options.oneListGroup){let C=this.options.tagValueProcessor(A,g);C=this.replaceEntitiesValue(C),p+=C}else{r.push(A);let C=this.checkStopNode(r);if(r.pop(),C){let E=""+g;E===""?p+=this.indentate(e)+"<"+A+this.closeTag(A)+this.tagEndChar:p+=this.indentate(e)+"<"+A+">"+E+"${n}`;else if(typeof n=="object"&&n!==null){let i=this.buildRawContent(n),a=this.buildAttributesForStopNode(n);i===""?e+=`<${r}${a}/>`:e+=`<${r}${a}>${i}`}}else if(typeof s=="object"&&s!==null){let n=this.buildRawContent(s),i=this.buildAttributesForStopNode(s);n===""?e+=`<${r}${i}/>`:e+=`<${r}${i}>${n}`}else e+=`<${r}>${s}`}return e};Gr.prototype.buildAttributesForStopNode=function(t){if(!t||typeof t!="object")return"";let e="";if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){let r=t[this.options.attributesGroupName];for(let s in r){if(!Object.prototype.hasOwnProperty.call(r,s))continue;let n=s.startsWith(this.options.attributeNamePrefix)?s.substring(this.options.attributeNamePrefix.length):s,i=r[s];i===!0&&this.options.suppressBooleanAttributes?e+=" "+n:e+=" "+n+'="'+i+'"'}}else for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;let s=this.isAttribute(r);if(s){let n=t[r];n===!0&&this.options.suppressBooleanAttributes?e+=" "+s:e+=" "+s+'="'+n+'"'}}return e};Gr.prototype.buildObjectNode=function(t,e,r,s){if(t==="")return e[0]==="?"?this.indentate(s)+"<"+e+r+"?"+this.tagEndChar:this.indentate(s)+"<"+e+r+this.closeTag(e)+this.tagEndChar;if(e[0]==="?")return this.indentate(s)+"<"+e+r+"?"+this.tagEndChar;{let n=""+t+n:this.options.commentPropName!==!1&&e===this.options.commentPropName&&i.length===0?this.indentate(s)+``+this.newLine:this.indentate(s)+"<"+e+r+i+this.tagEndChar+t+this.indentate(s)+n}};Gr.prototype.closeTag=function(t){let e="";return this.options.unpairedTags.indexOf(t)!==-1?this.options.suppressUnpairedNode||(e="/"):this.options.suppressEmptyNode?e="/":e=`>`+this.newLine}else if(this.options.commentPropName!==!1&&e===this.options.commentPropName){let i=ty(t);return this.indentate(s)+``+this.newLine}else{if(e[0]==="?")return this.indentate(s)+"<"+e+r+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(e,t);return i=this.replaceEntitiesValue(i),i===""?this.indentate(s)+"<"+e+r+this.closeTag(e)+this.tagEndChar:this.indentate(s)+"<"+e+r+">"+i+"0&&this.options.processEntities)for(let e=0;e${s.build(n)}`.replace(/\n/g,"")}o(ny,"stringifyXML");async function wS(t,e={}){if(!t)throw new Error("Document is empty");let r=n4.validate(t);if(r!==!0)throw r;let n=new Bu(Dwe(e)).parse(t);if(n["?xml"]&&delete n["?xml"],!e.includeRoot)for(let i of Object.keys(n)){let a=n[i];return typeof a=="object"?Object.assign({},a):a}return n}o(wS,"parseXML");var iy=ei("storage-blob");var u4=require("events");var c4=require("node:stream");var oy=class extends c4.Readable{static{o(this,"BuffersStream")}buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,r,s){super(s),this.buffers=e,this.byteLength=r,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let n=0;for(let i of this.buffers)n+=i.byteLength;if(n=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let r=[],s=0;for(;se-s){let c=this.byteOffsetInCurrentBuffer+e-s;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),this.pushedBytesLength+=e-s,this.byteOffsetInCurrentBuffer=c,s=e;break}else{let c=this.byteOffsetInCurrentBuffer+a;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),a===i?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=c,this.pushedBytesLength+=a,s+=a}}r.length>1?this.push(Buffer.concat(r)):r.length===1&&this.push(r[0])}};var l4=w(require("node:buffer"),1);var ay=l4.default.constants.MAX_LENGTH,cy=class{static{o(this,"PooledBuffer")}buffers=[];capacity;_size;get size(){return this._size}constructor(e,r,s){this.capacity=e,this._size=0;let n=Math.ceil(e/ay);for(let i=0;i0&&(e[0]=e[0].slice(a))}getReadableStream(){return new oy(this.buffers,this.size)}};var ly=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new u4.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,r,s,n,i,a){if(r<=0)throw new RangeError(`bufferSize must be larger than 0, current is ${r}`);if(s<=0)throw new RangeError(`maxBuffers must be larger than 0, current is ${s}`);if(i<=0)throw new RangeError(`concurrency must be larger than 0, current is ${i}`);this.bufferSize=r,this.maxBuffers=s,this.readable=e,this.outgoingHandler=n,this.concurrency=i,this.encoding=a}async do(){return new Promise((e,r)=>{this.readable.on("data",s=>{s=typeof s=="string"?Buffer.from(s,this.encoding):s,this.appendUnresolvedData(s),this.resolveData()||this.readable.pause()}),this.readable.on("error",s=>{this.emitter.emit("error",s)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",s=>{this.isError=!0,this.readable.pause(),r(s)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0)if(this.unresolvedLength>0&&this.unresolvedLengths.getReadableStream(),s.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 cy(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.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(s){this.emitter.emit("error",s);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()}};var bS;function QS(){return bS||(bS=Ep()),bS}o(QS,"getCachedDefaultHttpClient");var ii=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)}};var no={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}},re={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"};function na(t,e,r){let s=new URL(t),n=encodeURIComponent(e),i=r?encodeURIComponent(r):void 0,a=s.search===""?"?":s.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[u]=l.split("=",2);u!==n&&c.push(l)}return i&&c.push(`${n}=${i}`),s.search=c.length?`?${c.join("&")}`:"",s.toString()}o(na,"setURLParameter");function uy(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(uy,"setURLHost");function Ay(t){try{return new URL(t).pathname}catch{return}}o(Ay,"getURLPath");function dy(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(n=>{let i=n.indexOf("="),a=n.lastIndexOf("=");return i>0&&i===a&&a{let i,a=o(()=>{i!==void 0&&clearTimeout(i),n(r)},"abortHandler");i=setTimeout(o(()=>{e!==void 0&&e.removeEventListener("abort",a),s()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}o(py,"delay");var Pp=class extends ii{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return Qe?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=na(e.url,no.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(re.COOKIE),e.headers.remove(re.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}};var kp=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new Pp(e,r)}};var mc=class extends ii{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var Dp=class extends mc{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};var hc=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};var Ke=class extends hc{static{o(this,"AnonymousCredential")}create(e,r){return new Dp(e,r)}};var A4=require("node:crypto");var _we=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]),Lwe=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]),Mwe=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 my(t,e){return Owe(t,e)?-1:1}o(my,"compareHeader");function Owe(t,e){let r=[_we,Lwe,Mwe],s=0,n=0,i=0;for(;si;let a=n0&&e.headers.set(re.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,re.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,re.CONTENT_ENCODING),this.getHeaderValueToSign(e,re.CONTENT_LENGTH),this.getHeaderValueToSign(e,re.CONTENT_MD5),this.getHeaderValueToSign(e,re.CONTENT_TYPE),this.getHeaderValueToSign(e,re.DATE),this.getHeaderValueToSign(e,re.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,re.IF_MATCH),this.getHeaderValueToSign(e,re.IF_NONE_MATCH),this.getHeaderValueToSign(e,re.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,re.RANGE)].join(` `)+` `+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),s=this.factory.computeHMACSHA256(r);return e.headers.set(re.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${s}`),e}getHeaderValueToSign(e,r){let s=e.headers.get(r);return!s||r===re.CONTENT_LENGTH&&s==="0"?"":s}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(n=>n.name.toLowerCase().startsWith(re.PREFIX_FOR_STORAGE));r.sort((n,i)=>my(n.name.toLowerCase(),i.name.toLowerCase())),r=r.filter((n,i,a)=>!(i>0&&n.name.toLowerCase()===a[i-1].name.toLowerCase()));let s="";return r.forEach(n=>{s+=`${n.name.toLowerCase().trimRight()}:${n.value.trimLeft()} `}),s}getCanonicalizedResourceString(e){let r=Ay(e.url)||"/",s="";s+=`/${this.factory.accountName}${r}`;let n=dy(e.url),i={};if(n){let a=[];for(let c in n)if(Object.prototype.hasOwnProperty.call(n,c)){let l=c.toLowerCase();i[l]=n[c],a.push(l)}a.sort();for(let c of a)s+=` ${c}:${decodeURIComponent(i[c])}`}return s}};var it=class extends hc{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new _p(e,r,this)}computeHMACSHA256(e){return(0,A4.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var kt=ei("storage-common");var Hs;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(Hs||(Hs={}));var ia={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Hs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Fwe=new ms("The operation was aborted."),Lp=class extends ii{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,s=ia){super(e,r),this.retryOptions={retryPolicyType:s.retryPolicyType?s.retryPolicyType:ia.retryPolicyType,maxTries:s.maxTries&&s.maxTries>=1?Math.floor(s.maxTries):ia.maxTries,tryTimeoutInMs:s.tryTimeoutInMs&&s.tryTimeoutInMs>=0?s.tryTimeoutInMs:ia.tryTimeoutInMs,retryDelayInMs:s.retryDelayInMs&&s.retryDelayInMs>=0?Math.min(s.retryDelayInMs,s.maxRetryDelayInMs?s.maxRetryDelayInMs:ia.maxRetryDelayInMs):ia.retryDelayInMs,maxRetryDelayInMs:s.maxRetryDelayInMs&&s.maxRetryDelayInMs>=0?s.maxRetryDelayInMs:ia.maxRetryDelayInMs,secondaryHost:s.secondaryHost?s.secondaryHost:ia.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,s){let n=e.clone(),i=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||s%2===1;i||(n.url=uy(n.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(n.url=na(n.url,no.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(kt.info(`RetryPolicy: =====> Try=${s} ${i?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(n),!this.shouldRetry(i,s,a))return a;r=r||!i&&a.status===404}catch(c){if(kt.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(i,s,a,c))throw c}return await this.delay(i,s,e.abortSignal),this.attemptSendRequest(e,r,++s)}shouldRetry(e,r,s,n){if(r>=this.retryOptions.maxTries)return kt.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let i=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(n){for(let a of i)if(n.name.toUpperCase().includes(a)||n.message.toUpperCase().includes(a)||n.code&&n.code.toString().toUpperCase()===a)return kt.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(s||n){let a=s?s.status:n?n.statusCode:0;if(!e&&a===404)return kt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return kt.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(s&&s?.status>=400){let a=s.headers.get(re.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return n?.code==="PARSE_ERROR"&&n?.message.startsWith('Error "Error: Unclosed root tag')?(kt.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,s){let n=0;if(e)switch(this.retryOptions.retryPolicyType){case Hs.EXPONENTIAL:n=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case Hs.FIXED:n=this.retryOptions.retryDelayInMs;break}else n=Math.random()*1e3;return kt.info(`RetryPolicy: Delay for ${n}ms`),py(n,s,Fwe)}};var Mp=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new Lp(e,r,this.retryOptions)}};var Uwe="storageBrowserPolicy";function d4(){return{name:Uwe,async sendRequest(t,e){return Qe||((t.method==="GET"||t.method==="HEAD")&&(t.url=na(t.url,no.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(re.COOKIE),t.headers.delete(re.CONTENT_LENGTH)),e(t)}}}o(d4,"storageBrowserPolicy");var qwe="StorageCorrectContentLengthPolicy";function p4(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(re.CONTENT_LENGTH,Buffer.byteLength(e.body))}return o(t,"correctContentLength"),{name:qwe,async sendRequest(e,r){return t(e),r(e)}}}o(p4,"storageCorrectContentLengthPolicy");var Gwe="storageRetryPolicy",wu={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Hs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Hwe=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],zwe=new ms("The operation was aborted.");function m4(t={}){let e=t.retryPolicyType??wu.retryPolicyType,r=t.maxTries??wu.maxTries,s=t.retryDelayInMs??wu.retryDelayInMs,n=t.maxRetryDelayInMs??wu.maxRetryDelayInMs,i=t.secondaryHost??wu.secondaryHost,a=t.tryTimeoutInMs??wu.tryTimeoutInMs;function c({isPrimaryRetry:u,attempt:A,response:d,error:p}){if(A>=r)return kt.info(`RetryPolicy: Attempt(s) ${A} >= maxTries ${r}, no further try.`),!1;if(p){for(let m of Hwe)if(p.name.toUpperCase().includes(m)||p.message.toUpperCase().includes(m)||p.code&&p.code.toString().toUpperCase()===m)return kt.info(`RetryPolicy: Network error ${m} found, will retry.`),!0;if(p?.code==="PARSE_ERROR"&&p?.message.startsWith('Error "Error: Unclosed root tag'))return kt.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(d||p){let m=d?.status??p?.statusCode??0;if(!u&&m===404)return kt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(m===503||m===500)return kt.info(`RetryPolicy: Will retry for status code ${m}.`),!0}if(d&&d?.status>=400){let m=d.headers.get(re.X_MS_CopySourceErrorCode);if(m!==void 0)switch(m){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}o(c,"shouldRetry");function l(u,A){let d=0;if(u)switch(e){case Hs.EXPONENTIAL:d=Math.min((Math.pow(2,A-1)-1)*s,n);break;case Hs.FIXED:d=s;break}else d=Math.random()*1e3;return kt.info(`RetryPolicy: Delay for ${d}ms`),d}return o(l,"calculateDelay"),{name:Gwe,async sendRequest(u,A){a&&(u.url=na(u.url,no.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let d=u.url,p=i?uy(u.url,i):void 0,m=!1,h=1,g=!0,C,E;for(;g;){let y=m||!p||!["GET","HEAD","OPTIONS"].includes(u.method)||h%2===1;u.url=y?d:p,C=void 0,E=void 0;try{kt.info(`RetryPolicy: =====> Try=${h} ${y?"Primary":"Secondary"}`),C=await A(u),m=m||!y&&C.status===404}catch(I){if(uc(I))kt.error(`RetryPolicy: Caught error, message: ${I.message}, code: ${I.code}`),E=I;else throw kt.error(`RetryPolicy: Caught error, message: ${Zo(I)}`),I}g=c({isPrimaryRetry:y,attempt:h,response:C,error:E}),g&&await py(l(y,h),u.abortSignal,zwe),h++}if(C)return C;throw E??new to("RetryPolicy failed without known error.")}}}o(m4,"storageRetryPolicy");var h4=require("node:crypto");var Vwe="storageSharedKeyCredentialPolicy";function xS(t){function e(i){i.headers.set(re.X_MS_DATE,new Date().toUTCString()),i.body&&(typeof i.body=="string"||Buffer.isBuffer(i.body))&&i.body.length>0&&i.headers.set(re.CONTENT_LENGTH,Buffer.byteLength(i.body));let a=[i.method.toUpperCase(),r(i,re.CONTENT_LANGUAGE),r(i,re.CONTENT_ENCODING),r(i,re.CONTENT_LENGTH),r(i,re.CONTENT_MD5),r(i,re.CONTENT_TYPE),r(i,re.DATE),r(i,re.IF_MODIFIED_SINCE),r(i,re.IF_MATCH),r(i,re.IF_NONE_MATCH),r(i,re.IF_UNMODIFIED_SINCE),r(i,re.RANGE)].join(` `)+` `+s(i)+n(i),c=(0,h4.createHmac)("sha256",t.accountKey).update(a,"utf8").digest("base64");i.headers.set(re.AUTHORIZATION,`SharedKey ${t.accountName}:${c}`)}o(e,"signRequest");function r(i,a){let c=i.headers.get(a);return!c||a===re.CONTENT_LENGTH&&c==="0"?"":c}o(r,"getHeaderValueToSign");function s(i){let a=[];for(let[l,u]of i.headers)l.toLowerCase().startsWith(re.PREFIX_FOR_STORAGE)&&a.push({name:l,value:u});a.sort((l,u)=>my(l.name.toLowerCase(),u.name.toLowerCase())),a=a.filter((l,u,A)=>!(u>0&&l.name.toLowerCase()===A[u-1].name.toLowerCase()));let c="";return a.forEach(l=>{c+=`${l.name.toLowerCase().trimRight()}:${l.value.trimLeft()} `}),c}o(s,"getCanonicalizedHeadersString");function n(i){let a=Ay(i.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=dy(i.url),u={};if(l){let A=[];for(let d in l)if(Object.prototype.hasOwnProperty.call(l,d)){let p=d.toLowerCase();u[p]=l[d],A.push(p)}A.sort();for(let d of A)c+=` ${d}:${decodeURIComponent(u[d])}`}return c}return o(n,"getCanonicalizedResourceString"),{name:Vwe,async sendRequest(i,a){return e(i),a(i)}}}o(xS,"storageSharedKeyCredentialPolicy");var $we="storageRequestFailureDetailsParserPolicy";function f4(){return{name:$we,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(f4,"storageRequestFailureDetailsParserPolicy");var g4=require("node:crypto");var hy=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,g4.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var fy="12.31.0",gy="2026-02-06";var Ey="https://storage.azure.com/.default",io={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var In="",NS="*",Ywe=1*1024*1024;var Jwe=4*Ywe;var E4="AES256",y4="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",C4=["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"],I4=["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"],B4="BlobUsesCustomerSpecifiedEncryption",w4="BlobDoesNotUseCustomerSpecifiedEncryption",b4=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function oo(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(oo,"isPipelineLike");var Op=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}}};function Ct(t,e={}){t||(t=new Ke);let r=new Op([],e);return r._credential=t,r}o(Ct,"newPipeline");function Wwe(t){let e=[jwe,Q4,Kwe,Xwe,Zwe,ebe,rbe];if(t.factories.length){let r=t.factories.filter(s=>!e.some(n=>n(s)));if(r.length){let s=r.some(n=>tbe(n));return{wrappedPolicies:nS(r),afterRetry:s}}}}o(Wwe,"processDownlevelPipeline");function SS(t){let{httpClient:e,...r}=t.options,s=t._coreHttpClient;s||(s=e?iS(e):QS(),t._coreHttpClient=s);let n=t._corePipeline;if(!n){let i=`azsdk-js-azure-storage-blob/${fy}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`;n=Cp({...r,loggingOptions:{additionalAllowedHeaderNames:C4,additionalAllowedQueryParameters:I4,logger:iy.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:ny,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:wS,serializerOptions:{xml:{xmlCharKey:"#"}}}}),n.removePolicy({phase:"Retry"}),n.removePolicy({name:DN}),n.addPolicy(p4()),n.addPolicy(m4(r.retryOptions),{phase:"Retry"}),n.addPolicy(f4()),n.addPolicy(d4());let c=Wwe(t);c&&n.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=RS(t);hs(l)?n.addPolicy(fu({credential:l,scopes:r.audience??Ey,challengeCallbacks:{authorizeRequestOnChallenge:$E}}),{phase:"Sign"}):l instanceof it&&n.addPolicy(xS({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=n}return{...r,allowInsecureConnection:!0,httpClient:s,pipeline:n}}o(SS,"getCoreClientOptions");function RS(t){if(t._credential)return t._credential;let e=new Ke;for(let r of t.factories)if(hs(r.credential))e=r.credential;else if(Q4(r))return r;return e}o(RS,"getCredentialFromPipeline");function Q4(t){return t instanceof it?!0:t.constructor.name==="StorageSharedKeyCredential"}o(Q4,"isStorageSharedKeyCredential");function jwe(t){return t instanceof Ke?!0:t.constructor.name==="AnonymousCredential"}o(jwe,"isAnonymousCredential");function Kwe(t){return hs(t.credential)}o(Kwe,"isCoreHttpBearerTokenFactory");function Xwe(t){return t instanceof kp?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(Xwe,"isStorageBrowserPolicyFactory");function Zwe(t){return t instanceof Mp?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(Zwe,"isStorageRetryPolicyFactory");function ebe(t){return t.constructor.name==="TelemetryPolicyFactory"}o(ebe,"isStorageTelemetryPolicyFactory");function tbe(t){return t.constructor.name==="InjectorPolicyFactory"}o(tbe,"isInjectorPolicyFactory");function rbe(t){let e=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"],r={sendRequest:o(async a=>({request:a,headers:a.headers.clone(),status:500}),"sendRequest")},s={log(a,c){},shouldLog(a){return!1}},i=t.create(r,s).constructor.name;return e.some(a=>i.startsWith(a))}o(rbe,"isCoreHttpPolicyFactory");var x4;(function(t){t.AES256="AES256"})(x4||(x4={}));var N4;(function(t){t.Backup="backup"})(N4||(N4={}));var S4;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(S4||(S4={}));var R4;(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"})(R4||(R4={}));var Es={};wZ(Es,{AccessPolicy:()=>mbe,AppendBlobAppendBlockExceptionHeaders:()=>WT,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>KT,AppendBlobAppendBlockFromUrlHeaders:()=>jT,AppendBlobAppendBlockHeaders:()=>JT,AppendBlobCreateExceptionHeaders:()=>YT,AppendBlobCreateHeaders:()=>$T,AppendBlobSealExceptionHeaders:()=>ZT,AppendBlobSealHeaders:()=>XT,ArrowConfiguration:()=>Sbe,ArrowField:()=>Rbe,BlobAbortCopyFromURLExceptionHeaders:()=>yT,BlobAbortCopyFromURLHeaders:()=>ET,BlobAcquireLeaseExceptionHeaders:()=>sT,BlobAcquireLeaseHeaders:()=>rT,BlobBreakLeaseExceptionHeaders:()=>AT,BlobBreakLeaseHeaders:()=>uT,BlobChangeLeaseExceptionHeaders:()=>lT,BlobChangeLeaseHeaders:()=>cT,BlobCopyFromURLExceptionHeaders:()=>gT,BlobCopyFromURLHeaders:()=>fT,BlobCreateSnapshotExceptionHeaders:()=>pT,BlobCreateSnapshotHeaders:()=>dT,BlobDeleteExceptionHeaders:()=>qR,BlobDeleteHeaders:()=>UR,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>KR,BlobDeleteImmutabilityPolicyHeaders:()=>jR,BlobDownloadExceptionHeaders:()=>MR,BlobDownloadHeaders:()=>Cy,BlobFlatListSegment:()=>hbe,BlobGetAccountInfoExceptionHeaders:()=>BT,BlobGetAccountInfoHeaders:()=>IT,BlobGetPropertiesExceptionHeaders:()=>FR,BlobGetPropertiesHeaders:()=>OR,BlobGetTagsExceptionHeaders:()=>QT,BlobGetTagsHeaders:()=>bT,BlobHierarchyListSegment:()=>ybe,BlobItemInternal:()=>fbe,BlobName:()=>gbe,BlobPrefix:()=>Cbe,BlobPropertiesInternal:()=>Ebe,BlobQueryExceptionHeaders:()=>wT,BlobQueryHeaders:()=>By,BlobReleaseLeaseExceptionHeaders:()=>iT,BlobReleaseLeaseHeaders:()=>nT,BlobRenewLeaseExceptionHeaders:()=>aT,BlobRenewLeaseHeaders:()=>oT,BlobServiceProperties:()=>Fp,BlobServiceStatistics:()=>TS,BlobSetExpiryExceptionHeaders:()=>VR,BlobSetExpiryHeaders:()=>zR,BlobSetHttpHeadersExceptionHeaders:()=>YR,BlobSetHttpHeadersHeaders:()=>$R,BlobSetImmutabilityPolicyExceptionHeaders:()=>WR,BlobSetImmutabilityPolicyHeaders:()=>JR,BlobSetLegalHoldExceptionHeaders:()=>ZR,BlobSetLegalHoldHeaders:()=>XR,BlobSetMetadataExceptionHeaders:()=>tT,BlobSetMetadataHeaders:()=>eT,BlobSetTagsExceptionHeaders:()=>NT,BlobSetTagsHeaders:()=>xT,BlobSetTierExceptionHeaders:()=>CT,BlobSetTierHeaders:()=>Iy,BlobStartCopyFromURLExceptionHeaders:()=>hT,BlobStartCopyFromURLHeaders:()=>mT,BlobTag:()=>dbe,BlobTags:()=>qp,BlobUndeleteExceptionHeaders:()=>HR,BlobUndeleteHeaders:()=>GR,Block:()=>Ibe,BlockBlobCommitBlockListExceptionHeaders:()=>lv,BlockBlobCommitBlockListHeaders:()=>cv,BlockBlobGetBlockListExceptionHeaders:()=>Av,BlockBlobGetBlockListHeaders:()=>uv,BlockBlobPutBlobFromUrlExceptionHeaders:()=>sv,BlockBlobPutBlobFromUrlHeaders:()=>rv,BlockBlobStageBlockExceptionHeaders:()=>iv,BlockBlobStageBlockFromURLExceptionHeaders:()=>av,BlockBlobStageBlockFromURLHeaders:()=>ov,BlockBlobStageBlockHeaders:()=>nv,BlockBlobUploadExceptionHeaders:()=>tv,BlockBlobUploadHeaders:()=>ev,BlockList:()=>MS,BlockLookupList:()=>LS,ClearRange:()=>wbe,ContainerAcquireLeaseExceptionHeaders:()=>BR,ContainerAcquireLeaseHeaders:()=>IR,ContainerBreakLeaseExceptionHeaders:()=>SR,ContainerBreakLeaseHeaders:()=>NR,ContainerChangeLeaseExceptionHeaders:()=>TR,ContainerChangeLeaseHeaders:()=>RR,ContainerCreateExceptionHeaders:()=>rR,ContainerCreateHeaders:()=>tR,ContainerDeleteExceptionHeaders:()=>oR,ContainerDeleteHeaders:()=>iR,ContainerFilterBlobsExceptionHeaders:()=>CR,ContainerFilterBlobsHeaders:()=>yR,ContainerGetAccessPolicyExceptionHeaders:()=>uR,ContainerGetAccessPolicyHeaders:()=>lR,ContainerGetAccountInfoExceptionHeaders:()=>LR,ContainerGetAccountInfoHeaders:()=>_R,ContainerGetPropertiesExceptionHeaders:()=>nR,ContainerGetPropertiesHeaders:()=>sR,ContainerItem:()=>lbe,ContainerListBlobFlatSegmentExceptionHeaders:()=>PR,ContainerListBlobFlatSegmentHeaders:()=>vR,ContainerListBlobHierarchySegmentExceptionHeaders:()=>DR,ContainerListBlobHierarchySegmentHeaders:()=>kR,ContainerProperties:()=>ube,ContainerReleaseLeaseExceptionHeaders:()=>bR,ContainerReleaseLeaseHeaders:()=>wR,ContainerRenameExceptionHeaders:()=>fR,ContainerRenameHeaders:()=>hR,ContainerRenewLeaseExceptionHeaders:()=>xR,ContainerRenewLeaseHeaders:()=>QR,ContainerRestoreExceptionHeaders:()=>mR,ContainerRestoreHeaders:()=>pR,ContainerSetAccessPolicyExceptionHeaders:()=>dR,ContainerSetAccessPolicyHeaders:()=>AR,ContainerSetMetadataExceptionHeaders:()=>cR,ContainerSetMetadataHeaders:()=>aR,ContainerSubmitBatchExceptionHeaders:()=>ER,ContainerSubmitBatchHeaders:()=>gR,CorsRule:()=>obe,DelimitedTextConfiguration:()=>xbe,FilterBlobItem:()=>Abe,FilterBlobSegment:()=>Up,GeoReplication:()=>cbe,JsonTextConfiguration:()=>Nbe,KeyInfo:()=>PS,ListBlobsFlatSegmentResponse:()=>DS,ListBlobsHierarchySegmentResponse:()=>_S,ListContainersSegmentResponse:()=>vS,Logging:()=>sbe,Metrics:()=>ibe,PageBlobClearPagesExceptionHeaders:()=>kT,PageBlobClearPagesHeaders:()=>PT,PageBlobCopyIncrementalExceptionHeaders:()=>VT,PageBlobCopyIncrementalHeaders:()=>zT,PageBlobCreateExceptionHeaders:()=>RT,PageBlobCreateHeaders:()=>ST,PageBlobGetPageRangesDiffExceptionHeaders:()=>FT,PageBlobGetPageRangesDiffHeaders:()=>OT,PageBlobGetPageRangesExceptionHeaders:()=>MT,PageBlobGetPageRangesHeaders:()=>LT,PageBlobResizeExceptionHeaders:()=>qT,PageBlobResizeHeaders:()=>UT,PageBlobUpdateSequenceNumberExceptionHeaders:()=>HT,PageBlobUpdateSequenceNumberHeaders:()=>GT,PageBlobUploadPagesExceptionHeaders:()=>vT,PageBlobUploadPagesFromURLExceptionHeaders:()=>_T,PageBlobUploadPagesFromURLHeaders:()=>DT,PageBlobUploadPagesHeaders:()=>TT,PageList:()=>yy,PageRange:()=>Bbe,QueryFormat:()=>Qbe,QueryRequest:()=>OS,QuerySerialization:()=>bbe,RetentionPolicy:()=>nbe,ServiceFilterBlobsExceptionHeaders:()=>eR,ServiceFilterBlobsHeaders:()=>ZS,ServiceGetAccountInfoExceptionHeaders:()=>jS,ServiceGetAccountInfoHeaders:()=>WS,ServiceGetPropertiesExceptionHeaders:()=>GS,ServiceGetPropertiesHeaders:()=>qS,ServiceGetStatisticsExceptionHeaders:()=>zS,ServiceGetStatisticsHeaders:()=>HS,ServiceGetUserDelegationKeyExceptionHeaders:()=>JS,ServiceGetUserDelegationKeyHeaders:()=>YS,ServiceListContainersSegmentExceptionHeaders:()=>$S,ServiceListContainersSegmentHeaders:()=>VS,ServiceSetPropertiesExceptionHeaders:()=>US,ServiceSetPropertiesHeaders:()=>FS,ServiceSubmitBatchExceptionHeaders:()=>XS,ServiceSubmitBatchHeaders:()=>KS,SignedIdentifier:()=>pbe,StaticWebsite:()=>abe,StorageError:()=>T,UserDelegationKey:()=>kS});var Fp={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"}}}}},sbe={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"}}}}},nbe={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"}}}}},ibe={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"}}}}},obe={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"}}}}},abe={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"}}}}},T={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"}}}}},TS={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},cbe={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"}}}}},vS={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"}}}}},lbe={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"}}}}}}},ube={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"}}}}},PS={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"}}}}},kS={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"}}}}},Up={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"}}}}},Abe={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"}}}}},qp={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"}}}}}}},dbe={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"}}}}},pbe={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"}}}}},mbe={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"}}}}},DS={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"}}}}},hbe={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"}}}}}}},fbe={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"}}}}},gbe={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"}}}}},Ebe={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"}}}}},_S={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"}}}}},ybe={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"}}}}}}},Cbe={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},LS={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"}}}}}}},MS={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"}}}}}}},Ibe={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"}}}}},yy={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"}}}}},Bbe={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"}}}}},wbe={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"}}}}},OS={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"}}}}},bbe={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},Qbe={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"}}}}}}},xbe={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"}}}}},Nbe={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},Sbe={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"}}}}}}},Rbe={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"}}}}},FS={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"}}}}},US={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qS={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"}}}}},GS={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HS={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"}}}}},zS={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VS={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"}}}}},$S={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},YS={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"}}}}},JS={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},WS={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"}}}}},jS={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},KS={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"}}}}},XS={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ZS={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"}}}}},eR={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},tR={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"}}}}},rR={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sR={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"}}}}},nR={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iR={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"}}}}},oR={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aR={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"}}}}},cR={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lR={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"}}}}},uR={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AR={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"}}}}},dR={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},pR={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"}}}}},mR={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hR={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"}}}}},fR={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gR={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"}}}}},ER={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yR={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"}}}}},CR={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IR={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"}}}}},BR={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wR={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"}}}}},bR={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QR={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"}}}}},xR={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NR={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"}}}}},SR={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RR={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"}}}}},TR={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vR={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"}}}}},PR={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kR={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"}}}}},DR={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_R={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"}}}}},LR={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Cy={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"}}}}},MR={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OR={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"}}}}},FR={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},UR={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"}}}}},qR={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GR={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"}}}}},HR={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zR={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"}}}}},VR={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$R={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"}}}}},YR={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JR={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"]}}}}},WR={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jR={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"}}}}},KR={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XR={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"}}}}},ZR={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},eT={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"}}}}},tT={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},rT={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"}}}}},sT={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nT={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"}}}}},iT={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oT={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"}}}}},aT={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cT={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"}}}}},lT={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uT={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"}}}}},AT={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dT={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"}}}}},pT={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mT={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"}}}}},hT={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"}}}}},fT={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"}}}}},gT={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"}}}}},ET={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"}}}}},yT={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Iy={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"}}}}},CT={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IT={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"}}}}},BT={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},By={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"}}}}},wT={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bT={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"}}}}},QT={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xT={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"}}}}},NT={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ST={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"}}}}},RT={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TT={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"}}}}},vT={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PT={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"}}}}},kT={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DT={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"}}}}},_T={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"}}}}},LT={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"}}}}},MT={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OT={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"}}}}},FT={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},UT={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"}}}}},qT={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GT={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"}}}}},HT={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zT={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"}}}}},VT={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$T={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"}}}}},YT={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JT={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"}}}}},WT={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jT={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"}}}}},KT={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"}}}}},XT={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"}}}}},ZT={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ev={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"}}}}},tv={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},rv={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"}}}}},sv={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"}}}}},nv={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"}}}}},iv={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ov={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"}}}}},av={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"}}}}},cv={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"}}}}},lv={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uv={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"}}}}},Av={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var oi={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},T4={parameterPath:"blobServiceProperties",mapper:Fp},zs={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},v={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},Gp={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Vs={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},P={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},k={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},D={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},G={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},v4={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Hp={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},zp={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},ai={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},ci={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},P4={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},k4={parameterPath:"keyInfo",mapper:PS},D4={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bu={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},wy={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},by={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},zt={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},Qy={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},xy={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ny={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},Vt={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},cr={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},dv={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},_4={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},L4={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}},ue={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},oe={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},ae={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},Sy={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},pv={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},M4={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},Ry={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},O4={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},F4={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},U4={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},q4={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},G4={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}},$s={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ty={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},vy={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},Py={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},ky={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},oa={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},Dy={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},_y={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Ly={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},My={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Oy={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},mv={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"},hv={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},H4={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},br={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},li={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},fc={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},z4={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},V4={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},ot={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},at={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},ct={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},Ie={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},Be={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},he={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},$4={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},Y4={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},J4={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},W4={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},j4={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}},ui={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},Ai={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},di={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},pi={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},mi={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},hi={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},fv={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Bn={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},wn={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},K4={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},X4={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},Rt={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},Z4={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},ao={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"]}}},gv={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},fi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},gi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},Ei={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},yi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},Fy={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},gc={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},bn={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},eW={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},Ci={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},tW={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},co={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},lo={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},Uy={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},uo={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},rW={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},sW={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},nW={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},iW={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},oW={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"]}}},aW={parameterPath:["options","queryRequest"],mapper:OS},cW={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ev={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},yv={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},Cv={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},Iv={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},Bv={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},lW={parameterPath:["options","tags"],mapper:qp},Ys={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},Ii={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},uW={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},wv={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},bv={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},Ec={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},yc={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},Cc={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},qy={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Qv={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Gy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},Hy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},zy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},AW={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Qu={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},dW={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},xu={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},pW={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},xv={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},mW={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},hW={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},fW={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},gW={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},EW={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},Nv={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Sv={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},Vy={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},$y={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},yW={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Rv={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},CW={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},Tv={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},vv={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},IW={parameterPath:"blocks",mapper:LS},Pv={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},BW={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var Yy=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},Tbe)}getProperties(e){return this.client.sendOperationRequest({options:e},vbe)}getStatistics(e){return this.client.sendOperationRequest({options:e},Pbe)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},kbe)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},Dbe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},_be)}submitBatch(e,r,s,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:s,options:n},Lbe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Mbe)}},aa=fs(Es,!0),Tbe={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:FS},default:{bodyMapper:T,headersMapper:US}},requestBody:T4,queryParameters:[Gp,Vs,P],urlParameters:[v],headerParameters:[oi,zs,k,D],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:aa},vbe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Fp,headersMapper:qS},default:{bodyMapper:T,headersMapper:GS}},queryParameters:[Gp,Vs,P],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:aa},Pbe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:TS,headersMapper:HS},default:{bodyMapper:T,headersMapper:zS}},queryParameters:[Gp,P,v4],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:aa},kbe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:vS,headersMapper:VS},default:{bodyMapper:T,headersMapper:$S}},queryParameters:[P,Hp,zp,ai,ci,P4],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:aa},Dbe={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:kS,headersMapper:YS},default:{bodyMapper:T,headersMapper:JS}},requestBody:k4,queryParameters:[Gp,P,D4],urlParameters:[v],headerParameters:[oi,zs,k,D],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:aa},_be={path:"/",httpMethod:"GET",responses:{200:{headersMapper:WS},default:{bodyMapper:T,headersMapper:jS}},queryParameters:[Vs,P,bu],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:aa},Lbe={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:KS},default:{bodyMapper:T,headersMapper:XS}},requestBody:wy,queryParameters:[P,by],urlParameters:[v],headerParameters:[zs,k,D,zt,Qy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:aa},Mbe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Up,headersMapper:ZS},default:{bodyMapper:T,headersMapper:eR}},queryParameters:[P,ai,ci,xy,Ny],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:aa};var Jy=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},Obe)}getProperties(e){return this.client.sendOperationRequest({options:e},Fbe)}delete(e){return this.client.sendOperationRequest({options:e},Ube)}setMetadata(e){return this.client.sendOperationRequest({options:e},qbe)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},Gbe)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},Hbe)}restore(e){return this.client.sendOperationRequest({options:e},zbe)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},Vbe)}submitBatch(e,r,s,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:s,options:n},$be)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Ybe)}acquireLease(e){return this.client.sendOperationRequest({options:e},Jbe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Wbe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},jbe)}breakLease(e){return this.client.sendOperationRequest({options:e},Kbe)}changeLease(e,r,s){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:s},Xbe)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},Zbe)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},eQe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},tQe)}},$t=fs(Es,!0),Obe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:tR},default:{bodyMapper:T,headersMapper:rR}},queryParameters:[P,Vt],urlParameters:[v],headerParameters:[k,D,G,cr,dv,_4,L4],isXML:!0,serializer:$t},Fbe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:sR},default:{bodyMapper:T,headersMapper:nR}},queryParameters:[P,Vt],urlParameters:[v],headerParameters:[k,D,G,ue],isXML:!0,serializer:$t},Ube={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:iR},default:{bodyMapper:T,headersMapper:oR}},queryParameters:[P,Vt],urlParameters:[v],headerParameters:[k,D,G,ue,oe,ae],isXML:!0,serializer:$t},qbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:aR},default:{bodyMapper:T,headersMapper:cR}},queryParameters:[P,Vt,Sy],urlParameters:[v],headerParameters:[k,D,G,cr,ue,oe],isXML:!0,serializer:$t},Gbe={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:lR},default:{bodyMapper:T,headersMapper:uR}},queryParameters:[P,Vt,pv],urlParameters:[v],headerParameters:[k,D,G,ue],isXML:!0,serializer:$t},Hbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:AR},default:{bodyMapper:T,headersMapper:dR}},requestBody:M4,queryParameters:[P,Vt,pv],urlParameters:[v],headerParameters:[oi,zs,k,D,dv,ue,oe,ae],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:$t},zbe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:pR},default:{bodyMapper:T,headersMapper:mR}},queryParameters:[P,Vt,Ry],urlParameters:[v],headerParameters:[k,D,G,O4,F4],isXML:!0,serializer:$t},Vbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:hR},default:{bodyMapper:T,headersMapper:fR}},queryParameters:[P,Vt,U4],urlParameters:[v],headerParameters:[k,D,G,q4,G4],isXML:!0,serializer:$t},$be={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:gR},default:{bodyMapper:T,headersMapper:ER}},requestBody:wy,queryParameters:[P,by,Vt],urlParameters:[v],headerParameters:[zs,k,D,zt,Qy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:$t},Ybe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Up,headersMapper:yR},default:{bodyMapper:T,headersMapper:CR}},queryParameters:[P,ai,ci,xy,Ny,Vt],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:$t},Jbe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:IR},default:{bodyMapper:T,headersMapper:BR}},queryParameters:[P,Vt,$s],urlParameters:[v],headerParameters:[k,D,G,oe,ae,Ty,vy,Py],isXML:!0,serializer:$t},Wbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:wR},default:{bodyMapper:T,headersMapper:bR}},queryParameters:[P,Vt,$s],urlParameters:[v],headerParameters:[k,D,G,oe,ae,ky,oa],isXML:!0,serializer:$t},jbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:QR},default:{bodyMapper:T,headersMapper:xR}},queryParameters:[P,Vt,$s],urlParameters:[v],headerParameters:[k,D,G,oe,ae,oa,Dy],isXML:!0,serializer:$t},Kbe={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:NR},default:{bodyMapper:T,headersMapper:SR}},queryParameters:[P,Vt,$s],urlParameters:[v],headerParameters:[k,D,G,oe,ae,_y,Ly],isXML:!0,serializer:$t},Xbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:RR},default:{bodyMapper:T,headersMapper:TR}},queryParameters:[P,Vt,$s],urlParameters:[v],headerParameters:[k,D,G,oe,ae,oa,My,Oy],isXML:!0,serializer:$t},Zbe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:DS,headersMapper:vR},default:{bodyMapper:T,headersMapper:PR}},queryParameters:[P,Hp,zp,ai,ci,Vt,mv,hv],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:$t},eQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:_S,headersMapper:kR},default:{bodyMapper:T,headersMapper:DR}},queryParameters:[P,Hp,zp,ai,ci,Vt,mv,hv,H4],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:$t},tQe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:_R},default:{bodyMapper:T,headersMapper:LR}},queryParameters:[Vs,P,bu],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:$t};var Wy=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},rQe)}getProperties(e){return this.client.sendOperationRequest({options:e},sQe)}delete(e){return this.client.sendOperationRequest({options:e},nQe)}undelete(e){return this.client.sendOperationRequest({options:e},iQe)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},oQe)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},aQe)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},cQe)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},lQe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},uQe)}setMetadata(e){return this.client.sendOperationRequest({options:e},AQe)}acquireLease(e){return this.client.sendOperationRequest({options:e},dQe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},pQe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},mQe)}changeLease(e,r,s){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:s},hQe)}breakLease(e){return this.client.sendOperationRequest({options:e},fQe)}createSnapshot(e){return this.client.sendOperationRequest({options:e},gQe)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},EQe)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},yQe)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},CQe)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},IQe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},BQe)}query(e){return this.client.sendOperationRequest({options:e},wQe)}getTags(e){return this.client.sendOperationRequest({options:e},bQe)}setTags(e){return this.client.sendOperationRequest({options:e},QQe)}},Xe=fs(Es,!0),rQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Cy},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Cy},default:{bodyMapper:T,headersMapper:MR}},queryParameters:[P,br,li],urlParameters:[v],headerParameters:[k,D,G,ue,oe,ae,fc,z4,V4,ot,at,ct,Ie,Be,he],isXML:!0,serializer:Xe},sQe={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:OR},default:{bodyMapper:T,headersMapper:FR}},queryParameters:[P,br,li],urlParameters:[v],headerParameters:[k,D,G,ue,oe,ae,ot,at,ct,Ie,Be,he],isXML:!0,serializer:Xe},nQe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:UR},default:{bodyMapper:T,headersMapper:qR}},queryParameters:[P,br,li,Y4],urlParameters:[v],headerParameters:[k,D,G,ue,oe,ae,Ie,Be,he,$4],isXML:!0,serializer:Xe},iQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:GR},default:{bodyMapper:T,headersMapper:HR}},queryParameters:[P,Ry],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:Xe},oQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:zR},default:{bodyMapper:T,headersMapper:VR}},queryParameters:[P,J4],urlParameters:[v],headerParameters:[k,D,G,W4,j4],isXML:!0,serializer:Xe},aQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:$R},default:{bodyMapper:T,headersMapper:YR}},queryParameters:[Vs,P],urlParameters:[v],headerParameters:[k,D,G,ue,oe,ae,Ie,Be,he,ui,Ai,di,pi,mi,hi],isXML:!0,serializer:Xe},cQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:JR},default:{bodyMapper:T,headersMapper:WR}},queryParameters:[P,br,li,fv],urlParameters:[v],headerParameters:[k,D,G,ae,Bn,wn],isXML:!0,serializer:Xe},lQe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:jR},default:{bodyMapper:T,headersMapper:KR}},queryParameters:[P,br,li,fv],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:Xe},uQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:XR},default:{bodyMapper:T,headersMapper:ZR}},queryParameters:[P,br,li,K4],urlParameters:[v],headerParameters:[k,D,G,X4],isXML:!0,serializer:Xe},AQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:eT},default:{bodyMapper:T,headersMapper:tT}},queryParameters:[P,Sy],urlParameters:[v],headerParameters:[k,D,G,cr,ue,oe,ae,ot,at,ct,Ie,Be,he,Rt],isXML:!0,serializer:Xe},dQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:rT},default:{bodyMapper:T,headersMapper:sT}},queryParameters:[P,$s],urlParameters:[v],headerParameters:[k,D,G,oe,ae,Ty,vy,Py,Ie,Be,he],isXML:!0,serializer:Xe},pQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:nT},default:{bodyMapper:T,headersMapper:iT}},queryParameters:[P,$s],urlParameters:[v],headerParameters:[k,D,G,oe,ae,ky,oa,Ie,Be,he],isXML:!0,serializer:Xe},mQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:oT},default:{bodyMapper:T,headersMapper:aT}},queryParameters:[P,$s],urlParameters:[v],headerParameters:[k,D,G,oe,ae,oa,Dy,Ie,Be,he],isXML:!0,serializer:Xe},hQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:cT},default:{bodyMapper:T,headersMapper:lT}},queryParameters:[P,$s],urlParameters:[v],headerParameters:[k,D,G,oe,ae,oa,My,Oy,Ie,Be,he],isXML:!0,serializer:Xe},fQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:uT},default:{bodyMapper:T,headersMapper:AT}},queryParameters:[P,$s],urlParameters:[v],headerParameters:[k,D,G,oe,ae,_y,Ly,Ie,Be,he],isXML:!0,serializer:Xe},gQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:dT},default:{bodyMapper:T,headersMapper:pT}},queryParameters:[P,Z4],urlParameters:[v],headerParameters:[k,D,G,cr,ue,oe,ae,ot,at,ct,Ie,Be,he,Rt],isXML:!0,serializer:Xe},EQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:mT},default:{bodyMapper:T,headersMapper:hT}},queryParameters:[P],urlParameters:[v],headerParameters:[k,D,G,cr,ue,oe,ae,Ie,Be,he,Bn,wn,ao,gv,fi,gi,Ei,yi,Fy,gc,bn,eW,Ci],isXML:!0,serializer:Xe},yQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:fT},default:{bodyMapper:T,headersMapper:gT}},queryParameters:[P],urlParameters:[v],headerParameters:[k,D,G,cr,ue,oe,ae,Ie,Be,he,Bn,wn,Rt,ao,fi,gi,Ei,yi,gc,bn,Ci,tW,co,lo,Uy,uo],isXML:!0,serializer:Xe},CQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:ET},default:{bodyMapper:T,headersMapper:yT}},queryParameters:[P,rW,nW],urlParameters:[v],headerParameters:[k,D,G,ue,sW],isXML:!0,serializer:Xe},IQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Iy},202:{headersMapper:Iy},default:{bodyMapper:T,headersMapper:CT}},queryParameters:[P,br,li,iW],urlParameters:[v],headerParameters:[k,D,G,ue,he,gv,oW],isXML:!0,serializer:Xe},BQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:IT},default:{bodyMapper:T,headersMapper:BT}},queryParameters:[Vs,P,bu],urlParameters:[v],headerParameters:[k,D,G],isXML:!0,serializer:Xe},wQe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:By},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:By},default:{bodyMapper:T,headersMapper:wT}},requestBody:aW,queryParameters:[P,br,cW],urlParameters:[v],headerParameters:[oi,zs,k,D,ue,oe,ae,ot,at,ct,Ie,Be,he],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Xe},bQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:qp,headersMapper:bT},default:{bodyMapper:T,headersMapper:QT}},queryParameters:[P,br,li,Ev],urlParameters:[v],headerParameters:[k,D,G,ue,he,yv,Cv,Iv,Bv],isXML:!0,serializer:Xe},QQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:xT},default:{bodyMapper:T,headersMapper:NT}},requestBody:lW,queryParameters:[P,li,Ev],urlParameters:[v],headerParameters:[oi,zs,k,D,ue,he,yv,Cv,Iv,Bv,Ys,Ii],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Xe};var jy=class{static{o(this,"PageBlobImpl")}client;constructor(e){this.client=e}create(e,r,s){return this.client.sendOperationRequest({contentLength:e,blobContentLength:r,options:s},xQe)}uploadPages(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},NQe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},SQe)}uploadPagesFromURL(e,r,s,n,i){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:s,range:n,options:i},RQe)}getPageRanges(e){return this.client.sendOperationRequest({options:e},TQe)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},vQe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},PQe)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},kQe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},DQe)}},Ao=fs(Es,!0),xQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ST},default:{bodyMapper:T,headersMapper:RT}},queryParameters:[P],urlParameters:[v],headerParameters:[k,D,G,zt,cr,ue,oe,ae,ot,at,ct,Ie,Be,he,ui,Ai,di,pi,mi,hi,Bn,wn,Rt,ao,bn,Ci,uW,wv,bv],isXML:!0,serializer:Ao},NQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:TT},default:{bodyMapper:T,headersMapper:vT}},requestBody:yc,queryParameters:[P,qy],urlParameters:[v],headerParameters:[k,D,zt,ue,oe,ae,fc,ot,at,ct,Ie,Be,he,Rt,Ys,Ii,Ec,Cc,Qv,Gy,Hy,zy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Ao},SQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:PT},default:{bodyMapper:T,headersMapper:kT}},queryParameters:[P,qy],urlParameters:[v],headerParameters:[k,D,G,zt,ue,oe,ae,fc,ot,at,ct,Ie,Be,he,Rt,Gy,Hy,zy,AW],isXML:!0,serializer:Ao},RQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:DT},default:{bodyMapper:T,headersMapper:_T}},queryParameters:[P,qy],urlParameters:[v],headerParameters:[k,D,G,zt,ue,oe,ae,ot,at,ct,Ie,Be,he,Rt,fi,gi,Ei,yi,co,lo,uo,Qv,Gy,Hy,zy,Qu,dW,xu,pW],isXML:!0,serializer:Ao},TQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:yy,headersMapper:LT},default:{bodyMapper:T,headersMapper:MT}},queryParameters:[P,ai,ci,br,xv],urlParameters:[v],headerParameters:[k,D,G,ue,oe,ae,fc,Ie,Be,he],isXML:!0,serializer:Ao},vQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:yy,headersMapper:OT},default:{bodyMapper:T,headersMapper:FT}},queryParameters:[P,ai,ci,br,xv,mW],urlParameters:[v],headerParameters:[k,D,G,ue,oe,ae,fc,Ie,Be,he,hW],isXML:!0,serializer:Ao},PQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:UT},default:{bodyMapper:T,headersMapper:qT}},queryParameters:[Vs,P],urlParameters:[v],headerParameters:[k,D,G,ue,oe,ae,ot,at,ct,Ie,Be,he,Rt,wv],isXML:!0,serializer:Ao},kQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:GT},default:{bodyMapper:T,headersMapper:HT}},queryParameters:[Vs,P],urlParameters:[v],headerParameters:[k,D,G,ue,oe,ae,Ie,Be,he,bv,fW],isXML:!0,serializer:Ao},DQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:zT},default:{bodyMapper:T,headersMapper:VT}},queryParameters:[P,gW],urlParameters:[v],headerParameters:[k,D,G,oe,ae,Ie,Be,he,gc],isXML:!0,serializer:Ao};var Ky=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},_Qe)}appendBlock(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},LQe)}appendBlockFromUrl(e,r,s){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:s},MQe)}seal(e){return this.client.sendOperationRequest({options:e},OQe)}},Xy=fs(Es,!0),_Qe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:$T},default:{bodyMapper:T,headersMapper:YT}},queryParameters:[P],urlParameters:[v],headerParameters:[k,D,G,zt,cr,ue,oe,ae,ot,at,ct,Ie,Be,he,ui,Ai,di,pi,mi,hi,Bn,wn,Rt,bn,Ci,EW],isXML:!0,serializer:Xy},LQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:JT},default:{bodyMapper:T,headersMapper:WT}},requestBody:yc,queryParameters:[P,Nv],urlParameters:[v],headerParameters:[k,D,zt,ue,oe,ae,ot,at,ct,Ie,Be,he,Rt,Ys,Ii,Ec,Cc,Sv,Vy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Xy},MQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:jT},default:{bodyMapper:T,headersMapper:KT}},queryParameters:[P,Nv],urlParameters:[v],headerParameters:[k,D,G,zt,ue,oe,ae,ot,at,ct,Ie,Be,he,Rt,fi,gi,Ei,yi,co,lo,uo,Ys,Qu,xu,Sv,Vy,$y],isXML:!0,serializer:Xy},OQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:XT},default:{bodyMapper:T,headersMapper:ZT}},queryParameters:[P,yW],urlParameters:[v],headerParameters:[k,D,G,ue,oe,ae,Ie,Be,Vy],isXML:!0,serializer:Xy};var Zy=class{static{o(this,"BlockBlobImpl")}client;constructor(e){this.client=e}upload(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},FQe)}putBlobFromUrl(e,r,s){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:s},UQe)}stageBlock(e,r,s,n){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:s,options:n},qQe)}stageBlockFromURL(e,r,s,n){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:s,options:n},GQe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},HQe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},zQe)}},Su=fs(Es,!0),FQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ev},default:{bodyMapper:T,headersMapper:tv}},requestBody:yc,queryParameters:[P],urlParameters:[v],headerParameters:[k,D,zt,cr,ue,oe,ae,ot,at,ct,Ie,Be,he,ui,Ai,di,pi,mi,hi,Bn,wn,Rt,ao,bn,Ci,Ys,Ii,Ec,Cc,Rv],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Su},UQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:rv},default:{bodyMapper:T,headersMapper:sv}},queryParameters:[P],urlParameters:[v],headerParameters:[k,D,G,zt,cr,ue,oe,ae,ot,at,ct,Ie,Be,he,ui,Ai,di,pi,mi,hi,Rt,ao,fi,gi,Ei,yi,Fy,gc,bn,co,lo,Uy,uo,Ys,Rv,CW],isXML:!0,serializer:Su},qQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:nv},default:{bodyMapper:T,headersMapper:iv}},requestBody:yc,queryParameters:[P,Tv,vv],urlParameters:[v],headerParameters:[k,D,zt,ue,ot,at,ct,Rt,Ys,Ii,Ec,Cc],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Su},GQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ov},default:{bodyMapper:T,headersMapper:av}},queryParameters:[P,Tv,vv],urlParameters:[v],headerParameters:[k,D,G,zt,ue,ot,at,ct,Rt,fi,gi,Ei,yi,co,lo,uo,Qu,xu,$y],isXML:!0,serializer:Su},HQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:cv},default:{bodyMapper:T,headersMapper:lv}},requestBody:IW,queryParameters:[P,Pv],urlParameters:[v],headerParameters:[oi,zs,k,D,cr,ue,oe,ae,ot,at,ct,Ie,Be,he,ui,Ai,di,pi,mi,hi,Bn,wn,Rt,ao,bn,Ci,Ys,Ii],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Su},zQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:MS,headersMapper:uv},default:{bodyMapper:T,headersMapper:Av}},queryParameters:[P,br,Pv,BW],urlParameters:[v],headerParameters:[k,D,G,ue,he],isXML:!0,serializer:Su};var Vp=class extends Qp{static{o(this,"StorageClient")}url;version;constructor(e,r){if(e===void 0)throw new Error("'url' cannot be null");r||(r={});let s={requestContentType:"application/json; charset=utf-8"},n="azsdk-js-azure-storage-blob/12.30.0",i=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${n}`:`${n}`,a={...s,...r,userAgentOptions:{userAgentPrefix:i},endpoint:r.endpoint??r.baseUri??"{url}"};super(a),this.url=e,this.version=r.version||"2026-02-06",this.service=new Yy(this),this.container=new Jy(this),this.blob=new Wy(this),this.pageBlob=new jy(this),this.appendBlob=new Ky(this),this.blockBlob=new Zy(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var $p=class extends Vp{static{o(this,"StorageContextClient")}async sendOperationRequest(e,r){let s={...r};return(s.path==="/{containerName}"||s.path==="/{containerName}/{blob}")&&(s.path=""),super.sendOperationRequest(e,s)}};function bW(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=$Qe(r),e.pathname=r,e.toString()}o(bW,"escapeURLPath");function VQe(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let r=t.split(";");for(let s of r)s.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=s.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(VQe,"getProxyUriFromDevConnString");function Ic(t,e){let r=t.split(";");for(let s of r)if(s.trim().startsWith(e))return s.trim().match(e+"=(.*)")[1];return""}o(Ic,"getValueInConnString");function Bc(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=VQe(t),t=y4);let r=Ic(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let s="",n="",i=Buffer.from("accountKey","base64"),a="";if(n=Ic(t,"AccountName"),i=Buffer.from(Ic(t,"AccountKey"),"base64"),!r){s=Ic(t,"DefaultEndpointsProtocol");let c=s.toLowerCase();if(c!=="https"&&c!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(a=Ic(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${s}://${n}.blob.${a}`}if(n){if(i.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:n,accountKey:i,proxyUri:e}}else{let s=Ic(t,"SharedAccessSignature"),n=Ic(t,"AccountName");if(n||(n=Lv(r)),r){if(!s)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return s.startsWith("?")&&(s=s.substring(1)),{kind:"SASConnString",url:r,accountName:n,accountSas:s}}}o(Bc,"extractConnectionStringParts");function $Qe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o($Qe,"escape");function Dt(t,e){let r=new URL(t),s=r.pathname;return s=s?s.endsWith("/")?`${s}${e}`:`${s}/${e}`:e,r.pathname=s,r.toString()}o(Dt,"appendToURLPath");function Ru(t,e,r){let s=new URL(t),n=encodeURIComponent(e),i=r?encodeURIComponent(r):void 0,a=s.search===""?"?":s.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[u]=l.split("=",2);u!==n&&c.push(l)}return i&&c.push(`${n}=${i}`),s.search=c.length?`?${c.join("&")}`:"",s.toString()}o(Ru,"setURLParameter");function kv(t,e){return new URL(t).searchParams.get(e)??void 0}o(kv,"getURLParameter");function QW(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(QW,"getURLScheme");function Yp(t,e){let r=new URL(t),s=r.search;return s?s+="&"+e:s=e,r.search=s,r.toString()}o(Yp,"appendToURLQuery");function xe(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(xe,"truncatedISO8061Date");function YQe(t){return Qe?Buffer.from(t).toString("base64"):btoa(t)}o(YQe,"base64encode");function Dv(t,e){t.length>42&&(t=t.slice(0,42));let i=t+JQe(e.toString(),48-t.length,"0");return YQe(i)}o(Dv,"generateBlockID");function JQe(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(JQe,"padStart");function _v(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(_v,"iEqual");function Lv(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:eC(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(Lv,"getAccountNameFromUrl");function eC(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&&b4.includes(t.port)}o(eC,"isIpEndpointStyle");function ca(t){if(t===void 0)return;let e=[];for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let s=t[r];e.push(`${encodeURIComponent(r)}=${encodeURIComponent(s)}`)}return e.join("&")}o(ca,"toBlobTagsString");function xW(t){if(t===void 0)return;let e={blobTagSet:[]};for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let s=t[r];e.blobTagSet.push({key:r,value:s})}return e}o(xW,"toBlobTags");function tC(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(tC,"toTags");function Mv(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(Mv,"toQuerySerialization");function rC(t){if(!t||"policy-id"in t)return;let e=[];for(let r in t){let s=r.split("_"),n="or-";s[0].startsWith(n)&&(s[0]=s[0].substring(n.length));let i={ruleId:s[1],replicationStatus:t[r]},a=e.findIndex(c=>c.policyId===s[0]);a>-1?e[a].rules.push(i):e.push({policyId:s[0],rules:[i]})}return e}o(rC,"parseObjectReplicationRecord");function Tu(t){return t?t.scheme+" "+t.value:void 0}o(Tu,"httpAuthorizationToString");function*Ov(t){let e=[],r=[];t.pageRange&&(e=t.pageRange),t.clearRange&&(r=t.clearRange);let s=0,n=0;for(;s0&&s.length>0&&e.push(`${r}=${s}`))}};function Jp(t,e,r){return Wp(t,e,r).sasQueryParameters}o(Jp,"generateBlobSASQueryParameters");function Wp(t,e,r){let s=t.version?t.version:gy,n=e instanceof it?e:void 0,i;if(n===void 0&&r!==void 0&&(i=new hy(r,e)),n===void 0&&i===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(s>="2020-12-06")return n!==void 0?KQe(t,n):s>="2025-07-05"?txe(t,i):exe(t,i);if(s>="2018-11-09")return n!==void 0?jQe(t,n):s>="2020-02-10"?ZQe(t,i):XQe(t,i);if(s>="2015-04-05"){if(n!==void 0)return WQe(t,n);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(Wp,"generateBlobSASQueryParametersInternal");function WQe(t,e){if(t=bc(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 s;t.permissions&&(t.blobName?s=Bi.parse(t.permissions.toString()).toString():s=wi.parse(t.permissions.toString()).toString());let n=[s||"",t.startsOn?xe(t.startsOn,!1):"",t.expiresOn?xe(t.expiresOn,!1):"",wc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Qn(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(` `),i=e.computeHMACSHA256(n);return{sasQueryParameters:new xn(t.version,i,s,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:n}}o(WQe,"generateBlobSASQueryParameters20150405");function jQe(t,e){if(t=bc(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",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Bi.parse(t.permissions.toString()).toString():n=wi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?xe(t.startsOn,!1):"",t.expiresOn?xe(t.expiresOn,!1):"",wc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` `),a=e.computeHMACSHA256(i);return{sasQueryParameters:new xn(t.version,a,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(jQe,"generateBlobSASQueryParameters20181109");function KQe(t,e){if(t=bc(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",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Bi.parse(t.permissions.toString()).toString():n=wi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?xe(t.startsOn,!1):"",t.expiresOn?xe(t.expiresOn,!1):"",wc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,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(i);return{sasQueryParameters:new xn(t.version,a,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,void 0,void 0,void 0,t.encryptionScope),stringToSign:i}}o(KQe,"generateBlobSASQueryParameters20201206");function XQe(t,e){if(t=bc(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",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Bi.parse(t.permissions.toString()).toString():n=wi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?xe(t.startsOn,!1):"",t.expiresOn?xe(t.expiresOn,!1):"",wc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?xe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?xe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` `),a=e.computeHMACSHA256(i);return{sasQueryParameters:new xn(t.version,a,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,e.userDelegationKey),stringToSign:i}}o(XQe,"generateBlobSASQueryParametersUDK20181109");function ZQe(t,e){if(t=bc(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",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Bi.parse(t.permissions.toString()).toString():n=wi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?xe(t.startsOn,!1):"",t.expiresOn?xe(t.expiresOn,!1):"",wc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?xe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?xe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` `),a=e.computeHMACSHA256(i);return{sasQueryParameters:new xn(t.version,a,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,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:i}}o(ZQe,"generateBlobSASQueryParametersUDK20200210");function exe(t,e){if(t=bc(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",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Bi.parse(t.permissions.toString()).toString():n=wi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?xe(t.startsOn,!1):"",t.expiresOn?xe(t.expiresOn,!1):"",wc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?xe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?xe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` `),a=e.computeHMACSHA256(i);return{sasQueryParameters:new xn(t.version,a,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,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:i}}o(exe,"generateBlobSASQueryParametersUDK20201206");function txe(t,e){if(t=bc(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",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Bi.parse(t.permissions.toString()).toString():n=wi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?xe(t.startsOn,!1):"",t.expiresOn?xe(t.expiresOn,!1):"",wc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?xe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?xe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` `),a=e.computeHMACSHA256(i);return{sasQueryParameters:new xn(t.version,a,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,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:i}}o(txe,"generateBlobSASQueryParametersUDK20250705");function wc(t,e,r){let s=[`/blob/${t}/${e}`];return r&&s.push(`/${r}`),s.join("")}o(wc,"getCanonicalName");function bc(t){let e=t.version?t.version:gy;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(bc,"SASSignatureValuesSanityCheckAndAutofill");var jp=class{static{o(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let s=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=s.container):(this._isContainer=!1,this._containerOrBlobOperation=s.blob),r||(r=mu()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==In||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==In||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 z.withSpan("BlobLeaseClient-acquireLease",r,async s=>J(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:s.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==In||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==In||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 z.withSpan("BlobLeaseClient-changeLease",r,async s=>{let n=J(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions}));return this._leaseId=e,n})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==In||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==In||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 z.withSpan("BlobLeaseClient-releaseLease",e,async r=>J(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!==In||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==In||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 z.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!==In||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==In||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 z.withSpan("BlobLeaseClient-breakLease",r,async s=>{let n={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions};return J(await this._containerOrBlobOperation.breakLease(n))})}};var SW=require("node:stream");var sC=class extends SW.Readable{static{o(this,"RetriableReadableStream")}start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,r,s,n,i={}){super({highWaterMark:i.highWaterMark}),this.getter=r,this.source=e,this.start=s,this.offset=s,this.end=s+n-1,this.maxRetryRequests=i.maxRetryRequests&&i.maxRetryRequests>=0?i.maxRetryRequests:0,this.onProgress=i.onProgress,this.options=i,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=o(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()},"sourceDataHandler");sourceAbortedHandler=o(()=>{let e=new ms("The operation was aborted.");this.destroy(e)},"sourceAbortedHandler");sourceErrorOrEndHandler=o(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.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}`))},"sourceErrorOrEndHandler");_destroy(e,r){this.removeSourceEventHandlers(),this.source.destroy(),r(e===null?void 0:e)}};var nC=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 Qe?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,s,n,i={}){this.originalResponse=e,this.blobDownloadStream=new sC(this.originalResponse.readableStreamBody,r,s,n,i)}};var DW=require("node:stream");var Fv=new Uint8Array([79,98,106,1]),RW="avro.codec",TW="avro.schema";var tt=class t{static{o(this,"AvroParser")}static async readFixedBytes(e,r,s={}){let n=await e.read(r,{abortSignal:s.abortSignal});if(n.length!==r)throw new Error("Hit stream end.");return n}static async readByte(e,r={}){return(await t.readFixedBytes(e,1,r))[0]}static async readZigZagLong(e,r={}){let s=0,n=0,i,a,c;do i=await t.readByte(e,r),a=i&128,s|=(i&127)<Number.MAX_SAFE_INTEGER)throw new Error("Integer overflow.");return l}return s>>1^-(s&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 s=await t.readByte(e,r);if(s===1)return!0;if(s===0)return!1;throw new Error("Byte was not a boolean.")}static async readFloat(e,r={}){let s=await t.readFixedBytes(e,4,r);return new DataView(s.buffer,s.byteOffset,s.byteLength).getFloat32(0,!0)}static async readDouble(e,r={}){let s=await t.readFixedBytes(e,8,r);return new DataView(s.buffer,s.byteOffset,s.byteLength).getFloat64(0,!0)}static async readBytes(e,r={}){let s=await t.readLong(e,r);if(s<0)throw new Error("Bytes size was negative.");return e.read(s,{abortSignal:r.abortSignal})}static async readString(e,r={}){let s=await t.readBytes(e,r);return new TextDecoder().decode(s)}static async readMapPair(e,r,s={}){let n=await t.readString(e,s),i=await r(e,s);return{key:n,value:i}}static async readMap(e,r,s={}){let n=o((c,l={})=>t.readMapPair(c,r,l),"readPairMethod"),i=await t.readArray(e,n,s),a={};for(let c of i)a[c.key]=c.value;return a}static async readArray(e,r,s={}){let n=[];for(let i=await t.readLong(e,s);i!==0;i=await t.readLong(e,s))for(i<0&&(await t.readLong(e,s),i=-i);i--;){let a=await r(e,s);n.push(a)}return n}},Qc;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(Qc||(Qc={}));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 po=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 Uv(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new Gv(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case Qc.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 s={};if(!e.fields)throw new Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let n of e.fields)s[n.name]=t.fromSchema(n.type);return new zv(s,e.name);case Qc.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 qv(e.symbols);case Qc.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new Hv(t.fromSchema(e.values));case Qc.ARRAY:case Qc.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},Uv=class extends po{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case Yt.NULL:return tt.readNull();case Yt.BOOLEAN:return tt.readBoolean(e,r);case Yt.INT:return tt.readInt(e,r);case Yt.LONG:return tt.readLong(e,r);case Yt.FLOAT:return tt.readFloat(e,r);case Yt.DOUBLE:return tt.readDouble(e,r);case Yt.BYTES:return tt.readBytes(e,r);case Yt.STRING:return tt.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},qv=class extends po{static{o(this,"AvroEnumType")}_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let s=await tt.readInt(e,r);return this._symbols[s]}},Gv=class extends po{static{o(this,"AvroUnionType")}_types;constructor(e){super(),this._types=e}async read(e,r={}){let s=await tt.readInt(e,r);return this._types[s].read(e,r)}},Hv=class extends po{static{o(this,"AvroMapType")}_itemType;constructor(e){super(),this._itemType=e}read(e,r={}){let s=o((n,i)=>this._itemType.read(n,i),"readItemMethod");return tt.readMap(e,s,r)}},zv=class extends po{static{o(this,"AvroRecordType")}_name;_fields;constructor(e,r){super(),this._fields=e,this._name=r}async read(e,r={}){let s={};s.$schema=this._name;for(let n in this._fields)Object.prototype.hasOwnProperty.call(this._fields,n)&&(s[n]=await this._fields[n].read(e,r));return s}};function Vv(t,e){if(t===e)return!0;if(t==null||e==null||t.length!==e.length)return!1;for(let r=0;r0)for(let i=0;i0}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 s=await tt.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!Vv(this._syncMarker,s))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await tt.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await tt.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};var Xp=class{static{o(this,"AvroReadable")}};var kW=require("buffer");var PW=new ms("Reading from the avro stream was aborted."),Zp=class extends Xp{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?kW.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 PW;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 s=this._readable.read(e);return s?(this._position+=s.length,this.toUint8Array(s)):new Promise((n,i)=>{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",u)},"cleanUp"),c=o(()=>{let A=this._readable.read(e);A&&(this._position+=A.length,a(),n(this.toUint8Array(A)))},"readableCallback"),l=o(()=>{a(),i()},"rejectCallback"),u=o(()=>{a(),i(PW)},"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",u)})}};var iC=class extends DW.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 Kp(new Zp(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,s=r.$schema;if(typeof s!="string")throw Error("Missing schema in avro record.");switch(s){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let n=r.data;if(!(n instanceof Uint8Array))throw Error("Invalid data in avro result record.");this.push(Buffer.from(n))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let n=r.bytesScanned;if(typeof n!="number")throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:n})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let n=r.totalBytes;if(typeof n!="number")throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:n})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let n=r.fatal;if(typeof n!="boolean")throw Error("Invalid fatal in avro error record.");let i=r.name;if(typeof i!="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:i,isFatal:n,description:a})}break;default:throw Error(`Unknown schema ${s} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}};var oC=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 Qe?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new iC(this.originalResponse.readableStreamBody,r)}};var $v;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})($v||($v={}));var Yv;(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"})(Yv||(Yv={}));function la(t){if(t!==void 0)return t}o(la,"toAccessTier");function _t(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=E4)}o(_t,"ensureCpkIfSpecified");var Jv;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(Jv||(Jv={}));function aC(t){let e=(t._response.parsedBody.pageRange||[]).map(s=>({offset:s.start,count:s.end-s.start})),r=(t._response.parsedBody.clearRange||[]).map(s=>({offset:s.start,count:s.end-s.start}));return{...t,pageRange:e,clearRange:r,_response:{...t._response,parsedBody:{pageRange:e,clearRange:r}}}}o(aC,"rangeResponseFromModel");var y8=w(E8(),1);var gC=class extends y8.Poller{static{o(this,"BlobBeginCopyFromUrlPoller")}intervalInMs;constructor(e){let{blobClient:r,copySource:s,intervalInMs:n=15e3,onProgress:i,resumeFrom:a,startCopyFromURLOptions:c}=e,l;a&&(l=JSON.parse(a).state);let u=sm({...l,blobClient:r,copySource:s,startCopyFromURLOptions:c});super(u),typeof i=="function"&&this.onProgress(i),this.intervalInMs=n}delay(){return hp(this.intervalInMs)}},Xxe=o(async function(e={}){let r=this.state,{copyId:s}=r;return r.isCompleted?sm(r):s?(await r.blobClient.abortCopyFromURL(s,{abortSignal:e.abortSignal}),r.isCancelled=!0,sm(r)):(r.isCancelled=!0,sm(r))},"cancel"),Zxe=o(async function(e={}){let r=this.state,{blobClient:s,copySource:n,startCopyFromURLOptions:i}=r;if(r.isStarted){if(!r.isCompleted)try{let a=await r.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:c,copyProgress:l}=a,u=r.copyProgress;l&&(r.copyProgress=l),c==="pending"&&l!==u&&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 s.startCopyFromURL(n,i);r.copyId=a.copyId,a.copyStatus==="success"&&(r.result=a,r.isCompleted=!0)}return sm(r)},"update"),e0e=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function sm(t){return{state:{...t},cancel:Xxe,toString:e0e,update:Zxe}}o(sm,"makeBlobBeginCopyFromURLPollOperation");function Hr(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(Hr,"rangeToString");var C8=require("events");var nm;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(nm||(nm={}));var im=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=nm.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new C8.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",s=>{this.state=nm.Error,r(s)})}))}nextOperation(){return this.offset=this.operations.length){this.emitter.emit("finish");return}for(;this.actives{let u=setTimeout(()=>l(new Error("The operation cannot be completed in timeout.")),1e5);t.on("readable",()=>{if(i>=a){clearTimeout(u),c();return}let A=t.read();if(!A)return;typeof A=="string"&&(A=Buffer.from(A,n));let d=i+A.length>a?a-i:A.length;e.fill(A.slice(0,d),r+i,r+i+d),i+=d}),t.on("end",()=>{clearTimeout(u),i{clearTimeout(u),l(A)})})}o(B8,"streamToBuffer");async function w8(t,e){return new Promise((r,s)=>{let n=EC.default.createWriteStream(e);t.on("error",i=>{s(i)}),n.on("error",i=>{s(i)}),n.on("close",r),t.pipe(n)})}o(w8,"readStreamToLocalFile");var b8=I8.default.promisify(EC.default.stat),Q8=EC.default.createReadStream;var mo=class t extends vu{static{o(this,"BlobClient")}blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,r,s,n){n=n||{};let i,a;if(oo(r))a=e,i=r;else if(Qe&&r instanceof it||r instanceof Ke||hs(r))a=e,n=s,i=Ct(r,n);else if(!r&&typeof r!="string")a=e,s&&typeof s!="string"&&(n=s),i=Ct(new Ke,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=Bc(e);if(u.kind==="AccountConnString")if(Qe){let A=new it(u.accountName,u.accountKey);a=Dt(Dt(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=ea(u.proxyUri)),i=Ct(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=Dt(Dt(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=Ct(new Ke,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,i),{blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl(),this.blobContext=this.storageClientContext.blob,this._snapshot=kv(this.url,io.Parameters.SNAPSHOT),this._versionId=kv(this.url,io.Parameters.VERSIONID)}withSnapshot(e){return new t(Ru(this.url,io.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(Ru(this.url,io.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new CC(this.url,this.pipeline)}getBlockBlobClient(){return new Du(this.url,this.pipeline)}getPageBlobClient(){return new IC(this.url,this.pipeline)}async download(e=0,r,s={}){return s.conditions=s.conditions||{},s.conditions=s.conditions||{},_t(s.customerProvidedKey,this.isHttps),z.withSpan("BlobClient-download",s,async n=>{let i=J(await this.blobContext.download({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},requestOptions:{onDownloadProgress:Qe?void 0:s.onProgress},range:e===0&&!r?void 0:Hr({offset:e,count:r}),rangeGetContentMD5:s.rangeGetContentMD5,rangeGetContentCRC64:s.rangeGetContentCrc64,snapshot:s.snapshot,cpkInfo:s.customerProvidedKey,tracingOptions:n.tracingOptions})),a={...i,_response:i._response,objectReplicationDestinationPolicyId:i.objectReplicationPolicyId,objectReplicationSourceProperties:rC(i.objectReplicationRules)};if(!Qe)return a;if((s.maxRetryRequests===void 0||s.maxRetryRequests<0)&&(s.maxRetryRequests=5),i.contentLength===void 0)throw new RangeError("File download response doesn't contain valid content length header");if(!i.etag)throw new RangeError("File download response doesn't contain valid etag header");return new nC(a,async c=>{let l={leaseAccessConditions:s.conditions,modifiedAccessConditions:{ifMatch:s.conditions.ifMatch||i.etag,ifModifiedSince:s.conditions.ifModifiedSince,ifNoneMatch:s.conditions.ifNoneMatch,ifUnmodifiedSince:s.conditions.ifUnmodifiedSince,ifTags:s.conditions?.tagConditions},range:Hr({count:e+i.contentLength-c,offset:c}),rangeGetContentMD5:s.rangeGetContentMD5,rangeGetContentCRC64:s.rangeGetContentCrc64,snapshot:s.snapshot,cpkInfo:s.customerProvidedKey};return(await this.blobContext.download({abortSignal:s.abortSignal,...l})).readableStreamBody},e,i.contentLength,{maxRetryRequests:s.maxRetryRequests,onProgress:s.onProgress})})}async exists(e={}){return z.withSpan("BlobClient-exists",e,async r=>{try{return _t(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:r.tracingOptions}),!0}catch(s){if(s.statusCode===404)return!1;if(s.statusCode===409&&(s.details.errorCode===B4||s.details.errorCode===w4))return!0;throw s}})}async getProperties(e={}){return e.conditions=e.conditions||{},_t(e.customerProvidedKey,this.isHttps),z.withSpan("BlobClient-getProperties",e,async r=>{let s=J(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:r.tracingOptions}));return{...s,_response:s._response,objectReplicationDestinationPolicyId:s.objectReplicationPolicyId,objectReplicationSourceProperties:rC(s.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},z.withSpan("BlobClient-delete",e,async r=>J(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 z.withSpan("BlobClient-deleteIfExists",e,async r=>{try{let s=J(await this.delete(r));return{succeeded:!0,...s,_response:s._response}}catch(s){if(s.details?.errorCode==="BlobNotFound")return{succeeded:!1,...s.response?.parsedHeaders,_response:s.response};throw s}})}async undelete(e={}){return z.withSpan("BlobClient-undelete",e,async r=>J(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},_t(r.customerProvidedKey,this.isHttps),z.withSpan("BlobClient-setHTTPHeaders",r,async s=>J(await this.blobContext.setHttpHeaders({abortSignal:r.abortSignal,blobHttpHeaders:e,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions})))}async setMetadata(e,r={}){return r.conditions=r.conditions||{},_t(r.customerProvidedKey,this.isHttps),z.withSpan("BlobClient-setMetadata",r,async s=>J(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:s.tracingOptions})))}async setTags(e,r={}){return z.withSpan("BlobClient-setTags",r,async s=>J(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},blobModifiedAccessConditions:r.conditions,tracingOptions:s.tracingOptions,tags:xW(e)})))}async getTags(e={}){return z.withSpan("BlobClient-getTags",e,async r=>{let s=J(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions}));return{...s,_response:s._response,tags:tC({blobTagSet:s.blobTagSet})||{}}})}getBlobLeaseClient(e){return new jp(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},_t(e.customerProvidedKey,this.isHttps),z.withSpan("BlobClient-createSnapshot",e,async r=>J(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 s={abortCopyFromURL:o((...i)=>this.abortCopyFromURL(...i),"abortCopyFromURL"),getProperties:o((...i)=>this.getProperties(...i),"getProperties"),startCopyFromURL:o((...i)=>this.startCopyFromURL(...i),"startCopyFromURL")},n=new gC({blobClient:s,copySource:e,intervalInMs:r.intervalInMs,onProgress:r.onProgress,resumeFrom:r.resumeFrom,startCopyFromURLOptions:r});return await n.poll(),n}async abortCopyFromURL(e,r={}){return z.withSpan("BlobClient-abortCopyFromURL",r,async s=>J(await this.blobContext.abortCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,tracingOptions:s.tracingOptions})))}async syncCopyFromURL(e,r={}){return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},z.withSpan("BlobClient-syncCopyFromURL",r,async s=>J(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:Tu(r.sourceAuthorization),tier:la(r.tier),blobTagsString:ca(r.tags),immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,encryptionScope:r.encryptionScope,copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}async setAccessTier(e,r={}){return z.withSpan("BlobClient-setAccessTier",r,async s=>J(await this.blobContext.setTier(la(e),{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},rehydratePriority:r.rehydratePriority,tracingOptions:s.tracingOptions})))}async downloadToBuffer(e,r,s,n={}){let i,a=0,c=0,l=n;e instanceof Buffer?(i=e,a=r||0,c=typeof s=="number"?s:0):(a=typeof e=="number"?e:0,c=typeof r=="number"?r:0,l=s||{});let u=l.blockSize??0;if(u<0)throw new RangeError("blockSize option must be >= 0");if(u===0&&(u=4194304),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={}),z.withSpan("BlobClient-downloadToBuffer",l,async A=>{if(!c){let m=await this.getProperties({...l,tracingOptions:A.tracingOptions});if(c=m.contentLength-a,c<0)throw new RangeError(`offset ${a} shouldn't be larger than blob size ${m.contentLength}`)}if(!i)try{i=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(i.length{let h=a+c;m+u{let a=await this.download(r,s,{...n,tracingOptions:i.tracingOptions});return a.readableStreamBody&&await w8(a.readableStreamBody,e),a.blobDownloadStream=void 0,a})}getBlobAndContainerNamesFromUrl(){let e,r;try{let s=new URL(this.url);if(s.host.split(".")[1]==="blob"){let n=s.pathname.match("/([^/]*)(/(.*))?");e=n[1],r=n[3]}else if(eC(s)){let n=s.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=n[2],r=n[4]}else{let n=s.pathname.match("/([^/]*)(/(.*))?");e=n[1],r=n[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 z.withSpan("BlobClient-startCopyFromURL",r,async s=>(r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},J(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:la(r.tier),blobTagsString:ca(r.tags),sealBlob:r.sealBlob,tracingOptions:s.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof it))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let s=Jp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r(Yp(this.url,s))})}generateSasStringToSign(e){if(!(this.credential instanceof it))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return Wp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(s=>{let n=Jp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();s(Yp(this.url,n))})}generateUserDelegationSasStringToSign(e,r){return Wp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return z.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>J(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return z.withSpan("BlobClient-setImmutabilityPolicy",r,async s=>J(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:s.tracingOptions})))}async setLegalHold(e,r={}){return z.withSpan("BlobClient-setLegalHold",r,async s=>J(await this.blobContext.setLegalHold(e,{tracingOptions:s.tracingOptions})))}async getAccountInfo(e={}){return z.withSpan("BlobClient-getAccountInfo",e,async r=>J(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}},CC=class t extends mo{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,s,n){let i,a;if(n=n||{},oo(r))a=e,i=r;else if(Qe&&r instanceof it||r instanceof Ke||hs(r))a=e,n=s,i=Ct(r,n);else if(!r&&typeof r!="string")a=e,i=Ct(new Ke,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=Bc(e);if(u.kind==="AccountConnString")if(Qe){let A=new it(u.accountName,u.accountKey);a=Dt(Dt(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=ea(u.proxyUri)),i=Ct(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=Dt(Dt(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=Ct(new Ke,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,i),this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new t(Ru(this.url,io.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},_t(e.customerProvidedKey,this.isHttps),z.withSpan("AppendBlobClient-create",e,async r=>J(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:ca(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:NS};return z.withSpan("AppendBlobClient-createIfNotExists",e,async s=>{try{let n=J(await this.create({...s,conditions:r}));return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async seal(e={}){return e.conditions=e.conditions||{},z.withSpan("AppendBlobClient-seal",e,async r=>J(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,s={}){return s.conditions=s.conditions||{},_t(s.customerProvidedKey,this.isHttps),z.withSpan("AppendBlobClient-appendBlock",s,async n=>J(await this.appendBlobContext.appendBlock(r,e,{abortSignal:s.abortSignal,appendPositionAccessConditions:s.conditions,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},requestOptions:{onUploadProgress:s.onProgress},transactionalContentMD5:s.transactionalContentMD5,transactionalContentCrc64:s.transactionalContentCrc64,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,tracingOptions:n.tracingOptions})))}async appendBlockFromURL(e,r,s,n={}){return n.conditions=n.conditions||{},n.sourceConditions=n.sourceConditions||{},_t(n.customerProvidedKey,this.isHttps),z.withSpan("AppendBlobClient-appendBlockFromURL",n,async i=>J(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:n.abortSignal,sourceRange:Hr({offset:r,count:s}),sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,leaseAccessConditions:n.conditions,appendPositionAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:n.sourceConditions?.ifMatch,sourceIfModifiedSince:n.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:n.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:n.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:Tu(n.sourceAuthorization),cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:i.tracingOptions})))}},Du=class t extends mo{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,s,n){let i,a;if(n=n||{},oo(r))a=e,i=r;else if(Qe&&r instanceof it||r instanceof Ke||hs(r))a=e,n=s,i=Ct(r,n);else if(!r&&typeof r!="string")a=e,s&&typeof s!="string"&&(n=s),i=Ct(new Ke,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=Bc(e);if(u.kind==="AccountConnString")if(Qe){let A=new it(u.accountName,u.accountKey);a=Dt(Dt(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=ea(u.proxyUri)),i=Ct(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=Dt(Dt(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=Ct(new Ke,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,i),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new t(Ru(this.url,io.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(_t(r.customerProvidedKey,this.isHttps),!Qe)throw new Error("This operation currently is only supported in Node.js.");return z.withSpan("BlockBlobClient-query",r,async s=>{let n=J(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:Mv(r.inputTextConfiguration),outputSerialization:Mv(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:s.tracingOptions}));return new oC(n,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,s={}){return s.conditions=s.conditions||{},_t(s.customerProvidedKey,this.isHttps),z.withSpan("BlockBlobClient-upload",s,async n=>J(await this.blockBlobContext.upload(r,e,{abortSignal:s.abortSignal,blobHttpHeaders:s.blobHTTPHeaders,leaseAccessConditions:s.conditions,metadata:s.metadata,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},requestOptions:{onUploadProgress:s.onProgress},cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,immutabilityPolicyExpiry:s.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:s.immutabilityPolicy?.policyMode,legalHold:s.legalHold,tier:la(s.tier),blobTagsString:ca(s.tags),tracingOptions:n.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},_t(r.customerProvidedKey,this.isHttps),z.withSpan("BlockBlobClient-syncUploadFromURL",r,async s=>J(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:Tu(r.sourceAuthorization),tier:la(r.tier),blobTagsString:ca(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}async stageBlock(e,r,s,n={}){return _t(n.customerProvidedKey,this.isHttps),z.withSpan("BlockBlobClient-stageBlock",n,async i=>J(await this.blockBlobContext.stageBlock(e,s,r,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async stageBlockFromURL(e,r,s=0,n,i={}){return _t(i.customerProvidedKey,this.isHttps),z.withSpan("BlockBlobClient-stageBlockFromURL",i,async a=>J(await this.blockBlobContext.stageBlockFromURL(e,0,r,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,sourceRange:s===0&&!n?void 0:Hr({offset:s,count:n}),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:Tu(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},_t(r.customerProvidedKey,this.isHttps),z.withSpan("BlockBlobClient-commitBlockList",r,async s=>J(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:la(r.tier),blobTagsString:ca(r.tags),tracingOptions:s.tracingOptions})))}async getBlockList(e,r={}){return z.withSpan("BlockBlobClient-getBlockList",r,async s=>{let n=J(await this.blockBlobContext.getBlockList(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions}));return n.committedBlocks||(n.committedBlocks=[]),n.uncommittedBlocks||(n.uncommittedBlocks=[]),n})}async uploadData(e,r={}){return z.withSpan("BlockBlobClient-uploadData",r,async s=>{if(Qe){let n;return e instanceof Buffer?n=e:e instanceof ArrayBuffer?n=Buffer.from(e):(e=e,n=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),this.uploadSeekableInternal((i,a)=>n.slice(i,i+a),n.byteLength,s)}else{let n=new Blob([e]);return this.uploadSeekableInternal((i,a)=>n.slice(i,i+a),n.size,s)}})}async uploadBrowserData(e,r={}){return z.withSpan("BlockBlobClient-uploadBrowserData",r,async s=>{let n=new Blob([e]);return this.uploadSeekableInternal((i,a)=>n.slice(i,i+a),n.size,s)})}async uploadSeekableInternal(e,r,s={}){let n=s.blockSize??0;if(n<0||n>4194304e3)throw new RangeError(`blockSize option must be >= 0 and <= ${4194304e3}`);let i=s.maxSingleShotSize??268435456;if(i<0||i>268435456)throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${268435456}`);if(n===0){if(r>4194304e3*5e4)throw new RangeError(`${r} is too larger to upload to a block blob.`);r>i&&(n=Math.ceil(r/5e4),n<4194304&&(n=4194304))}return s.blobHTTPHeaders||(s.blobHTTPHeaders={}),s.conditions||(s.conditions={}),z.withSpan("BlockBlobClient-uploadSeekableInternal",s,async a=>{if(r<=i)return J(await this.upload(e(0,r),r,a));let c=Math.floor((r-1)/n)+1;if(c>5e4)throw new RangeError(`The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= ${5e4}`);let l=[],u=mu(),A=0,d=new im(s.concurrency);for(let p=0;p{let m=Dv(u,p),h=n*p,C=(p===c-1?r:h+n)-h;l.push(m),await this.stageBlock(m,e(h,C),C,{abortSignal:s.abortSignal,conditions:s.conditions,encryptionScope:s.encryptionScope,tracingOptions:a.tracingOptions}),A+=C,s.onProgress&&s.onProgress({loadedBytes:A})});return await d.do(),this.commitBlockList(l,a)})}async uploadFile(e,r={}){return z.withSpan("BlockBlobClient-uploadFile",r,async s=>{let n=(await b8(e)).size;return this.uploadSeekableInternal((i,a)=>()=>Q8(e,{autoClose:!0,end:a?i+a-1:1/0,start:i}),n,{...r,tracingOptions:s.tracingOptions})})}async uploadStream(e,r=8388608,s=5,n={}){return n.blobHTTPHeaders||(n.blobHTTPHeaders={}),n.conditions||(n.conditions={}),z.withSpan("BlockBlobClient-uploadStream",n,async i=>{let a=0,c=mu(),l=0,u=[];return await new ly(e,r,s,async(d,p)=>{let m=Dv(c,a);u.push(m),a++,await this.stageBlock(m,d,p,{customerProvidedKey:n.customerProvidedKey,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions}),l+=p,n.onProgress&&n.onProgress({loadedBytes:l})},Math.ceil(s/4*3)).do(),J(await this.commitBlockList(u,{...n,tracingOptions:i.tracingOptions}))})}},IC=class t extends mo{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,s,n){let i,a;if(n=n||{},oo(r))a=e,i=r;else if(Qe&&r instanceof it||r instanceof Ke||hs(r))a=e,n=s,i=Ct(r,n);else if(!r&&typeof r!="string")a=e,i=Ct(new Ke,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=Bc(e);if(u.kind==="AccountConnString")if(Qe){let A=new it(u.accountName,u.accountKey);a=Dt(Dt(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=ea(u.proxyUri)),i=Ct(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=Dt(Dt(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=Ct(new Ke,n);else throw new Error("Connection string must be either an Account connection string or a SAS connection string")}else throw new Error("Expecting non-empty strings for containerName and blobName parameters");super(a,i),this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new t(Ru(this.url,io.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},_t(r.customerProvidedKey,this.isHttps),z.withSpan("PageBlobClient-create",r,async s=>J(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:la(r.tier),blobTagsString:ca(r.tags),tracingOptions:s.tracingOptions})))}async createIfNotExists(e,r={}){return z.withSpan("PageBlobClient-createIfNotExists",r,async s=>{try{let n={ifNoneMatch:NS},i=J(await this.create(e,{...r,conditions:n,tracingOptions:s.tracingOptions}));return{succeeded:!0,...i,_response:i._response}}catch(n){if(n.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async uploadPages(e,r,s,n={}){return n.conditions=n.conditions||{},_t(n.customerProvidedKey,this.isHttps),z.withSpan("PageBlobClient-uploadPages",n,async i=>J(await this.pageBlobContext.uploadPages(s,e,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},range:Hr({offset:r,count:s}),sequenceNumberAccessConditions:n.conditions,transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions})))}async uploadPagesFromURL(e,r,s,n,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},_t(i.customerProvidedKey,this.isHttps),z.withSpan("PageBlobClient-uploadPagesFromURL",i,async a=>J(await this.pageBlobContext.uploadPagesFromURL(e,Hr({offset:r,count:n}),0,Hr({offset:s,count:n}),{abortSignal:i.abortSignal,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,sequenceNumberAccessConditions: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},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:Tu(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async clearPages(e=0,r,s={}){return s.conditions=s.conditions||{},z.withSpan("PageBlobClient-clearPages",s,async n=>J(await this.pageBlobContext.clearPages(0,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},range:Hr({offset:e,count:r}),sequenceNumberAccessConditions:s.conditions,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,tracingOptions:n.tracingOptions})))}async getPageRanges(e=0,r,s={}){return s.conditions=s.conditions||{},z.withSpan("PageBlobClient-getPageRanges",s,async n=>{let i=J(await this.pageBlobContext.getPageRanges({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},range:Hr({offset:e,count:r}),tracingOptions:n.tracingOptions}));return aC(i)})}async listPageRangesSegment(e=0,r,s,n={}){return z.withSpan("PageBlobClient-getPageRangesSegment",n,async i=>J(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:Hr({offset:e,count:r}),marker:s,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions})))}async*listPageRangeItemSegments(e=0,r,s,n={}){let i;if(s||s===void 0)do i=await this.listPageRangesSegment(e,r,s,n),s=i.continuationToken,yield await i;while(s)}async*listPageRangeItems(e=0,r,s={}){let n;for await(let i of this.listPageRangeItemSegments(e,r,n,s))yield*Ov(i)}listPageRanges(e=0,r,s={}){s.conditions=s.conditions||{};let n=this.listPageRangeItems(e,r,s);return{next(){return n.next()},[Symbol.asyncIterator](){return this},byPage:o((i={})=>this.listPageRangeItemSegments(e,r,i.continuationToken,{maxPageSize:i.maxPageSize,...s}),"byPage")}}async getPageRangesDiff(e,r,s,n={}){return n.conditions=n.conditions||{},z.withSpan("PageBlobClient-getPageRangesDiff",n,async i=>{let a=J(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevsnapshot:s,range:Hr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return aC(a)})}async listPageRangesDiffSegment(e,r,s,n,i={}){return z.withSpan("PageBlobClient-getPageRangesDiffSegment",i,async a=>J(await this.pageBlobContext.getPageRangesDiff({abortSignal:i?.abortSignal,leaseAccessConditions:i?.conditions,modifiedAccessConditions:{...i?.conditions,ifTags:i?.conditions?.tagConditions},prevsnapshot:s,range:Hr({offset:e,count:r}),marker:n,maxPageSize:i?.maxPageSize,tracingOptions:a.tracingOptions})))}async*listPageRangeDiffItemSegments(e,r,s,n,i){let a;if(n||n===void 0)do a=await this.listPageRangesDiffSegment(e,r,s,n,i),n=a.continuationToken,yield await a;while(n)}async*listPageRangeDiffItems(e,r,s,n){let i;for await(let a of this.listPageRangeDiffItemSegments(e,r,s,i,n))yield*Ov(a)}listPageRangesDiff(e,r,s,n={}){n.conditions=n.conditions||{};let i=this.listPageRangeDiffItems(e,r,s,{...n});return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:o((a={})=>this.listPageRangeDiffItemSegments(e,r,s,a.continuationToken,{maxPageSize:a.maxPageSize,...n}),"byPage")}}async getPageRangesDiffForManagedDisks(e,r,s,n={}){return n.conditions=n.conditions||{},z.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",n,async i=>{let a=J(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevSnapshotUrl:s,range:Hr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return aC(a)})}async resize(e,r={}){return r.conditions=r.conditions||{},z.withSpan("PageBlobClient-resize",r,async s=>J(await this.pageBlobContext.resize(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},encryptionScope:r.encryptionScope,tracingOptions:s.tracingOptions})))}async updateSequenceNumber(e,r,s={}){return s.conditions=s.conditions||{},z.withSpan("PageBlobClient-updateSequenceNumber",s,async n=>J(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:s.abortSignal,blobSequenceNumber:r,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}async startCopyIncremental(e,r={}){return z.withSpan("PageBlobClient-startCopyIncremental",r,async s=>J(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions})))}};var x8;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(x8||(x8={}));var N8;(function(t){t.AES256="AES256"})(N8||(N8={}));var BC=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};var _u=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"}};_u.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var Sc=class extends Error{static{o(this,"UsageError")}constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries. 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"}};Sc.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var om=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var A0e=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},EP=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),s=Date.now()-this.startTime,n=(e/(1024*1024)/(s/1e3)).toFixed(1);R(`Sent ${e} of ${this.contentLength} (${r}%), ${n} 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()}};function S8(t,e,r){return A0e(this,void 0,void 0,function*(){var s;let n=new mo(t),i=n.getBlockBlobClient(),a=new EP((s=r?.archiveSizeBytes)!==null&&s!==void 0?s:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),b(`BlobClient: ${n.name}:${n.accountName}:${n.containerName}`);let l=yield i.uploadFile(e,c);if(l._response.status>=400)throw new BC(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw je(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(S8,"uploadCacheArchiveSDK");var T8=w(require("buffer"),1),bi=w(require("fs"),1),v8=w(require("stream"),1),P8=w(require("util"),1);var wC=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function bC(t){return t?t>=200&&t<300:!1}o(bC,"isSuccessStatusCode");function d0e(t){return t?t>=500:!0}o(d0e,"isServerErrorStatusCode");function p0e(t){return t?[nt.BadGateway,nt.ServiceUnavailable,nt.GatewayTimeout].includes(t):!1}o(p0e,"isRetryableStatusCode");function m0e(t){return wC(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(m0e,"sleep");function R8(t,e,r){return wC(this,arguments,void 0,function*(s,n,i,a=Jg,c=Wg,l=void 0){let u="",A=1;for(;A<=a;){let d,p,m=!1;try{d=yield n()}catch(h){l&&(d=l(h)),m=!0,u=h.message}if(d&&(p=i(d),!d0e(p)))return d;if(p&&(m=p0e(p),u=`Cache service responded with ${p}`),b(`${s} - Attempt ${A} of ${a} failed with error: ${u}`),!m){b(`${s} - Error is not retryable`);break}yield m0e(c),A++}throw Error(`${s} failed: ${u}`)})}o(R8,"retry");function am(t,e){return wC(this,arguments,void 0,function*(r,s,n=Jg,i=Wg){return yield R8(r,s,a=>a.statusCode,n,i,a=>{if(a instanceof Kn)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(am,"retryTypedResponse");function Lu(t,e){return wC(this,arguments,void 0,function*(r,s,n=Jg,i=Wg){return yield R8(r,s,a=>a.message.statusCode,n,i)})}o(Lu,"retryHttpClientResponse");var Js=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function h0e(t,e){return Js(this,void 0,void 0,function*(){yield P8.promisify(v8.pipeline)(t.message,e)})}o(h0e,"pipeResponseToStream");var QC=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,b(`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),s=Date.now()-this.startTime,n=(e/(1024*1024)/(s/1e3)).toFixed(1);R(`Received ${e} of ${this.contentLength} (${r}%), ${n} 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()}};function xC(t,e){return Js(this,void 0,void 0,function*(){let r=bi.createWriteStream(e),s=new eo("actions/cache"),n=yield Lu("downloadCache",()=>Js(this,void 0,void 0,function*(){return s.get(t)}));n.message.socket.setTimeout(z0,()=>{n.message.destroy(),b(`Aborting download, socket timed out after ${z0} ms`)}),yield h0e(n,r);let i=n.message.headers["content-length"];if(i){let a=parseInt(i),c=jn(e);if(c!==a)throw new Error(`Incomplete download. Expected file size: ${a}, actual file size: ${c}`)}else b("Unable to validate download, no Content-Length header")})}o(xC,"downloadCacheHttpClient");function k8(t,e,r){return Js(this,void 0,void 0,function*(){var s;let n=yield bi.promises.open(e,"w"),i=new eo("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield Lu("downloadCacheMetadata",()=>Js(this,void 0,void 0,function*(){return yield i.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 u=[],A=4*1024*1024;for(let y=0;yJs(this,void 0,void 0,function*(){return yield f0e(i,t,y,I)}),"promiseGetter")})}u.reverse();let d=0,p=0,m=new QC(l);m.startDisplayTimer();let h=m.onProgress(),g=[],C,E=o(()=>Js(this,void 0,void 0,function*(){let y=yield Promise.race(Object.values(g));yield n.write(y.buffer,0,y.count,y.offset),d--,delete g[y.offset],p+=y.count,h({loadedBytes:p})}),"waitAndWrite");for(;C=u.pop();)g[C.offset]=C.promiseGetter(),d++,d>=((s=r.downloadConcurrency)!==null&&s!==void 0?s:10)&&(yield E());for(;d>0;)yield E()}finally{i.dispose(),yield n.close()}})}o(k8,"downloadCacheHttpClientConcurrent");function f0e(t,e,r,s){return Js(this,void 0,void 0,function*(){let i=0;for(;;)try{let c=yield _8(3e4,g0e(t,e,r,s));if(typeof c=="string")throw new Error("downloadSegmentRetry failed due to timeout");return c}catch(a){if(i>=5)throw a;i++}})}o(f0e,"downloadSegmentRetry");function g0e(t,e,r,s){return Js(this,void 0,void 0,function*(){let n=yield Lu("downloadCachePart",()=>Js(this,void 0,void 0,function*(){return yield t.get(e,{Range:`bytes=${r}-${r+s-1}`})}));if(!n.readBodyBuffer)throw new Error("Expected HttpClientResponse to implement readBodyBuffer");return{offset:r,count:s,buffer:yield n.readBodyBuffer()}})}o(g0e,"downloadSegment");function D8(t,e,r){return Js(this,void 0,void 0,function*(){var s;let n=new Du(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),a=(s=(yield n.getProperties()).contentLength)!==null&&s!==void 0?s:-1;if(a<0)b("Unable to determine content length, downloading file with http-client..."),yield xC(t,e);else{let c=Math.min(134217728,T8.constants.MAX_LENGTH),l=new QC(a),u=bi.openSync(e,"w");try{l.startDisplayTimer();let A=new AbortController,d=A.signal;for(;!l.isDone();){let p=l.segmentOffset+l.segmentSize,m=Math.min(c,a-p);l.nextSegment(m);let h=yield _8(r.segmentTimeoutInMs||36e5,n.downloadToBuffer(p,m,{abortSignal:d,concurrency:r.downloadConcurrency,onProgress:l.onProgress()}));if(h==="timeout")throw A.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(h)&&bi.writeFileSync(u,h)}}finally{l.stopDisplayTimer(),bi.closeSync(u)}}})}o(D8,"downloadCacheStorageSDK");var _8=o((t,e)=>Js(void 0,void 0,void 0,function*(){let r,s=new Promise(n=>{r=setTimeout(()=>n("timeout"),t)});return Promise.race([e,s]).then(n=>(clearTimeout(r),n))}),"promiseWithTimeout");function yP(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),b(`Use Azure SDK: ${e.useAzureSdk}`),b(`Upload concurrency: ${e.uploadConcurrency}`),b(`Upload chunk size: ${e.uploadChunkSize}`),e}o(yP,"getUploadOptions");function L8(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),b(`Use Azure SDK: ${e.useAzureSdk}`),b(`Download concurrency: ${e.downloadConcurrency}`),b(`Request timeout (ms): ${e.timeoutInMs}`),b(`Cache segment download timeout mins env var: ${process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS}`),b(`Segment download timeout (ms): ${e.segmentTimeoutInMs}`),b(`Lookup only: ${e.lookupOnly}`),e}o(L8,"getDownloadOptions");function CP(){let e=new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.trimEnd().toUpperCase(),r=e==="GITHUB.COM",s=e.endsWith(".GHE.COM"),n=e.endsWith(".LOCALHOST");return!r&&!s&&!n}o(CP,"isGhes");function cm(){return CP()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(cm,"getCacheServiceVersion");function NC(){let t=cm();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(NC,"getCacheServiceURL");var U8=w(F8(),1);function SC(){return`@actions/cache-${U8.version}`}o(SC,"getUserAgentString");var zr=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function lm(t){let e=NC();if(!e)throw new Error("Cache Service Url not found, unable to restore cache.");let r=`${e}_apis/artifactcache/${t}`;return b(`Resource Url: ${r}`),r}o(lm,"getCacheApiUrl");function C0e(t,e){return`${t};api-version=${e}`}o(C0e,"createAcceptHeader");function I0e(){return{headers:{Accept:C0e("application/json","6.0-preview.1")}}}o(I0e,"getRequestOptions");function IP(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new ou(t);return new eo(SC(),[e],I0e())}o(IP,"createHttpClient");function H8(t,e,r){return zr(this,void 0,void 0,function*(){let s=IP(),n=iu(e,r?.compressionMethod,r?.enableCrossOsArchive),i=`cache?keys=${encodeURIComponent(t.join(","))}&version=${n}`,a=yield am("getCacheEntry",()=>zr(this,void 0,void 0,function*(){return s.getJson(lm(i))}));if(a.statusCode===204)return Ka()&&(yield B0e(t[0],s,n)),null;if(!bC(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 $l(l),b("Cache Result:"),b(JSON.stringify(c)),c})}o(H8,"getCacheEntry");function B0e(t,e,r){return zr(this,void 0,void 0,function*(){let s=`caches?key=${encodeURIComponent(t)}`,n=yield am("listCache",()=>zr(this,void 0,void 0,function*(){return e.getJson(lm(s))}));if(n.statusCode===200){let i=n.result,a=i?.totalCount;if(a&&a>0){b(`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 i?.artifactCaches||[])b(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}o(B0e,"printCachesListForDiagnostics");function BP(t,e,r){return zr(this,void 0,void 0,function*(){let s=new G8.URL(t),n=L8(r);s.hostname.endsWith(".blob.core.windows.net")?n.useAzureSdk?yield D8(t,e,n):n.concurrentBlobDownloads?yield k8(t,e,n):yield xC(t,e):yield xC(t,e)})}o(BP,"downloadCache");function z8(t,e,r){return zr(this,void 0,void 0,function*(){let s=IP(),n=iu(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:n,cacheSize:r?.cacheSize};return yield am("reserveCache",()=>zr(this,void 0,void 0,function*(){return s.postJson(lm("caches"),i)}))})}o(z8,"reserveCache");function q8(t,e){return`bytes ${t}-${e}/*`}o(q8,"getContentRange");function w0e(t,e,r,s,n){return zr(this,void 0,void 0,function*(){b(`Uploading chunk of size ${n-s+1} bytes at offset ${s} with content range: ${q8(s,n)}`);let i={"Content-Type":"application/octet-stream","Content-Range":q8(s,n)},a=yield Lu(`uploadChunk (start: ${s}, end: ${n})`,()=>zr(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!bC(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(w0e,"uploadChunk");function b0e(t,e,r,s){return zr(this,void 0,void 0,function*(){let n=jn(r),i=lm(`caches/${e.toString()}`),a=Mu.openSync(r,"r"),c=yP(s),l=J0("uploadConcurrency",c.uploadConcurrency),u=J0("uploadChunkSize",c.uploadChunkSize),A=[...new Array(l).keys()];b("Awaiting all uploads");let d=0;try{yield Promise.all(A.map(()=>zr(this,void 0,void 0,function*(){for(;dMu.createReadStream(r,{fd:a,start:m,end:h,autoClose:!1}).on("error",g=>{throw new Error(`Cache upload failed because file read failed with ${g.message}`)}),m,h)}})))}finally{Mu.closeSync(a)}})}o(b0e,"uploadFile");function Q0e(t,e,r){return zr(this,void 0,void 0,function*(){let s={size:r};return yield am("commitCache",()=>zr(this,void 0,void 0,function*(){return t.postJson(lm(`caches/${e.toString()}`),s)}))})}o(Q0e,"commitCache");function wP(t,e,r,s){return zr(this,void 0,void 0,function*(){if(yP(s).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield S8(r,e,s)}else{let i=IP();b("Upload cache"),yield b0e(i,t,e,s),b("Commiting cache");let a=jn(e);R(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield Q0e(i,t,a);if(!bC(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);R("Cache saved successfully")}})}o(wP,"saveCache");var O5=w(v5(),1),wt=w(Bt(),1),Cs=w(Bt(),1),kc=w(Bt(),1),Dc=w(Bt(),1),_c=w(Bt(),1);var gk=w(Bt(),1),Ek=w(Bt(),1),_5=w(Bt(),1),L5=w(Bt(),1),M5=w(Bt(),1);var mk=w(Bt(),1),hk=w(Bt(),1),P5=w(Bt(),1),k5=w(Bt(),1),D5=w(Bt(),1);var fk=class extends D5.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,k5.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,P5.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.pospI,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,L5.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,_5.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posRi,"T")},{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,Dc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,kc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posRi,"T")},{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,Dc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,kc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posRi,"T")},{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,Dc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,kc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posNk.fromJson(n,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=Sk.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(n=>Rk.fromJson(n,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=Tk.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(n=>vk.fromJson(n,{ignoreUnknownFields:!0}))}};function F5(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&($l(r),$l(encodeURIComponent(r)))}catch(e){b(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(F5,"maskSigUrl");function U5(t){if(typeof t!="object"||t===null){b("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&F5(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&F5(t.signed_download_url)}o(U5,"maskSecretUrls");var hI=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},Pk=class{static{o(this,"CacheServiceClient")}constructor(e,r,s,n){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let i=BY();this.baseUrl=NC(),r&&(this.maxAttempts=r),s&&(this.baseRetryIntervalMilliseconds=s),n&&(this.retryMultiplier=n),this.httpClient=new eo(e,[new ou(i)])}request(e,r,s,n){return hI(this,void 0,void 0,function*(){let i=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;b(`[Request] ${r} ${i}`);let a={"Content-Type":s};try{let{body:c}=yield this.retryableRequest(()=>hI(this,void 0,void 0,function*(){return this.httpClient.post(i,JSON.stringify(n),a)}));return c}catch(c){throw new Error(`Failed to ${r}: ${c.message}`)}})}retryableRequest(e){return hI(this,void 0,void 0,function*(){let r=0,s="",n="";for(;r0&&je(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}throw new om(`Rate limited: ${s}`)}}catch(c){if(c instanceof SyntaxError&&b(`Raw Body: ${n}`),c instanceof Sc||c instanceof om)throw c;if(_u.isNetworkErrorCode(c?.code))throw new _u(c?.code);i=!0,s=c.message}if(!i)throw new Error(`Received non-retryable error: ${s}`);if(r+1===this.maxAttempts)throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${s}`);let a=this.getExponentialRetryTimeMilliseconds(r);R(`Attempt ${r+1} of ${this.maxAttempts} failed with error: ${s}. 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?[nt.BadGateway,nt.GatewayTimeout,nt.InternalServerError,nt.ServiceUnavailable].includes(e):!1}sleep(e){return hI(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),s=r*this.retryMultiplier;return Math.trunc(Math.random()*(s-r)+r)}};function kk(t){let e=new Pk(SC(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new mI(e)}o(kk,"internalCacheTwirpClient");var fI=require("fs"),Is=w(require("path"),1);var fo=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},pa=process.platform==="win32";function _Se(){return fo(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield IY(),e=gY;if(t)return{path:t,type:us.GNU};if((0,fI.existsSync)(e))return{path:e,type:us.BSD};break}case"darwin":{let t=yield ft("gtar",!1);return t?{path:t,type:us.GNU}:{path:yield ft("tar",!0),type:us.BSD}}default:break}return{path:yield ft("tar",!0),type:us.GNU}})}o(_Se,"getTarPath");function LSe(t,e,r){return fo(this,arguments,void 0,function*(s,n,i,a=""){let c=[`"${s.path}"`],l=jo(n),u="cache.tar",A=q5(),d=s.type===us.BSD&&n!==Cr.Gzip&&pa;switch(i){case"create":c.push("--posix","-cf",d?u:l.replace(new RegExp(`\\${Is.sep}`,"g"),"/"),"--exclude",d?u:l.replace(new RegExp(`\\${Is.sep}`,"g"),"/"),"-P","-C",A.replace(new RegExp(`\\${Is.sep}`,"g"),"/"),"--files-from",$0);break;case"extract":c.push("-xf",d?u:a.replace(new RegExp(`\\${Is.sep}`,"g"),"/"),"-P","-C",A.replace(new RegExp(`\\${Is.sep}`,"g"),"/"));break;case"list":c.push("-tf",d?u:a.replace(new RegExp(`\\${Is.sep}`,"g"),"/"),"-P");break}if(s.type===us.GNU)switch(process.platform){case"win32":c.push("--force-local");break;case"darwin":c.push("--delay-directory-restore");break}return c})}o(LSe,"getTarArgs");function Dk(t,e){return fo(this,arguments,void 0,function*(r,s,n=""){let i,a=yield _Se(),c=yield LSe(a,r,s,n),l=s!=="create"?yield MSe(a,r,n):yield OSe(a,r),u=a.type===us.BSD&&r!==Cr.Gzip&&pa;return u&&s!=="create"?i=[[...l].join(" "),[...c].join(" ")]:i=[[...c].join(" "),[...l].join(" ")],u?i:[i.join(" ")]})}o(Dk,"getCommands");function q5(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}o(q5,"getWorkingDirectory");function MSe(t,e,r){return fo(this,void 0,void 0,function*(){let s=t.type===us.BSD&&e!==Cr.Gzip&&pa;switch(e){case Cr.Zstd:return s?["zstd -d --long=30 --force -o",sp,r.replace(new RegExp(`\\${Is.sep}`,"g"),"/")]:["--use-compress-program",pa?'"zstd -d --long=30"':"unzstd --long=30"];case Cr.ZstdWithoutLong:return s?["zstd -d --force -o",sp,r.replace(new RegExp(`\\${Is.sep}`,"g"),"/")]:["--use-compress-program",pa?'"zstd -d"':"unzstd"];default:return["-z"]}})}o(MSe,"getDecompressionProgram");function OSe(t,e){return fo(this,void 0,void 0,function*(){let r=jo(e),s=t.type===us.BSD&&e!==Cr.Gzip&&pa;switch(e){case Cr.Zstd:return s?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${Is.sep}`,"g"),"/"),sp]:["--use-compress-program",pa?'"zstd -T0 --long=30"':"zstdmt --long=30"];case Cr.ZstdWithoutLong:return s?["zstd -T0 --force -o",r.replace(new RegExp(`\\${Is.sep}`,"g"),"/"),sp]:["--use-compress-program",pa?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(OSe,"getCompressionProgram");function _k(t,e){return fo(this,void 0,void 0,function*(){for(let r of t)try{yield cs(r,void 0,{cwd:e,env:Object.assign(Object.assign({},process.env),{MSYS:"winsymlinks:nativestrict"})})}catch(s){throw new Error(`${r.split(" ")[0]} failed with error: ${s?.message}`)}})}o(_k,"execCommands");function bm(t,e){return fo(this,void 0,void 0,function*(){let r=yield Dk(e,"list",t);yield _k(r)})}o(bm,"listTar");function Lk(t,e){return fo(this,void 0,void 0,function*(){let r=q5();yield Ps(r);let s=yield Dk(e,"extract",t);yield _k(s)})}o(Lk,"extractTar");function Mk(t,e,r){return fo(this,void 0,void 0,function*(){(0,fI.writeFileSync)(Is.join(t,$0),e.join(` `));let s=yield Dk(r,"create");yield _k(s,t)})}o(Mk,"createTar");var eA=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},Rn=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},Lc=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},Ok="cache write denied:",Zu=class t extends Lc{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},gI=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function G5(t){if(!t||t.length===0)throw new Rn("Path Validation Error: At least one directory or file path is required")}o(G5,"checkPaths");function Fk(t){if(t.length>512)throw new Rn(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Rn(`Key Validation Error: ${t} cannot contain commas.`)}o(Fk,"checkKey");function Uk(){return cm()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(Uk,"isFeatureAvailable");function H5(t,e,r,s){return eA(this,arguments,void 0,function*(n,i,a,c,l=!1){let u=cm();return b(`Cache service version: ${u}`),G5(n),u==="v2"?yield USe(n,i,a,c,l):yield FSe(n,i,a,c,l)})}o(H5,"restoreCache");function FSe(t,e,r,s){return eA(this,arguments,void 0,function*(n,i,a,c,l=!1){a=a||[];let u=[i,...a];if(b("Resolved Keys:"),b(JSON.stringify(u)),u.length>10)throw new Rn("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of u)Fk(p);let A=yield op(),d="";try{let p=yield H8(u,n,{compressionMethod:A,enableCrossOsArchive:l});if(!p?.archiveLocation)return;if(c?.lookupOnly)return R("Lookup only - skipping download"),p.cacheKey;d=Qm.join(yield np(),jo(A)),b(`Archive Path: ${d}`),yield BP(p.archiveLocation,d,c),Ka()&&(yield bm(d,A));let m=jn(d);return R(`Cache Size: ~${Math.round(m/(1024*1024))} MB (${m} B)`),yield Lk(d,A),R("Cache restored successfully"),p.cacheKey}catch(p){let m=p;if(m.name===Rn.name)throw p;m instanceof Kn&&typeof m.statusCode=="number"&&m.statusCode>=500?Wl(`Failed to restore: ${p.message}`):je(`Failed to restore: ${p.message}`)}finally{try{yield ip(d)}catch(p){b(`Failed to delete archive: ${p}`)}}})}o(FSe,"restoreCacheV1");function USe(t,e,r,s){return eA(this,arguments,void 0,function*(n,i,a,c,l=!1){c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let u=[i,...a];if(b("Resolved Keys:"),b(JSON.stringify(u)),u.length>10)throw new Rn("Key Validation Error: Keys are limited to a maximum of 10.");for(let d of u)Fk(d);let A="";try{let d=kk(),p=yield op(),m={key:i,restoreKeys:a,version:iu(n,p,l)},h=yield d.GetCacheEntryDownloadURL(m);if(!h.ok){b(`Cache not found for version ${m.version} of keys: ${u.join(", ")}`);return}if(m.key!==h.matchedKey?R(`Cache hit for restore-key: ${h.matchedKey}`):R(`Cache hit for: ${h.matchedKey}`),c?.lookupOnly)return R("Lookup only - skipping download"),h.matchedKey;A=Qm.join(yield np(),jo(p)),b(`Archive path: ${A}`),b(`Starting download of archive to: ${A}`),yield BP(h.signedDownloadUrl,A,c);let C=jn(A);return R(`Cache Size: ~${Math.round(C/(1024*1024))} MB (${C} B)`),Ka()&&(yield bm(A,p)),yield Lk(A,p),R("Cache restored successfully"),h.matchedKey}catch(d){let p=d;if(p.name===Rn.name)throw d;p instanceof Kn&&typeof p.statusCode=="number"&&p.statusCode>=500?Wl(`Failed to restore: ${d.message}`):je(`Failed to restore: ${d.message}`)}finally{try{A&&(yield ip(A))}catch(d){b(`Failed to delete archive: ${d}`)}}})}o(USe,"restoreCacheV2");function qk(t,e,r){return eA(this,arguments,void 0,function*(s,n,i,a=!1){let c=cm();return b(`Cache service version: ${c}`),G5(s),Fk(n),c==="v2"?yield GSe(s,n,i,a):yield qSe(s,n,i,a)})}o(qk,"saveCache");function qSe(t,e,r){return eA(this,arguments,void 0,function*(s,n,i,a=!1){var c,l,u,A,d,p;let m=yield op(),h=-1,g=yield Y0(s);if(b("Cache Paths:"),b(`${JSON.stringify(g)}`),g.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 C=yield np(),E=Qm.join(C,jo(m));b(`Archive Path: ${E}`);try{yield Mk(C,g,m),Ka()&&(yield bm(E,m));let y=10*1024*1024*1024,I=jn(E);if(b(`File Size: ${I}`),I>y&&!CP())throw new Error(`Cache size of ~${Math.round(I/(1024*1024))} MB (${I} B) is over the 10GB limit, not saving cache.`);b("Reserving Cache");let B=yield z8(n,s,{compressionMethod:m,enableCrossOsArchive:a,cacheSize:I});if(!((c=B?.result)===null||c===void 0)&&c.cacheId)h=(l=B?.result)===null||l===void 0?void 0:l.cacheId;else{if(B?.statusCode===400)throw new Error((A=(u=B?.error)===null||u===void 0?void 0:u.message)!==null&&A!==void 0?A:`Cache size of ~${Math.round(I/(1024*1024))} MB (${I} B) is over the data cap limit, not saving cache.`);{let N=(d=B?.error)===null||d===void 0?void 0:d.message;throw N?.startsWith(Ok)?new Zu(`Unable to reserve cache with key ${n}. More details: ${N}`):new Lc(`Unable to reserve cache with key ${n}, another job may be creating this cache. More details: ${(p=B?.error)===null||p===void 0?void 0:p.message}`)}}b(`Saving Cache (ID: ${h})`),yield wP(h,E,"",i)}catch(y){let I=y;if(I.name===Rn.name)throw y;I.name===Zu.name?je(`Failed to save: ${I.message}`):I.name===Lc.name?R(`Failed to save: ${I.message}`):I instanceof Kn&&typeof I.statusCode=="number"&&I.statusCode>=500?Wl(`Failed to save: ${I.message}`):je(`Failed to save: ${I.message}`)}finally{try{yield ip(E)}catch(y){b(`Failed to delete archive: ${y}`)}}return h})}o(qSe,"saveCacheV1");function GSe(t,e,r){return eA(this,arguments,void 0,function*(s,n,i,a=!1){var c;i=Object.assign(Object.assign({},i),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let l=yield op(),u=kk(),A=-1,d=yield Y0(s);if(b("Cache Paths:"),b(`${JSON.stringify(d)}`),d.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let p=yield np(),m=Qm.join(p,jo(l));b(`Archive Path: ${m}`);try{yield Mk(p,d,l),Ka()&&(yield bm(m,l));let h=jn(m);b(`File Size: ${h}`),i.archiveSizeBytes=h,b("Reserving Cache");let g=iu(s,l,a),C={key:n,version:g},E;try{let B=yield u.CreateCacheEntry(C);if(!B.ok)throw B.message&&!B.message.startsWith(Ok)&&je(`Cache reservation failed: ${B.message}`),new Error(B.message||"Response was not ok");E=B.signedUploadUrl}catch(B){b(`Failed to reserve cache: ${B}`);let N=(c=B?.message)!==null&&c!==void 0?c:"";throw N.startsWith(Ok)?new Zu(`Unable to reserve cache with key ${n}. More details: ${N}`):new Lc(`Unable to reserve cache with key ${n}, another job may be creating this cache.`)}b(`Attempting to upload cache located at: ${m}`),yield wP(A,m,E,i);let y={key:n,version:g,sizeBytes:`${h}`},I=yield u.FinalizeCacheEntryUpload(y);if(b(`FinalizeCacheEntryUploadResponse: ${I.ok}`),!I.ok)throw I.message?new gI(I.message):new Error(`Unable to finalize cache with key ${n}, another job may be finalizing this cache.`);A=parseInt(I.entryId)}catch(h){let g=h;if(g.name===Rn.name)throw h;g.name===Zu.name?je(`Failed to save: ${g.message}`):g.name===Lc.name?R(`Failed to save: ${g.message}`):g.name===gI.name?je(g.message):g instanceof Kn&&typeof g.statusCode=="number"&&g.statusCode>=500?Wl(`Failed to save: ${g.message}`):je(`Failed to save: ${g.message}`)}finally{try{yield ip(m)}catch(h){b(`Failed to delete archive: ${h}`)}}return A})}o(GSe,"saveCacheV2");var z5=w(require("util"),1);var Ti=class t{static{o(this,"Cache")}opts;ghaCacheKey;ghaNoCache;cacheDir;cachePath;static POST_CACHE_KEY="postCache";constructor(e){this.opts=e,this.ghaCacheKey=z5.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform()),this.ghaNoCache=this.opts.ghaNoCache,this.cacheDir=Hk.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform()),this.cachePath=Hk.default.join(this.cacheDir,this.opts.cacheFile),EI.default.existsSync(this.cacheDir)||EI.default.mkdirSync(this.cacheDir,{recursive:!0})}async save(e,r){b(`Cache.save ${e}`);let s=this.copyToCache(e),n=await Ud(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform());if(b(`Cache.save cached to hosted tool cache ${n}`),!this.ghaNoCache&&Uk())if(r)try{b(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`),await qk([this.cacheDir],this.ghaCacheKey)}catch(i){je(`Failed to save cache: ${i}`)}else b(`Cache.save sending ${this.ghaCacheKey} to post state`),jl(t.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}));return s}async find(){try{let e=Vz(this.opts.htcName,this.opts.htcVersion,this.platform());if(e)return R(`Restored from hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`);if(!this.ghaNoCache&&Uk()){if(b("GitHub Actions cache feature available"),await H5([this.cacheDir],this.ghaCacheKey))return R(`Restored ${this.ghaCacheKey} from GitHub Actions cache`),e=await Ud(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform()),R(`Cached to hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`)}else this.ghaNoCache?R("GitHub Actions cache disabled"):R("GitHub Actions cache feature not available")}catch(e){je(`Failed to restore cache: ${e}`)}return""}static async post(){let e=zG(t.POST_CACHE_KEY);if(!e)return R("State not set"),Promise.resolve(void 0);let r;try{r=JSON.parse(e)}catch(s){throw new Error(`Failed to parse cache post state: ${s}`)}if(!r.dir||!r.key)throw new Error(`Invalid cache post state: ${e}`);try{R(`Caching ${r.key} to GitHub Actions cache`),await qk([r.dir],r.key)}catch(s){je(`Failed to save cache: ${s}`)}return r}copyToCache(e){return R(`Copying ${e} to ${this.cachePath}`),EI.default.copyFileSync(e,this.cachePath),this.cachePath}platform(){let e=process.config.variables.arm_version;return`${Gk.default.platform()}-${Gk.default.arch()}${e?"v"+e:""}`}};var V5=!!process.env.STATE_isPost;V5||jl("isPost","true");async function $5(t,e){if(V5)e&&await e(),await me("Post cache",async()=>{await Ti.post()});else try{await t()}catch(r){HG(r.message)}}o($5,"run");var lZ=w(require("child_process"),1),Ut=w(require("fs"),1),uZ=w(require("fs/promises"),1),Wr=w(require("os"),1),vt=w(require("path"),1),AZ=w(Z5(),1),_B=w(LD(),1);var GD=w(require("fs"),1),a6=w(require("os"),1),c6=w(require("path"),1),l6=w(o6(),1);var Jr=class t{static{o(this,"Context")}static _tmpDir=GD.default.mkdtempSync(c6.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||a6.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return GD.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return l6.tmpNameSync(e)}};var $D=w(require("fs"),1),f6=w(require("os"),1),Gm=w(require("path"),1);var de=class{static{o(this,"Exec")}static async exec(e,r,s){return b(`Exec.exec: ${e} ${r?.join(" ")}`),cs(e,r,s)}static async getExecOutput(e,r,s){return b(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),Rd(e,r,s)}};var VD=w(require("crypto"),1),m6=w(require("fs"),1),qm=w(require("path"),1),h6=w(LD(),1);var fe=class t extends Error{static{o(this,"CsvError")}constructor(e,r,s,...n){Array.isArray(r)&&(r=r.join(" ").trim()),super(r),Error.captureStackTrace!==void 0&&Error.captureStackTrace(this,t),this.code=e;for(let i of n)for(let a in i){let c=i[a];this[a]=Buffer.isBuffer(c)?c.toString(s.encoding):c==null?c:JSON.parse(JSON.stringify(c))}}};var Um=o(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var nB=o(function(t){let e=[];for(let r=0,s=t.length;r=this.size&&(this.resize(),r>=this.size))throw Error("INVALID_BUFFER_STATE");let s=this.buf;this.buf=Buffer.allocUnsafe(this.size),e.copy(this.buf,0),s.copy(this.buf,e.length),this.length+=e.length}else{let r=this.length++;r===this.size&&this.resize();let s=this.clone();this.buf[0]=e,s.copy(this.buf,1,0,r)}}append(e){let r=this.length++;r===this.size&&this.resize(),this.buf[r]=e}clone(){return Buffer.from(this.buf.slice(0,this.length))}resize(){let e=this.length;this.size=this.size*2;let r=Buffer.allocUnsafe(this.size);this.buf.copy(r,0,0,e),this.buf=r}toString(e){return e?this.buf.toString(e,0,this.length):Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}toJSON(){return this.toString("utf8")}reset(){this.length=0}},zD=HD;var u6=o(function(t){let e=[32,9,10,13,12,11,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288,65279].reduce((s,n)=>{let i=Buffer.from(String.fromCharCode(n),t.encoding);return n!==63&&i.length===1&&i[0]===63||s.push(i),s},[]),r=new Uint8Array(256);for(let s of e)r[s[0]]=1;return{bomSkipped:!1,bufBytesStart:0,castField:t.cast_function,commenting:!1,delimiterBufPrevious:void 0,delimiterDiscovered:!1,error:void 0,enabled:t.from_line===1,escaping:!1,escapeIsQuote:Buffer.isBuffer(t.escape)&&Buffer.isBuffer(t.quote)&&Buffer.compare(t.escape,t.quote)===0,expectedRecordLength:Array.isArray(t.columns)?t.columns.length:void 0,field:new zD(20),firstLineToHeaders:t.cast_first_line_to_header,needMoreDataSize:Math.max(t.comment!==null?t.comment.length:0,...t.delimiter?t.delimiter.map(s=>s.length):[],t.delimiter_auto?1:0,t.quote!==null?t.quote.length:0,...e.map(s=>s.length)),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new zD(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:t.record_delimiter.length===0?0:Math.max(...t.record_delimiter.map(s=>s.length)),trimChars:[Buffer.from(" ",t.encoding)[0],Buffer.from(" ",t.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:e,timcharFirstBytes:r}},"init_state");var A6=o(function(t){return t.replace(/([A-Z])/g,function(e,r){return"_"+r.toLowerCase()})},"underscore");var pA=o(function(t){let e={};for(let s in t)e[A6(s)]=t[s];if(e.encoding===void 0||e.encoding===!0)e.encoding="utf8";else if(e.encoding===null||e.encoding===!1)e.encoding=null;else if(typeof e.encoding!="string"&&e.encoding!==null)throw new fe("CSV_INVALID_OPTION_ENCODING",["Invalid option encoding:","encoding must be a string or null to return a buffer,",`got ${JSON.stringify(e.encoding)}`],e);if(e.bom===void 0||e.bom===null||e.bom===!1)e.bom=!1;else if(e.bom!==!0)throw new fe("CSV_INVALID_OPTION_BOM",["Invalid option bom:","bom must be true,",`got ${JSON.stringify(e.bom)}`],e);if(e.cast_function=null,e.cast===void 0||e.cast===null||e.cast===!1||e.cast==="")e.cast=void 0;else if(typeof e.cast=="function")e.cast_function=e.cast,e.cast=!0;else if(e.cast!==!0)throw new fe("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(e.cast)}`],e);if(e.cast_date===void 0||e.cast_date===null||e.cast_date===!1||e.cast_date==="")e.cast_date=!1;else if(e.cast_date===!0)e.cast_date=function(s){let n=Date.parse(s);return isNaN(n)?s:new Date(n)};else if(typeof e.cast_date!="function")throw new fe("CSV_INVALID_OPTION_CAST_DATE",["Invalid option cast_date:","cast_date must be true or a function,",`got ${JSON.stringify(e.cast_date)}`],e);if(e.cast_first_line_to_header=void 0,e.columns===!0)e.cast_first_line_to_header=void 0;else if(typeof e.columns=="function")e.cast_first_line_to_header=e.columns,e.columns=!0;else if(Array.isArray(e.columns))e.columns=nB(e.columns);else if(e.columns===void 0||e.columns===null||e.columns===!1)e.columns=!1;else throw new fe("CSV_INVALID_OPTION_COLUMNS",["Invalid option columns:","expect an array, a function or true,",`got ${JSON.stringify(e.columns)}`],e);if(e.group_columns_by_name===void 0||e.group_columns_by_name===null||e.group_columns_by_name===!1)e.group_columns_by_name=!1;else{if(e.group_columns_by_name!==!0)throw new fe("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","expect an boolean,",`got ${JSON.stringify(e.group_columns_by_name)}`],e);if(e.columns===!1)throw new fe("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","the `columns` mode must be activated."],e)}if(e.comment===void 0||e.comment===null||e.comment===!1||e.comment==="")e.comment=null;else if(typeof e.comment=="string"&&(e.comment=Buffer.from(e.comment,e.encoding)),!Buffer.isBuffer(e.comment))throw new fe("CSV_INVALID_OPTION_COMMENT",["Invalid option comment:","comment must be a buffer or a string,",`got ${JSON.stringify(e.comment)}`],e);if(e.comment_no_infix===void 0||e.comment_no_infix===null||e.comment_no_infix===!1)e.comment_no_infix=!1;else if(e.comment_no_infix!==!0)throw new fe("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(e.comment_no_infix)}`],e);if(e.delimiter_auto===void 0||e.delimiter_auto===null||e.delimiter_auto===!1)e.delimiter_auto=!1;else if(e.delimiter_auto===!0)e.delimiter_auto={};else if(!Um(e.delimiter_auto))throw new fe("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","delimiter_auto must be a boolean or a configuration object,",`got ${JSON.stringify(e.delimiter_auto)}`],e);if(e.delimiter_auto){if(e.delimiter_auto.preferred===void 0)e.delimiter_auto.preferred={44:1.8,9:1.8,59:1.6,32:1.6,58:1.5,46:1.4,47:1.4};else if(!Um(e.delimiter_auto.preferred))throw new fe("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","preferred must be an object,",`got ${JSON.stringify(e.delimiter_auto.preferred)}`],e);if(e.delimiter_auto.score===void 0)e.delimiter_auto.score=(s,n)=>(s.total-s.std)*(n.preferred[s.char_code]||1);else if(typeof e.delimiter_auto.score!="function")throw new fe("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","score must be a function,",`got ${JSON.stringify(e.delimiter_auto.score)}`],e);if(e.delimiter_auto.size===void 0)e.delimiter_auto.size=2048;else if(typeof e.delimiter_auto.size!="number")throw new fe("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","size must be a number,",`got ${JSON.stringify(e.delimiter_auto.size)}`],e)}let r=JSON.stringify(e.delimiter);if(e.delimiter_auto!==!1&&(e.delimiter=[]),Array.isArray(e.delimiter)||((e.delimiter===void 0||e.delimiter===null||e.delimiter===!1)&&(e.delimiter=Buffer.from(",",e.encoding)),e.delimiter=[e.delimiter]),e.delimiter=e.delimiter.map(function(s){if(typeof s=="string"&&(s=Buffer.from(s,e.encoding)),!Buffer.isBuffer(s)||s.length===0)throw new fe("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],e);return s}),e.escape===void 0||e.escape===!0?e.escape=Buffer.from('"',e.encoding):typeof e.escape=="string"?e.escape=Buffer.from(e.escape,e.encoding):(e.escape===null||e.escape===!1)&&(e.escape=null),e.escape!==null&&!Buffer.isBuffer(e.escape))throw new Error(`Invalid Option: escape must be a buffer, a string or a boolean, got ${JSON.stringify(e.escape)}`);if(e.from===void 0||e.from===null)e.from=1;else if(typeof e.from=="string"&&/\d+/.test(e.from)&&(e.from=parseInt(e.from)),Number.isInteger(e.from)){if(e.from<0)throw new Error(`Invalid Option: from must be a positive integer, got ${JSON.stringify(t.from)}`)}else throw new Error(`Invalid Option: from must be an integer, got ${JSON.stringify(e.from)}`);if(e.from_line===void 0||e.from_line===null)e.from_line=1;else if(typeof e.from_line=="string"&&/\d+/.test(e.from_line)&&(e.from_line=parseInt(e.from_line)),Number.isInteger(e.from_line)){if(e.from_line<=0)throw new Error(`Invalid Option: from_line must be a positive integer greater than 0, got ${JSON.stringify(t.from_line)}`)}else throw new Error(`Invalid Option: from_line must be an integer, got ${JSON.stringify(t.from_line)}`);if(e.ignore_last_delimiters===void 0||e.ignore_last_delimiters===null)e.ignore_last_delimiters=!1;else if(typeof e.ignore_last_delimiters=="number")e.ignore_last_delimiters=Math.floor(e.ignore_last_delimiters),e.ignore_last_delimiters===0&&(e.ignore_last_delimiters=!1);else if(typeof e.ignore_last_delimiters!="boolean")throw new fe("CSV_INVALID_OPTION_IGNORE_LAST_DELIMITERS",["Invalid option `ignore_last_delimiters`:","the value must be a boolean value or an integer,",`got ${JSON.stringify(e.ignore_last_delimiters)}`],e);if(e.ignore_last_delimiters===!0&&e.columns===!1)throw new fe("CSV_IGNORE_LAST_DELIMITERS_REQUIRES_COLUMNS",["The option `ignore_last_delimiters`","requires the activation of the `columns` option"],e);if(e.info===void 0||e.info===null||e.info===!1)e.info=!1;else if(e.info!==!0)throw new Error(`Invalid Option: info must be true, got ${JSON.stringify(e.info)}`);if(e.max_record_size===void 0||e.max_record_size===null||e.max_record_size===!1)e.max_record_size=0;else if(!(Number.isInteger(e.max_record_size)&&e.max_record_size>=0))if(typeof e.max_record_size=="string"&&/\d+/.test(e.max_record_size))e.max_record_size=parseInt(e.max_record_size);else throw new Error(`Invalid Option: max_record_size must be a positive integer, got ${JSON.stringify(e.max_record_size)}`);if(e.objname===void 0||e.objname===null||e.objname===!1)e.objname=void 0;else if(Buffer.isBuffer(e.objname)){if(e.objname.length===0)throw new Error("Invalid Option: objname must be a non empty buffer");e.encoding===null||(e.objname=e.objname.toString(e.encoding))}else if(typeof e.objname=="string"){if(e.objname.length===0)throw new Error("Invalid Option: objname must be a non empty string")}else if(typeof e.objname!="number")throw new Error(`Invalid Option: objname must be a string or a buffer, got ${e.objname}`);if(e.objname!==void 0){if(typeof e.objname=="number"){if(e.columns!==!1)throw Error("Invalid Option: objname index cannot be combined with columns or be defined as a field")}else if(e.columns===!1)throw Error("Invalid Option: objname field must be combined with columns or be defined as an index")}if(e.on_record===void 0||e.on_record===null)e.on_record=void 0;else if(typeof e.on_record!="function")throw new fe("CSV_INVALID_OPTION_ON_RECORD",["Invalid option `on_record`:","expect a function,",`got ${JSON.stringify(e.on_record)}`],e);if(e.on_skip!==void 0&&e.on_skip!==null&&typeof e.on_skip!="function")throw new Error(`Invalid Option: on_skip must be a function, got ${JSON.stringify(e.on_skip)}`);if(e.quote===null||e.quote===!1||e.quote==="")e.quote=null;else if(e.quote===void 0||e.quote===!0?e.quote=Buffer.from('"',e.encoding):typeof e.quote=="string"&&(e.quote=Buffer.from(e.quote,e.encoding)),!Buffer.isBuffer(e.quote))throw new Error(`Invalid Option: quote must be a buffer or a string, got ${JSON.stringify(e.quote)}`);if(e.raw===void 0||e.raw===null||e.raw===!1)e.raw=!1;else if(e.raw!==!0)throw new Error(`Invalid Option: raw must be true, got ${JSON.stringify(e.raw)}`);if(e.record_delimiter===void 0)e.record_delimiter=[];else if(typeof e.record_delimiter=="string"||Buffer.isBuffer(e.record_delimiter)){if(e.record_delimiter.length===0)throw new fe("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer,",`got ${JSON.stringify(e.record_delimiter)}`],e);e.record_delimiter=[e.record_delimiter]}else if(!Array.isArray(e.record_delimiter))throw new fe("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer,",`got ${JSON.stringify(e.record_delimiter)}`],e);if(e.record_delimiter=e.record_delimiter.map(function(s,n){if(typeof s!="string"&&!Buffer.isBuffer(s))throw new fe("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${n},`,`got ${JSON.stringify(s)}`],e);if(s.length===0)throw new fe("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${n},`,`got ${JSON.stringify(s)}`],e);return typeof s=="string"&&(s=Buffer.from(s,e.encoding)),s}),typeof e.relax_column_count!="boolean")if(e.relax_column_count===void 0||e.relax_column_count===null)e.relax_column_count=!1;else throw new Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(e.relax_column_count)}`);if(typeof e.relax_column_count_less!="boolean")if(e.relax_column_count_less===void 0||e.relax_column_count_less===null)e.relax_column_count_less=!1;else throw new Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(e.relax_column_count_less)}`);if(typeof e.relax_column_count_more!="boolean")if(e.relax_column_count_more===void 0||e.relax_column_count_more===null)e.relax_column_count_more=!1;else throw new Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(e.relax_column_count_more)}`);if(typeof e.relax_quotes!="boolean")if(e.relax_quotes===void 0||e.relax_quotes===null)e.relax_quotes=!1;else throw new Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(e.relax_quotes)}`);if(typeof e.skip_empty_lines!="boolean")if(e.skip_empty_lines===void 0||e.skip_empty_lines===null)e.skip_empty_lines=!1;else throw new Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(e.skip_empty_lines)}`);if(typeof e.skip_records_with_empty_values!="boolean")if(e.skip_records_with_empty_values===void 0||e.skip_records_with_empty_values===null)e.skip_records_with_empty_values=!1;else throw new Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(e.skip_records_with_empty_values)}`);if(typeof e.skip_records_with_error!="boolean")if(e.skip_records_with_error===void 0||e.skip_records_with_error===null)e.skip_records_with_error=!1;else throw new Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(e.skip_records_with_error)}`);if(e.rtrim===void 0||e.rtrim===null||e.rtrim===!1)e.rtrim=!1;else if(e.rtrim!==!0)throw new Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(e.rtrim)}`);if(e.ltrim===void 0||e.ltrim===null||e.ltrim===!1)e.ltrim=!1;else if(e.ltrim!==!0)throw new Error(`Invalid Option: ltrim must be a boolean, got ${JSON.stringify(e.ltrim)}`);if(e.trim===void 0||e.trim===null||e.trim===!1)e.trim=!1;else if(e.trim!==!0)throw new Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(e.trim)}`);if(e.trim===!0&&t.ltrim!==!1?e.ltrim=!0:e.ltrim!==!0&&(e.ltrim=!1),e.trim===!0&&t.rtrim!==!1?e.rtrim=!0:e.rtrim!==!0&&(e.rtrim=!1),e.to===void 0||e.to===null)e.to=-1;else if(e.to!==-1)if(typeof e.to=="string"&&/\d+/.test(e.to)&&(e.to=parseInt(e.to)),Number.isInteger(e.to)){if(e.to<=0)throw new Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(t.to)}`)}else throw new Error(`Invalid Option: to must be an integer, got ${JSON.stringify(t.to)}`);if(e.to_line===void 0||e.to_line===null)e.to_line=-1;else if(e.to_line!==-1)if(typeof e.to_line=="string"&&/\d+/.test(e.to_line)&&(e.to_line=parseInt(e.to_line)),Number.isInteger(e.to_line)){if(e.to_line<=0)throw new Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(t.to_line)}`)}else throw new Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(t.to_line)}`);return e},"normalize_options");var d6=o(function(t,e){e||({delimiter_auto:e}=pA({delimiter_auto:!0})),typeof t=="string"&&(t=Buffer.from(t)),Buffer.isBuffer(t)&&(t=(n=>{let i=[],a=iB({delimiter:[]}),c=o(A=>i.push(A),"push"),l=o(()=>{},"close"),u=a.parse(n,!0,c,l);if(u!==void 0)throw u;return i})(t));let r=Array(127).fill().map(()=>({lines:[]}));t.map(([n],i)=>{for(let a=0,c=n.length;a{n.char_code=i,n.std=iPe(n.lines),n.total=n.lines.reduce((a,c)=>a+c,0),n.preferred=!!e.preferred[i],n.score=e.score(n,e)});let s=r.reduce((n,i)=>n.score>i.score?n:i,{});return String.fromCharCode(s.char_code)},"delimiter_discover"),iPe=o(function(t){let e=t.length;if(e===0)return 0;let r=t.reduce((s,n)=>s+n)/e;return Math.sqrt(t.map(s=>Math.pow(s-r,2)).reduce((s,n)=>s+n)/e)},"std");var p6=o(function(t){return t.every(e=>e==null||e.toString&&e.toString().trim()==="")},"isRecordEmpty"),oPe=13,aPe=10,mA={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},iB=o(function(t={}){let e={bytes:0,bytes_records:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0},r=pA(t);return{info:e,original_options:t,options:r,state:u6(r),__needMoreData:o(function(s,n,i){if(i)return!1;let{encoding:a,escape:c,quote:l}=this.options,{quoting:u,needMoreDataSize:A,recordDelimiterMaxLength:d}=this.state,p=n-s-1,m=Math.max(A,d===0?Buffer.from(`\r `,a).length:d,u?(c===null?0:c.length)+l.length:0,u?l.length+d:0);return pu.size)this.options.delimiter=[Buffer.from(d6(Se,this.options.delimiter_auto))],this.state.previousBuf=Se,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=Se;return}}let{previousBuf:Me}=this.state,se;if(Me===void 0)if(s===void 0){a();return}else se=s;else Me!==void 0&&s===void 0?se=Me:se=Buffer.concat([Me,s]);if(ge===!1)if(c===!1)this.state.bomSkipped=!0;else if(se.length<3){if(n===!1){this.state.previousBuf=se;return}}else{for(let Se in mA)if(mA[Se].compare(se,0,mA[Se].length)===0){let Pn=mA[Se].length;this.state.bufBytesStart+=Pn,se=se.slice(Pn);let bo=pA({...this.original_options,encoding:Se});for(let rt in bo)this.options[rt]=bo[rt];({comment:B,escape:N,quote:S}=this.options);break}this.state.bomSkipped=!0}let Ar=se.length,V;for(V=0;VI){this.state.stop=!0,a();return}this.state.quoting===!1&&q.length===0&&this.__autoDiscoverRecordDelimiter(se,V)&&(q=this.options.record_delimiter);let Se=se[V];if(h===!0&&Pe.append(Se),(Se===oPe||Se===aPe)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(N!==null&&this.state.quoting===!0&&this.__isEscape(se,V,Se)&&V+N.lengthmA[Ca].equals(this.state.field.toString())?Ca:!1).filter(Boolean)[0],jr=this.__error(new fe("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(rt.column)} at line ${rt.lines}, value is ${JSON.stringify(this.state.field.toString(A))}`,kn?`(${kn} bom)`:void 0],this.options,rt,{field:this.state.field}));if(jr!==void 0)return jr}}else{this.state.quoting=!0,V+=S.length-1;continue}if(this.state.quoting===!1){let rt=this.__isRecordDelimiter(Se,se,V);if(rt!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=d){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),V+=rt-1;continue}if(E===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,V+=rt-1;continue}this.info.bytes=this.state.bufBytesStart+V;let Ca=this.__onField();if(Ca!==void 0)return Ca;this.info.bytes=this.state.bufBytesStart+V+rt;let ih=this.__onRecord(i);if(ih!==void 0)return ih;if(y!==-1&&this.info.records>=y){this.state.stop=!0,a();return}}this.state.commenting=!1,V+=rt-1;continue}if(this.state.commenting)continue;if(B!==null&&(l===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(B,se,V,Se)!==0){this.state.commenting=!0;continue}let kn=this.__isDelimiter(se,V,Se);if(kn!==0){this.info.bytes=this.state.bufBytesStart+V;let jr=this.__onField();if(jr!==void 0)return jr;V+=kn-1;continue}}}if(this.state.commenting===!1&&m!==0&&this.state.record_length+this.state.field.length>m)return this.__error(new fe("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${m}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let Pn=p===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(se,V),bo=C===!1||this.state.wasQuoting===!1;if(Pn===!0&&bo===!0)this.state.field.append(Se);else{if(C===!0&&!this.__isCharTrimable(se,V))return this.__error(new fe("CSV_NON_TRIMABLE_CHAR_AFTER_CLOSING_QUOTE",["Invalid Closing Quote:","found non trimable byte after quote",`at line ${this.info.lines}`],this.options,this.__infoField()));Pn===!1&&(V+=this.__isCharTrimable(se,V)-1);continue}}if(n===!0)if(this.state.quoting===!0){let Se=this.__error(new fe("CSV_QUOTE_NOT_CLOSED",["Quote Not Closed:",`the parsing is finished with an opening quote at line ${this.info.lines}`],this.options,this.__infoField()));if(Se!==void 0)return Se}else if(this.state.wasQuoting===!0||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+V;let Se=this.__onField();if(Se!==void 0)return Se;let Pn=this.__onRecord(i);if(Pn!==void 0)return Pn}else this.state.wasRowDelimiter===!0?this.info.empty_lines++:this.state.commenting===!0&&this.info.comment_lines++;else this.state.bufBytesStart+=V,this.state.previousBuf=se.slice(V);this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1)},"parse"),__onRecord:o(function(s){let{columns:n,group_columns_by_name:i,encoding:a,info:c,from:l,relax_column_count:u,relax_column_count_less:A,relax_column_count_more:d,raw:p,skip_records_with_empty_values:m}=this.options,{enabled:h,record:g}=this.state;if(h===!1)return this.__resetRecord();let C=g.length;if(n===!0){if(m===!0&&p6(g)){this.__resetRecord();return}return this.__firstLineToColumns(g)}if(n===!1&&this.info.records===0&&(this.state.expectedRecordLength=C),C!==this.state.expectedRecordLength){let E=n===!1?new fe("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${C} on line ${this.info.lines}`],this.options,this.__infoField(),{record:g}):new fe("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${n.length},`,`got ${C} on line ${this.info.lines}`],this.options,this.__infoField(),{record:g});if(u===!0||A===!0&&Cthis.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=E;else{let y=this.__error(E);if(y)return y}}if(m===!0&&p6(g)){this.__resetRecord();return}if(this.state.recordHasError===!0){this.__resetRecord(),this.state.recordHasError=!1;return}if(this.info.records++,l===1||this.info.records>=l){let{objname:E}=this.options;if(n!==!1){let y={};for(let I=0,B=g.length;I=0},"__isFloat"),__isQuote:o(function(s,n){let{quote:i}=this.options;if(i===null)return!1;let a=i.length;for(let c=0;cthis.state.record.length?s[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}},"__infoField")}},"transform");var oB=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],s=iB(e),n=o(c=>{s.options.objname===void 0?r.push(c):r[c[0]]=c[1]},"push"),i=o(()=>{},"close"),a=s.parse(t,!0,n,i);if(a!==void 0)throw a;return r},"parse");var Nr=class t{static{o(this,"Util")}static getInputList(e,r){return this.getList(fn(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let s=[];if(e=="")return s;let n=oB(e,{columns:!1,relaxQuotes:!0,comment:r?.comment,comment_no_infix:r?.commentNoInfix,relaxColumnCount:!0,skipEmptyLines:!0,quote:r?.quote});for(let i of n)i.length==1?r?.ignoreComma?s.push(i[0]):s.push(...i[0].split(",")):r?.ignoreComma?s.push(i.join(",")):s.push(...i);return s.filter(i=>i).map(i=>r?.trimWhitespace===!1?i:i.trim())}static getInputNumber(e){let r=fn(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let s=0;ssetTimeout(r,e*1e3))}static hash(e){return VD.default.createHash("sha256").update(e).digest("hex")}static parseBool(e){if(e===void 0)return!1;switch(e){case"1":case"t":case"T":case"true":case"TRUE":case"True":return!0;case"0":case"f":case"F":case"false":case"FALSE":case"False":return!1;default:throw new Error(`parseBool syntax error: ${e}`)}}static parseBoolOrDefault(e,r=!1){try{return this.parseBool(e)}catch{return r}}static formatFileSize(e){if(e===0)return"0 Bytes";let r=1024,s=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],n=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,n)).toFixed(2))+" "+s[n]}static generateRandomString(e=10){return VD.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,s){return h6.default.compile(e,r)(s)}static stringToUnicodeEntities(e){return Array.from(e).map(r=>`&#x${r.charCodeAt(0).toString(16)};`).join("")}static countLines(e){return e.split(/\r\n|\r|\n/).length}static isPathRelativeTo(e,r){let s=qm.default.resolve(e);return qm.default.resolve(r).startsWith(s.endsWith(qm.default.sep)?s:`${s}${qm.default.sep}`)}static formatDuration(e){if(e===0)return"0s";let r=Math.floor(e/1e9),s=Math.floor(r/3600),n=Math.floor(r%3600/60),i=r%60,a=[];return s&&a.push(`${s}h`),n&&a.push(`${n}m`),(i||a.length===0)&&a.push(`${i}s`),a.join("")}};var ur=class t{static{o(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||Gm.default.join(f6.default.homedir(),".docker")}static configFile(){let e=Gm.default.join(t.configDir,"config.json");if($D.default.existsSync(e))return JSON.parse($D.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await ft("docker",!0).then(e=>(b(`Docker.isAvailable ok: ${e}`),!0)).catch(e=>(b(`Docker.isAvailable error: ${e}`),!1))}static async isDaemonRunning(){try{return await t.getExecOutput(["version"],{silent:!0}),!0}catch{return!1}}static async exec(e,r){return de.exec("docker",e,t.execOptions(r))}static async getExecOutput(e,r){return de.getExecOutput("docker",e,t.execOptions(r))}static execOptions(e){return e||(e={}),e.env?e.env.DOCKER_CONTENT_TRUST="false":e.env=Object.assign({},process.env,{DOCKER_CONTENT_TRUST:"false"}),e}static async context(e){let r=["context","inspect","--format","{{.Name}}"];return e&&r.push(e),await t.getExecOutput(r,{ignoreReturnCode:!0,silent:!0}).then(s=>{if(s.stderr.length>0&&s.exitCode!=0)throw new Error(s.stderr);return s.stdout.trim()})}static async contextInspect(e){let r=["context","inspect","--format=json"];return e&&r.push(e),await t.getExecOutput(r,{ignoreReturnCode:!0,silent:!0}).then(s=>{if(s.stderr.length>0&&s.exitCode!=0)throw new Error(s.stderr.trim());return JSON.parse(s.stdout.trim())[0]})}static async printVersion(){await t.exec(["version"])}static async printInfo(){await t.exec(["info"])}static parseRepoTag(e){let r,s=e.indexOf("@"),n=e.lastIndexOf(":");if(s>=0)r=s;else if(n>=0)r=n;else return{repository:e,tag:"latest"};let i=e.slice(r+1);return i.indexOf("/")===-1?{repository:e.slice(0,r),tag:i}:{repository:e,tag:"latest"}}static async pull(e,r){let s=t.parseRepoTag(e),n=s.repository.replace(/[^a-zA-Z0-9.]+/g,"--"),i=s.tag.replace(/[^a-zA-Z0-9.]+/g,"--"),a=new Ti({htcName:n,htcVersion:i,baseCacheDir:Gm.default.join(t.configDir,".cache","images",n),cacheFile:"image.tar"}),c;r&&(c=await a.find(),c&&(R(`Image found from cache in ${c}`),await t.getExecOutput(["load","-i",c],{ignoreReturnCode:!0}).then(u=>{u.stderr.length>0&&u.exitCode!=0&&je(`Failed to load image from cache: ${u.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`)})));let l=!0;if(await t.getExecOutput(["pull",e],{ignoreReturnCode:!0}).then(u=>{if(u.stderr.length>0&&u.exitCode!=0){l=!1;let A=u.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error";if(c)je(`Failed to pull image, using one from cache: ${A}`);else throw new Error(A)}}),r&&l){let u=Gm.default.join(Jr.tmpDir(),`${Nr.hash(e)}.tar`);await t.getExecOutput(["save","-o",u,e],{ignoreReturnCode:!0}).then(async A=>{if(A.stderr.length>0&&A.exitCode!=0)je(`Failed to save image: ${A.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);else{let d=await a.save(u);R(`Image cached to ${d}`)}})}}};var aB=require("fs"),g6=require("os");var hA=class{static{o(this,"Context")}constructor(){var e,r,s;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,aB.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,aB.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}));else{let n=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${n} does not exist${g6.EOL}`)}this.eventName=process.env.GITHUB_EVENT_NAME,this.sha=process.env.GITHUB_SHA,this.ref=process.env.GITHUB_REF,this.workflow=process.env.GITHUB_WORKFLOW,this.action=process.env.GITHUB_ACTION,this.actor=process.env.GITHUB_ACTOR,this.job=process.env.GITHUB_JOB,this.runAttempt=parseInt(process.env.GITHUB_RUN_ATTEMPT,10),this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10),this.runId=parseInt(process.env.GITHUB_RUN_ID,10),this.apiUrl=(e=process.env.GITHUB_API_URL)!==null&&e!==void 0?e:"https://api.github.com",this.serverUrl=(r=process.env.GITHUB_SERVER_URL)!==null&&r!==void 0?r:"https://github.com",this.graphqlUrl=(s=process.env.GITHUB_GRAPHQL_URL)!==null&&s!==void 0?s:"https://api.github.com/graphql"}get issue(){let e=this.payload;return Object.assign(Object.assign({},this.repo),{number:(e.issue||e.pull_request||e).number})}get repo(){if(process.env.GITHUB_REPOSITORY){let[e,r]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:r}}if(this.payload.repository)return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name};throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}};var jD=w(B6(),1),w6=w(Vl(),1);var CPe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function b6(t,e){if(!t&&!e.auth)throw new Error("Parameter token or opts.auth is required");if(t&&e.auth)throw new Error("Parameters token and opts.auth may not both be specified");return typeof e.auth=="string"?e.auth:`token ${t}`}o(b6,"getAuthString");function Q6(t){return new jD.HttpClient().getAgent(t)}o(Q6,"getProxyAgent");function IPe(t){return new jD.HttpClient().getAgentDispatcher(t)}o(IPe,"getProxyAgentDispatcher");function x6(t){let e=IPe(t);return o((s,n)=>CPe(this,void 0,void 0,function*(){return(0,w6.fetch)(s,Object.assign(Object.assign({},n),{dispatcher:e}))}),"proxyFetch")}o(x6,"getProxyFetch");function N6(){return process.env.GITHUB_API_URL||"https://api.github.com"}o(N6,"getApiBaseUrl");function KD(t){var e;let r=(e=process.env.ACTIONS_ORCHESTRATION_ID)===null||e===void 0?void 0:e.trim();if(r){let n=`actions_orchestration_id/${r.replace(/[^a-z0-9_.-]/gi,"_")}`;return t?.includes(n)?t:`${t?`${t} `:""}${n}`}return t}o(KD,"getUserAgentWithOrchestrationId");function fa(){return typeof navigator=="object"&&"userAgent"in navigator?navigator.userAgent:typeof process=="object"&&process.version!==void 0?`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`:""}o(fa,"getUserAgent");function mB(t,e,r,s){if(typeof r!="function")throw new Error("method for before hook must be a function");return s||(s={}),Array.isArray(e)?e.reverse().reduce((n,i)=>mB.bind(null,t,i,n,s),r)():Promise.resolve().then(()=>t.registry[e]?t.registry[e].reduce((n,i)=>i.hook.bind(null,n,s),r)():r(s))}o(mB,"register");function S6(t,e,r,s){let n=s;t.registry[r]||(t.registry[r]=[]),e==="before"&&(s=o((i,a)=>Promise.resolve().then(n.bind(null,a)).then(i.bind(null,a)),"hook")),e==="after"&&(s=o((i,a)=>{let c;return Promise.resolve().then(i.bind(null,a)).then(l=>(c=l,n(c,a))).then(()=>c)},"hook")),e==="error"&&(s=o((i,a)=>Promise.resolve().then(i.bind(null,a)).catch(c=>n(c,a)),"hook")),t.registry[r].push({hook:s,orig:n})}o(S6,"addHook");function R6(t,e,r){if(!t.registry[e])return;let s=t.registry[e].map(n=>n.orig).indexOf(r);s!==-1&&t.registry[e].splice(s,1)}o(R6,"removeHook");var T6=Function.bind,v6=T6.bind(T6);function P6(t,e,r){let s=v6(R6,null).apply(null,r?[e,r]:[e]);t.api={remove:s},t.remove=s,["before","error","after","wrap"].forEach(n=>{let i=r?[e,n,r]:[e,n];t[n]=t.api[n]=v6(S6,null).apply(null,i)})}o(P6,"bindApi");function wPe(){let t=Symbol("Singular"),e={registry:{}},r=mB.bind(null,e,t);return P6(r,e,t),r}o(wPe,"Singular");function bPe(){let t={registry:{}},e=mB.bind(null,t);return P6(e,t),e}o(bPe,"Collection");var k6={Singular:wPe,Collection:bPe};var QPe="0.0.0-development",xPe=`octokit-endpoint.js/${QPe} ${fa()}`,NPe={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":xPe},mediaType:{format:""}};function SPe(t){return t?Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}):{}}o(SPe,"lowercaseKeys");function RPe(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);if(e===null)return!0;let r=Object.prototype.hasOwnProperty.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(t)}o(RPe,"isPlainObject");function L6(t,e){let r=Object.assign({},t);return Object.keys(e).forEach(s=>{RPe(e[s])?s in t?r[s]=L6(t[s],e[s]):Object.assign(r,{[s]:e[s]}):Object.assign(r,{[s]:e[s]})}),r}o(L6,"mergeDeep");function D6(t){for(let e in t)t[e]===void 0&&delete t[e];return t}o(D6,"removeUndefinedProperties");function ZD(t,e,r){if(typeof e=="string"){let[n,i]=e.split(" ");r=Object.assign(i?{method:n,url:i}:{url:n},r)}else r=Object.assign({},e);r.headers=SPe(r.headers),D6(r),D6(r.headers);let s=L6(t||{},r);return r.url==="/graphql"&&(t&&t.mediaType.previews?.length&&(s.mediaType.previews=t.mediaType.previews.filter(n=>!s.mediaType.previews.includes(n)).concat(s.mediaType.previews)),s.mediaType.previews=(s.mediaType.previews||[]).map(n=>n.replace(/-preview/,""))),s}o(ZD,"merge");function TPe(t,e){let r=/\?/.test(t)?"&":"?",s=Object.keys(e);return s.length===0?t:t+r+s.map(n=>n==="q"?"q="+e.q.split("+").map(encodeURIComponent).join("+"):`${n}=${encodeURIComponent(e[n])}`).join("&")}o(TPe,"addQueryParameters");var vPe=/\{[^{}}]+\}/g;function PPe(t){return t.replace(/(?:^\W+)|(?:(?r.concat(s),[]):[]}o(kPe,"extractUrlVariableNames");function _6(t,e){let r={__proto__:null};for(let s of Object.keys(t))e.indexOf(s)===-1&&(r[s]=t[s]);return r}o(_6,"omit");function M6(t){return t.split(/(%[0-9A-Fa-f]{2})/g).map(function(e){return/%[0-9A-Fa-f]/.test(e)||(e=encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]")),e}).join("")}o(M6,"encodeReserved");function gA(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}o(gA,"encodeUnreserved");function zm(t,e,r){return e=t==="+"||t==="#"?M6(e):gA(e),r?gA(r)+"="+e:e}o(zm,"encodeValue");function fA(t){return t!=null}o(fA,"isDefined");function XD(t){return t===";"||t==="&"||t==="?"}o(XD,"isKeyOperator");function DPe(t,e,r,s){var n=t[r],i=[];if(fA(n)&&n!=="")if(typeof n=="string"||typeof n=="number"||typeof n=="bigint"||typeof n=="boolean")n=n.toString(),s&&s!=="*"&&(n=n.substring(0,parseInt(s,10))),i.push(zm(e,n,XD(e)?r:""));else if(s==="*")Array.isArray(n)?n.filter(fA).forEach(function(a){i.push(zm(e,a,XD(e)?r:""))}):Object.keys(n).forEach(function(a){fA(n[a])&&i.push(zm(e,n[a],a))});else{let a=[];Array.isArray(n)?n.filter(fA).forEach(function(c){a.push(zm(e,c))}):Object.keys(n).forEach(function(c){fA(n[c])&&(a.push(gA(c)),a.push(zm(e,n[c].toString())))}),XD(e)?i.push(gA(r)+"="+a.join(",")):a.length!==0&&i.push(a.join(","))}else e===";"?fA(n)&&i.push(gA(r)):n===""&&(e==="&"||e==="?")?i.push(gA(r)+"="):n===""&&i.push("");return i}o(DPe,"getValues");function _Pe(t){return{expand:LPe.bind(null,t)}}o(_Pe,"parseUrl");function LPe(t,e){var r=["+","#",".","/",";","?","&"];return t=t.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(s,n,i){if(n){let c="",l=[];if(r.indexOf(n.charAt(0))!==-1&&(c=n.charAt(0),n=n.substr(1)),n.split(/,/g).forEach(function(u){var A=/([^:\*]*)(?::(\d+)|(\*))?/.exec(u);l.push(DPe(e,c,A[1],A[2]||A[3]))}),c&&c!=="+"){var a=",";return c==="?"?a="&":c!=="#"&&(a=c),(l.length!==0?c:"")+l.join(a)}else return l.join(",")}else return M6(i)}),t==="/"?t:t.replace(/\/$/,"")}o(LPe,"expand");function O6(t){let e=t.method.toUpperCase(),r=(t.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),s=Object.assign({},t.headers),n,i=_6(t,["method","baseUrl","url","headers","request","mediaType"]),a=kPe(r);r=_Pe(r).expand(i),/^http/.test(r)||(r=t.baseUrl+r);let c=Object.keys(t).filter(A=>a.includes(A)).concat("baseUrl"),l=_6(i,c);if(!/application\/octet-stream/i.test(s.accept)&&(t.mediaType.format&&(s.accept=s.accept.split(/,/).map(A=>A.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${t.mediaType.format}`)).join(",")),r.endsWith("/graphql")&&t.mediaType.previews?.length)){let A=s.accept.match(/(?{let p=t.mediaType.format?`.${t.mediaType.format}`:"+json";return`application/vnd.github.${d}-preview${p}`}).join(",")}return["GET","HEAD"].includes(e)?r=TPe(r,l):"data"in l?n=l.data:Object.keys(l).length&&(n=l),!s["content-type"]&&typeof n<"u"&&(s["content-type"]="application/json; charset=utf-8"),["PATCH","PUT"].includes(e)&&typeof n>"u"&&(n=""),Object.assign({method:e,url:r,headers:s},typeof n<"u"?{body:n}:null,t.request?{request:t.request}:null)}o(O6,"parse");function MPe(t,e,r){return O6(ZD(t,e,r))}o(MPe,"endpointWithDefaults");function F6(t,e){let r=ZD(t,e),s=MPe.bind(null,r);return Object.assign(s,{DEFAULTS:r,defaults:F6.bind(null,r),merge:ZD.bind(null,r),parse:O6})}o(F6,"withDefaults");var U6=F6(null,NPe);var K6=w(z6(),1);var $6=/^-?\d+n+$/,e_=JSON.stringify,V6=JSON.parse,Y6=o((t,e,r)=>{if("rawJSON"in JSON)return e_(t,(l,u)=>typeof u=="bigint"?JSON.rawJSON(u.toString()):typeof e=="function"?e(l,u):(Array.isArray(e)&&e.includes(l),u),r);if(!t)return e_(t,e,r);let s=/([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,n=/([\[:])?("-?\d+n+)n("$|"([\\n]|\s)*(\s|[\\n])*[,\}\]])/g;return e_(t,(l,u)=>typeof u=="string"&&!!u.match($6)||typeof u=="bigint"?u.toString()+"n":typeof e=="function"?e(l,u):(Array.isArray(e)&&e.includes(l),u),r).replace(s,"$1$2$3").replace(n,"$1$2$3")},"JSONStringify"),OPe=o(()=>JSON.parse("1",(t,e,r)=>!!r&&r.source==="1"),"isContextSourceSupported"),FPe=o((t,e)=>{let r=/^-?\d+$/;return JSON.parse(t,(s,n,i)=>{let a=typeof n=="number"&&(n>Number.MAX_SAFE_INTEGER||n{if(!t)return V6(t,e);if(OPe())return FPe(t,e);let r=Number.MAX_SAFE_INTEGER.toString(),s=r.length,n=/"(?:\\.|[^"])*"|-?(0|[1-9][0-9]*)(\.[0-9]+)?([eE][+-]?[0-9]+)?/g,i=/^"-?\d+n+"$/,a=/^-?\d+n$/,c=t.replace(n,(l,u,A,d)=>{let p=l[0]==='"';if(p&&!!l.match(i))return l.substring(0,l.length-1)+'n"';let h=A||d,g=u&&(u.lengthtypeof u=="string"&&!!u.match(a)?BigInt(u.substring(0,u.length-1)):typeof u=="string"&&!!u.match($6)?u.substring(0,u.length-1):typeof e!="function"?u:e(l,u,A))},"JSONParse");var Vc=class extends Error{static{o(this,"RequestError")}name;status;request;response;constructor(e,r,s){super(e,{cause:s.cause}),this.name="HttpError",this.status=Number.parseInt(r),Number.isNaN(this.status)&&(this.status=0);"response"in s&&(this.response=s.response);let n=Object.assign({},s.request);s.request.headers.authorization&&(n.headers=Object.assign({},s.request.headers,{authorization:s.request.headers.authorization.replace(/(?"","noop");async function j6(t){let e=t.request?.fetch||globalThis.fetch;if(!e)throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing");let r=t.request?.log||console,s=t.request?.parseSuccessResponseBody!==!1,n=GPe(t.body)||Array.isArray(t.body)?Y6(t.body):t.body,i=Object.fromEntries(Object.entries(t.headers).map(([d,p])=>[d,String(p)])),a;try{a=await e(t.url,{method:t.method,body:n,redirect:t.request?.redirect,headers:i,signal:t.request?.signal,...t.body&&{duplex:"half"}})}catch(d){let p="Unknown Error";if(d instanceof Error){if(d.name==="AbortError")throw d.status=500,d;p=d.message,d.name==="TypeError"&&"cause"in d&&(d.cause instanceof Error?p=d.cause.message:typeof d.cause=="string"&&(p=d.cause))}let m=new Vc(p,500,{request:t});throw m.cause=d,m}let c=a.status,l=a.url,u={};for(let[d,p]of a.headers)u[d]=p;let A={url:l,status:c,headers:u,data:""};if("deprecation"in u){let d=u.link&&u.link.match(/<([^<>]+)>; rel="deprecation"/),p=d&&d.pop();r.warn(`[@octokit/request] "${t.method} ${t.url}" is deprecated. It is scheduled to be removed on ${u.sunset}${p?`. See ${p}`:""}`)}if(c===204||c===205)return A;if(t.method==="HEAD"){if(c<400)return A;throw new Vc(a.statusText,c,{response:A,request:t})}if(c===304)throw A.data=await t_(a),new Vc("Not modified",c,{response:A,request:t});if(c>=400)throw A.data=await t_(a),new Vc(zPe(A.data),c,{response:A,request:t});return A.data=s?await t_(a):a.body,A}o(j6,"fetchWrapper");async function t_(t){let e=t.headers.get("content-type");if(!e)return t.text().catch(W6);let r=(0,K6.safeParse)(e);if(HPe(r)){let s="";try{return s=await t.text(),J6(s)}catch{return s}}else return r.type.startsWith("text/")||r.parameters.charset?.toLowerCase()==="utf-8"?t.text().catch(W6):t.arrayBuffer().catch(()=>new ArrayBuffer(0))}o(t_,"getResponseData");function HPe(t){return t.type==="application/json"||t.type==="application/scim+json"}o(HPe,"isJSONResponse");function zPe(t){if(typeof t=="string")return t;if(t instanceof ArrayBuffer)return"Unknown error";if("message"in t){let e="documentation_url"in t?` - ${t.documentation_url}`:"";return Array.isArray(t.errors)?`${t.message}: ${t.errors.map(r=>JSON.stringify(r)).join(", ")}${e}`:`${t.message}${e}`}return`Unknown error: ${JSON.stringify(t)}`}o(zPe,"toErrorMessage");function r_(t,e){let r=t.defaults(e);return Object.assign(o(function(n,i){let a=r.merge(n,i);if(!a.request||!a.request.hook)return j6(r.parse(a));let c=o((l,u)=>j6(r.parse(r.merge(l,u))),"request2");return Object.assign(c,{endpoint:r,defaults:r_.bind(null,r)}),a.request.hook(c,a)},"newApi"),{endpoint:r,defaults:r_.bind(null,r)})}o(r_,"withDefaults");var $m=r_(U6,qPe);var VPe="0.0.0-development";function $Pe(t){return`Request failed due to following response errors: `+t.errors.map(e=>` - ${e.message}`).join(` `)}o($Pe,"_buildMessageForResponseErrors");var YPe=class extends Error{static{o(this,"GraphqlResponseError")}constructor(t,e,r){super($Pe(r)),this.request=t,this.headers=e,this.response=r,this.errors=r.errors,this.data=r.data,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}name="GraphqlResponseError";errors;data},JPe=["method","baseUrl","url","headers","request","query","mediaType","operationName"],WPe=["query","method","url"],X6=/\/api\/v3\/?$/;function jPe(t,e,r){if(r){if(typeof e=="string"&&"query"in r)return Promise.reject(new Error('[@octokit/graphql] "query" cannot be used as variable name'));for(let a in r)if(WPe.includes(a))return Promise.reject(new Error(`[@octokit/graphql] "${a}" cannot be used as variable name`))}let s=typeof e=="string"?Object.assign({query:e},r):e,n=Object.keys(s).reduce((a,c)=>JPe.includes(c)?(a[c]=s[c],a):(a.variables||(a.variables={}),a.variables[c]=s[c],a),{}),i=s.baseUrl||t.endpoint.DEFAULTS.baseUrl;return X6.test(i)&&(n.url=i.replace(X6,"/api/graphql")),t(n).then(a=>{if(a.data.errors){let c={};for(let l of Object.keys(a.headers))c[l]=a.headers[l];throw new YPe(n,c,a.data)}return a.data.data})}o(jPe,"graphql");function s_(t,e){let r=t.defaults(e);return Object.assign(o((n,i)=>jPe(r,n,i),"newApi"),{defaults:s_.bind(null,r),endpoint:r.endpoint})}o(s_,"withDefaults");var cut=s_($m,{headers:{"user-agent":`octokit-graphql.js/${VPe} ${fa()}`},method:"POST",url:"/graphql"});function Z6(t){return s_(t,{method:"POST",url:"/graphql"})}o(Z6,"withCustomRequest");var n_="(?:[a-zA-Z0-9_-]+)",eK="\\.",tK=new RegExp(`^${n_}${eK}${n_}${eK}${n_}$`),KPe=tK.test.bind(tK);async function XPe(t){let e=KPe(t),r=t.startsWith("v1.")||t.startsWith("ghs_"),s=t.startsWith("ghu_");return{type:"token",token:t,tokenType:e?"app":r?"installation":s?"user-to-server":"oauth"}}o(XPe,"auth");function ZPe(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}o(ZPe,"withAuthorizationPrefix");async function eke(t,e,r,s){let n=e.endpoint.merge(r,s);return n.headers.authorization=ZPe(t),e(n)}o(eke,"hook");var rK=o(function(e){if(!e)throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");if(typeof e!="string")throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");return e=e.replace(/^(token|bearer) +/i,""),Object.assign(XPe.bind(null,e),{hook:eke.bind(null,e)})},"createTokenAuth2");var i_="7.0.6";var sK=o(()=>{},"noop"),tke=console.warn.bind(console),rke=console.error.bind(console);function ske(t={}){return typeof t.debug!="function"&&(t.debug=sK),typeof t.info!="function"&&(t.info=sK),typeof t.warn!="function"&&(t.warn=tke),typeof t.error!="function"&&(t.error=rke),t}o(ske,"createLogger");var nK=`octokit-core.js/${i_} ${fa()}`,EB=class{static{o(this,"Octokit")}static VERSION=i_;static defaults(e){return class extends this{static{o(this,"OctokitWithDefaults")}constructor(...s){let n=s[0]||{};if(typeof e=="function"){super(e(n));return}super(Object.assign({},e,n,n.userAgent&&e.userAgent?{userAgent:`${n.userAgent} ${e.userAgent}`}:null))}}}static plugins=[];static plugin(...e){let r=this.plugins;return class extends this{static{o(this,"NewOctokit")}static plugins=r.concat(e.filter(n=>!r.includes(n)))}}constructor(e={}){let r=new k6.Collection,s={baseUrl:$m.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:r.bind(null,"request")}),mediaType:{previews:[],format:""}};if(s.headers["user-agent"]=e.userAgent?`${e.userAgent} ${nK}`:nK,e.baseUrl&&(s.baseUrl=e.baseUrl),e.previews&&(s.mediaType.previews=e.previews),e.timeZone&&(s.headers["time-zone"]=e.timeZone),this.request=$m.defaults(s),this.graphql=Z6(this.request).defaults(s),this.log=ske(e.log),this.hook=r,e.authStrategy){let{authStrategy:i,...a}=e,c=i(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:a},e.auth));r.wrap("request",c.hook),this.auth=c}else if(!e.auth)this.auth=async()=>({type:"unauthenticated"});else{let i=rK(e.auth);r.wrap("request",i.hook),this.auth=i}let n=this.constructor;for(let i=0;i({async next(){if(!c)return{done:!0};try{let l=await n({method:i,url:c,headers:a}),u=lke(l);if(c=((u.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1],!c&&"total_commits"in u.data){let A=new URL(u.url),d=A.searchParams,p=parseInt(d.get("page")||"1",10),m=parseInt(d.get("per_page")||"250",10);p*m{if(n.done)return e;let i=!1;function a(){i=!0}return o(a,"done"),e=e.concat(s?s(n.value,a):n.value.data),i?e:aK(t,e,r,s)})}o(aK,"gather");var Dut=Object.assign(oK,{iterator:l_});function u_(t){return{paginate:Object.assign(oK.bind(null,t),{iterator:l_.bind(null,t)})}}o(u_,"paginateRest");u_.VERSION=cke;var Uut=new hA,A_=N6(),uke={baseUrl:A_,request:{agent:Q6(A_),fetch:x6(A_)}},cK=EB.plugin(c_,u_).defaults(uke);function lK(t,e){let r=Object.assign({},e||{}),s=b6(t,r);s&&(r.auth=s);let n=KD(r.userAgent);return n&&(r.userAgent=n),r}o(lK,"getOctokitOptions");var EA=new hA;function uK(t,e,...r){let s=cK.plugin(...r);return new s(lK(t,e))}o(uK,"getOctokit");var Jm=w(require("http"),1),h_=w(require("https"),1);function d_(t){let e=t.protocol==="https:";if(dke(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 yB(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new yB(`http://${r}`)}else return}o(d_,"getProxyUrl");function dke(t){if(!t.hostname)return!1;let e=t.hostname;if(pke(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||n.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(dke,"checkBypass");function pke(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(pke,"isLoopbackAddress");var yB=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 ga=w(BA(),1),AK=w(Vl(),1);var Qt=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},rn;(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"})(rn||(rn={}));var Rr;(function(t){t.Accept="accept",t.ContentType="content-type"})(Rr||(Rr={}));var Bo;(function(t){t.ApplicationJson="application/json"})(Bo||(Bo={}));var hke=[rn.MovedPermanently,rn.ResourceMoved,rn.SeeOther,rn.TemporaryRedirect,rn.PermanentRedirect],fke=[rn.BadGateway,rn.ServiceUnavailable,rn.GatewayTimeout],gke=["OPTIONS","GET","DELETE","HEAD"],Eke=10,yke=5,p_=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},m_=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return Qt(this,void 0,void 0,function*(){return new Promise(e=>Qt(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",s=>{r=Buffer.concat([r,s])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return Qt(this,void 0,void 0,function*(){return new Promise(e=>Qt(this,void 0,void 0,function*(){let r=[];this.message.on("data",s=>{r.push(s)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var CB=class{static{o(this,"HttpClient")}constructor(e,r,s){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=s,s&&(s.ignoreSslError!=null&&(this._ignoreSslError=s.ignoreSslError),this._socketTimeout=s.socketTimeout,s.allowRedirects!=null&&(this._allowRedirects=s.allowRedirects),s.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=s.allowRedirectDowngrade),s.maxRedirects!=null&&(this._maxRedirects=Math.max(s.maxRedirects,0)),s.keepAlive!=null&&(this._keepAlive=s.keepAlive),s.allowRetries!=null&&(this._allowRetries=s.allowRetries),s.maxRetries!=null&&(this._maxRetries=s.maxRetries))}options(e,r){return Qt(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return Qt(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return Qt(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return Qt(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return Qt(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return Qt(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return Qt(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return Qt(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return Qt(this,arguments,void 0,function*(r,s={}){s[Rr.Accept]=this._getExistingOrDefaultHeader(s,Rr.Accept,Bo.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return Qt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Rr.Accept]=this._getExistingOrDefaultHeader(i,Rr.Accept,Bo.ApplicationJson),i[Rr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Bo.ApplicationJson);let c=yield this.post(s,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return Qt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Rr.Accept]=this._getExistingOrDefaultHeader(i,Rr.Accept,Bo.ApplicationJson),i[Rr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Bo.ApplicationJson);let c=yield this.put(s,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return Qt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Rr.Accept]=this._getExistingOrDefaultHeader(i,Rr.Accept,Bo.ApplicationJson),i[Rr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Bo.ApplicationJson);let c=yield this.patch(s,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,s,n){return Qt(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),a=this._prepareRequest(e,i,n),c=this._allowRetries&&gke.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,s),u&&u.message&&u.message.statusCode===rn.Unauthorized){let d;for(let p of this.handlers)if(p.canHandleAuthentication(u)){d=p;break}return d?d.handleAuthentication(this,a,s):u}let A=this._maxRedirects;for(;u.message.statusCode&&hke.includes(u.message.statusCode)&&this._allowRedirects&&A>0;){let d=u.message.headers.location;if(!d)break;let p=new URL(d);if(i.protocol==="https:"&&i.protocol!==p.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 u.readBody(),p.hostname!==i.hostname)for(let m in n)m.toLowerCase()==="authorization"&&delete n[m];a=this._prepareRequest(e,p,n),u=yield this.requestRaw(a,s),A--}if(!u.message.statusCode||!fke.includes(u.message.statusCode))return u;l+=1,l{function i(a,c){a?n(a):c?s(c):n(new Error("Unknown error"))}o(i,"callbackForResult"),this.requestRawWithCallback(e,r,i)})})}requestRawWithCallback(e,r,s){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let n=!1;function i(l,u){n||(n=!0,s(l,u))}o(i,"handleResult");let a=e.httpModule.request(e.options,l=>{let u=new m_(l);i(void 0,u)}),c;a.on("socket",l=>{c=l}),a.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),i(new Error(`Request timeout: ${e.options.path}`))}),a.on("error",function(l){i(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),s=d_(r);if(s&&s.hostname)return this._getProxyAgentDispatcher(r,s)}_prepareRequest(e,r,s){let n={};n.parsedUrl=r;let i=n.parsedUrl.protocol==="https:";n.httpModule=i?h_:Jm;let a=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):a,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(s),this.userAgent!=null&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},Ym(this.requestOptions.headers),Ym(e||{})):Ym(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=Ym(this.requestOptions.headers)[r];a&&(n=typeof a=="number"?a.toString():a)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:n!==void 0?n:s}_getExistingOrDefaultContentTypeHeader(e,r){let s;if(this.requestOptions&&this.requestOptions.headers){let i=Ym(this.requestOptions.headers)[Rr.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[Rr.ContentType];return n!==void 0?typeof n=="number"?String(n):Array.isArray(n)?n.join(", "):n:s!==void 0?s:r}_getAgent(e){let r,s=d_(e),n=s&&s.hostname;if(this._keepAlive&&n&&(r=this._proxyAgent),n||(r=this._agent),r)return r;let i=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||Jm.globalAgent.maxSockets),s&&s.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`}),{host:s.hostname,port:s.port})},l,u=s.protocol==="https:";i?l=u?ga.httpsOverHttps:ga.httpsOverHttp:l=u?ga.httpOverHttps:ga.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new h_.Agent(c):new Jm.Agent(c),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let s;if(this._keepAlive&&(s=this._proxyAgentDispatcher),s)return s;let n=e.protocol==="https:";return s=new AK.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=s,n&&this._ignoreSslError&&(s.options=Object.assign(s.options.requestTls||{},{rejectUnauthorized:!1})),s}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",s=process.env.ACTIONS_ORCHESTRATION_ID;if(s){let n=s.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${n}`}return r}_performExponentialBackoff(e){return Qt(this,void 0,void 0,function*(){e=Math.min(Eke,e);let r=yke*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return Qt(this,void 0,void 0,function*(){return new Promise((s,n)=>Qt(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===rn.NotFound&&s(a);function c(A,d){if(typeof d=="string"){let p=new Date(d);if(!isNaN(p.valueOf()))return p}return d}o(c,"dateTimeDeserializer");let l,u;try{u=yield e.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),a.result=l),a.headers=e.message.headers}catch{}if(i>299){let A;l&&l.message?A=l.message:u&&u.length>0?A=u:A=`Failed request: (${i})`;let d=new p_(A,i);d.result=a.result,n(d)}else s(a)}))})}},Ym=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var Yc=class extends Error{static{o(this,"InvalidTokenError")}};Yc.prototype.name="InvalidTokenError";function Ike(t){return decodeURIComponent(atob(t).replace(/(.)/g,(e,r)=>{let s=r.charCodeAt(0).toString(16).toUpperCase();return s.length<2&&(s="0"+s),"%"+s}))}o(Ike,"b64DecodeUnicode");function Bke(t){let e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return Ike(e)}catch{return atob(e)}}o(Bke,"base64UrlDecode");function dK(t,e){if(typeof t!="string")throw new Yc("Invalid token specified: must be a string");e||(e={});let r=e.header===!0?0:1,s=t.split(".")[r];if(typeof s!="string")throw new Yc(`Invalid token specified: missing part #${r+1}`);let n;try{n=Bke(s)}catch(i){throw new Yc(`Invalid token specified: invalid base64 for part #${r+1} (${i.message})`)}try{return JSON.parse(n)}catch(i){throw new Yc(`Invalid token specified: invalid json for part #${r+1} (${i.message})`)}}o(dK,"jwtDecode");var Ea=class t{static{o(this,"GitHub")}githubToken;octokit;constructor(e){this.githubToken=e?.token||process.env.GITHUB_TOKEN,this.octokit=uK(`${this.githubToken}`)}repoData(){return this.octokit.rest.repos.get({...EA.repo}).then(e=>e.data)}async releases(e,r){let s;try{s=await this.releasesRaw(e,r)}catch(n){if(!this.githubToken)throw n;s=await this.releasesRaw(e,r,this.githubToken)}return s}async releasesRaw(e,r,s){let n=`https://raw.githubusercontent.com/${r.owner}/${r.repo}/${r.ref}/${r.path}`,a=await new CB("docker-actions-toolkit").get(n,s?{Authorization:`token ${s}`}:void 0),c=await a.readBody(),l=a.message.statusCode||500;if(l>=400)throw new Error(`Failed to get ${e} releases from ${n} with status code ${l}: ${c}`);return JSON.parse(c)}static get context(){return EA}static get serverURL(){return process.env.GITHUB_SERVER_URL||"https://github.com"}static get apiURL(){return process.env.GITHUB_API_URL||"https://api.github.com"}static get isGHES(){let r=new URL(t.serverURL).hostname.trimEnd().toUpperCase(),s=r==="GITHUB.COM",n=r.endsWith(".GHE.COM"),i=r.endsWith(".LOCALHOST");return!s&&!n&&!i}static get repository(){return`${EA.repo.owner}/${EA.repo.repo}`}static get workspace(){return process.env.GITHUB_WORKSPACE||process.cwd()}static get runId(){return process.env.GITHUB_RUN_ID?+process.env.GITHUB_RUN_ID:EA.runId}static get runAttempt(){return process.env.GITHUB_RUN_ATTEMPT?+process.env.GITHUB_RUN_ATTEMPT:1}static workflowRunURL(e){return`${t.serverURL}/${t.repository}/actions/runs/${t.runId}${e?`/attempts/${t.runAttempt}`:""}`}static get actionsRuntimeToken(){let e=process.env.ACTIONS_RUNTIME_TOKEN||"";return e?dK(e):void 0}static async printActionsRuntimeTokenACs(){let e;try{e=t.actionsRuntimeToken}catch(r){throw new Error(`Cannot parse GitHub Actions Runtime Token: ${r.message}`)}if(!e)throw new Error("ACTIONS_RUNTIME_TOKEN not set");try{JSON.parse(`${e.ac}`).forEach(r=>{let s;switch(r.Permission){case 1:s="read";break;case 2:s="write";break;case 3:s="read/write";break;default:s=`unimplemented (${r.Permission})`}R(`${r.Scope}: ${s}`)})}catch(r){throw new Error(`Cannot parse GitHub Actions Runtime Token ACs: ${r.message}`)}}};var sZ=w(eh(),1);var kB=class{static{o(this,"Regctl")}binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"regctl",this._version="",this._versionOnce=!1}async blobGet(e){return await de.getExecOutput(this.binPath,["blob","get",e.repository,e.digest],{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stderr.length>0&&r.exitCode!=0)throw new Error(r.stderr.trim());return r.stdout})}async manifestGet(e){return await de.getExecOutput(this.binPath,["manifest","get",e.image,`--platform=${e.platform??"local"}`,"--format={{json .}}"],{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stderr.length>0&&r.exitCode!=0)throw new Error(r.stderr.trim());return JSON.parse(r.stdout.trim())})}async isAvailable(){let e=await de.getExecOutput(this.binPath,[],{ignoreReturnCode:!0,silent:!0}).then(r=>r.stderr.length>0&&r.exitCode!=0?(b(`Regctl.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(b(`Regctl.isAvailable error: ${r}`),!1));return b(`Regctl.isAvailable: ${e}`),e}async version(){return this._versionOnce?this._version:(this._versionOnce=!0,this._version=await de.getExecOutput(this.binPath,["version","--format","{{.VCSTag}}"],{ignoreReturnCode:!0,silent:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.trim());return e.stdout.trim()}),this._version)}async printVersion(){await de.exec(this.binPath,["version"],{failOnStdErr:!1})}async versionSatisfies(e,r){let s=r??await this.version();if(!s)return b("Regctl.versionSatisfies false: undefined version"),!1;let n=sZ.satisfies(s,e)||/^[0-9a-f]{7}$/.exec(s)!==null;return b(`Regctl.versionSatisfies ${s} statisfies ${e}: ${n}`),n}};var nZ=w(eh(),1);var DB=class{static{o(this,"Undock")}binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"undock",this._version="",this._versionOnce=!1}async run(e){if(!e.source)throw new Error("source is required");if(!e.dist)throw new Error("dist is required");let r=[];e.logLevel&&r.push(`--log-level=${e.logLevel}`),e.logCaller&&r.push("--log-caller"),e.cacheDir&&r.push(`--cachedir=${e.cacheDir}`),e.platform&&r.push(`--platform=${e.platform}`),e.all&&r.push("--all"),e.include&&e.include.forEach(s=>{r.push(`--include=${s}`)}),e.insecure&&r.push("--insecure"),e.rmDist&&r.push("--rm-dist"),e.wrap&&r.push("--wrap"),r.push(e.source,e.dist),await de.exec(this.binPath,r,{failOnStdErr:!1})}async isAvailable(){let e=await de.getExecOutput(this.binPath,[],{ignoreReturnCode:!0,silent:!0}).then(r=>r.stderr.length>0&&r.exitCode!=0?(b(`Undock.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(b(`Undock.isAvailable error: ${r}`),!1));return b(`Undock.isAvailable: ${e}`),e}async version(){return this._versionOnce?this._version:(this._versionOnce=!0,this._version=await de.getExecOutput(this.binPath,["--version"],{ignoreReturnCode:!0,silent:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.trim());return e.stdout.trim()}),this._version)}async printVersion(){await de.exec(this.binPath,["--version"],{failOnStdErr:!1})}async versionSatisfies(e,r){let s=r??await this.version();if(!s)return b("Undock.versionSatisfies false: undefined version"),!1;let n=nZ.satisfies(s,e)||/^[0-9a-f]{7}$/.exec(s)!==null;return b(`Undock.versionSatisfies ${s} statisfies ${e}: ${n}`),n}};var L_=w(require("fs"),1);var iZ=o(()=>aZ("docker-setup-win.ps1",TLe),"setupDockerWinPs1"),M_=o(()=>aZ("docker-service-logs.ps1",vLe),"dockerServiceLogsPs1");var oZ="0.14.0",aZ=o((t,e,r)=>{let s=Jr.tmpName({template:`docker-asset-XXXXXX-${t}`,tmpdir:Jr.tmpDir()});return L_.default.writeFileSync(s,e),r&&L_.default.chmodSync(s,r),s},"get"),TLe=` [CmdletBinding()] param( [Parameter(Mandatory = $true)] [string]$ToolDir, [Parameter(Mandatory = $true)] [string]$RunDir, [Parameter(Mandatory = $true)] [string]$DockerHostSocket, [Parameter(Mandatory = $false)] [string]$DockerHostTCP, [Parameter(Mandatory = $false)] [string]$DaemonConfig) $pwver = (Get-ItemProperty -Path HKLM:\\SOFTWARE\\Microsoft\\PowerShell\\3\\PowerShellEngine -Name 'PowerShellVersion').PowerShellVersion Write-Host "PowerShell version: $pwver" # Create run directory New-Item -ItemType Directory "$RunDir" -ErrorAction SilentlyContinue | Out-Null # Remove existing service if (Get-Service docker -ErrorAction SilentlyContinue) { $dockerVersion = (docker version -f "{{.Server.Version}}") Write-Host "Current installed Docker version: $dockerVersion" # stop service Stop-Service -Force -Name docker Write-Host "Service stopped" # remove service sc.exe delete "docker" # removes event log entry. we could use "Remove-EventLog -LogName -Source docker" # but this cmd is not available atm $ErrorActionPreference = "SilentlyContinue" & reg delete "HKLM\\SYSTEM\\CurrentControlSet\\Services\\EventLog\\Application\\docker" /f 2>&1 | Out-Null $ErrorActionPreference = "Stop" Write-Host "Service removed" } $env:Path = "$ToolDir;" + [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") Write-Host "Path: $env:Path" $env:DOCKER_HOST = $DockerHostSocket Write-Host "DOCKER_HOST: $env:DOCKER_HOST" if ($DaemonConfig) { Write-Host "Writing Docker daemon config" New-Item -ItemType Directory -Force -Path "$env:ProgramData\\Docker\\config" $DaemonConfig | Out-File -FilePath "$env:ProgramData\\Docker\\config\\daemon.json" } $arguments = @( "--host=$DockerHostSocket", "--data-root=$RunDir\\\\moby-root", "--exec-root=$RunDir\\\\moby-exec", "--pidfile=$RunDir\\\\docker.pid", "--register-service" ) if ($DockerHostTCP) { $arguments += "--host=$DockerHostTCP" } Write-Host "Creating service" New-Item -ItemType Directory "$RunDir\\moby-root" -ErrorAction SilentlyContinue | Out-Null New-Item -ItemType Directory "$RunDir\\moby-exec" -ErrorAction SilentlyContinue | Out-Null Start-Process -Wait -NoNewWindow "$ToolDir\\dockerd" -ArgumentList $arguments Write-Host "Starting service" Start-Service -Name docker Write-Host "Service started successfully!" $tries=20 Write-Host "Waiting for Docker daemon to start..." While ($true) { $ErrorActionPreference = "SilentlyContinue" & "$ToolDir\\docker" version | Out-Null $ErrorActionPreference = "Stop" If ($LastExitCode -eq 0) { break } $tries-- If ($tries -le 0) { Throw "Failed to get a response from Docker daemon" } Write-Host -NoNewline "." Start-Sleep -Seconds 1 } Write-Host "Docker daemon started successfully!" `,vLe=` Get-WinEvent -ea SilentlyContinue \` -FilterHashtable @{ProviderName= "docker"; LogName = "application"} | Sort-Object @{Expression="TimeCreated";Descending=$false} | ForEach-Object {"$($_.TimeCreated.ToUniversalTime().ToString("o")) [$($_.LevelDisplayName)] $($_.Message)"} `,cZ=` # Source: # - https://github.com/lima-vm/lima/blob/master/templates/docker-rootful.yaml # - https://github.com/lima-vm/lima/blob/master/templates/_images/ubuntu-lts.yaml # - https://github.com/lima-vm/lima/blob/master/templates/_images/ubuntu-24.04.yaml # VM type: "qemu" or "vz" (on macOS 13 and later). # The vmType can be specified only on creating the instance. # The vmType of existing instances cannot be changed. # Builtin default: "qemu" vmType: qemu # OS: "Linux". # Builtin default: "Linux" os: null # Arch: "default", "x86_64", "aarch64". # Builtin default: "default" (corresponds to the host architecture) arch: null images: {{#each customImages}} - location: "{{location}}" arch: "{{arch}}" digest: "{{digest}}" {{/each}} - location: "https://cloud-images.ubuntu.com/releases/noble/release-20260321/ubuntu-24.04-server-cloudimg-amd64.img" arch: "x86_64" digest: "sha256:5c3ddb00f60bc455dac0862fabe9d8bacec46c33ac1751143c5c3683404b110d" kernel: location: "https://cloud-images.ubuntu.com/releases/noble/release-20260321/unpacked/ubuntu-24.04-server-cloudimg-amd64-vmlinuz-generic" digest: "sha256:5b2a4fe174dacb18281f8f7d72ae32ac4b92801f0b7b5cb43ea55dee29fb789d" cmdline: "root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyAMA0 no_timer_check" initrd: location: "https://cloud-images.ubuntu.com/releases/noble/release-20260321/unpacked/ubuntu-24.04-server-cloudimg-amd64-initrd-generic" digest: "sha256:cd0b64a5498e583a820a5b842369df83d036b4200b33bc51cadc58176184aaca" - location: "https://cloud-images.ubuntu.com/releases/noble/release-20260321/ubuntu-24.04-server-cloudimg-arm64.img" arch: "aarch64" digest: "sha256:1ea801e659d2f5035ac294e0faab0aac9b6ba66753df933ba5c7beab0c689bd0" # Fallback to the latest release image. # Hint: run \`limactl prune\` to invalidate the cache - location: https://cloud-images.ubuntu.com/releases/noble/release/ubuntu-24.04-server-cloudimg-amd64.img arch: "x86_64" - location: https://cloud-images.ubuntu.com/releases/noble/release/ubuntu-24.04-server-cloudimg-arm64.img arch: "aarch64" # CPUs # Builtin default: min(4, host CPU cores) cpus: null # Memory size # Builtin default: min("4GiB", half of host memory) memory: null # Disk size # Builtin default: "100GiB" disk: 60GiB # Expose host directories to the guest, the mount point might be accessible from all UIDs in the guest # Builtin default: null (Mount nothing) # This file: Mount the home as read-only, /tmp/lima as writable mounts: - location: "~" - location: "/tmp/lima" writable: true # Mount type for above mounts, such as "reverse-sshfs" (from sshocker), "9p" (EXPERIMENTAL, from QEMU\u2019s virtio-9p-pci, aka virtfs), # or "virtiofs" (EXPERIMENTAL, needs \`vmType: vz\`) # Builtin default: "reverse-sshfs" (for QEMU), "virtiofs" (for vz) mountType: null containerd: system: false user: false provision: - mode: system # This script defines the host.docker.internal hostname when hostResolver is disabled. # It is also needed for lima 0.8.2 and earlier, which does not support hostResolver.hosts. # Names defined in /etc/hosts inside the VM are not resolved inside containers when # using the hostResolver; use hostResolver.hosts instead (requires lima 0.8.3 or later). script: | #!/bin/sh sed -i 's/host.lima.internal.*/host.lima.internal host.docker.internal/' /etc/hosts - mode: system script: | #!/bin/sh apt-get install -f -y iptables - mode: system script: | #!/bin/bash set -eux -o pipefail archiveInstallLog=/var/log/docker-actions-toolkit-archive-install.log command -v docker >/dev/null 2>&1 && exit 0 if [ ! -e /etc/systemd/system/docker.socket.d/override.conf ]; then mkdir -p /etc/systemd/system/docker.socket.d # Alternatively we could just add the user to the "docker" group, but that requires restarting the user session cat <<-EOF >/etc/systemd/system/docker.socket.d/override.conf [Socket] SocketUser=\${LIMA_CIDATA_USER} EOF fi if [ ! -e /etc/docker/daemon.json ]; then mkdir -p /etc/docker cat <<-EOF >/etc/docker/daemon.json {{stringify daemonConfig}} EOF fi export DEBIAN_FRONTEND=noninteractive if [ "{{srcType}}" == "archive" ]; then { getDockerScript=$(mktemp) curl --retry 3 --retry-all-errors --retry-delay 5 -fsSL -o "$getDockerScript" https://get.docker.com attempt=1 max_attempts=3 until [ "$attempt" -gt "$max_attempts" ]; do echo "Docker install attempt $attempt/$max_attempts" if sh "$getDockerScript" --channel {{srcArchiveChannel}} --version {{srcArchiveVersion}}; then break fi if [ "$attempt" -eq "$max_attempts" ]; then echo >&2 "Docker install failed after $max_attempts attempts" exit 1 fi echo >&2 "Docker install attempt $attempt failed, retrying after $((attempt * 30))s" rm -rf /var/lib/apt/lists/partial/* || true apt-get clean || true sleep $((attempt * 30)) attempt=$((attempt + 1)) done sed -i 's|^ExecStart=.*|ExecStart=/usr/bin/dockerd -H fd://{{#if localTCPPort}} -H tcp://0.0.0.0:2375{{/if}} --containerd=/run/containerd/containerd.sock|' /usr/lib/systemd/system/docker.service systemctl daemon-reload systemctl restart docker systemctl status docker.socket || true systemctl status docker.service || true } 2>&1 | tee "$archiveInstallLog" elif [ "{{srcType}}" == "image" ]; then arch=$(uname -m) case $arch in x86_64) arch=amd64;; aarch64) arch=arm64;; esac url="https://github.com/crazy-max/undock/releases/download/v{{undockVersion}}/undock_{{undockVersion}}_linux_$arch.tar.gz" wget "$url" -O /tmp/undock.tar.gz tar -C /usr/local/bin -xvf /tmp/undock.tar.gz undock --version HOME=/tmp undock moby/moby-bin:{{srcImageTag}} /usr/local/bin wget https://raw.githubusercontent.com/moby/moby/{{gitCommit}}/contrib/init/systemd/docker.service -O /etc/systemd/system/docker.service wget https://raw.githubusercontent.com/moby/moby/{{gitCommit}}/contrib/init/systemd/docker.socket -O /etc/systemd/system/docker.socket sed -i 's|^ExecStart=.*|ExecStart=/usr/local/bin/dockerd -H fd://{{#if localTCPPort}} -H tcp://0.0.0.0:2375{{/if}}|' /etc/systemd/system/docker.service sed -i 's|containerd.service||' /etc/systemd/system/docker.service if ! getent group docker; then groupadd --system docker fi systemctl daemon-reload fail=0 if ! systemctl enable --now docker; then fail=1 fi systemctl status docker.socket || true systemctl status docker.service || true exit $fail fi probes: - script: | #!/bin/bash set -eux -o pipefail # Don't check for docker CLI as it's not installed in the VM (only on the host) if ! timeout 60s bash -c "until pgrep dockerd; do sleep 3; done"; then echo >&2 "dockerd is not running" exit 1 fi hint: See "/var/log/cloud-init-output.log". in the guest hostResolver: # Don't use local system resolver enabled: false # hostResolver.hosts requires lima 0.8.3 or later. Names defined here will also # resolve inside containers, and not just inside the VM itself. hosts: host.docker.internal: host.lima.internal # Use custom DNS servers instead of the host's DNS settings dns: - 1.1.1.1 - 1.0.0.1 portForwards: - guestSocket: "/var/run/docker.sock" hostSocket: "{{dockerSock}}" {{#if localTCPPort}} - guestPort: 2375 hostPort: {{localTCPPort}} {{/if}} audio: # EXPERIMENTAL # QEMU audiodev, e.g., "none", "coreaudio", "pa", "alsa", "oss". # VZ driver, use "vz" as device name # Choosing "none" will mute the audio output, and not play any sound. # Builtin default: "" device: none `;var th=class t{static{o(this,"Install")}runDir;source;contextName;daemonConfig;rootless;localTCPPort;regctl;undock;githubToken;_version;_toolDir;gitCommit;limaInstanceName="docker-actions-toolkit";constructor(e){this.runDir=e.runDir,this.source=e.source||{type:"archive",version:"latest",channel:"stable"},this.contextName=e.contextName||"setup-docker-action",this.daemonConfig=e.daemonConfig,this.rootless=e.rootless||!1,this.localTCPPort=e.localTCPPort,this.regctl=e.regctl||new kB,this.undock=e.undock||new DB,this.githubToken=e.githubToken||process.env.GITHUB_TOKEN}get toolDir(){return this._toolDir||Jr.tmpDir()}async download(){let e,r,s=Wr.default.platform();switch(this.source.type){case"image":{this._version=this.source.tag,r="docker-image",e=await this.downloadSourceImage(s);break}case"archive":{let i=this.source.version;if(r=`docker-archive-${this.source.channel}`,this._version=i,R(`Downloading Docker ${i} from ${this.source.channel} at download.docker.com`),e=await this.downloadSourceArchive("docker",this.source),this.rootless){R(`Downloading Docker rootless extras ${i} from ${this.source.channel} at download.docker.com`);let c=await this.downloadSourceArchive("docker-rootless-extras",this.source);Ut.default.readdirSync(c).forEach(l=>{let u=vt.default.join(c,l),A=vt.default.join(e,l);Ut.default.copyFileSync(u,A)})}break}}R("Fixing perms"),Ut.default.readdir(vt.default.join(e),function(i,a){if(i)throw i;a.forEach(function(c,l){Nr.isDirectory(vt.default.join(e,c))||Ut.default.chmodSync(vt.default.join(e,c),"0755")})});let n=await Ud(e,r,this._version.replace(/(0+)([1-9]+)/,"$2"));return Jl(n),R("Added Docker to PATH"),this._toolDir=n,n}async downloadSourceImage(e){let r=vt.default.join(Jr.tmpDir(),"docker-install-image"),s=`dockereng/cli-bin:${this._version}`,n=`moby/moby-bin:${this._version}`;if(R(`Downloading Docker CLI from ${s}`),await this.undock.run({source:s,dist:r}),["win32","linux"].includes(e))R(`Downloading Docker engine from ${n}`),await this.undock.run({source:n,dist:r});else if(e=="darwin"){try{let i=await this.imageConfig(n,"linux/arm64");if(b(`docker.Install.downloadSourceImage engineImageConfig: ${JSON.stringify(i)}`),this.gitCommit=i.config?.Labels?.["org.opencontainers.image.revision"],!this.gitCommit)throw new Error("No git revision can be determined from the image")}catch(i){je(i),this.gitCommit="master"}b(`docker.Install.downloadSourceImage gitCommit: ${this.gitCommit}`)}else je(`Docker engine not supported on ${e}, only the Docker cli will be available`);return r}async downloadSourceArchive(e,r){let s=await t.getRelease(r.version,this.githubToken);this._version=s.tag_name.replace(/^(docker-)?v+/,""),b(`docker.Install.downloadSourceArchive version: ${this._version}`);let n=this.downloadURL(e,this._version,r.channel);R(`Downloading ${n}`);let i=await Za(n);b(`docker.Install.downloadSourceArchive downloadPath: ${i}`);let a;return Wr.default.platform()=="win32"?a=await Sg(i,a):a=await Ng(i,a),Nr.isDirectory(vt.default.join(a,e))&&(a=vt.default.join(a,e)),b(`docker.Install.downloadSourceArchive extractFolder: ${a}`),a}async install(){if(!this.toolDir)throw new Error("toolDir must be set. Run download first.");if(!this.runDir)throw new Error("runDir must be set");let e=Wr.default.platform();if(this.rootless&&e!="linux")throw new Error("rootless is only supported on linux");switch(e){case"darwin":return await this.installDarwin();case"linux":return await this.installLinux();case"win32":return await this.installWindows();default:throw new Error(`Unsupported platform: ${Wr.default.platform()}`)}}async installDarwin(){if(this.source.type=="image"&&!this.gitCommit)throw new Error("gitCommit must be set. Run download first.");let e=this.source,r=vt.default.join(Wr.default.homedir(),".lima",this.limaInstanceName);await Ps(r);let s=`unix://${r}/docker.sock`;await t.limaInstalled()||await this.brewInstall("lima"),await me("Lima version",async()=>{await de.exec("lima",["--version"])}),await me("Creating lima config",async()=>{let a={};this.daemonConfig&&(a=JSON.parse(this.daemonConfig)),_B.default.registerHelper("stringify",function(u){return new _B.default.SafeString(JSON.stringify(u))});let c=e,l=_B.default.compile(cZ)({customImages:t.limaCustomImages(),daemonConfig:a,dockerSock:`${r}/docker.sock`,localTCPPort:this.localTCPPort,gitCommit:this.gitCommit,srcType:e.type,srcArchiveVersion:this._version,srcArchiveChannel:c.channel,srcImageTag:e.tag,undockVersion:oZ});R(`Writing lima config to ${vt.default.join(r,"lima.yaml")}`),Ut.default.writeFileSync(vt.default.join(r,"lima.yaml"),l),R(l)}),await t.qemuInstalled()||await this.brewInstall("qemu");let n=await t.qemuBin();await me("QEMU version",async()=>{await de.exec(n,["--version"])});let i=Object.assign({},process.env,{PATH:`${this.toolDir}:${process.env.PATH}`});return await me("Starting lima instance",async()=>{let a=["start",`--name=${this.limaInstanceName}`,`--timeout=${process.env.LIMA_START_TIMEOUT??"15m"}`];process.env.LIMA_START_ARGS&&a.push(process.env.LIMA_START_ARGS);try{await de.exec(`limactl ${a.join(" ")}`,[],{env:i})}catch(c){throw await this.printDarwinDiagnostics(),uZ.default.readdir(r).then(l=>{l.filter(u=>vt.default.extname(u)===".log").forEach(u=>{let A=vt.default.join(r,u),d=Ut.default.readFileSync(A,{encoding:"utf8"}).trim();d.length>0&&R(`### ${A}: ${d}`)})}).catch(()=>{}),c}}),await me("Create Docker context",async()=>{await ur.exec(["context","create",this.contextName,"--docker",`host=${s}`]),await ur.exec(["context","use",this.contextName])}),s}async installLinux(){let e=`unix://${vt.default.join(this.runDir,"docker.sock")}`;await Ps(this.runDir);let r=vt.default.join(this.runDir,"daemon.json");await Ut.default.writeFileSync(r,"{}");let s,n="/etc/docker/daemon.json";if(Ut.default.existsSync(n)&&(await me("Default Docker daemon config found",async()=>{R(JSON.stringify(JSON.parse(Ut.default.readFileSync(n,{encoding:"utf8"})),null,2))}),s=JSON.parse(Ut.default.readFileSync(n,{encoding:"utf8"}))),this.daemonConfig&&(s=Object.assign(s||{},JSON.parse(this.daemonConfig))),s){let a=JSON.stringify(s,null,2);await me("Writing Docker daemon config",async()=>{Ut.default.writeFileSync(r,a),R(a)})}let i=Object.assign({},process.env,{PATH:`${this.toolDir}:${process.env.PATH}`,XDG_RUNTIME_DIR:this.rootless&&this.runDir||void 0});return await me("Start Docker daemon",async()=>{let a=await ft("bash",!0),c=`${this.toolDir}/dockerd`;this.rootless&&(c=`${this.toolDir}/dockerd-rootless.sh`,Ut.default.existsSync("/proc/sys/kernel/apparmor_restrict_unprivileged_userns")&&await de.exec("sudo",["sh","-c","echo 0 > /proc/sys/kernel/apparmor_restrict_unprivileged_userns"]));let l=`${c} --host="${e}" --config-file="${r}" --exec-root="${this.runDir}/execroot" --data-root="${this.runDir}/data" --pidfile="${this.runDir}/docker.pid"`;this.localTCPPort&&(l+=` --host="tcp://127.0.0.1:${this.localTCPPort}"`),R(`[command] ${l}`);let u="sudo";this.rootless&&(u+=" -u \\#1001"),(await lZ.spawn(`${u} env "PATH=$PATH" "XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR" ${a} << EOF ( ${l} 2>&1 | tee "${this.runDir}/dockerd.log" ) & EOF`,[],{env:i,detached:!0,shell:!0,stdio:["ignore",process.stdout,process.stderr]})).unref(),await Nr.sleep(3);let d=10;await(0,AZ.default)(async p=>{try{await de.getExecOutput("docker version",void 0,{silent:!0,env:Object.assign({},i,{DOCKER_HOST:e,DOCKER_CONTENT_TRUST:"false"})})}catch(m){p(m)}},{retries:d,minTimeout:1e3,onRetry:o((p,m)=>{R(`${p}. Retrying (${m}/${d})...`)},"onRetry")}),R("Docker daemon started started successfully")}),await me("Create Docker context",async()=>{await ur.exec(["context","create",this.contextName,"--docker",`host=${e}`]),await ur.exec(["context","use",this.contextName])}),e}async installWindows(){let e="npipe:////./pipe/setup_docker_action",r,s=vt.default.join(this.runDir,"daemon.json");Ut.default.existsSync(s)&&(await me("Default Docker daemon config found",async()=>{R(JSON.stringify(JSON.parse(Ut.default.readFileSync(s,{encoding:"utf8"})),null,2))}),r=JSON.parse(Ut.default.readFileSync(s,{encoding:"utf8"}))),this.daemonConfig&&(r=Object.assign(r||{},JSON.parse(this.daemonConfig)));let n="{}";r&&(n=JSON.stringify(r,null,2),await me("Docker daemon config",async()=>{R(n)}));let i={ToolDir:this.toolDir,RunDir:this.runDir,DockerHostSocket:e,DaemonConfig:n};return this.localTCPPort&&(i.DockerHostTCP=`tcp://127.0.0.1:${this.localTCPPort}`),await me("Install Docker daemon service",async()=>{let a=await Nr.powershellCommand(iZ(),i);await de.exec(a.command,a.args);let c=await Nr.powershellCommand(M_());await de.exec(c.command,c.args)}),await me("Create Docker context",async()=>{await ur.exec(["context","create",this.contextName,"--docker",`host=${e}`]),await ur.exec(["context","use",this.contextName])}),e}async tearDown(){if(!this.runDir)throw new Error("runDir must be set");switch(Wr.default.platform()){case"darwin":{await this.tearDownDarwin();break}case"linux":{await this.tearDownLinux();break}case"win32":{await this.tearDownWindows();break}default:throw new Error(`Unsupported platform: ${Wr.default.platform()}`)}await me("Cleaning up toolDir",async()=>{this._toolDir&&Ut.default.rmSync(this._toolDir,{recursive:!0,force:!0})})}async tearDownDarwin(){await this.printDarwinDiagnostics(),await me("Stopping lima instance",async()=>{await de.exec("limactl",["stop","--tty=false",this.limaInstanceName,"--force"])}),await me("Removing lima instance",async()=>{await de.exec("limactl",["delete","--tty=false",this.limaInstanceName,"--force"])}),await me("Removing Docker context",async()=>{await ur.exec(["context","rm","-f",this.contextName])}),await me("Cleaning up runDir",async()=>{await de.exec("sudo",["rm","-rf",this.runDir])})}async printDarwinDiagnostics(){await this.printDarwinGuestCommandOutput("Cloud-init output log",["sudo","cat","/var/log/cloud-init-output.log"]),await this.printDarwinGuestCommandOutput("Cloud-init status",["sudo","timeout","300s","cloud-init","status","--wait"]),await this.printDarwinGuestCommandOutput("Docker unit file",["sudo","systemctl","cat","docker.service"]),await this.printDarwinGuestCommandOutput("Docker service status",["sudo","systemctl","status","docker.service","docker.socket","-l","--no-pager"]),await this.printDarwinGuestCommandOutput("Archive install script log",["sudo","cat","/var/log/docker-actions-toolkit-archive-install.log"]),await this.printDarwinGuestCommandOutput("Docker daemon logs",["sudo","journalctl","-u","docker.service","-l","--no-pager"])}async printDarwinGuestCommandOutput(e,r){await me(e,async()=>{let s=await de.getExecOutput("limactl",["shell","--tty=false",this.limaInstanceName,...r],{ignoreReturnCode:!0,silent:!0}).catch(i=>{R(`Failed to get ${e}: ${i}`)});if(!s)return;let n=[s.stdout.trim(),s.stderr.trim()].filter(Boolean).join(` `);n.length>0?R(n):s.exitCode!==0&&R(`${e} exited with code ${s.exitCode}`)})}async tearDownLinux(){await me("Docker daemon logs",async()=>{R(Ut.default.readFileSync(vt.default.join(this.runDir,"dockerd.log"),{encoding:"utf8"}))}),await me("Stopping Docker daemon",async()=>{await de.exec("sudo",["kill","-s","SIGTERM",Ut.default.readFileSync(vt.default.join(this.runDir,"docker.pid")).toString().trim()]),await Nr.sleep(5)}),await me("Removing Docker context",async()=>{await ur.exec(["context","rm","-f",this.contextName])}),await me("Cleaning up runDir",async()=>{await de.exec("sudo",["rm","-rf",this.runDir],{ignoreReturnCode:!0,failOnStdErr:!1})})}async tearDownWindows(){await me("Docker daemon logs",async()=>{let e=await Nr.powershellCommand(M_());await de.exec(e.command,e.args)}),await me("Removing Docker context",async()=>{await ur.exec(["context","rm","-f",this.contextName])}),await me("Stopping Docker daemon service",async()=>{await de.exec("powershell",["-Command","Stop-Service -Name docker -Force"])})}downloadURL(e,r,s){let n=t.platformOS(),i=t.platformArch();return`https://download.docker.com/${n}/static/${s}/${i}/${e}-${r}${n==="win"?".zip":".tgz"}`}static platformOS(){switch(Wr.default.platform()){case"darwin":return"mac";case"linux":return"linux";case"win32":return"win";default:return Wr.default.platform()}}static platformArch(){switch(Wr.default.arch()){case"x64":return"x86_64";case"ppc64":return"ppc64le";case"arm64":return"aarch64";case"arm":{let e=process.config.variables.arm_version;switch(e){case 6:return"armel";case 7:return"armhf";default:return`v${e}`}}default:return Wr.default.arch()}}static async limaInstalled(){return await ft("lima",!0).then(e=>(b(`docker.Install.limaInstalled ok: ${e}`),!0)).catch(e=>(b(`docker.Install.limaInstalled error: ${e}`),!1))}static async qemuBin(){switch(Wr.default.arch()){case"x64":return"qemu-system-x86_64";case"arm64":return"qemu-system-aarch64";default:return`qemu-system-${Wr.default.arch()}`}}static async qemuInstalled(){return await ft(await t.qemuBin(),!0).then(e=>(b(`docker.Install.qemuInstalled ok: ${e}`),!0)).catch(e=>(b(`docker.Install.qemuInstalled error: ${e}`),!1))}static async getRelease(e,r){let n=await new Ea({token:r}).releases("Docker",{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/docker-releases.json"});if(!n[e]){if(!n["v"+e])throw new Error(`Cannot find Docker release ${e} in releases JSON`);return n["v"+e]}return n[e]}static limaCustomImages(){let e=[],r=process.env.LIMA_IMAGES;if(!r)return e;for(let s of Nr.getList(r,{ignoreComma:!0,comment:"#"})){let n=s.indexOf(":"),i=s.substring(0,n).trim(),a=s.indexOf("@"),c=s.substring(n+1,a!==-1?a:void 0).trim(),l=a!==-1?s.substring(a+1).trim():"";e.push({location:c,arch:i,digest:l})}return e}async imageConfig(e,r){let n=(await this.regctl.manifestGet({image:e,platform:r}))?.config?.digest;if(!n)throw new Error(`No config digest found for image ${e}`);let i=await this.regctl.blobGet({repository:e,digest:n});return JSON.parse(i)}async brewInstall(e,r){let s=Object.assign({},process.env,{HOMEBREW_NO_AUTO_UPDATE:"1",HOMEBREW_NO_INSTALL_UPGRADE:"1",HOMEBREW_NO_INSTALL_CLEANUP:"1"});await me(`Installing ${e}`,async()=>{if(!r)await de.exec("brew",["install",e]);else{let n="docker-actions-toolkit/tap";await de.getExecOutput("brew",["tap"],{ignoreReturnCode:!0,silent:!0,env:s}).then(u=>{if(u.stderr.length>0&&u.exitCode!=0)throw new Error(u.stderr);for(let A of u.stdout.trim().split(` `))if(A.includes(n))return!0;return!1})||await de.exec("brew",["tap-new",n],{env:s});let a=await de.getExecOutput("brew",["--repo",n],{ignoreReturnCode:!0,silent:!0,env:s}).then(u=>{if(u.stderr.length>0&&u.exitCode!=0)throw new Error(u.stderr);return u.stdout.trim()}),c=`https://raw.githubusercontent.com/Homebrew/homebrew-core/${r}/Formula/${e.charAt(0)}/${e}.rb`;await Za(c,vt.default.join(a,"Formula",`${e}.rb`)),await de.getExecOutput("brew",["ls","-1"],{ignoreReturnCode:!0,silent:!0,env:s}).then(u=>{if(u.stderr.length>0&&u.exitCode!=0)throw new Error(u.stderr);for(let A of u.stdout.trim().split(` `))if(A.trim()==e)return!0;return!1})&&await de.exec("brew",["uninstall",e,"--ignore-dependencies"],{env:s}),await de.exec("brew",["install",`${n}/${e}`],{env:s})}})}};var rh=w(require("fs"),1),wo=w(require("os"),1),LB=w(require("path"),1);var OB=w(eh(),1),O_=w(require("util"),1);var MB=class t{static{o(this,"Install")}githubToken;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let s=await t.getDownloadVersion(e);b(`Install.download version: ${s.version}`);let n=await t.getRelease(s,this.githubToken);b(`Install.download release tag name: ${n.tag_name}`);let i=await this.vspec(n.tag_name);b(`Install.download vspec: ${i}`);let a=OB.clean(i)||"";if(!OB.valid(a))throw new Error(`Invalid regclient version "${i}".`);let c=new Ti({htcName:"regctl-dl-bin",htcVersion:i,baseCacheDir:LB.default.join(wo.default.homedir(),".bin"),cacheFile:wo.default.platform()=="win32"?"regctl.exe":"regctl",ghaNoCache:r}),l=await c.find();if(l)return R(`regctl binary found in ${l}`),l;let u=O_.format(s.downloadURL,i,this.filename());R(`Downloading ${u}`);let A=await Za(u,void 0,this.githubToken);b(`Install.download htcDownloadPath: ${A}`);let d=await c.save(A);return R(`Cached to ${d}`),d}async install(e,r){r=r||Jr.tmpDir();let s=LB.default.join(r,"regctl-bin");rh.default.existsSync(s)||rh.default.mkdirSync(s,{recursive:!0});let n=wo.default.platform()=="win32"?"regctl.exe":"regctl",i=LB.default.join(s,n);return rh.default.copyFileSync(e,i),R("Fixing perms"),rh.default.chmodSync(i,"0755"),Jl(s),R("Added regctl to PATH"),R(`Binary path: ${i}`),i}filename(){let e;switch(wo.default.arch()){case"x64":{e="amd64";break}case"ppc64":{e="ppc64le";break}case"arm":{let n=process.config.variables.arm_version;e=n?"armv"+n:"arm";break}default:{e=wo.default.arch();break}}let r=wo.default.platform()=="win32"?"windows":wo.default.platform(),s=wo.default.platform()=="win32"?".exe":"";return O_.format("regctl-%s-%s%s",r,e,s)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return R(`Use ${r} version spec cache key for ${e}`),r}static async getDownloadVersion(e){return{version:e,downloadURL:"https://github.com/regclient/regclient/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/regclient-releases.json"}}}static async getRelease(e,r){let n=await new Ea({token:r}).releases("regclient",e.contentOpts);if(!n[e.version])throw new Error(`Cannot find regclient release ${e.version} in releases JSON`);return n[e.version]}};var sh=w(require("fs"),1),vn=w(require("os"),1),nh=w(require("path"),1);var UB=w(eh(),1),F_=w(require("util"),1);var FB=class t{static{o(this,"Install")}githubToken;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let s=await t.getDownloadVersion(e);b(`Install.download version: ${s.version}`);let n=await t.getRelease(s,this.githubToken);b(`Install.download release tag name: ${n.tag_name}`);let i=await this.vspec(n.tag_name);b(`Install.download vspec: ${i}`);let a=UB.clean(i)||"";if(!UB.valid(a))throw new Error(`Invalid Undock version "${i}".`);let c=new Ti({htcName:"undock-dl-bin",htcVersion:i,baseCacheDir:nh.default.join(vn.default.homedir(),".bin"),cacheFile:vn.default.platform()=="win32"?"undock.exe":"undock",ghaNoCache:r}),l=await c.find();if(l)return R(`Undock binary found in ${l}`),l;let u=F_.format(s.downloadURL,i,this.filename(i));R(`Downloading ${u}`);let A=await Za(u,void 0,this.githubToken);b(`Install.download htcDownloadPath: ${A}`);let d;vn.default.platform()=="win32"?d=await Sg(A):d=await Ng(A),R(`Extracted to ${d}`);let p=nh.default.join(d,vn.default.platform()=="win32"?"undock.exe":"undock");b(`Install.download exePath: ${p}`);let m=await c.save(p);return R(`Cached to ${m}`),m}async install(e,r){r=r||Jr.tmpDir();let s=nh.default.join(r,"undock-bin");sh.default.existsSync(s)||sh.default.mkdirSync(s,{recursive:!0});let n=vn.default.platform()=="win32"?"undock.exe":"undock",i=nh.default.join(s,n);return sh.default.copyFileSync(e,i),R("Fixing perms"),sh.default.chmodSync(i,"0755"),Jl(s),R("Added Undock to PATH"),R(`Binary path: ${i}`),i}filename(e){let r;switch(vn.default.arch()){case"x64":{r="amd64";break}case"ppc64":{r="ppc64le";break}case"arm":{let i=process.config.variables.arm_version;r=i?"armv"+i:"arm";break}default:{r=vn.default.arch();break}}let s=vn.default.platform()=="win32"?"windows":vn.default.platform(),n=vn.default.platform()=="win32"?".zip":".tar.gz";return F_.format("undock_%s_%s_%s%s",e,s,r,n)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return R(`Use ${r} version spec cache key for ${e}`),r}static async getDownloadVersion(e){return{version:e,downloadURL:"https://github.com/crazy-max/undock/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/undock-releases.json"}}}static async getRelease(e,r){let n=await new Ea({token:r}).releases("Undock",e.contentOpts);if(!n[e.version])throw new Error(`Cannot find Undock release ${e.version} in releases JSON`);return n[e.version]}};var dZ=w(require("os"),1),pZ=w(require("path"),1);function mZ(){let t=fn("version")||"latest",e=PLe(t),r=fn("channel");return r&&e.type==="archive"&&(e.channel=r),{source:e,daemonConfig:fn("daemon-config"),tcpPort:Nr.getInputNumber("tcp-port"),context:fn("context"),setHost:kx("set-host"),rootless:kx("rootless"),runtimeBasedir:fn("runtime-basedir")||pZ.default.join(dZ.default.homedir(),"setup-docker-action"),githubToken:fn("github-token")}}o(mZ,"getInputs");function PLe(t){let[e,r,s,n]=["archive","latest","stable","latest"],i=oB(t,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let c of i){let l=c.toString().split(/(?<=^[^=]+?)=/).map(u=>u.trim());switch(l[0]){case"type":e=l[1];break;case"version":r=l[1];break;case"channel":s=l[1];break;case"tag":n=l[1];break;default:if(i.length===1){r=l[0];break}throw new Error(`Invalid field: ${l[0]}`)}}if(!e)throw new Error(`Invalid type: ${e}`);if(!s)throw new Error(`Invalid channel: ${s}`);if(!r)throw new Error(`Invalid version: ${r}`);if(!n)throw new Error(`Invalid tag: ${n}`);let a;switch(e){case"archive":a={type:"archive",version:r,channel:s};break;case"image":a={type:"image",tag:n};break;default:throw new Error(`Invalid version: ${t}`)}return a}o(PLe,"parseSource");var U_=process.env.STATE_rundir||"";function hZ(t){jl("rundir",t)}o(hZ,"setRunDir");var _Le="v0.11.5",LLe="v0.14.0";$5(async()=>{let t=mZ(),e=gZ.default.join(t.runtimeBasedir,`run-${fZ.randomUUID().slice(0,8)}`);if(t.context=="default")throw new Error("'default' context cannot be used.");t.source.type==="image"&&(await me("Download and install regctl",async()=>{let a=new MB({githubToken:t.githubToken}),c=await a.download(process.env.REGCTL_VERSION&&process.env.REGCTL_VERSION.trim()?process.env.REGCTL_VERSION:_Le,!0);await a.install(c)}),await me("Download and install undock",async()=>{let a=new FB({githubToken:t.githubToken}),c=await a.download(process.env.UNDOCK_VERSION&&process.env.UNDOCK_VERSION.trim()?process.env.UNDOCK_VERSION:LLe,!0);await a.install(c)}));let r,s;t.tcpPort&&(r=t.tcpPort,s=`tcp://127.0.0.1:${r}`);let n=new th({runDir:e,source:t.source,rootless:t.rootless,contextName:t.context||"setup-docker-action",daemonConfig:t.daemonConfig,localTCPPort:r,githubToken:t.githubToken}),i;if((!await ur.isAvailable()||t.source)&&await me("Download docker",async()=>{i=await n.download()}),i){hZ(e);let a=await n.install();await me("Setting outputs",async()=>{R(`sock=${a}`),Dx("sock",a),s&&(R(`tcp=${s}`),Dx("tcp",s))}),t.setHost&&await me("Setting Docker host",async()=>{GG("DOCKER_HOST",a),R(`DOCKER_HOST=${a}`)})}await me("Docker info",async()=>{await ur.printVersion(),await ur.printInfo()})},async()=>{if(U_.length==0)return;await new th({runDir:U_}).tearDown()}); /*! Bundled license information: undici/lib/web/fetch/body.js: (*! formdata-polyfill. MIT License. Jimmy Wärting *) undici/lib/web/websocket/frame.js: (*! ws. MIT License. Einar Otto Stangvik *) tmp/lib/tmp.js: (*! * Tmp * * Copyright (c) 2011-2017 KARASZI Istvan * * MIT Licensed *) @octokit/request-error/dist-src/index.js: (* v8 ignore else -- @preserve -- Bug with vitest coverage where it sees an else branch that doesn't exist *) @octokit/request/dist-bundle/index.js: (* v8 ignore next -- @preserve *) (* v8 ignore else -- @preserve *) */ //# sourceMappingURL=index.cjs.map