var ZX=Object.create;var jm=Object.defineProperty;var eZ=Object.getOwnPropertyDescriptor;var tZ=Object.getOwnPropertyNames;var rZ=Object.getPrototypeOf,sZ=Object.prototype.hasOwnProperty;var o=(t,e)=>jm(t,"name",{value:e,configurable:!0});var f=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),nZ=(t,e)=>{for(var r in e)jm(t,r,{get:e[r],enumerable:!0})},iZ=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of tZ(e))!sZ.call(t,n)&&n!==r&&jm(t,n,{get:()=>e[n],enumerable:!(s=eZ(e,n))||s.enumerable});return t};var w=(t,e,r)=>(r=t!=null?ZX(rZ(t)):{},iZ(e||!t||!t.__esModule?jm(r,"default",{value:t,enumerable:!0}):r,t));var v_=f(zc=>{"use strict";var wLe=require("net"),AZ=require("tls"),kB=require("http"),S_=require("https"),dZ=require("events"),bLe=require("assert"),pZ=require("util");zc.httpOverHttp=mZ;zc.httpsOverHttp=hZ;zc.httpOverHttps=fZ;zc.httpsOverHttps=gZ;function mZ(t){var e=new Di(t);return e.request=kB.request,e}o(mZ,"httpOverHttp");function hZ(t){var e=new Di(t);return e.request=kB.request,e.createSocket=R_,e.defaultPort=443,e}o(hZ,"httpsOverHttp");function fZ(t){var e=new Di(t);return e.request=S_.request,e}o(fZ,"httpOverHttps");function gZ(t){var e=new Di(t);return e.request=S_.request,e.createSocket=R_,e.defaultPort=443,e}o(gZ,"httpsOverHttps");function Di(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||kB.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(s,n,i,a){for(var c=T_(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");Di.prototype.createSocket=o(function(e,r){var s=this,n={};s.sockets.push(n);var i=DB({},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")),wo("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){wo("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){wo("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 wo("tunneling connection has established"),s.sockets[s.sockets.indexOf(n)]=p,r(p)}o(u,"onConnect");function A(d){a.removeAllListeners(),wo(`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");Di.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 R_(t,e){var r=this;Di.prototype.createSocket.call(r,t,function(s){var n=t.request.getHeader("host"),i=DB({},r.options,{socket:s,servername:n?n.replace(/:.*$/,""):t.host}),a=AZ.connect(0,i);r.sockets[r.sockets.indexOf(s)]=a,e(a)})}o(R_,"createSecureSocket");function T_(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(T_,"toOptions");function DB(t){for(var e=1,r=arguments.length;e{P_.exports=v_()});var ze=f((SLe,k_)=>{k_.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 Qe=f((RLe,nL)=>{"use strict";var D_=Symbol.for("undici.error.UND_ERR"),$e=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[D_]===!0}[D_]=!0},__=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),_B=class extends $e{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[__]===!0}[__]=!0},L_=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),LB=class extends $e{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[L_]===!0}[L_]=!0},M_=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),MB=class extends $e{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[M_]===!0}[M_]=!0},O_=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),OB=class extends $e{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[O_]===!0}[O_]=!0},F_=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),FB=class extends $e{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[F_]===!0}[F_]=!0},U_=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),UB=class extends $e{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[U_]===!0}[U_]=!0},q_=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),qB=class extends $e{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[q_]===!0}[q_]=!0},G_=Symbol.for("undici.error.UND_ERR_ABORT"),th=class extends $e{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[G_]===!0}[G_]=!0},H_=Symbol.for("undici.error.UND_ERR_ABORTED"),GB=class extends th{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[H_]===!0}[H_]=!0},z_=Symbol.for("undici.error.UND_ERR_INFO"),HB=class extends $e{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[z_]===!0}[z_]=!0},$_=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),zB=class extends $e{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[$_]===!0}[$_]=!0},V_=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),$B=class extends $e{static{o(this,"ResponseContentLengthMismatchError")}constructor(e){super(e),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[V_]===!0}[V_]=!0},Y_=Symbol.for("undici.error.UND_ERR_DESTROYED"),VB=class extends $e{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[Y_]===!0}[Y_]=!0},J_=Symbol.for("undici.error.UND_ERR_CLOSED"),YB=class extends $e{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[J_]===!0}[J_]=!0},W_=Symbol.for("undici.error.UND_ERR_SOCKET"),JB=class extends $e{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[W_]===!0}[W_]=!0},j_=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),WB=class extends $e{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[j_]===!0}[j_]=!0},K_=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),jB=class extends $e{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[K_]===!0}[K_]=!0},X_=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),KB=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[X_]===!0}[X_]=!0},Z_=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),XB=class extends $e{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[Z_]===!0}[Z_]=!0},eL=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),ZB=class extends $e{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[eL]===!0}[eL]=!0},tL=Symbol.for("undici.error.UND_ERR_RESPONSE"),ew=class extends $e{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[tL]===!0}[tL]=!0},rL=Symbol.for("undici.error.UND_ERR_PRX_TLS"),tw=class extends $e{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[rL]===!0}[rL]=!0},sL=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),rw=class extends $e{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[sL]===!0}get[sL](){return!0}};nL.exports={AbortError:th,HTTPParserError:KB,UndiciError:$e,HeadersTimeoutError:LB,HeadersOverflowError:MB,BodyTimeoutError:OB,RequestContentLengthMismatchError:zB,ConnectTimeoutError:_B,ResponseStatusCodeError:FB,InvalidArgumentError:UB,InvalidReturnValueError:qB,RequestAbortedError:GB,ClientDestroyedError:VB,ClientClosedError:YB,InformationalError:HB,SocketError:JB,NotSupportedError:WB,ResponseContentLengthMismatchError:$B,BalancedPoolMissingUpstreamError:jB,ResponseExceededMaxSizeError:XB,RequestRetryError:ZB,ResponseError:ew,SecureProxyConnectionError:tw,MessageSizeExceededError:rw}});var sh=f((vLe,iL)=>{"use strict";var rh={},sw=["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:oL,headerNameLowerCasedRecord:EZ}=sh(),nw=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 EA=require("node:assert"),{kDestroyed:AL,kBodyUsed:$c,kListeners:iw,kBody:uL}=ze(),{IncomingMessage:yZ}=require("node:http"),ah=require("node:stream"),CZ=require("node:net"),{Blob:IZ}=require("node:buffer"),BZ=require("node:util"),{stringify:wZ}=require("node:querystring"),{EventEmitter:bZ}=require("node:events"),{InvalidArgumentError:Ft}=Qe(),{headerNameLowerCasedRecord:QZ}=sh(),{tree:dL}=lL(),[xZ,NZ]=process.versions.node.split(".").map(t=>Number(t)),oh=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[uL]=e,this[$c]=!1}async*[Symbol.asyncIterator](){EA(!this[$c],"disturbed"),this[$c]=!0,yield*this[uL]}};function SZ(t){return ch(t)?(gL(t)===0&&t.on("data",function(){EA(!1)}),typeof t.readableDidRead!="boolean"&&(t[$c]=!1,bZ.prototype.on.call(t,"data",function(){this[$c]=!0})),t):t&&typeof t.pipeTo=="function"?new oh(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&fL(t)?new oh(t):t}o(SZ,"wrapRequestBody");function RZ(){}o(RZ,"nop");function ch(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(ch,"isStream");function pL(t){if(t===null)return!1;if(t instanceof IZ)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(pL,"isBlobLike");function TZ(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=wZ(e);return r&&(t+="?"+r),t}o(TZ,"buildURL");function mL(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(mL,"isValidPort");function ih(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(ih,"isHttpOrHttpsPrefixed");function hL(t){if(typeof t=="string"){if(t=new URL(t),!ih(t.origin||t.protocol))throw new Ft("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new Ft("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&mL(t.port)===!1)throw new Ft("Invalid URL: port must be a valid integer or a string representation of an integer.");if(t.path!=null&&typeof t.path!="string")throw new Ft("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new Ft("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new Ft("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new Ft("Invalid URL origin: the origin must be a string or null/undefined.");if(!ih(t.origin||t.protocol))throw new Ft("Invalid URL protocol: the URL must start with `http:` or `https:`.");let e=t.port!=null?t.port:t.protocol==="https:"?443:80,r=t.origin!=null?t.origin:`${t.protocol||""}//${t.hostname||""}:${e}`,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(!ih(t.origin||t.protocol))throw new Ft("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(hL,"parseURL");function vZ(t){if(t=hL(t),t.pathname!=="/"||t.search||t.hash)throw new Ft("invalid url");return t}o(vZ,"parseOrigin");function PZ(t){if(t[0]==="["){let r=t.indexOf("]");return EA(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}o(PZ,"getHostname");function kZ(t){if(!t)return null;EA(typeof t=="string");let e=PZ(t);return CZ.isIP(e)?"":e}o(kZ,"getServerName");function DZ(t){return JSON.parse(JSON.stringify(t))}o(DZ,"deepClone");function _Z(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(_Z,"isAsyncIterable");function fL(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(fL,"isIterable");function gL(t){if(t==null)return 0;if(ch(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(pL(t))return t.size!=null?t.size:null;if(CL(t))return t.byteLength}return null}o(gL,"bodyLength");function EL(t){return t&&!!(t.destroyed||t[AL]||ah.isDestroyed?.(t))}o(EL,"isDestroyed");function LZ(t,e){t==null||!ch(t)||EL(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===yZ&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[AL]=!0))}o(LZ,"destroy");var MZ=/timeout=(\d+)/;function OZ(t){let e=t.toString().match(MZ);return e?parseInt(e[1],10)*1e3:null}o(OZ,"parseKeepAliveTimeout");function yL(t){return typeof t=="string"?QZ[t]??t.toLowerCase():dL.lookup(t)??t.toString("latin1").toLowerCase()}o(yL,"headerNameToString");function FZ(t){return dL.lookup(t)??t.toString("latin1").toLowerCase()}o(FZ,"bufferToLowerCasedHeaderName");function UZ(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(UZ,"parseHeaders");function qZ(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(YZ,"ReadableStreamFrom");function JZ(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(JZ,"isFormDataLike");function WZ(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(WZ,"addAbortListener");var jZ=typeof String.prototype.toWellFormed=="function",KZ=typeof String.prototype.isWellFormed=="function";function IL(t){return jZ?`${t}`.toWellFormed():BZ.toUSVString(t)}o(IL,"toUSVString");function XZ(t){return KZ?`${t}`.isWellFormed():IL(t)===`${t}`}o(XZ,"isUSVString");function BL(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(BL,"isTokenCharCode");function ZZ(t){if(t.length===0)return!1;for(let e=0;e{"use strict";var Te=require("node:diagnostics_channel"),cw=require("node:util"),lh=cw.debuglog("undici"),aw=cw.debuglog("fetch"),Ca=cw.debuglog("websocket"),xL=!1,o7={beforeConnect:Te.channel("undici:client:beforeConnect"),connected:Te.channel("undici:client:connected"),connectError:Te.channel("undici:client:connectError"),sendHeaders:Te.channel("undici:client:sendHeaders"),create:Te.channel("undici:request:create"),bodySent:Te.channel("undici:request:bodySent"),headers:Te.channel("undici:request:headers"),trailers:Te.channel("undici:request:trailers"),error:Te.channel("undici:request:error"),open:Te.channel("undici:websocket:open"),close:Te.channel("undici:websocket:close"),socketError:Te.channel("undici:websocket:socket_error"),ping:Te.channel("undici:websocket:ping"),pong:Te.channel("undici:websocket:pong")};if(lh.enabled||aw.enabled){let t=aw.enabled?aw:lh;Te.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)}),Te.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)}),Te.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)}),Te.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)}),Te.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)}),Te.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)}),Te.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)}),xL=!0}if(Ca.enabled){if(!xL){let t=lh.enabled?lh:Ca;Te.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)}),Te.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)}),Te.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)}),Te.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)})}Te.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;Ca("connection opened %s%s",e,r?`:${r}`:"")}),Te.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:s}=t;Ca("closed connection to %s - %s %s",e.url,r,s)}),Te.channel("undici:websocket:socket_error").subscribe(t=>{Ca("connection errored - %s",t.message)}),Te.channel("undici:websocket:ping").subscribe(t=>{Ca("ping received")}),Te.channel("undici:websocket:pong").subscribe(t=>{Ca("pong received")})}NL.exports={channels:o7}});var vL=f((MLe,TL)=>{"use strict";var{InvalidArgumentError:_e,NotSupportedError:a7}=Qe(),_i=require("node:assert"),{isValidHTTPToken:RL,isValidHeaderValue:lw,isStream:c7,destroy:l7,isBuffer:u7,isFormDataLike:A7,isIterable:d7,isBlobLike:p7,buildURL:m7,validateHandler:h7,getServerName:f7,normalizedMethodRecords:g7}=me(),{channels:kn}=Vc(),{headerNameLowerCasedRecord:SL}=sh(),E7=/[^\u0021-\u00ff]/,Bs=Symbol("handler"),uw=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 _e("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&s!=="CONNECT")throw new _e("path must be an absolute URL or start with a slash");if(E7.test(r))throw new _e("invalid request path");if(typeof s!="string")throw new _e("method must be a string");if(g7[s]===void 0&&!RL(s))throw new _e("invalid request method");if(u&&typeof u!="string")throw new _e("upgrade must be a string");if(u&&!lw(u))throw new _e("invalid upgrade header");if(A!=null&&(!Number.isFinite(A)||A<0))throw new _e("invalid headersTimeout");if(d!=null&&(!Number.isFinite(d)||d<0))throw new _e("invalid bodyTimeout");if(p!=null&&typeof p!="boolean")throw new _e("invalid reset");if(h!=null&&typeof h!="boolean")throw new _e("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(c7(n)){this.body=n;let E=this.body._readableState;(!E||!E.autoDestroy)&&(this.endHandler=o(function(){l7(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(u7(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(A7(n)||d7(n)||p7(n))this.body=n;else throw new _e("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?m7(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 _e("headers array must be even");for(let E=0;E{"use strict";var y7=require("node:events"),Ah=class extends y7{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 Aw(this,s)}},Aw=class extends Ah{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)}};PL.exports=Ah});var jc=f((qLe,DL)=>{"use strict";var C7=yA(),{ClientDestroyedError:dw,ClientClosedError:I7,InvalidArgumentError:Yc}=Qe(),{kDestroy:B7,kClose:w7,kClosed:CA,kDestroyed:Jc,kDispatch:pw,kInterceptors:Ia}=ze(),Li=Symbol("onDestroyed"),Wc=Symbol("onClosed"),dh=Symbol("Intercepted Dispatch"),kL=Symbol("webSocketOptions"),mw=class extends C7{static{o(this,"DispatcherBase")}constructor(e){super(),this[Jc]=!1,this[Li]=null,this[CA]=!1,this[Wc]=[],this[kL]=e?.webSocket??{}}get webSocketOptions(){return{maxPayloadSize:this[kL].maxPayloadSize??128*1024*1024}}get destroyed(){return this[Jc]}get closed(){return this[CA]}get interceptors(){return this[Ia]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[Ia][r]!="function")throw new Yc("interceptor must be an function")}this[Ia]=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 Yc("invalid callback");if(this[Jc]){queueMicrotask(()=>e(new dw,null));return}if(this[CA]){this[Wc]?this[Wc].push(e):queueMicrotask(()=>e(null,null));return}this[CA]=!0,this[Wc].push(e);let r=o(()=>{let s=this[Wc];this[Wc]=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 Yc("invalid callback");if(this[Jc]){this[Li]?this[Li].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new dw),this[Jc]=!0,this[Li]=this[Li]||[],this[Li].push(r);let s=o(()=>{let n=this[Li];this[Li]=null;for(let i=0;i{queueMicrotask(s)})}[dh](e,r){if(!this[Ia]||this[Ia].length===0)return this[dh]=this[pw],this[pw](e,r);let s=this[pw].bind(this);for(let n=this[Ia].length-1;n>=0;n--)s=this[Ia][n](s);return this[dh]=s,s(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new Yc("handler must be an object");try{if(!e||typeof e!="object")throw new Yc("opts must be an object.");if(this[Jc]||this[Li])throw new dw;if(this[CA])throw new I7;return this[dh](e,r)}catch(s){if(typeof r.onError!="function")throw new Yc("invalid onError method");return r.onError(s),!1}}};DL.exports=mw});var Iw=f((HLe,OL)=>{"use strict";var Kc=0,hw=1e3,fw=(hw>>1)-1,Mi,gw=Symbol("kFastTimer"),Oi=[],Ew=-2,yw=-1,LL=0,_L=1;function Cw(){Kc+=fw;let t=0,e=Oi.length;for(;t=r._idleStart+r._idleTimeout&&(r._state=yw,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===yw?(r._state=Ew,--e!==0&&(Oi[t]=Oi[e])):++t}Oi.length=e,Oi.length!==0&&ML()}o(Cw,"onTick");function ML(){Mi?Mi.refresh():(clearTimeout(Mi),Mi=setTimeout(Cw,fw),Mi.unref&&Mi.unref())}o(ML,"refreshTimeout");var ph=class{static{o(this,"FastTimer")}[gw]=!0;_state=Ew;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,s){this._onTimeout=e,this._idleTimeout=r,this._timerArg=s,this.refresh()}refresh(){this._state===Ew&&Oi.push(this),(!Mi||Oi.length===1)&&ML(),this._state=LL}clear(){this._state=yw,this._idleStart=-1}};OL.exports={setTimeout(t,e,r){return e<=hw?setTimeout(t,e,r):new ph(t,e,r)},clearTimeout(t){t[gw]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new ph(t,e,r)},clearFastTimeout(t){t.clear()},now(){return Kc},tick(t=0){Kc+=t-hw+1,Cw(),Cw()},reset(){Kc=0,Oi.length=0,clearTimeout(Mi),Mi=null},kFastTimer:gw}});var IA=f((YLe,HL)=>{"use strict";var b7=require("node:net"),FL=require("node:assert"),GL=me(),{InvalidArgumentError:Q7,ConnectTimeoutError:x7}=Qe(),mh=Iw();function UL(){}o(UL,"noop");var Bw,ww;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?ww=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 N7({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:s,session:n,...i}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new Q7("maxCachedSessions must be a positive integer or zero");let a={path:r,...i},c=new ww(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:"){Bw||(Bw=require("node:tls")),m=m||a.servername||GL.getServerName(A)||null;let I=m||u;FL(I);let B=n||c.get(I)||null;p=p||443,E=Bw.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 FL(!g,"httpSocket can only be sent on TLS update"),p=p||80,E=b7.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=S7(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(N7,"buildConnector");var S7=process.platform==="win32"?(t,e)=>{if(!e.timeout)return UL;let r=null,s=null,n=mh.setFastTimeout(()=>{r=setImmediate(()=>{s=setImmediate(()=>qL(t.deref(),e))})},e.timeout);return()=>{mh.clearFastTimeout(n),clearImmediate(r),clearImmediate(s)}}:(t,e)=>{if(!e.timeout)return UL;let r=null,s=mh.setFastTimeout(()=>{r=setImmediate(()=>{qL(t.deref(),e)})},e.timeout);return()=>{mh.clearFastTimeout(s),clearImmediate(r)}};function qL(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)`,GL.destroy(t,new x7(r))}o(qL,"onConnectTimeout");HL.exports=N7});var zL=f(hh=>{"use strict";Object.defineProperty(hh,"__esModule",{value:!0});hh.enumToMap=void 0;function R7(t){let e={};return Object.keys(t).forEach(r=>{let s=t[r];typeof s=="number"&&(e[r]=s)}),e}o(R7,"enumToMap");hh.enumToMap=R7});var $L=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 T7=zL(),v7;(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"})(v7=x.ERROR||(x.ERROR={}));var P7;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(P7=x.TYPE||(x.TYPE={}));var k7;(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"})(k7=x.FLAGS||(x.FLAGS={}));var D7;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(D7=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=T7.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 _7;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(_7=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 Xc;(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"})(Xc=x.HEADER_STATE||(x.HEADER_STATE={}));x.SPECIAL_HEADERS={connection:Xc.CONNECTION,"content-length":Xc.CONTENT_LENGTH,"proxy-connection":Xc.CONNECTION,"transfer-encoding":Xc.TRANSFER_ENCODING,upgrade:Xc.UPGRADE}});var bw=f((XLe,VL)=>{"use strict";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TQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQA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AJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHyAhIyUmKCorLC8wMTIzNDU2Nzk6Ozw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gIQIAJBBzYCDEEAIQMMuAELIAJBADYCHCACIAE2AhQgAkGMHDYCECACQQc2AgxBACEDDLcBCyACQQA2AhwgAiABNgIUIAJBww82AhAgAkEHNgIMQQAhAwy2AQsgAkEANgIcIAIgATYCFCACQcMPNgIQIAJBBzYCDEEAIQMMtQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0RIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMtAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0gIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMswELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYC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ASAEQQN2dCIDcUUEQEGM0AAgAiADcjYCACAADAELIAAoAggLIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQ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0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAA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AAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var BA=f((eMe,rM)=>{"use strict";var WL=["GET","HEAD","POST"],O7=new Set(WL),F7=[101,204,205,304],jL=[301,302,303,307,308],U7=new Set(jL),KL=["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"],q7=new Set(KL),XL=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],G7=new Set(XL),H7=["follow","manual","error"],ZL=["GET","HEAD","OPTIONS","TRACE"],z7=new Set(ZL),$7=["navigate","same-origin","no-cors","cors"],V7=["omit","same-origin","include"],Y7=["default","no-store","reload","no-cache","force-cache","only-if-cached"],J7=["content-encoding","content-language","content-location","content-type","content-length"],W7=["half"],eM=["CONNECT","TRACE","TRACK"],j7=new Set(eM),tM=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],K7=new Set(tM);rM.exports={subresource:tM,forbiddenMethods:eM,requestBodyHeader:J7,referrerPolicy:XL,requestRedirect:H7,requestMode:$7,requestCredentials:V7,requestCache:Y7,redirectStatus:jL,corsSafeListedMethods:WL,nullBodyStatus:F7,safeMethods:ZL,badPorts:KL,requestDuplex:W7,subresourceSet:K7,badPortsSet:q7,redirectStatusSet:U7,corsSafeListedMethodsSet:O7,safeMethodsSet:z7,forbiddenMethodsSet:j7,referrerPolicySet:G7}});var xw=f((tMe,sM)=>{"use strict";var Qw=Symbol.for("undici.globalOrigin.1");function X7(){return globalThis[Qw]}o(X7,"getGlobalOrigin");function Z7(t){if(t===void 0){Object.defineProperty(globalThis,Qw,{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,Qw,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(Z7,"setGlobalOrigin");sM.exports={getGlobalOrigin:X7,setGlobalOrigin:Z7}});var Tr=f((sMe,uM)=>{"use strict";var gh=require("node:assert"),eee=new TextEncoder,wA=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,tee=/[\u000A\u000D\u0009\u0020]/,ree=/[\u0009\u000A\u000C\u000D\u0020]/g,see=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function nee(t){gh(t.protocol==="data:");let e=oM(t,!0);e=e.slice(5);let r={position:0},s=Zc(",",e,r),n=s.length;if(s=uee(s,!0,!0),r.position>=e.length)return"failure";r.position++;let i=e.slice(n+1),a=aM(i);if(/;(\u0020){0,}base64$/i.test(s)){let l=lM(a);if(a=oee(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=Nw(s);return c==="failure"&&(c=Nw("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(nee,"dataURLProcessor");function oM(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(oM,"URLSerializer");function Eh(t,e,r){let s="";for(;r.position=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(nM,"isHexCharByte");function iM(t){return t>=48&&t<=57?t-48:(t&223)-55}o(iM,"hexByteToNumber");function iee(t){let e=t.length,r=new Uint8Array(e),s=0;for(let n=0;nt.length)return"failure";e.position++;let s=Zc(";",t,e);if(s=fh(s,!1,!0),s.length===0||!wA.test(s))return"failure";let n=r.toLowerCase(),i=s.toLowerCase(),a={type:n,subtype:i,parameters:new Map,essence:`${n}/${i}`};for(;e.positiontee.test(u),t,e);let c=Eh(u=>u!==";"&&u!=="=",t,e);if(c=c.toLowerCase(),e.positiont.length)break;let l=null;if(t[e.position]==='"')l=cM(t,e,!0),Zc(";",t,e);else if(l=Zc(";",t,e),l=fh(l,!1,!0),l.length===0)continue;c.length!==0&&wA.test(c)&&(l.length===0||see.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(Nw,"parseMIMEType");function oee(t){t=t.replace(ree,"");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(oee,"forgivingBase64");function cM(t,e,r){let s=e.position,n="";for(gh(t[e.position]==='"'),e.position++;n+=Eh(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{gh(i==='"');break}}return r?n:t.slice(s,e.position)}o(cM,"collectAnHTTPQuotedString");function aee(t){gh(t!=="failure");let{parameters:e,essence:r}=t,s=r;for(let[n,i]of e.entries())s+=";",s+=n,s+="=",wA.test(i)||(i=i.replace(/(\\|")/g,"\\$1"),i='"'+i,i+='"'),s+=i;return s}o(aee,"serializeAMimeType");function cee(t){return t===13||t===10||t===9||t===32}o(cee,"isHTTPWhiteSpace");function fh(t,e=!0,r=!0){return Sw(t,e,r,cee)}o(fh,"removeHTTPWhitespace");function lee(t){return t===13||t===10||t===9||t===12||t===32}o(lee,"isASCIIWhitespace");function uee(t,e=!0,r=!0){return Sw(t,e,r,lee)}o(uee,"removeASCIIWhitespace");function Sw(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(Sw,"removeChars");function lM(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(lM,"isomorphicDecode");function Aee(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(Aee,"minimizeSupportedMimeType");uM.exports={dataURLProcessor:nee,URLSerializer:oM,collectASequenceOfCodePoints:Eh,collectASequenceOfCodePointsFast:Zc,stringPercentDecode:aM,parseMIMEType:Nw,collectAnHTTPQuotedString:cM,serializeAMimeType:aee,removeChars:Sw,removeHTTPWhitespace:fh,minimizeSupportedMimeType:Aee,HTTP_TOKEN_CODEPOINTS:wA,isomorphicDecode:lM}});var Yt=f((iMe,AM)=>{"use strict";var{types:Dn,inspect:dee}=require("node:util"),{markAsUncloneable:pee}=require("node:worker_threads"),{toUSVString:mee}=me(),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 dee(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(!Dn.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=mee;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"||!Dn.isAnyArrayBuffer(t))throw Q.errors.conversionFailed({prefix:e,argument:`${r} ("${Q.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(s?.allowShared===!1&&Dn.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"||!Dn.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&&Dn.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"||!Dn.isDataView(t))throw Q.errors.exception({header:e,message:`${r} is not a DataView.`});if(s?.allowShared===!1&&Dn.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(Dn.isAnyArrayBuffer(t))return Q.converters.ArrayBuffer(t,e,r,{...s,allowShared:!1});if(Dn.isTypedArray(t))return Q.converters.TypedArray(t,t.constructor,e,r,{...s,allowShared:!1});if(Dn.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);AM.exports={webidl:Q}});var jr=f((oMe,QM)=>{"use strict";var{Transform:hee}=require("node:stream"),dM=require("node:zlib"),{redirectStatusSet:fee,referrerPolicySet:gee,badPortsSet:Eee}=BA(),{getGlobalOrigin:pM}=xw(),{collectASequenceOfCodePoints:Ba,collectAnHTTPQuotedString:yee,removeChars:Cee,parseMIMEType:Iee}=Tr(),{performance:Bee}=require("node:perf_hooks"),{isBlobLike:wee,ReadableStreamFrom:bee,isValidHTTPToken:mM,normalizedMethodRecordsBase:Qee}=me(),wa=require("node:assert"),{isUint8Array:xee}=require("node:util/types"),{webidl:bA}=Yt(),hM=[],Ch;try{Ch=require("node:crypto");let t=["sha256","sha384","sha512"];hM=Ch.getHashes().filter(e=>t.includes(e))}catch{}function fM(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(fM,"responseURL");function Nee(t,e){if(!fee.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&EM(r)&&(gM(r)||(r=See(r)),r=new URL(r,fM(t))),r&&!r.hash&&(r.hash=e),r}o(Nee,"responseLocationURL");function gM(t){for(let e=0;e126||r<32)return!1}return!0}o(gM,"isValidEncodedURL");function See(t){return Buffer.from(t,"binary").toString("utf8")}o(See,"normalizeBinaryStringToUtf8");function xA(t){return t.urlList[t.urlList.length-1]}o(xA,"requestCurrentURL");function Ree(t){let e=xA(t);return wM(e)&&Eee.has(e.port)?"blocked":"allowed"}o(Ree,"requestBadPort");function Tee(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(Tee,"isErrorLike");function vee(t){for(let e=0;e=32&&r<=126||r>=128&&r<=255))return!1}return!0}o(vee,"isValidReasonPhrase");var Pee=mM;function EM(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(` `)||t.includes("\r")||t.includes("\0"))===!1}o(EM,"isValidHeaderValue");function kee(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(gee.has(a)){n=a;break}}n!==""&&(t.referrerPolicy=n)}o(kee,"setRequestReferrerPolicyOnRedirect");function Dee(){return"allowed"}o(Dee,"crossOriginResourcePolicyCheck");function _ee(){return"success"}o(_ee,"corsCheck");function Lee(){return"success"}o(Lee,"TAOCheck");function Mee(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(Mee,"appendFetchMetadata");function Oee(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&&Tw(t.origin)&&!Tw(xA(t))&&(e=null);break;case"same-origin":Ih(t,xA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(Oee,"appendRequestOriginHeader");function el(t,e){return t}o(el,"coarsenTime");function Fee(t,e,r){return!t?.startTime||t.startTime4096&&(s=n);let i=Ih(t,s),a=QA(s)&&!QA(t.url);switch(e){case"origin":return n??Rw(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=xA(t);return Ih(s,c)?s:QA(s)&&!QA(c)?"no-referrer":n}default:return a?"no-referrer":n}}o(Hee,"determineRequestsReferrer");function Rw(t,e){return wa(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(Rw,"stripURLForReferrer");function QA(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(QA,"isURLPotentiallyTrustworthy");function zee(t,e){if(Ch===void 0)return!0;let r=CM(e);if(r==="no metadata"||r.length===0)return!0;let s=Vee(r),n=Yee(r,s);for(let i of n){let a=i.algo,c=i.hash,l=Ch.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)),Jee(l,c))return!0}return!1}o(zee,"bytesMatch");var $ee=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function CM(t){let e=[],r=!0;for(let s of t.split(" ")){r=!1;let n=$ee.exec(s);if(n===null||n.groups===void 0||n.groups.algo===void 0)continue;let i=n.groups.algo.toLowerCase();hM.includes(i)&&e.push(n.groups)}return r===!0?"no metadata":e}o(CM,"parseMetadata");function Vee(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(jee,"createDeferredPromise");function Kee(t){return t.controller.state==="aborted"}o(Kee,"isAborted");function Xee(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(Xee,"isCancelled");function Zee(t){return Qee[t.toLowerCase()]??t}o(Zee,"normalizeMethod");function ete(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return wa(typeof e=="string"),e}o(ete,"serializeJavascriptValueToJSONString");var tte=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function IM(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,tte),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(IM,"createIterator");function rte(t,e,r,s=0,n=1){let i=IM(t,r,s,n),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return bA.brandCheck(this,e),i(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return bA.brandCheck(this,e),i(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return bA.brandCheck(this,e),i(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,u=globalThis){if(bA.brandCheck(this,e),bA.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(rte,"iteratorMixin");async function ste(t,e,r){let s=e,n=r,i;try{i=t.stream.getReader()}catch(a){n(a);return}try{s(await BM(i))}catch(a){n(a)}}o(ste,"fullyReadBody");function nte(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(nte,"isReadableStreamLike");function ite(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(ite,"readableStreamClose");var ote=/[^\x00-\xFF]/;function yh(t){return wa(!ote.test(t)),t}o(yh,"isomorphicEncode");async function BM(t){let e=[],r=0;for(;;){let{done:s,value:n}=await t.read();if(s)return Buffer.concat(e,r);if(!xee(n))throw new TypeError("Received non-Uint8Array chunk");e.push(n),r+=n.length}}o(BM,"readAllBytes");function ate(t){wa("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(ate,"urlIsLocal");function Tw(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(Tw,"urlHasHttpsScheme");function wM(t){wa("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(wM,"urlIsHttpHttpsScheme");function cte(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let s={position:5};if(e&&Ba(l=>l===" "||l===" ",r,s),r.charCodeAt(s.position)!==61)return"failure";s.position++,e&&Ba(l=>l===" "||l===" ",r,s);let n=Ba(l=>{let u=l.charCodeAt(0);return u>=48&&u<=57},r,s),i=n.length?Number(n):null;if(e&&Ba(l=>l===" "||l===" ",r,s),r.charCodeAt(s.position)!==45)return"failure";s.position++,e&&Ba(l=>l===" "||l===" ",r,s);let a=Ba(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(cte,"simpleRangeHeaderValue");function lte(t,e,r){let s="bytes ";return s+=yh(`${t}`),s+="-",s+=yh(`${e}`),s+="/",s+=yh(`${r}`),s}o(lte,"buildContentRange");var vw=class extends hee{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?dM.createInflate(this.#e):dM.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 ute(t){return new vw(t)}o(ute,"createInflate");function Ate(t){let e=null,r=null,s=null,n=bM("content-type",t);if(n===null)return"failure";for(let i of n){let a=Iee(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(Ate,"extractMimeType");function dte(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(dte,"gettingDecodingSplitting");function bM(t,e){let r=e.get(t,!0);return r===null?null:dte(r)}o(bM,"getDecodeSplit");var pte=new TextDecoder;function mte(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),pte.decode(t))}o(mte,"utf8DecodeBytes");var Pw=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return pM()}get origin(){return this.baseUrl?.origin}policyContainer=yM()},kw=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new Pw},hte=new kw;QM.exports={isAborted:Kee,isCancelled:Xee,isValidEncodedURL:gM,createDeferredPromise:jee,ReadableStreamFrom:bee,tryUpgradeRequestToAPotentiallyTrustworthyURL:Wee,clampAndCoarsenConnectionTimingInfo:Fee,coarsenedSharedCurrentTime:Uee,determineRequestsReferrer:Hee,makePolicyContainer:yM,clonePolicyContainer:Gee,appendFetchMetadata:Mee,appendRequestOriginHeader:Oee,TAOCheck:Lee,corsCheck:_ee,crossOriginResourcePolicyCheck:Dee,createOpaqueTimingInfo:qee,setRequestReferrerPolicyOnRedirect:kee,isValidHTTPToken:mM,requestBadPort:Ree,requestCurrentURL:xA,responseURL:fM,responseLocationURL:Nee,isBlobLike:wee,isURLPotentiallyTrustworthy:QA,isValidReasonPhrase:vee,sameOrigin:Ih,normalizeMethod:Zee,serializeJavascriptValueToJSONString:ete,iteratorMixin:rte,createIterator:IM,isValidHeaderName:Pee,isValidHeaderValue:EM,isErrorLike:Tee,fullyReadBody:ste,bytesMatch:zee,isReadableStreamLike:nte,readableStreamClose:ite,isomorphicEncode:yh,urlIsLocal:ate,urlHasHttpsScheme:Tw,urlIsHttpHttpsScheme:wM,readAllBytes:BM,simpleRangeHeaderValue:cte,buildContentRange:lte,parseMetadata:CM,createInflate:ute,extractMimeType:Ate,getDecodeSplit:bM,utf8DecodeBytes:mte,environmentSettingsObject:hte}});var bo=f((cMe,xM)=>{"use strict";xM.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var _w=f((lMe,NM)=>{"use strict";var{Blob:fte,File:gte}=require("node:buffer"),{kState:Fi}=bo(),{webidl:_n}=Yt(),Dw=class t{static{o(this,"FileLike")}constructor(e,r,s={}){let n=r,i=s.type,a=s.lastModified??Date.now();this[Fi]={blobLike:e,name:n,type:i,lastModified:a}}stream(...e){return _n.brandCheck(this,t),this[Fi].blobLike.stream(...e)}arrayBuffer(...e){return _n.brandCheck(this,t),this[Fi].blobLike.arrayBuffer(...e)}slice(...e){return _n.brandCheck(this,t),this[Fi].blobLike.slice(...e)}text(...e){return _n.brandCheck(this,t),this[Fi].blobLike.text(...e)}get size(){return _n.brandCheck(this,t),this[Fi].blobLike.size}get type(){return _n.brandCheck(this,t),this[Fi].blobLike.type}get name(){return _n.brandCheck(this,t),this[Fi].name}get lastModified(){return _n.brandCheck(this,t),this[Fi].lastModified}get[Symbol.toStringTag](){return"File"}};_n.converters.Blob=_n.interfaceConverter(fte);function Ete(t){return t instanceof gte||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(Ete,"isFileLike");NM.exports={FileLike:Dw,isFileLike:Ete}});var SA=f((AMe,PM)=>{"use strict";var{isBlobLike:Bh,iteratorMixin:yte}=jr(),{kState:Ar}=bo(),{kEnumerableProperty:tl}=me(),{FileLike:SM,isFileLike:Cte}=_w(),{webidl:Le}=Yt(),{File:vM}=require("node:buffer"),RM=require("node:util"),TM=globalThis.File??vM,NA=class t{static{o(this,"FormData")}constructor(e){if(Le.util.markAsUncloneable(this),e!==void 0)throw Le.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[Ar]=[]}append(e,r,s=void 0){Le.brandCheck(this,t);let n="FormData.append";if(Le.argumentLengthCheck(arguments,2,n),arguments.length===3&&!Bh(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Le.converters.USVString(e,n,"name"),r=Bh(r)?Le.converters.Blob(r,n,"value",{strict:!1}):Le.converters.USVString(r,n,"value"),s=arguments.length===3?Le.converters.USVString(s,n,"filename"):void 0;let i=Lw(e,r,s);this[Ar].push(i)}delete(e){Le.brandCheck(this,t);let r="FormData.delete";Le.argumentLengthCheck(arguments,1,r),e=Le.converters.USVString(e,r,"name"),this[Ar]=this[Ar].filter(s=>s.name!==e)}get(e){Le.brandCheck(this,t);let r="FormData.get";Le.argumentLengthCheck(arguments,1,r),e=Le.converters.USVString(e,r,"name");let s=this[Ar].findIndex(n=>n.name===e);return s===-1?null:this[Ar][s].value}getAll(e){Le.brandCheck(this,t);let r="FormData.getAll";return Le.argumentLengthCheck(arguments,1,r),e=Le.converters.USVString(e,r,"name"),this[Ar].filter(s=>s.name===e).map(s=>s.value)}has(e){Le.brandCheck(this,t);let r="FormData.has";return Le.argumentLengthCheck(arguments,1,r),e=Le.converters.USVString(e,r,"name"),this[Ar].findIndex(s=>s.name===e)!==-1}set(e,r,s=void 0){Le.brandCheck(this,t);let n="FormData.set";if(Le.argumentLengthCheck(arguments,2,n),arguments.length===3&&!Bh(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Le.converters.USVString(e,n,"name"),r=Bh(r)?Le.converters.Blob(r,n,"name",{strict:!1}):Le.converters.USVString(r,n,"name"),s=arguments.length===3?Le.converters.USVString(s,n,"name"):void 0;let i=Lw(e,r,s),a=this[Ar].findIndex(c=>c.name===e);a!==-1?this[Ar]=[...this[Ar].slice(0,a),i,...this[Ar].slice(a+1).filter(c=>c.name!==e)]:this[Ar].push(i)}[RM.inspect.custom](e,r){let s=this[Ar].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=RM.formatWithOptions(r,s);return`FormData ${n.slice(n.indexOf("]")+2)}`}};yte("FormData",NA,Ar,"name","value");Object.defineProperties(NA.prototype,{append:tl,delete:tl,get:tl,getAll:tl,has:tl,set:tl,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function Lw(t,e,r){if(typeof e!="string"){if(Cte(e)||(e=e instanceof Blob?new TM([e],"blob",{type:e.type}):new SM(e,"blob",{type:e.type})),r!==void 0){let s={type:e.type,lastModified:e.lastModified};e=e instanceof vM?new TM([e],r,s):new SM(e,r,s)}}return{name:t,value:e}}o(Lw,"makeEntry");PM.exports={FormData:NA,makeEntry:Lw}});var OM=f((pMe,MM)=>{"use strict";var{isUSVString:kM,bufferToLowerCasedHeaderName:Ite}=me(),{utf8DecodeBytes:Bte}=jr(),{HTTP_TOKEN_CODEPOINTS:wte,isomorphicDecode:DM}=Tr(),{isFileLike:bte}=_w(),{makeEntry:Qte}=SA(),wh=require("node:assert"),{File:xte}=require("node:buffer"),Nte=globalThis.File??xte,Ste=Buffer.from('form-data; name="'),_M=Buffer.from("; filename"),Rte=Buffer.from("--"),Tte=Buffer.from(`--\r `);function vte(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(Pte,"validateBoundary");function kte(t,e){wh(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&&bh(t,Rte,i)||i.position===t.length-4&&bh(t,Tte,i))return n;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let c=Dte(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",vte(A)||(A=""),m=new Nte([p],u,{type:A})):m=Bte(Buffer.from(p)),wh(kM(l)),wh(typeof m=="string"&&kM(m)||bte(m)),n.push(Qte(l,m,u))}}o(kte,"multipartFormDataParser");function Dte(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=rl(c=>c!==10&&c!==13&&c!==58,t,e);if(a=Mw(a,!0,!0,c=>c===9||c===32),!wte.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,rl(c=>c===32||c===9,t,e),Ite(a)){case"content-disposition":{if(r=s=null,!bh(t,Ste,e)||(e.position+=17,r=LM(t,e),r===null))return"failure";if(bh(t,_M,e)){let c=e.position+_M.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,s=LM(t,e),s===null))return"failure"}break}case"content-type":{let c=rl(l=>l!==10&&l!==13,t,e);c=Mw(c,!1,!0,l=>l===9||l===32),n=DM(c);break}case"content-transfer-encoding":{let c=rl(l=>l!==10&&l!==13,t,e);c=Mw(c,!1,!0,l=>l===9||l===32),i=DM(c);break}default:rl(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(Dte,"parseMultipartFormDataHeaders");function LM(t,e){wh(t[e.position-1]===34);let r=rl(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(LM,"parseMultipartFormDataName");function rl(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(Mw,"removeChars");function bh(t,e,r){if(t.length{"use strict";var RA=me(),{ReadableStreamFrom:_te,isBlobLike:FM,isReadableStreamLike:Lte,readableStreamClose:Mte,createDeferredPromise:Ote,fullyReadBody:Fte,extractMimeType:Ute,utf8DecodeBytes:GM}=jr(),{FormData:UM}=SA(),{kState:nl}=bo(),{webidl:qte}=Yt(),{Blob:Gte}=require("node:buffer"),Ow=require("node:assert"),{isErrored:HM,isDisturbed:Hte}=require("node:stream"),{isArrayBuffer:zte}=require("node:util/types"),{serializeAMimeType:$te}=Tr(),{multipartFormDataParser:Vte}=OM(),Fw;try{let t=require("node:crypto");Fw=o(e=>t.randomInt(0,e),"random")}catch{Fw=o(t=>Math.floor(Math.random(t)),"random")}var Qh=new TextEncoder;function Yte(){}o(Yte,"noop");var zM=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,$M;zM&&($M=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!Hte(e)&&!HM(e)&&e.cancel("Response object has been garbage collected").catch(Yte)}));function VM(t,e=!1){let r=null;t instanceof ReadableStream?r=t:FM(t)?r=t.stream():r=new ReadableStream({async pull(l){let u=typeof n=="string"?Qh.encode(n):n;u.byteLength&&l.enqueue(u),queueMicrotask(()=>Mte(l))},start(){},type:"bytes"}),Ow(Lte(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(zte(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(RA.isFormDataLike(t)){let l=`----formdata-undici-0${`${Fw(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=Qh.encode(u+`; name="${A(d(C))}"\r \r ${d(E)}\r `);p.push(y),i+=y.byteLength}else{let y=Qh.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=Qh.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(FM(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(RA.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:_te(t)}if((typeof n=="string"||RA.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(!HM(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(VM,"extractBody");function Jte(t,e=!1){return t instanceof ReadableStream&&(Ow(!RA.isDisturbed(t),"The body has already been consumed."),Ow(!t.locked,"The stream is locked.")),VM(t,e)}o(Jte,"safelyExtractBody");function Wte(t,e){let[r,s]=e.stream.tee();return e.stream=r,{stream:s,length:e.length,source:e.source}}o(Wte,"cloneBody");function jte(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(jte,"throwIfAborted");function Kte(t){return{blob(){return sl(this,r=>{let s=qM(this);return s===null?s="":s&&(s=$te(s)),new Gte([r],{type:s})},t)},arrayBuffer(){return sl(this,r=>new Uint8Array(r).buffer,t)},text(){return sl(this,GM,t)},json(){return sl(this,Zte,t)},formData(){return sl(this,r=>{let s=qM(this);if(s!==null)switch(s.essence){case"multipart/form-data":{let n=Vte(r,s);if(n==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new UM;return i[nl]=n,i}case"application/x-www-form-urlencoded":{let n=new URLSearchParams(r.toString()),i=new UM;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 sl(this,r=>new Uint8Array(r),t)}}}o(Kte,"bodyMixinMethods");function Xte(t){Object.assign(t.prototype,Kte(t))}o(Xte,"mixinBody");async function sl(t,e,r){if(qte.brandCheck(t,r),YM(t))throw new TypeError("Body is unusable: Body has already been read");jte(t[nl]);let s=Ote(),n=o(a=>s.reject(a),"errorSteps"),i=o(a=>{try{s.resolve(e(a))}catch(c){n(c)}},"successSteps");return t[nl].body==null?(i(Buffer.allocUnsafe(0)),s.promise):(await Fte(t[nl].body,i,n),s.promise)}o(sl,"consumeBody");function YM(t){let e=t[nl].body;return e!=null&&(e.stream.locked||RA.isDisturbed(e.stream))}o(YM,"bodyUnusable");function Zte(t){return JSON.parse(GM(t))}o(Zte,"parseJSONFromBytes");function qM(t){let e=t[nl].headersList,r=Ute(e);return r==="failure"?null:r}o(qM,"bodyMimeType");JM.exports={extractBody:VM,safelyExtractBody:Jte,cloneBody:Wte,mixinBody:Xte,streamRegistry:$M,hasFinalizationRegistry:zM,bodyUnusable:YM}});var iO=f((gMe,nO)=>{"use strict";var X=require("node:assert"),se=me(),{channels:WM}=Vc(),Uw=Iw(),{RequestContentLengthMismatchError:ba,ResponseContentLengthMismatchError:ere,RequestAbortedError:tO,HeadersTimeoutError:tre,HeadersOverflowError:rre,SocketError:vh,InformationalError:ol,BodyTimeoutError:sre,HTTPParserError:nre,ResponseExceededMaxSizeError:ire}=Qe(),{kUrl:rO,kReset:vr,kClient:zw,kParser:Ze,kBlocking:PA,kRunning:Zt,kPending:ore,kSize:jM,kWriting:xo,kQueue:sn,kNoRef:TA,kKeepAliveDefaultTimeout:are,kHostHeader:cre,kPendingIdx:lre,kRunningIdx:ws,kError:bs,kPipelining:Rh,kSocket:al,kKeepAliveTimeoutValue:Ph,kMaxHeadersSize:qw,kKeepAliveMaxTimeout:ure,kKeepAliveTimeoutThreshold:Are,kHeadersTimeout:dre,kBodyTimeout:pre,kStrictContentLength:$w,kMaxRequests:KM,kCounter:mre,kMaxResponseSize:hre,kOnError:fre,kResume:Qo,kHTTPContext:sO}=ze(),Ln=$L(),gre=Buffer.alloc(0),xh=Buffer[Symbol.species],Nh=se.addListener,Ere=se.removeAllListeners,Gw;async function yre(){let t=process.env.JEST_WORKER_ID?bw():void 0,e;try{e=await WebAssembly.compile(JL())}catch{e=await WebAssembly.compile(t||bw())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:o((r,s,n)=>0,"wasm_on_url"),wasm_on_status:o((r,s,n)=>{X(Tt.ptr===r);let i=s-On+Mn.byteOffset;return Tt.onStatus(new xh(Mn.buffer,i,n))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>(X(Tt.ptr===r),Tt.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,s,n)=>{X(Tt.ptr===r);let i=s-On+Mn.byteOffset;return Tt.onHeaderField(new xh(Mn.buffer,i,n))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,s,n)=>{X(Tt.ptr===r);let i=s-On+Mn.byteOffset;return Tt.onHeaderValue(new xh(Mn.buffer,i,n))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,s,n,i)=>(X(Tt.ptr===r),Tt.onHeadersComplete(s,!!n,!!i)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,s,n)=>{X(Tt.ptr===r);let i=s-On+Mn.byteOffset;return Tt.onBody(new xh(Mn.buffer,i,n))||0},"wasm_on_body"),wasm_on_message_complete:o(r=>(X(Tt.ptr===r),Tt.onMessageComplete()||0),"wasm_on_message_complete")}})}o(yre,"lazyllhttp");var Hw=null,Vw=yre();Vw.catch();var Tt=null,Mn=null,Sh=0,On=null,Cre=0,vA=1,cl=2|vA,Th=4|vA,Yw=8|Cre,Jw=class{static{o(this,"Parser")}constructor(e,r,{exports:s}){X(Number.isFinite(e[qw])&&e[qw]>0),this.llhttp=s,this.ptr=this.llhttp.llhttp_alloc(Ln.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[qw],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[hre]}setTimeout(e,r){e!==this.timeoutValue||r&vA^this.timeoutType&vA?(this.timeout&&(Uw.clearTimeout(this.timeout),this.timeout=null),e&&(r&vA?this.timeout=Uw.setFastTimeout(XM,e,new WeakRef(this)):(this.timeout=setTimeout(XM,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||(X(this.ptr!=null),X(Tt==null),this.llhttp.llhttp_resume(this.ptr),X(this.timeoutType===Th),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||gre),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){X(this.ptr!=null),X(Tt==null),X(!this.paused);let{socket:r,llhttp:s}=this;e.length>Sh&&(On&&s.free(On),Sh=Math.ceil(e.length/4096)*4096,On=s.malloc(Sh)),new Uint8Array(s.memory.buffer,On,Sh).set(e);try{let n;try{Mn=e,Tt=this,n=s.llhttp_execute(this.ptr,On,e.length)}catch(a){throw a}finally{Tt=null,Mn=null}let i=s.llhttp_get_error_pos(this.ptr)-On;if(n===Ln.ERROR.PAUSED_UPGRADE)this.onUpgrade(e.slice(i));else if(n===Ln.ERROR.PAUSED)this.paused=!0,r.unshift(e.slice(i));else if(n!==Ln.ERROR.OK){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()+")"}throw new nre(c,Ln.ERROR[n],e.slice(i))}}catch(n){se.destroy(r,n)}}destroy(){X(this.ptr!=null),X(Tt==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&Uw.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){this.statusText=e.toString()}onMessageBegin(){let{socket:e,client:r}=this;if(e.destroyed)return-1;let s=r[sn][r[ws]];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=se.bufferToLowerCasedHeaderName(s);n==="keep-alive"?this.keepAlive+=e.toString():n==="connection"&&(this.connection+=e.toString())}else s.length===14&&se.bufferToLowerCasedHeaderName(s)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&se.destroy(this.socket,new rre)}onUpgrade(e){let{upgrade:r,client:s,socket:n,headers:i,statusCode:a}=this;X(r),X(s[al]===n),X(!n.destroyed),X(!this.paused),X((i.length&1)===0);let c=s[sn][s[ws]];X(c),X(c.upgrade||c.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,n.unshift(e),n[Ze].destroy(),n[Ze]=null,n[zw]=null,n[bs]=null,Ere(n),s[al]=null,s[sO]=null,s[sn][s[ws]++]=null,s.emit("disconnect",s[rO],[s],new ol("upgrade"));try{c.onUpgrade(a,i,n)}catch(l){se.destroy(n,l)}s[Qo]()}onHeadersComplete(e,r,s){let{client:n,socket:i,headers:a,statusText:c}=this;if(i.destroyed)return-1;let l=n[sn][n[ws]];if(!l)return-1;if(X(!this.upgrade),X(this.statusCode<200),e===100)return se.destroy(i,new vh("bad response",se.getSocketInfo(i))),-1;if(r&&!l.upgrade)return se.destroy(i,new vh("bad upgrade",se.getSocketInfo(i))),-1;if(X(this.timeoutType===cl),this.statusCode=e,this.shouldKeepAlive=s||l.method==="HEAD"&&!i[vr]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let A=l.bodyTimeout!=null?l.bodyTimeout:n[pre];this.setTimeout(A,Th)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return X(n[Zt]===1),this.upgrade=!0,2;if(r)return X(n[Zt]===1),this.upgrade=!0,2;if(X((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&n[Rh]){let A=this.keepAlive?se.parseKeepAliveTimeout(this.keepAlive):null;if(A!=null){let d=Math.min(A-n[Are],n[ure]);d<=0?i[vr]=!0:n[Ph]=d}else n[Ph]=n[are]}else i[vr]=!0;let u=l.onHeaders(e,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||e<200?1:(i[PA]&&(i[PA]=!1,n[Qo]()),u?Ln.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:s,statusCode:n,maxResponseSize:i}=this;if(s.destroyed)return-1;let a=r[sn][r[ws]];if(X(a),X(this.timeoutType===Th),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),X(n>=200),i>-1&&this.bytesRead+e.length>i)return se.destroy(s,new ire),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return Ln.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;X(s>=100),X((this.headers.length&1)===0);let u=e[sn][e[ws]];if(X(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 se.destroy(r,new ere),-1;if(u.onComplete(i),e[sn][e[ws]++]=null,r[xo])return X(e[Zt]===0),se.destroy(r,new ol("reset")),Ln.ERROR.PAUSED;if(l){if(r[vr]&&e[Zt]===0)return se.destroy(r,new ol("reset")),Ln.ERROR.PAUSED;e[Rh]==null||e[Rh]===1?setImmediate(()=>e[Qo]()):e[Qo]()}else return se.destroy(r,new ol("reset")),Ln.ERROR.PAUSED}}};function XM(t){let{socket:e,timeoutType:r,client:s,paused:n}=t.deref();r===cl?(!e[xo]||e.writableNeedDrain||s[Zt]>1)&&(X(!n,"cannot be paused while waiting for headers"),se.destroy(e,new tre)):r===Th?n||se.destroy(e,new sre):r===Yw&&(X(s[Zt]===0&&s[Ph]),se.destroy(e,new ol("socket idle timeout")))}o(XM,"onParserTimeout");async function Ire(t,e){t[al]=e,Hw||(Hw=await Vw,Vw=null),e[TA]=!1,e[xo]=!1,e[vr]=!1,e[PA]=!1,e[Ze]=new Jw(t,e,Hw),Nh(e,"error",function(s){X(s.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let n=this[Ze];if(s.code==="ECONNRESET"&&n.statusCode&&!n.shouldKeepAlive){n.onMessageComplete();return}this[bs]=s,this[zw][fre](s)}),Nh(e,"readable",function(){let s=this[Ze];s&&s.readMore()}),Nh(e,"end",function(){let s=this[Ze];if(s.statusCode&&!s.shouldKeepAlive){s.onMessageComplete();return}se.destroy(this,new vh("other side closed",se.getSocketInfo(this)))}),Nh(e,"close",function(){let s=this[zw],n=this[Ze];n&&(!this[bs]&&n.statusCode&&!n.shouldKeepAlive&&n.onMessageComplete(),this[Ze].destroy(),this[Ze]=null);let i=this[bs]||new vh("closed",se.getSocketInfo(this));if(s[al]=null,s[sO]=null,s.destroyed){X(s[ore]===0);let a=s[sn].splice(s[ws]);for(let c=0;c0&&i.code!=="UND_ERR_INFO"){let a=s[sn][s[ws]];s[sn][s[ws]++]=null,se.errorRequest(s,a,i)}s[lre]=s[ws],X(s[Zt]===0),s.emit("disconnect",s[rO],[s],i),s[Qo]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...s){return bre(t,...s)},resume(){Bre(t)},destroy(s,n){r?queueMicrotask(n):e.destroy(s).on("close",n)},get destroyed(){return e.destroyed},busy(s){return!!(e[xo]||e[vr]||e[PA]||s&&(t[Zt]>0&&!s.idempotent||t[Zt]>0&&(s.upgrade||s.method==="CONNECT")||t[Zt]>0&&se.bodyLength(s.body)!==0&&(se.isStream(s.body)||se.isAsyncIterable(s.body)||se.isFormDataLike(s.body))))}}}o(Ire,"connectH1");function Bre(t){let e=t[al];if(e&&!e.destroyed){if(t[jM]===0?!e[TA]&&e.unref&&(e.unref(),e[TA]=!0):e[TA]&&e.ref&&(e.ref(),e[TA]=!1),t[jM]===0)e[Ze].timeoutType!==Yw&&e[Ze].setTimeout(t[Ph],Yw);else if(t[Zt]>0&&e[Ze].statusCode<200&&e[Ze].timeoutType!==cl){let r=t[sn][t[ws]],s=r.headersTimeout!=null?r.headersTimeout:t[dre];e[Ze].setTimeout(s,cl)}}}o(Bre,"resumeH1");function wre(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(wre,"shouldSendContentLength");function bre(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(se.isFormDataLike(l)){Gw||(Gw=il().extractBody);let[C,E]=Gw(l);e.contentType==null&&u.push("content-type",E),l=C.stream,A=C.length}else se.isBlobLike(l)&&e.contentType==null&&l.type&&u.push("content-type",l.type);l&&typeof l.read=="function"&&l.read(0);let p=se.bodyLength(l);if(A=p??A,A===null&&(A=e.contentLength),A===0&&!d&&(A=null),wre(r)&&A>0&&e.contentLength!==null&&e.contentLength!==A){if(t[$w])return se.errorRequest(t,e,new ba),!1;process.emitWarning(new ba)}let m=t[al],h=o(C=>{e.aborted||e.completed||(se.errorRequest(t,e,C||new tO),se.destroy(l),se.destroy(m,new ol("aborted")))},"abort");try{e.onConnect(h)}catch(C){se.errorRequest(t,e,C)}if(e.aborted)return!1;r==="HEAD"&&(m[vr]=!0),(i||r==="CONNECT")&&(m[vr]=!0),c!=null&&(m[vr]=c),t[KM]&&m[mre]++>=t[KM]&&(m[vr]=!0),a&&(m[PA]=!0);let g=`${r} ${s} HTTP/1.1\r `;if(typeof n=="string"?g+=`host: ${n}\r `:g+=t[cre],i?g+=`connection: upgrade\r upgrade: ${i}\r `:t[Rh]&&!m[vr]?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 tO;queueMicrotask(()=>m(h))}},"onClose"),m=o(function(h){if(!l){if(l=!0,X(n.destroyed||n[xo]&&r[Zt]<=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")?se.destroy(e,h):se.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(Qre,"writeStream");function ZM(t,e,r,s,n,i,a,c){try{e?se.isBuffer(e)&&(X(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[vr]=!0)):i===0?n.write(`${a}content-length: 0\r \r `,"latin1"):(X(i===null,"no body must not have content length"),n.write(`${a}\r `,"latin1")),s.onRequestSent(),r[Qo]()}catch(l){t(l)}}o(ZM,"writeBuffer");async function xre(t,e,r,s,n,i,a,c){X(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new ba;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[vr]=!0),r[Qo]()}catch(l){t(l)}}o(xre,"writeBlob");async function eO(t,e,r,s,n,i,a,c){X(i!==0||r[Zt]===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)=>{X(l===null),n[bs]?m(n[bs]):l=p}),"waitForDrain");n.on("close",u).on("drain",u);let d=new kh({abort:t,socket:n,request:s,contentLength:i,client:r,expectsPayload:c,header:a});try{for await(let p of e){if(n[bs])throw n[bs];d.write(p)||await A()}d.end()}catch(p){d.destroy(p)}finally{n.off("close",u).off("drain",u)}}o(eO,"writeIterable");var kh=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[xo]=!0}write(e){let{socket:r,request:s,contentLength:n,client:i,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[bs])throw r[bs];if(r.destroyed)return!1;let u=Buffer.byteLength(e);if(!u)return!0;if(n!==null&&a+u>n){if(i[$w])throw new ba;process.emitWarning(new ba)}r.cork(),a===0&&(!c&&s.reset!==!1&&(r[vr]=!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[Ze].timeout&&r[Ze].timeoutType===cl&&r[Ze].timeout.refresh&&r[Ze].timeout.refresh(),A}end(){let{socket:e,contentLength:r,client:s,bytesWritten:n,expectsPayload:i,header:a,request:c}=this;if(c.onRequestSent(),e[xo]=!1,e[bs])throw e[bs];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[$w])throw new ba;process.emitWarning(new ba)}e[Ze].timeout&&e[Ze].timeoutType===cl&&e[Ze].timeout.refresh&&e[Ze].timeout.refresh(),s[Qo]()}}destroy(e){let{socket:r,client:s,abort:n}=this;r[xo]=!1,e&&(X(s[Zt]<=1,"pipeline should only contain this request"),n(e))}};nO.exports=Ire});var pO=f((yMe,dO)=>{"use strict";var Qs=require("node:assert"),{pipeline:Nre}=require("node:stream"),ge=me(),{RequestContentLengthMismatchError:Ww,RequestAbortedError:oO,SocketError:kA,InformationalError:jw}=Qe(),{kUrl:Dh,kReset:Lh,kClient:ll,kRunning:Mh,kPending:Sre,kQueue:No,kPendingIdx:Kw,kRunningIdx:nn,kError:an,kSocket:Ut,kStrictContentLength:Rre,kOnError:Xw,kMaxConcurrentStreams:AO,kHTTP2Session:on,kResume:So,kSize:Tre,kHTTPContext:vre}=ze(),Ui=Symbol("open streams"),aO,cO=!1,_h;try{_h=require("node:http2")}catch{_h={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:Pre,HTTP2_HEADER_METHOD:kre,HTTP2_HEADER_PATH:Dre,HTTP2_HEADER_SCHEME:_re,HTTP2_HEADER_CONTENT_LENGTH:Lre,HTTP2_HEADER_EXPECT:Mre,HTTP2_HEADER_STATUS:Ore}}=_h;function Fre(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(Fre,"parseH2Headers");async function Ure(t,e){t[Ut]=e,cO||(cO=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=_h.connect(t[Dh],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[AO]});r[Ui]=0,r[ll]=t,r[Ut]=e,ge.addListener(r,"error",Gre),ge.addListener(r,"frameError",Hre),ge.addListener(r,"end",zre),ge.addListener(r,"goaway",$re),ge.addListener(r,"close",function(){let{[ll]:n}=this,{[Ut]:i}=n,a=this[Ut][an]||this[an]||new kA("closed",ge.getSocketInfo(i));if(n[on]=null,n.destroyed){Qs(n[Sre]===0);let c=n[No].splice(n[nn]);for(let l=0;l{s=!0}),{version:"h2",defaultPipelining:1/0,write(...n){return Yre(t,...n)},resume(){qre(t)},destroy(n,i){s?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}o(Ure,"connectH2");function qre(t){let e=t[Ut];e?.destroyed===!1&&(t[Tre]===0&&t[AO]===0?(e.unref(),t[on].unref()):(e.ref(),t[on].ref()))}o(qre,"resumeH2");function Gre(t){Qs(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Ut][an]=t,this[ll][Xw](t)}o(Gre,"onHttp2SessionError");function Hre(t,e,r){if(r===0){let s=new jw(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[Ut][an]=s,this[ll][Xw](s)}}o(Hre,"onHttp2FrameError");function zre(){let t=new kA("other side closed",ge.getSocketInfo(this[Ut]));this.destroy(t),ge.destroy(this[Ut],t)}o(zre,"onHttp2SessionEnd");function $re(t){let e=this[an]||new kA(`HTTP/2: "GOAWAY" frame received with code ${t}`,ge.getSocketInfo(this)),r=this[ll];if(r[Ut]=null,r[vre]=null,this[on]!=null&&(this[on].destroy(e),this[on]=null),ge.destroy(this[Ut],e),r[nn]{e.aborted||e.completed||(B=B||new oO,ge.errorRequest(t,e,B),p!=null&&ge.destroy(p,B),ge.destroy(A,B),t[No][t[nn]++]=null,t[So]())},"abort");try{e.onConnect(g)}catch(B){ge.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[Ui],t[No][t[nn]++]=null):p.once("ready",()=>{e.onUpgrade(null,null,p),++r[Ui],t[No][t[nn]++]=null}),p.once("close",()=>{r[Ui]-=1,r[Ui]===0&&r.unref()}),!0;d[Dre]=n,d[_re]="https";let C=s==="PUT"||s==="POST"||s==="PATCH";A&&typeof A.read=="function"&&A.read(0);let E=ge.bodyLength(A);if(ge.isFormDataLike(A)){aO??=il().extractBody;let[B,N]=aO(A);d["content-type"]=N,A=B.stream,E=B.length}if(E==null&&(E=e.contentLength),(E===0||!C)&&(E=null),Vre(s)&&E>0&&e.contentLength!=null&&e.contentLength!==E){if(t[Rre])return ge.errorRequest(t,e,new Ww),!1;process.emitWarning(new Ww)}E!=null&&(Qs(A,"no body must not have content length"),d[Lre]=`${E}`),r.ref();let y=s==="GET"||s==="HEAD"||A===null;return c?(d[Mre]="100-continue",p=r.request(d,{endStream:y,signal:l}),p.once("continue",I)):(p=r.request(d,{endStream:y,signal:l}),I()),++r[Ui],p.once("response",B=>{let{[Ore]:N,...D}=B;if(e.onResponseStarted(),e.aborted){let q=new oO;ge.errorRequest(t,e,q),ge.destroy(p,q);return}e.onHeaders(Number(N),Fre(D),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[Ui]===0&&r.unref(),g(new jw("HTTP/2: stream half-closed (remote)")),t[No][t[nn]++]=null,t[Kw]=t[nn],t[So]()}),p.once("close",()=>{r[Ui]-=1,r[Ui]===0&&r.unref()}),p.once("error",function(B){g(B)}),p.once("frameError",(B,N)=>{g(new jw(`HTTP/2: "frameError" received - type ${B}, code ${N}`))}),!0;function I(){!A||E===0?lO(g,p,null,t,e,t[Ut],E,C):ge.isBuffer(A)?lO(g,p,A,t,e,t[Ut],E,C):ge.isBlobLike(A)?typeof A.stream=="function"?uO(g,p,A.stream(),t,e,t[Ut],E,C):Wre(g,p,A,t,e,t[Ut],E,C):ge.isStream(A)?Jre(g,t[Ut],C,p,A,t,e,E):ge.isIterable(A)?uO(g,p,A,t,e,t[Ut],E,C):Qs(!1)}o(I,"writeBodyH2")}o(Yre,"writeH2");function lO(t,e,r,s,n,i,a,c){try{r!=null&&ge.isBuffer(r)&&(Qs(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),n.onBodySent(r)),c||(i[Lh]=!0),n.onRequestSent(),s[So]()}catch(l){t(l)}}o(lO,"writeBuffer");function Jre(t,e,r,s,n,i,a,c){Qs(c!==0||i[Mh]===0,"stream body cannot be pipelined");let l=Nre(n,s,A=>{A?(ge.destroy(l,A),t(A)):(ge.removeAllListeners(l),a.onRequestSent(),r||(e[Lh]=!0),i[So]())});ge.addListener(l,"data",u);function u(A){a.onBodySent(A)}o(u,"onPipeData")}o(Jre,"writeStream");async function Wre(t,e,r,s,n,i,a,c){Qs(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new Ww;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),n.onBodySent(l),n.onRequestSent(),c||(i[Lh]=!0),s[So]()}catch(l){t(l)}}o(Wre,"writeBlob");async function uO(t,e,r,s,n,i,a,c){Qs(a!==0||s[Mh]===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)=>{Qs(l===null),i[an]?p(i[an]):l=d}),"waitForDrain");e.on("close",u).on("drain",u);try{for await(let d of r){if(i[an])throw i[an];let p=e.write(d);n.onBodySent(d),p||await A()}e.end(),n.onRequestSent(),c||(i[Lh]=!0),s[So]()}catch(d){t(d)}finally{e.off("close",u).off("drain",u)}}o(uO,"writeIterable");dO.exports=Ure});var Fh=f((IMe,fO)=>{"use strict";var Fn=me(),{kBodyUsed:DA}=ze(),eb=require("node:assert"),{InvalidArgumentError:jre}=Qe(),Kre=require("node:events"),Xre=[300,301,302,303,307,308],mO=Symbol("body"),Oh=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[mO]=e,this[DA]=!1}async*[Symbol.asyncIterator](){eb(!this[DA],"disturbed"),this[DA]=!0,yield*this[mO]}},Zw=class{static{o(this,"RedirectHandler")}constructor(e,r,s,n){if(r!=null&&(!Number.isInteger(r)||r<0))throw new jre("maxRedirections must be a positive number");Fn.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,Fn.isStream(this.opts.body)?(Fn.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){eb(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[DA]=!1,Kre.prototype.on.call(this.opts.body,"data",function(){this[DA]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new Oh(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&Fn.isIterable(this.opts.body)&&(this.opts.body=new Oh(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||Fn.isDisturbed(this.opts.body)?null:Zre(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}=Fn.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=ese(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 Zre(t,e){if(Xre.indexOf(t)===-1)return null;for(let r=0;r{"use strict";var tse=Fh();function rse({maxRedirections:t}){return e=>o(function(s,n){let{maxRedirections:i=t}=s;if(!i)return e(s,n);let a=new tse(e,i,s,n);return s={...s,maxRedirections:0},e(s,a)},"Intercept")}o(rse,"createRedirectInterceptor");gO.exports=rse});var dl=f((QMe,NO)=>{"use strict";var qi=require("node:assert"),wO=require("node:net"),sse=require("node:http"),Qa=me(),{channels:ul}=Vc(),nse=vL(),ise=jc(),{InvalidArgumentError:At,InformationalError:ose,ClientDestroyedError:ase}=Qe(),cse=IA(),{kUrl:Un,kServerName:Ro,kClient:lse,kBusy:tb,kConnect:use,kResuming:xa,kRunning:FA,kPending:UA,kSize:OA,kQueue:cn,kConnected:Ase,kConnecting:Al,kNeedDrain:vo,kKeepAliveDefaultTimeout:EO,kHostHeader:dse,kPendingIdx:ln,kRunningIdx:Gi,kError:pse,kPipelining:qh,kKeepAliveTimeoutValue:mse,kMaxHeadersSize:hse,kKeepAliveMaxTimeout:fse,kKeepAliveTimeoutThreshold:gse,kHeadersTimeout:Ese,kBodyTimeout:yse,kStrictContentLength:Cse,kConnector:_A,kMaxRedirections:Ise,kMaxRequests:rb,kCounter:Bse,kClose:wse,kDestroy:bse,kDispatch:Qse,kInterceptors:yO,kLocalAddress:LA,kMaxResponseSize:xse,kOnError:Nse,kHTTPContext:dt,kMaxConcurrentStreams:Sse,kResume:MA}=ze(),Rse=iO(),Tse=pO(),CO=!1,To=Symbol("kClosedResolve"),IO=o(()=>{},"noop");function bO(t){return t[qh]??t[dt]?.defaultPipelining??1}o(bO,"getPipelining");var sb=class extends ise{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:D,localAddress:q,maxResponseSize:pe,autoSelectFamily:be,autoSelectFamilyAttemptTimeout:Re,maxConcurrentStreams:V,allowH2:ne,webSocket:G}={}){if(super({webSocket:G}),A!==void 0)throw new At("unsupported keepAlive, use pipelining=0 instead");if(i!==void 0)throw new At("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new At("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(u!==void 0)throw new At("unsupported idleTimeout, use keepAliveTimeout instead");if(p!==void 0)throw new At("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(s!=null&&!Number.isFinite(s))throw new At("invalid maxHeaderSize");if(g!=null&&typeof g!="string")throw new At("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new At("invalid connectTimeout");if(d!=null&&(!Number.isFinite(d)||d<=0))throw new At("invalid keepAliveTimeout");if(m!=null&&(!Number.isFinite(m)||m<=0))throw new At("invalid keepAliveMaxTimeout");if(h!=null&&!Number.isFinite(h))throw new At("invalid keepAliveTimeoutThreshold");if(n!=null&&(!Number.isInteger(n)||n<0))throw new At("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new At("bodyTimeout must be a positive integer or zero");if(N!=null&&typeof N!="function"&&typeof N!="object")throw new At("connect must be a function or an object");if(B!=null&&(!Number.isInteger(B)||B<0))throw new At("maxRedirections must be a positive number");if(D!=null&&(!Number.isInteger(D)||D<0))throw new At("maxRequestsPerClient must be a positive number");if(q!=null&&(typeof q!="string"||wO.isIP(q)===0))throw new At("localAddress must be valid string IP address");if(pe!=null&&(!Number.isInteger(pe)||pe<-1))throw new At("maxResponseSize must be a positive number");if(Re!=null&&(!Number.isInteger(Re)||Re<-1))throw new At("autoSelectFamilyAttemptTimeout must be a positive number");if(ne!=null&&typeof ne!="boolean")throw new At("allowH2 must be a valid boolean value");if(V!=null&&(typeof V!="number"||V<1))throw new At("maxConcurrentStreams must be a positive integer, greater than 0");typeof N!="function"&&(N=cse({...E,maxCachedSessions:I,allowH2:ne,socketPath:g,timeout:c,...be?{autoSelectFamily:be,autoSelectFamilyAttemptTimeout:Re}:void 0,...N})),r?.Client&&Array.isArray(r.Client)?(this[yO]=r.Client,CO||(CO=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[yO]=[vse({maxRedirections:B})],this[Un]=Qa.parseOrigin(e),this[_A]=N,this[qh]=C??1,this[hse]=s||sse.maxHeaderSize,this[EO]=d??4e3,this[fse]=m??6e5,this[gse]=h??2e3,this[mse]=this[EO],this[Ro]=null,this[LA]=q??null,this[xa]=0,this[vo]=0,this[dse]=`host: ${this[Un].hostname}${this[Un].port?`:${this[Un].port}`:""}\r `,this[yse]=l??3e5,this[Ese]=n??3e5,this[Cse]=y??!0,this[Ise]=B,this[rb]=D,this[To]=null,this[xse]=pe>-1?pe:-1,this[Sse]=V??100,this[dt]=null,this[cn]=[],this[Gi]=0,this[ln]=0,this[MA]=ye=>nb(this,ye),this[Nse]=ye=>QO(this,ye)}get pipelining(){return this[qh]}set pipelining(e){this[qh]=e,this[MA](!0)}get[UA](){return this[cn].length-this[ln]}get[FA](){return this[ln]-this[Gi]}get[OA](){return this[cn].length-this[Gi]}get[Ase](){return!!this[dt]&&!this[Al]&&!this[dt].destroyed}get[tb](){return!!(this[dt]?.busy(null)||this[OA]>=(bO(this)||1)||this[UA]>0)}[use](e){xO(this),this.once("connect",e)}[Qse](e,r){let s=e.origin||this[Un].origin,n=new nse(s,e,r);return this[cn].push(n),this[xa]||(Qa.bodyLength(n.body)==null&&Qa.isIterable(n.body)?(this[xa]=1,queueMicrotask(()=>nb(this))):this[MA](!0)),this[xa]&&this[vo]!==2&&this[tb]&&(this[vo]=2),this[vo]<2}async[wse](){return new Promise(e=>{this[OA]?this[To]=e:e(null)})}async[bse](e){return new Promise(r=>{let s=this[cn].splice(this[ln]);for(let i=0;i{this[To]&&(this[To](),this[To]=null),r(null)},"callback");this[dt]?(this[dt].destroy(e,n),this[dt]=null):queueMicrotask(n),this[MA]()})}},vse=Uh();function QO(t,e){if(t[FA]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){qi(t[ln]===t[Gi]);let r=t[cn].splice(t[Gi]);for(let s=0;s{t[_A]({host:e,hostname:r,protocol:s,port:n,servername:t[Ro],localAddress:t[LA]},(l,u)=>{l?c(l):a(u)})});if(t.destroyed){Qa.destroy(i.on("error",IO),new ase);return}qi(i);try{t[dt]=i.alpnProtocol==="h2"?await Tse(t,i):await Rse(t,i)}catch(a){throw i.destroy().on("error",IO),a}t[Al]=!1,i[Bse]=0,i[rb]=t[rb],i[lse]=t,i[pse]=null,ul.connected.hasSubscribers&&ul.connected.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[dt]?.version,servername:t[Ro],localAddress:t[LA]},connector:t[_A],socket:i}),t.emit("connect",t[Un],[t])}catch(i){if(t.destroyed)return;if(t[Al]=!1,ul.connectError.hasSubscribers&&ul.connectError.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[dt]?.version,servername:t[Ro],localAddress:t[LA]},connector:t[_A],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(qi(t[FA]===0);t[UA]>0&&t[cn][t[ln]].servername===t[Ro];){let a=t[cn][t[ln]++];Qa.errorRequest(t,a,i)}else QO(t,i);t.emit("connectionError",t[Un],[t],i)}t[MA]()}o(xO,"connect");function BO(t){t[vo]=0,t.emit("drain",t[Un],[t])}o(BO,"emitDrain");function nb(t,e){t[xa]!==2&&(t[xa]=2,Pse(t,e),t[xa]=0,t[Gi]>256&&(t[cn].splice(0,t[Gi]),t[ln]-=t[Gi],t[Gi]=0))}o(nb,"resume");function Pse(t,e){for(;;){if(t.destroyed){qi(t[UA]===0);return}if(t[To]&&!t[OA]){t[To](),t[To]=null;return}if(t[dt]&&t[dt].resume(),t[tb])t[vo]=2;else if(t[vo]===2){e?(t[vo]=1,queueMicrotask(()=>BO(t))):BO(t);continue}if(t[UA]===0||t[FA]>=(bO(t)||1))return;let r=t[cn][t[ln]];if(t[Un].protocol==="https:"&&t[Ro]!==r.servername){if(t[FA]>0)return;t[Ro]=r.servername,t[dt]?.destroy(new ose("servername changed"),()=>{t[dt]=null,nb(t)})}if(t[Al])return;if(!t[dt]){xO(t);return}if(t[dt].destroyed||t[dt].busy(r))return;!r.aborted&&t[dt].write(r)?t[ln]++:t[cn].splice(t[ln],1)}}o(Pse,"_resume");NO.exports=sb});var ib=f((SMe,SO)=>{"use strict";var Gh=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)}};SO.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new Gh}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new Gh),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var TO=f((TMe,RO)=>{var{kFree:kse,kConnected:Dse,kPending:_se,kQueued:Lse,kRunning:Mse,kSize:Ose}=ze(),Na=Symbol("pool"),ob=class{static{o(this,"PoolStats")}constructor(e){this[Na]=e}get connected(){return this[Na][Dse]}get free(){return this[Na][kse]}get pending(){return this[Na][_se]}get queued(){return this[Na][Lse]}get running(){return this[Na][Mse]}get size(){return this[Na][Ose]}};RO.exports=ob});var db=f((PMe,UO)=>{"use strict";var Fse=jc(),Use=ib(),{kConnected:ab,kSize:vO,kRunning:PO,kPending:kO,kQueued:qA,kBusy:qse,kFree:Gse,kUrl:Hse,kClose:zse,kDestroy:$se,kDispatch:Vse}=ze(),Yse=TO(),Pr=Symbol("clients"),dr=Symbol("needDrain"),GA=Symbol("queue"),cb=Symbol("closed resolve"),lb=Symbol("onDrain"),DO=Symbol("onConnect"),_O=Symbol("onDisconnect"),LO=Symbol("onConnectionError"),ub=Symbol("get dispatcher"),OO=Symbol("add client"),FO=Symbol("remove client"),MO=Symbol("stats"),Ab=class extends Fse{static{o(this,"PoolBase")}constructor(e){super(e),this[GA]=new Use,this[Pr]=[],this[qA]=0;let r=this;this[lb]=o(function(n,i){let a=r[GA],c=!1;for(;!c;){let l=a.shift();if(!l)break;r[qA]--,c=!this.dispatch(l.opts,l.handler)}this[dr]=c,!this[dr]&&r[dr]&&(r[dr]=!1,r.emit("drain",n,[r,...i])),r[cb]&&a.isEmpty()&&Promise.all(r[Pr].map(l=>l.close())).then(r[cb])},"onDrain"),this[DO]=(s,n)=>{r.emit("connect",s,[r,...n])},this[_O]=(s,n,i)=>{r.emit("disconnect",s,[r,...n],i)},this[LO]=(s,n,i)=>{r.emit("connectionError",s,[r,...n],i)},this[MO]=new Yse(this)}get[qse](){return this[dr]}get[ab](){return this[Pr].filter(e=>e[ab]).length}get[Gse](){return this[Pr].filter(e=>e[ab]&&!e[dr]).length}get[kO](){let e=this[qA];for(let{[kO]:r}of this[Pr])e+=r;return e}get[PO](){let e=0;for(let{[PO]:r}of this[Pr])e+=r;return e}get[vO](){let e=this[qA];for(let{[vO]:r}of this[Pr])e+=r;return e}get stats(){return this[MO]}async[zse](){this[GA].isEmpty()?await Promise.all(this[Pr].map(e=>e.close())):await new Promise(e=>{this[cb]=e})}async[$se](e){for(;;){let r=this[GA].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[Pr].map(r=>r.destroy(e)))}[Vse](e,r){let s=this[ub]();return s?s.dispatch(e,r)||(s[dr]=!0,this[dr]=!this[ub]()):(this[dr]=!0,this[GA].push({opts:e,handler:r}),this[qA]++),!this[dr]}[OO](e){return e.on("drain",this[lb]).on("connect",this[DO]).on("disconnect",this[_O]).on("connectionError",this[LO]),this[Pr].push(e),this[dr]&&queueMicrotask(()=>{this[dr]&&this[lb](e[Hse],[this,e])}),this}[FO](e){e.close(()=>{let r=this[Pr].indexOf(e);r!==-1&&this[Pr].splice(r,1)}),this[dr]=this[Pr].some(r=>!r[dr]&&r.closed!==!0&&r.destroyed!==!0)}};UO.exports={PoolBase:Ab,kClients:Pr,kNeedDrain:dr,kAddClient:OO,kRemoveClient:FO,kGetDispatcher:ub}});var pl=f((DMe,zO)=>{"use strict";var{PoolBase:Jse,kClients:Hh,kNeedDrain:Wse,kAddClient:jse,kGetDispatcher:Kse}=db(),Xse=dl(),{InvalidArgumentError:pb}=Qe(),qO=me(),{kUrl:GO,kInterceptors:Zse}=ze(),ene=IA(),mb=Symbol("options"),hb=Symbol("connections"),HO=Symbol("factory");function tne(t,e){return new Xse(t,e)}o(tne,"defaultFactory");var fb=class extends Jse{static{o(this,"Pool")}constructor(e,{connections:r,factory:s=tne,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 pb("invalid connections");if(typeof s!="function")throw new pb("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new pb("connect must be a function or an object");typeof n!="function"&&(n=ene({...a,maxCachedSessions:c,allowH2:d,socketPath:l,timeout:i,...u?{autoSelectFamily:u,autoSelectFamilyAttemptTimeout:A}:void 0,...n})),super(p),this[Zse]=p.interceptors?.Pool&&Array.isArray(p.interceptors.Pool)?p.interceptors.Pool:[],this[hb]=r||null,this[GO]=qO.parseOrigin(e),this[mb]={...qO.deepClone(p),connect:n,allowH2:d},this[mb].interceptors=p.interceptors?{...p.interceptors}:void 0,this[HO]=s,this.on("connectionError",(m,h,g)=>{for(let C of h){let E=this[Hh].indexOf(C);E!==-1&&this[Hh].splice(E,1)}})}[Kse](){for(let e of this[Hh])if(!e[Wse])return e;if(!this[hb]||this[Hh].length{"use strict";var{BalancedPoolMissingUpstreamError:rne,InvalidArgumentError:sne}=Qe(),{PoolBase:nne,kClients:er,kNeedDrain:HA,kAddClient:ine,kRemoveClient:one,kGetDispatcher:ane}=db(),cne=pl(),{kUrl:gb,kInterceptors:lne}=ze(),{parseOrigin:$O}=me(),VO=Symbol("factory"),zh=Symbol("options"),YO=Symbol("kGreatestCommonDivisor"),Sa=Symbol("kCurrentWeight"),Ra=Symbol("kIndex"),xs=Symbol("kWeight"),$h=Symbol("kMaxWeightPerServer"),Vh=Symbol("kErrorPenalty");function une(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(une,"getGreatestCommonDivisor");function Ane(t,e){return new cne(t,e)}o(Ane,"defaultFactory");var Eb=class extends nne{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=Ane,...s}={}){if(super(),this[zh]=s,this[Ra]=-1,this[Sa]=0,this[$h]=this[zh].maxWeightPerServer||100,this[Vh]=this[zh].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new sne("factory must be a function.");this[lne]=s.interceptors?.BalancedPool&&Array.isArray(s.interceptors.BalancedPool)?s.interceptors.BalancedPool:[],this[VO]=r;for(let n of e)this.addUpstream(n);this._updateBalancedPoolStats()}addUpstream(e){let r=$O(e).origin;if(this[er].find(n=>n[gb].origin===r&&n.closed!==!0&&n.destroyed!==!0))return this;let s=this[VO](r,Object.assign({},this[zh]));this[ine](s),s.on("connect",()=>{s[xs]=Math.min(this[$h],s[xs]+this[Vh])}),s.on("connectionError",()=>{s[xs]=Math.max(1,s[xs]-this[Vh]),this._updateBalancedPoolStats()}),s.on("disconnect",(...n)=>{let i=n[2];i&&i.code==="UND_ERR_SOCKET"&&(s[xs]=Math.max(1,s[xs]-this[Vh]),this._updateBalancedPoolStats())});for(let n of this[er])n[xs]=this[$h];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;rn[gb].origin===r&&n.closed!==!0&&n.destroyed!==!0);return s&&this[one](s),this}get upstreams(){return this[er].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[gb].origin)}[ane](){if(this[er].length===0)throw new rne;if(!this[er].find(i=>!i[HA]&&i.closed!==!0&&i.destroyed!==!0)||this[er].map(i=>i[HA]).reduce((i,a)=>i&&a,!0))return;let s=0,n=this[er].findIndex(i=>!i[HA]);for(;s++this[er][n][xs]&&!i[HA]&&(n=this[Ra]),this[Ra]===0&&(this[Sa]=this[Sa]-this[YO],this[Sa]<=0&&(this[Sa]=this[$h])),i[xs]>=this[Sa]&&!i[HA])return i}return this[Sa]=this[er][n][xs],this[Ra]=n,this[er][n]}};JO.exports=Eb});var ml=f((OMe,rF)=>{"use strict";var{InvalidArgumentError:Yh}=Qe(),{kClients:Po,kRunning:jO,kClose:dne,kDestroy:pne,kDispatch:mne,kInterceptors:hne}=ze(),fne=jc(),gne=pl(),Ene=dl(),yne=me(),Cne=Uh(),KO=Symbol("onConnect"),XO=Symbol("onDisconnect"),ZO=Symbol("onConnectionError"),Ine=Symbol("maxRedirections"),eF=Symbol("onDrain"),tF=Symbol("factory"),yb=Symbol("options");function Bne(t,e){return e&&e.connections===1?new Ene(t,e):new gne(t,e)}o(Bne,"defaultFactory");var Cb=class extends fne{static{o(this,"Agent")}constructor({factory:e=Bne,maxRedirections:r=0,connect:s,...n}={}){if(typeof e!="function")throw new Yh("factory must be a function.");if(s!=null&&typeof s!="function"&&typeof s!="object")throw new Yh("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new Yh("maxRedirections must be a positive number");super(n),s&&typeof s!="function"&&(s={...s}),this[hne]=n.interceptors?.Agent&&Array.isArray(n.interceptors.Agent)?n.interceptors.Agent:[Cne({maxRedirections:r})],this[yb]={...yne.deepClone(n),connect:s},this[yb].interceptors=n.interceptors?{...n.interceptors}:void 0,this[Ine]=r,this[tF]=e,this[Po]=new Map,this[eF]=(i,a)=>{this.emit("drain",i,[this,...a])},this[KO]=(i,a)=>{this.emit("connect",i,[this,...a])},this[XO]=(i,a,c)=>{this.emit("disconnect",i,[this,...a],c)},this[ZO]=(i,a,c)=>{this.emit("connectionError",i,[this,...a],c)}}get[jO](){let e=0;for(let r of this[Po].values())e+=r[jO];return e}[mne](e,r){let s;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))s=String(e.origin);else throw new Yh("opts.origin must be a non-empty string or URL.");let n=this[Po].get(s);return n||(n=this[tF](e.origin,this[yb]).on("drain",this[eF]).on("connect",this[KO]).on("disconnect",this[XO]).on("connectionError",this[ZO]),this[Po].set(s,n)),n.dispatch(e,r)}async[dne](){let e=[];for(let r of this[Po].values())e.push(r.close());this[Po].clear(),await Promise.all(e)}async[pne](e){let r=[];for(let s of this[Po].values())r.push(s.destroy(e));this[Po].clear(),await Promise.all(r)}};rF.exports=Cb});var Qb=f((UMe,pF)=>{"use strict";var{kProxy:Ib,kClose:cF,kDestroy:lF,kDispatch:sF,kInterceptors:wne}=ze(),{URL:Ta}=require("node:url"),bne=ml(),uF=pl(),AF=jc(),{InvalidArgumentError:hl,RequestAbortedError:Qne,SecureProxyConnectionError:xne}=Qe(),nF=IA(),dF=dl(),Jh=Symbol("proxy agent"),Wh=Symbol("proxy client"),ko=Symbol("proxy headers"),Bb=Symbol("request tls settings"),iF=Symbol("proxy tls settings"),oF=Symbol("connect endpoint function"),aF=Symbol("tunnel proxy");function Nne(t){return t==="https:"?443:80}o(Nne,"defaultProtocolPort");function Sne(t,e){return new uF(t,e)}o(Sne,"defaultFactory");var Rne=o(()=>{},"noop");function Tne(t,e){return e.connections===1?new dF(t,e):new uF(t,e)}o(Tne,"defaultAgentFactory");var wb=class extends AF{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:s,factory:n}){if(super(),!e)throw new hl("Proxy URL is mandatory");this[ko]=r,n?this.#e=n(e,{connect:s}):this.#e=new dF(e,{connect:s})}[sF](e,r){let s=r.onHeaders;r.onHeaders=function(c,l,u){if(c===407){typeof r.onError=="function"&&r.onError(new hl("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 Ta(n);a.host=c}return e.headers={...this[ko],...a},this.#e[sF](e,r)}async[cF](){return this.#e.close()}async[lF](e){return this.#e.destroy(e)}},bb=class extends AF{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof Ta)&&!e.uri)throw new hl("Proxy uri is mandatory");let{clientFactory:r=Sne}=e;if(typeof r!="function")throw new hl("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[Ib]={uri:i,protocol:l},this[wne]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[Bb]=e.requestTls,this[iF]=e.proxyTls,this[ko]=e.headers||{},this[aF]=s,e.auth&&e.token)throw new hl("opts.auth cannot be used in combination with opts.token");e.auth?this[ko]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[ko]["proxy-authorization"]=e.token:u&&A&&(this[ko]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(u)}:${decodeURIComponent(A)}`).toString("base64")}`);let p=nF({...e.proxyTls});this[oF]=nF({...e.requestTls});let m=e.factory||Tne,h=o((g,C)=>{let{protocol:E}=new Ta(g);return!this[aF]&&E==="http:"&&this[Ib].protocol==="http:"?new wb(this[Ib].uri,{headers:this[ko],connect:p,factory:m}):m(g,C)},"factory");this[Wh]=r(n,{connect:p}),this[Jh]=new bne({...e,factory:h,connect:o(async(g,C)=>{let E=g.host;g.port||(E+=`:${Nne(g.protocol)}`);try{let{socket:y,statusCode:I}=await this[Wh].connect({origin:a,port:c,path:E,signal:g.signal,headers:{...this[ko],host:g.host},servername:this[iF]?.servername||d});if(I!==200&&(y.on("error",Rne).destroy(),C(new Qne(`Proxy response (${I}) !== 200 when HTTP Tunneling`))),g.protocol!=="https:"){C(null,y);return}let B;this[Bb]?B=this[Bb].servername:B=g.servername,this[oF]({...g,servername:B,httpSocket:y},C)}catch(y){y.code==="ERR_TLS_CERT_ALTNAME_INVALID"?C(new xne(y)):C(y)}},"connect")})}dispatch(e,r){let s=vne(e.headers);if(Pne(s),s&&!("host"in s)&&!("Host"in s)){let{host:n}=new Ta(e.origin);s.host=n}return this[Jh].dispatch({...e,headers:s},r)}#e(e){return typeof e=="string"?new Ta(e):e instanceof Ta?e:new Ta(e.uri)}async[cF](){await this[Jh].close(),await this[Wh].close()}async[lF](){await this[Jh].destroy(),await this[Wh].destroy()}};function vne(t){if(Array.isArray(t)){let e={};for(let r=0;rr.toLowerCase()==="proxy-authorization"))throw new hl("Proxy-Authorization should be sent in ProxyAgent constructor")}o(Pne,"throwIfProxyAuthIsSent");pF.exports=bb});var yF=f((GMe,EF)=>{"use strict";var kne=jc(),{kClose:Dne,kDestroy:_ne,kClosed:mF,kDestroyed:hF,kDispatch:Lne,kNoProxyAgent:zA,kHttpProxyAgent:Do,kHttpsProxyAgent:va}=ze(),fF=Qb(),Mne=ml(),One={"http:":80,"https:":443},gF=!1,xb=class extends kne{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#r=null;constructor(e={}){super(),this.#r=e,gF||(gF=!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[zA]=new Mne(i);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[Do]=new fF({...i,uri:a}):this[Do]=this[zA];let c=s??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[va]=new fF({...i,uri:c}):this[va]=this[Do],this.#s()}[Lne](e,r){let s=new URL(e.origin);return this.#i(s).dispatch(e,r)}async[Dne](){await this[zA].close(),this[Do][mF]||await this[Do].close(),this[va][mF]||await this[va].close()}async[_ne](e){await this[zA].destroy(e),this[Do][hF]||await this[Do].destroy(e),this[va][hF]||await this[va].destroy(e)}#i(e){let{protocol:r,host:s,port:n}=e;return s=s.replace(/:\d*$/,"").toLowerCase(),n=Number.parseInt(n,10)||One[r]||0,this.#n(s,n)?r==="https:"?this[va]:this[Do]:this[zA]}#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 fl=require("node:assert"),{kRetryHandlerDefaultRetry:CF}=ze(),{RequestRetryError:$A}=Qe(),{isDisturbed:IF,parseHeaders:Fne,parseRangeHeader:BF,wrapRequestBody:Une}=me();function qne(t){let e=Date.now();return new Date(t).getTime()-e}o(qne,"calculateRetryAfterHeader");var Nb=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:Une(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:i??t[CF],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.handler.onConnect(h=>{this.aborted=!0,this.abort?this.abort(h):this.reason=h})}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[CF](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)?qne(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=Fne(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?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=BF(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{start:l,size:u,end:A=u-1}=c;return fl(this.start===l,"content-range mismatch"),fl(this.end==null||this.end===A,"content-range mismatch"),this.resume=s,!0}if(this.end==null){if(e===206){let c=BF(i["content-range"]);if(c==null)return this.handler.onHeaders(e,r,s,n);let{start:l,size:u,end:A=u-1}=c;fl(l!=null&&Number.isFinite(l),"content-range mismatch"),fl(A!=null&&Number.isFinite(A),"invalid content-length"),this.start=l,this.end=A}if(this.end==null){let c=i["content-length"];this.end=c!=null?Number(c)-1:null}return fl(Number.isFinite(this.start)),fl(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=s,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||IF(this.opts.body))return this.handler.onError(e);this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},r.bind(this));function r(s){if(s!=null||this.aborted||IF(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")}};wF.exports=Nb});var QF=f((VMe,bF)=>{"use strict";var Gne=yA(),Hne=jh(),Sb=class extends Gne{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 Hne({...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()}};bF.exports=Sb});var Db=f((JMe,DF)=>{"use strict";var TF=require("node:assert"),{Readable:zne}=require("node:stream"),{RequestAbortedError:vF,NotSupportedError:$ne,InvalidArgumentError:Vne,AbortError:Rb}=Qe(),PF=me(),{ReadableStreamFrom:Yne}=me(),Kr=Symbol("kConsume"),VA=Symbol("kReading"),_o=Symbol("kBody"),xF=Symbol("kAbort"),kF=Symbol("kContentType"),NF=Symbol("kContentLength"),Jne=o(()=>{},"noop"),Tb=class extends zne{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[xF]=r,this[Kr]=null,this[_o]=null,this[kF]=s,this[NF]=n,this[VA]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new vF),e&&this[xF](),super.destroy(e)}_destroy(e,r){this[VA]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[VA]=!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[VA]=this.listenerCount("data")>0||this.listenerCount("readable")>0),s}removeListener(e,...r){return this.off(e,...r)}push(e){return this[Kr]&&e!==null?(Pb(this[Kr],e),this[VA]?super.push(e):!0):super.push(e)}async text(){return YA(this,"text")}async json(){return YA(this,"json")}async blob(){return YA(this,"blob")}async bytes(){return YA(this,"bytes")}async arrayBuffer(){return YA(this,"arrayBuffer")}async formData(){throw new $ne}get bodyUsed(){return PF.isDisturbed(this)}get body(){return this[_o]||(this[_o]=Yne(this),this[Kr]&&(this[_o].getReader(),TF(this[_o].locked))),this[_o]}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 Vne("signal must be an AbortSignal");return s?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((n,i)=>{this[NF]>r&&this.destroy(new Rb);let a=o(()=>{this.destroy(s.reason??new Rb)},"onAbort");s?.addEventListener("abort",a),this.on("close",function(){s?.removeEventListener("abort",a),s?.aborted?i(s.reason??new Rb):n(null)}).on("error",Jne).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function Wne(t){return t[_o]&&t[_o].locked===!0||t[Kr]}o(Wne,"isLocked");function jne(t){return PF.isDisturbed(t)||Wne(t)}o(jne,"isUnusable");async function YA(t,e){return TF(!t[Kr]),new Promise((r,s)=>{if(jne(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[Kr]={type:e,stream:t,resolve:r,reject:s,length:0,body:[]},t.on("error",function(n){kb(this[Kr],n)}).on("close",function(){this[Kr].body!==null&&kb(this[Kr],new vF)}),Kne(t[Kr])})})}o(YA,"consume");function Kne(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(vb,"chunksDecode");function SF(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 Xne=require("node:assert"),{ResponseStatusCodeError:_F}=Qe(),{chunksDecode:LF}=Db(),Zne=128*1024;async function eie({callback:t,body:e,contentType:r,statusCode:s,statusMessage:n,headers:i}){Xne(e);let a=[],c=0;try{for await(let d of e)if(a.push(d),c+=d.length,c>Zne){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${s}${n?`: ${n}`:""}`;if(s===204||!r||!c){queueMicrotask(()=>t(new _F(l,s,i)));return}let u=Error.stackTraceLimit;Error.stackTraceLimit=0;let A;try{MF(r)?A=JSON.parse(LF(a,c)):OF(r)&&(A=LF(a,c))}catch{}finally{Error.stackTraceLimit=u}queueMicrotask(()=>t(new _F(l,s,i,A)))}o(eie,"getResolveErrorBodyCallback");var MF=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"),OF=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");FF.exports={getResolveErrorBodyCallback:eie,isContentTypeApplicationJson:MF,isContentTypeText:OF}});var GF=f((XMe,Lb)=>{"use strict";var tie=require("node:assert"),{Readable:rie}=Db(),{InvalidArgumentError:gl,RequestAbortedError:UF}=Qe(),Xr=me(),{getResolveErrorBodyCallback:sie}=_b(),{AsyncResource:nie}=require("node:async_hooks"),Kh=class extends nie{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new gl("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 gl("invalid callback");if(A&&(typeof A!="number"||A<0))throw new gl("invalid highWaterMark");if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new gl("signal must be an EventEmitter or EventTarget");if(n==="CONNECT")throw new gl("invalid method");if(c&&typeof c!="function")throw new gl("invalid onInfo callback");super("UNDICI_REQUEST")}catch(d){throw Xr.isStream(a)&&Xr.destroy(a.on("error",Xr.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,Xr.isStream(a)&&a.on("error",d=>{this.onError(d)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new UF:this.removeAbortListener=Xr.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new UF,this.res?Xr.destroy(this.res.on("error",Xr.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}tie(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"?Xr.parseRawHeaders(r):Xr.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}let p=u==="raw"?Xr.parseHeaders(r):d,m=p["content-type"],h=p["content-length"],g=new rie({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(sie,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){Xr.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(()=>{Xr.destroy(r,e)})),n&&(this.body=null,Xr.destroy(n,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function qF(t,e){if(e===void 0)return new Promise((r,s)=>{qF.call(this,t,(n,i)=>n?s(n):r(i))});try{this.dispatch(t,new Kh(t,e))}catch(r){if(typeof e!="function")throw r;let s=t?.opaque;queueMicrotask(()=>e(r,{opaque:s}))}}o(qF,"request");Lb.exports=qF;Lb.exports.RequestHandler=Kh});var JA=f((eOe,$F)=>{var{addAbortListener:iie}=me(),{RequestAbortedError:oie}=Qe(),El=Symbol("kListener"),qn=Symbol("kSignal");function HF(t){t.abort?t.abort(t[qn]?.reason):t.reason=t[qn]?.reason??new oie,zF(t)}o(HF,"abort");function aie(t,e){if(t.reason=null,t[qn]=null,t[El]=null,!!e){if(e.aborted){HF(t);return}t[qn]=e,t[El]=()=>{HF(t)},iie(t[qn],t[El])}}o(aie,"addSignal");function zF(t){t[qn]&&("removeEventListener"in t[qn]?t[qn].removeEventListener("abort",t[El]):t[qn].removeListener("abort",t[El]),t[qn]=null,t[El]=null)}o(zF,"removeSignal");$F.exports={addSignal:aie,removeSignal:zF}});var WF=f((rOe,JF)=>{"use strict";var cie=require("node:assert"),{finished:lie,PassThrough:uie}=require("node:stream"),{InvalidArgumentError:yl,InvalidReturnValueError:Aie}=Qe(),un=me(),{getResolveErrorBodyCallback:die}=_b(),{AsyncResource:pie}=require("node:async_hooks"),{addSignal:mie,removeSignal:VF}=JA(),Mb=class extends pie{static{o(this,"StreamHandler")}constructor(e,r,s){if(!e||typeof e!="object")throw new yl("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 yl("invalid callback");if(typeof r!="function")throw new yl("invalid factory");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new yl("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new yl("invalid method");if(l&&typeof l!="function")throw new yl("invalid onInfo callback");super("UNDICI_STREAM")}catch(d){throw un.isStream(c)&&un.destroy(c.on("error",un.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,un.isStream(c)&&c.on("error",d=>{this.onError(d)}),mie(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}cie(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"?un.parseRawHeaders(r):un.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"?un.parseHeaders(r):A)["content-type"];d=new uie,this.callback=null,this.runInAsyncScope(die,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 Aie("expected Writable");lie(d,{readable:!1},m=>{let{callback:h,res:g,opaque:C,trailers:E,abort:y}=this;this.res=null,(m||!g.readable)&&un.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;VF(this),r&&(this.trailers=un.parseHeaders(e),r.end())}onError(e){let{res:r,callback:s,opaque:n,body:i}=this;VF(this),this.factory=null,r?(this.res=null,un.destroy(r,e)):s&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(s,null,e,{opaque:n})})),i&&(this.body=null,un.destroy(i,e))}};function YF(t,e,r){if(r===void 0)return new Promise((s,n)=>{YF.call(this,t,e,(i,a)=>i?n(i):s(a))});try{this.dispatch(t,new Mb(t,e,r))}catch(s){if(typeof r!="function")throw s;let n=t?.opaque;queueMicrotask(()=>r(s,{opaque:n}))}}o(YF,"stream");JF.exports=YF});var ZF=f((nOe,XF)=>{"use strict";var{Readable:KF,Duplex:hie,PassThrough:fie}=require("node:stream"),{InvalidArgumentError:WA,InvalidReturnValueError:gie,RequestAbortedError:Ob}=Qe(),Ns=me(),{AsyncResource:Eie}=require("node:async_hooks"),{addSignal:yie,removeSignal:Cie}=JA(),jF=require("node:assert"),Cl=Symbol("resume"),Fb=class extends KF{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[Cl]=null}_read(){let{[Cl]:e}=this;e&&(this[Cl]=null,e())}_destroy(e,r){this._read(),r(e)}},Ub=class extends KF{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[Cl]=e}_read(){this[Cl]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new Ob),r(e)}},qb=class extends Eie{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new WA("invalid opts");if(typeof r!="function")throw new WA("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 WA("signal must be an EventEmitter or EventTarget");if(n==="CONNECT")throw new WA("invalid method");if(a&&typeof a!="function")throw new WA("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 Fb().on("error",Ns.nop),this.ret=new hie({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[Cl]=A},"write"),destroy:o((l,u)=>{let{body:A,req:d,res:p,ret:m,abort:h}=this;!l&&!m._readableState.endEmitted&&(l=new Ob),h&&l&&h(),Ns.destroy(A,l),Ns.destroy(d,l),Ns.destroy(p,l),Cie(this),u(l)},"destroy")}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,yie(this,s)}onConnect(e,r){let{ret:s,res:n}=this;if(this.reason){e(this.reason);return}jF(!n,"pipeline cannot be retried"),jF(!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"?Ns.parseRawHeaders(r):Ns.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new Ub(s);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?Ns.parseRawHeaders(r):Ns.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",Ns.nop),l}if(!c||typeof c.on!="function")throw new gie("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;Ns.destroy(u,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||Ns.destroy(l,new Ob)}),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,Ns.destroy(r,e)}};function Iie(t,e){try{let r=new qb(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new fie().destroy(r)}}o(Iie,"pipeline");XF.exports=Iie});var iU=f((oOe,nU)=>{"use strict";var{InvalidArgumentError:Gb,SocketError:Bie}=Qe(),{AsyncResource:wie}=require("node:async_hooks"),eU=me(),{addSignal:bie,removeSignal:tU}=JA(),rU=require("node:assert"),Hb=class extends wie{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new Gb("invalid opts");if(typeof r!="function")throw new Gb("invalid callback");let{signal:s,opaque:n,responseHeaders:i}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new Gb("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,bie(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}rU(this.callback),this.abort=e,this.context=null}onHeaders(){throw new Bie("bad upgrade",null)}onUpgrade(e,r,s){rU(e===101);let{callback:n,opaque:i,context:a}=this;tU(this),this.callback=null;let c=this.responseHeaders==="raw"?eU.parseRawHeaders(r):eU.parseHeaders(r);this.runInAsyncScope(n,null,null,{headers:c,socket:s,opaque:i,context:a})}onError(e){let{callback:r,opaque:s}=this;tU(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}};function sU(t,e){if(e===void 0)return new Promise((r,s)=>{sU.call(this,t,(n,i)=>n?s(n):r(i))});try{let r=new Hb(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(sU,"upgrade");nU.exports=sU});var uU=f((cOe,lU)=>{"use strict";var Qie=require("node:assert"),{AsyncResource:xie}=require("node:async_hooks"),{InvalidArgumentError:zb,SocketError:Nie}=Qe(),oU=me(),{addSignal:Sie,removeSignal:aU}=JA(),$b=class extends xie{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new zb("invalid opts");if(typeof r!="function")throw new zb("invalid callback");let{signal:s,opaque:n,responseHeaders:i}=e;if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new zb("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=n||null,this.responseHeaders=i||null,this.callback=r,this.abort=null,Sie(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}Qie(this.callback),this.abort=e,this.context=r}onHeaders(){throw new Nie("bad connect",null)}onUpgrade(e,r,s){let{callback:n,opaque:i,context:a}=this;aU(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?oU.parseRawHeaders(r):oU.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;aU(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:s})}))}};function cU(t,e){if(e===void 0)return new Promise((r,s)=>{cU.call(this,t,(n,i)=>n?s(n):r(i))});try{let r=new $b(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(cU,"connect");lU.exports=cU});var AU=f((uOe,Il)=>{"use strict";Il.exports.request=GF();Il.exports.stream=WF();Il.exports.pipeline=ZF();Il.exports.upgrade=iU();Il.exports.connect=uU()});var Yb=f((AOe,pU)=>{"use strict";var{UndiciError:Rie}=Qe(),dU=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),Vb=class t extends Rie{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};pU.exports={MockNotMatchedError:Vb}});var Bl=f((pOe,mU)=>{"use strict";mU.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 jA=f((mOe,QU)=>{"use strict";var{MockNotMatchedError:Pa}=Yb(),{kDispatches:Xh,kMockAgent:Tie,kOriginalDispatch:vie,kOrigin:Pie,kGetNetConnect:kie}=Bl(),{buildURL:Die}=me(),{STATUS_CODES:_ie}=require("node:http"),{types:{isPromise:Lie}}=require("node:util");function Hi(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(Hi,"matchValue");function fU(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(fU,"lowerCaseEntries");function gU(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=gU(e,r);if(!Hi(s,n))return!1}return!0}o(EU,"matchHeaders");function hU(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(hU,"safeUrl");function Mie(t,{path:e,method:r,body:s,headers:n}){let i=Hi(t.path,e),a=Hi(t.method,r),c=typeof t.body<"u"?Hi(t.body,s):!0,l=EU(t,n);return i&&a&&c&&l}o(Mie,"matchKey");function yU(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(yU,"getResponseData");function CU(t,e){let r=e.query?Die(e.path,e.query):e.path,s=typeof r=="string"?hU(r):r,n=t.filter(({consumed:i})=>!i).filter(({path:i})=>Hi(hU(i),s));if(n.length===0)throw new Pa(`Mock dispatch not matched for path '${s}'`);if(n=n.filter(({method:i})=>Hi(i,e.method)),n.length===0)throw new Pa(`Mock dispatch not matched for method '${e.method}' on path '${s}'`);if(n=n.filter(({body:i})=>typeof i<"u"?Hi(i,e.body):!0),n.length===0)throw new Pa(`Mock dispatch not matched for body '${e.body}' on path '${s}'`);if(n=n.filter(i=>EU(i,e.headers)),n.length===0){let i=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new Pa(`Mock dispatch not matched for headers '${i}' on path '${s}'`)}return n[0]}o(CU,"getMockDispatch");function Oie(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(Oie,"addMockDispatch");function Jb(t,e){let r=t.findIndex(s=>s.consumed?Mie(s,e):!1);r!==-1&&t.splice(r,1)}o(Jb,"deleteMockDispatch");function IU(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(IU,"buildKey");function Wb(t){let e=Object.keys(t),r=[];for(let s=0;s=p,s.pending=d0?setTimeout(()=>{m(this[Xh])},u):m(this[Xh]);function m(g,C=i){let E=Array.isArray(t.headers)?jb(t.headers):t.headers,y=typeof C=="function"?C({...t,headers:E}):C;if(Lie(y)){y.then(D=>m(g,D));return}let I=yU(y),B=Wb(a),N=Wb(c);e.onConnect?.(D=>e.onError(D),null),e.onHeaders?.(n,B,h,BU(n)),e.onData?.(Buffer.from(I)),e.onComplete?.(N),Jb(g,r)}o(m,"handleReply");function h(){}return o(h,"resume"),!0}o(wU,"mockDispatch");function Uie(){let t=this[Tie],e=this[Pie],r=this[vie];return o(function(n,i){if(t.isMockActive)try{wU.call(this,n,i)}catch(a){if(a instanceof Pa){let c=t[kie]();if(c===!1)throw new Pa(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(bU(c,e))r.call(this,n,i);else throw new Pa(`${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(Uie,"buildMockDispatch");function bU(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(s=>Hi(s,r.host)))}o(bU,"checkNetConnect");function qie(t){if(t){let{agent:e,...r}=t;return r}}o(qie,"buildMockOptions");QU.exports={getResponseData:yU,getMockDispatch:CU,addMockDispatch:Oie,deleteMockDispatch:Jb,buildKey:IU,generateKeyValues:Wb,matchValue:Hi,getResponse:Fie,getStatusText:BU,mockDispatch:wU,buildMockDispatch:Uie,checkNetConnect:bU,buildMockOptions:qie,getHeaderByName:gU,buildHeadersFromArray:jb}});var sQ=f((fOe,rQ)=>{"use strict";var{getResponseData:Gie,buildKey:Hie,addMockDispatch:Kb}=jA(),{kDispatches:Zh,kDispatchKey:ef,kDefaultHeaders:Xb,kDefaultTrailers:Zb,kContentLength:eQ,kMockDispatch:tf}=Bl(),{InvalidArgumentError:Gn}=Qe(),{buildURL:zie}=me(),wl=class{static{o(this,"MockScope")}constructor(e){this[tf]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Gn("waitInMs must be a valid integer > 0");return this[tf].delay=e,this}persist(){return this[tf].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new Gn("repeatTimes must be a valid integer > 0");return this[tf].times=e,this}},tQ=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new Gn("opts must be an object");if(typeof e.path>"u")throw new Gn("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=zie(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[ef]=Hie(e),this[Zh]=r,this[Xb]={},this[Zb]={},this[eQ]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:s}){let n=Gie(r),i=this[eQ]?{"content-length":n.length}:{},a={...this[Xb],...i,...s.headers},c={...this[Zb],...s.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new Gn("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new Gn("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 Gn("reply options callback must return an object");let u={data:"",responseOptions:{},...l};return this.validateReplyParameters(u),{...this.createMockScopeDispatchData(u)}},"wrappedDefaultsCallback"),a=Kb(this[Zh],this[ef],i);return new wl(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=Kb(this[Zh],this[ef],s);return new wl(n)}replyWithError(e){if(typeof e>"u")throw new Gn("error must be defined");let r=Kb(this[Zh],this[ef],{error:e});return new wl(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new Gn("headers must be defined");return this[Xb]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new Gn("trailers must be defined");return this[Zb]=e,this}replyContentLength(){return this[eQ]=!0,this}};rQ.exports.MockInterceptor=tQ;rQ.exports.MockScope=wl});var oQ=f((EOe,PU)=>{"use strict";var{promisify:$ie}=require("node:util"),Vie=dl(),{buildMockDispatch:Yie}=jA(),{kDispatches:xU,kMockAgent:NU,kClose:SU,kOriginalClose:RU,kOrigin:TU,kOriginalDispatch:Jie,kConnected:nQ}=Bl(),{MockInterceptor:Wie}=sQ(),vU=ze(),{InvalidArgumentError:jie}=Qe(),iQ=class extends Vie{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new jie("Argument opts.agent must implement Agent");this[NU]=r.agent,this[TU]=e,this[xU]=[],this[nQ]=1,this[Jie]=this.dispatch,this[RU]=this.close.bind(this),this.dispatch=Yie.call(this),this.close=this[SU]}get[vU.kConnected](){return this[nQ]}intercept(e){return new Wie(e,this[xU])}async[SU](){await $ie(this[RU])(),this[nQ]=0,this[NU][vU.kClients].delete(this[TU])}};PU.exports=iQ});var lQ=f((COe,FU)=>{"use strict";var{promisify:Kie}=require("node:util"),Xie=pl(),{buildMockDispatch:Zie}=jA(),{kDispatches:kU,kMockAgent:DU,kClose:_U,kOriginalClose:LU,kOrigin:MU,kOriginalDispatch:eoe,kConnected:aQ}=Bl(),{MockInterceptor:toe}=sQ(),OU=ze(),{InvalidArgumentError:roe}=Qe(),cQ=class extends Xie{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new roe("Argument opts.agent must implement Agent");this[DU]=r.agent,this[MU]=e,this[kU]=[],this[aQ]=1,this[eoe]=this.dispatch,this[LU]=this.close.bind(this),this.dispatch=Zie.call(this),this.close=this[_U]}get[OU.kConnected](){return this[aQ]}intercept(e){return new toe(e,this[kU])}async[_U](){await Kie(this[LU])(),this[aQ]=0,this[DU][OU.kClients].delete(this[MU])}};FU.exports=cQ});var qU=f((wOe,UU)=>{"use strict";var soe={pronoun:"it",is:"is",was:"was",this:"this"},noe={pronoun:"they",is:"are",was:"were",this:"these"};UU.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,s=r?soe:noe,n=r?this.singular:this.plural;return{...s,count:e,noun:n}}}});var HU=f((xOe,GU)=>{"use strict";var{Transform:ioe}=require("node:stream"),{Console:ooe}=require("node:console"),aoe=process.versions.icu?"\u2705":"Y ",coe=process.versions.icu?"\u274C":"N ";GU.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new ioe({transform(r,s,n){n(null,r)}}),this.logger=new ooe({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?aoe:coe,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var YU=f((SOe,VU)=>{"use strict";var{kClients:ka}=ze(),loe=ml(),{kAgent:uQ,kMockAgentSet:rf,kMockAgentGet:zU,kDispatches:AQ,kIsMockActive:sf,kNetConnect:Da,kGetNetConnect:uoe,kOptions:nf,kFactory:of}=Bl(),Aoe=oQ(),doe=lQ(),{matchValue:poe,buildMockOptions:moe}=jA(),{InvalidArgumentError:$U,UndiciError:hoe}=Qe(),foe=yA(),goe=qU(),Eoe=HU(),dQ=class extends foe{static{o(this,"MockAgent")}constructor(e){if(super(e),this[Da]=!0,this[sf]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new $U("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new loe(e);this[uQ]=r,this[ka]=r[ka],this[nf]=moe(e)}get(e){let r=this[zU](e);return r||(r=this[of](e),this[rf](e,r)),r}dispatch(e,r){return this.get(e.origin),this[uQ].dispatch(e,r)}async close(){await this[uQ].close(),this[ka].clear()}deactivate(){this[sf]=!1}activate(){this[sf]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[Da])?this[Da].push(e):this[Da]=[e];else if(typeof e>"u")this[Da]=!0;else throw new $U("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[Da]=!1}get isMockActive(){return this[sf]}[rf](e,r){this[ka].set(e,r)}[of](e){let r=Object.assign({agent:this},this[nf]);return this[nf]&&this[nf].connections===1?new Aoe(e,r):new doe(e,r)}[zU](e){let r=this[ka].get(e);if(r)return r;if(typeof e!="string"){let s=this[of]("http://localhost:9999");return this[rf](e,s),s}for(let[s,n]of Array.from(this[ka]))if(n&&typeof s!="string"&&poe(s,e)){let i=this[of](e);return this[rf](e,i),i[AQ]=n[AQ],i}}[uoe](){return this[Da]}pendingInterceptors(){let e=this[ka];return Array.from(e.entries()).flatMap(([r,s])=>s[AQ].map(n=>({...n,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new Eoe}={}){let r=this.pendingInterceptors();if(r.length===0)return;let s=new goe("interceptor","interceptors").pluralize(r.length);throw new hoe(` ${s.count} ${s.noun} ${s.is} pending: ${e.format(r)} `.trim())}};VU.exports=dQ});var af=f((TOe,KU)=>{"use strict";var JU=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:yoe}=Qe(),Coe=ml();jU()===void 0&&WU(new Coe);function WU(t){if(!t||typeof t.dispatch!="function")throw new yoe("Argument agent must implement Agent");Object.defineProperty(globalThis,JU,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(WU,"setGlobalDispatcher");function jU(){return globalThis[JU]}o(jU,"getGlobalDispatcher");KU.exports={setGlobalDispatcher:WU,getGlobalDispatcher:jU}});var cf=f((kOe,XU)=>{"use strict";XU.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 e2=f((_Oe,ZU)=>{"use strict";var Ioe=Fh();ZU.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 Ioe(r,a,n,i);return r(c,l)},"redirectInterceptor")}});var r2=f((MOe,t2)=>{"use strict";var Boe=jh();t2.exports=t=>e=>o(function(s,n){return e(s,new Boe({...s,retryOptions:{...t,...s.retryOptions}},{handler:n,dispatch:e}))},"retryInterceptor")});var n2=f((FOe,s2)=>{"use strict";var woe=me(),{InvalidArgumentError:boe,RequestAbortedError:Qoe}=Qe(),xoe=cf(),pQ=class extends xoe{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 boe("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=woe.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new Qoe(`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 Noe({maxSize:t}={maxSize:1024*1024}){return e=>o(function(s,n){let{dumpMaxSize:i=t}=s,a=new pQ({maxSize:i},n);return e(s,a)},"Intercept")}o(Noe,"createDumpInterceptor");s2.exports=Noe});var a2=f((qOe,o2)=>{"use strict";var{isIP:Soe}=require("node:net"),{lookup:Roe}=require("node:dns"),Toe=cf(),{InvalidArgumentError:bl,InformationalError:voe}=Qe(),i2=Math.pow(2,31)-1,mQ=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 voe("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){Roe(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===i2?(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===i2?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 hQ(this,e,r)}},hQ=class extends Toe{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}}};o2.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new bl("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new bl("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new bl("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new bl("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new bl("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new bl("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 mQ(s);return i=>o(function(c,l){let u=c.origin.constructor===URL?c.origin:new URL(c.origin);return Soe(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 _a=f((HOe,m2)=>{"use strict";var{kConstruct:Poe}=ze(),{kEnumerableProperty:Ql}=me(),{iteratorMixin:koe,isValidHeaderName:KA,isValidHeaderValue:l2}=jr(),{webidl:Ce}=Yt(),fQ=require("node:assert"),lf=require("node:util"),Qt=Symbol("headers map"),Zr=Symbol("headers map sorted");function c2(t){return t===10||t===13||t===9||t===32}o(c2,"isHTTPWhiteSpaceCharCode");function u2(t){let e=0,r=t.length;for(;r>e&&c2(t.charCodeAt(r-1));)--r;for(;r>e&&c2(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(u2,"headerValueNormalize");function A2(t,e){if(Array.isArray(e))for(let r=0;r>","record"]})}o(A2,"fill");function gQ(t,e,r){if(r=u2(r),KA(e)){if(!l2(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(p2(t)==="immutable")throw new TypeError("immutable");return EQ(t).append(e,r,!1)}o(gQ,"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[Qt])r[s++]=[n,i],fQ(i!==null);return r.sort(d2)}}},An=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){Ce.util.markAsUncloneable(this),e!==Poe&&(this.#t=new uf,this.#e="none",e!==void 0&&(e=Ce.converters.HeadersInit(e,"Headers contructor","init"),A2(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"),gQ(this,e,r)}delete(e){if(Ce.brandCheck(this,t),Ce.argumentLengthCheck(arguments,1,"Headers.delete"),e=Ce.converters.ByteString(e,"Headers.delete","name"),!KA(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"),!KA(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"),!KA(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=u2(r),KA(e)){if(!l2(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[Zr](){if(this.#t[Zr])return this.#t[Zr];let e=[],r=this.#t.toSortedArray(),s=this.#t.cookies;if(s===null||s.length===1)return this.#t[Zr]=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"]})};m2.exports={fill:A2,compareHeaderName:d2,Headers:An,HeadersList:uf,getHeadersGuard:p2,setHeadersGuard:Doe,setHeadersList:_oe,getHeadersList:EQ}});var ZA=f(($Oe,x2)=>{"use strict";var{Headers:C2,HeadersList:h2,fill:Loe,getHeadersGuard:Moe,setHeadersGuard:I2,setHeadersList:B2}=_a(),{extractBody:f2,cloneBody:Ooe,mixinBody:Foe,hasFinalizationRegistry:w2,streamRegistry:b2,bodyUnusable:Uoe}=il(),yQ=me(),g2=require("node:util"),{kEnumerableProperty:es}=yQ,{isValidReasonPhrase:qoe,isCancelled:Goe,isAborted:Hoe,isBlobLike:zoe,serializeJavascriptValueToJSONString:$oe,isErrorLike:Voe,isomorphicEncode:Yoe,environmentSettingsObject:Joe}=jr(),{redirectStatusSet:Woe,nullBodyStatus:joe}=BA(),{kState:Ve,kHeaders:zi}=bo(),{webidl:ue}=Yt(),{FormData:Koe}=SA(),{URLSerializer:E2}=Tr(),{kConstruct:df}=ze(),CQ=require("node:assert"),{types:Xoe}=require("node:util"),Zoe=new TextEncoder("utf-8"),La=class t{static{o(this,"Response")}static error(){return XA(pf(),"immutable")}static json(e,r={}){ue.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=ue.converters.ResponseInit(r));let s=Zoe.encode($oe(e)),n=f2(s),i=XA(xl({}),"response");return y2(i,r,{body:n[0],type:"application/json"}),i}static redirect(e,r=302){ue.argumentLengthCheck(arguments,1,"Response.redirect"),e=ue.converters.USVString(e),r=ue.converters["unsigned short"](r);let s;try{s=new URL(e,Joe.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!Woe.has(r))throw new RangeError(`Invalid status code ${r}`);let n=XA(xl({}),"immutable");n[Ve].status=r;let i=Yoe(E2(s));return n[Ve].headersList.append("location",i,!0),n}constructor(e=null,r={}){if(ue.util.markAsUncloneable(this),e===df)return;e!==null&&(e=ue.converters.BodyInit(e)),r=ue.converters.ResponseInit(r),this[Ve]=xl({}),this[zi]=new C2(df),I2(this[zi],"response"),B2(this[zi],this[Ve].headersList);let s=null;if(e!=null){let[n,i]=f2(e);s={body:n,type:i}}y2(this,r,s)}get type(){return ue.brandCheck(this,t),this[Ve].type}get url(){ue.brandCheck(this,t);let e=this[Ve].urlList,r=e[e.length-1]??null;return r===null?"":E2(r,!0)}get redirected(){return ue.brandCheck(this,t),this[Ve].urlList.length>1}get status(){return ue.brandCheck(this,t),this[Ve].status}get ok(){return ue.brandCheck(this,t),this[Ve].status>=200&&this[Ve].status<=299}get statusText(){return ue.brandCheck(this,t),this[Ve].statusText}get headers(){return ue.brandCheck(this,t),this[zi]}get body(){return ue.brandCheck(this,t),this[Ve].body?this[Ve].body.stream:null}get bodyUsed(){return ue.brandCheck(this,t),!!this[Ve].body&&yQ.isDisturbed(this[Ve].body.stream)}clone(){if(ue.brandCheck(this,t),Uoe(this))throw ue.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=IQ(this[Ve]);return w2&&this[Ve].body?.stream&&b2.register(this,new WeakRef(this[Ve].body.stream)),XA(e,Moe(this[zi]))}[g2.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 ${g2.formatWithOptions(r,s)}`}};Foe(La);Object.defineProperties(La.prototype,{type:es,url:es,status:es,ok:es,redirected:es,statusText:es,headers:es,clone:es,body:es,bodyUsed:es,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(La,{json:es,redirect:es,error:es});function IQ(t){if(t.internalResponse)return Q2(IQ(t.internalResponse),t.type);let e=xl({...t,body:null});return t.body!=null&&(e.body=Ooe(e,t.body)),e}o(IQ,"cloneResponse");function xl(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new h2(t?.headersList):new h2,urlList:t?.urlList?[...t.urlList]:[]}}o(xl,"makeResponse");function pf(t){let e=Voe(t);return xl({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(pf,"makeNetworkError");function eae(t){return t.type==="error"&&t.status===0}o(eae,"isNetworkError");function Af(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 CQ(!(s in e)),r[s]=n,!0}})}o(Af,"makeFilteredResponse");function Q2(t,e){if(e==="basic")return Af(t,{type:"basic",headersList:t.headersList});if(e==="cors")return Af(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return Af(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return Af(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});CQ(!1)}o(Q2,"filterResponse");function tae(t,e=null){return CQ(Goe(t)),Hoe(t)?pf(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):pf(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(tae,"makeAppropriateNetworkError");function y2(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&&!qoe(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[Ve].status=e.status),"statusText"in e&&e.statusText!=null&&(t[Ve].statusText=e.statusText),"headers"in e&&e.headers!=null&&Loe(t[zi],e.headers),r){if(joe.includes(t.status))throw ue.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[Ve].body=r.body,r.type!=null&&!t[Ve].headersList.contains("content-type",!0)&&t[Ve].headersList.append("content-type",r.type,!0)}}o(y2,"initializeResponse");function XA(t,e){let r=new La(df);return r[Ve]=t,r[zi]=new C2(df),B2(r[zi],t.headersList),I2(r[zi],e),w2&&t.body?.stream&&b2.register(r,new WeakRef(t.body.stream)),r}o(XA,"fromInnerResponse");ue.converters.ReadableStream=ue.interfaceConverter(ReadableStream);ue.converters.FormData=ue.interfaceConverter(Koe);ue.converters.URLSearchParams=ue.interfaceConverter(URLSearchParams);ue.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?ue.converters.USVString(t,e,r):zoe(t)?ue.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||Xoe.isArrayBuffer(t)?ue.converters.BufferSource(t,e,r):yQ.isFormDataLike(t)?ue.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?ue.converters.URLSearchParams(t,e,r):ue.converters.DOMString(t,e,r)};ue.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?ue.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:ue.converters.XMLHttpRequestBodyInit(t,e,r)};ue.converters.ResponseInit=ue.dictionaryConverter([{key:"status",converter:ue.converters["unsigned short"],defaultValue:o(()=>200,"defaultValue")},{key:"statusText",converter:ue.converters.ByteString,defaultValue:o(()=>"","defaultValue")},{key:"headers",converter:ue.converters.HeadersInit}]);x2.exports={isNetworkError:eae,makeNetworkError:pf,makeResponse:xl,makeAppropriateNetworkError:tae,filterResponse:Q2,Response:La,cloneResponse:IQ,fromInnerResponse:XA}});var T2=f((YOe,R2)=>{"use strict";var{kConnected:N2,kSize:S2}=ze(),BQ=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[N2]===0&&this.value[S2]===0?void 0:this.value}},wQ=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[N2]===0&&e[S2]===0&&this.finalizer(r)})}unregister(e){}};R2.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:BQ,FinalizationRegistry:wQ}):{WeakRef,FinalizationRegistry}}});var Nl=f((WOe,$2)=>{"use strict";var{extractBody:rae,mixinBody:sae,cloneBody:nae,bodyUnusable:v2}=il(),{Headers:U2,fill:iae,HeadersList:gf,setHeadersGuard:QQ,getHeadersGuard:oae,setHeadersList:q2,getHeadersList:P2}=_a(),{FinalizationRegistry:aae}=T2()(),hf=me(),k2=require("node:util"),{isValidHTTPToken:cae,sameOrigin:D2,environmentSettingsObject:mf}=jr(),{forbiddenMethodsSet:lae,corsSafeListedMethodsSet:uae,referrerPolicy:Aae,requestRedirect:dae,requestMode:pae,requestCredentials:mae,requestCache:hae,requestDuplex:fae}=BA(),{kEnumerableProperty:xt,normalizedMethodRecordsBase:gae,normalizedMethodRecords:Eae}=hf,{kHeaders:ts,kSignal:ff,kState:Fe,kDispatcher:bQ}=bo(),{webidl:Z}=Yt(),{URLSerializer:yae}=Tr(),{kConstruct:Ef}=ze(),Cae=require("node:assert"),{getMaxListeners:_2,setMaxListeners:L2,getEventListeners:Iae,defaultMaxListeners:M2}=require("node:events"),Bae=Symbol("abortController"),G2=new aae(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),yf=new WeakMap;function O2(t){return e;function e(){let r=t.deref();if(r!==void 0){G2.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let s=yf.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()}yf.delete(r.signal)}}}}o(O2,"buildAbort");var F2=!1,Lo=class t{static{o(this,"Request")}constructor(e,r={}){if(Z.util.markAsUncloneable(this),e===Ef)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=mf.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[bQ]=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=Cf({urlList:[E]}),i="cors"}else this[bQ]=r.dispatcher||e[bQ],Cae(e instanceof t),n=e[Fe],c=e[ff];let l=mf.settingsObject.origin,u="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&D2(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=Cf({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:mf.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&&!D2(y,mf.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=Eae[E];if(y!==void 0)n.method=y;else{if(!cae(E))throw new TypeError(`'${E}' is not a valid HTTP method.`);let I=E.toUpperCase();if(lae.has(I))throw new TypeError(`'${E}' HTTP method is unsupported.`);E=gae[I]??E,n.method=E}!F2&&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"}),F2=!0)}r.signal!==void 0&&(c=r.signal),this[Fe]=n;let p=new AbortController;if(this[ff]=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[Bae]=p;let E=new WeakRef(p),y=O2(E);try{(typeof _2=="function"&&_2(c)===M2||Iae(c,"abort").length>=M2)&&L2(1500,c)}catch{}hf.addAbortListener(c,y),G2.register(p,{signal:c,abort:y},y)}}if(this[ts]=new U2(Ef),q2(this[ts],n.headersList),QQ(this[ts],"request"),d==="no-cors"){if(!uae.has(n.method))throw new TypeError(`'${n.method} is unsupported in no-cors mode.`);QQ(this[ts],"request-no-cors")}if(A){let E=P2(this[ts]),y=r.headers!==void 0?r.headers:new gf(E);if(E.clear(),y instanceof gf){for(let{name:I,value:B}of y.rawValues())E.append(I,B,!1);E.cookies=y.cookies}else iae(this[ts],y)}let m=e instanceof t?e[Fe].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]=rae(r.body,n.keepalive);h=E,y&&!P2(this[ts]).contains("content-type",!0)&&this[ts].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(v2(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[Fe].body=C}get method(){return Z.brandCheck(this,t),this[Fe].method}get url(){return Z.brandCheck(this,t),yae(this[Fe].url)}get headers(){return Z.brandCheck(this,t),this[ts]}get destination(){return Z.brandCheck(this,t),this[Fe].destination}get referrer(){return Z.brandCheck(this,t),this[Fe].referrer==="no-referrer"?"":this[Fe].referrer==="client"?"about:client":this[Fe].referrer.toString()}get referrerPolicy(){return Z.brandCheck(this,t),this[Fe].referrerPolicy}get mode(){return Z.brandCheck(this,t),this[Fe].mode}get credentials(){return this[Fe].credentials}get cache(){return Z.brandCheck(this,t),this[Fe].cache}get redirect(){return Z.brandCheck(this,t),this[Fe].redirect}get integrity(){return Z.brandCheck(this,t),this[Fe].integrity}get keepalive(){return Z.brandCheck(this,t),this[Fe].keepalive}get isReloadNavigation(){return Z.brandCheck(this,t),this[Fe].reloadNavigation}get isHistoryNavigation(){return Z.brandCheck(this,t),this[Fe].historyNavigation}get signal(){return Z.brandCheck(this,t),this[ff]}get body(){return Z.brandCheck(this,t),this[Fe].body?this[Fe].body.stream:null}get bodyUsed(){return Z.brandCheck(this,t),!!this[Fe].body&&hf.isDisturbed(this[Fe].body.stream)}get duplex(){return Z.brandCheck(this,t),"half"}clone(){if(Z.brandCheck(this,t),v2(this))throw new TypeError("unusable");let e=H2(this[Fe]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let s=yf.get(this.signal);s===void 0&&(s=new Set,yf.set(this.signal,s));let n=new WeakRef(r);s.add(n),hf.addAbortListener(r.signal,O2(n))}return z2(e,r.signal,oae(this[ts]))}[k2.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 ${k2.formatWithOptions(r,s)}`}};sae(Lo);function Cf(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 gf(t.headersList):new gf}}o(Cf,"makeRequest");function H2(t){let e=Cf({...t,body:null});return t.body!=null&&(e.body=nae(e,t.body)),e}o(H2,"cloneRequest");function z2(t,e,r){let s=new Lo(Ef);return s[Fe]=t,s[ff]=e,s[ts]=new U2(Ef),q2(s[ts],t.headersList),QQ(s[ts],r),s}o(z2,"fromInnerRequest");Object.defineProperties(Lo.prototype,{method:xt,url:xt,headers:xt,redirect:xt,clone:xt,signal:xt,duplex:xt,destination:xt,body:xt,bodyUsed:xt,isHistoryNavigation:xt,isReloadNavigation:xt,keepalive:xt,integrity:xt,cache:xt,credentials:xt,attribute:xt,referrerPolicy:xt,referrer:xt,mode:xt,[Symbol.toStringTag]:{value:"Request",configurable:!0}});Z.converters.Request=Z.interfaceConverter(Lo);Z.converters.RequestInfo=function(t,e,r){return typeof t=="string"?Z.converters.USVString(t,e,r):t instanceof Lo?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:Aae},{key:"mode",converter:Z.converters.DOMString,allowedValues:pae},{key:"credentials",converter:Z.converters.DOMString,allowedValues:mae},{key:"cache",converter:Z.converters.DOMString,allowedValues:hae},{key:"redirect",converter:Z.converters.DOMString,allowedValues:dae},{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:fae},{key:"dispatcher",converter:Z.converters.any}]);$2.exports={Request:Lo,makeRequest:Cf,fromInnerRequest:z2,cloneRequest:H2}});var td=f((KOe,o1)=>{"use strict";var{makeNetworkError:ve,makeAppropriateNetworkError:If,filterResponse:xQ,makeResponse:Bf,fromInnerResponse:wae}=ZA(),{HeadersList:V2}=_a(),{Request:bae,cloneRequest:Qae}=Nl(),Mo=require("node:zlib"),{bytesMatch:xae,makePolicyContainer:Nae,clonePolicyContainer:Sae,requestBadPort:Rae,TAOCheck:Tae,appendRequestOriginHeader:vae,responseLocationURL:Pae,requestCurrentURL:Hn,setRequestReferrerPolicyOnRedirect:kae,tryUpgradeRequestToAPotentiallyTrustworthyURL:Dae,createOpaqueTimingInfo:vQ,appendFetchMetadata:_ae,corsCheck:Lae,crossOriginResourcePolicyCheck:Mae,determineRequestsReferrer:Oae,coarsenedSharedCurrentTime:ed,createDeferredPromise:Fae,isBlobLike:Uae,sameOrigin:TQ,isCancelled:Ma,isAborted:Y2,isErrorLike:qae,fullyReadBody:Gae,readableStreamClose:Hae,isomorphicEncode:wf,urlIsLocal:zae,urlIsHttpHttpsScheme:PQ,urlHasHttpsScheme:$ae,clampAndCoarsenConnectionTimingInfo:Vae,simpleRangeHeaderValue:Yae,buildContentRange:Jae,createInflate:Wae,extractMimeType:jae}=jr(),{kState:K2,kDispatcher:Kae}=bo(),Oa=require("node:assert"),{safelyExtractBody:kQ,extractBody:J2}=il(),{redirectStatusSet:X2,nullBodyStatus:Z2,safeMethodsSet:Xae,requestBodyHeader:Zae,subresourceSet:ece}=BA(),tce=require("node:events"),{Readable:rce,pipeline:sce,finished:nce}=require("node:stream"),{addAbortListener:ice,isErrored:oce,isReadable:bf,bufferToLowerCasedHeaderName:W2}=me(),{dataURLProcessor:ace,serializeAMimeType:cce,minimizeSupportedMimeType:lce}=Tr(),{getGlobalDispatcher:uce}=af(),{webidl:Ace}=Yt(),{STATUS_CODES:dce}=require("node:http"),pce=["GET","HEAD"],mce=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",NQ,Qf=class extends tce{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 hce(t){e1(t,"fetch")}o(hce,"handleFetchDone");function fce(t,e=void 0){Ace.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=Fae(),s;try{s=new bae(t,e)}catch(A){return r.reject(A),r.promise}let n=s[K2];if(s.signal.aborted)return SQ(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 ice(s.signal,()=>{c=!0,Oa(l!=null),l.abort(s.signal.reason);let A=a?.deref();SQ(r,n,A,s.signal.reason)}),l=r1({request:n,processResponseEndOfBody:hce,processResponse:o(A=>{if(!c){if(A.aborted){SQ(r,n,a,l.serializedAbortReason);return}if(A.type==="error"){r.reject(new TypeError("fetch failed",{cause:A.error}));return}a=new WeakRef(wae(A,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:s[Kae]}),r.promise}o(fce,"fetch");function e1(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],s=t.timingInfo,n=t.cacheState;PQ(r)&&s!==null&&(t.timingAllowPassed||(s=vQ({startTime:s.startTime}),n=""),s.endTime=ed(),t.timingInfo=s,t1(s,r.href,e,globalThis,n))}o(e1,"finalizeAndReportTiming");var t1=performance.markResourceTiming;function SQ(t,e,r,s){if(t&&t.reject(s),e.body!=null&&bf(e.body?.stream)&&e.body.stream.cancel(s).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i}),r==null)return;let n=r[K2];n.body!=null&&bf(n.body?.stream)&&n.body.stream.cancel(s).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i})}o(SQ,"abortFetch");function r1({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:s,processResponseEndOfBody:n,processResponseConsumeBody:i,useParallelQueue:a=!1,dispatcher:c=uce()}){Oa(c);let l=null,u=!1;t.client!=null&&(l=t.client.globalObject,u=t.client.crossOriginIsolatedCapability);let A=ed(u),d=vQ({startTime:A}),p={controller:new Qf(c),request:t,timingInfo:d,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:s,processResponseConsumeBody:i,processResponseEndOfBody:n,taskDestination:l,crossOriginIsolatedCapability:u};return Oa(!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=Sae(t.client.policyContainer):t.policyContainer=Nae()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,ece.has(t.destination),s1(p).catch(m=>{p.controller.terminate(m)}),p.controller}o(r1,"fetching");async function s1(t,e=!1){let r=t.request,s=null;if(r.localURLsOnly&&!zae(Hn(r))&&(s=ve("local URLs only")),Dae(r),Rae(r)==="blocked"&&(s=ve("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=Oae(r)),s===null&&(s=await(async()=>{let i=Hn(r);return TQ(i,r.url)&&r.responseTainting==="basic"||i.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await j2(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 j2(t)):PQ(Hn(r))?(r.responseTainting="cors",await n1(t)):ve("URL scheme must be a HTTP(S) scheme")})()),e)return s;s.status!==0&&!s.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?s=xQ(s,"basic"):r.responseTainting==="cors"?s=xQ(s,"cors"):r.responseTainting==="opaque"?s=xQ(s,"opaque"):Oa(!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"||Z2.includes(n.status))&&(n.body=null,t.controller.dump=!0),r.integrity){let i=o(c=>RQ(t,ve(c)),"processBodyError");if(r.responseTainting==="opaque"||s.body==null){i(s.error);return}let a=o(c=>{if(!xae(c,r.integrity)){i("integrity mismatch");return}s.body=kQ(c)[0],RQ(t,s)},"processBody");await Gae(s.body,a,i)}else RQ(t,s)}o(s1,"mainFetch");function j2(t){if(Ma(t)&&t.request.redirectCount===0)return Promise.resolve(If(t));let{request:e}=t,{protocol:r}=Hn(e);switch(r){case"about:":return Promise.resolve(ve("about scheme is not supported"));case"blob:":{NQ||(NQ=require("node:buffer").resolveObjectURL);let s=Hn(e);if(s.search.length!==0)return Promise.resolve(ve("NetworkError when attempting to fetch resource."));let n=NQ(s.toString());if(e.method!=="GET"||!Uae(n))return Promise.resolve(ve("invalid method"));let i=Bf(),a=n.size,c=wf(`${a}`),l=n.type;if(e.headersList.contains("range",!0)){i.rangeRequested=!0;let u=e.headersList.get("range",!0),A=Yae(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=J2(m);i.body=h[0];let g=wf(`${m.size}`),C=Jae(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=J2(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=Hn(e),n=ace(s);if(n==="failure")return Promise.resolve(ve("failed to fetch the data URL"));let i=cce(n.mimeType);return Promise.resolve(Bf({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:i}]],body:kQ(n.body)[0]}))}case"file:":return Promise.resolve(ve("not implemented... yet..."));case"http:":case"https:":return n1(t).catch(s=>ve(s));default:return Promise.resolve(ve("unknown scheme"))}}o(j2,"schemeFetch");function gce(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(gce,"finalizeResponse");function RQ(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=vQ(r),c="");let u=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){u=e.status;let A=jae(e.headersList);A!=="failure"&&(l.contentType=lce(A))}t.request.initiatorType!=null&&t1(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():nce(n.body.stream,()=>{s()})}o(RQ,"fetchFinale");async function n1(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 i1(t),e.responseTainting==="cors"&&Lae(e,r)==="failure")return ve("cors failure");Tae(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&Mae(e.origin,e.client,e.destination,s)==="blocked"?ve("blocked"):(X2.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 Ece(t,r):Oa(!1)),r.timingInfo=n,r)}o(n1,"httpFetch");function Ece(t,e){let r=t.request,s=e.internalResponse?e.internalResponse:e,n;try{if(n=Pae(s,Hn(r).hash),n==null)return e}catch(a){return Promise.resolve(ve(a))}if(!PQ(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)&&!TQ(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&&!pce.includes(r.method)){r.method="GET",r.body=null;for(let a of Zae)r.headersList.delete(a)}TQ(Hn(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&&(Oa(r.body.source!=null),r.body=kQ(r.body.source)[0]);let i=t.timingInfo;return i.redirectEndTime=i.postRedirectStartTime=ed(t.crossOriginIsolatedCapability),i.redirectStartTime===0&&(i.redirectStartTime=i.startTime),r.urlList.push(n),kae(r,s),s1(t,!0)}o(Ece,"httpRedirectFetch");async function i1(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=Qae(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=wf(`${A}`)),d!=null&&i.headersList.append("content-length",d,!0),A!=null&&i.keepalive,i.referrer instanceof URL&&i.headersList.append("referer",wf(i.referrer.href),!0),vae(i),_ae(i),i.headersList.contains("user-agent",!0)||i.headersList.append("user-agent",mce),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)||($ae(Hn(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 yce(n,u,r);!Xae.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():Ma(t)?If(t):ve("proxy authentication required");if(a.status===421&&!r&&(s.body==null||s.body.source!=null)){if(Ma(t))return If(t);t.controller.connection.destroy(),a=await i1(t,e,!0)}return a}o(i1,"httpNetworkOrCacheFetch");async function yce(t,e=!1,r=!1){Oa(!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){Ma(t)||(yield E,t.processRequestBodyChunkLength?.(E.byteLength))},"processBodyChunk"),g=o(()=>{Ma(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),C=o(E=>{Ma(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=Bf({status:g,statusText:C,headersList:E,socket:y});else{let I=h[Symbol.asyncIterator]();t.controller.next=()=>I.next(),n=Bf({status:g,statusText:C,headersList:E})}}catch(h){return h.name==="AbortError"?(t.controller.connection.destroy(),If(t,h)):ve(h)}let u=o(async()=>{await t.controller.resume()},"pullAlgorithm"),A=o(h=>{Ma(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(Y2(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){Hae(t.controller.controller),gce(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),oce(d)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function p(h){Y2(t)?(n.aborted=!0,bf(d)&&t.controller.controller.error(t.controller.serializedAbortReason)):bf(d)&&t.controller.controller.error(new TypeError("terminated",{cause:qae(h)?h:void 0})),t.controller.connection.destroy()}return o(p,"onAborted"),n;function m({body:h}){let g=Hn(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=Vae(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=ed(t.crossOriginIsolatedCapability)},onResponseStarted(){i.finalNetworkResponseStartTime=ed(t.crossOriginIsolatedCapability)},onHeaders(I,B,N,D){if(I<200)return;let q="",pe=new V2;for(let ne=0;neye)return y(new Error(`too many content-encodings in response: ${G.length}, maximum allowed is ${ye}`)),!0;for(let bt=G.length-1;bt>=0;--bt){let Ke=G[bt].trim();if(Ke==="x-gzip"||Ke==="gzip")be.push(Mo.createGunzip({flush:Mo.constants.Z_SYNC_FLUSH,finishFlush:Mo.constants.Z_SYNC_FLUSH}));else if(Ke==="deflate")be.push(Wae({flush:Mo.constants.Z_SYNC_FLUSH,finishFlush:Mo.constants.Z_SYNC_FLUSH}));else if(Ke==="br")be.push(Mo.createBrotliDecompress({flush:Mo.constants.BROTLI_OPERATION_FLUSH,finishFlush:Mo.constants.BROTLI_OPERATION_FLUSH}));else{be.length=0;break}}}let V=this.onError.bind(this);return E({status:I,statusText:D,headersList:pe,body:be.length?sce(this.body,...be,ne=>{ne&&this.onError(ne)}).on("error",V):this.body.on("error",V)}),!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 D=new V2;for(let q=0;q{"use strict";a1.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 l1=f((eFe,c1)=>{"use strict";var{webidl:rs}=Yt(),xf=Symbol("ProgressEvent state"),_Q=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=rs.converters.DOMString(e,"ProgressEvent constructor","type"),r=rs.converters.ProgressEventInit(r??{}),super(e,r),this[xf]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return rs.brandCheck(this,t),this[xf].lengthComputable}get loaded(){return rs.brandCheck(this,t),this[xf].loaded}get total(){return rs.brandCheck(this,t),this[xf].total}};rs.converters.ProgressEventInit=rs.dictionaryConverter([{key:"lengthComputable",converter:rs.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"loaded",converter:rs.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"total",converter:rs.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"bubbles",converter:rs.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:rs.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:rs.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}]);c1.exports={ProgressEvent:_Q}});var A1=f((rFe,u1)=>{"use strict";function Cce(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(Cce,"getEncoding");u1.exports={getEncoding:Cce}});var y1=f((nFe,E1)=>{"use strict";var{kState:Sl,kError:LQ,kResult:d1,kAborted:rd,kLastProgressEventFired:MQ}=DQ(),{ProgressEvent:Ice}=l1(),{getEncoding:p1}=A1(),{serializeAMimeType:Bce,parseMIMEType:m1}=Tr(),{types:wce}=require("node:util"),{StringDecoder:h1}=require("string_decoder"),{btoa:f1}=require("node:buffer"),bce={enumerable:!0,writable:!1,configurable:!1};function Qce(t,e,r,s){if(t[Sl]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[Sl]="loading",t[d1]=null,t[LQ]=null;let i=e.stream().getReader(),a=[],c=i.read(),l=!0;(async()=>{for(;!t[rd];)try{let{done:u,value:A}=await c;if(l&&!t[rd]&&queueMicrotask(()=>{Oo("loadstart",t)}),l=!1,!u&&wce.isUint8Array(A))a.push(A),(t[MQ]===void 0||Date.now()-t[MQ]>=50)&&!t[rd]&&(t[MQ]=Date.now(),queueMicrotask(()=>{Oo("progress",t)})),c=i.read();else if(u){queueMicrotask(()=>{t[Sl]="done";try{let d=xce(a,r,e.type,s);if(t[rd])return;t[d1]=d,Oo("load",t)}catch(d){t[LQ]=d,Oo("error",t)}t[Sl]!=="loading"&&Oo("loadend",t)});break}}catch(u){if(t[rd])return;queueMicrotask(()=>{t[Sl]="done",t[LQ]=u,Oo("error",t),t[Sl]!=="loading"&&Oo("loadend",t)});break}})()}o(Qce,"readOperation");function Oo(t,e){let r=new Ice(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(Oo,"fireAProgressEvent");function xce(t,e,r,s){switch(e){case"DataURL":{let n="data:",i=m1(r||"application/octet-stream");i!=="failure"&&(n+=Bce(i)),n+=";base64,";let a=new h1("latin1");for(let c of t)n+=f1(a.write(c));return n+=f1(a.end()),n}case"Text":{let n="failure";if(s&&(n=p1(s)),n==="failure"&&r){let i=m1(r);i!=="failure"&&(n=p1(i.parameters.get("charset")))}return n==="failure"&&(n="UTF-8"),Nce(t,n)}case"ArrayBuffer":return g1(t).buffer;case"BinaryString":{let n="",i=new h1("latin1");for(let a of t)n+=i.write(a);return n+=i.end(),n}}}o(xce,"packageData");function Nce(t,e){let r=g1(t),s=Sce(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(Nce,"decode");function Sce(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(Sce,"BOMSniffing");function g1(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(g1,"combineByteSequences");E1.exports={staticPropertyDescriptors:bce,readOperation:Qce,fireAProgressEvent:Oo}});var w1=f((oFe,B1)=>{"use strict";var{staticPropertyDescriptors:Rl,readOperation:Nf,fireAProgressEvent:C1}=y1(),{kState:Fa,kError:I1,kResult:Sf,kEvents:xe,kAborted:Rce}=DQ(),{webidl:Pe}=Yt(),{kEnumerableProperty:kr}=me(),dn=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[Fa]="empty",this[Sf]=null,this[I1]=null,this[xe]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){Pe.brandCheck(this,t),Pe.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=Pe.converters.Blob(e,{strict:!1}),Nf(this,e,"ArrayBuffer")}readAsBinaryString(e){Pe.brandCheck(this,t),Pe.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=Pe.converters.Blob(e,{strict:!1}),Nf(this,e,"BinaryString")}readAsText(e,r=void 0){Pe.brandCheck(this,t),Pe.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=Pe.converters.Blob(e,{strict:!1}),r!==void 0&&(r=Pe.converters.DOMString(r,"FileReader.readAsText","encoding")),Nf(this,e,"Text",r)}readAsDataURL(e){Pe.brandCheck(this,t),Pe.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=Pe.converters.Blob(e,{strict:!1}),Nf(this,e,"DataURL")}abort(){if(this[Fa]==="empty"||this[Fa]==="done"){this[Sf]=null;return}this[Fa]==="loading"&&(this[Fa]="done",this[Sf]=null),this[Rce]=!0,C1("abort",this),this[Fa]!=="loading"&&C1("loadend",this)}get readyState(){switch(Pe.brandCheck(this,t),this[Fa]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return Pe.brandCheck(this,t),this[Sf]}get error(){return Pe.brandCheck(this,t),this[I1]}get onloadend(){return Pe.brandCheck(this,t),this[xe].loadend}set onloadend(e){Pe.brandCheck(this,t),this[xe].loadend&&this.removeEventListener("loadend",this[xe].loadend),typeof e=="function"?(this[xe].loadend=e,this.addEventListener("loadend",e)):this[xe].loadend=null}get onerror(){return Pe.brandCheck(this,t),this[xe].error}set onerror(e){Pe.brandCheck(this,t),this[xe].error&&this.removeEventListener("error",this[xe].error),typeof e=="function"?(this[xe].error=e,this.addEventListener("error",e)):this[xe].error=null}get onloadstart(){return Pe.brandCheck(this,t),this[xe].loadstart}set onloadstart(e){Pe.brandCheck(this,t),this[xe].loadstart&&this.removeEventListener("loadstart",this[xe].loadstart),typeof e=="function"?(this[xe].loadstart=e,this.addEventListener("loadstart",e)):this[xe].loadstart=null}get onprogress(){return Pe.brandCheck(this,t),this[xe].progress}set onprogress(e){Pe.brandCheck(this,t),this[xe].progress&&this.removeEventListener("progress",this[xe].progress),typeof e=="function"?(this[xe].progress=e,this.addEventListener("progress",e)):this[xe].progress=null}get onload(){return Pe.brandCheck(this,t),this[xe].load}set onload(e){Pe.brandCheck(this,t),this[xe].load&&this.removeEventListener("load",this[xe].load),typeof e=="function"?(this[xe].load=e,this.addEventListener("load",e)):this[xe].load=null}get onabort(){return Pe.brandCheck(this,t),this[xe].abort}set onabort(e){Pe.brandCheck(this,t),this[xe].abort&&this.removeEventListener("abort",this[xe].abort),typeof e=="function"?(this[xe].abort=e,this.addEventListener("abort",e)):this[xe].abort=null}};dn.EMPTY=dn.prototype.EMPTY=0;dn.LOADING=dn.prototype.LOADING=1;dn.DONE=dn.prototype.DONE=2;Object.defineProperties(dn.prototype,{EMPTY:Rl,LOADING:Rl,DONE:Rl,readAsArrayBuffer:kr,readAsBinaryString:kr,readAsText:kr,readAsDataURL:kr,abort:kr,readyState:kr,result:kr,error:kr,onloadstart:kr,onprogress:kr,onload:kr,onabort:kr,onerror:kr,onloadend:kr,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(dn,{EMPTY:Rl,LOADING:Rl,DONE:Rl});B1.exports={FileReader:dn}});var Rf=f((cFe,b1)=>{"use strict";b1.exports={kConstruct:ze().kConstruct}});var N1=f((lFe,x1)=>{"use strict";var Tce=require("node:assert"),{URLSerializer:Q1}=Tr(),{isValidHeaderName:vce}=jr();function Pce(t,e,r=!1){let s=Q1(t,r),n=Q1(e,r);return s===n}o(Pce,"urlEquals");function kce(t){Tce(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),vce(r)&&e.push(r);return e}o(kce,"getFieldValues");x1.exports={urlEquals:Pce,getFieldValues:kce}});var T1=f((AFe,R1)=>{"use strict";var{kConstruct:Dce}=Rf(),{urlEquals:_ce,getFieldValues:OQ}=N1(),{kEnumerableProperty:Ua,isDisturbed:Lce}=me(),{webidl:J}=Yt(),{Response:Mce,cloneResponse:Oce,fromInnerResponse:Fce}=ZA(),{Request:$i,fromInnerRequest:Uce}=Nl(),{kState:pn}=bo(),{fetching:qce}=td(),{urlIsHttpHttpsScheme:Tf,createDeferredPromise:Tl,readAllBytes:Gce}=jr(),FQ=require("node:assert"),vf=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==Dce&&J.illegalConstructor(),J.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,r={}){J.brandCheck(this,t);let s="Cache.match";J.argumentLengthCheck(arguments,1,s),e=J.converters.RequestInfo(e,s,"request"),r=J.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={}){J.brandCheck(this,t);let s="Cache.matchAll";return e!==void 0&&(e=J.converters.RequestInfo(e,s,"request")),r=J.converters.CacheQueryOptions(r,s,"options"),this.#n(e,r)}async add(e){J.brandCheck(this,t);let r="Cache.add";J.argumentLengthCheck(arguments,1,r),e=J.converters.RequestInfo(e,r,"request");let s=[e];return await this.addAll(s)}async addAll(e){J.brandCheck(this,t);let r="Cache.addAll";J.argumentLengthCheck(arguments,1,r);let s=[],n=[];for(let p of e){if(p===void 0)throw J.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(p=J.converters.RequestInfo(p),typeof p=="string")continue;let m=p[pn];if(!Tf(m.url)||m.method!=="GET")throw J.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let i=[];for(let p of e){let m=new $i(p)[pn];if(!Tf(m.url))throw J.errors.exception({header:r,message:"Expected http/s scheme."});m.initiator="fetch",m.destination="subresource",n.push(m);let h=Tl();i.push(qce({request:m,processResponse(g){if(g.type==="error"||g.status===206||g.status<200||g.status>299)h.reject(J.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(g.headersList.contains("vary")){let C=OQ(g.headersList.get("vary"));for(let E of C)if(E==="*"){h.reject(J.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=Tl(),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){J.brandCheck(this,t);let s="Cache.put";J.argumentLengthCheck(arguments,2,s),e=J.converters.RequestInfo(e,s,"request"),r=J.converters.Response(r,s,"response");let n=null;if(e instanceof $i?n=e[pn]:n=new $i(e)[pn],!Tf(n.url)||n.method!=="GET")throw J.errors.exception({header:s,message:"Expected an http/s scheme when method is not GET"});let i=r[pn];if(i.status===206)throw J.errors.exception({header:s,message:"Got 206 status"});if(i.headersList.contains("vary")){let m=OQ(i.headersList.get("vary"));for(let h of m)if(h==="*")throw J.errors.exception({header:s,message:"Got * vary field value"})}if(i.body&&(Lce(i.body.stream)||i.body.stream.locked))throw J.errors.exception({header:s,message:"Response body is locked or disturbed"});let a=Oce(i),c=Tl();if(i.body!=null){let h=i.body.stream.getReader();Gce(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=Tl(),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={}){J.brandCheck(this,t);let s="Cache.delete";J.argumentLengthCheck(arguments,1,s),e=J.converters.RequestInfo(e,s,"request"),r=J.converters.CacheQueryOptions(r,s,"options");let n=null;if(e instanceof $i){if(n=e[pn],n.method!=="GET"&&!r.ignoreMethod)return!1}else FQ(typeof e=="string"),n=new $i(e)[pn];let i=[],a={type:"delete",request:n,options:r};i.push(a);let c=Tl(),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={}){J.brandCheck(this,t);let s="Cache.keys";e!==void 0&&(e=J.converters.RequestInfo(e,s,"request")),r=J.converters.CacheQueryOptions(r,s,"options");let n=null;if(e!==void 0)if(e instanceof $i){if(n=e[pn],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(n=new $i(e)[pn]);let i=Tl(),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=Uce(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 J.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw J.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);FQ(u!==-1),r.splice(u,1)}}else if(a.type==="put"){if(a.response==null)throw J.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let l=a.request;if(!Tf(l.url))throw J.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(l.method!=="GET")throw J.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw J.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);FQ(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=""),!_ce(i,a,!0))return!1;if(s==null||n?.ignoreVary||!s.headersList.contains("vary"))return!0;let c=OQ(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 $i){if(n=e[pn],n.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(n=new $i(e)[pn]);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=Fce(c,"immutable");if(a.push(l.clone()),a.length>=s)break}return Object.freeze(a)}};Object.defineProperties(vf.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:Ua,matchAll:Ua,add:Ua,addAll:Ua,put:Ua,delete:Ua,keys:Ua});var S1=[{key:"ignoreSearch",converter:J.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreMethod",converter:J.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreVary",converter:J.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];J.converters.CacheQueryOptions=J.dictionaryConverter(S1);J.converters.MultiCacheQueryOptions=J.dictionaryConverter([...S1,{key:"cacheName",converter:J.converters.DOMString}]);J.converters.Response=J.interfaceConverter(Mce);J.converters["sequence"]=J.sequenceConverter(J.converters.RequestInfo);R1.exports={Cache:vf}});var P1=f((pFe,v1)=>{"use strict";var{kConstruct:sd}=Rf(),{Cache:Pf}=T1(),{webidl:tr}=Yt(),{kEnumerableProperty:nd}=me(),kf=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==sd&&tr.illegalConstructor(),tr.util.markAsUncloneable(this)}async match(e,r={}){if(tr.brandCheck(this,t),tr.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=tr.converters.RequestInfo(e),r=tr.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let s=this.#e.get(r.cacheName);return await new Pf(sd,s).match(e,r)}}else for(let s of this.#e.values()){let i=await new Pf(sd,s).match(e,r);if(i!==void 0)return i}}async has(e){tr.brandCheck(this,t);let r="CacheStorage.has";return tr.argumentLengthCheck(arguments,1,r),e=tr.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){tr.brandCheck(this,t);let r="CacheStorage.open";if(tr.argumentLengthCheck(arguments,1,r),e=tr.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let n=this.#e.get(e);return new Pf(sd,n)}let s=[];return this.#e.set(e,s),new Pf(sd,s)}async delete(e){tr.brandCheck(this,t);let r="CacheStorage.delete";return tr.argumentLengthCheck(arguments,1,r),e=tr.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return tr.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(kf.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:nd,has:nd,open:nd,delete:nd,keys:nd});v1.exports={CacheStorage:kf}});var D1=f((hFe,k1)=>{"use strict";k1.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var UQ=f((fFe,F1)=>{"use strict";function Hce(t){for(let e=0;e=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}o(Hce,"isCTLExcludingHtab");function _1(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(_1,"validateCookieName");function L1(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(L1,"validateCookieValue");function M1(t){for(let e=0;ee.toString().padStart(2,"0"));function O1(t){return typeof t=="number"&&(t=new Date(t)),`${$ce[t.getUTCDay()]}, ${Df[t.getUTCDate()]} ${Vce[t.getUTCMonth()]} ${t.getUTCFullYear()} ${Df[t.getUTCHours()]}:${Df[t.getUTCMinutes()]}:${Df[t.getUTCSeconds()]} GMT`}o(O1,"toIMFDate");function Yce(t){if(t<0)throw new Error("Invalid cookie max-age")}o(Yce,"validateCookieMaxAge");function Jce(t){if(t.name.length===0)return null;_1(t.name),L1(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"&&(Yce(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(zce(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(M1(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${O1(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("=");e.push(`${s.trim()}=${n.join("=")}`)}return e.join("; ")}o(Jce,"stringify");F1.exports={isCTLExcludingHtab:Hce,validateCookieName:_1,validateCookiePath:M1,validateCookieValue:L1,toIMFDate:O1,stringify:Jce}});var q1=f((EFe,U1)=>{"use strict";var{maxNameValuePairSize:Wce,maxAttributeValueSize:jce}=D1(),{isCTLExcludingHtab:Kce}=UQ(),{collectASequenceOfCodePointsFast:_f}=Tr(),Xce=require("node:assert");function Zce(t){if(Kce(t))return null;let e="",r="",s="",n="";if(t.includes(";")){let i={position:0};e=_f(";",t,i),r=t.slice(i.position)}else e=t;if(!e.includes("="))n=e;else{let i={position:0};s=_f("=",e,i),n=e.slice(i.position+1)}return s=s.trim(),n=n.trim(),s.length+n.length>Wce?null:{name:s,value:n,...vl(r)}}o(Zce,"parseSetCookie");function vl(t,e={}){if(t.length===0)return e;Xce(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=_f(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let s="",n="";if(r.includes("=")){let a={position:0};s=_f("=",r,a),n=r.slice(a.position+1)}else s=r;if(s=s.trim(),n=n.trim(),n.length>jce)return vl(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 vl(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="Default",c=n.toLowerCase();c.includes("none")&&(a="None"),c.includes("strict")&&(a="Strict"),c.includes("lax")&&(a="Lax"),e.sameSite=a}else e.unparsed??=[],e.unparsed.push(`${s}=${n}`);return vl(t,e)}o(vl,"parseUnparsedAttributes");U1.exports={parseSetCookie:Zce,parseUnparsedAttributes:vl}});var z1=f((CFe,H1)=>{"use strict";var{parseSetCookie:ele}=q1(),{stringify:tle}=UQ(),{webidl:Ee}=Yt(),{Headers:Lf}=_a();function rle(t){Ee.argumentLengthCheck(arguments,1,"getCookies"),Ee.brandCheck(t,Lf,{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(rle,"getCookies");function sle(t,e,r){Ee.brandCheck(t,Lf,{strict:!1});let s="deleteCookie";Ee.argumentLengthCheck(arguments,2,s),e=Ee.converters.DOMString(e,s,"name"),r=Ee.converters.DeleteCookieAttributes(r),G1(t,{name:e,value:"",expires:new Date(0),...r})}o(sle,"deleteCookie");function nle(t){Ee.argumentLengthCheck(arguments,1,"getSetCookies"),Ee.brandCheck(t,Lf,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>ele(r)):[]}o(nle,"getSetCookies");function G1(t,e){Ee.argumentLengthCheck(arguments,2,"setCookie"),Ee.brandCheck(t,Lf,{strict:!1}),e=Ee.converters.Cookie(e);let r=tle(e);r&&t.append("Set-Cookie",r)}o(G1,"setCookie");Ee.converters.DeleteCookieAttributes=Ee.dictionaryConverter([{converter:Ee.nullableConverter(Ee.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:Ee.nullableConverter(Ee.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")}]);Ee.converters.Cookie=Ee.dictionaryConverter([{converter:Ee.converters.DOMString,key:"name"},{converter:Ee.converters.DOMString,key:"value"},{converter:Ee.nullableConverter(t=>typeof t=="number"?Ee.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:o(()=>null,"defaultValue")},{converter:Ee.nullableConverter(Ee.converters["long long"]),key:"maxAge",defaultValue:o(()=>null,"defaultValue")},{converter:Ee.nullableConverter(Ee.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")},{converter:Ee.nullableConverter(Ee.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:Ee.nullableConverter(Ee.converters.boolean),key:"secure",defaultValue:o(()=>null,"defaultValue")},{converter:Ee.nullableConverter(Ee.converters.boolean),key:"httpOnly",defaultValue:o(()=>null,"defaultValue")},{converter:Ee.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:Ee.sequenceConverter(Ee.converters.DOMString),key:"unparsed",defaultValue:o(()=>new Array(0),"defaultValue")}]);H1.exports={getCookies:rle,deleteCookie:sle,getSetCookies:nle,setCookie:G1}});var kl=f((BFe,V1)=>{"use strict";var{webidl:Y}=Yt(),{kEnumerableProperty:Dr}=me(),{kConstruct:$1}=ze(),{MessagePort:ile}=require("node:worker_threads"),Pl=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===$1){super(arguments[1],arguments[2]),Y.util.markAsUncloneable(this);return}let s="MessageEvent constructor";Y.argumentLengthCheck(arguments,1,s),e=Y.converters.DOMString(e,s,"type"),r=Y.converters.MessageEventInit(r,s,"eventInitDict"),super(e,r),this.#e=r,Y.util.markAsUncloneable(this)}get data(){return Y.brandCheck(this,t),this.#e.data}get origin(){return Y.brandCheck(this,t),this.#e.origin}get lastEventId(){return Y.brandCheck(this,t),this.#e.lastEventId}get source(){return Y.brandCheck(this,t),this.#e.source}get ports(){return Y.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 Y.brandCheck(this,t),Y.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($1,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:ole}=Pl;delete Pl.createFastMessageEvent;var Mf=class t extends Event{static{o(this,"CloseEvent")}#e;constructor(e,r={}){let s="CloseEvent constructor";Y.argumentLengthCheck(arguments,1,s),e=Y.converters.DOMString(e,s,"type"),r=Y.converters.CloseEventInit(r),super(e,r),this.#e=r,Y.util.markAsUncloneable(this)}get wasClean(){return Y.brandCheck(this,t),this.#e.wasClean}get code(){return Y.brandCheck(this,t),this.#e.code}get reason(){return Y.brandCheck(this,t),this.#e.reason}},Of=class t extends Event{static{o(this,"ErrorEvent")}#e;constructor(e,r){let s="ErrorEvent constructor";Y.argumentLengthCheck(arguments,1,s),super(e,r),Y.util.markAsUncloneable(this),e=Y.converters.DOMString(e,s,"type"),r=Y.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return Y.brandCheck(this,t),this.#e.message}get filename(){return Y.brandCheck(this,t),this.#e.filename}get lineno(){return Y.brandCheck(this,t),this.#e.lineno}get colno(){return Y.brandCheck(this,t),this.#e.colno}get error(){return Y.brandCheck(this,t),this.#e.error}};Object.defineProperties(Pl.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:Dr,origin:Dr,lastEventId:Dr,source:Dr,ports:Dr,initMessageEvent:Dr});Object.defineProperties(Mf.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:Dr,code:Dr,wasClean:Dr});Object.defineProperties(Of.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:Dr,filename:Dr,lineno:Dr,colno:Dr,error:Dr});Y.converters.MessagePort=Y.interfaceConverter(ile);Y.converters["sequence"]=Y.sequenceConverter(Y.converters.MessagePort);var qQ=[{key:"bubbles",converter:Y.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:Y.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:Y.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];Y.converters.MessageEventInit=Y.dictionaryConverter([...qQ,{key:"data",converter:Y.converters.any,defaultValue:o(()=>null,"defaultValue")},{key:"origin",converter:Y.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lastEventId",converter:Y.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"source",converter:Y.nullableConverter(Y.converters.MessagePort),defaultValue:o(()=>null,"defaultValue")},{key:"ports",converter:Y.converters["sequence"],defaultValue:o(()=>new Array(0),"defaultValue")}]);Y.converters.CloseEventInit=Y.dictionaryConverter([...qQ,{key:"wasClean",converter:Y.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"code",converter:Y.converters["unsigned short"],defaultValue:o(()=>0,"defaultValue")},{key:"reason",converter:Y.converters.USVString,defaultValue:o(()=>"","defaultValue")}]);Y.converters.ErrorEventInit=Y.dictionaryConverter([...qQ,{key:"message",converter:Y.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"filename",converter:Y.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lineno",converter:Y.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"colno",converter:Y.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"error",converter:Y.converters.any}]);V1.exports={MessageEvent:Pl,CloseEvent:Mf,ErrorEvent:Of,createFastMessageEvent:ole}});var qa=f((bFe,Y1)=>{"use strict";var ale="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",cle={enumerable:!0,writable:!1,configurable:!1},lle={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},ule={NOT_SENT:0,PROCESSING:1,SENT:2},Ale={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},dle=2**16-1,ple={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},mle=Buffer.allocUnsafe(0),hle={string:1,typedArray:2,arrayBuffer:3,blob:4};Y1.exports={uid:ale,sentCloseFrameState:ule,staticPropertyDescriptors:cle,states:lle,opcodes:Ale,maxUnsigned16Bit:dle,parserStates:ple,emptyBuffer:mle,sendHints:hle}});var id=f((QFe,J1)=>{"use strict";J1.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 cd=f((xFe,sq)=>{"use strict";var{kReadyState:od,kController:fle,kResponse:gle,kBinaryType:Ele,kWebSocketURL:yle}=id(),{states:ad,opcodes:Fo}=qa(),{ErrorEvent:Cle,createFastMessageEvent:Ile}=kl(),{isUtf8:Ble}=require("node:buffer"),{collectASequenceOfCodePointsFast:wle,removeHTTPWhitespace:W1}=Tr();function ble(t){return t[od]===ad.CONNECTING}o(ble,"isConnecting");function Qle(t){return t[od]===ad.OPEN}o(Qle,"isEstablished");function xle(t){return t[od]===ad.CLOSING}o(xle,"isClosing");function Nle(t){return t[od]===ad.CLOSED}o(Nle,"isClosed");function GQ(t,e,r=(n,i)=>new Event(n,i),s={}){let n=r(t,s);e.dispatchEvent(n)}o(GQ,"fireEvent");function Sle(t,e,r){if(t[od]!==ad.OPEN)return;let s;if(e===Fo.TEXT)try{s=rq(r)}catch{K1(t,"Received invalid UTF-8 in text frame.");return}else e===Fo.BINARY&&(t[Ele]==="blob"?s=new Blob([r]):s=Rle(r));GQ("message",t,Ile,{origin:t[yle].origin,data:s})}o(Sle,"websocketMessageReceived");function Rle(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(Rle,"toArrayBuffer");function Tle(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(Tle,"isValidSubprotocol");function vle(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(vle,"isValidStatusCode");function K1(t,e){let{[fle]:r,[gle]:s}=t;r.abort(),s?.socket&&!s.socket.destroyed&&s.socket.destroy(),e&&GQ("error",t,(n,i)=>new Cle(n,i),{error:new Error(e),message:e})}o(K1,"failWebsocketConnection");function X1(t){return t===Fo.CLOSE||t===Fo.PING||t===Fo.PONG}o(X1,"isControlFrame");function Z1(t){return t===Fo.CONTINUATION}o(Z1,"isContinuationFrame");function eq(t){return t===Fo.TEXT||t===Fo.BINARY}o(eq,"isTextBinaryFrame");function Ple(t){return eq(t)||Z1(t)||X1(t)}o(Ple,"isValidOpcode");function kle(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(Dle,"isValidClientWindowBits");var tq=typeof process.versions.icu=="string",j1=tq?new TextDecoder("utf-8",{fatal:!0}):void 0,rq=tq?j1.decode.bind(j1):function(t){if(Ble(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};sq.exports={isConnecting:ble,isEstablished:Qle,isClosing:xle,isClosed:Nle,fireEvent:GQ,isValidSubprotocol:Tle,isValidStatusCode:vle,failWebsocketConnection:K1,websocketMessageReceived:Sle,utf8Decode:rq,isControlFrame:X1,isContinuationFrame:Z1,isTextBinaryFrame:eq,isValidOpcode:Ple,parseExtensions:kle,isValidClientWindowBits:Dle}});var Uf=f((SFe,nq)=>{"use strict";var{maxUnsigned16Bit:_le}=qa(),Ff=16386,HQ,ld=null,Dl=Ff;try{HQ=require("node:crypto")}catch{HQ={randomFillSync:o(function(e,r,s){for(let n=0;n_le?(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:Mle,states:ud,sentCloseFrameState:qf,emptyBuffer:Ole,opcodes:Fle}=qa(),{kReadyState:Ad,kSentClose:Gf,kByteParser:oq,kReceivedClose:iq,kResponse:aq}=id(),{fireEvent:Ule,failWebsocketConnection:Uo,isClosing:qle,isClosed:Gle,isEstablished:Hle,parseExtensions:zle}=cd(),{channels:_l}=Vc(),{CloseEvent:$le}=kl(),{makeRequest:Vle}=Nl(),{fetching:Yle}=td(),{Headers:Jle,getHeadersList:Wle}=_a(),{getDecodeSplit:jle}=jr(),{WebsocketFrameSend:Kle}=Uf(),$Q;try{$Q=require("node:crypto")}catch{}function Xle(t,e,r,s,n,i){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=Vle({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let d=Wle(new Jle(i.headers));c.headersList=d}let l=$Q.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"),Yle({request:c,useParallelQueue:!0,dispatcher:i.dispatcher,processResponse(d){if(d.type==="error"||d.status!==101){Uo(s,"Received network error or non-101 status code.");return}if(e.length!==0&&!d.headersList.get("Sec-WebSocket-Protocol")){Uo(s,"Server did not respond with sent protocols.");return}if(d.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Uo(s,'Server did not set Upgrade header to "websocket".');return}if(d.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Uo(s,'Server did not set Connection header to "upgrade".');return}let p=d.headersList.get("Sec-WebSocket-Accept"),m=$Q.createHash("sha1").update(l+Mle).digest("base64");if(p!==m){Uo(s,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let h=d.headersList.get("Sec-WebSocket-Extensions"),g;if(h!==null&&(g=zle(h),!g.has("permessage-deflate"))){Uo(s,"Sec-WebSocket-Extensions header does not match.");return}let C=d.headersList.get("Sec-WebSocket-Protocol");if(C!==null&&!jle("sec-websocket-protocol",c.headersList).includes(C)){Uo(s,"Protocol was not set in the opening handshake.");return}d.socket.on("data",cq),d.socket.on("close",lq),d.socket.on("error",uq),_l.open.hasSubscribers&&_l.open.publish({address:d.socket.address(),protocol:C,extensions:h}),n(d,g)}})}o(Xle,"establishWebSocketConnection");function Zle(t,e,r,s){if(!(qle(t)||Gle(t)))if(!Hle(t))Uo(t,"Connection was closed before it was established."),t[Ad]=ud.CLOSING;else if(t[Gf]===qf.NOT_SENT){t[Gf]=qf.PROCESSING;let n=new Kle;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=Ole,t[aq].socket.write(n.createFrame(Fle.CLOSE)),t[Gf]=qf.SENT,t[Ad]=ud.CLOSING}else t[Ad]=ud.CLOSING}o(Zle,"closeWebSocketConnection");function cq(t){this.ws[oq].write(t)||this.pause()}o(cq,"onSocketData");function lq(){let{ws:t}=this,{[aq]:e}=t;e.socket.off("data",cq),e.socket.off("close",lq),e.socket.off("error",uq);let r=t[Gf]===qf.SENT&&t[iq],s=1005,n="",i=t[oq].closingInfo;i&&!i.error?(s=i.code??1005,n=i.reason):t[iq]||(s=1006),t[Ad]=ud.CLOSED,Ule("close",t,(a,c)=>new $le(a,c),{wasClean:r,code:s,reason:n}),_l.close.hasSubscribers&&_l.close.publish({websocket:t,code:s,reason:n})}o(lq,"onSocketClose");function uq(t){let{ws:e}=this;e[Ad]=ud.CLOSING,_l.socketError.hasSubscribers&&_l.socketError.publish(t),this.destroy()}o(uq,"onSocketError");Aq.exports={establishWebSocketConnection:Xle,closeWebSocketConnection:Zle}});var pq=f((PFe,dq)=>{"use strict";var{createInflateRaw:eue,Z_DEFAULT_WINDOWBITS:tue}=require("node:zlib"),{isValidClientWindowBits:rue}=cd(),{MessageSizeExceededError:sue}=Qe(),nue=Buffer.from([0,0,255,255]),Hf=Symbol("kBuffer"),dd=Symbol("kLength"),YQ=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=tue;if(this.#t.serverMaxWindowBits){if(!rue(this.#t.serverMaxWindowBits)){s(new Error("Invalid server_max_window_bits"));return}n=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=eue({windowBits:n})}catch(i){s(i);return}this.#e[Hf]=[],this.#e[dd]=0,this.#e.on("data",i=>{if(this.#e[dd]+=i.length,this.#r>0&&this.#e[dd]>this.#r){s(new sue),this.#e.removeAllListeners(),this.#e=null;return}this.#e[Hf].push(i)}),this.#e.on("error",i=>{this.#e=null,s(i)})}this.#e.write(e),r&&this.#e.write(nue),this.#e.flush(()=>{if(!this.#e)return;let n=Buffer.concat(this.#e[Hf],this.#e[dd]);this.#e[Hf].length=0,this.#e[dd]=0,s(null,n)})}};dq.exports={PerMessageDeflate:YQ}});var wq=f((DFe,Bq)=>{"use strict";var{Writable:iue}=require("node:stream"),oue=require("node:assert"),{parserStates:_r,opcodes:Ll,states:aue,emptyBuffer:mq,sentCloseFrameState:hq}=qa(),{kReadyState:cue,kSentClose:fq,kResponse:gq,kReceivedClose:Eq}=id(),{channels:zf}=Vc(),{isValidStatusCode:lue,isValidOpcode:uue,failWebsocketConnection:rr,websocketMessageReceived:yq,utf8Decode:Aue,isControlFrame:JQ,isTextBinaryFrame:WQ,isContinuationFrame:due}=cd(),{WebsocketFrameSend:Cq}=Uf(),{closeWebSocketConnection:pue}=VQ(),{PerMessageDeflate:mue}=pq(),{MessageSizeExceededError:Iq}=Qe(),jQ=class extends iue{static{o(this,"ByteParser")}#e=[];#t=0;#r=0;#i=!1;#n=_r.INFO;#s={};#o=[];#a;#c;constructor(e,r,s={}){super(),this.ws=e,this.#a=r??new Map,this.#c=s.maxPayloadSize??0,this.#a.has("permessage-deflate")&&this.#a.set("permessage-deflate",new mue(r,s))}_write(e,r,s){this.#e.push(e),this.#r+=e.length,this.#i=!0,this.run(s)}#l(){return this.#c>0&&!JQ(this.#s.opcode)&&this.#s.payloadLength>this.#c?(rr(this.ws,"Payload size exceeds maximum allowed size"),!1):!0}run(e){for(;this.#i;)if(this.#n===_r.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!==Ll.CONTINUATION,c=r[1]&127,l=r[0]&64,u=r[0]&32,A=r[0]&16;if(!uue(n))return rr(this.ws,"Invalid opcode received"),e();if(i)return rr(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#a.has("permessage-deflate")){rr(this.ws,"Expected RSV1 to be clear.");return}if(u!==0||A!==0){rr(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!WQ(n)){rr(this.ws,"Invalid frame type was fragmented.");return}if(WQ(n)&&this.#o.length>0){rr(this.ws,"Expected continuation frame");return}if(this.#s.fragmented&&a){rr(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&JQ(n)){rr(this.ws,"Control frame either too large or fragmented");return}if(due(n)&&this.#o.length===0&&!this.#s.compressed){rr(this.ws,"Unexpected continuation frame");return}if(c<=125){if(this.#s.payloadLength=c,this.#n=_r.READ_DATA,!this.#l())return}else c===126?this.#n=_r.PAYLOADLENGTH_16:c===127&&(this.#n=_r.PAYLOADLENGTH_64);WQ(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===_r.PAYLOADLENGTH_16){if(this.#r<2)return e();let r=this.consume(2);if(this.#s.payloadLength=r.readUInt16BE(0),this.#n=_r.READ_DATA,!this.#l())return}else if(this.#n===_r.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){rr(this.ws,"Received payload length > 2^31 bytes.");return}if(this.#s.payloadLength=n,this.#n=_r.READ_DATA,!this.#l())return}else if(this.#n===_r.READ_DATA){if(this.#r{if(s){rr(this.ws,s.message);return}if(this.writeFragments(n),this.#c>0&&this.#t>this.#c){rr(this.ws,new Iq().message);return}if(!this.#s.fin){this.#n=_r.INFO,this.#i=!0,this.run(e);return}yq(this.ws,this.#s.binaryType,this.consumeFragments()),this.#i=!0,this.#n=_r.INFO,this.run(e)}),this.#i=!1;break}else{if(this.writeFragments(r),this.#c>0&&this.#t>this.#c){rr(this.ws,new Iq().message);return}!this.#s.fragmented&&this.#s.fin&&yq(this.ws,this.#s.binaryType,this.consumeFragments()),this.#n=_r.INFO}}}consume(e){if(e>this.#r)throw new Error("Called consume() before buffers satiated.");if(e===0)return mq;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){this.#t+=e.length,this.#o.push(e)}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){oue(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!lue(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=Aue(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===Ll.CLOSE){if(s===1)return rr(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 pue(this.ws,n,i,i.length),rr(this.ws,i),!1}if(this.ws[fq]!==hq.SENT){let n=mq;this.#s.closeInfo.code&&(n=Buffer.allocUnsafe(2),n.writeUInt16BE(this.#s.closeInfo.code,0));let i=new Cq(n);this.ws[gq].socket.write(i.createFrame(Ll.CLOSE),a=>{a||(this.ws[fq]=hq.SENT)})}return this.ws[cue]=aue.CLOSING,this.ws[Eq]=!0,!1}else if(r===Ll.PING){if(!this.ws[Eq]){let n=new Cq(e);this.ws[gq].socket.write(n.createFrame(Ll.PONG)),zf.ping.hasSubscribers&&zf.ping.publish({payload:e})}}else r===Ll.PONG&&zf.pong.hasSubscribers&&zf.pong.publish({payload:e});return!0}get closingInfo(){return this.#s.closeInfo}};Bq.exports={ByteParser:jQ}});var Sq=f((LFe,Nq)=>{"use strict";var{WebsocketFrameSend:hue}=Uf(),{opcodes:bq,sendHints:Ml}=qa(),fue=ib(),Qq=Buffer[Symbol.species],KQ=class{static{o(this,"SendQueue")}#e=new fue;#t=!1;#r;constructor(e){this.#r=e}add(e,r,s){if(s!==Ml.blob){let i=xq(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=xq(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 xq(t,e){return new hue(gue(t,e)).createFrame(e===Ml.string?bq.TEXT:bq.BINARY)}o(xq,"createFrame");function gue(t,e){switch(e){case Ml.string:return Buffer.from(t);case Ml.arrayBuffer:case Ml.blob:return new Qq(t);case Ml.typedArray:return new Qq(t.buffer,t.byteOffset,t.byteLength)}}o(gue,"toBuffer");Nq.exports={SendQueue:KQ}});var Oq=f((OFe,Mq)=>{"use strict";var{webidl:te}=Yt(),{URLSerializer:Eue}=Tr(),{environmentSettingsObject:Rq}=jr(),{staticPropertyDescriptors:qo,states:pd,sentCloseFrameState:yue,sendHints:$f}=qa(),{kWebSocketURL:Tq,kReadyState:XQ,kController:vq,kBinaryType:Vf,kResponse:Pq,kSentClose:Cue,kByteParser:Iue}=id(),{isConnecting:Bue,isEstablished:wue,isClosing:bue,isValidSubprotocol:Que,fireEvent:kq}=cd(),{establishWebSocketConnection:xue,closeWebSocketConnection:Dq}=VQ(),{ByteParser:Nue}=wq(),{kEnumerableProperty:Ss,isBlobLike:_q}=me(),{getGlobalDispatcher:Sue}=af(),{types:Lq}=require("node:util"),{ErrorEvent:Rue,CloseEvent:Tue}=kl(),{SendQueue:vue}=Sq(),ss=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=Rq.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[Tq]=new URL(a.href);let c=Rq.settingsObject;this[vq]=xue(a,r,c,this,(l,u)=>this.#s(l,u),n),this[XQ]=t.CONNECTING,this[Cue]=yue.NOT_SENT,this[Vf]="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");Dq(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"),Bue(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!wue(this)||bue(this)))if(typeof e=="string"){let s=Buffer.byteLength(e);this.#t+=s,this.#n.add(e,()=>{this.#t-=s},$f.string)}else Lq.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#n.add(e,()=>{this.#t-=e.byteLength},$f.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#n.add(e,()=>{this.#t-=e.byteLength},$f.typedArray)):_q(e)&&(this.#t+=e.size,this.#n.add(e,()=>{this.#t-=e.size},$f.blob))}get readyState(){return te.brandCheck(this,t),this[XQ]}get bufferedAmount(){return te.brandCheck(this,t),this.#t}get url(){return te.brandCheck(this,t),Eue(this[Tq])}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[Vf]}set binaryType(e){te.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[Vf]="blob":this[Vf]=e}#s(e,r){this[Pq]=e;let s=this[vq]?.dispatcher?.webSocketOptions?.maxPayloadSize,n=new Nue(this,r,{maxPayloadSize:s});n.on("drain",Pue),n.on("error",kue.bind(this)),e.socket.ws=this,this[Iue]=n,this.#n=new vue(e.socket),this[XQ]=pd.OPEN;let i=e.headersList.get("sec-websocket-extensions");i!==null&&(this.#i=i);let a=e.headersList.get("sec-websocket-protocol");a!==null&&(this.#r=a),kq("open",this)}};ss.CONNECTING=ss.prototype.CONNECTING=pd.CONNECTING;ss.OPEN=ss.prototype.OPEN=pd.OPEN;ss.CLOSING=ss.prototype.CLOSING=pd.CLOSING;ss.CLOSED=ss.prototype.CLOSED=pd.CLOSED;Object.defineProperties(ss.prototype,{CONNECTING:qo,OPEN:qo,CLOSING:qo,CLOSED:qo,url:Ss,readyState:Ss,bufferedAmount:Ss,onopen:Ss,onerror:Ss,onclose:Ss,close:Ss,onmessage:Ss,binaryType:Ss,send:Ss,extensions:Ss,protocol:Ss,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(ss,{CONNECTING:qo,OPEN:qo,CLOSING:qo,CLOSED:qo});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(()=>Sue(),"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(_q(t))return te.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||Lq.isArrayBuffer(t))return te.converters.BufferSource(t)}return te.converters.USVString(t)};function Pue(){this.ws[Pq].socket.resume()}o(Pue,"onParserDrain");function kue(t){let e,r;t instanceof Tue?(e=t.reason,r=t.code):e=t.message,kq("error",this,()=>new Rue("error",{error:t,message:e})),Dq(this,r)}o(kue,"onParserError");Mq.exports={WebSocket:ss}});var ZQ=f((UFe,Fq)=>{"use strict";function Due(t){return t.indexOf("\0")===-1}o(Due,"isValidLastEventId");function _ue(t){if(t.length===0)return!1;for(let e=0;e57)return!1;return!0}o(_ue,"isASCIINumber");function Lue(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(Lue,"delay");Fq.exports={isValidLastEventId:Due,isASCIINumber:_ue,delay:Lue}});var Hq=f((GFe,Gq)=>{"use strict";var{Transform:Mue}=require("node:stream"),{isASCIINumber:Uq,isValidLastEventId:qq}=ZQ(),Vi=[239,187,191],ex=10,Yf=13,Oue=58,Fue=32,tx=class extends Mue{static{o(this,"EventSourceStream")}state=null;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;buffer=null;pos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,r,s){if(e.length===0){s();return}if(this.buffer?this.buffer=Buffer.concat([this.buffer,e]):this.buffer=e,this.checkBOM)switch(this.buffer.length){case 1:if(this.buffer[0]===Vi[0]){s();return}this.checkBOM=!1,s();return;case 2:if(this.buffer[0]===Vi[0]&&this.buffer[1]===Vi[1]){s();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===Vi[0]&&this.buffer[1]===Vi[1]&&this.buffer[2]===Vi[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,s();return}this.checkBOM=!1;break;default:this.buffer[0]===Vi[0]&&this.buffer[1]===Vi[1]&&this.buffer[2]===Vi[2]&&(this.buffer=this.buffer.subarray(3)),this.checkBOM=!1;break}for(;this.pos0&&(r[n]=i);break}}processEvent(e){e.retry&&Uq(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&qq(e.id)&&(this.state.lastEventId=e.id),e.data!==void 0&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event={data:void 0,event:void 0,id:void 0,retry:void 0}}};Gq.exports={EventSourceStream:tx}});var Kq=f((zFe,jq)=>{"use strict";var{pipeline:Uue}=require("node:stream"),{fetching:que}=td(),{makeRequest:Gue}=Nl(),{webidl:Yi}=Yt(),{EventSourceStream:Hue}=Hq(),{parseMIMEType:zue}=Tr(),{createFastMessageEvent:$ue}=kl(),{isNetworkError:zq}=ZA(),{delay:Vue}=ZQ(),{kEnumerableProperty:Ga}=me(),{environmentSettingsObject:$q}=jr(),Vq=!1,Yq=3e3,md=0,Jq=1,hd=2,Yue="anonymous",Jue="use-credentials",Ol=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#r=!1;#i=md;#n=null;#s=null;#o;#a;constructor(e,r={}){super(),Yi.util.markAsUncloneable(this);let s="EventSource constructor";Yi.argumentLengthCheck(arguments,1,s),Vq||(Vq=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Yi.converters.USVString(e,s,"url"),r=Yi.converters.EventSourceInitDict(r,s,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:Yq};let n=$q,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=Yue;r.withCredentials&&(a=Jue,this.#r=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=$q.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=Gue(c),this.#c()}get readyState(){return this.#i}get url(){return this.#t}get withCredentials(){return this.#r}#c(){if(this.#i===hd)return;this.#i=md;let e={request:this.#n,dispatcher:this.#o},r=o(s=>{zq(s)&&(this.dispatchEvent(new Event("error")),this.close()),this.#l()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=s=>{if(zq(s))if(s.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#l();return}let n=s.headersList.get("content-type",!0),i=n!==null?zue(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=Jq,this.dispatchEvent(new Event("open")),this.#a.origin=s.urlList[s.urlList.length-1].origin;let c=new Hue({eventSourceSettings:this.#a,push:o(l=>{this.dispatchEvent($ue(l.type,l.options))},"push")});Uue(s.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#s=que(e)}async#l(){this.#i!==hd&&(this.#i=md,this.dispatchEvent(new Event("error")),await Vue(this.#a.reconnectionTime),this.#i===md&&(this.#a.lastEventId.length&&this.#n.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#c()))}close(){Yi.brandCheck(this,t),this.#i!==hd&&(this.#i=hd,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}},Wq={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:md,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:Jq,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:hd,writable:!1}};Object.defineProperties(Ol,Wq);Object.defineProperties(Ol.prototype,Wq);Object.defineProperties(Ol.prototype,{close:Ga,onerror:Ga,onmessage:Ga,onopen:Ga,readyState:Ga,url:Ga,withCredentials:Ga});Yi.converters.EventSourceInitDict=Yi.dictionaryConverter([{key:"withCredentials",converter:Yi.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"dispatcher",converter:Yi.converters.any}]);jq.exports={EventSource:Ol,defaultReconnectionTime:Yq}});var Ul=f((VFe,ee)=>{"use strict";var Wue=dl(),Xq=yA(),jue=pl(),Kue=WO(),Xue=ml(),Zue=Qb(),eAe=yF(),tAe=QF(),Zq=Qe(),Wf=me(),{InvalidArgumentError:Jf}=Zq,Fl=AU(),rAe=IA(),sAe=oQ(),nAe=YU(),iAe=lQ(),oAe=Yb(),aAe=jh(),{getGlobalDispatcher:eG,setGlobalDispatcher:cAe}=af(),lAe=cf(),uAe=Fh(),AAe=Uh();Object.assign(Xq.prototype,Fl);ee.exports.Dispatcher=Xq;ee.exports.Client=Wue;ee.exports.Pool=jue;ee.exports.BalancedPool=Kue;ee.exports.Agent=Xue;ee.exports.ProxyAgent=Zue;ee.exports.EnvHttpProxyAgent=eAe;ee.exports.RetryAgent=tAe;ee.exports.RetryHandler=aAe;ee.exports.DecoratorHandler=lAe;ee.exports.RedirectHandler=uAe;ee.exports.createRedirectInterceptor=AAe;ee.exports.interceptors={redirect:e2(),retry:r2(),dump:n2(),dns:a2()};ee.exports.buildConnector=rAe;ee.exports.errors=Zq;ee.exports.util={parseHeaders:Wf.parseHeaders,headerNameToString:Wf.headerNameToString};function fd(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 Jf("invalid url");if(r!=null&&typeof r!="object")throw new Jf("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new Jf("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(Wf.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=Wf.parseURL(e);let{agent:n,dispatcher:i=eG()}=r;if(n)throw new Jf("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(fd,"makeDispatcher");ee.exports.setGlobalDispatcher=cAe;ee.exports.getGlobalDispatcher=eG;var dAe=td().fetch;ee.exports.fetch=o(async function(e,r=void 0){try{return await dAe(e,r)}catch(s){throw s&&typeof s=="object"&&Error.captureStackTrace(s),s}},"fetch");ee.exports.Headers=_a().Headers;ee.exports.Response=ZA().Response;ee.exports.Request=Nl().Request;ee.exports.FormData=SA().FormData;ee.exports.File=globalThis.File??require("node:buffer").File;ee.exports.FileReader=w1().FileReader;var{setGlobalOrigin:pAe,getGlobalOrigin:mAe}=xw();ee.exports.setGlobalOrigin=pAe;ee.exports.getGlobalOrigin=mAe;var{CacheStorage:hAe}=P1(),{kConstruct:fAe}=Rf();ee.exports.caches=new hAe(fAe);var{deleteCookie:gAe,getCookies:EAe,getSetCookies:yAe,setCookie:CAe}=z1();ee.exports.deleteCookie=gAe;ee.exports.getCookies=EAe;ee.exports.getSetCookies=yAe;ee.exports.setCookie=CAe;var{parseMIMEType:IAe,serializeAMimeType:BAe}=Tr();ee.exports.parseMIMEType=IAe;ee.exports.serializeAMimeType=BAe;var{CloseEvent:wAe,ErrorEvent:bAe,MessageEvent:QAe}=kl();ee.exports.WebSocket=Oq().WebSocket;ee.exports.CloseEvent=wAe;ee.exports.ErrorEvent=bAe;ee.exports.MessageEvent=QAe;ee.exports.request=fd(Fl.request);ee.exports.stream=fd(Fl.stream);ee.exports.pipeline=fd(Fl.pipeline);ee.exports.connect=fd(Fl.connect);ee.exports.upgrade=fd(Fl.upgrade);ee.exports.MockClient=sAe;ee.exports.MockPool=iAe;ee.exports.MockAgent=nAe;ee.exports.mockErrors=oAe;var{EventSource:xAe}=Kq();ee.exports.EventSource=xAe});var xd=f((E2e,DG)=>{"use strict";var KAe="2.0.0",XAe=Number.MAX_SAFE_INTEGER||9007199254740991,ZAe=16,ede=250,tde=["major","premajor","minor","preminor","patch","prepatch","prerelease"];DG.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:ZAe,MAX_SAFE_BUILD_LENGTH:ede,MAX_SAFE_INTEGER:XAe,RELEASE_TYPES:tde,SEMVER_SPEC_VERSION:KAe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Nd=f((y2e,_G)=>{"use strict";var rde=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};_G.exports=rde});var Vl=f(($n,LG)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:xx,MAX_SAFE_BUILD_LENGTH:sde,MAX_LENGTH:nde}=xd(),ide=Nd();$n=LG.exports={};var ode=$n.re=[],ade=$n.safeRe=[],_=$n.src=[],cde=$n.safeSrc=[],L=$n.t={},lde=0,Nx="[a-zA-Z0-9-]",ude=[["\\s",1],["\\d",nde],[Nx,sde]],Ade=o(t=>{for(let[e,r]of ude)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),ie=o((t,e,r)=>{let s=Ade(e),n=lde++;ide(t,n,e),L[t]=n,_[n]=e,cde[n]=s,ode[n]=new RegExp(e,r?"g":void 0),ade[n]=new RegExp(s,r?"g":void 0)},"createToken");ie("NUMERICIDENTIFIER","0|[1-9]\\d*");ie("NUMERICIDENTIFIERLOOSE","\\d+");ie("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Nx}*`);ie("MAINVERSION",`(${_[L.NUMERICIDENTIFIER]})\\.(${_[L.NUMERICIDENTIFIER]})\\.(${_[L.NUMERICIDENTIFIER]})`);ie("MAINVERSIONLOOSE",`(${_[L.NUMERICIDENTIFIERLOOSE]})\\.(${_[L.NUMERICIDENTIFIERLOOSE]})\\.(${_[L.NUMERICIDENTIFIERLOOSE]})`);ie("PRERELEASEIDENTIFIER",`(?:${_[L.NONNUMERICIDENTIFIER]}|${_[L.NUMERICIDENTIFIER]})`);ie("PRERELEASEIDENTIFIERLOOSE",`(?:${_[L.NONNUMERICIDENTIFIER]}|${_[L.NUMERICIDENTIFIERLOOSE]})`);ie("PRERELEASE",`(?:-(${_[L.PRERELEASEIDENTIFIER]}(?:\\.${_[L.PRERELEASEIDENTIFIER]})*))`);ie("PRERELEASELOOSE",`(?:-?(${_[L.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${_[L.PRERELEASEIDENTIFIERLOOSE]})*))`);ie("BUILDIDENTIFIER",`${Nx}+`);ie("BUILD",`(?:\\+(${_[L.BUILDIDENTIFIER]}(?:\\.${_[L.BUILDIDENTIFIER]})*))`);ie("FULLPLAIN",`v?${_[L.MAINVERSION]}${_[L.PRERELEASE]}?${_[L.BUILD]}?`);ie("FULL",`^${_[L.FULLPLAIN]}$`);ie("LOOSEPLAIN",`[v=\\s]*${_[L.MAINVERSIONLOOSE]}${_[L.PRERELEASELOOSE]}?${_[L.BUILD]}?`);ie("LOOSE",`^${_[L.LOOSEPLAIN]}$`);ie("GTLT","((?:<|>)?=?)");ie("XRANGEIDENTIFIERLOOSE",`${_[L.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ie("XRANGEIDENTIFIER",`${_[L.NUMERICIDENTIFIER]}|x|X|\\*`);ie("XRANGEPLAIN",`[v=\\s]*(${_[L.XRANGEIDENTIFIER]})(?:\\.(${_[L.XRANGEIDENTIFIER]})(?:\\.(${_[L.XRANGEIDENTIFIER]})(?:${_[L.PRERELEASE]})?${_[L.BUILD]}?)?)?`);ie("XRANGEPLAINLOOSE",`[v=\\s]*(${_[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${_[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${_[L.XRANGEIDENTIFIERLOOSE]})(?:${_[L.PRERELEASELOOSE]})?${_[L.BUILD]}?)?)?`);ie("XRANGE",`^${_[L.GTLT]}\\s*${_[L.XRANGEPLAIN]}$`);ie("XRANGELOOSE",`^${_[L.GTLT]}\\s*${_[L.XRANGEPLAINLOOSE]}$`);ie("COERCEPLAIN",`(^|[^\\d])(\\d{1,${xx}})(?:\\.(\\d{1,${xx}}))?(?:\\.(\\d{1,${xx}}))?`);ie("COERCE",`${_[L.COERCEPLAIN]}(?:$|[^\\d])`);ie("COERCEFULL",_[L.COERCEPLAIN]+`(?:${_[L.PRERELEASE]})?(?:${_[L.BUILD]})?(?:$|[^\\d])`);ie("COERCERTL",_[L.COERCE],!0);ie("COERCERTLFULL",_[L.COERCEFULL],!0);ie("LONETILDE","(?:~>?)");ie("TILDETRIM",`(\\s*)${_[L.LONETILDE]}\\s+`,!0);$n.tildeTrimReplace="$1~";ie("TILDE",`^${_[L.LONETILDE]}${_[L.XRANGEPLAIN]}$`);ie("TILDELOOSE",`^${_[L.LONETILDE]}${_[L.XRANGEPLAINLOOSE]}$`);ie("LONECARET","(?:\\^)");ie("CARETTRIM",`(\\s*)${_[L.LONECARET]}\\s+`,!0);$n.caretTrimReplace="$1^";ie("CARET",`^${_[L.LONECARET]}${_[L.XRANGEPLAIN]}$`);ie("CARETLOOSE",`^${_[L.LONECARET]}${_[L.XRANGEPLAINLOOSE]}$`);ie("COMPARATORLOOSE",`^${_[L.GTLT]}\\s*(${_[L.LOOSEPLAIN]})$|^$`);ie("COMPARATOR",`^${_[L.GTLT]}\\s*(${_[L.FULLPLAIN]})$|^$`);ie("COMPARATORTRIM",`(\\s*)${_[L.GTLT]}\\s*(${_[L.LOOSEPLAIN]}|${_[L.XRANGEPLAIN]})`,!0);$n.comparatorTrimReplace="$1$2$3";ie("HYPHENRANGE",`^\\s*(${_[L.XRANGEPLAIN]})\\s+-\\s+(${_[L.XRANGEPLAIN]})\\s*$`);ie("HYPHENRANGELOOSE",`^\\s*(${_[L.XRANGEPLAINLOOSE]})\\s+-\\s+(${_[L.XRANGEPLAINLOOSE]})\\s*$`);ie("STAR","(<|>)?=?\\s*\\*");ie("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ie("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var tg=f((I2e,MG)=>{"use strict";var dde=Object.freeze({loose:!0}),pde=Object.freeze({}),mde=o(t=>t?typeof t!="object"?dde:t:pde,"parseOptions");MG.exports=mde});var Sx=f((w2e,UG)=>{"use strict";var OG=/^[0-9]+$/,FG=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tFG(e,t),"rcompareIdentifiers");UG.exports={compareIdentifiers:FG,rcompareIdentifiers:hde}});var sr=f((Q2e,GG)=>{"use strict";var rg=Nd(),{MAX_LENGTH:qG,MAX_SAFE_INTEGER:sg}=xd(),{safeRe:ng,t:ig}=Vl(),fde=tg(),{compareIdentifiers:Rx}=Sx(),Tx=class t{static{o(this,"SemVer")}constructor(e,r){if(r=fde(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>qG)throw new TypeError(`version is longer than ${qG} characters`);rg("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?ng[ig.LOOSE]:ng[ig.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>sg||this.major<0)throw new TypeError("Invalid major version");if(this.minor>sg||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>sg||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(rg("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 Rx(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(rg("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 Rx(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?ng[ig.PRERELEASELOOSE]:ng[ig.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]),Rx(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}};GG.exports=Tx});var Ja=f((N2e,zG)=>{"use strict";var HG=sr(),gde=o((t,e,r=!1)=>{if(t instanceof HG)return t;try{return new HG(t,e)}catch(s){if(!r)return null;throw s}},"parse");zG.exports=gde});var VG=f((R2e,$G)=>{"use strict";var Ede=Ja(),yde=o((t,e)=>{let r=Ede(t,e);return r?r.version:null},"valid");$G.exports=yde});var JG=f((v2e,YG)=>{"use strict";var Cde=Ja(),Ide=o((t,e)=>{let r=Cde(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");YG.exports=Ide});var KG=f((k2e,jG)=>{"use strict";var WG=sr(),Bde=o((t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new WG(t instanceof WG?t.version:t,r).inc(e,s,n).version}catch{return null}},"inc");jG.exports=Bde});var eH=f((_2e,ZG)=>{"use strict";var XG=Ja(),wde=o((t,e)=>{let r=XG(t,null,!0),s=XG(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");ZG.exports=wde});var rH=f((M2e,tH)=>{"use strict";var bde=sr(),Qde=o((t,e)=>new bde(t,e).major,"major");tH.exports=Qde});var nH=f((F2e,sH)=>{"use strict";var xde=sr(),Nde=o((t,e)=>new xde(t,e).minor,"minor");sH.exports=Nde});var oH=f((q2e,iH)=>{"use strict";var Sde=sr(),Rde=o((t,e)=>new Sde(t,e).patch,"patch");iH.exports=Rde});var cH=f((H2e,aH)=>{"use strict";var Tde=Ja(),vde=o((t,e)=>{let r=Tde(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");aH.exports=vde});var vs=f(($2e,uH)=>{"use strict";var lH=sr(),Pde=o((t,e,r)=>new lH(t,r).compare(new lH(e,r)),"compare");uH.exports=Pde});var dH=f((Y2e,AH)=>{"use strict";var kde=vs(),Dde=o((t,e,r)=>kde(e,t,r),"rcompare");AH.exports=Dde});var mH=f((W2e,pH)=>{"use strict";var _de=vs(),Lde=o((t,e)=>_de(t,e,!0),"compareLoose");pH.exports=Lde});var og=f((K2e,fH)=>{"use strict";var hH=sr(),Mde=o((t,e,r)=>{let s=new hH(t,r),n=new hH(e,r);return s.compare(n)||s.compareBuild(n)},"compareBuild");fH.exports=Mde});var EH=f((Z2e,gH)=>{"use strict";var Ode=og(),Fde=o((t,e)=>t.sort((r,s)=>Ode(r,s,e)),"sort");gH.exports=Fde});var CH=f((t1e,yH)=>{"use strict";var Ude=og(),qde=o((t,e)=>t.sort((r,s)=>Ude(s,r,e)),"rsort");yH.exports=qde});var Sd=f((s1e,IH)=>{"use strict";var Gde=vs(),Hde=o((t,e,r)=>Gde(t,e,r)>0,"gt");IH.exports=Hde});var ag=f((i1e,BH)=>{"use strict";var zde=vs(),$de=o((t,e,r)=>zde(t,e,r)<0,"lt");BH.exports=$de});var vx=f((a1e,wH)=>{"use strict";var Vde=vs(),Yde=o((t,e,r)=>Vde(t,e,r)===0,"eq");wH.exports=Yde});var Px=f((l1e,bH)=>{"use strict";var Jde=vs(),Wde=o((t,e,r)=>Jde(t,e,r)!==0,"neq");bH.exports=Wde});var cg=f((A1e,QH)=>{"use strict";var jde=vs(),Kde=o((t,e,r)=>jde(t,e,r)>=0,"gte");QH.exports=Kde});var lg=f((p1e,xH)=>{"use strict";var Xde=vs(),Zde=o((t,e,r)=>Xde(t,e,r)<=0,"lte");xH.exports=Zde});var kx=f((h1e,NH)=>{"use strict";var epe=vx(),tpe=Px(),rpe=Sd(),spe=cg(),npe=ag(),ipe=lg(),ope=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 epe(t,r,s);case"!=":return tpe(t,r,s);case">":return rpe(t,r,s);case">=":return spe(t,r,s);case"<":return npe(t,r,s);case"<=":return ipe(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");NH.exports=ope});var RH=f((g1e,SH)=>{"use strict";var ape=sr(),cpe=Ja(),{safeRe:ug,t:Ag}=Vl(),lpe=o((t,e)=>{if(t instanceof ape)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?ug[Ag.COERCEFULL]:ug[Ag.COERCE]);else{let l=e.includePrerelease?ug[Ag.COERCERTLFULL]:ug[Ag.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 cpe(`${s}.${n}.${i}${a}${c}`,e)},"coerce");SH.exports=lpe});var vH=f((y1e,TH)=>{"use strict";var Dx=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}};TH.exports=Dx});var Ps=f((I1e,_H)=>{"use strict";var upe=/\s+/g,_x=class t{static{o(this,"Range")}constructor(e,r){if(r=dpe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof Lx)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(upe," "),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=>!kH(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&&ype(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&&gpe)|(this.options.loose&&Epe))+":"+e,n=PH.get(s);if(n)return n;let i=this.options.loose,a=i?mr[nr.HYPHENRANGELOOSE]:mr[nr.HYPHENRANGE];e=e.replace(a,Rpe(this.options.includePrerelease)),Ue("hyphen replace",e),e=e.replace(mr[nr.COMPARATORTRIM],mpe),Ue("comparator trim",e),e=e.replace(mr[nr.TILDETRIM],hpe),Ue("tilde trim",e),e=e.replace(mr[nr.CARETTRIM],fpe),Ue("caret trim",e);let c=e.split(" ").map(d=>Cpe(d,this.options)).join(" ").split(/\s+/).map(d=>Spe(d,this.options));i&&(c=c.filter(d=>(Ue("loose invalid filter",d,this.options),!!d.match(mr[nr.COMPARATORLOOSE])))),Ue("range list",c);let l=new Map,u=c.map(d=>new Lx(d,this.options));for(let d of u){if(kH(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let A=[...l.values()];return PH.set(s,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>DH(s,r)&&e.set.some(n=>DH(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 ppe(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),ype=o(t=>t.value==="","isAny"),DH=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"),Cpe=o((t,e)=>(t=t.replace(mr[nr.BUILD],""),Ue("comp",t,e),t=wpe(t,e),Ue("caret",t),t=Ipe(t,e),Ue("tildes",t),t=Qpe(t,e),Ue("xrange",t),t=Npe(t,e),Ue("stars",t),t),"parseComparator"),hr=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),Ipe=o((t,e)=>t.trim().split(/\s+/).map(r=>Bpe(r,e)).join(" "),"replaceTildes"),Bpe=o((t,e)=>{let r=e.loose?mr[nr.TILDELOOSE]:mr[nr.TILDE];return t.replace(r,(s,n,i,a,c)=>{Ue("tilde",t,s,n,i,a,c);let l;return hr(n)?l="":hr(i)?l=`>=${n}.0.0 <${+n+1}.0.0-0`:hr(a)?l=`>=${n}.${i}.0 <${n}.${+i+1}.0-0`:c?(Ue("replaceTilde pr",c),l=`>=${n}.${i}.${a}-${c} <${n}.${+i+1}.0-0`):l=`>=${n}.${i}.${a} <${n}.${+i+1}.0-0`,Ue("tilde return",l),l})},"replaceTilde"),wpe=o((t,e)=>t.trim().split(/\s+/).map(r=>bpe(r,e)).join(" "),"replaceCarets"),bpe=o((t,e)=>{Ue("caret",t,e);let r=e.loose?mr[nr.CARETLOOSE]:mr[nr.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{Ue("caret",t,n,i,a,c,l);let u;return hr(i)?u="":hr(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:hr(c)?i==="0"?u=`>=${i}.${a}.0${s} <${i}.${+a+1}.0-0`:u=`>=${i}.${a}.0${s} <${+i+1}.0.0-0`:l?(Ue("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`):(Ue("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`),Ue("caret return",u),u})},"replaceCaret"),Qpe=o((t,e)=>(Ue("replaceXRanges",t,e),t.split(/\s+/).map(r=>xpe(r,e)).join(" ")),"replaceXRanges"),xpe=o((t,e)=>{t=t.trim();let r=e.loose?mr[nr.XRANGELOOSE]:mr[nr.XRANGE];return t.replace(r,(s,n,i,a,c,l)=>{Ue("xRange",t,s,n,i,a,c,l);let u=hr(i),A=u||hr(a),d=A||hr(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`),Ue("xRange return",s),s})},"replaceXRange"),Npe=o((t,e)=>(Ue("replaceStars",t,e),t.trim().replace(mr[nr.STAR],"")),"replaceStars"),Spe=o((t,e)=>(Ue("replaceGTE0",t,e),t.trim().replace(mr[e.includePrerelease?nr.GTE0PRE:nr.GTE0],"")),"replaceGTE0"),Rpe=o(t=>(e,r,s,n,i,a,c,l,u,A,d,p)=>(hr(s)?r="":hr(n)?r=`>=${s}.0.0${t?"-0":""}`:hr(i)?r=`>=${s}.${n}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,hr(u)?l="":hr(A)?l=`<${+u+1}.0.0-0`:hr(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"),Tpe=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 Rd=f((w1e,qH)=>{"use strict";var Td=Symbol("SemVer ANY"),Fx=class t{static{o(this,"Comparator")}static get ANY(){return Td}constructor(e,r){if(r=LH(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Ox("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Td?this.value="":this.value=this.operator+this.semver.version,Ox("comp",this)}parse(e){let r=this.options.loose?MH[OH.COMPARATORLOOSE]:MH[OH.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 FH(s[2],this.options.loose):this.semver=Td}toString(){return this.value}test(e){if(Ox("Comparator.test",e,this.options.loose),this.semver===Td||e===Td)return!0;if(typeof e=="string")try{e=new FH(e,this.options)}catch{return!1}return Mx(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 UH(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new UH(this.value,r).test(e.semver):(r=LH(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("=")||Mx(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Mx(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};qH.exports=Fx;var LH=tg(),{safeRe:MH,t:OH}=Vl(),Mx=kx(),Ox=Nd(),FH=sr(),UH=Ps()});var vd=f((Q1e,GH)=>{"use strict";var vpe=Ps(),Ppe=o((t,e,r)=>{try{e=new vpe(e,r)}catch{return!1}return e.test(t)},"satisfies");GH.exports=Ppe});var zH=f((N1e,HH)=>{"use strict";var kpe=Ps(),Dpe=o((t,e)=>new kpe(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),"toComparators");HH.exports=Dpe});var VH=f((R1e,$H)=>{"use strict";var _pe=sr(),Lpe=Ps(),Mpe=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new Lpe(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new _pe(s,r))}),s},"maxSatisfying");$H.exports=Mpe});var JH=f((v1e,YH)=>{"use strict";var Ope=sr(),Fpe=Ps(),Upe=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new Fpe(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===1)&&(s=a,n=new Ope(s,r))}),s},"minSatisfying");YH.exports=Upe});var KH=f((k1e,jH)=>{"use strict";var Ux=sr(),qpe=Ps(),WH=Sd(),Gpe=o((t,e)=>{t=new qpe(t,e);let r=new Ux("0.0.0");if(t.test(r)||(r=new Ux("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let c=new Ux(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||WH(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||WH(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");jH.exports=Gpe});var ZH=f((_1e,XH)=>{"use strict";var Hpe=Ps(),zpe=o((t,e)=>{try{return new Hpe(t,e).range||"*"}catch{return null}},"validRange");XH.exports=zpe});var dg=f((M1e,sz)=>{"use strict";var $pe=sr(),rz=Rd(),{ANY:Vpe}=rz,Ype=Ps(),Jpe=vd(),ez=Sd(),tz=ag(),Wpe=lg(),jpe=cg(),Kpe=o((t,e,r,s)=>{t=new $pe(t,s),e=new Ype(e,s);let n,i,a,c,l;switch(r){case">":n=ez,i=Wpe,a=tz,c=">",l=">=";break;case"<":n=tz,i=jpe,a=ez,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Jpe(t,e,s))return!1;for(let u=0;u{m.semver===Vpe&&(m=new rz(">=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");sz.exports=Kpe});var iz=f((F1e,nz)=>{"use strict";var Xpe=dg(),Zpe=o((t,e,r)=>Xpe(t,e,">",r),"gtr");nz.exports=Zpe});var az=f((q1e,oz)=>{"use strict";var eme=dg(),tme=o((t,e,r)=>eme(t,e,"<",r),"ltr");oz.exports=tme});var uz=f((H1e,lz)=>{"use strict";var cz=Ps(),rme=o((t,e,r)=>(t=new cz(t,r),e=new cz(e,r),t.intersects(e,r)),"intersects");lz.exports=rme});var dz=f(($1e,Az)=>{"use strict";var sme=vd(),nme=vs();Az.exports=(t,e,r)=>{let s=[],n=null,i=null,a=t.sort((A,d)=>nme(A,d,r));for(let A of a)sme(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=Ps(),Gx=Rd(),{ANY:qx}=Gx,Pd=vd(),Hx=vs(),ime=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=ame(n,i,r);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},"subset"),ome=[new Gx(">=0.0.0-0")],mz=[new Gx(">=0.0.0")],ame=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===qx){if(e.length===1&&e[0].semver===qx)return!0;r.includePrerelease?t=ome:t=mz}if(e.length===1&&e[0].semver===qx){if(r.includePrerelease)return!0;e=mz}let s=new Set,n,i;for(let m of t)m.operator===">"||m.operator===">="?n=hz(n,m,r):m.operator==="<"||m.operator==="<="?i=fz(i,m,r):s.add(m.semver);if(s.size>1)return null;let a;if(n&&i){if(a=Hx(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&&!Pd(m,String(n),r)||i&&!Pd(m,String(i),r))return null;for(let h of e)if(!Pd(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=hz(n,m,r),c===m&&c!==n)return!1}else if(n.operator===">="&&!Pd(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=fz(i,m,r),l===m&&l!==i)return!1}else if(i.operator==="<="&&!Pd(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"),hz=o((t,e,r)=>{if(!t)return e;let s=Hx(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),fz=o((t,e,r)=>{if(!t)return e;let s=Hx(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");gz.exports=ime});var $x=f((J1e,Iz)=>{"use strict";var zx=Vl(),yz=xd(),cme=sr(),Cz=Sx(),lme=Ja(),ume=VG(),Ame=JG(),dme=KG(),pme=eH(),mme=rH(),hme=nH(),fme=oH(),gme=cH(),Eme=vs(),yme=dH(),Cme=mH(),Ime=og(),Bme=EH(),wme=CH(),bme=Sd(),Qme=ag(),xme=vx(),Nme=Px(),Sme=cg(),Rme=lg(),Tme=kx(),vme=RH(),Pme=Rd(),kme=Ps(),Dme=vd(),_me=zH(),Lme=VH(),Mme=JH(),Ome=KH(),Fme=ZH(),Ume=dg(),qme=iz(),Gme=az(),Hme=uz(),zme=dz(),$me=Ez();Iz.exports={parse:lme,valid:ume,clean:Ame,inc:dme,diff:pme,major:mme,minor:hme,patch:fme,prerelease:gme,compare:Eme,rcompare:yme,compareLoose:Cme,compareBuild:Ime,sort:Bme,rsort:wme,gt:bme,lt:Qme,eq:xme,neq:Nme,gte:Sme,lte:Rme,cmp:Tme,coerce:vme,Comparator:Pme,Range:kme,satisfies:Dme,toComparators:_me,maxSatisfying:Lme,minSatisfying:Mme,minVersion:Ome,validRange:Fme,outside:Ume,gtr:qme,ltr:Gme,intersects:Hme,simplifyRange:zme,subset:$me,SemVer:cme,re:zx.re,src:zx.src,tokens:zx.t,SEMVER_SPEC_VERSION:yz.SEMVER_SPEC_VERSION,RELEASE_TYPES:yz.RELEASE_TYPES,compareIdentifiers:Cz.compareIdentifiers,rcompareIdentifiers:Cz.rcompareIdentifiers}});var Uz=f((Wqe,Fz)=>{Fz.exports=function(t,e){for(var r=[],s=0;s{"use strict";zz.exports=Gz;function Gz(t,e,r){t instanceof RegExp&&(t=qz(t,r)),e instanceof RegExp&&(e=qz(e,r));var s=Hz(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(Gz,"balanced");function qz(t,e){var r=e.match(t);return r?r[0]:null}o(qz,"maybeMatch");Gz.range=Hz;function Hz(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(Hz,"range")});var Zz=f((Xqe,Xz)=>{var Ahe=Uz(),Vz=$z();Xz.exports=mhe;var Yz="\0SLASH"+Math.random()+"\0",Jz="\0OPEN"+Math.random()+"\0",n0="\0CLOSE"+Math.random()+"\0",Wz="\0COMMA"+Math.random()+"\0",jz="\0PERIOD"+Math.random()+"\0";function s0(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(s0,"numeric");function dhe(t){return t.split("\\\\").join(Yz).split("\\{").join(Jz).split("\\}").join(n0).split("\\,").join(Wz).split("\\.").join(jz)}o(dhe,"escapeBraces");function phe(t){return t.split(Yz).join("\\").split(Jz).join("{").split(n0).join("}").split(Wz).join(",").split(jz).join(".")}o(phe,"unescapeBraces");function Kz(t){if(!t)return[""];var e=[],r=Vz("{","}",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=Kz(i);return i.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(Kz,"parseCommaParts");function mhe(t,e){if(!t)return[];e=e||{};var r=e.max==null?1/0:e.max;return t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),Jl(dhe(t),r,!0).map(phe)}o(mhe,"expandTop");function hhe(t){return"{"+t+"}"}o(hhe,"embrace");function fhe(t){return/^-?0\d/.test(t)}o(fhe,"isPadded");function ghe(t,e){return t<=e}o(ghe,"lte");function Ehe(t,e){return t>=e}o(Ehe,"gte");function Jl(t,e,r){var s=[],n=Vz("{","}",t);if(!n||/\$$/.test(n.pre))return[t];var i=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),a=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),c=i||a,l=n.body.indexOf(",")>=0;if(!c&&!l)return n.post.match(/,(?!,).*\}/)?(t=n.pre+"{"+n.body+n0+n.post,Jl(t,e,!0)):[t];var u;if(c)u=n.body.split(/\.\./);else if(u=Kz(n.body),u.length===1&&(u=Jl(u[0],e,!1).map(hhe),u.length===1)){var d=n.post.length?Jl(n.post,e,!1):[""];return d.map(function(ne){return n.pre+u[0]+ne})}var A=n.pre,d=n.post.length?Jl(n.post,e,!1):[""],p;if(c){var m=s0(u[0]),h=s0(u[1]),g=Math.max(u[0].length,u[1].length),C=u.length==3?Math.max(Math.abs(s0(u[2])),1):1,E=ghe,y=h0){var q=new Array(D+1).join("0");B<0?N="-"+q+N.slice(1):N=q+N}}p.push(N)}}else p=Ahe(u,function(V){return Jl(V,e,!1)});for(var pe=0;pe{n$.exports=os;os.Minimatch=Jt;var Od=(function(){try{return require("path")}catch{}})()||{sep:"/"};os.sep=Od.sep;var a0=os.GLOBSTAR=Jt.GLOBSTAR={},yhe=Zz(),e$={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},i0="[^/]",o0=i0+"*?",Che="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",Ihe="(?:(?!(?:\\/|^)\\.).)*?",t$=Bhe("().*{}+?[]^$\\!");function Bhe(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}o(Bhe,"charSet");var r$=/\/+/;os.filter=whe;function whe(t,e){return e=e||{},function(r,s,n){return os(r,t,e)}}o(whe,"filter");function Vo(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(Vo,"ext");os.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return os;var e=os,r=o(function(n,i,a){return e(n,i,Vo(t,a))},"minimatch");return r.Minimatch=o(function(n,i){return new e.Minimatch(n,Vo(t,i))},"Minimatch"),r.Minimatch.defaults=o(function(n){return e.defaults(Vo(t,n)).Minimatch},"defaults"),r.filter=o(function(n,i){return e.filter(n,Vo(t,i))},"filter"),r.defaults=o(function(n){return e.defaults(Vo(t,n))},"defaults"),r.makeRe=o(function(n,i){return e.makeRe(n,Vo(t,i))},"makeRe"),r.braceExpand=o(function(n,i){return e.braceExpand(n,Vo(t,i))},"braceExpand"),r.match=function(s,n,i){return e.match(s,n,Vo(t,i))},r};Jt.defaults=function(t){return os.defaults(t).Minimatch};function os(t,e,r){return Bg(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new Jt(e,r).match(t)}o(os,"minimatch");function Jt(t,e){if(!(this instanceof Jt))return new Jt(t,e);Bg(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&Od.sep!=="/"&&(t=t.split(Od.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=bhe;function bhe(){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(r$)}),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(bhe,"make");Jt.prototype.parseNegate=Qhe;function Qhe(){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,Bg(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:yhe(t)}o(s$,"braceExpand");var xhe=1024*64,Bg=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=Nhe;var Ig={};function Nhe(t,e){Bg(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return a0;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+=o0,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;pe--){var be=c[pe],Re=s.slice(0,be.reStart),V=s.slice(be.reStart,be.reEnd-8),ne=s.slice(be.reEnd-8,be.reEnd),G=s.slice(be.reEnd);ne+=G;var ye=Re.split("(").length-1,bt=G;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;Od.sep!=="/"&&(e=e.split(Od.sep).join("/")),e=e.split(r$),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 Rhe(t){return t.replace(/\\(.)/g,"$1")}o(Rhe,"globUnescape");function The(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(The,"regExpEscape")});var qd=f((BGe,l$)=>{"use strict";var Ohe="2.0.0",Fhe=Number.MAX_SAFE_INTEGER||9007199254740991,Uhe=16,qhe=250,Ghe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];l$.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Uhe,MAX_SAFE_BUILD_LENGTH:qhe,MAX_SAFE_INTEGER:Fhe,RELEASE_TYPES:Ghe,SEMVER_SPEC_VERSION:Ohe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Gd=f((wGe,u$)=>{"use strict";var Hhe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};u$.exports=Hhe});var Xl=f((Yn,A$)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:l0,MAX_SAFE_BUILD_LENGTH:zhe,MAX_LENGTH:$he}=qd(),Vhe=Gd();Yn=A$.exports={};var Yhe=Yn.re=[],Jhe=Yn.safeRe=[],M=Yn.src=[],Whe=Yn.safeSrc=[],O=Yn.t={},jhe=0,u0="[a-zA-Z0-9-]",Khe=[["\\s",1],["\\d",$he],[u0,zhe]],Xhe=o(t=>{for(let[e,r]of Khe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),oe=o((t,e,r)=>{let s=Xhe(e),n=jhe++;Vhe(t,n,e),O[t]=n,M[n]=e,Whe[n]=s,Yhe[n]=new RegExp(e,r?"g":void 0),Jhe[n]=new RegExp(s,r?"g":void 0)},"createToken");oe("NUMERICIDENTIFIER","0|[1-9]\\d*");oe("NUMERICIDENTIFIERLOOSE","\\d+");oe("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${u0}*`);oe("MAINVERSION",`(${M[O.NUMERICIDENTIFIER]})\\.(${M[O.NUMERICIDENTIFIER]})\\.(${M[O.NUMERICIDENTIFIER]})`);oe("MAINVERSIONLOOSE",`(${M[O.NUMERICIDENTIFIERLOOSE]})\\.(${M[O.NUMERICIDENTIFIERLOOSE]})\\.(${M[O.NUMERICIDENTIFIERLOOSE]})`);oe("PRERELEASEIDENTIFIER",`(?:${M[O.NONNUMERICIDENTIFIER]}|${M[O.NUMERICIDENTIFIER]})`);oe("PRERELEASEIDENTIFIERLOOSE",`(?:${M[O.NONNUMERICIDENTIFIER]}|${M[O.NUMERICIDENTIFIERLOOSE]})`);oe("PRERELEASE",`(?:-(${M[O.PRERELEASEIDENTIFIER]}(?:\\.${M[O.PRERELEASEIDENTIFIER]})*))`);oe("PRERELEASELOOSE",`(?:-?(${M[O.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${M[O.PRERELEASEIDENTIFIERLOOSE]})*))`);oe("BUILDIDENTIFIER",`${u0}+`);oe("BUILD",`(?:\\+(${M[O.BUILDIDENTIFIER]}(?:\\.${M[O.BUILDIDENTIFIER]})*))`);oe("FULLPLAIN",`v?${M[O.MAINVERSION]}${M[O.PRERELEASE]}?${M[O.BUILD]}?`);oe("FULL",`^${M[O.FULLPLAIN]}$`);oe("LOOSEPLAIN",`[v=\\s]*${M[O.MAINVERSIONLOOSE]}${M[O.PRERELEASELOOSE]}?${M[O.BUILD]}?`);oe("LOOSE",`^${M[O.LOOSEPLAIN]}$`);oe("GTLT","((?:<|>)?=?)");oe("XRANGEIDENTIFIERLOOSE",`${M[O.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);oe("XRANGEIDENTIFIER",`${M[O.NUMERICIDENTIFIER]}|x|X|\\*`);oe("XRANGEPLAIN",`[v=\\s]*(${M[O.XRANGEIDENTIFIER]})(?:\\.(${M[O.XRANGEIDENTIFIER]})(?:\\.(${M[O.XRANGEIDENTIFIER]})(?:${M[O.PRERELEASE]})?${M[O.BUILD]}?)?)?`);oe("XRANGEPLAINLOOSE",`[v=\\s]*(${M[O.XRANGEIDENTIFIERLOOSE]})(?:\\.(${M[O.XRANGEIDENTIFIERLOOSE]})(?:\\.(${M[O.XRANGEIDENTIFIERLOOSE]})(?:${M[O.PRERELEASELOOSE]})?${M[O.BUILD]}?)?)?`);oe("XRANGE",`^${M[O.GTLT]}\\s*${M[O.XRANGEPLAIN]}$`);oe("XRANGELOOSE",`^${M[O.GTLT]}\\s*${M[O.XRANGEPLAINLOOSE]}$`);oe("COERCEPLAIN",`(^|[^\\d])(\\d{1,${l0}})(?:\\.(\\d{1,${l0}}))?(?:\\.(\\d{1,${l0}}))?`);oe("COERCE",`${M[O.COERCEPLAIN]}(?:$|[^\\d])`);oe("COERCEFULL",M[O.COERCEPLAIN]+`(?:${M[O.PRERELEASE]})?(?:${M[O.BUILD]})?(?:$|[^\\d])`);oe("COERCERTL",M[O.COERCE],!0);oe("COERCERTLFULL",M[O.COERCEFULL],!0);oe("LONETILDE","(?:~>?)");oe("TILDETRIM",`(\\s*)${M[O.LONETILDE]}\\s+`,!0);Yn.tildeTrimReplace="$1~";oe("TILDE",`^${M[O.LONETILDE]}${M[O.XRANGEPLAIN]}$`);oe("TILDELOOSE",`^${M[O.LONETILDE]}${M[O.XRANGEPLAINLOOSE]}$`);oe("LONECARET","(?:\\^)");oe("CARETTRIM",`(\\s*)${M[O.LONECARET]}\\s+`,!0);Yn.caretTrimReplace="$1^";oe("CARET",`^${M[O.LONECARET]}${M[O.XRANGEPLAIN]}$`);oe("CARETLOOSE",`^${M[O.LONECARET]}${M[O.XRANGEPLAINLOOSE]}$`);oe("COMPARATORLOOSE",`^${M[O.GTLT]}\\s*(${M[O.LOOSEPLAIN]})$|^$`);oe("COMPARATOR",`^${M[O.GTLT]}\\s*(${M[O.FULLPLAIN]})$|^$`);oe("COMPARATORTRIM",`(\\s*)${M[O.GTLT]}\\s*(${M[O.LOOSEPLAIN]}|${M[O.XRANGEPLAIN]})`,!0);Yn.comparatorTrimReplace="$1$2$3";oe("HYPHENRANGE",`^\\s*(${M[O.XRANGEPLAIN]})\\s+-\\s+(${M[O.XRANGEPLAIN]})\\s*$`);oe("HYPHENRANGELOOSE",`^\\s*(${M[O.XRANGEPLAINLOOSE]})\\s+-\\s+(${M[O.XRANGEPLAINLOOSE]})\\s*$`);oe("STAR","(<|>)?=?\\s*\\*");oe("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");oe("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Qg=f((QGe,d$)=>{"use strict";var Zhe=Object.freeze({loose:!0}),efe=Object.freeze({}),tfe=o(t=>t?typeof t!="object"?Zhe:t:efe,"parseOptions");d$.exports=tfe});var A0=f((NGe,h$)=>{"use strict";var p$=/^[0-9]+$/,m$=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tm$(e,t),"rcompareIdentifiers");h$.exports={compareIdentifiers:m$,rcompareIdentifiers:rfe}});var or=f((RGe,g$)=>{"use strict";var xg=Gd(),{MAX_LENGTH:f$,MAX_SAFE_INTEGER:Ng}=qd(),{safeRe:Sg,t:Rg}=Xl(),sfe=Qg(),{compareIdentifiers:d0}=A0(),p0=class t{static{o(this,"SemVer")}constructor(e,r){if(r=sfe(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>f$)throw new TypeError(`version is longer than ${f$} characters`);xg("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?Sg[Rg.LOOSE]:Sg[Rg.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>Ng||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Ng||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Ng||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(xg("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 d0(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(xg("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 d0(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?Sg[Rg.PRERELEASELOOSE]:Sg[Rg.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]),d0(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}};g$.exports=p0});var Xa=f((vGe,y$)=>{"use strict";var E$=or(),nfe=o((t,e,r=!1)=>{if(t instanceof E$)return t;try{return new E$(t,e)}catch(s){if(!r)return null;throw s}},"parse");y$.exports=nfe});var I$=f((kGe,C$)=>{"use strict";var ife=Xa(),ofe=o((t,e)=>{let r=ife(t,e);return r?r.version:null},"valid");C$.exports=ofe});var w$=f((_Ge,B$)=>{"use strict";var afe=Xa(),cfe=o((t,e)=>{let r=afe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");B$.exports=cfe});var x$=f((MGe,Q$)=>{"use strict";var b$=or(),lfe=o((t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new b$(t instanceof b$?t.version:t,r).inc(e,s,n).version}catch{return null}},"inc");Q$.exports=lfe});var R$=f((FGe,S$)=>{"use strict";var N$=Xa(),ufe=o((t,e)=>{let r=N$(t,null,!0),s=N$(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");S$.exports=ufe});var v$=f((qGe,T$)=>{"use strict";var Afe=or(),dfe=o((t,e)=>new Afe(t,e).major,"major");T$.exports=dfe});var k$=f((HGe,P$)=>{"use strict";var pfe=or(),mfe=o((t,e)=>new pfe(t,e).minor,"minor");P$.exports=mfe});var _$=f(($Ge,D$)=>{"use strict";var hfe=or(),ffe=o((t,e)=>new hfe(t,e).patch,"patch");D$.exports=ffe});var M$=f((YGe,L$)=>{"use strict";var gfe=Xa(),Efe=o((t,e)=>{let r=gfe(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");L$.exports=Efe});var _s=f((WGe,F$)=>{"use strict";var O$=or(),yfe=o((t,e,r)=>new O$(t,r).compare(new O$(e,r)),"compare");F$.exports=yfe});var q$=f((KGe,U$)=>{"use strict";var Cfe=_s(),Ife=o((t,e,r)=>Cfe(e,t,r),"rcompare");U$.exports=Ife});var H$=f((ZGe,G$)=>{"use strict";var Bfe=_s(),wfe=o((t,e)=>Bfe(t,e,!0),"compareLoose");G$.exports=wfe});var Tg=f((tHe,$$)=>{"use strict";var z$=or(),bfe=o((t,e,r)=>{let s=new z$(t,r),n=new z$(e,r);return s.compare(n)||s.compareBuild(n)},"compareBuild");$$.exports=bfe});var Y$=f((sHe,V$)=>{"use strict";var Qfe=Tg(),xfe=o((t,e)=>t.sort((r,s)=>Qfe(r,s,e)),"sort");V$.exports=xfe});var W$=f((iHe,J$)=>{"use strict";var Nfe=Tg(),Sfe=o((t,e)=>t.sort((r,s)=>Nfe(s,r,e)),"rsort");J$.exports=Sfe});var Hd=f((aHe,j$)=>{"use strict";var Rfe=_s(),Tfe=o((t,e,r)=>Rfe(t,e,r)>0,"gt");j$.exports=Tfe});var vg=f((lHe,K$)=>{"use strict";var vfe=_s(),Pfe=o((t,e,r)=>vfe(t,e,r)<0,"lt");K$.exports=Pfe});var m0=f((AHe,X$)=>{"use strict";var kfe=_s(),Dfe=o((t,e,r)=>kfe(t,e,r)===0,"eq");X$.exports=Dfe});var h0=f((pHe,Z$)=>{"use strict";var _fe=_s(),Lfe=o((t,e,r)=>_fe(t,e,r)!==0,"neq");Z$.exports=Lfe});var Pg=f((hHe,eV)=>{"use strict";var Mfe=_s(),Ofe=o((t,e,r)=>Mfe(t,e,r)>=0,"gte");eV.exports=Ofe});var kg=f((gHe,tV)=>{"use strict";var Ffe=_s(),Ufe=o((t,e,r)=>Ffe(t,e,r)<=0,"lte");tV.exports=Ufe});var f0=f((yHe,rV)=>{"use strict";var qfe=m0(),Gfe=h0(),Hfe=Hd(),zfe=Pg(),$fe=vg(),Vfe=kg(),Yfe=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 qfe(t,r,s);case"!=":return Gfe(t,r,s);case">":return Hfe(t,r,s);case">=":return zfe(t,r,s);case"<":return $fe(t,r,s);case"<=":return Vfe(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");rV.exports=Yfe});var nV=f((IHe,sV)=>{"use strict";var Jfe=or(),Wfe=Xa(),{safeRe:Dg,t:_g}=Xl(),jfe=o((t,e)=>{if(t instanceof Jfe)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?Dg[_g.COERCEFULL]:Dg[_g.COERCE]);else{let l=e.includePrerelease?Dg[_g.COERCERTLFULL]:Dg[_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 Wfe(`${s}.${n}.${i}${a}${c}`,e)},"coerce");sV.exports=jfe});var oV=f((wHe,iV)=>{"use strict";var g0=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}};iV.exports=g0});var Ls=f((QHe,uV)=>{"use strict";var Kfe=/\s+/g,E0=class t{static{o(this,"Range")}constructor(e,r){if(r=Zfe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof y0)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(Kfe," "),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=>!cV(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&&oge(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&&nge)|(this.options.loose&&ige))+":"+e,n=aV.get(s);if(n)return n;let i=this.options.loose,a=i?fr[ar.HYPHENRANGELOOSE]:fr[ar.HYPHENRANGE];e=e.replace(a,fge(this.options.includePrerelease)),qe("hyphen replace",e),e=e.replace(fr[ar.COMPARATORTRIM],tge),qe("comparator trim",e),e=e.replace(fr[ar.TILDETRIM],rge),qe("tilde trim",e),e=e.replace(fr[ar.CARETTRIM],sge),qe("caret trim",e);let c=e.split(" ").map(d=>age(d,this.options)).join(" ").split(/\s+/).map(d=>hge(d,this.options));i&&(c=c.filter(d=>(qe("loose invalid filter",d,this.options),!!d.match(fr[ar.COMPARATORLOOSE])))),qe("range list",c);let l=new Map,u=c.map(d=>new y0(d,this.options));for(let d of u){if(cV(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let A=[...l.values()];return aV.set(s,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>lV(s,r)&&e.set.some(n=>lV(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 ege(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),oge=o(t=>t.value==="","isAny"),lV=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"),age=o((t,e)=>(t=t.replace(fr[ar.BUILD],""),qe("comp",t,e),t=uge(t,e),qe("caret",t),t=cge(t,e),qe("tildes",t),t=dge(t,e),qe("xrange",t),t=mge(t,e),qe("stars",t),t),"parseComparator"),gr=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),cge=o((t,e)=>t.trim().split(/\s+/).map(r=>lge(r,e)).join(" "),"replaceTildes"),lge=o((t,e)=>{let r=e.loose?fr[ar.TILDELOOSE]:fr[ar.TILDE];return t.replace(r,(s,n,i,a,c)=>{qe("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?(qe("replaceTilde pr",c),l=`>=${n}.${i}.${a}-${c} <${n}.${+i+1}.0-0`):l=`>=${n}.${i}.${a} <${n}.${+i+1}.0-0`,qe("tilde return",l),l})},"replaceTilde"),uge=o((t,e)=>t.trim().split(/\s+/).map(r=>Age(r,e)).join(" "),"replaceCarets"),Age=o((t,e)=>{qe("caret",t,e);let r=e.loose?fr[ar.CARETLOOSE]:fr[ar.CARET],s=e.includePrerelease?"-0":"";return t.replace(r,(n,i,a,c,l)=>{qe("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?(qe("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`):(qe("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`),qe("caret return",u),u})},"replaceCaret"),dge=o((t,e)=>(qe("replaceXRanges",t,e),t.split(/\s+/).map(r=>pge(r,e)).join(" ")),"replaceXRanges"),pge=o((t,e)=>{t=t.trim();let r=e.loose?fr[ar.XRANGELOOSE]:fr[ar.XRANGE];return t.replace(r,(s,n,i,a,c,l)=>{qe("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`),qe("xRange return",s),s})},"replaceXRange"),mge=o((t,e)=>(qe("replaceStars",t,e),t.trim().replace(fr[ar.STAR],"")),"replaceStars"),hge=o((t,e)=>(qe("replaceGTE0",t,e),t.trim().replace(fr[e.includePrerelease?ar.GTE0PRE:ar.GTE0],"")),"replaceGTE0"),fge=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"),gge=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 zd=f((NHe,fV)=>{"use strict";var $d=Symbol("SemVer ANY"),B0=class t{static{o(this,"Comparator")}static get ANY(){return $d}constructor(e,r){if(r=AV(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),I0("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===$d?this.value="":this.value=this.operator+this.semver.version,I0("comp",this)}parse(e){let r=this.options.loose?dV[pV.COMPARATORLOOSE]:dV[pV.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 mV(s[2],this.options.loose):this.semver=$d}toString(){return this.value}test(e){if(I0("Comparator.test",e,this.options.loose),this.semver===$d||e===$d)return!0;if(typeof e=="string")try{e=new mV(e,this.options)}catch{return!1}return C0(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 hV(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new hV(this.value,r).test(e.semver):(r=AV(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("=")||C0(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||C0(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};fV.exports=B0;var AV=Qg(),{safeRe:dV,t:pV}=Xl(),C0=f0(),I0=Gd(),mV=or(),hV=Ls()});var Vd=f((RHe,gV)=>{"use strict";var Ege=Ls(),yge=o((t,e,r)=>{try{e=new Ege(e,r)}catch{return!1}return e.test(t)},"satisfies");gV.exports=yge});var yV=f((vHe,EV)=>{"use strict";var Cge=Ls(),Ige=o((t,e)=>new Cge(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),"toComparators");EV.exports=Ige});var IV=f((kHe,CV)=>{"use strict";var Bge=or(),wge=Ls(),bge=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 Bge(s,r))}),s},"maxSatisfying");CV.exports=bge});var wV=f((_He,BV)=>{"use strict";var Qge=or(),xge=Ls(),Nge=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 Qge(s,r))}),s},"minSatisfying");BV.exports=Nge});var xV=f((MHe,QV)=>{"use strict";var w0=or(),Sge=Ls(),bV=Hd(),Rge=o((t,e)=>{t=new Sge(t,e);let r=new w0("0.0.0");if(t.test(r)||(r=new w0("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let c=new w0(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||bV(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||bV(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");QV.exports=Rge});var SV=f((FHe,NV)=>{"use strict";var Tge=Ls(),vge=o((t,e)=>{try{return new Tge(t,e).range||"*"}catch{return null}},"validRange");NV.exports=vge});var Lg=f((qHe,PV)=>{"use strict";var Pge=or(),vV=zd(),{ANY:kge}=vV,Dge=Ls(),_ge=Vd(),RV=Hd(),TV=vg(),Lge=kg(),Mge=Pg(),Oge=o((t,e,r,s)=>{t=new Pge(t,s),e=new Dge(e,s);let n,i,a,c,l;switch(r){case">":n=RV,i=Lge,a=TV,c=">",l=">=";break;case"<":n=TV,i=Mge,a=RV,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(_ge(t,e,s))return!1;for(let u=0;u{m.semver===kge&&(m=new vV(">=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");PV.exports=Oge});var DV=f((HHe,kV)=>{"use strict";var Fge=Lg(),Uge=o((t,e,r)=>Fge(t,e,">",r),"gtr");kV.exports=Uge});var LV=f(($He,_V)=>{"use strict";var qge=Lg(),Gge=o((t,e,r)=>qge(t,e,"<",r),"ltr");_V.exports=Gge});var FV=f((YHe,OV)=>{"use strict";var MV=Ls(),Hge=o((t,e,r)=>(t=new MV(t,r),e=new MV(e,r),t.intersects(e,r)),"intersects");OV.exports=Hge});var qV=f((WHe,UV)=>{"use strict";var zge=Vd(),$ge=_s();UV.exports=(t,e,r)=>{let s=[],n=null,i=null,a=t.sort((A,d)=>$ge(A,d,r));for(let A of a)zge(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 GV=Ls(),Q0=zd(),{ANY:b0}=Q0,Yd=Vd(),x0=_s(),Vge=o((t,e,r={})=>{if(t===e)return!0;t=new GV(t,r),e=new GV(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let a=Jge(n,i,r);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},"subset"),Yge=[new Q0(">=0.0.0-0")],HV=[new Q0(">=0.0.0")],Jge=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===b0){if(e.length===1&&e[0].semver===b0)return!0;r.includePrerelease?t=Yge:t=HV}if(e.length===1&&e[0].semver===b0){if(r.includePrerelease)return!0;e=HV}let s=new Set,n,i;for(let m of t)m.operator===">"||m.operator===">="?n=zV(n,m,r):m.operator==="<"||m.operator==="<="?i=$V(i,m,r):s.add(m.semver);if(s.size>1)return null;let a;if(n&&i){if(a=x0(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&&!Yd(m,String(n),r)||i&&!Yd(m,String(i),r))return null;for(let h of e)if(!Yd(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=zV(n,m,r),c===m&&c!==n)return!1}else if(n.operator===">="&&!Yd(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=$V(i,m,r),l===m&&l!==i)return!1}else if(i.operator==="<="&&!Yd(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"),zV=o((t,e,r)=>{if(!t)return e;let s=x0(t.semver,e.semver,r);return s>0?t:s<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),$V=o((t,e,r)=>{if(!t)return e;let s=x0(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");VV.exports=Vge});var KV=f((XHe,jV)=>{"use strict";var N0=Xl(),JV=qd(),Wge=or(),WV=A0(),jge=Xa(),Kge=I$(),Xge=w$(),Zge=x$(),eEe=R$(),tEe=v$(),rEe=k$(),sEe=_$(),nEe=M$(),iEe=_s(),oEe=q$(),aEe=H$(),cEe=Tg(),lEe=Y$(),uEe=W$(),AEe=Hd(),dEe=vg(),pEe=m0(),mEe=h0(),hEe=Pg(),fEe=kg(),gEe=f0(),EEe=nV(),yEe=zd(),CEe=Ls(),IEe=Vd(),BEe=yV(),wEe=IV(),bEe=wV(),QEe=xV(),xEe=SV(),NEe=Lg(),SEe=DV(),REe=LV(),TEe=FV(),vEe=qV(),PEe=YV();jV.exports={parse:jge,valid:Kge,clean:Xge,inc:Zge,diff:eEe,major:tEe,minor:rEe,patch:sEe,prerelease:nEe,compare:iEe,rcompare:oEe,compareLoose:aEe,compareBuild:cEe,sort:lEe,rsort:uEe,gt:AEe,lt:dEe,eq:pEe,neq:mEe,gte:hEe,lte:fEe,cmp:gEe,coerce:EEe,Comparator:yEe,Range:CEe,satisfies:IEe,toComparators:BEe,maxSatisfying:wEe,minSatisfying:bEe,minVersion:QEe,validRange:xEe,outside:NEe,gtr:SEe,ltr:REe,intersects:TEe,simplifyRange:vEe,subset:PEe,SemVer:Wge,re:N0.re,src:N0.src,tokens:N0.t,SEMVER_SPEC_VERSION:JV.SEMVER_SPEC_VERSION,RELEASE_TYPES:JV.RELEASE_TYPES,compareIdentifiers:WV.compareIdentifiers,rcompareIdentifiers:WV.rcompareIdentifiers}});var FY=f((sVe,OY)=>{var iu=1e3,ou=iu*60,au=ou*60,ic=au*24,mye=ic*7,hye=ic*365.25;OY.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return fye(t);if(r==="number"&&isFinite(t))return e.long?Eye(t):gye(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function fye(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*hye;case"weeks":case"week":case"w":return r*mye;case"days":case"day":case"d":return r*ic;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*ou;case"seconds":case"second":case"secs":case"sec":case"s":return r*iu;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(fye,"parse");function gye(t){var e=Math.abs(t);return e>=ic?Math.round(t/ic)+"d":e>=au?Math.round(t/au)+"h":e>=ou?Math.round(t/ou)+"m":e>=iu?Math.round(t/iu)+"s":t+"ms"}o(gye,"fmtShort");function Eye(t){var e=Math.abs(t);return e>=ic?aE(t,e,ic,"day"):e>=au?aE(t,e,au,"hour"):e>=ou?aE(t,e,ou,"minute"):e>=iu?aE(t,e,iu,"second"):t+" ms"}o(Eye,"fmtLong");function aE(t,e,r,s){var n=e>=r*1.5;return Math.round(t/r)+" "+s+(n?"s":"")}o(aE,"plural")});var X0=f((iVe,UY)=>{function yye(t){r.debug=r,r.default=r,r.coerce=l,r.disable=i,r.enable=n,r.enabled=a,r.humanize=FY(),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(D==="%%")return"%";B++;let pe=r.formatters[q];if(typeof pe=="function"){let be=C[B];D=pe.call(E,be),C.splice(B,1),B--}return D}),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{ls.formatArgs=Iye;ls.save=Bye;ls.load=wye;ls.useColors=Cye;ls.storage=bye();ls.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`."))}})();ls.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 Cye(){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(Cye,"useColors");function Iye(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+cE.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(Iye,"formatArgs");ls.log=console.debug||console.log||(()=>{});function Bye(t){try{t?ls.storage.setItem("debug",t):ls.storage.removeItem("debug")}catch{}}o(Bye,"save");function wye(){let t;try{t=ls.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(wye,"load");function bye(){try{return localStorage}catch{}}o(bye,"localstorage");cE.exports=X0()(ls);var{formatters:Qye}=cE.exports;Qye.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var HY=f((cVe,GY)=>{"use strict";GY.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"),zY=require("tty"),Os=HY(),{env:qt}=process,Ko;Os("no-color")||Os("no-colors")||Os("color=false")||Os("color=never")?Ko=0:(Os("color")||Os("colors")||Os("color=true")||Os("color=always"))&&(Ko=1);"FORCE_COLOR"in qt&&(qt.FORCE_COLOR==="true"?Ko=1:qt.FORCE_COLOR==="false"?Ko=0:Ko=qt.FORCE_COLOR.length===0?1:Math.min(parseInt(qt.FORCE_COLOR,10),3));function Z0(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o(Z0,"translateLevel");function eN(t,e){if(Ko===0)return 0;if(Os("color=16m")||Os("color=full")||Os("color=truecolor"))return 3;if(Os("color=256"))return 2;if(t&&!e&&Ko===void 0)return 0;let r=Ko||0;if(qt.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 qt)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(s=>s in qt)||qt.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in qt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(qt.TEAMCITY_VERSION)?1:0;if(qt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in qt){let s=parseInt((qt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(qt.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(qt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(qt.TERM)||"COLORTERM"in qt?1:r}o(eN,"supportsColor");function Nye(t){let e=eN(t,t&&t.isTTY);return Z0(e)}o(Nye,"getSupportLevel");$Y.exports={supportsColor:Nye,stdout:Z0(eN(!0,zY.isatty(1))),stderr:Z0(eN(!0,zY.isatty(2)))}});var JY=f((Wt,uE)=>{var Sye=require("tty"),lE=require("util");Wt.init=_ye;Wt.log=Pye;Wt.formatArgs=Tye;Wt.save=kye;Wt.load=Dye;Wt.useColors=Rye;Wt.destroy=lE.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Wt.colors=[6,2,3,4,5,1];try{let t=VY();t&&(t.stderr||t).level>=2&&(Wt.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{}Wt.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 Rye(){return"colors"in Wt.inspectOpts?!!Wt.inspectOpts.colors:Sye.isatty(process.stderr.fd)}o(Rye,"useColors");function Tye(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+"+uE.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=vye()+e+" "+t[0]}o(Tye,"formatArgs");function vye(){return Wt.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(vye,"getDate");function Pye(...t){return process.stderr.write(lE.format(...t)+` `)}o(Pye,"log");function kye(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(kye,"save");function Dye(){return process.env.DEBUG}o(Dye,"load");function _ye(t){t.inspectOpts={};let e=Object.keys(Wt.inspectOpts);for(let r=0;re.trim()).join(" ")};YY.O=function(t){return this.inspectOpts.colors=this.useColors,lE.inspect(t,this.inspectOpts)}});var AE=f((dVe,tN)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?tN.exports=qY():tN.exports=JY()});var KY=f(Mr=>{"use strict";var Lye=Mr&&Mr.__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]})),Mye=Mr&&Mr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),WY=Mr&&Mr.__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)&&Lye(e,t,r);return Mye(e,t),e};Object.defineProperty(Mr,"__esModule",{value:!0});Mr.req=Mr.json=Mr.toBuffer=void 0;var Oye=WY(require("http")),Fye=WY(require("https"));async function jY(t){let e=0,r=[];for await(let s of t)e+=s.length,r.push(s);return Buffer.concat(r,e)}o(jY,"toBuffer");Mr.toBuffer=jY;async function Uye(t){let r=(await jY(t)).toString("utf8");try{return JSON.parse(r)}catch(s){let n=s;throw n.message+=` (input: ${r})`,n}}o(Uye,"json");Mr.json=Uye;function qye(t,e={}){let s=((typeof t=="string"?t:t.href).startsWith("https:")?Fye:Oye).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(qye,"req");Mr.req=qye});var sN=f(us=>{"use strict";var ZY=us&&us.__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]})),Gye=us&&us.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),eJ=us&&us.__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)&&ZY(e,t,r);return Gye(e,t),e},Hye=us&&us.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&ZY(e,t,r)};Object.defineProperty(us,"__esModule",{value:!0});us.Agent=void 0;var zye=eJ(require("net")),XY=eJ(require("http")),$ye=require("https");Hye(KY(),us);var Kn=Symbol("AgentBaseInternalState"),rN=class extends XY.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Kn]={}}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 zye.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))?$ye.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 XY.Agent)return c.addRequest(e,n);this[Kn].currentSocket=c,super.createSocket(e,r,s)},c=>{this.decrementSockets(i,a),s(c)})}createConnection(){let e=this[Kn].currentSocket;if(this[Kn].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Kn].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Kn]&&(this[Kn].defaultPort=e)}get protocol(){return this[Kn].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Kn]&&(this[Kn].protocol=e)}};us.Agent=rN});var tJ=f(cu=>{"use strict";var Vye=cu&&cu.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(cu,"__esModule",{value:!0});cu.parseProxyResponse=void 0;var Yye=Vye(AE()),dE=(0,Yye.default)("https-proxy-agent:parse-proxy-response");function Jye(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(),dE("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(A){a(),dE("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){dE("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(),D=I.slice(B+1).trimStart(),q=y[N];typeof q=="string"?y[N]=[q,D]:Array.isArray(q)?q.push(D):y[N]=D}dE("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(Jye,"parseProxyResponse");cu.parseProxyResponse=Jye});var oJ=f(Fs=>{"use strict";var Wye=Fs&&Fs.__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]})),jye=Fs&&Fs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),nJ=Fs&&Fs.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Wye(e,t,r);return jye(e,t),e},iJ=Fs&&Fs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Fs,"__esModule",{value:!0});Fs.HttpsProxyAgent=void 0;var np=nJ(require("net")),rJ=nJ(require("tls")),Kye=iJ(require("assert")),Xye=iJ(AE()),Zye=sN(),eCe=require("url"),tCe=tJ(),ip=(0,Xye.default)("https-proxy-agent"),pE=class extends Zye.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new eCe.URL(e):e,this.proxyHeaders=r?.headers??{},ip("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?sJ(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:"){ip("Creating `tls.Socket`: %o",this.connectOpts);let p=this.connectOpts.servername||this.connectOpts.host;n=rJ.connect({...this.connectOpts,servername:p&&np.isIP(p)?void 0:p})}else ip("Creating `net.Socket`: %o",this.connectOpts),n=np.connect(this.connectOpts);let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=np.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,tCe.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",rCe),r.secureEndpoint){ip("Upgrading socket connection to TLS");let p=r.servername||r.host;return rJ.connect({...sJ(r,"host","path","port"),socket:n,servername:np.isIP(p)?void 0:p})}return n}n.destroy();let d=new np.Socket({writable:!1});return d.readable=!0,e.once("socket",p=>{ip("Replaying proxy buffer for failed request"),(0,Kye.default)(p.listenerCount("data")>0),p.push(A),p.push(null)}),d}};pE.protocols=["http","https"];Fs.HttpsProxyAgent=pE;function rCe(t){t.resume()}o(rCe,"resume");function sJ(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(sJ,"omit")});var lJ=f(Us=>{"use strict";var sCe=Us&&Us.__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]})),nCe=Us&&Us.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),cJ=Us&&Us.__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)&&sCe(e,t,r);return nCe(e,t),e},iCe=Us&&Us.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Us,"__esModule",{value:!0});Us.HttpProxyAgent=void 0;var oCe=cJ(require("net")),aCe=cJ(require("tls")),cCe=iCe(AE()),lCe=require("events"),uCe=sN(),aJ=require("url"),lu=(0,cCe.default)("http-proxy-agent"),mE=class extends uCe.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new aJ.URL(e):e,this.proxyHeaders=r?.headers??{},lu("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?ACe(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 aJ.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;lu("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(lu("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),lu("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(lu("Creating `tls.Socket`: %o",this.connectOpts),i=aCe.connect(this.connectOpts)):(lu("Creating `net.Socket`: %o",this.connectOpts),i=oCe.connect(this.connectOpts)),await(0,lCe.once)(i,"connect"),i}};mE.protocols=["http","https"];Us.HttpProxyAgent=mE;function ACe(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(ACe,"omit")});var vJ=f(SE=>{"use strict";Object.defineProperty(SE,"__esModule",{value:!0});SE.state=void 0;SE.state={instrumenterImplementation:void 0}});var JJ=f(kE=>{"use strict";Object.defineProperty(kE,"__esModule",{value:!0});kE.state=void 0;kE.state={operationRequestMap:new WeakMap}});var xW=f(Su=>{"use strict";Object.defineProperty(Su,"__esModule",{value:!0});var TQe=require("os"),vQe=require("util");function PQe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(PQe,"_interopDefaultLegacy");var kQe=PQe(vQe);function DQe(t,...e){process.stderr.write(`${kQe.default.format(t,...e)}${TQe.EOL}`)}o(DQe,"log");var fW=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,EW,kv=[],Dv=[],Zy=[];fW&&_v(fW);var yW=Object.assign(t=>CW(t),{enable:_v,enabled:Lv,disable:_Qe,log:DQe});function _v(t){EW=t,kv=[],Dv=[];let e=/\*/g,r=t.split(",").map(s=>s.trim().replace(e,".*?"));for(let s of r)s.startsWith("-")?Dv.push(new RegExp(`^${s.substr(1)}$`)):kv.push(new RegExp(`^${s}$`));for(let s of Zy)s.enabled=Lv(s.namespace)}o(_v,"enable");function Lv(t){if(t.endsWith("*"))return!0;for(let e of Dv)if(e.test(t))return!1;for(let e of kv)if(e.test(t))return!0;return!1}o(Lv,"enabled");function _Qe(){let t=EW||"";return _v(""),t}o(_Qe,"disable");function CW(t){let e=Object.assign(r,{enabled:Lv(t),destroy:LQe,log:yW.log,namespace:t,extend:MQe});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return o(r,"debug"),Zy.push(e),e}o(CW,"createDebugger");function LQe(){let t=Zy.indexOf(this);return t>=0?(Zy.splice(t,1),!0):!1}o(LQe,"destroy");function MQe(t){let e=CW(`${this.namespace}:${t}`);return e.log=this.log,e}o(MQe,"extend");var Vp=yW,IW=new Set,Ky=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,eC,tC=Vp("azure");tC.log=(...t)=>{Vp.log(...t)};var Mv=["verbose","info","warning","error"];Ky&&(QW(Ky)?BW(Ky):console.error(`AZURE_LOG_LEVEL set to unknown log level '${Ky}'; logging is not enabled. Acceptable values: ${Mv.join(", ")}.`));function BW(t){if(t&&!QW(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${Mv.join(",")}`);eC=t;let e=[];for(let r of IW)bW(r)&&e.push(r.namespace);Vp.enable(e.join(","))}o(BW,"setLogLevel");function OQe(){return eC}o(OQe,"getLogLevel");var gW={verbose:400,info:300,warning:200,error:100};function FQe(t){let e=tC.extend(t);return wW(tC,e),{error:Xy(e,"error"),warning:Xy(e,"warning"),info:Xy(e,"info"),verbose:Xy(e,"verbose")}}o(FQe,"createClientLogger");function wW(t,e){e.log=(...r)=>{t.log(...r)}}o(wW,"patchLogMethod");function Xy(t,e){let r=Object.assign(t.extend(e),{level:e});if(wW(t,r),bW(r)){let s=Vp.disable();Vp.enable(s+","+r.namespace)}return IW.add(r),r}o(Xy,"createLogger");function bW(t){return!!(eC&&gW[t.level]<=gW[eC])}o(bW,"shouldEnable");function QW(t){return Mv.includes(t)}o(QW,"isAzureLogLevel");Su.AzureLogger=tC;Su.createClientLogger=FQe;Su.getLogLevel=OQe;Su.setLogLevel=BW});var Uv=f(Jp=>{"use strict";Object.defineProperty(Jp,"__esModule",{value:!0});var Ru=new WeakMap,rC=new WeakMap,Yp=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,Ru.set(this,[]),rC.set(this,!1)}get aborted(){if(!rC.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return rC.get(this)}static get none(){return new t}addEventListener(e,r){if(!Ru.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");Ru.get(this).push(r)}removeEventListener(e,r){if(!Ru.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let s=Ru.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 NW(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=Ru.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),rC.set(t,!0)}o(NW,"abortSignal");var Ov=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},Fv=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new Yp,!!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(){NW(this._signal)}static timeout(e){let r=new Yp,s=setTimeout(NW,e,r);return typeof s.unref=="function"&&s.unref(),r}};Jp.AbortController=Fv;Jp.AbortError=Ov;Jp.AbortSignal=Yp});var PW=f(ot=>{"use strict";Object.defineProperty(ot,"__esModule",{value:!0});var UQe=Uv(),Yv=require("crypto");function SW(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:n}=e??{};return new Promise((i,a)=>{function c(){a(new UQe.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(SW,"createAbortablePromise");var qQe="The delay was aborted.";function GQe(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return SW(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:s,abortErrorMsg:n??qQe})}o(GQe,"delay");function HQe(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(HQe,"getRandomIntegerInclusive");function RW(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(RW,"isObject");function TW(t){if(RW(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(TW,"isError");function zQe(t){if(TW(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(zQe,"getErrorMessage");async function $Qe(t,e,r){let s=Buffer.from(t,"base64");return Yv.createHmac("sha256",s).update(e).digest(r)}o($Qe,"computeSha256Hmac");async function VQe(t,e){return Yv.createHash("sha256").update(t).digest(e)}o(VQe,"computeSha256Hash");function Jv(t){return typeof t<"u"&&t!==null}o(Jv,"isDefined");function YQe(t,e){if(!Jv(t)||typeof t!="object")return!1;for(let r of e)if(!vW(t,r))return!1;return!0}o(YQe,"isObjectWithProperties");function vW(t,e){return Jv(t)&&typeof t=="object"&&e in t}o(vW,"objectHasProperty");function JQe(){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(JQe,"generateUUID");var qv,Vv=typeof((qv=globalThis?.crypto)===null||qv===void 0?void 0:qv.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):Yv.randomUUID;Vv||(Vv=JQe);function WQe(){return Vv()}o(WQe,"randomUUID");var Gv,Hv,zv,$v,jQe=typeof window<"u"&&typeof window.document<"u",KQe=typeof self=="object"&&typeof self?.importScripts=="function"&&(((Gv=self.constructor)===null||Gv===void 0?void 0:Gv.name)==="DedicatedWorkerGlobalScope"||((Hv=self.constructor)===null||Hv===void 0?void 0:Hv.name)==="ServiceWorkerGlobalScope"||((zv=self.constructor)===null||zv===void 0?void 0:zv.name)==="SharedWorkerGlobalScope"),XQe=typeof process<"u"&&!!process.version&&!!(!(($v=process.versions)===null||$v===void 0)&&$v.node),ZQe=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",exe=typeof Bun<"u"&&typeof Bun.version<"u",txe=typeof navigator<"u"&&navigator?.product==="ReactNative";function rxe(t,e){switch(e){case"utf-8":return oxe(t);case"base64":return nxe(t);case"base64url":return ixe(t)}}o(rxe,"uint8ArrayToString");function sxe(t,e){switch(e){case"utf-8":return axe(t);case"base64":return cxe(t);case"base64url":return lxe(t)}}o(sxe,"stringToUint8Array");function nxe(t){return Buffer.from(t).toString("base64")}o(nxe,"uint8ArrayToBase64");function ixe(t){return Buffer.from(t).toString("base64url")}o(ixe,"uint8ArrayToBase64Url");function oxe(t){return Buffer.from(t).toString("utf-8")}o(oxe,"uint8ArrayToUtf8String");function axe(t){return Buffer.from(t)}o(axe,"utf8StringToUint8Array");function cxe(t){return Buffer.from(t,"base64")}o(cxe,"base64ToUint8Array");function lxe(t){return Buffer.from(t,"base64url")}o(lxe,"base64UrlToUint8Array");ot.computeSha256Hash=VQe;ot.computeSha256Hmac=$Qe;ot.createAbortablePromise=SW;ot.delay=GQe;ot.getErrorMessage=zQe;ot.getRandomIntegerInclusive=HQe;ot.isBrowser=jQe;ot.isBun=exe;ot.isDefined=Jv;ot.isDeno=ZQe;ot.isError=TW;ot.isNode=XQe;ot.isObject=RW;ot.isObjectWithProperties=YQe;ot.isReactNative=txe;ot.isWebWorker=KQe;ot.objectHasProperty=vW;ot.randomUUID=WQe;ot.stringToUint8Array=sxe;ot.uint8ArrayToString=rxe});var ZW=f(wc=>{"use strict";Object.defineProperty(wc,"__esModule",{value:!0});var uxe=xW(),kW=Uv(),Axe=PW(),Bc=uxe.createClientLogger("core-lro"),_W=2e3,LW=["succeeded","canceled","failed"];function MW(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(MW,"deserializeState");function DW(t){let{state:e,stateProxy:r,isOperationError:s}=t;return n=>{throw s(n)&&(r.setError(e,n),r.setFailed(e)),n}}o(DW,"setStateError");function dxe(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(dxe,"appendReadableErrorMessage");function pxe(t){let e=t.message,r=t.code,s=t;for(;s.innererror;)s=s.innererror,r=s.code,e=dxe(e,s.message);return{code:r,message:e}}o(pxe,"simplifyError");function OW(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}=pxe(u);A=`. ${p}. ${m}`}let d=`The long-running operation has failed${A}`;r.setError(e,new Error(d)),r.setFailed(e),Bc.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,mxe({response:c,state:e,processResult:i}))}o(OW,"processOperationStatus");function mxe(t){let{processResult:e,response:r,state:s}=t;return e?e(r,s):r}o(mxe,"buildResult");async function FW(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};Bc.verbose("LRO: Operation description:",d);let p=r.initState(d),m=n({response:A,state:p,operationLocation:c});return OW({state:p,status:m,stateProxy:r,response:A,setErrorAsResult:a,processResult:s}),p}o(FW,"initOperation");async function hxe(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(DW({state:r,stateProxy:s,isOperationError:c})),A=i(u,r);if(Bc.verbose(`LRO: Status: Polling from: ${r.config.operationLocation} Operation status: ${A} Polling status: ${LW.includes(A)?"Stopped":"Running"}`),A==="succeeded"){let d=a(u,r);if(d!==void 0)return{response:await e(d).catch(DW({state:r,stateProxy:s,isOperationError:c})),status:A}}return{response:u,status:A}}o(hxe,"pollOperationHelper");async function UW(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 hxe({poll:e,getOperationStatus:i,state:r,stateProxy:s,operationLocation:E,getResourceLocation:a,isOperationError:l,options:n});if(OW({status:I,response:y,state:r,stateProxy:s,isDone:g,processResult:d,getError:p,setErrorAsResult:C}),!LW.includes(I)){let B=A?.(y);B&&h(B);let N=c?.(y,r);if(N!==void 0){let D=E!==N;r.config.operationLocation=N,u?.(N,D)}else u?.(E,!1)}m?.(r,y)}}o(UW,"pollOperation");function qW(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(qW,"getOperationLocationPollingUrl");function GW(t){return t.headers.location}o(GW,"getLocationHeader");function HW(t){return t.headers["operation-location"]}o(HW,"getOperationLocationHeader");function zW(t){return t.headers["azure-asyncoperation"]}o(zW,"getAzureAsyncOperationHeader");function fxe(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(fxe,"findResourceLocation");function $W(t){let{rawResponse:e,requestMethod:r,requestPath:s,resourceLocationConfig:n}=t,i=HW(e),a=zW(e),c=qW({operationLocation:i,azureAsyncOperation:a}),l=GW(e),u=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:fxe({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($W,"inferLroMode");function VW(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 Kv(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 Bc.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(VW,"transformStatus");function gxe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return VW({status:r,statusCode:t.statusCode})}o(gxe,"getStatus");function Exe(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 VW({status:i,statusCode:t.statusCode})}o(Exe,"getProvisioningState");function Kv(t){return t===202?"running":t<300?"succeeded":"failed"}o(Kv,"toOperationStatus");function YW({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?yxe(new Date(e)):r*1e3}}o(YW,"parseRetryAfter");function JW(t){let e=t.flatResponse.error;if(!e){Bc.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){Bc.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(JW,"getErrorFromResponse");function yxe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e{let a=await n.sendInitialRequest(),c=$W({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:WW,setErrorAsResult:i})}o(Cxe,"initHttpOperation");function jW({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return qW({operationLocation:HW(t),azureAsyncOperation:zW(t)});case"ResourceLocation":return GW(t);default:return}}o(jW,"getOperationLocation");function Xv({rawResponse:t},e){var r;let s=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(s){case"OperationLocation":return gxe(t);case"ResourceLocation":return Kv(t.statusCode);case"Body":return Exe(t);default:throw new Error(`Internal error: Unexpected operation mode: ${s}`)}}o(Xv,"getOperationStatus");function KW({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(KW,"getResourceLocation");function XW(t){return t.name==="RestError"}o(XW,"isOperationError");async function Ixe(t){let{lro:e,stateProxy:r,options:s,processResult:n,updateState:i,setDelay:a,state:c,setErrorAsResult:l}=t;return UW({state:c,stateProxy:r,setDelay:a,processResult:n?({flatResponse:u},A)=>n(u,A):({flatResponse:u})=>u,getError:JW,updateState:i,getPollingInterval:YW,getOperationLocation:jW,getOperationStatus:Xv,isOperationError:XW,getResourceLocation:KW,options:s,poll:o(async(u,A)=>e.sendPollRequest(u,A),"poll"),setErrorAsResult:l})}o(Ixe,"pollHttpOperation");var Bxe=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=_W,restoreFrom:C}=d||{},E=Bxe(),y=h?(()=>{let V=!1;return(ne,G)=>{G?h(ne):V||h(ne),V=!0}})():void 0,I=C?MW(C):await FW({init:u,stateProxy:E,processResult:p,getOperationStatus:r,withOperationLocation:y,setErrorAsResult:!l}),B,N=new kW.AbortController,D=new Map,q=o(async()=>D.forEach(V=>V(I)),"handleProgressEvents"),pe="Operation was canceled",be=g,Re={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(V=>{let ne=Symbol();return D.set(ne,V),()=>D.delete(ne)},"onProgress"),pollUntilDone:o(V=>B??(B=(async()=>{let{abortSignal:ne}=V||{},{signal:G}=ne?new kW.AbortController([ne,N.signal]):N;if(!Re.isDone())for(await Re.poll({abortSignal:G});!Re.isDone();)await Axe.delay(be,{abortSignal:G}),await Re.poll({abortSignal:G});if(l)return Re.getResult();switch(I.status){case"succeeded":return Re.getResult();case"canceled":throw new Error(pe);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(V){if(l){if(Re.isDone())return}else switch(I.status){case"succeeded":return;case"canceled":throw new Error(pe);case"failed":throw I.error}if(await UW({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:V,setDelay:o(ne=>{be=ne},"setDelay"),setErrorAsResult:!l}),await q(),!l)switch(I.status){case"canceled":throw new Error(pe);case"failed":throw I.error}}};return Re}}o(wxe,"buildCreatePoller");async function bxe(t,e){let{resourceLocationConfig:r,intervalInMs:s,processResult:n,restoreFrom:i,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return wxe({getStatusFromInitialResponse:WW,getStatusFromPollResponse:Xv,isOperationError:XW,getOperationLocation:jW,getResourceLocation:KW,getPollingInterval:YW,getError:JW,resolveOnUnsuccessful:l})({init:o(async()=>{let u=await t.sendInitialRequest(),A=$W({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(bxe,"createHttpPoller");var Qxe=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"),Wv=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=Qxe();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await Cxe({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 Ixe({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 Bc.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},sC=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},nC=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},iC=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 nC("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 sC("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()}},jv=class extends iC{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:s=_W,resumeFrom:n,resolveOnUnsuccessful:i=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:u}=r||{},A=n?MW(n):{},d=new Wv(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))}};wc.LroEngine=jv;wc.Poller=iC;wc.PollerCancelledError=nC;wc.PollerStoppedError=sC;wc.createHttpPoller=bxe});var E8=f((Cnt,Vxe)=>{Vxe.exports={name:"@actions/cache",version:"6.0.1",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 C8=f((Int,y8)=>{var Yxe=E8();y8.exports={version:Yxe.version}});var EC=f(Du=>{"use strict";Object.defineProperty(Du,"__esModule",{value:!0});Du.isJsonObject=Du.typeofJsonValue=void 0;function t0e(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(t0e,"typeofJsonValue");Du.typeofJsonValue=t0e;function r0e(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(r0e,"isJsonObject");Du.isJsonObject=r0e});var CC=f(_u=>{"use strict";Object.defineProperty(_u,"__esModule",{value:!0});_u.base64encode=_u.base64decode=void 0;var mo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),yC=[];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(s0e,"base64decode");_u.base64decode=s0e;function n0e(t){let e="",r=0,s,n=0;for(let i=0;i>2],n=(s&3)<<4,r=1;break;case 1:e+=mo[n|s>>4],n=(s&15)<<2,r=2;break;case 2:e+=mo[n|s>>6],e+=mo[s&63],r=0;break}return r&&(e+=mo[n],e+="=",r==1&&(e+="=")),e}o(n0e,"base64encode");_u.base64encode=n0e});var x8=f(IC=>{"use strict";Object.defineProperty(IC,"__esModule",{value:!0});IC.utf8read=void 0;var cP=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function i0e(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(cP(s)),n=0);return r.length?(n&&r.push(cP(s.slice(0,n))),r.join("")):cP(s.slice(0,n))}o(i0e,"utf8read");IC.utf8read=i0e});var rm=f(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.WireType=wi.mergeBinaryOptions=wi.UnknownFieldHandler=void 0;var o0e;(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")})(o0e=wi.UnknownFieldHandler||(wi.UnknownFieldHandler={}));function a0e(t,e){return Object.assign(Object.assign({},t),e)}o(a0e,"mergeBinaryOptions");wi.mergeBinaryOptions=a0e;var c0e;(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"})(c0e=wi.WireType||(wi.WireType={}))});var wC=f(zr=>{"use strict";Object.defineProperty(zr,"__esModule",{value:!0});zr.varint32read=zr.varint32write=zr.int64toString=zr.int64fromString=zr.varint64write=zr.varint64read=void 0;function l0e(){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(u0e,"varint64write");zr.varint64write=u0e;var BC=65536*65536;function A0e(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>=BC&&(n=n+(s/BC|0),s=s%BC)}return o(i,"add1e6digit"),i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,s,n]}o(A0e,"int64fromString");zr.int64fromString=A0e;function d0e(t,e){if(e>>>0<=2097151)return""+(BC*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(d0e,"int64toString");zr.int64toString=d0e;function p0e(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(p0e,"varint32write");zr.varint32write=p0e;function m0e(){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(m0e,"varint32read");zr.varint32read=m0e});var ua=f(la=>{"use strict";Object.defineProperty(la,"__esModule",{value:!0});la.PbLong=la.PbULong=la.detectBi=void 0;var sm=wC(),De;function N8(){let t=new DataView(new ArrayBuffer(8));De=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(N8,"detectBi");la.detectBi=N8;N8();function S8(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(S8,"assertBi");var R8=/^-?[0-9]+$/,QC=4294967296,bC=2147483648,xC=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*QC+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},nm=class t extends xC{static{o(this,"PbULong")}static from(e){if(De)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=De.C(e);case"number":if(e===0)return this.ZERO;e=De.C(e);case"bigint":if(!e)return this.ZERO;if(eDe.UMAX)throw new Error("ulong too large");return De.V.setBigUint64(0,e,!0),new t(De.V.getInt32(0,!0),De.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!R8.test(e))throw new Error("string is no integer");let[r,s,n]=sm.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/QC)}throw new Error("unknown value "+typeof e)}toString(){return De?this.toBigInt().toString():sm.int64toString(this.lo,this.hi)}toBigInt(){return S8(De),De.V.setInt32(0,this.lo,!0),De.V.setInt32(4,this.hi,!0),De.V.getBigUint64(0,!0)}};la.PbULong=nm;nm.ZERO=new nm(0,0);var im=class t extends xC{static{o(this,"PbLong")}static from(e){if(De)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=De.C(e);case"number":if(e===0)return this.ZERO;e=De.C(e);case"bigint":if(!e)return this.ZERO;if(eDe.MAX)throw new Error("signed long too large");return De.V.setBigInt64(0,e,!0),new t(De.V.getInt32(0,!0),De.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!R8.test(e))throw new Error("string is no integer");let[r,s,n]=sm.int64fromString(e);if(r){if(n>bC||n==bC&&s!=0)throw new Error("signed long too small")}else if(n>=bC)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/QC):new t(-e,-e/QC).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&bC)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(De)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+sm.int64toString(e.lo,e.hi)}return sm.int64toString(this.lo,this.hi)}toBigInt(){return S8(De),De.V.setInt32(0,this.lo,!0),De.V.setInt32(4,this.hi,!0),De.V.getBigInt64(0,!0)}};la.PbLong=im;im.ZERO=new im(0,0)});var lP=f(Mu=>{"use strict";Object.defineProperty(Mu,"__esModule",{value:!0});Mu.BinaryReader=Mu.binaryReadOptions=void 0;var Lu=rm(),om=ua(),T8=wC(),v8={readUnknownField:!0,readerFactory:o(t=>new NC(t),"readerFactory")};function h0e(t){return t?Object.assign(Object.assign({},v8),t):v8}o(h0e,"binaryReadOptions");Mu.binaryReadOptions=h0e;var NC=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=T8.varint64read,this.uint32=T8.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 Lu.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case Lu.WireType.Bit64:this.pos+=4;case Lu.WireType.Bit32:this.pos+=4;break;case Lu.WireType.LengthDelimited:let s=this.uint32();this.pos+=s;break;case Lu.WireType.StartGroup:let n;for(;(n=this.tag()[1])!==Lu.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 om.PbLong(...this.varint64())}uint64(){return new om.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 om.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 om.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new om.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())}};Mu.BinaryReader=NC});var Ou=f(Ys=>{"use strict";Object.defineProperty(Ys,"__esModule",{value:!0});Ys.assertFloat32=Ys.assertUInt32=Ys.assertInt32=Ys.assertNever=Ys.assert=void 0;function f0e(t,e){if(!t)throw new Error(e)}o(f0e,"assert");Ys.assert=f0e;function g0e(t,e){throw new Error(e??"Unexpected object: "+t)}o(g0e,"assertNever");Ys.assertNever=g0e;var E0e=34028234663852886e22,y0e=-34028234663852886e22,C0e=4294967295,I0e=2147483647,B0e=-2147483648;function w0e(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>I0e||tC0e||t<0)throw new Error("invalid uint 32: "+t)}o(b0e,"assertUInt32");Ys.assertUInt32=b0e;function Q0e(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>E0e||t{"use strict";Object.defineProperty(Uu,"__esModule",{value:!0});Uu.BinaryWriter=Uu.binaryWriteOptions=void 0;var am=ua(),cm=wC(),Fu=Ou(),P8={writeUnknownFields:!0,writerFactory:o(()=>new SC,"writerFactory")};function x0e(t){return t?Object.assign(Object.assign({},P8),t):P8}o(x0e,"binaryWriteOptions");Uu.binaryWriteOptions=x0e;var SC=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(Fu.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return Fu.assertInt32(e),cm.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){Fu.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){Fu.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){Fu.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return Fu.assertInt32(e),e=(e<<1^e>>31)>>>0,cm.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),s=new DataView(r.buffer),n=am.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=am.PbULong.from(e);return s.setInt32(0,n.lo,!0),s.setInt32(4,n.hi,!0),this.raw(r)}int64(e){let r=am.PbLong.from(e);return cm.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=am.PbLong.from(e),s=r.hi>>31,n=r.lo<<1^s,i=(r.hi<<1|r.lo>>>31)^s;return cm.varint64write(n,i,this.buf),this}uint64(e){let r=am.PbULong.from(e);return cm.varint64write(r.lo,r.hi,this.buf),this}};Uu.BinaryWriter=SC});var AP=f(Aa=>{"use strict";Object.defineProperty(Aa,"__esModule",{value:!0});Aa.mergeJsonOptions=Aa.jsonWriteOptions=Aa.jsonReadOptions=void 0;var k8={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},D8={ignoreUnknownFields:!1};function N0e(t){return t?Object.assign(Object.assign({},D8),t):D8}o(N0e,"jsonReadOptions");Aa.jsonReadOptions=N0e;function S0e(t){return t?Object.assign(Object.assign({},k8),t):k8}o(S0e,"jsonWriteOptions");Aa.jsonWriteOptions=S0e;function R0e(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(R0e,"mergeJsonOptions");Aa.mergeJsonOptions=R0e});var lm=f(RC=>{"use strict";Object.defineProperty(RC,"__esModule",{value:!0});RC.MESSAGE_TYPE=void 0;RC.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var dP=f(TC=>{"use strict";Object.defineProperty(TC,"__esModule",{value:!0});TC.lowerCamelCase=void 0;function T0e(t){let e=!1,r=[];for(let s=0;s{"use strict";Object.defineProperty(_t,"__esModule",{value:!0});_t.readMessageOption=_t.readFieldOption=_t.readFieldOptions=_t.normalizeFieldInfo=_t.RepeatType=_t.LongType=_t.ScalarType=void 0;var _8=dP(),v0e;(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"})(v0e=_t.ScalarType||(_t.ScalarType={}));var P0e;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(P0e=_t.LongType||(_t.LongType={}));var L8;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(L8=_t.RepeatType||(_t.RepeatType={}));function k0e(t){var e,r,s,n;return t.localName=(e=t.localName)!==null&&e!==void 0?e:_8.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:_8.lowerCamelCase(t.name),t.repeat=(s=t.repeat)!==null&&s!==void 0?s:L8.NO,t.opt=(n=t.opt)!==null&&n!==void 0?n:t.repeat||t.oneof?!1:t.kind=="message",t}o(k0e,"normalizeFieldInfo");_t.normalizeFieldInfo=k0e;function D0e(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(D0e,"readFieldOptions");_t.readFieldOptions=D0e;function _0e(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(_0e,"readFieldOption");_t.readFieldOption=_0e;function L0e(t,e,r){let n=t.options[e];return n===void 0?n:r?r.fromJson(n):n}o(L0e,"readMessageOption");_t.readMessageOption=L0e});var pP=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 M0e(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(M0e,"isOneofGroup");$r.isOneofGroup=M0e;function O0e(t,e){return t[e]}o(O0e,"getOneofValue");$r.getOneofValue=O0e;function F0e(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(F0e,"setOneofValue");$r.setOneofValue=F0e;function U0e(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(U0e,"setUnknownOneofValue");$r.setUnknownOneofValue=U0e;function q0e(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(q0e,"clearOneofValue");$r.clearOneofValue=q0e;function G0e(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(G0e,"getSelectedOneofValue");$r.getSelectedOneofValue=G0e});var hP=f(vC=>{"use strict";Object.defineProperty(vC,"__esModule",{value:!0});vC.ReflectionTypeCheck=void 0;var at=Qn(),H0e=pP(),mP=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(!H0e.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,at.ScalarType.INT32,n):this.scalar(e,at.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),at.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 at.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,at.LongType.STRING)}}};vC.ReflectionTypeCheck=mP});var kC=f(PC=>{"use strict";Object.defineProperty(PC,"__esModule",{value:!0});PC.reflectionLongConvert=void 0;var M8=Qn();function z0e(t,e){switch(e){case M8.LongType.BIGINT:return t.toBigInt();case M8.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(z0e,"reflectionLongConvert");PC.reflectionLongConvert=z0e});var gP=f(LC=>{"use strict";Object.defineProperty(LC,"__esModule",{value:!0});LC.ReflectionJsonReader=void 0;var O8=EC(),$0e=CC(),Lt=Qn(),DC=ua(),Qc=Ou(),_C=kC(),fP=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=O8.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(O8.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==Lt.ScalarType.BOOL&&(h=h=="true"?!0:h=="false"?!1:h),h=this.scalar(h,c.K,Lt.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"&&Qc.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 Qc.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:(Qc.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${s}, enum ${e[0]} has no value for "${r}".`),a)}Qc.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 Lt.ScalarType.DOUBLE:case Lt.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==Lt.ScalarType.FLOAT&&Qc.assertFloat32(a),a;case Lt.ScalarType.INT32:case Lt.ScalarType.FIXED32:case Lt.ScalarType.SFIXED32:case Lt.ScalarType.SINT32:case Lt.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==Lt.ScalarType.UINT32?Qc.assertUInt32(c):Qc.assertInt32(c),c;case Lt.ScalarType.INT64:case Lt.ScalarType.SFIXED64:case Lt.ScalarType.SINT64:if(e===null)return _C.reflectionLongConvert(DC.PbLong.ZERO,s);if(typeof e!="number"&&typeof e!="string")break;return _C.reflectionLongConvert(DC.PbLong.from(e),s);case Lt.ScalarType.FIXED64:case Lt.ScalarType.UINT64:if(e===null)return _C.reflectionLongConvert(DC.PbULong.ZERO,s);if(typeof e!="number"&&typeof e!="string")break;return _C.reflectionLongConvert(DC.PbULong.from(e),s);case Lt.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Lt.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 Lt.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return $0e.base64decode(e)}}catch(a){i=a.message}this.assert(!1,n+(i?" - "+i:""),e)}};LC.ReflectionJsonReader=fP});var yP=f(MC=>{"use strict";Object.defineProperty(MC,"__esModule",{value:!0});MC.ReflectionJsonWriter=void 0;var V0e=CC(),F8=ua(),wr=Qn(),We=Ou(),EP=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);We.assert(l!==void 0),s[r.useProtoFieldName?i.name:i.jsonName]=l}return s}field(e,r,s){let n;if(e.kind=="map"){We.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);We.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);We.assert(A!==void 0),i[l.toString()]=A}break;case"enum":let c=e.V.T();for(let[l,u]of Object.entries(r)){We.assert(u===void 0||typeof u=="number");let A=this.enum(c,u,e.name,!1,!0,s.enumAsInteger);We.assert(A!==void 0),i[l.toString()]=A}break}(s.emitDefaultValues||Object.keys(i).length>0)&&(n=i)}else if(e.repeat){We.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){We.assert(n);return}if(!(r===0&&!i&&!n))return We.assert(typeof r=="number"),We.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){We.assert(n);return}let a=i||n;switch(e){case wr.ScalarType.INT32:case wr.ScalarType.SFIXED32:case wr.ScalarType.SINT32:return r===0?a?0:void 0:(We.assertInt32(r),r);case wr.ScalarType.FIXED32:case wr.ScalarType.UINT32:return r===0?a?0:void 0:(We.assertUInt32(r),r);case wr.ScalarType.FLOAT:We.assertFloat32(r);case wr.ScalarType.DOUBLE:return r===0?a?0:void 0:(We.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case wr.ScalarType.STRING:return r===""?a?"":void 0:(We.assert(typeof r=="string"),r);case wr.ScalarType.BOOL:return r===!1?a?!1:void 0:(We.assert(typeof r=="boolean"),r);case wr.ScalarType.UINT64:case wr.ScalarType.FIXED64:We.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=F8.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case wr.ScalarType.INT64:case wr.ScalarType.SFIXED64:case wr.ScalarType.SINT64:We.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=F8.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case wr.ScalarType.BYTES:return We.assert(r instanceof Uint8Array),r.byteLength?V0e.base64encode(r):a?"":void 0}}};MC.ReflectionJsonWriter=EP});var FC=f(OC=>{"use strict";Object.defineProperty(OC,"__esModule",{value:!0});OC.reflectionScalarDefault=void 0;var xn=Qn(),U8=kC(),q8=ua();function Y0e(t,e=xn.LongType.STRING){switch(t){case xn.ScalarType.BOOL:return!1;case xn.ScalarType.UINT64:case xn.ScalarType.FIXED64:return U8.reflectionLongConvert(q8.PbULong.ZERO,e);case xn.ScalarType.INT64:case xn.ScalarType.SFIXED64:case xn.ScalarType.SINT64:return U8.reflectionLongConvert(q8.PbLong.ZERO,e);case xn.ScalarType.DOUBLE:case xn.ScalarType.FLOAT:return 0;case xn.ScalarType.BYTES:return new Uint8Array(0);case xn.ScalarType.STRING:return"";default:return 0}}o(Y0e,"reflectionScalarDefault");OC.reflectionScalarDefault=Y0e});var IP=f(UC=>{"use strict";Object.defineProperty(UC,"__esModule",{value:!0});UC.ReflectionBinaryReader=void 0;var G8=rm(),yt=Qn(),um=kC(),H8=FC(),CP=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(qC,"__esModule",{value:!0});qC.ReflectionBinaryWriter=void 0;var fs=rm(),Oe=Qn(),qu=Ou(),Am=ua(),BP=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"?Oe.ScalarType.INT32:i.T;if(l)if(qu.assert(Array.isArray(a)),l==Oe.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?qu.assert(i.opt):this.scalar(r,A,i.no,a,c||i.opt);break;case"message":if(l){qu.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":qu.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?fs.UnknownFieldHandler.onWrite:n)(this.info.typeName,e,r)}mapEntry(e,r,s,n,i){e.tag(s.no,fs.WireType.LengthDelimited),e.fork();let a=n;switch(s.K){case Oe.ScalarType.INT32:case Oe.ScalarType.FIXED32:case Oe.ScalarType.UINT32:case Oe.ScalarType.SFIXED32:case Oe.ScalarType.SINT32:a=Number.parseInt(n);break;case Oe.ScalarType.BOOL:qu.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,Oe.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,fs.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;qu.assert(r!==Oe.ScalarType.BYTES&&r!==Oe.ScalarType.STRING),e.tag(s,fs.WireType.LengthDelimited),e.fork();let[,i]=this.scalarInfo(r);for(let a=0;a{"use strict";Object.defineProperty(GC,"__esModule",{value:!0});GC.reflectionCreate=void 0;var J0e=FC(),W0e=lm();function j0e(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},W0e.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]=J0e.reflectionScalarDefault(r.T,r.L);break;case"enum":e[s]=0;break;case"map":e[s]={};break}}return e}o(j0e,"reflectionCreate");GC.reflectionCreate=j0e});var QP=f(HC=>{"use strict";Object.defineProperty(HC,"__esModule",{value:!0});HC.reflectionMergePartial=void 0;function K0e(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($C,"__esModule",{value:!0});$C.reflectionEquals=void 0;var xP=Qn();function X0e(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"?xP.ScalarType.INT32:s.T;if(!(s.repeat?z8(c,i,a):V8(c,i,a)))return!1;break;case"map":if(!(s.V.kind=="message"?$8(s.V.T(),zC(i),zC(a)):z8(s.V.kind=="enum"?xP.ScalarType.INT32:s.V.T,zC(i),zC(a))))return!1;break;case"message":let l=s.T();if(!(s.repeat?$8(l,i,a):l.equals(i,a)))return!1;break}}return!0}o(X0e,"reflectionEquals");$C.reflectionEquals=X0e;var zC=Object.values;function V8(t,e,r){if(e===r)return!0;if(t!==xP.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(VC,"__esModule",{value:!0});VC.MessageType=void 0;var Z0e=lm(),eNe=Qn(),tNe=hP(),rNe=gP(),sNe=yP(),nNe=IP(),iNe=wP(),oNe=bP(),SP=QP(),aNe=EC(),Y8=AP(),cNe=NP(),lNe=uP(),uNe=lP(),J8=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),ANe=J8[Z0e.MESSAGE_TYPE]={},RP=class{static{o(this,"MessageType")}constructor(e,r,s){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(eNe.normalizeFieldInfo),this.options=s??{},ANe.value=this,this.messagePrototype=Object.create(null,J8),this.refTypeCheck=new tNe.ReflectionTypeCheck(this),this.refJsonReader=new rNe.ReflectionJsonReader(this),this.refJsonWriter=new sNe.ReflectionJsonWriter(this),this.refBinReader=new nNe.ReflectionBinaryReader(this),this.refBinWriter=new iNe.ReflectionBinaryWriter(this)}create(e){let r=oNe.reflectionCreate(this);return e!==void 0&&SP.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return SP.reflectionMergePartial(this,r,e),r}equals(e,r){return cNe.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){SP.reflectionMergePartial(this,e,r)}fromBinary(e,r){let s=uNe.binaryReadOptions(r);return this.internalBinaryRead(s.readerFactory(e),e.byteLength,s)}fromJson(e,r){return this.internalJsonRead(e,Y8.jsonReadOptions(r))}fromJsonString(e,r){let s=JSON.parse(e);return this.fromJson(s,r)}toJson(e,r){return this.internalJsonWrite(e,Y8.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=lNe.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 ${aNe.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}};VC.MessageType=RP});var j8=f(YC=>{"use strict";Object.defineProperty(YC,"__esModule",{value:!0});YC.containsMessageType=void 0;var dNe=lm();function pNe(t){return t[dNe.MESSAGE_TYPE]!=null}o(pNe,"containsMessageType");YC.containsMessageType=pNe});var X8=f(bi=>{"use strict";Object.defineProperty(bi,"__esModule",{value:!0});bi.listEnumNumbers=bi.listEnumNames=bi.listEnumValues=bi.isEnumObject=void 0;function K8(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(K8,"isEnumObject");bi.isEnumObject=K8;function TP(t){if(!K8(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(TP,"listEnumValues");bi.listEnumValues=TP;function mNe(t){return TP(t).map(e=>e.name)}o(mNe,"listEnumNames");bi.listEnumNames=mNe;function hNe(t){return TP(t).map(e=>e.number).filter((e,r,s)=>s.indexOf(e)==r)}o(hNe,"listEnumNumbers");bi.listEnumNumbers=hNe});var Ct=f(j=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});var Z8=EC();Object.defineProperty(j,"typeofJsonValue",{enumerable:!0,get:o(function(){return Z8.typeofJsonValue},"get")});Object.defineProperty(j,"isJsonObject",{enumerable:!0,get:o(function(){return Z8.isJsonObject},"get")});var e5=CC();Object.defineProperty(j,"base64decode",{enumerable:!0,get:o(function(){return e5.base64decode},"get")});Object.defineProperty(j,"base64encode",{enumerable:!0,get:o(function(){return e5.base64encode},"get")});var fNe=x8();Object.defineProperty(j,"utf8read",{enumerable:!0,get:o(function(){return fNe.utf8read},"get")});var vP=rm();Object.defineProperty(j,"WireType",{enumerable:!0,get:o(function(){return vP.WireType},"get")});Object.defineProperty(j,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return vP.mergeBinaryOptions},"get")});Object.defineProperty(j,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return vP.UnknownFieldHandler},"get")});var t5=lP();Object.defineProperty(j,"BinaryReader",{enumerable:!0,get:o(function(){return t5.BinaryReader},"get")});Object.defineProperty(j,"binaryReadOptions",{enumerable:!0,get:o(function(){return t5.binaryReadOptions},"get")});var r5=uP();Object.defineProperty(j,"BinaryWriter",{enumerable:!0,get:o(function(){return r5.BinaryWriter},"get")});Object.defineProperty(j,"binaryWriteOptions",{enumerable:!0,get:o(function(){return r5.binaryWriteOptions},"get")});var s5=ua();Object.defineProperty(j,"PbLong",{enumerable:!0,get:o(function(){return s5.PbLong},"get")});Object.defineProperty(j,"PbULong",{enumerable:!0,get:o(function(){return s5.PbULong},"get")});var PP=AP();Object.defineProperty(j,"jsonReadOptions",{enumerable:!0,get:o(function(){return PP.jsonReadOptions},"get")});Object.defineProperty(j,"jsonWriteOptions",{enumerable:!0,get:o(function(){return PP.jsonWriteOptions},"get")});Object.defineProperty(j,"mergeJsonOptions",{enumerable:!0,get:o(function(){return PP.mergeJsonOptions},"get")});var gNe=lm();Object.defineProperty(j,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return gNe.MESSAGE_TYPE},"get")});var ENe=W8();Object.defineProperty(j,"MessageType",{enumerable:!0,get:o(function(){return ENe.MessageType},"get")});var xc=Qn();Object.defineProperty(j,"ScalarType",{enumerable:!0,get:o(function(){return xc.ScalarType},"get")});Object.defineProperty(j,"LongType",{enumerable:!0,get:o(function(){return xc.LongType},"get")});Object.defineProperty(j,"RepeatType",{enumerable:!0,get:o(function(){return xc.RepeatType},"get")});Object.defineProperty(j,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return xc.normalizeFieldInfo},"get")});Object.defineProperty(j,"readFieldOptions",{enumerable:!0,get:o(function(){return xc.readFieldOptions},"get")});Object.defineProperty(j,"readFieldOption",{enumerable:!0,get:o(function(){return xc.readFieldOption},"get")});Object.defineProperty(j,"readMessageOption",{enumerable:!0,get:o(function(){return xc.readMessageOption},"get")});var yNe=hP();Object.defineProperty(j,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return yNe.ReflectionTypeCheck},"get")});var CNe=bP();Object.defineProperty(j,"reflectionCreate",{enumerable:!0,get:o(function(){return CNe.reflectionCreate},"get")});var INe=FC();Object.defineProperty(j,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return INe.reflectionScalarDefault},"get")});var BNe=QP();Object.defineProperty(j,"reflectionMergePartial",{enumerable:!0,get:o(function(){return BNe.reflectionMergePartial},"get")});var wNe=NP();Object.defineProperty(j,"reflectionEquals",{enumerable:!0,get:o(function(){return wNe.reflectionEquals},"get")});var bNe=IP();Object.defineProperty(j,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return bNe.ReflectionBinaryReader},"get")});var QNe=wP();Object.defineProperty(j,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return QNe.ReflectionBinaryWriter},"get")});var xNe=gP();Object.defineProperty(j,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return xNe.ReflectionJsonReader},"get")});var NNe=yP();Object.defineProperty(j,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return NNe.ReflectionJsonWriter},"get")});var SNe=j8();Object.defineProperty(j,"containsMessageType",{enumerable:!0,get:o(function(){return SNe.containsMessageType},"get")});var dm=pP();Object.defineProperty(j,"isOneofGroup",{enumerable:!0,get:o(function(){return dm.isOneofGroup},"get")});Object.defineProperty(j,"setOneofValue",{enumerable:!0,get:o(function(){return dm.setOneofValue},"get")});Object.defineProperty(j,"getOneofValue",{enumerable:!0,get:o(function(){return dm.getOneofValue},"get")});Object.defineProperty(j,"clearOneofValue",{enumerable:!0,get:o(function(){return dm.clearOneofValue},"get")});Object.defineProperty(j,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return dm.getSelectedOneofValue},"get")});var JC=X8();Object.defineProperty(j,"listEnumValues",{enumerable:!0,get:o(function(){return JC.listEnumValues},"get")});Object.defineProperty(j,"listEnumNames",{enumerable:!0,get:o(function(){return JC.listEnumNames},"get")});Object.defineProperty(j,"listEnumNumbers",{enumerable:!0,get:o(function(){return JC.listEnumNumbers},"get")});Object.defineProperty(j,"isEnumObject",{enumerable:!0,get:o(function(){return JC.isEnumObject},"get")});var RNe=dP();Object.defineProperty(j,"lowerCamelCase",{enumerable:!0,get:o(function(){return RNe.lowerCamelCase},"get")});var pm=Ou();Object.defineProperty(j,"assert",{enumerable:!0,get:o(function(){return pm.assert},"get")});Object.defineProperty(j,"assertNever",{enumerable:!0,get:o(function(){return pm.assertNever},"get")});Object.defineProperty(j,"assertInt32",{enumerable:!0,get:o(function(){return pm.assertInt32},"get")});Object.defineProperty(j,"assertUInt32",{enumerable:!0,get:o(function(){return pm.assertUInt32},"get")});Object.defineProperty(j,"assertFloat32",{enumerable:!0,get:o(function(){return pm.assertFloat32},"get")})});var kP=f(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.readServiceOption=Qi.readMethodOption=Qi.readMethodOptions=Qi.normalizeMethodInfo=void 0;var TNe=Ct();function vNe(t,e){var r,s,n;let i=t;return i.service=e,i.localName=(r=i.localName)!==null&&r!==void 0?r:TNe.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(vNe,"normalizeMethodInfo");Qi.normalizeMethodInfo=vNe;function PNe(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(PNe,"readMethodOptions");Qi.readMethodOptions=PNe;function kNe(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(kNe,"readMethodOption");Qi.readMethodOption=kNe;function DNe(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(DNe,"readServiceOption");Qi.readServiceOption=DNe});var n5=f(WC=>{"use strict";Object.defineProperty(WC,"__esModule",{value:!0});WC.ServiceType=void 0;var _Ne=kP(),DP=class{static{o(this,"ServiceType")}constructor(e,r,s){this.typeName=e,this.methods=r.map(n=>_Ne.normalizeMethodInfo(n,this)),this.options=s??{}}};WC.ServiceType=DP});var LP=f(jC=>{"use strict";Object.defineProperty(jC,"__esModule",{value:!0});jC.RpcError=void 0;var _P=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(` `)}};jC.RpcError=_P});var MP=f(XC=>{"use strict";Object.defineProperty(XC,"__esModule",{value:!0});XC.mergeRpcOptions=void 0;var i5=Ct();function LNe(t,e){if(!e)return t;let r={};KC(t,r),KC(e,r);for(let s of Object.keys(e)){let n=e[s];switch(s){case"jsonOptions":r.jsonOptions=i5.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=i5.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},KC(t.meta,r.meta),KC(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(n):n.concat();break}}return r}o(LNe,"mergeRpcOptions");XC.mergeRpcOptions=LNe;function KC(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(KC,"copy")});var FP=f(Nc=>{"use strict";Object.defineProperty(Nc,"__esModule",{value:!0});Nc.Deferred=Nc.DeferredState=void 0;var xi;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(xi=Nc.DeferredState||(Nc.DeferredState={}));var OP=class{static{o(this,"Deferred")}constructor(e=!0){this._state=xi.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!==xi.PENDING)throw new Error(`cannot resolve ${xi[this.state].toLowerCase()}`);this._resolve(e),this._state=xi.RESOLVED}reject(e){if(this.state!==xi.PENDING)throw new Error(`cannot reject ${xi[this.state].toLowerCase()}`);this._reject(e),this._state=xi.REJECTED}resolvePending(e){this._state===xi.PENDING&&this.resolve(e)}rejectPending(e){this._state===xi.PENDING&&this.reject(e)}};Nc.Deferred=OP});var qP=f(ZC=>{"use strict";Object.defineProperty(ZC,"__esModule",{value:!0});ZC.RpcOutputStreamController=void 0;var o5=FP(),Sc=Ct(),UP=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){Sc.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){Sc.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){Sc.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(){Sc.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;Sc.assert(e,"bad state"),Sc.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 o5.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let s=r.p;Sc.assert(s.state==o5.DeferredState.PENDING,"iterator contract broken"),"value"in e?s.resolve(e):s.reject(e),delete r.p}else r.q.push(e)}};ZC.RpcOutputStreamController=UP});var HP=f(Gu=>{"use strict";var MNe=Gu&&Gu.__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(Gu,"__esModule",{value:!0});Gu.UnaryCall=void 0;var GP=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 MNe(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}})}};Gu.UnaryCall=GP});var $P=f(Hu=>{"use strict";var ONe=Hu&&Hu.__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(Hu,"__esModule",{value:!0});Hu.ServerStreamingCall=void 0;var zP=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 ONe(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}})}};Hu.ServerStreamingCall=zP});var YP=f(zu=>{"use strict";var FNe=zu&&zu.__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(zu,"__esModule",{value:!0});zu.ClientStreamingCall=void 0;var VP=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 FNe(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}})}};zu.ClientStreamingCall=VP});var WP=f($u=>{"use strict";var UNe=$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.DuplexStreamingCall=void 0;var JP=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 UNe(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}})}};$u.DuplexStreamingCall=JP});var c5=f(Ju=>{"use strict";var qNe=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.TestTransport=void 0;var Js=LP(),eI=Ct(),a5=qP(),GNe=MP(),HNe=HP(),zNe=$P(),$Ne=YP(),VNe=WP(),Yu=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 Vu?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof Vu?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)?(eI.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),eI.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,s){return qNe(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)eI.assert(e.O.is(i)),n.push(i);else this.data.response instanceof Js.RpcError||(eI.assert(e.O.is(this.data.response)),n.push(this.data.response));try{yield Vt(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 Vt(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 GNe.mergeRpcOptions({},e)}unary(e,r,s){var n;let i=(n=s.meta)!==null&&n!==void 0?n:{},a=this.promiseHeaders().then(Vt(this.headerDelay,s.abort)),c=a.catch(A=>{}).then(Vt(this.responseDelay,s.abort)).then(A=>this.promiseSingleResponse(e)),l=c.catch(A=>{}).then(Vt(this.afterResponseDelay,s.abort)).then(A=>this.promiseStatus()),u=c.catch(A=>{}).then(Vt(this.afterResponseDelay,s.abort)).then(A=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput={single:r},new HNe.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(Vt(this.headerDelay,s.abort)),c=new a5.RpcOutputStreamController,l=a.then(Vt(this.responseDelay,s.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,s.abort)).then(Vt(this.afterResponseDelay,s.abort)),u=l.then(()=>this.promiseStatus()),A=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(u,A),this.lastInput={single:r},new zNe.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(Vt(this.headerDelay,r.abort)),a=i.catch(u=>{}).then(Vt(this.responseDelay,r.abort)).then(u=>this.promiseSingleResponse(e)),c=a.catch(u=>{}).then(Vt(this.afterResponseDelay,r.abort)).then(u=>this.promiseStatus()),l=a.catch(u=>{}).then(Vt(this.afterResponseDelay,r.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new Vu(this.data,r.abort),new $Ne.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(Vt(this.headerDelay,r.abort)),a=new a5.RpcOutputStreamController,c=i.then(Vt(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(Vt(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),u=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput=new Vu(this.data,r.abort),new VNe.DuplexStreamingCall(e,n,this.lastInput,i,a,l,u)}};Ju.TestTransport=Yu;Yu.defaultHeaders={responseHeader:"test"};Yu.defaultStatus={code:"OK",detail:"all good"};Yu.defaultTrailers={responseTrailer:"test"};function Vt(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(Vt,"delay");var Vu=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(Vt(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(Vt(e,this.abort))}}});var l5=f(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws.stackDuplexStreamingInterceptors=Ws.stackClientStreamingInterceptors=Ws.stackServerStreamingInterceptors=Ws.stackUnaryInterceptors=Ws.stackIntercept=void 0;var YNe=Ct();function mm(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)}YNe.assertNever(t)}o(mm,"stackIntercept");Ws.stackIntercept=mm;function JNe(t,e,r,s){return mm("unary",t,e,s,r)}o(JNe,"stackUnaryInterceptors");Ws.stackUnaryInterceptors=JNe;function WNe(t,e,r,s){return mm("serverStreaming",t,e,s,r)}o(WNe,"stackServerStreamingInterceptors");Ws.stackServerStreamingInterceptors=WNe;function jNe(t,e,r){return mm("clientStreaming",t,e,r)}o(jNe,"stackClientStreamingInterceptors");Ws.stackClientStreamingInterceptors=jNe;function KNe(t,e,r){return mm("duplex",t,e,r)}o(KNe,"stackDuplexStreamingInterceptors");Ws.stackDuplexStreamingInterceptors=KNe});var u5=f(tI=>{"use strict";Object.defineProperty(tI,"__esModule",{value:!0});tI.ServerCallContextController=void 0;var jP=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)}}};tI.ServerCallContextController=jP});var d5=f(ct=>{"use strict";Object.defineProperty(ct,"__esModule",{value:!0});var XNe=n5();Object.defineProperty(ct,"ServiceType",{enumerable:!0,get:o(function(){return XNe.ServiceType},"get")});var KP=kP();Object.defineProperty(ct,"readMethodOptions",{enumerable:!0,get:o(function(){return KP.readMethodOptions},"get")});Object.defineProperty(ct,"readMethodOption",{enumerable:!0,get:o(function(){return KP.readMethodOption},"get")});Object.defineProperty(ct,"readServiceOption",{enumerable:!0,get:o(function(){return KP.readServiceOption},"get")});var ZNe=LP();Object.defineProperty(ct,"RpcError",{enumerable:!0,get:o(function(){return ZNe.RpcError},"get")});var eSe=MP();Object.defineProperty(ct,"mergeRpcOptions",{enumerable:!0,get:o(function(){return eSe.mergeRpcOptions},"get")});var tSe=qP();Object.defineProperty(ct,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return tSe.RpcOutputStreamController},"get")});var rSe=c5();Object.defineProperty(ct,"TestTransport",{enumerable:!0,get:o(function(){return rSe.TestTransport},"get")});var A5=FP();Object.defineProperty(ct,"Deferred",{enumerable:!0,get:o(function(){return A5.Deferred},"get")});Object.defineProperty(ct,"DeferredState",{enumerable:!0,get:o(function(){return A5.DeferredState},"get")});var sSe=WP();Object.defineProperty(ct,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return sSe.DuplexStreamingCall},"get")});var nSe=YP();Object.defineProperty(ct,"ClientStreamingCall",{enumerable:!0,get:o(function(){return nSe.ClientStreamingCall},"get")});var iSe=$P();Object.defineProperty(ct,"ServerStreamingCall",{enumerable:!0,get:o(function(){return iSe.ServerStreamingCall},"get")});var oSe=HP();Object.defineProperty(ct,"UnaryCall",{enumerable:!0,get:o(function(){return oSe.UnaryCall},"get")});var hm=l5();Object.defineProperty(ct,"stackIntercept",{enumerable:!0,get:o(function(){return hm.stackIntercept},"get")});Object.defineProperty(ct,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return hm.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(ct,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return hm.stackClientStreamingInterceptors},"get")});Object.defineProperty(ct,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return hm.stackServerStreamingInterceptors},"get")});Object.defineProperty(ct,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return hm.stackUnaryInterceptors},"get")});var aSe=u5();Object.defineProperty(ct,"ServerCallContextController",{enumerable:!0,get:o(function(){return aSe.ServerCallContextController},"get")})});var R5=f(($ot,S5)=>{function js(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(js,"RetryOperation");S5.exports=js;js.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};js.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};js.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};js.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)};js.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};js.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};js.prototype.start=js.prototype.try;js.prototype.errors=function(){return this._errors};js.prototype.attempts=function(){return this._attempts};js.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 T5=f(Pc=>{var ySe=R5();Pc.operation=function(t){var e=Pc.timeouts(t);return new ySe(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};Pc.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{v5.exports=T5()});var D5=f((jot,k5)=>{var CSe=P5();function ISe(t,e){function r(s,n){var i=e||{},a;"randomize"in i||(i.randomize=!0),a=CSe.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(ISe,"retry");k5.exports=ISe});var br=f(ys=>{"use strict";ys.__esModule=!0;ys.extend=_5;ys.indexOf=xSe;ys.escapeExpression=NSe;ys.isEmpty=SSe;ys.createFrame=RSe;ys.blockParams=TSe;ys.appendContextPath=vSe;var BSe={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},wSe=/[&<>"'`=]/g,bSe=/[&<>"'`=]/;function QSe(t){return BSe[t]}o(QSe,"escapeChar");function _5(t){for(var e=1;e{"use strict";cI.__esModule=!0;var Rk=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function Tk(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{"use strict";lI.__esModule=!0;var vk=br();lI.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(vk.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=vk.createFrame(r.data);i.contextPath=vk.appendContextPath(r.data.contextPath,r.name),r={data:i}}return n(e,r)})};O5.exports=lI.default});var q5=f((uI,U5)=>{"use strict";uI.__esModule=!0;function PSe(t){return t&&t.__esModule?t:{default:t}}o(PSe,"_interopRequireDefault");var Em=br(),kSe=Cs(),DSe=PSe(kSe);uI.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new DSe.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=Em.appendContextPath(r.data.contextPath,r.ids[0])+"."),Em.isFunction(e)&&(e=e.call(this)),r.data&&(c=Em.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:Em.blockParams([e[h],h],[l+h,null])})}if(o(u,"execIteration"),e&&typeof e=="object")if(Em.isArray(e))for(var A=e.length;i{"use strict";AI.__esModule=!0;function _Se(t){return t&&t.__esModule?t:{default:t}}o(_Se,"_interopRequireDefault");var LSe=Cs(),MSe=_Se(LSe);AI.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new MSe.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};G5.exports=AI.default});var Y5=f((dI,V5)=>{"use strict";dI.__esModule=!0;function OSe(t){return t&&t.__esModule?t:{default:t}}o(OSe,"_interopRequireDefault");var z5=br(),FSe=Cs(),$5=OSe(FSe);dI.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new $5.default("#if requires exactly one argument");return z5.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||z5.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new $5.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};V5.exports=dI.default});var W5=f((pI,J5)=>{"use strict";pI.__esModule=!0;pI.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],s=0;s{"use strict";mI.__esModule=!0;mI.default=function(t){t.registerHelper("lookup",function(e,r,s){return e&&s.lookupProperty(e,r)})};j5.exports=mI.default});var Z5=f((hI,X5)=>{"use strict";hI.__esModule=!0;function USe(t){return t&&t.__esModule?t:{default:t}}o(USe,"_interopRequireDefault");var ym=br(),qSe=Cs(),GSe=USe(qSe);hI.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new GSe.default("#with requires exactly one argument");ym.isFunction(e)&&(e=e.call(this));var s=r.fn;if(ym.isEmpty(e))return r.inverse(this);var n=r.data;return r.data&&r.ids&&(n=ym.createFrame(r.data),n.contextPath=ym.appendContextPath(r.data.contextPath,r.ids[0])),s(e,{data:n,blockParams:ym.blockParams([e],[n&&n.contextPath])})})};X5.exports=hI.default});var Pk=f(fI=>{"use strict";fI.__esModule=!0;fI.registerDefaultHelpers=sRe;fI.moveHelperToHooks=nRe;function kc(t){return t&&t.__esModule?t:{default:t}}o(kc,"_interopRequireDefault");var HSe=F5(),zSe=kc(HSe),$Se=q5(),VSe=kc($Se),YSe=H5(),JSe=kc(YSe),WSe=Y5(),jSe=kc(WSe),KSe=W5(),XSe=kc(KSe),ZSe=K5(),eRe=kc(ZSe),tRe=Z5(),rRe=kc(tRe);function sRe(t){zSe.default(t),VSe.default(t),JSe.default(t),jSe.default(t),XSe.default(t),eRe.default(t),rRe.default(t)}o(sRe,"registerDefaultHelpers");function nRe(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}o(nRe,"moveHelperToHooks")});var tj=f((gI,ej)=>{"use strict";gI.__esModule=!0;var iRe=br();gI.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=iRe.extend({},l,r.partials);var u=e(a,c);return s.partials=l,u},"ret")),r.partials[n.args[0]]=n.fn,i})};ej.exports=gI.default});var rj=f(kk=>{"use strict";kk.__esModule=!0;kk.registerDefaultDecorators=lRe;function oRe(t){return t&&t.__esModule?t:{default:t}}o(oRe,"_interopRequireDefault");var aRe=tj(),cRe=oRe(aRe);function lRe(t){cRe.default(t)}o(lRe,"registerDefaultDecorators")});var Dk=f((EI,sj)=>{"use strict";EI.__esModule=!0;var uRe=br(),Ku={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:o(function(e){if(typeof e=="string"){var r=uRe.indexOf(Ku.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},"lookupLevel"),log:o(function(e){if(e=Ku.lookupLevel(e),typeof console<"u"&&Ku.lookupLevel(Ku.level)<=e){var r=Ku.methodMap[e];console[r]||(r="log");for(var s=arguments.length,n=Array(s>1?s-1:0),i=1;i{"use strict";Cm.__esModule=!0;Cm.createProtoAccessControl=mRe;Cm.resultIsAllowed=hRe;Cm.resetLoggedProperties=gRe;function ARe(t){return t&&t.__esModule?t:{default:t}}o(ARe,"_interopRequireDefault");var nj=br(),dRe=Dk(),pRe=ARe(dRe),yI=Object.create(null);function mRe(t){var e=Object.create(null);e.__proto__=!1,nj.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,nj.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}o(mRe,"createProtoAccessControl");function hRe(t,e,r){return ij(typeof t=="function"?e.methods:e.properties,r)}o(hRe,"resultIsAllowed");function ij(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(fRe(e),!1)}o(ij,"checkWhiteList");function fRe(t){yI[t]!==!0&&(yI[t]=!0,pRe.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(fRe,"logUnexpecedPropertyAccessOnce");function gRe(){Object.keys(yI).forEach(function(t){delete yI[t]})}o(gRe,"resetLoggedProperties")});var II=f(Ri=>{"use strict";Ri.__esModule=!0;Ri.HandlebarsEnvironment=Ok;function oj(t){return t&&t.__esModule?t:{default:t}}o(oj,"_interopRequireDefault");var Dc=br(),ERe=Cs(),Lk=oj(ERe),yRe=Pk(),CRe=rj(),IRe=Dk(),CI=oj(IRe),BRe=_k(),wRe="4.7.9";Ri.VERSION=wRe;var bRe=8;Ri.COMPILER_REVISION=bRe;var QRe=7;Ri.LAST_COMPATIBLE_COMPILER_REVISION=QRe;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"};Ri.REVISION_CHANGES=xRe;var Mk="[object Object]";function Ok(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},yRe.registerDefaultHelpers(this),CRe.registerDefaultDecorators(this)}o(Ok,"HandlebarsEnvironment");Ok.prototype={constructor:Ok,logger:CI.default,log:CI.default.log,registerHelper:o(function(e,r){if(Dc.toString.call(e)===Mk){if(r)throw new Lk.default("Arg not supported with multiple helpers");Dc.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(Dc.toString.call(e)===Mk)Dc.extend(this.partials,e);else{if(typeof r>"u")throw new Lk.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(Dc.toString.call(e)===Mk){if(r)throw new Lk.default("Arg not supported with multiple decorators");Dc.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){BRe.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var NRe=CI.default.log;Ri.log=NRe;Ri.createFrame=Dc.createFrame;Ri.logger=CI.default});var cj=f((BI,aj)=>{"use strict";BI.__esModule=!0;function Fk(t){this.string=t}o(Fk,"SafeString");Fk.prototype.toString=Fk.prototype.toHTML=function(){return""+this.string};BI.default=Fk;aj.exports=BI.default});var lj=f(Uk=>{"use strict";Uk.__esModule=!0;Uk.wrapHelper=SRe;function SRe(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(SRe,"wrapHelper")});var hj=f(pa=>{"use strict";pa.__esModule=!0;pa.checkRevision=DRe;pa.template=_Re;pa.wrapProgram=wI;pa.resolvePartial=LRe;pa.invokePartial=MRe;pa.noop=pj;function RRe(t){return t&&t.__esModule?t:{default:t}}o(RRe,"_interopRequireDefault");function TRe(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(TRe,"_interopRequireWildcard");var vRe=br(),Xu=TRe(vRe),PRe=Cs(),fo=RRe(PRe),go=II(),uj=Pk(),kRe=lj(),Aj=_k();function DRe(t){var e=t&&t[0]||1,r=go.COMPILER_REVISION;if(!(e>=go.LAST_COMPATIBLE_COMPILER_REVISION&&e<=go.COMPILER_REVISION))if(e{"use strict";QI.__esModule=!0;QI.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}};fj.exports=QI.default});var Ij=f((xI,Cj)=>{"use strict";xI.__esModule=!0;function Hk(t){return t&&t.__esModule?t:{default:t}}o(Hk,"_interopRequireDefault");function zk(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(zk,"_interopRequireWildcard");var URe=II(),gj=zk(URe),qRe=cj(),GRe=Hk(qRe),HRe=Cs(),zRe=Hk(HRe),$Re=br(),Gk=zk($Re),VRe=hj(),Ej=zk(VRe),YRe=qk(),JRe=Hk(YRe);function yj(){var t=new gj.HandlebarsEnvironment;return Gk.extend(t,gj),t.SafeString=GRe.default,t.Exception=zRe.default,t.Utils=Gk,t.escapeExpression=Gk.escapeExpression,t.VM=Ej,t.template=function(e){return Ej.template(e,t)},t}o(yj,"create");var Im=yj();Im.create=yj;JRe.default(Im);Im.default=Im;xI.default=Im;Cj.exports=xI.default});var $k=f((NI,wj)=>{"use strict";NI.__esModule=!0;var Bj={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&&!Bj.helpers.scopedId(e)&&!e.depth},"simpleId")}};NI.default=Bj;wj.exports=NI.default});var Qj=f((SI,bj)=>{"use strict";SI.__esModule=!0;var WRe=(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(Ke){a.length=a.length-2*Ke,c.length=c.length-Ke,l.length=l.length-Ke}o(y,"popStack");function I(){var Ke;return Ke=i.lexer.lex()||1,typeof Ke!="number"&&(Ke=i.symbols_[Ke]||Ke),Ke}o(I,"lex");for(var B,N,D,q,pe,be,Re={},V,ne,G,ye;;){if(D=a[a.length-1],this.defaultActions[D]?q=this.defaultActions[D]:((B===null||typeof B>"u")&&(B=I()),q=u[D]&&u[D][B]),typeof q>"u"||!q.length||!q[0]){var bt="";if(!m){ye=[];for(V in u[D])this.terminals_[V]&&V>2&&ye.push("'"+this.terminals_[V]+"'");this.lexer.showPosition?bt="Parse error on line "+(d+1)+`: `+this.lexer.showPosition()+` Expecting `+ye.join(", ")+", got '"+(this.terminals_[B]||B)+"'":bt="Parse error on line "+(d+1)+": Unexpected "+(B==1?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(bt,{text:this.lexer.match,token:this.terminals_[B]||B,line:this.lexer.yylineno,loc:C,expected:ye})}}if(q[0]instanceof Array&&q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+D+", 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(ne=this.productions_[q[1]][1],Re.$=c[c.length-ne],Re._$={first_line:l[l.length-(ne||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(ne||1)].first_column,last_column:l[l.length-1].last_column},E&&(Re._$.range=[l[l.length-(ne||1)].range[0],l[l.length-1].range[1]]),be=this.performAction.call(Re,A,p,d,this.yy,q[1],c,l),typeof be<"u")return be;ne&&(a=a.slice(0,-1*ne*2),c=c.slice(0,-1*ne),l=l.slice(0,-1*ne)),a.push(this.productions_[q[1]][0]),c.push(Re.$),l.push(Re._$),G=u[a[a.length-2]][a[a.length-1]],a.push(G);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})();SI.default=WRe;bj.exports=SI.default});var PI=f((vI,Sj)=>{"use strict";vI.__esModule=!0;function jRe(t){return t&&t.__esModule?t:{default:t}}o(jRe,"_interopRequireDefault");var KRe=Cs(),Vk=jRe(KRe);function RI(){this.parents=[]}o(RI,"Visitor");RI.prototype={constructor:RI,mutating:!1,acceptKey:o(function(e,r){var s=this.accept(e[r]);if(this.mutating){if(s&&!RI.prototype[s.type])throw new Vk.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 Vk.default(e.type+" requires "+r)},"acceptRequired"),acceptArray:o(function(e){for(var r=0,s=e.length;r{"use strict";kI.__esModule=!0;function XRe(t){return t&&t.__esModule?t:{default:t}}o(XRe,"_interopRequireDefault");var ZRe=PI(),eTe=XRe(ZRe);function Ti(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}o(Ti,"WhitespaceControl");Ti.prototype=new eTe.default;Ti.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";Ks.__esModule=!0;Ks.SourceLocation=sTe;Ks.id=nTe;Ks.stripFlags=iTe;Ks.stripComment=oTe;Ks.preparePath=aTe;Ks.prepareMustache=cTe;Ks.prepareRawBlock=lTe;Ks.prepareBlock=uTe;Ks.prepareProgram=ATe;Ks.preparePartialBlock=dTe;function tTe(t){return t&&t.__esModule?t:{default:t}}o(tTe,"_interopRequireDefault");var rTe=Cs(),Wk=tTe(rTe);function jk(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new Wk.default(t.path.original+" doesn't match "+e,r)}}o(jk,"validateClose");function sTe(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(sTe,"SourceLocation");function nTe(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}o(nTe,"id");function iTe(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}o(iTe,"stripFlags");function oTe(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}o(oTe,"stripComment");function aTe(t,e,r){r=this.locInfo(r);for(var s=t?"@":"",n=[],i=0,a=0,c=e.length;a0)throw new Wk.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(aTe,"preparePath");function cTe(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(cTe,"prepareMustache");function lTe(t,e,r,s){jk(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(lTe,"prepareRawBlock");function uTe(t,e,r,s,n,i){s&&s.path&&jk(t,s);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,l=void 0;if(r){if(a)throw new Wk.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(uTe,"prepareBlock");function ATe(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(ATe,"prepareProgram");function dTe(t,e,r,s){return jk(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(dTe,"preparePartialBlock")});var kj=f(wm=>{"use strict";wm.__esModule=!0;wm.parseWithoutProcessing=Pj;wm.parse=ITe;function pTe(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(pTe,"_interopRequireWildcard");function Zk(t){return t&&t.__esModule?t:{default:t}}o(Zk,"_interopRequireDefault");var mTe=Qj(),Kk=Zk(mTe),hTe=Tj(),fTe=Zk(hTe),gTe=vj(),ETe=pTe(gTe),yTe=Cs(),Bm=Zk(yTe),CTe=br();wm.parser=Kk.default;var DI={};CTe.extend(DI,ETe);function Pj(t,e){if(t.type==="Program")return BTe(t),t;Kk.default.yy=DI,DI.locInfo=function(s){return new DI.SourceLocation(e&&e.srcName,s)};var r=Kk.default.parse(t);return r}o(Pj,"parseWithoutProcessing");function ITe(t,e){var r=Pj(t,e),s=new fTe.default(e);return s.accept(r)}o(ITe,"parse");function BTe(t){Xk(t)}o(BTe,"validateInputAst");function Xk(t){if(t!=null){if(Array.isArray(t)){t.forEach(Xk);return}if(typeof t=="object"){if(t.type==="PathExpression"){if(!wTe(t.depth))throw new Bm.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(t.parts))throw new Bm.default("Invalid AST: PathExpression.parts must be an array");for(var e=0;e=0}o(wTe,"isValidDepth")});var Mj=f(Nm=>{"use strict";Nm.__esModule=!0;Nm.Compiler=eD;Nm.precompile=NTe;Nm.compile=STe;function _j(t){return t&&t.__esModule?t:{default:t}}o(_j,"_interopRequireDefault");var bTe=Cs(),Qm=_j(bTe),xm=br(),QTe=$k(),bm=_j(QTe),xTe=[].slice;function eD(){}o(eD,"Compiler");eD.prototype={compiler:eD,equals:o(function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var s=0;s1)throw new Qm.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){Dj(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 Qm.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,bm.default.helpers.simpleId(i))}},"helperSexpr"),PathExpression:o(function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],s=bm.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 NTe(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new Qm.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(NTe,"precompile");function STe(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new Qm.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=xm.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(STe,"compile");function Lj(t,e){if(t===e)return!0;if(xm.isArray(t)&&xm.isArray(e)&&t.length===e.length){for(var r=0;r{var Oj="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");tD.encode=function(t){if(0<=t&&t{var Uj=Fj(),rD=5,qj=1<>1;return e?-r:r}o(TTe,"fromVLQSigned");sD.encode=o(function(e){var r="",s,n=RTe(e);do s=n&Gj,n>>>=rD,n>0&&(s|=Hj),r+=Uj.encode(s);while(n>0);return r},"base64VLQ_encode");sD.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=Uj.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));c=!!(l&Hj),l&=Gj,i=i+(l<{function vTe(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(vTe,"getArg");lr.getArg=vTe;var zj=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,PTe=/^data:.+\,.+$/;function Sm(t){var e=t.match(zj);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}o(Sm,"urlParse");lr.urlParse=Sm;function Zu(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(Zu,"urlGenerate");lr.urlGenerate=Zu;function iD(t){var e=t,r=Sm(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,Zu(r)):e}o(iD,"normalize");lr.normalize=iD;function $j(t,e){t===""&&(t="."),e===""&&(e=".");var r=Sm(e),s=Sm(t);if(s&&(t=s.path||"/"),r&&!r.scheme)return s&&(r.scheme=s.scheme),Zu(r);if(r||e.match(PTe))return e;if(s&&!s.host&&!s.path)return s.host=e,Zu(s);var n=e.charAt(0)==="/"?e:iD(t.replace(/\/+$/,"")+"/"+e);return s?(s.path=n,Zu(s)):n}o($j,"join");lr.join=$j;lr.isAbsolute=function(t){return t.charAt(0)==="/"||zj.test(t)};function kTe(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(kTe,"relative");lr.relative=kTe;var Vj=(function(){var t=Object.create(null);return!("__proto__"in t)})();function Yj(t){return t}o(Yj,"identity");function DTe(t){return Jj(t)?"$"+t:t}o(DTe,"toSetString");lr.toSetString=Vj?Yj:DTe;function _Te(t){return Jj(t)?t.slice(1):t}o(_Te,"fromSetString");lr.fromSetString=Vj?Yj:_Te;function Jj(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(Jj,"isProtoString");function LTe(t,e,r){var s=eA(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:eA(t.name,e.name)}o(LTe,"compareByOriginalPositions");lr.compareByOriginalPositions=LTe;function MTe(t,e,r){var s=t.generatedLine-e.generatedLine;return s!==0||(s=t.generatedColumn-e.generatedColumn,s!==0||r)||(s=eA(t.source,e.source),s!==0)||(s=t.originalLine-e.originalLine,s!==0)||(s=t.originalColumn-e.originalColumn,s!==0)?s:eA(t.name,e.name)}o(MTe,"compareByGeneratedPositionsDeflated");lr.compareByGeneratedPositionsDeflated=MTe;function eA(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}o(eA,"strcmp");function OTe(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=eA(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:eA(t.name,e.name)}o(OTe,"compareByGeneratedPositionsInflated");lr.compareByGeneratedPositionsInflated=OTe;function FTe(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}o(FTe,"parseSourceMapInput");lr.parseSourceMapInput=FTe;function UTe(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var s=Sm(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=$j(Zu(s),e)}return iD(e)}o(UTe,"computeSourceURL");lr.computeSourceURL=UTe});var cD=f(Wj=>{var oD=tA(),aD=Object.prototype.hasOwnProperty,Lc=typeof Map<"u";function Eo(){this._array=[],this._set=Lc?new Map:Object.create(null)}o(Eo,"ArraySet");Eo.fromArray=o(function(e,r){for(var s=new Eo,n=0,i=e.length;n=0)return r}else{var s=oD.toSetString(e);if(aD.call(this._set,s))return this._set[s]}throw new Error('"'+e+'" is not in the set.')},"ArraySet_indexOf");Eo.prototype.at=o(function(e){if(e>=0&&e{var jj=tA();function qTe(t,e){var r=t.generatedLine,s=e.generatedLine,n=t.generatedColumn,i=e.generatedColumn;return s>r||s==r&&i>=n||jj.compareByGeneratedPositionsInflated(t,e)<=0}o(qTe,"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){qTe(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(jj.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},"MappingList_toArray");Kj.MappingList=_I});var lD=f(Zj=>{var Rm=nD(),St=tA(),LI=cD().ArraySet,GTe=Xj().MappingList;function Xs(t){t||(t={}),this._file=St.getArg(t,"file",null),this._sourceRoot=St.getArg(t,"sourceRoot",null),this._skipValidation=St.getArg(t,"skipValidation",!1),this._sources=new LI,this._names=new LI,this._mappings=new GTe,this._sourcesContents=null}o(Xs,"SourceMapGenerator");Xs.prototype._version=3;Xs.fromSourceMap=o(function(e){var r=e.sourceRoot,s=new Xs({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=St.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=St.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");Xs.prototype.addMapping=o(function(e){var r=St.getArg(e,"generated"),s=St.getArg(e,"original",null),n=St.getArg(e,"source",null),i=St.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");Xs.prototype.setSourceContent=o(function(e,r){var s=e;this._sourceRoot!=null&&(s=St.relative(this._sourceRoot,s)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[St.toSetString(s)]=r):this._sourcesContents&&(delete this._sourcesContents[St.toSetString(s)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},"SourceMapGenerator_setSourceContent");Xs.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=St.relative(i,n));var a=new LI,c=new LI;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=St.join(s,l.source)),i!=null&&(l.source=St.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=St.join(s,l)),i!=null&&(l=St.relative(i,l)),this.setSourceContent(l,u))},this)},"SourceMapGenerator_applySourceMap");Xs.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");Xs.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(!St.compareByGeneratedPositionsInflated(u,p[m-1]))continue;l+=","}l+=Rm.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(d=this._sources.indexOf(u.source),l+=Rm.encode(d-a),a=d,l+=Rm.encode(u.originalLine-1-n),n=u.originalLine-1,l+=Rm.encode(u.originalColumn-s),s=u.originalColumn,u.name!=null&&(A=this._names.indexOf(u.name),l+=Rm.encode(A-i),i=A)),c+=l}return c},"SourceMapGenerator_serializeMappings");Xs.prototype._generateSourcesContent=o(function(e,r){return e.map(function(s){if(!this._sourcesContents)return null;r!=null&&(s=St.relative(r,s));var n=St.toSetString(s);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},"SourceMapGenerator_generateSourcesContent");Xs.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");Xs.prototype.toString=o(function(){return JSON.stringify(this.toJSON())},"SourceMapGenerator_toString");Zj.SourceMapGenerator=Xs});var e9=f(Mc=>{Mc.GREATEST_LOWER_BOUND=1;Mc.LEAST_UPPER_BOUND=2;function uD(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?uD(a,e,r,s,n,i):i==Mc.LEAST_UPPER_BOUND?e1?uD(t,a,r,s,n,i):i==Mc.LEAST_UPPER_BOUND?a:t<0?-1:t}o(uD,"recursiveSearch");Mc.search=o(function(e,r,s,n){if(r.length===0)return-1;var i=uD(-1,r.length,e,r,s,n||Mc.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 r9=f(t9=>{function AD(t,e,r){var s=t[e];t[e]=t[r],t[r]=s}o(AD,"swap");function HTe(t,e){return Math.round(t+Math.random()*(e-t))}o(HTe,"randomIntInRange");function dD(t,e,r,s){if(r{var z=tA(),pD=e9(),rA=cD().ArraySet,zTe=nD(),Tm=r9().quickSort;function Ge(t,e){var r=t;return typeof t=="string"&&(r=z.parseSourceMapInput(t)),r.sections!=null?new Sn(r,e):new jt(r,e)}o(Ge,"SourceMapConsumer");Ge.fromSourceMap=function(t,e){return jt.fromSourceMap(t,e)};Ge.prototype._version=3;Ge.prototype.__generatedMappings=null;Object.defineProperty(Ge.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings},"get")});Ge.prototype.__originalMappings=null;Object.defineProperty(Ge.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings},"get")});Ge.prototype._charIsMappingSeparator=o(function(e,r){var s=e.charAt(r);return s===";"||s===","},"SourceMapConsumer_charIsMappingSeparator");Ge.prototype._parseMappings=o(function(e,r){throw new Error("Subclasses must implement _parseMappings")},"SourceMapConsumer_parseMappings");Ge.GENERATED_ORDER=1;Ge.ORIGINAL_ORDER=2;Ge.GREATEST_LOWER_BOUND=1;Ge.LEAST_UPPER_BOUND=2;Ge.prototype.eachMapping=o(function(e,r,s){var n=r||null,i=s||Ge.GENERATED_ORDER,a;switch(i){case Ge.GENERATED_ORDER:a=this._generatedMappings;break;case Ge.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=z.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");Ge.prototype.allGeneratedPositionsFor=o(function(e){var r=z.getArg(e,"line"),s={source:z.getArg(e,"source"),originalLine:r,originalColumn:z.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",z.compareByOriginalPositions,pD.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:z.getArg(a,"generatedLine",null),column:z.getArg(a,"generatedColumn",null),lastColumn:z.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)n.push({line:z.getArg(a,"generatedLine",null),column:z.getArg(a,"generatedColumn",null),lastColumn:z.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i]}return n},"SourceMapConsumer_allGeneratedPositionsFor");MI.SourceMapConsumer=Ge;function jt(t,e){var r=t;typeof t=="string"&&(r=z.parseSourceMapInput(t));var s=z.getArg(r,"version"),n=z.getArg(r,"sources"),i=z.getArg(r,"names",[]),a=z.getArg(r,"sourceRoot",null),c=z.getArg(r,"sourcesContent",null),l=z.getArg(r,"mappings"),u=z.getArg(r,"file",null);if(s!=this._version)throw new Error("Unsupported version: "+s);a&&(a=z.normalize(a)),n=n.map(String).map(z.normalize).map(function(A){return a&&z.isAbsolute(a)&&z.isAbsolute(A)?z.relative(a,A):A}),this._names=rA.fromArray(i.map(String),!0),this._sources=rA.fromArray(n,!0),this._absoluteSources=this._sources.toArray().map(function(A){return z.computeSourceURL(a,A,e)}),this.sourceRoot=a,this.sourcesContent=c,this._mappings=l,this._sourceMapURL=e,this.file=u}o(jt,"BasicSourceMapConsumer");jt.prototype=Object.create(Ge.prototype);jt.prototype.consumer=Ge;jt.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=z.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)}Tm(h,z.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,Tm(m,z.compareByOriginalPositions),this.__originalMappings=m},"SourceMapConsumer_parseMappings");jt.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 pD.search(e,r,i,a)},"SourceMapConsumer_findMapping");jt.prototype.computeColumnSpans=o(function(){for(var e=0;e=0){var n=this._generatedMappings[s];if(n.generatedLine===r.generatedLine){var i=z.getArg(n,"source",null);i!==null&&(i=this._sources.at(i),i=z.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var a=z.getArg(n,"name",null);return a!==null&&(a=this._names.at(a)),{source:i,line:z.getArg(n,"originalLine",null),column:z.getArg(n,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},"SourceMapConsumer_originalPositionFor");jt.prototype.hasContentsOfAllSources=o(function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},"BasicSourceMapConsumer_hasContentsOfAllSources");jt.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=z.relative(this.sourceRoot,n));var i;if(this.sourceRoot!=null&&(i=z.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");jt.prototype.generatedPositionFor=o(function(e){var r=z.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var s={source:r,originalLine:z.getArg(e,"line"),originalColumn:z.getArg(e,"column")},n=this._findMapping(s,this._originalMappings,"originalLine","originalColumn",z.compareByOriginalPositions,z.getArg(e,"bias",Ge.GREATEST_LOWER_BOUND));if(n>=0){var i=this._originalMappings[n];if(i.source===s.source)return{line:z.getArg(i,"generatedLine",null),column:z.getArg(i,"generatedColumn",null),lastColumn:z.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},"SourceMapConsumer_generatedPositionFor");MI.BasicSourceMapConsumer=jt;function Sn(t,e){var r=t;typeof t=="string"&&(r=z.parseSourceMapInput(t));var s=z.getArg(r,"version"),n=z.getArg(r,"sections");if(s!=this._version)throw new Error("Unsupported version: "+s);this._sources=new rA,this._names=new rA;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=z.getArg(a,"offset"),l=z.getArg(c,"line"),u=z.getArg(c,"column");if(l{var $Te=lD().SourceMapGenerator,OI=tA(),VTe=/(\r?\n)/,YTe=10,sA="$$$isSourceNode$$$";function Is(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[sA]=!0,s!=null&&this.add(s)}o(Is,"SourceNode");Is.fromStringWithSourceMap=o(function(e,r,s){var n=new Is,i=e.split(VTe),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[sA]||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");Is.prototype.walk=o(function(e){for(var r,s=0,n=this.children.length;s0){for(r=[],s=0;s{FI.SourceMapGenerator=lD().SourceMapGenerator;FI.SourceMapConsumer=n9().SourceMapConsumer;FI.SourceNode=o9().SourceNode});var A9=f((UI,u9)=>{"use strict";UI.__esModule=!0;var hD=br(),Oc=void 0;try{(typeof define!="function"||!define.amd)&&(c9=a9(),Oc=c9.SourceNode)}catch{}var c9;Oc||(Oc=o(function(t,e,r,s){this.src="",s&&this.add(s)},"SourceNode"),Oc.prototype={add:o(function(e){hD.isArray(e)&&(e=e.join("")),this.src+=e},"add"),prepend:o(function(e){hD.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 mD(t,e,r){if(hD.isArray(t)){for(var s=[],n=0,i=t.length;n{"use strict";qI.__esModule=!0;function m9(t){return t&&t.__esModule?t:{default:t}}o(m9,"_interopRequireDefault");var d9=II(),JTe=Cs(),fD=m9(JTe),WTe=br(),jTe=A9(),p9=m9(jTe);function nA(t){this.value=t}o(nA,"Literal");function iA(){}o(iA,"JavaScriptCompiler");iA.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=d9.COMPILER_REVISION,r=d9.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,s){return WTe.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(KTe(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";GI.__esModule=!0;function vm(t){return t&&t.__esModule?t:{default:t}}o(vm,"_interopRequireDefault");var XTe=Ij(),ZTe=vm(XTe),eve=$k(),tve=vm(eve),gD=kj(),ED=Mj(),rve=f9(),sve=vm(rve),nve=PI(),ive=vm(nve),ove=qk(),ave=vm(ove),cve=ZTe.default.create;function g9(){var t=cve();return t.compile=function(e,r){return ED.compile(e,r,t)},t.precompile=function(e,r){return ED.precompile(e,r,t)},t.AST=tve.default,t.Compiler=ED.Compiler,t.JavaScriptCompiler=sve.default,t.Parser=gD.parser,t.parse=gD.parse,t.parseWithoutProcessing=gD.parseWithoutProcessing,t}o(g9,"create");var oA=g9();oA.create=g9;ave.default(oA);oA.Visitor=ive.default;oA.default=oA;GI.default=oA;E9.exports=GI.default});var C9=f(HI=>{"use strict";HI.__esModule=!0;HI.print=dve;HI.PrintVisitor=lt;function lve(t){return t&&t.__esModule?t:{default:t}}o(lve,"_interopRequireDefault");var uve=PI(),Ave=lve(uve);function dve(t){return new lt().accept(t)}o(dve,"print");function lt(){this.padding=0}o(lt,"PrintVisitor");lt.prototype=new Ave.default;lt.prototype.pad=function(t){for(var e="",r=0,s=this.padding;r "+e+" }}")};lt.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+" }}")};lt.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};lt.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};lt.prototype.SubExpression=function(t){for(var e=t.params,r=[],s=void 0,n=0,i=e.length;n{var ke=require("fs"),VI=require("os"),Mt=require("path"),b9=require("crypto"),vi={fs:ke.constants,os:VI.constants},Q9="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",R9=/XXXXXX/,pve=3,T9=(vi.O_CREAT||vi.fs.O_CREAT)|(vi.O_EXCL||vi.fs.O_EXCL)|(vi.O_RDWR||vi.fs.O_RDWR),mve=VI.platform()==="win32",hve=vi.EBADF||vi.os.errno.EBADF,fve=vi.ENOENT||vi.os.errno.ENOENT,v9=448,P9=384,gve="exit",aA=[],k9=ke.rmdirSync.bind(ke),D9=!1;function Eve(t,e){return ke.rm(t,{recursive:!0},e)}o(Eve,"rimraf");function _9(t){return ke.rmSync(t,{recursive:!0})}o(_9,"FN_RIMRAF_SYNC");function wD(t,e){let r=cA(t,e),s=r[0],n=r[1];Sve(s,function(i,a){if(i)return n(i);let c=a.tries;o((function l(){try{let u=M9(a);ke.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(wD,"tmpName");function bD(t){let e=cA(t),r=e[0],s=Rve(r),n=s.tries;do{let i=M9(s);try{ke.statSync(i)}catch{return i}}while(n-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}o(bD,"tmpNameSync");function yve(t,e){let r=cA(t,e),s=r[0],n=r[1];wD(s,o(function(a,c){if(a)return n(a);ke.open(c,T9,s.mode||P9,o(function(u,A){if(u)return n(u);if(s.discardDescriptor)return ke.close(A,o(function(p){return n(p,c,void 0,ID(c,-1,s,!1))},"_discardCallback"));{let d=s.discardDescriptor||s.detachDescriptor;n(null,c,A,ID(c,d?-1:A,s,!1))}},"_fileCreated"))},"_tmpNameCreated"))}o(yve,"file");function Cve(t){let e=cA(t),r=e[0],s=r.discardDescriptor||r.detachDescriptor,n=bD(r),i=ke.openSync(n,T9,r.mode||P9);return r.discardDescriptor&&(ke.closeSync(i),i=void 0),{name:n,fd:i,removeCallback:ID(n,s?-1:i,r,!0)}}o(Cve,"fileSync");function Ive(t,e){let r=cA(t,e),s=r[0],n=r[1];wD(s,o(function(a,c){if(a)return n(a);ke.mkdir(c,s.mode||v9,o(function(u){if(u)return n(u);n(null,c,L9(c,s,!1))},"_dirCreated"))},"_tmpNameCreated"))}o(Ive,"dir");function Bve(t){let e=cA(t),r=e[0],s=bD(r);return ke.mkdirSync(s,r.mode||v9),{name:s,removeCallback:L9(s,r,!0)}}o(Bve,"dirSync");function wve(t,e){let r=o(function(s){if(s&&!BD(s))return e(s);e()},"_handler");0<=t[0]?ke.close(t[0],function(){ke.unlink(t[1],r)}):ke.unlink(t[1],r)}o(wve,"_removeFileAsync");function bve(t){let e=null;try{0<=t[0]&&ke.closeSync(t[0])}catch(r){if(!Tve(r)&&!BD(r))throw r}finally{try{ke.unlinkSync(t[1])}catch(r){BD(r)||(e=r)}}if(e!==null)throw e}o(bve,"_removeFileSync");function ID(t,e,r,s){let n=$I(bve,[e,t],s),i=$I(wve,[e,t],s,n);return r.keep||aA.unshift(n),s?n:i}o(ID,"_prepareTmpFileRemoveCallback");function L9(t,e,r){let s=e.unsafeCleanup?Eve:ke.rmdir.bind(ke),n=e.unsafeCleanup?_9:k9,i=$I(n,t,r),a=$I(s,t,r,i);return e.keep||aA.unshift(i),r?i:a}o(L9,"_prepareTmpDirRemoveCallback");function $I(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===k9||t===_9?t(e):t(e,a||function(){})}},"_cleanupCallback")}o($I,"_prepareRemoveCallback");function Qve(){if(D9)for(;aA.length;)try{aA[0]()}catch{}}o(Qve,"_garbageCollector");function x9(t){let e=[],r=null;try{r=b9.randomBytes(t)}catch{r=b9.pseudoRandomBytes(t)}for(let s=0;s"u"}o(Vr,"_isUndefined");function cA(t,e){if(typeof t=="function")return[{},t];if(Vr(t))return[{},e];let r={};for(let s of Object.getOwnPropertyNames(t))r[s]=t[s];return[r,e]}o(cA,"_parseArguments");function xve(t,e,r){let s=Mt.isAbsolute(t)?t:Mt.join(e,t);ke.stat(s,function(n){n?ke.realpath(Mt.dirname(s),function(i,a){if(i)return r(i);r(null,Mt.join(a,Mt.basename(s)))}):ke.realpath(s,r)})}o(xve,"_resolvePath");function Nve(t,e){let r=Mt.isAbsolute(t)?t:Mt.join(e,t);try{return ke.statSync(r),ke.realpathSync(r)}catch{let n=ke.realpathSync(Mt.dirname(r));return Mt.join(n,Mt.basename(r))}}o(Nve,"_resolvePathSync");function M9(t){let e=t.tmpdir;if(!Vr(t.name))return Mt.join(e,t.dir,t.name);if(!Vr(t.template))return Mt.join(e,t.dir,t.template).replace(R9,x9(6));let r=[t.prefix?t.prefix:"tmp","-",process.pid,"-",x9(12),t.postfix?"-"+t.postfix:""].join("");return Mt.join(e,t.dir,r)}o(M9,"_generateTmpName");function CD(t){if(t.includes(".."))throw new Error("Relative value not allowed");return t}o(CD,"_assertPath");function O9(t){if(!Vr(t.name)){let e=t.name;if(Mt.isAbsolute(e))throw new Error(`name option must not contain an absolute path, found "${e}".`);let r=Mt.basename(e);if(r===".."||r==="."||r!==e)throw new Error(`name option must not contain a path, found "${e}".`)}if(!Vr(t.template)&&!t.template.match(R9))throw new Error(`Invalid template, found "${t.template}".`);if(!Vr(t.tries)&&isNaN(t.tries)||t.tries<0)throw new Error(`Invalid tries, found "${t.tries}".`);t.tries=Vr(t.name)?t.tries||pve:1,t.keep=!!t.keep,t.detachDescriptor=!!t.detachDescriptor,t.discardDescriptor=!!t.discardDescriptor,t.unsafeCleanup=!!t.unsafeCleanup,t.prefix=Vr(t.prefix)?"":CD(t.prefix),t.postfix=Vr(t.postfix)?"":CD(t.postfix),t.template=Vr(t.template)?void 0:CD(t.template)}o(O9,"_assertOptionsBase");function N9(t,e,r,s){if(Vr(e))return s(null);xve(e,r,function(n,i){if(n)return s(n);let a=Mt.relative(r,i);if(a.startsWith("..")||Mt.isAbsolute(a))return s(new Error(`${t} option must be relative to "${r}", found "${a}".`));s(null,a)})}o(N9,"_getRelativePath");function S9(t,e,r){if(Vr(e))return;let s=Nve(e,r),n=Mt.relative(r,s);if(n.startsWith("..")||Mt.isAbsolute(n))throw new Error(`${t} option must be relative to "${r}", found "${n}".`);return n}o(S9,"_getRelativePathSync");function Sve(t,e){Pve(t,function(r,s){if(r)return e(r);t.tmpdir=s;try{O9(t,s)}catch(n){return e(n)}N9("dir",t.dir,s,function(n,i){if(n)return e(n);t.dir=Vr(i)?"":i,N9("template",t.template,s,function(a,c){if(a)return e(a);t.template=c,e(null,t)})})})}o(Sve,"_assertAndSanitizeOptions");function Rve(t){let e=t.tmpdir=U9(t);O9(t,e);let r=S9("dir",t.dir,e);return t.dir=Vr(r)?"":r,t.template=S9("template",t.template,e),t}o(Rve,"_assertAndSanitizeOptionsSync");function Tve(t){return F9(t,-hve,"EBADF")}o(Tve,"_isEBADF");function BD(t){return F9(t,-fve,"ENOENT")}o(BD,"_isENOENT");function F9(t,e,r){return mve?t.code===r:t.code===r&&t.errno===e}o(F9,"_isExpectedError");function vve(){D9=!0}o(vve,"setGracefulCleanup");function Pve(t,e){return ke.realpath(t&&t.tmpdir||VI.tmpdir(),e)}o(Pve,"_getTmpDir");function U9(t){return ke.realpathSync(t&&t.tmpdir||VI.tmpdir())}o(U9,"_getTmpDirSync");process.addListener(gve,Qve);Object.defineProperty(yo.exports,"tmpdir",{enumerable:!0,configurable:!1,get:o(function(){return U9()},"get")});yo.exports.dir=Ive;yo.exports.dirSync=Bve;yo.exports.file=yve;yo.exports.fileSync=Cve;yo.exports.tmpName=wD;yo.exports.tmpNameSync=bD;yo.exports.setGracefulCleanup=vve});var r6=f(KI=>{"use strict";Object.defineProperty(KI,"__esModule",{value:!0});KI.getProxyUrl=Uve;KI.checkBypass=t6;function Uve(t){let e=t.protocol==="https:";if(t6(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 jI(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new jI(`http://${r}`)}else return}o(Uve,"getProxyUrl");function t6(t){if(!t.hostname)return!1;let e=t.hostname;if(qve(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(t6,"checkBypass");function qve(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(qve,"isLoopbackAddress");var jI=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 n6=f(je=>{"use strict";var Gve=je&&je.__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]})),Hve=je&&je.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),tB=je&&je.__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))})}))})}};je.HttpClientResponse=eB;function Kve(t){return new URL(t).protocol==="https:"}o(Kve,"isHttps");var kD=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[xr.Accept]=this._getExistingOrDefaultHeader(s,xr.Accept,Co.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[xr.Accept]=this._getExistingOrDefaultHeader(i,xr.Accept,Co.ApplicationJson),i[xr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Co.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[xr.Accept]=this._getExistingOrDefaultHeader(i,xr.Accept,Co.ApplicationJson),i[xr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Co.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[xr.Accept]=this._getExistingOrDefaultHeader(i,xr.Accept,Co.ApplicationJson),i[xr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Co.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&&Jve.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,s),u&&u.message&&u.message.statusCode===Zs.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&&Vve.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||!Yve.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 eB(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=PD.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?s6:vD;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({},Dm(this.requestOptions.headers),Dm(e||{})):Dm(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=Dm(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=Dm(this.requestOptions.headers)[xr.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[xr.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=PD.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||vD.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?XI.httpsOverHttps:XI.httpsOverHttp:l=u?XI.httpOverHttps:XI.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new s6.Agent(c):new vD.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 zve.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(Wve,e);let r=jve*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===Zs.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 ZI(A,i);d.result=a.result,n(d)}else s(a)}))})}};je.HttpClient=kD;var Dm=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys")});var x6=f((flt,Lm)=>{"use strict";var iB=o(function(){},"NullObject");iB.prototype=Object.create(null);var sB=/; *([!#$%&'*+.^\w`|~-]+)=("(?:[\v\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\v\u0020-\u00ff])*"|[!#$%&'*+.^\w`|~-]+) */gu,nB=/\\([\v\u0020-\u00ff])/gu,w6=/^[!#$%&'*+.^\w|~-]+\/[!#$%&'*+.^\w|~-]+$/u,Fc={type:"",parameters:new iB};Object.freeze(Fc.parameters);Object.freeze(Fc);function b6(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(w6.test(r)===!1)throw new TypeError("invalid media type");let s={type:r.toLowerCase(),parameters:new iB};if(e===-1)return s;let n,i,a;for(sB.lastIndex=e;i=sB.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),nB.test(a)&&(a=a.replace(nB,"$1"))),s.parameters[n]=a}if(e!==t.length)throw new TypeError("invalid parameter format");return s}o(b6,"parse");function Q6(t){if(typeof t!="string")return Fc;let e=t.indexOf(";"),r=e!==-1?t.slice(0,e).trim():t.trim();if(w6.test(r)===!1)return Fc;let s={type:r.toLowerCase(),parameters:new iB};if(e===-1)return s;let n,i,a;for(sB.lastIndex=e;i=sB.exec(t);){if(i.index!==e)return Fc;e+=i[0].length,n=i[1].toLowerCase(),a=i[2],a[0]==='"'&&(a=a.slice(1,a.length-1),nB.test(a)&&(a=a.replace(nB,"$1"))),s.parameters[n]=a}return e!==t.length?Fc:s}o(Q6,"safeParse");Lm.exports.default={parse:b6,safeParse:Q6};Lm.exports.parse=b6;Lm.exports.safeParse=Q6;Lm.exports.defaultContentType=Fc});var mA=f((Iut,W6)=>{"use strict";var tke="2.0.0",rke=Number.MAX_SAFE_INTEGER||9007199254740991,ske=16,nke=250,ike=["major","premajor","minor","preminor","patch","prepatch","prerelease"];W6.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:ske,MAX_SAFE_BUILD_LENGTH:nke,MAX_SAFE_INTEGER:rke,RELEASE_TYPES:ike,SEMVER_SPEC_VERSION:tke,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Um=f((But,j6)=>{"use strict";var oke=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};j6.exports=oke});var hA=f((Pi,K6)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:e_,MAX_SAFE_BUILD_LENGTH:ake,MAX_LENGTH:cke}=mA(),lke=Um();Pi=K6.exports={};var uke=Pi.re=[],Ake=Pi.safeRe=[],F=Pi.src=[],dke=Pi.safeSrc=[],U=Pi.t={},pke=0,t_="[a-zA-Z0-9-]",mke=[["\\s",1],["\\d",cke],[t_,ake]],hke=o(t=>{for(let[e,r]of mke)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),le=o((t,e,r)=>{let s=hke(e),n=pke++;lke(t,n,e),U[t]=n,F[n]=e,dke[n]=s,uke[n]=new RegExp(e,r?"g":void 0),Ake[n]=new RegExp(s,r?"g":void 0)},"createToken");le("NUMERICIDENTIFIER","0|[1-9]\\d*");le("NUMERICIDENTIFIERLOOSE","\\d+");le("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${t_}*`);le("MAINVERSION",`(${F[U.NUMERICIDENTIFIER]})\\.(${F[U.NUMERICIDENTIFIER]})\\.(${F[U.NUMERICIDENTIFIER]})`);le("MAINVERSIONLOOSE",`(${F[U.NUMERICIDENTIFIERLOOSE]})\\.(${F[U.NUMERICIDENTIFIERLOOSE]})\\.(${F[U.NUMERICIDENTIFIERLOOSE]})`);le("PRERELEASEIDENTIFIER",`(?:${F[U.NONNUMERICIDENTIFIER]}|${F[U.NUMERICIDENTIFIER]})`);le("PRERELEASEIDENTIFIERLOOSE",`(?:${F[U.NONNUMERICIDENTIFIER]}|${F[U.NUMERICIDENTIFIERLOOSE]})`);le("PRERELEASE",`(?:-(${F[U.PRERELEASEIDENTIFIER]}(?:\\.${F[U.PRERELEASEIDENTIFIER]})*))`);le("PRERELEASELOOSE",`(?:-?(${F[U.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${F[U.PRERELEASEIDENTIFIERLOOSE]})*))`);le("BUILDIDENTIFIER",`${t_}+`);le("BUILD",`(?:\\+(${F[U.BUILDIDENTIFIER]}(?:\\.${F[U.BUILDIDENTIFIER]})*))`);le("FULLPLAIN",`v?${F[U.MAINVERSION]}${F[U.PRERELEASE]}?${F[U.BUILD]}?`);le("FULL",`^${F[U.FULLPLAIN]}$`);le("LOOSEPLAIN",`[v=\\s]*${F[U.MAINVERSIONLOOSE]}${F[U.PRERELEASELOOSE]}?${F[U.BUILD]}?`);le("LOOSE",`^${F[U.LOOSEPLAIN]}$`);le("GTLT","((?:<|>)?=?)");le("XRANGEIDENTIFIERLOOSE",`${F[U.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);le("XRANGEIDENTIFIER",`${F[U.NUMERICIDENTIFIER]}|x|X|\\*`);le("XRANGEPLAIN",`[v=\\s]*(${F[U.XRANGEIDENTIFIER]})(?:\\.(${F[U.XRANGEIDENTIFIER]})(?:\\.(${F[U.XRANGEIDENTIFIER]})(?:${F[U.PRERELEASE]})?${F[U.BUILD]}?)?)?`);le("XRANGEPLAINLOOSE",`[v=\\s]*(${F[U.XRANGEIDENTIFIERLOOSE]})(?:\\.(${F[U.XRANGEIDENTIFIERLOOSE]})(?:\\.(${F[U.XRANGEIDENTIFIERLOOSE]})(?:${F[U.PRERELEASELOOSE]})?${F[U.BUILD]}?)?)?`);le("XRANGE",`^${F[U.GTLT]}\\s*${F[U.XRANGEPLAIN]}$`);le("XRANGELOOSE",`^${F[U.GTLT]}\\s*${F[U.XRANGEPLAINLOOSE]}$`);le("COERCEPLAIN",`(^|[^\\d])(\\d{1,${e_}})(?:\\.(\\d{1,${e_}}))?(?:\\.(\\d{1,${e_}}))?`);le("COERCE",`${F[U.COERCEPLAIN]}(?:$|[^\\d])`);le("COERCEFULL",F[U.COERCEPLAIN]+`(?:${F[U.PRERELEASE]})?(?:${F[U.BUILD]})?(?:$|[^\\d])`);le("COERCERTL",F[U.COERCE],!0);le("COERCERTLFULL",F[U.COERCEFULL],!0);le("LONETILDE","(?:~>?)");le("TILDETRIM",`(\\s*)${F[U.LONETILDE]}\\s+`,!0);Pi.tildeTrimReplace="$1~";le("TILDE",`^${F[U.LONETILDE]}${F[U.XRANGEPLAIN]}$`);le("TILDELOOSE",`^${F[U.LONETILDE]}${F[U.XRANGEPLAINLOOSE]}$`);le("LONECARET","(?:\\^)");le("CARETTRIM",`(\\s*)${F[U.LONECARET]}\\s+`,!0);Pi.caretTrimReplace="$1^";le("CARET",`^${F[U.LONECARET]}${F[U.XRANGEPLAIN]}$`);le("CARETLOOSE",`^${F[U.LONECARET]}${F[U.XRANGEPLAINLOOSE]}$`);le("COMPARATORLOOSE",`^${F[U.GTLT]}\\s*(${F[U.LOOSEPLAIN]})$|^$`);le("COMPARATOR",`^${F[U.GTLT]}\\s*(${F[U.FULLPLAIN]})$|^$`);le("COMPARATORTRIM",`(\\s*)${F[U.GTLT]}\\s*(${F[U.LOOSEPLAIN]}|${F[U.XRANGEPLAIN]})`,!0);Pi.comparatorTrimReplace="$1$2$3";le("HYPHENRANGE",`^\\s*(${F[U.XRANGEPLAIN]})\\s+-\\s+(${F[U.XRANGEPLAIN]})\\s*$`);le("HYPHENRANGELOOSE",`^\\s*(${F[U.XRANGEPLAINLOOSE]})\\s+-\\s+(${F[U.XRANGEPLAINLOOSE]})\\s*$`);le("STAR","(<|>)?=?\\s*\\*");le("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");le("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var lB=f((but,X6)=>{"use strict";var fke=Object.freeze({loose:!0}),gke=Object.freeze({}),Eke=o(t=>t?typeof t!="object"?fke:t:gke,"parseOptions");X6.exports=Eke});var r_=f((xut,tK)=>{"use strict";var Z6=/^[0-9]+$/,eK=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:teK(e,t),"rcompareIdentifiers");tK.exports={compareIdentifiers:eK,rcompareIdentifiers:yke}});var Kt=f((Sut,sK)=>{"use strict";var uB=Um(),{MAX_LENGTH:rK,MAX_SAFE_INTEGER:AB}=mA(),{safeRe:dB,t:pB}=hA(),Cke=lB(),{compareIdentifiers:s_}=r_(),n_=class t{static{o(this,"SemVer")}constructor(e,r){if(r=Cke(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>rK)throw new TypeError(`version is longer than ${rK} characters`);uB("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let s=e.trim().match(r.loose?dB[pB.LOOSE]:dB[pB.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>AB||this.major<0)throw new TypeError("Invalid major version");if(this.minor>AB||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>AB||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(uB("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 s_(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(uB("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 s_(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?dB[pB.PRERELEASELOOSE]:dB[pB.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]),s_(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}};sK.exports=n_});var Ea=f((Tut,iK)=>{"use strict";var nK=Kt(),Ike=o((t,e,r=!1)=>{if(t instanceof nK)return t;try{return new nK(t,e)}catch(s){if(!r)return null;throw s}},"parse");iK.exports=Ike});var aK=f((Put,oK)=>{"use strict";var Bke=Ea(),wke=o((t,e)=>{let r=Bke(t,e);return r?r.version:null},"valid");oK.exports=wke});var lK=f((Dut,cK)=>{"use strict";var bke=Ea(),Qke=o((t,e)=>{let r=bke(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");cK.exports=Qke});var dK=f((Lut,AK)=>{"use strict";var uK=Kt(),xke=o((t,e,r,s,n)=>{typeof r=="string"&&(n=s,s=r,r=void 0);try{return new uK(t instanceof uK?t.version:t,r).inc(e,s,n).version}catch{return null}},"inc");AK.exports=xke});var hK=f((Out,mK)=>{"use strict";var pK=Ea(),Nke=o((t,e)=>{let r=pK(t,null,!0),s=pK(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");mK.exports=Nke});var gK=f((Uut,fK)=>{"use strict";var Ske=Kt(),Rke=o((t,e)=>new Ske(t,e).major,"major");fK.exports=Rke});var yK=f((Gut,EK)=>{"use strict";var Tke=Kt(),vke=o((t,e)=>new Tke(t,e).minor,"minor");EK.exports=vke});var IK=f((zut,CK)=>{"use strict";var Pke=Kt(),kke=o((t,e)=>new Pke(t,e).patch,"patch");CK.exports=kke});var wK=f((Vut,BK)=>{"use strict";var Dke=Ea(),_ke=o((t,e)=>{let r=Dke(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");BK.exports=_ke});var tn=f((Jut,QK)=>{"use strict";var bK=Kt(),Lke=o((t,e,r)=>new bK(t,r).compare(new bK(e,r)),"compare");QK.exports=Lke});var NK=f((jut,xK)=>{"use strict";var Mke=tn(),Oke=o((t,e,r)=>Mke(e,t,r),"rcompare");xK.exports=Oke});var RK=f((Xut,SK)=>{"use strict";var Fke=tn(),Uke=o((t,e)=>Fke(t,e,!0),"compareLoose");SK.exports=Uke});var mB=f((eAt,vK)=>{"use strict";var TK=Kt(),qke=o((t,e,r)=>{let s=new TK(t,r),n=new TK(e,r);return s.compare(n)||s.compareBuild(n)},"compareBuild");vK.exports=qke});var kK=f((rAt,PK)=>{"use strict";var Gke=mB(),Hke=o((t,e)=>t.sort((r,s)=>Gke(r,s,e)),"sort");PK.exports=Hke});var _K=f((nAt,DK)=>{"use strict";var zke=mB(),$ke=o((t,e)=>t.sort((r,s)=>zke(s,r,e)),"rsort");DK.exports=$ke});var qm=f((oAt,LK)=>{"use strict";var Vke=tn(),Yke=o((t,e,r)=>Vke(t,e,r)>0,"gt");LK.exports=Yke});var hB=f((cAt,MK)=>{"use strict";var Jke=tn(),Wke=o((t,e,r)=>Jke(t,e,r)<0,"lt");MK.exports=Wke});var i_=f((uAt,OK)=>{"use strict";var jke=tn(),Kke=o((t,e,r)=>jke(t,e,r)===0,"eq");OK.exports=Kke});var o_=f((dAt,FK)=>{"use strict";var Xke=tn(),Zke=o((t,e,r)=>Xke(t,e,r)!==0,"neq");FK.exports=Zke});var fB=f((mAt,UK)=>{"use strict";var eDe=tn(),tDe=o((t,e,r)=>eDe(t,e,r)>=0,"gte");UK.exports=tDe});var gB=f((fAt,qK)=>{"use strict";var rDe=tn(),sDe=o((t,e,r)=>rDe(t,e,r)<=0,"lte");qK.exports=sDe});var a_=f((EAt,GK)=>{"use strict";var nDe=i_(),iDe=o_(),oDe=qm(),aDe=fB(),cDe=hB(),lDe=gB(),uDe=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 iDe(t,r,s);case">":return oDe(t,r,s);case">=":return aDe(t,r,s);case"<":return cDe(t,r,s);case"<=":return lDe(t,r,s);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");GK.exports=uDe});var zK=f((CAt,HK)=>{"use strict";var ADe=Kt(),dDe=Ea(),{safeRe:EB,t:yB}=hA(),pDe=o((t,e)=>{if(t instanceof ADe)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?EB[yB.COERCEFULL]:EB[yB.COERCE]);else{let l=e.includePrerelease?EB[yB.COERCERTLFULL]:EB[yB.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 dDe(`${s}.${n}.${i}${a}${c}`,e)},"coerce");HK.exports=pDe});var VK=f((BAt,$K)=>{"use strict";var mDe=Ea(),hDe=mA(),fDe=Kt(),gDe=o((t,e,r)=>{if(!hDe.RELEASE_TYPES.includes(e))return null;let s=EDe(t,r);return s&&yDe(s,e)},"truncate"),EDe=o((t,e)=>{let r=t instanceof fDe?t.version:t;return mDe(r,e)},"cloneInputVersion"),yDe=o((t,e)=>{if(CDe(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"),CDe=o(t=>t.startsWith("pre"),"isPrerelease");$K.exports=gDe});var JK=f((bAt,YK)=>{"use strict";var c_=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}};YK.exports=c_});var rn=f((xAt,XK)=>{"use strict";var IDe=/\s+/g,l_=class t{static{o(this,"Range")}constructor(e,r){if(r=wDe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof u_)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(IDe," "),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=>!jK(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&&PDe(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(vDe,"");let s=((this.options.includePrerelease&&RDe)|(this.options.loose&&TDe))+":"+e,n=WK.get(s);if(n)return n;let i=this.options.loose,a=i?Sr[Xt.HYPHENRANGELOOSE]:Sr[Xt.HYPHENRANGE];e=e.replace(a,GDe(this.options.includePrerelease)),He("hyphen replace",e),e=e.replace(Sr[Xt.COMPARATORTRIM],xDe),He("comparator trim",e),e=e.replace(Sr[Xt.TILDETRIM],NDe),He("tilde trim",e),e=e.replace(Sr[Xt.CARETTRIM],SDe),He("caret trim",e);let c=e.split(" ").map(d=>kDe(d,this.options)).join(" ").split(/\s+/).map(d=>qDe(d,this.options));i&&(c=c.filter(d=>(He("loose invalid filter",d,this.options),!!d.match(Sr[Xt.COMPARATORLOOSE])))),He("range list",c);let l=new Map,u=c.map(d=>new u_(d,this.options));for(let d of u){if(jK(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let A=[...l.values()];return WK.set(s,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(s=>KK(s,r)&&e.set.some(n=>KK(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 bDe(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),PDe=o(t=>t.value==="","isAny"),KK=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"),kDe=o((t,e)=>(t=t.replace(Sr[Xt.BUILD],""),He("comp",t,e),t=LDe(t,e),He("caret",t),t=DDe(t,e),He("tildes",t),t=ODe(t,e),He("xrange",t),t=UDe(t,e),He("stars",t),t),"parseComparator"),Rr=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),DDe=o((t,e)=>t.trim().split(/\s+/).map(r=>_De(r,e)).join(" "),"replaceTildes"),_De=o((t,e)=>{let r=e.loose?Sr[Xt.TILDELOOSE]:Sr[Xt.TILDE];return t.replace(r,(s,n,i,a,c)=>{He("tilde",t,s,n,i,a,c);let l;return Rr(n)?l="":Rr(i)?l=`>=${n}.0.0 <${+n+1}.0.0-0`:Rr(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"),LDe=o((t,e)=>t.trim().split(/\s+/).map(r=>MDe(r,e)).join(" "),"replaceCarets"),MDe=o((t,e)=>{He("caret",t,e);let r=e.loose?Sr[Xt.CARETLOOSE]:Sr[Xt.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 Rr(i)?u="":Rr(a)?u=`>=${i}.0.0${s} <${+i+1}.0.0-0`:Rr(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"),ODe=o((t,e)=>(He("replaceXRanges",t,e),t.split(/\s+/).map(r=>FDe(r,e)).join(" ")),"replaceXRanges"),FDe=o((t,e)=>{t=t.trim();let r=e.loose?Sr[Xt.XRANGELOOSE]:Sr[Xt.XRANGE];return t.replace(r,(s,n,i,a,c,l)=>{He("xRange",t,s,n,i,a,c,l);let u=Rr(i),A=u||Rr(a),d=A||Rr(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"),UDe=o((t,e)=>(He("replaceStars",t,e),t.trim().replace(Sr[Xt.STAR],"")),"replaceStars"),qDe=o((t,e)=>(He("replaceGTE0",t,e),t.trim().replace(Sr[e.includePrerelease?Xt.GTE0PRE:Xt.GTE0],"")),"replaceGTE0"),GDe=o(t=>(e,r,s,n,i,a,c,l,u,A,d,p)=>(Rr(s)?r="":Rr(n)?r=`>=${s}.0.0${t?"-0":""}`:Rr(i)?r=`>=${s}.${n}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Rr(u)?l="":Rr(A)?l=`<${+u+1}.0.0-0`:Rr(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"),HDe=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 Gm=f((SAt,nX)=>{"use strict";var Hm=Symbol("SemVer ANY"),p_=class t{static{o(this,"Comparator")}static get ANY(){return Hm}constructor(e,r){if(r=ZK(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),d_("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Hm?this.value="":this.value=this.operator+this.semver.version,d_("comp",this)}parse(e){let r=this.options.loose?eX[tX.COMPARATORLOOSE]:eX[tX.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 rX(s[2],this.options.loose):this.semver=Hm}toString(){return this.value}test(e){if(d_("Comparator.test",e,this.options.loose),this.semver===Hm||e===Hm)return!0;if(typeof e=="string")try{e=new rX(e,this.options)}catch{return!1}return A_(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 sX(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new sX(this.value,r).test(e.semver):(r=ZK(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("=")||A_(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||A_(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};nX.exports=p_;var ZK=lB(),{safeRe:eX,t:tX}=hA(),A_=a_(),d_=Um(),rX=Kt(),sX=rn()});var zm=f((TAt,iX)=>{"use strict";var zDe=rn(),$De=o((t,e,r)=>{try{e=new zDe(e,r)}catch{return!1}return e.test(t)},"satisfies");iX.exports=$De});var aX=f((PAt,oX)=>{"use strict";var VDe=rn(),YDe=o((t,e)=>new VDe(t,e).set.map(r=>r.map(s=>s.value).join(" ").trim().split(" ")),"toComparators");oX.exports=YDe});var lX=f((DAt,cX)=>{"use strict";var JDe=Kt(),WDe=rn(),jDe=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new WDe(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===-1)&&(s=a,n=new JDe(s,r))}),s},"maxSatisfying");cX.exports=jDe});var AX=f((LAt,uX)=>{"use strict";var KDe=Kt(),XDe=rn(),ZDe=o((t,e,r)=>{let s=null,n=null,i=null;try{i=new XDe(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!s||n.compare(a)===1)&&(s=a,n=new KDe(s,r))}),s},"minSatisfying");uX.exports=ZDe});var mX=f((OAt,pX)=>{"use strict";var m_=Kt(),e_e=rn(),dX=qm(),t_e=o((t,e)=>{t=new e_e(t,e);let r=new m_("0.0.0");if(t.test(r)||(r=new m_("0.0.0-0"),t.test(r)))return r;r=null;for(let s=0;s{let c=new m_(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||dX(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||dX(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");pX.exports=t_e});var fX=f((UAt,hX)=>{"use strict";var r_e=rn(),s_e=o((t,e)=>{try{return new r_e(t,e).range||"*"}catch{return null}},"validRange");hX.exports=s_e});var CB=f((GAt,CX)=>{"use strict";var n_e=Kt(),yX=Gm(),{ANY:i_e}=yX,o_e=rn(),a_e=zm(),gX=qm(),EX=hB(),c_e=gB(),l_e=fB(),u_e=o((t,e,r,s)=>{t=new n_e(t,s),e=new o_e(e,s);let n,i,a,c,l;switch(r){case">":n=gX,i=c_e,a=EX,c=">",l=">=";break;case"<":n=EX,i=l_e,a=gX,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a_e(t,e,s))return!1;for(let u=0;u{m.semver===i_e&&(m=new yX(">=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");CX.exports=u_e});var BX=f((zAt,IX)=>{"use strict";var A_e=CB(),d_e=o((t,e,r)=>A_e(t,e,">",r),"gtr");IX.exports=d_e});var bX=f((VAt,wX)=>{"use strict";var p_e=CB(),m_e=o((t,e,r)=>p_e(t,e,"<",r),"ltr");wX.exports=m_e});var NX=f((JAt,xX)=>{"use strict";var QX=rn(),h_e=o((t,e,r)=>(t=new QX(t,r),e=new QX(e,r),t.intersects(e,r)),"intersects");xX.exports=h_e});var RX=f((jAt,SX)=>{"use strict";var f_e=zm(),g_e=tn();SX.exports=(t,e,r)=>{let s=[],n=null,i=null,a=t.sort((A,d)=>g_e(A,d,r));for(let A of a)f_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 TX=rn(),g_=Gm(),{ANY:h_}=g_,f_=zm(),E_=tn(),E_e=o((t,e,r={})=>{if(t===e)return!0;t=new TX(t,r),e=new TX(e,r);let s=!1;e:for(let n of t.set){for(let i of e.set){let a=C_e(n,i,r);if(s=s||a!==null,a)continue e}if(s)return!1}return!0},"subset"),y_e=[new g_(">=0.0.0-0")],vX=[new g_(">=0.0.0")],C_e=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===h_){if(e.length===1&&e[0].semver===h_)return!0;r.includePrerelease?t=y_e:t=vX}if(e.length===1&&e[0].semver===h_){if(r.includePrerelease)return!0;e=vX}let s=new Set,n,i;for(let m of t)m.operator===">"||m.operator===">="?n=PX(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=E_(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&&!f_(m,String(n),r)||i&&!f_(m,String(i),r))return null;for(let h of e)if(!f_(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=PX(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"),PX=o((t,e,r)=>{if(!t)return e;let s=E_(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=E_(t.semver,e.semver,r);return s<0?t:s>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");DX.exports=E_e});var $m=f((ZAt,OX)=>{"use strict";var y_=hA(),LX=mA(),I_e=Kt(),MX=r_(),B_e=Ea(),w_e=aK(),b_e=lK(),Q_e=dK(),x_e=hK(),N_e=gK(),S_e=yK(),R_e=IK(),T_e=wK(),v_e=tn(),P_e=NK(),k_e=RK(),D_e=mB(),__e=kK(),L_e=_K(),M_e=qm(),O_e=hB(),F_e=i_(),U_e=o_(),q_e=fB(),G_e=gB(),H_e=a_(),z_e=zK(),$_e=VK(),V_e=Gm(),Y_e=rn(),J_e=zm(),W_e=aX(),j_e=lX(),K_e=AX(),X_e=mX(),Z_e=fX(),eLe=CB(),tLe=BX(),rLe=bX(),sLe=NX(),nLe=RX(),iLe=_X();OX.exports={parse:B_e,valid:w_e,clean:b_e,inc:Q_e,diff:x_e,major:N_e,minor:S_e,patch:R_e,prerelease:T_e,compare:v_e,rcompare:P_e,compareLoose:k_e,compareBuild:D_e,sort:__e,rsort:L_e,gt:M_e,lt:O_e,eq:F_e,neq:U_e,gte:q_e,lte:G_e,cmp:H_e,coerce:z_e,truncate:$_e,Comparator:V_e,Range:Y_e,satisfies:J_e,toComparators:W_e,maxSatisfying:j_e,minSatisfying:K_e,minVersion:X_e,validRange:Z_e,outside:eLe,gtr:tLe,ltr:rLe,intersects:sLe,simplifyRange:nLe,subset:iLe,SemVer:I_e,re:y_.re,src:y_.src,tokens:y_.t,SEMVER_SPEC_VERSION:LX.SEMVER_SPEC_VERSION,RELEASE_TYPES:LX.RELEASE_TYPES,compareIdentifiers:MX.compareIdentifiers,rcompareIdentifiers:MX.rcompareIdentifiers}});var KX=w(require("crypto"),1),XX=w(require("path"),1);var x_=w(require("os"),1);function vn(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(vn,"toCommandValue");function RB(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(RB,"toCommandProperties");function Pn(t,e,r){let s=new TB(t,e,r);process.stdout.write(s.toString()+x_.EOL)}o(Pn,"issueCommand");function vB(t,e=""){Pn(t,{},e)}o(vB,"issue");var Q_="::",TB=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=Q_+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}=${aZ(n)}`)}}return e+=`${Q_}${oZ(this.message)}`,e}};function oZ(t){return vn(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(oZ,"escapeData");function aZ(t){return vn(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(aZ,"escapeProperty");var N_=w(require("crypto"),1),Xm=w(require("fs"),1),Km=w(require("os"),1);function fA(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!Xm.existsSync(r))throw new Error(`Missing file at path: ${r}`);Xm.appendFileSync(r,`${vn(e)}${Km.EOL}`,{encoding:"utf8"})}o(fA,"issueFileCommand");function Zm(t,e){let r=`ghadelimiter_${N_.randomUUID()}`,s=vn(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}${Km.EOL}${s}${Km.EOL}${r}`}o(Zm,"prepareKeyValueMessage");var gx=w(require("os"),1),BG=w(require("path"),1);var Ed=w(require("http"),1),nx=w(require("https"),1);function PB(t){let e=t.protocol==="https:";if(cZ(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 eh(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new eh(`http://${r}`)}else return}o(PB,"getProxyUrl");function cZ(t){if(!t.hostname)return!1;let e=t.hostname;if(lZ(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(cZ,"checkBypass");function lZ(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(lZ,"isLoopbackAddress");var eh=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 Go=w(gA(),1),tG=w(Ul(),1);var pt=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())})},Rs;(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"})(Rs||(Rs={}));var pr;(function(t){t.Accept="accept",t.ContentType="content-type"})(pr||(pr={}));var Ji;(function(t){t.ApplicationJson="application/json"})(Ji||(Ji={}));var NAe=[Rs.MovedPermanently,Rs.ResourceMoved,Rs.SeeOther,Rs.TemporaryRedirect,Rs.PermanentRedirect],SAe=[Rs.BadGateway,Rs.ServiceUnavailable,Rs.GatewayTimeout],RAe=["OPTIONS","GET","DELETE","HEAD"],TAe=10,vAe=5,rx=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},sx=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return pt(this,void 0,void 0,function*(){return new Promise(e=>pt(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 pt(this,void 0,void 0,function*(){return new Promise(e=>pt(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 Ha=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 pt(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return pt(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return pt(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return pt(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return pt(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return pt(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return pt(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return pt(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return pt(this,arguments,void 0,function*(r,s={}){s[pr.Accept]=this._getExistingOrDefaultHeader(s,pr.Accept,Ji.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return pt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[pr.Accept]=this._getExistingOrDefaultHeader(i,pr.Accept,Ji.ApplicationJson),i[pr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Ji.ApplicationJson);let c=yield this.post(s,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return pt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[pr.Accept]=this._getExistingOrDefaultHeader(i,pr.Accept,Ji.ApplicationJson),i[pr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Ji.ApplicationJson);let c=yield this.put(s,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return pt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[pr.Accept]=this._getExistingOrDefaultHeader(i,pr.Accept,Ji.ApplicationJson),i[pr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Ji.ApplicationJson);let c=yield this.patch(s,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,s,n){return pt(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&&RAe.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,s),u&&u.message&&u.message.statusCode===Rs.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&&NAe.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||!SAe.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 sx(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=PB(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?nx:Ed;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({},gd(this.requestOptions.headers),gd(e||{})):gd(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=gd(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=gd(this.requestOptions.headers)[pr.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[pr.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=PB(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||Ed.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?Go.httpsOverHttps:Go.httpsOverHttp:l=u?Go.httpOverHttps:Go.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new nx.Agent(c):new Ed.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 tG.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 pt(this,void 0,void 0,function*(){e=Math.min(TAe,e);let r=vAe*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return pt(this,void 0,void 0,function*(){return new Promise((s,n)=>pt(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===Rs.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 rx(A,i);d.result=a.result,n(d)}else s(a)}))})}},gd=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var nG=require("os"),yd=require("fs");var ix=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:kAe,appendFile:DAe,writeFile:_Ae}=yd.promises,sG="GITHUB_STEP_SUMMARY";var ox=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return ix(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[sG];if(!e)throw new Error(`Unable to find environment variable for $${sG}. Check if your runtime environment supports job summaries.`);try{yield kAe(e,yd.constants.R_OK|yd.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 ix(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?_Ae:DAe)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return ix(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(nG.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()}},rUe=new ox;var hx=w(require("os"),1);var mx=require("string_decoder");var Id=w(require("os"),1),px=w(require("events"),1),gG=w(require("child_process"),1),EG=w(require("path"),1);var dG=require("assert"),ns=w(require("path"),1);var Cd=w(require("fs"),1),Ho=w(require("path"),1);var ax=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:cx,copyFile:oG,lstat:jf,mkdir:aG,open:aUe,readdir:lx,rename:LAe,rm:cG,rmdir:cUe,stat:za,symlink:lG,unlink:ux}=Cd.promises,zn=process.platform==="win32";function uG(t){return ax(this,void 0,void 0,function*(){let e=yield Cd.promises.readlink(t);return zn&&!e.endsWith("\\")?`${e}\\`:e})}o(uG,"readlink");var lUe=Cd.constants.O_RDONLY;function Gl(t){return ax(this,void 0,void 0,function*(){try{yield za(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}o(Gl,"exists");function Kf(t){if(t=MAe(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return zn?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(Kf,"isRooted");function Ax(t,e){return ax(this,void 0,void 0,function*(){let r;try{r=yield za(t)}catch(n){n.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${n}`)}if(r&&r.isFile()){if(zn){let n=Ho.extname(t).toUpperCase();if(e.some(i=>i.toUpperCase()===n))return t}else if(iG(r))return t}let s=t;for(let n of e){t=s+n,r=void 0;try{r=yield za(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if(zn){try{let i=Ho.dirname(t),a=Ho.basename(t).toUpperCase();for(let c of yield lx(i))if(a===c.toUpperCase()){t=Ho.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(iG(r))return t}}return""})}o(Ax,"tryGetExecutablePath");function MAe(t){return t=t||"",zn?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(MAe,"normalizeSeparators");function iG(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(iG,"isUnixExecutable");var $a=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 $a(this,arguments,void 0,function*(r,s,n={}){let{force:i,recursive:a,copySourceDirectory:c}=FAe(n),l=(yield Gl(s))?yield za(s):null;if(l&&l.isFile()&&!i)return;let u=l&&l.isDirectory()&&c?ns.join(s,ns.basename(r)):s;if(!(yield Gl(r)))throw new Error(`no such file or directory: ${r}`);if((yield za(r)).isDirectory())if(a)yield mG(r,u,0,i);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(ns.relative(r,u)==="")throw new Error(`'${u}' and '${r}' are the same file`);yield hG(r,u,i)}})}o(pG,"cp");function Xf(t){return $a(this,void 0,void 0,function*(){if(zn&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield cG(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(Xf,"rmRF");function Ts(t){return $a(this,void 0,void 0,function*(){(0,dG.ok)(t,"a path argument must be provided"),yield aG(t,{recursive:!0})})}o(Ts,"mkdirP");function mt(t,e){return $a(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let s=yield mt(t,!1);if(!s)throw zn?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 OAe(t);return r&&r.length>0?r[0]:""})}o(mt,"which");function OAe(t){return $a(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(zn&&process.env.PATHEXT)for(let n of process.env.PATHEXT.split(ns.delimiter))n&&e.push(n);if(Kf(t)){let n=yield Ax(t,e);return n?[n]:[]}if(t.includes(ns.sep))return[];let r=[];if(process.env.PATH)for(let n of process.env.PATH.split(ns.delimiter))n&&r.push(n);let s=[];for(let n of r){let i=yield Ax(ns.join(n,t),e);i&&s.push(i)}return s})}o(OAe,"findInPath");function FAe(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(FAe,"readCopyOptions");function mG(t,e,r,s){return $a(this,void 0,void 0,function*(){if(r>=255)return;r++,yield Ts(e);let n=yield lx(t);for(let i of n){let a=`${t}/${i}`,c=`${e}/${i}`;(yield jf(a)).isDirectory()?yield mG(a,c,r,s):yield hG(a,c,s)}yield cx(e,(yield za(t)).mode)})}o(mG,"cpDirRecursive");function hG(t,e,r){return $a(this,void 0,void 0,function*(){if((yield jf(t)).isSymbolicLink()){try{yield jf(e),yield ux(e)}catch(n){n.code==="EPERM"&&(yield cx(e,"0666"),yield ux(e))}let s=yield uG(t);yield lG(s,e,zn?"junction":null)}else(!(yield Gl(e))||r)&&(yield oG(t,e))})}o(hG,"copyFile");var yG=require("timers");var fG=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())})},Zf=process.platform==="win32",eg=class extends px.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(Zf)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(Id.EOL);for(;i>-1;){let a=n.substring(0,i);s(a),n=n.substring(i+Id.EOL.length),i=n.indexOf(Id.EOL)}return n}catch(n){return this._debug(`error processing line. Failed with error ${n}`),""}}_getSpawnFileName(){return Zf&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(Zf&&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 fG(this,void 0,void 0,function*(){return!Kf(this.toolPath)&&(this.toolPath.includes("/")||Zf&&this.toolPath.includes("\\"))&&(this.toolPath=EG.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield mt(this.toolPath,!0),new Promise((e,r)=>fG(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)+Id.EOL);let n=new dx(s,this.toolPath);if(n.on("debug",u=>{this._debug(u)}),this.options.cwd&&!(yield Gl(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),a=gG.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 CG(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(CG,"argStringToArray");var dx=class t extends px.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,yG.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 IG=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 is(t,e,r){return IG(this,void 0,void 0,function*(){let s=CG(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 eg(n,e,r).exec()})}o(is,"exec");function Bd(t,e,r){return IG(this,void 0,void 0,function*(){var s,n;let i="",a="",c=new mx.StringDecoder("utf8"),l=new mx.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 is(t,e,Object.assign(Object.assign({},r),{listeners:m}));return i+=c.end(),a+=l.end(),{exitCode:h,stdout:i,stderr:a}})}o(Bd,"getExecOutput");var hUe=hx.default.platform(),fUe=hx.default.arch();var GAe=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())})},fx;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(fx||(fx={}));function wG(t,e){let r=vn(e);if(process.env[t]=r,process.env.GITHUB_ENV||"")return fA("ENV",Zm(t,e));Pn("set-env",{name:t},r)}o(wG,"exportVariable");function ql(t){Pn("add-mask",{},t)}o(ql,"setSecret");function Hl(t){process.env.GITHUB_PATH||""?fA("PATH",t):Pn("add-path",{},t),process.env.PATH=`${t}${BG.delimiter}${process.env.PATH}`}o(Hl,"addPath");function mn(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(mn,"getInput");function Ex(t,e){let r=["true","True","TRUE"],s=["false","False","FALSE"],n=mn(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(Ex,"getBooleanInput");function yx(t,e){if(process.env.GITHUB_OUTPUT||"")return fA("OUTPUT",Zm(t,e));process.stdout.write(gx.EOL),Pn("set-output",{name:t},vn(e))}o(yx,"setOutput");function bG(t){process.exitCode=fx.Failure,zl(t)}o(bG,"setFailed");function Ya(){return process.env.RUNNER_DEBUG==="1"}o(Ya,"isDebug");function b(t){Pn("debug",{},t)}o(b,"debug");function zl(t,e={}){Pn("error",RB(e),t instanceof Error?t.toString():t)}o(zl,"error");function et(t,e={}){Pn("warning",RB(e),t instanceof Error?t.toString():t)}o(et,"warning");function S(t){process.stdout.write(t+gx.EOL)}o(S,"info");function HAe(t){vB("group",t)}o(HAe,"startGroup");function zAe(){vB("endgroup")}o(zAe,"endGroup");function he(t,e){return GAe(this,void 0,void 0,function*(){HAe(t);let r;try{r=yield e()}finally{zAe()}return r})}o(he,"group");function $l(t,e){if(process.env.GITHUB_STATE||"")return fA("STATE",Zm(t,e));Pn("save-state",{name:t},vn(e))}o($l,"saveState");function QG(t){return process.env[`STATE_${t}`]||""}o(QG,"getState");var aI=w(require("fs"),1),Qk=w(require("os"),1),xk=w(require("path"),1);var NG=w(require("os"),1);function bd(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(bd,"toCommandValue");function SG(t,e,r){let s=new Cx(t,e,r);process.stdout.write(s.toString()+NG.EOL)}o(SG,"issueCommand");var xG="::",Cx=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=xG+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}=${VAe(n)}`)}}return e+=`${xG}${$Ae(this.message)}`,e}};function $Ae(t){return bd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o($Ae,"escapeData");function VAe(t){return bd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(VAe,"escapeProperty");var PG=w(require("os"),1);var TG=require("os"),Qd=require("fs");var Ix=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:YAe,appendFile:JAe,writeFile:WAe}=Qd.promises,RG="GITHUB_STEP_SUMMARY";var Bx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Ix(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[RG];if(!e)throw new Error(`Unable to find environment variable for $${RG}. Check if your runtime environment supports job summaries.`);try{yield YAe(e,Qd.constants.R_OK|Qd.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 Ix(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?WAe:JAe)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Ix(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(TG.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()}},VUe=new Bx;var wx=w(require("os"),1);var KUe=wx.default.platform(),XUe=wx.default.arch();var vG;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(vG||(vG={}));function bx(){return process.env.RUNNER_DEBUG==="1"}o(bx,"isDebug");function Me(t){SG("debug",{},t)}o(Me,"debug");function Qx(t){process.stdout.write(t+PG.EOL)}o(Qx,"info");var Yx=w(require("crypto"),1),ir=w(require("fs"),1);var Vme=w($x(),1);var hg=w(require("os"),1),hn=w(require("path"),1);var ks=w($x(),1),wz=w(require("stream"),1),bz=w(require("util"),1),Jx=require("assert");var Bz=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())})},pg=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 Bz(this,void 0,void 0,function*(){let s=1;for(;ssetTimeout(r,e*1e3))})}};var Vn=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())})},mg=class extends Error{static{o(this,"HTTPError")}constructor(e){super(`Unexpected HTTP response: ${e}`),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}},Qz=process.platform==="win32",rqe=process.platform==="darwin",Jme="actions/tool-cache";function Wa(t,e,r,s){return Vn(this,void 0,void 0,function*(){e=e||hn.join(Rz(),Yx.randomUUID()),yield Ts(hn.dirname(e)),Me(`Downloading ${t}`),Me(`Destination ${e}`);let n=3,i=Vx("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=Vx("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20);return yield new pg(n,i,a).execute(()=>Vn(this,void 0,void 0,function*(){return yield Wme(t,e||"",r,s)}),l=>!(l instanceof mg&&l.httpStatusCode&&l.httpStatusCode<500&&l.httpStatusCode!==408&&l.httpStatusCode!==429))})}o(Wa,"downloadTool");function Wme(t,e,r,s){return Vn(this,void 0,void 0,function*(){if(ir.existsSync(e))throw new Error(`Destination file path ${e} already exists`);let n=new Ha(Jme,[],{allowRetries:!1});r&&(Me("set auth"),s===void 0&&(s={}),s.authorization=r);let i=yield n.get(t,s);if(i.message.statusCode!==200){let A=new mg(i.message.statusCode);throw Me(`Failed to download from "${t}". Code(${i.message.statusCode}) Message(${i.message.statusMessage})`),A}let a=bz.promisify(wz.pipeline),l=Vx("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>i.message)(),u=!1;try{return yield a(l,ir.createWriteStream(e)),Me("download complete"),u=!0,e}finally{if(!u){Me("download failed");try{yield Xf(e)}catch(A){Me(`Failed to delete '${e}'. ${A.message}`)}}}})}o(Wme,"downloadToolAttempt");function fg(t,e){return Vn(this,arguments,void 0,function*(r,s,n="xz"){if(!r)throw new Error("parameter 'file' is required");s=yield Nz(s),Me("Checking tar --version");let i="";yield is("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(A=>i+=A.toString(),"stdout"),stderr:o(A=>i+=A.toString(),"stderr")}}),Me(i.trim());let a=i.toUpperCase().includes("GNU TAR"),c;n instanceof Array?c=n:c=[n],bx()&&!n.includes("v")&&c.push("-v");let l=s,u=r;return Qz&&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 is("tar",c),s})}o(fg,"extractTar");function gg(t,e){return Vn(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'file' is required");return e=yield Nz(e),Qz?yield jme(t,e):yield Kme(t,e),e})}o(gg,"extractZip");function jme(t,e){return Vn(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 mt("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(" ")];Me(`Using pwsh at path: ${n}`),yield is(`"${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 mt("powershell",!0);Me(`Using powershell at path: ${c}`),yield is(`"${c}"`,a)}})}o(jme,"extractZipWin");function Kme(t,e){return Vn(this,void 0,void 0,function*(){let r=yield mt("unzip",!0),s=[t];bx()||s.unshift("-q"),s.unshift("-o"),yield is(`"${r}"`,s,{cwd:e})})}o(Kme,"extractZipNix");function kd(t,e,r,s){return Vn(this,void 0,void 0,function*(){if(r=ks.clean(r)||r,s=s||hg.arch(),Me(`Caching tool ${e} ${r} ${s}`),Me(`source dir: ${t}`),!ir.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let n=yield Zme(e,r,s);for(let i of ir.readdirSync(t)){let a=hn.join(t,i);yield pG(a,n,{recursive:!0})}return ehe(e,r,s),n})}o(kd,"cacheDir");function xz(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||hg.arch(),!Sz(e)){let n=Xme(t,r);e=the(n,e)}let s="";if(e){e=ks.clean(e)||"";let n=hn.join(Eg(),t,e,r);Me(`checking cache: ${n}`),ir.existsSync(n)&&ir.existsSync(`${n}.complete`)?(Me(`Found tool in cache ${t} ${e} ${r}`),s=n):Me("not found")}return s}o(xz,"find");function Xme(t,e){let r=[];e=e||hg.arch();let s=hn.join(Eg(),t);if(ir.existsSync(s)){let n=ir.readdirSync(s);for(let i of n)if(Sz(i)){let a=hn.join(s,i,e||"");ir.existsSync(a)&&ir.existsSync(`${a}.complete`)&&r.push(i)}}return r}o(Xme,"findAllVersions");function Nz(t){return Vn(this,void 0,void 0,function*(){return t||(t=hn.join(Rz(),Yx.randomUUID())),yield Ts(t),t})}o(Nz,"_createExtractFolder");function Zme(t,e,r){return Vn(this,void 0,void 0,function*(){let s=hn.join(Eg(),t,ks.clean(e)||e,r||"");Me(`destination ${s}`);let n=`${s}.complete`;return yield Xf(s),yield Xf(n),yield Ts(s),s})}o(Zme,"_createToolPath");function ehe(t,e,r){let n=`${hn.join(Eg(),t,ks.clean(e)||e,r||"")}.complete`;ir.writeFileSync(n,""),Me("finished caching tool")}o(ehe,"_completeToolPath");function Sz(t){let e=ks.clean(t)||"";Me(`isExplicit: ${e}`);let r=ks.valid(e)!=null;return Me(`explicit? ${r}`),r}o(Sz,"isExplicitVersion");function the(t,e){let r="";Me(`evaluating ${t.length} versions`),t=t.sort((s,n)=>ks.gt(s,n)?1:-1);for(let s=t.length-1;s>=0;s--){let n=t[s];if(ks.satisfies(n,e)){r=n;break}}return r?Me(`matched: ${r}`):Me("match not found"),r}o(the,"evaluateVersions");function Eg(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,Jx.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(Eg,"_getCacheDirectory");function Rz(){let t=process.env.RUNNER_TEMP||"";return(0,Jx.ok)(t,"Expected RUNNER_TEMP to be defined"),t}o(Rz,"_getTempDirectory");function Vx(t,e){let r=global[t];return r!==void 0?r:e}o(Vx,"_getGlobal");var gm=w(require("path"),1);var vz=w(require("os"),1);function Dd(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(Dd,"toCommandValue");function Pz(t,e,r){let s=new Wx(t,e,r);process.stdout.write(s.toString()+vz.EOL)}o(Pz,"issueCommand");var Tz="::",Wx=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=Tz+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}=${she(n)}`)}}return e+=`${Tz}${rhe(this.message)}`,e}};function rhe(t){return Dd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(rhe,"escapeData");function she(t){return Dd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(she,"escapeProperty");var Dz=require("os"),_d=require("fs");var jx=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:nhe,appendFile:ihe,writeFile:ohe}=_d.promises,kz="GITHUB_STEP_SUMMARY";var Kx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return jx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[kz];if(!e)throw new Error(`Unable to find environment variable for $${kz}. Check if your runtime environment supports job summaries.`);try{yield nhe(e,_d.constants.R_OK|_d.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 jx(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?ohe:ihe)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return jx(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(Dz.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()}},Eqe=new Kx;var Xx=w(require("os"),1);var wqe=Xx.default.platform(),bqe=Xx.default.arch();var _z;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(_z||(_z={}));function Ds(t){Pz("debug",{},t)}o(Ds,"debug");var Kl=w(require("fs"),1);function e0(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,Ds(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,Ds(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,Ds(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,Ds(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,Ds(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}o(e0,"getOptions");var bg=w(require("path"),1);var Yl=w(require("path"),1),zo=w(require("assert"),1);var $o=process.platform==="win32";function ji(t){if(t=Wi(t),$o&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=Yl.dirname(t);return $o&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=Wi(e)),e}o(ji,"dirname");function Cg(t,e){if((0,zo.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,zo.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),Ld(e))return e;if($o){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,zo.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(fn(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,zo.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,zo.default)(Ld(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||$o&&t.endsWith("\\")||(t+=Yl.sep),t+e}o(Cg,"ensureAbsoluteRoot");function Ld(t){return(0,zo.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=fn(t),$o?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}o(Ld,"hasAbsoluteRoot");function Md(t){return(0,zo.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=fn(t),$o?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(Md,"hasRoot");function fn(t){return t=t||"",$o?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(fn,"normalizeSeparators");function Wi(t){return t?(t=fn(t),!t.endsWith(Yl.sep)||t===Yl.sep||$o&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}o(Wi,"safeTrimTrailingSeparator");var gn;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(gn||(gn={}));var Lz=process.platform==="win32";function r0(t){t=t.filter(s=>!s.negate);let e={};for(let s of t){let n=Lz?s.searchPath.toUpperCase():s.searchPath;e[n]="candidate"}let r=[];for(let s of t){let n=Lz?s.searchPath.toUpperCase():s.searchPath;if(e[n]==="included")continue;let i=!1,a=n,c=ji(a);for(;c!==a;){if(e[c]){i=!0;break}a=c,c=ji(a)}i||(r.push(s.searchPath),e[n]="included")}return r}o(r0,"getSearchPaths");function Mz(t,e){let r=gn.None;for(let s of t)s.negate?r&=~s.match(e):r|=s.match(e);return r}o(Mz,"match");function Oz(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(Oz,"partialMatch");var o$=w(require("os"),1),jl=w(require("path"),1);var Yo=w(require("assert"),1),a$=w(i$(),1);var ja=w(require("path"),1);var Wl=w(require("assert"),1);var vhe=process.platform==="win32",Ka=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if((0,Wl.default)(e,"Parameter 'itemPath' must not be empty"),e=Wi(e),!Md(e))this.segments=e.split(ja.sep);else{let r=e,s=ji(r);for(;s!==r;){let n=ja.basename(r);this.segments.unshift(n),r=s,s=ji(r)}this.segments.unshift(r)}else{(0,Wl.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 Ka(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),Ki?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:Ki,nocomment:!0,noext:!0,nonegate:!0};i=Ki?i.replace(/\\/g,"/"):i,this.minimatch=new Phe(i,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=fn(e),!e.endsWith(jl.sep)&&this.isImplicitPattern===!1&&(e=`${e}${jl.sep}`)):e=Wi(e),this.minimatch.match(e)?this.trailingSeparator?gn.Directory:gn.All:gn.None}partialMatch(e){return e=Wi(e),ji(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Ki?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Ki?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,Yo.default)(e,"pattern cannot be empty");let s=new Ka(e).segments.map(n=>t.getLiteral(n));if((0,Yo.default)(s.every((n,i)=>(n!=="."||i===0)&&n!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,Yo.default)(!Md(e)||s[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=fn(e),e==="."||e.startsWith(`.${jl.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${jl.sep}`))r=r||o$.homedir(),(0,Yo.default)(r,"Unable to determine HOME directory"),(0,Yo.default)(Ld(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(Ki&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let n=Cg("C:\\dummy-root",e.substr(0,2));e.length>2&&!n.endsWith("\\")&&(n+="\\"),e=t.globEscape(n)+e.substr(2)}else if(Ki&&(e==="\\"||e.match(/^\\[^\\]/))){let n=Cg("C:\\dummy-root","\\");n.endsWith("\\")||(n+="\\"),e=t.globEscape(n)+e.substr(1)}else e=Cg(t.globEscape(process.cwd()),e);return fn(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 Ud=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};var c0=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())})},khe=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)}},Jo=function(t){return this instanceof Jo?(this.v=t,this):new Jo(t)},Dhe=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 Jo?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])}},_he=process.platform==="win32",wg=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=e0(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return c0(this,void 0,void 0,function*(){var e,r,s,n;let i=[];try{for(var a=!0,c=khe(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 Dhe(this,arguments,o(function*(){let r=e0(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 Fd(a.negate,!0,a.segments.concat("**")));let n=[];for(let a of r0(s)){Ds(`Search path '${a}'`);try{yield Jo(Kl.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}n.unshift(new Ud(a,1))}let i=[];for(;n.length;){let a=n.pop(),c=Mz(s,a.path),l=!!c||Oz(s,a.path);if(!c&&!l)continue;let u=yield Jo(t.stat(a,r,i));if(u&&!(r.excludeHiddenFiles&&bg.basename(a.path).match(/^\./)))if(u.isDirectory()){if(c&gn.Directory&&r.matchDirectories)yield yield Jo(a.path);else if(!l)continue;let A=a.level+1,d=(yield Jo(Kl.promises.readdir(a.path))).map(p=>new Ud(bg.join(a.path,p),A));n.push(...d.reverse())}else c&gn.File&&(yield yield Jo(a.path))}},"globGenerator_1"))}static create(e,r){return c0(this,void 0,void 0,function*(){let s=new t(r);_he&&(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 Fd(i));return s.searchPaths.push(...r0(s.patterns)),s})}static stat(e,r,s){return c0(this,void 0,void 0,function*(){let n;if(r.followSymbolicLinks)try{n=yield Kl.promises.stat(e.path)}catch(i){if(i.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){Ds(`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 Kl.promises.lstat(e.path);if(n.isDirectory()&&r.followSymbolicLinks){let i=yield Kl.promises.realpath(e.path);for(;s.length>=e.level;)s.pop();if(s.some(a=>a===i)){Ds(`Symlink cycle detected for path '${e.path}' and realpath '${i}'`);return}s.push(i)}return n})}};var Lhe=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 c$(t,e){return Lhe(this,void 0,void 0,function*(){return yield wg.create(t,e)})}o(c$,"create");var Fg=w(require("crypto"),1),eu=w(require("fs"),1),Za=w(require("path"),1),ZV=w(KV(),1),eY=w(require("util"),1);var Jd;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(Jd||(Jd={}));var Er;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(Er||(Er={}));var as;(function(t){t.GNU="gnu",t.BSD="bsd"})(as||(as={}));var Mg=2,Og=5e3,S0=5e3,R0=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,XV=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,Wd="cache.tar",T0="manifest.txt",ZHe=10*Math.pow(1024,3);var Zl=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())})},kEe=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)}},DEe="1.0";function jd(){return Zl(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=Za.join(s,"actions","temp")}let r=Za.join(e,Fg.randomUUID());return yield Ts(r),r})}o(jd,"createTempDirectory");function Jn(t){return eu.statSync(t).size}o(Jn,"getArchiveFileSizeInBytes");function v0(t){return Zl(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 c$(t.join(` `),{implicitDescendants:!1});try{for(var u=!0,A=kEe(l.globGenerator()),d;d=yield A.next(),e=d.done,!e;u=!0){n=d.value,u=!1;let m=Za.relative(c,n).replace(new RegExp(`\\${Za.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(v0,"resolvePaths");function Kd(t){return Zl(this,void 0,void 0,function*(){return eY.promisify(eu.unlink)(t)})}o(Kd,"unlinkFile");function tY(t){return Zl(this,arguments,void 0,function*(e,r=[]){let s="";r.push("--version"),b(`Checking ${e} ${r.join(" ")}`);try{yield is(`${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(tY,"getVersion");function Xd(){return Zl(this,void 0,void 0,function*(){let t=yield tY("zstd",["--quiet"]),e=ZV.clean(t);return b(`zstd version: ${e}`),t===""?Er.Gzip:Er.ZstdWithoutLong})}o(Xd,"getCompressionMethod");function Wo(t){return t===Er.Gzip?Jd.Gzip:Jd.Zstd}o(Wo,"getCacheFileName");function rY(){return Zl(this,void 0,void 0,function*(){return eu.existsSync(R0)?R0:(yield tY("tar")).toLowerCase().includes("gnu tar")?mt("tar"):""})}o(rY,"getGnuTarPathOnWindows");function P0(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(P0,"assertDefined");function tu(t,e,r=!1){let s=t.slice();return e&&s.push(e),process.platform==="win32"&&!r&&s.push("windows-only"),s.push(DEe),Fg.createHash("sha256").update(s.join("|")).digest("hex")}o(tu,"getCacheVersion");function sY(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(sY,"getRuntimeToken");var ep=w(require("http"),1),_0=w(require("https"),1);function k0(t){let e=t.protocol==="https:";if(_Ee(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 qg(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new qg(`http://${r}`)}else return}o(k0,"getProxyUrl");function _Ee(t){if(!t.hostname)return!1;let e=t.hostname;if(LEe(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(_Ee,"checkBypass");function LEe(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(LEe,"isLoopbackAddress");var qg=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 jo=w(gA(),1),nY=w(Ul(),1);var ft=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())})},tt;(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"})(tt||(tt={}));var yr;(function(t){t.Accept="accept",t.ContentType="content-type"})(yr||(yr={}));var Xi;(function(t){t.ApplicationJson="application/json"})(Xi||(Xi={}));var OEe=[tt.MovedPermanently,tt.ResourceMoved,tt.SeeOther,tt.TemporaryRedirect,tt.PermanentRedirect],FEe=[tt.BadGateway,tt.ServiceUnavailable,tt.GatewayTimeout],UEe=["OPTIONS","GET","DELETE","HEAD"],qEe=10,GEe=5,Wn=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},D0=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return ft(this,void 0,void 0,function*(){return new Promise(e=>ft(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 ft(this,void 0,void 0,function*(){return new Promise(e=>ft(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 Zi=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 ft(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return ft(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return ft(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return ft(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return ft(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return ft(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return ft(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return ft(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return ft(this,arguments,void 0,function*(r,s={}){s[yr.Accept]=this._getExistingOrDefaultHeader(s,yr.Accept,Xi.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return ft(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[yr.Accept]=this._getExistingOrDefaultHeader(i,yr.Accept,Xi.ApplicationJson),i[yr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Xi.ApplicationJson);let c=yield this.post(s,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return ft(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[yr.Accept]=this._getExistingOrDefaultHeader(i,yr.Accept,Xi.ApplicationJson),i[yr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Xi.ApplicationJson);let c=yield this.put(s,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return ft(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[yr.Accept]=this._getExistingOrDefaultHeader(i,yr.Accept,Xi.ApplicationJson),i[yr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Xi.ApplicationJson);let c=yield this.patch(s,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,s,n){return ft(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&&UEe.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,s),u&&u.message&&u.message.statusCode===tt.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&&OEe.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||!FEe.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 D0(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=k0(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?_0:ep;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({},Zd(this.requestOptions.headers),Zd(e||{})):Zd(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=Zd(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=Zd(this.requestOptions.headers)[yr.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[yr.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=k0(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||ep.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?jo.httpsOverHttps:jo.httpsOverHttp:l=u?jo.httpOverHttps:jo.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new _0.Agent(c):new ep.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 nY.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 ft(this,void 0,void 0,function*(){e=Math.min(qEe,e);let r=GEe*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return ft(this,void 0,void 0,function*(){return new Promise((s,n)=>ft(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===tt.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 Wn(A,i);d.result=a.result,n(d)}else s(a)}))})}},Zd=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var HEe=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 ru=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 HEe(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var ku=w(require("fs"),1),w8=require("url");var jn=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};var iY=require("node:os"),oY=w(require("node:util"),1),aY=w(require("node:process"),1);function cY(t,...e){aY.default.stderr.write(`${oY.default.format(t,...e)}${iY.EOL}`)}o(cY,"log");var lY=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,AY,L0=[],M0=[],Gg=[];lY&&O0(lY);var dY=Object.assign(t=>pY(t),{enable:O0,enabled:F0,disable:zEe,log:cY});function O0(t){AY=t,L0=[],M0=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?M0.push(r.substring(1)):L0.push(r);for(let r of Gg)r.enabled=F0(r.namespace)}o(O0,"enable");function F0(t){if(t.endsWith("*"))return!0;for(let e of M0)if(uY(t,e))return!1;for(let e of L0)if(uY(t,e))return!0;return!1}o(F0,"enabled");function uY(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(uY,"namespaceMatches");function zEe(){let t=AY||"";return O0(""),t}o(zEe,"disable");function pY(t){let e=Object.assign(r,{enabled:F0(t),destroy:$Ee,log:dY.log,namespace:t,extend:VEe});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return o(r,"debug"),Gg.push(e),e}o(pY,"createDebugger");function $Ee(){let t=Gg.indexOf(this);return t>=0?(Gg.splice(t,1),!0):!1}o($Ee,"destroy");function VEe(t){let e=pY(`${this.namespace}:${t}`);return e.log=this.log,e}o(VEe,"extend");var su=dY;var U0=["verbose","info","warning","error"],mY={verbose:400,info:300,warning:200,error:100};function hY(t,e){e.log=(...r)=>{t.log(...r)}}o(hY,"patchLogMethod");function fY(t){return U0.includes(t)}o(fY,"isTypeSpecRuntimeLogLevel");function Hg(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,s,n=su(t.namespace);n.log=(...A)=>{su.log(...A)};function i(A){if(A&&!fY(A))throw new Error(`Unknown log level '${A}'. Acceptable values: ${U0.join(",")}`);s=A;let d=[];for(let p of e)a(p)&&d.push(p.namespace);su.enable(d.join(","))}o(i,"contextSetLogLevel"),r&&(fY(r)?i(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${U0.join(", ")}.`));function a(A){return!!(s&&mY[A.level]<=mY[s])}o(a,"shouldEnable");function c(A,d){let p=Object.assign(A.extend(d),{level:d});if(hY(A,p),a(p)){let m=su.disable();su.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 hY(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(Hg,"createLoggerContext");var gY=Hg({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),YEe=gY.logger;function tp(t){return gY.createClientLogger(t)}o(tp,"createClientLogger");function zg(t){return t.toLowerCase()}o(zg,"normalizeName");function*JEe(t){for(let e of t.values())yield[e.name,e.value]}o(JEe,"headerIterator");var q0=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(zg(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(zg(e))?.value}has(e){return this._headersMap.has(zg(e))}delete(e){this._headersMap.delete(zg(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 JEe(this._headersMap)}};function cs(t){return new q0(t)}o(cs,"createHttpHeaders");function ec(){return crypto.randomUUID()}o(ec,"randomUUID");var G0=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??cs(),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||ec(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function $g(t){return new G0(t)}o($g,"createPipelineRequest");var EY=new Set(["Deserialize","Serialize","Retry","Sign"]),H0=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&&!EY.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!EY.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 Vg(){return H0.create()}o(Vg,"createEmptyPipeline");function nu(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(nu,"isObject");function tc(t){if(nu(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(tc,"isError");var yY=require("node:util"),CY=yY.inspect.custom;var z0="REDACTED",WEe=["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"],jEe=["api-version"],En=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=WEe.concat(e),r=jEe.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)||nu(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,z0);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]=z0;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]=z0;return r}};var KEe=new En,Cr=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,CY,{value:o(()=>`RestError: ${this.message} ${KEe.sanitize({...this,request:{...this.request,agent:s},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function Yg(t){return t instanceof Cr?!0:tc(t)&&t.name==="RestError"}o(Yg,"isRestError");function Lr(t,e){return Buffer.from(t,e)}o(Lr,"stringToUint8Array");var Jg=w(require("node:http"),1),Wg=w(require("node:https"),1),$0=w(require("node:zlib"),1),BY=require("node:stream");var Ms=tp("ts-http-runtime");var XEe={};function rp(t){return t&&typeof t.pipe=="function"}o(rp,"isReadableStream");function IY(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(IY,"isStreamComplete");function wY(t){return t&&typeof t.byteLength=="number"}o(wY,"isArrayBuffer");var jg=class extends BY.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}},V0=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 jn("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 En;Ms.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=rye(c);u!==null&&e.headers.set("Content-Length",u)}let l;try{if(c&&e.onUploadProgress){let h=e.onUploadProgress,g=new jg(h);g.on("error",C=>{Ms.error("Error in upload progress",C)}),rp(c)?c.pipe(g):g.end(c),c=g}let u=await this.makeRequest(e,r,c);n!==void 0&&clearTimeout(n);let A=ZEe(u),p={status:u.statusCode??0,headers:A,request:e};if(e.method==="HEAD")return u.resume(),p;l=a?eye(u,A):u;let m=e.onDownloadProgress;if(m){let h=new jg(m);h.on("error",g=>{Ms.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 tye(l),p}finally{if(e.abortSignal&&s){let u=Promise.resolve();rp(c)&&(u=IY(c));let A=Promise.resolve();rp(l)&&(A=IY(l)),Promise.all([u,A]).then(()=>{s&&e.abortSignal?.removeEventListener("abort",s)}).catch(d=>{Ms.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?Jg.default.request(c,l):Wg.default.request(c,l);A.once("error",d=>{u(new Cr(d.message,{code:d.code??Cr.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new jn("The operation was aborted. Rejecting from abort signal callback while making request.");A.destroy(d),u(d)}),s&&rp(s)?s.pipe(A):s?typeof s=="string"||Buffer.isBuffer(s)?A.end(s):wY(s)?A.end(ArrayBuffer.isView(s)?Buffer.from(s.buffer):Buffer.from(s)):(Ms.error("Unrecognized body type",s),u(new Cr("Unrecognized body type"))):A.end()})}getOrCreateAgent(e,r){let s=e.disableKeepAlive;if(r)return s?Jg.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new Jg.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(s&&!e.tlsSettings)return Wg.default.globalAgent;let n=e.tlsSettings??XEe,i=this.cachedHttpsAgents.get(n);return i&&i.options.keepAlive===!s||(Ms.info("No cached TLS Agent exist, creating a new Agent"),i=new Wg.default.Agent({keepAlive:!s,...n}),this.cachedHttpsAgents.set(n,i)),i}}};function ZEe(t){let e=cs();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(ZEe,"getResponseHeaders");function eye(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let s=$0.default.createGunzip();return t.pipe(s),s}else if(r==="deflate"){let s=$0.default.createInflate();return t.pipe(s),s}return t}o(eye,"getDecodedResponseStream");function tye(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 Cr(`Error reading response as text: ${n.message}`,{code:Cr.PARSE_ERROR}))})})}o(tye,"streamToText");function rye(t){return t?Buffer.isBuffer(t)?t.length:rp(t)?null:wY(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(rye,"getBodyLength");function bY(){return new V0}o(bY,"createNodeHttpClient");function Kg(){return bY()}o(Kg,"createDefaultHttpClient");var Y0="logPolicy";function Xg(t={}){let e=t.logger??Ms.info,r=new En({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:Y0,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(Xg,"logPolicy");var Zg="redirectPolicy",QY=["GET","HEAD"];function eE(t={}){let{maxRetries:e=20}=t;return{name:Zg,async sendRequest(r,s){let n=await s(r);return xY(s,n,e)}}}o(eE,"redirectPolicy");async function xY(t,e,r,s=0){let{request:n,status:i,headers:a}=e,c=a.get("location");if(c&&(i===300||i===301&&QY.includes(n.method)||i===302&&QY.includes(n.method)||i===303&&n.method==="POST"||i===307)&&s{let i,a,c=o(()=>n(new jn(r?.abortErrorMsg?r?.abortErrorMsg:sye)),"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(RY,"delay");function TY(t,e){let r=t.headers.get(e);if(!r)return;let s=Number(r);if(!Number.isNaN(s))return s}o(TY,"parseHeaderValueAsNumber");var J0="Retry-After",nye=["retry-after-ms","x-ms-retry-after-ms",J0];function vY(t){if(t&&[429,503].includes(t.status))try{for(let n of nye){let i=TY(t,n);if(i===0||i)return i*(n===J0?1e3:1)}let e=t.headers.get(J0);if(!e)return;let s=Date.parse(e)-Date.now();return Number.isFinite(s)?Math.max(0,s):void 0}catch{return}}o(vY,"getRetryAfterInMs");function PY(t){return Number.isFinite(vY(t))}o(PY,"isThrottlingRetryResponse");function W0(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=vY(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(W0,"throttlingRetryStrategy");var iye=1e3,oye=1e3*64;function nE(t={}){let e=t.retryDelayInMs??iye,r=t.maxRetryDelayInMs??oye;return{name:"exponentialRetryStrategy",retry({retryCount:s,response:n,responseError:i}){let a=cye(i),c=a&&t.ignoreSystemErrors,l=aye(n),u=l&&t.ignoreHttpStatusCodes;return n&&(PY(n)||!l)||u||c?{skipStrategy:!0}:i&&!a&&!l?{errorToThrow:i}:sE(s,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(nE,"exponentialRetryStrategy");function aye(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(aye,"isExponentialRetryResponse");function cye(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(cye,"isSystemError");var lye=tp("ts-http-runtime retryPolicy"),uye="retryPolicy";function sc(t,e={maxRetries:3}){let r=e.logger||lye;return{name:uye,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 jn;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 RY(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(sc,"retryPolicy");var j0="defaultRetryPolicy";function iE(t={}){return{name:j0,sendRequest:sc([W0(),nE(t)],{maxRetries:t.maxRetries??3}).sendRequest}}o(iE,"defaultRetryPolicy");var kY=typeof window<"u"&&typeof window.document<"u",DY=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),_Y=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",LY=typeof Bun<"u"&&typeof Bun.version<"u",nc=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node;var MY=typeof navigator<"u"&&navigator?.product==="ReactNative";var K0="formDataPolicy";function Aye(t){let e={};for(let[r,s]of t.entries())e[r]??=[],e[r].push(s);return e}o(Aye,"formDataToFormDataMap");function oE(){return{name:K0,async sendRequest(t,e){if(nc&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=Aye(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=dye(t.formData):await pye(t.formData,t),t.formData=void 0}return e(t)}}}o(oE,"formDataPolicy");function dye(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(dye,"wwwFormUrlEncode");async function pye(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:cs({"Content-Disposition":`form-data; name="${n}"`}),body:Lr(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=cs();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(pye,"prepareFormData");var pJ=w(oJ(),1),mJ=w(lJ(),1);var dCe="HTTPS_PROXY",pCe="HTTP_PROXY",mCe="ALL_PROXY",hCe="NO_PROXY",nN="proxyPolicy",uJ=[],hJ=!1,fCe=new Map;function hE(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(hE,"getEnvironmentValue");function fJ(){if(!process)return;let t=hE(dCe),e=hE(mCe),r=hE(pCe);return t||e||r}o(fJ,"loadEnvironmentProxyValue");function gCe(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(gCe,"isBypassed");function ECe(){let t=hE(hCe);return hJ=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(ECe,"loadNoProxy");function iN(t){if(!t&&(t=fJ(),!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 yCe(){let t=fJ();return t?new URL(t):void 0}o(yCe,"getDefaultProxySettingsInternal");function AJ(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(AJ,"getUrlFromProxySettings");function dJ(t,e,r){if(t.agent)return;let n=new URL(t.url).protocol!=="https:";t.tlsSettings&&Ms.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 mJ.HttpProxyAgent(r,{headers:i})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new pJ.HttpsProxyAgent(r,{headers:i})),t.agent=e.httpsProxyAgent)}o(dJ,"setProxyAgentOnRequest");function fE(t,e){hJ||uJ.push(...ECe());let r=t?AJ(t):yCe(),s={};return{name:nN,async sendRequest(n,i){return!n.proxySettings&&r&&!gCe(n.url,e?.customNoProxyList??uJ,e?.customNoProxyList?void 0:fCe)?dJ(n,s,r):n.proxySettings&&dJ(n,s,AJ(n.proxySettings)),i(n)}}}o(fE,"proxyPolicy");var oN="agentPolicy";function gE(t){return{name:oN,sendRequest:o(async(e,r)=>(e.agent||(e.agent=t),r(e)),"sendRequest")}}o(gE,"agentPolicy");var aN="tlsPolicy";function EE(t){return{name:aN,sendRequest:o(async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e)),"sendRequest")}}o(EE,"tlsPolicy");function yE(t){return typeof t.stream=="function"}o(yE,"isBlob");var CE=require("stream");async function*gJ(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(gJ,"streamAsyncIterator");function CCe(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=gJ.bind(t)),t.values||(t.values=gJ.bind(t))}o(CCe,"makeAsyncIterable");function EJ(t){return t instanceof ReadableStream?(CCe(t),CE.Readable.fromWeb(t)):t}o(EJ,"ensureNodeStream");function ICe(t){return t instanceof Uint8Array?CE.Readable.from(Buffer.from(t)):yE(t)?EJ(t.stream()):EJ(t)}o(ICe,"toStream");async function yJ(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(ICe);return CE.Readable.from((async function*(){for(let r of e)for await(let s of r)yield s})())}}o(yJ,"concat");function BCe(){return`----AzSDKFormBoundary${ec()}`}o(BCe,"generateBoundary");function wCe(t){let e="";for(let[r,s]of t)e+=`${r}: ${s}\r `;return e}o(wCe,"encodeHeaders");function bCe(t){return t instanceof Uint8Array?t.byteLength:yE(t)?t.size===-1?void 0:t.size:void 0}o(bCe,"getLength");function QCe(t){let e=0;for(let r of t){let s=bCe(r);if(s===void 0)return;e+=s}return e}o(QCe,"getTotalLength");async function xCe(t,e,r){let s=[Lr(`--${r}`,"utf-8"),...e.flatMap(i=>[Lr(`\r `,"utf-8"),Lr(wCe(i.headers),"utf-8"),Lr(`\r `,"utf-8"),i.body,Lr(`\r --${r}`,"utf-8")]),Lr(`--\r \r `,"utf-8")],n=QCe(s);n&&t.headers.set("Content-Length",n),t.body=await yJ(s)}o(xCe,"buildRequestBody");var op="multipartPolicy",NCe=70,SCe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function RCe(t){if(t.length>NCe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!SCe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(RCe,"assertValidBoundary");function IE(){return{name:op,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?RCe(r):r=BCe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await xCe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(IE,"multipartPolicy");function BE(){return Vg()}o(BE,"createEmptyPipeline");var CJ=Hg({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),YJe=CJ.logger;function Xn(t){return CJ.createClientLogger(t)}o(Xn,"createClientLogger");var Zn=Xn("core-rest-pipeline");function uN(t={}){return Xg({logger:Zn.info,...t})}o(uN,"logPolicy");var AN=Zg;function dN(t={}){return eE(t)}o(dN,"redirectPolicy");var wE=w(require("node:os"),1),bE=w(require("node:process"),1);function IJ(){return"User-Agent"}o(IJ,"getHeaderName");async function BJ(t){if(bE.default&&bE.default.versions){let e=`${wE.default.type()} ${wE.default.release()}; ${wE.default.arch()}`,r=bE.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(BJ,"setPlatformSpecificData");var QE="1.22.2";function MCe(t){let e=[];for(let[r,s]of t){let n=s?`${r}/${s}`:r;e.push(n)}return e.join(" ")}o(MCe,"getUserAgentString");function wJ(){return IJ()}o(wJ,"getUserAgentHeaderName");async function xE(t){let e=new Map;e.set("core-rest-pipeline",QE),await BJ(e);let r=MCe(e);return t?`${t} ${r}`:r}o(xE,"getUserAgentValue");var bJ=wJ(),QJ="userAgentPolicy";function pN(t={}){let e=xE(t.userAgentPrefix);return{name:QJ,async sendRequest(r,s){return r.headers.has(bJ)||r.headers.set(bJ,await e),s(r)}}}o(pN,"userAgentPolicy");var As=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function mN(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:n}=e??{};return new Promise((i,a)=>{function c(){a(new As(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(mN,"createAbortablePromise");var GCe="The delay was aborted.";function ap(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return mN(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:s,abortErrorMsg:n??GCe})}o(ap,"delay");function Xo(t){if(tc(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(Xo,"getErrorMessage");function xJ(t){return tc(t)}o(xJ,"isError");function uu(){return ec()}o(uu,"randomUUID");var Ne=nc;var NJ=Symbol("rawContent");function fN(t){return typeof t[NJ]=="function"}o(fN,"hasRawContent");function SJ(t){return fN(t)?t[NJ]():t}o(SJ,"getRawContent");var NE=op;function gN(){let t=IE();return{name:NE,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let s of e.multipartBody.parts)fN(s.body)&&(s.body=SJ(s.body));return t.sendRequest(e,r)},"sendRequest")}}o(gN,"multipartPolicy");var EN=tE;function yN(){return rE()}o(yN,"decompressResponsePolicy");function CN(t={}){return iE(t)}o(CN,"defaultRetryPolicy");function IN(){return oE()}o(IN,"formDataPolicy");function Zo(t){return iN(t)}o(Zo,"getDefaultProxySettings");function BN(t,e){return fE(t,e)}o(BN,"proxyPolicy");var RJ="setClientRequestIdPolicy";function wN(t="x-ms-client-request-id"){return{name:RJ,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(wN,"setClientRequestIdPolicy");function bN(t){return gE(t)}o(bN,"agentPolicy");function QN(t){return EE(t)}o(QN,"tlsPolicy");var Au={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function TJ(t={}){let e=new xN(t.parentContext);return t.span&&(e=e.setValue(Au.span,t.span)),t.namespace&&(e=e.setValue(Au.namespace,t.namespace)),e}o(TJ,"createTracingContext");var xN=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 PJ=w(vJ(),1),RE=PJ.state;function HCe(){return{end:o(()=>{},"end"),isRecording:o(()=>!1,"isRecording"),recordException:o(()=>{},"recordException"),setAttribute:o(()=>{},"setAttribute"),setStatus:o(()=>{},"setStatus"),addEvent:o(()=>{},"addEvent")}}o(HCe,"createDefaultTracingSpan");function zCe(){return{createRequestHeaders:o(()=>({}),"createRequestHeaders"),parseTraceparentHeader:o(()=>{},"parseTraceparentHeader"),startSpan:o((t,e)=>({span:HCe(),tracingContext:TJ({parentContext:e.tracingContext})}),"startSpan"),withContext(t,e,...r){return e(...r)}}}o(zCe,"createDefaultInstrumenter");function cp(){return RE.instrumenterImplementation||(RE.instrumenterImplementation=zCe()),RE.instrumenterImplementation}o(cp,"getInstrumenter");function lp(t){let{namespace:e,packageName:r,packageVersion:s}=t;function n(u,A,d){let p=cp().startSpan(u,{...d,packageName:r,packageVersion:s,tracingContext:A?.tracingOptions?.tracingContext}),m=p.tracingContext,h=p.span;m.getValue(Au.namespace)||(m=m.setValue(Au.namespace,e)),h.setAttribute("az.namespace",m.getValue(Au.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 cp().withContext(u,A,...d)}o(a,"withContext");function c(u){return cp().parseTraceparentHeader(u)}o(c,"parseTraceparentHeader");function l(u){return cp().createRequestHeaders(u)}return o(l,"createRequestHeaders"),{startSpan:n,withSpan:i,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o(lp,"createTracingClient");var eo=Cr;function oc(t){return Yg(t)}o(oc,"isRestError");var kJ="tracingPolicy";function NN(t={}){let e=xE(t.userAgentPrefix),r=new En({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),s=$Ce();return{name:kJ,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}=VCe(s,n,c)??{};if(!l||!u)return i(n);try{let A=await s.withContext(u,i,n);return JCe(l,A),A}catch(A){throw YCe(l,A),A}}}}o(NN,"tracingPolicy");function $Ce(){try{return lp({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:QE})}catch(t){Zn.warning(`Error when creating the TracingClient: ${Xo(t)}`);return}}o($Ce,"tryCreateTracingClient");function VCe(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){Zn.warning(`Skipping creating a tracing span due to an error: ${Xo(s)}`);return}}o(VCe,"tryCreateSpan");function YCe(t,e){try{t.setStatus({status:"error",error:xJ(e)?e:void 0}),oc(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){Zn.warning(`Skipping tracing span processing due to an error: ${Xo(r)}`)}}o(YCe,"tryProcessError");function JCe(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){Zn.warning(`Skipping tracing span processing due to an error: ${Xo(r)}`)}}o(JCe,"tryProcessResponse");function TE(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(TE,"wrapAbortSignalLike");var WCe="wrapAbortSignalLikePolicy";function DJ(){return{name:WCe,sendRequest:o(async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:s}=TE(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{s?.()}},"sendRequest")}}o(DJ,"wrapAbortSignalLikePolicy");function SN(t){let e=BE();return Ne&&(t.agent&&e.addPolicy(bN(t.agent)),t.tlsOptions&&e.addPolicy(QN(t.tlsOptions)),e.addPolicy(BN(t.proxyOptions)),e.addPolicy(yN())),e.addPolicy(DJ()),e.addPolicy(IN(),{beforePolicies:[NE]}),e.addPolicy(pN(t.userAgentOptions)),e.addPolicy(wN(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(gN(),{afterPhase:"Deserialize"}),e.addPolicy(CN(t.retryOptions),{phase:"Retry"}),e.addPolicy(NN({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),Ne&&e.addPolicy(dN(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(uN(t.loggingOptions),{afterPhase:"Sign"}),e}o(SN,"createPipelineFromOptions");function up(){let t=Kg();return{async sendRequest(e){let{abortSignal:r,cleanup:s}=e.abortSignal?TE(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{s?.()}}}}o(up,"createDefaultHttpClient");function to(t){return cs(t)}o(to,"createHttpHeaders");function Ap(t){return $g(t)}o(Ap,"createPipelineRequest");var w8e=Xn("core-rest-pipeline retryPolicy");var jCe={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function KCe(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(RN,"createTokenCycler");var OJ="bearerTokenAuthenticationPolicy";async function vE(t,e){try{return[await e(t),void 0]}catch(r){if(oc(r)&&r.response)return[r.response,r];throw r}}o(vE,"trySendRequest");async function XCe(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(XCe,"defaultAuthorizeRequest");function _J(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(_J,"isChallengeResponse");async function LJ(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(LJ,"authorizeRequestOnCaeChallenge");function du(t){let{credential:e,scopes:r,challengeCallbacks:s}=t,n=t.logger||Zn,i={authorizeRequest:s?.authorizeRequest?.bind(s)??XCe,authorizeRequestOnChallenge:s?.authorizeRequestOnChallenge?.bind(s)},a=e?RN(e):()=>Promise.resolve(null);return{name:OJ,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 vE(c,l),_J(u)){let p=MJ(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 LJ({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:n},m),d&&([u,A]=await vE(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 vE(c,l)),_J(u)&&(p=MJ(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 LJ({scopes:Array.isArray(r)?r:[r],response:u,request:c,getAccessToken:a,logger:n},m),d&&([u,A]=await vE(c,l))}}if(A)throw A;return u}}}o(du,"bearerTokenAuthenticationPolicy");function ZCe(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(ZCe,"parseChallenges");function MJ(t){return t?ZCe(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(MJ,"getCaeChallengeClaims");function ds(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(ds,"isTokenCredential");var TN="DisableKeepAlivePolicy";function FJ(){return{name:TN,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(FJ,"createDisableKeepAlivePolicy");function UJ(t){return t.getOrderedPolicies().some(e=>e.name===TN)}o(UJ,"pipelineContainsDisableKeepAlivePolicy");function vN(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(vN,"encodeByteArray");function PN(t){return Buffer.from(t,"base64")}o(PN,"decodeString");function tIe(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(tIe,"isPrimitiveBody");var rIe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function qJ(t){return rIe.test(t)}o(qJ,"isDuration");var sIe=/^[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 GJ(t){return sIe.test(t)}o(GJ,"isValidUuid");function nIe(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(nIe,"handleNullableResponseAndWrappableBody");function kN(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 nIe({body:t.parsedBody,headers:r,hasNullableType:n,shouldWrapBody:tIe(t.parsedBody,i)})}o(kN,"flattenResponse");var DN=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=uIe(c,s,r):c.match(/^Enum$/i)!==null?a=AIe(s,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=mIe(c,r,s):c.match(/^ByteArray$/i)!==null?a=dIe(s,r):c.match(/^Base64Url$/i)!==null?a=pIe(s,r):c.match(/^Sequence$/i)!==null?a=hIe(this,e,r,s,!!this.isXML,i):c.match(/^Dictionary$/i)!==null?a=fIe(this,e,r,s,!!this.isXML,i):c.match(/^Composite$/i)!==null&&(a=EIe(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=CIe(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=lIe(r):c.match(/^ByteArray$/i)!==null?a=PN(r):c.match(/^Base64Url$/i)!==null?a=aIe(r):c.match(/^Sequence$/i)!==null?a=BIe(this,e,r,s,i):c.match(/^Dictionary$/i)!==null&&(a=IIe(this,e,r,s,i))}return e.isConstant&&(a=e.defaultValue),a}};function ps(t={},e=!1){return new DN(t,e)}o(ps,"createSerializer");function iIe(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(iIe,"trimEnd");function oIe(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=vN(t);return iIe(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(oIe,"bufferToBase64Url");function aIe(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,"/"),PN(t)}}o(aIe,"base64UrlToByteArray");function _N(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(_N,"splitSerializeName");function cIe(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(cIe,"dateToUnixTime");function lIe(t){if(t)return new Date(t*1e3)}o(lIe,"unixTimeToDate");function uIe(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"&&GJ(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(uIe,"serializeBasicTypes");function AIe(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(AIe,"serializeEnumType");function dIe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=vN(e)}return e}o(dIe,"serializeByteArrayType");function pIe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=oIe(e)}return e}o(pIe,"serializeBase64UrlType");function mIe(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=cIe(e)}else if(t.match(/^TimeSpan$/i)!==null&&!qJ(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(mIe,"serializeDateTypes");function hIe(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(EIe,"serializeCompositeType");function VJ(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(VJ,"getXmlObjectValue");function yIe(t,e){return["$",e.xml.xmlCharKey].includes(t)}o(yIe,"isSpecialXmlProperty");function CIe(t,e,r,s,n){let i=n.xml.xmlCharKey??"_";PE(t,e)&&(e=YJ(t,e,r,"serializedName"));let a=$J(t,e,s),c={},l=[];for(let A of Object.keys(a)){let d=a[A],p=_N(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(_N(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)&&!yIe(A,n)&&(c[A]=r[A]);return c}o(CIe,"deserializeCompositeType");function IIe(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(IIe,"deserializeDictionaryType");function BIe(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=jJ(t,s);!a.propertyFound&&r&&(a=jJ(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=ta(t,{parameterPath:l,mapper:c},r);u!==void 0&&(i||(i={}),i[a]=u)}}return i}o(ta,"getOperationArgumentValueFromParameter");function jJ(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(RIe,"deserializeResponseBody");function TIe(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(TIe,"isOperationSpecEmpty");function vIe(t,e,r,s){let n=200<=t.status&&t.status<300;if(TIe(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 eo(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===ei.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(vIe,"handleErrorResponse");async function PIe(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||eo.PARSE_ERROR;throw new eo(u,{code:A,statusCode:r.status,request:r.request,response:r})}}return r}o(PIe,"parse");function ZJ(t){let e=new Set;for(let r in t.responses){let s=t.responses[r];s.bodyMapper&&s.bodyMapper.type.name===ei.Stream&&e.add(Number(r))}return e}o(ZJ,"getStreamingResponseStatusCodes");function ti(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(ti,"getPathStringFromParameter");var e3="serializationPolicy";function DE(t={}){let e=t.stringifyXML;return{name:e3,async sendRequest(r,s){let n=ro(r),i=n?.operationSpec,a=n?.operationArguments;return i&&a&&(kIe(r,a,i),DIe(r,a,i,e)),s(r)}}}o(DE,"serializationPolicy");function kIe(t,e,r){if(r.headerParameters)for(let n of r.headerParameters){let i=ta(e,n);if(i!=null||n.mapper.required){i=r.serializer.serialize(n.mapper,i,ti(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||ti(n),i)}}let s=e.options?.requestOptions?.customHeaders;if(s)for(let n of Object.keys(s))t.headers.set(n,s[n])}o(kIe,"serializeHeaders");function DIe(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=ta(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=ti(r.requestBody);t.body=r.serializer.serialize(c,t.body,C,i);let E=g===ei.Stream;if(r.isXML){let y=m?`xmlns:${m}`:"xmlns",I=_Ie(p,y,g,t.body,i);g===ei.Sequence?t.body=s(LIe(I,d||A||u,y,p),{rootName:A||u,xmlCharKey:a}):E||(t.body=s(I,{rootName:A||u,xmlCharKey:a}))}else{if(g===ei.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=ta(e,c);if(l!=null){let u=c.mapper.serializedName||ti(c);t.formData[u]=r.serializer.serialize(c.mapper,l,ti(c),i)}}}}o(DIe,"serializeRequestBody");function _Ie(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(_Ie,"getXmlValueWithNamespace");function LIe(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(LIe,"prepareXMLRootList");function dp(t={}){let e=SN(t??{});return t.credentialOptions&&e.addPolicy(du({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(DE(t.serializationOptions),{phase:"Serialize"}),e.addPolicy(MN(t.deserializationOptions),{phase:"Deserialize"}),e}o(dp,"createClientPipeline");var ON;function t3(){return ON||(ON=up()),ON}o(t3,"getCachedDefaultHttpClient");var MIe={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function s3(t,e,r,s){let n=OIe(e,r,s),i=!1,a=r3(t,n);if(e.path){let u=r3(e.path,n);e.path==="/{nextLink}"&&u.startsWith("/")&&(u=u.substring(1)),FIe(u)?(a=u,i=!0):a=UIe(a,u)}let{queryParams:c,sequenceParams:l}=qIe(e,r,s);return a=HIe(a,c,l,i),a}o(s3,"getRequestUrl");function r3(t,e){let r=t;for(let[s,n]of e)r=r.split(s).join(n);return r}o(r3,"replaceAll");function OIe(t,e,r){let s=new Map;if(t.urlParameters?.length)for(let n of t.urlParameters){let i=ta(e,n,r),a=ti(n);i=t.serializer.serialize(n.mapper,i,a),n.skipEncoding||(i=encodeURIComponent(i)),s.set(`{${n.mapper.serializedName||a}}`,i)}return s}o(OIe,"calculateUrlReplacements");function FIe(t){return t.includes("://")}o(FIe,"isAbsoluteUrl");function UIe(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(UIe,"appendPath");function qIe(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=ta(e,i,r);if(a!=null||i.mapper.required){a=t.serializer.serialize(i.mapper,a,ti(i));let c=i.collectionFormat?MIe[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||ti(i),a)}}return{queryParams:s,sequenceParams:n}}o(qIe,"calculateQueryParameters");function GIe(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(GIe,"simpleParseQueryParams");function HIe(t,e,r,s=!1){if(e.size===0)return t;let n=new URL(t),i=GIe(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(HIe,"appendQueryParams");var FN=Xn("core-client");var pp=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&&FN.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||t3(),this.pipeline=e.pipeline||zIe(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=s3(s,r,e,this),i=Ap({url:n});i.method=r.httpMethod;let a=ro(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=ZJ(r));try{let u=await this.sendRequest(i),A=kN(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=kN(A,r.responses[u.statusCode]||r.responses.default);u.details=d,l?.onResponse&&l.onResponse(A,d,u)}throw u}}};function zIe(t){let e=$Ie(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return dp({...t,credentialOptions:r})}o(zIe,"createDefaultPipeline");function $Ie(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($Ie,"getCredentialScopes");var n3={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function VIe(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(VIe,"isUuid");var _E=o(async t=>{let e=KIe(t.request),r=WIe(t.response);if(r){let s=jIe(r),n=JIe(t,s),i=YIe(s);if(!i)return!1;let a=await t.getAccessToken(n,{...e,tenantId:i});return a?(t.request.headers.set(n3.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");function YIe(t){let s=new URL(t.authorization_uri).pathname.split("/")[1];if(s&&VIe(s))return s}o(YIe,"extractTenantId");function JIe(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=n3.DefaultScope;let s=r.toString();return s==="https://disk.azure.com/.default"&&(s="https://disk.azure.com//.default"),[s]}o(JIe,"buildScopes");function WIe(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(WIe,"getChallenge");function jIe(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(jIe,"parseChallenge");function KIe(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(KIe,"requestToOptions");var i3=Symbol("Original PipelineRequest"),XIe=Symbol.for("@azure/core-client original request");function hp(t,e={}){let s=t[i3],n=to(t.headers.toJson({preserveCase:!0}));if(s)return s.headers=n,s;{let i=Ap({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[XIe]=e.originalRequest),i}}o(hp,"toPipelineRequest");function ac(t,e){let r=e?.originalRequest??t,s={url:t.url,method:t.method,headers:fp(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===i3?t:i==="clone"?()=>ac(hp(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 fp(t){return new UN(t.toJSON({preserveCase:!0}))}o(fp,"toHttpHeadersLike");function mp(t){return t.toLowerCase()}o(mp,"getHeaderKey");var UN=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[mp(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[mp(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[mp(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[mp(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 ME(r)},"sendRequest")}}o(HN,"convertHttpClient");var c3=":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",tBe=c3+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",rBe="["+c3+"]["+tBe+"]*",sBe=new RegExp("^"+rBe+"$");function OE(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 l3(t){return typeof t<"u"}o(l3,"isExist");var Ep=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],FE=["__proto__","constructor","prototype"];var nBe={allowBooleanAttributes:!1,unpairedTags:[]};function UE(t,e){e=Object.assign({},nBe,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--),!dBe(l)){let d;return l.trim().length===0?d="Invalid space after '<'.":d="Tag '"+l+"' is an invalid name.",gt("InvalidTag",d,Ir(t,i))}let u=aBe(t,i);if(u===!1)return gt("InvalidAttr","Attributes for '"+l+"' have open quote.",Ir(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 gt(p.err.code,p.err.msg,Ir(t,d+p.err.line))}else if(c)if(u.tagClosed){if(A.trim().length>0)return gt("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",Ir(t,a));if(r.length===0)return gt("InvalidTag","Closing tag '"+l+"' has not been opened.",Ir(t,a));{let d=r.pop();if(l!==d.tagName){let p=Ir(t,d.tagStartPos);return gt("InvalidTag","Expected closing tag '"+d.tagName+"' (opened in line "+p.line+", col "+p.col+") instead of closing tag '"+l+"'.",Ir(t,a))}r.length==0&&(n=!0)}}else return gt("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",Ir(t,i));else{let d=p3(A,e);if(d!==!0)return gt(d.err.code,d.err.msg,Ir(t,i-A.length+d.err.line));if(n===!0)return gt("InvalidXml","Multiple possible root nodes found.",Ir(t,i));e.unpairedTags.indexOf(l)!==-1||r.push({tagName:l,tagStartPos:a}),s=!0}for(i++;i0)return gt("InvalidXml","Invalid '"+JSON.stringify(r.map(i=>i.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return gt("InvalidXml","Start tag expected.",1);return!0}o(UE,"validate");function u3(t){return t===" "||t===" "||t===` `||t==="\r"}o(u3,"isWhiteSpace");function A3(t,e){let r=e;for(;e5&&s==="xml")return gt("InvalidXml","XML declaration allowed only at the start of the document.",Ir(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}o(A3,"readPI");function d3(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(d3,"readCommentAndCDATA");var iBe='"',oBe="'";function aBe(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(aBe,"readAttributeStr");var cBe=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function p3(t,e){let r=OE(t,cBe),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"},h3={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"},f3={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"},g3={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"},E3={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"},y3={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:"<"},C3={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"},I3={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"},B3={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"},w3={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"},qE={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"},b3={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"},Q3={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"},pBe={...m3,...h3,...f3,...g3,...E3,...y3,...C3,...I3,...B3,...w3,...qE,...b3,...Q3},Cp={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},zN={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 mBe=new Set("!?\\\\/[]$%{}^&*()<>|+");function x3(t){if(t[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${t}"`);for(let e of t)if(mBe.has(e))throw new Error(`[EntityReplacer] Invalid character '${e}' in entity name: "${t}"`);return t}o(x3,"validateEntityName");function $N(...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($N,"mergeEntityMaps");var cc="external",GE="base",VN="all";function hBe(t){return!t||t===cc?new Set([cc]):t===VN?new Set([VN]):t===GE?new Set([GE]):Array.isArray(t)?new Set(t):new Set([cc])}o(hBe,"parseLimitTiers");var Or=Object.freeze({allow:0,leave:1,remove:2,throw:3}),fBe=new Set([9,10,13]);function gBe(t){if(!t)return{xmlVersion:1,onLevel:Or.allow,nullLevel:Or.remove};let e=t.xmlVersion===1.1?1.1:1,r=Or[t.onNCR]??Or.allow,s=Or[t.nullNCR]??Or.remove,n=Math.max(s,Or.remove);return{xmlVersion:e,onLevel:r,nullLevel:n}}o(gBe,"parseNCRConfig");var hu=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=hBe(this._limit.applyLimitsTo??cc),this._numericAllowed=e.numericAllowed??!0,this._baseMap=$N(Cp,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=gBe(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))x3(r);this._externalMap=$N(e)}addExternalEntity(e,r){x3(e),typeof r=="string"&&r.indexOf("&")===-1&&(this._externalMap[e]=r)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=$N(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=cc);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=GE}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&&!fBe.has(e)?Or.remove:-1}_applyNCRAction(e,r,s){switch(e){case Or.allow:return String.fromCodePoint(s);case Or.remove:return"";case Or.leave:return;case Or.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&&nEp.includes(t)?"__"+t:t,"defaultOnDangerousProperty"),EBe={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:N3};function yBe(t,e){if(typeof t!="string")return;let r=t.toLowerCase();if(Ep.some(s=>r===s.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(FE.some(s=>r===s.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}o(yBe,"validatePropertyName");function S3(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"}:S3(!0)}o(S3,"normalizeProcessEntities");var R3=o(function(t){let e=Object.assign({},EBe,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&&yBe(s,n);return e.onDangerousProperty===null&&(e.onDangerousProperty=N3),e.processEntities=S3(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 HE;typeof Symbol!="function"?HE="@@xmlMetadata":HE=Symbol("XML Node Metadata");var Fr=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][HE]={startIndex:r})}static getMetaDataSymbol(){return HE}};var Bp=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&&lc(e,"!ELEMENT",r)){r+=8;let{index:u}=this.readElementExp(e,r+1);r=u}else if(a&&lc(e,"!ATTLIST",r))r+=8;else if(a&&lc(e,"!NOTATION",r)){r+=9;let{index:u}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=u}else if(lc(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=Ur(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=Ur(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 NBe(t,Number(r),e)}o(YN,"toNumber");var wBe=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function bBe(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(bBe,"resolveEnotation");function QBe(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(QBe,"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 NBe(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(NBe,"handleInfinity");function JN(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(JN,"getIgnoreAttributesFn");var ms=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)}},ri=class{static{o(this,"Matcher")}constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new WN(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 SBe(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(SBe,"extractRawAttributes");function RBe(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(RBe,"extractNamespace");var wp=class{static{o(this,"OrderedObjParser")}constructor(e){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=DBe,this.parseTextData=TBe,this.resolveNameSpace=vBe,this.buildAttributesMap=kBe,this.isItStopNode=OBe,this.replaceEntitiesValue=LBe,this.readStopNodeData=qBe,this.saveTextToParentTag=MBe,this.addChild=_Be,this.ignoreAttributesFn=JN(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0;let r={...Cp};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?r=this.options.htmlEntities:this.options.htmlEntities===!0&&(r={...zN,...qE}),this.entityDecoder=new hu({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 ri,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new fu;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?XN(t,c.parseTagValue,c.numberParseOptions):t}}o(TBe,"parseTextData");function vBe(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(vBe,"resolveNameSpace");var PBe=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function kBe(t,e,r,s=!1){let n=this.options;if(s===!0||n.ignoreAttributes!==!0&&typeof t=="string"){let i=OE(t,PBe),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=jN(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=KN(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 Fr(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=gu(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=gu(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=KN(t,c,n.removeNSPrefix);if(!A){let D=t.substring(Math.max(0,c-50),Math.min(a,c+50));throw new Error(`readTagExp returned undefined at position ${c}. Context: "${D}"`)}let d=A.tagName,p=A.rawTagName,m=A.tagExp,h=A.attrExpPresent,g=A.closeIndex;if({tagName:d,tagExp:m}=jN(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=RBe(p),d!==e.tagname&&this.matcher.push(d,{},B),d!==m&&h&&(y=this.buildAttributesMap(m,this.matcher,d),y&&(I=SBe(y,n))),d!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let N=c;if(this.isCurrentNodeStopNode){let D="";if(E)c=A.closeIndex;else if(n.unpairedTagsSet.has(d))c=A.closeIndex;else{let pe=this.readStopNodeData(t,p,g+1);if(!pe)throw new Error(`Unexpected end of ${p}`);c=pe.i,D=pe.tagContent}let q=new Fr(d);y&&(q[":@"]=y),q.add(n.textNodeName,D),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,q,this.readonlyMatcher,N)}else{if(E){({tagName:d,tagExp:m}=jN(n.transformTagName,d,m,n));let D=new Fr(d);y&&(D[":@"]=y),this.addChild(r,D,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(n.unpairedTagsSet.has(d)){let D=new Fr(d);y&&(D[":@"]=y),this.addChild(r,D,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1,c=A.closeIndex;continue}else{let D=new Fr(d);if(this.tagsNodeStack.length>n.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),y&&(D[":@"]=y),this.addChild(r,D,this.readonlyMatcher,N),r=D}s="",c=g}}}else s+=t[c];return e.child},"parseXml");function _Be(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(_Be,"addChild");function LBe(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(LBe,"replaceEntitiesValue");function MBe(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(MBe,"saveTextToParentTag");function OBe(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}o(OBe,"isItStopNode");function FBe(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=gu(t,"?>",r+1,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===45&&t.charCodeAt(r+3)===45)r=gu(t,"-->",r+3,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===91)r=gu(t,"]]>",r,"StopNode is not closed.")-2;else{let c=KN(t,r,">");c&&((c&&c.tagName)===e&&c.tagExp[c.tagExp.length-1]!=="/"&&n++,r=c.closeIndex)}}}o(qBe,"readStopNodeData");function XN(t,e,r){if(e&&typeof t=="string"){let s=t.trim();return s==="true"?!0:s==="false"?!1:YN(t,r)}else return l3(t)?t:""}o(XN,"parseValue");function jN(t,e,r,s){if(t){let n=t(e);r===e&&(r=n),e=n}return e=T3(e,s),{tagName:e,tagExp:r}}o(jN,"transformTagName");function T3(t,e){if(FE.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return Ep.includes(t)?e.onDangerousProperty(t):t}o(T3,"sanitizeName");var ZN=Fr.getMetaDataSymbol();function GBe(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(GBe,"stripAttributePrefix");function eS(t,e,r,s){return v3(t,e,r,s)}o(eS,"prettify");function v3(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(v3,"compress");function HBe(t){let e=Object.keys(t);for(let r=0;r/g,"]]]]>")}o($E,"safeCdata");function ra(t){return String(t).replace(/"/g,""").replace(/'/g,"'")}o(ra,"escapeAttribute");var P3=":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",VBe=P3+"\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040",k3=":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}",YBe=k3+"\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040",D3=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"),JBe=D3(P3,VBe),WBe=D3(k3,YBe,"u"),jBe=o((t="1.0")=>t==="1.1"?WBe:JBe,"getRegexes");var VE=o((t,{xmlVersion:e="1.0"}={})=>jBe(e).qName.test(t),"qName");var KBe=` `;function XBe(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(sS(r)==="?xml"){let n=r[":@"];if(n){let i=e.attributeNamePrefix+"version";if(n[i])return n[i]}}return"1.0"}o(XBe,"detectXmlVersionFromArray");function L3(t,e,r,s,n){return!r.sanitizeName||VE(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(L3,"resolveTagName");function rS(t,e){let r="";e.format&&(r=KBe);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=tS(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=zE(I);a+=r+``,c=!0,s.pop();continue}else if(p[0]==="?"){let I=_3(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=_3(u[":@"],e,h,s,i),E=r+`<${p}${C}`,y;h?y=O3(u[A],e):y=M3(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(M3,"arrToStr");function ZBe(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]=ra(t[n]),s=!0}return s?r:null}o(ZBe,"extractAttributeValues");function O3(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(O3,"getRawContent");function ewe(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)}="${ra(n)}"`}return r}o(ewe,"attr_to_str_raw");function sS(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(nS,"getIgnoreAttributesFn");var rwe={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 qr(t){if(this.options=Object.assign({},rwe,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(qr,"Builder");function swe(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(swe,"detectXmlVersionFromObj");function iS(t,e,r,s,n){return!r.sanitizeName||VE(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(iS,"resolveTagName");qr.prototype.build=function(t){if(this.options.preserveOrder)return rS(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new ri,r=swe(t,this.options);return this.j2x(t,0,e,r).val}};qr.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};qr.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};qr.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}};qr.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=zE(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(YE,"stringifyXML");async function aS(t,e={}){if(!t)throw new Error("Document is empty");let r=F3.validate(t);if(r!==!0)throw r;let n=new Eu(cwe(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(aS,"parseXML");var JE=Xn("storage-blob");var $3=require("events");var H3=require("node:stream");var WE=class extends H3.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 z3=w(require("node:buffer"),1);var jE=z3.default.constants.MAX_LENGTH,KE=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/jE);for(let i=0;i0&&(e[0]=e[0].slice(a))}getReadableStream(){return new WE(this.buffers,this.size)}};var XE=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new $3.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 KE(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 cS;function lS(){return cS||(cS=up()),cS}o(lS,"getCachedDefaultHttpClient");var si=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 so={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 sa(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(sa,"setURLParameter");function ZE(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(ZE,"setURLHost");function ey(t){try{return new URL(t).pathname}catch{return}}o(ey,"getURLPath");function ty(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(ry,"delay");var bp=class extends si{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return Ne?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=sa(e.url,so.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 Qp=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new bp(e,r)}};var uc=class extends si{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var xp=class extends uc{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};var Ac=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};var Ye=class extends Ac{static{o(this,"AnonymousCredential")}create(e,r){return new xp(e,r)}};var V3=require("node:crypto");var 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,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]),uwe=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]),Awe=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 sy(t,e){return dwe(t,e)?-1:1}o(sy,"compareHeader");function dwe(t,e){let r=[lwe,uwe,Awe],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)=>sy(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=ey(e.url)||"/",s="";s+=`/${this.factory.accountName}${r}`;let n=ty(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 rt=class extends Ac{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new Np(e,r,this)}computeHMACSHA256(e){return(0,V3.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var Pt=Xn("storage-common");var qs;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(qs||(qs={}));var na={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:qs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},pwe=new As("The operation was aborted."),Sp=class extends si{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,s=na){super(e,r),this.retryOptions={retryPolicyType:s.retryPolicyType?s.retryPolicyType:na.retryPolicyType,maxTries:s.maxTries&&s.maxTries>=1?Math.floor(s.maxTries):na.maxTries,tryTimeoutInMs:s.tryTimeoutInMs&&s.tryTimeoutInMs>=0?s.tryTimeoutInMs:na.tryTimeoutInMs,retryDelayInMs:s.retryDelayInMs&&s.retryDelayInMs>=0?Math.min(s.retryDelayInMs,s.maxRetryDelayInMs?s.maxRetryDelayInMs:na.maxRetryDelayInMs):na.retryDelayInMs,maxRetryDelayInMs:s.maxRetryDelayInMs&&s.maxRetryDelayInMs>=0?s.maxRetryDelayInMs:na.maxRetryDelayInMs,secondaryHost:s.secondaryHost?s.secondaryHost:na.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=ZE(n.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(n.url=sa(n.url,so.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(Pt.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(Pt.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 Pt.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 Pt.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 Pt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return Pt.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')?(Pt.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 qs.EXPONENTIAL:n=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case qs.FIXED:n=this.retryOptions.retryDelayInMs;break}else n=Math.random()*1e3;return Pt.info(`RetryPolicy: Delay for ${n}ms`),ry(n,s,pwe)}};var Rp=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new Sp(e,r,this.retryOptions)}};var mwe="storageBrowserPolicy";function Y3(){return{name:mwe,async sendRequest(t,e){return Ne||((t.method==="GET"||t.method==="HEAD")&&(t.url=sa(t.url,so.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(re.COOKIE),t.headers.delete(re.CONTENT_LENGTH)),e(t)}}}o(Y3,"storageBrowserPolicy");var hwe="StorageCorrectContentLengthPolicy";function J3(){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:hwe,async sendRequest(e,r){return t(e),r(e)}}}o(J3,"storageCorrectContentLengthPolicy");var fwe="storageRetryPolicy",yu={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:qs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},gwe=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],Ewe=new As("The operation was aborted.");function W3(t={}){let e=t.retryPolicyType??yu.retryPolicyType,r=t.maxTries??yu.maxTries,s=t.retryDelayInMs??yu.retryDelayInMs,n=t.maxRetryDelayInMs??yu.maxRetryDelayInMs,i=t.secondaryHost??yu.secondaryHost,a=t.tryTimeoutInMs??yu.tryTimeoutInMs;function c({isPrimaryRetry:u,attempt:A,response:d,error:p}){if(A>=r)return Pt.info(`RetryPolicy: Attempt(s) ${A} >= maxTries ${r}, no further try.`),!1;if(p){for(let m of gwe)if(p.name.toUpperCase().includes(m)||p.message.toUpperCase().includes(m)||p.code&&p.code.toString().toUpperCase()===m)return Pt.info(`RetryPolicy: Network error ${m} found, will retry.`),!0;if(p?.code==="PARSE_ERROR"&&p?.message.startsWith('Error "Error: Unclosed root tag'))return Pt.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 Pt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(m===503||m===500)return Pt.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 qs.EXPONENTIAL:d=Math.min((Math.pow(2,A-1)-1)*s,n);break;case qs.FIXED:d=s;break}else d=Math.random()*1e3;return Pt.info(`RetryPolicy: Delay for ${d}ms`),d}return o(l,"calculateDelay"),{name:fwe,async sendRequest(u,A){a&&(u.url=sa(u.url,so.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let d=u.url,p=i?ZE(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{Pt.info(`RetryPolicy: =====> Try=${h} ${y?"Primary":"Secondary"}`),C=await A(u),m=m||!y&&C.status===404}catch(I){if(oc(I))Pt.error(`RetryPolicy: Caught error, message: ${I.message}, code: ${I.code}`),E=I;else throw Pt.error(`RetryPolicy: Caught error, message: ${Xo(I)}`),I}g=c({isPrimaryRetry:y,attempt:h,response:C,error:E}),g&&await ry(l(y,h),u.abortSignal,Ewe),h++}if(C)return C;throw E??new eo("RetryPolicy failed without known error.")}}}o(W3,"storageRetryPolicy");var j3=require("node:crypto");var ywe="storageSharedKeyCredentialPolicy";function uS(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,j3.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)=>sy(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=ey(i.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=ty(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:ywe,async sendRequest(i,a){return e(i),a(i)}}}o(uS,"storageSharedKeyCredentialPolicy");var Cwe="storageRequestFailureDetailsParserPolicy";function K3(){return{name:Cwe,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(K3,"storageRequestFailureDetailsParserPolicy");var X3=require("node:crypto");var ny=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,X3.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var iy="12.31.0",oy="2026-02-06";var ay="https://storage.azure.com/.default",no={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var yn="",AS="*",Iwe=1*1024*1024;var Bwe=4*Iwe;var Z3="AES256",e4="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",t4=["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"],r4=["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"],s4="BlobUsesCustomerSpecifiedEncryption",n4="BlobDoesNotUseCustomerSpecifiedEncryption",i4=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function io(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(io,"isPipelineLike");var Tp=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 Et(t,e={}){t||(t=new Ye);let r=new Tp([],e);return r._credential=t,r}o(Et,"newPipeline");function wwe(t){let e=[bwe,o4,Qwe,xwe,Nwe,Swe,Twe];if(t.factories.length){let r=t.factories.filter(s=>!e.some(n=>n(s)));if(r.length){let s=r.some(n=>Rwe(n));return{wrappedPolicies:GN(r),afterRetry:s}}}}o(wwe,"processDownlevelPipeline");function dS(t){let{httpClient:e,...r}=t.options,s=t._coreHttpClient;s||(s=e?HN(e):lS(),t._coreHttpClient=s);let n=t._corePipeline;if(!n){let i=`azsdk-js-azure-storage-blob/${iy}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`;n=dp({...r,loggingOptions:{additionalAllowedHeaderNames:t4,additionalAllowedQueryParameters:r4,logger:JE.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:YE,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:aS,serializerOptions:{xml:{xmlCharKey:"#"}}}}),n.removePolicy({phase:"Retry"}),n.removePolicy({name:EN}),n.addPolicy(J3()),n.addPolicy(W3(r.retryOptions),{phase:"Retry"}),n.addPolicy(K3()),n.addPolicy(Y3());let c=wwe(t);c&&n.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=pS(t);ds(l)?n.addPolicy(du({credential:l,scopes:r.audience??ay,challengeCallbacks:{authorizeRequestOnChallenge:_E}}),{phase:"Sign"}):l instanceof rt&&n.addPolicy(uS({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=n}return{...r,allowInsecureConnection:!0,httpClient:s,pipeline:n}}o(dS,"getCoreClientOptions");function pS(t){if(t._credential)return t._credential;let e=new Ye;for(let r of t.factories)if(ds(r.credential))e=r.credential;else if(o4(r))return r;return e}o(pS,"getCredentialFromPipeline");function o4(t){return t instanceof rt?!0:t.constructor.name==="StorageSharedKeyCredential"}o(o4,"isStorageSharedKeyCredential");function bwe(t){return t instanceof Ye?!0:t.constructor.name==="AnonymousCredential"}o(bwe,"isAnonymousCredential");function Qwe(t){return ds(t.credential)}o(Qwe,"isCoreHttpBearerTokenFactory");function xwe(t){return t instanceof Qp?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(xwe,"isStorageBrowserPolicyFactory");function Nwe(t){return t instanceof Rp?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(Nwe,"isStorageRetryPolicyFactory");function Swe(t){return t.constructor.name==="TelemetryPolicyFactory"}o(Swe,"isStorageTelemetryPolicyFactory");function Rwe(t){return t.constructor.name==="InjectorPolicyFactory"}o(Rwe,"isInjectorPolicyFactory");function Twe(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(Twe,"isCoreHttpPolicyFactory");var a4;(function(t){t.AES256="AES256"})(a4||(a4={}));var c4;(function(t){t.Backup="backup"})(c4||(c4={}));var l4;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(l4||(l4={}));var u4;(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"})(u4||(u4={}));var hs={};nZ(hs,{AccessPolicy:()=>Gwe,AppendBlobAppendBlockExceptionHeaders:()=>kT,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>_T,AppendBlobAppendBlockFromUrlHeaders:()=>DT,AppendBlobAppendBlockHeaders:()=>PT,AppendBlobCreateExceptionHeaders:()=>vT,AppendBlobCreateHeaders:()=>TT,AppendBlobSealExceptionHeaders:()=>MT,AppendBlobSealHeaders:()=>LT,ArrowConfiguration:()=>rbe,ArrowField:()=>sbe,BlobAbortCopyFromURLExceptionHeaders:()=>sT,BlobAbortCopyFromURLHeaders:()=>rT,BlobAcquireLeaseExceptionHeaders:()=>qR,BlobAcquireLeaseHeaders:()=>UR,BlobBreakLeaseExceptionHeaders:()=>WR,BlobBreakLeaseHeaders:()=>JR,BlobChangeLeaseExceptionHeaders:()=>YR,BlobChangeLeaseHeaders:()=>VR,BlobCopyFromURLExceptionHeaders:()=>tT,BlobCopyFromURLHeaders:()=>eT,BlobCreateSnapshotExceptionHeaders:()=>KR,BlobCreateSnapshotHeaders:()=>jR,BlobDeleteExceptionHeaders:()=>QR,BlobDeleteHeaders:()=>bR,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>_R,BlobDeleteImmutabilityPolicyHeaders:()=>DR,BlobDownloadExceptionHeaders:()=>IR,BlobDownloadHeaders:()=>ly,BlobFlatListSegment:()=>Hwe,BlobGetAccountInfoExceptionHeaders:()=>oT,BlobGetAccountInfoHeaders:()=>iT,BlobGetPropertiesExceptionHeaders:()=>wR,BlobGetPropertiesHeaders:()=>BR,BlobGetTagsExceptionHeaders:()=>lT,BlobGetTagsHeaders:()=>cT,BlobHierarchyListSegment:()=>Ywe,BlobItemInternal:()=>zwe,BlobName:()=>$we,BlobPrefix:()=>Jwe,BlobPropertiesInternal:()=>Vwe,BlobQueryExceptionHeaders:()=>aT,BlobQueryHeaders:()=>Ay,BlobReleaseLeaseExceptionHeaders:()=>HR,BlobReleaseLeaseHeaders:()=>GR,BlobRenewLeaseExceptionHeaders:()=>$R,BlobRenewLeaseHeaders:()=>zR,BlobServiceProperties:()=>vp,BlobServiceStatistics:()=>mS,BlobSetExpiryExceptionHeaders:()=>RR,BlobSetExpiryHeaders:()=>SR,BlobSetHttpHeadersExceptionHeaders:()=>vR,BlobSetHttpHeadersHeaders:()=>TR,BlobSetImmutabilityPolicyExceptionHeaders:()=>kR,BlobSetImmutabilityPolicyHeaders:()=>PR,BlobSetLegalHoldExceptionHeaders:()=>MR,BlobSetLegalHoldHeaders:()=>LR,BlobSetMetadataExceptionHeaders:()=>FR,BlobSetMetadataHeaders:()=>OR,BlobSetTagsExceptionHeaders:()=>AT,BlobSetTagsHeaders:()=>uT,BlobSetTierExceptionHeaders:()=>nT,BlobSetTierHeaders:()=>uy,BlobStartCopyFromURLExceptionHeaders:()=>ZR,BlobStartCopyFromURLHeaders:()=>XR,BlobTag:()=>Uwe,BlobTags:()=>kp,BlobUndeleteExceptionHeaders:()=>NR,BlobUndeleteHeaders:()=>xR,Block:()=>Wwe,BlockBlobCommitBlockListExceptionHeaders:()=>YT,BlockBlobCommitBlockListHeaders:()=>VT,BlockBlobGetBlockListExceptionHeaders:()=>WT,BlockBlobGetBlockListHeaders:()=>JT,BlockBlobPutBlobFromUrlExceptionHeaders:()=>qT,BlockBlobPutBlobFromUrlHeaders:()=>UT,BlockBlobStageBlockExceptionHeaders:()=>HT,BlockBlobStageBlockFromURLExceptionHeaders:()=>$T,BlockBlobStageBlockFromURLHeaders:()=>zT,BlockBlobStageBlockHeaders:()=>GT,BlockBlobUploadExceptionHeaders:()=>FT,BlockBlobUploadHeaders:()=>OT,BlockList:()=>IS,BlockLookupList:()=>CS,ClearRange:()=>Kwe,ContainerAcquireLeaseExceptionHeaders:()=>oR,ContainerAcquireLeaseHeaders:()=>iR,ContainerBreakLeaseExceptionHeaders:()=>dR,ContainerBreakLeaseHeaders:()=>AR,ContainerChangeLeaseExceptionHeaders:()=>mR,ContainerChangeLeaseHeaders:()=>pR,ContainerCreateExceptionHeaders:()=>US,ContainerCreateHeaders:()=>FS,ContainerDeleteExceptionHeaders:()=>zS,ContainerDeleteHeaders:()=>HS,ContainerFilterBlobsExceptionHeaders:()=>nR,ContainerFilterBlobsHeaders:()=>sR,ContainerGetAccessPolicyExceptionHeaders:()=>JS,ContainerGetAccessPolicyHeaders:()=>YS,ContainerGetAccountInfoExceptionHeaders:()=>CR,ContainerGetAccountInfoHeaders:()=>yR,ContainerGetPropertiesExceptionHeaders:()=>GS,ContainerGetPropertiesHeaders:()=>qS,ContainerItem:()=>Mwe,ContainerListBlobFlatSegmentExceptionHeaders:()=>fR,ContainerListBlobFlatSegmentHeaders:()=>hR,ContainerListBlobHierarchySegmentExceptionHeaders:()=>ER,ContainerListBlobHierarchySegmentHeaders:()=>gR,ContainerProperties:()=>Owe,ContainerReleaseLeaseExceptionHeaders:()=>cR,ContainerReleaseLeaseHeaders:()=>aR,ContainerRenameExceptionHeaders:()=>eR,ContainerRenameHeaders:()=>ZS,ContainerRenewLeaseExceptionHeaders:()=>uR,ContainerRenewLeaseHeaders:()=>lR,ContainerRestoreExceptionHeaders:()=>XS,ContainerRestoreHeaders:()=>KS,ContainerSetAccessPolicyExceptionHeaders:()=>jS,ContainerSetAccessPolicyHeaders:()=>WS,ContainerSetMetadataExceptionHeaders:()=>VS,ContainerSetMetadataHeaders:()=>$S,ContainerSubmitBatchExceptionHeaders:()=>rR,ContainerSubmitBatchHeaders:()=>tR,CorsRule:()=>Dwe,DelimitedTextConfiguration:()=>ebe,FilterBlobItem:()=>Fwe,FilterBlobSegment:()=>Pp,GeoReplication:()=>Lwe,JsonTextConfiguration:()=>tbe,KeyInfo:()=>fS,ListBlobsFlatSegmentResponse:()=>ES,ListBlobsHierarchySegmentResponse:()=>yS,ListContainersSegmentResponse:()=>hS,Logging:()=>vwe,Metrics:()=>kwe,PageBlobClearPagesExceptionHeaders:()=>gT,PageBlobClearPagesHeaders:()=>fT,PageBlobCopyIncrementalExceptionHeaders:()=>RT,PageBlobCopyIncrementalHeaders:()=>ST,PageBlobCreateExceptionHeaders:()=>pT,PageBlobCreateHeaders:()=>dT,PageBlobGetPageRangesDiffExceptionHeaders:()=>wT,PageBlobGetPageRangesDiffHeaders:()=>BT,PageBlobGetPageRangesExceptionHeaders:()=>IT,PageBlobGetPageRangesHeaders:()=>CT,PageBlobResizeExceptionHeaders:()=>QT,PageBlobResizeHeaders:()=>bT,PageBlobUpdateSequenceNumberExceptionHeaders:()=>NT,PageBlobUpdateSequenceNumberHeaders:()=>xT,PageBlobUploadPagesExceptionHeaders:()=>hT,PageBlobUploadPagesFromURLExceptionHeaders:()=>yT,PageBlobUploadPagesFromURLHeaders:()=>ET,PageBlobUploadPagesHeaders:()=>mT,PageList:()=>cy,PageRange:()=>jwe,QueryFormat:()=>Zwe,QueryRequest:()=>BS,QuerySerialization:()=>Xwe,RetentionPolicy:()=>Pwe,ServiceFilterBlobsExceptionHeaders:()=>OS,ServiceFilterBlobsHeaders:()=>MS,ServiceGetAccountInfoExceptionHeaders:()=>DS,ServiceGetAccountInfoHeaders:()=>kS,ServiceGetPropertiesExceptionHeaders:()=>xS,ServiceGetPropertiesHeaders:()=>QS,ServiceGetStatisticsExceptionHeaders:()=>SS,ServiceGetStatisticsHeaders:()=>NS,ServiceGetUserDelegationKeyExceptionHeaders:()=>PS,ServiceGetUserDelegationKeyHeaders:()=>vS,ServiceListContainersSegmentExceptionHeaders:()=>TS,ServiceListContainersSegmentHeaders:()=>RS,ServiceSetPropertiesExceptionHeaders:()=>bS,ServiceSetPropertiesHeaders:()=>wS,ServiceSubmitBatchExceptionHeaders:()=>LS,ServiceSubmitBatchHeaders:()=>_S,SignedIdentifier:()=>qwe,StaticWebsite:()=>_we,StorageError:()=>R,UserDelegationKey:()=>gS});var vp={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"}}}}},vwe={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"}}}}},Pwe={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"}}}}},kwe={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"}}}}},Dwe={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"}}}}},_we={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"}}}}},R={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"}}}}},mS={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},Lwe={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"}}}}},hS={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"}}}}},Mwe={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"}}}}}}},Owe={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"}}}}},fS={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"}}}}},gS={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"}}}}},Pp={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"}}}}},Fwe={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"}}}}},kp={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"}}}}}}},Uwe={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"}}}}},qwe={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"}}}}},Gwe={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"}}}}},ES={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"}}}}},Hwe={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"}}}}}}},zwe={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"}}}}},$we={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"}}}}},Vwe={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"}}}}},yS={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"}}}}},Ywe={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"}}}}}}},Jwe={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},CS={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"}}}}}}},IS={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"}}}}}}},Wwe={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"}}}}},cy={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"}}}}},jwe={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"}}}}},Kwe={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"}}}}},BS={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"}}}}},Xwe={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},Zwe={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"}}}}}}},ebe={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"}}}}},tbe={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},rbe={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"}}}}}}},sbe={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"}}}}},wS={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"}}}}},bS={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"}}}}},xS={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NS={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"}}}}},SS={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RS={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"}}}}},TS={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vS={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"}}}}},PS={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kS={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"}}}}},DS={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_S={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"}}}}},LS={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MS={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"}}}}},OS={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FS={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"}}}}},US={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qS={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"}}}}},GS={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HS={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"}}}}},zS={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$S={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"}}}}},VS={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},YS={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"}}}}},JS={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},WS={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"}}}}},jS={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},KS={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"}}}}},XS={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ZS={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"}}}}},eR={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},tR={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"}}}}},rR={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sR={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"}}}}},nR={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"}}}}},oR={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aR={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"}}}}},cR={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lR={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"}}}}},uR={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AR={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"}}}}},dR={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},pR={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"}}}}},mR={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hR={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"}}}}},fR={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gR={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"}}}}},ER={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yR={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"}}}}},CR={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ly={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"}}}}},IR={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BR={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"}}}}},wR={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bR={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"}}}}},xR={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"}}}}},NR={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SR={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"}}}}},RR={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TR={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"}}}}},vR={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PR={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"]}}}}},kR={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DR={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"}}}}},_R={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LR={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"}}}}},MR={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OR={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"}}}}},FR={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},UR={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"}}}}},qR={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GR={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"}}}}},HR={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zR={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"}}}}},$R={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VR={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"}}}}},YR={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JR={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"}}}}},WR={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jR={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"}}}}},KR={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XR={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"}}}}},ZR={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"}}}}},eT={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"}}}}},tT={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"}}}}},rT={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"}}}}},sT={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uy={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"}}}}},nT={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"}}}}},oT={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ay={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"}}}}},aT={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cT={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"}}}}},lT={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uT={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"}}}}},AT={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dT={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"}}}}},pT={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mT={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"}}}}},hT={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fT={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"}}}}},gT={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ET={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"}}}}},yT={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"}}}}},CT={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"}}}}},IT={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BT={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"}}}}},wT={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bT={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"}}}}},xT={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"}}}}},NT={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ST={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"}}}}},RT={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TT={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"}}}}},vT={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PT={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"}}}}},kT={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DT={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"}}}}},_T={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"}}}}},LT={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"}}}}},MT={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OT={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"}}}}},FT={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},UT={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"}}}}},qT={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"}}}}},GT={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"}}}}},HT={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zT={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"}}}}},$T={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"}}}}},VT={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"}}}}},YT={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JT={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"}}}}},WT={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var ni={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},A4={parameterPath:"blobServiceProperties",mapper:vp},Gs={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},T={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},Dp={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Hs={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},v={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},P={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},k={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},H={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},d4={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},_p={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Lp={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},ii={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},oi={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"},m4={parameterPath:"keyInfo",mapper:fS},h4={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Cu={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},dy={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},py={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Gt={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},my={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},hy={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},fy={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},Ht={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"}}}}},jT={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},f4={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},g4={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}},Ae={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},ae={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},ce={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},gy={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},KT={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},E4={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},Ey={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},y4={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},C4={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},I4={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},B4={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},w4={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}},zs={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},yy={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Cy={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},Iy={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},By={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},ia={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},wy={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},by={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Qy={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},xy={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Ny={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},XT={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"},ZT={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},b4={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},Br={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},ai={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},dc={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},Q4={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},x4={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},st={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},nt={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},it={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"}}},fe={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},N4={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},S4={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},R4={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},T4={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},v4={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}},ci={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},li={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},ui={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},Ai={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},di={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},pi={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},ev={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Cn={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},In={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},P4={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},k4={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},Nt={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},D4={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},oo={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"]}}},tv={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},mi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},hi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},fi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},gi={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},Sy={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},pc={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"}}},_4={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},Ei={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},L4={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},ao={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},co={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},Ry={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},lo={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},M4={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},O4={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},F4={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},U4={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},q4={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"]}}},G4={parameterPath:["options","queryRequest"],mapper:BS},H4={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},rv={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},sv={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},nv={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"}}},ov={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},z4={parameterPath:["options","tags"],mapper:kp},$s={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},yi={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},$4={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},av={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},cv={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},mc={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},hc={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},fc={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},Ty={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lv={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},vy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},Py={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},ky={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},V4={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Iu={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},Y4={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},Bu={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},J4={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},uv={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},W4={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},j4={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},K4={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},X4={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Z4={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},Av={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},dv={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},Dy={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"}}},eW={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},pv={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},tW={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},mv={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},hv={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},rW={parameterPath:"blocks",mapper:CS},fv={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},sW={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var Ly=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},nbe)}getProperties(e){return this.client.sendOperationRequest({options:e},ibe)}getStatistics(e){return this.client.sendOperationRequest({options:e},obe)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},abe)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},cbe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},lbe)}submitBatch(e,r,s,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:s,options:n},ube)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Abe)}},oa=ps(hs,!0),nbe={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:wS},default:{bodyMapper:R,headersMapper:bS}},requestBody:A4,queryParameters:[Dp,Hs,v],urlParameters:[T],headerParameters:[ni,Gs,P,k],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:oa},ibe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:vp,headersMapper:QS},default:{bodyMapper:R,headersMapper:xS}},queryParameters:[Dp,Hs,v],urlParameters:[T],headerParameters:[P,k,H],isXML:!0,serializer:oa},obe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:mS,headersMapper:NS},default:{bodyMapper:R,headersMapper:SS}},queryParameters:[Dp,v,d4],urlParameters:[T],headerParameters:[P,k,H],isXML:!0,serializer:oa},abe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:hS,headersMapper:RS},default:{bodyMapper:R,headersMapper:TS}},queryParameters:[v,_p,Lp,ii,oi,p4],urlParameters:[T],headerParameters:[P,k,H],isXML:!0,serializer:oa},cbe={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:gS,headersMapper:vS},default:{bodyMapper:R,headersMapper:PS}},requestBody:m4,queryParameters:[Dp,v,h4],urlParameters:[T],headerParameters:[ni,Gs,P,k],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:oa},lbe={path:"/",httpMethod:"GET",responses:{200:{headersMapper:kS},default:{bodyMapper:R,headersMapper:DS}},queryParameters:[Hs,v,Cu],urlParameters:[T],headerParameters:[P,k,H],isXML:!0,serializer:oa},ube={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:_S},default:{bodyMapper:R,headersMapper:LS}},requestBody:dy,queryParameters:[v,py],urlParameters:[T],headerParameters:[Gs,P,k,Gt,my],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:oa},Abe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Pp,headersMapper:MS},default:{bodyMapper:R,headersMapper:OS}},queryParameters:[v,ii,oi,hy,fy],urlParameters:[T],headerParameters:[P,k,H],isXML:!0,serializer:oa};var My=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},dbe)}getProperties(e){return this.client.sendOperationRequest({options:e},pbe)}delete(e){return this.client.sendOperationRequest({options:e},mbe)}setMetadata(e){return this.client.sendOperationRequest({options:e},hbe)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},fbe)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},gbe)}restore(e){return this.client.sendOperationRequest({options:e},Ebe)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},ybe)}submitBatch(e,r,s,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:s,options:n},Cbe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Ibe)}acquireLease(e){return this.client.sendOperationRequest({options:e},Bbe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},wbe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},bbe)}breakLease(e){return this.client.sendOperationRequest({options:e},Qbe)}changeLease(e,r,s){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:s},xbe)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},Nbe)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},Sbe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Rbe)}},zt=ps(hs,!0),dbe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:FS},default:{bodyMapper:R,headersMapper:US}},queryParameters:[v,Ht],urlParameters:[T],headerParameters:[P,k,H,cr,jT,f4,g4],isXML:!0,serializer:zt},pbe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:qS},default:{bodyMapper:R,headersMapper:GS}},queryParameters:[v,Ht],urlParameters:[T],headerParameters:[P,k,H,Ae],isXML:!0,serializer:zt},mbe={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:HS},default:{bodyMapper:R,headersMapper:zS}},queryParameters:[v,Ht],urlParameters:[T],headerParameters:[P,k,H,Ae,ae,ce],isXML:!0,serializer:zt},hbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:$S},default:{bodyMapper:R,headersMapper:VS}},queryParameters:[v,Ht,gy],urlParameters:[T],headerParameters:[P,k,H,cr,Ae,ae],isXML:!0,serializer:zt},fbe={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:YS},default:{bodyMapper:R,headersMapper:JS}},queryParameters:[v,Ht,KT],urlParameters:[T],headerParameters:[P,k,H,Ae],isXML:!0,serializer:zt},gbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:WS},default:{bodyMapper:R,headersMapper:jS}},requestBody:E4,queryParameters:[v,Ht,KT],urlParameters:[T],headerParameters:[ni,Gs,P,k,jT,Ae,ae,ce],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:zt},Ebe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:KS},default:{bodyMapper:R,headersMapper:XS}},queryParameters:[v,Ht,Ey],urlParameters:[T],headerParameters:[P,k,H,y4,C4],isXML:!0,serializer:zt},ybe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:ZS},default:{bodyMapper:R,headersMapper:eR}},queryParameters:[v,Ht,I4],urlParameters:[T],headerParameters:[P,k,H,B4,w4],isXML:!0,serializer:zt},Cbe={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:tR},default:{bodyMapper:R,headersMapper:rR}},requestBody:dy,queryParameters:[v,py,Ht],urlParameters:[T],headerParameters:[Gs,P,k,Gt,my],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:zt},Ibe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Pp,headersMapper:sR},default:{bodyMapper:R,headersMapper:nR}},queryParameters:[v,ii,oi,hy,fy,Ht],urlParameters:[T],headerParameters:[P,k,H],isXML:!0,serializer:zt},Bbe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:iR},default:{bodyMapper:R,headersMapper:oR}},queryParameters:[v,Ht,zs],urlParameters:[T],headerParameters:[P,k,H,ae,ce,yy,Cy,Iy],isXML:!0,serializer:zt},wbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:aR},default:{bodyMapper:R,headersMapper:cR}},queryParameters:[v,Ht,zs],urlParameters:[T],headerParameters:[P,k,H,ae,ce,By,ia],isXML:!0,serializer:zt},bbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:lR},default:{bodyMapper:R,headersMapper:uR}},queryParameters:[v,Ht,zs],urlParameters:[T],headerParameters:[P,k,H,ae,ce,ia,wy],isXML:!0,serializer:zt},Qbe={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:AR},default:{bodyMapper:R,headersMapper:dR}},queryParameters:[v,Ht,zs],urlParameters:[T],headerParameters:[P,k,H,ae,ce,by,Qy],isXML:!0,serializer:zt},xbe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:pR},default:{bodyMapper:R,headersMapper:mR}},queryParameters:[v,Ht,zs],urlParameters:[T],headerParameters:[P,k,H,ae,ce,ia,xy,Ny],isXML:!0,serializer:zt},Nbe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:ES,headersMapper:hR},default:{bodyMapper:R,headersMapper:fR}},queryParameters:[v,_p,Lp,ii,oi,Ht,XT,ZT],urlParameters:[T],headerParameters:[P,k,H],isXML:!0,serializer:zt},Sbe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:yS,headersMapper:gR},default:{bodyMapper:R,headersMapper:ER}},queryParameters:[v,_p,Lp,ii,oi,Ht,XT,ZT,b4],urlParameters:[T],headerParameters:[P,k,H],isXML:!0,serializer:zt},Rbe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:yR},default:{bodyMapper:R,headersMapper:CR}},queryParameters:[Hs,v,Cu],urlParameters:[T],headerParameters:[P,k,H],isXML:!0,serializer:zt};var Oy=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},Tbe)}getProperties(e){return this.client.sendOperationRequest({options:e},vbe)}delete(e){return this.client.sendOperationRequest({options:e},Pbe)}undelete(e){return this.client.sendOperationRequest({options:e},kbe)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},Dbe)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},_be)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Lbe)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Mbe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},Obe)}setMetadata(e){return this.client.sendOperationRequest({options:e},Fbe)}acquireLease(e){return this.client.sendOperationRequest({options:e},Ube)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},qbe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Gbe)}changeLease(e,r,s){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:s},Hbe)}breakLease(e){return this.client.sendOperationRequest({options:e},zbe)}createSnapshot(e){return this.client.sendOperationRequest({options:e},$be)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},Vbe)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},Ybe)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},Jbe)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},Wbe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},jbe)}query(e){return this.client.sendOperationRequest({options:e},Kbe)}getTags(e){return this.client.sendOperationRequest({options:e},Xbe)}setTags(e){return this.client.sendOperationRequest({options:e},Zbe)}},Je=ps(hs,!0),Tbe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ly},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ly},default:{bodyMapper:R,headersMapper:IR}},queryParameters:[v,Br,ai],urlParameters:[T],headerParameters:[P,k,H,Ae,ae,ce,dc,Q4,x4,st,nt,it,Ie,Be,fe],isXML:!0,serializer:Je},vbe={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:BR},default:{bodyMapper:R,headersMapper:wR}},queryParameters:[v,Br,ai],urlParameters:[T],headerParameters:[P,k,H,Ae,ae,ce,st,nt,it,Ie,Be,fe],isXML:!0,serializer:Je},Pbe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:bR},default:{bodyMapper:R,headersMapper:QR}},queryParameters:[v,Br,ai,S4],urlParameters:[T],headerParameters:[P,k,H,Ae,ae,ce,Ie,Be,fe,N4],isXML:!0,serializer:Je},kbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:xR},default:{bodyMapper:R,headersMapper:NR}},queryParameters:[v,Ey],urlParameters:[T],headerParameters:[P,k,H],isXML:!0,serializer:Je},Dbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:SR},default:{bodyMapper:R,headersMapper:RR}},queryParameters:[v,R4],urlParameters:[T],headerParameters:[P,k,H,T4,v4],isXML:!0,serializer:Je},_be={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:TR},default:{bodyMapper:R,headersMapper:vR}},queryParameters:[Hs,v],urlParameters:[T],headerParameters:[P,k,H,Ae,ae,ce,Ie,Be,fe,ci,li,ui,Ai,di,pi],isXML:!0,serializer:Je},Lbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:PR},default:{bodyMapper:R,headersMapper:kR}},queryParameters:[v,Br,ai,ev],urlParameters:[T],headerParameters:[P,k,H,ce,Cn,In],isXML:!0,serializer:Je},Mbe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:DR},default:{bodyMapper:R,headersMapper:_R}},queryParameters:[v,Br,ai,ev],urlParameters:[T],headerParameters:[P,k,H],isXML:!0,serializer:Je},Obe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:LR},default:{bodyMapper:R,headersMapper:MR}},queryParameters:[v,Br,ai,P4],urlParameters:[T],headerParameters:[P,k,H,k4],isXML:!0,serializer:Je},Fbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:OR},default:{bodyMapper:R,headersMapper:FR}},queryParameters:[v,gy],urlParameters:[T],headerParameters:[P,k,H,cr,Ae,ae,ce,st,nt,it,Ie,Be,fe,Nt],isXML:!0,serializer:Je},Ube={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:UR},default:{bodyMapper:R,headersMapper:qR}},queryParameters:[v,zs],urlParameters:[T],headerParameters:[P,k,H,ae,ce,yy,Cy,Iy,Ie,Be,fe],isXML:!0,serializer:Je},qbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:GR},default:{bodyMapper:R,headersMapper:HR}},queryParameters:[v,zs],urlParameters:[T],headerParameters:[P,k,H,ae,ce,By,ia,Ie,Be,fe],isXML:!0,serializer:Je},Gbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:zR},default:{bodyMapper:R,headersMapper:$R}},queryParameters:[v,zs],urlParameters:[T],headerParameters:[P,k,H,ae,ce,ia,wy,Ie,Be,fe],isXML:!0,serializer:Je},Hbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:VR},default:{bodyMapper:R,headersMapper:YR}},queryParameters:[v,zs],urlParameters:[T],headerParameters:[P,k,H,ae,ce,ia,xy,Ny,Ie,Be,fe],isXML:!0,serializer:Je},zbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:JR},default:{bodyMapper:R,headersMapper:WR}},queryParameters:[v,zs],urlParameters:[T],headerParameters:[P,k,H,ae,ce,by,Qy,Ie,Be,fe],isXML:!0,serializer:Je},$be={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:jR},default:{bodyMapper:R,headersMapper:KR}},queryParameters:[v,D4],urlParameters:[T],headerParameters:[P,k,H,cr,Ae,ae,ce,st,nt,it,Ie,Be,fe,Nt],isXML:!0,serializer:Je},Vbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:XR},default:{bodyMapper:R,headersMapper:ZR}},queryParameters:[v],urlParameters:[T],headerParameters:[P,k,H,cr,Ae,ae,ce,Ie,Be,fe,Cn,In,oo,tv,mi,hi,fi,gi,Sy,pc,Bn,_4,Ei],isXML:!0,serializer:Je},Ybe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:eT},default:{bodyMapper:R,headersMapper:tT}},queryParameters:[v],urlParameters:[T],headerParameters:[P,k,H,cr,Ae,ae,ce,Ie,Be,fe,Cn,In,Nt,oo,mi,hi,fi,gi,pc,Bn,Ei,L4,ao,co,Ry,lo],isXML:!0,serializer:Je},Jbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:rT},default:{bodyMapper:R,headersMapper:sT}},queryParameters:[v,M4,F4],urlParameters:[T],headerParameters:[P,k,H,Ae,O4],isXML:!0,serializer:Je},Wbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:uy},202:{headersMapper:uy},default:{bodyMapper:R,headersMapper:nT}},queryParameters:[v,Br,ai,U4],urlParameters:[T],headerParameters:[P,k,H,Ae,fe,tv,q4],isXML:!0,serializer:Je},jbe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:iT},default:{bodyMapper:R,headersMapper:oT}},queryParameters:[Hs,v,Cu],urlParameters:[T],headerParameters:[P,k,H],isXML:!0,serializer:Je},Kbe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Ay},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Ay},default:{bodyMapper:R,headersMapper:aT}},requestBody:G4,queryParameters:[v,Br,H4],urlParameters:[T],headerParameters:[ni,Gs,P,k,Ae,ae,ce,st,nt,it,Ie,Be,fe],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Je},Xbe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:kp,headersMapper:cT},default:{bodyMapper:R,headersMapper:lT}},queryParameters:[v,Br,ai,rv],urlParameters:[T],headerParameters:[P,k,H,Ae,fe,sv,nv,iv,ov],isXML:!0,serializer:Je},Zbe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:uT},default:{bodyMapper:R,headersMapper:AT}},requestBody:z4,queryParameters:[v,ai,rv],urlParameters:[T],headerParameters:[ni,Gs,P,k,Ae,fe,sv,nv,iv,ov,$s,yi],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Je};var Fy=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},eQe)}uploadPages(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},tQe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},rQe)}uploadPagesFromURL(e,r,s,n,i){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:s,range:n,options:i},sQe)}getPageRanges(e){return this.client.sendOperationRequest({options:e},nQe)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},iQe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},oQe)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},aQe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},cQe)}},uo=ps(hs,!0),eQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:dT},default:{bodyMapper:R,headersMapper:pT}},queryParameters:[v],urlParameters:[T],headerParameters:[P,k,H,Gt,cr,Ae,ae,ce,st,nt,it,Ie,Be,fe,ci,li,ui,Ai,di,pi,Cn,In,Nt,oo,Bn,Ei,$4,av,cv],isXML:!0,serializer:uo},tQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:mT},default:{bodyMapper:R,headersMapper:hT}},requestBody:hc,queryParameters:[v,Ty],urlParameters:[T],headerParameters:[P,k,Gt,Ae,ae,ce,dc,st,nt,it,Ie,Be,fe,Nt,$s,yi,mc,fc,lv,vy,Py,ky],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:uo},rQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:fT},default:{bodyMapper:R,headersMapper:gT}},queryParameters:[v,Ty],urlParameters:[T],headerParameters:[P,k,H,Gt,Ae,ae,ce,dc,st,nt,it,Ie,Be,fe,Nt,vy,Py,ky,V4],isXML:!0,serializer:uo},sQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ET},default:{bodyMapper:R,headersMapper:yT}},queryParameters:[v,Ty],urlParameters:[T],headerParameters:[P,k,H,Gt,Ae,ae,ce,st,nt,it,Ie,Be,fe,Nt,mi,hi,fi,gi,ao,co,lo,lv,vy,Py,ky,Iu,Y4,Bu,J4],isXML:!0,serializer:uo},nQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:cy,headersMapper:CT},default:{bodyMapper:R,headersMapper:IT}},queryParameters:[v,ii,oi,Br,uv],urlParameters:[T],headerParameters:[P,k,H,Ae,ae,ce,dc,Ie,Be,fe],isXML:!0,serializer:uo},iQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:cy,headersMapper:BT},default:{bodyMapper:R,headersMapper:wT}},queryParameters:[v,ii,oi,Br,uv,W4],urlParameters:[T],headerParameters:[P,k,H,Ae,ae,ce,dc,Ie,Be,fe,j4],isXML:!0,serializer:uo},oQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:bT},default:{bodyMapper:R,headersMapper:QT}},queryParameters:[Hs,v],urlParameters:[T],headerParameters:[P,k,H,Ae,ae,ce,st,nt,it,Ie,Be,fe,Nt,av],isXML:!0,serializer:uo},aQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:xT},default:{bodyMapper:R,headersMapper:NT}},queryParameters:[Hs,v],urlParameters:[T],headerParameters:[P,k,H,Ae,ae,ce,Ie,Be,fe,cv,K4],isXML:!0,serializer:uo},cQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:ST},default:{bodyMapper:R,headersMapper:RT}},queryParameters:[v,X4],urlParameters:[T],headerParameters:[P,k,H,ae,ce,Ie,Be,fe,pc],isXML:!0,serializer:uo};var Uy=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},lQe)}appendBlock(e,r,s){return this.client.sendOperationRequest({contentLength:e,body:r,options:s},uQe)}appendBlockFromUrl(e,r,s){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:s},AQe)}seal(e){return this.client.sendOperationRequest({options:e},dQe)}},qy=ps(hs,!0),lQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:TT},default:{bodyMapper:R,headersMapper:vT}},queryParameters:[v],urlParameters:[T],headerParameters:[P,k,H,Gt,cr,Ae,ae,ce,st,nt,it,Ie,Be,fe,ci,li,ui,Ai,di,pi,Cn,In,Nt,Bn,Ei,Z4],isXML:!0,serializer:qy},uQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:PT},default:{bodyMapper:R,headersMapper:kT}},requestBody:hc,queryParameters:[v,Av],urlParameters:[T],headerParameters:[P,k,Gt,Ae,ae,ce,st,nt,it,Ie,Be,fe,Nt,$s,yi,mc,fc,dv,Dy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:qy},AQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:DT},default:{bodyMapper:R,headersMapper:_T}},queryParameters:[v,Av],urlParameters:[T],headerParameters:[P,k,H,Gt,Ae,ae,ce,st,nt,it,Ie,Be,fe,Nt,mi,hi,fi,gi,ao,co,lo,$s,Iu,Bu,dv,Dy,_y],isXML:!0,serializer:qy},dQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:LT},default:{bodyMapper:R,headersMapper:MT}},queryParameters:[v,eW],urlParameters:[T],headerParameters:[P,k,H,Ae,ae,ce,Ie,Be,Dy],isXML:!0,serializer:qy};var Gy=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},pQe)}putBlobFromUrl(e,r,s){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:s},mQe)}stageBlock(e,r,s,n){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:s,options:n},hQe)}stageBlockFromURL(e,r,s,n){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:s,options:n},fQe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},gQe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},EQe)}},bu=ps(hs,!0),pQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:OT},default:{bodyMapper:R,headersMapper:FT}},requestBody:hc,queryParameters:[v],urlParameters:[T],headerParameters:[P,k,Gt,cr,Ae,ae,ce,st,nt,it,Ie,Be,fe,ci,li,ui,Ai,di,pi,Cn,In,Nt,oo,Bn,Ei,$s,yi,mc,fc,pv],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:bu},mQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:UT},default:{bodyMapper:R,headersMapper:qT}},queryParameters:[v],urlParameters:[T],headerParameters:[P,k,H,Gt,cr,Ae,ae,ce,st,nt,it,Ie,Be,fe,ci,li,ui,Ai,di,pi,Nt,oo,mi,hi,fi,gi,Sy,pc,Bn,ao,co,Ry,lo,$s,pv,tW],isXML:!0,serializer:bu},hQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:GT},default:{bodyMapper:R,headersMapper:HT}},requestBody:hc,queryParameters:[v,mv,hv],urlParameters:[T],headerParameters:[P,k,Gt,Ae,st,nt,it,Nt,$s,yi,mc,fc],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:bu},fQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:zT},default:{bodyMapper:R,headersMapper:$T}},queryParameters:[v,mv,hv],urlParameters:[T],headerParameters:[P,k,H,Gt,Ae,st,nt,it,Nt,mi,hi,fi,gi,ao,co,lo,Iu,Bu,_y],isXML:!0,serializer:bu},gQe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:VT},default:{bodyMapper:R,headersMapper:YT}},requestBody:rW,queryParameters:[v,fv],urlParameters:[T],headerParameters:[ni,Gs,P,k,cr,Ae,ae,ce,st,nt,it,Ie,Be,fe,ci,li,ui,Ai,di,pi,Cn,In,Nt,oo,Bn,Ei,$s,yi],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:bu},EQe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:IS,headersMapper:JT},default:{bodyMapper:R,headersMapper:WT}},queryParameters:[v,Br,fv,sW],urlParameters:[T],headerParameters:[P,k,H,Ae,fe],isXML:!0,serializer:bu};var Mp=class extends gp{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 Ly(this),this.container=new My(this),this.blob=new Oy(this),this.pageBlob=new Fy(this),this.appendBlob=new Uy(this),this.blockBlob=new Gy(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var Op=class extends Mp{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 iW(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=CQe(r),e.pathname=r,e.toString()}o(iW,"escapeURLPath");function yQe(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(yQe,"getProxyUriFromDevConnString");function gc(t,e){let r=t.split(";");for(let s of r)if(s.trim().startsWith(e))return s.trim().match(e+"=(.*)")[1];return""}o(gc,"getValueInConnString");function Ec(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=yQe(t),t=e4);let r=gc(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=gc(t,"AccountName"),i=Buffer.from(gc(t,"AccountKey"),"base64"),!r){s=gc(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=gc(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=gc(t,"SharedAccessSignature"),n=gc(t,"AccountName");if(n||(n=Cv(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(Ec,"extractConnectionStringParts");function CQe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(CQe,"escape");function kt(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(kt,"appendToURLPath");function Qu(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(Qu,"setURLParameter");function gv(t,e){return new URL(t).searchParams.get(e)??void 0}o(gv,"getURLParameter");function oW(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(oW,"getURLScheme");function Fp(t,e){let r=new URL(t),s=r.search;return s?s+="&"+e:s=e,r.search=s,r.toString()}o(Fp,"appendToURLQuery");function Se(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(Se,"truncatedISO8061Date");function IQe(t){return Ne?Buffer.from(t).toString("base64"):btoa(t)}o(IQe,"base64encode");function Ev(t,e){t.length>42&&(t=t.slice(0,42));let i=t+BQe(e.toString(),48-t.length,"0");return IQe(i)}o(Ev,"generateBlockID");function BQe(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(BQe,"padStart");function yv(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(yv,"iEqual");function Cv(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:Hy(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(Cv,"getAccountNameFromUrl");function Hy(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&&i4.includes(t.port)}o(Hy,"isIpEndpointStyle");function aa(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(aa,"toBlobTagsString");function aW(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(aW,"toBlobTags");function zy(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(zy,"toTags");function Iv(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(Iv,"toQuerySerialization");function $y(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($y,"parseObjectReplicationRecord");function xu(t){return t?t.scheme+" "+t.value:void 0}o(xu,"httpAuthorizationToString");function*Bv(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 Up(t,e,r){return qp(t,e,r).sasQueryParameters}o(Up,"generateBlobSASQueryParameters");function qp(t,e,r){let s=t.version?t.version:oy,n=e instanceof rt?e:void 0,i;if(n===void 0&&r!==void 0&&(i=new ny(r,e)),n===void 0&&i===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(s>="2020-12-06")return n!==void 0?QQe(t,n):s>="2025-07-05"?RQe(t,i):SQe(t,i);if(s>="2018-11-09")return n!==void 0?bQe(t,n):s>="2020-02-10"?NQe(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(qp,"generateBlobSASQueryParametersInternal");function wQe(t,e){if(t=Cc(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=Ci.parse(t.permissions.toString()).toString():s=Ii.parse(t.permissions.toString()).toString());let n=[s||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",yc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?wn(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 bn(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 bQe(t,e){if(t=Cc(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=Ci.parse(t.permissions.toString()).toString():n=Ii.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",yc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?wn(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 bn(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(bQe,"generateBlobSASQueryParameters20181109");function QQe(t,e){if(t=Cc(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=Ci.parse(t.permissions.toString()).toString():n=Ii.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",yc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?wn(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 bn(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(QQe,"generateBlobSASQueryParameters20201206");function xQe(t,e){if(t=Cc(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=Ci.parse(t.permissions.toString()).toString():n=Ii.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",yc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Se(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Se(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?wn(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 bn(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 NQe(t,e){if(t=Cc(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=Ci.parse(t.permissions.toString()).toString():n=Ii.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",yc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Se(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Se(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?wn(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 bn(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(NQe,"generateBlobSASQueryParametersUDK20200210");function SQe(t,e){if(t=Cc(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=Ci.parse(t.permissions.toString()).toString():n=Ii.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",yc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Se(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Se(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?wn(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 bn(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(SQe,"generateBlobSASQueryParametersUDK20201206");function RQe(t,e){if(t=Cc(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=Ci.parse(t.permissions.toString()).toString():n=Ii.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Se(t.startsOn,!1):"",t.expiresOn?Se(t.expiresOn,!1):"",yc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Se(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Se(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?wn(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 bn(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(RQe,"generateBlobSASQueryParametersUDK20250705");function yc(t,e,r){let s=[`/blob/${t}/${e}`];return r&&s.push(`/${r}`),s.join("")}o(yc,"getCanonicalName");function Cc(t){let e=t.version?t.version:oy;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(Cc,"SASSignatureValuesSanityCheckAndAutofill");var Gp=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=uu()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==yn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==yn||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 $.withSpan("BlobLeaseClient-acquireLease",r,async s=>W(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!==yn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==yn||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 $.withSpan("BlobLeaseClient-changeLease",r,async s=>{let n=W(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!==yn||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==yn||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 $.withSpan("BlobLeaseClient-releaseLease",e,async r=>W(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!==yn||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==yn||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 $.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!==yn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==yn||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 $.withSpan("BlobLeaseClient-breakLease",r,async s=>{let n={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions};return W(await this._containerOrBlobOperation.breakLease(n))})}};var lW=require("node:stream");var Vy=class extends lW.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 As("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 Yy=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 Ne?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,s,n,i={}){this.originalResponse=e,this.blobDownloadStream=new Vy(this.originalResponse.readableStreamBody,r,s,n,i)}};var hW=require("node:stream");var wv=new Uint8Array([79,98,106,1]),uW="avro.codec",AW="avro.schema";var Xe=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}},Ic;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(Ic||(Ic={}));var $t;(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"})($t||($t={}));var Ao=class t{static{o(this,"AvroType")}static fromSchema(e){return typeof e=="string"?t.fromStringSchema(e):Array.isArray(e)?t.fromArraySchema(e):t.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case $t.NULL:case $t.BOOLEAN:case $t.INT:case $t.LONG:case $t.FLOAT:case $t.DOUBLE:case $t.BYTES:case $t.STRING:return new bv(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new xv(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case Ic.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 Sv(s,e.name);case Ic.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 Ic.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new Nv(t.fromSchema(e.values));case Ic.ARRAY:case Ic.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},bv=class extends Ao{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case $t.NULL:return Xe.readNull();case $t.BOOLEAN:return Xe.readBoolean(e,r);case $t.INT:return Xe.readInt(e,r);case $t.LONG:return Xe.readLong(e,r);case $t.FLOAT:return Xe.readFloat(e,r);case $t.DOUBLE:return Xe.readDouble(e,r);case $t.BYTES:return Xe.readBytes(e,r);case $t.STRING:return Xe.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},Qv=class extends Ao{static{o(this,"AvroEnumType")}_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let s=await Xe.readInt(e,r);return this._symbols[s]}},xv=class extends Ao{static{o(this,"AvroUnionType")}_types;constructor(e){super(),this._types=e}async read(e,r={}){let s=await Xe.readInt(e,r);return this._types[s].read(e,r)}},Nv=class extends Ao{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 Xe.readMap(e,s,r)}},Sv=class extends Ao{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 Rv(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 Xe.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!Rv(this._syncMarker,s))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await Xe.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await Xe.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};var zp=class{static{o(this,"AvroReadable")}};var mW=require("buffer");var pW=new As("Reading from the avro stream was aborted."),$p=class extends zp{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?mW.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 Jy=class extends hW.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 Hp(new $p(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 Wy=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 Ne?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new Jy(this.originalResponse.readableStreamBody,r)}};var Tv;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(Tv||(Tv={}));var vv;(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"})(vv||(vv={}));function ca(t){if(t!==void 0)return t}o(ca,"toAccessTier");function Dt(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=Z3)}o(Dt,"ensureCpkIfSpecified");var Pv;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(Pv||(Pv={}));function jy(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(jy,"rangeResponseFromModel");var e8=w(ZW(),1);var oC=class extends e8.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=Wp({...l,blobClient:r,copySource:s,startCopyFromURLOptions:c});super(u),typeof i=="function"&&this.onProgress(i),this.intervalInMs=n}delay(){return ap(this.intervalInMs)}},xxe=o(async function(e={}){let r=this.state,{copyId:s}=r;return r.isCompleted?Wp(r):s?(await r.blobClient.abortCopyFromURL(s,{abortSignal:e.abortSignal}),r.isCancelled=!0,Wp(r)):(r.isCancelled=!0,Wp(r))},"cancel"),Nxe=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 Wp(r)},"update"),Sxe=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function Wp(t){return{state:{...t},cancel:xxe,toString:Sxe,update:Nxe}}o(Wp,"makeBlobBeginCopyFromURLPollOperation");function Gr(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(Gr,"rangeToString");var t8=require("events");var jp;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(jp||(jp={}));var Kp=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=jp.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new t8.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=jp.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(s8,"streamToBuffer");async function n8(t,e){return new Promise((r,s)=>{let n=aC.default.createWriteStream(e);t.on("error",i=>{s(i)}),n.on("error",i=>{s(i)}),n.on("close",r),t.pipe(n)})}o(n8,"readStreamToLocalFile");var i8=r8.default.promisify(aC.default.stat),o8=aC.default.createReadStream;var po=class t extends Nu{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(io(r))a=e,i=r;else if(Ne&&r instanceof rt||r instanceof Ye||ds(r))a=e,n=s,i=Et(r,n);else if(!r&&typeof r!="string")a=e,s&&typeof s!="string"&&(n=s),i=Et(new Ye,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=Ec(e);if(u.kind==="AccountConnString")if(Ne){let A=new rt(u.accountName,u.accountKey);a=kt(kt(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=Zo(u.proxyUri)),i=Et(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=kt(kt(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=Et(new Ye,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=gv(this.url,no.Parameters.SNAPSHOT),this._versionId=gv(this.url,no.Parameters.VERSIONID)}withSnapshot(e){return new t(Qu(this.url,no.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(Qu(this.url,no.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new lC(this.url,this.pipeline)}getBlockBlobClient(){return new Tu(this.url,this.pipeline)}getPageBlobClient(){return new uC(this.url,this.pipeline)}async download(e=0,r,s={}){return s.conditions=s.conditions||{},s.conditions=s.conditions||{},Dt(s.customerProvidedKey,this.isHttps),$.withSpan("BlobClient-download",s,async n=>{let i=W(await this.blobContext.download({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},requestOptions:{onDownloadProgress:Ne?void 0:s.onProgress},range:e===0&&!r?void 0:Gr({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:$y(i.objectReplicationRules)};if(!Ne)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 Yy(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:Gr({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 $.withSpan("BlobClient-exists",e,async r=>{try{return Dt(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===s4||s.details.errorCode===n4))return!0;throw s}})}async getProperties(e={}){return e.conditions=e.conditions||{},Dt(e.customerProvidedKey,this.isHttps),$.withSpan("BlobClient-getProperties",e,async r=>{let s=W(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:$y(s.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},$.withSpan("BlobClient-delete",e,async r=>W(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 $.withSpan("BlobClient-deleteIfExists",e,async r=>{try{let s=W(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 $.withSpan("BlobClient-undelete",e,async r=>W(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},Dt(r.customerProvidedKey,this.isHttps),$.withSpan("BlobClient-setHTTPHeaders",r,async s=>W(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||{},Dt(r.customerProvidedKey,this.isHttps),$.withSpan("BlobClient-setMetadata",r,async s=>W(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 $.withSpan("BlobClient-setTags",r,async s=>W(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},blobModifiedAccessConditions:r.conditions,tracingOptions:s.tracingOptions,tags:aW(e)})))}async getTags(e={}){return $.withSpan("BlobClient-getTags",e,async r=>{let s=W(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:zy({blobTagSet:s.blobTagSet})||{}}})}getBlobLeaseClient(e){return new Gp(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},Dt(e.customerProvidedKey,this.isHttps),$.withSpan("BlobClient-createSnapshot",e,async r=>W(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 oC({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 $.withSpan("BlobClient-abortCopyFromURL",r,async s=>W(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||{},$.withSpan("BlobClient-syncCopyFromURL",r,async s=>W(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:xu(r.sourceAuthorization),tier:ca(r.tier),blobTagsString:aa(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 $.withSpan("BlobClient-setAccessTier",r,async s=>W(await this.blobContext.setTier(ca(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={}),$.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 n8(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(Hy(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 $.withSpan("BlobClient-startCopyFromURL",r,async s=>(r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},W(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:ca(r.tier),blobTagsString:aa(r.tags),sealBlob:r.sealBlob,tracingOptions:s.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof rt))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let s=Up({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r(Fp(this.url,s))})}generateSasStringToSign(e){if(!(this.credential instanceof rt))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return qp({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=Up({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();s(Fp(this.url,n))})}generateUserDelegationSasStringToSign(e,r){return qp({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return $.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>W(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return $.withSpan("BlobClient-setImmutabilityPolicy",r,async s=>W(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:s.tracingOptions})))}async setLegalHold(e,r={}){return $.withSpan("BlobClient-setLegalHold",r,async s=>W(await this.blobContext.setLegalHold(e,{tracingOptions:s.tracingOptions})))}async getAccountInfo(e={}){return $.withSpan("BlobClient-getAccountInfo",e,async r=>W(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}},lC=class t extends po{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,s,n){let i,a;if(n=n||{},io(r))a=e,i=r;else if(Ne&&r instanceof rt||r instanceof Ye||ds(r))a=e,n=s,i=Et(r,n);else if(!r&&typeof r!="string")a=e,i=Et(new Ye,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=Ec(e);if(u.kind==="AccountConnString")if(Ne){let A=new rt(u.accountName,u.accountKey);a=kt(kt(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=Zo(u.proxyUri)),i=Et(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=kt(kt(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=Et(new Ye,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(Qu(this.url,no.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},Dt(e.customerProvidedKey,this.isHttps),$.withSpan("AppendBlobClient-create",e,async r=>W(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:aa(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:AS};return $.withSpan("AppendBlobClient-createIfNotExists",e,async s=>{try{let n=W(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||{},$.withSpan("AppendBlobClient-seal",e,async r=>W(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||{},Dt(s.customerProvidedKey,this.isHttps),$.withSpan("AppendBlobClient-appendBlock",s,async n=>W(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||{},Dt(n.customerProvidedKey,this.isHttps),$.withSpan("AppendBlobClient-appendBlockFromURL",n,async i=>W(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:n.abortSignal,sourceRange:Gr({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:xu(n.sourceAuthorization),cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:i.tracingOptions})))}},Tu=class t extends po{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,s,n){let i,a;if(n=n||{},io(r))a=e,i=r;else if(Ne&&r instanceof rt||r instanceof Ye||ds(r))a=e,n=s,i=Et(r,n);else if(!r&&typeof r!="string")a=e,s&&typeof s!="string"&&(n=s),i=Et(new Ye,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=Ec(e);if(u.kind==="AccountConnString")if(Ne){let A=new rt(u.accountName,u.accountKey);a=kt(kt(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=Zo(u.proxyUri)),i=Et(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=kt(kt(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=Et(new Ye,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(Qu(this.url,no.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(Dt(r.customerProvidedKey,this.isHttps),!Ne)throw new Error("This operation currently is only supported in Node.js.");return $.withSpan("BlockBlobClient-query",r,async s=>{let n=W(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:Iv(r.inputTextConfiguration),outputSerialization:Iv(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:s.tracingOptions}));return new Wy(n,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,s={}){return s.conditions=s.conditions||{},Dt(s.customerProvidedKey,this.isHttps),$.withSpan("BlockBlobClient-upload",s,async n=>W(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:ca(s.tier),blobTagsString:aa(s.tags),tracingOptions:n.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},Dt(r.customerProvidedKey,this.isHttps),$.withSpan("BlockBlobClient-syncUploadFromURL",r,async s=>W(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:xu(r.sourceAuthorization),tier:ca(r.tier),blobTagsString:aa(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:s.tracingOptions})))}async stageBlock(e,r,s,n={}){return Dt(n.customerProvidedKey,this.isHttps),$.withSpan("BlockBlobClient-stageBlock",n,async i=>W(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 Dt(i.customerProvidedKey,this.isHttps),$.withSpan("BlockBlobClient-stageBlockFromURL",i,async a=>W(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:Gr({offset:s,count:n}),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:xu(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},Dt(r.customerProvidedKey,this.isHttps),$.withSpan("BlockBlobClient-commitBlockList",r,async s=>W(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:ca(r.tier),blobTagsString:aa(r.tags),tracingOptions:s.tracingOptions})))}async getBlockList(e,r={}){return $.withSpan("BlockBlobClient-getBlockList",r,async s=>{let n=W(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 $.withSpan("BlockBlobClient-uploadData",r,async s=>{if(Ne){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 $.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={}),$.withSpan("BlockBlobClient-uploadSeekableInternal",s,async a=>{if(r<=i)return W(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=uu(),A=0,d=new Kp(s.concurrency);for(let p=0;p{let m=Ev(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 $.withSpan("BlockBlobClient-uploadFile",r,async s=>{let n=(await i8(e)).size;return this.uploadSeekableInternal((i,a)=>()=>o8(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={}),$.withSpan("BlockBlobClient-uploadStream",n,async i=>{let a=0,c=uu(),l=0,u=[];return await new XE(e,r,s,async(d,p)=>{let m=Ev(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(),W(await this.commitBlockList(u,{...n,tracingOptions:i.tracingOptions}))})}},uC=class t extends po{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,s,n){let i,a;if(n=n||{},io(r))a=e,i=r;else if(Ne&&r instanceof rt||r instanceof Ye||ds(r))a=e,n=s,i=Et(r,n);else if(!r&&typeof r!="string")a=e,i=Et(new Ye,n);else if(r&&typeof r=="string"&&s&&typeof s=="string"){let c=r,l=s,u=Ec(e);if(u.kind==="AccountConnString")if(Ne){let A=new rt(u.accountName,u.accountKey);a=kt(kt(u.url,encodeURIComponent(c)),encodeURIComponent(l)),n.proxyOptions||(n.proxyOptions=Zo(u.proxyUri)),i=Et(A,n)}else throw new Error("Account connection string is only supported in Node.js environment");else if(u.kind==="SASConnString")a=kt(kt(u.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+u.accountSas,i=Et(new Ye,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(Qu(this.url,no.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},Dt(r.customerProvidedKey,this.isHttps),$.withSpan("PageBlobClient-create",r,async s=>W(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:ca(r.tier),blobTagsString:aa(r.tags),tracingOptions:s.tracingOptions})))}async createIfNotExists(e,r={}){return $.withSpan("PageBlobClient-createIfNotExists",r,async s=>{try{let n={ifNoneMatch:AS},i=W(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||{},Dt(n.customerProvidedKey,this.isHttps),$.withSpan("PageBlobClient-uploadPages",n,async i=>W(await this.pageBlobContext.uploadPages(s,e,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},range:Gr({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||{},Dt(i.customerProvidedKey,this.isHttps),$.withSpan("PageBlobClient-uploadPagesFromURL",i,async a=>W(await this.pageBlobContext.uploadPagesFromURL(e,Gr({offset:r,count:n}),0,Gr({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:xu(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async clearPages(e=0,r,s={}){return s.conditions=s.conditions||{},$.withSpan("PageBlobClient-clearPages",s,async n=>W(await this.pageBlobContext.clearPages(0,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},range:Gr({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||{},$.withSpan("PageBlobClient-getPageRanges",s,async n=>{let i=W(await this.pageBlobContext.getPageRanges({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},range:Gr({offset:e,count:r}),tracingOptions:n.tracingOptions}));return jy(i)})}async listPageRangesSegment(e=0,r,s,n={}){return $.withSpan("PageBlobClient-getPageRangesSegment",n,async i=>W(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:Gr({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*Bv(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||{},$.withSpan("PageBlobClient-getPageRangesDiff",n,async i=>{let a=W(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevsnapshot:s,range:Gr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return jy(a)})}async listPageRangesDiffSegment(e,r,s,n,i={}){return $.withSpan("PageBlobClient-getPageRangesDiffSegment",i,async a=>W(await this.pageBlobContext.getPageRangesDiff({abortSignal:i?.abortSignal,leaseAccessConditions:i?.conditions,modifiedAccessConditions:{...i?.conditions,ifTags:i?.conditions?.tagConditions},prevsnapshot:s,range:Gr({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*Bv(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||{},$.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",n,async i=>{let a=W(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevSnapshotUrl:s,range:Gr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return jy(a)})}async resize(e,r={}){return r.conditions=r.conditions||{},$.withSpan("PageBlobClient-resize",r,async s=>W(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||{},$.withSpan("PageBlobClient-updateSequenceNumber",s,async n=>W(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 $.withSpan("PageBlobClient-startCopyIncremental",r,async s=>W(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions})))}};var a8;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(a8||(a8={}));var c8;(function(t){t.AES256="AES256"})(c8||(c8={}));var AC=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};var vu=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"}};vu.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var bc=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"}};bc.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var Xp=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var Fxe=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())})},rP=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);S(`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 l8(t,e,r){return Fxe(this,void 0,void 0,function*(){var s;let n=new po(t),i=n.getBlockBlobClient(),a=new rP((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 AC(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw et(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(l8,"uploadCacheArchiveSDK");var A8=w(require("buffer"),1),Bi=w(require("fs"),1),d8=w(require("stream"),1),p8=w(require("util"),1);var dC=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 pC(t){return t?t>=200&&t<300:!1}o(pC,"isSuccessStatusCode");function Uxe(t){return t?t>=500:!0}o(Uxe,"isServerErrorStatusCode");function qxe(t){return t?[tt.BadGateway,tt.ServiceUnavailable,tt.GatewayTimeout].includes(t):!1}o(qxe,"isRetryableStatusCode");function Gxe(t){return dC(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(Gxe,"sleep");function u8(t,e,r){return dC(this,arguments,void 0,function*(s,n,i,a=Mg,c=Og,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),!Uxe(p)))return d;if(p&&(m=qxe(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 Gxe(c),A++}throw Error(`${s} failed: ${u}`)})}o(u8,"retry");function Zp(t,e){return dC(this,arguments,void 0,function*(r,s,n=Mg,i=Og){return yield u8(r,s,a=>a.statusCode,n,i,a=>{if(a instanceof Wn)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(Zp,"retryTypedResponse");function Pu(t,e){return dC(this,arguments,void 0,function*(r,s,n=Mg,i=Og){return yield u8(r,s,a=>a.message.statusCode,n,i)})}o(Pu,"retryHttpClientResponse");var Vs=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 Hxe(t,e){return Vs(this,void 0,void 0,function*(){yield p8.promisify(d8.pipeline)(t.message,e)})}o(Hxe,"pipeResponseToStream");var mC=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);S(`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 hC(t,e){return Vs(this,void 0,void 0,function*(){let r=Bi.createWriteStream(e),s=new Zi("actions/cache"),n=yield Pu("downloadCache",()=>Vs(this,void 0,void 0,function*(){return s.get(t)}));n.message.socket.setTimeout(S0,()=>{n.message.destroy(),b(`Aborting download, socket timed out after ${S0} ms`)}),yield Hxe(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(hC,"downloadCacheHttpClient");function m8(t,e,r){return Vs(this,void 0,void 0,function*(){var s;let n=yield Bi.promises.open(e,"w"),i=new Zi("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield Pu("downloadCacheMetadata",()=>Vs(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;yVs(this,void 0,void 0,function*(){return yield zxe(i,t,y,I)}),"promiseGetter")})}u.reverse();let d=0,p=0,m=new mC(l);m.startDisplayTimer();let h=m.onProgress(),g=[],C,E=o(()=>Vs(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(m8,"downloadCacheHttpClientConcurrent");function zxe(t,e,r,s){return Vs(this,void 0,void 0,function*(){let i=0;for(;;)try{let c=yield f8(3e4,$xe(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(zxe,"downloadSegmentRetry");function $xe(t,e,r,s){return Vs(this,void 0,void 0,function*(){let n=yield Pu("downloadCachePart",()=>Vs(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($xe,"downloadSegment");function h8(t,e,r){return Vs(this,void 0,void 0,function*(){var s;let n=new Tu(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 hC(t,e);else{let c=Math.min(134217728,A8.constants.MAX_LENGTH),l=new mC(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 f8(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(h8,"downloadCacheStorageSDK");var f8=o((t,e)=>Vs(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 sP(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(sP,"getUploadOptions");function g8(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(g8,"getDownloadOptions");function nP(){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(nP,"isGhes");function em(){return nP()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(em,"getCacheServiceVersion");function fC(){let t=em();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(fC,"getCacheServiceURL");var I8=w(C8(),1);function gC(){return`@actions/cache-${I8.version}`}o(gC,"getUserAgentString");var Hr=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 tm(t){let e=fC();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(tm,"getCacheApiUrl");function Jxe(t,e){return`${t};api-version=${e}`}o(Jxe,"createAcceptHeader");function Wxe(){return{headers:{Accept:Jxe("application/json","6.0-preview.1")}}}o(Wxe,"getRequestOptions");function iP(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new ru(t);return new Zi(gC(),[e],Wxe())}o(iP,"createHttpClient");function b8(t,e,r){return Hr(this,void 0,void 0,function*(){let s=iP(),n=tu(e,r?.compressionMethod,r?.enableCrossOsArchive),i=`cache?keys=${encodeURIComponent(t.join(","))}&version=${n}`,a=yield Zp("getCacheEntry",()=>Hr(this,void 0,void 0,function*(){return s.getJson(tm(i))}));if(a.statusCode===204)return Ya()&&(yield jxe(t[0],s,n)),null;if(!pC(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 ql(l),b("Cache Result:"),b(JSON.stringify(c)),c})}o(b8,"getCacheEntry");function jxe(t,e,r){return Hr(this,void 0,void 0,function*(){let s=`caches?key=${encodeURIComponent(t)}`,n=yield Zp("listCache",()=>Hr(this,void 0,void 0,function*(){return e.getJson(tm(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(jxe,"printCachesListForDiagnostics");function oP(t,e,r){return Hr(this,void 0,void 0,function*(){let s=new w8.URL(t),n=g8(r);s.hostname.endsWith(".blob.core.windows.net")?n.useAzureSdk?yield h8(t,e,n):n.concurrentBlobDownloads?yield m8(t,e,n):yield hC(t,e):yield hC(t,e)})}o(oP,"downloadCache");function Q8(t,e,r){return Hr(this,void 0,void 0,function*(){let s=iP(),n=tu(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:n,cacheSize:r?.cacheSize};return yield Zp("reserveCache",()=>Hr(this,void 0,void 0,function*(){return s.postJson(tm("caches"),i)}))})}o(Q8,"reserveCache");function B8(t,e){return`bytes ${t}-${e}/*`}o(B8,"getContentRange");function Kxe(t,e,r,s,n){return Hr(this,void 0,void 0,function*(){b(`Uploading chunk of size ${n-s+1} bytes at offset ${s} with content range: ${B8(s,n)}`);let i={"Content-Type":"application/octet-stream","Content-Range":B8(s,n)},a=yield Pu(`uploadChunk (start: ${s}, end: ${n})`,()=>Hr(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!pC(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(Kxe,"uploadChunk");function Xxe(t,e,r,s){return Hr(this,void 0,void 0,function*(){let n=Jn(r),i=tm(`caches/${e.toString()}`),a=ku.openSync(r,"r"),c=sP(s),l=P0("uploadConcurrency",c.uploadConcurrency),u=P0("uploadChunkSize",c.uploadChunkSize),A=[...new Array(l).keys()];b("Awaiting all uploads");let d=0;try{yield Promise.all(A.map(()=>Hr(this,void 0,void 0,function*(){for(;dku.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{ku.closeSync(a)}})}o(Xxe,"uploadFile");function Zxe(t,e,r){return Hr(this,void 0,void 0,function*(){let s={size:r};return yield Zp("commitCache",()=>Hr(this,void 0,void 0,function*(){return t.postJson(tm(`caches/${e.toString()}`),s)}))})}o(Zxe,"commitCache");function aP(t,e,r,s){return Hr(this,void 0,void 0,function*(){if(sP(s).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield l8(r,e,s)}else{let i=iP();b("Upload cache"),yield Xxe(i,t,e,s),b("Commiting cache");let a=Jn(e);S(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield Zxe(i,t,a);if(!pC(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);S("Cache saved successfully")}})}o(aP,"saveCache");var y5=w(d5(),1),It=w(Ct(),1),gs=w(Ct(),1),Rc=w(Ct(),1),Tc=w(Ct(),1),vc=w(Ct(),1);var tk=w(Ct(),1),rk=w(Ct(),1),f5=w(Ct(),1),g5=w(Ct(),1),E5=w(Ct(),1);var XP=w(Ct(),1),ZP=w(Ct(),1),p5=w(Ct(),1),m5=w(Ct(),1),h5=w(Ct(),1);var ek=class extends h5.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,m5.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.posrI,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,g5.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,f5.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posNi,"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,Tc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Rc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posNi,"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,Tc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Rc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posNi,"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,Tc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Rc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.posAk.fromJson(n,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=dk.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(n=>pk.fromJson(n,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=mk.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(n=>hk.fromJson(n,{ignoreUnknownFields:!0}))}};function C5(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(ql(r),ql(encodeURIComponent(r)))}catch(e){b(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(C5,"maskSigUrl");function I5(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"&&C5(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&C5(t.signed_download_url)}o(I5,"maskSecretUrls");var nI=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())})},fk=class{static{o(this,"CacheServiceClient")}constructor(e,r,s,n){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let i=sY();this.baseUrl=fC(),r&&(this.maxAttempts=r),s&&(this.baseRetryIntervalMilliseconds=s),n&&(this.retryMultiplier=n),this.httpClient=new Zi(e,[new ru(i)])}request(e,r,s,n){return nI(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(()=>nI(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 nI(this,void 0,void 0,function*(){let r=0,s="",n="";for(;r0&&et(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}throw new Xp(`Rate limited: ${s}`)}}catch(c){if(c instanceof SyntaxError&&b(`Raw Body: ${n}`),c instanceof bc||c instanceof Xp)throw c;if(vu.isNetworkErrorCode(c?.code))throw new vu(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);S(`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?[tt.BadGateway,tt.GatewayTimeout,tt.InternalServerError,tt.ServiceUnavailable].includes(e):!1}sleep(e){return nI(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 gk(t){let e=new fk(gC(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new sI(e)}o(gk,"internalCacheTwirpClient");var iI=require("fs"),Es=w(require("path"),1);var ho=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())})},da=process.platform==="win32";function lSe(){return ho(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield rY(),e=XV;if(t)return{path:t,type:as.GNU};if((0,iI.existsSync)(e))return{path:e,type:as.BSD};break}case"darwin":{let t=yield mt("gtar",!1);return t?{path:t,type:as.GNU}:{path:yield mt("tar",!0),type:as.BSD}}default:break}return{path:yield mt("tar",!0),type:as.GNU}})}o(lSe,"getTarPath");function uSe(t,e,r){return ho(this,arguments,void 0,function*(s,n,i,a=""){let c=[`"${s.path}"`],l=Wo(n),u="cache.tar",A=B5(),d=s.type===as.BSD&&n!==Er.Gzip&&da;switch(i){case"create":c.push("--posix","-cf",d?u:l.replace(new RegExp(`\\${Es.sep}`,"g"),"/"),"--exclude",d?u:l.replace(new RegExp(`\\${Es.sep}`,"g"),"/"),"-P","-C",A.replace(new RegExp(`\\${Es.sep}`,"g"),"/"),"--files-from",T0);break;case"extract":c.push("-xf",d?u:a.replace(new RegExp(`\\${Es.sep}`,"g"),"/"),"-P","-C",A.replace(new RegExp(`\\${Es.sep}`,"g"),"/"));break;case"list":c.push("-tf",d?u:a.replace(new RegExp(`\\${Es.sep}`,"g"),"/"),"-P");break}if(s.type===as.GNU)switch(process.platform){case"win32":c.push("--force-local");break;case"darwin":c.push("--delay-directory-restore");break}return c})}o(uSe,"getTarArgs");function Ek(t,e){return ho(this,arguments,void 0,function*(r,s,n=""){let i,a=yield lSe(),c=yield uSe(a,r,s,n),l=s!=="create"?yield ASe(a,r,n):yield dSe(a,r),u=a.type===as.BSD&&r!==Er.Gzip&&da;return u&&s!=="create"?i=[[...l].join(" "),[...c].join(" ")]:i=[[...c].join(" "),[...l].join(" ")],u?i:[i.join(" ")]})}o(Ek,"getCommands");function B5(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}o(B5,"getWorkingDirectory");function ASe(t,e,r){return ho(this,void 0,void 0,function*(){let s=t.type===as.BSD&&e!==Er.Gzip&&da;switch(e){case Er.Zstd:return s?["zstd -d --long=30 --force -o",Wd,r.replace(new RegExp(`\\${Es.sep}`,"g"),"/")]:["--use-compress-program",da?'"zstd -d --long=30"':"unzstd --long=30"];case Er.ZstdWithoutLong:return s?["zstd -d --force -o",Wd,r.replace(new RegExp(`\\${Es.sep}`,"g"),"/")]:["--use-compress-program",da?'"zstd -d"':"unzstd"];default:return["-z"]}})}o(ASe,"getDecompressionProgram");function dSe(t,e){return ho(this,void 0,void 0,function*(){let r=Wo(e),s=t.type===as.BSD&&e!==Er.Gzip&&da;switch(e){case Er.Zstd:return s?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${Es.sep}`,"g"),"/"),Wd]:["--use-compress-program",da?'"zstd -T0 --long=30"':"zstdmt --long=30"];case Er.ZstdWithoutLong:return s?["zstd -T0 --force -o",r.replace(new RegExp(`\\${Es.sep}`,"g"),"/"),Wd]:["--use-compress-program",da?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(dSe,"getCompressionProgram");function yk(t,e){return ho(this,void 0,void 0,function*(){for(let r of t)try{yield is(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(yk,"execCommands");function fm(t,e){return ho(this,void 0,void 0,function*(){let r=yield Ek(e,"list",t);yield yk(r)})}o(fm,"listTar");function Ck(t,e){return ho(this,void 0,void 0,function*(){let r=B5();yield Ts(r);let s=yield Ek(e,"extract",t);yield yk(s)})}o(Ck,"extractTar");function Ik(t,e,r){return ho(this,void 0,void 0,function*(){(0,iI.writeFileSync)(Es.join(t,T0),e.join(` `));let s=yield Ek(r,"create");yield yk(s,t)})}o(Ik,"createTar");var ju=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())})},Nn=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},Wu=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},oI=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function w5(t){if(!t||t.length===0)throw new Nn("Path Validation Error: At least one directory or file path is required")}o(w5,"checkPaths");function Bk(t){if(t.length>512)throw new Nn(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Nn(`Key Validation Error: ${t} cannot contain commas.`)}o(Bk,"checkKey");function wk(){return em()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(wk,"isFeatureAvailable");function b5(t,e,r,s){return ju(this,arguments,void 0,function*(n,i,a,c,l=!1){let u=em();return b(`Cache service version: ${u}`),w5(n),u==="v2"?yield mSe(n,i,a,c,l):yield pSe(n,i,a,c,l)})}o(b5,"restoreCache");function pSe(t,e,r,s){return ju(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 Nn("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of u)Bk(p);let A=yield Xd(),d="";try{let p=yield b8(u,n,{compressionMethod:A,enableCrossOsArchive:l});if(!p?.archiveLocation)return;if(c?.lookupOnly)return S("Lookup only - skipping download"),p.cacheKey;d=gm.join(yield jd(),Wo(A)),b(`Archive Path: ${d}`),yield oP(p.archiveLocation,d,c),Ya()&&(yield fm(d,A));let m=Jn(d);return S(`Cache Size: ~${Math.round(m/(1024*1024))} MB (${m} B)`),yield Ck(d,A),S("Cache restored successfully"),p.cacheKey}catch(p){let m=p;if(m.name===Nn.name)throw p;m instanceof Wn&&typeof m.statusCode=="number"&&m.statusCode>=500?zl(`Failed to restore: ${p.message}`):et(`Failed to restore: ${p.message}`)}finally{try{yield Kd(d)}catch(p){b(`Failed to delete archive: ${p}`)}}})}o(pSe,"restoreCacheV1");function mSe(t,e,r,s){return ju(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 Nn("Key Validation Error: Keys are limited to a maximum of 10.");for(let d of u)Bk(d);let A="";try{let d=gk(),p=yield Xd(),m={key:i,restoreKeys:a,version:tu(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?S(`Cache hit for restore-key: ${h.matchedKey}`):S(`Cache hit for: ${h.matchedKey}`),c?.lookupOnly)return S("Lookup only - skipping download"),h.matchedKey;A=gm.join(yield jd(),Wo(p)),b(`Archive path: ${A}`),b(`Starting download of archive to: ${A}`),yield oP(h.signedDownloadUrl,A,c);let C=Jn(A);return S(`Cache Size: ~${Math.round(C/(1024*1024))} MB (${C} B)`),Ya()&&(yield fm(A,p)),yield Ck(A,p),S("Cache restored successfully"),h.matchedKey}catch(d){let p=d;if(p.name===Nn.name)throw d;p instanceof Wn&&typeof p.statusCode=="number"&&p.statusCode>=500?zl(`Failed to restore: ${d.message}`):et(`Failed to restore: ${d.message}`)}finally{try{A&&(yield Kd(A))}catch(d){b(`Failed to delete archive: ${d}`)}}})}o(mSe,"restoreCacheV2");function bk(t,e,r){return ju(this,arguments,void 0,function*(s,n,i,a=!1){let c=em();return b(`Cache service version: ${c}`),w5(s),Bk(n),c==="v2"?yield fSe(s,n,i,a):yield hSe(s,n,i,a)})}o(bk,"saveCache");function hSe(t,e,r){return ju(this,arguments,void 0,function*(s,n,i,a=!1){var c,l,u,A,d;let p=yield Xd(),m=-1,h=yield v0(s);if(b("Cache Paths:"),b(`${JSON.stringify(h)}`),h.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 g=yield jd(),C=gm.join(g,Wo(p));b(`Archive Path: ${C}`);try{yield Ik(g,h,p),Ya()&&(yield fm(C,p));let E=10*1024*1024*1024,y=Jn(C);if(b(`File Size: ${y}`),y>E&&!nP())throw new Error(`Cache size of ~${Math.round(y/(1024*1024))} MB (${y} B) is over the 10GB limit, not saving cache.`);b("Reserving Cache");let I=yield Q8(n,s,{compressionMethod:p,enableCrossOsArchive:a,cacheSize:y});if(!((c=I?.result)===null||c===void 0)&&c.cacheId)m=(l=I?.result)===null||l===void 0?void 0:l.cacheId;else throw I?.statusCode===400?new Error((A=(u=I?.error)===null||u===void 0?void 0:u.message)!==null&&A!==void 0?A:`Cache size of ~${Math.round(y/(1024*1024))} MB (${y} B) is over the data cap limit, not saving cache.`):new Wu(`Unable to reserve cache with key ${n}, another job may be creating this cache. More details: ${(d=I?.error)===null||d===void 0?void 0:d.message}`);b(`Saving Cache (ID: ${m})`),yield aP(m,C,"",i)}catch(E){let y=E;if(y.name===Nn.name)throw E;y.name===Wu.name?S(`Failed to save: ${y.message}`):y instanceof Wn&&typeof y.statusCode=="number"&&y.statusCode>=500?zl(`Failed to save: ${y.message}`):et(`Failed to save: ${y.message}`)}finally{try{yield Kd(C)}catch(E){b(`Failed to delete archive: ${E}`)}}return m})}o(hSe,"saveCacheV1");function fSe(t,e,r){return ju(this,arguments,void 0,function*(s,n,i,a=!1){i=Object.assign(Object.assign({},i),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let c=yield Xd(),l=gk(),u=-1,A=yield v0(s);if(b("Cache Paths:"),b(`${JSON.stringify(A)}`),A.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let d=yield jd(),p=gm.join(d,Wo(c));b(`Archive Path: ${p}`);try{yield Ik(d,A,c),Ya()&&(yield fm(p,c));let m=Jn(p);b(`File Size: ${m}`),i.archiveSizeBytes=m,b("Reserving Cache");let h=tu(s,c,a),g={key:n,version:h},C;try{let I=yield l.CreateCacheEntry(g);if(!I.ok)throw I.message&&et(`Cache reservation failed: ${I.message}`),new Error(I.message||"Response was not ok");C=I.signedUploadUrl}catch(I){throw b(`Failed to reserve cache: ${I}`),new Wu(`Unable to reserve cache with key ${n}, another job may be creating this cache.`)}b(`Attempting to upload cache located at: ${p}`),yield aP(u,p,C,i);let E={key:n,version:h,sizeBytes:`${m}`},y=yield l.FinalizeCacheEntryUpload(E);if(b(`FinalizeCacheEntryUploadResponse: ${y.ok}`),!y.ok)throw y.message?new oI(y.message):new Error(`Unable to finalize cache with key ${n}, another job may be finalizing this cache.`);u=parseInt(y.entryId)}catch(m){let h=m;if(h.name===Nn.name)throw m;h.name===Wu.name?S(`Failed to save: ${h.message}`):h.name===oI.name?et(h.message):h instanceof Wn&&typeof h.statusCode=="number"&&h.statusCode>=500?zl(`Failed to save: ${h.message}`):et(`Failed to save: ${h.message}`)}finally{try{yield Kd(p)}catch(m){b(`Failed to delete archive: ${m}`)}}return u})}o(fSe,"saveCacheV2");var Q5=w(require("util"),1);var Si=class t{static{o(this,"Cache")}opts;ghaCacheKey;ghaNoCache;cacheDir;cachePath;static POST_CACHE_KEY="postCache";constructor(e){this.opts=e,this.ghaCacheKey=Q5.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform()),this.ghaNoCache=this.opts.ghaNoCache,this.cacheDir=xk.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform()),this.cachePath=xk.default.join(this.cacheDir,this.opts.cacheFile),aI.default.existsSync(this.cacheDir)||aI.default.mkdirSync(this.cacheDir,{recursive:!0})}async save(e,r){b(`Cache.save ${e}`);let s=this.copyToCache(e),n=await kd(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform());if(b(`Cache.save cached to hosted tool cache ${n}`),!this.ghaNoCache&&wk())if(r)try{b(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`),await bk([this.cacheDir],this.ghaCacheKey)}catch(i){et(`Failed to save cache: ${i}`)}else b(`Cache.save sending ${this.ghaCacheKey} to post state`),$l(t.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}));return s}async find(){try{let e=xz(this.opts.htcName,this.opts.htcVersion,this.platform());if(e)return S(`Restored from hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`);if(!this.ghaNoCache&&wk()){if(b("GitHub Actions cache feature available"),await b5([this.cacheDir],this.ghaCacheKey))return S(`Restored ${this.ghaCacheKey} from GitHub Actions cache`),e=await kd(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform()),S(`Cached to hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`)}else this.ghaNoCache?S("GitHub Actions cache disabled"):S("GitHub Actions cache feature not available")}catch(e){et(`Failed to restore cache: ${e}`)}return""}static async post(){let e=QG(t.POST_CACHE_KEY);if(!e)return S("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{S(`Caching ${r.key} to GitHub Actions cache`),await bk([r.dir],r.key)}catch(s){et(`Failed to save cache: ${s}`)}return r}copyToCache(e){return S(`Copying ${e} to ${this.cachePath}`),aI.default.copyFileSync(e,this.cachePath),this.cachePath}platform(){let e=process.config.variables.arm_version;return`${Qk.default.platform()}-${Qk.default.arch()}${e?"v"+e:""}`}};var x5=!!process.env.STATE_isPost;x5||$l("isPost","true");async function N5(t,e){if(x5)e&&await e(),await he("Post cache",async()=>{await Si.post()});else try{await t()}catch(r){bG(r.message)}}o(N5,"run");var zX=w(require("child_process"),1),Ot=w(require("fs"),1),$X=w(require("fs/promises"),1),Jr=w(require("os"),1),Rt=w(require("path"),1),VX=w(D5(),1),wB=w(yD(),1);var QD=w(require("fs"),1),G9=w(require("os"),1),H9=w(require("path"),1),z9=w(q9(),1);var Yr=class t{static{o(this,"Context")}static _tmpDir=QD.default.mkdtempSync(H9.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||G9.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return QD.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return z9.tmpNameSync(e)}};var TD=w(require("fs"),1),X9=w(require("os"),1),km=w(require("path"),1);var de=class{static{o(this,"Exec")}static async exec(e,r,s){return b(`Exec.exec: ${e} ${r?.join(" ")}`),is(e,r,s)}static async getExecOutput(e,r,s){return b(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),Bd(e,r,s)}};var RD=w(require("crypto"),1),j9=w(require("fs"),1),Pm=w(require("path"),1),K9=w(yD(),1);var we=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 $9=o(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var YI=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.slice(0,this.length).toString(e):Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}toJSON(){return this.toString("utf8")}reset(){this.length=0}},ND=xD;var kve=12,Dve=13,_ve=10,Lve=32,Mve=9,V9=o(function(t){return{bomSkipped:!1,bufBytesStart:0,castField:t.cast_function,commenting:!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 ND(20),firstLineToHeaders:t.cast_first_line_to_header,needMoreDataSize:Math.max(t.comment!==null?t.comment.length:0,...t.delimiter.map(e=>e.length),t.quote!==null?t.quote.length:0),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new ND(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:t.record_delimiter.length===0?0:Math.max(...t.record_delimiter.map(e=>e.length)),trimChars:[Buffer.from(" ",t.encoding)[0],Buffer.from(" ",t.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:[Buffer.from(Buffer.from([Dve],"utf8").toString(),t.encoding),Buffer.from(Buffer.from([_ve],"utf8").toString(),t.encoding),Buffer.from(Buffer.from([kve],"utf8").toString(),t.encoding),Buffer.from(Buffer.from([Lve],"utf8").toString(),t.encoding),Buffer.from(Buffer.from([Mve],"utf8").toString(),t.encoding)]}},"init_state");var Y9=o(function(t){return t.replace(/([A-Z])/g,function(e,r){return"_"+r.toLowerCase()})},"underscore");var SD=o(function(t){let e={};for(let s in t)e[Y9(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 we("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 we("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 we("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 we("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=YI(e.columns);else if(e.columns===void 0||e.columns===null||e.columns===!1)e.columns=!1;else throw new we("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 we("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 we("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 we("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 we("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(e.comment_no_infix)}`],e);let r=JSON.stringify(e.delimiter);if(Array.isArray(e.delimiter)||(e.delimiter=[e.delimiter]),e.delimiter.length===0)throw new we("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],e);if(e.delimiter=e.delimiter.map(function(s){if(s==null||s===!1)return Buffer.from(",",e.encoding);if(typeof s=="string"&&(s=Buffer.from(s,e.encoding)),!Buffer.isBuffer(s)||s.length===0)throw new we("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 we("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 we("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 we("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 we("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 we("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 we("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 we("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 J9=o(function(t){return t.every(e=>e==null||e.toString&&e.toString().trim()==="")},"isRecordEmpty"),Ove=13,Fve=10,lA={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},W9=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=SD(t);return{info:e,original_options:t,options:r,state:V9(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 py){this.state.stop=!0,a();return}this.state.quoting===!1&&D.length===0&&this.__autoDiscoverRecordDelimiter(V,G)&&(D=this.options.record_delimiter);let ye=V[G];if(m===!0&&be.append(ye),(ye===Ove||ye===Fve)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(B!==null&&this.state.quoting===!0&&this.__isEscape(V,G,ye)&&G+B.lengthlA[Tn].equals(this.state.field.toString())?Tn:!1).filter(Boolean)[0],Wr=this.__error(new we("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(ut.column)} at line ${ut.lines}, value is ${JSON.stringify(this.state.field.toString(u))}`,ki?`(${ki} bom)`:void 0],this.options,ut,{field:this.state.field}));if(Wr!==void 0)return Wr}}else{this.state.quoting=!0,G+=N.length-1;continue}if(this.state.quoting===!1){let ut=this.__isRecordDelimiter(ye,V,G);if(ut!==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)>=A){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),G+=ut-1;continue}if(C===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,G+=ut-1;continue}this.info.bytes=this.state.bufBytesStart+G;let Tn=this.__onField();if(Tn!==void 0)return Tn;this.info.bytes=this.state.bufBytesStart+G+ut;let ya=this.__onRecord(i);if(ya!==void 0)return ya;if(E!==-1&&this.info.records>=E){this.state.stop=!0,a();return}}this.state.commenting=!1,G+=ut-1;continue}if(this.state.commenting)continue;if(I!==null&&(l===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(I,V,G,ye)!==0){this.state.commenting=!0;continue}let ki=this.__isDelimiter(V,G,ye);if(ki!==0){this.info.bytes=this.state.bufBytesStart+G;let Wr=this.__onField();if(Wr!==void 0)return Wr;G+=ki-1;continue}}}if(this.state.commenting===!1&&p!==0&&this.state.record_length+this.state.field.length>p)return this.__error(new we("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${p}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let bt=d===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(V,G),Ke=g===!1||this.state.wasQuoting===!1;if(bt===!0&&Ke===!0)this.state.field.append(ye);else{if(g===!0&&!this.__isCharTrimable(V,G))return this.__error(new we("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()));bt===!1&&(G+=this.__isCharTrimable(V,G)-1);continue}}if(n===!0)if(this.state.quoting===!0){let ye=this.__error(new we("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(ye!==void 0)return ye}else if(this.state.wasQuoting===!0||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+G;let ye=this.__onField();if(ye!==void 0)return ye;let bt=this.__onRecord(i);if(bt!==void 0)return bt}else this.state.wasRowDelimiter===!0?this.info.empty_lines++:this.state.commenting===!0&&this.info.comment_lines++;else this.state.bufBytesStart+=G,this.state.previousBuf=V.slice(G);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&&J9(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 we("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 we("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&&J9(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{let{timchars:l}=this.state;e:for(let u=0;u=0},"__isFloat"),__compareBytes:o(function(s,n,i,a){if(s[0]!==a)return 0;let c=s.length;for(let l=1;lthis.state.record.length?s[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}},"__infoField")}},"transform");var JI=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?{}:[],s=W9(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 Qr=class t{static{o(this,"Util")}static getInputList(e,r){return this.getList(mn(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let s=[];if(e=="")return s;let n=JI(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=mn(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let s=0;ssetTimeout(r,e*1e3))}static hash(e){return RD.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 RD.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,s){return K9.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=Pm.default.resolve(e);return Pm.default.resolve(r).startsWith(s.endsWith(Pm.default.sep)?s:`${s}${Pm.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||km.default.join(X9.default.homedir(),".docker")}static configFile(){let e=km.default.join(t.configDir,"config.json");if(TD.default.existsSync(e))return JSON.parse(TD.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await mt("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 Si({htcName:n,htcVersion:i,baseCacheDir:km.default.join(t.configDir,".cache","images",n),cacheFile:"image.tar"}),c;r&&(c=await a.find(),c&&(S(`Image found from cache in ${c}`),await t.getExecOutput(["load","-i",c],{ignoreReturnCode:!0}).then(u=>{u.stderr.length>0&&u.exitCode!=0&&et(`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)et(`Failed to pull image, using one from cache: ${A}`);else throw new Error(A)}}),r&&l){let u=km.default.join(Yr.tmpDir(),`${Qr.hash(e)}.tar`);await t.getExecOutput(["save","-o",u,e],{ignoreReturnCode:!0}).then(async A=>{if(A.stderr.length>0&&A.exitCode!=0)et(`Failed to save image: ${A.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);else{let d=await a.save(u);S(`Image cached to ${d}`)}})}}};var WI=require("fs"),Z9=require("os");var uA=class{static{o(this,"Context")}constructor(){var e,r,s;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,WI.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,WI.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${Z9.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 DD=w(n6(),1),i6=w(Ul(),1);var Xve=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 o6(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(o6,"getAuthString");function a6(t){return new DD.HttpClient().getAgent(t)}o(a6,"getProxyAgent");function Zve(t){return new DD.HttpClient().getAgentDispatcher(t)}o(Zve,"getProxyAgentDispatcher");function c6(t){let e=Zve(t);return o((s,n)=>Xve(this,void 0,void 0,function*(){return(0,i6.fetch)(s,Object.assign(Object.assign({},n),{dispatcher:e}))}),"proxyFetch")}o(c6,"getProxyFetch");function l6(){return process.env.GITHUB_API_URL||"https://api.github.com"}o(l6,"getApiBaseUrl");function _D(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(_D,"getUserAgentWithOrchestrationId");function ha(){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(ha,"getUserAgent");function rB(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)=>rB.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(rB,"register");function u6(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(u6,"addHook");function A6(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(A6,"removeHook");var d6=Function.bind,p6=d6.bind(d6);function m6(t,e,r){let s=p6(A6,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]=p6(u6,null).apply(null,i)})}o(m6,"bindApi");function tPe(){let t=Symbol("Singular"),e={registry:{}},r=rB.bind(null,e,t);return m6(r,e,t),r}o(tPe,"Singular");function rPe(){let t={registry:{}},e=rB.bind(null,t);return m6(e,t),e}o(rPe,"Collection");var h6={Singular:tPe,Collection:rPe};var sPe="0.0.0-development",nPe=`octokit-endpoint.js/${sPe} ${ha()}`,iPe={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":nPe},mediaType:{format:""}};function oPe(t){return t?Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}):{}}o(oPe,"lowercaseKeys");function aPe(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(aPe,"isPlainObject");function E6(t,e){let r=Object.assign({},t);return Object.keys(e).forEach(s=>{aPe(e[s])?s in t?r[s]=E6(t[s],e[s]):Object.assign(r,{[s]:e[s]}):Object.assign(r,{[s]:e[s]})}),r}o(E6,"mergeDeep");function f6(t){for(let e in t)t[e]===void 0&&delete t[e];return t}o(f6,"removeUndefinedProperties");function MD(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=oPe(r.headers),f6(r),f6(r.headers);let s=E6(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(MD,"merge");function cPe(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(cPe,"addQueryParameters");var lPe=/\{[^{}}]+\}/g;function uPe(t){return t.replace(/(?:^\W+)|(?:(?r.concat(s),[]):[]}o(APe,"extractUrlVariableNames");function g6(t,e){let r={__proto__:null};for(let s of Object.keys(t))e.indexOf(s)===-1&&(r[s]=t[s]);return r}o(g6,"omit");function y6(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(y6,"encodeReserved");function dA(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}o(dA,"encodeUnreserved");function _m(t,e,r){return e=t==="+"||t==="#"?y6(e):dA(e),r?dA(r)+"="+e:e}o(_m,"encodeValue");function AA(t){return t!=null}o(AA,"isDefined");function LD(t){return t===";"||t==="&"||t==="?"}o(LD,"isKeyOperator");function dPe(t,e,r,s){var n=t[r],i=[];if(AA(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(_m(e,n,LD(e)?r:""));else if(s==="*")Array.isArray(n)?n.filter(AA).forEach(function(a){i.push(_m(e,a,LD(e)?r:""))}):Object.keys(n).forEach(function(a){AA(n[a])&&i.push(_m(e,n[a],a))});else{let a=[];Array.isArray(n)?n.filter(AA).forEach(function(c){a.push(_m(e,c))}):Object.keys(n).forEach(function(c){AA(n[c])&&(a.push(dA(c)),a.push(_m(e,n[c].toString())))}),LD(e)?i.push(dA(r)+"="+a.join(",")):a.length!==0&&i.push(a.join(","))}else e===";"?AA(n)&&i.push(dA(r)):n===""&&(e==="&"||e==="?")?i.push(dA(r)+"="):n===""&&i.push("");return i}o(dPe,"getValues");function pPe(t){return{expand:mPe.bind(null,t)}}o(pPe,"parseUrl");function mPe(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 y6(i)}),t==="/"?t:t.replace(/\/$/,"")}o(mPe,"expand");function C6(t){let e=t.method.toUpperCase(),r=(t.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),s=Object.assign({},t.headers),n,i=g6(t,["method","baseUrl","url","headers","request","mediaType"]),a=APe(r);r=pPe(r).expand(i),/^http/.test(r)||(r=t.baseUrl+r);let c=Object.keys(t).filter(A=>a.includes(A)).concat("baseUrl"),l=g6(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=cPe(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(C6,"parse");function hPe(t,e,r){return C6(MD(t,e,r))}o(hPe,"endpointWithDefaults");function I6(t,e){let r=MD(t,e),s=hPe.bind(null,r);return Object.assign(s,{DEFAULTS:r,defaults:I6.bind(null,r),merge:MD.bind(null,r),parse:C6})}o(I6,"withDefaults");var B6=I6(null,iPe);var k6=w(x6(),1);var S6=/^-?\d+n+$/,OD=JSON.stringify,N6=JSON.parse,R6=o((t,e,r)=>{if("rawJSON"in JSON)return OD(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 OD(t,e,r);let s=/([\[:])?"(-?\d+)n"($|([\\n]|\s)*(\s|[\\n])*[,\}\]])/g,n=/([\[:])?("-?\d+n+)n("$|"([\\n]|\s)*(\s|[\\n])*[,\}\]])/g;return OD(t,(l,u)=>typeof u=="string"&&!!u.match(S6)||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"),fPe=o(()=>JSON.parse("1",(t,e,r)=>!!r&&r.source==="1"),"isContextSourceSupported"),gPe=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 N6(t,e);if(fPe())return gPe(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(S6)?u.substring(0,u.length-1):typeof e!="function"?u:e(l,u,A))},"JSONParse");var Uc=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 P6(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=CPe(t.body)||Array.isArray(t.body)?R6(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 Uc(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 Uc(a.statusText,c,{response:A,request:t})}if(c===304)throw A.data=await FD(a),new Uc("Not modified",c,{response:A,request:t});if(c>=400)throw A.data=await FD(a),new Uc(BPe(A.data),c,{response:A,request:t});return A.data=s?await FD(a):a.body,A}o(P6,"fetchWrapper");async function FD(t){let e=t.headers.get("content-type");if(!e)return t.text().catch(v6);let r=(0,k6.safeParse)(e);if(IPe(r)){let s="";try{return s=await t.text(),T6(s)}catch{return s}}else return r.type.startsWith("text/")||r.parameters.charset?.toLowerCase()==="utf-8"?t.text().catch(v6):t.arrayBuffer().catch(()=>new ArrayBuffer(0))}o(FD,"getResponseData");function IPe(t){return t.type==="application/json"||t.type==="application/scim+json"}o(IPe,"isJSONResponse");function BPe(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(BPe,"toErrorMessage");function UD(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 P6(r.parse(a));let c=o((l,u)=>P6(r.parse(r.merge(l,u))),"request2");return Object.assign(c,{endpoint:r,defaults:UD.bind(null,r)}),a.request.hook(c,a)},"newApi"),{endpoint:r,defaults:UD.bind(null,r)})}o(UD,"withDefaults");var Mm=UD(B6,yPe);var wPe="0.0.0-development";function bPe(t){return`Request failed due to following response errors: `+t.errors.map(e=>` - ${e.message}`).join(` `)}o(bPe,"_buildMessageForResponseErrors");var QPe=class extends Error{static{o(this,"GraphqlResponseError")}constructor(t,e,r){super(bPe(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},xPe=["method","baseUrl","url","headers","request","query","mediaType","operationName"],NPe=["query","method","url"],D6=/\/api\/v3\/?$/;function SPe(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(NPe.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)=>xPe.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 D6.test(i)&&(n.url=i.replace(D6,"/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 QPe(n,c,a.data)}return a.data.data})}o(SPe,"graphql");function qD(t,e){let r=t.defaults(e);return Object.assign(o((n,i)=>SPe(r,n,i),"newApi"),{defaults:qD.bind(null,r),endpoint:r.endpoint})}o(qD,"withDefaults");var Tlt=qD(Mm,{headers:{"user-agent":`octokit-graphql.js/${wPe} ${ha()}`},method:"POST",url:"/graphql"});function _6(t){return qD(t,{method:"POST",url:"/graphql"})}o(_6,"withCustomRequest");var GD="(?:[a-zA-Z0-9_-]+)",L6="\\.",M6=new RegExp(`^${GD}${L6}${GD}${L6}${GD}$`),RPe=M6.test.bind(M6);async function TPe(t){let e=RPe(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(TPe,"auth");function vPe(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}o(vPe,"withAuthorizationPrefix");async function PPe(t,e,r,s){let n=e.endpoint.merge(r,s);return n.headers.authorization=vPe(t),e(n)}o(PPe,"hook");var O6=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(TPe.bind(null,e),{hook:PPe.bind(null,e)})},"createTokenAuth2");var HD="7.0.6";var F6=o(()=>{},"noop"),kPe=console.warn.bind(console),DPe=console.error.bind(console);function _Pe(t={}){return typeof t.debug!="function"&&(t.debug=F6),typeof t.info!="function"&&(t.info=F6),typeof t.warn!="function"&&(t.warn=kPe),typeof t.error!="function"&&(t.error=DPe),t}o(_Pe,"createLogger");var U6=`octokit-core.js/${HD} ${ha()}`,oB=class{static{o(this,"Octokit")}static VERSION=HD;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 h6.Collection,s={baseUrl:Mm.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} ${U6}`:U6,e.baseUrl&&(s.baseUrl=e.baseUrl),e.previews&&(s.mediaType.previews=e.previews),e.timeZone&&(s.headers["time-zone"]=e.timeZone),this.request=Mm.defaults(s),this.graphql=_6(this.request).defaults(s),this.log=_Pe(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=O6(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=qPe(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:H6(t,e,r,s)})}o(H6,"gather");var rut=Object.assign(G6,{iterator:YD});function JD(t){return{paginate:Object.assign(G6.bind(null,t),{iterator:YD.bind(null,t)})}}o(JD,"paginateRest");JD.VERSION=UPe;var cut=new uA,WD=l6(),GPe={baseUrl:WD,request:{agent:a6(WD),fetch:c6(WD)}},z6=oB.plugin(VD,JD).defaults(GPe);function $6(t,e){let r=Object.assign({},e||{}),s=o6(t,r);s&&(r.auth=s);let n=_D(r.userAgent);return n&&(r.userAgent=n),r}o($6,"getOctokitOptions");var pA=new uA;function V6(t,e,...r){let s=z6.plugin(...r);return new s($6(t,e))}o(V6,"getOctokit");var Fm=w(require("http"),1),ZD=w(require("https"),1);function jD(t){let e=t.protocol==="https:";if(zPe(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 aB(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new aB(`http://${r}`)}else return}o(jD,"getProxyUrl");function zPe(t){if(!t.hostname)return!1;let e=t.hostname;if($Pe(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(zPe,"checkBypass");function $Pe(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($Pe,"isLoopbackAddress");var aB=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 fa=w(gA(),1),Y6=w(Ul(),1);var wt=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())})},en;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(en||(en={}));var Nr;(function(t){t.Accept="accept",t.ContentType="content-type"})(Nr||(Nr={}));var Io;(function(t){t.ApplicationJson="application/json"})(Io||(Io={}));var YPe=[en.MovedPermanently,en.ResourceMoved,en.SeeOther,en.TemporaryRedirect,en.PermanentRedirect],JPe=[en.BadGateway,en.ServiceUnavailable,en.GatewayTimeout],WPe=["OPTIONS","GET","DELETE","HEAD"],jPe=10,KPe=5,KD=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},XD=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return wt(this,void 0,void 0,function*(){return new Promise(e=>wt(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 wt(this,void 0,void 0,function*(){return new Promise(e=>wt(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 wt(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return wt(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return wt(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,s){return wt(this,void 0,void 0,function*(){return this.request("POST",e,r,s||{})})}patch(e,r,s){return wt(this,void 0,void 0,function*(){return this.request("PATCH",e,r,s||{})})}put(e,r,s){return wt(this,void 0,void 0,function*(){return this.request("PUT",e,r,s||{})})}head(e,r){return wt(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,s,n){return wt(this,void 0,void 0,function*(){return this.request(e,r,s,n)})}getJson(e){return wt(this,arguments,void 0,function*(r,s={}){s[Nr.Accept]=this._getExistingOrDefaultHeader(s,Nr.Accept,Io.ApplicationJson);let n=yield this.get(r,s);return this._processResponse(n,this.requestOptions)})}postJson(e,r){return wt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Nr.Accept]=this._getExistingOrDefaultHeader(i,Nr.Accept,Io.ApplicationJson),i[Nr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Io.ApplicationJson);let c=yield this.post(s,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return wt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Nr.Accept]=this._getExistingOrDefaultHeader(i,Nr.Accept,Io.ApplicationJson),i[Nr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Io.ApplicationJson);let c=yield this.put(s,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return wt(this,arguments,void 0,function*(s,n,i={}){let a=JSON.stringify(n,null,2);i[Nr.Accept]=this._getExistingOrDefaultHeader(i,Nr.Accept,Io.ApplicationJson),i[Nr.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 wt(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&&WPe.includes(e)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(a,s),u&&u.message&&u.message.statusCode===en.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&&YPe.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||!JPe.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 XD(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(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?ZD:Fm;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({},Om(this.requestOptions.headers),Om(e||{})):Om(e||{})}_getExistingOrDefaultHeader(e,r,s){let n;if(this.requestOptions&&this.requestOptions.headers){let a=Om(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=Om(this.requestOptions.headers)[Nr.ContentType];i&&(typeof i=="number"?s=String(i):Array.isArray(i)?s=i.join(", "):s=i)}let n=e[Nr.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(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||Fm.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?fa.httpsOverHttps:fa.httpsOverHttp:l=u?fa.httpOverHttps:fa.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new ZD.Agent(c):new Fm.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 Y6.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 wt(this,void 0,void 0,function*(){e=Math.min(jPe,e);let r=KPe*Math.pow(2,e);return new Promise(s=>setTimeout(()=>s(),r))})}_processResponse(e,r){return wt(this,void 0,void 0,function*(){return new Promise((s,n)=>wt(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===en.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 KD(A,i);d.result=a.result,n(d)}else s(a)}))})}},Om=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var Gc=class extends Error{static{o(this,"InvalidTokenError")}};Gc.prototype.name="InvalidTokenError";function ZPe(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(ZPe,"b64DecodeUnicode");function eke(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 ZPe(e)}catch{return atob(e)}}o(eke,"base64UrlDecode");function J6(t,e){if(typeof t!="string")throw new Gc("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 Gc(`Invalid token specified: missing part #${r+1}`);let n;try{n=eke(s)}catch(i){throw new Gc(`Invalid token specified: invalid base64 for part #${r+1} (${i.message})`)}try{return JSON.parse(n)}catch(i){throw new Gc(`Invalid token specified: invalid json for part #${r+1} (${i.message})`)}}o(J6,"jwtDecode");var ga=class t{static{o(this,"GitHub")}githubToken;octokit;constructor(e){this.githubToken=e?.token||process.env.GITHUB_TOKEN,this.octokit=V6(`${this.githubToken}`)}repoData(){return this.octokit.rest.repos.get({...pA.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 pA}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`${pA.repo.owner}/${pA.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:pA.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?J6(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})`}S(`${r.Scope}: ${s}`)})}catch(r){throw new Error(`Cannot parse GitHub Actions Runtime Token ACs: ${r.message}`)}}};var FX=w($m(),1);var IB=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=FX.satisfies(s,e)||/^[0-9a-f]{7}$/.exec(s)!==null;return b(`Regctl.versionSatisfies ${s} statisfies ${e}: ${n}`),n}};var UX=w($m(),1);var BB=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=UX.satisfies(s,e)||/^[0-9a-f]{7}$/.exec(s)!==null;return b(`Undock.versionSatisfies ${s} statisfies ${e}: ${n}`),n}};var C_=w(require("fs"),1);var qX=o(()=>GX("docker-setup-win.ps1",oLe),"setupDockerWinPs1"),I_=o(()=>GX("docker-service-logs.ps1",aLe),"dockerServiceLogsPs1");var GX=o((t,e,r)=>{let s=Yr.tmpName({template:`docker-asset-XXXXXX-${t}`,tmpdir:Yr.tmpDir()});return C_.default.writeFileSync(s,e),r&&C_.default.chmodSync(s,r),s},"get"),oLe=` [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!" `,aLe=` Get-WinEvent -ea SilentlyContinue \` -FilterHashtable @{ProviderName= "docker"; LogName = "application"} | Sort-Object @{Expression="TimeCreated";Descending=$false} | ForEach-Object {"$($_.TimeCreated.ToUniversalTime().ToString("o")) [$($_.LevelDisplayName)] $($_.Message)"} `,HX=` # 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/v0.12.0/undock_0.12.0_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 Vm=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 IB,this.undock=e.undock||new BB,this.githubToken=e.githubToken||process.env.GITHUB_TOKEN}get toolDir(){return this._toolDir||Yr.tmpDir()}async download(){let e,r,s=Jr.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,S(`Downloading Docker ${i} from ${this.source.channel} at download.docker.com`),e=await this.downloadSourceArchive("docker",this.source),this.rootless){S(`Downloading Docker rootless extras ${i} from ${this.source.channel} at download.docker.com`);let c=await this.downloadSourceArchive("docker-rootless-extras",this.source);Ot.default.readdirSync(c).forEach(l=>{let u=Rt.default.join(c,l),A=Rt.default.join(e,l);Ot.default.copyFileSync(u,A)})}break}}S("Fixing perms"),Ot.default.readdir(Rt.default.join(e),function(i,a){if(i)throw i;a.forEach(function(c,l){Qr.isDirectory(Rt.default.join(e,c))||Ot.default.chmodSync(Rt.default.join(e,c),"0755")})});let n=await kd(e,r,this._version.replace(/(0+)([1-9]+)/,"$2"));return Hl(n),S("Added Docker to PATH"),this._toolDir=n,n}async downloadSourceImage(e){let r=Rt.default.join(Yr.tmpDir(),"docker-install-image"),s=`dockereng/cli-bin:${this._version}`,n=`moby/moby-bin:${this._version}`;if(S(`Downloading Docker CLI from ${s}`),await this.undock.run({source:s,dist:r}),["win32","linux"].includes(e))S(`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){et(i),this.gitCommit="master"}b(`docker.Install.downloadSourceImage gitCommit: ${this.gitCommit}`)}else et(`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);S(`Downloading ${n}`);let i=await Wa(n);b(`docker.Install.downloadSourceArchive downloadPath: ${i}`);let a;return Jr.default.platform()=="win32"?a=await gg(i,a):a=await fg(i,a),Qr.isDirectory(Rt.default.join(a,e))&&(a=Rt.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=Jr.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: ${Jr.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=Rt.default.join(Jr.default.homedir(),".lima",this.limaInstanceName);await Ts(r);let s=`unix://${r}/docker.sock`;await t.limaInstalled()||await this.brewInstall("lima"),await he("Lima version",async()=>{await de.exec("lima",["--version"])}),await he("Creating lima config",async()=>{let a={};this.daemonConfig&&(a=JSON.parse(this.daemonConfig)),wB.default.registerHelper("stringify",function(u){return new wB.default.SafeString(JSON.stringify(u))});let c=e,l=wB.default.compile(HX)({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});S(`Writing lima config to ${Rt.default.join(r,"lima.yaml")}`),Ot.default.writeFileSync(Rt.default.join(r,"lima.yaml"),l),S(l)}),await t.qemuInstalled()||await this.brewInstall("qemu");let n=await t.qemuBin();await he("QEMU version",async()=>{await de.exec(n,["--version"])});let i=Object.assign({},process.env,{PATH:`${this.toolDir}:${process.env.PATH}`});return await he("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(),$X.default.readdir(r).then(l=>{l.filter(u=>Rt.default.extname(u)===".log").forEach(u=>{let A=Rt.default.join(r,u),d=Ot.default.readFileSync(A,{encoding:"utf8"}).trim();d.length>0&&S(`### ${A}: ${d}`)})}).catch(()=>{}),c}}),await he("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://${Rt.default.join(this.runDir,"docker.sock")}`;await Ts(this.runDir);let r=Rt.default.join(this.runDir,"daemon.json");await Ot.default.writeFileSync(r,"{}");let s,n="/etc/docker/daemon.json";if(Ot.default.existsSync(n)&&(await he("Default Docker daemon config found",async()=>{S(JSON.stringify(JSON.parse(Ot.default.readFileSync(n,{encoding:"utf8"})),null,2))}),s=JSON.parse(Ot.default.readFileSync(n,{encoding:"utf8"}))),this.daemonConfig&&(s=Object.assign(s||{},JSON.parse(this.daemonConfig))),s){let a=JSON.stringify(s,null,2);await he("Writing Docker daemon config",async()=>{Ot.default.writeFileSync(r,a),S(a)})}let i=Object.assign({},process.env,{PATH:`${this.toolDir}:${process.env.PATH}`,XDG_RUNTIME_DIR:this.rootless&&this.runDir||void 0});return await he("Start Docker daemon",async()=>{let a=await mt("bash",!0),c=`${this.toolDir}/dockerd`;this.rootless&&(c=`${this.toolDir}/dockerd-rootless.sh`,Ot.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}"`),S(`[command] ${l}`);let u="sudo";this.rootless&&(u+=" -u \\#1001"),(await zX.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 Qr.sleep(3);let d=10;await(0,VX.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)=>{S(`${p}. Retrying (${m}/${d})...`)},"onRetry")}),S("Docker daemon started started successfully")}),await he("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=Rt.default.join(this.runDir,"daemon.json");Ot.default.existsSync(s)&&(await he("Default Docker daemon config found",async()=>{S(JSON.stringify(JSON.parse(Ot.default.readFileSync(s,{encoding:"utf8"})),null,2))}),r=JSON.parse(Ot.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 he("Docker daemon config",async()=>{S(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 he("Install Docker daemon service",async()=>{let a=await Qr.powershellCommand(qX(),i);await de.exec(a.command,a.args);let c=await Qr.powershellCommand(I_());await de.exec(c.command,c.args)}),await he("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(Jr.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: ${Jr.default.platform()}`)}await he("Cleaning up toolDir",async()=>{this._toolDir&&Ot.default.rmSync(this._toolDir,{recursive:!0,force:!0})})}async tearDownDarwin(){await this.printDarwinDiagnostics(),await he("Stopping lima instance",async()=>{await de.exec("limactl",["stop","--tty=false",this.limaInstanceName,"--force"])}),await he("Removing lima instance",async()=>{await de.exec("limactl",["delete","--tty=false",this.limaInstanceName,"--force"])}),await he("Removing Docker context",async()=>{await ur.exec(["context","rm","-f",this.contextName])}),await he("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 he(e,async()=>{let s=await de.getExecOutput("limactl",["shell","--tty=false",this.limaInstanceName,...r],{ignoreReturnCode:!0,silent:!0}).catch(i=>{S(`Failed to get ${e}: ${i}`)});if(!s)return;let n=[s.stdout.trim(),s.stderr.trim()].filter(Boolean).join(` `);n.length>0?S(n):s.exitCode!==0&&S(`${e} exited with code ${s.exitCode}`)})}async tearDownLinux(){await he("Docker daemon logs",async()=>{S(Ot.default.readFileSync(Rt.default.join(this.runDir,"dockerd.log"),{encoding:"utf8"}))}),await he("Stopping Docker daemon",async()=>{await de.exec("sudo",["kill","-s","SIGTERM",Ot.default.readFileSync(Rt.default.join(this.runDir,"docker.pid")).toString().trim()]),await Qr.sleep(5)}),await he("Removing Docker context",async()=>{await ur.exec(["context","rm","-f",this.contextName])}),await he("Cleaning up runDir",async()=>{await de.exec("sudo",["rm","-rf",this.runDir],{ignoreReturnCode:!0,failOnStdErr:!1})})}async tearDownWindows(){await he("Docker daemon logs",async()=>{let e=await Qr.powershellCommand(I_());await de.exec(e.command,e.args)}),await he("Removing Docker context",async()=>{await ur.exec(["context","rm","-f",this.contextName])}),await he("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(Jr.default.platform()){case"darwin":return"mac";case"linux":return"linux";case"win32":return"win";default:return Jr.default.platform()}}static platformArch(){switch(Jr.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 Jr.default.arch()}}static async limaInstalled(){return await mt("lima",!0).then(e=>(b(`docker.Install.limaInstalled ok: ${e}`),!0)).catch(e=>(b(`docker.Install.limaInstalled error: ${e}`),!1))}static async qemuBin(){switch(Jr.default.arch()){case"x64":return"qemu-system-x86_64";case"arm64":return"qemu-system-aarch64";default:return`qemu-system-${Jr.default.arch()}`}}static async qemuInstalled(){return await mt(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 ga({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 Qr.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 he(`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 Wa(c,Rt.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 Ym=w(require("fs"),1),Bo=w(require("os"),1),bB=w(require("path"),1);var xB=w($m(),1),B_=w(require("util"),1);var QB=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=xB.clean(i)||"";if(!xB.valid(a))throw new Error(`Invalid regclient version "${i}".`);let c=new Si({htcName:"regctl-dl-bin",htcVersion:i,baseCacheDir:bB.default.join(Bo.default.homedir(),".bin"),cacheFile:Bo.default.platform()=="win32"?"regctl.exe":"regctl",ghaNoCache:r}),l=await c.find();if(l)return S(`regctl binary found in ${l}`),l;let u=B_.format(s.downloadURL,i,this.filename());S(`Downloading ${u}`);let A=await Wa(u,void 0,this.githubToken);b(`Install.download htcDownloadPath: ${A}`);let d=await c.save(A);return S(`Cached to ${d}`),d}async install(e,r){r=r||Yr.tmpDir();let s=bB.default.join(r,"regctl-bin");Ym.default.existsSync(s)||Ym.default.mkdirSync(s,{recursive:!0});let n=Bo.default.platform()=="win32"?"regctl.exe":"regctl",i=bB.default.join(s,n);return Ym.default.copyFileSync(e,i),S("Fixing perms"),Ym.default.chmodSync(i,"0755"),Hl(s),S("Added regctl to PATH"),S(`Binary path: ${i}`),i}filename(){let e;switch(Bo.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=Bo.default.arch();break}}let r=Bo.default.platform()=="win32"?"windows":Bo.default.platform(),s=Bo.default.platform()=="win32"?".exe":"";return B_.format("regctl-%s-%s%s",r,e,s)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return S(`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 ga({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 Jm=w(require("fs"),1),Rn=w(require("os"),1),Wm=w(require("path"),1);var SB=w($m(),1),w_=w(require("util"),1);var NB=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=SB.clean(i)||"";if(!SB.valid(a))throw new Error(`Invalid Undock version "${i}".`);let c=new Si({htcName:"undock-dl-bin",htcVersion:i,baseCacheDir:Wm.default.join(Rn.default.homedir(),".bin"),cacheFile:Rn.default.platform()=="win32"?"undock.exe":"undock",ghaNoCache:r}),l=await c.find();if(l)return S(`Undock binary found in ${l}`),l;let u=w_.format(s.downloadURL,i,this.filename(i));S(`Downloading ${u}`);let A=await Wa(u,void 0,this.githubToken);b(`Install.download htcDownloadPath: ${A}`);let d;Rn.default.platform()=="win32"?d=await gg(A):d=await fg(A),S(`Extracted to ${d}`);let p=Wm.default.join(d,Rn.default.platform()=="win32"?"undock.exe":"undock");b(`Install.download exePath: ${p}`);let m=await c.save(p);return S(`Cached to ${m}`),m}async install(e,r){r=r||Yr.tmpDir();let s=Wm.default.join(r,"undock-bin");Jm.default.existsSync(s)||Jm.default.mkdirSync(s,{recursive:!0});let n=Rn.default.platform()=="win32"?"undock.exe":"undock",i=Wm.default.join(s,n);return Jm.default.copyFileSync(e,i),S("Fixing perms"),Jm.default.chmodSync(i,"0755"),Hl(s),S("Added Undock to PATH"),S(`Binary path: ${i}`),i}filename(e){let r;switch(Rn.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=Rn.default.arch();break}}let s=Rn.default.platform()=="win32"?"windows":Rn.default.platform(),n=Rn.default.platform()=="win32"?".zip":".tar.gz";return w_.format("undock_%s_%s_%s%s",e,s,r,n)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return S(`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 ga({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 YX=w(require("os"),1),JX=w(require("path"),1);function WX(){let t=mn("version")||"latest",e=cLe(t),r=mn("channel");return r&&e.type==="archive"&&(e.channel=r),{source:e,daemonConfig:mn("daemon-config"),tcpPort:Qr.getInputNumber("tcp-port"),context:mn("context"),setHost:Ex("set-host"),rootless:Ex("rootless"),runtimeBasedir:mn("runtime-basedir")||JX.default.join(YX.default.homedir(),"setup-docker-action"),githubToken:mn("github-token")}}o(WX,"getInputs");function cLe(t){let[e,r,s,n]=["archive","latest","stable","latest"],i=JI(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(cLe,"parseSource");var b_=process.env.STATE_rundir||"";function jX(t){$l("rundir",t)}o(jX,"setRunDir");var ALe="v0.8.3",dLe="v0.10.0";N5(async()=>{let t=WX(),e=XX.default.join(t.runtimeBasedir,`run-${KX.randomUUID().slice(0,8)}`);if(t.context=="default")throw new Error("'default' context cannot be used.");t.source.type==="image"&&(await he("Download and install regctl",async()=>{let a=new QB({githubToken:t.githubToken}),c=await a.download(process.env.REGCTL_VERSION&&process.env.REGCTL_VERSION.trim()?process.env.REGCTL_VERSION:ALe,!0);await a.install(c)}),await he("Download and install undock",async()=>{let a=new NB({githubToken:t.githubToken}),c=await a.download(process.env.UNDOCK_VERSION&&process.env.UNDOCK_VERSION.trim()?process.env.UNDOCK_VERSION:dLe,!0);await a.install(c)}));let r,s;t.tcpPort&&(r=t.tcpPort,s=`tcp://127.0.0.1:${r}`);let n=new Vm({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 he("Download docker",async()=>{i=await n.download()}),i){jX(e);let a=await n.install();await he("Setting outputs",async()=>{S(`sock=${a}`),yx("sock",a),s&&(S(`tcp=${s}`),yx("tcp",s))}),t.setHost&&await he("Setting Docker host",async()=>{wG("DOCKER_HOST",a),S(`DOCKER_HOST=${a}`)})}await he("Docker info",async()=>{await ur.printVersion(),await ur.printInfo()})},async()=>{if(b_.length==0)return;await new Vm({runDir:b_}).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