From 932216e29e2417c3aa0bc5aec3c57089030cef2c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 1 Sep 2026 10:35:12 +0000 Subject: [PATCH] [dependabot skip] chore: update generated content --- dist/index.cjs | 147 +++++++++++++++++++++++---------------------- dist/index.cjs.map | 8 +-- dist/licenses.txt | 12 ++-- 3 files changed, 84 insertions(+), 83 deletions(-) diff --git a/dist/index.cjs b/dist/index.cjs index be69f56..7455dfd 100644 --- a/dist/index.cjs +++ b/dist/index.cjs @@ -1,83 +1,83 @@ -var E5=Object.create;var zm=Object.defineProperty;var C5=Object.getOwnPropertyDescriptor;var I5=Object.getOwnPropertyNames;var B5=Object.getPrototypeOf,Q5=Object.prototype.hasOwnProperty;var o=(t,e)=>zm(t,"name",{value:e,configurable:!0});var g=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),x5=(t,e)=>{for(var r in e)zm(t,r,{get:e[r],enumerable:!0})},b5=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of I5(e))!Q5.call(t,s)&&s!==r&&zm(t,s,{get:()=>e[s],enumerable:!(n=C5(e,s))||n.enumerable});return t};var Q=(t,e,r)=>(r=t!=null?E5(B5(t)):{},b5(e||!t||!t.__esModule?zm(r,"default",{value:t,enumerable:!0}):r,t));var WD=g(ic=>{"use strict";var u0e=require("net"),R5=require("tls"),HC=require("http"),YD=require("https"),P5=require("events"),d0e=require("assert"),v5=require("util");ic.httpOverHttp=D5;ic.httpsOverHttp=k5;ic.httpOverHttps=T5;ic.httpsOverHttps=M5;function D5(t){var e=new ni(t);return e.request=HC.request,e}o(D5,"httpOverHttp");function k5(t){var e=new ni(t);return e.request=HC.request,e.createSocket=VD,e.defaultPort=443,e}o(k5,"httpsOverHttp");function T5(t){var e=new ni(t);return e.request=YD.request,e}o(T5,"httpOverHttps");function M5(t){var e=new ni(t);return e.request=YD.request,e.createSocket=VD,e.defaultPort=443,e}o(M5,"httpsOverHttps");function ni(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||HC.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(n,s,i,a){for(var c=JD(s,i,a),l=0,A=e.requests.length;l=this.maxSockets){i.requests.push(a);return}i.createSocket(a,function(c){c.on("free",l),c.on("close",A),c.on("agentRemove",A),e.onSocket(c);function l(){i.emit("free",c,a)}o(l,"onFree");function A(u){i.removeSocket(c),c.removeListener("free",l),c.removeListener("close",A),c.removeListener("agentRemove",A)}o(A,"onCloseOrRemove")})},"addRequest");ni.prototype.createSocket=o(function(e,r){var n=this,s={};n.sockets.push(s);var i=zC({},n.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")),Gi("making CONNECT request");var a=n.request(i);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",A),a.once("error",u),a.end();function c(d){d.upgrade=!0}o(c,"onResponse");function l(d,m,p){process.nextTick(function(){A(d,m,p)})}o(l,"onUpgrade");function A(d,m,p){if(a.removeAllListeners(),m.removeAllListeners(),d.statusCode!==200){Gi("tunneling socket could not be established, statusCode=%d",d.statusCode),m.destroy();var h=new Error("tunneling socket could not be established, statusCode="+d.statusCode);h.code="ECONNRESET",e.request.emit("error",h),n.removeSocket(s);return}if(p.length>0){Gi("got illegal response body from proxy"),m.destroy();var h=new Error("got illegal response body from proxy");h.code="ECONNRESET",e.request.emit("error",h),n.removeSocket(s);return}return Gi("tunneling connection has established"),n.sockets[n.sockets.indexOf(s)]=m,r(m)}o(A,"onConnect");function u(d){a.removeAllListeners(),Gi(`tunneling socket could not be established, cause=%s -`,d.message,d.stack);var m=new Error("tunneling socket could not be established, cause="+d.message);m.code="ECONNRESET",e.request.emit("error",m),n.removeSocket(s)}o(u,"onError")},"createSocket");ni.prototype.removeSocket=o(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createSocket(n,function(s){n.request.onSocket(s)})}},"removeSocket");function VD(t,e){var r=this;ni.prototype.createSocket.call(r,t,function(n){var s=t.request.getHeader("host"),i=zC({},r.options,{socket:n,servername:s?s.replace(/:.*$/,""):t.host}),a=R5.connect(0,i);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}o(VD,"createSecureSocket");function JD(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(JD,"toOptions");function zC(t){for(var e=1,r=arguments.length;e{$D.exports=WD()});var Oe=g((f0e,jD)=>{jD.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 ye=g((g0e,Ik)=>{"use strict";var KD=Symbol.for("undici.error.UND_ERR"),qe=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[KD]===!0}[KD]=!0},XD=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),YC=class extends qe{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[XD]===!0}[XD]=!0},ZD=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),VC=class extends qe{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[ZD]===!0}[ZD]=!0},ek=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),JC=class extends qe{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[ek]===!0}[ek]=!0},tk=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),WC=class extends qe{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[tk]===!0}[tk]=!0},rk=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),$C=class extends qe{static{o(this,"ResponseStatusCodeError")}constructor(e,r,n,s){super(e),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=s,this.status=r,this.statusCode=r,this.headers=n}static[Symbol.hasInstance](e){return e&&e[rk]===!0}[rk]=!0},nk=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),jC=class extends qe{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[nk]===!0}[nk]=!0},sk=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),KC=class extends qe{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[sk]===!0}[sk]=!0},ik=Symbol.for("undici.error.UND_ERR_ABORT"),Vm=class extends qe{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[ik]===!0}[ik]=!0},ok=Symbol.for("undici.error.UND_ERR_ABORTED"),XC=class extends Vm{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[ok]===!0}[ok]=!0},ak=Symbol.for("undici.error.UND_ERR_INFO"),ZC=class extends qe{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[ak]===!0}[ak]=!0},ck=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),eI=class extends qe{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[ck]===!0}[ck]=!0},lk=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),tI=class extends qe{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[lk]===!0}[lk]=!0},Ak=Symbol.for("undici.error.UND_ERR_DESTROYED"),rI=class extends qe{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[Ak]===!0}[Ak]=!0},uk=Symbol.for("undici.error.UND_ERR_CLOSED"),nI=class extends qe{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[uk]===!0}[uk]=!0},dk=Symbol.for("undici.error.UND_ERR_SOCKET"),sI=class extends qe{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[dk]===!0}[dk]=!0},mk=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),iI=class extends qe{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[mk]===!0}[mk]=!0},pk=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),oI=class extends qe{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[pk]===!0}[pk]=!0},hk=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),aI=class extends Error{static{o(this,"HTTPParserError")}constructor(e,r,n){super(e),this.name="HTTPParserError",this.code=r?`HPE_${r}`:void 0,this.data=n?n.toString():void 0}static[Symbol.hasInstance](e){return e&&e[hk]===!0}[hk]=!0},fk=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),cI=class extends qe{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[fk]===!0}[fk]=!0},gk=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),lI=class extends qe{static{o(this,"RequestRetryError")}constructor(e,r,{headers:n,data:s}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=s,this.headers=n}static[Symbol.hasInstance](e){return e&&e[gk]===!0}[gk]=!0},yk=Symbol.for("undici.error.UND_ERR_RESPONSE"),AI=class extends qe{static{o(this,"ResponseError")}constructor(e,r,{headers:n,data:s}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=r,this.data=s,this.headers=n}static[Symbol.hasInstance](e){return e&&e[yk]===!0}[yk]=!0},Ek=Symbol.for("undici.error.UND_ERR_PRX_TLS"),uI=class extends qe{static{o(this,"SecureProxyConnectionError")}constructor(e,r,n){super(r,{cause:e,...n??{}}),this.name="SecureProxyConnectionError",this.message=r||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&e[Ek]===!0}[Ek]=!0},Ck=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),dI=class extends qe{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[Ck]===!0}get[Ck](){return!0}};Ik.exports={AbortError:Vm,HTTPParserError:aI,UndiciError:qe,HeadersTimeoutError:VC,HeadersOverflowError:JC,BodyTimeoutError:WC,RequestContentLengthMismatchError:eI,ConnectTimeoutError:YC,ResponseStatusCodeError:$C,InvalidArgumentError:jC,InvalidReturnValueError:KC,RequestAbortedError:XC,ClientDestroyedError:rI,ClientClosedError:nI,InformationalError:ZC,SocketError:sI,NotSupportedError:iI,ResponseContentLengthMismatchError:tI,BalancedPoolMissingUpstreamError:oI,ResponseExceededMaxSizeError:cI,RequestRetryError:lI,ResponseError:AI,SecureProxyConnectionError:uI,MessageSizeExceededError:dI}});var Wm=g((E0e,Bk)=>{"use strict";var Jm={},mI=["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:Qk,headerNameLowerCasedRecord:L5}=Wm(),pI=class t{static{o(this,"TstNode")}value=null;left=null;middle=null;right=null;code;constructor(e,r,n){if(n===void 0||n>=e.length)throw new TypeError("Unreachable");if((this.code=e.charCodeAt(n))>127)throw new TypeError("key must be ascii string");e.length!==++n?this.middle=new t(e,r,n):this.value=r}add(e,r){let n=e.length;if(n===0)throw new TypeError("Unreachable");let s=0,i=this;for(;;){let a=e.charCodeAt(s);if(a>127)throw new TypeError("key must be ascii string");if(i.code===a)if(n===++s){i.value=r;break}else if(i.middle!==null)i=i.middle;else{i.middle=new t(e,r,s);break}else if(i.code=65&&(i|=32);s!==null;){if(i===s.code){if(r===++n)return s;s=s.middle;break}s=s.code{"use strict";var wA=require("node:assert"),{kDestroyed:Sk,kBodyUsed:oc,kListeners:hI,kBody:Nk}=Oe(),{IncomingMessage:_5}=require("node:http"),Xm=require("node:stream"),F5=require("node:net"),{Blob:U5}=require("node:buffer"),O5=require("node:util"),{stringify:q5}=require("node:querystring"),{EventEmitter:H5}=require("node:events"),{InvalidArgumentError:bt}=ye(),{headerNameLowerCasedRecord:z5}=Wm(),{tree:Rk}=wk(),[G5,Y5]=process.versions.node.split(".").map(t=>Number(t)),Km=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[Nk]=e,this[oc]=!1}async*[Symbol.asyncIterator](){wA(!this[oc],"disturbed"),this[oc]=!0,yield*this[Nk]}};function V5(t){return Zm(t)?(Tk(t)===0&&t.on("data",function(){wA(!1)}),typeof t.readableDidRead!="boolean"&&(t[oc]=!1,H5.prototype.on.call(t,"data",function(){this[oc]=!0})),t):t&&typeof t.pipeTo=="function"?new Km(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&kk(t)?new Km(t):t}o(V5,"wrapRequestBody");function J5(){}o(J5,"nop");function Zm(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(Zm,"isStream");function Pk(t){if(t===null)return!1;if(t instanceof U5)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(Pk,"isBlobLike");function W5(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=q5(e);return r&&(t+="?"+r),t}o(W5,"buildURL");function vk(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(vk,"isValidPort");function jm(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(jm,"isHttpOrHttpsPrefixed");function Dk(t){if(typeof t=="string"){if(t=new URL(t),!jm(t.origin||t.protocol))throw new bt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new bt("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&vk(t.port)===!1)throw new bt("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 bt("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new bt("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new bt("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new bt("Invalid URL origin: the origin must be a string or null/undefined.");if(!jm(t.origin||t.protocol))throw new bt("Invalid URL protocol: the URL must start with `http:` or `https:`.");let e=t.port!=null?t.port:t.protocol==="https:"?443:80,r=t.origin!=null?t.origin:`${t.protocol||""}//${t.hostname||""}:${e}`,n=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return r[r.length-1]==="/"&&(r=r.slice(0,r.length-1)),n&&n[0]!=="/"&&(n=`/${n}`),new URL(`${r}${n}`)}if(!jm(t.origin||t.protocol))throw new bt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(Dk,"parseURL");function $5(t){if(t=Dk(t),t.pathname!=="/"||t.search||t.hash)throw new bt("invalid url");return t}o($5,"parseOrigin");function j5(t){if(t[0]==="["){let r=t.indexOf("]");return wA(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}o(j5,"getHostname");function K5(t){if(!t)return null;wA(typeof t=="string");let e=j5(t);return F5.isIP(e)?"":e}o(K5,"getServerName");function X5(t){return JSON.parse(JSON.stringify(t))}o(X5,"deepClone");function Z5(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(Z5,"isAsyncIterable");function kk(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(kk,"isIterable");function Tk(t){if(t==null)return 0;if(Zm(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(Pk(t))return t.size!=null?t.size:null;if(_k(t))return t.byteLength}return null}o(Tk,"bodyLength");function Mk(t){return t&&!!(t.destroyed||t[Sk]||Xm.isDestroyed?.(t))}o(Mk,"isDestroyed");function e9(t,e){t==null||!Zm(t)||Mk(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===_5&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[Sk]=!0))}o(e9,"destroy");var t9=/timeout=(\d+)/;function r9(t){let e=t.toString().match(t9);return e?parseInt(e[1],10)*1e3:null}o(r9,"parseKeepAliveTimeout");function Lk(t){return typeof t=="string"?z5[t]??t.toLowerCase():Rk.lookup(t)??t.toString("latin1").toLowerCase()}o(Lk,"headerNameToString");function n9(t){return Rk.lookup(t)??t.toString("latin1").toLowerCase()}o(n9,"bufferToLowerCasedHeaderName");function s9(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(s9,"parseHeaders");function i9(t){let e=t.length,r=new Array(e),n=!1,s=-1,i,a,c=0;for(let l=0;l{r.close(),r.byobRequest?.respond(0)});else{let i=Buffer.isBuffer(s)?s:Buffer.from(s);i.byteLength&&r.enqueue(new Uint8Array(i))}return r.desiredSize>0},async cancel(r){await e.return()},type:"bytes"})}o(u9,"ReadableStreamFrom");function d9(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(d9,"isFormDataLike");function m9(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(m9,"addAbortListener");var p9=typeof String.prototype.toWellFormed=="function",h9=typeof String.prototype.isWellFormed=="function";function Fk(t){return p9?`${t}`.toWellFormed():O5.toUSVString(t)}o(Fk,"toUSVString");function f9(t){return h9?`${t}`.isWellFormed():Fk(t)===`${t}`}o(f9,"isUSVString");function Uk(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(Uk,"isTokenCharCode");function g9(t){if(t.length===0)return!1;for(let e=0;e{"use strict";var xe=require("node:diagnostics_channel"),yI=require("node:util"),ep=yI.debuglog("undici"),gI=yI.debuglog("fetch"),Fo=yI.debuglog("websocket"),zk=!1,x9={beforeConnect:xe.channel("undici:client:beforeConnect"),connected:xe.channel("undici:client:connected"),connectError:xe.channel("undici:client:connectError"),sendHeaders:xe.channel("undici:client:sendHeaders"),create:xe.channel("undici:request:create"),bodySent:xe.channel("undici:request:bodySent"),headers:xe.channel("undici:request:headers"),trailers:xe.channel("undici:request:trailers"),error:xe.channel("undici:request:error"),open:xe.channel("undici:websocket:open"),close:xe.channel("undici:websocket:close"),socketError:xe.channel("undici:websocket:socket_error"),ping:xe.channel("undici:websocket:ping"),pong:xe.channel("undici:websocket:pong")};if(ep.enabled||gI.enabled){let t=gI.enabled?gI:ep;xe.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:s,host:i}}=e;t("connecting to %s using %s%s",`${i}${s?`:${s}`:""}`,n,r)}),xe.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:s,host:i}}=e;t("connected to %s using %s%s",`${i}${s?`:${s}`:""}`,n,r)}),xe.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:s,host:i},error:a}=e;t("connection to %s using %s%s errored - %s",`${i}${s?`:${s}`:""}`,n,r,a.message)}),xe.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:s}}=e;t("sending request to %s %s/%s",r,s,n)}),xe.channel("undici:request:headers").subscribe(e=>{let{request:{method:r,path:n,origin:s},response:{statusCode:i}}=e;t("received response to %s %s/%s - HTTP %d",r,s,n,i)}),xe.channel("undici:request:trailers").subscribe(e=>{let{request:{method:r,path:n,origin:s}}=e;t("trailers received from %s %s/%s",r,s,n)}),xe.channel("undici:request:error").subscribe(e=>{let{request:{method:r,path:n,origin:s},error:i}=e;t("request to %s %s/%s errored - %s",r,s,n,i.message)}),zk=!0}if(Fo.enabled){if(!zk){let t=ep.enabled?ep:Fo;xe.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:s,host:i}}=e;t("connecting to %s%s using %s%s",i,s?`:${s}`:"",n,r)}),xe.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:s,host:i}}=e;t("connected to %s%s using %s%s",i,s?`:${s}`:"",n,r)}),xe.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:s,host:i},error:a}=e;t("connection to %s%s using %s%s errored - %s",i,s?`:${s}`:"",n,r,a.message)}),xe.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:s}}=e;t("sending request to %s %s/%s",r,s,n)})}xe.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;Fo("connection opened %s%s",e,r?`:${r}`:"")}),xe.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:n}=t;Fo("closed connection to %s - %s %s",e.url,r,n)}),xe.channel("undici:websocket:socket_error").subscribe(t=>{Fo("connection errored - %s",t.message)}),xe.channel("undici:websocket:ping").subscribe(t=>{Fo("ping received")}),xe.channel("undici:websocket:pong").subscribe(t=>{Fo("pong received")})}Gk.exports={channels:x9}});var Wk=g((b0e,Jk)=>{"use strict";var{InvalidArgumentError:Se,NotSupportedError:b9}=ye(),si=require("node:assert"),{isValidHTTPToken:Vk,isValidHeaderValue:NA,isStream:w9,destroy:N9,isBuffer:S9,isFormDataLike:R9,isIterable:P9,isBlobLike:v9,buildURL:D9,validateHandler:k9,getServerName:T9,normalizedMethodRecords:M9}=ce(),{channels:ns}=ac(),{headerNameLowerCasedRecord:Yk}=Wm(),L9=/[^\u0021-\u00ff]/,nn=Symbol("handler"),EI=class{static{o(this,"Request")}constructor(e,{path:r,method:n,body:s,headers:i,query:a,idempotent:c,blocking:l,upgrade:A,headersTimeout:u,bodyTimeout:d,reset:m,throwOnError:p,expectContinue:h,servername:f},C){if(typeof r!="string")throw new Se("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new Se("path must be an absolute URL or start with a slash");if(L9.test(r))throw new Se("invalid request path");if(typeof n!="string")throw new Se("method must be a string");if(M9[n]===void 0&&!Vk(n))throw new Se("invalid request method");if(A&&typeof A!="string")throw new Se("upgrade must be a string");if(A&&!NA(A))throw new Se("invalid upgrade header");if(u!=null&&(!Number.isFinite(u)||u<0))throw new Se("invalid headersTimeout");if(d!=null&&(!Number.isFinite(d)||d<0))throw new Se("invalid bodyTimeout");if(m!=null&&typeof m!="boolean")throw new Se("invalid reset");if(h!=null&&typeof h!="boolean")throw new Se("invalid expectContinue");if(this.headersTimeout=u,this.bodyTimeout=d,this.throwOnError=p===!0,this.method=n,this.abort=null,s==null)this.body=null;else if(w9(s)){this.body=s;let y=this.body._readableState;(!y||!y.autoDestroy)&&(this.endHandler=o(function(){N9(this)},"autoDestroy"),this.body.on("end",this.endHandler)),this.errorHandler=E=>{this.abort?this.abort(E):this.error=E},this.body.on("error",this.errorHandler)}else if(S9(s))this.body=s.byteLength?s:null;else if(ArrayBuffer.isView(s))this.body=s.buffer.byteLength?Buffer.from(s.buffer,s.byteOffset,s.byteLength):null;else if(s instanceof ArrayBuffer)this.body=s.byteLength?Buffer.from(s):null;else if(typeof s=="string")this.body=s.length?Buffer.from(s):null;else if(R9(s)||P9(s)||v9(s))this.body=s;else throw new Se("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=A||null,this.path=a?D9(r,a):r,this.origin=e,this.idempotent=c??(n==="HEAD"||n==="GET"),this.blocking=l??!1,this.reset=m??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 Se("headers array must be even");for(let y=0;y{"use strict";var _9=require("node:events"),rp=class extends _9{static{o(this,"Dispatcher")}dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...e){let r=Array.isArray(e[0])?e[0]:e,n=this.dispatch.bind(this);for(let s of r)if(s!=null){if(typeof s!="function")throw new TypeError(`invalid interceptor, expected function received ${typeof s}`);if(n=s(n),n==null||typeof n!="function"||n.length!==2)throw new TypeError("invalid interceptor")}return new CI(this,n)}},CI=class extends rp{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)}};$k.exports=rp});var uc=g((R0e,jk)=>{"use strict";var F9=SA(),{ClientDestroyedError:II,ClientClosedError:U9,InvalidArgumentError:cc}=ye(),{kDestroy:O9,kClose:q9,kClosed:RA,kDestroyed:lc,kDispatch:BI,kInterceptors:Uo}=Oe(),ii=Symbol("onDestroyed"),Ac=Symbol("onClosed"),np=Symbol("Intercepted Dispatch"),QI=Symbol("webSocketOptions"),xI=class extends F9{static{o(this,"DispatcherBase")}constructor(e){super(),this[lc]=!1,this[ii]=null,this[RA]=!1,this[Ac]=[],this[QI]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[QI].maxFragments??131072,maxPayloadSize:this[QI].maxPayloadSize??128*1024*1024}}get destroyed(){return this[lc]}get closed(){return this[RA]}get interceptors(){return this[Uo]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[Uo][r]!="function")throw new cc("interceptor must be an function")}this[Uo]=e}close(e){if(e===void 0)return new Promise((n,s)=>{this.close((i,a)=>i?s(i):n(a))});if(typeof e!="function")throw new cc("invalid callback");if(this[lc]){queueMicrotask(()=>e(new II,null));return}if(this[RA]){this[Ac]?this[Ac].push(e):queueMicrotask(()=>e(null,null));return}this[RA]=!0,this[Ac].push(e);let r=o(()=>{let n=this[Ac];this[Ac]=null;for(let s=0;sthis.destroy()).then(()=>{queueMicrotask(r)})}destroy(e,r){if(typeof e=="function"&&(r=e,e=null),r===void 0)return new Promise((s,i)=>{this.destroy(e,(a,c)=>a?i(a):s(c))});if(typeof r!="function")throw new cc("invalid callback");if(this[lc]){this[ii]?this[ii].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new II),this[lc]=!0,this[ii]=this[ii]||[],this[ii].push(r);let n=o(()=>{let s=this[ii];this[ii]=null;for(let i=0;i{queueMicrotask(n)})}[np](e,r){if(!this[Uo]||this[Uo].length===0)return this[np]=this[BI],this[BI](e,r);let n=this[BI].bind(this);for(let s=this[Uo].length-1;s>=0;s--)n=this[Uo][s](n);return this[np]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new cc("handler must be an object");try{if(!e||typeof e!="object")throw new cc("opts must be an object.");if(this[lc]||this[ii])throw new II;if(this[RA])throw new U9;return this[np](e,r)}catch(n){if(typeof r.onError!="function")throw new cc("invalid onError method");return r.onError(n),!1}}};jk.exports=xI});var vI=g((v0e,eT)=>{"use strict";var dc=0,bI=1e3,wI=(bI>>1)-1,oi,NI=Symbol("kFastTimer"),ai=[],SI=-2,RI=-1,Xk=0,Kk=1;function PI(){dc+=wI;let t=0,e=ai.length;for(;t=r._idleStart+r._idleTimeout&&(r._state=RI,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===RI?(r._state=SI,--e!==0&&(ai[t]=ai[e])):++t}ai.length=e,ai.length!==0&&Zk()}o(PI,"onTick");function Zk(){oi?oi.refresh():(clearTimeout(oi),oi=setTimeout(PI,wI),oi.unref&&oi.unref())}o(Zk,"refreshTimeout");var sp=class{static{o(this,"FastTimer")}[NI]=!0;_state=SI;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,n){this._onTimeout=e,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===SI&&ai.push(this),(!oi||ai.length===1)&&Zk(),this._state=Xk}clear(){this._state=RI,this._idleStart=-1}};eT.exports={setTimeout(t,e,r){return e<=bI?setTimeout(t,e,r):new sp(t,e,r)},clearTimeout(t){t[NI]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new sp(t,e,r)},clearFastTimeout(t){t.clear()},now(){return dc},tick(t=0){dc+=t-bI+1,PI(),PI()},reset(){dc=0,ai.length=0,clearTimeout(oi),oi=null},kFastTimer:NI}});var PA=g((M0e,iT)=>{"use strict";var H9=require("node:net"),tT=require("node:assert"),sT=ce(),{InvalidArgumentError:z9,ConnectTimeoutError:G9}=ye(),ip=vI();function rT(){}o(rT,"noop");var DI,kI;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?kI=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:n}=this._sessionCache.keys().next();this._sessionCache.delete(n)}this._sessionCache.set(e,r)}}};function Y9({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:n,session:s,...i}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new z9("maxCachedSessions must be a positive integer or zero");let a={path:r,...i},c=new kI(e??100);return n=n??1e4,t=t??!1,o(function({hostname:A,host:u,protocol:d,port:m,servername:p,localAddress:h,httpSocket:f},C){let y;if(d==="https:"){DI||(DI=require("node:tls")),p=p||a.servername||sT.getServerName(u)||null;let I=p||A;tT(I);let B=s||c.get(I)||null;m=m||443,y=DI.connect({highWaterMark:16384,...a,servername:p,session:B,localAddress:h,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:f,port:m,host:A}),y.on("session",function(N){c.set(I,N)})}else tT(!f,"httpSocket can only be sent on TLS update"),m=m||80,y=H9.connect({highWaterMark:64*1024,...a,localAddress:h,port:m,host:A});if(a.keepAlive==null||a.keepAlive){let I=a.keepAliveInitialDelay===void 0?6e4:a.keepAliveInitialDelay;y.setKeepAlive(!0,I)}let E=V9(new WeakRef(y),{timeout:n,hostname:A,port:m});return y.setNoDelay(!0).once(d==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(E),C){let I=C;C=null,I(null,this)}}).on("error",function(I){if(queueMicrotask(E),C){let B=C;C=null,B(I)}}),y},"connect")}o(Y9,"buildConnector");var V9=process.platform==="win32"?(t,e)=>{if(!e.timeout)return rT;let r=null,n=null,s=ip.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>nT(t.deref(),e))})},e.timeout);return()=>{ip.clearFastTimeout(s),clearImmediate(r),clearImmediate(n)}}:(t,e)=>{if(!e.timeout)return rT;let r=null,n=ip.setFastTimeout(()=>{r=setImmediate(()=>{nT(t.deref(),e)})},e.timeout);return()=>{ip.clearFastTimeout(n),clearImmediate(r)}};function nT(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)`,sT.destroy(t,new G9(r))}o(nT,"onConnectTimeout");iT.exports=Y9});var oT=g(op=>{"use strict";Object.defineProperty(op,"__esModule",{value:!0});op.enumToMap=void 0;function J9(t){let e={};return Object.keys(t).forEach(r=>{let n=t[r];typeof n=="number"&&(e[r]=n)}),e}o(J9,"enumToMap");op.enumToMap=J9});var aT=g(w=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0});w.SPECIAL_HEADERS=w.HEADER_STATE=w.MINOR=w.MAJOR=w.CONNECTION_TOKEN_CHARS=w.HEADER_CHARS=w.TOKEN=w.STRICT_TOKEN=w.HEX=w.URL_CHAR=w.STRICT_URL_CHAR=w.USERINFO_CHARS=w.MARK=w.ALPHANUM=w.NUM=w.HEX_MAP=w.NUM_MAP=w.ALPHA=w.FINISH=w.H_METHOD_MAP=w.METHOD_MAP=w.METHODS_RTSP=w.METHODS_ICE=w.METHODS_HTTP=w.METHODS=w.LENIENT_FLAGS=w.FLAGS=w.TYPE=w.ERROR=void 0;var W9=oT(),$9;(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"})($9=w.ERROR||(w.ERROR={}));var j9;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(j9=w.TYPE||(w.TYPE={}));var K9;(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"})(K9=w.FLAGS||(w.FLAGS={}));var X9;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(X9=w.LENIENT_FLAGS||(w.LENIENT_FLAGS={}));var W;(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"})(W=w.METHODS||(w.METHODS={}));w.METHODS_HTTP=[W.DELETE,W.GET,W.HEAD,W.POST,W.PUT,W.CONNECT,W.OPTIONS,W.TRACE,W.COPY,W.LOCK,W.MKCOL,W.MOVE,W.PROPFIND,W.PROPPATCH,W.SEARCH,W.UNLOCK,W.BIND,W.REBIND,W.UNBIND,W.ACL,W.REPORT,W.MKACTIVITY,W.CHECKOUT,W.MERGE,W["M-SEARCH"],W.NOTIFY,W.SUBSCRIBE,W.UNSUBSCRIBE,W.PATCH,W.PURGE,W.MKCALENDAR,W.LINK,W.UNLINK,W.PRI,W.SOURCE];w.METHODS_ICE=[W.SOURCE];w.METHODS_RTSP=[W.OPTIONS,W.DESCRIBE,W.ANNOUNCE,W.SETUP,W.PLAY,W.PAUSE,W.TEARDOWN,W.GET_PARAMETER,W.SET_PARAMETER,W.REDIRECT,W.RECORD,W.FLUSH,W.GET,W.POST];w.METHOD_MAP=W9.enumToMap(W);w.H_METHOD_MAP={};Object.keys(w.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(w.H_METHOD_MAP[t]=w.METHOD_MAP[t])});var Z9;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(Z9=w.FINISH||(w.FINISH={}));w.ALPHA=[];for(let t=65;t<=90;t++)w.ALPHA.push(String.fromCharCode(t)),w.ALPHA.push(String.fromCharCode(t+32));w.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};w.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};w.NUM=["0","1","2","3","4","5","6","7","8","9"];w.ALPHANUM=w.ALPHA.concat(w.NUM);w.MARK=["-","_",".","!","~","*","'","(",")"];w.USERINFO_CHARS=w.ALPHANUM.concat(w.MARK).concat(["%",";",":","&","=","+","$",","]);w.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(w.ALPHANUM);w.URL_CHAR=w.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)w.URL_CHAR.push(t);w.HEX=w.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);w.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(w.ALPHANUM);w.TOKEN=w.STRICT_TOKEN.concat([" "]);w.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&w.HEADER_CHARS.push(t);w.CONNECTION_TOKEN_CHARS=w.HEADER_CHARS.filter(t=>t!==44);w.MAJOR=w.NUM_MAP;w.MINOR=w.MAJOR;var mc;(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"})(mc=w.HEADER_STATE||(w.HEADER_STATE={}));w.SPECIAL_HEADERS={connection:mc.CONNECTION,"content-length":mc.CONTENT_LENGTH,"proxy-connection":mc.CONNECTION,"transfer-encoding":mc.TRANSFER_ENCODING,upgrade:mc.UPGRADE}});var TI=g((O0e,cT)=>{"use strict";var{Buffer:e6}=require("node:buffer");cT.exports=e6.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtsbGh0dHBfaW5pdAAJGGxsaHR0cF9zaG91bGRfa2VlcF9hbGl2ZQAvDGxsaHR0cF9hbGxvYwALBm1hbGxvYwAxC2xsaHR0cF9mcmVlAAwEZnJlZQAMD2xsaHR0cF9nZXRfdHlwZQANFWxsaHR0cF9nZXRfaHR0cF9tYWpvcgAOFWxsaHR0cF9nZXRfaHR0cF9taW5vcgAPEWxsaHR0cF9nZXRfbWV0aG9kABAWbGxodHRwX2dldF9zdGF0dXNfY29kZQAREmxsaHR0cF9nZXRfdXBncmFkZQ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IYCyAFQRRqKAIAIgJFDQAgAEEUaiACNgIAIAIgADYCGAsgASAEaiAENgIAIAEgBEEBcjYCBCABQaDQACgCAEcNAEGU0AAgBDYCAAwBCyAEQf8BTQRAIARBeHFBtNAAaiEAAn9BjNAAKAIAIgJBASAEQQN2dCIDcUUEQEGM0AAgAiADcjYCACAADAELIAAoAggLIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQA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EMGgtBqwEMGQtBrAEMGAtBrQEMFwtBrgEMFgtBAQwVC0GvAQwUC0GwAQwTC0GxAQwSC0GzAQwRC0GyAQwQC0G0AQwPC0G1AQwOC0G2AQwNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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AgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAycAgsgAkEANgIAIAZBAWohAUEVDF8LQZIBIQMgASAERg2aAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGhzwBqLQAARw1dIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAybAgsgAkEANgIAIAZBAWohAUEeDF4LIAEgBEYEQEGTASEDDJoCCyABLQAAQcwARw1bI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MogILQYsBIQMgASAERg2hAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGOzwBqLQAARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAycAgsgAkEANgIAIAZBAWohAUEVDF8LQZIBIQMgASAERg2aAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGhzwBqLQAARw1dIABBBUYNASAAQQ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EIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2AgxBACEDDJ8BCyACQQA2AgALQQAhAyACQQA2AhwgAiABNgIUIAJBkDM2AhAgAkEINgIMDJ0BCyACQQA2AgAgBkEBaiEBIAItAClBI0kNACACQQA2AhwgAiABNgIUIAJB0wk2AhAgAkEINgIMQQAhAwycAQtB0QAhAwyCAQsgAS0AAEEwayIAQf8BcUEKSQRAIAIgADoAKiABQQFqIQFBzwAhAwyCAQsgAigCBCEAIAJBADYCBCACIA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QEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var vA=g((H0e,yT)=>{"use strict";var uT=["GET","HEAD","POST"],r6=new Set(uT),n6=[101,204,205,304],dT=[301,302,303,307,308],s6=new Set(dT),mT=["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"],i6=new Set(mT),pT=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],o6=new Set(pT),a6=["follow","manual","error"],hT=["GET","HEAD","OPTIONS","TRACE"],c6=new Set(hT),l6=["navigate","same-origin","no-cors","cors"],A6=["omit","same-origin","include"],u6=["default","no-store","reload","no-cache","force-cache","only-if-cached"],d6=["content-encoding","content-language","content-location","content-type","content-length"],m6=["half"],fT=["CONNECT","TRACE","TRACK"],p6=new Set(fT),gT=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],h6=new Set(gT);yT.exports={subresource:gT,forbiddenMethods:fT,requestBodyHeader:d6,referrerPolicy:pT,requestRedirect:a6,requestMode:l6,requestCredentials:A6,requestCache:u6,redirectStatus:dT,corsSafeListedMethods:uT,nullBodyStatus:n6,safeMethods:hT,badPorts:mT,requestDuplex:m6,subresourceSet:h6,badPortsSet:i6,redirectStatusSet:s6,corsSafeListedMethodsSet:r6,safeMethodsSet:c6,forbiddenMethodsSet:p6,referrerPolicySet:o6}});var LI=g((z0e,ET)=>{"use strict";var MI=Symbol.for("undici.globalOrigin.1");function f6(){return globalThis[MI]}o(f6,"getGlobalOrigin");function g6(t){if(t===void 0){Object.defineProperty(globalThis,MI,{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,MI,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(g6,"setGlobalOrigin");ET.exports={getGlobalOrigin:f6,setGlobalOrigin:g6}});var ar=g((Y0e,wT)=>{"use strict";var cp=require("node:assert"),y6=new TextEncoder,DA=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,E6=/[\u000A\u000D\u0009\u0020]/,C6=/[\u0009\u000A\u000C\u000D\u0020]/g,I6=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function B6(t){cp(t.protocol==="data:");let e=BT(t,!0);e=e.slice(5);let r={position:0},n=pc(",",e,r),s=n.length;if(n=S6(n,!0,!0),r.position>=e.length)return"failure";r.position++;let i=e.slice(s+1),a=QT(i);if(/;(\u0020){0,}base64$/i.test(n)){let l=bT(a);if(a=x6(l),a==="failure")return"failure";n=n.slice(0,-6),n=n.replace(/(\u0020)+$/,""),n=n.slice(0,-1)}n.startsWith(";")&&(n="text/plain"+n);let c=_I(n);return c==="failure"&&(c=_I("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(B6,"dataURLProcessor");function BT(t,e=!1){if(!e)return t.href;let r=t.href,n=t.hash.length,s=n===0?r:r.substring(0,r.length-n);return!n&&r.endsWith("#")?s.slice(0,-1):s}o(BT,"URLSerializer");function lp(t,e,r){let n="";for(;r.position=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(CT,"isHexCharByte");function IT(t){return t>=48&&t<=57?t-48:(t&223)-55}o(IT,"hexByteToNumber");function Q6(t){let e=t.length,r=new Uint8Array(e),n=0;for(let s=0;st.length)return"failure";e.position++;let n=pc(";",t,e);if(n=ap(n,!1,!0),n.length===0||!DA.test(n))return"failure";let s=r.toLowerCase(),i=n.toLowerCase(),a={type:s,subtype:i,parameters:new Map,essence:`${s}/${i}`};for(;e.positionE6.test(A),t,e);let c=lp(A=>A!==";"&&A!=="=",t,e);if(c=c.toLowerCase(),e.positiont.length)break;let l=null;if(t[e.position]==='"')l=xT(t,e,!0),pc(";",t,e);else if(l=pc(";",t,e),l=ap(l,!1,!0),l.length===0)continue;c.length!==0&&DA.test(c)&&(l.length===0||I6.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(_I,"parseMIMEType");function x6(t){t=t.replace(C6,"");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(x6,"forgivingBase64");function xT(t,e,r){let n=e.position,s="";for(cp(t[e.position]==='"'),e.position++;s+=lp(a=>a!=='"'&&a!=="\\",t,e),!(e.position>=t.length);){let i=t[e.position];if(e.position++,i==="\\"){if(e.position>=t.length){s+="\\";break}s+=t[e.position],e.position++}else{cp(i==='"');break}}return r?s:t.slice(n,e.position)}o(xT,"collectAnHTTPQuotedString");function b6(t){cp(t!=="failure");let{parameters:e,essence:r}=t,n=r;for(let[s,i]of e.entries())n+=";",n+=s,n+="=",DA.test(i)||(i=i.replace(/(\\|")/g,"\\$1"),i='"'+i,i+='"'),n+=i;return n}o(b6,"serializeAMimeType");function w6(t){return t===13||t===10||t===9||t===32}o(w6,"isHTTPWhiteSpace");function ap(t,e=!0,r=!0){return FI(t,e,r,w6)}o(ap,"removeHTTPWhitespace");function N6(t){return t===13||t===10||t===9||t===12||t===32}o(N6,"isASCIIWhitespace");function S6(t,e=!0,r=!0){return FI(t,e,r,N6)}o(S6,"removeASCIIWhitespace");function FI(t,e,r,n){let s=0,i=t.length-1;if(e)for(;s0&&n(t.charCodeAt(i));)i--;return s===0&&i===t.length-1?t:t.slice(s,i+1)}o(FI,"removeChars");function bT(t){let e=t.length;if(65535>e)return String.fromCharCode.apply(null,t);let r="",n=0,s=65535;for(;ne&&(s=e-n),r+=String.fromCharCode.apply(null,t.subarray(n,n+=s));return r}o(bT,"isomorphicDecode");function R6(t){switch(t.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}return t.subtype.endsWith("+json")?"application/json":t.subtype.endsWith("+xml")?"application/xml":""}o(R6,"minimizeSupportedMimeType");wT.exports={dataURLProcessor:B6,URLSerializer:BT,collectASequenceOfCodePoints:lp,collectASequenceOfCodePointsFast:pc,stringPercentDecode:QT,parseMIMEType:_I,collectAnHTTPQuotedString:xT,serializeAMimeType:b6,removeChars:FI,removeHTTPWhitespace:ap,minimizeSupportedMimeType:R6,HTTP_TOKEN_CODEPOINTS:DA,isomorphicDecode:bT}});var kt=g((J0e,NT)=>{"use strict";var{types:ss,inspect:P6}=require("node:util"),{markAsUncloneable:v6}=require("node:worker_threads"),{toUSVString:D6}=ce(),x={};x.converters={};x.util={};x.errors={};x.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};x.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 x.errors.exception({header:t.prefix,message:r})};x.errors.invalidArgument=function(t){return x.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};x.brandCheck=function(t,e,r){if(r?.strict!==!1){if(!(t instanceof e)){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}}else if(t?.[Symbol.toStringTag]!==e.prototype[Symbol.toStringTag]){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}};x.argumentLengthCheck=function({length:t},e,r){if(t{});x.util.ConvertToInt=function(t,e,r,n){let s,i;e===64?(s=Math.pow(2,53)-1,r==="unsigned"?i=0:i=Math.pow(-2,53)+1):r==="unsigned"?(i=0,s=Math.pow(2,e)-1):(i=Math.pow(-2,e)-1,s=Math.pow(2,e-1)-1);let a=Number(t);if(a===0&&(a=0),n?.enforceRange===!0){if(Number.isNaN(a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY)throw x.errors.exception({header:"Integer conversion",message:`Could not convert ${x.util.Stringify(t)} to an integer.`});if(a=x.util.IntegerPart(a),as)throw x.errors.exception({header:"Integer conversion",message:`Value must be between ${i}-${s}, got ${a}.`});return a}return!Number.isNaN(a)&&n?.clamp===!0?(a=Math.min(Math.max(a,i),s),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=x.util.IntegerPart(a),a=a%Math.pow(2,e),r==="signed"&&a>=Math.pow(2,e)-1?a-Math.pow(2,e):a)};x.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};x.util.Stringify=function(t){switch(x.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return P6(t);case"String":return`"${t}"`;default:return`${t}`}};x.sequenceConverter=function(t){return(e,r,n,s)=>{if(x.util.Type(e)!=="Object")throw x.errors.exception({header:r,message:`${n} (${x.util.Stringify(e)}) is not iterable.`});let i=typeof s=="function"?s():e?.[Symbol.iterator]?.(),a=[],c=0;if(i===void 0||typeof i.next!="function")throw x.errors.exception({header:r,message:`${n} is not iterable.`});for(;;){let{done:l,value:A}=i.next();if(l)break;a.push(t(A,r,`${n}[${c++}]`))}return a}};x.recordConverter=function(t,e){return(r,n,s)=>{if(x.util.Type(r)!=="Object")throw x.errors.exception({header:n,message:`${s} ("${x.util.Type(r)}") is not an Object.`});let i={};if(!ss.isProxy(r)){let c=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let l of c){let A=t(l,n,s),u=e(r[l],n,s);i[A]=u}return i}let a=Reflect.ownKeys(r);for(let c of a)if(Reflect.getOwnPropertyDescriptor(r,c)?.enumerable){let A=t(c,n,s),u=e(r[c],n,s);i[A]=u}return i}};x.interfaceConverter=function(t){return(e,r,n,s)=>{if(s?.strict!==!1&&!(e instanceof t))throw x.errors.exception({header:r,message:`Expected ${n} ("${x.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};x.dictionaryConverter=function(t){return(e,r,n)=>{let s=x.util.Type(e),i={};if(s==="Null"||s==="Undefined")return i;if(s!=="Object")throw x.errors.exception({header:r,message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let a of t){let{key:c,defaultValue:l,required:A,converter:u}=a;if(A===!0&&!Object.hasOwn(e,c))throw x.errors.exception({header:r,message:`Missing required key "${c}".`});let d=e[c],m=Object.hasOwn(a,"defaultValue");if(m&&d!==null&&(d??=l()),A||m||d!==void 0){if(d=u(d,r,`${n}.${c}`),a.allowedValues&&!a.allowedValues.includes(d))throw x.errors.exception({header:r,message:`${d} is not an accepted type. Expected one of ${a.allowedValues.join(", ")}.`});i[c]=d}}return i}};x.nullableConverter=function(t){return(e,r,n)=>e===null?e:t(e,r,n)};x.converters.DOMString=function(t,e,r,n){if(t===null&&n?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw x.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};x.converters.ByteString=function(t,e,r){let n=x.converters.DOMString(t,e,r);for(let s=0;s255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${s} has a value of ${n.charCodeAt(s)} which is greater than 255.`);return n};x.converters.USVString=D6;x.converters.boolean=function(t){return!!t};x.converters.any=function(t){return t};x.converters["long long"]=function(t,e,r){return x.util.ConvertToInt(t,64,"signed",void 0,e,r)};x.converters["unsigned long long"]=function(t,e,r){return x.util.ConvertToInt(t,64,"unsigned",void 0,e,r)};x.converters["unsigned long"]=function(t,e,r){return x.util.ConvertToInt(t,32,"unsigned",void 0,e,r)};x.converters["unsigned short"]=function(t,e,r,n){return x.util.ConvertToInt(t,16,"unsigned",n,e,r)};x.converters.ArrayBuffer=function(t,e,r,n){if(x.util.Type(t)!=="Object"||!ss.isAnyArrayBuffer(t))throw x.errors.conversionFailed({prefix:e,argument:`${r} ("${x.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(n?.allowShared===!1&&ss.isSharedArrayBuffer(t))throw x.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw x.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};x.converters.TypedArray=function(t,e,r,n,s){if(x.util.Type(t)!=="Object"||!ss.isTypedArray(t)||t.constructor.name!==e.name)throw x.errors.conversionFailed({prefix:r,argument:`${n} ("${x.util.Stringify(t)}")`,types:[e.name]});if(s?.allowShared===!1&&ss.isSharedArrayBuffer(t.buffer))throw x.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw x.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};x.converters.DataView=function(t,e,r,n){if(x.util.Type(t)!=="Object"||!ss.isDataView(t))throw x.errors.exception({header:e,message:`${r} is not a DataView.`});if(n?.allowShared===!1&&ss.isSharedArrayBuffer(t.buffer))throw x.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw x.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};x.converters.BufferSource=function(t,e,r,n){if(ss.isAnyArrayBuffer(t))return x.converters.ArrayBuffer(t,e,r,{...n,allowShared:!1});if(ss.isTypedArray(t))return x.converters.TypedArray(t,t.constructor,e,r,{...n,allowShared:!1});if(ss.isDataView(t))return x.converters.DataView(t,e,r,{...n,allowShared:!1});throw x.errors.conversionFailed({prefix:e,argument:`${r} ("${x.util.Stringify(t)}")`,types:["BufferSource"]})};x.converters["sequence"]=x.sequenceConverter(x.converters.ByteString);x.converters["sequence>"]=x.sequenceConverter(x.converters["sequence"]);x.converters["record"]=x.recordConverter(x.converters.ByteString,x.converters.ByteString);NT.exports={webidl:x}});var Rr=g((W0e,qT)=>{"use strict";var{Transform:k6}=require("node:stream"),ST=require("node:zlib"),{redirectStatusSet:T6,referrerPolicySet:M6,badPortsSet:L6}=vA(),{getGlobalOrigin:RT}=LI(),{collectASequenceOfCodePoints:Oo,collectAnHTTPQuotedString:_6,removeChars:F6,parseMIMEType:U6}=ar(),{performance:O6}=require("node:perf_hooks"),{isBlobLike:q6,ReadableStreamFrom:H6,isValidHTTPToken:PT,normalizedMethodRecordsBase:z6}=ce(),qo=require("node:assert"),{isUint8Array:G6}=require("node:util/types"),{webidl:kA}=kt(),vT=[],up;try{up=require("node:crypto");let t=["sha256","sha384","sha512"];vT=up.getHashes().filter(e=>t.includes(e))}catch{}function DT(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(DT,"responseURL");function Y6(t,e){if(!T6.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&TT(r)&&(kT(r)||(r=V6(r)),r=new URL(r,DT(t))),r&&!r.hash&&(r.hash=e),r}o(Y6,"responseLocationURL");function kT(t){for(let e=0;e126||r<32)return!1}return!0}o(kT,"isValidEncodedURL");function V6(t){return Buffer.from(t,"binary").toString("utf8")}o(V6,"normalizeBinaryStringToUtf8");function MA(t){return t.urlList[t.urlList.length-1]}o(MA,"requestCurrentURL");function J6(t){let e=MA(t);return UT(e)&&L6.has(e.port)?"blocked":"allowed"}o(J6,"requestBadPort");function W6(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(W6,"isErrorLike");function $6(t){for(let e=0;e=32&&r<=126||r>=128&&r<=255))return!1}return!0}o($6,"isValidReasonPhrase");var j6=PT;function TT(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(` -`)||t.includes("\r")||t.includes("\0"))===!1}o(TT,"isValidHeaderValue");function K6(t,e){let{headersList:r}=e,n=(r.get("referrer-policy",!0)??"").split(","),s="";if(n.length>0)for(let i=n.length;i!==0;i--){let a=n[i-1].trim();if(M6.has(a)){s=a;break}}s!==""&&(t.referrerPolicy=s)}o(K6,"setRequestReferrerPolicyOnRedirect");function X6(){return"allowed"}o(X6,"crossOriginResourcePolicyCheck");function Z6(){return"success"}o(Z6,"corsCheck");function ej(){return"success"}o(ej,"TAOCheck");function tj(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(tj,"appendFetchMetadata");function rj(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&&OI(t.origin)&&!OI(MA(t))&&(e=null);break;case"same-origin":dp(t,MA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(rj,"appendRequestOriginHeader");function hc(t,e){return t}o(hc,"coarsenTime");function nj(t,e,r){return!t?.startTime||t.startTime4096&&(n=s);let i=dp(t,n),a=TA(n)&&!TA(t.url);switch(e){case"origin":return s??UI(r,!0);case"unsafe-url":return n;case"same-origin":return i?s:"no-referrer";case"origin-when-cross-origin":return i?n:s;case"strict-origin-when-cross-origin":{let c=MA(t);return dp(n,c)?n:TA(n)&&!TA(c)?"no-referrer":s}default:return a?"no-referrer":s}}o(aj,"determineRequestsReferrer");function UI(t,e){return qo(t instanceof URL),t=new URL(t),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}o(UI,"stripURLForReferrer");function TA(t){if(!(t instanceof URL))return!1;if(t.href==="about:blank"||t.href==="about:srcdoc"||t.protocol==="data:"||t.protocol==="file:")return!0;return e(t.origin);function e(r){if(r==null||r==="null")return!1;let n=new URL(r);return!!(n.protocol==="https:"||n.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(n.hostname)||n.hostname==="localhost"||n.hostname.includes("localhost.")||n.hostname.endsWith(".localhost"))}}o(TA,"isURLPotentiallyTrustworthy");function cj(t,e){if(up===void 0)return!0;let r=LT(e);if(r==="no metadata"||r.length===0)return!0;let n=Aj(r),s=uj(r,n);for(let i of s){let a=i.algo,c=i.hash,l=up.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)),dj(l,c))return!0}return!1}o(cj,"bytesMatch");var lj=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function LT(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let s=lj.exec(n);if(s===null||s.groups===void 0||s.groups.algo===void 0)continue;let i=s.groups.algo.toLowerCase();vT.includes(i)&&e.push(s.groups)}return r===!0?"no metadata":e}o(LT,"parseMetadata");function Aj(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r{t=n,e=s}),resolve:t,reject:e}}o(pj,"createDeferredPromise");function hj(t){return t.controller.state==="aborted"}o(hj,"isAborted");function fj(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(fj,"isCancelled");function gj(t){return z6[t.toLowerCase()]??t}o(gj,"normalizeMethod");function yj(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return qo(typeof e=="string"),e}o(yj,"serializeJavascriptValueToJSONString");var Ej=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function _T(t,e,r=0,n=1){class s{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]:A,[n]:u}=c[a];this.#r=a+1;let d;switch(this.#t){case"key":d=A;break;case"value":d=u;break;case"key+value":d=[A,u];break}return{value:d,done:!1}}}return delete s.prototype.constructor,Object.setPrototypeOf(s.prototype,Ej),Object.defineProperties(s.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(i,a){return new s(i,a)}}o(_T,"createIterator");function Cj(t,e,r,n=0,s=1){let i=_T(t,r,n,s),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return kA.brandCheck(this,e),i(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return kA.brandCheck(this,e),i(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return kA.brandCheck(this,e),i(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,A=globalThis){if(kA.brandCheck(this,e),kA.argumentLengthCheck(arguments,1,`${t}.forEach`),typeof l!="function")throw new TypeError(`Failed to execute 'forEach' on '${t}': parameter 1 is not of type 'Function'.`);for(let{0:u,1:d}of i(this,"key+value"))l.call(A,d,u,this)},"forEach")}};return Object.defineProperties(e.prototype,{...a,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:a.entries.value}})}o(Cj,"iteratorMixin");async function Ij(t,e,r){let n=e,s=r,i;try{i=t.stream.getReader()}catch(a){s(a);return}try{n(await FT(i))}catch(a){s(a)}}o(Ij,"fullyReadBody");function Bj(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(Bj,"isReadableStreamLike");function Qj(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(Qj,"readableStreamClose");var xj=/[^\x00-\xFF]/;function Ap(t){return qo(!xj.test(t)),t}o(Ap,"isomorphicEncode");async function FT(t){let e=[],r=0;for(;;){let{done:n,value:s}=await t.read();if(n)return Buffer.concat(e,r);if(!G6(s))throw new TypeError("Received non-Uint8Array chunk");e.push(s),r+=s.length}}o(FT,"readAllBytes");function bj(t){qo("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(bj,"urlIsLocal");function OI(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(OI,"urlHasHttpsScheme");function UT(t){qo("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(UT,"urlIsHttpHttpsScheme");function wj(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(e&&Oo(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==61)return"failure";n.position++,e&&Oo(l=>l===" "||l===" ",r,n);let s=Oo(l=>{let A=l.charCodeAt(0);return A>=48&&A<=57},r,n),i=s.length?Number(s):null;if(e&&Oo(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==45)return"failure";n.position++,e&&Oo(l=>l===" "||l===" ",r,n);let a=Oo(l=>{let A=l.charCodeAt(0);return A>=48&&A<=57},r,n),c=a.length?Number(a):null;return n.positionc?"failure":{rangeStartValue:i,rangeEndValue:c}}o(wj,"simpleRangeHeaderValue");function Nj(t,e,r){let n="bytes ";return n+=Ap(`${t}`),n+="-",n+=Ap(`${e}`),n+="/",n+=Ap(`${r}`),n}o(Nj,"buildContentRange");var qI=class extends k6{static{o(this,"InflateStream")}#e;constructor(e){super(),this.#e=e}_transform(e,r,n){if(!this._inflateStream){if(e.length===0){n();return}this._inflateStream=(e[0]&15)===8?ST.createInflate(this.#e):ST.createInflateRaw(this.#e),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",s=>this.destroy(s))}this._inflateStream.write(e,r,n)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}};function Sj(t){return new qI(t)}o(Sj,"createInflate");function Rj(t){let e=null,r=null,n=null,s=OT("content-type",t);if(s===null)return"failure";for(let i of s){let a=U6(i);a==="failure"||a.essence==="*/*"||(n=a,n.essence!==r?(e=null,n.parameters.has("charset")&&(e=n.parameters.get("charset")),r=n.essence):!n.parameters.has("charset")&&e!==null&&n.parameters.set("charset",e))}return n??"failure"}o(Rj,"extractMimeType");function Pj(t){let e=t,r={position:0},n=[],s="";for(;r.positioni!=='"'&&i!==",",e,r),r.positioni===9||i===32),n.push(s),s=""}return n}o(Pj,"gettingDecodingSplitting");function OT(t,e){let r=e.get(t,!0);return r===null?null:Pj(r)}o(OT,"getDecodeSplit");var vj=new TextDecoder;function Dj(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),vj.decode(t))}o(Dj,"utf8DecodeBytes");var HI=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return RT()}get origin(){return this.baseUrl?.origin}policyContainer=MT()},zI=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new HI},kj=new zI;qT.exports={isAborted:hj,isCancelled:fj,isValidEncodedURL:kT,createDeferredPromise:pj,ReadableStreamFrom:H6,tryUpgradeRequestToAPotentiallyTrustworthyURL:mj,clampAndCoarsenConnectionTimingInfo:nj,coarsenedSharedCurrentTime:sj,determineRequestsReferrer:aj,makePolicyContainer:MT,clonePolicyContainer:oj,appendFetchMetadata:tj,appendRequestOriginHeader:rj,TAOCheck:ej,corsCheck:Z6,crossOriginResourcePolicyCheck:X6,createOpaqueTimingInfo:ij,setRequestReferrerPolicyOnRedirect:K6,isValidHTTPToken:PT,requestBadPort:J6,requestCurrentURL:MA,responseURL:DT,responseLocationURL:Y6,isBlobLike:q6,isURLPotentiallyTrustworthy:TA,isValidReasonPhrase:$6,sameOrigin:dp,normalizeMethod:gj,serializeJavascriptValueToJSONString:yj,iteratorMixin:Cj,createIterator:_T,isValidHeaderName:j6,isValidHeaderValue:TT,isErrorLike:W6,fullyReadBody:Ij,bytesMatch:cj,isReadableStreamLike:Bj,readableStreamClose:Qj,isomorphicEncode:Ap,urlIsLocal:bj,urlHasHttpsScheme:OI,urlIsHttpHttpsScheme:UT,readAllBytes:FT,simpleRangeHeaderValue:wj,buildContentRange:Nj,parseMetadata:LT,createInflate:Sj,extractMimeType:Rj,getDecodeSplit:OT,utf8DecodeBytes:Dj,environmentSettingsObject:kj}});var Yi=g((j0e,HT)=>{"use strict";HT.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var YI=g((K0e,zT)=>{"use strict";var{Blob:Tj,File:Mj}=require("node:buffer"),{kState:ci}=Yi(),{webidl:is}=kt(),GI=class t{static{o(this,"FileLike")}constructor(e,r,n={}){let s=r,i=n.type,a=n.lastModified??Date.now();this[ci]={blobLike:e,name:s,type:i,lastModified:a}}stream(...e){return is.brandCheck(this,t),this[ci].blobLike.stream(...e)}arrayBuffer(...e){return is.brandCheck(this,t),this[ci].blobLike.arrayBuffer(...e)}slice(...e){return is.brandCheck(this,t),this[ci].blobLike.slice(...e)}text(...e){return is.brandCheck(this,t),this[ci].blobLike.text(...e)}get size(){return is.brandCheck(this,t),this[ci].blobLike.size}get type(){return is.brandCheck(this,t),this[ci].blobLike.type}get name(){return is.brandCheck(this,t),this[ci].name}get lastModified(){return is.brandCheck(this,t),this[ci].lastModified}get[Symbol.toStringTag](){return"File"}};is.converters.Blob=is.interfaceConverter(Tj);function Lj(t){return t instanceof Mj||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(Lj,"isFileLike");zT.exports={FileLike:GI,isFileLike:Lj}});var _A=g((Z0e,WT)=>{"use strict";var{isBlobLike:mp,iteratorMixin:_j}=Rr(),{kState:Vt}=Yi(),{kEnumerableProperty:fc}=ce(),{FileLike:GT,isFileLike:Fj}=YI(),{webidl:ke}=kt(),{File:JT}=require("node:buffer"),YT=require("node:util"),VT=globalThis.File??JT,LA=class t{static{o(this,"FormData")}constructor(e){if(ke.util.markAsUncloneable(this),e!==void 0)throw ke.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[Vt]=[]}append(e,r,n=void 0){ke.brandCheck(this,t);let s="FormData.append";if(ke.argumentLengthCheck(arguments,2,s),arguments.length===3&&!mp(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=ke.converters.USVString(e,s,"name"),r=mp(r)?ke.converters.Blob(r,s,"value",{strict:!1}):ke.converters.USVString(r,s,"value"),n=arguments.length===3?ke.converters.USVString(n,s,"filename"):void 0;let i=VI(e,r,n);this[Vt].push(i)}delete(e){ke.brandCheck(this,t);let r="FormData.delete";ke.argumentLengthCheck(arguments,1,r),e=ke.converters.USVString(e,r,"name"),this[Vt]=this[Vt].filter(n=>n.name!==e)}get(e){ke.brandCheck(this,t);let r="FormData.get";ke.argumentLengthCheck(arguments,1,r),e=ke.converters.USVString(e,r,"name");let n=this[Vt].findIndex(s=>s.name===e);return n===-1?null:this[Vt][n].value}getAll(e){ke.brandCheck(this,t);let r="FormData.getAll";return ke.argumentLengthCheck(arguments,1,r),e=ke.converters.USVString(e,r,"name"),this[Vt].filter(n=>n.name===e).map(n=>n.value)}has(e){ke.brandCheck(this,t);let r="FormData.has";return ke.argumentLengthCheck(arguments,1,r),e=ke.converters.USVString(e,r,"name"),this[Vt].findIndex(n=>n.name===e)!==-1}set(e,r,n=void 0){ke.brandCheck(this,t);let s="FormData.set";if(ke.argumentLengthCheck(arguments,2,s),arguments.length===3&&!mp(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=ke.converters.USVString(e,s,"name"),r=mp(r)?ke.converters.Blob(r,s,"name",{strict:!1}):ke.converters.USVString(r,s,"name"),n=arguments.length===3?ke.converters.USVString(n,s,"name"):void 0;let i=VI(e,r,n),a=this[Vt].findIndex(c=>c.name===e);a!==-1?this[Vt]=[...this[Vt].slice(0,a),i,...this[Vt].slice(a+1).filter(c=>c.name!==e)]:this[Vt].push(i)}[YT.inspect.custom](e,r){let n=this[Vt].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 s=YT.formatWithOptions(r,n);return`FormData ${s.slice(s.indexOf("]")+2)}`}};_j("FormData",LA,Vt,"name","value");Object.defineProperties(LA.prototype,{append:fc,delete:fc,get:fc,getAll:fc,has:fc,set:fc,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function VI(t,e,r){if(typeof e!="string"){if(Fj(e)||(e=e instanceof Blob?new VT([e],"blob",{type:e.type}):new GT(e,"blob",{type:e.type})),r!==void 0){let n={type:e.type,lastModified:e.lastModified};e=e instanceof JT?new VT([e],r,n):new GT(e,r,n)}}return{name:t,value:e}}o(VI,"makeEntry");WT.exports={FormData:LA,makeEntry:VI}});var eM=g((tNe,ZT)=>{"use strict";var{isUSVString:$T,bufferToLowerCasedHeaderName:Uj}=ce(),{utf8DecodeBytes:Oj}=Rr(),{HTTP_TOKEN_CODEPOINTS:qj,isomorphicDecode:jT}=ar(),{isFileLike:Hj}=YI(),{makeEntry:zj}=_A(),pp=require("node:assert"),{File:Gj}=require("node:buffer"),Yj=globalThis.File??Gj,Vj=Buffer.from('form-data; name="'),KT=Buffer.from("; filename"),Jj=Buffer.from("--"),Wj=Buffer.from(`--\r -`);function $j(t){for(let e=0;e70)return!1;for(let r=0;r=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122||n===39||n===45||n===95))return!1}return!0}o(jj,"validateBoundary");function Kj(t,e){pp(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let n=Buffer.from(`--${r}`,"utf8"),s=[],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+n.length).equals(n))i.position+=n.length;else return"failure";if(i.position===t.length-2&&hp(t,Jj,i)||i.position===t.length-4&&hp(t,Wj,i))return s;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let c=Xj(t,i);if(c==="failure")return"failure";let{name:l,filename:A,contentType:u,encoding:d}=c;i.position+=2;let m;{let h=t.indexOf(n.subarray(2),i.position);if(h===-1)return"failure";m=t.subarray(i.position,h-4),i.position+=m.length,d==="base64"&&(m=Buffer.from(m.toString(),"base64"))}if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let p;A!==null?(u??="text/plain",$j(u)||(u=""),p=new Yj([m],A,{type:u})):p=Oj(Buffer.from(m)),pp($T(l)),pp(typeof p=="string"&&$T(p)||Hj(p)),s.push(zj(l,p,A))}}o(Kj,"multipartFormDataParser");function Xj(t,e){let r=null,n=null,s=null,i=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:n,contentType:s,encoding:i};let a=gc(c=>c!==10&&c!==13&&c!==58,t,e);if(a=JI(a,!0,!0,c=>c===9||c===32),!qj.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,gc(c=>c===32||c===9,t,e),Uj(a)){case"content-disposition":{if(r=n=null,!hp(t,Vj,e)||(e.position+=17,r=XT(t,e),r===null))return"failure";if(hp(t,KT,e)){let c=e.position+KT.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,n=XT(t,e),n===null))return"failure"}break}case"content-type":{let c=gc(l=>l!==10&&l!==13,t,e);c=JI(c,!1,!0,l=>l===9||l===32),s=jT(c);break}case"content-transfer-encoding":{let c=gc(l=>l!==10&&l!==13,t,e);c=JI(c,!1,!0,l=>l===9||l===32),i=jT(c);break}default:gc(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(Xj,"parseMultipartFormDataHeaders");function XT(t,e){pp(t[e.position-1]===34);let r=gc(n=>n!==10&&n!==13&&n!==34,t,e);return t[e.position]!==34?null:(e.position++,r=new TextDecoder().decode(r).replace(/%0A/ig,` -`).replace(/%0D/ig,"\r").replace(/%22/g,'"'),r)}o(XT,"parseMultipartFormDataName");function gc(t,e,r){let n=r.position;for(;n0&&n(t[i]);)i--;return s===0&&i===t.length-1?t:t.subarray(s,i+1)}o(JI,"removeChars");function hp(t,e,r){if(t.length{"use strict";var FA=ce(),{ReadableStreamFrom:Zj,isBlobLike:tM,isReadableStreamLike:eK,readableStreamClose:tK,createDeferredPromise:rK,fullyReadBody:nK,extractMimeType:sK,utf8DecodeBytes:sM}=Rr(),{FormData:rM}=_A(),{kState:Ec}=Yi(),{webidl:iK}=kt(),{Blob:oK}=require("node:buffer"),WI=require("node:assert"),{isErrored:iM,isDisturbed:aK}=require("node:stream"),{isArrayBuffer:cK}=require("node:util/types"),{serializeAMimeType:lK}=ar(),{multipartFormDataParser:AK}=eM(),$I;try{let t=require("node:crypto");$I=o(e=>t.randomInt(0,e),"random")}catch{$I=o(t=>Math.floor(Math.random(t)),"random")}var fp=new TextEncoder;function uK(){}o(uK,"noop");var oM=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,aM;oM&&(aM=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!aK(e)&&!iM(e)&&e.cancel("Response object has been garbage collected").catch(uK)}));function cM(t,e=!1){let r=null;t instanceof ReadableStream?r=t:tM(t)?r=t.stream():r=new ReadableStream({async pull(l){let A=typeof s=="string"?fp.encode(s):s;A.byteLength&&l.enqueue(A),queueMicrotask(()=>tK(l))},start(){},type:"bytes"}),WI(eK(r));let n=null,s=null,i=null,a=null;if(typeof t=="string")s=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)s=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(cK(t))s=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))s=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(FA.isFormDataLike(t)){let l=`----formdata-undici-0${`${$I(1e11)}`.padStart(11,"0")}`,A=`--${l}\r +var L5=Object.create;var Ym=Object.defineProperty;var _5=Object.getOwnPropertyDescriptor;var F5=Object.getOwnPropertyNames;var U5=Object.getPrototypeOf,O5=Object.prototype.hasOwnProperty;var o=(t,e)=>Ym(t,"name",{value:e,configurable:!0});var g=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),q5=(t,e)=>{for(var r in e)Ym(t,r,{get:e[r],enumerable:!0})},H5=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of F5(e))!O5.call(t,s)&&s!==r&&Ym(t,s,{get:()=>e[s],enumerable:!(n=_5(e,s))||n.enumerable});return t};var Q=(t,e,r)=>(r=t!=null?L5(U5(t)):{},H5(e||!t||!t.__esModule?Ym(r,"default",{value:t,enumerable:!0}):r,t));var XD=g(ac=>{"use strict";var v0e=require("net"),V5=require("tls"),VC=require("http"),$D=require("https"),J5=require("events"),D0e=require("assert"),W5=require("util");ac.httpOverHttp=$5;ac.httpsOverHttp=j5;ac.httpOverHttps=K5;ac.httpsOverHttps=X5;function $5(t){var e=new si(t);return e.request=VC.request,e}o($5,"httpOverHttp");function j5(t){var e=new si(t);return e.request=VC.request,e.createSocket=jD,e.defaultPort=443,e}o(j5,"httpsOverHttp");function K5(t){var e=new si(t);return e.request=$D.request,e}o(K5,"httpOverHttps");function X5(t){var e=new si(t);return e.request=$D.request,e.createSocket=jD,e.defaultPort=443,e}o(X5,"httpsOverHttps");function si(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||VC.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(n,s,i,a){for(var c=KD(s,i,a),l=0,A=e.requests.length;l=this.maxSockets){i.requests.push(a);return}i.createSocket(a,function(c){c.on("free",l),c.on("close",A),c.on("agentRemove",A),e.onSocket(c);function l(){i.emit("free",c,a)}o(l,"onFree");function A(u){i.removeSocket(c),c.removeListener("free",l),c.removeListener("close",A),c.removeListener("agentRemove",A)}o(A,"onCloseOrRemove")})},"addRequest");si.prototype.createSocket=o(function(e,r){var n=this,s={};n.sockets.push(s);var i=JC({},n.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")),Yi("making CONNECT request");var a=n.request(i);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",A),a.once("error",u),a.end();function c(d){d.upgrade=!0}o(c,"onResponse");function l(d,m,p){process.nextTick(function(){A(d,m,p)})}o(l,"onUpgrade");function A(d,m,p){if(a.removeAllListeners(),m.removeAllListeners(),d.statusCode!==200){Yi("tunneling socket could not be established, statusCode=%d",d.statusCode),m.destroy();var h=new Error("tunneling socket could not be established, statusCode="+d.statusCode);h.code="ECONNRESET",e.request.emit("error",h),n.removeSocket(s);return}if(p.length>0){Yi("got illegal response body from proxy"),m.destroy();var h=new Error("got illegal response body from proxy");h.code="ECONNRESET",e.request.emit("error",h),n.removeSocket(s);return}return Yi("tunneling connection has established"),n.sockets[n.sockets.indexOf(s)]=m,r(m)}o(A,"onConnect");function u(d){a.removeAllListeners(),Yi(`tunneling socket could not be established, cause=%s +`,d.message,d.stack);var m=new Error("tunneling socket could not be established, cause="+d.message);m.code="ECONNRESET",e.request.emit("error",m),n.removeSocket(s)}o(u,"onError")},"createSocket");si.prototype.removeSocket=o(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createSocket(n,function(s){n.request.onSocket(s)})}},"removeSocket");function jD(t,e){var r=this;si.prototype.createSocket.call(r,t,function(n){var s=t.request.getHeader("host"),i=JC({},r.options,{socket:n,servername:s?s.replace(/:.*$/,""):t.host}),a=V5.connect(0,i);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}o(jD,"createSecureSocket");function KD(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(KD,"toOptions");function JC(t){for(var e=1,r=arguments.length;e{ZD.exports=XD()});var Oe=g((L0e,ek)=>{ek.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 ye=g((_0e,bk)=>{"use strict";var tk=Symbol.for("undici.error.UND_ERR"),qe=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[tk]===!0}[tk]=!0},rk=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),$C=class extends qe{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[rk]===!0}[rk]=!0},nk=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),jC=class extends qe{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[nk]===!0}[nk]=!0},sk=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),KC=class extends qe{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[sk]===!0}[sk]=!0},ik=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),XC=class extends qe{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[ik]===!0}[ik]=!0},ok=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),ZC=class extends qe{static{o(this,"ResponseStatusCodeError")}constructor(e,r,n,s){super(e),this.name="ResponseStatusCodeError",this.message=e||"Response Status Code Error",this.code="UND_ERR_RESPONSE_STATUS_CODE",this.body=s,this.status=r,this.statusCode=r,this.headers=n}static[Symbol.hasInstance](e){return e&&e[ok]===!0}[ok]=!0},ak=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),eI=class extends qe{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[ak]===!0}[ak]=!0},ck=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),tI=class extends qe{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[ck]===!0}[ck]=!0},lk=Symbol.for("undici.error.UND_ERR_ABORT"),Wm=class extends qe{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[lk]===!0}[lk]=!0},Ak=Symbol.for("undici.error.UND_ERR_ABORTED"),rI=class extends Wm{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[Ak]===!0}[Ak]=!0},uk=Symbol.for("undici.error.UND_ERR_INFO"),nI=class extends qe{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[uk]===!0}[uk]=!0},dk=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),sI=class extends qe{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[dk]===!0}[dk]=!0},mk=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),iI=class extends qe{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[mk]===!0}[mk]=!0},pk=Symbol.for("undici.error.UND_ERR_DESTROYED"),oI=class extends qe{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[pk]===!0}[pk]=!0},hk=Symbol.for("undici.error.UND_ERR_CLOSED"),aI=class extends qe{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[hk]===!0}[hk]=!0},fk=Symbol.for("undici.error.UND_ERR_SOCKET"),cI=class extends qe{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[fk]===!0}[fk]=!0},gk=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),lI=class extends qe{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[gk]===!0}[gk]=!0},yk=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),AI=class extends qe{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[yk]===!0}[yk]=!0},Ek=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),uI=class extends Error{static{o(this,"HTTPParserError")}constructor(e,r,n){super(e),this.name="HTTPParserError",this.code=r?`HPE_${r}`:void 0,this.data=n?n.toString():void 0}static[Symbol.hasInstance](e){return e&&e[Ek]===!0}[Ek]=!0},Ck=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),dI=class extends qe{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[Ck]===!0}[Ck]=!0},Ik=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),mI=class extends qe{static{o(this,"RequestRetryError")}constructor(e,r,{headers:n,data:s}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=r,this.data=s,this.headers=n}static[Symbol.hasInstance](e){return e&&e[Ik]===!0}[Ik]=!0},Bk=Symbol.for("undici.error.UND_ERR_RESPONSE"),pI=class extends qe{static{o(this,"ResponseError")}constructor(e,r,{headers:n,data:s}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=r,this.data=s,this.headers=n}static[Symbol.hasInstance](e){return e&&e[Bk]===!0}[Bk]=!0},Qk=Symbol.for("undici.error.UND_ERR_PRX_TLS"),hI=class extends qe{static{o(this,"SecureProxyConnectionError")}constructor(e,r,n){super(r,{cause:e,...n??{}}),this.name="SecureProxyConnectionError",this.message=r||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&e[Qk]===!0}[Qk]=!0},xk=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),fI=class extends qe{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[xk]===!0}get[xk](){return!0}};bk.exports={AbortError:Wm,HTTPParserError:uI,UndiciError:qe,HeadersTimeoutError:jC,HeadersOverflowError:KC,BodyTimeoutError:XC,RequestContentLengthMismatchError:sI,ConnectTimeoutError:$C,ResponseStatusCodeError:ZC,InvalidArgumentError:eI,InvalidReturnValueError:tI,RequestAbortedError:rI,ClientDestroyedError:oI,ClientClosedError:aI,InformationalError:nI,SocketError:cI,NotSupportedError:lI,ResponseContentLengthMismatchError:iI,BalancedPoolMissingUpstreamError:AI,ResponseExceededMaxSizeError:dI,RequestRetryError:mI,ResponseError:pI,SecureProxyConnectionError:hI,MessageSizeExceededError:fI}});var jm=g((U0e,wk)=>{"use strict";var $m={},gI=["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:Nk,headerNameLowerCasedRecord:Z5}=jm(),yI=class t{static{o(this,"TstNode")}value=null;left=null;middle=null;right=null;code;constructor(e,r,n){if(n===void 0||n>=e.length)throw new TypeError("Unreachable");if((this.code=e.charCodeAt(n))>127)throw new TypeError("key must be ascii string");e.length!==++n?this.middle=new t(e,r,n):this.value=r}add(e,r){let n=e.length;if(n===0)throw new TypeError("Unreachable");let s=0,i=this;for(;;){let a=e.charCodeAt(s);if(a>127)throw new TypeError("key must be ascii string");if(i.code===a)if(n===++s){i.value=r;break}else if(i.middle!==null)i=i.middle;else{i.middle=new t(e,r,s);break}else if(i.code=65&&(i|=32);s!==null;){if(i===s.code){if(r===++n)return s;s=s.middle;break}s=s.code{"use strict";var NA=require("node:assert"),{kDestroyed:Dk,kBodyUsed:cc,kListeners:EI,kBody:vk}=Oe(),{IncomingMessage:e9}=require("node:http"),ep=require("node:stream"),t9=require("node:net"),{Blob:r9}=require("node:buffer"),n9=require("node:util"),{stringify:s9}=require("node:querystring"),{EventEmitter:i9}=require("node:events"),{InvalidArgumentError:bt}=ye(),{headerNameLowerCasedRecord:o9}=jm(),{tree:kk}=Pk(),[a9,c9]=process.versions.node.split(".").map(t=>Number(t)),Zm=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[vk]=e,this[cc]=!1}async*[Symbol.asyncIterator](){NA(!this[cc],"disturbed"),this[cc]=!0,yield*this[vk]}};function l9(t){return tp(t)?(Fk(t)===0&&t.on("data",function(){NA(!1)}),typeof t.readableDidRead!="boolean"&&(t[cc]=!1,i9.prototype.on.call(t,"data",function(){this[cc]=!0})),t):t&&typeof t.pipeTo=="function"?new Zm(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&_k(t)?new Zm(t):t}o(l9,"wrapRequestBody");function A9(){}o(A9,"nop");function tp(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(tp,"isStream");function Tk(t){if(t===null)return!1;if(t instanceof r9)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(Tk,"isBlobLike");function u9(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=s9(e);return r&&(t+="?"+r),t}o(u9,"buildURL");function Mk(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(Mk,"isValidPort");function Xm(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(Xm,"isHttpOrHttpsPrefixed");function Lk(t){if(typeof t=="string"){if(t=new URL(t),!Xm(t.origin||t.protocol))throw new bt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new bt("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&Mk(t.port)===!1)throw new bt("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 bt("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new bt("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new bt("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new bt("Invalid URL origin: the origin must be a string or null/undefined.");if(!Xm(t.origin||t.protocol))throw new bt("Invalid URL protocol: the URL must start with `http:` or `https:`.");let e=t.port!=null?t.port:t.protocol==="https:"?443:80,r=t.origin!=null?t.origin:`${t.protocol||""}//${t.hostname||""}:${e}`,n=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return r[r.length-1]==="/"&&(r=r.slice(0,r.length-1)),n&&n[0]!=="/"&&(n=`/${n}`),new URL(`${r}${n}`)}if(!Xm(t.origin||t.protocol))throw new bt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(Lk,"parseURL");function d9(t){if(t=Lk(t),t.pathname!=="/"||t.search||t.hash)throw new bt("invalid url");return t}o(d9,"parseOrigin");function m9(t){if(t[0]==="["){let r=t.indexOf("]");return NA(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}o(m9,"getHostname");function p9(t){if(!t)return null;NA(typeof t=="string");let e=m9(t);return t9.isIP(e)?"":e}o(p9,"getServerName");function h9(t){return JSON.parse(JSON.stringify(t))}o(h9,"deepClone");function f9(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(f9,"isAsyncIterable");function _k(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(_k,"isIterable");function Fk(t){if(t==null)return 0;if(tp(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(Tk(t))return t.size!=null?t.size:null;if(qk(t))return t.byteLength}return null}o(Fk,"bodyLength");function Uk(t){return t&&!!(t.destroyed||t[Dk]||ep.isDestroyed?.(t))}o(Uk,"isDestroyed");function g9(t,e){t==null||!tp(t)||Uk(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===e9&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[Dk]=!0))}o(g9,"destroy");var y9=/timeout=(\d+)/;function E9(t){let e=t.toString().match(y9);return e?parseInt(e[1],10)*1e3:null}o(E9,"parseKeepAliveTimeout");function Ok(t){return typeof t=="string"?o9[t]??t.toLowerCase():kk.lookup(t)??t.toString("latin1").toLowerCase()}o(Ok,"headerNameToString");function C9(t){return kk.lookup(t)??t.toString("latin1").toLowerCase()}o(C9,"bufferToLowerCasedHeaderName");function I9(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(I9,"parseHeaders");function B9(t){let e=t.length,r=new Array(e),n=!1,s=-1,i,a,c=0;for(let l=0;l{r.close(),r.byobRequest?.respond(0)});else{let i=Buffer.isBuffer(s)?s:Buffer.from(s);i.byteLength&&r.enqueue(new Uint8Array(i))}return r.desiredSize>0},async cancel(r){await e.return()},type:"bytes"})}o(S9,"ReadableStreamFrom");function R9(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(R9,"isFormDataLike");function P9(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(P9,"addAbortListener");var v9=typeof String.prototype.toWellFormed=="function",D9=typeof String.prototype.isWellFormed=="function";function Hk(t){return v9?`${t}`.toWellFormed():n9.toUSVString(t)}o(Hk,"toUSVString");function k9(t){return D9?`${t}`.isWellFormed():Hk(t)===`${t}`}o(k9,"isUSVString");function zk(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(zk,"isTokenCharCode");function T9(t){if(t.length===0)return!1;for(let e=0;e{"use strict";var xe=require("node:diagnostics_channel"),BI=require("node:util"),rp=BI.debuglog("undici"),II=BI.debuglog("fetch"),Uo=BI.debuglog("websocket"),Jk=!1,q9={beforeConnect:xe.channel("undici:client:beforeConnect"),connected:xe.channel("undici:client:connected"),connectError:xe.channel("undici:client:connectError"),sendHeaders:xe.channel("undici:client:sendHeaders"),create:xe.channel("undici:request:create"),bodySent:xe.channel("undici:request:bodySent"),headers:xe.channel("undici:request:headers"),trailers:xe.channel("undici:request:trailers"),error:xe.channel("undici:request:error"),open:xe.channel("undici:websocket:open"),close:xe.channel("undici:websocket:close"),socketError:xe.channel("undici:websocket:socket_error"),ping:xe.channel("undici:websocket:ping"),pong:xe.channel("undici:websocket:pong")};if(rp.enabled||II.enabled){let t=II.enabled?II:rp;xe.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:s,host:i}}=e;t("connecting to %s using %s%s",`${i}${s?`:${s}`:""}`,n,r)}),xe.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:s,host:i}}=e;t("connected to %s using %s%s",`${i}${s?`:${s}`:""}`,n,r)}),xe.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:s,host:i},error:a}=e;t("connection to %s using %s%s errored - %s",`${i}${s?`:${s}`:""}`,n,r,a.message)}),xe.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:s}}=e;t("sending request to %s %s/%s",r,s,n)}),xe.channel("undici:request:headers").subscribe(e=>{let{request:{method:r,path:n,origin:s},response:{statusCode:i}}=e;t("received response to %s %s/%s - HTTP %d",r,s,n,i)}),xe.channel("undici:request:trailers").subscribe(e=>{let{request:{method:r,path:n,origin:s}}=e;t("trailers received from %s %s/%s",r,s,n)}),xe.channel("undici:request:error").subscribe(e=>{let{request:{method:r,path:n,origin:s},error:i}=e;t("request to %s %s/%s errored - %s",r,s,n,i.message)}),Jk=!0}if(Uo.enabled){if(!Jk){let t=rp.enabled?rp:Uo;xe.channel("undici:client:beforeConnect").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:s,host:i}}=e;t("connecting to %s%s using %s%s",i,s?`:${s}`:"",n,r)}),xe.channel("undici:client:connected").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:s,host:i}}=e;t("connected to %s%s using %s%s",i,s?`:${s}`:"",n,r)}),xe.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:s,host:i},error:a}=e;t("connection to %s%s using %s%s errored - %s",i,s?`:${s}`:"",n,r,a.message)}),xe.channel("undici:client:sendHeaders").subscribe(e=>{let{request:{method:r,path:n,origin:s}}=e;t("sending request to %s %s/%s",r,s,n)})}xe.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;Uo("connection opened %s%s",e,r?`:${r}`:"")}),xe.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:n}=t;Uo("closed connection to %s - %s %s",e.url,r,n)}),xe.channel("undici:websocket:socket_error").subscribe(t=>{Uo("connection errored - %s",t.message)}),xe.channel("undici:websocket:ping").subscribe(t=>{Uo("ping received")}),xe.channel("undici:websocket:pong").subscribe(t=>{Uo("pong received")})}Wk.exports={channels:q9}});var Xk=g((Y0e,Kk)=>{"use strict";var{InvalidArgumentError:Se,NotSupportedError:H9}=ye(),ii=require("node:assert"),{isValidHTTPToken:jk,isValidHeaderValue:SA,isStream:z9,destroy:G9,isBuffer:Y9,isFormDataLike:V9,isIterable:J9,isBlobLike:W9,buildURL:$9,validateHandler:j9,getServerName:K9,normalizedMethodRecords:X9}=ce(),{channels:ss}=lc(),{headerNameLowerCasedRecord:$k}=jm(),Z9=/[^\u0021-\u00ff]/,nn=Symbol("handler"),QI=class{static{o(this,"Request")}constructor(e,{path:r,method:n,body:s,headers:i,query:a,idempotent:c,blocking:l,upgrade:A,headersTimeout:u,bodyTimeout:d,reset:m,throwOnError:p,expectContinue:h,servername:f},C){if(typeof r!="string")throw new Se("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new Se("path must be an absolute URL or start with a slash");if(Z9.test(r))throw new Se("invalid request path");if(typeof n!="string")throw new Se("method must be a string");if(X9[n]===void 0&&!jk(n))throw new Se("invalid request method");if(A&&typeof A!="string")throw new Se("upgrade must be a string");if(A&&!SA(A))throw new Se("invalid upgrade header");if(u!=null&&(!Number.isFinite(u)||u<0))throw new Se("invalid headersTimeout");if(d!=null&&(!Number.isFinite(d)||d<0))throw new Se("invalid bodyTimeout");if(m!=null&&typeof m!="boolean")throw new Se("invalid reset");if(h!=null&&typeof h!="boolean")throw new Se("invalid expectContinue");if(this.headersTimeout=u,this.bodyTimeout=d,this.throwOnError=p===!0,this.method=n,this.abort=null,s==null)this.body=null;else if(z9(s)){this.body=s;let y=this.body._readableState;(!y||!y.autoDestroy)&&(this.endHandler=o(function(){G9(this)},"autoDestroy"),this.body.on("end",this.endHandler)),this.errorHandler=E=>{this.abort?this.abort(E):this.error=E},this.body.on("error",this.errorHandler)}else if(Y9(s))this.body=s.byteLength?s:null;else if(ArrayBuffer.isView(s))this.body=s.buffer.byteLength?Buffer.from(s.buffer,s.byteOffset,s.byteLength):null;else if(s instanceof ArrayBuffer)this.body=s.byteLength?Buffer.from(s):null;else if(typeof s=="string")this.body=s.length?Buffer.from(s):null;else if(V9(s)||J9(s)||W9(s))this.body=s;else throw new Se("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=A||null,this.path=a?$9(r,a):r,this.origin=e,this.idempotent=c??(n==="HEAD"||n==="GET"),this.blocking=l??!1,this.reset=m??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 Se("headers array must be even");for(let y=0;y{"use strict";var e6=require("node:events"),sp=class extends e6{static{o(this,"Dispatcher")}dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...e){let r=Array.isArray(e[0])?e[0]:e,n=this.dispatch.bind(this);for(let s of r)if(s!=null){if(typeof s!="function")throw new TypeError(`invalid interceptor, expected function received ${typeof s}`);if(n=s(n),n==null||typeof n!="function"||n.length!==2)throw new TypeError("invalid interceptor")}return new xI(this,n)}},xI=class extends sp{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)}};Zk.exports=sp});var mc=g(($0e,eT)=>{"use strict";var t6=RA(),{ClientDestroyedError:bI,ClientClosedError:r6,InvalidArgumentError:Ac}=ye(),{kDestroy:n6,kClose:s6,kClosed:PA,kDestroyed:uc,kDispatch:wI,kInterceptors:Oo}=Oe(),oi=Symbol("onDestroyed"),dc=Symbol("onClosed"),ip=Symbol("Intercepted Dispatch"),NI=Symbol("webSocketOptions"),SI=class extends t6{static{o(this,"DispatcherBase")}constructor(e){super(),this[uc]=!1,this[oi]=null,this[PA]=!1,this[dc]=[],this[NI]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[NI].maxFragments??131072,maxPayloadSize:this[NI].maxPayloadSize??128*1024*1024}}get destroyed(){return this[uc]}get closed(){return this[PA]}get interceptors(){return this[Oo]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[Oo][r]!="function")throw new Ac("interceptor must be an function")}this[Oo]=e}close(e){if(e===void 0)return new Promise((n,s)=>{this.close((i,a)=>i?s(i):n(a))});if(typeof e!="function")throw new Ac("invalid callback");if(this[uc]){queueMicrotask(()=>e(new bI,null));return}if(this[PA]){this[dc]?this[dc].push(e):queueMicrotask(()=>e(null,null));return}this[PA]=!0,this[dc].push(e);let r=o(()=>{let n=this[dc];this[dc]=null;for(let s=0;sthis.destroy()).then(()=>{queueMicrotask(r)})}destroy(e,r){if(typeof e=="function"&&(r=e,e=null),r===void 0)return new Promise((s,i)=>{this.destroy(e,(a,c)=>a?i(a):s(c))});if(typeof r!="function")throw new Ac("invalid callback");if(this[uc]){this[oi]?this[oi].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new bI),this[uc]=!0,this[oi]=this[oi]||[],this[oi].push(r);let n=o(()=>{let s=this[oi];this[oi]=null;for(let i=0;i{queueMicrotask(n)})}[ip](e,r){if(!this[Oo]||this[Oo].length===0)return this[ip]=this[wI],this[wI](e,r);let n=this[wI].bind(this);for(let s=this[Oo].length-1;s>=0;s--)n=this[Oo][s](n);return this[ip]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new Ac("handler must be an object");try{if(!e||typeof e!="object")throw new Ac("opts must be an object.");if(this[uc]||this[oi])throw new bI;if(this[PA])throw new r6;return this[ip](e,r)}catch(n){if(typeof r.onError!="function")throw new Ac("invalid onError method");return r.onError(n),!1}}};eT.exports=SI});var MI=g((K0e,sT)=>{"use strict";var pc=0,RI=1e3,PI=(RI>>1)-1,ai,vI=Symbol("kFastTimer"),ci=[],DI=-2,kI=-1,rT=0,tT=1;function TI(){pc+=PI;let t=0,e=ci.length;for(;t=r._idleStart+r._idleTimeout&&(r._state=kI,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===kI?(r._state=DI,--e!==0&&(ci[t]=ci[e])):++t}ci.length=e,ci.length!==0&&nT()}o(TI,"onTick");function nT(){ai?ai.refresh():(clearTimeout(ai),ai=setTimeout(TI,PI),ai.unref&&ai.unref())}o(nT,"refreshTimeout");var op=class{static{o(this,"FastTimer")}[vI]=!0;_state=DI;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,n){this._onTimeout=e,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===DI&&ci.push(this),(!ai||ci.length===1)&&nT(),this._state=rT}clear(){this._state=kI,this._idleStart=-1}};sT.exports={setTimeout(t,e,r){return e<=RI?setTimeout(t,e,r):new op(t,e,r)},clearTimeout(t){t[vI]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new op(t,e,r)},clearFastTimeout(t){t.clear()},now(){return pc},tick(t=0){pc+=t-RI+1,TI(),TI()},reset(){pc=0,ci.length=0,clearTimeout(ai),ai=null},kFastTimer:vI}});var vA=g((tNe,lT)=>{"use strict";var i6=require("node:net"),iT=require("node:assert"),cT=ce(),{InvalidArgumentError:o6,ConnectTimeoutError:a6}=ye(),ap=MI();function oT(){}o(oT,"noop");var LI,_I;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?_I=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:n}=this._sessionCache.keys().next();this._sessionCache.delete(n)}this._sessionCache.set(e,r)}}};function c6({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:n,session:s,...i}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new o6("maxCachedSessions must be a positive integer or zero");let a={path:r,...i},c=new _I(e??100);return n=n??1e4,t=t??!1,o(function({hostname:A,host:u,protocol:d,port:m,servername:p,localAddress:h,httpSocket:f},C){let y;if(d==="https:"){LI||(LI=require("node:tls")),p=p||a.servername||cT.getServerName(u)||null;let I=p||A;iT(I);let B=s||c.get(I)||null;m=m||443,y=LI.connect({highWaterMark:16384,...a,servername:p,session:B,localAddress:h,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:f,port:m,host:A}),y.on("session",function(N){c.set(I,N)})}else iT(!f,"httpSocket can only be sent on TLS update"),m=m||80,y=i6.connect({highWaterMark:64*1024,...a,localAddress:h,port:m,host:A});if(a.keepAlive==null||a.keepAlive){let I=a.keepAliveInitialDelay===void 0?6e4:a.keepAliveInitialDelay;y.setKeepAlive(!0,I)}let E=l6(new WeakRef(y),{timeout:n,hostname:A,port:m});return y.setNoDelay(!0).once(d==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(E),C){let I=C;C=null,I(null,this)}}).on("error",function(I){if(queueMicrotask(E),C){let B=C;C=null,B(I)}}),y},"connect")}o(c6,"buildConnector");var l6=process.platform==="win32"?(t,e)=>{if(!e.timeout)return oT;let r=null,n=null,s=ap.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>aT(t.deref(),e))})},e.timeout);return()=>{ap.clearFastTimeout(s),clearImmediate(r),clearImmediate(n)}}:(t,e)=>{if(!e.timeout)return oT;let r=null,n=ap.setFastTimeout(()=>{r=setImmediate(()=>{aT(t.deref(),e)})},e.timeout);return()=>{ap.clearFastTimeout(n),clearImmediate(r)}};function aT(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)`,cT.destroy(t,new a6(r))}o(aT,"onConnectTimeout");lT.exports=c6});var AT=g(cp=>{"use strict";Object.defineProperty(cp,"__esModule",{value:!0});cp.enumToMap=void 0;function A6(t){let e={};return Object.keys(t).forEach(r=>{let n=t[r];typeof n=="number"&&(e[r]=n)}),e}o(A6,"enumToMap");cp.enumToMap=A6});var uT=g(w=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0});w.SPECIAL_HEADERS=w.HEADER_STATE=w.MINOR=w.MAJOR=w.CONNECTION_TOKEN_CHARS=w.HEADER_CHARS=w.TOKEN=w.STRICT_TOKEN=w.HEX=w.URL_CHAR=w.STRICT_URL_CHAR=w.USERINFO_CHARS=w.MARK=w.ALPHANUM=w.NUM=w.HEX_MAP=w.NUM_MAP=w.ALPHA=w.FINISH=w.H_METHOD_MAP=w.METHOD_MAP=w.METHODS_RTSP=w.METHODS_ICE=w.METHODS_HTTP=w.METHODS=w.LENIENT_FLAGS=w.FLAGS=w.TYPE=w.ERROR=void 0;var u6=AT(),d6;(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"})(d6=w.ERROR||(w.ERROR={}));var m6;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(m6=w.TYPE||(w.TYPE={}));var p6;(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"})(p6=w.FLAGS||(w.FLAGS={}));var h6;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(h6=w.LENIENT_FLAGS||(w.LENIENT_FLAGS={}));var W;(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"})(W=w.METHODS||(w.METHODS={}));w.METHODS_HTTP=[W.DELETE,W.GET,W.HEAD,W.POST,W.PUT,W.CONNECT,W.OPTIONS,W.TRACE,W.COPY,W.LOCK,W.MKCOL,W.MOVE,W.PROPFIND,W.PROPPATCH,W.SEARCH,W.UNLOCK,W.BIND,W.REBIND,W.UNBIND,W.ACL,W.REPORT,W.MKACTIVITY,W.CHECKOUT,W.MERGE,W["M-SEARCH"],W.NOTIFY,W.SUBSCRIBE,W.UNSUBSCRIBE,W.PATCH,W.PURGE,W.MKCALENDAR,W.LINK,W.UNLINK,W.PRI,W.SOURCE];w.METHODS_ICE=[W.SOURCE];w.METHODS_RTSP=[W.OPTIONS,W.DESCRIBE,W.ANNOUNCE,W.SETUP,W.PLAY,W.PAUSE,W.TEARDOWN,W.GET_PARAMETER,W.SET_PARAMETER,W.REDIRECT,W.RECORD,W.FLUSH,W.GET,W.POST];w.METHOD_MAP=u6.enumToMap(W);w.H_METHOD_MAP={};Object.keys(w.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(w.H_METHOD_MAP[t]=w.METHOD_MAP[t])});var f6;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(f6=w.FINISH||(w.FINISH={}));w.ALPHA=[];for(let t=65;t<=90;t++)w.ALPHA.push(String.fromCharCode(t)),w.ALPHA.push(String.fromCharCode(t+32));w.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};w.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};w.NUM=["0","1","2","3","4","5","6","7","8","9"];w.ALPHANUM=w.ALPHA.concat(w.NUM);w.MARK=["-","_",".","!","~","*","'","(",")"];w.USERINFO_CHARS=w.ALPHANUM.concat(w.MARK).concat(["%",";",":","&","=","+","$",","]);w.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(w.ALPHANUM);w.URL_CHAR=w.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)w.URL_CHAR.push(t);w.HEX=w.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);w.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(w.ALPHANUM);w.TOKEN=w.STRICT_TOKEN.concat([" "]);w.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&w.HEADER_CHARS.push(t);w.CONNECTION_TOKEN_CHARS=w.HEADER_CHARS.filter(t=>t!==44);w.MAJOR=w.NUM_MAP;w.MINOR=w.MAJOR;var hc;(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"})(hc=w.HEADER_STATE||(w.HEADER_STATE={}));w.SPECIAL_HEADERS={connection:hc.CONNECTION,"content-length":hc.CONTENT_LENGTH,"proxy-connection":hc.CONNECTION,"transfer-encoding":hc.TRANSFER_ENCODING,upgrade:hc.UPGRADE}});var FI=g((oNe,dT)=>{"use strict";var{Buffer:g6}=require("node:buffer");dT.exports=g6.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3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Rw0ACyACIAU2AgAMpQILIAJBADYCACAGQQFqIQFBKQxoCyABIARGBEBBiQEhAwykAgtBASABLQAAQd8ARw1nGiABQQFqIQEMXgtBigEhAyABIARGDaICIAIoAgAiACAEIAFraiEFIAEgAGtBAWohBgNAIAEtAAAgAEGMzwBqLQAARw1kIABBAUYN+gEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMogILQYsBIQMgASAERg2hAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGOzwBqLQAARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIA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CDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2AgxBACEDDJ8BCyACQQA2AgALQQA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QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2Agw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EBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBB+sgACwQBAAACAEGQyQALXwMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var DA=g((cNe,BT)=>{"use strict";var hT=["GET","HEAD","POST"],E6=new Set(hT),C6=[101,204,205,304],fT=[301,302,303,307,308],I6=new Set(fT),gT=["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"],B6=new Set(gT),yT=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],Q6=new Set(yT),x6=["follow","manual","error"],ET=["GET","HEAD","OPTIONS","TRACE"],b6=new Set(ET),w6=["navigate","same-origin","no-cors","cors"],N6=["omit","same-origin","include"],S6=["default","no-store","reload","no-cache","force-cache","only-if-cached"],R6=["content-encoding","content-language","content-location","content-type","content-length"],P6=["half"],CT=["CONNECT","TRACE","TRACK"],v6=new Set(CT),IT=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],D6=new Set(IT);BT.exports={subresource:IT,forbiddenMethods:CT,requestBodyHeader:R6,referrerPolicy:yT,requestRedirect:x6,requestMode:w6,requestCredentials:N6,requestCache:S6,redirectStatus:fT,corsSafeListedMethods:hT,nullBodyStatus:C6,safeMethods:ET,badPorts:gT,requestDuplex:P6,subresourceSet:D6,badPortsSet:B6,redirectStatusSet:I6,corsSafeListedMethodsSet:E6,safeMethodsSet:b6,forbiddenMethodsSet:v6,referrerPolicySet:Q6}});var OI=g((lNe,QT)=>{"use strict";var UI=Symbol.for("undici.globalOrigin.1");function k6(){return globalThis[UI]}o(k6,"getGlobalOrigin");function T6(t){if(t===void 0){Object.defineProperty(globalThis,UI,{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,UI,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(T6,"setGlobalOrigin");QT.exports={getGlobalOrigin:k6,setGlobalOrigin:T6}});var ar=g((uNe,PT)=>{"use strict";var Ap=require("node:assert"),M6=new TextEncoder,kA=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,L6=/[\u000A\u000D\u0009\u0020]/,_6=/[\u0009\u000A\u000C\u000D\u0020]/g,F6=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function U6(t){Ap(t.protocol==="data:");let e=wT(t,!0);e=e.slice(5);let r={position:0},n=fc(",",e,r),s=n.length;if(n=Y6(n,!0,!0),r.position>=e.length)return"failure";r.position++;let i=e.slice(s+1),a=NT(i);if(/;(\u0020){0,}base64$/i.test(n)){let l=RT(a);if(a=q6(l),a==="failure")return"failure";n=n.slice(0,-6),n=n.replace(/(\u0020)+$/,""),n=n.slice(0,-1)}n.startsWith(";")&&(n="text/plain"+n);let c=qI(n);return c==="failure"&&(c=qI("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(U6,"dataURLProcessor");function wT(t,e=!1){if(!e)return t.href;let r=t.href,n=t.hash.length,s=n===0?r:r.substring(0,r.length-n);return!n&&r.endsWith("#")?s.slice(0,-1):s}o(wT,"URLSerializer");function up(t,e,r){let n="";for(;r.position=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(xT,"isHexCharByte");function bT(t){return t>=48&&t<=57?t-48:(t&223)-55}o(bT,"hexByteToNumber");function O6(t){let e=t.length,r=new Uint8Array(e),n=0;for(let s=0;st.length)return"failure";e.position++;let n=fc(";",t,e);if(n=lp(n,!1,!0),n.length===0||!kA.test(n))return"failure";let s=r.toLowerCase(),i=n.toLowerCase(),a={type:s,subtype:i,parameters:new Map,essence:`${s}/${i}`};for(;e.positionL6.test(A),t,e);let c=up(A=>A!==";"&&A!=="=",t,e);if(c=c.toLowerCase(),e.positiont.length)break;let l=null;if(t[e.position]==='"')l=ST(t,e,!0),fc(";",t,e);else if(l=fc(";",t,e),l=lp(l,!1,!0),l.length===0)continue;c.length!==0&&kA.test(c)&&(l.length===0||F6.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(qI,"parseMIMEType");function q6(t){t=t.replace(_6,"");let e=t.length;if(e%4===0&&t.charCodeAt(e-1)===61&&(--e,t.charCodeAt(e-1)===61&&--e),e%4===1||/[^+/0-9A-Za-z]/.test(t.length===e?t:t.substring(0,e)))return"failure";let r=Buffer.from(t,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)}o(q6,"forgivingBase64");function ST(t,e,r){let n=e.position,s="";for(Ap(t[e.position]==='"'),e.position++;s+=up(a=>a!=='"'&&a!=="\\",t,e),!(e.position>=t.length);){let i=t[e.position];if(e.position++,i==="\\"){if(e.position>=t.length){s+="\\";break}s+=t[e.position],e.position++}else{Ap(i==='"');break}}return r?s:t.slice(n,e.position)}o(ST,"collectAnHTTPQuotedString");function H6(t){Ap(t!=="failure");let{parameters:e,essence:r}=t,n=r;for(let[s,i]of e.entries())n+=";",n+=s,n+="=",kA.test(i)||(i=i.replace(/(\\|")/g,"\\$1"),i='"'+i,i+='"'),n+=i;return n}o(H6,"serializeAMimeType");function z6(t){return t===13||t===10||t===9||t===32}o(z6,"isHTTPWhiteSpace");function lp(t,e=!0,r=!0){return HI(t,e,r,z6)}o(lp,"removeHTTPWhitespace");function G6(t){return t===13||t===10||t===9||t===12||t===32}o(G6,"isASCIIWhitespace");function Y6(t,e=!0,r=!0){return HI(t,e,r,G6)}o(Y6,"removeASCIIWhitespace");function HI(t,e,r,n){let s=0,i=t.length-1;if(e)for(;s0&&n(t.charCodeAt(i));)i--;return s===0&&i===t.length-1?t:t.slice(s,i+1)}o(HI,"removeChars");function RT(t){let e=t.length;if(65535>e)return String.fromCharCode.apply(null,t);let r="",n=0,s=65535;for(;ne&&(s=e-n),r+=String.fromCharCode.apply(null,t.subarray(n,n+=s));return r}o(RT,"isomorphicDecode");function V6(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(V6,"minimizeSupportedMimeType");PT.exports={dataURLProcessor:U6,URLSerializer:wT,collectASequenceOfCodePoints:up,collectASequenceOfCodePointsFast:fc,stringPercentDecode:NT,parseMIMEType:qI,collectAnHTTPQuotedString:ST,serializeAMimeType:H6,removeChars:HI,removeHTTPWhitespace:lp,minimizeSupportedMimeType:V6,HTTP_TOKEN_CODEPOINTS:kA,isomorphicDecode:RT}});var kt=g((mNe,vT)=>{"use strict";var{types:is,inspect:J6}=require("node:util"),{markAsUncloneable:W6}=require("node:worker_threads"),{toUSVString:$6}=ce(),x={};x.converters={};x.util={};x.errors={};x.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};x.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 x.errors.exception({header:t.prefix,message:r})};x.errors.invalidArgument=function(t){return x.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};x.brandCheck=function(t,e,r){if(r?.strict!==!1){if(!(t instanceof e)){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}}else if(t?.[Symbol.toStringTag]!==e.prototype[Symbol.toStringTag]){let n=new TypeError("Illegal invocation");throw n.code="ERR_INVALID_THIS",n}};x.argumentLengthCheck=function({length:t},e,r){if(t{});x.util.ConvertToInt=function(t,e,r,n){let s,i;e===64?(s=Math.pow(2,53)-1,r==="unsigned"?i=0:i=Math.pow(-2,53)+1):r==="unsigned"?(i=0,s=Math.pow(2,e)-1):(i=Math.pow(-2,e)-1,s=Math.pow(2,e-1)-1);let a=Number(t);if(a===0&&(a=0),n?.enforceRange===!0){if(Number.isNaN(a)||a===Number.POSITIVE_INFINITY||a===Number.NEGATIVE_INFINITY)throw x.errors.exception({header:"Integer conversion",message:`Could not convert ${x.util.Stringify(t)} to an integer.`});if(a=x.util.IntegerPart(a),as)throw x.errors.exception({header:"Integer conversion",message:`Value must be between ${i}-${s}, got ${a}.`});return a}return!Number.isNaN(a)&&n?.clamp===!0?(a=Math.min(Math.max(a,i),s),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=x.util.IntegerPart(a),a=a%Math.pow(2,e),r==="signed"&&a>=Math.pow(2,e)-1?a-Math.pow(2,e):a)};x.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};x.util.Stringify=function(t){switch(x.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return J6(t);case"String":return`"${t}"`;default:return`${t}`}};x.sequenceConverter=function(t){return(e,r,n,s)=>{if(x.util.Type(e)!=="Object")throw x.errors.exception({header:r,message:`${n} (${x.util.Stringify(e)}) is not iterable.`});let i=typeof s=="function"?s():e?.[Symbol.iterator]?.(),a=[],c=0;if(i===void 0||typeof i.next!="function")throw x.errors.exception({header:r,message:`${n} is not iterable.`});for(;;){let{done:l,value:A}=i.next();if(l)break;a.push(t(A,r,`${n}[${c++}]`))}return a}};x.recordConverter=function(t,e){return(r,n,s)=>{if(x.util.Type(r)!=="Object")throw x.errors.exception({header:n,message:`${s} ("${x.util.Type(r)}") is not an Object.`});let i={};if(!is.isProxy(r)){let c=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let l of c){let A=t(l,n,s),u=e(r[l],n,s);i[A]=u}return i}let a=Reflect.ownKeys(r);for(let c of a)if(Reflect.getOwnPropertyDescriptor(r,c)?.enumerable){let A=t(c,n,s),u=e(r[c],n,s);i[A]=u}return i}};x.interfaceConverter=function(t){return(e,r,n,s)=>{if(s?.strict!==!1&&!(e instanceof t))throw x.errors.exception({header:r,message:`Expected ${n} ("${x.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};x.dictionaryConverter=function(t){return(e,r,n)=>{let s=x.util.Type(e),i={};if(s==="Null"||s==="Undefined")return i;if(s!=="Object")throw x.errors.exception({header:r,message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let a of t){let{key:c,defaultValue:l,required:A,converter:u}=a;if(A===!0&&!Object.hasOwn(e,c))throw x.errors.exception({header:r,message:`Missing required key "${c}".`});let d=e[c],m=Object.hasOwn(a,"defaultValue");if(m&&d!==null&&(d??=l()),A||m||d!==void 0){if(d=u(d,r,`${n}.${c}`),a.allowedValues&&!a.allowedValues.includes(d))throw x.errors.exception({header:r,message:`${d} is not an accepted type. Expected one of ${a.allowedValues.join(", ")}.`});i[c]=d}}return i}};x.nullableConverter=function(t){return(e,r,n)=>e===null?e:t(e,r,n)};x.converters.DOMString=function(t,e,r,n){if(t===null&&n?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw x.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};x.converters.ByteString=function(t,e,r){let n=x.converters.DOMString(t,e,r);for(let s=0;s255)throw new TypeError(`Cannot convert argument to a ByteString because the character at index ${s} has a value of ${n.charCodeAt(s)} which is greater than 255.`);return n};x.converters.USVString=$6;x.converters.boolean=function(t){return!!t};x.converters.any=function(t){return t};x.converters["long long"]=function(t,e,r){return x.util.ConvertToInt(t,64,"signed",void 0,e,r)};x.converters["unsigned long long"]=function(t,e,r){return x.util.ConvertToInt(t,64,"unsigned",void 0,e,r)};x.converters["unsigned long"]=function(t,e,r){return x.util.ConvertToInt(t,32,"unsigned",void 0,e,r)};x.converters["unsigned short"]=function(t,e,r,n){return x.util.ConvertToInt(t,16,"unsigned",n,e,r)};x.converters.ArrayBuffer=function(t,e,r,n){if(x.util.Type(t)!=="Object"||!is.isAnyArrayBuffer(t))throw x.errors.conversionFailed({prefix:e,argument:`${r} ("${x.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(n?.allowShared===!1&&is.isSharedArrayBuffer(t))throw x.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw x.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};x.converters.TypedArray=function(t,e,r,n,s){if(x.util.Type(t)!=="Object"||!is.isTypedArray(t)||t.constructor.name!==e.name)throw x.errors.conversionFailed({prefix:r,argument:`${n} ("${x.util.Stringify(t)}")`,types:[e.name]});if(s?.allowShared===!1&&is.isSharedArrayBuffer(t.buffer))throw x.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw x.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};x.converters.DataView=function(t,e,r,n){if(x.util.Type(t)!=="Object"||!is.isDataView(t))throw x.errors.exception({header:e,message:`${r} is not a DataView.`});if(n?.allowShared===!1&&is.isSharedArrayBuffer(t.buffer))throw x.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw x.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};x.converters.BufferSource=function(t,e,r,n){if(is.isAnyArrayBuffer(t))return x.converters.ArrayBuffer(t,e,r,{...n,allowShared:!1});if(is.isTypedArray(t))return x.converters.TypedArray(t,t.constructor,e,r,{...n,allowShared:!1});if(is.isDataView(t))return x.converters.DataView(t,e,r,{...n,allowShared:!1});throw x.errors.conversionFailed({prefix:e,argument:`${r} ("${x.util.Stringify(t)}")`,types:["BufferSource"]})};x.converters["sequence"]=x.sequenceConverter(x.converters.ByteString);x.converters["sequence>"]=x.sequenceConverter(x.converters["sequence"]);x.converters["record"]=x.recordConverter(x.converters.ByteString,x.converters.ByteString);vT.exports={webidl:x}});var Rr=g((pNe,YT)=>{"use strict";var{Transform:j6}=require("node:stream"),DT=require("node:zlib"),{redirectStatusSet:K6,referrerPolicySet:X6,badPortsSet:Z6}=DA(),{getGlobalOrigin:kT}=OI(),{collectASequenceOfCodePoints:qo,collectAnHTTPQuotedString:ej,removeChars:tj,parseMIMEType:rj}=ar(),{performance:nj}=require("node:perf_hooks"),{isBlobLike:sj,ReadableStreamFrom:ij,isValidHTTPToken:TT,normalizedMethodRecordsBase:oj}=ce(),Ho=require("node:assert"),{isUint8Array:aj}=require("node:util/types"),{webidl:TA}=kt(),MT=[],mp;try{mp=require("node:crypto");let t=["sha256","sha384","sha512"];MT=mp.getHashes().filter(e=>t.includes(e))}catch{}function LT(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(LT,"responseURL");function cj(t,e){if(!K6.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&FT(r)&&(_T(r)||(r=lj(r)),r=new URL(r,LT(t))),r&&!r.hash&&(r.hash=e),r}o(cj,"responseLocationURL");function _T(t){for(let e=0;e126||r<32)return!1}return!0}o(_T,"isValidEncodedURL");function lj(t){return Buffer.from(t,"binary").toString("utf8")}o(lj,"normalizeBinaryStringToUtf8");function LA(t){return t.urlList[t.urlList.length-1]}o(LA,"requestCurrentURL");function Aj(t){let e=LA(t);return zT(e)&&Z6.has(e.port)?"blocked":"allowed"}o(Aj,"requestBadPort");function uj(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(uj,"isErrorLike");function dj(t){for(let e=0;e=32&&r<=126||r>=128&&r<=255))return!1}return!0}o(dj,"isValidReasonPhrase");var mj=TT;function FT(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(` +`)||t.includes("\r")||t.includes("\0"))===!1}o(FT,"isValidHeaderValue");function pj(t,e){let{headersList:r}=e,n=(r.get("referrer-policy",!0)??"").split(","),s="";if(n.length>0)for(let i=n.length;i!==0;i--){let a=n[i-1].trim();if(X6.has(a)){s=a;break}}s!==""&&(t.referrerPolicy=s)}o(pj,"setRequestReferrerPolicyOnRedirect");function hj(){return"allowed"}o(hj,"crossOriginResourcePolicyCheck");function fj(){return"success"}o(fj,"corsCheck");function gj(){return"success"}o(gj,"TAOCheck");function yj(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(yj,"appendFetchMetadata");function Ej(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&&GI(t.origin)&&!GI(LA(t))&&(e=null);break;case"same-origin":pp(t,LA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(Ej,"appendRequestOriginHeader");function gc(t,e){return t}o(gc,"coarsenTime");function Cj(t,e,r){return!t?.startTime||t.startTime4096&&(n=s);let i=pp(t,n),a=MA(n)&&!MA(t.url);switch(e){case"origin":return s??zI(r,!0);case"unsafe-url":return n;case"same-origin":return i?s:"no-referrer";case"origin-when-cross-origin":return i?n:s;case"strict-origin-when-cross-origin":{let c=LA(t);return pp(n,c)?n:MA(n)&&!MA(c)?"no-referrer":s}default:return a?"no-referrer":s}}o(xj,"determineRequestsReferrer");function zI(t,e){return Ho(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(zI,"stripURLForReferrer");function MA(t){if(!(t instanceof URL))return!1;if(t.href==="about:blank"||t.href==="about:srcdoc"||t.protocol==="data:"||t.protocol==="file:")return!0;return e(t.origin);function e(r){if(r==null||r==="null")return!1;let n=new URL(r);return!!(n.protocol==="https:"||n.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(n.hostname)||n.hostname==="localhost"||n.hostname.includes("localhost.")||n.hostname.endsWith(".localhost"))}}o(MA,"isURLPotentiallyTrustworthy");function bj(t,e){if(mp===void 0)return!0;let r=OT(e);if(r==="no metadata"||r.length===0)return!0;let n=Nj(r),s=Sj(r,n);for(let i of s){let a=i.algo,c=i.hash,l=mp.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)),Rj(l,c))return!0}return!1}o(bj,"bytesMatch");var wj=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function OT(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let s=wj.exec(n);if(s===null||s.groups===void 0||s.groups.algo===void 0)continue;let i=s.groups.algo.toLowerCase();MT.includes(i)&&e.push(s.groups)}return r===!0?"no metadata":e}o(OT,"parseMetadata");function Nj(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r{t=n,e=s}),resolve:t,reject:e}}o(vj,"createDeferredPromise");function Dj(t){return t.controller.state==="aborted"}o(Dj,"isAborted");function kj(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(kj,"isCancelled");function Tj(t){return oj[t.toLowerCase()]??t}o(Tj,"normalizeMethod");function Mj(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return Ho(typeof e=="string"),e}o(Mj,"serializeJavascriptValueToJSONString");var Lj=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function qT(t,e,r=0,n=1){class s{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]:A,[n]:u}=c[a];this.#r=a+1;let d;switch(this.#t){case"key":d=A;break;case"value":d=u;break;case"key+value":d=[A,u];break}return{value:d,done:!1}}}return delete s.prototype.constructor,Object.setPrototypeOf(s.prototype,Lj),Object.defineProperties(s.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(i,a){return new s(i,a)}}o(qT,"createIterator");function _j(t,e,r,n=0,s=1){let i=qT(t,r,n,s),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return TA.brandCheck(this,e),i(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return TA.brandCheck(this,e),i(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return TA.brandCheck(this,e),i(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,A=globalThis){if(TA.brandCheck(this,e),TA.argumentLengthCheck(arguments,1,`${t}.forEach`),typeof l!="function")throw new TypeError(`Failed to execute 'forEach' on '${t}': parameter 1 is not of type 'Function'.`);for(let{0:u,1:d}of i(this,"key+value"))l.call(A,d,u,this)},"forEach")}};return Object.defineProperties(e.prototype,{...a,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:a.entries.value}})}o(_j,"iteratorMixin");async function Fj(t,e,r){let n=e,s=r,i;try{i=t.stream.getReader()}catch(a){s(a);return}try{n(await HT(i))}catch(a){s(a)}}o(Fj,"fullyReadBody");function Uj(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(Uj,"isReadableStreamLike");function Oj(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(Oj,"readableStreamClose");var qj=/[^\x00-\xFF]/;function dp(t){return Ho(!qj.test(t)),t}o(dp,"isomorphicEncode");async function HT(t){let e=[],r=0;for(;;){let{done:n,value:s}=await t.read();if(n)return Buffer.concat(e,r);if(!aj(s))throw new TypeError("Received non-Uint8Array chunk");e.push(s),r+=s.length}}o(HT,"readAllBytes");function Hj(t){Ho("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(Hj,"urlIsLocal");function GI(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(GI,"urlHasHttpsScheme");function zT(t){Ho("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(zT,"urlIsHttpHttpsScheme");function zj(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(e&&qo(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==61)return"failure";n.position++,e&&qo(l=>l===" "||l===" ",r,n);let s=qo(l=>{let A=l.charCodeAt(0);return A>=48&&A<=57},r,n),i=s.length?Number(s):null;if(e&&qo(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==45)return"failure";n.position++,e&&qo(l=>l===" "||l===" ",r,n);let a=qo(l=>{let A=l.charCodeAt(0);return A>=48&&A<=57},r,n),c=a.length?Number(a):null;return n.positionc?"failure":{rangeStartValue:i,rangeEndValue:c}}o(zj,"simpleRangeHeaderValue");function Gj(t,e,r){let n="bytes ";return n+=dp(`${t}`),n+="-",n+=dp(`${e}`),n+="/",n+=dp(`${r}`),n}o(Gj,"buildContentRange");var YI=class extends j6{static{o(this,"InflateStream")}#e;constructor(e){super(),this.#e=e}_transform(e,r,n){if(!this._inflateStream){if(e.length===0){n();return}this._inflateStream=(e[0]&15)===8?DT.createInflate(this.#e):DT.createInflateRaw(this.#e),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",s=>this.destroy(s))}this._inflateStream.write(e,r,n)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}};function Yj(t){return new YI(t)}o(Yj,"createInflate");function Vj(t){let e=null,r=null,n=null,s=GT("content-type",t);if(s===null)return"failure";for(let i of s){let a=rj(i);a==="failure"||a.essence==="*/*"||(n=a,n.essence!==r?(e=null,n.parameters.has("charset")&&(e=n.parameters.get("charset")),r=n.essence):!n.parameters.has("charset")&&e!==null&&n.parameters.set("charset",e))}return n??"failure"}o(Vj,"extractMimeType");function Jj(t){let e=t,r={position:0},n=[],s="";for(;r.positioni!=='"'&&i!==",",e,r),r.positioni===9||i===32),n.push(s),s=""}return n}o(Jj,"gettingDecodingSplitting");function GT(t,e){let r=e.get(t,!0);return r===null?null:Jj(r)}o(GT,"getDecodeSplit");var Wj=new TextDecoder;function $j(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),Wj.decode(t))}o($j,"utf8DecodeBytes");var VI=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return kT()}get origin(){return this.baseUrl?.origin}policyContainer=UT()},JI=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new VI},jj=new JI;YT.exports={isAborted:Dj,isCancelled:kj,isValidEncodedURL:_T,createDeferredPromise:vj,ReadableStreamFrom:ij,tryUpgradeRequestToAPotentiallyTrustworthyURL:Pj,clampAndCoarsenConnectionTimingInfo:Cj,coarsenedSharedCurrentTime:Ij,determineRequestsReferrer:xj,makePolicyContainer:UT,clonePolicyContainer:Qj,appendFetchMetadata:yj,appendRequestOriginHeader:Ej,TAOCheck:gj,corsCheck:fj,crossOriginResourcePolicyCheck:hj,createOpaqueTimingInfo:Bj,setRequestReferrerPolicyOnRedirect:pj,isValidHTTPToken:TT,requestBadPort:Aj,requestCurrentURL:LA,responseURL:LT,responseLocationURL:cj,isBlobLike:sj,isURLPotentiallyTrustworthy:MA,isValidReasonPhrase:dj,sameOrigin:pp,normalizeMethod:Tj,serializeJavascriptValueToJSONString:Mj,iteratorMixin:_j,createIterator:qT,isValidHeaderName:mj,isValidHeaderValue:FT,isErrorLike:uj,fullyReadBody:Fj,bytesMatch:bj,isReadableStreamLike:Uj,readableStreamClose:Oj,isomorphicEncode:dp,urlIsLocal:Hj,urlHasHttpsScheme:GI,urlIsHttpHttpsScheme:zT,readAllBytes:HT,simpleRangeHeaderValue:zj,buildContentRange:Gj,parseMetadata:OT,createInflate:Yj,extractMimeType:Vj,getDecodeSplit:GT,utf8DecodeBytes:$j,environmentSettingsObject:jj}});var Vi=g((fNe,VT)=>{"use strict";VT.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var $I=g((gNe,JT)=>{"use strict";var{Blob:Kj,File:Xj}=require("node:buffer"),{kState:li}=Vi(),{webidl:os}=kt(),WI=class t{static{o(this,"FileLike")}constructor(e,r,n={}){let s=r,i=n.type,a=n.lastModified??Date.now();this[li]={blobLike:e,name:s,type:i,lastModified:a}}stream(...e){return os.brandCheck(this,t),this[li].blobLike.stream(...e)}arrayBuffer(...e){return os.brandCheck(this,t),this[li].blobLike.arrayBuffer(...e)}slice(...e){return os.brandCheck(this,t),this[li].blobLike.slice(...e)}text(...e){return os.brandCheck(this,t),this[li].blobLike.text(...e)}get size(){return os.brandCheck(this,t),this[li].blobLike.size}get type(){return os.brandCheck(this,t),this[li].blobLike.type}get name(){return os.brandCheck(this,t),this[li].name}get lastModified(){return os.brandCheck(this,t),this[li].lastModified}get[Symbol.toStringTag](){return"File"}};os.converters.Blob=os.interfaceConverter(Kj);function Zj(t){return t instanceof Xj||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(Zj,"isFileLike");JT.exports={FileLike:WI,isFileLike:Zj}});var FA=g((ENe,XT)=>{"use strict";var{isBlobLike:hp,iteratorMixin:eK}=Rr(),{kState:Vt}=Vi(),{kEnumerableProperty:yc}=ce(),{FileLike:WT,isFileLike:tK}=$I(),{webidl:ke}=kt(),{File:KT}=require("node:buffer"),$T=require("node:util"),jT=globalThis.File??KT,_A=class t{static{o(this,"FormData")}constructor(e){if(ke.util.markAsUncloneable(this),e!==void 0)throw ke.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[Vt]=[]}append(e,r,n=void 0){ke.brandCheck(this,t);let s="FormData.append";if(ke.argumentLengthCheck(arguments,2,s),arguments.length===3&&!hp(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=ke.converters.USVString(e,s,"name"),r=hp(r)?ke.converters.Blob(r,s,"value",{strict:!1}):ke.converters.USVString(r,s,"value"),n=arguments.length===3?ke.converters.USVString(n,s,"filename"):void 0;let i=jI(e,r,n);this[Vt].push(i)}delete(e){ke.brandCheck(this,t);let r="FormData.delete";ke.argumentLengthCheck(arguments,1,r),e=ke.converters.USVString(e,r,"name"),this[Vt]=this[Vt].filter(n=>n.name!==e)}get(e){ke.brandCheck(this,t);let r="FormData.get";ke.argumentLengthCheck(arguments,1,r),e=ke.converters.USVString(e,r,"name");let n=this[Vt].findIndex(s=>s.name===e);return n===-1?null:this[Vt][n].value}getAll(e){ke.brandCheck(this,t);let r="FormData.getAll";return ke.argumentLengthCheck(arguments,1,r),e=ke.converters.USVString(e,r,"name"),this[Vt].filter(n=>n.name===e).map(n=>n.value)}has(e){ke.brandCheck(this,t);let r="FormData.has";return ke.argumentLengthCheck(arguments,1,r),e=ke.converters.USVString(e,r,"name"),this[Vt].findIndex(n=>n.name===e)!==-1}set(e,r,n=void 0){ke.brandCheck(this,t);let s="FormData.set";if(ke.argumentLengthCheck(arguments,2,s),arguments.length===3&&!hp(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=ke.converters.USVString(e,s,"name"),r=hp(r)?ke.converters.Blob(r,s,"name",{strict:!1}):ke.converters.USVString(r,s,"name"),n=arguments.length===3?ke.converters.USVString(n,s,"name"):void 0;let i=jI(e,r,n),a=this[Vt].findIndex(c=>c.name===e);a!==-1?this[Vt]=[...this[Vt].slice(0,a),i,...this[Vt].slice(a+1).filter(c=>c.name!==e)]:this[Vt].push(i)}[$T.inspect.custom](e,r){let n=this[Vt].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 s=$T.formatWithOptions(r,n);return`FormData ${s.slice(s.indexOf("]")+2)}`}};eK("FormData",_A,Vt,"name","value");Object.defineProperties(_A.prototype,{append:yc,delete:yc,get:yc,getAll:yc,has:yc,set:yc,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function jI(t,e,r){if(typeof e!="string"){if(tK(e)||(e=e instanceof Blob?new jT([e],"blob",{type:e.type}):new WT(e,"blob",{type:e.type})),r!==void 0){let n={type:e.type,lastModified:e.lastModified};e=e instanceof KT?new jT([e],r,n):new WT(e,r,n)}}return{name:t,value:e}}o(jI,"makeEntry");XT.exports={FormData:_A,makeEntry:jI}});var sM=g((INe,nM)=>{"use strict";var{isUSVString:ZT,bufferToLowerCasedHeaderName:rK}=ce(),{utf8DecodeBytes:nK}=Rr(),{HTTP_TOKEN_CODEPOINTS:sK,isomorphicDecode:eM}=ar(),{isFileLike:iK}=$I(),{makeEntry:oK}=FA(),fp=require("node:assert"),{File:aK}=require("node:buffer"),cK=globalThis.File??aK,lK=Buffer.from('form-data; name="'),tM=Buffer.from("; filename"),AK=Buffer.from("--"),uK=Buffer.from(`--\r +`);function dK(t){for(let e=0;e70)return!1;for(let r=0;r=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122||n===39||n===45||n===95))return!1}return!0}o(mK,"validateBoundary");function pK(t,e){fp(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let n=Buffer.from(`--${r}`,"utf8"),s=[],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+n.length).equals(n))i.position+=n.length;else return"failure";if(i.position===t.length-2&&gp(t,AK,i)||i.position===t.length-4&&gp(t,uK,i))return s;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let c=hK(t,i);if(c==="failure")return"failure";let{name:l,filename:A,contentType:u,encoding:d}=c;i.position+=2;let m;{let h=t.indexOf(n.subarray(2),i.position);if(h===-1)return"failure";m=t.subarray(i.position,h-4),i.position+=m.length,d==="base64"&&(m=Buffer.from(m.toString(),"base64"))}if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let p;A!==null?(u??="text/plain",dK(u)||(u=""),p=new cK([m],A,{type:u})):p=nK(Buffer.from(m)),fp(ZT(l)),fp(typeof p=="string"&&ZT(p)||iK(p)),s.push(oK(l,p,A))}}o(pK,"multipartFormDataParser");function hK(t,e){let r=null,n=null,s=null,i=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:n,contentType:s,encoding:i};let a=Ec(c=>c!==10&&c!==13&&c!==58,t,e);if(a=KI(a,!0,!0,c=>c===9||c===32),!sK.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,Ec(c=>c===32||c===9,t,e),rK(a)){case"content-disposition":{if(r=n=null,!gp(t,lK,e)||(e.position+=17,r=rM(t,e),r===null))return"failure";if(gp(t,tM,e)){let c=e.position+tM.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,n=rM(t,e),n===null))return"failure"}break}case"content-type":{let c=Ec(l=>l!==10&&l!==13,t,e);c=KI(c,!1,!0,l=>l===9||l===32),s=eM(c);break}case"content-transfer-encoding":{let c=Ec(l=>l!==10&&l!==13,t,e);c=KI(c,!1,!0,l=>l===9||l===32),i=eM(c);break}default:Ec(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(hK,"parseMultipartFormDataHeaders");function rM(t,e){fp(t[e.position-1]===34);let r=Ec(n=>n!==10&&n!==13&&n!==34,t,e);return t[e.position]!==34?null:(e.position++,r=new TextDecoder().decode(r).replace(/%0A/ig,` +`).replace(/%0D/ig,"\r").replace(/%22/g,'"'),r)}o(rM,"parseMultipartFormDataName");function Ec(t,e,r){let n=r.position;for(;n0&&n(t[i]);)i--;return s===0&&i===t.length-1?t:t.subarray(s,i+1)}o(KI,"removeChars");function gp(t,e,r){if(t.length{"use strict";var UA=ce(),{ReadableStreamFrom:fK,isBlobLike:iM,isReadableStreamLike:gK,readableStreamClose:yK,createDeferredPromise:EK,fullyReadBody:CK,extractMimeType:IK,utf8DecodeBytes:cM}=Rr(),{FormData:oM}=FA(),{kState:Ic}=Vi(),{webidl:BK}=kt(),{Blob:QK}=require("node:buffer"),XI=require("node:assert"),{isErrored:lM,isDisturbed:xK}=require("node:stream"),{isArrayBuffer:bK}=require("node:util/types"),{serializeAMimeType:wK}=ar(),{multipartFormDataParser:NK}=sM(),ZI;try{let t=require("node:crypto");ZI=o(e=>t.randomInt(0,e),"random")}catch{ZI=o(t=>Math.floor(Math.random(t)),"random")}var yp=new TextEncoder;function SK(){}o(SK,"noop");var AM=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,uM;AM&&(uM=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!xK(e)&&!lM(e)&&e.cancel("Response object has been garbage collected").catch(SK)}));function dM(t,e=!1){let r=null;t instanceof ReadableStream?r=t:iM(t)?r=t.stream():r=new ReadableStream({async pull(l){let A=typeof s=="string"?yp.encode(s):s;A.byteLength&&l.enqueue(A),queueMicrotask(()=>yK(l))},start(){},type:"bytes"}),XI(gK(r));let n=null,s=null,i=null,a=null;if(typeof t=="string")s=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)s=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(bK(t))s=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))s=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(UA.isFormDataLike(t)){let l=`----formdata-undici-0${`${ZI(1e11)}`.padStart(11,"0")}`,A=`--${l}\r Content-Disposition: form-data`;let u=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"),m=[],p=new Uint8Array([13,10]);i=0;let h=!1;for(let[C,y]of t)if(typeof y=="string"){let E=fp.encode(A+`; name="${u(d(C))}"\r +`),"normalizeLinefeeds"),m=[],p=new Uint8Array([13,10]);i=0;let h=!1;for(let[C,y]of t)if(typeof y=="string"){let E=yp.encode(A+`; name="${u(d(C))}"\r \r ${d(y)}\r -`);m.push(E),i+=E.byteLength}else{let E=fp.encode(`${A}; name="${u(d(C))}"`+(y.name?`; filename="${u(y.name)}"`:"")+`\r +`);m.push(E),i+=E.byteLength}else{let E=yp.encode(`${A}; name="${u(d(C))}"`+(y.name?`; filename="${u(y.name)}"`:"")+`\r Content-Type: ${y.type||"application/octet-stream"}\r \r -`);m.push(E,y,p),typeof y.size=="number"?i+=E.byteLength+y.size+p.byteLength:h=!0}let f=fp.encode(`--${l}--\r -`);m.push(f),i+=f.byteLength,h&&(i=null),s=t,n=o(async function*(){for(let C of m)C.stream?yield*C.stream():yield C},"action"),a=`multipart/form-data; boundary=${l}`}else if(tM(t))s=t,i=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(FA.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:Zj(t)}if((typeof s=="string"||FA.isBuffer(s))&&(i=Buffer.byteLength(s)),n!=null){let l;r=new ReadableStream({async start(){l=n(t)[Symbol.asyncIterator]()},async pull(A){let{value:u,done:d}=await l.next();if(d)queueMicrotask(()=>{A.close(),A.byobRequest?.respond(0)});else if(!iM(r)){let m=new Uint8Array(u);m.byteLength&&A.enqueue(m)}return A.desiredSize>0},async cancel(A){await l.return()},type:"bytes"})}return[{stream:r,source:s,length:i},a]}o(cM,"extractBody");function dK(t,e=!1){return t instanceof ReadableStream&&(WI(!FA.isDisturbed(t),"The body has already been consumed."),WI(!t.locked,"The stream is locked.")),cM(t,e)}o(dK,"safelyExtractBody");function mK(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}o(mK,"cloneBody");function pK(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(pK,"throwIfAborted");function hK(t){return{blob(){return yc(this,r=>{let n=nM(this);return n===null?n="":n&&(n=lK(n)),new oK([r],{type:n})},t)},arrayBuffer(){return yc(this,r=>new Uint8Array(r).buffer,t)},text(){return yc(this,sM,t)},json(){return yc(this,gK,t)},formData(){return yc(this,r=>{let n=nM(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let s=AK(r,n);if(s==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new rM;return i[Ec]=s,i}case"application/x-www-form-urlencoded":{let s=new URLSearchParams(r.toString()),i=new rM;for(let[a,c]of s)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 yc(this,r=>new Uint8Array(r),t)}}}o(hK,"bodyMixinMethods");function fK(t){Object.assign(t.prototype,hK(t))}o(fK,"mixinBody");async function yc(t,e,r){if(iK.brandCheck(t,r),lM(t))throw new TypeError("Body is unusable: Body has already been read");pK(t[Ec]);let n=rK(),s=o(a=>n.reject(a),"errorSteps"),i=o(a=>{try{n.resolve(e(a))}catch(c){s(c)}},"successSteps");return t[Ec].body==null?(i(Buffer.allocUnsafe(0)),n.promise):(await nK(t[Ec].body,i,s),n.promise)}o(yc,"consumeBody");function lM(t){let e=t[Ec].body;return e!=null&&(e.stream.locked||FA.isDisturbed(e.stream))}o(lM,"bodyUnusable");function gK(t){return JSON.parse(sM(t))}o(gK,"parseJSONFromBytes");function nM(t){let e=t[Ec].headersList,r=sK(e);return r==="failure"?null:r}o(nM,"bodyMimeType");AM.exports={extractBody:cM,safelyExtractBody:dK,cloneBody:mK,mixinBody:fK,streamRegistry:aM,hasFinalizationRegistry:oM,bodyUnusable:lM}});var wM=g((iNe,bM)=>{"use strict";var V=require("node:assert"),$=ce(),{channels:uM}=ac(),jI=vI(),{RequestContentLengthMismatchError:Ho,ResponseContentLengthMismatchError:dM,RequestAbortedError:CM,InvalidArgumentError:yK,HeadersTimeoutError:EK,HeadersOverflowError:CK,SocketError:Ic,InformationalError:Bc,BodyTimeoutError:IK,HTTPParserError:BK,ResponseExceededMaxSizeError:QK}=ye(),{kUrl:IM,kReset:cr,kClient:Cp,kParser:Me,kBlocking:qA,kRunning:mt,kPending:BM,kSize:mM,kWriting:Vi,kQueue:vn,kNoRef:UA,kKeepAliveDefaultTimeout:xK,kHostHeader:bK,kPendingIdx:wK,kRunningIdx:sn,kError:Jt,kPipelining:Ip,kSocket:Go,kKeepAliveTimeoutValue:Qp,kMaxHeadersSize:KI,kKeepAliveMaxTimeout:NK,kKeepAliveTimeoutThreshold:SK,kHeadersTimeout:RK,kBodyTimeout:PK,kStrictContentLength:eB,kMaxRequests:pM,kCounter:vK,kMaxResponseSize:DK,kOnError:hM,kResume:li,kHTTPContext:QM}=Oe(),Pr=aT(),fM=Buffer.alloc(0),gp=Buffer[Symbol.species],yp=$.addListener,kK=$.removeAllListeners,Yo=Symbol("kIdleSocketValidation"),zo=Symbol("kIdleSocketValidationTimeout"),sB=Symbol("kSocketUsed"),XI;async function TK(){let t=process.env.JEST_WORKER_ID?TI():void 0,e;try{e=await WebAssembly.compile(AT())}catch{e=await WebAssembly.compile(t||TI())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:o((r,n,s)=>0,"wasm_on_url"),wasm_on_status:o((r,n,s)=>{V(We.ptr===r);let i=n-as+os.byteOffset;return We.onStatus(new gp(os.buffer,i,s))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>(V(We.ptr===r),We.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,n,s)=>{V(We.ptr===r);let i=n-as+os.byteOffset;return We.onHeaderField(new gp(os.buffer,i,s))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,n,s)=>{V(We.ptr===r);let i=n-as+os.byteOffset;return We.onHeaderValue(new gp(os.buffer,i,s))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,n,s,i)=>(V(We.ptr===r),We.onHeadersComplete(n,!!s,!!i)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,n,s)=>{V(We.ptr===r);let i=n-as+os.byteOffset;return We.onBody(new gp(os.buffer,i,s))||0},"wasm_on_body"),wasm_on_message_complete:o(r=>(V(We.ptr===r),We.onMessageComplete()||0),"wasm_on_message_complete")}})}o(TK,"lazyllhttp");var ZI=null,tB=TK();tB.catch();var We=null,os=null,Ep=0,as=null,MK=0,OA=1,Qc=2|OA,Bp=4|OA,rB=8|MK,nB=class{static{o(this,"Parser")}constructor(e,r,{exports:n}){V(Number.isFinite(e[KI])&&e[KI]>0),this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(Pr.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[KI],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[DK]}setTimeout(e,r){e!==this.timeoutValue||r&OA^this.timeoutType&OA?(this.timeout&&(jI.clearTimeout(this.timeout),this.timeout=null),e&&(r&OA?this.timeout=jI.setFastTimeout(gM,e,new WeakRef(this)):(this.timeout=setTimeout(gM,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||(V(this.ptr!=null),V(We==null),this.llhttp.llhttp_resume(this.ptr),V(this.timeoutType===Bp),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||fM),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){V(this.ptr!=null),V(We==null),V(!this.paused);let{socket:r,llhttp:n}=this;e.length>Ep&&(as&&n.free(as),Ep=Math.ceil(e.length/4096)*4096,as=n.malloc(Ep)),new Uint8Array(n.memory.buffer,as,Ep).set(e);try{let s;try{os=e,We=this,s=n.llhttp_execute(this.ptr,as,e.length)}catch(a){throw a}finally{We=null,os=null}let i=n.llhttp_get_error_pos(this.ptr)-as;if(s!==Pr.ERROR.OK){let a=e.subarray(i);if(s===Pr.ERROR.PAUSED_UPGRADE)this.onUpgrade(a);else if(s===Pr.ERROR.PAUSED)this.paused=!0,r.unshift(a);else throw this.createError(s,a)}}catch(s){$.destroy(r,s)}}finish(){V(We===null),V(this.ptr!=null),V(!this.paused);let{llhttp:e}=this,r;try{We=this,r=e.llhttp_finish(this.ptr)}finally{We=null}return r===Pr.ERROR.OK?null:r===Pr.ERROR.PAUSED||r===Pr.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(r,fM)}createError(e,r){let{llhttp:n,contentLength:s,bytesRead:i}=this;if(s&&i!==parseInt(s,10))return new dM;let a=n.llhttp_get_error_reason(this.ptr),c="";if(a){let l=new Uint8Array(n.memory.buffer,a).indexOf(0);c="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,a,l).toString()+")"}return new BK(c,Pr.ERROR[e],r)}destroy(){V(this.ptr!=null),V(We==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&jI.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){this.statusText=e.toString()}onMessageBegin(){let{socket:e,client:r}=this;if(e.destroyed)return-1;if(r[mt]===0)return $.destroy(e,new Ic("bad response",$.getSocketInfo(e))),-1;let n=r[vn][r[sn]];if(!n)return-1;n.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 n=this.headers[r-2];if(n.length===10){let s=$.bufferToLowerCasedHeaderName(n);s==="keep-alive"?this.keepAlive+=e.toString():s==="connection"&&(this.connection+=e.toString())}else n.length===14&&$.bufferToLowerCasedHeaderName(n)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&$.destroy(this.socket,new CK)}onUpgrade(e){let{upgrade:r,client:n,socket:s,headers:i,statusCode:a}=this;V(r),V(n[Go]===s),V(!s.destroyed),V(!this.paused),V((i.length&1)===0);let c=n[vn][n[sn]];V(c),V(c.upgrade||c.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,s.unshift(e),s[Me].destroy(),s[Me]=null,s[Cp]=null,s[Jt]=null,kK(s),n[Go]=null,n[QM]=null,n[vn][n[sn]++]=null,n.emit("disconnect",n[IM],[n],new Bc("upgrade"));try{c.onUpgrade(a,i,s)}catch(l){$.destroy(s,l)}n[li]()}onHeadersComplete(e,r,n){let{client:s,socket:i,headers:a,statusText:c}=this;if(i.destroyed)return-1;if(s[mt]===0)return $.destroy(i,new Ic("bad response",$.getSocketInfo(i))),-1;let l=s[vn][s[sn]];if(!l)return-1;if(V(!this.upgrade),V(this.statusCode<200),e===100)return $.destroy(i,new Ic("bad response",$.getSocketInfo(i))),-1;if(r&&!l.upgrade)return $.destroy(i,new Ic("bad upgrade",$.getSocketInfo(i))),-1;if(V(this.timeoutType===Qc),this.statusCode=e,this.shouldKeepAlive=n||l.method==="HEAD"&&!i[cr]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let u=l.bodyTimeout!=null?l.bodyTimeout:s[PK];this.setTimeout(u,Bp)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return V(s[mt]===1),this.upgrade=!0,2;if(r)return V(s[mt]===1),this.upgrade=!0,2;if(V((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&s[Ip]){let u=this.keepAlive?$.parseKeepAliveTimeout(this.keepAlive):null;if(u!=null){let d=Math.min(u-s[SK],s[NK]);d<=0?i[cr]=!0:s[Qp]=d}else s[Qp]=s[xK]}else i[cr]=!0;let A=l.onHeaders(e,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||e<200?1:(i[qA]&&(i[qA]=!1,s[li]()),A?Pr.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:n,statusCode:s,maxResponseSize:i}=this;if(n.destroyed)return-1;let a=r[vn][r[sn]];if(V(a),V(this.timeoutType===Bp),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),V(s>=200),i>-1&&this.bytesRead+e.length>i)return $.destroy(n,new QK),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return Pr.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:n,upgrade:s,headers:i,contentLength:a,bytesRead:c,shouldKeepAlive:l}=this;if(r.destroyed&&(!n||l))return-1;if(s)return;V(n>=100),V((this.headers.length&1)===0);let A=e[vn][e[sn]];if(V(A),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,!(n<200)){if(A.method!=="HEAD"&&a&&c!==parseInt(a,10))return $.destroy(r,new dM),-1;if(A.onComplete(i),e[vn][e[sn]++]=null,r[sB]=!0,r[Vi])return V(e[mt]===0),$.destroy(r,new Bc("reset")),Pr.ERROR.PAUSED;if(l){if(r[cr]&&e[mt]===0)return $.destroy(r,new Bc("reset")),Pr.ERROR.PAUSED;e[Ip]==null||e[Ip]===1?setImmediate(()=>e[li]()):e[li]()}else return $.destroy(r,new Bc("reset")),Pr.ERROR.PAUSED}}};function gM(t){let{socket:e,timeoutType:r,client:n,paused:s}=t.deref();r===Qc?(!e[Vi]||e.writableNeedDrain||n[mt]>1)&&(V(!s,"cannot be paused while waiting for headers"),$.destroy(e,new EK)):r===Bp?s||$.destroy(e,new IK):r===rB&&(V(n[mt]===0&&n[Qp]),$.destroy(e,new Bc("socket idle timeout")))}o(gM,"onParserTimeout");async function LK(t,e){t[Go]=e,ZI||(ZI=await tB,tB=null),e[UA]=!1,e[Vi]=!1,e[cr]=!1,e[qA]=!1,e[Yo]=0,e[zo]=null,e[sB]=!1,e[Me]=new nB(t,e,ZI),yp(e,"error",function(n){V(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let s=this[Me];if(n.code==="ECONNRESET"&&s.statusCode&&!s.shouldKeepAlive){let i=s.finish();i&&(this[Jt]=i,this[Cp][hM](i));return}this[Jt]=n,this[Cp][hM](n)}),yp(e,"readable",function(){let n=this[Me];n&&n.readMore()}),yp(e,"end",function(){let n=this[Me];if(n.statusCode&&!n.shouldKeepAlive){let s=n.finish();s&&$.destroy(this,s);return}$.destroy(this,new Ic("other side closed",$.getSocketInfo(this)))}),yp(e,"close",function(){let n=this[Cp],s=this[Me];xM(this),s&&(!this[Jt]&&s.statusCode&&!s.shouldKeepAlive&&(this[Jt]=s.finish()||this[Jt]),this[Me].destroy(),this[Me]=null);let i=this[Jt]||new Ic("closed",$.getSocketInfo(this));if(n[Go]=null,n[QM]=null,n.destroyed){V(n[BM]===0);let a=n[vn].splice(n[sn]);for(let c=0;c0&&i.code!=="UND_ERR_INFO"){let a=n[vn][n[sn]];n[vn][n[sn]++]=null,$.errorRequest(n,a,i)}n[wK]=n[sn],V(n[mt]===0),n.emit("disconnect",n[IM],[n],i),n[li]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...n){return OK(t,...n)},resume(){FK(t)},destroy(n,s){r?queueMicrotask(s):e.destroy(n).on("close",s)},get destroyed(){return e.destroyed},busy(n){return!!(e[Vi]||e[cr]||e[qA]||e[Yo]===1||n&&(t[mt]>0&&!n.idempotent||t[mt]>0&&(n.upgrade||n.method==="CONNECT")||t[mt]>0&&$.bodyLength(n.body)!==0&&($.isStream(n.body)||$.isAsyncIterable(n.body)||$.isFormDataLike(n.body))))}}}o(LK,"connectH1");function xM(t){t[zo]&&(clearTimeout(t[zo]),t[zo]=null),t[Yo]=0}o(xM,"clearIdleSocketValidation");function _K(t,e){e[Yo]=1,e[zo]=setTimeout(()=>{e[zo]=null,e[Yo]=2,t[Go]===e&&!e.destroyed&&t[li]()},0),e[zo].unref?.()}o(_K,"scheduleIdleSocketValidation");function FK(t){let e=t[Go];if(e&&!e.destroyed){if(t[mM]===0?!e[UA]&&e.unref&&(e.unref(),e[UA]=!0):e[UA]&&e.ref&&(e.ref(),e[UA]=!1),t[mt]===0&&t[BM]>0&&e[sB]){if(e[Yo]===0)return _K(t,e),e[Me].readMore(),e.destroyed,void 0;if(e[Yo]===1)return e[Me].readMore(),e.destroyed,void 0}if(t[mt]===0&&(e[Me].readMore(),e.destroyed))return;if(t[mM]===0)e[Me].timeoutType!==rB&&e[Me].setTimeout(t[Qp],rB);else if(t[mt]>0&&e[Me].statusCode<200&&e[Me].timeoutType!==Qc){let r=t[vn][t[sn]],n=r.headersTimeout!=null?r.headersTimeout:t[RK];e[Me].setTimeout(n,Qc)}}}o(FK,"resumeH1");function UK(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(UK,"shouldSendContentLength");function OK(t,e){let{method:r,path:n,host:s,upgrade:i,blocking:a,reset:c}=e,{body:l,headers:A,contentLength:u}=e,d=r==="PUT"||r==="POST"||r==="PATCH"||r==="QUERY"||r==="PROPFIND"||r==="PROPPATCH";if($.isFormDataLike(l)){XI||(XI=Cc().extractBody);let[C,y]=XI(l);e.contentType==null&&A.push("content-type",y),l=C.stream,u=C.length}else if($.isBlobLike(l)&&e.contentType==null){let C=l.type;if(C){let y=`${C}`;if(!$.isValidHeaderValue(y))return $.errorRequest(t,e,new yK("invalid content-type header")),!1;A.push("content-type",y)}}l&&typeof l.read=="function"&&l.read(0);let m=$.bodyLength(l);if(u=m??u,u===null&&(u=e.contentLength),u===0&&!d&&(u=null),UK(r)&&u>0&&e.contentLength!==null&&e.contentLength!==u){if(t[eB])return $.errorRequest(t,e,new Ho),!1;process.emitWarning(new Ho)}let p=t[Go];xM(p);let h=o(C=>{e.aborted||e.completed||($.errorRequest(t,e,C||new CM),$.destroy(l),$.destroy(p,new Bc("aborted")))},"abort");try{e.onConnect(h)}catch(C){$.errorRequest(t,e,C)}if(e.aborted)return!1;r==="HEAD"&&(p[cr]=!0),(i||r==="CONNECT")&&(p[cr]=!0),c!=null&&(p[cr]=c),t[pM]&&p[vK]++>=t[pM]&&(p[cr]=!0),a&&(p[qA]=!0);let f=`${r} ${n} HTTP/1.1\r +`);m.push(E,y,p),typeof y.size=="number"?i+=E.byteLength+y.size+p.byteLength:h=!0}let f=yp.encode(`--${l}--\r +`);m.push(f),i+=f.byteLength,h&&(i=null),s=t,n=o(async function*(){for(let C of m)C.stream?yield*C.stream():yield C},"action"),a=`multipart/form-data; boundary=${l}`}else if(iM(t))s=t,i=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(UA.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:fK(t)}if((typeof s=="string"||UA.isBuffer(s))&&(i=Buffer.byteLength(s)),n!=null){let l;r=new ReadableStream({async start(){l=n(t)[Symbol.asyncIterator]()},async pull(A){let{value:u,done:d}=await l.next();if(d)queueMicrotask(()=>{A.close(),A.byobRequest?.respond(0)});else if(!lM(r)){let m=new Uint8Array(u);m.byteLength&&A.enqueue(m)}return A.desiredSize>0},async cancel(A){await l.return()},type:"bytes"})}return[{stream:r,source:s,length:i},a]}o(dM,"extractBody");function RK(t,e=!1){return t instanceof ReadableStream&&(XI(!UA.isDisturbed(t),"The body has already been consumed."),XI(!t.locked,"The stream is locked.")),dM(t,e)}o(RK,"safelyExtractBody");function PK(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}o(PK,"cloneBody");function vK(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(vK,"throwIfAborted");function DK(t){return{blob(){return Cc(this,r=>{let n=aM(this);return n===null?n="":n&&(n=wK(n)),new QK([r],{type:n})},t)},arrayBuffer(){return Cc(this,r=>new Uint8Array(r).buffer,t)},text(){return Cc(this,cM,t)},json(){return Cc(this,TK,t)},formData(){return Cc(this,r=>{let n=aM(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let s=NK(r,n);if(s==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new oM;return i[Ic]=s,i}case"application/x-www-form-urlencoded":{let s=new URLSearchParams(r.toString()),i=new oM;for(let[a,c]of s)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 Cc(this,r=>new Uint8Array(r),t)}}}o(DK,"bodyMixinMethods");function kK(t){Object.assign(t.prototype,DK(t))}o(kK,"mixinBody");async function Cc(t,e,r){if(BK.brandCheck(t,r),mM(t))throw new TypeError("Body is unusable: Body has already been read");vK(t[Ic]);let n=EK(),s=o(a=>n.reject(a),"errorSteps"),i=o(a=>{try{n.resolve(e(a))}catch(c){s(c)}},"successSteps");return t[Ic].body==null?(i(Buffer.allocUnsafe(0)),n.promise):(await CK(t[Ic].body,i,s),n.promise)}o(Cc,"consumeBody");function mM(t){let e=t[Ic].body;return e!=null&&(e.stream.locked||UA.isDisturbed(e.stream))}o(mM,"bodyUnusable");function TK(t){return JSON.parse(cM(t))}o(TK,"parseJSONFromBytes");function aM(t){let e=t[Ic].headersList,r=IK(e);return r==="failure"?null:r}o(aM,"bodyMimeType");pM.exports={extractBody:dM,safelyExtractBody:RK,cloneBody:PK,mixinBody:kK,streamRegistry:uM,hasFinalizationRegistry:AM,bodyUnusable:mM}});var PM=g((bNe,RM)=>{"use strict";var V=require("node:assert"),$=ce(),{channels:hM}=lc(),eB=MI(),{RequestContentLengthMismatchError:zo,ResponseContentLengthMismatchError:fM,RequestAbortedError:xM,InvalidArgumentError:MK,HeadersTimeoutError:LK,HeadersOverflowError:_K,SocketError:Qc,InformationalError:xc,BodyTimeoutError:FK,HTTPParserError:UK,ResponseExceededMaxSizeError:OK}=ye(),{kUrl:bM,kReset:cr,kClient:Bp,kParser:Me,kBlocking:HA,kRunning:dt,kPending:wM,kSize:gM,kWriting:Ji,kQueue:Dn,kNoRef:OA,kKeepAliveDefaultTimeout:qK,kHostHeader:HK,kPendingIdx:zK,kRunningIdx:sn,kError:Jt,kPipelining:Qp,kSocket:Yo,kKeepAliveTimeoutValue:bp,kMaxHeadersSize:tB,kKeepAliveMaxTimeout:GK,kKeepAliveTimeoutThreshold:YK,kHeadersTimeout:VK,kBodyTimeout:JK,kStrictContentLength:sB,kMaxRequests:yM,kCounter:WK,kMaxResponseSize:$K,kOnError:EM,kResume:Ai,kHTTPContext:NM}=Oe(),Pr=uT(),CM=Buffer.alloc(0),Ep=Buffer[Symbol.species],Cp=$.addListener,jK=$.removeAllListeners,Vo=Symbol("kIdleSocketValidation"),Go=Symbol("kIdleSocketValidationTimeout"),cB=Symbol("kSocketUsed"),rB;async function KK(){let t=process.env.JEST_WORKER_ID?FI():void 0,e;try{e=await WebAssembly.compile(pT())}catch{e=await WebAssembly.compile(t||FI())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:o((r,n,s)=>0,"wasm_on_url"),wasm_on_status:o((r,n,s)=>{V(We.ptr===r);let i=n-cs+as.byteOffset;return We.onStatus(new Ep(as.buffer,i,s))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>(V(We.ptr===r),We.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,n,s)=>{V(We.ptr===r);let i=n-cs+as.byteOffset;return We.onHeaderField(new Ep(as.buffer,i,s))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,n,s)=>{V(We.ptr===r);let i=n-cs+as.byteOffset;return We.onHeaderValue(new Ep(as.buffer,i,s))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,n,s,i)=>(V(We.ptr===r),We.onHeadersComplete(n,!!s,!!i)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,n,s)=>{V(We.ptr===r);let i=n-cs+as.byteOffset;return We.onBody(new Ep(as.buffer,i,s))||0},"wasm_on_body"),wasm_on_message_complete:o(r=>(V(We.ptr===r),We.onMessageComplete()||0),"wasm_on_message_complete")}})}o(KK,"lazyllhttp");var nB=null,iB=KK();iB.catch();var We=null,as=null,Ip=0,cs=null,XK=0,qA=1,bc=2|qA,xp=4|qA,oB=8|XK,aB=class{static{o(this,"Parser")}constructor(e,r,{exports:n}){V(Number.isFinite(e[tB])&&e[tB]>0),this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(Pr.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[tB],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[$K]}setTimeout(e,r){e!==this.timeoutValue||r&qA^this.timeoutType&qA?(this.timeout&&(eB.clearTimeout(this.timeout),this.timeout=null),e&&(r&qA?this.timeout=eB.setFastTimeout(IM,e,new WeakRef(this)):(this.timeout=setTimeout(IM,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||(V(this.ptr!=null),V(We==null),this.llhttp.llhttp_resume(this.ptr),V(this.timeoutType===xp),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||CM),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){V(this.ptr!=null),V(We==null),V(!this.paused);let{socket:r,llhttp:n}=this;e.length>Ip&&(cs&&n.free(cs),Ip=Math.ceil(e.length/4096)*4096,cs=n.malloc(Ip)),new Uint8Array(n.memory.buffer,cs,Ip).set(e);try{let s;try{as=e,We=this,s=n.llhttp_execute(this.ptr,cs,e.length)}catch(a){throw a}finally{We=null,as=null}let i=n.llhttp_get_error_pos(this.ptr)-cs;if(s!==Pr.ERROR.OK){let a=e.subarray(i);if(s===Pr.ERROR.PAUSED_UPGRADE)this.onUpgrade(a);else if(s===Pr.ERROR.PAUSED)this.paused=!0,r.unshift(a);else throw this.createError(s,a)}}catch(s){$.destroy(r,s)}}finish(){V(We===null),V(this.ptr!=null),V(!this.paused);let{llhttp:e}=this,r;try{We=this,r=e.llhttp_finish(this.ptr)}finally{We=null}return r===Pr.ERROR.OK?null:r===Pr.ERROR.PAUSED||r===Pr.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(r,CM)}createError(e,r){let{llhttp:n,contentLength:s,bytesRead:i}=this;if(s&&i!==parseInt(s,10))return new fM;let a=n.llhttp_get_error_reason(this.ptr),c="";if(a){let l=new Uint8Array(n.memory.buffer,a).indexOf(0);c="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,a,l).toString()+")"}return new UK(c,Pr.ERROR[e],r)}destroy(){V(this.ptr!=null),V(We==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&eB.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){this.statusText=e.toString()}onMessageBegin(){let{socket:e,client:r}=this;if(e.destroyed)return-1;if(r[dt]===0)return $.destroy(e,new Qc("bad response",$.getSocketInfo(e))),-1;let n=r[Dn][r[sn]];if(!n)return-1;n.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 n=this.headers[r-2];if(n.length===10){let s=$.bufferToLowerCasedHeaderName(n);s==="keep-alive"?this.keepAlive+=e.toString():s==="connection"&&(this.connection+=e.toString())}else n.length===14&&$.bufferToLowerCasedHeaderName(n)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&$.destroy(this.socket,new _K)}onUpgrade(e){let{upgrade:r,client:n,socket:s,headers:i,statusCode:a}=this;V(r),V(n[Yo]===s),V(!s.destroyed),V(!this.paused),V((i.length&1)===0);let c=n[Dn][n[sn]];V(c),V(c.upgrade||c.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,s.unshift(e),s[Me].destroy(),s[Me]=null,s[Bp]=null,s[Jt]=null,jK(s),n[Yo]=null,n[NM]=null,n[Dn][n[sn]++]=null,n.emit("disconnect",n[bM],[n],new xc("upgrade"));try{c.onUpgrade(a,i,s)}catch(l){$.destroy(s,l)}n[Ai]()}onHeadersComplete(e,r,n){let{client:s,socket:i,headers:a,statusText:c}=this;if(i.destroyed)return-1;if(s[dt]===0)return $.destroy(i,new Qc("bad response",$.getSocketInfo(i))),-1;let l=s[Dn][s[sn]];if(!l)return-1;if(V(!this.upgrade),V(this.statusCode<200),e===100)return $.destroy(i,new Qc("bad response",$.getSocketInfo(i))),-1;if(r&&!l.upgrade)return $.destroy(i,new Qc("bad upgrade",$.getSocketInfo(i))),-1;if(V(this.timeoutType===bc),this.statusCode=e,this.shouldKeepAlive=n||l.method==="HEAD"&&!i[cr]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let u=l.bodyTimeout!=null?l.bodyTimeout:s[JK];this.setTimeout(u,xp)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return V(s[dt]===1),this.upgrade=!0,2;if(r)return V(s[dt]===1),this.upgrade=!0,2;if(V((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&s[Qp]){let u=this.keepAlive?$.parseKeepAliveTimeout(this.keepAlive):null;if(u!=null){let d=Math.min(u-s[YK],s[GK]);d<=0?i[cr]=!0:s[bp]=d}else s[bp]=s[qK]}else i[cr]=!0;let A=l.onHeaders(e,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||e<200?1:(i[HA]&&(i[HA]=!1,s[Ai]()),A?Pr.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:n,statusCode:s,maxResponseSize:i}=this;if(n.destroyed)return-1;let a=r[Dn][r[sn]];if(V(a),V(this.timeoutType===xp),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),V(s>=200),i>-1&&this.bytesRead+e.length>i)return $.destroy(n,new OK),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return Pr.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:n,upgrade:s,headers:i,contentLength:a,bytesRead:c,shouldKeepAlive:l}=this;if(r.destroyed&&(!n||l))return-1;if(s)return;V(n>=100),V((this.headers.length&1)===0);let A=e[Dn][e[sn]];if(V(A),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,!(n<200)){if(A.method!=="HEAD"&&a&&c!==parseInt(a,10))return $.destroy(r,new fM),-1;if(A.onComplete(i),e[Dn][e[sn]++]=null,r[cB]=!0,r[Ji])return V(e[dt]===0),$.destroy(r,new xc("reset")),Pr.ERROR.PAUSED;if(l){if(r[cr]&&e[dt]===0)return $.destroy(r,new xc("reset")),Pr.ERROR.PAUSED;e[Qp]==null||e[Qp]===1?setImmediate(()=>e[Ai]()):e[Ai]()}else return $.destroy(r,new xc("reset")),Pr.ERROR.PAUSED}}};function IM(t){let{socket:e,timeoutType:r,client:n,paused:s}=t.deref();r===bc?(!e[Ji]||e.writableNeedDrain||n[dt]>1)&&(V(!s,"cannot be paused while waiting for headers"),$.destroy(e,new LK)):r===xp?s||$.destroy(e,new FK):r===oB&&(V(n[dt]===0&&n[bp]),$.destroy(e,new xc("socket idle timeout")))}o(IM,"onParserTimeout");async function ZK(t,e){t[Yo]=e,nB||(nB=await iB,iB=null),e[OA]=!1,e[Ji]=!1,e[cr]=!1,e[HA]=!1,e[Vo]=0,e[Go]=null,e[cB]=!1,e[Me]=new aB(t,e,nB),Cp(e,"error",function(n){V(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let s=this[Me];if(n.code==="ECONNRESET"&&s.statusCode&&!s.shouldKeepAlive){let i=s.finish();i&&(this[Jt]=i,this[Bp][EM](i));return}this[Jt]=n,this[Bp][EM](n)}),Cp(e,"readable",function(){let n=this[Me];n&&n.readMore()}),Cp(e,"end",function(){let n=this[Me];if(n.statusCode&&!n.shouldKeepAlive){let s=n.finish();s&&$.destroy(this,s);return}$.destroy(this,new Qc("other side closed",$.getSocketInfo(this)))}),Cp(e,"close",function(){let n=this[Bp],s=this[Me];SM(this),s&&(!this[Jt]&&s.statusCode&&!s.shouldKeepAlive&&(this[Jt]=s.finish()||this[Jt]),this[Me].destroy(),this[Me]=null);let i=this[Jt]||new Qc("closed",$.getSocketInfo(this));if(n[Yo]=null,n[NM]=null,n.destroyed){V(n[wM]===0);let a=n[Dn].splice(n[sn]);for(let c=0;c0&&i.code!=="UND_ERR_INFO"){let a=n[Dn][n[sn]];n[Dn][n[sn]++]=null,$.errorRequest(n,a,i)}n[zK]=n[sn],V(n[dt]===0),n.emit("disconnect",n[bM],[n],i),n[Ai]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...n){return nX(t,...n)},resume(){tX(t)},destroy(n,s){r?queueMicrotask(s):e.destroy(n).on("close",s)},get destroyed(){return e.destroyed},busy(n){return!!(e[Ji]||e[cr]||e[HA]||e[Vo]===1||n&&(t[dt]>0&&!n.idempotent||t[dt]>0&&(n.upgrade||n.method==="CONNECT")||t[dt]>0&&$.bodyLength(n.body)!==0&&($.isStream(n.body)||$.isAsyncIterable(n.body)||$.isFormDataLike(n.body))))}}}o(ZK,"connectH1");function SM(t){t[Go]&&(clearTimeout(t[Go]),t[Go]=null),t[Vo]=0}o(SM,"clearIdleSocketValidation");function eX(t,e){e[Vo]=1,e[Go]=setTimeout(()=>{e[Go]=null,e[Vo]=2,t[Yo]===e&&!e.destroyed&&t[Ai]()},0),e[Go].unref?.()}o(eX,"scheduleIdleSocketValidation");function tX(t){let e=t[Yo];if(e&&!e.destroyed){if(t[gM]===0?!e[OA]&&e.unref&&(e.unref(),e[OA]=!0):e[OA]&&e.ref&&(e.ref(),e[OA]=!1),t[dt]===0&&t[wM]>0&&e[cB]){if(e[Vo]===0)return eX(t,e),e[Me].readMore(),e.destroyed,void 0;if(e[Vo]===1)return e[Me].readMore(),e.destroyed,void 0}if(t[dt]===0&&(e[Me].readMore(),e.destroyed))return;if(t[gM]===0)e[Me].timeoutType!==oB&&e[Me].setTimeout(t[bp],oB);else if(t[dt]>0&&e[Me].statusCode<200&&e[Me].timeoutType!==bc){let r=t[Dn][t[sn]],n=r.headersTimeout!=null?r.headersTimeout:t[VK];e[Me].setTimeout(n,bc)}}}o(tX,"resumeH1");function rX(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(rX,"shouldSendContentLength");function nX(t,e){let{method:r,path:n,host:s,upgrade:i,blocking:a,reset:c}=e,{body:l,headers:A,contentLength:u}=e,d=r==="PUT"||r==="POST"||r==="PATCH"||r==="QUERY"||r==="PROPFIND"||r==="PROPPATCH";if($.isFormDataLike(l)){rB||(rB=Bc().extractBody);let[C,y]=rB(l);e.contentType==null&&A.push("content-type",y),l=C.stream,u=C.length}else if($.isBlobLike(l)&&e.contentType==null){let C=l.type;if(C){let y=`${C}`;if(!$.isValidHeaderValue(y))return $.errorRequest(t,e,new MK("invalid content-type header")),!1;A.push("content-type",y)}}l&&typeof l.read=="function"&&l.read(0);let m=$.bodyLength(l);if(u=m??u,u===null&&(u=e.contentLength),u===0&&!d&&(u=null),rX(r)&&u>0&&e.contentLength!==null&&e.contentLength!==u){if(t[sB])return $.errorRequest(t,e,new zo),!1;process.emitWarning(new zo)}let p=t[Yo];SM(p);let h=o(C=>{e.aborted||e.completed||($.errorRequest(t,e,C||new xM),$.destroy(l),$.destroy(p,new xc("aborted")))},"abort");try{e.onConnect(h)}catch(C){$.errorRequest(t,e,C)}if(e.aborted)return!1;r==="HEAD"&&(p[cr]=!0),(i||r==="CONNECT")&&(p[cr]=!0),c!=null&&(p[cr]=c),t[yM]&&p[WK]++>=t[yM]&&(p[cr]=!0),a&&(p[HA]=!0);let f=`${r} ${n} HTTP/1.1\r `;if(typeof s=="string"?f+=`host: ${s}\r -`:f+=t[bK],i?f+=`connection: upgrade\r +`:f+=t[HK],i?f+=`connection: upgrade\r upgrade: ${i}\r -`:t[Ip]&&!p[cr]?f+=`connection: keep-alive\r +`:t[Qp]&&!p[cr]?f+=`connection: keep-alive\r `:f+=`connection: close\r `,Array.isArray(A))for(let C=0;C{e.removeListener("error",p)}),!l){let h=new CM;queueMicrotask(()=>p(h))}},"onClose"),p=o(function(h){if(!l){if(l=!0,V(s.destroyed||s[Vi]&&r[mt]<=1),s.off("drain",d).off("error",p),e.removeListener("data",u).removeListener("end",p).removeListener("close",m),!h)try{A.end()}catch(f){h=f}A.destroy(h),h&&(h.code!=="UND_ERR_INFO"||h.message!=="reset")?$.destroy(e,h):$.destroy(e)}},"onFinished");e.on("data",u).on("end",p).on("error",p).on("close",m),e.resume&&e.resume(),s.on("drain",d).on("error",p),e.errorEmitted??e.errored?setImmediate(()=>p(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>p(null)),(e.closeEmitted??e.closed)&&setImmediate(m)}o(qK,"writeStream");function yM(t,e,r,n,s,i,a,c){try{e?$.isBuffer(e)&&(V(i===e.byteLength,"buffer body must have content length"),s.cork(),s.write(`${a}content-length: ${i}\r +`}return hM.sendHeaders.hasSubscribers&&hM.sendHeaders.publish({request:e,headers:f,socket:p}),!l||m===0?BM(h,null,t,e,p,u,f,d):$.isBuffer(l)?BM(h,l,t,e,p,u,f,d):$.isBlobLike(l)?typeof l.stream=="function"?QM(h,l.stream(),t,e,p,u,f,d):iX(h,l,t,e,p,u,f,d):$.isStream(l)?sX(h,l,t,e,p,u,f,d):$.isIterable(l)?QM(h,l,t,e,p,u,f,d):V(!1),!0}o(nX,"writeH1");function sX(t,e,r,n,s,i,a,c){V(i!==0||r[dt]===0,"stream body cannot be pipelined");let l=!1,A=new wp({abort:t,socket:s,request:n,contentLength:i,client:r,expectsPayload:c,header:a}),u=o(function(h){if(!l)try{!A.write(h)&&this.pause&&this.pause()}catch(f){$.destroy(this,f)}},"onData"),d=o(function(){l||e.resume&&e.resume()},"onDrain"),m=o(function(){if(queueMicrotask(()=>{e.removeListener("error",p)}),!l){let h=new xM;queueMicrotask(()=>p(h))}},"onClose"),p=o(function(h){if(!l){if(l=!0,V(s.destroyed||s[Ji]&&r[dt]<=1),s.off("drain",d).off("error",p),e.removeListener("data",u).removeListener("end",p).removeListener("close",m),!h)try{A.end()}catch(f){h=f}A.destroy(h),h&&(h.code!=="UND_ERR_INFO"||h.message!=="reset")?$.destroy(e,h):$.destroy(e)}},"onFinished");e.on("data",u).on("end",p).on("error",p).on("close",m),e.resume&&e.resume(),s.on("drain",d).on("error",p),e.errorEmitted??e.errored?setImmediate(()=>p(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>p(null)),(e.closeEmitted??e.closed)&&setImmediate(m)}o(sX,"writeStream");function BM(t,e,r,n,s,i,a,c){try{e?$.isBuffer(e)&&(V(i===e.byteLength,"buffer body must have content length"),s.cork(),s.write(`${a}content-length: ${i}\r \r `,"latin1"),s.write(e),s.uncork(),n.onBodySent(e),!c&&n.reset!==!1&&(s[cr]=!0)):i===0?s.write(`${a}content-length: 0\r \r `,"latin1"):(V(i===null,"no body must not have content length"),s.write(`${a}\r -`,"latin1")),n.onRequestSent(),r[li]()}catch(l){t(l)}}o(yM,"writeBuffer");async function HK(t,e,r,n,s,i,a,c){V(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new Ho;let l=Buffer.from(await e.arrayBuffer());s.cork(),s.write(`${a}content-length: ${i}\r +`,"latin1")),n.onRequestSent(),r[Ai]()}catch(l){t(l)}}o(BM,"writeBuffer");async function iX(t,e,r,n,s,i,a,c){V(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new zo;let l=Buffer.from(await e.arrayBuffer());s.cork(),s.write(`${a}content-length: ${i}\r \r -`,"latin1"),s.write(l),s.uncork(),n.onBodySent(l),n.onRequestSent(),!c&&n.reset!==!1&&(s[cr]=!0),r[li]()}catch(l){t(l)}}o(HK,"writeBlob");async function EM(t,e,r,n,s,i,a,c){V(i!==0||r[mt]===0,"iterator body cannot be pipelined");let l=null;function A(){if(l){let m=l;l=null,m()}}o(A,"onDrain");let u=o(()=>new Promise((m,p)=>{V(l===null),s[Jt]?p(s[Jt]):l=m}),"waitForDrain");s.on("close",A).on("drain",A);let d=new xp({abort:t,socket:s,request:n,contentLength:i,client:r,expectsPayload:c,header:a});try{for await(let m of e){if(s[Jt])throw s[Jt];d.write(m)||await u()}d.end()}catch(m){d.destroy(m)}finally{s.off("close",A).off("drain",A)}}o(EM,"writeIterable");var xp=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:n,contentLength:s,client:i,expectsPayload:a,header:c}){this.socket=r,this.request=n,this.contentLength=s,this.client=i,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[Vi]=!0}write(e){let{socket:r,request:n,contentLength:s,client:i,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[Jt])throw r[Jt];if(r.destroyed)return!1;let A=Buffer.byteLength(e);if(!A)return!0;if(s!==null&&a+A>s){if(i[eB])throw new Ho;process.emitWarning(new Ho)}r.cork(),a===0&&(!c&&n.reset!==!1&&(r[cr]=!0),s===null?r.write(`${l}transfer-encoding: chunked\r +`,"latin1"),s.write(l),s.uncork(),n.onBodySent(l),n.onRequestSent(),!c&&n.reset!==!1&&(s[cr]=!0),r[Ai]()}catch(l){t(l)}}o(iX,"writeBlob");async function QM(t,e,r,n,s,i,a,c){V(i!==0||r[dt]===0,"iterator body cannot be pipelined");let l=null;function A(){if(l){let m=l;l=null,m()}}o(A,"onDrain");let u=o(()=>new Promise((m,p)=>{V(l===null),s[Jt]?p(s[Jt]):l=m}),"waitForDrain");s.on("close",A).on("drain",A);let d=new wp({abort:t,socket:s,request:n,contentLength:i,client:r,expectsPayload:c,header:a});try{for await(let m of e){if(s[Jt])throw s[Jt];d.write(m)||await u()}d.end()}catch(m){d.destroy(m)}finally{s.off("close",A).off("drain",A)}}o(QM,"writeIterable");var wp=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:n,contentLength:s,client:i,expectsPayload:a,header:c}){this.socket=r,this.request=n,this.contentLength=s,this.client=i,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[Ji]=!0}write(e){let{socket:r,request:n,contentLength:s,client:i,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[Jt])throw r[Jt];if(r.destroyed)return!1;let A=Buffer.byteLength(e);if(!A)return!0;if(s!==null&&a+A>s){if(i[sB])throw new zo;process.emitWarning(new zo)}r.cork(),a===0&&(!c&&n.reset!==!1&&(r[cr]=!0),s===null?r.write(`${l}transfer-encoding: chunked\r `,"latin1"):r.write(`${l}content-length: ${s}\r \r `,"latin1")),s===null&&r.write(`\r ${A.toString(16)}\r -`,"latin1"),this.bytesWritten+=A;let u=r.write(e);return r.uncork(),n.onBodySent(e),u||r[Me].timeout&&r[Me].timeoutType===Qc&&r[Me].timeout.refresh&&r[Me].timeout.refresh(),u}end(){let{socket:e,contentLength:r,client:n,bytesWritten:s,expectsPayload:i,header:a,request:c}=this;if(c.onRequestSent(),e[Vi]=!1,e[Jt])throw e[Jt];if(!e.destroyed){if(s===0?i?e.write(`${a}content-length: 0\r +`,"latin1"),this.bytesWritten+=A;let u=r.write(e);return r.uncork(),n.onBodySent(e),u||r[Me].timeout&&r[Me].timeoutType===bc&&r[Me].timeout.refresh&&r[Me].timeout.refresh(),u}end(){let{socket:e,contentLength:r,client:n,bytesWritten:s,expectsPayload:i,header:a,request:c}=this;if(c.onRequestSent(),e[Ji]=!1,e[Jt])throw e[Jt];if(!e.destroyed){if(s===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&&s!==r){if(n[eB])throw new Ho;process.emitWarning(new Ho)}e[Me].timeout&&e[Me].timeoutType===Qc&&e[Me].timeout.refresh&&e[Me].timeout.refresh(),n[li]()}}destroy(e){let{socket:r,client:n,abort:s}=this;r[Vi]=!1,e&&(V(n[mt]<=1,"pipeline should only contain this request"),s(e))}};bM.exports=LK});var TM=g((aNe,kM)=>{"use strict";var on=require("node:assert"),{pipeline:zK}=require("node:stream"),de=ce(),{RequestContentLengthMismatchError:iB,RequestAbortedError:NM,SocketError:HA,InformationalError:oB}=ye(),{kUrl:bp,kReset:Np,kClient:xc,kRunning:Sp,kPending:GK,kQueue:Ji,kPendingIdx:aB,kRunningIdx:Dn,kError:Tn,kSocket:wt,kStrictContentLength:YK,kOnError:cB,kMaxConcurrentStreams:DM,kHTTP2Session:kn,kResume:Wi,kSize:VK,kHTTPContext:JK}=Oe(),Ai=Symbol("open streams"),SM,RM=!1,wp;try{wp=require("node:http2")}catch{wp={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:WK,HTTP2_HEADER_METHOD:$K,HTTP2_HEADER_PATH:jK,HTTP2_HEADER_SCHEME:KK,HTTP2_HEADER_CONTENT_LENGTH:XK,HTTP2_HEADER_EXPECT:ZK,HTTP2_HEADER_STATUS:eX}}=wp;function tX(t){let e=[];for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let s of n)e.push(Buffer.from(r),Buffer.from(s));else e.push(Buffer.from(r),Buffer.from(n));return e}o(tX,"parseH2Headers");async function rX(t,e){t[wt]=e,RM||(RM=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=wp.connect(t[bp],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[DM]});r[Ai]=0,r[xc]=t,r[wt]=e,de.addListener(r,"error",sX),de.addListener(r,"frameError",iX),de.addListener(r,"end",oX),de.addListener(r,"goaway",aX),de.addListener(r,"close",function(){let{[xc]:s}=this,{[wt]:i}=s,a=this[wt][Tn]||this[Tn]||new HA("closed",de.getSocketInfo(i));if(s[kn]=null,s.destroyed){on(s[GK]===0);let c=s[Ji].splice(s[Dn]);for(let l=0;l{n=!0}),{version:"h2",defaultPipelining:1/0,write(...s){return lX(t,...s)},resume(){nX(t)},destroy(s,i){n?queueMicrotask(i):e.destroy(s).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}o(rX,"connectH2");function nX(t){let e=t[wt];e?.destroyed===!1&&(t[VK]===0&&t[DM]===0?(e.unref(),t[kn].unref()):(e.ref(),t[kn].ref()))}o(nX,"resumeH2");function sX(t){on(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[wt][Tn]=t,this[xc][cB](t)}o(sX,"onHttp2SessionError");function iX(t,e,r){if(r===0){let n=new oB(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[wt][Tn]=n,this[xc][cB](n)}}o(iX,"onHttp2FrameError");function oX(){let t=new HA("other side closed",de.getSocketInfo(this[wt]));this.destroy(t),de.destroy(this[wt],t)}o(oX,"onHttp2SessionEnd");function aX(t){let e=this[Tn]||new HA(`HTTP/2: "GOAWAY" frame received with code ${t}`,de.getSocketInfo(this)),r=this[xc];if(r[wt]=null,r[JK]=null,this[kn]!=null&&(this[kn].destroy(e),this[kn]=null),de.destroy(this[wt],e),r[Dn]{e.aborted||e.completed||(B=B||new NM,de.errorRequest(t,e,B),m!=null&&de.destroy(m,B),de.destroy(u,B),t[Ji][t[Dn]++]=null,t[Wi]())},"abort");try{e.onConnect(f)}catch(B){de.errorRequest(t,e,B)}if(e.aborted)return!1;if(n==="CONNECT")return r.ref(),m=r.request(d,{endStream:!1,signal:l}),m.id&&!m.pending?(e.onUpgrade(null,null,m),++r[Ai],t[Ji][t[Dn]++]=null):m.once("ready",()=>{e.onUpgrade(null,null,m),++r[Ai],t[Ji][t[Dn]++]=null}),m.once("close",()=>{r[Ai]-=1,r[Ai]===0&&r.unref()}),!0;d[jK]=s,d[KK]="https";let C=n==="PUT"||n==="POST"||n==="PATCH";u&&typeof u.read=="function"&&u.read(0);let y=de.bodyLength(u);if(de.isFormDataLike(u)){SM??=Cc().extractBody;let[B,N]=SM(u);d["content-type"]=N,u=B.stream,y=B.length}if(y==null&&(y=e.contentLength),(y===0||!C)&&(y=null),cX(n)&&y>0&&e.contentLength!=null&&e.contentLength!==y){if(t[YK])return de.errorRequest(t,e,new iB),!1;process.emitWarning(new iB)}y!=null&&(on(u,"no body must not have content length"),d[XK]=`${y}`),r.ref();let E=n==="GET"||n==="HEAD"||u===null;return c?(d[ZK]="100-continue",m=r.request(d,{endStream:E,signal:l}),m.once("continue",I)):(m=r.request(d,{endStream:E,signal:l}),I()),++r[Ai],m.once("response",B=>{let{[eX]:N,...S}=B;if(e.onResponseStarted(),e.aborted){let F=new NM;de.errorRequest(t,e,F),de.destroy(m,F);return}e.onHeaders(Number(N),tX(S),m.resume.bind(m),"")===!1&&m.pause(),m.on("data",F=>{e.onData(F)===!1&&m.pause()})}),m.once("end",()=>{(m.state?.state==null||m.state.state<6)&&e.onComplete([]),r[Ai]===0&&r.unref(),f(new oB("HTTP/2: stream half-closed (remote)")),t[Ji][t[Dn]++]=null,t[aB]=t[Dn],t[Wi]()}),m.once("close",()=>{r[Ai]-=1,r[Ai]===0&&r.unref()}),m.once("error",function(B){f(B)}),m.once("frameError",(B,N)=>{f(new oB(`HTTP/2: "frameError" received - type ${B}, code ${N}`))}),!0;function I(){!u||y===0?PM(f,m,null,t,e,t[wt],y,C):de.isBuffer(u)?PM(f,m,u,t,e,t[wt],y,C):de.isBlobLike(u)?typeof u.stream=="function"?vM(f,m,u.stream(),t,e,t[wt],y,C):uX(f,m,u,t,e,t[wt],y,C):de.isStream(u)?AX(f,t[wt],C,m,u,t,e,y):de.isIterable(u)?vM(f,m,u,t,e,t[wt],y,C):on(!1)}o(I,"writeBodyH2")}o(lX,"writeH2");function PM(t,e,r,n,s,i,a,c){try{r!=null&&de.isBuffer(r)&&(on(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),s.onBodySent(r)),c||(i[Np]=!0),s.onRequestSent(),n[Wi]()}catch(l){t(l)}}o(PM,"writeBuffer");function AX(t,e,r,n,s,i,a,c){on(c!==0||i[Sp]===0,"stream body cannot be pipelined");let l=zK(s,n,u=>{u?(de.destroy(l,u),t(u)):(de.removeAllListeners(l),a.onRequestSent(),r||(e[Np]=!0),i[Wi]())});de.addListener(l,"data",A);function A(u){a.onBodySent(u)}o(A,"onPipeData")}o(AX,"writeStream");async function uX(t,e,r,n,s,i,a,c){on(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new iB;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),s.onBodySent(l),s.onRequestSent(),c||(i[Np]=!0),n[Wi]()}catch(l){t(l)}}o(uX,"writeBlob");async function vM(t,e,r,n,s,i,a,c){on(a!==0||n[Sp]===0,"iterator body cannot be pipelined");let l=null;function A(){if(l){let d=l;l=null,d()}}o(A,"onDrain");let u=o(()=>new Promise((d,m)=>{on(l===null),i[Tn]?m(i[Tn]):l=d}),"waitForDrain");e.on("close",A).on("drain",A);try{for await(let d of r){if(i[Tn])throw i[Tn];let m=e.write(d);s.onBodySent(d),m||await u()}e.end(),s.onRequestSent(),c||(i[Np]=!0),n[Wi]()}catch(d){t(d)}finally{e.off("close",A).off("drain",A)}}o(vM,"writeIterable");kM.exports=rX});var Pp=g((lNe,_M)=>{"use strict";var cs=ce(),{kBodyUsed:zA}=Oe(),AB=require("node:assert"),{InvalidArgumentError:dX}=ye(),mX=require("node:events"),pX=[300,301,302,303,307,308],MM=Symbol("body"),Rp=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[MM]=e,this[zA]=!1}async*[Symbol.asyncIterator](){AB(!this[zA],"disturbed"),this[zA]=!0,yield*this[MM]}},lB=class{static{o(this,"RedirectHandler")}constructor(e,r,n,s){if(r!=null&&(!Number.isInteger(r)||r<0))throw new dX("maxRedirections must be a positive number");cs.validateHandler(s,n.method,n.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...n,maxRedirections:0},this.maxRedirections=r,this.handler=s,this.history=[],this.redirectionLimitReached=!1,cs.isStream(this.opts.body)?(cs.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){AB(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[zA]=!1,mX.prototype.on.call(this.opts.body,"data",function(){this[zA]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new Rp(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&cs.isIterable(this.opts.body)&&(this.opts.body=new Rp(this.opts.body))}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,r,n){this.handler.onUpgrade(e,r,n)}onError(e){this.handler.onError(e)}onHeaders(e,r,n,s){if(this.location=this.history.length>=this.maxRedirections||cs.isDisturbed(this.opts.body)?null:hX(e,r),this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){this.request&&this.request.abort(new Error("max redirects")),this.redirectionLimitReached=!0,this.abort(new Error("max redirects"));return}if(this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return this.handler.onHeaders(e,r,n,s);let{origin:i,pathname:a,search:c}=cs.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=fX(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 hX(t,e){if(pX.indexOf(t)===-1)return null;for(let r=0;r{"use strict";var gX=Pp();function yX({maxRedirections:t}){return e=>o(function(n,s){let{maxRedirections:i=t}=n;if(!i)return e(n,s);let a=new gX(e,i,n,s);return n={...n,maxRedirections:0},e(n,a)},"Intercept")}o(yX,"createRedirectInterceptor");FM.exports=yX});var Nc=g((mNe,WM)=>{"use strict";var ui=require("node:assert"),GM=require("node:net"),EX=require("node:http"),Vo=ce(),{channels:bc}=ac(),CX=Wk(),IX=uc(),{InvalidArgumentError:st,InformationalError:BX,ClientDestroyedError:QX}=ye(),xX=PA(),{kUrl:ls,kServerName:$i,kClient:bX,kBusy:uB,kConnect:wX,kResuming:Jo,kRunning:WA,kPending:$A,kSize:JA,kQueue:Mn,kConnected:NX,kConnecting:wc,kNeedDrain:Ki,kKeepAliveDefaultTimeout:UM,kHostHeader:SX,kPendingIdx:Ln,kRunningIdx:di,kError:RX,kPipelining:Dp,kKeepAliveTimeoutValue:PX,kMaxHeadersSize:vX,kKeepAliveMaxTimeout:DX,kKeepAliveTimeoutThreshold:kX,kHeadersTimeout:TX,kBodyTimeout:MX,kStrictContentLength:LX,kConnector:GA,kMaxRedirections:_X,kMaxRequests:dB,kCounter:FX,kClose:UX,kDestroy:OX,kDispatch:qX,kInterceptors:OM,kLocalAddress:YA,kMaxResponseSize:HX,kOnError:zX,kHTTPContext:it,kMaxConcurrentStreams:GX,kResume:VA}=Oe(),YX=wM(),VX=TM(),qM=!1,ji=Symbol("kClosedResolve"),HM=o(()=>{},"noop");function YM(t){return t[Dp]??t[it]?.defaultPipelining??1}o(YM,"getPipelining");var mB=class extends IX{static{o(this,"Client")}constructor(e,{interceptors:r,maxHeaderSize:n,headersTimeout:s,socketTimeout:i,requestTimeout:a,connectTimeout:c,bodyTimeout:l,idleTimeout:A,keepAlive:u,keepAliveTimeout:d,maxKeepAliveTimeout:m,keepAliveMaxTimeout:p,keepAliveTimeoutThreshold:h,socketPath:f,pipelining:C,tls:y,strictContentLength:E,maxCachedSessions:I,maxRedirections:B,connect:N,maxRequestsPerClient:S,localAddress:F,maxResponseSize:ue,autoSelectFamily:be,autoSelectFamilyAttemptTimeout:Be,maxConcurrentStreams:Ne,allowH2:ae,webSocket:De}={}){if(super({webSocket:De}),u!==void 0)throw new st("unsupported keepAlive, use pipelining=0 instead");if(i!==void 0)throw new st("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new st("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(A!==void 0)throw new st("unsupported idleTimeout, use keepAliveTimeout instead");if(m!==void 0)throw new st("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(n!=null&&!Number.isFinite(n))throw new st("invalid maxHeaderSize");if(f!=null&&typeof f!="string")throw new st("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new st("invalid connectTimeout");if(d!=null&&(!Number.isFinite(d)||d<=0))throw new st("invalid keepAliveTimeout");if(p!=null&&(!Number.isFinite(p)||p<=0))throw new st("invalid keepAliveMaxTimeout");if(h!=null&&!Number.isFinite(h))throw new st("invalid keepAliveTimeoutThreshold");if(s!=null&&(!Number.isInteger(s)||s<0))throw new st("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new st("bodyTimeout must be a positive integer or zero");if(N!=null&&typeof N!="function"&&typeof N!="object")throw new st("connect must be a function or an object");if(B!=null&&(!Number.isInteger(B)||B<0))throw new st("maxRedirections must be a positive number");if(S!=null&&(!Number.isInteger(S)||S<0))throw new st("maxRequestsPerClient must be a positive number");if(F!=null&&(typeof F!="string"||GM.isIP(F)===0))throw new st("localAddress must be valid string IP address");if(ue!=null&&(!Number.isInteger(ue)||ue<-1))throw new st("maxResponseSize must be a positive number");if(Be!=null&&(!Number.isInteger(Be)||Be<-1))throw new st("autoSelectFamilyAttemptTimeout must be a positive number");if(ae!=null&&typeof ae!="boolean")throw new st("allowH2 must be a valid boolean value");if(Ne!=null&&(typeof Ne!="number"||Ne<1))throw new st("maxConcurrentStreams must be a positive integer, greater than 0");typeof N!="function"&&(N=xX({...y,maxCachedSessions:I,allowH2:ae,socketPath:f,timeout:c,...be?{autoSelectFamily:be,autoSelectFamilyAttemptTimeout:Be}:void 0,...N})),r?.Client&&Array.isArray(r.Client)?(this[OM]=r.Client,qM||(qM=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[OM]=[JX({maxRedirections:B})],this[ls]=Vo.parseOrigin(e),this[GA]=N,this[Dp]=C??1,this[vX]=n||EX.maxHeaderSize,this[UM]=d??4e3,this[DX]=p??6e5,this[kX]=h??2e3,this[PX]=this[UM],this[$i]=null,this[YA]=F??null,this[Jo]=0,this[Ki]=0,this[SX]=`host: ${this[ls].hostname}${this[ls].port?`:${this[ls].port}`:""}\r -`,this[MX]=l??3e5,this[TX]=s??3e5,this[LX]=E??!0,this[_X]=B,this[dB]=S,this[ji]=null,this[HX]=ue>-1?ue:-1,this[GX]=Ne??100,this[it]=null,this[Mn]=[],this[di]=0,this[Ln]=0,this[VA]=ee=>pB(this,ee),this[zX]=ee=>VM(this,ee)}get pipelining(){return this[Dp]}set pipelining(e){this[Dp]=e,this[VA](!0)}get[$A](){return this[Mn].length-this[Ln]}get[WA](){return this[Ln]-this[di]}get[JA](){return this[Mn].length-this[di]}get[NX](){return!!this[it]&&!this[wc]&&!this[it].destroyed}get[uB](){return!!(this[it]?.busy(null)||this[JA]>=(YM(this)||1)||this[$A]>0)}[wX](e){JM(this),this.once("connect",e)}[qX](e,r){let n=e.origin||this[ls].origin,s=new CX(n,e,r);return this[Mn].push(s),this[Jo]||(Vo.bodyLength(s.body)==null&&Vo.isIterable(s.body)?(this[Jo]=1,queueMicrotask(()=>pB(this))):this[VA](!0)),this[Jo]&&this[Ki]!==2&&this[uB]&&(this[Ki]=2),this[Ki]<2}async[UX](){return new Promise(e=>{this[JA]?this[ji]=e:e(null)})}async[OX](e){return new Promise(r=>{let n=this[Mn].splice(this[Ln]);for(let i=0;i{this[ji]&&(this[ji](),this[ji]=null),r(null)},"callback");this[it]?(this[it].destroy(e,s),this[it]=null):queueMicrotask(s),this[VA]()})}},JX=vp();function VM(t,e){if(t[WA]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){ui(t[Ln]===t[di]);let r=t[Mn].splice(t[di]);for(let n=0;n{t[GA]({host:e,hostname:r,protocol:n,port:s,servername:t[$i],localAddress:t[YA]},(l,A)=>{l?c(l):a(A)})});if(t.destroyed){Vo.destroy(i.on("error",HM),new QX);return}ui(i);try{t[it]=i.alpnProtocol==="h2"?await VX(t,i):await YX(t,i)}catch(a){throw i.destroy().on("error",HM),a}t[wc]=!1,i[FX]=0,i[dB]=t[dB],i[bX]=t,i[RX]=null,bc.connected.hasSubscribers&&bc.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[it]?.version,servername:t[$i],localAddress:t[YA]},connector:t[GA],socket:i}),t.emit("connect",t[ls],[t])}catch(i){if(t.destroyed)return;if(t[wc]=!1,bc.connectError.hasSubscribers&&bc.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[it]?.version,servername:t[$i],localAddress:t[YA]},connector:t[GA],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(ui(t[WA]===0);t[$A]>0&&t[Mn][t[Ln]].servername===t[$i];){let a=t[Mn][t[Ln]++];Vo.errorRequest(t,a,i)}else VM(t,i);t.emit("connectionError",t[ls],[t],i)}t[VA]()}o(JM,"connect");function zM(t){t[Ki]=0,t.emit("drain",t[ls],[t])}o(zM,"emitDrain");function pB(t,e){t[Jo]!==2&&(t[Jo]=2,WX(t,e),t[Jo]=0,t[di]>256&&(t[Mn].splice(0,t[di]),t[Ln]-=t[di],t[di]=0))}o(pB,"resume");function WX(t,e){for(;;){if(t.destroyed){ui(t[$A]===0);return}if(t[ji]&&!t[JA]){t[ji](),t[ji]=null;return}if(t[it]&&t[it].resume(),t[uB])t[Ki]=2;else if(t[Ki]===2){e?(t[Ki]=1,queueMicrotask(()=>zM(t))):zM(t);continue}if(t[$A]===0||t[WA]>=(YM(t)||1))return;let r=t[Mn][t[Ln]];if(t[ls].protocol==="https:"&&t[$i]!==r.servername){if(t[WA]>0)return;t[$i]=r.servername,t[it]?.destroy(new BX("servername changed"),()=>{t[it]=null,pB(t)})}if(t[wc])return;if(!t[it]){JM(t);return}if(t[it].destroyed||t[it].busy(r))return;!r.aborted&&t[it].write(r)?t[Ln]++:t[Mn].splice(t[Ln],1)}}o(WX,"_resume");WM.exports=mB});var hB=g((fNe,$M)=>{"use strict";var kp=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)}};$M.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new kp}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new kp),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var KM=g((yNe,jM)=>{var{kFree:$X,kConnected:jX,kPending:KX,kQueued:XX,kRunning:ZX,kSize:eZ}=Oe(),Wo=Symbol("pool"),fB=class{static{o(this,"PoolStats")}constructor(e){this[Wo]=e}get connected(){return this[Wo][jX]}get free(){return this[Wo][$X]}get pending(){return this[Wo][KX]}get queued(){return this[Wo][XX]}get running(){return this[Wo][ZX]}get size(){return this[Wo][eZ]}};jM.exports=fB});var BB=g((CNe,aL)=>{"use strict";var tZ=uc(),rZ=hB(),{kConnected:gB,kSize:XM,kRunning:ZM,kPending:eL,kQueued:jA,kBusy:nZ,kFree:sZ,kUrl:iZ,kClose:oZ,kDestroy:aZ,kDispatch:cZ}=Oe(),lZ=KM(),lr=Symbol("clients"),Wt=Symbol("needDrain"),KA=Symbol("queue"),yB=Symbol("closed resolve"),EB=Symbol("onDrain"),tL=Symbol("onConnect"),rL=Symbol("onDisconnect"),nL=Symbol("onConnectionError"),CB=Symbol("get dispatcher"),iL=Symbol("add client"),oL=Symbol("remove client"),sL=Symbol("stats"),IB=class extends tZ{static{o(this,"PoolBase")}constructor(e){super(e),this[KA]=new rZ,this[lr]=[],this[jA]=0;let r=this;this[EB]=o(function(s,i){let a=r[KA],c=!1;for(;!c;){let l=a.shift();if(!l)break;r[jA]--,c=!this.dispatch(l.opts,l.handler)}this[Wt]=c,!this[Wt]&&r[Wt]&&(r[Wt]=!1,r.emit("drain",s,[r,...i])),r[yB]&&a.isEmpty()&&Promise.all(r[lr].map(l=>l.close())).then(r[yB])},"onDrain"),this[tL]=(n,s)=>{r.emit("connect",n,[r,...s])},this[rL]=(n,s,i)=>{r.emit("disconnect",n,[r,...s],i)},this[nL]=(n,s,i)=>{r.emit("connectionError",n,[r,...s],i)},this[sL]=new lZ(this)}get[nZ](){return this[Wt]}get[gB](){return this[lr].filter(e=>e[gB]).length}get[sZ](){return this[lr].filter(e=>e[gB]&&!e[Wt]).length}get[eL](){let e=this[jA];for(let{[eL]:r}of this[lr])e+=r;return e}get[ZM](){let e=0;for(let{[ZM]:r}of this[lr])e+=r;return e}get[XM](){let e=this[jA];for(let{[XM]:r}of this[lr])e+=r;return e}get stats(){return this[sL]}async[oZ](){this[KA].isEmpty()?await Promise.all(this[lr].map(e=>e.close())):await new Promise(e=>{this[yB]=e})}async[aZ](e){for(;;){let r=this[KA].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[lr].map(r=>r.destroy(e)))}[cZ](e,r){let n=this[CB]();return n?n.dispatch(e,r)||(n[Wt]=!0,this[Wt]=!this[CB]()):(this[Wt]=!0,this[KA].push({opts:e,handler:r}),this[jA]++),!this[Wt]}[iL](e){return e.on("drain",this[EB]).on("connect",this[tL]).on("disconnect",this[rL]).on("connectionError",this[nL]),this[lr].push(e),this[Wt]&&queueMicrotask(()=>{this[Wt]&&this[EB](e[iZ],[this,e])}),this}[oL](e){e.close(()=>{let r=this[lr].indexOf(e);r!==-1&&this[lr].splice(r,1)}),this[Wt]=this[lr].some(r=>!r[Wt]&&r.closed!==!0&&r.destroyed!==!0)}};aL.exports={PoolBase:IB,kClients:lr,kNeedDrain:Wt,kAddClient:iL,kRemoveClient:oL,kGetDispatcher:CB}});var Sc=g((BNe,uL)=>{"use strict";var{PoolBase:AZ,kClients:Tp,kNeedDrain:uZ,kAddClient:dZ,kGetDispatcher:mZ}=BB(),pZ=Nc(),{InvalidArgumentError:QB}=ye(),cL=ce(),{kUrl:lL,kInterceptors:hZ}=Oe(),fZ=PA(),xB=Symbol("options"),bB=Symbol("connections"),AL=Symbol("factory");function gZ(t,e){return new pZ(t,e)}o(gZ,"defaultFactory");var wB=class extends AZ{static{o(this,"Pool")}constructor(e,{connections:r,factory:n=gZ,connect:s,connectTimeout:i,tls:a,maxCachedSessions:c,socketPath:l,autoSelectFamily:A,autoSelectFamilyAttemptTimeout:u,allowH2:d,...m}={}){if(r!=null&&(!Number.isFinite(r)||r<0))throw new QB("invalid connections");if(typeof n!="function")throw new QB("factory must be a function.");if(s!=null&&typeof s!="function"&&typeof s!="object")throw new QB("connect must be a function or an object");typeof s!="function"&&(s=fZ({...a,maxCachedSessions:c,allowH2:d,socketPath:l,timeout:i,...A?{autoSelectFamily:A,autoSelectFamilyAttemptTimeout:u}:void 0,...s})),super(m),this[hZ]=m.interceptors?.Pool&&Array.isArray(m.interceptors.Pool)?m.interceptors.Pool:[],this[bB]=r||null,this[lL]=cL.parseOrigin(e),this[xB]={...cL.deepClone(m),connect:s,allowH2:d},this[xB].interceptors=m.interceptors?{...m.interceptors}:void 0,this[AL]=n,this.on("connectionError",(p,h,f)=>{for(let C of h){let y=this[Tp].indexOf(C);y!==-1&&this[Tp].splice(y,1)}})}[mZ](){for(let e of this[Tp])if(!e[uZ])return e;if(!this[bB]||this[Tp].length{"use strict";var{BalancedPoolMissingUpstreamError:yZ,InvalidArgumentError:EZ}=ye(),{PoolBase:CZ,kClients:_t,kNeedDrain:XA,kAddClient:IZ,kRemoveClient:BZ,kGetDispatcher:QZ}=BB(),xZ=Sc(),{kUrl:NB,kInterceptors:bZ}=Oe(),{parseOrigin:dL}=ce(),mL=Symbol("factory"),Mp=Symbol("options"),pL=Symbol("kGreatestCommonDivisor"),$o=Symbol("kCurrentWeight"),jo=Symbol("kIndex"),an=Symbol("kWeight"),Lp=Symbol("kMaxWeightPerServer"),_p=Symbol("kErrorPenalty");function wZ(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(wZ,"getGreatestCommonDivisor");function NZ(t,e){return new xZ(t,e)}o(NZ,"defaultFactory");var SB=class extends CZ{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=NZ,...n}={}){if(super(),this[Mp]=n,this[jo]=-1,this[$o]=0,this[Lp]=this[Mp].maxWeightPerServer||100,this[_p]=this[Mp].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new EZ("factory must be a function.");this[bZ]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[mL]=r;for(let s of e)this.addUpstream(s);this._updateBalancedPoolStats()}addUpstream(e){let r=dL(e).origin;if(this[_t].find(s=>s[NB].origin===r&&s.closed!==!0&&s.destroyed!==!0))return this;let n=this[mL](r,Object.assign({},this[Mp]));this[IZ](n),n.on("connect",()=>{n[an]=Math.min(this[Lp],n[an]+this[_p])}),n.on("connectionError",()=>{n[an]=Math.max(1,n[an]-this[_p]),this._updateBalancedPoolStats()}),n.on("disconnect",(...s)=>{let i=s[2];i&&i.code==="UND_ERR_SOCKET"&&(n[an]=Math.max(1,n[an]-this[_p]),this._updateBalancedPoolStats())});for(let s of this[_t])s[an]=this[Lp];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;rs[NB].origin===r&&s.closed!==!0&&s.destroyed!==!0);return n&&this[BZ](n),this}get upstreams(){return this[_t].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[NB].origin)}[QZ](){if(this[_t].length===0)throw new yZ;if(!this[_t].find(i=>!i[XA]&&i.closed!==!0&&i.destroyed!==!0)||this[_t].map(i=>i[XA]).reduce((i,a)=>i&&a,!0))return;let n=0,s=this[_t].findIndex(i=>!i[XA]);for(;n++this[_t][s][an]&&!i[XA]&&(s=this[jo]),this[jo]===0&&(this[$o]=this[$o]-this[pL],this[$o]<=0&&(this[$o]=this[Lp])),i[an]>=this[$o]&&!i[XA])return i}return this[$o]=this[_t][s][an],this[jo]=s,this[_t][s]}};hL.exports=SB});var Rc=g((wNe,QL)=>{"use strict";var{InvalidArgumentError:Fp}=ye(),{kClients:Xi,kRunning:gL,kClose:SZ,kDestroy:RZ,kDispatch:PZ,kInterceptors:vZ}=Oe(),DZ=uc(),kZ=Sc(),TZ=Nc(),MZ=ce(),LZ=vp(),yL=Symbol("onConnect"),EL=Symbol("onDisconnect"),CL=Symbol("onConnectionError"),_Z=Symbol("maxRedirections"),IL=Symbol("onDrain"),BL=Symbol("factory"),RB=Symbol("options");function FZ(t,e){return e&&e.connections===1?new TZ(t,e):new kZ(t,e)}o(FZ,"defaultFactory");var PB=class extends DZ{static{o(this,"Agent")}constructor({factory:e=FZ,maxRedirections:r=0,connect:n,...s}={}){if(typeof e!="function")throw new Fp("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new Fp("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new Fp("maxRedirections must be a positive number");super(s),n&&typeof n!="function"&&(n={...n}),this[vZ]=s.interceptors?.Agent&&Array.isArray(s.interceptors.Agent)?s.interceptors.Agent:[LZ({maxRedirections:r})],this[RB]={...MZ.deepClone(s),connect:n},this[RB].interceptors=s.interceptors?{...s.interceptors}:void 0,this[_Z]=r,this[BL]=e,this[Xi]=new Map,this[IL]=(i,a)=>{this.emit("drain",i,[this,...a])},this[yL]=(i,a)=>{this.emit("connect",i,[this,...a])},this[EL]=(i,a,c)=>{this.emit("disconnect",i,[this,...a],c)},this[CL]=(i,a,c)=>{this.emit("connectionError",i,[this,...a],c)}}get[gL](){let e=0;for(let r of this[Xi].values())e+=r[gL];return e}[PZ](e,r){let n;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))n=String(e.origin);else throw new Fp("opts.origin must be a non-empty string or URL.");let s=this[Xi].get(n);return s||(s=this[BL](e.origin,this[RB]).on("drain",this[IL]).on("connect",this[yL]).on("disconnect",this[EL]).on("connectionError",this[CL]),this[Xi].set(n,s)),s.dispatch(e,r)}async[SZ](){let e=[];for(let r of this[Xi].values())e.push(r.close());this[Xi].clear(),await Promise.all(e)}async[RZ](e){let r=[];for(let n of this[Xi].values())r.push(n.destroy(e));this[Xi].clear(),await Promise.all(r)}};QL.exports=PB});var MB=g((SNe,TL)=>{"use strict";var{kProxy:vB,kClose:RL,kDestroy:PL,kDispatch:xL,kInterceptors:UZ}=Oe(),{URL:Ko}=require("node:url"),OZ=Rc(),vL=Sc(),DL=uc(),{InvalidArgumentError:Pc,RequestAbortedError:qZ,SecureProxyConnectionError:HZ}=ye(),bL=PA(),kL=Nc(),Up=Symbol("proxy agent"),Op=Symbol("proxy client"),Zi=Symbol("proxy headers"),DB=Symbol("request tls settings"),wL=Symbol("proxy tls settings"),NL=Symbol("connect endpoint function"),SL=Symbol("tunnel proxy");function zZ(t){return t==="https:"?443:80}o(zZ,"defaultProtocolPort");function GZ(t,e){return new vL(t,e)}o(GZ,"defaultFactory");var YZ=o(()=>{},"noop");function VZ(t,e){return e.connections===1?new kL(t,e):new vL(t,e)}o(VZ,"defaultAgentFactory");var kB=class extends DL{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:n,factory:s}){if(super(),!e)throw new Pc("Proxy URL is mandatory");this[Zi]=r,s?this.#e=s(e,{connect:n}):this.#e=new kL(e,{connect:n})}[xL](e,r){let n=r.onHeaders;r.onHeaders=function(c,l,A){if(c===407){typeof r.onError=="function"&&r.onError(new Pc("Proxy Authentication Required (407)"));return}n&&n.call(this,c,l,A)};let{origin:s,path:i="/",headers:a={}}=e;if(e.path=s+i,!("host"in a)&&!("Host"in a)){let{host:c}=new Ko(s);a.host=c}return e.headers={...this[Zi],...a},this.#e[xL](e,r)}async[RL](){return this.#e.close()}async[PL](e){return this.#e.destroy(e)}},TB=class extends DL{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof Ko)&&!e.uri)throw new Pc("Proxy uri is mandatory");let{clientFactory:r=GZ}=e;if(typeof r!="function")throw new Pc("Proxy opts.clientFactory must be a function.");let{proxyTunnel:n=!0}=e,s=this.#e(e),{href:i,origin:a,port:c,protocol:l,username:A,password:u,hostname:d}=s;if(this[vB]={uri:i,protocol:l},this[UZ]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[DB]=e.requestTls,this[wL]=e.proxyTls,this[Zi]=e.headers||{},this[SL]=n,e.auth&&e.token)throw new Pc("opts.auth cannot be used in combination with opts.token");e.auth?this[Zi]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[Zi]["proxy-authorization"]=e.token:A&&u&&(this[Zi]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(A)}:${decodeURIComponent(u)}`).toString("base64")}`);let m=bL({...e.proxyTls});this[NL]=bL({...e.requestTls});let p=e.factory||VZ,h=o((f,C)=>{let{protocol:y}=new Ko(f);return!this[SL]&&y==="http:"&&this[vB].protocol==="http:"?new kB(this[vB].uri,{headers:this[Zi],connect:m,factory:p}):p(f,C)},"factory");this[Op]=r(s,{connect:m}),this[Up]=new OZ({...e,factory:h,connect:o(async(f,C)=>{let y=f.host;f.port||(y+=`:${zZ(f.protocol)}`);try{let{socket:E,statusCode:I}=await this[Op].connect({origin:a,port:c,path:y,signal:f.signal,headers:{...this[Zi],host:f.host},servername:this[wL]?.servername||d});if(I!==200&&(E.on("error",YZ).destroy(),C(new qZ(`Proxy response (${I}) !== 200 when HTTP Tunneling`))),f.protocol!=="https:"){C(null,E);return}let B;this[DB]?B=this[DB].servername:B=f.servername,this[NL]({...f,servername:B,httpSocket:E},C)}catch(E){E.code==="ERR_TLS_CERT_ALTNAME_INVALID"?C(new HZ(E)):C(E)}},"connect")})}dispatch(e,r){let n=JZ(e.headers);if(WZ(n),n&&!("host"in n)&&!("Host"in n)){let{host:s}=new Ko(e.origin);n.host=s}return this[Up].dispatch({...e,headers:n},r)}#e(e){return typeof e=="string"?new Ko(e):e instanceof Ko?e:new Ko(e.uri)}async[RL](){await this[Up].close(),await this[Op].close()}async[PL](){await this[Up].destroy(),await this[Op].destroy()}};function JZ(t){if(Array.isArray(t)){let e={};for(let r=0;rr.toLowerCase()==="proxy-authorization"))throw new Pc("Proxy-Authorization should be sent in ProxyAgent constructor")}o(WZ,"throwIfProxyAuthIsSent");TL.exports=TB});var OL=g((PNe,UL)=>{"use strict";var $Z=uc(),{kClose:jZ,kDestroy:KZ,kClosed:ML,kDestroyed:LL,kDispatch:XZ,kNoProxyAgent:ZA,kHttpProxyAgent:eo,kHttpsProxyAgent:Xo}=Oe(),_L=MB(),ZZ=Rc(),e7={"http:":80,"https:":443},FL=!1,LB=class extends $Z{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#r=null;constructor(e={}){super(),this.#r=e,FL||(FL=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"}));let{httpProxy:r,httpsProxy:n,noProxy:s,...i}=e;this[ZA]=new ZZ(i);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[eo]=new _L({...i,uri:a}):this[eo]=this[ZA];let c=n??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[Xo]=new _L({...i,uri:c}):this[Xo]=this[eo],this.#n()}[XZ](e,r){let n=new URL(e.origin);return this.#i(n).dispatch(e,r)}async[jZ](){await this[ZA].close(),this[eo][ML]||await this[eo].close(),this[Xo][ML]||await this[Xo].close()}async[KZ](e){await this[ZA].destroy(e),this[eo][LL]||await this[eo].destroy(e),this[Xo][LL]||await this[Xo].destroy(e)}#i(e){let{protocol:r,host:n,port:s}=e;return n=n.replace(/:\d*$/,"").toLowerCase(),s=Number.parseInt(s,10)||e7[r]||0,this.#s(n,s)?r==="https:"?this[Xo]:this[eo]:this[ZA]}#s(e,r){if(this.#o&&this.#n(),this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let n=0;n{"use strict";var vc=require("node:assert"),{kRetryHandlerDefaultRetry:qL}=Oe(),{RequestRetryError:Dc}=ye(),{isDisturbed:HL,parseHeaders:t7,parseRangeHeader:zL,wrapRequestBody:r7}=ce();function n7(t){let e=Date.now();return new Date(t).getTime()-e}o(n7,"calculateRetryAfterHeader");function GL(t,e,r,n){let s=t["content-length"];if(s==null||!Number.isFinite(e.start)||!Number.isFinite(e.end))return null;let i=Number(s),a=e.end-e.start+1;return!Number.isFinite(i)||i!==a?new Dc("Content-Length mismatch",r,{headers:t,data:{count:n}}):null}o(GL,"validatePartialResponseContentLength");var _B=class t{static{o(this,"RetryHandler")}constructor(e,r){let{retryOptions:n,...s}=e,{retry:i,maxRetries:a,maxTimeout:c,minTimeout:l,timeoutFactor:A,methods:u,errorCodes:d,retryAfter:m,statusCodes:p}=n??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts={...s,body:r7(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:i??t[qL],retryAfter:m??!0,maxTimeout:c??30*1e3,minTimeout:l??500,timeoutFactor:A??2,maxRetries:a??5,methods:u??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:p??[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,n){this.handler.onUpgrade&&this.handler.onUpgrade(e,r,n)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[qL](e,{state:r,opts:n},s){let{statusCode:i,code:a,headers:c}=e,{method:l,retryOptions:A}=n,{maxRetries:u,minTimeout:d,maxTimeout:m,timeoutFactor:p,statusCodes:h,errorCodes:f,methods:C}=A,{counter:y}=r;if(a&&a!=="UND_ERR_REQ_RETRY"&&!f.includes(a)){s(e);return}if(Array.isArray(C)&&!C.includes(l)){s(e);return}if(i!=null&&Array.isArray(h)&&!h.includes(i)){s(e);return}if(y>u){s(e);return}let E=c?.["retry-after"];E&&(E=Number(E),E=Number.isNaN(E)?n7(E):E*1e3);let I=E>0?Math.min(E,m):Math.min(d*p**(y-1),m);setTimeout(()=>s(null),I)}onHeaders(e,r,n,s){let i=t7(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,r,n,s):(this.abort(new Dc("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 Dc("server does not support the range header and the payload was partially consumed",e,{headers:i,data:{count:this.retryCount}})),!1;let c=zL(i["content-range"]);if(!c)return this.abort(new Dc("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==i.etag)return this.abort(new Dc("ETag mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;let l=GL(i,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:A,size:u,end:d=u-1}=c;return vc(this.start===A,"content-range mismatch"),vc(this.end==null||this.end===d,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(e===206){let c=zL(i["content-range"]);if(c==null)return this.handler.onHeaders(e,r,n,s);let l=GL(i,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:A,size:u,end:d=u-1}=c;vc(A!=null&&Number.isFinite(A),"content-range mismatch"),vc(d!=null&&Number.isFinite(d),"invalid content-length"),this.start=A,this.end=d}if(this.end==null){let c=i["content-length"];this.end=c!=null?Number(c)-1:null}return vc(Number.isFinite(this.start)),vc(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=n,this.etag=i.etag!=null?i.etag:null,this.etag!=null&&this.etag.startsWith("W/")&&(this.etag=null),this.handler.onHeaders(e,r,n,s)}let a=new Dc("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||HL(this.opts.body))return this.handler.onError(e);this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},r.bind(this));function r(n){if(n!=null||this.aborted||HL(this.opts.body))return this.handler.onError(n);if(this.start!==0){let s={range:`bytes=${this.start}-${this.end??""}`};this.etag!=null&&(s["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...s}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(s){this.handler.onError(s)}}o(r,"onRetry")}};YL.exports=_B});var JL=g((TNe,VL)=>{"use strict";var s7=SA(),i7=qp(),FB=class extends s7{static{o(this,"RetryAgent")}#e=null;#t=null;constructor(e,r={}){super(r),this.#e=e,this.#t=r}dispatch(e,r){let n=new i7({...e,retryOptions:this.#t},{dispatch:this.#e.dispatch.bind(this.#e),handler:r});return this.#e.dispatch(e,n)}close(){return this.#e.close()}destroy(){return this.#e.destroy()}};VL.exports=FB});var GB=g((LNe,r_)=>{"use strict";var XL=require("node:assert"),{Readable:o7}=require("node:stream"),{RequestAbortedError:ZL,NotSupportedError:a7,InvalidArgumentError:c7,AbortError:UB}=ye(),e_=ce(),{ReadableStreamFrom:l7}=ce(),vr=Symbol("kConsume"),eu=Symbol("kReading"),to=Symbol("kBody"),WL=Symbol("kAbort"),t_=Symbol("kContentType"),$L=Symbol("kContentLength"),A7=o(()=>{},"noop"),OB=class extends o7{static{o(this,"BodyReadable")}constructor({resume:e,abort:r,contentType:n="",contentLength:s,highWaterMark:i=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:i}),this._readableState.dataEmitted=!1,this[WL]=r,this[vr]=null,this[to]=null,this[t_]=n,this[$L]=s,this[eu]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new ZL),e&&this[WL](),super.destroy(e)}_destroy(e,r){this[eu]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[eu]=!0),super.on(e,...r)}addListener(e,...r){return this.on(e,...r)}off(e,...r){let n=super.off(e,...r);return(e==="data"||e==="readable")&&(this[eu]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(e,...r){return this.off(e,...r)}push(e){return this[vr]&&e!==null?(HB(this[vr],e),this[eu]?super.push(e):!0):super.push(e)}async text(){return tu(this,"text")}async json(){return tu(this,"json")}async blob(){return tu(this,"blob")}async bytes(){return tu(this,"bytes")}async arrayBuffer(){return tu(this,"arrayBuffer")}async formData(){throw new a7}get bodyUsed(){return e_.isDisturbed(this)}get body(){return this[to]||(this[to]=l7(this),this[vr]&&(this[to].getReader(),XL(this[to].locked))),this[to]}async dump(e){let r=Number.isFinite(e?.limit)?e.limit:131072,n=e?.signal;if(n!=null&&(typeof n!="object"||!("aborted"in n)))throw new c7("signal must be an AbortSignal");return n?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((s,i)=>{this[$L]>r&&this.destroy(new UB);let a=o(()=>{this.destroy(n.reason??new UB)},"onAbort");n?.addEventListener("abort",a),this.on("close",function(){n?.removeEventListener("abort",a),n?.aborted?i(n.reason??new UB):s(null)}).on("error",A7).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function u7(t){return t[to]&&t[to].locked===!0||t[vr]}o(u7,"isLocked");function d7(t){return e_.isDisturbed(t)||u7(t)}o(d7,"isUnusable");async function tu(t,e){return XL(!t[vr]),new Promise((r,n)=>{if(d7(t)){let s=t._readableState;s.destroyed&&s.closeEmitted===!1?t.on("error",i=>{n(i)}).on("close",()=>{n(new TypeError("unusable"))}):n(s.errored??new TypeError("unusable"))}else queueMicrotask(()=>{t[vr]={type:e,stream:t,resolve:r,reject:n,length:0,body:[]},t.on("error",function(s){zB(this[vr],s)}).on("close",function(){this[vr].body!==null&&zB(this[vr],new ZL)}),m7(t[vr])})})}o(tu,"consume");function m7(t){if(t.body===null)return;let{_readableState:e}=t.stream;if(e.bufferIndex){let r=e.bufferIndex,n=e.buffer.length;for(let s=r;s2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(s,n)}o(qB,"chunksDecode");function jL(t,e){if(t.length===0||e===0)return new Uint8Array(0);if(t.length===1)return new Uint8Array(t[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(e).buffer),n=0;for(let s=0;s{var p7=require("node:assert"),{ResponseStatusCodeError:n_}=ye(),{chunksDecode:s_}=GB(),h7=128*1024;async function f7({callback:t,body:e,contentType:r,statusCode:n,statusMessage:s,headers:i}){p7(e);let a=[],c=0;try{for await(let d of e)if(a.push(d),c+=d.length,c>h7){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${n}${s?`: ${s}`:""}`;if(n===204||!r||!c){queueMicrotask(()=>t(new n_(l,n,i)));return}let A=Error.stackTraceLimit;Error.stackTraceLimit=0;let u;try{i_(r)?u=JSON.parse(s_(a,c)):o_(r)&&(u=s_(a,c))}catch{}finally{Error.stackTraceLimit=A}queueMicrotask(()=>t(new n_(l,n,i,u)))}o(f7,"getResolveErrorBodyCallback");var i_=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"),o_=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");a_.exports={getResolveErrorBodyCallback:f7,isContentTypeApplicationJson:i_,isContentTypeText:o_}});var A_=g((ONe,VB)=>{"use strict";var g7=require("node:assert"),{Readable:y7}=GB(),{InvalidArgumentError:kc,RequestAbortedError:c_}=ye(),Dr=ce(),{getResolveErrorBodyCallback:E7}=YB(),{AsyncResource:C7}=require("node:async_hooks"),Hp=class extends C7{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new kc("invalid opts");let{signal:n,method:s,opaque:i,body:a,onInfo:c,responseHeaders:l,throwOnError:A,highWaterMark:u}=e;try{if(typeof r!="function")throw new kc("invalid callback");if(u&&(typeof u!="number"||u<0))throw new kc("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new kc("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new kc("invalid method");if(c&&typeof c!="function")throw new kc("invalid onInfo callback");super("UNDICI_REQUEST")}catch(d){throw Dr.isStream(a)&&Dr.destroy(a.on("error",Dr.nop),d),d}this.method=s,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=A,this.highWaterMark=u,this.signal=n,this.reason=null,this.removeAbortListener=null,Dr.isStream(a)&&a.on("error",d=>{this.onError(d)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new c_:this.removeAbortListener=Dr.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new c_,this.res?Dr.destroy(this.res.on("error",Dr.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}g7(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,s){let{callback:i,opaque:a,abort:c,context:l,responseHeaders:A,highWaterMark:u}=this,d=A==="raw"?Dr.parseRawHeaders(r):Dr.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}let m=A==="raw"?Dr.parseHeaders(r):d,p=m["content-type"],h=m["content-length"],f=new y7({resume:n,abort:c,contentType:p,contentLength:this.method!=="HEAD"&&h?Number(h):null,highWaterMark:u});this.removeAbortListener&&f.on("close",this.removeAbortListener),this.callback=null,this.res=f,i!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(E7,null,{callback:i,body:f,contentType:p,statusCode:e,statusMessage:s,headers:d}):this.runInAsyncScope(i,null,null,{statusCode:e,headers:d,trailers:this.trailers,opaque:a,body:f,context:l}))}onData(e){return this.res.push(e)}onComplete(e){Dr.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:r,callback:n,body:s,opaque:i}=this;n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:i})})),r&&(this.res=null,queueMicrotask(()=>{Dr.destroy(r,e)})),s&&(this.body=null,Dr.destroy(s,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function l_(t,e){if(e===void 0)return new Promise((r,n)=>{l_.call(this,t,(s,i)=>s?n(s):r(i))});try{this.dispatch(t,new Hp(t,e))}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(l_,"request");VB.exports=l_;VB.exports.RequestHandler=Hp});var ru=g((HNe,m_)=>{var{addAbortListener:I7}=ce(),{RequestAbortedError:B7}=ye(),Tc=Symbol("kListener"),As=Symbol("kSignal");function u_(t){t.abort?t.abort(t[As]?.reason):t.reason=t[As]?.reason??new B7,d_(t)}o(u_,"abort");function Q7(t,e){if(t.reason=null,t[As]=null,t[Tc]=null,!!e){if(e.aborted){u_(t);return}t[As]=e,t[Tc]=()=>{u_(t)},I7(t[As],t[Tc])}}o(Q7,"addSignal");function d_(t){t[As]&&("removeEventListener"in t[As]?t[As].removeEventListener("abort",t[Tc]):t[As].removeListener("abort",t[Tc]),t[As]=null,t[Tc]=null)}o(d_,"removeSignal");m_.exports={addSignal:Q7,removeSignal:d_}});var g_=g((GNe,f_)=>{"use strict";var x7=require("node:assert"),{finished:b7,PassThrough:w7}=require("node:stream"),{InvalidArgumentError:Mc,InvalidReturnValueError:N7}=ye(),_n=ce(),{getResolveErrorBodyCallback:S7}=YB(),{AsyncResource:R7}=require("node:async_hooks"),{addSignal:P7,removeSignal:p_}=ru(),JB=class extends R7{static{o(this,"StreamHandler")}constructor(e,r,n){if(!e||typeof e!="object")throw new Mc("invalid opts");let{signal:s,method:i,opaque:a,body:c,onInfo:l,responseHeaders:A,throwOnError:u}=e;try{if(typeof n!="function")throw new Mc("invalid callback");if(typeof r!="function")throw new Mc("invalid factory");if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new Mc("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Mc("invalid method");if(l&&typeof l!="function")throw new Mc("invalid onInfo callback");super("UNDICI_STREAM")}catch(d){throw _n.isStream(c)&&_n.destroy(c.on("error",_n.nop),d),d}this.responseHeaders=A||null,this.opaque=a||null,this.factory=r,this.callback=n,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=c,this.onInfo=l||null,this.throwOnError=u||!1,_n.isStream(c)&&c.on("error",d=>{this.onError(d)}),P7(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}x7(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,s){let{factory:i,opaque:a,context:c,callback:l,responseHeaders:A}=this,u=A==="raw"?_n.parseRawHeaders(r):_n.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:u});return}this.factory=null;let d;if(this.throwOnError&&e>=400){let h=(A==="raw"?_n.parseHeaders(r):u)["content-type"];d=new w7,this.callback=null,this.runInAsyncScope(S7,null,{callback:l,body:d,contentType:h,statusCode:e,statusMessage:s,headers:u})}else{if(i===null)return;if(d=this.runInAsyncScope(i,null,{statusCode:e,headers:u,opaque:a,context:c}),!d||typeof d.write!="function"||typeof d.end!="function"||typeof d.on!="function")throw new N7("expected Writable");b7(d,{readable:!1},p=>{let{callback:h,res:f,opaque:C,trailers:y,abort:E}=this;this.res=null,(p||!f.readable)&&_n.destroy(f,p),this.callback=null,this.runInAsyncScope(h,null,p||null,{opaque:C,trailers:y}),p&&E()})}return d.on("drain",n),this.res=d,(d.writableNeedDrain!==void 0?d.writableNeedDrain:d._writableState?.needDrain)!==!0}onData(e){let{res:r}=this;return r?r.write(e):!0}onComplete(e){let{res:r}=this;p_(this),r&&(this.trailers=_n.parseHeaders(e),r.end())}onError(e){let{res:r,callback:n,opaque:s,body:i}=this;p_(this),this.factory=null,r?(this.res=null,_n.destroy(r,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:s})})),i&&(this.body=null,_n.destroy(i,e))}};function h_(t,e,r){if(r===void 0)return new Promise((n,s)=>{h_.call(this,t,e,(i,a)=>i?s(i):n(a))});try{this.dispatch(t,new JB(t,e,r))}catch(n){if(typeof r!="function")throw n;let s=t?.opaque;queueMicrotask(()=>r(n,{opaque:s}))}}o(h_,"stream");f_.exports=h_});var I_=g((VNe,C_)=>{"use strict";var{Readable:E_,Duplex:v7,PassThrough:D7}=require("node:stream"),{InvalidArgumentError:nu,InvalidReturnValueError:k7,RequestAbortedError:WB}=ye(),cn=ce(),{AsyncResource:T7}=require("node:async_hooks"),{addSignal:M7,removeSignal:L7}=ru(),y_=require("node:assert"),Lc=Symbol("resume"),$B=class extends E_{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[Lc]=null}_read(){let{[Lc]:e}=this;e&&(this[Lc]=null,e())}_destroy(e,r){this._read(),r(e)}},jB=class extends E_{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[Lc]=e}_read(){this[Lc]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new WB),r(e)}},KB=class extends T7{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new nu("invalid opts");if(typeof r!="function")throw new nu("invalid handler");let{signal:n,method:s,opaque:i,onInfo:a,responseHeaders:c}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new nu("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new nu("invalid method");if(a&&typeof a!="function")throw new nu("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 $B().on("error",cn.nop),this.ret=new v7({readableObjectMode:e.objectMode,autoDestroy:!0,read:o(()=>{let{body:l}=this;l?.resume&&l.resume()},"read"),write:o((l,A,u)=>{let{req:d}=this;d.push(l,A)||d._readableState.destroyed?u():d[Lc]=u},"write"),destroy:o((l,A)=>{let{body:u,req:d,res:m,ret:p,abort:h}=this;!l&&!p._readableState.endEmitted&&(l=new WB),h&&l&&h(),cn.destroy(u,l),cn.destroy(d,l),cn.destroy(m,l),L7(this),A(l)},"destroy")}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,M7(this,n)}onConnect(e,r){let{ret:n,res:s}=this;if(this.reason){e(this.reason);return}y_(!s,"pipeline cannot be retried"),y_(!n.destroyed),this.abort=e,this.context=r}onHeaders(e,r,n){let{opaque:s,handler:i,context:a}=this;if(e<200){if(this.onInfo){let l=this.responseHeaders==="raw"?cn.parseRawHeaders(r):cn.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new jB(n);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?cn.parseRawHeaders(r):cn.parseHeaders(r);c=this.runInAsyncScope(i,null,{statusCode:e,headers:l,opaque:s,body:this.res,context:a})}catch(l){throw this.res.on("error",cn.nop),l}if(!c||typeof c.on!="function")throw new k7("expected Readable");c.on("data",l=>{let{ret:A,body:u}=this;!A.push(l)&&u.pause&&u.pause()}).on("error",l=>{let{ret:A}=this;cn.destroy(A,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||cn.destroy(l,new WB)}),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,cn.destroy(r,e)}};function _7(t,e){try{let r=new KB(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new D7().destroy(r)}}o(_7,"pipeline");C_.exports=_7});var N_=g((WNe,w_)=>{"use strict";var{InvalidArgumentError:XB,SocketError:F7}=ye(),{AsyncResource:U7}=require("node:async_hooks"),B_=ce(),{addSignal:O7,removeSignal:Q_}=ru(),x_=require("node:assert"),ZB=class extends U7{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new XB("invalid opts");if(typeof r!="function")throw new XB("invalid callback");let{signal:n,opaque:s,responseHeaders:i}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new XB("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=i||null,this.opaque=s||null,this.callback=r,this.abort=null,this.context=null,O7(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}x_(this.callback),this.abort=e,this.context=null}onHeaders(){throw new F7("bad upgrade",null)}onUpgrade(e,r,n){x_(e===101);let{callback:s,opaque:i,context:a}=this;Q_(this),this.callback=null;let c=this.responseHeaders==="raw"?B_.parseRawHeaders(r):B_.parseHeaders(r);this.runInAsyncScope(s,null,null,{headers:c,socket:n,opaque:i,context:a})}onError(e){let{callback:r,opaque:n}=this;Q_(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function b_(t,e){if(e===void 0)return new Promise((r,n)=>{b_.call(this,t,(s,i)=>s?n(s):r(i))});try{let r=new ZB(t,e);this.dispatch({...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(b_,"upgrade");w_.exports=b_});var D_=g((jNe,v_)=>{"use strict";var q7=require("node:assert"),{AsyncResource:H7}=require("node:async_hooks"),{InvalidArgumentError:eQ,SocketError:z7}=ye(),S_=ce(),{addSignal:G7,removeSignal:R_}=ru(),tQ=class extends H7{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new eQ("invalid opts");if(typeof r!="function")throw new eQ("invalid callback");let{signal:n,opaque:s,responseHeaders:i}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new eQ("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=s||null,this.responseHeaders=i||null,this.callback=r,this.abort=null,G7(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}q7(this.callback),this.abort=e,this.context=r}onHeaders(){throw new z7("bad connect",null)}onUpgrade(e,r,n){let{callback:s,opaque:i,context:a}=this;R_(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?S_.parseRawHeaders(r):S_.parseHeaders(r)),this.runInAsyncScope(s,null,null,{statusCode:e,headers:c,socket:n,opaque:i,context:a})}onError(e){let{callback:r,opaque:n}=this;R_(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function P_(t,e){if(e===void 0)return new Promise((r,n)=>{P_.call(this,t,(s,i)=>s?n(s):r(i))});try{let r=new tQ(t,e);this.dispatch({...t,method:"CONNECT"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(P_,"connect");v_.exports=P_});var k_=g((XNe,_c)=>{"use strict";_c.exports.request=A_();_c.exports.stream=g_();_c.exports.pipeline=I_();_c.exports.upgrade=N_();_c.exports.connect=D_()});var nQ=g((ZNe,M_)=>{"use strict";var{UndiciError:Y7}=ye(),T_=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),rQ=class t extends Y7{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[T_]===!0}[T_]=!0};M_.exports={MockNotMatchedError:rQ}});var Fc=g((tSe,L_)=>{"use strict";L_.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 su=g((rSe,J_)=>{"use strict";var{MockNotMatchedError:Zo}=nQ(),{kDispatches:zp,kMockAgent:V7,kOriginalDispatch:J7,kOrigin:W7,kGetNetConnect:$7}=Fc(),{buildURL:j7}=ce(),{STATUS_CODES:K7}=require("node:http"),{types:{isPromise:X7}}=require("node:util");function mi(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(mi,"matchValue");function F_(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(F_,"lowerCaseEntries");function U_(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,n]of Object.entries(t.headers)){let s=U_(e,r);if(!mi(n,s))return!1}return!0}o(O_,"matchHeaders");function __(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(__,"safeUrl");function Z7(t,{path:e,method:r,body:n,headers:s}){let i=mi(t.path,e),a=mi(t.method,r),c=typeof t.body<"u"?mi(t.body,n):!0,l=O_(t,s);return i&&a&&c&&l}o(Z7,"matchKey");function q_(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(q_,"getResponseData");function H_(t,e){let r=e.query?j7(e.path,e.query):e.path,n=typeof r=="string"?__(r):r,s=t.filter(({consumed:i})=>!i).filter(({path:i})=>mi(__(i),n));if(s.length===0)throw new Zo(`Mock dispatch not matched for path '${n}'`);if(s=s.filter(({method:i})=>mi(i,e.method)),s.length===0)throw new Zo(`Mock dispatch not matched for method '${e.method}' on path '${n}'`);if(s=s.filter(({body:i})=>typeof i<"u"?mi(i,e.body):!0),s.length===0)throw new Zo(`Mock dispatch not matched for body '${e.body}' on path '${n}'`);if(s=s.filter(i=>O_(i,e.headers)),s.length===0){let i=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new Zo(`Mock dispatch not matched for headers '${i}' on path '${n}'`)}return s[0]}o(H_,"getMockDispatch");function eee(t,e,r){let n={timesInvoked:0,times:1,persist:!1,consumed:!1},s=typeof r=="function"?{callback:r}:{...r},i={...n,...e,pending:!0,data:{error:null,...s}};return t.push(i),i}o(eee,"addMockDispatch");function sQ(t,e){let r=t.findIndex(n=>n.consumed?Z7(n,e):!1);r!==-1&&t.splice(r,1)}o(sQ,"deleteMockDispatch");function z_(t){let{path:e,method:r,body:n,headers:s,query:i}=t;return{path:e,method:r,body:n,headers:s,query:i}}o(z_,"buildKey");function iQ(t){let e=Object.keys(t),r=[];for(let n=0;n=m,n.pending=d0?setTimeout(()=>{p(this[zp])},A):p(this[zp]);function p(f,C=i){let y=Array.isArray(t.headers)?oQ(t.headers):t.headers,E=typeof C=="function"?C({...t,headers:y}):C;if(X7(E)){E.then(S=>p(f,S));return}let I=q_(E),B=iQ(a),N=iQ(c);e.onConnect?.(S=>e.onError(S),null),e.onHeaders?.(s,B,h,G_(s)),e.onData?.(Buffer.from(I)),e.onComplete?.(N),sQ(f,r)}o(p,"handleReply");function h(){}return o(h,"resume"),!0}o(Y_,"mockDispatch");function ree(){let t=this[V7],e=this[W7],r=this[J7];return o(function(s,i){if(t.isMockActive)try{Y_.call(this,s,i)}catch(a){if(a instanceof Zo){let c=t[$7]();if(c===!1)throw new Zo(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(V_(c,e))r.call(this,s,i);else throw new Zo(`${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,s,i)},"dispatch")}o(ree,"buildMockDispatch");function V_(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(n=>mi(n,r.host)))}o(V_,"checkNetConnect");function nee(t){if(t){let{agent:e,...r}=t;return r}}o(nee,"buildMockOptions");J_.exports={getResponseData:q_,getMockDispatch:H_,addMockDispatch:eee,deleteMockDispatch:sQ,buildKey:z_,generateKeyValues:iQ,matchValue:mi,getResponse:tee,getStatusText:G_,mockDispatch:Y_,buildMockDispatch:ree,checkNetConnect:V_,buildMockOptions:nee,getHeaderByName:U_,buildHeadersFromArray:oQ}});var mQ=g((sSe,dQ)=>{"use strict";var{getResponseData:see,buildKey:iee,addMockDispatch:aQ}=su(),{kDispatches:Gp,kDispatchKey:Yp,kDefaultHeaders:cQ,kDefaultTrailers:lQ,kContentLength:AQ,kMockDispatch:Vp}=Fc(),{InvalidArgumentError:us}=ye(),{buildURL:oee}=ce(),Uc=class{static{o(this,"MockScope")}constructor(e){this[Vp]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new us("waitInMs must be a valid integer > 0");return this[Vp].delay=e,this}persist(){return this[Vp].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new us("repeatTimes must be a valid integer > 0");return this[Vp].times=e,this}},uQ=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new us("opts must be an object");if(typeof e.path>"u")throw new us("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=oee(e.path,e.query);else{let n=new URL(e.path,"data://");e.path=n.pathname+n.search}typeof e.method=="string"&&(e.method=e.method.toUpperCase()),this[Yp]=iee(e),this[Gp]=r,this[cQ]={},this[lQ]={},this[AQ]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:n}){let s=see(r),i=this[AQ]?{"content-length":s.length}:{},a={...this[cQ],...i,...n.headers},c={...this[lQ],...n.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new us("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new us("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 us("reply options callback must return an object");let A={data:"",responseOptions:{},...l};return this.validateReplyParameters(A),{...this.createMockScopeDispatchData(A)}},"wrappedDefaultsCallback"),a=aQ(this[Gp],this[Yp],i);return new Uc(a)}let r={statusCode:e,data:arguments[1]===void 0?"":arguments[1],responseOptions:arguments[2]===void 0?{}:arguments[2]};this.validateReplyParameters(r);let n=this.createMockScopeDispatchData(r),s=aQ(this[Gp],this[Yp],n);return new Uc(s)}replyWithError(e){if(typeof e>"u")throw new us("error must be defined");let r=aQ(this[Gp],this[Yp],{error:e});return new Uc(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new us("headers must be defined");return this[cQ]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new us("trailers must be defined");return this[lQ]=e,this}replyContentLength(){return this[AQ]=!0,this}};dQ.exports.MockInterceptor=uQ;dQ.exports.MockScope=Uc});var fQ=g((oSe,e2)=>{"use strict";var{promisify:aee}=require("node:util"),cee=Nc(),{buildMockDispatch:lee}=su(),{kDispatches:W_,kMockAgent:$_,kClose:j_,kOriginalClose:K_,kOrigin:X_,kOriginalDispatch:Aee,kConnected:pQ}=Fc(),{MockInterceptor:uee}=mQ(),Z_=Oe(),{InvalidArgumentError:dee}=ye(),hQ=class extends cee{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new dee("Argument opts.agent must implement Agent");this[$_]=r.agent,this[X_]=e,this[W_]=[],this[pQ]=1,this[Aee]=this.dispatch,this[K_]=this.close.bind(this),this.dispatch=lee.call(this),this.close=this[j_]}get[Z_.kConnected](){return this[pQ]}intercept(e){return new uee(e,this[W_])}async[j_](){await aee(this[K_])(),this[pQ]=0,this[$_][Z_.kClients].delete(this[X_])}};e2.exports=hQ});var EQ=g((cSe,a2)=>{"use strict";var{promisify:mee}=require("node:util"),pee=Sc(),{buildMockDispatch:hee}=su(),{kDispatches:t2,kMockAgent:r2,kClose:n2,kOriginalClose:s2,kOrigin:i2,kOriginalDispatch:fee,kConnected:gQ}=Fc(),{MockInterceptor:gee}=mQ(),o2=Oe(),{InvalidArgumentError:yee}=ye(),yQ=class extends pee{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new yee("Argument opts.agent must implement Agent");this[r2]=r.agent,this[i2]=e,this[t2]=[],this[gQ]=1,this[fee]=this.dispatch,this[s2]=this.close.bind(this),this.dispatch=hee.call(this),this.close=this[n2]}get[o2.kConnected](){return this[gQ]}intercept(e){return new gee(e,this[t2])}async[n2](){await mee(this[s2])(),this[gQ]=0,this[r2][o2.kClients].delete(this[i2])}};a2.exports=yQ});var l2=g((uSe,c2)=>{"use strict";var Eee={pronoun:"it",is:"is",was:"was",this:"this"},Cee={pronoun:"they",is:"are",was:"were",this:"these"};c2.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,n=r?Eee:Cee,s=r?this.singular:this.plural;return{...n,count:e,noun:s}}}});var u2=g((pSe,A2)=>{"use strict";var{Transform:Iee}=require("node:stream"),{Console:Bee}=require("node:console"),Qee=process.versions.icu?"\u2705":"Y ",xee=process.versions.icu?"\u274C":"N ";A2.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new Iee({transform(r,n,s){s(null,r)}}),this.logger=new Bee({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:n,path:s,data:{statusCode:i},persist:a,times:c,timesInvoked:l,origin:A})=>({Method:n,Origin:A,Path:s,"Status code":i,Persistent:a?Qee:xee,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var h2=g((fSe,p2)=>{"use strict";var{kClients:ea}=Oe(),bee=Rc(),{kAgent:CQ,kMockAgentSet:Jp,kMockAgentGet:d2,kDispatches:IQ,kIsMockActive:Wp,kNetConnect:ta,kGetNetConnect:wee,kOptions:$p,kFactory:jp}=Fc(),Nee=fQ(),See=EQ(),{matchValue:Ree,buildMockOptions:Pee}=su(),{InvalidArgumentError:m2,UndiciError:vee}=ye(),Dee=SA(),kee=l2(),Tee=u2(),BQ=class extends Dee{static{o(this,"MockAgent")}constructor(e){if(super(e),this[ta]=!0,this[Wp]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new m2("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new bee(e);this[CQ]=r,this[ea]=r[ea],this[$p]=Pee(e)}get(e){let r=this[d2](e);return r||(r=this[jp](e),this[Jp](e,r)),r}dispatch(e,r){return this.get(e.origin),this[CQ].dispatch(e,r)}async close(){await this[CQ].close(),this[ea].clear()}deactivate(){this[Wp]=!1}activate(){this[Wp]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[ta])?this[ta].push(e):this[ta]=[e];else if(typeof e>"u")this[ta]=!0;else throw new m2("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[ta]=!1}get isMockActive(){return this[Wp]}[Jp](e,r){this[ea].set(e,r)}[jp](e){let r=Object.assign({agent:this},this[$p]);return this[$p]&&this[$p].connections===1?new Nee(e,r):new See(e,r)}[d2](e){let r=this[ea].get(e);if(r)return r;if(typeof e!="string"){let n=this[jp]("http://localhost:9999");return this[Jp](e,n),n}for(let[n,s]of Array.from(this[ea]))if(s&&typeof n!="string"&&Ree(n,e)){let i=this[jp](e);return this[Jp](e,i),i[IQ]=s[IQ],i}}[wee](){return this[ta]}pendingInterceptors(){let e=this[ea];return Array.from(e.entries()).flatMap(([r,n])=>n[IQ].map(s=>({...s,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new Tee}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new kee("interceptor","interceptors").pluralize(r.length);throw new vee(` +`,"latin1"),r!==null&&s!==r){if(n[sB])throw new zo;process.emitWarning(new zo)}e[Me].timeout&&e[Me].timeoutType===bc&&e[Me].timeout.refresh&&e[Me].timeout.refresh(),n[Ai]()}}destroy(e){let{socket:r,client:n,abort:s}=this;r[Ji]=!1,e&&(V(n[dt]<=1,"pipeline should only contain this request"),s(e))}};RM.exports=ZK});var FM=g((NNe,_M)=>{"use strict";var on=require("node:assert"),{pipeline:oX}=require("node:stream"),me=ce(),{RequestContentLengthMismatchError:lB,RequestAbortedError:vM,SocketError:zA,InformationalError:AB}=ye(),{kUrl:Np,kReset:Rp,kClient:wc,kRunning:Pp,kPending:aX,kQueue:Wi,kPendingIdx:uB,kRunningIdx:kn,kError:Mn,kSocket:wt,kStrictContentLength:cX,kOnError:dB,kMaxConcurrentStreams:LM,kHTTP2Session:Tn,kResume:$i,kSize:lX,kHTTPContext:AX}=Oe(),ui=Symbol("open streams"),DM,kM=!1,Sp;try{Sp=require("node:http2")}catch{Sp={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:uX,HTTP2_HEADER_METHOD:dX,HTTP2_HEADER_PATH:mX,HTTP2_HEADER_SCHEME:pX,HTTP2_HEADER_CONTENT_LENGTH:hX,HTTP2_HEADER_EXPECT:fX,HTTP2_HEADER_STATUS:gX}}=Sp;function yX(t){let e=[];for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let s of n)e.push(Buffer.from(r),Buffer.from(s));else e.push(Buffer.from(r),Buffer.from(n));return e}o(yX,"parseH2Headers");async function EX(t,e){t[wt]=e,kM||(kM=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=Sp.connect(t[Np],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[LM]});r[ui]=0,r[wc]=t,r[wt]=e,me.addListener(r,"error",IX),me.addListener(r,"frameError",BX),me.addListener(r,"end",QX),me.addListener(r,"goaway",xX),me.addListener(r,"close",function(){let{[wc]:s}=this,{[wt]:i}=s,a=this[wt][Mn]||this[Mn]||new zA("closed",me.getSocketInfo(i));if(s[Tn]=null,s.destroyed){on(s[aX]===0);let c=s[Wi].splice(s[kn]);for(let l=0;l{n=!0}),{version:"h2",defaultPipelining:1/0,write(...s){return wX(t,...s)},resume(){CX(t)},destroy(s,i){n?queueMicrotask(i):e.destroy(s).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}o(EX,"connectH2");function CX(t){let e=t[wt];e?.destroyed===!1&&(t[lX]===0&&t[LM]===0?(e.unref(),t[Tn].unref()):(e.ref(),t[Tn].ref()))}o(CX,"resumeH2");function IX(t){on(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[wt][Mn]=t,this[wc][dB](t)}o(IX,"onHttp2SessionError");function BX(t,e,r){if(r===0){let n=new AB(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[wt][Mn]=n,this[wc][dB](n)}}o(BX,"onHttp2FrameError");function QX(){let t=new zA("other side closed",me.getSocketInfo(this[wt]));this.destroy(t),me.destroy(this[wt],t)}o(QX,"onHttp2SessionEnd");function xX(t){let e=this[Mn]||new zA(`HTTP/2: "GOAWAY" frame received with code ${t}`,me.getSocketInfo(this)),r=this[wc];if(r[wt]=null,r[AX]=null,this[Tn]!=null&&(this[Tn].destroy(e),this[Tn]=null),me.destroy(this[wt],e),r[kn]{e.aborted||e.completed||(B=B||new vM,me.errorRequest(t,e,B),m!=null&&me.destroy(m,B),me.destroy(u,B),t[Wi][t[kn]++]=null,t[$i]())},"abort");try{e.onConnect(f)}catch(B){me.errorRequest(t,e,B)}if(e.aborted)return!1;if(n==="CONNECT")return r.ref(),m=r.request(d,{endStream:!1,signal:l}),m.id&&!m.pending?(e.onUpgrade(null,null,m),++r[ui],t[Wi][t[kn]++]=null):m.once("ready",()=>{e.onUpgrade(null,null,m),++r[ui],t[Wi][t[kn]++]=null}),m.once("close",()=>{r[ui]-=1,r[ui]===0&&r.unref()}),!0;d[mX]=s,d[pX]="https";let C=n==="PUT"||n==="POST"||n==="PATCH";u&&typeof u.read=="function"&&u.read(0);let y=me.bodyLength(u);if(me.isFormDataLike(u)){DM??=Bc().extractBody;let[B,N]=DM(u);d["content-type"]=N,u=B.stream,y=B.length}if(y==null&&(y=e.contentLength),(y===0||!C)&&(y=null),bX(n)&&y>0&&e.contentLength!=null&&e.contentLength!==y){if(t[cX])return me.errorRequest(t,e,new lB),!1;process.emitWarning(new lB)}y!=null&&(on(u,"no body must not have content length"),d[hX]=`${y}`),r.ref();let E=n==="GET"||n==="HEAD"||u===null;return c?(d[fX]="100-continue",m=r.request(d,{endStream:E,signal:l}),m.once("continue",I)):(m=r.request(d,{endStream:E,signal:l}),I()),++r[ui],m.once("response",B=>{let{[gX]:N,...S}=B;if(e.onResponseStarted(),e.aborted){let F=new vM;me.errorRequest(t,e,F),me.destroy(m,F);return}e.onHeaders(Number(N),yX(S),m.resume.bind(m),"")===!1&&m.pause(),m.on("data",F=>{e.onData(F)===!1&&m.pause()})}),m.once("end",()=>{(m.state?.state==null||m.state.state<6)&&e.onComplete([]),r[ui]===0&&r.unref(),f(new AB("HTTP/2: stream half-closed (remote)")),t[Wi][t[kn]++]=null,t[uB]=t[kn],t[$i]()}),m.once("close",()=>{r[ui]-=1,r[ui]===0&&r.unref()}),m.once("error",function(B){f(B)}),m.once("frameError",(B,N)=>{f(new AB(`HTTP/2: "frameError" received - type ${B}, code ${N}`))}),!0;function I(){!u||y===0?TM(f,m,null,t,e,t[wt],y,C):me.isBuffer(u)?TM(f,m,u,t,e,t[wt],y,C):me.isBlobLike(u)?typeof u.stream=="function"?MM(f,m,u.stream(),t,e,t[wt],y,C):SX(f,m,u,t,e,t[wt],y,C):me.isStream(u)?NX(f,t[wt],C,m,u,t,e,y):me.isIterable(u)?MM(f,m,u,t,e,t[wt],y,C):on(!1)}o(I,"writeBodyH2")}o(wX,"writeH2");function TM(t,e,r,n,s,i,a,c){try{r!=null&&me.isBuffer(r)&&(on(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),s.onBodySent(r)),c||(i[Rp]=!0),s.onRequestSent(),n[$i]()}catch(l){t(l)}}o(TM,"writeBuffer");function NX(t,e,r,n,s,i,a,c){on(c!==0||i[Pp]===0,"stream body cannot be pipelined");let l=oX(s,n,u=>{u?(me.destroy(l,u),t(u)):(me.removeAllListeners(l),a.onRequestSent(),r||(e[Rp]=!0),i[$i]())});me.addListener(l,"data",A);function A(u){a.onBodySent(u)}o(A,"onPipeData")}o(NX,"writeStream");async function SX(t,e,r,n,s,i,a,c){on(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new lB;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),s.onBodySent(l),s.onRequestSent(),c||(i[Rp]=!0),n[$i]()}catch(l){t(l)}}o(SX,"writeBlob");async function MM(t,e,r,n,s,i,a,c){on(a!==0||n[Pp]===0,"iterator body cannot be pipelined");let l=null;function A(){if(l){let d=l;l=null,d()}}o(A,"onDrain");let u=o(()=>new Promise((d,m)=>{on(l===null),i[Mn]?m(i[Mn]):l=d}),"waitForDrain");e.on("close",A).on("drain",A);try{for await(let d of r){if(i[Mn])throw i[Mn];let m=e.write(d);s.onBodySent(d),m||await u()}e.end(),s.onRequestSent(),c||(i[Rp]=!0),n[$i]()}catch(d){t(d)}finally{e.off("close",A).off("drain",A)}}o(MM,"writeIterable");_M.exports=EX});var Dp=g((RNe,qM)=>{"use strict";var ls=ce(),{kBodyUsed:GA}=Oe(),pB=require("node:assert"),{InvalidArgumentError:RX}=ye(),PX=require("node:events"),vX=[300,301,302,303,307,308],UM=Symbol("body"),vp=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[UM]=e,this[GA]=!1}async*[Symbol.asyncIterator](){pB(!this[GA],"disturbed"),this[GA]=!0,yield*this[UM]}},mB=class{static{o(this,"RedirectHandler")}constructor(e,r,n,s){if(r!=null&&(!Number.isInteger(r)||r<0))throw new RX("maxRedirections must be a positive number");ls.validateHandler(s,n.method,n.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...n,maxRedirections:0},this.maxRedirections=r,this.handler=s,this.history=[],this.redirectionLimitReached=!1,ls.isStream(this.opts.body)?(ls.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){pB(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[GA]=!1,PX.prototype.on.call(this.opts.body,"data",function(){this[GA]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new vp(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&ls.isIterable(this.opts.body)&&(this.opts.body=new vp(this.opts.body))}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,r,n){this.handler.onUpgrade(e,r,n)}onError(e){this.handler.onError(e)}onHeaders(e,r,n,s){if(this.location=this.history.length>=this.maxRedirections||ls.isDisturbed(this.opts.body)?null:DX(e,r),this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){this.request&&this.request.abort(new Error("max redirects")),this.redirectionLimitReached=!0,this.abort(new Error("max redirects"));return}if(this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return this.handler.onHeaders(e,r,n,s);let{origin:i,pathname:a,search:c}=ls.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=kX(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 DX(t,e){if(vX.indexOf(t)===-1)return null;for(let r=0;r{"use strict";var TX=Dp();function MX({maxRedirections:t}){return e=>o(function(n,s){let{maxRedirections:i=t}=n;if(!i)return e(n,s);let a=new TX(e,i,n,s);return n={...n,maxRedirections:0},e(n,a)},"Intercept")}o(MX,"createRedirectInterceptor");HM.exports=MX});var Rc=g((kNe,XM)=>{"use strict";var di=require("node:assert"),WM=require("node:net"),LX=require("node:http"),Jo=ce(),{channels:Nc}=lc(),_X=Xk(),FX=mc(),{InvalidArgumentError:st,InformationalError:UX,ClientDestroyedError:OX}=ye(),qX=vA(),{kUrl:As,kServerName:ji,kClient:HX,kBusy:hB,kConnect:zX,kResuming:Wo,kRunning:$A,kPending:jA,kSize:WA,kQueue:Ln,kConnected:GX,kConnecting:Sc,kNeedDrain:Xi,kKeepAliveDefaultTimeout:zM,kHostHeader:YX,kPendingIdx:_n,kRunningIdx:mi,kError:VX,kPipelining:Tp,kKeepAliveTimeoutValue:JX,kMaxHeadersSize:WX,kKeepAliveMaxTimeout:$X,kKeepAliveTimeoutThreshold:jX,kHeadersTimeout:KX,kBodyTimeout:XX,kStrictContentLength:ZX,kConnector:YA,kMaxRedirections:eZ,kMaxRequests:fB,kCounter:tZ,kClose:rZ,kDestroy:nZ,kDispatch:sZ,kInterceptors:GM,kLocalAddress:VA,kMaxResponseSize:iZ,kOnError:oZ,kHTTPContext:it,kMaxConcurrentStreams:aZ,kResume:JA}=Oe(),cZ=PM(),lZ=FM(),YM=!1,Ki=Symbol("kClosedResolve"),VM=o(()=>{},"noop");function $M(t){return t[Tp]??t[it]?.defaultPipelining??1}o($M,"getPipelining");var gB=class extends FX{static{o(this,"Client")}constructor(e,{interceptors:r,maxHeaderSize:n,headersTimeout:s,socketTimeout:i,requestTimeout:a,connectTimeout:c,bodyTimeout:l,idleTimeout:A,keepAlive:u,keepAliveTimeout:d,maxKeepAliveTimeout:m,keepAliveMaxTimeout:p,keepAliveTimeoutThreshold:h,socketPath:f,pipelining:C,tls:y,strictContentLength:E,maxCachedSessions:I,maxRedirections:B,connect:N,maxRequestsPerClient:S,localAddress:F,maxResponseSize:de,autoSelectFamily:be,autoSelectFamilyAttemptTimeout:Be,maxConcurrentStreams:Ne,allowH2:ae,webSocket:De}={}){if(super({webSocket:De}),u!==void 0)throw new st("unsupported keepAlive, use pipelining=0 instead");if(i!==void 0)throw new st("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new st("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(A!==void 0)throw new st("unsupported idleTimeout, use keepAliveTimeout instead");if(m!==void 0)throw new st("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(n!=null&&!Number.isFinite(n))throw new st("invalid maxHeaderSize");if(f!=null&&typeof f!="string")throw new st("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new st("invalid connectTimeout");if(d!=null&&(!Number.isFinite(d)||d<=0))throw new st("invalid keepAliveTimeout");if(p!=null&&(!Number.isFinite(p)||p<=0))throw new st("invalid keepAliveMaxTimeout");if(h!=null&&!Number.isFinite(h))throw new st("invalid keepAliveTimeoutThreshold");if(s!=null&&(!Number.isInteger(s)||s<0))throw new st("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new st("bodyTimeout must be a positive integer or zero");if(N!=null&&typeof N!="function"&&typeof N!="object")throw new st("connect must be a function or an object");if(B!=null&&(!Number.isInteger(B)||B<0))throw new st("maxRedirections must be a positive number");if(S!=null&&(!Number.isInteger(S)||S<0))throw new st("maxRequestsPerClient must be a positive number");if(F!=null&&(typeof F!="string"||WM.isIP(F)===0))throw new st("localAddress must be valid string IP address");if(de!=null&&(!Number.isInteger(de)||de<-1))throw new st("maxResponseSize must be a positive number");if(Be!=null&&(!Number.isInteger(Be)||Be<-1))throw new st("autoSelectFamilyAttemptTimeout must be a positive number");if(ae!=null&&typeof ae!="boolean")throw new st("allowH2 must be a valid boolean value");if(Ne!=null&&(typeof Ne!="number"||Ne<1))throw new st("maxConcurrentStreams must be a positive integer, greater than 0");typeof N!="function"&&(N=qX({...y,maxCachedSessions:I,allowH2:ae,socketPath:f,timeout:c,...be?{autoSelectFamily:be,autoSelectFamilyAttemptTimeout:Be}:void 0,...N})),r?.Client&&Array.isArray(r.Client)?(this[GM]=r.Client,YM||(YM=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[GM]=[AZ({maxRedirections:B})],this[As]=Jo.parseOrigin(e),this[YA]=N,this[Tp]=C??1,this[WX]=n||LX.maxHeaderSize,this[zM]=d??4e3,this[$X]=p??6e5,this[jX]=h??2e3,this[JX]=this[zM],this[ji]=null,this[VA]=F??null,this[Wo]=0,this[Xi]=0,this[YX]=`host: ${this[As].hostname}${this[As].port?`:${this[As].port}`:""}\r +`,this[XX]=l??3e5,this[KX]=s??3e5,this[ZX]=E??!0,this[eZ]=B,this[fB]=S,this[Ki]=null,this[iZ]=de>-1?de:-1,this[aZ]=Ne??100,this[it]=null,this[Ln]=[],this[mi]=0,this[_n]=0,this[JA]=ee=>yB(this,ee),this[oZ]=ee=>jM(this,ee)}get pipelining(){return this[Tp]}set pipelining(e){this[Tp]=e,this[JA](!0)}get[jA](){return this[Ln].length-this[_n]}get[$A](){return this[_n]-this[mi]}get[WA](){return this[Ln].length-this[mi]}get[GX](){return!!this[it]&&!this[Sc]&&!this[it].destroyed}get[hB](){return!!(this[it]?.busy(null)||this[WA]>=($M(this)||1)||this[jA]>0)}[zX](e){KM(this),this.once("connect",e)}[sZ](e,r){let n=e.origin||this[As].origin,s=new _X(n,e,r);return this[Ln].push(s),this[Wo]||(Jo.bodyLength(s.body)==null&&Jo.isIterable(s.body)?(this[Wo]=1,queueMicrotask(()=>yB(this))):this[JA](!0)),this[Wo]&&this[Xi]!==2&&this[hB]&&(this[Xi]=2),this[Xi]<2}async[rZ](){return new Promise(e=>{this[WA]?this[Ki]=e:e(null)})}async[nZ](e){return new Promise(r=>{let n=this[Ln].splice(this[_n]);for(let i=0;i{this[Ki]&&(this[Ki](),this[Ki]=null),r(null)},"callback");this[it]?(this[it].destroy(e,s),this[it]=null):queueMicrotask(s),this[JA]()})}},AZ=kp();function jM(t,e){if(t[$A]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){di(t[_n]===t[mi]);let r=t[Ln].splice(t[mi]);for(let n=0;n{t[YA]({host:e,hostname:r,protocol:n,port:s,servername:t[ji],localAddress:t[VA]},(l,A)=>{l?c(l):a(A)})});if(t.destroyed){Jo.destroy(i.on("error",VM),new OX);return}di(i);try{t[it]=i.alpnProtocol==="h2"?await lZ(t,i):await cZ(t,i)}catch(a){throw i.destroy().on("error",VM),a}t[Sc]=!1,i[tZ]=0,i[fB]=t[fB],i[HX]=t,i[VX]=null,Nc.connected.hasSubscribers&&Nc.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[it]?.version,servername:t[ji],localAddress:t[VA]},connector:t[YA],socket:i}),t.emit("connect",t[As],[t])}catch(i){if(t.destroyed)return;if(t[Sc]=!1,Nc.connectError.hasSubscribers&&Nc.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[it]?.version,servername:t[ji],localAddress:t[VA]},connector:t[YA],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(di(t[$A]===0);t[jA]>0&&t[Ln][t[_n]].servername===t[ji];){let a=t[Ln][t[_n]++];Jo.errorRequest(t,a,i)}else jM(t,i);t.emit("connectionError",t[As],[t],i)}t[JA]()}o(KM,"connect");function JM(t){t[Xi]=0,t.emit("drain",t[As],[t])}o(JM,"emitDrain");function yB(t,e){t[Wo]!==2&&(t[Wo]=2,uZ(t,e),t[Wo]=0,t[mi]>256&&(t[Ln].splice(0,t[mi]),t[_n]-=t[mi],t[mi]=0))}o(yB,"resume");function uZ(t,e){for(;;){if(t.destroyed){di(t[jA]===0);return}if(t[Ki]&&!t[WA]){t[Ki](),t[Ki]=null;return}if(t[it]&&t[it].resume(),t[hB])t[Xi]=2;else if(t[Xi]===2){e?(t[Xi]=1,queueMicrotask(()=>JM(t))):JM(t);continue}if(t[jA]===0||t[$A]>=($M(t)||1))return;let r=t[Ln][t[_n]];if(t[As].protocol==="https:"&&t[ji]!==r.servername){if(t[$A]>0)return;t[ji]=r.servername,t[it]?.destroy(new UX("servername changed"),()=>{t[it]=null,yB(t)})}if(t[Sc])return;if(!t[it]){KM(t);return}if(t[it].destroyed||t[it].busy(r))return;!r.aborted&&t[it].write(r)?t[_n]++:t[Ln].splice(t[_n],1)}}o(uZ,"_resume");XM.exports=gB});var EB=g((LNe,ZM)=>{"use strict";var Mp=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)}};ZM.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new Mp}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new Mp),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var tL=g((FNe,eL)=>{var{kFree:dZ,kConnected:mZ,kPending:pZ,kQueued:hZ,kRunning:fZ,kSize:gZ}=Oe(),$o=Symbol("pool"),CB=class{static{o(this,"PoolStats")}constructor(e){this[$o]=e}get connected(){return this[$o][mZ]}get free(){return this[$o][dZ]}get pending(){return this[$o][pZ]}get queued(){return this[$o][hZ]}get running(){return this[$o][fZ]}get size(){return this[$o][gZ]}};eL.exports=CB});var wB=g((ONe,uL)=>{"use strict";var yZ=mc(),EZ=EB(),{kConnected:IB,kSize:rL,kRunning:nL,kPending:sL,kQueued:KA,kBusy:CZ,kFree:IZ,kUrl:BZ,kClose:QZ,kDestroy:xZ,kDispatch:bZ}=Oe(),wZ=tL(),lr=Symbol("clients"),Wt=Symbol("needDrain"),XA=Symbol("queue"),BB=Symbol("closed resolve"),QB=Symbol("onDrain"),iL=Symbol("onConnect"),oL=Symbol("onDisconnect"),aL=Symbol("onConnectionError"),xB=Symbol("get dispatcher"),lL=Symbol("add client"),AL=Symbol("remove client"),cL=Symbol("stats"),bB=class extends yZ{static{o(this,"PoolBase")}constructor(e){super(e),this[XA]=new EZ,this[lr]=[],this[KA]=0;let r=this;this[QB]=o(function(s,i){let a=r[XA],c=!1;for(;!c;){let l=a.shift();if(!l)break;r[KA]--,c=!this.dispatch(l.opts,l.handler)}this[Wt]=c,!this[Wt]&&r[Wt]&&(r[Wt]=!1,r.emit("drain",s,[r,...i])),r[BB]&&a.isEmpty()&&Promise.all(r[lr].map(l=>l.close())).then(r[BB])},"onDrain"),this[iL]=(n,s)=>{r.emit("connect",n,[r,...s])},this[oL]=(n,s,i)=>{r.emit("disconnect",n,[r,...s],i)},this[aL]=(n,s,i)=>{r.emit("connectionError",n,[r,...s],i)},this[cL]=new wZ(this)}get[CZ](){return this[Wt]}get[IB](){return this[lr].filter(e=>e[IB]).length}get[IZ](){return this[lr].filter(e=>e[IB]&&!e[Wt]).length}get[sL](){let e=this[KA];for(let{[sL]:r}of this[lr])e+=r;return e}get[nL](){let e=0;for(let{[nL]:r}of this[lr])e+=r;return e}get[rL](){let e=this[KA];for(let{[rL]:r}of this[lr])e+=r;return e}get stats(){return this[cL]}async[QZ](){this[XA].isEmpty()?await Promise.all(this[lr].map(e=>e.close())):await new Promise(e=>{this[BB]=e})}async[xZ](e){for(;;){let r=this[XA].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[lr].map(r=>r.destroy(e)))}[bZ](e,r){let n=this[xB]();return n?n.dispatch(e,r)||(n[Wt]=!0,this[Wt]=!this[xB]()):(this[Wt]=!0,this[XA].push({opts:e,handler:r}),this[KA]++),!this[Wt]}[lL](e){return e.on("drain",this[QB]).on("connect",this[iL]).on("disconnect",this[oL]).on("connectionError",this[aL]),this[lr].push(e),this[Wt]&&queueMicrotask(()=>{this[Wt]&&this[QB](e[BZ],[this,e])}),this}[AL](e){e.close(()=>{let r=this[lr].indexOf(e);r!==-1&&this[lr].splice(r,1)}),this[Wt]=this[lr].some(r=>!r[Wt]&&r.closed!==!0&&r.destroyed!==!0)}};uL.exports={PoolBase:bB,kClients:lr,kNeedDrain:Wt,kAddClient:lL,kRemoveClient:AL,kGetDispatcher:xB}});var Pc=g((HNe,hL)=>{"use strict";var{PoolBase:NZ,kClients:Lp,kNeedDrain:SZ,kAddClient:RZ,kGetDispatcher:PZ}=wB(),vZ=Rc(),{InvalidArgumentError:NB}=ye(),dL=ce(),{kUrl:mL,kInterceptors:DZ}=Oe(),kZ=vA(),SB=Symbol("options"),RB=Symbol("connections"),pL=Symbol("factory");function TZ(t,e){return new vZ(t,e)}o(TZ,"defaultFactory");var PB=class extends NZ{static{o(this,"Pool")}constructor(e,{connections:r,factory:n=TZ,connect:s,connectTimeout:i,tls:a,maxCachedSessions:c,socketPath:l,autoSelectFamily:A,autoSelectFamilyAttemptTimeout:u,allowH2:d,...m}={}){if(r!=null&&(!Number.isFinite(r)||r<0))throw new NB("invalid connections");if(typeof n!="function")throw new NB("factory must be a function.");if(s!=null&&typeof s!="function"&&typeof s!="object")throw new NB("connect must be a function or an object");typeof s!="function"&&(s=kZ({...a,maxCachedSessions:c,allowH2:d,socketPath:l,timeout:i,...A?{autoSelectFamily:A,autoSelectFamilyAttemptTimeout:u}:void 0,...s})),super(m),this[DZ]=m.interceptors?.Pool&&Array.isArray(m.interceptors.Pool)?m.interceptors.Pool:[],this[RB]=r||null,this[mL]=dL.parseOrigin(e),this[SB]={...dL.deepClone(m),connect:s,allowH2:d},this[SB].interceptors=m.interceptors?{...m.interceptors}:void 0,this[pL]=n,this.on("connectionError",(p,h,f)=>{for(let C of h){let y=this[Lp].indexOf(C);y!==-1&&this[Lp].splice(y,1)}})}[PZ](){for(let e of this[Lp])if(!e[SZ])return e;if(!this[RB]||this[Lp].length{"use strict";var{BalancedPoolMissingUpstreamError:MZ,InvalidArgumentError:LZ}=ye(),{PoolBase:_Z,kClients:_t,kNeedDrain:ZA,kAddClient:FZ,kRemoveClient:UZ,kGetDispatcher:OZ}=wB(),qZ=Pc(),{kUrl:vB,kInterceptors:HZ}=Oe(),{parseOrigin:fL}=ce(),gL=Symbol("factory"),_p=Symbol("options"),yL=Symbol("kGreatestCommonDivisor"),jo=Symbol("kCurrentWeight"),Ko=Symbol("kIndex"),an=Symbol("kWeight"),Fp=Symbol("kMaxWeightPerServer"),Up=Symbol("kErrorPenalty");function zZ(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(zZ,"getGreatestCommonDivisor");function GZ(t,e){return new qZ(t,e)}o(GZ,"defaultFactory");var DB=class extends _Z{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=GZ,...n}={}){if(super(),this[_p]=n,this[Ko]=-1,this[jo]=0,this[Fp]=this[_p].maxWeightPerServer||100,this[Up]=this[_p].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new LZ("factory must be a function.");this[HZ]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[gL]=r;for(let s of e)this.addUpstream(s);this._updateBalancedPoolStats()}addUpstream(e){let r=fL(e).origin;if(this[_t].find(s=>s[vB].origin===r&&s.closed!==!0&&s.destroyed!==!0))return this;let n=this[gL](r,Object.assign({},this[_p]));this[FZ](n),n.on("connect",()=>{n[an]=Math.min(this[Fp],n[an]+this[Up])}),n.on("connectionError",()=>{n[an]=Math.max(1,n[an]-this[Up]),this._updateBalancedPoolStats()}),n.on("disconnect",(...s)=>{let i=s[2];i&&i.code==="UND_ERR_SOCKET"&&(n[an]=Math.max(1,n[an]-this[Up]),this._updateBalancedPoolStats())});for(let s of this[_t])s[an]=this[Fp];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;rs[vB].origin===r&&s.closed!==!0&&s.destroyed!==!0);return n&&this[UZ](n),this}get upstreams(){return this[_t].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[vB].origin)}[OZ](){if(this[_t].length===0)throw new MZ;if(!this[_t].find(i=>!i[ZA]&&i.closed!==!0&&i.destroyed!==!0)||this[_t].map(i=>i[ZA]).reduce((i,a)=>i&&a,!0))return;let n=0,s=this[_t].findIndex(i=>!i[ZA]);for(;n++this[_t][s][an]&&!i[ZA]&&(s=this[Ko]),this[Ko]===0&&(this[jo]=this[jo]-this[yL],this[jo]<=0&&(this[jo]=this[Fp])),i[an]>=this[jo]&&!i[ZA])return i}return this[jo]=this[_t][s][an],this[Ko]=s,this[_t][s]}};EL.exports=DB});var vc=g((VNe,NL)=>{"use strict";var{InvalidArgumentError:Op}=ye(),{kClients:Zi,kRunning:IL,kClose:YZ,kDestroy:VZ,kDispatch:JZ,kInterceptors:WZ}=Oe(),$Z=mc(),jZ=Pc(),KZ=Rc(),XZ=ce(),ZZ=kp(),BL=Symbol("onConnect"),QL=Symbol("onDisconnect"),xL=Symbol("onConnectionError"),e7=Symbol("maxRedirections"),bL=Symbol("onDrain"),wL=Symbol("factory"),kB=Symbol("options");function t7(t,e){return e&&e.connections===1?new KZ(t,e):new jZ(t,e)}o(t7,"defaultFactory");var TB=class extends $Z{static{o(this,"Agent")}constructor({factory:e=t7,maxRedirections:r=0,connect:n,...s}={}){if(typeof e!="function")throw new Op("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new Op("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new Op("maxRedirections must be a positive number");super(s),n&&typeof n!="function"&&(n={...n}),this[WZ]=s.interceptors?.Agent&&Array.isArray(s.interceptors.Agent)?s.interceptors.Agent:[ZZ({maxRedirections:r})],this[kB]={...XZ.deepClone(s),connect:n},this[kB].interceptors=s.interceptors?{...s.interceptors}:void 0,this[e7]=r,this[wL]=e,this[Zi]=new Map,this[bL]=(i,a)=>{this.emit("drain",i,[this,...a])},this[BL]=(i,a)=>{this.emit("connect",i,[this,...a])},this[QL]=(i,a,c)=>{this.emit("disconnect",i,[this,...a],c)},this[xL]=(i,a,c)=>{this.emit("connectionError",i,[this,...a],c)}}get[IL](){let e=0;for(let r of this[Zi].values())e+=r[IL];return e}[JZ](e,r){let n;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))n=String(e.origin);else throw new Op("opts.origin must be a non-empty string or URL.");let s=this[Zi].get(n);return s||(s=this[wL](e.origin,this[kB]).on("drain",this[bL]).on("connect",this[BL]).on("disconnect",this[QL]).on("connectionError",this[xL]),this[Zi].set(n,s)),s.dispatch(e,r)}async[YZ](){let e=[];for(let r of this[Zi].values())e.push(r.close());this[Zi].clear(),await Promise.all(e)}async[VZ](e){let r=[];for(let n of this[Zi].values())r.push(n.destroy(e));this[Zi].clear(),await Promise.all(r)}};NL.exports=TB});var UB=g((WNe,FL)=>{"use strict";var{kProxy:MB,kClose:kL,kDestroy:TL,kDispatch:SL,kInterceptors:r7}=Oe(),{URL:Xo}=require("node:url"),n7=vc(),ML=Pc(),LL=mc(),{InvalidArgumentError:Dc,RequestAbortedError:s7,SecureProxyConnectionError:i7}=ye(),RL=vA(),_L=Rc(),qp=Symbol("proxy agent"),Hp=Symbol("proxy client"),eo=Symbol("proxy headers"),LB=Symbol("request tls settings"),PL=Symbol("proxy tls settings"),vL=Symbol("connect endpoint function"),DL=Symbol("tunnel proxy");function o7(t){return t==="https:"?443:80}o(o7,"defaultProtocolPort");function a7(t,e){return new ML(t,e)}o(a7,"defaultFactory");var c7=o(()=>{},"noop");function l7(t,e){return e.connections===1?new _L(t,e):new ML(t,e)}o(l7,"defaultAgentFactory");var _B=class extends LL{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:n,factory:s}){if(super(),!e)throw new Dc("Proxy URL is mandatory");this[eo]=r,s?this.#e=s(e,{connect:n}):this.#e=new _L(e,{connect:n})}[SL](e,r){let n=r.onHeaders;r.onHeaders=function(c,l,A){if(c===407){typeof r.onError=="function"&&r.onError(new Dc("Proxy Authentication Required (407)"));return}n&&n.call(this,c,l,A)};let{origin:s,path:i="/",headers:a={}}=e;if(e.path=s+i,!("host"in a)&&!("Host"in a)){let{host:c}=new Xo(s);a.host=c}return e.headers={...this[eo],...a},this.#e[SL](e,r)}async[kL](){return this.#e.close()}async[TL](e){return this.#e.destroy(e)}},FB=class extends LL{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof Xo)&&!e.uri)throw new Dc("Proxy uri is mandatory");let{clientFactory:r=a7}=e;if(typeof r!="function")throw new Dc("Proxy opts.clientFactory must be a function.");let{proxyTunnel:n=!0}=e,s=this.#e(e),{href:i,origin:a,port:c,protocol:l,username:A,password:u,hostname:d}=s;if(this[MB]={uri:i,protocol:l},this[r7]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[LB]=e.requestTls,this[PL]=e.proxyTls,this[eo]=e.headers||{},this[DL]=n,e.auth&&e.token)throw new Dc("opts.auth cannot be used in combination with opts.token");e.auth?this[eo]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[eo]["proxy-authorization"]=e.token:A&&u&&(this[eo]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(A)}:${decodeURIComponent(u)}`).toString("base64")}`);let m=RL({...e.proxyTls});this[vL]=RL({...e.requestTls});let p=e.factory||l7,h=o((f,C)=>{let{protocol:y}=new Xo(f);return!this[DL]&&y==="http:"&&this[MB].protocol==="http:"?new _B(this[MB].uri,{headers:this[eo],connect:m,factory:p}):p(f,C)},"factory");this[Hp]=r(s,{connect:m}),this[qp]=new n7({...e,factory:h,connect:o(async(f,C)=>{let y=f.host;f.port||(y+=`:${o7(f.protocol)}`);try{let{socket:E,statusCode:I}=await this[Hp].connect({origin:a,port:c,path:y,signal:f.signal,headers:{...this[eo],host:f.host},servername:this[PL]?.servername||d});if(I!==200&&(E.on("error",c7).destroy(),C(new s7(`Proxy response (${I}) !== 200 when HTTP Tunneling`))),f.protocol!=="https:"){C(null,E);return}let B;this[LB]?B=this[LB].servername:B=f.servername,this[vL]({...f,servername:B,httpSocket:E},C)}catch(E){E.code==="ERR_TLS_CERT_ALTNAME_INVALID"?C(new i7(E)):C(E)}},"connect")})}dispatch(e,r){let n=A7(e.headers);if(u7(n),n&&!("host"in n)&&!("Host"in n)){let{host:s}=new Xo(e.origin);n.host=s}return this[qp].dispatch({...e,headers:n},r)}#e(e){return typeof e=="string"?new Xo(e):e instanceof Xo?e:new Xo(e.uri)}async[kL](){await this[qp].close(),await this[Hp].close()}async[TL](){await this[qp].destroy(),await this[Hp].destroy()}};function A7(t){if(Array.isArray(t)){let e={};for(let r=0;rr.toLowerCase()==="proxy-authorization"))throw new Dc("Proxy-Authorization should be sent in ProxyAgent constructor")}o(u7,"throwIfProxyAuthIsSent");FL.exports=FB});var GL=g((jNe,zL)=>{"use strict";var d7=mc(),{kClose:m7,kDestroy:p7,kClosed:UL,kDestroyed:OL,kDispatch:h7,kNoProxyAgent:eu,kHttpProxyAgent:to,kHttpsProxyAgent:Zo}=Oe(),qL=UB(),f7=vc(),g7={"http:":80,"https:":443},HL=!1,OB=class extends d7{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#r=null;constructor(e={}){super(),this.#r=e,HL||(HL=!0,process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"}));let{httpProxy:r,httpsProxy:n,noProxy:s,...i}=e;this[eu]=new f7(i);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[to]=new qL({...i,uri:a}):this[to]=this[eu];let c=n??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[Zo]=new qL({...i,uri:c}):this[Zo]=this[to],this.#n()}[h7](e,r){let n=new URL(e.origin);return this.#i(n).dispatch(e,r)}async[m7](){await this[eu].close(),this[to][UL]||await this[to].close(),this[Zo][UL]||await this[Zo].close()}async[p7](e){await this[eu].destroy(e),this[to][OL]||await this[to].destroy(e),this[Zo][OL]||await this[Zo].destroy(e)}#i(e){let{protocol:r,host:n,port:s}=e;return n=n.replace(/:\d*$/,"").toLowerCase(),s=Number.parseInt(s,10)||g7[r]||0,this.#s(n,s)?r==="https:"?this[Zo]:this[to]:this[eu]}#s(e,r){if(this.#o&&this.#n(),this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let n=0;n{"use strict";var kc=require("node:assert"),{kRetryHandlerDefaultRetry:YL}=Oe(),{RequestRetryError:Tc}=ye(),{isDisturbed:VL,parseHeaders:y7,parseRangeHeader:JL,wrapRequestBody:E7}=ce();function C7(t){let e=Date.now();return new Date(t).getTime()-e}o(C7,"calculateRetryAfterHeader");function WL(t,e,r,n){let s=t["content-length"];if(s==null||!Number.isFinite(e.start)||!Number.isFinite(e.end))return null;let i=Number(s),a=e.end-e.start+1;return!Number.isFinite(i)||i!==a?new Tc("Content-Length mismatch",r,{headers:t,data:{count:n}}):null}o(WL,"validatePartialResponseContentLength");var qB=class t{static{o(this,"RetryHandler")}constructor(e,r){let{retryOptions:n,...s}=e,{retry:i,maxRetries:a,maxTimeout:c,minTimeout:l,timeoutFactor:A,methods:u,errorCodes:d,retryAfter:m,statusCodes:p}=n??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts={...s,body:E7(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:i??t[YL],retryAfter:m??!0,maxTimeout:c??30*1e3,minTimeout:l??500,timeoutFactor:A??2,maxRetries:a??5,methods:u??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:p??[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,n){this.handler.onUpgrade&&this.handler.onUpgrade(e,r,n)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[YL](e,{state:r,opts:n},s){let{statusCode:i,code:a,headers:c}=e,{method:l,retryOptions:A}=n,{maxRetries:u,minTimeout:d,maxTimeout:m,timeoutFactor:p,statusCodes:h,errorCodes:f,methods:C}=A,{counter:y}=r;if(a&&a!=="UND_ERR_REQ_RETRY"&&!f.includes(a)){s(e);return}if(Array.isArray(C)&&!C.includes(l)){s(e);return}if(i!=null&&Array.isArray(h)&&!h.includes(i)){s(e);return}if(y>u){s(e);return}let E=c?.["retry-after"];E&&(E=Number(E),E=Number.isNaN(E)?C7(E):E*1e3);let I=E>0?Math.min(E,m):Math.min(d*p**(y-1),m);setTimeout(()=>s(null),I)}onHeaders(e,r,n,s){let i=y7(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,r,n,s):(this.abort(new Tc("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 Tc("server does not support the range header and the payload was partially consumed",e,{headers:i,data:{count:this.retryCount}})),!1;let c=JL(i["content-range"]);if(!c)return this.abort(new Tc("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==i.etag)return this.abort(new Tc("ETag mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;let l=WL(i,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:A,size:u,end:d=u-1}=c;return kc(this.start===A,"content-range mismatch"),kc(this.end==null||this.end===d,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(e===206){let c=JL(i["content-range"]);if(c==null)return this.handler.onHeaders(e,r,n,s);let l=WL(i,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:A,size:u,end:d=u-1}=c;kc(A!=null&&Number.isFinite(A),"content-range mismatch"),kc(d!=null&&Number.isFinite(d),"invalid content-length"),this.start=A,this.end=d}if(this.end==null){let c=i["content-length"];this.end=c!=null?Number(c)-1:null}return kc(Number.isFinite(this.start)),kc(this.end==null||Number.isFinite(this.end),"invalid content-length"),this.resume=n,this.etag=i.etag!=null?i.etag:null,this.etag!=null&&this.etag.startsWith("W/")&&(this.etag=null),this.handler.onHeaders(e,r,n,s)}let a=new Tc("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||VL(this.opts.body))return this.handler.onError(e);this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},r.bind(this));function r(n){if(n!=null||this.aborted||VL(this.opts.body))return this.handler.onError(n);if(this.start!==0){let s={range:`bytes=${this.start}-${this.end??""}`};this.etag!=null&&(s["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...s}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(s){this.handler.onError(s)}}o(r,"onRetry")}};$L.exports=qB});var KL=g((eSe,jL)=>{"use strict";var I7=RA(),B7=zp(),HB=class extends I7{static{o(this,"RetryAgent")}#e=null;#t=null;constructor(e,r={}){super(r),this.#e=e,this.#t=r}dispatch(e,r){let n=new B7({...e,retryOptions:this.#t},{dispatch:this.#e.dispatch.bind(this.#e),handler:r});return this.#e.dispatch(e,n)}close(){return this.#e.close()}destroy(){return this.#e.destroy()}};jL.exports=HB});var WB=g((rSe,o_)=>{"use strict";var r_=require("node:assert"),{Readable:Q7}=require("node:stream"),{RequestAbortedError:n_,NotSupportedError:x7,InvalidArgumentError:b7,AbortError:zB}=ye(),s_=ce(),{ReadableStreamFrom:w7}=ce(),vr=Symbol("kConsume"),tu=Symbol("kReading"),ro=Symbol("kBody"),XL=Symbol("kAbort"),i_=Symbol("kContentType"),ZL=Symbol("kContentLength"),N7=o(()=>{},"noop"),GB=class extends Q7{static{o(this,"BodyReadable")}constructor({resume:e,abort:r,contentType:n="",contentLength:s,highWaterMark:i=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:i}),this._readableState.dataEmitted=!1,this[XL]=r,this[vr]=null,this[ro]=null,this[i_]=n,this[ZL]=s,this[tu]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new n_),e&&this[XL](),super.destroy(e)}_destroy(e,r){this[tu]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[tu]=!0),super.on(e,...r)}addListener(e,...r){return this.on(e,...r)}off(e,...r){let n=super.off(e,...r);return(e==="data"||e==="readable")&&(this[tu]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(e,...r){return this.off(e,...r)}push(e){return this[vr]&&e!==null?(VB(this[vr],e),this[tu]?super.push(e):!0):super.push(e)}async text(){return ru(this,"text")}async json(){return ru(this,"json")}async blob(){return ru(this,"blob")}async bytes(){return ru(this,"bytes")}async arrayBuffer(){return ru(this,"arrayBuffer")}async formData(){throw new x7}get bodyUsed(){return s_.isDisturbed(this)}get body(){return this[ro]||(this[ro]=w7(this),this[vr]&&(this[ro].getReader(),r_(this[ro].locked))),this[ro]}async dump(e){let r=Number.isFinite(e?.limit)?e.limit:131072,n=e?.signal;if(n!=null&&(typeof n!="object"||!("aborted"in n)))throw new b7("signal must be an AbortSignal");return n?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((s,i)=>{this[ZL]>r&&this.destroy(new zB);let a=o(()=>{this.destroy(n.reason??new zB)},"onAbort");n?.addEventListener("abort",a),this.on("close",function(){n?.removeEventListener("abort",a),n?.aborted?i(n.reason??new zB):s(null)}).on("error",N7).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function S7(t){return t[ro]&&t[ro].locked===!0||t[vr]}o(S7,"isLocked");function R7(t){return s_.isDisturbed(t)||S7(t)}o(R7,"isUnusable");async function ru(t,e){return r_(!t[vr]),new Promise((r,n)=>{if(R7(t)){let s=t._readableState;s.destroyed&&s.closeEmitted===!1?t.on("error",i=>{n(i)}).on("close",()=>{n(new TypeError("unusable"))}):n(s.errored??new TypeError("unusable"))}else queueMicrotask(()=>{t[vr]={type:e,stream:t,resolve:r,reject:n,length:0,body:[]},t.on("error",function(s){JB(this[vr],s)}).on("close",function(){this[vr].body!==null&&JB(this[vr],new n_)}),P7(t[vr])})})}o(ru,"consume");function P7(t){if(t.body===null)return;let{_readableState:e}=t.stream;if(e.bufferIndex){let r=e.bufferIndex,n=e.buffer.length;for(let s=r;s2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(s,n)}o(YB,"chunksDecode");function e_(t,e){if(t.length===0||e===0)return new Uint8Array(0);if(t.length===1)return new Uint8Array(t[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(e).buffer),n=0;for(let s=0;s{var v7=require("node:assert"),{ResponseStatusCodeError:a_}=ye(),{chunksDecode:c_}=WB(),D7=128*1024;async function k7({callback:t,body:e,contentType:r,statusCode:n,statusMessage:s,headers:i}){v7(e);let a=[],c=0;try{for await(let d of e)if(a.push(d),c+=d.length,c>D7){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${n}${s?`: ${s}`:""}`;if(n===204||!r||!c){queueMicrotask(()=>t(new a_(l,n,i)));return}let A=Error.stackTraceLimit;Error.stackTraceLimit=0;let u;try{l_(r)?u=JSON.parse(c_(a,c)):A_(r)&&(u=c_(a,c))}catch{}finally{Error.stackTraceLimit=A}queueMicrotask(()=>t(new a_(l,n,i,u)))}o(k7,"getResolveErrorBodyCallback");var l_=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"),A_=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");u_.exports={getResolveErrorBodyCallback:k7,isContentTypeApplicationJson:l_,isContentTypeText:A_}});var p_=g((oSe,jB)=>{"use strict";var T7=require("node:assert"),{Readable:M7}=WB(),{InvalidArgumentError:Mc,RequestAbortedError:d_}=ye(),Dr=ce(),{getResolveErrorBodyCallback:L7}=$B(),{AsyncResource:_7}=require("node:async_hooks"),Gp=class extends _7{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new Mc("invalid opts");let{signal:n,method:s,opaque:i,body:a,onInfo:c,responseHeaders:l,throwOnError:A,highWaterMark:u}=e;try{if(typeof r!="function")throw new Mc("invalid callback");if(u&&(typeof u!="number"||u<0))throw new Mc("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new Mc("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new Mc("invalid method");if(c&&typeof c!="function")throw new Mc("invalid onInfo callback");super("UNDICI_REQUEST")}catch(d){throw Dr.isStream(a)&&Dr.destroy(a.on("error",Dr.nop),d),d}this.method=s,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=A,this.highWaterMark=u,this.signal=n,this.reason=null,this.removeAbortListener=null,Dr.isStream(a)&&a.on("error",d=>{this.onError(d)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new d_:this.removeAbortListener=Dr.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new d_,this.res?Dr.destroy(this.res.on("error",Dr.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}T7(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,s){let{callback:i,opaque:a,abort:c,context:l,responseHeaders:A,highWaterMark:u}=this,d=A==="raw"?Dr.parseRawHeaders(r):Dr.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}let m=A==="raw"?Dr.parseHeaders(r):d,p=m["content-type"],h=m["content-length"],f=new M7({resume:n,abort:c,contentType:p,contentLength:this.method!=="HEAD"&&h?Number(h):null,highWaterMark:u});this.removeAbortListener&&f.on("close",this.removeAbortListener),this.callback=null,this.res=f,i!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(L7,null,{callback:i,body:f,contentType:p,statusCode:e,statusMessage:s,headers:d}):this.runInAsyncScope(i,null,null,{statusCode:e,headers:d,trailers:this.trailers,opaque:a,body:f,context:l}))}onData(e){return this.res.push(e)}onComplete(e){Dr.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:r,callback:n,body:s,opaque:i}=this;n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:i})})),r&&(this.res=null,queueMicrotask(()=>{Dr.destroy(r,e)})),s&&(this.body=null,Dr.destroy(s,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function m_(t,e){if(e===void 0)return new Promise((r,n)=>{m_.call(this,t,(s,i)=>s?n(s):r(i))});try{this.dispatch(t,new Gp(t,e))}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(m_,"request");jB.exports=m_;jB.exports.RequestHandler=Gp});var nu=g((cSe,g_)=>{var{addAbortListener:F7}=ce(),{RequestAbortedError:U7}=ye(),Lc=Symbol("kListener"),us=Symbol("kSignal");function h_(t){t.abort?t.abort(t[us]?.reason):t.reason=t[us]?.reason??new U7,f_(t)}o(h_,"abort");function O7(t,e){if(t.reason=null,t[us]=null,t[Lc]=null,!!e){if(e.aborted){h_(t);return}t[us]=e,t[Lc]=()=>{h_(t)},F7(t[us],t[Lc])}}o(O7,"addSignal");function f_(t){t[us]&&("removeEventListener"in t[us]?t[us].removeEventListener("abort",t[Lc]):t[us].removeListener("abort",t[Lc]),t[us]=null,t[Lc]=null)}o(f_,"removeSignal");g_.exports={addSignal:O7,removeSignal:f_}});var I_=g((ASe,C_)=>{"use strict";var q7=require("node:assert"),{finished:H7,PassThrough:z7}=require("node:stream"),{InvalidArgumentError:_c,InvalidReturnValueError:G7}=ye(),Fn=ce(),{getResolveErrorBodyCallback:Y7}=$B(),{AsyncResource:V7}=require("node:async_hooks"),{addSignal:J7,removeSignal:y_}=nu(),KB=class extends V7{static{o(this,"StreamHandler")}constructor(e,r,n){if(!e||typeof e!="object")throw new _c("invalid opts");let{signal:s,method:i,opaque:a,body:c,onInfo:l,responseHeaders:A,throwOnError:u}=e;try{if(typeof n!="function")throw new _c("invalid callback");if(typeof r!="function")throw new _c("invalid factory");if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new _c("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new _c("invalid method");if(l&&typeof l!="function")throw new _c("invalid onInfo callback");super("UNDICI_STREAM")}catch(d){throw Fn.isStream(c)&&Fn.destroy(c.on("error",Fn.nop),d),d}this.responseHeaders=A||null,this.opaque=a||null,this.factory=r,this.callback=n,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=c,this.onInfo=l||null,this.throwOnError=u||!1,Fn.isStream(c)&&c.on("error",d=>{this.onError(d)}),J7(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}q7(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,s){let{factory:i,opaque:a,context:c,callback:l,responseHeaders:A}=this,u=A==="raw"?Fn.parseRawHeaders(r):Fn.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:u});return}this.factory=null;let d;if(this.throwOnError&&e>=400){let h=(A==="raw"?Fn.parseHeaders(r):u)["content-type"];d=new z7,this.callback=null,this.runInAsyncScope(Y7,null,{callback:l,body:d,contentType:h,statusCode:e,statusMessage:s,headers:u})}else{if(i===null)return;if(d=this.runInAsyncScope(i,null,{statusCode:e,headers:u,opaque:a,context:c}),!d||typeof d.write!="function"||typeof d.end!="function"||typeof d.on!="function")throw new G7("expected Writable");H7(d,{readable:!1},p=>{let{callback:h,res:f,opaque:C,trailers:y,abort:E}=this;this.res=null,(p||!f.readable)&&Fn.destroy(f,p),this.callback=null,this.runInAsyncScope(h,null,p||null,{opaque:C,trailers:y}),p&&E()})}return d.on("drain",n),this.res=d,(d.writableNeedDrain!==void 0?d.writableNeedDrain:d._writableState?.needDrain)!==!0}onData(e){let{res:r}=this;return r?r.write(e):!0}onComplete(e){let{res:r}=this;y_(this),r&&(this.trailers=Fn.parseHeaders(e),r.end())}onError(e){let{res:r,callback:n,opaque:s,body:i}=this;y_(this),this.factory=null,r?(this.res=null,Fn.destroy(r,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:s})})),i&&(this.body=null,Fn.destroy(i,e))}};function E_(t,e,r){if(r===void 0)return new Promise((n,s)=>{E_.call(this,t,e,(i,a)=>i?s(i):n(a))});try{this.dispatch(t,new KB(t,e,r))}catch(n){if(typeof r!="function")throw n;let s=t?.opaque;queueMicrotask(()=>r(n,{opaque:s}))}}o(E_,"stream");C_.exports=E_});var b_=g((dSe,x_)=>{"use strict";var{Readable:Q_,Duplex:W7,PassThrough:$7}=require("node:stream"),{InvalidArgumentError:su,InvalidReturnValueError:j7,RequestAbortedError:XB}=ye(),cn=ce(),{AsyncResource:K7}=require("node:async_hooks"),{addSignal:X7,removeSignal:Z7}=nu(),B_=require("node:assert"),Fc=Symbol("resume"),ZB=class extends Q_{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[Fc]=null}_read(){let{[Fc]:e}=this;e&&(this[Fc]=null,e())}_destroy(e,r){this._read(),r(e)}},eQ=class extends Q_{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[Fc]=e}_read(){this[Fc]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new XB),r(e)}},tQ=class extends K7{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new su("invalid opts");if(typeof r!="function")throw new su("invalid handler");let{signal:n,method:s,opaque:i,onInfo:a,responseHeaders:c}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new su("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new su("invalid method");if(a&&typeof a!="function")throw new su("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 ZB().on("error",cn.nop),this.ret=new W7({readableObjectMode:e.objectMode,autoDestroy:!0,read:o(()=>{let{body:l}=this;l?.resume&&l.resume()},"read"),write:o((l,A,u)=>{let{req:d}=this;d.push(l,A)||d._readableState.destroyed?u():d[Fc]=u},"write"),destroy:o((l,A)=>{let{body:u,req:d,res:m,ret:p,abort:h}=this;!l&&!p._readableState.endEmitted&&(l=new XB),h&&l&&h(),cn.destroy(u,l),cn.destroy(d,l),cn.destroy(m,l),Z7(this),A(l)},"destroy")}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,X7(this,n)}onConnect(e,r){let{ret:n,res:s}=this;if(this.reason){e(this.reason);return}B_(!s,"pipeline cannot be retried"),B_(!n.destroyed),this.abort=e,this.context=r}onHeaders(e,r,n){let{opaque:s,handler:i,context:a}=this;if(e<200){if(this.onInfo){let l=this.responseHeaders==="raw"?cn.parseRawHeaders(r):cn.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new eQ(n);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?cn.parseRawHeaders(r):cn.parseHeaders(r);c=this.runInAsyncScope(i,null,{statusCode:e,headers:l,opaque:s,body:this.res,context:a})}catch(l){throw this.res.on("error",cn.nop),l}if(!c||typeof c.on!="function")throw new j7("expected Readable");c.on("data",l=>{let{ret:A,body:u}=this;!A.push(l)&&u.pause&&u.pause()}).on("error",l=>{let{ret:A}=this;cn.destroy(A,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||cn.destroy(l,new XB)}),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,cn.destroy(r,e)}};function eee(t,e){try{let r=new tQ(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new $7().destroy(r)}}o(eee,"pipeline");x_.exports=eee});var v_=g((pSe,P_)=>{"use strict";var{InvalidArgumentError:rQ,SocketError:tee}=ye(),{AsyncResource:ree}=require("node:async_hooks"),w_=ce(),{addSignal:nee,removeSignal:N_}=nu(),S_=require("node:assert"),nQ=class extends ree{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new rQ("invalid opts");if(typeof r!="function")throw new rQ("invalid callback");let{signal:n,opaque:s,responseHeaders:i}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new rQ("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=i||null,this.opaque=s||null,this.callback=r,this.abort=null,this.context=null,nee(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}S_(this.callback),this.abort=e,this.context=null}onHeaders(){throw new tee("bad upgrade",null)}onUpgrade(e,r,n){S_(e===101);let{callback:s,opaque:i,context:a}=this;N_(this),this.callback=null;let c=this.responseHeaders==="raw"?w_.parseRawHeaders(r):w_.parseHeaders(r);this.runInAsyncScope(s,null,null,{headers:c,socket:n,opaque:i,context:a})}onError(e){let{callback:r,opaque:n}=this;N_(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function R_(t,e){if(e===void 0)return new Promise((r,n)=>{R_.call(this,t,(s,i)=>s?n(s):r(i))});try{let r=new nQ(t,e);this.dispatch({...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(R_,"upgrade");P_.exports=R_});var L_=g((fSe,M_)=>{"use strict";var see=require("node:assert"),{AsyncResource:iee}=require("node:async_hooks"),{InvalidArgumentError:sQ,SocketError:oee}=ye(),D_=ce(),{addSignal:aee,removeSignal:k_}=nu(),iQ=class extends iee{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new sQ("invalid opts");if(typeof r!="function")throw new sQ("invalid callback");let{signal:n,opaque:s,responseHeaders:i}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new sQ("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=s||null,this.responseHeaders=i||null,this.callback=r,this.abort=null,aee(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}see(this.callback),this.abort=e,this.context=r}onHeaders(){throw new oee("bad connect",null)}onUpgrade(e,r,n){let{callback:s,opaque:i,context:a}=this;k_(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?D_.parseRawHeaders(r):D_.parseHeaders(r)),this.runInAsyncScope(s,null,null,{statusCode:e,headers:c,socket:n,opaque:i,context:a})}onError(e){let{callback:r,opaque:n}=this;k_(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function T_(t,e){if(e===void 0)return new Promise((r,n)=>{T_.call(this,t,(s,i)=>s?n(s):r(i))});try{let r=new iQ(t,e);this.dispatch({...t,method:"CONNECT"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(T_,"connect");M_.exports=T_});var __=g((ySe,Uc)=>{"use strict";Uc.exports.request=p_();Uc.exports.stream=I_();Uc.exports.pipeline=b_();Uc.exports.upgrade=v_();Uc.exports.connect=L_()});var aQ=g((ESe,U_)=>{"use strict";var{UndiciError:cee}=ye(),F_=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),oQ=class t extends cee{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[F_]===!0}[F_]=!0};U_.exports={MockNotMatchedError:oQ}});var Oc=g((ISe,O_)=>{"use strict";O_.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 iu=g((BSe,K_)=>{"use strict";var{MockNotMatchedError:ea}=aQ(),{kDispatches:Yp,kMockAgent:lee,kOriginalDispatch:Aee,kOrigin:uee,kGetNetConnect:dee}=Oc(),{buildURL:mee}=ce(),{STATUS_CODES:pee}=require("node:http"),{types:{isPromise:hee}}=require("node:util");function pi(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(pi,"matchValue");function H_(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(H_,"lowerCaseEntries");function z_(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,n]of Object.entries(t.headers)){let s=z_(e,r);if(!pi(n,s))return!1}return!0}o(G_,"matchHeaders");function q_(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(q_,"safeUrl");function fee(t,{path:e,method:r,body:n,headers:s}){let i=pi(t.path,e),a=pi(t.method,r),c=typeof t.body<"u"?pi(t.body,n):!0,l=G_(t,s);return i&&a&&c&&l}o(fee,"matchKey");function Y_(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(Y_,"getResponseData");function V_(t,e){let r=e.query?mee(e.path,e.query):e.path,n=typeof r=="string"?q_(r):r,s=t.filter(({consumed:i})=>!i).filter(({path:i})=>pi(q_(i),n));if(s.length===0)throw new ea(`Mock dispatch not matched for path '${n}'`);if(s=s.filter(({method:i})=>pi(i,e.method)),s.length===0)throw new ea(`Mock dispatch not matched for method '${e.method}' on path '${n}'`);if(s=s.filter(({body:i})=>typeof i<"u"?pi(i,e.body):!0),s.length===0)throw new ea(`Mock dispatch not matched for body '${e.body}' on path '${n}'`);if(s=s.filter(i=>G_(i,e.headers)),s.length===0){let i=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new ea(`Mock dispatch not matched for headers '${i}' on path '${n}'`)}return s[0]}o(V_,"getMockDispatch");function gee(t,e,r){let n={timesInvoked:0,times:1,persist:!1,consumed:!1},s=typeof r=="function"?{callback:r}:{...r},i={...n,...e,pending:!0,data:{error:null,...s}};return t.push(i),i}o(gee,"addMockDispatch");function cQ(t,e){let r=t.findIndex(n=>n.consumed?fee(n,e):!1);r!==-1&&t.splice(r,1)}o(cQ,"deleteMockDispatch");function J_(t){let{path:e,method:r,body:n,headers:s,query:i}=t;return{path:e,method:r,body:n,headers:s,query:i}}o(J_,"buildKey");function lQ(t){let e=Object.keys(t),r=[];for(let n=0;n=m,n.pending=d0?setTimeout(()=>{p(this[Yp])},A):p(this[Yp]);function p(f,C=i){let y=Array.isArray(t.headers)?AQ(t.headers):t.headers,E=typeof C=="function"?C({...t,headers:y}):C;if(hee(E)){E.then(S=>p(f,S));return}let I=Y_(E),B=lQ(a),N=lQ(c);e.onConnect?.(S=>e.onError(S),null),e.onHeaders?.(s,B,h,W_(s)),e.onData?.(Buffer.from(I)),e.onComplete?.(N),cQ(f,r)}o(p,"handleReply");function h(){}return o(h,"resume"),!0}o($_,"mockDispatch");function Eee(){let t=this[lee],e=this[uee],r=this[Aee];return o(function(s,i){if(t.isMockActive)try{$_.call(this,s,i)}catch(a){if(a instanceof ea){let c=t[dee]();if(c===!1)throw new ea(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(j_(c,e))r.call(this,s,i);else throw new ea(`${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,s,i)},"dispatch")}o(Eee,"buildMockDispatch");function j_(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(n=>pi(n,r.host)))}o(j_,"checkNetConnect");function Cee(t){if(t){let{agent:e,...r}=t;return r}}o(Cee,"buildMockOptions");K_.exports={getResponseData:Y_,getMockDispatch:V_,addMockDispatch:gee,deleteMockDispatch:cQ,buildKey:J_,generateKeyValues:lQ,matchValue:pi,getResponse:yee,getStatusText:W_,mockDispatch:$_,buildMockDispatch:Eee,checkNetConnect:j_,buildMockOptions:Cee,getHeaderByName:z_,buildHeadersFromArray:AQ}});var gQ=g((xSe,fQ)=>{"use strict";var{getResponseData:Iee,buildKey:Bee,addMockDispatch:uQ}=iu(),{kDispatches:Vp,kDispatchKey:Jp,kDefaultHeaders:dQ,kDefaultTrailers:mQ,kContentLength:pQ,kMockDispatch:Wp}=Oc(),{InvalidArgumentError:ds}=ye(),{buildURL:Qee}=ce(),qc=class{static{o(this,"MockScope")}constructor(e){this[Wp]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new ds("waitInMs must be a valid integer > 0");return this[Wp].delay=e,this}persist(){return this[Wp].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new ds("repeatTimes must be a valid integer > 0");return this[Wp].times=e,this}},hQ=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new ds("opts must be an object");if(typeof e.path>"u")throw new ds("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=Qee(e.path,e.query);else{let n=new URL(e.path,"data://");e.path=n.pathname+n.search}typeof e.method=="string"&&(e.method=e.method.toUpperCase()),this[Jp]=Bee(e),this[Vp]=r,this[dQ]={},this[mQ]={},this[pQ]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:n}){let s=Iee(r),i=this[pQ]?{"content-length":s.length}:{},a={...this[dQ],...i,...n.headers},c={...this[mQ],...n.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new ds("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new ds("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 ds("reply options callback must return an object");let A={data:"",responseOptions:{},...l};return this.validateReplyParameters(A),{...this.createMockScopeDispatchData(A)}},"wrappedDefaultsCallback"),a=uQ(this[Vp],this[Jp],i);return new qc(a)}let r={statusCode:e,data:arguments[1]===void 0?"":arguments[1],responseOptions:arguments[2]===void 0?{}:arguments[2]};this.validateReplyParameters(r);let n=this.createMockScopeDispatchData(r),s=uQ(this[Vp],this[Jp],n);return new qc(s)}replyWithError(e){if(typeof e>"u")throw new ds("error must be defined");let r=uQ(this[Vp],this[Jp],{error:e});return new qc(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new ds("headers must be defined");return this[dQ]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new ds("trailers must be defined");return this[mQ]=e,this}replyContentLength(){return this[pQ]=!0,this}};fQ.exports.MockInterceptor=hQ;fQ.exports.MockScope=qc});var CQ=g((wSe,s2)=>{"use strict";var{promisify:xee}=require("node:util"),bee=Rc(),{buildMockDispatch:wee}=iu(),{kDispatches:X_,kMockAgent:Z_,kClose:e2,kOriginalClose:t2,kOrigin:r2,kOriginalDispatch:Nee,kConnected:yQ}=Oc(),{MockInterceptor:See}=gQ(),n2=Oe(),{InvalidArgumentError:Ree}=ye(),EQ=class extends bee{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Ree("Argument opts.agent must implement Agent");this[Z_]=r.agent,this[r2]=e,this[X_]=[],this[yQ]=1,this[Nee]=this.dispatch,this[t2]=this.close.bind(this),this.dispatch=wee.call(this),this.close=this[e2]}get[n2.kConnected](){return this[yQ]}intercept(e){return new See(e,this[X_])}async[e2](){await xee(this[t2])(),this[yQ]=0,this[Z_][n2.kClients].delete(this[r2])}};s2.exports=EQ});var QQ=g((SSe,u2)=>{"use strict";var{promisify:Pee}=require("node:util"),vee=Pc(),{buildMockDispatch:Dee}=iu(),{kDispatches:i2,kMockAgent:o2,kClose:a2,kOriginalClose:c2,kOrigin:l2,kOriginalDispatch:kee,kConnected:IQ}=Oc(),{MockInterceptor:Tee}=gQ(),A2=Oe(),{InvalidArgumentError:Mee}=ye(),BQ=class extends vee{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Mee("Argument opts.agent must implement Agent");this[o2]=r.agent,this[l2]=e,this[i2]=[],this[IQ]=1,this[kee]=this.dispatch,this[c2]=this.close.bind(this),this.dispatch=Dee.call(this),this.close=this[a2]}get[A2.kConnected](){return this[IQ]}intercept(e){return new Tee(e,this[i2])}async[a2](){await Pee(this[c2])(),this[IQ]=0,this[o2][A2.kClients].delete(this[l2])}};u2.exports=BQ});var m2=g((vSe,d2)=>{"use strict";var Lee={pronoun:"it",is:"is",was:"was",this:"this"},_ee={pronoun:"they",is:"are",was:"were",this:"these"};d2.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,n=r?Lee:_ee,s=r?this.singular:this.plural;return{...n,count:e,noun:s}}}});var h2=g((TSe,p2)=>{"use strict";var{Transform:Fee}=require("node:stream"),{Console:Uee}=require("node:console"),Oee=process.versions.icu?"\u2705":"Y ",qee=process.versions.icu?"\u274C":"N ";p2.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new Fee({transform(r,n,s){s(null,r)}}),this.logger=new Uee({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:n,path:s,data:{statusCode:i},persist:a,times:c,timesInvoked:l,origin:A})=>({Method:n,Origin:A,Path:s,"Status code":i,Persistent:a?Oee:qee,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var E2=g((LSe,y2)=>{"use strict";var{kClients:ta}=Oe(),Hee=vc(),{kAgent:xQ,kMockAgentSet:$p,kMockAgentGet:f2,kDispatches:bQ,kIsMockActive:jp,kNetConnect:ra,kGetNetConnect:zee,kOptions:Kp,kFactory:Xp}=Oc(),Gee=CQ(),Yee=QQ(),{matchValue:Vee,buildMockOptions:Jee}=iu(),{InvalidArgumentError:g2,UndiciError:Wee}=ye(),$ee=RA(),jee=m2(),Kee=h2(),wQ=class extends $ee{static{o(this,"MockAgent")}constructor(e){if(super(e),this[ra]=!0,this[jp]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new g2("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new Hee(e);this[xQ]=r,this[ta]=r[ta],this[Kp]=Jee(e)}get(e){let r=this[f2](e);return r||(r=this[Xp](e),this[$p](e,r)),r}dispatch(e,r){return this.get(e.origin),this[xQ].dispatch(e,r)}async close(){await this[xQ].close(),this[ta].clear()}deactivate(){this[jp]=!1}activate(){this[jp]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[ra])?this[ra].push(e):this[ra]=[e];else if(typeof e>"u")this[ra]=!0;else throw new g2("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[ra]=!1}get isMockActive(){return this[jp]}[$p](e,r){this[ta].set(e,r)}[Xp](e){let r=Object.assign({agent:this},this[Kp]);return this[Kp]&&this[Kp].connections===1?new Gee(e,r):new Yee(e,r)}[f2](e){let r=this[ta].get(e);if(r)return r;if(typeof e!="string"){let n=this[Xp]("http://localhost:9999");return this[$p](e,n),n}for(let[n,s]of Array.from(this[ta]))if(s&&typeof n!="string"&&Vee(n,e)){let i=this[Xp](e);return this[$p](e,i),i[bQ]=s[bQ],i}}[zee](){return this[ra]}pendingInterceptors(){let e=this[ta];return Array.from(e.entries()).flatMap(([r,n])=>n[bQ].map(s=>({...s,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new Kee}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new jee("interceptor","interceptors").pluralize(r.length);throw new Wee(` ${n.count} ${n.noun} ${n.is} pending: ${e.format(r)} -`.trim())}};p2.exports=BQ});var Kp=g((ySe,E2)=>{"use strict";var f2=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:Mee}=ye(),Lee=Rc();y2()===void 0&&g2(new Lee);function g2(t){if(!t||typeof t.dispatch!="function")throw new Mee("Argument agent must implement Agent");Object.defineProperty(globalThis,f2,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(g2,"setGlobalDispatcher");function y2(){return globalThis[f2]}o(y2,"getGlobalDispatcher");E2.exports={setGlobalDispatcher:g2,getGlobalDispatcher:y2}});var Xp=g((ISe,C2)=>{"use strict";C2.exports=class{static{o(this,"DecoratorHandler")}#e;constructor(e){if(typeof e!="object"||e===null)throw new TypeError("handler must be an object");this.#e=e}onConnect(...e){return this.#e.onConnect?.(...e)}onError(...e){return this.#e.onError?.(...e)}onUpgrade(...e){return this.#e.onUpgrade?.(...e)}onResponseStarted(...e){return this.#e.onResponseStarted?.(...e)}onHeaders(...e){return this.#e.onHeaders?.(...e)}onData(...e){return this.#e.onData?.(...e)}onComplete(...e){return this.#e.onComplete?.(...e)}onBodySent(...e){return this.#e.onBodySent?.(...e)}}});var B2=g((QSe,I2)=>{"use strict";var _ee=Pp();I2.exports=t=>{let e=t?.maxRedirections;return r=>o(function(s,i){let{maxRedirections:a=e,...c}=s;if(!a)return r(s,i);let l=new _ee(r,a,s,i);return r(c,l)},"redirectInterceptor")}});var x2=g((bSe,Q2)=>{"use strict";var Fee=qp();Q2.exports=t=>e=>o(function(n,s){return e(n,new Fee({...n,retryOptions:{...t,...n.retryOptions}},{handler:s,dispatch:e}))},"retryInterceptor")});var w2=g((NSe,b2)=>{"use strict";var Uee=ce(),{InvalidArgumentError:Oee,RequestAbortedError:qee}=ye(),Hee=Xp(),QQ=class extends Hee{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#r=!1;#i=!1;#s=0;#n=null;#o=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new Oee("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.#n=e}onHeaders(e,r,n,s){let a=Uee.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new qee(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#i?!0:this.#o.onHeaders(e,r,n,s)}onError(e){this.#r||(e=this.#n??e,this.#o.onError(e))}onData(e){return this.#s=this.#s+e.length,this.#s>=this.#e&&(this.#r=!0,this.#i?this.#o.onError(this.#n):this.#o.onComplete([])),!0}onComplete(e){if(!this.#r){if(this.#i){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function zee({maxSize:t}={maxSize:1024*1024}){return e=>o(function(n,s){let{dumpMaxSize:i=t}=n,a=new QQ({maxSize:i},s);return e(n,a)},"Intercept")}o(zee,"createDumpInterceptor");b2.exports=zee});var R2=g((RSe,S2)=>{"use strict";var{isIP:Gee}=require("node:net"),{lookup:Yee}=require("node:dns"),Vee=Xp(),{InvalidArgumentError:Oc,InformationalError:Jee}=ye(),N2=Math.pow(2,31)-1,xQ=class{static{o(this,"DNSInstance")}#e=0;#t=0;#r=new Map;dualStack=!0;affinity=null;lookup=null;pick=null;constructor(e){this.#e=e.maxTTL,this.#t=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#i,this.pick=e.pick??this.#s}get full(){return this.#r.size===this.#t}runLookup(e,r,n){let s=this.#r.get(e.hostname);if(s==null&&this.full){n(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(s==null)this.lookup(e,i,(a,c)=>{if(a||c==null||c.length===0){n(a??new Jee("No DNS entries found"));return}this.setRecords(e,c);let l=this.#r.get(e.hostname),A=this.pick(e,l,i.affinity),u;typeof A.port=="number"?u=`:${A.port}`:e.port!==""?u=`:${e.port}`:u="",n(null,`${e.protocol}//${A.family===6?`[${A.address}]`:A.address}${u}`)});else{let a=this.pick(e,s,i.affinity);if(a==null){this.#r.delete(e.hostname),this.runLookup(e,r,n);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",n(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#i(e,r,n){Yee(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(s,i)=>{if(s)return n(s);let a=new Map;for(let c of i)a.set(`${c.address}:${c.family}`,c);n(null,a.values())})}#s(e,r,n){let s=null,{records:i,offset:a}=r,c;if(this.dualStack?(n==null&&(a==null||a===N2?(r.offset=0,n=4):(r.offset++,n=(r.offset&1)===1?6:4)),i[n]!=null&&i[n].ips.length>0?c=i[n]:c=i[n===4?6:4]):c=i[n],c==null||c.ips.length===0)return s;c.offset==null||c.offset===N2?c.offset=0:c.offset++;let l=c.offset%c.ips.length;return s=c.ips[l]??null,s==null?s:Date.now()-s.timestamp>s.ttl?(c.ips.splice(l,1),this.pick(e,r,n)):s}setRecords(e,r){let n=Date.now(),s={records:{4:null,6:null}};for(let i of r){i.timestamp=n,typeof i.ttl=="number"?i.ttl=Math.min(i.ttl,this.#e):i.ttl=this.#e;let a=s.records[i.family]??{ips:[]};a.ips.push(i),s.records[i.family]=a}this.#r.set(e.hostname,s)}getHandler(e,r){return new bQ(this,e,r)}},bQ=class extends Vee{static{o(this,"DNSDispatchHandler")}#e=null;#t=null;#r=null;#i=null;#s=null;constructor(e,{origin:r,handler:n,dispatch:s},i){super(n),this.#s=r,this.#i=n,this.#t={...i},this.#e=e,this.#r=s}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#e.dualStack){this.#e.runLookup(this.#s,this.#t,(r,n)=>{if(r)return this.#i.onError(r);let s={...this.#t,origin:n};this.#r(s,this)});return}this.#i.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#s);default:this.#i.onError(e);break}}};S2.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new Oc("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new Oc("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new Oc("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new Oc("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new Oc("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new Oc("Invalid pick. Must be a function");let e=t?.dualStack??!0,r;e?r=t?.affinity??null:r=t?.affinity??4;let n={maxTTL:t?.maxTTL??1e4,lookup:t?.lookup??null,pick:t?.pick??null,dualStack:e,affinity:r,maxItems:t?.maxItems??1/0},s=new xQ(n);return i=>o(function(c,l){let A=c.origin.constructor===URL?c.origin:new URL(c.origin);return Gee(A.hostname)!==0?i(c,l):(s.runLookup(A,c,(u,d)=>{if(u)return l.onError(u);let m=null;m={...c,servername:A.hostname,origin:d,headers:{host:A.hostname,...c.headers}},i(m,s.getHandler({origin:A,dispatch:i,handler:l},c))}),!0)},"dnsInterceptor")}});var ra=g((vSe,L2)=>{"use strict";var{kConstruct:Wee}=Oe(),{kEnumerableProperty:qc}=ce(),{iteratorMixin:$ee,isValidHeaderName:iu,isValidHeaderValue:v2}=Rr(),{webidl:pe}=kt(),wQ=require("node:assert"),Zp=require("node:util"),pt=Symbol("headers map"),kr=Symbol("headers map sorted");function P2(t){return t===10||t===13||t===9||t===32}o(P2,"isHTTPWhiteSpaceCharCode");function D2(t){let e=0,r=t.length;for(;r>e&&P2(t.charCodeAt(r-1));)--r;for(;r>e&&P2(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(D2,"headerValueNormalize");function k2(t,e){if(Array.isArray(e))for(let r=0;r>","record"]})}o(k2,"fill");function NQ(t,e,r){if(r=D2(r),iu(e)){if(!v2(r))throw pe.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw pe.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(M2(t)==="immutable")throw new TypeError("immutable");return SQ(t).append(e,r,!1)}o(NQ,"appendHeader");function T2(t,e){return t[0]>1),r[A][0]<=u[0]?l=A+1:c=A;if(i!==A){for(a=i;a>l;)r[a]=r[--a];r[l]=u}}if(!n.next().done)throw new TypeError("Unreachable");return r}else{let n=0;for(let{0:s,1:{value:i}}of this[pt])r[n++]=[s,i],wQ(i!==null);return r.sort(T2)}}},Fn=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){pe.util.markAsUncloneable(this),e!==Wee&&(this.#t=new eh,this.#e="none",e!==void 0&&(e=pe.converters.HeadersInit(e,"Headers contructor","init"),k2(this,e)))}append(e,r){pe.brandCheck(this,t),pe.argumentLengthCheck(arguments,2,"Headers.append");let n="Headers.append";return e=pe.converters.ByteString(e,n,"name"),r=pe.converters.ByteString(r,n,"value"),NQ(this,e,r)}delete(e){if(pe.brandCheck(this,t),pe.argumentLengthCheck(arguments,1,"Headers.delete"),e=pe.converters.ByteString(e,"Headers.delete","name"),!iu(e))throw pe.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){pe.brandCheck(this,t),pe.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=pe.converters.ByteString(e,r,"name"),!iu(e))throw pe.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){pe.brandCheck(this,t),pe.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=pe.converters.ByteString(e,r,"name"),!iu(e))throw pe.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){pe.brandCheck(this,t),pe.argumentLengthCheck(arguments,2,"Headers.set");let n="Headers.set";if(e=pe.converters.ByteString(e,n,"name"),r=pe.converters.ByteString(r,n,"value"),r=D2(r),iu(e)){if(!v2(r))throw pe.errors.invalidArgument({prefix:n,value:r,type:"header value"})}else throw pe.errors.invalidArgument({prefix:n,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){pe.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[kr](){if(this.#t[kr])return this.#t[kr];let e=[],r=this.#t.toSortedArray(),n=this.#t.cookies;if(n===null||n.length===1)return this.#t[kr]=r;for(let s=0;s>"](t,e,r,n.bind(t)):pe.converters["record"](t,e,r)}throw pe.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};L2.exports={fill:k2,compareHeaderName:T2,Headers:Fn,HeadersList:eh,getHeadersGuard:M2,setHeadersGuard:jee,setHeadersList:Kee,getHeadersList:SQ}});var au=g((kSe,W2)=>{"use strict";var{Headers:H2,HeadersList:_2,fill:Xee,getHeadersGuard:Zee,setHeadersGuard:z2,setHeadersList:G2}=ra(),{extractBody:F2,cloneBody:ete,mixinBody:tte,hasFinalizationRegistry:Y2,streamRegistry:V2,bodyUnusable:rte}=Cc(),RQ=ce(),U2=require("node:util"),{kEnumerableProperty:Tr}=RQ,{isValidReasonPhrase:nte,isCancelled:ste,isAborted:ite,isBlobLike:ote,serializeJavascriptValueToJSONString:ate,isErrorLike:cte,isomorphicEncode:lte,environmentSettingsObject:Ate}=Rr(),{redirectStatusSet:ute,nullBodyStatus:dte}=vA(),{kState:He,kHeaders:pi}=Yi(),{webidl:ie}=kt(),{FormData:mte}=_A(),{URLSerializer:O2}=ar(),{kConstruct:rh}=Oe(),PQ=require("node:assert"),{types:pte}=require("node:util"),hte=new TextEncoder("utf-8"),na=class t{static{o(this,"Response")}static error(){return ou(nh(),"immutable")}static json(e,r={}){ie.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=ie.converters.ResponseInit(r));let n=hte.encode(ate(e)),s=F2(n),i=ou(Hc({}),"response");return q2(i,r,{body:s[0],type:"application/json"}),i}static redirect(e,r=302){ie.argumentLengthCheck(arguments,1,"Response.redirect"),e=ie.converters.USVString(e),r=ie.converters["unsigned short"](r);let n;try{n=new URL(e,Ate.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!ute.has(r))throw new RangeError(`Invalid status code ${r}`);let s=ou(Hc({}),"immutable");s[He].status=r;let i=lte(O2(n));return s[He].headersList.append("location",i,!0),s}constructor(e=null,r={}){if(ie.util.markAsUncloneable(this),e===rh)return;e!==null&&(e=ie.converters.BodyInit(e)),r=ie.converters.ResponseInit(r),this[He]=Hc({}),this[pi]=new H2(rh),z2(this[pi],"response"),G2(this[pi],this[He].headersList);let n=null;if(e!=null){let[s,i]=F2(e);n={body:s,type:i}}q2(this,r,n)}get type(){return ie.brandCheck(this,t),this[He].type}get url(){ie.brandCheck(this,t);let e=this[He].urlList,r=e[e.length-1]??null;return r===null?"":O2(r,!0)}get redirected(){return ie.brandCheck(this,t),this[He].urlList.length>1}get status(){return ie.brandCheck(this,t),this[He].status}get ok(){return ie.brandCheck(this,t),this[He].status>=200&&this[He].status<=299}get statusText(){return ie.brandCheck(this,t),this[He].statusText}get headers(){return ie.brandCheck(this,t),this[pi]}get body(){return ie.brandCheck(this,t),this[He].body?this[He].body.stream:null}get bodyUsed(){return ie.brandCheck(this,t),!!this[He].body&&RQ.isDisturbed(this[He].body.stream)}clone(){if(ie.brandCheck(this,t),rte(this))throw ie.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=vQ(this[He]);return Y2&&this[He].body?.stream&&V2.register(this,new WeakRef(this[He].body.stream)),ou(e,Zee(this[pi]))}[U2.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${U2.formatWithOptions(r,n)}`}};tte(na);Object.defineProperties(na.prototype,{type:Tr,url:Tr,status:Tr,ok:Tr,redirected:Tr,statusText:Tr,headers:Tr,clone:Tr,body:Tr,bodyUsed:Tr,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(na,{json:Tr,redirect:Tr,error:Tr});function vQ(t){if(t.internalResponse)return J2(vQ(t.internalResponse),t.type);let e=Hc({...t,body:null});return t.body!=null&&(e.body=ete(e,t.body)),e}o(vQ,"cloneResponse");function Hc(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new _2(t?.headersList):new _2,urlList:t?.urlList?[...t.urlList]:[]}}o(Hc,"makeResponse");function nh(t){let e=cte(t);return Hc({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(nh,"makeNetworkError");function fte(t){return t.type==="error"&&t.status===0}o(fte,"isNetworkError");function th(t,e){return e={internalResponse:t,...e},new Proxy(t,{get(r,n){return n in e?e[n]:r[n]},set(r,n,s){return PQ(!(n in e)),r[n]=s,!0}})}o(th,"makeFilteredResponse");function J2(t,e){if(e==="basic")return th(t,{type:"basic",headersList:t.headersList});if(e==="cors")return th(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return th(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return th(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});PQ(!1)}o(J2,"filterResponse");function gte(t,e=null){return PQ(ste(t)),ite(t)?nh(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):nh(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(gte,"makeAppropriateNetworkError");function q2(t,e,r){if(e.status!==null&&(e.status<200||e.status>599))throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in e&&e.statusText!=null&&!nte(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[He].status=e.status),"statusText"in e&&e.statusText!=null&&(t[He].statusText=e.statusText),"headers"in e&&e.headers!=null&&Xee(t[pi],e.headers),r){if(dte.includes(t.status))throw ie.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[He].body=r.body,r.type!=null&&!t[He].headersList.contains("content-type",!0)&&t[He].headersList.append("content-type",r.type,!0)}}o(q2,"initializeResponse");function ou(t,e){let r=new na(rh);return r[He]=t,r[pi]=new H2(rh),G2(r[pi],t.headersList),z2(r[pi],e),Y2&&t.body?.stream&&V2.register(r,new WeakRef(t.body.stream)),r}o(ou,"fromInnerResponse");ie.converters.ReadableStream=ie.interfaceConverter(ReadableStream);ie.converters.FormData=ie.interfaceConverter(mte);ie.converters.URLSearchParams=ie.interfaceConverter(URLSearchParams);ie.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?ie.converters.USVString(t,e,r):ote(t)?ie.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||pte.isArrayBuffer(t)?ie.converters.BufferSource(t,e,r):RQ.isFormDataLike(t)?ie.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?ie.converters.URLSearchParams(t,e,r):ie.converters.DOMString(t,e,r)};ie.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?ie.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:ie.converters.XMLHttpRequestBodyInit(t,e,r)};ie.converters.ResponseInit=ie.dictionaryConverter([{key:"status",converter:ie.converters["unsigned short"],defaultValue:o(()=>200,"defaultValue")},{key:"statusText",converter:ie.converters.ByteString,defaultValue:o(()=>"","defaultValue")},{key:"headers",converter:ie.converters.HeadersInit}]);W2.exports={isNetworkError:fte,makeNetworkError:nh,makeResponse:Hc,makeAppropriateNetworkError:gte,filterResponse:J2,Response:na,cloneResponse:vQ,fromInnerResponse:ou}});var X2=g((MSe,K2)=>{"use strict";var{kConnected:$2,kSize:j2}=Oe(),DQ=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[$2]===0&&this.value[j2]===0?void 0:this.value}},kQ=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[$2]===0&&e[j2]===0&&this.finalizer(r)})}unregister(e){}};K2.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:DQ,FinalizationRegistry:kQ}):{WeakRef,FinalizationRegistry}}});var zc=g((_Se,mF)=>{"use strict";var{extractBody:yte,mixinBody:Ete,cloneBody:Cte,bodyUnusable:Z2}=Cc(),{Headers:cF,fill:Ite,HeadersList:ah,setHeadersGuard:MQ,getHeadersGuard:Bte,setHeadersList:lF,getHeadersList:eF}=ra(),{FinalizationRegistry:Qte}=X2()(),ih=ce(),tF=require("node:util"),{isValidHTTPToken:xte,sameOrigin:rF,environmentSettingsObject:sh}=Rr(),{forbiddenMethodsSet:bte,corsSafeListedMethodsSet:wte,referrerPolicy:Nte,requestRedirect:Ste,requestMode:Rte,requestCredentials:Pte,requestCache:vte,requestDuplex:Dte}=vA(),{kEnumerableProperty:ht,normalizedMethodRecordsBase:kte,normalizedMethodRecords:Tte}=ih,{kHeaders:Mr,kSignal:oh,kState:Le,kDispatcher:TQ}=Yi(),{webidl:j}=kt(),{URLSerializer:Mte}=ar(),{kConstruct:ch}=Oe(),Lte=require("node:assert"),{getMaxListeners:nF,setMaxListeners:sF,getEventListeners:_te,defaultMaxListeners:iF}=require("node:events"),Fte=Symbol("abortController"),AF=new Qte(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),lh=new WeakMap;function oF(t){return e;function e(){let r=t.deref();if(r!==void 0){AF.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let n=lh.get(r.signal);if(n!==void 0){if(n.size!==0){for(let s of n){let i=s.deref();i!==void 0&&i.abort(this.reason)}n.clear()}lh.delete(r.signal)}}}}o(oF,"buildAbort");var aF=!1,ro=class t{static{o(this,"Request")}constructor(e,r={}){if(j.util.markAsUncloneable(this),e===ch)return;let n="Request constructor";j.argumentLengthCheck(arguments,1,n),e=j.converters.RequestInfo(e,n,"input"),r=j.converters.RequestInit(r,n,"init");let s=null,i=null,a=sh.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[TQ]=r.dispatcher;let y;try{y=new URL(e,a)}catch(E){throw new TypeError("Failed to parse URL from "+e,{cause:E})}if(y.username||y.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);s=Ah({urlList:[y]}),i="cors"}else this[TQ]=r.dispatcher||e[TQ],Lte(e instanceof t),s=e[Le],c=e[oh];let l=sh.settingsObject.origin,A="client";if(s.window?.constructor?.name==="EnvironmentSettingsObject"&&rF(s.window,l)&&(A=s.window),r.window!=null)throw new TypeError(`'window' option '${A}' must be null`);"window"in r&&(A="no-window"),s=Ah({method:s.method,headersList:s.headersList,unsafeRequest:s.unsafeRequest,client:sh.settingsObject,window:A,priority:s.priority,origin:s.origin,referrer:s.referrer,referrerPolicy:s.referrerPolicy,mode:s.mode,credentials:s.credentials,cache:s.cache,redirect:s.redirect,integrity:s.integrity,keepalive:s.keepalive,reloadNavigation:s.reloadNavigation,historyNavigation:s.historyNavigation,urlList:[...s.urlList]});let u=Object.keys(r).length!==0;if(u&&(s.mode==="navigate"&&(s.mode="same-origin"),s.reloadNavigation=!1,s.historyNavigation=!1,s.origin="client",s.referrer="client",s.referrerPolicy="",s.url=s.urlList[s.urlList.length-1],s.urlList=[s.url]),r.referrer!==void 0){let y=r.referrer;if(y==="")s.referrer="no-referrer";else{let E;try{E=new URL(y,a)}catch(I){throw new TypeError(`Referrer "${y}" is not a valid URL.`,{cause:I})}E.protocol==="about:"&&E.hostname==="client"||l&&!rF(E,sh.settingsObject.baseUrl)?s.referrer="client":s.referrer=E}}r.referrerPolicy!==void 0&&(s.referrerPolicy=r.referrerPolicy);let d;if(r.mode!==void 0?d=r.mode:d=i,d==="navigate")throw j.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(d!=null&&(s.mode=d),r.credentials!==void 0&&(s.credentials=r.credentials),r.cache!==void 0&&(s.cache=r.cache),s.cache==="only-if-cached"&&s.mode!=="same-origin")throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(r.redirect!==void 0&&(s.redirect=r.redirect),r.integrity!=null&&(s.integrity=String(r.integrity)),r.keepalive!==void 0&&(s.keepalive=!!r.keepalive),r.method!==void 0){let y=r.method,E=Tte[y];if(E!==void 0)s.method=E;else{if(!xte(y))throw new TypeError(`'${y}' is not a valid HTTP method.`);let I=y.toUpperCase();if(bte.has(I))throw new TypeError(`'${y}' HTTP method is unsupported.`);y=kte[I]??y,s.method=y}!aF&&s.method==="patch"&&(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),aF=!0)}r.signal!==void 0&&(c=r.signal),this[Le]=s;let m=new AbortController;if(this[oh]=m.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)m.abort(c.reason);else{this[Fte]=m;let y=new WeakRef(m),E=oF(y);try{(typeof nF=="function"&&nF(c)===iF||_te(c,"abort").length>=iF)&&sF(1500,c)}catch{}ih.addAbortListener(c,E),AF.register(m,{signal:c,abort:E},E)}}if(this[Mr]=new cF(ch),lF(this[Mr],s.headersList),MQ(this[Mr],"request"),d==="no-cors"){if(!wte.has(s.method))throw new TypeError(`'${s.method} is unsupported in no-cors mode.`);MQ(this[Mr],"request-no-cors")}if(u){let y=eF(this[Mr]),E=r.headers!==void 0?r.headers:new ah(y);if(y.clear(),E instanceof ah){for(let{name:I,value:B}of E.rawValues())y.append(I,B,!1);y.cookies=E.cookies}else Ite(this[Mr],E)}let p=e instanceof t?e[Le].body:null;if((r.body!=null||p!=null)&&(s.method==="GET"||s.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let h=null;if(r.body!=null){let[y,E]=yte(r.body,s.keepalive);h=y,E&&!eF(this[Mr]).contains("content-type",!0)&&this[Mr].append("content-type",E)}let f=h??p;if(f!=null&&f.source==null){if(h!=null&&r.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(s.mode!=="same-origin"&&s.mode!=="cors")throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');s.useCORSPreflightFlag=!0}let C=f;if(h==null&&p!=null){if(Z2(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let y=new TransformStream;p.stream.pipeThrough(y),C={source:p.source,length:p.length,stream:y.readable}}this[Le].body=C}get method(){return j.brandCheck(this,t),this[Le].method}get url(){return j.brandCheck(this,t),Mte(this[Le].url)}get headers(){return j.brandCheck(this,t),this[Mr]}get destination(){return j.brandCheck(this,t),this[Le].destination}get referrer(){return j.brandCheck(this,t),this[Le].referrer==="no-referrer"?"":this[Le].referrer==="client"?"about:client":this[Le].referrer.toString()}get referrerPolicy(){return j.brandCheck(this,t),this[Le].referrerPolicy}get mode(){return j.brandCheck(this,t),this[Le].mode}get credentials(){return this[Le].credentials}get cache(){return j.brandCheck(this,t),this[Le].cache}get redirect(){return j.brandCheck(this,t),this[Le].redirect}get integrity(){return j.brandCheck(this,t),this[Le].integrity}get keepalive(){return j.brandCheck(this,t),this[Le].keepalive}get isReloadNavigation(){return j.brandCheck(this,t),this[Le].reloadNavigation}get isHistoryNavigation(){return j.brandCheck(this,t),this[Le].historyNavigation}get signal(){return j.brandCheck(this,t),this[oh]}get body(){return j.brandCheck(this,t),this[Le].body?this[Le].body.stream:null}get bodyUsed(){return j.brandCheck(this,t),!!this[Le].body&&ih.isDisturbed(this[Le].body.stream)}get duplex(){return j.brandCheck(this,t),"half"}clone(){if(j.brandCheck(this,t),Z2(this))throw new TypeError("unusable");let e=uF(this[Le]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let n=lh.get(this.signal);n===void 0&&(n=new Set,lh.set(this.signal,n));let s=new WeakRef(r);n.add(s),ih.addAbortListener(r.signal,oF(s))}return dF(e,r.signal,Bte(this[Mr]))}[tF.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${tF.formatWithOptions(r,n)}`}};Ete(ro);function Ah(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 ah(t.headersList):new ah}}o(Ah,"makeRequest");function uF(t){let e=Ah({...t,body:null});return t.body!=null&&(e.body=Cte(e,t.body)),e}o(uF,"cloneRequest");function dF(t,e,r){let n=new ro(ch);return n[Le]=t,n[oh]=e,n[Mr]=new cF(ch),lF(n[Mr],t.headersList),MQ(n[Mr],r),n}o(dF,"fromInnerRequest");Object.defineProperties(ro.prototype,{method:ht,url:ht,headers:ht,redirect:ht,clone:ht,signal:ht,duplex:ht,destination:ht,body:ht,bodyUsed:ht,isHistoryNavigation:ht,isReloadNavigation:ht,keepalive:ht,integrity:ht,cache:ht,credentials:ht,attribute:ht,referrerPolicy:ht,referrer:ht,mode:ht,[Symbol.toStringTag]:{value:"Request",configurable:!0}});j.converters.Request=j.interfaceConverter(ro);j.converters.RequestInfo=function(t,e,r){return typeof t=="string"?j.converters.USVString(t,e,r):t instanceof ro?j.converters.Request(t,e,r):j.converters.USVString(t,e,r)};j.converters.AbortSignal=j.interfaceConverter(AbortSignal);j.converters.RequestInit=j.dictionaryConverter([{key:"method",converter:j.converters.ByteString},{key:"headers",converter:j.converters.HeadersInit},{key:"body",converter:j.nullableConverter(j.converters.BodyInit)},{key:"referrer",converter:j.converters.USVString},{key:"referrerPolicy",converter:j.converters.DOMString,allowedValues:Nte},{key:"mode",converter:j.converters.DOMString,allowedValues:Rte},{key:"credentials",converter:j.converters.DOMString,allowedValues:Pte},{key:"cache",converter:j.converters.DOMString,allowedValues:vte},{key:"redirect",converter:j.converters.DOMString,allowedValues:Ste},{key:"integrity",converter:j.converters.DOMString},{key:"keepalive",converter:j.converters.boolean},{key:"signal",converter:j.nullableConverter(t=>j.converters.AbortSignal(t,"RequestInit","signal",{strict:!1}))},{key:"window",converter:j.converters.any},{key:"duplex",converter:j.converters.DOMString,allowedValues:Dte},{key:"dispatcher",converter:j.converters.any}]);mF.exports={Request:ro,makeRequest:Ah,fromInnerRequest:dF,cloneRequest:uF}});var lu=g((USe,SF)=>{"use strict";var{makeNetworkError:we,makeAppropriateNetworkError:uh,filterResponse:LQ,makeResponse:dh,fromInnerResponse:Ute}=au(),{HeadersList:pF}=ra(),{Request:Ote,cloneRequest:qte}=zc(),no=require("node:zlib"),{bytesMatch:Hte,makePolicyContainer:zte,clonePolicyContainer:Gte,requestBadPort:Yte,TAOCheck:Vte,appendRequestOriginHeader:Jte,responseLocationURL:Wte,requestCurrentURL:ds,setRequestReferrerPolicyOnRedirect:$te,tryUpgradeRequestToAPotentiallyTrustworthyURL:jte,createOpaqueTimingInfo:qQ,appendFetchMetadata:Kte,corsCheck:Xte,crossOriginResourcePolicyCheck:Zte,determineRequestsReferrer:ere,coarsenedSharedCurrentTime:cu,createDeferredPromise:tre,isBlobLike:rre,sameOrigin:OQ,isCancelled:sa,isAborted:hF,isErrorLike:nre,fullyReadBody:sre,readableStreamClose:ire,isomorphicEncode:mh,urlIsLocal:ore,urlIsHttpHttpsScheme:HQ,urlHasHttpsScheme:are,clampAndCoarsenConnectionTimingInfo:cre,simpleRangeHeaderValue:lre,buildContentRange:Are,createInflate:ure,extractMimeType:dre}=Rr(),{kState:EF,kDispatcher:mre}=Yi(),ia=require("node:assert"),{safelyExtractBody:zQ,extractBody:fF}=Cc(),{redirectStatusSet:CF,nullBodyStatus:IF,safeMethodsSet:pre,requestBodyHeader:hre,subresourceSet:fre}=vA(),gre=require("node:events"),{Readable:yre,pipeline:Ere,finished:Cre}=require("node:stream"),{addAbortListener:Ire,isErrored:Bre,isReadable:ph,bufferToLowerCasedHeaderName:gF}=ce(),{dataURLProcessor:Qre,serializeAMimeType:xre,minimizeSupportedMimeType:bre}=ar(),{getGlobalDispatcher:wre}=Kp(),{webidl:Nre}=kt(),{STATUS_CODES:Sre}=require("node:http"),Rre=["GET","HEAD"],Pre=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",_Q,hh=class extends gre{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 vre(t){BF(t,"fetch")}o(vre,"handleFetchDone");function Dre(t,e=void 0){Nre.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=tre(),n;try{n=new Ote(t,e)}catch(u){return r.reject(u),r.promise}let s=n[EF];if(n.signal.aborted)return FQ(r,s,null,n.signal.reason),r.promise;s.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(s.serviceWorkers="none");let a=null,c=!1,l=null;return Ire(n.signal,()=>{c=!0,ia(l!=null),l.abort(n.signal.reason);let u=a?.deref();FQ(r,s,u,n.signal.reason)}),l=xF({request:s,processResponseEndOfBody:vre,processResponse:o(u=>{if(!c){if(u.aborted){FQ(r,s,a,l.serializedAbortReason);return}if(u.type==="error"){r.reject(new TypeError("fetch failed",{cause:u.error}));return}a=new WeakRef(Ute(u,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:n[mre]}),r.promise}o(Dre,"fetch");function BF(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],n=t.timingInfo,s=t.cacheState;HQ(r)&&n!==null&&(t.timingAllowPassed||(n=qQ({startTime:n.startTime}),s=""),n.endTime=cu(),t.timingInfo=n,QF(n,r.href,e,globalThis,s))}o(BF,"finalizeAndReportTiming");var QF=performance.markResourceTiming;function FQ(t,e,r,n){if(t&&t.reject(n),e.body!=null&&ph(e.body?.stream)&&e.body.stream.cancel(n).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i}),r==null)return;let s=r[EF];s.body!=null&&ph(s.body?.stream)&&s.body.stream.cancel(n).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i})}o(FQ,"abortFetch");function xF({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:s,processResponseConsumeBody:i,useParallelQueue:a=!1,dispatcher:c=wre()}){ia(c);let l=null,A=!1;t.client!=null&&(l=t.client.globalObject,A=t.client.crossOriginIsolatedCapability);let u=cu(A),d=qQ({startTime:u}),m={controller:new hh(c),request:t,timingInfo:d,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:i,processResponseEndOfBody:s,taskDestination:l,crossOriginIsolatedCapability:A};return ia(!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=Gte(t.client.policyContainer):t.policyContainer=zte()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,fre.has(t.destination),bF(m).catch(p=>{m.controller.terminate(p)}),m.controller}o(xF,"fetching");async function bF(t,e=!1){let r=t.request,n=null;if(r.localURLsOnly&&!ore(ds(r))&&(n=we("local URLs only")),jte(r),Yte(r)==="blocked"&&(n=we("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=ere(r)),n===null&&(n=await(async()=>{let i=ds(r);return OQ(i,r.url)&&r.responseTainting==="basic"||i.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await yF(t)):r.mode==="same-origin"?we('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?we('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await yF(t)):HQ(ds(r))?(r.responseTainting="cors",await wF(t)):we("URL scheme must be a HTTP(S) scheme")})()),e)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=LQ(n,"basic"):r.responseTainting==="cors"?n=LQ(n,"cors"):r.responseTainting==="opaque"?n=LQ(n,"opaque"):ia(!1));let s=n.status===0?n:n.internalResponse;if(s.urlList.length===0&&s.urlList.push(...r.urlList),r.timingAllowFailed||(n.timingAllowPassed=!0),n.type==="opaque"&&s.status===206&&s.rangeRequested&&!r.headers.contains("range",!0)&&(n=s=we()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||IF.includes(s.status))&&(s.body=null,t.controller.dump=!0),r.integrity){let i=o(c=>UQ(t,we(c)),"processBodyError");if(r.responseTainting==="opaque"||n.body==null){i(n.error);return}let a=o(c=>{if(!Hte(c,r.integrity)){i("integrity mismatch");return}n.body=zQ(c)[0],UQ(t,n)},"processBody");await sre(n.body,a,i)}else UQ(t,n)}o(bF,"mainFetch");function yF(t){if(sa(t)&&t.request.redirectCount===0)return Promise.resolve(uh(t));let{request:e}=t,{protocol:r}=ds(e);switch(r){case"about:":return Promise.resolve(we("about scheme is not supported"));case"blob:":{_Q||(_Q=require("node:buffer").resolveObjectURL);let n=ds(e);if(n.search.length!==0)return Promise.resolve(we("NetworkError when attempting to fetch resource."));let s=_Q(n.toString());if(e.method!=="GET"||!rre(s))return Promise.resolve(we("invalid method"));let i=dh(),a=s.size,c=mh(`${a}`),l=s.type;if(e.headersList.contains("range",!0)){i.rangeRequested=!0;let A=e.headersList.get("range",!0),u=lre(A,!0);if(u==="failure")return Promise.resolve(we("failed to fetch the data URL"));let{rangeStartValue:d,rangeEndValue:m}=u;if(d===null)d=a-m,m=d+m-1;else{if(d>=a)return Promise.resolve(we("Range start is greater than the blob's size."));(m===null||m>=a)&&(m=a-1)}let p=s.slice(d,m,l),h=fF(p);i.body=h[0];let f=mh(`${p.size}`),C=Are(d,m,a);i.status=206,i.statusText="Partial Content",i.headersList.set("content-length",f,!0),i.headersList.set("content-type",l,!0),i.headersList.set("content-range",C,!0)}else{let A=fF(s);i.statusText="OK",i.body=A[0],i.headersList.set("content-length",c,!0),i.headersList.set("content-type",l,!0)}return Promise.resolve(i)}case"data:":{let n=ds(e),s=Qre(n);if(s==="failure")return Promise.resolve(we("failed to fetch the data URL"));let i=xre(s.mimeType);return Promise.resolve(dh({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:i}]],body:zQ(s.body)[0]}))}case"file:":return Promise.resolve(we("not implemented... yet..."));case"http:":case"https:":return wF(t).catch(n=>we(n));default:return Promise.resolve(we("unknown scheme"))}}o(yF,"schemeFetch");function kre(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(kre,"finalizeResponse");function UQ(t,e){let r=t.timingInfo,n=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=qQ(r),c="");let A=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){A=e.status;let u=dre(e.headersList);u!=="failure"&&(l.contentType=bre(u))}t.request.initiatorType!=null&&QF(r,t.request.url.href,t.request.initiatorType,globalThis,c,l,A)};let a=o(()=>{t.request.done=!0,t.processResponseEndOfBody!=null&&queueMicrotask(()=>t.processResponseEndOfBody(e)),t.request.initiatorType!=null&&t.controller.reportTimingSteps()},"processResponseEndOfBodyTask");queueMicrotask(()=>a())},"processResponseEndOfBody");t.processResponse!=null&&queueMicrotask(()=>{t.processResponse(e),t.processResponse=null});let s=e.type==="error"?e:e.internalResponse??e;s.body==null?n():Cre(s.body.stream,()=>{n()})}o(UQ,"fetchFinale");async function wF(t){let e=t.request,r=null,n=null,s=t.timingInfo;if(e.serviceWorkers,r===null){if(e.redirect==="follow"&&(e.serviceWorkers="none"),n=r=await NF(t),e.responseTainting==="cors"&&Xte(e,r)==="failure")return we("cors failure");Vte(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&Zte(e.origin,e.client,e.destination,n)==="blocked"?we("blocked"):(CF.has(n.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=we("unexpected redirect"):e.redirect==="manual"?r=n:e.redirect==="follow"?r=await Tre(t,r):ia(!1)),r.timingInfo=s,r)}o(wF,"httpFetch");function Tre(t,e){let r=t.request,n=e.internalResponse?e.internalResponse:e,s;try{if(s=Wte(n,ds(r).hash),s==null)return e}catch(a){return Promise.resolve(we(a))}if(!HQ(s))return Promise.resolve(we("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(we("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(s.username||s.password)&&!OQ(r,s))return Promise.resolve(we('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(s.username||s.password))return Promise.resolve(we('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(we());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!Rre.includes(r.method)){r.method="GET",r.body=null;for(let a of hre)r.headersList.delete(a)}OQ(ds(r),s)||(r.headersList.delete("authorization",!0),r.headersList.delete("proxy-authorization",!0),r.headersList.delete("cookie",!0),r.headersList.delete("host",!0)),r.body!=null&&(ia(r.body.source!=null),r.body=zQ(r.body.source)[0]);let i=t.timingInfo;return i.redirectEndTime=i.postRedirectStartTime=cu(t.crossOriginIsolatedCapability),i.redirectStartTime===0&&(i.redirectStartTime=i.startTime),r.urlList.push(s),$te(r,n),bF(t,!0)}o(Tre,"httpRedirectFetch");async function NF(t,e=!1,r=!1){let n=t.request,s=null,i=null,a=null,c=null,l=!1;n.window==="no-window"&&n.redirect==="error"?(s=t,i=n):(i=qte(n),s={...t},s.request=i);let A=n.credentials==="include"||n.credentials==="same-origin"&&n.responseTainting==="basic",u=i.body?i.body.length:null,d=null;if(i.body==null&&["POST","PUT"].includes(i.method)&&(d="0"),u!=null&&(d=mh(`${u}`)),d!=null&&i.headersList.append("content-length",d,!0),u!=null&&i.keepalive,i.referrer instanceof URL&&i.headersList.append("referer",mh(i.referrer.href),!0),Jte(i),Kte(i),i.headersList.contains("user-agent",!0)||i.headersList.append("user-agent",Pre),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)||(are(ds(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 we("only if cached");let m=await Mre(s,A,r);!pre.has(i.method)&&m.status>=200&&m.status<=399,l&&m.status,a==null&&(a=m)}if(a.urlList=[...i.urlList],i.headersList.contains("range",!0)&&(a.rangeRequested=!0),a.requestIncludesCredentials=A,a.status===407)return n.window==="no-window"?we():sa(t)?uh(t):we("proxy authentication required");if(a.status===421&&!r&&(n.body==null||n.body.source!=null)){if(sa(t))return uh(t);t.controller.connection.destroy(),a=await NF(t,e,!0)}return a}o(NF,"httpNetworkOrCacheFetch");async function Mre(t,e=!1,r=!1){ia(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(h,f=!0){this.destroyed||(this.destroyed=!0,f&&this.abort?.(h??new DOMException("The operation was aborted.","AbortError")))}};let n=t.request,s=null,i=t.timingInfo;null==null&&(n.cache="no-store");let c=r?"yes":"no";n.mode;let l=null;if(n.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(n.body!=null){let h=o(async function*(y){sa(t)||(yield y,t.processRequestBodyChunkLength?.(y.byteLength))},"processBodyChunk"),f=o(()=>{sa(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),C=o(y=>{sa(t)||(y.name==="AbortError"?t.controller.abort():t.controller.terminate(y))},"processBodyError");l=(async function*(){try{for await(let y of n.body.stream)yield*h(y);f()}catch(y){C(y)}})()}try{let{body:h,status:f,statusText:C,headersList:y,socket:E}=await p({body:l});if(E)s=dh({status:f,statusText:C,headersList:y,socket:E});else{let I=h[Symbol.asyncIterator]();t.controller.next=()=>I.next(),s=dh({status:f,statusText:C,headersList:y})}}catch(h){return h.name==="AbortError"?(t.controller.connection.destroy(),uh(t,h)):we(h)}let A=o(async()=>{await t.controller.resume()},"pullAlgorithm"),u=o(h=>{sa(t)||t.controller.abort(h)},"cancelAlgorithm"),d=new ReadableStream({async start(h){t.controller.controller=h},async pull(h){await A(h)},async cancel(h){await u(h)},type:"bytes"});s.body={stream:d,source:null,length:null},t.controller.onAborted=m,t.controller.on("terminated",m),t.controller.resume=async()=>{for(;;){let h,f;try{let{done:y,value:E}=await t.controller.next();if(hF(t))break;h=y?void 0:E}catch(y){t.controller.ended&&!i.encodedBodySize?h=void 0:(h=y,f=!0)}if(h===void 0){ire(t.controller.controller),kre(t,s);return}if(i.decodedBodySize+=h?.byteLength??0,f){t.controller.terminate(h);return}let C=new Uint8Array(h);if(C.byteLength&&t.controller.controller.enqueue(C),Bre(d)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function m(h){hF(t)?(s.aborted=!0,ph(d)&&t.controller.controller.error(t.controller.serializedAbortReason)):ph(d)&&t.controller.controller.error(new TypeError("terminated",{cause:nre(h)?h:void 0})),t.controller.connection.destroy()}return o(m,"onAborted"),s;function p({body:h}){let f=ds(n),C=t.controller.dispatcher;return new Promise((y,E)=>C.dispatch({path:f.pathname+f.search,origin:f.origin,method:n.method,body:C.isMockActive?n.body&&(n.body.source||n.body.stream):h,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(I){let{connection:B}=t.controller;i.finalConnectionTimingInfo=cre(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=cu(t.crossOriginIsolatedCapability)},onResponseStarted(){i.finalNetworkResponseStartTime=cu(t.crossOriginIsolatedCapability)},onHeaders(I,B,N,S){if(I<200)return;let F="",ue=new pF;for(let ae=0;aeee)return E(new Error(`too many content-encodings in response: ${De.length}, maximum allowed is ${ee}`)),!0;for(let Yt=De.length-1;Yt>=0;--Yt){let H=De[Yt].trim();if(H==="x-gzip"||H==="gzip")be.push(no.createGunzip({flush:no.constants.Z_SYNC_FLUSH,finishFlush:no.constants.Z_SYNC_FLUSH}));else if(H==="deflate")be.push(ure({flush:no.constants.Z_SYNC_FLUSH,finishFlush:no.constants.Z_SYNC_FLUSH}));else if(H==="br")be.push(no.createBrotliDecompress({flush:no.constants.BROTLI_OPERATION_FLUSH,finishFlush:no.constants.BROTLI_OPERATION_FLUSH}));else{be.length=0;break}}}let Ne=this.onError.bind(this);return y({status:I,statusText:S,headersList:ue,body:be.length?Ere(this.body,...be,ae=>{ae&&this.onError(ae)}).on("error",Ne):this.body.on("error",Ne)}),!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),E(I)},onUpgrade(I,B,N){if(I!==101)return;let S=new pF;for(let F=0;F{"use strict";RF.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 vF=g((HSe,PF)=>{"use strict";var{webidl:Lr}=kt(),fh=Symbol("ProgressEvent state"),YQ=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=Lr.converters.DOMString(e,"ProgressEvent constructor","type"),r=Lr.converters.ProgressEventInit(r??{}),super(e,r),this[fh]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return Lr.brandCheck(this,t),this[fh].lengthComputable}get loaded(){return Lr.brandCheck(this,t),this[fh].loaded}get total(){return Lr.brandCheck(this,t),this[fh].total}};Lr.converters.ProgressEventInit=Lr.dictionaryConverter([{key:"lengthComputable",converter:Lr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"loaded",converter:Lr.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"total",converter:Lr.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"bubbles",converter:Lr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:Lr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:Lr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}]);PF.exports={ProgressEvent:YQ}});var kF=g((GSe,DF)=>{"use strict";function Lre(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(Lre,"getEncoding");DF.exports={getEncoding:Lre}});var qF=g((VSe,OF)=>{"use strict";var{kState:Gc,kError:VQ,kResult:TF,kAborted:Au,kLastProgressEventFired:JQ}=GQ(),{ProgressEvent:_re}=vF(),{getEncoding:MF}=kF(),{serializeAMimeType:Fre,parseMIMEType:LF}=ar(),{types:Ure}=require("node:util"),{StringDecoder:_F}=require("string_decoder"),{btoa:FF}=require("node:buffer"),Ore={enumerable:!0,writable:!1,configurable:!1};function qre(t,e,r,n){if(t[Gc]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[Gc]="loading",t[TF]=null,t[VQ]=null;let i=e.stream().getReader(),a=[],c=i.read(),l=!0;(async()=>{for(;!t[Au];)try{let{done:A,value:u}=await c;if(l&&!t[Au]&&queueMicrotask(()=>{so("loadstart",t)}),l=!1,!A&&Ure.isUint8Array(u))a.push(u),(t[JQ]===void 0||Date.now()-t[JQ]>=50)&&!t[Au]&&(t[JQ]=Date.now(),queueMicrotask(()=>{so("progress",t)})),c=i.read();else if(A){queueMicrotask(()=>{t[Gc]="done";try{let d=Hre(a,r,e.type,n);if(t[Au])return;t[TF]=d,so("load",t)}catch(d){t[VQ]=d,so("error",t)}t[Gc]!=="loading"&&so("loadend",t)});break}}catch(A){if(t[Au])return;queueMicrotask(()=>{t[Gc]="done",t[VQ]=A,so("error",t),t[Gc]!=="loading"&&so("loadend",t)});break}})()}o(qre,"readOperation");function so(t,e){let r=new _re(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(so,"fireAProgressEvent");function Hre(t,e,r,n){switch(e){case"DataURL":{let s="data:",i=LF(r||"application/octet-stream");i!=="failure"&&(s+=Fre(i)),s+=";base64,";let a=new _F("latin1");for(let c of t)s+=FF(a.write(c));return s+=FF(a.end()),s}case"Text":{let s="failure";if(n&&(s=MF(n)),s==="failure"&&r){let i=LF(r);i!=="failure"&&(s=MF(i.parameters.get("charset")))}return s==="failure"&&(s="UTF-8"),zre(t,s)}case"ArrayBuffer":return UF(t).buffer;case"BinaryString":{let s="",i=new _F("latin1");for(let a of t)s+=i.write(a);return s+=i.end(),s}}}o(Hre,"packageData");function zre(t,e){let r=UF(t),n=Gre(r),s=0;n!==null&&(e=n,s=n==="UTF-8"?3:2);let i=r.slice(s);return new TextDecoder(e).decode(i)}o(zre,"decode");function Gre(t){let[e,r,n]=t;return e===239&&r===187&&n===191?"UTF-8":e===254&&r===255?"UTF-16BE":e===255&&r===254?"UTF-16LE":null}o(Gre,"BOMSniffing");function UF(t){let e=t.reduce((n,s)=>n+s.byteLength,0),r=0;return t.reduce((n,s)=>(n.set(s,r),r+=s.byteLength,n),new Uint8Array(e))}o(UF,"combineByteSequences");OF.exports={staticPropertyDescriptors:Ore,readOperation:qre,fireAProgressEvent:so}});var YF=g((WSe,GF)=>{"use strict";var{staticPropertyDescriptors:Yc,readOperation:gh,fireAProgressEvent:HF}=qF(),{kState:oa,kError:zF,kResult:yh,kEvents:Ee,kAborted:Yre}=GQ(),{webidl:Re}=kt(),{kEnumerableProperty:Ar}=ce(),Un=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[oa]="empty",this[yh]=null,this[zF]=null,this[Ee]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=Re.converters.Blob(e,{strict:!1}),gh(this,e,"ArrayBuffer")}readAsBinaryString(e){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=Re.converters.Blob(e,{strict:!1}),gh(this,e,"BinaryString")}readAsText(e,r=void 0){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=Re.converters.Blob(e,{strict:!1}),r!==void 0&&(r=Re.converters.DOMString(r,"FileReader.readAsText","encoding")),gh(this,e,"Text",r)}readAsDataURL(e){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=Re.converters.Blob(e,{strict:!1}),gh(this,e,"DataURL")}abort(){if(this[oa]==="empty"||this[oa]==="done"){this[yh]=null;return}this[oa]==="loading"&&(this[oa]="done",this[yh]=null),this[Yre]=!0,HF("abort",this),this[oa]!=="loading"&&HF("loadend",this)}get readyState(){switch(Re.brandCheck(this,t),this[oa]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return Re.brandCheck(this,t),this[yh]}get error(){return Re.brandCheck(this,t),this[zF]}get onloadend(){return Re.brandCheck(this,t),this[Ee].loadend}set onloadend(e){Re.brandCheck(this,t),this[Ee].loadend&&this.removeEventListener("loadend",this[Ee].loadend),typeof e=="function"?(this[Ee].loadend=e,this.addEventListener("loadend",e)):this[Ee].loadend=null}get onerror(){return Re.brandCheck(this,t),this[Ee].error}set onerror(e){Re.brandCheck(this,t),this[Ee].error&&this.removeEventListener("error",this[Ee].error),typeof e=="function"?(this[Ee].error=e,this.addEventListener("error",e)):this[Ee].error=null}get onloadstart(){return Re.brandCheck(this,t),this[Ee].loadstart}set onloadstart(e){Re.brandCheck(this,t),this[Ee].loadstart&&this.removeEventListener("loadstart",this[Ee].loadstart),typeof e=="function"?(this[Ee].loadstart=e,this.addEventListener("loadstart",e)):this[Ee].loadstart=null}get onprogress(){return Re.brandCheck(this,t),this[Ee].progress}set onprogress(e){Re.brandCheck(this,t),this[Ee].progress&&this.removeEventListener("progress",this[Ee].progress),typeof e=="function"?(this[Ee].progress=e,this.addEventListener("progress",e)):this[Ee].progress=null}get onload(){return Re.brandCheck(this,t),this[Ee].load}set onload(e){Re.brandCheck(this,t),this[Ee].load&&this.removeEventListener("load",this[Ee].load),typeof e=="function"?(this[Ee].load=e,this.addEventListener("load",e)):this[Ee].load=null}get onabort(){return Re.brandCheck(this,t),this[Ee].abort}set onabort(e){Re.brandCheck(this,t),this[Ee].abort&&this.removeEventListener("abort",this[Ee].abort),typeof e=="function"?(this[Ee].abort=e,this.addEventListener("abort",e)):this[Ee].abort=null}};Un.EMPTY=Un.prototype.EMPTY=0;Un.LOADING=Un.prototype.LOADING=1;Un.DONE=Un.prototype.DONE=2;Object.defineProperties(Un.prototype,{EMPTY:Yc,LOADING:Yc,DONE:Yc,readAsArrayBuffer:Ar,readAsBinaryString:Ar,readAsText:Ar,readAsDataURL:Ar,abort:Ar,readyState:Ar,result:Ar,error:Ar,onloadstart:Ar,onprogress:Ar,onload:Ar,onabort:Ar,onerror:Ar,onloadend:Ar,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Un,{EMPTY:Yc,LOADING:Yc,DONE:Yc});GF.exports={FileReader:Un}});var Eh=g((jSe,VF)=>{"use strict";VF.exports={kConstruct:Oe().kConstruct}});var $F=g((KSe,WF)=>{"use strict";var Vre=require("node:assert"),{URLSerializer:JF}=ar(),{isValidHeaderName:Jre}=Rr();function Wre(t,e,r=!1){let n=JF(t,r),s=JF(e,r);return n===s}o(Wre,"urlEquals");function $re(t){Vre(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),Jre(r)&&e.push(r);return e}o($re,"getFieldValues");WF.exports={urlEquals:Wre,getFieldValues:$re}});var XF=g((ZSe,KF)=>{"use strict";var{kConstruct:jre}=Eh(),{urlEquals:Kre,getFieldValues:WQ}=$F(),{kEnumerableProperty:aa,isDisturbed:Xre}=ce(),{webidl:G}=kt(),{Response:Zre,cloneResponse:ene,fromInnerResponse:tne}=au(),{Request:hi,fromInnerRequest:rne}=zc(),{kState:On}=Yi(),{fetching:nne}=lu(),{urlIsHttpHttpsScheme:Ch,createDeferredPromise:Vc,readAllBytes:sne}=Rr(),$Q=require("node:assert"),Ih=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==jre&&G.illegalConstructor(),G.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,r={}){G.brandCheck(this,t);let n="Cache.match";G.argumentLengthCheck(arguments,1,n),e=G.converters.RequestInfo(e,n,"request"),r=G.converters.CacheQueryOptions(r,n,"options");let s=this.#s(e,r,1);if(s.length!==0)return s[0]}async matchAll(e=void 0,r={}){G.brandCheck(this,t);let n="Cache.matchAll";return e!==void 0&&(e=G.converters.RequestInfo(e,n,"request")),r=G.converters.CacheQueryOptions(r,n,"options"),this.#s(e,r)}async add(e){G.brandCheck(this,t);let r="Cache.add";G.argumentLengthCheck(arguments,1,r),e=G.converters.RequestInfo(e,r,"request");let n=[e];return await this.addAll(n)}async addAll(e){G.brandCheck(this,t);let r="Cache.addAll";G.argumentLengthCheck(arguments,1,r);let n=[],s=[];for(let m of e){if(m===void 0)throw G.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(m=G.converters.RequestInfo(m),typeof m=="string")continue;let p=m[On];if(!Ch(p.url)||p.method!=="GET")throw G.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let i=[];for(let m of e){let p=new hi(m)[On];if(!Ch(p.url))throw G.errors.exception({header:r,message:"Expected http/s scheme."});p.initiator="fetch",p.destination="subresource",s.push(p);let h=Vc();i.push(nne({request:p,processResponse(f){if(f.type==="error"||f.status===206||f.status<200||f.status>299)h.reject(G.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(f.headersList.contains("vary")){let C=WQ(f.headersList.get("vary"));for(let y of C)if(y==="*"){h.reject(G.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let E of i)E.abort();return}}},processResponseEndOfBody(f){if(f.aborted){h.reject(new DOMException("aborted","AbortError"));return}h.resolve(f)}})),n.push(h.promise)}let c=await Promise.all(n),l=[],A=0;for(let m of c){let p={type:"put",request:s[A],response:m};l.push(p),A++}let u=Vc(),d=null;try{this.#t(l)}catch(m){d=m}return queueMicrotask(()=>{d===null?u.resolve(void 0):u.reject(d)}),u.promise}async put(e,r){G.brandCheck(this,t);let n="Cache.put";G.argumentLengthCheck(arguments,2,n),e=G.converters.RequestInfo(e,n,"request"),r=G.converters.Response(r,n,"response");let s=null;if(e instanceof hi?s=e[On]:s=new hi(e)[On],!Ch(s.url)||s.method!=="GET")throw G.errors.exception({header:n,message:"Expected an http/s scheme when method is not GET"});let i=r[On];if(i.status===206)throw G.errors.exception({header:n,message:"Got 206 status"});if(i.headersList.contains("vary")){let p=WQ(i.headersList.get("vary"));for(let h of p)if(h==="*")throw G.errors.exception({header:n,message:"Got * vary field value"})}if(i.body&&(Xre(i.body.stream)||i.body.stream.locked))throw G.errors.exception({header:n,message:"Response body is locked or disturbed"});let a=ene(i),c=Vc();if(i.body!=null){let h=i.body.stream.getReader();sne(h).then(c.resolve,c.reject)}else c.resolve(void 0);let l=[],A={type:"put",request:s,response:a};l.push(A);let u=await c.promise;a.body!=null&&(a.body.source=u);let d=Vc(),m=null;try{this.#t(l)}catch(p){m=p}return queueMicrotask(()=>{m===null?d.resolve():d.reject(m)}),d.promise}async delete(e,r={}){G.brandCheck(this,t);let n="Cache.delete";G.argumentLengthCheck(arguments,1,n),e=G.converters.RequestInfo(e,n,"request"),r=G.converters.CacheQueryOptions(r,n,"options");let s=null;if(e instanceof hi){if(s=e[On],s.method!=="GET"&&!r.ignoreMethod)return!1}else $Q(typeof e=="string"),s=new hi(e)[On];let i=[],a={type:"delete",request:s,options:r};i.push(a);let c=Vc(),l=null,A;try{A=this.#t(i)}catch(u){l=u}return queueMicrotask(()=>{l===null?c.resolve(!!A?.length):c.reject(l)}),c.promise}async keys(e=void 0,r={}){G.brandCheck(this,t);let n="Cache.keys";e!==void 0&&(e=G.converters.RequestInfo(e,n,"request")),r=G.converters.CacheQueryOptions(r,n,"options");let s=null;if(e!==void 0)if(e instanceof hi){if(s=e[On],s.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(s=new hi(e)[On]);let i=Vc(),a=[];if(e===void 0)for(let c of this.#e)a.push(c[0]);else{let c=this.#r(s,r);for(let l of c)a.push(l[0])}return queueMicrotask(()=>{let c=[];for(let l of a){let A=rne(l,new AbortController().signal,"immutable");c.push(A)}i.resolve(Object.freeze(c))}),i.promise}#t(e){let r=this.#e,n=[...r],s=[],i=[];try{for(let a of e){if(a.type!=="delete"&&a.type!=="put")throw G.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw G.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#r(a.request,a.options,s).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 A=r.indexOf(l);$Q(A!==-1),r.splice(A,1)}}else if(a.type==="put"){if(a.response==null)throw G.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let l=a.request;if(!Ch(l.url))throw G.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(l.method!=="GET")throw G.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw G.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#r(a.request);for(let A of c){let u=r.indexOf(A);$Q(u!==-1),r.splice(u,1)}r.push([a.request,a.response]),s.push([a.request,a.response])}i.push([a.request,a.response])}return i}catch(a){throw this.#e.length=0,this.#e=n,a}}#r(e,r,n){let s=[],i=n??this.#e;for(let a of i){let[c,l]=a;this.#i(e,c,l,r)&&s.push(a)}return s}#i(e,r,n=null,s){let i=new URL(e.url),a=new URL(r.url);if(s?.ignoreSearch&&(a.search="",i.search=""),!Kre(i,a,!0))return!1;if(n==null||s?.ignoreVary||!n.headersList.contains("vary"))return!0;let c=WQ(n.headersList.get("vary"));for(let l of c){if(l==="*")return!1;let A=r.headersList.get(l),u=e.headersList.get(l);if(A!==u)return!1}return!0}#s(e,r,n=1/0){let s=null;if(e!==void 0)if(e instanceof hi){if(s=e[On],s.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(s=new hi(e)[On]);let i=[];if(e===void 0)for(let c of this.#e)i.push(c[1]);else{let c=this.#r(s,r);for(let l of c)i.push(l[1])}let a=[];for(let c of i){let l=tne(c,"immutable");if(a.push(l.clone()),a.length>=n)break}return Object.freeze(a)}};Object.defineProperties(Ih.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:aa,matchAll:aa,add:aa,addAll:aa,put:aa,delete:aa,keys:aa});var jF=[{key:"ignoreSearch",converter:G.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreMethod",converter:G.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreVary",converter:G.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];G.converters.CacheQueryOptions=G.dictionaryConverter(jF);G.converters.MultiCacheQueryOptions=G.dictionaryConverter([...jF,{key:"cacheName",converter:G.converters.DOMString}]);G.converters.Response=G.interfaceConverter(Zre);G.converters["sequence"]=G.sequenceConverter(G.converters.RequestInfo);KF.exports={Cache:Ih}});var e1=g((tRe,ZF)=>{"use strict";var{kConstruct:uu}=Eh(),{Cache:Bh}=XF(),{webidl:Ft}=kt(),{kEnumerableProperty:du}=ce(),Qh=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==uu&&Ft.illegalConstructor(),Ft.util.markAsUncloneable(this)}async match(e,r={}){if(Ft.brandCheck(this,t),Ft.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=Ft.converters.RequestInfo(e),r=Ft.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new Bh(uu,n).match(e,r)}}else for(let n of this.#e.values()){let i=await new Bh(uu,n).match(e,r);if(i!==void 0)return i}}async has(e){Ft.brandCheck(this,t);let r="CacheStorage.has";return Ft.argumentLengthCheck(arguments,1,r),e=Ft.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){Ft.brandCheck(this,t);let r="CacheStorage.open";if(Ft.argumentLengthCheck(arguments,1,r),e=Ft.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let s=this.#e.get(e);return new Bh(uu,s)}let n=[];return this.#e.set(e,n),new Bh(uu,n)}async delete(e){Ft.brandCheck(this,t);let r="CacheStorage.delete";return Ft.argumentLengthCheck(arguments,1,r),e=Ft.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return Ft.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(Qh.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:du,has:du,open:du,delete:du,keys:du});ZF.exports={CacheStorage:Qh}});var r1=g((nRe,t1)=>{"use strict";t1.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var XQ=g((sRe,o1)=>{"use strict";function ine(t){for(let e=0;e=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}o(ine,"isCTLExcludingHtab");function jQ(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(jQ,"validateCookieName");function KQ(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||n===34||n===44||n===59||n===92)throw new Error("Invalid cookie value")}}o(KQ,"validateCookieValue");function s1(t){for(let e=0;e126||r===59)throw new Error("Invalid cookie path")}}o(s1,"validateCookiePath");function n1(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}o(n1,"isLetterOrDigit");function one(t){if(t===" ")return;if(t.length>255)throw new Error("Invalid cookie domain");let e=0;for(let r=0;r63)throw new Error("Invalid cookie domain")}if(e===0||t.charCodeAt(t.length-1)===45)throw new Error("Invalid cookie domain")}o(one,"validateCookieDomain");var ane=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],cne=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],xh=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function i1(t){return typeof t=="number"&&(t=new Date(t)),`${ane[t.getUTCDay()]}, ${xh[t.getUTCDate()]} ${cne[t.getUTCMonth()]} ${t.getUTCFullYear()} ${xh[t.getUTCHours()]}:${xh[t.getUTCMinutes()]}:${xh[t.getUTCSeconds()]} GMT`}o(i1,"toIMFDate");function lne(t){if(t<0)throw new Error("Invalid cookie max-age")}o(lne,"validateCookieMaxAge");function Ane(t){if(t.name.length===0)return null;jQ(t.name),KQ(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"&&(lne(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(one(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(s1(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${i1(t.expires)}`),t.sameSite&&e.push(`SameSite=${t.sameSite}`);for(let r of t.unparsed){if(!r.includes("="))throw new Error("Invalid unparsed");let[n,...s]=r.split("="),i=n.trim(),a=s.join("=");jQ(i),KQ(a),e.push(`${i}=${a}`)}return e.join("; ")}o(Ane,"stringify");o1.exports={isCTLExcludingHtab:ine,validateCookieName:jQ,validateCookiePath:s1,validateCookieValue:KQ,toIMFDate:i1,stringify:Ane}});var c1=g((oRe,a1)=>{"use strict";var{maxNameValuePairSize:une,maxAttributeValueSize:dne}=r1(),{isCTLExcludingHtab:mne}=XQ(),{collectASequenceOfCodePointsFast:bh}=ar(),pne=require("node:assert");function hne(t){if(mne(t))return null;let e="",r="",n="",s="";if(t.includes(";")){let i={position:0};e=bh(";",t,i),r=t.slice(i.position)}else e=t;if(!e.includes("="))s=e;else{let i={position:0};n=bh("=",e,i),s=e.slice(i.position+1)}return n=n.trim(),s=s.trim(),n.length+s.length>une?null:{name:n,value:s,...Jc(r)}}o(hne,"parseSetCookie");function Jc(t,e={}){if(t.length===0)return e;pne(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=bh(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",s="";if(r.includes("=")){let a={position:0};n=bh("=",r,a),s=r.slice(a.position+1)}else n=r;if(n=n.trim(),s=s.trim(),s.length>dne)return Jc(t,e);let i=n.toLowerCase();if(i==="expires"){let a=new Date(s);e.expires=a}else if(i==="max-age"){let a=s.charCodeAt(0);if((a<48||a>57)&&s[0]!=="-"||!/^\d+$/.test(s))return Jc(t,e);let c=Number(s);e.maxAge=c}else if(i==="domain"){let a=s;a[0]==="."&&(a=a.slice(1)),a=a.toLowerCase(),e.domain=a}else if(i==="path"){let a="";s.length===0||s[0]!=="/"?a="/":a=s,e.path=a}else if(i==="secure")e.secure=!0;else if(i==="httponly")e.httpOnly=!0;else if(i==="samesite"){let a=s.toLowerCase();a==="none"?e.sameSite="None":a==="strict"?e.sameSite="Strict":a==="lax"&&(e.sameSite="Lax")}else e.unparsed??=[],e.unparsed.push(`${n}=${s}`);return Jc(t,e)}o(Jc,"parseUnparsedAttributes");a1.exports={parseSetCookie:hne,parseUnparsedAttributes:Jc}});var u1=g((cRe,A1)=>{"use strict";var{parseSetCookie:fne}=c1(),{stringify:gne}=XQ(),{webidl:me}=kt(),{Headers:wh}=ra();function yne(t){me.argumentLengthCheck(arguments,1,"getCookies"),me.brandCheck(t,wh,{strict:!1});let e=t.get("cookie"),r={};if(!e)return r;for(let n of e.split(";")){let[s,...i]=n.split("=");r[s.trim()]=i.join("=")}return r}o(yne,"getCookies");function Ene(t,e,r){me.brandCheck(t,wh,{strict:!1});let n="deleteCookie";me.argumentLengthCheck(arguments,2,n),e=me.converters.DOMString(e,n,"name"),r=me.converters.DeleteCookieAttributes(r),l1(t,{name:e,value:"",expires:new Date(0),...r})}o(Ene,"deleteCookie");function Cne(t){me.argumentLengthCheck(arguments,1,"getSetCookies"),me.brandCheck(t,wh,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>fne(r)):[]}o(Cne,"getSetCookies");function l1(t,e){me.argumentLengthCheck(arguments,2,"setCookie"),me.brandCheck(t,wh,{strict:!1}),e=me.converters.Cookie(e);let r=gne(e);r&&t.append("Set-Cookie",r)}o(l1,"setCookie");me.converters.DeleteCookieAttributes=me.dictionaryConverter([{converter:me.nullableConverter(me.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:me.nullableConverter(me.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")}]);me.converters.Cookie=me.dictionaryConverter([{converter:me.converters.DOMString,key:"name"},{converter:me.converters.DOMString,key:"value"},{converter:me.nullableConverter(t=>typeof t=="number"?me.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:o(()=>null,"defaultValue")},{converter:me.nullableConverter(me.converters["long long"]),key:"maxAge",defaultValue:o(()=>null,"defaultValue")},{converter:me.nullableConverter(me.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")},{converter:me.nullableConverter(me.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:me.nullableConverter(me.converters.boolean),key:"secure",defaultValue:o(()=>null,"defaultValue")},{converter:me.nullableConverter(me.converters.boolean),key:"httpOnly",defaultValue:o(()=>null,"defaultValue")},{converter:me.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:me.sequenceConverter(me.converters.DOMString),key:"unparsed",defaultValue:o(()=>new Array(0),"defaultValue")}]);A1.exports={getCookies:yne,deleteCookie:Ene,getSetCookies:Cne,setCookie:l1}});var $c=g((ARe,m1)=>{"use strict";var{webidl:z}=kt(),{kEnumerableProperty:ur}=ce(),{kConstruct:d1}=Oe(),{MessagePort:Ine}=require("node:worker_threads"),Wc=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===d1){super(arguments[1],arguments[2]),z.util.markAsUncloneable(this);return}let n="MessageEvent constructor";z.argumentLengthCheck(arguments,1,n),e=z.converters.DOMString(e,n,"type"),r=z.converters.MessageEventInit(r,n,"eventInitDict"),super(e,r),this.#e=r,z.util.markAsUncloneable(this)}get data(){return z.brandCheck(this,t),this.#e.data}get origin(){return z.brandCheck(this,t),this.#e.origin}get lastEventId(){return z.brandCheck(this,t),this.#e.lastEventId}get source(){return z.brandCheck(this,t),this.#e.source}get ports(){return z.brandCheck(this,t),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(e,r=!1,n=!1,s=null,i="",a="",c=null,l=[]){return z.brandCheck(this,t),z.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new t(e,{bubbles:r,cancelable:n,data:s,origin:i,lastEventId:a,source:c,ports:l})}static createFastMessageEvent(e,r){let n=new t(d1,e,r);return n.#e=r,n.#e.data??=null,n.#e.origin??="",n.#e.lastEventId??="",n.#e.source??=null,n.#e.ports??=[],n}},{createFastMessageEvent:Bne}=Wc;delete Wc.createFastMessageEvent;var Nh=class t extends Event{static{o(this,"CloseEvent")}#e;constructor(e,r={}){let n="CloseEvent constructor";z.argumentLengthCheck(arguments,1,n),e=z.converters.DOMString(e,n,"type"),r=z.converters.CloseEventInit(r),super(e,r),this.#e=r,z.util.markAsUncloneable(this)}get wasClean(){return z.brandCheck(this,t),this.#e.wasClean}get code(){return z.brandCheck(this,t),this.#e.code}get reason(){return z.brandCheck(this,t),this.#e.reason}},Sh=class t extends Event{static{o(this,"ErrorEvent")}#e;constructor(e,r){let n="ErrorEvent constructor";z.argumentLengthCheck(arguments,1,n),super(e,r),z.util.markAsUncloneable(this),e=z.converters.DOMString(e,n,"type"),r=z.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return z.brandCheck(this,t),this.#e.message}get filename(){return z.brandCheck(this,t),this.#e.filename}get lineno(){return z.brandCheck(this,t),this.#e.lineno}get colno(){return z.brandCheck(this,t),this.#e.colno}get error(){return z.brandCheck(this,t),this.#e.error}};Object.defineProperties(Wc.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:ur,origin:ur,lastEventId:ur,source:ur,ports:ur,initMessageEvent:ur});Object.defineProperties(Nh.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:ur,code:ur,wasClean:ur});Object.defineProperties(Sh.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:ur,filename:ur,lineno:ur,colno:ur,error:ur});z.converters.MessagePort=z.interfaceConverter(Ine);z.converters["sequence"]=z.sequenceConverter(z.converters.MessagePort);var ZQ=[{key:"bubbles",converter:z.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:z.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:z.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];z.converters.MessageEventInit=z.dictionaryConverter([...ZQ,{key:"data",converter:z.converters.any,defaultValue:o(()=>null,"defaultValue")},{key:"origin",converter:z.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lastEventId",converter:z.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"source",converter:z.nullableConverter(z.converters.MessagePort),defaultValue:o(()=>null,"defaultValue")},{key:"ports",converter:z.converters["sequence"],defaultValue:o(()=>new Array(0),"defaultValue")}]);z.converters.CloseEventInit=z.dictionaryConverter([...ZQ,{key:"wasClean",converter:z.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"code",converter:z.converters["unsigned short"],defaultValue:o(()=>0,"defaultValue")},{key:"reason",converter:z.converters.USVString,defaultValue:o(()=>"","defaultValue")}]);z.converters.ErrorEventInit=z.dictionaryConverter([...ZQ,{key:"message",converter:z.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"filename",converter:z.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lineno",converter:z.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"colno",converter:z.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"error",converter:z.converters.any}]);m1.exports={MessageEvent:Wc,CloseEvent:Nh,ErrorEvent:Sh,createFastMessageEvent:Bne}});var ca=g((dRe,p1)=>{"use strict";var Qne="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",xne={enumerable:!0,writable:!1,configurable:!1},bne={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},wne={NOT_SENT:0,PROCESSING:1,SENT:2},Nne={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},Sne=2**16-1,Rne={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},Pne=Buffer.allocUnsafe(0),vne={string:1,typedArray:2,arrayBuffer:3,blob:4};p1.exports={uid:Qne,sentCloseFrameState:wne,staticPropertyDescriptors:xne,states:bne,opcodes:Nne,maxUnsigned16Bit:Sne,parserStates:Rne,emptyBuffer:Pne,sendHints:vne}});var mu=g((mRe,h1)=>{"use strict";h1.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 fu=g((pRe,x1)=>{"use strict";var{kReadyState:pu,kController:Dne,kResponse:kne,kBinaryType:Tne,kWebSocketURL:Mne}=mu(),{states:hu,opcodes:io}=ca(),{ErrorEvent:Lne,createFastMessageEvent:_ne}=$c(),{isUtf8:Fne}=require("node:buffer"),{collectASequenceOfCodePointsFast:Une,removeHTTPWhitespace:f1}=ar();function One(t){return t[pu]===hu.CONNECTING}o(One,"isConnecting");function qne(t){return t[pu]===hu.OPEN}o(qne,"isEstablished");function Hne(t){return t[pu]===hu.CLOSING}o(Hne,"isClosing");function zne(t){return t[pu]===hu.CLOSED}o(zne,"isClosed");function ex(t,e,r=(s,i)=>new Event(s,i),n={}){let s=r(t,n);e.dispatchEvent(s)}o(ex,"fireEvent");function Gne(t,e,r){if(t[pu]!==hu.OPEN)return;let n;if(e===io.TEXT)try{n=Q1(r)}catch{y1(t,"Received invalid UTF-8 in text frame.");return}else e===io.BINARY&&(t[Tne]==="blob"?n=new Blob([r]):n=Yne(r));ex("message",t,_ne,{origin:t[Mne].origin,data:n})}o(Gne,"websocketMessageReceived");function Yne(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(Yne,"toArrayBuffer");function Vne(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(Vne,"isValidSubprotocol");function Jne(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(Jne,"isValidStatusCode");function y1(t,e){let{[Dne]:r,[kne]:n}=t;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),e&&ex("error",t,(s,i)=>new Lne(s,i),{error:new Error(e),message:e})}o(y1,"failWebsocketConnection");function E1(t){return t===io.CLOSE||t===io.PING||t===io.PONG}o(E1,"isControlFrame");function C1(t){return t===io.CONTINUATION}o(C1,"isContinuationFrame");function I1(t){return t===io.TEXT||t===io.BINARY}o(I1,"isTextBinaryFrame");function Wne(t){return I1(t)||C1(t)||E1(t)}o(Wne,"isValidOpcode");function $ne(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(jne,"isValidClientWindowBits");var B1=typeof process.versions.icu=="string",g1=B1?new TextDecoder("utf-8",{fatal:!0}):void 0,Q1=B1?g1.decode.bind(g1):function(t){if(Fne(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};x1.exports={isConnecting:One,isEstablished:qne,isClosing:Hne,isClosed:zne,fireEvent:ex,isValidSubprotocol:Vne,isValidStatusCode:Jne,failWebsocketConnection:y1,websocketMessageReceived:Gne,utf8Decode:Q1,isControlFrame:E1,isContinuationFrame:C1,isTextBinaryFrame:I1,isValidOpcode:Wne,parseExtensions:$ne,isValidClientWindowBits:jne}});var Ph=g((fRe,b1)=>{"use strict";var{maxUnsigned16Bit:Kne}=ca(),Rh=16386,tx,gu=null,jc=Rh;try{tx=require("node:crypto")}catch{tx={randomFillSync:o(function(e,r,n){for(let s=0;sKne?(a+=8,i=127):s>125&&(a+=2,i=126);let c=Buffer.allocUnsafe(s+a);c[0]=c[1]=0,c[0]|=128,c[0]=(c[0]&240)+e;c[a-4]=n[0],c[a-3]=n[1],c[a-2]=n[2],c[a-1]=n[3],c[1]=i,i===126?c.writeUInt16BE(s,2):i===127&&(c[2]=c[3]=0,c.writeUIntBE(s,4,6)),c[1]|=128;for(let l=0;l{"use strict";var{uid:Zne,states:yu,sentCloseFrameState:vh,emptyBuffer:ese,opcodes:tse}=ca(),{kReadyState:Eu,kSentClose:Dh,kByteParser:N1,kReceivedClose:w1,kResponse:S1}=mu(),{fireEvent:rse,failWebsocketConnection:oo,isClosing:nse,isClosed:sse,isEstablished:ise,parseExtensions:ose}=fu(),{channels:Kc}=ac(),{CloseEvent:ase}=$c(),{makeRequest:cse}=zc(),{fetching:lse}=lu(),{Headers:Ase,getHeadersList:use}=ra(),{getDecodeSplit:dse}=Rr(),{WebsocketFrameSend:mse}=Ph(),nx;try{nx=require("node:crypto")}catch{}function pse(t,e,r,n,s,i){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=cse({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let d=use(new Ase(i.headers));c.headersList=d}let l=nx.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"),lse({request:c,useParallelQueue:!0,dispatcher:i.dispatcher,processResponse(d){if(d.type==="error"||d.status!==101){oo(n,"Received network error or non-101 status code.");return}if(e.length!==0&&!d.headersList.get("Sec-WebSocket-Protocol")){oo(n,"Server did not respond with sent protocols.");return}if(d.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){oo(n,'Server did not set Upgrade header to "websocket".');return}if(d.headersList.get("Connection")?.toLowerCase()!=="upgrade"){oo(n,'Server did not set Connection header to "upgrade".');return}let m=d.headersList.get("Sec-WebSocket-Accept"),p=nx.createHash("sha1").update(l+Zne).digest("base64");if(m!==p){oo(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let h=d.headersList.get("Sec-WebSocket-Extensions"),f;if(h!==null&&(f=ose(h),!f.has("permessage-deflate"))){oo(n,"Sec-WebSocket-Extensions header does not match.");return}let C=d.headersList.get("Sec-WebSocket-Protocol");if(C!==null&&!dse("sec-websocket-protocol",c.headersList).includes(C)){oo(n,"Protocol was not set in the opening handshake.");return}d.socket.on("data",R1),d.socket.on("close",P1),d.socket.on("error",v1),Kc.open.hasSubscribers&&Kc.open.publish({address:d.socket.address(),protocol:C,extensions:h}),s(d,f)}})}o(pse,"establishWebSocketConnection");function hse(t,e,r,n){if(!(nse(t)||sse(t)))if(!ise(t))oo(t,"Connection was closed before it was established."),t[Eu]=yu.CLOSING;else if(t[Dh]===vh.NOT_SENT){t[Dh]=vh.PROCESSING;let s=new mse;e!==void 0&&r===void 0?(s.frameData=Buffer.allocUnsafe(2),s.frameData.writeUInt16BE(e,0)):e!==void 0&&r!==void 0?(s.frameData=Buffer.allocUnsafe(2+n),s.frameData.writeUInt16BE(e,0),s.frameData.write(r,2,"utf-8")):s.frameData=ese,t[S1].socket.write(s.createFrame(tse.CLOSE)),t[Dh]=vh.SENT,t[Eu]=yu.CLOSING}else t[Eu]=yu.CLOSING}o(hse,"closeWebSocketConnection");function R1(t){this.ws[N1].write(t)||this.pause()}o(R1,"onSocketData");function P1(){let{ws:t}=this,{[S1]:e}=t;e.socket.off("data",R1),e.socket.off("close",P1),e.socket.off("error",v1);let r=t[Dh]===vh.SENT&&t[w1],n=1005,s="",i=t[N1].closingInfo;i&&!i.error?(n=i.code??1005,s=i.reason):t[w1]||(n=1006),t[Eu]=yu.CLOSED,rse("close",t,(a,c)=>new ase(a,c),{wasClean:r,code:n,reason:s}),Kc.close.hasSubscribers&&Kc.close.publish({websocket:t,code:n,reason:s})}o(P1,"onSocketClose");function v1(t){let{ws:e}=this;e[Eu]=yu.CLOSING,Kc.socketError.hasSubscribers&&Kc.socketError.publish(t),this.destroy()}o(v1,"onSocketError");D1.exports={establishWebSocketConnection:pse,closeWebSocketConnection:hse}});var T1=g((CRe,k1)=>{"use strict";var{createInflateRaw:fse,Z_DEFAULT_WINDOWBITS:gse}=require("node:zlib"),{isValidClientWindowBits:yse}=fu(),{MessageSizeExceededError:Ese}=ye(),Cse=Buffer.from([0,0,255,255]),kh=Symbol("kBuffer"),Cu=Symbol("kLength"),ix=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,n){if(!this.#e){let s=gse;if(this.#t.serverMaxWindowBits){if(!yse(this.#t.serverMaxWindowBits)){n(new Error("Invalid server_max_window_bits"));return}s=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=fse({windowBits:s})}catch(i){n(i);return}this.#e[kh]=[],this.#e[Cu]=0,this.#e.on("data",i=>{if(this.#e[Cu]+=i.length,this.#r>0&&this.#e[Cu]>this.#r){n(new Ese),this.#e.removeAllListeners(),this.#e=null;return}this.#e[kh].push(i)}),this.#e.on("error",i=>{this.#e=null,n(i)})}this.#e.write(e),r&&this.#e.write(Cse),this.#e.flush(()=>{if(!this.#e)return;let s=Buffer.concat(this.#e[kh],this.#e[Cu]);this.#e[kh].length=0,this.#e[Cu]=0,n(null,s)})}};k1.exports={PerMessageDeflate:ix}});var G1=g((BRe,z1)=>{"use strict";var{Writable:Ise}=require("node:stream"),Bse=require("node:assert"),{parserStates:dr,opcodes:Xc,states:Qse,emptyBuffer:M1,sentCloseFrameState:L1}=ca(),{kReadyState:xse,kSentClose:_1,kResponse:F1,kReceivedClose:U1}=mu(),{channels:Th}=ac(),{isValidStatusCode:bse,isValidOpcode:wse,failWebsocketConnection:_r,websocketMessageReceived:O1,utf8Decode:Nse,isControlFrame:ox,isTextBinaryFrame:ax,isContinuationFrame:Sse}=fu(),{WebsocketFrameSend:q1}=Ph(),{closeWebSocketConnection:H1}=sx(),{PerMessageDeflate:Rse}=T1(),{MessageSizeExceededError:cx}=ye();function Iu(t,e,r){H1(t,e,r,Buffer.byteLength(r)),_r(t,r)}o(Iu,"failWebsocketConnectionWithCode");var lx=class extends Ise{static{o(this,"ByteParser")}#e=[];#t=0;#r=0;#i=!1;#s=dr.INFO;#n={};#o=[];#a;#l;#c;constructor(e,r,n={}){super(),this.ws=e,this.#a=r??new Map,this.#l=n.maxFragments??0,this.#c=n.maxPayloadSize??0,this.#a.has("permessage-deflate")&&this.#a.set("permessage-deflate",new Rse(r,n))}_write(e,r,n){this.#e.push(e),this.#r+=e.length,this.#i=!0,this.run(n)}#A(){return this.#c>0&&!ox(this.#n.opcode)&&this.#n.payloadLength+this.#t>this.#c?(Iu(this.ws,1009,"Payload size exceeds maximum allowed size"),!1):!0}run(e){for(;this.#i;)if(this.#s===dr.INFO){if(this.#r<2)return e();let r=this.consume(2),n=(r[0]&128)!==0,s=r[0]&15,i=(r[1]&128)===128,a=!n&&s!==Xc.CONTINUATION,c=r[1]&127,l=r[0]&64,A=r[0]&32,u=r[0]&16;if(!wse(s))return _r(this.ws,"Invalid opcode received"),e();if(i)return _r(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#a.has("permessage-deflate")){_r(this.ws,"Expected RSV1 to be clear.");return}if(A!==0||u!==0){_r(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!ax(s)){_r(this.ws,"Invalid frame type was fragmented.");return}if(ax(s)&&this.#o.length>0){_r(this.ws,"Expected continuation frame");return}if(this.#n.fragmented&&a){_r(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&ox(s)){_r(this.ws,"Control frame either too large or fragmented");return}if(Sse(s)&&this.#o.length===0&&!this.#n.compressed){_r(this.ws,"Unexpected continuation frame");return}if(c<=125){if(this.#n.payloadLength=c,this.#s=dr.READ_DATA,!this.#A())return}else c===126?this.#s=dr.PAYLOADLENGTH_16:c===127&&(this.#s=dr.PAYLOADLENGTH_64);ax(s)&&(this.#n.binaryType=s,this.#n.compressed=l!==0),this.#n.opcode=s,this.#n.masked=i,this.#n.fin=n,this.#n.fragmented=a}else if(this.#s===dr.PAYLOADLENGTH_16){if(this.#r<2)return e();let r=this.consume(2);if(this.#n.payloadLength=r.readUInt16BE(0),this.#s=dr.READ_DATA,!this.#A())return}else if(this.#s===dr.PAYLOADLENGTH_64){if(this.#r<8)return e();let r=this.consume(8),n=r.readUInt32BE(0),s=r.readUInt32BE(4);if(n!==0||s>2**31-1){_r(this.ws,"Received payload length > 2^31 bytes.");return}if(this.#n.payloadLength=s,this.#s=dr.READ_DATA,!this.#A())return}else if(this.#s===dr.READ_DATA){if(this.#r{if(n){let i=n instanceof cx?1009:1007;Iu(this.ws,i,n.message);return}if(this.writeFragments(s)){if(this.#c>0&&this.#t>this.#c){Iu(this.ws,1009,new cx().message);return}if(!this.#n.fin){this.#s=dr.INFO,this.#i=!0,this.run(e);return}O1(this.ws,this.#n.binaryType,this.consumeFragments()),this.#i=!0,this.#s=dr.INFO,this.run(e)}}),this.#i=!1;break}else{if(!this.writeFragments(r))return;if(this.#c>0&&this.#t>this.#c){Iu(this.ws,1009,new cx().message);return}!this.#n.fragmented&&this.#n.fin&&O1(this.ws,this.#n.binaryType,this.consumeFragments()),this.#s=dr.INFO}}}consume(e){if(e>this.#r)throw new Error("Called consume() before buffers satiated.");if(e===0)return M1;if(this.#e[0].length===e)return this.#r-=this.#e[0].length,this.#e.shift();let r=Buffer.allocUnsafe(e),n=0;for(;n!==e;){let s=this.#e[0],{length:i}=s;if(i+n===e){r.set(this.#e.shift(),n);break}else if(i+n>e){r.set(s.subarray(0,e-n),n),this.#e[0]=s.subarray(e-n);break}else r.set(this.#e.shift(),n),n+=s.length}return this.#r-=e,r}writeFragments(e){return this.#l>0&&this.#o.length===this.#l?(Iu(this.ws,1008,"Too many message fragments"),!1):(this.#t+=e.length,this.#o.push(e),!0)}consumeFragments(){let e=this.#o;if(e.length===1)return this.#t=0,e.shift();let r=Buffer.concat(e,this.#t);return this.#o=[],this.#t=0,r}parseCloseBody(e){Bse(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!bse(r))return{code:1002,reason:"Invalid status code",error:!0};let n=e.subarray(2);n[0]===239&&n[1]===187&&n[2]===191&&(n=n.subarray(3));try{n=Nse(n)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:r,reason:n,error:!1}}parseControlFrame(e){let{opcode:r,payloadLength:n}=this.#n;if(r===Xc.CLOSE){if(n===1)return _r(this.ws,"Received close frame with a 1-byte body."),!1;if(this.#n.closeInfo=this.parseCloseBody(e),this.#n.closeInfo.error){let{code:s,reason:i}=this.#n.closeInfo;return H1(this.ws,s,i,i.length),_r(this.ws,i),!1}if(this.ws[_1]!==L1.SENT){let s=M1;this.#n.closeInfo.code&&(s=Buffer.allocUnsafe(2),s.writeUInt16BE(this.#n.closeInfo.code,0));let i=new q1(s);this.ws[F1].socket.write(i.createFrame(Xc.CLOSE),a=>{a||(this.ws[_1]=L1.SENT)})}return this.ws[xse]=Qse.CLOSING,this.ws[U1]=!0,!1}else if(r===Xc.PING){if(!this.ws[U1]){let s=new q1(e);this.ws[F1].socket.write(s.createFrame(Xc.PONG)),Th.ping.hasSubscribers&&Th.ping.publish({payload:e})}}else r===Xc.PONG&&Th.pong.hasSubscribers&&Th.pong.publish({payload:e});return!0}get closingInfo(){return this.#n.closeInfo}};z1.exports={ByteParser:lx}});var $1=g((xRe,W1)=>{"use strict";var{WebsocketFrameSend:Pse}=Ph(),{opcodes:Y1,sendHints:Zc}=ca(),vse=hB(),V1=Buffer[Symbol.species],Ax=class{static{o(this,"SendQueue")}#e=new vse;#t=!1;#r;constructor(e){this.#r=e}add(e,r,n){if(n!==Zc.blob){let i=J1(e,n);if(!this.#t)this.#r.write(i,r);else{let a={promise:null,callback:r,frame:i};this.#e.push(a)}return}let s={promise:e.arrayBuffer().then(i=>{s.promise=null,s.frame=J1(i,n)}),callback:r,frame:null};this.#e.push(s),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 J1(t,e){return new Pse(Dse(t,e)).createFrame(e===Zc.string?Y1.TEXT:Y1.BINARY)}o(J1,"createFrame");function Dse(t,e){switch(e){case Zc.string:return Buffer.from(t);case Zc.arrayBuffer:case Zc.blob:return new V1(t);case Zc.typedArray:return new V1(t.buffer,t.byteOffset,t.byteLength)}}o(Dse,"toBuffer");W1.exports={SendQueue:Ax}});var iU=g((wRe,sU)=>{"use strict";var{webidl:X}=kt(),{URLSerializer:kse}=ar(),{environmentSettingsObject:j1}=Rr(),{staticPropertyDescriptors:ao,states:Bu,sentCloseFrameState:Tse,sendHints:Mh}=ca(),{kWebSocketURL:K1,kReadyState:ux,kController:X1,kBinaryType:Lh,kResponse:Z1,kSentClose:Mse,kByteParser:Lse}=mu(),{isConnecting:_se,isEstablished:Fse,isClosing:Use,isValidSubprotocol:Ose,fireEvent:eU}=fu(),{establishWebSocketConnection:qse,closeWebSocketConnection:tU}=sx(),{ByteParser:Hse}=G1(),{kEnumerableProperty:ln,isBlobLike:rU}=ce(),{getGlobalDispatcher:zse}=Kp(),{types:nU}=require("node:util"),{ErrorEvent:Gse,CloseEvent:Yse}=$c(),{SendQueue:Vse}=$1(),Fr=class t extends EventTarget{static{o(this,"WebSocket")}#e={open:null,error:null,close:null,message:null};#t=0;#r="";#i="";#s;constructor(e,r=[]){super(),X.util.markAsUncloneable(this);let n="WebSocket constructor";X.argumentLengthCheck(arguments,1,n);let s=X.converters["DOMString or sequence or WebSocketInit"](r,n,"options");e=X.converters.USVString(e,n,"url"),r=s.protocols;let i=j1.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=>Ose(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[K1]=new URL(a.href);let c=j1.settingsObject;this[X1]=qse(a,r,c,this,(l,A)=>this.#n(l,A),s),this[ux]=t.CONNECTING,this[Mse]=Tse.NOT_SENT,this[Lh]="blob"}close(e=void 0,r=void 0){X.brandCheck(this,t);let n="WebSocket.close";if(e!==void 0&&(e=X.converters["unsigned short"](e,n,"code",{clamp:!0})),r!==void 0&&(r=X.converters.USVString(r,n,"reason")),e!==void 0&&e!==1e3&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");let s=0;if(r!==void 0&&(s=Buffer.byteLength(r),s>123))throw new DOMException(`Reason must be less than 123 bytes; received ${s}`,"SyntaxError");tU(this,e,r,s)}send(e){X.brandCheck(this,t);let r="WebSocket.send";if(X.argumentLengthCheck(arguments,1,r),e=X.converters.WebSocketSendData(e,r,"data"),_se(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!Fse(this)||Use(this)))if(typeof e=="string"){let n=Buffer.byteLength(e);this.#t+=n,this.#s.add(e,()=>{this.#t-=n},Mh.string)}else nU.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#s.add(e,()=>{this.#t-=e.byteLength},Mh.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#s.add(e,()=>{this.#t-=e.byteLength},Mh.typedArray)):rU(e)&&(this.#t+=e.size,this.#s.add(e,()=>{this.#t-=e.size},Mh.blob))}get readyState(){return X.brandCheck(this,t),this[ux]}get bufferedAmount(){return X.brandCheck(this,t),this.#t}get url(){return X.brandCheck(this,t),kse(this[K1])}get extensions(){return X.brandCheck(this,t),this.#i}get protocol(){return X.brandCheck(this,t),this.#r}get onopen(){return X.brandCheck(this,t),this.#e.open}set onopen(e){X.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 X.brandCheck(this,t),this.#e.error}set onerror(e){X.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 X.brandCheck(this,t),this.#e.close}set onclose(e){X.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 X.brandCheck(this,t),this.#e.message}set onmessage(e){X.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 X.brandCheck(this,t),this[Lh]}set binaryType(e){X.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[Lh]="blob":this[Lh]=e}#n(e,r){this[Z1]=e;let n=this[X1]?.dispatcher?.webSocketOptions,s=n?.maxFragments,i=n?.maxPayloadSize,a=new Hse(this,r,{maxFragments:s,maxPayloadSize:i});a.on("drain",Jse),a.on("error",Wse.bind(this)),e.socket.ws=this,this[Lse]=a,this.#s=new Vse(e.socket),this[ux]=Bu.OPEN;let c=e.headersList.get("sec-websocket-extensions");c!==null&&(this.#i=c);let l=e.headersList.get("sec-websocket-protocol");l!==null&&(this.#r=l),eU("open",this)}};Fr.CONNECTING=Fr.prototype.CONNECTING=Bu.CONNECTING;Fr.OPEN=Fr.prototype.OPEN=Bu.OPEN;Fr.CLOSING=Fr.prototype.CLOSING=Bu.CLOSING;Fr.CLOSED=Fr.prototype.CLOSED=Bu.CLOSED;Object.defineProperties(Fr.prototype,{CONNECTING:ao,OPEN:ao,CLOSING:ao,CLOSED:ao,url:ln,readyState:ln,bufferedAmount:ln,onopen:ln,onerror:ln,onclose:ln,close:ln,onmessage:ln,binaryType:ln,send:ln,extensions:ln,protocol:ln,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Fr,{CONNECTING:ao,OPEN:ao,CLOSING:ao,CLOSED:ao});X.converters["sequence"]=X.sequenceConverter(X.converters.DOMString);X.converters["DOMString or sequence"]=function(t,e,r){return X.util.Type(t)==="Object"&&Symbol.iterator in t?X.converters["sequence"](t):X.converters.DOMString(t,e,r)};X.converters.WebSocketInit=X.dictionaryConverter([{key:"protocols",converter:X.converters["DOMString or sequence"],defaultValue:o(()=>new Array(0),"defaultValue")},{key:"dispatcher",converter:X.converters.any,defaultValue:o(()=>zse(),"defaultValue")},{key:"headers",converter:X.nullableConverter(X.converters.HeadersInit)}]);X.converters["DOMString or sequence or WebSocketInit"]=function(t){return X.util.Type(t)==="Object"&&!(Symbol.iterator in t)?X.converters.WebSocketInit(t):{protocols:X.converters["DOMString or sequence"](t)}};X.converters.WebSocketSendData=function(t){if(X.util.Type(t)==="Object"){if(rU(t))return X.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||nU.isArrayBuffer(t))return X.converters.BufferSource(t)}return X.converters.USVString(t)};function Jse(){this.ws[Z1].socket.resume()}o(Jse,"onParserDrain");function Wse(t){let e,r;t instanceof Yse?(e=t.reason,r=t.code):e=t.message,eU("error",this,()=>new Gse("error",{error:t,message:e})),tU(this,r)}o(Wse,"onParserError");sU.exports={WebSocket:Fr}});var dx=g((SRe,oU)=>{"use strict";function $se(t){return t.indexOf("\0")===-1}o($se,"isValidLastEventId");function jse(t){if(t.length===0)return!1;for(let e=0;e57)return!1;return!0}o(jse,"isASCIINumber");function Kse(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(Kse,"delay");oU.exports={isValidLastEventId:$se,isASCIINumber:jse,delay:Kse}});var AU=g((PRe,lU)=>{"use strict";var{Transform:Xse}=require("node:stream"),{isASCIINumber:aU,isValidLastEventId:cU}=dx(),fi=[239,187,191],mx=10,_h=13,Zse=58,eie=32,px=class extends Xse{static{o(this,"EventSourceStream")}state=null;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;buffer=null;pos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,r,n){if(e.length===0){n();return}if(this.buffer?this.buffer=Buffer.concat([this.buffer,e]):this.buffer=e,this.checkBOM)switch(this.buffer.length){case 1:if(this.buffer[0]===fi[0]){n();return}this.checkBOM=!1,n();return;case 2:if(this.buffer[0]===fi[0]&&this.buffer[1]===fi[1]){n();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===fi[0]&&this.buffer[1]===fi[1]&&this.buffer[2]===fi[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,n();return}this.checkBOM=!1;break;default:this.buffer[0]===fi[0]&&this.buffer[1]===fi[1]&&this.buffer[2]===fi[2]&&(this.buffer=this.buffer.subarray(3)),this.checkBOM=!1;break}for(;this.pos0&&(r[s]=i);break}}processEvent(e){e.retry&&aU(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&cU(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}}};lU.exports={EventSourceStream:px}});var yU=g((DRe,gU)=>{"use strict";var{pipeline:tie}=require("node:stream"),{fetching:rie}=lu(),{makeRequest:nie}=zc(),{webidl:gi}=kt(),{EventSourceStream:sie}=AU(),{parseMIMEType:iie}=ar(),{createFastMessageEvent:oie}=$c(),{isNetworkError:uU}=au(),{delay:aie}=dx(),{kEnumerableProperty:la}=ce(),{environmentSettingsObject:dU}=Rr(),mU=!1,pU=3e3,Qu=0,hU=1,xu=2,cie="anonymous",lie="use-credentials",el=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#r=!1;#i=Qu;#s=null;#n=null;#o;#a;constructor(e,r={}){super(),gi.util.markAsUncloneable(this);let n="EventSource constructor";gi.argumentLengthCheck(arguments,1,n),mU||(mU=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=gi.converters.USVString(e,n,"url"),r=gi.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:pU};let s=dU,i;try{i=new URL(e,s.settingsObject.baseUrl),this.#a.origin=i.origin}catch(l){throw new DOMException(l,"SyntaxError")}this.#t=i.href;let a=cie;r.withCredentials&&(a=lie,this.#r=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=dU.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#s=nie(c),this.#l()}get readyState(){return this.#i}get url(){return this.#t}get withCredentials(){return this.#r}#l(){if(this.#i===xu)return;this.#i=Qu;let e={request:this.#s,dispatcher:this.#o},r=o(n=>{uU(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#c()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=n=>{if(uU(n))if(n.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#c();return}let s=n.headersList.get("content-type",!0),i=s!==null?iie(s):"failure",a=i!=="failure"&&i.essence==="text/event-stream";if(n.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#i=hU,this.dispatchEvent(new Event("open")),this.#a.origin=n.urlList[n.urlList.length-1].origin;let c=new sie({eventSourceSettings:this.#a,push:o(l=>{this.dispatchEvent(oie(l.type,l.options))},"push")});tie(n.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#n=rie(e)}async#c(){this.#i!==xu&&(this.#i=Qu,this.dispatchEvent(new Event("error")),await aie(this.#a.reconnectionTime),this.#i===Qu&&(this.#a.lastEventId.length&&this.#s.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#l()))}close(){gi.brandCheck(this,t),this.#i!==xu&&(this.#i=xu,this.#n.abort(),this.#s=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}},fU={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:Qu,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:hU,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:xu,writable:!1}};Object.defineProperties(el,fU);Object.defineProperties(el.prototype,fU);Object.defineProperties(el.prototype,{close:la,onerror:la,onmessage:la,onopen:la,readyState:la,url:la,withCredentials:la});gi.converters.EventSourceInitDict=gi.dictionaryConverter([{key:"withCredentials",converter:gi.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"dispatcher",converter:gi.converters.any}]);gU.exports={EventSource:el,defaultReconnectionTime:pU}});var hx=g((TRe,K)=>{"use strict";var Aie=Nc(),EU=SA(),uie=Sc(),die=fL(),mie=Rc(),pie=MB(),hie=OL(),fie=JL(),CU=ye(),Uh=ce(),{InvalidArgumentError:Fh}=CU,tl=k_(),gie=PA(),yie=fQ(),Eie=h2(),Cie=EQ(),Iie=nQ(),Bie=qp(),{getGlobalDispatcher:IU,setGlobalDispatcher:Qie}=Kp(),xie=Xp(),bie=Pp(),wie=vp();Object.assign(EU.prototype,tl);K.exports.Dispatcher=EU;K.exports.Client=Aie;K.exports.Pool=uie;K.exports.BalancedPool=die;K.exports.Agent=mie;K.exports.ProxyAgent=pie;K.exports.EnvHttpProxyAgent=hie;K.exports.RetryAgent=fie;K.exports.RetryHandler=Bie;K.exports.DecoratorHandler=xie;K.exports.RedirectHandler=bie;K.exports.createRedirectInterceptor=wie;K.exports.interceptors={redirect:B2(),retry:x2(),dump:w2(),dns:R2()};K.exports.buildConnector=gie;K.exports.errors=CU;K.exports.util={parseHeaders:Uh.parseHeaders,headerNameToString:Uh.headerNameToString};function bu(t){return(e,r,n)=>{if(typeof r=="function"&&(n=r,r=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new Fh("invalid url");if(r!=null&&typeof r!="object")throw new Fh("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new Fh("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(Uh.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=Uh.parseURL(e);let{agent:s,dispatcher:i=IU()}=r;if(s)throw new Fh("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")},n)}}o(bu,"makeDispatcher");K.exports.setGlobalDispatcher=Qie;K.exports.getGlobalDispatcher=IU;var Nie=lu().fetch;K.exports.fetch=o(async function(e,r=void 0){try{return await Nie(e,r)}catch(n){throw n&&typeof n=="object"&&Error.captureStackTrace(n),n}},"fetch");K.exports.Headers=ra().Headers;K.exports.Response=au().Response;K.exports.Request=zc().Request;K.exports.FormData=_A().FormData;K.exports.File=globalThis.File??require("node:buffer").File;K.exports.FileReader=YF().FileReader;var{setGlobalOrigin:Sie,getGlobalOrigin:Rie}=LI();K.exports.setGlobalOrigin=Sie;K.exports.getGlobalOrigin=Rie;var{CacheStorage:Pie}=e1(),{kConstruct:vie}=Eh();K.exports.caches=new Pie(vie);var{deleteCookie:Die,getCookies:kie,getSetCookies:Tie,setCookie:Mie}=u1();K.exports.deleteCookie=Die;K.exports.getCookies=kie;K.exports.getSetCookies=Tie;K.exports.setCookie=Mie;var{parseMIMEType:Lie,serializeAMimeType:_ie}=ar();K.exports.parseMIMEType=Lie;K.exports.serializeAMimeType=_ie;var{CloseEvent:Fie,ErrorEvent:Uie,MessageEvent:Oie}=$c();K.exports.WebSocket=iU().WebSocket;K.exports.CloseEvent=Fie;K.exports.ErrorEvent=Uie;K.exports.MessageEvent=Oie;K.exports.request=bu(tl.request);K.exports.stream=bu(tl.stream);K.exports.pipeline=bu(tl.pipeline);K.exports.connect=bu(tl.connect);K.exports.upgrade=bu(tl.upgrade);K.exports.MockClient=yie;K.exports.MockPool=Cie;K.exports.MockAgent=Eie;K.exports.mockErrors=Iie;var{EventSource:qie}=yU();K.exports.EventSource=qie});var ku=g((lve,eO)=>{"use strict";var coe="2.0.0",loe=Number.MAX_SAFE_INTEGER||9007199254740991,Aoe=16,uoe=250,doe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];eO.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Aoe,MAX_SAFE_BUILD_LENGTH:uoe,MAX_SAFE_INTEGER:loe,RELEASE_TYPES:doe,SEMVER_SPEC_VERSION:coe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Tu=g((Ave,tO)=>{"use strict";var moe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};tO.exports=moe});var al=g((fs,rO)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Lx,MAX_SAFE_BUILD_LENGTH:poe,MAX_LENGTH:hoe}=ku(),foe=Tu();fs=rO.exports={};var goe=fs.re=[],yoe=fs.safeRe=[],T=fs.src=[],Eoe=fs.safeSrc=[],M=fs.t={},Coe=0,_x="[a-zA-Z0-9-]",Ioe=[["\\s",1],["\\d",hoe],[_x,poe]],Boe=o(t=>{for(let[e,r]of Ioe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),te=o((t,e,r)=>{let n=Boe(e),s=Coe++;foe(t,s,e),M[t]=s,T[s]=e,Eoe[s]=n,goe[s]=new RegExp(e,r?"g":void 0),yoe[s]=new RegExp(n,r?"g":void 0)},"createToken");te("NUMERICIDENTIFIER","0|[1-9]\\d*");te("NUMERICIDENTIFIERLOOSE","\\d+");te("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${_x}*`);te("MAINVERSION",`(${T[M.NUMERICIDENTIFIER]})\\.(${T[M.NUMERICIDENTIFIER]})\\.(${T[M.NUMERICIDENTIFIER]})`);te("MAINVERSIONLOOSE",`(${T[M.NUMERICIDENTIFIERLOOSE]})\\.(${T[M.NUMERICIDENTIFIERLOOSE]})\\.(${T[M.NUMERICIDENTIFIERLOOSE]})`);te("PRERELEASEIDENTIFIER",`(?:${T[M.NONNUMERICIDENTIFIER]}|${T[M.NUMERICIDENTIFIER]})`);te("PRERELEASEIDENTIFIERLOOSE",`(?:${T[M.NONNUMERICIDENTIFIER]}|${T[M.NUMERICIDENTIFIERLOOSE]})`);te("PRERELEASE",`(?:-(${T[M.PRERELEASEIDENTIFIER]}(?:\\.${T[M.PRERELEASEIDENTIFIER]})*))`);te("PRERELEASELOOSE",`(?:-?(${T[M.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${T[M.PRERELEASEIDENTIFIERLOOSE]})*))`);te("BUILDIDENTIFIER",`${_x}+`);te("BUILD",`(?:\\+(${T[M.BUILDIDENTIFIER]}(?:\\.${T[M.BUILDIDENTIFIER]})*))`);te("FULLPLAIN",`v?${T[M.MAINVERSION]}${T[M.PRERELEASE]}?${T[M.BUILD]}?`);te("FULL",`^${T[M.FULLPLAIN]}$`);te("LOOSEPLAIN",`[v=\\s]*${T[M.MAINVERSIONLOOSE]}${T[M.PRERELEASELOOSE]}?${T[M.BUILD]}?`);te("LOOSE",`^${T[M.LOOSEPLAIN]}$`);te("GTLT","((?:<|>)?=?)");te("XRANGEIDENTIFIERLOOSE",`${T[M.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);te("XRANGEIDENTIFIER",`${T[M.NUMERICIDENTIFIER]}|x|X|\\*`);te("XRANGEPLAIN",`[v=\\s]*(${T[M.XRANGEIDENTIFIER]})(?:\\.(${T[M.XRANGEIDENTIFIER]})(?:\\.(${T[M.XRANGEIDENTIFIER]})(?:${T[M.PRERELEASE]})?${T[M.BUILD]}?)?)?`);te("XRANGEPLAINLOOSE",`[v=\\s]*(${T[M.XRANGEIDENTIFIERLOOSE]})(?:\\.(${T[M.XRANGEIDENTIFIERLOOSE]})(?:\\.(${T[M.XRANGEIDENTIFIERLOOSE]})(?:${T[M.PRERELEASELOOSE]})?${T[M.BUILD]}?)?)?`);te("XRANGE",`^${T[M.GTLT]}\\s*${T[M.XRANGEPLAIN]}$`);te("XRANGELOOSE",`^${T[M.GTLT]}\\s*${T[M.XRANGEPLAINLOOSE]}$`);te("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Lx}})(?:\\.(\\d{1,${Lx}}))?(?:\\.(\\d{1,${Lx}}))?`);te("COERCE",`${T[M.COERCEPLAIN]}(?:$|[^\\d])`);te("COERCEFULL",T[M.COERCEPLAIN]+`(?:${T[M.PRERELEASE]})?(?:${T[M.BUILD]})?(?:$|[^\\d])`);te("COERCERTL",T[M.COERCE],!0);te("COERCERTLFULL",T[M.COERCEFULL],!0);te("LONETILDE","(?:~>?)");te("TILDETRIM",`(\\s*)${T[M.LONETILDE]}\\s+`,!0);fs.tildeTrimReplace="$1~";te("TILDE",`^${T[M.LONETILDE]}${T[M.XRANGEPLAIN]}$`);te("TILDELOOSE",`^${T[M.LONETILDE]}${T[M.XRANGEPLAINLOOSE]}$`);te("LONECARET","(?:\\^)");te("CARETTRIM",`(\\s*)${T[M.LONECARET]}\\s+`,!0);fs.caretTrimReplace="$1^";te("CARET",`^${T[M.LONECARET]}${T[M.XRANGEPLAIN]}$`);te("CARETLOOSE",`^${T[M.LONECARET]}${T[M.XRANGEPLAINLOOSE]}$`);te("COMPARATORLOOSE",`^${T[M.GTLT]}\\s*(${T[M.LOOSEPLAIN]})$|^$`);te("COMPARATOR",`^${T[M.GTLT]}\\s*(${T[M.FULLPLAIN]})$|^$`);te("COMPARATORTRIM",`(\\s*)${T[M.GTLT]}\\s*(${T[M.LOOSEPLAIN]}|${T[M.XRANGEPLAIN]})`,!0);fs.comparatorTrimReplace="$1$2$3";te("HYPHENRANGE",`^\\s*(${T[M.XRANGEPLAIN]})\\s+-\\s+(${T[M.XRANGEPLAIN]})\\s*$`);te("HYPHENRANGELOOSE",`^\\s*(${T[M.XRANGEPLAINLOOSE]})\\s+-\\s+(${T[M.XRANGEPLAINLOOSE]})\\s*$`);te("STAR","(<|>)?=?\\s*\\*");te("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");te("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Vh=g((dve,nO)=>{"use strict";var Qoe=Object.freeze({loose:!0}),xoe=Object.freeze({}),boe=o(t=>t?typeof t!="object"?Qoe:t:xoe,"parseOptions");nO.exports=boe});var Fx=g((pve,oO)=>{"use strict";var sO=/^[0-9]+$/,iO=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tiO(e,t),"rcompareIdentifiers");oO.exports={compareIdentifiers:iO,rcompareIdentifiers:woe}});var Ut=g((fve,cO)=>{"use strict";var Jh=Tu(),{MAX_LENGTH:aO,MAX_SAFE_INTEGER:Wh}=ku(),{safeRe:$h,t:jh}=al(),Noe=Vh(),{compareIdentifiers:Ux}=Fx(),Ox=class t{static{o(this,"SemVer")}constructor(e,r){if(r=Noe(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>aO)throw new TypeError(`version is longer than ${aO} characters`);Jh("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?$h[jh.LOOSE]:$h[jh.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Wh||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Wh||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Wh||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){let i=+s;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 n=this.prerelease[r],s=e.prerelease[r];if(Jh("prerelease compare",r,n,s),n===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(n===void 0)return-1;if(n===s)continue;return Ux(n,s)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let n=this.build[r],s=e.build[r];if(Jh("build compare",r,n,s),n===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(n===void 0)return-1;if(n===s)continue;return Ux(n,s)}while(++r)}inc(e,r,n){if(e.startsWith("pre")){if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let s=`-${r}`.match(this.options.loose?$h[jh.PRERELEASELOOSE]:$h[jh.PRERELEASE]);if(!s||s[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,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);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 s=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[s];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(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(r){let i=[r,s];n===!1&&(i=[r]),Ux(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}};cO.exports=Ox});var pa=g((yve,AO)=>{"use strict";var lO=Ut(),Soe=o((t,e,r=!1)=>{if(t instanceof lO)return t;try{return new lO(t,e)}catch(n){if(!r)return null;throw n}},"parse");AO.exports=Soe});var dO=g((Cve,uO)=>{"use strict";var Roe=pa(),Poe=o((t,e)=>{let r=Roe(t,e);return r?r.version:null},"valid");uO.exports=Poe});var pO=g((Bve,mO)=>{"use strict";var voe=pa(),Doe=o((t,e)=>{let r=voe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");mO.exports=Doe});var gO=g((xve,fO)=>{"use strict";var hO=Ut(),koe=o((t,e,r,n,s)=>{typeof r=="string"&&(s=n,n=r,r=void 0);try{return new hO(t instanceof hO?t.version:t,r).inc(e,n,s).version}catch{return null}},"inc");fO.exports=koe});var CO=g((wve,EO)=>{"use strict";var yO=pa(),Toe=o((t,e)=>{let r=yO(t,null,!0),n=yO(e,null,!0),s=r.compare(n);if(s===0)return null;let i=s>0,a=i?r:n,c=i?n: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 u=l?"pre":"";return r.major!==n.major?u+"major":r.minor!==n.minor?u+"minor":r.patch!==n.patch?u+"patch":"prerelease"},"diff");EO.exports=Toe});var BO=g((Sve,IO)=>{"use strict";var Moe=Ut(),Loe=o((t,e)=>new Moe(t,e).major,"major");IO.exports=Loe});var xO=g((Pve,QO)=>{"use strict";var _oe=Ut(),Foe=o((t,e)=>new _oe(t,e).minor,"minor");QO.exports=Foe});var wO=g((Dve,bO)=>{"use strict";var Uoe=Ut(),Ooe=o((t,e)=>new Uoe(t,e).patch,"patch");bO.exports=Ooe});var SO=g((Tve,NO)=>{"use strict";var qoe=pa(),Hoe=o((t,e)=>{let r=qoe(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");NO.exports=Hoe});var An=g((Lve,PO)=>{"use strict";var RO=Ut(),zoe=o((t,e,r)=>new RO(t,r).compare(new RO(e,r)),"compare");PO.exports=zoe});var DO=g((Fve,vO)=>{"use strict";var Goe=An(),Yoe=o((t,e,r)=>Goe(e,t,r),"rcompare");vO.exports=Yoe});var TO=g((Ove,kO)=>{"use strict";var Voe=An(),Joe=o((t,e)=>Voe(t,e,!0),"compareLoose");kO.exports=Joe});var Kh=g((Hve,LO)=>{"use strict";var MO=Ut(),Woe=o((t,e,r)=>{let n=new MO(t,r),s=new MO(e,r);return n.compare(s)||n.compareBuild(s)},"compareBuild");LO.exports=Woe});var FO=g((Gve,_O)=>{"use strict";var $oe=Kh(),joe=o((t,e)=>t.sort((r,n)=>$oe(r,n,e)),"sort");_O.exports=joe});var OO=g((Vve,UO)=>{"use strict";var Koe=Kh(),Xoe=o((t,e)=>t.sort((r,n)=>Koe(n,r,e)),"rsort");UO.exports=Xoe});var Mu=g((Wve,qO)=>{"use strict";var Zoe=An(),eae=o((t,e,r)=>Zoe(t,e,r)>0,"gt");qO.exports=eae});var Xh=g((jve,HO)=>{"use strict";var tae=An(),rae=o((t,e,r)=>tae(t,e,r)<0,"lt");HO.exports=rae});var qx=g((Xve,zO)=>{"use strict";var nae=An(),sae=o((t,e,r)=>nae(t,e,r)===0,"eq");zO.exports=sae});var Hx=g((eDe,GO)=>{"use strict";var iae=An(),oae=o((t,e,r)=>iae(t,e,r)!==0,"neq");GO.exports=oae});var Zh=g((rDe,YO)=>{"use strict";var aae=An(),cae=o((t,e,r)=>aae(t,e,r)>=0,"gte");YO.exports=cae});var ef=g((sDe,VO)=>{"use strict";var lae=An(),Aae=o((t,e,r)=>lae(t,e,r)<=0,"lte");VO.exports=Aae});var zx=g((oDe,JO)=>{"use strict";var uae=qx(),dae=Hx(),mae=Mu(),pae=Zh(),hae=Xh(),fae=ef(),gae=o((t,e,r,n)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return uae(t,r,n);case"!=":return dae(t,r,n);case">":return mae(t,r,n);case">=":return pae(t,r,n);case"<":return hae(t,r,n);case"<=":return fae(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");JO.exports=gae});var $O=g((cDe,WO)=>{"use strict";var yae=Ut(),Eae=pa(),{safeRe:tf,t:rf}=al(),Cae=o((t,e)=>{if(t instanceof yae)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?tf[rf.COERCEFULL]:tf[rf.COERCE]);else{let l=e.includePrerelease?tf[rf.COERCERTLFULL]:tf[rf.COERCERTL],A;for(;(A=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||A.index+A[0].length!==r.index+r[0].length)&&(r=A),l.lastIndex=A.index+A[1].length+A[2].length;l.lastIndex=-1}if(r===null)return null;let n=r[2],s=r[3]||"0",i=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return Eae(`${n}.${s}.${i}${a}${c}`,e)},"coerce");WO.exports=Cae});var KO=g((ADe,jO)=>{"use strict";var Gx=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 s=this.map.keys().next().value;this.delete(s)}this.map.set(e,r)}return this}};jO.exports=Gx});var un=g((dDe,tq)=>{"use strict";var Iae=/\s+/g,Yx=class t{static{o(this,"Range")}constructor(e,r){if(r=Qae(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof Vx)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(Iae," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(s=>!ZO(s[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let s of this.set)if(s.length===1&&Pae(s[0])){this.set=[s];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 n=0;n0&&(this.formatted+=" "),this.formatted+=r[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let n=((this.options.includePrerelease&&Sae)|(this.options.loose&&Rae))+":"+e,s=XO.get(n);if(s)return s;let i=this.options.loose,a=i?jt[Ot.HYPHENRANGELOOSE]:jt[Ot.HYPHENRANGE];e=e.replace(a,Oae(this.options.includePrerelease)),_e("hyphen replace",e),e=e.replace(jt[Ot.COMPARATORTRIM],bae),_e("comparator trim",e),e=e.replace(jt[Ot.TILDETRIM],wae),_e("tilde trim",e),e=e.replace(jt[Ot.CARETTRIM],Nae),_e("caret trim",e);let c=e.split(" ").map(d=>vae(d,this.options)).join(" ").split(/\s+/).map(d=>Uae(d,this.options));i&&(c=c.filter(d=>(_e("loose invalid filter",d,this.options),!!d.match(jt[Ot.COMPARATORLOOSE])))),_e("range list",c);let l=new Map,A=c.map(d=>new Vx(d,this.options));for(let d of A){if(ZO(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let u=[...l.values()];return XO.set(n,u),u}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>eq(n,r)&&e.set.some(s=>eq(s,r)&&n.every(i=>s.every(a=>i.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new xae(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),Pae=o(t=>t.value==="","isAny"),eq=o((t,e)=>{let r=!0,n=t.slice(),s=n.pop();for(;r&&n.length;)r=n.every(i=>s.intersects(i,e)),s=n.pop();return r},"isSatisfiable"),vae=o((t,e)=>(t=t.replace(jt[Ot.BUILD],""),_e("comp",t,e),t=Tae(t,e),_e("caret",t),t=Dae(t,e),_e("tildes",t),t=Lae(t,e),_e("xrange",t),t=Fae(t,e),_e("stars",t),t),"parseComparator"),Kt=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),Dae=o((t,e)=>t.trim().split(/\s+/).map(r=>kae(r,e)).join(" "),"replaceTildes"),kae=o((t,e)=>{let r=e.loose?jt[Ot.TILDELOOSE]:jt[Ot.TILDE];return t.replace(r,(n,s,i,a,c)=>{_e("tilde",t,n,s,i,a,c);let l;return Kt(s)?l="":Kt(i)?l=`>=${s}.0.0 <${+s+1}.0.0-0`:Kt(a)?l=`>=${s}.${i}.0 <${s}.${+i+1}.0-0`:c?(_e("replaceTilde pr",c),l=`>=${s}.${i}.${a}-${c} <${s}.${+i+1}.0-0`):l=`>=${s}.${i}.${a} <${s}.${+i+1}.0-0`,_e("tilde return",l),l})},"replaceTilde"),Tae=o((t,e)=>t.trim().split(/\s+/).map(r=>Mae(r,e)).join(" "),"replaceCarets"),Mae=o((t,e)=>{_e("caret",t,e);let r=e.loose?jt[Ot.CARETLOOSE]:jt[Ot.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(s,i,a,c,l)=>{_e("caret",t,s,i,a,c,l);let A;return Kt(i)?A="":Kt(a)?A=`>=${i}.0.0${n} <${+i+1}.0.0-0`:Kt(c)?i==="0"?A=`>=${i}.${a}.0${n} <${i}.${+a+1}.0-0`:A=`>=${i}.${a}.0${n} <${+i+1}.0.0-0`:l?(_e("replaceCaret pr",l),i==="0"?a==="0"?A=`>=${i}.${a}.${c}-${l} <${i}.${a}.${+c+1}-0`:A=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`:A=`>=${i}.${a}.${c}-${l} <${+i+1}.0.0-0`):(_e("no pr"),i==="0"?a==="0"?A=`>=${i}.${a}.${c}${n} <${i}.${a}.${+c+1}-0`:A=`>=${i}.${a}.${c}${n} <${i}.${+a+1}.0-0`:A=`>=${i}.${a}.${c} <${+i+1}.0.0-0`),_e("caret return",A),A})},"replaceCaret"),Lae=o((t,e)=>(_e("replaceXRanges",t,e),t.split(/\s+/).map(r=>_ae(r,e)).join(" ")),"replaceXRanges"),_ae=o((t,e)=>{t=t.trim();let r=e.loose?jt[Ot.XRANGELOOSE]:jt[Ot.XRANGE];return t.replace(r,(n,s,i,a,c,l)=>{_e("xRange",t,n,s,i,a,c,l);let A=Kt(i),u=A||Kt(a),d=u||Kt(c),m=d;return s==="="&&m&&(s=""),l=e.includePrerelease?"-0":"",A?s===">"||s==="<"?n="<0.0.0-0":n="*":s&&m?(u&&(a=0),c=0,s===">"?(s=">=",u?(i=+i+1,a=0,c=0):(a=+a+1,c=0)):s==="<="&&(s="<",u?i=+i+1:a=+a+1),s==="<"&&(l="-0"),n=`${s+i}.${a}.${c}${l}`):u?n=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),_e("xRange return",n),n})},"replaceXRange"),Fae=o((t,e)=>(_e("replaceStars",t,e),t.trim().replace(jt[Ot.STAR],"")),"replaceStars"),Uae=o((t,e)=>(_e("replaceGTE0",t,e),t.trim().replace(jt[e.includePrerelease?Ot.GTE0PRE:Ot.GTE0],"")),"replaceGTE0"),Oae=o(t=>(e,r,n,s,i,a,c,l,A,u,d,m)=>(Kt(n)?r="":Kt(s)?r=`>=${n}.0.0${t?"-0":""}`:Kt(i)?r=`>=${n}.${s}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Kt(A)?l="":Kt(u)?l=`<${+A+1}.0.0-0`:Kt(d)?l=`<${A}.${+u+1}.0-0`:m?l=`<=${A}.${u}.${d}-${m}`:t?l=`<${A}.${u}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),qae=o((t,e,r)=>{for(let n=0;n0){let s=t[n].semver;if(s.major===e.major&&s.minor===e.minor&&s.patch===e.patch)return!0}return!1}return!0},"testSet")});var Lu=g((pDe,aq)=>{"use strict";var _u=Symbol("SemVer ANY"),$x=class t{static{o(this,"Comparator")}static get ANY(){return _u}constructor(e,r){if(r=rq(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Wx("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===_u?this.value="":this.value=this.operator+this.semver.version,Wx("comp",this)}parse(e){let r=this.options.loose?nq[sq.COMPARATORLOOSE]:nq[sq.COMPARATOR],n=e.match(r);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new iq(n[2],this.options.loose):this.semver=_u}toString(){return this.value}test(e){if(Wx("Comparator.test",e,this.options.loose),this.semver===_u||e===_u)return!0;if(typeof e=="string")try{e=new iq(e,this.options)}catch{return!1}return Jx(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 oq(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new oq(this.value,r).test(e.semver):(r=rq(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("=")||Jx(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Jx(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};aq.exports=$x;var rq=Vh(),{safeRe:nq,t:sq}=al(),Jx=zx(),Wx=Tu(),iq=Ut(),oq=un()});var Fu=g((fDe,cq)=>{"use strict";var Hae=un(),zae=o((t,e,r)=>{try{e=new Hae(e,r)}catch{return!1}return e.test(t)},"satisfies");cq.exports=zae});var Aq=g((yDe,lq)=>{"use strict";var Gae=un(),Yae=o((t,e)=>new Gae(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");lq.exports=Yae});var dq=g((CDe,uq)=>{"use strict";var Vae=Ut(),Jae=un(),Wae=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new Jae(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===-1)&&(n=a,s=new Vae(n,r))}),n},"maxSatisfying");uq.exports=Wae});var pq=g((BDe,mq)=>{"use strict";var $ae=Ut(),jae=un(),Kae=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new jae(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===1)&&(n=a,s=new $ae(n,r))}),n},"minSatisfying");mq.exports=Kae});var gq=g((xDe,fq)=>{"use strict";var jx=Ut(),Xae=un(),hq=Mu(),Zae=o((t,e)=>{t=new Xae(t,e);let r=new jx("0.0.0");if(t.test(r)||(r=new jx("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n{let c=new jx(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||hq(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||hq(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");fq.exports=Zae});var Eq=g((wDe,yq)=>{"use strict";var ece=un(),tce=o((t,e)=>{try{return new ece(t,e).range||"*"}catch{return null}},"validRange");yq.exports=tce});var nf=g((SDe,Qq)=>{"use strict";var rce=Ut(),Bq=Lu(),{ANY:nce}=Bq,sce=un(),ice=Fu(),Cq=Mu(),Iq=Xh(),oce=ef(),ace=Zh(),cce=o((t,e,r,n)=>{t=new rce(t,n),e=new sce(e,n);let s,i,a,c,l;switch(r){case">":s=Cq,i=oce,a=Iq,c=">",l=">=";break;case"<":s=Iq,i=ace,a=Cq,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(ice(t,e,n))return!1;for(let A=0;A{p.semver===nce&&(p=new Bq(">=0.0.0")),d=d||p,m=m||p,s(p.semver,d.semver,n)?d=p:a(p.semver,m.semver,n)&&(m=p)}),d.operator===c||d.operator===l||(!m.operator||m.operator===c)&&i(t,m.semver))return!1;if(m.operator===l&&a(t,m.semver))return!1}return!0},"outside");Qq.exports=cce});var bq=g((PDe,xq)=>{"use strict";var lce=nf(),Ace=o((t,e,r)=>lce(t,e,">",r),"gtr");xq.exports=Ace});var Nq=g((DDe,wq)=>{"use strict";var uce=nf(),dce=o((t,e,r)=>uce(t,e,"<",r),"ltr");wq.exports=dce});var Pq=g((TDe,Rq)=>{"use strict";var Sq=un(),mce=o((t,e,r)=>(t=new Sq(t,r),e=new Sq(e,r),t.intersects(e,r)),"intersects");Rq.exports=mce});var Dq=g((LDe,vq)=>{"use strict";var pce=Fu(),hce=An();vq.exports=(t,e,r)=>{let n=[],s=null,i=null,a=t.sort((u,d)=>hce(u,d,r));for(let u of a)pce(u,e,r)?(i=u,s||(s=u)):(i&&n.push([s,i]),i=null,s=null);s&&n.push([s,null]);let c=[];for(let[u,d]of n)u===d?c.push(u):!d&&u===a[0]?c.push("*"):d?u===a[0]?c.push(`<=${d}`):c.push(`${u} - ${d}`):c.push(`>=${u}`);let l=c.join(" || "),A=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var kq=un(),Xx=Lu(),{ANY:Kx}=Xx,Uu=Fu(),Zx=An(),fce=o((t,e,r={})=>{if(t===e)return!0;t=new kq(t,r),e=new kq(e,r);let n=!1;e:for(let s of t.set){for(let i of e.set){let a=yce(s,i,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),gce=[new Xx(">=0.0.0-0")],Tq=[new Xx(">=0.0.0")],yce=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===Kx){if(e.length===1&&e[0].semver===Kx)return!0;r.includePrerelease?t=gce:t=Tq}if(e.length===1&&e[0].semver===Kx){if(r.includePrerelease)return!0;e=Tq}let n=new Set,s,i;for(let p of t)p.operator===">"||p.operator===">="?s=Mq(s,p,r):p.operator==="<"||p.operator==="<="?i=Lq(i,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(s&&i){if(a=Zx(s.semver,i.semver,r),a>0)return null;if(a===0&&(s.operator!==">="||i.operator!=="<="))return null}for(let p of n){if(s&&!Uu(p,String(s),r)||i&&!Uu(p,String(i),r))return null;for(let h of e)if(!Uu(p,String(h),r))return!1;return!0}let c,l,A,u,d=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,m=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1;d&&d.prerelease.length===1&&i.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let p of e){if(u=u||p.operator===">"||p.operator===">=",A=A||p.operator==="<"||p.operator==="<=",s){if(m&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===m.major&&p.semver.minor===m.minor&&p.semver.patch===m.patch&&(m=!1),p.operator===">"||p.operator===">="){if(c=Mq(s,p,r),c===p&&c!==s)return!1}else if(s.operator===">="&&!Uu(s.semver,String(p),r))return!1}if(i){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator==="<"||p.operator==="<="){if(l=Lq(i,p,r),l===p&&l!==i)return!1}else if(i.operator==="<="&&!Uu(i.semver,String(p),r))return!1}if(!p.operator&&(i||s)&&a!==0)return!1}return!(s&&A&&!i&&a!==0||i&&u&&!s&&a!==0||m||d)},"simpleSubset"),Mq=o((t,e,r)=>{if(!t)return e;let n=Zx(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),Lq=o((t,e,r)=>{if(!t)return e;let n=Zx(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");_q.exports=fce});var tb=g((UDe,qq)=>{"use strict";var eb=al(),Uq=ku(),Ece=Ut(),Oq=Fx(),Cce=pa(),Ice=dO(),Bce=pO(),Qce=gO(),xce=CO(),bce=BO(),wce=xO(),Nce=wO(),Sce=SO(),Rce=An(),Pce=DO(),vce=TO(),Dce=Kh(),kce=FO(),Tce=OO(),Mce=Mu(),Lce=Xh(),_ce=qx(),Fce=Hx(),Uce=Zh(),Oce=ef(),qce=zx(),Hce=$O(),zce=Lu(),Gce=un(),Yce=Fu(),Vce=Aq(),Jce=dq(),Wce=pq(),$ce=gq(),jce=Eq(),Kce=nf(),Xce=bq(),Zce=Nq(),ele=Pq(),tle=Dq(),rle=Fq();qq.exports={parse:Cce,valid:Ice,clean:Bce,inc:Qce,diff:xce,major:bce,minor:wce,patch:Nce,prerelease:Sce,compare:Rce,rcompare:Pce,compareLoose:vce,compareBuild:Dce,sort:kce,rsort:Tce,gt:Mce,lt:Lce,eq:_ce,neq:Fce,gte:Uce,lte:Oce,cmp:qce,coerce:Hce,Comparator:zce,Range:Gce,satisfies:Yce,toComparators:Vce,maxSatisfying:Jce,minSatisfying:Wce,minVersion:$ce,validRange:jce,outside:Kce,gtr:Xce,ltr:Zce,intersects:ele,simplifyRange:tle,subset:rle,SemVer:Ece,re:eb.re,src:eb.src,tokens:eb.t,SEMVER_SPEC_VERSION:Uq.SEMVER_SPEC_VERSION,RELEASE_TYPES:Uq.RELEASE_TYPES,compareIdentifiers:Oq.compareIdentifiers,rcompareIdentifiers:Oq.rcompareIdentifiers}});var rH=g((Gke,tH)=>{tH.exports=function(t,e){for(var r=[],n=0;n{"use strict";oH.exports=sH;function sH(t,e,r){t instanceof RegExp&&(t=nH(t,r)),e instanceof RegExp&&(e=nH(e,r));var n=iH(t,e,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+t.length,n[1]),post:r.slice(n[1]+e.length)}}o(sH,"balanced");function nH(t,e){var r=e.match(t);return r?r[0]:null}o(nH,"maybeMatch");sH.range=iH;function iH(t,e,r){var n,s,i,a,c,l=r.indexOf(t),A=r.indexOf(e,l+1),u=l;if(l>=0&&A>0){if(t===e)return[l,A];for(n=[],i=r.length;u>=0&&!c;)u==l?(n.push(u),l=r.indexOf(t,u+1)):n.length==1?c=[n.pop(),A]:(s=n.pop(),s=0?l:A;n.length&&(c=[i,a])}return c}o(iH,"range")});var hH=g((Wke,pH)=>{var Jke=rH(),cH=aH();pH.exports=Qle;var lH="\0SLASH"+Math.random()+"\0",AH="\0OPEN"+Math.random()+"\0",mb="\0CLOSE"+Math.random()+"\0",uH="\0COMMA"+Math.random()+"\0",dH="\0PERIOD"+Math.random()+"\0",Ele=1e5,Cle=4e6;function ub(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(ub,"numeric");function Ile(t){return t.split("\\\\").join(lH).split("\\{").join(AH).split("\\}").join(mb).split("\\,").join(uH).split("\\.").join(dH)}o(Ile,"escapeBraces");function Ble(t){return t.split(lH).join("\\").split(AH).join("{").split(mb).join("}").split(uH).join(",").split(dH).join(".")}o(Ble,"unescapeBraces");function mH(t){if(!t)return[""];var e=[],r=cH("{","}",t);if(!r)return t.split(",");var n=r.pre,s=r.body,i=r.post,a=n.split(",");a[a.length-1]+="{"+s+"}";var c=mH(i);return i.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(mH,"parseCommaParts");function Qle(t,e){if(!t)return[];e=e||{};var r=e.max==null?Ele:e.max,n=e.maxLength==null?Cle:e.maxLength;return t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),db(Ile(t),r,n,!0).map(Ble)}o(Qle,"expandTop");function xle(t){return"{"+t+"}"}o(xle,"embrace");function ble(t){return/^-?0\d/.test(t)}o(ble,"isPadded");function wle(t,e){return t<=e}o(wle,"lte");function Nle(t,e){return t>=e}o(Nle,"gte");function Gu(t,e,r,n,s,i,a,c){for(var l=[],A=0,u=0;u=s)return l;var m=t[u]+r+n[d];if(!(a&&m.length===e[u])){if(A+m.length>i)return l;l.push(m),c.push(e[u]),A+=m.length}}return l}o(Gu,"combine");function Sle(t,e,r,n){var s=t.split(/\.\./),i=[];if(s[0]===void 0||s[1]===void 0)return i;var a=ub(s[0]),c=ub(s[1]),l=Math.max(s[0].length,s[1].length),A=s.length===3&&s[2]!==void 0?Math.max(Math.abs(ub(s[2])),1):1,u=wle,d=c0){var y=new Array(C+1).join("0");h<0?f="-"+y+f.slice(1):f=y+f}}if(p+f.length>n)break;i.push(f),p+=f.length}return i}o(Sle,"expandSequence");function db(t,e,r,n){for(var s=[""],i=[0],a=!1,c=!0,l;;){var A=cH("{","}",t);if(!A)return Gu(s,i,t,[""],e,r,a,[]);var u=A.pre;if(/\$$/.test(u))return Gu(s,i,t,[""],e,r,a,[]);var d=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(A.body),m=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(A.body),p=d||m,h=A.body.indexOf(",")>=0;if(!p&&!h){if(A.post.match(/,(?!,).*\}/)){t=A.pre+"{"+A.body+mb+A.post,n=!0,c=!0,a=!1,i=[];for(var f=0;f=e||B+ue.length>r)break e;C.push(ue),B+=ue.length}}}if(l=[],s=Gu(s,i,u,C,e,r,a&&!A.post.length,l),i=l,!A.post.length)break;t=A.post}return s}o(db,"expand")});var IH=g((jke,CH)=>{CH.exports=Or;Or.Minimatch=Tt;var Yu=(function(){try{return require("path")}catch{}})()||{sep:"/"};Or.sep=Yu.sep;var fb=Or.GLOBSTAR=Tt.GLOBSTAR={},Rle=hH(),fH={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},pb="[^/]",hb=pb+"*?",Ple="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",vle="(?:(?!(?:\\/|^)\\.).)*?",gH=Dle("().*{}+?[]^$\\!");function Dle(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}o(Dle,"charSet");var yH=/\/+/;Or.filter=kle;function kle(t,e){return e=e||{},function(r,n,s){return Or(r,t,e)}}o(kle,"filter");function po(t,e){e=e||{};var r={};return Object.keys(t).forEach(function(n){r[n]=t[n]}),Object.keys(e).forEach(function(n){r[n]=e[n]}),r}o(po,"ext");Or.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return Or;var e=Or,r=o(function(s,i,a){return e(s,i,po(t,a))},"minimatch");return r.Minimatch=o(function(s,i){return new e.Minimatch(s,po(t,i))},"Minimatch"),r.Minimatch.defaults=o(function(s){return e.defaults(po(t,s)).Minimatch},"defaults"),r.filter=o(function(s,i){return e.filter(s,po(t,i))},"filter"),r.defaults=o(function(s){return e.defaults(po(t,s))},"defaults"),r.makeRe=o(function(s,i){return e.makeRe(s,po(t,i))},"makeRe"),r.braceExpand=o(function(s,i){return e.braceExpand(s,po(t,i))},"braceExpand"),r.match=function(n,s,i){return e.match(n,s,po(t,i))},r};Tt.defaults=function(t){return Or.defaults(t).Minimatch};function Or(t,e,r){return lf(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new Tt(e,r).match(t)}o(Or,"minimatch");function Tt(t,e){if(!(this instanceof Tt))return new Tt(t,e);lf(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&Yu.sep!=="/"&&(t=t.split(Yu.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(Tt,"Minimatch");Tt.prototype.debug=function(){};Tt.prototype.make=Tle;function Tle(){var t=this.pattern,e=this.options;if(!e.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate();var r=this.globSet=this.braceExpand();e.debug&&(this.debug=o(function(){console.error.apply(console,arguments)},"debug")),this.debug(this.pattern,r),r=this.globParts=r.map(function(n){return n.split(yH)}),this.debug(this.pattern,r),r=r.map(function(n,s,i){return n.map(this.parse,this)},this),this.debug(this.pattern,r),r=r.filter(function(n){return n.indexOf(!1)===-1}),this.debug(this.pattern,r),this.set=r}o(Tle,"make");Tt.prototype.parseNegate=Mle;function Mle(){var t=this.pattern,e=!1,r=this.options,n=0;if(!r.nonegate){for(var s=0,i=t.length;s"u"?this.pattern:t,lf(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:Rle(t)}o(EH,"braceExpand");var Lle=1024*64,lf=o(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>Lle)throw new TypeError("pattern is too long")},"assertValidPattern");Tt.prototype.parse=_le;var cf={};function _le(t,e){lf(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return fb;if(t==="")return"";var n="",s=!!r.nocase,i=!1,a=[],c=[],l,A=!1,u=-1,d=-1,m=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",p=this;function h(){if(l){switch(l){case"*":n+=hb,s=!0;break;case"?":n+=pb,s=!0;break;default:n+="\\"+l;break}p.debug("clearStateChar %j %j",l,n),l=!1}}o(h,"clearStateChar");for(var f=0,C=t.length,y;f-1;ue--){var be=c[ue],Be=n.slice(0,be.reStart),Ne=n.slice(be.reStart,be.reEnd-8),ae=n.slice(be.reEnd-8,be.reEnd),De=n.slice(be.reEnd);ae+=De;var ee=Be.split("(").length-1,Yt=De;for(f=0;f"u"&&(r=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;var n=this.options;Yu.sep!=="/"&&(e=e.split(Yu.sep).join("/")),e=e.split(yH),this.debug(this.pattern,"split",e);var s=this.set;this.debug(this.pattern,"set",s);var i,a;for(a=e.length-1;a>=0&&(i=e[a],!i);a--);for(a=0;a{"use strict";var C2=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:Xee}=ye(),Zee=vc();B2()===void 0&&I2(new Zee);function I2(t){if(!t||typeof t.dispatch!="function")throw new Xee("Argument agent must implement Agent");Object.defineProperty(globalThis,C2,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(I2,"setGlobalDispatcher");function B2(){return globalThis[C2]}o(B2,"getGlobalDispatcher");Q2.exports={setGlobalDispatcher:I2,getGlobalDispatcher:B2}});var eh=g((qSe,x2)=>{"use strict";x2.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 w2=g((zSe,b2)=>{"use strict";var ete=Dp();b2.exports=t=>{let e=t?.maxRedirections;return r=>o(function(s,i){let{maxRedirections:a=e,...c}=s;if(!a)return r(s,i);let l=new ete(r,a,s,i);return r(c,l)},"redirectInterceptor")}});var S2=g((YSe,N2)=>{"use strict";var tte=zp();N2.exports=t=>e=>o(function(n,s){return e(n,new tte({...n,retryOptions:{...t,...n.retryOptions}},{handler:s,dispatch:e}))},"retryInterceptor")});var P2=g((JSe,R2)=>{"use strict";var rte=ce(),{InvalidArgumentError:nte,RequestAbortedError:ste}=ye(),ite=eh(),NQ=class extends ite{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#r=!1;#i=!1;#s=0;#n=null;#o=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new nte("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.#n=e}onHeaders(e,r,n,s){let a=rte.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new ste(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#i?!0:this.#o.onHeaders(e,r,n,s)}onError(e){this.#r||(e=this.#n??e,this.#o.onError(e))}onData(e){return this.#s=this.#s+e.length,this.#s>=this.#e&&(this.#r=!0,this.#i?this.#o.onError(this.#n):this.#o.onComplete([])),!0}onComplete(e){if(!this.#r){if(this.#i){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function ote({maxSize:t}={maxSize:1024*1024}){return e=>o(function(n,s){let{dumpMaxSize:i=t}=n,a=new NQ({maxSize:i},s);return e(n,a)},"Intercept")}o(ote,"createDumpInterceptor");R2.exports=ote});var k2=g(($Se,D2)=>{"use strict";var{isIP:ate}=require("node:net"),{lookup:cte}=require("node:dns"),lte=eh(),{InvalidArgumentError:Hc,InformationalError:Ate}=ye(),v2=Math.pow(2,31)-1,SQ=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.#s}get full(){return this.#r.size===this.#t}runLookup(e,r,n){let s=this.#r.get(e.hostname);if(s==null&&this.full){n(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(s==null)this.lookup(e,i,(a,c)=>{if(a||c==null||c.length===0){n(a??new Ate("No DNS entries found"));return}this.setRecords(e,c);let l=this.#r.get(e.hostname),A=this.pick(e,l,i.affinity),u;typeof A.port=="number"?u=`:${A.port}`:e.port!==""?u=`:${e.port}`:u="",n(null,`${e.protocol}//${A.family===6?`[${A.address}]`:A.address}${u}`)});else{let a=this.pick(e,s,i.affinity);if(a==null){this.#r.delete(e.hostname),this.runLookup(e,r,n);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",n(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#i(e,r,n){cte(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(s,i)=>{if(s)return n(s);let a=new Map;for(let c of i)a.set(`${c.address}:${c.family}`,c);n(null,a.values())})}#s(e,r,n){let s=null,{records:i,offset:a}=r,c;if(this.dualStack?(n==null&&(a==null||a===v2?(r.offset=0,n=4):(r.offset++,n=(r.offset&1)===1?6:4)),i[n]!=null&&i[n].ips.length>0?c=i[n]:c=i[n===4?6:4]):c=i[n],c==null||c.ips.length===0)return s;c.offset==null||c.offset===v2?c.offset=0:c.offset++;let l=c.offset%c.ips.length;return s=c.ips[l]??null,s==null?s:Date.now()-s.timestamp>s.ttl?(c.ips.splice(l,1),this.pick(e,r,n)):s}setRecords(e,r){let n=Date.now(),s={records:{4:null,6:null}};for(let i of r){i.timestamp=n,typeof i.ttl=="number"?i.ttl=Math.min(i.ttl,this.#e):i.ttl=this.#e;let a=s.records[i.family]??{ips:[]};a.ips.push(i),s.records[i.family]=a}this.#r.set(e.hostname,s)}getHandler(e,r){return new RQ(this,e,r)}},RQ=class extends lte{static{o(this,"DNSDispatchHandler")}#e=null;#t=null;#r=null;#i=null;#s=null;constructor(e,{origin:r,handler:n,dispatch:s},i){super(n),this.#s=r,this.#i=n,this.#t={...i},this.#e=e,this.#r=s}onError(e){switch(e.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#e.dualStack){this.#e.runLookup(this.#s,this.#t,(r,n)=>{if(r)return this.#i.onError(r);let s={...this.#t,origin:n};this.#r(s,this)});return}this.#i.onError(e);return}case"ENOTFOUND":this.#e.deleteRecord(this.#s);default:this.#i.onError(e);break}}};D2.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new Hc("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new Hc("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new Hc("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new Hc("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new Hc("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new Hc("Invalid pick. Must be a function");let e=t?.dualStack??!0,r;e?r=t?.affinity??null:r=t?.affinity??4;let n={maxTTL:t?.maxTTL??1e4,lookup:t?.lookup??null,pick:t?.pick??null,dualStack:e,affinity:r,maxItems:t?.maxItems??1/0},s=new SQ(n);return i=>o(function(c,l){let A=c.origin.constructor===URL?c.origin:new URL(c.origin);return ate(A.hostname)!==0?i(c,l):(s.runLookup(A,c,(u,d)=>{if(u)return l.onError(u);let m=null;m={...c,servername:A.hostname,origin:d,headers:{host:A.hostname,...c.headers}},i(m,s.getHandler({origin:A,dispatch:i,handler:l},c))}),!0)},"dnsInterceptor")}});var na=g((KSe,O2)=>{"use strict";var{kConstruct:ute}=Oe(),{kEnumerableProperty:zc}=ce(),{iteratorMixin:dte,isValidHeaderName:ou,isValidHeaderValue:M2}=Rr(),{webidl:he}=kt(),PQ=require("node:assert"),th=require("node:util"),mt=Symbol("headers map"),kr=Symbol("headers map sorted");function T2(t){return t===10||t===13||t===9||t===32}o(T2,"isHTTPWhiteSpaceCharCode");function L2(t){let e=0,r=t.length;for(;r>e&&T2(t.charCodeAt(r-1));)--r;for(;r>e&&T2(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(L2,"headerValueNormalize");function _2(t,e){if(Array.isArray(e))for(let r=0;r>","record"]})}o(_2,"fill");function vQ(t,e,r){if(r=L2(r),ou(e)){if(!M2(r))throw he.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw he.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(U2(t)==="immutable")throw new TypeError("immutable");return DQ(t).append(e,r,!1)}o(vQ,"appendHeader");function F2(t,e){return t[0]>1),r[A][0]<=u[0]?l=A+1:c=A;if(i!==A){for(a=i;a>l;)r[a]=r[--a];r[l]=u}}if(!n.next().done)throw new TypeError("Unreachable");return r}else{let n=0;for(let{0:s,1:{value:i}}of this[mt])r[n++]=[s,i],PQ(i!==null);return r.sort(F2)}}},Un=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){he.util.markAsUncloneable(this),e!==ute&&(this.#t=new rh,this.#e="none",e!==void 0&&(e=he.converters.HeadersInit(e,"Headers contructor","init"),_2(this,e)))}append(e,r){he.brandCheck(this,t),he.argumentLengthCheck(arguments,2,"Headers.append");let n="Headers.append";return e=he.converters.ByteString(e,n,"name"),r=he.converters.ByteString(r,n,"value"),vQ(this,e,r)}delete(e){if(he.brandCheck(this,t),he.argumentLengthCheck(arguments,1,"Headers.delete"),e=he.converters.ByteString(e,"Headers.delete","name"),!ou(e))throw he.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){he.brandCheck(this,t),he.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=he.converters.ByteString(e,r,"name"),!ou(e))throw he.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){he.brandCheck(this,t),he.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=he.converters.ByteString(e,r,"name"),!ou(e))throw he.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){he.brandCheck(this,t),he.argumentLengthCheck(arguments,2,"Headers.set");let n="Headers.set";if(e=he.converters.ByteString(e,n,"name"),r=he.converters.ByteString(r,n,"value"),r=L2(r),ou(e)){if(!M2(r))throw he.errors.invalidArgument({prefix:n,value:r,type:"header value"})}else throw he.errors.invalidArgument({prefix:n,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){he.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[kr](){if(this.#t[kr])return this.#t[kr];let e=[],r=this.#t.toSortedArray(),n=this.#t.cookies;if(n===null||n.length===1)return this.#t[kr]=r;for(let s=0;s>"](t,e,r,n.bind(t)):he.converters["record"](t,e,r)}throw he.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};O2.exports={fill:_2,compareHeaderName:F2,Headers:Un,HeadersList:rh,getHeadersGuard:U2,setHeadersGuard:mte,setHeadersList:pte,getHeadersList:DQ}});var cu=g((ZSe,X2)=>{"use strict";var{Headers:V2,HeadersList:q2,fill:hte,getHeadersGuard:fte,setHeadersGuard:J2,setHeadersList:W2}=na(),{extractBody:H2,cloneBody:gte,mixinBody:yte,hasFinalizationRegistry:$2,streamRegistry:j2,bodyUnusable:Ete}=Bc(),kQ=ce(),z2=require("node:util"),{kEnumerableProperty:Tr}=kQ,{isValidReasonPhrase:Cte,isCancelled:Ite,isAborted:Bte,isBlobLike:Qte,serializeJavascriptValueToJSONString:xte,isErrorLike:bte,isomorphicEncode:wte,environmentSettingsObject:Nte}=Rr(),{redirectStatusSet:Ste,nullBodyStatus:Rte}=DA(),{kState:He,kHeaders:hi}=Vi(),{webidl:ie}=kt(),{FormData:Pte}=FA(),{URLSerializer:G2}=ar(),{kConstruct:sh}=Oe(),TQ=require("node:assert"),{types:vte}=require("node:util"),Dte=new TextEncoder("utf-8"),sa=class t{static{o(this,"Response")}static error(){return au(ih(),"immutable")}static json(e,r={}){ie.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=ie.converters.ResponseInit(r));let n=Dte.encode(xte(e)),s=H2(n),i=au(Gc({}),"response");return Y2(i,r,{body:s[0],type:"application/json"}),i}static redirect(e,r=302){ie.argumentLengthCheck(arguments,1,"Response.redirect"),e=ie.converters.USVString(e),r=ie.converters["unsigned short"](r);let n;try{n=new URL(e,Nte.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!Ste.has(r))throw new RangeError(`Invalid status code ${r}`);let s=au(Gc({}),"immutable");s[He].status=r;let i=wte(G2(n));return s[He].headersList.append("location",i,!0),s}constructor(e=null,r={}){if(ie.util.markAsUncloneable(this),e===sh)return;e!==null&&(e=ie.converters.BodyInit(e)),r=ie.converters.ResponseInit(r),this[He]=Gc({}),this[hi]=new V2(sh),J2(this[hi],"response"),W2(this[hi],this[He].headersList);let n=null;if(e!=null){let[s,i]=H2(e);n={body:s,type:i}}Y2(this,r,n)}get type(){return ie.brandCheck(this,t),this[He].type}get url(){ie.brandCheck(this,t);let e=this[He].urlList,r=e[e.length-1]??null;return r===null?"":G2(r,!0)}get redirected(){return ie.brandCheck(this,t),this[He].urlList.length>1}get status(){return ie.brandCheck(this,t),this[He].status}get ok(){return ie.brandCheck(this,t),this[He].status>=200&&this[He].status<=299}get statusText(){return ie.brandCheck(this,t),this[He].statusText}get headers(){return ie.brandCheck(this,t),this[hi]}get body(){return ie.brandCheck(this,t),this[He].body?this[He].body.stream:null}get bodyUsed(){return ie.brandCheck(this,t),!!this[He].body&&kQ.isDisturbed(this[He].body.stream)}clone(){if(ie.brandCheck(this,t),Ete(this))throw ie.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=MQ(this[He]);return $2&&this[He].body?.stream&&j2.register(this,new WeakRef(this[He].body.stream)),au(e,fte(this[hi]))}[z2.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${z2.formatWithOptions(r,n)}`}};yte(sa);Object.defineProperties(sa.prototype,{type:Tr,url:Tr,status:Tr,ok:Tr,redirected:Tr,statusText:Tr,headers:Tr,clone:Tr,body:Tr,bodyUsed:Tr,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(sa,{json:Tr,redirect:Tr,error:Tr});function MQ(t){if(t.internalResponse)return K2(MQ(t.internalResponse),t.type);let e=Gc({...t,body:null});return t.body!=null&&(e.body=gte(e,t.body)),e}o(MQ,"cloneResponse");function Gc(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new q2(t?.headersList):new q2,urlList:t?.urlList?[...t.urlList]:[]}}o(Gc,"makeResponse");function ih(t){let e=bte(t);return Gc({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(ih,"makeNetworkError");function kte(t){return t.type==="error"&&t.status===0}o(kte,"isNetworkError");function nh(t,e){return e={internalResponse:t,...e},new Proxy(t,{get(r,n){return n in e?e[n]:r[n]},set(r,n,s){return TQ(!(n in e)),r[n]=s,!0}})}o(nh,"makeFilteredResponse");function K2(t,e){if(e==="basic")return nh(t,{type:"basic",headersList:t.headersList});if(e==="cors")return nh(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return nh(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return nh(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});TQ(!1)}o(K2,"filterResponse");function Tte(t,e=null){return TQ(Ite(t)),Bte(t)?ih(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):ih(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(Tte,"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&&!Cte(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[He].status=e.status),"statusText"in e&&e.statusText!=null&&(t[He].statusText=e.statusText),"headers"in e&&e.headers!=null&&hte(t[hi],e.headers),r){if(Rte.includes(t.status))throw ie.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[He].body=r.body,r.type!=null&&!t[He].headersList.contains("content-type",!0)&&t[He].headersList.append("content-type",r.type,!0)}}o(Y2,"initializeResponse");function au(t,e){let r=new sa(sh);return r[He]=t,r[hi]=new V2(sh),W2(r[hi],t.headersList),J2(r[hi],e),$2&&t.body?.stream&&j2.register(r,new WeakRef(t.body.stream)),r}o(au,"fromInnerResponse");ie.converters.ReadableStream=ie.interfaceConverter(ReadableStream);ie.converters.FormData=ie.interfaceConverter(Pte);ie.converters.URLSearchParams=ie.interfaceConverter(URLSearchParams);ie.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?ie.converters.USVString(t,e,r):Qte(t)?ie.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||vte.isArrayBuffer(t)?ie.converters.BufferSource(t,e,r):kQ.isFormDataLike(t)?ie.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?ie.converters.URLSearchParams(t,e,r):ie.converters.DOMString(t,e,r)};ie.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?ie.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:ie.converters.XMLHttpRequestBodyInit(t,e,r)};ie.converters.ResponseInit=ie.dictionaryConverter([{key:"status",converter:ie.converters["unsigned short"],defaultValue:o(()=>200,"defaultValue")},{key:"statusText",converter:ie.converters.ByteString,defaultValue:o(()=>"","defaultValue")},{key:"headers",converter:ie.converters.HeadersInit}]);X2.exports={isNetworkError:kte,makeNetworkError:ih,makeResponse:Gc,makeAppropriateNetworkError:Tte,filterResponse:K2,Response:sa,cloneResponse:MQ,fromInnerResponse:au}});var rF=g((tRe,tF)=>{"use strict";var{kConnected:Z2,kSize:eF}=Oe(),LQ=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[Z2]===0&&this.value[eF]===0?void 0:this.value}},_Q=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[Z2]===0&&e[eF]===0&&this.finalizer(r)})}unregister(e){}};tF.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:LQ,FinalizationRegistry:_Q}):{WeakRef,FinalizationRegistry}}});var Yc=g((nRe,gF)=>{"use strict";var{extractBody:Mte,mixinBody:Lte,cloneBody:_te,bodyUnusable:nF}=Bc(),{Headers:dF,fill:Fte,HeadersList:lh,setHeadersGuard:UQ,getHeadersGuard:Ute,setHeadersList:mF,getHeadersList:sF}=na(),{FinalizationRegistry:Ote}=rF()(),ah=ce(),iF=require("node:util"),{isValidHTTPToken:qte,sameOrigin:oF,environmentSettingsObject:oh}=Rr(),{forbiddenMethodsSet:Hte,corsSafeListedMethodsSet:zte,referrerPolicy:Gte,requestRedirect:Yte,requestMode:Vte,requestCredentials:Jte,requestCache:Wte,requestDuplex:$te}=DA(),{kEnumerableProperty:pt,normalizedMethodRecordsBase:jte,normalizedMethodRecords:Kte}=ah,{kHeaders:Mr,kSignal:ch,kState:Le,kDispatcher:FQ}=Vi(),{webidl:j}=kt(),{URLSerializer:Xte}=ar(),{kConstruct:Ah}=Oe(),Zte=require("node:assert"),{getMaxListeners:aF,setMaxListeners:cF,getEventListeners:ere,defaultMaxListeners:lF}=require("node:events"),tre=Symbol("abortController"),pF=new Ote(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),uh=new WeakMap;function AF(t){return e;function e(){let r=t.deref();if(r!==void 0){pF.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let n=uh.get(r.signal);if(n!==void 0){if(n.size!==0){for(let s of n){let i=s.deref();i!==void 0&&i.abort(this.reason)}n.clear()}uh.delete(r.signal)}}}}o(AF,"buildAbort");var uF=!1,no=class t{static{o(this,"Request")}constructor(e,r={}){if(j.util.markAsUncloneable(this),e===Ah)return;let n="Request constructor";j.argumentLengthCheck(arguments,1,n),e=j.converters.RequestInfo(e,n,"input"),r=j.converters.RequestInit(r,n,"init");let s=null,i=null,a=oh.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[FQ]=r.dispatcher;let y;try{y=new URL(e,a)}catch(E){throw new TypeError("Failed to parse URL from "+e,{cause:E})}if(y.username||y.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);s=dh({urlList:[y]}),i="cors"}else this[FQ]=r.dispatcher||e[FQ],Zte(e instanceof t),s=e[Le],c=e[ch];let l=oh.settingsObject.origin,A="client";if(s.window?.constructor?.name==="EnvironmentSettingsObject"&&oF(s.window,l)&&(A=s.window),r.window!=null)throw new TypeError(`'window' option '${A}' must be null`);"window"in r&&(A="no-window"),s=dh({method:s.method,headersList:s.headersList,unsafeRequest:s.unsafeRequest,client:oh.settingsObject,window:A,priority:s.priority,origin:s.origin,referrer:s.referrer,referrerPolicy:s.referrerPolicy,mode:s.mode,credentials:s.credentials,cache:s.cache,redirect:s.redirect,integrity:s.integrity,keepalive:s.keepalive,reloadNavigation:s.reloadNavigation,historyNavigation:s.historyNavigation,urlList:[...s.urlList]});let u=Object.keys(r).length!==0;if(u&&(s.mode==="navigate"&&(s.mode="same-origin"),s.reloadNavigation=!1,s.historyNavigation=!1,s.origin="client",s.referrer="client",s.referrerPolicy="",s.url=s.urlList[s.urlList.length-1],s.urlList=[s.url]),r.referrer!==void 0){let y=r.referrer;if(y==="")s.referrer="no-referrer";else{let E;try{E=new URL(y,a)}catch(I){throw new TypeError(`Referrer "${y}" is not a valid URL.`,{cause:I})}E.protocol==="about:"&&E.hostname==="client"||l&&!oF(E,oh.settingsObject.baseUrl)?s.referrer="client":s.referrer=E}}r.referrerPolicy!==void 0&&(s.referrerPolicy=r.referrerPolicy);let d;if(r.mode!==void 0?d=r.mode:d=i,d==="navigate")throw j.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(d!=null&&(s.mode=d),r.credentials!==void 0&&(s.credentials=r.credentials),r.cache!==void 0&&(s.cache=r.cache),s.cache==="only-if-cached"&&s.mode!=="same-origin")throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(r.redirect!==void 0&&(s.redirect=r.redirect),r.integrity!=null&&(s.integrity=String(r.integrity)),r.keepalive!==void 0&&(s.keepalive=!!r.keepalive),r.method!==void 0){let y=r.method,E=Kte[y];if(E!==void 0)s.method=E;else{if(!qte(y))throw new TypeError(`'${y}' is not a valid HTTP method.`);let I=y.toUpperCase();if(Hte.has(I))throw new TypeError(`'${y}' HTTP method is unsupported.`);y=jte[I]??y,s.method=y}!uF&&s.method==="patch"&&(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),uF=!0)}r.signal!==void 0&&(c=r.signal),this[Le]=s;let m=new AbortController;if(this[ch]=m.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)m.abort(c.reason);else{this[tre]=m;let y=new WeakRef(m),E=AF(y);try{(typeof aF=="function"&&aF(c)===lF||ere(c,"abort").length>=lF)&&cF(1500,c)}catch{}ah.addAbortListener(c,E),pF.register(m,{signal:c,abort:E},E)}}if(this[Mr]=new dF(Ah),mF(this[Mr],s.headersList),UQ(this[Mr],"request"),d==="no-cors"){if(!zte.has(s.method))throw new TypeError(`'${s.method} is unsupported in no-cors mode.`);UQ(this[Mr],"request-no-cors")}if(u){let y=sF(this[Mr]),E=r.headers!==void 0?r.headers:new lh(y);if(y.clear(),E instanceof lh){for(let{name:I,value:B}of E.rawValues())y.append(I,B,!1);y.cookies=E.cookies}else Fte(this[Mr],E)}let p=e instanceof t?e[Le].body:null;if((r.body!=null||p!=null)&&(s.method==="GET"||s.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let h=null;if(r.body!=null){let[y,E]=Mte(r.body,s.keepalive);h=y,E&&!sF(this[Mr]).contains("content-type",!0)&&this[Mr].append("content-type",E)}let f=h??p;if(f!=null&&f.source==null){if(h!=null&&r.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(s.mode!=="same-origin"&&s.mode!=="cors")throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');s.useCORSPreflightFlag=!0}let C=f;if(h==null&&p!=null){if(nF(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let y=new TransformStream;p.stream.pipeThrough(y),C={source:p.source,length:p.length,stream:y.readable}}this[Le].body=C}get method(){return j.brandCheck(this,t),this[Le].method}get url(){return j.brandCheck(this,t),Xte(this[Le].url)}get headers(){return j.brandCheck(this,t),this[Mr]}get destination(){return j.brandCheck(this,t),this[Le].destination}get referrer(){return j.brandCheck(this,t),this[Le].referrer==="no-referrer"?"":this[Le].referrer==="client"?"about:client":this[Le].referrer.toString()}get referrerPolicy(){return j.brandCheck(this,t),this[Le].referrerPolicy}get mode(){return j.brandCheck(this,t),this[Le].mode}get credentials(){return this[Le].credentials}get cache(){return j.brandCheck(this,t),this[Le].cache}get redirect(){return j.brandCheck(this,t),this[Le].redirect}get integrity(){return j.brandCheck(this,t),this[Le].integrity}get keepalive(){return j.brandCheck(this,t),this[Le].keepalive}get isReloadNavigation(){return j.brandCheck(this,t),this[Le].reloadNavigation}get isHistoryNavigation(){return j.brandCheck(this,t),this[Le].historyNavigation}get signal(){return j.brandCheck(this,t),this[ch]}get body(){return j.brandCheck(this,t),this[Le].body?this[Le].body.stream:null}get bodyUsed(){return j.brandCheck(this,t),!!this[Le].body&&ah.isDisturbed(this[Le].body.stream)}get duplex(){return j.brandCheck(this,t),"half"}clone(){if(j.brandCheck(this,t),nF(this))throw new TypeError("unusable");let e=hF(this[Le]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let n=uh.get(this.signal);n===void 0&&(n=new Set,uh.set(this.signal,n));let s=new WeakRef(r);n.add(s),ah.addAbortListener(r.signal,AF(s))}return fF(e,r.signal,Ute(this[Mr]))}[iF.inspect.custom](e,r){r.depth===null&&(r.depth=2),r.colors??=!0;let n={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${iF.formatWithOptions(r,n)}`}};Lte(no);function dh(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 lh(t.headersList):new lh}}o(dh,"makeRequest");function hF(t){let e=dh({...t,body:null});return t.body!=null&&(e.body=_te(e,t.body)),e}o(hF,"cloneRequest");function fF(t,e,r){let n=new no(Ah);return n[Le]=t,n[ch]=e,n[Mr]=new dF(Ah),mF(n[Mr],t.headersList),UQ(n[Mr],r),n}o(fF,"fromInnerRequest");Object.defineProperties(no.prototype,{method:pt,url:pt,headers:pt,redirect:pt,clone:pt,signal:pt,duplex:pt,destination:pt,body:pt,bodyUsed:pt,isHistoryNavigation:pt,isReloadNavigation:pt,keepalive:pt,integrity:pt,cache:pt,credentials:pt,attribute:pt,referrerPolicy:pt,referrer:pt,mode:pt,[Symbol.toStringTag]:{value:"Request",configurable:!0}});j.converters.Request=j.interfaceConverter(no);j.converters.RequestInfo=function(t,e,r){return typeof t=="string"?j.converters.USVString(t,e,r):t instanceof no?j.converters.Request(t,e,r):j.converters.USVString(t,e,r)};j.converters.AbortSignal=j.interfaceConverter(AbortSignal);j.converters.RequestInit=j.dictionaryConverter([{key:"method",converter:j.converters.ByteString},{key:"headers",converter:j.converters.HeadersInit},{key:"body",converter:j.nullableConverter(j.converters.BodyInit)},{key:"referrer",converter:j.converters.USVString},{key:"referrerPolicy",converter:j.converters.DOMString,allowedValues:Gte},{key:"mode",converter:j.converters.DOMString,allowedValues:Vte},{key:"credentials",converter:j.converters.DOMString,allowedValues:Jte},{key:"cache",converter:j.converters.DOMString,allowedValues:Wte},{key:"redirect",converter:j.converters.DOMString,allowedValues:Yte},{key:"integrity",converter:j.converters.DOMString},{key:"keepalive",converter:j.converters.boolean},{key:"signal",converter:j.nullableConverter(t=>j.converters.AbortSignal(t,"RequestInit","signal",{strict:!1}))},{key:"window",converter:j.converters.any},{key:"duplex",converter:j.converters.DOMString,allowedValues:$te},{key:"dispatcher",converter:j.converters.any}]);gF.exports={Request:no,makeRequest:dh,fromInnerRequest:fF,cloneRequest:hF}});var Au=g((iRe,DF)=>{"use strict";var{makeNetworkError:we,makeAppropriateNetworkError:mh,filterResponse:OQ,makeResponse:ph,fromInnerResponse:rre}=cu(),{HeadersList:yF}=na(),{Request:nre,cloneRequest:sre}=Yc(),so=require("node:zlib"),{bytesMatch:ire,makePolicyContainer:ore,clonePolicyContainer:are,requestBadPort:cre,TAOCheck:lre,appendRequestOriginHeader:Are,responseLocationURL:ure,requestCurrentURL:ms,setRequestReferrerPolicyOnRedirect:dre,tryUpgradeRequestToAPotentiallyTrustworthyURL:mre,createOpaqueTimingInfo:YQ,appendFetchMetadata:pre,corsCheck:hre,crossOriginResourcePolicyCheck:fre,determineRequestsReferrer:gre,coarsenedSharedCurrentTime:lu,createDeferredPromise:yre,isBlobLike:Ere,sameOrigin:GQ,isCancelled:ia,isAborted:EF,isErrorLike:Cre,fullyReadBody:Ire,readableStreamClose:Bre,isomorphicEncode:hh,urlIsLocal:Qre,urlIsHttpHttpsScheme:VQ,urlHasHttpsScheme:xre,clampAndCoarsenConnectionTimingInfo:bre,simpleRangeHeaderValue:wre,buildContentRange:Nre,createInflate:Sre,extractMimeType:Rre}=Rr(),{kState:QF,kDispatcher:Pre}=Vi(),oa=require("node:assert"),{safelyExtractBody:JQ,extractBody:CF}=Bc(),{redirectStatusSet:xF,nullBodyStatus:bF,safeMethodsSet:vre,requestBodyHeader:Dre,subresourceSet:kre}=DA(),Tre=require("node:events"),{Readable:Mre,pipeline:Lre,finished:_re}=require("node:stream"),{addAbortListener:Fre,isErrored:Ure,isReadable:fh,bufferToLowerCasedHeaderName:IF}=ce(),{dataURLProcessor:Ore,serializeAMimeType:qre,minimizeSupportedMimeType:Hre}=ar(),{getGlobalDispatcher:zre}=Zp(),{webidl:Gre}=kt(),{STATUS_CODES:Yre}=require("node:http"),Vre=["GET","HEAD"],Jre=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",qQ,gh=class extends Tre{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 Wre(t){wF(t,"fetch")}o(Wre,"handleFetchDone");function $re(t,e=void 0){Gre.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=yre(),n;try{n=new nre(t,e)}catch(u){return r.reject(u),r.promise}let s=n[QF];if(n.signal.aborted)return HQ(r,s,null,n.signal.reason),r.promise;s.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(s.serviceWorkers="none");let a=null,c=!1,l=null;return Fre(n.signal,()=>{c=!0,oa(l!=null),l.abort(n.signal.reason);let u=a?.deref();HQ(r,s,u,n.signal.reason)}),l=SF({request:s,processResponseEndOfBody:Wre,processResponse:o(u=>{if(!c){if(u.aborted){HQ(r,s,a,l.serializedAbortReason);return}if(u.type==="error"){r.reject(new TypeError("fetch failed",{cause:u.error}));return}a=new WeakRef(rre(u,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:n[Pre]}),r.promise}o($re,"fetch");function wF(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],n=t.timingInfo,s=t.cacheState;VQ(r)&&n!==null&&(t.timingAllowPassed||(n=YQ({startTime:n.startTime}),s=""),n.endTime=lu(),t.timingInfo=n,NF(n,r.href,e,globalThis,s))}o(wF,"finalizeAndReportTiming");var NF=performance.markResourceTiming;function HQ(t,e,r,n){if(t&&t.reject(n),e.body!=null&&fh(e.body?.stream)&&e.body.stream.cancel(n).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i}),r==null)return;let s=r[QF];s.body!=null&&fh(s.body?.stream)&&s.body.stream.cancel(n).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i})}o(HQ,"abortFetch");function SF({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:s,processResponseConsumeBody:i,useParallelQueue:a=!1,dispatcher:c=zre()}){oa(c);let l=null,A=!1;t.client!=null&&(l=t.client.globalObject,A=t.client.crossOriginIsolatedCapability);let u=lu(A),d=YQ({startTime:u}),m={controller:new gh(c),request:t,timingInfo:d,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:i,processResponseEndOfBody:s,taskDestination:l,crossOriginIsolatedCapability:A};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=are(t.client.policyContainer):t.policyContainer=ore()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,kre.has(t.destination),RF(m).catch(p=>{m.controller.terminate(p)}),m.controller}o(SF,"fetching");async function RF(t,e=!1){let r=t.request,n=null;if(r.localURLsOnly&&!Qre(ms(r))&&(n=we("local URLs only")),mre(r),cre(r)==="blocked"&&(n=we("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=gre(r)),n===null&&(n=await(async()=>{let i=ms(r);return GQ(i,r.url)&&r.responseTainting==="basic"||i.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await BF(t)):r.mode==="same-origin"?we('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?we('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await BF(t)):VQ(ms(r))?(r.responseTainting="cors",await PF(t)):we("URL scheme must be a HTTP(S) scheme")})()),e)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=OQ(n,"basic"):r.responseTainting==="cors"?n=OQ(n,"cors"):r.responseTainting==="opaque"?n=OQ(n,"opaque"):oa(!1));let s=n.status===0?n:n.internalResponse;if(s.urlList.length===0&&s.urlList.push(...r.urlList),r.timingAllowFailed||(n.timingAllowPassed=!0),n.type==="opaque"&&s.status===206&&s.rangeRequested&&!r.headers.contains("range",!0)&&(n=s=we()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||bF.includes(s.status))&&(s.body=null,t.controller.dump=!0),r.integrity){let i=o(c=>zQ(t,we(c)),"processBodyError");if(r.responseTainting==="opaque"||n.body==null){i(n.error);return}let a=o(c=>{if(!ire(c,r.integrity)){i("integrity mismatch");return}n.body=JQ(c)[0],zQ(t,n)},"processBody");await Ire(n.body,a,i)}else zQ(t,n)}o(RF,"mainFetch");function BF(t){if(ia(t)&&t.request.redirectCount===0)return Promise.resolve(mh(t));let{request:e}=t,{protocol:r}=ms(e);switch(r){case"about:":return Promise.resolve(we("about scheme is not supported"));case"blob:":{qQ||(qQ=require("node:buffer").resolveObjectURL);let n=ms(e);if(n.search.length!==0)return Promise.resolve(we("NetworkError when attempting to fetch resource."));let s=qQ(n.toString());if(e.method!=="GET"||!Ere(s))return Promise.resolve(we("invalid method"));let i=ph(),a=s.size,c=hh(`${a}`),l=s.type;if(e.headersList.contains("range",!0)){i.rangeRequested=!0;let A=e.headersList.get("range",!0),u=wre(A,!0);if(u==="failure")return Promise.resolve(we("failed to fetch the data URL"));let{rangeStartValue:d,rangeEndValue:m}=u;if(d===null)d=a-m,m=d+m-1;else{if(d>=a)return Promise.resolve(we("Range start is greater than the blob's size."));(m===null||m>=a)&&(m=a-1)}let p=s.slice(d,m,l),h=CF(p);i.body=h[0];let f=hh(`${p.size}`),C=Nre(d,m,a);i.status=206,i.statusText="Partial Content",i.headersList.set("content-length",f,!0),i.headersList.set("content-type",l,!0),i.headersList.set("content-range",C,!0)}else{let A=CF(s);i.statusText="OK",i.body=A[0],i.headersList.set("content-length",c,!0),i.headersList.set("content-type",l,!0)}return Promise.resolve(i)}case"data:":{let n=ms(e),s=Ore(n);if(s==="failure")return Promise.resolve(we("failed to fetch the data URL"));let i=qre(s.mimeType);return Promise.resolve(ph({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:i}]],body:JQ(s.body)[0]}))}case"file:":return Promise.resolve(we("not implemented... yet..."));case"http:":case"https:":return PF(t).catch(n=>we(n));default:return Promise.resolve(we("unknown scheme"))}}o(BF,"schemeFetch");function jre(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(jre,"finalizeResponse");function zQ(t,e){let r=t.timingInfo,n=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=YQ(r),c="");let A=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){A=e.status;let u=Rre(e.headersList);u!=="failure"&&(l.contentType=Hre(u))}t.request.initiatorType!=null&&NF(r,t.request.url.href,t.request.initiatorType,globalThis,c,l,A)};let a=o(()=>{t.request.done=!0,t.processResponseEndOfBody!=null&&queueMicrotask(()=>t.processResponseEndOfBody(e)),t.request.initiatorType!=null&&t.controller.reportTimingSteps()},"processResponseEndOfBodyTask");queueMicrotask(()=>a())},"processResponseEndOfBody");t.processResponse!=null&&queueMicrotask(()=>{t.processResponse(e),t.processResponse=null});let s=e.type==="error"?e:e.internalResponse??e;s.body==null?n():_re(s.body.stream,()=>{n()})}o(zQ,"fetchFinale");async function PF(t){let e=t.request,r=null,n=null,s=t.timingInfo;if(e.serviceWorkers,r===null){if(e.redirect==="follow"&&(e.serviceWorkers="none"),n=r=await vF(t),e.responseTainting==="cors"&&hre(e,r)==="failure")return we("cors failure");lre(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&fre(e.origin,e.client,e.destination,n)==="blocked"?we("blocked"):(xF.has(n.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=we("unexpected redirect"):e.redirect==="manual"?r=n:e.redirect==="follow"?r=await Kre(t,r):oa(!1)),r.timingInfo=s,r)}o(PF,"httpFetch");function Kre(t,e){let r=t.request,n=e.internalResponse?e.internalResponse:e,s;try{if(s=ure(n,ms(r).hash),s==null)return e}catch(a){return Promise.resolve(we(a))}if(!VQ(s))return Promise.resolve(we("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(we("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(s.username||s.password)&&!GQ(r,s))return Promise.resolve(we('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(s.username||s.password))return Promise.resolve(we('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(we());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!Vre.includes(r.method)){r.method="GET",r.body=null;for(let a of Dre)r.headersList.delete(a)}GQ(ms(r),s)||(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=JQ(r.body.source)[0]);let i=t.timingInfo;return i.redirectEndTime=i.postRedirectStartTime=lu(t.crossOriginIsolatedCapability),i.redirectStartTime===0&&(i.redirectStartTime=i.startTime),r.urlList.push(s),dre(r,n),RF(t,!0)}o(Kre,"httpRedirectFetch");async function vF(t,e=!1,r=!1){let n=t.request,s=null,i=null,a=null,c=null,l=!1;n.window==="no-window"&&n.redirect==="error"?(s=t,i=n):(i=sre(n),s={...t},s.request=i);let A=n.credentials==="include"||n.credentials==="same-origin"&&n.responseTainting==="basic",u=i.body?i.body.length:null,d=null;if(i.body==null&&["POST","PUT"].includes(i.method)&&(d="0"),u!=null&&(d=hh(`${u}`)),d!=null&&i.headersList.append("content-length",d,!0),u!=null&&i.keepalive,i.referrer instanceof URL&&i.headersList.append("referer",hh(i.referrer.href),!0),Are(i),pre(i),i.headersList.contains("user-agent",!0)||i.headersList.append("user-agent",Jre),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)||(xre(ms(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 we("only if cached");let m=await Xre(s,A,r);!vre.has(i.method)&&m.status>=200&&m.status<=399,l&&m.status,a==null&&(a=m)}if(a.urlList=[...i.urlList],i.headersList.contains("range",!0)&&(a.rangeRequested=!0),a.requestIncludesCredentials=A,a.status===407)return n.window==="no-window"?we():ia(t)?mh(t):we("proxy authentication required");if(a.status===421&&!r&&(n.body==null||n.body.source!=null)){if(ia(t))return mh(t);t.controller.connection.destroy(),a=await vF(t,e,!0)}return a}o(vF,"httpNetworkOrCacheFetch");async function Xre(t,e=!1,r=!1){oa(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(h,f=!0){this.destroyed||(this.destroyed=!0,f&&this.abort?.(h??new DOMException("The operation was aborted.","AbortError")))}};let n=t.request,s=null,i=t.timingInfo;null==null&&(n.cache="no-store");let c=r?"yes":"no";n.mode;let l=null;if(n.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(n.body!=null){let h=o(async function*(y){ia(t)||(yield y,t.processRequestBodyChunkLength?.(y.byteLength))},"processBodyChunk"),f=o(()=>{ia(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),C=o(y=>{ia(t)||(y.name==="AbortError"?t.controller.abort():t.controller.terminate(y))},"processBodyError");l=(async function*(){try{for await(let y of n.body.stream)yield*h(y);f()}catch(y){C(y)}})()}try{let{body:h,status:f,statusText:C,headersList:y,socket:E}=await p({body:l});if(E)s=ph({status:f,statusText:C,headersList:y,socket:E});else{let I=h[Symbol.asyncIterator]();t.controller.next=()=>I.next(),s=ph({status:f,statusText:C,headersList:y})}}catch(h){return h.name==="AbortError"?(t.controller.connection.destroy(),mh(t,h)):we(h)}let A=o(async()=>{await t.controller.resume()},"pullAlgorithm"),u=o(h=>{ia(t)||t.controller.abort(h)},"cancelAlgorithm"),d=new ReadableStream({async start(h){t.controller.controller=h},async pull(h){await A(h)},async cancel(h){await u(h)},type:"bytes"});s.body={stream:d,source:null,length:null},t.controller.onAborted=m,t.controller.on("terminated",m),t.controller.resume=async()=>{for(;;){let h,f;try{let{done:y,value:E}=await t.controller.next();if(EF(t))break;h=y?void 0:E}catch(y){t.controller.ended&&!i.encodedBodySize?h=void 0:(h=y,f=!0)}if(h===void 0){Bre(t.controller.controller),jre(t,s);return}if(i.decodedBodySize+=h?.byteLength??0,f){t.controller.terminate(h);return}let C=new Uint8Array(h);if(C.byteLength&&t.controller.controller.enqueue(C),Ure(d)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function m(h){EF(t)?(s.aborted=!0,fh(d)&&t.controller.controller.error(t.controller.serializedAbortReason)):fh(d)&&t.controller.controller.error(new TypeError("terminated",{cause:Cre(h)?h:void 0})),t.controller.connection.destroy()}return o(m,"onAborted"),s;function p({body:h}){let f=ms(n),C=t.controller.dispatcher;return new Promise((y,E)=>C.dispatch({path:f.pathname+f.search,origin:f.origin,method:n.method,body:C.isMockActive?n.body&&(n.body.source||n.body.stream):h,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(I){let{connection:B}=t.controller;i.finalConnectionTimingInfo=bre(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=lu(t.crossOriginIsolatedCapability)},onResponseStarted(){i.finalNetworkResponseStartTime=lu(t.crossOriginIsolatedCapability)},onHeaders(I,B,N,S){if(I<200)return;let F="",de=new yF;for(let ae=0;aeee)return E(new Error(`too many content-encodings in response: ${De.length}, maximum allowed is ${ee}`)),!0;for(let Yt=De.length-1;Yt>=0;--Yt){let H=De[Yt].trim();if(H==="x-gzip"||H==="gzip")be.push(so.createGunzip({flush:so.constants.Z_SYNC_FLUSH,finishFlush:so.constants.Z_SYNC_FLUSH}));else if(H==="deflate")be.push(Sre({flush:so.constants.Z_SYNC_FLUSH,finishFlush:so.constants.Z_SYNC_FLUSH}));else if(H==="br")be.push(so.createBrotliDecompress({flush:so.constants.BROTLI_OPERATION_FLUSH,finishFlush:so.constants.BROTLI_OPERATION_FLUSH}));else{be.length=0;break}}}let Ne=this.onError.bind(this);return y({status:I,statusText:S,headersList:de,body:be.length?Lre(this.body,...be,ae=>{ae&&this.onError(ae)}).on("error",Ne):this.body.on("error",Ne)}),!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),E(I)},onUpgrade(I,B,N){if(I!==101)return;let S=new yF;for(let F=0;F{"use strict";kF.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 MF=g((cRe,TF)=>{"use strict";var{webidl:Lr}=kt(),yh=Symbol("ProgressEvent state"),$Q=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=Lr.converters.DOMString(e,"ProgressEvent constructor","type"),r=Lr.converters.ProgressEventInit(r??{}),super(e,r),this[yh]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return Lr.brandCheck(this,t),this[yh].lengthComputable}get loaded(){return Lr.brandCheck(this,t),this[yh].loaded}get total(){return Lr.brandCheck(this,t),this[yh].total}};Lr.converters.ProgressEventInit=Lr.dictionaryConverter([{key:"lengthComputable",converter:Lr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"loaded",converter:Lr.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"total",converter:Lr.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"bubbles",converter:Lr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:Lr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:Lr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}]);TF.exports={ProgressEvent:$Q}});var _F=g((ARe,LF)=>{"use strict";function Zre(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(Zre,"getEncoding");LF.exports={getEncoding:Zre}});var YF=g((dRe,GF)=>{"use strict";var{kState:Vc,kError:jQ,kResult:FF,kAborted:uu,kLastProgressEventFired:KQ}=WQ(),{ProgressEvent:ene}=MF(),{getEncoding:UF}=_F(),{serializeAMimeType:tne,parseMIMEType:OF}=ar(),{types:rne}=require("node:util"),{StringDecoder:qF}=require("string_decoder"),{btoa:HF}=require("node:buffer"),nne={enumerable:!0,writable:!1,configurable:!1};function sne(t,e,r,n){if(t[Vc]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[Vc]="loading",t[FF]=null,t[jQ]=null;let i=e.stream().getReader(),a=[],c=i.read(),l=!0;(async()=>{for(;!t[uu];)try{let{done:A,value:u}=await c;if(l&&!t[uu]&&queueMicrotask(()=>{io("loadstart",t)}),l=!1,!A&&rne.isUint8Array(u))a.push(u),(t[KQ]===void 0||Date.now()-t[KQ]>=50)&&!t[uu]&&(t[KQ]=Date.now(),queueMicrotask(()=>{io("progress",t)})),c=i.read();else if(A){queueMicrotask(()=>{t[Vc]="done";try{let d=ine(a,r,e.type,n);if(t[uu])return;t[FF]=d,io("load",t)}catch(d){t[jQ]=d,io("error",t)}t[Vc]!=="loading"&&io("loadend",t)});break}}catch(A){if(t[uu])return;queueMicrotask(()=>{t[Vc]="done",t[jQ]=A,io("error",t),t[Vc]!=="loading"&&io("loadend",t)});break}})()}o(sne,"readOperation");function io(t,e){let r=new ene(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(io,"fireAProgressEvent");function ine(t,e,r,n){switch(e){case"DataURL":{let s="data:",i=OF(r||"application/octet-stream");i!=="failure"&&(s+=tne(i)),s+=";base64,";let a=new qF("latin1");for(let c of t)s+=HF(a.write(c));return s+=HF(a.end()),s}case"Text":{let s="failure";if(n&&(s=UF(n)),s==="failure"&&r){let i=OF(r);i!=="failure"&&(s=UF(i.parameters.get("charset")))}return s==="failure"&&(s="UTF-8"),one(t,s)}case"ArrayBuffer":return zF(t).buffer;case"BinaryString":{let s="",i=new qF("latin1");for(let a of t)s+=i.write(a);return s+=i.end(),s}}}o(ine,"packageData");function one(t,e){let r=zF(t),n=ane(r),s=0;n!==null&&(e=n,s=n==="UTF-8"?3:2);let i=r.slice(s);return new TextDecoder(e).decode(i)}o(one,"decode");function ane(t){let[e,r,n]=t;return e===239&&r===187&&n===191?"UTF-8":e===254&&r===255?"UTF-16BE":e===255&&r===254?"UTF-16LE":null}o(ane,"BOMSniffing");function zF(t){let e=t.reduce((n,s)=>n+s.byteLength,0),r=0;return t.reduce((n,s)=>(n.set(s,r),r+=s.byteLength,n),new Uint8Array(e))}o(zF,"combineByteSequences");GF.exports={staticPropertyDescriptors:nne,readOperation:sne,fireAProgressEvent:io}});var $F=g((pRe,WF)=>{"use strict";var{staticPropertyDescriptors:Jc,readOperation:Eh,fireAProgressEvent:VF}=YF(),{kState:aa,kError:JF,kResult:Ch,kEvents:Ee,kAborted:cne}=WQ(),{webidl:Re}=kt(),{kEnumerableProperty:Ar}=ce(),On=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[aa]="empty",this[Ch]=null,this[JF]=null,this[Ee]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=Re.converters.Blob(e,{strict:!1}),Eh(this,e,"ArrayBuffer")}readAsBinaryString(e){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=Re.converters.Blob(e,{strict:!1}),Eh(this,e,"BinaryString")}readAsText(e,r=void 0){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=Re.converters.Blob(e,{strict:!1}),r!==void 0&&(r=Re.converters.DOMString(r,"FileReader.readAsText","encoding")),Eh(this,e,"Text",r)}readAsDataURL(e){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=Re.converters.Blob(e,{strict:!1}),Eh(this,e,"DataURL")}abort(){if(this[aa]==="empty"||this[aa]==="done"){this[Ch]=null;return}this[aa]==="loading"&&(this[aa]="done",this[Ch]=null),this[cne]=!0,VF("abort",this),this[aa]!=="loading"&&VF("loadend",this)}get readyState(){switch(Re.brandCheck(this,t),this[aa]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return Re.brandCheck(this,t),this[Ch]}get error(){return Re.brandCheck(this,t),this[JF]}get onloadend(){return Re.brandCheck(this,t),this[Ee].loadend}set onloadend(e){Re.brandCheck(this,t),this[Ee].loadend&&this.removeEventListener("loadend",this[Ee].loadend),typeof e=="function"?(this[Ee].loadend=e,this.addEventListener("loadend",e)):this[Ee].loadend=null}get onerror(){return Re.brandCheck(this,t),this[Ee].error}set onerror(e){Re.brandCheck(this,t),this[Ee].error&&this.removeEventListener("error",this[Ee].error),typeof e=="function"?(this[Ee].error=e,this.addEventListener("error",e)):this[Ee].error=null}get onloadstart(){return Re.brandCheck(this,t),this[Ee].loadstart}set onloadstart(e){Re.brandCheck(this,t),this[Ee].loadstart&&this.removeEventListener("loadstart",this[Ee].loadstart),typeof e=="function"?(this[Ee].loadstart=e,this.addEventListener("loadstart",e)):this[Ee].loadstart=null}get onprogress(){return Re.brandCheck(this,t),this[Ee].progress}set onprogress(e){Re.brandCheck(this,t),this[Ee].progress&&this.removeEventListener("progress",this[Ee].progress),typeof e=="function"?(this[Ee].progress=e,this.addEventListener("progress",e)):this[Ee].progress=null}get onload(){return Re.brandCheck(this,t),this[Ee].load}set onload(e){Re.brandCheck(this,t),this[Ee].load&&this.removeEventListener("load",this[Ee].load),typeof e=="function"?(this[Ee].load=e,this.addEventListener("load",e)):this[Ee].load=null}get onabort(){return Re.brandCheck(this,t),this[Ee].abort}set onabort(e){Re.brandCheck(this,t),this[Ee].abort&&this.removeEventListener("abort",this[Ee].abort),typeof e=="function"?(this[Ee].abort=e,this.addEventListener("abort",e)):this[Ee].abort=null}};On.EMPTY=On.prototype.EMPTY=0;On.LOADING=On.prototype.LOADING=1;On.DONE=On.prototype.DONE=2;Object.defineProperties(On.prototype,{EMPTY:Jc,LOADING:Jc,DONE:Jc,readAsArrayBuffer:Ar,readAsBinaryString:Ar,readAsText:Ar,readAsDataURL:Ar,abort:Ar,readyState:Ar,result:Ar,error:Ar,onloadstart:Ar,onprogress:Ar,onload:Ar,onabort:Ar,onerror:Ar,onloadend:Ar,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(On,{EMPTY:Jc,LOADING:Jc,DONE:Jc});WF.exports={FileReader:On}});var Ih=g((fRe,jF)=>{"use strict";jF.exports={kConstruct:Oe().kConstruct}});var ZF=g((gRe,XF)=>{"use strict";var lne=require("node:assert"),{URLSerializer:KF}=ar(),{isValidHeaderName:Ane}=Rr();function une(t,e,r=!1){let n=KF(t,r),s=KF(e,r);return n===s}o(une,"urlEquals");function dne(t){lne(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),Ane(r)&&e.push(r);return e}o(dne,"getFieldValues");XF.exports={urlEquals:une,getFieldValues:dne}});var r1=g((ERe,t1)=>{"use strict";var{kConstruct:mne}=Ih(),{urlEquals:pne,getFieldValues:XQ}=ZF(),{kEnumerableProperty:ca,isDisturbed:hne}=ce(),{webidl:G}=kt(),{Response:fne,cloneResponse:gne,fromInnerResponse:yne}=cu(),{Request:fi,fromInnerRequest:Ene}=Yc(),{kState:qn}=Vi(),{fetching:Cne}=Au(),{urlIsHttpHttpsScheme:Bh,createDeferredPromise:Wc,readAllBytes:Ine}=Rr(),ZQ=require("node:assert"),Qh=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==mne&&G.illegalConstructor(),G.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,r={}){G.brandCheck(this,t);let n="Cache.match";G.argumentLengthCheck(arguments,1,n),e=G.converters.RequestInfo(e,n,"request"),r=G.converters.CacheQueryOptions(r,n,"options");let s=this.#s(e,r,1);if(s.length!==0)return s[0]}async matchAll(e=void 0,r={}){G.brandCheck(this,t);let n="Cache.matchAll";return e!==void 0&&(e=G.converters.RequestInfo(e,n,"request")),r=G.converters.CacheQueryOptions(r,n,"options"),this.#s(e,r)}async add(e){G.brandCheck(this,t);let r="Cache.add";G.argumentLengthCheck(arguments,1,r),e=G.converters.RequestInfo(e,r,"request");let n=[e];return await this.addAll(n)}async addAll(e){G.brandCheck(this,t);let r="Cache.addAll";G.argumentLengthCheck(arguments,1,r);let n=[],s=[];for(let m of e){if(m===void 0)throw G.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(m=G.converters.RequestInfo(m),typeof m=="string")continue;let p=m[qn];if(!Bh(p.url)||p.method!=="GET")throw G.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let i=[];for(let m of e){let p=new fi(m)[qn];if(!Bh(p.url))throw G.errors.exception({header:r,message:"Expected http/s scheme."});p.initiator="fetch",p.destination="subresource",s.push(p);let h=Wc();i.push(Cne({request:p,processResponse(f){if(f.type==="error"||f.status===206||f.status<200||f.status>299)h.reject(G.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(f.headersList.contains("vary")){let C=XQ(f.headersList.get("vary"));for(let y of C)if(y==="*"){h.reject(G.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let E of i)E.abort();return}}},processResponseEndOfBody(f){if(f.aborted){h.reject(new DOMException("aborted","AbortError"));return}h.resolve(f)}})),n.push(h.promise)}let c=await Promise.all(n),l=[],A=0;for(let m of c){let p={type:"put",request:s[A],response:m};l.push(p),A++}let u=Wc(),d=null;try{this.#t(l)}catch(m){d=m}return queueMicrotask(()=>{d===null?u.resolve(void 0):u.reject(d)}),u.promise}async put(e,r){G.brandCheck(this,t);let n="Cache.put";G.argumentLengthCheck(arguments,2,n),e=G.converters.RequestInfo(e,n,"request"),r=G.converters.Response(r,n,"response");let s=null;if(e instanceof fi?s=e[qn]:s=new fi(e)[qn],!Bh(s.url)||s.method!=="GET")throw G.errors.exception({header:n,message:"Expected an http/s scheme when method is not GET"});let i=r[qn];if(i.status===206)throw G.errors.exception({header:n,message:"Got 206 status"});if(i.headersList.contains("vary")){let p=XQ(i.headersList.get("vary"));for(let h of p)if(h==="*")throw G.errors.exception({header:n,message:"Got * vary field value"})}if(i.body&&(hne(i.body.stream)||i.body.stream.locked))throw G.errors.exception({header:n,message:"Response body is locked or disturbed"});let a=gne(i),c=Wc();if(i.body!=null){let h=i.body.stream.getReader();Ine(h).then(c.resolve,c.reject)}else c.resolve(void 0);let l=[],A={type:"put",request:s,response:a};l.push(A);let u=await c.promise;a.body!=null&&(a.body.source=u);let d=Wc(),m=null;try{this.#t(l)}catch(p){m=p}return queueMicrotask(()=>{m===null?d.resolve():d.reject(m)}),d.promise}async delete(e,r={}){G.brandCheck(this,t);let n="Cache.delete";G.argumentLengthCheck(arguments,1,n),e=G.converters.RequestInfo(e,n,"request"),r=G.converters.CacheQueryOptions(r,n,"options");let s=null;if(e instanceof fi){if(s=e[qn],s.method!=="GET"&&!r.ignoreMethod)return!1}else ZQ(typeof e=="string"),s=new fi(e)[qn];let i=[],a={type:"delete",request:s,options:r};i.push(a);let c=Wc(),l=null,A;try{A=this.#t(i)}catch(u){l=u}return queueMicrotask(()=>{l===null?c.resolve(!!A?.length):c.reject(l)}),c.promise}async keys(e=void 0,r={}){G.brandCheck(this,t);let n="Cache.keys";e!==void 0&&(e=G.converters.RequestInfo(e,n,"request")),r=G.converters.CacheQueryOptions(r,n,"options");let s=null;if(e!==void 0)if(e instanceof fi){if(s=e[qn],s.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(s=new fi(e)[qn]);let i=Wc(),a=[];if(e===void 0)for(let c of this.#e)a.push(c[0]);else{let c=this.#r(s,r);for(let l of c)a.push(l[0])}return queueMicrotask(()=>{let c=[];for(let l of a){let A=Ene(l,new AbortController().signal,"immutable");c.push(A)}i.resolve(Object.freeze(c))}),i.promise}#t(e){let r=this.#e,n=[...r],s=[],i=[];try{for(let a of e){if(a.type!=="delete"&&a.type!=="put")throw G.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw G.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#r(a.request,a.options,s).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 A=r.indexOf(l);ZQ(A!==-1),r.splice(A,1)}}else if(a.type==="put"){if(a.response==null)throw G.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let l=a.request;if(!Bh(l.url))throw G.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(l.method!=="GET")throw G.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw G.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#r(a.request);for(let A of c){let u=r.indexOf(A);ZQ(u!==-1),r.splice(u,1)}r.push([a.request,a.response]),s.push([a.request,a.response])}i.push([a.request,a.response])}return i}catch(a){throw this.#e.length=0,this.#e=n,a}}#r(e,r,n){let s=[],i=n??this.#e;for(let a of i){let[c,l]=a;this.#i(e,c,l,r)&&s.push(a)}return s}#i(e,r,n=null,s){let i=new URL(e.url),a=new URL(r.url);if(s?.ignoreSearch&&(a.search="",i.search=""),!pne(i,a,!0))return!1;if(n==null||s?.ignoreVary||!n.headersList.contains("vary"))return!0;let c=XQ(n.headersList.get("vary"));for(let l of c){if(l==="*")return!1;let A=r.headersList.get(l),u=e.headersList.get(l);if(A!==u)return!1}return!0}#s(e,r,n=1/0){let s=null;if(e!==void 0)if(e instanceof fi){if(s=e[qn],s.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(s=new fi(e)[qn]);let i=[];if(e===void 0)for(let c of this.#e)i.push(c[1]);else{let c=this.#r(s,r);for(let l of c)i.push(l[1])}let a=[];for(let c of i){let l=yne(c,"immutable");if(a.push(l.clone()),a.length>=n)break}return Object.freeze(a)}};Object.defineProperties(Qh.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:ca,matchAll:ca,add:ca,addAll:ca,put:ca,delete:ca,keys:ca});var e1=[{key:"ignoreSearch",converter:G.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreMethod",converter:G.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreVary",converter:G.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];G.converters.CacheQueryOptions=G.dictionaryConverter(e1);G.converters.MultiCacheQueryOptions=G.dictionaryConverter([...e1,{key:"cacheName",converter:G.converters.DOMString}]);G.converters.Response=G.interfaceConverter(fne);G.converters["sequence"]=G.sequenceConverter(G.converters.RequestInfo);t1.exports={Cache:Qh}});var s1=g((IRe,n1)=>{"use strict";var{kConstruct:du}=Ih(),{Cache:xh}=r1(),{webidl:Ft}=kt(),{kEnumerableProperty:mu}=ce(),bh=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==du&&Ft.illegalConstructor(),Ft.util.markAsUncloneable(this)}async match(e,r={}){if(Ft.brandCheck(this,t),Ft.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=Ft.converters.RequestInfo(e),r=Ft.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new xh(du,n).match(e,r)}}else for(let n of this.#e.values()){let i=await new xh(du,n).match(e,r);if(i!==void 0)return i}}async has(e){Ft.brandCheck(this,t);let r="CacheStorage.has";return Ft.argumentLengthCheck(arguments,1,r),e=Ft.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){Ft.brandCheck(this,t);let r="CacheStorage.open";if(Ft.argumentLengthCheck(arguments,1,r),e=Ft.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let s=this.#e.get(e);return new xh(du,s)}let n=[];return this.#e.set(e,n),new xh(du,n)}async delete(e){Ft.brandCheck(this,t);let r="CacheStorage.delete";return Ft.argumentLengthCheck(arguments,1,r),e=Ft.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return Ft.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(bh.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:mu,has:mu,open:mu,delete:mu,keys:mu});n1.exports={CacheStorage:bh}});var o1=g((QRe,i1)=>{"use strict";i1.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var rx=g((xRe,A1)=>{"use strict";function Bne(t){for(let e=0;e=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}o(Bne,"isCTLExcludingHtab");function ex(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(ex,"validateCookieName");function tx(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||n===34||n===44||n===59||n===92)throw new Error("Invalid cookie value")}}o(tx,"validateCookieValue");function c1(t){for(let e=0;e126||r===59)throw new Error("Invalid cookie path")}}o(c1,"validateCookiePath");function a1(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}o(a1,"isLetterOrDigit");function Qne(t){if(t===" ")return;if(t.length>255)throw new Error("Invalid cookie domain");let e=0;for(let r=0;r63)throw new Error("Invalid cookie domain")}if(e===0||t.charCodeAt(t.length-1)===45)throw new Error("Invalid cookie domain")}o(Qne,"validateCookieDomain");var xne=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],bne=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wh=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function l1(t){return typeof t=="number"&&(t=new Date(t)),`${xne[t.getUTCDay()]}, ${wh[t.getUTCDate()]} ${bne[t.getUTCMonth()]} ${t.getUTCFullYear()} ${wh[t.getUTCHours()]}:${wh[t.getUTCMinutes()]}:${wh[t.getUTCSeconds()]} GMT`}o(l1,"toIMFDate");function wne(t){if(t<0)throw new Error("Invalid cookie max-age")}o(wne,"validateCookieMaxAge");function Nne(t){if(t.name.length===0)return null;ex(t.name),tx(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"&&(wne(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(Qne(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(c1(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${l1(t.expires)}`),t.sameSite&&e.push(`SameSite=${t.sameSite}`);for(let r of t.unparsed){if(!r.includes("="))throw new Error("Invalid unparsed");let[n,...s]=r.split("="),i=n.trim(),a=s.join("=");ex(i),tx(a),e.push(`${i}=${a}`)}return e.join("; ")}o(Nne,"stringify");A1.exports={isCTLExcludingHtab:Bne,validateCookieName:ex,validateCookiePath:c1,validateCookieValue:tx,toIMFDate:l1,stringify:Nne}});var d1=g((wRe,u1)=>{"use strict";var{maxNameValuePairSize:Sne,maxAttributeValueSize:Rne}=o1(),{isCTLExcludingHtab:Pne}=rx(),{collectASequenceOfCodePointsFast:Nh}=ar(),vne=require("node:assert");function Dne(t){if(Pne(t))return null;let e="",r="",n="",s="";if(t.includes(";")){let i={position:0};e=Nh(";",t,i),r=t.slice(i.position)}else e=t;if(!e.includes("="))s=e;else{let i={position:0};n=Nh("=",e,i),s=e.slice(i.position+1)}return n=n.trim(),s=s.trim(),n.length+s.length>Sne?null:{name:n,value:s,...$c(r)}}o(Dne,"parseSetCookie");function $c(t,e={}){if(t.length===0)return e;vne(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=Nh(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",s="";if(r.includes("=")){let a={position:0};n=Nh("=",r,a),s=r.slice(a.position+1)}else n=r;if(n=n.trim(),s=s.trim(),s.length>Rne)return $c(t,e);let i=n.toLowerCase();if(i==="expires"){let a=new Date(s);e.expires=a}else if(i==="max-age"){let a=s.charCodeAt(0);if((a<48||a>57)&&s[0]!=="-"||!/^\d+$/.test(s))return $c(t,e);let c=Number(s);e.maxAge=c}else if(i==="domain"){let a=s;a[0]==="."&&(a=a.slice(1)),a=a.toLowerCase(),e.domain=a}else if(i==="path"){let a="";s.length===0||s[0]!=="/"?a="/":a=s,e.path=a}else if(i==="secure")e.secure=!0;else if(i==="httponly")e.httpOnly=!0;else if(i==="samesite"){let a=s.toLowerCase();a==="none"?e.sameSite="None":a==="strict"?e.sameSite="Strict":a==="lax"&&(e.sameSite="Lax")}else e.unparsed??=[],e.unparsed.push(`${n}=${s}`);return $c(t,e)}o($c,"parseUnparsedAttributes");u1.exports={parseSetCookie:Dne,parseUnparsedAttributes:$c}});var h1=g((SRe,p1)=>{"use strict";var{parseSetCookie:kne}=d1(),{stringify:Tne}=rx(),{webidl:pe}=kt(),{Headers:Sh}=na();function Mne(t){pe.argumentLengthCheck(arguments,1,"getCookies"),pe.brandCheck(t,Sh,{strict:!1});let e=t.get("cookie"),r={};if(!e)return r;for(let n of e.split(";")){let[s,...i]=n.split("=");r[s.trim()]=i.join("=")}return r}o(Mne,"getCookies");function Lne(t,e,r){pe.brandCheck(t,Sh,{strict:!1});let n="deleteCookie";pe.argumentLengthCheck(arguments,2,n),e=pe.converters.DOMString(e,n,"name"),r=pe.converters.DeleteCookieAttributes(r),m1(t,{name:e,value:"",expires:new Date(0),...r})}o(Lne,"deleteCookie");function _ne(t){pe.argumentLengthCheck(arguments,1,"getSetCookies"),pe.brandCheck(t,Sh,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>kne(r)):[]}o(_ne,"getSetCookies");function m1(t,e){pe.argumentLengthCheck(arguments,2,"setCookie"),pe.brandCheck(t,Sh,{strict:!1}),e=pe.converters.Cookie(e);let r=Tne(e);r&&t.append("Set-Cookie",r)}o(m1,"setCookie");pe.converters.DeleteCookieAttributes=pe.dictionaryConverter([{converter:pe.nullableConverter(pe.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:pe.nullableConverter(pe.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")}]);pe.converters.Cookie=pe.dictionaryConverter([{converter:pe.converters.DOMString,key:"name"},{converter:pe.converters.DOMString,key:"value"},{converter:pe.nullableConverter(t=>typeof t=="number"?pe.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:o(()=>null,"defaultValue")},{converter:pe.nullableConverter(pe.converters["long long"]),key:"maxAge",defaultValue:o(()=>null,"defaultValue")},{converter:pe.nullableConverter(pe.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")},{converter:pe.nullableConverter(pe.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:pe.nullableConverter(pe.converters.boolean),key:"secure",defaultValue:o(()=>null,"defaultValue")},{converter:pe.nullableConverter(pe.converters.boolean),key:"httpOnly",defaultValue:o(()=>null,"defaultValue")},{converter:pe.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:pe.sequenceConverter(pe.converters.DOMString),key:"unparsed",defaultValue:o(()=>new Array(0),"defaultValue")}]);p1.exports={getCookies:Mne,deleteCookie:Lne,getSetCookies:_ne,setCookie:m1}});var Kc=g((PRe,g1)=>{"use strict";var{webidl:z}=kt(),{kEnumerableProperty:ur}=ce(),{kConstruct:f1}=Oe(),{MessagePort:Fne}=require("node:worker_threads"),jc=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===f1){super(arguments[1],arguments[2]),z.util.markAsUncloneable(this);return}let n="MessageEvent constructor";z.argumentLengthCheck(arguments,1,n),e=z.converters.DOMString(e,n,"type"),r=z.converters.MessageEventInit(r,n,"eventInitDict"),super(e,r),this.#e=r,z.util.markAsUncloneable(this)}get data(){return z.brandCheck(this,t),this.#e.data}get origin(){return z.brandCheck(this,t),this.#e.origin}get lastEventId(){return z.brandCheck(this,t),this.#e.lastEventId}get source(){return z.brandCheck(this,t),this.#e.source}get ports(){return z.brandCheck(this,t),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(e,r=!1,n=!1,s=null,i="",a="",c=null,l=[]){return z.brandCheck(this,t),z.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new t(e,{bubbles:r,cancelable:n,data:s,origin:i,lastEventId:a,source:c,ports:l})}static createFastMessageEvent(e,r){let n=new t(f1,e,r);return n.#e=r,n.#e.data??=null,n.#e.origin??="",n.#e.lastEventId??="",n.#e.source??=null,n.#e.ports??=[],n}},{createFastMessageEvent:Une}=jc;delete jc.createFastMessageEvent;var Rh=class t extends Event{static{o(this,"CloseEvent")}#e;constructor(e,r={}){let n="CloseEvent constructor";z.argumentLengthCheck(arguments,1,n),e=z.converters.DOMString(e,n,"type"),r=z.converters.CloseEventInit(r),super(e,r),this.#e=r,z.util.markAsUncloneable(this)}get wasClean(){return z.brandCheck(this,t),this.#e.wasClean}get code(){return z.brandCheck(this,t),this.#e.code}get reason(){return z.brandCheck(this,t),this.#e.reason}},Ph=class t extends Event{static{o(this,"ErrorEvent")}#e;constructor(e,r){let n="ErrorEvent constructor";z.argumentLengthCheck(arguments,1,n),super(e,r),z.util.markAsUncloneable(this),e=z.converters.DOMString(e,n,"type"),r=z.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return z.brandCheck(this,t),this.#e.message}get filename(){return z.brandCheck(this,t),this.#e.filename}get lineno(){return z.brandCheck(this,t),this.#e.lineno}get colno(){return z.brandCheck(this,t),this.#e.colno}get error(){return z.brandCheck(this,t),this.#e.error}};Object.defineProperties(jc.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:ur,origin:ur,lastEventId:ur,source:ur,ports:ur,initMessageEvent:ur});Object.defineProperties(Rh.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:ur,code:ur,wasClean:ur});Object.defineProperties(Ph.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:ur,filename:ur,lineno:ur,colno:ur,error:ur});z.converters.MessagePort=z.interfaceConverter(Fne);z.converters["sequence"]=z.sequenceConverter(z.converters.MessagePort);var nx=[{key:"bubbles",converter:z.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:z.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:z.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];z.converters.MessageEventInit=z.dictionaryConverter([...nx,{key:"data",converter:z.converters.any,defaultValue:o(()=>null,"defaultValue")},{key:"origin",converter:z.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lastEventId",converter:z.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"source",converter:z.nullableConverter(z.converters.MessagePort),defaultValue:o(()=>null,"defaultValue")},{key:"ports",converter:z.converters["sequence"],defaultValue:o(()=>new Array(0),"defaultValue")}]);z.converters.CloseEventInit=z.dictionaryConverter([...nx,{key:"wasClean",converter:z.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"code",converter:z.converters["unsigned short"],defaultValue:o(()=>0,"defaultValue")},{key:"reason",converter:z.converters.USVString,defaultValue:o(()=>"","defaultValue")}]);z.converters.ErrorEventInit=z.dictionaryConverter([...nx,{key:"message",converter:z.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"filename",converter:z.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lineno",converter:z.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"colno",converter:z.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"error",converter:z.converters.any}]);g1.exports={MessageEvent:jc,CloseEvent:Rh,ErrorEvent:Ph,createFastMessageEvent:Une}});var la=g((DRe,y1)=>{"use strict";var One="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",qne={enumerable:!0,writable:!1,configurable:!1},Hne={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},zne={NOT_SENT:0,PROCESSING:1,SENT:2},Gne={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},Yne=2**16-1,Vne={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},Jne=Buffer.allocUnsafe(0),Wne={string:1,typedArray:2,arrayBuffer:3,blob:4};y1.exports={uid:One,sentCloseFrameState:zne,staticPropertyDescriptors:qne,states:Hne,opcodes:Gne,maxUnsigned16Bit:Yne,parserStates:Vne,emptyBuffer:Jne,sendHints:Wne}});var pu=g((kRe,E1)=>{"use strict";E1.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 gu=g((TRe,S1)=>{"use strict";var{kReadyState:hu,kController:$ne,kResponse:jne,kBinaryType:Kne,kWebSocketURL:Xne}=pu(),{states:fu,opcodes:oo}=la(),{ErrorEvent:Zne,createFastMessageEvent:ese}=Kc(),{isUtf8:tse}=require("node:buffer"),{collectASequenceOfCodePointsFast:rse,removeHTTPWhitespace:C1}=ar();function nse(t){return t[hu]===fu.CONNECTING}o(nse,"isConnecting");function sse(t){return t[hu]===fu.OPEN}o(sse,"isEstablished");function ise(t){return t[hu]===fu.CLOSING}o(ise,"isClosing");function ose(t){return t[hu]===fu.CLOSED}o(ose,"isClosed");function sx(t,e,r=(s,i)=>new Event(s,i),n={}){let s=r(t,n);e.dispatchEvent(s)}o(sx,"fireEvent");function ase(t,e,r){if(t[hu]!==fu.OPEN)return;let n;if(e===oo.TEXT)try{n=N1(r)}catch{B1(t,"Received invalid UTF-8 in text frame.");return}else e===oo.BINARY&&(t[Kne]==="blob"?n=new Blob([r]):n=cse(r));sx("message",t,ese,{origin:t[Xne].origin,data:n})}o(ase,"websocketMessageReceived");function cse(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(cse,"toArrayBuffer");function lse(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(lse,"isValidSubprotocol");function Ase(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(Ase,"isValidStatusCode");function B1(t,e){let{[$ne]:r,[jne]:n}=t;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),e&&sx("error",t,(s,i)=>new Zne(s,i),{error:new Error(e),message:e})}o(B1,"failWebsocketConnection");function Q1(t){return t===oo.CLOSE||t===oo.PING||t===oo.PONG}o(Q1,"isControlFrame");function x1(t){return t===oo.CONTINUATION}o(x1,"isContinuationFrame");function b1(t){return t===oo.TEXT||t===oo.BINARY}o(b1,"isTextBinaryFrame");function use(t){return b1(t)||x1(t)||Q1(t)}o(use,"isValidOpcode");function dse(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(mse,"isValidClientWindowBits");var w1=typeof process.versions.icu=="string",I1=w1?new TextDecoder("utf-8",{fatal:!0}):void 0,N1=w1?I1.decode.bind(I1):function(t){if(tse(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};S1.exports={isConnecting:nse,isEstablished:sse,isClosing:ise,isClosed:ose,fireEvent:sx,isValidSubprotocol:lse,isValidStatusCode:Ase,failWebsocketConnection:B1,websocketMessageReceived:ase,utf8Decode:N1,isControlFrame:Q1,isContinuationFrame:x1,isTextBinaryFrame:b1,isValidOpcode:use,parseExtensions:dse,isValidClientWindowBits:mse}});var Dh=g((LRe,R1)=>{"use strict";var{maxUnsigned16Bit:pse}=la(),vh=16386,ix,yu=null,Xc=vh;try{ix=require("node:crypto")}catch{ix={randomFillSync:o(function(e,r,n){for(let s=0;spse?(a+=8,i=127):s>125&&(a+=2,i=126);let c=Buffer.allocUnsafe(s+a);c[0]=c[1]=0,c[0]|=128,c[0]=(c[0]&240)+e;c[a-4]=n[0],c[a-3]=n[1],c[a-2]=n[2],c[a-1]=n[3],c[1]=i,i===126?c.writeUInt16BE(s,2):i===127&&(c[2]=c[3]=0,c.writeUIntBE(s,4,6)),c[1]|=128;for(let l=0;l{"use strict";var{uid:fse,states:Eu,sentCloseFrameState:kh,emptyBuffer:gse,opcodes:yse}=la(),{kReadyState:Cu,kSentClose:Th,kByteParser:v1,kReceivedClose:P1,kResponse:D1}=pu(),{fireEvent:Ese,failWebsocketConnection:ao,isClosing:Cse,isClosed:Ise,isEstablished:Bse,parseExtensions:Qse}=gu(),{channels:Zc}=lc(),{CloseEvent:xse}=Kc(),{makeRequest:bse}=Yc(),{fetching:wse}=Au(),{Headers:Nse,getHeadersList:Sse}=na(),{getDecodeSplit:Rse}=Rr(),{WebsocketFrameSend:Pse}=Dh(),ax;try{ax=require("node:crypto")}catch{}function vse(t,e,r,n,s,i){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=bse({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let d=Sse(new Nse(i.headers));c.headersList=d}let l=ax.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"),wse({request:c,useParallelQueue:!0,dispatcher:i.dispatcher,processResponse(d){if(d.type==="error"||d.status!==101){ao(n,"Received network error or non-101 status code.");return}if(e.length!==0&&!d.headersList.get("Sec-WebSocket-Protocol")){ao(n,"Server did not respond with sent protocols.");return}if(d.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){ao(n,'Server did not set Upgrade header to "websocket".');return}if(d.headersList.get("Connection")?.toLowerCase()!=="upgrade"){ao(n,'Server did not set Connection header to "upgrade".');return}let m=d.headersList.get("Sec-WebSocket-Accept"),p=ax.createHash("sha1").update(l+fse).digest("base64");if(m!==p){ao(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let h=d.headersList.get("Sec-WebSocket-Extensions"),f;if(h!==null&&(f=Qse(h),!f.has("permessage-deflate"))){ao(n,"Sec-WebSocket-Extensions header does not match.");return}let C=d.headersList.get("Sec-WebSocket-Protocol");if(C!==null&&!Rse("sec-websocket-protocol",c.headersList).includes(C)){ao(n,"Protocol was not set in the opening handshake.");return}d.socket.on("data",k1),d.socket.on("close",T1),d.socket.on("error",M1),Zc.open.hasSubscribers&&Zc.open.publish({address:d.socket.address(),protocol:C,extensions:h}),s(d,f)}})}o(vse,"establishWebSocketConnection");function Dse(t,e,r,n){if(!(Cse(t)||Ise(t)))if(!Bse(t))ao(t,"Connection was closed before it was established."),t[Cu]=Eu.CLOSING;else if(t[Th]===kh.NOT_SENT){t[Th]=kh.PROCESSING;let s=new Pse;e!==void 0&&r===void 0?(s.frameData=Buffer.allocUnsafe(2),s.frameData.writeUInt16BE(e,0)):e!==void 0&&r!==void 0?(s.frameData=Buffer.allocUnsafe(2+n),s.frameData.writeUInt16BE(e,0),s.frameData.write(r,2,"utf-8")):s.frameData=gse,t[D1].socket.write(s.createFrame(yse.CLOSE)),t[Th]=kh.SENT,t[Cu]=Eu.CLOSING}else t[Cu]=Eu.CLOSING}o(Dse,"closeWebSocketConnection");function k1(t){this.ws[v1].write(t)||this.pause()}o(k1,"onSocketData");function T1(){let{ws:t}=this,{[D1]:e}=t;e.socket.off("data",k1),e.socket.off("close",T1),e.socket.off("error",M1);let r=t[Th]===kh.SENT&&t[P1],n=1005,s="",i=t[v1].closingInfo;i&&!i.error?(n=i.code??1005,s=i.reason):t[P1]||(n=1006),t[Cu]=Eu.CLOSED,Ese("close",t,(a,c)=>new xse(a,c),{wasClean:r,code:n,reason:s}),Zc.close.hasSubscribers&&Zc.close.publish({websocket:t,code:n,reason:s})}o(T1,"onSocketClose");function M1(t){let{ws:e}=this;e[Cu]=Eu.CLOSING,Zc.socketError.hasSubscribers&&Zc.socketError.publish(t),this.destroy()}o(M1,"onSocketError");L1.exports={establishWebSocketConnection:vse,closeWebSocketConnection:Dse}});var F1=g((ORe,_1)=>{"use strict";var{createInflateRaw:kse,Z_DEFAULT_WINDOWBITS:Tse}=require("node:zlib"),{isValidClientWindowBits:Mse}=gu(),{MessageSizeExceededError:Lse}=ye(),_se=Buffer.from([0,0,255,255]),Mh=Symbol("kBuffer"),Iu=Symbol("kLength"),lx=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,n){if(!this.#e){let s=Tse;if(this.#t.serverMaxWindowBits){if(!Mse(this.#t.serverMaxWindowBits)){n(new Error("Invalid server_max_window_bits"));return}s=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=kse({windowBits:s})}catch(i){n(i);return}this.#e[Mh]=[],this.#e[Iu]=0,this.#e.on("data",i=>{if(this.#e[Iu]+=i.length,this.#r>0&&this.#e[Iu]>this.#r){n(new Lse),this.#e.removeAllListeners(),this.#e=null;return}this.#e[Mh].push(i)}),this.#e.on("error",i=>{this.#e=null,n(i)})}this.#e.write(e),r&&this.#e.write(_se),this.#e.flush(()=>{if(!this.#e)return;let s=Buffer.concat(this.#e[Mh],this.#e[Iu]);this.#e[Mh].length=0,this.#e[Iu]=0,n(null,s)})}};_1.exports={PerMessageDeflate:lx}});var W1=g((HRe,J1)=>{"use strict";var{Writable:Fse}=require("node:stream"),Use=require("node:assert"),{parserStates:dr,opcodes:el,states:Ose,emptyBuffer:U1,sentCloseFrameState:O1}=la(),{kReadyState:qse,kSentClose:q1,kResponse:H1,kReceivedClose:z1}=pu(),{channels:Lh}=lc(),{isValidStatusCode:Hse,isValidOpcode:zse,failWebsocketConnection:_r,websocketMessageReceived:G1,utf8Decode:Gse,isControlFrame:Ax,isTextBinaryFrame:ux,isContinuationFrame:Yse}=gu(),{WebsocketFrameSend:Y1}=Dh(),{closeWebSocketConnection:V1}=cx(),{PerMessageDeflate:Vse}=F1(),{MessageSizeExceededError:dx}=ye();function Bu(t,e,r){V1(t,e,r,Buffer.byteLength(r)),_r(t,r)}o(Bu,"failWebsocketConnectionWithCode");var mx=class extends Fse{static{o(this,"ByteParser")}#e=[];#t=0;#r=0;#i=!1;#s=dr.INFO;#n={};#o=[];#a;#l;#c;constructor(e,r,n={}){super(),this.ws=e,this.#a=r??new Map,this.#l=n.maxFragments??0,this.#c=n.maxPayloadSize??0,this.#a.has("permessage-deflate")&&this.#a.set("permessage-deflate",new Vse(r,n))}_write(e,r,n){this.#e.push(e),this.#r+=e.length,this.#i=!0,this.run(n)}#A(){return this.#c>0&&!Ax(this.#n.opcode)&&this.#n.payloadLength+this.#t>this.#c?(Bu(this.ws,1009,"Payload size exceeds maximum allowed size"),!1):!0}run(e){for(;this.#i;)if(this.#s===dr.INFO){if(this.#r<2)return e();let r=this.consume(2),n=(r[0]&128)!==0,s=r[0]&15,i=(r[1]&128)===128,a=!n&&s!==el.CONTINUATION,c=r[1]&127,l=r[0]&64,A=r[0]&32,u=r[0]&16;if(!zse(s))return _r(this.ws,"Invalid opcode received"),e();if(i)return _r(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#a.has("permessage-deflate")){_r(this.ws,"Expected RSV1 to be clear.");return}if(A!==0||u!==0){_r(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!ux(s)){_r(this.ws,"Invalid frame type was fragmented.");return}if(ux(s)&&this.#o.length>0){_r(this.ws,"Expected continuation frame");return}if(this.#n.fragmented&&a){_r(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&Ax(s)){_r(this.ws,"Control frame either too large or fragmented");return}if(Yse(s)&&this.#o.length===0&&!this.#n.compressed){_r(this.ws,"Unexpected continuation frame");return}if(c<=125){if(this.#n.payloadLength=c,this.#s=dr.READ_DATA,!this.#A())return}else c===126?this.#s=dr.PAYLOADLENGTH_16:c===127&&(this.#s=dr.PAYLOADLENGTH_64);ux(s)&&(this.#n.binaryType=s,this.#n.compressed=l!==0),this.#n.opcode=s,this.#n.masked=i,this.#n.fin=n,this.#n.fragmented=a}else if(this.#s===dr.PAYLOADLENGTH_16){if(this.#r<2)return e();let r=this.consume(2);if(this.#n.payloadLength=r.readUInt16BE(0),this.#s=dr.READ_DATA,!this.#A())return}else if(this.#s===dr.PAYLOADLENGTH_64){if(this.#r<8)return e();let r=this.consume(8),n=r.readUInt32BE(0),s=r.readUInt32BE(4);if(n!==0||s>2**31-1){_r(this.ws,"Received payload length > 2^31 bytes.");return}if(this.#n.payloadLength=s,this.#s=dr.READ_DATA,!this.#A())return}else if(this.#s===dr.READ_DATA){if(this.#r{if(n){let i=n instanceof dx?1009:1007;Bu(this.ws,i,n.message);return}if(this.writeFragments(s)){if(this.#c>0&&this.#t>this.#c){Bu(this.ws,1009,new dx().message);return}if(!this.#n.fin){this.#s=dr.INFO,this.#i=!0,this.run(e);return}G1(this.ws,this.#n.binaryType,this.consumeFragments()),this.#i=!0,this.#s=dr.INFO,this.run(e)}}),this.#i=!1;break}else{if(!this.writeFragments(r))return;if(this.#c>0&&this.#t>this.#c){Bu(this.ws,1009,new dx().message);return}!this.#n.fragmented&&this.#n.fin&&G1(this.ws,this.#n.binaryType,this.consumeFragments()),this.#s=dr.INFO}}}consume(e){if(e>this.#r)throw new Error("Called consume() before buffers satiated.");if(e===0)return U1;if(this.#e[0].length===e)return this.#r-=this.#e[0].length,this.#e.shift();let r=Buffer.allocUnsafe(e),n=0;for(;n!==e;){let s=this.#e[0],{length:i}=s;if(i+n===e){r.set(this.#e.shift(),n);break}else if(i+n>e){r.set(s.subarray(0,e-n),n),this.#e[0]=s.subarray(e-n);break}else r.set(this.#e.shift(),n),n+=s.length}return this.#r-=e,r}writeFragments(e){return this.#l>0&&this.#o.length===this.#l?(Bu(this.ws,1008,"Too many message fragments"),!1):(this.#t+=e.length,this.#o.push(e),!0)}consumeFragments(){let e=this.#o;if(e.length===1)return this.#t=0,e.shift();let r=Buffer.concat(e,this.#t);return this.#o=[],this.#t=0,r}parseCloseBody(e){Use(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!Hse(r))return{code:1002,reason:"Invalid status code",error:!0};let n=e.subarray(2);n[0]===239&&n[1]===187&&n[2]===191&&(n=n.subarray(3));try{n=Gse(n)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:r,reason:n,error:!1}}parseControlFrame(e){let{opcode:r,payloadLength:n}=this.#n;if(r===el.CLOSE){if(n===1)return _r(this.ws,"Received close frame with a 1-byte body."),!1;if(this.#n.closeInfo=this.parseCloseBody(e),this.#n.closeInfo.error){let{code:s,reason:i}=this.#n.closeInfo;return V1(this.ws,s,i,i.length),_r(this.ws,i),!1}if(this.ws[q1]!==O1.SENT){let s=U1;this.#n.closeInfo.code&&(s=Buffer.allocUnsafe(2),s.writeUInt16BE(this.#n.closeInfo.code,0));let i=new Y1(s);this.ws[H1].socket.write(i.createFrame(el.CLOSE),a=>{a||(this.ws[q1]=O1.SENT)})}return this.ws[qse]=Ose.CLOSING,this.ws[z1]=!0,!1}else if(r===el.PING){if(!this.ws[z1]){let s=new Y1(e);this.ws[H1].socket.write(s.createFrame(el.PONG)),Lh.ping.hasSubscribers&&Lh.ping.publish({payload:e})}}else r===el.PONG&&Lh.pong.hasSubscribers&&Lh.pong.publish({payload:e});return!0}get closingInfo(){return this.#n.closeInfo}};J1.exports={ByteParser:mx}});var Z1=g((GRe,X1)=>{"use strict";var{WebsocketFrameSend:Jse}=Dh(),{opcodes:$1,sendHints:tl}=la(),Wse=EB(),j1=Buffer[Symbol.species],px=class{static{o(this,"SendQueue")}#e=new Wse;#t=!1;#r;constructor(e){this.#r=e}add(e,r,n){if(n!==tl.blob){let i=K1(e,n);if(!this.#t)this.#r.write(i,r);else{let a={promise:null,callback:r,frame:i};this.#e.push(a)}return}let s={promise:e.arrayBuffer().then(i=>{s.promise=null,s.frame=K1(i,n)}),callback:r,frame:null};this.#e.push(s),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 K1(t,e){return new Jse($se(t,e)).createFrame(e===tl.string?$1.TEXT:$1.BINARY)}o(K1,"createFrame");function $se(t,e){switch(e){case tl.string:return Buffer.from(t);case tl.arrayBuffer:case tl.blob:return new j1(t);case tl.typedArray:return new j1(t.buffer,t.byteOffset,t.byteLength)}}o($se,"toBuffer");X1.exports={SendQueue:px}});var lU=g((VRe,cU)=>{"use strict";var{webidl:X}=kt(),{URLSerializer:jse}=ar(),{environmentSettingsObject:eU}=Rr(),{staticPropertyDescriptors:co,states:Qu,sentCloseFrameState:Kse,sendHints:_h}=la(),{kWebSocketURL:tU,kReadyState:hx,kController:rU,kBinaryType:Fh,kResponse:nU,kSentClose:Xse,kByteParser:Zse}=pu(),{isConnecting:eie,isEstablished:tie,isClosing:rie,isValidSubprotocol:nie,fireEvent:sU}=gu(),{establishWebSocketConnection:sie,closeWebSocketConnection:iU}=cx(),{ByteParser:iie}=W1(),{kEnumerableProperty:ln,isBlobLike:oU}=ce(),{getGlobalDispatcher:oie}=Zp(),{types:aU}=require("node:util"),{ErrorEvent:aie,CloseEvent:cie}=Kc(),{SendQueue:lie}=Z1(),Fr=class t extends EventTarget{static{o(this,"WebSocket")}#e={open:null,error:null,close:null,message:null};#t=0;#r="";#i="";#s;constructor(e,r=[]){super(),X.util.markAsUncloneable(this);let n="WebSocket constructor";X.argumentLengthCheck(arguments,1,n);let s=X.converters["DOMString or sequence or WebSocketInit"](r,n,"options");e=X.converters.USVString(e,n,"url"),r=s.protocols;let i=eU.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=>nie(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[tU]=new URL(a.href);let c=eU.settingsObject;this[rU]=sie(a,r,c,this,(l,A)=>this.#n(l,A),s),this[hx]=t.CONNECTING,this[Xse]=Kse.NOT_SENT,this[Fh]="blob"}close(e=void 0,r=void 0){X.brandCheck(this,t);let n="WebSocket.close";if(e!==void 0&&(e=X.converters["unsigned short"](e,n,"code",{clamp:!0})),r!==void 0&&(r=X.converters.USVString(r,n,"reason")),e!==void 0&&e!==1e3&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");let s=0;if(r!==void 0&&(s=Buffer.byteLength(r),s>123))throw new DOMException(`Reason must be less than 123 bytes; received ${s}`,"SyntaxError");iU(this,e,r,s)}send(e){X.brandCheck(this,t);let r="WebSocket.send";if(X.argumentLengthCheck(arguments,1,r),e=X.converters.WebSocketSendData(e,r,"data"),eie(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!tie(this)||rie(this)))if(typeof e=="string"){let n=Buffer.byteLength(e);this.#t+=n,this.#s.add(e,()=>{this.#t-=n},_h.string)}else aU.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#s.add(e,()=>{this.#t-=e.byteLength},_h.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#s.add(e,()=>{this.#t-=e.byteLength},_h.typedArray)):oU(e)&&(this.#t+=e.size,this.#s.add(e,()=>{this.#t-=e.size},_h.blob))}get readyState(){return X.brandCheck(this,t),this[hx]}get bufferedAmount(){return X.brandCheck(this,t),this.#t}get url(){return X.brandCheck(this,t),jse(this[tU])}get extensions(){return X.brandCheck(this,t),this.#i}get protocol(){return X.brandCheck(this,t),this.#r}get onopen(){return X.brandCheck(this,t),this.#e.open}set onopen(e){X.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 X.brandCheck(this,t),this.#e.error}set onerror(e){X.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 X.brandCheck(this,t),this.#e.close}set onclose(e){X.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 X.brandCheck(this,t),this.#e.message}set onmessage(e){X.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 X.brandCheck(this,t),this[Fh]}set binaryType(e){X.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[Fh]="blob":this[Fh]=e}#n(e,r){this[nU]=e;let n=this[rU]?.dispatcher?.webSocketOptions,s=n?.maxFragments,i=n?.maxPayloadSize,a=new iie(this,r,{maxFragments:s,maxPayloadSize:i});a.on("drain",Aie),a.on("error",uie.bind(this)),e.socket.ws=this,this[Zse]=a,this.#s=new lie(e.socket),this[hx]=Qu.OPEN;let c=e.headersList.get("sec-websocket-extensions");c!==null&&(this.#i=c);let l=e.headersList.get("sec-websocket-protocol");l!==null&&(this.#r=l),sU("open",this)}};Fr.CONNECTING=Fr.prototype.CONNECTING=Qu.CONNECTING;Fr.OPEN=Fr.prototype.OPEN=Qu.OPEN;Fr.CLOSING=Fr.prototype.CLOSING=Qu.CLOSING;Fr.CLOSED=Fr.prototype.CLOSED=Qu.CLOSED;Object.defineProperties(Fr.prototype,{CONNECTING:co,OPEN:co,CLOSING:co,CLOSED:co,url:ln,readyState:ln,bufferedAmount:ln,onopen:ln,onerror:ln,onclose:ln,close:ln,onmessage:ln,binaryType:ln,send:ln,extensions:ln,protocol:ln,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Fr,{CONNECTING:co,OPEN:co,CLOSING:co,CLOSED:co});X.converters["sequence"]=X.sequenceConverter(X.converters.DOMString);X.converters["DOMString or sequence"]=function(t,e,r){return X.util.Type(t)==="Object"&&Symbol.iterator in t?X.converters["sequence"](t):X.converters.DOMString(t,e,r)};X.converters.WebSocketInit=X.dictionaryConverter([{key:"protocols",converter:X.converters["DOMString or sequence"],defaultValue:o(()=>new Array(0),"defaultValue")},{key:"dispatcher",converter:X.converters.any,defaultValue:o(()=>oie(),"defaultValue")},{key:"headers",converter:X.nullableConverter(X.converters.HeadersInit)}]);X.converters["DOMString or sequence or WebSocketInit"]=function(t){return X.util.Type(t)==="Object"&&!(Symbol.iterator in t)?X.converters.WebSocketInit(t):{protocols:X.converters["DOMString or sequence"](t)}};X.converters.WebSocketSendData=function(t){if(X.util.Type(t)==="Object"){if(oU(t))return X.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||aU.isArrayBuffer(t))return X.converters.BufferSource(t)}return X.converters.USVString(t)};function Aie(){this.ws[nU].socket.resume()}o(Aie,"onParserDrain");function uie(t){let e,r;t instanceof cie?(e=t.reason,r=t.code):e=t.message,sU("error",this,()=>new aie("error",{error:t,message:e})),iU(this,r)}o(uie,"onParserError");cU.exports={WebSocket:Fr}});var fx=g((WRe,AU)=>{"use strict";function die(t){return t.indexOf("\0")===-1}o(die,"isValidLastEventId");function mie(t){if(t.length===0)return!1;for(let e=0;e57)return!1;return!0}o(mie,"isASCIINumber");function pie(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(pie,"delay");AU.exports={isValidLastEventId:die,isASCIINumber:mie,delay:pie}});var pU=g((jRe,mU)=>{"use strict";var{Transform:hie}=require("node:stream"),{isASCIINumber:uU,isValidLastEventId:dU}=fx(),gi=[239,187,191],gx=10,Uh=13,fie=58,gie=32,yx=class extends hie{static{o(this,"EventSourceStream")}state=null;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;buffer=null;pos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,r,n){if(e.length===0){n();return}if(this.buffer?this.buffer=Buffer.concat([this.buffer,e]):this.buffer=e,this.checkBOM)switch(this.buffer.length){case 1:if(this.buffer[0]===gi[0]){n();return}this.checkBOM=!1,n();return;case 2:if(this.buffer[0]===gi[0]&&this.buffer[1]===gi[1]){n();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===gi[0]&&this.buffer[1]===gi[1]&&this.buffer[2]===gi[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,n();return}this.checkBOM=!1;break;default:this.buffer[0]===gi[0]&&this.buffer[1]===gi[1]&&this.buffer[2]===gi[2]&&(this.buffer=this.buffer.subarray(3)),this.checkBOM=!1;break}for(;this.pos0&&(r[s]=i);break}}processEvent(e){e.retry&&uU(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&dU(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}}};mU.exports={EventSourceStream:yx}});var BU=g((XRe,IU)=>{"use strict";var{pipeline:yie}=require("node:stream"),{fetching:Eie}=Au(),{makeRequest:Cie}=Yc(),{webidl:yi}=kt(),{EventSourceStream:Iie}=pU(),{parseMIMEType:Bie}=ar(),{createFastMessageEvent:Qie}=Kc(),{isNetworkError:hU}=cu(),{delay:xie}=fx(),{kEnumerableProperty:Aa}=ce(),{environmentSettingsObject:fU}=Rr(),gU=!1,yU=3e3,xu=0,EU=1,bu=2,bie="anonymous",wie="use-credentials",rl=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#r=!1;#i=xu;#s=null;#n=null;#o;#a;constructor(e,r={}){super(),yi.util.markAsUncloneable(this);let n="EventSource constructor";yi.argumentLengthCheck(arguments,1,n),gU||(gU=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=yi.converters.USVString(e,n,"url"),r=yi.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:yU};let s=fU,i;try{i=new URL(e,s.settingsObject.baseUrl),this.#a.origin=i.origin}catch(l){throw new DOMException(l,"SyntaxError")}this.#t=i.href;let a=bie;r.withCredentials&&(a=wie,this.#r=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=fU.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#s=Cie(c),this.#l()}get readyState(){return this.#i}get url(){return this.#t}get withCredentials(){return this.#r}#l(){if(this.#i===bu)return;this.#i=xu;let e={request:this.#s,dispatcher:this.#o},r=o(n=>{hU(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#c()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=n=>{if(hU(n))if(n.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#c();return}let s=n.headersList.get("content-type",!0),i=s!==null?Bie(s):"failure",a=i!=="failure"&&i.essence==="text/event-stream";if(n.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#i=EU,this.dispatchEvent(new Event("open")),this.#a.origin=n.urlList[n.urlList.length-1].origin;let c=new Iie({eventSourceSettings:this.#a,push:o(l=>{this.dispatchEvent(Qie(l.type,l.options))},"push")});yie(n.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#n=Eie(e)}async#c(){this.#i!==bu&&(this.#i=xu,this.dispatchEvent(new Event("error")),await xie(this.#a.reconnectionTime),this.#i===xu&&(this.#a.lastEventId.length&&this.#s.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#l()))}close(){yi.brandCheck(this,t),this.#i!==bu&&(this.#i=bu,this.#n.abort(),this.#s=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}},CU={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:xu,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:EU,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:bu,writable:!1}};Object.defineProperties(rl,CU);Object.defineProperties(rl.prototype,CU);Object.defineProperties(rl.prototype,{close:Aa,onerror:Aa,onmessage:Aa,onopen:Aa,readyState:Aa,url:Aa,withCredentials:Aa});yi.converters.EventSourceInitDict=yi.dictionaryConverter([{key:"withCredentials",converter:yi.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"dispatcher",converter:yi.converters.any}]);IU.exports={EventSource:rl,defaultReconnectionTime:yU}});var Ex=g((ePe,K)=>{"use strict";var Nie=Rc(),QU=RA(),Sie=Pc(),Rie=CL(),Pie=vc(),vie=UB(),Die=GL(),kie=KL(),xU=ye(),qh=ce(),{InvalidArgumentError:Oh}=xU,nl=__(),Tie=vA(),Mie=CQ(),Lie=E2(),_ie=QQ(),Fie=aQ(),Uie=zp(),{getGlobalDispatcher:bU,setGlobalDispatcher:Oie}=Zp(),qie=eh(),Hie=Dp(),zie=kp();Object.assign(QU.prototype,nl);K.exports.Dispatcher=QU;K.exports.Client=Nie;K.exports.Pool=Sie;K.exports.BalancedPool=Rie;K.exports.Agent=Pie;K.exports.ProxyAgent=vie;K.exports.EnvHttpProxyAgent=Die;K.exports.RetryAgent=kie;K.exports.RetryHandler=Uie;K.exports.DecoratorHandler=qie;K.exports.RedirectHandler=Hie;K.exports.createRedirectInterceptor=zie;K.exports.interceptors={redirect:w2(),retry:S2(),dump:P2(),dns:k2()};K.exports.buildConnector=Tie;K.exports.errors=xU;K.exports.util={parseHeaders:qh.parseHeaders,headerNameToString:qh.headerNameToString};function wu(t){return(e,r,n)=>{if(typeof r=="function"&&(n=r,r=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new Oh("invalid url");if(r!=null&&typeof r!="object")throw new Oh("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new Oh("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(qh.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=qh.parseURL(e);let{agent:s,dispatcher:i=bU()}=r;if(s)throw new Oh("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")},n)}}o(wu,"makeDispatcher");K.exports.setGlobalDispatcher=Oie;K.exports.getGlobalDispatcher=bU;var Gie=Au().fetch;K.exports.fetch=o(async function(e,r=void 0){try{return await Gie(e,r)}catch(n){throw n&&typeof n=="object"&&Error.captureStackTrace(n),n}},"fetch");K.exports.Headers=na().Headers;K.exports.Response=cu().Response;K.exports.Request=Yc().Request;K.exports.FormData=FA().FormData;K.exports.File=globalThis.File??require("node:buffer").File;K.exports.FileReader=$F().FileReader;var{setGlobalOrigin:Yie,getGlobalOrigin:Vie}=OI();K.exports.setGlobalOrigin=Yie;K.exports.getGlobalOrigin=Vie;var{CacheStorage:Jie}=s1(),{kConstruct:Wie}=Ih();K.exports.caches=new Jie(Wie);var{deleteCookie:$ie,getCookies:jie,getSetCookies:Kie,setCookie:Xie}=h1();K.exports.deleteCookie=$ie;K.exports.getCookies=jie;K.exports.getSetCookies=Kie;K.exports.setCookie=Xie;var{parseMIMEType:Zie,serializeAMimeType:eoe}=ar();K.exports.parseMIMEType=Zie;K.exports.serializeAMimeType=eoe;var{CloseEvent:toe,ErrorEvent:roe,MessageEvent:noe}=Kc();K.exports.WebSocket=lU().WebSocket;K.exports.CloseEvent=toe;K.exports.ErrorEvent=roe;K.exports.MessageEvent=noe;K.exports.request=wu(nl.request);K.exports.stream=wu(nl.stream);K.exports.pipeline=wu(nl.pipeline);K.exports.connect=wu(nl.connect);K.exports.upgrade=wu(nl.upgrade);K.exports.MockClient=Mie;K.exports.MockPool=_ie;K.exports.MockAgent=Lie;K.exports.mockErrors=Fie;var{EventSource:soe}=BU();K.exports.EventSource=soe});var Tu=g((Rve,sO)=>{"use strict";var boe="2.0.0",woe=Number.MAX_SAFE_INTEGER||9007199254740991,Noe=16,Soe=250,Roe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];sO.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Noe,MAX_SAFE_BUILD_LENGTH:Soe,MAX_SAFE_INTEGER:woe,RELEASE_TYPES:Roe,SEMVER_SPEC_VERSION:boe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Mu=g((Pve,iO)=>{"use strict";var Poe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};iO.exports=Poe});var ll=g((gs,oO)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Ox,MAX_SAFE_BUILD_LENGTH:voe,MAX_LENGTH:Doe}=Tu(),koe=Mu();gs=oO.exports={};var Toe=gs.re=[],Moe=gs.safeRe=[],T=gs.src=[],Loe=gs.safeSrc=[],M=gs.t={},_oe=0,qx="[a-zA-Z0-9-]",Foe=[["\\s",1],["\\d",Doe],[qx,voe]],Uoe=o(t=>{for(let[e,r]of Foe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),te=o((t,e,r)=>{let n=Uoe(e),s=_oe++;koe(t,s,e),M[t]=s,T[s]=e,Loe[s]=n,Toe[s]=new RegExp(e,r?"g":void 0),Moe[s]=new RegExp(n,r?"g":void 0)},"createToken");te("NUMERICIDENTIFIER","0|[1-9]\\d*");te("NUMERICIDENTIFIERLOOSE","\\d+");te("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${qx}*`);te("MAINVERSION",`(${T[M.NUMERICIDENTIFIER]})\\.(${T[M.NUMERICIDENTIFIER]})\\.(${T[M.NUMERICIDENTIFIER]})`);te("MAINVERSIONLOOSE",`(${T[M.NUMERICIDENTIFIERLOOSE]})\\.(${T[M.NUMERICIDENTIFIERLOOSE]})\\.(${T[M.NUMERICIDENTIFIERLOOSE]})`);te("PRERELEASEIDENTIFIER",`(?:${T[M.NONNUMERICIDENTIFIER]}|${T[M.NUMERICIDENTIFIER]})`);te("PRERELEASEIDENTIFIERLOOSE",`(?:${T[M.NONNUMERICIDENTIFIER]}|${T[M.NUMERICIDENTIFIERLOOSE]})`);te("PRERELEASE",`(?:-(${T[M.PRERELEASEIDENTIFIER]}(?:\\.${T[M.PRERELEASEIDENTIFIER]})*))`);te("PRERELEASELOOSE",`(?:-?(${T[M.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${T[M.PRERELEASEIDENTIFIERLOOSE]})*))`);te("BUILDIDENTIFIER",`${qx}+`);te("BUILD",`(?:\\+(${T[M.BUILDIDENTIFIER]}(?:\\.${T[M.BUILDIDENTIFIER]})*))`);te("FULLPLAIN",`v?${T[M.MAINVERSION]}${T[M.PRERELEASE]}?${T[M.BUILD]}?`);te("FULL",`^${T[M.FULLPLAIN]}$`);te("LOOSEPLAIN",`[v=\\s]*${T[M.MAINVERSIONLOOSE]}${T[M.PRERELEASELOOSE]}?${T[M.BUILD]}?`);te("LOOSE",`^${T[M.LOOSEPLAIN]}$`);te("GTLT","((?:<|>)?=?)");te("XRANGEIDENTIFIERLOOSE",`${T[M.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);te("XRANGEIDENTIFIER",`${T[M.NUMERICIDENTIFIER]}|x|X|\\*`);te("XRANGEPLAIN",`[v=\\s]*(${T[M.XRANGEIDENTIFIER]})(?:\\.(${T[M.XRANGEIDENTIFIER]})(?:\\.(${T[M.XRANGEIDENTIFIER]})(?:${T[M.PRERELEASE]})?${T[M.BUILD]}?)?)?`);te("XRANGEPLAINLOOSE",`[v=\\s]*(${T[M.XRANGEIDENTIFIERLOOSE]})(?:\\.(${T[M.XRANGEIDENTIFIERLOOSE]})(?:\\.(${T[M.XRANGEIDENTIFIERLOOSE]})(?:${T[M.PRERELEASELOOSE]})?${T[M.BUILD]}?)?)?`);te("XRANGE",`^${T[M.GTLT]}\\s*${T[M.XRANGEPLAIN]}$`);te("XRANGELOOSE",`^${T[M.GTLT]}\\s*${T[M.XRANGEPLAINLOOSE]}$`);te("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Ox}})(?:\\.(\\d{1,${Ox}}))?(?:\\.(\\d{1,${Ox}}))?`);te("COERCE",`${T[M.COERCEPLAIN]}(?:$|[^\\d])`);te("COERCEFULL",T[M.COERCEPLAIN]+`(?:${T[M.PRERELEASE]})?(?:${T[M.BUILD]})?(?:$|[^\\d])`);te("COERCERTL",T[M.COERCE],!0);te("COERCERTLFULL",T[M.COERCEFULL],!0);te("LONETILDE","(?:~>?)");te("TILDETRIM",`(\\s*)${T[M.LONETILDE]}\\s+`,!0);gs.tildeTrimReplace="$1~";te("TILDE",`^${T[M.LONETILDE]}${T[M.XRANGEPLAIN]}$`);te("TILDELOOSE",`^${T[M.LONETILDE]}${T[M.XRANGEPLAINLOOSE]}$`);te("LONECARET","(?:\\^)");te("CARETTRIM",`(\\s*)${T[M.LONECARET]}\\s+`,!0);gs.caretTrimReplace="$1^";te("CARET",`^${T[M.LONECARET]}${T[M.XRANGEPLAIN]}$`);te("CARETLOOSE",`^${T[M.LONECARET]}${T[M.XRANGEPLAINLOOSE]}$`);te("COMPARATORLOOSE",`^${T[M.GTLT]}\\s*(${T[M.LOOSEPLAIN]})$|^$`);te("COMPARATOR",`^${T[M.GTLT]}\\s*(${T[M.FULLPLAIN]})$|^$`);te("COMPARATORTRIM",`(\\s*)${T[M.GTLT]}\\s*(${T[M.LOOSEPLAIN]}|${T[M.XRANGEPLAIN]})`,!0);gs.comparatorTrimReplace="$1$2$3";te("HYPHENRANGE",`^\\s*(${T[M.XRANGEPLAIN]})\\s+-\\s+(${T[M.XRANGEPLAIN]})\\s*$`);te("HYPHENRANGELOOSE",`^\\s*(${T[M.XRANGEPLAINLOOSE]})\\s+-\\s+(${T[M.XRANGEPLAINLOOSE]})\\s*$`);te("STAR","(<|>)?=?\\s*\\*");te("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");te("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Wh=g((Dve,aO)=>{"use strict";var Ooe=Object.freeze({loose:!0}),qoe=Object.freeze({}),Hoe=o(t=>t?typeof t!="object"?Ooe:t:qoe,"parseOptions");aO.exports=Hoe});var Hx=g((Tve,AO)=>{"use strict";var cO=/^[0-9]+$/,lO=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tlO(e,t),"rcompareIdentifiers");AO.exports={compareIdentifiers:lO,rcompareIdentifiers:zoe}});var Ut=g((Lve,dO)=>{"use strict";var $h=Mu(),{MAX_LENGTH:uO,MAX_SAFE_INTEGER:jh}=Tu(),{safeRe:Kh,t:Xh}=ll(),Goe=Wh(),{compareIdentifiers:zx}=Hx(),Gx=class t{static{o(this,"SemVer")}constructor(e,r){if(r=Goe(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>uO)throw new TypeError(`version is longer than ${uO} characters`);$h("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?Kh[Xh.LOOSE]:Kh[Xh.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>jh||this.major<0)throw new TypeError("Invalid major version");if(this.minor>jh||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>jh||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){let i=+s;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 n=this.prerelease[r],s=e.prerelease[r];if($h("prerelease compare",r,n,s),n===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(n===void 0)return-1;if(n===s)continue;return zx(n,s)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let n=this.build[r],s=e.build[r];if($h("build compare",r,n,s),n===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(n===void 0)return-1;if(n===s)continue;return zx(n,s)}while(++r)}inc(e,r,n){if(e.startsWith("pre")){if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let s=`-${r}`.match(this.options.loose?Kh[Xh.PRERELEASELOOSE]:Kh[Xh.PRERELEASE]);if(!s||s[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,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);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 s=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[s];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(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(r){let i=[r,s];n===!1&&(i=[r]),zx(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};dO.exports=Gx});var ha=g((Fve,pO)=>{"use strict";var mO=Ut(),Yoe=o((t,e,r=!1)=>{if(t instanceof mO)return t;try{return new mO(t,e)}catch(n){if(!r)return null;throw n}},"parse");pO.exports=Yoe});var fO=g((Ove,hO)=>{"use strict";var Voe=ha(),Joe=o((t,e)=>{let r=Voe(t,e);return r?r.version:null},"valid");hO.exports=Joe});var yO=g((Hve,gO)=>{"use strict";var Woe=ha(),$oe=o((t,e)=>{let r=Woe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");gO.exports=$oe});var IO=g((Gve,CO)=>{"use strict";var EO=Ut(),joe=o((t,e,r,n,s)=>{typeof r=="string"&&(s=n,n=r,r=void 0);try{return new EO(t instanceof EO?t.version:t,r).inc(e,n,s).version}catch{return null}},"inc");CO.exports=joe});var xO=g((Vve,QO)=>{"use strict";var BO=ha(),Koe=o((t,e)=>{let r=BO(t,null,!0),n=BO(e,null,!0),s=r.compare(n);if(s===0)return null;let i=s>0,a=i?r:n,c=i?n: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 u=l?"pre":"";return r.major!==n.major?u+"major":r.minor!==n.minor?u+"minor":r.patch!==n.patch?u+"patch":"prerelease"},"diff");QO.exports=Koe});var wO=g((Wve,bO)=>{"use strict";var Xoe=Ut(),Zoe=o((t,e)=>new Xoe(t,e).major,"major");bO.exports=Zoe});var SO=g((jve,NO)=>{"use strict";var eae=Ut(),tae=o((t,e)=>new eae(t,e).minor,"minor");NO.exports=tae});var PO=g((Xve,RO)=>{"use strict";var rae=Ut(),nae=o((t,e)=>new rae(t,e).patch,"patch");RO.exports=nae});var DO=g((eDe,vO)=>{"use strict";var sae=ha(),iae=o((t,e)=>{let r=sae(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");vO.exports=iae});var An=g((rDe,TO)=>{"use strict";var kO=Ut(),oae=o((t,e,r)=>new kO(t,r).compare(new kO(e,r)),"compare");TO.exports=oae});var LO=g((sDe,MO)=>{"use strict";var aae=An(),cae=o((t,e,r)=>aae(e,t,r),"rcompare");MO.exports=cae});var FO=g((oDe,_O)=>{"use strict";var lae=An(),Aae=o((t,e)=>lae(t,e,!0),"compareLoose");_O.exports=Aae});var Zh=g((cDe,OO)=>{"use strict";var UO=Ut(),uae=o((t,e,r)=>{let n=new UO(t,r),s=new UO(e,r);return n.compare(s)||n.compareBuild(s)},"compareBuild");OO.exports=uae});var HO=g((ADe,qO)=>{"use strict";var dae=Zh(),mae=o((t,e)=>t.sort((r,n)=>dae(r,n,e)),"sort");qO.exports=mae});var GO=g((dDe,zO)=>{"use strict";var pae=Zh(),hae=o((t,e)=>t.sort((r,n)=>pae(n,r,e)),"rsort");zO.exports=hae});var Lu=g((pDe,YO)=>{"use strict";var fae=An(),gae=o((t,e,r)=>fae(t,e,r)>0,"gt");YO.exports=gae});var ef=g((fDe,VO)=>{"use strict";var yae=An(),Eae=o((t,e,r)=>yae(t,e,r)<0,"lt");VO.exports=Eae});var Yx=g((yDe,JO)=>{"use strict";var Cae=An(),Iae=o((t,e,r)=>Cae(t,e,r)===0,"eq");JO.exports=Iae});var Vx=g((CDe,WO)=>{"use strict";var Bae=An(),Qae=o((t,e,r)=>Bae(t,e,r)!==0,"neq");WO.exports=Qae});var tf=g((BDe,$O)=>{"use strict";var xae=An(),bae=o((t,e,r)=>xae(t,e,r)>=0,"gte");$O.exports=bae});var rf=g((xDe,jO)=>{"use strict";var wae=An(),Nae=o((t,e,r)=>wae(t,e,r)<=0,"lte");jO.exports=Nae});var Jx=g((wDe,KO)=>{"use strict";var Sae=Yx(),Rae=Vx(),Pae=Lu(),vae=tf(),Dae=ef(),kae=rf(),Tae=o((t,e,r,n)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return Sae(t,r,n);case"!=":return Rae(t,r,n);case">":return Pae(t,r,n);case">=":return vae(t,r,n);case"<":return Dae(t,r,n);case"<=":return kae(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");KO.exports=Tae});var ZO=g((SDe,XO)=>{"use strict";var Mae=Ut(),Lae=ha(),{safeRe:nf,t:sf}=ll(),_ae=o((t,e)=>{if(t instanceof Mae)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?nf[sf.COERCEFULL]:nf[sf.COERCE]);else{let l=e.includePrerelease?nf[sf.COERCERTLFULL]:nf[sf.COERCERTL],A;for(;(A=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||A.index+A[0].length!==r.index+r[0].length)&&(r=A),l.lastIndex=A.index+A[1].length+A[2].length;l.lastIndex=-1}if(r===null)return null;let n=r[2],s=r[3]||"0",i=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return Lae(`${n}.${s}.${i}${a}${c}`,e)},"coerce");XO.exports=_ae});var tq=g((PDe,eq)=>{"use strict";var Wx=class{static{o(this,"LRUCache")}constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let s=this.map.keys().next().value;this.delete(s)}this.map.set(e,r)}return this}};eq.exports=Wx});var un=g((DDe,iq)=>{"use strict";var Fae=/\s+/g,$x=class t{static{o(this,"Range")}constructor(e,r){if(r=Oae(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof jx)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(Fae," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(s=>!nq(s[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let s of this.set)if(s.length===1&&Jae(s[0])){this.set=[s];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 n=0;n0&&(this.formatted+=" "),this.formatted+=r[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let n=((this.options.includePrerelease&&Yae)|(this.options.loose&&Vae))+":"+e,s=rq.get(n);if(s)return s;let i=this.options.loose,a=i?jt[Ot.HYPHENRANGELOOSE]:jt[Ot.HYPHENRANGE];e=e.replace(a,nce(this.options.includePrerelease)),_e("hyphen replace",e),e=e.replace(jt[Ot.COMPARATORTRIM],Hae),_e("comparator trim",e),e=e.replace(jt[Ot.TILDETRIM],zae),_e("tilde trim",e),e=e.replace(jt[Ot.CARETTRIM],Gae),_e("caret trim",e);let c=e.split(" ").map(d=>Wae(d,this.options)).join(" ").split(/\s+/).map(d=>rce(d,this.options));i&&(c=c.filter(d=>(_e("loose invalid filter",d,this.options),!!d.match(jt[Ot.COMPARATORLOOSE])))),_e("range list",c);let l=new Map,A=c.map(d=>new jx(d,this.options));for(let d of A){if(nq(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let u=[...l.values()];return rq.set(n,u),u}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>sq(n,r)&&e.set.some(s=>sq(s,r)&&n.every(i=>s.every(a=>i.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new qae(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),Jae=o(t=>t.value==="","isAny"),sq=o((t,e)=>{let r=!0,n=t.slice(),s=n.pop();for(;r&&n.length;)r=n.every(i=>s.intersects(i,e)),s=n.pop();return r},"isSatisfiable"),Wae=o((t,e)=>(t=t.replace(jt[Ot.BUILD],""),_e("comp",t,e),t=Kae(t,e),_e("caret",t),t=$ae(t,e),_e("tildes",t),t=Zae(t,e),_e("xrange",t),t=tce(t,e),_e("stars",t),t),"parseComparator"),Kt=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),$ae=o((t,e)=>t.trim().split(/\s+/).map(r=>jae(r,e)).join(" "),"replaceTildes"),jae=o((t,e)=>{let r=e.loose?jt[Ot.TILDELOOSE]:jt[Ot.TILDE];return t.replace(r,(n,s,i,a,c)=>{_e("tilde",t,n,s,i,a,c);let l;return Kt(s)?l="":Kt(i)?l=`>=${s}.0.0 <${+s+1}.0.0-0`:Kt(a)?l=`>=${s}.${i}.0 <${s}.${+i+1}.0-0`:c?(_e("replaceTilde pr",c),l=`>=${s}.${i}.${a}-${c} <${s}.${+i+1}.0-0`):l=`>=${s}.${i}.${a} <${s}.${+i+1}.0-0`,_e("tilde return",l),l})},"replaceTilde"),Kae=o((t,e)=>t.trim().split(/\s+/).map(r=>Xae(r,e)).join(" "),"replaceCarets"),Xae=o((t,e)=>{_e("caret",t,e);let r=e.loose?jt[Ot.CARETLOOSE]:jt[Ot.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(s,i,a,c,l)=>{_e("caret",t,s,i,a,c,l);let A;return Kt(i)?A="":Kt(a)?A=`>=${i}.0.0${n} <${+i+1}.0.0-0`:Kt(c)?i==="0"?A=`>=${i}.${a}.0${n} <${i}.${+a+1}.0-0`:A=`>=${i}.${a}.0${n} <${+i+1}.0.0-0`:l?(_e("replaceCaret pr",l),i==="0"?a==="0"?A=`>=${i}.${a}.${c}-${l} <${i}.${a}.${+c+1}-0`:A=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`:A=`>=${i}.${a}.${c}-${l} <${+i+1}.0.0-0`):(_e("no pr"),i==="0"?a==="0"?A=`>=${i}.${a}.${c}${n} <${i}.${a}.${+c+1}-0`:A=`>=${i}.${a}.${c}${n} <${i}.${+a+1}.0-0`:A=`>=${i}.${a}.${c} <${+i+1}.0.0-0`),_e("caret return",A),A})},"replaceCaret"),Zae=o((t,e)=>(_e("replaceXRanges",t,e),t.split(/\s+/).map(r=>ece(r,e)).join(" ")),"replaceXRanges"),ece=o((t,e)=>{t=t.trim();let r=e.loose?jt[Ot.XRANGELOOSE]:jt[Ot.XRANGE];return t.replace(r,(n,s,i,a,c,l)=>{_e("xRange",t,n,s,i,a,c,l);let A=Kt(i),u=A||Kt(a),d=u||Kt(c),m=d;return s==="="&&m&&(s=""),l=e.includePrerelease?"-0":"",A?s===">"||s==="<"?n="<0.0.0-0":n="*":s&&m?(u&&(a=0),c=0,s===">"?(s=">=",u?(i=+i+1,a=0,c=0):(a=+a+1,c=0)):s==="<="&&(s="<",u?i=+i+1:a=+a+1),s==="<"&&(l="-0"),n=`${s+i}.${a}.${c}${l}`):u?n=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),_e("xRange return",n),n})},"replaceXRange"),tce=o((t,e)=>(_e("replaceStars",t,e),t.trim().replace(jt[Ot.STAR],"")),"replaceStars"),rce=o((t,e)=>(_e("replaceGTE0",t,e),t.trim().replace(jt[e.includePrerelease?Ot.GTE0PRE:Ot.GTE0],"")),"replaceGTE0"),nce=o(t=>(e,r,n,s,i,a,c,l,A,u,d,m)=>(Kt(n)?r="":Kt(s)?r=`>=${n}.0.0${t?"-0":""}`:Kt(i)?r=`>=${n}.${s}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Kt(A)?l="":Kt(u)?l=`<${+A+1}.0.0-0`:Kt(d)?l=`<${A}.${+u+1}.0-0`:m?l=`<=${A}.${u}.${d}-${m}`:t?l=`<${A}.${u}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),sce=o((t,e,r)=>{for(let n=0;n0){let s=t[n].semver;if(s.major===e.major&&s.minor===e.minor&&s.patch===e.patch)return!0}return!1}return!0},"testSet")});var _u=g((TDe,uq)=>{"use strict";var Fu=Symbol("SemVer ANY"),Zx=class t{static{o(this,"Comparator")}static get ANY(){return Fu}constructor(e,r){if(r=oq(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Xx("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Fu?this.value="":this.value=this.operator+this.semver.version,Xx("comp",this)}parse(e){let r=this.options.loose?aq[cq.COMPARATORLOOSE]:aq[cq.COMPARATOR],n=e.match(r);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new lq(n[2],this.options.loose):this.semver=Fu}toString(){return this.value}test(e){if(Xx("Comparator.test",e,this.options.loose),this.semver===Fu||e===Fu)return!0;if(typeof e=="string")try{e=new lq(e,this.options)}catch{return!1}return Kx(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 Aq(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new Aq(this.value,r).test(e.semver):(r=oq(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("=")||Kx(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Kx(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};uq.exports=Zx;var oq=Wh(),{safeRe:aq,t:cq}=ll(),Kx=Jx(),Xx=Mu(),lq=Ut(),Aq=un()});var Uu=g((LDe,dq)=>{"use strict";var ice=un(),oce=o((t,e,r)=>{try{e=new ice(e,r)}catch{return!1}return e.test(t)},"satisfies");dq.exports=oce});var pq=g((FDe,mq)=>{"use strict";var ace=un(),cce=o((t,e)=>new ace(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");mq.exports=cce});var fq=g((ODe,hq)=>{"use strict";var lce=Ut(),Ace=un(),uce=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new Ace(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===-1)&&(n=a,s=new lce(n,r))}),n},"maxSatisfying");hq.exports=uce});var yq=g((HDe,gq)=>{"use strict";var dce=Ut(),mce=un(),pce=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new mce(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===1)&&(n=a,s=new dce(n,r))}),n},"minSatisfying");gq.exports=pce});var Iq=g((GDe,Cq)=>{"use strict";var eb=Ut(),hce=un(),Eq=Lu(),fce=o((t,e)=>{t=new hce(t,e);let r=new eb("0.0.0");if(t.test(r)||(r=new eb("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n{let c=new eb(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||Eq(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||Eq(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");Cq.exports=fce});var Qq=g((VDe,Bq)=>{"use strict";var gce=un(),yce=o((t,e)=>{try{return new gce(t,e).range||"*"}catch{return null}},"validRange");Bq.exports=yce});var of=g((WDe,Nq)=>{"use strict";var Ece=Ut(),wq=_u(),{ANY:Cce}=wq,Ice=un(),Bce=Uu(),xq=Lu(),bq=ef(),Qce=rf(),xce=tf(),bce=o((t,e,r,n)=>{t=new Ece(t,n),e=new Ice(e,n);let s,i,a,c,l;switch(r){case">":s=xq,i=Qce,a=bq,c=">",l=">=";break;case"<":s=bq,i=xce,a=xq,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Bce(t,e,n))return!1;for(let A=0;A{p.semver===Cce&&(p=new wq(">=0.0.0")),d=d||p,m=m||p,s(p.semver,d.semver,n)?d=p:a(p.semver,m.semver,n)&&(m=p)}),d.operator===c||d.operator===l||(!m.operator||m.operator===c)&&i(t,m.semver))return!1;if(m.operator===l&&a(t,m.semver))return!1}return!0},"outside");Nq.exports=bce});var Rq=g((jDe,Sq)=>{"use strict";var wce=of(),Nce=o((t,e,r)=>wce(t,e,">",r),"gtr");Sq.exports=Nce});var vq=g((XDe,Pq)=>{"use strict";var Sce=of(),Rce=o((t,e,r)=>Sce(t,e,"<",r),"ltr");Pq.exports=Rce});var Tq=g((eke,kq)=>{"use strict";var Dq=un(),Pce=o((t,e,r)=>(t=new Dq(t,r),e=new Dq(e,r),t.intersects(e,r)),"intersects");kq.exports=Pce});var Lq=g((rke,Mq)=>{"use strict";var vce=Uu(),Dce=An();Mq.exports=(t,e,r)=>{let n=[],s=null,i=null,a=t.sort((u,d)=>Dce(u,d,r));for(let u of a)vce(u,e,r)?(i=u,s||(s=u)):(i&&n.push([s,i]),i=null,s=null);s&&n.push([s,null]);let c=[];for(let[u,d]of n)u===d?c.push(u):!d&&u===a[0]?c.push("*"):d?u===a[0]?c.push(`<=${d}`):c.push(`${u} - ${d}`):c.push(`>=${u}`);let l=c.join(" || "),A=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var _q=un(),rb=_u(),{ANY:tb}=rb,Ou=Uu(),nb=An(),kce=o((t,e,r={})=>{if(t===e)return!0;t=new _q(t,r),e=new _q(e,r);let n=!1;e:for(let s of t.set){for(let i of e.set){let a=Mce(s,i,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),Tce=[new rb(">=0.0.0-0")],Fq=[new rb(">=0.0.0")],Mce=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===tb){if(e.length===1&&e[0].semver===tb)return!0;r.includePrerelease?t=Tce:t=Fq}if(e.length===1&&e[0].semver===tb){if(r.includePrerelease)return!0;e=Fq}let n=new Set,s,i;for(let p of t)p.operator===">"||p.operator===">="?s=Uq(s,p,r):p.operator==="<"||p.operator==="<="?i=Oq(i,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(s&&i){if(a=nb(s.semver,i.semver,r),a>0)return null;if(a===0&&(s.operator!==">="||i.operator!=="<="))return null}for(let p of n){if(s&&!Ou(p,String(s),r)||i&&!Ou(p,String(i),r))return null;for(let h of e)if(!Ou(p,String(h),r))return!1;return!0}let c,l,A,u,d=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,m=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1;d&&d.prerelease.length===1&&i.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let p of e){if(u=u||p.operator===">"||p.operator===">=",A=A||p.operator==="<"||p.operator==="<=",s){if(m&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===m.major&&p.semver.minor===m.minor&&p.semver.patch===m.patch&&(m=!1),p.operator===">"||p.operator===">="){if(c=Uq(s,p,r),c===p&&c!==s)return!1}else if(s.operator===">="&&!Ou(s.semver,String(p),r))return!1}if(i){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator==="<"||p.operator==="<="){if(l=Oq(i,p,r),l===p&&l!==i)return!1}else if(i.operator==="<="&&!Ou(i.semver,String(p),r))return!1}if(!p.operator&&(i||s)&&a!==0)return!1}return!(s&&A&&!i&&a!==0||i&&u&&!s&&a!==0||m||d)},"simpleSubset"),Uq=o((t,e,r)=>{if(!t)return e;let n=nb(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),Oq=o((t,e,r)=>{if(!t)return e;let n=nb(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");qq.exports=kce});var ib=g((ike,Yq)=>{"use strict";var sb=ll(),zq=Tu(),Lce=Ut(),Gq=Hx(),_ce=ha(),Fce=fO(),Uce=yO(),Oce=IO(),qce=xO(),Hce=wO(),zce=SO(),Gce=PO(),Yce=DO(),Vce=An(),Jce=LO(),Wce=FO(),$ce=Zh(),jce=HO(),Kce=GO(),Xce=Lu(),Zce=ef(),ele=Yx(),tle=Vx(),rle=tf(),nle=rf(),sle=Jx(),ile=ZO(),ole=_u(),ale=un(),cle=Uu(),lle=pq(),Ale=fq(),ule=yq(),dle=Iq(),mle=Qq(),ple=of(),hle=Rq(),fle=vq(),gle=Tq(),yle=Lq(),Ele=Hq();Yq.exports={parse:_ce,valid:Fce,clean:Uce,inc:Oce,diff:qce,major:Hce,minor:zce,patch:Gce,prerelease:Yce,compare:Vce,rcompare:Jce,compareLoose:Wce,compareBuild:$ce,sort:jce,rsort:Kce,gt:Xce,lt:Zce,eq:ele,neq:tle,gte:rle,lte:nle,cmp:sle,coerce:ile,Comparator:ole,Range:ale,satisfies:cle,toComparators:lle,maxSatisfying:Ale,minSatisfying:ule,minVersion:dle,validRange:mle,outside:ple,gtr:hle,ltr:fle,intersects:gle,simplifyRange:yle,subset:Ele,SemVer:Lce,re:sb.re,src:sb.src,tokens:sb.t,SEMVER_SPEC_VERSION:zq.SEMVER_SPEC_VERSION,RELEASE_TYPES:zq.RELEASE_TYPES,compareIdentifiers:Gq.compareIdentifiers,rcompareIdentifiers:Gq.rcompareIdentifiers}});var aH=g((ATe,oH)=>{oH.exports=function(t,e){for(var r=[],n=0;n{"use strict";uH.exports=lH;function lH(t,e,r){t instanceof RegExp&&(t=cH(t,r)),e instanceof RegExp&&(e=cH(e,r));var n=AH(t,e,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+t.length,n[1]),post:r.slice(n[1]+e.length)}}o(lH,"balanced");function cH(t,e){var r=e.match(t);return r?r[0]:null}o(cH,"maybeMatch");lH.range=AH;function AH(t,e,r){var n,s,i,a,c,l=r.indexOf(t),A=r.indexOf(e,l+1),u=l;if(l>=0&&A>0){if(t===e)return[l,A];for(n=[],i=r.length;u>=0&&!c;)u==l?(n.push(u),l=r.indexOf(t,u+1)):n.length==1?c=[n.pop(),A]:(s=n.pop(),s=0?l:A;n.length&&(c=[i,a])}return c}o(AH,"range")});var CH=g((pTe,EH)=>{var mTe=aH(),mH=dH();EH.exports=Ole;var pH="\0SLASH"+Math.random()+"\0",hH="\0OPEN"+Math.random()+"\0",fb="\0CLOSE"+Math.random()+"\0",fH="\0COMMA"+Math.random()+"\0",gH="\0PERIOD"+Math.random()+"\0",Lle=1e5,_le=4e6;function pb(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(pb,"numeric");function Fle(t){return t.split("\\\\").join(pH).split("\\{").join(hH).split("\\}").join(fb).split("\\,").join(fH).split("\\.").join(gH)}o(Fle,"escapeBraces");function Ule(t){return t.split(pH).join("\\").split(hH).join("{").split(fb).join("}").split(fH).join(",").split(gH).join(".")}o(Ule,"unescapeBraces");function yH(t){if(!t)return[""];var e=[],r=mH("{","}",t);if(!r)return t.split(",");var n=r.pre,s=r.body,i=r.post,a=n.split(",");a[a.length-1]+="{"+s+"}";var c=yH(i);return i.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(yH,"parseCommaParts");function Ole(t,e){if(!t)return[];e=e||{};var r=e.max==null?Lle:e.max,n=e.maxLength==null?_le:e.maxLength;return t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),hb(Fle(t),r,n,!0).map(Ule)}o(Ole,"expandTop");function qle(t){return"{"+t+"}"}o(qle,"embrace");function Hle(t){return/^-?0\d/.test(t)}o(Hle,"isPadded");function zle(t,e){return t<=e}o(zle,"lte");function Gle(t,e){return t>=e}o(Gle,"gte");function Yu(t,e,r,n,s,i,a,c){for(var l=[],A=0,u=0;u=s)return l;var m=t[u]+r+n[d];if(!(a&&m.length===e[u])){if(A+m.length>i)return l;l.push(m),c.push(e[u]),A+=m.length}}return l}o(Yu,"combine");function Yle(t,e,r,n){var s=t.split(/\.\./),i=[];if(s[0]===void 0||s[1]===void 0)return i;var a=pb(s[0]),c=pb(s[1]),l=Math.max(s[0].length,s[1].length),A=s.length===3&&s[2]!==void 0?Math.max(Math.abs(pb(s[2])),1):1,u=zle,d=c0){var y=new Array(C+1).join("0");h<0?f="-"+y+f.slice(1):f=y+f}}if(p+f.length>n)break;i.push(f),p+=f.length}return i}o(Yle,"expandSequence");function hb(t,e,r,n){for(var s=[""],i=[0],a=!1,c=!0,l;;){var A=mH("{","}",t);if(!A)return Yu(s,i,t,[""],e,r,a,[]);var u=A.pre;if(/\$$/.test(u))return Yu(s,i,t,[""],e,r,a,[]);var d=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(A.body),m=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(A.body),p=d||m,h=A.body.indexOf(",")>=0;if(!p&&!h){if(A.post.match(/,(?!,).*\}/)){t=A.pre+"{"+A.body+fb+A.post,n=!0,c=!0,a=!1,i=[];for(var f=0;f=e||B+de.length>r)break e;C.push(de),B+=de.length}}}if(l=[],s=Yu(s,i,u,C,e,r,a&&!A.post.length,l),i=l,!A.post.length)break;t=A.post}return s}o(hb,"expand")});var wH=g((fTe,bH)=>{bH.exports=Or;Or.Minimatch=Tt;var Vu=(function(){try{return require("path")}catch{}})()||{sep:"/"};Or.sep=Vu.sep;var Eb=Or.GLOBSTAR=Tt.GLOBSTAR={},Vle=CH(),IH={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},gb="[^/]",yb=gb+"*?",Jle="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",Wle="(?:(?!(?:\\/|^)\\.).)*?",BH=$le("().*{}+?[]^$\\!");function $le(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}o($le,"charSet");var QH=/\/+/;Or.filter=jle;function jle(t,e){return e=e||{},function(r,n,s){return Or(r,t,e)}}o(jle,"filter");function ho(t,e){e=e||{};var r={};return Object.keys(t).forEach(function(n){r[n]=t[n]}),Object.keys(e).forEach(function(n){r[n]=e[n]}),r}o(ho,"ext");Or.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return Or;var e=Or,r=o(function(s,i,a){return e(s,i,ho(t,a))},"minimatch");return r.Minimatch=o(function(s,i){return new e.Minimatch(s,ho(t,i))},"Minimatch"),r.Minimatch.defaults=o(function(s){return e.defaults(ho(t,s)).Minimatch},"defaults"),r.filter=o(function(s,i){return e.filter(s,ho(t,i))},"filter"),r.defaults=o(function(s){return e.defaults(ho(t,s))},"defaults"),r.makeRe=o(function(s,i){return e.makeRe(s,ho(t,i))},"makeRe"),r.braceExpand=o(function(s,i){return e.braceExpand(s,ho(t,i))},"braceExpand"),r.match=function(n,s,i){return e.match(n,s,ho(t,i))},r};Tt.defaults=function(t){return Or.defaults(t).Minimatch};function Or(t,e,r){return uf(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new Tt(e,r).match(t)}o(Or,"minimatch");function Tt(t,e){if(!(this instanceof Tt))return new Tt(t,e);uf(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&Vu.sep!=="/"&&(t=t.split(Vu.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(Tt,"Minimatch");Tt.prototype.debug=function(){};Tt.prototype.make=Kle;function Kle(){var t=this.pattern,e=this.options;if(!e.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate();var r=this.globSet=this.braceExpand();e.debug&&(this.debug=o(function(){console.error.apply(console,arguments)},"debug")),this.debug(this.pattern,r),r=this.globParts=r.map(function(n){return n.split(QH)}),this.debug(this.pattern,r),r=r.map(function(n,s,i){return n.map(this.parse,this)},this),this.debug(this.pattern,r),r=r.filter(function(n){return n.indexOf(!1)===-1}),this.debug(this.pattern,r),this.set=r}o(Kle,"make");Tt.prototype.parseNegate=Xle;function Xle(){var t=this.pattern,e=!1,r=this.options,n=0;if(!r.nonegate){for(var s=0,i=t.length;s"u"?this.pattern:t,uf(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:Vle(t)}o(xH,"braceExpand");var Zle=1024*64,uf=o(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>Zle)throw new TypeError("pattern is too long")},"assertValidPattern");Tt.prototype.parse=eAe;var Af={};function eAe(t,e){uf(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return Eb;if(t==="")return"";var n="",s=!!r.nocase,i=!1,a=[],c=[],l,A=!1,u=-1,d=-1,m=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",p=this;function h(){if(l){switch(l){case"*":n+=yb,s=!0;break;case"?":n+=gb,s=!0;break;default:n+="\\"+l;break}p.debug("clearStateChar %j %j",l,n),l=!1}}o(h,"clearStateChar");for(var f=0,C=t.length,y;f-1;de--){var be=c[de],Be=n.slice(0,be.reStart),Ne=n.slice(be.reStart,be.reEnd-8),ae=n.slice(be.reEnd-8,be.reEnd),De=n.slice(be.reEnd);ae+=De;var ee=Be.split("(").length-1,Yt=De;for(f=0;f"u"&&(r=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;var n=this.options;Vu.sep!=="/"&&(e=e.split(Vu.sep).join("/")),e=e.split(QH),this.debug(this.pattern,"split",e);var s=this.set;this.debug(this.pattern,"set",s);var i,a;for(a=e.length-1;a>=0&&(i=e[a],!i);a--);for(a=0;a>> no match, partial?`,t,u,e,d),u===a))}var p;if(typeof l=="string"?(p=A===l,this.debug("string match",l,A,p)):(p=A.match(l),this.debug("pattern match",l,A,p)),!p)return!1}if(s===a&&i===c)return!0;if(s===a)return r;if(i===c)return s===a-1&&t[s]==="";throw new Error("wtf?")};function Ule(t){return t.replace(/\\(.)/g,"$1")}o(Ule,"globUnescape");function Ole(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(Ole,"regExpEscape")});var Wu=g((yTe,bH)=>{"use strict";var Wle="2.0.0",$le=Number.MAX_SAFE_INTEGER||9007199254740991,jle=16,Kle=250,Xle=["major","premajor","minor","preminor","patch","prepatch","prerelease"];bH.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:jle,MAX_SAFE_BUILD_LENGTH:Kle,MAX_SAFE_INTEGER:$le,RELEASE_TYPES:Xle,SEMVER_SPEC_VERSION:Wle,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var $u=g((ETe,wH)=>{"use strict";var Zle=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};wH.exports=Zle});var dl=g((gs,NH)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:yb,MAX_SAFE_BUILD_LENGTH:eAe,MAX_LENGTH:tAe}=Wu(),rAe=$u();gs=NH.exports={};var nAe=gs.re=[],sAe=gs.safeRe=[],L=gs.src=[],iAe=gs.safeSrc=[],_=gs.t={},oAe=0,Eb="[a-zA-Z0-9-]",aAe=[["\\s",1],["\\d",tAe],[Eb,eAe]],cAe=o(t=>{for(let[e,r]of aAe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),re=o((t,e,r)=>{let n=cAe(e),s=oAe++;rAe(t,s,e),_[t]=s,L[s]=e,iAe[s]=n,nAe[s]=new RegExp(e,r?"g":void 0),sAe[s]=new RegExp(n,r?"g":void 0)},"createToken");re("NUMERICIDENTIFIER","0|[1-9]\\d*");re("NUMERICIDENTIFIERLOOSE","\\d+");re("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Eb}*`);re("MAINVERSION",`(${L[_.NUMERICIDENTIFIER]})\\.(${L[_.NUMERICIDENTIFIER]})\\.(${L[_.NUMERICIDENTIFIER]})`);re("MAINVERSIONLOOSE",`(${L[_.NUMERICIDENTIFIERLOOSE]})\\.(${L[_.NUMERICIDENTIFIERLOOSE]})\\.(${L[_.NUMERICIDENTIFIERLOOSE]})`);re("PRERELEASEIDENTIFIER",`(?:${L[_.NONNUMERICIDENTIFIER]}|${L[_.NUMERICIDENTIFIER]})`);re("PRERELEASEIDENTIFIERLOOSE",`(?:${L[_.NONNUMERICIDENTIFIER]}|${L[_.NUMERICIDENTIFIERLOOSE]})`);re("PRERELEASE",`(?:-(${L[_.PRERELEASEIDENTIFIER]}(?:\\.${L[_.PRERELEASEIDENTIFIER]})*))`);re("PRERELEASELOOSE",`(?:-?(${L[_.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${L[_.PRERELEASEIDENTIFIERLOOSE]})*))`);re("BUILDIDENTIFIER",`${Eb}+`);re("BUILD",`(?:\\+(${L[_.BUILDIDENTIFIER]}(?:\\.${L[_.BUILDIDENTIFIER]})*))`);re("FULLPLAIN",`v?${L[_.MAINVERSION]}${L[_.PRERELEASE]}?${L[_.BUILD]}?`);re("FULL",`^${L[_.FULLPLAIN]}$`);re("LOOSEPLAIN",`[v=\\s]*${L[_.MAINVERSIONLOOSE]}${L[_.PRERELEASELOOSE]}?${L[_.BUILD]}?`);re("LOOSE",`^${L[_.LOOSEPLAIN]}$`);re("GTLT","((?:<|>)?=?)");re("XRANGEIDENTIFIERLOOSE",`${L[_.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);re("XRANGEIDENTIFIER",`${L[_.NUMERICIDENTIFIER]}|x|X|\\*`);re("XRANGEPLAIN",`[v=\\s]*(${L[_.XRANGEIDENTIFIER]})(?:\\.(${L[_.XRANGEIDENTIFIER]})(?:\\.(${L[_.XRANGEIDENTIFIER]})(?:${L[_.PRERELEASE]})?${L[_.BUILD]}?)?)?`);re("XRANGEPLAINLOOSE",`[v=\\s]*(${L[_.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[_.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[_.XRANGEIDENTIFIERLOOSE]})(?:${L[_.PRERELEASELOOSE]})?${L[_.BUILD]}?)?)?`);re("XRANGE",`^${L[_.GTLT]}\\s*${L[_.XRANGEPLAIN]}$`);re("XRANGELOOSE",`^${L[_.GTLT]}\\s*${L[_.XRANGEPLAINLOOSE]}$`);re("COERCEPLAIN",`(^|[^\\d])(\\d{1,${yb}})(?:\\.(\\d{1,${yb}}))?(?:\\.(\\d{1,${yb}}))?`);re("COERCE",`${L[_.COERCEPLAIN]}(?:$|[^\\d])`);re("COERCEFULL",L[_.COERCEPLAIN]+`(?:${L[_.PRERELEASE]})?(?:${L[_.BUILD]})?(?:$|[^\\d])`);re("COERCERTL",L[_.COERCE],!0);re("COERCERTLFULL",L[_.COERCEFULL],!0);re("LONETILDE","(?:~>?)");re("TILDETRIM",`(\\s*)${L[_.LONETILDE]}\\s+`,!0);gs.tildeTrimReplace="$1~";re("TILDE",`^${L[_.LONETILDE]}${L[_.XRANGEPLAIN]}$`);re("TILDELOOSE",`^${L[_.LONETILDE]}${L[_.XRANGEPLAINLOOSE]}$`);re("LONECARET","(?:\\^)");re("CARETTRIM",`(\\s*)${L[_.LONECARET]}\\s+`,!0);gs.caretTrimReplace="$1^";re("CARET",`^${L[_.LONECARET]}${L[_.XRANGEPLAIN]}$`);re("CARETLOOSE",`^${L[_.LONECARET]}${L[_.XRANGEPLAINLOOSE]}$`);re("COMPARATORLOOSE",`^${L[_.GTLT]}\\s*(${L[_.LOOSEPLAIN]})$|^$`);re("COMPARATOR",`^${L[_.GTLT]}\\s*(${L[_.FULLPLAIN]})$|^$`);re("COMPARATORTRIM",`(\\s*)${L[_.GTLT]}\\s*(${L[_.LOOSEPLAIN]}|${L[_.XRANGEPLAIN]})`,!0);gs.comparatorTrimReplace="$1$2$3";re("HYPHENRANGE",`^\\s*(${L[_.XRANGEPLAIN]})\\s+-\\s+(${L[_.XRANGEPLAIN]})\\s*$`);re("HYPHENRANGELOOSE",`^\\s*(${L[_.XRANGEPLAINLOOSE]})\\s+-\\s+(${L[_.XRANGEPLAINLOOSE]})\\s*$`);re("STAR","(<|>)?=?\\s*\\*");re("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");re("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var df=g((ITe,SH)=>{"use strict";var lAe=Object.freeze({loose:!0}),AAe=Object.freeze({}),uAe=o(t=>t?typeof t!="object"?lAe:t:AAe,"parseOptions");SH.exports=uAe});var Cb=g((QTe,vH)=>{"use strict";var RH=/^[0-9]+$/,PH=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tPH(e,t),"rcompareIdentifiers");vH.exports={compareIdentifiers:PH,rcompareIdentifiers:dAe}});var qt=g((bTe,kH)=>{"use strict";var mf=$u(),{MAX_LENGTH:DH,MAX_SAFE_INTEGER:pf}=Wu(),{safeRe:hf,t:ff}=dl(),mAe=df(),{compareIdentifiers:Ib}=Cb(),Bb=class t{static{o(this,"SemVer")}constructor(e,r){if(r=mAe(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>DH)throw new TypeError(`version is longer than ${DH} characters`);mf("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?hf[ff.LOOSE]:hf[ff.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>pf||this.major<0)throw new TypeError("Invalid major version");if(this.minor>pf||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>pf||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){let i=+s;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 n=this.prerelease[r],s=e.prerelease[r];if(mf("prerelease compare",r,n,s),n===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(n===void 0)return-1;if(n===s)continue;return Ib(n,s)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let n=this.build[r],s=e.build[r];if(mf("build compare",r,n,s),n===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(n===void 0)return-1;if(n===s)continue;return Ib(n,s)}while(++r)}inc(e,r,n){if(e.startsWith("pre")){if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let s=`-${r}`.match(this.options.loose?hf[ff.PRERELEASELOOSE]:hf[ff.PRERELEASE]);if(!s||s[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,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);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 s=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[s];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(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(r){let i=[r,s];n===!1&&(i=[r]),Ib(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}};kH.exports=Bb});var ga=g((NTe,MH)=>{"use strict";var TH=qt(),pAe=o((t,e,r=!1)=>{if(t instanceof TH)return t;try{return new TH(t,e)}catch(n){if(!r)return null;throw n}},"parse");MH.exports=pAe});var _H=g((RTe,LH)=>{"use strict";var hAe=ga(),fAe=o((t,e)=>{let r=hAe(t,e);return r?r.version:null},"valid");LH.exports=fAe});var UH=g((vTe,FH)=>{"use strict";var gAe=ga(),yAe=o((t,e)=>{let r=gAe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");FH.exports=yAe});var HH=g((kTe,qH)=>{"use strict";var OH=qt(),EAe=o((t,e,r,n,s)=>{typeof r=="string"&&(s=n,n=r,r=void 0);try{return new OH(t instanceof OH?t.version:t,r).inc(e,n,s).version}catch{return null}},"inc");qH.exports=EAe});var YH=g((MTe,GH)=>{"use strict";var zH=ga(),CAe=o((t,e)=>{let r=zH(t,null,!0),n=zH(e,null,!0),s=r.compare(n);if(s===0)return null;let i=s>0,a=i?r:n,c=i?n: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 u=l?"pre":"";return r.major!==n.major?u+"major":r.minor!==n.minor?u+"minor":r.patch!==n.patch?u+"patch":"prerelease"},"diff");GH.exports=CAe});var JH=g((_Te,VH)=>{"use strict";var IAe=qt(),BAe=o((t,e)=>new IAe(t,e).major,"major");VH.exports=BAe});var $H=g((UTe,WH)=>{"use strict";var QAe=qt(),xAe=o((t,e)=>new QAe(t,e).minor,"minor");WH.exports=xAe});var KH=g((qTe,jH)=>{"use strict";var bAe=qt(),wAe=o((t,e)=>new bAe(t,e).patch,"patch");jH.exports=wAe});var ZH=g((zTe,XH)=>{"use strict";var NAe=ga(),SAe=o((t,e)=>{let r=NAe(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");XH.exports=SAe});var pn=g((YTe,tz)=>{"use strict";var ez=qt(),RAe=o((t,e,r)=>new ez(t,r).compare(new ez(e,r)),"compare");tz.exports=RAe});var nz=g((JTe,rz)=>{"use strict";var PAe=pn(),vAe=o((t,e,r)=>PAe(e,t,r),"rcompare");rz.exports=vAe});var iz=g(($Te,sz)=>{"use strict";var DAe=pn(),kAe=o((t,e)=>DAe(t,e,!0),"compareLoose");sz.exports=kAe});var gf=g((KTe,az)=>{"use strict";var oz=qt(),TAe=o((t,e,r)=>{let n=new oz(t,r),s=new oz(e,r);return n.compare(s)||n.compareBuild(s)},"compareBuild");az.exports=TAe});var lz=g((ZTe,cz)=>{"use strict";var MAe=gf(),LAe=o((t,e)=>t.sort((r,n)=>MAe(r,n,e)),"sort");cz.exports=LAe});var uz=g((tMe,Az)=>{"use strict";var _Ae=gf(),FAe=o((t,e)=>t.sort((r,n)=>_Ae(n,r,e)),"rsort");Az.exports=FAe});var ju=g((nMe,dz)=>{"use strict";var UAe=pn(),OAe=o((t,e,r)=>UAe(t,e,r)>0,"gt");dz.exports=OAe});var yf=g((iMe,mz)=>{"use strict";var qAe=pn(),HAe=o((t,e,r)=>qAe(t,e,r)<0,"lt");mz.exports=HAe});var Qb=g((aMe,pz)=>{"use strict";var zAe=pn(),GAe=o((t,e,r)=>zAe(t,e,r)===0,"eq");pz.exports=GAe});var xb=g((lMe,hz)=>{"use strict";var YAe=pn(),VAe=o((t,e,r)=>YAe(t,e,r)!==0,"neq");hz.exports=VAe});var Ef=g((uMe,fz)=>{"use strict";var JAe=pn(),WAe=o((t,e,r)=>JAe(t,e,r)>=0,"gte");fz.exports=WAe});var Cf=g((mMe,gz)=>{"use strict";var $Ae=pn(),jAe=o((t,e,r)=>$Ae(t,e,r)<=0,"lte");gz.exports=jAe});var bb=g((hMe,yz)=>{"use strict";var KAe=Qb(),XAe=xb(),ZAe=ju(),eue=Ef(),tue=yf(),rue=Cf(),nue=o((t,e,r,n)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return KAe(t,r,n);case"!=":return XAe(t,r,n);case">":return ZAe(t,r,n);case">=":return eue(t,r,n);case"<":return tue(t,r,n);case"<=":return rue(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");yz.exports=nue});var Cz=g((gMe,Ez)=>{"use strict";var sue=qt(),iue=ga(),{safeRe:If,t:Bf}=dl(),oue=o((t,e)=>{if(t instanceof sue)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?If[Bf.COERCEFULL]:If[Bf.COERCE]);else{let l=e.includePrerelease?If[Bf.COERCERTLFULL]:If[Bf.COERCERTL],A;for(;(A=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||A.index+A[0].length!==r.index+r[0].length)&&(r=A),l.lastIndex=A.index+A[1].length+A[2].length;l.lastIndex=-1}if(r===null)return null;let n=r[2],s=r[3]||"0",i=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return iue(`${n}.${s}.${i}${a}${c}`,e)},"coerce");Ez.exports=oue});var Bz=g((EMe,Iz)=>{"use strict";var wb=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 s=this.map.keys().next().value;this.delete(s)}this.map.set(e,r)}return this}};Iz.exports=wb});var hn=g((IMe,wz)=>{"use strict";var aue=/\s+/g,Nb=class t{static{o(this,"Range")}constructor(e,r){if(r=lue(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof Sb)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(aue," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(s=>!xz(s[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let s of this.set)if(s.length===1&&fue(s[0])){this.set=[s];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 n=0;n0&&(this.formatted+=" "),this.formatted+=r[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let n=((this.options.includePrerelease&&pue)|(this.options.loose&&hue))+":"+e,s=Qz.get(n);if(s)return s;let i=this.options.loose,a=i?Xt[Ht.HYPHENRANGELOOSE]:Xt[Ht.HYPHENRANGE];e=e.replace(a,wue(this.options.includePrerelease)),Fe("hyphen replace",e),e=e.replace(Xt[Ht.COMPARATORTRIM],uue),Fe("comparator trim",e),e=e.replace(Xt[Ht.TILDETRIM],due),Fe("tilde trim",e),e=e.replace(Xt[Ht.CARETTRIM],mue),Fe("caret trim",e);let c=e.split(" ").map(d=>gue(d,this.options)).join(" ").split(/\s+/).map(d=>bue(d,this.options));i&&(c=c.filter(d=>(Fe("loose invalid filter",d,this.options),!!d.match(Xt[Ht.COMPARATORLOOSE])))),Fe("range list",c);let l=new Map,A=c.map(d=>new Sb(d,this.options));for(let d of A){if(xz(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let u=[...l.values()];return Qz.set(n,u),u}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>bz(n,r)&&e.set.some(s=>bz(s,r)&&n.every(i=>s.every(a=>i.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new Aue(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),fue=o(t=>t.value==="","isAny"),bz=o((t,e)=>{let r=!0,n=t.slice(),s=n.pop();for(;r&&n.length;)r=n.every(i=>s.intersects(i,e)),s=n.pop();return r},"isSatisfiable"),gue=o((t,e)=>(t=t.replace(Xt[Ht.BUILD],""),Fe("comp",t,e),t=Cue(t,e),Fe("caret",t),t=yue(t,e),Fe("tildes",t),t=Bue(t,e),Fe("xrange",t),t=xue(t,e),Fe("stars",t),t),"parseComparator"),Zt=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),yue=o((t,e)=>t.trim().split(/\s+/).map(r=>Eue(r,e)).join(" "),"replaceTildes"),Eue=o((t,e)=>{let r=e.loose?Xt[Ht.TILDELOOSE]:Xt[Ht.TILDE];return t.replace(r,(n,s,i,a,c)=>{Fe("tilde",t,n,s,i,a,c);let l;return Zt(s)?l="":Zt(i)?l=`>=${s}.0.0 <${+s+1}.0.0-0`:Zt(a)?l=`>=${s}.${i}.0 <${s}.${+i+1}.0-0`:c?(Fe("replaceTilde pr",c),l=`>=${s}.${i}.${a}-${c} <${s}.${+i+1}.0-0`):l=`>=${s}.${i}.${a} <${s}.${+i+1}.0-0`,Fe("tilde return",l),l})},"replaceTilde"),Cue=o((t,e)=>t.trim().split(/\s+/).map(r=>Iue(r,e)).join(" "),"replaceCarets"),Iue=o((t,e)=>{Fe("caret",t,e);let r=e.loose?Xt[Ht.CARETLOOSE]:Xt[Ht.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(s,i,a,c,l)=>{Fe("caret",t,s,i,a,c,l);let A;return Zt(i)?A="":Zt(a)?A=`>=${i}.0.0${n} <${+i+1}.0.0-0`:Zt(c)?i==="0"?A=`>=${i}.${a}.0${n} <${i}.${+a+1}.0-0`:A=`>=${i}.${a}.0${n} <${+i+1}.0.0-0`:l?(Fe("replaceCaret pr",l),i==="0"?a==="0"?A=`>=${i}.${a}.${c}-${l} <${i}.${a}.${+c+1}-0`:A=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`:A=`>=${i}.${a}.${c}-${l} <${+i+1}.0.0-0`):(Fe("no pr"),i==="0"?a==="0"?A=`>=${i}.${a}.${c}${n} <${i}.${a}.${+c+1}-0`:A=`>=${i}.${a}.${c}${n} <${i}.${+a+1}.0-0`:A=`>=${i}.${a}.${c} <${+i+1}.0.0-0`),Fe("caret return",A),A})},"replaceCaret"),Bue=o((t,e)=>(Fe("replaceXRanges",t,e),t.split(/\s+/).map(r=>Que(r,e)).join(" ")),"replaceXRanges"),Que=o((t,e)=>{t=t.trim();let r=e.loose?Xt[Ht.XRANGELOOSE]:Xt[Ht.XRANGE];return t.replace(r,(n,s,i,a,c,l)=>{Fe("xRange",t,n,s,i,a,c,l);let A=Zt(i),u=A||Zt(a),d=u||Zt(c),m=d;return s==="="&&m&&(s=""),l=e.includePrerelease?"-0":"",A?s===">"||s==="<"?n="<0.0.0-0":n="*":s&&m?(u&&(a=0),c=0,s===">"?(s=">=",u?(i=+i+1,a=0,c=0):(a=+a+1,c=0)):s==="<="&&(s="<",u?i=+i+1:a=+a+1),s==="<"&&(l="-0"),n=`${s+i}.${a}.${c}${l}`):u?n=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),Fe("xRange return",n),n})},"replaceXRange"),xue=o((t,e)=>(Fe("replaceStars",t,e),t.trim().replace(Xt[Ht.STAR],"")),"replaceStars"),bue=o((t,e)=>(Fe("replaceGTE0",t,e),t.trim().replace(Xt[e.includePrerelease?Ht.GTE0PRE:Ht.GTE0],"")),"replaceGTE0"),wue=o(t=>(e,r,n,s,i,a,c,l,A,u,d,m)=>(Zt(n)?r="":Zt(s)?r=`>=${n}.0.0${t?"-0":""}`:Zt(i)?r=`>=${n}.${s}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Zt(A)?l="":Zt(u)?l=`<${+A+1}.0.0-0`:Zt(d)?l=`<${A}.${+u+1}.0-0`:m?l=`<=${A}.${u}.${d}-${m}`:t?l=`<${A}.${u}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),Nue=o((t,e,r)=>{for(let n=0;n0){let s=t[n].semver;if(s.major===e.major&&s.minor===e.minor&&s.patch===e.patch)return!0}return!1}return!0},"testSet")});var Ku=g((QMe,Dz)=>{"use strict";var Xu=Symbol("SemVer ANY"),vb=class t{static{o(this,"Comparator")}static get ANY(){return Xu}constructor(e,r){if(r=Nz(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Pb("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Xu?this.value="":this.value=this.operator+this.semver.version,Pb("comp",this)}parse(e){let r=this.options.loose?Sz[Rz.COMPARATORLOOSE]:Sz[Rz.COMPARATOR],n=e.match(r);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new Pz(n[2],this.options.loose):this.semver=Xu}toString(){return this.value}test(e){if(Pb("Comparator.test",e,this.options.loose),this.semver===Xu||e===Xu)return!0;if(typeof e=="string")try{e=new Pz(e,this.options)}catch{return!1}return Rb(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 vz(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new vz(this.value,r).test(e.semver):(r=Nz(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("=")||Rb(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Rb(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};Dz.exports=vb;var Nz=df(),{safeRe:Sz,t:Rz}=dl(),Rb=bb(),Pb=$u(),Pz=qt(),vz=hn()});var Zu=g((bMe,kz)=>{"use strict";var Sue=hn(),Rue=o((t,e,r)=>{try{e=new Sue(e,r)}catch{return!1}return e.test(t)},"satisfies");kz.exports=Rue});var Mz=g((NMe,Tz)=>{"use strict";var Pue=hn(),vue=o((t,e)=>new Pue(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");Tz.exports=vue});var _z=g((RMe,Lz)=>{"use strict";var Due=qt(),kue=hn(),Tue=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new kue(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===-1)&&(n=a,s=new Due(n,r))}),n},"maxSatisfying");Lz.exports=Tue});var Uz=g((vMe,Fz)=>{"use strict";var Mue=qt(),Lue=hn(),_ue=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new Lue(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===1)&&(n=a,s=new Mue(n,r))}),n},"minSatisfying");Fz.exports=_ue});var Hz=g((kMe,qz)=>{"use strict";var Db=qt(),Fue=hn(),Oz=ju(),Uue=o((t,e)=>{t=new Fue(t,e);let r=new Db("0.0.0");if(t.test(r)||(r=new Db("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n{let c=new Db(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||Oz(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||Oz(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");qz.exports=Uue});var Gz=g((MMe,zz)=>{"use strict";var Oue=hn(),que=o((t,e)=>{try{return new Oue(t,e).range||"*"}catch{return null}},"validRange");zz.exports=que});var Qf=g((_Me,Wz)=>{"use strict";var Hue=qt(),Jz=Ku(),{ANY:zue}=Jz,Gue=hn(),Yue=Zu(),Yz=ju(),Vz=yf(),Vue=Cf(),Jue=Ef(),Wue=o((t,e,r,n)=>{t=new Hue(t,n),e=new Gue(e,n);let s,i,a,c,l;switch(r){case">":s=Yz,i=Vue,a=Vz,c=">",l=">=";break;case"<":s=Vz,i=Jue,a=Yz,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Yue(t,e,n))return!1;for(let A=0;A{p.semver===zue&&(p=new Jz(">=0.0.0")),d=d||p,m=m||p,s(p.semver,d.semver,n)?d=p:a(p.semver,m.semver,n)&&(m=p)}),d.operator===c||d.operator===l||(!m.operator||m.operator===c)&&i(t,m.semver))return!1;if(m.operator===l&&a(t,m.semver))return!1}return!0},"outside");Wz.exports=Wue});var jz=g((UMe,$z)=>{"use strict";var $ue=Qf(),jue=o((t,e,r)=>$ue(t,e,">",r),"gtr");$z.exports=jue});var Xz=g((qMe,Kz)=>{"use strict";var Kue=Qf(),Xue=o((t,e,r)=>Kue(t,e,"<",r),"ltr");Kz.exports=Xue});var tG=g((zMe,eG)=>{"use strict";var Zz=hn(),Zue=o((t,e,r)=>(t=new Zz(t,r),e=new Zz(e,r),t.intersects(e,r)),"intersects");eG.exports=Zue});var nG=g((YMe,rG)=>{"use strict";var ede=Zu(),tde=pn();rG.exports=(t,e,r)=>{let n=[],s=null,i=null,a=t.sort((u,d)=>tde(u,d,r));for(let u of a)ede(u,e,r)?(i=u,s||(s=u)):(i&&n.push([s,i]),i=null,s=null);s&&n.push([s,null]);let c=[];for(let[u,d]of n)u===d?c.push(u):!d&&u===a[0]?c.push("*"):d?u===a[0]?c.push(`<=${d}`):c.push(`${u} - ${d}`):c.push(`>=${u}`);let l=c.join(" || "),A=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var sG=hn(),Tb=Ku(),{ANY:kb}=Tb,ed=Zu(),Mb=pn(),rde=o((t,e,r={})=>{if(t===e)return!0;t=new sG(t,r),e=new sG(e,r);let n=!1;e:for(let s of t.set){for(let i of e.set){let a=sde(s,i,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),nde=[new Tb(">=0.0.0-0")],iG=[new Tb(">=0.0.0")],sde=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===kb){if(e.length===1&&e[0].semver===kb)return!0;r.includePrerelease?t=nde:t=iG}if(e.length===1&&e[0].semver===kb){if(r.includePrerelease)return!0;e=iG}let n=new Set,s,i;for(let p of t)p.operator===">"||p.operator===">="?s=oG(s,p,r):p.operator==="<"||p.operator==="<="?i=aG(i,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(s&&i){if(a=Mb(s.semver,i.semver,r),a>0)return null;if(a===0&&(s.operator!==">="||i.operator!=="<="))return null}for(let p of n){if(s&&!ed(p,String(s),r)||i&&!ed(p,String(i),r))return null;for(let h of e)if(!ed(p,String(h),r))return!1;return!0}let c,l,A,u,d=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,m=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1;d&&d.prerelease.length===1&&i.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let p of e){if(u=u||p.operator===">"||p.operator===">=",A=A||p.operator==="<"||p.operator==="<=",s){if(m&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===m.major&&p.semver.minor===m.minor&&p.semver.patch===m.patch&&(m=!1),p.operator===">"||p.operator===">="){if(c=oG(s,p,r),c===p&&c!==s)return!1}else if(s.operator===">="&&!ed(s.semver,String(p),r))return!1}if(i){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator==="<"||p.operator==="<="){if(l=aG(i,p,r),l===p&&l!==i)return!1}else if(i.operator==="<="&&!ed(i.semver,String(p),r))return!1}if(!p.operator&&(i||s)&&a!==0)return!1}return!(s&&A&&!i&&a!==0||i&&u&&!s&&a!==0||m||d)},"simpleSubset"),oG=o((t,e,r)=>{if(!t)return e;let n=Mb(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),aG=o((t,e,r)=>{if(!t)return e;let n=Mb(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");cG.exports=rde});var mG=g((WMe,dG)=>{"use strict";var Lb=dl(),AG=Wu(),ide=qt(),uG=Cb(),ode=ga(),ade=_H(),cde=UH(),lde=HH(),Ade=YH(),ude=JH(),dde=$H(),mde=KH(),pde=ZH(),hde=pn(),fde=nz(),gde=iz(),yde=gf(),Ede=lz(),Cde=uz(),Ide=ju(),Bde=yf(),Qde=Qb(),xde=xb(),bde=Ef(),wde=Cf(),Nde=bb(),Sde=Cz(),Rde=Ku(),Pde=hn(),vde=Zu(),Dde=Mz(),kde=_z(),Tde=Uz(),Mde=Hz(),Lde=Gz(),_de=Qf(),Fde=jz(),Ude=Xz(),Ode=tG(),qde=nG(),Hde=lG();dG.exports={parse:ode,valid:ade,clean:cde,inc:lde,diff:Ade,major:ude,minor:dde,patch:mde,prerelease:pde,compare:hde,rcompare:fde,compareLoose:gde,compareBuild:yde,sort:Ede,rsort:Cde,gt:Ide,lt:Bde,eq:Qde,neq:xde,gte:bde,lte:wde,cmp:Nde,coerce:Sde,Comparator:Rde,Range:Pde,satisfies:vde,toComparators:Dde,maxSatisfying:kde,minSatisfying:Tde,minVersion:Mde,validRange:Lde,outside:_de,gtr:Fde,ltr:Ude,intersects:Ode,simplifyRange:qde,subset:Hde,SemVer:ide,re:Lb.re,src:Lb.src,tokens:Lb.t,SEMVER_SPEC_VERSION:AG.SEMVER_SPEC_VERSION,RELEASE_TYPES:AG.RELEASE_TYPES,compareIdentifiers:uG.compareIdentifiers,rcompareIdentifiers:uG.rcompareIdentifiers}});var tY=g((Z_e,eY)=>{var El=1e3,Cl=El*60,Il=Cl*60,xa=Il*24,xme=xa*7,bme=xa*365.25;eY.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return wme(t);if(r==="number"&&isFinite(t))return e.long?Sme(t):Nme(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function wme(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*bme;case"weeks":case"week":case"w":return r*xme;case"days":case"day":case"d":return r*xa;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Il;case"minutes":case"minute":case"mins":case"min":case"m":return r*Cl;case"seconds":case"second":case"secs":case"sec":case"s":return r*El;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(wme,"parse");function Nme(t){var e=Math.abs(t);return e>=xa?Math.round(t/xa)+"d":e>=Il?Math.round(t/Il)+"h":e>=Cl?Math.round(t/Cl)+"m":e>=El?Math.round(t/El)+"s":t+"ms"}o(Nme,"fmtShort");function Sme(t){var e=Math.abs(t);return e>=xa?Wf(t,e,xa,"day"):e>=Il?Wf(t,e,Il,"hour"):e>=Cl?Wf(t,e,Cl,"minute"):e>=El?Wf(t,e,El,"second"):t+" ms"}o(Sme,"fmtLong");function Wf(t,e,r,n){var s=e>=r*1.5;return Math.round(t/r)+" "+n+(s?"s":"")}o(Wf,"plural")});var aw=g((t2e,rY)=>{function Rme(t){r.debug=r,r.default=r,r.coerce=l,r.disable=i,r.enable=s,r.enabled=a,r.humanize=tY(),r.destroy=A,Object.keys(t).forEach(u=>{r[u]=t[u]}),r.names=[],r.skips=[],r.formatters={};function e(u){let d=0;for(let m=0;m{if(S==="%%")return"%";B++;let ue=r.formatters[F];if(typeof ue=="function"){let be=C[B];S=ue.call(y,be),C.splice(B,1),B--}return S}),r.formatArgs.call(y,C),(y.log||r.log).apply(y,C)}return o(f,"debug"),f.namespace=u,f.useColors=r.useColors(),f.color=r.selectColor(u),f.extend=n,f.destroy=r.destroy,Object.defineProperty(f,"enabled",{enumerable:!0,configurable:!1,get:o(()=>m!==null?m:(p!==r.namespaces&&(p=r.namespaces,h=r.enabled(u)),h),"get"),set:o(C=>{m=C},"set")}),typeof r.init=="function"&&r.init(f),f}o(r,"createDebug");function n(u,d){let m=r(this.namespace+(typeof d>"u"?":":d)+u);return m.log=this.log,m}o(n,"extend");function s(u){r.save(u),r.namespaces=u,r.names=[],r.skips=[];let d,m=(typeof u=="string"?u:"").split(/[\s,]+/),p=m.length;for(d=0;d"-"+d)].join(",");return r.enable(""),u}o(i,"disable");function a(u){if(u[u.length-1]==="*")return!0;let d,m;for(d=0,m=r.skips.length;d{zr.formatArgs=vme;zr.save=Dme;zr.load=kme;zr.useColors=Pme;zr.storage=Tme();zr.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`."))}})();zr.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 Pme(){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(Pme,"useColors");function vme(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+$f.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,s=>{s!=="%%"&&(r++,s==="%c"&&(n=r))}),t.splice(n,0,e)}o(vme,"formatArgs");zr.log=console.debug||console.log||(()=>{});function Dme(t){try{t?zr.storage.setItem("debug",t):zr.storage.removeItem("debug")}catch{}}o(Dme,"save");function kme(){let t;try{t=zr.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(kme,"load");function Tme(){try{return localStorage}catch{}}o(Tme,"localstorage");$f.exports=aw()(zr);var{formatters:Mme}=$f.exports;Mme.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var iY=g((s2e,sY)=>{"use strict";sY.exports=(t,e=process.argv)=>{let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),s=e.indexOf("--");return n!==-1&&(s===-1||n{"use strict";var Lme=require("os"),oY=require("tty"),gn=iY(),{env:Nt}=process,Eo;gn("no-color")||gn("no-colors")||gn("color=false")||gn("color=never")?Eo=0:(gn("color")||gn("colors")||gn("color=true")||gn("color=always"))&&(Eo=1);"FORCE_COLOR"in Nt&&(Nt.FORCE_COLOR==="true"?Eo=1:Nt.FORCE_COLOR==="false"?Eo=0:Eo=Nt.FORCE_COLOR.length===0?1:Math.min(parseInt(Nt.FORCE_COLOR,10),3));function cw(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o(cw,"translateLevel");function lw(t,e){if(Eo===0)return 0;if(gn("color=16m")||gn("color=full")||gn("color=truecolor"))return 3;if(gn("color=256"))return 2;if(t&&!e&&Eo===void 0)return 0;let r=Eo||0;if(Nt.TERM==="dumb")return r;if(process.platform==="win32"){let n=Lme.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in Nt)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in Nt)||Nt.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in Nt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Nt.TEAMCITY_VERSION)?1:0;if(Nt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Nt){let n=parseInt((Nt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Nt.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Nt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Nt.TERM)||"COLORTERM"in Nt?1:r}o(lw,"supportsColor");function _me(t){let e=lw(t,t&&t.isTTY);return cw(e)}o(_me,"getSupportLevel");aY.exports={supportsColor:_me,stdout:cw(lw(!0,oY.isatty(1))),stderr:cw(lw(!0,oY.isatty(2)))}});var AY=g((Mt,Kf)=>{var Fme=require("tty"),jf=require("util");Mt.init=Yme;Mt.log=Hme;Mt.formatArgs=Ome;Mt.save=zme;Mt.load=Gme;Mt.useColors=Ume;Mt.destroy=jf.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Mt.colors=[6,2,3,4,5,1];try{let t=cY();t&&(t.stderr||t).level>=2&&(Mt.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{}Mt.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(s,i)=>i.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),t[r]=n,t},{});function Ume(){return"colors"in Mt.inspectOpts?!!Mt.inspectOpts.colors:Fme.isatty(process.stderr.fd)}o(Ume,"useColors");function Ome(t){let{namespace:e,useColors:r}=this;if(r){let n=this.color,s="\x1B[3"+(n<8?n:"8;5;"+n),i=` ${s};1m${e} \x1B[0m`;t[0]=i+t[0].split(` +>>> no match, partial?`,t,u,e,d),u===a))}var p;if(typeof l=="string"?(p=A===l,this.debug("string match",l,A,p)):(p=A.match(l),this.debug("pattern match",l,A,p)),!p)return!1}if(s===a&&i===c)return!0;if(s===a)return r;if(i===c)return s===a-1&&t[s]==="";throw new Error("wtf?")};function rAe(t){return t.replace(/\\(.)/g,"$1")}o(rAe,"globUnescape");function nAe(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(nAe,"regExpEscape")});var $u=g((FTe,PH)=>{"use strict";var uAe="2.0.0",dAe=Number.MAX_SAFE_INTEGER||9007199254740991,mAe=16,pAe=250,hAe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];PH.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:mAe,MAX_SAFE_BUILD_LENGTH:pAe,MAX_SAFE_INTEGER:dAe,RELEASE_TYPES:hAe,SEMVER_SPEC_VERSION:uAe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var ju=g((UTe,vH)=>{"use strict";var fAe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};vH.exports=fAe});var pl=g((ys,DH)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Ib,MAX_SAFE_BUILD_LENGTH:gAe,MAX_LENGTH:yAe}=$u(),EAe=ju();ys=DH.exports={};var CAe=ys.re=[],IAe=ys.safeRe=[],L=ys.src=[],BAe=ys.safeSrc=[],_=ys.t={},QAe=0,Bb="[a-zA-Z0-9-]",xAe=[["\\s",1],["\\d",yAe],[Bb,gAe]],bAe=o(t=>{for(let[e,r]of xAe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),re=o((t,e,r)=>{let n=bAe(e),s=QAe++;EAe(t,s,e),_[t]=s,L[s]=e,BAe[s]=n,CAe[s]=new RegExp(e,r?"g":void 0),IAe[s]=new RegExp(n,r?"g":void 0)},"createToken");re("NUMERICIDENTIFIER","0|[1-9]\\d*");re("NUMERICIDENTIFIERLOOSE","\\d+");re("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Bb}*`);re("MAINVERSION",`(${L[_.NUMERICIDENTIFIER]})\\.(${L[_.NUMERICIDENTIFIER]})\\.(${L[_.NUMERICIDENTIFIER]})`);re("MAINVERSIONLOOSE",`(${L[_.NUMERICIDENTIFIERLOOSE]})\\.(${L[_.NUMERICIDENTIFIERLOOSE]})\\.(${L[_.NUMERICIDENTIFIERLOOSE]})`);re("PRERELEASEIDENTIFIER",`(?:${L[_.NONNUMERICIDENTIFIER]}|${L[_.NUMERICIDENTIFIER]})`);re("PRERELEASEIDENTIFIERLOOSE",`(?:${L[_.NONNUMERICIDENTIFIER]}|${L[_.NUMERICIDENTIFIERLOOSE]})`);re("PRERELEASE",`(?:-(${L[_.PRERELEASEIDENTIFIER]}(?:\\.${L[_.PRERELEASEIDENTIFIER]})*))`);re("PRERELEASELOOSE",`(?:-?(${L[_.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${L[_.PRERELEASEIDENTIFIERLOOSE]})*))`);re("BUILDIDENTIFIER",`${Bb}+`);re("BUILD",`(?:\\+(${L[_.BUILDIDENTIFIER]}(?:\\.${L[_.BUILDIDENTIFIER]})*))`);re("FULLPLAIN",`v?${L[_.MAINVERSION]}${L[_.PRERELEASE]}?${L[_.BUILD]}?`);re("FULL",`^${L[_.FULLPLAIN]}$`);re("LOOSEPLAIN",`[v=\\s]*${L[_.MAINVERSIONLOOSE]}${L[_.PRERELEASELOOSE]}?${L[_.BUILD]}?`);re("LOOSE",`^${L[_.LOOSEPLAIN]}$`);re("GTLT","((?:<|>)?=?)");re("XRANGEIDENTIFIERLOOSE",`${L[_.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);re("XRANGEIDENTIFIER",`${L[_.NUMERICIDENTIFIER]}|x|X|\\*`);re("XRANGEPLAIN",`[v=\\s]*(${L[_.XRANGEIDENTIFIER]})(?:\\.(${L[_.XRANGEIDENTIFIER]})(?:\\.(${L[_.XRANGEIDENTIFIER]})(?:${L[_.PRERELEASE]})?${L[_.BUILD]}?)?)?`);re("XRANGEPLAINLOOSE",`[v=\\s]*(${L[_.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[_.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[_.XRANGEIDENTIFIERLOOSE]})(?:${L[_.PRERELEASELOOSE]})?${L[_.BUILD]}?)?)?`);re("XRANGE",`^${L[_.GTLT]}\\s*${L[_.XRANGEPLAIN]}$`);re("XRANGELOOSE",`^${L[_.GTLT]}\\s*${L[_.XRANGEPLAINLOOSE]}$`);re("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Ib}})(?:\\.(\\d{1,${Ib}}))?(?:\\.(\\d{1,${Ib}}))?`);re("COERCE",`${L[_.COERCEPLAIN]}(?:$|[^\\d])`);re("COERCEFULL",L[_.COERCEPLAIN]+`(?:${L[_.PRERELEASE]})?(?:${L[_.BUILD]})?(?:$|[^\\d])`);re("COERCERTL",L[_.COERCE],!0);re("COERCERTLFULL",L[_.COERCEFULL],!0);re("LONETILDE","(?:~>?)");re("TILDETRIM",`(\\s*)${L[_.LONETILDE]}\\s+`,!0);ys.tildeTrimReplace="$1~";re("TILDE",`^${L[_.LONETILDE]}${L[_.XRANGEPLAIN]}$`);re("TILDELOOSE",`^${L[_.LONETILDE]}${L[_.XRANGEPLAINLOOSE]}$`);re("LONECARET","(?:\\^)");re("CARETTRIM",`(\\s*)${L[_.LONECARET]}\\s+`,!0);ys.caretTrimReplace="$1^";re("CARET",`^${L[_.LONECARET]}${L[_.XRANGEPLAIN]}$`);re("CARETLOOSE",`^${L[_.LONECARET]}${L[_.XRANGEPLAINLOOSE]}$`);re("COMPARATORLOOSE",`^${L[_.GTLT]}\\s*(${L[_.LOOSEPLAIN]})$|^$`);re("COMPARATOR",`^${L[_.GTLT]}\\s*(${L[_.FULLPLAIN]})$|^$`);re("COMPARATORTRIM",`(\\s*)${L[_.GTLT]}\\s*(${L[_.LOOSEPLAIN]}|${L[_.XRANGEPLAIN]})`,!0);ys.comparatorTrimReplace="$1$2$3";re("HYPHENRANGE",`^\\s*(${L[_.XRANGEPLAIN]})\\s+-\\s+(${L[_.XRANGEPLAIN]})\\s*$`);re("HYPHENRANGELOOSE",`^\\s*(${L[_.XRANGEPLAINLOOSE]})\\s+-\\s+(${L[_.XRANGEPLAINLOOSE]})\\s*$`);re("STAR","(<|>)?=?\\s*\\*");re("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");re("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var pf=g((qTe,kH)=>{"use strict";var wAe=Object.freeze({loose:!0}),NAe=Object.freeze({}),SAe=o(t=>t?typeof t!="object"?wAe:t:NAe,"parseOptions");kH.exports=SAe});var Qb=g((zTe,LH)=>{"use strict";var TH=/^[0-9]+$/,MH=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:tMH(e,t),"rcompareIdentifiers");LH.exports={compareIdentifiers:MH,rcompareIdentifiers:RAe}});var qt=g((YTe,FH)=>{"use strict";var hf=ju(),{MAX_LENGTH:_H,MAX_SAFE_INTEGER:ff}=$u(),{safeRe:gf,t:yf}=pl(),PAe=pf(),{compareIdentifiers:xb}=Qb(),bb=class t{static{o(this,"SemVer")}constructor(e,r){if(r=PAe(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>_H)throw new TypeError(`version is longer than ${_H} characters`);hf("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?gf[yf.LOOSE]:gf[yf.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>ff||this.major<0)throw new TypeError("Invalid major version");if(this.minor>ff||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>ff||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){let i=+s;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 n=this.prerelease[r],s=e.prerelease[r];if(hf("prerelease compare",r,n,s),n===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(n===void 0)return-1;if(n===s)continue;return xb(n,s)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let n=this.build[r],s=e.build[r];if(hf("build compare",r,n,s),n===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(n===void 0)return-1;if(n===s)continue;return xb(n,s)}while(++r)}inc(e,r,n){if(e.startsWith("pre")){if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let s=`-${r}`.match(this.options.loose?gf[yf.PRERELEASELOOSE]:gf[yf.PRERELEASE]);if(!s||s[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,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);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 s=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[s];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(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(r){let i=[r,s];n===!1&&(i=[r]),xb(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}};FH.exports=bb});var ya=g((JTe,OH)=>{"use strict";var UH=qt(),vAe=o((t,e,r=!1)=>{if(t instanceof UH)return t;try{return new UH(t,e)}catch(n){if(!r)return null;throw n}},"parse");OH.exports=vAe});var HH=g(($Te,qH)=>{"use strict";var DAe=ya(),kAe=o((t,e)=>{let r=DAe(t,e);return r?r.version:null},"valid");qH.exports=kAe});var GH=g((KTe,zH)=>{"use strict";var TAe=ya(),MAe=o((t,e)=>{let r=TAe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");zH.exports=MAe});var JH=g((ZTe,VH)=>{"use strict";var YH=qt(),LAe=o((t,e,r,n,s)=>{typeof r=="string"&&(s=n,n=r,r=void 0);try{return new YH(t instanceof YH?t.version:t,r).inc(e,n,s).version}catch{return null}},"inc");VH.exports=LAe});var jH=g((tMe,$H)=>{"use strict";var WH=ya(),_Ae=o((t,e)=>{let r=WH(t,null,!0),n=WH(e,null,!0),s=r.compare(n);if(s===0)return null;let i=s>0,a=i?r:n,c=i?n: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 u=l?"pre":"";return r.major!==n.major?u+"major":r.minor!==n.minor?u+"minor":r.patch!==n.patch?u+"patch":"prerelease"},"diff");$H.exports=_Ae});var XH=g((nMe,KH)=>{"use strict";var FAe=qt(),UAe=o((t,e)=>new FAe(t,e).major,"major");KH.exports=UAe});var ez=g((iMe,ZH)=>{"use strict";var OAe=qt(),qAe=o((t,e)=>new OAe(t,e).minor,"minor");ZH.exports=qAe});var rz=g((aMe,tz)=>{"use strict";var HAe=qt(),zAe=o((t,e)=>new HAe(t,e).patch,"patch");tz.exports=zAe});var sz=g((lMe,nz)=>{"use strict";var GAe=ya(),YAe=o((t,e)=>{let r=GAe(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");nz.exports=YAe});var pn=g((uMe,oz)=>{"use strict";var iz=qt(),VAe=o((t,e,r)=>new iz(t,r).compare(new iz(e,r)),"compare");oz.exports=VAe});var cz=g((mMe,az)=>{"use strict";var JAe=pn(),WAe=o((t,e,r)=>JAe(e,t,r),"rcompare");az.exports=WAe});var Az=g((hMe,lz)=>{"use strict";var $Ae=pn(),jAe=o((t,e)=>$Ae(t,e,!0),"compareLoose");lz.exports=jAe});var Ef=g((gMe,dz)=>{"use strict";var uz=qt(),KAe=o((t,e,r)=>{let n=new uz(t,r),s=new uz(e,r);return n.compare(s)||n.compareBuild(s)},"compareBuild");dz.exports=KAe});var pz=g((EMe,mz)=>{"use strict";var XAe=Ef(),ZAe=o((t,e)=>t.sort((r,n)=>XAe(r,n,e)),"sort");mz.exports=ZAe});var fz=g((IMe,hz)=>{"use strict";var eue=Ef(),tue=o((t,e)=>t.sort((r,n)=>eue(n,r,e)),"rsort");hz.exports=tue});var Ku=g((QMe,gz)=>{"use strict";var rue=pn(),nue=o((t,e,r)=>rue(t,e,r)>0,"gt");gz.exports=nue});var Cf=g((bMe,yz)=>{"use strict";var sue=pn(),iue=o((t,e,r)=>sue(t,e,r)<0,"lt");yz.exports=iue});var wb=g((NMe,Ez)=>{"use strict";var oue=pn(),aue=o((t,e,r)=>oue(t,e,r)===0,"eq");Ez.exports=aue});var Nb=g((RMe,Cz)=>{"use strict";var cue=pn(),lue=o((t,e,r)=>cue(t,e,r)!==0,"neq");Cz.exports=lue});var If=g((vMe,Iz)=>{"use strict";var Aue=pn(),uue=o((t,e,r)=>Aue(t,e,r)>=0,"gte");Iz.exports=uue});var Bf=g((kMe,Bz)=>{"use strict";var due=pn(),mue=o((t,e,r)=>due(t,e,r)<=0,"lte");Bz.exports=mue});var Sb=g((MMe,Qz)=>{"use strict";var pue=wb(),hue=Nb(),fue=Ku(),gue=If(),yue=Cf(),Eue=Bf(),Cue=o((t,e,r,n)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return pue(t,r,n);case"!=":return hue(t,r,n);case">":return fue(t,r,n);case">=":return gue(t,r,n);case"<":return yue(t,r,n);case"<=":return Eue(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");Qz.exports=Cue});var bz=g((_Me,xz)=>{"use strict";var Iue=qt(),Bue=ya(),{safeRe:Qf,t:xf}=pl(),Que=o((t,e)=>{if(t instanceof Iue)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?Qf[xf.COERCEFULL]:Qf[xf.COERCE]);else{let l=e.includePrerelease?Qf[xf.COERCERTLFULL]:Qf[xf.COERCERTL],A;for(;(A=l.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||A.index+A[0].length!==r.index+r[0].length)&&(r=A),l.lastIndex=A.index+A[1].length+A[2].length;l.lastIndex=-1}if(r===null)return null;let n=r[2],s=r[3]||"0",i=r[4]||"0",a=e.includePrerelease&&r[5]?`-${r[5]}`:"",c=e.includePrerelease&&r[6]?`+${r[6]}`:"";return Bue(`${n}.${s}.${i}${a}${c}`,e)},"coerce");xz.exports=Que});var Nz=g((UMe,wz)=>{"use strict";var Rb=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 s=this.map.keys().next().value;this.delete(s)}this.map.set(e,r)}return this}};wz.exports=Rb});var hn=g((qMe,vz)=>{"use strict";var xue=/\s+/g,Pb=class t{static{o(this,"Range")}constructor(e,r){if(r=wue(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof vb)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(xue," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(s=>!Rz(s[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let s of this.set)if(s.length===1&&kue(s[0])){this.set=[s];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 n=0;n0&&(this.formatted+=" "),this.formatted+=r[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let n=((this.options.includePrerelease&&vue)|(this.options.loose&&Due))+":"+e,s=Sz.get(n);if(s)return s;let i=this.options.loose,a=i?Xt[Ht.HYPHENRANGELOOSE]:Xt[Ht.HYPHENRANGE];e=e.replace(a,zue(this.options.includePrerelease)),Fe("hyphen replace",e),e=e.replace(Xt[Ht.COMPARATORTRIM],Sue),Fe("comparator trim",e),e=e.replace(Xt[Ht.TILDETRIM],Rue),Fe("tilde trim",e),e=e.replace(Xt[Ht.CARETTRIM],Pue),Fe("caret trim",e);let c=e.split(" ").map(d=>Tue(d,this.options)).join(" ").split(/\s+/).map(d=>Hue(d,this.options));i&&(c=c.filter(d=>(Fe("loose invalid filter",d,this.options),!!d.match(Xt[Ht.COMPARATORLOOSE])))),Fe("range list",c);let l=new Map,A=c.map(d=>new vb(d,this.options));for(let d of A){if(Rz(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let u=[...l.values()];return Sz.set(n,u),u}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>Pz(n,r)&&e.set.some(s=>Pz(s,r)&&n.every(i=>s.every(a=>i.intersects(a,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new Nue(e,this.options)}catch{return!1}for(let r=0;rt.value==="<0.0.0-0","isNullSet"),kue=o(t=>t.value==="","isAny"),Pz=o((t,e)=>{let r=!0,n=t.slice(),s=n.pop();for(;r&&n.length;)r=n.every(i=>s.intersects(i,e)),s=n.pop();return r},"isSatisfiable"),Tue=o((t,e)=>(t=t.replace(Xt[Ht.BUILD],""),Fe("comp",t,e),t=_ue(t,e),Fe("caret",t),t=Mue(t,e),Fe("tildes",t),t=Uue(t,e),Fe("xrange",t),t=que(t,e),Fe("stars",t),t),"parseComparator"),Zt=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),Mue=o((t,e)=>t.trim().split(/\s+/).map(r=>Lue(r,e)).join(" "),"replaceTildes"),Lue=o((t,e)=>{let r=e.loose?Xt[Ht.TILDELOOSE]:Xt[Ht.TILDE];return t.replace(r,(n,s,i,a,c)=>{Fe("tilde",t,n,s,i,a,c);let l;return Zt(s)?l="":Zt(i)?l=`>=${s}.0.0 <${+s+1}.0.0-0`:Zt(a)?l=`>=${s}.${i}.0 <${s}.${+i+1}.0-0`:c?(Fe("replaceTilde pr",c),l=`>=${s}.${i}.${a}-${c} <${s}.${+i+1}.0-0`):l=`>=${s}.${i}.${a} <${s}.${+i+1}.0-0`,Fe("tilde return",l),l})},"replaceTilde"),_ue=o((t,e)=>t.trim().split(/\s+/).map(r=>Fue(r,e)).join(" "),"replaceCarets"),Fue=o((t,e)=>{Fe("caret",t,e);let r=e.loose?Xt[Ht.CARETLOOSE]:Xt[Ht.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(s,i,a,c,l)=>{Fe("caret",t,s,i,a,c,l);let A;return Zt(i)?A="":Zt(a)?A=`>=${i}.0.0${n} <${+i+1}.0.0-0`:Zt(c)?i==="0"?A=`>=${i}.${a}.0${n} <${i}.${+a+1}.0-0`:A=`>=${i}.${a}.0${n} <${+i+1}.0.0-0`:l?(Fe("replaceCaret pr",l),i==="0"?a==="0"?A=`>=${i}.${a}.${c}-${l} <${i}.${a}.${+c+1}-0`:A=`>=${i}.${a}.${c}-${l} <${i}.${+a+1}.0-0`:A=`>=${i}.${a}.${c}-${l} <${+i+1}.0.0-0`):(Fe("no pr"),i==="0"?a==="0"?A=`>=${i}.${a}.${c}${n} <${i}.${a}.${+c+1}-0`:A=`>=${i}.${a}.${c}${n} <${i}.${+a+1}.0-0`:A=`>=${i}.${a}.${c} <${+i+1}.0.0-0`),Fe("caret return",A),A})},"replaceCaret"),Uue=o((t,e)=>(Fe("replaceXRanges",t,e),t.split(/\s+/).map(r=>Oue(r,e)).join(" ")),"replaceXRanges"),Oue=o((t,e)=>{t=t.trim();let r=e.loose?Xt[Ht.XRANGELOOSE]:Xt[Ht.XRANGE];return t.replace(r,(n,s,i,a,c,l)=>{Fe("xRange",t,n,s,i,a,c,l);let A=Zt(i),u=A||Zt(a),d=u||Zt(c),m=d;return s==="="&&m&&(s=""),l=e.includePrerelease?"-0":"",A?s===">"||s==="<"?n="<0.0.0-0":n="*":s&&m?(u&&(a=0),c=0,s===">"?(s=">=",u?(i=+i+1,a=0,c=0):(a=+a+1,c=0)):s==="<="&&(s="<",u?i=+i+1:a=+a+1),s==="<"&&(l="-0"),n=`${s+i}.${a}.${c}${l}`):u?n=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),Fe("xRange return",n),n})},"replaceXRange"),que=o((t,e)=>(Fe("replaceStars",t,e),t.trim().replace(Xt[Ht.STAR],"")),"replaceStars"),Hue=o((t,e)=>(Fe("replaceGTE0",t,e),t.trim().replace(Xt[e.includePrerelease?Ht.GTE0PRE:Ht.GTE0],"")),"replaceGTE0"),zue=o(t=>(e,r,n,s,i,a,c,l,A,u,d,m)=>(Zt(n)?r="":Zt(s)?r=`>=${n}.0.0${t?"-0":""}`:Zt(i)?r=`>=${n}.${s}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Zt(A)?l="":Zt(u)?l=`<${+A+1}.0.0-0`:Zt(d)?l=`<${A}.${+u+1}.0-0`:m?l=`<=${A}.${u}.${d}-${m}`:t?l=`<${A}.${u}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),Gue=o((t,e,r)=>{for(let n=0;n0){let s=t[n].semver;if(s.major===e.major&&s.minor===e.minor&&s.patch===e.patch)return!0}return!1}return!0},"testSet")});var Xu=g((zMe,_z)=>{"use strict";var Zu=Symbol("SemVer ANY"),Tb=class t{static{o(this,"Comparator")}static get ANY(){return Zu}constructor(e,r){if(r=Dz(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),kb("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Zu?this.value="":this.value=this.operator+this.semver.version,kb("comp",this)}parse(e){let r=this.options.loose?kz[Tz.COMPARATORLOOSE]:kz[Tz.COMPARATOR],n=e.match(r);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new Mz(n[2],this.options.loose):this.semver=Zu}toString(){return this.value}test(e){if(kb("Comparator.test",e,this.options.loose),this.semver===Zu||e===Zu)return!0;if(typeof e=="string")try{e=new Mz(e,this.options)}catch{return!1}return Db(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 Lz(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new Lz(this.value,r).test(e.semver):(r=Dz(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("=")||Db(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Db(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};_z.exports=Tb;var Dz=pf(),{safeRe:kz,t:Tz}=pl(),Db=Sb(),kb=ju(),Mz=qt(),Lz=hn()});var ed=g((YMe,Fz)=>{"use strict";var Yue=hn(),Vue=o((t,e,r)=>{try{e=new Yue(e,r)}catch{return!1}return e.test(t)},"satisfies");Fz.exports=Vue});var Oz=g((JMe,Uz)=>{"use strict";var Jue=hn(),Wue=o((t,e)=>new Jue(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");Uz.exports=Wue});var Hz=g(($Me,qz)=>{"use strict";var $ue=qt(),jue=hn(),Kue=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new jue(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===-1)&&(n=a,s=new $ue(n,r))}),n},"maxSatisfying");qz.exports=Kue});var Gz=g((KMe,zz)=>{"use strict";var Xue=qt(),Zue=hn(),ede=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new Zue(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===1)&&(n=a,s=new Xue(n,r))}),n},"minSatisfying");zz.exports=ede});var Jz=g((ZMe,Vz)=>{"use strict";var Mb=qt(),tde=hn(),Yz=Ku(),rde=o((t,e)=>{t=new tde(t,e);let r=new Mb("0.0.0");if(t.test(r)||(r=new Mb("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n{let c=new Mb(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||Yz(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||Yz(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");Vz.exports=rde});var $z=g((tLe,Wz)=>{"use strict";var nde=hn(),sde=o((t,e)=>{try{return new nde(t,e).range||"*"}catch{return null}},"validRange");Wz.exports=sde});var bf=g((nLe,Zz)=>{"use strict";var ide=qt(),Xz=Xu(),{ANY:ode}=Xz,ade=hn(),cde=ed(),jz=Ku(),Kz=Cf(),lde=Bf(),Ade=If(),ude=o((t,e,r,n)=>{t=new ide(t,n),e=new ade(e,n);let s,i,a,c,l;switch(r){case">":s=jz,i=lde,a=Kz,c=">",l=">=";break;case"<":s=Kz,i=Ade,a=jz,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(cde(t,e,n))return!1;for(let A=0;A{p.semver===ode&&(p=new Xz(">=0.0.0")),d=d||p,m=m||p,s(p.semver,d.semver,n)?d=p:a(p.semver,m.semver,n)&&(m=p)}),d.operator===c||d.operator===l||(!m.operator||m.operator===c)&&i(t,m.semver))return!1;if(m.operator===l&&a(t,m.semver))return!1}return!0},"outside");Zz.exports=ude});var tG=g((iLe,eG)=>{"use strict";var dde=bf(),mde=o((t,e,r)=>dde(t,e,">",r),"gtr");eG.exports=mde});var nG=g((aLe,rG)=>{"use strict";var pde=bf(),hde=o((t,e,r)=>pde(t,e,"<",r),"ltr");rG.exports=hde});var oG=g((lLe,iG)=>{"use strict";var sG=hn(),fde=o((t,e,r)=>(t=new sG(t,r),e=new sG(e,r),t.intersects(e,r)),"intersects");iG.exports=fde});var cG=g((uLe,aG)=>{"use strict";var gde=ed(),yde=pn();aG.exports=(t,e,r)=>{let n=[],s=null,i=null,a=t.sort((u,d)=>yde(u,d,r));for(let u of a)gde(u,e,r)?(i=u,s||(s=u)):(i&&n.push([s,i]),i=null,s=null);s&&n.push([s,null]);let c=[];for(let[u,d]of n)u===d?c.push(u):!d&&u===a[0]?c.push("*"):d?u===a[0]?c.push(`<=${d}`):c.push(`${u} - ${d}`):c.push(`>=${u}`);let l=c.join(" || "),A=typeof e.raw=="string"?e.raw:String(e);return l.length{"use strict";var lG=hn(),_b=Xu(),{ANY:Lb}=_b,td=ed(),Fb=pn(),Ede=o((t,e,r={})=>{if(t===e)return!0;t=new lG(t,r),e=new lG(e,r);let n=!1;e:for(let s of t.set){for(let i of e.set){let a=Ide(s,i,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),Cde=[new _b(">=0.0.0-0")],AG=[new _b(">=0.0.0")],Ide=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===Lb){if(e.length===1&&e[0].semver===Lb)return!0;r.includePrerelease?t=Cde:t=AG}if(e.length===1&&e[0].semver===Lb){if(r.includePrerelease)return!0;e=AG}let n=new Set,s,i;for(let p of t)p.operator===">"||p.operator===">="?s=uG(s,p,r):p.operator==="<"||p.operator==="<="?i=dG(i,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(s&&i){if(a=Fb(s.semver,i.semver,r),a>0)return null;if(a===0&&(s.operator!==">="||i.operator!=="<="))return null}for(let p of n){if(s&&!td(p,String(s),r)||i&&!td(p,String(i),r))return null;for(let h of e)if(!td(p,String(h),r))return!1;return!0}let c,l,A,u,d=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,m=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1;d&&d.prerelease.length===1&&i.operator==="<"&&d.prerelease[0]===0&&(d=!1);for(let p of e){if(u=u||p.operator===">"||p.operator===">=",A=A||p.operator==="<"||p.operator==="<=",s){if(m&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===m.major&&p.semver.minor===m.minor&&p.semver.patch===m.patch&&(m=!1),p.operator===">"||p.operator===">="){if(c=uG(s,p,r),c===p&&c!==s)return!1}else if(s.operator===">="&&!td(s.semver,String(p),r))return!1}if(i){if(d&&p.semver.prerelease&&p.semver.prerelease.length&&p.semver.major===d.major&&p.semver.minor===d.minor&&p.semver.patch===d.patch&&(d=!1),p.operator==="<"||p.operator==="<="){if(l=dG(i,p,r),l===p&&l!==i)return!1}else if(i.operator==="<="&&!td(i.semver,String(p),r))return!1}if(!p.operator&&(i||s)&&a!==0)return!1}return!(s&&A&&!i&&a!==0||i&&u&&!s&&a!==0||m||d)},"simpleSubset"),uG=o((t,e,r)=>{if(!t)return e;let n=Fb(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),dG=o((t,e,r)=>{if(!t)return e;let n=Fb(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");mG.exports=Ede});var yG=g((pLe,gG)=>{"use strict";var Ub=pl(),hG=$u(),Bde=qt(),fG=Qb(),Qde=ya(),xde=HH(),bde=GH(),wde=JH(),Nde=jH(),Sde=XH(),Rde=ez(),Pde=rz(),vde=sz(),Dde=pn(),kde=cz(),Tde=Az(),Mde=Ef(),Lde=pz(),_de=fz(),Fde=Ku(),Ude=Cf(),Ode=wb(),qde=Nb(),Hde=If(),zde=Bf(),Gde=Sb(),Yde=bz(),Vde=Xu(),Jde=hn(),Wde=ed(),$de=Oz(),jde=Hz(),Kde=Gz(),Xde=Jz(),Zde=$z(),eme=bf(),tme=tG(),rme=nG(),nme=oG(),sme=cG(),ime=pG();gG.exports={parse:Qde,valid:xde,clean:bde,inc:wde,diff:Nde,major:Sde,minor:Rde,patch:Pde,prerelease:vde,compare:Dde,rcompare:kde,compareLoose:Tde,compareBuild:Mde,sort:Lde,rsort:_de,gt:Fde,lt:Ude,eq:Ode,neq:qde,gte:Hde,lte:zde,cmp:Gde,coerce:Yde,Comparator:Vde,Range:Jde,satisfies:Wde,toComparators:$de,maxSatisfying:jde,minSatisfying:Kde,minVersion:Xde,validRange:Zde,outside:eme,gtr:tme,ltr:rme,intersects:nme,simplifyRange:sme,subset:ime,SemVer:Bde,re:Ub.re,src:Ub.src,tokens:Ub.t,SEMVER_SPEC_VERSION:hG.SEMVER_SPEC_VERSION,RELEASE_TYPES:hG.RELEASE_TYPES,compareIdentifiers:fG.compareIdentifiers,rcompareIdentifiers:fG.rcompareIdentifiers}});var oY=g((E2e,iY)=>{var Il=1e3,Bl=Il*60,Ql=Bl*60,ba=Ql*24,qme=ba*7,Hme=ba*365.25;iY.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return zme(t);if(r==="number"&&isFinite(t))return e.long?Yme(t):Gme(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function zme(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*Hme;case"weeks":case"week":case"w":return r*qme;case"days":case"day":case"d":return r*ba;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Ql;case"minutes":case"minute":case"mins":case"min":case"m":return r*Bl;case"seconds":case"second":case"secs":case"sec":case"s":return r*Il;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(zme,"parse");function Gme(t){var e=Math.abs(t);return e>=ba?Math.round(t/ba)+"d":e>=Ql?Math.round(t/Ql)+"h":e>=Bl?Math.round(t/Bl)+"m":e>=Il?Math.round(t/Il)+"s":t+"ms"}o(Gme,"fmtShort");function Yme(t){var e=Math.abs(t);return e>=ba?Kf(t,e,ba,"day"):e>=Ql?Kf(t,e,Ql,"hour"):e>=Bl?Kf(t,e,Bl,"minute"):e>=Il?Kf(t,e,Il,"second"):t+" ms"}o(Yme,"fmtLong");function Kf(t,e,r,n){var s=e>=r*1.5;return Math.round(t/r)+" "+n+(s?"s":"")}o(Kf,"plural")});var Aw=g((I2e,aY)=>{function Vme(t){r.debug=r,r.default=r,r.coerce=l,r.disable=i,r.enable=s,r.enabled=a,r.humanize=oY(),r.destroy=A,Object.keys(t).forEach(u=>{r[u]=t[u]}),r.names=[],r.skips=[],r.formatters={};function e(u){let d=0;for(let m=0;m{if(S==="%%")return"%";B++;let de=r.formatters[F];if(typeof de=="function"){let be=C[B];S=de.call(y,be),C.splice(B,1),B--}return S}),r.formatArgs.call(y,C),(y.log||r.log).apply(y,C)}return o(f,"debug"),f.namespace=u,f.useColors=r.useColors(),f.color=r.selectColor(u),f.extend=n,f.destroy=r.destroy,Object.defineProperty(f,"enabled",{enumerable:!0,configurable:!1,get:o(()=>m!==null?m:(p!==r.namespaces&&(p=r.namespaces,h=r.enabled(u)),h),"get"),set:o(C=>{m=C},"set")}),typeof r.init=="function"&&r.init(f),f}o(r,"createDebug");function n(u,d){let m=r(this.namespace+(typeof d>"u"?":":d)+u);return m.log=this.log,m}o(n,"extend");function s(u){r.save(u),r.namespaces=u,r.names=[],r.skips=[];let d,m=(typeof u=="string"?u:"").split(/[\s,]+/),p=m.length;for(d=0;d"-"+d)].join(",");return r.enable(""),u}o(i,"disable");function a(u){if(u[u.length-1]==="*")return!0;let d,m;for(d=0,m=r.skips.length;d{zr.formatArgs=Wme;zr.save=$me;zr.load=jme;zr.useColors=Jme;zr.storage=Kme();zr.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`."))}})();zr.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 Jme(){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(Jme,"useColors");function Wme(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+Xf.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,s=>{s!=="%%"&&(r++,s==="%c"&&(n=r))}),t.splice(n,0,e)}o(Wme,"formatArgs");zr.log=console.debug||console.log||(()=>{});function $me(t){try{t?zr.storage.setItem("debug",t):zr.storage.removeItem("debug")}catch{}}o($me,"save");function jme(){let t;try{t=zr.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(jme,"load");function Kme(){try{return localStorage}catch{}}o(Kme,"localstorage");Xf.exports=Aw()(zr);var{formatters:Xme}=Xf.exports;Xme.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var AY=g((x2e,lY)=>{"use strict";lY.exports=(t,e=process.argv)=>{let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),s=e.indexOf("--");return n!==-1&&(s===-1||n{"use strict";var Zme=require("os"),uY=require("tty"),gn=AY(),{env:Nt}=process,Co;gn("no-color")||gn("no-colors")||gn("color=false")||gn("color=never")?Co=0:(gn("color")||gn("colors")||gn("color=true")||gn("color=always"))&&(Co=1);"FORCE_COLOR"in Nt&&(Nt.FORCE_COLOR==="true"?Co=1:Nt.FORCE_COLOR==="false"?Co=0:Co=Nt.FORCE_COLOR.length===0?1:Math.min(parseInt(Nt.FORCE_COLOR,10),3));function uw(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o(uw,"translateLevel");function dw(t,e){if(Co===0)return 0;if(gn("color=16m")||gn("color=full")||gn("color=truecolor"))return 3;if(gn("color=256"))return 2;if(t&&!e&&Co===void 0)return 0;let r=Co||0;if(Nt.TERM==="dumb")return r;if(process.platform==="win32"){let n=Zme.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in Nt)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in Nt)||Nt.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in Nt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Nt.TEAMCITY_VERSION)?1:0;if(Nt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Nt){let n=parseInt((Nt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Nt.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Nt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Nt.TERM)||"COLORTERM"in Nt?1:r}o(dw,"supportsColor");function epe(t){let e=dw(t,t&&t.isTTY);return uw(e)}o(epe,"getSupportLevel");dY.exports={supportsColor:epe,stdout:uw(dw(!0,uY.isatty(1))),stderr:uw(dw(!0,uY.isatty(2)))}});var hY=g((Mt,eg)=>{var tpe=require("tty"),Zf=require("util");Mt.init=cpe;Mt.log=ipe;Mt.formatArgs=npe;Mt.save=ope;Mt.load=ape;Mt.useColors=rpe;Mt.destroy=Zf.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Mt.colors=[6,2,3,4,5,1];try{let t=mY();t&&(t.stderr||t).level>=2&&(Mt.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{}Mt.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(s,i)=>i.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),t[r]=n,t},{});function rpe(){return"colors"in Mt.inspectOpts?!!Mt.inspectOpts.colors:tpe.isatty(process.stderr.fd)}o(rpe,"useColors");function npe(t){let{namespace:e,useColors:r}=this;if(r){let n=this.color,s="\x1B[3"+(n<8?n:"8;5;"+n),i=` ${s};1m${e} \x1B[0m`;t[0]=i+t[0].split(` `).join(` -`+i),t.push(s+"m+"+Kf.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=qme()+e+" "+t[0]}o(Ome,"formatArgs");function qme(){return Mt.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(qme,"getDate");function Hme(...t){return process.stderr.write(jf.format(...t)+` -`)}o(Hme,"log");function zme(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(zme,"save");function Gme(){return process.env.DEBUG}o(Gme,"load");function Yme(t){t.inspectOpts={};let e=Object.keys(Mt.inspectOpts);for(let r=0;re.trim()).join(" ")};lY.O=function(t){return this.inspectOpts.colors=this.useColors,jf.inspect(t,this.inspectOpts)}});var Xf=g((c2e,Aw)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Aw.exports=nY():Aw.exports=AY()});var mY=g(gr=>{"use strict";var Vme=gr&&gr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Jme=gr&&gr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),uY=gr&&gr.__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)&&Vme(e,t,r);return Jme(e,t),e};Object.defineProperty(gr,"__esModule",{value:!0});gr.req=gr.json=gr.toBuffer=void 0;var Wme=uY(require("http")),$me=uY(require("https"));async function dY(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(dY,"toBuffer");gr.toBuffer=dY;async function jme(t){let r=(await dY(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let s=n;throw s.message+=` (input: ${r})`,s}}o(jme,"json");gr.json=jme;function Kme(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?$me:Wme).request(t,e),s=new Promise((i,a)=>{n.once("response",i).once("error",a).end()});return n.then=s.then.bind(s),n}o(Kme,"req");gr.req=Kme});var gY=g(Gr=>{"use strict";var hY=Gr&&Gr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Xme=Gr&&Gr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),fY=Gr&&Gr.__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)&&hY(e,t,r);return Xme(e,t),e},Zme=Gr&&Gr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&hY(e,t,r)};Object.defineProperty(Gr,"__esModule",{value:!0});Gr.Agent=void 0;var epe=fY(require("net")),pY=fY(require("http")),tpe=require("https");Zme(mY(),Gr);var Is=Symbol("AgentBaseInternalState"),uw=class extends pY.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Is]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(` -`).some(n=>n.indexOf("(https.js:")!==-1||n.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new epe.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let n=this.sockets[e],s=n.indexOf(r);s!==-1&&(n.splice(s,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?tpe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let s={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(s),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,s)).then(c=>{if(this.decrementSockets(i,a),c instanceof pY.Agent)try{return c.addRequest(e,s)}catch(l){return n(l)}this[Is].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(i,a),n(c)})}createConnection(){let e=this[Is].currentSocket;if(this[Is].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Is].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Is]&&(this[Is].defaultPort=e)}get protocol(){return this[Is].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Is]&&(this[Is].protocol=e)}};Gr.Agent=uw});var yY=g(Bl=>{"use strict";var rpe=Bl&&Bl.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Bl,"__esModule",{value:!0});Bl.parseProxyResponse=void 0;var npe=rpe(Xf()),Zf=(0,npe.default)("https-proxy-agent:parse-proxy-response");function spe(t){return new Promise((e,r)=>{let n=0,s=[];function i(){let u=t.read();u?A(u):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(),Zf("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(u){a(),Zf("onerror %o",u),r(u)}o(l,"onerror");function A(u){s.push(u),n+=u.length;let d=Buffer.concat(s,n),m=d.indexOf(`\r +`+i),t.push(s+"m+"+eg.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=spe()+e+" "+t[0]}o(npe,"formatArgs");function spe(){return Mt.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(spe,"getDate");function ipe(...t){return process.stderr.write(Zf.format(...t)+` +`)}o(ipe,"log");function ope(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(ope,"save");function ape(){return process.env.DEBUG}o(ape,"load");function cpe(t){t.inspectOpts={};let e=Object.keys(Mt.inspectOpts);for(let r=0;re.trim()).join(" ")};pY.O=function(t){return this.inspectOpts.colors=this.useColors,Zf.inspect(t,this.inspectOpts)}});var tg=g((S2e,mw)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?mw.exports=cY():mw.exports=hY()});var yY=g(gr=>{"use strict";var lpe=gr&&gr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Ape=gr&&gr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),fY=gr&&gr.__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)&&lpe(e,t,r);return Ape(e,t),e};Object.defineProperty(gr,"__esModule",{value:!0});gr.req=gr.json=gr.toBuffer=void 0;var upe=fY(require("http")),dpe=fY(require("https"));async function gY(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(gY,"toBuffer");gr.toBuffer=gY;async function mpe(t){let r=(await gY(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let s=n;throw s.message+=` (input: ${r})`,s}}o(mpe,"json");gr.json=mpe;function ppe(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?dpe:upe).request(t,e),s=new Promise((i,a)=>{n.once("response",i).once("error",a).end()});return n.then=s.then.bind(s),n}o(ppe,"req");gr.req=ppe});var BY=g(Gr=>{"use strict";var CY=Gr&&Gr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),hpe=Gr&&Gr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),IY=Gr&&Gr.__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)&&CY(e,t,r);return hpe(e,t),e},fpe=Gr&&Gr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&CY(e,t,r)};Object.defineProperty(Gr,"__esModule",{value:!0});Gr.Agent=void 0;var gpe=IY(require("net")),EY=IY(require("http")),ype=require("https");fpe(yY(),Gr);var Bs=Symbol("AgentBaseInternalState"),pw=class extends EY.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Bs]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(` +`).some(n=>n.indexOf("(https.js:")!==-1||n.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new gpe.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let n=this.sockets[e],s=n.indexOf(r);s!==-1&&(n.splice(s,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?ype.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let s={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(s),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,s)).then(c=>{if(this.decrementSockets(i,a),c instanceof EY.Agent)try{return c.addRequest(e,s)}catch(l){return n(l)}this[Bs].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(i,a),n(c)})}createConnection(){let e=this[Bs].currentSocket;if(this[Bs].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Bs].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Bs]&&(this[Bs].defaultPort=e)}get protocol(){return this[Bs].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Bs]&&(this[Bs].protocol=e)}};Gr.Agent=pw});var QY=g(xl=>{"use strict";var Epe=xl&&xl.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(xl,"__esModule",{value:!0});xl.parseProxyResponse=void 0;var Cpe=Epe(tg()),rg=(0,Cpe.default)("https-proxy-agent:parse-proxy-response");function Ipe(t){return new Promise((e,r)=>{let n=0,s=[];function i(){let u=t.read();u?A(u):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(),rg("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(u){a(),rg("onerror %o",u),r(u)}o(l,"onerror");function A(u){s.push(u),n+=u.length;let d=Buffer.concat(s,n),m=d.indexOf(`\r \r -`);if(m===-1){Zf("have not received end of HTTP headers yet..."),i();return}let p=d.slice(0,m).toString("ascii").split(`\r -`),h=p.shift();if(!h)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let f=h.split(" "),C=+f[1],y=f.slice(2).join(" "),E={};for(let I of p){if(!I)continue;let B=I.indexOf(":");if(B===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${I}"`));let N=I.slice(0,B).toLowerCase(),S=I.slice(B+1).trimStart(),F=E[N];typeof F=="string"?E[N]=[F,S]:Array.isArray(F)?F.push(S):E[N]=S}Zf("got proxy server response: %o %o",h,E),a(),e({connect:{statusCode:C,statusText:y,headers:E},buffered:d})}o(A,"ondata"),t.on("error",l),t.on("end",c),i()})}o(spe,"parseProxyResponse");Bl.parseProxyResponse=spe});var xY=g(yn=>{"use strict";var ipe=yn&&yn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),ope=yn&&yn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),BY=yn&&yn.__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)&&ipe(e,t,r);return ope(e,t),e},QY=yn&&yn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(yn,"__esModule",{value:!0});yn.HttpsProxyAgent=void 0;var eg=BY(require("net")),EY=BY(require("tls")),ape=QY(require("assert")),cpe=QY(Xf()),lpe=gY(),Ape=require("url"),upe=yY(),ud=(0,cpe.default)("https-proxy-agent"),CY=o(t=>t.servername===void 0&&t.host&&!eg.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),tg=class extends lpe.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new Ape.URL(e):e,this.proxyHeaders=r?.headers??{},ud("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),s=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?IY(r,"headers"):null,host:n,port:s}}async connect(e,r){let{proxy:n}=this;if(!r.host)throw new TypeError('No "host" provided');let s;n.protocol==="https:"?(ud("Creating `tls.Socket`: %o",this.connectOpts),s=EY.connect(CY(this.connectOpts))):(ud("Creating `net.Socket`: %o",this.connectOpts),s=eg.connect(this.connectOpts));let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=eg.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r +`);if(m===-1){rg("have not received end of HTTP headers yet..."),i();return}let p=d.slice(0,m).toString("ascii").split(`\r +`),h=p.shift();if(!h)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let f=h.split(" "),C=+f[1],y=f.slice(2).join(" "),E={};for(let I of p){if(!I)continue;let B=I.indexOf(":");if(B===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${I}"`));let N=I.slice(0,B).toLowerCase(),S=I.slice(B+1).trimStart(),F=E[N];typeof F=="string"?E[N]=[F,S]:Array.isArray(F)?F.push(S):E[N]=S}rg("got proxy server response: %o %o",h,E),a(),e({connect:{statusCode:C,statusText:y,headers:E},buffered:d})}o(A,"ondata"),t.on("error",l),t.on("end",c),i()})}o(Ipe,"parseProxyResponse");xl.parseProxyResponse=Ipe});var RY=g(yn=>{"use strict";var Bpe=yn&&yn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Qpe=yn&&yn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),NY=yn&&yn.__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)&&Bpe(e,t,r);return Qpe(e,t),e},SY=yn&&yn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(yn,"__esModule",{value:!0});yn.HttpsProxyAgent=void 0;var ng=NY(require("net")),xY=NY(require("tls")),xpe=SY(require("assert")),bpe=SY(tg()),wpe=BY(),Npe=require("url"),Spe=QY(),dd=(0,bpe.default)("https-proxy-agent"),bY=o(t=>t.servername===void 0&&t.host&&!ng.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),sg=class extends wpe.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new Npe.URL(e):e,this.proxyHeaders=r?.headers??{},dd("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),s=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?wY(r,"headers"):null,host:n,port:s}}async connect(e,r){let{proxy:n}=this;if(!r.host)throw new TypeError('No "host" provided');let s;n.protocol==="https:"?(dd("Creating `tls.Socket`: %o",this.connectOpts),s=xY.connect(bY(this.connectOpts))):(dd("Creating `net.Socket`: %o",this.connectOpts),s=ng.connect(this.connectOpts));let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=ng.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r `;if(n.username||n.password){let m=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;i["Proxy-Authorization"]=`Basic ${Buffer.from(m).toString("base64")}`}i.Host=`${a}:${r.port}`,i["Proxy-Connection"]||(i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let m of Object.keys(i))c+=`${m}: ${i[m]}\r -`;let l=(0,upe.parseProxyResponse)(s);s.write(`${c}\r -`);let{connect:A,buffered:u}=await l;if(e.emit("proxyConnect",A),this.emit("proxyConnect",A,e),A.statusCode===200)return e.once("socket",dpe),r.secureEndpoint?(ud("Upgrading socket connection to TLS"),EY.connect({...IY(CY(r),"host","path","port"),socket:s})):s;s.destroy();let d=new eg.Socket({writable:!1});return d.readable=!0,e.once("socket",m=>{ud("Replaying proxy buffer for failed request"),(0,ape.default)(m.listenerCount("data")>0),m.push(u),m.push(null)}),d}};tg.protocols=["http","https"];yn.HttpsProxyAgent=tg;function dpe(t){t.resume()}o(dpe,"resume");function IY(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(IY,"omit")});var NY=g(yr=>{"use strict";var mpe=yr&&yr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),ppe=yr&&yr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),bY=yr&&yr.__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)&&mpe(e,t,r);return ppe(e,t),e};Object.defineProperty(yr,"__esModule",{value:!0});yr.req=yr.json=yr.toBuffer=void 0;var hpe=bY(require("http")),fpe=bY(require("https"));async function wY(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(wY,"toBuffer");yr.toBuffer=wY;async function gpe(t){let r=(await wY(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let s=n;throw s.message+=` (input: ${r})`,s}}o(gpe,"json");yr.json=gpe;function ype(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?fpe:hpe).request(t,e),s=new Promise((i,a)=>{n.once("response",i).once("error",a).end()});return n.then=s.then.bind(s),n}o(ype,"req");yr.req=ype});var vY=g(Yr=>{"use strict";var RY=Yr&&Yr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Epe=Yr&&Yr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),PY=Yr&&Yr.__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)&&RY(e,t,r);return Epe(e,t),e},Cpe=Yr&&Yr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&RY(e,t,r)};Object.defineProperty(Yr,"__esModule",{value:!0});Yr.Agent=void 0;var Ipe=PY(require("net")),SY=PY(require("http")),Bpe=require("https");Cpe(NY(),Yr);var Bs=Symbol("AgentBaseInternalState"),dw=class extends SY.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Bs]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(` -`).some(n=>n.indexOf("(https.js:")!==-1||n.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new Ipe.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let n=this.sockets[e],s=n.indexOf(r);s!==-1&&(n.splice(s,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return(typeof e.secureEndpoint=="boolean"?e.secureEndpoint:this.isSecureEndpoint(e))?Bpe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let s={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(s),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,s)).then(c=>{if(this.decrementSockets(i,a),c instanceof SY.Agent)return c.addRequest(e,s);this[Bs].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(i,a),n(c)})}createConnection(){let e=this[Bs].currentSocket;if(this[Bs].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Bs].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Bs]&&(this[Bs].defaultPort=e)}get protocol(){return this[Bs].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Bs]&&(this[Bs].protocol=e)}};Yr.Agent=dw});var TY=g(En=>{"use strict";var Qpe=En&&En.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),xpe=En&&En.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),kY=En&&En.__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)&&Qpe(e,t,r);return xpe(e,t),e},bpe=En&&En.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(En,"__esModule",{value:!0});En.HttpProxyAgent=void 0;var wpe=kY(require("net")),Npe=kY(require("tls")),Spe=bpe(Xf()),Rpe=require("events"),Ppe=vY(),DY=require("url"),Ql=(0,Spe.default)("http-proxy-agent"),rg=class extends Ppe.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new DY.URL(e):e,this.proxyHeaders=r?.headers??{},Ql("Creating new HttpProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),s=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?vpe(r,"headers"):null,host:n,port:s}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:n}=this,s=r.secureEndpoint?"https:":"http:",i=e.getHeader("host")||"localhost",a=`${s}//${i}`,c=new DY.URL(e.path,a);r.port!==80&&(c.port=String(r.port)),e.path=String(c);let l=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(n.username||n.password){let A=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;l["Proxy-Authorization"]=`Basic ${Buffer.from(A).toString("base64")}`}l["Proxy-Connection"]||(l["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let A of Object.keys(l)){let u=l[A];u&&e.setHeader(A,u)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let n,s;Ql("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(Ql("Patching connection write() output buffer with updated header"),n=e.outputData[0].data,s=n.indexOf(`\r +`;let l=(0,Spe.parseProxyResponse)(s);s.write(`${c}\r +`);let{connect:A,buffered:u}=await l;if(e.emit("proxyConnect",A),this.emit("proxyConnect",A,e),A.statusCode===200)return e.once("socket",Rpe),r.secureEndpoint?(dd("Upgrading socket connection to TLS"),xY.connect({...wY(bY(r),"host","path","port"),socket:s})):s;s.destroy();let d=new ng.Socket({writable:!1});return d.readable=!0,e.once("socket",m=>{dd("Replaying proxy buffer for failed request"),(0,xpe.default)(m.listenerCount("data")>0),m.push(u),m.push(null)}),d}};sg.protocols=["http","https"];yn.HttpsProxyAgent=sg;function Rpe(t){t.resume()}o(Rpe,"resume");function wY(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(wY,"omit")});var DY=g(yr=>{"use strict";var Ppe=yr&&yr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),vpe=yr&&yr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),PY=yr&&yr.__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)&&Ppe(e,t,r);return vpe(e,t),e};Object.defineProperty(yr,"__esModule",{value:!0});yr.req=yr.json=yr.toBuffer=void 0;var Dpe=PY(require("http")),kpe=PY(require("https"));async function vY(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(vY,"toBuffer");yr.toBuffer=vY;async function Tpe(t){let r=(await vY(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let s=n;throw s.message+=` (input: ${r})`,s}}o(Tpe,"json");yr.json=Tpe;function Mpe(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?kpe:Dpe).request(t,e),s=new Promise((i,a)=>{n.once("response",i).once("error",a).end()});return n.then=s.then.bind(s),n}o(Mpe,"req");yr.req=Mpe});var LY=g(Yr=>{"use strict";var TY=Yr&&Yr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Lpe=Yr&&Yr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),MY=Yr&&Yr.__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)&&TY(e,t,r);return Lpe(e,t),e},_pe=Yr&&Yr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&TY(e,t,r)};Object.defineProperty(Yr,"__esModule",{value:!0});Yr.Agent=void 0;var Fpe=MY(require("net")),kY=MY(require("http")),Upe=require("https");_pe(DY(),Yr);var Qs=Symbol("AgentBaseInternalState"),hw=class extends kY.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Qs]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(` +`).some(n=>n.indexOf("(https.js:")!==-1||n.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new Fpe.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let n=this.sockets[e],s=n.indexOf(r);s!==-1&&(n.splice(s,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return(typeof e.secureEndpoint=="boolean"?e.secureEndpoint:this.isSecureEndpoint(e))?Upe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let s={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(s),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,s)).then(c=>{if(this.decrementSockets(i,a),c instanceof kY.Agent)return c.addRequest(e,s);this[Qs].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(i,a),n(c)})}createConnection(){let e=this[Qs].currentSocket;if(this[Qs].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Qs].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Qs]&&(this[Qs].defaultPort=e)}get protocol(){return this[Qs].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Qs]&&(this[Qs].protocol=e)}};Yr.Agent=hw});var UY=g(En=>{"use strict";var Ope=En&&En.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),qpe=En&&En.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),FY=En&&En.__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)&&Ope(e,t,r);return qpe(e,t),e},Hpe=En&&En.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(En,"__esModule",{value:!0});En.HttpProxyAgent=void 0;var zpe=FY(require("net")),Gpe=FY(require("tls")),Ype=Hpe(tg()),Vpe=require("events"),Jpe=LY(),_Y=require("url"),bl=(0,Ype.default)("http-proxy-agent"),ig=class extends Jpe.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new _Y.URL(e):e,this.proxyHeaders=r?.headers??{},bl("Creating new HttpProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),s=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?Wpe(r,"headers"):null,host:n,port:s}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:n}=this,s=r.secureEndpoint?"https:":"http:",i=e.getHeader("host")||"localhost",a=`${s}//${i}`,c=new _Y.URL(e.path,a);r.port!==80&&(c.port=String(r.port)),e.path=String(c);let l=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(n.username||n.password){let A=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;l["Proxy-Authorization"]=`Basic ${Buffer.from(A).toString("base64")}`}l["Proxy-Connection"]||(l["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let A of Object.keys(l)){let u=l[A];u&&e.setHeader(A,u)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let n,s;bl("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(bl("Patching connection write() output buffer with updated header"),n=e.outputData[0].data,s=n.indexOf(`\r \r -`)+4,e.outputData[0].data=e._header+n.substring(s),Ql("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(Ql("Creating `tls.Socket`: %o",this.connectOpts),i=Npe.connect(this.connectOpts)):(Ql("Creating `net.Socket`: %o",this.connectOpts),i=wpe.connect(this.connectOpts)),await(0,Rpe.once)(i,"connect"),i}};rg.protocols=["http","https"];En.HttpProxyAgent=rg;function vpe(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(vpe,"omit")});var rV=g(fg=>{"use strict";Object.defineProperty(fg,"__esModule",{value:!0});fg.state=void 0;fg.state={instrumenterImplementation:void 0}});var EV=g(Ig=>{"use strict";Object.defineProperty(Ig,"__esModule",{value:!0});Ig.state=void 0;Ig.state={operationRequestMap:new WeakMap}});var K3=g(ql=>{"use strict";Object.defineProperty(ql,"__esModule",{value:!0});var KEe=require("os"),XEe=require("util");function ZEe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(ZEe,"_interopDefaultLegacy");var eCe=ZEe(XEe);function tCe(t,...e){process.stderr.write(`${eCe.default.format(t,...e)}${KEe.EOL}`)}o(tCe,"log");var q3=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,z3,GR=[],YR=[],Oy=[];q3&&VR(q3);var G3=Object.assign(t=>Y3(t),{enable:VR,enabled:JR,disable:rCe,log:tCe});function VR(t){z3=t,GR=[],YR=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?YR.push(new RegExp(`^${n.substr(1)}$`)):GR.push(new RegExp(`^${n}$`));for(let n of Oy)n.enabled=JR(n.namespace)}o(VR,"enable");function JR(t){if(t.endsWith("*"))return!0;for(let e of YR)if(e.test(t))return!1;for(let e of GR)if(e.test(t))return!0;return!1}o(JR,"enabled");function rCe(){let t=z3||"";return VR(""),t}o(rCe,"disable");function Y3(t){let e=Object.assign(r,{enabled:JR(t),destroy:nCe,log:G3.log,namespace:t,extend:sCe});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),Oy.push(e),e}o(Y3,"createDebugger");function nCe(){let t=Oy.indexOf(this);return t>=0?(Oy.splice(t,1),!0):!1}o(nCe,"destroy");function sCe(t){let e=Y3(`${this.namespace}:${t}`);return e.log=this.log,e}o(sCe,"extend");var Xd=G3,V3=new Set,Fy=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,qy,Hy=Xd("azure");Hy.log=(...t)=>{Xd.log(...t)};var WR=["verbose","info","warning","error"];Fy&&(j3(Fy)?J3(Fy):console.error(`AZURE_LOG_LEVEL set to unknown log level '${Fy}'; logging is not enabled. Acceptable values: ${WR.join(", ")}.`));function J3(t){if(t&&!j3(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${WR.join(",")}`);qy=t;let e=[];for(let r of V3)$3(r)&&e.push(r.namespace);Xd.enable(e.join(","))}o(J3,"setLogLevel");function iCe(){return qy}o(iCe,"getLogLevel");var H3={verbose:400,info:300,warning:200,error:100};function oCe(t){let e=Hy.extend(t);return W3(Hy,e),{error:Uy(e,"error"),warning:Uy(e,"warning"),info:Uy(e,"info"),verbose:Uy(e,"verbose")}}o(oCe,"createClientLogger");function W3(t,e){e.log=(...r)=>{t.log(...r)}}o(W3,"patchLogMethod");function Uy(t,e){let r=Object.assign(t.extend(e),{level:e});if(W3(t,r),$3(r)){let n=Xd.disable();Xd.enable(n+","+r.namespace)}return V3.add(r),r}o(Uy,"createLogger");function $3(t){return!!(qy&&H3[t.level]<=H3[qy])}o($3,"shouldEnable");function j3(t){return WR.includes(t)}o(j3,"isAzureLogLevel");ql.AzureLogger=Hy;ql.createClientLogger=oCe;ql.getLogLevel=iCe;ql.setLogLevel=J3});var KR=g(em=>{"use strict";Object.defineProperty(em,"__esModule",{value:!0});var Hl=new WeakMap,zy=new WeakMap,Zd=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,Hl.set(this,[]),zy.set(this,!1)}get aborted(){if(!zy.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return zy.get(this)}static get none(){return new t}addEventListener(e,r){if(!Hl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");Hl.get(this).push(r)}removeEventListener(e,r){if(!Hl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=Hl.get(this),s=n.indexOf(r);s>-1&&n.splice(s,1)}dispatchEvent(e){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}};function X3(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=Hl.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),zy.set(t,!0)}o(X3,"abortSignal");var $R=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},jR=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new Zd,!!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(){X3(this._signal)}static timeout(e){let r=new Zd,n=setTimeout(X3,e,r);return typeof n.unref=="function"&&n.unref(),r}};em.AbortController=jR;em.AbortError=$R;em.AbortSignal=Zd});var n4=g(et=>{"use strict";Object.defineProperty(et,"__esModule",{value:!0});var aCe=KR(),sP=require("crypto");function Z3(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:s}=e??{};return new Promise((i,a)=>{function c(){a(new aCe.AbortError(s??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){n?.removeEventListener("abort",A)}o(l,"removeListeners");function A(){r?.(),l(),c()}if(o(A,"onAbort"),n?.aborted)return c();try{t(u=>{l(),i(u)},u=>{l(),a(u)})}catch(u){a(u)}n?.addEventListener("abort",A)})}o(Z3,"createAbortablePromise");var cCe="The delay was aborted.";function lCe(t,e){let r,{abortSignal:n,abortErrorMsg:s}=e??{};return Z3(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:s??cCe})}o(lCe,"delay");function ACe(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(ACe,"getRandomIntegerInclusive");function e4(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(e4,"isObject");function t4(t){if(e4(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(t4,"isError");function uCe(t){if(t4(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(uCe,"getErrorMessage");async function dCe(t,e,r){let n=Buffer.from(t,"base64");return sP.createHmac("sha256",n).update(e).digest(r)}o(dCe,"computeSha256Hmac");async function mCe(t,e){return sP.createHash("sha256").update(t).digest(e)}o(mCe,"computeSha256Hash");function iP(t){return typeof t<"u"&&t!==null}o(iP,"isDefined");function pCe(t,e){if(!iP(t)||typeof t!="object")return!1;for(let r of e)if(!r4(t,r))return!1;return!0}o(pCe,"isObjectWithProperties");function r4(t,e){return iP(t)&&typeof t=="object"&&e in t}o(r4,"objectHasProperty");function hCe(){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(hCe,"generateUUID");var XR,nP=typeof((XR=globalThis?.crypto)===null||XR===void 0?void 0:XR.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):sP.randomUUID;nP||(nP=hCe);function fCe(){return nP()}o(fCe,"randomUUID");var ZR,eP,tP,rP,gCe=typeof window<"u"&&typeof window.document<"u",yCe=typeof self=="object"&&typeof self?.importScripts=="function"&&(((ZR=self.constructor)===null||ZR===void 0?void 0:ZR.name)==="DedicatedWorkerGlobalScope"||((eP=self.constructor)===null||eP===void 0?void 0:eP.name)==="ServiceWorkerGlobalScope"||((tP=self.constructor)===null||tP===void 0?void 0:tP.name)==="SharedWorkerGlobalScope"),ECe=typeof process<"u"&&!!process.version&&!!(!((rP=process.versions)===null||rP===void 0)&&rP.node),CCe=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",ICe=typeof Bun<"u"&&typeof Bun.version<"u",BCe=typeof navigator<"u"&&navigator?.product==="ReactNative";function QCe(t,e){switch(e){case"utf-8":return NCe(t);case"base64":return bCe(t);case"base64url":return wCe(t)}}o(QCe,"uint8ArrayToString");function xCe(t,e){switch(e){case"utf-8":return SCe(t);case"base64":return RCe(t);case"base64url":return PCe(t)}}o(xCe,"stringToUint8Array");function bCe(t){return Buffer.from(t).toString("base64")}o(bCe,"uint8ArrayToBase64");function wCe(t){return Buffer.from(t).toString("base64url")}o(wCe,"uint8ArrayToBase64Url");function NCe(t){return Buffer.from(t).toString("utf-8")}o(NCe,"uint8ArrayToUtf8String");function SCe(t){return Buffer.from(t)}o(SCe,"utf8StringToUint8Array");function RCe(t){return Buffer.from(t,"base64")}o(RCe,"base64ToUint8Array");function PCe(t){return Buffer.from(t,"base64url")}o(PCe,"base64UrlToUint8Array");et.computeSha256Hash=mCe;et.computeSha256Hmac=dCe;et.createAbortablePromise=Z3;et.delay=lCe;et.getErrorMessage=uCe;et.getRandomIntegerInclusive=ACe;et.isBrowser=gCe;et.isBun=ICe;et.isDefined=iP;et.isDeno=CCe;et.isError=t4;et.isNode=ECe;et.isObject=e4;et.isObjectWithProperties=pCe;et.isReactNative=BCe;et.isWebWorker=yCe;et.objectHasProperty=r4;et.randomUUID=fCe;et.stringToUint8Array=xCe;et.uint8ArrayToString=QCe});var x4=g(za=>{"use strict";Object.defineProperty(za,"__esModule",{value:!0});var vCe=K3(),s4=KR(),DCe=n4(),Ha=vCe.createClientLogger("core-lro"),o4=2e3,a4=["succeeded","canceled","failed"];function c4(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(c4,"deserializeState");function i4(t){let{state:e,stateProxy:r,isOperationError:n}=t;return s=>{throw n(s)&&(r.setError(e,s),r.setFailed(e)),s}}o(i4,"setStateError");function kCe(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(kCe,"appendReadableErrorMessage");function TCe(t){let e=t.message,r=t.code,n=t;for(;n.innererror;)n=n.innererror,r=n.code,e=kCe(e,n.message);return{code:r,message:e}}o(TCe,"simplifyError");function l4(t){let{state:e,stateProxy:r,status:n,isDone:s,processResult:i,getError:a,response:c,setErrorAsResult:l}=t;switch(n){case"succeeded":{r.setSucceeded(e);break}case"failed":{let A=a?.(c),u="";if(A){let{code:m,message:p}=TCe(A);u=`. ${m}. ${p}`}let d=`The long-running operation has failed${u}`;r.setError(e,new Error(d)),r.setFailed(e),Ha.warning(d);break}case"canceled":{r.setCanceled(e);break}}(s?.(c,e)||s===void 0&&["succeeded","canceled"].concat(l?[]:["failed"]).includes(n))&&r.setResult(e,MCe({response:c,state:e,processResult:i}))}o(l4,"processOperationStatus");function MCe(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}o(MCe,"buildResult");async function A4(t){let{init:e,stateProxy:r,processResult:n,getOperationStatus:s,withOperationLocation:i,setErrorAsResult:a}=t,{operationLocation:c,resourceLocation:l,metadata:A,response:u}=await e();c&&i?.(c,!1);let d={metadata:A,operationLocation:c,resourceLocation:l};Ha.verbose("LRO: Operation description:",d);let m=r.initState(d),p=s({response:u,state:m,operationLocation:c});return l4({state:m,status:p,stateProxy:r,response:u,setErrorAsResult:a,processResult:n}),m}o(A4,"initOperation");async function LCe(t){let{poll:e,state:r,stateProxy:n,operationLocation:s,getOperationStatus:i,getResourceLocation:a,isOperationError:c,options:l}=t,A=await e(s,l).catch(i4({state:r,stateProxy:n,isOperationError:c})),u=i(A,r);if(Ha.verbose(`LRO: Status: +`)+4,e.outputData[0].data=e._header+n.substring(s),bl("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(bl("Creating `tls.Socket`: %o",this.connectOpts),i=Gpe.connect(this.connectOpts)):(bl("Creating `net.Socket`: %o",this.connectOpts),i=zpe.connect(this.connectOpts)),await(0,Vpe.once)(i,"connect"),i}};ig.protocols=["http","https"];En.HttpProxyAgent=ig;function Wpe(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(Wpe,"omit")});var aV=g(Eg=>{"use strict";Object.defineProperty(Eg,"__esModule",{value:!0});Eg.state=void 0;Eg.state={instrumenterImplementation:void 0}});var xV=g(xg=>{"use strict";Object.defineProperty(xg,"__esModule",{value:!0});xg.state=void 0;xg.state={operationRequestMap:new WeakMap}});var r4=g(zl=>{"use strict";Object.defineProperty(zl,"__esModule",{value:!0});var pCe=require("os"),hCe=require("util");function fCe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(fCe,"_interopDefaultLegacy");var gCe=fCe(hCe);function yCe(t,...e){process.stderr.write(`${gCe.default.format(t,...e)}${pCe.EOL}`)}o(yCe,"log");var V3=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,W3,JR=[],WR=[],zy=[];V3&&$R(V3);var $3=Object.assign(t=>j3(t),{enable:$R,enabled:jR,disable:ECe,log:yCe});function $R(t){W3=t,JR=[],WR=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?WR.push(new RegExp(`^${n.substr(1)}$`)):JR.push(new RegExp(`^${n}$`));for(let n of zy)n.enabled=jR(n.namespace)}o($R,"enable");function jR(t){if(t.endsWith("*"))return!0;for(let e of WR)if(e.test(t))return!1;for(let e of JR)if(e.test(t))return!0;return!1}o(jR,"enabled");function ECe(){let t=W3||"";return $R(""),t}o(ECe,"disable");function j3(t){let e=Object.assign(r,{enabled:jR(t),destroy:CCe,log:$3.log,namespace:t,extend:ICe});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),zy.push(e),e}o(j3,"createDebugger");function CCe(){let t=zy.indexOf(this);return t>=0?(zy.splice(t,1),!0):!1}o(CCe,"destroy");function ICe(t){let e=j3(`${this.namespace}:${t}`);return e.log=this.log,e}o(ICe,"extend");var Zd=$3,K3=new Set,qy=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,Gy,Yy=Zd("azure");Yy.log=(...t)=>{Zd.log(...t)};var KR=["verbose","info","warning","error"];qy&&(t4(qy)?X3(qy):console.error(`AZURE_LOG_LEVEL set to unknown log level '${qy}'; logging is not enabled. Acceptable values: ${KR.join(", ")}.`));function X3(t){if(t&&!t4(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${KR.join(",")}`);Gy=t;let e=[];for(let r of K3)e4(r)&&e.push(r.namespace);Zd.enable(e.join(","))}o(X3,"setLogLevel");function BCe(){return Gy}o(BCe,"getLogLevel");var J3={verbose:400,info:300,warning:200,error:100};function QCe(t){let e=Yy.extend(t);return Z3(Yy,e),{error:Hy(e,"error"),warning:Hy(e,"warning"),info:Hy(e,"info"),verbose:Hy(e,"verbose")}}o(QCe,"createClientLogger");function Z3(t,e){e.log=(...r)=>{t.log(...r)}}o(Z3,"patchLogMethod");function Hy(t,e){let r=Object.assign(t.extend(e),{level:e});if(Z3(t,r),e4(r)){let n=Zd.disable();Zd.enable(n+","+r.namespace)}return K3.add(r),r}o(Hy,"createLogger");function e4(t){return!!(Gy&&J3[t.level]<=J3[Gy])}o(e4,"shouldEnable");function t4(t){return KR.includes(t)}o(t4,"isAzureLogLevel");zl.AzureLogger=Yy;zl.createClientLogger=QCe;zl.getLogLevel=BCe;zl.setLogLevel=X3});var eP=g(tm=>{"use strict";Object.defineProperty(tm,"__esModule",{value:!0});var Gl=new WeakMap,Vy=new WeakMap,em=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,Gl.set(this,[]),Vy.set(this,!1)}get aborted(){if(!Vy.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return Vy.get(this)}static get none(){return new t}addEventListener(e,r){if(!Gl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");Gl.get(this).push(r)}removeEventListener(e,r){if(!Gl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=Gl.get(this),s=n.indexOf(r);s>-1&&n.splice(s,1)}dispatchEvent(e){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}};function n4(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=Gl.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),Vy.set(t,!0)}o(n4,"abortSignal");var XR=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},ZR=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new em,!!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(){n4(this._signal)}static timeout(e){let r=new em,n=setTimeout(n4,e,r);return typeof n.unref=="function"&&n.unref(),r}};tm.AbortController=ZR;tm.AbortError=XR;tm.AbortSignal=em});var c4=g(et=>{"use strict";Object.defineProperty(et,"__esModule",{value:!0});var xCe=eP(),aP=require("crypto");function s4(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:s}=e??{};return new Promise((i,a)=>{function c(){a(new xCe.AbortError(s??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){n?.removeEventListener("abort",A)}o(l,"removeListeners");function A(){r?.(),l(),c()}if(o(A,"onAbort"),n?.aborted)return c();try{t(u=>{l(),i(u)},u=>{l(),a(u)})}catch(u){a(u)}n?.addEventListener("abort",A)})}o(s4,"createAbortablePromise");var bCe="The delay was aborted.";function wCe(t,e){let r,{abortSignal:n,abortErrorMsg:s}=e??{};return s4(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:s??bCe})}o(wCe,"delay");function NCe(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(NCe,"getRandomIntegerInclusive");function i4(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(i4,"isObject");function o4(t){if(i4(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(o4,"isError");function SCe(t){if(o4(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(SCe,"getErrorMessage");async function RCe(t,e,r){let n=Buffer.from(t,"base64");return aP.createHmac("sha256",n).update(e).digest(r)}o(RCe,"computeSha256Hmac");async function PCe(t,e){return aP.createHash("sha256").update(t).digest(e)}o(PCe,"computeSha256Hash");function cP(t){return typeof t<"u"&&t!==null}o(cP,"isDefined");function vCe(t,e){if(!cP(t)||typeof t!="object")return!1;for(let r of e)if(!a4(t,r))return!1;return!0}o(vCe,"isObjectWithProperties");function a4(t,e){return cP(t)&&typeof t=="object"&&e in t}o(a4,"objectHasProperty");function DCe(){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(DCe,"generateUUID");var tP,oP=typeof((tP=globalThis?.crypto)===null||tP===void 0?void 0:tP.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):aP.randomUUID;oP||(oP=DCe);function kCe(){return oP()}o(kCe,"randomUUID");var rP,nP,sP,iP,TCe=typeof window<"u"&&typeof window.document<"u",MCe=typeof self=="object"&&typeof self?.importScripts=="function"&&(((rP=self.constructor)===null||rP===void 0?void 0:rP.name)==="DedicatedWorkerGlobalScope"||((nP=self.constructor)===null||nP===void 0?void 0:nP.name)==="ServiceWorkerGlobalScope"||((sP=self.constructor)===null||sP===void 0?void 0:sP.name)==="SharedWorkerGlobalScope"),LCe=typeof process<"u"&&!!process.version&&!!(!((iP=process.versions)===null||iP===void 0)&&iP.node),_Ce=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",FCe=typeof Bun<"u"&&typeof Bun.version<"u",UCe=typeof navigator<"u"&&navigator?.product==="ReactNative";function OCe(t,e){switch(e){case"utf-8":return GCe(t);case"base64":return HCe(t);case"base64url":return zCe(t)}}o(OCe,"uint8ArrayToString");function qCe(t,e){switch(e){case"utf-8":return YCe(t);case"base64":return VCe(t);case"base64url":return JCe(t)}}o(qCe,"stringToUint8Array");function HCe(t){return Buffer.from(t).toString("base64")}o(HCe,"uint8ArrayToBase64");function zCe(t){return Buffer.from(t).toString("base64url")}o(zCe,"uint8ArrayToBase64Url");function GCe(t){return Buffer.from(t).toString("utf-8")}o(GCe,"uint8ArrayToUtf8String");function YCe(t){return Buffer.from(t)}o(YCe,"utf8StringToUint8Array");function VCe(t){return Buffer.from(t,"base64")}o(VCe,"base64ToUint8Array");function JCe(t){return Buffer.from(t,"base64url")}o(JCe,"base64UrlToUint8Array");et.computeSha256Hash=PCe;et.computeSha256Hmac=RCe;et.createAbortablePromise=s4;et.delay=wCe;et.getErrorMessage=SCe;et.getRandomIntegerInclusive=NCe;et.isBrowser=TCe;et.isBun=FCe;et.isDefined=cP;et.isDeno=_Ce;et.isError=o4;et.isNode=LCe;et.isObject=i4;et.isObjectWithProperties=vCe;et.isReactNative=UCe;et.isWebWorker=MCe;et.objectHasProperty=a4;et.randomUUID=kCe;et.stringToUint8Array=qCe;et.uint8ArrayToString=OCe});var R4=g(Ga=>{"use strict";Object.defineProperty(Ga,"__esModule",{value:!0});var WCe=r4(),l4=eP(),$Ce=c4(),za=WCe.createClientLogger("core-lro"),u4=2e3,d4=["succeeded","canceled","failed"];function m4(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(m4,"deserializeState");function A4(t){let{state:e,stateProxy:r,isOperationError:n}=t;return s=>{throw n(s)&&(r.setError(e,s),r.setFailed(e)),s}}o(A4,"setStateError");function jCe(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(jCe,"appendReadableErrorMessage");function KCe(t){let e=t.message,r=t.code,n=t;for(;n.innererror;)n=n.innererror,r=n.code,e=jCe(e,n.message);return{code:r,message:e}}o(KCe,"simplifyError");function p4(t){let{state:e,stateProxy:r,status:n,isDone:s,processResult:i,getError:a,response:c,setErrorAsResult:l}=t;switch(n){case"succeeded":{r.setSucceeded(e);break}case"failed":{let A=a?.(c),u="";if(A){let{code:m,message:p}=KCe(A);u=`. ${m}. ${p}`}let d=`The long-running operation has failed${u}`;r.setError(e,new Error(d)),r.setFailed(e),za.warning(d);break}case"canceled":{r.setCanceled(e);break}}(s?.(c,e)||s===void 0&&["succeeded","canceled"].concat(l?[]:["failed"]).includes(n))&&r.setResult(e,XCe({response:c,state:e,processResult:i}))}o(p4,"processOperationStatus");function XCe(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}o(XCe,"buildResult");async function h4(t){let{init:e,stateProxy:r,processResult:n,getOperationStatus:s,withOperationLocation:i,setErrorAsResult:a}=t,{operationLocation:c,resourceLocation:l,metadata:A,response:u}=await e();c&&i?.(c,!1);let d={metadata:A,operationLocation:c,resourceLocation:l};za.verbose("LRO: Operation description:",d);let m=r.initState(d),p=s({response:u,state:m,operationLocation:c});return p4({state:m,status:p,stateProxy:r,response:u,setErrorAsResult:a,processResult:n}),m}o(h4,"initOperation");async function ZCe(t){let{poll:e,state:r,stateProxy:n,operationLocation:s,getOperationStatus:i,getResourceLocation:a,isOperationError:c,options:l}=t,A=await e(s,l).catch(A4({state:r,stateProxy:n,isOperationError:c})),u=i(A,r);if(za.verbose(`LRO: Status: Polling from: ${r.config.operationLocation} Operation status: ${u} - Polling status: ${a4.includes(u)?"Stopped":"Running"}`),u==="succeeded"){let d=a(A,r);if(d!==void 0)return{response:await e(d).catch(i4({state:r,stateProxy:n,isOperationError:c})),status:u}}return{response:A,status:u}}o(LCe,"pollOperationHelper");async function u4(t){let{poll:e,state:r,stateProxy:n,options:s,getOperationStatus:i,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:A,getPollingInterval:u,processResult:d,getError:m,updateState:p,setDelay:h,isDone:f,setErrorAsResult:C}=t,{operationLocation:y}=r.config;if(y!==void 0){let{response:E,status:I}=await LCe({poll:e,getOperationStatus:i,state:r,stateProxy:n,operationLocation:y,getResourceLocation:a,isOperationError:l,options:s});if(l4({status:I,response:E,state:r,stateProxy:n,isDone:f,processResult:d,getError:m,setErrorAsResult:C}),!a4.includes(I)){let B=u?.(E);B&&h(B);let N=c?.(E,r);if(N!==void 0){let S=y!==N;r.config.operationLocation=N,A?.(N,S)}else A?.(y,!1)}p?.(r,E)}}o(u4,"pollOperation");function d4(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(d4,"getOperationLocationPollingUrl");function m4(t){return t.headers.location}o(m4,"getLocationHeader");function p4(t){return t.headers["operation-location"]}o(p4,"getOperationLocationHeader");function h4(t){return t.headers["azure-asyncoperation"]}o(h4,"getAzureAsyncOperationHeader");function _Ce(t){var e;let{location:r,requestMethod:n,requestPath:s,resourceLocationConfig:i}=t;switch(n){case"PUT":return s;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:s;default:return a()}function a(){switch(i){case"azure-async-operation":return;case"original-uri":return s;default:return r}}o(a,"getDefault")}o(_Ce,"findResourceLocation");function f4(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:s}=t,i=p4(e),a=h4(e),c=d4({operationLocation:i,azureAsyncOperation:a}),l=m4(e),A=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:_Ce({requestMethod:A,location:l,requestPath:n,resourceLocationConfig:s})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:A==="PUT"&&n?{mode:"Body",operationLocation:n}:void 0}o(f4,"inferLroMode");function g4(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 cP(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 Ha.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(g4,"transformStatus");function FCe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return g4({status:r,statusCode:t.statusCode})}o(FCe,"getStatus");function UCe(t){var e,r;let{properties:n,provisioningState:s}=(e=t.body)!==null&&e!==void 0?e:{},i=(r=n?.provisioningState)!==null&&r!==void 0?r:s;return g4({status:i,statusCode:t.statusCode})}o(UCe,"getProvisioningState");function cP(t){return t===202?"running":t<300?"succeeded":"failed"}o(cP,"toOperationStatus");function y4({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?OCe(new Date(e)):r*1e3}}o(y4,"parseRetryAfter");function E4(t){let e=t.flatResponse.error;if(!e){Ha.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){Ha.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(E4,"getErrorFromResponse");function OCe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e{let a=await s.sendInitialRequest(),c=f4({rawResponse:a.rawResponse,requestPath:s.requestPath,requestMethod:s.requestMethod,resourceLocationConfig:r});return Object.assign({response:a,operationLocation:c?.operationLocation,resourceLocation:c?.resourceLocation},c?.mode?{metadata:{mode:c.mode}}:{})},"init"),stateProxy:e,processResult:n?({flatResponse:a},c)=>n(a,c):({flatResponse:a})=>a,getOperationStatus:C4,setErrorAsResult:i})}o(qCe,"initHttpOperation");function I4({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return d4({operationLocation:p4(t),azureAsyncOperation:h4(t)});case"ResourceLocation":return m4(t);default:return}}o(I4,"getOperationLocation");function lP({rawResponse:t},e){var r;let n=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(n){case"OperationLocation":return FCe(t);case"ResourceLocation":return cP(t.statusCode);case"Body":return UCe(t);default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}o(lP,"getOperationStatus");function B4({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(B4,"getResourceLocation");function Q4(t){return t.name==="RestError"}o(Q4,"isOperationError");async function HCe(t){let{lro:e,stateProxy:r,options:n,processResult:s,updateState:i,setDelay:a,state:c,setErrorAsResult:l}=t;return u4({state:c,stateProxy:r,setDelay:a,processResult:s?({flatResponse:A},u)=>s(A,u):({flatResponse:A})=>A,getError:E4,updateState:i,getPollingInterval:y4,getOperationLocation:I4,getOperationStatus:lP,isOperationError:Q4,getResourceLocation:B4,options:n,poll:o(async(A,u)=>e.sendPollRequest(A,u),"poll"),setErrorAsResult:l})}o(HCe,"pollHttpOperation");var zCe=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 GCe(t){let{getOperationLocation:e,getStatusFromInitialResponse:r,getStatusFromPollResponse:n,isOperationError:s,getResourceLocation:i,getPollingInterval:a,getError:c,resolveOnUnsuccessful:l}=t;return async({init:A,poll:u},d)=>{let{processResult:m,updateState:p,withOperationLocation:h,intervalInMs:f=o4,restoreFrom:C}=d||{},y=zCe(),E=h?(()=>{let Ne=!1;return(ae,De)=>{De?h(ae):Ne||h(ae),Ne=!0}})():void 0,I=C?c4(C):await A4({init:A,stateProxy:y,processResult:m,getOperationStatus:r,withOperationLocation:E,setErrorAsResult:!l}),B,N=new s4.AbortController,S=new Map,F=o(async()=>S.forEach(Ne=>Ne(I)),"handleProgressEvents"),ue="Operation was canceled",be=f,Be={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(Ne=>{let ae=Symbol();return S.set(ae,Ne),()=>S.delete(ae)},"onProgress"),pollUntilDone:o(Ne=>B??(B=(async()=>{let{abortSignal:ae}=Ne||{},{signal:De}=ae?new s4.AbortController([ae,N.signal]):N;if(!Be.isDone())for(await Be.poll({abortSignal:De});!Be.isDone();)await DCe.delay(be,{abortSignal:De}),await Be.poll({abortSignal:De});if(l)return Be.getResult();switch(I.status){case"succeeded":return Be.getResult();case"canceled":throw new Error(ue);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(Ne){if(l){if(Be.isDone())return}else switch(I.status){case"succeeded":return;case"canceled":throw new Error(ue);case"failed":throw I.error}if(await u4({poll:u,state:I,stateProxy:y,getOperationLocation:e,isOperationError:s,withOperationLocation:E,getPollingInterval:a,getOperationStatus:n,getResourceLocation:i,processResult:m,getError:c,updateState:p,options:Ne,setDelay:o(ae=>{be=ae},"setDelay"),setErrorAsResult:!l}),await F(),!l)switch(I.status){case"canceled":throw new Error(ue);case"failed":throw I.error}}};return Be}}o(GCe,"buildCreatePoller");async function YCe(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:s,restoreFrom:i,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return GCe({getStatusFromInitialResponse:C4,getStatusFromPollResponse:lP,isOperationError:Q4,getOperationLocation:I4,getResourceLocation:B4,getPollingInterval:y4,getError:E4,resolveOnUnsuccessful:l})({init:o(async()=>{let A=await t.sendInitialRequest(),u=f4({rawResponse:A.rawResponse,requestPath:t.requestPath,requestMethod:t.requestMethod,resourceLocationConfig:r});return Object.assign({response:A,operationLocation:u?.operationLocation,resourceLocation:u?.resourceLocation},u?.mode?{metadata:{mode:u.mode}}:{})},"init"),poll:t.sendPollRequest},{intervalInMs:n,withOperationLocation:c,restoreFrom:i,updateState:a,processResult:s?({flatResponse:A},u)=>s(A,u):({flatResponse:A})=>A})}o(YCe,"createHttpPoller");var VCe=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"),oP=class{static{o(this,"GenericPollOperation")}constructor(e,r,n,s,i,a,c){this.state=e,this.lro=r,this.setErrorAsResult=n,this.lroResourceLocationConfig=s,this.processResult=i,this.updateState=a,this.isDone=c}setPollerConfig(e){this.pollerConfig=e}async update(e){var r;let n=VCe();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await qCe({lro:this.lro,stateProxy:n,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult})));let s=this.updateState,i=this.isDone;return!this.state.isCompleted&&this.state.error===void 0&&await HCe({lro:this.lro,state:this.state,stateProxy:n,processResult:this.processResult,updateState:s?(a,{rawResponse:c})=>s(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 Ha.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},Gy=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},Yy=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},Vy=class{static{o(this,"Poller")}constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((r,n)=>{this.resolve=r,this.reject=n}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let r of this.pollProgressCallbacks)r(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let r=o(()=>{this.pollOncePromise=void 0},"clearPollOncePromise");this.pollOncePromise.then(r,r).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new Yy("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 Gy("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()}},aP=class extends Vy{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:n=o4,resumeFrom:s,resolveOnUnsuccessful:i=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:A}=r||{},u=s?c4(s):{},d=new oP(u,e,!i,c,l,A,a);super(d),this.resolveOnUnsuccessful=i,this.config={intervalInMs:n},d.setPollerConfig(this.config)}delay(){return new Promise(e=>setTimeout(()=>e(),this.config.intervalInMs))}};za.LroEngine=aP;za.Poller=Vy;za.PollerCancelledError=Yy;za.PollerStoppedError=Gy;za.createHttpPoller=YCe});var z4=g((y6e,mIe)=>{mIe.exports={name:"@actions/cache",version:"6.1.0",description:"Actions cache lib",keywords:["github","actions","cache"],homepage:"https://github.com/actions/toolkit/tree/main/packages/cache",license:"MIT",type:"module",main:"lib/cache.js",types:"lib/cache.d.ts",exports:{".":{types:"./lib/cache.d.ts",import:"./lib/cache.js"}},directories:{lib:"lib",test:"__tests__"},files:["lib","!.DS_Store"],publishConfig:{access:"public"},repository:{type:"git",url:"git+https://github.com/actions/toolkit.git",directory:"packages/cache"},scripts:{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json",test:'echo "Error: run tests from root" && exit 1',tsc:"tsc && cp src/internal/shared/package-version.cjs lib/internal/shared/"},bugs:{url:"https://github.com/actions/toolkit/issues"},dependencies:{"@actions/core":"^3.0.1","@actions/exec":"^3.0.0","@actions/glob":"^0.6.1","@actions/http-client":"^4.0.1","@actions/io":"^3.0.2","@azure/core-rest-pipeline":"^1.23.0","@azure/storage-blob":"^12.31.0","@protobuf-ts/runtime-rpc":"^2.11.1",semver:"^7.7.4"},devDependencies:{"@protobuf-ts/plugin":"^2.11.1","@types/node":"^25.6.0","@types/semver":"^7.7.1",typescript:"^5.9.3"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var Y4=g((E6e,G4)=>{var pIe=z4();G4.exports={version:pIe.version}});var iE=g(Jl=>{"use strict";Object.defineProperty(Jl,"__esModule",{value:!0});Jl.isJsonObject=Jl.typeofJsonValue=void 0;function BIe(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(BIe,"typeofJsonValue");Jl.typeofJsonValue=BIe;function QIe(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(QIe,"isJsonObject");Jl.isJsonObject=QIe});var aE=g(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.base64encode=Wl.base64decode=void 0;var Li="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),oE=[];for(let t=0;t>4,a=i,s=2;break;case 2:r[n++]=(a&15)<<4|(i&60)>>2,a=i,s=3;break;case 3:r[n++]=(a&3)<<6|i,s=0;break}}if(s==1)throw Error("invalid base64 string.");return r.subarray(0,n)}o(xIe,"base64decode");Wl.base64decode=xIe;function bIe(t){let e="",r=0,n,s=0;for(let i=0;i>2],s=(n&3)<<4,r=1;break;case 1:e+=Li[s|n>>4],s=(n&15)<<2,r=2;break;case 2:e+=Li[s|n>>6],e+=Li[n&63],r=0;break}return r&&(e+=Li[s],e+="=",r==1&&(e+="=")),e}o(bIe,"base64encode");Wl.base64encode=bIe});var K4=g(cE=>{"use strict";Object.defineProperty(cE,"__esModule",{value:!0});cE.utf8read=void 0;var EP=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function wIe(t){if(t.length<1)return"";let e=0,r=[],n=[],s=0,i,a=t.length;for(;e191&&i<224?n[s++]=(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,n[s++]=55296+(i>>10),n[s++]=56320+(i&1023)):n[s++]=(i&15)<<12|(t[e++]&63)<<6|t[e++]&63,s>8191&&(r.push(EP(n)),s=0);return r.length?(s&&r.push(EP(n.slice(0,s))),r.join("")):EP(n.slice(0,s))}o(wIe,"utf8read");cE.utf8read=wIe});var cm=g(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws.WireType=Ws.mergeBinaryOptions=Ws.UnknownFieldHandler=void 0;var NIe;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,s,i,a)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:s,wireType:i,data:a})},t.onWrite=(r,n,s)=>{for(let{no:i,wireType:a,data:c}of t.list(n))s.tag(i,a).raw(c)},t.list=(r,n)=>{if(e(r)){let s=r[t.symbol];return n?s.filter(i=>i.no==n):s}return[]},t.last=(r,n)=>t.list(r,n).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})(NIe=Ws.UnknownFieldHandler||(Ws.UnknownFieldHandler={}));function SIe(t,e){return Object.assign(Object.assign({},t),e)}o(SIe,"mergeBinaryOptions");Ws.mergeBinaryOptions=SIe;var RIe;(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"})(RIe=Ws.WireType||(Ws.WireType={}))});var AE=g(br=>{"use strict";Object.defineProperty(br,"__esModule",{value:!0});br.varint32read=br.varint32write=br.int64toString=br.int64fromString=br.varint64write=br.varint64read=void 0;function PIe(){let t=0,e=0;for(let n=0;n<28;n+=7){let s=this.buf[this.pos++];if(t|=(s&127)<>4,(r&128)==0)return this.assertBounds(),[t,e];for(let n=3;n<=31;n+=7){let s=this.buf[this.pos++];if(e|=(s&127)<>>i,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let n=t>>>28&15|(e&7)<<4,s=e>>3!=0;if(r.push((s?n|128:n)&255),!!s){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(vIe,"varint64write");br.varint64write=vIe;var lE=65536*65536;function DIe(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,s=0;function i(a,c){let l=Number(t.slice(a,c));s*=r,n=n*r+l,n>=lE&&(s=s+(n/lE|0),n=n%lE)}return o(i,"add1e6digit"),i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,n,s]}o(DIe,"int64fromString");br.int64fromString=DIe;function kIe(t,e){if(e>>>0<=2097151)return""+(lE*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,s=e>>16&65535,i=r+n*6777216+s*6710656,a=n+s*8147497,c=s*2,l=1e7;i>=l&&(a+=Math.floor(i/l),i%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function A(u,d){let m=u?String(u):"";return d?"0000000".slice(m.length)+m:m}return o(A,"decimalFrom1e7"),A(c,0)+A(a,c)+A(i,1)}o(kIe,"int64toString");br.int64toString=kIe;function TIe(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(TIe,"varint32write");br.varint32write=TIe;function MIe(){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(MIe,"varint32read");br.varint32read=MIe});var Do=g(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.PbLong=vo.PbULong=vo.detectBi=void 0;var lm=AE(),ve;function X4(){let t=new DataView(new ArrayBuffer(8));ve=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(X4,"detectBi");vo.detectBi=X4;X4();function Z4(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(Z4,"assertBi");var e8=/^-?[0-9]+$/,dE=4294967296,uE=2147483648,mE=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*dE+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},Am=class t extends mE{static{o(this,"PbULong")}static from(e){if(ve)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=ve.C(e);case"number":if(e===0)return this.ZERO;e=ve.C(e);case"bigint":if(!e)return this.ZERO;if(eve.UMAX)throw new Error("ulong too large");return ve.V.setBigUint64(0,e,!0),new t(ve.V.getInt32(0,!0),ve.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!e8.test(e))throw new Error("string is no integer");let[r,n,s]=lm.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(n,s);case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");if(e<0)throw new Error("signed value for ulong");return new t(e,e/dE)}throw new Error("unknown value "+typeof e)}toString(){return ve?this.toBigInt().toString():lm.int64toString(this.lo,this.hi)}toBigInt(){return Z4(ve),ve.V.setInt32(0,this.lo,!0),ve.V.setInt32(4,this.hi,!0),ve.V.getBigUint64(0,!0)}};vo.PbULong=Am;Am.ZERO=new Am(0,0);var um=class t extends mE{static{o(this,"PbLong")}static from(e){if(ve)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=ve.C(e);case"number":if(e===0)return this.ZERO;e=ve.C(e);case"bigint":if(!e)return this.ZERO;if(eve.MAX)throw new Error("signed long too large");return ve.V.setBigInt64(0,e,!0),new t(ve.V.getInt32(0,!0),ve.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!e8.test(e))throw new Error("string is no integer");let[r,n,s]=lm.int64fromString(e);if(r){if(s>uE||s==uE&&n!=0)throw new Error("signed long too small")}else if(s>=uE)throw new Error("signed long too large");let i=new t(n,s);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/dE):new t(-e,-e/dE).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&uE)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(ve)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+lm.int64toString(e.lo,e.hi)}return lm.int64toString(this.lo,this.hi)}toBigInt(){return Z4(ve),ve.V.setInt32(0,this.lo,!0),ve.V.setInt32(4,this.hi,!0),ve.V.getBigInt64(0,!0)}};vo.PbLong=um;um.ZERO=new um(0,0)});var CP=g(jl=>{"use strict";Object.defineProperty(jl,"__esModule",{value:!0});jl.BinaryReader=jl.binaryReadOptions=void 0;var $l=cm(),dm=Do(),t8=AE(),r8={readUnknownField:!0,readerFactory:o(t=>new pE(t),"readerFactory")};function LIe(t){return t?Object.assign(Object.assign({},r8),t):r8}o(LIe,"binaryReadOptions");jl.binaryReadOptions=LIe;var pE=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,n=e&7;if(r<=0||n<0||n>5)throw new Error("illegal tag: field no "+r+" wire type "+n);return[r,n]}skip(e){let r=this.pos;switch(e){case $l.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case $l.WireType.Bit64:this.pos+=4;case $l.WireType.Bit32:this.pos+=4;break;case $l.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case $l.WireType.StartGroup:let s;for(;(s=this.tag()[1])!==$l.WireType.EndGroup;)this.skip(s);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 dm.PbLong(...this.varint64())}uint64(){return new dm.PbULong(...this.varint64())}sint64(){let[e,r]=this.varint64(),n=-(e&1);return e=(e>>>1|(r&1)<<31)^n,r=r>>>1^n,new dm.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 dm.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new dm.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())}};jl.BinaryReader=pE});var Kl=g(wn=>{"use strict";Object.defineProperty(wn,"__esModule",{value:!0});wn.assertFloat32=wn.assertUInt32=wn.assertInt32=wn.assertNever=wn.assert=void 0;function _Ie(t,e){if(!t)throw new Error(e)}o(_Ie,"assert");wn.assert=_Ie;function FIe(t,e){throw new Error(e??"Unexpected object: "+t)}o(FIe,"assertNever");wn.assertNever=FIe;var UIe=34028234663852886e22,OIe=-34028234663852886e22,qIe=4294967295,HIe=2147483647,zIe=-2147483648;function GIe(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>HIe||tqIe||t<0)throw new Error("invalid uint 32: "+t)}o(YIe,"assertUInt32");wn.assertUInt32=YIe;function VIe(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>UIe||t{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});Zl.BinaryWriter=Zl.binaryWriteOptions=void 0;var mm=Do(),pm=AE(),Xl=Kl(),n8={writeUnknownFields:!0,writerFactory:o(()=>new hE,"writerFactory")};function JIe(t){return t?Object.assign(Object.assign({},n8),t):n8}o(JIe,"binaryWriteOptions");Zl.binaryWriteOptions=JIe;var hE=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 s=0;s>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(Xl.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return Xl.assertInt32(e),pm.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){Xl.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){Xl.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){Xl.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return Xl.assertInt32(e),e=(e<<1^e>>31)>>>0,pm.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),s=mm.PbLong.from(e);return n.setInt32(0,s.lo,!0),n.setInt32(4,s.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),s=mm.PbULong.from(e);return n.setInt32(0,s.lo,!0),n.setInt32(4,s.hi,!0),this.raw(r)}int64(e){let r=mm.PbLong.from(e);return pm.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=mm.PbLong.from(e),n=r.hi>>31,s=r.lo<<1^n,i=(r.hi<<1|r.lo>>>31)^n;return pm.varint64write(s,i,this.buf),this}uint64(e){let r=mm.PbULong.from(e);return pm.varint64write(r.lo,r.hi,this.buf),this}};Zl.BinaryWriter=hE});var BP=g(ko=>{"use strict";Object.defineProperty(ko,"__esModule",{value:!0});ko.mergeJsonOptions=ko.jsonWriteOptions=ko.jsonReadOptions=void 0;var s8={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},i8={ignoreUnknownFields:!1};function WIe(t){return t?Object.assign(Object.assign({},i8),t):i8}o(WIe,"jsonReadOptions");ko.jsonReadOptions=WIe;function $Ie(t){return t?Object.assign(Object.assign({},s8),t):s8}o($Ie,"jsonWriteOptions");ko.jsonWriteOptions=$Ie;function jIe(t,e){var r,n;let s=Object.assign(Object.assign({},t),e);return s.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(n=e?.typeRegistry)!==null&&n!==void 0?n:[]],s}o(jIe,"mergeJsonOptions");ko.mergeJsonOptions=jIe});var hm=g(fE=>{"use strict";Object.defineProperty(fE,"__esModule",{value:!0});fE.MESSAGE_TYPE=void 0;fE.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var QP=g(gE=>{"use strict";Object.defineProperty(gE,"__esModule",{value:!0});gE.lowerCamelCase=void 0;function KIe(t){let e=!1,r=[];for(let n=0;n{"use strict";Object.defineProperty(Bt,"__esModule",{value:!0});Bt.readMessageOption=Bt.readFieldOption=Bt.readFieldOptions=Bt.normalizeFieldInfo=Bt.RepeatType=Bt.LongType=Bt.ScalarType=void 0;var o8=QP(),XIe;(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"})(XIe=Bt.ScalarType||(Bt.ScalarType={}));var ZIe;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(ZIe=Bt.LongType||(Bt.LongType={}));var a8;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(a8=Bt.RepeatType||(Bt.RepeatType={}));function eBe(t){var e,r,n,s;return t.localName=(e=t.localName)!==null&&e!==void 0?e:o8.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:o8.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:a8.NO,t.opt=(s=t.opt)!==null&&s!==void 0?s:t.repeat||t.oneof?!1:t.kind=="message",t}o(eBe,"normalizeFieldInfo");Bt.normalizeFieldInfo=eBe;function tBe(t,e,r,n){var s;let i=(s=t.fields.find((a,c)=>a.localName==e||c==e))===null||s===void 0?void 0:s.options;return i&&i[r]?n.fromJson(i[r]):void 0}o(tBe,"readFieldOptions");Bt.readFieldOptions=tBe;function rBe(t,e,r,n){var s;let i=(s=t.fields.find((c,l)=>c.localName==e||l==e))===null||s===void 0?void 0:s.options;if(!i)return;let a=i[r];return a===void 0?a:n?n.fromJson(a):a}o(rBe,"readFieldOption");Bt.readFieldOption=rBe;function nBe(t,e,r){let s=t.options[e];return s===void 0?s:r?r.fromJson(s):s}o(nBe,"readMessageOption");Bt.readMessageOption=nBe});var xP=g(wr=>{"use strict";Object.defineProperty(wr,"__esModule",{value:!0});wr.getSelectedOneofValue=wr.clearOneofValue=wr.setUnknownOneofValue=wr.setOneofValue=wr.getOneofValue=wr.isOneofGroup=void 0;function sBe(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(sBe,"isOneofGroup");wr.isOneofGroup=sBe;function iBe(t,e){return t[e]}o(iBe,"getOneofValue");wr.getOneofValue=iBe;function oBe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(oBe,"setOneofValue");wr.setOneofValue=oBe;function aBe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(aBe,"setUnknownOneofValue");wr.setUnknownOneofValue=aBe;function cBe(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(cBe,"clearOneofValue");wr.clearOneofValue=cBe;function lBe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(lBe,"getSelectedOneofValue");wr.getSelectedOneofValue=lBe});var wP=g(yE=>{"use strict";Object.defineProperty(yE,"__esModule",{value:!0});yE.ReflectionTypeCheck=void 0;var tt=jn(),ABe=xP(),bP=class{static{o(this,"ReflectionTypeCheck")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}prepare(){if(this.data)return;let e=[],r=[],n=[];for(let s of this.fields)if(s.oneof)n.includes(s.oneof)||(n.push(s.oneof),e.push(s.oneof),r.push(s.oneof));else switch(r.push(s.localName),s.kind){case"scalar":case"enum":(!s.opt||s.repeat)&&e.push(s.localName);break;case"message":s.repeat&&e.push(s.localName);break;case"map":e.push(s.localName);break}this.data={req:e,known:r,oneofs:Object.values(n)}}is(e,r,n=!1){if(r<0)return!0;if(e==null||typeof e!="object")return!1;this.prepare();let s=Object.keys(e),i=this.data;if(s.length!s.includes(a))||!n&&s.some(a=>!i.known.includes(a)))return!1;if(r<1)return!0;for(let a of i.oneofs){let c=e[a];if(!ABe.isOneofGroup(c))return!1;if(c.oneofKind===void 0)continue;let l=this.fields.find(A=>A.localName===c.oneofKind);if(!l||!this.field(c[c.oneofKind],l,n,r))return!1}for(let a of this.fields)if(a.oneof===void 0&&!this.field(e[a.localName],a,n,r))return!1;return!0}field(e,r,n,s){let i=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:i?this.scalars(e,r.T,s,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:i?this.scalars(e,tt.ScalarType.INT32,s):this.scalar(e,tt.ScalarType.INT32);case"message":return e===void 0?!0:i?this.messages(e,r.T(),n,s):this.message(e,r.T(),n,s);case"map":if(typeof e!="object"||e===null)return!1;if(s<2)return!0;if(!this.mapKeys(e,r.K,s))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,s,r.V.L);case"enum":return this.scalars(Object.values(e),tt.ScalarType.INT32,s);case"message":return this.messages(Object.values(e),r.V.T(),n,s)}break}return!0}message(e,r,n,s){return n?r.isAssignable(e,s):r.is(e,s)}messages(e,r,n,s){if(!Array.isArray(e))return!1;if(s<2)return!0;if(n){for(let i=0;iparseInt(i)),r,n);case tt.ScalarType.BOOL:return this.scalars(s.slice(0,n).map(i=>i=="true"?!0:i=="false"?!1:i),r,n);default:return this.scalars(s,r,n,tt.LongType.STRING)}}};yE.ReflectionTypeCheck=bP});var CE=g(EE=>{"use strict";Object.defineProperty(EE,"__esModule",{value:!0});EE.reflectionLongConvert=void 0;var c8=jn();function uBe(t,e){switch(e){case c8.LongType.BIGINT:return t.toBigInt();case c8.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(uBe,"reflectionLongConvert");EE.reflectionLongConvert=uBe});var SP=g(QE=>{"use strict";Object.defineProperty(QE,"__esModule",{value:!0});QE.ReflectionJsonReader=void 0;var l8=iE(),dBe=aE(),Qt=jn(),IE=Do(),Ya=Kl(),BE=CE(),NP=class{static{o(this,"ReflectionJsonReader")}constructor(e){this.info=e}prepare(){var e;if(this.fMap===void 0){this.fMap={};let r=(e=this.info.fields)!==null&&e!==void 0?e:[];for(let n of r)this.fMap[n.name]=n,this.fMap[n.jsonName]=n,this.fMap[n.localName]=n}}assert(e,r,n){if(!e){let s=l8.typeofJsonValue(n);throw(s=="number"||s=="boolean")&&(s=n.toString()),new Error(`Cannot parse JSON ${s} for ${this.info.typeName}#${r}`)}}read(e,r,n){this.prepare();let s=[];for(let[i,a]of Object.entries(e)){let c=this.fMap[i];if(!c){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${i}`);continue}let l=c.localName,A;if(c.oneof){if(a===null&&(c.kind!=="enum"||c.T()[0]!=="google.protobuf.NullValue"))continue;if(s.includes(c.oneof))throw new Error(`Multiple members of the oneof group "${c.oneof}" of ${this.info.typeName} are present in JSON.`);s.push(c.oneof),A=r[c.oneof]={oneofKind:l}}else A=r;if(c.kind=="map"){if(a===null)continue;this.assert(l8.isJsonObject(a),c.name,a);let u=A[l];for(let[d,m]of Object.entries(a)){this.assert(m!==null,c.name+" map value",null);let p;switch(c.V.kind){case"message":p=c.V.T().internalJsonRead(m,n);break;case"enum":if(p=this.enum(c.V.T(),m,c.name,n.ignoreUnknownFields),p===!1)continue;break;case"scalar":p=this.scalar(m,c.V.T,c.V.L,c.name);break}this.assert(p!==void 0,c.name+" map value",m);let h=d;c.K==Qt.ScalarType.BOOL&&(h=h=="true"?!0:h=="false"?!1:h),h=this.scalar(h,c.K,Qt.LongType.STRING,c.name).toString(),u[h]=p}}else if(c.repeat){if(a===null)continue;this.assert(Array.isArray(a),c.name,a);let u=A[l];for(let d of a){this.assert(d!==null,c.name,null);let m;switch(c.kind){case"message":m=c.T().internalJsonRead(d,n);break;case"enum":if(m=this.enum(c.T(),d,c.name,n.ignoreUnknownFields),m===!1)continue;break;case"scalar":m=this.scalar(d,c.T,c.L,c.name);break}this.assert(m!==void 0,c.name,a),u.push(m)}}else switch(c.kind){case"message":if(a===null&&c.T().typeName!="google.protobuf.Value"){this.assert(c.oneof===void 0,c.name+" (oneof member)",null);continue}A[l]=c.T().internalJsonRead(a,n,A[l]);break;case"enum":if(a===null)continue;let u=this.enum(c.T(),a,c.name,n.ignoreUnknownFields);if(u===!1)continue;A[l]=u;break;case"scalar":if(a===null)continue;A[l]=this.scalar(a,c.T,c.L,c.name);break}}}enum(e,r,n,s){if(e[0]=="google.protobuf.NullValue"&&Ya.assert(r===null||r==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`),r===null)return 0;switch(typeof r){case"number":return Ya.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${n}, 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"&&s?!1:(Ya.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}Ya.assert(!1,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,n,s){let i;try{switch(r){case Qt.ScalarType.DOUBLE:case Qt.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==Qt.ScalarType.FLOAT&&Ya.assertFloat32(a),a;case Qt.ScalarType.INT32:case Qt.ScalarType.FIXED32:case Qt.ScalarType.SFIXED32:case Qt.ScalarType.SINT32:case Qt.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==Qt.ScalarType.UINT32?Ya.assertUInt32(c):Ya.assertInt32(c),c;case Qt.ScalarType.INT64:case Qt.ScalarType.SFIXED64:case Qt.ScalarType.SINT64:if(e===null)return BE.reflectionLongConvert(IE.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return BE.reflectionLongConvert(IE.PbLong.from(e),n);case Qt.ScalarType.FIXED64:case Qt.ScalarType.UINT64:if(e===null)return BE.reflectionLongConvert(IE.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return BE.reflectionLongConvert(IE.PbULong.from(e),n);case Qt.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Qt.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 Qt.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return dBe.base64decode(e)}}catch(a){i=a.message}this.assert(!1,s+(i?" - "+i:""),e)}};QE.ReflectionJsonReader=NP});var PP=g(xE=>{"use strict";Object.defineProperty(xE,"__esModule",{value:!0});xE.ReflectionJsonWriter=void 0;var mBe=aE(),A8=Do(),ir=jn(),Ye=Kl(),RP=class{static{o(this,"ReflectionJsonWriter")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let n={},s=e;for(let i of this.fields){if(!i.oneof){let A=this.field(i,s[i.localName],r);A!==void 0&&(n[r.useProtoFieldName?i.name:i.jsonName]=A);continue}let a=s[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);Ye.assert(l!==void 0),n[r.useProtoFieldName?i.name:i.jsonName]=l}return n}field(e,r,n){let s;if(e.kind=="map"){Ye.assert(typeof r=="object"&&r!==null);let i={};switch(e.V.kind){case"scalar":for(let[l,A]of Object.entries(r)){let u=this.scalar(e.V.T,A,e.name,!1,!0);Ye.assert(u!==void 0),i[l.toString()]=u}break;case"message":let a=e.V.T();for(let[l,A]of Object.entries(r)){let u=this.message(a,A,e.name,n);Ye.assert(u!==void 0),i[l.toString()]=u}break;case"enum":let c=e.V.T();for(let[l,A]of Object.entries(r)){Ye.assert(A===void 0||typeof A=="number");let u=this.enum(c,A,e.name,!1,!0,n.enumAsInteger);Ye.assert(u!==void 0),i[l.toString()]=u}break}(n.emitDefaultValues||Object.keys(i).length>0)&&(s=i)}else if(e.repeat){Ye.assert(Array.isArray(r));let i=[];switch(e.kind){case"scalar":for(let l=0;l0||n.emitDefaultValues)&&(s=i)}else switch(e.kind){case"scalar":s=this.scalar(e.T,r,e.name,e.opt,n.emitDefaultValues);break;case"enum":s=this.enum(e.T(),r,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case"message":s=this.message(e.T(),r,e.name,n);break}return s}enum(e,r,n,s,i,a){if(e[0]=="google.protobuf.NullValue")return!i&&!s?void 0:null;if(r===void 0){Ye.assert(s);return}if(!(r===0&&!i&&!s))return Ye.assert(typeof r=="number"),Ye.assert(Number.isInteger(r)),a||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,n,s){return r===void 0?s.emitDefaultValues?null:void 0:e.internalJsonWrite(r,s)}scalar(e,r,n,s,i){if(r===void 0){Ye.assert(s);return}let a=i||s;switch(e){case ir.ScalarType.INT32:case ir.ScalarType.SFIXED32:case ir.ScalarType.SINT32:return r===0?a?0:void 0:(Ye.assertInt32(r),r);case ir.ScalarType.FIXED32:case ir.ScalarType.UINT32:return r===0?a?0:void 0:(Ye.assertUInt32(r),r);case ir.ScalarType.FLOAT:Ye.assertFloat32(r);case ir.ScalarType.DOUBLE:return r===0?a?0:void 0:(Ye.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case ir.ScalarType.STRING:return r===""?a?"":void 0:(Ye.assert(typeof r=="string"),r);case ir.ScalarType.BOOL:return r===!1?a?!1:void 0:(Ye.assert(typeof r=="boolean"),r);case ir.ScalarType.UINT64:case ir.ScalarType.FIXED64:Ye.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=A8.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case ir.ScalarType.INT64:case ir.ScalarType.SFIXED64:case ir.ScalarType.SINT64:Ye.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=A8.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case ir.ScalarType.BYTES:return Ye.assert(r instanceof Uint8Array),r.byteLength?mBe.base64encode(r):a?"":void 0}}};xE.ReflectionJsonWriter=RP});var wE=g(bE=>{"use strict";Object.defineProperty(bE,"__esModule",{value:!0});bE.reflectionScalarDefault=void 0;var Kn=jn(),u8=CE(),d8=Do();function pBe(t,e=Kn.LongType.STRING){switch(t){case Kn.ScalarType.BOOL:return!1;case Kn.ScalarType.UINT64:case Kn.ScalarType.FIXED64:return u8.reflectionLongConvert(d8.PbULong.ZERO,e);case Kn.ScalarType.INT64:case Kn.ScalarType.SFIXED64:case Kn.ScalarType.SINT64:return u8.reflectionLongConvert(d8.PbLong.ZERO,e);case Kn.ScalarType.DOUBLE:case Kn.ScalarType.FLOAT:return 0;case Kn.ScalarType.BYTES:return new Uint8Array(0);case Kn.ScalarType.STRING:return"";default:return 0}}o(pBe,"reflectionScalarDefault");bE.reflectionScalarDefault=pBe});var DP=g(NE=>{"use strict";Object.defineProperty(NE,"__esModule",{value:!0});NE.ReflectionBinaryReader=void 0;var m8=cm(),At=jn(),fm=CE(),p8=wE(),vP=class{static{o(this,"ReflectionBinaryReader")}constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){let r=(e=this.info.fields)!==null&&e!==void 0?e:[];this.fieldNoToField=new Map(r.map(n=>[n.no,n]))}}read(e,r,n,s){this.prepare();let i=s===void 0?e.len:e.pos+s;for(;e.pos{"use strict";Object.defineProperty(SE,"__esModule",{value:!0});SE.ReflectionBinaryWriter=void 0;var Kr=cm(),Te=jn(),eA=Kl(),gm=Do(),kP=class{static{o(this,"ReflectionBinaryWriter")}constructor(e){this.info=e}prepare(){if(!this.fields){let e=this.info.fields?this.info.fields.concat():[];this.fields=e.sort((r,n)=>r.no-n.no)}}write(e,r,n){this.prepare();for(let i of this.fields){let a,c,l=i.repeat,A=i.localName;if(i.oneof){let u=e[i.oneof];if(u.oneofKind!==A)continue;a=u[A],c=!0}else a=e[A],c=!1;switch(i.kind){case"scalar":case"enum":let u=i.kind=="enum"?Te.ScalarType.INT32:i.T;if(l)if(eA.assert(Array.isArray(a)),l==Te.RepeatType.PACKED)this.packed(r,u,i.no,a);else for(let d of a)this.scalar(r,u,i.no,d,!0);else a===void 0?eA.assert(i.opt):this.scalar(r,u,i.no,a,c||i.opt);break;case"message":if(l){eA.assert(Array.isArray(a));for(let d of a)this.message(r,n,i.T(),i.no,d)}else this.message(r,n,i.T(),i.no,a);break;case"map":eA.assert(typeof a=="object"&&a!==null);for(let[d,m]of Object.entries(a))this.mapEntry(r,n,i,d,m);break}}let s=n.writeUnknownFields;s!==!1&&(s===!0?Kr.UnknownFieldHandler.onWrite:s)(this.info.typeName,e,r)}mapEntry(e,r,n,s,i){e.tag(n.no,Kr.WireType.LengthDelimited),e.fork();let a=s;switch(n.K){case Te.ScalarType.INT32:case Te.ScalarType.FIXED32:case Te.ScalarType.UINT32:case Te.ScalarType.SFIXED32:case Te.ScalarType.SINT32:a=Number.parseInt(s);break;case Te.ScalarType.BOOL:eA.assert(s=="true"||s=="false"),a=s=="true";break}switch(this.scalar(e,n.K,1,a,!0),n.V.kind){case"scalar":this.scalar(e,n.V.T,2,i,!0);break;case"enum":this.scalar(e,Te.ScalarType.INT32,2,i,!0);break;case"message":this.message(e,r,n.V.T(),2,i);break}e.join()}message(e,r,n,s,i){i!==void 0&&(n.internalBinaryWrite(i,e.tag(s,Kr.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,n,s,i){let[a,c,l]=this.scalarInfo(r,s);(!l||i)&&(e.tag(n,a),e[c](s))}packed(e,r,n,s){if(!s.length)return;eA.assert(r!==Te.ScalarType.BYTES&&r!==Te.ScalarType.STRING),e.tag(n,Kr.WireType.LengthDelimited),e.fork();let[,i]=this.scalarInfo(r);for(let a=0;a{"use strict";Object.defineProperty(RE,"__esModule",{value:!0});RE.reflectionCreate=void 0;var hBe=wE(),fBe=hm();function gBe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},fBe.MESSAGE_TYPE,{value:t});for(let r of t.fields){let n=r.localName;if(!r.opt)if(r.oneof)e[r.oneof]={oneofKind:void 0};else if(r.repeat)e[n]=[];else switch(r.kind){case"scalar":e[n]=hBe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(gBe,"reflectionCreate");RE.reflectionCreate=gBe});var LP=g(PE=>{"use strict";Object.defineProperty(PE,"__esModule",{value:!0});PE.reflectionMergePartial=void 0;function yBe(t,e,r){let n,s=r,i;for(let a of t.fields){let c=a.localName;if(a.oneof){let l=s[a.oneof];if(l?.oneofKind==null)continue;if(n=l[c],i=e[a.oneof],i.oneofKind=l.oneofKind,n==null){delete i[c];continue}}else if(n=s[c],i=e,n==null)continue;switch(a.repeat&&(i[c].length=n.length),a.kind){case"scalar":case"enum":if(a.repeat)for(let A=0;A{"use strict";Object.defineProperty(DE,"__esModule",{value:!0});DE.reflectionEquals=void 0;var _P=jn();function EBe(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let n of t.fields){let s=n.localName,i=n.oneof?e[n.oneof][s]:e[s],a=n.oneof?r[n.oneof][s]:r[s];switch(n.kind){case"enum":case"scalar":let c=n.kind=="enum"?_P.ScalarType.INT32:n.T;if(!(n.repeat?h8(c,i,a):g8(c,i,a)))return!1;break;case"map":if(!(n.V.kind=="message"?f8(n.V.T(),vE(i),vE(a)):h8(n.V.kind=="enum"?_P.ScalarType.INT32:n.V.T,vE(i),vE(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?f8(l,i,a):l.equals(i,a)))return!1;break}}return!0}o(EBe,"reflectionEquals");DE.reflectionEquals=EBe;var vE=Object.values;function g8(t,e,r){if(e===r)return!0;if(t!==_P.ScalarType.BYTES)return!1;let n=e,s=r;if(n.length!==s.length)return!1;for(let i=0;i{"use strict";Object.defineProperty(kE,"__esModule",{value:!0});kE.MessageType=void 0;var CBe=hm(),IBe=jn(),BBe=wP(),QBe=SP(),xBe=PP(),bBe=DP(),wBe=TP(),NBe=MP(),UP=LP(),SBe=iE(),y8=BP(),RBe=FP(),PBe=IP(),vBe=CP(),E8=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),DBe=E8[CBe.MESSAGE_TYPE]={},OP=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(IBe.normalizeFieldInfo),this.options=n??{},DBe.value=this,this.messagePrototype=Object.create(null,E8),this.refTypeCheck=new BBe.ReflectionTypeCheck(this),this.refJsonReader=new QBe.ReflectionJsonReader(this),this.refJsonWriter=new xBe.ReflectionJsonWriter(this),this.refBinReader=new bBe.ReflectionBinaryReader(this),this.refBinWriter=new wBe.ReflectionBinaryWriter(this)}create(e){let r=NBe.reflectionCreate(this);return e!==void 0&&UP.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return UP.reflectionMergePartial(this,r,e),r}equals(e,r){return RBe.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){UP.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=vBe.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,y8.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,y8.jsonWriteOptions(r))}toJsonString(e,r){var n;let s=this.toJson(e,r);return JSON.stringify(s,null,(n=r?.prettySpaces)!==null&&n!==void 0?n:0)}toBinary(e,r){let n=PBe.binaryWriteOptions(r);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,r,n){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let s=n??this.create();return this.refJsonReader.read(e,s,r),s}throw new Error(`Unable to parse message ${this.typeName} from JSON ${SBe.typeofJsonValue(e)}.`)}internalJsonWrite(e,r){return this.refJsonWriter.write(e,r)}internalBinaryWrite(e,r,n){return this.refBinWriter.write(e,r,n),r}internalBinaryRead(e,r,n,s){let i=s??this.create();return this.refBinReader.read(e,i,n,r),i}};kE.MessageType=OP});var I8=g(TE=>{"use strict";Object.defineProperty(TE,"__esModule",{value:!0});TE.containsMessageType=void 0;var kBe=hm();function TBe(t){return t[kBe.MESSAGE_TYPE]!=null}o(TBe,"containsMessageType");TE.containsMessageType=TBe});var Q8=g($s=>{"use strict";Object.defineProperty($s,"__esModule",{value:!0});$s.listEnumNumbers=$s.listEnumNames=$s.listEnumValues=$s.isEnumObject=void 0;function B8(t){if(typeof t!="object"||t===null||!t.hasOwnProperty(0))return!1;for(let e of Object.keys(t)){let r=parseInt(e);if(Number.isNaN(r)){let n=t[e];if(n===void 0||typeof n!="number"||t[n]===void 0)return!1}else{let n=t[r];if(n===void 0||t[n]!==r)return!1}}return!0}o(B8,"isEnumObject");$s.isEnumObject=B8;function qP(t){if(!B8(t))throw new Error("not a typescript enum object");let e=[];for(let[r,n]of Object.entries(t))typeof n=="number"&&e.push({name:r,number:n});return e}o(qP,"listEnumValues");$s.listEnumValues=qP;function MBe(t){return qP(t).map(e=>e.name)}o(MBe,"listEnumNames");$s.listEnumNames=MBe;function LBe(t){return qP(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(LBe,"listEnumNumbers");$s.listEnumNumbers=LBe});var ut=g(J=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0});var x8=iE();Object.defineProperty(J,"typeofJsonValue",{enumerable:!0,get:o(function(){return x8.typeofJsonValue},"get")});Object.defineProperty(J,"isJsonObject",{enumerable:!0,get:o(function(){return x8.isJsonObject},"get")});var b8=aE();Object.defineProperty(J,"base64decode",{enumerable:!0,get:o(function(){return b8.base64decode},"get")});Object.defineProperty(J,"base64encode",{enumerable:!0,get:o(function(){return b8.base64encode},"get")});var _Be=K4();Object.defineProperty(J,"utf8read",{enumerable:!0,get:o(function(){return _Be.utf8read},"get")});var HP=cm();Object.defineProperty(J,"WireType",{enumerable:!0,get:o(function(){return HP.WireType},"get")});Object.defineProperty(J,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return HP.mergeBinaryOptions},"get")});Object.defineProperty(J,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return HP.UnknownFieldHandler},"get")});var w8=CP();Object.defineProperty(J,"BinaryReader",{enumerable:!0,get:o(function(){return w8.BinaryReader},"get")});Object.defineProperty(J,"binaryReadOptions",{enumerable:!0,get:o(function(){return w8.binaryReadOptions},"get")});var N8=IP();Object.defineProperty(J,"BinaryWriter",{enumerable:!0,get:o(function(){return N8.BinaryWriter},"get")});Object.defineProperty(J,"binaryWriteOptions",{enumerable:!0,get:o(function(){return N8.binaryWriteOptions},"get")});var S8=Do();Object.defineProperty(J,"PbLong",{enumerable:!0,get:o(function(){return S8.PbLong},"get")});Object.defineProperty(J,"PbULong",{enumerable:!0,get:o(function(){return S8.PbULong},"get")});var zP=BP();Object.defineProperty(J,"jsonReadOptions",{enumerable:!0,get:o(function(){return zP.jsonReadOptions},"get")});Object.defineProperty(J,"jsonWriteOptions",{enumerable:!0,get:o(function(){return zP.jsonWriteOptions},"get")});Object.defineProperty(J,"mergeJsonOptions",{enumerable:!0,get:o(function(){return zP.mergeJsonOptions},"get")});var FBe=hm();Object.defineProperty(J,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return FBe.MESSAGE_TYPE},"get")});var UBe=C8();Object.defineProperty(J,"MessageType",{enumerable:!0,get:o(function(){return UBe.MessageType},"get")});var Va=jn();Object.defineProperty(J,"ScalarType",{enumerable:!0,get:o(function(){return Va.ScalarType},"get")});Object.defineProperty(J,"LongType",{enumerable:!0,get:o(function(){return Va.LongType},"get")});Object.defineProperty(J,"RepeatType",{enumerable:!0,get:o(function(){return Va.RepeatType},"get")});Object.defineProperty(J,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return Va.normalizeFieldInfo},"get")});Object.defineProperty(J,"readFieldOptions",{enumerable:!0,get:o(function(){return Va.readFieldOptions},"get")});Object.defineProperty(J,"readFieldOption",{enumerable:!0,get:o(function(){return Va.readFieldOption},"get")});Object.defineProperty(J,"readMessageOption",{enumerable:!0,get:o(function(){return Va.readMessageOption},"get")});var OBe=wP();Object.defineProperty(J,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return OBe.ReflectionTypeCheck},"get")});var qBe=MP();Object.defineProperty(J,"reflectionCreate",{enumerable:!0,get:o(function(){return qBe.reflectionCreate},"get")});var HBe=wE();Object.defineProperty(J,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return HBe.reflectionScalarDefault},"get")});var zBe=LP();Object.defineProperty(J,"reflectionMergePartial",{enumerable:!0,get:o(function(){return zBe.reflectionMergePartial},"get")});var GBe=FP();Object.defineProperty(J,"reflectionEquals",{enumerable:!0,get:o(function(){return GBe.reflectionEquals},"get")});var YBe=DP();Object.defineProperty(J,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return YBe.ReflectionBinaryReader},"get")});var VBe=TP();Object.defineProperty(J,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return VBe.ReflectionBinaryWriter},"get")});var JBe=SP();Object.defineProperty(J,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return JBe.ReflectionJsonReader},"get")});var WBe=PP();Object.defineProperty(J,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return WBe.ReflectionJsonWriter},"get")});var $Be=I8();Object.defineProperty(J,"containsMessageType",{enumerable:!0,get:o(function(){return $Be.containsMessageType},"get")});var ym=xP();Object.defineProperty(J,"isOneofGroup",{enumerable:!0,get:o(function(){return ym.isOneofGroup},"get")});Object.defineProperty(J,"setOneofValue",{enumerable:!0,get:o(function(){return ym.setOneofValue},"get")});Object.defineProperty(J,"getOneofValue",{enumerable:!0,get:o(function(){return ym.getOneofValue},"get")});Object.defineProperty(J,"clearOneofValue",{enumerable:!0,get:o(function(){return ym.clearOneofValue},"get")});Object.defineProperty(J,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return ym.getSelectedOneofValue},"get")});var ME=Q8();Object.defineProperty(J,"listEnumValues",{enumerable:!0,get:o(function(){return ME.listEnumValues},"get")});Object.defineProperty(J,"listEnumNames",{enumerable:!0,get:o(function(){return ME.listEnumNames},"get")});Object.defineProperty(J,"listEnumNumbers",{enumerable:!0,get:o(function(){return ME.listEnumNumbers},"get")});Object.defineProperty(J,"isEnumObject",{enumerable:!0,get:o(function(){return ME.isEnumObject},"get")});var jBe=QP();Object.defineProperty(J,"lowerCamelCase",{enumerable:!0,get:o(function(){return jBe.lowerCamelCase},"get")});var Em=Kl();Object.defineProperty(J,"assert",{enumerable:!0,get:o(function(){return Em.assert},"get")});Object.defineProperty(J,"assertNever",{enumerable:!0,get:o(function(){return Em.assertNever},"get")});Object.defineProperty(J,"assertInt32",{enumerable:!0,get:o(function(){return Em.assertInt32},"get")});Object.defineProperty(J,"assertUInt32",{enumerable:!0,get:o(function(){return Em.assertUInt32},"get")});Object.defineProperty(J,"assertFloat32",{enumerable:!0,get:o(function(){return Em.assertFloat32},"get")})});var GP=g(js=>{"use strict";Object.defineProperty(js,"__esModule",{value:!0});js.readServiceOption=js.readMethodOption=js.readMethodOptions=js.normalizeMethodInfo=void 0;var KBe=ut();function XBe(t,e){var r,n,s;let i=t;return i.service=e,i.localName=(r=i.localName)!==null&&r!==void 0?r:KBe.lowerCamelCase(i.name),i.serverStreaming=!!i.serverStreaming,i.clientStreaming=!!i.clientStreaming,i.options=(n=i.options)!==null&&n!==void 0?n:{},i.idempotency=(s=i.idempotency)!==null&&s!==void 0?s:void 0,i}o(XBe,"normalizeMethodInfo");js.normalizeMethodInfo=XBe;function ZBe(t,e,r,n){var s;let i=(s=t.methods.find((a,c)=>a.localName===e||c===e))===null||s===void 0?void 0:s.options;return i&&i[r]?n.fromJson(i[r]):void 0}o(ZBe,"readMethodOptions");js.readMethodOptions=ZBe;function eQe(t,e,r,n){var s;let i=(s=t.methods.find((c,l)=>c.localName===e||l===e))===null||s===void 0?void 0:s.options;if(!i)return;let a=i[r];return a===void 0?a:n?n.fromJson(a):a}o(eQe,"readMethodOption");js.readMethodOption=eQe;function tQe(t,e,r){let n=t.options;if(!n)return;let s=n[e];return s===void 0?s:r?r.fromJson(s):s}o(tQe,"readServiceOption");js.readServiceOption=tQe});var R8=g(LE=>{"use strict";Object.defineProperty(LE,"__esModule",{value:!0});LE.ServiceType=void 0;var rQe=GP(),YP=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(s=>rQe.normalizeMethodInfo(s,this)),this.options=n??{}}};LE.ServiceType=YP});var JP=g(_E=>{"use strict";Object.defineProperty(_E,"__esModule",{value:!0});_E.RpcError=void 0;var VP=class extends Error{static{o(this,"RpcError")}constructor(e,r="UNKNOWN",n){super(e),this.name="RpcError",Object.setPrototypeOf(this,new.target.prototype),this.code=r,this.meta=n??{}}toString(){let e=[this.name+": "+this.message];this.code&&(e.push(""),e.push("Code: "+this.code)),this.serviceName&&this.methodName&&e.push("Method: "+this.serviceName+"/"+this.methodName);let r=Object.entries(this.meta);if(r.length){e.push(""),e.push("Meta:");for(let[n,s]of r)e.push(` ${n}: ${s}`)}return e.join(` -`)}};_E.RpcError=VP});var WP=g(UE=>{"use strict";Object.defineProperty(UE,"__esModule",{value:!0});UE.mergeRpcOptions=void 0;var P8=ut();function nQe(t,e){if(!e)return t;let r={};FE(t,r),FE(e,r);for(let n of Object.keys(e)){let s=e[n];switch(n){case"jsonOptions":r.jsonOptions=P8.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=P8.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},FE(t.meta,r.meta),FE(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(s):s.concat();break}}return r}o(nQe,"mergeRpcOptions");UE.mergeRpcOptions=nQe;function FE(t,e){if(!t)return;let r=e;for(let[n,s]of Object.entries(t))s instanceof Date?r[n]=new Date(s.getTime()):Array.isArray(s)?r[n]=s.concat():r[n]=s}o(FE,"copy")});var jP=g(Ja=>{"use strict";Object.defineProperty(Ja,"__esModule",{value:!0});Ja.Deferred=Ja.DeferredState=void 0;var Ks;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Ks=Ja.DeferredState||(Ja.DeferredState={}));var $P=class{static{o(this,"Deferred")}constructor(e=!0){this._state=Ks.PENDING,this._promise=new Promise((r,n)=>{this._resolve=r,this._reject=n}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==Ks.PENDING)throw new Error(`cannot resolve ${Ks[this.state].toLowerCase()}`);this._resolve(e),this._state=Ks.RESOLVED}reject(e){if(this.state!==Ks.PENDING)throw new Error(`cannot reject ${Ks[this.state].toLowerCase()}`);this._reject(e),this._state=Ks.REJECTED}resolvePending(e){this._state===Ks.PENDING&&this.resolve(e)}rejectPending(e){this._state===Ks.PENDING&&this.reject(e)}};Ja.Deferred=$P});var XP=g(OE=>{"use strict";Object.defineProperty(OE,"__esModule",{value:!0});OE.RpcOutputStreamController=void 0;var v8=jP(),Wa=ut(),KP=class{static{o(this,"RpcOutputStreamController")}constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1,this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,r){return r.push(e),()=>{let n=r.indexOf(e);n>=0&&r.splice(n,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,n){Wa.assert((e?1:0)+(r?1:0)+(n?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),n&&this.notifyComplete()}notifyMessage(e){Wa.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){Wa.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(){Wa.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;Wa.assert(e,"bad state"),Wa.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 v8.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;Wa.assert(n.state==v8.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};OE.RpcOutputStreamController=KP});var ev=g(tA=>{"use strict";var sQe=tA&&tA.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(tA,"__esModule",{value:!0});tA.UnaryCall=void 0;var ZP=class{static{o(this,"UnaryCall")}constructor(e,r,n,s,i,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=s,this.response=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return sQe(this,void 0,void 0,function*(){let[e,r,n,s]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:r,status:n,trailers:s}})}};tA.UnaryCall=ZP});var rv=g(rA=>{"use strict";var iQe=rA&&rA.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(rA,"__esModule",{value:!0});rA.ServerStreamingCall=void 0;var tv=class{static{o(this,"ServerStreamingCall")}constructor(e,r,n,s,i,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=s,this.responses=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return iQe(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:r,trailers:n}})}};rA.ServerStreamingCall=tv});var sv=g(nA=>{"use strict";var oQe=nA&&nA.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(nA,"__esModule",{value:!0});nA.ClientStreamingCall=void 0;var nv=class{static{o(this,"ClientStreamingCall")}constructor(e,r,n,s,i,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=s,this.response=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return oQe(this,void 0,void 0,function*(){let[e,r,n,s]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:r,status:n,trailers:s}})}};nA.ClientStreamingCall=nv});var ov=g(sA=>{"use strict";var aQe=sA&&sA.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(sA,"__esModule",{value:!0});sA.DuplexStreamingCall=void 0;var iv=class{static{o(this,"DuplexStreamingCall")}constructor(e,r,n,s,i,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=s,this.responses=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return aQe(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:r,trailers:n}})}};sA.DuplexStreamingCall=iv});var k8=g(aA=>{"use strict";var cQe=aA&&aA.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(aA,"__esModule",{value:!0});aA.TestTransport=void 0;var Nn=JP(),qE=ut(),D8=XP(),lQe=WP(),AQe=ev(),uQe=rv(),dQe=sv(),mQe=ov(),oA=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 iA?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof iA?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 Nn.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof Nn.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(qE.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),qE.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return cQe(this,void 0,void 0,function*(){let s=[];if(this.data.response===void 0)s.push(e.O.create());else if(Array.isArray(this.data.response))for(let i of this.data.response)qE.assert(e.O.is(i)),s.push(i);else this.data.response instanceof Nn.RpcError||(qE.assert(e.O.is(this.data.response)),s.push(this.data.response));try{yield Dt(this.responseDelay,n)(void 0)}catch(i){r.notifyError(i);return}if(this.data.response instanceof Nn.RpcError){r.notifyError(this.data.response);return}for(let i of s){r.notifyMessage(i);try{yield Dt(this.betweenResponseDelay,n)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof Nn.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof Nn.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 Nn.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 Nn.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return lQe.mergeRpcOptions({},e)}unary(e,r,n){var s;let i=(s=n.meta)!==null&&s!==void 0?s:{},a=this.promiseHeaders().then(Dt(this.headerDelay,n.abort)),c=a.catch(u=>{}).then(Dt(this.responseDelay,n.abort)).then(u=>this.promiseSingleResponse(e)),l=c.catch(u=>{}).then(Dt(this.afterResponseDelay,n.abort)).then(u=>this.promiseStatus()),A=c.catch(u=>{}).then(Dt(this.afterResponseDelay,n.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput={single:r},new AQe.UnaryCall(e,i,r,a,c,l,A)}serverStreaming(e,r,n){var s;let i=(s=n.meta)!==null&&s!==void 0?s:{},a=this.promiseHeaders().then(Dt(this.headerDelay,n.abort)),c=new D8.RpcOutputStreamController,l=a.then(Dt(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,n.abort)).then(Dt(this.afterResponseDelay,n.abort)),A=l.then(()=>this.promiseStatus()),u=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(A,u),this.lastInput={single:r},new uQe.ServerStreamingCall(e,i,r,a,c,A,u)}clientStreaming(e,r){var n;let s=(n=r.meta)!==null&&n!==void 0?n:{},i=this.promiseHeaders().then(Dt(this.headerDelay,r.abort)),a=i.catch(A=>{}).then(Dt(this.responseDelay,r.abort)).then(A=>this.promiseSingleResponse(e)),c=a.catch(A=>{}).then(Dt(this.afterResponseDelay,r.abort)).then(A=>this.promiseStatus()),l=a.catch(A=>{}).then(Dt(this.afterResponseDelay,r.abort)).then(A=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new iA(this.data,r.abort),new dQe.ClientStreamingCall(e,s,this.lastInput,i,a,c,l)}duplex(e,r){var n;let s=(n=r.meta)!==null&&n!==void 0?n:{},i=this.promiseHeaders().then(Dt(this.headerDelay,r.abort)),a=new D8.RpcOutputStreamController,c=i.then(Dt(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(Dt(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),A=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput=new iA(this.data,r.abort),new mQe.DuplexStreamingCall(e,s,this.lastInput,i,a,l,A)}};aA.TestTransport=oA;oA.defaultHeaders={responseHeader:"test"};oA.defaultStatus={code:"OK",detail:"all good"};oA.defaultTrailers={responseTrailer:"test"};function Dt(t,e){return r=>new Promise((n,s)=>{if(e?.aborted)s(new Nn.RpcError("user cancel","CANCELLED"));else{let i=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(i),s(new Nn.RpcError("user cancel","CANCELLED"))})}})}o(Dt,"delay");var iA=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 Nn.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(Dt(r,this.abort))}complete(){if(this.data.inputComplete instanceof Nn.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(Dt(e,this.abort))}}});var T8=g(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.stackDuplexStreamingInterceptors=Sn.stackClientStreamingInterceptors=Sn.stackServerStreamingInterceptors=Sn.stackUnaryInterceptors=Sn.stackIntercept=void 0;var pQe=ut();function Cm(t,e,r,n,s){var i,a,c,l;if(t=="unary"){let A=o((u,d,m)=>e.unary(u,d,m),"tail");for(let u of((i=n.interceptors)!==null&&i!==void 0?i:[]).filter(d=>d.interceptUnary).reverse()){let d=A;A=o((m,p,h)=>u.interceptUnary(d,m,p,h),"tail")}return A(r,s,n)}if(t=="serverStreaming"){let A=o((u,d,m)=>e.serverStreaming(u,d,m),"tail");for(let u of((a=n.interceptors)!==null&&a!==void 0?a:[]).filter(d=>d.interceptServerStreaming).reverse()){let d=A;A=o((m,p,h)=>u.interceptServerStreaming(d,m,p,h),"tail")}return A(r,s,n)}if(t=="clientStreaming"){let A=o((u,d)=>e.clientStreaming(u,d),"tail");for(let u of((c=n.interceptors)!==null&&c!==void 0?c:[]).filter(d=>d.interceptClientStreaming).reverse()){let d=A;A=o((m,p)=>u.interceptClientStreaming(d,m,p),"tail")}return A(r,n)}if(t=="duplex"){let A=o((u,d)=>e.duplex(u,d),"tail");for(let u of((l=n.interceptors)!==null&&l!==void 0?l:[]).filter(d=>d.interceptDuplex).reverse()){let d=A;A=o((m,p)=>u.interceptDuplex(d,m,p),"tail")}return A(r,n)}pQe.assertNever(t)}o(Cm,"stackIntercept");Sn.stackIntercept=Cm;function hQe(t,e,r,n){return Cm("unary",t,e,n,r)}o(hQe,"stackUnaryInterceptors");Sn.stackUnaryInterceptors=hQe;function fQe(t,e,r,n){return Cm("serverStreaming",t,e,n,r)}o(fQe,"stackServerStreamingInterceptors");Sn.stackServerStreamingInterceptors=fQe;function gQe(t,e,r){return Cm("clientStreaming",t,e,r)}o(gQe,"stackClientStreamingInterceptors");Sn.stackClientStreamingInterceptors=gQe;function yQe(t,e,r){return Cm("duplex",t,e,r)}o(yQe,"stackDuplexStreamingInterceptors");Sn.stackDuplexStreamingInterceptors=yQe});var M8=g(HE=>{"use strict";Object.defineProperty(HE,"__esModule",{value:!0});HE.ServerCallContextController=void 0;var av=class{static{o(this,"ServerCallContextController")}constructor(e,r,n,s,i={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=n,this.trailers={},this._sendRH=s,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 n=r.indexOf(e);n>=0&&r.splice(n,1)}}};HE.ServerCallContextController=av});var _8=g(rt=>{"use strict";Object.defineProperty(rt,"__esModule",{value:!0});var EQe=R8();Object.defineProperty(rt,"ServiceType",{enumerable:!0,get:o(function(){return EQe.ServiceType},"get")});var cv=GP();Object.defineProperty(rt,"readMethodOptions",{enumerable:!0,get:o(function(){return cv.readMethodOptions},"get")});Object.defineProperty(rt,"readMethodOption",{enumerable:!0,get:o(function(){return cv.readMethodOption},"get")});Object.defineProperty(rt,"readServiceOption",{enumerable:!0,get:o(function(){return cv.readServiceOption},"get")});var CQe=JP();Object.defineProperty(rt,"RpcError",{enumerable:!0,get:o(function(){return CQe.RpcError},"get")});var IQe=WP();Object.defineProperty(rt,"mergeRpcOptions",{enumerable:!0,get:o(function(){return IQe.mergeRpcOptions},"get")});var BQe=XP();Object.defineProperty(rt,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return BQe.RpcOutputStreamController},"get")});var QQe=k8();Object.defineProperty(rt,"TestTransport",{enumerable:!0,get:o(function(){return QQe.TestTransport},"get")});var L8=jP();Object.defineProperty(rt,"Deferred",{enumerable:!0,get:o(function(){return L8.Deferred},"get")});Object.defineProperty(rt,"DeferredState",{enumerable:!0,get:o(function(){return L8.DeferredState},"get")});var xQe=ov();Object.defineProperty(rt,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return xQe.DuplexStreamingCall},"get")});var bQe=sv();Object.defineProperty(rt,"ClientStreamingCall",{enumerable:!0,get:o(function(){return bQe.ClientStreamingCall},"get")});var wQe=rv();Object.defineProperty(rt,"ServerStreamingCall",{enumerable:!0,get:o(function(){return wQe.ServerStreamingCall},"get")});var NQe=ev();Object.defineProperty(rt,"UnaryCall",{enumerable:!0,get:o(function(){return NQe.UnaryCall},"get")});var Im=T8();Object.defineProperty(rt,"stackIntercept",{enumerable:!0,get:o(function(){return Im.stackIntercept},"get")});Object.defineProperty(rt,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return Im.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(rt,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return Im.stackClientStreamingInterceptors},"get")});Object.defineProperty(rt,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return Im.stackServerStreamingInterceptors},"get")});Object.defineProperty(rt,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return Im.stackUnaryInterceptors},"get")});var SQe=M8();Object.defineProperty(rt,"ServerCallContextController",{enumerable:!0,get:o(function(){return SQe.ServerCallContextController},"get")})});var fW=g((zKe,Fi)=>{var Pe=require("fs"),jE=require("os"),xt=require("path"),Z8=require("crypto"),Zs={fs:Pe.constants,os:jE.constants},eW="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",sW=/XXXXXX/,OQe=3,iW=(Zs.O_CREAT||Zs.fs.O_CREAT)|(Zs.O_EXCL||Zs.fs.O_EXCL)|(Zs.O_RDWR||Zs.fs.O_RDWR),qQe=jE.platform()==="win32",HQe=Zs.EBADF||Zs.os.errno.EBADF,zQe=Zs.ENOENT||Zs.os.errno.ENOENT,oW=448,aW=384,GQe="exit",uA=[],cW=Pe.rmdirSync.bind(Pe),lW=!1;function YQe(t,e){return Pe.rm(t,{recursive:!0},e)}o(YQe,"rimraf");function AW(t){return Pe.rmSync(t,{recursive:!0})}o(AW,"FN_RIMRAF_SYNC");function Hv(t,e){let r=dA(t,e),n=r[0],s=r[1];txe(n,function(i,a){if(i)return s(i);let c=a.tries;o((function l(){try{let A=dW(a);Pe.stat(A,function(u){if(!u)return c-- >0?l():s(new Error("Could not get a unique tmp filename, max tries reached "+A));s(null,A)})}catch(A){s(A)}}),"_getUniqueName")()})}o(Hv,"tmpName");function zv(t){let e=dA(t),r=e[0],n=rxe(r),s=n.tries;do{let i=dW(n);try{Pe.statSync(i)}catch{return i}}while(s-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}o(zv,"tmpNameSync");function VQe(t,e){let r=dA(t,e),n=r[0],s=r[1];Hv(n,o(function(a,c){if(a)return s(a);Pe.open(c,iW,n.mode||aW,o(function(A,u){if(A)return s(A);if(n.discardDescriptor)return Pe.close(u,o(function(m){return s(m,c,void 0,Ov(c,-1,n,!1))},"_discardCallback"));{let d=n.discardDescriptor||n.detachDescriptor;s(null,c,u,Ov(c,d?-1:u,n,!1))}},"_fileCreated"))},"_tmpNameCreated"))}o(VQe,"file");function JQe(t){let e=dA(t),r=e[0],n=r.discardDescriptor||r.detachDescriptor,s=zv(r),i=Pe.openSync(s,iW,r.mode||aW);return r.discardDescriptor&&(Pe.closeSync(i),i=void 0),{name:s,fd:i,removeCallback:Ov(s,n?-1:i,r,!0)}}o(JQe,"fileSync");function WQe(t,e){let r=dA(t,e),n=r[0],s=r[1];Hv(n,o(function(a,c){if(a)return s(a);Pe.mkdir(c,n.mode||oW,o(function(A){if(A)return s(A);s(null,c,uW(c,n,!1))},"_dirCreated"))},"_tmpNameCreated"))}o(WQe,"dir");function $Qe(t){let e=dA(t),r=e[0],n=zv(r);return Pe.mkdirSync(n,r.mode||oW),{name:n,removeCallback:uW(n,r,!0)}}o($Qe,"dirSync");function jQe(t,e){let r=o(function(n){if(n&&!qv(n))return e(n);e()},"_handler");0<=t[0]?Pe.close(t[0],function(){Pe.unlink(t[1],r)}):Pe.unlink(t[1],r)}o(jQe,"_removeFileAsync");function KQe(t){let e=null;try{0<=t[0]&&Pe.closeSync(t[0])}catch(r){if(!nxe(r)&&!qv(r))throw r}finally{try{Pe.unlinkSync(t[1])}catch(r){qv(r)||(e=r)}}if(e!==null)throw e}o(KQe,"_removeFileSync");function Ov(t,e,r,n){let s=$E(KQe,[e,t],n),i=$E(jQe,[e,t],n,s);return r.keep||uA.unshift(s),n?s:i}o(Ov,"_prepareTmpFileRemoveCallback");function uW(t,e,r){let n=e.unsafeCleanup?YQe:Pe.rmdir.bind(Pe),s=e.unsafeCleanup?AW:cW,i=$E(s,t,r),a=$E(n,t,r,i);return e.keep||uA.unshift(i),r?i:a}o(uW,"_prepareTmpDirRemoveCallback");function $E(t,e,r,n){let s=!1;return o(function i(a){if(!s){let c=n||i,l=uA.indexOf(c);return l>=0&&uA.splice(l,1),s=!0,r||t===cW||t===AW?t(e):t(e,a||function(){})}},"_cleanupCallback")}o($E,"_prepareRemoveCallback");function XQe(){if(lW)for(;uA.length;)try{uA[0]()}catch{}}o(XQe,"_garbageCollector");function tW(t){let e=[],r=null;try{r=Z8.randomBytes(t)}catch{r=Z8.pseudoRandomBytes(t)}for(let n=0;n"u"}o(Nr,"_isUndefined");function dA(t,e){if(typeof t=="function")return[{},t];if(Nr(t))return[{},e];let r={};for(let n of Object.getOwnPropertyNames(t))r[n]=t[n];return[r,e]}o(dA,"_parseArguments");function ZQe(t,e,r){let n=xt.isAbsolute(t)?t:xt.join(e,t);Pe.stat(n,function(s){s?Pe.realpath(xt.dirname(n),function(i,a){if(i)return r(i);r(null,xt.join(a,xt.basename(n)))}):Pe.realpath(n,r)})}o(ZQe,"_resolvePath");function exe(t,e){let r=xt.isAbsolute(t)?t:xt.join(e,t);try{return Pe.statSync(r),Pe.realpathSync(r)}catch{let s=Pe.realpathSync(xt.dirname(r));return xt.join(s,xt.basename(r))}}o(exe,"_resolvePathSync");function dW(t){let e=t.tmpdir;if(!Nr(t.name))return xt.join(e,t.dir,t.name);if(!Nr(t.template))return xt.join(e,t.dir,t.template).replace(sW,tW(6));let r=[t.prefix?t.prefix:"tmp","-",process.pid,"-",tW(12),t.postfix?"-"+t.postfix:""].join("");return xt.join(e,t.dir,r)}o(dW,"_generateTmpName");function Uv(t,e){if(typeof e!="string")throw new Error(`${t} option must be a string, got "${typeof e}".`);if(e.includes(".."))throw new Error("Relative value not allowed");return e}o(Uv,"_assertPath");function mW(t){if(!Nr(t.name)){let e=t.name;if(xt.isAbsolute(e))throw new Error(`name option must not contain an absolute path, found "${e}".`);let r=xt.basename(e);if(r===".."||r==="."||r!==e)throw new Error(`name option must not contain a path, found "${e}".`)}if(!Nr(t.template)){if(typeof t.template!="string")throw new Error(`template option must be a string, got "${typeof t.template}".`);if(!t.template.match(sW))throw new Error(`Invalid template, found "${t.template}".`)}if(!Nr(t.tries)&&isNaN(t.tries)||t.tries<0)throw new Error(`Invalid tries, found "${t.tries}".`);t.tries=Nr(t.name)?t.tries||OQe:1,t.keep=!!t.keep,t.detachDescriptor=!!t.detachDescriptor,t.discardDescriptor=!!t.discardDescriptor,t.unsafeCleanup=!!t.unsafeCleanup,t.prefix=Nr(t.prefix)?"":Uv("prefix",t.prefix),t.postfix=Nr(t.postfix)?"":Uv("postfix",t.postfix),t.template=Nr(t.template)?void 0:Uv("template",t.template)}o(mW,"_assertOptionsBase");function rW(t,e,r,n){if(Nr(e))return n(null);ZQe(e,r,function(s,i){if(s)return n(s);let a=xt.relative(r,i);if(a.startsWith("..")||xt.isAbsolute(a))return n(new Error(`${t} option must be relative to "${r}", found "${a}".`));n(null,a)})}o(rW,"_getRelativePath");function nW(t,e,r){if(Nr(e))return;let n=exe(e,r),s=xt.relative(r,n);if(s.startsWith("..")||xt.isAbsolute(s))throw new Error(`${t} option must be relative to "${r}", found "${s}".`);return s}o(nW,"_getRelativePathSync");function txe(t,e){ixe(t,function(r,n){if(r)return e(r);t.tmpdir=n;try{mW(t,n)}catch(s){return e(s)}rW("dir",t.dir,n,function(s,i){if(s)return e(s);t.dir=Nr(i)?"":i,rW("template",t.template,n,function(a,c){if(a)return e(a);t.template=c,e(null,t)})})})}o(txe,"_assertAndSanitizeOptions");function rxe(t){let e=t.tmpdir=hW(t);mW(t,e);let r=nW("dir",t.dir,e);return t.dir=Nr(r)?"":r,t.template=nW("template",t.template,e),t}o(rxe,"_assertAndSanitizeOptionsSync");function nxe(t){return pW(t,-HQe,"EBADF")}o(nxe,"_isEBADF");function qv(t){return pW(t,-zQe,"ENOENT")}o(qv,"_isENOENT");function pW(t,e,r){return qQe?t.code===r:t.code===r&&t.errno===e}o(pW,"_isExpectedError");function sxe(){lW=!0}o(sxe,"setGracefulCleanup");function ixe(t,e){return Pe.realpath(t&&t.tmpdir||jE.tmpdir(),e)}o(ixe,"_getTmpDir");function hW(t){return Pe.realpathSync(t&&t.tmpdir||jE.tmpdir())}o(hW,"_getTmpDirSync");process.addListener(GQe,XQe);Object.defineProperty(Fi.exports,"tmpdir",{enumerable:!0,configurable:!1,get:o(function(){return hW()},"get")});Fi.exports.dir=WQe;Fi.exports.dirSync=$Qe;Fi.exports.file=VQe;Fi.exports.fileSync=JQe;Fi.exports.tmpName=Hv;Fi.exports.tmpNameSync=zv;Fi.exports.setGracefulCleanup=sxe});var or=g(en=>{"use strict";en.__esModule=!0;en.extend=CW;en.indexOf=Axe;en.escapeExpression=uxe;en.isEmpty=dxe;en.createFrame=mxe;en.blockParams=pxe;en.appendContextPath=hxe;var oxe={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},axe=/[&<>"'`=]/g,cxe=/[&<>"'`=]/;function lxe(t){return oxe[t]}o(lxe,"escapeChar");function CW(t){for(var e=1;e{"use strict";XE.__esModule=!0;var Jv=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function Wv(t,e){var r=e&&e.loc,n=void 0,s=void 0,i=void 0,a=void 0;r&&(n=r.start.line,s=r.end.line,i=r.start.column,a=r.end.column,t+=" - "+n+":"+i);for(var c=Error.prototype.constructor.call(this,t),l=0;l{"use strict";ZE.__esModule=!0;var $v=or();ZE.default=function(t){t.registerHelper("blockHelperMissing",function(e,r){var n=r.inverse,s=r.fn;if(e===!0)return s(this);if(e===!1||e==null)return n(this);if($v.isArray(e))return e.length>0?(r.ids&&(r.ids=[r.name]),t.helpers.each(e,r)):n(this);if(r.data&&r.ids){var i=$v.createFrame(r.data);i.contextPath=$v.appendContextPath(r.data.contextPath,r.name),r={data:i}}return s(e,r)})};QW.exports=ZE.default});var wW=g((eC,bW)=>{"use strict";eC.__esModule=!0;function fxe(t){return t&&t.__esModule?t:{default:t}}o(fxe,"_interopRequireDefault");var bm=or(),gxe=tn(),yxe=fxe(gxe);eC.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new yxe.default("Must pass iterator to #each");var n=r.fn,s=r.inverse,i=0,a="",c=void 0,l=void 0;r.data&&r.ids&&(l=bm.appendContextPath(r.data.contextPath,r.ids[0])+"."),bm.isFunction(e)&&(e=e.call(this)),r.data&&(c=bm.createFrame(r.data));function A(h,f,C){c&&(c.key=h,c.index=f,c.first=f===0,c.last=!!C,l&&(c.contextPath=l+h)),a=a+n(e[h],{data:c,blockParams:bm.blockParams([e[h],h],[l+h,null])})}if(o(A,"execIteration"),e&&typeof e=="object")if(bm.isArray(e))for(var u=e.length;i{"use strict";tC.__esModule=!0;function Exe(t){return t&&t.__esModule?t:{default:t}}o(Exe,"_interopRequireDefault");var Cxe=tn(),Ixe=Exe(Cxe);tC.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new Ixe.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};NW.exports=tC.default});var DW=g((rC,vW)=>{"use strict";rC.__esModule=!0;function Bxe(t){return t&&t.__esModule?t:{default:t}}o(Bxe,"_interopRequireDefault");var RW=or(),Qxe=tn(),PW=Bxe(Qxe);rC.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new PW.default("#if requires exactly one argument");return RW.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||RW.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new PW.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};vW.exports=rC.default});var TW=g((nC,kW)=>{"use strict";nC.__esModule=!0;nC.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],n=0;n{"use strict";sC.__esModule=!0;sC.default=function(t){t.registerHelper("lookup",function(e,r,n){return e&&n.lookupProperty(e,r)})};MW.exports=sC.default});var FW=g((iC,_W)=>{"use strict";iC.__esModule=!0;function xxe(t){return t&&t.__esModule?t:{default:t}}o(xxe,"_interopRequireDefault");var wm=or(),bxe=tn(),wxe=xxe(bxe);iC.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new wxe.default("#with requires exactly one argument");wm.isFunction(e)&&(e=e.call(this));var n=r.fn;if(wm.isEmpty(e))return r.inverse(this);var s=r.data;return r.data&&r.ids&&(s=wm.createFrame(r.data),s.contextPath=wm.appendContextPath(r.data.contextPath,r.ids[0])),n(e,{data:s,blockParams:wm.blockParams([e],[s&&s.contextPath])})})};_W.exports=iC.default});var jv=g(oC=>{"use strict";oC.__esModule=!0;oC.registerDefaultHelpers=qxe;oC.moveHelperToHooks=Hxe;function Za(t){return t&&t.__esModule?t:{default:t}}o(Za,"_interopRequireDefault");var Nxe=xW(),Sxe=Za(Nxe),Rxe=wW(),Pxe=Za(Rxe),vxe=SW(),Dxe=Za(vxe),kxe=DW(),Txe=Za(kxe),Mxe=TW(),Lxe=Za(Mxe),_xe=LW(),Fxe=Za(_xe),Uxe=FW(),Oxe=Za(Uxe);function qxe(t){Sxe.default(t),Pxe.default(t),Dxe.default(t),Txe.default(t),Lxe.default(t),Fxe.default(t),Oxe.default(t)}o(qxe,"registerDefaultHelpers");function Hxe(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}o(Hxe,"moveHelperToHooks")});var OW=g((aC,UW)=>{"use strict";aC.__esModule=!0;var zxe=or();aC.default=function(t){t.registerDecorator("inline",function(e,r,n,s){var i=e;return r.partials||(r.partials={},i=o(function(a,c){var l=n.partials;n.partials=zxe.extend({},l,r.partials);var A=e(a,c);return n.partials=l,A},"ret")),r.partials[s.args[0]]=s.fn,i})};UW.exports=aC.default});var qW=g(Kv=>{"use strict";Kv.__esModule=!0;Kv.registerDefaultDecorators=Jxe;function Gxe(t){return t&&t.__esModule?t:{default:t}}o(Gxe,"_interopRequireDefault");var Yxe=OW(),Vxe=Gxe(Yxe);function Jxe(t){Vxe.default(t)}o(Jxe,"registerDefaultDecorators")});var Xv=g((cC,HW)=>{"use strict";cC.__esModule=!0;var Wxe=or(),mA={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:o(function(e){if(typeof e=="string"){var r=Wxe.indexOf(mA.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},"lookupLevel"),log:o(function(e){if(e=mA.lookupLevel(e),typeof console<"u"&&mA.lookupLevel(mA.level)<=e){var r=mA.methodMap[e];console[r]||(r="log");for(var n=arguments.length,s=Array(n>1?n-1:0),i=1;i{"use strict";Nm.__esModule=!0;Nm.createProtoAccessControl=Xxe;Nm.resultIsAllowed=Zxe;Nm.resetLoggedProperties=tbe;function $xe(t){return t&&t.__esModule?t:{default:t}}o($xe,"_interopRequireDefault");var zW=or(),jxe=Xv(),Kxe=$xe(jxe),lC=Object.create(null);function Xxe(t){var e=Object.create(null);e.__proto__=!1,zW.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,zW.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}o(Xxe,"createProtoAccessControl");function Zxe(t,e,r){return GW(typeof t=="function"?e.methods:e.properties,r)}o(Zxe,"resultIsAllowed");function GW(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(ebe(e),!1)}o(GW,"checkWhiteList");function ebe(t){lC[t]!==!0&&(lC[t]=!0,Kxe.default.log("error",'Handlebars: Access has been denied to resolve the property "'+t+`" because it is not an "own property" of its parent. + Polling status: ${d4.includes(u)?"Stopped":"Running"}`),u==="succeeded"){let d=a(A,r);if(d!==void 0)return{response:await e(d).catch(A4({state:r,stateProxy:n,isOperationError:c})),status:u}}return{response:A,status:u}}o(ZCe,"pollOperationHelper");async function f4(t){let{poll:e,state:r,stateProxy:n,options:s,getOperationStatus:i,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:A,getPollingInterval:u,processResult:d,getError:m,updateState:p,setDelay:h,isDone:f,setErrorAsResult:C}=t,{operationLocation:y}=r.config;if(y!==void 0){let{response:E,status:I}=await ZCe({poll:e,getOperationStatus:i,state:r,stateProxy:n,operationLocation:y,getResourceLocation:a,isOperationError:l,options:s});if(p4({status:I,response:E,state:r,stateProxy:n,isDone:f,processResult:d,getError:m,setErrorAsResult:C}),!d4.includes(I)){let B=u?.(E);B&&h(B);let N=c?.(E,r);if(N!==void 0){let S=y!==N;r.config.operationLocation=N,A?.(N,S)}else A?.(y,!1)}p?.(r,E)}}o(f4,"pollOperation");function g4(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(g4,"getOperationLocationPollingUrl");function y4(t){return t.headers.location}o(y4,"getLocationHeader");function E4(t){return t.headers["operation-location"]}o(E4,"getOperationLocationHeader");function C4(t){return t.headers["azure-asyncoperation"]}o(C4,"getAzureAsyncOperationHeader");function eIe(t){var e;let{location:r,requestMethod:n,requestPath:s,resourceLocationConfig:i}=t;switch(n){case"PUT":return s;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:s;default:return a()}function a(){switch(i){case"azure-async-operation":return;case"original-uri":return s;default:return r}}o(a,"getDefault")}o(eIe,"findResourceLocation");function I4(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:s}=t,i=E4(e),a=C4(e),c=g4({operationLocation:i,azureAsyncOperation:a}),l=y4(e),A=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:eIe({requestMethod:A,location:l,requestPath:n,resourceLocationConfig:s})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:A==="PUT"&&n?{mode:"Body",operationLocation:n}:void 0}o(I4,"inferLroMode");function B4(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 uP(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 za.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(B4,"transformStatus");function tIe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return B4({status:r,statusCode:t.statusCode})}o(tIe,"getStatus");function rIe(t){var e,r;let{properties:n,provisioningState:s}=(e=t.body)!==null&&e!==void 0?e:{},i=(r=n?.provisioningState)!==null&&r!==void 0?r:s;return B4({status:i,statusCode:t.statusCode})}o(rIe,"getProvisioningState");function uP(t){return t===202?"running":t<300?"succeeded":"failed"}o(uP,"toOperationStatus");function Q4({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?nIe(new Date(e)):r*1e3}}o(Q4,"parseRetryAfter");function x4(t){let e=t.flatResponse.error;if(!e){za.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){za.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(x4,"getErrorFromResponse");function nIe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e{let a=await s.sendInitialRequest(),c=I4({rawResponse:a.rawResponse,requestPath:s.requestPath,requestMethod:s.requestMethod,resourceLocationConfig:r});return Object.assign({response:a,operationLocation:c?.operationLocation,resourceLocation:c?.resourceLocation},c?.mode?{metadata:{mode:c.mode}}:{})},"init"),stateProxy:e,processResult:n?({flatResponse:a},c)=>n(a,c):({flatResponse:a})=>a,getOperationStatus:b4,setErrorAsResult:i})}o(sIe,"initHttpOperation");function w4({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return g4({operationLocation:E4(t),azureAsyncOperation:C4(t)});case"ResourceLocation":return y4(t);default:return}}o(w4,"getOperationLocation");function dP({rawResponse:t},e){var r;let n=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(n){case"OperationLocation":return tIe(t);case"ResourceLocation":return uP(t.statusCode);case"Body":return rIe(t);default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}o(dP,"getOperationStatus");function N4({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(N4,"getResourceLocation");function S4(t){return t.name==="RestError"}o(S4,"isOperationError");async function iIe(t){let{lro:e,stateProxy:r,options:n,processResult:s,updateState:i,setDelay:a,state:c,setErrorAsResult:l}=t;return f4({state:c,stateProxy:r,setDelay:a,processResult:s?({flatResponse:A},u)=>s(A,u):({flatResponse:A})=>A,getError:x4,updateState:i,getPollingInterval:Q4,getOperationLocation:w4,getOperationStatus:dP,isOperationError:S4,getResourceLocation:N4,options:n,poll:o(async(A,u)=>e.sendPollRequest(A,u),"poll"),setErrorAsResult:l})}o(iIe,"pollHttpOperation");var oIe=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 aIe(t){let{getOperationLocation:e,getStatusFromInitialResponse:r,getStatusFromPollResponse:n,isOperationError:s,getResourceLocation:i,getPollingInterval:a,getError:c,resolveOnUnsuccessful:l}=t;return async({init:A,poll:u},d)=>{let{processResult:m,updateState:p,withOperationLocation:h,intervalInMs:f=u4,restoreFrom:C}=d||{},y=oIe(),E=h?(()=>{let Ne=!1;return(ae,De)=>{De?h(ae):Ne||h(ae),Ne=!0}})():void 0,I=C?m4(C):await h4({init:A,stateProxy:y,processResult:m,getOperationStatus:r,withOperationLocation:E,setErrorAsResult:!l}),B,N=new l4.AbortController,S=new Map,F=o(async()=>S.forEach(Ne=>Ne(I)),"handleProgressEvents"),de="Operation was canceled",be=f,Be={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(Ne=>{let ae=Symbol();return S.set(ae,Ne),()=>S.delete(ae)},"onProgress"),pollUntilDone:o(Ne=>B??(B=(async()=>{let{abortSignal:ae}=Ne||{},{signal:De}=ae?new l4.AbortController([ae,N.signal]):N;if(!Be.isDone())for(await Be.poll({abortSignal:De});!Be.isDone();)await $Ce.delay(be,{abortSignal:De}),await Be.poll({abortSignal:De});if(l)return Be.getResult();switch(I.status){case"succeeded":return Be.getResult();case"canceled":throw new Error(de);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(Ne){if(l){if(Be.isDone())return}else switch(I.status){case"succeeded":return;case"canceled":throw new Error(de);case"failed":throw I.error}if(await f4({poll:u,state:I,stateProxy:y,getOperationLocation:e,isOperationError:s,withOperationLocation:E,getPollingInterval:a,getOperationStatus:n,getResourceLocation:i,processResult:m,getError:c,updateState:p,options:Ne,setDelay:o(ae=>{be=ae},"setDelay"),setErrorAsResult:!l}),await F(),!l)switch(I.status){case"canceled":throw new Error(de);case"failed":throw I.error}}};return Be}}o(aIe,"buildCreatePoller");async function cIe(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:s,restoreFrom:i,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return aIe({getStatusFromInitialResponse:b4,getStatusFromPollResponse:dP,isOperationError:S4,getOperationLocation:w4,getResourceLocation:N4,getPollingInterval:Q4,getError:x4,resolveOnUnsuccessful:l})({init:o(async()=>{let A=await t.sendInitialRequest(),u=I4({rawResponse:A.rawResponse,requestPath:t.requestPath,requestMethod:t.requestMethod,resourceLocationConfig:r});return Object.assign({response:A,operationLocation:u?.operationLocation,resourceLocation:u?.resourceLocation},u?.mode?{metadata:{mode:u.mode}}:{})},"init"),poll:t.sendPollRequest},{intervalInMs:n,withOperationLocation:c,restoreFrom:i,updateState:a,processResult:s?({flatResponse:A},u)=>s(A,u):({flatResponse:A})=>A})}o(cIe,"createHttpPoller");var lIe=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"),lP=class{static{o(this,"GenericPollOperation")}constructor(e,r,n,s,i,a,c){this.state=e,this.lro=r,this.setErrorAsResult=n,this.lroResourceLocationConfig=s,this.processResult=i,this.updateState=a,this.isDone=c}setPollerConfig(e){this.pollerConfig=e}async update(e){var r;let n=lIe();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await sIe({lro:this.lro,stateProxy:n,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult})));let s=this.updateState,i=this.isDone;return!this.state.isCompleted&&this.state.error===void 0&&await iIe({lro:this.lro,state:this.state,stateProxy:n,processResult:this.processResult,updateState:s?(a,{rawResponse:c})=>s(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 za.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},Jy=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},Wy=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},$y=class{static{o(this,"Poller")}constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((r,n)=>{this.resolve=r,this.reject=n}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let r of this.pollProgressCallbacks)r(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let r=o(()=>{this.pollOncePromise=void 0},"clearPollOncePromise");this.pollOncePromise.then(r,r).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new Wy("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 Jy("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()}},AP=class extends $y{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:n=u4,resumeFrom:s,resolveOnUnsuccessful:i=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:A}=r||{},u=s?m4(s):{},d=new lP(u,e,!i,c,l,A,a);super(d),this.resolveOnUnsuccessful=i,this.config={intervalInMs:n},d.setPollerConfig(this.config)}delay(){return new Promise(e=>setTimeout(()=>e(),this.config.intervalInMs))}};Ga.LroEngine=AP;Ga.Poller=$y;Ga.PollerCancelledError=Wy;Ga.PollerStoppedError=Jy;Ga.createHttpPoller=cIe});var K4=g((F6e,PIe)=>{PIe.exports={name:"@actions/cache",version:"6.2.0",description:"Actions cache lib",keywords:["github","actions","cache"],homepage:"https://github.com/actions/toolkit/tree/main/packages/cache",license:"MIT",type:"module",main:"lib/cache.js",types:"lib/cache.d.ts",exports:{".":{types:"./lib/cache.d.ts",import:"./lib/cache.js"}},directories:{lib:"lib",test:"__tests__"},files:["lib","!.DS_Store"],publishConfig:{access:"public"},repository:{type:"git",url:"git+https://github.com/actions/toolkit.git",directory:"packages/cache"},scripts:{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json",test:'echo "Error: run tests from root" && exit 1',tsc:"tsc && cp src/internal/shared/package-version.cjs lib/internal/shared/"},bugs:{url:"https://github.com/actions/toolkit/issues"},dependencies:{"@actions/core":"^3.0.1","@actions/exec":"^3.0.0","@actions/glob":"^0.6.1","@actions/http-client":"^4.0.1","@actions/io":"^3.0.2","@azure/core-rest-pipeline":"^1.23.0","@azure/storage-blob":"^12.31.0","@protobuf-ts/runtime-rpc":"^2.11.1",semver:"^7.7.4"},devDependencies:{"@protobuf-ts/plugin":"^2.11.1","@types/node":"^25.6.0","@types/semver":"^7.7.1",typescript:"^5.9.3"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var Z4=g((U6e,X4)=>{var vIe=K4();X4.exports={version:vIe.version}});var cE=g($l=>{"use strict";Object.defineProperty($l,"__esModule",{value:!0});$l.isJsonObject=$l.typeofJsonValue=void 0;function UIe(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(UIe,"typeofJsonValue");$l.typeofJsonValue=UIe;function OIe(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(OIe,"isJsonObject");$l.isJsonObject=OIe});var AE=g(jl=>{"use strict";Object.defineProperty(jl,"__esModule",{value:!0});jl.base64encode=jl.base64decode=void 0;var _i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),lE=[];for(let t=0;t<_i.length;t++)lE[_i[t].charCodeAt(0)]=t;lE[45]=_i.indexOf("+");lE[95]=_i.indexOf("/");function qIe(t){let e=t.length*3/4;t[t.length-2]=="="?e-=2:t[t.length-1]=="="&&(e-=1);let r=new Uint8Array(e),n=0,s=0,i,a=0;for(let c=0;c>4,a=i,s=2;break;case 2:r[n++]=(a&15)<<4|(i&60)>>2,a=i,s=3;break;case 3:r[n++]=(a&3)<<6|i,s=0;break}}if(s==1)throw Error("invalid base64 string.");return r.subarray(0,n)}o(qIe,"base64decode");jl.base64decode=qIe;function HIe(t){let e="",r=0,n,s=0;for(let i=0;i>2],s=(n&3)<<4,r=1;break;case 1:e+=_i[s|n>>4],s=(n&15)<<2,r=2;break;case 2:e+=_i[s|n>>6],e+=_i[n&63],r=0;break}return r&&(e+=_i[s],e+="=",r==1&&(e+="=")),e}o(HIe,"base64encode");jl.base64encode=HIe});var iW=g(uE=>{"use strict";Object.defineProperty(uE,"__esModule",{value:!0});uE.utf8read=void 0;var QP=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function zIe(t){if(t.length<1)return"";let e=0,r=[],n=[],s=0,i,a=t.length;for(;e191&&i<224?n[s++]=(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,n[s++]=55296+(i>>10),n[s++]=56320+(i&1023)):n[s++]=(i&15)<<12|(t[e++]&63)<<6|t[e++]&63,s>8191&&(r.push(QP(n)),s=0);return r.length?(s&&r.push(QP(n.slice(0,s))),r.join("")):QP(n.slice(0,s))}o(zIe,"utf8read");uE.utf8read=zIe});var lm=g($s=>{"use strict";Object.defineProperty($s,"__esModule",{value:!0});$s.WireType=$s.mergeBinaryOptions=$s.UnknownFieldHandler=void 0;var GIe;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,s,i,a)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:s,wireType:i,data:a})},t.onWrite=(r,n,s)=>{for(let{no:i,wireType:a,data:c}of t.list(n))s.tag(i,a).raw(c)},t.list=(r,n)=>{if(e(r)){let s=r[t.symbol];return n?s.filter(i=>i.no==n):s}return[]},t.last=(r,n)=>t.list(r,n).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})(GIe=$s.UnknownFieldHandler||($s.UnknownFieldHandler={}));function YIe(t,e){return Object.assign(Object.assign({},t),e)}o(YIe,"mergeBinaryOptions");$s.mergeBinaryOptions=YIe;var VIe;(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"})(VIe=$s.WireType||($s.WireType={}))});var mE=g(br=>{"use strict";Object.defineProperty(br,"__esModule",{value:!0});br.varint32read=br.varint32write=br.int64toString=br.int64fromString=br.varint64write=br.varint64read=void 0;function JIe(){let t=0,e=0;for(let n=0;n<28;n+=7){let s=this.buf[this.pos++];if(t|=(s&127)<>4,(r&128)==0)return this.assertBounds(),[t,e];for(let n=3;n<=31;n+=7){let s=this.buf[this.pos++];if(e|=(s&127)<>>i,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let n=t>>>28&15|(e&7)<<4,s=e>>3!=0;if(r.push((s?n|128:n)&255),!!s){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(WIe,"varint64write");br.varint64write=WIe;var dE=65536*65536;function $Ie(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,s=0;function i(a,c){let l=Number(t.slice(a,c));s*=r,n=n*r+l,n>=dE&&(s=s+(n/dE|0),n=n%dE)}return o(i,"add1e6digit"),i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,n,s]}o($Ie,"int64fromString");br.int64fromString=$Ie;function jIe(t,e){if(e>>>0<=2097151)return""+(dE*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,s=e>>16&65535,i=r+n*6777216+s*6710656,a=n+s*8147497,c=s*2,l=1e7;i>=l&&(a+=Math.floor(i/l),i%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function A(u,d){let m=u?String(u):"";return d?"0000000".slice(m.length)+m:m}return o(A,"decimalFrom1e7"),A(c,0)+A(a,c)+A(i,1)}o(jIe,"int64toString");br.int64toString=jIe;function KIe(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(KIe,"varint32write");br.varint32write=KIe;function XIe(){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(XIe,"varint32read");br.varint32read=XIe});var ko=g(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.PbLong=Do.PbULong=Do.detectBi=void 0;var Am=mE(),ve;function oW(){let t=new DataView(new ArrayBuffer(8));ve=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(oW,"detectBi");Do.detectBi=oW;oW();function aW(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(aW,"assertBi");var cW=/^-?[0-9]+$/,hE=4294967296,pE=2147483648,fE=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*hE+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},um=class t extends fE{static{o(this,"PbULong")}static from(e){if(ve)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=ve.C(e);case"number":if(e===0)return this.ZERO;e=ve.C(e);case"bigint":if(!e)return this.ZERO;if(eve.UMAX)throw new Error("ulong too large");return ve.V.setBigUint64(0,e,!0),new t(ve.V.getInt32(0,!0),ve.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!cW.test(e))throw new Error("string is no integer");let[r,n,s]=Am.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(n,s);case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");if(e<0)throw new Error("signed value for ulong");return new t(e,e/hE)}throw new Error("unknown value "+typeof e)}toString(){return ve?this.toBigInt().toString():Am.int64toString(this.lo,this.hi)}toBigInt(){return aW(ve),ve.V.setInt32(0,this.lo,!0),ve.V.setInt32(4,this.hi,!0),ve.V.getBigUint64(0,!0)}};Do.PbULong=um;um.ZERO=new um(0,0);var dm=class t extends fE{static{o(this,"PbLong")}static from(e){if(ve)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=ve.C(e);case"number":if(e===0)return this.ZERO;e=ve.C(e);case"bigint":if(!e)return this.ZERO;if(eve.MAX)throw new Error("signed long too large");return ve.V.setBigInt64(0,e,!0),new t(ve.V.getInt32(0,!0),ve.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!cW.test(e))throw new Error("string is no integer");let[r,n,s]=Am.int64fromString(e);if(r){if(s>pE||s==pE&&n!=0)throw new Error("signed long too small")}else if(s>=pE)throw new Error("signed long too large");let i=new t(n,s);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/hE):new t(-e,-e/hE).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&pE)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(ve)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+Am.int64toString(e.lo,e.hi)}return Am.int64toString(this.lo,this.hi)}toBigInt(){return aW(ve),ve.V.setInt32(0,this.lo,!0),ve.V.setInt32(4,this.hi,!0),ve.V.getBigInt64(0,!0)}};Do.PbLong=dm;dm.ZERO=new dm(0,0)});var xP=g(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});Xl.BinaryReader=Xl.binaryReadOptions=void 0;var Kl=lm(),mm=ko(),lW=mE(),AW={readUnknownField:!0,readerFactory:o(t=>new gE(t),"readerFactory")};function ZIe(t){return t?Object.assign(Object.assign({},AW),t):AW}o(ZIe,"binaryReadOptions");Xl.binaryReadOptions=ZIe;var gE=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=lW.varint64read,this.uint32=lW.varint32read,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.textDecoder=r??new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0})}tag(){let e=this.uint32(),r=e>>>3,n=e&7;if(r<=0||n<0||n>5)throw new Error("illegal tag: field no "+r+" wire type "+n);return[r,n]}skip(e){let r=this.pos;switch(e){case Kl.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case Kl.WireType.Bit64:this.pos+=4;case Kl.WireType.Bit32:this.pos+=4;break;case Kl.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case Kl.WireType.StartGroup:let s;for(;(s=this.tag()[1])!==Kl.WireType.EndGroup;)this.skip(s);break;default:throw new Error("cant skip wire type "+e)}return this.assertBounds(),this.buf.subarray(r,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let e=this.uint32();return e>>>1^-(e&1)}int64(){return new mm.PbLong(...this.varint64())}uint64(){return new mm.PbULong(...this.varint64())}sint64(){let[e,r]=this.varint64(),n=-(e&1);return e=(e>>>1|(r&1)<<31)^n,r=r>>>1^n,new mm.PbLong(e,r)}bool(){let[e,r]=this.varint64();return e!==0||r!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return new mm.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new mm.PbLong(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let e=this.uint32(),r=this.pos;return this.pos+=e,this.assertBounds(),this.buf.subarray(r,r+e)}string(){return this.textDecoder.decode(this.bytes())}};Xl.BinaryReader=gE});var Zl=g(wn=>{"use strict";Object.defineProperty(wn,"__esModule",{value:!0});wn.assertFloat32=wn.assertUInt32=wn.assertInt32=wn.assertNever=wn.assert=void 0;function eBe(t,e){if(!t)throw new Error(e)}o(eBe,"assert");wn.assert=eBe;function tBe(t,e){throw new Error(e??"Unexpected object: "+t)}o(tBe,"assertNever");wn.assertNever=tBe;var rBe=34028234663852886e22,nBe=-34028234663852886e22,sBe=4294967295,iBe=2147483647,oBe=-2147483648;function aBe(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>iBe||tsBe||t<0)throw new Error("invalid uint 32: "+t)}o(cBe,"assertUInt32");wn.assertUInt32=cBe;function lBe(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>rBe||t{"use strict";Object.defineProperty(tA,"__esModule",{value:!0});tA.BinaryWriter=tA.binaryWriteOptions=void 0;var pm=ko(),hm=mE(),eA=Zl(),uW={writeUnknownFields:!0,writerFactory:o(()=>new yE,"writerFactory")};function ABe(t){return t?Object.assign(Object.assign({},uW),t):uW}o(ABe,"binaryWriteOptions");tA.binaryWriteOptions=ABe;var yE=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 s=0;s>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(eA.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return eA.assertInt32(e),hm.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){eA.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){eA.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){eA.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return eA.assertInt32(e),e=(e<<1^e>>31)>>>0,hm.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),s=pm.PbLong.from(e);return n.setInt32(0,s.lo,!0),n.setInt32(4,s.hi,!0),this.raw(r)}fixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),s=pm.PbULong.from(e);return n.setInt32(0,s.lo,!0),n.setInt32(4,s.hi,!0),this.raw(r)}int64(e){let r=pm.PbLong.from(e);return hm.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=pm.PbLong.from(e),n=r.hi>>31,s=r.lo<<1^n,i=(r.hi<<1|r.lo>>>31)^n;return hm.varint64write(s,i,this.buf),this}uint64(e){let r=pm.PbULong.from(e);return hm.varint64write(r.lo,r.hi,this.buf),this}};tA.BinaryWriter=yE});var wP=g(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});To.mergeJsonOptions=To.jsonWriteOptions=To.jsonReadOptions=void 0;var dW={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},mW={ignoreUnknownFields:!1};function uBe(t){return t?Object.assign(Object.assign({},mW),t):mW}o(uBe,"jsonReadOptions");To.jsonReadOptions=uBe;function dBe(t){return t?Object.assign(Object.assign({},dW),t):dW}o(dBe,"jsonWriteOptions");To.jsonWriteOptions=dBe;function mBe(t,e){var r,n;let s=Object.assign(Object.assign({},t),e);return s.typeRegistry=[...(r=t?.typeRegistry)!==null&&r!==void 0?r:[],...(n=e?.typeRegistry)!==null&&n!==void 0?n:[]],s}o(mBe,"mergeJsonOptions");To.mergeJsonOptions=mBe});var fm=g(EE=>{"use strict";Object.defineProperty(EE,"__esModule",{value:!0});EE.MESSAGE_TYPE=void 0;EE.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var NP=g(CE=>{"use strict";Object.defineProperty(CE,"__esModule",{value:!0});CE.lowerCamelCase=void 0;function pBe(t){let e=!1,r=[];for(let n=0;n{"use strict";Object.defineProperty(Bt,"__esModule",{value:!0});Bt.readMessageOption=Bt.readFieldOption=Bt.readFieldOptions=Bt.normalizeFieldInfo=Bt.RepeatType=Bt.LongType=Bt.ScalarType=void 0;var pW=NP(),hBe;(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"})(hBe=Bt.ScalarType||(Bt.ScalarType={}));var fBe;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(fBe=Bt.LongType||(Bt.LongType={}));var hW;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(hW=Bt.RepeatType||(Bt.RepeatType={}));function gBe(t){var e,r,n,s;return t.localName=(e=t.localName)!==null&&e!==void 0?e:pW.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:pW.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:hW.NO,t.opt=(s=t.opt)!==null&&s!==void 0?s:t.repeat||t.oneof?!1:t.kind=="message",t}o(gBe,"normalizeFieldInfo");Bt.normalizeFieldInfo=gBe;function yBe(t,e,r,n){var s;let i=(s=t.fields.find((a,c)=>a.localName==e||c==e))===null||s===void 0?void 0:s.options;return i&&i[r]?n.fromJson(i[r]):void 0}o(yBe,"readFieldOptions");Bt.readFieldOptions=yBe;function EBe(t,e,r,n){var s;let i=(s=t.fields.find((c,l)=>c.localName==e||l==e))===null||s===void 0?void 0:s.options;if(!i)return;let a=i[r];return a===void 0?a:n?n.fromJson(a):a}o(EBe,"readFieldOption");Bt.readFieldOption=EBe;function CBe(t,e,r){let s=t.options[e];return s===void 0?s:r?r.fromJson(s):s}o(CBe,"readMessageOption");Bt.readMessageOption=CBe});var SP=g(wr=>{"use strict";Object.defineProperty(wr,"__esModule",{value:!0});wr.getSelectedOneofValue=wr.clearOneofValue=wr.setUnknownOneofValue=wr.setOneofValue=wr.getOneofValue=wr.isOneofGroup=void 0;function IBe(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(IBe,"isOneofGroup");wr.isOneofGroup=IBe;function BBe(t,e){return t[e]}o(BBe,"getOneofValue");wr.getOneofValue=BBe;function QBe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(QBe,"setOneofValue");wr.setOneofValue=QBe;function xBe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(xBe,"setUnknownOneofValue");wr.setUnknownOneofValue=xBe;function bBe(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(bBe,"clearOneofValue");wr.clearOneofValue=bBe;function wBe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(wBe,"getSelectedOneofValue");wr.getSelectedOneofValue=wBe});var PP=g(IE=>{"use strict";Object.defineProperty(IE,"__esModule",{value:!0});IE.ReflectionTypeCheck=void 0;var tt=Kn(),NBe=SP(),RP=class{static{o(this,"ReflectionTypeCheck")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}prepare(){if(this.data)return;let e=[],r=[],n=[];for(let s of this.fields)if(s.oneof)n.includes(s.oneof)||(n.push(s.oneof),e.push(s.oneof),r.push(s.oneof));else switch(r.push(s.localName),s.kind){case"scalar":case"enum":(!s.opt||s.repeat)&&e.push(s.localName);break;case"message":s.repeat&&e.push(s.localName);break;case"map":e.push(s.localName);break}this.data={req:e,known:r,oneofs:Object.values(n)}}is(e,r,n=!1){if(r<0)return!0;if(e==null||typeof e!="object")return!1;this.prepare();let s=Object.keys(e),i=this.data;if(s.length!s.includes(a))||!n&&s.some(a=>!i.known.includes(a)))return!1;if(r<1)return!0;for(let a of i.oneofs){let c=e[a];if(!NBe.isOneofGroup(c))return!1;if(c.oneofKind===void 0)continue;let l=this.fields.find(A=>A.localName===c.oneofKind);if(!l||!this.field(c[c.oneofKind],l,n,r))return!1}for(let a of this.fields)if(a.oneof===void 0&&!this.field(e[a.localName],a,n,r))return!1;return!0}field(e,r,n,s){let i=r.repeat;switch(r.kind){case"scalar":return e===void 0?r.opt:i?this.scalars(e,r.T,s,r.L):this.scalar(e,r.T,r.L);case"enum":return e===void 0?r.opt:i?this.scalars(e,tt.ScalarType.INT32,s):this.scalar(e,tt.ScalarType.INT32);case"message":return e===void 0?!0:i?this.messages(e,r.T(),n,s):this.message(e,r.T(),n,s);case"map":if(typeof e!="object"||e===null)return!1;if(s<2)return!0;if(!this.mapKeys(e,r.K,s))return!1;switch(r.V.kind){case"scalar":return this.scalars(Object.values(e),r.V.T,s,r.V.L);case"enum":return this.scalars(Object.values(e),tt.ScalarType.INT32,s);case"message":return this.messages(Object.values(e),r.V.T(),n,s)}break}return!0}message(e,r,n,s){return n?r.isAssignable(e,s):r.is(e,s)}messages(e,r,n,s){if(!Array.isArray(e))return!1;if(s<2)return!0;if(n){for(let i=0;iparseInt(i)),r,n);case tt.ScalarType.BOOL:return this.scalars(s.slice(0,n).map(i=>i=="true"?!0:i=="false"?!1:i),r,n);default:return this.scalars(s,r,n,tt.LongType.STRING)}}};IE.ReflectionTypeCheck=RP});var QE=g(BE=>{"use strict";Object.defineProperty(BE,"__esModule",{value:!0});BE.reflectionLongConvert=void 0;var fW=Kn();function SBe(t,e){switch(e){case fW.LongType.BIGINT:return t.toBigInt();case fW.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(SBe,"reflectionLongConvert");BE.reflectionLongConvert=SBe});var DP=g(wE=>{"use strict";Object.defineProperty(wE,"__esModule",{value:!0});wE.ReflectionJsonReader=void 0;var gW=cE(),RBe=AE(),Qt=Kn(),xE=ko(),Va=Zl(),bE=QE(),vP=class{static{o(this,"ReflectionJsonReader")}constructor(e){this.info=e}prepare(){var e;if(this.fMap===void 0){this.fMap={};let r=(e=this.info.fields)!==null&&e!==void 0?e:[];for(let n of r)this.fMap[n.name]=n,this.fMap[n.jsonName]=n,this.fMap[n.localName]=n}}assert(e,r,n){if(!e){let s=gW.typeofJsonValue(n);throw(s=="number"||s=="boolean")&&(s=n.toString()),new Error(`Cannot parse JSON ${s} for ${this.info.typeName}#${r}`)}}read(e,r,n){this.prepare();let s=[];for(let[i,a]of Object.entries(e)){let c=this.fMap[i];if(!c){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${i}`);continue}let l=c.localName,A;if(c.oneof){if(a===null&&(c.kind!=="enum"||c.T()[0]!=="google.protobuf.NullValue"))continue;if(s.includes(c.oneof))throw new Error(`Multiple members of the oneof group "${c.oneof}" of ${this.info.typeName} are present in JSON.`);s.push(c.oneof),A=r[c.oneof]={oneofKind:l}}else A=r;if(c.kind=="map"){if(a===null)continue;this.assert(gW.isJsonObject(a),c.name,a);let u=A[l];for(let[d,m]of Object.entries(a)){this.assert(m!==null,c.name+" map value",null);let p;switch(c.V.kind){case"message":p=c.V.T().internalJsonRead(m,n);break;case"enum":if(p=this.enum(c.V.T(),m,c.name,n.ignoreUnknownFields),p===!1)continue;break;case"scalar":p=this.scalar(m,c.V.T,c.V.L,c.name);break}this.assert(p!==void 0,c.name+" map value",m);let h=d;c.K==Qt.ScalarType.BOOL&&(h=h=="true"?!0:h=="false"?!1:h),h=this.scalar(h,c.K,Qt.LongType.STRING,c.name).toString(),u[h]=p}}else if(c.repeat){if(a===null)continue;this.assert(Array.isArray(a),c.name,a);let u=A[l];for(let d of a){this.assert(d!==null,c.name,null);let m;switch(c.kind){case"message":m=c.T().internalJsonRead(d,n);break;case"enum":if(m=this.enum(c.T(),d,c.name,n.ignoreUnknownFields),m===!1)continue;break;case"scalar":m=this.scalar(d,c.T,c.L,c.name);break}this.assert(m!==void 0,c.name,a),u.push(m)}}else switch(c.kind){case"message":if(a===null&&c.T().typeName!="google.protobuf.Value"){this.assert(c.oneof===void 0,c.name+" (oneof member)",null);continue}A[l]=c.T().internalJsonRead(a,n,A[l]);break;case"enum":if(a===null)continue;let u=this.enum(c.T(),a,c.name,n.ignoreUnknownFields);if(u===!1)continue;A[l]=u;break;case"scalar":if(a===null)continue;A[l]=this.scalar(a,c.T,c.L,c.name);break}}}enum(e,r,n,s){if(e[0]=="google.protobuf.NullValue"&&Va.assert(r===null||r==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`),r===null)return 0;switch(typeof r){case"number":return Va.assert(Number.isInteger(r),`Unable to parse field ${this.info.typeName}#${n}, 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"&&s?!1:(Va.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}Va.assert(!1,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof r}".`)}scalar(e,r,n,s){let i;try{switch(r){case Qt.ScalarType.DOUBLE:case Qt.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==Qt.ScalarType.FLOAT&&Va.assertFloat32(a),a;case Qt.ScalarType.INT32:case Qt.ScalarType.FIXED32:case Qt.ScalarType.SFIXED32:case Qt.ScalarType.SINT32:case Qt.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==Qt.ScalarType.UINT32?Va.assertUInt32(c):Va.assertInt32(c),c;case Qt.ScalarType.INT64:case Qt.ScalarType.SFIXED64:case Qt.ScalarType.SINT64:if(e===null)return bE.reflectionLongConvert(xE.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return bE.reflectionLongConvert(xE.PbLong.from(e),n);case Qt.ScalarType.FIXED64:case Qt.ScalarType.UINT64:if(e===null)return bE.reflectionLongConvert(xE.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return bE.reflectionLongConvert(xE.PbULong.from(e),n);case Qt.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Qt.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 Qt.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return RBe.base64decode(e)}}catch(a){i=a.message}this.assert(!1,s+(i?" - "+i:""),e)}};wE.ReflectionJsonReader=vP});var TP=g(NE=>{"use strict";Object.defineProperty(NE,"__esModule",{value:!0});NE.ReflectionJsonWriter=void 0;var PBe=AE(),yW=ko(),ir=Kn(),Ye=Zl(),kP=class{static{o(this,"ReflectionJsonWriter")}constructor(e){var r;this.fields=(r=e.fields)!==null&&r!==void 0?r:[]}write(e,r){let n={},s=e;for(let i of this.fields){if(!i.oneof){let A=this.field(i,s[i.localName],r);A!==void 0&&(n[r.useProtoFieldName?i.name:i.jsonName]=A);continue}let a=s[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);Ye.assert(l!==void 0),n[r.useProtoFieldName?i.name:i.jsonName]=l}return n}field(e,r,n){let s;if(e.kind=="map"){Ye.assert(typeof r=="object"&&r!==null);let i={};switch(e.V.kind){case"scalar":for(let[l,A]of Object.entries(r)){let u=this.scalar(e.V.T,A,e.name,!1,!0);Ye.assert(u!==void 0),i[l.toString()]=u}break;case"message":let a=e.V.T();for(let[l,A]of Object.entries(r)){let u=this.message(a,A,e.name,n);Ye.assert(u!==void 0),i[l.toString()]=u}break;case"enum":let c=e.V.T();for(let[l,A]of Object.entries(r)){Ye.assert(A===void 0||typeof A=="number");let u=this.enum(c,A,e.name,!1,!0,n.enumAsInteger);Ye.assert(u!==void 0),i[l.toString()]=u}break}(n.emitDefaultValues||Object.keys(i).length>0)&&(s=i)}else if(e.repeat){Ye.assert(Array.isArray(r));let i=[];switch(e.kind){case"scalar":for(let l=0;l0||n.emitDefaultValues)&&(s=i)}else switch(e.kind){case"scalar":s=this.scalar(e.T,r,e.name,e.opt,n.emitDefaultValues);break;case"enum":s=this.enum(e.T(),r,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case"message":s=this.message(e.T(),r,e.name,n);break}return s}enum(e,r,n,s,i,a){if(e[0]=="google.protobuf.NullValue")return!i&&!s?void 0:null;if(r===void 0){Ye.assert(s);return}if(!(r===0&&!i&&!s))return Ye.assert(typeof r=="number"),Ye.assert(Number.isInteger(r)),a||!e[1].hasOwnProperty(r)?r:e[2]?e[2]+e[1][r]:e[1][r]}message(e,r,n,s){return r===void 0?s.emitDefaultValues?null:void 0:e.internalJsonWrite(r,s)}scalar(e,r,n,s,i){if(r===void 0){Ye.assert(s);return}let a=i||s;switch(e){case ir.ScalarType.INT32:case ir.ScalarType.SFIXED32:case ir.ScalarType.SINT32:return r===0?a?0:void 0:(Ye.assertInt32(r),r);case ir.ScalarType.FIXED32:case ir.ScalarType.UINT32:return r===0?a?0:void 0:(Ye.assertUInt32(r),r);case ir.ScalarType.FLOAT:Ye.assertFloat32(r);case ir.ScalarType.DOUBLE:return r===0?a?0:void 0:(Ye.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case ir.ScalarType.STRING:return r===""?a?"":void 0:(Ye.assert(typeof r=="string"),r);case ir.ScalarType.BOOL:return r===!1?a?!1:void 0:(Ye.assert(typeof r=="boolean"),r);case ir.ScalarType.UINT64:case ir.ScalarType.FIXED64:Ye.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=yW.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case ir.ScalarType.INT64:case ir.ScalarType.SFIXED64:case ir.ScalarType.SINT64:Ye.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=yW.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case ir.ScalarType.BYTES:return Ye.assert(r instanceof Uint8Array),r.byteLength?PBe.base64encode(r):a?"":void 0}}};NE.ReflectionJsonWriter=kP});var RE=g(SE=>{"use strict";Object.defineProperty(SE,"__esModule",{value:!0});SE.reflectionScalarDefault=void 0;var Xn=Kn(),EW=QE(),CW=ko();function vBe(t,e=Xn.LongType.STRING){switch(t){case Xn.ScalarType.BOOL:return!1;case Xn.ScalarType.UINT64:case Xn.ScalarType.FIXED64:return EW.reflectionLongConvert(CW.PbULong.ZERO,e);case Xn.ScalarType.INT64:case Xn.ScalarType.SFIXED64:case Xn.ScalarType.SINT64:return EW.reflectionLongConvert(CW.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(vBe,"reflectionScalarDefault");SE.reflectionScalarDefault=vBe});var LP=g(PE=>{"use strict";Object.defineProperty(PE,"__esModule",{value:!0});PE.ReflectionBinaryReader=void 0;var IW=lm(),lt=Kn(),gm=QE(),BW=RE(),MP=class{static{o(this,"ReflectionBinaryReader")}constructor(e){this.info=e}prepare(){var e;if(!this.fieldNoToField){let r=(e=this.info.fields)!==null&&e!==void 0?e:[];this.fieldNoToField=new Map(r.map(n=>[n.no,n]))}}read(e,r,n,s){this.prepare();let i=s===void 0?e.len:e.pos+s;for(;e.pos{"use strict";Object.defineProperty(vE,"__esModule",{value:!0});vE.ReflectionBinaryWriter=void 0;var Kr=lm(),Te=Kn(),rA=Zl(),ym=ko(),_P=class{static{o(this,"ReflectionBinaryWriter")}constructor(e){this.info=e}prepare(){if(!this.fields){let e=this.info.fields?this.info.fields.concat():[];this.fields=e.sort((r,n)=>r.no-n.no)}}write(e,r,n){this.prepare();for(let i of this.fields){let a,c,l=i.repeat,A=i.localName;if(i.oneof){let u=e[i.oneof];if(u.oneofKind!==A)continue;a=u[A],c=!0}else a=e[A],c=!1;switch(i.kind){case"scalar":case"enum":let u=i.kind=="enum"?Te.ScalarType.INT32:i.T;if(l)if(rA.assert(Array.isArray(a)),l==Te.RepeatType.PACKED)this.packed(r,u,i.no,a);else for(let d of a)this.scalar(r,u,i.no,d,!0);else a===void 0?rA.assert(i.opt):this.scalar(r,u,i.no,a,c||i.opt);break;case"message":if(l){rA.assert(Array.isArray(a));for(let d of a)this.message(r,n,i.T(),i.no,d)}else this.message(r,n,i.T(),i.no,a);break;case"map":rA.assert(typeof a=="object"&&a!==null);for(let[d,m]of Object.entries(a))this.mapEntry(r,n,i,d,m);break}}let s=n.writeUnknownFields;s!==!1&&(s===!0?Kr.UnknownFieldHandler.onWrite:s)(this.info.typeName,e,r)}mapEntry(e,r,n,s,i){e.tag(n.no,Kr.WireType.LengthDelimited),e.fork();let a=s;switch(n.K){case Te.ScalarType.INT32:case Te.ScalarType.FIXED32:case Te.ScalarType.UINT32:case Te.ScalarType.SFIXED32:case Te.ScalarType.SINT32:a=Number.parseInt(s);break;case Te.ScalarType.BOOL:rA.assert(s=="true"||s=="false"),a=s=="true";break}switch(this.scalar(e,n.K,1,a,!0),n.V.kind){case"scalar":this.scalar(e,n.V.T,2,i,!0);break;case"enum":this.scalar(e,Te.ScalarType.INT32,2,i,!0);break;case"message":this.message(e,r,n.V.T(),2,i);break}e.join()}message(e,r,n,s,i){i!==void 0&&(n.internalBinaryWrite(i,e.tag(s,Kr.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,n,s,i){let[a,c,l]=this.scalarInfo(r,s);(!l||i)&&(e.tag(n,a),e[c](s))}packed(e,r,n,s){if(!s.length)return;rA.assert(r!==Te.ScalarType.BYTES&&r!==Te.ScalarType.STRING),e.tag(n,Kr.WireType.LengthDelimited),e.fork();let[,i]=this.scalarInfo(r);for(let a=0;a{"use strict";Object.defineProperty(DE,"__esModule",{value:!0});DE.reflectionCreate=void 0;var DBe=RE(),kBe=fm();function TBe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},kBe.MESSAGE_TYPE,{value:t});for(let r of t.fields){let n=r.localName;if(!r.opt)if(r.oneof)e[r.oneof]={oneofKind:void 0};else if(r.repeat)e[n]=[];else switch(r.kind){case"scalar":e[n]=DBe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(TBe,"reflectionCreate");DE.reflectionCreate=TBe});var OP=g(kE=>{"use strict";Object.defineProperty(kE,"__esModule",{value:!0});kE.reflectionMergePartial=void 0;function MBe(t,e,r){let n,s=r,i;for(let a of t.fields){let c=a.localName;if(a.oneof){let l=s[a.oneof];if(l?.oneofKind==null)continue;if(n=l[c],i=e[a.oneof],i.oneofKind=l.oneofKind,n==null){delete i[c];continue}}else if(n=s[c],i=e,n==null)continue;switch(a.repeat&&(i[c].length=n.length),a.kind){case"scalar":case"enum":if(a.repeat)for(let A=0;A{"use strict";Object.defineProperty(ME,"__esModule",{value:!0});ME.reflectionEquals=void 0;var qP=Kn();function LBe(t,e,r){if(e===r)return!0;if(!e||!r)return!1;for(let n of t.fields){let s=n.localName,i=n.oneof?e[n.oneof][s]:e[s],a=n.oneof?r[n.oneof][s]:r[s];switch(n.kind){case"enum":case"scalar":let c=n.kind=="enum"?qP.ScalarType.INT32:n.T;if(!(n.repeat?QW(c,i,a):bW(c,i,a)))return!1;break;case"map":if(!(n.V.kind=="message"?xW(n.V.T(),TE(i),TE(a)):QW(n.V.kind=="enum"?qP.ScalarType.INT32:n.V.T,TE(i),TE(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?xW(l,i,a):l.equals(i,a)))return!1;break}}return!0}o(LBe,"reflectionEquals");ME.reflectionEquals=LBe;var TE=Object.values;function bW(t,e,r){if(e===r)return!0;if(t!==qP.ScalarType.BYTES)return!1;let n=e,s=r;if(n.length!==s.length)return!1;for(let i=0;i{"use strict";Object.defineProperty(LE,"__esModule",{value:!0});LE.MessageType=void 0;var _Be=fm(),FBe=Kn(),UBe=PP(),OBe=DP(),qBe=TP(),HBe=LP(),zBe=FP(),GBe=UP(),zP=OP(),YBe=cE(),wW=wP(),VBe=HP(),JBe=bP(),WBe=xP(),NW=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),$Be=NW[_Be.MESSAGE_TYPE]={},GP=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(FBe.normalizeFieldInfo),this.options=n??{},$Be.value=this,this.messagePrototype=Object.create(null,NW),this.refTypeCheck=new UBe.ReflectionTypeCheck(this),this.refJsonReader=new OBe.ReflectionJsonReader(this),this.refJsonWriter=new qBe.ReflectionJsonWriter(this),this.refBinReader=new HBe.ReflectionBinaryReader(this),this.refBinWriter=new zBe.ReflectionBinaryWriter(this)}create(e){let r=GBe.reflectionCreate(this);return e!==void 0&&zP.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return zP.reflectionMergePartial(this,r,e),r}equals(e,r){return VBe.reflectionEquals(this,e,r)}is(e,r=this.defaultCheckDepth){return this.refTypeCheck.is(e,r,!1)}isAssignable(e,r=this.defaultCheckDepth){return this.refTypeCheck.is(e,r,!0)}mergePartial(e,r){zP.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=WBe.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,wW.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,wW.jsonWriteOptions(r))}toJsonString(e,r){var n;let s=this.toJson(e,r);return JSON.stringify(s,null,(n=r?.prettySpaces)!==null&&n!==void 0?n:0)}toBinary(e,r){let n=JBe.binaryWriteOptions(r);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,r,n){if(e!==null&&typeof e=="object"&&!Array.isArray(e)){let s=n??this.create();return this.refJsonReader.read(e,s,r),s}throw new Error(`Unable to parse message ${this.typeName} from JSON ${YBe.typeofJsonValue(e)}.`)}internalJsonWrite(e,r){return this.refJsonWriter.write(e,r)}internalBinaryWrite(e,r,n){return this.refBinWriter.write(e,r,n),r}internalBinaryRead(e,r,n,s){let i=s??this.create();return this.refBinReader.read(e,i,n,r),i}};LE.MessageType=GP});var RW=g(_E=>{"use strict";Object.defineProperty(_E,"__esModule",{value:!0});_E.containsMessageType=void 0;var jBe=fm();function KBe(t){return t[jBe.MESSAGE_TYPE]!=null}o(KBe,"containsMessageType");_E.containsMessageType=KBe});var vW=g(js=>{"use strict";Object.defineProperty(js,"__esModule",{value:!0});js.listEnumNumbers=js.listEnumNames=js.listEnumValues=js.isEnumObject=void 0;function PW(t){if(typeof t!="object"||t===null||!t.hasOwnProperty(0))return!1;for(let e of Object.keys(t)){let r=parseInt(e);if(Number.isNaN(r)){let n=t[e];if(n===void 0||typeof n!="number"||t[n]===void 0)return!1}else{let n=t[r];if(n===void 0||t[n]!==r)return!1}}return!0}o(PW,"isEnumObject");js.isEnumObject=PW;function YP(t){if(!PW(t))throw new Error("not a typescript enum object");let e=[];for(let[r,n]of Object.entries(t))typeof n=="number"&&e.push({name:r,number:n});return e}o(YP,"listEnumValues");js.listEnumValues=YP;function XBe(t){return YP(t).map(e=>e.name)}o(XBe,"listEnumNames");js.listEnumNames=XBe;function ZBe(t){return YP(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(ZBe,"listEnumNumbers");js.listEnumNumbers=ZBe});var At=g(J=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0});var DW=cE();Object.defineProperty(J,"typeofJsonValue",{enumerable:!0,get:o(function(){return DW.typeofJsonValue},"get")});Object.defineProperty(J,"isJsonObject",{enumerable:!0,get:o(function(){return DW.isJsonObject},"get")});var kW=AE();Object.defineProperty(J,"base64decode",{enumerable:!0,get:o(function(){return kW.base64decode},"get")});Object.defineProperty(J,"base64encode",{enumerable:!0,get:o(function(){return kW.base64encode},"get")});var eQe=iW();Object.defineProperty(J,"utf8read",{enumerable:!0,get:o(function(){return eQe.utf8read},"get")});var VP=lm();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 TW=xP();Object.defineProperty(J,"BinaryReader",{enumerable:!0,get:o(function(){return TW.BinaryReader},"get")});Object.defineProperty(J,"binaryReadOptions",{enumerable:!0,get:o(function(){return TW.binaryReadOptions},"get")});var MW=bP();Object.defineProperty(J,"BinaryWriter",{enumerable:!0,get:o(function(){return MW.BinaryWriter},"get")});Object.defineProperty(J,"binaryWriteOptions",{enumerable:!0,get:o(function(){return MW.binaryWriteOptions},"get")});var LW=ko();Object.defineProperty(J,"PbLong",{enumerable:!0,get:o(function(){return LW.PbLong},"get")});Object.defineProperty(J,"PbULong",{enumerable:!0,get:o(function(){return LW.PbULong},"get")});var JP=wP();Object.defineProperty(J,"jsonReadOptions",{enumerable:!0,get:o(function(){return JP.jsonReadOptions},"get")});Object.defineProperty(J,"jsonWriteOptions",{enumerable:!0,get:o(function(){return JP.jsonWriteOptions},"get")});Object.defineProperty(J,"mergeJsonOptions",{enumerable:!0,get:o(function(){return JP.mergeJsonOptions},"get")});var tQe=fm();Object.defineProperty(J,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return tQe.MESSAGE_TYPE},"get")});var rQe=SW();Object.defineProperty(J,"MessageType",{enumerable:!0,get:o(function(){return rQe.MessageType},"get")});var Ja=Kn();Object.defineProperty(J,"ScalarType",{enumerable:!0,get:o(function(){return Ja.ScalarType},"get")});Object.defineProperty(J,"LongType",{enumerable:!0,get:o(function(){return Ja.LongType},"get")});Object.defineProperty(J,"RepeatType",{enumerable:!0,get:o(function(){return Ja.RepeatType},"get")});Object.defineProperty(J,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return Ja.normalizeFieldInfo},"get")});Object.defineProperty(J,"readFieldOptions",{enumerable:!0,get:o(function(){return Ja.readFieldOptions},"get")});Object.defineProperty(J,"readFieldOption",{enumerable:!0,get:o(function(){return Ja.readFieldOption},"get")});Object.defineProperty(J,"readMessageOption",{enumerable:!0,get:o(function(){return Ja.readMessageOption},"get")});var nQe=PP();Object.defineProperty(J,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return nQe.ReflectionTypeCheck},"get")});var sQe=UP();Object.defineProperty(J,"reflectionCreate",{enumerable:!0,get:o(function(){return sQe.reflectionCreate},"get")});var iQe=RE();Object.defineProperty(J,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return iQe.reflectionScalarDefault},"get")});var oQe=OP();Object.defineProperty(J,"reflectionMergePartial",{enumerable:!0,get:o(function(){return oQe.reflectionMergePartial},"get")});var aQe=HP();Object.defineProperty(J,"reflectionEquals",{enumerable:!0,get:o(function(){return aQe.reflectionEquals},"get")});var cQe=LP();Object.defineProperty(J,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return cQe.ReflectionBinaryReader},"get")});var lQe=FP();Object.defineProperty(J,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return lQe.ReflectionBinaryWriter},"get")});var AQe=DP();Object.defineProperty(J,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return AQe.ReflectionJsonReader},"get")});var uQe=TP();Object.defineProperty(J,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return uQe.ReflectionJsonWriter},"get")});var dQe=RW();Object.defineProperty(J,"containsMessageType",{enumerable:!0,get:o(function(){return dQe.containsMessageType},"get")});var Em=SP();Object.defineProperty(J,"isOneofGroup",{enumerable:!0,get:o(function(){return Em.isOneofGroup},"get")});Object.defineProperty(J,"setOneofValue",{enumerable:!0,get:o(function(){return Em.setOneofValue},"get")});Object.defineProperty(J,"getOneofValue",{enumerable:!0,get:o(function(){return Em.getOneofValue},"get")});Object.defineProperty(J,"clearOneofValue",{enumerable:!0,get:o(function(){return Em.clearOneofValue},"get")});Object.defineProperty(J,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return Em.getSelectedOneofValue},"get")});var FE=vW();Object.defineProperty(J,"listEnumValues",{enumerable:!0,get:o(function(){return FE.listEnumValues},"get")});Object.defineProperty(J,"listEnumNames",{enumerable:!0,get:o(function(){return FE.listEnumNames},"get")});Object.defineProperty(J,"listEnumNumbers",{enumerable:!0,get:o(function(){return FE.listEnumNumbers},"get")});Object.defineProperty(J,"isEnumObject",{enumerable:!0,get:o(function(){return FE.isEnumObject},"get")});var mQe=NP();Object.defineProperty(J,"lowerCamelCase",{enumerable:!0,get:o(function(){return mQe.lowerCamelCase},"get")});var Cm=Zl();Object.defineProperty(J,"assert",{enumerable:!0,get:o(function(){return Cm.assert},"get")});Object.defineProperty(J,"assertNever",{enumerable:!0,get:o(function(){return Cm.assertNever},"get")});Object.defineProperty(J,"assertInt32",{enumerable:!0,get:o(function(){return Cm.assertInt32},"get")});Object.defineProperty(J,"assertUInt32",{enumerable:!0,get:o(function(){return Cm.assertUInt32},"get")});Object.defineProperty(J,"assertFloat32",{enumerable:!0,get:o(function(){return Cm.assertFloat32},"get")})});var WP=g(Ks=>{"use strict";Object.defineProperty(Ks,"__esModule",{value:!0});Ks.readServiceOption=Ks.readMethodOption=Ks.readMethodOptions=Ks.normalizeMethodInfo=void 0;var pQe=At();function hQe(t,e){var r,n,s;let i=t;return i.service=e,i.localName=(r=i.localName)!==null&&r!==void 0?r:pQe.lowerCamelCase(i.name),i.serverStreaming=!!i.serverStreaming,i.clientStreaming=!!i.clientStreaming,i.options=(n=i.options)!==null&&n!==void 0?n:{},i.idempotency=(s=i.idempotency)!==null&&s!==void 0?s:void 0,i}o(hQe,"normalizeMethodInfo");Ks.normalizeMethodInfo=hQe;function fQe(t,e,r,n){var s;let i=(s=t.methods.find((a,c)=>a.localName===e||c===e))===null||s===void 0?void 0:s.options;return i&&i[r]?n.fromJson(i[r]):void 0}o(fQe,"readMethodOptions");Ks.readMethodOptions=fQe;function gQe(t,e,r,n){var s;let i=(s=t.methods.find((c,l)=>c.localName===e||l===e))===null||s===void 0?void 0:s.options;if(!i)return;let a=i[r];return a===void 0?a:n?n.fromJson(a):a}o(gQe,"readMethodOption");Ks.readMethodOption=gQe;function yQe(t,e,r){let n=t.options;if(!n)return;let s=n[e];return s===void 0?s:r?r.fromJson(s):s}o(yQe,"readServiceOption");Ks.readServiceOption=yQe});var _W=g(UE=>{"use strict";Object.defineProperty(UE,"__esModule",{value:!0});UE.ServiceType=void 0;var EQe=WP(),$P=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(s=>EQe.normalizeMethodInfo(s,this)),this.options=n??{}}};UE.ServiceType=$P});var KP=g(OE=>{"use strict";Object.defineProperty(OE,"__esModule",{value:!0});OE.RpcError=void 0;var jP=class extends Error{static{o(this,"RpcError")}constructor(e,r="UNKNOWN",n){super(e),this.name="RpcError",Object.setPrototypeOf(this,new.target.prototype),this.code=r,this.meta=n??{}}toString(){let e=[this.name+": "+this.message];this.code&&(e.push(""),e.push("Code: "+this.code)),this.serviceName&&this.methodName&&e.push("Method: "+this.serviceName+"/"+this.methodName);let r=Object.entries(this.meta);if(r.length){e.push(""),e.push("Meta:");for(let[n,s]of r)e.push(` ${n}: ${s}`)}return e.join(` +`)}};OE.RpcError=jP});var XP=g(HE=>{"use strict";Object.defineProperty(HE,"__esModule",{value:!0});HE.mergeRpcOptions=void 0;var FW=At();function CQe(t,e){if(!e)return t;let r={};qE(t,r),qE(e,r);for(let n of Object.keys(e)){let s=e[n];switch(n){case"jsonOptions":r.jsonOptions=FW.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=FW.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},qE(t.meta,r.meta),qE(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(s):s.concat();break}}return r}o(CQe,"mergeRpcOptions");HE.mergeRpcOptions=CQe;function qE(t,e){if(!t)return;let r=e;for(let[n,s]of Object.entries(t))s instanceof Date?r[n]=new Date(s.getTime()):Array.isArray(s)?r[n]=s.concat():r[n]=s}o(qE,"copy")});var ev=g(Wa=>{"use strict";Object.defineProperty(Wa,"__esModule",{value:!0});Wa.Deferred=Wa.DeferredState=void 0;var Xs;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Xs=Wa.DeferredState||(Wa.DeferredState={}));var ZP=class{static{o(this,"Deferred")}constructor(e=!0){this._state=Xs.PENDING,this._promise=new Promise((r,n)=>{this._resolve=r,this._reject=n}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==Xs.PENDING)throw new Error(`cannot resolve ${Xs[this.state].toLowerCase()}`);this._resolve(e),this._state=Xs.RESOLVED}reject(e){if(this.state!==Xs.PENDING)throw new Error(`cannot reject ${Xs[this.state].toLowerCase()}`);this._reject(e),this._state=Xs.REJECTED}resolvePending(e){this._state===Xs.PENDING&&this.resolve(e)}rejectPending(e){this._state===Xs.PENDING&&this.reject(e)}};Wa.Deferred=ZP});var rv=g(zE=>{"use strict";Object.defineProperty(zE,"__esModule",{value:!0});zE.RpcOutputStreamController=void 0;var UW=ev(),$a=At(),tv=class{static{o(this,"RpcOutputStreamController")}constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1,this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,r){return r.push(e),()=>{let n=r.indexOf(e);n>=0&&r.splice(n,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,n){$a.assert((e?1:0)+(r?1:0)+(n?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),n&&this.notifyComplete()}notifyMessage(e){$a.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){$a.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(){$a.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;$a.assert(e,"bad state"),$a.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 UW.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;$a.assert(n.state==UW.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};zE.RpcOutputStreamController=tv});var sv=g(nA=>{"use strict";var IQe=nA&&nA.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(nA,"__esModule",{value:!0});nA.UnaryCall=void 0;var nv=class{static{o(this,"UnaryCall")}constructor(e,r,n,s,i,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=s,this.response=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return IQe(this,void 0,void 0,function*(){let[e,r,n,s]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:r,status:n,trailers:s}})}};nA.UnaryCall=nv});var ov=g(sA=>{"use strict";var BQe=sA&&sA.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(sA,"__esModule",{value:!0});sA.ServerStreamingCall=void 0;var iv=class{static{o(this,"ServerStreamingCall")}constructor(e,r,n,s,i,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=s,this.responses=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return BQe(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:r,trailers:n}})}};sA.ServerStreamingCall=iv});var cv=g(iA=>{"use strict";var QQe=iA&&iA.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(iA,"__esModule",{value:!0});iA.ClientStreamingCall=void 0;var av=class{static{o(this,"ClientStreamingCall")}constructor(e,r,n,s,i,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=s,this.response=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return QQe(this,void 0,void 0,function*(){let[e,r,n,s]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:r,status:n,trailers:s}})}};iA.ClientStreamingCall=av});var Av=g(oA=>{"use strict";var xQe=oA&&oA.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(oA,"__esModule",{value:!0});oA.DuplexStreamingCall=void 0;var lv=class{static{o(this,"DuplexStreamingCall")}constructor(e,r,n,s,i,a,c){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=s,this.responses=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return xQe(this,void 0,void 0,function*(){let[e,r,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:r,trailers:n}})}};oA.DuplexStreamingCall=lv});var qW=g(lA=>{"use strict";var bQe=lA&&lA.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(lA,"__esModule",{value:!0});lA.TestTransport=void 0;var Nn=KP(),GE=At(),OW=rv(),wQe=XP(),NQe=sv(),SQe=ov(),RQe=cv(),PQe=Av(),cA=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 aA?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof aA?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 Nn.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof Nn.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(GE.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),GE.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return bQe(this,void 0,void 0,function*(){let s=[];if(this.data.response===void 0)s.push(e.O.create());else if(Array.isArray(this.data.response))for(let i of this.data.response)GE.assert(e.O.is(i)),s.push(i);else this.data.response instanceof Nn.RpcError||(GE.assert(e.O.is(this.data.response)),s.push(this.data.response));try{yield Dt(this.responseDelay,n)(void 0)}catch(i){r.notifyError(i);return}if(this.data.response instanceof Nn.RpcError){r.notifyError(this.data.response);return}for(let i of s){r.notifyMessage(i);try{yield Dt(this.betweenResponseDelay,n)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof Nn.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof Nn.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 Nn.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 Nn.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return wQe.mergeRpcOptions({},e)}unary(e,r,n){var s;let i=(s=n.meta)!==null&&s!==void 0?s:{},a=this.promiseHeaders().then(Dt(this.headerDelay,n.abort)),c=a.catch(u=>{}).then(Dt(this.responseDelay,n.abort)).then(u=>this.promiseSingleResponse(e)),l=c.catch(u=>{}).then(Dt(this.afterResponseDelay,n.abort)).then(u=>this.promiseStatus()),A=c.catch(u=>{}).then(Dt(this.afterResponseDelay,n.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput={single:r},new NQe.UnaryCall(e,i,r,a,c,l,A)}serverStreaming(e,r,n){var s;let i=(s=n.meta)!==null&&s!==void 0?s:{},a=this.promiseHeaders().then(Dt(this.headerDelay,n.abort)),c=new OW.RpcOutputStreamController,l=a.then(Dt(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,n.abort)).then(Dt(this.afterResponseDelay,n.abort)),A=l.then(()=>this.promiseStatus()),u=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(A,u),this.lastInput={single:r},new SQe.ServerStreamingCall(e,i,r,a,c,A,u)}clientStreaming(e,r){var n;let s=(n=r.meta)!==null&&n!==void 0?n:{},i=this.promiseHeaders().then(Dt(this.headerDelay,r.abort)),a=i.catch(A=>{}).then(Dt(this.responseDelay,r.abort)).then(A=>this.promiseSingleResponse(e)),c=a.catch(A=>{}).then(Dt(this.afterResponseDelay,r.abort)).then(A=>this.promiseStatus()),l=a.catch(A=>{}).then(Dt(this.afterResponseDelay,r.abort)).then(A=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new aA(this.data,r.abort),new RQe.ClientStreamingCall(e,s,this.lastInput,i,a,c,l)}duplex(e,r){var n;let s=(n=r.meta)!==null&&n!==void 0?n:{},i=this.promiseHeaders().then(Dt(this.headerDelay,r.abort)),a=new OW.RpcOutputStreamController,c=i.then(Dt(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(Dt(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),A=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput=new aA(this.data,r.abort),new PQe.DuplexStreamingCall(e,s,this.lastInput,i,a,l,A)}};lA.TestTransport=cA;cA.defaultHeaders={responseHeader:"test"};cA.defaultStatus={code:"OK",detail:"all good"};cA.defaultTrailers={responseTrailer:"test"};function Dt(t,e){return r=>new Promise((n,s)=>{if(e?.aborted)s(new Nn.RpcError("user cancel","CANCELLED"));else{let i=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(i),s(new Nn.RpcError("user cancel","CANCELLED"))})}})}o(Dt,"delay");var aA=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 Nn.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(Dt(r,this.abort))}complete(){if(this.data.inputComplete instanceof Nn.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(Dt(e,this.abort))}}});var HW=g(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.stackDuplexStreamingInterceptors=Sn.stackClientStreamingInterceptors=Sn.stackServerStreamingInterceptors=Sn.stackUnaryInterceptors=Sn.stackIntercept=void 0;var vQe=At();function Im(t,e,r,n,s){var i,a,c,l;if(t=="unary"){let A=o((u,d,m)=>e.unary(u,d,m),"tail");for(let u of((i=n.interceptors)!==null&&i!==void 0?i:[]).filter(d=>d.interceptUnary).reverse()){let d=A;A=o((m,p,h)=>u.interceptUnary(d,m,p,h),"tail")}return A(r,s,n)}if(t=="serverStreaming"){let A=o((u,d,m)=>e.serverStreaming(u,d,m),"tail");for(let u of((a=n.interceptors)!==null&&a!==void 0?a:[]).filter(d=>d.interceptServerStreaming).reverse()){let d=A;A=o((m,p,h)=>u.interceptServerStreaming(d,m,p,h),"tail")}return A(r,s,n)}if(t=="clientStreaming"){let A=o((u,d)=>e.clientStreaming(u,d),"tail");for(let u of((c=n.interceptors)!==null&&c!==void 0?c:[]).filter(d=>d.interceptClientStreaming).reverse()){let d=A;A=o((m,p)=>u.interceptClientStreaming(d,m,p),"tail")}return A(r,n)}if(t=="duplex"){let A=o((u,d)=>e.duplex(u,d),"tail");for(let u of((l=n.interceptors)!==null&&l!==void 0?l:[]).filter(d=>d.interceptDuplex).reverse()){let d=A;A=o((m,p)=>u.interceptDuplex(d,m,p),"tail")}return A(r,n)}vQe.assertNever(t)}o(Im,"stackIntercept");Sn.stackIntercept=Im;function DQe(t,e,r,n){return Im("unary",t,e,n,r)}o(DQe,"stackUnaryInterceptors");Sn.stackUnaryInterceptors=DQe;function kQe(t,e,r,n){return Im("serverStreaming",t,e,n,r)}o(kQe,"stackServerStreamingInterceptors");Sn.stackServerStreamingInterceptors=kQe;function TQe(t,e,r){return Im("clientStreaming",t,e,r)}o(TQe,"stackClientStreamingInterceptors");Sn.stackClientStreamingInterceptors=TQe;function MQe(t,e,r){return Im("duplex",t,e,r)}o(MQe,"stackDuplexStreamingInterceptors");Sn.stackDuplexStreamingInterceptors=MQe});var zW=g(YE=>{"use strict";Object.defineProperty(YE,"__esModule",{value:!0});YE.ServerCallContextController=void 0;var uv=class{static{o(this,"ServerCallContextController")}constructor(e,r,n,s,i={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=n,this.trailers={},this._sendRH=s,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 n=r.indexOf(e);n>=0&&r.splice(n,1)}}};YE.ServerCallContextController=uv});var YW=g(rt=>{"use strict";Object.defineProperty(rt,"__esModule",{value:!0});var LQe=_W();Object.defineProperty(rt,"ServiceType",{enumerable:!0,get:o(function(){return LQe.ServiceType},"get")});var dv=WP();Object.defineProperty(rt,"readMethodOptions",{enumerable:!0,get:o(function(){return dv.readMethodOptions},"get")});Object.defineProperty(rt,"readMethodOption",{enumerable:!0,get:o(function(){return dv.readMethodOption},"get")});Object.defineProperty(rt,"readServiceOption",{enumerable:!0,get:o(function(){return dv.readServiceOption},"get")});var _Qe=KP();Object.defineProperty(rt,"RpcError",{enumerable:!0,get:o(function(){return _Qe.RpcError},"get")});var FQe=XP();Object.defineProperty(rt,"mergeRpcOptions",{enumerable:!0,get:o(function(){return FQe.mergeRpcOptions},"get")});var UQe=rv();Object.defineProperty(rt,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return UQe.RpcOutputStreamController},"get")});var OQe=qW();Object.defineProperty(rt,"TestTransport",{enumerable:!0,get:o(function(){return OQe.TestTransport},"get")});var GW=ev();Object.defineProperty(rt,"Deferred",{enumerable:!0,get:o(function(){return GW.Deferred},"get")});Object.defineProperty(rt,"DeferredState",{enumerable:!0,get:o(function(){return GW.DeferredState},"get")});var qQe=Av();Object.defineProperty(rt,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return qQe.DuplexStreamingCall},"get")});var HQe=cv();Object.defineProperty(rt,"ClientStreamingCall",{enumerable:!0,get:o(function(){return HQe.ClientStreamingCall},"get")});var zQe=ov();Object.defineProperty(rt,"ServerStreamingCall",{enumerable:!0,get:o(function(){return zQe.ServerStreamingCall},"get")});var GQe=sv();Object.defineProperty(rt,"UnaryCall",{enumerable:!0,get:o(function(){return GQe.UnaryCall},"get")});var Bm=HW();Object.defineProperty(rt,"stackIntercept",{enumerable:!0,get:o(function(){return Bm.stackIntercept},"get")});Object.defineProperty(rt,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return Bm.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(rt,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return Bm.stackClientStreamingInterceptors},"get")});Object.defineProperty(rt,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return Bm.stackServerStreamingInterceptors},"get")});Object.defineProperty(rt,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return Bm.stackUnaryInterceptors},"get")});var YQe=zW();Object.defineProperty(rt,"ServerCallContextController",{enumerable:!0,get:o(function(){return YQe.ServerCallContextController},"get")})});var l8=g((uXe,c8)=>{function Rn(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(Rn,"RetryOperation");c8.exports=Rn;Rn.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};Rn.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};Rn.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 n=this;return this._timer=setTimeout(function(){n._attempts++,n._operationTimeoutCb&&(n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout),n._options.unref&&n._timeout.unref()),n._fn(n._attempts)},r),this._options.unref&&this._timer.unref(),!0};Rn.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)};Rn.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};Rn.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};Rn.prototype.start=Rn.prototype.try;Rn.prototype.errors=function(){return this._errors};Rn.prototype.attempts=function(){return this._attempts};Rn.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,r=0,n=0;n=r&&(e=s,r=a)}return e}});var A8=g(ec=>{var nxe=l8();ec.operation=function(t){var e=ec.timeouts(t);return new nxe(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};ec.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 n=[],s=0;s{u8.exports=A8()});var p8=g((fXe,m8)=>{var sxe=d8();function ixe(t,e){function r(n,s){var i=e||{},a;"randomize"in i||(i.randomize=!0),a=sxe.operation(i);function c(u){s(u||new Error("Aborted"))}o(c,"bail");function l(u,d){if(u.bail){c(u);return}a.retry(u)?i.onRetry&&i.onRetry(u,d):s(a.mainError())}o(l,"onError");function A(u){var d;try{d=t(c,u)}catch(m){l(m,u);return}Promise.resolve(d).then(n).catch(o(function(p){l(p,u)},"catchIt"))}o(A,"runAttempt"),a.attempt(A)}return o(r,"run"),new Promise(r)}o(ixe,"retry");m8.exports=ixe});var D8=g((yXe,Ui)=>{var Pe=require("fs"),eC=require("os"),xt=require("path"),h8=require("crypto"),ei={fs:Pe.constants,os:eC.constants},f8="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",C8=/XXXXXX/,oxe=3,I8=(ei.O_CREAT||ei.fs.O_CREAT)|(ei.O_EXCL||ei.fs.O_EXCL)|(ei.O_RDWR||ei.fs.O_RDWR),axe=eC.platform()==="win32",cxe=ei.EBADF||ei.os.errno.EBADF,lxe=ei.ENOENT||ei.os.errno.ENOENT,B8=448,Q8=384,Axe="exit",dA=[],x8=Pe.rmdirSync.bind(Pe),b8=!1;function uxe(t,e){return Pe.rm(t,{recursive:!0},e)}o(uxe,"rimraf");function w8(t){return Pe.rmSync(t,{recursive:!0})}o(w8,"FN_RIMRAF_SYNC");function Vv(t,e){let r=mA(t,e),n=r[0],s=r[1];Ixe(n,function(i,a){if(i)return s(i);let c=a.tries;o((function l(){try{let A=S8(a);Pe.stat(A,function(u){if(!u)return c-- >0?l():s(new Error("Could not get a unique tmp filename, max tries reached "+A));s(null,A)})}catch(A){s(A)}}),"_getUniqueName")()})}o(Vv,"tmpName");function Jv(t){let e=mA(t),r=e[0],n=Bxe(r),s=n.tries;do{let i=S8(n);try{Pe.statSync(i)}catch{return i}}while(s-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}o(Jv,"tmpNameSync");function dxe(t,e){let r=mA(t,e),n=r[0],s=r[1];Vv(n,o(function(a,c){if(a)return s(a);Pe.open(c,I8,n.mode||Q8,o(function(A,u){if(A)return s(A);if(n.discardDescriptor)return Pe.close(u,o(function(m){return s(m,c,void 0,Gv(c,-1,n,!1))},"_discardCallback"));{let d=n.discardDescriptor||n.detachDescriptor;s(null,c,u,Gv(c,d?-1:u,n,!1))}},"_fileCreated"))},"_tmpNameCreated"))}o(dxe,"file");function mxe(t){let e=mA(t),r=e[0],n=r.discardDescriptor||r.detachDescriptor,s=Jv(r),i=Pe.openSync(s,I8,r.mode||Q8);return r.discardDescriptor&&(Pe.closeSync(i),i=void 0),{name:s,fd:i,removeCallback:Gv(s,n?-1:i,r,!0)}}o(mxe,"fileSync");function pxe(t,e){let r=mA(t,e),n=r[0],s=r[1];Vv(n,o(function(a,c){if(a)return s(a);Pe.mkdir(c,n.mode||B8,o(function(A){if(A)return s(A);s(null,c,N8(c,n,!1))},"_dirCreated"))},"_tmpNameCreated"))}o(pxe,"dir");function hxe(t){let e=mA(t),r=e[0],n=Jv(r);return Pe.mkdirSync(n,r.mode||B8),{name:n,removeCallback:N8(n,r,!0)}}o(hxe,"dirSync");function fxe(t,e){let r=o(function(n){if(n&&!Yv(n))return e(n);e()},"_handler");0<=t[0]?Pe.close(t[0],function(){Pe.unlink(t[1],r)}):Pe.unlink(t[1],r)}o(fxe,"_removeFileAsync");function gxe(t){let e=null;try{0<=t[0]&&Pe.closeSync(t[0])}catch(r){if(!Qxe(r)&&!Yv(r))throw r}finally{try{Pe.unlinkSync(t[1])}catch(r){Yv(r)||(e=r)}}if(e!==null)throw e}o(gxe,"_removeFileSync");function Gv(t,e,r,n){let s=ZE(gxe,[e,t],n),i=ZE(fxe,[e,t],n,s);return r.keep||dA.unshift(s),n?s:i}o(Gv,"_prepareTmpFileRemoveCallback");function N8(t,e,r){let n=e.unsafeCleanup?uxe:Pe.rmdir.bind(Pe),s=e.unsafeCleanup?w8:x8,i=ZE(s,t,r),a=ZE(n,t,r,i);return e.keep||dA.unshift(i),r?i:a}o(N8,"_prepareTmpDirRemoveCallback");function ZE(t,e,r,n){let s=!1;return o(function i(a){if(!s){let c=n||i,l=dA.indexOf(c);return l>=0&&dA.splice(l,1),s=!0,r||t===x8||t===w8?t(e):t(e,a||function(){})}},"_cleanupCallback")}o(ZE,"_prepareRemoveCallback");function yxe(){if(b8)for(;dA.length;)try{dA[0]()}catch{}}o(yxe,"_garbageCollector");function g8(t){let e=[],r=null;try{r=h8.randomBytes(t)}catch{r=h8.pseudoRandomBytes(t)}for(let n=0;n"u"}o(Nr,"_isUndefined");function mA(t,e){if(typeof t=="function")return[{},t];if(Nr(t))return[{},e];let r={};for(let n of Object.getOwnPropertyNames(t))r[n]=t[n];return[r,e]}o(mA,"_parseArguments");function Exe(t,e,r){let n=xt.isAbsolute(t)?t:xt.join(e,t);Pe.stat(n,function(s){s?Pe.realpath(xt.dirname(n),function(i,a){if(i)return r(i);r(null,xt.join(a,xt.basename(n)))}):Pe.realpath(n,r)})}o(Exe,"_resolvePath");function Cxe(t,e){let r=xt.isAbsolute(t)?t:xt.join(e,t);try{return Pe.statSync(r),Pe.realpathSync(r)}catch{let s=Pe.realpathSync(xt.dirname(r));return xt.join(s,xt.basename(r))}}o(Cxe,"_resolvePathSync");function S8(t){let e=t.tmpdir;if(!Nr(t.name))return xt.join(e,t.dir,t.name);if(!Nr(t.template))return xt.join(e,t.dir,t.template).replace(C8,g8(6));let r=[t.prefix?t.prefix:"tmp","-",process.pid,"-",g8(12),t.postfix?"-"+t.postfix:""].join("");return xt.join(e,t.dir,r)}o(S8,"_generateTmpName");function zv(t,e){if(typeof e!="string")throw new Error(`${t} option must be a string, got "${typeof e}".`);if(e.includes(".."))throw new Error("Relative value not allowed");return e}o(zv,"_assertPath");function R8(t){if(!Nr(t.name)){let e=t.name;if(xt.isAbsolute(e))throw new Error(`name option must not contain an absolute path, found "${e}".`);let r=xt.basename(e);if(r===".."||r==="."||r!==e)throw new Error(`name option must not contain a path, found "${e}".`)}if(!Nr(t.template)){if(typeof t.template!="string")throw new Error(`template option must be a string, got "${typeof t.template}".`);if(!t.template.match(C8))throw new Error(`Invalid template, found "${t.template}".`)}if(!Nr(t.tries)&&isNaN(t.tries)||t.tries<0)throw new Error(`Invalid tries, found "${t.tries}".`);t.tries=Nr(t.name)?t.tries||oxe:1,t.keep=!!t.keep,t.detachDescriptor=!!t.detachDescriptor,t.discardDescriptor=!!t.discardDescriptor,t.unsafeCleanup=!!t.unsafeCleanup,t.prefix=Nr(t.prefix)?"":zv("prefix",t.prefix),t.postfix=Nr(t.postfix)?"":zv("postfix",t.postfix),t.template=Nr(t.template)?void 0:zv("template",t.template)}o(R8,"_assertOptionsBase");function y8(t,e,r,n){if(Nr(e))return n(null);Exe(e,r,function(s,i){if(s)return n(s);let a=xt.relative(r,i);if(a.startsWith("..")||xt.isAbsolute(a))return n(new Error(`${t} option must be relative to "${r}", found "${a}".`));n(null,a)})}o(y8,"_getRelativePath");function E8(t,e,r){if(Nr(e))return;let n=Cxe(e,r),s=xt.relative(r,n);if(s.startsWith("..")||xt.isAbsolute(s))throw new Error(`${t} option must be relative to "${r}", found "${s}".`);return s}o(E8,"_getRelativePathSync");function Ixe(t,e){bxe(t,function(r,n){if(r)return e(r);t.tmpdir=n;try{R8(t,n)}catch(s){return e(s)}y8("dir",t.dir,n,function(s,i){if(s)return e(s);t.dir=Nr(i)?"":i,y8("template",t.template,n,function(a,c){if(a)return e(a);t.template=c,e(null,t)})})})}o(Ixe,"_assertAndSanitizeOptions");function Bxe(t){let e=t.tmpdir=v8(t);R8(t,e);let r=E8("dir",t.dir,e);return t.dir=Nr(r)?"":r,t.template=E8("template",t.template,e),t}o(Bxe,"_assertAndSanitizeOptionsSync");function Qxe(t){return P8(t,-cxe,"EBADF")}o(Qxe,"_isEBADF");function Yv(t){return P8(t,-lxe,"ENOENT")}o(Yv,"_isENOENT");function P8(t,e,r){return axe?t.code===r:t.code===r&&t.errno===e}o(P8,"_isExpectedError");function xxe(){b8=!0}o(xxe,"setGracefulCleanup");function bxe(t,e){return Pe.realpath(t&&t.tmpdir||eC.tmpdir(),e)}o(bxe,"_getTmpDir");function v8(t){return Pe.realpathSync(t&&t.tmpdir||eC.tmpdir())}o(v8,"_getTmpDirSync");process.addListener(Axe,yxe);Object.defineProperty(Ui.exports,"tmpdir",{enumerable:!0,configurable:!1,get:o(function(){return v8()},"get")});Ui.exports.dir=pxe;Ui.exports.dirSync=hxe;Ui.exports.file=dxe;Ui.exports.fileSync=mxe;Ui.exports.tmpName=Vv;Ui.exports.tmpNameSync=Jv;Ui.exports.setGracefulCleanup=xxe});var or=g(en=>{"use strict";en.__esModule=!0;en.extend=L8;en.indexOf=Pxe;en.escapeExpression=vxe;en.isEmpty=Dxe;en.createFrame=kxe;en.blockParams=Txe;en.appendContextPath=Mxe;var wxe={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},Nxe=/[&<>"'`=]/g,Sxe=/[&<>"'`=]/;function Rxe(t){return wxe[t]}o(Rxe,"escapeChar");function L8(t){for(var e=1;e{"use strict";rC.__esModule=!0;var Kv=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function Xv(t,e){var r=e&&e.loc,n=void 0,s=void 0,i=void 0,a=void 0;r&&(n=r.start.line,s=r.end.line,i=r.start.column,a=r.end.column,t+=" - "+n+":"+i);for(var c=Error.prototype.constructor.call(this,t),l=0;l{"use strict";nC.__esModule=!0;var Zv=or();nC.default=function(t){t.registerHelper("blockHelperMissing",function(e,r){var n=r.inverse,s=r.fn;if(e===!0)return s(this);if(e===!1||e==null)return n(this);if(Zv.isArray(e))return e.length>0?(r.ids&&(r.ids=[r.name]),t.helpers.each(e,r)):n(this);if(r.data&&r.ids){var i=Zv.createFrame(r.data);i.contextPath=Zv.appendContextPath(r.data.contextPath,r.name),r={data:i}}return s(e,r)})};U8.exports=nC.default});var H8=g((sC,q8)=>{"use strict";sC.__esModule=!0;function Lxe(t){return t&&t.__esModule?t:{default:t}}o(Lxe,"_interopRequireDefault");var Nm=or(),_xe=tn(),Fxe=Lxe(_xe);sC.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new Fxe.default("Must pass iterator to #each");var n=r.fn,s=r.inverse,i=0,a="",c=void 0,l=void 0;r.data&&r.ids&&(l=Nm.appendContextPath(r.data.contextPath,r.ids[0])+"."),Nm.isFunction(e)&&(e=e.call(this)),r.data&&(c=Nm.createFrame(r.data));function A(h,f,C){c&&(c.key=h,c.index=f,c.first=f===0,c.last=!!C,l&&(c.contextPath=l+h)),a=a+n(e[h],{data:c,blockParams:Nm.blockParams([e[h],h],[l+h,null])})}if(o(A,"execIteration"),e&&typeof e=="object")if(Nm.isArray(e))for(var u=e.length;i{"use strict";iC.__esModule=!0;function Uxe(t){return t&&t.__esModule?t:{default:t}}o(Uxe,"_interopRequireDefault");var Oxe=tn(),qxe=Uxe(Oxe);iC.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new qxe.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};z8.exports=iC.default});var W8=g((oC,J8)=>{"use strict";oC.__esModule=!0;function Hxe(t){return t&&t.__esModule?t:{default:t}}o(Hxe,"_interopRequireDefault");var Y8=or(),zxe=tn(),V8=Hxe(zxe);oC.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new V8.default("#if requires exactly one argument");return Y8.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||Y8.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new V8.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};J8.exports=oC.default});var j8=g((aC,$8)=>{"use strict";aC.__esModule=!0;aC.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],n=0;n{"use strict";cC.__esModule=!0;cC.default=function(t){t.registerHelper("lookup",function(e,r,n){return e&&n.lookupProperty(e,r)})};K8.exports=cC.default});var e$=g((lC,Z8)=>{"use strict";lC.__esModule=!0;function Gxe(t){return t&&t.__esModule?t:{default:t}}o(Gxe,"_interopRequireDefault");var Sm=or(),Yxe=tn(),Vxe=Gxe(Yxe);lC.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new Vxe.default("#with requires exactly one argument");Sm.isFunction(e)&&(e=e.call(this));var n=r.fn;if(Sm.isEmpty(e))return r.inverse(this);var s=r.data;return r.data&&r.ids&&(s=Sm.createFrame(r.data),s.contextPath=Sm.appendContextPath(r.data.contextPath,r.ids[0])),n(e,{data:s,blockParams:Sm.blockParams([e],[s&&s.contextPath])})})};Z8.exports=lC.default});var eD=g(AC=>{"use strict";AC.__esModule=!0;AC.registerDefaultHelpers=abe;AC.moveHelperToHooks=cbe;function tc(t){return t&&t.__esModule?t:{default:t}}o(tc,"_interopRequireDefault");var Jxe=O8(),Wxe=tc(Jxe),$xe=H8(),jxe=tc($xe),Kxe=G8(),Xxe=tc(Kxe),Zxe=W8(),ebe=tc(Zxe),tbe=j8(),rbe=tc(tbe),nbe=X8(),sbe=tc(nbe),ibe=e$(),obe=tc(ibe);function abe(t){Wxe.default(t),jxe.default(t),Xxe.default(t),ebe.default(t),rbe.default(t),sbe.default(t),obe.default(t)}o(abe,"registerDefaultHelpers");function cbe(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}o(cbe,"moveHelperToHooks")});var r$=g((uC,t$)=>{"use strict";uC.__esModule=!0;var lbe=or();uC.default=function(t){t.registerDecorator("inline",function(e,r,n,s){var i=e;return r.partials||(r.partials={},i=o(function(a,c){var l=n.partials;n.partials=lbe.extend({},l,r.partials);var A=e(a,c);return n.partials=l,A},"ret")),r.partials[s.args[0]]=s.fn,i})};t$.exports=uC.default});var n$=g(tD=>{"use strict";tD.__esModule=!0;tD.registerDefaultDecorators=mbe;function Abe(t){return t&&t.__esModule?t:{default:t}}o(Abe,"_interopRequireDefault");var ube=r$(),dbe=Abe(ube);function mbe(t){dbe.default(t)}o(mbe,"registerDefaultDecorators")});var rD=g((dC,s$)=>{"use strict";dC.__esModule=!0;var pbe=or(),pA={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:o(function(e){if(typeof e=="string"){var r=pbe.indexOf(pA.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},"lookupLevel"),log:o(function(e){if(e=pA.lookupLevel(e),typeof console<"u"&&pA.lookupLevel(pA.level)<=e){var r=pA.methodMap[e];console[r]||(r="log");for(var n=arguments.length,s=Array(n>1?n-1:0),i=1;i{"use strict";Rm.__esModule=!0;Rm.createProtoAccessControl=ybe;Rm.resultIsAllowed=Ebe;Rm.resetLoggedProperties=Ibe;function hbe(t){return t&&t.__esModule?t:{default:t}}o(hbe,"_interopRequireDefault");var i$=or(),fbe=rD(),gbe=hbe(fbe),mC=Object.create(null);function ybe(t){var e=Object.create(null);e.__proto__=!1,i$.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,i$.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}o(ybe,"createProtoAccessControl");function Ebe(t,e,r){return o$(typeof t=="function"?e.methods:e.properties,r)}o(Ebe,"resultIsAllowed");function o$(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(Cbe(e),!1)}o(o$,"checkWhiteList");function Cbe(t){mC[t]!==!0&&(mC[t]=!0,gbe.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(ebe,"logUnexpecedPropertyAccessOnce");function tbe(){Object.keys(lC).forEach(function(t){delete lC[t]})}o(tbe,"resetLoggedProperties")});var uC=g(ei=>{"use strict";ei.__esModule=!0;ei.HandlebarsEnvironment=rD;function YW(t){return t&&t.__esModule?t:{default:t}}o(YW,"_interopRequireDefault");var ec=or(),rbe=tn(),eD=YW(rbe),nbe=jv(),sbe=qW(),ibe=Xv(),AC=YW(ibe),obe=Zv(),abe="4.7.9";ei.VERSION=abe;var cbe=8;ei.COMPILER_REVISION=cbe;var lbe=7;ei.LAST_COMPATIBLE_COMPILER_REVISION=lbe;var Abe={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"};ei.REVISION_CHANGES=Abe;var tD="[object Object]";function rD(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},nbe.registerDefaultHelpers(this),sbe.registerDefaultDecorators(this)}o(rD,"HandlebarsEnvironment");rD.prototype={constructor:rD,logger:AC.default,log:AC.default.log,registerHelper:o(function(e,r){if(ec.toString.call(e)===tD){if(r)throw new eD.default("Arg not supported with multiple helpers");ec.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(ec.toString.call(e)===tD)ec.extend(this.partials,e);else{if(typeof r>"u")throw new eD.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(ec.toString.call(e)===tD){if(r)throw new eD.default("Arg not supported with multiple decorators");ec.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){obe.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var ube=AC.default.log;ei.log=ube;ei.createFrame=ec.createFrame;ei.logger=AC.default});var JW=g((dC,VW)=>{"use strict";dC.__esModule=!0;function nD(t){this.string=t}o(nD,"SafeString");nD.prototype.toString=nD.prototype.toHTML=function(){return""+this.string};dC.default=nD;VW.exports=dC.default});var WW=g(sD=>{"use strict";sD.__esModule=!0;sD.wrapHelper=dbe;function dbe(t,e){if(typeof t!="function")return t;var r=o(function(){var s=arguments[arguments.length-1];return arguments[arguments.length-1]=e(s),t.apply(this,arguments)},"wrapper");return r}o(dbe,"wrapHelper")});var e$=g(Mo=>{"use strict";Mo.__esModule=!0;Mo.checkRevision=ybe;Mo.template=Ebe;Mo.wrapProgram=mC;Mo.resolvePartial=Cbe;Mo.invokePartial=Ibe;Mo.noop=XW;function mbe(t){return t&&t.__esModule?t:{default:t}}o(mbe,"_interopRequireDefault");function pbe(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(pbe,"_interopRequireWildcard");var hbe=or(),pA=pbe(hbe),fbe=tn(),Ui=mbe(fbe),Oi=uC(),$W=jv(),gbe=WW(),jW=Zv();function ybe(t){var e=t&&t[0]||1,r=Oi.COMPILER_REVISION;if(!(e>=Oi.LAST_COMPATIBLE_COMPILER_REVISION&&e<=Oi.COMPILER_REVISION))if(e{"use strict";ti.__esModule=!0;ti.HandlebarsEnvironment=oD;function a$(t){return t&&t.__esModule?t:{default:t}}o(a$,"_interopRequireDefault");var rc=or(),Bbe=tn(),sD=a$(Bbe),Qbe=eD(),xbe=n$(),bbe=rD(),pC=a$(bbe),wbe=nD(),Nbe="4.7.9";ti.VERSION=Nbe;var Sbe=8;ti.COMPILER_REVISION=Sbe;var Rbe=7;ti.LAST_COMPATIBLE_COMPILER_REVISION=Rbe;var Pbe={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"};ti.REVISION_CHANGES=Pbe;var iD="[object Object]";function oD(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},Qbe.registerDefaultHelpers(this),xbe.registerDefaultDecorators(this)}o(oD,"HandlebarsEnvironment");oD.prototype={constructor:oD,logger:pC.default,log:pC.default.log,registerHelper:o(function(e,r){if(rc.toString.call(e)===iD){if(r)throw new sD.default("Arg not supported with multiple helpers");rc.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(rc.toString.call(e)===iD)rc.extend(this.partials,e);else{if(typeof r>"u")throw new sD.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(rc.toString.call(e)===iD){if(r)throw new sD.default("Arg not supported with multiple decorators");rc.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){wbe.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var vbe=pC.default.log;ti.log=vbe;ti.createFrame=rc.createFrame;ti.logger=pC.default});var l$=g((fC,c$)=>{"use strict";fC.__esModule=!0;function aD(t){this.string=t}o(aD,"SafeString");aD.prototype.toString=aD.prototype.toHTML=function(){return""+this.string};fC.default=aD;c$.exports=fC.default});var A$=g(cD=>{"use strict";cD.__esModule=!0;cD.wrapHelper=Dbe;function Dbe(t,e){if(typeof t!="function")return t;var r=o(function(){var s=arguments[arguments.length-1];return arguments[arguments.length-1]=e(s),t.apply(this,arguments)},"wrapper");return r}o(Dbe,"wrapHelper")});var f$=g(Lo=>{"use strict";Lo.__esModule=!0;Lo.checkRevision=Fbe;Lo.template=Ube;Lo.wrapProgram=gC;Lo.resolvePartial=Obe;Lo.invokePartial=qbe;Lo.noop=p$;function kbe(t){return t&&t.__esModule?t:{default:t}}o(kbe,"_interopRequireDefault");function Tbe(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(Tbe,"_interopRequireWildcard");var Mbe=or(),hA=Tbe(Mbe),Lbe=tn(),Oi=kbe(Lbe),qi=hC(),u$=eD(),_be=A$(),d$=nD();function Fbe(t){var e=t&&t[0]||1,r=qi.COMPILER_REVISION;if(!(e>=qi.LAST_COMPATIBLE_COMPILER_REVISION&&e<=qi.COMPILER_REVISION))if(e{"use strict";hC.__esModule=!0;hC.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}};t$.exports=hC.default});var o$=g((fC,i$)=>{"use strict";fC.__esModule=!0;function aD(t){return t&&t.__esModule?t:{default:t}}o(aD,"_interopRequireDefault");function cD(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(cD,"_interopRequireWildcard");var xbe=uC(),r$=cD(xbe),bbe=JW(),wbe=aD(bbe),Nbe=tn(),Sbe=aD(Nbe),Rbe=or(),oD=cD(Rbe),Pbe=e$(),n$=cD(Pbe),vbe=iD(),Dbe=aD(vbe);function s$(){var t=new r$.HandlebarsEnvironment;return oD.extend(t,r$),t.SafeString=wbe.default,t.Exception=Sbe.default,t.Utils=oD,t.escapeExpression=oD.escapeExpression,t.VM=n$,t.template=function(e){return n$.template(e,t)},t}o(s$,"create");var Sm=s$();Sm.create=s$;Dbe.default(Sm);Sm.default=Sm;fC.default=Sm;i$.exports=fC.default});var lD=g((gC,c$)=>{"use strict";gC.__esModule=!0;var a$={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&&!a$.helpers.scopedId(e)&&!e.depth},"simpleId")}};gC.default=a$;c$.exports=gC.default});var A$=g((yC,l$)=>{"use strict";yC.__esModule=!0;var kbe=(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(s,i,a,c,l,A,u){var d=A.length-1;switch(l){case 1:return A[d-1];case 2:this.$=c.prepareProgram(A[d]);break;case 3:this.$=A[d];break;case 4:this.$=A[d];break;case 5:this.$=A[d];break;case 6:this.$=A[d];break;case 7:this.$=A[d];break;case 8:this.$=A[d];break;case 9:this.$={type:"CommentStatement",value:c.stripComment(A[d]),strip:c.stripFlags(A[d],A[d]),loc:c.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:A[d],value:A[d],loc:c.locInfo(this._$)};break;case 11:this.$=c.prepareRawBlock(A[d-2],A[d-1],A[d],this._$);break;case 12:this.$={path:A[d-3],params:A[d-2],hash:A[d-1]};break;case 13:this.$=c.prepareBlock(A[d-3],A[d-2],A[d-1],A[d],!1,this._$);break;case 14:this.$=c.prepareBlock(A[d-3],A[d-2],A[d-1],A[d],!0,this._$);break;case 15:this.$={open:A[d-5],path:A[d-4],params:A[d-3],hash:A[d-2],blockParams:A[d-1],strip:c.stripFlags(A[d-5],A[d])};break;case 16:this.$={path:A[d-4],params:A[d-3],hash:A[d-2],blockParams:A[d-1],strip:c.stripFlags(A[d-5],A[d])};break;case 17:this.$={path:A[d-4],params:A[d-3],hash:A[d-2],blockParams:A[d-1],strip:c.stripFlags(A[d-5],A[d])};break;case 18:this.$={strip:c.stripFlags(A[d-1],A[d-1]),program:A[d]};break;case 19:var m=c.prepareBlock(A[d-2],A[d-1],A[d],A[d],!1,this._$),p=c.prepareProgram([m],A[d-1].loc);p.chained=!0,this.$={strip:A[d-2].strip,program:p,chain:!0};break;case 20:this.$=A[d];break;case 21:this.$={path:A[d-1],strip:c.stripFlags(A[d-2],A[d])};break;case 22:this.$=c.prepareMustache(A[d-3],A[d-2],A[d-1],A[d-4],c.stripFlags(A[d-4],A[d]),this._$);break;case 23:this.$=c.prepareMustache(A[d-3],A[d-2],A[d-1],A[d-4],c.stripFlags(A[d-4],A[d]),this._$);break;case 24:this.$={type:"PartialStatement",name:A[d-3],params:A[d-2],hash:A[d-1],indent:"",strip:c.stripFlags(A[d-4],A[d]),loc:c.locInfo(this._$)};break;case 25:this.$=c.preparePartialBlock(A[d-2],A[d-1],A[d],this._$);break;case 26:this.$={path:A[d-3],params:A[d-2],hash:A[d-1],strip:c.stripFlags(A[d-4],A[d])};break;case 27:this.$=A[d];break;case 28:this.$=A[d];break;case 29:this.$={type:"SubExpression",path:A[d-3],params:A[d-2],hash:A[d-1],loc:c.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:A[d],loc:c.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:c.id(A[d-2]),value:A[d],loc:c.locInfo(this._$)};break;case 32:this.$=c.id(A[d-1]);break;case 33:this.$=A[d];break;case 34:this.$=A[d];break;case 35:this.$={type:"StringLiteral",value:A[d],original:A[d],loc:c.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(A[d]),original:Number(A[d]),loc:c.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:A[d]==="true",original:A[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.$=A[d];break;case 41:this.$=A[d];break;case 42:this.$=c.preparePath(!0,A[d],this._$);break;case 43:this.$=c.preparePath(!1,A[d],this._$);break;case 44:A[d-2].push({part:c.id(A[d]),original:A[d],separator:A[d-1]}),this.$=A[d-2];break;case 45:this.$=[{part:c.id(A[d]),original:A[d]}];break;case 46:this.$=[];break;case 47:A[d-1].push(A[d]);break;case 48:this.$=[];break;case 49:A[d-1].push(A[d]);break;case 50:this.$=[];break;case 51:A[d-1].push(A[d]);break;case 58:this.$=[];break;case 59:A[d-1].push(A[d]);break;case 64:this.$=[];break;case 65:A[d-1].push(A[d]);break;case 70:this.$=[];break;case 71:A[d-1].push(A[d]);break;case 78:this.$=[];break;case 79:A[d-1].push(A[d]);break;case 82:this.$=[];break;case 83:A[d-1].push(A[d]);break;case 86:this.$=[];break;case 87:A[d-1].push(A[d]);break;case 90:this.$=[];break;case 91:A[d-1].push(A[d]);break;case 94:this.$=[];break;case 95:A[d-1].push(A[d]);break;case 98:this.$=[A[d]];break;case 99:A[d-1].push(A[d]);break;case 100:this.$=[A[d]];break;case 101:A[d-1].push(A[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(s,i){throw new Error(s)},"parseError"),parse:o(function(s){var i=this,a=[0],c=[null],l=[],A=this.table,u="",d=0,m=0,p=0,h=2,f=1;this.lexer.setInput(s),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 y=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function E(H){a.length=a.length-2*H,c.length=c.length-H,l.length=l.length-H}o(E,"popStack");function I(){var H;return H=i.lexer.lex()||1,typeof H!="number"&&(H=i.symbols_[H]||H),H}o(I,"lex");for(var B,N,S,F,ue,be,Be={},Ne,ae,De,ee;;){if(S=a[a.length-1],this.defaultActions[S]?F=this.defaultActions[S]:((B===null||typeof B>"u")&&(B=I()),F=A[S]&&A[S][B]),typeof F>"u"||!F.length||!F[0]){var Yt="";if(!p){ee=[];for(Ne in A[S])this.terminals_[Ne]&&Ne>2&&ee.push("'"+this.terminals_[Ne]+"'");this.lexer.showPosition?Yt="Parse error on line "+(d+1)+`: +`)}return A}else throw new Oi.default("The partial "+l.name+" could not be compiled when running in runtime-only mode")}o(n,"invokePartialWrapper");var s={strict:o(function(c,l,A){if(!c||!(l in c))throw new Oi.default('"'+l+'" not defined in '+c,{loc:A});return s.lookupProperty(c,l)},"strict"),lookupProperty:o(function(c,l){var A=c[l];if(A==null||Object.prototype.hasOwnProperty.call(c,l)||d$.resultIsAllowed(A,s.protoAccessControl,l))return A},"lookupProperty"),lookup:o(function(c,l){for(var A=c.length,u=0;u{"use strict";EC.__esModule=!0;EC.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}};g$.exports=EC.default});var B$=g((CC,I$)=>{"use strict";CC.__esModule=!0;function uD(t){return t&&t.__esModule?t:{default:t}}o(uD,"_interopRequireDefault");function dD(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(dD,"_interopRequireWildcard");var Gbe=hC(),y$=dD(Gbe),Ybe=l$(),Vbe=uD(Ybe),Jbe=tn(),Wbe=uD(Jbe),$be=or(),AD=dD($be),jbe=f$(),E$=dD(jbe),Kbe=lD(),Xbe=uD(Kbe);function C$(){var t=new y$.HandlebarsEnvironment;return AD.extend(t,y$),t.SafeString=Vbe.default,t.Exception=Wbe.default,t.Utils=AD,t.escapeExpression=AD.escapeExpression,t.VM=E$,t.template=function(e){return E$.template(e,t)},t}o(C$,"create");var Pm=C$();Pm.create=C$;Xbe.default(Pm);Pm.default=Pm;CC.default=Pm;I$.exports=CC.default});var mD=g((IC,x$)=>{"use strict";IC.__esModule=!0;var Q$={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&&!Q$.helpers.scopedId(e)&&!e.depth},"simpleId")}};IC.default=Q$;x$.exports=IC.default});var w$=g((BC,b$)=>{"use strict";BC.__esModule=!0;var Zbe=(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(s,i,a,c,l,A,u){var d=A.length-1;switch(l){case 1:return A[d-1];case 2:this.$=c.prepareProgram(A[d]);break;case 3:this.$=A[d];break;case 4:this.$=A[d];break;case 5:this.$=A[d];break;case 6:this.$=A[d];break;case 7:this.$=A[d];break;case 8:this.$=A[d];break;case 9:this.$={type:"CommentStatement",value:c.stripComment(A[d]),strip:c.stripFlags(A[d],A[d]),loc:c.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:A[d],value:A[d],loc:c.locInfo(this._$)};break;case 11:this.$=c.prepareRawBlock(A[d-2],A[d-1],A[d],this._$);break;case 12:this.$={path:A[d-3],params:A[d-2],hash:A[d-1]};break;case 13:this.$=c.prepareBlock(A[d-3],A[d-2],A[d-1],A[d],!1,this._$);break;case 14:this.$=c.prepareBlock(A[d-3],A[d-2],A[d-1],A[d],!0,this._$);break;case 15:this.$={open:A[d-5],path:A[d-4],params:A[d-3],hash:A[d-2],blockParams:A[d-1],strip:c.stripFlags(A[d-5],A[d])};break;case 16:this.$={path:A[d-4],params:A[d-3],hash:A[d-2],blockParams:A[d-1],strip:c.stripFlags(A[d-5],A[d])};break;case 17:this.$={path:A[d-4],params:A[d-3],hash:A[d-2],blockParams:A[d-1],strip:c.stripFlags(A[d-5],A[d])};break;case 18:this.$={strip:c.stripFlags(A[d-1],A[d-1]),program:A[d]};break;case 19:var m=c.prepareBlock(A[d-2],A[d-1],A[d],A[d],!1,this._$),p=c.prepareProgram([m],A[d-1].loc);p.chained=!0,this.$={strip:A[d-2].strip,program:p,chain:!0};break;case 20:this.$=A[d];break;case 21:this.$={path:A[d-1],strip:c.stripFlags(A[d-2],A[d])};break;case 22:this.$=c.prepareMustache(A[d-3],A[d-2],A[d-1],A[d-4],c.stripFlags(A[d-4],A[d]),this._$);break;case 23:this.$=c.prepareMustache(A[d-3],A[d-2],A[d-1],A[d-4],c.stripFlags(A[d-4],A[d]),this._$);break;case 24:this.$={type:"PartialStatement",name:A[d-3],params:A[d-2],hash:A[d-1],indent:"",strip:c.stripFlags(A[d-4],A[d]),loc:c.locInfo(this._$)};break;case 25:this.$=c.preparePartialBlock(A[d-2],A[d-1],A[d],this._$);break;case 26:this.$={path:A[d-3],params:A[d-2],hash:A[d-1],strip:c.stripFlags(A[d-4],A[d])};break;case 27:this.$=A[d];break;case 28:this.$=A[d];break;case 29:this.$={type:"SubExpression",path:A[d-3],params:A[d-2],hash:A[d-1],loc:c.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:A[d],loc:c.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:c.id(A[d-2]),value:A[d],loc:c.locInfo(this._$)};break;case 32:this.$=c.id(A[d-1]);break;case 33:this.$=A[d];break;case 34:this.$=A[d];break;case 35:this.$={type:"StringLiteral",value:A[d],original:A[d],loc:c.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(A[d]),original:Number(A[d]),loc:c.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:A[d]==="true",original:A[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.$=A[d];break;case 41:this.$=A[d];break;case 42:this.$=c.preparePath(!0,A[d],this._$);break;case 43:this.$=c.preparePath(!1,A[d],this._$);break;case 44:A[d-2].push({part:c.id(A[d]),original:A[d],separator:A[d-1]}),this.$=A[d-2];break;case 45:this.$=[{part:c.id(A[d]),original:A[d]}];break;case 46:this.$=[];break;case 47:A[d-1].push(A[d]);break;case 48:this.$=[];break;case 49:A[d-1].push(A[d]);break;case 50:this.$=[];break;case 51:A[d-1].push(A[d]);break;case 58:this.$=[];break;case 59:A[d-1].push(A[d]);break;case 64:this.$=[];break;case 65:A[d-1].push(A[d]);break;case 70:this.$=[];break;case 71:A[d-1].push(A[d]);break;case 78:this.$=[];break;case 79:A[d-1].push(A[d]);break;case 82:this.$=[];break;case 83:A[d-1].push(A[d]);break;case 86:this.$=[];break;case 87:A[d-1].push(A[d]);break;case 90:this.$=[];break;case 91:A[d-1].push(A[d]);break;case 94:this.$=[];break;case 95:A[d-1].push(A[d]);break;case 98:this.$=[A[d]];break;case 99:A[d-1].push(A[d]);break;case 100:this.$=[A[d]];break;case 101:A[d-1].push(A[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(s,i){throw new Error(s)},"parseError"),parse:o(function(s){var i=this,a=[0],c=[null],l=[],A=this.table,u="",d=0,m=0,p=0,h=2,f=1;this.lexer.setInput(s),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 y=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function E(H){a.length=a.length-2*H,c.length=c.length-H,l.length=l.length-H}o(E,"popStack");function I(){var H;return H=i.lexer.lex()||1,typeof H!="number"&&(H=i.symbols_[H]||H),H}o(I,"lex");for(var B,N,S,F,de,be,Be={},Ne,ae,De,ee;;){if(S=a[a.length-1],this.defaultActions[S]?F=this.defaultActions[S]:((B===null||typeof B>"u")&&(B=I()),F=A[S]&&A[S][B]),typeof F>"u"||!F.length||!F[0]){var Yt="";if(!p){ee=[];for(Ne in A[S])this.terminals_[Ne]&&Ne>2&&ee.push("'"+this.terminals_[Ne]+"'");this.lexer.showPosition?Yt="Parse error on line "+(d+1)+`: `+this.lexer.showPosition()+` Expecting `+ee.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Yt="Parse error on line "+(d+1)+": Unexpected "+(B==1?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(Yt,{text:this.lexer.match,token:this.terminals_[B]||B,line:this.lexer.yylineno,loc:C,expected:ee})}}if(F[0]instanceof Array&&F.length>1)throw new Error("Parse Error: multiple actions possible at state: "+S+", token: "+B);switch(F[0]){case 1:a.push(B),c.push(this.lexer.yytext),l.push(this.lexer.yylloc),a.push(F[1]),B=null,N?(B=N,N=null):(m=this.lexer.yyleng,u=this.lexer.yytext,d=this.lexer.yylineno,C=this.lexer.yylloc,p>0&&p--);break;case 2:if(ae=this.productions_[F[1]][1],Be.$=c[c.length-ae],Be._$={first_line:l[l.length-(ae||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(ae||1)].first_column,last_column:l[l.length-1].last_column},y&&(Be._$.range=[l[l.length-(ae||1)].range[0],l[l.length-1].range[1]]),be=this.performAction.call(Be,u,m,d,this.yy,F[1],c,l),typeof be<"u")return be;ae&&(a=a.slice(0,-1*ae*2),c=c.slice(0,-1*ae),l=l.slice(0,-1*ae)),a.push(this.productions_[F[1]][0]),c.push(Be.$),l.push(Be._$),De=A[a[a.length-2]][a[a.length-1]],a.push(De);break;case 3:return!0}}return!0},"parse")},e=(function(){var n={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 A=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=[A[0],A[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,A,u;this._more||(this.yytext="",this.match="");for(var d=this._currentRules(),m=0;ma[0].length)&&(a=c,l=m,!this.options.flex)));m++);return a?(u=a[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.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 n.options={},n.performAction=o(function(i,a,c,l){function A(d,m){return a.yytext=a.yytext.substring(d,a.yyleng-m+d)}o(A,"strip");var u=l;switch(c){case 0:if(a.yytext.slice(-2)==="\\\\"?(A(0,1),this.begin("mu")):a.yytext.slice(-1)==="\\"?(A(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:(A(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=A(1,2).replace(/\\"/g,'"'),80;break;case 32:return a.yytext=A(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"),n.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\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],n.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}},n})();t.lexer=e;function r(){this.yy={}}return o(r,"Parser"),r.prototype=t,t.Parser=r,new r})();yC.default=kbe;l$.exports=yC.default});var BC=g((IC,m$)=>{"use strict";IC.__esModule=!0;function Tbe(t){return t&&t.__esModule?t:{default:t}}o(Tbe,"_interopRequireDefault");var Mbe=tn(),AD=Tbe(Mbe);function EC(){this.parents=[]}o(EC,"Visitor");EC.prototype={constructor:EC,mutating:!1,acceptKey:o(function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!EC.prototype[n.type])throw new AD.default('Unexpected node type "'+n.type+'" found when accepting '+r+" on "+e.type);e[r]=n}},"acceptKey"),acceptRequired:o(function(e,r){if(this.acceptKey(e,r),!e[r])throw new AD.default(e.type+" requires "+r)},"acceptRequired"),acceptArray:o(function(e){for(var r=0,n=e.length;r{"use strict";QC.__esModule=!0;function Lbe(t){return t&&t.__esModule?t:{default:t}}o(Lbe,"_interopRequireDefault");var _be=BC(),Fbe=Lbe(_be);function ti(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}o(ti,"WhitespaceControl");ti.prototype=new Fbe.default;ti.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=t.body,s=0,i=n.length;s{"use strict";Rn.__esModule=!0;Rn.SourceLocation=qbe;Rn.id=Hbe;Rn.stripFlags=zbe;Rn.stripComment=Gbe;Rn.preparePath=Ybe;Rn.prepareMustache=Vbe;Rn.prepareRawBlock=Jbe;Rn.prepareBlock=Wbe;Rn.prepareProgram=$be;Rn.preparePartialBlock=jbe;function Ube(t){return t&&t.__esModule?t:{default:t}}o(Ube,"_interopRequireDefault");var Obe=tn(),mD=Ube(Obe);function pD(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new mD.default(t.path.original+" doesn't match "+e,r)}}o(pD,"validateClose");function qbe(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(qbe,"SourceLocation");function Hbe(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}o(Hbe,"id");function zbe(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}o(zbe,"stripFlags");function Gbe(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}o(Gbe,"stripComment");function Ybe(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",s=[],i=0,a=0,c=e.length;a0)throw new mD.default("Invalid path: "+n,{loc:r});l===".."&&i++}else s.push(l)}return{type:"PathExpression",data:t,depth:i,parts:s,original:n,loc:r}}o(Ybe,"preparePath");function Vbe(t,e,r,n,s,i){var a=n.charAt(3)||n.charAt(2),c=a!=="{"&&a!=="&",l=/\*/.test(n);return{type:l?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:c,strip:s,loc:this.locInfo(i)}}o(Vbe,"prepareMustache");function Jbe(t,e,r,n){pD(t,r),n=this.locInfo(n);var s={type:"Program",body:e,strip:{},loc:n};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:s,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}o(Jbe,"prepareRawBlock");function Wbe(t,e,r,n,s,i){n&&n.path&&pD(t,n);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,l=void 0;if(r){if(a)throw new mD.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),l=r.strip,c=r.program}return s&&(s=c,c=e,e=s),{type:a?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:c,openStrip:t.strip,inverseStrip:l,closeStrip:n&&n.strip,loc:this.locInfo(i)}}o(Wbe,"prepareBlock");function $be(t,e){if(!e&&t.length){var r=t[0].loc,n=t[t.length-1].loc;r&&n&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}o($be,"prepareProgram");function jbe(t,e,r,n){return pD(t,r),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:r&&r.strip,loc:this.locInfo(n)}}o(jbe,"preparePartialBlock")});var y$=g(Pm=>{"use strict";Pm.__esModule=!0;Pm.parseWithoutProcessing=g$;Pm.parse=iwe;function Kbe(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(Kbe,"_interopRequireWildcard");function gD(t){return t&&t.__esModule?t:{default:t}}o(gD,"_interopRequireDefault");var Xbe=A$(),hD=gD(Xbe),Zbe=h$(),ewe=gD(Zbe),twe=f$(),rwe=Kbe(twe),nwe=tn(),Rm=gD(nwe),swe=or();Pm.parser=hD.default;var xC={};swe.extend(xC,rwe);function g$(t,e){if(t.type==="Program")return owe(t),t;hD.default.yy=xC,xC.locInfo=function(n){return new xC.SourceLocation(e&&e.srcName,n)};var r=hD.default.parse(t);return r}o(g$,"parseWithoutProcessing");function iwe(t,e){var r=g$(t,e),n=new ewe.default(e);return n.accept(r)}o(iwe,"parse");function owe(t){fD(t)}o(owe,"validateInputAst");function fD(t){if(t!=null){if(Array.isArray(t)){t.forEach(fD);return}if(typeof t=="object"){if(t.type==="PathExpression"){if(!awe(t.depth))throw new Rm.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(t.parts))throw new Rm.default("Invalid AST: PathExpression.parts must be an array");for(var e=0;e=0}o(awe,"isValidDepth")});var B$=g(Tm=>{"use strict";Tm.__esModule=!0;Tm.Compiler=yD;Tm.precompile=uwe;Tm.compile=dwe;function C$(t){return t&&t.__esModule?t:{default:t}}o(C$,"_interopRequireDefault");var cwe=tn(),Dm=C$(cwe),km=or(),lwe=lD(),vm=C$(lwe),Awe=[].slice;function yD(){}o(yD,"Compiler");yD.prototype={compiler:yD,equals:o(function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var n=0;n1)throw new Dm.default("Unsupported number of partial arguments: "+n.length,e);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var s=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,s,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){E$(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,n){var s=e.path,i=s.parts[0],a=r!=null||n!=null;this.opcode("getContext",s.depth),this.opcode("pushProgram",r),this.opcode("pushProgram",n),s.strict=!0,this.accept(s),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,n){var s=this.setupFullMustacheParams(e,r,n),i=e.path,a=i.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",s.length,a);else{if(this.options.knownHelpersOnly)throw new Dm.default("You specified knownHelpersOnly, but used the unknown helper "+a,e);i.strict=!0,i.falsy=!0,this.accept(i),this.opcode("invokeHelper",s.length,i.original,vm.default.helpers.simpleId(i))}},"helperSexpr"),PathExpression:o(function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],n=vm.default.helpers.scopedId(e),s=!e.depth&&!n&&this.blockParamIndex(r);s?this.opcode("lookupBlockParam",s,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,n):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,n=0,s=r.length;for(this.opcode("pushHash");n=0)return[r,i]}},"blockParamIndex")};function uwe(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new Dm.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 n=r.parse(t,e),s=new r.Compiler().compile(n,e);return new r.JavaScriptCompiler().compile(s,e)}o(uwe,"precompile");function dwe(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new Dm.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=km.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=void 0;function s(){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(s,"compileInput");function i(a,c){return n||(n=s()),n.call(this,a,c)}return o(i,"ret"),i._setup=function(a){return n||(n=s()),n._setup(a)},i._child=function(a,c,l,A){return n||(n=s()),n._child(a,c,l,A)},i}o(dwe,"compile");function I$(t,e){if(t===e)return!0;if(km.isArray(t)&&km.isArray(e)&&t.length===e.length){for(var r=0;r{var Q$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");ED.encode=function(t){if(0<=t&&t{var b$=x$(),CD=5,w$=1<>1;return e?-r:r}o(pwe,"fromVLQSigned");ID.encode=o(function(e){var r="",n,s=mwe(e);do n=s&N$,s>>>=CD,s>0&&(n|=S$),r+=b$.encode(n);while(s>0);return r},"base64VLQ_encode");ID.decode=o(function(e,r,n){var s=e.length,i=0,a=0,c,l;do{if(r>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(l=b$.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));c=!!(l&S$),l&=N$,i=i+(l<{function hwe(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(hwe,"getArg");Gt.getArg=hwe;var R$=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,fwe=/^data:.+\,.+$/;function Mm(t){var e=t.match(R$);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}o(Mm,"urlParse");Gt.urlParse=Mm;function hA(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(hA,"urlGenerate");Gt.urlGenerate=hA;function QD(t){var e=t,r=Mm(t);if(r){if(!r.path)return t;e=r.path}for(var n=Gt.isAbsolute(e),s=e.split(/\/+/),i,a=0,c=s.length-1;c>=0;c--)i=s[c],i==="."?s.splice(c,1):i===".."?a++:a>0&&(i===""?(s.splice(c+1,a),a=0):(s.splice(c,2),a--));return e=s.join("/"),e===""&&(e=n?"/":"."),r?(r.path=e,hA(r)):e}o(QD,"normalize");Gt.normalize=QD;function P$(t,e){t===""&&(t="."),e===""&&(e=".");var r=Mm(e),n=Mm(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),hA(r);if(r||e.match(fwe))return e;if(n&&!n.host&&!n.path)return n.host=e,hA(n);var s=e.charAt(0)==="/"?e:QD(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=s,hA(n)):s}o(P$,"join");Gt.join=P$;Gt.isAbsolute=function(t){return t.charAt(0)==="/"||R$.test(t)};function gwe(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var n=t.lastIndexOf("/");if(n<0||(t=t.slice(0,n),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}o(gwe,"relative");Gt.relative=gwe;var v$=(function(){var t=Object.create(null);return!("__proto__"in t)})();function D$(t){return t}o(D$,"identity");function ywe(t){return k$(t)?"$"+t:t}o(ywe,"toSetString");Gt.toSetString=v$?D$:ywe;function Ewe(t){return k$(t)?t.slice(1):t}o(Ewe,"fromSetString");Gt.fromSetString=v$?D$:Ewe;function k$(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(k$,"isProtoString");function Cwe(t,e,r){var n=fA(t.source,e.source);return n!==0||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0||r)||(n=t.generatedColumn-e.generatedColumn,n!==0)||(n=t.generatedLine-e.generatedLine,n!==0)?n:fA(t.name,e.name)}o(Cwe,"compareByOriginalPositions");Gt.compareByOriginalPositions=Cwe;function Iwe(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=fA(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:fA(t.name,e.name)}o(Iwe,"compareByGeneratedPositionsDeflated");Gt.compareByGeneratedPositionsDeflated=Iwe;function fA(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}o(fA,"strcmp");function Bwe(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=fA(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:fA(t.name,e.name)}o(Bwe,"compareByGeneratedPositionsInflated");Gt.compareByGeneratedPositionsInflated=Bwe;function Qwe(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}o(Qwe,"parseSourceMapInput");Gt.parseSourceMapInput=Qwe;function xwe(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=Mm(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var s=n.path.lastIndexOf("/");s>=0&&(n.path=n.path.substring(0,s+1))}e=P$(hA(n),e)}return QD(e)}o(xwe,"computeSourceURL");Gt.computeSourceURL=xwe});var wD=g(T$=>{var xD=gA(),bD=Object.prototype.hasOwnProperty,rc=typeof Map<"u";function qi(){this._array=[],this._set=rc?new Map:Object.create(null)}o(qi,"ArraySet");qi.fromArray=o(function(e,r){for(var n=new qi,s=0,i=e.length;s=0)return r}else{var n=xD.toSetString(e);if(bD.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},"ArraySet_indexOf");qi.prototype.at=o(function(e){if(e>=0&&e{var M$=gA();function bwe(t,e){var r=t.generatedLine,n=e.generatedLine,s=t.generatedColumn,i=e.generatedColumn;return n>r||n==r&&i>=s||M$.compareByGeneratedPositionsInflated(t,e)<=0}o(bwe,"generatedPositionAfter");function bC(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o(bC,"MappingList");bC.prototype.unsortedForEach=o(function(e,r){this._array.forEach(e,r)},"MappingList_forEach");bC.prototype.add=o(function(e){bwe(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},"MappingList_add");bC.prototype.toArray=o(function(){return this._sorted||(this._array.sort(M$.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},"MappingList_toArray");L$.MappingList=bC});var ND=g(F$=>{var Lm=BD(),gt=gA(),wC=wD().ArraySet,wwe=_$().MappingList;function Pn(t){t||(t={}),this._file=gt.getArg(t,"file",null),this._sourceRoot=gt.getArg(t,"sourceRoot",null),this._skipValidation=gt.getArg(t,"skipValidation",!1),this._sources=new wC,this._names=new wC,this._mappings=new wwe,this._sourcesContents=null}o(Pn,"SourceMapGenerator");Pn.prototype._version=3;Pn.fromSourceMap=o(function(e){var r=e.sourceRoot,n=new Pn({file:e.file,sourceRoot:r});return e.eachMapping(function(s){var i={generated:{line:s.generatedLine,column:s.generatedColumn}};s.source!=null&&(i.source=s.source,r!=null&&(i.source=gt.relative(r,i.source)),i.original={line:s.originalLine,column:s.originalColumn},s.name!=null&&(i.name=s.name)),n.addMapping(i)}),e.sources.forEach(function(s){var i=s;r!==null&&(i=gt.relative(r,s)),n._sources.has(i)||n._sources.add(i);var a=e.sourceContentFor(s);a!=null&&n.setSourceContent(s,a)}),n},"SourceMapGenerator_fromSourceMap");Pn.prototype.addMapping=o(function(e){var r=gt.getArg(e,"generated"),n=gt.getArg(e,"original",null),s=gt.getArg(e,"source",null),i=gt.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,n,s,i),s!=null&&(s=String(s),this._sources.has(s)||this._sources.add(s)),i!=null&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:s,name:i})},"SourceMapGenerator_addMapping");Pn.prototype.setSourceContent=o(function(e,r){var n=e;this._sourceRoot!=null&&(n=gt.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[gt.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[gt.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},"SourceMapGenerator_setSourceContent");Pn.prototype.applySourceMap=o(function(e,r,n){var s=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.`);s=e.file}var i=this._sourceRoot;i!=null&&(s=gt.relative(i,s));var a=new wC,c=new wC;this._mappings.unsortedForEach(function(l){if(l.source===s&&l.originalLine!=null){var A=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});A.source!=null&&(l.source=A.source,n!=null&&(l.source=gt.join(n,l.source)),i!=null&&(l.source=gt.relative(i,l.source)),l.originalLine=A.line,l.originalColumn=A.column,A.name!=null&&(l.name=A.name))}var u=l.source;u!=null&&!a.has(u)&&a.add(u);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 A=e.sourceContentFor(l);A!=null&&(n!=null&&(l=gt.join(n,l)),i!=null&&(l=gt.relative(i,l)),this.setSourceContent(l,A))},this)},"SourceMapGenerator_applySourceMap");Pn.prototype._validateMapping=o(function(e,r,n,s){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&&!n&&!s)){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&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:r,name:s}))}},"SourceMapGenerator_validateMapping");Pn.prototype._serializeMappings=o(function(){for(var e=0,r=1,n=0,s=0,i=0,a=0,c="",l,A,u,d,m=this._mappings.toArray(),p=0,h=m.length;p0){if(!gt.compareByGeneratedPositionsInflated(A,m[p-1]))continue;l+=","}l+=Lm.encode(A.generatedColumn-e),e=A.generatedColumn,A.source!=null&&(d=this._sources.indexOf(A.source),l+=Lm.encode(d-a),a=d,l+=Lm.encode(A.originalLine-1-s),s=A.originalLine-1,l+=Lm.encode(A.originalColumn-n),n=A.originalColumn,A.name!=null&&(u=this._names.indexOf(A.name),l+=Lm.encode(u-i),i=u)),c+=l}return c},"SourceMapGenerator_serializeMappings");Pn.prototype._generateSourcesContent=o(function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=gt.relative(r,n));var s=gt.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null},this)},"SourceMapGenerator_generateSourcesContent");Pn.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");Pn.prototype.toString=o(function(){return JSON.stringify(this.toJSON())},"SourceMapGenerator_toString");F$.SourceMapGenerator=Pn});var U$=g(nc=>{nc.GREATEST_LOWER_BOUND=1;nc.LEAST_UPPER_BOUND=2;function SD(t,e,r,n,s,i){var a=Math.floor((e-t)/2)+t,c=s(r,n[a],!0);return c===0?a:c>0?e-a>1?SD(a,e,r,n,s,i):i==nc.LEAST_UPPER_BOUND?e1?SD(t,a,r,n,s,i):i==nc.LEAST_UPPER_BOUND?a:t<0?-1:t}o(SD,"recursiveSearch");nc.search=o(function(e,r,n,s){if(r.length===0)return-1;var i=SD(-1,r.length,e,r,n,s||nc.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&n(r[i],r[i-1],!0)===0;)--i;return i},"search")});var q$=g(O$=>{function RD(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}o(RD,"swap");function Nwe(t,e){return Math.round(t+Math.random()*(e-t))}o(Nwe,"randomIntInRange");function PD(t,e,r,n){if(r{var O=gA(),vD=U$(),yA=wD().ArraySet,Swe=BD(),_m=q$().quickSort;function Ue(t,e){var r=t;return typeof t=="string"&&(r=O.parseSourceMapInput(t)),r.sections!=null?new Zn(r,e):new Lt(r,e)}o(Ue,"SourceMapConsumer");Ue.fromSourceMap=function(t,e){return Lt.fromSourceMap(t,e)};Ue.prototype._version=3;Ue.prototype.__generatedMappings=null;Object.defineProperty(Ue.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings},"get")});Ue.prototype.__originalMappings=null;Object.defineProperty(Ue.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings},"get")});Ue.prototype._charIsMappingSeparator=o(function(e,r){var n=e.charAt(r);return n===";"||n===","},"SourceMapConsumer_charIsMappingSeparator");Ue.prototype._parseMappings=o(function(e,r){throw new Error("Subclasses must implement _parseMappings")},"SourceMapConsumer_parseMappings");Ue.GENERATED_ORDER=1;Ue.ORIGINAL_ORDER=2;Ue.GREATEST_LOWER_BOUND=1;Ue.LEAST_UPPER_BOUND=2;Ue.prototype.eachMapping=o(function(e,r,n){var s=r||null,i=n||Ue.GENERATED_ORDER,a;switch(i){case Ue.GENERATED_ORDER:a=this._generatedMappings;break;case Ue.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var c=this.sourceRoot;a.map(function(l){var A=l.source===null?null:this._sources.at(l.source);return A=O.computeSourceURL(c,A,this._sourceMapURL),{source:A,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,s)},"SourceMapConsumer_eachMapping");Ue.prototype.allGeneratedPositionsFor=o(function(e){var r=O.getArg(e,"line"),n={source:O.getArg(e,"source"),originalLine:r,originalColumn:O.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var s=[],i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",O.compareByOriginalPositions,vD.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;)s.push({line:O.getArg(a,"generatedLine",null),column:O.getArg(a,"generatedColumn",null),lastColumn:O.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)s.push({line:O.getArg(a,"generatedLine",null),column:O.getArg(a,"generatedColumn",null),lastColumn:O.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i]}return s},"SourceMapConsumer_allGeneratedPositionsFor");NC.SourceMapConsumer=Ue;function Lt(t,e){var r=t;typeof t=="string"&&(r=O.parseSourceMapInput(t));var n=O.getArg(r,"version"),s=O.getArg(r,"sources"),i=O.getArg(r,"names",[]),a=O.getArg(r,"sourceRoot",null),c=O.getArg(r,"sourcesContent",null),l=O.getArg(r,"mappings"),A=O.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);a&&(a=O.normalize(a)),s=s.map(String).map(O.normalize).map(function(u){return a&&O.isAbsolute(a)&&O.isAbsolute(u)?O.relative(a,u):u}),this._names=yA.fromArray(i.map(String),!0),this._sources=yA.fromArray(s,!0),this._absoluteSources=this._sources.toArray().map(function(u){return O.computeSourceURL(a,u,e)}),this.sourceRoot=a,this.sourcesContent=c,this._mappings=l,this._sourceMapURL=e,this.file=A}o(Lt,"BasicSourceMapConsumer");Lt.prototype=Object.create(Ue.prototype);Lt.prototype.consumer=Ue;Lt.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=O.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r1&&(f.source=c+y[1],c+=y[1],f.originalLine=i+y[2],i=f.originalLine,f.originalLine+=1,f.originalColumn=a+y[3],a=f.originalColumn,y.length>4&&(f.name=l+y[4],l+=y[4])),h.push(f),typeof f.originalLine=="number"&&p.push(f)}_m(h,O.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,_m(p,O.compareByOriginalPositions),this.__originalMappings=p},"SourceMapConsumer_parseMappings");Lt.prototype._findMapping=o(function(e,r,n,s,i,a){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[s]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[s]);return vD.search(e,r,i,a)},"SourceMapConsumer_findMapping");Lt.prototype.computeColumnSpans=o(function(){for(var e=0;e=0){var s=this._generatedMappings[n];if(s.generatedLine===r.generatedLine){var i=O.getArg(s,"source",null);i!==null&&(i=this._sources.at(i),i=O.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var a=O.getArg(s,"name",null);return a!==null&&(a=this._names.at(a)),{source:i,line:O.getArg(s,"originalLine",null),column:O.getArg(s,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},"SourceMapConsumer_originalPositionFor");Lt.prototype.hasContentsOfAllSources=o(function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},"BasicSourceMapConsumer_hasContentsOfAllSources");Lt.prototype.sourceContentFor=o(function(e,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var s=e;this.sourceRoot!=null&&(s=O.relative(this.sourceRoot,s));var i;if(this.sourceRoot!=null&&(i=O.urlParse(this.sourceRoot))){var a=s.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("/"+s))return this.sourcesContent[this._sources.indexOf("/"+s)]}if(r)return null;throw new Error('"'+s+'" is not in the SourceMap.')},"SourceMapConsumer_sourceContentFor");Lt.prototype.generatedPositionFor=o(function(e){var r=O.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:O.getArg(e,"line"),originalColumn:O.getArg(e,"column")},s=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",O.compareByOriginalPositions,O.getArg(e,"bias",Ue.GREATEST_LOWER_BOUND));if(s>=0){var i=this._originalMappings[s];if(i.source===n.source)return{line:O.getArg(i,"generatedLine",null),column:O.getArg(i,"generatedColumn",null),lastColumn:O.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},"SourceMapConsumer_generatedPositionFor");NC.BasicSourceMapConsumer=Lt;function Zn(t,e){var r=t;typeof t=="string"&&(r=O.parseSourceMapInput(t));var n=O.getArg(r,"version"),s=O.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new yA,this._names=new yA;var i={line:-1,column:0};this._sections=s.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var c=O.getArg(a,"offset"),l=O.getArg(c,"line"),A=O.getArg(c,"column");if(l{var Rwe=ND().SourceMapGenerator,SC=gA(),Pwe=/(\r?\n)/,vwe=10,EA="$$$isSourceNode$$$";function rn(t,e,r,n,s){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=s??null,this[EA]=!0,n!=null&&this.add(n)}o(rn,"SourceNode");rn.fromStringWithSourceMap=o(function(e,r,n){var s=new rn,i=e.split(Pwe),a=0,c=o(function(){var m=h(),p=h()||"";return m+p;function h(){return a=0;r--)this.prepend(e[r]);else if(e[EA]||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");rn.prototype.walk=o(function(e){for(var r,n=0,s=this.children.length;n0){for(r=[],n=0;n{RC.SourceMapGenerator=ND().SourceMapGenerator;RC.SourceMapConsumer=z$().SourceMapConsumer;RC.SourceNode=Y$().SourceNode});var j$=g((PC,$$)=>{"use strict";PC.__esModule=!0;var kD=or(),sc=void 0;try{(typeof define!="function"||!define.amd)&&(J$=V$(),sc=J$.SourceNode)}catch{}var J$;sc||(sc=o(function(t,e,r,n){this.src="",n&&this.add(n)},"SourceNode"),sc.prototype={add:o(function(e){kD.isArray(e)&&(e=e.join("")),this.src+=e},"add"),prepend:o(function(e){kD.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 DD(t,e,r){if(kD.isArray(t)){for(var n=[],s=0,i=t.length;s{"use strict";vC.__esModule=!0;function Z$(t){return t&&t.__esModule?t:{default:t}}o(Z$,"_interopRequireDefault");var K$=uC(),Dwe=tn(),TD=Z$(Dwe),kwe=or(),Twe=j$(),X$=Z$(Twe);function CA(t){this.value=t}o(CA,"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=K$.COMPILER_REVISION,r=K$.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,n){return kwe.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:n?["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,n,s){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!s,this.name=this.environment.name,this.isChild=!!n,this.context=n||{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,A=void 0;for(l=0,A=i.length;l@\[-\^`\{-~]+(?=[=}\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\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],n.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}},n})();t.lexer=e;function r(){this.yy={}}return o(r,"Parser"),r.prototype=t,t.Parser=r,new r})();BC.default=Zbe;b$.exports=BC.default});var wC=g((bC,R$)=>{"use strict";bC.__esModule=!0;function ewe(t){return t&&t.__esModule?t:{default:t}}o(ewe,"_interopRequireDefault");var twe=tn(),pD=ewe(twe);function QC(){this.parents=[]}o(QC,"Visitor");QC.prototype={constructor:QC,mutating:!1,acceptKey:o(function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!QC.prototype[n.type])throw new pD.default('Unexpected node type "'+n.type+'" found when accepting '+r+" on "+e.type);e[r]=n}},"acceptKey"),acceptRequired:o(function(e,r){if(this.acceptKey(e,r),!e[r])throw new pD.default(e.type+" requires "+r)},"acceptRequired"),acceptArray:o(function(e){for(var r=0,n=e.length;r{"use strict";NC.__esModule=!0;function rwe(t){return t&&t.__esModule?t:{default:t}}o(rwe,"_interopRequireDefault");var nwe=wC(),swe=rwe(nwe);function ri(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}o(ri,"WhitespaceControl");ri.prototype=new swe.default;ri.prototype.Program=function(t){var e=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=t.body,s=0,i=n.length;s{"use strict";Pn.__esModule=!0;Pn.SourceLocation=awe;Pn.id=cwe;Pn.stripFlags=lwe;Pn.stripComment=Awe;Pn.preparePath=uwe;Pn.prepareMustache=dwe;Pn.prepareRawBlock=mwe;Pn.prepareBlock=pwe;Pn.prepareProgram=hwe;Pn.preparePartialBlock=fwe;function iwe(t){return t&&t.__esModule?t:{default:t}}o(iwe,"_interopRequireDefault");var owe=tn(),gD=iwe(owe);function yD(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new gD.default(t.path.original+" doesn't match "+e,r)}}o(yD,"validateClose");function awe(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(awe,"SourceLocation");function cwe(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}o(cwe,"id");function lwe(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}o(lwe,"stripFlags");function Awe(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}o(Awe,"stripComment");function uwe(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",s=[],i=0,a=0,c=e.length;a0)throw new gD.default("Invalid path: "+n,{loc:r});l===".."&&i++}else s.push(l)}return{type:"PathExpression",data:t,depth:i,parts:s,original:n,loc:r}}o(uwe,"preparePath");function dwe(t,e,r,n,s,i){var a=n.charAt(3)||n.charAt(2),c=a!=="{"&&a!=="&",l=/\*/.test(n);return{type:l?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:c,strip:s,loc:this.locInfo(i)}}o(dwe,"prepareMustache");function mwe(t,e,r,n){yD(t,r),n=this.locInfo(n);var s={type:"Program",body:e,strip:{},loc:n};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:s,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}}o(mwe,"prepareRawBlock");function pwe(t,e,r,n,s,i){n&&n.path&&yD(t,n);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,l=void 0;if(r){if(a)throw new gD.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),l=r.strip,c=r.program}return s&&(s=c,c=e,e=s),{type:a?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:c,openStrip:t.strip,inverseStrip:l,closeStrip:n&&n.strip,loc:this.locInfo(i)}}o(pwe,"prepareBlock");function hwe(t,e){if(!e&&t.length){var r=t[0].loc,n=t[t.length-1].loc;r&&n&&(e={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:t,strip:{},loc:e}}o(hwe,"prepareProgram");function fwe(t,e,r,n){return yD(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(n)}}o(fwe,"preparePartialBlock")});var T$=g(Dm=>{"use strict";Dm.__esModule=!0;Dm.parseWithoutProcessing=k$;Dm.parse=bwe;function gwe(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(gwe,"_interopRequireWildcard");function ID(t){return t&&t.__esModule?t:{default:t}}o(ID,"_interopRequireDefault");var ywe=w$(),ED=ID(ywe),Ewe=v$(),Cwe=ID(Ewe),Iwe=D$(),Bwe=gwe(Iwe),Qwe=tn(),vm=ID(Qwe),xwe=or();Dm.parser=ED.default;var SC={};xwe.extend(SC,Bwe);function k$(t,e){if(t.type==="Program")return wwe(t),t;ED.default.yy=SC,SC.locInfo=function(n){return new SC.SourceLocation(e&&e.srcName,n)};var r=ED.default.parse(t);return r}o(k$,"parseWithoutProcessing");function bwe(t,e){var r=k$(t,e),n=new Cwe.default(e);return n.accept(r)}o(bwe,"parse");function wwe(t){CD(t)}o(wwe,"validateInputAst");function CD(t){if(t!=null){if(Array.isArray(t)){t.forEach(CD);return}if(typeof t=="object"){if(t.type==="PathExpression"){if(!Nwe(t.depth))throw new vm.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(t.parts))throw new vm.default("Invalid AST: PathExpression.parts must be an array");for(var e=0;e=0}o(Nwe,"isValidDepth")});var F$=g(Lm=>{"use strict";Lm.__esModule=!0;Lm.Compiler=BD;Lm.precompile=vwe;Lm.compile=Dwe;function L$(t){return t&&t.__esModule?t:{default:t}}o(L$,"_interopRequireDefault");var Swe=tn(),Tm=L$(Swe),Mm=or(),Rwe=mD(),km=L$(Rwe),Pwe=[].slice;function BD(){}o(BD,"Compiler");BD.prototype={compiler:BD,equals:o(function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var n=0;n1)throw new Tm.default("Unsupported number of partial arguments: "+n.length,e);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var s=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,s,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){M$(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,n){var s=e.path,i=s.parts[0],a=r!=null||n!=null;this.opcode("getContext",s.depth),this.opcode("pushProgram",r),this.opcode("pushProgram",n),s.strict=!0,this.accept(s),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,n){var s=this.setupFullMustacheParams(e,r,n),i=e.path,a=i.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",s.length,a);else{if(this.options.knownHelpersOnly)throw new Tm.default("You specified knownHelpersOnly, but used the unknown helper "+a,e);i.strict=!0,i.falsy=!0,this.accept(i),this.opcode("invokeHelper",s.length,i.original,km.default.helpers.simpleId(i))}},"helperSexpr"),PathExpression:o(function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],n=km.default.helpers.scopedId(e),s=!e.depth&&!n&&this.blockParamIndex(r);s?this.opcode("lookupBlockParam",s,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,n):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,n=0,s=r.length;for(this.opcode("pushHash");n=0)return[r,i]}},"blockParamIndex")};function vwe(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new Tm.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 n=r.parse(t,e),s=new r.Compiler().compile(n,e);return new r.JavaScriptCompiler().compile(s,e)}o(vwe,"precompile");function Dwe(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new Tm.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=Mm.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=void 0;function s(){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(s,"compileInput");function i(a,c){return n||(n=s()),n.call(this,a,c)}return o(i,"ret"),i._setup=function(a){return n||(n=s()),n._setup(a)},i._child=function(a,c,l,A){return n||(n=s()),n._child(a,c,l,A)},i}o(Dwe,"compile");function _$(t,e){if(t===e)return!0;if(Mm.isArray(t)&&Mm.isArray(e)&&t.length===e.length){for(var r=0;r{var U$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");QD.encode=function(t){if(0<=t&&t{var q$=O$(),xD=5,H$=1<>1;return e?-r:r}o(Twe,"fromVLQSigned");bD.encode=o(function(e){var r="",n,s=kwe(e);do n=s&z$,s>>>=xD,s>0&&(n|=G$),r+=q$.encode(n);while(s>0);return r},"base64VLQ_encode");bD.decode=o(function(e,r,n){var s=e.length,i=0,a=0,c,l;do{if(r>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(l=q$.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));c=!!(l&G$),l&=z$,i=i+(l<{function Mwe(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(Mwe,"getArg");Gt.getArg=Mwe;var Y$=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Lwe=/^data:.+\,.+$/;function _m(t){var e=t.match(Y$);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}o(_m,"urlParse");Gt.urlParse=_m;function fA(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(fA,"urlGenerate");Gt.urlGenerate=fA;function ND(t){var e=t,r=_m(t);if(r){if(!r.path)return t;e=r.path}for(var n=Gt.isAbsolute(e),s=e.split(/\/+/),i,a=0,c=s.length-1;c>=0;c--)i=s[c],i==="."?s.splice(c,1):i===".."?a++:a>0&&(i===""?(s.splice(c+1,a),a=0):(s.splice(c,2),a--));return e=s.join("/"),e===""&&(e=n?"/":"."),r?(r.path=e,fA(r)):e}o(ND,"normalize");Gt.normalize=ND;function V$(t,e){t===""&&(t="."),e===""&&(e=".");var r=_m(e),n=_m(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),fA(r);if(r||e.match(Lwe))return e;if(n&&!n.host&&!n.path)return n.host=e,fA(n);var s=e.charAt(0)==="/"?e:ND(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=s,fA(n)):s}o(V$,"join");Gt.join=V$;Gt.isAbsolute=function(t){return t.charAt(0)==="/"||Y$.test(t)};function _we(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var n=t.lastIndexOf("/");if(n<0||(t=t.slice(0,n),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}o(_we,"relative");Gt.relative=_we;var J$=(function(){var t=Object.create(null);return!("__proto__"in t)})();function W$(t){return t}o(W$,"identity");function Fwe(t){return $$(t)?"$"+t:t}o(Fwe,"toSetString");Gt.toSetString=J$?W$:Fwe;function Uwe(t){return $$(t)?t.slice(1):t}o(Uwe,"fromSetString");Gt.fromSetString=J$?W$:Uwe;function $$(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($$,"isProtoString");function Owe(t,e,r){var n=gA(t.source,e.source);return n!==0||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0||r)||(n=t.generatedColumn-e.generatedColumn,n!==0)||(n=t.generatedLine-e.generatedLine,n!==0)?n:gA(t.name,e.name)}o(Owe,"compareByOriginalPositions");Gt.compareByOriginalPositions=Owe;function qwe(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=gA(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:gA(t.name,e.name)}o(qwe,"compareByGeneratedPositionsDeflated");Gt.compareByGeneratedPositionsDeflated=qwe;function gA(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}o(gA,"strcmp");function Hwe(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=gA(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:gA(t.name,e.name)}o(Hwe,"compareByGeneratedPositionsInflated");Gt.compareByGeneratedPositionsInflated=Hwe;function zwe(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}o(zwe,"parseSourceMapInput");Gt.parseSourceMapInput=zwe;function Gwe(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=_m(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var s=n.path.lastIndexOf("/");s>=0&&(n.path=n.path.substring(0,s+1))}e=V$(fA(n),e)}return ND(e)}o(Gwe,"computeSourceURL");Gt.computeSourceURL=Gwe});var PD=g(j$=>{var SD=yA(),RD=Object.prototype.hasOwnProperty,sc=typeof Map<"u";function Hi(){this._array=[],this._set=sc?new Map:Object.create(null)}o(Hi,"ArraySet");Hi.fromArray=o(function(e,r){for(var n=new Hi,s=0,i=e.length;s=0)return r}else{var n=SD.toSetString(e);if(RD.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},"ArraySet_indexOf");Hi.prototype.at=o(function(e){if(e>=0&&e{var K$=yA();function Ywe(t,e){var r=t.generatedLine,n=e.generatedLine,s=t.generatedColumn,i=e.generatedColumn;return n>r||n==r&&i>=s||K$.compareByGeneratedPositionsInflated(t,e)<=0}o(Ywe,"generatedPositionAfter");function RC(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o(RC,"MappingList");RC.prototype.unsortedForEach=o(function(e,r){this._array.forEach(e,r)},"MappingList_forEach");RC.prototype.add=o(function(e){Ywe(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},"MappingList_add");RC.prototype.toArray=o(function(){return this._sorted||(this._array.sort(K$.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},"MappingList_toArray");X$.MappingList=RC});var vD=g(e5=>{var Fm=wD(),gt=yA(),PC=PD().ArraySet,Vwe=Z$().MappingList;function vn(t){t||(t={}),this._file=gt.getArg(t,"file",null),this._sourceRoot=gt.getArg(t,"sourceRoot",null),this._skipValidation=gt.getArg(t,"skipValidation",!1),this._sources=new PC,this._names=new PC,this._mappings=new Vwe,this._sourcesContents=null}o(vn,"SourceMapGenerator");vn.prototype._version=3;vn.fromSourceMap=o(function(e){var r=e.sourceRoot,n=new vn({file:e.file,sourceRoot:r});return e.eachMapping(function(s){var i={generated:{line:s.generatedLine,column:s.generatedColumn}};s.source!=null&&(i.source=s.source,r!=null&&(i.source=gt.relative(r,i.source)),i.original={line:s.originalLine,column:s.originalColumn},s.name!=null&&(i.name=s.name)),n.addMapping(i)}),e.sources.forEach(function(s){var i=s;r!==null&&(i=gt.relative(r,s)),n._sources.has(i)||n._sources.add(i);var a=e.sourceContentFor(s);a!=null&&n.setSourceContent(s,a)}),n},"SourceMapGenerator_fromSourceMap");vn.prototype.addMapping=o(function(e){var r=gt.getArg(e,"generated"),n=gt.getArg(e,"original",null),s=gt.getArg(e,"source",null),i=gt.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,n,s,i),s!=null&&(s=String(s),this._sources.has(s)||this._sources.add(s)),i!=null&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:s,name:i})},"SourceMapGenerator_addMapping");vn.prototype.setSourceContent=o(function(e,r){var n=e;this._sourceRoot!=null&&(n=gt.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[gt.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[gt.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},"SourceMapGenerator_setSourceContent");vn.prototype.applySourceMap=o(function(e,r,n){var s=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.`);s=e.file}var i=this._sourceRoot;i!=null&&(s=gt.relative(i,s));var a=new PC,c=new PC;this._mappings.unsortedForEach(function(l){if(l.source===s&&l.originalLine!=null){var A=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});A.source!=null&&(l.source=A.source,n!=null&&(l.source=gt.join(n,l.source)),i!=null&&(l.source=gt.relative(i,l.source)),l.originalLine=A.line,l.originalColumn=A.column,A.name!=null&&(l.name=A.name))}var u=l.source;u!=null&&!a.has(u)&&a.add(u);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 A=e.sourceContentFor(l);A!=null&&(n!=null&&(l=gt.join(n,l)),i!=null&&(l=gt.relative(i,l)),this.setSourceContent(l,A))},this)},"SourceMapGenerator_applySourceMap");vn.prototype._validateMapping=o(function(e,r,n,s){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&&!n&&!s)){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&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:r,name:s}))}},"SourceMapGenerator_validateMapping");vn.prototype._serializeMappings=o(function(){for(var e=0,r=1,n=0,s=0,i=0,a=0,c="",l,A,u,d,m=this._mappings.toArray(),p=0,h=m.length;p0){if(!gt.compareByGeneratedPositionsInflated(A,m[p-1]))continue;l+=","}l+=Fm.encode(A.generatedColumn-e),e=A.generatedColumn,A.source!=null&&(d=this._sources.indexOf(A.source),l+=Fm.encode(d-a),a=d,l+=Fm.encode(A.originalLine-1-s),s=A.originalLine-1,l+=Fm.encode(A.originalColumn-n),n=A.originalColumn,A.name!=null&&(u=this._names.indexOf(A.name),l+=Fm.encode(u-i),i=u)),c+=l}return c},"SourceMapGenerator_serializeMappings");vn.prototype._generateSourcesContent=o(function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=gt.relative(r,n));var s=gt.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null},this)},"SourceMapGenerator_generateSourcesContent");vn.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");vn.prototype.toString=o(function(){return JSON.stringify(this.toJSON())},"SourceMapGenerator_toString");e5.SourceMapGenerator=vn});var t5=g(ic=>{ic.GREATEST_LOWER_BOUND=1;ic.LEAST_UPPER_BOUND=2;function DD(t,e,r,n,s,i){var a=Math.floor((e-t)/2)+t,c=s(r,n[a],!0);return c===0?a:c>0?e-a>1?DD(a,e,r,n,s,i):i==ic.LEAST_UPPER_BOUND?e1?DD(t,a,r,n,s,i):i==ic.LEAST_UPPER_BOUND?a:t<0?-1:t}o(DD,"recursiveSearch");ic.search=o(function(e,r,n,s){if(r.length===0)return-1;var i=DD(-1,r.length,e,r,n,s||ic.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&n(r[i],r[i-1],!0)===0;)--i;return i},"search")});var n5=g(r5=>{function kD(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}o(kD,"swap");function Jwe(t,e){return Math.round(t+Math.random()*(e-t))}o(Jwe,"randomIntInRange");function TD(t,e,r,n){if(r{var O=yA(),MD=t5(),EA=PD().ArraySet,Wwe=wD(),Um=n5().quickSort;function Ue(t,e){var r=t;return typeof t=="string"&&(r=O.parseSourceMapInput(t)),r.sections!=null?new es(r,e):new Lt(r,e)}o(Ue,"SourceMapConsumer");Ue.fromSourceMap=function(t,e){return Lt.fromSourceMap(t,e)};Ue.prototype._version=3;Ue.prototype.__generatedMappings=null;Object.defineProperty(Ue.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings},"get")});Ue.prototype.__originalMappings=null;Object.defineProperty(Ue.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings},"get")});Ue.prototype._charIsMappingSeparator=o(function(e,r){var n=e.charAt(r);return n===";"||n===","},"SourceMapConsumer_charIsMappingSeparator");Ue.prototype._parseMappings=o(function(e,r){throw new Error("Subclasses must implement _parseMappings")},"SourceMapConsumer_parseMappings");Ue.GENERATED_ORDER=1;Ue.ORIGINAL_ORDER=2;Ue.GREATEST_LOWER_BOUND=1;Ue.LEAST_UPPER_BOUND=2;Ue.prototype.eachMapping=o(function(e,r,n){var s=r||null,i=n||Ue.GENERATED_ORDER,a;switch(i){case Ue.GENERATED_ORDER:a=this._generatedMappings;break;case Ue.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var c=this.sourceRoot;a.map(function(l){var A=l.source===null?null:this._sources.at(l.source);return A=O.computeSourceURL(c,A,this._sourceMapURL),{source:A,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,s)},"SourceMapConsumer_eachMapping");Ue.prototype.allGeneratedPositionsFor=o(function(e){var r=O.getArg(e,"line"),n={source:O.getArg(e,"source"),originalLine:r,originalColumn:O.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var s=[],i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",O.compareByOriginalPositions,MD.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;)s.push({line:O.getArg(a,"generatedLine",null),column:O.getArg(a,"generatedColumn",null),lastColumn:O.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)s.push({line:O.getArg(a,"generatedLine",null),column:O.getArg(a,"generatedColumn",null),lastColumn:O.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i]}return s},"SourceMapConsumer_allGeneratedPositionsFor");vC.SourceMapConsumer=Ue;function Lt(t,e){var r=t;typeof t=="string"&&(r=O.parseSourceMapInput(t));var n=O.getArg(r,"version"),s=O.getArg(r,"sources"),i=O.getArg(r,"names",[]),a=O.getArg(r,"sourceRoot",null),c=O.getArg(r,"sourcesContent",null),l=O.getArg(r,"mappings"),A=O.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);a&&(a=O.normalize(a)),s=s.map(String).map(O.normalize).map(function(u){return a&&O.isAbsolute(a)&&O.isAbsolute(u)?O.relative(a,u):u}),this._names=EA.fromArray(i.map(String),!0),this._sources=EA.fromArray(s,!0),this._absoluteSources=this._sources.toArray().map(function(u){return O.computeSourceURL(a,u,e)}),this.sourceRoot=a,this.sourcesContent=c,this._mappings=l,this._sourceMapURL=e,this.file=A}o(Lt,"BasicSourceMapConsumer");Lt.prototype=Object.create(Ue.prototype);Lt.prototype.consumer=Ue;Lt.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=O.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r1&&(f.source=c+y[1],c+=y[1],f.originalLine=i+y[2],i=f.originalLine,f.originalLine+=1,f.originalColumn=a+y[3],a=f.originalColumn,y.length>4&&(f.name=l+y[4],l+=y[4])),h.push(f),typeof f.originalLine=="number"&&p.push(f)}Um(h,O.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,Um(p,O.compareByOriginalPositions),this.__originalMappings=p},"SourceMapConsumer_parseMappings");Lt.prototype._findMapping=o(function(e,r,n,s,i,a){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[s]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[s]);return MD.search(e,r,i,a)},"SourceMapConsumer_findMapping");Lt.prototype.computeColumnSpans=o(function(){for(var e=0;e=0){var s=this._generatedMappings[n];if(s.generatedLine===r.generatedLine){var i=O.getArg(s,"source",null);i!==null&&(i=this._sources.at(i),i=O.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var a=O.getArg(s,"name",null);return a!==null&&(a=this._names.at(a)),{source:i,line:O.getArg(s,"originalLine",null),column:O.getArg(s,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},"SourceMapConsumer_originalPositionFor");Lt.prototype.hasContentsOfAllSources=o(function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},"BasicSourceMapConsumer_hasContentsOfAllSources");Lt.prototype.sourceContentFor=o(function(e,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var s=e;this.sourceRoot!=null&&(s=O.relative(this.sourceRoot,s));var i;if(this.sourceRoot!=null&&(i=O.urlParse(this.sourceRoot))){var a=s.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("/"+s))return this.sourcesContent[this._sources.indexOf("/"+s)]}if(r)return null;throw new Error('"'+s+'" is not in the SourceMap.')},"SourceMapConsumer_sourceContentFor");Lt.prototype.generatedPositionFor=o(function(e){var r=O.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:O.getArg(e,"line"),originalColumn:O.getArg(e,"column")},s=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",O.compareByOriginalPositions,O.getArg(e,"bias",Ue.GREATEST_LOWER_BOUND));if(s>=0){var i=this._originalMappings[s];if(i.source===n.source)return{line:O.getArg(i,"generatedLine",null),column:O.getArg(i,"generatedColumn",null),lastColumn:O.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},"SourceMapConsumer_generatedPositionFor");vC.BasicSourceMapConsumer=Lt;function es(t,e){var r=t;typeof t=="string"&&(r=O.parseSourceMapInput(t));var n=O.getArg(r,"version"),s=O.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new EA,this._names=new EA;var i={line:-1,column:0};this._sections=s.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var c=O.getArg(a,"offset"),l=O.getArg(c,"line"),A=O.getArg(c,"column");if(l{var $we=vD().SourceMapGenerator,DC=yA(),jwe=/(\r?\n)/,Kwe=10,CA="$$$isSourceNode$$$";function rn(t,e,r,n,s){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=s??null,this[CA]=!0,n!=null&&this.add(n)}o(rn,"SourceNode");rn.fromStringWithSourceMap=o(function(e,r,n){var s=new rn,i=e.split(jwe),a=0,c=o(function(){var m=h(),p=h()||"";return m+p;function h(){return a=0;r--)this.prepend(e[r]);else if(e[CA]||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");rn.prototype.walk=o(function(e){for(var r,n=0,s=this.children.length;n0){for(r=[],n=0;n{kC.SourceMapGenerator=vD().SourceMapGenerator;kC.SourceMapConsumer=i5().SourceMapConsumer;kC.SourceNode=a5().SourceNode});var d5=g((TC,u5)=>{"use strict";TC.__esModule=!0;var _D=or(),oc=void 0;try{(typeof define!="function"||!define.amd)&&(l5=c5(),oc=l5.SourceNode)}catch{}var l5;oc||(oc=o(function(t,e,r,n){this.src="",n&&this.add(n)},"SourceNode"),oc.prototype={add:o(function(e){_D.isArray(e)&&(e=e.join("")),this.src+=e},"add"),prepend:o(function(e){_D.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 LD(t,e,r){if(_D.isArray(t)){for(var n=[],s=0,i=t.length;s{"use strict";MC.__esModule=!0;function h5(t){return t&&t.__esModule?t:{default:t}}o(h5,"_interopRequireDefault");var m5=hC(),Xwe=tn(),FD=h5(Xwe),Zwe=or(),e0e=d5(),p5=h5(e0e);function IA(t){this.value=t}o(IA,"Literal");function BA(){}o(BA,"JavaScriptCompiler");BA.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=m5.COMPILER_REVISION,r=m5.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,n){return Zwe.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:n?["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,n,s){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!s,this.name=this.environment.name,this.isChild=!!n,this.context=n||{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,A=void 0;for(l=0,A=i.length;l0&&(n+=", "+s.join(", "));var i=0;Object.keys(this.aliases).forEach(function(l){var A=r.aliases[l];A.children&&A.referenceCount>1&&(n+=", alias"+ ++i+"="+l,A.children[0]="alias"+i)}),this.lookupPropertyFunctionIsUsed&&(n+=", "+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(n);return e?(a.push(c),Function.apply(this,a)):this.source.wrap(["function(",a.join(","),`) { +`),this.decorators=this.decorators.merge()));var u=this.createFunctionContext(s);if(this.isChild)return u;var d={compiler:this.compilerInfo(),main:u};this.decorators&&(d.main_d=this.decorators,d.useDecorators=!0);var m=this.context,p=m.programs,h=m.decorators;for(l=0,A=p.length;l0&&(n+=", "+s.join(", "));var i=0;Object.keys(this.aliases).forEach(function(l){var A=r.aliases[l];A.children&&A.referenceCount>1&&(n+=", alias"+ ++i+"="+l,A.children[0]="alias"+i)}),this.lookupPropertyFunctionIsUsed&&(n+=", "+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(n);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,n=!this.forceBuffer,s=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 += "):s=!0,c.add(";"),a=c=void 0),i=!0,r||(n=!1))}),n?a?(a.prepend("return "),c.add(";")):i||this.source.push('return "";'):(e+=", buffer = "+(s?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),c.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(s?"":`; `)),this.source.merge()},"mergeSource"),lookupPropertyFunctionVarDeclaration:o(function(){return` lookupProperty = container.lookupProperty || function(parent, propertyName) { @@ -86,49 +86,50 @@ Expecting `+ee.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Yt="Parse error } return undefined } - `.trim()},"lookupPropertyFunctionVarDeclaration"),blockValue:o(function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var s=this.popStack();n.splice(1,0,s),this.push(this.source.functionCall(r,"call",n))},"blockValue"),ambiguousBlockValue:o(function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var n=this.topStack();r.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",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,n,s){var i=0;!s&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[i++])):this.pushContext(),this.resolvePath("context",e,i,r,n)},"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,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,n)},"lookupData"),resolvePath:o(function(e,r,n,s,i){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(Mwe(this.options.strict&&i,this,r,n,e));return}for(var c=r.length,l=o(function(u){a.replaceStack(function(d){var m=a.nameLookup(d,r[u],e);return s?[" && ",m]:[" != null ? ",m," : ",d]})},"_loop"),A=n;Athis.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,n=e.length;r{"use strict";DC.__esModule=!0;function Fm(t){return t&&t.__esModule?t:{default:t}}o(Fm,"_interopRequireDefault");var Lwe=o$(),_we=Fm(Lwe),Fwe=lD(),Uwe=Fm(Fwe),MD=y$(),LD=B$(),Owe=t5(),qwe=Fm(Owe),Hwe=BC(),zwe=Fm(Hwe),Gwe=iD(),Ywe=Fm(Gwe),Vwe=_we.default.create;function r5(){var t=Vwe();return t.compile=function(e,r){return LD.compile(e,r,t)},t.precompile=function(e,r){return LD.precompile(e,r,t)},t.AST=Uwe.default,t.Compiler=LD.Compiler,t.JavaScriptCompiler=qwe.default,t.Parser=MD.parser,t.parse=MD.parse,t.parseWithoutProcessing=MD.parseWithoutProcessing,t}o(r5,"create");var BA=r5();BA.create=r5;Ywe.default(BA);BA.Visitor=zwe.default;BA.default=BA;DC.default=BA;n5.exports=DC.default});var i5=g(kC=>{"use strict";kC.__esModule=!0;kC.print=jwe;kC.PrintVisitor=nt;function Jwe(t){return t&&t.__esModule?t:{default:t}}o(Jwe,"_interopRequireDefault");var Wwe=BC(),$we=Jwe(Wwe);function jwe(t){return new nt().accept(t)}o(jwe,"print");function nt(){this.padding=0}o(nt,"PrintVisitor");nt.prototype=new $we.default;nt.prototype.pad=function(t){for(var e="",r=0,n=this.padding;r "+e+" }}")};nt.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+" }}")};nt.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};nt.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};nt.prototype.SubExpression=function(t){for(var e=t.params,r=[],n=void 0,s=0,i=e.length;s0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let s=this.properties[n];s&&(r?r=!1:e+=",",e+=`${n}=${N5(s)}`)}}return e+=`${HD}${w5(this.message)}`,e}};function w5(t){return ri(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(w5,"escapeData");function N5(t){return ri(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(N5,"escapeProperty");var GD=Q(require("crypto"),1),Ym=Q(require("fs"),1),Gm=Q(require("os"),1);function OC(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!Ym.existsSync(r))throw new Error(`Missing file at path: ${r}`);Ym.appendFileSync(r,`${ri(e)}${Gm.EOL}`,{encoding:"utf8"})}o(OC,"issueFileCommand");function qC(t,e){let r=`ghadelimiter_${GD.randomUUID()}`,n=ri(e);if(t.includes(r))throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${t}<<${r}${Gm.EOL}${n}${Gm.EOL}${r}`}o(qC,"prepareKeyValueMessage");var Px=Q(require("os"),1);var Oh=Q(GC(),1),Hie=Q(hx(),1);var ms;(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"})(ms||(ms={}));var BU;(function(t){t.Accept="accept",t.ContentType="content-type"})(BU||(BU={}));var QU;(function(t){t.ApplicationJson="application/json"})(QU||(QU={}));var _Re=[ms.MovedPermanently,ms.ResourceMoved,ms.SeeOther,ms.TemporaryRedirect,ms.PermanentRedirect],FRe=[ms.BadGateway,ms.ServiceUnavailable,ms.GatewayTimeout];var wU=require("os"),wu=require("fs");var gx=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},{access:Gie,appendFile:Yie,writeFile:Vie}=wu.promises,bU="GITHUB_STEP_SUMMARY";var yx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return gx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[bU];if(!e)throw new Error(`Unable to find environment variable for $${bU}. Check if your runtime environment supports job summaries.`);try{yield Gie(e,wu.constants.R_OK|wu.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,n={}){let s=Object.entries(n).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${s}>${r}`:`<${e}${s}>`}write(e){return gx(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?Vie:Yie)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return gx(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(wU.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),s=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(s).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",s=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(n,s);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(s=>{let i=s.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:A,rowspan:u}=a,d=c?"th":"td",m=Object.assign(Object.assign({},A&&{colspan:A}),u&&{rowspan:u});return this.wrap(d,l,m)}).join("");return this.wrap("tr",i)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:s,height:i}=n||{},a=Object.assign(Object.assign({},s&&{width:s}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,s=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",i=this.wrap(s,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 n=Object.assign({},r&&{cite:r}),s=this.wrap("blockquote",e,n);return this.addRaw(s).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},JRe=new yx;var Sx=Q(require("os"),1);var Nx=require("string_decoder");var Su=Q(require("os"),1),wx=Q(require("events"),1),UU=Q(require("child_process"),1),OU=Q(require("path"),1);var TU=require("assert"),Ur=Q(require("path"),1);var Nu=Q(require("fs"),1),co=Q(require("path"),1);var Ex=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},{chmod:Cx,copyFile:SU,lstat:qh,mkdir:RU,open:XRe,readdir:Ix,rename:Jie,rm:PU,rmdir:ZRe,stat:Aa,symlink:vU,unlink:Bx}=Nu.promises,ps=process.platform==="win32";function DU(t){return Ex(this,void 0,void 0,function*(){let e=yield Nu.promises.readlink(t);return ps&&!e.endsWith("\\")?`${e}\\`:e})}o(DU,"readlink");var ePe=Nu.constants.O_RDONLY;function nl(t){return Ex(this,void 0,void 0,function*(){try{yield Aa(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}o(nl,"exists");function Hh(t){if(t=Wie(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return ps?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(Hh,"isRooted");function Qx(t,e){return Ex(this,void 0,void 0,function*(){let r;try{r=yield Aa(t)}catch(s){s.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${s}`)}if(r&&r.isFile()){if(ps){let s=co.extname(t).toUpperCase();if(e.some(i=>i.toUpperCase()===s))return t}else if(NU(r))return t}let n=t;for(let s of e){t=n+s,r=void 0;try{r=yield Aa(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if(ps){try{let i=co.dirname(t),a=co.basename(t).toUpperCase();for(let c of yield Ix(i))if(a===c.toUpperCase()){t=co.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(NU(r))return t}}return""})}o(Qx,"tryGetExecutablePath");function Wie(t){return t=t||"",ps?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(Wie,"normalizeSeparators");function NU(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(NU,"isUnixExecutable");var ua=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function MU(t,e){return ua(this,arguments,void 0,function*(r,n,s={}){let{force:i,recursive:a,copySourceDirectory:c}=jie(s),l=(yield nl(n))?yield Aa(n):null;if(l&&l.isFile()&&!i)return;let A=l&&l.isDirectory()&&c?Ur.join(n,Ur.basename(r)):n;if(!(yield nl(r)))throw new Error(`no such file or directory: ${r}`);if((yield Aa(r)).isDirectory())if(a)yield LU(r,A,0,i);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(Ur.relative(r,A)==="")throw new Error(`'${A}' and '${r}' are the same file`);yield _U(r,A,i)}})}o(MU,"cp");function xx(t){return ua(this,void 0,void 0,function*(){if(ps&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield PU(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(xx,"rmRF");function da(t){return ua(this,void 0,void 0,function*(){(0,TU.ok)(t,"a path argument must be provided"),yield RU(t,{recursive:!0})})}o(da,"mkdirP");function mr(t,e){return ua(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let n=yield mr(t,!1);if(!n)throw ps?new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`):new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);return n}let r=yield $ie(t);return r&&r.length>0?r[0]:""})}o(mr,"which");function $ie(t){return ua(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(ps&&process.env.PATHEXT)for(let s of process.env.PATHEXT.split(Ur.delimiter))s&&e.push(s);if(Hh(t)){let s=yield Qx(t,e);return s?[s]:[]}if(t.includes(Ur.sep))return[];let r=[];if(process.env.PATH)for(let s of process.env.PATH.split(Ur.delimiter))s&&r.push(s);let n=[];for(let s of r){let i=yield Qx(Ur.join(s,t),e);i&&n.push(i)}return n})}o($ie,"findInPath");function jie(t){let e=t.force==null?!0:t.force,r=!!t.recursive,n=t.copySourceDirectory==null?!0:!!t.copySourceDirectory;return{force:e,recursive:r,copySourceDirectory:n}}o(jie,"readCopyOptions");function LU(t,e,r,n){return ua(this,void 0,void 0,function*(){if(r>=255)return;r++,yield da(e);let s=yield Ix(t);for(let i of s){let a=`${t}/${i}`,c=`${e}/${i}`;(yield qh(a)).isDirectory()?yield LU(a,c,r,n):yield _U(a,c,n)}yield Cx(e,(yield Aa(t)).mode)})}o(LU,"cpDirRecursive");function _U(t,e,r){return ua(this,void 0,void 0,function*(){if((yield qh(t)).isSymbolicLink()){try{yield qh(e),yield Bx(e)}catch(s){s.code==="EPERM"&&(yield Cx(e,"0666"),yield Bx(e))}let n=yield DU(t);yield vU(n,e,ps?"junction":null)}else(!(yield nl(e))||r)&&(yield SU(t,e))})}o(_U,"copyFile");var qU=require("timers");var FU=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},zh=process.platform==="win32",Gh=class extends wx.EventEmitter{static{o(this,"ToolRunner")}constructor(e,r,n){if(super(),!e)throw new Error("Parameter 'toolPath' cannot be null or empty.");this.toolPath=e,this.args=r||[],this.options=n||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,r){let n=this._getSpawnFileName(),s=this._getSpawnArgs(e),i=r?"":"[command]";if(zh)if(this._isCmdFile()){i+=n;for(let a of s)i+=` ${a}`}else if(e.windowsVerbatimArguments){i+=`"${n}"`;for(let a of s)i+=` ${a}`}else{i+=this._windowsQuoteCmdArg(n);for(let a of s)i+=` ${this._windowsQuoteCmdArg(a)}`}else{i+=n;for(let a of s)i+=` ${a}`}return i}_processLineBuffer(e,r,n){try{let s=r+e.toString(),i=s.indexOf(Su.EOL);for(;i>-1;){let a=s.substring(0,i);n(a),s=s.substring(i+Su.EOL.length),i=s.indexOf(Su.EOL)}return s}catch(s){return this._debug(`error processing line. Failed with error ${s}`),""}}_getSpawnFileName(){return zh&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(zh&&this._isCmdFile()){let r=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(let n of this.args)r+=" ",r+=e.windowsVerbatimArguments?n:this._windowsQuoteCmdArg(n);return r+='"',[r]}return this.args}_endsWith(e,r){return e.endsWith(r)}_isCmdFile(){let e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile())return this._uvQuoteCmdArg(e);if(!e)return'""';let r=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],n=!1;for(let a of e)if(r.some(c=>c===a)){n=!0;break}if(!n)return e;let s='"',i=!0;for(let a=e.length;a>0;a--)s+=e[a-1],i&&e[a-1]==="\\"?s+="\\":e[a-1]==='"'?(i=!0,s+='"'):i=!1;return s+='"',s.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let r='"',n=!0;for(let s=e.length;s>0;s--)r+=e[s-1],n&&e[s-1]==="\\"?r+="\\":e[s-1]==='"'?(n=!0,r+="\\"):n=!1;return r+='"',r.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};let r={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return r.outStream=e.outStream||process.stdout,r.errStream=e.errStream||process.stderr,r}_getSpawnOptions(e,r){e=e||{};let n={};return n.cwd=e.cwd,n.env=e.env,n.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(n.argv0=`"${r}"`),n}exec(){return FU(this,void 0,void 0,function*(){return!Hh(this.toolPath)&&(this.toolPath.includes("/")||zh&&this.toolPath.includes("\\"))&&(this.toolPath=OU.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield mr(this.toolPath,!0),new Promise((e,r)=>FU(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(let A of this.args)this._debug(` ${A}`);let n=this._cloneExecOptions(this.options);!n.silent&&n.outStream&&n.outStream.write(this._getCommandString(n)+Su.EOL);let s=new bx(n,this.toolPath);if(s.on("debug",A=>{this._debug(A)}),this.options.cwd&&!(yield nl(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),a=UU.spawn(i,this._getSpawnArgs(n),this._getSpawnOptions(this.options,i)),c="";a.stdout&&a.stdout.on("data",A=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(A),!n.silent&&n.outStream&&n.outStream.write(A),c=this._processLineBuffer(A,c,u=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(u)})});let l="";if(a.stderr&&a.stderr.on("data",A=>{s.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(A),!n.silent&&n.errStream&&n.outStream&&(n.failOnStdErr?n.errStream:n.outStream).write(A),l=this._processLineBuffer(A,l,u=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(u)})}),a.on("error",A=>{s.processError=A.message,s.processExited=!0,s.processClosed=!0,s.CheckComplete()}),a.on("exit",A=>{s.processExitCode=A,s.processExited=!0,this._debug(`Exit code ${A} received from tool '${this.toolPath}'`),s.CheckComplete()}),a.on("close",A=>{s.processExitCode=A,s.processExited=!0,s.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),s.CheckComplete()}),s.on("done",(A,u)=>{c.length>0&&this.emit("stdline",c),l.length>0&&this.emit("errline",l),a.removeAllListeners(),A?r(A):e(u)}),this.options.input){if(!a.stdin)throw new Error("child process missing stdin");a.stdin.end(this.options.input)}}))})}};function HU(t){let e=[],r=!1,n=!1,s="";function i(a){n&&a!=='"'&&(s+="\\"),s+=a,n=!1}o(i,"append");for(let a=0;a0&&(e.push(s),s="");continue}i(c)}return s.length>0&&e.push(s.trim()),e}o(HU,"argStringToArray");var bx=class t extends wx.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,qU.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 zU=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function lo(t,e,r){return zU(this,void 0,void 0,function*(){let n=HU(t);if(n.length===0)throw new Error("Parameter 'commandLine' cannot be null or empty.");let s=n[0];return e=n.slice(1).concat(e||[]),new Gh(s,e,r).exec()})}o(lo,"exec");function Ru(t,e,r){return zU(this,void 0,void 0,function*(){var n,s;let i="",a="",c=new Nx.StringDecoder("utf8"),l=new Nx.StringDecoder("utf8"),A=(n=r?.listeners)===null||n===void 0?void 0:n.stdout,u=(s=r?.listeners)===null||s===void 0?void 0:s.stderr,d=o(f=>{a+=l.write(f),u&&u(f)},"stdErrListener"),m=o(f=>{i+=c.write(f),A&&A(f)},"stdOutListener"),p=Object.assign(Object.assign({},r?.listeners),{stdout:m,stderr:d}),h=yield lo(t,e,Object.assign(Object.assign({},r),{listeners:p}));return i+=c.end(),a+=l.end(),{exitCode:h,stdout:i,stderr:a}})}o(Ru,"getExecOutput");var oPe=Sx.default.platform(),aPe=Sx.default.arch();var Zie=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},Rx;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Rx||(Rx={}));function rl(t){zi("add-mask",{},t)}o(rl,"setSecret");function il(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(il,"getInput");function vx(t,e){let r=["true","True","TRUE"],n=["false","False","FALSE"],s=il(t,e);if(r.includes(s))return!0;if(n.includes(s))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(vx,"getBooleanInput");function GU(t,e){if(process.env.GITHUB_OUTPUT||"")return OC("OUTPUT",qC(t,e));process.stdout.write(Px.EOL),zi("set-output",{name:t},ri(e))}o(GU,"setOutput");function YU(t){process.exitCode=Rx.Failure,ol(t)}o(YU,"setFailed");function ma(){return process.env.RUNNER_DEBUG==="1"}o(ma,"isDebug");function b(t){zi("debug",{},t)}o(b,"debug");function ol(t,e={}){zi("error",_C(e),t instanceof Error?t.toString():t)}o(ol,"error");function ot(t,e={}){zi("warning",_C(e),t instanceof Error?t.toString():t)}o(ot,"warning");function he(t){process.stdout.write(t+Px.EOL)}o(he,"info");function eoe(t){UC("group",t)}o(eoe,"startGroup");function toe(){UC("endgroup")}o(toe,"endGroup");function hs(t,e){return Zie(this,void 0,void 0,function*(){eoe(t);let r;try{r=yield e()}finally{toe()}return r})}o(hs,"group");function Yh(t,e){if(process.env.GITHUB_STATE||"")return OC("STATE",qC(t,e));zi("save-state",{name:t},ri(e))}o(Yh,"saveState");function VU(t){return process.env[`STATE_${t}`]||""}o(VU,"getState");var WE=Q(require("fs"),1),_v=Q(require("os"),1),Fv=Q(require("path"),1);var WU=Q(require("os"),1);function vu(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(vu,"toCommandValue");function $U(t,e,r){let n=new Dx(t,e,r);process.stdout.write(n.toString()+WU.EOL)}o($U,"issueCommand");var JU="::",Dx=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=JU+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let s=this.properties[n];s&&(r?r=!1:e+=",",e+=`${n}=${noe(s)}`)}}return e+=`${JU}${roe(this.message)}`,e}};function roe(t){return vu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(roe,"escapeData");function noe(t){return vu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(noe,"escapeProperty");var KU=require("os"),Du=require("fs");var kx=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},{access:soe,appendFile:ioe,writeFile:ooe}=Du.promises,jU="GITHUB_STEP_SUMMARY";var Tx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return kx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[jU];if(!e)throw new Error(`Unable to find environment variable for $${jU}. Check if your runtime environment supports job summaries.`);try{yield soe(e,Du.constants.R_OK|Du.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,n={}){let s=Object.entries(n).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${s}>${r}`:`<${e}${s}>`}write(e){return kx(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?ooe:ioe)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return kx(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(KU.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),s=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(s).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",s=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(n,s);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(s=>{let i=s.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:A,rowspan:u}=a,d=c?"th":"td",m=Object.assign(Object.assign({},A&&{colspan:A}),u&&{rowspan:u});return this.wrap(d,l,m)}).join("");return this.wrap("tr",i)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:s,height:i}=n||{},a=Object.assign(Object.assign({},s&&{width:s}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,s=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",i=this.wrap(s,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 n=Object.assign({},r&&{cite:r}),s=this.wrap("blockquote",e,n);return this.addRaw(s).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},_Pe=new Tx;var Mx=Q(require("os"),1);var HPe=Mx.default.platform(),zPe=Mx.default.arch();var XU;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(XU||(XU={}));function $t(t){$U("debug",{},t)}o($t,"debug");var hr=Q(require("fs"),1);var nle=Q(tb(),1);var sf=Q(require("os"),1),Ao=Q(require("path"),1);var dn=Q(tb(),1);var zq=require("assert");var Hq=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};var jDe=process.platform==="win32",KDe=process.platform==="darwin";function rb(t,e,r,n){return Hq(this,void 0,void 0,function*(){if(r=dn.clean(r)||r,n=n||sf.arch(),$t(`Caching tool ${e} ${r} ${n}`),$t(`source dir: ${t}`),!hr.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let s=yield ole(e,r,n);for(let i of hr.readdirSync(t)){let a=Ao.join(t,i);yield MU(a,s,{recursive:!0})}return ale(e,r,n),s})}o(rb,"cacheDir");function Gq(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||sf.arch(),!Yq(e)){let s=ile(t,r);e=cle(s,e)}let n="";if(e){e=dn.clean(e)||"";let s=Ao.join(of(),t,e,r);$t(`checking cache: ${s}`),hr.existsSync(s)&&hr.existsSync(`${s}.complete`)?($t(`Found tool in cache ${t} ${e} ${r}`),n=s):$t("not found")}return n}o(Gq,"find");function ile(t,e){let r=[];e=e||sf.arch();let n=Ao.join(of(),t);if(hr.existsSync(n)){let s=hr.readdirSync(n);for(let i of s)if(Yq(i)){let a=Ao.join(n,i,e||"");hr.existsSync(a)&&hr.existsSync(`${a}.complete`)&&r.push(i)}}return r}o(ile,"findAllVersions");function ole(t,e,r){return Hq(this,void 0,void 0,function*(){let n=Ao.join(of(),t,dn.clean(e)||e,r||"");$t(`destination ${n}`);let s=`${n}.complete`;return yield xx(n),yield xx(s),yield da(n),n})}o(ole,"_createToolPath");function ale(t,e,r){let s=`${Ao.join(of(),t,dn.clean(e)||e,r||"")}.complete`;hr.writeFileSync(s,""),$t("finished caching tool")}o(ale,"_completeToolPath");function Yq(t){let e=dn.clean(t)||"";$t(`isExplicit: ${e}`);let r=dn.valid(e)!=null;return $t(`explicit? ${r}`),r}o(Yq,"isExplicitVersion");function cle(t,e){let r="";$t(`evaluating ${t.length} versions`),t=t.sort((n,s)=>dn.gt(n,s)?1:-1);for(let n=t.length-1;n>=0;n--){let s=t[n];if(dn.satisfies(s,e)){r=s;break}}return r?$t(`matched: ${r}`):$t("match not found"),r}o(cle,"evaluateVersions");function of(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,zq.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(of,"_getCacheDirectory");var Qm=Q(require("path"),1);var Jq=Q(require("os"),1);function Ou(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(Ou,"toCommandValue");function Wq(t,e,r){let n=new nb(t,e,r);process.stdout.write(n.toString()+Jq.EOL)}o(Wq,"issueCommand");var Vq="::",nb=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=Vq+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let s=this.properties[n];s&&(r?r=!1:e+=",",e+=`${n}=${ule(s)}`)}}return e+=`${Vq}${Ale(this.message)}`,e}};function Ale(t){return Ou(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Ale,"escapeData");function ule(t){return Ou(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(ule,"escapeProperty");var jq=require("os"),qu=require("fs");var sb=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},{access:dle,appendFile:mle,writeFile:ple}=qu.promises,$q="GITHUB_STEP_SUMMARY";var ib=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return sb(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[$q];if(!e)throw new Error(`Unable to find environment variable for $${$q}. Check if your runtime environment supports job summaries.`);try{yield dle(e,qu.constants.R_OK|qu.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,n={}){let s=Object.entries(n).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${s}>${r}`:`<${e}${s}>`}write(e){return sb(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?ple:mle)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return sb(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(jq.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),s=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(s).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",s=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(n,s);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(s=>{let i=s.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:A,rowspan:u}=a,d=c?"th":"td",m=Object.assign(Object.assign({},A&&{colspan:A}),u&&{rowspan:u});return this.wrap(d,l,m)}).join("");return this.wrap("tr",i)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:s,height:i}=n||{},a=Object.assign(Object.assign({},s&&{width:s}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,s=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",i=this.wrap(s,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 n=Object.assign({},r&&{cite:r}),s=this.wrap("blockquote",e,n);return this.addRaw(s).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},mke=new ib;var ob=Q(require("os"),1);var yke=ob.default.platform(),Eke=ob.default.arch();var Kq;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Kq||(Kq={}));function mn(t){Wq("debug",{},t)}o(mn,"debug");var ul=Q(require("fs"),1);function cb(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,mn(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,mn(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,mn(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,mn(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,mn(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}o(cb,"getOptions");var uf=Q(require("path"),1);var cl=Q(require("path"),1),uo=Q(require("assert"),1);var mo=process.platform==="win32";function Ei(t){if(t=yi(t),mo&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=cl.dirname(t);return mo&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=yi(e)),e}o(Ei,"dirname");function af(t,e){if((0,uo.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,uo.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),Hu(e))return e;if(mo){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,uo.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(qn(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,uo.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,uo.default)(Hu(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||mo&&t.endsWith("\\")||(t+=cl.sep),t+e}o(af,"ensureAbsoluteRoot");function Hu(t){return(0,uo.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=qn(t),mo?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}o(Hu,"hasAbsoluteRoot");function zu(t){return(0,uo.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=qn(t),mo?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(zu,"hasRoot");function qn(t){return t=t||"",mo?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(qn,"normalizeSeparators");function yi(t){return t?(t=qn(t),!t.endsWith(cl.sep)||t===cl.sep||mo&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}o(yi,"safeTrimTrailingSeparator");var Hn;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(Hn||(Hn={}));var Xq=process.platform==="win32";function Ab(t){t=t.filter(n=>!n.negate);let e={};for(let n of t){let s=Xq?n.searchPath.toUpperCase():n.searchPath;e[s]="candidate"}let r=[];for(let n of t){let s=Xq?n.searchPath.toUpperCase():n.searchPath;if(e[s]==="included")continue;let i=!1,a=s,c=Ei(a);for(;c!==a;){if(e[c]){i=!0;break}a=c,c=Ei(a)}i||(r.push(n.searchPath),e[s]="included")}return r}o(Ab,"getSearchPaths");function Zq(t,e){let r=Hn.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}o(Zq,"match");function eH(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(eH,"partialMatch");var BH=Q(require("os"),1),Al=Q(require("path"),1);var ho=Q(require("assert"),1),QH=Q(IH(),1);var ha=Q(require("path"),1);var ll=Q(require("assert"),1);var qle=process.platform==="win32",fa=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if((0,ll.default)(e,"Parameter 'itemPath' must not be empty"),e=yi(e),!zu(e))this.segments=e.split(ha.sep);else{let r=e,n=Ei(r);for(;n!==r;){let s=ha.basename(r);this.segments.unshift(s),r=n,n=Ei(r)}this.segments.unshift(r)}else{(0,ll.default)(e.length>0,"Parameter 'itemPath' must not be an empty array");for(let r=0;rt.getLiteral(A)).filter(A=>!a&&!(a=A===""));this.searchPath=new fa(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),Ci?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:Ci,nocomment:!0,noext:!0,nonegate:!0};i=Ci?i.replace(/\\/g,"/"):i,this.minimatch=new Hle(i,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=qn(e),!e.endsWith(Al.sep)&&this.isImplicitPattern===!1&&(e=`${e}${Al.sep}`)):e=yi(e),this.minimatch.match(e)?this.trailingSeparator?Hn.Directory:Hn.All:Hn.None}partialMatch(e){return e=yi(e),Ei(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Ci?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Ci?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,ho.default)(e,"pattern cannot be empty");let n=new fa(e).segments.map(s=>t.getLiteral(s));if((0,ho.default)(n.every((s,i)=>(s!=="."||i===0)&&s!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,ho.default)(!zu(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=qn(e),e==="."||e.startsWith(`.${Al.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${Al.sep}`))r=r||BH.homedir(),(0,ho.default)(r,"Unable to determine HOME directory"),(0,ho.default)(Hu(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(Ci&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let s=af("C:\\dummy-root",e.substr(0,2));e.length>2&&!s.endsWith("\\")&&(s+="\\"),e=t.globEscape(s)+e.substr(2)}else if(Ci&&(e==="\\"||e.match(/^\\[^\\]/))){let s=af("C:\\dummy-root","\\");s.endsWith("\\")||(s+="\\"),e=t.globEscape(s)+e.substr(1)}else e=af(t.globEscape(process.cwd()),e);return qn(e)}static getLiteral(e){let r="";for(let n=0;n=0){if(i.length>1)return"";if(i){r+=i,n=a;continue}}}}r+=s}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};var Ju=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};var gb=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},zle=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=t[i]&&function(a){return new Promise(function(c,l){a=t[i](a),s(c,l,a.done,a.value)})}}function s(i,a,c,l){Promise.resolve(l).then(function(A){i({value:A,done:c})},a)}},fo=function(t){return this instanceof fo?(this.v=t,this):new fo(t)},Gle=function(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),s,i=[];return s=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),s[Symbol.asyncIterator]=function(){return this},s;function a(p){return function(h){return Promise.resolve(h).then(p,d)}}function c(p,h){n[p]&&(s[p]=function(f){return new Promise(function(C,y){i.push([p,f,C,y])>1||l(p,f)})},h&&(s[p]=h(s[p])))}function l(p,h){try{A(n[p](h))}catch(f){m(i[0][3],f)}}function A(p){p.value instanceof fo?Promise.resolve(p.value.v).then(u,d):m(i[0][2],p)}function u(p){l("next",p)}function d(p){l("throw",p)}function m(p,h){p(h),i.shift(),i.length&&l(i[0][0],i[0][1])}},Yle=process.platform==="win32",Af=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=cb(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return gb(this,void 0,void 0,function*(){var e,r,n,s;let i=[];try{for(var a=!0,c=zle(this.globGenerator()),l;l=yield c.next(),e=l.done,!e;a=!0){s=l.value,a=!1;let A=s;i.push(A)}}catch(A){r={error:A}}finally{try{!a&&!e&&(n=c.return)&&(yield n.call(c))}finally{if(r)throw r.error}}return i})}globGenerator(){return Gle(this,arguments,o(function*(){let r=cb(this.options),n=[];for(let a of this.patterns)n.push(a),r.implicitDescendants&&(a.trailingSeparator||a.segments[a.segments.length-1]!=="**")&&n.push(new Vu(a.negate,!0,a.segments.concat("**")));let s=[];for(let a of Ab(n)){mn(`Search path '${a}'`);try{yield fo(ul.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}s.unshift(new Ju(a,1))}let i=[];for(;s.length;){let a=s.pop(),c=Zq(n,a.path),l=!!c||eH(n,a.path);if(!c&&!l)continue;let A=yield fo(t.stat(a,r,i));if(A&&!(r.excludeHiddenFiles&&uf.basename(a.path).match(/^\./)))if(A.isDirectory()){if(c&Hn.Directory&&r.matchDirectories)yield yield fo(a.path);else if(!l)continue;let u=a.level+1,d=(yield fo(ul.promises.readdir(a.path))).map(m=>new Ju(uf.join(a.path,m),u));s.push(...d.reverse())}else c&Hn.File&&(yield yield fo(a.path))}},"globGenerator_1"))}static create(e,r){return gb(this,void 0,void 0,function*(){let n=new t(r);Yle&&(e=e.replace(/\r\n/g,` + `.trim()},"lookupPropertyFunctionVarDeclaration"),blockValue:o(function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var s=this.popStack();n.splice(1,0,s),this.push(this.source.functionCall(r,"call",n))},"blockValue"),ambiguousBlockValue:o(function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var n=this.topStack();r.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",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,n,s){var i=0;!s&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[i++])):this.pushContext(),this.resolvePath("context",e,i,r,n)},"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,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,n)},"lookupData"),resolvePath:o(function(e,r,n,s,i){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(t0e(this.options.strict&&i,this,r,n,e));return}for(var c=r.length,l=o(function(u){a.replaceStack(function(d){var m=a.nameLookup(d,r[u],e);return s?[" && ",m]:[" != null ? ",m," : ",d]})},"_loop"),A=n;Athis.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,n=e.length;r{"use strict";LC.__esModule=!0;function Om(t){return t&&t.__esModule?t:{default:t}}o(Om,"_interopRequireDefault");var r0e=B$(),n0e=Om(r0e),s0e=mD(),i0e=Om(s0e),UD=T$(),OD=F$(),o0e=g5(),a0e=Om(o0e),c0e=wC(),l0e=Om(c0e),A0e=lD(),u0e=Om(A0e),d0e=n0e.default.create;function y5(){var t=d0e();return t.compile=function(e,r){return OD.compile(e,r,t)},t.precompile=function(e,r){return OD.precompile(e,r,t)},t.AST=i0e.default,t.Compiler=OD.Compiler,t.JavaScriptCompiler=a0e.default,t.Parser=UD.parser,t.parse=UD.parse,t.parseWithoutProcessing=UD.parseWithoutProcessing,t}o(y5,"create");var QA=y5();QA.create=y5;u0e.default(QA);QA.Visitor=l0e.default;QA.default=QA;LC.default=QA;E5.exports=LC.default});var I5=g(_C=>{"use strict";_C.__esModule=!0;_C.print=f0e;_C.PrintVisitor=nt;function m0e(t){return t&&t.__esModule?t:{default:t}}o(m0e,"_interopRequireDefault");var p0e=wC(),h0e=m0e(p0e);function f0e(t){return new nt().accept(t)}o(f0e,"print");function nt(){this.padding=0}o(nt,"PrintVisitor");nt.prototype=new h0e.default;nt.prototype.pad=function(t){for(var e="",r=0,n=this.padding;r "+e+" }}")};nt.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+" }}")};nt.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};nt.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};nt.prototype.SubExpression=function(t){for(var e=t.params,r=[],n=void 0,s=0,i=e.length;s0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let s=this.properties[n];s&&(r?r=!1:e+=",",e+=`${n}=${G5(s)}`)}}return e+=`${VD}${z5(this.message)}`,e}};function z5(t){return ni(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(z5,"escapeData");function G5(t){return ni(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(G5,"escapeProperty");var WD=Q(require("crypto"),1),Jm=Q(require("fs"),1),Vm=Q(require("os"),1);function GC(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!Jm.existsSync(r))throw new Error(`Missing file at path: ${r}`);Jm.appendFileSync(r,`${ni(e)}${Vm.EOL}`,{encoding:"utf8"})}o(GC,"issueFileCommand");function YC(t,e){let r=`ghadelimiter_${WD.randomUUID()}`,n=ni(e);if(t.includes(r))throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${t}<<${r}${Vm.EOL}${n}${Vm.EOL}${r}`}o(YC,"prepareKeyValueMessage");var Tx=Q(require("os"),1);var Hh=Q(WC(),1),ioe=Q(Ex(),1);var ps;(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"})(ps||(ps={}));var wU;(function(t){t.Accept="accept",t.ContentType="content-type"})(wU||(wU={}));var NU;(function(t){t.ApplicationJson="application/json"})(NU||(NU={}));var nPe=[ps.MovedPermanently,ps.ResourceMoved,ps.SeeOther,ps.TemporaryRedirect,ps.PermanentRedirect],sPe=[ps.BadGateway,ps.ServiceUnavailable,ps.GatewayTimeout];var PU=require("os"),Nu=require("fs");var Ix=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},{access:aoe,appendFile:coe,writeFile:loe}=Nu.promises,RU="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[RU];if(!e)throw new Error(`Unable to find environment variable for $${RU}. Check if your runtime environment supports job summaries.`);try{yield aoe(e,Nu.constants.R_OK|Nu.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,n={}){let s=Object.entries(n).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${s}>${r}`:`<${e}${s}>`}write(e){return Ix(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?loe:coe)(n,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(PU.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),s=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(s).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",s=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(n,s);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(s=>{let i=s.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:A,rowspan:u}=a,d=c?"th":"td",m=Object.assign(Object.assign({},A&&{colspan:A}),u&&{rowspan:u});return this.wrap(d,l,m)}).join("");return this.wrap("tr",i)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:s,height:i}=n||{},a=Object.assign(Object.assign({},s&&{width:s}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,s=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",i=this.wrap(s,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 n=Object.assign({},r&&{cite:r}),s=this.wrap("blockquote",e,n);return this.addRaw(s).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},mPe=new Bx;var Dx=Q(require("os"),1);var vx=require("string_decoder");var Ru=Q(require("os"),1),Px=Q(require("events"),1),zU=Q(require("child_process"),1),GU=Q(require("path"),1);var FU=require("assert"),Ur=Q(require("path"),1);var Su=Q(require("fs"),1),lo=Q(require("path"),1);var Qx=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},{chmod:xx,copyFile:DU,lstat:zh,mkdir:kU,open:yPe,readdir:bx,rename:Aoe,rm:TU,rmdir:EPe,stat:ua,symlink:MU,unlink:wx}=Su.promises,hs=process.platform==="win32";function LU(t){return Qx(this,void 0,void 0,function*(){let e=yield Su.promises.readlink(t);return hs&&!e.endsWith("\\")?`${e}\\`:e})}o(LU,"readlink");var CPe=Su.constants.O_RDONLY;function il(t){return Qx(this,void 0,void 0,function*(){try{yield ua(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}o(il,"exists");function Gh(t){if(t=uoe(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return hs?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(Gh,"isRooted");function Nx(t,e){return Qx(this,void 0,void 0,function*(){let r;try{r=yield ua(t)}catch(s){s.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${s}`)}if(r&&r.isFile()){if(hs){let s=lo.extname(t).toUpperCase();if(e.some(i=>i.toUpperCase()===s))return t}else if(vU(r))return t}let n=t;for(let s of e){t=n+s,r=void 0;try{r=yield ua(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if(hs){try{let i=lo.dirname(t),a=lo.basename(t).toUpperCase();for(let c of yield bx(i))if(a===c.toUpperCase()){t=lo.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(vU(r))return t}}return""})}o(Nx,"tryGetExecutablePath");function uoe(t){return t=t||"",hs?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(uoe,"normalizeSeparators");function vU(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(vU,"isUnixExecutable");var da=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function UU(t,e){return da(this,arguments,void 0,function*(r,n,s={}){let{force:i,recursive:a,copySourceDirectory:c}=moe(s),l=(yield il(n))?yield ua(n):null;if(l&&l.isFile()&&!i)return;let A=l&&l.isDirectory()&&c?Ur.join(n,Ur.basename(r)):n;if(!(yield il(r)))throw new Error(`no such file or directory: ${r}`);if((yield ua(r)).isDirectory())if(a)yield OU(r,A,0,i);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(Ur.relative(r,A)==="")throw new Error(`'${A}' and '${r}' are the same file`);yield qU(r,A,i)}})}o(UU,"cp");function Sx(t){return da(this,void 0,void 0,function*(){if(hs&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield TU(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(Sx,"rmRF");function ma(t){return da(this,void 0,void 0,function*(){(0,FU.ok)(t,"a path argument must be provided"),yield kU(t,{recursive:!0})})}o(ma,"mkdirP");function mr(t,e){return da(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let n=yield mr(t,!1);if(!n)throw hs?new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`):new Error(`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);return n}let r=yield doe(t);return r&&r.length>0?r[0]:""})}o(mr,"which");function doe(t){return da(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(hs&&process.env.PATHEXT)for(let s of process.env.PATHEXT.split(Ur.delimiter))s&&e.push(s);if(Gh(t)){let s=yield Nx(t,e);return s?[s]:[]}if(t.includes(Ur.sep))return[];let r=[];if(process.env.PATH)for(let s of process.env.PATH.split(Ur.delimiter))s&&r.push(s);let n=[];for(let s of r){let i=yield Nx(Ur.join(s,t),e);i&&n.push(i)}return n})}o(doe,"findInPath");function moe(t){let e=t.force==null?!0:t.force,r=!!t.recursive,n=t.copySourceDirectory==null?!0:!!t.copySourceDirectory;return{force:e,recursive:r,copySourceDirectory:n}}o(moe,"readCopyOptions");function OU(t,e,r,n){return da(this,void 0,void 0,function*(){if(r>=255)return;r++,yield ma(e);let s=yield bx(t);for(let i of s){let a=`${t}/${i}`,c=`${e}/${i}`;(yield zh(a)).isDirectory()?yield OU(a,c,r,n):yield qU(a,c,n)}yield xx(e,(yield ua(t)).mode)})}o(OU,"cpDirRecursive");function qU(t,e,r){return da(this,void 0,void 0,function*(){if((yield zh(t)).isSymbolicLink()){try{yield zh(e),yield wx(e)}catch(s){s.code==="EPERM"&&(yield xx(e,"0666"),yield wx(e))}let n=yield LU(t);yield MU(n,e,hs?"junction":null)}else(!(yield il(e))||r)&&(yield DU(t,e))})}o(qU,"copyFile");var YU=require("timers");var HU=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},Yh=process.platform==="win32",Vh=class extends Px.EventEmitter{static{o(this,"ToolRunner")}constructor(e,r,n){if(super(),!e)throw new Error("Parameter 'toolPath' cannot be null or empty.");this.toolPath=e,this.args=r||[],this.options=n||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,r){let n=this._getSpawnFileName(),s=this._getSpawnArgs(e),i=r?"":"[command]";if(Yh)if(this._isCmdFile()){i+=n;for(let a of s)i+=` ${a}`}else if(e.windowsVerbatimArguments){i+=`"${n}"`;for(let a of s)i+=` ${a}`}else{i+=this._windowsQuoteCmdArg(n);for(let a of s)i+=` ${this._windowsQuoteCmdArg(a)}`}else{i+=n;for(let a of s)i+=` ${a}`}return i}_processLineBuffer(e,r,n){try{let s=r+e.toString(),i=s.indexOf(Ru.EOL);for(;i>-1;){let a=s.substring(0,i);n(a),s=s.substring(i+Ru.EOL.length),i=s.indexOf(Ru.EOL)}return s}catch(s){return this._debug(`error processing line. Failed with error ${s}`),""}}_getSpawnFileName(){return Yh&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(Yh&&this._isCmdFile()){let r=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(let n of this.args)r+=" ",r+=e.windowsVerbatimArguments?n:this._windowsQuoteCmdArg(n);return r+='"',[r]}return this.args}_endsWith(e,r){return e.endsWith(r)}_isCmdFile(){let e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile())return this._uvQuoteCmdArg(e);if(!e)return'""';let r=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],n=!1;for(let a of e)if(r.some(c=>c===a)){n=!0;break}if(!n)return e;let s='"',i=!0;for(let a=e.length;a>0;a--)s+=e[a-1],i&&e[a-1]==="\\"?s+="\\":e[a-1]==='"'?(i=!0,s+='"'):i=!1;return s+='"',s.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let r='"',n=!0;for(let s=e.length;s>0;s--)r+=e[s-1],n&&e[s-1]==="\\"?r+="\\":e[s-1]==='"'?(n=!0,r+="\\"):n=!1;return r+='"',r.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};let r={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return r.outStream=e.outStream||process.stdout,r.errStream=e.errStream||process.stderr,r}_getSpawnOptions(e,r){e=e||{};let n={};return n.cwd=e.cwd,n.env=e.env,n.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(n.argv0=`"${r}"`),n}exec(){return HU(this,void 0,void 0,function*(){return!Gh(this.toolPath)&&(this.toolPath.includes("/")||Yh&&this.toolPath.includes("\\"))&&(this.toolPath=GU.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield mr(this.toolPath,!0),new Promise((e,r)=>HU(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(let A of this.args)this._debug(` ${A}`);let n=this._cloneExecOptions(this.options);!n.silent&&n.outStream&&n.outStream.write(this._getCommandString(n)+Ru.EOL);let s=new Rx(n,this.toolPath);if(s.on("debug",A=>{this._debug(A)}),this.options.cwd&&!(yield il(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),a=zU.spawn(i,this._getSpawnArgs(n),this._getSpawnOptions(this.options,i)),c="";a.stdout&&a.stdout.on("data",A=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(A),!n.silent&&n.outStream&&n.outStream.write(A),c=this._processLineBuffer(A,c,u=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(u)})});let l="";if(a.stderr&&a.stderr.on("data",A=>{s.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(A),!n.silent&&n.errStream&&n.outStream&&(n.failOnStdErr?n.errStream:n.outStream).write(A),l=this._processLineBuffer(A,l,u=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(u)})}),a.on("error",A=>{s.processError=A.message,s.processExited=!0,s.processClosed=!0,s.CheckComplete()}),a.on("exit",A=>{s.processExitCode=A,s.processExited=!0,this._debug(`Exit code ${A} received from tool '${this.toolPath}'`),s.CheckComplete()}),a.on("close",A=>{s.processExitCode=A,s.processExited=!0,s.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),s.CheckComplete()}),s.on("done",(A,u)=>{c.length>0&&this.emit("stdline",c),l.length>0&&this.emit("errline",l),a.removeAllListeners(),A?r(A):e(u)}),this.options.input){if(!a.stdin)throw new Error("child process missing stdin");a.stdin.end(this.options.input)}}))})}};function VU(t){let e=[],r=!1,n=!1,s="";function i(a){n&&a!=='"'&&(s+="\\"),s+=a,n=!1}o(i,"append");for(let a=0;a0&&(e.push(s),s="");continue}i(c)}return s.length>0&&e.push(s.trim()),e}o(VU,"argStringToArray");var Rx=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,YU.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 JU=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function Ao(t,e,r){return JU(this,void 0,void 0,function*(){let n=VU(t);if(n.length===0)throw new Error("Parameter 'commandLine' cannot be null or empty.");let s=n[0];return e=n.slice(1).concat(e||[]),new Vh(s,e,r).exec()})}o(Ao,"exec");function Pu(t,e,r){return JU(this,void 0,void 0,function*(){var n,s;let i="",a="",c=new vx.StringDecoder("utf8"),l=new vx.StringDecoder("utf8"),A=(n=r?.listeners)===null||n===void 0?void 0:n.stdout,u=(s=r?.listeners)===null||s===void 0?void 0:s.stderr,d=o(f=>{a+=l.write(f),u&&u(f)},"stdErrListener"),m=o(f=>{i+=c.write(f),A&&A(f)},"stdOutListener"),p=Object.assign(Object.assign({},r?.listeners),{stdout:m,stderr:d}),h=yield Ao(t,e,Object.assign(Object.assign({},r),{listeners:p}));return i+=c.end(),a+=l.end(),{exitCode:h,stdout:i,stderr:a}})}o(Pu,"getExecOutput");var wPe=Dx.default.platform(),NPe=Dx.default.arch();var foe=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},kx;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(kx||(kx={}));function sl(t){Gi("add-mask",{},t)}o(sl,"setSecret");function al(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(al,"getInput");function Mx(t,e){let r=["true","True","TRUE"],n=["false","False","FALSE"],s=al(t,e);if(r.includes(s))return!0;if(n.includes(s))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(Mx,"getBooleanInput");function WU(t,e){if(process.env.GITHUB_OUTPUT||"")return GC("OUTPUT",YC(t,e));process.stdout.write(Tx.EOL),Gi("set-output",{name:t},ni(e))}o(WU,"setOutput");function $U(t){process.exitCode=kx.Failure,cl(t)}o($U,"setFailed");function pa(){return process.env.RUNNER_DEBUG==="1"}o(pa,"isDebug");function b(t){Gi("debug",{},t)}o(b,"debug");function cl(t,e={}){Gi("error",qC(e),t instanceof Error?t.toString():t)}o(cl,"error");function ht(t,e={}){Gi("warning",qC(e),t instanceof Error?t.toString():t)}o(ht,"warning");function le(t){process.stdout.write(t+Tx.EOL)}o(le,"info");function goe(t){zC("group",t)}o(goe,"startGroup");function yoe(){zC("endgroup")}o(yoe,"endGroup");function fs(t,e){return foe(this,void 0,void 0,function*(){goe(t);let r;try{r=yield e()}finally{yoe()}return r})}o(fs,"group");function Jh(t,e){if(process.env.GITHUB_STATE||"")return GC("STATE",YC(t,e));Gi("save-state",{name:t},ni(e))}o(Jh,"saveState");function jU(t){return process.env[`STATE_${t}`]||""}o(jU,"getState");var bm=Q(require("fs"),1),qv=Q(require("os"),1),Hv=Q(require("path"),1);var XU=Q(require("os"),1);function Du(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(Du,"toCommandValue");function ZU(t,e,r){let n=new Lx(t,e,r);process.stdout.write(n.toString()+XU.EOL)}o(ZU,"issueCommand");var KU="::",Lx=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=KU+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let s=this.properties[n];s&&(r?r=!1:e+=",",e+=`${n}=${Coe(s)}`)}}return e+=`${KU}${Eoe(this.message)}`,e}};function Eoe(t){return Du(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Eoe,"escapeData");function Coe(t){return Du(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(Coe,"escapeProperty");var tO=require("os"),ku=require("fs");var _x=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},{access:Ioe,appendFile:Boe,writeFile:Qoe}=ku.promises,eO="GITHUB_STEP_SUMMARY";var Fx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return _x(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[eO];if(!e)throw new Error(`Unable to find environment variable for $${eO}. Check if your runtime environment supports job summaries.`);try{yield Ioe(e,ku.constants.R_OK|ku.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,n={}){let s=Object.entries(n).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${s}>${r}`:`<${e}${s}>`}write(e){return _x(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?Qoe:Boe)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return _x(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(tO.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),s=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(s).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",s=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(n,s);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(s=>{let i=s.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:A,rowspan:u}=a,d=c?"th":"td",m=Object.assign(Object.assign({},A&&{colspan:A}),u&&{rowspan:u});return this.wrap(d,l,m)}).join("");return this.wrap("tr",i)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:s,height:i}=n||{},a=Object.assign(Object.assign({},s&&{width:s}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,s=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",i=this.wrap(s,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 n=Object.assign({},r&&{cite:r}),s=this.wrap("blockquote",e,n);return this.addRaw(s).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},nve=new Fx;var Ux=Q(require("os"),1);var cve=Ux.default.platform(),lve=Ux.default.arch();var rO;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(rO||(rO={}));function $t(t){ZU("debug",{},t)}o($t,"debug");var hr=Q(require("fs"),1);var Cle=Q(ib(),1);var af=Q(require("os"),1),uo=Q(require("path"),1);var dn=Q(ib(),1);var Jq=require("assert");var Vq=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};var fke=process.platform==="win32",gke=process.platform==="darwin";function Wq(t,e,r,n){return Vq(this,void 0,void 0,function*(){if(r=dn.clean(r)||r,n=n||af.arch(),$t(`Caching tool ${e} ${r} ${n}`),$t(`source dir: ${t}`),!hr.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let s=yield Qle(e,r,n);for(let i of hr.readdirSync(t)){let a=uo.join(t,i);yield UU(a,s,{recursive:!0})}return xle(e,r,n),s})}o(Wq,"cacheDir");function $q(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||af.arch(),!jq(e)){let s=Ble(t,r);e=ble(s,e)}let n="";if(e){e=dn.clean(e)||"";let s=uo.join(cf(),t,e,r);$t(`checking cache: ${s}`),hr.existsSync(s)&&hr.existsSync(`${s}.complete`)?($t(`Found tool in cache ${t} ${e} ${r}`),n=s):$t("not found")}return n}o($q,"find");function Ble(t,e){let r=[];e=e||af.arch();let n=uo.join(cf(),t);if(hr.existsSync(n)){let s=hr.readdirSync(n);for(let i of s)if(jq(i)){let a=uo.join(n,i,e||"");hr.existsSync(a)&&hr.existsSync(`${a}.complete`)&&r.push(i)}}return r}o(Ble,"findAllVersions");function Qle(t,e,r){return Vq(this,void 0,void 0,function*(){let n=uo.join(cf(),t,dn.clean(e)||e,r||"");$t(`destination ${n}`);let s=`${n}.complete`;return yield Sx(n),yield Sx(s),yield ma(n),n})}o(Qle,"_createToolPath");function xle(t,e,r){let s=`${uo.join(cf(),t,dn.clean(e)||e,r||"")}.complete`;hr.writeFileSync(s,""),$t("finished caching tool")}o(xle,"_completeToolPath");function jq(t){let e=dn.clean(t)||"";$t(`isExplicit: ${e}`);let r=dn.valid(e)!=null;return $t(`explicit? ${r}`),r}o(jq,"isExplicitVersion");function ble(t,e){let r="";$t(`evaluating ${t.length} versions`),t=t.sort((n,s)=>dn.gt(n,s)?1:-1);for(let n=t.length-1;n>=0;n--){let s=t[n];if(dn.satisfies(s,e)){r=s;break}}return r?$t(`matched: ${r}`):$t("match not found"),r}o(ble,"evaluateVersions");function cf(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,Jq.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(cf,"_getCacheDirectory");var xm=Q(require("path"),1);var Xq=Q(require("os"),1);function qu(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(qu,"toCommandValue");function Zq(t,e,r){let n=new ob(t,e,r);process.stdout.write(n.toString()+Xq.EOL)}o(Zq,"issueCommand");var Kq="::",ob=class{static{o(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=Kq+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let s=this.properties[n];s&&(r?r=!1:e+=",",e+=`${n}=${Sle(s)}`)}}return e+=`${Kq}${Nle(this.message)}`,e}};function Nle(t){return qu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Nle,"escapeData");function Sle(t){return qu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(Sle,"escapeProperty");var tH=require("os"),Hu=require("fs");var ab=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},{access:Rle,appendFile:Ple,writeFile:vle}=Hu.promises,eH="GITHUB_STEP_SUMMARY";var cb=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return ab(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[eH];if(!e)throw new Error(`Unable to find environment variable for $${eH}. Check if your runtime environment supports job summaries.`);try{yield Rle(e,Hu.constants.R_OK|Hu.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,n={}){let s=Object.entries(n).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${s}>${r}`:`<${e}${s}>`}write(e){return ab(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?vle:Ple)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return ab(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(tH.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),s=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(s).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",s=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(n,s);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(s=>{let i=s.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:A,rowspan:u}=a,d=c?"th":"td",m=Object.assign(Object.assign({},A&&{colspan:A}),u&&{rowspan:u});return this.wrap(d,l,m)}).join("");return this.wrap("tr",i)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:s,height:i}=n||{},a=Object.assign(Object.assign({},s&&{width:s}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,s=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",i=this.wrap(s,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 n=Object.assign({},r&&{cite:r}),s=this.wrap("blockquote",e,n);return this.addRaw(s).addEOL()}addLink(e,r){let n=this.wrap("a",e,{href:r});return this.addRaw(n).addEOL()}},kke=new cb;var lb=Q(require("os"),1);var Fke=lb.default.platform(),Uke=lb.default.arch();var rH;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(rH||(rH={}));function mn(t){Zq("debug",{},t)}o(mn,"debug");var ml=Q(require("fs"),1);function ub(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,mn(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,mn(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,mn(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,mn(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,mn(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}o(ub,"getOptions");var mf=Q(require("path"),1);var Al=Q(require("path"),1),mo=Q(require("assert"),1);var po=process.platform==="win32";function Ci(t){if(t=Ei(t),po&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=Al.dirname(t);return po&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=Ei(e)),e}o(Ci,"dirname");function lf(t,e){if((0,mo.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,mo.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),zu(e))return e;if(po){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,mo.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(Hn(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,mo.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,mo.default)(zu(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||po&&t.endsWith("\\")||(t+=Al.sep),t+e}o(lf,"ensureAbsoluteRoot");function zu(t){return(0,mo.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=Hn(t),po?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}o(zu,"hasAbsoluteRoot");function Gu(t){return(0,mo.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=Hn(t),po?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(Gu,"hasRoot");function Hn(t){return t=t||"",po?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(Hn,"normalizeSeparators");function Ei(t){return t?(t=Hn(t),!t.endsWith(Al.sep)||t===Al.sep||po&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}o(Ei,"safeTrimTrailingSeparator");var zn;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(zn||(zn={}));var nH=process.platform==="win32";function mb(t){t=t.filter(n=>!n.negate);let e={};for(let n of t){let s=nH?n.searchPath.toUpperCase():n.searchPath;e[s]="candidate"}let r=[];for(let n of t){let s=nH?n.searchPath.toUpperCase():n.searchPath;if(e[s]==="included")continue;let i=!1,a=s,c=Ci(a);for(;c!==a;){if(e[c]){i=!0;break}a=c,c=Ci(a)}i||(r.push(n.searchPath),e[s]="included")}return r}o(mb,"getSearchPaths");function sH(t,e){let r=zn.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}o(sH,"match");function iH(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(iH,"partialMatch");var NH=Q(require("os"),1),dl=Q(require("path"),1);var fo=Q(require("assert"),1),SH=Q(wH(),1);var fa=Q(require("path"),1);var ul=Q(require("assert"),1);var sAe=process.platform==="win32",ga=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if((0,ul.default)(e,"Parameter 'itemPath' must not be empty"),e=Ei(e),!Gu(e))this.segments=e.split(fa.sep);else{let r=e,n=Ci(r);for(;n!==r;){let s=fa.basename(r);this.segments.unshift(s),r=n,n=Ci(r)}this.segments.unshift(r)}else{(0,ul.default)(e.length>0,"Parameter 'itemPath' must not be an empty array");for(let r=0;rt.getLiteral(A)).filter(A=>!a&&!(a=A===""));this.searchPath=new ga(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),Ii?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:Ii,nocomment:!0,noext:!0,nonegate:!0};i=Ii?i.replace(/\\/g,"/"):i,this.minimatch=new iAe(i,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=Hn(e),!e.endsWith(dl.sep)&&this.isImplicitPattern===!1&&(e=`${e}${dl.sep}`)):e=Ei(e),this.minimatch.match(e)?this.trailingSeparator?zn.Directory:zn.All:zn.None}partialMatch(e){return e=Ei(e),Ci(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(Ii?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(Ii?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,fo.default)(e,"pattern cannot be empty");let n=new ga(e).segments.map(s=>t.getLiteral(s));if((0,fo.default)(n.every((s,i)=>(s!=="."||i===0)&&s!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,fo.default)(!Gu(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=Hn(e),e==="."||e.startsWith(`.${dl.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${dl.sep}`))r=r||NH.homedir(),(0,fo.default)(r,"Unable to determine HOME directory"),(0,fo.default)(zu(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(Ii&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let s=lf("C:\\dummy-root",e.substr(0,2));e.length>2&&!s.endsWith("\\")&&(s+="\\"),e=t.globEscape(s)+e.substr(2)}else if(Ii&&(e==="\\"||e.match(/^\\[^\\]/))){let s=lf("C:\\dummy-root","\\");s.endsWith("\\")||(s+="\\"),e=t.globEscape(s)+e.substr(1)}else e=lf(t.globEscape(process.cwd()),e);return Hn(e)}static getLiteral(e){let r="";for(let n=0;n=0){if(i.length>1)return"";if(i){r+=i,n=a;continue}}}}r+=s}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};var Wu=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};var Cb=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},oAe=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=t[i]&&function(a){return new Promise(function(c,l){a=t[i](a),s(c,l,a.done,a.value)})}}function s(i,a,c,l){Promise.resolve(l).then(function(A){i({value:A,done:c})},a)}},go=function(t){return this instanceof go?(this.v=t,this):new go(t)},aAe=function(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),s,i=[];return s=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",a),s[Symbol.asyncIterator]=function(){return this},s;function a(p){return function(h){return Promise.resolve(h).then(p,d)}}function c(p,h){n[p]&&(s[p]=function(f){return new Promise(function(C,y){i.push([p,f,C,y])>1||l(p,f)})},h&&(s[p]=h(s[p])))}function l(p,h){try{A(n[p](h))}catch(f){m(i[0][3],f)}}function A(p){p.value instanceof go?Promise.resolve(p.value.v).then(u,d):m(i[0][2],p)}function u(p){l("next",p)}function d(p){l("throw",p)}function m(p,h){p(h),i.shift(),i.length&&l(i[0][0],i[0][1])}},cAe=process.platform==="win32",df=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=ub(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return Cb(this,void 0,void 0,function*(){var e,r,n,s;let i=[];try{for(var a=!0,c=oAe(this.globGenerator()),l;l=yield c.next(),e=l.done,!e;a=!0){s=l.value,a=!1;let A=s;i.push(A)}}catch(A){r={error:A}}finally{try{!a&&!e&&(n=c.return)&&(yield n.call(c))}finally{if(r)throw r.error}}return i})}globGenerator(){return aAe(this,arguments,o(function*(){let r=ub(this.options),n=[];for(let a of this.patterns)n.push(a),r.implicitDescendants&&(a.trailingSeparator||a.segments[a.segments.length-1]!=="**")&&n.push(new Ju(a.negate,!0,a.segments.concat("**")));let s=[];for(let a of mb(n)){mn(`Search path '${a}'`);try{yield go(ml.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}s.unshift(new Wu(a,1))}let i=[];for(;s.length;){let a=s.pop(),c=sH(n,a.path),l=!!c||iH(n,a.path);if(!c&&!l)continue;let A=yield go(t.stat(a,r,i));if(A&&!(r.excludeHiddenFiles&&mf.basename(a.path).match(/^\./)))if(A.isDirectory()){if(c&zn.Directory&&r.matchDirectories)yield yield go(a.path);else if(!l)continue;let u=a.level+1,d=(yield go(ml.promises.readdir(a.path))).map(m=>new Wu(mf.join(a.path,m),u));s.push(...d.reverse())}else c&zn.File&&(yield yield go(a.path))}},"globGenerator_1"))}static create(e,r){return Cb(this,void 0,void 0,function*(){let n=new t(r);cAe&&(e=e.replace(/\r\n/g,` `),e=e.replace(/\r/g,` `));let s=e.split(` -`).map(i=>i.trim());for(let i of s)!i||i.startsWith("#")||n.patterns.push(new Vu(i));return n.searchPaths.push(...Ab(n.patterns)),n})}static stat(e,r,n){return gb(this,void 0,void 0,function*(){let s;if(r.followSymbolicLinks)try{s=yield ul.promises.stat(e.path)}catch(i){if(i.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){mn(`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 s=yield ul.promises.lstat(e.path);if(s.isDirectory()&&r.followSymbolicLinks){let i=yield ul.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(a=>a===i)){mn(`Symlink cycle detected for path '${e.path}' and realpath '${i}'`);return}n.push(i)}return s})}};var Vle=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function xH(t,e){return Vle(this,void 0,void 0,function*(){return yield Af.create(t,e)})}o(xH,"create");var wf=Q(require("crypto"),1),pl=Q(require("fs"),1),ya=Q(require("path"),1),hG=Q(mG(),1),fG=Q(require("util"),1);var td;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(td||(td={}));var er;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(er||(er={}));var qr;(function(t){t.GNU="gnu",t.BSD="bsd"})(qr||(qr={}));var xf=2,bf=5e3,_b=5e3,Fb=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,pG=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,rd="cache.tar",Ub="manifest.txt",$Me=10*Math.pow(1024,3);var ml=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},zde=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=t[i]&&function(a){return new Promise(function(c,l){a=t[i](a),s(c,l,a.done,a.value)})}}function s(i,a,c,l){Promise.resolve(l).then(function(A){i({value:A,done:c})},a)}},Gde="1.0";function nd(){return ml(this,void 0,void 0,function*(){let t=process.platform==="win32",e=process.env.RUNNER_TEMP||"";if(!e){let n;t?n=process.env.USERPROFILE||"C:\\":process.platform==="darwin"?n="/Users":n="/home",e=ya.join(n,"actions","temp")}let r=ya.join(e,wf.randomUUID());return yield da(r),r})}o(nd,"createTempDirectory");function ys(t){return pl.statSync(t).size}o(ys,"getArchiveFileSizeInBytes");function Ob(t){return ml(this,void 0,void 0,function*(){var e,r,n,s,i;let a=[],c=(i=process.env.GITHUB_WORKSPACE)!==null&&i!==void 0?i:process.cwd(),l=yield xH(t.join(` -`),{implicitDescendants:!1});try{for(var A=!0,u=zde(l.globGenerator()),d;d=yield u.next(),e=d.done,!e;A=!0){s=d.value,A=!1;let p=ya.relative(c,s).replace(new RegExp(`\\${ya.sep}`,"g"),"/");b(`Matched: ${p}`),p===""?a.push("."):a.push(`${p}`)}}catch(m){r={error:m}}finally{try{!A&&!e&&(n=u.return)&&(yield n.call(u))}finally{if(r)throw r.error}}return a})}o(Ob,"resolvePaths");function sd(t){return ml(this,void 0,void 0,function*(){return fG.promisify(pl.unlink)(t)})}o(sd,"unlinkFile");function gG(t){return ml(this,arguments,void 0,function*(e,r=[]){let n="";r.push("--version"),b(`Checking ${e} ${r.join(" ")}`);try{yield lo(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(s=>n+=s.toString(),"stdout"),stderr:o(s=>n+=s.toString(),"stderr")}})}catch(s){b(s.message)}return n=n.trim(),b(n),n})}o(gG,"getVersion");function id(){return ml(this,void 0,void 0,function*(){let t=yield gG("zstd",["--quiet"]),e=hG.clean(t);return b(`zstd version: ${e}`),t===""?er.Gzip:er.ZstdWithoutLong})}o(id,"getCompressionMethod");function go(t){return t===er.Gzip?td.Gzip:td.Zstd}o(go,"getCacheFileName");function yG(){return ml(this,void 0,void 0,function*(){return pl.existsSync(Fb)?Fb:(yield gG("tar")).toLowerCase().includes("gnu tar")?mr("tar"):""})}o(yG,"getGnuTarPathOnWindows");function qb(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(qb,"assertDefined");function hl(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(Gde),wf.createHash("sha256").update(n.join("|")).digest("hex")}o(hl,"getCacheVersion");function EG(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(EG,"getRuntimeToken");var ad=Q(require("http"),1),Gb=Q(require("https"),1);function Hb(t){let e=t.protocol==="https:";if(Yde(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 Sf(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new Sf(`http://${r}`)}else return}o(Hb,"getProxyUrl");function Yde(t){if(!t.hostname)return!1;let e=t.hostname;if(Vde(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let s=[t.hostname.toUpperCase()];typeof n=="number"&&s.push(`${s[0]}:${n}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||s.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(Yde,"checkBypass");function Vde(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(Vde,"isLoopbackAddress");var Sf=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 yo=Q(GC(),1),CG=Q(hx(),1);var at=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},$e;(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"})($e||($e={}));var tr;(function(t){t.Accept="accept",t.ContentType="content-type"})(tr||(tr={}));var Ii;(function(t){t.ApplicationJson="application/json"})(Ii||(Ii={}));var Wde=[$e.MovedPermanently,$e.ResourceMoved,$e.SeeOther,$e.TemporaryRedirect,$e.PermanentRedirect],$de=[$e.BadGateway,$e.ServiceUnavailable,$e.GatewayTimeout],jde=["OPTIONS","GET","DELETE","HEAD"],Kde=10,Xde=5,Es=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},zb=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return at(this,void 0,void 0,function*(){return new Promise(e=>at(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return at(this,void 0,void 0,function*(){return new Promise(e=>at(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var Bi=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return at(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return at(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return at(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return at(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return at(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return at(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return at(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,s){return at(this,void 0,void 0,function*(){return this.request(e,r,n,s)})}getJson(e){return at(this,arguments,void 0,function*(r,n={}){n[tr.Accept]=this._getExistingOrDefaultHeader(n,tr.Accept,Ii.ApplicationJson);let s=yield this.get(r,n);return this._processResponse(s,this.requestOptions)})}postJson(e,r){return at(this,arguments,void 0,function*(n,s,i={}){let a=JSON.stringify(s,null,2);i[tr.Accept]=this._getExistingOrDefaultHeader(i,tr.Accept,Ii.ApplicationJson),i[tr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Ii.ApplicationJson);let c=yield this.post(n,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return at(this,arguments,void 0,function*(n,s,i={}){let a=JSON.stringify(s,null,2);i[tr.Accept]=this._getExistingOrDefaultHeader(i,tr.Accept,Ii.ApplicationJson),i[tr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Ii.ApplicationJson);let c=yield this.put(n,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return at(this,arguments,void 0,function*(n,s,i={}){let a=JSON.stringify(s,null,2);i[tr.Accept]=this._getExistingOrDefaultHeader(i,tr.Accept,Ii.ApplicationJson),i[tr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Ii.ApplicationJson);let c=yield this.patch(n,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,n,s){return at(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,s),c=this._allowRetries&&jde.includes(e)?this._maxRetries+1:1,l=0,A;do{if(A=yield this.requestRaw(a,n),A&&A.message&&A.message.statusCode===$e.Unauthorized){let d;for(let m of this.handlers)if(m.canHandleAuthentication(A)){d=m;break}return d?d.handleAuthentication(this,a,n):A}let u=this._maxRedirects;for(;A.message.statusCode&&Wde.includes(A.message.statusCode)&&this._allowRedirects&&u>0;){let d=A.message.headers.location;if(!d)break;let m=new URL(d);if(i.protocol==="https:"&&i.protocol!==m.protocol&&!this._allowRedirectDowngrade)throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield A.readBody(),m.hostname!==i.hostname)for(let p in s)p.toLowerCase()==="authorization"&&delete s[p];a=this._prepareRequest(e,m,s),A=yield this.requestRaw(a,n),u--}if(!A.message.statusCode||!$de.includes(A.message.statusCode))return A;l+=1,l{function i(a,c){a?s(a):c?n(c):s(new Error("Unknown error"))}o(i,"callbackForResult"),this.requestRawWithCallback(e,r,i)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let s=!1;function i(l,A){s||(s=!0,n(l,A))}o(i,"handleResult");let a=e.httpModule.request(e.options,l=>{let A=new zb(l);i(void 0,A)}),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),n=Hb(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let s={};s.parsedUrl=r;let i=s.parsedUrl.protocol==="https:";s.httpModule=i?Gb:ad;let a=i?443:80;if(s.options={},s.options.host=s.parsedUrl.hostname,s.options.port=s.parsedUrl.port?parseInt(s.parsedUrl.port):a,s.options.path=(s.parsedUrl.pathname||"")+(s.parsedUrl.search||""),s.options.method=e,s.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(s.options.headers["user-agent"]=this.userAgent),s.options.agent=this._getAgent(s.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(s.options);return s}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},od(this.requestOptions.headers),od(e||{})):od(e||{})}_getExistingOrDefaultHeader(e,r,n){let s;if(this.requestOptions&&this.requestOptions.headers){let a=od(this.requestOptions.headers)[r];a&&(s=typeof a=="number"?a.toString():a)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:s!==void 0?s:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let i=od(this.requestOptions.headers)[tr.ContentType];i&&(typeof i=="number"?n=String(i):Array.isArray(i)?n=i.join(", "):n=i)}let s=e[tr.ContentType];return s!==void 0?typeof s=="number"?String(s):Array.isArray(s)?s.join(", "):s:n!==void 0?n:r}_getAgent(e){let r,n=Hb(e),s=n&&n.hostname;if(this._keepAlive&&s&&(r=this._proxyAgent),s||(r=this._agent),r)return r;let i=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||ad.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,A=n.protocol==="https:";i?l=A?yo.httpsOverHttps:yo.httpsOverHttp:l=A?yo.httpOverHttps:yo.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new Gb.Agent(c):new ad.Agent(c),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let s=e.protocol==="https:";return n=new CG.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=n,s&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let s=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${s}`}return r}_performExponentialBackoff(e){return at(this,void 0,void 0,function*(){e=Math.min(Kde,e);let r=Xde*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return at(this,void 0,void 0,function*(){return new Promise((n,s)=>at(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===$e.NotFound&&n(a);function c(u,d){if(typeof d=="string"){let m=new Date(d);if(!isNaN(m.valueOf()))return m}return d}o(c,"dateTimeDeserializer");let l,A;try{A=yield e.readBody(),A&&A.length>0&&(r&&r.deserializeDates?l=JSON.parse(A,c):l=JSON.parse(A),a.result=l),a.headers=e.message.headers}catch{}if(i>299){let u;l&&l.message?u=l.message:A&&A.length>0?u=A:u=`Failed request: (${i})`;let d=new Es(u,i);d.result=a.result,s(d)}else n(a)}))})}},od=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var Zde=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};var fl=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 Zde(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var Vl=Q(require("fs"),1),W4=require("url");var Cs=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};var IG=require("node:os"),BG=Q(require("node:util"),1),QG=Q(require("node:process"),1);function xG(t,...e){QG.default.stderr.write(`${BG.default.format(t,...e)}${IG.EOL}`)}o(xG,"log");var bG=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,NG,Yb=[],Vb=[],Rf=[];bG&&Jb(bG);var SG=Object.assign(t=>RG(t),{enable:Jb,enabled:Wb,disable:eme,log:xG});function Jb(t){NG=t,Yb=[],Vb=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?Vb.push(r.substring(1)):Yb.push(r);for(let r of Rf)r.enabled=Wb(r.namespace)}o(Jb,"enable");function Wb(t){if(t.endsWith("*"))return!0;for(let e of Vb)if(wG(t,e))return!1;for(let e of Yb)if(wG(t,e))return!0;return!1}o(Wb,"enabled");function wG(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let m=[],p="";for(let h of e)h==="*"&&p==="*"||(p=h,m.push(h));r=m.join("")}let n=0,s=0,i=r.length,a=t.length,c=-1,l=-1;for(;n=0){if(s=c+1,n=l+1,n===a)return!1;for(;t[n]!==r[s];)if(n++,n===a)return!1;l=n,n++,s++;continue}else return!1;let A=n===t.length,u=s===r.length,d=s===r.length-1&&r[s]==="*";return A&&(u||d)}o(wG,"namespaceMatches");function eme(){let t=NG||"";return Jb(""),t}o(eme,"disable");function RG(t){let e=Object.assign(r,{enabled:Wb(t),destroy:tme,log:SG.log,namespace:t,extend:rme});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),Rf.push(e),e}o(RG,"createDebugger");function tme(){let t=Rf.indexOf(this);return t>=0?(Rf.splice(t,1),!0):!1}o(tme,"destroy");function rme(t){let e=RG(`${this.namespace}:${t}`);return e.log=this.log,e}o(rme,"extend");var gl=SG;var $b=["verbose","info","warning","error"],PG={verbose:400,info:300,warning:200,error:100};function vG(t,e){e.log=(...r)=>{t.log(...r)}}o(vG,"patchLogMethod");function DG(t){return $b.includes(t)}o(DG,"isTypeSpecRuntimeLogLevel");function Pf(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,n,s=gl(t.namespace);s.log=(...u)=>{gl.log(...u)};function i(u){if(u&&!DG(u))throw new Error(`Unknown log level '${u}'. Acceptable values: ${$b.join(",")}`);n=u;let d=[];for(let m of e)a(m)&&d.push(m.namespace);gl.enable(d.join(","))}o(i,"contextSetLogLevel"),r&&(DG(r)?i(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${$b.join(", ")}.`));function a(u){return!!(n&&PG[u.level]<=PG[n])}o(a,"shouldEnable");function c(u,d){let m=Object.assign(u.extend(d),{level:d});if(vG(u,m),a(m)){let p=gl.disable();gl.enable(p+","+m.namespace)}return e.add(m),m}o(c,"createLogger");function l(){return n}o(l,"contextGetLogLevel");function A(u){let d=s.extend(u);return vG(s,d),{error:c(d,"error"),warning:c(d,"warning"),info:c(d,"info"),verbose:c(d,"verbose")}}return o(A,"contextCreateClientLogger"),{setLogLevel:i,getLogLevel:l,createClientLogger:A,logger:s}}o(Pf,"createLoggerContext");var kG=Pf({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),nme=kG.logger;function cd(t){return kG.createClientLogger(t)}o(cd,"createClientLogger");function vf(t){return t.toLowerCase()}o(vf,"normalizeName");function*sme(t){for(let e of t.values())yield[e.name,e.value]}o(sme,"headerIterator");var jb=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(vf(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(vf(e))?.value}has(e){return this._headersMap.has(vf(e))}delete(e){this._headersMap.delete(vf(e))}toJSON(e={}){let r={};if(e.preserveCase)for(let n of this._headersMap.values())r[n.name]=n.value;else for(let[n,s]of this._headersMap)r[n]=s.value;return r}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return sme(this._headersMap)}};function Hr(t){return new jb(t)}o(Hr,"createHttpHeaders");function Ea(){return crypto.randomUUID()}o(Ea,"randomUUID");var Kb=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??Hr(),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||Ea(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function Df(t){return new Kb(t)}o(Df,"createPipelineRequest");var TG=new Set(["Deserialize","Serialize","Retry","Sign"]),Xb=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&&!TG.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!TG.has(r.afterPhase))throw new Error(`Invalid afterPhase name: ${r.afterPhase}`);this._policies.push({policy:e,options:r}),this._orderedPolicies=void 0}removePolicy(e){let r=[];return this._policies=this._policies.filter(n=>e.name&&n.policy.name===e.name||e.phase&&n.options.phase===e.phase?(r.push(n.policy),!1):!0),this._orderedPolicies=void 0,r}sendRequest(e,r){return this.getOrderedPolicies().reduceRight((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 n(h){return{name:h,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}o(n,"createPhase");let s=n("Serialize"),i=n("None"),a=n("Deserialize"),c=n("Retry"),l=n("Sign"),A=[s,i,a,c,l];function u(h){return h==="Retry"?c:h==="Serialize"?s:h==="Deserialize"?a:h==="Sign"?l:i}o(u,"getPhase");for(let h of this._policies){let f=h.policy,C=h.options,y=f.name;if(r.has(y))throw new Error("Duplicate policy names not allowed in pipeline");let E={policy:f,dependsOn:new Set,dependants:new Set};C.afterPhase&&(E.afterPhase=u(C.afterPhase),E.afterPhase.hasAfterPolicies=!0),r.set(y,E),u(C.phase).policies.add(E)}for(let h of this._policies){let{policy:f,options:C}=h,y=f.name,E=r.get(y);if(!E)throw new Error(`Missing node for policy ${y}`);if(C.afterPolicies)for(let I of C.afterPolicies){let B=r.get(I);B&&(E.dependsOn.add(B),B.dependants.add(E))}if(C.beforePolicies)for(let I of C.beforePolicies){let B=r.get(I);B&&(B.dependsOn.add(E),E.dependants.add(B))}}function d(h){h.hasRun=!0;for(let f of h.policies)if(!(f.afterPhase&&(!f.afterPhase.hasRun||f.afterPhase.policies.size))&&f.dependsOn.size===0){e.push(f.policy);for(let C of f.dependants)C.dependsOn.delete(f);r.delete(f.policy.name),h.policies.delete(f)}}o(d,"walkPhase");function m(){for(let h of A){if(d(h),h.policies.size>0&&h!==i){i.hasRun||d(i);return}h.hasAfterPolicies&&d(i)}}o(m,"walkPhases");let p=0;for(;r.size>0;){p++;let h=e.length;if(m(),e.length<=h&&p>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function kf(){return Xb.create()}o(kf,"createEmptyPipeline");function yl(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(yl,"isObject");function Ca(t){if(yl(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(Ca,"isError");var MG=require("node:util"),LG=MG.inspect.custom;var Zb="REDACTED",ime=["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"],ome=["api-version"],zn=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=ime.concat(e),r=ome.concat(r),this.allowedHeaderNames=new Set(e.map(n=>n.toLowerCase())),this.allowedQueryParameters=new Set(r.map(n=>n.toLowerCase()))}sanitize(e){let r=new Set;return JSON.stringify(e,(n,s)=>{if(s instanceof Error)return{...s,name:s.name,message:s.message};if(n==="headers")return this.sanitizeHeaders(s);if(n==="url")return this.sanitizeUrl(s);if(n==="query")return this.sanitizeQuery(s);if(n==="body")return;if(n==="response")return;if(n==="operationSpec")return;if(Array.isArray(s)||yl(s)){if(r.has(s))return"[Circular]";r.add(s)}return s},2)}sanitizeUrl(e){if(typeof e!="string"||e===null||e==="")return e;let r=new URL(e);if(!r.search)return e;for(let[n]of r.searchParams)this.allowedQueryParameters.has(n.toLowerCase())||r.searchParams.set(n,Zb);return r.toString()}sanitizeHeaders(e){let r={};for(let n of Object.keys(e))this.allowedHeaderNames.has(n.toLowerCase())?r[n]=e[n]:r[n]=Zb;return r}sanitizeQuery(e){if(typeof e!="object"||e===null)return e;let r={};for(let n of Object.keys(e))this.allowedQueryParameters.has(n.toLowerCase())?r[n]=e[n]:r[n]=Zb;return r}};var ame=new zn,rr=class t extends Error{static{o(this,"RestError")}static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,r={}){super(e),this.name="RestError",this.code=r.code,this.statusCode=r.statusCode,Object.defineProperty(this,"request",{value:r.request,enumerable:!1}),Object.defineProperty(this,"response",{value:r.response,enumerable:!1});let n=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,LG,{value:o(()=>`RestError: ${this.message} - ${ame.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function Tf(t){return t instanceof rr?!0:Ca(t)&&t.name==="RestError"}o(Tf,"isRestError");function fr(t,e){return Buffer.from(t,e)}o(fr,"stringToUint8Array");var Mf=Q(require("node:http"),1),Lf=Q(require("node:https"),1),ew=Q(require("node:zlib"),1),FG=require("node:stream");var fn=cd("ts-http-runtime");var cme={};function ld(t){return t&&typeof t.pipe=="function"}o(ld,"isReadableStream");function _G(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(_G,"isStreamComplete");function UG(t){return t&&typeof t.byteLength=="number"}o(UG,"isArrayBuffer");var _f=class extends FG.Transform{static{o(this,"ReportTransform")}loadedBytes=0;progressCallback;_transform(e,r,n){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),n()}catch(s){n(s)}}constructor(e){super(),this.progressCallback=e}},tw=class{static{o(this,"NodeHttpClient")}cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,n;if(e.abortSignal){if(e.abortSignal.aborted)throw new Cs("The operation was aborted. Request has already been canceled.");n=o(A=>{A.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",n)}let s;e.timeout>0&&(s=setTimeout(()=>{let A=new zn;fn.info(`request to '${A.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 A=dme(c);A!==null&&e.headers.set("Content-Length",A)}let l;try{if(c&&e.onUploadProgress){let h=e.onUploadProgress,f=new _f(h);f.on("error",C=>{fn.error("Error in upload progress",C)}),ld(c)?c.pipe(f):f.end(c),c=f}let A=await this.makeRequest(e,r,c);s!==void 0&&clearTimeout(s);let u=lme(A),m={status:A.statusCode??0,headers:u,request:e};if(e.method==="HEAD")return A.resume(),m;l=a?Ame(A,u):A;let p=e.onDownloadProgress;if(p){let h=new _f(p);h.on("error",f=>{fn.error("Error in download progress",f)}),l.pipe(h),l=h}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(m.status)?m.readableStreamBody=l:m.bodyAsText=await ume(l),m}finally{if(e.abortSignal&&n){let A=Promise.resolve();ld(c)&&(A=_G(c));let u=Promise.resolve();ld(l)&&(u=_G(l)),Promise.all([A,u]).then(()=>{n&&e.abortSignal?.removeEventListener("abort",n)}).catch(d=>{fn.warning("Error when cleaning up abortListener on httpRequest",d)})}}}makeRequest(e,r,n){let s=new URL(e.url),i=s.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:s.hostname,path:`${s.pathname}${s.search}`,port:s.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((l,A)=>{let u=i?Mf.default.request(c,l):Lf.default.request(c,l);u.once("error",d=>{A(new rr(d.message,{code:d.code??rr.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new Cs("The operation was aborted. Rejecting from abort signal callback while making request.");u.destroy(d),A(d)}),n&&ld(n)?n.pipe(u):n?typeof n=="string"||Buffer.isBuffer(n)?u.end(n):UG(n)?u.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(fn.error("Unrecognized body type",n),A(new rr("Unrecognized body type"))):u.end()})}getOrCreateAgent(e,r){let n=e.disableKeepAlive;if(r)return n?Mf.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new Mf.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return Lf.default.globalAgent;let s=e.tlsSettings??cme,i=this.cachedHttpsAgents.get(s);return i&&i.options.keepAlive===!n||(fn.info("No cached TLS Agent exist, creating a new Agent"),i=new Lf.default.Agent({keepAlive:!n,...s}),this.cachedHttpsAgents.set(s,i)),i}}};function lme(t){let e=Hr();for(let r of Object.keys(t.headers)){let n=t.headers[r];Array.isArray(n)?n.length>0&&e.set(r,n[0]):n&&e.set(r,n)}return e}o(lme,"getResponseHeaders");function Ame(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=ew.default.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=ew.default.createInflate();return t.pipe(n),n}return t}o(Ame,"getDecodedResponseStream");function ume(t){return new Promise((e,r)=>{let n=[];t.on("data",s=>{Buffer.isBuffer(s)?n.push(s):n.push(Buffer.from(s))}),t.on("end",()=>{e(Buffer.concat(n).toString("utf8"))}),t.on("error",s=>{s&&s?.name==="AbortError"?r(s):r(new rr(`Error reading response as text: ${s.message}`,{code:rr.PARSE_ERROR}))})})}o(ume,"streamToText");function dme(t){return t?Buffer.isBuffer(t)?t.length:ld(t)?null:UG(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(dme,"getBodyLength");function OG(){return new tw}o(OG,"createNodeHttpClient");function Ff(){return OG()}o(Ff,"createDefaultHttpClient");var rw="logPolicy";function Uf(t={}){let e=t.logger??fn.info,r=new zn({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:rw,async sendRequest(n,s){if(!e.enabled)return s(n);e(`Request: ${r.sanitize(n)}`);let i=await s(n);return e(`Response status code: ${i.status}`),e(`Headers: ${r.sanitize(i.headers)}`),i}}}o(Uf,"logPolicy");var Of="redirectPolicy",qG=["GET","HEAD"];function qf(t={}){let{maxRetries:e=20}=t;return{name:Of,async sendRequest(r,n){let s=await n(r);return HG(n,s,e)}}}o(qf,"redirectPolicy");async function HG(t,e,r,n=0){let{request:s,status:i,headers:a}=e,c=a.get("location");if(c&&(i===300||i===301&&qG.includes(s.method)||i===302&&qG.includes(s.method)||i===303&&s.method==="POST"||i===307)&&n{let i,a,c=o(()=>s(new Cs(r?.abortErrorMsg?r?.abortErrorMsg:mme)),"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(),n(e)},t),r?.abortSignal&&r.abortSignal.addEventListener("abort",a)})}o(YG,"delay");function VG(t,e){let r=t.headers.get(e);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}o(VG,"parseHeaderValueAsNumber");var nw="Retry-After",pme=["retry-after-ms","x-ms-retry-after-ms",nw];function JG(t){if(t&&[429,503].includes(t.status))try{for(let s of pme){let i=VG(t,s);if(i===0||i)return i*(s===nw?1e3:1)}let e=t.headers.get(nw);if(!e)return;let n=Date.parse(e)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}o(JG,"getRetryAfterInMs");function WG(t){return Number.isFinite(JG(t))}o(WG,"isThrottlingRetryResponse");function sw(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=JG(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(sw,"throttlingRetryStrategy");var hme=1e3,fme=1e3*64;function Yf(t={}){let e=t.retryDelayInMs??hme,r=t.maxRetryDelayInMs??fme;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:s,responseError:i}){let a=yme(i),c=a&&t.ignoreSystemErrors,l=gme(s),A=l&&t.ignoreHttpStatusCodes;return s&&(WG(s)||!l)||A||c?{skipStrategy:!0}:i&&!a&&!l?{errorToThrow:i}:Gf(n,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(Yf,"exponentialRetryStrategy");function gme(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(gme,"isExponentialRetryResponse");function yme(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(yme,"isSystemError");var Eme=cd("ts-http-runtime retryPolicy"),Cme="retryPolicy";function Ba(t,e={maxRetries:3}){let r=e.logger||Eme;return{name:Cme,async sendRequest(n,s){let i,a,c=-1;e:for(;;){c+=1,i=void 0,a=void 0;try{r.info(`Retry ${c}: Attempting to send request`,n.requestId),i=await s(n),r.info(`Retry ${c}: Received a response from request`,n.requestId)}catch(l){if(r.error(`Retry ${c}: Received an error from request`,n.requestId),a=l,!l||a.name!=="RestError")throw l;i=a.response}if(n.abortSignal?.aborted)throw r.error(`Retry ${c}: Request aborted.`),new Cs;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 A=l.logger||r;A.info(`Retry ${c}: Processing retry strategy ${l.name}.`);let u=l.retry({retryCount:c,response:i,responseError:a});if(u.skipStrategy){A.info(`Retry ${c}: Skipped.`);continue t}let{errorToThrow:d,retryAfterInMs:m,redirectTo:p}=u;if(d)throw A.error(`Retry ${c}: Retry strategy ${l.name} throws error:`,d),d;if(m||m===0){A.info(`Retry ${c}: Retry strategy ${l.name} retries after ${m}`),await YG(m,void 0,{abortSignal:n.abortSignal});continue e}if(p){A.info(`Retry ${c}: Retry strategy ${l.name} redirects to ${p}`),n.url=p;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(Ba,"retryPolicy");var iw="defaultRetryPolicy";function Vf(t={}){return{name:iw,sendRequest:Ba([sw(),Yf(t)],{maxRetries:t.maxRetries??3}).sendRequest}}o(Vf,"defaultRetryPolicy");var $G=typeof window<"u"&&typeof window.document<"u",jG=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),KG=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",XG=typeof Bun<"u"&&typeof Bun.version<"u",Qa=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node;var ZG=typeof navigator<"u"&&navigator?.product==="ReactNative";var ow="formDataPolicy";function Ime(t){let e={};for(let[r,n]of t.entries())e[r]??=[],e[r].push(n);return e}o(Ime,"formDataToFormDataMap");function Jf(){return{name:ow,async sendRequest(t,e){if(Qa&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=Ime(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=Bme(t.formData):await Qme(t.formData,t),t.formData=void 0}return e(t)}}}o(Jf,"formDataPolicy");function Bme(t){let e=new URLSearchParams;for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let s of n)e.append(r,s.toString());else e.append(r,n.toString());return e.toString()}o(Bme,"wwwFormUrlEncode");async function Qme(t,e){let r=e.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;e.headers.set("Content-Type",r??"multipart/form-data");let n=[];for(let[s,i]of Object.entries(t))for(let a of Array.isArray(i)?i:[i])if(typeof a=="string")n.push({headers:Hr({"Content-Disposition":`form-data; name="${s}"`}),body:fr(a,"utf-8")});else{if(a==null||typeof a!="object")throw new Error(`Unexpected value for key ${s}: ${a}. Value should be serialized to string first.`);{let c=a.name||"blob",l=Hr();l.set("Content-Disposition",`form-data; name="${s}"; filename="${c}"`),l.set("Content-Type",a.type||"application/octet-stream"),n.push({headers:l,body:a})}}e.multipartBody={parts:n}}o(Qme,"prepareFormData");var FY=Q(xY(),1),UY=Q(TY(),1);var Dpe="HTTPS_PROXY",kpe="HTTP_PROXY",Tpe="ALL_PROXY",Mpe="NO_PROXY",mw="proxyPolicy",MY=[],OY=!1,Lpe=new Map;function ng(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(ng,"getEnvironmentValue");function qY(){if(!process)return;let t=ng(Dpe),e=ng(Tpe),r=ng(kpe);return t||e||r}o(qY,"loadEnvironmentProxyValue");function _pe(t,e,r){if(e.length===0)return!1;let n=new URL(t).hostname;if(r?.has(n))return r.get(n);let s=!1;for(let i of e)i[0]==="."?(n.endsWith(i)||n.length===i.length-1&&n===i.slice(1))&&(s=!0):n===i&&(s=!0);return r?.set(n,s),s}o(_pe,"isBypassed");function Fpe(){let t=ng(Mpe);return OY=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(Fpe,"loadNoProxy");function pw(t){if(!t&&(t=qY(),!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(pw,"getDefaultProxySettings");function Upe(){let t=qY();return t?new URL(t):void 0}o(Upe,"getDefaultProxySettingsInternal");function LY(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(LY,"getUrlFromProxySettings");function _Y(t,e,r){if(t.agent)return;let s=new URL(t.url).protocol!=="https:";t.tlsSettings&&fn.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.");let i=t.headers.toJSON();s?(e.httpProxyAgent||(e.httpProxyAgent=new UY.HttpProxyAgent(r,{headers:i})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new FY.HttpsProxyAgent(r,{headers:i})),t.agent=e.httpsProxyAgent)}o(_Y,"setProxyAgentOnRequest");function sg(t,e){OY||MY.push(...Fpe());let r=t?LY(t):Upe(),n={};return{name:mw,async sendRequest(s,i){return!s.proxySettings&&r&&!_pe(s.url,e?.customNoProxyList??MY,e?.customNoProxyList?void 0:Lpe)?_Y(s,n,r):s.proxySettings&&_Y(s,n,LY(s.proxySettings)),i(s)}}}o(sg,"proxyPolicy");var hw="agentPolicy";function ig(t){return{name:hw,sendRequest:o(async(e,r)=>(e.agent||(e.agent=t),r(e)),"sendRequest")}}o(ig,"agentPolicy");var fw="tlsPolicy";function og(t){return{name:fw,sendRequest:o(async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e)),"sendRequest")}}o(og,"tlsPolicy");function ag(t){return typeof t.stream=="function"}o(ag,"isBlob");var cg=require("stream");async function*HY(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(HY,"streamAsyncIterator");function Ope(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=HY.bind(t)),t.values||(t.values=HY.bind(t))}o(Ope,"makeAsyncIterable");function zY(t){return t instanceof ReadableStream?(Ope(t),cg.Readable.fromWeb(t)):t}o(zY,"ensureNodeStream");function qpe(t){return t instanceof Uint8Array?cg.Readable.from(Buffer.from(t)):ag(t)?zY(t.stream()):zY(t)}o(qpe,"toStream");async function GY(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(qpe);return cg.Readable.from((async function*(){for(let r of e)for await(let n of r)yield n})())}}o(GY,"concat");function Hpe(){return`----AzSDKFormBoundary${Ea()}`}o(Hpe,"generateBoundary");function zpe(t){let e="";for(let[r,n]of t)e+=`${r}: ${n}\r -`;return e}o(zpe,"encodeHeaders");function Gpe(t){return t instanceof Uint8Array?t.byteLength:ag(t)?t.size===-1?void 0:t.size:void 0}o(Gpe,"getLength");function Ype(t){let e=0;for(let r of t){let n=Gpe(r);if(n===void 0)return;e+=n}return e}o(Ype,"getTotalLength");async function Vpe(t,e,r){let n=[fr(`--${r}`,"utf-8"),...e.flatMap(i=>[fr(`\r -`,"utf-8"),fr(zpe(i.headers),"utf-8"),fr(`\r +`).map(i=>i.trim());for(let i of s)!i||i.startsWith("#")||n.patterns.push(new Ju(i));return n.searchPaths.push(...mb(n.patterns)),n})}static stat(e,r,n){return Cb(this,void 0,void 0,function*(){let s;if(r.followSymbolicLinks)try{s=yield ml.promises.stat(e.path)}catch(i){if(i.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){mn(`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 s=yield ml.promises.lstat(e.path);if(s.isDirectory()&&r.followSymbolicLinks){let i=yield ml.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(a=>a===i)){mn(`Symlink cycle detected for path '${e.path}' and realpath '${i}'`);return}n.push(i)}return s})}};var lAe=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function RH(t,e){return lAe(this,void 0,void 0,function*(){return yield df.create(t,e)})}o(RH,"create");var Rf=Q(require("crypto"),1),fl=Q(require("fs"),1),Ea=Q(require("path"),1),CG=Q(yG(),1),IG=Q(require("util"),1);var rd;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(rd||(rd={}));var er;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(er||(er={}));var qr;(function(t){t.GNU="gnu",t.BSD="bsd"})(qr||(qr={}));var wf=2,Nf=5e3,Ob=5e3,qb=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,EG=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,nd="cache.tar",Hb="manifest.txt",hLe=10*Math.pow(1024,3),Sf="cache read denied:";var hl=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},ome=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=t[i]&&function(a){return new Promise(function(c,l){a=t[i](a),s(c,l,a.done,a.value)})}}function s(i,a,c,l){Promise.resolve(l).then(function(A){i({value:A,done:c})},a)}},ame="1.0";function sd(){return hl(this,void 0,void 0,function*(){let t=process.platform==="win32",e=process.env.RUNNER_TEMP||"";if(!e){let n;t?n=process.env.USERPROFILE||"C:\\":process.platform==="darwin"?n="/Users":n="/home",e=Ea.join(n,"actions","temp")}let r=Ea.join(e,Rf.randomUUID());return yield ma(r),r})}o(sd,"createTempDirectory");function Es(t){return fl.statSync(t).size}o(Es,"getArchiveFileSizeInBytes");function zb(t){return hl(this,void 0,void 0,function*(){var e,r,n,s,i;let a=[],c=(i=process.env.GITHUB_WORKSPACE)!==null&&i!==void 0?i:process.cwd(),l=yield RH(t.join(` +`),{implicitDescendants:!1});try{for(var A=!0,u=ome(l.globGenerator()),d;d=yield u.next(),e=d.done,!e;A=!0){s=d.value,A=!1;let p=Ea.relative(c,s).replace(new RegExp(`\\${Ea.sep}`,"g"),"/");b(`Matched: ${p}`),p===""?a.push("."):a.push(`${p}`)}}catch(m){r={error:m}}finally{try{!A&&!e&&(n=u.return)&&(yield n.call(u))}finally{if(r)throw r.error}}return a})}o(zb,"resolvePaths");function id(t){return hl(this,void 0,void 0,function*(){return IG.promisify(fl.unlink)(t)})}o(id,"unlinkFile");function BG(t){return hl(this,arguments,void 0,function*(e,r=[]){let n="";r.push("--version"),b(`Checking ${e} ${r.join(" ")}`);try{yield Ao(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(s=>n+=s.toString(),"stdout"),stderr:o(s=>n+=s.toString(),"stderr")}})}catch(s){b(s.message)}return n=n.trim(),b(n),n})}o(BG,"getVersion");function od(){return hl(this,void 0,void 0,function*(){let t=yield BG("zstd",["--quiet"]),e=CG.clean(t);return b(`zstd version: ${e}`),t===""?er.Gzip:er.ZstdWithoutLong})}o(od,"getCompressionMethod");function yo(t){return t===er.Gzip?rd.Gzip:rd.Zstd}o(yo,"getCacheFileName");function QG(){return hl(this,void 0,void 0,function*(){return fl.existsSync(qb)?qb:(yield BG("tar")).toLowerCase().includes("gnu tar")?mr("tar"):""})}o(QG,"getGnuTarPathOnWindows");function Gb(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(Gb,"assertDefined");function gl(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(ame),Rf.createHash("sha256").update(n.join("|")).digest("hex")}o(gl,"getCacheVersion");function xG(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(xG,"getRuntimeToken");var cd=Q(require("http"),1),Jb=Q(require("https"),1);function Yb(t){let e=t.protocol==="https:";if(cme(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 vf(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new vf(`http://${r}`)}else return}o(Yb,"getProxyUrl");function cme(t){if(!t.hostname)return!1;let e=t.hostname;if(lme(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let s=[t.hostname.toUpperCase()];typeof n=="number"&&s.push(`${s[0]}:${n}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||s.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(cme,"checkBypass");function lme(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(lme,"isLoopbackAddress");var vf=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 Eo=Q(WC(),1),bG=Q(Ex(),1);var ot=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},$e;(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"})($e||($e={}));var tr;(function(t){t.Accept="accept",t.ContentType="content-type"})(tr||(tr={}));var Bi;(function(t){t.ApplicationJson="application/json"})(Bi||(Bi={}));var ume=[$e.MovedPermanently,$e.ResourceMoved,$e.SeeOther,$e.TemporaryRedirect,$e.PermanentRedirect],dme=[$e.BadGateway,$e.ServiceUnavailable,$e.GatewayTimeout],mme=["OPTIONS","GET","DELETE","HEAD"],pme=10,hme=5,Cs=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},Vb=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return ot(this,void 0,void 0,function*(){return new Promise(e=>ot(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{e(r.toString())})}))})}readBodyBuffer(){return ot(this,void 0,void 0,function*(){return new Promise(e=>ot(this,void 0,void 0,function*(){let r=[];this.message.on("data",n=>{r.push(n)}),this.message.on("end",()=>{e(Buffer.concat(r))})}))})}};var Qi=class{static{o(this,"HttpClient")}constructor(e,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,r){return ot(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return ot(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return ot(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return ot(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return ot(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return ot(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return ot(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,s){return ot(this,void 0,void 0,function*(){return this.request(e,r,n,s)})}getJson(e){return ot(this,arguments,void 0,function*(r,n={}){n[tr.Accept]=this._getExistingOrDefaultHeader(n,tr.Accept,Bi.ApplicationJson);let s=yield this.get(r,n);return this._processResponse(s,this.requestOptions)})}postJson(e,r){return ot(this,arguments,void 0,function*(n,s,i={}){let a=JSON.stringify(s,null,2);i[tr.Accept]=this._getExistingOrDefaultHeader(i,tr.Accept,Bi.ApplicationJson),i[tr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Bi.ApplicationJson);let c=yield this.post(n,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return ot(this,arguments,void 0,function*(n,s,i={}){let a=JSON.stringify(s,null,2);i[tr.Accept]=this._getExistingOrDefaultHeader(i,tr.Accept,Bi.ApplicationJson),i[tr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Bi.ApplicationJson);let c=yield this.put(n,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return ot(this,arguments,void 0,function*(n,s,i={}){let a=JSON.stringify(s,null,2);i[tr.Accept]=this._getExistingOrDefaultHeader(i,tr.Accept,Bi.ApplicationJson),i[tr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Bi.ApplicationJson);let c=yield this.patch(n,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,n,s){return ot(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,s),c=this._allowRetries&&mme.includes(e)?this._maxRetries+1:1,l=0,A;do{if(A=yield this.requestRaw(a,n),A&&A.message&&A.message.statusCode===$e.Unauthorized){let d;for(let m of this.handlers)if(m.canHandleAuthentication(A)){d=m;break}return d?d.handleAuthentication(this,a,n):A}let u=this._maxRedirects;for(;A.message.statusCode&&ume.includes(A.message.statusCode)&&this._allowRedirects&&u>0;){let d=A.message.headers.location;if(!d)break;let m=new URL(d);if(i.protocol==="https:"&&i.protocol!==m.protocol&&!this._allowRedirectDowngrade)throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield A.readBody(),m.hostname!==i.hostname)for(let p in s)p.toLowerCase()==="authorization"&&delete s[p];a=this._prepareRequest(e,m,s),A=yield this.requestRaw(a,n),u--}if(!A.message.statusCode||!dme.includes(A.message.statusCode))return A;l+=1,l{function i(a,c){a?s(a):c?n(c):s(new Error("Unknown error"))}o(i,"callbackForResult"),this.requestRawWithCallback(e,r,i)})})}requestRawWithCallback(e,r,n){typeof r=="string"&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let s=!1;function i(l,A){s||(s=!0,n(l,A))}o(i,"handleResult");let a=e.httpModule.request(e.options,l=>{let A=new Vb(l);i(void 0,A)}),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),n=Yb(r);if(n&&n.hostname)return this._getProxyAgentDispatcher(r,n)}_prepareRequest(e,r,n){let s={};s.parsedUrl=r;let i=s.parsedUrl.protocol==="https:";s.httpModule=i?Jb:cd;let a=i?443:80;if(s.options={},s.options.host=s.parsedUrl.hostname,s.options.port=s.parsedUrl.port?parseInt(s.parsedUrl.port):a,s.options.path=(s.parsedUrl.pathname||"")+(s.parsedUrl.search||""),s.options.method=e,s.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(s.options.headers["user-agent"]=this.userAgent),s.options.agent=this._getAgent(s.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(s.options);return s}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},ad(this.requestOptions.headers),ad(e||{})):ad(e||{})}_getExistingOrDefaultHeader(e,r,n){let s;if(this.requestOptions&&this.requestOptions.headers){let a=ad(this.requestOptions.headers)[r];a&&(s=typeof a=="number"?a.toString():a)}let i=e[r];return i!==void 0?typeof i=="number"?i.toString():i:s!==void 0?s:n}_getExistingOrDefaultContentTypeHeader(e,r){let n;if(this.requestOptions&&this.requestOptions.headers){let i=ad(this.requestOptions.headers)[tr.ContentType];i&&(typeof i=="number"?n=String(i):Array.isArray(i)?n=i.join(", "):n=i)}let s=e[tr.ContentType];return s!==void 0?typeof s=="number"?String(s):Array.isArray(s)?s.join(", "):s:n!==void 0?n:r}_getAgent(e){let r,n=Yb(e),s=n&&n.hostname;if(this._keepAlive&&s&&(r=this._proxyAgent),s||(r=this._agent),r)return r;let i=e.protocol==="https:",a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||cd.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,A=n.protocol==="https:";i?l=A?Eo.httpsOverHttps:Eo.httpsOverHttp:l=A?Eo.httpOverHttps:Eo.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new Jb.Agent(c):new cd.Agent(c),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let s=e.protocol==="https:";return n=new bG.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=n,s&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let s=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${s}`}return r}_performExponentialBackoff(e){return ot(this,void 0,void 0,function*(){e=Math.min(pme,e);let r=hme*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return ot(this,void 0,void 0,function*(){return new Promise((n,s)=>ot(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===$e.NotFound&&n(a);function c(u,d){if(typeof d=="string"){let m=new Date(d);if(!isNaN(m.valueOf()))return m}return d}o(c,"dateTimeDeserializer");let l,A;try{A=yield e.readBody(),A&&A.length>0&&(r&&r.deserializeDates?l=JSON.parse(A,c):l=JSON.parse(A),a.result=l),a.headers=e.message.headers}catch{}if(i>299){let u;l&&l.message?u=l.message:A&&A.length>0?u=A:u=`Failed request: (${i})`;let d=new Cs(u,i);d.result=a.result,s(d)}else n(a)}))})}},ad=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var fme=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};var yl=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 fme(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var Wl=Q(require("fs"),1),rW=require("url");var Is=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};var wG=require("node:os"),NG=Q(require("node:util"),1),SG=Q(require("node:process"),1);function RG(t,...e){SG.default.stderr.write(`${NG.default.format(t,...e)}${wG.EOL}`)}o(RG,"log");var PG=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,DG,Wb=[],$b=[],Df=[];PG&&jb(PG);var kG=Object.assign(t=>TG(t),{enable:jb,enabled:Kb,disable:gme,log:RG});function jb(t){DG=t,Wb=[],$b=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?$b.push(r.substring(1)):Wb.push(r);for(let r of Df)r.enabled=Kb(r.namespace)}o(jb,"enable");function Kb(t){if(t.endsWith("*"))return!0;for(let e of $b)if(vG(t,e))return!1;for(let e of Wb)if(vG(t,e))return!0;return!1}o(Kb,"enabled");function vG(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let m=[],p="";for(let h of e)h==="*"&&p==="*"||(p=h,m.push(h));r=m.join("")}let n=0,s=0,i=r.length,a=t.length,c=-1,l=-1;for(;n=0){if(s=c+1,n=l+1,n===a)return!1;for(;t[n]!==r[s];)if(n++,n===a)return!1;l=n,n++,s++;continue}else return!1;let A=n===t.length,u=s===r.length,d=s===r.length-1&&r[s]==="*";return A&&(u||d)}o(vG,"namespaceMatches");function gme(){let t=DG||"";return jb(""),t}o(gme,"disable");function TG(t){let e=Object.assign(r,{enabled:Kb(t),destroy:yme,log:kG.log,namespace:t,extend:Eme});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),Df.push(e),e}o(TG,"createDebugger");function yme(){let t=Df.indexOf(this);return t>=0?(Df.splice(t,1),!0):!1}o(yme,"destroy");function Eme(t){let e=TG(`${this.namespace}:${t}`);return e.log=this.log,e}o(Eme,"extend");var El=kG;var Xb=["verbose","info","warning","error"],MG={verbose:400,info:300,warning:200,error:100};function LG(t,e){e.log=(...r)=>{t.log(...r)}}o(LG,"patchLogMethod");function _G(t){return Xb.includes(t)}o(_G,"isTypeSpecRuntimeLogLevel");function kf(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,n,s=El(t.namespace);s.log=(...u)=>{El.log(...u)};function i(u){if(u&&!_G(u))throw new Error(`Unknown log level '${u}'. Acceptable values: ${Xb.join(",")}`);n=u;let d=[];for(let m of e)a(m)&&d.push(m.namespace);El.enable(d.join(","))}o(i,"contextSetLogLevel"),r&&(_G(r)?i(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${Xb.join(", ")}.`));function a(u){return!!(n&&MG[u.level]<=MG[n])}o(a,"shouldEnable");function c(u,d){let m=Object.assign(u.extend(d),{level:d});if(LG(u,m),a(m)){let p=El.disable();El.enable(p+","+m.namespace)}return e.add(m),m}o(c,"createLogger");function l(){return n}o(l,"contextGetLogLevel");function A(u){let d=s.extend(u);return LG(s,d),{error:c(d,"error"),warning:c(d,"warning"),info:c(d,"info"),verbose:c(d,"verbose")}}return o(A,"contextCreateClientLogger"),{setLogLevel:i,getLogLevel:l,createClientLogger:A,logger:s}}o(kf,"createLoggerContext");var FG=kf({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),Cme=FG.logger;function ld(t){return FG.createClientLogger(t)}o(ld,"createClientLogger");function Tf(t){return t.toLowerCase()}o(Tf,"normalizeName");function*Ime(t){for(let e of t.values())yield[e.name,e.value]}o(Ime,"headerIterator");var Zb=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(Tf(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(Tf(e))?.value}has(e){return this._headersMap.has(Tf(e))}delete(e){this._headersMap.delete(Tf(e))}toJSON(e={}){let r={};if(e.preserveCase)for(let n of this._headersMap.values())r[n.name]=n.value;else for(let[n,s]of this._headersMap)r[n]=s.value;return r}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return Ime(this._headersMap)}};function Hr(t){return new Zb(t)}o(Hr,"createHttpHeaders");function Ca(){return crypto.randomUUID()}o(Ca,"randomUUID");var ew=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??Hr(),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||Ca(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function Mf(t){return new ew(t)}o(Mf,"createPipelineRequest");var UG=new Set(["Deserialize","Serialize","Retry","Sign"]),tw=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&&!UG.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!UG.has(r.afterPhase))throw new Error(`Invalid afterPhase name: ${r.afterPhase}`);this._policies.push({policy:e,options:r}),this._orderedPolicies=void 0}removePolicy(e){let r=[];return this._policies=this._policies.filter(n=>e.name&&n.policy.name===e.name||e.phase&&n.options.phase===e.phase?(r.push(n.policy),!1):!0),this._orderedPolicies=void 0,r}sendRequest(e,r){return this.getOrderedPolicies().reduceRight((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 n(h){return{name:h,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}o(n,"createPhase");let s=n("Serialize"),i=n("None"),a=n("Deserialize"),c=n("Retry"),l=n("Sign"),A=[s,i,a,c,l];function u(h){return h==="Retry"?c:h==="Serialize"?s:h==="Deserialize"?a:h==="Sign"?l:i}o(u,"getPhase");for(let h of this._policies){let f=h.policy,C=h.options,y=f.name;if(r.has(y))throw new Error("Duplicate policy names not allowed in pipeline");let E={policy:f,dependsOn:new Set,dependants:new Set};C.afterPhase&&(E.afterPhase=u(C.afterPhase),E.afterPhase.hasAfterPolicies=!0),r.set(y,E),u(C.phase).policies.add(E)}for(let h of this._policies){let{policy:f,options:C}=h,y=f.name,E=r.get(y);if(!E)throw new Error(`Missing node for policy ${y}`);if(C.afterPolicies)for(let I of C.afterPolicies){let B=r.get(I);B&&(E.dependsOn.add(B),B.dependants.add(E))}if(C.beforePolicies)for(let I of C.beforePolicies){let B=r.get(I);B&&(B.dependsOn.add(E),E.dependants.add(B))}}function d(h){h.hasRun=!0;for(let f of h.policies)if(!(f.afterPhase&&(!f.afterPhase.hasRun||f.afterPhase.policies.size))&&f.dependsOn.size===0){e.push(f.policy);for(let C of f.dependants)C.dependsOn.delete(f);r.delete(f.policy.name),h.policies.delete(f)}}o(d,"walkPhase");function m(){for(let h of A){if(d(h),h.policies.size>0&&h!==i){i.hasRun||d(i);return}h.hasAfterPolicies&&d(i)}}o(m,"walkPhases");let p=0;for(;r.size>0;){p++;let h=e.length;if(m(),e.length<=h&&p>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function Lf(){return tw.create()}o(Lf,"createEmptyPipeline");function Cl(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(Cl,"isObject");function Ia(t){if(Cl(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(Ia,"isError");var OG=require("node:util"),qG=OG.inspect.custom;var rw="REDACTED",Bme=["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"],Qme=["api-version"],Gn=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=Bme.concat(e),r=Qme.concat(r),this.allowedHeaderNames=new Set(e.map(n=>n.toLowerCase())),this.allowedQueryParameters=new Set(r.map(n=>n.toLowerCase()))}sanitize(e){let r=new Set;return JSON.stringify(e,(n,s)=>{if(s instanceof Error)return{...s,name:s.name,message:s.message};if(n==="headers")return this.sanitizeHeaders(s);if(n==="url")return this.sanitizeUrl(s);if(n==="query")return this.sanitizeQuery(s);if(n==="body")return;if(n==="response")return;if(n==="operationSpec")return;if(Array.isArray(s)||Cl(s)){if(r.has(s))return"[Circular]";r.add(s)}return s},2)}sanitizeUrl(e){if(typeof e!="string"||e===null||e==="")return e;let r=new URL(e);if(!r.search)return e;for(let[n]of r.searchParams)this.allowedQueryParameters.has(n.toLowerCase())||r.searchParams.set(n,rw);return r.toString()}sanitizeHeaders(e){let r={};for(let n of Object.keys(e))this.allowedHeaderNames.has(n.toLowerCase())?r[n]=e[n]:r[n]=rw;return r}sanitizeQuery(e){if(typeof e!="object"||e===null)return e;let r={};for(let n of Object.keys(e))this.allowedQueryParameters.has(n.toLowerCase())?r[n]=e[n]:r[n]=rw;return r}};var xme=new Gn,rr=class t extends Error{static{o(this,"RestError")}static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,r={}){super(e),this.name="RestError",this.code=r.code,this.statusCode=r.statusCode,Object.defineProperty(this,"request",{value:r.request,enumerable:!1}),Object.defineProperty(this,"response",{value:r.response,enumerable:!1});let n=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,qG,{value:o(()=>`RestError: ${this.message} + ${xme.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function _f(t){return t instanceof rr?!0:Ia(t)&&t.name==="RestError"}o(_f,"isRestError");function fr(t,e){return Buffer.from(t,e)}o(fr,"stringToUint8Array");var Ff=Q(require("node:http"),1),Uf=Q(require("node:https"),1),nw=Q(require("node:zlib"),1),zG=require("node:stream");var fn=ld("ts-http-runtime");var bme={};function Ad(t){return t&&typeof t.pipe=="function"}o(Ad,"isReadableStream");function HG(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(HG,"isStreamComplete");function GG(t){return t&&typeof t.byteLength=="number"}o(GG,"isArrayBuffer");var Of=class extends zG.Transform{static{o(this,"ReportTransform")}loadedBytes=0;progressCallback;_transform(e,r,n){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),n()}catch(s){n(s)}}constructor(e){super(),this.progressCallback=e}},sw=class{static{o(this,"NodeHttpClient")}cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,n;if(e.abortSignal){if(e.abortSignal.aborted)throw new Is("The operation was aborted. Request has already been canceled.");n=o(A=>{A.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",n)}let s;e.timeout>0&&(s=setTimeout(()=>{let A=new Gn;fn.info(`request to '${A.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 A=Rme(c);A!==null&&e.headers.set("Content-Length",A)}let l;try{if(c&&e.onUploadProgress){let h=e.onUploadProgress,f=new Of(h);f.on("error",C=>{fn.error("Error in upload progress",C)}),Ad(c)?c.pipe(f):f.end(c),c=f}let A=await this.makeRequest(e,r,c);s!==void 0&&clearTimeout(s);let u=wme(A),m={status:A.statusCode??0,headers:u,request:e};if(e.method==="HEAD")return A.resume(),m;l=a?Nme(A,u):A;let p=e.onDownloadProgress;if(p){let h=new Of(p);h.on("error",f=>{fn.error("Error in download progress",f)}),l.pipe(h),l=h}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(m.status)?m.readableStreamBody=l:m.bodyAsText=await Sme(l),m}finally{if(e.abortSignal&&n){let A=Promise.resolve();Ad(c)&&(A=HG(c));let u=Promise.resolve();Ad(l)&&(u=HG(l)),Promise.all([A,u]).then(()=>{n&&e.abortSignal?.removeEventListener("abort",n)}).catch(d=>{fn.warning("Error when cleaning up abortListener on httpRequest",d)})}}}makeRequest(e,r,n){let s=new URL(e.url),i=s.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:s.hostname,path:`${s.pathname}${s.search}`,port:s.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((l,A)=>{let u=i?Ff.default.request(c,l):Uf.default.request(c,l);u.once("error",d=>{A(new rr(d.message,{code:d.code??rr.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new Is("The operation was aborted. Rejecting from abort signal callback while making request.");u.destroy(d),A(d)}),n&&Ad(n)?n.pipe(u):n?typeof n=="string"||Buffer.isBuffer(n)?u.end(n):GG(n)?u.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(fn.error("Unrecognized body type",n),A(new rr("Unrecognized body type"))):u.end()})}getOrCreateAgent(e,r){let n=e.disableKeepAlive;if(r)return n?Ff.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new Ff.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return Uf.default.globalAgent;let s=e.tlsSettings??bme,i=this.cachedHttpsAgents.get(s);return i&&i.options.keepAlive===!n||(fn.info("No cached TLS Agent exist, creating a new Agent"),i=new Uf.default.Agent({keepAlive:!n,...s}),this.cachedHttpsAgents.set(s,i)),i}}};function wme(t){let e=Hr();for(let r of Object.keys(t.headers)){let n=t.headers[r];Array.isArray(n)?n.length>0&&e.set(r,n[0]):n&&e.set(r,n)}return e}o(wme,"getResponseHeaders");function Nme(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=nw.default.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=nw.default.createInflate();return t.pipe(n),n}return t}o(Nme,"getDecodedResponseStream");function Sme(t){return new Promise((e,r)=>{let n=[];t.on("data",s=>{Buffer.isBuffer(s)?n.push(s):n.push(Buffer.from(s))}),t.on("end",()=>{e(Buffer.concat(n).toString("utf8"))}),t.on("error",s=>{s&&s?.name==="AbortError"?r(s):r(new rr(`Error reading response as text: ${s.message}`,{code:rr.PARSE_ERROR}))})})}o(Sme,"streamToText");function Rme(t){return t?Buffer.isBuffer(t)?t.length:Ad(t)?null:GG(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(Rme,"getBodyLength");function YG(){return new sw}o(YG,"createNodeHttpClient");function qf(){return YG()}o(qf,"createDefaultHttpClient");var iw="logPolicy";function Hf(t={}){let e=t.logger??fn.info,r=new Gn({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:iw,async sendRequest(n,s){if(!e.enabled)return s(n);e(`Request: ${r.sanitize(n)}`);let i=await s(n);return e(`Response status code: ${i.status}`),e(`Headers: ${r.sanitize(i.headers)}`),i}}}o(Hf,"logPolicy");var zf="redirectPolicy",VG=["GET","HEAD"];function Gf(t={}){let{maxRetries:e=20}=t;return{name:zf,async sendRequest(r,n){let s=await n(r);return JG(n,s,e)}}}o(Gf,"redirectPolicy");async function JG(t,e,r,n=0){let{request:s,status:i,headers:a}=e,c=a.get("location");if(c&&(i===300||i===301&&VG.includes(s.method)||i===302&&VG.includes(s.method)||i===303&&s.method==="POST"||i===307)&&n{let i,a,c=o(()=>s(new Is(r?.abortErrorMsg?r?.abortErrorMsg:Pme)),"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(),n(e)},t),r?.abortSignal&&r.abortSignal.addEventListener("abort",a)})}o(jG,"delay");function KG(t,e){let r=t.headers.get(e);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}o(KG,"parseHeaderValueAsNumber");var ow="Retry-After",vme=["retry-after-ms","x-ms-retry-after-ms",ow];function XG(t){if(t&&[429,503].includes(t.status))try{for(let s of vme){let i=KG(t,s);if(i===0||i)return i*(s===ow?1e3:1)}let e=t.headers.get(ow);if(!e)return;let n=Date.parse(e)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}o(XG,"getRetryAfterInMs");function ZG(t){return Number.isFinite(XG(t))}o(ZG,"isThrottlingRetryResponse");function aw(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=XG(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(aw,"throttlingRetryStrategy");var Dme=1e3,kme=1e3*64;function Wf(t={}){let e=t.retryDelayInMs??Dme,r=t.maxRetryDelayInMs??kme;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:s,responseError:i}){let a=Mme(i),c=a&&t.ignoreSystemErrors,l=Tme(s),A=l&&t.ignoreHttpStatusCodes;return s&&(ZG(s)||!l)||A||c?{skipStrategy:!0}:i&&!a&&!l?{errorToThrow:i}:Jf(n,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(Wf,"exponentialRetryStrategy");function Tme(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(Tme,"isExponentialRetryResponse");function Mme(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(Mme,"isSystemError");var Lme=ld("ts-http-runtime retryPolicy"),_me="retryPolicy";function Qa(t,e={maxRetries:3}){let r=e.logger||Lme;return{name:_me,async sendRequest(n,s){let i,a,c=-1;e:for(;;){c+=1,i=void 0,a=void 0;try{r.info(`Retry ${c}: Attempting to send request`,n.requestId),i=await s(n),r.info(`Retry ${c}: Received a response from request`,n.requestId)}catch(l){if(r.error(`Retry ${c}: Received an error from request`,n.requestId),a=l,!l||a.name!=="RestError")throw l;i=a.response}if(n.abortSignal?.aborted)throw r.error(`Retry ${c}: Request aborted.`),new Is;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 A=l.logger||r;A.info(`Retry ${c}: Processing retry strategy ${l.name}.`);let u=l.retry({retryCount:c,response:i,responseError:a});if(u.skipStrategy){A.info(`Retry ${c}: Skipped.`);continue t}let{errorToThrow:d,retryAfterInMs:m,redirectTo:p}=u;if(d)throw A.error(`Retry ${c}: Retry strategy ${l.name} throws error:`,d),d;if(m||m===0){A.info(`Retry ${c}: Retry strategy ${l.name} retries after ${m}`),await jG(m,void 0,{abortSignal:n.abortSignal});continue e}if(p){A.info(`Retry ${c}: Retry strategy ${l.name} redirects to ${p}`),n.url=p;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(Qa,"retryPolicy");var cw="defaultRetryPolicy";function $f(t={}){return{name:cw,sendRequest:Qa([aw(),Wf(t)],{maxRetries:t.maxRetries??3}).sendRequest}}o($f,"defaultRetryPolicy");var eY=typeof window<"u"&&typeof window.document<"u",tY=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),rY=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",nY=typeof Bun<"u"&&typeof Bun.version<"u",xa=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node;var sY=typeof navigator<"u"&&navigator?.product==="ReactNative";var lw="formDataPolicy";function Fme(t){let e={};for(let[r,n]of t.entries())e[r]??=[],e[r].push(n);return e}o(Fme,"formDataToFormDataMap");function jf(){return{name:lw,async sendRequest(t,e){if(xa&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=Fme(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=Ume(t.formData):await Ome(t.formData,t),t.formData=void 0}return e(t)}}}o(jf,"formDataPolicy");function Ume(t){let e=new URLSearchParams;for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let s of n)e.append(r,s.toString());else e.append(r,n.toString());return e.toString()}o(Ume,"wwwFormUrlEncode");async function Ome(t,e){let r=e.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;e.headers.set("Content-Type",r??"multipart/form-data");let n=[];for(let[s,i]of Object.entries(t))for(let a of Array.isArray(i)?i:[i])if(typeof a=="string")n.push({headers:Hr({"Content-Disposition":`form-data; name="${s}"`}),body:fr(a,"utf-8")});else{if(a==null||typeof a!="object")throw new Error(`Unexpected value for key ${s}: ${a}. Value should be serialized to string first.`);{let c=a.name||"blob",l=Hr();l.set("Content-Disposition",`form-data; name="${s}"; filename="${c}"`),l.set("Content-Type",a.type||"application/octet-stream"),n.push({headers:l,body:a})}}e.multipartBody={parts:n}}o(Ome,"prepareFormData");var zY=Q(RY(),1),GY=Q(UY(),1);var $pe="HTTPS_PROXY",jpe="HTTP_PROXY",Kpe="ALL_PROXY",Xpe="NO_PROXY",fw="proxyPolicy",OY=[],YY=!1,Zpe=new Map;function og(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(og,"getEnvironmentValue");function VY(){if(!process)return;let t=og($pe),e=og(Kpe),r=og(jpe);return t||e||r}o(VY,"loadEnvironmentProxyValue");function ehe(t,e,r){if(e.length===0)return!1;let n=new URL(t).hostname;if(r?.has(n))return r.get(n);let s=!1;for(let i of e)i[0]==="."?(n.endsWith(i)||n.length===i.length-1&&n===i.slice(1))&&(s=!0):n===i&&(s=!0);return r?.set(n,s),s}o(ehe,"isBypassed");function the(){let t=og(Xpe);return YY=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(the,"loadNoProxy");function gw(t){if(!t&&(t=VY(),!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(gw,"getDefaultProxySettings");function rhe(){let t=VY();return t?new URL(t):void 0}o(rhe,"getDefaultProxySettingsInternal");function qY(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(qY,"getUrlFromProxySettings");function HY(t,e,r){if(t.agent)return;let s=new URL(t.url).protocol!=="https:";t.tlsSettings&&fn.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.");let i=t.headers.toJSON();s?(e.httpProxyAgent||(e.httpProxyAgent=new GY.HttpProxyAgent(r,{headers:i})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new zY.HttpsProxyAgent(r,{headers:i})),t.agent=e.httpsProxyAgent)}o(HY,"setProxyAgentOnRequest");function ag(t,e){YY||OY.push(...the());let r=t?qY(t):rhe(),n={};return{name:fw,async sendRequest(s,i){return!s.proxySettings&&r&&!ehe(s.url,e?.customNoProxyList??OY,e?.customNoProxyList?void 0:Zpe)?HY(s,n,r):s.proxySettings&&HY(s,n,qY(s.proxySettings)),i(s)}}}o(ag,"proxyPolicy");var yw="agentPolicy";function cg(t){return{name:yw,sendRequest:o(async(e,r)=>(e.agent||(e.agent=t),r(e)),"sendRequest")}}o(cg,"agentPolicy");var Ew="tlsPolicy";function lg(t){return{name:Ew,sendRequest:o(async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e)),"sendRequest")}}o(lg,"tlsPolicy");function Ag(t){return typeof t.stream=="function"}o(Ag,"isBlob");var ug=require("stream");async function*JY(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(JY,"streamAsyncIterator");function nhe(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=JY.bind(t)),t.values||(t.values=JY.bind(t))}o(nhe,"makeAsyncIterable");function WY(t){return t instanceof ReadableStream?(nhe(t),ug.Readable.fromWeb(t)):t}o(WY,"ensureNodeStream");function she(t){return t instanceof Uint8Array?ug.Readable.from(Buffer.from(t)):Ag(t)?WY(t.stream()):WY(t)}o(she,"toStream");async function $Y(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(she);return ug.Readable.from((async function*(){for(let r of e)for await(let n of r)yield n})())}}o($Y,"concat");function ihe(){return`----AzSDKFormBoundary${Ca()}`}o(ihe,"generateBoundary");function ohe(t){let e="";for(let[r,n]of t)e+=`${r}: ${n}\r +`;return e}o(ohe,"encodeHeaders");function ahe(t){return t instanceof Uint8Array?t.byteLength:Ag(t)?t.size===-1?void 0:t.size:void 0}o(ahe,"getLength");function che(t){let e=0;for(let r of t){let n=ahe(r);if(n===void 0)return;e+=n}return e}o(che,"getTotalLength");async function lhe(t,e,r){let n=[fr(`--${r}`,"utf-8"),...e.flatMap(i=>[fr(`\r +`,"utf-8"),fr(ohe(i.headers),"utf-8"),fr(`\r `,"utf-8"),i.body,fr(`\r --${r}`,"utf-8")]),fr(`--\r \r -`,"utf-8")],s=Ype(n);s&&t.headers.set("Content-Length",s),t.body=await GY(n)}o(Vpe,"buildRequestBody");var dd="multipartPolicy",Jpe=70,Wpe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function $pe(t){if(t.length>Jpe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!Wpe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o($pe,"assertValidBoundary");function lg(){return{name:dd,async sendRequest(t,e){if(!t.multipartBody)return e(t);if(t.body)throw new Error("multipartBody and regular body cannot be set at the same time");let r=t.multipartBody.boundary,n=t.headers.get("Content-Type")??"multipart/mixed",s=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!s)throw new Error(`Got multipart request body, but content-type header was not multipart: ${n}`);let[,i,a]=s;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?$pe(r):r=Hpe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await Vpe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(lg,"multipartPolicy");function Ag(){return kf()}o(Ag,"createEmptyPipeline");var YY=Pf({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),J1e=YY.logger;function Qs(t){return YY.createClientLogger(t)}o(Qs,"createClientLogger");var xs=Qs("core-rest-pipeline");function Ew(t={}){return Uf({logger:xs.info,...t})}o(Ew,"logPolicy");var Cw=Of;function Iw(t={}){return qf(t)}o(Iw,"redirectPolicy");var ug=Q(require("node:os"),1),dg=Q(require("node:process"),1);function VY(){return"User-Agent"}o(VY,"getHeaderName");async function JY(t){if(dg.default&&dg.default.versions){let e=`${ug.default.type()} ${ug.default.release()}; ${ug.default.arch()}`,r=dg.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(JY,"setPlatformSpecificData");var mg="1.22.2";function nhe(t){let e=[];for(let[r,n]of t){let s=n?`${r}/${n}`:r;e.push(s)}return e.join(" ")}o(nhe,"getUserAgentString");function WY(){return VY()}o(WY,"getUserAgentHeaderName");async function pg(t){let e=new Map;e.set("core-rest-pipeline",mg),await JY(e);let r=nhe(e);return t?`${t} ${r}`:r}o(pg,"getUserAgentValue");var $Y=WY(),jY="userAgentPolicy";function Bw(t={}){let e=pg(t.userAgentPrefix);return{name:jY,async sendRequest(r,n){return r.headers.has($Y)||r.headers.set($Y,await e),n(r)}}}o(Bw,"userAgentPolicy");var Vr=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function Qw(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:s}=e??{};return new Promise((i,a)=>{function c(){a(new Vr(s??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){n?.removeEventListener("abort",A)}o(l,"removeListeners");function A(){r?.(),l(),c()}if(o(A,"onAbort"),n?.aborted)return c();try{t(u=>{l(),i(u)},u=>{l(),a(u)})}catch(u){a(u)}n?.addEventListener("abort",A)})}o(Qw,"createAbortablePromise");var che="The delay was aborted.";function md(t,e){let r,{abortSignal:n,abortErrorMsg:s}=e??{};return Qw(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:s??che})}o(md,"delay");function Co(t){if(Ca(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(Co,"getErrorMessage");function KY(t){return Ca(t)}o(KY,"isError");function xl(){return Ea()}o(xl,"randomUUID");var Ce=Qa;var XY=Symbol("rawContent");function bw(t){return typeof t[XY]=="function"}o(bw,"hasRawContent");function ZY(t){return bw(t)?t[XY]():t}o(ZY,"getRawContent");var hg=dd;function ww(){let t=lg();return{name:hg,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)bw(n.body)&&(n.body=ZY(n.body));return t.sendRequest(e,r)},"sendRequest")}}o(ww,"multipartPolicy");var Nw=Hf;function Sw(){return zf()}o(Sw,"decompressResponsePolicy");function Rw(t={}){return Vf(t)}o(Rw,"defaultRetryPolicy");function Pw(){return Jf()}o(Pw,"formDataPolicy");function Io(t){return pw(t)}o(Io,"getDefaultProxySettings");function vw(t,e){return sg(t,e)}o(vw,"proxyPolicy");var eV="setClientRequestIdPolicy";function Dw(t="x-ms-client-request-id"){return{name:eV,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(Dw,"setClientRequestIdPolicy");function kw(t){return ig(t)}o(kw,"agentPolicy");function Tw(t){return og(t)}o(Tw,"tlsPolicy");var bl={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function tV(t={}){let e=new Mw(t.parentContext);return t.span&&(e=e.setValue(bl.span,t.span)),t.namespace&&(e=e.setValue(bl.namespace,t.namespace)),e}o(tV,"createTracingContext");var Mw=class t{static{o(this,"TracingContextImpl")}_contextMap;constructor(e){this._contextMap=e instanceof t?new Map(e._contextMap):new Map}setValue(e,r){let n=new t(this);return n._contextMap.set(e,r),n}getValue(e){return this._contextMap.get(e)}deleteValue(e){let r=new t(this);return r._contextMap.delete(e),r}};var nV=Q(rV(),1),gg=nV.state;function lhe(){return{end:o(()=>{},"end"),isRecording:o(()=>!1,"isRecording"),recordException:o(()=>{},"recordException"),setAttribute:o(()=>{},"setAttribute"),setStatus:o(()=>{},"setStatus"),addEvent:o(()=>{},"addEvent")}}o(lhe,"createDefaultTracingSpan");function Ahe(){return{createRequestHeaders:o(()=>({}),"createRequestHeaders"),parseTraceparentHeader:o(()=>{},"parseTraceparentHeader"),startSpan:o((t,e)=>({span:lhe(),tracingContext:tV({parentContext:e.tracingContext})}),"startSpan"),withContext(t,e,...r){return e(...r)}}}o(Ahe,"createDefaultInstrumenter");function pd(){return gg.instrumenterImplementation||(gg.instrumenterImplementation=Ahe()),gg.instrumenterImplementation}o(pd,"getInstrumenter");function hd(t){let{namespace:e,packageName:r,packageVersion:n}=t;function s(A,u,d){let m=pd().startSpan(A,{...d,packageName:r,packageVersion:n,tracingContext:u?.tracingOptions?.tracingContext}),p=m.tracingContext,h=m.span;p.getValue(bl.namespace)||(p=p.setValue(bl.namespace,e)),h.setAttribute("az.namespace",p.getValue(bl.namespace));let f=Object.assign({},u,{tracingOptions:{...u?.tracingOptions,tracingContext:p}});return{span:h,updatedOptions:f}}o(s,"startSpan");async function i(A,u,d,m){let{span:p,updatedOptions:h}=s(A,u,m);try{let f=await a(h.tracingOptions.tracingContext,()=>Promise.resolve(d(h,p)));return p.setStatus({status:"success"}),f}catch(f){throw p.setStatus({status:"error",error:f}),f}finally{p.end()}}o(i,"withSpan");function a(A,u,...d){return pd().withContext(A,u,...d)}o(a,"withContext");function c(A){return pd().parseTraceparentHeader(A)}o(c,"parseTraceparentHeader");function l(A){return pd().createRequestHeaders(A)}return o(l,"createRequestHeaders"),{startSpan:s,withSpan:i,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o(hd,"createTracingClient");var Qi=rr;function ba(t){return Tf(t)}o(ba,"isRestError");var sV="tracingPolicy";function Lw(t={}){let e=pg(t.userAgentPrefix),r=new zn({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),n=uhe();return{name:sV,async sendRequest(s,i){if(!n)return i(s);let a=await e,c={"http.url":r.sanitizeUrl(s.url),"http.method":s.method,"http.user_agent":a,requestId:s.requestId};a&&(c["http.user_agent"]=a);let{span:l,tracingContext:A}=dhe(n,s,c)??{};if(!l||!A)return i(s);try{let u=await n.withContext(A,i,s);return phe(l,u),u}catch(u){throw mhe(l,u),u}}}}o(Lw,"tracingPolicy");function uhe(){try{return hd({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:mg})}catch(t){xs.warning(`Error when creating the TracingClient: ${Co(t)}`);return}}o(uhe,"tryCreateTracingClient");function dhe(t,e,r){try{let{span:n,updatedOptions:s}=t.startSpan(`HTTP ${e.method}`,{tracingOptions:e.tracingOptions},{spanKind:"client",spanAttributes:r});if(!n.isRecording()){n.end();return}let i=t.createRequestHeaders(s.tracingOptions.tracingContext);for(let[a,c]of Object.entries(i))e.headers.set(a,c);return{span:n,tracingContext:s.tracingOptions.tracingContext}}catch(n){xs.warning(`Skipping creating a tracing span due to an error: ${Co(n)}`);return}}o(dhe,"tryCreateSpan");function mhe(t,e){try{t.setStatus({status:"error",error:KY(e)?e:void 0}),ba(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){xs.warning(`Skipping tracing span processing due to an error: ${Co(r)}`)}}o(mhe,"tryProcessError");function phe(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){xs.warning(`Skipping tracing span processing due to an error: ${Co(r)}`)}}o(phe,"tryProcessResponse");function yg(t){if(t instanceof AbortSignal)return{abortSignal:t};if(t.aborted)return{abortSignal:AbortSignal.abort(t.reason)};let e=new AbortController,r=!0;function n(){r&&(t.removeEventListener("abort",s),r=!1)}o(n,"cleanup");function s(){e.abort(t.reason),n()}return o(s,"listener"),t.addEventListener("abort",s),{abortSignal:e.signal,cleanup:n}}o(yg,"wrapAbortSignalLike");var hhe="wrapAbortSignalLikePolicy";function iV(){return{name:hhe,sendRequest:o(async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:n}=yg(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}},"sendRequest")}}o(iV,"wrapAbortSignalLikePolicy");function _w(t){let e=Ag();return Ce&&(t.agent&&e.addPolicy(kw(t.agent)),t.tlsOptions&&e.addPolicy(Tw(t.tlsOptions)),e.addPolicy(vw(t.proxyOptions)),e.addPolicy(Sw())),e.addPolicy(iV()),e.addPolicy(Pw(),{beforePolicies:[hg]}),e.addPolicy(Bw(t.userAgentOptions)),e.addPolicy(Dw(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(ww(),{afterPhase:"Deserialize"}),e.addPolicy(Rw(t.retryOptions),{phase:"Retry"}),e.addPolicy(Lw({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),Ce&&e.addPolicy(Iw(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(Ew(t.loggingOptions),{afterPhase:"Sign"}),e}o(_w,"createPipelineFromOptions");function fd(){let t=Ff();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?yg(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}o(fd,"createDefaultHttpClient");function xi(t){return Hr(t)}o(xi,"createHttpHeaders");function gd(t){return Df(t)}o(gd,"createPipelineRequest");var QHe=Qs("core-rest-pipeline retryPolicy");var fhe={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function ghe(t,e,r){async function n(){if(Date.now()t.getToken(l,A),"tryGetAccessToken"),i.retryIntervalInMs,n?.expiresOnTimestamp??Date.now()).then(d=>(r=null,n=d,s=A.tenantId,n)).catch(d=>{throw r=null,n=null,s=void 0,d})),r}return o(c,"refresh"),async(l,A)=>{let u=!!A.claims,d=s!==A.tenantId;return u&&(n=null),d||u||a.mustRefresh?c(l,A):(a.shouldRefresh&&c(l,A),n)}}o(Fw,"createTokenCycler");var lV="bearerTokenAuthenticationPolicy";async function Eg(t,e){try{return[await e(t),void 0]}catch(r){if(ba(r)&&r.response)return[r.response,r];throw r}}o(Eg,"trySendRequest");async function yhe(t){let{scopes:e,getAccessToken:r,request:n}=t,s={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions,enableCae:!0},i=await r(e,s);i&&t.request.headers.set("Authorization",`Bearer ${i.token}`)}o(yhe,"defaultAuthorizeRequest");function oV(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(oV,"isChallengeResponse");async function aV(t,e){let{scopes:r}=t,n=await t.getAccessToken(r,{enableCae:!0,claims:e});return n?(t.request.headers.set("Authorization",`${n.tokenType??"Bearer"} ${n.token}`),!0):!1}o(aV,"authorizeRequestOnCaeChallenge");function wl(t){let{credential:e,scopes:r,challengeCallbacks:n}=t,s=t.logger||xs,i={authorizeRequest:n?.authorizeRequest?.bind(n)??yhe,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)},a=e?Fw(e):()=>Promise.resolve(null);return{name:lV,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:s});let A,u,d;if([A,u]=await Eg(c,l),oV(A)){let m=cV(A.headers.get("WWW-Authenticate"));if(m){let p;try{p=atob(m)}catch{return s.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${m}`),A}d=await aV({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:s},p),d&&([A,u]=await Eg(c,l))}else if(i.authorizeRequestOnChallenge&&(d=await i.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:c,response:A,getAccessToken:a,logger:s}),d&&([A,u]=await Eg(c,l)),oV(A)&&(m=cV(A.headers.get("WWW-Authenticate")),m))){let p;try{p=atob(m)}catch{return s.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${m}`),A}d=await aV({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:s},p),d&&([A,u]=await Eg(c,l))}}if(u)throw u;return A}}}o(wl,"bearerTokenAuthenticationPolicy");function Ehe(t){let e=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,r=/(\w+)="([^"]*)"/g,n=[],s;for(;(s=e.exec(t))!==null;){let i=s[1],a=s[2],c={},l;for(;(l=r.exec(a))!==null;)c[l[1]]=l[2];n.push({scheme:i,params:c})}return n}o(Ehe,"parseChallenges");function cV(t){return t?Ehe(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(cV,"getCaeChallengeClaims");function Jr(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(Jr,"isTokenCredential");var Uw="DisableKeepAlivePolicy";function AV(){return{name:Uw,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(AV,"createDisableKeepAlivePolicy");function uV(t){return t.getOrderedPolicies().some(e=>e.name===Uw)}o(uV,"pipelineContainsDisableKeepAlivePolicy");function Ow(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(Ow,"encodeByteArray");function qw(t){return Buffer.from(t,"base64")}o(qw,"decodeString");function Ihe(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(Ihe,"isPrimitiveBody");var Bhe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function dV(t){return Bhe.test(t)}o(dV,"isDuration");var Qhe=/^[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 mV(t){return Qhe.test(t)}o(mV,"isValidUuid");function xhe(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(xhe,"handleNullableResponseAndWrappableBody");function Hw(t,e){let r=t.parsedHeaders;if(t.request.method==="HEAD")return{...r,body:t.parsedBody};let n=e&&e.bodyMapper,s=!!n?.nullable,i=n?.type.name;if(i==="Stream")return{...r,blobBody:t.blobBody,readableStreamBody:t.readableStreamBody};let a=i==="Composite"&&n.type.modelProperties||{},c=Object.keys(a).some(l=>a[l].serializedName==="");if(i==="Sequence"||c){let l=t.parsedBody??[];for(let A of Object.keys(a))a[A].serializedName&&(l[A]=t.parsedBody?.[A]);if(r)for(let A of Object.keys(r))l[A]=r[A];return s&&!t.parsedBody&&!r&&Object.getOwnPropertyNames(a).length===0?null:l}return xhe({body:t.parsedBody,headers:r,hasNullableType:s,shouldWrapBody:Ihe(t.parsedBody,i)})}o(Hw,"flattenResponse");var zw=class{static{o(this,"SerializerImpl")}modelMappers;isXML;constructor(e={},r=!1){this.modelMappers=e,this.isXML=r}validateConstraints(e,r,n){let s=o((i,a)=>{throw new Error(`"${n}" 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:A,MaxLength:u,MinItems:d,MinLength:m,MultipleOf:p,Pattern:h,UniqueItems:f}=e.constraints;if(i!==void 0&&r>=i&&s("ExclusiveMaximum",i),a!==void 0&&r<=a&&s("ExclusiveMinimum",a),c!==void 0&&r>c&&s("InclusiveMaximum",c),l!==void 0&&rA&&s("MaxItems",A),u!==void 0&&r.length>u&&s("MaxLength",u),d!==void 0&&r.lengthE.indexOf(C)!==y)&&s("UniqueItems",f)}}serialize(e,r,n,s={xml:{}}){let i={xml:{rootName:s.xml.rootName??"",includeRoot:s.xml.includeRoot??!1,xmlCharKey:s.xml.xmlCharKey??"_"}},a={},c=e.type.name;n||(n=e.serializedName),c.match(/^Sequence$/i)!==null&&(a=[]),e.isConstant&&(r=e.defaultValue);let{required:l,nullable:A}=e;if(l&&A&&r===void 0)throw new Error(`${n} cannot be undefined.`);if(l&&!A&&r==null)throw new Error(`${n} cannot be null or undefined.`);if(!l&&A===!1&&r===null)throw new Error(`${n} cannot be null.`);return r==null||c.match(/^any$/i)!==null?a=r:c.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null?a=Phe(c,n,r):c.match(/^Enum$/i)!==null?a=vhe(n,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=The(c,r,n):c.match(/^ByteArray$/i)!==null?a=Dhe(n,r):c.match(/^Base64Url$/i)!==null?a=khe(n,r):c.match(/^Sequence$/i)!==null?a=Mhe(this,e,r,n,!!this.isXML,i):c.match(/^Dictionary$/i)!==null?a=Lhe(this,e,r,n,!!this.isXML,i):c.match(/^Composite$/i)!==null&&(a=Fhe(this,e,r,n,!!this.isXML,i)),a}deserialize(e,r,n,s={xml:{}}){let i={xml:{rootName:s.xml.rootName??"",includeRoot:s.xml.includeRoot??!1,xmlCharKey:s.xml.xmlCharKey??"_"},ignoreUnknownProperties:s.ignoreUnknownProperties??!1};if(r==null)return this.isXML&&e.type.name==="Sequence"&&!e.xmlIsWrapped&&(r=[]),e.defaultValue!==void 0&&(r=e.defaultValue),r;let a,c=e.type.name;if(n||(n=e.serializedName),c.match(/^Composite$/i)!==null)a=Ohe(this,e,r,n,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=Rhe(r):c.match(/^ByteArray$/i)!==null?a=qw(r):c.match(/^Base64Url$/i)!==null?a=Nhe(r):c.match(/^Sequence$/i)!==null?a=Hhe(this,e,r,n,i):c.match(/^Dictionary$/i)!==null&&(a=qhe(this,e,r,n,i))}return e.isConstant&&(a=e.defaultValue),a}};function Wr(t={},e=!1){return new zw(t,e)}o(Wr,"createSerializer");function bhe(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(bhe,"trimEnd");function whe(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=Ow(t);return bhe(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(whe,"bufferToBase64Url");function Nhe(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,"/"),qw(t)}}o(Nhe,"base64UrlToByteArray");function Gw(t){let e=[],r="";if(t){let n=t.split(".");for(let s of n)s.charAt(s.length-1)==="\\"?r+=s.substr(0,s.length-1)+".":(r+=s,e.push(r),r="")}return e}o(Gw,"splitSerializeName");function She(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(She,"dateToUnixTime");function Rhe(t){if(t)return new Date(t*1e3)}o(Rhe,"unixTimeToDate");function Phe(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"&&mV(r)))throw new Error(`${e} with value "${r}" must be of type string and a valid uuid.`)}else if(t.match(/^Boolean$/i)!==null){if(typeof r!="boolean")throw new Error(`${e} with value ${r} must be of type boolean.`)}else if(t.match(/^Stream$/i)!==null){let n=typeof r;if(n!=="string"&&typeof r.pipe!="function"&&typeof r.tee!="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob=="function"||typeof Blob=="object")&&r instanceof Blob)&&n!=="function")throw new Error(`${e} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}o(Phe,"serializeBasicTypes");function vhe(t,e,r){if(!e)throw new Error(`Please provide a set of allowedValues to validate ${t} as an Enum Type.`);if(!e.some(s=>typeof s.valueOf()=="string"?s.toLowerCase()===r.toLowerCase():s===r))throw new Error(`${r} is not a valid value for ${t}. The valid values are: ${JSON.stringify(e)}.`);return r}o(vhe,"serializeEnumType");function Dhe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=Ow(e)}return e}o(Dhe,"serializeByteArrayType");function khe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=whe(e)}return e}o(khe,"serializeBase64UrlType");function The(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=She(e)}else if(t.match(/^TimeSpan$/i)!==null&&!dV(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(The,"serializeDateTypes");function Mhe(t,e,r,n,s,i){if(!Array.isArray(r))throw new Error(`${n} must be of type Array.`);let a=e.type.element;if(!a||typeof a!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}.`);a.type.name==="Composite"&&a.type.className&&(a=t.modelMappers[a.type.className]??a);let c=[];for(let l=0;lm!==u)&&(a[u]=t.serialize(l,r[u],n+'["'+u+'"]',i))}return a}return r}o(Fhe,"serializeCompositeType");function gV(t,e,r,n){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[n.xml.xmlCharKey]=e,a["$"]=i,a}o(gV,"getXmlObjectValue");function Uhe(t,e){return["$",e.xml.xmlCharKey].includes(t)}o(Uhe,"isSpecialXmlProperty");function Ohe(t,e,r,n,s){let i=s.xml.xmlCharKey??"_";Cg(t,e)&&(e=yV(t,e,r,"serializedName"));let a=fV(t,e,n),c={},l=[];for(let u of Object.keys(a)){let d=a[u],m=Gw(a[u].serializedName);l.push(m[0]);let{serializedName:p,xmlName:h,xmlElementName:f}=d,C=n;p!==""&&p!==void 0&&(C=n+"."+p);let y=d.headerCollectionPrefix;if(y){let E={};for(let I of Object.keys(r))I.startsWith(y)&&(E[I.substring(y.length)]=t.deserialize(d.type.value,r[I],C,s)),l.push(I);c[u]=E}else if(t.isXML)if(d.xmlIsAttribute&&r["$"])c[u]=t.deserialize(d,r["$"][h],C,s);else if(d.xmlIsMsText)r[i]!==void 0?c[u]=r[i]:typeof r=="string"&&(c[u]=r);else{let E=f||h||p;if(d.xmlIsWrapped){let B=r[h]?.[f]??[];c[u]=t.deserialize(d,B,C,s),l.push(h)}else{let I=r[E];c[u]=t.deserialize(d,I,C,s),l.push(E)}}else{let E,I=r,B=0;for(let F of m){if(!I)break;B++,I=I[F]}I===null&&B{for(let m in a)if(Gw(a[m].serializedName)[0]===d)return!1;return!0},"isAdditionalProperty");for(let d in r)u(d)&&(c[d]=t.deserialize(A,r[d],n+'["'+d+'"]',s))}else if(r&&!s.ignoreUnknownProperties)for(let u of Object.keys(r))c[u]===void 0&&!l.includes(u)&&!Uhe(u,s)&&(c[u]=r[u]);return c}o(Ohe,"deserializeCompositeType");function qhe(t,e,r,n,s){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 ${n}`);if(r){let a={};for(let c of Object.keys(r))a[c]=t.deserialize(i,r[c],n,s);return a}return r}o(qhe,"deserializeDictionaryType");function Hhe(t,e,r,n,s){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 ${n}`);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(s.isConstant)i=s.defaultValue;else{let a=IV(t,n);!a.propertyFound&&r&&(a=IV(r,n));let c=!1;a.propertyFound||(c=s.required||n[0]==="options"&&n.length===2),i=c?s.defaultValue:a.propertyValue}}else{s.required&&(i={});for(let a in n){let c=s.type.modelProperties[a],l=n[a],A=Qo(t,{parameterPath:l,mapper:c},r);A!==void 0&&(i||(i={}),i[a]=A)}}return i}o(Qo,"getOperationArgumentValueFromParameter");function IV(t,e){let r={propertyFound:!1},n=0;for(;n=200&&r.status<300);l.headersMapper&&(i.parsedHeaders=c.serializer.deserialize(l.headersMapper,i.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return i}o($he,"deserializeResponseBody");function jhe(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(jhe,"isOperationSpecEmpty");function Khe(t,e,r,n){let s=200<=t.status&&t.status<300;if(jhe(e)?s:!!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 Qi(c,{statusCode:t.status,request:t.request,response:t});if(!a&&!(t.parsedBody?.error?.code&&t.parsedBody?.error?.message))throw l;let A=a?.bodyMapper,u=a?.headersMapper;try{if(t.parsedBody){let d=t.parsedBody,m;if(A){let h=d;if(e.isXML&&A.type.name===bs.Sequence){h=[];let f=A.xmlElementName;typeof d=="object"&&f&&(h=d[f])}m=e.serializer.deserialize(A,h,"error.response.parsedBody",n)}let p=d.error||m||d;l.code=p.code,p.message&&(l.message=p.message),A&&(l.response.parsedBody=m)}t.headers&&u&&(l.response.parsedHeaders=e.serializer.deserialize(u,t.headers.toJSON(),"operationRes.parsedHeaders"))}catch(d){l.message=`Error "${d.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:l,shouldReturnResponse:!1}}o(Khe,"handleErrorResponse");async function Xhe(t,e,r,n,s){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(!s)throw new Error("Parsing XML not supported.");let l=await s(i,n.xml);return r.parsedBody=l,r}}catch(l){let A=`Error "${l}" occurred while parsing the response body - ${r.bodyAsText}.`,u=l.code||Qi.PARSE_ERROR;throw new Qi(A,{code:u,statusCode:r.status,request:r.request,response:r})}}return r}o(Xhe,"parse");function xV(t){let e=new Set;for(let r in t.responses){let n=t.responses[r];n.bodyMapper&&n.bodyMapper.type.name===bs.Stream&&e.add(Number(r))}return e}o(xV,"getStreamingResponseStatusCodes");function ws(t){let{parameterPath:e,mapper:r}=t,n;return typeof e=="string"?n=e:Array.isArray(e)?n=e.join("."):n=r.serializedName,n}o(ws,"getPathStringFromParameter");var bV="serializationPolicy";function Bg(t={}){let e=t.stringifyXML;return{name:bV,async sendRequest(r,n){let s=bi(r),i=s?.operationSpec,a=s?.operationArguments;return i&&a&&(Zhe(r,a,i),efe(r,a,i,e)),n(r)}}}o(Bg,"serializationPolicy");function Zhe(t,e,r){if(r.headerParameters)for(let s of r.headerParameters){let i=Qo(e,s);if(i!=null||s.mapper.required){i=r.serializer.serialize(s.mapper,i,ws(s));let a=s.mapper.headerCollectionPrefix;if(a)for(let c of Object.keys(i))t.headers.set(a+c,i[c]);else t.headers.set(s.mapper.serializedName||ws(s),i)}}let n=e.options?.requestOptions?.customHeaders;if(n)for(let s of Object.keys(n))t.headers.set(s,n[s])}o(Zhe,"serializeHeaders");function efe(t,e,r,n=function(){throw new Error("XML serialization unsupported!")}){let s=e.options?.serializerOptions,i={xml:{rootName:s?.xml.rootName??"",includeRoot:s?.xml.includeRoot??!1,xmlCharKey:s?.xml.xmlCharKey??"_"}},a=i.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=Qo(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:A,xmlName:u,xmlElementName:d,xmlNamespace:m,xmlNamespacePrefix:p,nullable:h}=c,f=c.type.name;try{if(t.body!==void 0&&t.body!==null||h&&t.body===null||l){let C=ws(r.requestBody);t.body=r.serializer.serialize(c,t.body,C,i);let y=f===bs.Stream;if(r.isXML){let E=p?`xmlns:${p}`:"xmlns",I=tfe(m,E,f,t.body,i);f===bs.Sequence?t.body=n(rfe(I,d||u||A,E,m),{rootName:u||A,xmlCharKey:a}):y||(t.body=n(I,{rootName:u||A,xmlCharKey:a}))}else{if(f===bs.String&&(r.contentType?.match("text/plain")||r.mediaType==="text"))return;y||(t.body=JSON.stringify(t.body))}}}catch(C){throw new Error(`Error "${C.message}" occurred in serializing the payload - ${JSON.stringify(A,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){t.formData={};for(let c of r.formDataParameters){let l=Qo(e,c);if(l!=null){let A=c.mapper.serializedName||ws(c);t.formData[A]=r.serializer.serialize(c.mapper,l,ws(c),i)}}}}o(efe,"serializeRequestBody");function tfe(t,e,r,n,s){if(t&&!["Composite","Sequence","Dictionary"].includes(r)){let i={};return i[s.xml.xmlCharKey]=n,i["$"]={[e]:t},i}return n}o(tfe,"getXmlValueWithNamespace");function rfe(t,e,r,n){if(Array.isArray(t)||(t=[t]),!r||!n)return{[e]:t};let s={[e]:t};return s["$"]={[r]:n},s}o(rfe,"prepareXMLRootList");function yd(t={}){let e=_w(t??{});return t.credentialOptions&&e.addPolicy(wl({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(Bg(t.serializationOptions),{phase:"Serialize"}),e.addPolicy(Vw(t.deserializationOptions),{phase:"Deserialize"}),e}o(yd,"createClientPipeline");var Jw;function wV(){return Jw||(Jw=fd()),Jw}o(wV,"getCachedDefaultHttpClient");var nfe={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function SV(t,e,r,n){let s=sfe(e,r,n),i=!1,a=NV(t,s);if(e.path){let A=NV(e.path,s);e.path==="/{nextLink}"&&A.startsWith("/")&&(A=A.substring(1)),ife(A)?(a=A,i=!0):a=ofe(a,A)}let{queryParams:c,sequenceParams:l}=afe(e,r,n);return a=lfe(a,c,l,i),a}o(SV,"getRequestUrl");function NV(t,e){let r=t;for(let[n,s]of e)r=r.split(n).join(s);return r}o(NV,"replaceAll");function sfe(t,e,r){let n=new Map;if(t.urlParameters?.length)for(let s of t.urlParameters){let i=Qo(e,s,r),a=ws(s);i=t.serializer.serialize(s.mapper,i,a),s.skipEncoding||(i=encodeURIComponent(i)),n.set(`{${s.mapper.serializedName||a}}`,i)}return n}o(sfe,"calculateUrlReplacements");function ife(t){return t.includes("://")}o(ife,"isAbsoluteUrl");function ofe(t,e){if(!e)return t;let r=new URL(t),n=r.pathname;n.endsWith("/")||(n=`${n}/`),e.startsWith("/")&&(e=e.substring(1));let s=e.indexOf("?");if(s!==-1){let i=e.substring(0,s),a=e.substring(s+1);n=n+i,a&&(r.search=r.search?`${r.search}&${a}`:a)}else n=n+e;return r.pathname=n,r.toString()}o(ofe,"appendPath");function afe(t,e,r){let n=new Map,s=new Set;if(t.queryParameters?.length)for(let i of t.queryParameters){i.mapper.type.name==="Sequence"&&i.mapper.serializedName&&s.add(i.mapper.serializedName);let a=Qo(e,i,r);if(a!=null||i.mapper.required){a=t.serializer.serialize(i.mapper,a,ws(i));let c=i.collectionFormat?nfe[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)),n.set(i.mapper.serializedName||ws(i),a)}}return{queryParams:n,sequenceParams:s}}o(afe,"calculateQueryParameters");function cfe(t){let e=new Map;if(!t||t[0]!=="?")return e;t=t.slice(1);let r=t.split("&");for(let n of r){let[s,i]=n.split("=",2),a=e.get(s);a?Array.isArray(a)?a.push(i):e.set(s,[a,i]):e.set(s,i)}return e}o(cfe,"simpleParseQueryParams");function lfe(t,e,r,n=!1){if(e.size===0)return t;let s=new URL(t),i=cfe(s.search);for(let[c,l]of e){let A=i.get(c);if(Array.isArray(A))if(Array.isArray(l)){A.push(...l);let u=new Set(A);i.set(c,Array.from(u))}else A.push(l);else A?(Array.isArray(l)?l.unshift(A):r.has(c)&&i.set(c,[A,l]),n||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 A of l)a.push(`${c}=${A}`);else a.push(`${c}=${l}`);return s.search=a.length?`?${a.join("&")}`:"",s.toString()}o(lfe,"appendQueryParams");var Ww=Qs("core-client");var Ed=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&&Ww.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||wV(),this.pipeline=e.pipeline||Afe(e),e.additionalPolicies?.length)for(let{policy:r,position:n}of e.additionalPolicies){let s=n==="perRetry"?"Sign":void 0;this.pipeline.addPolicy(r,{afterPhase:s})}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,r){let n=r.baseUrl||this._endpoint;if(!n)throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let s=SV(n,r,e,this),i=gd({url:s});i.method=r.httpMethod;let a=bi(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 A=l.requestOptions;A&&(A.timeout&&(i.timeout=A.timeout),A.onUploadProgress&&(i.onUploadProgress=A.onUploadProgress),A.onDownloadProgress&&(i.onDownloadProgress=A.onDownloadProgress),A.shouldDeserialize!==void 0&&(a.shouldDeserialize=A.shouldDeserialize),A.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=xV(r));try{let A=await this.sendRequest(i),u=Hw(A,r.responses[A.status]);return l?.onResponse&&l.onResponse(A,u),u}catch(A){if(typeof A=="object"&&A?.response){let u=A.response,d=Hw(u,r.responses[A.statusCode]||r.responses.default);A.details=d,l?.onResponse&&l.onResponse(u,d,A)}throw A}}};function Afe(t){let e=ufe(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return yd({...t,credentialOptions:r})}o(Afe,"createDefaultPipeline");function ufe(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(ufe,"getCredentialScopes");var RV={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function dfe(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(dfe,"isUuid");var Qg=o(async t=>{let e=gfe(t.request),r=hfe(t.response);if(r){let n=ffe(r),s=pfe(t,n),i=mfe(n);if(!i)return!1;let a=await t.getAccessToken(s,{...e,tenantId:i});return a?(t.request.headers.set(RV.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");function mfe(t){let n=new URL(t.authorization_uri).pathname.split("/")[1];if(n&&dfe(n))return n}o(mfe,"extractTenantId");function pfe(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=RV.DefaultScope;let n=r.toString();return n==="https://disk.azure.com/.default"&&(n="https://disk.azure.com//.default"),[n]}o(pfe,"buildScopes");function hfe(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(hfe,"getChallenge");function ffe(t){return`${t.slice(7).trim()} `.split(" ").filter(s=>s).map(s=>(([i,a])=>({[i]:a}))(s.trim().split("="))).reduce((s,i)=>({...s,...i}),{})}o(ffe,"parseChallenge");function gfe(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(gfe,"requestToOptions");var PV=Symbol("Original PipelineRequest"),yfe=Symbol.for("@azure/core-client original request");function Id(t,e={}){let n=t[PV],s=xi(t.headers.toJson({preserveCase:!0}));if(n)return n.headers=s,n;{let i=gd({url:t.url,method:t.method,headers:s,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[yfe]=e.originalRequest),i}}o(Id,"toPipelineRequest");function wa(t,e){let r=e?.originalRequest??t,n={url:t.url,method:t.method,headers:Bd(t.headers),withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.headers.get("x-ms-client-request-id")||t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,keepAlive:!!t.disableKeepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides,clone(){throw new Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw new Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return e?.createProxy?new Proxy(n,{get(s,i,a){return i===PV?t:i==="clone"?()=>wa(Id(n,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(s,i,a)},set(s,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(s,i,a,c)}}):n}o(wa,"toWebResourceLike");function Bd(t){return new $w(t.toJSON({preserveCase:!0}))}o(Bd,"toHttpHeadersLike");function Cd(t){return t.toLowerCase()}o(Cd,"getHeaderKey");var $w=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[Cd(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[Cd(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[Cd(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[Cd(e)],r}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let r in this._headersMap)e.push(this._headersMap[r]);return e}headerNames(){let e=[],r=this.headersArray();for(let n=0;n{let r=await t.sendRequest(wa(e,{createProxy:!0}));return bg(r)},"sendRequest")}}o(Xw,"convertHttpClient");var kV=":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",Ife=kV+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Bfe="["+kV+"]["+Ife+"]*",Qfe=new RegExp("^"+Bfe+"$");function wg(t,e){let r=[],n=e.exec(t);for(;n;){let s=[];s.startIndex=e.lastIndex-n[0].length;let i=n.length;for(let a=0;a"u")},"isName");function TV(t){return typeof t<"u"}o(TV,"isExist");var xd=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],Ng=["__proto__","constructor","prototype"];var xfe={allowBooleanAttributes:!1,unpairedTags:[]};function Sg(t,e){e=Object.assign({},xfe,e);let r=[],n=!1,s=!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--),!Dfe(l)){let d;return l.trim().length===0?d="Invalid space after '<'.":d="Tag '"+l+"' is an invalid name.",ct("InvalidTag",d,nr(t,i))}let A=Nfe(t,i);if(A===!1)return ct("InvalidAttr","Attributes for '"+l+"' have open quote.",nr(t,i));let u=A.value;if(i=A.index,u[u.length-1]==="/"){let d=i-u.length;u=u.substring(0,u.length-1);let m=FV(u,e);if(m===!0)n=!0;else return ct(m.err.code,m.err.msg,nr(t,d+m.err.line))}else if(c)if(A.tagClosed){if(u.trim().length>0)return ct("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",nr(t,a));if(r.length===0)return ct("InvalidTag","Closing tag '"+l+"' has not been opened.",nr(t,a));{let d=r.pop();if(l!==d.tagName){let m=nr(t,d.tagStartPos);return ct("InvalidTag","Expected closing tag '"+d.tagName+"' (opened in line "+m.line+", col "+m.col+") instead of closing tag '"+l+"'.",nr(t,a))}r.length==0&&(s=!0)}}else return ct("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",nr(t,i));else{let d=FV(u,e);if(d!==!0)return ct(d.err.code,d.err.msg,nr(t,i-u.length+d.err.line));if(s===!0)return ct("InvalidXml","Multiple possible root nodes found.",nr(t,i));e.unpairedTags.indexOf(l)!==-1||r.push({tagName:l,tagStartPos:a}),n=!0}for(i++;i0)return ct("InvalidXml","Invalid '"+JSON.stringify(r.map(i=>i.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return ct("InvalidXml","Start tag expected.",1);return!0}o(Sg,"validate");function MV(t){return t===" "||t===" "||t===` -`||t==="\r"}o(MV,"isWhiteSpace");function LV(t,e){let r=e;for(;e5&&n==="xml")return ct("InvalidXml","XML declaration allowed only at the start of the document.",nr(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}o(LV,"readPI");function _V(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(_V,"readCommentAndCDATA");var bfe='"',wfe="'";function Nfe(t,e){let r="",n="",s=!1;for(;e"&&n===""){s=!0;break}r+=t[e]}return n!==""?!1:{value:r,index:e,tagClosed:s}}o(Nfe,"readAttributeStr");var Sfe=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function FV(t,e){let r=wg(t,Sfe),n={};for(let s=0;s",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"},OV={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"},qV={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"},HV={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"},zV={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"},GV={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:"<"},YV={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"},VV={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"},JV={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"},WV={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"},Rg={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"},$V={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"},jV={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"},kfe={...UV,...OV,...qV,...HV,...zV,...GV,...YV,...VV,...JV,...WV,...Rg,...$V,...jV},wd={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},e0={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 Tfe=new Set("!?\\\\/[]$%{}^&*()<>|+");function KV(t){if(t[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${t}"`);for(let e of t)if(Tfe.has(e))throw new Error(`[EntityReplacer] Invalid character '${e}' in entity name: "${t}"`);return t}o(KV,"validateEntityName");function t0(...t){let e=Object.create(null);for(let r of t)if(r)for(let n of Object.keys(r)){let s=r[n];if(typeof s=="string")e[n]=s;else if(s&&typeof s=="object"&&s.val!==void 0){let i=s.val;typeof i=="string"&&(e[n]=i)}}return e}o(t0,"mergeEntityMaps");var Na="external",Pg="base",r0="all";function Mfe(t){return!t||t===Na?new Set([Na]):t===r0?new Set([r0]):t===Pg?new Set([Pg]):Array.isArray(t)?new Set(t):new Set([Na])}o(Mfe,"parseLimitTiers");var Er=Object.freeze({allow:0,leave:1,remove:2,throw:3}),Lfe=new Set([9,10,13]);function _fe(t){if(!t)return{xmlVersion:1,onLevel:Er.allow,nullLevel:Er.remove};let e=t.xmlVersion===1.1?1.1:1,r=Er[t.onNCR]??Er.allow,n=Er[t.nullNCR]??Er.remove,s=Math.max(n,Er.remove);return{xmlVersion:e,onLevel:r,nullLevel:s}}o(_fe,"parseNCRConfig");var Sl=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:n=>n,this._limitTiers=Mfe(this._limit.applyLimitsTo??Na),this._numericAllowed=e.numericAllowed??!0,this._baseMap=t0(wd,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=_fe(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))KV(r);this._externalMap=t0(e)}addExternalEntity(e,r){KV(e),typeof r=="string"&&r.indexOf("&")===-1&&(this._externalMap[e]=r)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=t0(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,n=[],s=e.length,i=0,a=0,c=this._maxTotalExpansions>0,l=this._maxExpandedLength>0,A=c||l;for(;a=s||e.charCodeAt(d)!==59){a++;continue}let m=e.slice(a+1,d);if(m.length===0){a++;continue}let p,h;if(this._removeSet.has(m))p="",h===void 0&&(h=Na);else if(this._leaveSet.has(m)){a++;continue}else if(m.charCodeAt(0)===35){let f=this._resolveNCR(m);if(f===void 0){a++;continue}p=f,h=Pg}else{let f=this._resolveName(m);p=f?.value,h=f?.tier}if(p===void 0){a++;continue}if(a>i&&n.push(e.slice(i,a)),n.push(p),i=d+1,a=i,A&&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 f=p.length-(m.length+2);if(f>0&&(this._expandedLength+=f,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&&!Lfe.has(e)?Er.remove:-1}_applyNCRAction(e,r,n){switch(e){case Er.allow:return String.fromCodePoint(n);case Er.remove:return"";case Er.leave:return;case Er.throw:throw new Error(`[EntityDecoder] Prohibited numeric character reference &${r}; (U+${n.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(n)}}_resolveNCR(e){let r=e.charCodeAt(1),n;if(r===120||r===88?n=parseInt(e.slice(2),16):n=parseInt(e.slice(1),10),Number.isNaN(n)||n<0||n>1114111)return;let s=this._classifyNCR(n);if(!this._numericAllowed&&sxd.includes(t)?"__"+t:t,"defaultOnDangerousProperty"),Ffe={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:XV};function Ufe(t,e){if(typeof t!="string")return;let r=t.toLowerCase();if(xd.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(Ng.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}o(Ufe,"validatePropertyName");function ZV(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"}:ZV(!0)}o(ZV,"normalizeProcessEntities");var eJ=o(function(t){let e=Object.assign({},Ffe,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:n,name:s}of r)n&&Ufe(n,s);return e.onDangerousProperty===null&&(e.onDangerousProperty=XV),e.processEntities=ZV(e.processEntities,e.htmlEntities),e.unpairedTagsSet=new Set(e.unpairedTags),e.stopNodes&&Array.isArray(e.stopNodes)&&(e.stopNodes=e.stopNodes.map(n=>typeof n=="string"&&n.startsWith("*.")?".."+n.substring(2):n)),e},"buildOptions");var vg;typeof Symbol!="function"?vg="@@xmlMetadata":vg=Symbol("XML Node Metadata");var Cr=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][vg]={startIndex:r})}static getMetaDataSymbol(){return vg}};var tJ=":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",Ofe=tJ+"\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040",rJ=":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}",qfe=rJ+"\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040",nJ=o((t,e,r="")=>{let n=t.replace(":",""),s=e.replace(":",""),i=`[${n}][${s}]*`;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"),Hfe=nJ(tJ,Ofe),zfe=nJ(rJ,qfe,"u"),Gfe=o((t="1.0")=>t==="1.1"?zfe:Hfe,"getRegexes");var Sa=o((t,{xmlVersion:e="1.0"}={})=>Gfe(e).qName.test(t),"qName");var Sd=class{static{o(this,"DocTypeReader")}constructor(e,r){this.suppressValidationErr=!e,this.options=e,this.xmlVersion=r||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,r){let n=Object.create(null),s=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 (${s+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);n[A]=u,s++}}else if(a&&Ra(e,"!ELEMENT",r)){r+=8;let{index:A}=this.readElementExp(e,r+1);r=A}else if(a&&Ra(e,"!ATTLIST",r))r+=8;else if(a&&Ra(e,"!NOTATION",r)){r+=9;let{index:A}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=A}else if(Ra(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:n,i:r}}readEntityExp(e,r){r=Ir(e,r);let n=r;for(;rthis.options.maxEntitySize)throw new Error(`Entity "${s}" size (${i.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return r--,[s,i,r]}readNotationExp(e,r){r=Ir(e,r);let n=r;for(;r{for(;e1||i.length===1&&!c))return t;{let l=Number(r),A=String(l);if(l===0)return l;if(A.search(/[eE]/)!==-1)return e.eNotation?l:t;if(r.indexOf(".")!==-1)return A==="0"||A===a||A===`${s}${a}`?l:t;let u=i?a:r;return i?u===A||s+u===A?l:t:u===A||u===s+A?l:t}}else return t}}else return Zfe(t,Number(r),e)}o(s0,"toNumber");var jfe=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function Kfe(t,e,r){if(!r.eNotation)return t;let n=e.match(jfe);if(n){let s=n[1]||"",i=n[3].indexOf("e")===-1?"E":"e",a=n[2],c=s?t[a.length+1]===i:t[a.length]===i;return a.length>1&&c?t:a.length===1&&(n[3].startsWith(`.${i}`)||n[3][0]===i)?Number(e):a.length>0?r.leadingZeros&&!c?(e=(n[1]||"")+n[3],Number(e)):t:Number(e)}else return t}o(Kfe,"resolveEnotation");function Xfe(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(Xfe,"trimZeros");function n0(t,e){let r=t.trim();if((e===2||e===8)&&(t=r.substring(2)),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(n0,"parse_int");function Zfe(t,e,r){let n=e===1/0;switch(r.infinity.toLowerCase()){case"null":return null;case"infinity":return e;case"string":return n?"Infinity":"-Infinity";default:return t}}o(Zfe,"handleInfinity");function i0(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(i0,"getIgnoreAttributesFn");var $r=class{static{o(this,"Expression")}constructor(e,r={},n){this.pattern=e,this.separator=r.separator||".",this.segments=this._parse(e),this.data=n,this._hasDeepWildcard=this.segments.some(s=>s.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(s=>s.attrName!==void 0),this._hasPositionSelector=this.segments.some(s=>s.position!==void 0)}_parse(e){let r=[],n=0,s="";for(;n0?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 n=r[r.length-1];return n.values!==void 0&&e in n.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)}},Ns=class{static{o(this,"Matcher")}constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new o0(this)}push(e,r=null,n=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let s=this.path.length;this.siblingStacks[s]||(this.siblingStacks[s]=new Map);let i=this.siblingStacks[s],a=n?`${n}:${e}`:e,c=i.get(a)||0,l=0;for(let u of i.values())l+=u;i.set(a,c+1);let A={tag:e,position:l,counter:c};n!=null&&(A.namespace=n),r!=null&&(A.values=r),this.path.push(A)}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 n=e||this.separator;if(n===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(n);return this._pathStringCache=i,i}return this.path.map(i=>r&&i.namespace?`${i.namespace}:${i.tag}`:i.tag).join(n)}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 s=e[n];if(s.type==="deep-wildcard"){if(n--,n<0)return!0;let i=e[n],a=!1;for(let c=r;c>=0;c--)if(this._matchSegment(i,this.path[c],c===this.path.length-1)){r=c-1,n--,a=!0;break}if(!a)return!1}else{if(!this._matchSegment(s,this.path[r],r===this.path.length-1))return!1;r--,n--}}return n<0}_matchSegment(e,r,n){if(e.tag!=="*"&&e.tag!==r.tag||e.namespace!==void 0&&e.namespace!=="*"&&e.namespace!==r.namespace||e.attrName!==void 0&&(!n||!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(!n)return!1;let s=r.counter??0;if(e.position==="first"&&s!==0)return!1;if(e.position==="odd"&&s%2!==1)return!1;if(e.position==="even"&&s%2!==0)return!1;if(e.position==="nth"&&s!==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 ege(t,e){if(!t)return{};let r=e.attributesGroupName?t[e.attributesGroupName]:t;if(!r)return{};let n={};for(let s in r)if(s.startsWith(e.attributeNamePrefix)){let i=s.substring(e.attributeNamePrefix.length);n[i]=r[s]}else n[s]=r[s];return n}o(ege,"extractRawAttributes");function tge(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(tge,"extractNamespace");var Rd=class{static{o(this,"OrderedObjParser")}constructor(e,r){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=oge,this.parseTextData=rge,this.resolveNameSpace=nge,this.buildAttributesMap=ige,this.isItStopNode=Age,this.replaceEntitiesValue=cge,this.readStopNodeData=mge,this.saveTextToParentTag=lge,this.addChild=age,this.ignoreAttributesFn=i0(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0;let n={...wd};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?n=this.options.htmlEntities:this.options.htmlEntities===!0&&(n={...e0,...Rg}),this.entityDecoder=new Sl({namedEntities:{...n,...r},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo}})),this.matcher=new Ns,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new Rl;let s=this.options.stopNodes;if(s&&s.length>0){for(let i=0;i0)){a||(t=this.replaceEntitiesValue(t,e,r));let l=c.jPath?r.toString():r,A=c.tagValueProcessor(e,t,l,s,i);return A==null?t:typeof A!=typeof t||A!==t?A:c.trimValues||t.trim()===t?l0(t,c.parseTagValue,c.numberParseOptions):t}}o(rge,"parseTextData");function nge(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(nge,"resolveNameSpace");var sge=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function ige(t,e,r,n=!1){let s=this.options;if(n===!0||s.ignoreAttributes!==!0&&typeof t=="string"){let i=wg(t,sge),a=i.length,c={},l=new Array(a),A=!1,u={};for(let p=0;p",c,"Closing Tag is not closed."),d=t.substring(c+2,u).trim();if(s.removeNSPrefix){let p=d.indexOf(":");p!==-1&&(d=d.substr(p+1))}d=a0(s.transformTagName,d,"",s).tagName,r&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher));let m=this.matcher.getCurrentTag();if(d&&s.unpairedTagsSet.has(d))throw new Error(`Unpaired tag can not be used as closing tag: `);m&&s.unpairedTagsSet.has(m)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),n="",c=u}else if(A===63){let u=c0(t,c,!1,"?>");if(!u)throw new Error("Pi Tag is not closed.");n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let d=this.buildAttributesMap(u.tagExp,this.matcher,u.tagName,!0);if(d){let m=d[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(m)||1),i.setXmlVersion(Number(m)||1)}if(!(s.ignoreDeclaration&&u.tagName==="?xml"||s.ignorePiTags)){let m=new Cr(u.tagName);m.add(s.textNodeName,""),u.tagName!==u.tagExp&&u.attrExpPresent&&s.ignoreAttributes!==!0&&(m[":@"]=d),this.addChild(r,m,this.readonlyMatcher,c)}c=u.closeIndex+1}else if(A===33&&t.charCodeAt(c+2)===45&&t.charCodeAt(c+3)===45){let u=Pl(t,"-->",c+4,"Comment is not closed.");if(s.commentPropName){let d=t.substring(c+4,u-2);n=this.saveTextToParentTag(n,r,this.readonlyMatcher),r.add(s.commentPropName,[{[s.textNodeName]:d}])}c=u}else if(A===33&&t.charCodeAt(c+2)===68){let u=i.readDocType(t,c);this.entityDecoder.addInputEntities(u.entities),c=u.i}else if(A===33&&t.charCodeAt(c+2)===91){let u=Pl(t,"]]>",c,"CDATA is not closed.")-2,d=t.substring(c+9,u);n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let m=this.parseTextData(d,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);m==null&&(m=""),s.cdataPropName?r.add(s.cdataPropName,[{[s.textNodeName]:d}]):r.add(s.textNodeName,m),c=u+2}else{let u=c0(t,c,s.removeNSPrefix);if(!u){let S=t.substring(Math.max(0,c-50),Math.min(a,c+50));throw new Error(`readTagExp returned undefined at position ${c}. Context: "${S}"`)}let d=u.tagName,m=u.rawTagName,p=u.tagExp,h=u.attrExpPresent,f=u.closeIndex;if({tagName:d,tagExp:p}=a0(s.transformTagName,d,p,s),s.strictReservedNames&&(d===s.commentPropName||d===s.cdataPropName||d===s.textNodeName||d===s.attributesGroupName))throw new Error(`Invalid tag name: ${d}`);r&&n&&r.tagname!=="!xml"&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher,!1));let C=r;C&&s.unpairedTagsSet.has(C.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let y=!1;p.length>0&&p.lastIndexOf("/")===p.length-1&&(y=!0,d[d.length-1]==="/"?(d=d.substr(0,d.length-1),p=d):p=p.substr(0,p.length-1),h=d!==p);let E=null,I={},B;B=tge(m),d!==e.tagname&&this.matcher.push(d,{},B),d!==p&&h&&(E=this.buildAttributesMap(p,this.matcher,d),E&&(I=ege(E,s))),d!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let N=c;if(this.isCurrentNodeStopNode){let S="";if(y)c=u.closeIndex;else if(s.unpairedTagsSet.has(d))c=u.closeIndex;else{let ue=this.readStopNodeData(t,m,f+1);if(!ue)throw new Error(`Unexpected end of ${m}`);c=ue.i,S=ue.tagContent}let F=new Cr(d);E&&(F[":@"]=E),F.add(s.textNodeName,S),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,F,this.readonlyMatcher,N)}else{if(y){({tagName:d,tagExp:p}=a0(s.transformTagName,d,p,s));let S=new Cr(d);E&&(S[":@"]=E),this.addChild(r,S,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(s.unpairedTagsSet.has(d)){let S=new Cr(d);E&&(S[":@"]=E),this.addChild(r,S,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1,c=u.closeIndex;continue}else{let S=new Cr(d);if(this.tagsNodeStack.length>s.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),E&&(S[":@"]=E),this.addChild(r,S,this.readonlyMatcher,N),r=S}n="",c=f}}}else n+=t[c];return e.child},"parseXml");function age(t,e,r,n){this.options.captureMetaData||(n=void 0);let s=this.options.jPath?r.toString():r,i=this.options.updateTag(e.tagname,s,e[":@"]);i===!1||(typeof i=="string"&&(e.tagname=i),t.addChild(e,n))}o(age,"addChild");function cge(t,e,r){let n=this.options.processEntities;if(!n||!n.enabled)return t;if(n.allowedTags){let s=this.options.jPath?r.toString():r;if(!(Array.isArray(n.allowedTags)?n.allowedTags.includes(e):n.allowedTags(e,s)))return t}if(n.tagFilter){let s=this.options.jPath?r.toString():r;if(!n.tagFilter(e,s))return t}return this.entityDecoder.decode(t)}o(cge,"replaceEntitiesValue");function lge(t,e,r,n){return t&&(n===void 0&&(n=e.child.length===0),t=this.parseTextData(t,e.tagname,r,!1,e[":@"]?Object.keys(e[":@"]).length!==0:!1,n),t!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}o(lge,"saveTextToParentTag");function Age(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}o(Age,"isItStopNode");function uge(t,e,r=">"){let n=0,s=t.length,i=r.charCodeAt(0),a=r.length>1?r.charCodeAt(1):-1,c="",l=e;for(let A=e;A",r,`${e} is not closed`);if(t.substring(r+2,c).trim()===e&&(s--,s===0))return{tagContent:t.substring(n,r),i:c};r=c}else if(a===63)r=Pl(t,"?>",r+1,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===45&&t.charCodeAt(r+3)===45)r=Pl(t,"-->",r+3,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===91)r=Pl(t,"]]>",r,"StopNode is not closed.")-2;else{let c=c0(t,r,!1);c&&((c&&c.tagName)===e&&c.tagExp[c.tagExp.length-1]!=="/"&&s++,r=c.closeIndex)}}}o(mge,"readStopNodeData");function l0(t,e,r){if(e&&typeof t=="string"){let n=t.trim();return n==="true"?!0:n==="false"?!1:s0(t,r)}else return TV(t)?t:""}o(l0,"parseValue");function a0(t,e,r,n){if(t){let s=t(e);r===e&&(r=s),e=s}return e=sJ(e,n),{tagName:e,tagExp:r}}o(a0,"transformTagName");function sJ(t,e){if(Ng.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return xd.includes(t)?e.onDangerousProperty(t):t}o(sJ,"sanitizeName");var A0=Cr.getMetaDataSymbol();function pge(t,e){if(!t||typeof t!="object")return{};if(!e)return t;let r={};for(let n in t)if(n.startsWith(e)){let s=n.substring(e.length);r[s]=t[n]}else r[n]=t[n];return r}o(pge,"stripAttributePrefix");function u0(t,e,r,n){return iJ(t,e,r,n)}o(u0,"prettify");function iJ(t,e,r,n){let s,i={};for(let a=0;a0&&(i[e.textNodeName]=s):s!==void 0&&(i[e.textNodeName]=s),i}o(iJ,"compress");function hge(t){let e=Object.keys(t);for(let r=0;r/g,"]]]]>")}o(kg,"safeCdata");function xo(t){return String(t).replace(/"/g,""").replace(/'/g,"'")}o(xo,"escapeAttribute");var yge=` -`;function Ege(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(p0(r)==="?xml"){let s=r[":@"];if(s){let i=e.attributeNamePrefix+"version";if(s[i])return s[i]}}return"1.0"}o(Ege,"detectXmlVersionFromArray");function aJ(t,e,r,n,s){return!r.sanitizeName||Sa(t,{xmlVersion:s})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(aJ,"resolveTagName");function m0(t,e){let r="";e.format&&(r=yge);let n=[];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=d0(l,e),l}return""}for(let l=0;l`,c=!1,n.pop();continue}else if(m===e.commentPropName){let I=A[u][0][e.textNodeName],B=Dg(I);a+=r+``,c=!0,n.pop();continue}else if(m[0]==="?"){let I=oJ(A[":@"],e,h,n,i);a+=(m==="?xml"?"":r)+`<${m}${I}?>`,c=!0,n.pop();continue}let f=r;f!==""&&(f+=e.indentBy);let C=oJ(A[":@"],e,h,n,i),y=r+`<${m}${C}`,E;h?E=lJ(A[u],e):E=cJ(A[u],e,f,n,s,i),e.unpairedTags.indexOf(m)!==-1?e.suppressUnpairedNode?a+=y+">":a+=y+"/>":(!E||E.length===0)&&e.suppressEmptyNode?a+=y+"/>":E&&E.endsWith(">")?a+=y+`>${E}${r}`:(a+=y+">",E&&r!==""&&(E.includes("/>")||E.includes("`),c=!0,n.pop()}return a}o(cJ,"arrToStr");function Cge(t,e){if(!t||e.ignoreAttributes)return null;let r={},n=!1;for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let i=s.startsWith(e.attributeNamePrefix)?s.substr(e.attributeNamePrefix.length):s;r[i]=xo(t[s]),n=!0}return n?r:null}o(Cge,"extractAttributeValues");function lJ(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let n=0;n`:r+=`<${i}${a}>${c}`}}}return r}o(lJ,"getRawContent");function Ige(t,e){let r="";if(t&&!e.ignoreAttributes)for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let s=t[n];s===!0&&e.suppressBooleanAttributes?r+=` ${n.substr(e.attributeNamePrefix.length)}`:r+=` ${n.substr(e.attributeNamePrefix.length)}="${xo(s)}"`}return r}o(Ige,"attr_to_str_raw");function p0(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(h0,"getIgnoreAttributesFn");var Qge={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 Br(t){if(this.options=Object.assign({},Qge,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 +`,"utf-8")],s=che(n);s&&t.headers.set("Content-Length",s),t.body=await $Y(n)}o(lhe,"buildRequestBody");var md="multipartPolicy",Ahe=70,uhe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function dhe(t){if(t.length>Ahe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!uhe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(dhe,"assertValidBoundary");function dg(){return{name:md,async sendRequest(t,e){if(!t.multipartBody)return e(t);if(t.body)throw new Error("multipartBody and regular body cannot be set at the same time");let r=t.multipartBody.boundary,n=t.headers.get("Content-Type")??"multipart/mixed",s=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!s)throw new Error(`Got multipart request body, but content-type header was not multipart: ${n}`);let[,i,a]=s;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?dhe(r):r=ihe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await lhe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(dg,"multipartPolicy");function mg(){return Lf()}o(mg,"createEmptyPipeline");var jY=kf({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),mUe=jY.logger;function xs(t){return jY.createClientLogger(t)}o(xs,"createClientLogger");var bs=xs("core-rest-pipeline");function Bw(t={}){return Hf({logger:bs.info,...t})}o(Bw,"logPolicy");var Qw=zf;function xw(t={}){return Gf(t)}o(xw,"redirectPolicy");var pg=Q(require("node:os"),1),hg=Q(require("node:process"),1);function KY(){return"User-Agent"}o(KY,"getHeaderName");async function XY(t){if(hg.default&&hg.default.versions){let e=`${pg.default.type()} ${pg.default.release()}; ${pg.default.arch()}`,r=hg.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(XY,"setPlatformSpecificData");var fg="1.22.2";function Che(t){let e=[];for(let[r,n]of t){let s=n?`${r}/${n}`:r;e.push(s)}return e.join(" ")}o(Che,"getUserAgentString");function ZY(){return KY()}o(ZY,"getUserAgentHeaderName");async function gg(t){let e=new Map;e.set("core-rest-pipeline",fg),await XY(e);let r=Che(e);return t?`${t} ${r}`:r}o(gg,"getUserAgentValue");var eV=ZY(),tV="userAgentPolicy";function bw(t={}){let e=gg(t.userAgentPrefix);return{name:tV,async sendRequest(r,n){return r.headers.has(eV)||r.headers.set(eV,await e),n(r)}}}o(bw,"userAgentPolicy");var Vr=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function ww(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:s}=e??{};return new Promise((i,a)=>{function c(){a(new Vr(s??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){n?.removeEventListener("abort",A)}o(l,"removeListeners");function A(){r?.(),l(),c()}if(o(A,"onAbort"),n?.aborted)return c();try{t(u=>{l(),i(u)},u=>{l(),a(u)})}catch(u){a(u)}n?.addEventListener("abort",A)})}o(ww,"createAbortablePromise");var bhe="The delay was aborted.";function pd(t,e){let r,{abortSignal:n,abortErrorMsg:s}=e??{};return ww(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:s??bhe})}o(pd,"delay");function Io(t){if(Ia(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(Io,"getErrorMessage");function rV(t){return Ia(t)}o(rV,"isError");function wl(){return Ca()}o(wl,"randomUUID");var Ce=xa;var nV=Symbol("rawContent");function Sw(t){return typeof t[nV]=="function"}o(Sw,"hasRawContent");function sV(t){return Sw(t)?t[nV]():t}o(sV,"getRawContent");var yg=md;function Rw(){let t=dg();return{name:yg,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)Sw(n.body)&&(n.body=sV(n.body));return t.sendRequest(e,r)},"sendRequest")}}o(Rw,"multipartPolicy");var Pw=Yf;function vw(){return Vf()}o(vw,"decompressResponsePolicy");function Dw(t={}){return $f(t)}o(Dw,"defaultRetryPolicy");function kw(){return jf()}o(kw,"formDataPolicy");function Bo(t){return gw(t)}o(Bo,"getDefaultProxySettings");function Tw(t,e){return ag(t,e)}o(Tw,"proxyPolicy");var iV="setClientRequestIdPolicy";function Mw(t="x-ms-client-request-id"){return{name:iV,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(Mw,"setClientRequestIdPolicy");function Lw(t){return cg(t)}o(Lw,"agentPolicy");function _w(t){return lg(t)}o(_w,"tlsPolicy");var Nl={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function oV(t={}){let e=new Fw(t.parentContext);return t.span&&(e=e.setValue(Nl.span,t.span)),t.namespace&&(e=e.setValue(Nl.namespace,t.namespace)),e}o(oV,"createTracingContext");var Fw=class t{static{o(this,"TracingContextImpl")}_contextMap;constructor(e){this._contextMap=e instanceof t?new Map(e._contextMap):new Map}setValue(e,r){let n=new t(this);return n._contextMap.set(e,r),n}getValue(e){return this._contextMap.get(e)}deleteValue(e){let r=new t(this);return r._contextMap.delete(e),r}};var cV=Q(aV(),1),Cg=cV.state;function whe(){return{end:o(()=>{},"end"),isRecording:o(()=>!1,"isRecording"),recordException:o(()=>{},"recordException"),setAttribute:o(()=>{},"setAttribute"),setStatus:o(()=>{},"setStatus"),addEvent:o(()=>{},"addEvent")}}o(whe,"createDefaultTracingSpan");function Nhe(){return{createRequestHeaders:o(()=>({}),"createRequestHeaders"),parseTraceparentHeader:o(()=>{},"parseTraceparentHeader"),startSpan:o((t,e)=>({span:whe(),tracingContext:oV({parentContext:e.tracingContext})}),"startSpan"),withContext(t,e,...r){return e(...r)}}}o(Nhe,"createDefaultInstrumenter");function hd(){return Cg.instrumenterImplementation||(Cg.instrumenterImplementation=Nhe()),Cg.instrumenterImplementation}o(hd,"getInstrumenter");function fd(t){let{namespace:e,packageName:r,packageVersion:n}=t;function s(A,u,d){let m=hd().startSpan(A,{...d,packageName:r,packageVersion:n,tracingContext:u?.tracingOptions?.tracingContext}),p=m.tracingContext,h=m.span;p.getValue(Nl.namespace)||(p=p.setValue(Nl.namespace,e)),h.setAttribute("az.namespace",p.getValue(Nl.namespace));let f=Object.assign({},u,{tracingOptions:{...u?.tracingOptions,tracingContext:p}});return{span:h,updatedOptions:f}}o(s,"startSpan");async function i(A,u,d,m){let{span:p,updatedOptions:h}=s(A,u,m);try{let f=await a(h.tracingOptions.tracingContext,()=>Promise.resolve(d(h,p)));return p.setStatus({status:"success"}),f}catch(f){throw p.setStatus({status:"error",error:f}),f}finally{p.end()}}o(i,"withSpan");function a(A,u,...d){return hd().withContext(A,u,...d)}o(a,"withContext");function c(A){return hd().parseTraceparentHeader(A)}o(c,"parseTraceparentHeader");function l(A){return hd().createRequestHeaders(A)}return o(l,"createRequestHeaders"),{startSpan:s,withSpan:i,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o(fd,"createTracingClient");var xi=rr;function wa(t){return _f(t)}o(wa,"isRestError");var lV="tracingPolicy";function Uw(t={}){let e=gg(t.userAgentPrefix),r=new Gn({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),n=She();return{name:lV,async sendRequest(s,i){if(!n)return i(s);let a=await e,c={"http.url":r.sanitizeUrl(s.url),"http.method":s.method,"http.user_agent":a,requestId:s.requestId};a&&(c["http.user_agent"]=a);let{span:l,tracingContext:A}=Rhe(n,s,c)??{};if(!l||!A)return i(s);try{let u=await n.withContext(A,i,s);return vhe(l,u),u}catch(u){throw Phe(l,u),u}}}}o(Uw,"tracingPolicy");function She(){try{return fd({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:fg})}catch(t){bs.warning(`Error when creating the TracingClient: ${Io(t)}`);return}}o(She,"tryCreateTracingClient");function Rhe(t,e,r){try{let{span:n,updatedOptions:s}=t.startSpan(`HTTP ${e.method}`,{tracingOptions:e.tracingOptions},{spanKind:"client",spanAttributes:r});if(!n.isRecording()){n.end();return}let i=t.createRequestHeaders(s.tracingOptions.tracingContext);for(let[a,c]of Object.entries(i))e.headers.set(a,c);return{span:n,tracingContext:s.tracingOptions.tracingContext}}catch(n){bs.warning(`Skipping creating a tracing span due to an error: ${Io(n)}`);return}}o(Rhe,"tryCreateSpan");function Phe(t,e){try{t.setStatus({status:"error",error:rV(e)?e:void 0}),wa(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){bs.warning(`Skipping tracing span processing due to an error: ${Io(r)}`)}}o(Phe,"tryProcessError");function vhe(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){bs.warning(`Skipping tracing span processing due to an error: ${Io(r)}`)}}o(vhe,"tryProcessResponse");function Ig(t){if(t instanceof AbortSignal)return{abortSignal:t};if(t.aborted)return{abortSignal:AbortSignal.abort(t.reason)};let e=new AbortController,r=!0;function n(){r&&(t.removeEventListener("abort",s),r=!1)}o(n,"cleanup");function s(){e.abort(t.reason),n()}return o(s,"listener"),t.addEventListener("abort",s),{abortSignal:e.signal,cleanup:n}}o(Ig,"wrapAbortSignalLike");var Dhe="wrapAbortSignalLikePolicy";function AV(){return{name:Dhe,sendRequest:o(async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:n}=Ig(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}},"sendRequest")}}o(AV,"wrapAbortSignalLikePolicy");function Ow(t){let e=mg();return Ce&&(t.agent&&e.addPolicy(Lw(t.agent)),t.tlsOptions&&e.addPolicy(_w(t.tlsOptions)),e.addPolicy(Tw(t.proxyOptions)),e.addPolicy(vw())),e.addPolicy(AV()),e.addPolicy(kw(),{beforePolicies:[yg]}),e.addPolicy(bw(t.userAgentOptions)),e.addPolicy(Mw(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(Rw(),{afterPhase:"Deserialize"}),e.addPolicy(Dw(t.retryOptions),{phase:"Retry"}),e.addPolicy(Uw({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),Ce&&e.addPolicy(xw(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(Bw(t.loggingOptions),{afterPhase:"Sign"}),e}o(Ow,"createPipelineFromOptions");function gd(){let t=qf();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?Ig(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}o(gd,"createDefaultHttpClient");function bi(t){return Hr(t)}o(bi,"createHttpHeaders");function yd(t){return Mf(t)}o(yd,"createPipelineRequest");var zHe=xs("core-rest-pipeline retryPolicy");var khe={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function The(t,e,r){async function n(){if(Date.now()t.getToken(l,A),"tryGetAccessToken"),i.retryIntervalInMs,n?.expiresOnTimestamp??Date.now()).then(d=>(r=null,n=d,s=A.tenantId,n)).catch(d=>{throw r=null,n=null,s=void 0,d})),r}return o(c,"refresh"),async(l,A)=>{let u=!!A.claims,d=s!==A.tenantId;return u&&(n=null),d||u||a.mustRefresh?c(l,A):(a.shouldRefresh&&c(l,A),n)}}o(qw,"createTokenCycler");var pV="bearerTokenAuthenticationPolicy";async function Bg(t,e){try{return[await e(t),void 0]}catch(r){if(wa(r)&&r.response)return[r.response,r];throw r}}o(Bg,"trySendRequest");async function Mhe(t){let{scopes:e,getAccessToken:r,request:n}=t,s={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions,enableCae:!0},i=await r(e,s);i&&t.request.headers.set("Authorization",`Bearer ${i.token}`)}o(Mhe,"defaultAuthorizeRequest");function uV(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(uV,"isChallengeResponse");async function dV(t,e){let{scopes:r}=t,n=await t.getAccessToken(r,{enableCae:!0,claims:e});return n?(t.request.headers.set("Authorization",`${n.tokenType??"Bearer"} ${n.token}`),!0):!1}o(dV,"authorizeRequestOnCaeChallenge");function Sl(t){let{credential:e,scopes:r,challengeCallbacks:n}=t,s=t.logger||bs,i={authorizeRequest:n?.authorizeRequest?.bind(n)??Mhe,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)},a=e?qw(e):()=>Promise.resolve(null);return{name:pV,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:s});let A,u,d;if([A,u]=await Bg(c,l),uV(A)){let m=mV(A.headers.get("WWW-Authenticate"));if(m){let p;try{p=atob(m)}catch{return s.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${m}`),A}d=await dV({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:s},p),d&&([A,u]=await Bg(c,l))}else if(i.authorizeRequestOnChallenge&&(d=await i.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:c,response:A,getAccessToken:a,logger:s}),d&&([A,u]=await Bg(c,l)),uV(A)&&(m=mV(A.headers.get("WWW-Authenticate")),m))){let p;try{p=atob(m)}catch{return s.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${m}`),A}d=await dV({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:s},p),d&&([A,u]=await Bg(c,l))}}if(u)throw u;return A}}}o(Sl,"bearerTokenAuthenticationPolicy");function Lhe(t){let e=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,r=/(\w+)="([^"]*)"/g,n=[],s;for(;(s=e.exec(t))!==null;){let i=s[1],a=s[2],c={},l;for(;(l=r.exec(a))!==null;)c[l[1]]=l[2];n.push({scheme:i,params:c})}return n}o(Lhe,"parseChallenges");function mV(t){return t?Lhe(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(mV,"getCaeChallengeClaims");function Jr(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(Jr,"isTokenCredential");var Hw="DisableKeepAlivePolicy";function hV(){return{name:Hw,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(hV,"createDisableKeepAlivePolicy");function fV(t){return t.getOrderedPolicies().some(e=>e.name===Hw)}o(fV,"pipelineContainsDisableKeepAlivePolicy");function zw(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(zw,"encodeByteArray");function Gw(t){return Buffer.from(t,"base64")}o(Gw,"decodeString");function Fhe(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(Fhe,"isPrimitiveBody");var Uhe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function gV(t){return Uhe.test(t)}o(gV,"isDuration");var Ohe=/^[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 yV(t){return Ohe.test(t)}o(yV,"isValidUuid");function qhe(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(qhe,"handleNullableResponseAndWrappableBody");function Yw(t,e){let r=t.parsedHeaders;if(t.request.method==="HEAD")return{...r,body:t.parsedBody};let n=e&&e.bodyMapper,s=!!n?.nullable,i=n?.type.name;if(i==="Stream")return{...r,blobBody:t.blobBody,readableStreamBody:t.readableStreamBody};let a=i==="Composite"&&n.type.modelProperties||{},c=Object.keys(a).some(l=>a[l].serializedName==="");if(i==="Sequence"||c){let l=t.parsedBody??[];for(let A of Object.keys(a))a[A].serializedName&&(l[A]=t.parsedBody?.[A]);if(r)for(let A of Object.keys(r))l[A]=r[A];return s&&!t.parsedBody&&!r&&Object.getOwnPropertyNames(a).length===0?null:l}return qhe({body:t.parsedBody,headers:r,hasNullableType:s,shouldWrapBody:Fhe(t.parsedBody,i)})}o(Yw,"flattenResponse");var Vw=class{static{o(this,"SerializerImpl")}modelMappers;isXML;constructor(e={},r=!1){this.modelMappers=e,this.isXML=r}validateConstraints(e,r,n){let s=o((i,a)=>{throw new Error(`"${n}" 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:A,MaxLength:u,MinItems:d,MinLength:m,MultipleOf:p,Pattern:h,UniqueItems:f}=e.constraints;if(i!==void 0&&r>=i&&s("ExclusiveMaximum",i),a!==void 0&&r<=a&&s("ExclusiveMinimum",a),c!==void 0&&r>c&&s("InclusiveMaximum",c),l!==void 0&&rA&&s("MaxItems",A),u!==void 0&&r.length>u&&s("MaxLength",u),d!==void 0&&r.lengthE.indexOf(C)!==y)&&s("UniqueItems",f)}}serialize(e,r,n,s={xml:{}}){let i={xml:{rootName:s.xml.rootName??"",includeRoot:s.xml.includeRoot??!1,xmlCharKey:s.xml.xmlCharKey??"_"}},a={},c=e.type.name;n||(n=e.serializedName),c.match(/^Sequence$/i)!==null&&(a=[]),e.isConstant&&(r=e.defaultValue);let{required:l,nullable:A}=e;if(l&&A&&r===void 0)throw new Error(`${n} cannot be undefined.`);if(l&&!A&&r==null)throw new Error(`${n} cannot be null or undefined.`);if(!l&&A===!1&&r===null)throw new Error(`${n} cannot be null.`);return r==null||c.match(/^any$/i)!==null?a=r:c.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null?a=Jhe(c,n,r):c.match(/^Enum$/i)!==null?a=Whe(n,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=Khe(c,r,n):c.match(/^ByteArray$/i)!==null?a=$he(n,r):c.match(/^Base64Url$/i)!==null?a=jhe(n,r):c.match(/^Sequence$/i)!==null?a=Xhe(this,e,r,n,!!this.isXML,i):c.match(/^Dictionary$/i)!==null?a=Zhe(this,e,r,n,!!this.isXML,i):c.match(/^Composite$/i)!==null&&(a=tfe(this,e,r,n,!!this.isXML,i)),a}deserialize(e,r,n,s={xml:{}}){let i={xml:{rootName:s.xml.rootName??"",includeRoot:s.xml.includeRoot??!1,xmlCharKey:s.xml.xmlCharKey??"_"},ignoreUnknownProperties:s.ignoreUnknownProperties??!1};if(r==null)return this.isXML&&e.type.name==="Sequence"&&!e.xmlIsWrapped&&(r=[]),e.defaultValue!==void 0&&(r=e.defaultValue),r;let a,c=e.type.name;if(n||(n=e.serializedName),c.match(/^Composite$/i)!==null)a=nfe(this,e,r,n,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=Vhe(r):c.match(/^ByteArray$/i)!==null?a=Gw(r):c.match(/^Base64Url$/i)!==null?a=Ghe(r):c.match(/^Sequence$/i)!==null?a=ife(this,e,r,n,i):c.match(/^Dictionary$/i)!==null&&(a=sfe(this,e,r,n,i))}return e.isConstant&&(a=e.defaultValue),a}};function Wr(t={},e=!1){return new Vw(t,e)}o(Wr,"createSerializer");function Hhe(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(Hhe,"trimEnd");function zhe(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=zw(t);return Hhe(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(zhe,"bufferToBase64Url");function Ghe(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,"/"),Gw(t)}}o(Ghe,"base64UrlToByteArray");function Jw(t){let e=[],r="";if(t){let n=t.split(".");for(let s of n)s.charAt(s.length-1)==="\\"?r+=s.substr(0,s.length-1)+".":(r+=s,e.push(r),r="")}return e}o(Jw,"splitSerializeName");function Yhe(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(Yhe,"dateToUnixTime");function Vhe(t){if(t)return new Date(t*1e3)}o(Vhe,"unixTimeToDate");function Jhe(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"&&yV(r)))throw new Error(`${e} with value "${r}" must be of type string and a valid uuid.`)}else if(t.match(/^Boolean$/i)!==null){if(typeof r!="boolean")throw new Error(`${e} with value ${r} must be of type boolean.`)}else if(t.match(/^Stream$/i)!==null){let n=typeof r;if(n!=="string"&&typeof r.pipe!="function"&&typeof r.tee!="function"&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!((typeof Blob=="function"||typeof Blob=="object")&&r instanceof Blob)&&n!=="function")throw new Error(`${e} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}o(Jhe,"serializeBasicTypes");function Whe(t,e,r){if(!e)throw new Error(`Please provide a set of allowedValues to validate ${t} as an Enum Type.`);if(!e.some(s=>typeof s.valueOf()=="string"?s.toLowerCase()===r.toLowerCase():s===r))throw new Error(`${r} is not a valid value for ${t}. The valid values are: ${JSON.stringify(e)}.`);return r}o(Whe,"serializeEnumType");function $he(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=zw(e)}return e}o($he,"serializeByteArrayType");function jhe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=zhe(e)}return e}o(jhe,"serializeBase64UrlType");function Khe(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=Yhe(e)}else if(t.match(/^TimeSpan$/i)!==null&&!gV(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(Khe,"serializeDateTypes");function Xhe(t,e,r,n,s,i){if(!Array.isArray(r))throw new Error(`${n} must be of type Array.`);let a=e.type.element;if(!a||typeof a!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}.`);a.type.name==="Composite"&&a.type.className&&(a=t.modelMappers[a.type.className]??a);let c=[];for(let l=0;lm!==u)&&(a[u]=t.serialize(l,r[u],n+'["'+u+'"]',i))}return a}return r}o(tfe,"serializeCompositeType");function BV(t,e,r,n){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[n.xml.xmlCharKey]=e,a["$"]=i,a}o(BV,"getXmlObjectValue");function rfe(t,e){return["$",e.xml.xmlCharKey].includes(t)}o(rfe,"isSpecialXmlProperty");function nfe(t,e,r,n,s){let i=s.xml.xmlCharKey??"_";Qg(t,e)&&(e=QV(t,e,r,"serializedName"));let a=IV(t,e,n),c={},l=[];for(let u of Object.keys(a)){let d=a[u],m=Jw(a[u].serializedName);l.push(m[0]);let{serializedName:p,xmlName:h,xmlElementName:f}=d,C=n;p!==""&&p!==void 0&&(C=n+"."+p);let y=d.headerCollectionPrefix;if(y){let E={};for(let I of Object.keys(r))I.startsWith(y)&&(E[I.substring(y.length)]=t.deserialize(d.type.value,r[I],C,s)),l.push(I);c[u]=E}else if(t.isXML)if(d.xmlIsAttribute&&r["$"])c[u]=t.deserialize(d,r["$"][h],C,s);else if(d.xmlIsMsText)r[i]!==void 0?c[u]=r[i]:typeof r=="string"&&(c[u]=r);else{let E=f||h||p;if(d.xmlIsWrapped){let B=r[h]?.[f]??[];c[u]=t.deserialize(d,B,C,s),l.push(h)}else{let I=r[E];c[u]=t.deserialize(d,I,C,s),l.push(E)}}else{let E,I=r,B=0;for(let F of m){if(!I)break;B++,I=I[F]}I===null&&B{for(let m in a)if(Jw(a[m].serializedName)[0]===d)return!1;return!0},"isAdditionalProperty");for(let d in r)u(d)&&(c[d]=t.deserialize(A,r[d],n+'["'+d+'"]',s))}else if(r&&!s.ignoreUnknownProperties)for(let u of Object.keys(r))c[u]===void 0&&!l.includes(u)&&!rfe(u,s)&&(c[u]=r[u]);return c}o(nfe,"deserializeCompositeType");function sfe(t,e,r,n,s){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 ${n}`);if(r){let a={};for(let c of Object.keys(r))a[c]=t.deserialize(i,r[c],n,s);return a}return r}o(sfe,"deserializeDictionaryType");function ife(t,e,r,n,s){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 ${n}`);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(s.isConstant)i=s.defaultValue;else{let a=wV(t,n);!a.propertyFound&&r&&(a=wV(r,n));let c=!1;a.propertyFound||(c=s.required||n[0]==="options"&&n.length===2),i=c?s.defaultValue:a.propertyValue}}else{s.required&&(i={});for(let a in n){let c=s.type.modelProperties[a],l=n[a],A=xo(t,{parameterPath:l,mapper:c},r);A!==void 0&&(i||(i={}),i[a]=A)}}return i}o(xo,"getOperationArgumentValueFromParameter");function wV(t,e){let r={propertyFound:!1},n=0;for(;n=200&&r.status<300);l.headersMapper&&(i.parsedHeaders=c.serializer.deserialize(l.headersMapper,i.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return i}o(dfe,"deserializeResponseBody");function mfe(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(mfe,"isOperationSpecEmpty");function pfe(t,e,r,n){let s=200<=t.status&&t.status<300;if(mfe(e)?s:!!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 xi(c,{statusCode:t.status,request:t.request,response:t});if(!a&&!(t.parsedBody?.error?.code&&t.parsedBody?.error?.message))throw l;let A=a?.bodyMapper,u=a?.headersMapper;try{if(t.parsedBody){let d=t.parsedBody,m;if(A){let h=d;if(e.isXML&&A.type.name===ws.Sequence){h=[];let f=A.xmlElementName;typeof d=="object"&&f&&(h=d[f])}m=e.serializer.deserialize(A,h,"error.response.parsedBody",n)}let p=d.error||m||d;l.code=p.code,p.message&&(l.message=p.message),A&&(l.response.parsedBody=m)}t.headers&&u&&(l.response.parsedHeaders=e.serializer.deserialize(u,t.headers.toJSON(),"operationRes.parsedHeaders"))}catch(d){l.message=`Error "${d.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:l,shouldReturnResponse:!1}}o(pfe,"handleErrorResponse");async function hfe(t,e,r,n,s){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(!s)throw new Error("Parsing XML not supported.");let l=await s(i,n.xml);return r.parsedBody=l,r}}catch(l){let A=`Error "${l}" occurred while parsing the response body - ${r.bodyAsText}.`,u=l.code||xi.PARSE_ERROR;throw new xi(A,{code:u,statusCode:r.status,request:r.request,response:r})}}return r}o(hfe,"parse");function RV(t){let e=new Set;for(let r in t.responses){let n=t.responses[r];n.bodyMapper&&n.bodyMapper.type.name===ws.Stream&&e.add(Number(r))}return e}o(RV,"getStreamingResponseStatusCodes");function Ns(t){let{parameterPath:e,mapper:r}=t,n;return typeof e=="string"?n=e:Array.isArray(e)?n=e.join("."):n=r.serializedName,n}o(Ns,"getPathStringFromParameter");var PV="serializationPolicy";function bg(t={}){let e=t.stringifyXML;return{name:PV,async sendRequest(r,n){let s=wi(r),i=s?.operationSpec,a=s?.operationArguments;return i&&a&&(ffe(r,a,i),gfe(r,a,i,e)),n(r)}}}o(bg,"serializationPolicy");function ffe(t,e,r){if(r.headerParameters)for(let s of r.headerParameters){let i=xo(e,s);if(i!=null||s.mapper.required){i=r.serializer.serialize(s.mapper,i,Ns(s));let a=s.mapper.headerCollectionPrefix;if(a)for(let c of Object.keys(i))t.headers.set(a+c,i[c]);else t.headers.set(s.mapper.serializedName||Ns(s),i)}}let n=e.options?.requestOptions?.customHeaders;if(n)for(let s of Object.keys(n))t.headers.set(s,n[s])}o(ffe,"serializeHeaders");function gfe(t,e,r,n=function(){throw new Error("XML serialization unsupported!")}){let s=e.options?.serializerOptions,i={xml:{rootName:s?.xml.rootName??"",includeRoot:s?.xml.includeRoot??!1,xmlCharKey:s?.xml.xmlCharKey??"_"}},a=i.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=xo(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:A,xmlName:u,xmlElementName:d,xmlNamespace:m,xmlNamespacePrefix:p,nullable:h}=c,f=c.type.name;try{if(t.body!==void 0&&t.body!==null||h&&t.body===null||l){let C=Ns(r.requestBody);t.body=r.serializer.serialize(c,t.body,C,i);let y=f===ws.Stream;if(r.isXML){let E=p?`xmlns:${p}`:"xmlns",I=yfe(m,E,f,t.body,i);f===ws.Sequence?t.body=n(Efe(I,d||u||A,E,m),{rootName:u||A,xmlCharKey:a}):y||(t.body=n(I,{rootName:u||A,xmlCharKey:a}))}else{if(f===ws.String&&(r.contentType?.match("text/plain")||r.mediaType==="text"))return;y||(t.body=JSON.stringify(t.body))}}}catch(C){throw new Error(`Error "${C.message}" occurred in serializing the payload - ${JSON.stringify(A,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){t.formData={};for(let c of r.formDataParameters){let l=xo(e,c);if(l!=null){let A=c.mapper.serializedName||Ns(c);t.formData[A]=r.serializer.serialize(c.mapper,l,Ns(c),i)}}}}o(gfe,"serializeRequestBody");function yfe(t,e,r,n,s){if(t&&!["Composite","Sequence","Dictionary"].includes(r)){let i={};return i[s.xml.xmlCharKey]=n,i["$"]={[e]:t},i}return n}o(yfe,"getXmlValueWithNamespace");function Efe(t,e,r,n){if(Array.isArray(t)||(t=[t]),!r||!n)return{[e]:t};let s={[e]:t};return s["$"]={[r]:n},s}o(Efe,"prepareXMLRootList");function Ed(t={}){let e=Ow(t??{});return t.credentialOptions&&e.addPolicy(Sl({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(bg(t.serializationOptions),{phase:"Serialize"}),e.addPolicy($w(t.deserializationOptions),{phase:"Deserialize"}),e}o(Ed,"createClientPipeline");var jw;function vV(){return jw||(jw=gd()),jw}o(vV,"getCachedDefaultHttpClient");var Cfe={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function kV(t,e,r,n){let s=Ife(e,r,n),i=!1,a=DV(t,s);if(e.path){let A=DV(e.path,s);e.path==="/{nextLink}"&&A.startsWith("/")&&(A=A.substring(1)),Bfe(A)?(a=A,i=!0):a=Qfe(a,A)}let{queryParams:c,sequenceParams:l}=xfe(e,r,n);return a=wfe(a,c,l,i),a}o(kV,"getRequestUrl");function DV(t,e){let r=t;for(let[n,s]of e)r=r.split(n).join(s);return r}o(DV,"replaceAll");function Ife(t,e,r){let n=new Map;if(t.urlParameters?.length)for(let s of t.urlParameters){let i=xo(e,s,r),a=Ns(s);i=t.serializer.serialize(s.mapper,i,a),s.skipEncoding||(i=encodeURIComponent(i)),n.set(`{${s.mapper.serializedName||a}}`,i)}return n}o(Ife,"calculateUrlReplacements");function Bfe(t){return t.includes("://")}o(Bfe,"isAbsoluteUrl");function Qfe(t,e){if(!e)return t;let r=new URL(t),n=r.pathname;n.endsWith("/")||(n=`${n}/`),e.startsWith("/")&&(e=e.substring(1));let s=e.indexOf("?");if(s!==-1){let i=e.substring(0,s),a=e.substring(s+1);n=n+i,a&&(r.search=r.search?`${r.search}&${a}`:a)}else n=n+e;return r.pathname=n,r.toString()}o(Qfe,"appendPath");function xfe(t,e,r){let n=new Map,s=new Set;if(t.queryParameters?.length)for(let i of t.queryParameters){i.mapper.type.name==="Sequence"&&i.mapper.serializedName&&s.add(i.mapper.serializedName);let a=xo(e,i,r);if(a!=null||i.mapper.required){a=t.serializer.serialize(i.mapper,a,Ns(i));let c=i.collectionFormat?Cfe[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)),n.set(i.mapper.serializedName||Ns(i),a)}}return{queryParams:n,sequenceParams:s}}o(xfe,"calculateQueryParameters");function bfe(t){let e=new Map;if(!t||t[0]!=="?")return e;t=t.slice(1);let r=t.split("&");for(let n of r){let[s,i]=n.split("=",2),a=e.get(s);a?Array.isArray(a)?a.push(i):e.set(s,[a,i]):e.set(s,i)}return e}o(bfe,"simpleParseQueryParams");function wfe(t,e,r,n=!1){if(e.size===0)return t;let s=new URL(t),i=bfe(s.search);for(let[c,l]of e){let A=i.get(c);if(Array.isArray(A))if(Array.isArray(l)){A.push(...l);let u=new Set(A);i.set(c,Array.from(u))}else A.push(l);else A?(Array.isArray(l)?l.unshift(A):r.has(c)&&i.set(c,[A,l]),n||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 A of l)a.push(`${c}=${A}`);else a.push(`${c}=${l}`);return s.search=a.length?`?${a.join("&")}`:"",s.toString()}o(wfe,"appendQueryParams");var Kw=xs("core-client");var Cd=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&&Kw.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||vV(),this.pipeline=e.pipeline||Nfe(e),e.additionalPolicies?.length)for(let{policy:r,position:n}of e.additionalPolicies){let s=n==="perRetry"?"Sign":void 0;this.pipeline.addPolicy(r,{afterPhase:s})}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,r){let n=r.baseUrl||this._endpoint;if(!n)throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let s=kV(n,r,e,this),i=yd({url:s});i.method=r.httpMethod;let a=wi(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 A=l.requestOptions;A&&(A.timeout&&(i.timeout=A.timeout),A.onUploadProgress&&(i.onUploadProgress=A.onUploadProgress),A.onDownloadProgress&&(i.onDownloadProgress=A.onDownloadProgress),A.shouldDeserialize!==void 0&&(a.shouldDeserialize=A.shouldDeserialize),A.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=RV(r));try{let A=await this.sendRequest(i),u=Yw(A,r.responses[A.status]);return l?.onResponse&&l.onResponse(A,u),u}catch(A){if(typeof A=="object"&&A?.response){let u=A.response,d=Yw(u,r.responses[A.statusCode]||r.responses.default);A.details=d,l?.onResponse&&l.onResponse(u,d,A)}throw A}}};function Nfe(t){let e=Sfe(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return Ed({...t,credentialOptions:r})}o(Nfe,"createDefaultPipeline");function Sfe(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(Sfe,"getCredentialScopes");var TV={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function Rfe(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(Rfe,"isUuid");var wg=o(async t=>{let e=Tfe(t.request),r=Dfe(t.response);if(r){let n=kfe(r),s=vfe(t,n),i=Pfe(n);if(!i)return!1;let a=await t.getAccessToken(s,{...e,tenantId:i});return a?(t.request.headers.set(TV.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");function Pfe(t){let n=new URL(t.authorization_uri).pathname.split("/")[1];if(n&&Rfe(n))return n}o(Pfe,"extractTenantId");function vfe(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=TV.DefaultScope;let n=r.toString();return n==="https://disk.azure.com/.default"&&(n="https://disk.azure.com//.default"),[n]}o(vfe,"buildScopes");function Dfe(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(Dfe,"getChallenge");function kfe(t){return`${t.slice(7).trim()} `.split(" ").filter(s=>s).map(s=>(([i,a])=>({[i]:a}))(s.trim().split("="))).reduce((s,i)=>({...s,...i}),{})}o(kfe,"parseChallenge");function Tfe(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(Tfe,"requestToOptions");var MV=Symbol("Original PipelineRequest"),Mfe=Symbol.for("@azure/core-client original request");function Bd(t,e={}){let n=t[MV],s=bi(t.headers.toJson({preserveCase:!0}));if(n)return n.headers=s,n;{let i=yd({url:t.url,method:t.method,headers:s,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[Mfe]=e.originalRequest),i}}o(Bd,"toPipelineRequest");function Na(t,e){let r=e?.originalRequest??t,n={url:t.url,method:t.method,headers:Qd(t.headers),withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.headers.get("x-ms-client-request-id")||t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,keepAlive:!!t.disableKeepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides,clone(){throw new Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw new Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return e?.createProxy?new Proxy(n,{get(s,i,a){return i===MV?t:i==="clone"?()=>Na(Bd(n,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(s,i,a)},set(s,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(s,i,a,c)}}):n}o(Na,"toWebResourceLike");function Qd(t){return new Xw(t.toJSON({preserveCase:!0}))}o(Qd,"toHttpHeadersLike");function Id(t){return t.toLowerCase()}o(Id,"getHeaderKey");var Xw=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[Id(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[Id(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[Id(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[Id(e)],r}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let r in this._headersMap)e.push(this._headersMap[r]);return e}headerNames(){let e=[],r=this.headersArray();for(let n=0;n{let r=await t.sendRequest(Na(e,{createProxy:!0}));return Sg(r)},"sendRequest")}}o(t0,"convertHttpClient");var FV=":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",Ffe=FV+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ufe="["+FV+"]["+Ffe+"]*",Ofe=new RegExp("^"+Ufe+"$");function Rg(t,e){let r=[],n=e.exec(t);for(;n;){let s=[];s.startIndex=e.lastIndex-n[0].length;let i=n.length;for(let a=0;a"u")},"isName");function UV(t){return typeof t<"u"}o(UV,"isExist");var bd=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],Pg=["__proto__","constructor","prototype"];var qfe={allowBooleanAttributes:!1,unpairedTags:[]};function vg(t,e){e=Object.assign({},qfe,e);let r=[],n=!1,s=!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--),!$fe(l)){let d;return l.trim().length===0?d="Invalid space after '<'.":d="Tag '"+l+"' is an invalid name.",at("InvalidTag",d,nr(t,i))}let A=Gfe(t,i);if(A===!1)return at("InvalidAttr","Attributes for '"+l+"' have open quote.",nr(t,i));let u=A.value;if(i=A.index,u[u.length-1]==="/"){let d=i-u.length;u=u.substring(0,u.length-1);let m=zV(u,e);if(m===!0)n=!0;else return at(m.err.code,m.err.msg,nr(t,d+m.err.line))}else if(c)if(A.tagClosed){if(u.trim().length>0)return at("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",nr(t,a));if(r.length===0)return at("InvalidTag","Closing tag '"+l+"' has not been opened.",nr(t,a));{let d=r.pop();if(l!==d.tagName){let m=nr(t,d.tagStartPos);return at("InvalidTag","Expected closing tag '"+d.tagName+"' (opened in line "+m.line+", col "+m.col+") instead of closing tag '"+l+"'.",nr(t,a))}r.length==0&&(s=!0)}}else return at("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",nr(t,i));else{let d=zV(u,e);if(d!==!0)return at(d.err.code,d.err.msg,nr(t,i-u.length+d.err.line));if(s===!0)return at("InvalidXml","Multiple possible root nodes found.",nr(t,i));e.unpairedTags.indexOf(l)!==-1||r.push({tagName:l,tagStartPos:a}),n=!0}for(i++;i0)return at("InvalidXml","Invalid '"+JSON.stringify(r.map(i=>i.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return at("InvalidXml","Start tag expected.",1);return!0}o(vg,"validate");function OV(t){return t===" "||t===" "||t===` +`||t==="\r"}o(OV,"isWhiteSpace");function qV(t,e){let r=e;for(;e5&&n==="xml")return at("InvalidXml","XML declaration allowed only at the start of the document.",nr(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}o(qV,"readPI");function HV(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(HV,"readCommentAndCDATA");var Hfe='"',zfe="'";function Gfe(t,e){let r="",n="",s=!1;for(;e"&&n===""){s=!0;break}r+=t[e]}return n!==""?!1:{value:r,index:e,tagClosed:s}}o(Gfe,"readAttributeStr");var Yfe=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function zV(t,e){let r=Rg(t,Yfe),n={};for(let s=0;s",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"},YV={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"},VV={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"},JV={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"},WV={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"},$V={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:"<"},jV={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"},KV={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"},XV={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"},ZV={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"},Dg={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"},eJ={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"},tJ={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"},jfe={...GV,...YV,...VV,...JV,...WV,...$V,...jV,...KV,...XV,...ZV,...Dg,...eJ,...tJ},Nd={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},n0={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 Kfe=new Set("!?\\\\/[]$%{}^&*()<>|+");function rJ(t){if(t[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${t}"`);for(let e of t)if(Kfe.has(e))throw new Error(`[EntityReplacer] Invalid character '${e}' in entity name: "${t}"`);return t}o(rJ,"validateEntityName");function s0(...t){let e=Object.create(null);for(let r of t)if(r)for(let n of Object.keys(r)){let s=r[n];if(typeof s=="string")e[n]=s;else if(s&&typeof s=="object"&&s.val!==void 0){let i=s.val;typeof i=="string"&&(e[n]=i)}}return e}o(s0,"mergeEntityMaps");var Sa="external",kg="base",i0="all";function Xfe(t){return!t||t===Sa?new Set([Sa]):t===i0?new Set([i0]):t===kg?new Set([kg]):Array.isArray(t)?new Set(t):new Set([Sa])}o(Xfe,"parseLimitTiers");var Er=Object.freeze({allow:0,leave:1,remove:2,throw:3}),Zfe=new Set([9,10,13]);function ege(t){if(!t)return{xmlVersion:1,onLevel:Er.allow,nullLevel:Er.remove};let e=t.xmlVersion===1.1?1.1:1,r=Er[t.onNCR]??Er.allow,n=Er[t.nullNCR]??Er.remove,s=Math.max(n,Er.remove);return{xmlVersion:e,onLevel:r,nullLevel:s}}o(ege,"parseNCRConfig");var Pl=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:n=>n,this._limitTiers=Xfe(this._limit.applyLimitsTo??Sa),this._numericAllowed=e.numericAllowed??!0,this._baseMap=s0(Nd,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=ege(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))rJ(r);this._externalMap=s0(e)}addExternalEntity(e,r){rJ(e),typeof r=="string"&&r.indexOf("&")===-1&&(this._externalMap[e]=r)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=s0(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,n=[],s=e.length,i=0,a=0,c=this._maxTotalExpansions>0,l=this._maxExpandedLength>0,A=c||l;for(;a=s||e.charCodeAt(d)!==59){a++;continue}let m=e.slice(a+1,d);if(m.length===0){a++;continue}let p,h;if(this._removeSet.has(m))p="",h===void 0&&(h=Sa);else if(this._leaveSet.has(m)){a++;continue}else if(m.charCodeAt(0)===35){let f=this._resolveNCR(m);if(f===void 0){a++;continue}p=f,h=kg}else{let f=this._resolveName(m);p=f?.value,h=f?.tier}if(p===void 0){a++;continue}if(a>i&&n.push(e.slice(i,a)),n.push(p),i=d+1,a=i,A&&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 f=p.length-(m.length+2);if(f>0&&(this._expandedLength+=f,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&&!Zfe.has(e)?Er.remove:-1}_applyNCRAction(e,r,n){switch(e){case Er.allow:return String.fromCodePoint(n);case Er.remove:return"";case Er.leave:return;case Er.throw:throw new Error(`[EntityDecoder] Prohibited numeric character reference &${r}; (U+${n.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(n)}}_resolveNCR(e){let r=e.charCodeAt(1),n;if(r===120||r===88?n=parseInt(e.slice(2),16):n=parseInt(e.slice(1),10),Number.isNaN(n)||n<0||n>1114111)return;let s=this._classifyNCR(n);if(!this._numericAllowed&&sbd.includes(t)?"__"+t:t,"defaultOnDangerousProperty"),tge={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:nJ};function rge(t,e){if(typeof t!="string")return;let r=t.toLowerCase();if(bd.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(Pg.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}o(rge,"validatePropertyName");function sJ(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"}:sJ(!0)}o(sJ,"normalizeProcessEntities");var iJ=o(function(t){let e=Object.assign({},tge,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:n,name:s}of r)n&&rge(n,s);return e.onDangerousProperty===null&&(e.onDangerousProperty=nJ),e.processEntities=sJ(e.processEntities,e.htmlEntities),e.unpairedTagsSet=new Set(e.unpairedTags),e.stopNodes&&Array.isArray(e.stopNodes)&&(e.stopNodes=e.stopNodes.map(n=>typeof n=="string"&&n.startsWith("*.")?".."+n.substring(2):n)),e},"buildOptions");var Tg;typeof Symbol!="function"?Tg="@@xmlMetadata":Tg=Symbol("XML Node Metadata");var Cr=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][Tg]={startIndex:r})}static getMetaDataSymbol(){return Tg}};var oJ=":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",nge=oJ+"\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040",aJ=":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}",sge=aJ+"\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040",cJ=o((t,e,r="")=>{let n=t.replace(":",""),s=e.replace(":",""),i=`[${n}][${s}]*`;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"),ige=cJ(oJ,nge),oge=cJ(aJ,sge,"u"),age=o((t="1.0")=>t==="1.1"?oge:ige,"getRegexes");var Ra=o((t,{xmlVersion:e="1.0"}={})=>age(e).qName.test(t),"qName");var Rd=class{static{o(this,"DocTypeReader")}constructor(e,r){this.suppressValidationErr=!e,this.options=e,this.xmlVersion=r||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,r){let n=Object.create(null),s=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 (${s+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);n[A]=u,s++}}else if(a&&Pa(e,"!ELEMENT",r)){r+=8;let{index:A}=this.readElementExp(e,r+1);r=A}else if(a&&Pa(e,"!ATTLIST",r))r+=8;else if(a&&Pa(e,"!NOTATION",r)){r+=9;let{index:A}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=A}else if(Pa(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:n,i:r}}readEntityExp(e,r){r=Ir(e,r);let n=r;for(;rthis.options.maxEntitySize)throw new Error(`Entity "${s}" size (${i.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return r--,[s,i,r]}readNotationExp(e,r){r=Ir(e,r);let n=r;for(;r{for(;e1||i.length===1&&!c))return t;{let l=Number(r),A=String(l);if(l===0)return l;if(A.search(/[eE]/)!==-1)return e.eNotation?l:t;if(r.indexOf(".")!==-1)return A==="0"||A===a||A===`${s}${a}`?l:t;let u=i?a:r;return i?u===A||s+u===A?l:t:u===A||u===s+A?l:t}}else return t}}else return fge(t,Number(r),e)}o(a0,"toNumber");var mge=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function pge(t,e,r){if(!r.eNotation)return t;let n=e.match(mge);if(n){let s=n[1]||"",i=n[3].indexOf("e")===-1?"E":"e",a=n[2],c=s?t[a.length+1]===i:t[a.length]===i;return a.length>1&&c?t:a.length===1&&(n[3].startsWith(`.${i}`)||n[3][0]===i)?Number(e):a.length>0?r.leadingZeros&&!c?(e=(n[1]||"")+n[3],Number(e)):t:Number(e)}else return t}o(pge,"resolveEnotation");function hge(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(hge,"trimZeros");function o0(t,e){let r=t.trim();if((e===2||e===8)&&(t=r.substring(2)),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(o0,"parse_int");function fge(t,e,r){let n=e===1/0;switch(r.infinity.toLowerCase()){case"null":return null;case"infinity":return e;case"string":return n?"Infinity":"-Infinity";default:return t}}o(fge,"handleInfinity");function c0(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(c0,"getIgnoreAttributesFn");var $r=class{static{o(this,"Expression")}constructor(e,r={},n){this.pattern=e,this.separator=r.separator||".",this.segments=this._parse(e),this.data=n,this._hasDeepWildcard=this.segments.some(s=>s.type==="deep-wildcard"),this._hasAttributeCondition=this.segments.some(s=>s.attrName!==void 0),this._hasPositionSelector=this.segments.some(s=>s.position!==void 0)}_parse(e){let r=[],n=0,s="";for(;n0?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 n=r[r.length-1];return n.values!==void 0&&e in n.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)}},Ss=class{static{o(this,"Matcher")}constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new l0(this)}push(e,r=null,n=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let s=this.path.length;this.siblingStacks[s]||(this.siblingStacks[s]=new Map);let i=this.siblingStacks[s],a=n?`${n}:${e}`:e,c=i.get(a)||0,l=0;for(let u of i.values())l+=u;i.set(a,c+1);let A={tag:e,position:l,counter:c};n!=null&&(A.namespace=n),r!=null&&(A.values=r),this.path.push(A)}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 n=e||this.separator;if(n===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(n);return this._pathStringCache=i,i}return this.path.map(i=>r&&i.namespace?`${i.namespace}:${i.tag}`:i.tag).join(n)}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 s=e[n];if(s.type==="deep-wildcard"){if(n--,n<0)return!0;let i=e[n],a=!1;for(let c=r;c>=0;c--)if(this._matchSegment(i,this.path[c],c===this.path.length-1)){r=c-1,n--,a=!0;break}if(!a)return!1}else{if(!this._matchSegment(s,this.path[r],r===this.path.length-1))return!1;r--,n--}}return n<0}_matchSegment(e,r,n){if(e.tag!=="*"&&e.tag!==r.tag||e.namespace!==void 0&&e.namespace!=="*"&&e.namespace!==r.namespace||e.attrName!==void 0&&(!n||!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(!n)return!1;let s=r.counter??0;if(e.position==="first"&&s!==0)return!1;if(e.position==="odd"&&s%2!==1)return!1;if(e.position==="even"&&s%2!==0)return!1;if(e.position==="nth"&&s!==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 gge(t,e){if(!t)return{};let r=e.attributesGroupName?t[e.attributesGroupName]:t;if(!r)return{};let n={};for(let s in r)if(s.startsWith(e.attributeNamePrefix)){let i=s.substring(e.attributeNamePrefix.length);n[i]=r[s]}else n[s]=r[s];return n}o(gge,"extractRawAttributes");function yge(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(yge,"extractNamespace");var Pd=class{static{o(this,"OrderedObjParser")}constructor(e,r){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=Qge,this.parseTextData=Ege,this.resolveNameSpace=Cge,this.buildAttributesMap=Bge,this.isItStopNode=Nge,this.replaceEntitiesValue=bge,this.readStopNodeData=Pge,this.saveTextToParentTag=wge,this.addChild=xge,this.ignoreAttributesFn=c0(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0;let n={...Nd};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?n=this.options.htmlEntities:this.options.htmlEntities===!0&&(n={...n0,...Dg}),this.entityDecoder=new Pl({namedEntities:{...n,...r},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo}})),this.matcher=new Ss,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new vl;let s=this.options.stopNodes;if(s&&s.length>0){for(let i=0;i0)){a||(t=this.replaceEntitiesValue(t,e,r));let l=c.jPath?r.toString():r,A=c.tagValueProcessor(e,t,l,s,i);return A==null?t:typeof A!=typeof t||A!==t?A:c.trimValues||t.trim()===t?d0(t,c.parseTagValue,c.numberParseOptions):t}}o(Ege,"parseTextData");function Cge(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(Cge,"resolveNameSpace");var Ige=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function Bge(t,e,r,n=!1){let s=this.options;if(n===!0||s.ignoreAttributes!==!0&&typeof t=="string"){let i=Rg(t,Ige),a=i.length,c={},l=new Array(a),A=!1,u={};for(let p=0;p",c,"Closing Tag is not closed."),d=t.substring(c+2,u).trim();if(s.removeNSPrefix){let p=d.indexOf(":");p!==-1&&(d=d.substr(p+1))}d=A0(s.transformTagName,d,"",s).tagName,r&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher));let m=this.matcher.getCurrentTag();if(d&&s.unpairedTagsSet.has(d))throw new Error(`Unpaired tag can not be used as closing tag: `);m&&s.unpairedTagsSet.has(m)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),n="",c=u}else if(A===63){let u=u0(t,c,!1,"?>");if(!u)throw new Error("Pi Tag is not closed.");n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let d=this.buildAttributesMap(u.tagExp,this.matcher,u.tagName,!0);if(d){let m=d[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(m)||1),i.setXmlVersion(Number(m)||1)}if(!(s.ignoreDeclaration&&u.tagName==="?xml"||s.ignorePiTags)){let m=new Cr(u.tagName);m.add(s.textNodeName,""),u.tagName!==u.tagExp&&u.attrExpPresent&&s.ignoreAttributes!==!0&&(m[":@"]=d),this.addChild(r,m,this.readonlyMatcher,c)}c=u.closeIndex+1}else if(A===33&&t.charCodeAt(c+2)===45&&t.charCodeAt(c+3)===45){let u=Dl(t,"-->",c+4,"Comment is not closed.");if(s.commentPropName){let d=t.substring(c+4,u-2);n=this.saveTextToParentTag(n,r,this.readonlyMatcher),r.add(s.commentPropName,[{[s.textNodeName]:d}])}c=u}else if(A===33&&t.charCodeAt(c+2)===68){let u=i.readDocType(t,c);this.entityDecoder.addInputEntities(u.entities),c=u.i}else if(A===33&&t.charCodeAt(c+2)===91){let u=Dl(t,"]]>",c,"CDATA is not closed.")-2,d=t.substring(c+9,u);n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let m=this.parseTextData(d,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);m==null&&(m=""),s.cdataPropName?r.add(s.cdataPropName,[{[s.textNodeName]:d}]):r.add(s.textNodeName,m),c=u+2}else{let u=u0(t,c,s.removeNSPrefix);if(!u){let S=t.substring(Math.max(0,c-50),Math.min(a,c+50));throw new Error(`readTagExp returned undefined at position ${c}. Context: "${S}"`)}let d=u.tagName,m=u.rawTagName,p=u.tagExp,h=u.attrExpPresent,f=u.closeIndex;if({tagName:d,tagExp:p}=A0(s.transformTagName,d,p,s),s.strictReservedNames&&(d===s.commentPropName||d===s.cdataPropName||d===s.textNodeName||d===s.attributesGroupName))throw new Error(`Invalid tag name: ${d}`);r&&n&&r.tagname!=="!xml"&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher,!1));let C=r;C&&s.unpairedTagsSet.has(C.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let y=!1;p.length>0&&p.lastIndexOf("/")===p.length-1&&(y=!0,d[d.length-1]==="/"?(d=d.substr(0,d.length-1),p=d):p=p.substr(0,p.length-1),h=d!==p);let E=null,I={},B;B=yge(m),d!==e.tagname&&this.matcher.push(d,{},B),d!==p&&h&&(E=this.buildAttributesMap(p,this.matcher,d),E&&(I=gge(E,s))),d!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let N=c;if(this.isCurrentNodeStopNode){let S="";if(y)c=u.closeIndex;else if(s.unpairedTagsSet.has(d))c=u.closeIndex;else{let de=this.readStopNodeData(t,m,f+1);if(!de)throw new Error(`Unexpected end of ${m}`);c=de.i,S=de.tagContent}let F=new Cr(d);E&&(F[":@"]=E),F.add(s.textNodeName,S),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,F,this.readonlyMatcher,N)}else{if(y){({tagName:d,tagExp:p}=A0(s.transformTagName,d,p,s));let S=new Cr(d);E&&(S[":@"]=E),this.addChild(r,S,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(s.unpairedTagsSet.has(d)){let S=new Cr(d);E&&(S[":@"]=E),this.addChild(r,S,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1,c=u.closeIndex;continue}else{let S=new Cr(d);if(this.tagsNodeStack.length>s.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),E&&(S[":@"]=E),this.addChild(r,S,this.readonlyMatcher,N),r=S}n="",c=f}}}else n+=t[c];return e.child},"parseXml");function xge(t,e,r,n){this.options.captureMetaData||(n=void 0);let s=this.options.jPath?r.toString():r,i=this.options.updateTag(e.tagname,s,e[":@"]);i===!1||(typeof i=="string"&&(e.tagname=i),t.addChild(e,n))}o(xge,"addChild");function bge(t,e,r){let n=this.options.processEntities;if(!n||!n.enabled)return t;if(n.allowedTags){let s=this.options.jPath?r.toString():r;if(!(Array.isArray(n.allowedTags)?n.allowedTags.includes(e):n.allowedTags(e,s)))return t}if(n.tagFilter){let s=this.options.jPath?r.toString():r;if(!n.tagFilter(e,s))return t}return this.entityDecoder.decode(t)}o(bge,"replaceEntitiesValue");function wge(t,e,r,n){return t&&(n===void 0&&(n=e.child.length===0),t=this.parseTextData(t,e.tagname,r,!1,e[":@"]?Object.keys(e[":@"]).length!==0:!1,n),t!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}o(wge,"saveTextToParentTag");function Nge(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}o(Nge,"isItStopNode");function Sge(t,e,r=">"){let n=0,s=t.length,i=r.charCodeAt(0),a=r.length>1?r.charCodeAt(1):-1,c="",l=e;for(let A=e;A",r,`${e} is not closed`);if(t.substring(r+2,c).trim()===e&&(s--,s===0))return{tagContent:t.substring(n,r),i:c};r=c}else if(a===63)r=Dl(t,"?>",r+1,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===45&&t.charCodeAt(r+3)===45)r=Dl(t,"-->",r+3,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===91)r=Dl(t,"]]>",r,"StopNode is not closed.")-2;else{let c=u0(t,r,!1);c&&((c&&c.tagName)===e&&c.tagExp[c.tagExp.length-1]!=="/"&&s++,r=c.closeIndex)}}}o(Pge,"readStopNodeData");function d0(t,e,r){if(e&&typeof t=="string"){let n=t.trim();return n==="true"?!0:n==="false"?!1:a0(t,r)}else return UV(t)?t:""}o(d0,"parseValue");function A0(t,e,r,n){if(t){let s=t(e);r===e&&(r=s),e=s}return e=lJ(e,n),{tagName:e,tagExp:r}}o(A0,"transformTagName");function lJ(t,e){if(Pg.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return bd.includes(t)?e.onDangerousProperty(t):t}o(lJ,"sanitizeName");var m0=Cr.getMetaDataSymbol();function vge(t,e){if(!t||typeof t!="object")return{};if(!e)return t;let r={};for(let n in t)if(n.startsWith(e)){let s=n.substring(e.length);r[s]=t[n]}else r[n]=t[n];return r}o(vge,"stripAttributePrefix");function p0(t,e,r,n){return AJ(t,e,r,n)}o(p0,"prettify");function AJ(t,e,r,n){let s,i={};for(let a=0;a0&&(i[e.textNodeName]=s):s!==void 0&&(i[e.textNodeName]=s),i}o(AJ,"compress");function Dge(t){let e=Object.keys(t);for(let r=0;r/g,"]]]]>")}o(Lg,"safeCdata");function bo(t){return String(t).replace(/"/g,""").replace(/'/g,"'")}o(bo,"escapeAttribute");var Mge=` +`;function Lge(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(g0(r)==="?xml"){let s=r[":@"];if(s){let i=e.attributeNamePrefix+"version";if(s[i])return s[i]}}return"1.0"}o(Lge,"detectXmlVersionFromArray");function dJ(t,e,r,n,s){return!r.sanitizeName||Ra(t,{xmlVersion:s})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(dJ,"resolveTagName");function f0(t,e){let r="";e.format&&(r=Mge);let n=[];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=h0(l,e),l}return""}for(let l=0;l`,c=!1,n.pop();continue}else if(m===e.commentPropName){let I=A[u][0][e.textNodeName],B=Mg(I);a+=r+``,c=!0,n.pop();continue}else if(m[0]==="?"){let I=uJ(A[":@"],e,h,n,i);a+=(m==="?xml"?"":r)+`<${m}${I}?>`,c=!0,n.pop();continue}let f=r;f!==""&&(f+=e.indentBy);let C=uJ(A[":@"],e,h,n,i),y=r+`<${m}${C}`,E;h?E=pJ(A[u],e):E=mJ(A[u],e,f,n,s,i),e.unpairedTags.indexOf(m)!==-1?e.suppressUnpairedNode?a+=y+">":a+=y+"/>":(!E||E.length===0)&&e.suppressEmptyNode?a+=y+"/>":E&&E.endsWith(">")?a+=y+`>${E}${r}`:(a+=y+">",E&&r!==""&&(E.includes("/>")||E.includes("`),c=!0,n.pop()}return a}o(mJ,"arrToStr");function _ge(t,e){if(!t||e.ignoreAttributes)return null;let r={},n=!1;for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let i=s.startsWith(e.attributeNamePrefix)?s.substr(e.attributeNamePrefix.length):s;r[i]=bo(t[s]),n=!0}return n?r:null}o(_ge,"extractAttributeValues");function pJ(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let n=0;n`:r+=`<${i}${a}>${c}`}}}return r}o(pJ,"getRawContent");function Fge(t,e){let r="";if(t&&!e.ignoreAttributes)for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let s=t[n];s===!0&&e.suppressBooleanAttributes?r+=` ${n.substr(e.attributeNamePrefix.length)}`:r+=` ${n.substr(e.attributeNamePrefix.length)}="${bo(s)}"`}return r}o(Fge,"attr_to_str_raw");function g0(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(y0,"getIgnoreAttributesFn");var Oge={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 Br(t){if(this.options=Object.assign({},Oge,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(Br,"Builder");function xge(t,e){let r=t["?xml"];if(r&&typeof r=="object"){if(e.attributesGroupName&&r[e.attributesGroupName]){let s=r[e.attributesGroupName][e.attributeNamePrefix+"version"];if(s)return s}let n=r[e.attributeNamePrefix+"version"];if(n)return n}return"1.0"}o(xge,"detectXmlVersionFromObj");function f0(t,e,r,n,s){return!r.sanitizeName||Sa(t,{xmlVersion:s})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(f0,"resolveTagName");Br.prototype.build=function(t){if(this.options.preserveOrder)return m0(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new Ns,r=xge(t,this.options);return this.j2x(t,0,e,r).val}};Br.prototype.j2x=function(t,e,r,n){let s="",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 u=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:f0(l,!1,this.options,r,n);if(typeof t[l]>"u")this.isAttribute(l)&&(i+="");else if(t[l]===null)this.isAttribute(l)||u===this.options.cdataPropName||u===this.options.commentPropName?i+="":u[0]==="?"?i+=this.indentate(e)+"<"+u+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+u+"/"+this.tagEndChar;else if(t[l]instanceof Date)i+=this.buildTextValNode(t[l],u,"",e,r);else if(typeof t[l]!="object"){let d=this.isAttribute(l);if(d&&!this.ignoreAttributesFn(d,a)){let m=f0(d,!0,this.options,r,n);s+=this.buildAttrPairStr(m,""+t[l],c)}else if(!d)if(l===this.options.textNodeName){let m=this.options.tagValueProcessor(l,""+t[l]);i+=this.replaceEntitiesValue(m)}else{r.push(u);let m=this.checkStopNode(r);if(r.pop(),m){let p=""+t[l];p===""?i+=this.indentate(e)+"<"+u+this.closeTag(u)+this.tagEndChar:i+=this.indentate(e)+"<"+u+">"+p+""u"))if(f===null)u[0]==="?"?i+=this.indentate(e)+"<"+u+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+u+"/"+this.tagEndChar;else if(typeof f=="object")if(this.options.oneListGroup){r.push(u);let C=this.j2x(f,e+1,r,n);r.pop(),m+=C.val,this.options.attributesGroupName&&f.hasOwnProperty(this.options.attributesGroupName)&&(p+=C.attrStr)}else m+=this.processTextOrObjNode(f,u,e,r,n);else if(this.options.oneListGroup){let C=this.options.tagValueProcessor(u,f);C=this.replaceEntitiesValue(C),m+=C}else{r.push(u);let C=this.checkStopNode(r);if(r.pop(),C){let y=""+f;y===""?m+=this.indentate(e)+"<"+u+this.closeTag(u)+this.tagEndChar:m+=this.indentate(e)+"<"+u+">"+y+"${s}`;else if(typeof s=="object"&&s!==null){let i=this.buildRawContent(s),a=this.buildAttributesForStopNode(s);i===""?e+=`<${r}${a}/>`:e+=`<${r}${a}>${i}`}}else if(typeof n=="object"&&n!==null){let s=this.buildRawContent(n),i=this.buildAttributesForStopNode(n);s===""?e+=`<${r}${i}/>`:e+=`<${r}${i}>${s}`}else e+=`<${r}>${n}`}return e};Br.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 n in r){if(!Object.prototype.hasOwnProperty.call(r,n))continue;let s=n.startsWith(this.options.attributeNamePrefix)?n.substring(this.options.attributeNamePrefix.length):n,i=r[n];i===!0&&this.options.suppressBooleanAttributes?e+=" "+s:e+=" "+s+'="'+i+'"'}}else for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;let n=this.isAttribute(r);if(n){let s=t[r];s===!0&&this.options.suppressBooleanAttributes?e+=" "+n:e+=" "+n+'="'+s+'"'}}return e};Br.prototype.buildObjectNode=function(t,e,r,n){if(t==="")return e[0]==="?"?this.indentate(n)+"<"+e+r+"?"+this.tagEndChar:this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar;if(e[0]==="?")return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let s=""+t+s:this.options.commentPropName!==!1&&e===this.options.commentPropName&&i.length===0?this.indentate(n)+``+this.newLine:this.indentate(n)+"<"+e+r+i+this.tagEndChar+t+this.indentate(n)+s}};Br.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=Dg(t);return this.indentate(n)+``+this.newLine}else{if(e[0]==="?")return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(e,t);return i=this.replaceEntitiesValue(i),i===""?this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar:this.indentate(n)+"<"+e+r+">"+i+"0&&this.options.processEntities)for(let e=0;e${n.build(s)}`.replace(/\n/g,"")}o(Tg,"stringifyXML");async function y0(t,e={}){if(!t)throw new Error("Document is empty");let r=AJ.validate(t);if(r!==!0)throw r;let s=new vl(Rge(e)).parse(t);if(s["?xml"]&&delete s["?xml"],!e.includeRoot)for(let i of Object.keys(s)){let a=s[i];return typeof a=="object"?Object.assign({},a):a}return s}o(y0,"parseXML");var Mg=Qs("storage-blob");var fJ=require("events");var pJ=require("node:stream");var Lg=class extends pJ.Readable{static{o(this,"BuffersStream")}buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,r,n){super(n),this.buffers=e,this.byteLength=r,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let s=0;for(let i of this.buffers)s+=i.byteLength;if(s=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let r=[],n=0;for(;ne-n){let c=this.byteOffsetInCurrentBuffer+e-n;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),this.pushedBytesLength+=e-n,this.byteOffsetInCurrentBuffer=c,n=e;break}else{let c=this.byteOffsetInCurrentBuffer+a;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),a===i?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=c,this.pushedBytesLength+=a,n+=a}}r.length>1?this.push(Buffer.concat(r)):r.length===1&&this.push(r[0])}};var hJ=Q(require("node:buffer"),1);var _g=hJ.default.constants.MAX_LENGTH,Fg=class{static{o(this,"PooledBuffer")}buffers=[];capacity;_size;get size(){return this._size}constructor(e,r,n){this.capacity=e,this._size=0;let s=Math.ceil(e/_g);for(let i=0;i0&&(e[0]=e[0].slice(a))}getReadableStream(){return new Lg(this.buffers,this.size)}};var Ug=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new fJ.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,r,n,s,i,a){if(r<=0)throw new RangeError(`bufferSize must be larger than 0, current is ${r}`);if(n<=0)throw new RangeError(`maxBuffers must be larger than 0, current is ${n}`);if(i<=0)throw new RangeError(`concurrency must be larger than 0, current is ${i}`);this.bufferSize=r,this.maxBuffers=n,this.readable=e,this.outgoingHandler=s,this.concurrency=i,this.encoding=a}async do(){return new Promise((e,r)=>{this.readable.on("data",n=>{n=typeof n=="string"?Buffer.from(n,this.encoding):n,this.appendUnresolvedData(n),this.resolveData()||this.readable.pause()}),this.readable.on("error",n=>{this.emitter.emit("error",n)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",n=>{this.isError=!0,this.readable.pause(),r(n)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0)if(this.unresolvedLength>0&&this.unresolvedLengthn.getReadableStream(),n.size,this.offset).then(e).catch(r)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new Fg(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(n){this.emitter.emit("error",n);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}};var E0;function C0(){return E0||(E0=fd()),E0}o(C0,"getCachedDefaultHttpClient");var Ss=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 wi={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}},Z={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 bo(t,e,r){let n=new URL(t),s=encodeURIComponent(e),i=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[A]=l.split("=",2);A!==s&&c.push(l)}return i&&c.push(`${s}=${i}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o(bo,"setURLParameter");function Og(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(Og,"setURLHost");function qg(t){try{return new URL(t).pathname}catch{return}}o(qg,"getURLPath");function Hg(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(s=>{let i=s.indexOf("="),a=s.lastIndexOf("=");return i>0&&i===a&&a{let i,a=o(()=>{i!==void 0&&clearTimeout(i),s(r)},"abortHandler");i=setTimeout(o(()=>{e!==void 0&&e.removeEventListener("abort",a),n()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}o(zg,"delay");var Pd=class extends Ss{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return Ce?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=bo(e.url,wi.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(Z.COOKIE),e.headers.remove(Z.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}};var vd=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new Pd(e,r)}};var Pa=class extends Ss{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var Dd=class extends Pa{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};var va=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};var ze=class extends va{static{o(this,"AnonymousCredential")}create(e,r){return new Dd(e,r)}};var gJ=require("node:crypto");var Pge=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]),vge=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]),Dge=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 Gg(t,e){return kge(t,e)?-1:1}o(Gg,"compareHeader");function kge(t,e){let r=[Pge,vge,Dge],n=0,s=0,i=0;for(;ni;let a=s0&&e.headers.set(Z.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,Z.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,Z.CONTENT_ENCODING),this.getHeaderValueToSign(e,Z.CONTENT_LENGTH),this.getHeaderValueToSign(e,Z.CONTENT_MD5),this.getHeaderValueToSign(e,Z.CONTENT_TYPE),this.getHeaderValueToSign(e,Z.DATE),this.getHeaderValueToSign(e,Z.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,Z.IF_MATCH),this.getHeaderValueToSign(e,Z.IF_NONE_MATCH),this.getHeaderValueToSign(e,Z.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,Z.RANGE)].join(` +`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(Br,"Builder");function qge(t,e){let r=t["?xml"];if(r&&typeof r=="object"){if(e.attributesGroupName&&r[e.attributesGroupName]){let s=r[e.attributesGroupName][e.attributeNamePrefix+"version"];if(s)return s}let n=r[e.attributeNamePrefix+"version"];if(n)return n}return"1.0"}o(qge,"detectXmlVersionFromObj");function E0(t,e,r,n,s){return!r.sanitizeName||Ra(t,{xmlVersion:s})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(E0,"resolveTagName");Br.prototype.build=function(t){if(this.options.preserveOrder)return f0(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new Ss,r=qge(t,this.options);return this.j2x(t,0,e,r).val}};Br.prototype.j2x=function(t,e,r,n){let s="",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 u=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:E0(l,!1,this.options,r,n);if(typeof t[l]>"u")this.isAttribute(l)&&(i+="");else if(t[l]===null)this.isAttribute(l)||u===this.options.cdataPropName||u===this.options.commentPropName?i+="":u[0]==="?"?i+=this.indentate(e)+"<"+u+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+u+"/"+this.tagEndChar;else if(t[l]instanceof Date)i+=this.buildTextValNode(t[l],u,"",e,r);else if(typeof t[l]!="object"){let d=this.isAttribute(l);if(d&&!this.ignoreAttributesFn(d,a)){let m=E0(d,!0,this.options,r,n);s+=this.buildAttrPairStr(m,""+t[l],c)}else if(!d)if(l===this.options.textNodeName){let m=this.options.tagValueProcessor(l,""+t[l]);i+=this.replaceEntitiesValue(m)}else{r.push(u);let m=this.checkStopNode(r);if(r.pop(),m){let p=""+t[l];p===""?i+=this.indentate(e)+"<"+u+this.closeTag(u)+this.tagEndChar:i+=this.indentate(e)+"<"+u+">"+p+""u"))if(f===null)u[0]==="?"?i+=this.indentate(e)+"<"+u+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+u+"/"+this.tagEndChar;else if(typeof f=="object")if(this.options.oneListGroup){r.push(u);let C=this.j2x(f,e+1,r,n);r.pop(),m+=C.val,this.options.attributesGroupName&&f.hasOwnProperty(this.options.attributesGroupName)&&(p+=C.attrStr)}else m+=this.processTextOrObjNode(f,u,e,r,n);else if(this.options.oneListGroup){let C=this.options.tagValueProcessor(u,f);C=this.replaceEntitiesValue(C),m+=C}else{r.push(u);let C=this.checkStopNode(r);if(r.pop(),C){let y=""+f;y===""?m+=this.indentate(e)+"<"+u+this.closeTag(u)+this.tagEndChar:m+=this.indentate(e)+"<"+u+">"+y+"${s}`;else if(typeof s=="object"&&s!==null){let i=this.buildRawContent(s),a=this.buildAttributesForStopNode(s);i===""?e+=`<${r}${a}/>`:e+=`<${r}${a}>${i}`}}else if(typeof n=="object"&&n!==null){let s=this.buildRawContent(n),i=this.buildAttributesForStopNode(n);s===""?e+=`<${r}${i}/>`:e+=`<${r}${i}>${s}`}else e+=`<${r}>${n}`}return e};Br.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 n in r){if(!Object.prototype.hasOwnProperty.call(r,n))continue;let s=n.startsWith(this.options.attributeNamePrefix)?n.substring(this.options.attributeNamePrefix.length):n,i=r[n];i===!0&&this.options.suppressBooleanAttributes?e+=" "+s:e+=" "+s+'="'+i+'"'}}else for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;let n=this.isAttribute(r);if(n){let s=t[r];s===!0&&this.options.suppressBooleanAttributes?e+=" "+n:e+=" "+n+'="'+s+'"'}}return e};Br.prototype.buildObjectNode=function(t,e,r,n){if(t==="")return e[0]==="?"?this.indentate(n)+"<"+e+r+"?"+this.tagEndChar:this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar;if(e[0]==="?")return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let s=""+t+s:this.options.commentPropName!==!1&&e===this.options.commentPropName&&i.length===0?this.indentate(n)+``+this.newLine:this.indentate(n)+"<"+e+r+i+this.tagEndChar+t+this.indentate(n)+s}};Br.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=Mg(t);return this.indentate(n)+``+this.newLine}else{if(e[0]==="?")return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(e,t);return i=this.replaceEntitiesValue(i),i===""?this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar:this.indentate(n)+"<"+e+r+">"+i+"0&&this.options.processEntities)for(let e=0;e${n.build(s)}`.replace(/\n/g,"")}o(_g,"stringifyXML");async function I0(t,e={}){if(!t)throw new Error("Document is empty");let r=hJ.validate(t);if(r!==!0)throw r;let s=new kl(Vge(e)).parse(t);if(s["?xml"]&&delete s["?xml"],!e.includeRoot)for(let i of Object.keys(s)){let a=s[i];return typeof a=="object"?Object.assign({},a):a}return s}o(I0,"parseXML");var Fg=xs("storage-blob");var IJ=require("events");var EJ=require("node:stream");var Ug=class extends EJ.Readable{static{o(this,"BuffersStream")}buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,r,n){super(n),this.buffers=e,this.byteLength=r,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let s=0;for(let i of this.buffers)s+=i.byteLength;if(s=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let r=[],n=0;for(;ne-n){let c=this.byteOffsetInCurrentBuffer+e-n;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),this.pushedBytesLength+=e-n,this.byteOffsetInCurrentBuffer=c,n=e;break}else{let c=this.byteOffsetInCurrentBuffer+a;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),a===i?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=c,this.pushedBytesLength+=a,n+=a}}r.length>1?this.push(Buffer.concat(r)):r.length===1&&this.push(r[0])}};var CJ=Q(require("node:buffer"),1);var Og=CJ.default.constants.MAX_LENGTH,qg=class{static{o(this,"PooledBuffer")}buffers=[];capacity;_size;get size(){return this._size}constructor(e,r,n){this.capacity=e,this._size=0;let s=Math.ceil(e/Og);for(let i=0;i0&&(e[0]=e[0].slice(a))}getReadableStream(){return new Ug(this.buffers,this.size)}};var Hg=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new IJ.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,r,n,s,i,a){if(r<=0)throw new RangeError(`bufferSize must be larger than 0, current is ${r}`);if(n<=0)throw new RangeError(`maxBuffers must be larger than 0, current is ${n}`);if(i<=0)throw new RangeError(`concurrency must be larger than 0, current is ${i}`);this.bufferSize=r,this.maxBuffers=n,this.readable=e,this.outgoingHandler=s,this.concurrency=i,this.encoding=a}async do(){return new Promise((e,r)=>{this.readable.on("data",n=>{n=typeof n=="string"?Buffer.from(n,this.encoding):n,this.appendUnresolvedData(n),this.resolveData()||this.readable.pause()}),this.readable.on("error",n=>{this.emitter.emit("error",n)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",n=>{this.isError=!0,this.readable.pause(),r(n)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0)if(this.unresolvedLength>0&&this.unresolvedLengthn.getReadableStream(),n.size,this.offset).then(e).catch(r)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new qg(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(n){this.emitter.emit("error",n);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}};var B0;function Q0(){return B0||(B0=gd()),B0}o(Q0,"getCachedDefaultHttpClient");var Rs=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 Ni={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}},Z={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 wo(t,e,r){let n=new URL(t),s=encodeURIComponent(e),i=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[A]=l.split("=",2);A!==s&&c.push(l)}return i&&c.push(`${s}=${i}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o(wo,"setURLParameter");function zg(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(zg,"setURLHost");function Gg(t){try{return new URL(t).pathname}catch{return}}o(Gg,"getURLPath");function Yg(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(s=>{let i=s.indexOf("="),a=s.lastIndexOf("=");return i>0&&i===a&&a{let i,a=o(()=>{i!==void 0&&clearTimeout(i),s(r)},"abortHandler");i=setTimeout(o(()=>{e!==void 0&&e.removeEventListener("abort",a),n()},"resolveHandler"),t),e!==void 0&&e.addEventListener("abort",a)})}o(Vg,"delay");var vd=class extends Rs{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return Ce?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=wo(e.url,Ni.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(Z.COOKIE),e.headers.remove(Z.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}};var Dd=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new vd(e,r)}};var va=class extends Rs{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var kd=class extends va{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};var Da=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};var ze=class extends Da{static{o(this,"AnonymousCredential")}create(e,r){return new kd(e,r)}};var BJ=require("node:crypto");var Jge=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]),Wge=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]),$ge=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 Jg(t,e){return jge(t,e)?-1:1}o(Jg,"compareHeader");function jge(t,e){let r=[Jge,Wge,$ge],n=0,s=0,i=0;for(;ni;let a=s0&&e.headers.set(Z.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,Z.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,Z.CONTENT_ENCODING),this.getHeaderValueToSign(e,Z.CONTENT_LENGTH),this.getHeaderValueToSign(e,Z.CONTENT_MD5),this.getHeaderValueToSign(e,Z.CONTENT_TYPE),this.getHeaderValueToSign(e,Z.DATE),this.getHeaderValueToSign(e,Z.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,Z.IF_MATCH),this.getHeaderValueToSign(e,Z.IF_NONE_MATCH),this.getHeaderValueToSign(e,Z.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,Z.RANGE)].join(` `)+` -`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),n=this.factory.computeHMACSHA256(r);return e.headers.set(Z.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`),e}getHeaderValueToSign(e,r){let n=e.headers.get(r);return!n||r===Z.CONTENT_LENGTH&&n==="0"?"":n}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(s=>s.name.toLowerCase().startsWith(Z.PREFIX_FOR_STORAGE));r.sort((s,i)=>Gg(s.name.toLowerCase(),i.name.toLowerCase())),r=r.filter((s,i,a)=>!(i>0&&s.name.toLowerCase()===a[i-1].name.toLowerCase()));let n="";return r.forEach(s=>{n+=`${s.name.toLowerCase().trimRight()}:${s.value.trimLeft()} -`}),n}getCanonicalizedResourceString(e){let r=qg(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let s=Hg(e.url),i={};if(s){let a=[];for(let c in s)if(Object.prototype.hasOwnProperty.call(s,c)){let l=c.toLowerCase();i[l]=s[c],a.push(l)}a.sort();for(let c of a)n+=` -${c}:${decodeURIComponent(i[c])}`}return n}};var je=class extends va{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new kd(e,r,this)}computeHMACSHA256(e){return(0,gJ.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var Et=Qs("storage-common");var Cn;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(Cn||(Cn={}));var wo={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Cn.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Tge=new Vr("The operation was aborted."),Td=class extends Ss{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=wo){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:wo.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):wo.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:wo.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:wo.maxRetryDelayInMs):wo.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:wo.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:wo.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,n){let s=e.clone(),i=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||n%2===1;i||(s.url=Og(s.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(s.url=bo(s.url,wi.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(Et.info(`RetryPolicy: =====> Try=${n} ${i?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(s),!this.shouldRetry(i,n,a))return a;r=r||!i&&a.status===404}catch(c){if(Et.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(i,n,a,c))throw c}return await this.delay(i,n,e.abortSignal),this.attemptSendRequest(e,r,++n)}shouldRetry(e,r,n,s){if(r>=this.retryOptions.maxTries)return Et.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(s){for(let a of i)if(s.name.toUpperCase().includes(a)||s.message.toUpperCase().includes(a)||s.code&&s.code.toString().toUpperCase()===a)return Et.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(n||s){let a=n?n.status:s?s.statusCode:0;if(!e&&a===404)return Et.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return Et.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(n&&n?.status>=400){let a=n.headers.get(Z.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return s?.code==="PARSE_ERROR"&&s?.message.startsWith('Error "Error: Unclosed root tag')?(Et.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,n){let s=0;if(e)switch(this.retryOptions.retryPolicyType){case Cn.EXPONENTIAL:s=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case Cn.FIXED:s=this.retryOptions.retryDelayInMs;break}else s=Math.random()*1e3;return Et.info(`RetryPolicy: Delay for ${s}ms`),zg(s,n,Tge)}};var Md=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new Td(e,r,this.retryOptions)}};var Mge="storageBrowserPolicy";function yJ(){return{name:Mge,async sendRequest(t,e){return Ce||((t.method==="GET"||t.method==="HEAD")&&(t.url=bo(t.url,wi.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(Z.COOKIE),t.headers.delete(Z.CONTENT_LENGTH)),e(t)}}}o(yJ,"storageBrowserPolicy");var Lge="StorageCorrectContentLengthPolicy";function EJ(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(Z.CONTENT_LENGTH,Buffer.byteLength(e.body))}return o(t,"correctContentLength"),{name:Lge,async sendRequest(e,r){return t(e),r(e)}}}o(EJ,"storageCorrectContentLengthPolicy");var _ge="storageRetryPolicy",Dl={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Cn.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Fge=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],Uge=new Vr("The operation was aborted.");function CJ(t={}){let e=t.retryPolicyType??Dl.retryPolicyType,r=t.maxTries??Dl.maxTries,n=t.retryDelayInMs??Dl.retryDelayInMs,s=t.maxRetryDelayInMs??Dl.maxRetryDelayInMs,i=t.secondaryHost??Dl.secondaryHost,a=t.tryTimeoutInMs??Dl.tryTimeoutInMs;function c({isPrimaryRetry:A,attempt:u,response:d,error:m}){if(u>=r)return Et.info(`RetryPolicy: Attempt(s) ${u} >= maxTries ${r}, no further try.`),!1;if(m){for(let p of Fge)if(m.name.toUpperCase().includes(p)||m.message.toUpperCase().includes(p)||m.code&&m.code.toString().toUpperCase()===p)return Et.info(`RetryPolicy: Network error ${p} found, will retry.`),!0;if(m?.code==="PARSE_ERROR"&&m?.message.startsWith('Error "Error: Unclosed root tag'))return Et.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(d||m){let p=d?.status??m?.statusCode??0;if(!A&&p===404)return Et.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(p===503||p===500)return Et.info(`RetryPolicy: Will retry for status code ${p}.`),!0}if(d&&d?.status>=400){let p=d.headers.get(Z.X_MS_CopySourceErrorCode);if(p!==void 0)switch(p){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}o(c,"shouldRetry");function l(A,u){let d=0;if(A)switch(e){case Cn.EXPONENTIAL:d=Math.min((Math.pow(2,u-1)-1)*n,s);break;case Cn.FIXED:d=n;break}else d=Math.random()*1e3;return Et.info(`RetryPolicy: Delay for ${d}ms`),d}return o(l,"calculateDelay"),{name:_ge,async sendRequest(A,u){a&&(A.url=bo(A.url,wi.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let d=A.url,m=i?Og(A.url,i):void 0,p=!1,h=1,f=!0,C,y;for(;f;){let E=p||!m||!["GET","HEAD","OPTIONS"].includes(A.method)||h%2===1;A.url=E?d:m,C=void 0,y=void 0;try{Et.info(`RetryPolicy: =====> Try=${h} ${E?"Primary":"Secondary"}`),C=await u(A),p=p||!E&&C.status===404}catch(I){if(ba(I))Et.error(`RetryPolicy: Caught error, message: ${I.message}, code: ${I.code}`),y=I;else throw Et.error(`RetryPolicy: Caught error, message: ${Co(I)}`),I}f=c({isPrimaryRetry:E,attempt:h,response:C,error:y}),f&&await zg(l(E,h),A.abortSignal,Uge),h++}if(C)return C;throw y??new Qi("RetryPolicy failed without known error.")}}}o(CJ,"storageRetryPolicy");var IJ=require("node:crypto");var Oge="storageSharedKeyCredentialPolicy";function I0(t){function e(i){i.headers.set(Z.X_MS_DATE,new Date().toUTCString()),i.body&&(typeof i.body=="string"||Buffer.isBuffer(i.body))&&i.body.length>0&&i.headers.set(Z.CONTENT_LENGTH,Buffer.byteLength(i.body));let a=[i.method.toUpperCase(),r(i,Z.CONTENT_LANGUAGE),r(i,Z.CONTENT_ENCODING),r(i,Z.CONTENT_LENGTH),r(i,Z.CONTENT_MD5),r(i,Z.CONTENT_TYPE),r(i,Z.DATE),r(i,Z.IF_MODIFIED_SINCE),r(i,Z.IF_MATCH),r(i,Z.IF_NONE_MATCH),r(i,Z.IF_UNMODIFIED_SINCE),r(i,Z.RANGE)].join(` +`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),n=this.factory.computeHMACSHA256(r);return e.headers.set(Z.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`),e}getHeaderValueToSign(e,r){let n=e.headers.get(r);return!n||r===Z.CONTENT_LENGTH&&n==="0"?"":n}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(s=>s.name.toLowerCase().startsWith(Z.PREFIX_FOR_STORAGE));r.sort((s,i)=>Jg(s.name.toLowerCase(),i.name.toLowerCase())),r=r.filter((s,i,a)=>!(i>0&&s.name.toLowerCase()===a[i-1].name.toLowerCase()));let n="";return r.forEach(s=>{n+=`${s.name.toLowerCase().trimRight()}:${s.value.trimLeft()} +`}),n}getCanonicalizedResourceString(e){let r=Gg(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let s=Yg(e.url),i={};if(s){let a=[];for(let c in s)if(Object.prototype.hasOwnProperty.call(s,c)){let l=c.toLowerCase();i[l]=s[c],a.push(l)}a.sort();for(let c of a)n+=` +${c}:${decodeURIComponent(i[c])}`}return n}};var je=class extends Da{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new Td(e,r,this)}computeHMACSHA256(e){return(0,BJ.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var Et=xs("storage-common");var Cn;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(Cn||(Cn={}));var No={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Cn.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Kge=new Vr("The operation was aborted."),Md=class extends Rs{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=No){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:No.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):No.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:No.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:No.maxRetryDelayInMs):No.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:No.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:No.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,n){let s=e.clone(),i=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||n%2===1;i||(s.url=zg(s.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(s.url=wo(s.url,Ni.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(Et.info(`RetryPolicy: =====> Try=${n} ${i?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(s),!this.shouldRetry(i,n,a))return a;r=r||!i&&a.status===404}catch(c){if(Et.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(i,n,a,c))throw c}return await this.delay(i,n,e.abortSignal),this.attemptSendRequest(e,r,++n)}shouldRetry(e,r,n,s){if(r>=this.retryOptions.maxTries)return Et.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(s){for(let a of i)if(s.name.toUpperCase().includes(a)||s.message.toUpperCase().includes(a)||s.code&&s.code.toString().toUpperCase()===a)return Et.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(n||s){let a=n?n.status:s?s.statusCode:0;if(!e&&a===404)return Et.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return Et.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(n&&n?.status>=400){let a=n.headers.get(Z.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return s?.code==="PARSE_ERROR"&&s?.message.startsWith('Error "Error: Unclosed root tag')?(Et.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,n){let s=0;if(e)switch(this.retryOptions.retryPolicyType){case Cn.EXPONENTIAL:s=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case Cn.FIXED:s=this.retryOptions.retryDelayInMs;break}else s=Math.random()*1e3;return Et.info(`RetryPolicy: Delay for ${s}ms`),Vg(s,n,Kge)}};var Ld=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new Md(e,r,this.retryOptions)}};var Xge="storageBrowserPolicy";function QJ(){return{name:Xge,async sendRequest(t,e){return Ce||((t.method==="GET"||t.method==="HEAD")&&(t.url=wo(t.url,Ni.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(Z.COOKIE),t.headers.delete(Z.CONTENT_LENGTH)),e(t)}}}o(QJ,"storageBrowserPolicy");var Zge="StorageCorrectContentLengthPolicy";function xJ(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(Z.CONTENT_LENGTH,Buffer.byteLength(e.body))}return o(t,"correctContentLength"),{name:Zge,async sendRequest(e,r){return t(e),r(e)}}}o(xJ,"storageCorrectContentLengthPolicy");var eye="storageRetryPolicy",Tl={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Cn.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},tye=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],rye=new Vr("The operation was aborted.");function bJ(t={}){let e=t.retryPolicyType??Tl.retryPolicyType,r=t.maxTries??Tl.maxTries,n=t.retryDelayInMs??Tl.retryDelayInMs,s=t.maxRetryDelayInMs??Tl.maxRetryDelayInMs,i=t.secondaryHost??Tl.secondaryHost,a=t.tryTimeoutInMs??Tl.tryTimeoutInMs;function c({isPrimaryRetry:A,attempt:u,response:d,error:m}){if(u>=r)return Et.info(`RetryPolicy: Attempt(s) ${u} >= maxTries ${r}, no further try.`),!1;if(m){for(let p of tye)if(m.name.toUpperCase().includes(p)||m.message.toUpperCase().includes(p)||m.code&&m.code.toString().toUpperCase()===p)return Et.info(`RetryPolicy: Network error ${p} found, will retry.`),!0;if(m?.code==="PARSE_ERROR"&&m?.message.startsWith('Error "Error: Unclosed root tag'))return Et.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(d||m){let p=d?.status??m?.statusCode??0;if(!A&&p===404)return Et.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(p===503||p===500)return Et.info(`RetryPolicy: Will retry for status code ${p}.`),!0}if(d&&d?.status>=400){let p=d.headers.get(Z.X_MS_CopySourceErrorCode);if(p!==void 0)switch(p){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}o(c,"shouldRetry");function l(A,u){let d=0;if(A)switch(e){case Cn.EXPONENTIAL:d=Math.min((Math.pow(2,u-1)-1)*n,s);break;case Cn.FIXED:d=n;break}else d=Math.random()*1e3;return Et.info(`RetryPolicy: Delay for ${d}ms`),d}return o(l,"calculateDelay"),{name:eye,async sendRequest(A,u){a&&(A.url=wo(A.url,Ni.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let d=A.url,m=i?zg(A.url,i):void 0,p=!1,h=1,f=!0,C,y;for(;f;){let E=p||!m||!["GET","HEAD","OPTIONS"].includes(A.method)||h%2===1;A.url=E?d:m,C=void 0,y=void 0;try{Et.info(`RetryPolicy: =====> Try=${h} ${E?"Primary":"Secondary"}`),C=await u(A),p=p||!E&&C.status===404}catch(I){if(wa(I))Et.error(`RetryPolicy: Caught error, message: ${I.message}, code: ${I.code}`),y=I;else throw Et.error(`RetryPolicy: Caught error, message: ${Io(I)}`),I}f=c({isPrimaryRetry:E,attempt:h,response:C,error:y}),f&&await Vg(l(E,h),A.abortSignal,rye),h++}if(C)return C;throw y??new xi("RetryPolicy failed without known error.")}}}o(bJ,"storageRetryPolicy");var wJ=require("node:crypto");var nye="storageSharedKeyCredentialPolicy";function x0(t){function e(i){i.headers.set(Z.X_MS_DATE,new Date().toUTCString()),i.body&&(typeof i.body=="string"||Buffer.isBuffer(i.body))&&i.body.length>0&&i.headers.set(Z.CONTENT_LENGTH,Buffer.byteLength(i.body));let a=[i.method.toUpperCase(),r(i,Z.CONTENT_LANGUAGE),r(i,Z.CONTENT_ENCODING),r(i,Z.CONTENT_LENGTH),r(i,Z.CONTENT_MD5),r(i,Z.CONTENT_TYPE),r(i,Z.DATE),r(i,Z.IF_MODIFIED_SINCE),r(i,Z.IF_MATCH),r(i,Z.IF_NONE_MATCH),r(i,Z.IF_UNMODIFIED_SINCE),r(i,Z.RANGE)].join(` `)+` -`+n(i)+s(i),c=(0,IJ.createHmac)("sha256",t.accountKey).update(a,"utf8").digest("base64");i.headers.set(Z.AUTHORIZATION,`SharedKey ${t.accountName}:${c}`)}o(e,"signRequest");function r(i,a){let c=i.headers.get(a);return!c||a===Z.CONTENT_LENGTH&&c==="0"?"":c}o(r,"getHeaderValueToSign");function n(i){let a=[];for(let[l,A]of i.headers)l.toLowerCase().startsWith(Z.PREFIX_FOR_STORAGE)&&a.push({name:l,value:A});a.sort((l,A)=>Gg(l.name.toLowerCase(),A.name.toLowerCase())),a=a.filter((l,A,u)=>!(A>0&&l.name.toLowerCase()===u[A-1].name.toLowerCase()));let c="";return a.forEach(l=>{c+=`${l.name.toLowerCase().trimRight()}:${l.value.trimLeft()} -`}),c}o(n,"getCanonicalizedHeadersString");function s(i){let a=qg(i.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=Hg(i.url),A={};if(l){let u=[];for(let d in l)if(Object.prototype.hasOwnProperty.call(l,d)){let m=d.toLowerCase();A[m]=l[d],u.push(m)}u.sort();for(let d of u)c+=` -${d}:${decodeURIComponent(A[d])}`}return c}return o(s,"getCanonicalizedResourceString"),{name:Oge,async sendRequest(i,a){return e(i),a(i)}}}o(I0,"storageSharedKeyCredentialPolicy");var qge="storageRequestFailureDetailsParserPolicy";function BJ(){return{name:qge,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(BJ,"storageRequestFailureDetailsParserPolicy");var QJ=require("node:crypto");var Yg=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,QJ.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var Vg="12.31.0",Jg="2026-02-06";var Wg="https://storage.azure.com/.default",Ni={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var Gn="",B0="*",Hge=1*1024*1024;var zge=4*Hge;var xJ="AES256",bJ="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",wJ=["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"],NJ=["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"],SJ="BlobUsesCustomerSpecifiedEncryption",RJ="BlobDoesNotUseCustomerSpecifiedEncryption",PJ=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function Si(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(Si,"isPipelineLike");var Ld=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 lt(t,e={}){t||(t=new ze);let r=new Ld([],e);return r._credential=t,r}o(lt,"newPipeline");function Gge(t){let e=[Yge,vJ,Vge,Jge,Wge,$ge,Kge];if(t.factories.length){let r=t.factories.filter(n=>!e.some(s=>s(n)));if(r.length){let n=r.some(s=>jge(s));return{wrappedPolicies:Kw(r),afterRetry:n}}}}o(Gge,"processDownlevelPipeline");function Q0(t){let{httpClient:e,...r}=t.options,n=t._coreHttpClient;n||(n=e?Xw(e):C0(),t._coreHttpClient=n);let s=t._corePipeline;if(!s){let i=`azsdk-js-azure-storage-blob/${Vg}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`;s=yd({...r,loggingOptions:{additionalAllowedHeaderNames:wJ,additionalAllowedQueryParameters:NJ,logger:Mg.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:Tg,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:y0,serializerOptions:{xml:{xmlCharKey:"#"}}}}),s.removePolicy({phase:"Retry"}),s.removePolicy({name:Nw}),s.addPolicy(EJ()),s.addPolicy(CJ(r.retryOptions),{phase:"Retry"}),s.addPolicy(BJ()),s.addPolicy(yJ());let c=Gge(t);c&&s.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=x0(t);Jr(l)?s.addPolicy(wl({credential:l,scopes:r.audience??Wg,challengeCallbacks:{authorizeRequestOnChallenge:Qg}}),{phase:"Sign"}):l instanceof je&&s.addPolicy(I0({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=s}return{...r,allowInsecureConnection:!0,httpClient:n,pipeline:s}}o(Q0,"getCoreClientOptions");function x0(t){if(t._credential)return t._credential;let e=new ze;for(let r of t.factories)if(Jr(r.credential))e=r.credential;else if(vJ(r))return r;return e}o(x0,"getCredentialFromPipeline");function vJ(t){return t instanceof je?!0:t.constructor.name==="StorageSharedKeyCredential"}o(vJ,"isStorageSharedKeyCredential");function Yge(t){return t instanceof ze?!0:t.constructor.name==="AnonymousCredential"}o(Yge,"isAnonymousCredential");function Vge(t){return Jr(t.credential)}o(Vge,"isCoreHttpBearerTokenFactory");function Jge(t){return t instanceof vd?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(Jge,"isStorageBrowserPolicyFactory");function Wge(t){return t instanceof Md?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(Wge,"isStorageRetryPolicyFactory");function $ge(t){return t.constructor.name==="TelemetryPolicyFactory"}o($ge,"isStorageTelemetryPolicyFactory");function jge(t){return t.constructor.name==="InjectorPolicyFactory"}o(jge,"isInjectorPolicyFactory");function Kge(t){let e=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"],r={sendRequest:o(async a=>({request:a,headers:a.headers.clone(),status:500}),"sendRequest")},n={log(a,c){},shouldLog(a){return!1}},i=t.create(r,n).constructor.name;return e.some(a=>i.startsWith(a))}o(Kge,"isCoreHttpPolicyFactory");var DJ;(function(t){t.AES256="AES256"})(DJ||(DJ={}));var kJ;(function(t){t.Backup="backup"})(kJ||(kJ={}));var TJ;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(TJ||(TJ={}));var MJ;(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"})(MJ||(MJ={}));var jr={};x5(jr,{AccessPolicy:()=>lye,AppendBlobAppendBlockExceptionHeaders:()=>GS,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>VS,AppendBlobAppendBlockFromUrlHeaders:()=>YS,AppendBlobAppendBlockHeaders:()=>zS,AppendBlobCreateExceptionHeaders:()=>HS,AppendBlobCreateHeaders:()=>qS,AppendBlobSealExceptionHeaders:()=>WS,AppendBlobSealHeaders:()=>JS,ArrowConfiguration:()=>Qye,ArrowField:()=>xye,BlobAbortCopyFromURLExceptionHeaders:()=>pS,BlobAbortCopyFromURLHeaders:()=>mS,BlobAcquireLeaseExceptionHeaders:()=>XN,BlobAcquireLeaseHeaders:()=>KN,BlobBreakLeaseExceptionHeaders:()=>oS,BlobBreakLeaseHeaders:()=>iS,BlobChangeLeaseExceptionHeaders:()=>sS,BlobChangeLeaseHeaders:()=>nS,BlobCopyFromURLExceptionHeaders:()=>dS,BlobCopyFromURLHeaders:()=>uS,BlobCreateSnapshotExceptionHeaders:()=>cS,BlobCreateSnapshotHeaders:()=>aS,BlobDeleteExceptionHeaders:()=>LN,BlobDeleteHeaders:()=>MN,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>VN,BlobDeleteImmutabilityPolicyHeaders:()=>YN,BlobDownloadExceptionHeaders:()=>DN,BlobDownloadHeaders:()=>jg,BlobFlatListSegment:()=>Aye,BlobGetAccountInfoExceptionHeaders:()=>gS,BlobGetAccountInfoHeaders:()=>fS,BlobGetPropertiesExceptionHeaders:()=>TN,BlobGetPropertiesHeaders:()=>kN,BlobGetTagsExceptionHeaders:()=>CS,BlobGetTagsHeaders:()=>ES,BlobHierarchyListSegment:()=>pye,BlobItemInternal:()=>uye,BlobName:()=>dye,BlobPrefix:()=>hye,BlobPropertiesInternal:()=>mye,BlobQueryExceptionHeaders:()=>yS,BlobQueryHeaders:()=>Xg,BlobReleaseLeaseExceptionHeaders:()=>eS,BlobReleaseLeaseHeaders:()=>ZN,BlobRenewLeaseExceptionHeaders:()=>rS,BlobRenewLeaseHeaders:()=>tS,BlobServiceProperties:()=>_d,BlobServiceStatistics:()=>b0,BlobSetExpiryExceptionHeaders:()=>ON,BlobSetExpiryHeaders:()=>UN,BlobSetHttpHeadersExceptionHeaders:()=>HN,BlobSetHttpHeadersHeaders:()=>qN,BlobSetImmutabilityPolicyExceptionHeaders:()=>GN,BlobSetImmutabilityPolicyHeaders:()=>zN,BlobSetLegalHoldExceptionHeaders:()=>WN,BlobSetLegalHoldHeaders:()=>JN,BlobSetMetadataExceptionHeaders:()=>jN,BlobSetMetadataHeaders:()=>$N,BlobSetTagsExceptionHeaders:()=>BS,BlobSetTagsHeaders:()=>IS,BlobSetTierExceptionHeaders:()=>hS,BlobSetTierHeaders:()=>Kg,BlobStartCopyFromURLExceptionHeaders:()=>AS,BlobStartCopyFromURLHeaders:()=>lS,BlobTag:()=>aye,BlobTags:()=>Ud,BlobUndeleteExceptionHeaders:()=>FN,BlobUndeleteHeaders:()=>_N,Block:()=>fye,BlockBlobCommitBlockListExceptionHeaders:()=>sR,BlockBlobCommitBlockListHeaders:()=>nR,BlockBlobGetBlockListExceptionHeaders:()=>oR,BlockBlobGetBlockListHeaders:()=>iR,BlockBlobPutBlobFromUrlExceptionHeaders:()=>XS,BlockBlobPutBlobFromUrlHeaders:()=>KS,BlockBlobStageBlockExceptionHeaders:()=>eR,BlockBlobStageBlockFromURLExceptionHeaders:()=>rR,BlockBlobStageBlockFromURLHeaders:()=>tR,BlockBlobStageBlockHeaders:()=>ZS,BlockBlobUploadExceptionHeaders:()=>jS,BlockBlobUploadHeaders:()=>$S,BlockList:()=>D0,BlockLookupList:()=>v0,ClearRange:()=>yye,ContainerAcquireLeaseExceptionHeaders:()=>gN,ContainerAcquireLeaseHeaders:()=>fN,ContainerBreakLeaseExceptionHeaders:()=>QN,ContainerBreakLeaseHeaders:()=>BN,ContainerChangeLeaseExceptionHeaders:()=>bN,ContainerChangeLeaseHeaders:()=>xN,ContainerCreateExceptionHeaders:()=>K0,ContainerCreateHeaders:()=>j0,ContainerDeleteExceptionHeaders:()=>tN,ContainerDeleteHeaders:()=>eN,ContainerFilterBlobsExceptionHeaders:()=>hN,ContainerFilterBlobsHeaders:()=>pN,ContainerGetAccessPolicyExceptionHeaders:()=>iN,ContainerGetAccessPolicyHeaders:()=>sN,ContainerGetAccountInfoExceptionHeaders:()=>vN,ContainerGetAccountInfoHeaders:()=>PN,ContainerGetPropertiesExceptionHeaders:()=>Z0,ContainerGetPropertiesHeaders:()=>X0,ContainerItem:()=>sye,ContainerListBlobFlatSegmentExceptionHeaders:()=>NN,ContainerListBlobFlatSegmentHeaders:()=>wN,ContainerListBlobHierarchySegmentExceptionHeaders:()=>RN,ContainerListBlobHierarchySegmentHeaders:()=>SN,ContainerProperties:()=>iye,ContainerReleaseLeaseExceptionHeaders:()=>EN,ContainerReleaseLeaseHeaders:()=>yN,ContainerRenameExceptionHeaders:()=>uN,ContainerRenameHeaders:()=>AN,ContainerRenewLeaseExceptionHeaders:()=>IN,ContainerRenewLeaseHeaders:()=>CN,ContainerRestoreExceptionHeaders:()=>lN,ContainerRestoreHeaders:()=>cN,ContainerSetAccessPolicyExceptionHeaders:()=>aN,ContainerSetAccessPolicyHeaders:()=>oN,ContainerSetMetadataExceptionHeaders:()=>nN,ContainerSetMetadataHeaders:()=>rN,ContainerSubmitBatchExceptionHeaders:()=>mN,ContainerSubmitBatchHeaders:()=>dN,CorsRule:()=>tye,DelimitedTextConfiguration:()=>Iye,FilterBlobItem:()=>oye,FilterBlobSegment:()=>Fd,GeoReplication:()=>nye,JsonTextConfiguration:()=>Bye,KeyInfo:()=>N0,ListBlobsFlatSegmentResponse:()=>R0,ListBlobsHierarchySegmentResponse:()=>P0,ListContainersSegmentResponse:()=>w0,Logging:()=>Xge,Metrics:()=>eye,PageBlobClearPagesExceptionHeaders:()=>SS,PageBlobClearPagesHeaders:()=>NS,PageBlobCopyIncrementalExceptionHeaders:()=>OS,PageBlobCopyIncrementalHeaders:()=>US,PageBlobCreateExceptionHeaders:()=>xS,PageBlobCreateHeaders:()=>QS,PageBlobGetPageRangesDiffExceptionHeaders:()=>TS,PageBlobGetPageRangesDiffHeaders:()=>kS,PageBlobGetPageRangesExceptionHeaders:()=>DS,PageBlobGetPageRangesHeaders:()=>vS,PageBlobResizeExceptionHeaders:()=>LS,PageBlobResizeHeaders:()=>MS,PageBlobUpdateSequenceNumberExceptionHeaders:()=>FS,PageBlobUpdateSequenceNumberHeaders:()=>_S,PageBlobUploadPagesExceptionHeaders:()=>wS,PageBlobUploadPagesFromURLExceptionHeaders:()=>PS,PageBlobUploadPagesFromURLHeaders:()=>RS,PageBlobUploadPagesHeaders:()=>bS,PageList:()=>$g,PageRange:()=>gye,QueryFormat:()=>Cye,QueryRequest:()=>k0,QuerySerialization:()=>Eye,RetentionPolicy:()=>Zge,ServiceFilterBlobsExceptionHeaders:()=>$0,ServiceFilterBlobsHeaders:()=>W0,ServiceGetAccountInfoExceptionHeaders:()=>Y0,ServiceGetAccountInfoHeaders:()=>G0,ServiceGetPropertiesExceptionHeaders:()=>_0,ServiceGetPropertiesHeaders:()=>L0,ServiceGetStatisticsExceptionHeaders:()=>U0,ServiceGetStatisticsHeaders:()=>F0,ServiceGetUserDelegationKeyExceptionHeaders:()=>z0,ServiceGetUserDelegationKeyHeaders:()=>H0,ServiceListContainersSegmentExceptionHeaders:()=>q0,ServiceListContainersSegmentHeaders:()=>O0,ServiceSetPropertiesExceptionHeaders:()=>M0,ServiceSetPropertiesHeaders:()=>T0,ServiceSubmitBatchExceptionHeaders:()=>J0,ServiceSubmitBatchHeaders:()=>V0,SignedIdentifier:()=>cye,StaticWebsite:()=>rye,StorageError:()=>R,UserDelegationKey:()=>S0});var _d={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"}}}}},Xge={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"}}}}},Zge={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"}}}}},eye={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"}}}}},tye={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"}}}}},rye={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"}}}}},b0={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},nye={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"}}}}},w0={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"}}}}},sye={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"}}}}}}},iye={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"}}}}},N0={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"}}}}},S0={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"}}}}},Fd={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"}}}}},oye={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"}}}}},Ud={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"}}}}}}},aye={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"}}}}},cye={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"}}}}},lye={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"}}}}},R0={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"}}}}},Aye={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"}}}}}}},uye={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"}}}}},dye={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"}}}}},mye={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"}}}}},P0={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"}}}}},pye={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"}}}}}}},hye={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},v0={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"}}}}}}},D0={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"}}}}}}},fye={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"}}}}},$g={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"}}}}},gye={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"}}}}},yye={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"}}}}},k0={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"}}}}},Eye={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},Cye={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"}}}}}}},Iye={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"}}}}},Bye={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},Qye={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"}}}}}}},xye={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"}}}}},T0={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"}}}}},M0={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},L0={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"}}}}},_0={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},F0={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"}}}}},U0={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},O0={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"}}}}},q0={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},H0={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"}}}}},z0={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},G0={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"}}}}},Y0={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},V0={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"}}}}},J0={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},W0={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"}}}}},$0={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},j0={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"}}}}},K0={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},X0={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"}}}}},Z0={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},eN={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"}}}}},tN={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},rN={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"}}}}},nN={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sN={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"}}}}},iN={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oN={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"}}}}},aN={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cN={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"}}}}},lN={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AN={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"}}}}},uN={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dN={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"}}}}},mN={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},pN={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"}}}}},hN={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fN={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"}}}}},gN={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yN={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"}}}}},EN={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},CN={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"}}}}},IN={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BN={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"}}}}},QN={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xN={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"}}}}},bN={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wN={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"}}}}},NN={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SN={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"}}}}},RN={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PN={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"}}}}},vN={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jg={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"}}}}},DN={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kN={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"}}}}},TN={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MN={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"}}}}},LN={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_N={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"}}}}},FN={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},UN={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"}}}}},ON={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qN={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"}}}}},HN={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zN={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"]}}}}},GN={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},YN={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"}}}}},VN={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JN={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"}}}}},WN={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$N={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"}}}}},jN={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},KN={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"}}}}},XN={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ZN={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"}}}}},eS={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},tS={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"}}}}},rS={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nS={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"}}}}},sS={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iS={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"}}}}},oS={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aS={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"}}}}},cS={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lS={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"}}}}},AS={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"}}}}},uS={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"}}}}},dS={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"}}}}},mS={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"}}}}},pS={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Kg={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"}}}}},hS={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fS={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"}}}}},gS={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Xg={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"}}}}},yS={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ES={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"}}}}},CS={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IS={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"}}}}},BS={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QS={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"}}}}},xS={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bS={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"}}}}},wS={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NS={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"}}}}},SS={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RS={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"}}}}},PS={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"}}}}},vS={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"}}}}},DS={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kS={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"}}}}},TS={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MS={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"}}}}},LS={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_S={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"}}}}},FS={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},US={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"}}}}},OS={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qS={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"}}}}},HS={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zS={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"}}}}},GS={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},YS={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"}}}}},VS={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"}}}}},JS={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"}}}}},WS={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$S={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"}}}}},jS={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},KS={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"}}}}},XS={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"}}}}},ZS={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"}}}}},eR={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},tR={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"}}}}},rR={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"}}}}},nR={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"}}}}},sR={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iR={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"}}}}},oR={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Rs={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},LJ={parameterPath:"blobServiceProperties",mapper:_d},In={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},P={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},Od={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Bn={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"}}},D={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"}}},U={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},_J={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},qd={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Hd={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},Ps={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},vs={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},FJ={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},UJ={parameterPath:"keyInfo",mapper:N0},OJ={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}},kl={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Zg={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},ey={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},St={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},ty={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},ry={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},ny={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},Rt={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},zt={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},aR={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},qJ={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},HJ={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}},oe={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},ne={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},se={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},sy={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},cR={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},zJ={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},iy={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},GJ={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},YJ={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},VJ={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},JJ={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},WJ={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}},Qn={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},oy={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},ay={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},cy={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},ly={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},No={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},Ay={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},uy={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},dy={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},my={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},py={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},lR={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"},AR={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},$J={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},sr={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},Ds={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},Da={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},jJ={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},KJ={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},Ke={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},Xe={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},Ze={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},fe={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},ge={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},le={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},XJ={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},ZJ={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},e3={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},t3={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},r3={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}},ks={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},Ts={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},Ms={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},Ls={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},_s={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},Fs={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},uR={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Yn={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},Vn={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},n3={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},s3={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},ft={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},i3={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ri={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"]}}},dR={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},Us={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},Os={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},qs={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},Hs={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},hy={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},ka={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},Jn={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},o3={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},zs={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},a3={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},Pi={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},vi={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},fy={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},Di={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},c3={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},l3={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},A3={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},u3={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},d3={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"]}}},m3={parameterPath:["options","queryRequest"],mapper:k0},p3={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},mR={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},pR={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},hR={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},fR={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},gR={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},h3={parameterPath:["options","tags"],mapper:Ud},xn={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},Gs={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},f3={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},yR={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},ER={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},Ta={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Ma={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},La={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},gy={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},CR={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},yy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},Ey={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},Cy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},g3={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Tl={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},y3={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},Ml={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},E3={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},IR={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},C3={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},I3={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},B3={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},Q3={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},x3={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},BR={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},QR={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},Iy={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},By={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},b3={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},xR={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},w3={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},bR={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},wR={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},N3={parameterPath:"blocks",mapper:v0},NR={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},S3={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var Qy=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},bye)}getProperties(e){return this.client.sendOperationRequest({options:e},wye)}getStatistics(e){return this.client.sendOperationRequest({options:e},Nye)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},Sye)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},Rye)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Pye)}submitBatch(e,r,n,s){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:s},vye)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Dye)}},So=Wr(jr,!0),bye={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:T0},default:{bodyMapper:R,headersMapper:M0}},requestBody:LJ,queryParameters:[Od,Bn,v],urlParameters:[P],headerParameters:[Rs,In,D,k],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:So},wye={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:_d,headersMapper:L0},default:{bodyMapper:R,headersMapper:_0}},queryParameters:[Od,Bn,v],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:So},Nye={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:b0,headersMapper:F0},default:{bodyMapper:R,headersMapper:U0}},queryParameters:[Od,v,_J],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:So},Sye={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:w0,headersMapper:O0},default:{bodyMapper:R,headersMapper:q0}},queryParameters:[v,qd,Hd,Ps,vs,FJ],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:So},Rye={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:S0,headersMapper:H0},default:{bodyMapper:R,headersMapper:z0}},requestBody:UJ,queryParameters:[Od,v,OJ],urlParameters:[P],headerParameters:[Rs,In,D,k],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:So},Pye={path:"/",httpMethod:"GET",responses:{200:{headersMapper:G0},default:{bodyMapper:R,headersMapper:Y0}},queryParameters:[Bn,v,kl],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:So},vye={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:V0},default:{bodyMapper:R,headersMapper:J0}},requestBody:Zg,queryParameters:[v,ey],urlParameters:[P],headerParameters:[In,D,k,St,ty],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:So},Dye={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Fd,headersMapper:W0},default:{bodyMapper:R,headersMapper:$0}},queryParameters:[v,Ps,vs,ry,ny],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:So};var xy=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},kye)}getProperties(e){return this.client.sendOperationRequest({options:e},Tye)}delete(e){return this.client.sendOperationRequest({options:e},Mye)}setMetadata(e){return this.client.sendOperationRequest({options:e},Lye)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},_ye)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},Fye)}restore(e){return this.client.sendOperationRequest({options:e},Uye)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},Oye)}submitBatch(e,r,n,s){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:s},qye)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Hye)}acquireLease(e){return this.client.sendOperationRequest({options:e},zye)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Gye)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Yye)}breakLease(e){return this.client.sendOperationRequest({options:e},Vye)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},Jye)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},Wye)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},$ye)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},jye)}},Pt=Wr(jr,!0),kye={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:j0},default:{bodyMapper:R,headersMapper:K0}},queryParameters:[v,Rt],urlParameters:[P],headerParameters:[D,k,U,zt,aR,qJ,HJ],isXML:!0,serializer:Pt},Tye={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:X0},default:{bodyMapper:R,headersMapper:Z0}},queryParameters:[v,Rt],urlParameters:[P],headerParameters:[D,k,U,oe],isXML:!0,serializer:Pt},Mye={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:eN},default:{bodyMapper:R,headersMapper:tN}},queryParameters:[v,Rt],urlParameters:[P],headerParameters:[D,k,U,oe,ne,se],isXML:!0,serializer:Pt},Lye={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:rN},default:{bodyMapper:R,headersMapper:nN}},queryParameters:[v,Rt,sy],urlParameters:[P],headerParameters:[D,k,U,zt,oe,ne],isXML:!0,serializer:Pt},_ye={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:sN},default:{bodyMapper:R,headersMapper:iN}},queryParameters:[v,Rt,cR],urlParameters:[P],headerParameters:[D,k,U,oe],isXML:!0,serializer:Pt},Fye={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:oN},default:{bodyMapper:R,headersMapper:aN}},requestBody:zJ,queryParameters:[v,Rt,cR],urlParameters:[P],headerParameters:[Rs,In,D,k,aR,oe,ne,se],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Pt},Uye={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:cN},default:{bodyMapper:R,headersMapper:lN}},queryParameters:[v,Rt,iy],urlParameters:[P],headerParameters:[D,k,U,GJ,YJ],isXML:!0,serializer:Pt},Oye={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:AN},default:{bodyMapper:R,headersMapper:uN}},queryParameters:[v,Rt,VJ],urlParameters:[P],headerParameters:[D,k,U,JJ,WJ],isXML:!0,serializer:Pt},qye={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:dN},default:{bodyMapper:R,headersMapper:mN}},requestBody:Zg,queryParameters:[v,ey,Rt],urlParameters:[P],headerParameters:[In,D,k,St,ty],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Pt},Hye={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Fd,headersMapper:pN},default:{bodyMapper:R,headersMapper:hN}},queryParameters:[v,Ps,vs,ry,ny,Rt],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:Pt},zye={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:fN},default:{bodyMapper:R,headersMapper:gN}},queryParameters:[v,Rt,Qn],urlParameters:[P],headerParameters:[D,k,U,ne,se,oy,ay,cy],isXML:!0,serializer:Pt},Gye={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:yN},default:{bodyMapper:R,headersMapper:EN}},queryParameters:[v,Rt,Qn],urlParameters:[P],headerParameters:[D,k,U,ne,se,ly,No],isXML:!0,serializer:Pt},Yye={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:CN},default:{bodyMapper:R,headersMapper:IN}},queryParameters:[v,Rt,Qn],urlParameters:[P],headerParameters:[D,k,U,ne,se,No,Ay],isXML:!0,serializer:Pt},Vye={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:BN},default:{bodyMapper:R,headersMapper:QN}},queryParameters:[v,Rt,Qn],urlParameters:[P],headerParameters:[D,k,U,ne,se,uy,dy],isXML:!0,serializer:Pt},Jye={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:xN},default:{bodyMapper:R,headersMapper:bN}},queryParameters:[v,Rt,Qn],urlParameters:[P],headerParameters:[D,k,U,ne,se,No,my,py],isXML:!0,serializer:Pt},Wye={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:R0,headersMapper:wN},default:{bodyMapper:R,headersMapper:NN}},queryParameters:[v,qd,Hd,Ps,vs,Rt,lR,AR],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:Pt},$ye={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:P0,headersMapper:SN},default:{bodyMapper:R,headersMapper:RN}},queryParameters:[v,qd,Hd,Ps,vs,Rt,lR,AR,$J],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:Pt},jye={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:PN},default:{bodyMapper:R,headersMapper:vN}},queryParameters:[Bn,v,kl],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:Pt};var by=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},Kye)}getProperties(e){return this.client.sendOperationRequest({options:e},Xye)}delete(e){return this.client.sendOperationRequest({options:e},Zye)}undelete(e){return this.client.sendOperationRequest({options:e},eEe)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},tEe)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},rEe)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},nEe)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},sEe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},iEe)}setMetadata(e){return this.client.sendOperationRequest({options:e},oEe)}acquireLease(e){return this.client.sendOperationRequest({options:e},aEe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},cEe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},lEe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},AEe)}breakLease(e){return this.client.sendOperationRequest({options:e},uEe)}createSnapshot(e){return this.client.sendOperationRequest({options:e},dEe)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},mEe)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},pEe)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},hEe)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},fEe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},gEe)}query(e){return this.client.sendOperationRequest({options:e},yEe)}getTags(e){return this.client.sendOperationRequest({options:e},EEe)}setTags(e){return this.client.sendOperationRequest({options:e},CEe)}},Ge=Wr(jr,!0),Kye={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:jg},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:jg},default:{bodyMapper:R,headersMapper:DN}},queryParameters:[v,sr,Ds],urlParameters:[P],headerParameters:[D,k,U,oe,ne,se,Da,jJ,KJ,Ke,Xe,Ze,fe,ge,le],isXML:!0,serializer:Ge},Xye={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:kN},default:{bodyMapper:R,headersMapper:TN}},queryParameters:[v,sr,Ds],urlParameters:[P],headerParameters:[D,k,U,oe,ne,se,Ke,Xe,Ze,fe,ge,le],isXML:!0,serializer:Ge},Zye={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:MN},default:{bodyMapper:R,headersMapper:LN}},queryParameters:[v,sr,Ds,ZJ],urlParameters:[P],headerParameters:[D,k,U,oe,ne,se,fe,ge,le,XJ],isXML:!0,serializer:Ge},eEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:_N},default:{bodyMapper:R,headersMapper:FN}},queryParameters:[v,iy],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:Ge},tEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:UN},default:{bodyMapper:R,headersMapper:ON}},queryParameters:[v,e3],urlParameters:[P],headerParameters:[D,k,U,t3,r3],isXML:!0,serializer:Ge},rEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:qN},default:{bodyMapper:R,headersMapper:HN}},queryParameters:[Bn,v],urlParameters:[P],headerParameters:[D,k,U,oe,ne,se,fe,ge,le,ks,Ts,Ms,Ls,_s,Fs],isXML:!0,serializer:Ge},nEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:zN},default:{bodyMapper:R,headersMapper:GN}},queryParameters:[v,sr,Ds,uR],urlParameters:[P],headerParameters:[D,k,U,se,Yn,Vn],isXML:!0,serializer:Ge},sEe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:YN},default:{bodyMapper:R,headersMapper:VN}},queryParameters:[v,sr,Ds,uR],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:Ge},iEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:JN},default:{bodyMapper:R,headersMapper:WN}},queryParameters:[v,sr,Ds,n3],urlParameters:[P],headerParameters:[D,k,U,s3],isXML:!0,serializer:Ge},oEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:$N},default:{bodyMapper:R,headersMapper:jN}},queryParameters:[v,sy],urlParameters:[P],headerParameters:[D,k,U,zt,oe,ne,se,Ke,Xe,Ze,fe,ge,le,ft],isXML:!0,serializer:Ge},aEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:KN},default:{bodyMapper:R,headersMapper:XN}},queryParameters:[v,Qn],urlParameters:[P],headerParameters:[D,k,U,ne,se,oy,ay,cy,fe,ge,le],isXML:!0,serializer:Ge},cEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ZN},default:{bodyMapper:R,headersMapper:eS}},queryParameters:[v,Qn],urlParameters:[P],headerParameters:[D,k,U,ne,se,ly,No,fe,ge,le],isXML:!0,serializer:Ge},lEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:tS},default:{bodyMapper:R,headersMapper:rS}},queryParameters:[v,Qn],urlParameters:[P],headerParameters:[D,k,U,ne,se,No,Ay,fe,ge,le],isXML:!0,serializer:Ge},AEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:nS},default:{bodyMapper:R,headersMapper:sS}},queryParameters:[v,Qn],urlParameters:[P],headerParameters:[D,k,U,ne,se,No,my,py,fe,ge,le],isXML:!0,serializer:Ge},uEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:iS},default:{bodyMapper:R,headersMapper:oS}},queryParameters:[v,Qn],urlParameters:[P],headerParameters:[D,k,U,ne,se,uy,dy,fe,ge,le],isXML:!0,serializer:Ge},dEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:aS},default:{bodyMapper:R,headersMapper:cS}},queryParameters:[v,i3],urlParameters:[P],headerParameters:[D,k,U,zt,oe,ne,se,Ke,Xe,Ze,fe,ge,le,ft],isXML:!0,serializer:Ge},mEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:lS},default:{bodyMapper:R,headersMapper:AS}},queryParameters:[v],urlParameters:[P],headerParameters:[D,k,U,zt,oe,ne,se,fe,ge,le,Yn,Vn,Ri,dR,Us,Os,qs,Hs,hy,ka,Jn,o3,zs],isXML:!0,serializer:Ge},pEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:uS},default:{bodyMapper:R,headersMapper:dS}},queryParameters:[v],urlParameters:[P],headerParameters:[D,k,U,zt,oe,ne,se,fe,ge,le,Yn,Vn,ft,Ri,Us,Os,qs,Hs,ka,Jn,zs,a3,Pi,vi,fy,Di],isXML:!0,serializer:Ge},hEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:mS},default:{bodyMapper:R,headersMapper:pS}},queryParameters:[v,c3,A3],urlParameters:[P],headerParameters:[D,k,U,oe,l3],isXML:!0,serializer:Ge},fEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Kg},202:{headersMapper:Kg},default:{bodyMapper:R,headersMapper:hS}},queryParameters:[v,sr,Ds,u3],urlParameters:[P],headerParameters:[D,k,U,oe,le,dR,d3],isXML:!0,serializer:Ge},gEe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:fS},default:{bodyMapper:R,headersMapper:gS}},queryParameters:[Bn,v,kl],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:Ge},yEe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Xg},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Xg},default:{bodyMapper:R,headersMapper:yS}},requestBody:m3,queryParameters:[v,sr,p3],urlParameters:[P],headerParameters:[Rs,In,D,k,oe,ne,se,Ke,Xe,Ze,fe,ge,le],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ge},EEe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Ud,headersMapper:ES},default:{bodyMapper:R,headersMapper:CS}},queryParameters:[v,sr,Ds,mR],urlParameters:[P],headerParameters:[D,k,U,oe,le,pR,hR,fR,gR],isXML:!0,serializer:Ge},CEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:IS},default:{bodyMapper:R,headersMapper:BS}},requestBody:h3,queryParameters:[v,Ds,mR],urlParameters:[P],headerParameters:[Rs,In,D,k,oe,le,pR,hR,fR,gR,xn,Gs],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ge};var wy=class{static{o(this,"PageBlobImpl")}client;constructor(e){this.client=e}create(e,r,n){return this.client.sendOperationRequest({contentLength:e,blobContentLength:r,options:n},IEe)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},BEe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},QEe)}uploadPagesFromURL(e,r,n,s,i){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:n,range:s,options:i},xEe)}getPageRanges(e){return this.client.sendOperationRequest({options:e},bEe)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},wEe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},NEe)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},SEe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},REe)}},ki=Wr(jr,!0),IEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:QS},default:{bodyMapper:R,headersMapper:xS}},queryParameters:[v],urlParameters:[P],headerParameters:[D,k,U,St,zt,oe,ne,se,Ke,Xe,Ze,fe,ge,le,ks,Ts,Ms,Ls,_s,Fs,Yn,Vn,ft,Ri,Jn,zs,f3,yR,ER],isXML:!0,serializer:ki},BEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bS},default:{bodyMapper:R,headersMapper:wS}},requestBody:Ma,queryParameters:[v,gy],urlParameters:[P],headerParameters:[D,k,St,oe,ne,se,Da,Ke,Xe,Ze,fe,ge,le,ft,xn,Gs,Ta,La,CR,yy,Ey,Cy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:ki},QEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NS},default:{bodyMapper:R,headersMapper:SS}},queryParameters:[v,gy],urlParameters:[P],headerParameters:[D,k,U,St,oe,ne,se,Da,Ke,Xe,Ze,fe,ge,le,ft,yy,Ey,Cy,g3],isXML:!0,serializer:ki},xEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:RS},default:{bodyMapper:R,headersMapper:PS}},queryParameters:[v,gy],urlParameters:[P],headerParameters:[D,k,U,St,oe,ne,se,Ke,Xe,Ze,fe,ge,le,ft,Us,Os,qs,Hs,Pi,vi,Di,CR,yy,Ey,Cy,Tl,y3,Ml,E3],isXML:!0,serializer:ki},bEe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:$g,headersMapper:vS},default:{bodyMapper:R,headersMapper:DS}},queryParameters:[v,Ps,vs,sr,IR],urlParameters:[P],headerParameters:[D,k,U,oe,ne,se,Da,fe,ge,le],isXML:!0,serializer:ki},wEe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:$g,headersMapper:kS},default:{bodyMapper:R,headersMapper:TS}},queryParameters:[v,Ps,vs,sr,IR,C3],urlParameters:[P],headerParameters:[D,k,U,oe,ne,se,Da,fe,ge,le,I3],isXML:!0,serializer:ki},NEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:MS},default:{bodyMapper:R,headersMapper:LS}},queryParameters:[Bn,v],urlParameters:[P],headerParameters:[D,k,U,oe,ne,se,Ke,Xe,Ze,fe,ge,le,ft,yR],isXML:!0,serializer:ki},SEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:_S},default:{bodyMapper:R,headersMapper:FS}},queryParameters:[Bn,v],urlParameters:[P],headerParameters:[D,k,U,oe,ne,se,fe,ge,le,ER,B3],isXML:!0,serializer:ki},REe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:US},default:{bodyMapper:R,headersMapper:OS}},queryParameters:[v,Q3],urlParameters:[P],headerParameters:[D,k,U,ne,se,fe,ge,le,ka],isXML:!0,serializer:ki};var Ny=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},PEe)}appendBlock(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},vEe)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},DEe)}seal(e){return this.client.sendOperationRequest({options:e},kEe)}},Sy=Wr(jr,!0),PEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:qS},default:{bodyMapper:R,headersMapper:HS}},queryParameters:[v],urlParameters:[P],headerParameters:[D,k,U,St,zt,oe,ne,se,Ke,Xe,Ze,fe,ge,le,ks,Ts,Ms,Ls,_s,Fs,Yn,Vn,ft,Jn,zs,x3],isXML:!0,serializer:Sy},vEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:zS},default:{bodyMapper:R,headersMapper:GS}},requestBody:Ma,queryParameters:[v,BR],urlParameters:[P],headerParameters:[D,k,St,oe,ne,se,Ke,Xe,Ze,fe,ge,le,ft,xn,Gs,Ta,La,QR,Iy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Sy},DEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:YS},default:{bodyMapper:R,headersMapper:VS}},queryParameters:[v,BR],urlParameters:[P],headerParameters:[D,k,U,St,oe,ne,se,Ke,Xe,Ze,fe,ge,le,ft,Us,Os,qs,Hs,Pi,vi,Di,xn,Tl,Ml,QR,Iy,By],isXML:!0,serializer:Sy},kEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:JS},default:{bodyMapper:R,headersMapper:WS}},queryParameters:[v,b3],urlParameters:[P],headerParameters:[D,k,U,oe,ne,se,fe,ge,Iy],isXML:!0,serializer:Sy};var Ry=class{static{o(this,"BlockBlobImpl")}client;constructor(e){this.client=e}upload(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},TEe)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},MEe)}stageBlock(e,r,n,s){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:s},LEe)}stageBlockFromURL(e,r,n,s){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:s},_Ee)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},FEe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},UEe)}},_l=Wr(jr,!0),TEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:$S},default:{bodyMapper:R,headersMapper:jS}},requestBody:Ma,queryParameters:[v],urlParameters:[P],headerParameters:[D,k,St,zt,oe,ne,se,Ke,Xe,Ze,fe,ge,le,ks,Ts,Ms,Ls,_s,Fs,Yn,Vn,ft,Ri,Jn,zs,xn,Gs,Ta,La,xR],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:_l},MEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:KS},default:{bodyMapper:R,headersMapper:XS}},queryParameters:[v],urlParameters:[P],headerParameters:[D,k,U,St,zt,oe,ne,se,Ke,Xe,Ze,fe,ge,le,ks,Ts,Ms,Ls,_s,Fs,ft,Ri,Us,Os,qs,Hs,hy,ka,Jn,Pi,vi,fy,Di,xn,xR,w3],isXML:!0,serializer:_l},LEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ZS},default:{bodyMapper:R,headersMapper:eR}},requestBody:Ma,queryParameters:[v,bR,wR],urlParameters:[P],headerParameters:[D,k,St,oe,Ke,Xe,Ze,ft,xn,Gs,Ta,La],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:_l},_Ee={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:tR},default:{bodyMapper:R,headersMapper:rR}},queryParameters:[v,bR,wR],urlParameters:[P],headerParameters:[D,k,U,St,oe,Ke,Xe,Ze,ft,Us,Os,qs,Hs,Pi,vi,Di,Tl,Ml,By],isXML:!0,serializer:_l},FEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:nR},default:{bodyMapper:R,headersMapper:sR}},requestBody:N3,queryParameters:[v,NR],urlParameters:[P],headerParameters:[Rs,In,D,k,zt,oe,ne,se,Ke,Xe,Ze,fe,ge,le,ks,Ts,Ms,Ls,_s,Fs,Yn,Vn,ft,Ri,Jn,zs,xn,Gs],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:_l},UEe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:D0,headersMapper:iR},default:{bodyMapper:R,headersMapper:oR}},queryParameters:[v,sr,NR,S3],urlParameters:[P],headerParameters:[D,k,U,oe,le],isXML:!0,serializer:_l};var zd=class extends Qd{static{o(this,"StorageClient")}url;version;constructor(e,r){if(e===void 0)throw new Error("'url' cannot be null");r||(r={});let n={requestContentType:"application/json; charset=utf-8"},s="azsdk-js-azure-storage-blob/12.30.0",i=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${s}`:`${s}`,a={...n,...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 Qy(this),this.container=new xy(this),this.blob=new by(this),this.pageBlob=new wy(this),this.appendBlob=new Ny(this),this.blockBlob=new Ry(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var Gd=class extends zd{static{o(this,"StorageContextClient")}async sendOperationRequest(e,r){let n={...r};return(n.path==="/{containerName}"||n.path==="/{containerName}/{blob}")&&(n.path=""),super.sendOperationRequest(e,n)}};function P3(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=qEe(r),e.pathname=r,e.toString()}o(P3,"escapeURLPath");function OEe(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let r=t.split(";");for(let n of r)n.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=n.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(OEe,"getProxyUriFromDevConnString");function _a(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(_a,"getValueInConnString");function Fa(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=OEe(t),t=bJ);let r=_a(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let n="",s="",i=Buffer.from("accountKey","base64"),a="";if(s=_a(t,"AccountName"),i=Buffer.from(_a(t,"AccountKey"),"base64"),!r){n=_a(t,"DefaultEndpointsProtocol");let c=n.toLowerCase();if(c!=="https"&&c!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(a=_a(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${s}.blob.${a}`}if(s){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:s,accountKey:i,proxyUri:e}}else{let n=_a(t,"SharedAccessSignature"),s=_a(t,"AccountName");if(s||(s=vR(r)),r){if(!n)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return n.startsWith("?")&&(n=n.substring(1)),{kind:"SASConnString",url:r,accountName:s,accountSas:n}}}o(Fa,"extractConnectionStringParts");function qEe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(qEe,"escape");function Ct(t,e){let r=new URL(t),n=r.pathname;return n=n?n.endsWith("/")?`${n}${e}`:`${n}/${e}`:e,r.pathname=n,r.toString()}o(Ct,"appendToURLPath");function Fl(t,e,r){let n=new URL(t),s=encodeURIComponent(e),i=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[A]=l.split("=",2);A!==s&&c.push(l)}return i&&c.push(`${s}=${i}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o(Fl,"setURLParameter");function SR(t,e){return new URL(t).searchParams.get(e)??void 0}o(SR,"getURLParameter");function v3(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(v3,"getURLScheme");function Yd(t,e){let r=new URL(t),n=r.search;return n?n+="&"+e:n=e,r.search=n,r.toString()}o(Yd,"appendToURLQuery");function Ie(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(Ie,"truncatedISO8061Date");function HEe(t){return Ce?Buffer.from(t).toString("base64"):btoa(t)}o(HEe,"base64encode");function RR(t,e){t.length>42&&(t=t.slice(0,42));let i=t+zEe(e.toString(),48-t.length,"0");return HEe(i)}o(RR,"generateBlockID");function zEe(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(zEe,"padStart");function PR(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(PR,"iEqual");function vR(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:Py(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(vR,"getAccountNameFromUrl");function Py(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&&PJ.includes(t.port)}o(Py,"isIpEndpointStyle");function Ro(t){if(t===void 0)return;let e=[];for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.push(`${encodeURIComponent(r)}=${encodeURIComponent(n)}`)}return e.join("&")}o(Ro,"toBlobTagsString");function D3(t){if(t===void 0)return;let e={blobTagSet:[]};for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.blobTagSet.push({key:r,value:n})}return e}o(D3,"toBlobTags");function vy(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(vy,"toTags");function DR(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(DR,"toQuerySerialization");function Dy(t){if(!t||"policy-id"in t)return;let e=[];for(let r in t){let n=r.split("_"),s="or-";n[0].startsWith(s)&&(n[0]=n[0].substring(s.length));let i={ruleId:n[1],replicationStatus:t[r]},a=e.findIndex(c=>c.policyId===n[0]);a>-1?e[a].rules.push(i):e.push({policyId:n[0],rules:[i]})}return e}o(Dy,"parseObjectReplicationRecord");function Ul(t){return t?t.scheme+" "+t.value:void 0}o(Ul,"httpAuthorizationToString");function*kR(t){let e=[],r=[];t.pageRange&&(e=t.pageRange),t.clearRange&&(r=t.clearRange);let n=0,s=0;for(;n0&&n.length>0&&e.push(`${r}=${n}`))}};function Vd(t,e,r){return Jd(t,e,r).sasQueryParameters}o(Vd,"generateBlobSASQueryParameters");function Jd(t,e,r){let n=t.version?t.version:Jg,s=e instanceof je?e:void 0,i;if(s===void 0&&r!==void 0&&(i=new Yg(r,e)),s===void 0&&i===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")return s!==void 0?VEe(t,s):n>="2025-07-05"?jEe(t,i):$Ee(t,i);if(n>="2018-11-09")return s!==void 0?YEe(t,s):n>="2020-02-10"?WEe(t,i):JEe(t,i);if(n>="2015-04-05"){if(s!==void 0)return GEe(t,s);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(Jd,"generateBlobSASQueryParametersInternal");function GEe(t,e){if(t=Oa(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";t.blobName&&(r="b");let n;t.permissions&&(t.blobName?n=Ys.parse(t.permissions.toString()).toString():n=Vs.parse(t.permissions.toString()).toString());let s=[n||"",t.startsOn?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Ua(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(s);return{sasQueryParameters:new $n(t.version,i,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:s}}o(GEe,"generateBlobSASQueryParameters20150405");function YEe(t,e){if(t=Oa(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=Ys.parse(t.permissions.toString()).toString():s=Vs.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Ua(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Wn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` -`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new $n(t.version,a,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:i}}o(YEe,"generateBlobSASQueryParameters20181109");function VEe(t,e){if(t=Oa(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=Ys.parse(t.permissions.toString()).toString():s=Vs.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Ua(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Wn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` -`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new $n(t.version,a,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,void 0,void 0,void 0,t.encryptionScope),stringToSign:i}}o(VEe,"generateBlobSASQueryParameters20201206");function JEe(t,e){if(t=Oa(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=Ys.parse(t.permissions.toString()).toString():s=Vs.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Ua(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ie(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ie(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?Wn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` -`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new $n(t.version,a,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,e.userDelegationKey),stringToSign:i}}o(JEe,"generateBlobSASQueryParametersUDK20181109");function WEe(t,e){if(t=Oa(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=Ys.parse(t.permissions.toString()).toString():s=Vs.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Ua(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ie(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ie(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,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` -`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new $n(t.version,a,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,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:i}}o(WEe,"generateBlobSASQueryParametersUDK20200210");function $Ee(t,e){if(t=Oa(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=Ys.parse(t.permissions.toString()).toString():s=Vs.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Ua(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ie(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ie(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,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` -`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new $n(t.version,a,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,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:i}}o($Ee,"generateBlobSASQueryParametersUDK20201206");function jEe(t,e){if(t=Oa(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=Ys.parse(t.permissions.toString()).toString():s=Vs.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Ua(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ie(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ie(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,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` -`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new $n(t.version,a,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,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:i}}o(jEe,"generateBlobSASQueryParametersUDK20250705");function Ua(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}o(Ua,"getCanonicalName");function Oa(t){let e=t.version?t.version:Jg;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(Oa,"SASSignatureValuesSanityCheckAndAutofill");var Wd=class{static{o(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let n=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=n.container):(this._isContainer=!1,this._containerOrBlobOperation=n.blob),r||(r=xl()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Gn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Gn||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 q.withSpan("BlobLeaseClient-acquireLease",r,async n=>Y(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:n.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Gn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Gn||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 q.withSpan("BlobLeaseClient-changeLease",r,async n=>{let s=Y(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return this._leaseId=e,s})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==Gn||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Gn||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 q.withSpan("BlobLeaseClient-releaseLease",e,async r=>Y(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!==Gn||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Gn||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 q.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!==Gn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Gn||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 q.withSpan("BlobLeaseClient-breakLease",r,async n=>{let s={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions};return Y(await this._containerOrBlobOperation.breakLease(s))})}};var T3=require("node:stream");var ky=class extends T3.Readable{static{o(this,"RetriableReadableStream")}start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,r,n,s,i={}){super({highWaterMark:i.highWaterMark}),this.getter=r,this.source=e,this.start=n,this.offset=n,this.end=n+s-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 Vr("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 Ty=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 Ce?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,n,s,i={}){this.originalResponse=e,this.blobDownloadStream=new ky(this.originalResponse.readableStreamBody,r,n,s,i)}};var O3=require("node:stream");var TR=new Uint8Array([79,98,106,1]),M3="avro.codec",L3="avro.schema";var Ve=class t{static{o(this,"AvroParser")}static async readFixedBytes(e,r,n={}){let s=await e.read(r,{abortSignal:n.abortSignal});if(s.length!==r)throw new Error("Hit stream end.");return s}static async readByte(e,r={}){return(await t.readFixedBytes(e,1,r))[0]}static async readZigZagLong(e,r={}){let n=0,s=0,i,a,c;do i=await t.readByte(e,r),a=i&128,n|=(i&127)<Number.MAX_SAFE_INTEGER)throw new Error("Integer overflow.");return l}return n>>1^-(n&1)}static async readLong(e,r={}){return t.readZigZagLong(e,r)}static async readInt(e,r={}){return t.readZigZagLong(e,r)}static async readNull(){return null}static async readBoolean(e,r={}){let n=await t.readByte(e,r);if(n===1)return!0;if(n===0)return!1;throw new Error("Byte was not a boolean.")}static async readFloat(e,r={}){let n=await t.readFixedBytes(e,4,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat32(0,!0)}static async readDouble(e,r={}){let n=await t.readFixedBytes(e,8,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat64(0,!0)}static async readBytes(e,r={}){let n=await t.readLong(e,r);if(n<0)throw new Error("Bytes size was negative.");return e.read(n,{abortSignal:r.abortSignal})}static async readString(e,r={}){let n=await t.readBytes(e,r);return new TextDecoder().decode(n)}static async readMapPair(e,r,n={}){let s=await t.readString(e,n),i=await r(e,n);return{key:s,value:i}}static async readMap(e,r,n={}){let s=o((c,l={})=>t.readMapPair(c,r,l),"readPairMethod"),i=await t.readArray(e,s,n),a={};for(let c of i)a[c.key]=c.value;return a}static async readArray(e,r,n={}){let s=[];for(let i=await t.readLong(e,n);i!==0;i=await t.readLong(e,n))for(i<0&&(await t.readLong(e,n),i=-i);i--;){let a=await r(e,n);s.push(a)}return s}},qa;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(qa||(qa={}));var vt;(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"})(vt||(vt={}));var Ti=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 vt.NULL:case vt.BOOLEAN:case vt.INT:case vt.LONG:case vt.FLOAT:case vt.DOUBLE:case vt.BYTES:case vt.STRING:return new MR(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new _R(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case qa.RECORD:if(e.aliases)throw new Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw new Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let n={};if(!e.fields)throw new Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let s of e.fields)n[s.name]=t.fromSchema(s.type);return new UR(n,e.name);case qa.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 LR(e.symbols);case qa.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new FR(t.fromSchema(e.values));case qa.ARRAY:case qa.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},MR=class extends Ti{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case vt.NULL:return Ve.readNull();case vt.BOOLEAN:return Ve.readBoolean(e,r);case vt.INT:return Ve.readInt(e,r);case vt.LONG:return Ve.readLong(e,r);case vt.FLOAT:return Ve.readFloat(e,r);case vt.DOUBLE:return Ve.readDouble(e,r);case vt.BYTES:return Ve.readBytes(e,r);case vt.STRING:return Ve.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},LR=class extends Ti{static{o(this,"AvroEnumType")}_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let n=await Ve.readInt(e,r);return this._symbols[n]}},_R=class extends Ti{static{o(this,"AvroUnionType")}_types;constructor(e){super(),this._types=e}async read(e,r={}){let n=await Ve.readInt(e,r);return this._types[n].read(e,r)}},FR=class extends Ti{static{o(this,"AvroMapType")}_itemType;constructor(e){super(),this._itemType=e}read(e,r={}){let n=o((s,i)=>this._itemType.read(s,i),"readItemMethod");return Ve.readMap(e,n,r)}},UR=class extends Ti{static{o(this,"AvroRecordType")}_name;_fields;constructor(e,r){super(),this._fields=e,this._name=r}async read(e,r={}){let n={};n.$schema=this._name;for(let s in this._fields)Object.prototype.hasOwnProperty.call(this._fields,s)&&(n[s]=await this._fields[s].read(e,r));return n}};function OR(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 n=await Ve.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!OR(this._syncMarker,n))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await Ve.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await Ve.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};var jd=class{static{o(this,"AvroReadable")}};var U3=require("buffer");var F3=new Vr("Reading from the avro stream was aborted."),Kd=class extends jd{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?U3.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 F3;if(e<0)throw new Error(`size parameter should be positive: ${e}`);if(e===0)return new Uint8Array;if(!this._readable.readable)throw new Error("Stream no longer readable.");let n=this._readable.read(e);return n?(this._position+=n.length,this.toUint8Array(n)):new Promise((s,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",A)},"cleanUp"),c=o(()=>{let u=this._readable.read(e);u&&(this._position+=u.length,a(),s(this.toUint8Array(u)))},"readableCallback"),l=o(()=>{a(),i()},"rejectCallback"),A=o(()=>{a(),i(F3)},"abortHandler");this._readable.on("readable",c),this._readable.once("error",l),this._readable.once("end",l),this._readable.once("close",l),r.abortSignal&&r.abortSignal.addEventListener("abort",A)})}};var My=class extends O3.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 $d(new Kd(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:r.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){this.avroPaused=!1;let e;do{if(e=await this.avroIter.next(),e.done)break;let r=e.value,n=r.$schema;if(typeof n!="string")throw Error("Missing schema in avro record.");switch(n){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let s=r.data;if(!(s instanceof Uint8Array))throw Error("Invalid data in avro result record.");this.push(Buffer.from(s))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let s=r.bytesScanned;if(typeof s!="number")throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:s})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let s=r.totalBytes;if(typeof s!="number")throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:s})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let s=r.fatal;if(typeof s!="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:s,description:a})}break;default:throw Error(`Unknown schema ${n} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}};var Ly=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 Ce?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new My(this.originalResponse.readableStreamBody,r)}};var qR;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(qR||(qR={}));var HR;(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"})(HR||(HR={}));function Po(t){if(t!==void 0)return t}o(Po,"toAccessTier");function It(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=xJ)}o(It,"ensureCpkIfSpecified");var zR;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(zR||(zR={}));function _y(t){let e=(t._response.parsedBody.pageRange||[]).map(n=>({offset:n.start,count:n.end-n.start})),r=(t._response.parsedBody.clearRange||[]).map(n=>({offset:n.start,count:n.end-n.start}));return{...t,pageRange:e,clearRange:r,_response:{...t._response,parsedBody:{pageRange:e,clearRange:r}}}}o(_y,"rangeResponseFromModel");var b4=Q(x4(),1);var Jy=class extends b4.Poller{static{o(this,"BlobBeginCopyFromUrlPoller")}intervalInMs;constructor(e){let{blobClient:r,copySource:n,intervalInMs:s=15e3,onProgress:i,resumeFrom:a,startCopyFromURLOptions:c}=e,l;a&&(l=JSON.parse(a).state);let A=tm({...l,blobClient:r,copySource:n,startCopyFromURLOptions:c});super(A),typeof i=="function"&&this.onProgress(i),this.intervalInMs=s}delay(){return md(this.intervalInMs)}},JCe=o(async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?tm(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,tm(r)):(r.isCancelled=!0,tm(r))},"cancel"),WCe=o(async function(e={}){let r=this.state,{blobClient:n,copySource:s,startCopyFromURLOptions:i}=r;if(r.isStarted){if(!r.isCompleted)try{let a=await r.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:c,copyProgress:l}=a,A=r.copyProgress;l&&(r.copyProgress=l),c==="pending"&&l!==A&&typeof e.fireProgress=="function"?e.fireProgress(r):c==="success"?(r.result=a,r.isCompleted=!0):c==="failed"&&(r.error=new Error(`Blob copy failed with reason: "${a.copyStatusDescription||"unknown"}"`),r.isCompleted=!0)}catch(a){r.error=a,r.isCompleted=!0}}else{r.isStarted=!0;let a=await n.startCopyFromURL(s,i);r.copyId=a.copyId,a.copyStatus==="success"&&(r.result=a,r.isCompleted=!0)}return tm(r)},"update"),$Ce=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function tm(t){return{state:{...t},cancel:JCe,toString:$Ce,update:WCe}}o(tm,"makeBlobBeginCopyFromURLPollOperation");function Qr(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(Qr,"rangeToString");var w4=require("events");var rm;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(rm||(rm={}));var nm=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=rm.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new w4.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(r){this.emitter.emit("error",r)}})}async do(){return this.operations.length===0?Promise.resolve():(this.parallelExecute(),new Promise((e,r)=>{this.emitter.on("finish",e),this.emitter.on("error",n=>{this.state=rm.Error,r(n)})}))}nextOperation(){return this.offset=this.operations.length){this.emitter.emit("finish");return}for(;this.actives{let A=setTimeout(()=>l(new Error("The operation cannot be completed in timeout.")),1e5);t.on("readable",()=>{if(i>=a){clearTimeout(A),c();return}let u=t.read();if(!u)return;typeof u=="string"&&(u=Buffer.from(u,s));let d=i+u.length>a?a-i:u.length;e.fill(u.slice(0,d),r+i,r+i+d),i+=d}),t.on("end",()=>{clearTimeout(A),i{clearTimeout(A),l(u)})})}o(S4,"streamToBuffer");async function R4(t,e){return new Promise((r,n)=>{let s=Wy.default.createWriteStream(e);t.on("error",i=>{n(i)}),s.on("error",i=>{n(i)}),s.on("close",r),t.pipe(s)})}o(R4,"readStreamToLocalFile");var P4=N4.default.promisify(Wy.default.stat),v4=Wy.default.createReadStream;var Mi=class t extends Ol{static{o(this,"BlobClient")}blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,r,n,s){s=s||{};let i,a;if(Si(r))a=e,i=r;else if(Ce&&r instanceof je||r instanceof ze||Jr(r))a=e,s=n,i=lt(r,s);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(s=n),i=lt(new ze,s);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=Fa(e);if(A.kind==="AccountConnString")if(Ce){let u=new je(A.accountName,A.accountKey);a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l)),s.proxyOptions||(s.proxyOptions=Io(A.proxyUri)),i=lt(u,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,i=lt(new ze,s);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=SR(this.url,Ni.Parameters.SNAPSHOT),this._versionId=SR(this.url,Ni.Parameters.VERSIONID)}withSnapshot(e){return new t(Fl(this.url,Ni.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(Fl(this.url,Ni.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new jy(this.url,this.pipeline)}getBlockBlobClient(){return new zl(this.url,this.pipeline)}getPageBlobClient(){return new Ky(this.url,this.pipeline)}async download(e=0,r,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},It(n.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-download",n,async s=>{let i=Y(await this.blobContext.download({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onDownloadProgress:Ce?void 0:n.onProgress},range:e===0&&!r?void 0:Qr({offset:e,count:r}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey,tracingOptions:s.tracingOptions})),a={...i,_response:i._response,objectReplicationDestinationPolicyId:i.objectReplicationPolicyId,objectReplicationSourceProperties:Dy(i.objectReplicationRules)};if(!Ce)return a;if((n.maxRetryRequests===void 0||n.maxRetryRequests<0)&&(n.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 Ty(a,async c=>{let l={leaseAccessConditions:n.conditions,modifiedAccessConditions:{ifMatch:n.conditions.ifMatch||i.etag,ifModifiedSince:n.conditions.ifModifiedSince,ifNoneMatch:n.conditions.ifNoneMatch,ifUnmodifiedSince:n.conditions.ifUnmodifiedSince,ifTags:n.conditions?.tagConditions},range:Qr({count:e+i.contentLength-c,offset:c}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey};return(await this.blobContext.download({abortSignal:n.abortSignal,...l})).readableStreamBody},e,i.contentLength,{maxRetryRequests:n.maxRetryRequests,onProgress:n.onProgress})})}async exists(e={}){return q.withSpan("BlobClient-exists",e,async r=>{try{return It(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:r.tracingOptions}),!0}catch(n){if(n.statusCode===404)return!1;if(n.statusCode===409&&(n.details.errorCode===SJ||n.details.errorCode===RJ))return!0;throw n}})}async getProperties(e={}){return e.conditions=e.conditions||{},It(e.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-getProperties",e,async r=>{let n=Y(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,objectReplicationDestinationPolicyId:n.objectReplicationPolicyId,objectReplicationSourceProperties:Dy(n.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},q.withSpan("BlobClient-delete",e,async r=>Y(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 q.withSpan("BlobClient-deleteIfExists",e,async r=>{try{let n=Y(await this.delete(r));return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="BlobNotFound")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async undelete(e={}){return q.withSpan("BlobClient-undelete",e,async r=>Y(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},It(r.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-setHTTPHeaders",r,async n=>Y(await this.blobContext.setHttpHeaders({abortSignal:r.abortSignal,blobHttpHeaders:e,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}async setMetadata(e,r={}){return r.conditions=r.conditions||{},It(r.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-setMetadata",r,async n=>Y(await this.blobContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async setTags(e,r={}){return q.withSpan("BlobClient-setTags",r,async n=>Y(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},blobModifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions,tags:D3(e)})))}async getTags(e={}){return q.withSpan("BlobClient-getTags",e,async r=>{let n=Y(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,tags:vy({blobTagSet:n.blobTagSet})||{}}})}getBlobLeaseClient(e){return new Wd(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},It(e.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-createSnapshot",e,async r=>Y(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:r.tracingOptions})))}async beginCopyFromURL(e,r={}){let n={abortCopyFromURL:o((...i)=>this.abortCopyFromURL(...i),"abortCopyFromURL"),getProperties:o((...i)=>this.getProperties(...i),"getProperties"),startCopyFromURL:o((...i)=>this.startCopyFromURL(...i),"startCopyFromURL")},s=new Jy({blobClient:n,copySource:e,intervalInMs:r.intervalInMs,onProgress:r.onProgress,resumeFrom:r.resumeFrom,startCopyFromURLOptions:r});return await s.poll(),s}async abortCopyFromURL(e,r={}){return q.withSpan("BlobClient-abortCopyFromURL",r,async n=>Y(await this.blobContext.abortCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,tracingOptions:n.tracingOptions})))}async syncCopyFromURL(e,r={}){return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},q.withSpan("BlobClient-syncCopyFromURL",r,async n=>Y(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:Ul(r.sourceAuthorization),tier:Po(r.tier),blobTagsString:Ro(r.tags),immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,encryptionScope:r.encryptionScope,copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async setAccessTier(e,r={}){return q.withSpan("BlobClient-setAccessTier",r,async n=>Y(await this.blobContext.setTier(Po(e),{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},rehydratePriority:r.rehydratePriority,tracingOptions:n.tracingOptions})))}async downloadToBuffer(e,r,n,s={}){let i,a=0,c=0,l=s;e instanceof Buffer?(i=e,a=r||0,c=typeof n=="number"?n:0):(a=typeof e=="number"?e:0,c=typeof r=="number"?r:0,l=n||{});let A=l.blockSize??0;if(A<0)throw new RangeError("blockSize option must be >= 0");if(A===0&&(A=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={}),q.withSpan("BlobClient-downloadToBuffer",l,async u=>{if(!c){let p=await this.getProperties({...l,tracingOptions:u.tracingOptions});if(c=p.contentLength-a,c<0)throw new RangeError(`offset ${a} shouldn't be larger than blob size ${p.contentLength}`)}if(!i)try{i=Buffer.alloc(c)}catch(p){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". ${p.message}`)}if(i.length{let h=a+c;p+A{let a=await this.download(r,n,{...s,tracingOptions:i.tracingOptions});return a.readableStreamBody&&await R4(a.readableStreamBody,e),a.blobDownloadStream=void 0,a})}getBlobAndContainerNamesFromUrl(){let e,r;try{let n=new URL(this.url);if(n.host.split(".")[1]==="blob"){let s=n.pathname.match("/([^/]*)(/(.*))?");e=s[1],r=s[3]}else if(Py(n)){let s=n.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=s[2],r=s[4]}else{let s=n.pathname.match("/([^/]*)(/(.*))?");e=s[1],r=s[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 q.withSpan("BlobClient-startCopyFromURL",r,async n=>(r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},Y(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:Po(r.tier),blobTagsString:Ro(r.tags),sealBlob:r.sealBlob,tracingOptions:n.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof je))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=Vd({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r(Yd(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof je))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return Jd({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let s=Vd({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();n(Yd(this.url,s))})}generateUserDelegationSasStringToSign(e,r){return Jd({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return q.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>Y(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return q.withSpan("BlobClient-setImmutabilityPolicy",r,async n=>Y(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:n.tracingOptions})))}async setLegalHold(e,r={}){return q.withSpan("BlobClient-setLegalHold",r,async n=>Y(await this.blobContext.setLegalHold(e,{tracingOptions:n.tracingOptions})))}async getAccountInfo(e={}){return q.withSpan("BlobClient-getAccountInfo",e,async r=>Y(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}},jy=class t extends Mi{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,n,s){let i,a;if(s=s||{},Si(r))a=e,i=r;else if(Ce&&r instanceof je||r instanceof ze||Jr(r))a=e,s=n,i=lt(r,s);else if(!r&&typeof r!="string")a=e,i=lt(new ze,s);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=Fa(e);if(A.kind==="AccountConnString")if(Ce){let u=new je(A.accountName,A.accountKey);a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l)),s.proxyOptions||(s.proxyOptions=Io(A.proxyUri)),i=lt(u,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,i=lt(new ze,s);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(Fl(this.url,Ni.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},It(e.customerProvidedKey,this.isHttps),q.withSpan("AppendBlobClient-create",e,async r=>Y(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:Ro(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:B0};return q.withSpan("AppendBlobClient-createIfNotExists",e,async n=>{try{let s=Y(await this.create({...n,conditions:r}));return{succeeded:!0,...s,_response:s._response}}catch(s){if(s.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...s.response?.parsedHeaders,_response:s.response};throw s}})}async seal(e={}){return e.conditions=e.conditions||{},q.withSpan("AppendBlobClient-seal",e,async r=>Y(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async appendBlock(e,r,n={}){return n.conditions=n.conditions||{},It(n.customerProvidedKey,this.isHttps),q.withSpan("AppendBlobClient-appendBlock",n,async s=>Y(await this.appendBlobContext.appendBlock(r,e,{abortSignal:n.abortSignal,appendPositionAccessConditions:n.conditions,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:s.tracingOptions})))}async appendBlockFromURL(e,r,n,s={}){return s.conditions=s.conditions||{},s.sourceConditions=s.sourceConditions||{},It(s.customerProvidedKey,this.isHttps),q.withSpan("AppendBlobClient-appendBlockFromURL",s,async i=>Y(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:s.abortSignal,sourceRange:Qr({offset:r,count:n}),sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,leaseAccessConditions:s.conditions,appendPositionAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:s.sourceConditions?.ifMatch,sourceIfModifiedSince:s.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:s.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:s.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:Ul(s.sourceAuthorization),cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:i.tracingOptions})))}},zl=class t extends Mi{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,n,s){let i,a;if(s=s||{},Si(r))a=e,i=r;else if(Ce&&r instanceof je||r instanceof ze||Jr(r))a=e,s=n,i=lt(r,s);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(s=n),i=lt(new ze,s);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=Fa(e);if(A.kind==="AccountConnString")if(Ce){let u=new je(A.accountName,A.accountKey);a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l)),s.proxyOptions||(s.proxyOptions=Io(A.proxyUri)),i=lt(u,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,i=lt(new ze,s);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(Fl(this.url,Ni.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(It(r.customerProvidedKey,this.isHttps),!Ce)throw new Error("This operation currently is only supported in Node.js.");return q.withSpan("BlockBlobClient-query",r,async n=>{let s=Y(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:DR(r.inputTextConfiguration),outputSerialization:DR(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions}));return new Ly(s,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,n={}){return n.conditions=n.conditions||{},It(n.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-upload",n,async s=>Y(await this.blockBlobContext.upload(r,e,{abortSignal:n.abortSignal,blobHttpHeaders:n.blobHTTPHeaders,leaseAccessConditions:n.conditions,metadata:n.metadata,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,immutabilityPolicyExpiry:n.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:n.immutabilityPolicy?.policyMode,legalHold:n.legalHold,tier:Po(n.tier),blobTagsString:Ro(n.tags),tracingOptions:s.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},It(r.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-syncUploadFromURL",r,async n=>Y(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:Ul(r.sourceAuthorization),tier:Po(r.tier),blobTagsString:Ro(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async stageBlock(e,r,n,s={}){return It(s.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-stageBlock",s,async i=>Y(await this.blockBlobContext.stageBlock(e,n,r,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,requestOptions:{onUploadProgress:s.onProgress},transactionalContentMD5:s.transactionalContentMD5,transactionalContentCrc64:s.transactionalContentCrc64,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,tracingOptions:i.tracingOptions})))}async stageBlockFromURL(e,r,n=0,s,i={}){return It(i.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-stageBlockFromURL",i,async a=>Y(await this.blockBlobContext.stageBlockFromURL(e,0,r,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,sourceRange:n===0&&!s?void 0:Qr({offset:n,count:s}),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:Ul(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},It(r.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-commitBlockList",r,async n=>Y(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:Po(r.tier),blobTagsString:Ro(r.tags),tracingOptions:n.tracingOptions})))}async getBlockList(e,r={}){return q.withSpan("BlockBlobClient-getBlockList",r,async n=>{let s=Y(await this.blockBlobContext.getBlockList(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return s.committedBlocks||(s.committedBlocks=[]),s.uncommittedBlocks||(s.uncommittedBlocks=[]),s})}async uploadData(e,r={}){return q.withSpan("BlockBlobClient-uploadData",r,async n=>{if(Ce){let s;return e instanceof Buffer?s=e:e instanceof ArrayBuffer?s=Buffer.from(e):(e=e,s=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),this.uploadSeekableInternal((i,a)=>s.slice(i,i+a),s.byteLength,n)}else{let s=new Blob([e]);return this.uploadSeekableInternal((i,a)=>s.slice(i,i+a),s.size,n)}})}async uploadBrowserData(e,r={}){return q.withSpan("BlockBlobClient-uploadBrowserData",r,async n=>{let s=new Blob([e]);return this.uploadSeekableInternal((i,a)=>s.slice(i,i+a),s.size,n)})}async uploadSeekableInternal(e,r,n={}){let s=n.blockSize??0;if(s<0||s>4194304e3)throw new RangeError(`blockSize option must be >= 0 and <= ${4194304e3}`);let i=n.maxSingleShotSize??268435456;if(i<0||i>268435456)throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${268435456}`);if(s===0){if(r>4194304e3*5e4)throw new RangeError(`${r} is too larger to upload to a block blob.`);r>i&&(s=Math.ceil(r/5e4),s<4194304&&(s=4194304))}return n.blobHTTPHeaders||(n.blobHTTPHeaders={}),n.conditions||(n.conditions={}),q.withSpan("BlockBlobClient-uploadSeekableInternal",n,async a=>{if(r<=i)return Y(await this.upload(e(0,r),r,a));let c=Math.floor((r-1)/s)+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=[],A=xl(),u=0,d=new nm(n.concurrency);for(let m=0;m{let p=RR(A,m),h=s*m,C=(m===c-1?r:h+s)-h;l.push(p),await this.stageBlock(p,e(h,C),C,{abortSignal:n.abortSignal,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:a.tracingOptions}),u+=C,n.onProgress&&n.onProgress({loadedBytes:u})});return await d.do(),this.commitBlockList(l,a)})}async uploadFile(e,r={}){return q.withSpan("BlockBlobClient-uploadFile",r,async n=>{let s=(await P4(e)).size;return this.uploadSeekableInternal((i,a)=>()=>v4(e,{autoClose:!0,end:a?i+a-1:1/0,start:i}),s,{...r,tracingOptions:n.tracingOptions})})}async uploadStream(e,r=8388608,n=5,s={}){return s.blobHTTPHeaders||(s.blobHTTPHeaders={}),s.conditions||(s.conditions={}),q.withSpan("BlockBlobClient-uploadStream",s,async i=>{let a=0,c=xl(),l=0,A=[];return await new Ug(e,r,n,async(d,m)=>{let p=RR(c,a);A.push(p),a++,await this.stageBlock(p,d,m,{customerProvidedKey:s.customerProvidedKey,conditions:s.conditions,encryptionScope:s.encryptionScope,tracingOptions:i.tracingOptions}),l+=m,s.onProgress&&s.onProgress({loadedBytes:l})},Math.ceil(n/4*3)).do(),Y(await this.commitBlockList(A,{...s,tracingOptions:i.tracingOptions}))})}},Ky=class t extends Mi{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,n,s){let i,a;if(s=s||{},Si(r))a=e,i=r;else if(Ce&&r instanceof je||r instanceof ze||Jr(r))a=e,s=n,i=lt(r,s);else if(!r&&typeof r!="string")a=e,i=lt(new ze,s);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=Fa(e);if(A.kind==="AccountConnString")if(Ce){let u=new je(A.accountName,A.accountKey);a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l)),s.proxyOptions||(s.proxyOptions=Io(A.proxyUri)),i=lt(u,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,i=lt(new ze,s);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(Fl(this.url,Ni.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},It(r.customerProvidedKey,this.isHttps),q.withSpan("PageBlobClient-create",r,async n=>Y(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:Po(r.tier),blobTagsString:Ro(r.tags),tracingOptions:n.tracingOptions})))}async createIfNotExists(e,r={}){return q.withSpan("PageBlobClient-createIfNotExists",r,async n=>{try{let s={ifNoneMatch:B0},i=Y(await this.create(e,{...r,conditions:s,tracingOptions:n.tracingOptions}));return{succeeded:!0,...i,_response:i._response}}catch(s){if(s.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...s.response?.parsedHeaders,_response:s.response};throw s}})}async uploadPages(e,r,n,s={}){return s.conditions=s.conditions||{},It(s.customerProvidedKey,this.isHttps),q.withSpan("PageBlobClient-uploadPages",s,async i=>Y(await this.pageBlobContext.uploadPages(n,e,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},requestOptions:{onUploadProgress:s.onProgress},range:Qr({offset:r,count:n}),sequenceNumberAccessConditions:s.conditions,transactionalContentMD5:s.transactionalContentMD5,transactionalContentCrc64:s.transactionalContentCrc64,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,tracingOptions:i.tracingOptions})))}async uploadPagesFromURL(e,r,n,s,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},It(i.customerProvidedKey,this.isHttps),q.withSpan("PageBlobClient-uploadPagesFromURL",i,async a=>Y(await this.pageBlobContext.uploadPagesFromURL(e,Qr({offset:r,count:s}),0,Qr({offset:n,count:s}),{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:Ul(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async clearPages(e=0,r,n={}){return n.conditions=n.conditions||{},q.withSpan("PageBlobClient-clearPages",n,async s=>Y(await this.pageBlobContext.clearPages(0,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:Qr({offset:e,count:r}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:s.tracingOptions})))}async getPageRanges(e=0,r,n={}){return n.conditions=n.conditions||{},q.withSpan("PageBlobClient-getPageRanges",n,async s=>{let i=Y(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:Qr({offset:e,count:r}),tracingOptions:s.tracingOptions}));return _y(i)})}async listPageRangesSegment(e=0,r,n,s={}){return q.withSpan("PageBlobClient-getPageRangesSegment",s,async i=>Y(await this.pageBlobContext.getPageRanges({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},range:Qr({offset:e,count:r}),marker:n,maxPageSize:s.maxPageSize,tracingOptions:i.tracingOptions})))}async*listPageRangeItemSegments(e=0,r,n,s={}){let i;if(n||n===void 0)do i=await this.listPageRangesSegment(e,r,n,s),n=i.continuationToken,yield await i;while(n)}async*listPageRangeItems(e=0,r,n={}){let s;for await(let i of this.listPageRangeItemSegments(e,r,s,n))yield*kR(i)}listPageRanges(e=0,r,n={}){n.conditions=n.conditions||{};let s=this.listPageRangeItems(e,r,n);return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:o((i={})=>this.listPageRangeItemSegments(e,r,i.continuationToken,{maxPageSize:i.maxPageSize,...n}),"byPage")}}async getPageRangesDiff(e,r,n,s={}){return s.conditions=s.conditions||{},q.withSpan("PageBlobClient-getPageRangesDiff",s,async i=>{let a=Y(await this.pageBlobContext.getPageRangesDiff({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},prevsnapshot:n,range:Qr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return _y(a)})}async listPageRangesDiffSegment(e,r,n,s,i={}){return q.withSpan("PageBlobClient-getPageRangesDiffSegment",i,async a=>Y(await this.pageBlobContext.getPageRangesDiff({abortSignal:i?.abortSignal,leaseAccessConditions:i?.conditions,modifiedAccessConditions:{...i?.conditions,ifTags:i?.conditions?.tagConditions},prevsnapshot:n,range:Qr({offset:e,count:r}),marker:s,maxPageSize:i?.maxPageSize,tracingOptions:a.tracingOptions})))}async*listPageRangeDiffItemSegments(e,r,n,s,i){let a;if(s||s===void 0)do a=await this.listPageRangesDiffSegment(e,r,n,s,i),s=a.continuationToken,yield await a;while(s)}async*listPageRangeDiffItems(e,r,n,s){let i;for await(let a of this.listPageRangeDiffItemSegments(e,r,n,i,s))yield*kR(a)}listPageRangesDiff(e,r,n,s={}){s.conditions=s.conditions||{};let i=this.listPageRangeDiffItems(e,r,n,{...s});return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:o((a={})=>this.listPageRangeDiffItemSegments(e,r,n,a.continuationToken,{maxPageSize:a.maxPageSize,...s}),"byPage")}}async getPageRangesDiffForManagedDisks(e,r,n,s={}){return s.conditions=s.conditions||{},q.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",s,async i=>{let a=Y(await this.pageBlobContext.getPageRangesDiff({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},prevSnapshotUrl:n,range:Qr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return _y(a)})}async resize(e,r={}){return r.conditions=r.conditions||{},q.withSpan("PageBlobClient-resize",r,async n=>Y(await this.pageBlobContext.resize(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async updateSequenceNumber(e,r,n={}){return n.conditions=n.conditions||{},q.withSpan("PageBlobClient-updateSequenceNumber",n,async s=>Y(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:n.abortSignal,blobSequenceNumber:r,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},tracingOptions:s.tracingOptions})))}async startCopyIncremental(e,r={}){return q.withSpan("PageBlobClient-startCopyIncremental",r,async n=>Y(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}};var D4;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(D4||(D4={}));var k4;(function(t){t.AES256="AES256"})(k4||(k4={}));var Xy=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};var Gl=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"}};Gl.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var Ga=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"}};Ga.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var sm=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var oIe=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},mP=class{static{o(this,"UploadProgress")}constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,r=(100*(e/this.contentLength)).toFixed(1),n=Date.now()-this.startTime,s=(e/(1024*1024)/(n/1e3)).toFixed(1);he(`Sent ${e} of ${this.contentLength} (${r}%), ${s} 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 T4(t,e,r){return oIe(this,void 0,void 0,function*(){var n;let s=new Mi(t),i=s.getBlockBlobClient(),a=new mP((n=r?.archiveSizeBytes)!==null&&n!==void 0?n:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),b(`BlobClient: ${s.name}:${s.accountName}:${s.containerName}`);let l=yield i.uploadFile(e,c);if(l._response.status>=400)throw new Xy(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw ot(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(T4,"uploadCacheArchiveSDK");var L4=Q(require("buffer"),1),Js=Q(require("fs"),1),_4=Q(require("stream"),1),F4=Q(require("util"),1);var Zy=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function eE(t){return t?t>=200&&t<300:!1}o(eE,"isSuccessStatusCode");function aIe(t){return t?t>=500:!0}o(aIe,"isServerErrorStatusCode");function cIe(t){return t?[$e.BadGateway,$e.ServiceUnavailable,$e.GatewayTimeout].includes(t):!1}o(cIe,"isRetryableStatusCode");function lIe(t){return Zy(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(lIe,"sleep");function M4(t,e,r){return Zy(this,arguments,void 0,function*(n,s,i,a=xf,c=bf,l=void 0){let A="",u=1;for(;u<=a;){let d,m,p=!1;try{d=yield s()}catch(h){l&&(d=l(h)),p=!0,A=h.message}if(d&&(m=i(d),!aIe(m)))return d;if(m&&(p=cIe(m),A=`Cache service responded with ${m}`),b(`${n} - Attempt ${u} of ${a} failed with error: ${A}`),!p){b(`${n} - Error is not retryable`);break}yield lIe(c),u++}throw Error(`${n} failed: ${A}`)})}o(M4,"retry");function im(t,e){return Zy(this,arguments,void 0,function*(r,n,s=xf,i=bf){return yield M4(r,n,a=>a.statusCode,s,i,a=>{if(a instanceof Es)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(im,"retryTypedResponse");function Yl(t,e){return Zy(this,arguments,void 0,function*(r,n,s=xf,i=bf){return yield M4(r,n,a=>a.message.statusCode,s,i)})}o(Yl,"retryHttpClientResponse");var bn=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function AIe(t,e){return bn(this,void 0,void 0,function*(){yield F4.promisify(_4.pipeline)(t.message,e)})}o(AIe,"pipeResponseToStream");var tE=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),n=Date.now()-this.startTime,s=(e/(1024*1024)/(n/1e3)).toFixed(1);he(`Received ${e} of ${this.contentLength} (${r}%), ${s} 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 rE(t,e){return bn(this,void 0,void 0,function*(){let r=Js.createWriteStream(e),n=new Bi("actions/cache"),s=yield Yl("downloadCache",()=>bn(this,void 0,void 0,function*(){return n.get(t)}));s.message.socket.setTimeout(_b,()=>{s.message.destroy(),b(`Aborting download, socket timed out after ${_b} ms`)}),yield AIe(s,r);let i=s.message.headers["content-length"];if(i){let a=parseInt(i),c=ys(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(rE,"downloadCacheHttpClient");function U4(t,e,r){return bn(this,void 0,void 0,function*(){var n;let s=yield Js.promises.open(e,"w"),i=new Bi("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield Yl("downloadCacheMetadata",()=>bn(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 A=[],u=4*1024*1024;for(let E=0;Ebn(this,void 0,void 0,function*(){return yield uIe(i,t,E,I)}),"promiseGetter")})}A.reverse();let d=0,m=0,p=new tE(l);p.startDisplayTimer();let h=p.onProgress(),f=[],C,y=o(()=>bn(this,void 0,void 0,function*(){let E=yield Promise.race(Object.values(f));yield s.write(E.buffer,0,E.count,E.offset),d--,delete f[E.offset],m+=E.count,h({loadedBytes:m})}),"waitAndWrite");for(;C=A.pop();)f[C.offset]=C.promiseGetter(),d++,d>=((n=r.downloadConcurrency)!==null&&n!==void 0?n:10)&&(yield y());for(;d>0;)yield y()}finally{i.dispose(),yield s.close()}})}o(U4,"downloadCacheHttpClientConcurrent");function uIe(t,e,r,n){return bn(this,void 0,void 0,function*(){let i=0;for(;;)try{let c=yield q4(3e4,dIe(t,e,r,n));if(typeof c=="string")throw new Error("downloadSegmentRetry failed due to timeout");return c}catch(a){if(i>=5)throw a;i++}})}o(uIe,"downloadSegmentRetry");function dIe(t,e,r,n){return bn(this,void 0,void 0,function*(){let s=yield Yl("downloadCachePart",()=>bn(this,void 0,void 0,function*(){return yield t.get(e,{Range:`bytes=${r}-${r+n-1}`})}));if(!s.readBodyBuffer)throw new Error("Expected HttpClientResponse to implement readBodyBuffer");return{offset:r,count:n,buffer:yield s.readBodyBuffer()}})}o(dIe,"downloadSegment");function O4(t,e,r){return bn(this,void 0,void 0,function*(){var n;let s=new zl(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),a=(n=(yield s.getProperties()).contentLength)!==null&&n!==void 0?n:-1;if(a<0)b("Unable to determine content length, downloading file with http-client..."),yield rE(t,e);else{let c=Math.min(134217728,L4.constants.MAX_LENGTH),l=new tE(a),A=Js.openSync(e,"w");try{l.startDisplayTimer();let u=new AbortController,d=u.signal;for(;!l.isDone();){let m=l.segmentOffset+l.segmentSize,p=Math.min(c,a-m);l.nextSegment(p);let h=yield q4(r.segmentTimeoutInMs||36e5,s.downloadToBuffer(m,p,{abortSignal:d,concurrency:r.downloadConcurrency,onProgress:l.onProgress()}));if(h==="timeout")throw u.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(h)&&Js.writeFileSync(A,h)}}finally{l.stopDisplayTimer(),Js.closeSync(A)}}})}o(O4,"downloadCacheStorageSDK");var q4=o((t,e)=>bn(void 0,void 0,void 0,function*(){let r,n=new Promise(s=>{r=setTimeout(()=>s("timeout"),t)});return Promise.race([e,n]).then(s=>(clearTimeout(r),s))}),"promiseWithTimeout");function pP(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(pP,"getUploadOptions");function H4(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(H4,"getDownloadOptions");function hP(){let e=new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.trimEnd().toUpperCase(),r=e==="GITHUB.COM",n=e.endsWith(".GHE.COM"),s=e.endsWith(".LOCALHOST");return!r&&!n&&!s}o(hP,"isGhes");function om(){return hP()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(om,"getCacheServiceVersion");function nE(){let t=om();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(nE,"getCacheServiceURL");var V4=Q(Y4(),1);function sE(){return`@actions/cache-${V4.version}`}o(sE,"getUserAgentString");var xr=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function am(t){let e=nE();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(am,"getCacheApiUrl");function hIe(t,e){return`${t};api-version=${e}`}o(hIe,"createAcceptHeader");function fIe(){return{headers:{Accept:hIe("application/json","6.0-preview.1")}}}o(fIe,"getRequestOptions");function fP(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new fl(t);return new Bi(sE(),[e],fIe())}o(fP,"createHttpClient");function $4(t,e,r){return xr(this,void 0,void 0,function*(){let n=fP(),s=hl(e,r?.compressionMethod,r?.enableCrossOsArchive),i=`cache?keys=${encodeURIComponent(t.join(","))}&version=${s}`,a=yield im("getCacheEntry",()=>xr(this,void 0,void 0,function*(){return n.getJson(am(i))}));if(a.statusCode===204)return ma()&&(yield gIe(t[0],n,s)),null;if(!eE(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 rl(l),b("Cache Result:"),b(JSON.stringify(c)),c})}o($4,"getCacheEntry");function gIe(t,e,r){return xr(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,s=yield im("listCache",()=>xr(this,void 0,void 0,function*(){return e.getJson(am(n))}));if(s.statusCode===200){let i=s.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(gIe,"printCachesListForDiagnostics");function gP(t,e,r){return xr(this,void 0,void 0,function*(){let n=new W4.URL(t),s=H4(r);n.hostname.endsWith(".blob.core.windows.net")?s.useAzureSdk?yield O4(t,e,s):s.concurrentBlobDownloads?yield U4(t,e,s):yield rE(t,e):yield rE(t,e)})}o(gP,"downloadCache");function j4(t,e,r){return xr(this,void 0,void 0,function*(){let n=fP(),s=hl(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:s,cacheSize:r?.cacheSize};return yield im("reserveCache",()=>xr(this,void 0,void 0,function*(){return n.postJson(am("caches"),i)}))})}o(j4,"reserveCache");function J4(t,e){return`bytes ${t}-${e}/*`}o(J4,"getContentRange");function yIe(t,e,r,n,s){return xr(this,void 0,void 0,function*(){b(`Uploading chunk of size ${s-n+1} bytes at offset ${n} with content range: ${J4(n,s)}`);let i={"Content-Type":"application/octet-stream","Content-Range":J4(n,s)},a=yield Yl(`uploadChunk (start: ${n}, end: ${s})`,()=>xr(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!eE(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(yIe,"uploadChunk");function EIe(t,e,r,n){return xr(this,void 0,void 0,function*(){let s=ys(r),i=am(`caches/${e.toString()}`),a=Vl.openSync(r,"r"),c=pP(n),l=qb("uploadConcurrency",c.uploadConcurrency),A=qb("uploadChunkSize",c.uploadChunkSize),u=[...new Array(l).keys()];b("Awaiting all uploads");let d=0;try{yield Promise.all(u.map(()=>xr(this,void 0,void 0,function*(){for(;dVl.createReadStream(r,{fd:a,start:p,end:h,autoClose:!1}).on("error",f=>{throw new Error(`Cache upload failed because file read failed with ${f.message}`)}),p,h)}})))}finally{Vl.closeSync(a)}})}o(EIe,"uploadFile");function CIe(t,e,r){return xr(this,void 0,void 0,function*(){let n={size:r};return yield im("commitCache",()=>xr(this,void 0,void 0,function*(){return t.postJson(am(`caches/${e.toString()}`),n)}))})}o(CIe,"commitCache");function yP(t,e,r,n){return xr(this,void 0,void 0,function*(){if(pP(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield T4(r,e,n)}else{let i=fP();b("Upload cache"),yield EIe(i,t,e,n),b("Commiting cache");let a=ys(e);he(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield CIe(i,t,a);if(!eE(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);he("Cache saved successfully")}})}o(yP,"saveCache");var G8=Q(_8(),1),dt=Q(ut(),1),Xr=Q(ut(),1),$a=Q(ut(),1),ja=Q(ut(),1),Ka=Q(ut(),1);var dv=Q(ut(),1),mv=Q(ut(),1),q8=Q(ut(),1),H8=Q(ut(),1),z8=Q(ut(),1);var lv=Q(ut(),1),Av=Q(ut(),1),F8=Q(ut(),1),U8=Q(ut(),1),O8=Q(ut(),1);var uv=class extends O8.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,U8.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,F8.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.poszE,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,H8.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,q8.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.posXs,"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,ja.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,$a.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.posXs,"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,ja.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,$a.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.posXs,"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,ja.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,$a.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.posBv.fromJson(s,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=Qv.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(s=>xv.fromJson(s,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=bv.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(s=>wv.fromJson(s,{ignoreUnknownFields:!0}))}};function Y8(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(rl(r),rl(encodeURIComponent(r)))}catch(e){b(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(Y8,"maskSigUrl");function V8(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"&&Y8(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&Y8(t.signed_download_url)}o(V8,"maskSecretUrls");var YE=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},Nv=class{static{o(this,"CacheServiceClient")}constructor(e,r,n,s){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let i=EG();this.baseUrl=nE(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),s&&(this.retryMultiplier=s),this.httpClient=new Bi(e,[new fl(i)])}request(e,r,n,s){return YE(this,void 0,void 0,function*(){let i=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;b(`[Request] ${r} ${i}`);let a={"Content-Type":n};try{let{body:c}=yield this.retryableRequest(()=>YE(this,void 0,void 0,function*(){return this.httpClient.post(i,JSON.stringify(s),a)}));return c}catch(c){throw new Error(`Failed to ${r}: ${c.message}`)}})}retryableRequest(e){return YE(this,void 0,void 0,function*(){let r=0,n="",s="";for(;r0&&ot(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}throw new sm(`Rate limited: ${n}`)}}catch(c){if(c instanceof SyntaxError&&b(`Raw Body: ${s}`),c instanceof Ga||c instanceof sm)throw c;if(Gl.isNetworkErrorCode(c?.code))throw new Gl(c?.code);i=!0,n=c.message}if(!i)throw new Error(`Received non-retryable error: ${n}`);if(r+1===this.maxAttempts)throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${n}`);let a=this.getExponentialRetryTimeMilliseconds(r);he(`Attempt ${r+1} of ${this.maxAttempts} failed with error: ${n}. Retrying request in ${a} ms...`),yield this.sleep(a),r++}throw new Error("Request failed")})}isSuccessStatusCode(e){return e?e>=200&&e<300:!1}isRetryableHttpStatusCode(e){return e?[$e.BadGateway,$e.GatewayTimeout,$e.InternalServerError,$e.ServiceUnavailable].includes(e):!1}sleep(e){return YE(this,void 0,void 0,function*(){return new Promise(r=>setTimeout(r,e))})}getExponentialRetryTimeMilliseconds(e){if(e<0)throw new Error("attempt should be a positive integer");if(e===0)return this.baseRetryIntervalMilliseconds;let r=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,e),n=r*this.retryMultiplier;return Math.trunc(Math.random()*(n-r)+r)}};function Sv(t){let e=new Nv(sE(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new GE(e)}o(Sv,"internalCacheTwirpClient");var VE=require("fs"),Zr=Q(require("path"),1);var _i=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},To=process.platform==="win32";function PQe(){return _i(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield yG(),e=pG;if(t)return{path:t,type:qr.GNU};if((0,VE.existsSync)(e))return{path:e,type:qr.BSD};break}case"darwin":{let t=yield mr("gtar",!1);return t?{path:t,type:qr.GNU}:{path:yield mr("tar",!0),type:qr.BSD}}default:break}return{path:yield mr("tar",!0),type:qr.GNU}})}o(PQe,"getTarPath");function vQe(t,e,r){return _i(this,arguments,void 0,function*(n,s,i,a=""){let c=[`"${n.path}"`],l=go(s),A="cache.tar",u=J8(),d=n.type===qr.BSD&&s!==er.Gzip&&To;switch(i){case"create":c.push("--posix","-cf",d?A:l.replace(new RegExp(`\\${Zr.sep}`,"g"),"/"),"--exclude",d?A:l.replace(new RegExp(`\\${Zr.sep}`,"g"),"/"),"-P","-C",u.replace(new RegExp(`\\${Zr.sep}`,"g"),"/"),"--files-from",Ub);break;case"extract":c.push("-xf",d?A:a.replace(new RegExp(`\\${Zr.sep}`,"g"),"/"),"-P","-C",u.replace(new RegExp(`\\${Zr.sep}`,"g"),"/"));break;case"list":c.push("-tf",d?A:a.replace(new RegExp(`\\${Zr.sep}`,"g"),"/"),"-P");break}if(n.type===qr.GNU)switch(process.platform){case"win32":c.push("--force-local");break;case"darwin":c.push("--delay-directory-restore");break}return c})}o(vQe,"getTarArgs");function Rv(t,e){return _i(this,arguments,void 0,function*(r,n,s=""){let i,a=yield PQe(),c=yield vQe(a,r,n,s),l=n!=="create"?yield DQe(a,r,s):yield kQe(a,r),A=a.type===qr.BSD&&r!==er.Gzip&&To;return A&&n!=="create"?i=[[...l].join(" "),[...c].join(" ")]:i=[[...c].join(" "),[...l].join(" ")],A?i:[i.join(" ")]})}o(Rv,"getCommands");function J8(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}o(J8,"getWorkingDirectory");function DQe(t,e,r){return _i(this,void 0,void 0,function*(){let n=t.type===qr.BSD&&e!==er.Gzip&&To;switch(e){case er.Zstd:return n?["zstd -d --long=30 --force -o",rd,r.replace(new RegExp(`\\${Zr.sep}`,"g"),"/")]:["--use-compress-program",To?'"zstd -d --long=30"':"unzstd --long=30"];case er.ZstdWithoutLong:return n?["zstd -d --force -o",rd,r.replace(new RegExp(`\\${Zr.sep}`,"g"),"/")]:["--use-compress-program",To?'"zstd -d"':"unzstd"];default:return["-z"]}})}o(DQe,"getDecompressionProgram");function kQe(t,e){return _i(this,void 0,void 0,function*(){let r=go(e),n=t.type===qr.BSD&&e!==er.Gzip&&To;switch(e){case er.Zstd:return n?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${Zr.sep}`,"g"),"/"),rd]:["--use-compress-program",To?'"zstd -T0 --long=30"':"zstdmt --long=30"];case er.ZstdWithoutLong:return n?["zstd -T0 --force -o",r.replace(new RegExp(`\\${Zr.sep}`,"g"),"/"),rd]:["--use-compress-program",To?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(kQe,"getCompressionProgram");function Pv(t,e){return _i(this,void 0,void 0,function*(){for(let r of t)try{yield lo(r,void 0,{cwd:e,env:Object.assign(Object.assign({},process.env),{MSYS:"winsymlinks:nativestrict"})})}catch(n){throw new Error(`${r.split(" ")[0]} failed with error: ${n?.message}`)}})}o(Pv,"execCommands");function Bm(t,e){return _i(this,void 0,void 0,function*(){let r=yield Rv(e,"list",t);yield Pv(r)})}o(Bm,"listTar");function vv(t,e){return _i(this,void 0,void 0,function*(){let r=J8();yield da(r);let n=yield Rv(e,"extract",t);yield Pv(n)})}o(vv,"extractTar");function Dv(t,e,r){return _i(this,void 0,void 0,function*(){(0,VE.writeFileSync)(Zr.join(t,Ub),e.join(` -`));let n=yield Rv(r,"create");yield Pv(n,t)})}o(Dv,"createTar");var lA=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},Xn=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},Xa=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},kv="cache write denied:",cA=class t extends Xa{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},JE=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function W8(t){if(!t||t.length===0)throw new Xn("Path Validation Error: At least one directory or file path is required")}o(W8,"checkPaths");function Tv(t){if(t.length>512)throw new Xn(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Xn(`Key Validation Error: ${t} cannot contain commas.`)}o(Tv,"checkKey");function Mv(){return om()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(Mv,"isFeatureAvailable");function $8(t,e,r,n){return lA(this,arguments,void 0,function*(s,i,a,c,l=!1){let A=om();return b(`Cache service version: ${A}`),W8(s),A==="v2"?yield MQe(s,i,a,c,l):yield TQe(s,i,a,c,l)})}o($8,"restoreCache");function TQe(t,e,r,n){return lA(this,arguments,void 0,function*(s,i,a,c,l=!1){a=a||[];let A=[i,...a];if(b("Resolved Keys:"),b(JSON.stringify(A)),A.length>10)throw new Xn("Key Validation Error: Keys are limited to a maximum of 10.");for(let m of A)Tv(m);let u=yield id(),d="";try{let m=yield $4(A,s,{compressionMethod:u,enableCrossOsArchive:l});if(!m?.archiveLocation)return;if(c?.lookupOnly)return he("Lookup only - skipping download"),m.cacheKey;d=Qm.join(yield nd(),go(u)),b(`Archive Path: ${d}`),yield gP(m.archiveLocation,d,c),ma()&&(yield Bm(d,u));let p=ys(d);return he(`Cache Size: ~${Math.round(p/(1024*1024))} MB (${p} B)`),yield vv(d,u),he("Cache restored successfully"),m.cacheKey}catch(m){let p=m;if(p.name===Xn.name)throw m;p instanceof Es&&typeof p.statusCode=="number"&&p.statusCode>=500?ol(`Failed to restore: ${m.message}`):ot(`Failed to restore: ${m.message}`)}finally{try{yield sd(d)}catch(m){b(`Failed to delete archive: ${m}`)}}})}o(TQe,"restoreCacheV1");function MQe(t,e,r,n){return lA(this,arguments,void 0,function*(s,i,a,c,l=!1){c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let A=[i,...a];if(b("Resolved Keys:"),b(JSON.stringify(A)),A.length>10)throw new Xn("Key Validation Error: Keys are limited to a maximum of 10.");for(let d of A)Tv(d);let u="";try{let d=Sv(),m=yield id(),p={key:i,restoreKeys:a,version:hl(s,m,l)},h=yield d.GetCacheEntryDownloadURL(p);if(!h.ok){b(`Cache not found for version ${p.version} of keys: ${A.join(", ")}`);return}if(p.key!==h.matchedKey?he(`Cache hit for restore-key: ${h.matchedKey}`):he(`Cache hit for: ${h.matchedKey}`),c?.lookupOnly)return he("Lookup only - skipping download"),h.matchedKey;u=Qm.join(yield nd(),go(m)),b(`Archive path: ${u}`),b(`Starting download of archive to: ${u}`),yield gP(h.signedDownloadUrl,u,c);let C=ys(u);return he(`Cache Size: ~${Math.round(C/(1024*1024))} MB (${C} B)`),ma()&&(yield Bm(u,m)),yield vv(u,m),he("Cache restored successfully"),h.matchedKey}catch(d){let m=d;if(m.name===Xn.name)throw d;m instanceof Es&&typeof m.statusCode=="number"&&m.statusCode>=500?ol(`Failed to restore: ${d.message}`):ot(`Failed to restore: ${d.message}`)}finally{try{u&&(yield sd(u))}catch(d){b(`Failed to delete archive: ${d}`)}}})}o(MQe,"restoreCacheV2");function Lv(t,e,r){return lA(this,arguments,void 0,function*(n,s,i,a=!1){let c=om();return b(`Cache service version: ${c}`),W8(n),Tv(s),c==="v2"?yield _Qe(n,s,i,a):yield LQe(n,s,i,a)})}o(Lv,"saveCache");function LQe(t,e,r){return lA(this,arguments,void 0,function*(n,s,i,a=!1){var c,l,A,u,d,m;let p=yield id(),h=-1,f=yield Ob(n);if(b("Cache Paths:"),b(`${JSON.stringify(f)}`),f.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let C=yield nd(),y=Qm.join(C,go(p));b(`Archive Path: ${y}`);try{yield Dv(C,f,p),ma()&&(yield Bm(y,p));let E=10*1024*1024*1024,I=ys(y);if(b(`File Size: ${I}`),I>E&&!hP())throw new Error(`Cache size of ~${Math.round(I/(1024*1024))} MB (${I} B) is over the 10GB limit, not saving cache.`);b("Reserving Cache");let B=yield j4(s,n,{compressionMethod:p,enableCrossOsArchive:a,cacheSize:I});if(!((c=B?.result)===null||c===void 0)&&c.cacheId)h=(l=B?.result)===null||l===void 0?void 0:l.cacheId;else{if(B?.statusCode===400)throw new Error((u=(A=B?.error)===null||A===void 0?void 0:A.message)!==null&&u!==void 0?u:`Cache size of ~${Math.round(I/(1024*1024))} MB (${I} B) is over the data cap limit, not saving cache.`);{let N=(d=B?.error)===null||d===void 0?void 0:d.message;throw N?.startsWith(kv)?new cA(`Unable to reserve cache with key ${s}. More details: ${N}`):new Xa(`Unable to reserve cache with key ${s}, another job may be creating this cache. More details: ${(m=B?.error)===null||m===void 0?void 0:m.message}`)}}b(`Saving Cache (ID: ${h})`),yield yP(h,y,"",i)}catch(E){let I=E;if(I.name===Xn.name)throw E;I.name===cA.name?ot(`Failed to save: ${I.message}`):I.name===Xa.name?he(`Failed to save: ${I.message}`):I instanceof Es&&typeof I.statusCode=="number"&&I.statusCode>=500?ol(`Failed to save: ${I.message}`):ot(`Failed to save: ${I.message}`)}finally{try{yield sd(y)}catch(E){b(`Failed to delete archive: ${E}`)}}return h})}o(LQe,"saveCacheV1");function _Qe(t,e,r){return lA(this,arguments,void 0,function*(n,s,i,a=!1){var c;i=Object.assign(Object.assign({},i),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let l=yield id(),A=Sv(),u=-1,d=yield Ob(n);if(b("Cache Paths:"),b(`${JSON.stringify(d)}`),d.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let m=yield nd(),p=Qm.join(m,go(l));b(`Archive Path: ${p}`);try{yield Dv(m,d,l),ma()&&(yield Bm(p,l));let h=ys(p);b(`File Size: ${h}`),i.archiveSizeBytes=h,b("Reserving Cache");let f=hl(n,l,a),C={key:s,version:f},y;try{let B=yield A.CreateCacheEntry(C);if(!B.ok)throw B.message&&!B.message.startsWith(kv)&&ot(`Cache reservation failed: ${B.message}`),new Error(B.message||"Response was not ok");y=B.signedUploadUrl}catch(B){b(`Failed to reserve cache: ${B}`);let N=(c=B?.message)!==null&&c!==void 0?c:"";throw N.startsWith(kv)?new cA(`Unable to reserve cache with key ${s}. More details: ${N}`):new Xa(`Unable to reserve cache with key ${s}, another job may be creating this cache.`)}b(`Attempting to upload cache located at: ${p}`),yield yP(u,p,y,i);let E={key:s,version:f,sizeBytes:`${h}`},I=yield A.FinalizeCacheEntryUpload(E);if(b(`FinalizeCacheEntryUploadResponse: ${I.ok}`),!I.ok)throw I.message?new JE(I.message):new Error(`Unable to finalize cache with key ${s}, another job may be finalizing this cache.`);u=parseInt(I.entryId)}catch(h){let f=h;if(f.name===Xn.name)throw h;f.name===cA.name?ot(`Failed to save: ${f.message}`):f.name===Xa.name?he(`Failed to save: ${f.message}`):f.name===JE.name?ot(f.message):f instanceof Es&&typeof f.statusCode=="number"&&f.statusCode>=500?ol(`Failed to save: ${f.message}`):ot(`Failed to save: ${f.message}`)}finally{try{yield sd(p)}catch(h){b(`Failed to delete archive: ${h}`)}}return u})}o(_Qe,"saveCacheV2");var j8=Q(require("util"),1);var AA=class t{static{o(this,"Cache")}opts;ghaCacheKey;ghaNoCache;cacheDir;cachePath;static POST_CACHE_KEY="postCache";constructor(e){this.opts=e,this.ghaCacheKey=j8.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform()),this.ghaNoCache=this.opts.ghaNoCache,this.cacheDir=Fv.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform()),this.cachePath=Fv.default.join(this.cacheDir,this.opts.cacheFile),WE.default.existsSync(this.cacheDir)||WE.default.mkdirSync(this.cacheDir,{recursive:!0})}async save(e,r){b(`Cache.save ${e}`);let n=this.copyToCache(e),s=await rb(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform());if(b(`Cache.save cached to hosted tool cache ${s}`),!this.ghaNoCache&&Mv())if(r)try{b(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`),await Lv([this.cacheDir],this.ghaCacheKey)}catch(i){ot(`Failed to save cache: ${i}`)}else b(`Cache.save sending ${this.ghaCacheKey} to post state`),Yh(t.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}));return n}async find(){try{let e=Gq(this.opts.htcName,this.opts.htcVersion,this.platform());if(e)return he(`Restored from hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`);if(!this.ghaNoCache&&Mv()){if(b("GitHub Actions cache feature available"),await $8([this.cacheDir],this.ghaCacheKey))return he(`Restored ${this.ghaCacheKey} from GitHub Actions cache`),e=await rb(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform()),he(`Cached to hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`)}else this.ghaNoCache?he("GitHub Actions cache disabled"):he("GitHub Actions cache feature not available")}catch(e){ot(`Failed to restore cache: ${e}`)}return""}static async post(){let e=VU(t.POST_CACHE_KEY);if(!e)return he("State not set"),Promise.resolve(void 0);let r;try{r=JSON.parse(e)}catch(n){throw new Error(`Failed to parse cache post state: ${n}`)}if(!r.dir||!r.key)throw new Error(`Invalid cache post state: ${e}`);try{he(`Caching ${r.key} to GitHub Actions cache`),await Lv([r.dir],r.key)}catch(n){ot(`Failed to save cache: ${n}`)}return r}copyToCache(e){return he(`Copying ${e} to ${this.cachePath}`),WE.default.copyFileSync(e,this.cachePath),this.cachePath}platform(){let e=process.config.variables.arm_version;return`${_v.default.platform()}-${_v.default.arch()}${e?"v"+e:""}`}};var K8=!!process.env.STATE_isPost;K8||Yh("isPost","true");async function X8(t,e){if(K8)e&&await e(),await hs("Post cache",async()=>{await AA.post()});else try{await t()}catch(r){YU(r.message)}}o(X8,"run");var OD=Q(require("fs"),1),g5=Q(require("os"),1),qm=Q(require("path"),1);var Gv=Q(require("fs"),1),gW=Q(require("os"),1),yW=Q(require("path"),1),EW=Q(fW(),1);var KE=class t{static{o(this,"Context")}static _tmpDir=Gv.default.mkdtempSync(yW.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||gW.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return Gv.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return EW.tmpNameSync(e)}};var xm=class{static{o(this,"Exec")}static async exec(e,r,n){return b(`Exec.exec: ${e} ${r?.join(" ")}`),lo(e,r,n)}static async getExecOutput(e,r,n){return b(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),Ru(e,r,n)}};var UD=Q(require("crypto"),1),h5=Q(require("fs"),1),Om=Q(require("path"),1),f5=Q(l5(),1);var Ae=class t extends Error{static{o(this,"CsvError")}constructor(e,r,n,...s){Array.isArray(r)&&(r=r.join(" ").trim()),super(r),Error.captureStackTrace!==void 0&&Error.captureStackTrace(this,t),this.code=e;for(let i of s)for(let a in i){let c=i[a];this[a]=Buffer.isBuffer(c)?c.toString(n.encoding):c==null?c:JSON.parse(JSON.stringify(c))}}};var Um=o(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var MC=o(function(t){let e=[];for(let r=0,n=t.length;r=this.size&&(this.resize(),r>=this.size))throw Error("INVALID_BUFFER_STATE");let n=this.buf;this.buf=Buffer.allocUnsafe(this.size),e.copy(this.buf,0),n.copy(this.buf,e.length),this.length+=e.length}else{let r=this.length++;r===this.size&&this.resize();let n=this.clone();this.buf[0]=e,n.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}},FD=_D;var A5=o(function(t){let e=[32,9,10,13,12,11,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288,65279].reduce((n,s)=>{let i=Buffer.from(String.fromCharCode(s),t.encoding);return s!==63&&i.length===1&&i[0]===63||n.push(i),n},[]),r=new Uint8Array(256);for(let n of e)r[n[0]]=1;return{bomSkipped:!1,bufBytesStart:0,castField:t.cast_function,commenting:!1,delimiterBufPrevious:void 0,delimiterDiscovered:!1,error:void 0,enabled:t.from_line===1,escaping:!1,escapeIsQuote:Buffer.isBuffer(t.escape)&&Buffer.isBuffer(t.quote)&&Buffer.compare(t.escape,t.quote)===0,expectedRecordLength:Array.isArray(t.columns)?t.columns.length:void 0,field:new FD(20),firstLineToHeaders:t.cast_first_line_to_header,needMoreDataSize:Math.max(t.comment!==null?t.comment.length:0,...t.delimiter?t.delimiter.map(n=>n.length):[],t.delimiter_auto?1:0,t.quote!==null?t.quote.length:0,...e.map(n=>n.length)),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new FD(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:t.record_delimiter.length===0?0:Math.max(...t.record_delimiter.map(n=>n.length)),trimChars:[Buffer.from(" ",t.encoding)[0],Buffer.from(" ",t.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:e,timcharFirstBytes:r}},"init_state");var u5=o(function(t){return t.replace(/([A-Z])/g,function(e,r){return"_"+r.toLowerCase()})},"underscore");var QA=o(function(t){let e={};for(let n in t)e[u5(n)]=t[n];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 Ae("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 Ae("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 Ae("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(n){let s=Date.parse(n);return isNaN(s)?n:new Date(s)};else if(typeof e.cast_date!="function")throw new Ae("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=MC(e.columns);else if(e.columns===void 0||e.columns===null||e.columns===!1)e.columns=!1;else throw new Ae("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 Ae("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 Ae("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 Ae("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 Ae("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(e.comment_no_infix)}`],e);if(e.delimiter_auto===void 0||e.delimiter_auto===null||e.delimiter_auto===!1)e.delimiter_auto=!1;else if(e.delimiter_auto===!0)e.delimiter_auto={};else if(!Um(e.delimiter_auto))throw new Ae("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","delimiter_auto must be a boolean or a configuration object,",`got ${JSON.stringify(e.delimiter_auto)}`],e);if(e.delimiter_auto){if(e.delimiter_auto.preferred===void 0)e.delimiter_auto.preferred={44:1.8,9:1.8,59:1.6,32:1.6,58:1.5,46:1.4,47:1.4};else if(!Um(e.delimiter_auto.preferred))throw new Ae("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","preferred must be an object,",`got ${JSON.stringify(e.delimiter_auto.preferred)}`],e);if(e.delimiter_auto.score===void 0)e.delimiter_auto.score=(n,s)=>(n.total-n.std)*(s.preferred[n.char_code]||1);else if(typeof e.delimiter_auto.score!="function")throw new Ae("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","score must be a function,",`got ${JSON.stringify(e.delimiter_auto.score)}`],e);if(e.delimiter_auto.size===void 0)e.delimiter_auto.size=2048;else if(typeof e.delimiter_auto.size!="number")throw new Ae("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","size must be a number,",`got ${JSON.stringify(e.delimiter_auto.size)}`],e)}let r=JSON.stringify(e.delimiter);if(e.delimiter_auto!==!1&&(e.delimiter=[]),Array.isArray(e.delimiter)||((e.delimiter===void 0||e.delimiter===null||e.delimiter===!1)&&(e.delimiter=Buffer.from(",",e.encoding)),e.delimiter=[e.delimiter]),e.delimiter=e.delimiter.map(function(n){if(typeof n=="string"&&(n=Buffer.from(n,e.encoding)),!Buffer.isBuffer(n)||n.length===0)throw new Ae("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 n}),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 Ae("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 Ae("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 Ae("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 Ae("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 Ae("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(n,s){if(typeof n!="string"&&!Buffer.isBuffer(n))throw new Ae("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${s},`,`got ${JSON.stringify(n)}`],e);if(n.length===0)throw new Ae("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${s},`,`got ${JSON.stringify(n)}`],e);return typeof n=="string"&&(n=Buffer.from(n,e.encoding)),n}),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 d5=o(function(t,e){e||({delimiter_auto:e}=QA({delimiter_auto:!0})),typeof t=="string"&&(t=Buffer.from(t)),Buffer.isBuffer(t)&&(t=(s=>{let i=[],a=LC({delimiter:[]}),c=o(u=>i.push(u),"push"),l=o(()=>{},"close"),A=a.parse(s,!0,c,l);if(A!==void 0)throw A;return i})(t));let r=Array(127).fill().map(()=>({lines:[]}));t.map(([s],i)=>{for(let a=0,c=s.length;a{s.char_code=i,s.std=Kwe(s.lines),s.total=s.lines.reduce((a,c)=>a+c,0),s.preferred=!!e.preferred[i],s.score=e.score(s,e)});let n=r.reduce((s,i)=>s.score>i.score?s:i,{});return String.fromCharCode(n.char_code)},"delimiter_discover"),Kwe=o(function(t){let e=t.length;if(e===0)return 0;let r=t.reduce((n,s)=>n+s)/e;return Math.sqrt(t.map(n=>Math.pow(n-r,2)).reduce((n,s)=>n+s)/e)},"std");var m5=o(function(t){return t.every(e=>e==null||e.toString&&e.toString().trim()==="")},"isRecordEmpty"),Xwe=13,Zwe=10,xA={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},LC=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=QA(t);return{info:e,original_options:t,options:r,state:A5(r),__needMoreData:o(function(n,s,i){if(i)return!1;let{encoding:a,escape:c,quote:l}=this.options,{quoting:A,needMoreDataSize:u,recordDelimiterMaxLength:d}=this.state,m=s-n-1,p=Math.max(u,d===0?Buffer.from(`\r -`,a).length:d,A?(c===null?0:c.length)+l.length:0,A?l.length+d:0);return mA.size)this.options.delimiter=[Buffer.from(d5(Qe,this.options.delimiter_auto))],this.state.previousBuf=Qe,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=Qe;return}}let{previousBuf:De}=this.state,ee;if(De===void 0)if(n===void 0){a();return}else ee=n;else De!==void 0&&n===void 0?ee=De:ee=Buffer.concat([De,n]);if(ue===!1)if(c===!1)this.state.bomSkipped=!0;else if(ee.length<3){if(s===!1){this.state.previousBuf=ee;return}}else{for(let Qe in xA)if(xA[Qe].compare(ee,0,xA[Qe].length)===0){let ts=xA[Qe].length;this.state.bufBytesStart+=ts,ee=ee.slice(ts);let Hi=QA({...this.original_options,encoding:Qe});for(let Je in Hi)this.options[Je]=Hi[Je];({comment:B,escape:N,quote:S}=this.options);break}this.state.bomSkipped=!0}let Yt=ee.length,H;for(H=0;HI){this.state.stop=!0,a();return}this.state.quoting===!1&&F.length===0&&this.__autoDiscoverRecordDelimiter(ee,H)&&(F=this.options.record_delimiter);let Qe=ee[H];if(h===!0&&Ne.append(Qe),(Qe===Xwe||Qe===Zwe)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(N!==null&&this.state.quoting===!0&&this.__isEscape(ee,H,Qe)&&H+N.lengthxA[_o].equals(this.state.field.toString())?_o:!1).filter(Boolean)[0],Sr=this.__error(new Ae("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(Je.column)} at line ${Je.lines}, value is ${JSON.stringify(this.state.field.toString(u))}`,rs?`(${rs} bom)`:void 0],this.options,Je,{field:this.state.field}));if(Sr!==void 0)return Sr}}else{this.state.quoting=!0,H+=S.length-1;continue}if(this.state.quoting===!1){let Je=this.__isRecordDelimiter(Qe,ee,H);if(Je!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=d){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),H+=Je-1;continue}if(y===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,H+=Je-1;continue}this.info.bytes=this.state.bufBytesStart+H;let _o=this.__onField();if(_o!==void 0)return _o;this.info.bytes=this.state.bufBytesStart+H+Je;let Hm=this.__onRecord(i);if(Hm!==void 0)return Hm;if(E!==-1&&this.info.records>=E){this.state.stop=!0,a();return}}this.state.commenting=!1,H+=Je-1;continue}if(this.state.commenting)continue;if(B!==null&&(l===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(B,ee,H,Qe)!==0){this.state.commenting=!0;continue}let rs=this.__isDelimiter(ee,H,Qe);if(rs!==0){this.info.bytes=this.state.bufBytesStart+H;let Sr=this.__onField();if(Sr!==void 0)return Sr;H+=rs-1;continue}}}if(this.state.commenting===!1&&p!==0&&this.state.record_length+this.state.field.length>p)return this.__error(new Ae("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 ts=m===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(ee,H),Hi=C===!1||this.state.wasQuoting===!1;if(ts===!0&&Hi===!0)this.state.field.append(Qe);else{if(C===!0&&!this.__isCharTrimable(ee,H))return this.__error(new Ae("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()));ts===!1&&(H+=this.__isCharTrimable(ee,H)-1);continue}}if(s===!0)if(this.state.quoting===!0){let Qe=this.__error(new Ae("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(Qe!==void 0)return Qe}else if(this.state.wasQuoting===!0||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+H;let Qe=this.__onField();if(Qe!==void 0)return Qe;let ts=this.__onRecord(i);if(ts!==void 0)return ts}else this.state.wasRowDelimiter===!0?this.info.empty_lines++:this.state.commenting===!0&&this.info.comment_lines++;else this.state.bufBytesStart+=H,this.state.previousBuf=ee.slice(H);this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1)},"parse"),__onRecord:o(function(n){let{columns:s,group_columns_by_name:i,encoding:a,info:c,from:l,relax_column_count:A,relax_column_count_less:u,relax_column_count_more:d,raw:m,skip_records_with_empty_values:p}=this.options,{enabled:h,record:f}=this.state;if(h===!1)return this.__resetRecord();let C=f.length;if(s===!0){if(p===!0&&m5(f)){this.__resetRecord();return}return this.__firstLineToColumns(f)}if(s===!1&&this.info.records===0&&(this.state.expectedRecordLength=C),C!==this.state.expectedRecordLength){let y=s===!1?new Ae("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${C} on line ${this.info.lines}`],this.options,this.__infoField(),{record:f}):new Ae("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${s.length},`,`got ${C} on line ${this.info.lines}`],this.options,this.__infoField(),{record:f});if(A===!0||u===!0&&Cthis.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=y;else{let E=this.__error(y);if(E)return E}}if(p===!0&&m5(f)){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:y}=this.options;if(s!==!1){let E={};for(let I=0,B=f.length;I=0},"__isFloat"),__isQuote:o(function(n,s){let{quote:i}=this.options;if(i===null)return!1;let a=i.length;for(let c=0;cJg(l.name.toLowerCase(),A.name.toLowerCase())),a=a.filter((l,A,u)=>!(A>0&&l.name.toLowerCase()===u[A-1].name.toLowerCase()));let c="";return a.forEach(l=>{c+=`${l.name.toLowerCase().trimRight()}:${l.value.trimLeft()} +`}),c}o(n,"getCanonicalizedHeadersString");function s(i){let a=Gg(i.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=Yg(i.url),A={};if(l){let u=[];for(let d in l)if(Object.prototype.hasOwnProperty.call(l,d)){let m=d.toLowerCase();A[m]=l[d],u.push(m)}u.sort();for(let d of u)c+=` +${d}:${decodeURIComponent(A[d])}`}return c}return o(s,"getCanonicalizedResourceString"),{name:nye,async sendRequest(i,a){return e(i),a(i)}}}o(x0,"storageSharedKeyCredentialPolicy");var sye="storageRequestFailureDetailsParserPolicy";function NJ(){return{name:sye,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(NJ,"storageRequestFailureDetailsParserPolicy");var SJ=require("node:crypto");var Wg=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,SJ.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var $g="12.31.0",jg="2026-02-06";var Kg="https://storage.azure.com/.default",Si={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var Yn="",b0="*",iye=1*1024*1024;var oye=4*iye;var RJ="AES256",PJ="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",vJ=["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"],DJ=["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"],kJ="BlobUsesCustomerSpecifiedEncryption",TJ="BlobDoesNotUseCustomerSpecifiedEncryption",MJ=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function Ri(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(Ri,"isPipelineLike");var _d=class{static{o(this,"Pipeline")}factories;options;constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};function ct(t,e={}){t||(t=new ze);let r=new _d([],e);return r._credential=t,r}o(ct,"newPipeline");function aye(t){let e=[cye,LJ,lye,Aye,uye,dye,pye];if(t.factories.length){let r=t.factories.filter(n=>!e.some(s=>s(n)));if(r.length){let n=r.some(s=>mye(s));return{wrappedPolicies:e0(r),afterRetry:n}}}}o(aye,"processDownlevelPipeline");function w0(t){let{httpClient:e,...r}=t.options,n=t._coreHttpClient;n||(n=e?t0(e):Q0(),t._coreHttpClient=n);let s=t._corePipeline;if(!s){let i=`azsdk-js-azure-storage-blob/${$g}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`;s=Ed({...r,loggingOptions:{additionalAllowedHeaderNames:vJ,additionalAllowedQueryParameters:DJ,logger:Fg.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:_g,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:I0,serializerOptions:{xml:{xmlCharKey:"#"}}}}),s.removePolicy({phase:"Retry"}),s.removePolicy({name:Pw}),s.addPolicy(xJ()),s.addPolicy(bJ(r.retryOptions),{phase:"Retry"}),s.addPolicy(NJ()),s.addPolicy(QJ());let c=aye(t);c&&s.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=N0(t);Jr(l)?s.addPolicy(Sl({credential:l,scopes:r.audience??Kg,challengeCallbacks:{authorizeRequestOnChallenge:wg}}),{phase:"Sign"}):l instanceof je&&s.addPolicy(x0({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=s}return{...r,allowInsecureConnection:!0,httpClient:n,pipeline:s}}o(w0,"getCoreClientOptions");function N0(t){if(t._credential)return t._credential;let e=new ze;for(let r of t.factories)if(Jr(r.credential))e=r.credential;else if(LJ(r))return r;return e}o(N0,"getCredentialFromPipeline");function LJ(t){return t instanceof je?!0:t.constructor.name==="StorageSharedKeyCredential"}o(LJ,"isStorageSharedKeyCredential");function cye(t){return t instanceof ze?!0:t.constructor.name==="AnonymousCredential"}o(cye,"isAnonymousCredential");function lye(t){return Jr(t.credential)}o(lye,"isCoreHttpBearerTokenFactory");function Aye(t){return t instanceof Dd?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(Aye,"isStorageBrowserPolicyFactory");function uye(t){return t instanceof Ld?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(uye,"isStorageRetryPolicyFactory");function dye(t){return t.constructor.name==="TelemetryPolicyFactory"}o(dye,"isStorageTelemetryPolicyFactory");function mye(t){return t.constructor.name==="InjectorPolicyFactory"}o(mye,"isInjectorPolicyFactory");function pye(t){let e=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"],r={sendRequest:o(async a=>({request:a,headers:a.headers.clone(),status:500}),"sendRequest")},n={log(a,c){},shouldLog(a){return!1}},i=t.create(r,n).constructor.name;return e.some(a=>i.startsWith(a))}o(pye,"isCoreHttpPolicyFactory");var _J;(function(t){t.AES256="AES256"})(_J||(_J={}));var FJ;(function(t){t.Backup="backup"})(FJ||(FJ={}));var UJ;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(UJ||(UJ={}));var OJ;(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"})(OJ||(OJ={}));var jr={};q5(jr,{AccessPolicy:()=>wye,AppendBlobAppendBlockExceptionHeaders:()=>JS,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>$S,AppendBlobAppendBlockFromUrlHeaders:()=>WS,AppendBlobAppendBlockHeaders:()=>VS,AppendBlobCreateExceptionHeaders:()=>YS,AppendBlobCreateHeaders:()=>GS,AppendBlobSealExceptionHeaders:()=>KS,AppendBlobSealHeaders:()=>jS,ArrowConfiguration:()=>Oye,ArrowField:()=>qye,BlobAbortCopyFromURLExceptionHeaders:()=>gS,BlobAbortCopyFromURLHeaders:()=>fS,BlobAcquireLeaseExceptionHeaders:()=>tS,BlobAcquireLeaseHeaders:()=>eS,BlobBreakLeaseExceptionHeaders:()=>lS,BlobBreakLeaseHeaders:()=>cS,BlobChangeLeaseExceptionHeaders:()=>aS,BlobChangeLeaseHeaders:()=>oS,BlobCopyFromURLExceptionHeaders:()=>hS,BlobCopyFromURLHeaders:()=>pS,BlobCreateSnapshotExceptionHeaders:()=>uS,BlobCreateSnapshotHeaders:()=>AS,BlobDeleteExceptionHeaders:()=>UN,BlobDeleteHeaders:()=>FN,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>$N,BlobDeleteImmutabilityPolicyHeaders:()=>WN,BlobDownloadExceptionHeaders:()=>MN,BlobDownloadHeaders:()=>Zg,BlobFlatListSegment:()=>Nye,BlobGetAccountInfoExceptionHeaders:()=>CS,BlobGetAccountInfoHeaders:()=>ES,BlobGetPropertiesExceptionHeaders:()=>_N,BlobGetPropertiesHeaders:()=>LN,BlobGetTagsExceptionHeaders:()=>QS,BlobGetTagsHeaders:()=>BS,BlobHierarchyListSegment:()=>vye,BlobItemInternal:()=>Sye,BlobName:()=>Rye,BlobPrefix:()=>Dye,BlobPropertiesInternal:()=>Pye,BlobQueryExceptionHeaders:()=>IS,BlobQueryHeaders:()=>ty,BlobReleaseLeaseExceptionHeaders:()=>nS,BlobReleaseLeaseHeaders:()=>rS,BlobRenewLeaseExceptionHeaders:()=>iS,BlobRenewLeaseHeaders:()=>sS,BlobServiceProperties:()=>Fd,BlobServiceStatistics:()=>S0,BlobSetExpiryExceptionHeaders:()=>zN,BlobSetExpiryHeaders:()=>HN,BlobSetHttpHeadersExceptionHeaders:()=>YN,BlobSetHttpHeadersHeaders:()=>GN,BlobSetImmutabilityPolicyExceptionHeaders:()=>JN,BlobSetImmutabilityPolicyHeaders:()=>VN,BlobSetLegalHoldExceptionHeaders:()=>KN,BlobSetLegalHoldHeaders:()=>jN,BlobSetMetadataExceptionHeaders:()=>ZN,BlobSetMetadataHeaders:()=>XN,BlobSetTagsExceptionHeaders:()=>bS,BlobSetTagsHeaders:()=>xS,BlobSetTierExceptionHeaders:()=>yS,BlobSetTierHeaders:()=>ey,BlobStartCopyFromURLExceptionHeaders:()=>mS,BlobStartCopyFromURLHeaders:()=>dS,BlobTag:()=>xye,BlobTags:()=>Od,BlobUndeleteExceptionHeaders:()=>qN,BlobUndeleteHeaders:()=>ON,Block:()=>kye,BlockBlobCommitBlockListExceptionHeaders:()=>aR,BlockBlobCommitBlockListHeaders:()=>oR,BlockBlobGetBlockListExceptionHeaders:()=>lR,BlockBlobGetBlockListHeaders:()=>cR,BlockBlobPutBlobFromUrlExceptionHeaders:()=>tR,BlockBlobPutBlobFromUrlHeaders:()=>eR,BlockBlobStageBlockExceptionHeaders:()=>nR,BlockBlobStageBlockFromURLExceptionHeaders:()=>iR,BlockBlobStageBlockFromURLHeaders:()=>sR,BlockBlobStageBlockHeaders:()=>rR,BlockBlobUploadExceptionHeaders:()=>ZS,BlockBlobUploadHeaders:()=>XS,BlockList:()=>M0,BlockLookupList:()=>T0,ClearRange:()=>Mye,ContainerAcquireLeaseExceptionHeaders:()=>CN,ContainerAcquireLeaseHeaders:()=>EN,ContainerBreakLeaseExceptionHeaders:()=>wN,ContainerBreakLeaseHeaders:()=>bN,ContainerChangeLeaseExceptionHeaders:()=>SN,ContainerChangeLeaseHeaders:()=>NN,ContainerCreateExceptionHeaders:()=>eN,ContainerCreateHeaders:()=>Z0,ContainerDeleteExceptionHeaders:()=>sN,ContainerDeleteHeaders:()=>nN,ContainerFilterBlobsExceptionHeaders:()=>yN,ContainerFilterBlobsHeaders:()=>gN,ContainerGetAccessPolicyExceptionHeaders:()=>cN,ContainerGetAccessPolicyHeaders:()=>aN,ContainerGetAccountInfoExceptionHeaders:()=>TN,ContainerGetAccountInfoHeaders:()=>kN,ContainerGetPropertiesExceptionHeaders:()=>rN,ContainerGetPropertiesHeaders:()=>tN,ContainerItem:()=>Iye,ContainerListBlobFlatSegmentExceptionHeaders:()=>PN,ContainerListBlobFlatSegmentHeaders:()=>RN,ContainerListBlobHierarchySegmentExceptionHeaders:()=>DN,ContainerListBlobHierarchySegmentHeaders:()=>vN,ContainerProperties:()=>Bye,ContainerReleaseLeaseExceptionHeaders:()=>BN,ContainerReleaseLeaseHeaders:()=>IN,ContainerRenameExceptionHeaders:()=>pN,ContainerRenameHeaders:()=>mN,ContainerRenewLeaseExceptionHeaders:()=>xN,ContainerRenewLeaseHeaders:()=>QN,ContainerRestoreExceptionHeaders:()=>dN,ContainerRestoreHeaders:()=>uN,ContainerSetAccessPolicyExceptionHeaders:()=>AN,ContainerSetAccessPolicyHeaders:()=>lN,ContainerSetMetadataExceptionHeaders:()=>oN,ContainerSetMetadataHeaders:()=>iN,ContainerSubmitBatchExceptionHeaders:()=>fN,ContainerSubmitBatchHeaders:()=>hN,CorsRule:()=>yye,DelimitedTextConfiguration:()=>Fye,FilterBlobItem:()=>Qye,FilterBlobSegment:()=>Ud,GeoReplication:()=>Cye,JsonTextConfiguration:()=>Uye,KeyInfo:()=>P0,ListBlobsFlatSegmentResponse:()=>D0,ListBlobsHierarchySegmentResponse:()=>k0,ListContainersSegmentResponse:()=>R0,Logging:()=>hye,Metrics:()=>gye,PageBlobClearPagesExceptionHeaders:()=>vS,PageBlobClearPagesHeaders:()=>PS,PageBlobCopyIncrementalExceptionHeaders:()=>zS,PageBlobCopyIncrementalHeaders:()=>HS,PageBlobCreateExceptionHeaders:()=>NS,PageBlobCreateHeaders:()=>wS,PageBlobGetPageRangesDiffExceptionHeaders:()=>_S,PageBlobGetPageRangesDiffHeaders:()=>LS,PageBlobGetPageRangesExceptionHeaders:()=>MS,PageBlobGetPageRangesHeaders:()=>TS,PageBlobResizeExceptionHeaders:()=>US,PageBlobResizeHeaders:()=>FS,PageBlobUpdateSequenceNumberExceptionHeaders:()=>qS,PageBlobUpdateSequenceNumberHeaders:()=>OS,PageBlobUploadPagesExceptionHeaders:()=>RS,PageBlobUploadPagesFromURLExceptionHeaders:()=>kS,PageBlobUploadPagesFromURLHeaders:()=>DS,PageBlobUploadPagesHeaders:()=>SS,PageList:()=>Xg,PageRange:()=>Tye,QueryFormat:()=>_ye,QueryRequest:()=>L0,QuerySerialization:()=>Lye,RetentionPolicy:()=>fye,ServiceFilterBlobsExceptionHeaders:()=>X0,ServiceFilterBlobsHeaders:()=>K0,ServiceGetAccountInfoExceptionHeaders:()=>W0,ServiceGetAccountInfoHeaders:()=>J0,ServiceGetPropertiesExceptionHeaders:()=>O0,ServiceGetPropertiesHeaders:()=>U0,ServiceGetStatisticsExceptionHeaders:()=>H0,ServiceGetStatisticsHeaders:()=>q0,ServiceGetUserDelegationKeyExceptionHeaders:()=>V0,ServiceGetUserDelegationKeyHeaders:()=>Y0,ServiceListContainersSegmentExceptionHeaders:()=>G0,ServiceListContainersSegmentHeaders:()=>z0,ServiceSetPropertiesExceptionHeaders:()=>F0,ServiceSetPropertiesHeaders:()=>_0,ServiceSubmitBatchExceptionHeaders:()=>j0,ServiceSubmitBatchHeaders:()=>$0,SignedIdentifier:()=>bye,StaticWebsite:()=>Eye,StorageError:()=>R,UserDelegationKey:()=>v0});var Fd={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"}}}}},hye={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"}}}}},fye={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"}}}}},gye={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"}}}}},yye={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"}}}}},Eye={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"}}}}},S0={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},Cye={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"}}}}},R0={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"}}}}},Iye={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"}}}}}}},Bye={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"}}}}},P0={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"}}}}},v0={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"}}}}},Ud={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"}}}}},Qye={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"}}}}},Od={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"}}}}}}},xye={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"}}}}},bye={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"}}}}},wye={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"}}}}},D0={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"}}}}},Nye={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"}}}}}}},Sye={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"}}}}},Rye={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"}}}}},Pye={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"}}}}},k0={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"}}}}},vye={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"}}}}}}},Dye={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},T0={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"}}}}}}},M0={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"}}}}}}},kye={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"}}}}},Xg={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"}}}}},Tye={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"}}}}},Mye={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"}}}}},L0={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"}}}}},Lye={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},_ye={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"}}}}}}},Fye={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"}}}}},Uye={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},Oye={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"}}}}}}},qye={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"}}}}},_0={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"}}}}},F0={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},U0={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"}}}}},O0={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},q0={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"}}}}},H0={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},z0={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"}}}}},G0={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Y0={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"}}}}},V0={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},J0={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"}}}}},W0={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$0={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"}}}}},j0={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},K0={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"}}}}},X0={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Z0={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"}}}}},eN={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},tN={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"}}}}},rN={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nN={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"}}}}},sN={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iN={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"}}}}},oN={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aN={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"}}}}},cN={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lN={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"}}}}},AN={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uN={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"}}}}},dN={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mN={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"}}}}},pN={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hN={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"}}}}},fN={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gN={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"}}}}},yN={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EN={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"}}}}},CN={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IN={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"}}}}},BN={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QN={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"}}}}},xN={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bN={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"}}}}},wN={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NN={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"}}}}},SN={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RN={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"}}}}},PN={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vN={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"}}}}},DN={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kN={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"}}}}},TN={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Zg={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"}}}}},MN={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LN={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"}}}}},_N={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FN={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"}}}}},UN={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ON={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"}}}}},qN={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HN={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"}}}}},zN={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GN={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"}}}}},YN={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VN={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"]}}}}},JN={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},WN={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"}}}}},$N={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jN={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"}}}}},KN={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XN={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"}}}}},ZN={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},eS={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"}}}}},tS={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},rS={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"}}}}},nS={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sS={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"}}}}},iS={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oS={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"}}}}},aS={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cS={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"}}}}},lS={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AS={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"}}}}},uS={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dS={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"}}}}},mS={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"}}}}},pS={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"}}}}},hS={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"}}}}},fS={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"}}}}},gS={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ey={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"}}}}},yS={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ES={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"}}}}},CS={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ty={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"}}}}},IS={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BS={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"}}}}},QS={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xS={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"}}}}},bS={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wS={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"}}}}},NS={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SS={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"}}}}},RS={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PS={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"}}}}},vS={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DS={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"}}}}},kS={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"}}}}},TS={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"}}}}},MS={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LS={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"}}}}},_S={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FS={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"}}}}},US={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OS={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"}}}}},qS={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HS={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"}}}}},zS={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GS={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"}}}}},YS={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VS={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"}}}}},JS={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},WS={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"}}}}},$S={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"}}}}},jS={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"}}}}},KS={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XS={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"}}}}},ZS={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},eR={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"}}}}},tR={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"}}}}},rR={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"}}}}},nR={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sR={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"}}}}},iR={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"}}}}},oR={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"}}}}},aR={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cR={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"}}}}},lR={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Ps={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},qJ={parameterPath:"blobServiceProperties",mapper:Fd},In={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},P={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},qd={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Bn={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"}}},D={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"}}},U={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},HJ={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Hd={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},zd={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},vs={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},Ds={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},zJ={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},GJ={parameterPath:"keyInfo",mapper:P0},YJ={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ml={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},ry={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},ny={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},St={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},sy={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},iy={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},oy={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},Rt={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},zt={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},AR={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},VJ={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},JJ={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}},oe={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},ne={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},se={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},ay={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},uR={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},WJ={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},cy={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},$J={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},jJ={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},KJ={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},XJ={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},ZJ={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}},Qn={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},ly={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Ay={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},uy={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},dy={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},So={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},my={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},py={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},hy={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},fy={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},gy={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},dR={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"},mR={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},e3={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},sr={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},ks={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},ka={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},t3={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},r3={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},Ke={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},Xe={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},Ze={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},fe={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},ge={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},Ae={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},n3={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},s3={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},i3={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},o3={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},a3={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}},Ts={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},Ms={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},Ls={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},_s={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},Fs={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},Us={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},pR={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Vn={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},Jn={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},c3={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},l3={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},ft={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},A3={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Pi={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"]}}},hR={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},Os={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},qs={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},Hs={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},zs={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},yy={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},Ta={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},Wn={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},u3={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},Gs={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},d3={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},vi={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},Di={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},Ey={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},ki={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},m3={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},p3={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},h3={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},f3={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},g3={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"]}}},y3={parameterPath:["options","queryRequest"],mapper:L0},E3={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},fR={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},gR={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},yR={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},ER={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},CR={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},C3={parameterPath:["options","tags"],mapper:Od},xn={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},Ys={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},I3={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},IR={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},BR={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},Ma={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},La={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},_a={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},Cy={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},QR={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Iy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},By={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},Qy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},B3={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Ll={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},Q3={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},_l={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},x3={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},xR={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},b3={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},w3={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},N3={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},S3={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},R3={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},bR={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},wR={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},xy={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},by={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},P3={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},NR={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},v3={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},SR={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},RR={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},D3={parameterPath:"blocks",mapper:T0},PR={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},k3={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var wy=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},Hye)}getProperties(e){return this.client.sendOperationRequest({options:e},zye)}getStatistics(e){return this.client.sendOperationRequest({options:e},Gye)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},Yye)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},Vye)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Jye)}submitBatch(e,r,n,s){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:s},Wye)}filterBlobs(e){return this.client.sendOperationRequest({options:e},$ye)}},Ro=Wr(jr,!0),Hye={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:_0},default:{bodyMapper:R,headersMapper:F0}},requestBody:qJ,queryParameters:[qd,Bn,v],urlParameters:[P],headerParameters:[Ps,In,D,k],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ro},zye={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Fd,headersMapper:U0},default:{bodyMapper:R,headersMapper:O0}},queryParameters:[qd,Bn,v],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:Ro},Gye={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:S0,headersMapper:q0},default:{bodyMapper:R,headersMapper:H0}},queryParameters:[qd,v,HJ],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:Ro},Yye={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:R0,headersMapper:z0},default:{bodyMapper:R,headersMapper:G0}},queryParameters:[v,Hd,zd,vs,Ds,zJ],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:Ro},Vye={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:v0,headersMapper:Y0},default:{bodyMapper:R,headersMapper:V0}},requestBody:GJ,queryParameters:[qd,v,YJ],urlParameters:[P],headerParameters:[Ps,In,D,k],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ro},Jye={path:"/",httpMethod:"GET",responses:{200:{headersMapper:J0},default:{bodyMapper:R,headersMapper:W0}},queryParameters:[Bn,v,Ml],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:Ro},Wye={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:$0},default:{bodyMapper:R,headersMapper:j0}},requestBody:ry,queryParameters:[v,ny],urlParameters:[P],headerParameters:[In,D,k,St,sy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ro},$ye={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Ud,headersMapper:K0},default:{bodyMapper:R,headersMapper:X0}},queryParameters:[v,vs,Ds,iy,oy],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:Ro};var Ny=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},jye)}getProperties(e){return this.client.sendOperationRequest({options:e},Kye)}delete(e){return this.client.sendOperationRequest({options:e},Xye)}setMetadata(e){return this.client.sendOperationRequest({options:e},Zye)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},eEe)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},tEe)}restore(e){return this.client.sendOperationRequest({options:e},rEe)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},nEe)}submitBatch(e,r,n,s){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:s},sEe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},iEe)}acquireLease(e){return this.client.sendOperationRequest({options:e},oEe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},aEe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},cEe)}breakLease(e){return this.client.sendOperationRequest({options:e},lEe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},AEe)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},uEe)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},dEe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},mEe)}},Pt=Wr(jr,!0),jye={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Z0},default:{bodyMapper:R,headersMapper:eN}},queryParameters:[v,Rt],urlParameters:[P],headerParameters:[D,k,U,zt,AR,VJ,JJ],isXML:!0,serializer:Pt},Kye={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:tN},default:{bodyMapper:R,headersMapper:rN}},queryParameters:[v,Rt],urlParameters:[P],headerParameters:[D,k,U,oe],isXML:!0,serializer:Pt},Xye={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:nN},default:{bodyMapper:R,headersMapper:sN}},queryParameters:[v,Rt],urlParameters:[P],headerParameters:[D,k,U,oe,ne,se],isXML:!0,serializer:Pt},Zye={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:iN},default:{bodyMapper:R,headersMapper:oN}},queryParameters:[v,Rt,ay],urlParameters:[P],headerParameters:[D,k,U,zt,oe,ne],isXML:!0,serializer:Pt},eEe={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:aN},default:{bodyMapper:R,headersMapper:cN}},queryParameters:[v,Rt,uR],urlParameters:[P],headerParameters:[D,k,U,oe],isXML:!0,serializer:Pt},tEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:lN},default:{bodyMapper:R,headersMapper:AN}},requestBody:WJ,queryParameters:[v,Rt,uR],urlParameters:[P],headerParameters:[Ps,In,D,k,AR,oe,ne,se],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Pt},rEe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:uN},default:{bodyMapper:R,headersMapper:dN}},queryParameters:[v,Rt,cy],urlParameters:[P],headerParameters:[D,k,U,$J,jJ],isXML:!0,serializer:Pt},nEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:mN},default:{bodyMapper:R,headersMapper:pN}},queryParameters:[v,Rt,KJ],urlParameters:[P],headerParameters:[D,k,U,XJ,ZJ],isXML:!0,serializer:Pt},sEe={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:hN},default:{bodyMapper:R,headersMapper:fN}},requestBody:ry,queryParameters:[v,ny,Rt],urlParameters:[P],headerParameters:[In,D,k,St,sy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Pt},iEe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Ud,headersMapper:gN},default:{bodyMapper:R,headersMapper:yN}},queryParameters:[v,vs,Ds,iy,oy,Rt],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:Pt},oEe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:EN},default:{bodyMapper:R,headersMapper:CN}},queryParameters:[v,Rt,Qn],urlParameters:[P],headerParameters:[D,k,U,ne,se,ly,Ay,uy],isXML:!0,serializer:Pt},aEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:IN},default:{bodyMapper:R,headersMapper:BN}},queryParameters:[v,Rt,Qn],urlParameters:[P],headerParameters:[D,k,U,ne,se,dy,So],isXML:!0,serializer:Pt},cEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:QN},default:{bodyMapper:R,headersMapper:xN}},queryParameters:[v,Rt,Qn],urlParameters:[P],headerParameters:[D,k,U,ne,se,So,my],isXML:!0,serializer:Pt},lEe={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:bN},default:{bodyMapper:R,headersMapper:wN}},queryParameters:[v,Rt,Qn],urlParameters:[P],headerParameters:[D,k,U,ne,se,py,hy],isXML:!0,serializer:Pt},AEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:NN},default:{bodyMapper:R,headersMapper:SN}},queryParameters:[v,Rt,Qn],urlParameters:[P],headerParameters:[D,k,U,ne,se,So,fy,gy],isXML:!0,serializer:Pt},uEe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:D0,headersMapper:RN},default:{bodyMapper:R,headersMapper:PN}},queryParameters:[v,Hd,zd,vs,Ds,Rt,dR,mR],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:Pt},dEe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:k0,headersMapper:vN},default:{bodyMapper:R,headersMapper:DN}},queryParameters:[v,Hd,zd,vs,Ds,Rt,dR,mR,e3],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:Pt},mEe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:kN},default:{bodyMapper:R,headersMapper:TN}},queryParameters:[Bn,v,Ml],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:Pt};var Sy=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},pEe)}getProperties(e){return this.client.sendOperationRequest({options:e},hEe)}delete(e){return this.client.sendOperationRequest({options:e},fEe)}undelete(e){return this.client.sendOperationRequest({options:e},gEe)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},yEe)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},EEe)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},CEe)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},IEe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},BEe)}setMetadata(e){return this.client.sendOperationRequest({options:e},QEe)}acquireLease(e){return this.client.sendOperationRequest({options:e},xEe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},bEe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},wEe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},NEe)}breakLease(e){return this.client.sendOperationRequest({options:e},SEe)}createSnapshot(e){return this.client.sendOperationRequest({options:e},REe)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},PEe)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},vEe)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},DEe)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},kEe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},TEe)}query(e){return this.client.sendOperationRequest({options:e},MEe)}getTags(e){return this.client.sendOperationRequest({options:e},LEe)}setTags(e){return this.client.sendOperationRequest({options:e},_Ee)}},Ge=Wr(jr,!0),pEe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Zg},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Zg},default:{bodyMapper:R,headersMapper:MN}},queryParameters:[v,sr,ks],urlParameters:[P],headerParameters:[D,k,U,oe,ne,se,ka,t3,r3,Ke,Xe,Ze,fe,ge,Ae],isXML:!0,serializer:Ge},hEe={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:LN},default:{bodyMapper:R,headersMapper:_N}},queryParameters:[v,sr,ks],urlParameters:[P],headerParameters:[D,k,U,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae],isXML:!0,serializer:Ge},fEe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:FN},default:{bodyMapper:R,headersMapper:UN}},queryParameters:[v,sr,ks,s3],urlParameters:[P],headerParameters:[D,k,U,oe,ne,se,fe,ge,Ae,n3],isXML:!0,serializer:Ge},gEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ON},default:{bodyMapper:R,headersMapper:qN}},queryParameters:[v,cy],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:Ge},yEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:HN},default:{bodyMapper:R,headersMapper:zN}},queryParameters:[v,i3],urlParameters:[P],headerParameters:[D,k,U,o3,a3],isXML:!0,serializer:Ge},EEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:GN},default:{bodyMapper:R,headersMapper:YN}},queryParameters:[Bn,v],urlParameters:[P],headerParameters:[D,k,U,oe,ne,se,fe,ge,Ae,Ts,Ms,Ls,_s,Fs,Us],isXML:!0,serializer:Ge},CEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:VN},default:{bodyMapper:R,headersMapper:JN}},queryParameters:[v,sr,ks,pR],urlParameters:[P],headerParameters:[D,k,U,se,Vn,Jn],isXML:!0,serializer:Ge},IEe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:WN},default:{bodyMapper:R,headersMapper:$N}},queryParameters:[v,sr,ks,pR],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:Ge},BEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:jN},default:{bodyMapper:R,headersMapper:KN}},queryParameters:[v,sr,ks,c3],urlParameters:[P],headerParameters:[D,k,U,l3],isXML:!0,serializer:Ge},QEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:XN},default:{bodyMapper:R,headersMapper:ZN}},queryParameters:[v,ay],urlParameters:[P],headerParameters:[D,k,U,zt,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,ft],isXML:!0,serializer:Ge},xEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:eS},default:{bodyMapper:R,headersMapper:tS}},queryParameters:[v,Qn],urlParameters:[P],headerParameters:[D,k,U,ne,se,ly,Ay,uy,fe,ge,Ae],isXML:!0,serializer:Ge},bEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:rS},default:{bodyMapper:R,headersMapper:nS}},queryParameters:[v,Qn],urlParameters:[P],headerParameters:[D,k,U,ne,se,dy,So,fe,ge,Ae],isXML:!0,serializer:Ge},wEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:sS},default:{bodyMapper:R,headersMapper:iS}},queryParameters:[v,Qn],urlParameters:[P],headerParameters:[D,k,U,ne,se,So,my,fe,ge,Ae],isXML:!0,serializer:Ge},NEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:oS},default:{bodyMapper:R,headersMapper:aS}},queryParameters:[v,Qn],urlParameters:[P],headerParameters:[D,k,U,ne,se,So,fy,gy,fe,ge,Ae],isXML:!0,serializer:Ge},SEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:cS},default:{bodyMapper:R,headersMapper:lS}},queryParameters:[v,Qn],urlParameters:[P],headerParameters:[D,k,U,ne,se,py,hy,fe,ge,Ae],isXML:!0,serializer:Ge},REe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:AS},default:{bodyMapper:R,headersMapper:uS}},queryParameters:[v,A3],urlParameters:[P],headerParameters:[D,k,U,zt,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,ft],isXML:!0,serializer:Ge},PEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:dS},default:{bodyMapper:R,headersMapper:mS}},queryParameters:[v],urlParameters:[P],headerParameters:[D,k,U,zt,oe,ne,se,fe,ge,Ae,Vn,Jn,Pi,hR,Os,qs,Hs,zs,yy,Ta,Wn,u3,Gs],isXML:!0,serializer:Ge},vEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:pS},default:{bodyMapper:R,headersMapper:hS}},queryParameters:[v],urlParameters:[P],headerParameters:[D,k,U,zt,oe,ne,se,fe,ge,Ae,Vn,Jn,ft,Pi,Os,qs,Hs,zs,Ta,Wn,Gs,d3,vi,Di,Ey,ki],isXML:!0,serializer:Ge},DEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:fS},default:{bodyMapper:R,headersMapper:gS}},queryParameters:[v,m3,h3],urlParameters:[P],headerParameters:[D,k,U,oe,p3],isXML:!0,serializer:Ge},kEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ey},202:{headersMapper:ey},default:{bodyMapper:R,headersMapper:yS}},queryParameters:[v,sr,ks,f3],urlParameters:[P],headerParameters:[D,k,U,oe,Ae,hR,g3],isXML:!0,serializer:Ge},TEe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:ES},default:{bodyMapper:R,headersMapper:CS}},queryParameters:[Bn,v,Ml],urlParameters:[P],headerParameters:[D,k,U],isXML:!0,serializer:Ge},MEe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ty},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ty},default:{bodyMapper:R,headersMapper:IS}},requestBody:y3,queryParameters:[v,sr,E3],urlParameters:[P],headerParameters:[Ps,In,D,k,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ge},LEe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Od,headersMapper:BS},default:{bodyMapper:R,headersMapper:QS}},queryParameters:[v,sr,ks,fR],urlParameters:[P],headerParameters:[D,k,U,oe,Ae,gR,yR,ER,CR],isXML:!0,serializer:Ge},_Ee={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:xS},default:{bodyMapper:R,headersMapper:bS}},requestBody:C3,queryParameters:[v,ks,fR],urlParameters:[P],headerParameters:[Ps,In,D,k,oe,Ae,gR,yR,ER,CR,xn,Ys],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ge};var Ry=class{static{o(this,"PageBlobImpl")}client;constructor(e){this.client=e}create(e,r,n){return this.client.sendOperationRequest({contentLength:e,blobContentLength:r,options:n},FEe)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},UEe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},OEe)}uploadPagesFromURL(e,r,n,s,i){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:n,range:s,options:i},qEe)}getPageRanges(e){return this.client.sendOperationRequest({options:e},HEe)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},zEe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},GEe)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},YEe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},VEe)}},Ti=Wr(jr,!0),FEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wS},default:{bodyMapper:R,headersMapper:NS}},queryParameters:[v],urlParameters:[P],headerParameters:[D,k,U,St,zt,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,Ts,Ms,Ls,_s,Fs,Us,Vn,Jn,ft,Pi,Wn,Gs,I3,IR,BR],isXML:!0,serializer:Ti},UEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:SS},default:{bodyMapper:R,headersMapper:RS}},requestBody:La,queryParameters:[v,Cy],urlParameters:[P],headerParameters:[D,k,St,oe,ne,se,ka,Ke,Xe,Ze,fe,ge,Ae,ft,xn,Ys,Ma,_a,QR,Iy,By,Qy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Ti},OEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:PS},default:{bodyMapper:R,headersMapper:vS}},queryParameters:[v,Cy],urlParameters:[P],headerParameters:[D,k,U,St,oe,ne,se,ka,Ke,Xe,Ze,fe,ge,Ae,ft,Iy,By,Qy,B3],isXML:!0,serializer:Ti},qEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:DS},default:{bodyMapper:R,headersMapper:kS}},queryParameters:[v,Cy],urlParameters:[P],headerParameters:[D,k,U,St,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,ft,Os,qs,Hs,zs,vi,Di,ki,QR,Iy,By,Qy,Ll,Q3,_l,x3],isXML:!0,serializer:Ti},HEe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Xg,headersMapper:TS},default:{bodyMapper:R,headersMapper:MS}},queryParameters:[v,vs,Ds,sr,xR],urlParameters:[P],headerParameters:[D,k,U,oe,ne,se,ka,fe,ge,Ae],isXML:!0,serializer:Ti},zEe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Xg,headersMapper:LS},default:{bodyMapper:R,headersMapper:_S}},queryParameters:[v,vs,Ds,sr,xR,b3],urlParameters:[P],headerParameters:[D,k,U,oe,ne,se,ka,fe,ge,Ae,w3],isXML:!0,serializer:Ti},GEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:FS},default:{bodyMapper:R,headersMapper:US}},queryParameters:[Bn,v],urlParameters:[P],headerParameters:[D,k,U,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,ft,IR],isXML:!0,serializer:Ti},YEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:OS},default:{bodyMapper:R,headersMapper:qS}},queryParameters:[Bn,v],urlParameters:[P],headerParameters:[D,k,U,oe,ne,se,fe,ge,Ae,BR,N3],isXML:!0,serializer:Ti},VEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:HS},default:{bodyMapper:R,headersMapper:zS}},queryParameters:[v,S3],urlParameters:[P],headerParameters:[D,k,U,ne,se,fe,ge,Ae,Ta],isXML:!0,serializer:Ti};var Py=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},JEe)}appendBlock(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},WEe)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},$Ee)}seal(e){return this.client.sendOperationRequest({options:e},jEe)}},vy=Wr(jr,!0),JEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:GS},default:{bodyMapper:R,headersMapper:YS}},queryParameters:[v],urlParameters:[P],headerParameters:[D,k,U,St,zt,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,Ts,Ms,Ls,_s,Fs,Us,Vn,Jn,ft,Wn,Gs,R3],isXML:!0,serializer:vy},WEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:VS},default:{bodyMapper:R,headersMapper:JS}},requestBody:La,queryParameters:[v,bR],urlParameters:[P],headerParameters:[D,k,St,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,ft,xn,Ys,Ma,_a,wR,xy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:vy},$Ee={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:WS},default:{bodyMapper:R,headersMapper:$S}},queryParameters:[v,bR],urlParameters:[P],headerParameters:[D,k,U,St,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,ft,Os,qs,Hs,zs,vi,Di,ki,xn,Ll,_l,wR,xy,by],isXML:!0,serializer:vy},jEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:jS},default:{bodyMapper:R,headersMapper:KS}},queryParameters:[v,P3],urlParameters:[P],headerParameters:[D,k,U,oe,ne,se,fe,ge,xy],isXML:!0,serializer:vy};var Dy=class{static{o(this,"BlockBlobImpl")}client;constructor(e){this.client=e}upload(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},KEe)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},XEe)}stageBlock(e,r,n,s){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:s},ZEe)}stageBlockFromURL(e,r,n,s){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:s},eCe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},tCe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},rCe)}},Ul=Wr(jr,!0),KEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:XS},default:{bodyMapper:R,headersMapper:ZS}},requestBody:La,queryParameters:[v],urlParameters:[P],headerParameters:[D,k,St,zt,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,Ts,Ms,Ls,_s,Fs,Us,Vn,Jn,ft,Pi,Wn,Gs,xn,Ys,Ma,_a,NR],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Ul},XEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:eR},default:{bodyMapper:R,headersMapper:tR}},queryParameters:[v],urlParameters:[P],headerParameters:[D,k,U,St,zt,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,Ts,Ms,Ls,_s,Fs,Us,ft,Pi,Os,qs,Hs,zs,yy,Ta,Wn,vi,Di,Ey,ki,xn,NR,v3],isXML:!0,serializer:Ul},ZEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:rR},default:{bodyMapper:R,headersMapper:nR}},requestBody:La,queryParameters:[v,SR,RR],urlParameters:[P],headerParameters:[D,k,St,oe,Ke,Xe,Ze,ft,xn,Ys,Ma,_a],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Ul},eCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:sR},default:{bodyMapper:R,headersMapper:iR}},queryParameters:[v,SR,RR],urlParameters:[P],headerParameters:[D,k,U,St,oe,Ke,Xe,Ze,ft,Os,qs,Hs,zs,vi,Di,ki,Ll,_l,by],isXML:!0,serializer:Ul},tCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:oR},default:{bodyMapper:R,headersMapper:aR}},requestBody:D3,queryParameters:[v,PR],urlParameters:[P],headerParameters:[Ps,In,D,k,zt,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,Ts,Ms,Ls,_s,Fs,Us,Vn,Jn,ft,Pi,Wn,Gs,xn,Ys],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ul},rCe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:M0,headersMapper:cR},default:{bodyMapper:R,headersMapper:lR}},queryParameters:[v,sr,PR,k3],urlParameters:[P],headerParameters:[D,k,U,oe,Ae],isXML:!0,serializer:Ul};var Gd=class extends xd{static{o(this,"StorageClient")}url;version;constructor(e,r){if(e===void 0)throw new Error("'url' cannot be null");r||(r={});let n={requestContentType:"application/json; charset=utf-8"},s="azsdk-js-azure-storage-blob/12.30.0",i=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${s}`:`${s}`,a={...n,...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 wy(this),this.container=new Ny(this),this.blob=new Sy(this),this.pageBlob=new Ry(this),this.appendBlob=new Py(this),this.blockBlob=new Dy(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var Yd=class extends Gd{static{o(this,"StorageContextClient")}async sendOperationRequest(e,r){let n={...r};return(n.path==="/{containerName}"||n.path==="/{containerName}/{blob}")&&(n.path=""),super.sendOperationRequest(e,n)}};function M3(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=sCe(r),e.pathname=r,e.toString()}o(M3,"escapeURLPath");function nCe(t){let e="";if(t.search("DevelopmentStorageProxyUri=")!==-1){let r=t.split(";");for(let n of r)n.trim().startsWith("DevelopmentStorageProxyUri=")&&(e=n.trim().match("DevelopmentStorageProxyUri=(.*)")[1])}return e}o(nCe,"getProxyUriFromDevConnString");function Fa(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(Fa,"getValueInConnString");function Ua(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=nCe(t),t=PJ);let r=Fa(t,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,t.search("DefaultEndpointsProtocol=")!==-1&&t.search("AccountKey=")!==-1){let n="",s="",i=Buffer.from("accountKey","base64"),a="";if(s=Fa(t,"AccountName"),i=Buffer.from(Fa(t,"AccountKey"),"base64"),!r){n=Fa(t,"DefaultEndpointsProtocol");let c=n.toLowerCase();if(c!=="https"&&c!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(a=Fa(t,"EndpointSuffix"),!a)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${s}.blob.${a}`}if(s){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:s,accountKey:i,proxyUri:e}}else{let n=Fa(t,"SharedAccessSignature"),s=Fa(t,"AccountName");if(s||(s=TR(r)),r){if(!n)throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw new Error("Invalid BlobEndpoint in the provided SAS Connection String");return n.startsWith("?")&&(n=n.substring(1)),{kind:"SASConnString",url:r,accountName:s,accountSas:n}}}o(Ua,"extractConnectionStringParts");function sCe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(sCe,"escape");function Ct(t,e){let r=new URL(t),n=r.pathname;return n=n?n.endsWith("/")?`${n}${e}`:`${n}/${e}`:e,r.pathname=n,r.toString()}o(Ct,"appendToURLPath");function Ol(t,e,r){let n=new URL(t),s=encodeURIComponent(e),i=r?encodeURIComponent(r):void 0,a=n.search===""?"?":n.search,c=[];for(let l of a.slice(1).split("&"))if(l){let[A]=l.split("=",2);A!==s&&c.push(l)}return i&&c.push(`${s}=${i}`),n.search=c.length?`?${c.join("&")}`:"",n.toString()}o(Ol,"setURLParameter");function vR(t,e){return new URL(t).searchParams.get(e)??void 0}o(vR,"getURLParameter");function L3(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(L3,"getURLScheme");function Vd(t,e){let r=new URL(t),n=r.search;return n?n+="&"+e:n=e,r.search=n,r.toString()}o(Vd,"appendToURLQuery");function Ie(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(Ie,"truncatedISO8061Date");function iCe(t){return Ce?Buffer.from(t).toString("base64"):btoa(t)}o(iCe,"base64encode");function DR(t,e){t.length>42&&(t=t.slice(0,42));let i=t+oCe(e.toString(),48-t.length,"0");return iCe(i)}o(DR,"generateBlockID");function oCe(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(oCe,"padStart");function kR(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(kR,"iEqual");function TR(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:ky(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(TR,"getAccountNameFromUrl");function ky(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&&MJ.includes(t.port)}o(ky,"isIpEndpointStyle");function Po(t){if(t===void 0)return;let e=[];for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.push(`${encodeURIComponent(r)}=${encodeURIComponent(n)}`)}return e.join("&")}o(Po,"toBlobTagsString");function _3(t){if(t===void 0)return;let e={blobTagSet:[]};for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.blobTagSet.push({key:r,value:n})}return e}o(_3,"toBlobTags");function Ty(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(Ty,"toTags");function MR(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(MR,"toQuerySerialization");function My(t){if(!t||"policy-id"in t)return;let e=[];for(let r in t){let n=r.split("_"),s="or-";n[0].startsWith(s)&&(n[0]=n[0].substring(s.length));let i={ruleId:n[1],replicationStatus:t[r]},a=e.findIndex(c=>c.policyId===n[0]);a>-1?e[a].rules.push(i):e.push({policyId:n[0],rules:[i]})}return e}o(My,"parseObjectReplicationRecord");function ql(t){return t?t.scheme+" "+t.value:void 0}o(ql,"httpAuthorizationToString");function*LR(t){let e=[],r=[];t.pageRange&&(e=t.pageRange),t.clearRange&&(r=t.clearRange);let n=0,s=0;for(;n0&&n.length>0&&e.push(`${r}=${n}`))}};function Jd(t,e,r){return Wd(t,e,r).sasQueryParameters}o(Jd,"generateBlobSASQueryParameters");function Wd(t,e,r){let n=t.version?t.version:jg,s=e instanceof je?e:void 0,i;if(s===void 0&&r!==void 0&&(i=new Wg(r,e)),s===void 0&&i===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")return s!==void 0?lCe(t,s):n>="2025-07-05"?mCe(t,i):dCe(t,i);if(n>="2018-11-09")return s!==void 0?cCe(t,s):n>="2020-02-10"?uCe(t,i):ACe(t,i);if(n>="2015-04-05"){if(s!==void 0)return aCe(t,s);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(Wd,"generateBlobSASQueryParametersInternal");function aCe(t,e){if(t=qa(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";t.blobName&&(r="b");let n;t.permissions&&(t.blobName?n=Vs.parse(t.permissions.toString()).toString():n=Js.parse(t.permissions.toString()).toString());let s=[n||"",t.startsOn?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Oa(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?$n(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(s);return{sasQueryParameters:new jn(t.version,i,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:s}}o(aCe,"generateBlobSASQueryParameters20150405");function cCe(t,e){if(t=qa(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=Vs.parse(t.permissions.toString()).toString():s=Js.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Oa(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?$n(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` +`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new jn(t.version,a,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:i}}o(cCe,"generateBlobSASQueryParameters20181109");function lCe(t,e){if(t=qa(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=Vs.parse(t.permissions.toString()).toString():s=Js.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Oa(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?$n(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(` +`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new jn(t.version,a,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,void 0,void 0,void 0,t.encryptionScope),stringToSign:i}}o(lCe,"generateBlobSASQueryParameters20201206");function ACe(t,e){if(t=qa(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=Vs.parse(t.permissions.toString()).toString():s=Js.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Oa(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ie(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ie(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?$n(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` +`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new jn(t.version,a,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,e.userDelegationKey),stringToSign:i}}o(ACe,"generateBlobSASQueryParametersUDK20181109");function uCe(t,e){if(t=qa(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=Vs.parse(t.permissions.toString()).toString():s=Js.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Oa(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ie(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ie(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?$n(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` +`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new jn(t.version,a,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,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:i}}o(uCe,"generateBlobSASQueryParametersUDK20200210");function dCe(t,e){if(t=qa(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=Vs.parse(t.permissions.toString()).toString():s=Js.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Oa(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ie(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ie(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?$n(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` +`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new jn(t.version,a,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,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:i}}o(dCe,"generateBlobSASQueryParametersUDK20201206");function mCe(t,e){if(t=qa(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let s;t.permissions&&(t.blobName?s=Vs.parse(t.permissions.toString()).toString():s=Js.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Oa(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ie(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ie(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?$n(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(` +`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new jn(t.version,a,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,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:i}}o(mCe,"generateBlobSASQueryParametersUDK20250705");function Oa(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}o(Oa,"getCanonicalName");function qa(t){let e=t.version?t.version:jg;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(qa,"SASSignatureValuesSanityCheckAndAutofill");var $d=class{static{o(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let n=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=n.container):(this._isContainer=!1,this._containerOrBlobOperation=n.blob),r||(r=wl()),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 q.withSpan("BlobLeaseClient-acquireLease",r,async n=>Y(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:n.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==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 q.withSpan("BlobLeaseClient-changeLease",r,async n=>{let s=Y(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return this._leaseId=e,s})}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 q.withSpan("BlobLeaseClient-releaseLease",e,async r=>Y(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 q.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 q.withSpan("BlobLeaseClient-breakLease",r,async n=>{let s={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions};return Y(await this._containerOrBlobOperation.breakLease(s))})}};var U3=require("node:stream");var Ly=class extends U3.Readable{static{o(this,"RetriableReadableStream")}start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,r,n,s,i={}){super({highWaterMark:i.highWaterMark}),this.getter=r,this.source=e,this.start=n,this.offset=n,this.end=n+s-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 Vr("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 _y=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 Ce?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,n,s,i={}){this.originalResponse=e,this.blobDownloadStream=new Ly(this.originalResponse.readableStreamBody,r,n,s,i)}};var Y3=require("node:stream");var _R=new Uint8Array([79,98,106,1]),O3="avro.codec",q3="avro.schema";var Ve=class t{static{o(this,"AvroParser")}static async readFixedBytes(e,r,n={}){let s=await e.read(r,{abortSignal:n.abortSignal});if(s.length!==r)throw new Error("Hit stream end.");return s}static async readByte(e,r={}){return(await t.readFixedBytes(e,1,r))[0]}static async readZigZagLong(e,r={}){let n=0,s=0,i,a,c;do i=await t.readByte(e,r),a=i&128,n|=(i&127)<Number.MAX_SAFE_INTEGER)throw new Error("Integer overflow.");return l}return n>>1^-(n&1)}static async readLong(e,r={}){return t.readZigZagLong(e,r)}static async readInt(e,r={}){return t.readZigZagLong(e,r)}static async readNull(){return null}static async readBoolean(e,r={}){let n=await t.readByte(e,r);if(n===1)return!0;if(n===0)return!1;throw new Error("Byte was not a boolean.")}static async readFloat(e,r={}){let n=await t.readFixedBytes(e,4,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat32(0,!0)}static async readDouble(e,r={}){let n=await t.readFixedBytes(e,8,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat64(0,!0)}static async readBytes(e,r={}){let n=await t.readLong(e,r);if(n<0)throw new Error("Bytes size was negative.");return e.read(n,{abortSignal:r.abortSignal})}static async readString(e,r={}){let n=await t.readBytes(e,r);return new TextDecoder().decode(n)}static async readMapPair(e,r,n={}){let s=await t.readString(e,n),i=await r(e,n);return{key:s,value:i}}static async readMap(e,r,n={}){let s=o((c,l={})=>t.readMapPair(c,r,l),"readPairMethod"),i=await t.readArray(e,s,n),a={};for(let c of i)a[c.key]=c.value;return a}static async readArray(e,r,n={}){let s=[];for(let i=await t.readLong(e,n);i!==0;i=await t.readLong(e,n))for(i<0&&(await t.readLong(e,n),i=-i);i--;){let a=await r(e,n);s.push(a)}return s}},Ha;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(Ha||(Ha={}));var vt;(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"})(vt||(vt={}));var Mi=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 vt.NULL:case vt.BOOLEAN:case vt.INT:case vt.LONG:case vt.FLOAT:case vt.DOUBLE:case vt.BYTES:case vt.STRING:return new FR(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new OR(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case Ha.RECORD:if(e.aliases)throw new Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw new Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let n={};if(!e.fields)throw new Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let s of e.fields)n[s.name]=t.fromSchema(s.type);return new HR(n,e.name);case Ha.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 UR(e.symbols);case Ha.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new qR(t.fromSchema(e.values));case Ha.ARRAY:case Ha.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},FR=class extends Mi{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case vt.NULL:return Ve.readNull();case vt.BOOLEAN:return Ve.readBoolean(e,r);case vt.INT:return Ve.readInt(e,r);case vt.LONG:return Ve.readLong(e,r);case vt.FLOAT:return Ve.readFloat(e,r);case vt.DOUBLE:return Ve.readDouble(e,r);case vt.BYTES:return Ve.readBytes(e,r);case vt.STRING:return Ve.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},UR=class extends Mi{static{o(this,"AvroEnumType")}_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let n=await Ve.readInt(e,r);return this._symbols[n]}},OR=class extends Mi{static{o(this,"AvroUnionType")}_types;constructor(e){super(),this._types=e}async read(e,r={}){let n=await Ve.readInt(e,r);return this._types[n].read(e,r)}},qR=class extends Mi{static{o(this,"AvroMapType")}_itemType;constructor(e){super(),this._itemType=e}read(e,r={}){let n=o((s,i)=>this._itemType.read(s,i),"readItemMethod");return Ve.readMap(e,n,r)}},HR=class extends Mi{static{o(this,"AvroRecordType")}_name;_fields;constructor(e,r){super(),this._fields=e,this._name=r}async read(e,r={}){let n={};n.$schema=this._name;for(let s in this._fields)Object.prototype.hasOwnProperty.call(this._fields,s)&&(n[s]=await this._fields[s].read(e,r));return n}};function zR(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 n=await Ve.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!zR(this._syncMarker,n))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await Ve.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await Ve.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};var Kd=class{static{o(this,"AvroReadable")}};var G3=require("buffer");var z3=new Vr("Reading from the avro stream was aborted."),Xd=class extends Kd{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?G3.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 z3;if(e<0)throw new Error(`size parameter should be positive: ${e}`);if(e===0)return new Uint8Array;if(!this._readable.readable)throw new Error("Stream no longer readable.");let n=this._readable.read(e);return n?(this._position+=n.length,this.toUint8Array(n)):new Promise((s,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",A)},"cleanUp"),c=o(()=>{let u=this._readable.read(e);u&&(this._position+=u.length,a(),s(this.toUint8Array(u)))},"readableCallback"),l=o(()=>{a(),i()},"rejectCallback"),A=o(()=>{a(),i(z3)},"abortHandler");this._readable.on("readable",c),this._readable.once("error",l),this._readable.once("end",l),this._readable.once("close",l),r.abortSignal&&r.abortSignal.addEventListener("abort",A)})}};var Fy=class extends Y3.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 jd(new Xd(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:r.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){this.avroPaused=!1;let e;do{if(e=await this.avroIter.next(),e.done)break;let r=e.value,n=r.$schema;if(typeof n!="string")throw Error("Missing schema in avro record.");switch(n){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let s=r.data;if(!(s instanceof Uint8Array))throw Error("Invalid data in avro result record.");this.push(Buffer.from(s))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let s=r.bytesScanned;if(typeof s!="number")throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:s})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let s=r.totalBytes;if(typeof s!="number")throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:s})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let s=r.fatal;if(typeof s!="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:s,description:a})}break;default:throw Error(`Unknown schema ${n} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}};var Uy=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 Ce?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new Fy(this.originalResponse.readableStreamBody,r)}};var GR;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(GR||(GR={}));var YR;(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"})(YR||(YR={}));function vo(t){if(t!==void 0)return t}o(vo,"toAccessTier");function It(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=RJ)}o(It,"ensureCpkIfSpecified");var VR;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(VR||(VR={}));function Oy(t){let e=(t._response.parsedBody.pageRange||[]).map(n=>({offset:n.start,count:n.end-n.start})),r=(t._response.parsedBody.clearRange||[]).map(n=>({offset:n.start,count:n.end-n.start}));return{...t,pageRange:e,clearRange:r,_response:{...t._response,parsedBody:{pageRange:e,clearRange:r}}}}o(Oy,"rangeResponseFromModel");var P4=Q(R4(),1);var jy=class extends P4.Poller{static{o(this,"BlobBeginCopyFromUrlPoller")}intervalInMs;constructor(e){let{blobClient:r,copySource:n,intervalInMs:s=15e3,onProgress:i,resumeFrom:a,startCopyFromURLOptions:c}=e,l;a&&(l=JSON.parse(a).state);let A=rm({...l,blobClient:r,copySource:n,startCopyFromURLOptions:c});super(A),typeof i=="function"&&this.onProgress(i),this.intervalInMs=s}delay(){return pd(this.intervalInMs)}},AIe=o(async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?rm(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,rm(r)):(r.isCancelled=!0,rm(r))},"cancel"),uIe=o(async function(e={}){let r=this.state,{blobClient:n,copySource:s,startCopyFromURLOptions:i}=r;if(r.isStarted){if(!r.isCompleted)try{let a=await r.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:c,copyProgress:l}=a,A=r.copyProgress;l&&(r.copyProgress=l),c==="pending"&&l!==A&&typeof e.fireProgress=="function"?e.fireProgress(r):c==="success"?(r.result=a,r.isCompleted=!0):c==="failed"&&(r.error=new Error(`Blob copy failed with reason: "${a.copyStatusDescription||"unknown"}"`),r.isCompleted=!0)}catch(a){r.error=a,r.isCompleted=!0}}else{r.isStarted=!0;let a=await n.startCopyFromURL(s,i);r.copyId=a.copyId,a.copyStatus==="success"&&(r.result=a,r.isCompleted=!0)}return rm(r)},"update"),dIe=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function rm(t){return{state:{...t},cancel:AIe,toString:dIe,update:uIe}}o(rm,"makeBlobBeginCopyFromURLPollOperation");function Qr(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(Qr,"rangeToString");var v4=require("events");var nm;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(nm||(nm={}));var sm=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=nm.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new v4.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(r){this.emitter.emit("error",r)}})}async do(){return this.operations.length===0?Promise.resolve():(this.parallelExecute(),new Promise((e,r)=>{this.emitter.on("finish",e),this.emitter.on("error",n=>{this.state=nm.Error,r(n)})}))}nextOperation(){return this.offset=this.operations.length){this.emitter.emit("finish");return}for(;this.actives{let A=setTimeout(()=>l(new Error("The operation cannot be completed in timeout.")),1e5);t.on("readable",()=>{if(i>=a){clearTimeout(A),c();return}let u=t.read();if(!u)return;typeof u=="string"&&(u=Buffer.from(u,s));let d=i+u.length>a?a-i:u.length;e.fill(u.slice(0,d),r+i,r+i+d),i+=d}),t.on("end",()=>{clearTimeout(A),i{clearTimeout(A),l(u)})})}o(k4,"streamToBuffer");async function T4(t,e){return new Promise((r,n)=>{let s=Ky.default.createWriteStream(e);t.on("error",i=>{n(i)}),s.on("error",i=>{n(i)}),s.on("close",r),t.pipe(s)})}o(T4,"readStreamToLocalFile");var M4=D4.default.promisify(Ky.default.stat),L4=Ky.default.createReadStream;var Li=class t extends Hl{static{o(this,"BlobClient")}blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,r,n,s){s=s||{};let i,a;if(Ri(r))a=e,i=r;else if(Ce&&r instanceof je||r instanceof ze||Jr(r))a=e,s=n,i=ct(r,s);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(s=n),i=ct(new ze,s);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=Ua(e);if(A.kind==="AccountConnString")if(Ce){let u=new je(A.accountName,A.accountKey);a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l)),s.proxyOptions||(s.proxyOptions=Bo(A.proxyUri)),i=ct(u,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,i=ct(new ze,s);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=vR(this.url,Si.Parameters.SNAPSHOT),this._versionId=vR(this.url,Si.Parameters.VERSIONID)}withSnapshot(e){return new t(Ol(this.url,Si.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(Ol(this.url,Si.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new Zy(this.url,this.pipeline)}getBlockBlobClient(){return new Yl(this.url,this.pipeline)}getPageBlobClient(){return new eE(this.url,this.pipeline)}async download(e=0,r,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},It(n.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-download",n,async s=>{let i=Y(await this.blobContext.download({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onDownloadProgress:Ce?void 0:n.onProgress},range:e===0&&!r?void 0:Qr({offset:e,count:r}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey,tracingOptions:s.tracingOptions})),a={...i,_response:i._response,objectReplicationDestinationPolicyId:i.objectReplicationPolicyId,objectReplicationSourceProperties:My(i.objectReplicationRules)};if(!Ce)return a;if((n.maxRetryRequests===void 0||n.maxRetryRequests<0)&&(n.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 _y(a,async c=>{let l={leaseAccessConditions:n.conditions,modifiedAccessConditions:{ifMatch:n.conditions.ifMatch||i.etag,ifModifiedSince:n.conditions.ifModifiedSince,ifNoneMatch:n.conditions.ifNoneMatch,ifUnmodifiedSince:n.conditions.ifUnmodifiedSince,ifTags:n.conditions?.tagConditions},range:Qr({count:e+i.contentLength-c,offset:c}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey};return(await this.blobContext.download({abortSignal:n.abortSignal,...l})).readableStreamBody},e,i.contentLength,{maxRetryRequests:n.maxRetryRequests,onProgress:n.onProgress})})}async exists(e={}){return q.withSpan("BlobClient-exists",e,async r=>{try{return It(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:r.tracingOptions}),!0}catch(n){if(n.statusCode===404)return!1;if(n.statusCode===409&&(n.details.errorCode===kJ||n.details.errorCode===TJ))return!0;throw n}})}async getProperties(e={}){return e.conditions=e.conditions||{},It(e.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-getProperties",e,async r=>{let n=Y(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,objectReplicationDestinationPolicyId:n.objectReplicationPolicyId,objectReplicationSourceProperties:My(n.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},q.withSpan("BlobClient-delete",e,async r=>Y(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 q.withSpan("BlobClient-deleteIfExists",e,async r=>{try{let n=Y(await this.delete(r));return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="BlobNotFound")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async undelete(e={}){return q.withSpan("BlobClient-undelete",e,async r=>Y(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},It(r.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-setHTTPHeaders",r,async n=>Y(await this.blobContext.setHttpHeaders({abortSignal:r.abortSignal,blobHttpHeaders:e,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}async setMetadata(e,r={}){return r.conditions=r.conditions||{},It(r.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-setMetadata",r,async n=>Y(await this.blobContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async setTags(e,r={}){return q.withSpan("BlobClient-setTags",r,async n=>Y(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},blobModifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions,tags:_3(e)})))}async getTags(e={}){return q.withSpan("BlobClient-getTags",e,async r=>{let n=Y(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,tags:Ty({blobTagSet:n.blobTagSet})||{}}})}getBlobLeaseClient(e){return new $d(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},It(e.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-createSnapshot",e,async r=>Y(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:r.tracingOptions})))}async beginCopyFromURL(e,r={}){let n={abortCopyFromURL:o((...i)=>this.abortCopyFromURL(...i),"abortCopyFromURL"),getProperties:o((...i)=>this.getProperties(...i),"getProperties"),startCopyFromURL:o((...i)=>this.startCopyFromURL(...i),"startCopyFromURL")},s=new jy({blobClient:n,copySource:e,intervalInMs:r.intervalInMs,onProgress:r.onProgress,resumeFrom:r.resumeFrom,startCopyFromURLOptions:r});return await s.poll(),s}async abortCopyFromURL(e,r={}){return q.withSpan("BlobClient-abortCopyFromURL",r,async n=>Y(await this.blobContext.abortCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,tracingOptions:n.tracingOptions})))}async syncCopyFromURL(e,r={}){return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},q.withSpan("BlobClient-syncCopyFromURL",r,async n=>Y(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:ql(r.sourceAuthorization),tier:vo(r.tier),blobTagsString:Po(r.tags),immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,encryptionScope:r.encryptionScope,copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async setAccessTier(e,r={}){return q.withSpan("BlobClient-setAccessTier",r,async n=>Y(await this.blobContext.setTier(vo(e),{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},rehydratePriority:r.rehydratePriority,tracingOptions:n.tracingOptions})))}async downloadToBuffer(e,r,n,s={}){let i,a=0,c=0,l=s;e instanceof Buffer?(i=e,a=r||0,c=typeof n=="number"?n:0):(a=typeof e=="number"?e:0,c=typeof r=="number"?r:0,l=n||{});let A=l.blockSize??0;if(A<0)throw new RangeError("blockSize option must be >= 0");if(A===0&&(A=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={}),q.withSpan("BlobClient-downloadToBuffer",l,async u=>{if(!c){let p=await this.getProperties({...l,tracingOptions:u.tracingOptions});if(c=p.contentLength-a,c<0)throw new RangeError(`offset ${a} shouldn't be larger than blob size ${p.contentLength}`)}if(!i)try{i=Buffer.alloc(c)}catch(p){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". ${p.message}`)}if(i.length{let h=a+c;p+A{let a=await this.download(r,n,{...s,tracingOptions:i.tracingOptions});return a.readableStreamBody&&await T4(a.readableStreamBody,e),a.blobDownloadStream=void 0,a})}getBlobAndContainerNamesFromUrl(){let e,r;try{let n=new URL(this.url);if(n.host.split(".")[1]==="blob"){let s=n.pathname.match("/([^/]*)(/(.*))?");e=s[1],r=s[3]}else if(ky(n)){let s=n.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=s[2],r=s[4]}else{let s=n.pathname.match("/([^/]*)(/(.*))?");e=s[1],r=s[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 q.withSpan("BlobClient-startCopyFromURL",r,async n=>(r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},Y(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:vo(r.tier),blobTagsString:Po(r.tags),sealBlob:r.sealBlob,tracingOptions:n.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof je))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=Jd({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r(Vd(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof je))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return Wd({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,r){return new Promise(n=>{let s=Jd({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();n(Vd(this.url,s))})}generateUserDelegationSasStringToSign(e,r){return Wd({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return q.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>Y(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return q.withSpan("BlobClient-setImmutabilityPolicy",r,async n=>Y(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:n.tracingOptions})))}async setLegalHold(e,r={}){return q.withSpan("BlobClient-setLegalHold",r,async n=>Y(await this.blobContext.setLegalHold(e,{tracingOptions:n.tracingOptions})))}async getAccountInfo(e={}){return q.withSpan("BlobClient-getAccountInfo",e,async r=>Y(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}},Zy=class t extends Li{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,n,s){let i,a;if(s=s||{},Ri(r))a=e,i=r;else if(Ce&&r instanceof je||r instanceof ze||Jr(r))a=e,s=n,i=ct(r,s);else if(!r&&typeof r!="string")a=e,i=ct(new ze,s);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=Ua(e);if(A.kind==="AccountConnString")if(Ce){let u=new je(A.accountName,A.accountKey);a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l)),s.proxyOptions||(s.proxyOptions=Bo(A.proxyUri)),i=ct(u,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,i=ct(new ze,s);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(Ol(this.url,Si.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},It(e.customerProvidedKey,this.isHttps),q.withSpan("AppendBlobClient-create",e,async r=>Y(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:Po(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:b0};return q.withSpan("AppendBlobClient-createIfNotExists",e,async n=>{try{let s=Y(await this.create({...n,conditions:r}));return{succeeded:!0,...s,_response:s._response}}catch(s){if(s.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...s.response?.parsedHeaders,_response:s.response};throw s}})}async seal(e={}){return e.conditions=e.conditions||{},q.withSpan("AppendBlobClient-seal",e,async r=>Y(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async appendBlock(e,r,n={}){return n.conditions=n.conditions||{},It(n.customerProvidedKey,this.isHttps),q.withSpan("AppendBlobClient-appendBlock",n,async s=>Y(await this.appendBlobContext.appendBlock(r,e,{abortSignal:n.abortSignal,appendPositionAccessConditions:n.conditions,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:s.tracingOptions})))}async appendBlockFromURL(e,r,n,s={}){return s.conditions=s.conditions||{},s.sourceConditions=s.sourceConditions||{},It(s.customerProvidedKey,this.isHttps),q.withSpan("AppendBlobClient-appendBlockFromURL",s,async i=>Y(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:s.abortSignal,sourceRange:Qr({offset:r,count:n}),sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,leaseAccessConditions:s.conditions,appendPositionAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:s.sourceConditions?.ifMatch,sourceIfModifiedSince:s.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:s.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:s.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:ql(s.sourceAuthorization),cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:i.tracingOptions})))}},Yl=class t extends Li{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,n,s){let i,a;if(s=s||{},Ri(r))a=e,i=r;else if(Ce&&r instanceof je||r instanceof ze||Jr(r))a=e,s=n,i=ct(r,s);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(s=n),i=ct(new ze,s);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=Ua(e);if(A.kind==="AccountConnString")if(Ce){let u=new je(A.accountName,A.accountKey);a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l)),s.proxyOptions||(s.proxyOptions=Bo(A.proxyUri)),i=ct(u,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,i=ct(new ze,s);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(Ol(this.url,Si.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(It(r.customerProvidedKey,this.isHttps),!Ce)throw new Error("This operation currently is only supported in Node.js.");return q.withSpan("BlockBlobClient-query",r,async n=>{let s=Y(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:MR(r.inputTextConfiguration),outputSerialization:MR(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions}));return new Uy(s,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,n={}){return n.conditions=n.conditions||{},It(n.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-upload",n,async s=>Y(await this.blockBlobContext.upload(r,e,{abortSignal:n.abortSignal,blobHttpHeaders:n.blobHTTPHeaders,leaseAccessConditions:n.conditions,metadata:n.metadata,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,immutabilityPolicyExpiry:n.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:n.immutabilityPolicy?.policyMode,legalHold:n.legalHold,tier:vo(n.tier),blobTagsString:Po(n.tags),tracingOptions:s.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},It(r.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-syncUploadFromURL",r,async n=>Y(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:ql(r.sourceAuthorization),tier:vo(r.tier),blobTagsString:Po(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async stageBlock(e,r,n,s={}){return It(s.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-stageBlock",s,async i=>Y(await this.blockBlobContext.stageBlock(e,n,r,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,requestOptions:{onUploadProgress:s.onProgress},transactionalContentMD5:s.transactionalContentMD5,transactionalContentCrc64:s.transactionalContentCrc64,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,tracingOptions:i.tracingOptions})))}async stageBlockFromURL(e,r,n=0,s,i={}){return It(i.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-stageBlockFromURL",i,async a=>Y(await this.blockBlobContext.stageBlockFromURL(e,0,r,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,sourceRange:n===0&&!s?void 0:Qr({offset:n,count:s}),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:ql(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},It(r.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-commitBlockList",r,async n=>Y(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:vo(r.tier),blobTagsString:Po(r.tags),tracingOptions:n.tracingOptions})))}async getBlockList(e,r={}){return q.withSpan("BlockBlobClient-getBlockList",r,async n=>{let s=Y(await this.blockBlobContext.getBlockList(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return s.committedBlocks||(s.committedBlocks=[]),s.uncommittedBlocks||(s.uncommittedBlocks=[]),s})}async uploadData(e,r={}){return q.withSpan("BlockBlobClient-uploadData",r,async n=>{if(Ce){let s;return e instanceof Buffer?s=e:e instanceof ArrayBuffer?s=Buffer.from(e):(e=e,s=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),this.uploadSeekableInternal((i,a)=>s.slice(i,i+a),s.byteLength,n)}else{let s=new Blob([e]);return this.uploadSeekableInternal((i,a)=>s.slice(i,i+a),s.size,n)}})}async uploadBrowserData(e,r={}){return q.withSpan("BlockBlobClient-uploadBrowserData",r,async n=>{let s=new Blob([e]);return this.uploadSeekableInternal((i,a)=>s.slice(i,i+a),s.size,n)})}async uploadSeekableInternal(e,r,n={}){let s=n.blockSize??0;if(s<0||s>4194304e3)throw new RangeError(`blockSize option must be >= 0 and <= ${4194304e3}`);let i=n.maxSingleShotSize??268435456;if(i<0||i>268435456)throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${268435456}`);if(s===0){if(r>4194304e3*5e4)throw new RangeError(`${r} is too larger to upload to a block blob.`);r>i&&(s=Math.ceil(r/5e4),s<4194304&&(s=4194304))}return n.blobHTTPHeaders||(n.blobHTTPHeaders={}),n.conditions||(n.conditions={}),q.withSpan("BlockBlobClient-uploadSeekableInternal",n,async a=>{if(r<=i)return Y(await this.upload(e(0,r),r,a));let c=Math.floor((r-1)/s)+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=[],A=wl(),u=0,d=new sm(n.concurrency);for(let m=0;m{let p=DR(A,m),h=s*m,C=(m===c-1?r:h+s)-h;l.push(p),await this.stageBlock(p,e(h,C),C,{abortSignal:n.abortSignal,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:a.tracingOptions}),u+=C,n.onProgress&&n.onProgress({loadedBytes:u})});return await d.do(),this.commitBlockList(l,a)})}async uploadFile(e,r={}){return q.withSpan("BlockBlobClient-uploadFile",r,async n=>{let s=(await M4(e)).size;return this.uploadSeekableInternal((i,a)=>()=>L4(e,{autoClose:!0,end:a?i+a-1:1/0,start:i}),s,{...r,tracingOptions:n.tracingOptions})})}async uploadStream(e,r=8388608,n=5,s={}){return s.blobHTTPHeaders||(s.blobHTTPHeaders={}),s.conditions||(s.conditions={}),q.withSpan("BlockBlobClient-uploadStream",s,async i=>{let a=0,c=wl(),l=0,A=[];return await new Hg(e,r,n,async(d,m)=>{let p=DR(c,a);A.push(p),a++,await this.stageBlock(p,d,m,{customerProvidedKey:s.customerProvidedKey,conditions:s.conditions,encryptionScope:s.encryptionScope,tracingOptions:i.tracingOptions}),l+=m,s.onProgress&&s.onProgress({loadedBytes:l})},Math.ceil(n/4*3)).do(),Y(await this.commitBlockList(A,{...s,tracingOptions:i.tracingOptions}))})}},eE=class t extends Li{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,n,s){let i,a;if(s=s||{},Ri(r))a=e,i=r;else if(Ce&&r instanceof je||r instanceof ze||Jr(r))a=e,s=n,i=ct(r,s);else if(!r&&typeof r!="string")a=e,i=ct(new ze,s);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=Ua(e);if(A.kind==="AccountConnString")if(Ce){let u=new je(A.accountName,A.accountKey);a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l)),s.proxyOptions||(s.proxyOptions=Bo(A.proxyUri)),i=ct(u,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=Ct(Ct(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,i=ct(new ze,s);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(Ol(this.url,Si.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},It(r.customerProvidedKey,this.isHttps),q.withSpan("PageBlobClient-create",r,async n=>Y(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:vo(r.tier),blobTagsString:Po(r.tags),tracingOptions:n.tracingOptions})))}async createIfNotExists(e,r={}){return q.withSpan("PageBlobClient-createIfNotExists",r,async n=>{try{let s={ifNoneMatch:b0},i=Y(await this.create(e,{...r,conditions:s,tracingOptions:n.tracingOptions}));return{succeeded:!0,...i,_response:i._response}}catch(s){if(s.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...s.response?.parsedHeaders,_response:s.response};throw s}})}async uploadPages(e,r,n,s={}){return s.conditions=s.conditions||{},It(s.customerProvidedKey,this.isHttps),q.withSpan("PageBlobClient-uploadPages",s,async i=>Y(await this.pageBlobContext.uploadPages(n,e,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},requestOptions:{onUploadProgress:s.onProgress},range:Qr({offset:r,count:n}),sequenceNumberAccessConditions:s.conditions,transactionalContentMD5:s.transactionalContentMD5,transactionalContentCrc64:s.transactionalContentCrc64,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,tracingOptions:i.tracingOptions})))}async uploadPagesFromURL(e,r,n,s,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},It(i.customerProvidedKey,this.isHttps),q.withSpan("PageBlobClient-uploadPagesFromURL",i,async a=>Y(await this.pageBlobContext.uploadPagesFromURL(e,Qr({offset:r,count:s}),0,Qr({offset:n,count:s}),{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:ql(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async clearPages(e=0,r,n={}){return n.conditions=n.conditions||{},q.withSpan("PageBlobClient-clearPages",n,async s=>Y(await this.pageBlobContext.clearPages(0,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:Qr({offset:e,count:r}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:s.tracingOptions})))}async getPageRanges(e=0,r,n={}){return n.conditions=n.conditions||{},q.withSpan("PageBlobClient-getPageRanges",n,async s=>{let i=Y(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:Qr({offset:e,count:r}),tracingOptions:s.tracingOptions}));return Oy(i)})}async listPageRangesSegment(e=0,r,n,s={}){return q.withSpan("PageBlobClient-getPageRangesSegment",s,async i=>Y(await this.pageBlobContext.getPageRanges({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},range:Qr({offset:e,count:r}),marker:n,maxPageSize:s.maxPageSize,tracingOptions:i.tracingOptions})))}async*listPageRangeItemSegments(e=0,r,n,s={}){let i;if(n||n===void 0)do i=await this.listPageRangesSegment(e,r,n,s),n=i.continuationToken,yield await i;while(n)}async*listPageRangeItems(e=0,r,n={}){let s;for await(let i of this.listPageRangeItemSegments(e,r,s,n))yield*LR(i)}listPageRanges(e=0,r,n={}){n.conditions=n.conditions||{};let s=this.listPageRangeItems(e,r,n);return{next(){return s.next()},[Symbol.asyncIterator](){return this},byPage:o((i={})=>this.listPageRangeItemSegments(e,r,i.continuationToken,{maxPageSize:i.maxPageSize,...n}),"byPage")}}async getPageRangesDiff(e,r,n,s={}){return s.conditions=s.conditions||{},q.withSpan("PageBlobClient-getPageRangesDiff",s,async i=>{let a=Y(await this.pageBlobContext.getPageRangesDiff({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},prevsnapshot:n,range:Qr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return Oy(a)})}async listPageRangesDiffSegment(e,r,n,s,i={}){return q.withSpan("PageBlobClient-getPageRangesDiffSegment",i,async a=>Y(await this.pageBlobContext.getPageRangesDiff({abortSignal:i?.abortSignal,leaseAccessConditions:i?.conditions,modifiedAccessConditions:{...i?.conditions,ifTags:i?.conditions?.tagConditions},prevsnapshot:n,range:Qr({offset:e,count:r}),marker:s,maxPageSize:i?.maxPageSize,tracingOptions:a.tracingOptions})))}async*listPageRangeDiffItemSegments(e,r,n,s,i){let a;if(s||s===void 0)do a=await this.listPageRangesDiffSegment(e,r,n,s,i),s=a.continuationToken,yield await a;while(s)}async*listPageRangeDiffItems(e,r,n,s){let i;for await(let a of this.listPageRangeDiffItemSegments(e,r,n,i,s))yield*LR(a)}listPageRangesDiff(e,r,n,s={}){s.conditions=s.conditions||{};let i=this.listPageRangeDiffItems(e,r,n,{...s});return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:o((a={})=>this.listPageRangeDiffItemSegments(e,r,n,a.continuationToken,{maxPageSize:a.maxPageSize,...s}),"byPage")}}async getPageRangesDiffForManagedDisks(e,r,n,s={}){return s.conditions=s.conditions||{},q.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",s,async i=>{let a=Y(await this.pageBlobContext.getPageRangesDiff({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},prevSnapshotUrl:n,range:Qr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return Oy(a)})}async resize(e,r={}){return r.conditions=r.conditions||{},q.withSpan("PageBlobClient-resize",r,async n=>Y(await this.pageBlobContext.resize(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async updateSequenceNumber(e,r,n={}){return n.conditions=n.conditions||{},q.withSpan("PageBlobClient-updateSequenceNumber",n,async s=>Y(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:n.abortSignal,blobSequenceNumber:r,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},tracingOptions:s.tracingOptions})))}async startCopyIncremental(e,r={}){return q.withSpan("PageBlobClient-startCopyIncremental",r,async n=>Y(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}};var _4;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(_4||(_4={}));var F4;(function(t){t.AES256="AES256"})(F4||(F4={}));var tE=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};var Vl=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"}};Vl.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var Ya=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"}};Ya.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var im=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var QIe=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},fP=class{static{o(this,"UploadProgress")}constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,r=(100*(e/this.contentLength)).toFixed(1),n=Date.now()-this.startTime,s=(e/(1024*1024)/(n/1e3)).toFixed(1);le(`Sent ${e} of ${this.contentLength} (${r}%), ${s} 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 U4(t,e,r){return QIe(this,void 0,void 0,function*(){var n;let s=new Li(t),i=s.getBlockBlobClient(),a=new fP((n=r?.archiveSizeBytes)!==null&&n!==void 0?n:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),b(`BlobClient: ${s.name}:${s.accountName}:${s.containerName}`);let l=yield i.uploadFile(e,c);if(l._response.status>=400)throw new tE(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw ht(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(U4,"uploadCacheArchiveSDK");var q4=Q(require("buffer"),1),Ws=Q(require("fs"),1),H4=Q(require("stream"),1),z4=Q(require("util"),1);var rE=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function nE(t){return t?t>=200&&t<300:!1}o(nE,"isSuccessStatusCode");function xIe(t){return t?t>=500:!0}o(xIe,"isServerErrorStatusCode");function bIe(t){return t?[$e.BadGateway,$e.ServiceUnavailable,$e.GatewayTimeout].includes(t):!1}o(bIe,"isRetryableStatusCode");function wIe(t){return rE(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(wIe,"sleep");function O4(t,e,r){return rE(this,arguments,void 0,function*(n,s,i,a=wf,c=Nf,l=void 0){let A="",u=1;for(;u<=a;){let d,m,p=!1;try{d=yield s()}catch(h){l&&(d=l(h)),p=!0,A=h.message}if(d&&(m=i(d),!xIe(m)))return d;if(m&&(p=bIe(m),A=`Cache service responded with ${m}`),b(`${n} - Attempt ${u} of ${a} failed with error: ${A}`),!p){b(`${n} - Error is not retryable`);break}yield wIe(c),u++}throw Error(`${n} failed: ${A}`)})}o(O4,"retry");function om(t,e){return rE(this,arguments,void 0,function*(r,n,s=wf,i=Nf){return yield O4(r,n,a=>a.statusCode,s,i,a=>{if(a instanceof Cs)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(om,"retryTypedResponse");function Jl(t,e){return rE(this,arguments,void 0,function*(r,n,s=wf,i=Nf){return yield O4(r,n,a=>a.message.statusCode,s,i)})}o(Jl,"retryHttpClientResponse");var bn=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function NIe(t,e){return bn(this,void 0,void 0,function*(){yield z4.promisify(H4.pipeline)(t.message,e)})}o(NIe,"pipeResponseToStream");var sE=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),n=Date.now()-this.startTime,s=(e/(1024*1024)/(n/1e3)).toFixed(1);le(`Received ${e} of ${this.contentLength} (${r}%), ${s} 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 iE(t,e){return bn(this,void 0,void 0,function*(){let r=Ws.createWriteStream(e),n=new Qi("actions/cache"),s=yield Jl("downloadCache",()=>bn(this,void 0,void 0,function*(){return n.get(t)}));s.message.socket.setTimeout(Ob,()=>{s.message.destroy(),b(`Aborting download, socket timed out after ${Ob} ms`)}),yield NIe(s,r);let i=s.message.headers["content-length"];if(i){let a=parseInt(i),c=Es(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(iE,"downloadCacheHttpClient");function G4(t,e,r){return bn(this,void 0,void 0,function*(){var n;let s=yield Ws.promises.open(e,"w"),i=new Qi("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield Jl("downloadCacheMetadata",()=>bn(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 A=[],u=4*1024*1024;for(let E=0;Ebn(this,void 0,void 0,function*(){return yield SIe(i,t,E,I)}),"promiseGetter")})}A.reverse();let d=0,m=0,p=new sE(l);p.startDisplayTimer();let h=p.onProgress(),f=[],C,y=o(()=>bn(this,void 0,void 0,function*(){let E=yield Promise.race(Object.values(f));yield s.write(E.buffer,0,E.count,E.offset),d--,delete f[E.offset],m+=E.count,h({loadedBytes:m})}),"waitAndWrite");for(;C=A.pop();)f[C.offset]=C.promiseGetter(),d++,d>=((n=r.downloadConcurrency)!==null&&n!==void 0?n:10)&&(yield y());for(;d>0;)yield y()}finally{i.dispose(),yield s.close()}})}o(G4,"downloadCacheHttpClientConcurrent");function SIe(t,e,r,n){return bn(this,void 0,void 0,function*(){let i=0;for(;;)try{let c=yield V4(3e4,RIe(t,e,r,n));if(typeof c=="string")throw new Error("downloadSegmentRetry failed due to timeout");return c}catch(a){if(i>=5)throw a;i++}})}o(SIe,"downloadSegmentRetry");function RIe(t,e,r,n){return bn(this,void 0,void 0,function*(){let s=yield Jl("downloadCachePart",()=>bn(this,void 0,void 0,function*(){return yield t.get(e,{Range:`bytes=${r}-${r+n-1}`})}));if(!s.readBodyBuffer)throw new Error("Expected HttpClientResponse to implement readBodyBuffer");return{offset:r,count:n,buffer:yield s.readBodyBuffer()}})}o(RIe,"downloadSegment");function Y4(t,e,r){return bn(this,void 0,void 0,function*(){var n;let s=new Yl(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),a=(n=(yield s.getProperties()).contentLength)!==null&&n!==void 0?n:-1;if(a<0)b("Unable to determine content length, downloading file with http-client..."),yield iE(t,e);else{let c=Math.min(134217728,q4.constants.MAX_LENGTH),l=new sE(a),A=Ws.openSync(e,"w");try{l.startDisplayTimer();let u=new AbortController,d=u.signal;for(;!l.isDone();){let m=l.segmentOffset+l.segmentSize,p=Math.min(c,a-m);l.nextSegment(p);let h=yield V4(r.segmentTimeoutInMs||36e5,s.downloadToBuffer(m,p,{abortSignal:d,concurrency:r.downloadConcurrency,onProgress:l.onProgress()}));if(h==="timeout")throw u.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(h)&&Ws.writeFileSync(A,h)}}finally{l.stopDisplayTimer(),Ws.closeSync(A)}}})}o(Y4,"downloadCacheStorageSDK");var V4=o((t,e)=>bn(void 0,void 0,void 0,function*(){let r,n=new Promise(s=>{r=setTimeout(()=>s("timeout"),t)});return Promise.race([e,n]).then(s=>(clearTimeout(r),s))}),"promiseWithTimeout");function gP(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(gP,"getUploadOptions");function J4(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(J4,"getDownloadOptions");function yP(){let e=new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.trimEnd().toUpperCase(),r=e==="GITHUB.COM",n=e.endsWith(".GHE.COM"),s=e.endsWith(".LOCALHOST");return!r&&!n&&!s}o(yP,"isGhes");function am(){return yP()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(am,"getCacheServiceVersion");var W4=["none","read","write","write-only"];function EP(){return(process.env.ACTIONS_CACHE_MODE||"").trim().toLowerCase()}o(EP,"getCacheMode");function $4(t){return W4.includes(t)?t==="read"||t==="write":!0}o($4,"isCacheReadable");function j4(t){return W4.includes(t)?t==="write"||t==="write-only":!0}o(j4,"isCacheWritable");function oE(){let t=am();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(oE,"getCacheServiceURL");var eW=Q(Z4(),1);function aE(){return`@actions/cache-${eW.version}`}o(aE,"getUserAgentString");var xr=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function cm(t){let e=oE();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(cm,"getCacheApiUrl");function DIe(t,e){return`${t};api-version=${e}`}o(DIe,"createAcceptHeader");function kIe(){return{headers:{Accept:DIe("application/json","6.0-preview.1")}}}o(kIe,"getRequestOptions");function CP(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new yl(t);return new Qi(aE(),[e],kIe())}o(CP,"createHttpClient");function nW(t,e,r){return xr(this,void 0,void 0,function*(){var n;let s=CP(),i=gl(e,r?.compressionMethod,r?.enableCrossOsArchive),a=`cache?keys=${encodeURIComponent(t.join(","))}&version=${i}`,c=yield om("getCacheEntry",()=>xr(this,void 0,void 0,function*(){return s.getJson(cm(a))}));if(c.statusCode===204)return pa()&&(yield TIe(t[0],s,i)),null;if(!nE(c.statusCode)){let u=(n=c.error)===null||n===void 0?void 0:n.message;throw u?.includes(Sf)?new Error(u):new Error(`Cache service responded with ${c.statusCode}`)}let l=c.result,A=l?.archiveLocation;if(!A)throw new Error("Cache not found.");return sl(A),b("Cache Result:"),b(JSON.stringify(l)),l})}o(nW,"getCacheEntry");function TIe(t,e,r){return xr(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,s=yield om("listCache",()=>xr(this,void 0,void 0,function*(){return e.getJson(cm(n))}));if(s.statusCode===200){let i=s.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(TIe,"printCachesListForDiagnostics");function IP(t,e,r){return xr(this,void 0,void 0,function*(){let n=new rW.URL(t),s=J4(r);n.hostname.endsWith(".blob.core.windows.net")?s.useAzureSdk?yield Y4(t,e,s):s.concurrentBlobDownloads?yield G4(t,e,s):yield iE(t,e):yield iE(t,e)})}o(IP,"downloadCache");function sW(t,e,r){return xr(this,void 0,void 0,function*(){let n=CP(),s=gl(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:s,cacheSize:r?.cacheSize};return yield om("reserveCache",()=>xr(this,void 0,void 0,function*(){return n.postJson(cm("caches"),i)}))})}o(sW,"reserveCache");function tW(t,e){return`bytes ${t}-${e}/*`}o(tW,"getContentRange");function MIe(t,e,r,n,s){return xr(this,void 0,void 0,function*(){b(`Uploading chunk of size ${s-n+1} bytes at offset ${n} with content range: ${tW(n,s)}`);let i={"Content-Type":"application/octet-stream","Content-Range":tW(n,s)},a=yield Jl(`uploadChunk (start: ${n}, end: ${s})`,()=>xr(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!nE(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(MIe,"uploadChunk");function LIe(t,e,r,n){return xr(this,void 0,void 0,function*(){let s=Es(r),i=cm(`caches/${e.toString()}`),a=Wl.openSync(r,"r"),c=gP(n),l=Gb("uploadConcurrency",c.uploadConcurrency),A=Gb("uploadChunkSize",c.uploadChunkSize),u=[...new Array(l).keys()];b("Awaiting all uploads");let d=0;try{yield Promise.all(u.map(()=>xr(this,void 0,void 0,function*(){for(;dWl.createReadStream(r,{fd:a,start:p,end:h,autoClose:!1}).on("error",f=>{throw new Error(`Cache upload failed because file read failed with ${f.message}`)}),p,h)}})))}finally{Wl.closeSync(a)}})}o(LIe,"uploadFile");function _Ie(t,e,r){return xr(this,void 0,void 0,function*(){let n={size:r};return yield om("commitCache",()=>xr(this,void 0,void 0,function*(){return t.postJson(cm(`caches/${e.toString()}`),n)}))})}o(_Ie,"commitCache");function BP(t,e,r,n){return xr(this,void 0,void 0,function*(){if(gP(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield U4(r,e,n)}else{let i=CP();b("Upload cache"),yield LIe(i,t,e,n),b("Commiting cache");let a=Es(e);le(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield _Ie(i,t,a);if(!nE(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);le("Cache saved successfully")}})}o(BP,"saveCache");var XW=Q(YW(),1),ut=Q(At(),1),Xr=Q(At(),1),ja=Q(At(),1),Ka=Q(At(),1),Xa=Q(At(),1);var fv=Q(At(),1),gv=Q(At(),1),$W=Q(At(),1),jW=Q(At(),1),KW=Q(At(),1);var mv=Q(At(),1),pv=Q(At(),1),VW=Q(At(),1),JW=Q(At(),1),WW=Q(At(),1);var hv=class extends WW.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,JW.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,VW.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.posVE,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,jW.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,$W.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.posZs,"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,Ka.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,ja.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.posZs,"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,Ka.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,ja.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.posZs,"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,Ka.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,ja.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.poswv.fromJson(s,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=Nv.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(s=>Sv.fromJson(s,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=Rv.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(s=>Pv.fromJson(s,{ignoreUnknownFields:!0}))}};function ZW(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(sl(r),sl(encodeURIComponent(r)))}catch(e){b(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(ZW,"maskSigUrl");function e8(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"&&ZW(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&ZW(t.signed_download_url)}o(e8,"maskSecretUrls");var WE=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},vv=class{static{o(this,"CacheServiceClient")}constructor(e,r,n,s){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let i=xG();this.baseUrl=oE(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),s&&(this.retryMultiplier=s),this.httpClient=new Qi(e,[new yl(i)])}request(e,r,n,s){return WE(this,void 0,void 0,function*(){let i=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;b(`[Request] ${r} ${i}`);let a={"Content-Type":n};try{let{body:c}=yield this.retryableRequest(()=>WE(this,void 0,void 0,function*(){return this.httpClient.post(i,JSON.stringify(s),a)}));return c}catch(c){throw new Error(`Failed to ${r}: ${c.message}`)}})}retryableRequest(e){return WE(this,void 0,void 0,function*(){let r=0,n="",s="";for(;r0&&ht(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}throw new im(`Rate limited: ${n}`)}}catch(c){if(c instanceof SyntaxError&&b(`Raw Body: ${s}`),c instanceof Ya||c instanceof im)throw c;if(Vl.isNetworkErrorCode(c?.code))throw new Vl(c?.code);i=!0,n=c.message}if(!i)throw new Error(`Received non-retryable error: ${n}`);if(r+1===this.maxAttempts)throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${n}`);let a=this.getExponentialRetryTimeMilliseconds(r);le(`Attempt ${r+1} of ${this.maxAttempts} failed with error: ${n}. Retrying request in ${a} ms...`),yield this.sleep(a),r++}throw new Error("Request failed")})}isSuccessStatusCode(e){return e?e>=200&&e<300:!1}isRetryableHttpStatusCode(e){return e?[$e.BadGateway,$e.GatewayTimeout,$e.InternalServerError,$e.ServiceUnavailable].includes(e):!1}sleep(e){return WE(this,void 0,void 0,function*(){return new Promise(r=>setTimeout(r,e))})}getExponentialRetryTimeMilliseconds(e){if(e<0)throw new Error("attempt should be a positive integer");if(e===0)return this.baseRetryIntervalMilliseconds;let r=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,e),n=r*this.retryMultiplier;return Math.trunc(Math.random()*(n-r)+r)}};function Dv(t){let e=new vv(aE(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new JE(e)}o(Dv,"internalCacheTwirpClient");var $E=require("fs"),Zr=Q(require("path"),1);var Fi=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},Mo=process.platform==="win32";function JQe(){return Fi(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield QG(),e=EG;if(t)return{path:t,type:qr.GNU};if((0,$E.existsSync)(e))return{path:e,type:qr.BSD};break}case"darwin":{let t=yield mr("gtar",!1);return t?{path:t,type:qr.GNU}:{path:yield mr("tar",!0),type:qr.BSD}}default:break}return{path:yield mr("tar",!0),type:qr.GNU}})}o(JQe,"getTarPath");function WQe(t,e,r){return Fi(this,arguments,void 0,function*(n,s,i,a=""){let c=[`"${n.path}"`],l=yo(s),A="cache.tar",u=t8(),d=n.type===qr.BSD&&s!==er.Gzip&&Mo;switch(i){case"create":c.push("--posix","-cf",d?A:l.replace(new RegExp(`\\${Zr.sep}`,"g"),"/"),"--exclude",d?A:l.replace(new RegExp(`\\${Zr.sep}`,"g"),"/"),"-P","-C",u.replace(new RegExp(`\\${Zr.sep}`,"g"),"/"),"--files-from",Hb);break;case"extract":c.push("-xf",d?A:a.replace(new RegExp(`\\${Zr.sep}`,"g"),"/"),"-P","-C",u.replace(new RegExp(`\\${Zr.sep}`,"g"),"/"));break;case"list":c.push("-tf",d?A:a.replace(new RegExp(`\\${Zr.sep}`,"g"),"/"),"-P");break}if(n.type===qr.GNU)switch(process.platform){case"win32":c.push("--force-local");break;case"darwin":c.push("--delay-directory-restore");break}return c})}o(WQe,"getTarArgs");function kv(t,e){return Fi(this,arguments,void 0,function*(r,n,s=""){let i,a=yield JQe(),c=yield WQe(a,r,n,s),l=n!=="create"?yield $Qe(a,r,s):yield jQe(a,r),A=a.type===qr.BSD&&r!==er.Gzip&&Mo;return A&&n!=="create"?i=[[...l].join(" "),[...c].join(" ")]:i=[[...c].join(" "),[...l].join(" ")],A?i:[i.join(" ")]})}o(kv,"getCommands");function t8(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}o(t8,"getWorkingDirectory");function $Qe(t,e,r){return Fi(this,void 0,void 0,function*(){let n=t.type===qr.BSD&&e!==er.Gzip&&Mo;switch(e){case er.Zstd:return n?["zstd -d --long=30 --force -o",nd,r.replace(new RegExp(`\\${Zr.sep}`,"g"),"/")]:["--use-compress-program",Mo?'"zstd -d --long=30"':"unzstd --long=30"];case er.ZstdWithoutLong:return n?["zstd -d --force -o",nd,r.replace(new RegExp(`\\${Zr.sep}`,"g"),"/")]:["--use-compress-program",Mo?'"zstd -d"':"unzstd"];default:return["-z"]}})}o($Qe,"getDecompressionProgram");function jQe(t,e){return Fi(this,void 0,void 0,function*(){let r=yo(e),n=t.type===qr.BSD&&e!==er.Gzip&&Mo;switch(e){case er.Zstd:return n?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${Zr.sep}`,"g"),"/"),nd]:["--use-compress-program",Mo?'"zstd -T0 --long=30"':"zstdmt --long=30"];case er.ZstdWithoutLong:return n?["zstd -T0 --force -o",r.replace(new RegExp(`\\${Zr.sep}`,"g"),"/"),nd]:["--use-compress-program",Mo?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(jQe,"getCompressionProgram");function Tv(t,e){return Fi(this,void 0,void 0,function*(){for(let r of t)try{yield Ao(r,void 0,{cwd:e,env:Object.assign(Object.assign({},process.env),{MSYS:"winsymlinks:nativestrict"})})}catch(n){throw new Error(`${r.split(" ")[0]} failed with error: ${n?.message}`)}})}o(Tv,"execCommands");function Qm(t,e){return Fi(this,void 0,void 0,function*(){let r=yield kv(e,"list",t);yield Tv(r)})}o(Qm,"listTar");function Mv(t,e){return Fi(this,void 0,void 0,function*(){let r=t8();yield ma(r);let n=yield kv(e,"extract",t);yield Tv(n)})}o(Mv,"extractTar");function Lv(t,e,r){return Fi(this,void 0,void 0,function*(){(0,$E.writeFileSync)(Zr.join(t,Hb),e.join(` +`));let n=yield kv(r,"create");yield Tv(n,t)})}o(Lv,"createTar");var AA=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},Zn=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},Za=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},_v="cache write denied:",jE=class t extends Za{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},r8=Sf,KE=class t extends Error{static{o(this,"CacheReadDeniedError")}constructor(e){super(e),this.name="CacheReadDeniedError",Object.setPrototypeOf(this,t.prototype)}},XE=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function n8(t){if(!t||t.length===0)throw new Zn("Path Validation Error: At least one directory or file path is required")}o(n8,"checkPaths");function Fv(t){if(t.length>512)throw new Zn(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Zn(`Key Validation Error: ${t} cannot contain commas.`)}o(Fv,"checkKey");function Uv(){return am()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(Uv,"isFeatureAvailable");function s8(t,e,r,n){return AA(this,arguments,void 0,function*(s,i,a,c,l=!1){let A=am();b(`Cache service version: ${A}`),n8(s);let u=EP();if(!$4(u)){le(`Cache restore skipped: the effective cache-mode '${u}' does not permit reads.`),b(`Skipped restore for paths [${s.join(", ")}] with primary key '${i}'.`);return}return A==="v2"?yield XQe(s,i,a,c,l):yield KQe(s,i,a,c,l)})}o(s8,"restoreCache");function KQe(t,e,r,n){return AA(this,arguments,void 0,function*(s,i,a,c,l=!1){var A;a=a||[];let u=[i,...a];if(b("Resolved Keys:"),b(JSON.stringify(u)),u.length>10)throw new Zn("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of u)Fv(p);let d=yield od(),m="";try{let p;try{p=yield nW(u,s,{compressionMethod:d,enableCrossOsArchive:l})}catch(f){let C=(A=f?.message)!==null&&A!==void 0?A:"";throw C.includes(r8)?new KE(C):f}if(!p?.archiveLocation)return;if(c?.lookupOnly)return le("Lookup only - skipping download"),p.cacheKey;m=xm.join(yield sd(),yo(d)),b(`Archive Path: ${m}`),yield IP(p.archiveLocation,m,c),pa()&&(yield Qm(m,d));let h=Es(m);return le(`Cache Size: ~${Math.round(h/(1024*1024))} MB (${h} B)`),yield Mv(m,d),le("Cache restored successfully"),p.cacheKey}catch(p){let h=p;if(h.name===Zn.name)throw p;h instanceof Cs&&typeof h.statusCode=="number"&&h.statusCode>=500?cl(`Failed to restore: ${p.message}`):ht(`Failed to restore: ${p.message}`)}finally{try{yield id(m)}catch(p){b(`Failed to delete archive: ${p}`)}}})}o(KQe,"restoreCacheV1");function XQe(t,e,r,n){return AA(this,arguments,void 0,function*(s,i,a,c,l=!1){var A;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 Zn("Key Validation Error: Keys are limited to a maximum of 10.");for(let m of u)Fv(m);let d="";try{let m=Dv(),p=yield od(),h={key:i,restoreKeys:a,version:gl(s,p,l)},f;try{f=yield m.GetCacheEntryDownloadURL(h)}catch(E){let I=(A=E?.message)!==null&&A!==void 0?A:"";throw I.includes(r8)?new KE(I):E}if(!f.ok){b(`Cache not found for version ${h.version} of keys: ${u.join(", ")}`);return}if(h.key!==f.matchedKey?le(`Cache hit for restore-key: ${f.matchedKey}`):le(`Cache hit for: ${f.matchedKey}`),c?.lookupOnly)return le("Lookup only - skipping download"),f.matchedKey;d=xm.join(yield sd(),yo(p)),b(`Archive path: ${d}`),b(`Starting download of archive to: ${d}`),yield IP(f.signedDownloadUrl,d,c);let y=Es(d);return le(`Cache Size: ~${Math.round(y/(1024*1024))} MB (${y} B)`),pa()&&(yield Qm(d,p)),yield Mv(d,p),le("Cache restored successfully"),f.matchedKey}catch(m){let p=m;if(p.name===Zn.name)throw m;p instanceof Cs&&typeof p.statusCode=="number"&&p.statusCode>=500?cl(`Failed to restore: ${m.message}`):ht(`Failed to restore: ${m.message}`)}finally{try{d&&(yield id(d))}catch(m){b(`Failed to delete archive: ${m}`)}}})}o(XQe,"restoreCacheV2");function Ov(t,e,r){return AA(this,arguments,void 0,function*(n,s,i,a=!1){let c=am();b(`Cache service version: ${c}`),n8(n),Fv(s);let l=EP();return j4(l)?c==="v2"?yield exe(n,s,i,a):yield ZQe(n,s,i,a):(le(`Cache save skipped: the effective cache-mode '${l}' does not permit writes.`),b(`Skipped save for paths [${n.join(", ")}] with key '${s}'.`),-1)})}o(Ov,"saveCache");function ZQe(t,e,r){return AA(this,arguments,void 0,function*(n,s,i,a=!1){var c,l,A,u,d,m;let p=yield od(),h=-1,f=yield zb(n);if(b("Cache Paths:"),b(`${JSON.stringify(f)}`),f.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let C=yield sd(),y=xm.join(C,yo(p));b(`Archive Path: ${y}`);try{yield Lv(C,f,p),pa()&&(yield Qm(y,p));let E=10*1024*1024*1024,I=Es(y);if(b(`File Size: ${I}`),I>E&&!yP())throw new Error(`Cache size of ~${Math.round(I/(1024*1024))} MB (${I} B) is over the 10GB limit, not saving cache.`);b("Reserving Cache");let B=yield sW(s,n,{compressionMethod:p,enableCrossOsArchive:a,cacheSize:I});if(!((c=B?.result)===null||c===void 0)&&c.cacheId)h=(l=B?.result)===null||l===void 0?void 0:l.cacheId;else{if(B?.statusCode===400)throw new Error((u=(A=B?.error)===null||A===void 0?void 0:A.message)!==null&&u!==void 0?u:`Cache size of ~${Math.round(I/(1024*1024))} MB (${I} B) is over the data cap limit, not saving cache.`);{let N=(d=B?.error)===null||d===void 0?void 0:d.message;throw N?.startsWith(_v)?new jE(`Unable to reserve cache with key ${s}. More details: ${N}`):new Za(`Unable to reserve cache with key ${s}, another job may be creating this cache. More details: ${(m=B?.error)===null||m===void 0?void 0:m.message}`)}}b(`Saving Cache (ID: ${h})`),yield BP(h,y,"",i)}catch(E){let I=E;if(I.name===Zn.name)throw E;I.name===Za.name?le(`Failed to save: ${I.message}`):I instanceof Cs&&typeof I.statusCode=="number"&&I.statusCode>=500?cl(`Failed to save: ${I.message}`):ht(`Failed to save: ${I.message}`)}finally{try{yield id(y)}catch(E){b(`Failed to delete archive: ${E}`)}}return h})}o(ZQe,"saveCacheV1");function exe(t,e,r){return AA(this,arguments,void 0,function*(n,s,i,a=!1){var c;i=Object.assign(Object.assign({},i),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let l=yield od(),A=Dv(),u=-1,d=yield zb(n);if(b("Cache Paths:"),b(`${JSON.stringify(d)}`),d.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let m=yield sd(),p=xm.join(m,yo(l));b(`Archive Path: ${p}`);try{yield Lv(m,d,l),pa()&&(yield Qm(p,l));let h=Es(p);b(`File Size: ${h}`),i.archiveSizeBytes=h,b("Reserving Cache");let f=gl(n,l,a),C={key:s,version:f},y;try{let B=yield A.CreateCacheEntry(C);if(!B.ok)throw B.message&&!B.message.startsWith(_v)&&ht(`Cache reservation failed: ${B.message}`),new Error(B.message||"Response was not ok");y=B.signedUploadUrl}catch(B){b(`Failed to reserve cache: ${B}`);let N=(c=B?.message)!==null&&c!==void 0?c:"";throw N.startsWith(_v)?new jE(`Unable to reserve cache with key ${s}. More details: ${N}`):new Za(`Unable to reserve cache with key ${s}, another job may be creating this cache.`)}b(`Attempting to upload cache located at: ${p}`),yield BP(u,p,y,i);let E={key:s,version:f,sizeBytes:`${h}`},I=yield A.FinalizeCacheEntryUpload(E);if(b(`FinalizeCacheEntryUploadResponse: ${I.ok}`),!I.ok)throw I.message?new XE(I.message):new Error(`Unable to finalize cache with key ${s}, another job may be finalizing this cache.`);u=parseInt(I.entryId)}catch(h){let f=h;if(f.name===Zn.name)throw h;f.name===Za.name?le(`Failed to save: ${f.message}`):f.name===XE.name?ht(f.message):f instanceof Cs&&typeof f.statusCode=="number"&&f.statusCode>=500?cl(`Failed to save: ${f.message}`):ht(`Failed to save: ${f.message}`)}finally{try{yield id(p)}catch(h){b(`Failed to delete archive: ${h}`)}}return u})}o(exe,"saveCacheV2");var i8=Q(require("util"),1);var uA=class t{static{o(this,"Cache")}opts;ghaCacheKey;ghaNoCache;cacheDir;cachePath;static POST_CACHE_KEY="postCache";constructor(e){this.opts=e,this.ghaCacheKey=i8.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform()),this.ghaNoCache=this.opts.ghaNoCache,this.cacheDir=Hv.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform()),this.cachePath=Hv.default.join(this.cacheDir,this.opts.cacheFile),bm.default.existsSync(this.cacheDir)||bm.default.mkdirSync(this.cacheDir,{recursive:!0})}async save(e,r){b(`Cache.save ${e}`);let n=this.copyToCache(e),s=await this.cacheToHostedToolCache();if(s&&b(`Cache.save cached to hosted tool cache ${s}`),!this.ghaNoCache&&Uv())if(r)try{b(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`),await Ov([this.cacheDir],this.ghaCacheKey)}catch(i){ht(`Failed to save cache: ${i}`)}else b(`Cache.save sending ${this.ghaCacheKey} to post state`),Jh(t.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}));return n}async find(){try{let e=$q(this.opts.htcName,this.opts.htcVersion,this.platform());if(e)return le(`Restored from hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`);if(!this.ghaNoCache&&Uv()){if(b("GitHub Actions cache feature available"),await s8([this.cacheDir],this.ghaCacheKey)){if(le(`Restored ${this.ghaCacheKey} from GitHub Actions cache`),!bm.default.existsSync(this.cachePath))return ht(`Cache file ${this.cachePath} does not exist`),"";let r=await this.cacheToHostedToolCache();return r&&le(`Cached to hosted tool cache ${r}`),this.cachePath}}else this.ghaNoCache?le("GitHub Actions cache disabled"):le("GitHub Actions cache feature not available")}catch(e){ht(`Failed to restore cache: ${e}`)}return""}static async post(){let e=jU(t.POST_CACHE_KEY);if(!e)return le("State not set"),Promise.resolve(void 0);let r;try{r=JSON.parse(e)}catch(n){throw new Error(`Failed to parse cache post state: ${n}`)}if(!r.dir||!r.key)throw new Error(`Invalid cache post state: ${e}`);try{le(`Caching ${r.key} to GitHub Actions cache`),await Ov([r.dir],r.key)}catch(n){ht(`Failed to save cache: ${n}`)}return r}copyToCache(e){return le(`Copying ${e} to ${this.cachePath}`),bm.default.copyFileSync(e,this.cachePath),this.cachePath}async cacheToHostedToolCache(){try{return await Wq(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform())}catch(e){le(`Failed to cache to hosted tool cache: ${e}`)}return""}platform(){let e=process.config.variables.arm_version;return`${qv.default.platform()}-${qv.default.arch()}${e?"v"+e:""}`}};var o8=!!process.env.STATE_isPost;o8||Jh("isPost","true");async function a8(t,e){if(o8)e&&await e(),await fs("Post cache",async()=>{await uA.post()});else try{await t()}catch(r){$U(r.message)}}o(a8,"run");var GD=Q(require("fs"),1),k5=Q(require("os"),1),zm=Q(require("path"),1),T5=Q(p8(),1);var Wv=Q(require("fs"),1),k8=Q(require("os"),1),T8=Q(require("path"),1),M8=Q(D8(),1);var tC=class t{static{o(this,"Context")}static _tmpDir=Wv.default.mkdtempSync(T8.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||k8.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return Wv.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return M8.tmpNameSync(e)}};var wm=class{static{o(this,"Exec")}static async exec(e,r,n){return b(`Exec.exec: ${e} ${r?.join(" ")}`),Ao(e,r,n)}static async getExecOutput(e,r,n){return b(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),Pu(e,r,n)}};var zD=Q(require("crypto"),1),v5=Q(require("fs"),1),Hm=Q(require("path"),1),D5=Q(b5(),1);var ue=class t extends Error{static{o(this,"CsvError")}constructor(e,r,n,...s){Array.isArray(r)&&(r=r.join(" ").trim()),super(r),Error.captureStackTrace!==void 0&&Error.captureStackTrace(this,t),this.code=e;for(let i of s)for(let a in i){let c=i[a];this[a]=Buffer.isBuffer(c)?c.toString(n.encoding):c==null?c:JSON.parse(JSON.stringify(c))}}};var qm=o(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var UC=o(function(t){let e=[];for(let r=0,n=t.length;r=this.size&&(this.resize(),r>=this.size))throw Error("INVALID_BUFFER_STATE");let n=this.buf;this.buf=Buffer.allocUnsafe(this.size),e.copy(this.buf,0),n.copy(this.buf,e.length),this.length+=e.length}else{let r=this.length++;r===this.size&&this.resize();let n=this.clone();this.buf[0]=e,n.copy(this.buf,1,0,r)}}append(e){let r=this.length++;r===this.size&&this.resize(),this.buf[r]=e}clone(){return Buffer.from(this.buf.slice(0,this.length))}resize(){let e=this.length;this.size=this.size*2;let r=Buffer.allocUnsafe(this.size);this.buf.copy(r,0,0,e),this.buf=r}toString(e){return e?this.buf.toString(e,0,this.length):Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}toJSON(){return this.toString("utf8")}reset(){this.length=0}},HD=qD;var w5=o(function(t){let e=[32,9,10,13,12,11,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288,65279].reduce((n,s)=>{let i=Buffer.from(String.fromCharCode(s),t.encoding);return s!==63&&i.length===1&&i[0]===63||n.push(i),n},[]),r=new Uint8Array(256);for(let n of e)r[n[0]]=1;return{bomSkipped:!1,bufBytesStart:0,castField:t.cast_function,commenting:!1,delimiterBufPrevious:void 0,delimiterDiscovered:!1,error:void 0,enabled:t.from_line===1,escaping:!1,escapeIsQuote:Buffer.isBuffer(t.escape)&&Buffer.isBuffer(t.quote)&&Buffer.compare(t.escape,t.quote)===0,expectedRecordLength:Array.isArray(t.columns)?t.columns.length:void 0,field:new HD(20),firstLineToHeaders:t.cast_first_line_to_header,needMoreDataSize:Math.max(t.comment!==null?t.comment.length:0,...t.delimiter?t.delimiter.map(n=>n.length):[],t.delimiter_auto?1:0,t.quote!==null?t.quote.length:0,...e.map(n=>n.length)),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new HD(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:t.record_delimiter.length===0?0:Math.max(...t.record_delimiter.map(n=>n.length)),trimChars:[Buffer.from(" ",t.encoding)[0],Buffer.from(" ",t.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:e,timcharFirstBytes:r}},"init_state");var N5=o(function(t){return t.replace(/([A-Z])/g,function(e,r){return"_"+r.toLowerCase()})},"underscore");var xA=o(function(t){let e={};for(let n in t)e[N5(n)]=t[n];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 ue("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 ue("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 ue("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(n){let s=Date.parse(n);return isNaN(s)?n:new Date(s)};else if(typeof e.cast_date!="function")throw new ue("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=UC(e.columns);else if(e.columns===void 0||e.columns===null||e.columns===!1)e.columns=!1;else throw new ue("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 ue("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 ue("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 ue("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 ue("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(e.comment_no_infix)}`],e);if(e.delimiter_auto===void 0||e.delimiter_auto===null||e.delimiter_auto===!1)e.delimiter_auto=!1;else if(e.delimiter_auto===!0)e.delimiter_auto={};else if(!qm(e.delimiter_auto))throw new ue("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","delimiter_auto must be a boolean or a configuration object,",`got ${JSON.stringify(e.delimiter_auto)}`],e);if(e.delimiter_auto){if(e.delimiter_auto.preferred===void 0)e.delimiter_auto.preferred={44:1.8,9:1.8,59:1.6,32:1.6,58:1.5,46:1.4,47:1.4};else if(!qm(e.delimiter_auto.preferred))throw new ue("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","preferred must be an object,",`got ${JSON.stringify(e.delimiter_auto.preferred)}`],e);if(e.delimiter_auto.score===void 0)e.delimiter_auto.score=(n,s)=>(n.total-n.std)*(s.preferred[n.char_code]||1);else if(typeof e.delimiter_auto.score!="function")throw new ue("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","score must be a function,",`got ${JSON.stringify(e.delimiter_auto.score)}`],e);if(e.delimiter_auto.size===void 0)e.delimiter_auto.size=2048;else if(typeof e.delimiter_auto.size!="number")throw new ue("CSV_INVALID_OPTION_DELIMITER_AUTO",["Invalid option delimiter_auto:","size must be a number,",`got ${JSON.stringify(e.delimiter_auto.size)}`],e)}let r=JSON.stringify(e.delimiter);if(e.delimiter_auto!==!1&&(e.delimiter=[]),Array.isArray(e.delimiter)||((e.delimiter===void 0||e.delimiter===null||e.delimiter===!1)&&(e.delimiter=Buffer.from(",",e.encoding)),e.delimiter=[e.delimiter]),e.delimiter=e.delimiter.map(function(n){if(typeof n=="string"&&(n=Buffer.from(n,e.encoding)),!Buffer.isBuffer(n)||n.length===0)throw new ue("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 n}),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 ue("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 ue("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 ue("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 ue("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 ue("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(n,s){if(typeof n!="string"&&!Buffer.isBuffer(n))throw new ue("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${s},`,`got ${JSON.stringify(n)}`],e);if(n.length===0)throw new ue("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${s},`,`got ${JSON.stringify(n)}`],e);return typeof n=="string"&&(n=Buffer.from(n,e.encoding)),n}),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 S5=o(function(t,e){e||({delimiter_auto:e}=xA({delimiter_auto:!0})),typeof t=="string"&&(t=Buffer.from(t)),Buffer.isBuffer(t)&&(t=(s=>{let i=[],a=OC({delimiter:[]}),c=o(u=>i.push(u),"push"),l=o(()=>{},"close"),A=a.parse(s,!0,c,l);if(A!==void 0)throw A;return i})(t));let r=Array(127).fill().map(()=>({lines:[]}));t.map(([s],i)=>{for(let a=0,c=s.length;a{s.char_code=i,s.std=g0e(s.lines),s.total=s.lines.reduce((a,c)=>a+c,0),s.preferred=!!e.preferred[i],s.score=e.score(s,e)});let n=r.reduce((s,i)=>s.score>i.score?s:i,{});return String.fromCharCode(n.char_code)},"delimiter_discover"),g0e=o(function(t){let e=t.length;if(e===0)return 0;let r=t.reduce((n,s)=>n+s)/e;return Math.sqrt(t.map(n=>Math.pow(n-r,2)).reduce((n,s)=>n+s)/e)},"std");var R5=o(function(t){return t.every(e=>e==null||e.toString&&e.toString().trim()==="")},"isRecordEmpty"),y0e=13,E0e=10,bA={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},OC=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=xA(t);return{info:e,original_options:t,options:r,state:w5(r),__needMoreData:o(function(n,s,i){if(i)return!1;let{encoding:a,escape:c,quote:l}=this.options,{quoting:A,needMoreDataSize:u,recordDelimiterMaxLength:d}=this.state,m=s-n-1,p=Math.max(u,d===0?Buffer.from(`\r +`,a).length:d,A?(c===null?0:c.length)+l.length:0,A?l.length+d:0);return mA.size)this.options.delimiter=[Buffer.from(S5(Qe,this.options.delimiter_auto))],this.state.previousBuf=Qe,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=Qe;return}}let{previousBuf:De}=this.state,ee;if(De===void 0)if(n===void 0){a();return}else ee=n;else De!==void 0&&n===void 0?ee=De:ee=Buffer.concat([De,n]);if(de===!1)if(c===!1)this.state.bomSkipped=!0;else if(ee.length<3){if(s===!1){this.state.previousBuf=ee;return}}else{for(let Qe in bA)if(bA[Qe].compare(ee,0,bA[Qe].length)===0){let rs=bA[Qe].length;this.state.bufBytesStart+=rs,ee=ee.slice(rs);let zi=xA({...this.original_options,encoding:Qe});for(let Je in zi)this.options[Je]=zi[Je];({comment:B,escape:N,quote:S}=this.options);break}this.state.bomSkipped=!0}let Yt=ee.length,H;for(H=0;HI){this.state.stop=!0,a();return}this.state.quoting===!1&&F.length===0&&this.__autoDiscoverRecordDelimiter(ee,H)&&(F=this.options.record_delimiter);let Qe=ee[H];if(h===!0&&Ne.append(Qe),(Qe===y0e||Qe===E0e)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(N!==null&&this.state.quoting===!0&&this.__isEscape(ee,H,Qe)&&H+N.lengthbA[Fo].equals(this.state.field.toString())?Fo:!1).filter(Boolean)[0],Sr=this.__error(new ue("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(Je.column)} at line ${Je.lines}, value is ${JSON.stringify(this.state.field.toString(u))}`,ns?`(${ns} bom)`:void 0],this.options,Je,{field:this.state.field}));if(Sr!==void 0)return Sr}}else{this.state.quoting=!0,H+=S.length-1;continue}if(this.state.quoting===!1){let Je=this.__isRecordDelimiter(Qe,ee,H);if(Je!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=d){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),H+=Je-1;continue}if(y===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,H+=Je-1;continue}this.info.bytes=this.state.bufBytesStart+H;let Fo=this.__onField();if(Fo!==void 0)return Fo;this.info.bytes=this.state.bufBytesStart+H+Je;let Gm=this.__onRecord(i);if(Gm!==void 0)return Gm;if(E!==-1&&this.info.records>=E){this.state.stop=!0,a();return}}this.state.commenting=!1,H+=Je-1;continue}if(this.state.commenting)continue;if(B!==null&&(l===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(B,ee,H,Qe)!==0){this.state.commenting=!0;continue}let ns=this.__isDelimiter(ee,H,Qe);if(ns!==0){this.info.bytes=this.state.bufBytesStart+H;let Sr=this.__onField();if(Sr!==void 0)return Sr;H+=ns-1;continue}}}if(this.state.commenting===!1&&p!==0&&this.state.record_length+this.state.field.length>p)return this.__error(new ue("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 rs=m===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(ee,H),zi=C===!1||this.state.wasQuoting===!1;if(rs===!0&&zi===!0)this.state.field.append(Qe);else{if(C===!0&&!this.__isCharTrimable(ee,H))return this.__error(new ue("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()));rs===!1&&(H+=this.__isCharTrimable(ee,H)-1);continue}}if(s===!0)if(this.state.quoting===!0){let Qe=this.__error(new ue("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(Qe!==void 0)return Qe}else if(this.state.wasQuoting===!0||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+H;let Qe=this.__onField();if(Qe!==void 0)return Qe;let rs=this.__onRecord(i);if(rs!==void 0)return rs}else this.state.wasRowDelimiter===!0?this.info.empty_lines++:this.state.commenting===!0&&this.info.comment_lines++;else this.state.bufBytesStart+=H,this.state.previousBuf=ee.slice(H);this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1)},"parse"),__onRecord:o(function(n){let{columns:s,group_columns_by_name:i,encoding:a,info:c,from:l,relax_column_count:A,relax_column_count_less:u,relax_column_count_more:d,raw:m,skip_records_with_empty_values:p}=this.options,{enabled:h,record:f}=this.state;if(h===!1)return this.__resetRecord();let C=f.length;if(s===!0){if(p===!0&&R5(f)){this.__resetRecord();return}return this.__firstLineToColumns(f)}if(s===!1&&this.info.records===0&&(this.state.expectedRecordLength=C),C!==this.state.expectedRecordLength){let y=s===!1?new ue("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${C} on line ${this.info.lines}`],this.options,this.__infoField(),{record:f}):new ue("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${s.length},`,`got ${C} on line ${this.info.lines}`],this.options,this.__infoField(),{record:f});if(A===!0||u===!0&&Cthis.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=y;else{let E=this.__error(y);if(E)return E}}if(p===!0&&R5(f)){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:y}=this.options;if(s!==!1){let E={};for(let I=0,B=f.length;I=0},"__isFloat"),__isQuote:o(function(n,s){let{quote:i}=this.options;if(i===null)return!1;let a=i.length;for(let c=0;cthis.state.record.length?n[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}},"__infoField")}},"transform");var p5=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],n=LC(e),s=o(c=>{n.options.objname===void 0?r.push(c):r[c[0]]=c[1]},"push"),i=o(()=>{},"close"),a=n.parse(t,!0,s,i);if(a!==void 0)throw a;return r},"parse");var bA=class t{static{o(this,"Util")}static getInputList(e,r){return this.getList(il(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let n=[];if(e=="")return n;let s=p5(e,{columns:!1,relaxQuotes:!0,comment:r?.comment,comment_no_infix:r?.commentNoInfix,relaxColumnCount:!0,skipEmptyLines:!0,quote:r?.quote});for(let i of s)i.length==1?r?.ignoreComma?n.push(i[0]):n.push(...i[0].split(",")):r?.ignoreComma?n.push(i.join(",")):n.push(...i);return n.filter(i=>i).map(i=>r?.trimWhitespace===!1?i:i.trim())}static getInputNumber(e){let r=il(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let n=0;nsetTimeout(r,e*1e3))}static hash(e){return UD.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,n=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],s=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,s)).toFixed(2))+" "+n[s]}static generateRandomString(e=10){return UD.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,n){return f5.default.compile(e,r)(n)}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 n=Om.default.resolve(e);return Om.default.resolve(r).startsWith(n.endsWith(Om.default.sep)?n:`${n}${Om.default.sep}`)}static formatDuration(e){if(e===0)return"0s";let r=Math.floor(e/1e9),n=Math.floor(r/3600),s=Math.floor(r%3600/60),i=r%60,a=[];return n&&a.push(`${n}h`),s&&a.push(`${s}m`),(i||a.length===0)&&a.push(`${i}s`),a.join("")}};var es=class t{static{o(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||qm.default.join(g5.default.homedir(),".docker")}static configFile(){let e=qm.default.join(t.configDir,"config.json");if(OD.default.existsSync(e))return JSON.parse(OD.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await mr("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 xm.exec("docker",e,t.execOptions(r))}static async getExecOutput(e,r){return xm.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(n=>{if(n.stderr.length>0&&n.exitCode!=0)throw new Error(n.stderr);return n.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(n=>{if(n.stderr.length>0&&n.exitCode!=0)throw new Error(n.stderr.trim());return JSON.parse(n.stdout.trim())[0]})}static async printVersion(){await t.exec(["version"])}static async printInfo(){await t.exec(["info"])}static parseRepoTag(e){let r,n=e.indexOf("@"),s=e.lastIndexOf(":");if(n>=0)r=n;else if(s>=0)r=s;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 n=t.parseRepoTag(e),s=n.repository.replace(/[^a-zA-Z0-9.]+/g,"--"),i=n.tag.replace(/[^a-zA-Z0-9.]+/g,"--"),a=new AA({htcName:s,htcVersion:i,baseCacheDir:qm.default.join(t.configDir,".cache","images",s),cacheFile:"image.tar"}),c;r&&(c=await a.find(),c&&(he(`Image found from cache in ${c}`),await t.getExecOutput(["load","-i",c],{ignoreReturnCode:!0}).then(A=>{A.stderr.length>0&&A.exitCode!=0&&ot(`Failed to load image from cache: ${A.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`)})));let l=!0;if(await t.getExecOutput(["pull",e],{ignoreReturnCode:!0}).then(A=>{if(A.stderr.length>0&&A.exitCode!=0){l=!1;let u=A.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error";if(c)ot(`Failed to pull image, using one from cache: ${u}`);else throw new Error(u)}}),r&&l){let A=qm.default.join(KE.tmpDir(),`${bA.hash(e)}.tar`);await t.getExecOutput(["save","-o",A,e],{ignoreReturnCode:!0}).then(async u=>{if(u.stderr.length>0&&u.exitCode!=0)ot(`Failed to save image: ${u.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);else{let d=await a.save(A);he(`Image cached to ${d}`)}})}}};function y5(){return{image:il("image")||"docker.io/tonistiigi/binfmt:latest",platforms:bA.getInputList("platforms").join(",")||"all",reset:vx("reset"),cacheImage:vx("cache-image")}}o(y5,"getInputs");X8(async()=>{let t=y5();await hs("Docker info",async()=>{await es.printVersion(),await es.printInfo()}),await hs("Pulling binfmt Docker image",async()=>{await es.pull(t.image,t.cacheImage)}),await hs("Image info",async()=>{await es.getExecOutput(["image","inspect",t.image],{ignoreReturnCode:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error")})}),await hs("Binfmt version",async()=>{await es.getExecOutput(["run","--rm","--privileged",t.image,"--version"],{ignoreReturnCode:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error")})}),t.reset&&await hs("Uninstalling current emulators",async()=>{await es.getExecOutput(["run","--rm","--privileged",t.image,"--uninstall","qemu-*"],{ignoreReturnCode:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error")})}),await hs("Installing QEMU static binaries",async()=>{await es.getExecOutput(["run","--rm","--privileged",t.image,"--install",t.platforms],{ignoreReturnCode:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error")})}),await hs("Extracting available platforms",async()=>{await es.getExecOutput(["run","--rm","--privileged",t.image],{ignoreReturnCode:!0,silent:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error");let r=JSON.parse(e.stdout.trim());he(`${r.supported.join(",")}`),GU("platforms",r.supported.join(","))})})}); +`,i),Buffer.from("\r",i)];e:for(let c=0;cthis.state.record.length?n[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}},"__infoField")}},"transform");var P5=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],n=OC(e),s=o(c=>{n.options.objname===void 0?r.push(c):r[c[0]]=c[1]},"push"),i=o(()=>{},"close"),a=n.parse(t,!0,s,i);if(a!==void 0)throw a;return r},"parse");var wA=class t{static{o(this,"Util")}static getInputList(e,r){return this.getList(al(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let n=[];if(e=="")return n;let s=P5(e,{columns:!1,relaxQuotes:!0,comment:r?.comment,comment_no_infix:r?.commentNoInfix,relaxColumnCount:!0,skipEmptyLines:!0,quote:r?.quote});for(let i of s)i.length==1?r?.ignoreComma?n.push(i[0]):n.push(...i[0].split(",")):r?.ignoreComma?n.push(i.join(",")):n.push(...i);return n.filter(i=>i).map(i=>r?.trimWhitespace===!1?i:i.trim())}static getInputNumber(e){let r=al(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let n=0;nsetTimeout(r,e*1e3))}static hash(e){return zD.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,n=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],s=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,s)).toFixed(2))+" "+n[s]}static generateRandomString(e=10){return zD.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,n){return D5.default.compile(e,r)(n)}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 n=Hm.default.resolve(e);return Hm.default.resolve(r).startsWith(n.endsWith(Hm.default.sep)?n:`${n}${Hm.default.sep}`)}static formatDuration(e){if(e===0)return"0s";let r=Math.floor(e/1e9),n=Math.floor(r/3600),s=Math.floor(r%3600/60),i=r%60,a=[];return n&&a.push(`${n}h`),s&&a.push(`${s}m`),(i||a.length===0)&&a.push(`${i}s`),a.join("")}};var ts=class t{static{o(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||zm.default.join(k5.default.homedir(),".docker")}static configFile(){let e=zm.default.join(t.configDir,"config.json");if(GD.default.existsSync(e))return JSON.parse(GD.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await mr("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 wm.exec("docker",e,t.execOptions(r))}static async getExecOutput(e,r){return wm.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(n=>{if(n.stderr.length>0&&n.exitCode!=0)throw new Error(n.stderr);return n.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(n=>{if(n.stderr.length>0&&n.exitCode!=0)throw new Error(n.stderr.trim());return JSON.parse(n.stdout.trim())[0]})}static async printVersion(){await t.exec(["version"])}static async printInfo(){await t.exec(["info"])}static parseRepoTag(e){let r,n=e.indexOf("@"),s=e.lastIndexOf(":");if(n>=0)r=n;else if(s>=0)r=s;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 n=t.parseRepoTag(e),s=n.repository.replace(/[^a-zA-Z0-9.]+/g,"--"),i=n.tag.replace(/[^a-zA-Z0-9.]+/g,"--"),a=new uA({htcName:s,htcVersion:i,baseCacheDir:zm.default.join(t.configDir,".cache","images",s),cacheFile:"image.tar"}),c;r&&(c=await a.find(),c&&(le(`Image found from cache in ${c}`),await t.getExecOutput(["load","-i",c],{ignoreReturnCode:!0}).then(A=>{A.stderr.length>0&&A.exitCode!=0&&ht(`Failed to load image from cache: ${A.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`)})));let l=!0;try{await t.pullWithRetry(e)}catch(A){if(l=!1,c)ht(`Failed to pull image, using one from cache: ${A.message}`);else throw A}if(r&&l){let A=zm.default.join(tC.tmpDir(),`${wA.hash(e)}.tar`);await t.getExecOutput(["save","-o",A,e],{ignoreReturnCode:!0}).then(async u=>{if(u.stderr.length>0&&u.exitCode!=0)ht(`Failed to save image: ${u.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);else{let d=await a.save(A);le(`Image cached to ${d}`)}})}}static async pullWithRetry(e){await(0,T5.default)(async n=>{let s=await t.getExecOutput(["pull",e],{ignoreReturnCode:!0});if(s.stderr.length>0&&s.exitCode!=0){let i=s.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error";if(!t.isPullTransientError(i)){n(new Error(i));return}throw new Error(i)}},{retries:4,minTimeout:1e3,factor:2,onRetry:o((n,s)=>{b(`Docker pull failed, retrying (${s}/5)... +${n}`)},"onRetry")})}static isPullTransientError(e){return/Client\.Timeout exceeded|TLS handshake timeout|i\/o timeout|context deadline exceeded|request canceled|connection reset by peer|connection refused|connection timed out|temporary failure|unexpected EOF|\bEOF\b|server misbehaving/i.test(e)||/\b(500|502|503|504)\b/.test(e)||/\b(service unavailable|bad gateway|gateway timeout|internal server error)\b/i.test(e)}};function M5(){return{image:al("image")||"docker.io/tonistiigi/binfmt:latest",platforms:wA.getInputList("platforms").join(",")||"all",reset:Mx("reset"),cacheImage:Mx("cache-image")}}o(M5,"getInputs");a8(async()=>{let t=M5();await fs("Docker info",async()=>{await ts.printVersion(),await ts.printInfo()}),await fs("Pulling binfmt Docker image",async()=>{await ts.pull(t.image,t.cacheImage)}),await fs("Image info",async()=>{await ts.getExecOutput(["image","inspect",t.image],{ignoreReturnCode:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error")})}),await fs("Binfmt version",async()=>{await ts.getExecOutput(["run","--rm","--privileged",t.image,"--version"],{ignoreReturnCode:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error")})}),t.reset&&await fs("Uninstalling current emulators",async()=>{await ts.getExecOutput(["run","--rm","--privileged",t.image,"--uninstall","qemu-*"],{ignoreReturnCode:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error")})}),await fs("Installing QEMU static binaries",async()=>{await ts.getExecOutput(["run","--rm","--privileged",t.image,"--install",t.platforms],{ignoreReturnCode:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error")})}),await fs("Extracting available platforms",async()=>{await ts.getExecOutput(["run","--rm","--privileged",t.image],{ignoreReturnCode:!0,silent:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error");let r=JSON.parse(e.stdout.trim());le(`${r.supported.join(",")}`),WU("platforms",r.supported.join(","))})})}); /*! Bundled license information: undici/lib/web/fetch/body.js: diff --git a/dist/index.cjs.map b/dist/index.cjs.map index c114b5f..865eb8b 100644 --- a/dist/index.cjs.map +++ b/dist/index.cjs.map @@ -1,7 +1,7 @@ { "version": 3, - "sources": ["../node_modules/tunnel/lib/tunnel.js", "../node_modules/tunnel/index.js", "../node_modules/undici/lib/core/symbols.js", "../node_modules/undici/lib/core/errors.js", "../node_modules/undici/lib/core/constants.js", "../node_modules/undici/lib/core/tree.js", "../node_modules/undici/lib/core/util.js", "../node_modules/undici/lib/core/diagnostics.js", "../node_modules/undici/lib/core/request.js", "../node_modules/undici/lib/dispatcher/dispatcher.js", "../node_modules/undici/lib/dispatcher/dispatcher-base.js", "../node_modules/undici/lib/util/timers.js", "../node_modules/undici/lib/core/connect.js", "../node_modules/undici/lib/llhttp/utils.js", "../node_modules/undici/lib/llhttp/constants.js", "../node_modules/undici/lib/llhttp/llhttp-wasm.js", "../node_modules/undici/lib/llhttp/llhttp_simd-wasm.js", "../node_modules/undici/lib/web/fetch/constants.js", "../node_modules/undici/lib/web/fetch/global.js", "../node_modules/undici/lib/web/fetch/data-url.js", "../node_modules/undici/lib/web/fetch/webidl.js", "../node_modules/undici/lib/web/fetch/util.js", "../node_modules/undici/lib/web/fetch/symbols.js", "../node_modules/undici/lib/web/fetch/file.js", "../node_modules/undici/lib/web/fetch/formdata.js", "../node_modules/undici/lib/web/fetch/formdata-parser.js", "../node_modules/undici/lib/web/fetch/body.js", "../node_modules/undici/lib/dispatcher/client-h1.js", "../node_modules/undici/lib/dispatcher/client-h2.js", "../node_modules/undici/lib/handler/redirect-handler.js", "../node_modules/undici/lib/interceptor/redirect-interceptor.js", "../node_modules/undici/lib/dispatcher/client.js", "../node_modules/undici/lib/dispatcher/fixed-queue.js", "../node_modules/undici/lib/dispatcher/pool-stats.js", "../node_modules/undici/lib/dispatcher/pool-base.js", "../node_modules/undici/lib/dispatcher/pool.js", "../node_modules/undici/lib/dispatcher/balanced-pool.js", "../node_modules/undici/lib/dispatcher/agent.js", "../node_modules/undici/lib/dispatcher/proxy-agent.js", "../node_modules/undici/lib/dispatcher/env-http-proxy-agent.js", "../node_modules/undici/lib/handler/retry-handler.js", "../node_modules/undici/lib/dispatcher/retry-agent.js", "../node_modules/undici/lib/api/readable.js", "../node_modules/undici/lib/api/util.js", "../node_modules/undici/lib/api/api-request.js", "../node_modules/undici/lib/api/abort-signal.js", "../node_modules/undici/lib/api/api-stream.js", "../node_modules/undici/lib/api/api-pipeline.js", "../node_modules/undici/lib/api/api-upgrade.js", "../node_modules/undici/lib/api/api-connect.js", "../node_modules/undici/lib/api/index.js", "../node_modules/undici/lib/mock/mock-errors.js", "../node_modules/undici/lib/mock/mock-symbols.js", "../node_modules/undici/lib/mock/mock-utils.js", "../node_modules/undici/lib/mock/mock-interceptor.js", "../node_modules/undici/lib/mock/mock-client.js", "../node_modules/undici/lib/mock/mock-pool.js", "../node_modules/undici/lib/mock/pluralizer.js", "../node_modules/undici/lib/mock/pending-interceptors-formatter.js", "../node_modules/undici/lib/mock/mock-agent.js", "../node_modules/undici/lib/global.js", "../node_modules/undici/lib/handler/decorator-handler.js", "../node_modules/undici/lib/interceptor/redirect.js", "../node_modules/undici/lib/interceptor/retry.js", "../node_modules/undici/lib/interceptor/dump.js", "../node_modules/undici/lib/interceptor/dns.js", "../node_modules/undici/lib/web/fetch/headers.js", "../node_modules/undici/lib/web/fetch/response.js", "../node_modules/undici/lib/web/fetch/dispatcher-weakref.js", "../node_modules/undici/lib/web/fetch/request.js", "../node_modules/undici/lib/web/fetch/index.js", "../node_modules/undici/lib/web/fileapi/symbols.js", "../node_modules/undici/lib/web/fileapi/progressevent.js", "../node_modules/undici/lib/web/fileapi/encoding.js", "../node_modules/undici/lib/web/fileapi/util.js", "../node_modules/undici/lib/web/fileapi/filereader.js", "../node_modules/undici/lib/web/cache/symbols.js", "../node_modules/undici/lib/web/cache/util.js", "../node_modules/undici/lib/web/cache/cache.js", "../node_modules/undici/lib/web/cache/cachestorage.js", "../node_modules/undici/lib/web/cookies/constants.js", "../node_modules/undici/lib/web/cookies/util.js", "../node_modules/undici/lib/web/cookies/parse.js", "../node_modules/undici/lib/web/cookies/index.js", "../node_modules/undici/lib/web/websocket/events.js", "../node_modules/undici/lib/web/websocket/constants.js", "../node_modules/undici/lib/web/websocket/symbols.js", "../node_modules/undici/lib/web/websocket/util.js", "../node_modules/undici/lib/web/websocket/frame.js", "../node_modules/undici/lib/web/websocket/connection.js", "../node_modules/undici/lib/web/websocket/permessage-deflate.js", "../node_modules/undici/lib/web/websocket/receiver.js", "../node_modules/undici/lib/web/websocket/sender.js", "../node_modules/undici/lib/web/websocket/websocket.js", "../node_modules/undici/lib/web/eventsource/util.js", "../node_modules/undici/lib/web/eventsource/eventsource-stream.js", "../node_modules/undici/lib/web/eventsource/eventsource.js", "../node_modules/undici/index.js", "../node_modules/@actions/tool-cache/node_modules/semver/internal/constants.js", "../node_modules/@actions/tool-cache/node_modules/semver/internal/debug.js", "../node_modules/@actions/tool-cache/node_modules/semver/internal/re.js", "../node_modules/@actions/tool-cache/node_modules/semver/internal/parse-options.js", "../node_modules/@actions/tool-cache/node_modules/semver/internal/identifiers.js", "../node_modules/@actions/tool-cache/node_modules/semver/classes/semver.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/parse.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/valid.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/clean.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/inc.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/diff.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/major.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/minor.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/patch.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/prerelease.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/compare.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/rcompare.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/compare-loose.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/compare-build.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/sort.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/rsort.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/gt.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/lt.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/eq.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/neq.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/gte.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/lte.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/cmp.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/coerce.js", "../node_modules/@actions/tool-cache/node_modules/semver/internal/lrucache.js", "../node_modules/@actions/tool-cache/node_modules/semver/classes/range.js", "../node_modules/@actions/tool-cache/node_modules/semver/classes/comparator.js", "../node_modules/@actions/tool-cache/node_modules/semver/functions/satisfies.js", "../node_modules/@actions/tool-cache/node_modules/semver/ranges/to-comparators.js", "../node_modules/@actions/tool-cache/node_modules/semver/ranges/max-satisfying.js", "../node_modules/@actions/tool-cache/node_modules/semver/ranges/min-satisfying.js", "../node_modules/@actions/tool-cache/node_modules/semver/ranges/min-version.js", "../node_modules/@actions/tool-cache/node_modules/semver/ranges/valid.js", "../node_modules/@actions/tool-cache/node_modules/semver/ranges/outside.js", "../node_modules/@actions/tool-cache/node_modules/semver/ranges/gtr.js", "../node_modules/@actions/tool-cache/node_modules/semver/ranges/ltr.js", "../node_modules/@actions/tool-cache/node_modules/semver/ranges/intersects.js", "../node_modules/@actions/tool-cache/node_modules/semver/ranges/simplify.js", "../node_modules/@actions/tool-cache/node_modules/semver/ranges/subset.js", "../node_modules/@actions/tool-cache/node_modules/semver/index.js", "../node_modules/concat-map/index.js", "../node_modules/balanced-match/index.js", "../node_modules/minimatch/node_modules/brace-expansion/index.js", "../node_modules/minimatch/minimatch.js", "../node_modules/@actions/cache/node_modules/semver/internal/constants.js", "../node_modules/@actions/cache/node_modules/semver/internal/debug.js", "../node_modules/@actions/cache/node_modules/semver/internal/re.js", "../node_modules/@actions/cache/node_modules/semver/internal/parse-options.js", "../node_modules/@actions/cache/node_modules/semver/internal/identifiers.js", "../node_modules/@actions/cache/node_modules/semver/classes/semver.js", "../node_modules/@actions/cache/node_modules/semver/functions/parse.js", "../node_modules/@actions/cache/node_modules/semver/functions/valid.js", "../node_modules/@actions/cache/node_modules/semver/functions/clean.js", "../node_modules/@actions/cache/node_modules/semver/functions/inc.js", "../node_modules/@actions/cache/node_modules/semver/functions/diff.js", "../node_modules/@actions/cache/node_modules/semver/functions/major.js", "../node_modules/@actions/cache/node_modules/semver/functions/minor.js", "../node_modules/@actions/cache/node_modules/semver/functions/patch.js", "../node_modules/@actions/cache/node_modules/semver/functions/prerelease.js", "../node_modules/@actions/cache/node_modules/semver/functions/compare.js", "../node_modules/@actions/cache/node_modules/semver/functions/rcompare.js", "../node_modules/@actions/cache/node_modules/semver/functions/compare-loose.js", "../node_modules/@actions/cache/node_modules/semver/functions/compare-build.js", "../node_modules/@actions/cache/node_modules/semver/functions/sort.js", "../node_modules/@actions/cache/node_modules/semver/functions/rsort.js", "../node_modules/@actions/cache/node_modules/semver/functions/gt.js", "../node_modules/@actions/cache/node_modules/semver/functions/lt.js", "../node_modules/@actions/cache/node_modules/semver/functions/eq.js", "../node_modules/@actions/cache/node_modules/semver/functions/neq.js", "../node_modules/@actions/cache/node_modules/semver/functions/gte.js", "../node_modules/@actions/cache/node_modules/semver/functions/lte.js", "../node_modules/@actions/cache/node_modules/semver/functions/cmp.js", "../node_modules/@actions/cache/node_modules/semver/functions/coerce.js", "../node_modules/@actions/cache/node_modules/semver/internal/lrucache.js", "../node_modules/@actions/cache/node_modules/semver/classes/range.js", "../node_modules/@actions/cache/node_modules/semver/classes/comparator.js", "../node_modules/@actions/cache/node_modules/semver/functions/satisfies.js", "../node_modules/@actions/cache/node_modules/semver/ranges/to-comparators.js", "../node_modules/@actions/cache/node_modules/semver/ranges/max-satisfying.js", "../node_modules/@actions/cache/node_modules/semver/ranges/min-satisfying.js", "../node_modules/@actions/cache/node_modules/semver/ranges/min-version.js", "../node_modules/@actions/cache/node_modules/semver/ranges/valid.js", "../node_modules/@actions/cache/node_modules/semver/ranges/outside.js", "../node_modules/@actions/cache/node_modules/semver/ranges/gtr.js", "../node_modules/@actions/cache/node_modules/semver/ranges/ltr.js", "../node_modules/@actions/cache/node_modules/semver/ranges/intersects.js", "../node_modules/@actions/cache/node_modules/semver/ranges/simplify.js", "../node_modules/@actions/cache/node_modules/semver/ranges/subset.js", "../node_modules/@actions/cache/node_modules/semver/index.js", "../node_modules/ms/index.js", "../node_modules/debug/src/common.js", "../node_modules/debug/src/browser.js", "../node_modules/has-flag/index.js", "../node_modules/supports-color/index.js", "../node_modules/debug/src/node.js", "../node_modules/debug/src/index.js", "../node_modules/https-proxy-agent/node_modules/agent-base/src/helpers.ts", "../node_modules/https-proxy-agent/node_modules/agent-base/src/index.ts", "../node_modules/https-proxy-agent/src/parse-proxy-response.ts", "../node_modules/https-proxy-agent/src/index.ts", "../node_modules/agent-base/src/helpers.ts", "../node_modules/agent-base/src/index.ts", "../node_modules/http-proxy-agent/src/index.ts", "../node_modules/@azure/core-tracing/src/state-cjs.cts", "../node_modules/@azure/core-client/src/state-cjs.cts", "../node_modules/@azure/core-lro/node_modules/@azure/logger/src/log.ts", "../node_modules/@azure/core-lro/node_modules/@azure/logger/src/debug.ts", "../node_modules/@azure/core-lro/node_modules/@azure/logger/src/index.ts", "../node_modules/@azure/core-lro/node_modules/@azure/abort-controller/src/AbortSignal.ts", "../node_modules/@azure/core-lro/node_modules/@azure/abort-controller/src/AbortController.ts", "../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/createAbortablePromise.ts", "../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/delay.ts", "../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/random.ts", "../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/object.ts", "../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/error.ts", "../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/sha256.ts", "../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/typeGuards.ts", "../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/uuidUtils.native.ts", "../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/uuidUtils.ts", "../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/checkEnvironment.ts", "../node_modules/@azure/core-lro/node_modules/@azure/core-util/src/bytesEncoding.ts", "../node_modules/@azure/core-lro/src/logger.ts", "../node_modules/@azure/core-lro/src/poller/constants.ts", "../node_modules/@azure/core-lro/src/poller/operation.ts", "../node_modules/@azure/core-lro/src/http/operation.ts", "../node_modules/@azure/core-lro/src/poller/poller.ts", "../node_modules/@azure/core-lro/src/http/poller.ts", "../node_modules/@azure/core-lro/src/legacy/lroEngine/operation.ts", "../node_modules/@azure/core-lro/src/legacy/poller.ts", "../node_modules/@azure/core-lro/src/legacy/lroEngine/lroEngine.ts", "../node_modules/@actions/cache/package.json", "../node_modules/@actions/cache/lib/internal/shared/package-version.cjs", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/json-typings.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/base64.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/protobufjs-utf8.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/binary-format-contract.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/goog-varint.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/pb-long.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/binary-reader.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/assert.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/binary-writer.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/json-format-contract.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/message-type-contract.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/lower-camel-case.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-info.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/oneof.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-type-check.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-long-convert.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-json-reader.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-json-writer.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-scalar-default.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-binary-reader.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-binary-writer.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-create.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-merge-partial.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-equals.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/message-type.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-contains-message-type.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/enum-object.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/index.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/reflection-info.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/service-type.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-error.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-options.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/deferred.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-output-stream.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/unary-call.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/server-streaming-call.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/client-streaming-call.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/duplex-streaming-call.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/test-transport.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-interceptor.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/server-call-context.js", "../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/index.js", "../node_modules/tmp/lib/tmp.js", "../node_modules/handlebars/lib/handlebars/utils.js", "../node_modules/handlebars/lib/handlebars/exception.js", "../node_modules/handlebars/lib/handlebars/helpers/block-helper-missing.js", "../node_modules/handlebars/lib/handlebars/helpers/each.js", "../node_modules/handlebars/lib/handlebars/helpers/helper-missing.js", "../node_modules/handlebars/lib/handlebars/helpers/if.js", "../node_modules/handlebars/lib/handlebars/helpers/log.js", "../node_modules/handlebars/lib/handlebars/helpers/lookup.js", "../node_modules/handlebars/lib/handlebars/helpers/with.js", "../node_modules/handlebars/lib/handlebars/helpers.js", "../node_modules/handlebars/lib/handlebars/decorators/inline.js", "../node_modules/handlebars/lib/handlebars/decorators.js", "../node_modules/handlebars/lib/handlebars/logger.js", "../node_modules/handlebars/lib/handlebars/internal/proto-access.js", "../node_modules/handlebars/lib/handlebars/base.js", "../node_modules/handlebars/lib/handlebars/safe-string.js", "../node_modules/handlebars/lib/handlebars/internal/wrapHelper.js", "../node_modules/handlebars/lib/handlebars/runtime.js", "../node_modules/handlebars/lib/handlebars/no-conflict.js", "../node_modules/handlebars/lib/handlebars.runtime.js", "../node_modules/handlebars/lib/handlebars/compiler/ast.js", "../node_modules/handlebars/lib/handlebars/compiler/parser.js", "../node_modules/handlebars/lib/handlebars/compiler/visitor.js", "../node_modules/handlebars/lib/handlebars/compiler/whitespace-control.js", "../node_modules/handlebars/lib/handlebars/compiler/helpers.js", "../node_modules/handlebars/lib/handlebars/compiler/base.js", "../node_modules/handlebars/lib/handlebars/compiler/compiler.js", "../node_modules/source-map/lib/base64.js", "../node_modules/source-map/lib/base64-vlq.js", "../node_modules/source-map/lib/util.js", "../node_modules/source-map/lib/array-set.js", "../node_modules/source-map/lib/mapping-list.js", "../node_modules/source-map/lib/source-map-generator.js", "../node_modules/source-map/lib/binary-search.js", "../node_modules/source-map/lib/quick-sort.js", "../node_modules/source-map/lib/source-map-consumer.js", "../node_modules/source-map/lib/source-node.js", "../node_modules/source-map/source-map.js", "../node_modules/handlebars/lib/handlebars/compiler/code-gen.js", "../node_modules/handlebars/lib/handlebars/compiler/javascript-compiler.js", "../node_modules/handlebars/lib/handlebars.js", "../node_modules/handlebars/lib/handlebars/compiler/printer.js", "../node_modules/handlebars/lib/index.js", "../node_modules/@actions/core/src/command.ts", "../node_modules/@actions/core/src/utils.ts", "../node_modules/@actions/core/src/file-command.ts", "../node_modules/@actions/core/src/core.ts", "../node_modules/@actions/http-client/src/index.ts", "../node_modules/@actions/core/src/summary.ts", "../node_modules/@actions/core/src/platform.ts", "../node_modules/@actions/exec/src/exec.ts", "../node_modules/@actions/exec/src/toolrunner.ts", "../node_modules/@actions/io/src/io.ts", "../node_modules/@actions/io/src/io-util.ts", "../node_modules/@docker/actions-toolkit/src/cache.ts", "../node_modules/@actions/tool-cache/node_modules/@actions/core/src/command.ts", "../node_modules/@actions/tool-cache/node_modules/@actions/core/src/utils.ts", "../node_modules/@actions/tool-cache/node_modules/@actions/core/src/summary.ts", "../node_modules/@actions/tool-cache/node_modules/@actions/core/src/platform.ts", "../node_modules/@actions/tool-cache/node_modules/@actions/core/src/core.ts", "../node_modules/@actions/tool-cache/src/tool-cache.ts", "../node_modules/@actions/tool-cache/src/manifest.ts", "../node_modules/@actions/cache/src/cache.ts", "../node_modules/@actions/glob/node_modules/@actions/core/src/command.ts", "../node_modules/@actions/glob/node_modules/@actions/core/src/utils.ts", "../node_modules/@actions/glob/node_modules/@actions/core/src/summary.ts", "../node_modules/@actions/glob/node_modules/@actions/core/src/platform.ts", "../node_modules/@actions/glob/node_modules/@actions/core/src/core.ts", "../node_modules/@actions/glob/src/internal-globber.ts", "../node_modules/@actions/glob/src/internal-glob-options-helper.ts", "../node_modules/@actions/glob/src/internal-path-helper.ts", "../node_modules/@actions/glob/src/internal-match-kind.ts", "../node_modules/@actions/glob/src/internal-pattern-helper.ts", "../node_modules/@actions/glob/src/internal-pattern.ts", "../node_modules/@actions/glob/src/internal-path.ts", "../node_modules/@actions/glob/src/internal-search-state.ts", "../node_modules/@actions/glob/src/glob.ts", "../node_modules/@actions/cache/src/internal/cacheUtils.ts", "../node_modules/@actions/cache/src/internal/constants.ts", "../node_modules/@actions/cache/node_modules/@actions/http-client/src/index.ts", "../node_modules/@actions/cache/node_modules/@actions/http-client/src/proxy.ts", "../node_modules/@actions/cache/node_modules/@actions/http-client/src/auth.ts", "../node_modules/@actions/cache/src/internal/cacheHttpClient.ts", "../node_modules/@typespec/ts-http-runtime/src/abort-controller/AbortError.ts", "../node_modules/@typespec/ts-http-runtime/src/logger/log.ts", "../node_modules/@typespec/ts-http-runtime/src/logger/debug.ts", "../node_modules/@typespec/ts-http-runtime/src/logger/logger.ts", "../node_modules/@typespec/ts-http-runtime/src/httpHeaders.ts", "../node_modules/@typespec/ts-http-runtime/src/util/uuidUtils.ts", "../node_modules/@typespec/ts-http-runtime/src/pipelineRequest.ts", "../node_modules/@typespec/ts-http-runtime/src/pipeline.ts", "../node_modules/@typespec/ts-http-runtime/src/util/object.ts", "../node_modules/@typespec/ts-http-runtime/src/util/error.ts", "../node_modules/@typespec/ts-http-runtime/src/util/inspect.ts", "../node_modules/@typespec/ts-http-runtime/src/util/sanitizer.ts", "../node_modules/@typespec/ts-http-runtime/src/restError.ts", "../node_modules/@typespec/ts-http-runtime/src/util/bytesEncoding.ts", "../node_modules/@typespec/ts-http-runtime/src/nodeHttpClient.ts", "../node_modules/@typespec/ts-http-runtime/src/log.ts", "../node_modules/@typespec/ts-http-runtime/src/defaultHttpClient.ts", "../node_modules/@typespec/ts-http-runtime/src/policies/logPolicy.ts", "../node_modules/@typespec/ts-http-runtime/src/policies/redirectPolicy.ts", "../node_modules/@typespec/ts-http-runtime/src/util/userAgentPlatform.ts", "../node_modules/@typespec/ts-http-runtime/src/util/userAgent.ts", "../node_modules/@typespec/ts-http-runtime/src/policies/userAgentPolicy.ts", "../node_modules/@typespec/ts-http-runtime/src/policies/decompressResponsePolicy.ts", "../node_modules/@typespec/ts-http-runtime/src/util/random.ts", "../node_modules/@typespec/ts-http-runtime/src/util/delay.ts", "../node_modules/@typespec/ts-http-runtime/src/util/helpers.ts", "../node_modules/@typespec/ts-http-runtime/src/retryStrategies/throttlingRetryStrategy.ts", "../node_modules/@typespec/ts-http-runtime/src/retryStrategies/exponentialRetryStrategy.ts", "../node_modules/@typespec/ts-http-runtime/src/policies/retryPolicy.ts", "../node_modules/@typespec/ts-http-runtime/src/policies/defaultRetryPolicy.ts", "../node_modules/@typespec/ts-http-runtime/src/util/checkEnvironment.ts", "../node_modules/@typespec/ts-http-runtime/src/policies/formDataPolicy.ts", "../node_modules/@typespec/ts-http-runtime/src/policies/proxyPolicy.ts", "../node_modules/@typespec/ts-http-runtime/src/policies/agentPolicy.ts", "../node_modules/@typespec/ts-http-runtime/src/policies/tlsPolicy.ts", "../node_modules/@typespec/ts-http-runtime/src/util/typeGuards.ts", "../node_modules/@typespec/ts-http-runtime/src/util/concat.ts", "../node_modules/@typespec/ts-http-runtime/src/policies/multipartPolicy.ts", "../node_modules/@azure/core-rest-pipeline/src/pipeline.ts", "../node_modules/@azure/logger/src/index.ts", "../node_modules/@azure/core-rest-pipeline/src/log.ts", "../node_modules/@azure/core-rest-pipeline/src/policies/logPolicy.ts", "../node_modules/@azure/core-rest-pipeline/src/policies/redirectPolicy.ts", "../node_modules/@azure/core-rest-pipeline/src/util/userAgentPlatform.ts", "../node_modules/@azure/core-rest-pipeline/src/constants.ts", "../node_modules/@azure/core-rest-pipeline/src/util/userAgent.ts", "../node_modules/@azure/core-rest-pipeline/src/policies/userAgentPolicy.ts", "../node_modules/@azure/abort-controller/src/AbortError.ts", "../node_modules/@azure/core-util/src/createAbortablePromise.ts", "../node_modules/@azure/core-util/src/delay.ts", "../node_modules/@azure/core-util/src/error.ts", "../node_modules/@azure/core-util/src/index.ts", "../node_modules/@azure/core-rest-pipeline/src/util/file.ts", "../node_modules/@azure/core-rest-pipeline/src/policies/multipartPolicy.ts", "../node_modules/@azure/core-rest-pipeline/src/policies/decompressResponsePolicy.ts", "../node_modules/@azure/core-rest-pipeline/src/policies/defaultRetryPolicy.ts", "../node_modules/@azure/core-rest-pipeline/src/policies/formDataPolicy.ts", "../node_modules/@azure/core-rest-pipeline/src/policies/proxyPolicy.ts", "../node_modules/@azure/core-rest-pipeline/src/policies/setClientRequestIdPolicy.ts", "../node_modules/@azure/core-rest-pipeline/src/policies/agentPolicy.ts", "../node_modules/@azure/core-rest-pipeline/src/policies/tlsPolicy.ts", "../node_modules/@azure/core-tracing/src/tracingContext.ts", "../node_modules/@azure/core-tracing/src/state.ts", "../node_modules/@azure/core-tracing/src/instrumenter.ts", "../node_modules/@azure/core-tracing/src/tracingClient.ts", "../node_modules/@azure/core-rest-pipeline/src/restError.ts", "../node_modules/@azure/core-rest-pipeline/src/policies/tracingPolicy.ts", "../node_modules/@azure/core-rest-pipeline/src/util/wrapAbortSignal.ts", "../node_modules/@azure/core-rest-pipeline/src/policies/wrapAbortSignalLikePolicy.ts", "../node_modules/@azure/core-rest-pipeline/src/createPipelineFromOptions.ts", "../node_modules/@azure/core-rest-pipeline/src/defaultHttpClient.ts", "../node_modules/@azure/core-rest-pipeline/src/httpHeaders.ts", "../node_modules/@azure/core-rest-pipeline/src/pipelineRequest.ts", "../node_modules/@azure/core-rest-pipeline/src/policies/retryPolicy.ts", "../node_modules/@azure/core-rest-pipeline/src/util/tokenCycler.ts", "../node_modules/@azure/core-rest-pipeline/src/policies/bearerTokenAuthenticationPolicy.ts", "../node_modules/@azure/core-auth/src/tokenCredential.ts", "../node_modules/@azure/core-http-compat/src/policies/disableKeepAlivePolicy.ts", "../node_modules/@azure/core-client/src/base64.ts", "../node_modules/@azure/core-client/src/utils.ts", "../node_modules/@azure/core-client/src/serializer.ts", "../node_modules/@azure/core-client/src/state.ts", "../node_modules/@azure/core-client/src/operationHelpers.ts", "../node_modules/@azure/core-client/src/deserializationPolicy.ts", "../node_modules/@azure/core-client/src/interfaceHelpers.ts", "../node_modules/@azure/core-client/src/serializationPolicy.ts", "../node_modules/@azure/core-client/src/pipeline.ts", "../node_modules/@azure/core-client/src/httpClientCache.ts", "../node_modules/@azure/core-client/src/urlHelpers.ts", "../node_modules/@azure/core-client/src/log.ts", "../node_modules/@azure/core-client/src/serviceClient.ts", "../node_modules/@azure/core-client/src/authorizeRequestOnTenantChallenge.ts", "../node_modules/@azure/core-http-compat/src/util.ts", "../node_modules/@azure/core-http-compat/src/response.ts", "../node_modules/@azure/core-http-compat/src/extendedClient.ts", "../node_modules/@azure/core-http-compat/src/policies/requestPolicyFactoryPolicy.ts", "../node_modules/@azure/core-http-compat/src/httpClientAdapter.ts", "../node_modules/fast-xml-parser/src/util.js", "../node_modules/fast-xml-parser/src/validator.js", "../node_modules/@nodable/entities/src/entities.js", "../node_modules/@nodable/entities/src/EntityDecoder.js", "../node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js", "../node_modules/fast-xml-parser/src/xmlparser/xmlNode.js", "../node_modules/xml-naming/src/index.js", "../node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js", "../node_modules/strnum/strnum.js", "../node_modules/fast-xml-parser/src/ignoreAttributes.js", "../node_modules/path-expression-matcher/src/Expression.js", "../node_modules/path-expression-matcher/src/ExpressionSet.js", "../node_modules/path-expression-matcher/src/Matcher.js", "../node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js", "../node_modules/fast-xml-parser/src/xmlparser/node2json.js", "../node_modules/fast-xml-parser/src/xmlparser/XMLParser.js", "../node_modules/fast-xml-builder/src/util.js", "../node_modules/fast-xml-builder/src/orderedJs2Xml.js", "../node_modules/fast-xml-builder/src/ignoreAttributes.js", "../node_modules/fast-xml-builder/src/fxb.js", "../node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js", "../node_modules/fast-xml-parser/src/fxp.js", "../node_modules/@azure/core-xml/src/xml.ts", "../node_modules/@azure/storage-blob/src/log.ts", "../node_modules/@azure/storage-common/src/BufferScheduler.ts", "../node_modules/@azure/storage-common/src/BuffersStream.ts", "../node_modules/@azure/storage-common/src/PooledBuffer.ts", "../node_modules/@azure/storage-common/src/cache.ts", "../node_modules/@azure/storage-common/src/policies/RequestPolicy.ts", "../node_modules/@azure/storage-common/src/utils/constants.ts", "../node_modules/@azure/storage-common/src/utils/utils.common.ts", "../node_modules/@azure/storage-common/src/policies/StorageBrowserPolicy.ts", "../node_modules/@azure/storage-common/src/StorageBrowserPolicyFactory.ts", "../node_modules/@azure/storage-common/src/policies/CredentialPolicy.ts", "../node_modules/@azure/storage-common/src/policies/AnonymousCredentialPolicy.ts", "../node_modules/@azure/storage-common/src/credentials/Credential.ts", "../node_modules/@azure/storage-common/src/credentials/AnonymousCredential.ts", "../node_modules/@azure/storage-common/src/credentials/StorageSharedKeyCredential.ts", "../node_modules/@azure/storage-common/src/utils/SharedKeyComparator.ts", "../node_modules/@azure/storage-common/src/policies/StorageSharedKeyCredentialPolicy.ts", "../node_modules/@azure/storage-common/src/log.ts", "../node_modules/@azure/storage-common/src/policies/StorageRetryPolicyType.ts", "../node_modules/@azure/storage-common/src/policies/StorageRetryPolicy.ts", "../node_modules/@azure/storage-common/src/StorageRetryPolicyFactory.ts", "../node_modules/@azure/storage-common/src/policies/StorageBrowserPolicyV2.ts", "../node_modules/@azure/storage-common/src/policies/StorageCorrectContentLengthPolicy.ts", "../node_modules/@azure/storage-common/src/policies/StorageRetryPolicyV2.ts", "../node_modules/@azure/storage-common/src/policies/StorageSharedKeyCredentialPolicyV2.ts", "../node_modules/@azure/storage-common/src/policies/StorageRequestFailureDetailsParserPolicy.ts", "../node_modules/@azure/storage-common/src/credentials/UserDelegationKeyCredential.ts", "../node_modules/@azure/storage-blob/src/utils/constants.ts", "../node_modules/@azure/storage-blob/src/Pipeline.ts", "../node_modules/@azure/storage-blob/src/generated/src/models/index.ts", "../node_modules/@azure/storage-blob/src/generated/src/models/mappers.ts", "../node_modules/@azure/storage-blob/src/generated/src/models/parameters.ts", "../node_modules/@azure/storage-blob/src/generated/src/operations/service.ts", "../node_modules/@azure/storage-blob/src/generated/src/operations/container.ts", "../node_modules/@azure/storage-blob/src/generated/src/operations/blob.ts", "../node_modules/@azure/storage-blob/src/generated/src/operations/pageBlob.ts", "../node_modules/@azure/storage-blob/src/generated/src/operations/appendBlob.ts", "../node_modules/@azure/storage-blob/src/generated/src/operations/blockBlob.ts", "../node_modules/@azure/storage-blob/src/generated/src/storageClient.ts", "../node_modules/@azure/storage-blob/src/StorageContextClient.ts", "../node_modules/@azure/storage-blob/src/utils/utils.common.ts", "../node_modules/@azure/storage-blob/src/StorageClient.ts", "../node_modules/@azure/storage-blob/src/utils/tracing.ts", "../node_modules/@azure/storage-blob/src/sas/BlobSASPermissions.ts", "../node_modules/@azure/storage-blob/src/sas/ContainerSASPermissions.ts", "../node_modules/@azure/storage-blob/src/sas/SasIPRange.ts", "../node_modules/@azure/storage-blob/src/sas/SASQueryParameters.ts", "../node_modules/@azure/storage-blob/src/sas/BlobSASSignatureValues.ts", "../node_modules/@azure/storage-blob/src/BlobLeaseClient.ts", "../node_modules/@azure/storage-blob/src/utils/RetriableReadableStream.ts", "../node_modules/@azure/storage-blob/src/BlobDownloadResponse.ts", "../node_modules/@azure/storage-blob/src/utils/BlobQuickQueryStream.ts", "../node_modules/@azure/storage-blob/src/internal-avro/AvroConstants.ts", "../node_modules/@azure/storage-blob/src/internal-avro/AvroParser.ts", "../node_modules/@azure/storage-blob/src/internal-avro/utils/utils.common.ts", "../node_modules/@azure/storage-blob/src/internal-avro/AvroReader.ts", "../node_modules/@azure/storage-blob/src/internal-avro/AvroReadable.ts", "../node_modules/@azure/storage-blob/src/internal-avro/AvroReadableFromStream.ts", "../node_modules/@azure/storage-blob/src/BlobQueryResponse.ts", "../node_modules/@azure/storage-blob/src/models.ts", "../node_modules/@azure/storage-blob/src/PageBlobRangeResponse.ts", "../node_modules/@azure/storage-blob/src/pollers/BlobStartCopyFromUrlPoller.ts", "../node_modules/@azure/storage-blob/src/Range.ts", "../node_modules/@azure/storage-blob/src/utils/Batch.ts", "../node_modules/@azure/storage-blob/src/utils/utils.ts", "../node_modules/@azure/storage-blob/src/Clients.ts", "../node_modules/@azure/storage-blob/src/utils/Mutex.ts", "../node_modules/@azure/storage-blob/src/generatedModels.ts", "../node_modules/@actions/cache/src/internal/shared/errors.ts", "../node_modules/@actions/cache/src/internal/uploadUtils.ts", "../node_modules/@actions/cache/src/internal/downloadUtils.ts", "../node_modules/@actions/cache/src/internal/requestUtils.ts", "../node_modules/@actions/cache/src/options.ts", "../node_modules/@actions/cache/src/internal/config.ts", "../node_modules/@actions/cache/src/internal/shared/user-agent.ts", "../node_modules/@actions/cache/src/generated/results/api/v1/cache.ts", "../node_modules/@actions/cache/src/generated/results/entities/v1/cachemetadata.ts", "../node_modules/@actions/cache/src/generated/results/entities/v1/cachescope.ts", "../node_modules/@actions/cache/src/generated/results/api/v1/cache.twirp-client.ts", "../node_modules/@actions/cache/src/internal/shared/util.ts", "../node_modules/@actions/cache/src/internal/shared/cacheTwirpClient.ts", "../node_modules/@actions/cache/src/internal/tar.ts", "../node_modules/@docker/actions-toolkit/src/index.ts", "../node_modules/@docker/actions-toolkit/src/docker/docker.ts", "../node_modules/@docker/actions-toolkit/src/context.ts", "../node_modules/@docker/actions-toolkit/src/exec.ts", "../node_modules/@docker/actions-toolkit/src/util.ts", "../node_modules/csv-parse/lib/api/CsvError.js", "../node_modules/csv-parse/lib/utils/is_object.js", "../node_modules/csv-parse/lib/api/normalize_columns_array.js", "../node_modules/csv-parse/lib/utils/ResizeableBuffer.js", "../node_modules/csv-parse/lib/api/init_state.js", "../node_modules/csv-parse/lib/utils/underscore.js", "../node_modules/csv-parse/lib/api/normalize_options.js", "../node_modules/csv-parse/lib/utils/delimiter_discover.js", "../node_modules/csv-parse/lib/api/index.js", "../node_modules/csv-parse/lib/sync.js", "../src/context.ts", "../src/main.ts"], - "sourcesContent": ["'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n", "module.exports = require('./lib/tunnel');\n", "module.exports = {\n kClose: Symbol('close'),\n kDestroy: Symbol('destroy'),\n kDispatch: Symbol('dispatch'),\n kUrl: Symbol('url'),\n kWriting: Symbol('writing'),\n kResuming: Symbol('resuming'),\n kQueue: Symbol('queue'),\n kConnect: Symbol('connect'),\n kConnecting: Symbol('connecting'),\n kKeepAliveDefaultTimeout: Symbol('default keep alive timeout'),\n kKeepAliveMaxTimeout: Symbol('max keep alive timeout'),\n kKeepAliveTimeoutThreshold: Symbol('keep alive timeout threshold'),\n kKeepAliveTimeoutValue: Symbol('keep alive timeout'),\n kKeepAlive: Symbol('keep alive'),\n kHeadersTimeout: Symbol('headers timeout'),\n kBodyTimeout: Symbol('body timeout'),\n kServerName: Symbol('server name'),\n kLocalAddress: Symbol('local address'),\n kHost: Symbol('host'),\n kNoRef: Symbol('no ref'),\n kBodyUsed: Symbol('used'),\n kBody: Symbol('abstracted request body'),\n kRunning: Symbol('running'),\n kBlocking: Symbol('blocking'),\n kPending: Symbol('pending'),\n kSize: Symbol('size'),\n kBusy: Symbol('busy'),\n kQueued: Symbol('queued'),\n kFree: Symbol('free'),\n kConnected: Symbol('connected'),\n kClosed: Symbol('closed'),\n kNeedDrain: Symbol('need drain'),\n kReset: Symbol('reset'),\n kDestroyed: Symbol.for('nodejs.stream.destroyed'),\n kResume: Symbol('resume'),\n kOnError: Symbol('on error'),\n kMaxHeadersSize: Symbol('max headers size'),\n kRunningIdx: Symbol('running index'),\n kPendingIdx: Symbol('pending index'),\n kError: Symbol('error'),\n kClients: Symbol('clients'),\n kClient: Symbol('client'),\n kParser: Symbol('parser'),\n kOnDestroyed: Symbol('destroy callbacks'),\n kPipelining: Symbol('pipelining'),\n kSocket: Symbol('socket'),\n kHostHeader: Symbol('host header'),\n kConnector: Symbol('connector'),\n kStrictContentLength: Symbol('strict content length'),\n kMaxRedirections: Symbol('maxRedirections'),\n kMaxRequests: Symbol('maxRequestsPerClient'),\n kProxy: Symbol('proxy agent options'),\n kCounter: Symbol('socket request counter'),\n kInterceptors: Symbol('dispatch interceptors'),\n kMaxResponseSize: Symbol('max response size'),\n kHTTP2Session: Symbol('http2Session'),\n kHTTP2SessionState: Symbol('http2Session state'),\n kRetryHandlerDefaultRetry: Symbol('retry agent default retry'),\n kConstruct: Symbol('constructable'),\n kListeners: Symbol('listeners'),\n kHTTPContext: Symbol('http context'),\n kMaxConcurrentStreams: Symbol('max concurrent streams'),\n kNoProxyAgent: Symbol('no proxy agent'),\n kHttpProxyAgent: Symbol('http proxy agent'),\n kHttpsProxyAgent: Symbol('https proxy agent')\n}\n", "'use strict'\n\nconst kUndiciError = Symbol.for('undici.error.UND_ERR')\nclass UndiciError extends Error {\n constructor (message) {\n super(message)\n this.name = 'UndiciError'\n this.code = 'UND_ERR'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kUndiciError] === true\n }\n\n [kUndiciError] = true\n}\n\nconst kConnectTimeoutError = Symbol.for('undici.error.UND_ERR_CONNECT_TIMEOUT')\nclass ConnectTimeoutError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'ConnectTimeoutError'\n this.message = message || 'Connect Timeout Error'\n this.code = 'UND_ERR_CONNECT_TIMEOUT'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kConnectTimeoutError] === true\n }\n\n [kConnectTimeoutError] = true\n}\n\nconst kHeadersTimeoutError = Symbol.for('undici.error.UND_ERR_HEADERS_TIMEOUT')\nclass HeadersTimeoutError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'HeadersTimeoutError'\n this.message = message || 'Headers Timeout Error'\n this.code = 'UND_ERR_HEADERS_TIMEOUT'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kHeadersTimeoutError] === true\n }\n\n [kHeadersTimeoutError] = true\n}\n\nconst kHeadersOverflowError = Symbol.for('undici.error.UND_ERR_HEADERS_OVERFLOW')\nclass HeadersOverflowError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'HeadersOverflowError'\n this.message = message || 'Headers Overflow Error'\n this.code = 'UND_ERR_HEADERS_OVERFLOW'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kHeadersOverflowError] === true\n }\n\n [kHeadersOverflowError] = true\n}\n\nconst kBodyTimeoutError = Symbol.for('undici.error.UND_ERR_BODY_TIMEOUT')\nclass BodyTimeoutError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'BodyTimeoutError'\n this.message = message || 'Body Timeout Error'\n this.code = 'UND_ERR_BODY_TIMEOUT'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kBodyTimeoutError] === true\n }\n\n [kBodyTimeoutError] = true\n}\n\nconst kResponseStatusCodeError = Symbol.for('undici.error.UND_ERR_RESPONSE_STATUS_CODE')\nclass ResponseStatusCodeError extends UndiciError {\n constructor (message, statusCode, headers, body) {\n super(message)\n this.name = 'ResponseStatusCodeError'\n this.message = message || 'Response Status Code Error'\n this.code = 'UND_ERR_RESPONSE_STATUS_CODE'\n this.body = body\n this.status = statusCode\n this.statusCode = statusCode\n this.headers = headers\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kResponseStatusCodeError] === true\n }\n\n [kResponseStatusCodeError] = true\n}\n\nconst kInvalidArgumentError = Symbol.for('undici.error.UND_ERR_INVALID_ARG')\nclass InvalidArgumentError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'InvalidArgumentError'\n this.message = message || 'Invalid Argument Error'\n this.code = 'UND_ERR_INVALID_ARG'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kInvalidArgumentError] === true\n }\n\n [kInvalidArgumentError] = true\n}\n\nconst kInvalidReturnValueError = Symbol.for('undici.error.UND_ERR_INVALID_RETURN_VALUE')\nclass InvalidReturnValueError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'InvalidReturnValueError'\n this.message = message || 'Invalid Return Value Error'\n this.code = 'UND_ERR_INVALID_RETURN_VALUE'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kInvalidReturnValueError] === true\n }\n\n [kInvalidReturnValueError] = true\n}\n\nconst kAbortError = Symbol.for('undici.error.UND_ERR_ABORT')\nclass AbortError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'AbortError'\n this.message = message || 'The operation was aborted'\n this.code = 'UND_ERR_ABORT'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kAbortError] === true\n }\n\n [kAbortError] = true\n}\n\nconst kRequestAbortedError = Symbol.for('undici.error.UND_ERR_ABORTED')\nclass RequestAbortedError extends AbortError {\n constructor (message) {\n super(message)\n this.name = 'AbortError'\n this.message = message || 'Request aborted'\n this.code = 'UND_ERR_ABORTED'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kRequestAbortedError] === true\n }\n\n [kRequestAbortedError] = true\n}\n\nconst kInformationalError = Symbol.for('undici.error.UND_ERR_INFO')\nclass InformationalError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'InformationalError'\n this.message = message || 'Request information'\n this.code = 'UND_ERR_INFO'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kInformationalError] === true\n }\n\n [kInformationalError] = true\n}\n\nconst kRequestContentLengthMismatchError = Symbol.for('undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH')\nclass RequestContentLengthMismatchError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'RequestContentLengthMismatchError'\n this.message = message || 'Request body length does not match content-length header'\n this.code = 'UND_ERR_REQ_CONTENT_LENGTH_MISMATCH'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kRequestContentLengthMismatchError] === true\n }\n\n [kRequestContentLengthMismatchError] = true\n}\n\nconst kResponseContentLengthMismatchError = Symbol.for('undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH')\nclass ResponseContentLengthMismatchError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'ResponseContentLengthMismatchError'\n this.message = message || 'Response body length does not match content-length header'\n this.code = 'UND_ERR_RES_CONTENT_LENGTH_MISMATCH'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kResponseContentLengthMismatchError] === true\n }\n\n [kResponseContentLengthMismatchError] = true\n}\n\nconst kClientDestroyedError = Symbol.for('undici.error.UND_ERR_DESTROYED')\nclass ClientDestroyedError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'ClientDestroyedError'\n this.message = message || 'The client is destroyed'\n this.code = 'UND_ERR_DESTROYED'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kClientDestroyedError] === true\n }\n\n [kClientDestroyedError] = true\n}\n\nconst kClientClosedError = Symbol.for('undici.error.UND_ERR_CLOSED')\nclass ClientClosedError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'ClientClosedError'\n this.message = message || 'The client is closed'\n this.code = 'UND_ERR_CLOSED'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kClientClosedError] === true\n }\n\n [kClientClosedError] = true\n}\n\nconst kSocketError = Symbol.for('undici.error.UND_ERR_SOCKET')\nclass SocketError extends UndiciError {\n constructor (message, socket) {\n super(message)\n this.name = 'SocketError'\n this.message = message || 'Socket error'\n this.code = 'UND_ERR_SOCKET'\n this.socket = socket\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kSocketError] === true\n }\n\n [kSocketError] = true\n}\n\nconst kNotSupportedError = Symbol.for('undici.error.UND_ERR_NOT_SUPPORTED')\nclass NotSupportedError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'NotSupportedError'\n this.message = message || 'Not supported error'\n this.code = 'UND_ERR_NOT_SUPPORTED'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kNotSupportedError] === true\n }\n\n [kNotSupportedError] = true\n}\n\nconst kBalancedPoolMissingUpstreamError = Symbol.for('undici.error.UND_ERR_BPL_MISSING_UPSTREAM')\nclass BalancedPoolMissingUpstreamError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'MissingUpstreamError'\n this.message = message || 'No upstream has been added to the BalancedPool'\n this.code = 'UND_ERR_BPL_MISSING_UPSTREAM'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kBalancedPoolMissingUpstreamError] === true\n }\n\n [kBalancedPoolMissingUpstreamError] = true\n}\n\nconst kHTTPParserError = Symbol.for('undici.error.UND_ERR_HTTP_PARSER')\nclass HTTPParserError extends Error {\n constructor (message, code, data) {\n super(message)\n this.name = 'HTTPParserError'\n this.code = code ? `HPE_${code}` : undefined\n this.data = data ? data.toString() : undefined\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kHTTPParserError] === true\n }\n\n [kHTTPParserError] = true\n}\n\nconst kResponseExceededMaxSizeError = Symbol.for('undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE')\nclass ResponseExceededMaxSizeError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'ResponseExceededMaxSizeError'\n this.message = message || 'Response content exceeded max size'\n this.code = 'UND_ERR_RES_EXCEEDED_MAX_SIZE'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kResponseExceededMaxSizeError] === true\n }\n\n [kResponseExceededMaxSizeError] = true\n}\n\nconst kRequestRetryError = Symbol.for('undici.error.UND_ERR_REQ_RETRY')\nclass RequestRetryError extends UndiciError {\n constructor (message, code, { headers, data }) {\n super(message)\n this.name = 'RequestRetryError'\n this.message = message || 'Request retry error'\n this.code = 'UND_ERR_REQ_RETRY'\n this.statusCode = code\n this.data = data\n this.headers = headers\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kRequestRetryError] === true\n }\n\n [kRequestRetryError] = true\n}\n\nconst kResponseError = Symbol.for('undici.error.UND_ERR_RESPONSE')\nclass ResponseError extends UndiciError {\n constructor (message, code, { headers, data }) {\n super(message)\n this.name = 'ResponseError'\n this.message = message || 'Response error'\n this.code = 'UND_ERR_RESPONSE'\n this.statusCode = code\n this.data = data\n this.headers = headers\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kResponseError] === true\n }\n\n [kResponseError] = true\n}\n\nconst kSecureProxyConnectionError = Symbol.for('undici.error.UND_ERR_PRX_TLS')\nclass SecureProxyConnectionError extends UndiciError {\n constructor (cause, message, options) {\n super(message, { cause, ...(options ?? {}) })\n this.name = 'SecureProxyConnectionError'\n this.message = message || 'Secure Proxy Connection failed'\n this.code = 'UND_ERR_PRX_TLS'\n this.cause = cause\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kSecureProxyConnectionError] === true\n }\n\n [kSecureProxyConnectionError] = true\n}\n\nconst kMessageSizeExceededError = Symbol.for('undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED')\nclass MessageSizeExceededError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'MessageSizeExceededError'\n this.message = message || 'Max decompressed message size exceeded'\n this.code = 'UND_ERR_WS_MESSAGE_SIZE_EXCEEDED'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kMessageSizeExceededError] === true\n }\n\n get [kMessageSizeExceededError] () {\n return true\n }\n}\n\nmodule.exports = {\n AbortError,\n HTTPParserError,\n UndiciError,\n HeadersTimeoutError,\n HeadersOverflowError,\n BodyTimeoutError,\n RequestContentLengthMismatchError,\n ConnectTimeoutError,\n ResponseStatusCodeError,\n InvalidArgumentError,\n InvalidReturnValueError,\n RequestAbortedError,\n ClientDestroyedError,\n ClientClosedError,\n InformationalError,\n SocketError,\n NotSupportedError,\n ResponseContentLengthMismatchError,\n BalancedPoolMissingUpstreamError,\n ResponseExceededMaxSizeError,\n RequestRetryError,\n ResponseError,\n SecureProxyConnectionError,\n MessageSizeExceededError\n}\n", "'use strict'\n\n/** @type {Record} */\nconst headerNameLowerCasedRecord = {}\n\n// https://developer.mozilla.org/docs/Web/HTTP/Headers\nconst wellknownHeaderNames = [\n 'Accept',\n 'Accept-Encoding',\n 'Accept-Language',\n 'Accept-Ranges',\n 'Access-Control-Allow-Credentials',\n 'Access-Control-Allow-Headers',\n 'Access-Control-Allow-Methods',\n 'Access-Control-Allow-Origin',\n 'Access-Control-Expose-Headers',\n 'Access-Control-Max-Age',\n 'Access-Control-Request-Headers',\n 'Access-Control-Request-Method',\n 'Age',\n 'Allow',\n 'Alt-Svc',\n 'Alt-Used',\n 'Authorization',\n 'Cache-Control',\n 'Clear-Site-Data',\n 'Connection',\n 'Content-Disposition',\n 'Content-Encoding',\n 'Content-Language',\n 'Content-Length',\n 'Content-Location',\n 'Content-Range',\n 'Content-Security-Policy',\n 'Content-Security-Policy-Report-Only',\n 'Content-Type',\n 'Cookie',\n 'Cross-Origin-Embedder-Policy',\n 'Cross-Origin-Opener-Policy',\n 'Cross-Origin-Resource-Policy',\n 'Date',\n 'Device-Memory',\n 'Downlink',\n 'ECT',\n 'ETag',\n 'Expect',\n 'Expect-CT',\n 'Expires',\n 'Forwarded',\n 'From',\n 'Host',\n 'If-Match',\n 'If-Modified-Since',\n 'If-None-Match',\n 'If-Range',\n 'If-Unmodified-Since',\n 'Keep-Alive',\n 'Last-Modified',\n 'Link',\n 'Location',\n 'Max-Forwards',\n 'Origin',\n 'Permissions-Policy',\n 'Pragma',\n 'Proxy-Authenticate',\n 'Proxy-Authorization',\n 'RTT',\n 'Range',\n 'Referer',\n 'Referrer-Policy',\n 'Refresh',\n 'Retry-After',\n 'Sec-WebSocket-Accept',\n 'Sec-WebSocket-Extensions',\n 'Sec-WebSocket-Key',\n 'Sec-WebSocket-Protocol',\n 'Sec-WebSocket-Version',\n 'Server',\n 'Server-Timing',\n 'Service-Worker-Allowed',\n 'Service-Worker-Navigation-Preload',\n 'Set-Cookie',\n 'SourceMap',\n 'Strict-Transport-Security',\n 'Supports-Loading-Mode',\n 'TE',\n 'Timing-Allow-Origin',\n 'Trailer',\n 'Transfer-Encoding',\n 'Upgrade',\n 'Upgrade-Insecure-Requests',\n 'User-Agent',\n 'Vary',\n 'Via',\n 'WWW-Authenticate',\n 'X-Content-Type-Options',\n 'X-DNS-Prefetch-Control',\n 'X-Frame-Options',\n 'X-Permitted-Cross-Domain-Policies',\n 'X-Powered-By',\n 'X-Requested-With',\n 'X-XSS-Protection'\n]\n\nfor (let i = 0; i < wellknownHeaderNames.length; ++i) {\n const key = wellknownHeaderNames[i]\n const lowerCasedKey = key.toLowerCase()\n headerNameLowerCasedRecord[key] = headerNameLowerCasedRecord[lowerCasedKey] =\n lowerCasedKey\n}\n\n// Note: object prototypes should not be able to be referenced. e.g. `Object#hasOwnProperty`.\nObject.setPrototypeOf(headerNameLowerCasedRecord, null)\n\nmodule.exports = {\n wellknownHeaderNames,\n headerNameLowerCasedRecord\n}\n", "'use strict'\n\nconst {\n wellknownHeaderNames,\n headerNameLowerCasedRecord\n} = require('./constants')\n\nclass TstNode {\n /** @type {any} */\n value = null\n /** @type {null | TstNode} */\n left = null\n /** @type {null | TstNode} */\n middle = null\n /** @type {null | TstNode} */\n right = null\n /** @type {number} */\n code\n /**\n * @param {string} key\n * @param {any} value\n * @param {number} index\n */\n constructor (key, value, index) {\n if (index === undefined || index >= key.length) {\n throw new TypeError('Unreachable')\n }\n const code = this.code = key.charCodeAt(index)\n // check code is ascii string\n if (code > 0x7F) {\n throw new TypeError('key must be ascii string')\n }\n if (key.length !== ++index) {\n this.middle = new TstNode(key, value, index)\n } else {\n this.value = value\n }\n }\n\n /**\n * @param {string} key\n * @param {any} value\n */\n add (key, value) {\n const length = key.length\n if (length === 0) {\n throw new TypeError('Unreachable')\n }\n let index = 0\n let node = this\n while (true) {\n const code = key.charCodeAt(index)\n // check code is ascii string\n if (code > 0x7F) {\n throw new TypeError('key must be ascii string')\n }\n if (node.code === code) {\n if (length === ++index) {\n node.value = value\n break\n } else if (node.middle !== null) {\n node = node.middle\n } else {\n node.middle = new TstNode(key, value, index)\n break\n }\n } else if (node.code < code) {\n if (node.left !== null) {\n node = node.left\n } else {\n node.left = new TstNode(key, value, index)\n break\n }\n } else if (node.right !== null) {\n node = node.right\n } else {\n node.right = new TstNode(key, value, index)\n break\n }\n }\n }\n\n /**\n * @param {Uint8Array} key\n * @return {TstNode | null}\n */\n search (key) {\n const keylength = key.length\n let index = 0\n let node = this\n while (node !== null && index < keylength) {\n let code = key[index]\n // A-Z\n // First check if it is bigger than 0x5a.\n // Lowercase letters have higher char codes than uppercase ones.\n // Also we assume that headers will mostly contain lowercase characters.\n if (code <= 0x5a && code >= 0x41) {\n // Lowercase for uppercase.\n code |= 32\n }\n while (node !== null) {\n if (code === node.code) {\n if (keylength === ++index) {\n // Returns Node since it is the last key.\n return node\n }\n node = node.middle\n break\n }\n node = node.code < code ? node.left : node.right\n }\n }\n return null\n }\n}\n\nclass TernarySearchTree {\n /** @type {TstNode | null} */\n node = null\n\n /**\n * @param {string} key\n * @param {any} value\n * */\n insert (key, value) {\n if (this.node === null) {\n this.node = new TstNode(key, value, 0)\n } else {\n this.node.add(key, value)\n }\n }\n\n /**\n * @param {Uint8Array} key\n * @return {any}\n */\n lookup (key) {\n return this.node?.search(key)?.value ?? null\n }\n}\n\nconst tree = new TernarySearchTree()\n\nfor (let i = 0; i < wellknownHeaderNames.length; ++i) {\n const key = headerNameLowerCasedRecord[wellknownHeaderNames[i]]\n tree.insert(key, key)\n}\n\nmodule.exports = {\n TernarySearchTree,\n tree\n}\n", "'use strict'\n\nconst assert = require('node:assert')\nconst { kDestroyed, kBodyUsed, kListeners, kBody } = require('./symbols')\nconst { IncomingMessage } = require('node:http')\nconst stream = require('node:stream')\nconst net = require('node:net')\nconst { Blob } = require('node:buffer')\nconst nodeUtil = require('node:util')\nconst { stringify } = require('node:querystring')\nconst { EventEmitter: EE } = require('node:events')\nconst { InvalidArgumentError } = require('./errors')\nconst { headerNameLowerCasedRecord } = require('./constants')\nconst { tree } = require('./tree')\n\nconst [nodeMajor, nodeMinor] = process.versions.node.split('.').map(v => Number(v))\n\nclass BodyAsyncIterable {\n constructor (body) {\n this[kBody] = body\n this[kBodyUsed] = false\n }\n\n async * [Symbol.asyncIterator] () {\n assert(!this[kBodyUsed], 'disturbed')\n this[kBodyUsed] = true\n yield * this[kBody]\n }\n}\n\nfunction wrapRequestBody (body) {\n if (isStream(body)) {\n // TODO (fix): Provide some way for the user to cache the file to e.g. /tmp\n // so that it can be dispatched again?\n // TODO (fix): Do we need 100-expect support to provide a way to do this properly?\n if (bodyLength(body) === 0) {\n body\n .on('data', function () {\n assert(false)\n })\n }\n\n if (typeof body.readableDidRead !== 'boolean') {\n body[kBodyUsed] = false\n EE.prototype.on.call(body, 'data', function () {\n this[kBodyUsed] = true\n })\n }\n\n return body\n } else if (body && typeof body.pipeTo === 'function') {\n // TODO (fix): We can't access ReadableStream internal state\n // to determine whether or not it has been disturbed. This is just\n // a workaround.\n return new BodyAsyncIterable(body)\n } else if (\n body &&\n typeof body !== 'string' &&\n !ArrayBuffer.isView(body) &&\n isIterable(body)\n ) {\n // TODO: Should we allow re-using iterable if !this.opts.idempotent\n // or through some other flag?\n return new BodyAsyncIterable(body)\n } else {\n return body\n }\n}\n\nfunction nop () {}\n\nfunction isStream (obj) {\n return obj && typeof obj === 'object' && typeof obj.pipe === 'function' && typeof obj.on === 'function'\n}\n\n// based on https://github.com/node-fetch/fetch-blob/blob/8ab587d34080de94140b54f07168451e7d0b655e/index.js#L229-L241 (MIT License)\nfunction isBlobLike (object) {\n if (object === null) {\n return false\n } else if (object instanceof Blob) {\n return true\n } else if (typeof object !== 'object') {\n return false\n } else {\n const sTag = object[Symbol.toStringTag]\n\n return (sTag === 'Blob' || sTag === 'File') && (\n ('stream' in object && typeof object.stream === 'function') ||\n ('arrayBuffer' in object && typeof object.arrayBuffer === 'function')\n )\n }\n}\n\nfunction buildURL (url, queryParams) {\n if (url.includes('?') || url.includes('#')) {\n throw new Error('Query params cannot be passed when url already contains \"?\" or \"#\".')\n }\n\n const stringified = stringify(queryParams)\n\n if (stringified) {\n url += '?' + stringified\n }\n\n return url\n}\n\nfunction isValidPort (port) {\n const value = parseInt(port, 10)\n return (\n value === Number(port) &&\n value >= 0 &&\n value <= 65535\n )\n}\n\nfunction isHttpOrHttpsPrefixed (value) {\n return (\n value != null &&\n value[0] === 'h' &&\n value[1] === 't' &&\n value[2] === 't' &&\n value[3] === 'p' &&\n (\n value[4] === ':' ||\n (\n value[4] === 's' &&\n value[5] === ':'\n )\n )\n )\n}\n\nfunction parseURL (url) {\n if (typeof url === 'string') {\n url = new URL(url)\n\n if (!isHttpOrHttpsPrefixed(url.origin || url.protocol)) {\n throw new InvalidArgumentError('Invalid URL protocol: the URL must start with `http:` or `https:`.')\n }\n\n return url\n }\n\n if (!url || typeof url !== 'object') {\n throw new InvalidArgumentError('Invalid URL: The URL argument must be a non-null object.')\n }\n\n if (!(url instanceof URL)) {\n if (url.port != null && url.port !== '' && isValidPort(url.port) === false) {\n throw new InvalidArgumentError('Invalid URL: port must be a valid integer or a string representation of an integer.')\n }\n\n if (url.path != null && typeof url.path !== 'string') {\n throw new InvalidArgumentError('Invalid URL path: the path must be a string or null/undefined.')\n }\n\n if (url.pathname != null && typeof url.pathname !== 'string') {\n throw new InvalidArgumentError('Invalid URL pathname: the pathname must be a string or null/undefined.')\n }\n\n if (url.hostname != null && typeof url.hostname !== 'string') {\n throw new InvalidArgumentError('Invalid URL hostname: the hostname must be a string or null/undefined.')\n }\n\n if (url.origin != null && typeof url.origin !== 'string') {\n throw new InvalidArgumentError('Invalid URL origin: the origin must be a string or null/undefined.')\n }\n\n if (!isHttpOrHttpsPrefixed(url.origin || url.protocol)) {\n throw new InvalidArgumentError('Invalid URL protocol: the URL must start with `http:` or `https:`.')\n }\n\n const port = url.port != null\n ? url.port\n : (url.protocol === 'https:' ? 443 : 80)\n let origin = url.origin != null\n ? url.origin\n : `${url.protocol || ''}//${url.hostname || ''}:${port}`\n let path = url.path != null\n ? url.path\n : `${url.pathname || ''}${url.search || ''}`\n\n if (origin[origin.length - 1] === '/') {\n origin = origin.slice(0, origin.length - 1)\n }\n\n if (path && path[0] !== '/') {\n path = `/${path}`\n }\n // new URL(path, origin) is unsafe when `path` contains an absolute URL\n // From https://developer.mozilla.org/en-US/docs/Web/API/URL/URL:\n // If first parameter is a relative URL, second param is required, and will be used as the base URL.\n // If first parameter is an absolute URL, a given second param will be ignored.\n return new URL(`${origin}${path}`)\n }\n\n if (!isHttpOrHttpsPrefixed(url.origin || url.protocol)) {\n throw new InvalidArgumentError('Invalid URL protocol: the URL must start with `http:` or `https:`.')\n }\n\n return url\n}\n\nfunction parseOrigin (url) {\n url = parseURL(url)\n\n if (url.pathname !== '/' || url.search || url.hash) {\n throw new InvalidArgumentError('invalid url')\n }\n\n return url\n}\n\nfunction getHostname (host) {\n if (host[0] === '[') {\n const idx = host.indexOf(']')\n\n assert(idx !== -1)\n return host.substring(1, idx)\n }\n\n const idx = host.indexOf(':')\n if (idx === -1) return host\n\n return host.substring(0, idx)\n}\n\n// IP addresses are not valid server names per RFC6066\n// > Currently, the only server names supported are DNS hostnames\nfunction getServerName (host) {\n if (!host) {\n return null\n }\n\n assert(typeof host === 'string')\n\n const servername = getHostname(host)\n if (net.isIP(servername)) {\n return ''\n }\n\n return servername\n}\n\nfunction deepClone (obj) {\n return JSON.parse(JSON.stringify(obj))\n}\n\nfunction isAsyncIterable (obj) {\n return !!(obj != null && typeof obj[Symbol.asyncIterator] === 'function')\n}\n\nfunction isIterable (obj) {\n return !!(obj != null && (typeof obj[Symbol.iterator] === 'function' || typeof obj[Symbol.asyncIterator] === 'function'))\n}\n\nfunction bodyLength (body) {\n if (body == null) {\n return 0\n } else if (isStream(body)) {\n const state = body._readableState\n return state && state.objectMode === false && state.ended === true && Number.isFinite(state.length)\n ? state.length\n : null\n } else if (isBlobLike(body)) {\n return body.size != null ? body.size : null\n } else if (isBuffer(body)) {\n return body.byteLength\n }\n\n return null\n}\n\nfunction isDestroyed (body) {\n return body && !!(body.destroyed || body[kDestroyed] || (stream.isDestroyed?.(body)))\n}\n\nfunction destroy (stream, err) {\n if (stream == null || !isStream(stream) || isDestroyed(stream)) {\n return\n }\n\n if (typeof stream.destroy === 'function') {\n if (Object.getPrototypeOf(stream).constructor === IncomingMessage) {\n // See: https://github.com/nodejs/node/pull/38505/files\n stream.socket = null\n }\n\n stream.destroy(err)\n } else if (err) {\n queueMicrotask(() => {\n stream.emit('error', err)\n })\n }\n\n if (stream.destroyed !== true) {\n stream[kDestroyed] = true\n }\n}\n\nconst KEEPALIVE_TIMEOUT_EXPR = /timeout=(\\d+)/\nfunction parseKeepAliveTimeout (val) {\n const m = val.toString().match(KEEPALIVE_TIMEOUT_EXPR)\n return m ? parseInt(m[1], 10) * 1000 : null\n}\n\n/**\n * Retrieves a header name and returns its lowercase value.\n * @param {string | Buffer} value Header name\n * @returns {string}\n */\nfunction headerNameToString (value) {\n return typeof value === 'string'\n ? headerNameLowerCasedRecord[value] ?? value.toLowerCase()\n : tree.lookup(value) ?? value.toString('latin1').toLowerCase()\n}\n\n/**\n * Receive the buffer as a string and return its lowercase value.\n * @param {Buffer} value Header name\n * @returns {string}\n */\nfunction bufferToLowerCasedHeaderName (value) {\n return tree.lookup(value) ?? value.toString('latin1').toLowerCase()\n}\n\n/**\n * @param {Record | (Buffer | string | (Buffer | string)[])[]} headers\n * @param {Record} [obj]\n * @returns {Record}\n */\nfunction parseHeaders (headers, obj) {\n if (obj === undefined) obj = {}\n for (let i = 0; i < headers.length; i += 2) {\n const key = headerNameToString(headers[i])\n let val = obj[key]\n\n if (val) {\n if (typeof val === 'string') {\n val = [val]\n obj[key] = val\n }\n val.push(headers[i + 1].toString('utf8'))\n } else {\n const headersValue = headers[i + 1]\n if (typeof headersValue === 'string') {\n obj[key] = headersValue\n } else {\n obj[key] = Array.isArray(headersValue) ? headersValue.map(x => x.toString('utf8')) : headersValue.toString('utf8')\n }\n }\n }\n\n // See https://github.com/nodejs/node/pull/46528\n if ('content-length' in obj && 'content-disposition' in obj) {\n obj['content-disposition'] = Buffer.from(obj['content-disposition']).toString('latin1')\n }\n\n return obj\n}\n\nfunction parseRawHeaders (headers) {\n const len = headers.length\n const ret = new Array(len)\n\n let hasContentLength = false\n let contentDispositionIdx = -1\n let key\n let val\n let kLen = 0\n\n for (let n = 0; n < headers.length; n += 2) {\n key = headers[n]\n val = headers[n + 1]\n\n typeof key !== 'string' && (key = key.toString())\n typeof val !== 'string' && (val = val.toString('utf8'))\n\n kLen = key.length\n if (kLen === 14 && key[7] === '-' && (key === 'content-length' || key.toLowerCase() === 'content-length')) {\n hasContentLength = true\n } else if (kLen === 19 && key[7] === '-' && (key === 'content-disposition' || key.toLowerCase() === 'content-disposition')) {\n contentDispositionIdx = n + 1\n }\n ret[n] = key\n ret[n + 1] = val\n }\n\n // See https://github.com/nodejs/node/pull/46528\n if (hasContentLength && contentDispositionIdx !== -1) {\n ret[contentDispositionIdx] = Buffer.from(ret[contentDispositionIdx]).toString('latin1')\n }\n\n return ret\n}\n\nfunction isBuffer (buffer) {\n // See, https://github.com/mcollina/undici/pull/319\n return buffer instanceof Uint8Array || Buffer.isBuffer(buffer)\n}\n\nfunction validateHandler (handler, method, upgrade) {\n if (!handler || typeof handler !== 'object') {\n throw new InvalidArgumentError('handler must be an object')\n }\n\n if (typeof handler.onConnect !== 'function') {\n throw new InvalidArgumentError('invalid onConnect method')\n }\n\n if (typeof handler.onError !== 'function') {\n throw new InvalidArgumentError('invalid onError method')\n }\n\n if (typeof handler.onBodySent !== 'function' && handler.onBodySent !== undefined) {\n throw new InvalidArgumentError('invalid onBodySent method')\n }\n\n if (upgrade || method === 'CONNECT') {\n if (typeof handler.onUpgrade !== 'function') {\n throw new InvalidArgumentError('invalid onUpgrade method')\n }\n } else {\n if (typeof handler.onHeaders !== 'function') {\n throw new InvalidArgumentError('invalid onHeaders method')\n }\n\n if (typeof handler.onData !== 'function') {\n throw new InvalidArgumentError('invalid onData method')\n }\n\n if (typeof handler.onComplete !== 'function') {\n throw new InvalidArgumentError('invalid onComplete method')\n }\n }\n}\n\n// A body is disturbed if it has been read from and it cannot\n// be re-used without losing state or data.\nfunction isDisturbed (body) {\n // TODO (fix): Why is body[kBodyUsed] needed?\n return !!(body && (stream.isDisturbed(body) || body[kBodyUsed]))\n}\n\nfunction isErrored (body) {\n return !!(body && stream.isErrored(body))\n}\n\nfunction isReadable (body) {\n return !!(body && stream.isReadable(body))\n}\n\nfunction getSocketInfo (socket) {\n return {\n localAddress: socket.localAddress,\n localPort: socket.localPort,\n remoteAddress: socket.remoteAddress,\n remotePort: socket.remotePort,\n remoteFamily: socket.remoteFamily,\n timeout: socket.timeout,\n bytesWritten: socket.bytesWritten,\n bytesRead: socket.bytesRead\n }\n}\n\n/** @type {globalThis['ReadableStream']} */\nfunction ReadableStreamFrom (iterable) {\n // We cannot use ReadableStream.from here because it does not return a byte stream.\n\n let iterator\n return new ReadableStream(\n {\n async start () {\n iterator = iterable[Symbol.asyncIterator]()\n },\n async pull (controller) {\n const { done, value } = await iterator.next()\n if (done) {\n queueMicrotask(() => {\n controller.close()\n controller.byobRequest?.respond(0)\n })\n } else {\n const buf = Buffer.isBuffer(value) ? value : Buffer.from(value)\n if (buf.byteLength) {\n controller.enqueue(new Uint8Array(buf))\n }\n }\n return controller.desiredSize > 0\n },\n async cancel (reason) {\n await iterator.return()\n },\n type: 'bytes'\n }\n )\n}\n\n// The chunk should be a FormData instance and contains\n// all the required methods.\nfunction isFormDataLike (object) {\n return (\n object &&\n typeof object === 'object' &&\n typeof object.append === 'function' &&\n typeof object.delete === 'function' &&\n typeof object.get === 'function' &&\n typeof object.getAll === 'function' &&\n typeof object.has === 'function' &&\n typeof object.set === 'function' &&\n object[Symbol.toStringTag] === 'FormData'\n )\n}\n\nfunction addAbortListener (signal, listener) {\n if ('addEventListener' in signal) {\n signal.addEventListener('abort', listener, { once: true })\n return () => signal.removeEventListener('abort', listener)\n }\n signal.addListener('abort', listener)\n return () => signal.removeListener('abort', listener)\n}\n\nconst hasToWellFormed = typeof String.prototype.toWellFormed === 'function'\nconst hasIsWellFormed = typeof String.prototype.isWellFormed === 'function'\n\n/**\n * @param {string} val\n */\nfunction toUSVString (val) {\n return hasToWellFormed ? `${val}`.toWellFormed() : nodeUtil.toUSVString(val)\n}\n\n/**\n * @param {string} val\n */\n// TODO: move this to webidl\nfunction isUSVString (val) {\n return hasIsWellFormed ? `${val}`.isWellFormed() : toUSVString(val) === `${val}`\n}\n\n/**\n * @see https://tools.ietf.org/html/rfc7230#section-3.2.6\n * @param {number} c\n */\nfunction isTokenCharCode (c) {\n switch (c) {\n case 0x22:\n case 0x28:\n case 0x29:\n case 0x2c:\n case 0x2f:\n case 0x3a:\n case 0x3b:\n case 0x3c:\n case 0x3d:\n case 0x3e:\n case 0x3f:\n case 0x40:\n case 0x5b:\n case 0x5c:\n case 0x5d:\n case 0x7b:\n case 0x7d:\n // DQUOTE and \"(),/:;<=>?@[\\]{}\"\n return false\n default:\n // VCHAR %x21-7E\n return c >= 0x21 && c <= 0x7e\n }\n}\n\n/**\n * @param {string} characters\n */\nfunction isValidHTTPToken (characters) {\n if (characters.length === 0) {\n return false\n }\n for (let i = 0; i < characters.length; ++i) {\n if (!isTokenCharCode(characters.charCodeAt(i))) {\n return false\n }\n }\n return true\n}\n\n// headerCharRegex have been lifted from\n// https://github.com/nodejs/node/blob/main/lib/_http_common.js\n\n/**\n * Matches if val contains an invalid field-vchar\n * field-value = *( field-content / obs-fold )\n * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]\n * field-vchar = VCHAR / obs-text\n */\nconst headerCharRegex = /[^\\t\\x20-\\x7e\\x80-\\xff]/\n\n/**\n * @param {string} characters\n */\nfunction isValidHeaderValue (characters) {\n return !headerCharRegex.test(characters)\n}\n\n// Parsed accordingly to RFC 9110\n// https://www.rfc-editor.org/rfc/rfc9110#field.content-range\nfunction parseRangeHeader (range) {\n if (range == null || range === '') return { start: 0, end: null, size: null }\n\n const m = range ? range.match(/^bytes (\\d+)-(\\d+)\\/(\\d+)?$/) : null\n return m\n ? {\n start: parseInt(m[1]),\n end: m[2] ? parseInt(m[2]) : null,\n size: m[3] ? parseInt(m[3]) : null\n }\n : null\n}\n\nfunction addListener (obj, name, listener) {\n const listeners = (obj[kListeners] ??= [])\n listeners.push([name, listener])\n obj.on(name, listener)\n return obj\n}\n\nfunction removeAllListeners (obj) {\n for (const [name, listener] of obj[kListeners] ?? []) {\n obj.removeListener(name, listener)\n }\n obj[kListeners] = null\n}\n\nfunction errorRequest (client, request, err) {\n try {\n request.onError(err)\n assert(request.aborted)\n } catch (err) {\n client.emit('error', err)\n }\n}\n\nconst kEnumerableProperty = Object.create(null)\nkEnumerableProperty.enumerable = true\n\nconst normalizedMethodRecordsBase = {\n delete: 'DELETE',\n DELETE: 'DELETE',\n get: 'GET',\n GET: 'GET',\n head: 'HEAD',\n HEAD: 'HEAD',\n options: 'OPTIONS',\n OPTIONS: 'OPTIONS',\n post: 'POST',\n POST: 'POST',\n put: 'PUT',\n PUT: 'PUT'\n}\n\nconst normalizedMethodRecords = {\n ...normalizedMethodRecordsBase,\n patch: 'patch',\n PATCH: 'PATCH'\n}\n\n// Note: object prototypes should not be able to be referenced. e.g. `Object#hasOwnProperty`.\nObject.setPrototypeOf(normalizedMethodRecordsBase, null)\nObject.setPrototypeOf(normalizedMethodRecords, null)\n\nmodule.exports = {\n kEnumerableProperty,\n nop,\n isDisturbed,\n isErrored,\n isReadable,\n toUSVString,\n isUSVString,\n isBlobLike,\n parseOrigin,\n parseURL,\n getServerName,\n isStream,\n isIterable,\n isAsyncIterable,\n isDestroyed,\n headerNameToString,\n bufferToLowerCasedHeaderName,\n addListener,\n removeAllListeners,\n errorRequest,\n parseRawHeaders,\n parseHeaders,\n parseKeepAliveTimeout,\n destroy,\n bodyLength,\n deepClone,\n ReadableStreamFrom,\n isBuffer,\n validateHandler,\n getSocketInfo,\n isFormDataLike,\n buildURL,\n addAbortListener,\n isValidHTTPToken,\n isValidHeaderValue,\n isTokenCharCode,\n parseRangeHeader,\n normalizedMethodRecordsBase,\n normalizedMethodRecords,\n isValidPort,\n isHttpOrHttpsPrefixed,\n nodeMajor,\n nodeMinor,\n safeHTTPMethods: ['GET', 'HEAD', 'OPTIONS', 'TRACE'],\n wrapRequestBody\n}\n", "'use strict'\nconst diagnosticsChannel = require('node:diagnostics_channel')\nconst util = require('node:util')\n\nconst undiciDebugLog = util.debuglog('undici')\nconst fetchDebuglog = util.debuglog('fetch')\nconst websocketDebuglog = util.debuglog('websocket')\nlet isClientSet = false\nconst channels = {\n // Client\n beforeConnect: diagnosticsChannel.channel('undici:client:beforeConnect'),\n connected: diagnosticsChannel.channel('undici:client:connected'),\n connectError: diagnosticsChannel.channel('undici:client:connectError'),\n sendHeaders: diagnosticsChannel.channel('undici:client:sendHeaders'),\n // Request\n create: diagnosticsChannel.channel('undici:request:create'),\n bodySent: diagnosticsChannel.channel('undici:request:bodySent'),\n headers: diagnosticsChannel.channel('undici:request:headers'),\n trailers: diagnosticsChannel.channel('undici:request:trailers'),\n error: diagnosticsChannel.channel('undici:request:error'),\n // WebSocket\n open: diagnosticsChannel.channel('undici:websocket:open'),\n close: diagnosticsChannel.channel('undici:websocket:close'),\n socketError: diagnosticsChannel.channel('undici:websocket:socket_error'),\n ping: diagnosticsChannel.channel('undici:websocket:ping'),\n pong: diagnosticsChannel.channel('undici:websocket:pong')\n}\n\nif (undiciDebugLog.enabled || fetchDebuglog.enabled) {\n const debuglog = fetchDebuglog.enabled ? fetchDebuglog : undiciDebugLog\n\n // Track all Client events\n diagnosticsChannel.channel('undici:client:beforeConnect').subscribe(evt => {\n const {\n connectParams: { version, protocol, port, host }\n } = evt\n debuglog(\n 'connecting to %s using %s%s',\n `${host}${port ? `:${port}` : ''}`,\n protocol,\n version\n )\n })\n\n diagnosticsChannel.channel('undici:client:connected').subscribe(evt => {\n const {\n connectParams: { version, protocol, port, host }\n } = evt\n debuglog(\n 'connected to %s using %s%s',\n `${host}${port ? `:${port}` : ''}`,\n protocol,\n version\n )\n })\n\n diagnosticsChannel.channel('undici:client:connectError').subscribe(evt => {\n const {\n connectParams: { version, protocol, port, host },\n error\n } = evt\n debuglog(\n 'connection to %s using %s%s errored - %s',\n `${host}${port ? `:${port}` : ''}`,\n protocol,\n version,\n error.message\n )\n })\n\n diagnosticsChannel.channel('undici:client:sendHeaders').subscribe(evt => {\n const {\n request: { method, path, origin }\n } = evt\n debuglog('sending request to %s %s/%s', method, origin, path)\n })\n\n // Track Request events\n diagnosticsChannel.channel('undici:request:headers').subscribe(evt => {\n const {\n request: { method, path, origin },\n response: { statusCode }\n } = evt\n debuglog(\n 'received response to %s %s/%s - HTTP %d',\n method,\n origin,\n path,\n statusCode\n )\n })\n\n diagnosticsChannel.channel('undici:request:trailers').subscribe(evt => {\n const {\n request: { method, path, origin }\n } = evt\n debuglog('trailers received from %s %s/%s', method, origin, path)\n })\n\n diagnosticsChannel.channel('undici:request:error').subscribe(evt => {\n const {\n request: { method, path, origin },\n error\n } = evt\n debuglog(\n 'request to %s %s/%s errored - %s',\n method,\n origin,\n path,\n error.message\n )\n })\n\n isClientSet = true\n}\n\nif (websocketDebuglog.enabled) {\n if (!isClientSet) {\n const debuglog = undiciDebugLog.enabled ? undiciDebugLog : websocketDebuglog\n diagnosticsChannel.channel('undici:client:beforeConnect').subscribe(evt => {\n const {\n connectParams: { version, protocol, port, host }\n } = evt\n debuglog(\n 'connecting to %s%s using %s%s',\n host,\n port ? `:${port}` : '',\n protocol,\n version\n )\n })\n\n diagnosticsChannel.channel('undici:client:connected').subscribe(evt => {\n const {\n connectParams: { version, protocol, port, host }\n } = evt\n debuglog(\n 'connected to %s%s using %s%s',\n host,\n port ? `:${port}` : '',\n protocol,\n version\n )\n })\n\n diagnosticsChannel.channel('undici:client:connectError').subscribe(evt => {\n const {\n connectParams: { version, protocol, port, host },\n error\n } = evt\n debuglog(\n 'connection to %s%s using %s%s errored - %s',\n host,\n port ? `:${port}` : '',\n protocol,\n version,\n error.message\n )\n })\n\n diagnosticsChannel.channel('undici:client:sendHeaders').subscribe(evt => {\n const {\n request: { method, path, origin }\n } = evt\n debuglog('sending request to %s %s/%s', method, origin, path)\n })\n }\n\n // Track all WebSocket events\n diagnosticsChannel.channel('undici:websocket:open').subscribe(evt => {\n const {\n address: { address, port }\n } = evt\n websocketDebuglog('connection opened %s%s', address, port ? `:${port}` : '')\n })\n\n diagnosticsChannel.channel('undici:websocket:close').subscribe(evt => {\n const { websocket, code, reason } = evt\n websocketDebuglog(\n 'closed connection to %s - %s %s',\n websocket.url,\n code,\n reason\n )\n })\n\n diagnosticsChannel.channel('undici:websocket:socket_error').subscribe(err => {\n websocketDebuglog('connection errored - %s', err.message)\n })\n\n diagnosticsChannel.channel('undici:websocket:ping').subscribe(evt => {\n websocketDebuglog('ping received')\n })\n\n diagnosticsChannel.channel('undici:websocket:pong').subscribe(evt => {\n websocketDebuglog('pong received')\n })\n}\n\nmodule.exports = {\n channels\n}\n", "'use strict'\n\nconst {\n InvalidArgumentError,\n NotSupportedError\n} = require('./errors')\nconst assert = require('node:assert')\nconst {\n isValidHTTPToken,\n isValidHeaderValue,\n isStream,\n destroy,\n isBuffer,\n isFormDataLike,\n isIterable,\n isBlobLike,\n buildURL,\n validateHandler,\n getServerName,\n normalizedMethodRecords\n} = require('./util')\nconst { channels } = require('./diagnostics.js')\nconst { headerNameLowerCasedRecord } = require('./constants')\n\n// Verifies that a given path is valid does not contain control chars \\x00 to \\x20\nconst invalidPathRegex = /[^\\u0021-\\u00ff]/\n\nconst kHandler = Symbol('handler')\n\nclass Request {\n constructor (origin, {\n path,\n method,\n body,\n headers,\n query,\n idempotent,\n blocking,\n upgrade,\n headersTimeout,\n bodyTimeout,\n reset,\n throwOnError,\n expectContinue,\n servername\n }, handler) {\n if (typeof path !== 'string') {\n throw new InvalidArgumentError('path must be a string')\n } else if (\n path[0] !== '/' &&\n !(path.startsWith('http://') || path.startsWith('https://')) &&\n method !== 'CONNECT'\n ) {\n throw new InvalidArgumentError('path must be an absolute URL or start with a slash')\n } else if (invalidPathRegex.test(path)) {\n throw new InvalidArgumentError('invalid request path')\n }\n\n if (typeof method !== 'string') {\n throw new InvalidArgumentError('method must be a string')\n } else if (normalizedMethodRecords[method] === undefined && !isValidHTTPToken(method)) {\n throw new InvalidArgumentError('invalid request method')\n }\n\n if (upgrade && typeof upgrade !== 'string') {\n throw new InvalidArgumentError('upgrade must be a string')\n }\n\n if (upgrade && !isValidHeaderValue(upgrade)) {\n throw new InvalidArgumentError('invalid upgrade header')\n }\n\n if (headersTimeout != null && (!Number.isFinite(headersTimeout) || headersTimeout < 0)) {\n throw new InvalidArgumentError('invalid headersTimeout')\n }\n\n if (bodyTimeout != null && (!Number.isFinite(bodyTimeout) || bodyTimeout < 0)) {\n throw new InvalidArgumentError('invalid bodyTimeout')\n }\n\n if (reset != null && typeof reset !== 'boolean') {\n throw new InvalidArgumentError('invalid reset')\n }\n\n if (expectContinue != null && typeof expectContinue !== 'boolean') {\n throw new InvalidArgumentError('invalid expectContinue')\n }\n\n this.headersTimeout = headersTimeout\n\n this.bodyTimeout = bodyTimeout\n\n this.throwOnError = throwOnError === true\n\n this.method = method\n\n this.abort = null\n\n if (body == null) {\n this.body = null\n } else if (isStream(body)) {\n this.body = body\n\n const rState = this.body._readableState\n if (!rState || !rState.autoDestroy) {\n this.endHandler = function autoDestroy () {\n destroy(this)\n }\n this.body.on('end', this.endHandler)\n }\n\n this.errorHandler = err => {\n if (this.abort) {\n this.abort(err)\n } else {\n this.error = err\n }\n }\n this.body.on('error', this.errorHandler)\n } else if (isBuffer(body)) {\n this.body = body.byteLength ? body : null\n } else if (ArrayBuffer.isView(body)) {\n this.body = body.buffer.byteLength ? Buffer.from(body.buffer, body.byteOffset, body.byteLength) : null\n } else if (body instanceof ArrayBuffer) {\n this.body = body.byteLength ? Buffer.from(body) : null\n } else if (typeof body === 'string') {\n this.body = body.length ? Buffer.from(body) : null\n } else if (isFormDataLike(body) || isIterable(body) || isBlobLike(body)) {\n this.body = body\n } else {\n throw new InvalidArgumentError('body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable')\n }\n\n this.completed = false\n\n this.aborted = false\n\n this.upgrade = upgrade || null\n\n this.path = query ? buildURL(path, query) : path\n\n this.origin = origin\n\n this.idempotent = idempotent == null\n ? method === 'HEAD' || method === 'GET'\n : idempotent\n\n this.blocking = blocking == null ? false : blocking\n\n this.reset = reset == null ? null : reset\n\n this.host = null\n\n this.contentLength = null\n\n this.contentType = null\n\n this.headers = []\n\n // Only for H2\n this.expectContinue = expectContinue != null ? expectContinue : false\n\n if (Array.isArray(headers)) {\n if (headers.length % 2 !== 0) {\n throw new InvalidArgumentError('headers array must be even')\n }\n for (let i = 0; i < headers.length; i += 2) {\n processHeader(this, headers[i], headers[i + 1])\n }\n } else if (headers && typeof headers === 'object') {\n if (headers[Symbol.iterator]) {\n for (const header of headers) {\n if (!Array.isArray(header) || header.length !== 2) {\n throw new InvalidArgumentError('headers must be in key-value pair format')\n }\n processHeader(this, header[0], header[1])\n }\n } else {\n const keys = Object.keys(headers)\n for (let i = 0; i < keys.length; ++i) {\n processHeader(this, keys[i], headers[keys[i]])\n }\n }\n } else if (headers != null) {\n throw new InvalidArgumentError('headers must be an object or an array')\n }\n\n validateHandler(handler, method, upgrade)\n\n this.servername = servername || getServerName(this.host)\n\n this[kHandler] = handler\n\n if (channels.create.hasSubscribers) {\n channels.create.publish({ request: this })\n }\n }\n\n onBodySent (chunk) {\n if (this[kHandler].onBodySent) {\n try {\n return this[kHandler].onBodySent(chunk)\n } catch (err) {\n this.abort(err)\n }\n }\n }\n\n onRequestSent () {\n if (channels.bodySent.hasSubscribers) {\n channels.bodySent.publish({ request: this })\n }\n\n if (this[kHandler].onRequestSent) {\n try {\n return this[kHandler].onRequestSent()\n } catch (err) {\n this.abort(err)\n }\n }\n }\n\n onConnect (abort) {\n assert(!this.aborted)\n assert(!this.completed)\n\n if (this.error) {\n abort(this.error)\n } else {\n this.abort = abort\n return this[kHandler].onConnect(abort)\n }\n }\n\n onResponseStarted () {\n return this[kHandler].onResponseStarted?.()\n }\n\n onHeaders (statusCode, headers, resume, statusText) {\n assert(!this.aborted)\n assert(!this.completed)\n\n if (channels.headers.hasSubscribers) {\n channels.headers.publish({ request: this, response: { statusCode, headers, statusText } })\n }\n\n try {\n return this[kHandler].onHeaders(statusCode, headers, resume, statusText)\n } catch (err) {\n this.abort(err)\n }\n }\n\n onData (chunk) {\n assert(!this.aborted)\n assert(!this.completed)\n\n try {\n return this[kHandler].onData(chunk)\n } catch (err) {\n this.abort(err)\n return false\n }\n }\n\n onUpgrade (statusCode, headers, socket) {\n assert(!this.aborted)\n assert(!this.completed)\n\n return this[kHandler].onUpgrade(statusCode, headers, socket)\n }\n\n onComplete (trailers) {\n this.onFinally()\n\n assert(!this.aborted)\n\n this.completed = true\n if (channels.trailers.hasSubscribers) {\n channels.trailers.publish({ request: this, trailers })\n }\n\n try {\n return this[kHandler].onComplete(trailers)\n } catch (err) {\n // TODO (fix): This might be a bad idea?\n this.onError(err)\n }\n }\n\n onError (error) {\n this.onFinally()\n\n if (channels.error.hasSubscribers) {\n channels.error.publish({ request: this, error })\n }\n\n if (this.aborted) {\n return\n }\n this.aborted = true\n\n return this[kHandler].onError(error)\n }\n\n onFinally () {\n if (this.errorHandler) {\n this.body.off('error', this.errorHandler)\n this.errorHandler = null\n }\n\n if (this.endHandler) {\n this.body.off('end', this.endHandler)\n this.endHandler = null\n }\n }\n\n addHeader (key, value) {\n processHeader(this, key, value)\n return this\n }\n}\n\nfunction processHeader (request, key, val) {\n if (val && (typeof val === 'object' && !Array.isArray(val))) {\n throw new InvalidArgumentError(`invalid ${key} header`)\n } else if (val === undefined) {\n return\n }\n\n let headerName = headerNameLowerCasedRecord[key]\n\n if (headerName === undefined) {\n headerName = key.toLowerCase()\n if (headerNameLowerCasedRecord[headerName] === undefined && !isValidHTTPToken(headerName)) {\n throw new InvalidArgumentError('invalid header key')\n }\n }\n\n if (Array.isArray(val)) {\n const arr = []\n for (let i = 0; i < val.length; i++) {\n if (typeof val[i] === 'string') {\n if (!isValidHeaderValue(val[i])) {\n throw new InvalidArgumentError(`invalid ${key} header`)\n }\n arr.push(val[i])\n } else if (val[i] === null) {\n arr.push('')\n } else if (typeof val[i] === 'object') {\n throw new InvalidArgumentError(`invalid ${key} header`)\n } else {\n // Coerce primitives (and reject unsafe coercions such as functions\n // with a crafted toString/Symbol.toPrimitive).\n const str = `${val[i]}`\n if (!isValidHeaderValue(str)) {\n throw new InvalidArgumentError(`invalid ${key} header`)\n }\n arr.push(str)\n }\n }\n val = arr\n } else if (typeof val === 'string') {\n if (!isValidHeaderValue(val)) {\n throw new InvalidArgumentError(`invalid ${key} header`)\n }\n } else if (val === null) {\n val = ''\n } else {\n // Coerce primitives (and reject unsafe coercions such as functions\n // with a crafted toString/Symbol.toPrimitive).\n val = `${val}`\n if (!isValidHeaderValue(val)) {\n throw new InvalidArgumentError(`invalid ${key} header`)\n }\n }\n\n if (headerName === 'host') {\n if (request.host !== null) {\n throw new InvalidArgumentError('duplicate host header')\n }\n if (typeof val !== 'string') {\n throw new InvalidArgumentError('invalid host header')\n }\n // Consumed by Client\n request.host = val\n } else if (headerName === 'content-length') {\n if (request.contentLength !== null) {\n throw new InvalidArgumentError('duplicate content-length header')\n }\n request.contentLength = parseInt(val, 10)\n if (!Number.isFinite(request.contentLength)) {\n throw new InvalidArgumentError('invalid content-length header')\n }\n } else if (request.contentType === null && headerName === 'content-type') {\n request.contentType = val\n request.headers.push(key, val)\n } else if (headerName === 'transfer-encoding' || headerName === 'keep-alive' || headerName === 'upgrade') {\n throw new InvalidArgumentError(`invalid ${headerName} header`)\n } else if (headerName === 'connection') {\n const value = typeof val === 'string' ? val.toLowerCase() : null\n if (value !== 'close' && value !== 'keep-alive') {\n throw new InvalidArgumentError('invalid connection header')\n }\n\n if (value === 'close') {\n request.reset = true\n }\n } else if (headerName === 'expect') {\n throw new NotSupportedError('expect header not supported')\n } else {\n request.headers.push(key, val)\n }\n}\n\nmodule.exports = Request\n", "'use strict'\nconst EventEmitter = require('node:events')\n\nclass Dispatcher extends EventEmitter {\n dispatch () {\n throw new Error('not implemented')\n }\n\n close () {\n throw new Error('not implemented')\n }\n\n destroy () {\n throw new Error('not implemented')\n }\n\n compose (...args) {\n // So we handle [interceptor1, interceptor2] or interceptor1, interceptor2, ...\n const interceptors = Array.isArray(args[0]) ? args[0] : args\n let dispatch = this.dispatch.bind(this)\n\n for (const interceptor of interceptors) {\n if (interceptor == null) {\n continue\n }\n\n if (typeof interceptor !== 'function') {\n throw new TypeError(`invalid interceptor, expected function received ${typeof interceptor}`)\n }\n\n dispatch = interceptor(dispatch)\n\n if (dispatch == null || typeof dispatch !== 'function' || dispatch.length !== 2) {\n throw new TypeError('invalid interceptor')\n }\n }\n\n return new ComposedDispatcher(this, dispatch)\n }\n}\n\nclass ComposedDispatcher extends Dispatcher {\n #dispatcher = null\n #dispatch = null\n\n constructor (dispatcher, dispatch) {\n super()\n this.#dispatcher = dispatcher\n this.#dispatch = dispatch\n }\n\n dispatch (...args) {\n this.#dispatch(...args)\n }\n\n close (...args) {\n return this.#dispatcher.close(...args)\n }\n\n destroy (...args) {\n return this.#dispatcher.destroy(...args)\n }\n}\n\nmodule.exports = Dispatcher\n", "'use strict'\n\nconst Dispatcher = require('./dispatcher')\nconst {\n ClientDestroyedError,\n ClientClosedError,\n InvalidArgumentError\n} = require('../core/errors')\nconst { kDestroy, kClose, kClosed, kDestroyed, kDispatch, kInterceptors } = require('../core/symbols')\n\nconst kOnDestroyed = Symbol('onDestroyed')\nconst kOnClosed = Symbol('onClosed')\nconst kInterceptedDispatch = Symbol('Intercepted Dispatch')\nconst kWebSocketOptions = Symbol('webSocketOptions')\n\nclass DispatcherBase extends Dispatcher {\n constructor (opts) {\n super()\n\n this[kDestroyed] = false\n this[kOnDestroyed] = null\n this[kClosed] = false\n this[kOnClosed] = []\n this[kWebSocketOptions] = opts?.webSocket ?? {}\n }\n\n get webSocketOptions () {\n return {\n maxFragments: this[kWebSocketOptions].maxFragments ?? 131072,\n maxPayloadSize: this[kWebSocketOptions].maxPayloadSize ?? 128 * 1024 * 1024\n }\n }\n\n get destroyed () {\n return this[kDestroyed]\n }\n\n get closed () {\n return this[kClosed]\n }\n\n get interceptors () {\n return this[kInterceptors]\n }\n\n set interceptors (newInterceptors) {\n if (newInterceptors) {\n for (let i = newInterceptors.length - 1; i >= 0; i--) {\n const interceptor = this[kInterceptors][i]\n if (typeof interceptor !== 'function') {\n throw new InvalidArgumentError('interceptor must be an function')\n }\n }\n }\n\n this[kInterceptors] = newInterceptors\n }\n\n close (callback) {\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n this.close((err, data) => {\n return err ? reject(err) : resolve(data)\n })\n })\n }\n\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n if (this[kDestroyed]) {\n queueMicrotask(() => callback(new ClientDestroyedError(), null))\n return\n }\n\n if (this[kClosed]) {\n if (this[kOnClosed]) {\n this[kOnClosed].push(callback)\n } else {\n queueMicrotask(() => callback(null, null))\n }\n return\n }\n\n this[kClosed] = true\n this[kOnClosed].push(callback)\n\n const onClosed = () => {\n const callbacks = this[kOnClosed]\n this[kOnClosed] = null\n for (let i = 0; i < callbacks.length; i++) {\n callbacks[i](null, null)\n }\n }\n\n // Should not error.\n this[kClose]()\n .then(() => this.destroy())\n .then(() => {\n queueMicrotask(onClosed)\n })\n }\n\n destroy (err, callback) {\n if (typeof err === 'function') {\n callback = err\n err = null\n }\n\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n this.destroy(err, (err, data) => {\n return err ? /* istanbul ignore next: should never error */ reject(err) : resolve(data)\n })\n })\n }\n\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n if (this[kDestroyed]) {\n if (this[kOnDestroyed]) {\n this[kOnDestroyed].push(callback)\n } else {\n queueMicrotask(() => callback(null, null))\n }\n return\n }\n\n if (!err) {\n err = new ClientDestroyedError()\n }\n\n this[kDestroyed] = true\n this[kOnDestroyed] = this[kOnDestroyed] || []\n this[kOnDestroyed].push(callback)\n\n const onDestroyed = () => {\n const callbacks = this[kOnDestroyed]\n this[kOnDestroyed] = null\n for (let i = 0; i < callbacks.length; i++) {\n callbacks[i](null, null)\n }\n }\n\n // Should not error.\n this[kDestroy](err).then(() => {\n queueMicrotask(onDestroyed)\n })\n }\n\n [kInterceptedDispatch] (opts, handler) {\n if (!this[kInterceptors] || this[kInterceptors].length === 0) {\n this[kInterceptedDispatch] = this[kDispatch]\n return this[kDispatch](opts, handler)\n }\n\n let dispatch = this[kDispatch].bind(this)\n for (let i = this[kInterceptors].length - 1; i >= 0; i--) {\n dispatch = this[kInterceptors][i](dispatch)\n }\n this[kInterceptedDispatch] = dispatch\n return dispatch(opts, handler)\n }\n\n dispatch (opts, handler) {\n if (!handler || typeof handler !== 'object') {\n throw new InvalidArgumentError('handler must be an object')\n }\n\n try {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('opts must be an object.')\n }\n\n if (this[kDestroyed] || this[kOnDestroyed]) {\n throw new ClientDestroyedError()\n }\n\n if (this[kClosed]) {\n throw new ClientClosedError()\n }\n\n return this[kInterceptedDispatch](opts, handler)\n } catch (err) {\n if (typeof handler.onError !== 'function') {\n throw new InvalidArgumentError('invalid onError method')\n }\n\n handler.onError(err)\n\n return false\n }\n }\n}\n\nmodule.exports = DispatcherBase\n", "'use strict'\n\n/**\n * This module offers an optimized timer implementation designed for scenarios\n * where high precision is not critical.\n *\n * The timer achieves faster performance by using a low-resolution approach,\n * with an accuracy target of within 500ms. This makes it particularly useful\n * for timers with delays of 1 second or more, where exact timing is less\n * crucial.\n *\n * It's important to note that Node.js timers are inherently imprecise, as\n * delays can occur due to the event loop being blocked by other operations.\n * Consequently, timers may trigger later than their scheduled time.\n */\n\n/**\n * The fastNow variable contains the internal fast timer clock value.\n *\n * @type {number}\n */\nlet fastNow = 0\n\n/**\n * RESOLUTION_MS represents the target resolution time in milliseconds.\n *\n * @type {number}\n * @default 1000\n */\nconst RESOLUTION_MS = 1e3\n\n/**\n * TICK_MS defines the desired interval in milliseconds between each tick.\n * The target value is set to half the resolution time, minus 1 ms, to account\n * for potential event loop overhead.\n *\n * @type {number}\n * @default 499\n */\nconst TICK_MS = (RESOLUTION_MS >> 1) - 1\n\n/**\n * fastNowTimeout is a Node.js timer used to manage and process\n * the FastTimers stored in the `fastTimers` array.\n *\n * @type {NodeJS.Timeout}\n */\nlet fastNowTimeout\n\n/**\n * The kFastTimer symbol is used to identify FastTimer instances.\n *\n * @type {Symbol}\n */\nconst kFastTimer = Symbol('kFastTimer')\n\n/**\n * The fastTimers array contains all active FastTimers.\n *\n * @type {FastTimer[]}\n */\nconst fastTimers = []\n\n/**\n * These constants represent the various states of a FastTimer.\n */\n\n/**\n * The `NOT_IN_LIST` constant indicates that the FastTimer is not included\n * in the `fastTimers` array. Timers with this status will not be processed\n * during the next tick by the `onTick` function.\n *\n * A FastTimer can be re-added to the `fastTimers` array by invoking the\n * `refresh` method on the FastTimer instance.\n *\n * @type {-2}\n */\nconst NOT_IN_LIST = -2\n\n/**\n * The `TO_BE_CLEARED` constant indicates that the FastTimer is scheduled\n * for removal from the `fastTimers` array. A FastTimer in this state will\n * be removed in the next tick by the `onTick` function and will no longer\n * be processed.\n *\n * This status is also set when the `clear` method is called on the FastTimer instance.\n *\n * @type {-1}\n */\nconst TO_BE_CLEARED = -1\n\n/**\n * The `PENDING` constant signifies that the FastTimer is awaiting processing\n * in the next tick by the `onTick` function. Timers with this status will have\n * their `_idleStart` value set and their status updated to `ACTIVE` in the next tick.\n *\n * @type {0}\n */\nconst PENDING = 0\n\n/**\n * The `ACTIVE` constant indicates that the FastTimer is active and waiting\n * for its timer to expire. During the next tick, the `onTick` function will\n * check if the timer has expired, and if so, it will execute the associated callback.\n *\n * @type {1}\n */\nconst ACTIVE = 1\n\n/**\n * The onTick function processes the fastTimers array.\n *\n * @returns {void}\n */\nfunction onTick () {\n /**\n * Increment the fastNow value by the TICK_MS value, despite the actual time\n * that has passed since the last tick. This approach ensures independence\n * from the system clock and delays caused by a blocked event loop.\n *\n * @type {number}\n */\n fastNow += TICK_MS\n\n /**\n * The `idx` variable is used to iterate over the `fastTimers` array.\n * Expired timers are removed by replacing them with the last element in the array.\n * Consequently, `idx` is only incremented when the current element is not removed.\n *\n * @type {number}\n */\n let idx = 0\n\n /**\n * The len variable will contain the length of the fastTimers array\n * and will be decremented when a FastTimer should be removed from the\n * fastTimers array.\n *\n * @type {number}\n */\n let len = fastTimers.length\n\n while (idx < len) {\n /**\n * @type {FastTimer}\n */\n const timer = fastTimers[idx]\n\n // If the timer is in the ACTIVE state and the timer has expired, it will\n // be processed in the next tick.\n if (timer._state === PENDING) {\n // Set the _idleStart value to the fastNow value minus the TICK_MS value\n // to account for the time the timer was in the PENDING state.\n timer._idleStart = fastNow - TICK_MS\n timer._state = ACTIVE\n } else if (\n timer._state === ACTIVE &&\n fastNow >= timer._idleStart + timer._idleTimeout\n ) {\n timer._state = TO_BE_CLEARED\n timer._idleStart = -1\n timer._onTimeout(timer._timerArg)\n }\n\n if (timer._state === TO_BE_CLEARED) {\n timer._state = NOT_IN_LIST\n\n // Move the last element to the current index and decrement len if it is\n // not the only element in the array.\n if (--len !== 0) {\n fastTimers[idx] = fastTimers[len]\n }\n } else {\n ++idx\n }\n }\n\n // Set the length of the fastTimers array to the new length and thus\n // removing the excess FastTimers elements from the array.\n fastTimers.length = len\n\n // If there are still active FastTimers in the array, refresh the Timer.\n // If there are no active FastTimers, the timer will be refreshed again\n // when a new FastTimer is instantiated.\n if (fastTimers.length !== 0) {\n refreshTimeout()\n }\n}\n\nfunction refreshTimeout () {\n // If the fastNowTimeout is already set, refresh it.\n if (fastNowTimeout) {\n fastNowTimeout.refresh()\n // fastNowTimeout is not instantiated yet, create a new Timer.\n } else {\n clearTimeout(fastNowTimeout)\n fastNowTimeout = setTimeout(onTick, TICK_MS)\n\n // If the Timer has an unref method, call it to allow the process to exit if\n // there are no other active handles.\n if (fastNowTimeout.unref) {\n fastNowTimeout.unref()\n }\n }\n}\n\n/**\n * The `FastTimer` class is a data structure designed to store and manage\n * timer information.\n */\nclass FastTimer {\n [kFastTimer] = true\n\n /**\n * The state of the timer, which can be one of the following:\n * - NOT_IN_LIST (-2)\n * - TO_BE_CLEARED (-1)\n * - PENDING (0)\n * - ACTIVE (1)\n *\n * @type {-2|-1|0|1}\n * @private\n */\n _state = NOT_IN_LIST\n\n /**\n * The number of milliseconds to wait before calling the callback.\n *\n * @type {number}\n * @private\n */\n _idleTimeout = -1\n\n /**\n * The time in milliseconds when the timer was started. This value is used to\n * calculate when the timer should expire.\n *\n * @type {number}\n * @default -1\n * @private\n */\n _idleStart = -1\n\n /**\n * The function to be executed when the timer expires.\n * @type {Function}\n * @private\n */\n _onTimeout\n\n /**\n * The argument to be passed to the callback when the timer expires.\n *\n * @type {*}\n * @private\n */\n _timerArg\n\n /**\n * @constructor\n * @param {Function} callback A function to be executed after the timer\n * expires.\n * @param {number} delay The time, in milliseconds that the timer should wait\n * before the specified function or code is executed.\n * @param {*} arg\n */\n constructor (callback, delay, arg) {\n this._onTimeout = callback\n this._idleTimeout = delay\n this._timerArg = arg\n\n this.refresh()\n }\n\n /**\n * Sets the timer's start time to the current time, and reschedules the timer\n * to call its callback at the previously specified duration adjusted to the\n * current time.\n * Using this on a timer that has already called its callback will reactivate\n * the timer.\n *\n * @returns {void}\n */\n refresh () {\n // In the special case that the timer is not in the list of active timers,\n // add it back to the array to be processed in the next tick by the onTick\n // function.\n if (this._state === NOT_IN_LIST) {\n fastTimers.push(this)\n }\n\n // If the timer is the only active timer, refresh the fastNowTimeout for\n // better resolution.\n if (!fastNowTimeout || fastTimers.length === 1) {\n refreshTimeout()\n }\n\n // Setting the state to PENDING will cause the timer to be reset in the\n // next tick by the onTick function.\n this._state = PENDING\n }\n\n /**\n * The `clear` method cancels the timer, preventing it from executing.\n *\n * @returns {void}\n * @private\n */\n clear () {\n // Set the state to TO_BE_CLEARED to mark the timer for removal in the next\n // tick by the onTick function.\n this._state = TO_BE_CLEARED\n\n // Reset the _idleStart value to -1 to indicate that the timer is no longer\n // active.\n this._idleStart = -1\n }\n}\n\n/**\n * This module exports a setTimeout and clearTimeout function that can be\n * used as a drop-in replacement for the native functions.\n */\nmodule.exports = {\n /**\n * The setTimeout() method sets a timer which executes a function once the\n * timer expires.\n * @param {Function} callback A function to be executed after the timer\n * expires.\n * @param {number} delay The time, in milliseconds that the timer should\n * wait before the specified function or code is executed.\n * @param {*} [arg] An optional argument to be passed to the callback function\n * when the timer expires.\n * @returns {NodeJS.Timeout|FastTimer}\n */\n setTimeout (callback, delay, arg) {\n // If the delay is less than or equal to the RESOLUTION_MS value return a\n // native Node.js Timer instance.\n return delay <= RESOLUTION_MS\n ? setTimeout(callback, delay, arg)\n : new FastTimer(callback, delay, arg)\n },\n /**\n * The clearTimeout method cancels an instantiated Timer previously created\n * by calling setTimeout.\n *\n * @param {NodeJS.Timeout|FastTimer} timeout\n */\n clearTimeout (timeout) {\n // If the timeout is a FastTimer, call its own clear method.\n if (timeout[kFastTimer]) {\n /**\n * @type {FastTimer}\n */\n timeout.clear()\n // Otherwise it is an instance of a native NodeJS.Timeout, so call the\n // Node.js native clearTimeout function.\n } else {\n clearTimeout(timeout)\n }\n },\n /**\n * The setFastTimeout() method sets a fastTimer which executes a function once\n * the timer expires.\n * @param {Function} callback A function to be executed after the timer\n * expires.\n * @param {number} delay The time, in milliseconds that the timer should\n * wait before the specified function or code is executed.\n * @param {*} [arg] An optional argument to be passed to the callback function\n * when the timer expires.\n * @returns {FastTimer}\n */\n setFastTimeout (callback, delay, arg) {\n return new FastTimer(callback, delay, arg)\n },\n /**\n * The clearTimeout method cancels an instantiated FastTimer previously\n * created by calling setFastTimeout.\n *\n * @param {FastTimer} timeout\n */\n clearFastTimeout (timeout) {\n timeout.clear()\n },\n /**\n * The now method returns the value of the internal fast timer clock.\n *\n * @returns {number}\n */\n now () {\n return fastNow\n },\n /**\n * Trigger the onTick function to process the fastTimers array.\n * Exported for testing purposes only.\n * Marking as deprecated to discourage any use outside of testing.\n * @deprecated\n * @param {number} [delay=0] The delay in milliseconds to add to the now value.\n */\n tick (delay = 0) {\n fastNow += delay - RESOLUTION_MS + 1\n onTick()\n onTick()\n },\n /**\n * Reset FastTimers.\n * Exported for testing purposes only.\n * Marking as deprecated to discourage any use outside of testing.\n * @deprecated\n */\n reset () {\n fastNow = 0\n fastTimers.length = 0\n clearTimeout(fastNowTimeout)\n fastNowTimeout = null\n },\n /**\n * Exporting for testing purposes only.\n * Marking as deprecated to discourage any use outside of testing.\n * @deprecated\n */\n kFastTimer\n}\n", "'use strict'\n\nconst net = require('node:net')\nconst assert = require('node:assert')\nconst util = require('./util')\nconst { InvalidArgumentError, ConnectTimeoutError } = require('./errors')\nconst timers = require('../util/timers')\n\nfunction noop () {}\n\nlet tls // include tls conditionally since it is not always available\n\n// TODO: session re-use does not wait for the first\n// connection to resolve the session and might therefore\n// resolve the same servername multiple times even when\n// re-use is enabled.\n\nlet SessionCache\n// FIXME: remove workaround when the Node bug is fixed\n// https://github.com/nodejs/node/issues/49344#issuecomment-1741776308\nif (global.FinalizationRegistry && !(process.env.NODE_V8_COVERAGE || process.env.UNDICI_NO_FG)) {\n SessionCache = class WeakSessionCache {\n constructor (maxCachedSessions) {\n this._maxCachedSessions = maxCachedSessions\n this._sessionCache = new Map()\n this._sessionRegistry = new global.FinalizationRegistry((key) => {\n if (this._sessionCache.size < this._maxCachedSessions) {\n return\n }\n\n const ref = this._sessionCache.get(key)\n if (ref !== undefined && ref.deref() === undefined) {\n this._sessionCache.delete(key)\n }\n })\n }\n\n get (sessionKey) {\n const ref = this._sessionCache.get(sessionKey)\n return ref ? ref.deref() : null\n }\n\n set (sessionKey, session) {\n if (this._maxCachedSessions === 0) {\n return\n }\n\n this._sessionCache.set(sessionKey, new WeakRef(session))\n this._sessionRegistry.register(session, sessionKey)\n }\n }\n} else {\n SessionCache = class SimpleSessionCache {\n constructor (maxCachedSessions) {\n this._maxCachedSessions = maxCachedSessions\n this._sessionCache = new Map()\n }\n\n get (sessionKey) {\n return this._sessionCache.get(sessionKey)\n }\n\n set (sessionKey, session) {\n if (this._maxCachedSessions === 0) {\n return\n }\n\n if (this._sessionCache.size >= this._maxCachedSessions) {\n // remove the oldest session\n const { value: oldestKey } = this._sessionCache.keys().next()\n this._sessionCache.delete(oldestKey)\n }\n\n this._sessionCache.set(sessionKey, session)\n }\n }\n}\n\nfunction buildConnector ({ allowH2, maxCachedSessions, socketPath, timeout, session: customSession, ...opts }) {\n if (maxCachedSessions != null && (!Number.isInteger(maxCachedSessions) || maxCachedSessions < 0)) {\n throw new InvalidArgumentError('maxCachedSessions must be a positive integer or zero')\n }\n\n const options = { path: socketPath, ...opts }\n const sessionCache = new SessionCache(maxCachedSessions == null ? 100 : maxCachedSessions)\n timeout = timeout == null ? 10e3 : timeout\n allowH2 = allowH2 != null ? allowH2 : false\n return function connect ({ hostname, host, protocol, port, servername, localAddress, httpSocket }, callback) {\n let socket\n if (protocol === 'https:') {\n if (!tls) {\n tls = require('node:tls')\n }\n servername = servername || options.servername || util.getServerName(host) || null\n\n const sessionKey = servername || hostname\n assert(sessionKey)\n\n const session = customSession || sessionCache.get(sessionKey) || null\n\n port = port || 443\n\n socket = tls.connect({\n highWaterMark: 16384, // TLS in node can't have bigger HWM anyway...\n ...options,\n servername,\n session,\n localAddress,\n // TODO(HTTP/2): Add support for h2c\n ALPNProtocols: allowH2 ? ['http/1.1', 'h2'] : ['http/1.1'],\n socket: httpSocket, // upgrade socket connection\n port,\n host: hostname\n })\n\n socket\n .on('session', function (session) {\n // TODO (fix): Can a session become invalid once established? Don't think so?\n sessionCache.set(sessionKey, session)\n })\n } else {\n assert(!httpSocket, 'httpSocket can only be sent on TLS update')\n\n port = port || 80\n\n socket = net.connect({\n highWaterMark: 64 * 1024, // Same as nodejs fs streams.\n ...options,\n localAddress,\n port,\n host: hostname\n })\n }\n\n // Set TCP keep alive options on the socket here instead of in connect() for the case of assigning the socket\n if (options.keepAlive == null || options.keepAlive) {\n const keepAliveInitialDelay = options.keepAliveInitialDelay === undefined ? 60e3 : options.keepAliveInitialDelay\n socket.setKeepAlive(true, keepAliveInitialDelay)\n }\n\n const clearConnectTimeout = setupConnectTimeout(new WeakRef(socket), { timeout, hostname, port })\n\n socket\n .setNoDelay(true)\n .once(protocol === 'https:' ? 'secureConnect' : 'connect', function () {\n queueMicrotask(clearConnectTimeout)\n\n if (callback) {\n const cb = callback\n callback = null\n cb(null, this)\n }\n })\n .on('error', function (err) {\n queueMicrotask(clearConnectTimeout)\n\n if (callback) {\n const cb = callback\n callback = null\n cb(err)\n }\n })\n\n return socket\n }\n}\n\n/**\n * @param {WeakRef} socketWeakRef\n * @param {object} opts\n * @param {number} opts.timeout\n * @param {string} opts.hostname\n * @param {number} opts.port\n * @returns {() => void}\n */\nconst setupConnectTimeout = process.platform === 'win32'\n ? (socketWeakRef, opts) => {\n if (!opts.timeout) {\n return noop\n }\n\n let s1 = null\n let s2 = null\n const fastTimer = timers.setFastTimeout(() => {\n // setImmediate is added to make sure that we prioritize socket error events over timeouts\n s1 = setImmediate(() => {\n // Windows needs an extra setImmediate probably due to implementation differences in the socket logic\n s2 = setImmediate(() => onConnectTimeout(socketWeakRef.deref(), opts))\n })\n }, opts.timeout)\n return () => {\n timers.clearFastTimeout(fastTimer)\n clearImmediate(s1)\n clearImmediate(s2)\n }\n }\n : (socketWeakRef, opts) => {\n if (!opts.timeout) {\n return noop\n }\n\n let s1 = null\n const fastTimer = timers.setFastTimeout(() => {\n // setImmediate is added to make sure that we prioritize socket error events over timeouts\n s1 = setImmediate(() => {\n onConnectTimeout(socketWeakRef.deref(), opts)\n })\n }, opts.timeout)\n return () => {\n timers.clearFastTimeout(fastTimer)\n clearImmediate(s1)\n }\n }\n\n/**\n * @param {net.Socket} socket\n * @param {object} opts\n * @param {number} opts.timeout\n * @param {string} opts.hostname\n * @param {number} opts.port\n */\nfunction onConnectTimeout (socket, opts) {\n // The socket could be already garbage collected\n if (socket == null) {\n return\n }\n\n let message = 'Connect Timeout Error'\n if (Array.isArray(socket.autoSelectFamilyAttemptedAddresses)) {\n message += ` (attempted addresses: ${socket.autoSelectFamilyAttemptedAddresses.join(', ')},`\n } else {\n message += ` (attempted address: ${opts.hostname}:${opts.port},`\n }\n\n message += ` timeout: ${opts.timeout}ms)`\n\n util.destroy(socket, new ConnectTimeoutError(message))\n}\n\nmodule.exports = buildConnector\n", "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.enumToMap = void 0;\nfunction enumToMap(obj) {\n const res = {};\n Object.keys(obj).forEach((key) => {\n const value = obj[key];\n if (typeof value === 'number') {\n res[key] = value;\n }\n });\n return res;\n}\nexports.enumToMap = enumToMap;\n//# sourceMappingURL=utils.js.map", "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SPECIAL_HEADERS = exports.HEADER_STATE = exports.MINOR = exports.MAJOR = exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS = exports.TOKEN = exports.STRICT_TOKEN = exports.HEX = exports.URL_CHAR = exports.STRICT_URL_CHAR = exports.USERINFO_CHARS = exports.MARK = exports.ALPHANUM = exports.NUM = exports.HEX_MAP = exports.NUM_MAP = exports.ALPHA = exports.FINISH = exports.H_METHOD_MAP = exports.METHOD_MAP = exports.METHODS_RTSP = exports.METHODS_ICE = exports.METHODS_HTTP = exports.METHODS = exports.LENIENT_FLAGS = exports.FLAGS = exports.TYPE = exports.ERROR = void 0;\nconst utils_1 = require(\"./utils\");\n// C headers\nvar ERROR;\n(function (ERROR) {\n ERROR[ERROR[\"OK\"] = 0] = \"OK\";\n ERROR[ERROR[\"INTERNAL\"] = 1] = \"INTERNAL\";\n ERROR[ERROR[\"STRICT\"] = 2] = \"STRICT\";\n ERROR[ERROR[\"LF_EXPECTED\"] = 3] = \"LF_EXPECTED\";\n ERROR[ERROR[\"UNEXPECTED_CONTENT_LENGTH\"] = 4] = \"UNEXPECTED_CONTENT_LENGTH\";\n ERROR[ERROR[\"CLOSED_CONNECTION\"] = 5] = \"CLOSED_CONNECTION\";\n ERROR[ERROR[\"INVALID_METHOD\"] = 6] = \"INVALID_METHOD\";\n ERROR[ERROR[\"INVALID_URL\"] = 7] = \"INVALID_URL\";\n ERROR[ERROR[\"INVALID_CONSTANT\"] = 8] = \"INVALID_CONSTANT\";\n ERROR[ERROR[\"INVALID_VERSION\"] = 9] = \"INVALID_VERSION\";\n ERROR[ERROR[\"INVALID_HEADER_TOKEN\"] = 10] = \"INVALID_HEADER_TOKEN\";\n ERROR[ERROR[\"INVALID_CONTENT_LENGTH\"] = 11] = \"INVALID_CONTENT_LENGTH\";\n ERROR[ERROR[\"INVALID_CHUNK_SIZE\"] = 12] = \"INVALID_CHUNK_SIZE\";\n ERROR[ERROR[\"INVALID_STATUS\"] = 13] = \"INVALID_STATUS\";\n ERROR[ERROR[\"INVALID_EOF_STATE\"] = 14] = \"INVALID_EOF_STATE\";\n ERROR[ERROR[\"INVALID_TRANSFER_ENCODING\"] = 15] = \"INVALID_TRANSFER_ENCODING\";\n ERROR[ERROR[\"CB_MESSAGE_BEGIN\"] = 16] = \"CB_MESSAGE_BEGIN\";\n ERROR[ERROR[\"CB_HEADERS_COMPLETE\"] = 17] = \"CB_HEADERS_COMPLETE\";\n ERROR[ERROR[\"CB_MESSAGE_COMPLETE\"] = 18] = \"CB_MESSAGE_COMPLETE\";\n ERROR[ERROR[\"CB_CHUNK_HEADER\"] = 19] = \"CB_CHUNK_HEADER\";\n ERROR[ERROR[\"CB_CHUNK_COMPLETE\"] = 20] = \"CB_CHUNK_COMPLETE\";\n ERROR[ERROR[\"PAUSED\"] = 21] = \"PAUSED\";\n ERROR[ERROR[\"PAUSED_UPGRADE\"] = 22] = \"PAUSED_UPGRADE\";\n ERROR[ERROR[\"PAUSED_H2_UPGRADE\"] = 23] = \"PAUSED_H2_UPGRADE\";\n ERROR[ERROR[\"USER\"] = 24] = \"USER\";\n})(ERROR = exports.ERROR || (exports.ERROR = {}));\nvar TYPE;\n(function (TYPE) {\n TYPE[TYPE[\"BOTH\"] = 0] = \"BOTH\";\n TYPE[TYPE[\"REQUEST\"] = 1] = \"REQUEST\";\n TYPE[TYPE[\"RESPONSE\"] = 2] = \"RESPONSE\";\n})(TYPE = exports.TYPE || (exports.TYPE = {}));\nvar FLAGS;\n(function (FLAGS) {\n FLAGS[FLAGS[\"CONNECTION_KEEP_ALIVE\"] = 1] = \"CONNECTION_KEEP_ALIVE\";\n FLAGS[FLAGS[\"CONNECTION_CLOSE\"] = 2] = \"CONNECTION_CLOSE\";\n FLAGS[FLAGS[\"CONNECTION_UPGRADE\"] = 4] = \"CONNECTION_UPGRADE\";\n FLAGS[FLAGS[\"CHUNKED\"] = 8] = \"CHUNKED\";\n FLAGS[FLAGS[\"UPGRADE\"] = 16] = \"UPGRADE\";\n FLAGS[FLAGS[\"CONTENT_LENGTH\"] = 32] = \"CONTENT_LENGTH\";\n FLAGS[FLAGS[\"SKIPBODY\"] = 64] = \"SKIPBODY\";\n FLAGS[FLAGS[\"TRAILING\"] = 128] = \"TRAILING\";\n // 1 << 8 is unused\n FLAGS[FLAGS[\"TRANSFER_ENCODING\"] = 512] = \"TRANSFER_ENCODING\";\n})(FLAGS = exports.FLAGS || (exports.FLAGS = {}));\nvar LENIENT_FLAGS;\n(function (LENIENT_FLAGS) {\n LENIENT_FLAGS[LENIENT_FLAGS[\"HEADERS\"] = 1] = \"HEADERS\";\n LENIENT_FLAGS[LENIENT_FLAGS[\"CHUNKED_LENGTH\"] = 2] = \"CHUNKED_LENGTH\";\n LENIENT_FLAGS[LENIENT_FLAGS[\"KEEP_ALIVE\"] = 4] = \"KEEP_ALIVE\";\n})(LENIENT_FLAGS = exports.LENIENT_FLAGS || (exports.LENIENT_FLAGS = {}));\nvar METHODS;\n(function (METHODS) {\n METHODS[METHODS[\"DELETE\"] = 0] = \"DELETE\";\n METHODS[METHODS[\"GET\"] = 1] = \"GET\";\n METHODS[METHODS[\"HEAD\"] = 2] = \"HEAD\";\n METHODS[METHODS[\"POST\"] = 3] = \"POST\";\n METHODS[METHODS[\"PUT\"] = 4] = \"PUT\";\n /* pathological */\n METHODS[METHODS[\"CONNECT\"] = 5] = \"CONNECT\";\n METHODS[METHODS[\"OPTIONS\"] = 6] = \"OPTIONS\";\n METHODS[METHODS[\"TRACE\"] = 7] = \"TRACE\";\n /* WebDAV */\n METHODS[METHODS[\"COPY\"] = 8] = \"COPY\";\n METHODS[METHODS[\"LOCK\"] = 9] = \"LOCK\";\n METHODS[METHODS[\"MKCOL\"] = 10] = \"MKCOL\";\n METHODS[METHODS[\"MOVE\"] = 11] = \"MOVE\";\n METHODS[METHODS[\"PROPFIND\"] = 12] = \"PROPFIND\";\n METHODS[METHODS[\"PROPPATCH\"] = 13] = \"PROPPATCH\";\n METHODS[METHODS[\"SEARCH\"] = 14] = \"SEARCH\";\n METHODS[METHODS[\"UNLOCK\"] = 15] = \"UNLOCK\";\n METHODS[METHODS[\"BIND\"] = 16] = \"BIND\";\n METHODS[METHODS[\"REBIND\"] = 17] = \"REBIND\";\n METHODS[METHODS[\"UNBIND\"] = 18] = \"UNBIND\";\n METHODS[METHODS[\"ACL\"] = 19] = \"ACL\";\n /* subversion */\n METHODS[METHODS[\"REPORT\"] = 20] = \"REPORT\";\n METHODS[METHODS[\"MKACTIVITY\"] = 21] = \"MKACTIVITY\";\n METHODS[METHODS[\"CHECKOUT\"] = 22] = \"CHECKOUT\";\n METHODS[METHODS[\"MERGE\"] = 23] = \"MERGE\";\n /* upnp */\n METHODS[METHODS[\"M-SEARCH\"] = 24] = \"M-SEARCH\";\n METHODS[METHODS[\"NOTIFY\"] = 25] = \"NOTIFY\";\n METHODS[METHODS[\"SUBSCRIBE\"] = 26] = \"SUBSCRIBE\";\n METHODS[METHODS[\"UNSUBSCRIBE\"] = 27] = \"UNSUBSCRIBE\";\n /* RFC-5789 */\n METHODS[METHODS[\"PATCH\"] = 28] = \"PATCH\";\n METHODS[METHODS[\"PURGE\"] = 29] = \"PURGE\";\n /* CalDAV */\n METHODS[METHODS[\"MKCALENDAR\"] = 30] = \"MKCALENDAR\";\n /* RFC-2068, section 19.6.1.2 */\n METHODS[METHODS[\"LINK\"] = 31] = \"LINK\";\n METHODS[METHODS[\"UNLINK\"] = 32] = \"UNLINK\";\n /* icecast */\n METHODS[METHODS[\"SOURCE\"] = 33] = \"SOURCE\";\n /* RFC-7540, section 11.6 */\n METHODS[METHODS[\"PRI\"] = 34] = \"PRI\";\n /* RFC-2326 RTSP */\n METHODS[METHODS[\"DESCRIBE\"] = 35] = \"DESCRIBE\";\n METHODS[METHODS[\"ANNOUNCE\"] = 36] = \"ANNOUNCE\";\n METHODS[METHODS[\"SETUP\"] = 37] = \"SETUP\";\n METHODS[METHODS[\"PLAY\"] = 38] = \"PLAY\";\n METHODS[METHODS[\"PAUSE\"] = 39] = \"PAUSE\";\n METHODS[METHODS[\"TEARDOWN\"] = 40] = \"TEARDOWN\";\n METHODS[METHODS[\"GET_PARAMETER\"] = 41] = \"GET_PARAMETER\";\n METHODS[METHODS[\"SET_PARAMETER\"] = 42] = \"SET_PARAMETER\";\n METHODS[METHODS[\"REDIRECT\"] = 43] = \"REDIRECT\";\n METHODS[METHODS[\"RECORD\"] = 44] = \"RECORD\";\n /* RAOP */\n METHODS[METHODS[\"FLUSH\"] = 45] = \"FLUSH\";\n})(METHODS = exports.METHODS || (exports.METHODS = {}));\nexports.METHODS_HTTP = [\n METHODS.DELETE,\n METHODS.GET,\n METHODS.HEAD,\n METHODS.POST,\n METHODS.PUT,\n METHODS.CONNECT,\n METHODS.OPTIONS,\n METHODS.TRACE,\n METHODS.COPY,\n METHODS.LOCK,\n METHODS.MKCOL,\n METHODS.MOVE,\n METHODS.PROPFIND,\n METHODS.PROPPATCH,\n METHODS.SEARCH,\n METHODS.UNLOCK,\n METHODS.BIND,\n METHODS.REBIND,\n METHODS.UNBIND,\n METHODS.ACL,\n METHODS.REPORT,\n METHODS.MKACTIVITY,\n METHODS.CHECKOUT,\n METHODS.MERGE,\n METHODS['M-SEARCH'],\n METHODS.NOTIFY,\n METHODS.SUBSCRIBE,\n METHODS.UNSUBSCRIBE,\n METHODS.PATCH,\n METHODS.PURGE,\n METHODS.MKCALENDAR,\n METHODS.LINK,\n METHODS.UNLINK,\n METHODS.PRI,\n // TODO(indutny): should we allow it with HTTP?\n METHODS.SOURCE,\n];\nexports.METHODS_ICE = [\n METHODS.SOURCE,\n];\nexports.METHODS_RTSP = [\n METHODS.OPTIONS,\n METHODS.DESCRIBE,\n METHODS.ANNOUNCE,\n METHODS.SETUP,\n METHODS.PLAY,\n METHODS.PAUSE,\n METHODS.TEARDOWN,\n METHODS.GET_PARAMETER,\n METHODS.SET_PARAMETER,\n METHODS.REDIRECT,\n METHODS.RECORD,\n METHODS.FLUSH,\n // For AirPlay\n METHODS.GET,\n METHODS.POST,\n];\nexports.METHOD_MAP = utils_1.enumToMap(METHODS);\nexports.H_METHOD_MAP = {};\nObject.keys(exports.METHOD_MAP).forEach((key) => {\n if (/^H/.test(key)) {\n exports.H_METHOD_MAP[key] = exports.METHOD_MAP[key];\n }\n});\nvar FINISH;\n(function (FINISH) {\n FINISH[FINISH[\"SAFE\"] = 0] = \"SAFE\";\n FINISH[FINISH[\"SAFE_WITH_CB\"] = 1] = \"SAFE_WITH_CB\";\n FINISH[FINISH[\"UNSAFE\"] = 2] = \"UNSAFE\";\n})(FINISH = exports.FINISH || (exports.FINISH = {}));\nexports.ALPHA = [];\nfor (let i = 'A'.charCodeAt(0); i <= 'Z'.charCodeAt(0); i++) {\n // Upper case\n exports.ALPHA.push(String.fromCharCode(i));\n // Lower case\n exports.ALPHA.push(String.fromCharCode(i + 0x20));\n}\nexports.NUM_MAP = {\n 0: 0, 1: 1, 2: 2, 3: 3, 4: 4,\n 5: 5, 6: 6, 7: 7, 8: 8, 9: 9,\n};\nexports.HEX_MAP = {\n 0: 0, 1: 1, 2: 2, 3: 3, 4: 4,\n 5: 5, 6: 6, 7: 7, 8: 8, 9: 9,\n A: 0XA, B: 0XB, C: 0XC, D: 0XD, E: 0XE, F: 0XF,\n a: 0xa, b: 0xb, c: 0xc, d: 0xd, e: 0xe, f: 0xf,\n};\nexports.NUM = [\n '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',\n];\nexports.ALPHANUM = exports.ALPHA.concat(exports.NUM);\nexports.MARK = ['-', '_', '.', '!', '~', '*', '\\'', '(', ')'];\nexports.USERINFO_CHARS = exports.ALPHANUM\n .concat(exports.MARK)\n .concat(['%', ';', ':', '&', '=', '+', '$', ',']);\n// TODO(indutny): use RFC\nexports.STRICT_URL_CHAR = [\n '!', '\"', '$', '%', '&', '\\'',\n '(', ')', '*', '+', ',', '-', '.', '/',\n ':', ';', '<', '=', '>',\n '@', '[', '\\\\', ']', '^', '_',\n '`',\n '{', '|', '}', '~',\n].concat(exports.ALPHANUM);\nexports.URL_CHAR = exports.STRICT_URL_CHAR\n .concat(['\\t', '\\f']);\n// All characters with 0x80 bit set to 1\nfor (let i = 0x80; i <= 0xff; i++) {\n exports.URL_CHAR.push(i);\n}\nexports.HEX = exports.NUM.concat(['a', 'b', 'c', 'd', 'e', 'f', 'A', 'B', 'C', 'D', 'E', 'F']);\n/* Tokens as defined by rfc 2616. Also lowercases them.\n * token = 1*\n * separators = \"(\" | \")\" | \"<\" | \">\" | \"@\"\n * | \",\" | \";\" | \":\" | \"\\\" | <\">\n * | \"/\" | \"[\" | \"]\" | \"?\" | \"=\"\n * | \"{\" | \"}\" | SP | HT\n */\nexports.STRICT_TOKEN = [\n '!', '#', '$', '%', '&', '\\'',\n '*', '+', '-', '.',\n '^', '_', '`',\n '|', '~',\n].concat(exports.ALPHANUM);\nexports.TOKEN = exports.STRICT_TOKEN.concat([' ']);\n/*\n * Verify that a char is a valid visible (printable) US-ASCII\n * character or %x80-FF\n */\nexports.HEADER_CHARS = ['\\t'];\nfor (let i = 32; i <= 255; i++) {\n if (i !== 127) {\n exports.HEADER_CHARS.push(i);\n }\n}\n// ',' = \\x44\nexports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS.filter((c) => c !== 44);\nexports.MAJOR = exports.NUM_MAP;\nexports.MINOR = exports.MAJOR;\nvar HEADER_STATE;\n(function (HEADER_STATE) {\n HEADER_STATE[HEADER_STATE[\"GENERAL\"] = 0] = \"GENERAL\";\n HEADER_STATE[HEADER_STATE[\"CONNECTION\"] = 1] = \"CONNECTION\";\n HEADER_STATE[HEADER_STATE[\"CONTENT_LENGTH\"] = 2] = \"CONTENT_LENGTH\";\n HEADER_STATE[HEADER_STATE[\"TRANSFER_ENCODING\"] = 3] = \"TRANSFER_ENCODING\";\n HEADER_STATE[HEADER_STATE[\"UPGRADE\"] = 4] = \"UPGRADE\";\n HEADER_STATE[HEADER_STATE[\"CONNECTION_KEEP_ALIVE\"] = 5] = \"CONNECTION_KEEP_ALIVE\";\n HEADER_STATE[HEADER_STATE[\"CONNECTION_CLOSE\"] = 6] = \"CONNECTION_CLOSE\";\n HEADER_STATE[HEADER_STATE[\"CONNECTION_UPGRADE\"] = 7] = \"CONNECTION_UPGRADE\";\n HEADER_STATE[HEADER_STATE[\"TRANSFER_ENCODING_CHUNKED\"] = 8] = \"TRANSFER_ENCODING_CHUNKED\";\n})(HEADER_STATE = exports.HEADER_STATE || (exports.HEADER_STATE = {}));\nexports.SPECIAL_HEADERS = {\n 'connection': HEADER_STATE.CONNECTION,\n 'content-length': HEADER_STATE.CONTENT_LENGTH,\n 'proxy-connection': HEADER_STATE.CONNECTION,\n 'transfer-encoding': HEADER_STATE.TRANSFER_ENCODING,\n 'upgrade': HEADER_STATE.UPGRADE,\n};\n//# sourceMappingURL=constants.js.map", "'use strict'\n\nconst { Buffer } = require('node:buffer')\n\nmodule.exports = Buffer.from('AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtsbGh0dHBfaW5pdAAJGGxsaHR0cF9zaG91bGRfa2VlcF9hbGl2ZQAvDGxsaHR0cF9hbGxvYwALBm1hbGxvYwAxC2xsaHR0cF9mcmVlAAwEZnJlZQAMD2xsaHR0cF9nZXRfdHlwZQANFWxsaHR0cF9nZXRfaHR0cF9tYWpvcgAOFWxsaHR0cF9nZXRfaHR0cF9taW5vcgAPEWxsaHR0cF9nZXRfbWV0aG9kABAWbGxodHRwX2dldF9zdGF0dXNfY29kZQAREmxsaHR0cF9nZXRfdXBncmFkZQASDGxsaHR0cF9yZXNldAATDmxsaHR0cF9leGV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IAIgADYCGAsgASAEaiAENgIAIAEgBEEBcjYCBCABQaDQACgCAEcNAEGU0AAgBDYCAAwBCyAEQf8BTQRAIARBeHFBtNAAaiEAAn9BjNAAKAIAIgJBASAEQQN2dCIDcUUEQEGM0AAgAiADcjYCACAADAELIAAoAggLIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAC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MFgtBAQwVC0GvAQwUC0GwAQwTC0GxAQwSC0GzAQwRC0GyAQwQC0G0AQwPC0G1AQwOC0G2AQwNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJA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kEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAycAgsgAkEANgIAIAZBAWohAUEVDF8LQZIBIQMgASAERg2aAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGhzwBqLQAARw1dIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAybAgsgAkEANgIAIAZBAWohAUEeDF4LIAEgBEYEQEGTASEDDJoCCyABLQAAQcwARw1bIAFBAWohAUEKDF0LIAEgBEYEQEGUASEDDJkC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EMIQtBpAEMIAtBpQEMHwtBpgEMHgtBpwEMHQtBqAEMHAtBqQEMGwtBqgEMGgtBqwEMGQtBrAEMGAtBrQEMFwtBrgEMFgtBAQwVC0GvAQwUC0GwAQwTC0GxAQwSC0GzAQwRC0GyAQwQC0G0AQwPC0G1AQwOC0G2AQwNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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AUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQfAAIQMMjgILIAEgBEYEQEGGASEDDKcCCyABLQAAQcUARw1oIAFBAWohAQxgC0GHASEDIAEgBEYNpQIgAigCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBiM8Aai0AAEcNaCAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMpgILIAJBADYCACAGQQFqIQFBLQxpC0GIASEDIAEgBEYNpAIgAigCACIAIAQgAWtqIQUgASAAa0EIaiEGAkADQCABLQAAIABB0M8Aai0AAEcNZyAAQQhGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMpQILIAJBADYCACAGQQFqIQFBKQxoCyABIARGBEBBiQEhAwykAgtBASABLQAAQd8ARw1nGiABQQFqIQEMXgtBigEhAyABIARGDaICIAIoAgAiACAEIAFraiEFIAEgAGtBAWohBgNAIAEtAAAgAEGMzwBqLQAARw1kIABBAUYN+gEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMogILQYsBIQMgASAERg2hAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGOzwBqLQAARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAycAgsgAkEANgIAIAZBAWohAUEVDF8LQZIBIQMgASAERg2aAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGhzwBqLQAARw1dIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAybAgsg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ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==', 'base64')\n", "'use strict'\n\nconst corsSafeListedMethods = /** @type {const} */ (['GET', 'HEAD', 'POST'])\nconst corsSafeListedMethodsSet = new Set(corsSafeListedMethods)\n\nconst nullBodyStatus = /** @type {const} */ ([101, 204, 205, 304])\n\nconst redirectStatus = /** @type {const} */ ([301, 302, 303, 307, 308])\nconst redirectStatusSet = new Set(redirectStatus)\n\n/**\n * @see https://fetch.spec.whatwg.org/#block-bad-port\n */\nconst badPorts = /** @type {const} */ ([\n '1', '7', '9', '11', '13', '15', '17', '19', '20', '21', '22', '23', '25', '37', '42', '43', '53', '69', '77', '79',\n '87', '95', '101', '102', '103', '104', '109', '110', '111', '113', '115', '117', '119', '123', '135', '137',\n '139', '143', '161', '179', '389', '427', '465', '512', '513', '514', '515', '526', '530', '531', '532',\n '540', '548', '554', '556', '563', '587', '601', '636', '989', '990', '993', '995', '1719', '1720', '1723',\n '2049', '3659', '4045', '4190', '5060', '5061', '6000', '6566', '6665', '6666', '6667', '6668', '6669', '6679',\n '6697', '10080'\n])\nconst badPortsSet = new Set(badPorts)\n\n/**\n * @see https://w3c.github.io/webappsec-referrer-policy/#referrer-policies\n */\nconst referrerPolicy = /** @type {const} */ ([\n '',\n 'no-referrer',\n 'no-referrer-when-downgrade',\n 'same-origin',\n 'origin',\n 'strict-origin',\n 'origin-when-cross-origin',\n 'strict-origin-when-cross-origin',\n 'unsafe-url'\n])\nconst referrerPolicySet = new Set(referrerPolicy)\n\nconst requestRedirect = /** @type {const} */ (['follow', 'manual', 'error'])\n\nconst safeMethods = /** @type {const} */ (['GET', 'HEAD', 'OPTIONS', 'TRACE'])\nconst safeMethodsSet = new Set(safeMethods)\n\nconst requestMode = /** @type {const} */ (['navigate', 'same-origin', 'no-cors', 'cors'])\n\nconst requestCredentials = /** @type {const} */ (['omit', 'same-origin', 'include'])\n\nconst requestCache = /** @type {const} */ ([\n 'default',\n 'no-store',\n 'reload',\n 'no-cache',\n 'force-cache',\n 'only-if-cached'\n])\n\n/**\n * @see https://fetch.spec.whatwg.org/#request-body-header-name\n */\nconst requestBodyHeader = /** @type {const} */ ([\n 'content-encoding',\n 'content-language',\n 'content-location',\n 'content-type',\n // See https://github.com/nodejs/undici/issues/2021\n // 'Content-Length' is a forbidden header name, which is typically\n // removed in the Headers implementation. However, undici doesn't\n // filter out headers, so we add it here.\n 'content-length'\n])\n\n/**\n * @see https://fetch.spec.whatwg.org/#enumdef-requestduplex\n */\nconst requestDuplex = /** @type {const} */ ([\n 'half'\n])\n\n/**\n * @see http://fetch.spec.whatwg.org/#forbidden-method\n */\nconst forbiddenMethods = /** @type {const} */ (['CONNECT', 'TRACE', 'TRACK'])\nconst forbiddenMethodsSet = new Set(forbiddenMethods)\n\nconst subresource = /** @type {const} */ ([\n 'audio',\n 'audioworklet',\n 'font',\n 'image',\n 'manifest',\n 'paintworklet',\n 'script',\n 'style',\n 'track',\n 'video',\n 'xslt',\n ''\n])\nconst subresourceSet = new Set(subresource)\n\nmodule.exports = {\n subresource,\n forbiddenMethods,\n requestBodyHeader,\n referrerPolicy,\n requestRedirect,\n requestMode,\n requestCredentials,\n requestCache,\n redirectStatus,\n corsSafeListedMethods,\n nullBodyStatus,\n safeMethods,\n badPorts,\n requestDuplex,\n subresourceSet,\n badPortsSet,\n redirectStatusSet,\n corsSafeListedMethodsSet,\n safeMethodsSet,\n forbiddenMethodsSet,\n referrerPolicySet\n}\n", "'use strict'\n\n// In case of breaking changes, increase the version\n// number to avoid conflicts.\nconst globalOrigin = Symbol.for('undici.globalOrigin.1')\n\nfunction getGlobalOrigin () {\n return globalThis[globalOrigin]\n}\n\nfunction setGlobalOrigin (newOrigin) {\n if (newOrigin === undefined) {\n Object.defineProperty(globalThis, globalOrigin, {\n value: undefined,\n writable: true,\n enumerable: false,\n configurable: false\n })\n\n return\n }\n\n const parsedURL = new URL(newOrigin)\n\n if (parsedURL.protocol !== 'http:' && parsedURL.protocol !== 'https:') {\n throw new TypeError(`Only http & https urls are allowed, received ${parsedURL.protocol}`)\n }\n\n Object.defineProperty(globalThis, globalOrigin, {\n value: parsedURL,\n writable: true,\n enumerable: false,\n configurable: false\n })\n}\n\nmodule.exports = {\n getGlobalOrigin,\n setGlobalOrigin\n}\n", "'use strict'\n\nconst assert = require('node:assert')\n\nconst encoder = new TextEncoder()\n\n/**\n * @see https://mimesniff.spec.whatwg.org/#http-token-code-point\n */\nconst HTTP_TOKEN_CODEPOINTS = /^[!#$%&'*+\\-.^_|~A-Za-z0-9]+$/\nconst HTTP_WHITESPACE_REGEX = /[\\u000A\\u000D\\u0009\\u0020]/ // eslint-disable-line\nconst ASCII_WHITESPACE_REPLACE_REGEX = /[\\u0009\\u000A\\u000C\\u000D\\u0020]/g // eslint-disable-line\n/**\n * @see https://mimesniff.spec.whatwg.org/#http-quoted-string-token-code-point\n */\nconst HTTP_QUOTED_STRING_TOKENS = /^[\\u0009\\u0020-\\u007E\\u0080-\\u00FF]+$/ // eslint-disable-line\n\n// https://fetch.spec.whatwg.org/#data-url-processor\n/** @param {URL} dataURL */\nfunction dataURLProcessor (dataURL) {\n // 1. Assert: dataURL\u2019s scheme is \"data\".\n assert(dataURL.protocol === 'data:')\n\n // 2. Let input be the result of running the URL\n // serializer on dataURL with exclude fragment\n // set to true.\n let input = URLSerializer(dataURL, true)\n\n // 3. Remove the leading \"data:\" string from input.\n input = input.slice(5)\n\n // 4. Let position point at the start of input.\n const position = { position: 0 }\n\n // 5. Let mimeType be the result of collecting a\n // sequence of code points that are not equal\n // to U+002C (,), given position.\n let mimeType = collectASequenceOfCodePointsFast(\n ',',\n input,\n position\n )\n\n // 6. Strip leading and trailing ASCII whitespace\n // from mimeType.\n // Undici implementation note: we need to store the\n // length because if the mimetype has spaces removed,\n // the wrong amount will be sliced from the input in\n // step #9\n const mimeTypeLength = mimeType.length\n mimeType = removeASCIIWhitespace(mimeType, true, true)\n\n // 7. If position is past the end of input, then\n // return failure\n if (position.position >= input.length) {\n return 'failure'\n }\n\n // 8. Advance position by 1.\n position.position++\n\n // 9. Let encodedBody be the remainder of input.\n const encodedBody = input.slice(mimeTypeLength + 1)\n\n // 10. Let body be the percent-decoding of encodedBody.\n let body = stringPercentDecode(encodedBody)\n\n // 11. If mimeType ends with U+003B (;), followed by\n // zero or more U+0020 SPACE, followed by an ASCII\n // case-insensitive match for \"base64\", then:\n if (/;(\\u0020){0,}base64$/i.test(mimeType)) {\n // 1. Let stringBody be the isomorphic decode of body.\n const stringBody = isomorphicDecode(body)\n\n // 2. Set body to the forgiving-base64 decode of\n // stringBody.\n body = forgivingBase64(stringBody)\n\n // 3. If body is failure, then return failure.\n if (body === 'failure') {\n return 'failure'\n }\n\n // 4. Remove the last 6 code points from mimeType.\n mimeType = mimeType.slice(0, -6)\n\n // 5. Remove trailing U+0020 SPACE code points from mimeType,\n // if any.\n mimeType = mimeType.replace(/(\\u0020)+$/, '')\n\n // 6. Remove the last U+003B (;) code point from mimeType.\n mimeType = mimeType.slice(0, -1)\n }\n\n // 12. If mimeType starts with U+003B (;), then prepend\n // \"text/plain\" to mimeType.\n if (mimeType.startsWith(';')) {\n mimeType = 'text/plain' + mimeType\n }\n\n // 13. Let mimeTypeRecord be the result of parsing\n // mimeType.\n let mimeTypeRecord = parseMIMEType(mimeType)\n\n // 14. If mimeTypeRecord is failure, then set\n // mimeTypeRecord to text/plain;charset=US-ASCII.\n if (mimeTypeRecord === 'failure') {\n mimeTypeRecord = parseMIMEType('text/plain;charset=US-ASCII')\n }\n\n // 15. Return a new data: URL struct whose MIME\n // type is mimeTypeRecord and body is body.\n // https://fetch.spec.whatwg.org/#data-url-struct\n return { mimeType: mimeTypeRecord, body }\n}\n\n// https://url.spec.whatwg.org/#concept-url-serializer\n/**\n * @param {URL} url\n * @param {boolean} excludeFragment\n */\nfunction URLSerializer (url, excludeFragment = false) {\n if (!excludeFragment) {\n return url.href\n }\n\n const href = url.href\n const hashLength = url.hash.length\n\n const serialized = hashLength === 0 ? href : href.substring(0, href.length - hashLength)\n\n if (!hashLength && href.endsWith('#')) {\n return serialized.slice(0, -1)\n }\n\n return serialized\n}\n\n// https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points\n/**\n * @param {(char: string) => boolean} condition\n * @param {string} input\n * @param {{ position: number }} position\n */\nfunction collectASequenceOfCodePoints (condition, input, position) {\n // 1. Let result be the empty string.\n let result = ''\n\n // 2. While position doesn\u2019t point past the end of input and the\n // code point at position within input meets the condition condition:\n while (position.position < input.length && condition(input[position.position])) {\n // 1. Append that code point to the end of result.\n result += input[position.position]\n\n // 2. Advance position by 1.\n position.position++\n }\n\n // 3. Return result.\n return result\n}\n\n/**\n * A faster collectASequenceOfCodePoints that only works when comparing a single character.\n * @param {string} char\n * @param {string} input\n * @param {{ position: number }} position\n */\nfunction collectASequenceOfCodePointsFast (char, input, position) {\n const idx = input.indexOf(char, position.position)\n const start = position.position\n\n if (idx === -1) {\n position.position = input.length\n return input.slice(start)\n }\n\n position.position = idx\n return input.slice(start, position.position)\n}\n\n// https://url.spec.whatwg.org/#string-percent-decode\n/** @param {string} input */\nfunction stringPercentDecode (input) {\n // 1. Let bytes be the UTF-8 encoding of input.\n const bytes = encoder.encode(input)\n\n // 2. Return the percent-decoding of bytes.\n return percentDecode(bytes)\n}\n\n/**\n * @param {number} byte\n */\nfunction isHexCharByte (byte) {\n // 0-9 A-F a-f\n return (byte >= 0x30 && byte <= 0x39) || (byte >= 0x41 && byte <= 0x46) || (byte >= 0x61 && byte <= 0x66)\n}\n\n/**\n * @param {number} byte\n */\nfunction hexByteToNumber (byte) {\n return (\n // 0-9\n byte >= 0x30 && byte <= 0x39\n ? (byte - 48)\n // Convert to uppercase\n // ((byte & 0xDF) - 65) + 10\n : ((byte & 0xDF) - 55)\n )\n}\n\n// https://url.spec.whatwg.org/#percent-decode\n/** @param {Uint8Array} input */\nfunction percentDecode (input) {\n const length = input.length\n // 1. Let output be an empty byte sequence.\n /** @type {Uint8Array} */\n const output = new Uint8Array(length)\n let j = 0\n // 2. For each byte byte in input:\n for (let i = 0; i < length; ++i) {\n const byte = input[i]\n\n // 1. If byte is not 0x25 (%), then append byte to output.\n if (byte !== 0x25) {\n output[j++] = byte\n\n // 2. Otherwise, if byte is 0x25 (%) and the next two bytes\n // after byte in input are not in the ranges\n // 0x30 (0) to 0x39 (9), 0x41 (A) to 0x46 (F),\n // and 0x61 (a) to 0x66 (f), all inclusive, append byte\n // to output.\n } else if (\n byte === 0x25 &&\n !(isHexCharByte(input[i + 1]) && isHexCharByte(input[i + 2]))\n ) {\n output[j++] = 0x25\n\n // 3. Otherwise:\n } else {\n // 1. Let bytePoint be the two bytes after byte in input,\n // decoded, and then interpreted as hexadecimal number.\n // 2. Append a byte whose value is bytePoint to output.\n output[j++] = (hexByteToNumber(input[i + 1]) << 4) | hexByteToNumber(input[i + 2])\n\n // 3. Skip the next two bytes in input.\n i += 2\n }\n }\n\n // 3. Return output.\n return length === j ? output : output.subarray(0, j)\n}\n\n// https://mimesniff.spec.whatwg.org/#parse-a-mime-type\n/** @param {string} input */\nfunction parseMIMEType (input) {\n // 1. Remove any leading and trailing HTTP whitespace\n // from input.\n input = removeHTTPWhitespace(input, true, true)\n\n // 2. Let position be a position variable for input,\n // initially pointing at the start of input.\n const position = { position: 0 }\n\n // 3. Let type be the result of collecting a sequence\n // of code points that are not U+002F (/) from\n // input, given position.\n const type = collectASequenceOfCodePointsFast(\n '/',\n input,\n position\n )\n\n // 4. If type is the empty string or does not solely\n // contain HTTP token code points, then return failure.\n // https://mimesniff.spec.whatwg.org/#http-token-code-point\n if (type.length === 0 || !HTTP_TOKEN_CODEPOINTS.test(type)) {\n return 'failure'\n }\n\n // 5. If position is past the end of input, then return\n // failure\n if (position.position > input.length) {\n return 'failure'\n }\n\n // 6. Advance position by 1. (This skips past U+002F (/).)\n position.position++\n\n // 7. Let subtype be the result of collecting a sequence of\n // code points that are not U+003B (;) from input, given\n // position.\n let subtype = collectASequenceOfCodePointsFast(\n ';',\n input,\n position\n )\n\n // 8. Remove any trailing HTTP whitespace from subtype.\n subtype = removeHTTPWhitespace(subtype, false, true)\n\n // 9. If subtype is the empty string or does not solely\n // contain HTTP token code points, then return failure.\n if (subtype.length === 0 || !HTTP_TOKEN_CODEPOINTS.test(subtype)) {\n return 'failure'\n }\n\n const typeLowercase = type.toLowerCase()\n const subtypeLowercase = subtype.toLowerCase()\n\n // 10. Let mimeType be a new MIME type record whose type\n // is type, in ASCII lowercase, and subtype is subtype,\n // in ASCII lowercase.\n // https://mimesniff.spec.whatwg.org/#mime-type\n const mimeType = {\n type: typeLowercase,\n subtype: subtypeLowercase,\n /** @type {Map} */\n parameters: new Map(),\n // https://mimesniff.spec.whatwg.org/#mime-type-essence\n essence: `${typeLowercase}/${subtypeLowercase}`\n }\n\n // 11. While position is not past the end of input:\n while (position.position < input.length) {\n // 1. Advance position by 1. (This skips past U+003B (;).)\n position.position++\n\n // 2. Collect a sequence of code points that are HTTP\n // whitespace from input given position.\n collectASequenceOfCodePoints(\n // https://fetch.spec.whatwg.org/#http-whitespace\n char => HTTP_WHITESPACE_REGEX.test(char),\n input,\n position\n )\n\n // 3. Let parameterName be the result of collecting a\n // sequence of code points that are not U+003B (;)\n // or U+003D (=) from input, given position.\n let parameterName = collectASequenceOfCodePoints(\n (char) => char !== ';' && char !== '=',\n input,\n position\n )\n\n // 4. Set parameterName to parameterName, in ASCII\n // lowercase.\n parameterName = parameterName.toLowerCase()\n\n // 5. If position is not past the end of input, then:\n if (position.position < input.length) {\n // 1. If the code point at position within input is\n // U+003B (;), then continue.\n if (input[position.position] === ';') {\n continue\n }\n\n // 2. Advance position by 1. (This skips past U+003D (=).)\n position.position++\n }\n\n // 6. If position is past the end of input, then break.\n if (position.position > input.length) {\n break\n }\n\n // 7. Let parameterValue be null.\n let parameterValue = null\n\n // 8. If the code point at position within input is\n // U+0022 (\"), then:\n if (input[position.position] === '\"') {\n // 1. Set parameterValue to the result of collecting\n // an HTTP quoted string from input, given position\n // and the extract-value flag.\n parameterValue = collectAnHTTPQuotedString(input, position, true)\n\n // 2. Collect a sequence of code points that are not\n // U+003B (;) from input, given position.\n collectASequenceOfCodePointsFast(\n ';',\n input,\n position\n )\n\n // 9. Otherwise:\n } else {\n // 1. Set parameterValue to the result of collecting\n // a sequence of code points that are not U+003B (;)\n // from input, given position.\n parameterValue = collectASequenceOfCodePointsFast(\n ';',\n input,\n position\n )\n\n // 2. Remove any trailing HTTP whitespace from parameterValue.\n parameterValue = removeHTTPWhitespace(parameterValue, false, true)\n\n // 3. If parameterValue is the empty string, then continue.\n if (parameterValue.length === 0) {\n continue\n }\n }\n\n // 10. If all of the following are true\n // - parameterName is not the empty string\n // - parameterName solely contains HTTP token code points\n // - parameterValue solely contains HTTP quoted-string token code points\n // - mimeType\u2019s parameters[parameterName] does not exist\n // then set mimeType\u2019s parameters[parameterName] to parameterValue.\n if (\n parameterName.length !== 0 &&\n HTTP_TOKEN_CODEPOINTS.test(parameterName) &&\n (parameterValue.length === 0 || HTTP_QUOTED_STRING_TOKENS.test(parameterValue)) &&\n !mimeType.parameters.has(parameterName)\n ) {\n mimeType.parameters.set(parameterName, parameterValue)\n }\n }\n\n // 12. Return mimeType.\n return mimeType\n}\n\n// https://infra.spec.whatwg.org/#forgiving-base64-decode\n/** @param {string} data */\nfunction forgivingBase64 (data) {\n // 1. Remove all ASCII whitespace from data.\n data = data.replace(ASCII_WHITESPACE_REPLACE_REGEX, '') // eslint-disable-line\n\n let dataLength = data.length\n // 2. If data\u2019s code point length divides by 4 leaving\n // no remainder, then:\n if (dataLength % 4 === 0) {\n // 1. If data ends with one or two U+003D (=) code points,\n // then remove them from data.\n if (data.charCodeAt(dataLength - 1) === 0x003D) {\n --dataLength\n if (data.charCodeAt(dataLength - 1) === 0x003D) {\n --dataLength\n }\n }\n }\n\n // 3. If data\u2019s code point length divides by 4 leaving\n // a remainder of 1, then return failure.\n if (dataLength % 4 === 1) {\n return 'failure'\n }\n\n // 4. If data contains a code point that is not one of\n // U+002B (+)\n // U+002F (/)\n // ASCII alphanumeric\n // then return failure.\n if (/[^+/0-9A-Za-z]/.test(data.length === dataLength ? data : data.substring(0, dataLength))) {\n return 'failure'\n }\n\n const buffer = Buffer.from(data, 'base64')\n return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength)\n}\n\n// https://fetch.spec.whatwg.org/#collect-an-http-quoted-string\n// tests: https://fetch.spec.whatwg.org/#example-http-quoted-string\n/**\n * @param {string} input\n * @param {{ position: number }} position\n * @param {boolean?} extractValue\n */\nfunction collectAnHTTPQuotedString (input, position, extractValue) {\n // 1. Let positionStart be position.\n const positionStart = position.position\n\n // 2. Let value be the empty string.\n let value = ''\n\n // 3. Assert: the code point at position within input\n // is U+0022 (\").\n assert(input[position.position] === '\"')\n\n // 4. Advance position by 1.\n position.position++\n\n // 5. While true:\n while (true) {\n // 1. Append the result of collecting a sequence of code points\n // that are not U+0022 (\") or U+005C (\\) from input, given\n // position, to value.\n value += collectASequenceOfCodePoints(\n (char) => char !== '\"' && char !== '\\\\',\n input,\n position\n )\n\n // 2. If position is past the end of input, then break.\n if (position.position >= input.length) {\n break\n }\n\n // 3. Let quoteOrBackslash be the code point at position within\n // input.\n const quoteOrBackslash = input[position.position]\n\n // 4. Advance position by 1.\n position.position++\n\n // 5. If quoteOrBackslash is U+005C (\\), then:\n if (quoteOrBackslash === '\\\\') {\n // 1. If position is past the end of input, then append\n // U+005C (\\) to value and break.\n if (position.position >= input.length) {\n value += '\\\\'\n break\n }\n\n // 2. Append the code point at position within input to value.\n value += input[position.position]\n\n // 3. Advance position by 1.\n position.position++\n\n // 6. Otherwise:\n } else {\n // 1. Assert: quoteOrBackslash is U+0022 (\").\n assert(quoteOrBackslash === '\"')\n\n // 2. Break.\n break\n }\n }\n\n // 6. If the extract-value flag is set, then return value.\n if (extractValue) {\n return value\n }\n\n // 7. Return the code points from positionStart to position,\n // inclusive, within input.\n return input.slice(positionStart, position.position)\n}\n\n/**\n * @see https://mimesniff.spec.whatwg.org/#serialize-a-mime-type\n */\nfunction serializeAMimeType (mimeType) {\n assert(mimeType !== 'failure')\n const { parameters, essence } = mimeType\n\n // 1. Let serialization be the concatenation of mimeType\u2019s\n // type, U+002F (/), and mimeType\u2019s subtype.\n let serialization = essence\n\n // 2. For each name \u2192 value of mimeType\u2019s parameters:\n for (let [name, value] of parameters.entries()) {\n // 1. Append U+003B (;) to serialization.\n serialization += ';'\n\n // 2. Append name to serialization.\n serialization += name\n\n // 3. Append U+003D (=) to serialization.\n serialization += '='\n\n // 4. If value does not solely contain HTTP token code\n // points or value is the empty string, then:\n if (!HTTP_TOKEN_CODEPOINTS.test(value)) {\n // 1. Precede each occurrence of U+0022 (\") or\n // U+005C (\\) in value with U+005C (\\).\n value = value.replace(/(\\\\|\")/g, '\\\\$1')\n\n // 2. Prepend U+0022 (\") to value.\n value = '\"' + value\n\n // 3. Append U+0022 (\") to value.\n value += '\"'\n }\n\n // 5. Append value to serialization.\n serialization += value\n }\n\n // 3. Return serialization.\n return serialization\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#http-whitespace\n * @param {number} char\n */\nfunction isHTTPWhiteSpace (char) {\n // \"\\r\\n\\t \"\n return char === 0x00d || char === 0x00a || char === 0x009 || char === 0x020\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#http-whitespace\n * @param {string} str\n * @param {boolean} [leading=true]\n * @param {boolean} [trailing=true]\n */\nfunction removeHTTPWhitespace (str, leading = true, trailing = true) {\n return removeChars(str, leading, trailing, isHTTPWhiteSpace)\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#ascii-whitespace\n * @param {number} char\n */\nfunction isASCIIWhitespace (char) {\n // \"\\r\\n\\t\\f \"\n return char === 0x00d || char === 0x00a || char === 0x009 || char === 0x00c || char === 0x020\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#strip-leading-and-trailing-ascii-whitespace\n * @param {string} str\n * @param {boolean} [leading=true]\n * @param {boolean} [trailing=true]\n */\nfunction removeASCIIWhitespace (str, leading = true, trailing = true) {\n return removeChars(str, leading, trailing, isASCIIWhitespace)\n}\n\n/**\n * @param {string} str\n * @param {boolean} leading\n * @param {boolean} trailing\n * @param {(charCode: number) => boolean} predicate\n * @returns\n */\nfunction removeChars (str, leading, trailing, predicate) {\n let lead = 0\n let trail = str.length - 1\n\n if (leading) {\n while (lead < str.length && predicate(str.charCodeAt(lead))) lead++\n }\n\n if (trailing) {\n while (trail > 0 && predicate(str.charCodeAt(trail))) trail--\n }\n\n return lead === 0 && trail === str.length - 1 ? str : str.slice(lead, trail + 1)\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#isomorphic-decode\n * @param {Uint8Array} input\n * @returns {string}\n */\nfunction isomorphicDecode (input) {\n // 1. To isomorphic decode a byte sequence input, return a string whose code point\n // length is equal to input\u2019s length and whose code points have the same values\n // as the values of input\u2019s bytes, in the same order.\n const length = input.length\n if ((2 << 15) - 1 > length) {\n return String.fromCharCode.apply(null, input)\n }\n let result = ''; let i = 0\n let addition = (2 << 15) - 1\n while (i < length) {\n if (i + addition > length) {\n addition = length - i\n }\n result += String.fromCharCode.apply(null, input.subarray(i, i += addition))\n }\n return result\n}\n\n/**\n * @see https://mimesniff.spec.whatwg.org/#minimize-a-supported-mime-type\n * @param {Exclude, 'failure'>} mimeType\n */\nfunction minimizeSupportedMimeType (mimeType) {\n switch (mimeType.essence) {\n case 'application/ecmascript':\n case 'application/javascript':\n case 'application/x-ecmascript':\n case 'application/x-javascript':\n case 'text/ecmascript':\n case 'text/javascript':\n case 'text/javascript1.0':\n case 'text/javascript1.1':\n case 'text/javascript1.2':\n case 'text/javascript1.3':\n case 'text/javascript1.4':\n case 'text/javascript1.5':\n case 'text/jscript':\n case 'text/livescript':\n case 'text/x-ecmascript':\n case 'text/x-javascript':\n // 1. If mimeType is a JavaScript MIME type, then return \"text/javascript\".\n return 'text/javascript'\n case 'application/json':\n case 'text/json':\n // 2. If mimeType is a JSON MIME type, then return \"application/json\".\n return 'application/json'\n case 'image/svg+xml':\n // 3. If mimeType\u2019s essence is \"image/svg+xml\", then return \"image/svg+xml\".\n return 'image/svg+xml'\n case 'text/xml':\n case 'application/xml':\n // 4. If mimeType is an XML MIME type, then return \"application/xml\".\n return 'application/xml'\n }\n\n // 2. If mimeType is a JSON MIME type, then return \"application/json\".\n if (mimeType.subtype.endsWith('+json')) {\n return 'application/json'\n }\n\n // 4. If mimeType is an XML MIME type, then return \"application/xml\".\n if (mimeType.subtype.endsWith('+xml')) {\n return 'application/xml'\n }\n\n // 5. If mimeType is supported by the user agent, then return mimeType\u2019s essence.\n // Technically, node doesn't support any mimetypes.\n\n // 6. Return the empty string.\n return ''\n}\n\nmodule.exports = {\n dataURLProcessor,\n URLSerializer,\n collectASequenceOfCodePoints,\n collectASequenceOfCodePointsFast,\n stringPercentDecode,\n parseMIMEType,\n collectAnHTTPQuotedString,\n serializeAMimeType,\n removeChars,\n removeHTTPWhitespace,\n minimizeSupportedMimeType,\n HTTP_TOKEN_CODEPOINTS,\n isomorphicDecode\n}\n", "'use strict'\n\nconst { types, inspect } = require('node:util')\nconst { markAsUncloneable } = require('node:worker_threads')\nconst { toUSVString } = require('../../core/util')\n\n/** @type {import('../../../types/webidl').Webidl} */\nconst webidl = {}\nwebidl.converters = {}\nwebidl.util = {}\nwebidl.errors = {}\n\nwebidl.errors.exception = function (message) {\n return new TypeError(`${message.header}: ${message.message}`)\n}\n\nwebidl.errors.conversionFailed = function (context) {\n const plural = context.types.length === 1 ? '' : ' one of'\n const message =\n `${context.argument} could not be converted to` +\n `${plural}: ${context.types.join(', ')}.`\n\n return webidl.errors.exception({\n header: context.prefix,\n message\n })\n}\n\nwebidl.errors.invalidArgument = function (context) {\n return webidl.errors.exception({\n header: context.prefix,\n message: `\"${context.value}\" is an invalid ${context.type}.`\n })\n}\n\n// https://webidl.spec.whatwg.org/#implements\nwebidl.brandCheck = function (V, I, opts) {\n if (opts?.strict !== false) {\n if (!(V instanceof I)) {\n const err = new TypeError('Illegal invocation')\n err.code = 'ERR_INVALID_THIS' // node compat.\n throw err\n }\n } else {\n if (V?.[Symbol.toStringTag] !== I.prototype[Symbol.toStringTag]) {\n const err = new TypeError('Illegal invocation')\n err.code = 'ERR_INVALID_THIS' // node compat.\n throw err\n }\n }\n}\n\nwebidl.argumentLengthCheck = function ({ length }, min, ctx) {\n if (length < min) {\n throw webidl.errors.exception({\n message: `${min} argument${min !== 1 ? 's' : ''} required, ` +\n `but${length ? ' only' : ''} ${length} found.`,\n header: ctx\n })\n }\n}\n\nwebidl.illegalConstructor = function () {\n throw webidl.errors.exception({\n header: 'TypeError',\n message: 'Illegal constructor'\n })\n}\n\n// https://tc39.es/ecma262/#sec-ecmascript-data-types-and-values\nwebidl.util.Type = function (V) {\n switch (typeof V) {\n case 'undefined': return 'Undefined'\n case 'boolean': return 'Boolean'\n case 'string': return 'String'\n case 'symbol': return 'Symbol'\n case 'number': return 'Number'\n case 'bigint': return 'BigInt'\n case 'function':\n case 'object': {\n if (V === null) {\n return 'Null'\n }\n\n return 'Object'\n }\n }\n}\n\nwebidl.util.markAsUncloneable = markAsUncloneable || (() => {})\n// https://webidl.spec.whatwg.org/#abstract-opdef-converttoint\nwebidl.util.ConvertToInt = function (V, bitLength, signedness, opts) {\n let upperBound\n let lowerBound\n\n // 1. If bitLength is 64, then:\n if (bitLength === 64) {\n // 1. Let upperBound be 2^53 \u2212 1.\n upperBound = Math.pow(2, 53) - 1\n\n // 2. If signedness is \"unsigned\", then let lowerBound be 0.\n if (signedness === 'unsigned') {\n lowerBound = 0\n } else {\n // 3. Otherwise let lowerBound be \u22122^53 + 1.\n lowerBound = Math.pow(-2, 53) + 1\n }\n } else if (signedness === 'unsigned') {\n // 2. Otherwise, if signedness is \"unsigned\", then:\n\n // 1. Let lowerBound be 0.\n lowerBound = 0\n\n // 2. Let upperBound be 2^bitLength \u2212 1.\n upperBound = Math.pow(2, bitLength) - 1\n } else {\n // 3. Otherwise:\n\n // 1. Let lowerBound be -2^bitLength \u2212 1.\n lowerBound = Math.pow(-2, bitLength) - 1\n\n // 2. Let upperBound be 2^bitLength \u2212 1 \u2212 1.\n upperBound = Math.pow(2, bitLength - 1) - 1\n }\n\n // 4. Let x be ? ToNumber(V).\n let x = Number(V)\n\n // 5. If x is \u22120, then set x to +0.\n if (x === 0) {\n x = 0\n }\n\n // 6. If the conversion is to an IDL type associated\n // with the [EnforceRange] extended attribute, then:\n if (opts?.enforceRange === true) {\n // 1. If x is NaN, +\u221E, or \u2212\u221E, then throw a TypeError.\n if (\n Number.isNaN(x) ||\n x === Number.POSITIVE_INFINITY ||\n x === Number.NEGATIVE_INFINITY\n ) {\n throw webidl.errors.exception({\n header: 'Integer conversion',\n message: `Could not convert ${webidl.util.Stringify(V)} to an integer.`\n })\n }\n\n // 2. Set x to IntegerPart(x).\n x = webidl.util.IntegerPart(x)\n\n // 3. If x < lowerBound or x > upperBound, then\n // throw a TypeError.\n if (x < lowerBound || x > upperBound) {\n throw webidl.errors.exception({\n header: 'Integer conversion',\n message: `Value must be between ${lowerBound}-${upperBound}, got ${x}.`\n })\n }\n\n // 4. Return x.\n return x\n }\n\n // 7. If x is not NaN and the conversion is to an IDL\n // type associated with the [Clamp] extended\n // attribute, then:\n if (!Number.isNaN(x) && opts?.clamp === true) {\n // 1. Set x to min(max(x, lowerBound), upperBound).\n x = Math.min(Math.max(x, lowerBound), upperBound)\n\n // 2. Round x to the nearest integer, choosing the\n // even integer if it lies halfway between two,\n // and choosing +0 rather than \u22120.\n if (Math.floor(x) % 2 === 0) {\n x = Math.floor(x)\n } else {\n x = Math.ceil(x)\n }\n\n // 3. Return x.\n return x\n }\n\n // 8. If x is NaN, +0, +\u221E, or \u2212\u221E, then return +0.\n if (\n Number.isNaN(x) ||\n (x === 0 && Object.is(0, x)) ||\n x === Number.POSITIVE_INFINITY ||\n x === Number.NEGATIVE_INFINITY\n ) {\n return 0\n }\n\n // 9. Set x to IntegerPart(x).\n x = webidl.util.IntegerPart(x)\n\n // 10. Set x to x modulo 2^bitLength.\n x = x % Math.pow(2, bitLength)\n\n // 11. If signedness is \"signed\" and x \u2265 2^bitLength \u2212 1,\n // then return x \u2212 2^bitLength.\n if (signedness === 'signed' && x >= Math.pow(2, bitLength) - 1) {\n return x - Math.pow(2, bitLength)\n }\n\n // 12. Otherwise, return x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#abstract-opdef-integerpart\nwebidl.util.IntegerPart = function (n) {\n // 1. Let r be floor(abs(n)).\n const r = Math.floor(Math.abs(n))\n\n // 2. If n < 0, then return -1 \u00D7 r.\n if (n < 0) {\n return -1 * r\n }\n\n // 3. Otherwise, return r.\n return r\n}\n\nwebidl.util.Stringify = function (V) {\n const type = webidl.util.Type(V)\n\n switch (type) {\n case 'Symbol':\n return `Symbol(${V.description})`\n case 'Object':\n return inspect(V)\n case 'String':\n return `\"${V}\"`\n default:\n return `${V}`\n }\n}\n\n// https://webidl.spec.whatwg.org/#es-sequence\nwebidl.sequenceConverter = function (converter) {\n return (V, prefix, argument, Iterable) => {\n // 1. If Type(V) is not Object, throw a TypeError.\n if (webidl.util.Type(V) !== 'Object') {\n throw webidl.errors.exception({\n header: prefix,\n message: `${argument} (${webidl.util.Stringify(V)}) is not iterable.`\n })\n }\n\n // 2. Let method be ? GetMethod(V, @@iterator).\n /** @type {Generator} */\n const method = typeof Iterable === 'function' ? Iterable() : V?.[Symbol.iterator]?.()\n const seq = []\n let index = 0\n\n // 3. If method is undefined, throw a TypeError.\n if (\n method === undefined ||\n typeof method.next !== 'function'\n ) {\n throw webidl.errors.exception({\n header: prefix,\n message: `${argument} is not iterable.`\n })\n }\n\n // https://webidl.spec.whatwg.org/#create-sequence-from-iterable\n while (true) {\n const { done, value } = method.next()\n\n if (done) {\n break\n }\n\n seq.push(converter(value, prefix, `${argument}[${index++}]`))\n }\n\n return seq\n }\n}\n\n// https://webidl.spec.whatwg.org/#es-to-record\nwebidl.recordConverter = function (keyConverter, valueConverter) {\n return (O, prefix, argument) => {\n // 1. If Type(O) is not Object, throw a TypeError.\n if (webidl.util.Type(O) !== 'Object') {\n throw webidl.errors.exception({\n header: prefix,\n message: `${argument} (\"${webidl.util.Type(O)}\") is not an Object.`\n })\n }\n\n // 2. Let result be a new empty instance of record.\n const result = {}\n\n if (!types.isProxy(O)) {\n // 1. Let desc be ? O.[[GetOwnProperty]](key).\n const keys = [...Object.getOwnPropertyNames(O), ...Object.getOwnPropertySymbols(O)]\n\n for (const key of keys) {\n // 1. Let typedKey be key converted to an IDL value of type K.\n const typedKey = keyConverter(key, prefix, argument)\n\n // 2. Let value be ? Get(O, key).\n // 3. Let typedValue be value converted to an IDL value of type V.\n const typedValue = valueConverter(O[key], prefix, argument)\n\n // 4. Set result[typedKey] to typedValue.\n result[typedKey] = typedValue\n }\n\n // 5. Return result.\n return result\n }\n\n // 3. Let keys be ? O.[[OwnPropertyKeys]]().\n const keys = Reflect.ownKeys(O)\n\n // 4. For each key of keys.\n for (const key of keys) {\n // 1. Let desc be ? O.[[GetOwnProperty]](key).\n const desc = Reflect.getOwnPropertyDescriptor(O, key)\n\n // 2. If desc is not undefined and desc.[[Enumerable]] is true:\n if (desc?.enumerable) {\n // 1. Let typedKey be key converted to an IDL value of type K.\n const typedKey = keyConverter(key, prefix, argument)\n\n // 2. Let value be ? Get(O, key).\n // 3. Let typedValue be value converted to an IDL value of type V.\n const typedValue = valueConverter(O[key], prefix, argument)\n\n // 4. Set result[typedKey] to typedValue.\n result[typedKey] = typedValue\n }\n }\n\n // 5. Return result.\n return result\n }\n}\n\nwebidl.interfaceConverter = function (i) {\n return (V, prefix, argument, opts) => {\n if (opts?.strict !== false && !(V instanceof i)) {\n throw webidl.errors.exception({\n header: prefix,\n message: `Expected ${argument} (\"${webidl.util.Stringify(V)}\") to be an instance of ${i.name}.`\n })\n }\n\n return V\n }\n}\n\nwebidl.dictionaryConverter = function (converters) {\n return (dictionary, prefix, argument) => {\n const type = webidl.util.Type(dictionary)\n const dict = {}\n\n if (type === 'Null' || type === 'Undefined') {\n return dict\n } else if (type !== 'Object') {\n throw webidl.errors.exception({\n header: prefix,\n message: `Expected ${dictionary} to be one of: Null, Undefined, Object.`\n })\n }\n\n for (const options of converters) {\n const { key, defaultValue, required, converter } = options\n\n if (required === true) {\n if (!Object.hasOwn(dictionary, key)) {\n throw webidl.errors.exception({\n header: prefix,\n message: `Missing required key \"${key}\".`\n })\n }\n }\n\n let value = dictionary[key]\n const hasDefault = Object.hasOwn(options, 'defaultValue')\n\n // Only use defaultValue if value is undefined and\n // a defaultValue options was provided.\n if (hasDefault && value !== null) {\n value ??= defaultValue()\n }\n\n // A key can be optional and have no default value.\n // When this happens, do not perform a conversion,\n // and do not assign the key a value.\n if (required || hasDefault || value !== undefined) {\n value = converter(value, prefix, `${argument}.${key}`)\n\n if (\n options.allowedValues &&\n !options.allowedValues.includes(value)\n ) {\n throw webidl.errors.exception({\n header: prefix,\n message: `${value} is not an accepted type. Expected one of ${options.allowedValues.join(', ')}.`\n })\n }\n\n dict[key] = value\n }\n }\n\n return dict\n }\n}\n\nwebidl.nullableConverter = function (converter) {\n return (V, prefix, argument) => {\n if (V === null) {\n return V\n }\n\n return converter(V, prefix, argument)\n }\n}\n\n// https://webidl.spec.whatwg.org/#es-DOMString\nwebidl.converters.DOMString = function (V, prefix, argument, opts) {\n // 1. If V is null and the conversion is to an IDL type\n // associated with the [LegacyNullToEmptyString]\n // extended attribute, then return the DOMString value\n // that represents the empty string.\n if (V === null && opts?.legacyNullToEmptyString) {\n return ''\n }\n\n // 2. Let x be ? ToString(V).\n if (typeof V === 'symbol') {\n throw webidl.errors.exception({\n header: prefix,\n message: `${argument} is a symbol, which cannot be converted to a DOMString.`\n })\n }\n\n // 3. Return the IDL DOMString value that represents the\n // same sequence of code units as the one the\n // ECMAScript String value x represents.\n return String(V)\n}\n\n// https://webidl.spec.whatwg.org/#es-ByteString\nwebidl.converters.ByteString = function (V, prefix, argument) {\n // 1. Let x be ? ToString(V).\n // Note: DOMString converter perform ? ToString(V)\n const x = webidl.converters.DOMString(V, prefix, argument)\n\n // 2. If the value of any element of x is greater than\n // 255, then throw a TypeError.\n for (let index = 0; index < x.length; index++) {\n if (x.charCodeAt(index) > 255) {\n throw new TypeError(\n 'Cannot convert argument to a ByteString because the character at ' +\n `index ${index} has a value of ${x.charCodeAt(index)} which is greater than 255.`\n )\n }\n }\n\n // 3. Return an IDL ByteString value whose length is the\n // length of x, and where the value of each element is\n // the value of the corresponding element of x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#es-USVString\n// TODO: rewrite this so we can control the errors thrown\nwebidl.converters.USVString = toUSVString\n\n// https://webidl.spec.whatwg.org/#es-boolean\nwebidl.converters.boolean = function (V) {\n // 1. Let x be the result of computing ToBoolean(V).\n const x = Boolean(V)\n\n // 2. Return the IDL boolean value that is the one that represents\n // the same truth value as the ECMAScript Boolean value x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#es-any\nwebidl.converters.any = function (V) {\n return V\n}\n\n// https://webidl.spec.whatwg.org/#es-long-long\nwebidl.converters['long long'] = function (V, prefix, argument) {\n // 1. Let x be ? ConvertToInt(V, 64, \"signed\").\n const x = webidl.util.ConvertToInt(V, 64, 'signed', undefined, prefix, argument)\n\n // 2. Return the IDL long long value that represents\n // the same numeric value as x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#es-unsigned-long-long\nwebidl.converters['unsigned long long'] = function (V, prefix, argument) {\n // 1. Let x be ? ConvertToInt(V, 64, \"unsigned\").\n const x = webidl.util.ConvertToInt(V, 64, 'unsigned', undefined, prefix, argument)\n\n // 2. Return the IDL unsigned long long value that\n // represents the same numeric value as x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#es-unsigned-long\nwebidl.converters['unsigned long'] = function (V, prefix, argument) {\n // 1. Let x be ? ConvertToInt(V, 32, \"unsigned\").\n const x = webidl.util.ConvertToInt(V, 32, 'unsigned', undefined, prefix, argument)\n\n // 2. Return the IDL unsigned long value that\n // represents the same numeric value as x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#es-unsigned-short\nwebidl.converters['unsigned short'] = function (V, prefix, argument, opts) {\n // 1. Let x be ? ConvertToInt(V, 16, \"unsigned\").\n const x = webidl.util.ConvertToInt(V, 16, 'unsigned', opts, prefix, argument)\n\n // 2. Return the IDL unsigned short value that represents\n // the same numeric value as x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#idl-ArrayBuffer\nwebidl.converters.ArrayBuffer = function (V, prefix, argument, opts) {\n // 1. If Type(V) is not Object, or V does not have an\n // [[ArrayBufferData]] internal slot, then throw a\n // TypeError.\n // see: https://tc39.es/ecma262/#sec-properties-of-the-arraybuffer-instances\n // see: https://tc39.es/ecma262/#sec-properties-of-the-sharedarraybuffer-instances\n if (\n webidl.util.Type(V) !== 'Object' ||\n !types.isAnyArrayBuffer(V)\n ) {\n throw webidl.errors.conversionFailed({\n prefix,\n argument: `${argument} (\"${webidl.util.Stringify(V)}\")`,\n types: ['ArrayBuffer']\n })\n }\n\n // 2. If the conversion is not to an IDL type associated\n // with the [AllowShared] extended attribute, and\n // IsSharedArrayBuffer(V) is true, then throw a\n // TypeError.\n if (opts?.allowShared === false && types.isSharedArrayBuffer(V)) {\n throw webidl.errors.exception({\n header: 'ArrayBuffer',\n message: 'SharedArrayBuffer is not allowed.'\n })\n }\n\n // 3. If the conversion is not to an IDL type associated\n // with the [AllowResizable] extended attribute, and\n // IsResizableArrayBuffer(V) is true, then throw a\n // TypeError.\n if (V.resizable || V.growable) {\n throw webidl.errors.exception({\n header: 'ArrayBuffer',\n message: 'Received a resizable ArrayBuffer.'\n })\n }\n\n // 4. Return the IDL ArrayBuffer value that is a\n // reference to the same object as V.\n return V\n}\n\nwebidl.converters.TypedArray = function (V, T, prefix, name, opts) {\n // 1. Let T be the IDL type V is being converted to.\n\n // 2. If Type(V) is not Object, or V does not have a\n // [[TypedArrayName]] internal slot with a value\n // equal to T\u2019s name, then throw a TypeError.\n if (\n webidl.util.Type(V) !== 'Object' ||\n !types.isTypedArray(V) ||\n V.constructor.name !== T.name\n ) {\n throw webidl.errors.conversionFailed({\n prefix,\n argument: `${name} (\"${webidl.util.Stringify(V)}\")`,\n types: [T.name]\n })\n }\n\n // 3. If the conversion is not to an IDL type associated\n // with the [AllowShared] extended attribute, and\n // IsSharedArrayBuffer(V.[[ViewedArrayBuffer]]) is\n // true, then throw a TypeError.\n if (opts?.allowShared === false && types.isSharedArrayBuffer(V.buffer)) {\n throw webidl.errors.exception({\n header: 'ArrayBuffer',\n message: 'SharedArrayBuffer is not allowed.'\n })\n }\n\n // 4. If the conversion is not to an IDL type associated\n // with the [AllowResizable] extended attribute, and\n // IsResizableArrayBuffer(V.[[ViewedArrayBuffer]]) is\n // true, then throw a TypeError.\n if (V.buffer.resizable || V.buffer.growable) {\n throw webidl.errors.exception({\n header: 'ArrayBuffer',\n message: 'Received a resizable ArrayBuffer.'\n })\n }\n\n // 5. Return the IDL value of type T that is a reference\n // to the same object as V.\n return V\n}\n\nwebidl.converters.DataView = function (V, prefix, name, opts) {\n // 1. If Type(V) is not Object, or V does not have a\n // [[DataView]] internal slot, then throw a TypeError.\n if (webidl.util.Type(V) !== 'Object' || !types.isDataView(V)) {\n throw webidl.errors.exception({\n header: prefix,\n message: `${name} is not a DataView.`\n })\n }\n\n // 2. If the conversion is not to an IDL type associated\n // with the [AllowShared] extended attribute, and\n // IsSharedArrayBuffer(V.[[ViewedArrayBuffer]]) is true,\n // then throw a TypeError.\n if (opts?.allowShared === false && types.isSharedArrayBuffer(V.buffer)) {\n throw webidl.errors.exception({\n header: 'ArrayBuffer',\n message: 'SharedArrayBuffer is not allowed.'\n })\n }\n\n // 3. If the conversion is not to an IDL type associated\n // with the [AllowResizable] extended attribute, and\n // IsResizableArrayBuffer(V.[[ViewedArrayBuffer]]) is\n // true, then throw a TypeError.\n if (V.buffer.resizable || V.buffer.growable) {\n throw webidl.errors.exception({\n header: 'ArrayBuffer',\n message: 'Received a resizable ArrayBuffer.'\n })\n }\n\n // 4. Return the IDL DataView value that is a reference\n // to the same object as V.\n return V\n}\n\n// https://webidl.spec.whatwg.org/#BufferSource\nwebidl.converters.BufferSource = function (V, prefix, name, opts) {\n if (types.isAnyArrayBuffer(V)) {\n return webidl.converters.ArrayBuffer(V, prefix, name, { ...opts, allowShared: false })\n }\n\n if (types.isTypedArray(V)) {\n return webidl.converters.TypedArray(V, V.constructor, prefix, name, { ...opts, allowShared: false })\n }\n\n if (types.isDataView(V)) {\n return webidl.converters.DataView(V, prefix, name, { ...opts, allowShared: false })\n }\n\n throw webidl.errors.conversionFailed({\n prefix,\n argument: `${name} (\"${webidl.util.Stringify(V)}\")`,\n types: ['BufferSource']\n })\n}\n\nwebidl.converters['sequence'] = webidl.sequenceConverter(\n webidl.converters.ByteString\n)\n\nwebidl.converters['sequence>'] = webidl.sequenceConverter(\n webidl.converters['sequence']\n)\n\nwebidl.converters['record'] = webidl.recordConverter(\n webidl.converters.ByteString,\n webidl.converters.ByteString\n)\n\nmodule.exports = {\n webidl\n}\n", "'use strict'\n\nconst { Transform } = require('node:stream')\nconst zlib = require('node:zlib')\nconst { redirectStatusSet, referrerPolicySet: referrerPolicyTokens, badPortsSet } = require('./constants')\nconst { getGlobalOrigin } = require('./global')\nconst { collectASequenceOfCodePoints, collectAnHTTPQuotedString, removeChars, parseMIMEType } = require('./data-url')\nconst { performance } = require('node:perf_hooks')\nconst { isBlobLike, ReadableStreamFrom, isValidHTTPToken, normalizedMethodRecordsBase } = require('../../core/util')\nconst assert = require('node:assert')\nconst { isUint8Array } = require('node:util/types')\nconst { webidl } = require('./webidl')\n\nlet supportedHashes = []\n\n// https://nodejs.org/api/crypto.html#determining-if-crypto-support-is-unavailable\n/** @type {import('crypto')} */\nlet crypto\ntry {\n crypto = require('node:crypto')\n const possibleRelevantHashes = ['sha256', 'sha384', 'sha512']\n supportedHashes = crypto.getHashes().filter((hash) => possibleRelevantHashes.includes(hash))\n/* c8 ignore next 3 */\n} catch {\n\n}\n\nfunction responseURL (response) {\n // https://fetch.spec.whatwg.org/#responses\n // A response has an associated URL. It is a pointer to the last URL\n // in response\u2019s URL list and null if response\u2019s URL list is empty.\n const urlList = response.urlList\n const length = urlList.length\n return length === 0 ? null : urlList[length - 1].toString()\n}\n\n// https://fetch.spec.whatwg.org/#concept-response-location-url\nfunction responseLocationURL (response, requestFragment) {\n // 1. If response\u2019s status is not a redirect status, then return null.\n if (!redirectStatusSet.has(response.status)) {\n return null\n }\n\n // 2. Let location be the result of extracting header list values given\n // `Location` and response\u2019s header list.\n let location = response.headersList.get('location', true)\n\n // 3. If location is a header value, then set location to the result of\n // parsing location with response\u2019s URL.\n if (location !== null && isValidHeaderValue(location)) {\n if (!isValidEncodedURL(location)) {\n // Some websites respond location header in UTF-8 form without encoding them as ASCII\n // and major browsers redirect them to correctly UTF-8 encoded addresses.\n // Here, we handle that behavior in the same way.\n location = normalizeBinaryStringToUtf8(location)\n }\n location = new URL(location, responseURL(response))\n }\n\n // 4. If location is a URL whose fragment is null, then set location\u2019s\n // fragment to requestFragment.\n if (location && !location.hash) {\n location.hash = requestFragment\n }\n\n // 5. Return location.\n return location\n}\n\n/**\n * @see https://www.rfc-editor.org/rfc/rfc1738#section-2.2\n * @param {string} url\n * @returns {boolean}\n */\nfunction isValidEncodedURL (url) {\n for (let i = 0; i < url.length; ++i) {\n const code = url.charCodeAt(i)\n\n if (\n code > 0x7E || // Non-US-ASCII + DEL\n code < 0x20 // Control characters NUL - US\n ) {\n return false\n }\n }\n return true\n}\n\n/**\n * If string contains non-ASCII characters, assumes it's UTF-8 encoded and decodes it.\n * Since UTF-8 is a superset of ASCII, this will work for ASCII strings as well.\n * @param {string} value\n * @returns {string}\n */\nfunction normalizeBinaryStringToUtf8 (value) {\n return Buffer.from(value, 'binary').toString('utf8')\n}\n\n/** @returns {URL} */\nfunction requestCurrentURL (request) {\n return request.urlList[request.urlList.length - 1]\n}\n\nfunction requestBadPort (request) {\n // 1. Let url be request\u2019s current URL.\n const url = requestCurrentURL(request)\n\n // 2. If url\u2019s scheme is an HTTP(S) scheme and url\u2019s port is a bad port,\n // then return blocked.\n if (urlIsHttpHttpsScheme(url) && badPortsSet.has(url.port)) {\n return 'blocked'\n }\n\n // 3. Return allowed.\n return 'allowed'\n}\n\nfunction isErrorLike (object) {\n return object instanceof Error || (\n object?.constructor?.name === 'Error' ||\n object?.constructor?.name === 'DOMException'\n )\n}\n\n// Check whether |statusText| is a ByteString and\n// matches the Reason-Phrase token production.\n// RFC 2616: https://tools.ietf.org/html/rfc2616\n// RFC 7230: https://tools.ietf.org/html/rfc7230\n// \"reason-phrase = *( HTAB / SP / VCHAR / obs-text )\"\n// https://github.com/chromium/chromium/blob/94.0.4604.1/third_party/blink/renderer/core/fetch/response.cc#L116\nfunction isValidReasonPhrase (statusText) {\n for (let i = 0; i < statusText.length; ++i) {\n const c = statusText.charCodeAt(i)\n if (\n !(\n (\n c === 0x09 || // HTAB\n (c >= 0x20 && c <= 0x7e) || // SP / VCHAR\n (c >= 0x80 && c <= 0xff)\n ) // obs-text\n )\n ) {\n return false\n }\n }\n return true\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#header-name\n * @param {string} potentialValue\n */\nconst isValidHeaderName = isValidHTTPToken\n\n/**\n * @see https://fetch.spec.whatwg.org/#header-value\n * @param {string} potentialValue\n */\nfunction isValidHeaderValue (potentialValue) {\n // - Has no leading or trailing HTTP tab or space bytes.\n // - Contains no 0x00 (NUL) or HTTP newline bytes.\n return (\n potentialValue[0] === '\\t' ||\n potentialValue[0] === ' ' ||\n potentialValue[potentialValue.length - 1] === '\\t' ||\n potentialValue[potentialValue.length - 1] === ' ' ||\n potentialValue.includes('\\n') ||\n potentialValue.includes('\\r') ||\n potentialValue.includes('\\0')\n ) === false\n}\n\n// https://w3c.github.io/webappsec-referrer-policy/#set-requests-referrer-policy-on-redirect\nfunction setRequestReferrerPolicyOnRedirect (request, actualResponse) {\n // Given a request request and a response actualResponse, this algorithm\n // updates request\u2019s referrer policy according to the Referrer-Policy\n // header (if any) in actualResponse.\n\n // 1. Let policy be the result of executing \u00A7 8.1 Parse a referrer policy\n // from a Referrer-Policy header on actualResponse.\n\n // 8.1 Parse a referrer policy from a Referrer-Policy header\n // 1. Let policy-tokens be the result of extracting header list values given `Referrer-Policy` and response\u2019s header list.\n const { headersList } = actualResponse\n // 2. Let policy be the empty string.\n // 3. For each token in policy-tokens, if token is a referrer policy and token is not the empty string, then set policy to token.\n // 4. Return policy.\n const policyHeader = (headersList.get('referrer-policy', true) ?? '').split(',')\n\n // Note: As the referrer-policy can contain multiple policies\n // separated by comma, we need to loop through all of them\n // and pick the first valid one.\n // Ref: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy#specify_a_fallback_policy\n let policy = ''\n if (policyHeader.length > 0) {\n // The right-most policy takes precedence.\n // The left-most policy is the fallback.\n for (let i = policyHeader.length; i !== 0; i--) {\n const token = policyHeader[i - 1].trim()\n if (referrerPolicyTokens.has(token)) {\n policy = token\n break\n }\n }\n }\n\n // 2. If policy is not the empty string, then set request\u2019s referrer policy to policy.\n if (policy !== '') {\n request.referrerPolicy = policy\n }\n}\n\n// https://fetch.spec.whatwg.org/#cross-origin-resource-policy-check\nfunction crossOriginResourcePolicyCheck () {\n // TODO\n return 'allowed'\n}\n\n// https://fetch.spec.whatwg.org/#concept-cors-check\nfunction corsCheck () {\n // TODO\n return 'success'\n}\n\n// https://fetch.spec.whatwg.org/#concept-tao-check\nfunction TAOCheck () {\n // TODO\n return 'success'\n}\n\nfunction appendFetchMetadata (httpRequest) {\n // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-dest-header\n // TODO\n\n // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-mode-header\n\n // 1. Assert: r\u2019s url is a potentially trustworthy URL.\n // TODO\n\n // 2. Let header be a Structured Header whose value is a token.\n let header = null\n\n // 3. Set header\u2019s value to r\u2019s mode.\n header = httpRequest.mode\n\n // 4. Set a structured field value `Sec-Fetch-Mode`/header in r\u2019s header list.\n httpRequest.headersList.set('sec-fetch-mode', header, true)\n\n // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-site-header\n // TODO\n\n // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-user-header\n // TODO\n}\n\n// https://fetch.spec.whatwg.org/#append-a-request-origin-header\nfunction appendRequestOriginHeader (request) {\n // 1. Let serializedOrigin be the result of byte-serializing a request origin\n // with request.\n // TODO: implement \"byte-serializing a request origin\"\n let serializedOrigin = request.origin\n\n // - \"'client' is changed to an origin during fetching.\"\n // This doesn't happen in undici (in most cases) because undici, by default,\n // has no concept of origin.\n // - request.origin can also be set to request.client.origin (client being\n // an environment settings object), which is undefined without using\n // setGlobalOrigin.\n if (serializedOrigin === 'client' || serializedOrigin === undefined) {\n return\n }\n\n // 2. If request\u2019s response tainting is \"cors\" or request\u2019s mode is \"websocket\",\n // then append (`Origin`, serializedOrigin) to request\u2019s header list.\n // 3. Otherwise, if request\u2019s method is neither `GET` nor `HEAD`, then:\n if (request.responseTainting === 'cors' || request.mode === 'websocket') {\n request.headersList.append('origin', serializedOrigin, true)\n } else if (request.method !== 'GET' && request.method !== 'HEAD') {\n // 1. Switch on request\u2019s referrer policy:\n switch (request.referrerPolicy) {\n case 'no-referrer':\n // Set serializedOrigin to `null`.\n serializedOrigin = null\n break\n case 'no-referrer-when-downgrade':\n case 'strict-origin':\n case 'strict-origin-when-cross-origin':\n // If request\u2019s origin is a tuple origin, its scheme is \"https\", and\n // request\u2019s current URL\u2019s scheme is not \"https\", then set\n // serializedOrigin to `null`.\n if (request.origin && urlHasHttpsScheme(request.origin) && !urlHasHttpsScheme(requestCurrentURL(request))) {\n serializedOrigin = null\n }\n break\n case 'same-origin':\n // If request\u2019s origin is not same origin with request\u2019s current URL\u2019s\n // origin, then set serializedOrigin to `null`.\n if (!sameOrigin(request, requestCurrentURL(request))) {\n serializedOrigin = null\n }\n break\n default:\n // Do nothing.\n }\n\n // 2. Append (`Origin`, serializedOrigin) to request\u2019s header list.\n request.headersList.append('origin', serializedOrigin, true)\n }\n}\n\n// https://w3c.github.io/hr-time/#dfn-coarsen-time\nfunction coarsenTime (timestamp, crossOriginIsolatedCapability) {\n // TODO\n return timestamp\n}\n\n// https://fetch.spec.whatwg.org/#clamp-and-coarsen-connection-timing-info\nfunction clampAndCoarsenConnectionTimingInfo (connectionTimingInfo, defaultStartTime, crossOriginIsolatedCapability) {\n if (!connectionTimingInfo?.startTime || connectionTimingInfo.startTime < defaultStartTime) {\n return {\n domainLookupStartTime: defaultStartTime,\n domainLookupEndTime: defaultStartTime,\n connectionStartTime: defaultStartTime,\n connectionEndTime: defaultStartTime,\n secureConnectionStartTime: defaultStartTime,\n ALPNNegotiatedProtocol: connectionTimingInfo?.ALPNNegotiatedProtocol\n }\n }\n\n return {\n domainLookupStartTime: coarsenTime(connectionTimingInfo.domainLookupStartTime, crossOriginIsolatedCapability),\n domainLookupEndTime: coarsenTime(connectionTimingInfo.domainLookupEndTime, crossOriginIsolatedCapability),\n connectionStartTime: coarsenTime(connectionTimingInfo.connectionStartTime, crossOriginIsolatedCapability),\n connectionEndTime: coarsenTime(connectionTimingInfo.connectionEndTime, crossOriginIsolatedCapability),\n secureConnectionStartTime: coarsenTime(connectionTimingInfo.secureConnectionStartTime, crossOriginIsolatedCapability),\n ALPNNegotiatedProtocol: connectionTimingInfo.ALPNNegotiatedProtocol\n }\n}\n\n// https://w3c.github.io/hr-time/#dfn-coarsened-shared-current-time\nfunction coarsenedSharedCurrentTime (crossOriginIsolatedCapability) {\n return coarsenTime(performance.now(), crossOriginIsolatedCapability)\n}\n\n// https://fetch.spec.whatwg.org/#create-an-opaque-timing-info\nfunction createOpaqueTimingInfo (timingInfo) {\n return {\n startTime: timingInfo.startTime ?? 0,\n redirectStartTime: 0,\n redirectEndTime: 0,\n postRedirectStartTime: timingInfo.startTime ?? 0,\n finalServiceWorkerStartTime: 0,\n finalNetworkResponseStartTime: 0,\n finalNetworkRequestStartTime: 0,\n endTime: 0,\n encodedBodySize: 0,\n decodedBodySize: 0,\n finalConnectionTimingInfo: null\n }\n}\n\n// https://html.spec.whatwg.org/multipage/origin.html#policy-container\nfunction makePolicyContainer () {\n // Note: the fetch spec doesn't make use of embedder policy or CSP list\n return {\n referrerPolicy: 'strict-origin-when-cross-origin'\n }\n}\n\n// https://html.spec.whatwg.org/multipage/origin.html#clone-a-policy-container\nfunction clonePolicyContainer (policyContainer) {\n return {\n referrerPolicy: policyContainer.referrerPolicy\n }\n}\n\n// https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer\nfunction determineRequestsReferrer (request) {\n // 1. Let policy be request's referrer policy.\n const policy = request.referrerPolicy\n\n // Note: policy cannot (shouldn't) be null or an empty string.\n assert(policy)\n\n // 2. Let environment be request\u2019s client.\n\n let referrerSource = null\n\n // 3. Switch on request\u2019s referrer:\n if (request.referrer === 'client') {\n // Note: node isn't a browser and doesn't implement document/iframes,\n // so we bypass this step and replace it with our own.\n\n const globalOrigin = getGlobalOrigin()\n\n if (!globalOrigin || globalOrigin.origin === 'null') {\n return 'no-referrer'\n }\n\n // note: we need to clone it as it's mutated\n referrerSource = new URL(globalOrigin)\n } else if (request.referrer instanceof URL) {\n // Let referrerSource be request\u2019s referrer.\n referrerSource = request.referrer\n }\n\n // 4. Let request\u2019s referrerURL be the result of stripping referrerSource for\n // use as a referrer.\n let referrerURL = stripURLForReferrer(referrerSource)\n\n // 5. Let referrerOrigin be the result of stripping referrerSource for use as\n // a referrer, with the origin-only flag set to true.\n const referrerOrigin = stripURLForReferrer(referrerSource, true)\n\n // 6. If the result of serializing referrerURL is a string whose length is\n // greater than 4096, set referrerURL to referrerOrigin.\n if (referrerURL.toString().length > 4096) {\n referrerURL = referrerOrigin\n }\n\n const areSameOrigin = sameOrigin(request, referrerURL)\n const isNonPotentiallyTrustWorthy = isURLPotentiallyTrustworthy(referrerURL) &&\n !isURLPotentiallyTrustworthy(request.url)\n\n // 8. Execute the switch statements corresponding to the value of policy:\n switch (policy) {\n case 'origin': return referrerOrigin != null ? referrerOrigin : stripURLForReferrer(referrerSource, true)\n case 'unsafe-url': return referrerURL\n case 'same-origin':\n return areSameOrigin ? referrerOrigin : 'no-referrer'\n case 'origin-when-cross-origin':\n return areSameOrigin ? referrerURL : referrerOrigin\n case 'strict-origin-when-cross-origin': {\n const currentURL = requestCurrentURL(request)\n\n // 1. If the origin of referrerURL and the origin of request\u2019s current\n // URL are the same, then return referrerURL.\n if (sameOrigin(referrerURL, currentURL)) {\n return referrerURL\n }\n\n // 2. If referrerURL is a potentially trustworthy URL and request\u2019s\n // current URL is not a potentially trustworthy URL, then return no\n // referrer.\n if (isURLPotentiallyTrustworthy(referrerURL) && !isURLPotentiallyTrustworthy(currentURL)) {\n return 'no-referrer'\n }\n\n // 3. Return referrerOrigin.\n return referrerOrigin\n }\n case 'strict-origin': // eslint-disable-line\n /**\n * 1. If referrerURL is a potentially trustworthy URL and\n * request\u2019s current URL is not a potentially trustworthy URL,\n * then return no referrer.\n * 2. Return referrerOrigin\n */\n case 'no-referrer-when-downgrade': // eslint-disable-line\n /**\n * 1. If referrerURL is a potentially trustworthy URL and\n * request\u2019s current URL is not a potentially trustworthy URL,\n * then return no referrer.\n * 2. Return referrerOrigin\n */\n\n default: // eslint-disable-line\n return isNonPotentiallyTrustWorthy ? 'no-referrer' : referrerOrigin\n }\n}\n\n/**\n * @see https://w3c.github.io/webappsec-referrer-policy/#strip-url\n * @param {URL} url\n * @param {boolean|undefined} originOnly\n */\nfunction stripURLForReferrer (url, originOnly) {\n // 1. Assert: url is a URL.\n assert(url instanceof URL)\n\n url = new URL(url)\n\n // 2. If url\u2019s scheme is a local scheme, then return no referrer.\n if (url.protocol === 'file:' || url.protocol === 'about:' || url.protocol === 'blank:') {\n return 'no-referrer'\n }\n\n // 3. Set url\u2019s username to the empty string.\n url.username = ''\n\n // 4. Set url\u2019s password to the empty string.\n url.password = ''\n\n // 5. Set url\u2019s fragment to null.\n url.hash = ''\n\n // 6. If the origin-only flag is true, then:\n if (originOnly) {\n // 1. Set url\u2019s path to \u00AB the empty string \u00BB.\n url.pathname = ''\n\n // 2. Set url\u2019s query to null.\n url.search = ''\n }\n\n // 7. Return url.\n return url\n}\n\nfunction isURLPotentiallyTrustworthy (url) {\n if (!(url instanceof URL)) {\n return false\n }\n\n // If child of about, return true\n if (url.href === 'about:blank' || url.href === 'about:srcdoc') {\n return true\n }\n\n // If scheme is data, return true\n if (url.protocol === 'data:') return true\n\n // If file, return true\n if (url.protocol === 'file:') return true\n\n return isOriginPotentiallyTrustworthy(url.origin)\n\n function isOriginPotentiallyTrustworthy (origin) {\n // If origin is explicitly null, return false\n if (origin == null || origin === 'null') return false\n\n const originAsURL = new URL(origin)\n\n // If secure, return true\n if (originAsURL.protocol === 'https:' || originAsURL.protocol === 'wss:') {\n return true\n }\n\n // If localhost or variants, return true\n if (/^127(?:\\.[0-9]+){0,2}\\.[0-9]+$|^\\[(?:0*:)*?:?0*1\\]$/.test(originAsURL.hostname) ||\n (originAsURL.hostname === 'localhost' || originAsURL.hostname.includes('localhost.')) ||\n (originAsURL.hostname.endsWith('.localhost'))) {\n return true\n }\n\n // If any other, return false\n return false\n }\n}\n\n/**\n * @see https://w3c.github.io/webappsec-subresource-integrity/#does-response-match-metadatalist\n * @param {Uint8Array} bytes\n * @param {string} metadataList\n */\nfunction bytesMatch (bytes, metadataList) {\n // If node is not built with OpenSSL support, we cannot check\n // a request's integrity, so allow it by default (the spec will\n // allow requests if an invalid hash is given, as precedence).\n /* istanbul ignore if: only if node is built with --without-ssl */\n if (crypto === undefined) {\n return true\n }\n\n // 1. Let parsedMetadata be the result of parsing metadataList.\n const parsedMetadata = parseMetadata(metadataList)\n\n // 2. If parsedMetadata is no metadata, return true.\n if (parsedMetadata === 'no metadata') {\n return true\n }\n\n // 3. If response is not eligible for integrity validation, return false.\n // TODO\n\n // 4. If parsedMetadata is the empty set, return true.\n if (parsedMetadata.length === 0) {\n return true\n }\n\n // 5. Let metadata be the result of getting the strongest\n // metadata from parsedMetadata.\n const strongest = getStrongestMetadata(parsedMetadata)\n const metadata = filterMetadataListByAlgorithm(parsedMetadata, strongest)\n\n // 6. For each item in metadata:\n for (const item of metadata) {\n // 1. Let algorithm be the alg component of item.\n const algorithm = item.algo\n\n // 2. Let expectedValue be the val component of item.\n const expectedValue = item.hash\n\n // See https://github.com/web-platform-tests/wpt/commit/e4c5cc7a5e48093220528dfdd1c4012dc3837a0e\n // \"be liberal with padding\". This is annoying, and it's not even in the spec.\n\n // 3. Let actualValue be the result of applying algorithm to bytes.\n let actualValue = crypto.createHash(algorithm).update(bytes).digest('base64')\n\n if (actualValue[actualValue.length - 1] === '=') {\n if (actualValue[actualValue.length - 2] === '=') {\n actualValue = actualValue.slice(0, -2)\n } else {\n actualValue = actualValue.slice(0, -1)\n }\n }\n\n // 4. If actualValue is a case-sensitive match for expectedValue,\n // return true.\n if (compareBase64Mixed(actualValue, expectedValue)) {\n return true\n }\n }\n\n // 7. Return false.\n return false\n}\n\n// https://w3c.github.io/webappsec-subresource-integrity/#grammardef-hash-with-options\n// https://www.w3.org/TR/CSP2/#source-list-syntax\n// https://www.rfc-editor.org/rfc/rfc5234#appendix-B.1\nconst parseHashWithOptions = /(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\\s|$)( +[!-~]*)?)?/i\n\n/**\n * @see https://w3c.github.io/webappsec-subresource-integrity/#parse-metadata\n * @param {string} metadata\n */\nfunction parseMetadata (metadata) {\n // 1. Let result be the empty set.\n /** @type {{ algo: string, hash: string }[]} */\n const result = []\n\n // 2. Let empty be equal to true.\n let empty = true\n\n // 3. For each token returned by splitting metadata on spaces:\n for (const token of metadata.split(' ')) {\n // 1. Set empty to false.\n empty = false\n\n // 2. Parse token as a hash-with-options.\n const parsedToken = parseHashWithOptions.exec(token)\n\n // 3. If token does not parse, continue to the next token.\n if (\n parsedToken === null ||\n parsedToken.groups === undefined ||\n parsedToken.groups.algo === undefined\n ) {\n // Note: Chromium blocks the request at this point, but Firefox\n // gives a warning that an invalid integrity was given. The\n // correct behavior is to ignore these, and subsequently not\n // check the integrity of the resource.\n continue\n }\n\n // 4. Let algorithm be the hash-algo component of token.\n const algorithm = parsedToken.groups.algo.toLowerCase()\n\n // 5. If algorithm is a hash function recognized by the user\n // agent, add the parsed token to result.\n if (supportedHashes.includes(algorithm)) {\n result.push(parsedToken.groups)\n }\n }\n\n // 4. Return no metadata if empty is true, otherwise return result.\n if (empty === true) {\n return 'no metadata'\n }\n\n return result\n}\n\n/**\n * @param {{ algo: 'sha256' | 'sha384' | 'sha512' }[]} metadataList\n */\nfunction getStrongestMetadata (metadataList) {\n // Let algorithm be the algo component of the first item in metadataList.\n // Can be sha256\n let algorithm = metadataList[0].algo\n // If the algorithm is sha512, then it is the strongest\n // and we can return immediately\n if (algorithm[3] === '5') {\n return algorithm\n }\n\n for (let i = 1; i < metadataList.length; ++i) {\n const metadata = metadataList[i]\n // If the algorithm is sha512, then it is the strongest\n // and we can break the loop immediately\n if (metadata.algo[3] === '5') {\n algorithm = 'sha512'\n break\n // If the algorithm is sha384, then a potential sha256 or sha384 is ignored\n } else if (algorithm[3] === '3') {\n continue\n // algorithm is sha256, check if algorithm is sha384 and if so, set it as\n // the strongest\n } else if (metadata.algo[3] === '3') {\n algorithm = 'sha384'\n }\n }\n return algorithm\n}\n\nfunction filterMetadataListByAlgorithm (metadataList, algorithm) {\n if (metadataList.length === 1) {\n return metadataList\n }\n\n let pos = 0\n for (let i = 0; i < metadataList.length; ++i) {\n if (metadataList[i].algo === algorithm) {\n metadataList[pos++] = metadataList[i]\n }\n }\n\n metadataList.length = pos\n\n return metadataList\n}\n\n/**\n * Compares two base64 strings, allowing for base64url\n * in the second string.\n *\n* @param {string} actualValue always base64\n * @param {string} expectedValue base64 or base64url\n * @returns {boolean}\n */\nfunction compareBase64Mixed (actualValue, expectedValue) {\n if (actualValue.length !== expectedValue.length) {\n return false\n }\n for (let i = 0; i < actualValue.length; ++i) {\n if (actualValue[i] !== expectedValue[i]) {\n if (\n (actualValue[i] === '+' && expectedValue[i] === '-') ||\n (actualValue[i] === '/' && expectedValue[i] === '_')\n ) {\n continue\n }\n return false\n }\n }\n\n return true\n}\n\n// https://w3c.github.io/webappsec-upgrade-insecure-requests/#upgrade-request\nfunction tryUpgradeRequestToAPotentiallyTrustworthyURL (request) {\n // TODO\n}\n\n/**\n * @link {https://html.spec.whatwg.org/multipage/origin.html#same-origin}\n * @param {URL} A\n * @param {URL} B\n */\nfunction sameOrigin (A, B) {\n // 1. If A and B are the same opaque origin, then return true.\n if (A.origin === B.origin && A.origin === 'null') {\n return true\n }\n\n // 2. If A and B are both tuple origins and their schemes,\n // hosts, and port are identical, then return true.\n if (A.protocol === B.protocol && A.hostname === B.hostname && A.port === B.port) {\n return true\n }\n\n // 3. Return false.\n return false\n}\n\nfunction createDeferredPromise () {\n let res\n let rej\n const promise = new Promise((resolve, reject) => {\n res = resolve\n rej = reject\n })\n\n return { promise, resolve: res, reject: rej }\n}\n\nfunction isAborted (fetchParams) {\n return fetchParams.controller.state === 'aborted'\n}\n\nfunction isCancelled (fetchParams) {\n return fetchParams.controller.state === 'aborted' ||\n fetchParams.controller.state === 'terminated'\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-method-normalize\n * @param {string} method\n */\nfunction normalizeMethod (method) {\n return normalizedMethodRecordsBase[method.toLowerCase()] ?? method\n}\n\n// https://infra.spec.whatwg.org/#serialize-a-javascript-value-to-a-json-string\nfunction serializeJavascriptValueToJSONString (value) {\n // 1. Let result be ? Call(%JSON.stringify%, undefined, \u00AB value \u00BB).\n const result = JSON.stringify(value)\n\n // 2. If result is undefined, then throw a TypeError.\n if (result === undefined) {\n throw new TypeError('Value is not JSON serializable')\n }\n\n // 3. Assert: result is a string.\n assert(typeof result === 'string')\n\n // 4. Return result.\n return result\n}\n\n// https://tc39.es/ecma262/#sec-%25iteratorprototype%25-object\nconst esIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))\n\n/**\n * @see https://webidl.spec.whatwg.org/#dfn-iterator-prototype-object\n * @param {string} name name of the instance\n * @param {symbol} kInternalIterator\n * @param {string | number} [keyIndex]\n * @param {string | number} [valueIndex]\n */\nfunction createIterator (name, kInternalIterator, keyIndex = 0, valueIndex = 1) {\n class FastIterableIterator {\n /** @type {any} */\n #target\n /** @type {'key' | 'value' | 'key+value'} */\n #kind\n /** @type {number} */\n #index\n\n /**\n * @see https://webidl.spec.whatwg.org/#dfn-default-iterator-object\n * @param {unknown} target\n * @param {'key' | 'value' | 'key+value'} kind\n */\n constructor (target, kind) {\n this.#target = target\n this.#kind = kind\n this.#index = 0\n }\n\n next () {\n // 1. Let interface be the interface for which the iterator prototype object exists.\n // 2. Let thisValue be the this value.\n // 3. Let object be ? ToObject(thisValue).\n // 4. If object is a platform object, then perform a security\n // check, passing:\n // 5. If object is not a default iterator object for interface,\n // then throw a TypeError.\n if (typeof this !== 'object' || this === null || !(#target in this)) {\n throw new TypeError(\n `'next' called on an object that does not implement interface ${name} Iterator.`\n )\n }\n\n // 6. Let index be object\u2019s index.\n // 7. Let kind be object\u2019s kind.\n // 8. Let values be object\u2019s target's value pairs to iterate over.\n const index = this.#index\n const values = this.#target[kInternalIterator]\n\n // 9. Let len be the length of values.\n const len = values.length\n\n // 10. If index is greater than or equal to len, then return\n // CreateIterResultObject(undefined, true).\n if (index >= len) {\n return {\n value: undefined,\n done: true\n }\n }\n\n // 11. Let pair be the entry in values at index index.\n const { [keyIndex]: key, [valueIndex]: value } = values[index]\n\n // 12. Set object\u2019s index to index + 1.\n this.#index = index + 1\n\n // 13. Return the iterator result for pair and kind.\n\n // https://webidl.spec.whatwg.org/#iterator-result\n\n // 1. Let result be a value determined by the value of kind:\n let result\n switch (this.#kind) {\n case 'key':\n // 1. Let idlKey be pair\u2019s key.\n // 2. Let key be the result of converting idlKey to an\n // ECMAScript value.\n // 3. result is key.\n result = key\n break\n case 'value':\n // 1. Let idlValue be pair\u2019s value.\n // 2. Let value be the result of converting idlValue to\n // an ECMAScript value.\n // 3. result is value.\n result = value\n break\n case 'key+value':\n // 1. Let idlKey be pair\u2019s key.\n // 2. Let idlValue be pair\u2019s value.\n // 3. Let key be the result of converting idlKey to an\n // ECMAScript value.\n // 4. Let value be the result of converting idlValue to\n // an ECMAScript value.\n // 5. Let array be ! ArrayCreate(2).\n // 6. Call ! CreateDataProperty(array, \"0\", key).\n // 7. Call ! CreateDataProperty(array, \"1\", value).\n // 8. result is array.\n result = [key, value]\n break\n }\n\n // 2. Return CreateIterResultObject(result, false).\n return {\n value: result,\n done: false\n }\n }\n }\n\n // https://webidl.spec.whatwg.org/#dfn-iterator-prototype-object\n // @ts-ignore\n delete FastIterableIterator.prototype.constructor\n\n Object.setPrototypeOf(FastIterableIterator.prototype, esIteratorPrototype)\n\n Object.defineProperties(FastIterableIterator.prototype, {\n [Symbol.toStringTag]: {\n writable: false,\n enumerable: false,\n configurable: true,\n value: `${name} Iterator`\n },\n next: { writable: true, enumerable: true, configurable: true }\n })\n\n /**\n * @param {unknown} target\n * @param {'key' | 'value' | 'key+value'} kind\n * @returns {IterableIterator}\n */\n return function (target, kind) {\n return new FastIterableIterator(target, kind)\n }\n}\n\n/**\n * @see https://webidl.spec.whatwg.org/#dfn-iterator-prototype-object\n * @param {string} name name of the instance\n * @param {any} object class\n * @param {symbol} kInternalIterator\n * @param {string | number} [keyIndex]\n * @param {string | number} [valueIndex]\n */\nfunction iteratorMixin (name, object, kInternalIterator, keyIndex = 0, valueIndex = 1) {\n const makeIterator = createIterator(name, kInternalIterator, keyIndex, valueIndex)\n\n const properties = {\n keys: {\n writable: true,\n enumerable: true,\n configurable: true,\n value: function keys () {\n webidl.brandCheck(this, object)\n return makeIterator(this, 'key')\n }\n },\n values: {\n writable: true,\n enumerable: true,\n configurable: true,\n value: function values () {\n webidl.brandCheck(this, object)\n return makeIterator(this, 'value')\n }\n },\n entries: {\n writable: true,\n enumerable: true,\n configurable: true,\n value: function entries () {\n webidl.brandCheck(this, object)\n return makeIterator(this, 'key+value')\n }\n },\n forEach: {\n writable: true,\n enumerable: true,\n configurable: true,\n value: function forEach (callbackfn, thisArg = globalThis) {\n webidl.brandCheck(this, object)\n webidl.argumentLengthCheck(arguments, 1, `${name}.forEach`)\n if (typeof callbackfn !== 'function') {\n throw new TypeError(\n `Failed to execute 'forEach' on '${name}': parameter 1 is not of type 'Function'.`\n )\n }\n for (const { 0: key, 1: value } of makeIterator(this, 'key+value')) {\n callbackfn.call(thisArg, value, key, this)\n }\n }\n }\n }\n\n return Object.defineProperties(object.prototype, {\n ...properties,\n [Symbol.iterator]: {\n writable: true,\n enumerable: false,\n configurable: true,\n value: properties.entries.value\n }\n })\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#body-fully-read\n */\nasync function fullyReadBody (body, processBody, processBodyError) {\n // 1. If taskDestination is null, then set taskDestination to\n // the result of starting a new parallel queue.\n\n // 2. Let successSteps given a byte sequence bytes be to queue a\n // fetch task to run processBody given bytes, with taskDestination.\n const successSteps = processBody\n\n // 3. Let errorSteps be to queue a fetch task to run processBodyError,\n // with taskDestination.\n const errorSteps = processBodyError\n\n // 4. Let reader be the result of getting a reader for body\u2019s stream.\n // If that threw an exception, then run errorSteps with that\n // exception and return.\n let reader\n\n try {\n reader = body.stream.getReader()\n } catch (e) {\n errorSteps(e)\n return\n }\n\n // 5. Read all bytes from reader, given successSteps and errorSteps.\n try {\n successSteps(await readAllBytes(reader))\n } catch (e) {\n errorSteps(e)\n }\n}\n\nfunction isReadableStreamLike (stream) {\n return stream instanceof ReadableStream || (\n stream[Symbol.toStringTag] === 'ReadableStream' &&\n typeof stream.tee === 'function'\n )\n}\n\n/**\n * @param {ReadableStreamController} controller\n */\nfunction readableStreamClose (controller) {\n try {\n controller.close()\n controller.byobRequest?.respond(0)\n } catch (err) {\n // TODO: add comment explaining why this error occurs.\n if (!err.message.includes('Controller is already closed') && !err.message.includes('ReadableStream is already closed')) {\n throw err\n }\n }\n}\n\nconst invalidIsomorphicEncodeValueRegex = /[^\\x00-\\xFF]/ // eslint-disable-line\n\n/**\n * @see https://infra.spec.whatwg.org/#isomorphic-encode\n * @param {string} input\n */\nfunction isomorphicEncode (input) {\n // 1. Assert: input contains no code points greater than U+00FF.\n assert(!invalidIsomorphicEncodeValueRegex.test(input))\n\n // 2. Return a byte sequence whose length is equal to input\u2019s code\n // point length and whose bytes have the same values as the\n // values of input\u2019s code points, in the same order\n return input\n}\n\n/**\n * @see https://streams.spec.whatwg.org/#readablestreamdefaultreader-read-all-bytes\n * @see https://streams.spec.whatwg.org/#read-loop\n * @param {ReadableStreamDefaultReader} reader\n */\nasync function readAllBytes (reader) {\n const bytes = []\n let byteLength = 0\n\n while (true) {\n const { done, value: chunk } = await reader.read()\n\n if (done) {\n // 1. Call successSteps with bytes.\n return Buffer.concat(bytes, byteLength)\n }\n\n // 1. If chunk is not a Uint8Array object, call failureSteps\n // with a TypeError and abort these steps.\n if (!isUint8Array(chunk)) {\n throw new TypeError('Received non-Uint8Array chunk')\n }\n\n // 2. Append the bytes represented by chunk to bytes.\n bytes.push(chunk)\n byteLength += chunk.length\n\n // 3. Read-loop given reader, bytes, successSteps, and failureSteps.\n }\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#is-local\n * @param {URL} url\n */\nfunction urlIsLocal (url) {\n assert('protocol' in url) // ensure it's a url object\n\n const protocol = url.protocol\n\n return protocol === 'about:' || protocol === 'blob:' || protocol === 'data:'\n}\n\n/**\n * @param {string|URL} url\n * @returns {boolean}\n */\nfunction urlHasHttpsScheme (url) {\n return (\n (\n typeof url === 'string' &&\n url[5] === ':' &&\n url[0] === 'h' &&\n url[1] === 't' &&\n url[2] === 't' &&\n url[3] === 'p' &&\n url[4] === 's'\n ) ||\n url.protocol === 'https:'\n )\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#http-scheme\n * @param {URL} url\n */\nfunction urlIsHttpHttpsScheme (url) {\n assert('protocol' in url) // ensure it's a url object\n\n const protocol = url.protocol\n\n return protocol === 'http:' || protocol === 'https:'\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#simple-range-header-value\n * @param {string} value\n * @param {boolean} allowWhitespace\n */\nfunction simpleRangeHeaderValue (value, allowWhitespace) {\n // 1. Let data be the isomorphic decoding of value.\n // Note: isomorphic decoding takes a sequence of bytes (ie. a Uint8Array) and turns it into a string,\n // nothing more. We obviously don't need to do that if value is a string already.\n const data = value\n\n // 2. If data does not start with \"bytes\", then return failure.\n if (!data.startsWith('bytes')) {\n return 'failure'\n }\n\n // 3. Let position be a position variable for data, initially pointing at the 5th code point of data.\n const position = { position: 5 }\n\n // 4. If allowWhitespace is true, collect a sequence of code points that are HTTP tab or space,\n // from data given position.\n if (allowWhitespace) {\n collectASequenceOfCodePoints(\n (char) => char === '\\t' || char === ' ',\n data,\n position\n )\n }\n\n // 5. If the code point at position within data is not U+003D (=), then return failure.\n if (data.charCodeAt(position.position) !== 0x3D) {\n return 'failure'\n }\n\n // 6. Advance position by 1.\n position.position++\n\n // 7. If allowWhitespace is true, collect a sequence of code points that are HTTP tab or space, from\n // data given position.\n if (allowWhitespace) {\n collectASequenceOfCodePoints(\n (char) => char === '\\t' || char === ' ',\n data,\n position\n )\n }\n\n // 8. Let rangeStart be the result of collecting a sequence of code points that are ASCII digits,\n // from data given position.\n const rangeStart = collectASequenceOfCodePoints(\n (char) => {\n const code = char.charCodeAt(0)\n\n return code >= 0x30 && code <= 0x39\n },\n data,\n position\n )\n\n // 9. Let rangeStartValue be rangeStart, interpreted as decimal number, if rangeStart is not the\n // empty string; otherwise null.\n const rangeStartValue = rangeStart.length ? Number(rangeStart) : null\n\n // 10. If allowWhitespace is true, collect a sequence of code points that are HTTP tab or space,\n // from data given position.\n if (allowWhitespace) {\n collectASequenceOfCodePoints(\n (char) => char === '\\t' || char === ' ',\n data,\n position\n )\n }\n\n // 11. If the code point at position within data is not U+002D (-), then return failure.\n if (data.charCodeAt(position.position) !== 0x2D) {\n return 'failure'\n }\n\n // 12. Advance position by 1.\n position.position++\n\n // 13. If allowWhitespace is true, collect a sequence of code points that are HTTP tab\n // or space, from data given position.\n // Note from Khafra: its the same step as in #8 again lol\n if (allowWhitespace) {\n collectASequenceOfCodePoints(\n (char) => char === '\\t' || char === ' ',\n data,\n position\n )\n }\n\n // 14. Let rangeEnd be the result of collecting a sequence of code points that are\n // ASCII digits, from data given position.\n // Note from Khafra: you wouldn't guess it, but this is also the same step as #8\n const rangeEnd = collectASequenceOfCodePoints(\n (char) => {\n const code = char.charCodeAt(0)\n\n return code >= 0x30 && code <= 0x39\n },\n data,\n position\n )\n\n // 15. Let rangeEndValue be rangeEnd, interpreted as decimal number, if rangeEnd\n // is not the empty string; otherwise null.\n // Note from Khafra: THE SAME STEP, AGAIN!!!\n // Note: why interpret as a decimal if we only collect ascii digits?\n const rangeEndValue = rangeEnd.length ? Number(rangeEnd) : null\n\n // 16. If position is not past the end of data, then return failure.\n if (position.position < data.length) {\n return 'failure'\n }\n\n // 17. If rangeEndValue and rangeStartValue are null, then return failure.\n if (rangeEndValue === null && rangeStartValue === null) {\n return 'failure'\n }\n\n // 18. If rangeStartValue and rangeEndValue are numbers, and rangeStartValue is\n // greater than rangeEndValue, then return failure.\n // Note: ... when can they not be numbers?\n if (rangeStartValue > rangeEndValue) {\n return 'failure'\n }\n\n // 19. Return (rangeStartValue, rangeEndValue).\n return { rangeStartValue, rangeEndValue }\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#build-a-content-range\n * @param {number} rangeStart\n * @param {number} rangeEnd\n * @param {number} fullLength\n */\nfunction buildContentRange (rangeStart, rangeEnd, fullLength) {\n // 1. Let contentRange be `bytes `.\n let contentRange = 'bytes '\n\n // 2. Append rangeStart, serialized and isomorphic encoded, to contentRange.\n contentRange += isomorphicEncode(`${rangeStart}`)\n\n // 3. Append 0x2D (-) to contentRange.\n contentRange += '-'\n\n // 4. Append rangeEnd, serialized and isomorphic encoded to contentRange.\n contentRange += isomorphicEncode(`${rangeEnd}`)\n\n // 5. Append 0x2F (/) to contentRange.\n contentRange += '/'\n\n // 6. Append fullLength, serialized and isomorphic encoded to contentRange.\n contentRange += isomorphicEncode(`${fullLength}`)\n\n // 7. Return contentRange.\n return contentRange\n}\n\n// A Stream, which pipes the response to zlib.createInflate() or\n// zlib.createInflateRaw() depending on the first byte of the Buffer.\n// If the lower byte of the first byte is 0x08, then the stream is\n// interpreted as a zlib stream, otherwise it's interpreted as a\n// raw deflate stream.\nclass InflateStream extends Transform {\n #zlibOptions\n\n /** @param {zlib.ZlibOptions} [zlibOptions] */\n constructor (zlibOptions) {\n super()\n this.#zlibOptions = zlibOptions\n }\n\n _transform (chunk, encoding, callback) {\n if (!this._inflateStream) {\n if (chunk.length === 0) {\n callback()\n return\n }\n this._inflateStream = (chunk[0] & 0x0F) === 0x08\n ? zlib.createInflate(this.#zlibOptions)\n : zlib.createInflateRaw(this.#zlibOptions)\n\n this._inflateStream.on('data', this.push.bind(this))\n this._inflateStream.on('end', () => this.push(null))\n this._inflateStream.on('error', (err) => this.destroy(err))\n }\n\n this._inflateStream.write(chunk, encoding, callback)\n }\n\n _final (callback) {\n if (this._inflateStream) {\n this._inflateStream.end()\n this._inflateStream = null\n }\n callback()\n }\n}\n\n/**\n * @param {zlib.ZlibOptions} [zlibOptions]\n * @returns {InflateStream}\n */\nfunction createInflate (zlibOptions) {\n return new InflateStream(zlibOptions)\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-header-extract-mime-type\n * @param {import('./headers').HeadersList} headers\n */\nfunction extractMimeType (headers) {\n // 1. Let charset be null.\n let charset = null\n\n // 2. Let essence be null.\n let essence = null\n\n // 3. Let mimeType be null.\n let mimeType = null\n\n // 4. Let values be the result of getting, decoding, and splitting `Content-Type` from headers.\n const values = getDecodeSplit('content-type', headers)\n\n // 5. If values is null, then return failure.\n if (values === null) {\n return 'failure'\n }\n\n // 6. For each value of values:\n for (const value of values) {\n // 6.1. Let temporaryMimeType be the result of parsing value.\n const temporaryMimeType = parseMIMEType(value)\n\n // 6.2. If temporaryMimeType is failure or its essence is \"*/*\", then continue.\n if (temporaryMimeType === 'failure' || temporaryMimeType.essence === '*/*') {\n continue\n }\n\n // 6.3. Set mimeType to temporaryMimeType.\n mimeType = temporaryMimeType\n\n // 6.4. If mimeType\u2019s essence is not essence, then:\n if (mimeType.essence !== essence) {\n // 6.4.1. Set charset to null.\n charset = null\n\n // 6.4.2. If mimeType\u2019s parameters[\"charset\"] exists, then set charset to\n // mimeType\u2019s parameters[\"charset\"].\n if (mimeType.parameters.has('charset')) {\n charset = mimeType.parameters.get('charset')\n }\n\n // 6.4.3. Set essence to mimeType\u2019s essence.\n essence = mimeType.essence\n } else if (!mimeType.parameters.has('charset') && charset !== null) {\n // 6.5. Otherwise, if mimeType\u2019s parameters[\"charset\"] does not exist, and\n // charset is non-null, set mimeType\u2019s parameters[\"charset\"] to charset.\n mimeType.parameters.set('charset', charset)\n }\n }\n\n // 7. If mimeType is null, then return failure.\n if (mimeType == null) {\n return 'failure'\n }\n\n // 8. Return mimeType.\n return mimeType\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#header-value-get-decode-and-split\n * @param {string|null} value\n */\nfunction gettingDecodingSplitting (value) {\n // 1. Let input be the result of isomorphic decoding value.\n const input = value\n\n // 2. Let position be a position variable for input, initially pointing at the start of input.\n const position = { position: 0 }\n\n // 3. Let values be a list of strings, initially empty.\n const values = []\n\n // 4. Let temporaryValue be the empty string.\n let temporaryValue = ''\n\n // 5. While position is not past the end of input:\n while (position.position < input.length) {\n // 5.1. Append the result of collecting a sequence of code points that are not U+0022 (\")\n // or U+002C (,) from input, given position, to temporaryValue.\n temporaryValue += collectASequenceOfCodePoints(\n (char) => char !== '\"' && char !== ',',\n input,\n position\n )\n\n // 5.2. If position is not past the end of input, then:\n if (position.position < input.length) {\n // 5.2.1. If the code point at position within input is U+0022 (\"), then:\n if (input.charCodeAt(position.position) === 0x22) {\n // 5.2.1.1. Append the result of collecting an HTTP quoted string from input, given position, to temporaryValue.\n temporaryValue += collectAnHTTPQuotedString(\n input,\n position\n )\n\n // 5.2.1.2. If position is not past the end of input, then continue.\n if (position.position < input.length) {\n continue\n }\n } else {\n // 5.2.2. Otherwise:\n\n // 5.2.2.1. Assert: the code point at position within input is U+002C (,).\n assert(input.charCodeAt(position.position) === 0x2C)\n\n // 5.2.2.2. Advance position by 1.\n position.position++\n }\n }\n\n // 5.3. Remove all HTTP tab or space from the start and end of temporaryValue.\n temporaryValue = removeChars(temporaryValue, true, true, (char) => char === 0x9 || char === 0x20)\n\n // 5.4. Append temporaryValue to values.\n values.push(temporaryValue)\n\n // 5.6. Set temporaryValue to the empty string.\n temporaryValue = ''\n }\n\n // 6. Return values.\n return values\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-header-list-get-decode-split\n * @param {string} name lowercase header name\n * @param {import('./headers').HeadersList} list\n */\nfunction getDecodeSplit (name, list) {\n // 1. Let value be the result of getting name from list.\n const value = list.get(name, true)\n\n // 2. If value is null, then return null.\n if (value === null) {\n return null\n }\n\n // 3. Return the result of getting, decoding, and splitting value.\n return gettingDecodingSplitting(value)\n}\n\nconst textDecoder = new TextDecoder()\n\n/**\n * @see https://encoding.spec.whatwg.org/#utf-8-decode\n * @param {Buffer} buffer\n */\nfunction utf8DecodeBytes (buffer) {\n if (buffer.length === 0) {\n return ''\n }\n\n // 1. Let buffer be the result of peeking three bytes from\n // ioQueue, converted to a byte sequence.\n\n // 2. If buffer is 0xEF 0xBB 0xBF, then read three\n // bytes from ioQueue. (Do nothing with those bytes.)\n if (buffer[0] === 0xEF && buffer[1] === 0xBB && buffer[2] === 0xBF) {\n buffer = buffer.subarray(3)\n }\n\n // 3. Process a queue with an instance of UTF-8\u2019s\n // decoder, ioQueue, output, and \"replacement\".\n const output = textDecoder.decode(buffer)\n\n // 4. Return output.\n return output\n}\n\nclass EnvironmentSettingsObjectBase {\n get baseUrl () {\n return getGlobalOrigin()\n }\n\n get origin () {\n return this.baseUrl?.origin\n }\n\n policyContainer = makePolicyContainer()\n}\n\nclass EnvironmentSettingsObject {\n settingsObject = new EnvironmentSettingsObjectBase()\n}\n\nconst environmentSettingsObject = new EnvironmentSettingsObject()\n\nmodule.exports = {\n isAborted,\n isCancelled,\n isValidEncodedURL,\n createDeferredPromise,\n ReadableStreamFrom,\n tryUpgradeRequestToAPotentiallyTrustworthyURL,\n clampAndCoarsenConnectionTimingInfo,\n coarsenedSharedCurrentTime,\n determineRequestsReferrer,\n makePolicyContainer,\n clonePolicyContainer,\n appendFetchMetadata,\n appendRequestOriginHeader,\n TAOCheck,\n corsCheck,\n crossOriginResourcePolicyCheck,\n createOpaqueTimingInfo,\n setRequestReferrerPolicyOnRedirect,\n isValidHTTPToken,\n requestBadPort,\n requestCurrentURL,\n responseURL,\n responseLocationURL,\n isBlobLike,\n isURLPotentiallyTrustworthy,\n isValidReasonPhrase,\n sameOrigin,\n normalizeMethod,\n serializeJavascriptValueToJSONString,\n iteratorMixin,\n createIterator,\n isValidHeaderName,\n isValidHeaderValue,\n isErrorLike,\n fullyReadBody,\n bytesMatch,\n isReadableStreamLike,\n readableStreamClose,\n isomorphicEncode,\n urlIsLocal,\n urlHasHttpsScheme,\n urlIsHttpHttpsScheme,\n readAllBytes,\n simpleRangeHeaderValue,\n buildContentRange,\n parseMetadata,\n createInflate,\n extractMimeType,\n getDecodeSplit,\n utf8DecodeBytes,\n environmentSettingsObject\n}\n", "'use strict'\n\nmodule.exports = {\n kUrl: Symbol('url'),\n kHeaders: Symbol('headers'),\n kSignal: Symbol('signal'),\n kState: Symbol('state'),\n kDispatcher: Symbol('dispatcher')\n}\n", "'use strict'\n\nconst { Blob, File } = require('node:buffer')\nconst { kState } = require('./symbols')\nconst { webidl } = require('./webidl')\n\n// TODO(@KhafraDev): remove\nclass FileLike {\n constructor (blobLike, fileName, options = {}) {\n // TODO: argument idl type check\n\n // The File constructor is invoked with two or three parameters, depending\n // on whether the optional dictionary parameter is used. When the File()\n // constructor is invoked, user agents must run the following steps:\n\n // 1. Let bytes be the result of processing blob parts given fileBits and\n // options.\n\n // 2. Let n be the fileName argument to the constructor.\n const n = fileName\n\n // 3. Process FilePropertyBag dictionary argument by running the following\n // substeps:\n\n // 1. If the type member is provided and is not the empty string, let t\n // be set to the type dictionary member. If t contains any characters\n // outside the range U+0020 to U+007E, then set t to the empty string\n // and return from these substeps.\n // TODO\n const t = options.type\n\n // 2. Convert every character in t to ASCII lowercase.\n // TODO\n\n // 3. If the lastModified member is provided, let d be set to the\n // lastModified dictionary member. If it is not provided, set d to the\n // current date and time represented as the number of milliseconds since\n // the Unix Epoch (which is the equivalent of Date.now() [ECMA-262]).\n const d = options.lastModified ?? Date.now()\n\n // 4. Return a new File object F such that:\n // F refers to the bytes byte sequence.\n // F.size is set to the number of total bytes in bytes.\n // F.name is set to n.\n // F.type is set to t.\n // F.lastModified is set to d.\n\n this[kState] = {\n blobLike,\n name: n,\n type: t,\n lastModified: d\n }\n }\n\n stream (...args) {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.stream(...args)\n }\n\n arrayBuffer (...args) {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.arrayBuffer(...args)\n }\n\n slice (...args) {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.slice(...args)\n }\n\n text (...args) {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.text(...args)\n }\n\n get size () {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.size\n }\n\n get type () {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.type\n }\n\n get name () {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].name\n }\n\n get lastModified () {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].lastModified\n }\n\n get [Symbol.toStringTag] () {\n return 'File'\n }\n}\n\nwebidl.converters.Blob = webidl.interfaceConverter(Blob)\n\n// If this function is moved to ./util.js, some tools (such as\n// rollup) will warn about circular dependencies. See:\n// https://github.com/nodejs/undici/issues/1629\nfunction isFileLike (object) {\n return (\n (object instanceof File) ||\n (\n object &&\n (typeof object.stream === 'function' ||\n typeof object.arrayBuffer === 'function') &&\n object[Symbol.toStringTag] === 'File'\n )\n )\n}\n\nmodule.exports = { FileLike, isFileLike }\n", "'use strict'\n\nconst { isBlobLike, iteratorMixin } = require('./util')\nconst { kState } = require('./symbols')\nconst { kEnumerableProperty } = require('../../core/util')\nconst { FileLike, isFileLike } = require('./file')\nconst { webidl } = require('./webidl')\nconst { File: NativeFile } = require('node:buffer')\nconst nodeUtil = require('node:util')\n\n/** @type {globalThis['File']} */\nconst File = globalThis.File ?? NativeFile\n\n// https://xhr.spec.whatwg.org/#formdata\nclass FormData {\n constructor (form) {\n webidl.util.markAsUncloneable(this)\n\n if (form !== undefined) {\n throw webidl.errors.conversionFailed({\n prefix: 'FormData constructor',\n argument: 'Argument 1',\n types: ['undefined']\n })\n }\n\n this[kState] = []\n }\n\n append (name, value, filename = undefined) {\n webidl.brandCheck(this, FormData)\n\n const prefix = 'FormData.append'\n webidl.argumentLengthCheck(arguments, 2, prefix)\n\n if (arguments.length === 3 && !isBlobLike(value)) {\n throw new TypeError(\n \"Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'\"\n )\n }\n\n // 1. Let value be value if given; otherwise blobValue.\n\n name = webidl.converters.USVString(name, prefix, 'name')\n value = isBlobLike(value)\n ? webidl.converters.Blob(value, prefix, 'value', { strict: false })\n : webidl.converters.USVString(value, prefix, 'value')\n filename = arguments.length === 3\n ? webidl.converters.USVString(filename, prefix, 'filename')\n : undefined\n\n // 2. Let entry be the result of creating an entry with\n // name, value, and filename if given.\n const entry = makeEntry(name, value, filename)\n\n // 3. Append entry to this\u2019s entry list.\n this[kState].push(entry)\n }\n\n delete (name) {\n webidl.brandCheck(this, FormData)\n\n const prefix = 'FormData.delete'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n name = webidl.converters.USVString(name, prefix, 'name')\n\n // The delete(name) method steps are to remove all entries whose name\n // is name from this\u2019s entry list.\n this[kState] = this[kState].filter(entry => entry.name !== name)\n }\n\n get (name) {\n webidl.brandCheck(this, FormData)\n\n const prefix = 'FormData.get'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n name = webidl.converters.USVString(name, prefix, 'name')\n\n // 1. If there is no entry whose name is name in this\u2019s entry list,\n // then return null.\n const idx = this[kState].findIndex((entry) => entry.name === name)\n if (idx === -1) {\n return null\n }\n\n // 2. Return the value of the first entry whose name is name from\n // this\u2019s entry list.\n return this[kState][idx].value\n }\n\n getAll (name) {\n webidl.brandCheck(this, FormData)\n\n const prefix = 'FormData.getAll'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n name = webidl.converters.USVString(name, prefix, 'name')\n\n // 1. If there is no entry whose name is name in this\u2019s entry list,\n // then return the empty list.\n // 2. Return the values of all entries whose name is name, in order,\n // from this\u2019s entry list.\n return this[kState]\n .filter((entry) => entry.name === name)\n .map((entry) => entry.value)\n }\n\n has (name) {\n webidl.brandCheck(this, FormData)\n\n const prefix = 'FormData.has'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n name = webidl.converters.USVString(name, prefix, 'name')\n\n // The has(name) method steps are to return true if there is an entry\n // whose name is name in this\u2019s entry list; otherwise false.\n return this[kState].findIndex((entry) => entry.name === name) !== -1\n }\n\n set (name, value, filename = undefined) {\n webidl.brandCheck(this, FormData)\n\n const prefix = 'FormData.set'\n webidl.argumentLengthCheck(arguments, 2, prefix)\n\n if (arguments.length === 3 && !isBlobLike(value)) {\n throw new TypeError(\n \"Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'\"\n )\n }\n\n // The set(name, value) and set(name, blobValue, filename) method steps\n // are:\n\n // 1. Let value be value if given; otherwise blobValue.\n\n name = webidl.converters.USVString(name, prefix, 'name')\n value = isBlobLike(value)\n ? webidl.converters.Blob(value, prefix, 'name', { strict: false })\n : webidl.converters.USVString(value, prefix, 'name')\n filename = arguments.length === 3\n ? webidl.converters.USVString(filename, prefix, 'name')\n : undefined\n\n // 2. Let entry be the result of creating an entry with name, value, and\n // filename if given.\n const entry = makeEntry(name, value, filename)\n\n // 3. If there are entries in this\u2019s entry list whose name is name, then\n // replace the first such entry with entry and remove the others.\n const idx = this[kState].findIndex((entry) => entry.name === name)\n if (idx !== -1) {\n this[kState] = [\n ...this[kState].slice(0, idx),\n entry,\n ...this[kState].slice(idx + 1).filter((entry) => entry.name !== name)\n ]\n } else {\n // 4. Otherwise, append entry to this\u2019s entry list.\n this[kState].push(entry)\n }\n }\n\n [nodeUtil.inspect.custom] (depth, options) {\n const state = this[kState].reduce((a, b) => {\n if (a[b.name]) {\n if (Array.isArray(a[b.name])) {\n a[b.name].push(b.value)\n } else {\n a[b.name] = [a[b.name], b.value]\n }\n } else {\n a[b.name] = b.value\n }\n\n return a\n }, { __proto__: null })\n\n options.depth ??= depth\n options.colors ??= true\n\n const output = nodeUtil.formatWithOptions(options, state)\n\n // remove [Object null prototype]\n return `FormData ${output.slice(output.indexOf(']') + 2)}`\n }\n}\n\niteratorMixin('FormData', FormData, kState, 'name', 'value')\n\nObject.defineProperties(FormData.prototype, {\n append: kEnumerableProperty,\n delete: kEnumerableProperty,\n get: kEnumerableProperty,\n getAll: kEnumerableProperty,\n has: kEnumerableProperty,\n set: kEnumerableProperty,\n [Symbol.toStringTag]: {\n value: 'FormData',\n configurable: true\n }\n})\n\n/**\n * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#create-an-entry\n * @param {string} name\n * @param {string|Blob} value\n * @param {?string} filename\n * @returns\n */\nfunction makeEntry (name, value, filename) {\n // 1. Set name to the result of converting name into a scalar value string.\n // Note: This operation was done by the webidl converter USVString.\n\n // 2. If value is a string, then set value to the result of converting\n // value into a scalar value string.\n if (typeof value === 'string') {\n // Note: This operation was done by the webidl converter USVString.\n } else {\n // 3. Otherwise:\n\n // 1. If value is not a File object, then set value to a new File object,\n // representing the same bytes, whose name attribute value is \"blob\"\n if (!isFileLike(value)) {\n value = value instanceof Blob\n ? new File([value], 'blob', { type: value.type })\n : new FileLike(value, 'blob', { type: value.type })\n }\n\n // 2. If filename is given, then set value to a new File object,\n // representing the same bytes, whose name attribute is filename.\n if (filename !== undefined) {\n /** @type {FilePropertyBag} */\n const options = {\n type: value.type,\n lastModified: value.lastModified\n }\n\n value = value instanceof NativeFile\n ? new File([value], filename, options)\n : new FileLike(value, filename, options)\n }\n }\n\n // 4. Return an entry whose name is name and whose value is value.\n return { name, value }\n}\n\nmodule.exports = { FormData, makeEntry }\n", "'use strict'\n\nconst { isUSVString, bufferToLowerCasedHeaderName } = require('../../core/util')\nconst { utf8DecodeBytes } = require('./util')\nconst { HTTP_TOKEN_CODEPOINTS, isomorphicDecode } = require('./data-url')\nconst { isFileLike } = require('./file')\nconst { makeEntry } = require('./formdata')\nconst assert = require('node:assert')\nconst { File: NodeFile } = require('node:buffer')\n\nconst File = globalThis.File ?? NodeFile\n\nconst formDataNameBuffer = Buffer.from('form-data; name=\"')\nconst filenameBuffer = Buffer.from('; filename')\nconst dd = Buffer.from('--')\nconst ddcrlf = Buffer.from('--\\r\\n')\n\n/**\n * @param {string} chars\n */\nfunction isAsciiString (chars) {\n for (let i = 0; i < chars.length; ++i) {\n if ((chars.charCodeAt(i) & ~0x7F) !== 0) {\n return false\n }\n }\n return true\n}\n\n/**\n * @see https://andreubotella.github.io/multipart-form-data/#multipart-form-data-boundary\n * @param {string} boundary\n */\nfunction validateBoundary (boundary) {\n const length = boundary.length\n\n // - its length is greater or equal to 27 and lesser or equal to 70, and\n if (length < 27 || length > 70) {\n return false\n }\n\n // - it is composed by bytes in the ranges 0x30 to 0x39, 0x41 to 0x5A, or\n // 0x61 to 0x7A, inclusive (ASCII alphanumeric), or which are 0x27 ('),\n // 0x2D (-) or 0x5F (_).\n for (let i = 0; i < length; ++i) {\n const cp = boundary.charCodeAt(i)\n\n if (!(\n (cp >= 0x30 && cp <= 0x39) ||\n (cp >= 0x41 && cp <= 0x5a) ||\n (cp >= 0x61 && cp <= 0x7a) ||\n cp === 0x27 ||\n cp === 0x2d ||\n cp === 0x5f\n )) {\n return false\n }\n }\n\n return true\n}\n\n/**\n * @see https://andreubotella.github.io/multipart-form-data/#multipart-form-data-parser\n * @param {Buffer} input\n * @param {ReturnType} mimeType\n */\nfunction multipartFormDataParser (input, mimeType) {\n // 1. Assert: mimeType\u2019s essence is \"multipart/form-data\".\n assert(mimeType !== 'failure' && mimeType.essence === 'multipart/form-data')\n\n const boundaryString = mimeType.parameters.get('boundary')\n\n // 2. If mimeType\u2019s parameters[\"boundary\"] does not exist, return failure.\n // Otherwise, let boundary be the result of UTF-8 decoding mimeType\u2019s\n // parameters[\"boundary\"].\n if (boundaryString === undefined) {\n return 'failure'\n }\n\n const boundary = Buffer.from(`--${boundaryString}`, 'utf8')\n\n // 3. Let entry list be an empty entry list.\n const entryList = []\n\n // 4. Let position be a pointer to a byte in input, initially pointing at\n // the first byte.\n const position = { position: 0 }\n\n // Note: undici addition, allows leading and trailing CRLFs.\n while (input[position.position] === 0x0d && input[position.position + 1] === 0x0a) {\n position.position += 2\n }\n\n let trailing = input.length\n\n while (input[trailing - 1] === 0x0a && input[trailing - 2] === 0x0d) {\n trailing -= 2\n }\n\n if (trailing !== input.length) {\n input = input.subarray(0, trailing)\n }\n\n // 5. While true:\n while (true) {\n // 5.1. If position points to a sequence of bytes starting with 0x2D 0x2D\n // (`--`) followed by boundary, advance position by 2 + the length of\n // boundary. Otherwise, return failure.\n // Note: boundary is padded with 2 dashes already, no need to add 2.\n if (input.subarray(position.position, position.position + boundary.length).equals(boundary)) {\n position.position += boundary.length\n } else {\n return 'failure'\n }\n\n // 5.2. If position points to the sequence of bytes 0x2D 0x2D 0x0D 0x0A\n // (`--` followed by CR LF) followed by the end of input, return entry list.\n // Note: a body does NOT need to end with CRLF. It can end with --.\n if (\n (position.position === input.length - 2 && bufferStartsWith(input, dd, position)) ||\n (position.position === input.length - 4 && bufferStartsWith(input, ddcrlf, position))\n ) {\n return entryList\n }\n\n // 5.3. If position does not point to a sequence of bytes starting with 0x0D\n // 0x0A (CR LF), return failure.\n if (input[position.position] !== 0x0d || input[position.position + 1] !== 0x0a) {\n return 'failure'\n }\n\n // 5.4. Advance position by 2. (This skips past the newline.)\n position.position += 2\n\n // 5.5. Let name, filename and contentType be the result of parsing\n // multipart/form-data headers on input and position, if the result\n // is not failure. Otherwise, return failure.\n const result = parseMultipartFormDataHeaders(input, position)\n\n if (result === 'failure') {\n return 'failure'\n }\n\n let { name, filename, contentType, encoding } = result\n\n // 5.6. Advance position by 2. (This skips past the empty line that marks\n // the end of the headers.)\n position.position += 2\n\n // 5.7. Let body be the empty byte sequence.\n let body\n\n // 5.8. Body loop: While position is not past the end of input:\n // TODO: the steps here are completely wrong\n {\n const boundaryIndex = input.indexOf(boundary.subarray(2), position.position)\n\n if (boundaryIndex === -1) {\n return 'failure'\n }\n\n body = input.subarray(position.position, boundaryIndex - 4)\n\n position.position += body.length\n\n // Note: position must be advanced by the body's length before being\n // decoded, otherwise the parsing will fail.\n if (encoding === 'base64') {\n body = Buffer.from(body.toString(), 'base64')\n }\n }\n\n // 5.9. If position does not point to a sequence of bytes starting with\n // 0x0D 0x0A (CR LF), return failure. Otherwise, advance position by 2.\n if (input[position.position] !== 0x0d || input[position.position + 1] !== 0x0a) {\n return 'failure'\n } else {\n position.position += 2\n }\n\n // 5.10. If filename is not null:\n let value\n\n if (filename !== null) {\n // 5.10.1. If contentType is null, set contentType to \"text/plain\".\n contentType ??= 'text/plain'\n\n // 5.10.2. If contentType is not an ASCII string, set contentType to the empty string.\n\n // Note: `buffer.isAscii` can be used at zero-cost, but converting a string to a buffer is a high overhead.\n // Content-Type is a relatively small string, so it is faster to use `String#charCodeAt`.\n if (!isAsciiString(contentType)) {\n contentType = ''\n }\n\n // 5.10.3. Let value be a new File object with name filename, type contentType, and body body.\n value = new File([body], filename, { type: contentType })\n } else {\n // 5.11. Otherwise:\n\n // 5.11.1. Let value be the UTF-8 decoding without BOM of body.\n value = utf8DecodeBytes(Buffer.from(body))\n }\n\n // 5.12. Assert: name is a scalar value string and value is either a scalar value string or a File object.\n assert(isUSVString(name))\n assert((typeof value === 'string' && isUSVString(value)) || isFileLike(value))\n\n // 5.13. Create an entry with name and value, and append it to entry list.\n entryList.push(makeEntry(name, value, filename))\n }\n}\n\n/**\n * @see https://andreubotella.github.io/multipart-form-data/#parse-multipart-form-data-headers\n * @param {Buffer} input\n * @param {{ position: number }} position\n */\nfunction parseMultipartFormDataHeaders (input, position) {\n // 1. Let name, filename and contentType be null.\n let name = null\n let filename = null\n let contentType = null\n let encoding = null\n\n // 2. While true:\n while (true) {\n // 2.1. If position points to a sequence of bytes starting with 0x0D 0x0A (CR LF):\n if (input[position.position] === 0x0d && input[position.position + 1] === 0x0a) {\n // 2.1.1. If name is null, return failure.\n if (name === null) {\n return 'failure'\n }\n\n // 2.1.2. Return name, filename and contentType.\n return { name, filename, contentType, encoding }\n }\n\n // 2.2. Let header name be the result of collecting a sequence of bytes that are\n // not 0x0A (LF), 0x0D (CR) or 0x3A (:), given position.\n let headerName = collectASequenceOfBytes(\n (char) => char !== 0x0a && char !== 0x0d && char !== 0x3a,\n input,\n position\n )\n\n // 2.3. Remove any HTTP tab or space bytes from the start or end of header name.\n headerName = removeChars(headerName, true, true, (char) => char === 0x9 || char === 0x20)\n\n // 2.4. If header name does not match the field-name token production, return failure.\n if (!HTTP_TOKEN_CODEPOINTS.test(headerName.toString())) {\n return 'failure'\n }\n\n // 2.5. If the byte at position is not 0x3A (:), return failure.\n if (input[position.position] !== 0x3a) {\n return 'failure'\n }\n\n // 2.6. Advance position by 1.\n position.position++\n\n // 2.7. Collect a sequence of bytes that are HTTP tab or space bytes given position.\n // (Do nothing with those bytes.)\n collectASequenceOfBytes(\n (char) => char === 0x20 || char === 0x09,\n input,\n position\n )\n\n // 2.8. Byte-lowercase header name and switch on the result:\n switch (bufferToLowerCasedHeaderName(headerName)) {\n case 'content-disposition': {\n // 1. Set name and filename to null.\n name = filename = null\n\n // 2. If position does not point to a sequence of bytes starting with\n // `form-data; name=\"`, return failure.\n if (!bufferStartsWith(input, formDataNameBuffer, position)) {\n return 'failure'\n }\n\n // 3. Advance position so it points at the byte after the next 0x22 (\")\n // byte (the one in the sequence of bytes matched above).\n position.position += 17\n\n // 4. Set name to the result of parsing a multipart/form-data name given\n // input and position, if the result is not failure. Otherwise, return\n // failure.\n name = parseMultipartFormDataName(input, position)\n\n if (name === null) {\n return 'failure'\n }\n\n // 5. If position points to a sequence of bytes starting with `; filename=\"`:\n if (bufferStartsWith(input, filenameBuffer, position)) {\n // Note: undici also handles filename*\n let check = position.position + filenameBuffer.length\n\n if (input[check] === 0x2a) {\n position.position += 1\n check += 1\n }\n\n if (input[check] !== 0x3d || input[check + 1] !== 0x22) { // =\"\n return 'failure'\n }\n\n // 1. Advance position so it points at the byte after the next 0x22 (\") byte\n // (the one in the sequence of bytes matched above).\n position.position += 12\n\n // 2. Set filename to the result of parsing a multipart/form-data name given\n // input and position, if the result is not failure. Otherwise, return failure.\n filename = parseMultipartFormDataName(input, position)\n\n if (filename === null) {\n return 'failure'\n }\n }\n\n break\n }\n case 'content-type': {\n // 1. Let header value be the result of collecting a sequence of bytes that are\n // not 0x0A (LF) or 0x0D (CR), given position.\n let headerValue = collectASequenceOfBytes(\n (char) => char !== 0x0a && char !== 0x0d,\n input,\n position\n )\n\n // 2. Remove any HTTP tab or space bytes from the end of header value.\n headerValue = removeChars(headerValue, false, true, (char) => char === 0x9 || char === 0x20)\n\n // 3. Set contentType to the isomorphic decoding of header value.\n contentType = isomorphicDecode(headerValue)\n\n break\n }\n case 'content-transfer-encoding': {\n let headerValue = collectASequenceOfBytes(\n (char) => char !== 0x0a && char !== 0x0d,\n input,\n position\n )\n\n headerValue = removeChars(headerValue, false, true, (char) => char === 0x9 || char === 0x20)\n\n encoding = isomorphicDecode(headerValue)\n\n break\n }\n default: {\n // Collect a sequence of bytes that are not 0x0A (LF) or 0x0D (CR), given position.\n // (Do nothing with those bytes.)\n collectASequenceOfBytes(\n (char) => char !== 0x0a && char !== 0x0d,\n input,\n position\n )\n }\n }\n\n // 2.9. If position does not point to a sequence of bytes starting with 0x0D 0x0A\n // (CR LF), return failure. Otherwise, advance position by 2 (past the newline).\n if (input[position.position] !== 0x0d && input[position.position + 1] !== 0x0a) {\n return 'failure'\n } else {\n position.position += 2\n }\n }\n}\n\n/**\n * @see https://andreubotella.github.io/multipart-form-data/#parse-a-multipart-form-data-name\n * @param {Buffer} input\n * @param {{ position: number }} position\n */\nfunction parseMultipartFormDataName (input, position) {\n // 1. Assert: The byte at (position - 1) is 0x22 (\").\n assert(input[position.position - 1] === 0x22)\n\n // 2. Let name be the result of collecting a sequence of bytes that are not 0x0A (LF), 0x0D (CR) or 0x22 (\"), given position.\n /** @type {string | Buffer} */\n let name = collectASequenceOfBytes(\n (char) => char !== 0x0a && char !== 0x0d && char !== 0x22,\n input,\n position\n )\n\n // 3. If the byte at position is not 0x22 (\"), return failure. Otherwise, advance position by 1.\n if (input[position.position] !== 0x22) {\n return null // name could be 'failure'\n } else {\n position.position++\n }\n\n // 4. Replace any occurrence of the following subsequences in name with the given byte:\n // - `%0A`: 0x0A (LF)\n // - `%0D`: 0x0D (CR)\n // - `%22`: 0x22 (\")\n name = new TextDecoder().decode(name)\n .replace(/%0A/ig, '\\n')\n .replace(/%0D/ig, '\\r')\n .replace(/%22/g, '\"')\n\n // 5. Return the UTF-8 decoding without BOM of name.\n return name\n}\n\n/**\n * @param {(char: number) => boolean} condition\n * @param {Buffer} input\n * @param {{ position: number }} position\n */\nfunction collectASequenceOfBytes (condition, input, position) {\n let start = position.position\n\n while (start < input.length && condition(input[start])) {\n ++start\n }\n\n return input.subarray(position.position, (position.position = start))\n}\n\n/**\n * @param {Buffer} buf\n * @param {boolean} leading\n * @param {boolean} trailing\n * @param {(charCode: number) => boolean} predicate\n * @returns {Buffer}\n */\nfunction removeChars (buf, leading, trailing, predicate) {\n let lead = 0\n let trail = buf.length - 1\n\n if (leading) {\n while (lead < buf.length && predicate(buf[lead])) lead++\n }\n\n if (trailing) {\n while (trail > 0 && predicate(buf[trail])) trail--\n }\n\n return lead === 0 && trail === buf.length - 1 ? buf : buf.subarray(lead, trail + 1)\n}\n\n/**\n * Checks if {@param buffer} starts with {@param start}\n * @param {Buffer} buffer\n * @param {Buffer} start\n * @param {{ position: number }} position\n */\nfunction bufferStartsWith (buffer, start, position) {\n if (buffer.length < start.length) {\n return false\n }\n\n for (let i = 0; i < start.length; i++) {\n if (start[i] !== buffer[position.position + i]) {\n return false\n }\n }\n\n return true\n}\n\nmodule.exports = {\n multipartFormDataParser,\n validateBoundary\n}\n", "'use strict'\n\nconst util = require('../../core/util')\nconst {\n ReadableStreamFrom,\n isBlobLike,\n isReadableStreamLike,\n readableStreamClose,\n createDeferredPromise,\n fullyReadBody,\n extractMimeType,\n utf8DecodeBytes\n} = require('./util')\nconst { FormData } = require('./formdata')\nconst { kState } = require('./symbols')\nconst { webidl } = require('./webidl')\nconst { Blob } = require('node:buffer')\nconst assert = require('node:assert')\nconst { isErrored, isDisturbed } = require('node:stream')\nconst { isArrayBuffer } = require('node:util/types')\nconst { serializeAMimeType } = require('./data-url')\nconst { multipartFormDataParser } = require('./formdata-parser')\nlet random\n\ntry {\n const crypto = require('node:crypto')\n random = (max) => crypto.randomInt(0, max)\n} catch {\n random = (max) => Math.floor(Math.random(max))\n}\n\nconst textEncoder = new TextEncoder()\nfunction noop () {}\n\nconst hasFinalizationRegistry = globalThis.FinalizationRegistry && process.version.indexOf('v18') !== 0\nlet streamRegistry\n\nif (hasFinalizationRegistry) {\n streamRegistry = new FinalizationRegistry((weakRef) => {\n const stream = weakRef.deref()\n if (stream && !stream.locked && !isDisturbed(stream) && !isErrored(stream)) {\n stream.cancel('Response object has been garbage collected').catch(noop)\n }\n })\n}\n\n// https://fetch.spec.whatwg.org/#concept-bodyinit-extract\nfunction extractBody (object, keepalive = false) {\n // 1. Let stream be null.\n let stream = null\n\n // 2. If object is a ReadableStream object, then set stream to object.\n if (object instanceof ReadableStream) {\n stream = object\n } else if (isBlobLike(object)) {\n // 3. Otherwise, if object is a Blob object, set stream to the\n // result of running object\u2019s get stream.\n stream = object.stream()\n } else {\n // 4. Otherwise, set stream to a new ReadableStream object, and set\n // up stream with byte reading support.\n stream = new ReadableStream({\n async pull (controller) {\n const buffer = typeof source === 'string' ? textEncoder.encode(source) : source\n\n if (buffer.byteLength) {\n controller.enqueue(buffer)\n }\n\n queueMicrotask(() => readableStreamClose(controller))\n },\n start () {},\n type: 'bytes'\n })\n }\n\n // 5. Assert: stream is a ReadableStream object.\n assert(isReadableStreamLike(stream))\n\n // 6. Let action be null.\n let action = null\n\n // 7. Let source be null.\n let source = null\n\n // 8. Let length be null.\n let length = null\n\n // 9. Let type be null.\n let type = null\n\n // 10. Switch on object:\n if (typeof object === 'string') {\n // Set source to the UTF-8 encoding of object.\n // Note: setting source to a Uint8Array here breaks some mocking assumptions.\n source = object\n\n // Set type to `text/plain;charset=UTF-8`.\n type = 'text/plain;charset=UTF-8'\n } else if (object instanceof URLSearchParams) {\n // URLSearchParams\n\n // spec says to run application/x-www-form-urlencoded on body.list\n // this is implemented in Node.js as apart of an URLSearchParams instance toString method\n // See: https://github.com/nodejs/node/blob/e46c680bf2b211bbd52cf959ca17ee98c7f657f5/lib/internal/url.js#L490\n // and https://github.com/nodejs/node/blob/e46c680bf2b211bbd52cf959ca17ee98c7f657f5/lib/internal/url.js#L1100\n\n // Set source to the result of running the application/x-www-form-urlencoded serializer with object\u2019s list.\n source = object.toString()\n\n // Set type to `application/x-www-form-urlencoded;charset=UTF-8`.\n type = 'application/x-www-form-urlencoded;charset=UTF-8'\n } else if (isArrayBuffer(object)) {\n // BufferSource/ArrayBuffer\n\n // Set source to a copy of the bytes held by object.\n source = new Uint8Array(object.slice())\n } else if (ArrayBuffer.isView(object)) {\n // BufferSource/ArrayBufferView\n\n // Set source to a copy of the bytes held by object.\n source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength))\n } else if (util.isFormDataLike(object)) {\n const boundary = `----formdata-undici-0${`${random(1e11)}`.padStart(11, '0')}`\n const prefix = `--${boundary}\\r\\nContent-Disposition: form-data`\n\n /*! formdata-polyfill. MIT License. Jimmy W\u00E4rting */\n const escape = (str) =>\n str.replace(/\\n/g, '%0A').replace(/\\r/g, '%0D').replace(/\"/g, '%22')\n const normalizeLinefeeds = (value) => value.replace(/\\r?\\n|\\r/g, '\\r\\n')\n\n // Set action to this step: run the multipart/form-data\n // encoding algorithm, with object\u2019s entry list and UTF-8.\n // - This ensures that the body is immutable and can't be changed afterwords\n // - That the content-length is calculated in advance.\n // - And that all parts are pre-encoded and ready to be sent.\n\n const blobParts = []\n const rn = new Uint8Array([13, 10]) // '\\r\\n'\n length = 0\n let hasUnknownSizeValue = false\n\n for (const [name, value] of object) {\n if (typeof value === 'string') {\n const chunk = textEncoder.encode(prefix +\n `; name=\"${escape(normalizeLinefeeds(name))}\"` +\n `\\r\\n\\r\\n${normalizeLinefeeds(value)}\\r\\n`)\n blobParts.push(chunk)\n length += chunk.byteLength\n } else {\n const chunk = textEncoder.encode(`${prefix}; name=\"${escape(normalizeLinefeeds(name))}\"` +\n (value.name ? `; filename=\"${escape(value.name)}\"` : '') + '\\r\\n' +\n `Content-Type: ${\n value.type || 'application/octet-stream'\n }\\r\\n\\r\\n`)\n blobParts.push(chunk, value, rn)\n if (typeof value.size === 'number') {\n length += chunk.byteLength + value.size + rn.byteLength\n } else {\n hasUnknownSizeValue = true\n }\n }\n }\n\n // CRLF is appended to the body to function with legacy servers and match other implementations.\n // https://github.com/curl/curl/blob/3434c6b46e682452973972e8313613dfa58cd690/lib/mime.c#L1029-L1030\n // https://github.com/form-data/form-data/issues/63\n const chunk = textEncoder.encode(`--${boundary}--\\r\\n`)\n blobParts.push(chunk)\n length += chunk.byteLength\n if (hasUnknownSizeValue) {\n length = null\n }\n\n // Set source to object.\n source = object\n\n action = async function * () {\n for (const part of blobParts) {\n if (part.stream) {\n yield * part.stream()\n } else {\n yield part\n }\n }\n }\n\n // Set type to `multipart/form-data; boundary=`,\n // followed by the multipart/form-data boundary string generated\n // by the multipart/form-data encoding algorithm.\n type = `multipart/form-data; boundary=${boundary}`\n } else if (isBlobLike(object)) {\n // Blob\n\n // Set source to object.\n source = object\n\n // Set length to object\u2019s size.\n length = object.size\n\n // If object\u2019s type attribute is not the empty byte sequence, set\n // type to its value.\n if (object.type) {\n type = object.type\n }\n } else if (typeof object[Symbol.asyncIterator] === 'function') {\n // If keepalive is true, then throw a TypeError.\n if (keepalive) {\n throw new TypeError('keepalive')\n }\n\n // If object is disturbed or locked, then throw a TypeError.\n if (util.isDisturbed(object) || object.locked) {\n throw new TypeError(\n 'Response body object should not be disturbed or locked'\n )\n }\n\n stream =\n object instanceof ReadableStream ? object : ReadableStreamFrom(object)\n }\n\n // 11. If source is a byte sequence, then set action to a\n // step that returns source and length to source\u2019s length.\n if (typeof source === 'string' || util.isBuffer(source)) {\n length = Buffer.byteLength(source)\n }\n\n // 12. If action is non-null, then run these steps in in parallel:\n if (action != null) {\n // Run action.\n let iterator\n stream = new ReadableStream({\n async start () {\n iterator = action(object)[Symbol.asyncIterator]()\n },\n async pull (controller) {\n const { value, done } = await iterator.next()\n if (done) {\n // When running action is done, close stream.\n queueMicrotask(() => {\n controller.close()\n controller.byobRequest?.respond(0)\n })\n } else {\n // Whenever one or more bytes are available and stream is not errored,\n // enqueue a Uint8Array wrapping an ArrayBuffer containing the available\n // bytes into stream.\n if (!isErrored(stream)) {\n const buffer = new Uint8Array(value)\n if (buffer.byteLength) {\n controller.enqueue(buffer)\n }\n }\n }\n return controller.desiredSize > 0\n },\n async cancel (reason) {\n await iterator.return()\n },\n type: 'bytes'\n })\n }\n\n // 13. Let body be a body whose stream is stream, source is source,\n // and length is length.\n const body = { stream, source, length }\n\n // 14. Return (body, type).\n return [body, type]\n}\n\n// https://fetch.spec.whatwg.org/#bodyinit-safely-extract\nfunction safelyExtractBody (object, keepalive = false) {\n // To safely extract a body and a `Content-Type` value from\n // a byte sequence or BodyInit object object, run these steps:\n\n // 1. If object is a ReadableStream object, then:\n if (object instanceof ReadableStream) {\n // Assert: object is neither disturbed nor locked.\n // istanbul ignore next\n assert(!util.isDisturbed(object), 'The body has already been consumed.')\n // istanbul ignore next\n assert(!object.locked, 'The stream is locked.')\n }\n\n // 2. Return the results of extracting object.\n return extractBody(object, keepalive)\n}\n\nfunction cloneBody (instance, body) {\n // To clone a body body, run these steps:\n\n // https://fetch.spec.whatwg.org/#concept-body-clone\n\n // 1. Let \u00AB out1, out2 \u00BB be the result of teeing body\u2019s stream.\n const [out1, out2] = body.stream.tee()\n\n // 2. Set body\u2019s stream to out1.\n body.stream = out1\n\n // 3. Return a body whose stream is out2 and other members are copied from body.\n return {\n stream: out2,\n length: body.length,\n source: body.source\n }\n}\n\nfunction throwIfAborted (state) {\n if (state.aborted) {\n throw new DOMException('The operation was aborted.', 'AbortError')\n }\n}\n\nfunction bodyMixinMethods (instance) {\n const methods = {\n blob () {\n // The blob() method steps are to return the result of\n // running consume body with this and the following step\n // given a byte sequence bytes: return a Blob whose\n // contents are bytes and whose type attribute is this\u2019s\n // MIME type.\n return consumeBody(this, (bytes) => {\n let mimeType = bodyMimeType(this)\n\n if (mimeType === null) {\n mimeType = ''\n } else if (mimeType) {\n mimeType = serializeAMimeType(mimeType)\n }\n\n // Return a Blob whose contents are bytes and type attribute\n // is mimeType.\n return new Blob([bytes], { type: mimeType })\n }, instance)\n },\n\n arrayBuffer () {\n // The arrayBuffer() method steps are to return the result\n // of running consume body with this and the following step\n // given a byte sequence bytes: return a new ArrayBuffer\n // whose contents are bytes.\n return consumeBody(this, (bytes) => {\n return new Uint8Array(bytes).buffer\n }, instance)\n },\n\n text () {\n // The text() method steps are to return the result of running\n // consume body with this and UTF-8 decode.\n return consumeBody(this, utf8DecodeBytes, instance)\n },\n\n json () {\n // The json() method steps are to return the result of running\n // consume body with this and parse JSON from bytes.\n return consumeBody(this, parseJSONFromBytes, instance)\n },\n\n formData () {\n // The formData() method steps are to return the result of running\n // consume body with this and the following step given a byte sequence bytes:\n return consumeBody(this, (value) => {\n // 1. Let mimeType be the result of get the MIME type with this.\n const mimeType = bodyMimeType(this)\n\n // 2. If mimeType is non-null, then switch on mimeType\u2019s essence and run\n // the corresponding steps:\n if (mimeType !== null) {\n switch (mimeType.essence) {\n case 'multipart/form-data': {\n // 1. ... [long step]\n const parsed = multipartFormDataParser(value, mimeType)\n\n // 2. If that fails for some reason, then throw a TypeError.\n if (parsed === 'failure') {\n throw new TypeError('Failed to parse body as FormData.')\n }\n\n // 3. Return a new FormData object, appending each entry,\n // resulting from the parsing operation, to its entry list.\n const fd = new FormData()\n fd[kState] = parsed\n\n return fd\n }\n case 'application/x-www-form-urlencoded': {\n // 1. Let entries be the result of parsing bytes.\n const entries = new URLSearchParams(value.toString())\n\n // 2. If entries is failure, then throw a TypeError.\n\n // 3. Return a new FormData object whose entry list is entries.\n const fd = new FormData()\n\n for (const [name, value] of entries) {\n fd.append(name, value)\n }\n\n return fd\n }\n }\n }\n\n // 3. Throw a TypeError.\n throw new TypeError(\n 'Content-Type was not one of \"multipart/form-data\" or \"application/x-www-form-urlencoded\".'\n )\n }, instance)\n },\n\n bytes () {\n // The bytes() method steps are to return the result of running consume body\n // with this and the following step given a byte sequence bytes: return the\n // result of creating a Uint8Array from bytes in this\u2019s relevant realm.\n return consumeBody(this, (bytes) => {\n return new Uint8Array(bytes)\n }, instance)\n }\n }\n\n return methods\n}\n\nfunction mixinBody (prototype) {\n Object.assign(prototype.prototype, bodyMixinMethods(prototype))\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-body-consume-body\n * @param {Response|Request} object\n * @param {(value: unknown) => unknown} convertBytesToJSValue\n * @param {Response|Request} instance\n */\nasync function consumeBody (object, convertBytesToJSValue, instance) {\n webidl.brandCheck(object, instance)\n\n // 1. If object is unusable, then return a promise rejected\n // with a TypeError.\n if (bodyUnusable(object)) {\n throw new TypeError('Body is unusable: Body has already been read')\n }\n\n throwIfAborted(object[kState])\n\n // 2. Let promise be a new promise.\n const promise = createDeferredPromise()\n\n // 3. Let errorSteps given error be to reject promise with error.\n const errorSteps = (error) => promise.reject(error)\n\n // 4. Let successSteps given a byte sequence data be to resolve\n // promise with the result of running convertBytesToJSValue\n // with data. If that threw an exception, then run errorSteps\n // with that exception.\n const successSteps = (data) => {\n try {\n promise.resolve(convertBytesToJSValue(data))\n } catch (e) {\n errorSteps(e)\n }\n }\n\n // 5. If object\u2019s body is null, then run successSteps with an\n // empty byte sequence.\n if (object[kState].body == null) {\n successSteps(Buffer.allocUnsafe(0))\n return promise.promise\n }\n\n // 6. Otherwise, fully read object\u2019s body given successSteps,\n // errorSteps, and object\u2019s relevant global object.\n await fullyReadBody(object[kState].body, successSteps, errorSteps)\n\n // 7. Return promise.\n return promise.promise\n}\n\n// https://fetch.spec.whatwg.org/#body-unusable\nfunction bodyUnusable (object) {\n const body = object[kState].body\n\n // An object including the Body interface mixin is\n // said to be unusable if its body is non-null and\n // its body\u2019s stream is disturbed or locked.\n return body != null && (body.stream.locked || util.isDisturbed(body.stream))\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#parse-json-bytes-to-a-javascript-value\n * @param {Uint8Array} bytes\n */\nfunction parseJSONFromBytes (bytes) {\n return JSON.parse(utf8DecodeBytes(bytes))\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-body-mime-type\n * @param {import('./response').Response|import('./request').Request} requestOrResponse\n */\nfunction bodyMimeType (requestOrResponse) {\n // 1. Let headers be null.\n // 2. If requestOrResponse is a Request object, then set headers to requestOrResponse\u2019s request\u2019s header list.\n // 3. Otherwise, set headers to requestOrResponse\u2019s response\u2019s header list.\n /** @type {import('./headers').HeadersList} */\n const headers = requestOrResponse[kState].headersList\n\n // 4. Let mimeType be the result of extracting a MIME type from headers.\n const mimeType = extractMimeType(headers)\n\n // 5. If mimeType is failure, then return null.\n if (mimeType === 'failure') {\n return null\n }\n\n // 6. Return mimeType.\n return mimeType\n}\n\nmodule.exports = {\n extractBody,\n safelyExtractBody,\n cloneBody,\n mixinBody,\n streamRegistry,\n hasFinalizationRegistry,\n bodyUnusable\n}\n", "'use strict'\n\n/* global WebAssembly */\n\nconst assert = require('node:assert')\nconst util = require('../core/util.js')\nconst { channels } = require('../core/diagnostics.js')\nconst timers = require('../util/timers.js')\nconst {\n RequestContentLengthMismatchError,\n ResponseContentLengthMismatchError,\n RequestAbortedError,\n InvalidArgumentError,\n HeadersTimeoutError,\n HeadersOverflowError,\n SocketError,\n InformationalError,\n BodyTimeoutError,\n HTTPParserError,\n ResponseExceededMaxSizeError\n} = require('../core/errors.js')\nconst {\n kUrl,\n kReset,\n kClient,\n kParser,\n kBlocking,\n kRunning,\n kPending,\n kSize,\n kWriting,\n kQueue,\n kNoRef,\n kKeepAliveDefaultTimeout,\n kHostHeader,\n kPendingIdx,\n kRunningIdx,\n kError,\n kPipelining,\n kSocket,\n kKeepAliveTimeoutValue,\n kMaxHeadersSize,\n kKeepAliveMaxTimeout,\n kKeepAliveTimeoutThreshold,\n kHeadersTimeout,\n kBodyTimeout,\n kStrictContentLength,\n kMaxRequests,\n kCounter,\n kMaxResponseSize,\n kOnError,\n kResume,\n kHTTPContext\n} = require('../core/symbols.js')\n\nconst constants = require('../llhttp/constants.js')\nconst EMPTY_BUF = Buffer.alloc(0)\nconst FastBuffer = Buffer[Symbol.species]\nconst addListener = util.addListener\nconst removeAllListeners = util.removeAllListeners\nconst kIdleSocketValidation = Symbol('kIdleSocketValidation')\nconst kIdleSocketValidationTimeout = Symbol('kIdleSocketValidationTimeout')\nconst kSocketUsed = Symbol('kSocketUsed')\n\nlet extractBody\n\nasync function lazyllhttp () {\n const llhttpWasmData = process.env.JEST_WORKER_ID ? require('../llhttp/llhttp-wasm.js') : undefined\n\n let mod\n try {\n mod = await WebAssembly.compile(require('../llhttp/llhttp_simd-wasm.js'))\n } catch (e) {\n /* istanbul ignore next */\n\n // We could check if the error was caused by the simd option not\n // being enabled, but the occurring of this other error\n // * https://github.com/emscripten-core/emscripten/issues/11495\n // got me to remove that check to avoid breaking Node 12.\n mod = await WebAssembly.compile(llhttpWasmData || require('../llhttp/llhttp-wasm.js'))\n }\n\n return await WebAssembly.instantiate(mod, {\n env: {\n /* eslint-disable camelcase */\n\n wasm_on_url: (p, at, len) => {\n /* istanbul ignore next */\n return 0\n },\n wasm_on_status: (p, at, len) => {\n assert(currentParser.ptr === p)\n const start = at - currentBufferPtr + currentBufferRef.byteOffset\n return currentParser.onStatus(new FastBuffer(currentBufferRef.buffer, start, len)) || 0\n },\n wasm_on_message_begin: (p) => {\n assert(currentParser.ptr === p)\n return currentParser.onMessageBegin() || 0\n },\n wasm_on_header_field: (p, at, len) => {\n assert(currentParser.ptr === p)\n const start = at - currentBufferPtr + currentBufferRef.byteOffset\n return currentParser.onHeaderField(new FastBuffer(currentBufferRef.buffer, start, len)) || 0\n },\n wasm_on_header_value: (p, at, len) => {\n assert(currentParser.ptr === p)\n const start = at - currentBufferPtr + currentBufferRef.byteOffset\n return currentParser.onHeaderValue(new FastBuffer(currentBufferRef.buffer, start, len)) || 0\n },\n wasm_on_headers_complete: (p, statusCode, upgrade, shouldKeepAlive) => {\n assert(currentParser.ptr === p)\n return currentParser.onHeadersComplete(statusCode, Boolean(upgrade), Boolean(shouldKeepAlive)) || 0\n },\n wasm_on_body: (p, at, len) => {\n assert(currentParser.ptr === p)\n const start = at - currentBufferPtr + currentBufferRef.byteOffset\n return currentParser.onBody(new FastBuffer(currentBufferRef.buffer, start, len)) || 0\n },\n wasm_on_message_complete: (p) => {\n assert(currentParser.ptr === p)\n return currentParser.onMessageComplete() || 0\n }\n\n /* eslint-enable camelcase */\n }\n })\n}\n\nlet llhttpInstance = null\nlet llhttpPromise = lazyllhttp()\nllhttpPromise.catch()\n\nlet currentParser = null\nlet currentBufferRef = null\nlet currentBufferSize = 0\nlet currentBufferPtr = null\n\nconst USE_NATIVE_TIMER = 0\nconst USE_FAST_TIMER = 1\n\n// Use fast timers for headers and body to take eventual event loop\n// latency into account.\nconst TIMEOUT_HEADERS = 2 | USE_FAST_TIMER\nconst TIMEOUT_BODY = 4 | USE_FAST_TIMER\n\n// Use native timers to ignore event loop latency for keep-alive\n// handling.\nconst TIMEOUT_KEEP_ALIVE = 8 | USE_NATIVE_TIMER\n\nclass Parser {\n constructor (client, socket, { exports }) {\n assert(Number.isFinite(client[kMaxHeadersSize]) && client[kMaxHeadersSize] > 0)\n\n this.llhttp = exports\n this.ptr = this.llhttp.llhttp_alloc(constants.TYPE.RESPONSE)\n this.client = client\n this.socket = socket\n this.timeout = null\n this.timeoutValue = null\n this.timeoutType = null\n this.statusCode = null\n this.statusText = ''\n this.upgrade = false\n this.headers = []\n this.headersSize = 0\n this.headersMaxSize = client[kMaxHeadersSize]\n this.shouldKeepAlive = false\n this.paused = false\n this.resume = this.resume.bind(this)\n\n this.bytesRead = 0\n\n this.keepAlive = ''\n this.contentLength = ''\n this.connection = ''\n this.maxResponseSize = client[kMaxResponseSize]\n }\n\n setTimeout (delay, type) {\n // If the existing timer and the new timer are of different timer type\n // (fast or native) or have different delay, we need to clear the existing\n // timer and set a new one.\n if (\n delay !== this.timeoutValue ||\n (type & USE_FAST_TIMER) ^ (this.timeoutType & USE_FAST_TIMER)\n ) {\n // If a timeout is already set, clear it with clearTimeout of the fast\n // timer implementation, as it can clear fast and native timers.\n if (this.timeout) {\n timers.clearTimeout(this.timeout)\n this.timeout = null\n }\n\n if (delay) {\n if (type & USE_FAST_TIMER) {\n this.timeout = timers.setFastTimeout(onParserTimeout, delay, new WeakRef(this))\n } else {\n this.timeout = setTimeout(onParserTimeout, delay, new WeakRef(this))\n this.timeout.unref()\n }\n }\n\n this.timeoutValue = delay\n } else if (this.timeout) {\n // istanbul ignore else: only for jest\n if (this.timeout.refresh) {\n this.timeout.refresh()\n }\n }\n\n this.timeoutType = type\n }\n\n resume () {\n if (this.socket.destroyed || !this.paused) {\n return\n }\n\n assert(this.ptr != null)\n assert(currentParser == null)\n\n this.llhttp.llhttp_resume(this.ptr)\n\n assert(this.timeoutType === TIMEOUT_BODY)\n if (this.timeout) {\n // istanbul ignore else: only for jest\n if (this.timeout.refresh) {\n this.timeout.refresh()\n }\n }\n\n this.paused = false\n this.execute(this.socket.read() || EMPTY_BUF) // Flush parser.\n this.readMore()\n }\n\n readMore () {\n while (!this.paused && this.ptr) {\n const chunk = this.socket.read()\n if (chunk === null) {\n break\n }\n this.execute(chunk)\n }\n }\n\n execute (data) {\n assert(this.ptr != null)\n assert(currentParser == null)\n assert(!this.paused)\n\n const { socket, llhttp } = this\n\n if (data.length > currentBufferSize) {\n if (currentBufferPtr) {\n llhttp.free(currentBufferPtr)\n }\n currentBufferSize = Math.ceil(data.length / 4096) * 4096\n currentBufferPtr = llhttp.malloc(currentBufferSize)\n }\n\n new Uint8Array(llhttp.memory.buffer, currentBufferPtr, currentBufferSize).set(data)\n\n // Call `execute` on the wasm parser.\n // We pass the `llhttp_parser` pointer address, the pointer address of buffer view data,\n // and finally the length of bytes to parse.\n // The return value is an error code or `constants.ERROR.OK`.\n try {\n let ret\n\n try {\n currentBufferRef = data\n currentParser = this\n ret = llhttp.llhttp_execute(this.ptr, currentBufferPtr, data.length)\n /* eslint-disable-next-line no-useless-catch */\n } catch (err) {\n /* istanbul ignore next: difficult to make a test case for */\n throw err\n } finally {\n currentParser = null\n currentBufferRef = null\n }\n\n const offset = llhttp.llhttp_get_error_pos(this.ptr) - currentBufferPtr\n\n if (ret !== constants.ERROR.OK) {\n const body = data.subarray(offset)\n\n if (ret === constants.ERROR.PAUSED_UPGRADE) {\n this.onUpgrade(body)\n } else if (ret === constants.ERROR.PAUSED) {\n this.paused = true\n socket.unshift(body)\n } else {\n throw this.createError(ret, body)\n }\n }\n } catch (err) {\n util.destroy(socket, err)\n }\n }\n\n finish () {\n assert(currentParser === null)\n assert(this.ptr != null)\n assert(!this.paused)\n\n const { llhttp } = this\n\n let ret\n\n try {\n currentParser = this\n ret = llhttp.llhttp_finish(this.ptr)\n } finally {\n currentParser = null\n }\n\n if (ret === constants.ERROR.OK) {\n return null\n }\n\n if (ret === constants.ERROR.PAUSED || ret === constants.ERROR.PAUSED_UPGRADE) {\n this.paused = true\n return null\n }\n\n return this.createError(ret, EMPTY_BUF)\n }\n\n createError (ret, data) {\n const { llhttp, contentLength, bytesRead } = this\n\n if (contentLength && bytesRead !== parseInt(contentLength, 10)) {\n return new ResponseContentLengthMismatchError()\n }\n\n const ptr = llhttp.llhttp_get_error_reason(this.ptr)\n let message = ''\n if (ptr) {\n const len = new Uint8Array(llhttp.memory.buffer, ptr).indexOf(0)\n message =\n 'Response does not match the HTTP/1.1 protocol (' +\n Buffer.from(llhttp.memory.buffer, ptr, len).toString() +\n ')'\n }\n\n return new HTTPParserError(message, constants.ERROR[ret], data)\n }\n\n destroy () {\n assert(this.ptr != null)\n assert(currentParser == null)\n\n this.llhttp.llhttp_free(this.ptr)\n this.ptr = null\n\n this.timeout && timers.clearTimeout(this.timeout)\n this.timeout = null\n this.timeoutValue = null\n this.timeoutType = null\n\n this.paused = false\n }\n\n onStatus (buf) {\n this.statusText = buf.toString()\n }\n\n onMessageBegin () {\n const { socket, client } = this\n\n /* istanbul ignore next: difficult to make a test case for */\n if (socket.destroyed) {\n return -1\n }\n\n if (client[kRunning] === 0) {\n util.destroy(socket, new SocketError('bad response', util.getSocketInfo(socket)))\n return -1\n }\n\n const request = client[kQueue][client[kRunningIdx]]\n if (!request) {\n return -1\n }\n request.onResponseStarted()\n }\n\n onHeaderField (buf) {\n const len = this.headers.length\n\n if ((len & 1) === 0) {\n this.headers.push(buf)\n } else {\n this.headers[len - 1] = Buffer.concat([this.headers[len - 1], buf])\n }\n\n this.trackHeader(buf.length)\n }\n\n onHeaderValue (buf) {\n let len = this.headers.length\n\n if ((len & 1) === 1) {\n this.headers.push(buf)\n len += 1\n } else {\n this.headers[len - 1] = Buffer.concat([this.headers[len - 1], buf])\n }\n\n const key = this.headers[len - 2]\n if (key.length === 10) {\n const headerName = util.bufferToLowerCasedHeaderName(key)\n if (headerName === 'keep-alive') {\n this.keepAlive += buf.toString()\n } else if (headerName === 'connection') {\n this.connection += buf.toString()\n }\n } else if (key.length === 14 && util.bufferToLowerCasedHeaderName(key) === 'content-length') {\n this.contentLength += buf.toString()\n }\n\n this.trackHeader(buf.length)\n }\n\n trackHeader (len) {\n this.headersSize += len\n if (this.headersSize >= this.headersMaxSize) {\n util.destroy(this.socket, new HeadersOverflowError())\n }\n }\n\n onUpgrade (head) {\n const { upgrade, client, socket, headers, statusCode } = this\n\n assert(upgrade)\n assert(client[kSocket] === socket)\n assert(!socket.destroyed)\n assert(!this.paused)\n assert((headers.length & 1) === 0)\n\n const request = client[kQueue][client[kRunningIdx]]\n assert(request)\n assert(request.upgrade || request.method === 'CONNECT')\n\n this.statusCode = null\n this.statusText = ''\n this.shouldKeepAlive = null\n\n this.headers = []\n this.headersSize = 0\n\n socket.unshift(head)\n\n socket[kParser].destroy()\n socket[kParser] = null\n\n socket[kClient] = null\n socket[kError] = null\n\n removeAllListeners(socket)\n\n client[kSocket] = null\n client[kHTTPContext] = null // TODO (fix): This is hacky...\n client[kQueue][client[kRunningIdx]++] = null\n client.emit('disconnect', client[kUrl], [client], new InformationalError('upgrade'))\n\n try {\n request.onUpgrade(statusCode, headers, socket)\n } catch (err) {\n util.destroy(socket, err)\n }\n\n client[kResume]()\n }\n\n onHeadersComplete (statusCode, upgrade, shouldKeepAlive) {\n const { client, socket, headers, statusText } = this\n\n /* istanbul ignore next: difficult to make a test case for */\n if (socket.destroyed) {\n return -1\n }\n\n if (client[kRunning] === 0) {\n util.destroy(socket, new SocketError('bad response', util.getSocketInfo(socket)))\n return -1\n }\n\n const request = client[kQueue][client[kRunningIdx]]\n\n /* istanbul ignore next: difficult to make a test case for */\n if (!request) {\n return -1\n }\n\n assert(!this.upgrade)\n assert(this.statusCode < 200)\n\n if (statusCode === 100) {\n util.destroy(socket, new SocketError('bad response', util.getSocketInfo(socket)))\n return -1\n }\n\n /* this can only happen if server is misbehaving */\n if (upgrade && !request.upgrade) {\n util.destroy(socket, new SocketError('bad upgrade', util.getSocketInfo(socket)))\n return -1\n }\n\n assert(this.timeoutType === TIMEOUT_HEADERS)\n\n this.statusCode = statusCode\n this.shouldKeepAlive = (\n shouldKeepAlive ||\n // Override llhttp value which does not allow keepAlive for HEAD.\n (request.method === 'HEAD' && !socket[kReset] && this.connection.toLowerCase() === 'keep-alive')\n )\n\n if (this.statusCode >= 200) {\n const bodyTimeout = request.bodyTimeout != null\n ? request.bodyTimeout\n : client[kBodyTimeout]\n this.setTimeout(bodyTimeout, TIMEOUT_BODY)\n } else if (this.timeout) {\n // istanbul ignore else: only for jest\n if (this.timeout.refresh) {\n this.timeout.refresh()\n }\n }\n\n if (request.method === 'CONNECT') {\n assert(client[kRunning] === 1)\n this.upgrade = true\n return 2\n }\n\n if (upgrade) {\n assert(client[kRunning] === 1)\n this.upgrade = true\n return 2\n }\n\n assert((this.headers.length & 1) === 0)\n this.headers = []\n this.headersSize = 0\n\n if (this.shouldKeepAlive && client[kPipelining]) {\n const keepAliveTimeout = this.keepAlive ? util.parseKeepAliveTimeout(this.keepAlive) : null\n\n if (keepAliveTimeout != null) {\n const timeout = Math.min(\n keepAliveTimeout - client[kKeepAliveTimeoutThreshold],\n client[kKeepAliveMaxTimeout]\n )\n if (timeout <= 0) {\n socket[kReset] = true\n } else {\n client[kKeepAliveTimeoutValue] = timeout\n }\n } else {\n client[kKeepAliveTimeoutValue] = client[kKeepAliveDefaultTimeout]\n }\n } else {\n // Stop more requests from being dispatched.\n socket[kReset] = true\n }\n\n const pause = request.onHeaders(statusCode, headers, this.resume, statusText) === false\n\n if (request.aborted) {\n return -1\n }\n\n if (request.method === 'HEAD') {\n return 1\n }\n\n if (statusCode < 200) {\n return 1\n }\n\n if (socket[kBlocking]) {\n socket[kBlocking] = false\n client[kResume]()\n }\n\n return pause ? constants.ERROR.PAUSED : 0\n }\n\n onBody (buf) {\n const { client, socket, statusCode, maxResponseSize } = this\n\n if (socket.destroyed) {\n return -1\n }\n\n const request = client[kQueue][client[kRunningIdx]]\n assert(request)\n\n assert(this.timeoutType === TIMEOUT_BODY)\n if (this.timeout) {\n // istanbul ignore else: only for jest\n if (this.timeout.refresh) {\n this.timeout.refresh()\n }\n }\n\n assert(statusCode >= 200)\n\n if (maxResponseSize > -1 && this.bytesRead + buf.length > maxResponseSize) {\n util.destroy(socket, new ResponseExceededMaxSizeError())\n return -1\n }\n\n this.bytesRead += buf.length\n\n if (request.onData(buf) === false) {\n return constants.ERROR.PAUSED\n }\n }\n\n onMessageComplete () {\n const { client, socket, statusCode, upgrade, headers, contentLength, bytesRead, shouldKeepAlive } = this\n\n if (socket.destroyed && (!statusCode || shouldKeepAlive)) {\n return -1\n }\n\n if (upgrade) {\n return\n }\n\n assert(statusCode >= 100)\n assert((this.headers.length & 1) === 0)\n\n const request = client[kQueue][client[kRunningIdx]]\n assert(request)\n\n this.statusCode = null\n this.statusText = ''\n this.bytesRead = 0\n this.contentLength = ''\n this.keepAlive = ''\n this.connection = ''\n\n this.headers = []\n this.headersSize = 0\n\n if (statusCode < 200) {\n return\n }\n\n /* istanbul ignore next: should be handled by llhttp? */\n if (request.method !== 'HEAD' && contentLength && bytesRead !== parseInt(contentLength, 10)) {\n util.destroy(socket, new ResponseContentLengthMismatchError())\n return -1\n }\n\n request.onComplete(headers)\n\n client[kQueue][client[kRunningIdx]++] = null\n socket[kSocketUsed] = true\n\n if (socket[kWriting]) {\n assert(client[kRunning] === 0)\n // Response completed before request.\n util.destroy(socket, new InformationalError('reset'))\n return constants.ERROR.PAUSED\n } else if (!shouldKeepAlive) {\n util.destroy(socket, new InformationalError('reset'))\n return constants.ERROR.PAUSED\n } else if (socket[kReset] && client[kRunning] === 0) {\n // Destroy socket once all requests have completed.\n // The request at the tail of the pipeline is the one\n // that requested reset and no further requests should\n // have been queued since then.\n util.destroy(socket, new InformationalError('reset'))\n return constants.ERROR.PAUSED\n } else if (client[kPipelining] == null || client[kPipelining] === 1) {\n // We must wait a full event loop cycle to reuse this socket to make sure\n // that non-spec compliant servers are not closing the connection even if they\n // said they won't.\n setImmediate(() => client[kResume]())\n } else {\n client[kResume]()\n }\n }\n}\n\nfunction onParserTimeout (parser) {\n const { socket, timeoutType, client, paused } = parser.deref()\n\n /* istanbul ignore else */\n if (timeoutType === TIMEOUT_HEADERS) {\n if (!socket[kWriting] || socket.writableNeedDrain || client[kRunning] > 1) {\n assert(!paused, 'cannot be paused while waiting for headers')\n util.destroy(socket, new HeadersTimeoutError())\n }\n } else if (timeoutType === TIMEOUT_BODY) {\n if (!paused) {\n util.destroy(socket, new BodyTimeoutError())\n }\n } else if (timeoutType === TIMEOUT_KEEP_ALIVE) {\n assert(client[kRunning] === 0 && client[kKeepAliveTimeoutValue])\n util.destroy(socket, new InformationalError('socket idle timeout'))\n }\n}\n\nasync function connectH1 (client, socket) {\n client[kSocket] = socket\n\n if (!llhttpInstance) {\n llhttpInstance = await llhttpPromise\n llhttpPromise = null\n }\n\n socket[kNoRef] = false\n socket[kWriting] = false\n socket[kReset] = false\n socket[kBlocking] = false\n socket[kIdleSocketValidation] = 0\n socket[kIdleSocketValidationTimeout] = null\n socket[kSocketUsed] = false\n socket[kParser] = new Parser(client, socket, llhttpInstance)\n\n addListener(socket, 'error', function (err) {\n assert(err.code !== 'ERR_TLS_CERT_ALTNAME_INVALID')\n\n const parser = this[kParser]\n\n // On Mac OS, we get an ECONNRESET even if there is a full body to be forwarded\n // to the user.\n if (err.code === 'ECONNRESET' && parser.statusCode && !parser.shouldKeepAlive) {\n const parserErr = parser.finish()\n if (parserErr) {\n this[kError] = parserErr\n this[kClient][kOnError](parserErr)\n }\n return\n }\n\n this[kError] = err\n\n this[kClient][kOnError](err)\n })\n addListener(socket, 'readable', function () {\n const parser = this[kParser]\n\n if (parser) {\n parser.readMore()\n }\n })\n addListener(socket, 'end', function () {\n const parser = this[kParser]\n\n if (parser.statusCode && !parser.shouldKeepAlive) {\n const parserErr = parser.finish()\n if (parserErr) {\n util.destroy(this, parserErr)\n }\n return\n }\n\n util.destroy(this, new SocketError('other side closed', util.getSocketInfo(this)))\n })\n addListener(socket, 'close', function () {\n const client = this[kClient]\n const parser = this[kParser]\n\n clearIdleSocketValidation(this)\n\n if (parser) {\n if (!this[kError] && parser.statusCode && !parser.shouldKeepAlive) {\n this[kError] = parser.finish() || this[kError]\n }\n\n this[kParser].destroy()\n this[kParser] = null\n }\n\n const err = this[kError] || new SocketError('closed', util.getSocketInfo(this))\n\n client[kSocket] = null\n client[kHTTPContext] = null // TODO (fix): This is hacky...\n\n if (client.destroyed) {\n assert(client[kPending] === 0)\n\n // Fail entire queue.\n const requests = client[kQueue].splice(client[kRunningIdx])\n for (let i = 0; i < requests.length; i++) {\n const request = requests[i]\n util.errorRequest(client, request, err)\n }\n } else if (client[kRunning] > 0 && err.code !== 'UND_ERR_INFO') {\n // Fail head of pipeline.\n const request = client[kQueue][client[kRunningIdx]]\n client[kQueue][client[kRunningIdx]++] = null\n\n util.errorRequest(client, request, err)\n }\n\n client[kPendingIdx] = client[kRunningIdx]\n\n assert(client[kRunning] === 0)\n\n client.emit('disconnect', client[kUrl], [client], err)\n\n client[kResume]()\n })\n\n let closed = false\n socket.on('close', () => {\n closed = true\n })\n\n return {\n version: 'h1',\n defaultPipelining: 1,\n write (...args) {\n return writeH1(client, ...args)\n },\n resume () {\n resumeH1(client)\n },\n destroy (err, callback) {\n if (closed) {\n queueMicrotask(callback)\n } else {\n socket.destroy(err).on('close', callback)\n }\n },\n get destroyed () {\n return socket.destroyed\n },\n busy (request) {\n if (socket[kWriting] || socket[kReset] || socket[kBlocking] || socket[kIdleSocketValidation] === 1) {\n return true\n }\n\n if (request) {\n if (client[kRunning] > 0 && !request.idempotent) {\n // Non-idempotent request cannot be retried.\n // Ensure that no other requests are inflight and\n // could cause failure.\n return true\n }\n\n if (client[kRunning] > 0 && (request.upgrade || request.method === 'CONNECT')) {\n // Don't dispatch an upgrade until all preceding requests have completed.\n // A misbehaving server might upgrade the connection before all pipelined\n // request has completed.\n return true\n }\n\n if (client[kRunning] > 0 && util.bodyLength(request.body) !== 0 &&\n (util.isStream(request.body) || util.isAsyncIterable(request.body) || util.isFormDataLike(request.body))) {\n // Request with stream or iterator body can error while other requests\n // are inflight and indirectly error those as well.\n // Ensure this doesn't happen by waiting for inflight\n // to complete before dispatching.\n\n // Request with stream or iterator body cannot be retried.\n // Ensure that no other requests are inflight and\n // could cause failure.\n return true\n }\n }\n\n return false\n }\n }\n}\n\nfunction clearIdleSocketValidation (socket) {\n if (socket[kIdleSocketValidationTimeout]) {\n clearTimeout(socket[kIdleSocketValidationTimeout])\n socket[kIdleSocketValidationTimeout] = null\n }\n\n socket[kIdleSocketValidation] = 0\n}\n\nfunction scheduleIdleSocketValidation (client, socket) {\n socket[kIdleSocketValidation] = 1\n socket[kIdleSocketValidationTimeout] = setTimeout(() => {\n socket[kIdleSocketValidationTimeout] = null\n socket[kIdleSocketValidation] = 2\n\n if (client[kSocket] === socket && !socket.destroyed) {\n client[kResume]()\n }\n }, 0)\n socket[kIdleSocketValidationTimeout].unref?.()\n}\n\n/**\n * @param {import('./client.js')} client\n */\nfunction resumeH1 (client) {\n const socket = client[kSocket]\n\n if (socket && !socket.destroyed) {\n if (client[kSize] === 0) {\n if (!socket[kNoRef] && socket.unref) {\n socket.unref()\n socket[kNoRef] = true\n }\n } else if (socket[kNoRef] && socket.ref) {\n socket.ref()\n socket[kNoRef] = false\n }\n\n if (client[kRunning] === 0 && client[kPending] > 0 && socket[kSocketUsed]) {\n if (socket[kIdleSocketValidation] === 0) {\n scheduleIdleSocketValidation(client, socket)\n socket[kParser].readMore()\n if (socket.destroyed) {\n return\n }\n return\n }\n\n if (socket[kIdleSocketValidation] === 1) {\n socket[kParser].readMore()\n if (socket.destroyed) {\n return\n }\n return\n }\n }\n\n if (client[kRunning] === 0) {\n socket[kParser].readMore()\n if (socket.destroyed) {\n return\n }\n }\n\n if (client[kSize] === 0) {\n if (socket[kParser].timeoutType !== TIMEOUT_KEEP_ALIVE) {\n socket[kParser].setTimeout(client[kKeepAliveTimeoutValue], TIMEOUT_KEEP_ALIVE)\n }\n } else if (client[kRunning] > 0 && socket[kParser].statusCode < 200) {\n if (socket[kParser].timeoutType !== TIMEOUT_HEADERS) {\n const request = client[kQueue][client[kRunningIdx]]\n const headersTimeout = request.headersTimeout != null\n ? request.headersTimeout\n : client[kHeadersTimeout]\n socket[kParser].setTimeout(headersTimeout, TIMEOUT_HEADERS)\n }\n }\n }\n}\n\n// https://www.rfc-editor.org/rfc/rfc7230#section-3.3.2\nfunction shouldSendContentLength (method) {\n return method !== 'GET' && method !== 'HEAD' && method !== 'OPTIONS' && method !== 'TRACE' && method !== 'CONNECT'\n}\n\nfunction writeH1 (client, request) {\n const { method, path, host, upgrade, blocking, reset } = request\n\n let { body, headers, contentLength } = request\n\n // https://tools.ietf.org/html/rfc7231#section-4.3.1\n // https://tools.ietf.org/html/rfc7231#section-4.3.2\n // https://tools.ietf.org/html/rfc7231#section-4.3.5\n\n // Sending a payload body on a request that does not\n // expect it can cause undefined behavior on some\n // servers and corrupt connection state. Do not\n // re-use the connection for further requests.\n\n const expectsPayload = (\n method === 'PUT' ||\n method === 'POST' ||\n method === 'PATCH' ||\n method === 'QUERY' ||\n method === 'PROPFIND' ||\n method === 'PROPPATCH'\n )\n\n if (util.isFormDataLike(body)) {\n if (!extractBody) {\n extractBody = require('../web/fetch/body.js').extractBody\n }\n\n const [bodyStream, contentType] = extractBody(body)\n if (request.contentType == null) {\n headers.push('content-type', contentType)\n }\n body = bodyStream.stream\n contentLength = bodyStream.length\n } else if (util.isBlobLike(body) && request.contentType == null) {\n const contentType = body.type\n if (contentType) {\n const contentTypeValue = `${contentType}`\n if (!util.isValidHeaderValue(contentTypeValue)) {\n util.errorRequest(client, request, new InvalidArgumentError('invalid content-type header'))\n return false\n }\n headers.push('content-type', contentTypeValue)\n }\n }\n\n if (body && typeof body.read === 'function') {\n // Try to read EOF in order to get length.\n body.read(0)\n }\n\n const bodyLength = util.bodyLength(body)\n\n contentLength = bodyLength ?? contentLength\n\n if (contentLength === null) {\n contentLength = request.contentLength\n }\n\n if (contentLength === 0 && !expectsPayload) {\n // https://tools.ietf.org/html/rfc7230#section-3.3.2\n // A user agent SHOULD NOT send a Content-Length header field when\n // the request message does not contain a payload body and the method\n // semantics do not anticipate such a body.\n\n contentLength = null\n }\n\n // https://github.com/nodejs/undici/issues/2046\n // A user agent may send a Content-Length header with 0 value, this should be allowed.\n if (shouldSendContentLength(method) && contentLength > 0 && request.contentLength !== null && request.contentLength !== contentLength) {\n if (client[kStrictContentLength]) {\n util.errorRequest(client, request, new RequestContentLengthMismatchError())\n return false\n }\n\n process.emitWarning(new RequestContentLengthMismatchError())\n }\n\n const socket = client[kSocket]\n clearIdleSocketValidation(socket)\n\n const abort = (err) => {\n if (request.aborted || request.completed) {\n return\n }\n\n util.errorRequest(client, request, err || new RequestAbortedError())\n\n util.destroy(body)\n util.destroy(socket, new InformationalError('aborted'))\n }\n\n try {\n request.onConnect(abort)\n } catch (err) {\n util.errorRequest(client, request, err)\n }\n\n if (request.aborted) {\n return false\n }\n\n if (method === 'HEAD') {\n // https://github.com/mcollina/undici/issues/258\n // Close after a HEAD request to interop with misbehaving servers\n // that may send a body in the response.\n\n socket[kReset] = true\n }\n\n if (upgrade || method === 'CONNECT') {\n // On CONNECT or upgrade, block pipeline from dispatching further\n // requests on this connection.\n\n socket[kReset] = true\n }\n\n if (reset != null) {\n socket[kReset] = reset\n }\n\n if (client[kMaxRequests] && socket[kCounter]++ >= client[kMaxRequests]) {\n socket[kReset] = true\n }\n\n if (blocking) {\n socket[kBlocking] = true\n }\n\n let header = `${method} ${path} HTTP/1.1\\r\\n`\n\n if (typeof host === 'string') {\n header += `host: ${host}\\r\\n`\n } else {\n header += client[kHostHeader]\n }\n\n if (upgrade) {\n header += `connection: upgrade\\r\\nupgrade: ${upgrade}\\r\\n`\n } else if (client[kPipelining] && !socket[kReset]) {\n header += 'connection: keep-alive\\r\\n'\n } else {\n header += 'connection: close\\r\\n'\n }\n\n if (Array.isArray(headers)) {\n for (let n = 0; n < headers.length; n += 2) {\n const key = headers[n + 0]\n const val = headers[n + 1]\n\n if (Array.isArray(val)) {\n for (let i = 0; i < val.length; i++) {\n header += `${key}: ${val[i]}\\r\\n`\n }\n } else {\n header += `${key}: ${val}\\r\\n`\n }\n }\n }\n\n if (channels.sendHeaders.hasSubscribers) {\n channels.sendHeaders.publish({ request, headers: header, socket })\n }\n\n /* istanbul ignore else: assertion */\n if (!body || bodyLength === 0) {\n writeBuffer(abort, null, client, request, socket, contentLength, header, expectsPayload)\n } else if (util.isBuffer(body)) {\n writeBuffer(abort, body, client, request, socket, contentLength, header, expectsPayload)\n } else if (util.isBlobLike(body)) {\n if (typeof body.stream === 'function') {\n writeIterable(abort, body.stream(), client, request, socket, contentLength, header, expectsPayload)\n } else {\n writeBlob(abort, body, client, request, socket, contentLength, header, expectsPayload)\n }\n } else if (util.isStream(body)) {\n writeStream(abort, body, client, request, socket, contentLength, header, expectsPayload)\n } else if (util.isIterable(body)) {\n writeIterable(abort, body, client, request, socket, contentLength, header, expectsPayload)\n } else {\n assert(false)\n }\n\n return true\n}\n\nfunction writeStream (abort, body, client, request, socket, contentLength, header, expectsPayload) {\n assert(contentLength !== 0 || client[kRunning] === 0, 'stream body cannot be pipelined')\n\n let finished = false\n\n const writer = new AsyncWriter({ abort, socket, request, contentLength, client, expectsPayload, header })\n\n const onData = function (chunk) {\n if (finished) {\n return\n }\n\n try {\n if (!writer.write(chunk) && this.pause) {\n this.pause()\n }\n } catch (err) {\n util.destroy(this, err)\n }\n }\n const onDrain = function () {\n if (finished) {\n return\n }\n\n if (body.resume) {\n body.resume()\n }\n }\n const onClose = function () {\n // 'close' might be emitted *before* 'error' for\n // broken streams. Wait a tick to avoid this case.\n queueMicrotask(() => {\n // It's only safe to remove 'error' listener after\n // 'close'.\n body.removeListener('error', onFinished)\n })\n\n if (!finished) {\n const err = new RequestAbortedError()\n queueMicrotask(() => onFinished(err))\n }\n }\n const onFinished = function (err) {\n if (finished) {\n return\n }\n\n finished = true\n\n assert(socket.destroyed || (socket[kWriting] && client[kRunning] <= 1))\n\n socket\n .off('drain', onDrain)\n .off('error', onFinished)\n\n body\n .removeListener('data', onData)\n .removeListener('end', onFinished)\n .removeListener('close', onClose)\n\n if (!err) {\n try {\n writer.end()\n } catch (er) {\n err = er\n }\n }\n\n writer.destroy(err)\n\n if (err && (err.code !== 'UND_ERR_INFO' || err.message !== 'reset')) {\n util.destroy(body, err)\n } else {\n util.destroy(body)\n }\n }\n\n body\n .on('data', onData)\n .on('end', onFinished)\n .on('error', onFinished)\n .on('close', onClose)\n\n if (body.resume) {\n body.resume()\n }\n\n socket\n .on('drain', onDrain)\n .on('error', onFinished)\n\n if (body.errorEmitted ?? body.errored) {\n setImmediate(() => onFinished(body.errored))\n } else if (body.endEmitted ?? body.readableEnded) {\n setImmediate(() => onFinished(null))\n }\n\n if (body.closeEmitted ?? body.closed) {\n setImmediate(onClose)\n }\n}\n\nfunction writeBuffer (abort, body, client, request, socket, contentLength, header, expectsPayload) {\n try {\n if (!body) {\n if (contentLength === 0) {\n socket.write(`${header}content-length: 0\\r\\n\\r\\n`, 'latin1')\n } else {\n assert(contentLength === null, 'no body must not have content length')\n socket.write(`${header}\\r\\n`, 'latin1')\n }\n } else if (util.isBuffer(body)) {\n assert(contentLength === body.byteLength, 'buffer body must have content length')\n\n socket.cork()\n socket.write(`${header}content-length: ${contentLength}\\r\\n\\r\\n`, 'latin1')\n socket.write(body)\n socket.uncork()\n request.onBodySent(body)\n\n if (!expectsPayload && request.reset !== false) {\n socket[kReset] = true\n }\n }\n request.onRequestSent()\n\n client[kResume]()\n } catch (err) {\n abort(err)\n }\n}\n\nasync function writeBlob (abort, body, client, request, socket, contentLength, header, expectsPayload) {\n assert(contentLength === body.size, 'blob body must have content length')\n\n try {\n if (contentLength != null && contentLength !== body.size) {\n throw new RequestContentLengthMismatchError()\n }\n\n const buffer = Buffer.from(await body.arrayBuffer())\n\n socket.cork()\n socket.write(`${header}content-length: ${contentLength}\\r\\n\\r\\n`, 'latin1')\n socket.write(buffer)\n socket.uncork()\n\n request.onBodySent(buffer)\n request.onRequestSent()\n\n if (!expectsPayload && request.reset !== false) {\n socket[kReset] = true\n }\n\n client[kResume]()\n } catch (err) {\n abort(err)\n }\n}\n\nasync function writeIterable (abort, body, client, request, socket, contentLength, header, expectsPayload) {\n assert(contentLength !== 0 || client[kRunning] === 0, 'iterator body cannot be pipelined')\n\n let callback = null\n function onDrain () {\n if (callback) {\n const cb = callback\n callback = null\n cb()\n }\n }\n\n const waitForDrain = () => new Promise((resolve, reject) => {\n assert(callback === null)\n\n if (socket[kError]) {\n reject(socket[kError])\n } else {\n callback = resolve\n }\n })\n\n socket\n .on('close', onDrain)\n .on('drain', onDrain)\n\n const writer = new AsyncWriter({ abort, socket, request, contentLength, client, expectsPayload, header })\n try {\n // It's up to the user to somehow abort the async iterable.\n for await (const chunk of body) {\n if (socket[kError]) {\n throw socket[kError]\n }\n\n if (!writer.write(chunk)) {\n await waitForDrain()\n }\n }\n\n writer.end()\n } catch (err) {\n writer.destroy(err)\n } finally {\n socket\n .off('close', onDrain)\n .off('drain', onDrain)\n }\n}\n\nclass AsyncWriter {\n constructor ({ abort, socket, request, contentLength, client, expectsPayload, header }) {\n this.socket = socket\n this.request = request\n this.contentLength = contentLength\n this.client = client\n this.bytesWritten = 0\n this.expectsPayload = expectsPayload\n this.header = header\n this.abort = abort\n\n socket[kWriting] = true\n }\n\n write (chunk) {\n const { socket, request, contentLength, client, bytesWritten, expectsPayload, header } = this\n\n if (socket[kError]) {\n throw socket[kError]\n }\n\n if (socket.destroyed) {\n return false\n }\n\n const len = Buffer.byteLength(chunk)\n if (!len) {\n return true\n }\n\n // We should defer writing chunks.\n if (contentLength !== null && bytesWritten + len > contentLength) {\n if (client[kStrictContentLength]) {\n throw new RequestContentLengthMismatchError()\n }\n\n process.emitWarning(new RequestContentLengthMismatchError())\n }\n\n socket.cork()\n\n if (bytesWritten === 0) {\n if (!expectsPayload && request.reset !== false) {\n socket[kReset] = true\n }\n\n if (contentLength === null) {\n socket.write(`${header}transfer-encoding: chunked\\r\\n`, 'latin1')\n } else {\n socket.write(`${header}content-length: ${contentLength}\\r\\n\\r\\n`, 'latin1')\n }\n }\n\n if (contentLength === null) {\n socket.write(`\\r\\n${len.toString(16)}\\r\\n`, 'latin1')\n }\n\n this.bytesWritten += len\n\n const ret = socket.write(chunk)\n\n socket.uncork()\n\n request.onBodySent(chunk)\n\n if (!ret) {\n if (socket[kParser].timeout && socket[kParser].timeoutType === TIMEOUT_HEADERS) {\n // istanbul ignore else: only for jest\n if (socket[kParser].timeout.refresh) {\n socket[kParser].timeout.refresh()\n }\n }\n }\n\n return ret\n }\n\n end () {\n const { socket, contentLength, client, bytesWritten, expectsPayload, header, request } = this\n request.onRequestSent()\n\n socket[kWriting] = false\n\n if (socket[kError]) {\n throw socket[kError]\n }\n\n if (socket.destroyed) {\n return\n }\n\n if (bytesWritten === 0) {\n if (expectsPayload) {\n // https://tools.ietf.org/html/rfc7230#section-3.3.2\n // A user agent SHOULD send a Content-Length in a request message when\n // no Transfer-Encoding is sent and the request method defines a meaning\n // for an enclosed payload body.\n\n socket.write(`${header}content-length: 0\\r\\n\\r\\n`, 'latin1')\n } else {\n socket.write(`${header}\\r\\n`, 'latin1')\n }\n } else if (contentLength === null) {\n socket.write('\\r\\n0\\r\\n\\r\\n', 'latin1')\n }\n\n if (contentLength !== null && bytesWritten !== contentLength) {\n if (client[kStrictContentLength]) {\n throw new RequestContentLengthMismatchError()\n } else {\n process.emitWarning(new RequestContentLengthMismatchError())\n }\n }\n\n if (socket[kParser].timeout && socket[kParser].timeoutType === TIMEOUT_HEADERS) {\n // istanbul ignore else: only for jest\n if (socket[kParser].timeout.refresh) {\n socket[kParser].timeout.refresh()\n }\n }\n\n client[kResume]()\n }\n\n destroy (err) {\n const { socket, client, abort } = this\n\n socket[kWriting] = false\n\n if (err) {\n assert(client[kRunning] <= 1, 'pipeline should only contain this request')\n abort(err)\n }\n }\n}\n\nmodule.exports = connectH1\n", "'use strict'\n\nconst assert = require('node:assert')\nconst { pipeline } = require('node:stream')\nconst util = require('../core/util.js')\nconst {\n RequestContentLengthMismatchError,\n RequestAbortedError,\n SocketError,\n InformationalError\n} = require('../core/errors.js')\nconst {\n kUrl,\n kReset,\n kClient,\n kRunning,\n kPending,\n kQueue,\n kPendingIdx,\n kRunningIdx,\n kError,\n kSocket,\n kStrictContentLength,\n kOnError,\n kMaxConcurrentStreams,\n kHTTP2Session,\n kResume,\n kSize,\n kHTTPContext\n} = require('../core/symbols.js')\n\nconst kOpenStreams = Symbol('open streams')\n\nlet extractBody\n\n// Experimental\nlet h2ExperimentalWarned = false\n\n/** @type {import('http2')} */\nlet http2\ntry {\n http2 = require('node:http2')\n} catch {\n // @ts-ignore\n http2 = { constants: {} }\n}\n\nconst {\n constants: {\n HTTP2_HEADER_AUTHORITY,\n HTTP2_HEADER_METHOD,\n HTTP2_HEADER_PATH,\n HTTP2_HEADER_SCHEME,\n HTTP2_HEADER_CONTENT_LENGTH,\n HTTP2_HEADER_EXPECT,\n HTTP2_HEADER_STATUS\n }\n} = http2\n\nfunction parseH2Headers (headers) {\n const result = []\n\n for (const [name, value] of Object.entries(headers)) {\n // h2 may concat the header value by array\n // e.g. Set-Cookie\n if (Array.isArray(value)) {\n for (const subvalue of value) {\n // we need to provide each header value of header name\n // because the headers handler expect name-value pair\n result.push(Buffer.from(name), Buffer.from(subvalue))\n }\n } else {\n result.push(Buffer.from(name), Buffer.from(value))\n }\n }\n\n return result\n}\n\nasync function connectH2 (client, socket) {\n client[kSocket] = socket\n\n if (!h2ExperimentalWarned) {\n h2ExperimentalWarned = true\n process.emitWarning('H2 support is experimental, expect them to change at any time.', {\n code: 'UNDICI-H2'\n })\n }\n\n const session = http2.connect(client[kUrl], {\n createConnection: () => socket,\n peerMaxConcurrentStreams: client[kMaxConcurrentStreams]\n })\n\n session[kOpenStreams] = 0\n session[kClient] = client\n session[kSocket] = socket\n\n util.addListener(session, 'error', onHttp2SessionError)\n util.addListener(session, 'frameError', onHttp2FrameError)\n util.addListener(session, 'end', onHttp2SessionEnd)\n util.addListener(session, 'goaway', onHTTP2GoAway)\n util.addListener(session, 'close', function () {\n const { [kClient]: client } = this\n const { [kSocket]: socket } = client\n\n const err = this[kSocket][kError] || this[kError] || new SocketError('closed', util.getSocketInfo(socket))\n\n client[kHTTP2Session] = null\n\n if (client.destroyed) {\n assert(client[kPending] === 0)\n\n // Fail entire queue.\n const requests = client[kQueue].splice(client[kRunningIdx])\n for (let i = 0; i < requests.length; i++) {\n const request = requests[i]\n util.errorRequest(client, request, err)\n }\n }\n })\n\n session.unref()\n\n client[kHTTP2Session] = session\n socket[kHTTP2Session] = session\n\n util.addListener(socket, 'error', function (err) {\n assert(err.code !== 'ERR_TLS_CERT_ALTNAME_INVALID')\n\n this[kError] = err\n\n this[kClient][kOnError](err)\n })\n\n util.addListener(socket, 'end', function () {\n util.destroy(this, new SocketError('other side closed', util.getSocketInfo(this)))\n })\n\n util.addListener(socket, 'close', function () {\n const err = this[kError] || new SocketError('closed', util.getSocketInfo(this))\n\n client[kSocket] = null\n\n if (this[kHTTP2Session] != null) {\n this[kHTTP2Session].destroy(err)\n }\n\n client[kPendingIdx] = client[kRunningIdx]\n\n assert(client[kRunning] === 0)\n\n client.emit('disconnect', client[kUrl], [client], err)\n\n client[kResume]()\n })\n\n let closed = false\n socket.on('close', () => {\n closed = true\n })\n\n return {\n version: 'h2',\n defaultPipelining: Infinity,\n write (...args) {\n return writeH2(client, ...args)\n },\n resume () {\n resumeH2(client)\n },\n destroy (err, callback) {\n if (closed) {\n queueMicrotask(callback)\n } else {\n // Destroying the socket will trigger the session close\n socket.destroy(err).on('close', callback)\n }\n },\n get destroyed () {\n return socket.destroyed\n },\n busy () {\n return false\n }\n }\n}\n\nfunction resumeH2 (client) {\n const socket = client[kSocket]\n\n if (socket?.destroyed === false) {\n if (client[kSize] === 0 && client[kMaxConcurrentStreams] === 0) {\n socket.unref()\n client[kHTTP2Session].unref()\n } else {\n socket.ref()\n client[kHTTP2Session].ref()\n }\n }\n}\n\nfunction onHttp2SessionError (err) {\n assert(err.code !== 'ERR_TLS_CERT_ALTNAME_INVALID')\n\n this[kSocket][kError] = err\n this[kClient][kOnError](err)\n}\n\nfunction onHttp2FrameError (type, code, id) {\n if (id === 0) {\n const err = new InformationalError(`HTTP/2: \"frameError\" received - type ${type}, code ${code}`)\n this[kSocket][kError] = err\n this[kClient][kOnError](err)\n }\n}\n\nfunction onHttp2SessionEnd () {\n const err = new SocketError('other side closed', util.getSocketInfo(this[kSocket]))\n this.destroy(err)\n util.destroy(this[kSocket], err)\n}\n\n/**\n * This is the root cause of #3011\n * We need to handle GOAWAY frames properly, and trigger the session close\n * along with the socket right away\n */\nfunction onHTTP2GoAway (code) {\n // We cannot recover, so best to close the session and the socket\n const err = this[kError] || new SocketError(`HTTP/2: \"GOAWAY\" frame received with code ${code}`, util.getSocketInfo(this))\n const client = this[kClient]\n\n client[kSocket] = null\n client[kHTTPContext] = null\n\n if (this[kHTTP2Session] != null) {\n this[kHTTP2Session].destroy(err)\n this[kHTTP2Session] = null\n }\n\n util.destroy(this[kSocket], err)\n\n // Fail head of pipeline.\n if (client[kRunningIdx] < client[kQueue].length) {\n const request = client[kQueue][client[kRunningIdx]]\n client[kQueue][client[kRunningIdx]++] = null\n util.errorRequest(client, request, err)\n client[kPendingIdx] = client[kRunningIdx]\n }\n\n assert(client[kRunning] === 0)\n\n client.emit('disconnect', client[kUrl], [client], err)\n\n client[kResume]()\n}\n\n// https://www.rfc-editor.org/rfc/rfc7230#section-3.3.2\nfunction shouldSendContentLength (method) {\n return method !== 'GET' && method !== 'HEAD' && method !== 'OPTIONS' && method !== 'TRACE' && method !== 'CONNECT'\n}\n\nfunction writeH2 (client, request) {\n const session = client[kHTTP2Session]\n const { method, path, host, upgrade, expectContinue, signal, headers: reqHeaders } = request\n let { body } = request\n\n if (upgrade) {\n util.errorRequest(client, request, new Error('Upgrade not supported for H2'))\n return false\n }\n\n const headers = {}\n for (let n = 0; n < reqHeaders.length; n += 2) {\n const key = reqHeaders[n + 0]\n const val = reqHeaders[n + 1]\n\n if (Array.isArray(val)) {\n for (let i = 0; i < val.length; i++) {\n if (headers[key]) {\n headers[key] += `,${val[i]}`\n } else {\n headers[key] = val[i]\n }\n }\n } else {\n headers[key] = val\n }\n }\n\n /** @type {import('node:http2').ClientHttp2Stream} */\n let stream\n\n const { hostname, port } = client[kUrl]\n\n headers[HTTP2_HEADER_AUTHORITY] = host || `${hostname}${port ? `:${port}` : ''}`\n headers[HTTP2_HEADER_METHOD] = method\n\n const abort = (err) => {\n if (request.aborted || request.completed) {\n return\n }\n\n err = err || new RequestAbortedError()\n\n util.errorRequest(client, request, err)\n\n if (stream != null) {\n util.destroy(stream, err)\n }\n\n // We do not destroy the socket as we can continue using the session\n // the stream get's destroyed and the session remains to create new streams\n util.destroy(body, err)\n client[kQueue][client[kRunningIdx]++] = null\n client[kResume]()\n }\n\n try {\n // We are already connected, streams are pending.\n // We can call on connect, and wait for abort\n request.onConnect(abort)\n } catch (err) {\n util.errorRequest(client, request, err)\n }\n\n if (request.aborted) {\n return false\n }\n\n if (method === 'CONNECT') {\n session.ref()\n // We are already connected, streams are pending, first request\n // will create a new stream. We trigger a request to create the stream and wait until\n // `ready` event is triggered\n // We disabled endStream to allow the user to write to the stream\n stream = session.request(headers, { endStream: false, signal })\n\n if (stream.id && !stream.pending) {\n request.onUpgrade(null, null, stream)\n ++session[kOpenStreams]\n client[kQueue][client[kRunningIdx]++] = null\n } else {\n stream.once('ready', () => {\n request.onUpgrade(null, null, stream)\n ++session[kOpenStreams]\n client[kQueue][client[kRunningIdx]++] = null\n })\n }\n\n stream.once('close', () => {\n session[kOpenStreams] -= 1\n if (session[kOpenStreams] === 0) session.unref()\n })\n\n return true\n }\n\n // https://tools.ietf.org/html/rfc7540#section-8.3\n // :path and :scheme headers must be omitted when sending CONNECT\n\n headers[HTTP2_HEADER_PATH] = path\n headers[HTTP2_HEADER_SCHEME] = 'https'\n\n // https://tools.ietf.org/html/rfc7231#section-4.3.1\n // https://tools.ietf.org/html/rfc7231#section-4.3.2\n // https://tools.ietf.org/html/rfc7231#section-4.3.5\n\n // Sending a payload body on a request that does not\n // expect it can cause undefined behavior on some\n // servers and corrupt connection state. Do not\n // re-use the connection for further requests.\n\n const expectsPayload = (\n method === 'PUT' ||\n method === 'POST' ||\n method === 'PATCH'\n )\n\n if (body && typeof body.read === 'function') {\n // Try to read EOF in order to get length.\n body.read(0)\n }\n\n let contentLength = util.bodyLength(body)\n\n if (util.isFormDataLike(body)) {\n extractBody ??= require('../web/fetch/body.js').extractBody\n\n const [bodyStream, contentType] = extractBody(body)\n headers['content-type'] = contentType\n\n body = bodyStream.stream\n contentLength = bodyStream.length\n }\n\n if (contentLength == null) {\n contentLength = request.contentLength\n }\n\n if (contentLength === 0 || !expectsPayload) {\n // https://tools.ietf.org/html/rfc7230#section-3.3.2\n // A user agent SHOULD NOT send a Content-Length header field when\n // the request message does not contain a payload body and the method\n // semantics do not anticipate such a body.\n\n contentLength = null\n }\n\n // https://github.com/nodejs/undici/issues/2046\n // A user agent may send a Content-Length header with 0 value, this should be allowed.\n if (shouldSendContentLength(method) && contentLength > 0 && request.contentLength != null && request.contentLength !== contentLength) {\n if (client[kStrictContentLength]) {\n util.errorRequest(client, request, new RequestContentLengthMismatchError())\n return false\n }\n\n process.emitWarning(new RequestContentLengthMismatchError())\n }\n\n if (contentLength != null) {\n assert(body, 'no body must not have content length')\n headers[HTTP2_HEADER_CONTENT_LENGTH] = `${contentLength}`\n }\n\n session.ref()\n\n const shouldEndStream = method === 'GET' || method === 'HEAD' || body === null\n if (expectContinue) {\n headers[HTTP2_HEADER_EXPECT] = '100-continue'\n stream = session.request(headers, { endStream: shouldEndStream, signal })\n\n stream.once('continue', writeBodyH2)\n } else {\n stream = session.request(headers, {\n endStream: shouldEndStream,\n signal\n })\n writeBodyH2()\n }\n\n // Increment counter as we have new streams open\n ++session[kOpenStreams]\n\n stream.once('response', headers => {\n const { [HTTP2_HEADER_STATUS]: statusCode, ...realHeaders } = headers\n request.onResponseStarted()\n\n // Due to the stream nature, it is possible we face a race condition\n // where the stream has been assigned, but the request has been aborted\n // the request remains in-flight and headers hasn't been received yet\n // for those scenarios, best effort is to destroy the stream immediately\n // as there's no value to keep it open.\n if (request.aborted) {\n const err = new RequestAbortedError()\n util.errorRequest(client, request, err)\n util.destroy(stream, err)\n return\n }\n\n if (request.onHeaders(Number(statusCode), parseH2Headers(realHeaders), stream.resume.bind(stream), '') === false) {\n stream.pause()\n }\n\n stream.on('data', (chunk) => {\n if (request.onData(chunk) === false) {\n stream.pause()\n }\n })\n })\n\n stream.once('end', () => {\n // When state is null, it means we haven't consumed body and the stream still do not have\n // a state.\n // Present specially when using pipeline or stream\n if (stream.state?.state == null || stream.state.state < 6) {\n request.onComplete([])\n }\n\n if (session[kOpenStreams] === 0) {\n // Stream is closed or half-closed-remote (6), decrement counter and cleanup\n // It does not have sense to continue working with the stream as we do not\n // have yet RST_STREAM support on client-side\n\n session.unref()\n }\n\n abort(new InformationalError('HTTP/2: stream half-closed (remote)'))\n client[kQueue][client[kRunningIdx]++] = null\n client[kPendingIdx] = client[kRunningIdx]\n client[kResume]()\n })\n\n stream.once('close', () => {\n session[kOpenStreams] -= 1\n if (session[kOpenStreams] === 0) {\n session.unref()\n }\n })\n\n stream.once('error', function (err) {\n abort(err)\n })\n\n stream.once('frameError', (type, code) => {\n abort(new InformationalError(`HTTP/2: \"frameError\" received - type ${type}, code ${code}`))\n })\n\n // stream.on('aborted', () => {\n // // TODO(HTTP/2): Support aborted\n // })\n\n // stream.on('timeout', () => {\n // // TODO(HTTP/2): Support timeout\n // })\n\n // stream.on('push', headers => {\n // // TODO(HTTP/2): Support push\n // })\n\n // stream.on('trailers', headers => {\n // // TODO(HTTP/2): Support trailers\n // })\n\n return true\n\n function writeBodyH2 () {\n /* istanbul ignore else: assertion */\n if (!body || contentLength === 0) {\n writeBuffer(\n abort,\n stream,\n null,\n client,\n request,\n client[kSocket],\n contentLength,\n expectsPayload\n )\n } else if (util.isBuffer(body)) {\n writeBuffer(\n abort,\n stream,\n body,\n client,\n request,\n client[kSocket],\n contentLength,\n expectsPayload\n )\n } else if (util.isBlobLike(body)) {\n if (typeof body.stream === 'function') {\n writeIterable(\n abort,\n stream,\n body.stream(),\n client,\n request,\n client[kSocket],\n contentLength,\n expectsPayload\n )\n } else {\n writeBlob(\n abort,\n stream,\n body,\n client,\n request,\n client[kSocket],\n contentLength,\n expectsPayload\n )\n }\n } else if (util.isStream(body)) {\n writeStream(\n abort,\n client[kSocket],\n expectsPayload,\n stream,\n body,\n client,\n request,\n contentLength\n )\n } else if (util.isIterable(body)) {\n writeIterable(\n abort,\n stream,\n body,\n client,\n request,\n client[kSocket],\n contentLength,\n expectsPayload\n )\n } else {\n assert(false)\n }\n }\n}\n\nfunction writeBuffer (abort, h2stream, body, client, request, socket, contentLength, expectsPayload) {\n try {\n if (body != null && util.isBuffer(body)) {\n assert(contentLength === body.byteLength, 'buffer body must have content length')\n h2stream.cork()\n h2stream.write(body)\n h2stream.uncork()\n h2stream.end()\n\n request.onBodySent(body)\n }\n\n if (!expectsPayload) {\n socket[kReset] = true\n }\n\n request.onRequestSent()\n client[kResume]()\n } catch (error) {\n abort(error)\n }\n}\n\nfunction writeStream (abort, socket, expectsPayload, h2stream, body, client, request, contentLength) {\n assert(contentLength !== 0 || client[kRunning] === 0, 'stream body cannot be pipelined')\n\n // For HTTP/2, is enough to pipe the stream\n const pipe = pipeline(\n body,\n h2stream,\n (err) => {\n if (err) {\n util.destroy(pipe, err)\n abort(err)\n } else {\n util.removeAllListeners(pipe)\n request.onRequestSent()\n\n if (!expectsPayload) {\n socket[kReset] = true\n }\n\n client[kResume]()\n }\n }\n )\n\n util.addListener(pipe, 'data', onPipeData)\n\n function onPipeData (chunk) {\n request.onBodySent(chunk)\n }\n}\n\nasync function writeBlob (abort, h2stream, body, client, request, socket, contentLength, expectsPayload) {\n assert(contentLength === body.size, 'blob body must have content length')\n\n try {\n if (contentLength != null && contentLength !== body.size) {\n throw new RequestContentLengthMismatchError()\n }\n\n const buffer = Buffer.from(await body.arrayBuffer())\n\n h2stream.cork()\n h2stream.write(buffer)\n h2stream.uncork()\n h2stream.end()\n\n request.onBodySent(buffer)\n request.onRequestSent()\n\n if (!expectsPayload) {\n socket[kReset] = true\n }\n\n client[kResume]()\n } catch (err) {\n abort(err)\n }\n}\n\nasync function writeIterable (abort, h2stream, body, client, request, socket, contentLength, expectsPayload) {\n assert(contentLength !== 0 || client[kRunning] === 0, 'iterator body cannot be pipelined')\n\n let callback = null\n function onDrain () {\n if (callback) {\n const cb = callback\n callback = null\n cb()\n }\n }\n\n const waitForDrain = () => new Promise((resolve, reject) => {\n assert(callback === null)\n\n if (socket[kError]) {\n reject(socket[kError])\n } else {\n callback = resolve\n }\n })\n\n h2stream\n .on('close', onDrain)\n .on('drain', onDrain)\n\n try {\n // It's up to the user to somehow abort the async iterable.\n for await (const chunk of body) {\n if (socket[kError]) {\n throw socket[kError]\n }\n\n const res = h2stream.write(chunk)\n request.onBodySent(chunk)\n if (!res) {\n await waitForDrain()\n }\n }\n\n h2stream.end()\n\n request.onRequestSent()\n\n if (!expectsPayload) {\n socket[kReset] = true\n }\n\n client[kResume]()\n } catch (err) {\n abort(err)\n } finally {\n h2stream\n .off('close', onDrain)\n .off('drain', onDrain)\n }\n}\n\nmodule.exports = connectH2\n", "'use strict'\n\nconst util = require('../core/util')\nconst { kBodyUsed } = require('../core/symbols')\nconst assert = require('node:assert')\nconst { InvalidArgumentError } = require('../core/errors')\nconst EE = require('node:events')\n\nconst redirectableStatusCodes = [300, 301, 302, 303, 307, 308]\n\nconst kBody = Symbol('body')\n\nclass BodyAsyncIterable {\n constructor (body) {\n this[kBody] = body\n this[kBodyUsed] = false\n }\n\n async * [Symbol.asyncIterator] () {\n assert(!this[kBodyUsed], 'disturbed')\n this[kBodyUsed] = true\n yield * this[kBody]\n }\n}\n\nclass RedirectHandler {\n constructor (dispatch, maxRedirections, opts, handler) {\n if (maxRedirections != null && (!Number.isInteger(maxRedirections) || maxRedirections < 0)) {\n throw new InvalidArgumentError('maxRedirections must be a positive number')\n }\n\n util.validateHandler(handler, opts.method, opts.upgrade)\n\n this.dispatch = dispatch\n this.location = null\n this.abort = null\n this.opts = { ...opts, maxRedirections: 0 } // opts must be a copy\n this.maxRedirections = maxRedirections\n this.handler = handler\n this.history = []\n this.redirectionLimitReached = false\n\n if (util.isStream(this.opts.body)) {\n // TODO (fix): Provide some way for the user to cache the file to e.g. /tmp\n // so that it can be dispatched again?\n // TODO (fix): Do we need 100-expect support to provide a way to do this properly?\n if (util.bodyLength(this.opts.body) === 0) {\n this.opts.body\n .on('data', function () {\n assert(false)\n })\n }\n\n if (typeof this.opts.body.readableDidRead !== 'boolean') {\n this.opts.body[kBodyUsed] = false\n EE.prototype.on.call(this.opts.body, 'data', function () {\n this[kBodyUsed] = true\n })\n }\n } else if (this.opts.body && typeof this.opts.body.pipeTo === 'function') {\n // TODO (fix): We can't access ReadableStream internal state\n // to determine whether or not it has been disturbed. This is just\n // a workaround.\n this.opts.body = new BodyAsyncIterable(this.opts.body)\n } else if (\n this.opts.body &&\n typeof this.opts.body !== 'string' &&\n !ArrayBuffer.isView(this.opts.body) &&\n util.isIterable(this.opts.body)\n ) {\n // TODO: Should we allow re-using iterable if !this.opts.idempotent\n // or through some other flag?\n this.opts.body = new BodyAsyncIterable(this.opts.body)\n }\n }\n\n onConnect (abort) {\n this.abort = abort\n this.handler.onConnect(abort, { history: this.history })\n }\n\n onUpgrade (statusCode, headers, socket) {\n this.handler.onUpgrade(statusCode, headers, socket)\n }\n\n onError (error) {\n this.handler.onError(error)\n }\n\n onHeaders (statusCode, headers, resume, statusText) {\n this.location = this.history.length >= this.maxRedirections || util.isDisturbed(this.opts.body)\n ? null\n : parseLocation(statusCode, headers)\n\n if (this.opts.throwOnMaxRedirect && this.history.length >= this.maxRedirections) {\n if (this.request) {\n this.request.abort(new Error('max redirects'))\n }\n\n this.redirectionLimitReached = true\n this.abort(new Error('max redirects'))\n return\n }\n\n if (this.opts.origin) {\n this.history.push(new URL(this.opts.path, this.opts.origin))\n }\n\n if (!this.location) {\n return this.handler.onHeaders(statusCode, headers, resume, statusText)\n }\n\n const { origin, pathname, search } = util.parseURL(new URL(this.location, this.opts.origin && new URL(this.opts.path, this.opts.origin)))\n const path = search ? `${pathname}${search}` : pathname\n\n // Remove headers referring to the original URL.\n // By default it is Host only, unless it's a 303 (see below), which removes also all Content-* headers.\n // https://tools.ietf.org/html/rfc7231#section-6.4\n this.opts.headers = cleanRequestHeaders(this.opts.headers, statusCode === 303, this.opts.origin !== origin)\n this.opts.path = path\n this.opts.origin = origin\n this.opts.maxRedirections = 0\n this.opts.query = null\n\n // https://tools.ietf.org/html/rfc7231#section-6.4.4\n // In case of HTTP 303, always replace method to be either HEAD or GET\n if (statusCode === 303 && this.opts.method !== 'HEAD') {\n this.opts.method = 'GET'\n this.opts.body = null\n }\n }\n\n onData (chunk) {\n if (this.location) {\n /*\n https://tools.ietf.org/html/rfc7231#section-6.4\n\n TLDR: undici always ignores 3xx response bodies.\n\n Redirection is used to serve the requested resource from another URL, so it is assumes that\n no body is generated (and thus can be ignored). Even though generating a body is not prohibited.\n\n For status 301, 302, 303, 307 and 308 (the latter from RFC 7238), the specs mention that the body usually\n (which means it's optional and not mandated) contain just an hyperlink to the value of\n the Location response header, so the body can be ignored safely.\n\n For status 300, which is \"Multiple Choices\", the spec mentions both generating a Location\n response header AND a response body with the other possible location to follow.\n Since the spec explicitly chooses not to specify a format for such body and leave it to\n servers and browsers implementors, we ignore the body as there is no specified way to eventually parse it.\n */\n } else {\n return this.handler.onData(chunk)\n }\n }\n\n onComplete (trailers) {\n if (this.location) {\n /*\n https://tools.ietf.org/html/rfc7231#section-6.4\n\n TLDR: undici always ignores 3xx response trailers as they are not expected in case of redirections\n and neither are useful if present.\n\n See comment on onData method above for more detailed information.\n */\n\n this.location = null\n this.abort = null\n\n this.dispatch(this.opts, this)\n } else {\n this.handler.onComplete(trailers)\n }\n }\n\n onBodySent (chunk) {\n if (this.handler.onBodySent) {\n this.handler.onBodySent(chunk)\n }\n }\n}\n\nfunction parseLocation (statusCode, headers) {\n if (redirectableStatusCodes.indexOf(statusCode) === -1) {\n return null\n }\n\n for (let i = 0; i < headers.length; i += 2) {\n if (headers[i].length === 8 && util.headerNameToString(headers[i]) === 'location') {\n return headers[i + 1]\n }\n }\n}\n\n// https://tools.ietf.org/html/rfc7231#section-6.4.4\nfunction shouldRemoveHeader (header, removeContent, unknownOrigin) {\n if (header.length === 4) {\n return util.headerNameToString(header) === 'host'\n }\n if (removeContent && util.headerNameToString(header).startsWith('content-')) {\n return true\n }\n if (unknownOrigin && (header.length === 13 || header.length === 6 || header.length === 19)) {\n const name = util.headerNameToString(header)\n return name === 'authorization' || name === 'cookie' || name === 'proxy-authorization'\n }\n return false\n}\n\n// https://tools.ietf.org/html/rfc7231#section-6.4\nfunction cleanRequestHeaders (headers, removeContent, unknownOrigin) {\n const ret = []\n if (Array.isArray(headers)) {\n for (let i = 0; i < headers.length; i += 2) {\n if (!shouldRemoveHeader(headers[i], removeContent, unknownOrigin)) {\n ret.push(headers[i], headers[i + 1])\n }\n }\n } else if (headers && typeof headers === 'object') {\n for (const key of Object.keys(headers)) {\n if (!shouldRemoveHeader(key, removeContent, unknownOrigin)) {\n ret.push(key, headers[key])\n }\n }\n } else {\n assert(headers == null, 'headers must be an object or an array')\n }\n return ret\n}\n\nmodule.exports = RedirectHandler\n", "'use strict'\n\nconst RedirectHandler = require('../handler/redirect-handler')\n\nfunction createRedirectInterceptor ({ maxRedirections: defaultMaxRedirections }) {\n return (dispatch) => {\n return function Intercept (opts, handler) {\n const { maxRedirections = defaultMaxRedirections } = opts\n\n if (!maxRedirections) {\n return dispatch(opts, handler)\n }\n\n const redirectHandler = new RedirectHandler(dispatch, maxRedirections, opts, handler)\n opts = { ...opts, maxRedirections: 0 } // Stop sub dispatcher from also redirecting.\n return dispatch(opts, redirectHandler)\n }\n }\n}\n\nmodule.exports = createRedirectInterceptor\n", "// @ts-check\n\n'use strict'\n\nconst assert = require('node:assert')\nconst net = require('node:net')\nconst http = require('node:http')\nconst util = require('../core/util.js')\nconst { channels } = require('../core/diagnostics.js')\nconst Request = require('../core/request.js')\nconst DispatcherBase = require('./dispatcher-base')\nconst {\n InvalidArgumentError,\n InformationalError,\n ClientDestroyedError\n} = require('../core/errors.js')\nconst buildConnector = require('../core/connect.js')\nconst {\n kUrl,\n kServerName,\n kClient,\n kBusy,\n kConnect,\n kResuming,\n kRunning,\n kPending,\n kSize,\n kQueue,\n kConnected,\n kConnecting,\n kNeedDrain,\n kKeepAliveDefaultTimeout,\n kHostHeader,\n kPendingIdx,\n kRunningIdx,\n kError,\n kPipelining,\n kKeepAliveTimeoutValue,\n kMaxHeadersSize,\n kKeepAliveMaxTimeout,\n kKeepAliveTimeoutThreshold,\n kHeadersTimeout,\n kBodyTimeout,\n kStrictContentLength,\n kConnector,\n kMaxRedirections,\n kMaxRequests,\n kCounter,\n kClose,\n kDestroy,\n kDispatch,\n kInterceptors,\n kLocalAddress,\n kMaxResponseSize,\n kOnError,\n kHTTPContext,\n kMaxConcurrentStreams,\n kResume\n} = require('../core/symbols.js')\nconst connectH1 = require('./client-h1.js')\nconst connectH2 = require('./client-h2.js')\nlet deprecatedInterceptorWarned = false\n\nconst kClosedResolve = Symbol('kClosedResolve')\n\nconst noop = () => {}\n\nfunction getPipelining (client) {\n return client[kPipelining] ?? client[kHTTPContext]?.defaultPipelining ?? 1\n}\n\n/**\n * @type {import('../../types/client.js').default}\n */\nclass Client extends DispatcherBase {\n /**\n *\n * @param {string|URL} url\n * @param {import('../../types/client.js').Client.Options} options\n */\n constructor (url, {\n interceptors,\n maxHeaderSize,\n headersTimeout,\n socketTimeout,\n requestTimeout,\n connectTimeout,\n bodyTimeout,\n idleTimeout,\n keepAlive,\n keepAliveTimeout,\n maxKeepAliveTimeout,\n keepAliveMaxTimeout,\n keepAliveTimeoutThreshold,\n socketPath,\n pipelining,\n tls,\n strictContentLength,\n maxCachedSessions,\n maxRedirections,\n connect,\n maxRequestsPerClient,\n localAddress,\n maxResponseSize,\n autoSelectFamily,\n autoSelectFamilyAttemptTimeout,\n // h2\n maxConcurrentStreams,\n allowH2,\n webSocket\n } = {}) {\n super({ webSocket })\n\n if (keepAlive !== undefined) {\n throw new InvalidArgumentError('unsupported keepAlive, use pipelining=0 instead')\n }\n\n if (socketTimeout !== undefined) {\n throw new InvalidArgumentError('unsupported socketTimeout, use headersTimeout & bodyTimeout instead')\n }\n\n if (requestTimeout !== undefined) {\n throw new InvalidArgumentError('unsupported requestTimeout, use headersTimeout & bodyTimeout instead')\n }\n\n if (idleTimeout !== undefined) {\n throw new InvalidArgumentError('unsupported idleTimeout, use keepAliveTimeout instead')\n }\n\n if (maxKeepAliveTimeout !== undefined) {\n throw new InvalidArgumentError('unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead')\n }\n\n if (maxHeaderSize != null && !Number.isFinite(maxHeaderSize)) {\n throw new InvalidArgumentError('invalid maxHeaderSize')\n }\n\n if (socketPath != null && typeof socketPath !== 'string') {\n throw new InvalidArgumentError('invalid socketPath')\n }\n\n if (connectTimeout != null && (!Number.isFinite(connectTimeout) || connectTimeout < 0)) {\n throw new InvalidArgumentError('invalid connectTimeout')\n }\n\n if (keepAliveTimeout != null && (!Number.isFinite(keepAliveTimeout) || keepAliveTimeout <= 0)) {\n throw new InvalidArgumentError('invalid keepAliveTimeout')\n }\n\n if (keepAliveMaxTimeout != null && (!Number.isFinite(keepAliveMaxTimeout) || keepAliveMaxTimeout <= 0)) {\n throw new InvalidArgumentError('invalid keepAliveMaxTimeout')\n }\n\n if (keepAliveTimeoutThreshold != null && !Number.isFinite(keepAliveTimeoutThreshold)) {\n throw new InvalidArgumentError('invalid keepAliveTimeoutThreshold')\n }\n\n if (headersTimeout != null && (!Number.isInteger(headersTimeout) || headersTimeout < 0)) {\n throw new InvalidArgumentError('headersTimeout must be a positive integer or zero')\n }\n\n if (bodyTimeout != null && (!Number.isInteger(bodyTimeout) || bodyTimeout < 0)) {\n throw new InvalidArgumentError('bodyTimeout must be a positive integer or zero')\n }\n\n if (connect != null && typeof connect !== 'function' && typeof connect !== 'object') {\n throw new InvalidArgumentError('connect must be a function or an object')\n }\n\n if (maxRedirections != null && (!Number.isInteger(maxRedirections) || maxRedirections < 0)) {\n throw new InvalidArgumentError('maxRedirections must be a positive number')\n }\n\n if (maxRequestsPerClient != null && (!Number.isInteger(maxRequestsPerClient) || maxRequestsPerClient < 0)) {\n throw new InvalidArgumentError('maxRequestsPerClient must be a positive number')\n }\n\n if (localAddress != null && (typeof localAddress !== 'string' || net.isIP(localAddress) === 0)) {\n throw new InvalidArgumentError('localAddress must be valid string IP address')\n }\n\n if (maxResponseSize != null && (!Number.isInteger(maxResponseSize) || maxResponseSize < -1)) {\n throw new InvalidArgumentError('maxResponseSize must be a positive number')\n }\n\n if (\n autoSelectFamilyAttemptTimeout != null &&\n (!Number.isInteger(autoSelectFamilyAttemptTimeout) || autoSelectFamilyAttemptTimeout < -1)\n ) {\n throw new InvalidArgumentError('autoSelectFamilyAttemptTimeout must be a positive number')\n }\n\n // h2\n if (allowH2 != null && typeof allowH2 !== 'boolean') {\n throw new InvalidArgumentError('allowH2 must be a valid boolean value')\n }\n\n if (maxConcurrentStreams != null && (typeof maxConcurrentStreams !== 'number' || maxConcurrentStreams < 1)) {\n throw new InvalidArgumentError('maxConcurrentStreams must be a positive integer, greater than 0')\n }\n\n if (typeof connect !== 'function') {\n connect = buildConnector({\n ...tls,\n maxCachedSessions,\n allowH2,\n socketPath,\n timeout: connectTimeout,\n ...(autoSelectFamily ? { autoSelectFamily, autoSelectFamilyAttemptTimeout } : undefined),\n ...connect\n })\n }\n\n if (interceptors?.Client && Array.isArray(interceptors.Client)) {\n this[kInterceptors] = interceptors.Client\n if (!deprecatedInterceptorWarned) {\n deprecatedInterceptorWarned = true\n process.emitWarning('Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.', {\n code: 'UNDICI-CLIENT-INTERCEPTOR-DEPRECATED'\n })\n }\n } else {\n this[kInterceptors] = [createRedirectInterceptor({ maxRedirections })]\n }\n\n this[kUrl] = util.parseOrigin(url)\n this[kConnector] = connect\n this[kPipelining] = pipelining != null ? pipelining : 1\n this[kMaxHeadersSize] = maxHeaderSize || http.maxHeaderSize\n this[kKeepAliveDefaultTimeout] = keepAliveTimeout == null ? 4e3 : keepAliveTimeout\n this[kKeepAliveMaxTimeout] = keepAliveMaxTimeout == null ? 600e3 : keepAliveMaxTimeout\n this[kKeepAliveTimeoutThreshold] = keepAliveTimeoutThreshold == null ? 2e3 : keepAliveTimeoutThreshold\n this[kKeepAliveTimeoutValue] = this[kKeepAliveDefaultTimeout]\n this[kServerName] = null\n this[kLocalAddress] = localAddress != null ? localAddress : null\n this[kResuming] = 0 // 0, idle, 1, scheduled, 2 resuming\n this[kNeedDrain] = 0 // 0, idle, 1, scheduled, 2 resuming\n this[kHostHeader] = `host: ${this[kUrl].hostname}${this[kUrl].port ? `:${this[kUrl].port}` : ''}\\r\\n`\n this[kBodyTimeout] = bodyTimeout != null ? bodyTimeout : 300e3\n this[kHeadersTimeout] = headersTimeout != null ? headersTimeout : 300e3\n this[kStrictContentLength] = strictContentLength == null ? true : strictContentLength\n this[kMaxRedirections] = maxRedirections\n this[kMaxRequests] = maxRequestsPerClient\n this[kClosedResolve] = null\n this[kMaxResponseSize] = maxResponseSize > -1 ? maxResponseSize : -1\n this[kMaxConcurrentStreams] = maxConcurrentStreams != null ? maxConcurrentStreams : 100 // Max peerConcurrentStreams for a Node h2 server\n this[kHTTPContext] = null\n\n // kQueue is built up of 3 sections separated by\n // the kRunningIdx and kPendingIdx indices.\n // | complete | running | pending |\n // ^ kRunningIdx ^ kPendingIdx ^ kQueue.length\n // kRunningIdx points to the first running element.\n // kPendingIdx points to the first pending element.\n // This implements a fast queue with an amortized\n // time of O(1).\n\n this[kQueue] = []\n this[kRunningIdx] = 0\n this[kPendingIdx] = 0\n\n this[kResume] = (sync) => resume(this, sync)\n this[kOnError] = (err) => onError(this, err)\n }\n\n get pipelining () {\n return this[kPipelining]\n }\n\n set pipelining (value) {\n this[kPipelining] = value\n this[kResume](true)\n }\n\n get [kPending] () {\n return this[kQueue].length - this[kPendingIdx]\n }\n\n get [kRunning] () {\n return this[kPendingIdx] - this[kRunningIdx]\n }\n\n get [kSize] () {\n return this[kQueue].length - this[kRunningIdx]\n }\n\n get [kConnected] () {\n return !!this[kHTTPContext] && !this[kConnecting] && !this[kHTTPContext].destroyed\n }\n\n get [kBusy] () {\n return Boolean(\n this[kHTTPContext]?.busy(null) ||\n (this[kSize] >= (getPipelining(this) || 1)) ||\n this[kPending] > 0\n )\n }\n\n /* istanbul ignore: only used for test */\n [kConnect] (cb) {\n connect(this)\n this.once('connect', cb)\n }\n\n [kDispatch] (opts, handler) {\n const origin = opts.origin || this[kUrl].origin\n const request = new Request(origin, opts, handler)\n\n this[kQueue].push(request)\n if (this[kResuming]) {\n // Do nothing.\n } else if (util.bodyLength(request.body) == null && util.isIterable(request.body)) {\n // Wait a tick in case stream/iterator is ended in the same tick.\n this[kResuming] = 1\n queueMicrotask(() => resume(this))\n } else {\n this[kResume](true)\n }\n\n if (this[kResuming] && this[kNeedDrain] !== 2 && this[kBusy]) {\n this[kNeedDrain] = 2\n }\n\n return this[kNeedDrain] < 2\n }\n\n async [kClose] () {\n // TODO: for H2 we need to gracefully flush the remaining enqueued\n // request and close each stream.\n return new Promise((resolve) => {\n if (this[kSize]) {\n this[kClosedResolve] = resolve\n } else {\n resolve(null)\n }\n })\n }\n\n async [kDestroy] (err) {\n return new Promise((resolve) => {\n const requests = this[kQueue].splice(this[kPendingIdx])\n for (let i = 0; i < requests.length; i++) {\n const request = requests[i]\n util.errorRequest(this, request, err)\n }\n\n const callback = () => {\n if (this[kClosedResolve]) {\n // TODO (fix): Should we error here with ClientDestroyedError?\n this[kClosedResolve]()\n this[kClosedResolve] = null\n }\n resolve(null)\n }\n\n if (this[kHTTPContext]) {\n this[kHTTPContext].destroy(err, callback)\n this[kHTTPContext] = null\n } else {\n queueMicrotask(callback)\n }\n\n this[kResume]()\n })\n }\n}\n\nconst createRedirectInterceptor = require('../interceptor/redirect-interceptor.js')\n\nfunction onError (client, err) {\n if (\n client[kRunning] === 0 &&\n err.code !== 'UND_ERR_INFO' &&\n err.code !== 'UND_ERR_SOCKET'\n ) {\n // Error is not caused by running request and not a recoverable\n // socket error.\n\n assert(client[kPendingIdx] === client[kRunningIdx])\n\n const requests = client[kQueue].splice(client[kRunningIdx])\n\n for (let i = 0; i < requests.length; i++) {\n const request = requests[i]\n util.errorRequest(client, request, err)\n }\n assert(client[kSize] === 0)\n }\n}\n\n/**\n * @param {Client} client\n * @returns\n */\nasync function connect (client) {\n assert(!client[kConnecting])\n assert(!client[kHTTPContext])\n\n let { host, hostname, protocol, port } = client[kUrl]\n\n // Resolve ipv6\n if (hostname[0] === '[') {\n const idx = hostname.indexOf(']')\n\n assert(idx !== -1)\n const ip = hostname.substring(1, idx)\n\n assert(net.isIP(ip))\n hostname = ip\n }\n\n client[kConnecting] = true\n\n if (channels.beforeConnect.hasSubscribers) {\n channels.beforeConnect.publish({\n connectParams: {\n host,\n hostname,\n protocol,\n port,\n version: client[kHTTPContext]?.version,\n servername: client[kServerName],\n localAddress: client[kLocalAddress]\n },\n connector: client[kConnector]\n })\n }\n\n try {\n const socket = await new Promise((resolve, reject) => {\n client[kConnector]({\n host,\n hostname,\n protocol,\n port,\n servername: client[kServerName],\n localAddress: client[kLocalAddress]\n }, (err, socket) => {\n if (err) {\n reject(err)\n } else {\n resolve(socket)\n }\n })\n })\n\n if (client.destroyed) {\n util.destroy(socket.on('error', noop), new ClientDestroyedError())\n return\n }\n\n assert(socket)\n\n try {\n client[kHTTPContext] = socket.alpnProtocol === 'h2'\n ? await connectH2(client, socket)\n : await connectH1(client, socket)\n } catch (err) {\n socket.destroy().on('error', noop)\n throw err\n }\n\n client[kConnecting] = false\n\n socket[kCounter] = 0\n socket[kMaxRequests] = client[kMaxRequests]\n socket[kClient] = client\n socket[kError] = null\n\n if (channels.connected.hasSubscribers) {\n channels.connected.publish({\n connectParams: {\n host,\n hostname,\n protocol,\n port,\n version: client[kHTTPContext]?.version,\n servername: client[kServerName],\n localAddress: client[kLocalAddress]\n },\n connector: client[kConnector],\n socket\n })\n }\n client.emit('connect', client[kUrl], [client])\n } catch (err) {\n if (client.destroyed) {\n return\n }\n\n client[kConnecting] = false\n\n if (channels.connectError.hasSubscribers) {\n channels.connectError.publish({\n connectParams: {\n host,\n hostname,\n protocol,\n port,\n version: client[kHTTPContext]?.version,\n servername: client[kServerName],\n localAddress: client[kLocalAddress]\n },\n connector: client[kConnector],\n error: err\n })\n }\n\n if (err.code === 'ERR_TLS_CERT_ALTNAME_INVALID') {\n assert(client[kRunning] === 0)\n while (client[kPending] > 0 && client[kQueue][client[kPendingIdx]].servername === client[kServerName]) {\n const request = client[kQueue][client[kPendingIdx]++]\n util.errorRequest(client, request, err)\n }\n } else {\n onError(client, err)\n }\n\n client.emit('connectionError', client[kUrl], [client], err)\n }\n\n client[kResume]()\n}\n\nfunction emitDrain (client) {\n client[kNeedDrain] = 0\n client.emit('drain', client[kUrl], [client])\n}\n\nfunction resume (client, sync) {\n if (client[kResuming] === 2) {\n return\n }\n\n client[kResuming] = 2\n\n _resume(client, sync)\n client[kResuming] = 0\n\n if (client[kRunningIdx] > 256) {\n client[kQueue].splice(0, client[kRunningIdx])\n client[kPendingIdx] -= client[kRunningIdx]\n client[kRunningIdx] = 0\n }\n}\n\nfunction _resume (client, sync) {\n while (true) {\n if (client.destroyed) {\n assert(client[kPending] === 0)\n return\n }\n\n if (client[kClosedResolve] && !client[kSize]) {\n client[kClosedResolve]()\n client[kClosedResolve] = null\n return\n }\n\n if (client[kHTTPContext]) {\n client[kHTTPContext].resume()\n }\n\n if (client[kBusy]) {\n client[kNeedDrain] = 2\n } else if (client[kNeedDrain] === 2) {\n if (sync) {\n client[kNeedDrain] = 1\n queueMicrotask(() => emitDrain(client))\n } else {\n emitDrain(client)\n }\n continue\n }\n\n if (client[kPending] === 0) {\n return\n }\n\n if (client[kRunning] >= (getPipelining(client) || 1)) {\n return\n }\n\n const request = client[kQueue][client[kPendingIdx]]\n\n if (client[kUrl].protocol === 'https:' && client[kServerName] !== request.servername) {\n if (client[kRunning] > 0) {\n return\n }\n\n client[kServerName] = request.servername\n client[kHTTPContext]?.destroy(new InformationalError('servername changed'), () => {\n client[kHTTPContext] = null\n resume(client)\n })\n }\n\n if (client[kConnecting]) {\n return\n }\n\n if (!client[kHTTPContext]) {\n connect(client)\n return\n }\n\n if (client[kHTTPContext].destroyed) {\n return\n }\n\n if (client[kHTTPContext].busy(request)) {\n return\n }\n\n if (!request.aborted && client[kHTTPContext].write(request)) {\n client[kPendingIdx]++\n } else {\n client[kQueue].splice(client[kPendingIdx], 1)\n }\n }\n}\n\nmodule.exports = Client\n", "/* eslint-disable */\n\n'use strict'\n\n// Extracted from node/lib/internal/fixed_queue.js\n\n// Currently optimal queue size, tested on V8 6.0 - 6.6. Must be power of two.\nconst kSize = 2048;\nconst kMask = kSize - 1;\n\n// The FixedQueue is implemented as a singly-linked list of fixed-size\n// circular buffers. It looks something like this:\n//\n// head tail\n// | |\n// v v\n// +-----------+ <-----\\ +-----------+ <------\\ +-----------+\n// | [null] | \\----- | next | \\------- | next |\n// +-----------+ +-----------+ +-----------+\n// | item | <-- bottom | item | <-- bottom | [empty] |\n// | item | | item | | [empty] |\n// | item | | item | | [empty] |\n// | item | | item | | [empty] |\n// | item | | item | bottom --> | item |\n// | item | | item | | item |\n// | ... | | ... | | ... |\n// | item | | item | | item |\n// | item | | item | | item |\n// | [empty] | <-- top | item | | item |\n// | [empty] | | item | | item |\n// | [empty] | | [empty] | <-- top top --> | [empty] |\n// +-----------+ +-----------+ +-----------+\n//\n// Or, if there is only one circular buffer, it looks something\n// like either of these:\n//\n// head tail head tail\n// | | | |\n// v v v v\n// +-----------+ +-----------+\n// | [null] | | [null] |\n// +-----------+ +-----------+\n// | [empty] | | item |\n// | [empty] | | item |\n// | item | <-- bottom top --> | [empty] |\n// | item | | [empty] |\n// | [empty] | <-- top bottom --> | item |\n// | [empty] | | item |\n// +-----------+ +-----------+\n//\n// Adding a value means moving `top` forward by one, removing means\n// moving `bottom` forward by one. After reaching the end, the queue\n// wraps around.\n//\n// When `top === bottom` the current queue is empty and when\n// `top + 1 === bottom` it's full. This wastes a single space of storage\n// but allows much quicker checks.\n\nclass FixedCircularBuffer {\n constructor() {\n this.bottom = 0;\n this.top = 0;\n this.list = new Array(kSize);\n this.next = null;\n }\n\n isEmpty() {\n return this.top === this.bottom;\n }\n\n isFull() {\n return ((this.top + 1) & kMask) === this.bottom;\n }\n\n push(data) {\n this.list[this.top] = data;\n this.top = (this.top + 1) & kMask;\n }\n\n shift() {\n const nextItem = this.list[this.bottom];\n if (nextItem === undefined)\n return null;\n this.list[this.bottom] = undefined;\n this.bottom = (this.bottom + 1) & kMask;\n return nextItem;\n }\n}\n\nmodule.exports = class FixedQueue {\n constructor() {\n this.head = this.tail = new FixedCircularBuffer();\n }\n\n isEmpty() {\n return this.head.isEmpty();\n }\n\n push(data) {\n if (this.head.isFull()) {\n // Head is full: Creates a new queue, sets the old queue's `.next` to it,\n // and sets it as the new main queue.\n this.head = this.head.next = new FixedCircularBuffer();\n }\n this.head.push(data);\n }\n\n shift() {\n const tail = this.tail;\n const next = tail.shift();\n if (tail.isEmpty() && tail.next !== null) {\n // If there is another queue, it forms the new tail.\n this.tail = tail.next;\n }\n return next;\n }\n};\n", "const { kFree, kConnected, kPending, kQueued, kRunning, kSize } = require('../core/symbols')\nconst kPool = Symbol('pool')\n\nclass PoolStats {\n constructor (pool) {\n this[kPool] = pool\n }\n\n get connected () {\n return this[kPool][kConnected]\n }\n\n get free () {\n return this[kPool][kFree]\n }\n\n get pending () {\n return this[kPool][kPending]\n }\n\n get queued () {\n return this[kPool][kQueued]\n }\n\n get running () {\n return this[kPool][kRunning]\n }\n\n get size () {\n return this[kPool][kSize]\n }\n}\n\nmodule.exports = PoolStats\n", "'use strict'\n\nconst DispatcherBase = require('./dispatcher-base')\nconst FixedQueue = require('./fixed-queue')\nconst { kConnected, kSize, kRunning, kPending, kQueued, kBusy, kFree, kUrl, kClose, kDestroy, kDispatch } = require('../core/symbols')\nconst PoolStats = require('./pool-stats')\n\nconst kClients = Symbol('clients')\nconst kNeedDrain = Symbol('needDrain')\nconst kQueue = Symbol('queue')\nconst kClosedResolve = Symbol('closed resolve')\nconst kOnDrain = Symbol('onDrain')\nconst kOnConnect = Symbol('onConnect')\nconst kOnDisconnect = Symbol('onDisconnect')\nconst kOnConnectionError = Symbol('onConnectionError')\nconst kGetDispatcher = Symbol('get dispatcher')\nconst kAddClient = Symbol('add client')\nconst kRemoveClient = Symbol('remove client')\nconst kStats = Symbol('stats')\n\nclass PoolBase extends DispatcherBase {\n constructor (opts) {\n super(opts)\n\n this[kQueue] = new FixedQueue()\n this[kClients] = []\n this[kQueued] = 0\n\n const pool = this\n\n this[kOnDrain] = function onDrain (origin, targets) {\n const queue = pool[kQueue]\n\n let needDrain = false\n\n while (!needDrain) {\n const item = queue.shift()\n if (!item) {\n break\n }\n pool[kQueued]--\n needDrain = !this.dispatch(item.opts, item.handler)\n }\n\n this[kNeedDrain] = needDrain\n\n if (!this[kNeedDrain] && pool[kNeedDrain]) {\n pool[kNeedDrain] = false\n pool.emit('drain', origin, [pool, ...targets])\n }\n\n if (pool[kClosedResolve] && queue.isEmpty()) {\n Promise\n .all(pool[kClients].map(c => c.close()))\n .then(pool[kClosedResolve])\n }\n }\n\n this[kOnConnect] = (origin, targets) => {\n pool.emit('connect', origin, [pool, ...targets])\n }\n\n this[kOnDisconnect] = (origin, targets, err) => {\n pool.emit('disconnect', origin, [pool, ...targets], err)\n }\n\n this[kOnConnectionError] = (origin, targets, err) => {\n pool.emit('connectionError', origin, [pool, ...targets], err)\n }\n\n this[kStats] = new PoolStats(this)\n }\n\n get [kBusy] () {\n return this[kNeedDrain]\n }\n\n get [kConnected] () {\n return this[kClients].filter(client => client[kConnected]).length\n }\n\n get [kFree] () {\n return this[kClients].filter(client => client[kConnected] && !client[kNeedDrain]).length\n }\n\n get [kPending] () {\n let ret = this[kQueued]\n for (const { [kPending]: pending } of this[kClients]) {\n ret += pending\n }\n return ret\n }\n\n get [kRunning] () {\n let ret = 0\n for (const { [kRunning]: running } of this[kClients]) {\n ret += running\n }\n return ret\n }\n\n get [kSize] () {\n let ret = this[kQueued]\n for (const { [kSize]: size } of this[kClients]) {\n ret += size\n }\n return ret\n }\n\n get stats () {\n return this[kStats]\n }\n\n async [kClose] () {\n if (this[kQueue].isEmpty()) {\n await Promise.all(this[kClients].map(c => c.close()))\n } else {\n await new Promise((resolve) => {\n this[kClosedResolve] = resolve\n })\n }\n }\n\n async [kDestroy] (err) {\n while (true) {\n const item = this[kQueue].shift()\n if (!item) {\n break\n }\n item.handler.onError(err)\n }\n\n await Promise.all(this[kClients].map(c => c.destroy(err)))\n }\n\n [kDispatch] (opts, handler) {\n const dispatcher = this[kGetDispatcher]()\n\n if (!dispatcher) {\n this[kNeedDrain] = true\n this[kQueue].push({ opts, handler })\n this[kQueued]++\n } else if (!dispatcher.dispatch(opts, handler)) {\n dispatcher[kNeedDrain] = true\n this[kNeedDrain] = !this[kGetDispatcher]()\n }\n\n return !this[kNeedDrain]\n }\n\n [kAddClient] (client) {\n client\n .on('drain', this[kOnDrain])\n .on('connect', this[kOnConnect])\n .on('disconnect', this[kOnDisconnect])\n .on('connectionError', this[kOnConnectionError])\n\n this[kClients].push(client)\n\n if (this[kNeedDrain]) {\n queueMicrotask(() => {\n if (this[kNeedDrain]) {\n this[kOnDrain](client[kUrl], [this, client])\n }\n })\n }\n\n return this\n }\n\n [kRemoveClient] (client) {\n client.close(() => {\n const idx = this[kClients].indexOf(client)\n if (idx !== -1) {\n this[kClients].splice(idx, 1)\n }\n })\n\n this[kNeedDrain] = this[kClients].some(dispatcher => (\n !dispatcher[kNeedDrain] &&\n dispatcher.closed !== true &&\n dispatcher.destroyed !== true\n ))\n }\n}\n\nmodule.exports = {\n PoolBase,\n kClients,\n kNeedDrain,\n kAddClient,\n kRemoveClient,\n kGetDispatcher\n}\n", "'use strict'\n\nconst {\n PoolBase,\n kClients,\n kNeedDrain,\n kAddClient,\n kGetDispatcher\n} = require('./pool-base')\nconst Client = require('./client')\nconst {\n InvalidArgumentError\n} = require('../core/errors')\nconst util = require('../core/util')\nconst { kUrl, kInterceptors } = require('../core/symbols')\nconst buildConnector = require('../core/connect')\n\nconst kOptions = Symbol('options')\nconst kConnections = Symbol('connections')\nconst kFactory = Symbol('factory')\n\nfunction defaultFactory (origin, opts) {\n return new Client(origin, opts)\n}\n\nclass Pool extends PoolBase {\n constructor (origin, {\n connections,\n factory = defaultFactory,\n connect,\n connectTimeout,\n tls,\n maxCachedSessions,\n socketPath,\n autoSelectFamily,\n autoSelectFamilyAttemptTimeout,\n allowH2,\n ...options\n } = {}) {\n if (connections != null && (!Number.isFinite(connections) || connections < 0)) {\n throw new InvalidArgumentError('invalid connections')\n }\n\n if (typeof factory !== 'function') {\n throw new InvalidArgumentError('factory must be a function.')\n }\n\n if (connect != null && typeof connect !== 'function' && typeof connect !== 'object') {\n throw new InvalidArgumentError('connect must be a function or an object')\n }\n\n if (typeof connect !== 'function') {\n connect = buildConnector({\n ...tls,\n maxCachedSessions,\n allowH2,\n socketPath,\n timeout: connectTimeout,\n ...(autoSelectFamily ? { autoSelectFamily, autoSelectFamilyAttemptTimeout } : undefined),\n ...connect\n })\n }\n\n super(options)\n\n this[kInterceptors] = options.interceptors?.Pool && Array.isArray(options.interceptors.Pool)\n ? options.interceptors.Pool\n : []\n this[kConnections] = connections || null\n this[kUrl] = util.parseOrigin(origin)\n this[kOptions] = { ...util.deepClone(options), connect, allowH2 }\n this[kOptions].interceptors = options.interceptors\n ? { ...options.interceptors }\n : undefined\n this[kFactory] = factory\n\n this.on('connectionError', (origin, targets, error) => {\n // If a connection error occurs, we remove the client from the pool,\n // and emit a connectionError event. They will not be re-used.\n // Fixes https://github.com/nodejs/undici/issues/3895\n for (const target of targets) {\n // Do not use kRemoveClient here, as it will close the client,\n // but the client cannot be closed in this state.\n const idx = this[kClients].indexOf(target)\n if (idx !== -1) {\n this[kClients].splice(idx, 1)\n }\n }\n })\n }\n\n [kGetDispatcher] () {\n for (const client of this[kClients]) {\n if (!client[kNeedDrain]) {\n return client\n }\n }\n\n if (!this[kConnections] || this[kClients].length < this[kConnections]) {\n const dispatcher = this[kFactory](this[kUrl], this[kOptions])\n this[kAddClient](dispatcher)\n return dispatcher\n }\n }\n}\n\nmodule.exports = Pool\n", "'use strict'\n\nconst {\n BalancedPoolMissingUpstreamError,\n InvalidArgumentError\n} = require('../core/errors')\nconst {\n PoolBase,\n kClients,\n kNeedDrain,\n kAddClient,\n kRemoveClient,\n kGetDispatcher\n} = require('./pool-base')\nconst Pool = require('./pool')\nconst { kUrl, kInterceptors } = require('../core/symbols')\nconst { parseOrigin } = require('../core/util')\nconst kFactory = Symbol('factory')\n\nconst kOptions = Symbol('options')\nconst kGreatestCommonDivisor = Symbol('kGreatestCommonDivisor')\nconst kCurrentWeight = Symbol('kCurrentWeight')\nconst kIndex = Symbol('kIndex')\nconst kWeight = Symbol('kWeight')\nconst kMaxWeightPerServer = Symbol('kMaxWeightPerServer')\nconst kErrorPenalty = Symbol('kErrorPenalty')\n\n/**\n * Calculate the greatest common divisor of two numbers by\n * using the Euclidean algorithm.\n *\n * @param {number} a\n * @param {number} b\n * @returns {number}\n */\nfunction getGreatestCommonDivisor (a, b) {\n if (a === 0) return b\n\n while (b !== 0) {\n const t = b\n b = a % b\n a = t\n }\n return a\n}\n\nfunction defaultFactory (origin, opts) {\n return new Pool(origin, opts)\n}\n\nclass BalancedPool extends PoolBase {\n constructor (upstreams = [], { factory = defaultFactory, ...opts } = {}) {\n super()\n\n this[kOptions] = opts\n this[kIndex] = -1\n this[kCurrentWeight] = 0\n\n this[kMaxWeightPerServer] = this[kOptions].maxWeightPerServer || 100\n this[kErrorPenalty] = this[kOptions].errorPenalty || 15\n\n if (!Array.isArray(upstreams)) {\n upstreams = [upstreams]\n }\n\n if (typeof factory !== 'function') {\n throw new InvalidArgumentError('factory must be a function.')\n }\n\n this[kInterceptors] = opts.interceptors?.BalancedPool && Array.isArray(opts.interceptors.BalancedPool)\n ? opts.interceptors.BalancedPool\n : []\n this[kFactory] = factory\n\n for (const upstream of upstreams) {\n this.addUpstream(upstream)\n }\n this._updateBalancedPoolStats()\n }\n\n addUpstream (upstream) {\n const upstreamOrigin = parseOrigin(upstream).origin\n\n if (this[kClients].find((pool) => (\n pool[kUrl].origin === upstreamOrigin &&\n pool.closed !== true &&\n pool.destroyed !== true\n ))) {\n return this\n }\n const pool = this[kFactory](upstreamOrigin, Object.assign({}, this[kOptions]))\n\n this[kAddClient](pool)\n pool.on('connect', () => {\n pool[kWeight] = Math.min(this[kMaxWeightPerServer], pool[kWeight] + this[kErrorPenalty])\n })\n\n pool.on('connectionError', () => {\n pool[kWeight] = Math.max(1, pool[kWeight] - this[kErrorPenalty])\n this._updateBalancedPoolStats()\n })\n\n pool.on('disconnect', (...args) => {\n const err = args[2]\n if (err && err.code === 'UND_ERR_SOCKET') {\n // decrease the weight of the pool.\n pool[kWeight] = Math.max(1, pool[kWeight] - this[kErrorPenalty])\n this._updateBalancedPoolStats()\n }\n })\n\n for (const client of this[kClients]) {\n client[kWeight] = this[kMaxWeightPerServer]\n }\n\n this._updateBalancedPoolStats()\n\n return this\n }\n\n _updateBalancedPoolStats () {\n let result = 0\n for (let i = 0; i < this[kClients].length; i++) {\n result = getGreatestCommonDivisor(this[kClients][i][kWeight], result)\n }\n\n this[kGreatestCommonDivisor] = result\n }\n\n removeUpstream (upstream) {\n const upstreamOrigin = parseOrigin(upstream).origin\n\n const pool = this[kClients].find((pool) => (\n pool[kUrl].origin === upstreamOrigin &&\n pool.closed !== true &&\n pool.destroyed !== true\n ))\n\n if (pool) {\n this[kRemoveClient](pool)\n }\n\n return this\n }\n\n get upstreams () {\n return this[kClients]\n .filter(dispatcher => dispatcher.closed !== true && dispatcher.destroyed !== true)\n .map((p) => p[kUrl].origin)\n }\n\n [kGetDispatcher] () {\n // We validate that pools is greater than 0,\n // otherwise we would have to wait until an upstream\n // is added, which might never happen.\n if (this[kClients].length === 0) {\n throw new BalancedPoolMissingUpstreamError()\n }\n\n const dispatcher = this[kClients].find(dispatcher => (\n !dispatcher[kNeedDrain] &&\n dispatcher.closed !== true &&\n dispatcher.destroyed !== true\n ))\n\n if (!dispatcher) {\n return\n }\n\n const allClientsBusy = this[kClients].map(pool => pool[kNeedDrain]).reduce((a, b) => a && b, true)\n\n if (allClientsBusy) {\n return\n }\n\n let counter = 0\n\n let maxWeightIndex = this[kClients].findIndex(pool => !pool[kNeedDrain])\n\n while (counter++ < this[kClients].length) {\n this[kIndex] = (this[kIndex] + 1) % this[kClients].length\n const pool = this[kClients][this[kIndex]]\n\n // find pool index with the largest weight\n if (pool[kWeight] > this[kClients][maxWeightIndex][kWeight] && !pool[kNeedDrain]) {\n maxWeightIndex = this[kIndex]\n }\n\n // decrease the current weight every `this[kClients].length`.\n if (this[kIndex] === 0) {\n // Set the current weight to the next lower weight.\n this[kCurrentWeight] = this[kCurrentWeight] - this[kGreatestCommonDivisor]\n\n if (this[kCurrentWeight] <= 0) {\n this[kCurrentWeight] = this[kMaxWeightPerServer]\n }\n }\n if (pool[kWeight] >= this[kCurrentWeight] && (!pool[kNeedDrain])) {\n return pool\n }\n }\n\n this[kCurrentWeight] = this[kClients][maxWeightIndex][kWeight]\n this[kIndex] = maxWeightIndex\n return this[kClients][maxWeightIndex]\n }\n}\n\nmodule.exports = BalancedPool\n", "'use strict'\n\nconst { InvalidArgumentError } = require('../core/errors')\nconst { kClients, kRunning, kClose, kDestroy, kDispatch, kInterceptors } = require('../core/symbols')\nconst DispatcherBase = require('./dispatcher-base')\nconst Pool = require('./pool')\nconst Client = require('./client')\nconst util = require('../core/util')\nconst createRedirectInterceptor = require('../interceptor/redirect-interceptor')\n\nconst kOnConnect = Symbol('onConnect')\nconst kOnDisconnect = Symbol('onDisconnect')\nconst kOnConnectionError = Symbol('onConnectionError')\nconst kMaxRedirections = Symbol('maxRedirections')\nconst kOnDrain = Symbol('onDrain')\nconst kFactory = Symbol('factory')\nconst kOptions = Symbol('options')\n\nfunction defaultFactory (origin, opts) {\n return opts && opts.connections === 1\n ? new Client(origin, opts)\n : new Pool(origin, opts)\n}\n\nclass Agent extends DispatcherBase {\n constructor ({ factory = defaultFactory, maxRedirections = 0, connect, ...options } = {}) {\n if (typeof factory !== 'function') {\n throw new InvalidArgumentError('factory must be a function.')\n }\n\n if (connect != null && typeof connect !== 'function' && typeof connect !== 'object') {\n throw new InvalidArgumentError('connect must be a function or an object')\n }\n\n if (!Number.isInteger(maxRedirections) || maxRedirections < 0) {\n throw new InvalidArgumentError('maxRedirections must be a positive number')\n }\n\n super(options)\n\n if (connect && typeof connect !== 'function') {\n connect = { ...connect }\n }\n\n this[kInterceptors] = options.interceptors?.Agent && Array.isArray(options.interceptors.Agent)\n ? options.interceptors.Agent\n : [createRedirectInterceptor({ maxRedirections })]\n\n this[kOptions] = { ...util.deepClone(options), connect }\n this[kOptions].interceptors = options.interceptors\n ? { ...options.interceptors }\n : undefined\n this[kMaxRedirections] = maxRedirections\n this[kFactory] = factory\n this[kClients] = new Map()\n\n this[kOnDrain] = (origin, targets) => {\n this.emit('drain', origin, [this, ...targets])\n }\n\n this[kOnConnect] = (origin, targets) => {\n this.emit('connect', origin, [this, ...targets])\n }\n\n this[kOnDisconnect] = (origin, targets, err) => {\n this.emit('disconnect', origin, [this, ...targets], err)\n }\n\n this[kOnConnectionError] = (origin, targets, err) => {\n this.emit('connectionError', origin, [this, ...targets], err)\n }\n }\n\n get [kRunning] () {\n let ret = 0\n for (const client of this[kClients].values()) {\n ret += client[kRunning]\n }\n return ret\n }\n\n [kDispatch] (opts, handler) {\n let key\n if (opts.origin && (typeof opts.origin === 'string' || opts.origin instanceof URL)) {\n key = String(opts.origin)\n } else {\n throw new InvalidArgumentError('opts.origin must be a non-empty string or URL.')\n }\n\n let dispatcher = this[kClients].get(key)\n\n if (!dispatcher) {\n dispatcher = this[kFactory](opts.origin, this[kOptions])\n .on('drain', this[kOnDrain])\n .on('connect', this[kOnConnect])\n .on('disconnect', this[kOnDisconnect])\n .on('connectionError', this[kOnConnectionError])\n\n // This introduces a tiny memory leak, as dispatchers are never removed from the map.\n // TODO(mcollina): remove te timer when the client/pool do not have any more\n // active connections.\n this[kClients].set(key, dispatcher)\n }\n\n return dispatcher.dispatch(opts, handler)\n }\n\n async [kClose] () {\n const closePromises = []\n for (const client of this[kClients].values()) {\n closePromises.push(client.close())\n }\n this[kClients].clear()\n\n await Promise.all(closePromises)\n }\n\n async [kDestroy] (err) {\n const destroyPromises = []\n for (const client of this[kClients].values()) {\n destroyPromises.push(client.destroy(err))\n }\n this[kClients].clear()\n\n await Promise.all(destroyPromises)\n }\n}\n\nmodule.exports = Agent\n", "'use strict'\n\nconst { kProxy, kClose, kDestroy, kDispatch, kInterceptors } = require('../core/symbols')\nconst { URL } = require('node:url')\nconst Agent = require('./agent')\nconst Pool = require('./pool')\nconst DispatcherBase = require('./dispatcher-base')\nconst { InvalidArgumentError, RequestAbortedError, SecureProxyConnectionError } = require('../core/errors')\nconst buildConnector = require('../core/connect')\nconst Client = require('./client')\n\nconst kAgent = Symbol('proxy agent')\nconst kClient = Symbol('proxy client')\nconst kProxyHeaders = Symbol('proxy headers')\nconst kRequestTls = Symbol('request tls settings')\nconst kProxyTls = Symbol('proxy tls settings')\nconst kConnectEndpoint = Symbol('connect endpoint function')\nconst kTunnelProxy = Symbol('tunnel proxy')\n\nfunction defaultProtocolPort (protocol) {\n return protocol === 'https:' ? 443 : 80\n}\n\nfunction defaultFactory (origin, opts) {\n return new Pool(origin, opts)\n}\n\nconst noop = () => {}\n\nfunction defaultAgentFactory (origin, opts) {\n if (opts.connections === 1) {\n return new Client(origin, opts)\n }\n return new Pool(origin, opts)\n}\n\nclass Http1ProxyWrapper extends DispatcherBase {\n #client\n\n constructor (proxyUrl, { headers = {}, connect, factory }) {\n super()\n if (!proxyUrl) {\n throw new InvalidArgumentError('Proxy URL is mandatory')\n }\n\n this[kProxyHeaders] = headers\n if (factory) {\n this.#client = factory(proxyUrl, { connect })\n } else {\n this.#client = new Client(proxyUrl, { connect })\n }\n }\n\n [kDispatch] (opts, handler) {\n const onHeaders = handler.onHeaders\n handler.onHeaders = function (statusCode, data, resume) {\n if (statusCode === 407) {\n if (typeof handler.onError === 'function') {\n handler.onError(new InvalidArgumentError('Proxy Authentication Required (407)'))\n }\n return\n }\n if (onHeaders) onHeaders.call(this, statusCode, data, resume)\n }\n\n // Rewrite request as an HTTP1 Proxy request, without tunneling.\n const {\n origin,\n path = '/',\n headers = {}\n } = opts\n\n opts.path = origin + path\n\n if (!('host' in headers) && !('Host' in headers)) {\n const { host } = new URL(origin)\n headers.host = host\n }\n opts.headers = { ...this[kProxyHeaders], ...headers }\n\n return this.#client[kDispatch](opts, handler)\n }\n\n async [kClose] () {\n return this.#client.close()\n }\n\n async [kDestroy] (err) {\n return this.#client.destroy(err)\n }\n}\n\nclass ProxyAgent extends DispatcherBase {\n constructor (opts) {\n super()\n\n if (!opts || (typeof opts === 'object' && !(opts instanceof URL) && !opts.uri)) {\n throw new InvalidArgumentError('Proxy uri is mandatory')\n }\n\n const { clientFactory = defaultFactory } = opts\n if (typeof clientFactory !== 'function') {\n throw new InvalidArgumentError('Proxy opts.clientFactory must be a function.')\n }\n\n const { proxyTunnel = true } = opts\n\n const url = this.#getUrl(opts)\n const { href, origin, port, protocol, username, password, hostname: proxyHostname } = url\n\n this[kProxy] = { uri: href, protocol }\n this[kInterceptors] = opts.interceptors?.ProxyAgent && Array.isArray(opts.interceptors.ProxyAgent)\n ? opts.interceptors.ProxyAgent\n : []\n this[kRequestTls] = opts.requestTls\n this[kProxyTls] = opts.proxyTls\n this[kProxyHeaders] = opts.headers || {}\n this[kTunnelProxy] = proxyTunnel\n\n if (opts.auth && opts.token) {\n throw new InvalidArgumentError('opts.auth cannot be used in combination with opts.token')\n } else if (opts.auth) {\n /* @deprecated in favour of opts.token */\n this[kProxyHeaders]['proxy-authorization'] = `Basic ${opts.auth}`\n } else if (opts.token) {\n this[kProxyHeaders]['proxy-authorization'] = opts.token\n } else if (username && password) {\n this[kProxyHeaders]['proxy-authorization'] = `Basic ${Buffer.from(`${decodeURIComponent(username)}:${decodeURIComponent(password)}`).toString('base64')}`\n }\n\n const connect = buildConnector({ ...opts.proxyTls })\n this[kConnectEndpoint] = buildConnector({ ...opts.requestTls })\n\n const agentFactory = opts.factory || defaultAgentFactory\n const factory = (origin, options) => {\n const { protocol } = new URL(origin)\n if (!this[kTunnelProxy] && protocol === 'http:' && this[kProxy].protocol === 'http:') {\n return new Http1ProxyWrapper(this[kProxy].uri, {\n headers: this[kProxyHeaders],\n connect,\n factory: agentFactory\n })\n }\n return agentFactory(origin, options)\n }\n this[kClient] = clientFactory(url, { connect })\n this[kAgent] = new Agent({\n ...opts,\n factory,\n connect: async (opts, callback) => {\n let requestedPath = opts.host\n if (!opts.port) {\n requestedPath += `:${defaultProtocolPort(opts.protocol)}`\n }\n try {\n const { socket, statusCode } = await this[kClient].connect({\n origin,\n port,\n path: requestedPath,\n signal: opts.signal,\n headers: {\n ...this[kProxyHeaders],\n host: opts.host\n },\n servername: this[kProxyTls]?.servername || proxyHostname\n })\n if (statusCode !== 200) {\n socket.on('error', noop).destroy()\n callback(new RequestAbortedError(`Proxy response (${statusCode}) !== 200 when HTTP Tunneling`))\n }\n if (opts.protocol !== 'https:') {\n callback(null, socket)\n return\n }\n let servername\n if (this[kRequestTls]) {\n servername = this[kRequestTls].servername\n } else {\n servername = opts.servername\n }\n this[kConnectEndpoint]({ ...opts, servername, httpSocket: socket }, callback)\n } catch (err) {\n if (err.code === 'ERR_TLS_CERT_ALTNAME_INVALID') {\n // Throw a custom error to avoid loop in client.js#connect\n callback(new SecureProxyConnectionError(err))\n } else {\n callback(err)\n }\n }\n }\n })\n }\n\n dispatch (opts, handler) {\n const headers = buildHeaders(opts.headers)\n throwIfProxyAuthIsSent(headers)\n\n if (headers && !('host' in headers) && !('Host' in headers)) {\n const { host } = new URL(opts.origin)\n headers.host = host\n }\n\n return this[kAgent].dispatch(\n {\n ...opts,\n headers\n },\n handler\n )\n }\n\n /**\n * @param {import('../types/proxy-agent').ProxyAgent.Options | string | URL} opts\n * @returns {URL}\n */\n #getUrl (opts) {\n if (typeof opts === 'string') {\n return new URL(opts)\n } else if (opts instanceof URL) {\n return opts\n } else {\n return new URL(opts.uri)\n }\n }\n\n async [kClose] () {\n await this[kAgent].close()\n await this[kClient].close()\n }\n\n async [kDestroy] () {\n await this[kAgent].destroy()\n await this[kClient].destroy()\n }\n}\n\n/**\n * @param {string[] | Record} headers\n * @returns {Record}\n */\nfunction buildHeaders (headers) {\n // When using undici.fetch, the headers list is stored\n // as an array.\n if (Array.isArray(headers)) {\n /** @type {Record} */\n const headersPair = {}\n\n for (let i = 0; i < headers.length; i += 2) {\n headersPair[headers[i]] = headers[i + 1]\n }\n\n return headersPair\n }\n\n return headers\n}\n\n/**\n * @param {Record} headers\n *\n * Previous versions of ProxyAgent suggests the Proxy-Authorization in request headers\n * Nevertheless, it was changed and to avoid a security vulnerability by end users\n * this check was created.\n * It should be removed in the next major version for performance reasons\n */\nfunction throwIfProxyAuthIsSent (headers) {\n const existProxyAuth = headers && Object.keys(headers)\n .find((key) => key.toLowerCase() === 'proxy-authorization')\n if (existProxyAuth) {\n throw new InvalidArgumentError('Proxy-Authorization should be sent in ProxyAgent constructor')\n }\n}\n\nmodule.exports = ProxyAgent\n", "'use strict'\n\nconst DispatcherBase = require('./dispatcher-base')\nconst { kClose, kDestroy, kClosed, kDestroyed, kDispatch, kNoProxyAgent, kHttpProxyAgent, kHttpsProxyAgent } = require('../core/symbols')\nconst ProxyAgent = require('./proxy-agent')\nconst Agent = require('./agent')\n\nconst DEFAULT_PORTS = {\n 'http:': 80,\n 'https:': 443\n}\n\nlet experimentalWarned = false\n\nclass EnvHttpProxyAgent extends DispatcherBase {\n #noProxyValue = null\n #noProxyEntries = null\n #opts = null\n\n constructor (opts = {}) {\n super()\n this.#opts = opts\n\n if (!experimentalWarned) {\n experimentalWarned = true\n process.emitWarning('EnvHttpProxyAgent is experimental, expect them to change at any time.', {\n code: 'UNDICI-EHPA'\n })\n }\n\n const { httpProxy, httpsProxy, noProxy, ...agentOpts } = opts\n\n this[kNoProxyAgent] = new Agent(agentOpts)\n\n const HTTP_PROXY = httpProxy ?? process.env.http_proxy ?? process.env.HTTP_PROXY\n if (HTTP_PROXY) {\n this[kHttpProxyAgent] = new ProxyAgent({ ...agentOpts, uri: HTTP_PROXY })\n } else {\n this[kHttpProxyAgent] = this[kNoProxyAgent]\n }\n\n const HTTPS_PROXY = httpsProxy ?? process.env.https_proxy ?? process.env.HTTPS_PROXY\n if (HTTPS_PROXY) {\n this[kHttpsProxyAgent] = new ProxyAgent({ ...agentOpts, uri: HTTPS_PROXY })\n } else {\n this[kHttpsProxyAgent] = this[kHttpProxyAgent]\n }\n\n this.#parseNoProxy()\n }\n\n [kDispatch] (opts, handler) {\n const url = new URL(opts.origin)\n const agent = this.#getProxyAgentForUrl(url)\n return agent.dispatch(opts, handler)\n }\n\n async [kClose] () {\n await this[kNoProxyAgent].close()\n if (!this[kHttpProxyAgent][kClosed]) {\n await this[kHttpProxyAgent].close()\n }\n if (!this[kHttpsProxyAgent][kClosed]) {\n await this[kHttpsProxyAgent].close()\n }\n }\n\n async [kDestroy] (err) {\n await this[kNoProxyAgent].destroy(err)\n if (!this[kHttpProxyAgent][kDestroyed]) {\n await this[kHttpProxyAgent].destroy(err)\n }\n if (!this[kHttpsProxyAgent][kDestroyed]) {\n await this[kHttpsProxyAgent].destroy(err)\n }\n }\n\n #getProxyAgentForUrl (url) {\n let { protocol, host: hostname, port } = url\n\n // Stripping ports in this way instead of using parsedUrl.hostname to make\n // sure that the brackets around IPv6 addresses are kept.\n hostname = hostname.replace(/:\\d*$/, '').toLowerCase()\n port = Number.parseInt(port, 10) || DEFAULT_PORTS[protocol] || 0\n if (!this.#shouldProxy(hostname, port)) {\n return this[kNoProxyAgent]\n }\n if (protocol === 'https:') {\n return this[kHttpsProxyAgent]\n }\n return this[kHttpProxyAgent]\n }\n\n #shouldProxy (hostname, port) {\n if (this.#noProxyChanged) {\n this.#parseNoProxy()\n }\n\n if (this.#noProxyEntries.length === 0) {\n return true // Always proxy if NO_PROXY is not set or empty.\n }\n if (this.#noProxyValue === '*') {\n return false // Never proxy if wildcard is set.\n }\n\n for (let i = 0; i < this.#noProxyEntries.length; i++) {\n const entry = this.#noProxyEntries[i]\n if (entry.port && entry.port !== port) {\n continue // Skip if ports don't match.\n }\n if (!/^[.*]/.test(entry.hostname)) {\n // No wildcards, so don't proxy only if there is not an exact match.\n if (hostname === entry.hostname) {\n return false\n }\n } else {\n // Don't proxy if the hostname ends with the no_proxy host.\n if (hostname.endsWith(entry.hostname.replace(/^\\*/, ''))) {\n return false\n }\n }\n }\n\n return true\n }\n\n #parseNoProxy () {\n const noProxyValue = this.#opts.noProxy ?? this.#noProxyEnv\n const noProxySplit = noProxyValue.split(/[,\\s]/)\n const noProxyEntries = []\n\n for (let i = 0; i < noProxySplit.length; i++) {\n const entry = noProxySplit[i]\n if (!entry) {\n continue\n }\n const parsed = entry.match(/^(.+):(\\d+)$/)\n noProxyEntries.push({\n hostname: (parsed ? parsed[1] : entry).toLowerCase(),\n port: parsed ? Number.parseInt(parsed[2], 10) : 0\n })\n }\n\n this.#noProxyValue = noProxyValue\n this.#noProxyEntries = noProxyEntries\n }\n\n get #noProxyChanged () {\n if (this.#opts.noProxy !== undefined) {\n return false\n }\n return this.#noProxyValue !== this.#noProxyEnv\n }\n\n get #noProxyEnv () {\n return process.env.no_proxy ?? process.env.NO_PROXY ?? ''\n }\n}\n\nmodule.exports = EnvHttpProxyAgent\n", "'use strict'\nconst assert = require('node:assert')\n\nconst { kRetryHandlerDefaultRetry } = require('../core/symbols')\nconst { RequestRetryError } = require('../core/errors')\nconst {\n isDisturbed,\n parseHeaders,\n parseRangeHeader,\n wrapRequestBody\n} = require('../core/util')\n\nfunction calculateRetryAfterHeader (retryAfter) {\n const current = Date.now()\n return new Date(retryAfter).getTime() - current\n}\n\nfunction validatePartialResponseContentLength (headers, range, statusCode, retryCount) {\n const contentLength = headers['content-length']\n if (contentLength == null) {\n return null\n }\n\n if (!Number.isFinite(range.start) || !Number.isFinite(range.end)) {\n return null\n }\n\n const length = Number(contentLength)\n const expectedLength = range.end - range.start + 1\n if (!Number.isFinite(length) || length !== expectedLength) {\n return new RequestRetryError('Content-Length mismatch', statusCode, {\n headers,\n data: { count: retryCount }\n })\n }\n\n return null\n}\n\nclass RetryHandler {\n constructor (opts, handlers) {\n const { retryOptions, ...dispatchOpts } = opts\n const {\n // Retry scoped\n retry: retryFn,\n maxRetries,\n maxTimeout,\n minTimeout,\n timeoutFactor,\n // Response scoped\n methods,\n errorCodes,\n retryAfter,\n statusCodes\n } = retryOptions ?? {}\n\n this.dispatch = handlers.dispatch\n this.handler = handlers.handler\n this.opts = { ...dispatchOpts, body: wrapRequestBody(opts.body) }\n this.abort = null\n this.aborted = false\n this.retryOpts = {\n retry: retryFn ?? RetryHandler[kRetryHandlerDefaultRetry],\n retryAfter: retryAfter ?? true,\n maxTimeout: maxTimeout ?? 30 * 1000, // 30s,\n minTimeout: minTimeout ?? 500, // .5s\n timeoutFactor: timeoutFactor ?? 2,\n maxRetries: maxRetries ?? 5,\n // What errors we should retry\n methods: methods ?? ['GET', 'HEAD', 'OPTIONS', 'PUT', 'DELETE', 'TRACE'],\n // Indicates which errors to retry\n statusCodes: statusCodes ?? [500, 502, 503, 504, 429],\n // List of errors to retry\n errorCodes: errorCodes ?? [\n 'ECONNRESET',\n 'ECONNREFUSED',\n 'ENOTFOUND',\n 'ENETDOWN',\n 'ENETUNREACH',\n 'EHOSTDOWN',\n 'EHOSTUNREACH',\n 'EPIPE',\n 'UND_ERR_SOCKET'\n ]\n }\n\n this.retryCount = 0\n this.retryCountCheckpoint = 0\n this.start = 0\n this.end = null\n this.etag = null\n this.resume = null\n\n // Handle possible onConnect duplication\n this.handler.onConnect(reason => {\n this.aborted = true\n if (this.abort) {\n this.abort(reason)\n } else {\n this.reason = reason\n }\n })\n }\n\n onRequestSent () {\n if (this.handler.onRequestSent) {\n this.handler.onRequestSent()\n }\n }\n\n onUpgrade (statusCode, headers, socket) {\n if (this.handler.onUpgrade) {\n this.handler.onUpgrade(statusCode, headers, socket)\n }\n }\n\n onConnect (abort) {\n if (this.aborted) {\n abort(this.reason)\n } else {\n this.abort = abort\n }\n }\n\n onBodySent (chunk) {\n if (this.handler.onBodySent) return this.handler.onBodySent(chunk)\n }\n\n static [kRetryHandlerDefaultRetry] (err, { state, opts }, cb) {\n const { statusCode, code, headers } = err\n const { method, retryOptions } = opts\n const {\n maxRetries,\n minTimeout,\n maxTimeout,\n timeoutFactor,\n statusCodes,\n errorCodes,\n methods\n } = retryOptions\n const { counter } = state\n\n // Any code that is not a Undici's originated and allowed to retry\n if (code && code !== 'UND_ERR_REQ_RETRY' && !errorCodes.includes(code)) {\n cb(err)\n return\n }\n\n // If a set of method are provided and the current method is not in the list\n if (Array.isArray(methods) && !methods.includes(method)) {\n cb(err)\n return\n }\n\n // If a set of status code are provided and the current status code is not in the list\n if (\n statusCode != null &&\n Array.isArray(statusCodes) &&\n !statusCodes.includes(statusCode)\n ) {\n cb(err)\n return\n }\n\n // If we reached the max number of retries\n if (counter > maxRetries) {\n cb(err)\n return\n }\n\n let retryAfterHeader = headers?.['retry-after']\n if (retryAfterHeader) {\n retryAfterHeader = Number(retryAfterHeader)\n retryAfterHeader = Number.isNaN(retryAfterHeader)\n ? calculateRetryAfterHeader(retryAfterHeader)\n : retryAfterHeader * 1e3 // Retry-After is in seconds\n }\n\n const retryTimeout =\n retryAfterHeader > 0\n ? Math.min(retryAfterHeader, maxTimeout)\n : Math.min(minTimeout * timeoutFactor ** (counter - 1), maxTimeout)\n\n setTimeout(() => cb(null), retryTimeout)\n }\n\n onHeaders (statusCode, rawHeaders, resume, statusMessage) {\n const headers = parseHeaders(rawHeaders)\n\n this.retryCount += 1\n\n if (statusCode >= 300) {\n if (this.retryOpts.statusCodes.includes(statusCode) === false) {\n return this.handler.onHeaders(\n statusCode,\n rawHeaders,\n resume,\n statusMessage\n )\n } else {\n this.abort(\n new RequestRetryError('Request failed', statusCode, {\n headers,\n data: {\n count: this.retryCount\n }\n })\n )\n return false\n }\n }\n\n // Checkpoint for resume from where we left it\n if (this.resume != null) {\n this.resume = null\n\n // Only Partial Content 206 supposed to provide Content-Range,\n // any other status code that partially consumed the payload\n // should not be retry because it would result in downstream\n // wrongly concatanete multiple responses.\n if (statusCode !== 206 && (this.start > 0 || statusCode !== 200)) {\n this.abort(\n new RequestRetryError('server does not support the range header and the payload was partially consumed', statusCode, {\n headers,\n data: { count: this.retryCount }\n })\n )\n return false\n }\n\n const contentRange = parseRangeHeader(headers['content-range'])\n // If no content range\n if (!contentRange) {\n this.abort(\n new RequestRetryError('Content-Range mismatch', statusCode, {\n headers,\n data: { count: this.retryCount }\n })\n )\n return false\n }\n\n // Let's start with a weak etag check\n if (this.etag != null && this.etag !== headers.etag) {\n this.abort(\n new RequestRetryError('ETag mismatch', statusCode, {\n headers,\n data: { count: this.retryCount }\n })\n )\n return false\n }\n\n const contentLengthError = validatePartialResponseContentLength(headers, contentRange, statusCode, this.retryCount)\n if (contentLengthError != null) {\n this.abort(contentLengthError)\n return false\n }\n\n const { start, size, end = size - 1 } = contentRange\n\n assert(this.start === start, 'content-range mismatch')\n assert(this.end == null || this.end === end, 'content-range mismatch')\n\n this.resume = resume\n return true\n }\n\n if (this.end == null) {\n if (statusCode === 206) {\n // First time we receive 206\n const range = parseRangeHeader(headers['content-range'])\n\n if (range == null) {\n return this.handler.onHeaders(\n statusCode,\n rawHeaders,\n resume,\n statusMessage\n )\n }\n\n const contentLengthError = validatePartialResponseContentLength(headers, range, statusCode, this.retryCount)\n if (contentLengthError != null) {\n this.abort(contentLengthError)\n return false\n }\n\n const { start, size, end = size - 1 } = range\n assert(\n start != null && Number.isFinite(start),\n 'content-range mismatch'\n )\n assert(end != null && Number.isFinite(end), 'invalid content-length')\n\n this.start = start\n this.end = end\n }\n\n // We make our best to checkpoint the body for further range headers\n if (this.end == null) {\n const contentLength = headers['content-length']\n this.end = contentLength != null ? Number(contentLength) - 1 : null\n }\n\n assert(Number.isFinite(this.start))\n assert(\n this.end == null || Number.isFinite(this.end),\n 'invalid content-length'\n )\n\n this.resume = resume\n this.etag = headers.etag != null ? headers.etag : null\n\n // Weak etags are not useful for comparison nor cache\n // for instance not safe to assume if the response is byte-per-byte\n // equal\n if (this.etag != null && this.etag.startsWith('W/')) {\n this.etag = null\n }\n\n return this.handler.onHeaders(\n statusCode,\n rawHeaders,\n resume,\n statusMessage\n )\n }\n\n const err = new RequestRetryError('Request failed', statusCode, {\n headers,\n data: { count: this.retryCount }\n })\n\n this.abort(err)\n\n return false\n }\n\n onData (chunk) {\n this.start += chunk.length\n\n return this.handler.onData(chunk)\n }\n\n onComplete (rawTrailers) {\n this.retryCount = 0\n return this.handler.onComplete(rawTrailers)\n }\n\n onError (err) {\n if (this.aborted || isDisturbed(this.opts.body)) {\n return this.handler.onError(err)\n }\n\n // We reconcile in case of a mix between network errors\n // and server error response\n if (this.retryCount - this.retryCountCheckpoint > 0) {\n // We count the difference between the last checkpoint and the current retry count\n this.retryCount =\n this.retryCountCheckpoint +\n (this.retryCount - this.retryCountCheckpoint)\n } else {\n this.retryCount += 1\n }\n\n this.retryOpts.retry(\n err,\n {\n state: { counter: this.retryCount },\n opts: { retryOptions: this.retryOpts, ...this.opts }\n },\n onRetry.bind(this)\n )\n\n function onRetry (err) {\n if (err != null || this.aborted || isDisturbed(this.opts.body)) {\n return this.handler.onError(err)\n }\n\n if (this.start !== 0) {\n const headers = { range: `bytes=${this.start}-${this.end ?? ''}` }\n\n // Weak etag check - weak etags will make comparison algorithms never match\n if (this.etag != null) {\n headers['if-match'] = this.etag\n }\n\n this.opts = {\n ...this.opts,\n headers: {\n ...this.opts.headers,\n ...headers\n }\n }\n }\n\n try {\n this.retryCountCheckpoint = this.retryCount\n this.dispatch(this.opts, this)\n } catch (err) {\n this.handler.onError(err)\n }\n }\n }\n}\n\nmodule.exports = RetryHandler\n", "'use strict'\n\nconst Dispatcher = require('./dispatcher')\nconst RetryHandler = require('../handler/retry-handler')\n\nclass RetryAgent extends Dispatcher {\n #agent = null\n #options = null\n constructor (agent, options = {}) {\n super(options)\n this.#agent = agent\n this.#options = options\n }\n\n dispatch (opts, handler) {\n const retry = new RetryHandler({\n ...opts,\n retryOptions: this.#options\n }, {\n dispatch: this.#agent.dispatch.bind(this.#agent),\n handler\n })\n return this.#agent.dispatch(opts, retry)\n }\n\n close () {\n return this.#agent.close()\n }\n\n destroy () {\n return this.#agent.destroy()\n }\n}\n\nmodule.exports = RetryAgent\n", "// Ported from https://github.com/nodejs/undici/pull/907\n\n'use strict'\n\nconst assert = require('node:assert')\nconst { Readable } = require('node:stream')\nconst { RequestAbortedError, NotSupportedError, InvalidArgumentError, AbortError } = require('../core/errors')\nconst util = require('../core/util')\nconst { ReadableStreamFrom } = require('../core/util')\n\nconst kConsume = Symbol('kConsume')\nconst kReading = Symbol('kReading')\nconst kBody = Symbol('kBody')\nconst kAbort = Symbol('kAbort')\nconst kContentType = Symbol('kContentType')\nconst kContentLength = Symbol('kContentLength')\n\nconst noop = () => {}\n\nclass BodyReadable extends Readable {\n constructor ({\n resume,\n abort,\n contentType = '',\n contentLength,\n highWaterMark = 64 * 1024 // Same as nodejs fs streams.\n }) {\n super({\n autoDestroy: true,\n read: resume,\n highWaterMark\n })\n\n this._readableState.dataEmitted = false\n\n this[kAbort] = abort\n this[kConsume] = null\n this[kBody] = null\n this[kContentType] = contentType\n this[kContentLength] = contentLength\n\n // Is stream being consumed through Readable API?\n // This is an optimization so that we avoid checking\n // for 'data' and 'readable' listeners in the hot path\n // inside push().\n this[kReading] = false\n }\n\n destroy (err) {\n if (!err && !this._readableState.endEmitted) {\n err = new RequestAbortedError()\n }\n\n if (err) {\n this[kAbort]()\n }\n\n return super.destroy(err)\n }\n\n _destroy (err, callback) {\n // Workaround for Node \"bug\". If the stream is destroyed in same\n // tick as it is created, then a user who is waiting for a\n // promise (i.e micro tick) for installing a 'error' listener will\n // never get a chance and will always encounter an unhandled exception.\n if (!this[kReading]) {\n setImmediate(() => {\n callback(err)\n })\n } else {\n callback(err)\n }\n }\n\n on (ev, ...args) {\n if (ev === 'data' || ev === 'readable') {\n this[kReading] = true\n }\n return super.on(ev, ...args)\n }\n\n addListener (ev, ...args) {\n return this.on(ev, ...args)\n }\n\n off (ev, ...args) {\n const ret = super.off(ev, ...args)\n if (ev === 'data' || ev === 'readable') {\n this[kReading] = (\n this.listenerCount('data') > 0 ||\n this.listenerCount('readable') > 0\n )\n }\n return ret\n }\n\n removeListener (ev, ...args) {\n return this.off(ev, ...args)\n }\n\n push (chunk) {\n if (this[kConsume] && chunk !== null) {\n consumePush(this[kConsume], chunk)\n return this[kReading] ? super.push(chunk) : true\n }\n return super.push(chunk)\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-text\n async text () {\n return consume(this, 'text')\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-json\n async json () {\n return consume(this, 'json')\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-blob\n async blob () {\n return consume(this, 'blob')\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-bytes\n async bytes () {\n return consume(this, 'bytes')\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-arraybuffer\n async arrayBuffer () {\n return consume(this, 'arrayBuffer')\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-formdata\n async formData () {\n // TODO: Implement.\n throw new NotSupportedError()\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-bodyused\n get bodyUsed () {\n return util.isDisturbed(this)\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-body\n get body () {\n if (!this[kBody]) {\n this[kBody] = ReadableStreamFrom(this)\n if (this[kConsume]) {\n // TODO: Is this the best way to force a lock?\n this[kBody].getReader() // Ensure stream is locked.\n assert(this[kBody].locked)\n }\n }\n return this[kBody]\n }\n\n async dump (opts) {\n let limit = Number.isFinite(opts?.limit) ? opts.limit : 128 * 1024\n const signal = opts?.signal\n\n if (signal != null && (typeof signal !== 'object' || !('aborted' in signal))) {\n throw new InvalidArgumentError('signal must be an AbortSignal')\n }\n\n signal?.throwIfAborted()\n\n if (this._readableState.closeEmitted) {\n return null\n }\n\n return await new Promise((resolve, reject) => {\n if (this[kContentLength] > limit) {\n this.destroy(new AbortError())\n }\n\n const onAbort = () => {\n this.destroy(signal.reason ?? new AbortError())\n }\n signal?.addEventListener('abort', onAbort)\n\n this\n .on('close', function () {\n signal?.removeEventListener('abort', onAbort)\n if (signal?.aborted) {\n reject(signal.reason ?? new AbortError())\n } else {\n resolve(null)\n }\n })\n .on('error', noop)\n .on('data', function (chunk) {\n limit -= chunk.length\n if (limit <= 0) {\n this.destroy()\n }\n })\n .resume()\n })\n }\n}\n\n// https://streams.spec.whatwg.org/#readablestream-locked\nfunction isLocked (self) {\n // Consume is an implicit lock.\n return (self[kBody] && self[kBody].locked === true) || self[kConsume]\n}\n\n// https://fetch.spec.whatwg.org/#body-unusable\nfunction isUnusable (self) {\n return util.isDisturbed(self) || isLocked(self)\n}\n\nasync function consume (stream, type) {\n assert(!stream[kConsume])\n\n return new Promise((resolve, reject) => {\n if (isUnusable(stream)) {\n const rState = stream._readableState\n if (rState.destroyed && rState.closeEmitted === false) {\n stream\n .on('error', err => {\n reject(err)\n })\n .on('close', () => {\n reject(new TypeError('unusable'))\n })\n } else {\n reject(rState.errored ?? new TypeError('unusable'))\n }\n } else {\n queueMicrotask(() => {\n stream[kConsume] = {\n type,\n stream,\n resolve,\n reject,\n length: 0,\n body: []\n }\n\n stream\n .on('error', function (err) {\n consumeFinish(this[kConsume], err)\n })\n .on('close', function () {\n if (this[kConsume].body !== null) {\n consumeFinish(this[kConsume], new RequestAbortedError())\n }\n })\n\n consumeStart(stream[kConsume])\n })\n }\n })\n}\n\nfunction consumeStart (consume) {\n if (consume.body === null) {\n return\n }\n\n const { _readableState: state } = consume.stream\n\n if (state.bufferIndex) {\n const start = state.bufferIndex\n const end = state.buffer.length\n for (let n = start; n < end; n++) {\n consumePush(consume, state.buffer[n])\n }\n } else {\n for (const chunk of state.buffer) {\n consumePush(consume, chunk)\n }\n }\n\n if (state.endEmitted) {\n consumeEnd(this[kConsume])\n } else {\n consume.stream.on('end', function () {\n consumeEnd(this[kConsume])\n })\n }\n\n consume.stream.resume()\n\n while (consume.stream.read() != null) {\n // Loop\n }\n}\n\n/**\n * @param {Buffer[]} chunks\n * @param {number} length\n */\nfunction chunksDecode (chunks, length) {\n if (chunks.length === 0 || length === 0) {\n return ''\n }\n const buffer = chunks.length === 1 ? chunks[0] : Buffer.concat(chunks, length)\n const bufferLength = buffer.length\n\n // Skip BOM.\n const start =\n bufferLength > 2 &&\n buffer[0] === 0xef &&\n buffer[1] === 0xbb &&\n buffer[2] === 0xbf\n ? 3\n : 0\n return buffer.utf8Slice(start, bufferLength)\n}\n\n/**\n * @param {Buffer[]} chunks\n * @param {number} length\n * @returns {Uint8Array}\n */\nfunction chunksConcat (chunks, length) {\n if (chunks.length === 0 || length === 0) {\n return new Uint8Array(0)\n }\n if (chunks.length === 1) {\n // fast-path\n return new Uint8Array(chunks[0])\n }\n const buffer = new Uint8Array(Buffer.allocUnsafeSlow(length).buffer)\n\n let offset = 0\n for (let i = 0; i < chunks.length; ++i) {\n const chunk = chunks[i]\n buffer.set(chunk, offset)\n offset += chunk.length\n }\n\n return buffer\n}\n\nfunction consumeEnd (consume) {\n const { type, body, resolve, stream, length } = consume\n\n try {\n if (type === 'text') {\n resolve(chunksDecode(body, length))\n } else if (type === 'json') {\n resolve(JSON.parse(chunksDecode(body, length)))\n } else if (type === 'arrayBuffer') {\n resolve(chunksConcat(body, length).buffer)\n } else if (type === 'blob') {\n resolve(new Blob(body, { type: stream[kContentType] }))\n } else if (type === 'bytes') {\n resolve(chunksConcat(body, length))\n }\n\n consumeFinish(consume)\n } catch (err) {\n stream.destroy(err)\n }\n}\n\nfunction consumePush (consume, chunk) {\n consume.length += chunk.length\n consume.body.push(chunk)\n}\n\nfunction consumeFinish (consume, err) {\n if (consume.body === null) {\n return\n }\n\n if (err) {\n consume.reject(err)\n } else {\n consume.resolve()\n }\n\n consume.type = null\n consume.stream = null\n consume.resolve = null\n consume.reject = null\n consume.length = 0\n consume.body = null\n}\n\nmodule.exports = { Readable: BodyReadable, chunksDecode }\n", "const assert = require('node:assert')\nconst {\n ResponseStatusCodeError\n} = require('../core/errors')\n\nconst { chunksDecode } = require('./readable')\nconst CHUNK_LIMIT = 128 * 1024\n\nasync function getResolveErrorBodyCallback ({ callback, body, contentType, statusCode, statusMessage, headers }) {\n assert(body)\n\n let chunks = []\n let length = 0\n\n try {\n for await (const chunk of body) {\n chunks.push(chunk)\n length += chunk.length\n if (length > CHUNK_LIMIT) {\n chunks = []\n length = 0\n break\n }\n }\n } catch {\n chunks = []\n length = 0\n // Do nothing....\n }\n\n const message = `Response status code ${statusCode}${statusMessage ? `: ${statusMessage}` : ''}`\n\n if (statusCode === 204 || !contentType || !length) {\n queueMicrotask(() => callback(new ResponseStatusCodeError(message, statusCode, headers)))\n return\n }\n\n const stackTraceLimit = Error.stackTraceLimit\n Error.stackTraceLimit = 0\n let payload\n\n try {\n if (isContentTypeApplicationJson(contentType)) {\n payload = JSON.parse(chunksDecode(chunks, length))\n } else if (isContentTypeText(contentType)) {\n payload = chunksDecode(chunks, length)\n }\n } catch {\n // process in a callback to avoid throwing in the microtask queue\n } finally {\n Error.stackTraceLimit = stackTraceLimit\n }\n queueMicrotask(() => callback(new ResponseStatusCodeError(message, statusCode, headers, payload)))\n}\n\nconst isContentTypeApplicationJson = (contentType) => {\n return (\n contentType.length > 15 &&\n contentType[11] === '/' &&\n contentType[0] === 'a' &&\n contentType[1] === 'p' &&\n contentType[2] === 'p' &&\n contentType[3] === 'l' &&\n contentType[4] === 'i' &&\n contentType[5] === 'c' &&\n contentType[6] === 'a' &&\n contentType[7] === 't' &&\n contentType[8] === 'i' &&\n contentType[9] === 'o' &&\n contentType[10] === 'n' &&\n contentType[12] === 'j' &&\n contentType[13] === 's' &&\n contentType[14] === 'o' &&\n contentType[15] === 'n'\n )\n}\n\nconst isContentTypeText = (contentType) => {\n return (\n contentType.length > 4 &&\n contentType[4] === '/' &&\n contentType[0] === 't' &&\n contentType[1] === 'e' &&\n contentType[2] === 'x' &&\n contentType[3] === 't'\n )\n}\n\nmodule.exports = {\n getResolveErrorBodyCallback,\n isContentTypeApplicationJson,\n isContentTypeText\n}\n", "'use strict'\n\nconst assert = require('node:assert')\nconst { Readable } = require('./readable')\nconst { InvalidArgumentError, RequestAbortedError } = require('../core/errors')\nconst util = require('../core/util')\nconst { getResolveErrorBodyCallback } = require('./util')\nconst { AsyncResource } = require('node:async_hooks')\n\nclass RequestHandler extends AsyncResource {\n constructor (opts, callback) {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('invalid opts')\n }\n\n const { signal, method, opaque, body, onInfo, responseHeaders, throwOnError, highWaterMark } = opts\n\n try {\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n if (highWaterMark && (typeof highWaterMark !== 'number' || highWaterMark < 0)) {\n throw new InvalidArgumentError('invalid highWaterMark')\n }\n\n if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') {\n throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')\n }\n\n if (method === 'CONNECT') {\n throw new InvalidArgumentError('invalid method')\n }\n\n if (onInfo && typeof onInfo !== 'function') {\n throw new InvalidArgumentError('invalid onInfo callback')\n }\n\n super('UNDICI_REQUEST')\n } catch (err) {\n if (util.isStream(body)) {\n util.destroy(body.on('error', util.nop), err)\n }\n throw err\n }\n\n this.method = method\n this.responseHeaders = responseHeaders || null\n this.opaque = opaque || null\n this.callback = callback\n this.res = null\n this.abort = null\n this.body = body\n this.trailers = {}\n this.context = null\n this.onInfo = onInfo || null\n this.throwOnError = throwOnError\n this.highWaterMark = highWaterMark\n this.signal = signal\n this.reason = null\n this.removeAbortListener = null\n\n if (util.isStream(body)) {\n body.on('error', (err) => {\n this.onError(err)\n })\n }\n\n if (this.signal) {\n if (this.signal.aborted) {\n this.reason = this.signal.reason ?? new RequestAbortedError()\n } else {\n this.removeAbortListener = util.addAbortListener(this.signal, () => {\n this.reason = this.signal.reason ?? new RequestAbortedError()\n if (this.res) {\n util.destroy(this.res.on('error', util.nop), this.reason)\n } else if (this.abort) {\n this.abort(this.reason)\n }\n\n if (this.removeAbortListener) {\n this.res?.off('close', this.removeAbortListener)\n this.removeAbortListener()\n this.removeAbortListener = null\n }\n })\n }\n }\n }\n\n onConnect (abort, context) {\n if (this.reason) {\n abort(this.reason)\n return\n }\n\n assert(this.callback)\n\n this.abort = abort\n this.context = context\n }\n\n onHeaders (statusCode, rawHeaders, resume, statusMessage) {\n const { callback, opaque, abort, context, responseHeaders, highWaterMark } = this\n\n const headers = responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n\n if (statusCode < 200) {\n if (this.onInfo) {\n this.onInfo({ statusCode, headers })\n }\n return\n }\n\n const parsedHeaders = responseHeaders === 'raw' ? util.parseHeaders(rawHeaders) : headers\n const contentType = parsedHeaders['content-type']\n const contentLength = parsedHeaders['content-length']\n const res = new Readable({\n resume,\n abort,\n contentType,\n contentLength: this.method !== 'HEAD' && contentLength\n ? Number(contentLength)\n : null,\n highWaterMark\n })\n\n if (this.removeAbortListener) {\n res.on('close', this.removeAbortListener)\n }\n\n this.callback = null\n this.res = res\n if (callback !== null) {\n if (this.throwOnError && statusCode >= 400) {\n this.runInAsyncScope(getResolveErrorBodyCallback, null,\n { callback, body: res, contentType, statusCode, statusMessage, headers }\n )\n } else {\n this.runInAsyncScope(callback, null, null, {\n statusCode,\n headers,\n trailers: this.trailers,\n opaque,\n body: res,\n context\n })\n }\n }\n }\n\n onData (chunk) {\n return this.res.push(chunk)\n }\n\n onComplete (trailers) {\n util.parseHeaders(trailers, this.trailers)\n this.res.push(null)\n }\n\n onError (err) {\n const { res, callback, body, opaque } = this\n\n if (callback) {\n // TODO: Does this need queueMicrotask?\n this.callback = null\n queueMicrotask(() => {\n this.runInAsyncScope(callback, null, err, { opaque })\n })\n }\n\n if (res) {\n this.res = null\n // Ensure all queued handlers are invoked before destroying res.\n queueMicrotask(() => {\n util.destroy(res, err)\n })\n }\n\n if (body) {\n this.body = null\n util.destroy(body, err)\n }\n\n if (this.removeAbortListener) {\n res?.off('close', this.removeAbortListener)\n this.removeAbortListener()\n this.removeAbortListener = null\n }\n }\n}\n\nfunction request (opts, callback) {\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n request.call(this, opts, (err, data) => {\n return err ? reject(err) : resolve(data)\n })\n })\n }\n\n try {\n this.dispatch(opts, new RequestHandler(opts, callback))\n } catch (err) {\n if (typeof callback !== 'function') {\n throw err\n }\n const opaque = opts?.opaque\n queueMicrotask(() => callback(err, { opaque }))\n }\n}\n\nmodule.exports = request\nmodule.exports.RequestHandler = RequestHandler\n", "const { addAbortListener } = require('../core/util')\nconst { RequestAbortedError } = require('../core/errors')\n\nconst kListener = Symbol('kListener')\nconst kSignal = Symbol('kSignal')\n\nfunction abort (self) {\n if (self.abort) {\n self.abort(self[kSignal]?.reason)\n } else {\n self.reason = self[kSignal]?.reason ?? new RequestAbortedError()\n }\n removeSignal(self)\n}\n\nfunction addSignal (self, signal) {\n self.reason = null\n\n self[kSignal] = null\n self[kListener] = null\n\n if (!signal) {\n return\n }\n\n if (signal.aborted) {\n abort(self)\n return\n }\n\n self[kSignal] = signal\n self[kListener] = () => {\n abort(self)\n }\n\n addAbortListener(self[kSignal], self[kListener])\n}\n\nfunction removeSignal (self) {\n if (!self[kSignal]) {\n return\n }\n\n if ('removeEventListener' in self[kSignal]) {\n self[kSignal].removeEventListener('abort', self[kListener])\n } else {\n self[kSignal].removeListener('abort', self[kListener])\n }\n\n self[kSignal] = null\n self[kListener] = null\n}\n\nmodule.exports = {\n addSignal,\n removeSignal\n}\n", "'use strict'\n\nconst assert = require('node:assert')\nconst { finished, PassThrough } = require('node:stream')\nconst { InvalidArgumentError, InvalidReturnValueError } = require('../core/errors')\nconst util = require('../core/util')\nconst { getResolveErrorBodyCallback } = require('./util')\nconst { AsyncResource } = require('node:async_hooks')\nconst { addSignal, removeSignal } = require('./abort-signal')\n\nclass StreamHandler extends AsyncResource {\n constructor (opts, factory, callback) {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('invalid opts')\n }\n\n const { signal, method, opaque, body, onInfo, responseHeaders, throwOnError } = opts\n\n try {\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n if (typeof factory !== 'function') {\n throw new InvalidArgumentError('invalid factory')\n }\n\n if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') {\n throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')\n }\n\n if (method === 'CONNECT') {\n throw new InvalidArgumentError('invalid method')\n }\n\n if (onInfo && typeof onInfo !== 'function') {\n throw new InvalidArgumentError('invalid onInfo callback')\n }\n\n super('UNDICI_STREAM')\n } catch (err) {\n if (util.isStream(body)) {\n util.destroy(body.on('error', util.nop), err)\n }\n throw err\n }\n\n this.responseHeaders = responseHeaders || null\n this.opaque = opaque || null\n this.factory = factory\n this.callback = callback\n this.res = null\n this.abort = null\n this.context = null\n this.trailers = null\n this.body = body\n this.onInfo = onInfo || null\n this.throwOnError = throwOnError || false\n\n if (util.isStream(body)) {\n body.on('error', (err) => {\n this.onError(err)\n })\n }\n\n addSignal(this, signal)\n }\n\n onConnect (abort, context) {\n if (this.reason) {\n abort(this.reason)\n return\n }\n\n assert(this.callback)\n\n this.abort = abort\n this.context = context\n }\n\n onHeaders (statusCode, rawHeaders, resume, statusMessage) {\n const { factory, opaque, context, callback, responseHeaders } = this\n\n const headers = responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n\n if (statusCode < 200) {\n if (this.onInfo) {\n this.onInfo({ statusCode, headers })\n }\n return\n }\n\n this.factory = null\n\n let res\n\n if (this.throwOnError && statusCode >= 400) {\n const parsedHeaders = responseHeaders === 'raw' ? util.parseHeaders(rawHeaders) : headers\n const contentType = parsedHeaders['content-type']\n res = new PassThrough()\n\n this.callback = null\n this.runInAsyncScope(getResolveErrorBodyCallback, null,\n { callback, body: res, contentType, statusCode, statusMessage, headers }\n )\n } else {\n if (factory === null) {\n return\n }\n\n res = this.runInAsyncScope(factory, null, {\n statusCode,\n headers,\n opaque,\n context\n })\n\n if (\n !res ||\n typeof res.write !== 'function' ||\n typeof res.end !== 'function' ||\n typeof res.on !== 'function'\n ) {\n throw new InvalidReturnValueError('expected Writable')\n }\n\n // TODO: Avoid finished. It registers an unnecessary amount of listeners.\n finished(res, { readable: false }, (err) => {\n const { callback, res, opaque, trailers, abort } = this\n\n this.res = null\n if (err || !res.readable) {\n util.destroy(res, err)\n }\n\n this.callback = null\n this.runInAsyncScope(callback, null, err || null, { opaque, trailers })\n\n if (err) {\n abort()\n }\n })\n }\n\n res.on('drain', resume)\n\n this.res = res\n\n const needDrain = res.writableNeedDrain !== undefined\n ? res.writableNeedDrain\n : res._writableState?.needDrain\n\n return needDrain !== true\n }\n\n onData (chunk) {\n const { res } = this\n\n return res ? res.write(chunk) : true\n }\n\n onComplete (trailers) {\n const { res } = this\n\n removeSignal(this)\n\n if (!res) {\n return\n }\n\n this.trailers = util.parseHeaders(trailers)\n\n res.end()\n }\n\n onError (err) {\n const { res, callback, opaque, body } = this\n\n removeSignal(this)\n\n this.factory = null\n\n if (res) {\n this.res = null\n util.destroy(res, err)\n } else if (callback) {\n this.callback = null\n queueMicrotask(() => {\n this.runInAsyncScope(callback, null, err, { opaque })\n })\n }\n\n if (body) {\n this.body = null\n util.destroy(body, err)\n }\n }\n}\n\nfunction stream (opts, factory, callback) {\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n stream.call(this, opts, factory, (err, data) => {\n return err ? reject(err) : resolve(data)\n })\n })\n }\n\n try {\n this.dispatch(opts, new StreamHandler(opts, factory, callback))\n } catch (err) {\n if (typeof callback !== 'function') {\n throw err\n }\n const opaque = opts?.opaque\n queueMicrotask(() => callback(err, { opaque }))\n }\n}\n\nmodule.exports = stream\n", "'use strict'\n\nconst {\n Readable,\n Duplex,\n PassThrough\n} = require('node:stream')\nconst {\n InvalidArgumentError,\n InvalidReturnValueError,\n RequestAbortedError\n} = require('../core/errors')\nconst util = require('../core/util')\nconst { AsyncResource } = require('node:async_hooks')\nconst { addSignal, removeSignal } = require('./abort-signal')\nconst assert = require('node:assert')\n\nconst kResume = Symbol('resume')\n\nclass PipelineRequest extends Readable {\n constructor () {\n super({ autoDestroy: true })\n\n this[kResume] = null\n }\n\n _read () {\n const { [kResume]: resume } = this\n\n if (resume) {\n this[kResume] = null\n resume()\n }\n }\n\n _destroy (err, callback) {\n this._read()\n\n callback(err)\n }\n}\n\nclass PipelineResponse extends Readable {\n constructor (resume) {\n super({ autoDestroy: true })\n this[kResume] = resume\n }\n\n _read () {\n this[kResume]()\n }\n\n _destroy (err, callback) {\n if (!err && !this._readableState.endEmitted) {\n err = new RequestAbortedError()\n }\n\n callback(err)\n }\n}\n\nclass PipelineHandler extends AsyncResource {\n constructor (opts, handler) {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('invalid opts')\n }\n\n if (typeof handler !== 'function') {\n throw new InvalidArgumentError('invalid handler')\n }\n\n const { signal, method, opaque, onInfo, responseHeaders } = opts\n\n if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') {\n throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')\n }\n\n if (method === 'CONNECT') {\n throw new InvalidArgumentError('invalid method')\n }\n\n if (onInfo && typeof onInfo !== 'function') {\n throw new InvalidArgumentError('invalid onInfo callback')\n }\n\n super('UNDICI_PIPELINE')\n\n this.opaque = opaque || null\n this.responseHeaders = responseHeaders || null\n this.handler = handler\n this.abort = null\n this.context = null\n this.onInfo = onInfo || null\n\n this.req = new PipelineRequest().on('error', util.nop)\n\n this.ret = new Duplex({\n readableObjectMode: opts.objectMode,\n autoDestroy: true,\n read: () => {\n const { body } = this\n\n if (body?.resume) {\n body.resume()\n }\n },\n write: (chunk, encoding, callback) => {\n const { req } = this\n\n if (req.push(chunk, encoding) || req._readableState.destroyed) {\n callback()\n } else {\n req[kResume] = callback\n }\n },\n destroy: (err, callback) => {\n const { body, req, res, ret, abort } = this\n\n if (!err && !ret._readableState.endEmitted) {\n err = new RequestAbortedError()\n }\n\n if (abort && err) {\n abort()\n }\n\n util.destroy(body, err)\n util.destroy(req, err)\n util.destroy(res, err)\n\n removeSignal(this)\n\n callback(err)\n }\n }).on('prefinish', () => {\n const { req } = this\n\n // Node < 15 does not call _final in same tick.\n req.push(null)\n })\n\n this.res = null\n\n addSignal(this, signal)\n }\n\n onConnect (abort, context) {\n const { ret, res } = this\n\n if (this.reason) {\n abort(this.reason)\n return\n }\n\n assert(!res, 'pipeline cannot be retried')\n assert(!ret.destroyed)\n\n this.abort = abort\n this.context = context\n }\n\n onHeaders (statusCode, rawHeaders, resume) {\n const { opaque, handler, context } = this\n\n if (statusCode < 200) {\n if (this.onInfo) {\n const headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n this.onInfo({ statusCode, headers })\n }\n return\n }\n\n this.res = new PipelineResponse(resume)\n\n let body\n try {\n this.handler = null\n const headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n body = this.runInAsyncScope(handler, null, {\n statusCode,\n headers,\n opaque,\n body: this.res,\n context\n })\n } catch (err) {\n this.res.on('error', util.nop)\n throw err\n }\n\n if (!body || typeof body.on !== 'function') {\n throw new InvalidReturnValueError('expected Readable')\n }\n\n body\n .on('data', (chunk) => {\n const { ret, body } = this\n\n if (!ret.push(chunk) && body.pause) {\n body.pause()\n }\n })\n .on('error', (err) => {\n const { ret } = this\n\n util.destroy(ret, err)\n })\n .on('end', () => {\n const { ret } = this\n\n ret.push(null)\n })\n .on('close', () => {\n const { ret } = this\n\n if (!ret._readableState.ended) {\n util.destroy(ret, new RequestAbortedError())\n }\n })\n\n this.body = body\n }\n\n onData (chunk) {\n const { res } = this\n return res.push(chunk)\n }\n\n onComplete (trailers) {\n const { res } = this\n res.push(null)\n }\n\n onError (err) {\n const { ret } = this\n this.handler = null\n util.destroy(ret, err)\n }\n}\n\nfunction pipeline (opts, handler) {\n try {\n const pipelineHandler = new PipelineHandler(opts, handler)\n this.dispatch({ ...opts, body: pipelineHandler.req }, pipelineHandler)\n return pipelineHandler.ret\n } catch (err) {\n return new PassThrough().destroy(err)\n }\n}\n\nmodule.exports = pipeline\n", "'use strict'\n\nconst { InvalidArgumentError, SocketError } = require('../core/errors')\nconst { AsyncResource } = require('node:async_hooks')\nconst util = require('../core/util')\nconst { addSignal, removeSignal } = require('./abort-signal')\nconst assert = require('node:assert')\n\nclass UpgradeHandler extends AsyncResource {\n constructor (opts, callback) {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('invalid opts')\n }\n\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n const { signal, opaque, responseHeaders } = opts\n\n if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') {\n throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')\n }\n\n super('UNDICI_UPGRADE')\n\n this.responseHeaders = responseHeaders || null\n this.opaque = opaque || null\n this.callback = callback\n this.abort = null\n this.context = null\n\n addSignal(this, signal)\n }\n\n onConnect (abort, context) {\n if (this.reason) {\n abort(this.reason)\n return\n }\n\n assert(this.callback)\n\n this.abort = abort\n this.context = null\n }\n\n onHeaders () {\n throw new SocketError('bad upgrade', null)\n }\n\n onUpgrade (statusCode, rawHeaders, socket) {\n assert(statusCode === 101)\n\n const { callback, opaque, context } = this\n\n removeSignal(this)\n\n this.callback = null\n const headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n this.runInAsyncScope(callback, null, null, {\n headers,\n socket,\n opaque,\n context\n })\n }\n\n onError (err) {\n const { callback, opaque } = this\n\n removeSignal(this)\n\n if (callback) {\n this.callback = null\n queueMicrotask(() => {\n this.runInAsyncScope(callback, null, err, { opaque })\n })\n }\n }\n}\n\nfunction upgrade (opts, callback) {\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n upgrade.call(this, opts, (err, data) => {\n return err ? reject(err) : resolve(data)\n })\n })\n }\n\n try {\n const upgradeHandler = new UpgradeHandler(opts, callback)\n this.dispatch({\n ...opts,\n method: opts.method || 'GET',\n upgrade: opts.protocol || 'Websocket'\n }, upgradeHandler)\n } catch (err) {\n if (typeof callback !== 'function') {\n throw err\n }\n const opaque = opts?.opaque\n queueMicrotask(() => callback(err, { opaque }))\n }\n}\n\nmodule.exports = upgrade\n", "'use strict'\n\nconst assert = require('node:assert')\nconst { AsyncResource } = require('node:async_hooks')\nconst { InvalidArgumentError, SocketError } = require('../core/errors')\nconst util = require('../core/util')\nconst { addSignal, removeSignal } = require('./abort-signal')\n\nclass ConnectHandler extends AsyncResource {\n constructor (opts, callback) {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('invalid opts')\n }\n\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n const { signal, opaque, responseHeaders } = opts\n\n if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') {\n throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')\n }\n\n super('UNDICI_CONNECT')\n\n this.opaque = opaque || null\n this.responseHeaders = responseHeaders || null\n this.callback = callback\n this.abort = null\n\n addSignal(this, signal)\n }\n\n onConnect (abort, context) {\n if (this.reason) {\n abort(this.reason)\n return\n }\n\n assert(this.callback)\n\n this.abort = abort\n this.context = context\n }\n\n onHeaders () {\n throw new SocketError('bad connect', null)\n }\n\n onUpgrade (statusCode, rawHeaders, socket) {\n const { callback, opaque, context } = this\n\n removeSignal(this)\n\n this.callback = null\n\n let headers = rawHeaders\n // Indicates is an HTTP2Session\n if (headers != null) {\n headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n }\n\n this.runInAsyncScope(callback, null, null, {\n statusCode,\n headers,\n socket,\n opaque,\n context\n })\n }\n\n onError (err) {\n const { callback, opaque } = this\n\n removeSignal(this)\n\n if (callback) {\n this.callback = null\n queueMicrotask(() => {\n this.runInAsyncScope(callback, null, err, { opaque })\n })\n }\n }\n}\n\nfunction connect (opts, callback) {\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n connect.call(this, opts, (err, data) => {\n return err ? reject(err) : resolve(data)\n })\n })\n }\n\n try {\n const connectHandler = new ConnectHandler(opts, callback)\n this.dispatch({ ...opts, method: 'CONNECT' }, connectHandler)\n } catch (err) {\n if (typeof callback !== 'function') {\n throw err\n }\n const opaque = opts?.opaque\n queueMicrotask(() => callback(err, { opaque }))\n }\n}\n\nmodule.exports = connect\n", "'use strict'\n\nmodule.exports.request = require('./api-request')\nmodule.exports.stream = require('./api-stream')\nmodule.exports.pipeline = require('./api-pipeline')\nmodule.exports.upgrade = require('./api-upgrade')\nmodule.exports.connect = require('./api-connect')\n", "'use strict'\n\nconst { UndiciError } = require('../core/errors')\n\nconst kMockNotMatchedError = Symbol.for('undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED')\n\n/**\n * The request does not match any registered mock dispatches.\n */\nclass MockNotMatchedError extends UndiciError {\n constructor (message) {\n super(message)\n Error.captureStackTrace(this, MockNotMatchedError)\n this.name = 'MockNotMatchedError'\n this.message = message || 'The request does not match any registered mock dispatches'\n this.code = 'UND_MOCK_ERR_MOCK_NOT_MATCHED'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kMockNotMatchedError] === true\n }\n\n [kMockNotMatchedError] = true\n}\n\nmodule.exports = {\n MockNotMatchedError\n}\n", "'use strict'\n\nmodule.exports = {\n kAgent: Symbol('agent'),\n kOptions: Symbol('options'),\n kFactory: Symbol('factory'),\n kDispatches: Symbol('dispatches'),\n kDispatchKey: Symbol('dispatch key'),\n kDefaultHeaders: Symbol('default headers'),\n kDefaultTrailers: Symbol('default trailers'),\n kContentLength: Symbol('content length'),\n kMockAgent: Symbol('mock agent'),\n kMockAgentSet: Symbol('mock agent set'),\n kMockAgentGet: Symbol('mock agent get'),\n kMockDispatch: Symbol('mock dispatch'),\n kClose: Symbol('close'),\n kOriginalClose: Symbol('original agent close'),\n kOrigin: Symbol('origin'),\n kIsMockActive: Symbol('is mock active'),\n kNetConnect: Symbol('net connect'),\n kGetNetConnect: Symbol('get net connect'),\n kConnected: Symbol('connected')\n}\n", "'use strict'\n\nconst { MockNotMatchedError } = require('./mock-errors')\nconst {\n kDispatches,\n kMockAgent,\n kOriginalDispatch,\n kOrigin,\n kGetNetConnect\n} = require('./mock-symbols')\nconst { buildURL } = require('../core/util')\nconst { STATUS_CODES } = require('node:http')\nconst {\n types: {\n isPromise\n }\n} = require('node:util')\n\nfunction matchValue (match, value) {\n if (typeof match === 'string') {\n return match === value\n }\n if (match instanceof RegExp) {\n return match.test(value)\n }\n if (typeof match === 'function') {\n return match(value) === true\n }\n return false\n}\n\nfunction lowerCaseEntries (headers) {\n return Object.fromEntries(\n Object.entries(headers).map(([headerName, headerValue]) => {\n return [headerName.toLocaleLowerCase(), headerValue]\n })\n )\n}\n\n/**\n * @param {import('../../index').Headers|string[]|Record} headers\n * @param {string} key\n */\nfunction getHeaderByName (headers, key) {\n if (Array.isArray(headers)) {\n for (let i = 0; i < headers.length; i += 2) {\n if (headers[i].toLocaleLowerCase() === key.toLocaleLowerCase()) {\n return headers[i + 1]\n }\n }\n\n return undefined\n } else if (typeof headers.get === 'function') {\n return headers.get(key)\n } else {\n return lowerCaseEntries(headers)[key.toLocaleLowerCase()]\n }\n}\n\n/** @param {string[]} headers */\nfunction buildHeadersFromArray (headers) { // fetch HeadersList\n const clone = headers.slice()\n const entries = []\n for (let index = 0; index < clone.length; index += 2) {\n entries.push([clone[index], clone[index + 1]])\n }\n return Object.fromEntries(entries)\n}\n\nfunction matchHeaders (mockDispatch, headers) {\n if (typeof mockDispatch.headers === 'function') {\n if (Array.isArray(headers)) { // fetch HeadersList\n headers = buildHeadersFromArray(headers)\n }\n return mockDispatch.headers(headers ? lowerCaseEntries(headers) : {})\n }\n if (typeof mockDispatch.headers === 'undefined') {\n return true\n }\n if (typeof headers !== 'object' || typeof mockDispatch.headers !== 'object') {\n return false\n }\n\n for (const [matchHeaderName, matchHeaderValue] of Object.entries(mockDispatch.headers)) {\n const headerValue = getHeaderByName(headers, matchHeaderName)\n\n if (!matchValue(matchHeaderValue, headerValue)) {\n return false\n }\n }\n return true\n}\n\nfunction safeUrl (path) {\n if (typeof path !== 'string') {\n return path\n }\n\n const pathSegments = path.split('?')\n\n if (pathSegments.length !== 2) {\n return path\n }\n\n const qp = new URLSearchParams(pathSegments.pop())\n qp.sort()\n return [...pathSegments, qp.toString()].join('?')\n}\n\nfunction matchKey (mockDispatch, { path, method, body, headers }) {\n const pathMatch = matchValue(mockDispatch.path, path)\n const methodMatch = matchValue(mockDispatch.method, method)\n const bodyMatch = typeof mockDispatch.body !== 'undefined' ? matchValue(mockDispatch.body, body) : true\n const headersMatch = matchHeaders(mockDispatch, headers)\n return pathMatch && methodMatch && bodyMatch && headersMatch\n}\n\nfunction getResponseData (data) {\n if (Buffer.isBuffer(data)) {\n return data\n } else if (data instanceof Uint8Array) {\n return data\n } else if (data instanceof ArrayBuffer) {\n return data\n } else if (typeof data === 'object') {\n return JSON.stringify(data)\n } else {\n return data.toString()\n }\n}\n\nfunction getMockDispatch (mockDispatches, key) {\n const basePath = key.query ? buildURL(key.path, key.query) : key.path\n const resolvedPath = typeof basePath === 'string' ? safeUrl(basePath) : basePath\n\n // Match path\n let matchedMockDispatches = mockDispatches.filter(({ consumed }) => !consumed).filter(({ path }) => matchValue(safeUrl(path), resolvedPath))\n if (matchedMockDispatches.length === 0) {\n throw new MockNotMatchedError(`Mock dispatch not matched for path '${resolvedPath}'`)\n }\n\n // Match method\n matchedMockDispatches = matchedMockDispatches.filter(({ method }) => matchValue(method, key.method))\n if (matchedMockDispatches.length === 0) {\n throw new MockNotMatchedError(`Mock dispatch not matched for method '${key.method}' on path '${resolvedPath}'`)\n }\n\n // Match body\n matchedMockDispatches = matchedMockDispatches.filter(({ body }) => typeof body !== 'undefined' ? matchValue(body, key.body) : true)\n if (matchedMockDispatches.length === 0) {\n throw new MockNotMatchedError(`Mock dispatch not matched for body '${key.body}' on path '${resolvedPath}'`)\n }\n\n // Match headers\n matchedMockDispatches = matchedMockDispatches.filter((mockDispatch) => matchHeaders(mockDispatch, key.headers))\n if (matchedMockDispatches.length === 0) {\n const headers = typeof key.headers === 'object' ? JSON.stringify(key.headers) : key.headers\n throw new MockNotMatchedError(`Mock dispatch not matched for headers '${headers}' on path '${resolvedPath}'`)\n }\n\n return matchedMockDispatches[0]\n}\n\nfunction addMockDispatch (mockDispatches, key, data) {\n const baseData = { timesInvoked: 0, times: 1, persist: false, consumed: false }\n const replyData = typeof data === 'function' ? { callback: data } : { ...data }\n const newMockDispatch = { ...baseData, ...key, pending: true, data: { error: null, ...replyData } }\n mockDispatches.push(newMockDispatch)\n return newMockDispatch\n}\n\nfunction deleteMockDispatch (mockDispatches, key) {\n const index = mockDispatches.findIndex(dispatch => {\n if (!dispatch.consumed) {\n return false\n }\n return matchKey(dispatch, key)\n })\n if (index !== -1) {\n mockDispatches.splice(index, 1)\n }\n}\n\nfunction buildKey (opts) {\n const { path, method, body, headers, query } = opts\n return {\n path,\n method,\n body,\n headers,\n query\n }\n}\n\nfunction generateKeyValues (data) {\n const keys = Object.keys(data)\n const result = []\n for (let i = 0; i < keys.length; ++i) {\n const key = keys[i]\n const value = data[key]\n const name = Buffer.from(`${key}`)\n if (Array.isArray(value)) {\n for (let j = 0; j < value.length; ++j) {\n result.push(name, Buffer.from(`${value[j]}`))\n }\n } else {\n result.push(name, Buffer.from(`${value}`))\n }\n }\n return result\n}\n\n/**\n * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Status\n * @param {number} statusCode\n */\nfunction getStatusText (statusCode) {\n return STATUS_CODES[statusCode] || 'unknown'\n}\n\nasync function getResponse (body) {\n const buffers = []\n for await (const data of body) {\n buffers.push(data)\n }\n return Buffer.concat(buffers).toString('utf8')\n}\n\n/**\n * Mock dispatch function used to simulate undici dispatches\n */\nfunction mockDispatch (opts, handler) {\n // Get mock dispatch from built key\n const key = buildKey(opts)\n const mockDispatch = getMockDispatch(this[kDispatches], key)\n\n mockDispatch.timesInvoked++\n\n // Here's where we resolve a callback if a callback is present for the dispatch data.\n if (mockDispatch.data.callback) {\n mockDispatch.data = { ...mockDispatch.data, ...mockDispatch.data.callback(opts) }\n }\n\n // Parse mockDispatch data\n const { data: { statusCode, data, headers, trailers, error }, delay, persist } = mockDispatch\n const { timesInvoked, times } = mockDispatch\n\n // If it's used up and not persistent, mark as consumed\n mockDispatch.consumed = !persist && timesInvoked >= times\n mockDispatch.pending = timesInvoked < times\n\n // If specified, trigger dispatch error\n if (error !== null) {\n deleteMockDispatch(this[kDispatches], key)\n handler.onError(error)\n return true\n }\n\n // Handle the request with a delay if necessary\n if (typeof delay === 'number' && delay > 0) {\n setTimeout(() => {\n handleReply(this[kDispatches])\n }, delay)\n } else {\n handleReply(this[kDispatches])\n }\n\n function handleReply (mockDispatches, _data = data) {\n // fetch's HeadersList is a 1D string array\n const optsHeaders = Array.isArray(opts.headers)\n ? buildHeadersFromArray(opts.headers)\n : opts.headers\n const body = typeof _data === 'function'\n ? _data({ ...opts, headers: optsHeaders })\n : _data\n\n // util.types.isPromise is likely needed for jest.\n if (isPromise(body)) {\n // If handleReply is asynchronous, throwing an error\n // in the callback will reject the promise, rather than\n // synchronously throw the error, which breaks some tests.\n // Rather, we wait for the callback to resolve if it is a\n // promise, and then re-run handleReply with the new body.\n body.then((newData) => handleReply(mockDispatches, newData))\n return\n }\n\n const responseData = getResponseData(body)\n const responseHeaders = generateKeyValues(headers)\n const responseTrailers = generateKeyValues(trailers)\n\n handler.onConnect?.(err => handler.onError(err), null)\n handler.onHeaders?.(statusCode, responseHeaders, resume, getStatusText(statusCode))\n handler.onData?.(Buffer.from(responseData))\n handler.onComplete?.(responseTrailers)\n deleteMockDispatch(mockDispatches, key)\n }\n\n function resume () {}\n\n return true\n}\n\nfunction buildMockDispatch () {\n const agent = this[kMockAgent]\n const origin = this[kOrigin]\n const originalDispatch = this[kOriginalDispatch]\n\n return function dispatch (opts, handler) {\n if (agent.isMockActive) {\n try {\n mockDispatch.call(this, opts, handler)\n } catch (error) {\n if (error instanceof MockNotMatchedError) {\n const netConnect = agent[kGetNetConnect]()\n if (netConnect === false) {\n throw new MockNotMatchedError(`${error.message}: subsequent request to origin ${origin} was not allowed (net.connect disabled)`)\n }\n if (checkNetConnect(netConnect, origin)) {\n originalDispatch.call(this, opts, handler)\n } else {\n throw new MockNotMatchedError(`${error.message}: subsequent request to origin ${origin} was not allowed (net.connect is not enabled for this origin)`)\n }\n } else {\n throw error\n }\n }\n } else {\n originalDispatch.call(this, opts, handler)\n }\n }\n}\n\nfunction checkNetConnect (netConnect, origin) {\n const url = new URL(origin)\n if (netConnect === true) {\n return true\n } else if (Array.isArray(netConnect) && netConnect.some((matcher) => matchValue(matcher, url.host))) {\n return true\n }\n return false\n}\n\nfunction buildMockOptions (opts) {\n if (opts) {\n const { agent, ...mockOptions } = opts\n return mockOptions\n }\n}\n\nmodule.exports = {\n getResponseData,\n getMockDispatch,\n addMockDispatch,\n deleteMockDispatch,\n buildKey,\n generateKeyValues,\n matchValue,\n getResponse,\n getStatusText,\n mockDispatch,\n buildMockDispatch,\n checkNetConnect,\n buildMockOptions,\n getHeaderByName,\n buildHeadersFromArray\n}\n", "'use strict'\n\nconst { getResponseData, buildKey, addMockDispatch } = require('./mock-utils')\nconst {\n kDispatches,\n kDispatchKey,\n kDefaultHeaders,\n kDefaultTrailers,\n kContentLength,\n kMockDispatch\n} = require('./mock-symbols')\nconst { InvalidArgumentError } = require('../core/errors')\nconst { buildURL } = require('../core/util')\n\n/**\n * Defines the scope API for an interceptor reply\n */\nclass MockScope {\n constructor (mockDispatch) {\n this[kMockDispatch] = mockDispatch\n }\n\n /**\n * Delay a reply by a set amount in ms.\n */\n delay (waitInMs) {\n if (typeof waitInMs !== 'number' || !Number.isInteger(waitInMs) || waitInMs <= 0) {\n throw new InvalidArgumentError('waitInMs must be a valid integer > 0')\n }\n\n this[kMockDispatch].delay = waitInMs\n return this\n }\n\n /**\n * For a defined reply, never mark as consumed.\n */\n persist () {\n this[kMockDispatch].persist = true\n return this\n }\n\n /**\n * Allow one to define a reply for a set amount of matching requests.\n */\n times (repeatTimes) {\n if (typeof repeatTimes !== 'number' || !Number.isInteger(repeatTimes) || repeatTimes <= 0) {\n throw new InvalidArgumentError('repeatTimes must be a valid integer > 0')\n }\n\n this[kMockDispatch].times = repeatTimes\n return this\n }\n}\n\n/**\n * Defines an interceptor for a Mock\n */\nclass MockInterceptor {\n constructor (opts, mockDispatches) {\n if (typeof opts !== 'object') {\n throw new InvalidArgumentError('opts must be an object')\n }\n if (typeof opts.path === 'undefined') {\n throw new InvalidArgumentError('opts.path must be defined')\n }\n if (typeof opts.method === 'undefined') {\n opts.method = 'GET'\n }\n // See https://github.com/nodejs/undici/issues/1245\n // As per RFC 3986, clients are not supposed to send URI\n // fragments to servers when they retrieve a document,\n if (typeof opts.path === 'string') {\n if (opts.query) {\n opts.path = buildURL(opts.path, opts.query)\n } else {\n // Matches https://github.com/nodejs/undici/blob/main/lib/web/fetch/index.js#L1811\n const parsedURL = new URL(opts.path, 'data://')\n opts.path = parsedURL.pathname + parsedURL.search\n }\n }\n if (typeof opts.method === 'string') {\n opts.method = opts.method.toUpperCase()\n }\n\n this[kDispatchKey] = buildKey(opts)\n this[kDispatches] = mockDispatches\n this[kDefaultHeaders] = {}\n this[kDefaultTrailers] = {}\n this[kContentLength] = false\n }\n\n createMockScopeDispatchData ({ statusCode, data, responseOptions }) {\n const responseData = getResponseData(data)\n const contentLength = this[kContentLength] ? { 'content-length': responseData.length } : {}\n const headers = { ...this[kDefaultHeaders], ...contentLength, ...responseOptions.headers }\n const trailers = { ...this[kDefaultTrailers], ...responseOptions.trailers }\n\n return { statusCode, data, headers, trailers }\n }\n\n validateReplyParameters (replyParameters) {\n if (typeof replyParameters.statusCode === 'undefined') {\n throw new InvalidArgumentError('statusCode must be defined')\n }\n if (typeof replyParameters.responseOptions !== 'object' || replyParameters.responseOptions === null) {\n throw new InvalidArgumentError('responseOptions must be an object')\n }\n }\n\n /**\n * Mock an undici request with a defined reply.\n */\n reply (replyOptionsCallbackOrStatusCode) {\n // Values of reply aren't available right now as they\n // can only be available when the reply callback is invoked.\n if (typeof replyOptionsCallbackOrStatusCode === 'function') {\n // We'll first wrap the provided callback in another function,\n // this function will properly resolve the data from the callback\n // when invoked.\n const wrappedDefaultsCallback = (opts) => {\n // Our reply options callback contains the parameter for statusCode, data and options.\n const resolvedData = replyOptionsCallbackOrStatusCode(opts)\n\n // Check if it is in the right format\n if (typeof resolvedData !== 'object' || resolvedData === null) {\n throw new InvalidArgumentError('reply options callback must return an object')\n }\n\n const replyParameters = { data: '', responseOptions: {}, ...resolvedData }\n this.validateReplyParameters(replyParameters)\n // Since the values can be obtained immediately we return them\n // from this higher order function that will be resolved later.\n return {\n ...this.createMockScopeDispatchData(replyParameters)\n }\n }\n\n // Add usual dispatch data, but this time set the data parameter to function that will eventually provide data.\n const newMockDispatch = addMockDispatch(this[kDispatches], this[kDispatchKey], wrappedDefaultsCallback)\n return new MockScope(newMockDispatch)\n }\n\n // We can have either one or three parameters, if we get here,\n // we should have 1-3 parameters. So we spread the arguments of\n // this function to obtain the parameters, since replyData will always\n // just be the statusCode.\n const replyParameters = {\n statusCode: replyOptionsCallbackOrStatusCode,\n data: arguments[1] === undefined ? '' : arguments[1],\n responseOptions: arguments[2] === undefined ? {} : arguments[2]\n }\n this.validateReplyParameters(replyParameters)\n\n // Send in-already provided data like usual\n const dispatchData = this.createMockScopeDispatchData(replyParameters)\n const newMockDispatch = addMockDispatch(this[kDispatches], this[kDispatchKey], dispatchData)\n return new MockScope(newMockDispatch)\n }\n\n /**\n * Mock an undici request with a defined error.\n */\n replyWithError (error) {\n if (typeof error === 'undefined') {\n throw new InvalidArgumentError('error must be defined')\n }\n\n const newMockDispatch = addMockDispatch(this[kDispatches], this[kDispatchKey], { error })\n return new MockScope(newMockDispatch)\n }\n\n /**\n * Set default reply headers on the interceptor for subsequent replies\n */\n defaultReplyHeaders (headers) {\n if (typeof headers === 'undefined') {\n throw new InvalidArgumentError('headers must be defined')\n }\n\n this[kDefaultHeaders] = headers\n return this\n }\n\n /**\n * Set default reply trailers on the interceptor for subsequent replies\n */\n defaultReplyTrailers (trailers) {\n if (typeof trailers === 'undefined') {\n throw new InvalidArgumentError('trailers must be defined')\n }\n\n this[kDefaultTrailers] = trailers\n return this\n }\n\n /**\n * Set reply content length header for replies on the interceptor\n */\n replyContentLength () {\n this[kContentLength] = true\n return this\n }\n}\n\nmodule.exports.MockInterceptor = MockInterceptor\nmodule.exports.MockScope = MockScope\n", "'use strict'\n\nconst { promisify } = require('node:util')\nconst Client = require('../dispatcher/client')\nconst { buildMockDispatch } = require('./mock-utils')\nconst {\n kDispatches,\n kMockAgent,\n kClose,\n kOriginalClose,\n kOrigin,\n kOriginalDispatch,\n kConnected\n} = require('./mock-symbols')\nconst { MockInterceptor } = require('./mock-interceptor')\nconst Symbols = require('../core/symbols')\nconst { InvalidArgumentError } = require('../core/errors')\n\n/**\n * MockClient provides an API that extends the Client to influence the mockDispatches.\n */\nclass MockClient extends Client {\n constructor (origin, opts) {\n super(origin, opts)\n\n if (!opts || !opts.agent || typeof opts.agent.dispatch !== 'function') {\n throw new InvalidArgumentError('Argument opts.agent must implement Agent')\n }\n\n this[kMockAgent] = opts.agent\n this[kOrigin] = origin\n this[kDispatches] = []\n this[kConnected] = 1\n this[kOriginalDispatch] = this.dispatch\n this[kOriginalClose] = this.close.bind(this)\n\n this.dispatch = buildMockDispatch.call(this)\n this.close = this[kClose]\n }\n\n get [Symbols.kConnected] () {\n return this[kConnected]\n }\n\n /**\n * Sets up the base interceptor for mocking replies from undici.\n */\n intercept (opts) {\n return new MockInterceptor(opts, this[kDispatches])\n }\n\n async [kClose] () {\n await promisify(this[kOriginalClose])()\n this[kConnected] = 0\n this[kMockAgent][Symbols.kClients].delete(this[kOrigin])\n }\n}\n\nmodule.exports = MockClient\n", "'use strict'\n\nconst { promisify } = require('node:util')\nconst Pool = require('../dispatcher/pool')\nconst { buildMockDispatch } = require('./mock-utils')\nconst {\n kDispatches,\n kMockAgent,\n kClose,\n kOriginalClose,\n kOrigin,\n kOriginalDispatch,\n kConnected\n} = require('./mock-symbols')\nconst { MockInterceptor } = require('./mock-interceptor')\nconst Symbols = require('../core/symbols')\nconst { InvalidArgumentError } = require('../core/errors')\n\n/**\n * MockPool provides an API that extends the Pool to influence the mockDispatches.\n */\nclass MockPool extends Pool {\n constructor (origin, opts) {\n super(origin, opts)\n\n if (!opts || !opts.agent || typeof opts.agent.dispatch !== 'function') {\n throw new InvalidArgumentError('Argument opts.agent must implement Agent')\n }\n\n this[kMockAgent] = opts.agent\n this[kOrigin] = origin\n this[kDispatches] = []\n this[kConnected] = 1\n this[kOriginalDispatch] = this.dispatch\n this[kOriginalClose] = this.close.bind(this)\n\n this.dispatch = buildMockDispatch.call(this)\n this.close = this[kClose]\n }\n\n get [Symbols.kConnected] () {\n return this[kConnected]\n }\n\n /**\n * Sets up the base interceptor for mocking replies from undici.\n */\n intercept (opts) {\n return new MockInterceptor(opts, this[kDispatches])\n }\n\n async [kClose] () {\n await promisify(this[kOriginalClose])()\n this[kConnected] = 0\n this[kMockAgent][Symbols.kClients].delete(this[kOrigin])\n }\n}\n\nmodule.exports = MockPool\n", "'use strict'\n\nconst singulars = {\n pronoun: 'it',\n is: 'is',\n was: 'was',\n this: 'this'\n}\n\nconst plurals = {\n pronoun: 'they',\n is: 'are',\n was: 'were',\n this: 'these'\n}\n\nmodule.exports = class Pluralizer {\n constructor (singular, plural) {\n this.singular = singular\n this.plural = plural\n }\n\n pluralize (count) {\n const one = count === 1\n const keys = one ? singulars : plurals\n const noun = one ? this.singular : this.plural\n return { ...keys, count, noun }\n }\n}\n", "'use strict'\n\nconst { Transform } = require('node:stream')\nconst { Console } = require('node:console')\n\nconst PERSISTENT = process.versions.icu ? '\u2705' : 'Y '\nconst NOT_PERSISTENT = process.versions.icu ? '\u274C' : 'N '\n\n/**\n * Gets the output of `console.table(\u2026)` as a string.\n */\nmodule.exports = class PendingInterceptorsFormatter {\n constructor ({ disableColors } = {}) {\n this.transform = new Transform({\n transform (chunk, _enc, cb) {\n cb(null, chunk)\n }\n })\n\n this.logger = new Console({\n stdout: this.transform,\n inspectOptions: {\n colors: !disableColors && !process.env.CI\n }\n })\n }\n\n format (pendingInterceptors) {\n const withPrettyHeaders = pendingInterceptors.map(\n ({ method, path, data: { statusCode }, persist, times, timesInvoked, origin }) => ({\n Method: method,\n Origin: origin,\n Path: path,\n 'Status code': statusCode,\n Persistent: persist ? PERSISTENT : NOT_PERSISTENT,\n Invocations: timesInvoked,\n Remaining: persist ? Infinity : times - timesInvoked\n }))\n\n this.logger.table(withPrettyHeaders)\n return this.transform.read().toString()\n }\n}\n", "'use strict'\n\nconst { kClients } = require('../core/symbols')\nconst Agent = require('../dispatcher/agent')\nconst {\n kAgent,\n kMockAgentSet,\n kMockAgentGet,\n kDispatches,\n kIsMockActive,\n kNetConnect,\n kGetNetConnect,\n kOptions,\n kFactory\n} = require('./mock-symbols')\nconst MockClient = require('./mock-client')\nconst MockPool = require('./mock-pool')\nconst { matchValue, buildMockOptions } = require('./mock-utils')\nconst { InvalidArgumentError, UndiciError } = require('../core/errors')\nconst Dispatcher = require('../dispatcher/dispatcher')\nconst Pluralizer = require('./pluralizer')\nconst PendingInterceptorsFormatter = require('./pending-interceptors-formatter')\n\nclass MockAgent extends Dispatcher {\n constructor (opts) {\n super(opts)\n\n this[kNetConnect] = true\n this[kIsMockActive] = true\n\n // Instantiate Agent and encapsulate\n if ((opts?.agent && typeof opts.agent.dispatch !== 'function')) {\n throw new InvalidArgumentError('Argument opts.agent must implement Agent')\n }\n const agent = opts?.agent ? opts.agent : new Agent(opts)\n this[kAgent] = agent\n\n this[kClients] = agent[kClients]\n this[kOptions] = buildMockOptions(opts)\n }\n\n get (origin) {\n let dispatcher = this[kMockAgentGet](origin)\n\n if (!dispatcher) {\n dispatcher = this[kFactory](origin)\n this[kMockAgentSet](origin, dispatcher)\n }\n return dispatcher\n }\n\n dispatch (opts, handler) {\n // Call MockAgent.get to perform additional setup before dispatching as normal\n this.get(opts.origin)\n return this[kAgent].dispatch(opts, handler)\n }\n\n async close () {\n await this[kAgent].close()\n this[kClients].clear()\n }\n\n deactivate () {\n this[kIsMockActive] = false\n }\n\n activate () {\n this[kIsMockActive] = true\n }\n\n enableNetConnect (matcher) {\n if (typeof matcher === 'string' || typeof matcher === 'function' || matcher instanceof RegExp) {\n if (Array.isArray(this[kNetConnect])) {\n this[kNetConnect].push(matcher)\n } else {\n this[kNetConnect] = [matcher]\n }\n } else if (typeof matcher === 'undefined') {\n this[kNetConnect] = true\n } else {\n throw new InvalidArgumentError('Unsupported matcher. Must be one of String|Function|RegExp.')\n }\n }\n\n disableNetConnect () {\n this[kNetConnect] = false\n }\n\n // This is required to bypass issues caused by using global symbols - see:\n // https://github.com/nodejs/undici/issues/1447\n get isMockActive () {\n return this[kIsMockActive]\n }\n\n [kMockAgentSet] (origin, dispatcher) {\n this[kClients].set(origin, dispatcher)\n }\n\n [kFactory] (origin) {\n const mockOptions = Object.assign({ agent: this }, this[kOptions])\n return this[kOptions] && this[kOptions].connections === 1\n ? new MockClient(origin, mockOptions)\n : new MockPool(origin, mockOptions)\n }\n\n [kMockAgentGet] (origin) {\n // First check if we can immediately find it\n const client = this[kClients].get(origin)\n if (client) {\n return client\n }\n\n // If the origin is not a string create a dummy parent pool and return to user\n if (typeof origin !== 'string') {\n const dispatcher = this[kFactory]('http://localhost:9999')\n this[kMockAgentSet](origin, dispatcher)\n return dispatcher\n }\n\n // If we match, create a pool and assign the same dispatches\n for (const [keyMatcher, nonExplicitDispatcher] of Array.from(this[kClients])) {\n if (nonExplicitDispatcher && typeof keyMatcher !== 'string' && matchValue(keyMatcher, origin)) {\n const dispatcher = this[kFactory](origin)\n this[kMockAgentSet](origin, dispatcher)\n dispatcher[kDispatches] = nonExplicitDispatcher[kDispatches]\n return dispatcher\n }\n }\n }\n\n [kGetNetConnect] () {\n return this[kNetConnect]\n }\n\n pendingInterceptors () {\n const mockAgentClients = this[kClients]\n\n return Array.from(mockAgentClients.entries())\n .flatMap(([origin, scope]) => scope[kDispatches].map(dispatch => ({ ...dispatch, origin })))\n .filter(({ pending }) => pending)\n }\n\n assertNoPendingInterceptors ({ pendingInterceptorsFormatter = new PendingInterceptorsFormatter() } = {}) {\n const pending = this.pendingInterceptors()\n\n if (pending.length === 0) {\n return\n }\n\n const pluralizer = new Pluralizer('interceptor', 'interceptors').pluralize(pending.length)\n\n throw new UndiciError(`\n${pluralizer.count} ${pluralizer.noun} ${pluralizer.is} pending:\n\n${pendingInterceptorsFormatter.format(pending)}\n`.trim())\n }\n}\n\nmodule.exports = MockAgent\n", "'use strict'\n\n// We include a version number for the Dispatcher API. In case of breaking changes,\n// this version number must be increased to avoid conflicts.\nconst globalDispatcher = Symbol.for('undici.globalDispatcher.1')\nconst { InvalidArgumentError } = require('./core/errors')\nconst Agent = require('./dispatcher/agent')\n\nif (getGlobalDispatcher() === undefined) {\n setGlobalDispatcher(new Agent())\n}\n\nfunction setGlobalDispatcher (agent) {\n if (!agent || typeof agent.dispatch !== 'function') {\n throw new InvalidArgumentError('Argument agent must implement Agent')\n }\n Object.defineProperty(globalThis, globalDispatcher, {\n value: agent,\n writable: true,\n enumerable: false,\n configurable: false\n })\n}\n\nfunction getGlobalDispatcher () {\n return globalThis[globalDispatcher]\n}\n\nmodule.exports = {\n setGlobalDispatcher,\n getGlobalDispatcher\n}\n", "'use strict'\n\nmodule.exports = class DecoratorHandler {\n #handler\n\n constructor (handler) {\n if (typeof handler !== 'object' || handler === null) {\n throw new TypeError('handler must be an object')\n }\n this.#handler = handler\n }\n\n onConnect (...args) {\n return this.#handler.onConnect?.(...args)\n }\n\n onError (...args) {\n return this.#handler.onError?.(...args)\n }\n\n onUpgrade (...args) {\n return this.#handler.onUpgrade?.(...args)\n }\n\n onResponseStarted (...args) {\n return this.#handler.onResponseStarted?.(...args)\n }\n\n onHeaders (...args) {\n return this.#handler.onHeaders?.(...args)\n }\n\n onData (...args) {\n return this.#handler.onData?.(...args)\n }\n\n onComplete (...args) {\n return this.#handler.onComplete?.(...args)\n }\n\n onBodySent (...args) {\n return this.#handler.onBodySent?.(...args)\n }\n}\n", "'use strict'\nconst RedirectHandler = require('../handler/redirect-handler')\n\nmodule.exports = opts => {\n const globalMaxRedirections = opts?.maxRedirections\n return dispatch => {\n return function redirectInterceptor (opts, handler) {\n const { maxRedirections = globalMaxRedirections, ...baseOpts } = opts\n\n if (!maxRedirections) {\n return dispatch(opts, handler)\n }\n\n const redirectHandler = new RedirectHandler(\n dispatch,\n maxRedirections,\n opts,\n handler\n )\n\n return dispatch(baseOpts, redirectHandler)\n }\n }\n}\n", "'use strict'\nconst RetryHandler = require('../handler/retry-handler')\n\nmodule.exports = globalOpts => {\n return dispatch => {\n return function retryInterceptor (opts, handler) {\n return dispatch(\n opts,\n new RetryHandler(\n { ...opts, retryOptions: { ...globalOpts, ...opts.retryOptions } },\n {\n handler,\n dispatch\n }\n )\n )\n }\n }\n}\n", "'use strict'\n\nconst util = require('../core/util')\nconst { InvalidArgumentError, RequestAbortedError } = require('../core/errors')\nconst DecoratorHandler = require('../handler/decorator-handler')\n\nclass DumpHandler extends DecoratorHandler {\n #maxSize = 1024 * 1024\n #abort = null\n #dumped = false\n #aborted = false\n #size = 0\n #reason = null\n #handler = null\n\n constructor ({ maxSize }, handler) {\n super(handler)\n\n if (maxSize != null && (!Number.isFinite(maxSize) || maxSize < 1)) {\n throw new InvalidArgumentError('maxSize must be a number greater than 0')\n }\n\n this.#maxSize = maxSize ?? this.#maxSize\n this.#handler = handler\n }\n\n onConnect (abort) {\n this.#abort = abort\n\n this.#handler.onConnect(this.#customAbort.bind(this))\n }\n\n #customAbort (reason) {\n this.#aborted = true\n this.#reason = reason\n }\n\n // TODO: will require adjustment after new hooks are out\n onHeaders (statusCode, rawHeaders, resume, statusMessage) {\n const headers = util.parseHeaders(rawHeaders)\n const contentLength = headers['content-length']\n\n if (contentLength != null && contentLength > this.#maxSize) {\n throw new RequestAbortedError(\n `Response size (${contentLength}) larger than maxSize (${\n this.#maxSize\n })`\n )\n }\n\n if (this.#aborted) {\n return true\n }\n\n return this.#handler.onHeaders(\n statusCode,\n rawHeaders,\n resume,\n statusMessage\n )\n }\n\n onError (err) {\n if (this.#dumped) {\n return\n }\n\n err = this.#reason ?? err\n\n this.#handler.onError(err)\n }\n\n onData (chunk) {\n this.#size = this.#size + chunk.length\n\n if (this.#size >= this.#maxSize) {\n this.#dumped = true\n\n if (this.#aborted) {\n this.#handler.onError(this.#reason)\n } else {\n this.#handler.onComplete([])\n }\n }\n\n return true\n }\n\n onComplete (trailers) {\n if (this.#dumped) {\n return\n }\n\n if (this.#aborted) {\n this.#handler.onError(this.reason)\n return\n }\n\n this.#handler.onComplete(trailers)\n }\n}\n\nfunction createDumpInterceptor (\n { maxSize: defaultMaxSize } = {\n maxSize: 1024 * 1024\n }\n) {\n return dispatch => {\n return function Intercept (opts, handler) {\n const { dumpMaxSize = defaultMaxSize } =\n opts\n\n const dumpHandler = new DumpHandler(\n { maxSize: dumpMaxSize },\n handler\n )\n\n return dispatch(opts, dumpHandler)\n }\n }\n}\n\nmodule.exports = createDumpInterceptor\n", "'use strict'\nconst { isIP } = require('node:net')\nconst { lookup } = require('node:dns')\nconst DecoratorHandler = require('../handler/decorator-handler')\nconst { InvalidArgumentError, InformationalError } = require('../core/errors')\nconst maxInt = Math.pow(2, 31) - 1\n\nclass DNSInstance {\n #maxTTL = 0\n #maxItems = 0\n #records = new Map()\n dualStack = true\n affinity = null\n lookup = null\n pick = null\n\n constructor (opts) {\n this.#maxTTL = opts.maxTTL\n this.#maxItems = opts.maxItems\n this.dualStack = opts.dualStack\n this.affinity = opts.affinity\n this.lookup = opts.lookup ?? this.#defaultLookup\n this.pick = opts.pick ?? this.#defaultPick\n }\n\n get full () {\n return this.#records.size === this.#maxItems\n }\n\n runLookup (origin, opts, cb) {\n const ips = this.#records.get(origin.hostname)\n\n // If full, we just return the origin\n if (ips == null && this.full) {\n cb(null, origin.origin)\n return\n }\n\n const newOpts = {\n affinity: this.affinity,\n dualStack: this.dualStack,\n lookup: this.lookup,\n pick: this.pick,\n ...opts.dns,\n maxTTL: this.#maxTTL,\n maxItems: this.#maxItems\n }\n\n // If no IPs we lookup\n if (ips == null) {\n this.lookup(origin, newOpts, (err, addresses) => {\n if (err || addresses == null || addresses.length === 0) {\n cb(err ?? new InformationalError('No DNS entries found'))\n return\n }\n\n this.setRecords(origin, addresses)\n const records = this.#records.get(origin.hostname)\n\n const ip = this.pick(\n origin,\n records,\n newOpts.affinity\n )\n\n let port\n if (typeof ip.port === 'number') {\n port = `:${ip.port}`\n } else if (origin.port !== '') {\n port = `:${origin.port}`\n } else {\n port = ''\n }\n\n cb(\n null,\n `${origin.protocol}//${\n ip.family === 6 ? `[${ip.address}]` : ip.address\n }${port}`\n )\n })\n } else {\n // If there's IPs we pick\n const ip = this.pick(\n origin,\n ips,\n newOpts.affinity\n )\n\n // If no IPs we lookup - deleting old records\n if (ip == null) {\n this.#records.delete(origin.hostname)\n this.runLookup(origin, opts, cb)\n return\n }\n\n let port\n if (typeof ip.port === 'number') {\n port = `:${ip.port}`\n } else if (origin.port !== '') {\n port = `:${origin.port}`\n } else {\n port = ''\n }\n\n cb(\n null,\n `${origin.protocol}//${\n ip.family === 6 ? `[${ip.address}]` : ip.address\n }${port}`\n )\n }\n }\n\n #defaultLookup (origin, opts, cb) {\n lookup(\n origin.hostname,\n {\n all: true,\n family: this.dualStack === false ? this.affinity : 0,\n order: 'ipv4first'\n },\n (err, addresses) => {\n if (err) {\n return cb(err)\n }\n\n const results = new Map()\n\n for (const addr of addresses) {\n // On linux we found duplicates, we attempt to remove them with\n // the latest record\n results.set(`${addr.address}:${addr.family}`, addr)\n }\n\n cb(null, results.values())\n }\n )\n }\n\n #defaultPick (origin, hostnameRecords, affinity) {\n let ip = null\n const { records, offset } = hostnameRecords\n\n let family\n if (this.dualStack) {\n if (affinity == null) {\n // Balance between ip families\n if (offset == null || offset === maxInt) {\n hostnameRecords.offset = 0\n affinity = 4\n } else {\n hostnameRecords.offset++\n affinity = (hostnameRecords.offset & 1) === 1 ? 6 : 4\n }\n }\n\n if (records[affinity] != null && records[affinity].ips.length > 0) {\n family = records[affinity]\n } else {\n family = records[affinity === 4 ? 6 : 4]\n }\n } else {\n family = records[affinity]\n }\n\n // If no IPs we return null\n if (family == null || family.ips.length === 0) {\n return ip\n }\n\n if (family.offset == null || family.offset === maxInt) {\n family.offset = 0\n } else {\n family.offset++\n }\n\n const position = family.offset % family.ips.length\n ip = family.ips[position] ?? null\n\n if (ip == null) {\n return ip\n }\n\n if (Date.now() - ip.timestamp > ip.ttl) { // record TTL is already in ms\n // We delete expired records\n // It is possible that they have different TTL, so we manage them individually\n family.ips.splice(position, 1)\n return this.pick(origin, hostnameRecords, affinity)\n }\n\n return ip\n }\n\n setRecords (origin, addresses) {\n const timestamp = Date.now()\n const records = { records: { 4: null, 6: null } }\n for (const record of addresses) {\n record.timestamp = timestamp\n if (typeof record.ttl === 'number') {\n // The record TTL is expected to be in ms\n record.ttl = Math.min(record.ttl, this.#maxTTL)\n } else {\n record.ttl = this.#maxTTL\n }\n\n const familyRecords = records.records[record.family] ?? { ips: [] }\n\n familyRecords.ips.push(record)\n records.records[record.family] = familyRecords\n }\n\n this.#records.set(origin.hostname, records)\n }\n\n getHandler (meta, opts) {\n return new DNSDispatchHandler(this, meta, opts)\n }\n}\n\nclass DNSDispatchHandler extends DecoratorHandler {\n #state = null\n #opts = null\n #dispatch = null\n #handler = null\n #origin = null\n\n constructor (state, { origin, handler, dispatch }, opts) {\n super(handler)\n this.#origin = origin\n this.#handler = handler\n this.#opts = { ...opts }\n this.#state = state\n this.#dispatch = dispatch\n }\n\n onError (err) {\n switch (err.code) {\n case 'ETIMEDOUT':\n case 'ECONNREFUSED': {\n if (this.#state.dualStack) {\n // We delete the record and retry\n this.#state.runLookup(this.#origin, this.#opts, (err, newOrigin) => {\n if (err) {\n return this.#handler.onError(err)\n }\n\n const dispatchOpts = {\n ...this.#opts,\n origin: newOrigin\n }\n\n this.#dispatch(dispatchOpts, this)\n })\n\n // if dual-stack disabled, we error out\n return\n }\n\n this.#handler.onError(err)\n return\n }\n case 'ENOTFOUND':\n this.#state.deleteRecord(this.#origin)\n // eslint-disable-next-line no-fallthrough\n default:\n this.#handler.onError(err)\n break\n }\n }\n}\n\nmodule.exports = interceptorOpts => {\n if (\n interceptorOpts?.maxTTL != null &&\n (typeof interceptorOpts?.maxTTL !== 'number' || interceptorOpts?.maxTTL < 0)\n ) {\n throw new InvalidArgumentError('Invalid maxTTL. Must be a positive number')\n }\n\n if (\n interceptorOpts?.maxItems != null &&\n (typeof interceptorOpts?.maxItems !== 'number' ||\n interceptorOpts?.maxItems < 1)\n ) {\n throw new InvalidArgumentError(\n 'Invalid maxItems. Must be a positive number and greater than zero'\n )\n }\n\n if (\n interceptorOpts?.affinity != null &&\n interceptorOpts?.affinity !== 4 &&\n interceptorOpts?.affinity !== 6\n ) {\n throw new InvalidArgumentError('Invalid affinity. Must be either 4 or 6')\n }\n\n if (\n interceptorOpts?.dualStack != null &&\n typeof interceptorOpts?.dualStack !== 'boolean'\n ) {\n throw new InvalidArgumentError('Invalid dualStack. Must be a boolean')\n }\n\n if (\n interceptorOpts?.lookup != null &&\n typeof interceptorOpts?.lookup !== 'function'\n ) {\n throw new InvalidArgumentError('Invalid lookup. Must be a function')\n }\n\n if (\n interceptorOpts?.pick != null &&\n typeof interceptorOpts?.pick !== 'function'\n ) {\n throw new InvalidArgumentError('Invalid pick. Must be a function')\n }\n\n const dualStack = interceptorOpts?.dualStack ?? true\n let affinity\n if (dualStack) {\n affinity = interceptorOpts?.affinity ?? null\n } else {\n affinity = interceptorOpts?.affinity ?? 4\n }\n\n const opts = {\n maxTTL: interceptorOpts?.maxTTL ?? 10e3, // Expressed in ms\n lookup: interceptorOpts?.lookup ?? null,\n pick: interceptorOpts?.pick ?? null,\n dualStack,\n affinity,\n maxItems: interceptorOpts?.maxItems ?? Infinity\n }\n\n const instance = new DNSInstance(opts)\n\n return dispatch => {\n return function dnsInterceptor (origDispatchOpts, handler) {\n const origin =\n origDispatchOpts.origin.constructor === URL\n ? origDispatchOpts.origin\n : new URL(origDispatchOpts.origin)\n\n if (isIP(origin.hostname) !== 0) {\n return dispatch(origDispatchOpts, handler)\n }\n\n instance.runLookup(origin, origDispatchOpts, (err, newOrigin) => {\n if (err) {\n return handler.onError(err)\n }\n\n let dispatchOpts = null\n dispatchOpts = {\n ...origDispatchOpts,\n servername: origin.hostname, // For SNI on TLS\n origin: newOrigin,\n headers: {\n host: origin.hostname,\n ...origDispatchOpts.headers\n }\n }\n\n dispatch(\n dispatchOpts,\n instance.getHandler({ origin, dispatch, handler }, origDispatchOpts)\n )\n })\n\n return true\n }\n }\n}\n", "// https://github.com/Ethan-Arrowood/undici-fetch\n\n'use strict'\n\nconst { kConstruct } = require('../../core/symbols')\nconst { kEnumerableProperty } = require('../../core/util')\nconst {\n iteratorMixin,\n isValidHeaderName,\n isValidHeaderValue\n} = require('./util')\nconst { webidl } = require('./webidl')\nconst assert = require('node:assert')\nconst util = require('node:util')\n\nconst kHeadersMap = Symbol('headers map')\nconst kHeadersSortedMap = Symbol('headers map sorted')\n\n/**\n * @param {number} code\n */\nfunction isHTTPWhiteSpaceCharCode (code) {\n return code === 0x00a || code === 0x00d || code === 0x009 || code === 0x020\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-header-value-normalize\n * @param {string} potentialValue\n */\nfunction headerValueNormalize (potentialValue) {\n // To normalize a byte sequence potentialValue, remove\n // any leading and trailing HTTP whitespace bytes from\n // potentialValue.\n let i = 0; let j = potentialValue.length\n\n while (j > i && isHTTPWhiteSpaceCharCode(potentialValue.charCodeAt(j - 1))) --j\n while (j > i && isHTTPWhiteSpaceCharCode(potentialValue.charCodeAt(i))) ++i\n\n return i === 0 && j === potentialValue.length ? potentialValue : potentialValue.substring(i, j)\n}\n\nfunction fill (headers, object) {\n // To fill a Headers object headers with a given object object, run these steps:\n\n // 1. If object is a sequence, then for each header in object:\n // Note: webidl conversion to array has already been done.\n if (Array.isArray(object)) {\n for (let i = 0; i < object.length; ++i) {\n const header = object[i]\n // 1. If header does not contain exactly two items, then throw a TypeError.\n if (header.length !== 2) {\n throw webidl.errors.exception({\n header: 'Headers constructor',\n message: `expected name/value pair to be length 2, found ${header.length}.`\n })\n }\n\n // 2. Append (header\u2019s first item, header\u2019s second item) to headers.\n appendHeader(headers, header[0], header[1])\n }\n } else if (typeof object === 'object' && object !== null) {\n // Note: null should throw\n\n // 2. Otherwise, object is a record, then for each key \u2192 value in object,\n // append (key, value) to headers\n const keys = Object.keys(object)\n for (let i = 0; i < keys.length; ++i) {\n appendHeader(headers, keys[i], object[keys[i]])\n }\n } else {\n throw webidl.errors.conversionFailed({\n prefix: 'Headers constructor',\n argument: 'Argument 1',\n types: ['sequence>', 'record']\n })\n }\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-headers-append\n */\nfunction appendHeader (headers, name, value) {\n // 1. Normalize value.\n value = headerValueNormalize(value)\n\n // 2. If name is not a header name or value is not a\n // header value, then throw a TypeError.\n if (!isValidHeaderName(name)) {\n throw webidl.errors.invalidArgument({\n prefix: 'Headers.append',\n value: name,\n type: 'header name'\n })\n } else if (!isValidHeaderValue(value)) {\n throw webidl.errors.invalidArgument({\n prefix: 'Headers.append',\n value,\n type: 'header value'\n })\n }\n\n // 3. If headers\u2019s guard is \"immutable\", then throw a TypeError.\n // 4. Otherwise, if headers\u2019s guard is \"request\" and name is a\n // forbidden header name, return.\n // 5. Otherwise, if headers\u2019s guard is \"request-no-cors\":\n // TODO\n // Note: undici does not implement forbidden header names\n if (getHeadersGuard(headers) === 'immutable') {\n throw new TypeError('immutable')\n }\n\n // 6. Otherwise, if headers\u2019s guard is \"response\" and name is a\n // forbidden response-header name, return.\n\n // 7. Append (name, value) to headers\u2019s header list.\n return getHeadersList(headers).append(name, value, false)\n\n // 8. If headers\u2019s guard is \"request-no-cors\", then remove\n // privileged no-CORS request headers from headers\n}\n\nfunction compareHeaderName (a, b) {\n return a[0] < b[0] ? -1 : 1\n}\n\nclass HeadersList {\n /** @type {[string, string][]|null} */\n cookies = null\n\n constructor (init) {\n if (init instanceof HeadersList) {\n this[kHeadersMap] = new Map(init[kHeadersMap])\n this[kHeadersSortedMap] = init[kHeadersSortedMap]\n this.cookies = init.cookies === null ? null : [...init.cookies]\n } else {\n this[kHeadersMap] = new Map(init)\n this[kHeadersSortedMap] = null\n }\n }\n\n /**\n * @see https://fetch.spec.whatwg.org/#header-list-contains\n * @param {string} name\n * @param {boolean} isLowerCase\n */\n contains (name, isLowerCase) {\n // A header list list contains a header name name if list\n // contains a header whose name is a byte-case-insensitive\n // match for name.\n\n return this[kHeadersMap].has(isLowerCase ? name : name.toLowerCase())\n }\n\n clear () {\n this[kHeadersMap].clear()\n this[kHeadersSortedMap] = null\n this.cookies = null\n }\n\n /**\n * @see https://fetch.spec.whatwg.org/#concept-header-list-append\n * @param {string} name\n * @param {string} value\n * @param {boolean} isLowerCase\n */\n append (name, value, isLowerCase) {\n this[kHeadersSortedMap] = null\n\n // 1. If list contains name, then set name to the first such\n // header\u2019s name.\n const lowercaseName = isLowerCase ? name : name.toLowerCase()\n const exists = this[kHeadersMap].get(lowercaseName)\n\n // 2. Append (name, value) to list.\n if (exists) {\n const delimiter = lowercaseName === 'cookie' ? '; ' : ', '\n this[kHeadersMap].set(lowercaseName, {\n name: exists.name,\n value: `${exists.value}${delimiter}${value}`\n })\n } else {\n this[kHeadersMap].set(lowercaseName, { name, value })\n }\n\n if (lowercaseName === 'set-cookie') {\n (this.cookies ??= []).push(value)\n }\n }\n\n /**\n * @see https://fetch.spec.whatwg.org/#concept-header-list-set\n * @param {string} name\n * @param {string} value\n * @param {boolean} isLowerCase\n */\n set (name, value, isLowerCase) {\n this[kHeadersSortedMap] = null\n const lowercaseName = isLowerCase ? name : name.toLowerCase()\n\n if (lowercaseName === 'set-cookie') {\n this.cookies = [value]\n }\n\n // 1. If list contains name, then set the value of\n // the first such header to value and remove the\n // others.\n // 2. Otherwise, append header (name, value) to list.\n this[kHeadersMap].set(lowercaseName, { name, value })\n }\n\n /**\n * @see https://fetch.spec.whatwg.org/#concept-header-list-delete\n * @param {string} name\n * @param {boolean} isLowerCase\n */\n delete (name, isLowerCase) {\n this[kHeadersSortedMap] = null\n if (!isLowerCase) name = name.toLowerCase()\n\n if (name === 'set-cookie') {\n this.cookies = null\n }\n\n this[kHeadersMap].delete(name)\n }\n\n /**\n * @see https://fetch.spec.whatwg.org/#concept-header-list-get\n * @param {string} name\n * @param {boolean} isLowerCase\n * @returns {string | null}\n */\n get (name, isLowerCase) {\n // 1. If list does not contain name, then return null.\n // 2. Return the values of all headers in list whose name\n // is a byte-case-insensitive match for name,\n // separated from each other by 0x2C 0x20, in order.\n return this[kHeadersMap].get(isLowerCase ? name : name.toLowerCase())?.value ?? null\n }\n\n * [Symbol.iterator] () {\n // use the lowercased name\n for (const { 0: name, 1: { value } } of this[kHeadersMap]) {\n yield [name, value]\n }\n }\n\n get entries () {\n const headers = {}\n\n if (this[kHeadersMap].size !== 0) {\n for (const { name, value } of this[kHeadersMap].values()) {\n headers[name] = value\n }\n }\n\n return headers\n }\n\n rawValues () {\n return this[kHeadersMap].values()\n }\n\n get entriesList () {\n const headers = []\n\n if (this[kHeadersMap].size !== 0) {\n for (const { 0: lowerName, 1: { name, value } } of this[kHeadersMap]) {\n if (lowerName === 'set-cookie') {\n for (const cookie of this.cookies) {\n headers.push([name, cookie])\n }\n } else {\n headers.push([name, value])\n }\n }\n }\n\n return headers\n }\n\n // https://fetch.spec.whatwg.org/#convert-header-names-to-a-sorted-lowercase-set\n toSortedArray () {\n const size = this[kHeadersMap].size\n const array = new Array(size)\n // In most cases, you will use the fast-path.\n // fast-path: Use binary insertion sort for small arrays.\n if (size <= 32) {\n if (size === 0) {\n // If empty, it is an empty array. To avoid the first index assignment.\n return array\n }\n // Improve performance by unrolling loop and avoiding double-loop.\n // Double-loop-less version of the binary insertion sort.\n const iterator = this[kHeadersMap][Symbol.iterator]()\n const firstValue = iterator.next().value\n // set [name, value] to first index.\n array[0] = [firstValue[0], firstValue[1].value]\n // https://fetch.spec.whatwg.org/#concept-header-list-sort-and-combine\n // 3.2.2. Assert: value is non-null.\n assert(firstValue[1].value !== null)\n for (\n let i = 1, j = 0, right = 0, left = 0, pivot = 0, x, value;\n i < size;\n ++i\n ) {\n // get next value\n value = iterator.next().value\n // set [name, value] to current index.\n x = array[i] = [value[0], value[1].value]\n // https://fetch.spec.whatwg.org/#concept-header-list-sort-and-combine\n // 3.2.2. Assert: value is non-null.\n assert(x[1] !== null)\n left = 0\n right = i\n // binary search\n while (left < right) {\n // middle index\n pivot = left + ((right - left) >> 1)\n // compare header name\n if (array[pivot][0] <= x[0]) {\n left = pivot + 1\n } else {\n right = pivot\n }\n }\n if (i !== pivot) {\n j = i\n while (j > left) {\n array[j] = array[--j]\n }\n array[left] = x\n }\n }\n /* c8 ignore next 4 */\n if (!iterator.next().done) {\n // This is for debugging and will never be called.\n throw new TypeError('Unreachable')\n }\n return array\n } else {\n // This case would be a rare occurrence.\n // slow-path: fallback\n let i = 0\n for (const { 0: name, 1: { value } } of this[kHeadersMap]) {\n array[i++] = [name, value]\n // https://fetch.spec.whatwg.org/#concept-header-list-sort-and-combine\n // 3.2.2. Assert: value is non-null.\n assert(value !== null)\n }\n return array.sort(compareHeaderName)\n }\n }\n}\n\n// https://fetch.spec.whatwg.org/#headers-class\nclass Headers {\n #guard\n #headersList\n\n constructor (init = undefined) {\n webidl.util.markAsUncloneable(this)\n\n if (init === kConstruct) {\n return\n }\n\n this.#headersList = new HeadersList()\n\n // The new Headers(init) constructor steps are:\n\n // 1. Set this\u2019s guard to \"none\".\n this.#guard = 'none'\n\n // 2. If init is given, then fill this with init.\n if (init !== undefined) {\n init = webidl.converters.HeadersInit(init, 'Headers contructor', 'init')\n fill(this, init)\n }\n }\n\n // https://fetch.spec.whatwg.org/#dom-headers-append\n append (name, value) {\n webidl.brandCheck(this, Headers)\n\n webidl.argumentLengthCheck(arguments, 2, 'Headers.append')\n\n const prefix = 'Headers.append'\n name = webidl.converters.ByteString(name, prefix, 'name')\n value = webidl.converters.ByteString(value, prefix, 'value')\n\n return appendHeader(this, name, value)\n }\n\n // https://fetch.spec.whatwg.org/#dom-headers-delete\n delete (name) {\n webidl.brandCheck(this, Headers)\n\n webidl.argumentLengthCheck(arguments, 1, 'Headers.delete')\n\n const prefix = 'Headers.delete'\n name = webidl.converters.ByteString(name, prefix, 'name')\n\n // 1. If name is not a header name, then throw a TypeError.\n if (!isValidHeaderName(name)) {\n throw webidl.errors.invalidArgument({\n prefix: 'Headers.delete',\n value: name,\n type: 'header name'\n })\n }\n\n // 2. If this\u2019s guard is \"immutable\", then throw a TypeError.\n // 3. Otherwise, if this\u2019s guard is \"request\" and name is a\n // forbidden header name, return.\n // 4. Otherwise, if this\u2019s guard is \"request-no-cors\", name\n // is not a no-CORS-safelisted request-header name, and\n // name is not a privileged no-CORS request-header name,\n // return.\n // 5. Otherwise, if this\u2019s guard is \"response\" and name is\n // a forbidden response-header name, return.\n // Note: undici does not implement forbidden header names\n if (this.#guard === 'immutable') {\n throw new TypeError('immutable')\n }\n\n // 6. If this\u2019s header list does not contain name, then\n // return.\n if (!this.#headersList.contains(name, false)) {\n return\n }\n\n // 7. Delete name from this\u2019s header list.\n // 8. If this\u2019s guard is \"request-no-cors\", then remove\n // privileged no-CORS request headers from this.\n this.#headersList.delete(name, false)\n }\n\n // https://fetch.spec.whatwg.org/#dom-headers-get\n get (name) {\n webidl.brandCheck(this, Headers)\n\n webidl.argumentLengthCheck(arguments, 1, 'Headers.get')\n\n const prefix = 'Headers.get'\n name = webidl.converters.ByteString(name, prefix, 'name')\n\n // 1. If name is not a header name, then throw a TypeError.\n if (!isValidHeaderName(name)) {\n throw webidl.errors.invalidArgument({\n prefix,\n value: name,\n type: 'header name'\n })\n }\n\n // 2. Return the result of getting name from this\u2019s header\n // list.\n return this.#headersList.get(name, false)\n }\n\n // https://fetch.spec.whatwg.org/#dom-headers-has\n has (name) {\n webidl.brandCheck(this, Headers)\n\n webidl.argumentLengthCheck(arguments, 1, 'Headers.has')\n\n const prefix = 'Headers.has'\n name = webidl.converters.ByteString(name, prefix, 'name')\n\n // 1. If name is not a header name, then throw a TypeError.\n if (!isValidHeaderName(name)) {\n throw webidl.errors.invalidArgument({\n prefix,\n value: name,\n type: 'header name'\n })\n }\n\n // 2. Return true if this\u2019s header list contains name;\n // otherwise false.\n return this.#headersList.contains(name, false)\n }\n\n // https://fetch.spec.whatwg.org/#dom-headers-set\n set (name, value) {\n webidl.brandCheck(this, Headers)\n\n webidl.argumentLengthCheck(arguments, 2, 'Headers.set')\n\n const prefix = 'Headers.set'\n name = webidl.converters.ByteString(name, prefix, 'name')\n value = webidl.converters.ByteString(value, prefix, 'value')\n\n // 1. Normalize value.\n value = headerValueNormalize(value)\n\n // 2. If name is not a header name or value is not a\n // header value, then throw a TypeError.\n if (!isValidHeaderName(name)) {\n throw webidl.errors.invalidArgument({\n prefix,\n value: name,\n type: 'header name'\n })\n } else if (!isValidHeaderValue(value)) {\n throw webidl.errors.invalidArgument({\n prefix,\n value,\n type: 'header value'\n })\n }\n\n // 3. If this\u2019s guard is \"immutable\", then throw a TypeError.\n // 4. Otherwise, if this\u2019s guard is \"request\" and name is a\n // forbidden header name, return.\n // 5. Otherwise, if this\u2019s guard is \"request-no-cors\" and\n // name/value is not a no-CORS-safelisted request-header,\n // return.\n // 6. Otherwise, if this\u2019s guard is \"response\" and name is a\n // forbidden response-header name, return.\n // Note: undici does not implement forbidden header names\n if (this.#guard === 'immutable') {\n throw new TypeError('immutable')\n }\n\n // 7. Set (name, value) in this\u2019s header list.\n // 8. If this\u2019s guard is \"request-no-cors\", then remove\n // privileged no-CORS request headers from this\n this.#headersList.set(name, value, false)\n }\n\n // https://fetch.spec.whatwg.org/#dom-headers-getsetcookie\n getSetCookie () {\n webidl.brandCheck(this, Headers)\n\n // 1. If this\u2019s header list does not contain `Set-Cookie`, then return \u00AB \u00BB.\n // 2. Return the values of all headers in this\u2019s header list whose name is\n // a byte-case-insensitive match for `Set-Cookie`, in order.\n\n const list = this.#headersList.cookies\n\n if (list) {\n return [...list]\n }\n\n return []\n }\n\n // https://fetch.spec.whatwg.org/#concept-header-list-sort-and-combine\n get [kHeadersSortedMap] () {\n if (this.#headersList[kHeadersSortedMap]) {\n return this.#headersList[kHeadersSortedMap]\n }\n\n // 1. Let headers be an empty list of headers with the key being the name\n // and value the value.\n const headers = []\n\n // 2. Let names be the result of convert header names to a sorted-lowercase\n // set with all the names of the headers in list.\n const names = this.#headersList.toSortedArray()\n\n const cookies = this.#headersList.cookies\n\n // fast-path\n if (cookies === null || cookies.length === 1) {\n // Note: The non-null assertion of value has already been done by `HeadersList#toSortedArray`\n return (this.#headersList[kHeadersSortedMap] = names)\n }\n\n // 3. For each name of names:\n for (let i = 0; i < names.length; ++i) {\n const { 0: name, 1: value } = names[i]\n // 1. If name is `set-cookie`, then:\n if (name === 'set-cookie') {\n // 1. Let values be a list of all values of headers in list whose name\n // is a byte-case-insensitive match for name, in order.\n\n // 2. For each value of values:\n // 1. Append (name, value) to headers.\n for (let j = 0; j < cookies.length; ++j) {\n headers.push([name, cookies[j]])\n }\n } else {\n // 2. Otherwise:\n\n // 1. Let value be the result of getting name from list.\n\n // 2. Assert: value is non-null.\n // Note: This operation was done by `HeadersList#toSortedArray`.\n\n // 3. Append (name, value) to headers.\n headers.push([name, value])\n }\n }\n\n // 4. Return headers.\n return (this.#headersList[kHeadersSortedMap] = headers)\n }\n\n [util.inspect.custom] (depth, options) {\n options.depth ??= depth\n\n return `Headers ${util.formatWithOptions(options, this.#headersList.entries)}`\n }\n\n static getHeadersGuard (o) {\n return o.#guard\n }\n\n static setHeadersGuard (o, guard) {\n o.#guard = guard\n }\n\n static getHeadersList (o) {\n return o.#headersList\n }\n\n static setHeadersList (o, list) {\n o.#headersList = list\n }\n}\n\nconst { getHeadersGuard, setHeadersGuard, getHeadersList, setHeadersList } = Headers\nReflect.deleteProperty(Headers, 'getHeadersGuard')\nReflect.deleteProperty(Headers, 'setHeadersGuard')\nReflect.deleteProperty(Headers, 'getHeadersList')\nReflect.deleteProperty(Headers, 'setHeadersList')\n\niteratorMixin('Headers', Headers, kHeadersSortedMap, 0, 1)\n\nObject.defineProperties(Headers.prototype, {\n append: kEnumerableProperty,\n delete: kEnumerableProperty,\n get: kEnumerableProperty,\n has: kEnumerableProperty,\n set: kEnumerableProperty,\n getSetCookie: kEnumerableProperty,\n [Symbol.toStringTag]: {\n value: 'Headers',\n configurable: true\n },\n [util.inspect.custom]: {\n enumerable: false\n }\n})\n\nwebidl.converters.HeadersInit = function (V, prefix, argument) {\n if (webidl.util.Type(V) === 'Object') {\n const iterator = Reflect.get(V, Symbol.iterator)\n\n // A work-around to ensure we send the properly-cased Headers when V is a Headers object.\n // Read https://github.com/nodejs/undici/pull/3159#issuecomment-2075537226 before touching, please.\n if (!util.types.isProxy(V) && iterator === Headers.prototype.entries) { // Headers object\n try {\n return getHeadersList(V).entriesList\n } catch {\n // fall-through\n }\n }\n\n if (typeof iterator === 'function') {\n return webidl.converters['sequence>'](V, prefix, argument, iterator.bind(V))\n }\n\n return webidl.converters['record'](V, prefix, argument)\n }\n\n throw webidl.errors.conversionFailed({\n prefix: 'Headers constructor',\n argument: 'Argument 1',\n types: ['sequence>', 'record']\n })\n}\n\nmodule.exports = {\n fill,\n // for test.\n compareHeaderName,\n Headers,\n HeadersList,\n getHeadersGuard,\n setHeadersGuard,\n setHeadersList,\n getHeadersList\n}\n", "'use strict'\n\nconst { Headers, HeadersList, fill, getHeadersGuard, setHeadersGuard, setHeadersList } = require('./headers')\nconst { extractBody, cloneBody, mixinBody, hasFinalizationRegistry, streamRegistry, bodyUnusable } = require('./body')\nconst util = require('../../core/util')\nconst nodeUtil = require('node:util')\nconst { kEnumerableProperty } = util\nconst {\n isValidReasonPhrase,\n isCancelled,\n isAborted,\n isBlobLike,\n serializeJavascriptValueToJSONString,\n isErrorLike,\n isomorphicEncode,\n environmentSettingsObject: relevantRealm\n} = require('./util')\nconst {\n redirectStatusSet,\n nullBodyStatus\n} = require('./constants')\nconst { kState, kHeaders } = require('./symbols')\nconst { webidl } = require('./webidl')\nconst { FormData } = require('./formdata')\nconst { URLSerializer } = require('./data-url')\nconst { kConstruct } = require('../../core/symbols')\nconst assert = require('node:assert')\nconst { types } = require('node:util')\n\nconst textEncoder = new TextEncoder('utf-8')\n\n// https://fetch.spec.whatwg.org/#response-class\nclass Response {\n // Creates network error Response.\n static error () {\n // The static error() method steps are to return the result of creating a\n // Response object, given a new network error, \"immutable\", and this\u2019s\n // relevant Realm.\n const responseObject = fromInnerResponse(makeNetworkError(), 'immutable')\n\n return responseObject\n }\n\n // https://fetch.spec.whatwg.org/#dom-response-json\n static json (data, init = {}) {\n webidl.argumentLengthCheck(arguments, 1, 'Response.json')\n\n if (init !== null) {\n init = webidl.converters.ResponseInit(init)\n }\n\n // 1. Let bytes the result of running serialize a JavaScript value to JSON bytes on data.\n const bytes = textEncoder.encode(\n serializeJavascriptValueToJSONString(data)\n )\n\n // 2. Let body be the result of extracting bytes.\n const body = extractBody(bytes)\n\n // 3. Let responseObject be the result of creating a Response object, given a new response,\n // \"response\", and this\u2019s relevant Realm.\n const responseObject = fromInnerResponse(makeResponse({}), 'response')\n\n // 4. Perform initialize a response given responseObject, init, and (body, \"application/json\").\n initializeResponse(responseObject, init, { body: body[0], type: 'application/json' })\n\n // 5. Return responseObject.\n return responseObject\n }\n\n // Creates a redirect Response that redirects to url with status status.\n static redirect (url, status = 302) {\n webidl.argumentLengthCheck(arguments, 1, 'Response.redirect')\n\n url = webidl.converters.USVString(url)\n status = webidl.converters['unsigned short'](status)\n\n // 1. Let parsedURL be the result of parsing url with current settings\n // object\u2019s API base URL.\n // 2. If parsedURL is failure, then throw a TypeError.\n // TODO: base-URL?\n let parsedURL\n try {\n parsedURL = new URL(url, relevantRealm.settingsObject.baseUrl)\n } catch (err) {\n throw new TypeError(`Failed to parse URL from ${url}`, { cause: err })\n }\n\n // 3. If status is not a redirect status, then throw a RangeError.\n if (!redirectStatusSet.has(status)) {\n throw new RangeError(`Invalid status code ${status}`)\n }\n\n // 4. Let responseObject be the result of creating a Response object,\n // given a new response, \"immutable\", and this\u2019s relevant Realm.\n const responseObject = fromInnerResponse(makeResponse({}), 'immutable')\n\n // 5. Set responseObject\u2019s response\u2019s status to status.\n responseObject[kState].status = status\n\n // 6. Let value be parsedURL, serialized and isomorphic encoded.\n const value = isomorphicEncode(URLSerializer(parsedURL))\n\n // 7. Append `Location`/value to responseObject\u2019s response\u2019s header list.\n responseObject[kState].headersList.append('location', value, true)\n\n // 8. Return responseObject.\n return responseObject\n }\n\n // https://fetch.spec.whatwg.org/#dom-response\n constructor (body = null, init = {}) {\n webidl.util.markAsUncloneable(this)\n if (body === kConstruct) {\n return\n }\n\n if (body !== null) {\n body = webidl.converters.BodyInit(body)\n }\n\n init = webidl.converters.ResponseInit(init)\n\n // 1. Set this\u2019s response to a new response.\n this[kState] = makeResponse({})\n\n // 2. Set this\u2019s headers to a new Headers object with this\u2019s relevant\n // Realm, whose header list is this\u2019s response\u2019s header list and guard\n // is \"response\".\n this[kHeaders] = new Headers(kConstruct)\n setHeadersGuard(this[kHeaders], 'response')\n setHeadersList(this[kHeaders], this[kState].headersList)\n\n // 3. Let bodyWithType be null.\n let bodyWithType = null\n\n // 4. If body is non-null, then set bodyWithType to the result of extracting body.\n if (body != null) {\n const [extractedBody, type] = extractBody(body)\n bodyWithType = { body: extractedBody, type }\n }\n\n // 5. Perform initialize a response given this, init, and bodyWithType.\n initializeResponse(this, init, bodyWithType)\n }\n\n // Returns response\u2019s type, e.g., \"cors\".\n get type () {\n webidl.brandCheck(this, Response)\n\n // The type getter steps are to return this\u2019s response\u2019s type.\n return this[kState].type\n }\n\n // Returns response\u2019s URL, if it has one; otherwise the empty string.\n get url () {\n webidl.brandCheck(this, Response)\n\n const urlList = this[kState].urlList\n\n // The url getter steps are to return the empty string if this\u2019s\n // response\u2019s URL is null; otherwise this\u2019s response\u2019s URL,\n // serialized with exclude fragment set to true.\n const url = urlList[urlList.length - 1] ?? null\n\n if (url === null) {\n return ''\n }\n\n return URLSerializer(url, true)\n }\n\n // Returns whether response was obtained through a redirect.\n get redirected () {\n webidl.brandCheck(this, Response)\n\n // The redirected getter steps are to return true if this\u2019s response\u2019s URL\n // list has more than one item; otherwise false.\n return this[kState].urlList.length > 1\n }\n\n // Returns response\u2019s status.\n get status () {\n webidl.brandCheck(this, Response)\n\n // The status getter steps are to return this\u2019s response\u2019s status.\n return this[kState].status\n }\n\n // Returns whether response\u2019s status is an ok status.\n get ok () {\n webidl.brandCheck(this, Response)\n\n // The ok getter steps are to return true if this\u2019s response\u2019s status is an\n // ok status; otherwise false.\n return this[kState].status >= 200 && this[kState].status <= 299\n }\n\n // Returns response\u2019s status message.\n get statusText () {\n webidl.brandCheck(this, Response)\n\n // The statusText getter steps are to return this\u2019s response\u2019s status\n // message.\n return this[kState].statusText\n }\n\n // Returns response\u2019s headers as Headers.\n get headers () {\n webidl.brandCheck(this, Response)\n\n // The headers getter steps are to return this\u2019s headers.\n return this[kHeaders]\n }\n\n get body () {\n webidl.brandCheck(this, Response)\n\n return this[kState].body ? this[kState].body.stream : null\n }\n\n get bodyUsed () {\n webidl.brandCheck(this, Response)\n\n return !!this[kState].body && util.isDisturbed(this[kState].body.stream)\n }\n\n // Returns a clone of response.\n clone () {\n webidl.brandCheck(this, Response)\n\n // 1. If this is unusable, then throw a TypeError.\n if (bodyUnusable(this)) {\n throw webidl.errors.exception({\n header: 'Response.clone',\n message: 'Body has already been consumed.'\n })\n }\n\n // 2. Let clonedResponse be the result of cloning this\u2019s response.\n const clonedResponse = cloneResponse(this[kState])\n\n // Note: To re-register because of a new stream.\n if (hasFinalizationRegistry && this[kState].body?.stream) {\n streamRegistry.register(this, new WeakRef(this[kState].body.stream))\n }\n\n // 3. Return the result of creating a Response object, given\n // clonedResponse, this\u2019s headers\u2019s guard, and this\u2019s relevant Realm.\n return fromInnerResponse(clonedResponse, getHeadersGuard(this[kHeaders]))\n }\n\n [nodeUtil.inspect.custom] (depth, options) {\n if (options.depth === null) {\n options.depth = 2\n }\n\n options.colors ??= true\n\n const properties = {\n status: this.status,\n statusText: this.statusText,\n headers: this.headers,\n body: this.body,\n bodyUsed: this.bodyUsed,\n ok: this.ok,\n redirected: this.redirected,\n type: this.type,\n url: this.url\n }\n\n return `Response ${nodeUtil.formatWithOptions(options, properties)}`\n }\n}\n\nmixinBody(Response)\n\nObject.defineProperties(Response.prototype, {\n type: kEnumerableProperty,\n url: kEnumerableProperty,\n status: kEnumerableProperty,\n ok: kEnumerableProperty,\n redirected: kEnumerableProperty,\n statusText: kEnumerableProperty,\n headers: kEnumerableProperty,\n clone: kEnumerableProperty,\n body: kEnumerableProperty,\n bodyUsed: kEnumerableProperty,\n [Symbol.toStringTag]: {\n value: 'Response',\n configurable: true\n }\n})\n\nObject.defineProperties(Response, {\n json: kEnumerableProperty,\n redirect: kEnumerableProperty,\n error: kEnumerableProperty\n})\n\n// https://fetch.spec.whatwg.org/#concept-response-clone\nfunction cloneResponse (response) {\n // To clone a response response, run these steps:\n\n // 1. If response is a filtered response, then return a new identical\n // filtered response whose internal response is a clone of response\u2019s\n // internal response.\n if (response.internalResponse) {\n return filterResponse(\n cloneResponse(response.internalResponse),\n response.type\n )\n }\n\n // 2. Let newResponse be a copy of response, except for its body.\n const newResponse = makeResponse({ ...response, body: null })\n\n // 3. If response\u2019s body is non-null, then set newResponse\u2019s body to the\n // result of cloning response\u2019s body.\n if (response.body != null) {\n newResponse.body = cloneBody(newResponse, response.body)\n }\n\n // 4. Return newResponse.\n return newResponse\n}\n\nfunction makeResponse (init) {\n return {\n aborted: false,\n rangeRequested: false,\n timingAllowPassed: false,\n requestIncludesCredentials: false,\n type: 'default',\n status: 200,\n timingInfo: null,\n cacheState: '',\n statusText: '',\n ...init,\n headersList: init?.headersList\n ? new HeadersList(init?.headersList)\n : new HeadersList(),\n urlList: init?.urlList ? [...init.urlList] : []\n }\n}\n\nfunction makeNetworkError (reason) {\n const isError = isErrorLike(reason)\n return makeResponse({\n type: 'error',\n status: 0,\n error: isError\n ? reason\n : new Error(reason ? String(reason) : reason),\n aborted: reason && reason.name === 'AbortError'\n })\n}\n\n// @see https://fetch.spec.whatwg.org/#concept-network-error\nfunction isNetworkError (response) {\n return (\n // A network error is a response whose type is \"error\",\n response.type === 'error' &&\n // status is 0\n response.status === 0\n )\n}\n\nfunction makeFilteredResponse (response, state) {\n state = {\n internalResponse: response,\n ...state\n }\n\n return new Proxy(response, {\n get (target, p) {\n return p in state ? state[p] : target[p]\n },\n set (target, p, value) {\n assert(!(p in state))\n target[p] = value\n return true\n }\n })\n}\n\n// https://fetch.spec.whatwg.org/#concept-filtered-response\nfunction filterResponse (response, type) {\n // Set response to the following filtered response with response as its\n // internal response, depending on request\u2019s response tainting:\n if (type === 'basic') {\n // A basic filtered response is a filtered response whose type is \"basic\"\n // and header list excludes any headers in internal response\u2019s header list\n // whose name is a forbidden response-header name.\n\n // Note: undici does not implement forbidden response-header names\n return makeFilteredResponse(response, {\n type: 'basic',\n headersList: response.headersList\n })\n } else if (type === 'cors') {\n // A CORS filtered response is a filtered response whose type is \"cors\"\n // and header list excludes any headers in internal response\u2019s header\n // list whose name is not a CORS-safelisted response-header name, given\n // internal response\u2019s CORS-exposed header-name list.\n\n // Note: undici does not implement CORS-safelisted response-header names\n return makeFilteredResponse(response, {\n type: 'cors',\n headersList: response.headersList\n })\n } else if (type === 'opaque') {\n // An opaque filtered response is a filtered response whose type is\n // \"opaque\", URL list is the empty list, status is 0, status message\n // is the empty byte sequence, header list is empty, and body is null.\n\n return makeFilteredResponse(response, {\n type: 'opaque',\n urlList: Object.freeze([]),\n status: 0,\n statusText: '',\n body: null\n })\n } else if (type === 'opaqueredirect') {\n // An opaque-redirect filtered response is a filtered response whose type\n // is \"opaqueredirect\", status is 0, status message is the empty byte\n // sequence, header list is empty, and body is null.\n\n return makeFilteredResponse(response, {\n type: 'opaqueredirect',\n status: 0,\n statusText: '',\n headersList: [],\n body: null\n })\n } else {\n assert(false)\n }\n}\n\n// https://fetch.spec.whatwg.org/#appropriate-network-error\nfunction makeAppropriateNetworkError (fetchParams, err = null) {\n // 1. Assert: fetchParams is canceled.\n assert(isCancelled(fetchParams))\n\n // 2. Return an aborted network error if fetchParams is aborted;\n // otherwise return a network error.\n return isAborted(fetchParams)\n ? makeNetworkError(Object.assign(new DOMException('The operation was aborted.', 'AbortError'), { cause: err }))\n : makeNetworkError(Object.assign(new DOMException('Request was cancelled.'), { cause: err }))\n}\n\n// https://whatpr.org/fetch/1392.html#initialize-a-response\nfunction initializeResponse (response, init, body) {\n // 1. If init[\"status\"] is not in the range 200 to 599, inclusive, then\n // throw a RangeError.\n if (init.status !== null && (init.status < 200 || init.status > 599)) {\n throw new RangeError('init[\"status\"] must be in the range of 200 to 599, inclusive.')\n }\n\n // 2. If init[\"statusText\"] does not match the reason-phrase token production,\n // then throw a TypeError.\n if ('statusText' in init && init.statusText != null) {\n // See, https://datatracker.ietf.org/doc/html/rfc7230#section-3.1.2:\n // reason-phrase = *( HTAB / SP / VCHAR / obs-text )\n if (!isValidReasonPhrase(String(init.statusText))) {\n throw new TypeError('Invalid statusText')\n }\n }\n\n // 3. Set response\u2019s response\u2019s status to init[\"status\"].\n if ('status' in init && init.status != null) {\n response[kState].status = init.status\n }\n\n // 4. Set response\u2019s response\u2019s status message to init[\"statusText\"].\n if ('statusText' in init && init.statusText != null) {\n response[kState].statusText = init.statusText\n }\n\n // 5. If init[\"headers\"] exists, then fill response\u2019s headers with init[\"headers\"].\n if ('headers' in init && init.headers != null) {\n fill(response[kHeaders], init.headers)\n }\n\n // 6. If body was given, then:\n if (body) {\n // 1. If response's status is a null body status, then throw a TypeError.\n if (nullBodyStatus.includes(response.status)) {\n throw webidl.errors.exception({\n header: 'Response constructor',\n message: `Invalid response status code ${response.status}`\n })\n }\n\n // 2. Set response's body to body's body.\n response[kState].body = body.body\n\n // 3. If body's type is non-null and response's header list does not contain\n // `Content-Type`, then append (`Content-Type`, body's type) to response's header list.\n if (body.type != null && !response[kState].headersList.contains('content-type', true)) {\n response[kState].headersList.append('content-type', body.type, true)\n }\n }\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#response-create\n * @param {any} innerResponse\n * @param {'request' | 'immutable' | 'request-no-cors' | 'response' | 'none'} guard\n * @returns {Response}\n */\nfunction fromInnerResponse (innerResponse, guard) {\n const response = new Response(kConstruct)\n response[kState] = innerResponse\n response[kHeaders] = new Headers(kConstruct)\n setHeadersList(response[kHeaders], innerResponse.headersList)\n setHeadersGuard(response[kHeaders], guard)\n\n if (hasFinalizationRegistry && innerResponse.body?.stream) {\n // If the target (response) is reclaimed, the cleanup callback may be called at some point with\n // the held value provided for it (innerResponse.body.stream). The held value can be any value:\n // a primitive or an object, even undefined. If the held value is an object, the registry keeps\n // a strong reference to it (so it can pass it to the cleanup callback later). Reworded from\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry\n streamRegistry.register(response, new WeakRef(innerResponse.body.stream))\n }\n\n return response\n}\n\nwebidl.converters.ReadableStream = webidl.interfaceConverter(\n ReadableStream\n)\n\nwebidl.converters.FormData = webidl.interfaceConverter(\n FormData\n)\n\nwebidl.converters.URLSearchParams = webidl.interfaceConverter(\n URLSearchParams\n)\n\n// https://fetch.spec.whatwg.org/#typedefdef-xmlhttprequestbodyinit\nwebidl.converters.XMLHttpRequestBodyInit = function (V, prefix, name) {\n if (typeof V === 'string') {\n return webidl.converters.USVString(V, prefix, name)\n }\n\n if (isBlobLike(V)) {\n return webidl.converters.Blob(V, prefix, name, { strict: false })\n }\n\n if (ArrayBuffer.isView(V) || types.isArrayBuffer(V)) {\n return webidl.converters.BufferSource(V, prefix, name)\n }\n\n if (util.isFormDataLike(V)) {\n return webidl.converters.FormData(V, prefix, name, { strict: false })\n }\n\n if (V instanceof URLSearchParams) {\n return webidl.converters.URLSearchParams(V, prefix, name)\n }\n\n return webidl.converters.DOMString(V, prefix, name)\n}\n\n// https://fetch.spec.whatwg.org/#bodyinit\nwebidl.converters.BodyInit = function (V, prefix, argument) {\n if (V instanceof ReadableStream) {\n return webidl.converters.ReadableStream(V, prefix, argument)\n }\n\n // Note: the spec doesn't include async iterables,\n // this is an undici extension.\n if (V?.[Symbol.asyncIterator]) {\n return V\n }\n\n return webidl.converters.XMLHttpRequestBodyInit(V, prefix, argument)\n}\n\nwebidl.converters.ResponseInit = webidl.dictionaryConverter([\n {\n key: 'status',\n converter: webidl.converters['unsigned short'],\n defaultValue: () => 200\n },\n {\n key: 'statusText',\n converter: webidl.converters.ByteString,\n defaultValue: () => ''\n },\n {\n key: 'headers',\n converter: webidl.converters.HeadersInit\n }\n])\n\nmodule.exports = {\n isNetworkError,\n makeNetworkError,\n makeResponse,\n makeAppropriateNetworkError,\n filterResponse,\n Response,\n cloneResponse,\n fromInnerResponse\n}\n", "'use strict'\n\nconst { kConnected, kSize } = require('../../core/symbols')\n\nclass CompatWeakRef {\n constructor (value) {\n this.value = value\n }\n\n deref () {\n return this.value[kConnected] === 0 && this.value[kSize] === 0\n ? undefined\n : this.value\n }\n}\n\nclass CompatFinalizer {\n constructor (finalizer) {\n this.finalizer = finalizer\n }\n\n register (dispatcher, key) {\n if (dispatcher.on) {\n dispatcher.on('disconnect', () => {\n if (dispatcher[kConnected] === 0 && dispatcher[kSize] === 0) {\n this.finalizer(key)\n }\n })\n }\n }\n\n unregister (key) {}\n}\n\nmodule.exports = function () {\n // FIXME: remove workaround when the Node bug is backported to v18\n // https://github.com/nodejs/node/issues/49344#issuecomment-1741776308\n if (process.env.NODE_V8_COVERAGE && process.version.startsWith('v18')) {\n process._rawDebug('Using compatibility WeakRef and FinalizationRegistry')\n return {\n WeakRef: CompatWeakRef,\n FinalizationRegistry: CompatFinalizer\n }\n }\n return { WeakRef, FinalizationRegistry }\n}\n", "/* globals AbortController */\n\n'use strict'\n\nconst { extractBody, mixinBody, cloneBody, bodyUnusable } = require('./body')\nconst { Headers, fill: fillHeaders, HeadersList, setHeadersGuard, getHeadersGuard, setHeadersList, getHeadersList } = require('./headers')\nconst { FinalizationRegistry } = require('./dispatcher-weakref')()\nconst util = require('../../core/util')\nconst nodeUtil = require('node:util')\nconst {\n isValidHTTPToken,\n sameOrigin,\n environmentSettingsObject\n} = require('./util')\nconst {\n forbiddenMethodsSet,\n corsSafeListedMethodsSet,\n referrerPolicy,\n requestRedirect,\n requestMode,\n requestCredentials,\n requestCache,\n requestDuplex\n} = require('./constants')\nconst { kEnumerableProperty, normalizedMethodRecordsBase, normalizedMethodRecords } = util\nconst { kHeaders, kSignal, kState, kDispatcher } = require('./symbols')\nconst { webidl } = require('./webidl')\nconst { URLSerializer } = require('./data-url')\nconst { kConstruct } = require('../../core/symbols')\nconst assert = require('node:assert')\nconst { getMaxListeners, setMaxListeners, getEventListeners, defaultMaxListeners } = require('node:events')\n\nconst kAbortController = Symbol('abortController')\n\nconst requestFinalizer = new FinalizationRegistry(({ signal, abort }) => {\n signal.removeEventListener('abort', abort)\n})\n\nconst dependentControllerMap = new WeakMap()\n\nfunction buildAbort (acRef) {\n return abort\n\n function abort () {\n const ac = acRef.deref()\n if (ac !== undefined) {\n // Currently, there is a problem with FinalizationRegistry.\n // https://github.com/nodejs/node/issues/49344\n // https://github.com/nodejs/node/issues/47748\n // In the case of abort, the first step is to unregister from it.\n // If the controller can refer to it, it is still registered.\n // It will be removed in the future.\n requestFinalizer.unregister(abort)\n\n // Unsubscribe a listener.\n // FinalizationRegistry will no longer be called, so this must be done.\n this.removeEventListener('abort', abort)\n\n ac.abort(this.reason)\n\n const controllerList = dependentControllerMap.get(ac.signal)\n\n if (controllerList !== undefined) {\n if (controllerList.size !== 0) {\n for (const ref of controllerList) {\n const ctrl = ref.deref()\n if (ctrl !== undefined) {\n ctrl.abort(this.reason)\n }\n }\n controllerList.clear()\n }\n dependentControllerMap.delete(ac.signal)\n }\n }\n }\n}\n\nlet patchMethodWarning = false\n\n// https://fetch.spec.whatwg.org/#request-class\nclass Request {\n // https://fetch.spec.whatwg.org/#dom-request\n constructor (input, init = {}) {\n webidl.util.markAsUncloneable(this)\n if (input === kConstruct) {\n return\n }\n\n const prefix = 'Request constructor'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n input = webidl.converters.RequestInfo(input, prefix, 'input')\n init = webidl.converters.RequestInit(init, prefix, 'init')\n\n // 1. Let request be null.\n let request = null\n\n // 2. Let fallbackMode be null.\n let fallbackMode = null\n\n // 3. Let baseURL be this\u2019s relevant settings object\u2019s API base URL.\n const baseUrl = environmentSettingsObject.settingsObject.baseUrl\n\n // 4. Let signal be null.\n let signal = null\n\n // 5. If input is a string, then:\n if (typeof input === 'string') {\n this[kDispatcher] = init.dispatcher\n\n // 1. Let parsedURL be the result of parsing input with baseURL.\n // 2. If parsedURL is failure, then throw a TypeError.\n let parsedURL\n try {\n parsedURL = new URL(input, baseUrl)\n } catch (err) {\n throw new TypeError('Failed to parse URL from ' + input, { cause: err })\n }\n\n // 3. If parsedURL includes credentials, then throw a TypeError.\n if (parsedURL.username || parsedURL.password) {\n throw new TypeError(\n 'Request cannot be constructed from a URL that includes credentials: ' +\n input\n )\n }\n\n // 4. Set request to a new request whose URL is parsedURL.\n request = makeRequest({ urlList: [parsedURL] })\n\n // 5. Set fallbackMode to \"cors\".\n fallbackMode = 'cors'\n } else {\n this[kDispatcher] = init.dispatcher || input[kDispatcher]\n\n // 6. Otherwise:\n\n // 7. Assert: input is a Request object.\n assert(input instanceof Request)\n\n // 8. Set request to input\u2019s request.\n request = input[kState]\n\n // 9. Set signal to input\u2019s signal.\n signal = input[kSignal]\n }\n\n // 7. Let origin be this\u2019s relevant settings object\u2019s origin.\n const origin = environmentSettingsObject.settingsObject.origin\n\n // 8. Let window be \"client\".\n let window = 'client'\n\n // 9. If request\u2019s window is an environment settings object and its origin\n // is same origin with origin, then set window to request\u2019s window.\n if (\n request.window?.constructor?.name === 'EnvironmentSettingsObject' &&\n sameOrigin(request.window, origin)\n ) {\n window = request.window\n }\n\n // 10. If init[\"window\"] exists and is non-null, then throw a TypeError.\n if (init.window != null) {\n throw new TypeError(`'window' option '${window}' must be null`)\n }\n\n // 11. If init[\"window\"] exists, then set window to \"no-window\".\n if ('window' in init) {\n window = 'no-window'\n }\n\n // 12. Set request to a new request with the following properties:\n request = makeRequest({\n // URL request\u2019s URL.\n // undici implementation note: this is set as the first item in request's urlList in makeRequest\n // method request\u2019s method.\n method: request.method,\n // header list A copy of request\u2019s header list.\n // undici implementation note: headersList is cloned in makeRequest\n headersList: request.headersList,\n // unsafe-request flag Set.\n unsafeRequest: request.unsafeRequest,\n // client This\u2019s relevant settings object.\n client: environmentSettingsObject.settingsObject,\n // window window.\n window,\n // priority request\u2019s priority.\n priority: request.priority,\n // origin request\u2019s origin. The propagation of the origin is only significant for navigation requests\n // being handled by a service worker. In this scenario a request can have an origin that is different\n // from the current client.\n origin: request.origin,\n // referrer request\u2019s referrer.\n referrer: request.referrer,\n // referrer policy request\u2019s referrer policy.\n referrerPolicy: request.referrerPolicy,\n // mode request\u2019s mode.\n mode: request.mode,\n // credentials mode request\u2019s credentials mode.\n credentials: request.credentials,\n // cache mode request\u2019s cache mode.\n cache: request.cache,\n // redirect mode request\u2019s redirect mode.\n redirect: request.redirect,\n // integrity metadata request\u2019s integrity metadata.\n integrity: request.integrity,\n // keepalive request\u2019s keepalive.\n keepalive: request.keepalive,\n // reload-navigation flag request\u2019s reload-navigation flag.\n reloadNavigation: request.reloadNavigation,\n // history-navigation flag request\u2019s history-navigation flag.\n historyNavigation: request.historyNavigation,\n // URL list A clone of request\u2019s URL list.\n urlList: [...request.urlList]\n })\n\n const initHasKey = Object.keys(init).length !== 0\n\n // 13. If init is not empty, then:\n if (initHasKey) {\n // 1. If request\u2019s mode is \"navigate\", then set it to \"same-origin\".\n if (request.mode === 'navigate') {\n request.mode = 'same-origin'\n }\n\n // 2. Unset request\u2019s reload-navigation flag.\n request.reloadNavigation = false\n\n // 3. Unset request\u2019s history-navigation flag.\n request.historyNavigation = false\n\n // 4. Set request\u2019s origin to \"client\".\n request.origin = 'client'\n\n // 5. Set request\u2019s referrer to \"client\"\n request.referrer = 'client'\n\n // 6. Set request\u2019s referrer policy to the empty string.\n request.referrerPolicy = ''\n\n // 7. Set request\u2019s URL to request\u2019s current URL.\n request.url = request.urlList[request.urlList.length - 1]\n\n // 8. Set request\u2019s URL list to \u00AB request\u2019s URL \u00BB.\n request.urlList = [request.url]\n }\n\n // 14. If init[\"referrer\"] exists, then:\n if (init.referrer !== undefined) {\n // 1. Let referrer be init[\"referrer\"].\n const referrer = init.referrer\n\n // 2. If referrer is the empty string, then set request\u2019s referrer to \"no-referrer\".\n if (referrer === '') {\n request.referrer = 'no-referrer'\n } else {\n // 1. Let parsedReferrer be the result of parsing referrer with\n // baseURL.\n // 2. If parsedReferrer is failure, then throw a TypeError.\n let parsedReferrer\n try {\n parsedReferrer = new URL(referrer, baseUrl)\n } catch (err) {\n throw new TypeError(`Referrer \"${referrer}\" is not a valid URL.`, { cause: err })\n }\n\n // 3. If one of the following is true\n // - parsedReferrer\u2019s scheme is \"about\" and path is the string \"client\"\n // - parsedReferrer\u2019s origin is not same origin with origin\n // then set request\u2019s referrer to \"client\".\n if (\n (parsedReferrer.protocol === 'about:' && parsedReferrer.hostname === 'client') ||\n (origin && !sameOrigin(parsedReferrer, environmentSettingsObject.settingsObject.baseUrl))\n ) {\n request.referrer = 'client'\n } else {\n // 4. Otherwise, set request\u2019s referrer to parsedReferrer.\n request.referrer = parsedReferrer\n }\n }\n }\n\n // 15. If init[\"referrerPolicy\"] exists, then set request\u2019s referrer policy\n // to it.\n if (init.referrerPolicy !== undefined) {\n request.referrerPolicy = init.referrerPolicy\n }\n\n // 16. Let mode be init[\"mode\"] if it exists, and fallbackMode otherwise.\n let mode\n if (init.mode !== undefined) {\n mode = init.mode\n } else {\n mode = fallbackMode\n }\n\n // 17. If mode is \"navigate\", then throw a TypeError.\n if (mode === 'navigate') {\n throw webidl.errors.exception({\n header: 'Request constructor',\n message: 'invalid request mode navigate.'\n })\n }\n\n // 18. If mode is non-null, set request\u2019s mode to mode.\n if (mode != null) {\n request.mode = mode\n }\n\n // 19. If init[\"credentials\"] exists, then set request\u2019s credentials mode\n // to it.\n if (init.credentials !== undefined) {\n request.credentials = init.credentials\n }\n\n // 18. If init[\"cache\"] exists, then set request\u2019s cache mode to it.\n if (init.cache !== undefined) {\n request.cache = init.cache\n }\n\n // 21. If request\u2019s cache mode is \"only-if-cached\" and request\u2019s mode is\n // not \"same-origin\", then throw a TypeError.\n if (request.cache === 'only-if-cached' && request.mode !== 'same-origin') {\n throw new TypeError(\n \"'only-if-cached' can be set only with 'same-origin' mode\"\n )\n }\n\n // 22. If init[\"redirect\"] exists, then set request\u2019s redirect mode to it.\n if (init.redirect !== undefined) {\n request.redirect = init.redirect\n }\n\n // 23. If init[\"integrity\"] exists, then set request\u2019s integrity metadata to it.\n if (init.integrity != null) {\n request.integrity = String(init.integrity)\n }\n\n // 24. If init[\"keepalive\"] exists, then set request\u2019s keepalive to it.\n if (init.keepalive !== undefined) {\n request.keepalive = Boolean(init.keepalive)\n }\n\n // 25. If init[\"method\"] exists, then:\n if (init.method !== undefined) {\n // 1. Let method be init[\"method\"].\n let method = init.method\n\n const mayBeNormalized = normalizedMethodRecords[method]\n\n if (mayBeNormalized !== undefined) {\n // Note: Bypass validation DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH and these lowercase ones\n request.method = mayBeNormalized\n } else {\n // 2. If method is not a method or method is a forbidden method, then\n // throw a TypeError.\n if (!isValidHTTPToken(method)) {\n throw new TypeError(`'${method}' is not a valid HTTP method.`)\n }\n\n const upperCase = method.toUpperCase()\n\n if (forbiddenMethodsSet.has(upperCase)) {\n throw new TypeError(`'${method}' HTTP method is unsupported.`)\n }\n\n // 3. Normalize method.\n // https://fetch.spec.whatwg.org/#concept-method-normalize\n // Note: must be in uppercase\n method = normalizedMethodRecordsBase[upperCase] ?? method\n\n // 4. Set request\u2019s method to method.\n request.method = method\n }\n\n if (!patchMethodWarning && request.method === 'patch') {\n process.emitWarning('Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.', {\n code: 'UNDICI-FETCH-patch'\n })\n\n patchMethodWarning = true\n }\n }\n\n // 26. If init[\"signal\"] exists, then set signal to it.\n if (init.signal !== undefined) {\n signal = init.signal\n }\n\n // 27. Set this\u2019s request to request.\n this[kState] = request\n\n // 28. Set this\u2019s signal to a new AbortSignal object with this\u2019s relevant\n // Realm.\n // TODO: could this be simplified with AbortSignal.any\n // (https://dom.spec.whatwg.org/#dom-abortsignal-any)\n const ac = new AbortController()\n this[kSignal] = ac.signal\n\n // 29. If signal is not null, then make this\u2019s signal follow signal.\n if (signal != null) {\n if (\n !signal ||\n typeof signal.aborted !== 'boolean' ||\n typeof signal.addEventListener !== 'function'\n ) {\n throw new TypeError(\n \"Failed to construct 'Request': member signal is not of type AbortSignal.\"\n )\n }\n\n if (signal.aborted) {\n ac.abort(signal.reason)\n } else {\n // Keep a strong ref to ac while request object\n // is alive. This is needed to prevent AbortController\n // from being prematurely garbage collected.\n // See, https://github.com/nodejs/undici/issues/1926.\n this[kAbortController] = ac\n\n const acRef = new WeakRef(ac)\n const abort = buildAbort(acRef)\n\n // Third-party AbortControllers may not work with these.\n // See, https://github.com/nodejs/undici/pull/1910#issuecomment-1464495619.\n try {\n // If the max amount of listeners is equal to the default, increase it\n // This is only available in node >= v19.9.0\n if (typeof getMaxListeners === 'function' && getMaxListeners(signal) === defaultMaxListeners) {\n setMaxListeners(1500, signal)\n } else if (getEventListeners(signal, 'abort').length >= defaultMaxListeners) {\n setMaxListeners(1500, signal)\n }\n } catch {}\n\n util.addAbortListener(signal, abort)\n // The third argument must be a registry key to be unregistered.\n // Without it, you cannot unregister.\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry\n // abort is used as the unregister key. (because it is unique)\n requestFinalizer.register(ac, { signal, abort }, abort)\n }\n }\n\n // 30. Set this\u2019s headers to a new Headers object with this\u2019s relevant\n // Realm, whose header list is request\u2019s header list and guard is\n // \"request\".\n this[kHeaders] = new Headers(kConstruct)\n setHeadersList(this[kHeaders], request.headersList)\n setHeadersGuard(this[kHeaders], 'request')\n\n // 31. If this\u2019s request\u2019s mode is \"no-cors\", then:\n if (mode === 'no-cors') {\n // 1. If this\u2019s request\u2019s method is not a CORS-safelisted method,\n // then throw a TypeError.\n if (!corsSafeListedMethodsSet.has(request.method)) {\n throw new TypeError(\n `'${request.method} is unsupported in no-cors mode.`\n )\n }\n\n // 2. Set this\u2019s headers\u2019s guard to \"request-no-cors\".\n setHeadersGuard(this[kHeaders], 'request-no-cors')\n }\n\n // 32. If init is not empty, then:\n if (initHasKey) {\n /** @type {HeadersList} */\n const headersList = getHeadersList(this[kHeaders])\n // 1. Let headers be a copy of this\u2019s headers and its associated header\n // list.\n // 2. If init[\"headers\"] exists, then set headers to init[\"headers\"].\n const headers = init.headers !== undefined ? init.headers : new HeadersList(headersList)\n\n // 3. Empty this\u2019s headers\u2019s header list.\n headersList.clear()\n\n // 4. If headers is a Headers object, then for each header in its header\n // list, append header\u2019s name/header\u2019s value to this\u2019s headers.\n if (headers instanceof HeadersList) {\n for (const { name, value } of headers.rawValues()) {\n headersList.append(name, value, false)\n }\n // Note: Copy the `set-cookie` meta-data.\n headersList.cookies = headers.cookies\n } else {\n // 5. Otherwise, fill this\u2019s headers with headers.\n fillHeaders(this[kHeaders], headers)\n }\n }\n\n // 33. Let inputBody be input\u2019s request\u2019s body if input is a Request\n // object; otherwise null.\n const inputBody = input instanceof Request ? input[kState].body : null\n\n // 34. If either init[\"body\"] exists and is non-null or inputBody is\n // non-null, and request\u2019s method is `GET` or `HEAD`, then throw a\n // TypeError.\n if (\n (init.body != null || inputBody != null) &&\n (request.method === 'GET' || request.method === 'HEAD')\n ) {\n throw new TypeError('Request with GET/HEAD method cannot have body.')\n }\n\n // 35. Let initBody be null.\n let initBody = null\n\n // 36. If init[\"body\"] exists and is non-null, then:\n if (init.body != null) {\n // 1. Let Content-Type be null.\n // 2. Set initBody and Content-Type to the result of extracting\n // init[\"body\"], with keepalive set to request\u2019s keepalive.\n const [extractedBody, contentType] = extractBody(\n init.body,\n request.keepalive\n )\n initBody = extractedBody\n\n // 3, If Content-Type is non-null and this\u2019s headers\u2019s header list does\n // not contain `Content-Type`, then append `Content-Type`/Content-Type to\n // this\u2019s headers.\n if (contentType && !getHeadersList(this[kHeaders]).contains('content-type', true)) {\n this[kHeaders].append('content-type', contentType)\n }\n }\n\n // 37. Let inputOrInitBody be initBody if it is non-null; otherwise\n // inputBody.\n const inputOrInitBody = initBody ?? inputBody\n\n // 38. If inputOrInitBody is non-null and inputOrInitBody\u2019s source is\n // null, then:\n if (inputOrInitBody != null && inputOrInitBody.source == null) {\n // 1. If initBody is non-null and init[\"duplex\"] does not exist,\n // then throw a TypeError.\n if (initBody != null && init.duplex == null) {\n throw new TypeError('RequestInit: duplex option is required when sending a body.')\n }\n\n // 2. If this\u2019s request\u2019s mode is neither \"same-origin\" nor \"cors\",\n // then throw a TypeError.\n if (request.mode !== 'same-origin' && request.mode !== 'cors') {\n throw new TypeError(\n 'If request is made from ReadableStream, mode should be \"same-origin\" or \"cors\"'\n )\n }\n\n // 3. Set this\u2019s request\u2019s use-CORS-preflight flag.\n request.useCORSPreflightFlag = true\n }\n\n // 39. Let finalBody be inputOrInitBody.\n let finalBody = inputOrInitBody\n\n // 40. If initBody is null and inputBody is non-null, then:\n if (initBody == null && inputBody != null) {\n // 1. If input is unusable, then throw a TypeError.\n if (bodyUnusable(input)) {\n throw new TypeError(\n 'Cannot construct a Request with a Request object that has already been used.'\n )\n }\n\n // 2. Set finalBody to the result of creating a proxy for inputBody.\n // https://streams.spec.whatwg.org/#readablestream-create-a-proxy\n const identityTransform = new TransformStream()\n inputBody.stream.pipeThrough(identityTransform)\n finalBody = {\n source: inputBody.source,\n length: inputBody.length,\n stream: identityTransform.readable\n }\n }\n\n // 41. Set this\u2019s request\u2019s body to finalBody.\n this[kState].body = finalBody\n }\n\n // Returns request\u2019s HTTP method, which is \"GET\" by default.\n get method () {\n webidl.brandCheck(this, Request)\n\n // The method getter steps are to return this\u2019s request\u2019s method.\n return this[kState].method\n }\n\n // Returns the URL of request as a string.\n get url () {\n webidl.brandCheck(this, Request)\n\n // The url getter steps are to return this\u2019s request\u2019s URL, serialized.\n return URLSerializer(this[kState].url)\n }\n\n // Returns a Headers object consisting of the headers associated with request.\n // Note that headers added in the network layer by the user agent will not\n // be accounted for in this object, e.g., the \"Host\" header.\n get headers () {\n webidl.brandCheck(this, Request)\n\n // The headers getter steps are to return this\u2019s headers.\n return this[kHeaders]\n }\n\n // Returns the kind of resource requested by request, e.g., \"document\"\n // or \"script\".\n get destination () {\n webidl.brandCheck(this, Request)\n\n // The destination getter are to return this\u2019s request\u2019s destination.\n return this[kState].destination\n }\n\n // Returns the referrer of request. Its value can be a same-origin URL if\n // explicitly set in init, the empty string to indicate no referrer, and\n // \"about:client\" when defaulting to the global\u2019s default. This is used\n // during fetching to determine the value of the `Referer` header of the\n // request being made.\n get referrer () {\n webidl.brandCheck(this, Request)\n\n // 1. If this\u2019s request\u2019s referrer is \"no-referrer\", then return the\n // empty string.\n if (this[kState].referrer === 'no-referrer') {\n return ''\n }\n\n // 2. If this\u2019s request\u2019s referrer is \"client\", then return\n // \"about:client\".\n if (this[kState].referrer === 'client') {\n return 'about:client'\n }\n\n // Return this\u2019s request\u2019s referrer, serialized.\n return this[kState].referrer.toString()\n }\n\n // Returns the referrer policy associated with request.\n // This is used during fetching to compute the value of the request\u2019s\n // referrer.\n get referrerPolicy () {\n webidl.brandCheck(this, Request)\n\n // The referrerPolicy getter steps are to return this\u2019s request\u2019s referrer policy.\n return this[kState].referrerPolicy\n }\n\n // Returns the mode associated with request, which is a string indicating\n // whether the request will use CORS, or will be restricted to same-origin\n // URLs.\n get mode () {\n webidl.brandCheck(this, Request)\n\n // The mode getter steps are to return this\u2019s request\u2019s mode.\n return this[kState].mode\n }\n\n // Returns the credentials mode associated with request,\n // which is a string indicating whether credentials will be sent with the\n // request always, never, or only when sent to a same-origin URL.\n get credentials () {\n // The credentials getter steps are to return this\u2019s request\u2019s credentials mode.\n return this[kState].credentials\n }\n\n // Returns the cache mode associated with request,\n // which is a string indicating how the request will\n // interact with the browser\u2019s cache when fetching.\n get cache () {\n webidl.brandCheck(this, Request)\n\n // The cache getter steps are to return this\u2019s request\u2019s cache mode.\n return this[kState].cache\n }\n\n // Returns the redirect mode associated with request,\n // which is a string indicating how redirects for the\n // request will be handled during fetching. A request\n // will follow redirects by default.\n get redirect () {\n webidl.brandCheck(this, Request)\n\n // The redirect getter steps are to return this\u2019s request\u2019s redirect mode.\n return this[kState].redirect\n }\n\n // Returns request\u2019s subresource integrity metadata, which is a\n // cryptographic hash of the resource being fetched. Its value\n // consists of multiple hashes separated by whitespace. [SRI]\n get integrity () {\n webidl.brandCheck(this, Request)\n\n // The integrity getter steps are to return this\u2019s request\u2019s integrity\n // metadata.\n return this[kState].integrity\n }\n\n // Returns a boolean indicating whether or not request can outlive the\n // global in which it was created.\n get keepalive () {\n webidl.brandCheck(this, Request)\n\n // The keepalive getter steps are to return this\u2019s request\u2019s keepalive.\n return this[kState].keepalive\n }\n\n // Returns a boolean indicating whether or not request is for a reload\n // navigation.\n get isReloadNavigation () {\n webidl.brandCheck(this, Request)\n\n // The isReloadNavigation getter steps are to return true if this\u2019s\n // request\u2019s reload-navigation flag is set; otherwise false.\n return this[kState].reloadNavigation\n }\n\n // Returns a boolean indicating whether or not request is for a history\n // navigation (a.k.a. back-forward navigation).\n get isHistoryNavigation () {\n webidl.brandCheck(this, Request)\n\n // The isHistoryNavigation getter steps are to return true if this\u2019s request\u2019s\n // history-navigation flag is set; otherwise false.\n return this[kState].historyNavigation\n }\n\n // Returns the signal associated with request, which is an AbortSignal\n // object indicating whether or not request has been aborted, and its\n // abort event handler.\n get signal () {\n webidl.brandCheck(this, Request)\n\n // The signal getter steps are to return this\u2019s signal.\n return this[kSignal]\n }\n\n get body () {\n webidl.brandCheck(this, Request)\n\n return this[kState].body ? this[kState].body.stream : null\n }\n\n get bodyUsed () {\n webidl.brandCheck(this, Request)\n\n return !!this[kState].body && util.isDisturbed(this[kState].body.stream)\n }\n\n get duplex () {\n webidl.brandCheck(this, Request)\n\n return 'half'\n }\n\n // Returns a clone of request.\n clone () {\n webidl.brandCheck(this, Request)\n\n // 1. If this is unusable, then throw a TypeError.\n if (bodyUnusable(this)) {\n throw new TypeError('unusable')\n }\n\n // 2. Let clonedRequest be the result of cloning this\u2019s request.\n const clonedRequest = cloneRequest(this[kState])\n\n // 3. Let clonedRequestObject be the result of creating a Request object,\n // given clonedRequest, this\u2019s headers\u2019s guard, and this\u2019s relevant Realm.\n // 4. Make clonedRequestObject\u2019s signal follow this\u2019s signal.\n const ac = new AbortController()\n if (this.signal.aborted) {\n ac.abort(this.signal.reason)\n } else {\n let list = dependentControllerMap.get(this.signal)\n if (list === undefined) {\n list = new Set()\n dependentControllerMap.set(this.signal, list)\n }\n const acRef = new WeakRef(ac)\n list.add(acRef)\n util.addAbortListener(\n ac.signal,\n buildAbort(acRef)\n )\n }\n\n // 4. Return clonedRequestObject.\n return fromInnerRequest(clonedRequest, ac.signal, getHeadersGuard(this[kHeaders]))\n }\n\n [nodeUtil.inspect.custom] (depth, options) {\n if (options.depth === null) {\n options.depth = 2\n }\n\n options.colors ??= true\n\n const properties = {\n method: this.method,\n url: this.url,\n headers: this.headers,\n destination: this.destination,\n referrer: this.referrer,\n referrerPolicy: this.referrerPolicy,\n mode: this.mode,\n credentials: this.credentials,\n cache: this.cache,\n redirect: this.redirect,\n integrity: this.integrity,\n keepalive: this.keepalive,\n isReloadNavigation: this.isReloadNavigation,\n isHistoryNavigation: this.isHistoryNavigation,\n signal: this.signal\n }\n\n return `Request ${nodeUtil.formatWithOptions(options, properties)}`\n }\n}\n\nmixinBody(Request)\n\n// https://fetch.spec.whatwg.org/#requests\nfunction makeRequest (init) {\n return {\n method: init.method ?? 'GET',\n localURLsOnly: init.localURLsOnly ?? false,\n unsafeRequest: init.unsafeRequest ?? false,\n body: init.body ?? null,\n client: init.client ?? null,\n reservedClient: init.reservedClient ?? null,\n replacesClientId: init.replacesClientId ?? '',\n window: init.window ?? 'client',\n keepalive: init.keepalive ?? false,\n serviceWorkers: init.serviceWorkers ?? 'all',\n initiator: init.initiator ?? '',\n destination: init.destination ?? '',\n priority: init.priority ?? null,\n origin: init.origin ?? 'client',\n policyContainer: init.policyContainer ?? 'client',\n referrer: init.referrer ?? 'client',\n referrerPolicy: init.referrerPolicy ?? '',\n mode: init.mode ?? 'no-cors',\n useCORSPreflightFlag: init.useCORSPreflightFlag ?? false,\n credentials: init.credentials ?? 'same-origin',\n useCredentials: init.useCredentials ?? false,\n cache: init.cache ?? 'default',\n redirect: init.redirect ?? 'follow',\n integrity: init.integrity ?? '',\n cryptoGraphicsNonceMetadata: init.cryptoGraphicsNonceMetadata ?? '',\n parserMetadata: init.parserMetadata ?? '',\n reloadNavigation: init.reloadNavigation ?? false,\n historyNavigation: init.historyNavigation ?? false,\n userActivation: init.userActivation ?? false,\n taintedOrigin: init.taintedOrigin ?? false,\n redirectCount: init.redirectCount ?? 0,\n responseTainting: init.responseTainting ?? 'basic',\n preventNoCacheCacheControlHeaderModification: init.preventNoCacheCacheControlHeaderModification ?? false,\n done: init.done ?? false,\n timingAllowFailed: init.timingAllowFailed ?? false,\n urlList: init.urlList,\n url: init.urlList[0],\n headersList: init.headersList\n ? new HeadersList(init.headersList)\n : new HeadersList()\n }\n}\n\n// https://fetch.spec.whatwg.org/#concept-request-clone\nfunction cloneRequest (request) {\n // To clone a request request, run these steps:\n\n // 1. Let newRequest be a copy of request, except for its body.\n const newRequest = makeRequest({ ...request, body: null })\n\n // 2. If request\u2019s body is non-null, set newRequest\u2019s body to the\n // result of cloning request\u2019s body.\n if (request.body != null) {\n newRequest.body = cloneBody(newRequest, request.body)\n }\n\n // 3. Return newRequest.\n return newRequest\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#request-create\n * @param {any} innerRequest\n * @param {AbortSignal} signal\n * @param {'request' | 'immutable' | 'request-no-cors' | 'response' | 'none'} guard\n * @returns {Request}\n */\nfunction fromInnerRequest (innerRequest, signal, guard) {\n const request = new Request(kConstruct)\n request[kState] = innerRequest\n request[kSignal] = signal\n request[kHeaders] = new Headers(kConstruct)\n setHeadersList(request[kHeaders], innerRequest.headersList)\n setHeadersGuard(request[kHeaders], guard)\n return request\n}\n\nObject.defineProperties(Request.prototype, {\n method: kEnumerableProperty,\n url: kEnumerableProperty,\n headers: kEnumerableProperty,\n redirect: kEnumerableProperty,\n clone: kEnumerableProperty,\n signal: kEnumerableProperty,\n duplex: kEnumerableProperty,\n destination: kEnumerableProperty,\n body: kEnumerableProperty,\n bodyUsed: kEnumerableProperty,\n isHistoryNavigation: kEnumerableProperty,\n isReloadNavigation: kEnumerableProperty,\n keepalive: kEnumerableProperty,\n integrity: kEnumerableProperty,\n cache: kEnumerableProperty,\n credentials: kEnumerableProperty,\n attribute: kEnumerableProperty,\n referrerPolicy: kEnumerableProperty,\n referrer: kEnumerableProperty,\n mode: kEnumerableProperty,\n [Symbol.toStringTag]: {\n value: 'Request',\n configurable: true\n }\n})\n\nwebidl.converters.Request = webidl.interfaceConverter(\n Request\n)\n\n// https://fetch.spec.whatwg.org/#requestinfo\nwebidl.converters.RequestInfo = function (V, prefix, argument) {\n if (typeof V === 'string') {\n return webidl.converters.USVString(V, prefix, argument)\n }\n\n if (V instanceof Request) {\n return webidl.converters.Request(V, prefix, argument)\n }\n\n return webidl.converters.USVString(V, prefix, argument)\n}\n\nwebidl.converters.AbortSignal = webidl.interfaceConverter(\n AbortSignal\n)\n\n// https://fetch.spec.whatwg.org/#requestinit\nwebidl.converters.RequestInit = webidl.dictionaryConverter([\n {\n key: 'method',\n converter: webidl.converters.ByteString\n },\n {\n key: 'headers',\n converter: webidl.converters.HeadersInit\n },\n {\n key: 'body',\n converter: webidl.nullableConverter(\n webidl.converters.BodyInit\n )\n },\n {\n key: 'referrer',\n converter: webidl.converters.USVString\n },\n {\n key: 'referrerPolicy',\n converter: webidl.converters.DOMString,\n // https://w3c.github.io/webappsec-referrer-policy/#referrer-policy\n allowedValues: referrerPolicy\n },\n {\n key: 'mode',\n converter: webidl.converters.DOMString,\n // https://fetch.spec.whatwg.org/#concept-request-mode\n allowedValues: requestMode\n },\n {\n key: 'credentials',\n converter: webidl.converters.DOMString,\n // https://fetch.spec.whatwg.org/#requestcredentials\n allowedValues: requestCredentials\n },\n {\n key: 'cache',\n converter: webidl.converters.DOMString,\n // https://fetch.spec.whatwg.org/#requestcache\n allowedValues: requestCache\n },\n {\n key: 'redirect',\n converter: webidl.converters.DOMString,\n // https://fetch.spec.whatwg.org/#requestredirect\n allowedValues: requestRedirect\n },\n {\n key: 'integrity',\n converter: webidl.converters.DOMString\n },\n {\n key: 'keepalive',\n converter: webidl.converters.boolean\n },\n {\n key: 'signal',\n converter: webidl.nullableConverter(\n (signal) => webidl.converters.AbortSignal(\n signal,\n 'RequestInit',\n 'signal',\n { strict: false }\n )\n )\n },\n {\n key: 'window',\n converter: webidl.converters.any\n },\n {\n key: 'duplex',\n converter: webidl.converters.DOMString,\n allowedValues: requestDuplex\n },\n {\n key: 'dispatcher', // undici specific option\n converter: webidl.converters.any\n }\n])\n\nmodule.exports = { Request, makeRequest, fromInnerRequest, cloneRequest }\n", "// https://github.com/Ethan-Arrowood/undici-fetch\n\n'use strict'\n\nconst {\n makeNetworkError,\n makeAppropriateNetworkError,\n filterResponse,\n makeResponse,\n fromInnerResponse\n} = require('./response')\nconst { HeadersList } = require('./headers')\nconst { Request, cloneRequest } = require('./request')\nconst zlib = require('node:zlib')\nconst {\n bytesMatch,\n makePolicyContainer,\n clonePolicyContainer,\n requestBadPort,\n TAOCheck,\n appendRequestOriginHeader,\n responseLocationURL,\n requestCurrentURL,\n setRequestReferrerPolicyOnRedirect,\n tryUpgradeRequestToAPotentiallyTrustworthyURL,\n createOpaqueTimingInfo,\n appendFetchMetadata,\n corsCheck,\n crossOriginResourcePolicyCheck,\n determineRequestsReferrer,\n coarsenedSharedCurrentTime,\n createDeferredPromise,\n isBlobLike,\n sameOrigin,\n isCancelled,\n isAborted,\n isErrorLike,\n fullyReadBody,\n readableStreamClose,\n isomorphicEncode,\n urlIsLocal,\n urlIsHttpHttpsScheme,\n urlHasHttpsScheme,\n clampAndCoarsenConnectionTimingInfo,\n simpleRangeHeaderValue,\n buildContentRange,\n createInflate,\n extractMimeType\n} = require('./util')\nconst { kState, kDispatcher } = require('./symbols')\nconst assert = require('node:assert')\nconst { safelyExtractBody, extractBody } = require('./body')\nconst {\n redirectStatusSet,\n nullBodyStatus,\n safeMethodsSet,\n requestBodyHeader,\n subresourceSet\n} = require('./constants')\nconst EE = require('node:events')\nconst { Readable, pipeline, finished } = require('node:stream')\nconst { addAbortListener, isErrored, isReadable, bufferToLowerCasedHeaderName } = require('../../core/util')\nconst { dataURLProcessor, serializeAMimeType, minimizeSupportedMimeType } = require('./data-url')\nconst { getGlobalDispatcher } = require('../../global')\nconst { webidl } = require('./webidl')\nconst { STATUS_CODES } = require('node:http')\nconst GET_OR_HEAD = ['GET', 'HEAD']\n\nconst defaultUserAgent = typeof __UNDICI_IS_NODE__ !== 'undefined' || typeof esbuildDetection !== 'undefined'\n ? 'node'\n : 'undici'\n\n/** @type {import('buffer').resolveObjectURL} */\nlet resolveObjectURL\n\nclass Fetch extends EE {\n constructor (dispatcher) {\n super()\n\n this.dispatcher = dispatcher\n this.connection = null\n this.dump = false\n this.state = 'ongoing'\n }\n\n terminate (reason) {\n if (this.state !== 'ongoing') {\n return\n }\n\n this.state = 'terminated'\n this.connection?.destroy(reason)\n this.emit('terminated', reason)\n }\n\n // https://fetch.spec.whatwg.org/#fetch-controller-abort\n abort (error) {\n if (this.state !== 'ongoing') {\n return\n }\n\n // 1. Set controller\u2019s state to \"aborted\".\n this.state = 'aborted'\n\n // 2. Let fallbackError be an \"AbortError\" DOMException.\n // 3. Set error to fallbackError if it is not given.\n if (!error) {\n error = new DOMException('The operation was aborted.', 'AbortError')\n }\n\n // 4. Let serializedError be StructuredSerialize(error).\n // If that threw an exception, catch it, and let\n // serializedError be StructuredSerialize(fallbackError).\n\n // 5. Set controller\u2019s serialized abort reason to serializedError.\n this.serializedAbortReason = error\n\n this.connection?.destroy(error)\n this.emit('terminated', error)\n }\n}\n\nfunction handleFetchDone (response) {\n finalizeAndReportTiming(response, 'fetch')\n}\n\n// https://fetch.spec.whatwg.org/#fetch-method\nfunction fetch (input, init = undefined) {\n webidl.argumentLengthCheck(arguments, 1, 'globalThis.fetch')\n\n // 1. Let p be a new promise.\n let p = createDeferredPromise()\n\n // 2. Let requestObject be the result of invoking the initial value of\n // Request as constructor with input and init as arguments. If this throws\n // an exception, reject p with it and return p.\n let requestObject\n\n try {\n requestObject = new Request(input, init)\n } catch (e) {\n p.reject(e)\n return p.promise\n }\n\n // 3. Let request be requestObject\u2019s request.\n const request = requestObject[kState]\n\n // 4. If requestObject\u2019s signal\u2019s aborted flag is set, then:\n if (requestObject.signal.aborted) {\n // 1. Abort the fetch() call with p, request, null, and\n // requestObject\u2019s signal\u2019s abort reason.\n abortFetch(p, request, null, requestObject.signal.reason)\n\n // 2. Return p.\n return p.promise\n }\n\n // 5. Let globalObject be request\u2019s client\u2019s global object.\n const globalObject = request.client.globalObject\n\n // 6. If globalObject is a ServiceWorkerGlobalScope object, then set\n // request\u2019s service-workers mode to \"none\".\n if (globalObject?.constructor?.name === 'ServiceWorkerGlobalScope') {\n request.serviceWorkers = 'none'\n }\n\n // 7. Let responseObject be null.\n let responseObject = null\n\n // 8. Let relevantRealm be this\u2019s relevant Realm.\n\n // 9. Let locallyAborted be false.\n let locallyAborted = false\n\n // 10. Let controller be null.\n let controller = null\n\n // 11. Add the following abort steps to requestObject\u2019s signal:\n addAbortListener(\n requestObject.signal,\n () => {\n // 1. Set locallyAborted to true.\n locallyAborted = true\n\n // 2. Assert: controller is non-null.\n assert(controller != null)\n\n // 3. Abort controller with requestObject\u2019s signal\u2019s abort reason.\n controller.abort(requestObject.signal.reason)\n\n const realResponse = responseObject?.deref()\n\n // 4. Abort the fetch() call with p, request, responseObject,\n // and requestObject\u2019s signal\u2019s abort reason.\n abortFetch(p, request, realResponse, requestObject.signal.reason)\n }\n )\n\n // 12. Let handleFetchDone given response response be to finalize and\n // report timing with response, globalObject, and \"fetch\".\n // see function handleFetchDone\n\n // 13. Set controller to the result of calling fetch given request,\n // with processResponseEndOfBody set to handleFetchDone, and processResponse\n // given response being these substeps:\n\n const processResponse = (response) => {\n // 1. If locallyAborted is true, terminate these substeps.\n if (locallyAborted) {\n return\n }\n\n // 2. If response\u2019s aborted flag is set, then:\n if (response.aborted) {\n // 1. Let deserializedError be the result of deserialize a serialized\n // abort reason given controller\u2019s serialized abort reason and\n // relevantRealm.\n\n // 2. Abort the fetch() call with p, request, responseObject, and\n // deserializedError.\n\n abortFetch(p, request, responseObject, controller.serializedAbortReason)\n return\n }\n\n // 3. If response is a network error, then reject p with a TypeError\n // and terminate these substeps.\n if (response.type === 'error') {\n p.reject(new TypeError('fetch failed', { cause: response.error }))\n return\n }\n\n // 4. Set responseObject to the result of creating a Response object,\n // given response, \"immutable\", and relevantRealm.\n responseObject = new WeakRef(fromInnerResponse(response, 'immutable'))\n\n // 5. Resolve p with responseObject.\n p.resolve(responseObject.deref())\n p = null\n }\n\n controller = fetching({\n request,\n processResponseEndOfBody: handleFetchDone,\n processResponse,\n dispatcher: requestObject[kDispatcher] // undici\n })\n\n // 14. Return p.\n return p.promise\n}\n\n// https://fetch.spec.whatwg.org/#finalize-and-report-timing\nfunction finalizeAndReportTiming (response, initiatorType = 'other') {\n // 1. If response is an aborted network error, then return.\n if (response.type === 'error' && response.aborted) {\n return\n }\n\n // 2. If response\u2019s URL list is null or empty, then return.\n if (!response.urlList?.length) {\n return\n }\n\n // 3. Let originalURL be response\u2019s URL list[0].\n const originalURL = response.urlList[0]\n\n // 4. Let timingInfo be response\u2019s timing info.\n let timingInfo = response.timingInfo\n\n // 5. Let cacheState be response\u2019s cache state.\n let cacheState = response.cacheState\n\n // 6. If originalURL\u2019s scheme is not an HTTP(S) scheme, then return.\n if (!urlIsHttpHttpsScheme(originalURL)) {\n return\n }\n\n // 7. If timingInfo is null, then return.\n if (timingInfo === null) {\n return\n }\n\n // 8. If response\u2019s timing allow passed flag is not set, then:\n if (!response.timingAllowPassed) {\n // 1. Set timingInfo to a the result of creating an opaque timing info for timingInfo.\n timingInfo = createOpaqueTimingInfo({\n startTime: timingInfo.startTime\n })\n\n // 2. Set cacheState to the empty string.\n cacheState = ''\n }\n\n // 9. Set timingInfo\u2019s end time to the coarsened shared current time\n // given global\u2019s relevant settings object\u2019s cross-origin isolated\n // capability.\n // TODO: given global\u2019s relevant settings object\u2019s cross-origin isolated\n // capability?\n timingInfo.endTime = coarsenedSharedCurrentTime()\n\n // 10. Set response\u2019s timing info to timingInfo.\n response.timingInfo = timingInfo\n\n // 11. Mark resource timing for timingInfo, originalURL, initiatorType,\n // global, and cacheState.\n markResourceTiming(\n timingInfo,\n originalURL.href,\n initiatorType,\n globalThis,\n cacheState\n )\n}\n\n// https://w3c.github.io/resource-timing/#dfn-mark-resource-timing\nconst markResourceTiming = performance.markResourceTiming\n\n// https://fetch.spec.whatwg.org/#abort-fetch\nfunction abortFetch (p, request, responseObject, error) {\n // 1. Reject promise with error.\n if (p) {\n // We might have already resolved the promise at this stage\n p.reject(error)\n }\n\n // 2. If request\u2019s body is not null and is readable, then cancel request\u2019s\n // body with error.\n if (request.body != null && isReadable(request.body?.stream)) {\n request.body.stream.cancel(error).catch((err) => {\n if (err.code === 'ERR_INVALID_STATE') {\n // Node bug?\n return\n }\n throw err\n })\n }\n\n // 3. If responseObject is null, then return.\n if (responseObject == null) {\n return\n }\n\n // 4. Let response be responseObject\u2019s response.\n const response = responseObject[kState]\n\n // 5. If response\u2019s body is not null and is readable, then error response\u2019s\n // body with error.\n if (response.body != null && isReadable(response.body?.stream)) {\n response.body.stream.cancel(error).catch((err) => {\n if (err.code === 'ERR_INVALID_STATE') {\n // Node bug?\n return\n }\n throw err\n })\n }\n}\n\n// https://fetch.spec.whatwg.org/#fetching\nfunction fetching ({\n request,\n processRequestBodyChunkLength,\n processRequestEndOfBody,\n processResponse,\n processResponseEndOfBody,\n processResponseConsumeBody,\n useParallelQueue = false,\n dispatcher = getGlobalDispatcher() // undici\n}) {\n // Ensure that the dispatcher is set accordingly\n assert(dispatcher)\n\n // 1. Let taskDestination be null.\n let taskDestination = null\n\n // 2. Let crossOriginIsolatedCapability be false.\n let crossOriginIsolatedCapability = false\n\n // 3. If request\u2019s client is non-null, then:\n if (request.client != null) {\n // 1. Set taskDestination to request\u2019s client\u2019s global object.\n taskDestination = request.client.globalObject\n\n // 2. Set crossOriginIsolatedCapability to request\u2019s client\u2019s cross-origin\n // isolated capability.\n crossOriginIsolatedCapability =\n request.client.crossOriginIsolatedCapability\n }\n\n // 4. If useParallelQueue is true, then set taskDestination to the result of\n // starting a new parallel queue.\n // TODO\n\n // 5. Let timingInfo be a new fetch timing info whose start time and\n // post-redirect start time are the coarsened shared current time given\n // crossOriginIsolatedCapability.\n const currentTime = coarsenedSharedCurrentTime(crossOriginIsolatedCapability)\n const timingInfo = createOpaqueTimingInfo({\n startTime: currentTime\n })\n\n // 6. Let fetchParams be a new fetch params whose\n // request is request,\n // timing info is timingInfo,\n // process request body chunk length is processRequestBodyChunkLength,\n // process request end-of-body is processRequestEndOfBody,\n // process response is processResponse,\n // process response consume body is processResponseConsumeBody,\n // process response end-of-body is processResponseEndOfBody,\n // task destination is taskDestination,\n // and cross-origin isolated capability is crossOriginIsolatedCapability.\n const fetchParams = {\n controller: new Fetch(dispatcher),\n request,\n timingInfo,\n processRequestBodyChunkLength,\n processRequestEndOfBody,\n processResponse,\n processResponseConsumeBody,\n processResponseEndOfBody,\n taskDestination,\n crossOriginIsolatedCapability\n }\n\n // 7. If request\u2019s body is a byte sequence, then set request\u2019s body to\n // request\u2019s body as a body.\n // NOTE: Since fetching is only called from fetch, body should already be\n // extracted.\n assert(!request.body || request.body.stream)\n\n // 8. If request\u2019s window is \"client\", then set request\u2019s window to request\u2019s\n // client, if request\u2019s client\u2019s global object is a Window object; otherwise\n // \"no-window\".\n if (request.window === 'client') {\n // TODO: What if request.client is null?\n request.window =\n request.client?.globalObject?.constructor?.name === 'Window'\n ? request.client\n : 'no-window'\n }\n\n // 9. If request\u2019s origin is \"client\", then set request\u2019s origin to request\u2019s\n // client\u2019s origin.\n if (request.origin === 'client') {\n request.origin = request.client.origin\n }\n\n // 10. If all of the following conditions are true:\n // TODO\n\n // 11. If request\u2019s policy container is \"client\", then:\n if (request.policyContainer === 'client') {\n // 1. If request\u2019s client is non-null, then set request\u2019s policy\n // container to a clone of request\u2019s client\u2019s policy container. [HTML]\n if (request.client != null) {\n request.policyContainer = clonePolicyContainer(\n request.client.policyContainer\n )\n } else {\n // 2. Otherwise, set request\u2019s policy container to a new policy\n // container.\n request.policyContainer = makePolicyContainer()\n }\n }\n\n // 12. If request\u2019s header list does not contain `Accept`, then:\n if (!request.headersList.contains('accept', true)) {\n // 1. Let value be `*/*`.\n const value = '*/*'\n\n // 2. A user agent should set value to the first matching statement, if\n // any, switching on request\u2019s destination:\n // \"document\"\n // \"frame\"\n // \"iframe\"\n // `text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8`\n // \"image\"\n // `image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5`\n // \"style\"\n // `text/css,*/*;q=0.1`\n // TODO\n\n // 3. Append `Accept`/value to request\u2019s header list.\n request.headersList.append('accept', value, true)\n }\n\n // 13. If request\u2019s header list does not contain `Accept-Language`, then\n // user agents should append `Accept-Language`/an appropriate value to\n // request\u2019s header list.\n if (!request.headersList.contains('accept-language', true)) {\n request.headersList.append('accept-language', '*', true)\n }\n\n // 14. If request\u2019s priority is null, then use request\u2019s initiator and\n // destination appropriately in setting request\u2019s priority to a\n // user-agent-defined object.\n if (request.priority === null) {\n // TODO\n }\n\n // 15. If request is a subresource request, then:\n if (subresourceSet.has(request.destination)) {\n // TODO\n }\n\n // 16. Run main fetch given fetchParams.\n mainFetch(fetchParams)\n .catch(err => {\n fetchParams.controller.terminate(err)\n })\n\n // 17. Return fetchParam's controller\n return fetchParams.controller\n}\n\n// https://fetch.spec.whatwg.org/#concept-main-fetch\nasync function mainFetch (fetchParams, recursive = false) {\n // 1. Let request be fetchParams\u2019s request.\n const request = fetchParams.request\n\n // 2. Let response be null.\n let response = null\n\n // 3. If request\u2019s local-URLs-only flag is set and request\u2019s current URL is\n // not local, then set response to a network error.\n if (request.localURLsOnly && !urlIsLocal(requestCurrentURL(request))) {\n response = makeNetworkError('local URLs only')\n }\n\n // 4. Run report Content Security Policy violations for request.\n // TODO\n\n // 5. Upgrade request to a potentially trustworthy URL, if appropriate.\n tryUpgradeRequestToAPotentiallyTrustworthyURL(request)\n\n // 6. If should request be blocked due to a bad port, should fetching request\n // be blocked as mixed content, or should request be blocked by Content\n // Security Policy returns blocked, then set response to a network error.\n if (requestBadPort(request) === 'blocked') {\n response = makeNetworkError('bad port')\n }\n // TODO: should fetching request be blocked as mixed content?\n // TODO: should request be blocked by Content Security Policy?\n\n // 7. If request\u2019s referrer policy is the empty string, then set request\u2019s\n // referrer policy to request\u2019s policy container\u2019s referrer policy.\n if (request.referrerPolicy === '') {\n request.referrerPolicy = request.policyContainer.referrerPolicy\n }\n\n // 8. If request\u2019s referrer is not \"no-referrer\", then set request\u2019s\n // referrer to the result of invoking determine request\u2019s referrer.\n if (request.referrer !== 'no-referrer') {\n request.referrer = determineRequestsReferrer(request)\n }\n\n // 9. Set request\u2019s current URL\u2019s scheme to \"https\" if all of the following\n // conditions are true:\n // - request\u2019s current URL\u2019s scheme is \"http\"\n // - request\u2019s current URL\u2019s host is a domain\n // - Matching request\u2019s current URL\u2019s host per Known HSTS Host Domain Name\n // Matching results in either a superdomain match with an asserted\n // includeSubDomains directive or a congruent match (with or without an\n // asserted includeSubDomains directive). [HSTS]\n // TODO\n\n // 10. If recursive is false, then run the remaining steps in parallel.\n // TODO\n\n // 11. If response is null, then set response to the result of running\n // the steps corresponding to the first matching statement:\n if (response === null) {\n response = await (async () => {\n const currentURL = requestCurrentURL(request)\n\n if (\n // - request\u2019s current URL\u2019s origin is same origin with request\u2019s origin,\n // and request\u2019s response tainting is \"basic\"\n (sameOrigin(currentURL, request.url) && request.responseTainting === 'basic') ||\n // request\u2019s current URL\u2019s scheme is \"data\"\n (currentURL.protocol === 'data:') ||\n // - request\u2019s mode is \"navigate\" or \"websocket\"\n (request.mode === 'navigate' || request.mode === 'websocket')\n ) {\n // 1. Set request\u2019s response tainting to \"basic\".\n request.responseTainting = 'basic'\n\n // 2. Return the result of running scheme fetch given fetchParams.\n return await schemeFetch(fetchParams)\n }\n\n // request\u2019s mode is \"same-origin\"\n if (request.mode === 'same-origin') {\n // 1. Return a network error.\n return makeNetworkError('request mode cannot be \"same-origin\"')\n }\n\n // request\u2019s mode is \"no-cors\"\n if (request.mode === 'no-cors') {\n // 1. If request\u2019s redirect mode is not \"follow\", then return a network\n // error.\n if (request.redirect !== 'follow') {\n return makeNetworkError(\n 'redirect mode cannot be \"follow\" for \"no-cors\" request'\n )\n }\n\n // 2. Set request\u2019s response tainting to \"opaque\".\n request.responseTainting = 'opaque'\n\n // 3. Return the result of running scheme fetch given fetchParams.\n return await schemeFetch(fetchParams)\n }\n\n // request\u2019s current URL\u2019s scheme is not an HTTP(S) scheme\n if (!urlIsHttpHttpsScheme(requestCurrentURL(request))) {\n // Return a network error.\n return makeNetworkError('URL scheme must be a HTTP(S) scheme')\n }\n\n // - request\u2019s use-CORS-preflight flag is set\n // - request\u2019s unsafe-request flag is set and either request\u2019s method is\n // not a CORS-safelisted method or CORS-unsafe request-header names with\n // request\u2019s header list is not empty\n // 1. Set request\u2019s response tainting to \"cors\".\n // 2. Let corsWithPreflightResponse be the result of running HTTP fetch\n // given fetchParams and true.\n // 3. If corsWithPreflightResponse is a network error, then clear cache\n // entries using request.\n // 4. Return corsWithPreflightResponse.\n // TODO\n\n // Otherwise\n // 1. Set request\u2019s response tainting to \"cors\".\n request.responseTainting = 'cors'\n\n // 2. Return the result of running HTTP fetch given fetchParams.\n return await httpFetch(fetchParams)\n })()\n }\n\n // 12. If recursive is true, then return response.\n if (recursive) {\n return response\n }\n\n // 13. If response is not a network error and response is not a filtered\n // response, then:\n if (response.status !== 0 && !response.internalResponse) {\n // If request\u2019s response tainting is \"cors\", then:\n if (request.responseTainting === 'cors') {\n // 1. Let headerNames be the result of extracting header list values\n // given `Access-Control-Expose-Headers` and response\u2019s header list.\n // TODO\n // 2. If request\u2019s credentials mode is not \"include\" and headerNames\n // contains `*`, then set response\u2019s CORS-exposed header-name list to\n // all unique header names in response\u2019s header list.\n // TODO\n // 3. Otherwise, if headerNames is not null or failure, then set\n // response\u2019s CORS-exposed header-name list to headerNames.\n // TODO\n }\n\n // Set response to the following filtered response with response as its\n // internal response, depending on request\u2019s response tainting:\n if (request.responseTainting === 'basic') {\n response = filterResponse(response, 'basic')\n } else if (request.responseTainting === 'cors') {\n response = filterResponse(response, 'cors')\n } else if (request.responseTainting === 'opaque') {\n response = filterResponse(response, 'opaque')\n } else {\n assert(false)\n }\n }\n\n // 14. Let internalResponse be response, if response is a network error,\n // and response\u2019s internal response otherwise.\n let internalResponse =\n response.status === 0 ? response : response.internalResponse\n\n // 15. If internalResponse\u2019s URL list is empty, then set it to a clone of\n // request\u2019s URL list.\n if (internalResponse.urlList.length === 0) {\n internalResponse.urlList.push(...request.urlList)\n }\n\n // 16. If request\u2019s timing allow failed flag is unset, then set\n // internalResponse\u2019s timing allow passed flag.\n if (!request.timingAllowFailed) {\n response.timingAllowPassed = true\n }\n\n // 17. If response is not a network error and any of the following returns\n // blocked\n // - should internalResponse to request be blocked as mixed content\n // - should internalResponse to request be blocked by Content Security Policy\n // - should internalResponse to request be blocked due to its MIME type\n // - should internalResponse to request be blocked due to nosniff\n // TODO\n\n // 18. If response\u2019s type is \"opaque\", internalResponse\u2019s status is 206,\n // internalResponse\u2019s range-requested flag is set, and request\u2019s header\n // list does not contain `Range`, then set response and internalResponse\n // to a network error.\n if (\n response.type === 'opaque' &&\n internalResponse.status === 206 &&\n internalResponse.rangeRequested &&\n !request.headers.contains('range', true)\n ) {\n response = internalResponse = makeNetworkError()\n }\n\n // 19. If response is not a network error and either request\u2019s method is\n // `HEAD` or `CONNECT`, or internalResponse\u2019s status is a null body status,\n // set internalResponse\u2019s body to null and disregard any enqueuing toward\n // it (if any).\n if (\n response.status !== 0 &&\n (request.method === 'HEAD' ||\n request.method === 'CONNECT' ||\n nullBodyStatus.includes(internalResponse.status))\n ) {\n internalResponse.body = null\n fetchParams.controller.dump = true\n }\n\n // 20. If request\u2019s integrity metadata is not the empty string, then:\n if (request.integrity) {\n // 1. Let processBodyError be this step: run fetch finale given fetchParams\n // and a network error.\n const processBodyError = (reason) =>\n fetchFinale(fetchParams, makeNetworkError(reason))\n\n // 2. If request\u2019s response tainting is \"opaque\", or response\u2019s body is null,\n // then run processBodyError and abort these steps.\n if (request.responseTainting === 'opaque' || response.body == null) {\n processBodyError(response.error)\n return\n }\n\n // 3. Let processBody given bytes be these steps:\n const processBody = (bytes) => {\n // 1. If bytes do not match request\u2019s integrity metadata,\n // then run processBodyError and abort these steps. [SRI]\n if (!bytesMatch(bytes, request.integrity)) {\n processBodyError('integrity mismatch')\n return\n }\n\n // 2. Set response\u2019s body to bytes as a body.\n response.body = safelyExtractBody(bytes)[0]\n\n // 3. Run fetch finale given fetchParams and response.\n fetchFinale(fetchParams, response)\n }\n\n // 4. Fully read response\u2019s body given processBody and processBodyError.\n await fullyReadBody(response.body, processBody, processBodyError)\n } else {\n // 21. Otherwise, run fetch finale given fetchParams and response.\n fetchFinale(fetchParams, response)\n }\n}\n\n// https://fetch.spec.whatwg.org/#concept-scheme-fetch\n// given a fetch params fetchParams\nfunction schemeFetch (fetchParams) {\n // Note: since the connection is destroyed on redirect, which sets fetchParams to a\n // cancelled state, we do not want this condition to trigger *unless* there have been\n // no redirects. See https://github.com/nodejs/undici/issues/1776\n // 1. If fetchParams is canceled, then return the appropriate network error for fetchParams.\n if (isCancelled(fetchParams) && fetchParams.request.redirectCount === 0) {\n return Promise.resolve(makeAppropriateNetworkError(fetchParams))\n }\n\n // 2. Let request be fetchParams\u2019s request.\n const { request } = fetchParams\n\n const { protocol: scheme } = requestCurrentURL(request)\n\n // 3. Switch on request\u2019s current URL\u2019s scheme and run the associated steps:\n switch (scheme) {\n case 'about:': {\n // If request\u2019s current URL\u2019s path is the string \"blank\", then return a new response\n // whose status message is `OK`, header list is \u00AB (`Content-Type`, `text/html;charset=utf-8`) \u00BB,\n // and body is the empty byte sequence as a body.\n\n // Otherwise, return a network error.\n return Promise.resolve(makeNetworkError('about scheme is not supported'))\n }\n case 'blob:': {\n if (!resolveObjectURL) {\n resolveObjectURL = require('node:buffer').resolveObjectURL\n }\n\n // 1. Let blobURLEntry be request\u2019s current URL\u2019s blob URL entry.\n const blobURLEntry = requestCurrentURL(request)\n\n // https://github.com/web-platform-tests/wpt/blob/7b0ebaccc62b566a1965396e5be7bb2bc06f841f/FileAPI/url/resources/fetch-tests.js#L52-L56\n // Buffer.resolveObjectURL does not ignore URL queries.\n if (blobURLEntry.search.length !== 0) {\n return Promise.resolve(makeNetworkError('NetworkError when attempting to fetch resource.'))\n }\n\n const blob = resolveObjectURL(blobURLEntry.toString())\n\n // 2. If request\u2019s method is not `GET`, blobURLEntry is null, or blobURLEntry\u2019s\n // object is not a Blob object, then return a network error.\n if (request.method !== 'GET' || !isBlobLike(blob)) {\n return Promise.resolve(makeNetworkError('invalid method'))\n }\n\n // 3. Let blob be blobURLEntry\u2019s object.\n // Note: done above\n\n // 4. Let response be a new response.\n const response = makeResponse()\n\n // 5. Let fullLength be blob\u2019s size.\n const fullLength = blob.size\n\n // 6. Let serializedFullLength be fullLength, serialized and isomorphic encoded.\n const serializedFullLength = isomorphicEncode(`${fullLength}`)\n\n // 7. Let type be blob\u2019s type.\n const type = blob.type\n\n // 8. If request\u2019s header list does not contain `Range`:\n // 9. Otherwise:\n if (!request.headersList.contains('range', true)) {\n // 1. Let bodyWithType be the result of safely extracting blob.\n // Note: in the FileAPI a blob \"object\" is a Blob *or* a MediaSource.\n // In node, this can only ever be a Blob. Therefore we can safely\n // use extractBody directly.\n const bodyWithType = extractBody(blob)\n\n // 2. Set response\u2019s status message to `OK`.\n response.statusText = 'OK'\n\n // 3. Set response\u2019s body to bodyWithType\u2019s body.\n response.body = bodyWithType[0]\n\n // 4. Set response\u2019s header list to \u00AB (`Content-Length`, serializedFullLength), (`Content-Type`, type) \u00BB.\n response.headersList.set('content-length', serializedFullLength, true)\n response.headersList.set('content-type', type, true)\n } else {\n // 1. Set response\u2019s range-requested flag.\n response.rangeRequested = true\n\n // 2. Let rangeHeader be the result of getting `Range` from request\u2019s header list.\n const rangeHeader = request.headersList.get('range', true)\n\n // 3. Let rangeValue be the result of parsing a single range header value given rangeHeader and true.\n const rangeValue = simpleRangeHeaderValue(rangeHeader, true)\n\n // 4. If rangeValue is failure, then return a network error.\n if (rangeValue === 'failure') {\n return Promise.resolve(makeNetworkError('failed to fetch the data URL'))\n }\n\n // 5. Let (rangeStart, rangeEnd) be rangeValue.\n let { rangeStartValue: rangeStart, rangeEndValue: rangeEnd } = rangeValue\n\n // 6. If rangeStart is null:\n // 7. Otherwise:\n if (rangeStart === null) {\n // 1. Set rangeStart to fullLength \u2212 rangeEnd.\n rangeStart = fullLength - rangeEnd\n\n // 2. Set rangeEnd to rangeStart + rangeEnd \u2212 1.\n rangeEnd = rangeStart + rangeEnd - 1\n } else {\n // 1. If rangeStart is greater than or equal to fullLength, then return a network error.\n if (rangeStart >= fullLength) {\n return Promise.resolve(makeNetworkError('Range start is greater than the blob\\'s size.'))\n }\n\n // 2. If rangeEnd is null or rangeEnd is greater than or equal to fullLength, then set\n // rangeEnd to fullLength \u2212 1.\n if (rangeEnd === null || rangeEnd >= fullLength) {\n rangeEnd = fullLength - 1\n }\n }\n\n // 8. Let slicedBlob be the result of invoking slice blob given blob, rangeStart,\n // rangeEnd + 1, and type.\n const slicedBlob = blob.slice(rangeStart, rangeEnd, type)\n\n // 9. Let slicedBodyWithType be the result of safely extracting slicedBlob.\n // Note: same reason as mentioned above as to why we use extractBody\n const slicedBodyWithType = extractBody(slicedBlob)\n\n // 10. Set response\u2019s body to slicedBodyWithType\u2019s body.\n response.body = slicedBodyWithType[0]\n\n // 11. Let serializedSlicedLength be slicedBlob\u2019s size, serialized and isomorphic encoded.\n const serializedSlicedLength = isomorphicEncode(`${slicedBlob.size}`)\n\n // 12. Let contentRange be the result of invoking build a content range given rangeStart,\n // rangeEnd, and fullLength.\n const contentRange = buildContentRange(rangeStart, rangeEnd, fullLength)\n\n // 13. Set response\u2019s status to 206.\n response.status = 206\n\n // 14. Set response\u2019s status message to `Partial Content`.\n response.statusText = 'Partial Content'\n\n // 15. Set response\u2019s header list to \u00AB (`Content-Length`, serializedSlicedLength),\n // (`Content-Type`, type), (`Content-Range`, contentRange) \u00BB.\n response.headersList.set('content-length', serializedSlicedLength, true)\n response.headersList.set('content-type', type, true)\n response.headersList.set('content-range', contentRange, true)\n }\n\n // 10. Return response.\n return Promise.resolve(response)\n }\n case 'data:': {\n // 1. Let dataURLStruct be the result of running the\n // data: URL processor on request\u2019s current URL.\n const currentURL = requestCurrentURL(request)\n const dataURLStruct = dataURLProcessor(currentURL)\n\n // 2. If dataURLStruct is failure, then return a\n // network error.\n if (dataURLStruct === 'failure') {\n return Promise.resolve(makeNetworkError('failed to fetch the data URL'))\n }\n\n // 3. Let mimeType be dataURLStruct\u2019s MIME type, serialized.\n const mimeType = serializeAMimeType(dataURLStruct.mimeType)\n\n // 4. Return a response whose status message is `OK`,\n // header list is \u00AB (`Content-Type`, mimeType) \u00BB,\n // and body is dataURLStruct\u2019s body as a body.\n return Promise.resolve(makeResponse({\n statusText: 'OK',\n headersList: [\n ['content-type', { name: 'Content-Type', value: mimeType }]\n ],\n body: safelyExtractBody(dataURLStruct.body)[0]\n }))\n }\n case 'file:': {\n // For now, unfortunate as it is, file URLs are left as an exercise for the reader.\n // When in doubt, return a network error.\n return Promise.resolve(makeNetworkError('not implemented... yet...'))\n }\n case 'http:':\n case 'https:': {\n // Return the result of running HTTP fetch given fetchParams.\n\n return httpFetch(fetchParams)\n .catch((err) => makeNetworkError(err))\n }\n default: {\n return Promise.resolve(makeNetworkError('unknown scheme'))\n }\n }\n}\n\n// https://fetch.spec.whatwg.org/#finalize-response\nfunction finalizeResponse (fetchParams, response) {\n // 1. Set fetchParams\u2019s request\u2019s done flag.\n fetchParams.request.done = true\n\n // 2, If fetchParams\u2019s process response done is not null, then queue a fetch\n // task to run fetchParams\u2019s process response done given response, with\n // fetchParams\u2019s task destination.\n if (fetchParams.processResponseDone != null) {\n queueMicrotask(() => fetchParams.processResponseDone(response))\n }\n}\n\n// https://fetch.spec.whatwg.org/#fetch-finale\nfunction fetchFinale (fetchParams, response) {\n // 1. Let timingInfo be fetchParams\u2019s timing info.\n let timingInfo = fetchParams.timingInfo\n\n // 2. If response is not a network error and fetchParams\u2019s request\u2019s client is a secure context,\n // then set timingInfo\u2019s server-timing headers to the result of getting, decoding, and splitting\n // `Server-Timing` from response\u2019s internal response\u2019s header list.\n // TODO\n\n // 3. Let processResponseEndOfBody be the following steps:\n const processResponseEndOfBody = () => {\n // 1. Let unsafeEndTime be the unsafe shared current time.\n const unsafeEndTime = Date.now() // ?\n\n // 2. If fetchParams\u2019s request\u2019s destination is \"document\", then set fetchParams\u2019s controller\u2019s\n // full timing info to fetchParams\u2019s timing info.\n if (fetchParams.request.destination === 'document') {\n fetchParams.controller.fullTimingInfo = timingInfo\n }\n\n // 3. Set fetchParams\u2019s controller\u2019s report timing steps to the following steps given a global object global:\n fetchParams.controller.reportTimingSteps = () => {\n // 1. If fetchParams\u2019s request\u2019s URL\u2019s scheme is not an HTTP(S) scheme, then return.\n if (fetchParams.request.url.protocol !== 'https:') {\n return\n }\n\n // 2. Set timingInfo\u2019s end time to the relative high resolution time given unsafeEndTime and global.\n timingInfo.endTime = unsafeEndTime\n\n // 3. Let cacheState be response\u2019s cache state.\n let cacheState = response.cacheState\n\n // 4. Let bodyInfo be response\u2019s body info.\n const bodyInfo = response.bodyInfo\n\n // 5. If response\u2019s timing allow passed flag is not set, then set timingInfo to the result of creating an\n // opaque timing info for timingInfo and set cacheState to the empty string.\n if (!response.timingAllowPassed) {\n timingInfo = createOpaqueTimingInfo(timingInfo)\n\n cacheState = ''\n }\n\n // 6. Let responseStatus be 0.\n let responseStatus = 0\n\n // 7. If fetchParams\u2019s request\u2019s mode is not \"navigate\" or response\u2019s has-cross-origin-redirects is false:\n if (fetchParams.request.mode !== 'navigator' || !response.hasCrossOriginRedirects) {\n // 1. Set responseStatus to response\u2019s status.\n responseStatus = response.status\n\n // 2. Let mimeType be the result of extracting a MIME type from response\u2019s header list.\n const mimeType = extractMimeType(response.headersList)\n\n // 3. If mimeType is not failure, then set bodyInfo\u2019s content type to the result of minimizing a supported MIME type given mimeType.\n if (mimeType !== 'failure') {\n bodyInfo.contentType = minimizeSupportedMimeType(mimeType)\n }\n }\n\n // 8. If fetchParams\u2019s request\u2019s initiator type is non-null, then mark resource timing given timingInfo,\n // fetchParams\u2019s request\u2019s URL, fetchParams\u2019s request\u2019s initiator type, global, cacheState, bodyInfo,\n // and responseStatus.\n if (fetchParams.request.initiatorType != null) {\n // TODO: update markresourcetiming\n markResourceTiming(timingInfo, fetchParams.request.url.href, fetchParams.request.initiatorType, globalThis, cacheState, bodyInfo, responseStatus)\n }\n }\n\n // 4. Let processResponseEndOfBodyTask be the following steps:\n const processResponseEndOfBodyTask = () => {\n // 1. Set fetchParams\u2019s request\u2019s done flag.\n fetchParams.request.done = true\n\n // 2. If fetchParams\u2019s process response end-of-body is non-null, then run fetchParams\u2019s process\n // response end-of-body given response.\n if (fetchParams.processResponseEndOfBody != null) {\n queueMicrotask(() => fetchParams.processResponseEndOfBody(response))\n }\n\n // 3. If fetchParams\u2019s request\u2019s initiator type is non-null and fetchParams\u2019s request\u2019s client\u2019s\n // global object is fetchParams\u2019s task destination, then run fetchParams\u2019s controller\u2019s report\n // timing steps given fetchParams\u2019s request\u2019s client\u2019s global object.\n if (fetchParams.request.initiatorType != null) {\n fetchParams.controller.reportTimingSteps()\n }\n }\n\n // 5. Queue a fetch task to run processResponseEndOfBodyTask with fetchParams\u2019s task destination\n queueMicrotask(() => processResponseEndOfBodyTask())\n }\n\n // 4. If fetchParams\u2019s process response is non-null, then queue a fetch task to run fetchParams\u2019s\n // process response given response, with fetchParams\u2019s task destination.\n if (fetchParams.processResponse != null) {\n queueMicrotask(() => {\n fetchParams.processResponse(response)\n fetchParams.processResponse = null\n })\n }\n\n // 5. Let internalResponse be response, if response is a network error; otherwise response\u2019s internal response.\n const internalResponse = response.type === 'error' ? response : (response.internalResponse ?? response)\n\n // 6. If internalResponse\u2019s body is null, then run processResponseEndOfBody.\n // 7. Otherwise:\n if (internalResponse.body == null) {\n processResponseEndOfBody()\n } else {\n // mcollina: all the following steps of the specs are skipped.\n // The internal transform stream is not needed.\n // See https://github.com/nodejs/undici/pull/3093#issuecomment-2050198541\n\n // 1. Let transformStream be a new TransformStream.\n // 2. Let identityTransformAlgorithm be an algorithm which, given chunk, enqueues chunk in transformStream.\n // 3. Set up transformStream with transformAlgorithm set to identityTransformAlgorithm and flushAlgorithm\n // set to processResponseEndOfBody.\n // 4. Set internalResponse\u2019s body\u2019s stream to the result of internalResponse\u2019s body\u2019s stream piped through transformStream.\n\n finished(internalResponse.body.stream, () => {\n processResponseEndOfBody()\n })\n }\n}\n\n// https://fetch.spec.whatwg.org/#http-fetch\nasync function httpFetch (fetchParams) {\n // 1. Let request be fetchParams\u2019s request.\n const request = fetchParams.request\n\n // 2. Let response be null.\n let response = null\n\n // 3. Let actualResponse be null.\n let actualResponse = null\n\n // 4. Let timingInfo be fetchParams\u2019s timing info.\n const timingInfo = fetchParams.timingInfo\n\n // 5. If request\u2019s service-workers mode is \"all\", then:\n if (request.serviceWorkers === 'all') {\n // TODO\n }\n\n // 6. If response is null, then:\n if (response === null) {\n // 1. If makeCORSPreflight is true and one of these conditions is true:\n // TODO\n\n // 2. If request\u2019s redirect mode is \"follow\", then set request\u2019s\n // service-workers mode to \"none\".\n if (request.redirect === 'follow') {\n request.serviceWorkers = 'none'\n }\n\n // 3. Set response and actualResponse to the result of running\n // HTTP-network-or-cache fetch given fetchParams.\n actualResponse = response = await httpNetworkOrCacheFetch(fetchParams)\n\n // 4. If request\u2019s response tainting is \"cors\" and a CORS check\n // for request and response returns failure, then return a network error.\n if (\n request.responseTainting === 'cors' &&\n corsCheck(request, response) === 'failure'\n ) {\n return makeNetworkError('cors failure')\n }\n\n // 5. If the TAO check for request and response returns failure, then set\n // request\u2019s timing allow failed flag.\n if (TAOCheck(request, response) === 'failure') {\n request.timingAllowFailed = true\n }\n }\n\n // 7. If either request\u2019s response tainting or response\u2019s type\n // is \"opaque\", and the cross-origin resource policy check with\n // request\u2019s origin, request\u2019s client, request\u2019s destination,\n // and actualResponse returns blocked, then return a network error.\n if (\n (request.responseTainting === 'opaque' || response.type === 'opaque') &&\n crossOriginResourcePolicyCheck(\n request.origin,\n request.client,\n request.destination,\n actualResponse\n ) === 'blocked'\n ) {\n return makeNetworkError('blocked')\n }\n\n // 8. If actualResponse\u2019s status is a redirect status, then:\n if (redirectStatusSet.has(actualResponse.status)) {\n // 1. If actualResponse\u2019s status is not 303, request\u2019s body is not null,\n // and the connection uses HTTP/2, then user agents may, and are even\n // encouraged to, transmit an RST_STREAM frame.\n // See, https://github.com/whatwg/fetch/issues/1288\n if (request.redirect !== 'manual') {\n fetchParams.controller.connection.destroy(undefined, false)\n }\n\n // 2. Switch on request\u2019s redirect mode:\n if (request.redirect === 'error') {\n // Set response to a network error.\n response = makeNetworkError('unexpected redirect')\n } else if (request.redirect === 'manual') {\n // Set response to an opaque-redirect filtered response whose internal\n // response is actualResponse.\n // NOTE(spec): On the web this would return an `opaqueredirect` response,\n // but that doesn't make sense server side.\n // See https://github.com/nodejs/undici/issues/1193.\n response = actualResponse\n } else if (request.redirect === 'follow') {\n // Set response to the result of running HTTP-redirect fetch given\n // fetchParams and response.\n response = await httpRedirectFetch(fetchParams, response)\n } else {\n assert(false)\n }\n }\n\n // 9. Set response\u2019s timing info to timingInfo.\n response.timingInfo = timingInfo\n\n // 10. Return response.\n return response\n}\n\n// https://fetch.spec.whatwg.org/#http-redirect-fetch\nfunction httpRedirectFetch (fetchParams, response) {\n // 1. Let request be fetchParams\u2019s request.\n const request = fetchParams.request\n\n // 2. Let actualResponse be response, if response is not a filtered response,\n // and response\u2019s internal response otherwise.\n const actualResponse = response.internalResponse\n ? response.internalResponse\n : response\n\n // 3. Let locationURL be actualResponse\u2019s location URL given request\u2019s current\n // URL\u2019s fragment.\n let locationURL\n\n try {\n locationURL = responseLocationURL(\n actualResponse,\n requestCurrentURL(request).hash\n )\n\n // 4. If locationURL is null, then return response.\n if (locationURL == null) {\n return response\n }\n } catch (err) {\n // 5. If locationURL is failure, then return a network error.\n return Promise.resolve(makeNetworkError(err))\n }\n\n // 6. If locationURL\u2019s scheme is not an HTTP(S) scheme, then return a network\n // error.\n if (!urlIsHttpHttpsScheme(locationURL)) {\n return Promise.resolve(makeNetworkError('URL scheme must be a HTTP(S) scheme'))\n }\n\n // 7. If request\u2019s redirect count is 20, then return a network error.\n if (request.redirectCount === 20) {\n return Promise.resolve(makeNetworkError('redirect count exceeded'))\n }\n\n // 8. Increase request\u2019s redirect count by 1.\n request.redirectCount += 1\n\n // 9. If request\u2019s mode is \"cors\", locationURL includes credentials, and\n // request\u2019s origin is not same origin with locationURL\u2019s origin, then return\n // a network error.\n if (\n request.mode === 'cors' &&\n (locationURL.username || locationURL.password) &&\n !sameOrigin(request, locationURL)\n ) {\n return Promise.resolve(makeNetworkError('cross origin not allowed for request mode \"cors\"'))\n }\n\n // 10. If request\u2019s response tainting is \"cors\" and locationURL includes\n // credentials, then return a network error.\n if (\n request.responseTainting === 'cors' &&\n (locationURL.username || locationURL.password)\n ) {\n return Promise.resolve(makeNetworkError(\n 'URL cannot contain credentials for request mode \"cors\"'\n ))\n }\n\n // 11. If actualResponse\u2019s status is not 303, request\u2019s body is non-null,\n // and request\u2019s body\u2019s source is null, then return a network error.\n if (\n actualResponse.status !== 303 &&\n request.body != null &&\n request.body.source == null\n ) {\n return Promise.resolve(makeNetworkError())\n }\n\n // 12. If one of the following is true\n // - actualResponse\u2019s status is 301 or 302 and request\u2019s method is `POST`\n // - actualResponse\u2019s status is 303 and request\u2019s method is not `GET` or `HEAD`\n if (\n ([301, 302].includes(actualResponse.status) && request.method === 'POST') ||\n (actualResponse.status === 303 &&\n !GET_OR_HEAD.includes(request.method))\n ) {\n // then:\n // 1. Set request\u2019s method to `GET` and request\u2019s body to null.\n request.method = 'GET'\n request.body = null\n\n // 2. For each headerName of request-body-header name, delete headerName from\n // request\u2019s header list.\n for (const headerName of requestBodyHeader) {\n request.headersList.delete(headerName)\n }\n }\n\n // 13. If request\u2019s current URL\u2019s origin is not same origin with locationURL\u2019s\n // origin, then for each headerName of CORS non-wildcard request-header name,\n // delete headerName from request\u2019s header list.\n if (!sameOrigin(requestCurrentURL(request), locationURL)) {\n // https://fetch.spec.whatwg.org/#cors-non-wildcard-request-header-name\n request.headersList.delete('authorization', true)\n\n // https://fetch.spec.whatwg.org/#authentication-entries\n request.headersList.delete('proxy-authorization', true)\n\n // \"Cookie\" and \"Host\" are forbidden request-headers, which undici doesn't implement.\n request.headersList.delete('cookie', true)\n request.headersList.delete('host', true)\n }\n\n // 14. If request\u2019s body is non-null, then set request\u2019s body to the first return\n // value of safely extracting request\u2019s body\u2019s source.\n if (request.body != null) {\n assert(request.body.source != null)\n request.body = safelyExtractBody(request.body.source)[0]\n }\n\n // 15. Let timingInfo be fetchParams\u2019s timing info.\n const timingInfo = fetchParams.timingInfo\n\n // 16. Set timingInfo\u2019s redirect end time and post-redirect start time to the\n // coarsened shared current time given fetchParams\u2019s cross-origin isolated\n // capability.\n timingInfo.redirectEndTime = timingInfo.postRedirectStartTime =\n coarsenedSharedCurrentTime(fetchParams.crossOriginIsolatedCapability)\n\n // 17. If timingInfo\u2019s redirect start time is 0, then set timingInfo\u2019s\n // redirect start time to timingInfo\u2019s start time.\n if (timingInfo.redirectStartTime === 0) {\n timingInfo.redirectStartTime = timingInfo.startTime\n }\n\n // 18. Append locationURL to request\u2019s URL list.\n request.urlList.push(locationURL)\n\n // 19. Invoke set request\u2019s referrer policy on redirect on request and\n // actualResponse.\n setRequestReferrerPolicyOnRedirect(request, actualResponse)\n\n // 20. Return the result of running main fetch given fetchParams and true.\n return mainFetch(fetchParams, true)\n}\n\n// https://fetch.spec.whatwg.org/#http-network-or-cache-fetch\nasync function httpNetworkOrCacheFetch (\n fetchParams,\n isAuthenticationFetch = false,\n isNewConnectionFetch = false\n) {\n // 1. Let request be fetchParams\u2019s request.\n const request = fetchParams.request\n\n // 2. Let httpFetchParams be null.\n let httpFetchParams = null\n\n // 3. Let httpRequest be null.\n let httpRequest = null\n\n // 4. Let response be null.\n let response = null\n\n // 5. Let storedResponse be null.\n // TODO: cache\n\n // 6. Let httpCache be null.\n const httpCache = null\n\n // 7. Let the revalidatingFlag be unset.\n const revalidatingFlag = false\n\n // 8. Run these steps, but abort when the ongoing fetch is terminated:\n\n // 1. If request\u2019s window is \"no-window\" and request\u2019s redirect mode is\n // \"error\", then set httpFetchParams to fetchParams and httpRequest to\n // request.\n if (request.window === 'no-window' && request.redirect === 'error') {\n httpFetchParams = fetchParams\n httpRequest = request\n } else {\n // Otherwise:\n\n // 1. Set httpRequest to a clone of request.\n httpRequest = cloneRequest(request)\n\n // 2. Set httpFetchParams to a copy of fetchParams.\n httpFetchParams = { ...fetchParams }\n\n // 3. Set httpFetchParams\u2019s request to httpRequest.\n httpFetchParams.request = httpRequest\n }\n\n // 3. Let includeCredentials be true if one of\n const includeCredentials =\n request.credentials === 'include' ||\n (request.credentials === 'same-origin' &&\n request.responseTainting === 'basic')\n\n // 4. Let contentLength be httpRequest\u2019s body\u2019s length, if httpRequest\u2019s\n // body is non-null; otherwise null.\n const contentLength = httpRequest.body ? httpRequest.body.length : null\n\n // 5. Let contentLengthHeaderValue be null.\n let contentLengthHeaderValue = null\n\n // 6. If httpRequest\u2019s body is null and httpRequest\u2019s method is `POST` or\n // `PUT`, then set contentLengthHeaderValue to `0`.\n if (\n httpRequest.body == null &&\n ['POST', 'PUT'].includes(httpRequest.method)\n ) {\n contentLengthHeaderValue = '0'\n }\n\n // 7. If contentLength is non-null, then set contentLengthHeaderValue to\n // contentLength, serialized and isomorphic encoded.\n if (contentLength != null) {\n contentLengthHeaderValue = isomorphicEncode(`${contentLength}`)\n }\n\n // 8. If contentLengthHeaderValue is non-null, then append\n // `Content-Length`/contentLengthHeaderValue to httpRequest\u2019s header\n // list.\n if (contentLengthHeaderValue != null) {\n httpRequest.headersList.append('content-length', contentLengthHeaderValue, true)\n }\n\n // 9. If contentLengthHeaderValue is non-null, then append (`Content-Length`,\n // contentLengthHeaderValue) to httpRequest\u2019s header list.\n\n // 10. If contentLength is non-null and httpRequest\u2019s keepalive is true,\n // then:\n if (contentLength != null && httpRequest.keepalive) {\n // NOTE: keepalive is a noop outside of browser context.\n }\n\n // 11. If httpRequest\u2019s referrer is a URL, then append\n // `Referer`/httpRequest\u2019s referrer, serialized and isomorphic encoded,\n // to httpRequest\u2019s header list.\n if (httpRequest.referrer instanceof URL) {\n httpRequest.headersList.append('referer', isomorphicEncode(httpRequest.referrer.href), true)\n }\n\n // 12. Append a request `Origin` header for httpRequest.\n appendRequestOriginHeader(httpRequest)\n\n // 13. Append the Fetch metadata headers for httpRequest. [FETCH-METADATA]\n appendFetchMetadata(httpRequest)\n\n // 14. If httpRequest\u2019s header list does not contain `User-Agent`, then\n // user agents should append `User-Agent`/default `User-Agent` value to\n // httpRequest\u2019s header list.\n if (!httpRequest.headersList.contains('user-agent', true)) {\n httpRequest.headersList.append('user-agent', defaultUserAgent)\n }\n\n // 15. If httpRequest\u2019s cache mode is \"default\" and httpRequest\u2019s header\n // list contains `If-Modified-Since`, `If-None-Match`,\n // `If-Unmodified-Since`, `If-Match`, or `If-Range`, then set\n // httpRequest\u2019s cache mode to \"no-store\".\n if (\n httpRequest.cache === 'default' &&\n (httpRequest.headersList.contains('if-modified-since', true) ||\n httpRequest.headersList.contains('if-none-match', true) ||\n httpRequest.headersList.contains('if-unmodified-since', true) ||\n httpRequest.headersList.contains('if-match', true) ||\n httpRequest.headersList.contains('if-range', true))\n ) {\n httpRequest.cache = 'no-store'\n }\n\n // 16. If httpRequest\u2019s cache mode is \"no-cache\", httpRequest\u2019s prevent\n // no-cache cache-control header modification flag is unset, and\n // httpRequest\u2019s header list does not contain `Cache-Control`, then append\n // `Cache-Control`/`max-age=0` to httpRequest\u2019s header list.\n if (\n httpRequest.cache === 'no-cache' &&\n !httpRequest.preventNoCacheCacheControlHeaderModification &&\n !httpRequest.headersList.contains('cache-control', true)\n ) {\n httpRequest.headersList.append('cache-control', 'max-age=0', true)\n }\n\n // 17. If httpRequest\u2019s cache mode is \"no-store\" or \"reload\", then:\n if (httpRequest.cache === 'no-store' || httpRequest.cache === 'reload') {\n // 1. If httpRequest\u2019s header list does not contain `Pragma`, then append\n // `Pragma`/`no-cache` to httpRequest\u2019s header list.\n if (!httpRequest.headersList.contains('pragma', true)) {\n httpRequest.headersList.append('pragma', 'no-cache', true)\n }\n\n // 2. If httpRequest\u2019s header list does not contain `Cache-Control`,\n // then append `Cache-Control`/`no-cache` to httpRequest\u2019s header list.\n if (!httpRequest.headersList.contains('cache-control', true)) {\n httpRequest.headersList.append('cache-control', 'no-cache', true)\n }\n }\n\n // 18. If httpRequest\u2019s header list contains `Range`, then append\n // `Accept-Encoding`/`identity` to httpRequest\u2019s header list.\n if (httpRequest.headersList.contains('range', true)) {\n httpRequest.headersList.append('accept-encoding', 'identity', true)\n }\n\n // 19. Modify httpRequest\u2019s header list per HTTP. Do not append a given\n // header if httpRequest\u2019s header list contains that header\u2019s name.\n // TODO: https://github.com/whatwg/fetch/issues/1285#issuecomment-896560129\n if (!httpRequest.headersList.contains('accept-encoding', true)) {\n if (urlHasHttpsScheme(requestCurrentURL(httpRequest))) {\n httpRequest.headersList.append('accept-encoding', 'br, gzip, deflate', true)\n } else {\n httpRequest.headersList.append('accept-encoding', 'gzip, deflate', true)\n }\n }\n\n httpRequest.headersList.delete('host', true)\n\n // 20. If includeCredentials is true, then:\n if (includeCredentials) {\n // 1. If the user agent is not configured to block cookies for httpRequest\n // (see section 7 of [COOKIES]), then:\n // TODO: credentials\n // 2. If httpRequest\u2019s header list does not contain `Authorization`, then:\n // TODO: credentials\n }\n\n // 21. If there\u2019s a proxy-authentication entry, use it as appropriate.\n // TODO: proxy-authentication\n\n // 22. Set httpCache to the result of determining the HTTP cache\n // partition, given httpRequest.\n // TODO: cache\n\n // 23. If httpCache is null, then set httpRequest\u2019s cache mode to\n // \"no-store\".\n if (httpCache == null) {\n httpRequest.cache = 'no-store'\n }\n\n // 24. If httpRequest\u2019s cache mode is neither \"no-store\" nor \"reload\",\n // then:\n if (httpRequest.cache !== 'no-store' && httpRequest.cache !== 'reload') {\n // TODO: cache\n }\n\n // 9. If aborted, then return the appropriate network error for fetchParams.\n // TODO\n\n // 10. If response is null, then:\n if (response == null) {\n // 1. If httpRequest\u2019s cache mode is \"only-if-cached\", then return a\n // network error.\n if (httpRequest.cache === 'only-if-cached') {\n return makeNetworkError('only if cached')\n }\n\n // 2. Let forwardResponse be the result of running HTTP-network fetch\n // given httpFetchParams, includeCredentials, and isNewConnectionFetch.\n const forwardResponse = await httpNetworkFetch(\n httpFetchParams,\n includeCredentials,\n isNewConnectionFetch\n )\n\n // 3. If httpRequest\u2019s method is unsafe and forwardResponse\u2019s status is\n // in the range 200 to 399, inclusive, invalidate appropriate stored\n // responses in httpCache, as per the \"Invalidation\" chapter of HTTP\n // Caching, and set storedResponse to null. [HTTP-CACHING]\n if (\n !safeMethodsSet.has(httpRequest.method) &&\n forwardResponse.status >= 200 &&\n forwardResponse.status <= 399\n ) {\n // TODO: cache\n }\n\n // 4. If the revalidatingFlag is set and forwardResponse\u2019s status is 304,\n // then:\n if (revalidatingFlag && forwardResponse.status === 304) {\n // TODO: cache\n }\n\n // 5. If response is null, then:\n if (response == null) {\n // 1. Set response to forwardResponse.\n response = forwardResponse\n\n // 2. Store httpRequest and forwardResponse in httpCache, as per the\n // \"Storing Responses in Caches\" chapter of HTTP Caching. [HTTP-CACHING]\n // TODO: cache\n }\n }\n\n // 11. Set response\u2019s URL list to a clone of httpRequest\u2019s URL list.\n response.urlList = [...httpRequest.urlList]\n\n // 12. If httpRequest\u2019s header list contains `Range`, then set response\u2019s\n // range-requested flag.\n if (httpRequest.headersList.contains('range', true)) {\n response.rangeRequested = true\n }\n\n // 13. Set response\u2019s request-includes-credentials to includeCredentials.\n response.requestIncludesCredentials = includeCredentials\n\n // 14. If response\u2019s status is 401, httpRequest\u2019s response tainting is not\n // \"cors\", includeCredentials is true, and request\u2019s window is an environment\n // settings object, then:\n // TODO\n\n // 15. If response\u2019s status is 407, then:\n if (response.status === 407) {\n // 1. If request\u2019s window is \"no-window\", then return a network error.\n if (request.window === 'no-window') {\n return makeNetworkError()\n }\n\n // 2. ???\n\n // 3. If fetchParams is canceled, then return the appropriate network error for fetchParams.\n if (isCancelled(fetchParams)) {\n return makeAppropriateNetworkError(fetchParams)\n }\n\n // 4. Prompt the end user as appropriate in request\u2019s window and store\n // the result as a proxy-authentication entry. [HTTP-AUTH]\n // TODO: Invoke some kind of callback?\n\n // 5. Set response to the result of running HTTP-network-or-cache fetch given\n // fetchParams.\n // TODO\n return makeNetworkError('proxy authentication required')\n }\n\n // 16. If all of the following are true\n if (\n // response\u2019s status is 421\n response.status === 421 &&\n // isNewConnectionFetch is false\n !isNewConnectionFetch &&\n // request\u2019s body is null, or request\u2019s body is non-null and request\u2019s body\u2019s source is non-null\n (request.body == null || request.body.source != null)\n ) {\n // then:\n\n // 1. If fetchParams is canceled, then return the appropriate network error for fetchParams.\n if (isCancelled(fetchParams)) {\n return makeAppropriateNetworkError(fetchParams)\n }\n\n // 2. Set response to the result of running HTTP-network-or-cache\n // fetch given fetchParams, isAuthenticationFetch, and true.\n\n // TODO (spec): The spec doesn't specify this but we need to cancel\n // the active response before we can start a new one.\n // https://github.com/whatwg/fetch/issues/1293\n fetchParams.controller.connection.destroy()\n\n response = await httpNetworkOrCacheFetch(\n fetchParams,\n isAuthenticationFetch,\n true\n )\n }\n\n // 17. If isAuthenticationFetch is true, then create an authentication entry\n if (isAuthenticationFetch) {\n // TODO\n }\n\n // 18. Return response.\n return response\n}\n\n// https://fetch.spec.whatwg.org/#http-network-fetch\nasync function httpNetworkFetch (\n fetchParams,\n includeCredentials = false,\n forceNewConnection = false\n) {\n assert(!fetchParams.controller.connection || fetchParams.controller.connection.destroyed)\n\n fetchParams.controller.connection = {\n abort: null,\n destroyed: false,\n destroy (err, abort = true) {\n if (!this.destroyed) {\n this.destroyed = true\n if (abort) {\n this.abort?.(err ?? new DOMException('The operation was aborted.', 'AbortError'))\n }\n }\n }\n }\n\n // 1. Let request be fetchParams\u2019s request.\n const request = fetchParams.request\n\n // 2. Let response be null.\n let response = null\n\n // 3. Let timingInfo be fetchParams\u2019s timing info.\n const timingInfo = fetchParams.timingInfo\n\n // 4. Let httpCache be the result of determining the HTTP cache partition,\n // given request.\n // TODO: cache\n const httpCache = null\n\n // 5. If httpCache is null, then set request\u2019s cache mode to \"no-store\".\n if (httpCache == null) {\n request.cache = 'no-store'\n }\n\n // 6. Let networkPartitionKey be the result of determining the network\n // partition key given request.\n // TODO\n\n // 7. Let newConnection be \"yes\" if forceNewConnection is true; otherwise\n // \"no\".\n const newConnection = forceNewConnection ? 'yes' : 'no' // eslint-disable-line no-unused-vars\n\n // 8. Switch on request\u2019s mode:\n if (request.mode === 'websocket') {\n // Let connection be the result of obtaining a WebSocket connection,\n // given request\u2019s current URL.\n // TODO\n } else {\n // Let connection be the result of obtaining a connection, given\n // networkPartitionKey, request\u2019s current URL\u2019s origin,\n // includeCredentials, and forceNewConnection.\n // TODO\n }\n\n // 9. Run these steps, but abort when the ongoing fetch is terminated:\n\n // 1. If connection is failure, then return a network error.\n\n // 2. Set timingInfo\u2019s final connection timing info to the result of\n // calling clamp and coarsen connection timing info with connection\u2019s\n // timing info, timingInfo\u2019s post-redirect start time, and fetchParams\u2019s\n // cross-origin isolated capability.\n\n // 3. If connection is not an HTTP/2 connection, request\u2019s body is non-null,\n // and request\u2019s body\u2019s source is null, then append (`Transfer-Encoding`,\n // `chunked`) to request\u2019s header list.\n\n // 4. Set timingInfo\u2019s final network-request start time to the coarsened\n // shared current time given fetchParams\u2019s cross-origin isolated\n // capability.\n\n // 5. Set response to the result of making an HTTP request over connection\n // using request with the following caveats:\n\n // - Follow the relevant requirements from HTTP. [HTTP] [HTTP-SEMANTICS]\n // [HTTP-COND] [HTTP-CACHING] [HTTP-AUTH]\n\n // - If request\u2019s body is non-null, and request\u2019s body\u2019s source is null,\n // then the user agent may have a buffer of up to 64 kibibytes and store\n // a part of request\u2019s body in that buffer. If the user agent reads from\n // request\u2019s body beyond that buffer\u2019s size and the user agent needs to\n // resend request, then instead return a network error.\n\n // - Set timingInfo\u2019s final network-response start time to the coarsened\n // shared current time given fetchParams\u2019s cross-origin isolated capability,\n // immediately after the user agent\u2019s HTTP parser receives the first byte\n // of the response (e.g., frame header bytes for HTTP/2 or response status\n // line for HTTP/1.x).\n\n // - Wait until all the headers are transmitted.\n\n // - Any responses whose status is in the range 100 to 199, inclusive,\n // and is not 101, are to be ignored, except for the purposes of setting\n // timingInfo\u2019s final network-response start time above.\n\n // - If request\u2019s header list contains `Transfer-Encoding`/`chunked` and\n // response is transferred via HTTP/1.0 or older, then return a network\n // error.\n\n // - If the HTTP request results in a TLS client certificate dialog, then:\n\n // 1. If request\u2019s window is an environment settings object, make the\n // dialog available in request\u2019s window.\n\n // 2. Otherwise, return a network error.\n\n // To transmit request\u2019s body body, run these steps:\n let requestBody = null\n // 1. If body is null and fetchParams\u2019s process request end-of-body is\n // non-null, then queue a fetch task given fetchParams\u2019s process request\n // end-of-body and fetchParams\u2019s task destination.\n if (request.body == null && fetchParams.processRequestEndOfBody) {\n queueMicrotask(() => fetchParams.processRequestEndOfBody())\n } else if (request.body != null) {\n // 2. Otherwise, if body is non-null:\n\n // 1. Let processBodyChunk given bytes be these steps:\n const processBodyChunk = async function * (bytes) {\n // 1. If the ongoing fetch is terminated, then abort these steps.\n if (isCancelled(fetchParams)) {\n return\n }\n\n // 2. Run this step in parallel: transmit bytes.\n yield bytes\n\n // 3. If fetchParams\u2019s process request body is non-null, then run\n // fetchParams\u2019s process request body given bytes\u2019s length.\n fetchParams.processRequestBodyChunkLength?.(bytes.byteLength)\n }\n\n // 2. Let processEndOfBody be these steps:\n const processEndOfBody = () => {\n // 1. If fetchParams is canceled, then abort these steps.\n if (isCancelled(fetchParams)) {\n return\n }\n\n // 2. If fetchParams\u2019s process request end-of-body is non-null,\n // then run fetchParams\u2019s process request end-of-body.\n if (fetchParams.processRequestEndOfBody) {\n fetchParams.processRequestEndOfBody()\n }\n }\n\n // 3. Let processBodyError given e be these steps:\n const processBodyError = (e) => {\n // 1. If fetchParams is canceled, then abort these steps.\n if (isCancelled(fetchParams)) {\n return\n }\n\n // 2. If e is an \"AbortError\" DOMException, then abort fetchParams\u2019s controller.\n if (e.name === 'AbortError') {\n fetchParams.controller.abort()\n } else {\n fetchParams.controller.terminate(e)\n }\n }\n\n // 4. Incrementally read request\u2019s body given processBodyChunk, processEndOfBody,\n // processBodyError, and fetchParams\u2019s task destination.\n requestBody = (async function * () {\n try {\n for await (const bytes of request.body.stream) {\n yield * processBodyChunk(bytes)\n }\n processEndOfBody()\n } catch (err) {\n processBodyError(err)\n }\n })()\n }\n\n try {\n // socket is only provided for websockets\n const { body, status, statusText, headersList, socket } = await dispatch({ body: requestBody })\n\n if (socket) {\n response = makeResponse({ status, statusText, headersList, socket })\n } else {\n const iterator = body[Symbol.asyncIterator]()\n fetchParams.controller.next = () => iterator.next()\n\n response = makeResponse({ status, statusText, headersList })\n }\n } catch (err) {\n // 10. If aborted, then:\n if (err.name === 'AbortError') {\n // 1. If connection uses HTTP/2, then transmit an RST_STREAM frame.\n fetchParams.controller.connection.destroy()\n\n // 2. Return the appropriate network error for fetchParams.\n return makeAppropriateNetworkError(fetchParams, err)\n }\n\n return makeNetworkError(err)\n }\n\n // 11. Let pullAlgorithm be an action that resumes the ongoing fetch\n // if it is suspended.\n const pullAlgorithm = async () => {\n await fetchParams.controller.resume()\n }\n\n // 12. Let cancelAlgorithm be an algorithm that aborts fetchParams\u2019s\n // controller with reason, given reason.\n const cancelAlgorithm = (reason) => {\n // If the aborted fetch was already terminated, then we do not\n // need to do anything.\n if (!isCancelled(fetchParams)) {\n fetchParams.controller.abort(reason)\n }\n }\n\n // 13. Let highWaterMark be a non-negative, non-NaN number, chosen by\n // the user agent.\n // TODO\n\n // 14. Let sizeAlgorithm be an algorithm that accepts a chunk object\n // and returns a non-negative, non-NaN, non-infinite number, chosen by the user agent.\n // TODO\n\n // 15. Let stream be a new ReadableStream.\n // 16. Set up stream with byte reading support with pullAlgorithm set to pullAlgorithm,\n // cancelAlgorithm set to cancelAlgorithm.\n const stream = new ReadableStream(\n {\n async start (controller) {\n fetchParams.controller.controller = controller\n },\n async pull (controller) {\n await pullAlgorithm(controller)\n },\n async cancel (reason) {\n await cancelAlgorithm(reason)\n },\n type: 'bytes'\n }\n )\n\n // 17. Run these steps, but abort when the ongoing fetch is terminated:\n\n // 1. Set response\u2019s body to a new body whose stream is stream.\n response.body = { stream, source: null, length: null }\n\n // 2. If response is not a network error and request\u2019s cache mode is\n // not \"no-store\", then update response in httpCache for request.\n // TODO\n\n // 3. If includeCredentials is true and the user agent is not configured\n // to block cookies for request (see section 7 of [COOKIES]), then run the\n // \"set-cookie-string\" parsing algorithm (see section 5.2 of [COOKIES]) on\n // the value of each header whose name is a byte-case-insensitive match for\n // `Set-Cookie` in response\u2019s header list, if any, and request\u2019s current URL.\n // TODO\n\n // 18. If aborted, then:\n // TODO\n\n // 19. Run these steps in parallel:\n\n // 1. Run these steps, but abort when fetchParams is canceled:\n fetchParams.controller.onAborted = onAborted\n fetchParams.controller.on('terminated', onAborted)\n fetchParams.controller.resume = async () => {\n // 1. While true\n while (true) {\n // 1-3. See onData...\n\n // 4. Set bytes to the result of handling content codings given\n // codings and bytes.\n let bytes\n let isFailure\n try {\n const { done, value } = await fetchParams.controller.next()\n\n if (isAborted(fetchParams)) {\n break\n }\n\n bytes = done ? undefined : value\n } catch (err) {\n if (fetchParams.controller.ended && !timingInfo.encodedBodySize) {\n // zlib doesn't like empty streams.\n bytes = undefined\n } else {\n bytes = err\n\n // err may be propagated from the result of calling readablestream.cancel,\n // which might not be an error. https://github.com/nodejs/undici/issues/2009\n isFailure = true\n }\n }\n\n if (bytes === undefined) {\n // 2. Otherwise, if the bytes transmission for response\u2019s message\n // body is done normally and stream is readable, then close\n // stream, finalize response for fetchParams and response, and\n // abort these in-parallel steps.\n readableStreamClose(fetchParams.controller.controller)\n\n finalizeResponse(fetchParams, response)\n\n return\n }\n\n // 5. Increase timingInfo\u2019s decoded body size by bytes\u2019s length.\n timingInfo.decodedBodySize += bytes?.byteLength ?? 0\n\n // 6. If bytes is failure, then terminate fetchParams\u2019s controller.\n if (isFailure) {\n fetchParams.controller.terminate(bytes)\n return\n }\n\n // 7. Enqueue a Uint8Array wrapping an ArrayBuffer containing bytes\n // into stream.\n const buffer = new Uint8Array(bytes)\n if (buffer.byteLength) {\n fetchParams.controller.controller.enqueue(buffer)\n }\n\n // 8. If stream is errored, then terminate the ongoing fetch.\n if (isErrored(stream)) {\n fetchParams.controller.terminate()\n return\n }\n\n // 9. If stream doesn\u2019t need more data ask the user agent to suspend\n // the ongoing fetch.\n if (fetchParams.controller.controller.desiredSize <= 0) {\n return\n }\n }\n }\n\n // 2. If aborted, then:\n function onAborted (reason) {\n // 2. If fetchParams is aborted, then:\n if (isAborted(fetchParams)) {\n // 1. Set response\u2019s aborted flag.\n response.aborted = true\n\n // 2. If stream is readable, then error stream with the result of\n // deserialize a serialized abort reason given fetchParams\u2019s\n // controller\u2019s serialized abort reason and an\n // implementation-defined realm.\n if (isReadable(stream)) {\n fetchParams.controller.controller.error(\n fetchParams.controller.serializedAbortReason\n )\n }\n } else {\n // 3. Otherwise, if stream is readable, error stream with a TypeError.\n if (isReadable(stream)) {\n fetchParams.controller.controller.error(new TypeError('terminated', {\n cause: isErrorLike(reason) ? reason : undefined\n }))\n }\n }\n\n // 4. If connection uses HTTP/2, then transmit an RST_STREAM frame.\n // 5. Otherwise, the user agent should close connection unless it would be bad for performance to do so.\n fetchParams.controller.connection.destroy()\n }\n\n // 20. Return response.\n return response\n\n function dispatch ({ body }) {\n const url = requestCurrentURL(request)\n /** @type {import('../..').Agent} */\n const agent = fetchParams.controller.dispatcher\n\n return new Promise((resolve, reject) => agent.dispatch(\n {\n path: url.pathname + url.search,\n origin: url.origin,\n method: request.method,\n body: agent.isMockActive ? request.body && (request.body.source || request.body.stream) : body,\n headers: request.headersList.entries,\n maxRedirections: 0,\n upgrade: request.mode === 'websocket' ? 'websocket' : undefined\n },\n {\n body: null,\n abort: null,\n\n onConnect (abort) {\n // TODO (fix): Do we need connection here?\n const { connection } = fetchParams.controller\n\n // Set timingInfo\u2019s final connection timing info to the result of calling clamp and coarsen\n // connection timing info with connection\u2019s timing info, timingInfo\u2019s post-redirect start\n // time, and fetchParams\u2019s cross-origin isolated capability.\n // TODO: implement connection timing\n timingInfo.finalConnectionTimingInfo = clampAndCoarsenConnectionTimingInfo(undefined, timingInfo.postRedirectStartTime, fetchParams.crossOriginIsolatedCapability)\n\n if (connection.destroyed) {\n abort(new DOMException('The operation was aborted.', 'AbortError'))\n } else {\n fetchParams.controller.on('terminated', abort)\n this.abort = connection.abort = abort\n }\n\n // Set timingInfo\u2019s final network-request start time to the coarsened shared current time given\n // fetchParams\u2019s cross-origin isolated capability.\n timingInfo.finalNetworkRequestStartTime = coarsenedSharedCurrentTime(fetchParams.crossOriginIsolatedCapability)\n },\n\n onResponseStarted () {\n // Set timingInfo\u2019s final network-response start time to the coarsened shared current\n // time given fetchParams\u2019s cross-origin isolated capability, immediately after the\n // user agent\u2019s HTTP parser receives the first byte of the response (e.g., frame header\n // bytes for HTTP/2 or response status line for HTTP/1.x).\n timingInfo.finalNetworkResponseStartTime = coarsenedSharedCurrentTime(fetchParams.crossOriginIsolatedCapability)\n },\n\n onHeaders (status, rawHeaders, resume, statusText) {\n if (status < 200) {\n return\n }\n\n let location = ''\n\n const headersList = new HeadersList()\n\n for (let i = 0; i < rawHeaders.length; i += 2) {\n headersList.append(bufferToLowerCasedHeaderName(rawHeaders[i]), rawHeaders[i + 1].toString('latin1'), true)\n }\n location = headersList.get('location', true)\n\n this.body = new Readable({ read: resume })\n\n const decoders = []\n\n const willFollow = location && request.redirect === 'follow' &&\n redirectStatusSet.has(status)\n\n // https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding\n if (request.method !== 'HEAD' && request.method !== 'CONNECT' && !nullBodyStatus.includes(status) && !willFollow) {\n // https://www.rfc-editor.org/rfc/rfc7231#section-3.1.2.1\n const contentEncoding = headersList.get('content-encoding', true)\n // \"All content-coding values are case-insensitive...\"\n /** @type {string[]} */\n const codings = contentEncoding ? contentEncoding.toLowerCase().split(',') : []\n\n // Limit the number of content-encodings to prevent resource exhaustion.\n // CVE fix similar to urllib3 (GHSA-gm62-xv2j-4w53) and curl (CVE-2022-32206).\n const maxContentEncodings = 5\n if (codings.length > maxContentEncodings) {\n reject(new Error(`too many content-encodings in response: ${codings.length}, maximum allowed is ${maxContentEncodings}`))\n return true\n }\n\n for (let i = codings.length - 1; i >= 0; --i) {\n const coding = codings[i].trim()\n // https://www.rfc-editor.org/rfc/rfc9112.html#section-7.2\n if (coding === 'x-gzip' || coding === 'gzip') {\n decoders.push(zlib.createGunzip({\n // Be less strict when decoding compressed responses, since sometimes\n // servers send slightly invalid responses that are still accepted\n // by common browsers.\n // Always using Z_SYNC_FLUSH is what cURL does.\n flush: zlib.constants.Z_SYNC_FLUSH,\n finishFlush: zlib.constants.Z_SYNC_FLUSH\n }))\n } else if (coding === 'deflate') {\n decoders.push(createInflate({\n flush: zlib.constants.Z_SYNC_FLUSH,\n finishFlush: zlib.constants.Z_SYNC_FLUSH\n }))\n } else if (coding === 'br') {\n decoders.push(zlib.createBrotliDecompress({\n flush: zlib.constants.BROTLI_OPERATION_FLUSH,\n finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH\n }))\n } else {\n decoders.length = 0\n break\n }\n }\n }\n\n const onError = this.onError.bind(this)\n\n resolve({\n status,\n statusText,\n headersList,\n body: decoders.length\n ? pipeline(this.body, ...decoders, (err) => {\n if (err) {\n this.onError(err)\n }\n }).on('error', onError)\n : this.body.on('error', onError)\n })\n\n return true\n },\n\n onData (chunk) {\n if (fetchParams.controller.dump) {\n return\n }\n\n // 1. If one or more bytes have been transmitted from response\u2019s\n // message body, then:\n\n // 1. Let bytes be the transmitted bytes.\n const bytes = chunk\n\n // 2. Let codings be the result of extracting header list values\n // given `Content-Encoding` and response\u2019s header list.\n // See pullAlgorithm.\n\n // 3. Increase timingInfo\u2019s encoded body size by bytes\u2019s length.\n timingInfo.encodedBodySize += bytes.byteLength\n\n // 4. See pullAlgorithm...\n\n return this.body.push(bytes)\n },\n\n onComplete () {\n if (this.abort) {\n fetchParams.controller.off('terminated', this.abort)\n }\n\n if (fetchParams.controller.onAborted) {\n fetchParams.controller.off('terminated', fetchParams.controller.onAborted)\n }\n\n fetchParams.controller.ended = true\n\n this.body.push(null)\n },\n\n onError (error) {\n if (this.abort) {\n fetchParams.controller.off('terminated', this.abort)\n }\n\n this.body?.destroy(error)\n\n fetchParams.controller.terminate(error)\n\n reject(error)\n },\n\n onUpgrade (status, rawHeaders, socket) {\n if (status !== 101) {\n return\n }\n\n const headersList = new HeadersList()\n\n for (let i = 0; i < rawHeaders.length; i += 2) {\n headersList.append(bufferToLowerCasedHeaderName(rawHeaders[i]), rawHeaders[i + 1].toString('latin1'), true)\n }\n\n resolve({\n status,\n statusText: STATUS_CODES[status],\n headersList,\n socket\n })\n\n return true\n }\n }\n ))\n }\n}\n\nmodule.exports = {\n fetch,\n Fetch,\n fetching,\n finalizeAndReportTiming\n}\n", "'use strict'\n\nmodule.exports = {\n kState: Symbol('FileReader state'),\n kResult: Symbol('FileReader result'),\n kError: Symbol('FileReader error'),\n kLastProgressEventFired: Symbol('FileReader last progress event fired timestamp'),\n kEvents: Symbol('FileReader events'),\n kAborted: Symbol('FileReader aborted')\n}\n", "'use strict'\n\nconst { webidl } = require('../fetch/webidl')\n\nconst kState = Symbol('ProgressEvent state')\n\n/**\n * @see https://xhr.spec.whatwg.org/#progressevent\n */\nclass ProgressEvent extends Event {\n constructor (type, eventInitDict = {}) {\n type = webidl.converters.DOMString(type, 'ProgressEvent constructor', 'type')\n eventInitDict = webidl.converters.ProgressEventInit(eventInitDict ?? {})\n\n super(type, eventInitDict)\n\n this[kState] = {\n lengthComputable: eventInitDict.lengthComputable,\n loaded: eventInitDict.loaded,\n total: eventInitDict.total\n }\n }\n\n get lengthComputable () {\n webidl.brandCheck(this, ProgressEvent)\n\n return this[kState].lengthComputable\n }\n\n get loaded () {\n webidl.brandCheck(this, ProgressEvent)\n\n return this[kState].loaded\n }\n\n get total () {\n webidl.brandCheck(this, ProgressEvent)\n\n return this[kState].total\n }\n}\n\nwebidl.converters.ProgressEventInit = webidl.dictionaryConverter([\n {\n key: 'lengthComputable',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n },\n {\n key: 'loaded',\n converter: webidl.converters['unsigned long long'],\n defaultValue: () => 0\n },\n {\n key: 'total',\n converter: webidl.converters['unsigned long long'],\n defaultValue: () => 0\n },\n {\n key: 'bubbles',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n },\n {\n key: 'cancelable',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n },\n {\n key: 'composed',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n }\n])\n\nmodule.exports = {\n ProgressEvent\n}\n", "'use strict'\n\n/**\n * @see https://encoding.spec.whatwg.org/#concept-encoding-get\n * @param {string|undefined} label\n */\nfunction getEncoding (label) {\n if (!label) {\n return 'failure'\n }\n\n // 1. Remove any leading and trailing ASCII whitespace from label.\n // 2. If label is an ASCII case-insensitive match for any of the\n // labels listed in the table below, then return the\n // corresponding encoding; otherwise return failure.\n switch (label.trim().toLowerCase()) {\n case 'unicode-1-1-utf-8':\n case 'unicode11utf8':\n case 'unicode20utf8':\n case 'utf-8':\n case 'utf8':\n case 'x-unicode20utf8':\n return 'UTF-8'\n case '866':\n case 'cp866':\n case 'csibm866':\n case 'ibm866':\n return 'IBM866'\n case 'csisolatin2':\n case 'iso-8859-2':\n case 'iso-ir-101':\n case 'iso8859-2':\n case 'iso88592':\n case 'iso_8859-2':\n case 'iso_8859-2:1987':\n case 'l2':\n case 'latin2':\n return 'ISO-8859-2'\n case 'csisolatin3':\n case 'iso-8859-3':\n case 'iso-ir-109':\n case 'iso8859-3':\n case 'iso88593':\n case 'iso_8859-3':\n case 'iso_8859-3:1988':\n case 'l3':\n case 'latin3':\n return 'ISO-8859-3'\n case 'csisolatin4':\n case 'iso-8859-4':\n case 'iso-ir-110':\n case 'iso8859-4':\n case 'iso88594':\n case 'iso_8859-4':\n case 'iso_8859-4:1988':\n case 'l4':\n case 'latin4':\n return 'ISO-8859-4'\n case 'csisolatincyrillic':\n case 'cyrillic':\n case 'iso-8859-5':\n case 'iso-ir-144':\n case 'iso8859-5':\n case 'iso88595':\n case 'iso_8859-5':\n case 'iso_8859-5:1988':\n return 'ISO-8859-5'\n case 'arabic':\n case 'asmo-708':\n case 'csiso88596e':\n case 'csiso88596i':\n case 'csisolatinarabic':\n case 'ecma-114':\n case 'iso-8859-6':\n case 'iso-8859-6-e':\n case 'iso-8859-6-i':\n case 'iso-ir-127':\n case 'iso8859-6':\n case 'iso88596':\n case 'iso_8859-6':\n case 'iso_8859-6:1987':\n return 'ISO-8859-6'\n case 'csisolatingreek':\n case 'ecma-118':\n case 'elot_928':\n case 'greek':\n case 'greek8':\n case 'iso-8859-7':\n case 'iso-ir-126':\n case 'iso8859-7':\n case 'iso88597':\n case 'iso_8859-7':\n case 'iso_8859-7:1987':\n case 'sun_eu_greek':\n return 'ISO-8859-7'\n case 'csiso88598e':\n case 'csisolatinhebrew':\n case 'hebrew':\n case 'iso-8859-8':\n case 'iso-8859-8-e':\n case 'iso-ir-138':\n case 'iso8859-8':\n case 'iso88598':\n case 'iso_8859-8':\n case 'iso_8859-8:1988':\n case 'visual':\n return 'ISO-8859-8'\n case 'csiso88598i':\n case 'iso-8859-8-i':\n case 'logical':\n return 'ISO-8859-8-I'\n case 'csisolatin6':\n case 'iso-8859-10':\n case 'iso-ir-157':\n case 'iso8859-10':\n case 'iso885910':\n case 'l6':\n case 'latin6':\n return 'ISO-8859-10'\n case 'iso-8859-13':\n case 'iso8859-13':\n case 'iso885913':\n return 'ISO-8859-13'\n case 'iso-8859-14':\n case 'iso8859-14':\n case 'iso885914':\n return 'ISO-8859-14'\n case 'csisolatin9':\n case 'iso-8859-15':\n case 'iso8859-15':\n case 'iso885915':\n case 'iso_8859-15':\n case 'l9':\n return 'ISO-8859-15'\n case 'iso-8859-16':\n return 'ISO-8859-16'\n case 'cskoi8r':\n case 'koi':\n case 'koi8':\n case 'koi8-r':\n case 'koi8_r':\n return 'KOI8-R'\n case 'koi8-ru':\n case 'koi8-u':\n return 'KOI8-U'\n case 'csmacintosh':\n case 'mac':\n case 'macintosh':\n case 'x-mac-roman':\n return 'macintosh'\n case 'iso-8859-11':\n case 'iso8859-11':\n case 'iso885911':\n case 'tis-620':\n case 'windows-874':\n return 'windows-874'\n case 'cp1250':\n case 'windows-1250':\n case 'x-cp1250':\n return 'windows-1250'\n case 'cp1251':\n case 'windows-1251':\n case 'x-cp1251':\n return 'windows-1251'\n case 'ansi_x3.4-1968':\n case 'ascii':\n case 'cp1252':\n case 'cp819':\n case 'csisolatin1':\n case 'ibm819':\n case 'iso-8859-1':\n case 'iso-ir-100':\n case 'iso8859-1':\n case 'iso88591':\n case 'iso_8859-1':\n case 'iso_8859-1:1987':\n case 'l1':\n case 'latin1':\n case 'us-ascii':\n case 'windows-1252':\n case 'x-cp1252':\n return 'windows-1252'\n case 'cp1253':\n case 'windows-1253':\n case 'x-cp1253':\n return 'windows-1253'\n case 'cp1254':\n case 'csisolatin5':\n case 'iso-8859-9':\n case 'iso-ir-148':\n case 'iso8859-9':\n case 'iso88599':\n case 'iso_8859-9':\n case 'iso_8859-9:1989':\n case 'l5':\n case 'latin5':\n case 'windows-1254':\n case 'x-cp1254':\n return 'windows-1254'\n case 'cp1255':\n case 'windows-1255':\n case 'x-cp1255':\n return 'windows-1255'\n case 'cp1256':\n case 'windows-1256':\n case 'x-cp1256':\n return 'windows-1256'\n case 'cp1257':\n case 'windows-1257':\n case 'x-cp1257':\n return 'windows-1257'\n case 'cp1258':\n case 'windows-1258':\n case 'x-cp1258':\n return 'windows-1258'\n case 'x-mac-cyrillic':\n case 'x-mac-ukrainian':\n return 'x-mac-cyrillic'\n case 'chinese':\n case 'csgb2312':\n case 'csiso58gb231280':\n case 'gb2312':\n case 'gb_2312':\n case 'gb_2312-80':\n case 'gbk':\n case 'iso-ir-58':\n case 'x-gbk':\n return 'GBK'\n case 'gb18030':\n return 'gb18030'\n case 'big5':\n case 'big5-hkscs':\n case 'cn-big5':\n case 'csbig5':\n case 'x-x-big5':\n return 'Big5'\n case 'cseucpkdfmtjapanese':\n case 'euc-jp':\n case 'x-euc-jp':\n return 'EUC-JP'\n case 'csiso2022jp':\n case 'iso-2022-jp':\n return 'ISO-2022-JP'\n case 'csshiftjis':\n case 'ms932':\n case 'ms_kanji':\n case 'shift-jis':\n case 'shift_jis':\n case 'sjis':\n case 'windows-31j':\n case 'x-sjis':\n return 'Shift_JIS'\n case 'cseuckr':\n case 'csksc56011987':\n case 'euc-kr':\n case 'iso-ir-149':\n case 'korean':\n case 'ks_c_5601-1987':\n case 'ks_c_5601-1989':\n case 'ksc5601':\n case 'ksc_5601':\n case 'windows-949':\n return 'EUC-KR'\n case 'csiso2022kr':\n case 'hz-gb-2312':\n case 'iso-2022-cn':\n case 'iso-2022-cn-ext':\n case 'iso-2022-kr':\n case 'replacement':\n return 'replacement'\n case 'unicodefffe':\n case 'utf-16be':\n return 'UTF-16BE'\n case 'csunicode':\n case 'iso-10646-ucs-2':\n case 'ucs-2':\n case 'unicode':\n case 'unicodefeff':\n case 'utf-16':\n case 'utf-16le':\n return 'UTF-16LE'\n case 'x-user-defined':\n return 'x-user-defined'\n default: return 'failure'\n }\n}\n\nmodule.exports = {\n getEncoding\n}\n", "'use strict'\n\nconst {\n kState,\n kError,\n kResult,\n kAborted,\n kLastProgressEventFired\n} = require('./symbols')\nconst { ProgressEvent } = require('./progressevent')\nconst { getEncoding } = require('./encoding')\nconst { serializeAMimeType, parseMIMEType } = require('../fetch/data-url')\nconst { types } = require('node:util')\nconst { StringDecoder } = require('string_decoder')\nconst { btoa } = require('node:buffer')\n\n/** @type {PropertyDescriptor} */\nconst staticPropertyDescriptors = {\n enumerable: true,\n writable: false,\n configurable: false\n}\n\n/**\n * @see https://w3c.github.io/FileAPI/#readOperation\n * @param {import('./filereader').FileReader} fr\n * @param {import('buffer').Blob} blob\n * @param {string} type\n * @param {string?} encodingName\n */\nfunction readOperation (fr, blob, type, encodingName) {\n // 1. If fr\u2019s state is \"loading\", throw an InvalidStateError\n // DOMException.\n if (fr[kState] === 'loading') {\n throw new DOMException('Invalid state', 'InvalidStateError')\n }\n\n // 2. Set fr\u2019s state to \"loading\".\n fr[kState] = 'loading'\n\n // 3. Set fr\u2019s result to null.\n fr[kResult] = null\n\n // 4. Set fr\u2019s error to null.\n fr[kError] = null\n\n // 5. Let stream be the result of calling get stream on blob.\n /** @type {import('stream/web').ReadableStream} */\n const stream = blob.stream()\n\n // 6. Let reader be the result of getting a reader from stream.\n const reader = stream.getReader()\n\n // 7. Let bytes be an empty byte sequence.\n /** @type {Uint8Array[]} */\n const bytes = []\n\n // 8. Let chunkPromise be the result of reading a chunk from\n // stream with reader.\n let chunkPromise = reader.read()\n\n // 9. Let isFirstChunk be true.\n let isFirstChunk = true\n\n // 10. In parallel, while true:\n // Note: \"In parallel\" just means non-blocking\n // Note 2: readOperation itself cannot be async as double\n // reading the body would then reject the promise, instead\n // of throwing an error.\n ;(async () => {\n while (!fr[kAborted]) {\n // 1. Wait for chunkPromise to be fulfilled or rejected.\n try {\n const { done, value } = await chunkPromise\n\n // 2. If chunkPromise is fulfilled, and isFirstChunk is\n // true, queue a task to fire a progress event called\n // loadstart at fr.\n if (isFirstChunk && !fr[kAborted]) {\n queueMicrotask(() => {\n fireAProgressEvent('loadstart', fr)\n })\n }\n\n // 3. Set isFirstChunk to false.\n isFirstChunk = false\n\n // 4. If chunkPromise is fulfilled with an object whose\n // done property is false and whose value property is\n // a Uint8Array object, run these steps:\n if (!done && types.isUint8Array(value)) {\n // 1. Let bs be the byte sequence represented by the\n // Uint8Array object.\n\n // 2. Append bs to bytes.\n bytes.push(value)\n\n // 3. If roughly 50ms have passed since these steps\n // were last invoked, queue a task to fire a\n // progress event called progress at fr.\n if (\n (\n fr[kLastProgressEventFired] === undefined ||\n Date.now() - fr[kLastProgressEventFired] >= 50\n ) &&\n !fr[kAborted]\n ) {\n fr[kLastProgressEventFired] = Date.now()\n queueMicrotask(() => {\n fireAProgressEvent('progress', fr)\n })\n }\n\n // 4. Set chunkPromise to the result of reading a\n // chunk from stream with reader.\n chunkPromise = reader.read()\n } else if (done) {\n // 5. Otherwise, if chunkPromise is fulfilled with an\n // object whose done property is true, queue a task\n // to run the following steps and abort this algorithm:\n queueMicrotask(() => {\n // 1. Set fr\u2019s state to \"done\".\n fr[kState] = 'done'\n\n // 2. Let result be the result of package data given\n // bytes, type, blob\u2019s type, and encodingName.\n try {\n const result = packageData(bytes, type, blob.type, encodingName)\n\n // 4. Else:\n\n if (fr[kAborted]) {\n return\n }\n\n // 1. Set fr\u2019s result to result.\n fr[kResult] = result\n\n // 2. Fire a progress event called load at the fr.\n fireAProgressEvent('load', fr)\n } catch (error) {\n // 3. If package data threw an exception error:\n\n // 1. Set fr\u2019s error to error.\n fr[kError] = error\n\n // 2. Fire a progress event called error at fr.\n fireAProgressEvent('error', fr)\n }\n\n // 5. If fr\u2019s state is not \"loading\", fire a progress\n // event called loadend at the fr.\n if (fr[kState] !== 'loading') {\n fireAProgressEvent('loadend', fr)\n }\n })\n\n break\n }\n } catch (error) {\n if (fr[kAborted]) {\n return\n }\n\n // 6. Otherwise, if chunkPromise is rejected with an\n // error error, queue a task to run the following\n // steps and abort this algorithm:\n queueMicrotask(() => {\n // 1. Set fr\u2019s state to \"done\".\n fr[kState] = 'done'\n\n // 2. Set fr\u2019s error to error.\n fr[kError] = error\n\n // 3. Fire a progress event called error at fr.\n fireAProgressEvent('error', fr)\n\n // 4. If fr\u2019s state is not \"loading\", fire a progress\n // event called loadend at fr.\n if (fr[kState] !== 'loading') {\n fireAProgressEvent('loadend', fr)\n }\n })\n\n break\n }\n }\n })()\n}\n\n/**\n * @see https://w3c.github.io/FileAPI/#fire-a-progress-event\n * @see https://dom.spec.whatwg.org/#concept-event-fire\n * @param {string} e The name of the event\n * @param {import('./filereader').FileReader} reader\n */\nfunction fireAProgressEvent (e, reader) {\n // The progress event e does not bubble. e.bubbles must be false\n // The progress event e is NOT cancelable. e.cancelable must be false\n const event = new ProgressEvent(e, {\n bubbles: false,\n cancelable: false\n })\n\n reader.dispatchEvent(event)\n}\n\n/**\n * @see https://w3c.github.io/FileAPI/#blob-package-data\n * @param {Uint8Array[]} bytes\n * @param {string} type\n * @param {string?} mimeType\n * @param {string?} encodingName\n */\nfunction packageData (bytes, type, mimeType, encodingName) {\n // 1. A Blob has an associated package data algorithm, given\n // bytes, a type, a optional mimeType, and a optional\n // encodingName, which switches on type and runs the\n // associated steps:\n\n switch (type) {\n case 'DataURL': {\n // 1. Return bytes as a DataURL [RFC2397] subject to\n // the considerations below:\n // * Use mimeType as part of the Data URL if it is\n // available in keeping with the Data URL\n // specification [RFC2397].\n // * If mimeType is not available return a Data URL\n // without a media-type. [RFC2397].\n\n // https://datatracker.ietf.org/doc/html/rfc2397#section-3\n // dataurl := \"data:\" [ mediatype ] [ \";base64\" ] \",\" data\n // mediatype := [ type \"/\" subtype ] *( \";\" parameter )\n // data := *urlchar\n // parameter := attribute \"=\" value\n let dataURL = 'data:'\n\n const parsed = parseMIMEType(mimeType || 'application/octet-stream')\n\n if (parsed !== 'failure') {\n dataURL += serializeAMimeType(parsed)\n }\n\n dataURL += ';base64,'\n\n const decoder = new StringDecoder('latin1')\n\n for (const chunk of bytes) {\n dataURL += btoa(decoder.write(chunk))\n }\n\n dataURL += btoa(decoder.end())\n\n return dataURL\n }\n case 'Text': {\n // 1. Let encoding be failure\n let encoding = 'failure'\n\n // 2. If the encodingName is present, set encoding to the\n // result of getting an encoding from encodingName.\n if (encodingName) {\n encoding = getEncoding(encodingName)\n }\n\n // 3. If encoding is failure, and mimeType is present:\n if (encoding === 'failure' && mimeType) {\n // 1. Let type be the result of parse a MIME type\n // given mimeType.\n const type = parseMIMEType(mimeType)\n\n // 2. If type is not failure, set encoding to the result\n // of getting an encoding from type\u2019s parameters[\"charset\"].\n if (type !== 'failure') {\n encoding = getEncoding(type.parameters.get('charset'))\n }\n }\n\n // 4. If encoding is failure, then set encoding to UTF-8.\n if (encoding === 'failure') {\n encoding = 'UTF-8'\n }\n\n // 5. Decode bytes using fallback encoding encoding, and\n // return the result.\n return decode(bytes, encoding)\n }\n case 'ArrayBuffer': {\n // Return a new ArrayBuffer whose contents are bytes.\n const sequence = combineByteSequences(bytes)\n\n return sequence.buffer\n }\n case 'BinaryString': {\n // Return bytes as a binary string, in which every byte\n // is represented by a code unit of equal value [0..255].\n let binaryString = ''\n\n const decoder = new StringDecoder('latin1')\n\n for (const chunk of bytes) {\n binaryString += decoder.write(chunk)\n }\n\n binaryString += decoder.end()\n\n return binaryString\n }\n }\n}\n\n/**\n * @see https://encoding.spec.whatwg.org/#decode\n * @param {Uint8Array[]} ioQueue\n * @param {string} encoding\n */\nfunction decode (ioQueue, encoding) {\n const bytes = combineByteSequences(ioQueue)\n\n // 1. Let BOMEncoding be the result of BOM sniffing ioQueue.\n const BOMEncoding = BOMSniffing(bytes)\n\n let slice = 0\n\n // 2. If BOMEncoding is non-null:\n if (BOMEncoding !== null) {\n // 1. Set encoding to BOMEncoding.\n encoding = BOMEncoding\n\n // 2. Read three bytes from ioQueue, if BOMEncoding is\n // UTF-8; otherwise read two bytes.\n // (Do nothing with those bytes.)\n slice = BOMEncoding === 'UTF-8' ? 3 : 2\n }\n\n // 3. Process a queue with an instance of encoding\u2019s\n // decoder, ioQueue, output, and \"replacement\".\n\n // 4. Return output.\n\n const sliced = bytes.slice(slice)\n return new TextDecoder(encoding).decode(sliced)\n}\n\n/**\n * @see https://encoding.spec.whatwg.org/#bom-sniff\n * @param {Uint8Array} ioQueue\n */\nfunction BOMSniffing (ioQueue) {\n // 1. Let BOM be the result of peeking 3 bytes from ioQueue,\n // converted to a byte sequence.\n const [a, b, c] = ioQueue\n\n // 2. For each of the rows in the table below, starting with\n // the first one and going down, if BOM starts with the\n // bytes given in the first column, then return the\n // encoding given in the cell in the second column of that\n // row. Otherwise, return null.\n if (a === 0xEF && b === 0xBB && c === 0xBF) {\n return 'UTF-8'\n } else if (a === 0xFE && b === 0xFF) {\n return 'UTF-16BE'\n } else if (a === 0xFF && b === 0xFE) {\n return 'UTF-16LE'\n }\n\n return null\n}\n\n/**\n * @param {Uint8Array[]} sequences\n */\nfunction combineByteSequences (sequences) {\n const size = sequences.reduce((a, b) => {\n return a + b.byteLength\n }, 0)\n\n let offset = 0\n\n return sequences.reduce((a, b) => {\n a.set(b, offset)\n offset += b.byteLength\n return a\n }, new Uint8Array(size))\n}\n\nmodule.exports = {\n staticPropertyDescriptors,\n readOperation,\n fireAProgressEvent\n}\n", "'use strict'\n\nconst {\n staticPropertyDescriptors,\n readOperation,\n fireAProgressEvent\n} = require('./util')\nconst {\n kState,\n kError,\n kResult,\n kEvents,\n kAborted\n} = require('./symbols')\nconst { webidl } = require('../fetch/webidl')\nconst { kEnumerableProperty } = require('../../core/util')\n\nclass FileReader extends EventTarget {\n constructor () {\n super()\n\n this[kState] = 'empty'\n this[kResult] = null\n this[kError] = null\n this[kEvents] = {\n loadend: null,\n error: null,\n abort: null,\n load: null,\n progress: null,\n loadstart: null\n }\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#dfn-readAsArrayBuffer\n * @param {import('buffer').Blob} blob\n */\n readAsArrayBuffer (blob) {\n webidl.brandCheck(this, FileReader)\n\n webidl.argumentLengthCheck(arguments, 1, 'FileReader.readAsArrayBuffer')\n\n blob = webidl.converters.Blob(blob, { strict: false })\n\n // The readAsArrayBuffer(blob) method, when invoked,\n // must initiate a read operation for blob with ArrayBuffer.\n readOperation(this, blob, 'ArrayBuffer')\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#readAsBinaryString\n * @param {import('buffer').Blob} blob\n */\n readAsBinaryString (blob) {\n webidl.brandCheck(this, FileReader)\n\n webidl.argumentLengthCheck(arguments, 1, 'FileReader.readAsBinaryString')\n\n blob = webidl.converters.Blob(blob, { strict: false })\n\n // The readAsBinaryString(blob) method, when invoked,\n // must initiate a read operation for blob with BinaryString.\n readOperation(this, blob, 'BinaryString')\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#readAsDataText\n * @param {import('buffer').Blob} blob\n * @param {string?} encoding\n */\n readAsText (blob, encoding = undefined) {\n webidl.brandCheck(this, FileReader)\n\n webidl.argumentLengthCheck(arguments, 1, 'FileReader.readAsText')\n\n blob = webidl.converters.Blob(blob, { strict: false })\n\n if (encoding !== undefined) {\n encoding = webidl.converters.DOMString(encoding, 'FileReader.readAsText', 'encoding')\n }\n\n // The readAsText(blob, encoding) method, when invoked,\n // must initiate a read operation for blob with Text and encoding.\n readOperation(this, blob, 'Text', encoding)\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#dfn-readAsDataURL\n * @param {import('buffer').Blob} blob\n */\n readAsDataURL (blob) {\n webidl.brandCheck(this, FileReader)\n\n webidl.argumentLengthCheck(arguments, 1, 'FileReader.readAsDataURL')\n\n blob = webidl.converters.Blob(blob, { strict: false })\n\n // The readAsDataURL(blob) method, when invoked, must\n // initiate a read operation for blob with DataURL.\n readOperation(this, blob, 'DataURL')\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#dfn-abort\n */\n abort () {\n // 1. If this's state is \"empty\" or if this's state is\n // \"done\" set this's result to null and terminate\n // this algorithm.\n if (this[kState] === 'empty' || this[kState] === 'done') {\n this[kResult] = null\n return\n }\n\n // 2. If this's state is \"loading\" set this's state to\n // \"done\" and set this's result to null.\n if (this[kState] === 'loading') {\n this[kState] = 'done'\n this[kResult] = null\n }\n\n // 3. If there are any tasks from this on the file reading\n // task source in an affiliated task queue, then remove\n // those tasks from that task queue.\n this[kAborted] = true\n\n // 4. Terminate the algorithm for the read method being processed.\n // TODO\n\n // 5. Fire a progress event called abort at this.\n fireAProgressEvent('abort', this)\n\n // 6. If this's state is not \"loading\", fire a progress\n // event called loadend at this.\n if (this[kState] !== 'loading') {\n fireAProgressEvent('loadend', this)\n }\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#dom-filereader-readystate\n */\n get readyState () {\n webidl.brandCheck(this, FileReader)\n\n switch (this[kState]) {\n case 'empty': return this.EMPTY\n case 'loading': return this.LOADING\n case 'done': return this.DONE\n }\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#dom-filereader-result\n */\n get result () {\n webidl.brandCheck(this, FileReader)\n\n // The result attribute\u2019s getter, when invoked, must return\n // this's result.\n return this[kResult]\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#dom-filereader-error\n */\n get error () {\n webidl.brandCheck(this, FileReader)\n\n // The error attribute\u2019s getter, when invoked, must return\n // this's error.\n return this[kError]\n }\n\n get onloadend () {\n webidl.brandCheck(this, FileReader)\n\n return this[kEvents].loadend\n }\n\n set onloadend (fn) {\n webidl.brandCheck(this, FileReader)\n\n if (this[kEvents].loadend) {\n this.removeEventListener('loadend', this[kEvents].loadend)\n }\n\n if (typeof fn === 'function') {\n this[kEvents].loadend = fn\n this.addEventListener('loadend', fn)\n } else {\n this[kEvents].loadend = null\n }\n }\n\n get onerror () {\n webidl.brandCheck(this, FileReader)\n\n return this[kEvents].error\n }\n\n set onerror (fn) {\n webidl.brandCheck(this, FileReader)\n\n if (this[kEvents].error) {\n this.removeEventListener('error', this[kEvents].error)\n }\n\n if (typeof fn === 'function') {\n this[kEvents].error = fn\n this.addEventListener('error', fn)\n } else {\n this[kEvents].error = null\n }\n }\n\n get onloadstart () {\n webidl.brandCheck(this, FileReader)\n\n return this[kEvents].loadstart\n }\n\n set onloadstart (fn) {\n webidl.brandCheck(this, FileReader)\n\n if (this[kEvents].loadstart) {\n this.removeEventListener('loadstart', this[kEvents].loadstart)\n }\n\n if (typeof fn === 'function') {\n this[kEvents].loadstart = fn\n this.addEventListener('loadstart', fn)\n } else {\n this[kEvents].loadstart = null\n }\n }\n\n get onprogress () {\n webidl.brandCheck(this, FileReader)\n\n return this[kEvents].progress\n }\n\n set onprogress (fn) {\n webidl.brandCheck(this, FileReader)\n\n if (this[kEvents].progress) {\n this.removeEventListener('progress', this[kEvents].progress)\n }\n\n if (typeof fn === 'function') {\n this[kEvents].progress = fn\n this.addEventListener('progress', fn)\n } else {\n this[kEvents].progress = null\n }\n }\n\n get onload () {\n webidl.brandCheck(this, FileReader)\n\n return this[kEvents].load\n }\n\n set onload (fn) {\n webidl.brandCheck(this, FileReader)\n\n if (this[kEvents].load) {\n this.removeEventListener('load', this[kEvents].load)\n }\n\n if (typeof fn === 'function') {\n this[kEvents].load = fn\n this.addEventListener('load', fn)\n } else {\n this[kEvents].load = null\n }\n }\n\n get onabort () {\n webidl.brandCheck(this, FileReader)\n\n return this[kEvents].abort\n }\n\n set onabort (fn) {\n webidl.brandCheck(this, FileReader)\n\n if (this[kEvents].abort) {\n this.removeEventListener('abort', this[kEvents].abort)\n }\n\n if (typeof fn === 'function') {\n this[kEvents].abort = fn\n this.addEventListener('abort', fn)\n } else {\n this[kEvents].abort = null\n }\n }\n}\n\n// https://w3c.github.io/FileAPI/#dom-filereader-empty\nFileReader.EMPTY = FileReader.prototype.EMPTY = 0\n// https://w3c.github.io/FileAPI/#dom-filereader-loading\nFileReader.LOADING = FileReader.prototype.LOADING = 1\n// https://w3c.github.io/FileAPI/#dom-filereader-done\nFileReader.DONE = FileReader.prototype.DONE = 2\n\nObject.defineProperties(FileReader.prototype, {\n EMPTY: staticPropertyDescriptors,\n LOADING: staticPropertyDescriptors,\n DONE: staticPropertyDescriptors,\n readAsArrayBuffer: kEnumerableProperty,\n readAsBinaryString: kEnumerableProperty,\n readAsText: kEnumerableProperty,\n readAsDataURL: kEnumerableProperty,\n abort: kEnumerableProperty,\n readyState: kEnumerableProperty,\n result: kEnumerableProperty,\n error: kEnumerableProperty,\n onloadstart: kEnumerableProperty,\n onprogress: kEnumerableProperty,\n onload: kEnumerableProperty,\n onabort: kEnumerableProperty,\n onerror: kEnumerableProperty,\n onloadend: kEnumerableProperty,\n [Symbol.toStringTag]: {\n value: 'FileReader',\n writable: false,\n enumerable: false,\n configurable: true\n }\n})\n\nObject.defineProperties(FileReader, {\n EMPTY: staticPropertyDescriptors,\n LOADING: staticPropertyDescriptors,\n DONE: staticPropertyDescriptors\n})\n\nmodule.exports = {\n FileReader\n}\n", "'use strict'\n\nmodule.exports = {\n kConstruct: require('../../core/symbols').kConstruct\n}\n", "'use strict'\n\nconst assert = require('node:assert')\nconst { URLSerializer } = require('../fetch/data-url')\nconst { isValidHeaderName } = require('../fetch/util')\n\n/**\n * @see https://url.spec.whatwg.org/#concept-url-equals\n * @param {URL} A\n * @param {URL} B\n * @param {boolean | undefined} excludeFragment\n * @returns {boolean}\n */\nfunction urlEquals (A, B, excludeFragment = false) {\n const serializedA = URLSerializer(A, excludeFragment)\n\n const serializedB = URLSerializer(B, excludeFragment)\n\n return serializedA === serializedB\n}\n\n/**\n * @see https://github.com/chromium/chromium/blob/694d20d134cb553d8d89e5500b9148012b1ba299/content/browser/cache_storage/cache_storage_cache.cc#L260-L262\n * @param {string} header\n */\nfunction getFieldValues (header) {\n assert(header !== null)\n\n const values = []\n\n for (let value of header.split(',')) {\n value = value.trim()\n\n if (isValidHeaderName(value)) {\n values.push(value)\n }\n }\n\n return values\n}\n\nmodule.exports = {\n urlEquals,\n getFieldValues\n}\n", "'use strict'\n\nconst { kConstruct } = require('./symbols')\nconst { urlEquals, getFieldValues } = require('./util')\nconst { kEnumerableProperty, isDisturbed } = require('../../core/util')\nconst { webidl } = require('../fetch/webidl')\nconst { Response, cloneResponse, fromInnerResponse } = require('../fetch/response')\nconst { Request, fromInnerRequest } = require('../fetch/request')\nconst { kState } = require('../fetch/symbols')\nconst { fetching } = require('../fetch/index')\nconst { urlIsHttpHttpsScheme, createDeferredPromise, readAllBytes } = require('../fetch/util')\nconst assert = require('node:assert')\n\n/**\n * @see https://w3c.github.io/ServiceWorker/#dfn-cache-batch-operation\n * @typedef {Object} CacheBatchOperation\n * @property {'delete' | 'put'} type\n * @property {any} request\n * @property {any} response\n * @property {import('../../types/cache').CacheQueryOptions} options\n */\n\n/**\n * @see https://w3c.github.io/ServiceWorker/#dfn-request-response-list\n * @typedef {[any, any][]} requestResponseList\n */\n\nclass Cache {\n /**\n * @see https://w3c.github.io/ServiceWorker/#dfn-relevant-request-response-list\n * @type {requestResponseList}\n */\n #relevantRequestResponseList\n\n constructor () {\n if (arguments[0] !== kConstruct) {\n webidl.illegalConstructor()\n }\n\n webidl.util.markAsUncloneable(this)\n this.#relevantRequestResponseList = arguments[1]\n }\n\n async match (request, options = {}) {\n webidl.brandCheck(this, Cache)\n\n const prefix = 'Cache.match'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n request = webidl.converters.RequestInfo(request, prefix, 'request')\n options = webidl.converters.CacheQueryOptions(options, prefix, 'options')\n\n const p = this.#internalMatchAll(request, options, 1)\n\n if (p.length === 0) {\n return\n }\n\n return p[0]\n }\n\n async matchAll (request = undefined, options = {}) {\n webidl.brandCheck(this, Cache)\n\n const prefix = 'Cache.matchAll'\n if (request !== undefined) request = webidl.converters.RequestInfo(request, prefix, 'request')\n options = webidl.converters.CacheQueryOptions(options, prefix, 'options')\n\n return this.#internalMatchAll(request, options)\n }\n\n async add (request) {\n webidl.brandCheck(this, Cache)\n\n const prefix = 'Cache.add'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n request = webidl.converters.RequestInfo(request, prefix, 'request')\n\n // 1.\n const requests = [request]\n\n // 2.\n const responseArrayPromise = this.addAll(requests)\n\n // 3.\n return await responseArrayPromise\n }\n\n async addAll (requests) {\n webidl.brandCheck(this, Cache)\n\n const prefix = 'Cache.addAll'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n // 1.\n const responsePromises = []\n\n // 2.\n const requestList = []\n\n // 3.\n for (let request of requests) {\n if (request === undefined) {\n throw webidl.errors.conversionFailed({\n prefix,\n argument: 'Argument 1',\n types: ['undefined is not allowed']\n })\n }\n\n request = webidl.converters.RequestInfo(request)\n\n if (typeof request === 'string') {\n continue\n }\n\n // 3.1\n const r = request[kState]\n\n // 3.2\n if (!urlIsHttpHttpsScheme(r.url) || r.method !== 'GET') {\n throw webidl.errors.exception({\n header: prefix,\n message: 'Expected http/s scheme when method is not GET.'\n })\n }\n }\n\n // 4.\n /** @type {ReturnType[]} */\n const fetchControllers = []\n\n // 5.\n for (const request of requests) {\n // 5.1\n const r = new Request(request)[kState]\n\n // 5.2\n if (!urlIsHttpHttpsScheme(r.url)) {\n throw webidl.errors.exception({\n header: prefix,\n message: 'Expected http/s scheme.'\n })\n }\n\n // 5.4\n r.initiator = 'fetch'\n r.destination = 'subresource'\n\n // 5.5\n requestList.push(r)\n\n // 5.6\n const responsePromise = createDeferredPromise()\n\n // 5.7\n fetchControllers.push(fetching({\n request: r,\n processResponse (response) {\n // 1.\n if (response.type === 'error' || response.status === 206 || response.status < 200 || response.status > 299) {\n responsePromise.reject(webidl.errors.exception({\n header: 'Cache.addAll',\n message: 'Received an invalid status code or the request failed.'\n }))\n } else if (response.headersList.contains('vary')) { // 2.\n // 2.1\n const fieldValues = getFieldValues(response.headersList.get('vary'))\n\n // 2.2\n for (const fieldValue of fieldValues) {\n // 2.2.1\n if (fieldValue === '*') {\n responsePromise.reject(webidl.errors.exception({\n header: 'Cache.addAll',\n message: 'invalid vary field value'\n }))\n\n for (const controller of fetchControllers) {\n controller.abort()\n }\n\n return\n }\n }\n }\n },\n processResponseEndOfBody (response) {\n // 1.\n if (response.aborted) {\n responsePromise.reject(new DOMException('aborted', 'AbortError'))\n return\n }\n\n // 2.\n responsePromise.resolve(response)\n }\n }))\n\n // 5.8\n responsePromises.push(responsePromise.promise)\n }\n\n // 6.\n const p = Promise.all(responsePromises)\n\n // 7.\n const responses = await p\n\n // 7.1\n const operations = []\n\n // 7.2\n let index = 0\n\n // 7.3\n for (const response of responses) {\n // 7.3.1\n /** @type {CacheBatchOperation} */\n const operation = {\n type: 'put', // 7.3.2\n request: requestList[index], // 7.3.3\n response // 7.3.4\n }\n\n operations.push(operation) // 7.3.5\n\n index++ // 7.3.6\n }\n\n // 7.5\n const cacheJobPromise = createDeferredPromise()\n\n // 7.6.1\n let errorData = null\n\n // 7.6.2\n try {\n this.#batchCacheOperations(operations)\n } catch (e) {\n errorData = e\n }\n\n // 7.6.3\n queueMicrotask(() => {\n // 7.6.3.1\n if (errorData === null) {\n cacheJobPromise.resolve(undefined)\n } else {\n // 7.6.3.2\n cacheJobPromise.reject(errorData)\n }\n })\n\n // 7.7\n return cacheJobPromise.promise\n }\n\n async put (request, response) {\n webidl.brandCheck(this, Cache)\n\n const prefix = 'Cache.put'\n webidl.argumentLengthCheck(arguments, 2, prefix)\n\n request = webidl.converters.RequestInfo(request, prefix, 'request')\n response = webidl.converters.Response(response, prefix, 'response')\n\n // 1.\n let innerRequest = null\n\n // 2.\n if (request instanceof Request) {\n innerRequest = request[kState]\n } else { // 3.\n innerRequest = new Request(request)[kState]\n }\n\n // 4.\n if (!urlIsHttpHttpsScheme(innerRequest.url) || innerRequest.method !== 'GET') {\n throw webidl.errors.exception({\n header: prefix,\n message: 'Expected an http/s scheme when method is not GET'\n })\n }\n\n // 5.\n const innerResponse = response[kState]\n\n // 6.\n if (innerResponse.status === 206) {\n throw webidl.errors.exception({\n header: prefix,\n message: 'Got 206 status'\n })\n }\n\n // 7.\n if (innerResponse.headersList.contains('vary')) {\n // 7.1.\n const fieldValues = getFieldValues(innerResponse.headersList.get('vary'))\n\n // 7.2.\n for (const fieldValue of fieldValues) {\n // 7.2.1\n if (fieldValue === '*') {\n throw webidl.errors.exception({\n header: prefix,\n message: 'Got * vary field value'\n })\n }\n }\n }\n\n // 8.\n if (innerResponse.body && (isDisturbed(innerResponse.body.stream) || innerResponse.body.stream.locked)) {\n throw webidl.errors.exception({\n header: prefix,\n message: 'Response body is locked or disturbed'\n })\n }\n\n // 9.\n const clonedResponse = cloneResponse(innerResponse)\n\n // 10.\n const bodyReadPromise = createDeferredPromise()\n\n // 11.\n if (innerResponse.body != null) {\n // 11.1\n const stream = innerResponse.body.stream\n\n // 11.2\n const reader = stream.getReader()\n\n // 11.3\n readAllBytes(reader).then(bodyReadPromise.resolve, bodyReadPromise.reject)\n } else {\n bodyReadPromise.resolve(undefined)\n }\n\n // 12.\n /** @type {CacheBatchOperation[]} */\n const operations = []\n\n // 13.\n /** @type {CacheBatchOperation} */\n const operation = {\n type: 'put', // 14.\n request: innerRequest, // 15.\n response: clonedResponse // 16.\n }\n\n // 17.\n operations.push(operation)\n\n // 19.\n const bytes = await bodyReadPromise.promise\n\n if (clonedResponse.body != null) {\n clonedResponse.body.source = bytes\n }\n\n // 19.1\n const cacheJobPromise = createDeferredPromise()\n\n // 19.2.1\n let errorData = null\n\n // 19.2.2\n try {\n this.#batchCacheOperations(operations)\n } catch (e) {\n errorData = e\n }\n\n // 19.2.3\n queueMicrotask(() => {\n // 19.2.3.1\n if (errorData === null) {\n cacheJobPromise.resolve()\n } else { // 19.2.3.2\n cacheJobPromise.reject(errorData)\n }\n })\n\n return cacheJobPromise.promise\n }\n\n async delete (request, options = {}) {\n webidl.brandCheck(this, Cache)\n\n const prefix = 'Cache.delete'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n request = webidl.converters.RequestInfo(request, prefix, 'request')\n options = webidl.converters.CacheQueryOptions(options, prefix, 'options')\n\n /**\n * @type {Request}\n */\n let r = null\n\n if (request instanceof Request) {\n r = request[kState]\n\n if (r.method !== 'GET' && !options.ignoreMethod) {\n return false\n }\n } else {\n assert(typeof request === 'string')\n\n r = new Request(request)[kState]\n }\n\n /** @type {CacheBatchOperation[]} */\n const operations = []\n\n /** @type {CacheBatchOperation} */\n const operation = {\n type: 'delete',\n request: r,\n options\n }\n\n operations.push(operation)\n\n const cacheJobPromise = createDeferredPromise()\n\n let errorData = null\n let requestResponses\n\n try {\n requestResponses = this.#batchCacheOperations(operations)\n } catch (e) {\n errorData = e\n }\n\n queueMicrotask(() => {\n if (errorData === null) {\n cacheJobPromise.resolve(!!requestResponses?.length)\n } else {\n cacheJobPromise.reject(errorData)\n }\n })\n\n return cacheJobPromise.promise\n }\n\n /**\n * @see https://w3c.github.io/ServiceWorker/#dom-cache-keys\n * @param {any} request\n * @param {import('../../types/cache').CacheQueryOptions} options\n * @returns {Promise}\n */\n async keys (request = undefined, options = {}) {\n webidl.brandCheck(this, Cache)\n\n const prefix = 'Cache.keys'\n\n if (request !== undefined) request = webidl.converters.RequestInfo(request, prefix, 'request')\n options = webidl.converters.CacheQueryOptions(options, prefix, 'options')\n\n // 1.\n let r = null\n\n // 2.\n if (request !== undefined) {\n // 2.1\n if (request instanceof Request) {\n // 2.1.1\n r = request[kState]\n\n // 2.1.2\n if (r.method !== 'GET' && !options.ignoreMethod) {\n return []\n }\n } else if (typeof request === 'string') { // 2.2\n r = new Request(request)[kState]\n }\n }\n\n // 4.\n const promise = createDeferredPromise()\n\n // 5.\n // 5.1\n const requests = []\n\n // 5.2\n if (request === undefined) {\n // 5.2.1\n for (const requestResponse of this.#relevantRequestResponseList) {\n // 5.2.1.1\n requests.push(requestResponse[0])\n }\n } else { // 5.3\n // 5.3.1\n const requestResponses = this.#queryCache(r, options)\n\n // 5.3.2\n for (const requestResponse of requestResponses) {\n // 5.3.2.1\n requests.push(requestResponse[0])\n }\n }\n\n // 5.4\n queueMicrotask(() => {\n // 5.4.1\n const requestList = []\n\n // 5.4.2\n for (const request of requests) {\n const requestObject = fromInnerRequest(\n request,\n new AbortController().signal,\n 'immutable'\n )\n // 5.4.2.1\n requestList.push(requestObject)\n }\n\n // 5.4.3\n promise.resolve(Object.freeze(requestList))\n })\n\n return promise.promise\n }\n\n /**\n * @see https://w3c.github.io/ServiceWorker/#batch-cache-operations-algorithm\n * @param {CacheBatchOperation[]} operations\n * @returns {requestResponseList}\n */\n #batchCacheOperations (operations) {\n // 1.\n const cache = this.#relevantRequestResponseList\n\n // 2.\n const backupCache = [...cache]\n\n // 3.\n const addedItems = []\n\n // 4.1\n const resultList = []\n\n try {\n // 4.2\n for (const operation of operations) {\n // 4.2.1\n if (operation.type !== 'delete' && operation.type !== 'put') {\n throw webidl.errors.exception({\n header: 'Cache.#batchCacheOperations',\n message: 'operation type does not match \"delete\" or \"put\"'\n })\n }\n\n // 4.2.2\n if (operation.type === 'delete' && operation.response != null) {\n throw webidl.errors.exception({\n header: 'Cache.#batchCacheOperations',\n message: 'delete operation should not have an associated response'\n })\n }\n\n // 4.2.3\n if (this.#queryCache(operation.request, operation.options, addedItems).length) {\n throw new DOMException('???', 'InvalidStateError')\n }\n\n // 4.2.4\n let requestResponses\n\n // 4.2.5\n if (operation.type === 'delete') {\n // 4.2.5.1\n requestResponses = this.#queryCache(operation.request, operation.options)\n\n // TODO: the spec is wrong, this is needed to pass WPTs\n if (requestResponses.length === 0) {\n return []\n }\n\n // 4.2.5.2\n for (const requestResponse of requestResponses) {\n const idx = cache.indexOf(requestResponse)\n assert(idx !== -1)\n\n // 4.2.5.2.1\n cache.splice(idx, 1)\n }\n } else if (operation.type === 'put') { // 4.2.6\n // 4.2.6.1\n if (operation.response == null) {\n throw webidl.errors.exception({\n header: 'Cache.#batchCacheOperations',\n message: 'put operation should have an associated response'\n })\n }\n\n // 4.2.6.2\n const r = operation.request\n\n // 4.2.6.3\n if (!urlIsHttpHttpsScheme(r.url)) {\n throw webidl.errors.exception({\n header: 'Cache.#batchCacheOperations',\n message: 'expected http or https scheme'\n })\n }\n\n // 4.2.6.4\n if (r.method !== 'GET') {\n throw webidl.errors.exception({\n header: 'Cache.#batchCacheOperations',\n message: 'not get method'\n })\n }\n\n // 4.2.6.5\n if (operation.options != null) {\n throw webidl.errors.exception({\n header: 'Cache.#batchCacheOperations',\n message: 'options must not be defined'\n })\n }\n\n // 4.2.6.6\n requestResponses = this.#queryCache(operation.request)\n\n // 4.2.6.7\n for (const requestResponse of requestResponses) {\n const idx = cache.indexOf(requestResponse)\n assert(idx !== -1)\n\n // 4.2.6.7.1\n cache.splice(idx, 1)\n }\n\n // 4.2.6.8\n cache.push([operation.request, operation.response])\n\n // 4.2.6.10\n addedItems.push([operation.request, operation.response])\n }\n\n // 4.2.7\n resultList.push([operation.request, operation.response])\n }\n\n // 4.3\n return resultList\n } catch (e) { // 5.\n // 5.1\n this.#relevantRequestResponseList.length = 0\n\n // 5.2\n this.#relevantRequestResponseList = backupCache\n\n // 5.3\n throw e\n }\n }\n\n /**\n * @see https://w3c.github.io/ServiceWorker/#query-cache\n * @param {any} requestQuery\n * @param {import('../../types/cache').CacheQueryOptions} options\n * @param {requestResponseList} targetStorage\n * @returns {requestResponseList}\n */\n #queryCache (requestQuery, options, targetStorage) {\n /** @type {requestResponseList} */\n const resultList = []\n\n const storage = targetStorage ?? this.#relevantRequestResponseList\n\n for (const requestResponse of storage) {\n const [cachedRequest, cachedResponse] = requestResponse\n if (this.#requestMatchesCachedItem(requestQuery, cachedRequest, cachedResponse, options)) {\n resultList.push(requestResponse)\n }\n }\n\n return resultList\n }\n\n /**\n * @see https://w3c.github.io/ServiceWorker/#request-matches-cached-item-algorithm\n * @param {any} requestQuery\n * @param {any} request\n * @param {any | null} response\n * @param {import('../../types/cache').CacheQueryOptions | undefined} options\n * @returns {boolean}\n */\n #requestMatchesCachedItem (requestQuery, request, response = null, options) {\n // if (options?.ignoreMethod === false && request.method === 'GET') {\n // return false\n // }\n\n const queryURL = new URL(requestQuery.url)\n\n const cachedURL = new URL(request.url)\n\n if (options?.ignoreSearch) {\n cachedURL.search = ''\n\n queryURL.search = ''\n }\n\n if (!urlEquals(queryURL, cachedURL, true)) {\n return false\n }\n\n if (\n response == null ||\n options?.ignoreVary ||\n !response.headersList.contains('vary')\n ) {\n return true\n }\n\n const fieldValues = getFieldValues(response.headersList.get('vary'))\n\n for (const fieldValue of fieldValues) {\n if (fieldValue === '*') {\n return false\n }\n\n const requestValue = request.headersList.get(fieldValue)\n const queryValue = requestQuery.headersList.get(fieldValue)\n\n // If one has the header and the other doesn't, or one has\n // a different value than the other, return false\n if (requestValue !== queryValue) {\n return false\n }\n }\n\n return true\n }\n\n #internalMatchAll (request, options, maxResponses = Infinity) {\n // 1.\n let r = null\n\n // 2.\n if (request !== undefined) {\n if (request instanceof Request) {\n // 2.1.1\n r = request[kState]\n\n // 2.1.2\n if (r.method !== 'GET' && !options.ignoreMethod) {\n return []\n }\n } else if (typeof request === 'string') {\n // 2.2.1\n r = new Request(request)[kState]\n }\n }\n\n // 5.\n // 5.1\n const responses = []\n\n // 5.2\n if (request === undefined) {\n // 5.2.1\n for (const requestResponse of this.#relevantRequestResponseList) {\n responses.push(requestResponse[1])\n }\n } else { // 5.3\n // 5.3.1\n const requestResponses = this.#queryCache(r, options)\n\n // 5.3.2\n for (const requestResponse of requestResponses) {\n responses.push(requestResponse[1])\n }\n }\n\n // 5.4\n // We don't implement CORs so we don't need to loop over the responses, yay!\n\n // 5.5.1\n const responseList = []\n\n // 5.5.2\n for (const response of responses) {\n // 5.5.2.1\n const responseObject = fromInnerResponse(response, 'immutable')\n\n responseList.push(responseObject.clone())\n\n if (responseList.length >= maxResponses) {\n break\n }\n }\n\n // 6.\n return Object.freeze(responseList)\n }\n}\n\nObject.defineProperties(Cache.prototype, {\n [Symbol.toStringTag]: {\n value: 'Cache',\n configurable: true\n },\n match: kEnumerableProperty,\n matchAll: kEnumerableProperty,\n add: kEnumerableProperty,\n addAll: kEnumerableProperty,\n put: kEnumerableProperty,\n delete: kEnumerableProperty,\n keys: kEnumerableProperty\n})\n\nconst cacheQueryOptionConverters = [\n {\n key: 'ignoreSearch',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n },\n {\n key: 'ignoreMethod',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n },\n {\n key: 'ignoreVary',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n }\n]\n\nwebidl.converters.CacheQueryOptions = webidl.dictionaryConverter(cacheQueryOptionConverters)\n\nwebidl.converters.MultiCacheQueryOptions = webidl.dictionaryConverter([\n ...cacheQueryOptionConverters,\n {\n key: 'cacheName',\n converter: webidl.converters.DOMString\n }\n])\n\nwebidl.converters.Response = webidl.interfaceConverter(Response)\n\nwebidl.converters['sequence'] = webidl.sequenceConverter(\n webidl.converters.RequestInfo\n)\n\nmodule.exports = {\n Cache\n}\n", "'use strict'\n\nconst { kConstruct } = require('./symbols')\nconst { Cache } = require('./cache')\nconst { webidl } = require('../fetch/webidl')\nconst { kEnumerableProperty } = require('../../core/util')\n\nclass CacheStorage {\n /**\n * @see https://w3c.github.io/ServiceWorker/#dfn-relevant-name-to-cache-map\n * @type {Map}\n */\n async has (cacheName) {\n webidl.brandCheck(this, CacheStorage)\n\n const prefix = 'CacheStorage.has'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n cacheName = webidl.converters.DOMString(cacheName, prefix, 'cacheName')\n\n // 2.1.1\n // 2.2\n return this.#caches.has(cacheName)\n }\n\n /**\n * @see https://w3c.github.io/ServiceWorker/#dom-cachestorage-open\n * @param {string} cacheName\n * @returns {Promise}\n */\n async open (cacheName) {\n webidl.brandCheck(this, CacheStorage)\n\n const prefix = 'CacheStorage.open'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n cacheName = webidl.converters.DOMString(cacheName, prefix, 'cacheName')\n\n // 2.1\n if (this.#caches.has(cacheName)) {\n // await caches.open('v1') !== await caches.open('v1')\n\n // 2.1.1\n const cache = this.#caches.get(cacheName)\n\n // 2.1.1.1\n return new Cache(kConstruct, cache)\n }\n\n // 2.2\n const cache = []\n\n // 2.3\n this.#caches.set(cacheName, cache)\n\n // 2.4\n return new Cache(kConstruct, cache)\n }\n\n /**\n * @see https://w3c.github.io/ServiceWorker/#cache-storage-delete\n * @param {string} cacheName\n * @returns {Promise}\n */\n async delete (cacheName) {\n webidl.brandCheck(this, CacheStorage)\n\n const prefix = 'CacheStorage.delete'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n cacheName = webidl.converters.DOMString(cacheName, prefix, 'cacheName')\n\n return this.#caches.delete(cacheName)\n }\n\n /**\n * @see https://w3c.github.io/ServiceWorker/#cache-storage-keys\n * @returns {Promise}\n */\n async keys () {\n webidl.brandCheck(this, CacheStorage)\n\n // 2.1\n const keys = this.#caches.keys()\n\n // 2.2\n return [...keys]\n }\n}\n\nObject.defineProperties(CacheStorage.prototype, {\n [Symbol.toStringTag]: {\n value: 'CacheStorage',\n configurable: true\n },\n match: kEnumerableProperty,\n has: kEnumerableProperty,\n open: kEnumerableProperty,\n delete: kEnumerableProperty,\n keys: kEnumerableProperty\n})\n\nmodule.exports = {\n CacheStorage\n}\n", "'use strict'\n\n// https://wicg.github.io/cookie-store/#cookie-maximum-attribute-value-size\nconst maxAttributeValueSize = 1024\n\n// https://wicg.github.io/cookie-store/#cookie-maximum-name-value-pair-size\nconst maxNameValuePairSize = 4096\n\nmodule.exports = {\n maxAttributeValueSize,\n maxNameValuePairSize\n}\n", "'use strict'\n\n/**\n * @param {string} value\n * @returns {boolean}\n */\nfunction isCTLExcludingHtab (value) {\n for (let i = 0; i < value.length; ++i) {\n const code = value.charCodeAt(i)\n\n if (\n (code >= 0x00 && code <= 0x08) ||\n (code >= 0x0A && code <= 0x1F) ||\n code === 0x7F\n ) {\n return true\n }\n }\n return false\n}\n\n/**\n CHAR = \n token = 1*\n separators = \"(\" | \")\" | \"<\" | \">\" | \"@\"\n | \",\" | \";\" | \":\" | \"\\\" | <\">\n | \"/\" | \"[\" | \"]\" | \"?\" | \"=\"\n | \"{\" | \"}\" | SP | HT\n * @param {string} name\n */\nfunction validateCookieName (name) {\n for (let i = 0; i < name.length; ++i) {\n const code = name.charCodeAt(i)\n\n if (\n code < 0x21 || // exclude CTLs (0-31), SP and HT\n code > 0x7E || // exclude non-ascii and DEL\n code === 0x22 || // \"\n code === 0x28 || // (\n code === 0x29 || // )\n code === 0x3C || // <\n code === 0x3E || // >\n code === 0x40 || // @\n code === 0x2C || // ,\n code === 0x3B || // ;\n code === 0x3A || // :\n code === 0x5C || // \\\n code === 0x2F || // /\n code === 0x5B || // [\n code === 0x5D || // ]\n code === 0x3F || // ?\n code === 0x3D || // =\n code === 0x7B || // {\n code === 0x7D // }\n ) {\n throw new Error('Invalid cookie name')\n }\n }\n}\n\n/**\n cookie-value = *cookie-octet / ( DQUOTE *cookie-octet DQUOTE )\n cookie-octet = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E\n ; US-ASCII characters excluding CTLs,\n ; whitespace DQUOTE, comma, semicolon,\n ; and backslash\n * @param {string} value\n */\nfunction validateCookieValue (value) {\n let len = value.length\n let i = 0\n\n // if the value is wrapped in DQUOTE\n if (value[0] === '\"') {\n if (len === 1 || value[len - 1] !== '\"') {\n throw new Error('Invalid cookie value')\n }\n --len\n ++i\n }\n\n while (i < len) {\n const code = value.charCodeAt(i++)\n\n if (\n code < 0x21 || // exclude CTLs (0-31)\n code > 0x7E || // non-ascii and DEL (127)\n code === 0x22 || // \"\n code === 0x2C || // ,\n code === 0x3B || // ;\n code === 0x5C // \\\n ) {\n throw new Error('Invalid cookie value')\n }\n }\n}\n\n/**\n * path-value = \n * @param {string} path\n */\nfunction validateCookiePath (path) {\n for (let i = 0; i < path.length; ++i) {\n const code = path.charCodeAt(i)\n\n if (\n code < 0x20 || // exclude CTLs (0-31)\n code > 0x7E || // exclude DEL and non-ascii\n code === 0x3B // ;\n ) {\n throw new Error('Invalid cookie path')\n }\n }\n}\n\n/**\n * ::= | \n *\n * ::= any one of the 52 alphabetic characters A through Z in\n * upper case and a through z in lower case\n *\n * ::= any one of the ten digits 0 through 9r\n *\n * @see https://www.rfc-editor.org/rfc/rfc1034#section-3.5\n * @param {number} code\n */\nfunction isLetterOrDigit (code) {\n return (\n (code >= 0x30 && code <= 0x39) || // 0-9\n (code >= 0x41 && code <= 0x5A) || // A-Z\n (code >= 0x61 && code <= 0x7A) // a-z\n )\n}\n\n/**\n * Validates a cookie domain against the \"preferred name syntax\".\n *\n * ::= | \" \"\n * ::=