mirror of
https://github.com/docker/setup-qemu-action.git
synced 2026-12-06 03:13:07 +00:00
153 lines
1.3 MiB
Generated
153 lines
1.3 MiB
Generated
var r9=Object.create;var np=Object.defineProperty;var n9=Object.getOwnPropertyDescriptor;var s9=Object.getOwnPropertyNames;var i9=Object.getPrototypeOf,o9=Object.prototype.hasOwnProperty;var o=(t,e)=>np(t,"name",{value:e,configurable:!0});var g=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),a9=(t,e)=>{for(var r in e)np(t,r,{get:e[r],enumerable:!0})},c9=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of s9(e))!o9.call(t,s)&&s!==r&&np(t,s,{get:()=>e[s],enumerable:!(n=n9(e,s))||n.enumerable});return t};var Q=(t,e,r)=>(r=t!=null?r9(i9(t)):{},c9(e||!t||!t.__esModule?np(r,"default",{value:t,enumerable:!0}):r,t));var ET=g(mc=>{"use strict";var yNe=require("net"),d9=require("tls"),oI=require("http"),fT=require("https"),m9=require("events"),ENe=require("assert"),p9=require("util");mc.httpOverHttp=h9;mc.httpsOverHttp=f9;mc.httpOverHttps=g9;mc.httpsOverHttps=y9;function h9(t){var e=new ai(t);return e.request=oI.request,e}o(h9,"httpOverHttp");function f9(t){var e=new ai(t);return e.request=oI.request,e.createSocket=gT,e.defaultPort=443,e}o(f9,"httpsOverHttp");function g9(t){var e=new ai(t);return e.request=fT.request,e}o(g9,"httpOverHttps");function y9(t){var e=new ai(t);return e.request=fT.request,e.createSocket=gT,e.defaultPort=443,e}o(y9,"httpsOverHttps");function ai(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||oI.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(n,s,i,a){for(var c=yT(s,i,a),l=0,A=e.requests.length;l<A;++l){var u=e.requests[l];if(u.host===c.host&&u.port===c.port){e.requests.splice(l,1),u.request.onSocket(n);return}}n.destroy(),e.removeSocket(n)},"onFree"))}o(ai,"TunnelingAgent");p9.inherits(ai,m9.EventEmitter);ai.prototype.addRequest=o(function(e,r,n,s){var i=this,a=aI({request:e},i.options,yT(r,n,s));if(i.sockets.length>=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");ai.prototype.createSocket=o(function(e,r){var n=this,s={};n.sockets.push(s);var i=aI({},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")),$i("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){$i("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){$i("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 $i("tunneling connection has established"),n.sockets[n.sockets.indexOf(s)]=m,r(m)}o(A,"onConnect");function u(d){a.removeAllListeners(),$i(`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");ai.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 gT(t,e){var r=this;ai.prototype.createSocket.call(r,t,function(n){var s=t.request.getHeader("host"),i=aI({},r.options,{socket:n,servername:s?s.replace(/:.*$/,""):t.host}),a=d9.connect(0,i);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}o(gT,"createSecureSocket");function yT(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(yT,"toOptions");function aI(t){for(var e=1,r=arguments.length;e<r;++e){var n=arguments[e];if(typeof n=="object")for(var s=Object.keys(n),i=0,a=s.length;i<a;++i){var c=s[i];n[c]!==void 0&&(t[c]=n[c])}}return t}o(aI,"mergeOptions");var $i;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?$i=o(function(){var t=Array.prototype.slice.call(arguments);typeof t[0]=="string"?t[0]="TUNNEL: "+t[0]:t.unshift("TUNNEL:"),console.error.apply(console,t)},"debug"):$i=o(function(){},"debug");mc.debug=$i});var cI=g((BNe,CT)=>{CT.exports=ET()});var Oe=g((QNe,IT)=>{IT.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 Ee=g((xNe,VT)=>{"use strict";var BT=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[BT]===!0}[BT]=!0},QT=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),lI=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[QT]===!0}[QT]=!0},xT=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),AI=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[xT]===!0}[xT]=!0},bT=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),uI=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[bT]===!0}[bT]=!0},wT=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),dI=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[wT]===!0}[wT]=!0},NT=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),mI=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[NT]===!0}[NT]=!0},ST=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),pI=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[ST]===!0}[ST]=!0},RT=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),hI=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[RT]===!0}[RT]=!0},vT=Symbol.for("undici.error.UND_ERR_ABORT"),op=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[vT]===!0}[vT]=!0},PT=Symbol.for("undici.error.UND_ERR_ABORTED"),fI=class extends op{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[PT]===!0}[PT]=!0},DT=Symbol.for("undici.error.UND_ERR_INFO"),gI=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[DT]===!0}[DT]=!0},TT=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),yI=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[TT]===!0}[TT]=!0},kT=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),EI=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[kT]===!0}[kT]=!0},MT=Symbol.for("undici.error.UND_ERR_DESTROYED"),CI=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[MT]===!0}[MT]=!0},LT=Symbol.for("undici.error.UND_ERR_CLOSED"),II=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[LT]===!0}[LT]=!0},_T=Symbol.for("undici.error.UND_ERR_SOCKET"),BI=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[_T]===!0}[_T]=!0},FT=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),QI=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[FT]===!0}[FT]=!0},UT=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),xI=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[UT]===!0}[UT]=!0},OT=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),bI=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[OT]===!0}[OT]=!0},qT=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),wI=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[qT]===!0}[qT]=!0},HT=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),NI=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[HT]===!0}[HT]=!0},zT=Symbol.for("undici.error.UND_ERR_RESPONSE"),SI=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[zT]===!0}[zT]=!0},GT=Symbol.for("undici.error.UND_ERR_PRX_TLS"),RI=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[GT]===!0}[GT]=!0},YT=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),vI=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[YT]===!0}get[YT](){return!0}};VT.exports={AbortError:op,HTTPParserError:bI,UndiciError:qe,HeadersTimeoutError:AI,HeadersOverflowError:uI,BodyTimeoutError:dI,RequestContentLengthMismatchError:yI,ConnectTimeoutError:lI,ResponseStatusCodeError:mI,InvalidArgumentError:pI,InvalidReturnValueError:hI,RequestAbortedError:fI,ClientDestroyedError:CI,ClientClosedError:II,InformationalError:gI,SocketError:BI,NotSupportedError:QI,ResponseContentLengthMismatchError:EI,BalancedPoolMissingUpstreamError:xI,ResponseExceededMaxSizeError:wI,RequestRetryError:NI,ResponseError:SI,SecureProxyConnectionError:RI,MessageSizeExceededError:vI}});var cp=g((wNe,JT)=>{"use strict";var ap={},PI=["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<PI.length;++t){let e=PI[t],r=e.toLowerCase();ap[e]=ap[r]=r}Object.setPrototypeOf(ap,null);JT.exports={wellknownHeaderNames:PI,headerNameLowerCasedRecord:ap}});var KT=g((NNe,jT)=>{"use strict";var{wellknownHeaderNames:$T,headerNameLowerCasedRecord:E9}=cp(),DI=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<a)if(i.left!==null)i=i.left;else{i.left=new t(e,r,s);break}else if(i.right!==null)i=i.right;else{i.right=new t(e,r,s);break}}}search(e){let r=e.length,n=0,s=this;for(;s!==null&&n<r;){let i=e[n];for(i<=90&&i>=65&&(i|=32);s!==null;){if(i===s.code){if(r===++n)return s;s=s.middle;break}s=s.code<i?s.left:s.right}}return null}},lp=class{static{o(this,"TernarySearchTree")}node=null;insert(e,r){this.node===null?this.node=new DI(e,r,0):this.node.add(e,r)}lookup(e){return this.node?.search(e)?.value??null}},WT=new lp;for(let t=0;t<$T.length;++t){let e=E9[$T[t]];WT.insert(e,e)}jT.exports={TernarySearchTree:lp,tree:WT}});var ce=g((RNe,mk)=>{"use strict";var LA=require("node:assert"),{kDestroyed:ZT,kBodyUsed:pc,kListeners:TI,kBody:XT}=Oe(),{IncomingMessage:C9}=require("node:http"),dp=require("node:stream"),I9=require("node:net"),{Blob:B9}=require("node:buffer"),Q9=require("node:util"),{stringify:x9}=require("node:querystring"),{EventEmitter:b9}=require("node:events"),{InvalidArgumentError:bt}=Ee(),{headerNameLowerCasedRecord:w9}=cp(),{tree:ek}=KT(),[N9,S9]=process.versions.node.split(".").map(t=>Number(t)),up=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[XT]=e,this[pc]=!1}async*[Symbol.asyncIterator](){LA(!this[pc],"disturbed"),this[pc]=!0,yield*this[XT]}};function R9(t){return mp(t)?(ik(t)===0&&t.on("data",function(){LA(!1)}),typeof t.readableDidRead!="boolean"&&(t[pc]=!1,b9.prototype.on.call(t,"data",function(){this[pc]=!0})),t):t&&typeof t.pipeTo=="function"?new up(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&sk(t)?new up(t):t}o(R9,"wrapRequestBody");function v9(){}o(v9,"nop");function mp(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(mp,"isStream");function tk(t){if(t===null)return!1;if(t instanceof B9)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 P9(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=x9(e);return r&&(t+="?"+r),t}o(P9,"buildURL");function rk(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(rk,"isValidPort");function Ap(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(Ap,"isHttpOrHttpsPrefixed");function nk(t){if(typeof t=="string"){if(t=new URL(t),!Ap(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!==""&&rk(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(!Ap(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(!Ap(t.origin||t.protocol))throw new bt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(nk,"parseURL");function D9(t){if(t=nk(t),t.pathname!=="/"||t.search||t.hash)throw new bt("invalid url");return t}o(D9,"parseOrigin");function T9(t){if(t[0]==="["){let r=t.indexOf("]");return LA(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}o(T9,"getHostname");function k9(t){if(!t)return null;LA(typeof t=="string");let e=T9(t);return I9.isIP(e)?"":e}o(k9,"getServerName");function M9(t){return JSON.parse(JSON.stringify(t))}o(M9,"deepClone");function L9(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(L9,"isAsyncIterable");function sk(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(sk,"isIterable");function ik(t){if(t==null)return 0;if(mp(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(ck(t))return t.byteLength}return null}o(ik,"bodyLength");function ok(t){return t&&!!(t.destroyed||t[ZT]||dp.isDestroyed?.(t))}o(ok,"isDestroyed");function _9(t,e){t==null||!mp(t)||ok(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===C9&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[ZT]=!0))}o(_9,"destroy");var F9=/timeout=(\d+)/;function U9(t){let e=t.toString().match(F9);return e?parseInt(e[1],10)*1e3:null}o(U9,"parseKeepAliveTimeout");function ak(t){return typeof t=="string"?w9[t]??t.toLowerCase():ek.lookup(t)??t.toString("latin1").toLowerCase()}o(ak,"headerNameToString");function O9(t){return ek.lookup(t)??t.toString("latin1").toLowerCase()}o(O9,"bufferToLowerCasedHeaderName");function q9(t,e){e===void 0&&(e={});for(let r=0;r<t.length;r+=2){let n=ak(t[r]),s=e[n];if(s)typeof s=="string"&&(s=[s],e[n]=s),s.push(t[r+1].toString("utf8"));else{let i=t[r+1];typeof i=="string"?e[n]=i:e[n]=Array.isArray(i)?i.map(a=>a.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(q9,"parseHeaders");function H9(t){let e=t.length,r=new Array(e),n=!1,s=-1,i,a,c=0;for(let l=0;l<t.length;l+=2)i=t[l],a=t[l+1],typeof i!="string"&&(i=i.toString()),typeof a!="string"&&(a=a.toString("utf8")),c=i.length,c===14&&i[7]==="-"&&(i==="content-length"||i.toLowerCase()==="content-length")?n=!0:c===19&&i[7]==="-"&&(i==="content-disposition"||i.toLowerCase()==="content-disposition")&&(s=l+1),r[l]=i,r[l+1]=a;return n&&s!==-1&&(r[s]=Buffer.from(r[s]).toString("latin1")),r}o(H9,"parseRawHeaders");function ck(t){return t instanceof Uint8Array||Buffer.isBuffer(t)}o(ck,"isBuffer");function z9(t,e,r){if(!t||typeof t!="object")throw new bt("handler must be an object");if(typeof t.onConnect!="function")throw new bt("invalid onConnect method");if(typeof t.onError!="function")throw new bt("invalid onError method");if(typeof t.onBodySent!="function"&&t.onBodySent!==void 0)throw new bt("invalid onBodySent method");if(r||e==="CONNECT"){if(typeof t.onUpgrade!="function")throw new bt("invalid onUpgrade method")}else{if(typeof t.onHeaders!="function")throw new bt("invalid onHeaders method");if(typeof t.onData!="function")throw new bt("invalid onData method");if(typeof t.onComplete!="function")throw new bt("invalid onComplete method")}}o(z9,"validateHandler");function G9(t){return!!(t&&(dp.isDisturbed(t)||t[pc]))}o(G9,"isDisturbed");function Y9(t){return!!(t&&dp.isErrored(t))}o(Y9,"isErrored");function V9(t){return!!(t&&dp.isReadable(t))}o(V9,"isReadable");function J9(t){return{localAddress:t.localAddress,localPort:t.localPort,remoteAddress:t.remoteAddress,remotePort:t.remotePort,remoteFamily:t.remoteFamily,timeout:t.timeout,bytesWritten:t.bytesWritten,bytesRead:t.bytesRead}}o(J9,"getSocketInfo");function $9(t){let e;return new ReadableStream({async start(){e=t[Symbol.asyncIterator]()},async pull(r){let{done:n,value:s}=await e.next();if(n)queueMicrotask(()=>{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($9,"ReadableStreamFrom");function W9(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(W9,"isFormDataLike");function j9(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(j9,"addAbortListener");var K9=typeof String.prototype.toWellFormed=="function",X9=typeof String.prototype.isWellFormed=="function";function lk(t){return K9?`${t}`.toWellFormed():Q9.toUSVString(t)}o(lk,"toUSVString");function Z9(t){return X9?`${t}`.isWellFormed():lk(t)===`${t}`}o(Z9,"isUSVString");function Ak(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(Ak,"isTokenCharCode");function e6(t){if(t.length===0)return!1;for(let e=0;e<t.length;++e)if(!Ak(t.charCodeAt(e)))return!1;return!0}o(e6,"isValidHTTPToken");var t6=/[^\t\x20-\x7e\x80-\xff]/;function r6(t){return!t6.test(t)}o(r6,"isValidHeaderValue");function n6(t){if(t==null||t==="")return{start:0,end:null,size:null};let e=t?t.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return e?{start:parseInt(e[1]),end:e[2]?parseInt(e[2]):null,size:e[3]?parseInt(e[3]):null}:null}o(n6,"parseRangeHeader");function s6(t,e,r){return(t[TI]??=[]).push([e,r]),t.on(e,r),t}o(s6,"addListener");function i6(t){for(let[e,r]of t[TI]??[])t.removeListener(e,r);t[TI]=null}o(i6,"removeAllListeners");function o6(t,e,r){try{e.onError(r),LA(e.aborted)}catch(n){t.emit("error",n)}}o(o6,"errorRequest");var uk=Object.create(null);uk.enumerable=!0;var kI={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"},dk={...kI,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(kI,null);Object.setPrototypeOf(dk,null);mk.exports={kEnumerableProperty:uk,nop:v9,isDisturbed:G9,isErrored:Y9,isReadable:V9,toUSVString:lk,isUSVString:Z9,isBlobLike:tk,parseOrigin:D9,parseURL:nk,getServerName:k9,isStream:mp,isIterable:sk,isAsyncIterable:L9,isDestroyed:ok,headerNameToString:ak,bufferToLowerCasedHeaderName:O9,addListener:s6,removeAllListeners:i6,errorRequest:o6,parseRawHeaders:H9,parseHeaders:q9,parseKeepAliveTimeout:U9,destroy:_9,bodyLength:ik,deepClone:M9,ReadableStreamFrom:$9,isBuffer:ck,validateHandler:z9,getSocketInfo:J9,isFormDataLike:W9,buildURL:P9,addAbortListener:j9,isValidHTTPToken:e6,isValidHeaderValue:r6,isTokenCharCode:Ak,parseRangeHeader:n6,normalizedMethodRecordsBase:kI,normalizedMethodRecords:dk,isValidPort:rk,isHttpOrHttpsPrefixed:Ap,nodeMajor:N9,nodeMinor:S9,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"],wrapRequestBody:R9}});var hc=g((PNe,hk)=>{"use strict";var be=require("node:diagnostics_channel"),LI=require("node:util"),pp=LI.debuglog("undici"),MI=LI.debuglog("fetch"),qo=LI.debuglog("websocket"),pk=!1,a6={beforeConnect:be.channel("undici:client:beforeConnect"),connected:be.channel("undici:client:connected"),connectError:be.channel("undici:client:connectError"),sendHeaders:be.channel("undici:client:sendHeaders"),create:be.channel("undici:request:create"),bodySent:be.channel("undici:request:bodySent"),headers:be.channel("undici:request:headers"),trailers:be.channel("undici:request:trailers"),error:be.channel("undici:request:error"),open:be.channel("undici:websocket:open"),close:be.channel("undici:websocket:close"),socketError:be.channel("undici:websocket:socket_error"),ping:be.channel("undici:websocket:ping"),pong:be.channel("undici:websocket:pong")};if(pp.enabled||MI.enabled){let t=MI.enabled?MI:pp;be.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)}),be.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)}),be.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)}),be.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)}),be.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)}),be.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)}),be.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)}),pk=!0}if(qo.enabled){if(!pk){let t=pp.enabled?pp:qo;be.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)}),be.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)}),be.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)}),be.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)})}be.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;qo("connection opened %s%s",e,r?`:${r}`:"")}),be.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:n}=t;qo("closed connection to %s - %s %s",e.url,r,n)}),be.channel("undici:websocket:socket_error").subscribe(t=>{qo("connection errored - %s",t.message)}),be.channel("undici:websocket:ping").subscribe(t=>{qo("ping received")}),be.channel("undici:websocket:pong").subscribe(t=>{qo("pong received")})}hk.exports={channels:a6}});var Ek=g((DNe,yk)=>{"use strict";var{InvalidArgumentError:Se,NotSupportedError:c6}=Ee(),ci=require("node:assert"),{isValidHTTPToken:gk,isValidHeaderValue:_A,isStream:l6,destroy:A6,isBuffer:u6,isFormDataLike:d6,isIterable:m6,isBlobLike:p6,buildURL:h6,validateHandler:f6,getServerName:g6,normalizedMethodRecords:y6}=ce(),{channels:os}=hc(),{headerNameLowerCasedRecord:fk}=cp(),E6=/[^\u0021-\u00ff]/,an=Symbol("handler"),_I=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(E6.test(r))throw new Se("invalid request path");if(typeof n!="string")throw new Se("method must be a string");if(y6[n]===void 0&&!gk(n))throw new Se("invalid request method");if(A&&typeof A!="string")throw new Se("upgrade must be a string");if(A&&!_A(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(l6(s)){this.body=s;let y=this.body._readableState;(!y||!y.autoDestroy)&&(this.endHandler=o(function(){A6(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(u6(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(d6(s)||m6(s)||p6(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?h6(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<i.length;y+=2)hp(this,i[y],i[y+1])}else if(i&&typeof i=="object")if(i[Symbol.iterator])for(let y of i){if(!Array.isArray(y)||y.length!==2)throw new Se("headers must be in key-value pair format");hp(this,y[0],y[1])}else{let y=Object.keys(i);for(let E=0;E<y.length;++E)hp(this,y[E],i[y[E]])}else if(i!=null)throw new Se("headers must be an object or an array");f6(C,n,A),this.servername=f||g6(this.host),this[an]=C,os.create.hasSubscribers&&os.create.publish({request:this})}onBodySent(e){if(this[an].onBodySent)try{return this[an].onBodySent(e)}catch(r){this.abort(r)}}onRequestSent(){if(os.bodySent.hasSubscribers&&os.bodySent.publish({request:this}),this[an].onRequestSent)try{return this[an].onRequestSent()}catch(e){this.abort(e)}}onConnect(e){if(ci(!this.aborted),ci(!this.completed),this.error)e(this.error);else return this.abort=e,this[an].onConnect(e)}onResponseStarted(){return this[an].onResponseStarted?.()}onHeaders(e,r,n,s){ci(!this.aborted),ci(!this.completed),os.headers.hasSubscribers&&os.headers.publish({request:this,response:{statusCode:e,headers:r,statusText:s}});try{return this[an].onHeaders(e,r,n,s)}catch(i){this.abort(i)}}onData(e){ci(!this.aborted),ci(!this.completed);try{return this[an].onData(e)}catch(r){return this.abort(r),!1}}onUpgrade(e,r,n){return ci(!this.aborted),ci(!this.completed),this[an].onUpgrade(e,r,n)}onComplete(e){this.onFinally(),ci(!this.aborted),this.completed=!0,os.trailers.hasSubscribers&&os.trailers.publish({request:this,trailers:e});try{return this[an].onComplete(e)}catch(r){this.onError(r)}}onError(e){if(this.onFinally(),os.error.hasSubscribers&&os.error.publish({request:this,error:e}),!this.aborted)return this.aborted=!0,this[an].onError(e)}onFinally(){this.errorHandler&&(this.body.off("error",this.errorHandler),this.errorHandler=null),this.endHandler&&(this.body.off("end",this.endHandler),this.endHandler=null)}addHeader(e,r){return hp(this,e,r),this}};function hp(t,e,r){if(r&&typeof r=="object"&&!Array.isArray(r))throw new Se(`invalid ${e} header`);if(r===void 0)return;let n=fk[e];if(n===void 0&&(n=e.toLowerCase(),fk[n]===void 0&&!gk(n)))throw new Se("invalid header key");if(Array.isArray(r)){let s=[];for(let i=0;i<r.length;i++)if(typeof r[i]=="string"){if(!_A(r[i]))throw new Se(`invalid ${e} header`);s.push(r[i])}else if(r[i]===null)s.push("");else{if(typeof r[i]=="object")throw new Se(`invalid ${e} header`);{let a=`${r[i]}`;if(!_A(a))throw new Se(`invalid ${e} header`);s.push(a)}}r=s}else if(typeof r=="string"){if(!_A(r))throw new Se(`invalid ${e} header`)}else if(r===null)r="";else if(r=`${r}`,!_A(r))throw new Se(`invalid ${e} header`);if(n==="host"){if(t.host!==null)throw new Se("duplicate host header");if(typeof r!="string")throw new Se("invalid host header");t.host=r}else if(n==="content-length"){if(t.contentLength!==null)throw new Se("duplicate content-length header");if(t.contentLength=parseInt(r,10),!Number.isFinite(t.contentLength))throw new Se("invalid content-length header")}else if(t.contentType===null&&n==="content-type")t.contentType=r,t.headers.push(e,r);else{if(n==="transfer-encoding"||n==="keep-alive"||n==="upgrade")throw new Se(`invalid ${n} header`);if(n==="connection"){let s=typeof r=="string"?r.toLowerCase():null;if(s!=="close"&&s!=="keep-alive")throw new Se("invalid connection header");s==="close"&&(t.reset=!0)}else{if(n==="expect")throw new c6("expect header not supported");t.headers.push(e,r)}}}o(hp,"processHeader");yk.exports=_I});var FA=g((kNe,Ck)=>{"use strict";var C6=require("node:events"),fp=class extends C6{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 FI(this,n)}},FI=class extends fp{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)}};Ck.exports=fp});var Ec=g((LNe,Ik)=>{"use strict";var I6=FA(),{ClientDestroyedError:UI,ClientClosedError:B6,InvalidArgumentError:fc}=Ee(),{kDestroy:Q6,kClose:x6,kClosed:UA,kDestroyed:gc,kDispatch:OI,kInterceptors:Ho}=Oe(),li=Symbol("onDestroyed"),yc=Symbol("onClosed"),gp=Symbol("Intercepted Dispatch"),qI=Symbol("webSocketOptions"),HI=class extends I6{static{o(this,"DispatcherBase")}constructor(e){super(),this[gc]=!1,this[li]=null,this[UA]=!1,this[yc]=[],this[qI]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[qI].maxFragments??131072,maxPayloadSize:this[qI].maxPayloadSize??128*1024*1024}}get destroyed(){return this[gc]}get closed(){return this[UA]}get interceptors(){return this[Ho]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[Ho][r]!="function")throw new fc("interceptor must be an function")}this[Ho]=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 fc("invalid callback");if(this[gc]){queueMicrotask(()=>e(new UI,null));return}if(this[UA]){this[yc]?this[yc].push(e):queueMicrotask(()=>e(null,null));return}this[UA]=!0,this[yc].push(e);let r=o(()=>{let n=this[yc];this[yc]=null;for(let s=0;s<n.length;s++)n[s](null,null)},"onClosed");this[x6]().then(()=>this.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 fc("invalid callback");if(this[gc]){this[li]?this[li].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new UI),this[gc]=!0,this[li]=this[li]||[],this[li].push(r);let n=o(()=>{let s=this[li];this[li]=null;for(let i=0;i<s.length;i++)s[i](null,null)},"onDestroyed");this[Q6](e).then(()=>{queueMicrotask(n)})}[gp](e,r){if(!this[Ho]||this[Ho].length===0)return this[gp]=this[OI],this[OI](e,r);let n=this[OI].bind(this);for(let s=this[Ho].length-1;s>=0;s--)n=this[Ho][s](n);return this[gp]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new fc("handler must be an object");try{if(!e||typeof e!="object")throw new fc("opts must be an object.");if(this[gc]||this[li])throw new UI;if(this[UA])throw new B6;return this[gp](e,r)}catch(n){if(typeof r.onError!="function")throw new fc("invalid onError method");return r.onError(n),!1}}};Ik.exports=HI});var WI=g((FNe,bk)=>{"use strict";var Cc=0,zI=1e3,GI=(zI>>1)-1,Ai,YI=Symbol("kFastTimer"),ui=[],VI=-2,JI=-1,Qk=0,Bk=1;function $I(){Cc+=GI;let t=0,e=ui.length;for(;t<e;){let r=ui[t];r._state===Qk?(r._idleStart=Cc-GI,r._state=Bk):r._state===Bk&&Cc>=r._idleStart+r._idleTimeout&&(r._state=JI,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===JI?(r._state=VI,--e!==0&&(ui[t]=ui[e])):++t}ui.length=e,ui.length!==0&&xk()}o($I,"onTick");function xk(){Ai?Ai.refresh():(clearTimeout(Ai),Ai=setTimeout($I,GI),Ai.unref&&Ai.unref())}o(xk,"refreshTimeout");var yp=class{static{o(this,"FastTimer")}[YI]=!0;_state=VI;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,n){this._onTimeout=e,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===VI&&ui.push(this),(!Ai||ui.length===1)&&xk(),this._state=Qk}clear(){this._state=JI,this._idleStart=-1}};bk.exports={setTimeout(t,e,r){return e<=zI?setTimeout(t,e,r):new yp(t,e,r)},clearTimeout(t){t[YI]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new yp(t,e,r)},clearFastTimeout(t){t.clear()},now(){return Cc},tick(t=0){Cc+=t-zI+1,$I(),$I()},reset(){Cc=0,ui.length=0,clearTimeout(Ai),Ai=null},kFastTimer:YI}});var OA=g((HNe,vk)=>{"use strict";var b6=require("node:net"),wk=require("node:assert"),Rk=ce(),{InvalidArgumentError:w6,ConnectTimeoutError:N6}=Ee(),Ep=WI();function Nk(){}o(Nk,"noop");var jI,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)return;let n=this._sessionCache.get(r);n!==void 0&&n.deref()===void 0&&this._sessionCache.delete(r)})}get(e){let r=this._sessionCache.get(e);return r?r.deref():null}set(e,r){this._maxCachedSessions!==0&&(this._sessionCache.set(e,new WeakRef(r)),this._sessionRegistry.register(r,e))}}:KI=class{static{o(this,"SimpleSessionCache")}constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map}get(e){return this._sessionCache.get(e)}set(e,r){if(this._maxCachedSessions!==0){if(this._sessionCache.size>=this._maxCachedSessions){let{value:n}=this._sessionCache.keys().next();this._sessionCache.delete(n)}this._sessionCache.set(e,r)}}};function S6({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:n,session:s,...i}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new w6("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:"){jI||(jI=require("node:tls")),p=p||a.servername||Rk.getServerName(u)||null;let I=p||A;wk(I);let B=s||c.get(I)||null;m=m||443,y=jI.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 wk(!f,"httpSocket can only be sent on TLS update"),m=m||80,y=b6.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=R6(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(S6,"buildConnector");var R6=process.platform==="win32"?(t,e)=>{if(!e.timeout)return Nk;let r=null,n=null,s=Ep.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>Sk(t.deref(),e))})},e.timeout);return()=>{Ep.clearFastTimeout(s),clearImmediate(r),clearImmediate(n)}}:(t,e)=>{if(!e.timeout)return Nk;let r=null,n=Ep.setFastTimeout(()=>{r=setImmediate(()=>{Sk(t.deref(),e)})},e.timeout);return()=>{Ep.clearFastTimeout(n),clearImmediate(r)}};function Sk(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)`,Rk.destroy(t,new N6(r))}o(Sk,"onConnectTimeout");vk.exports=S6});var Pk=g(Cp=>{"use strict";Object.defineProperty(Cp,"__esModule",{value:!0});Cp.enumToMap=void 0;function v6(t){let e={};return Object.keys(t).forEach(r=>{let n=t[r];typeof n=="number"&&(e[r]=n)}),e}o(v6,"enumToMap");Cp.enumToMap=v6});var Dk=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 P6=Pk(),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 T6;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(T6=w.TYPE||(w.TYPE={}));var k6;(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"})(k6=w.FLAGS||(w.FLAGS={}));var M6;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(M6=w.LENIENT_FLAGS||(w.LENIENT_FLAGS={}));var $;(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.METHODS||(w.METHODS={}));w.METHODS_HTTP=[$.DELETE,$.GET,$.HEAD,$.POST,$.PUT,$.CONNECT,$.OPTIONS,$.TRACE,$.COPY,$.LOCK,$.MKCOL,$.MOVE,$.PROPFIND,$.PROPPATCH,$.SEARCH,$.UNLOCK,$.BIND,$.REBIND,$.UNBIND,$.ACL,$.REPORT,$.MKACTIVITY,$.CHECKOUT,$.MERGE,$["M-SEARCH"],$.NOTIFY,$.SUBSCRIBE,$.UNSUBSCRIBE,$.PATCH,$.PURGE,$.MKCALENDAR,$.LINK,$.UNLINK,$.PRI,$.SOURCE];w.METHODS_ICE=[$.SOURCE];w.METHODS_RTSP=[$.OPTIONS,$.DESCRIBE,$.ANNOUNCE,$.SETUP,$.PLAY,$.PAUSE,$.TEARDOWN,$.GET_PARAMETER,$.SET_PARAMETER,$.REDIRECT,$.RECORD,$.FLUSH,$.GET,$.POST];w.METHOD_MAP=P6.enumToMap($);w.H_METHOD_MAP={};Object.keys(w.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(w.H_METHOD_MAP[t]=w.METHOD_MAP[t])});var L6;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(L6=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 Ic;(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"})(Ic=w.HEADER_STATE||(w.HEADER_STATE={}));w.SPECIAL_HEADERS={connection:Ic.CONNECTION,"content-length":Ic.CONTENT_LENGTH,"proxy-connection":Ic.CONNECTION,"transfer-encoding":Ic.TRANSFER_ENCODING,upgrade:Ic.UPGRADE}});var XI=g((JNe,Tk)=>{"use strict";var{Buffer:_6}=require("node:buffer");Tk.exports=_6.from("AGFzbQEAAAABJwdgAX8Bf2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CADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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kACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHyAhIyUmKCorLC8wMTIzNDU2Nzk6Ozw9lANAQkRFRklLTk9QUVJTVFVWWFpbXF1eX2BhYmNkZWZnaGpsb3Bxc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QFBjwEhAwzuAQsgAUEBaiEBQZEBIQMM7QELQacBIQMgASAERg2FAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHtzwBqLQAARw1IIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyGAgsgAkEANgIAIAZBAWohAUERDEkLQagBIQMgASAERg2EAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHCzwBqLQAARw1HIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyFAgsgAkEANgIAIAZBAWohAUEsDEgLQakBIQMgASAERg2DAiACKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEHFzwBqLQAARw1GIABBBEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyEAgsgAkEANgIAIAZBAWohAUErDEcLQaoBIQMgASAERg2CAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHKzwBqLQAARw1FIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyDAgsgAkEANgIAIAZBAWohAUEUDEYLIAEgBEYEQEGrASEDDIICCwJAAkACQAJAIAEtAABBwgBrDg8AAQJHR0dHR0dHR0dHRwNHCyABQQFqIQFBkwEhAwzrAQsgAUEBaiEBQZQBIQMM6gELIAFBAWohAUGVASEDDOkBCyABQQFqIQFBlgEhAwzoAQsgASAERgRAQawBIQMMgQILIAEtAABBxQBHDUIgAUEBaiEBDD0LQa0BIQMgASAERg3/ASACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHNzwBqLQAARw1CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyAAgsgAkEANgIAIAZBAWohAUEODEMLIAEgBEYEQEGuASEDDP8BCyABLQAAQdAARw1AIAFBAWohAUElDEILQa8BIQMgASAERg39ASACKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIA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2AgxBACEDDLcBCyACQQA2AhwgAiABNgIUIAJBww82AhAgAkEHNgIMQQAhAwy2AQsgAkEANgIcIAIgATYCFCACQcMPNgIQIAJBBzYCDEEAIQMMtQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0RIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMtAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0gIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMswELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQs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AIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJA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QwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYX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DQELIAEoAgRBeHEgBGsiAyAFSSECIAMgBSACGyEFIAEgACACGyEAIAEhAgwBCwsgACgCGCEJIAAoAgwiAyAARwRAQZzQACgCABogAyAAKAIIIgE2AgggASADNgIMDBALIABBFGoiAigCACIBRQRAIAAoAhAiAUUNAyAAQRBqIQILA0AgAiEHIAEiA0EUaiICKAIAIgENACADQRBqIQIgAygCECIBDQALIAdBADYCAAwPC0F/IQQgAEG/f0sNACAAQRNqIgFBcHEhBEGQ0AAoAgAiCEUNAEEAIARrIQUCQAJAAkACf0EAIARBgAJJDQAaQR8gBEH///8HSw0AGiAEQSYgAUEIdmciAGt2QQFxIABBAXRrQT5qCyIGQQJ0QbzSAGooAgAiAkUEQEEAIQFBACEDDAELQQAhASAEQRkgBkEBdmtBACAGQR9HG3QhAEEAIQMDQAJAIAIoAgRBeHEgBGsiByAFTw0AIAIhAyAHIgUNAEEAIQUgAiEBDAMLIAEgAkEUaigCACIHIAcgAiAAQR12QQRxakEQaigCACICRhsgASAHGyEBIABBAXQhACACDQALCyABIANyRQRAQQAhA0ECIAZ0IgBBACAAa3IgCHEiAEUNAyAAaEECdEG80gBqKAIAIQELIAFFDQELA0AgASgCBEF4cSAEayICIAVJIQAgAiAFIAAbIQUgASADIAAbIQMgASgCECIABH8gAAUgAUEUaigCAAsiAQ0ACwsgA0UNACAFQZTQACgCACAEa08NACADKAIYIQcgAyADKAIMIgBHBEBBnNAAKAIAGiAAIAMoAggiATYCCCABIAA2AgwMDgsgA0EUaiICKAIAIgFFBEAgAygCECIBRQ0DIANBEGohAgsDQCACIQYgASIAQRRqIgIoAgAiAQ0AIABBEGohAiAAKAIQIgENAAsgBkEANgIADA0LQZTQACgCACIDIARPBEBBoNAAKAIAIQECQCADIARrIgJBEE8EQCABIARqIgAgAkEBcjYCBCABIANqIAI2AgAgASAEQQNyNgIEDAELIAEgA0EDcjYCBCABIANqIgAgACgCBEEBcjYCBEEAIQBBACECC0GU0AAgAjYCAEGg0AAgADYCACABQQhqIQEM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U5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var qA=g((WNe,zk)=>{"use strict";var Lk=["GET","HEAD","POST"],U6=new Set(Lk),O6=[101,204,205,304],_k=[301,302,303,307,308],q6=new Set(_k),Fk=["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"],H6=new Set(Fk),Uk=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],z6=new Set(Uk),G6=["follow","manual","error"],Ok=["GET","HEAD","OPTIONS","TRACE"],Y6=new Set(Ok),V6=["navigate","same-origin","no-cors","cors"],J6=["omit","same-origin","include"],$6=["default","no-store","reload","no-cache","force-cache","only-if-cached"],W6=["content-encoding","content-language","content-location","content-type","content-length"],j6=["half"],qk=["CONNECT","TRACE","TRACK"],K6=new Set(qk),Hk=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],X6=new Set(Hk);zk.exports={subresource:Hk,forbiddenMethods:qk,requestBodyHeader:W6,referrerPolicy:Uk,requestRedirect:G6,requestMode:V6,requestCredentials:J6,requestCache:$6,redirectStatus:_k,corsSafeListedMethods:Lk,nullBodyStatus:O6,safeMethods:Ok,badPorts:Fk,requestDuplex:j6,subresourceSet:X6,badPortsSet:H6,redirectStatusSet:q6,corsSafeListedMethodsSet:U6,safeMethodsSet:Y6,forbiddenMethodsSet:K6,referrerPolicySet:z6}});var eB=g((jNe,Gk)=>{"use strict";var ZI=Symbol.for("undici.globalOrigin.1");function Z6(){return globalThis[ZI]}o(Z6,"getGlobalOrigin");function ej(t){if(t===void 0){Object.defineProperty(globalThis,ZI,{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,ZI,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(ej,"setGlobalOrigin");Gk.exports={getGlobalOrigin:Z6,setGlobalOrigin:ej}});var lr=g((XNe,Kk)=>{"use strict";var Bp=require("node:assert"),tj=new TextEncoder,HA=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,rj=/[\u000A\u000D\u0009\u0020]/,nj=/[\u0009\u000A\u000C\u000D\u0020]/g,sj=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function ij(t){Bp(t.protocol==="data:");let e=Jk(t,!0);e=e.slice(5);let r={position:0},n=Bc(",",e,r),s=n.length;if(n=uj(n,!0,!0),r.position>=e.length)return"failure";r.position++;let i=e.slice(s+1),a=$k(i);if(/;(\u0020){0,}base64$/i.test(n)){let l=jk(a);if(a=aj(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=tB(n);return c==="failure"&&(c=tB("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(ij,"dataURLProcessor");function Jk(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(Jk,"URLSerializer");function Qp(t,e,r){let n="";for(;r.position<e.length&&t(e[r.position]);)n+=e[r.position],r.position++;return n}o(Qp,"collectASequenceOfCodePoints");function Bc(t,e,r){let n=e.indexOf(t,r.position),s=r.position;return n===-1?(r.position=e.length,e.slice(s)):(r.position=n,e.slice(s,r.position))}o(Bc,"collectASequenceOfCodePointsFast");function $k(t){let e=tj.encode(t);return oj(e)}o($k,"stringPercentDecode");function Yk(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(Yk,"isHexCharByte");function Vk(t){return t>=48&&t<=57?t-48:(t&223)-55}o(Vk,"hexByteToNumber");function oj(t){let e=t.length,r=new Uint8Array(e),n=0;for(let s=0;s<e;++s){let i=t[s];i!==37?r[n++]=i:i===37&&!(Yk(t[s+1])&&Yk(t[s+2]))?r[n++]=37:(r[n++]=Vk(t[s+1])<<4|Vk(t[s+2]),s+=2)}return e===n?r:r.subarray(0,n)}o(oj,"percentDecode");function tB(t){t=Ip(t,!0,!0);let e={position:0},r=Bc("/",t,e);if(r.length===0||!HA.test(r)||e.position>t.length)return"failure";e.position++;let n=Bc(";",t,e);if(n=Ip(n,!1,!0),n.length===0||!HA.test(n))return"failure";let s=r.toLowerCase(),i=n.toLowerCase(),a={type:s,subtype:i,parameters:new Map,essence:`${s}/${i}`};for(;e.position<t.length;){e.position++,Qp(A=>rj.test(A),t,e);let c=Qp(A=>A!==";"&&A!=="=",t,e);if(c=c.toLowerCase(),e.position<t.length){if(t[e.position]===";")continue;e.position++}if(e.position>t.length)break;let l=null;if(t[e.position]==='"')l=Wk(t,e,!0),Bc(";",t,e);else if(l=Bc(";",t,e),l=Ip(l,!1,!0),l.length===0)continue;c.length!==0&&HA.test(c)&&(l.length===0||sj.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(tB,"parseMIMEType");function aj(t){t=t.replace(nj,"");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(aj,"forgivingBase64");function Wk(t,e,r){let n=e.position,s="";for(Bp(t[e.position]==='"'),e.position++;s+=Qp(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{Bp(i==='"');break}}return r?s:t.slice(n,e.position)}o(Wk,"collectAnHTTPQuotedString");function cj(t){Bp(t!=="failure");let{parameters:e,essence:r}=t,n=r;for(let[s,i]of e.entries())n+=";",n+=s,n+="=",HA.test(i)||(i=i.replace(/(\\|")/g,"\\$1"),i='"'+i,i+='"'),n+=i;return n}o(cj,"serializeAMimeType");function lj(t){return t===13||t===10||t===9||t===32}o(lj,"isHTTPWhiteSpace");function Ip(t,e=!0,r=!0){return rB(t,e,r,lj)}o(Ip,"removeHTTPWhitespace");function Aj(t){return t===13||t===10||t===9||t===12||t===32}o(Aj,"isASCIIWhitespace");function uj(t,e=!0,r=!0){return rB(t,e,r,Aj)}o(uj,"removeASCIIWhitespace");function rB(t,e,r,n){let s=0,i=t.length-1;if(e)for(;s<t.length&&n(t.charCodeAt(s));)s++;if(r)for(;i>0&&n(t.charCodeAt(i));)i--;return s===0&&i===t.length-1?t:t.slice(s,i+1)}o(rB,"removeChars");function jk(t){let e=t.length;if(65535>e)return String.fromCharCode.apply(null,t);let r="",n=0,s=65535;for(;n<e;)n+s>e&&(s=e-n),r+=String.fromCharCode.apply(null,t.subarray(n,n+=s));return r}o(jk,"isomorphicDecode");function dj(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(dj,"minimizeSupportedMimeType");Kk.exports={dataURLProcessor:ij,URLSerializer:Jk,collectASequenceOfCodePoints:Qp,collectASequenceOfCodePointsFast:Bc,stringPercentDecode:$k,parseMIMEType:tB,collectAnHTTPQuotedString:Wk,serializeAMimeType:cj,removeChars:rB,removeHTTPWhitespace:Ip,minimizeSupportedMimeType:dj,HTTP_TOKEN_CODEPOINTS:HA,isomorphicDecode:jk}});var Tt=g((eSe,Xk)=>{"use strict";var{types:as,inspect:mj}=require("node:util"),{markAsUncloneable:pj}=require("node:worker_threads"),{toUSVString:hj}=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<e)throw x.errors.exception({message:`${e} argument${e!==1?"s":""} required, but${t?" only":""} ${t} found.`,header:r})};x.illegalConstructor=function(){throw x.errors.exception({header:"TypeError",message:"Illegal constructor"})};x.util.Type=function(t){switch(typeof t){case"undefined":return"Undefined";case"boolean":return"Boolean";case"string":return"String";case"symbol":return"Symbol";case"number":return"Number";case"bigint":return"BigInt";case"function":case"object":return t===null?"Null":"Object"}};x.util.markAsUncloneable=pj||(()=>{});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),a<i||a>s)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 mj(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(!as.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;s<n.length;s++)if(n.charCodeAt(s)>255)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=hj;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"||!as.isAnyArrayBuffer(t))throw x.errors.conversionFailed({prefix:e,argument:`${r} ("${x.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(n?.allowShared===!1&&as.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"||!as.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&&as.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"||!as.isDataView(t))throw x.errors.exception({header:e,message:`${r} is not a DataView.`});if(n?.allowShared===!1&&as.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(as.isAnyArrayBuffer(t))return x.converters.ArrayBuffer(t,e,r,{...n,allowShared:!1});if(as.isTypedArray(t))return x.converters.TypedArray(t,t.constructor,e,r,{...n,allowShared:!1});if(as.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<ByteString>"]=x.sequenceConverter(x.converters.ByteString);x.converters["sequence<sequence<ByteString>>"]=x.sequenceConverter(x.converters["sequence<ByteString>"]);x.converters["record<ByteString, ByteString>"]=x.recordConverter(x.converters.ByteString,x.converters.ByteString);Xk.exports={webidl:x}});var Pr=g((tSe,dM)=>{"use strict";var{Transform:fj}=require("node:stream"),Zk=require("node:zlib"),{redirectStatusSet:gj,referrerPolicySet:yj,badPortsSet:Ej}=qA(),{getGlobalOrigin:eM}=eB(),{collectASequenceOfCodePoints:zo,collectAnHTTPQuotedString:Cj,removeChars:Ij,parseMIMEType:Bj}=lr(),{performance:Qj}=require("node:perf_hooks"),{isBlobLike:xj,ReadableStreamFrom:bj,isValidHTTPToken:tM,normalizedMethodRecordsBase:wj}=ce(),Go=require("node:assert"),{isUint8Array:Nj}=require("node:util/types"),{webidl:zA}=Tt(),rM=[],bp;try{bp=require("node:crypto");let t=["sha256","sha384","sha512"];rM=bp.getHashes().filter(e=>t.includes(e))}catch{}function nM(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(nM,"responseURL");function Sj(t,e){if(!gj.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&iM(r)&&(sM(r)||(r=Rj(r)),r=new URL(r,nM(t))),r&&!r.hash&&(r.hash=e),r}o(Sj,"responseLocationURL");function sM(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r>126||r<32)return!1}return!0}o(sM,"isValidEncodedURL");function Rj(t){return Buffer.from(t,"binary").toString("utf8")}o(Rj,"normalizeBinaryStringToUtf8");function YA(t){return t.urlList[t.urlList.length-1]}o(YA,"requestCurrentURL");function vj(t){let e=YA(t);return AM(e)&&Ej.has(e.port)?"blocked":"allowed"}o(vj,"requestBadPort");function Pj(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(Pj,"isErrorLike");function Dj(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(!(r===9||r>=32&&r<=126||r>=128&&r<=255))return!1}return!0}o(Dj,"isValidReasonPhrase");var Tj=tM;function iM(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(`
|
|
`)||t.includes("\r")||t.includes("\0"))===!1}o(iM,"isValidHeaderValue");function kj(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(yj.has(a)){s=a;break}}s!==""&&(t.referrerPolicy=s)}o(kj,"setRequestReferrerPolicyOnRedirect");function Mj(){return"allowed"}o(Mj,"crossOriginResourcePolicyCheck");function Lj(){return"success"}o(Lj,"corsCheck");function _j(){return"success"}o(_j,"TAOCheck");function Fj(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(Fj,"appendFetchMetadata");function Uj(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&&sB(t.origin)&&!sB(YA(t))&&(e=null);break;case"same-origin":wp(t,YA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(Uj,"appendRequestOriginHeader");function Qc(t,e){return t}o(Qc,"coarsenTime");function Oj(t,e,r){return!t?.startTime||t.startTime<e?{domainLookupStartTime:e,domainLookupEndTime:e,connectionStartTime:e,connectionEndTime:e,secureConnectionStartTime:e,ALPNNegotiatedProtocol:t?.ALPNNegotiatedProtocol}:{domainLookupStartTime:Qc(t.domainLookupStartTime,r),domainLookupEndTime:Qc(t.domainLookupEndTime,r),connectionStartTime:Qc(t.connectionStartTime,r),connectionEndTime:Qc(t.connectionEndTime,r),secureConnectionStartTime:Qc(t.secureConnectionStartTime,r),ALPNNegotiatedProtocol:t.ALPNNegotiatedProtocol}}o(Oj,"clampAndCoarsenConnectionTimingInfo");function qj(t){return Qc(Qj.now(),t)}o(qj,"coarsenedSharedCurrentTime");function Hj(t){return{startTime:t.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:t.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}o(Hj,"createOpaqueTimingInfo");function oM(){return{referrerPolicy:"strict-origin-when-cross-origin"}}o(oM,"makePolicyContainer");function zj(t){return{referrerPolicy:t.referrerPolicy}}o(zj,"clonePolicyContainer");function Gj(t){let e=t.referrerPolicy;Go(e);let r=null;if(t.referrer==="client"){let c=eM();if(!c||c.origin==="null")return"no-referrer";r=new URL(c)}else t.referrer instanceof URL&&(r=t.referrer);let n=nB(r),s=nB(r,!0);n.toString().length>4096&&(n=s);let i=wp(t,n),a=GA(n)&&!GA(t.url);switch(e){case"origin":return s??nB(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=YA(t);return wp(n,c)?n:GA(n)&&!GA(c)?"no-referrer":s}default:return a?"no-referrer":s}}o(Gj,"determineRequestsReferrer");function nB(t,e){return Go(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(nB,"stripURLForReferrer");function GA(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(GA,"isURLPotentiallyTrustworthy");function Yj(t,e){if(bp===void 0)return!0;let r=aM(e);if(r==="no metadata"||r.length===0)return!0;let n=Jj(r),s=$j(r,n);for(let i of s){let a=i.algo,c=i.hash,l=bp.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)),Wj(l,c))return!0}return!1}o(Yj,"bytesMatch");var Vj=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function aM(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let s=Vj.exec(n);if(s===null||s.groups===void 0||s.groups.algo===void 0)continue;let i=s.groups.algo.toLowerCase();rM.includes(i)&&e.push(s.groups)}return r===!0?"no metadata":e}o(aM,"parseMetadata");function Jj(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r<t.length;++r){let n=t[r];if(n.algo[3]==="5"){e="sha512";break}else{if(e[3]==="3")continue;n.algo[3]==="3"&&(e="sha384")}}return e}o(Jj,"getStrongestMetadata");function $j(t,e){if(t.length===1)return t;let r=0;for(let n=0;n<t.length;++n)t[n].algo===e&&(t[r++]=t[n]);return t.length=r,t}o($j,"filterMetadataListByAlgorithm");function Wj(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(t[r]!==e[r]){if(t[r]==="+"&&e[r]==="-"||t[r]==="/"&&e[r]==="_")continue;return!1}return!0}o(Wj,"compareBase64Mixed");function jj(t){}o(jj,"tryUpgradeRequestToAPotentiallyTrustworthyURL");function wp(t,e){return t.origin===e.origin&&t.origin==="null"||t.protocol===e.protocol&&t.hostname===e.hostname&&t.port===e.port}o(wp,"sameOrigin");function Kj(){let t,e;return{promise:new Promise((n,s)=>{t=n,e=s}),resolve:t,reject:e}}o(Kj,"createDeferredPromise");function Xj(t){return t.controller.state==="aborted"}o(Xj,"isAborted");function Zj(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(Zj,"isCancelled");function eK(t){return wj[t.toLowerCase()]??t}o(eK,"normalizeMethod");function tK(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return Go(typeof e=="string"),e}o(tK,"serializeJavascriptValueToJSONString");var rK=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function cM(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,rK),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(cM,"createIterator");function nK(t,e,r,n=0,s=1){let i=cM(t,r,n,s),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return zA.brandCheck(this,e),i(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return zA.brandCheck(this,e),i(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return zA.brandCheck(this,e),i(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,A=globalThis){if(zA.brandCheck(this,e),zA.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(nK,"iteratorMixin");async function sK(t,e,r){let n=e,s=r,i;try{i=t.stream.getReader()}catch(a){s(a);return}try{n(await lM(i))}catch(a){s(a)}}o(sK,"fullyReadBody");function iK(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(iK,"isReadableStreamLike");function oK(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(oK,"readableStreamClose");var aK=/[^\x00-\xFF]/;function xp(t){return Go(!aK.test(t)),t}o(xp,"isomorphicEncode");async function lM(t){let e=[],r=0;for(;;){let{done:n,value:s}=await t.read();if(n)return Buffer.concat(e,r);if(!Nj(s))throw new TypeError("Received non-Uint8Array chunk");e.push(s),r+=s.length}}o(lM,"readAllBytes");function cK(t){Go("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(cK,"urlIsLocal");function sB(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(sB,"urlHasHttpsScheme");function AM(t){Go("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(AM,"urlIsHttpHttpsScheme");function lK(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(e&&zo(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==61)return"failure";n.position++,e&&zo(l=>l===" "||l===" ",r,n);let s=zo(l=>{let A=l.charCodeAt(0);return A>=48&&A<=57},r,n),i=s.length?Number(s):null;if(e&&zo(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==45)return"failure";n.position++,e&&zo(l=>l===" "||l===" ",r,n);let a=zo(l=>{let A=l.charCodeAt(0);return A>=48&&A<=57},r,n),c=a.length?Number(a):null;return n.position<r.length||c===null&&i===null||i>c?"failure":{rangeStartValue:i,rangeEndValue:c}}o(lK,"simpleRangeHeaderValue");function AK(t,e,r){let n="bytes ";return n+=xp(`${t}`),n+="-",n+=xp(`${e}`),n+="/",n+=xp(`${r}`),n}o(AK,"buildContentRange");var iB=class extends fj{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?Zk.createInflate(this.#e):Zk.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 uK(t){return new iB(t)}o(uK,"createInflate");function dK(t){let e=null,r=null,n=null,s=uM("content-type",t);if(s===null)return"failure";for(let i of s){let a=Bj(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(dK,"extractMimeType");function mK(t){let e=t,r={position:0},n=[],s="";for(;r.position<e.length;){if(s+=zo(i=>i!=='"'&&i!==",",e,r),r.position<e.length)if(e.charCodeAt(r.position)===34){if(s+=Cj(e,r),r.position<e.length)continue}else Go(e.charCodeAt(r.position)===44),r.position++;s=Ij(s,!0,!0,i=>i===9||i===32),n.push(s),s=""}return n}o(mK,"gettingDecodingSplitting");function uM(t,e){let r=e.get(t,!0);return r===null?null:mK(r)}o(uM,"getDecodeSplit");var pK=new TextDecoder;function hK(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),pK.decode(t))}o(hK,"utf8DecodeBytes");var oB=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return eM()}get origin(){return this.baseUrl?.origin}policyContainer=oM()},aB=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new oB},fK=new aB;dM.exports={isAborted:Xj,isCancelled:Zj,isValidEncodedURL:sM,createDeferredPromise:Kj,ReadableStreamFrom:bj,tryUpgradeRequestToAPotentiallyTrustworthyURL:jj,clampAndCoarsenConnectionTimingInfo:Oj,coarsenedSharedCurrentTime:qj,determineRequestsReferrer:Gj,makePolicyContainer:oM,clonePolicyContainer:zj,appendFetchMetadata:Fj,appendRequestOriginHeader:Uj,TAOCheck:_j,corsCheck:Lj,crossOriginResourcePolicyCheck:Mj,createOpaqueTimingInfo:Hj,setRequestReferrerPolicyOnRedirect:kj,isValidHTTPToken:tM,requestBadPort:vj,requestCurrentURL:YA,responseURL:nM,responseLocationURL:Sj,isBlobLike:xj,isURLPotentiallyTrustworthy:GA,isValidReasonPhrase:Dj,sameOrigin:wp,normalizeMethod:eK,serializeJavascriptValueToJSONString:tK,iteratorMixin:nK,createIterator:cM,isValidHeaderName:Tj,isValidHeaderValue:iM,isErrorLike:Pj,fullyReadBody:sK,bytesMatch:Yj,isReadableStreamLike:iK,readableStreamClose:oK,isomorphicEncode:xp,urlIsLocal:cK,urlHasHttpsScheme:sB,urlIsHttpHttpsScheme:AM,readAllBytes:lM,simpleRangeHeaderValue:lK,buildContentRange:AK,parseMetadata:aM,createInflate:uK,extractMimeType:dK,getDecodeSplit:uM,utf8DecodeBytes:hK,environmentSettingsObject:fK}});var Wi=g((nSe,mM)=>{"use strict";mM.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var lB=g((sSe,pM)=>{"use strict";var{Blob:gK,File:yK}=require("node:buffer"),{kState:di}=Wi(),{webidl:cs}=Tt(),cB=class t{static{o(this,"FileLike")}constructor(e,r,n={}){let s=r,i=n.type,a=n.lastModified??Date.now();this[di]={blobLike:e,name:s,type:i,lastModified:a}}stream(...e){return cs.brandCheck(this,t),this[di].blobLike.stream(...e)}arrayBuffer(...e){return cs.brandCheck(this,t),this[di].blobLike.arrayBuffer(...e)}slice(...e){return cs.brandCheck(this,t),this[di].blobLike.slice(...e)}text(...e){return cs.brandCheck(this,t),this[di].blobLike.text(...e)}get size(){return cs.brandCheck(this,t),this[di].blobLike.size}get type(){return cs.brandCheck(this,t),this[di].blobLike.type}get name(){return cs.brandCheck(this,t),this[di].name}get lastModified(){return cs.brandCheck(this,t),this[di].lastModified}get[Symbol.toStringTag](){return"File"}};cs.converters.Blob=cs.interfaceConverter(gK);function EK(t){return t instanceof yK||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(EK,"isFileLike");pM.exports={FileLike:cB,isFileLike:EK}});var JA=g((oSe,EM)=>{"use strict";var{isBlobLike:Np,iteratorMixin:CK}=Pr(),{kState:$t}=Wi(),{kEnumerableProperty:xc}=ce(),{FileLike:hM,isFileLike:IK}=lB(),{webidl:Te}=Tt(),{File:yM}=require("node:buffer"),fM=require("node:util"),gM=globalThis.File??yM,VA=class t{static{o(this,"FormData")}constructor(e){if(Te.util.markAsUncloneable(this),e!==void 0)throw Te.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[$t]=[]}append(e,r,n=void 0){Te.brandCheck(this,t);let s="FormData.append";if(Te.argumentLengthCheck(arguments,2,s),arguments.length===3&&!Np(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Te.converters.USVString(e,s,"name"),r=Np(r)?Te.converters.Blob(r,s,"value",{strict:!1}):Te.converters.USVString(r,s,"value"),n=arguments.length===3?Te.converters.USVString(n,s,"filename"):void 0;let i=AB(e,r,n);this[$t].push(i)}delete(e){Te.brandCheck(this,t);let r="FormData.delete";Te.argumentLengthCheck(arguments,1,r),e=Te.converters.USVString(e,r,"name"),this[$t]=this[$t].filter(n=>n.name!==e)}get(e){Te.brandCheck(this,t);let r="FormData.get";Te.argumentLengthCheck(arguments,1,r),e=Te.converters.USVString(e,r,"name");let n=this[$t].findIndex(s=>s.name===e);return n===-1?null:this[$t][n].value}getAll(e){Te.brandCheck(this,t);let r="FormData.getAll";return Te.argumentLengthCheck(arguments,1,r),e=Te.converters.USVString(e,r,"name"),this[$t].filter(n=>n.name===e).map(n=>n.value)}has(e){Te.brandCheck(this,t);let r="FormData.has";return Te.argumentLengthCheck(arguments,1,r),e=Te.converters.USVString(e,r,"name"),this[$t].findIndex(n=>n.name===e)!==-1}set(e,r,n=void 0){Te.brandCheck(this,t);let s="FormData.set";if(Te.argumentLengthCheck(arguments,2,s),arguments.length===3&&!Np(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Te.converters.USVString(e,s,"name"),r=Np(r)?Te.converters.Blob(r,s,"name",{strict:!1}):Te.converters.USVString(r,s,"name"),n=arguments.length===3?Te.converters.USVString(n,s,"name"):void 0;let i=AB(e,r,n),a=this[$t].findIndex(c=>c.name===e);a!==-1?this[$t]=[...this[$t].slice(0,a),i,...this[$t].slice(a+1).filter(c=>c.name!==e)]:this[$t].push(i)}[fM.inspect.custom](e,r){let n=this[$t].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=fM.formatWithOptions(r,n);return`FormData ${s.slice(s.indexOf("]")+2)}`}};CK("FormData",VA,$t,"name","value");Object.defineProperties(VA.prototype,{append:xc,delete:xc,get:xc,getAll:xc,has:xc,set:xc,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function AB(t,e,r){if(typeof e!="string"){if(IK(e)||(e=e instanceof Blob?new gM([e],"blob",{type:e.type}):new hM(e,"blob",{type:e.type})),r!==void 0){let n={type:e.type,lastModified:e.lastModified};e=e instanceof yM?new gM([e],r,n):new hM(e,r,n)}}return{name:t,value:e}}o(AB,"makeEntry");EM.exports={FormData:VA,makeEntry:AB}});var bM=g((cSe,xM)=>{"use strict";var{isUSVString:CM,bufferToLowerCasedHeaderName:BK}=ce(),{utf8DecodeBytes:QK}=Pr(),{HTTP_TOKEN_CODEPOINTS:xK,isomorphicDecode:IM}=lr(),{isFileLike:bK}=lB(),{makeEntry:wK}=JA(),Sp=require("node:assert"),{File:NK}=require("node:buffer"),SK=globalThis.File??NK,RK=Buffer.from('form-data; name="'),BM=Buffer.from("; filename"),vK=Buffer.from("--"),PK=Buffer.from(`--\r
|
|
`);function DK(t){for(let e=0;e<t.length;++e)if((t.charCodeAt(e)&-128)!==0)return!1;return!0}o(DK,"isAsciiString");function TK(t){let e=t.length;if(e<27||e>70)return!1;for(let r=0;r<e;++r){let n=t.charCodeAt(r);if(!(n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122||n===39||n===45||n===95))return!1}return!0}o(TK,"validateBoundary");function kK(t,e){Sp(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let n=Buffer.from(`--${r}`,"utf8"),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&&Rp(t,vK,i)||i.position===t.length-4&&Rp(t,PK,i))return s;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let c=MK(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 SK([m],A,{type:u})):p=QK(Buffer.from(m)),Sp(CM(l)),Sp(typeof p=="string"&&CM(p)||bK(p)),s.push(wK(l,p,A))}}o(kK,"multipartFormDataParser");function MK(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=bc(c=>c!==10&&c!==13&&c!==58,t,e);if(a=uB(a,!0,!0,c=>c===9||c===32),!xK.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,bc(c=>c===32||c===9,t,e),BK(a)){case"content-disposition":{if(r=n=null,!Rp(t,RK,e)||(e.position+=17,r=QM(t,e),r===null))return"failure";if(Rp(t,BM,e)){let c=e.position+BM.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,n=QM(t,e),n===null))return"failure"}break}case"content-type":{let c=bc(l=>l!==10&&l!==13,t,e);c=uB(c,!1,!0,l=>l===9||l===32),s=IM(c);break}case"content-transfer-encoding":{let c=bc(l=>l!==10&&l!==13,t,e);c=uB(c,!1,!0,l=>l===9||l===32),i=IM(c);break}default:bc(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(MK,"parseMultipartFormDataHeaders");function QM(t,e){Sp(t[e.position-1]===34);let r=bc(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(QM,"parseMultipartFormDataName");function bc(t,e,r){let n=r.position;for(;n<e.length&&t(e[n]);)++n;return e.subarray(r.position,r.position=n)}o(bc,"collectASequenceOfBytes");function uB(t,e,r,n){let s=0,i=t.length-1;if(e)for(;s<t.length&&n(t[s]);)s++;if(r)for(;i>0&&n(t[i]);)i--;return s===0&&i===t.length-1?t:t.subarray(s,i+1)}o(uB,"removeChars");function Rp(t,e,r){if(t.length<e.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[r.position+n])return!1;return!0}o(Rp,"bufferStartsWith");xM.exports={multipartFormDataParser:kK,validateBoundary:TK}});var Sc=g((ASe,MM)=>{"use strict";var $A=ce(),{ReadableStreamFrom:LK,isBlobLike:wM,isReadableStreamLike:_K,readableStreamClose:FK,createDeferredPromise:UK,fullyReadBody:OK,extractMimeType:qK,utf8DecodeBytes:RM}=Pr(),{FormData:NM}=JA(),{kState:Nc}=Wi(),{webidl:HK}=Tt(),{Blob:zK}=require("node:buffer"),dB=require("node:assert"),{isErrored:vM,isDisturbed:GK}=require("node:stream"),{isArrayBuffer:YK}=require("node:util/types"),{serializeAMimeType:VK}=lr(),{multipartFormDataParser:JK}=bM(),mB;try{let t=require("node:crypto");mB=o(e=>t.randomInt(0,e),"random")}catch{mB=o(t=>Math.floor(Math.random(t)),"random")}var vp=new TextEncoder;function $K(){}o($K,"noop");var PM=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,DM;PM&&(DM=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!GK(e)&&!vM(e)&&e.cancel("Response object has been garbage collected").catch($K)}));function TM(t,e=!1){let r=null;t instanceof ReadableStream?r=t:wM(t)?r=t.stream():r=new ReadableStream({async pull(l){let A=typeof s=="string"?vp.encode(s):s;A.byteLength&&l.enqueue(A),queueMicrotask(()=>FK(l))},start(){},type:"bytes"}),dB(_K(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(YK(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($A.isFormDataLike(t)){let l=`----formdata-undici-0${`${mB(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=vp.encode(A+`; name="${u(d(C))}"\r
|
|
\r
|
|
${d(y)}\r
|
|
`);m.push(E),i+=E.byteLength}else{let E=vp.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=vp.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(wM(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($A.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:LK(t)}if((typeof s=="string"||$A.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(!vM(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(TM,"extractBody");function WK(t,e=!1){return t instanceof ReadableStream&&(dB(!$A.isDisturbed(t),"The body has already been consumed."),dB(!t.locked,"The stream is locked.")),TM(t,e)}o(WK,"safelyExtractBody");function jK(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}o(jK,"cloneBody");function KK(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(KK,"throwIfAborted");function XK(t){return{blob(){return wc(this,r=>{let n=SM(this);return n===null?n="":n&&(n=VK(n)),new zK([r],{type:n})},t)},arrayBuffer(){return wc(this,r=>new Uint8Array(r).buffer,t)},text(){return wc(this,RM,t)},json(){return wc(this,eX,t)},formData(){return wc(this,r=>{let n=SM(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let s=JK(r,n);if(s==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new NM;return i[Nc]=s,i}case"application/x-www-form-urlencoded":{let s=new URLSearchParams(r.toString()),i=new NM;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 wc(this,r=>new Uint8Array(r),t)}}}o(XK,"bodyMixinMethods");function ZK(t){Object.assign(t.prototype,XK(t))}o(ZK,"mixinBody");async function wc(t,e,r){if(HK.brandCheck(t,r),kM(t))throw new TypeError("Body is unusable: Body has already been read");KK(t[Nc]);let n=UK(),s=o(a=>n.reject(a),"errorSteps"),i=o(a=>{try{n.resolve(e(a))}catch(c){s(c)}},"successSteps");return t[Nc].body==null?(i(Buffer.allocUnsafe(0)),n.promise):(await OK(t[Nc].body,i,s),n.promise)}o(wc,"consumeBody");function kM(t){let e=t[Nc].body;return e!=null&&(e.stream.locked||$A.isDisturbed(e.stream))}o(kM,"bodyUnusable");function eX(t){return JSON.parse(RM(t))}o(eX,"parseJSONFromBytes");function SM(t){let e=t[Nc].headersList,r=qK(e);return r==="failure"?null:r}o(SM,"bodyMimeType");MM.exports={extractBody:TM,safelyExtractBody:WK,cloneBody:jK,mixinBody:ZK,streamRegistry:DM,hasFinalizationRegistry:PM,bodyUnusable:kM}});var KM=g((dSe,jM)=>{"use strict";var V=require("node:assert"),W=ce(),{channels:LM}=hc(),pB=WI(),{RequestContentLengthMismatchError:Yo,ResponseContentLengthMismatchError:_M,RequestAbortedError:YM,InvalidArgumentError:tX,HeadersTimeoutError:rX,HeadersOverflowError:nX,SocketError:Rc,InformationalError:vc,BodyTimeoutError:sX,HTTPParserError:iX,ResponseExceededMaxSizeError:oX}=Ee(),{kUrl:VM,kReset:Ar,kClient:kp,kParser:Me,kBlocking:KA,kRunning:dt,kPending:JM,kSize:FM,kWriting:ji,kQueue:Mn,kNoRef:WA,kKeepAliveDefaultTimeout:aX,kHostHeader:cX,kPendingIdx:lX,kRunningIdx:cn,kError:Wt,kPipelining:Mp,kSocket:Jo,kKeepAliveTimeoutValue:_p,kMaxHeadersSize:hB,kKeepAliveMaxTimeout:AX,kKeepAliveTimeoutThreshold:uX,kHeadersTimeout:dX,kBodyTimeout:mX,kStrictContentLength:yB,kMaxRequests:UM,kCounter:pX,kMaxResponseSize:hX,kOnError:OM,kResume:mi,kHTTPContext:$M}=Oe(),Dr=Dk(),qM=Buffer.alloc(0),Pp=Buffer[Symbol.species],Dp=W.addListener,fX=W.removeAllListeners,$o=Symbol("kIdleSocketValidation"),Vo=Symbol("kIdleSocketValidationTimeout"),BB=Symbol("kSocketUsed"),fB;async function gX(){let t=process.env.JEST_WORKER_ID?XI():void 0,e;try{e=await WebAssembly.compile(Mk())}catch{e=await WebAssembly.compile(t||XI())}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($e.ptr===r);let i=n-As+ls.byteOffset;return $e.onStatus(new Pp(ls.buffer,i,s))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>(V($e.ptr===r),$e.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,n,s)=>{V($e.ptr===r);let i=n-As+ls.byteOffset;return $e.onHeaderField(new Pp(ls.buffer,i,s))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,n,s)=>{V($e.ptr===r);let i=n-As+ls.byteOffset;return $e.onHeaderValue(new Pp(ls.buffer,i,s))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,n,s,i)=>(V($e.ptr===r),$e.onHeadersComplete(n,!!s,!!i)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,n,s)=>{V($e.ptr===r);let i=n-As+ls.byteOffset;return $e.onBody(new Pp(ls.buffer,i,s))||0},"wasm_on_body"),wasm_on_message_complete:o(r=>(V($e.ptr===r),$e.onMessageComplete()||0),"wasm_on_message_complete")}})}o(gX,"lazyllhttp");var gB=null,EB=gX();EB.catch();var $e=null,ls=null,Tp=0,As=null,yX=0,jA=1,Pc=2|jA,Lp=4|jA,CB=8|yX,IB=class{static{o(this,"Parser")}constructor(e,r,{exports:n}){V(Number.isFinite(e[hB])&&e[hB]>0),this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(Dr.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[hB],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[hX]}setTimeout(e,r){e!==this.timeoutValue||r&jA^this.timeoutType&jA?(this.timeout&&(pB.clearTimeout(this.timeout),this.timeout=null),e&&(r&jA?this.timeout=pB.setFastTimeout(HM,e,new WeakRef(this)):(this.timeout=setTimeout(HM,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($e==null),this.llhttp.llhttp_resume(this.ptr),V(this.timeoutType===Lp),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||qM),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($e==null),V(!this.paused);let{socket:r,llhttp:n}=this;e.length>Tp&&(As&&n.free(As),Tp=Math.ceil(e.length/4096)*4096,As=n.malloc(Tp)),new Uint8Array(n.memory.buffer,As,Tp).set(e);try{let s;try{ls=e,$e=this,s=n.llhttp_execute(this.ptr,As,e.length)}catch(a){throw a}finally{$e=null,ls=null}let i=n.llhttp_get_error_pos(this.ptr)-As;if(s!==Dr.ERROR.OK){let a=e.subarray(i);if(s===Dr.ERROR.PAUSED_UPGRADE)this.onUpgrade(a);else if(s===Dr.ERROR.PAUSED)this.paused=!0,r.unshift(a);else throw this.createError(s,a)}}catch(s){W.destroy(r,s)}}finish(){V($e===null),V(this.ptr!=null),V(!this.paused);let{llhttp:e}=this,r;try{$e=this,r=e.llhttp_finish(this.ptr)}finally{$e=null}return r===Dr.ERROR.OK?null:r===Dr.ERROR.PAUSED||r===Dr.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(r,qM)}createError(e,r){let{llhttp:n,contentLength:s,bytesRead:i}=this;if(s&&i!==parseInt(s,10))return new _M;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 iX(c,Dr.ERROR[e],r)}destroy(){V(this.ptr!=null),V($e==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&pB.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 W.destroy(e,new Rc("bad response",W.getSocketInfo(e))),-1;let n=r[Mn][r[cn]];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=W.bufferToLowerCasedHeaderName(n);s==="keep-alive"?this.keepAlive+=e.toString():s==="connection"&&(this.connection+=e.toString())}else n.length===14&&W.bufferToLowerCasedHeaderName(n)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&W.destroy(this.socket,new nX)}onUpgrade(e){let{upgrade:r,client:n,socket:s,headers:i,statusCode:a}=this;V(r),V(n[Jo]===s),V(!s.destroyed),V(!this.paused),V((i.length&1)===0);let c=n[Mn][n[cn]];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[kp]=null,s[Wt]=null,fX(s),n[Jo]=null,n[$M]=null,n[Mn][n[cn]++]=null,n.emit("disconnect",n[VM],[n],new vc("upgrade"));try{c.onUpgrade(a,i,s)}catch(l){W.destroy(s,l)}n[mi]()}onHeadersComplete(e,r,n){let{client:s,socket:i,headers:a,statusText:c}=this;if(i.destroyed)return-1;if(s[dt]===0)return W.destroy(i,new Rc("bad response",W.getSocketInfo(i))),-1;let l=s[Mn][s[cn]];if(!l)return-1;if(V(!this.upgrade),V(this.statusCode<200),e===100)return W.destroy(i,new Rc("bad response",W.getSocketInfo(i))),-1;if(r&&!l.upgrade)return W.destroy(i,new Rc("bad upgrade",W.getSocketInfo(i))),-1;if(V(this.timeoutType===Pc),this.statusCode=e,this.shouldKeepAlive=n||l.method==="HEAD"&&!i[Ar]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let u=l.bodyTimeout!=null?l.bodyTimeout:s[mX];this.setTimeout(u,Lp)}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[Mp]){let u=this.keepAlive?W.parseKeepAliveTimeout(this.keepAlive):null;if(u!=null){let d=Math.min(u-s[uX],s[AX]);d<=0?i[Ar]=!0:s[_p]=d}else s[_p]=s[aX]}else i[Ar]=!0;let A=l.onHeaders(e,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||e<200?1:(i[KA]&&(i[KA]=!1,s[mi]()),A?Dr.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:n,statusCode:s,maxResponseSize:i}=this;if(n.destroyed)return-1;let a=r[Mn][r[cn]];if(V(a),V(this.timeoutType===Lp),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),V(s>=200),i>-1&&this.bytesRead+e.length>i)return W.destroy(n,new oX),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return Dr.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[Mn][e[cn]];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 W.destroy(r,new _M),-1;if(A.onComplete(i),e[Mn][e[cn]++]=null,r[BB]=!0,r[ji])return V(e[dt]===0),W.destroy(r,new vc("reset")),Dr.ERROR.PAUSED;if(l){if(r[Ar]&&e[dt]===0)return W.destroy(r,new vc("reset")),Dr.ERROR.PAUSED;e[Mp]==null||e[Mp]===1?setImmediate(()=>e[mi]()):e[mi]()}else return W.destroy(r,new vc("reset")),Dr.ERROR.PAUSED}}};function HM(t){let{socket:e,timeoutType:r,client:n,paused:s}=t.deref();r===Pc?(!e[ji]||e.writableNeedDrain||n[dt]>1)&&(V(!s,"cannot be paused while waiting for headers"),W.destroy(e,new rX)):r===Lp?s||W.destroy(e,new sX):r===CB&&(V(n[dt]===0&&n[_p]),W.destroy(e,new vc("socket idle timeout")))}o(HM,"onParserTimeout");async function EX(t,e){t[Jo]=e,gB||(gB=await EB,EB=null),e[WA]=!1,e[ji]=!1,e[Ar]=!1,e[KA]=!1,e[$o]=0,e[Vo]=null,e[BB]=!1,e[Me]=new IB(t,e,gB),Dp(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[Wt]=i,this[kp][OM](i));return}this[Wt]=n,this[kp][OM](n)}),Dp(e,"readable",function(){let n=this[Me];n&&n.readMore()}),Dp(e,"end",function(){let n=this[Me];if(n.statusCode&&!n.shouldKeepAlive){let s=n.finish();s&&W.destroy(this,s);return}W.destroy(this,new Rc("other side closed",W.getSocketInfo(this)))}),Dp(e,"close",function(){let n=this[kp],s=this[Me];WM(this),s&&(!this[Wt]&&s.statusCode&&!s.shouldKeepAlive&&(this[Wt]=s.finish()||this[Wt]),this[Me].destroy(),this[Me]=null);let i=this[Wt]||new Rc("closed",W.getSocketInfo(this));if(n[Jo]=null,n[$M]=null,n.destroyed){V(n[JM]===0);let a=n[Mn].splice(n[cn]);for(let c=0;c<a.length;c++){let l=a[c];W.errorRequest(n,l,i)}}else if(n[dt]>0&&i.code!=="UND_ERR_INFO"){let a=n[Mn][n[cn]];n[Mn][n[cn]++]=null,W.errorRequest(n,a,i)}n[lX]=n[cn],V(n[dt]===0),n.emit("disconnect",n[VM],[n],i),n[mi]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...n){return QX(t,...n)},resume(){IX(t)},destroy(n,s){r?queueMicrotask(s):e.destroy(n).on("close",s)},get destroyed(){return e.destroyed},busy(n){return!!(e[ji]||e[Ar]||e[KA]||e[$o]===1||n&&(t[dt]>0&&!n.idempotent||t[dt]>0&&(n.upgrade||n.method==="CONNECT")||t[dt]>0&&W.bodyLength(n.body)!==0&&(W.isStream(n.body)||W.isAsyncIterable(n.body)||W.isFormDataLike(n.body))))}}}o(EX,"connectH1");function WM(t){t[Vo]&&(clearTimeout(t[Vo]),t[Vo]=null),t[$o]=0}o(WM,"clearIdleSocketValidation");function CX(t,e){e[$o]=1,e[Vo]=setTimeout(()=>{e[Vo]=null,e[$o]=2,t[Jo]===e&&!e.destroyed&&t[mi]()},0),e[Vo].unref?.()}o(CX,"scheduleIdleSocketValidation");function IX(t){let e=t[Jo];if(e&&!e.destroyed){if(t[FM]===0?!e[WA]&&e.unref&&(e.unref(),e[WA]=!0):e[WA]&&e.ref&&(e.ref(),e[WA]=!1),t[dt]===0&&t[JM]>0&&e[BB]){if(e[$o]===0)return CX(t,e),e[Me].readMore(),e.destroyed,void 0;if(e[$o]===1)return e[Me].readMore(),e.destroyed,void 0}if(t[dt]===0&&(e[Me].readMore(),e.destroyed))return;if(t[FM]===0)e[Me].timeoutType!==CB&&e[Me].setTimeout(t[_p],CB);else if(t[dt]>0&&e[Me].statusCode<200&&e[Me].timeoutType!==Pc){let r=t[Mn][t[cn]],n=r.headersTimeout!=null?r.headersTimeout:t[dX];e[Me].setTimeout(n,Pc)}}}o(IX,"resumeH1");function BX(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(BX,"shouldSendContentLength");function QX(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(W.isFormDataLike(l)){fB||(fB=Sc().extractBody);let[C,y]=fB(l);e.contentType==null&&A.push("content-type",y),l=C.stream,u=C.length}else if(W.isBlobLike(l)&&e.contentType==null){let C=l.type;if(C){let y=`${C}`;if(!W.isValidHeaderValue(y))return W.errorRequest(t,e,new tX("invalid content-type header")),!1;A.push("content-type",y)}}l&&typeof l.read=="function"&&l.read(0);let m=W.bodyLength(l);if(u=m??u,u===null&&(u=e.contentLength),u===0&&!d&&(u=null),BX(r)&&u>0&&e.contentLength!==null&&e.contentLength!==u){if(t[yB])return W.errorRequest(t,e,new Yo),!1;process.emitWarning(new Yo)}let p=t[Jo];WM(p);let h=o(C=>{e.aborted||e.completed||(W.errorRequest(t,e,C||new YM),W.destroy(l),W.destroy(p,new vc("aborted")))},"abort");try{e.onConnect(h)}catch(C){W.errorRequest(t,e,C)}if(e.aborted)return!1;r==="HEAD"&&(p[Ar]=!0),(i||r==="CONNECT")&&(p[Ar]=!0),c!=null&&(p[Ar]=c),t[UM]&&p[pX]++>=t[UM]&&(p[Ar]=!0),a&&(p[KA]=!0);let f=`${r} ${n} HTTP/1.1\r
|
|
`;if(typeof s=="string"?f+=`host: ${s}\r
|
|
`:f+=t[cX],i?f+=`connection: upgrade\r
|
|
upgrade: ${i}\r
|
|
`:t[Mp]&&!p[Ar]?f+=`connection: keep-alive\r
|
|
`:f+=`connection: close\r
|
|
`,Array.isArray(A))for(let C=0;C<A.length;C+=2){let y=A[C+0],E=A[C+1];if(Array.isArray(E))for(let I=0;I<E.length;I++)f+=`${y}: ${E[I]}\r
|
|
`;else f+=`${y}: ${E}\r
|
|
`}return LM.sendHeaders.hasSubscribers&&LM.sendHeaders.publish({request:e,headers:f,socket:p}),!l||m===0?zM(h,null,t,e,p,u,f,d):W.isBuffer(l)?zM(h,l,t,e,p,u,f,d):W.isBlobLike(l)?typeof l.stream=="function"?GM(h,l.stream(),t,e,p,u,f,d):bX(h,l,t,e,p,u,f,d):W.isStream(l)?xX(h,l,t,e,p,u,f,d):W.isIterable(l)?GM(h,l,t,e,p,u,f,d):V(!1),!0}o(QX,"writeH1");function xX(t,e,r,n,s,i,a,c){V(i!==0||r[dt]===0,"stream body cannot be pipelined");let l=!1,A=new Fp({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){W.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 YM;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")?W.destroy(e,h):W.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(xX,"writeStream");function zM(t,e,r,n,s,i,a,c){try{e?W.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[Ar]=!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[mi]()}catch(l){t(l)}}o(zM,"writeBuffer");async function bX(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 Yo;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[Ar]=!0),r[mi]()}catch(l){t(l)}}o(bX,"writeBlob");async function GM(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[Wt]?p(s[Wt]):l=m}),"waitForDrain");s.on("close",A).on("drain",A);let d=new Fp({abort:t,socket:s,request:n,contentLength:i,client:r,expectsPayload:c,header:a});try{for await(let m of e){if(s[Wt])throw s[Wt];d.write(m)||await u()}d.end()}catch(m){d.destroy(m)}finally{s.off("close",A).off("drain",A)}}o(GM,"writeIterable");var Fp=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[Wt])throw r[Wt];if(r.destroyed)return!1;let A=Buffer.byteLength(e);if(!A)return!0;if(s!==null&&a+A>s){if(i[yB])throw new Yo;process.emitWarning(new Yo)}r.cork(),a===0&&(!c&&n.reset!==!1&&(r[Ar]=!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===Pc&&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[Wt])throw e[Wt];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[yB])throw new Yo;process.emitWarning(new Yo)}e[Me].timeout&&e[Me].timeoutType===Pc&&e[Me].timeout.refresh&&e[Me].timeout.refresh(),n[mi]()}}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))}};jM.exports=EX});var iL=g((pSe,sL)=>{"use strict";var ln=require("node:assert"),{pipeline:wX}=require("node:stream"),me=ce(),{RequestContentLengthMismatchError:QB,RequestAbortedError:XM,SocketError:XA,InformationalError:xB}=Ee(),{kUrl:Up,kReset:qp,kClient:Dc,kRunning:Hp,kPending:NX,kQueue:Ki,kPendingIdx:bB,kRunningIdx:Ln,kError:Fn,kSocket:wt,kStrictContentLength:SX,kOnError:wB,kMaxConcurrentStreams:nL,kHTTP2Session:_n,kResume:Xi,kSize:RX,kHTTPContext:vX}=Oe(),pi=Symbol("open streams"),ZM,eL=!1,Op;try{Op=require("node:http2")}catch{Op={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:PX,HTTP2_HEADER_METHOD:DX,HTTP2_HEADER_PATH:TX,HTTP2_HEADER_SCHEME:kX,HTTP2_HEADER_CONTENT_LENGTH:MX,HTTP2_HEADER_EXPECT:LX,HTTP2_HEADER_STATUS:_X}}=Op;function FX(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(FX,"parseH2Headers");async function UX(t,e){t[wt]=e,eL||(eL=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=Op.connect(t[Up],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[nL]});r[pi]=0,r[Dc]=t,r[wt]=e,me.addListener(r,"error",qX),me.addListener(r,"frameError",HX),me.addListener(r,"end",zX),me.addListener(r,"goaway",GX),me.addListener(r,"close",function(){let{[Dc]:s}=this,{[wt]:i}=s,a=this[wt][Fn]||this[Fn]||new XA("closed",me.getSocketInfo(i));if(s[_n]=null,s.destroyed){ln(s[NX]===0);let c=s[Ki].splice(s[Ln]);for(let l=0;l<c.length;l++){let A=c[l];me.errorRequest(s,A,a)}}}),r.unref(),t[_n]=r,e[_n]=r,me.addListener(e,"error",function(s){ln(s.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[Fn]=s,this[Dc][wB](s)}),me.addListener(e,"end",function(){me.destroy(this,new XA("other side closed",me.getSocketInfo(this)))}),me.addListener(e,"close",function(){let s=this[Fn]||new XA("closed",me.getSocketInfo(this));t[wt]=null,this[_n]!=null&&this[_n].destroy(s),t[bB]=t[Ln],ln(t[Hp]===0),t.emit("disconnect",t[Up],[t],s),t[Xi]()});let n=!1;return e.on("close",()=>{n=!0}),{version:"h2",defaultPipelining:1/0,write(...s){return VX(t,...s)},resume(){OX(t)},destroy(s,i){n?queueMicrotask(i):e.destroy(s).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}o(UX,"connectH2");function OX(t){let e=t[wt];e?.destroyed===!1&&(t[RX]===0&&t[nL]===0?(e.unref(),t[_n].unref()):(e.ref(),t[_n].ref()))}o(OX,"resumeH2");function qX(t){ln(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[wt][Fn]=t,this[Dc][wB](t)}o(qX,"onHttp2SessionError");function HX(t,e,r){if(r===0){let n=new xB(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[wt][Fn]=n,this[Dc][wB](n)}}o(HX,"onHttp2FrameError");function zX(){let t=new XA("other side closed",me.getSocketInfo(this[wt]));this.destroy(t),me.destroy(this[wt],t)}o(zX,"onHttp2SessionEnd");function GX(t){let e=this[Fn]||new XA(`HTTP/2: "GOAWAY" frame received with code ${t}`,me.getSocketInfo(this)),r=this[Dc];if(r[wt]=null,r[vX]=null,this[_n]!=null&&(this[_n].destroy(e),this[_n]=null),me.destroy(this[wt],e),r[Ln]<r[Ki].length){let n=r[Ki][r[Ln]];r[Ki][r[Ln]++]=null,me.errorRequest(r,n,e),r[bB]=r[Ln]}ln(r[Hp]===0),r.emit("disconnect",r[Up],[r],e),r[Xi]()}o(GX,"onHTTP2GoAway");function YX(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(YX,"shouldSendContentLength");function VX(t,e){let r=t[_n],{method:n,path:s,host:i,upgrade:a,expectContinue:c,signal:l,headers:A}=e,{body:u}=e;if(a)return me.errorRequest(t,e,new Error("Upgrade not supported for H2")),!1;let d={};for(let B=0;B<A.length;B+=2){let N=A[B+0],k=A[B+1];if(Array.isArray(k))for(let S=0;S<k.length;S++)d[N]?d[N]+=`,${k[S]}`:d[N]=k[S];else d[N]=k}let m,{hostname:p,port:h}=t[Up];d[PX]=i||`${p}${h?`:${h}`:""}`,d[DX]=n;let f=o(B=>{e.aborted||e.completed||(B=B||new XM,me.errorRequest(t,e,B),m!=null&&me.destroy(m,B),me.destroy(u,B),t[Ki][t[Ln]++]=null,t[Xi]())},"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[pi],t[Ki][t[Ln]++]=null):m.once("ready",()=>{e.onUpgrade(null,null,m),++r[pi],t[Ki][t[Ln]++]=null}),m.once("close",()=>{r[pi]-=1,r[pi]===0&&r.unref()}),!0;d[TX]=s,d[kX]="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)){ZM??=Sc().extractBody;let[B,N]=ZM(u);d["content-type"]=N,u=B.stream,y=B.length}if(y==null&&(y=e.contentLength),(y===0||!C)&&(y=null),YX(n)&&y>0&&e.contentLength!=null&&e.contentLength!==y){if(t[SX])return me.errorRequest(t,e,new QB),!1;process.emitWarning(new QB)}y!=null&&(ln(u,"no body must not have content length"),d[MX]=`${y}`),r.ref();let E=n==="GET"||n==="HEAD"||u===null;return c?(d[LX]="100-continue",m=r.request(d,{endStream:E,signal:l}),m.once("continue",I)):(m=r.request(d,{endStream:E,signal:l}),I()),++r[pi],m.once("response",B=>{let{[_X]:N,...k}=B;if(e.onResponseStarted(),e.aborted){let S=new XM;me.errorRequest(t,e,S),me.destroy(m,S);return}e.onHeaders(Number(N),FX(k),m.resume.bind(m),"")===!1&&m.pause(),m.on("data",S=>{e.onData(S)===!1&&m.pause()})}),m.once("end",()=>{(m.state?.state==null||m.state.state<6)&&e.onComplete([]),r[pi]===0&&r.unref(),f(new xB("HTTP/2: stream half-closed (remote)")),t[Ki][t[Ln]++]=null,t[bB]=t[Ln],t[Xi]()}),m.once("close",()=>{r[pi]-=1,r[pi]===0&&r.unref()}),m.once("error",function(B){f(B)}),m.once("frameError",(B,N)=>{f(new xB(`HTTP/2: "frameError" received - type ${B}, code ${N}`))}),!0;function I(){!u||y===0?tL(f,m,null,t,e,t[wt],y,C):me.isBuffer(u)?tL(f,m,u,t,e,t[wt],y,C):me.isBlobLike(u)?typeof u.stream=="function"?rL(f,m,u.stream(),t,e,t[wt],y,C):$X(f,m,u,t,e,t[wt],y,C):me.isStream(u)?JX(f,t[wt],C,m,u,t,e,y):me.isIterable(u)?rL(f,m,u,t,e,t[wt],y,C):ln(!1)}o(I,"writeBodyH2")}o(VX,"writeH2");function tL(t,e,r,n,s,i,a,c){try{r!=null&&me.isBuffer(r)&&(ln(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),s.onBodySent(r)),c||(i[qp]=!0),s.onRequestSent(),n[Xi]()}catch(l){t(l)}}o(tL,"writeBuffer");function JX(t,e,r,n,s,i,a,c){ln(c!==0||i[Hp]===0,"stream body cannot be pipelined");let l=wX(s,n,u=>{u?(me.destroy(l,u),t(u)):(me.removeAllListeners(l),a.onRequestSent(),r||(e[qp]=!0),i[Xi]())});me.addListener(l,"data",A);function A(u){a.onBodySent(u)}o(A,"onPipeData")}o(JX,"writeStream");async function $X(t,e,r,n,s,i,a,c){ln(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new QB;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),s.onBodySent(l),s.onRequestSent(),c||(i[qp]=!0),n[Xi]()}catch(l){t(l)}}o($X,"writeBlob");async function rL(t,e,r,n,s,i,a,c){ln(a!==0||n[Hp]===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)=>{ln(l===null),i[Fn]?m(i[Fn]):l=d}),"waitForDrain");e.on("close",A).on("drain",A);try{for await(let d of r){if(i[Fn])throw i[Fn];let m=e.write(d);s.onBodySent(d),m||await u()}e.end(),s.onRequestSent(),c||(i[qp]=!0),n[Xi]()}catch(d){t(d)}finally{e.off("close",A).off("drain",A)}}o(rL,"writeIterable");sL.exports=UX});var Gp=g((fSe,cL)=>{"use strict";var us=ce(),{kBodyUsed:ZA}=Oe(),SB=require("node:assert"),{InvalidArgumentError:WX}=Ee(),jX=require("node:events"),KX=[300,301,302,303,307,308],oL=Symbol("body"),zp=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[oL]=e,this[ZA]=!1}async*[Symbol.asyncIterator](){SB(!this[ZA],"disturbed"),this[ZA]=!0,yield*this[oL]}},NB=class{static{o(this,"RedirectHandler")}constructor(e,r,n,s){if(r!=null&&(!Number.isInteger(r)||r<0))throw new WX("maxRedirections must be a positive number");us.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,us.isStream(this.opts.body)?(us.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){SB(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[ZA]=!1,jX.prototype.on.call(this.opts.body,"data",function(){this[ZA]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new zp(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&us.isIterable(this.opts.body)&&(this.opts.body=new zp(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||us.isDisturbed(this.opts.body)?null:XX(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}=us.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=ZX(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 XX(t,e){if(KX.indexOf(t)===-1)return null;for(let r=0;r<e.length;r+=2)if(e[r].length===8&&us.headerNameToString(e[r])==="location")return e[r+1]}o(XX,"parseLocation");function aL(t,e,r){if(t.length===4)return us.headerNameToString(t)==="host";if(e&&us.headerNameToString(t).startsWith("content-"))return!0;if(r&&(t.length===13||t.length===6||t.length===19)){let n=us.headerNameToString(t);return n==="authorization"||n==="cookie"||n==="proxy-authorization"}return!1}o(aL,"shouldRemoveHeader");function ZX(t,e,r){let n=[];if(Array.isArray(t))for(let s=0;s<t.length;s+=2)aL(t[s],e,r)||n.push(t[s],t[s+1]);else if(t&&typeof t=="object")for(let s of Object.keys(t))aL(s,e,r)||n.push(s,t[s]);else SB(t==null,"headers must be an object or an array");return n}o(ZX,"cleanRequestHeaders");cL.exports=NB});var Yp=g((ySe,lL)=>{"use strict";var eZ=Gp();function tZ({maxRedirections:t}){return e=>o(function(n,s){let{maxRedirections:i=t}=n;if(!i)return e(n,s);let a=new eZ(e,i,n,s);return n={...n,maxRedirections:0},e(n,a)},"Intercept")}o(tZ,"createRedirectInterceptor");lL.exports=tZ});var Mc=g((CSe,EL)=>{"use strict";var hi=require("node:assert"),hL=require("node:net"),rZ=require("node:http"),Wo=ce(),{channels:Tc}=hc(),nZ=Ek(),sZ=Ec(),{InvalidArgumentError:st,InformationalError:iZ,ClientDestroyedError:oZ}=Ee(),aZ=OA(),{kUrl:ds,kServerName:Zi,kClient:cZ,kBusy:RB,kConnect:lZ,kResuming:jo,kRunning:su,kPending:iu,kSize:nu,kQueue:Un,kConnected:AZ,kConnecting:kc,kNeedDrain:to,kKeepAliveDefaultTimeout:AL,kHostHeader:uZ,kPendingIdx:On,kRunningIdx:fi,kError:dZ,kPipelining:Vp,kKeepAliveTimeoutValue:mZ,kMaxHeadersSize:pZ,kKeepAliveMaxTimeout:hZ,kKeepAliveTimeoutThreshold:fZ,kHeadersTimeout:gZ,kBodyTimeout:yZ,kStrictContentLength:EZ,kConnector:eu,kMaxRedirections:CZ,kMaxRequests:vB,kCounter:IZ,kClose:BZ,kDestroy:QZ,kDispatch:xZ,kInterceptors:uL,kLocalAddress:tu,kMaxResponseSize:bZ,kOnError:wZ,kHTTPContext:it,kMaxConcurrentStreams:NZ,kResume:ru}=Oe(),SZ=KM(),RZ=iL(),dL=!1,eo=Symbol("kClosedResolve"),mL=o(()=>{},"noop");function fL(t){return t[Vp]??t[it]?.defaultPipelining??1}o(fL,"getPipelining");var PB=class extends sZ{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:k,localAddress:S,maxResponseSize:de,autoSelectFamily:ye,autoSelectFamilyAttemptTimeout:Qe,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(k!=null&&(!Number.isInteger(k)||k<0))throw new st("maxRequestsPerClient must be a positive number");if(S!=null&&(typeof S!="string"||hL.isIP(S)===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(Qe!=null&&(!Number.isInteger(Qe)||Qe<-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=aZ({...y,maxCachedSessions:I,allowH2:ae,socketPath:f,timeout:c,...ye?{autoSelectFamily:ye,autoSelectFamilyAttemptTimeout:Qe}:void 0,...N})),r?.Client&&Array.isArray(r.Client)?(this[uL]=r.Client,dL||(dL=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[uL]=[vZ({maxRedirections:B})],this[ds]=Wo.parseOrigin(e),this[eu]=N,this[Vp]=C??1,this[pZ]=n||rZ.maxHeaderSize,this[AL]=d??4e3,this[hZ]=p??6e5,this[fZ]=h??2e3,this[mZ]=this[AL],this[Zi]=null,this[tu]=S??null,this[jo]=0,this[to]=0,this[uZ]=`host: ${this[ds].hostname}${this[ds].port?`:${this[ds].port}`:""}\r
|
|
`,this[yZ]=l??3e5,this[gZ]=s??3e5,this[EZ]=E??!0,this[CZ]=B,this[vB]=k,this[eo]=null,this[bZ]=de>-1?de:-1,this[NZ]=Ne??100,this[it]=null,this[Un]=[],this[fi]=0,this[On]=0,this[ru]=ee=>DB(this,ee),this[wZ]=ee=>gL(this,ee)}get pipelining(){return this[Vp]}set pipelining(e){this[Vp]=e,this[ru](!0)}get[iu](){return this[Un].length-this[On]}get[su](){return this[On]-this[fi]}get[nu](){return this[Un].length-this[fi]}get[AZ](){return!!this[it]&&!this[kc]&&!this[it].destroyed}get[RB](){return!!(this[it]?.busy(null)||this[nu]>=(fL(this)||1)||this[iu]>0)}[lZ](e){yL(this),this.once("connect",e)}[xZ](e,r){let n=e.origin||this[ds].origin,s=new nZ(n,e,r);return this[Un].push(s),this[jo]||(Wo.bodyLength(s.body)==null&&Wo.isIterable(s.body)?(this[jo]=1,queueMicrotask(()=>DB(this))):this[ru](!0)),this[jo]&&this[to]!==2&&this[RB]&&(this[to]=2),this[to]<2}async[BZ](){return new Promise(e=>{this[nu]?this[eo]=e:e(null)})}async[QZ](e){return new Promise(r=>{let n=this[Un].splice(this[On]);for(let i=0;i<n.length;i++){let a=n[i];Wo.errorRequest(this,a,e)}let s=o(()=>{this[eo]&&(this[eo](),this[eo]=null),r(null)},"callback");this[it]?(this[it].destroy(e,s),this[it]=null):queueMicrotask(s),this[ru]()})}},vZ=Yp();function gL(t,e){if(t[su]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){hi(t[On]===t[fi]);let r=t[Un].splice(t[fi]);for(let n=0;n<r.length;n++){let s=r[n];Wo.errorRequest(t,s,e)}hi(t[nu]===0)}}o(gL,"onError");async function yL(t){hi(!t[kc]),hi(!t[it]);let{host:e,hostname:r,protocol:n,port:s}=t[ds];if(r[0]==="["){let i=r.indexOf("]");hi(i!==-1);let a=r.substring(1,i);hi(hL.isIP(a)),r=a}t[kc]=!0,Tc.beforeConnect.hasSubscribers&&Tc.beforeConnect.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[it]?.version,servername:t[Zi],localAddress:t[tu]},connector:t[eu]});try{let i=await new Promise((a,c)=>{t[eu]({host:e,hostname:r,protocol:n,port:s,servername:t[Zi],localAddress:t[tu]},(l,A)=>{l?c(l):a(A)})});if(t.destroyed){Wo.destroy(i.on("error",mL),new oZ);return}hi(i);try{t[it]=i.alpnProtocol==="h2"?await RZ(t,i):await SZ(t,i)}catch(a){throw i.destroy().on("error",mL),a}t[kc]=!1,i[IZ]=0,i[vB]=t[vB],i[cZ]=t,i[dZ]=null,Tc.connected.hasSubscribers&&Tc.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[it]?.version,servername:t[Zi],localAddress:t[tu]},connector:t[eu],socket:i}),t.emit("connect",t[ds],[t])}catch(i){if(t.destroyed)return;if(t[kc]=!1,Tc.connectError.hasSubscribers&&Tc.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[it]?.version,servername:t[Zi],localAddress:t[tu]},connector:t[eu],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(hi(t[su]===0);t[iu]>0&&t[Un][t[On]].servername===t[Zi];){let a=t[Un][t[On]++];Wo.errorRequest(t,a,i)}else gL(t,i);t.emit("connectionError",t[ds],[t],i)}t[ru]()}o(yL,"connect");function pL(t){t[to]=0,t.emit("drain",t[ds],[t])}o(pL,"emitDrain");function DB(t,e){t[jo]!==2&&(t[jo]=2,PZ(t,e),t[jo]=0,t[fi]>256&&(t[Un].splice(0,t[fi]),t[On]-=t[fi],t[fi]=0))}o(DB,"resume");function PZ(t,e){for(;;){if(t.destroyed){hi(t[iu]===0);return}if(t[eo]&&!t[nu]){t[eo](),t[eo]=null;return}if(t[it]&&t[it].resume(),t[RB])t[to]=2;else if(t[to]===2){e?(t[to]=1,queueMicrotask(()=>pL(t))):pL(t);continue}if(t[iu]===0||t[su]>=(fL(t)||1))return;let r=t[Un][t[On]];if(t[ds].protocol==="https:"&&t[Zi]!==r.servername){if(t[su]>0)return;t[Zi]=r.servername,t[it]?.destroy(new iZ("servername changed"),()=>{t[it]=null,DB(t)})}if(t[kc])return;if(!t[it]){yL(t);return}if(t[it].destroyed||t[it].busy(r))return;!r.aborted&&t[it].write(r)?t[On]++:t[Un].splice(t[On],1)}}o(PZ,"_resume");EL.exports=PB});var TB=g((QSe,CL)=>{"use strict";var Jp=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)}};CL.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new Jp}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new Jp),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var BL=g((bSe,IL)=>{var{kFree:DZ,kConnected:TZ,kPending:kZ,kQueued:MZ,kRunning:LZ,kSize:_Z}=Oe(),Ko=Symbol("pool"),kB=class{static{o(this,"PoolStats")}constructor(e){this[Ko]=e}get connected(){return this[Ko][TZ]}get free(){return this[Ko][DZ]}get pending(){return this[Ko][kZ]}get queued(){return this[Ko][MZ]}get running(){return this[Ko][LZ]}get size(){return this[Ko][_Z]}};IL.exports=kB});var OB=g((NSe,DL)=>{"use strict";var FZ=Ec(),UZ=TB(),{kConnected:MB,kSize:QL,kRunning:xL,kPending:bL,kQueued:ou,kBusy:OZ,kFree:qZ,kUrl:HZ,kClose:zZ,kDestroy:GZ,kDispatch:YZ}=Oe(),VZ=BL(),ur=Symbol("clients"),jt=Symbol("needDrain"),au=Symbol("queue"),LB=Symbol("closed resolve"),_B=Symbol("onDrain"),wL=Symbol("onConnect"),NL=Symbol("onDisconnect"),SL=Symbol("onConnectionError"),FB=Symbol("get dispatcher"),vL=Symbol("add client"),PL=Symbol("remove client"),RL=Symbol("stats"),UB=class extends FZ{static{o(this,"PoolBase")}constructor(e){super(e),this[au]=new UZ,this[ur]=[],this[ou]=0;let r=this;this[_B]=o(function(s,i){let a=r[au],c=!1;for(;!c;){let l=a.shift();if(!l)break;r[ou]--,c=!this.dispatch(l.opts,l.handler)}this[jt]=c,!this[jt]&&r[jt]&&(r[jt]=!1,r.emit("drain",s,[r,...i])),r[LB]&&a.isEmpty()&&Promise.all(r[ur].map(l=>l.close())).then(r[LB])},"onDrain"),this[wL]=(n,s)=>{r.emit("connect",n,[r,...s])},this[NL]=(n,s,i)=>{r.emit("disconnect",n,[r,...s],i)},this[SL]=(n,s,i)=>{r.emit("connectionError",n,[r,...s],i)},this[RL]=new VZ(this)}get[OZ](){return this[jt]}get[MB](){return this[ur].filter(e=>e[MB]).length}get[qZ](){return this[ur].filter(e=>e[MB]&&!e[jt]).length}get[bL](){let e=this[ou];for(let{[bL]:r}of this[ur])e+=r;return e}get[xL](){let e=0;for(let{[xL]:r}of this[ur])e+=r;return e}get[QL](){let e=this[ou];for(let{[QL]:r}of this[ur])e+=r;return e}get stats(){return this[RL]}async[zZ](){this[au].isEmpty()?await Promise.all(this[ur].map(e=>e.close())):await new Promise(e=>{this[LB]=e})}async[GZ](e){for(;;){let r=this[au].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[ur].map(r=>r.destroy(e)))}[YZ](e,r){let n=this[FB]();return n?n.dispatch(e,r)||(n[jt]=!0,this[jt]=!this[FB]()):(this[jt]=!0,this[au].push({opts:e,handler:r}),this[ou]++),!this[jt]}[vL](e){return e.on("drain",this[_B]).on("connect",this[wL]).on("disconnect",this[NL]).on("connectionError",this[SL]),this[ur].push(e),this[jt]&&queueMicrotask(()=>{this[jt]&&this[_B](e[HZ],[this,e])}),this}[PL](e){e.close(()=>{let r=this[ur].indexOf(e);r!==-1&&this[ur].splice(r,1)}),this[jt]=this[ur].some(r=>!r[jt]&&r.closed!==!0&&r.destroyed!==!0)}};DL.exports={PoolBase:UB,kClients:ur,kNeedDrain:jt,kAddClient:vL,kRemoveClient:PL,kGetDispatcher:FB}});var Lc=g((RSe,LL)=>{"use strict";var{PoolBase:JZ,kClients:$p,kNeedDrain:$Z,kAddClient:WZ,kGetDispatcher:jZ}=OB(),KZ=Mc(),{InvalidArgumentError:qB}=Ee(),TL=ce(),{kUrl:kL,kInterceptors:XZ}=Oe(),ZZ=OA(),HB=Symbol("options"),zB=Symbol("connections"),ML=Symbol("factory");function e7(t,e){return new KZ(t,e)}o(e7,"defaultFactory");var GB=class extends JZ{static{o(this,"Pool")}constructor(e,{connections:r,factory:n=e7,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=ZZ({...a,maxCachedSessions:c,allowH2:d,socketPath:l,timeout:i,...A?{autoSelectFamily:A,autoSelectFamilyAttemptTimeout:u}:void 0,...s})),super(m),this[XZ]=m.interceptors?.Pool&&Array.isArray(m.interceptors.Pool)?m.interceptors.Pool:[],this[zB]=r||null,this[kL]=TL.parseOrigin(e),this[HB]={...TL.deepClone(m),connect:s,allowH2:d},this[HB].interceptors=m.interceptors?{...m.interceptors}:void 0,this[ML]=n,this.on("connectionError",(p,h,f)=>{for(let C of h){let y=this[$p].indexOf(C);y!==-1&&this[$p].splice(y,1)}})}[jZ](){for(let e of this[$p])if(!e[$Z])return e;if(!this[zB]||this[$p].length<this[zB]){let e=this[ML](this[kL],this[HB]);return this[WZ](e),e}}};LL.exports=GB});var qL=g((PSe,OL)=>{"use strict";var{BalancedPoolMissingUpstreamError:t7,InvalidArgumentError:r7}=Ee(),{PoolBase:n7,kClients:Ft,kNeedDrain:cu,kAddClient:s7,kRemoveClient:i7,kGetDispatcher:o7}=OB(),a7=Lc(),{kUrl:YB,kInterceptors:c7}=Oe(),{parseOrigin:_L}=ce(),FL=Symbol("factory"),Wp=Symbol("options"),UL=Symbol("kGreatestCommonDivisor"),Xo=Symbol("kCurrentWeight"),Zo=Symbol("kIndex"),An=Symbol("kWeight"),jp=Symbol("kMaxWeightPerServer"),Kp=Symbol("kErrorPenalty");function l7(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(l7,"getGreatestCommonDivisor");function A7(t,e){return new a7(t,e)}o(A7,"defaultFactory");var VB=class extends n7{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=A7,...n}={}){if(super(),this[Wp]=n,this[Zo]=-1,this[Xo]=0,this[jp]=this[Wp].maxWeightPerServer||100,this[Kp]=this[Wp].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new r7("factory must be a function.");this[c7]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[FL]=r;for(let s of e)this.addUpstream(s);this._updateBalancedPoolStats()}addUpstream(e){let r=_L(e).origin;if(this[Ft].find(s=>s[YB].origin===r&&s.closed!==!0&&s.destroyed!==!0))return this;let n=this[FL](r,Object.assign({},this[Wp]));this[s7](n),n.on("connect",()=>{n[An]=Math.min(this[jp],n[An]+this[Kp])}),n.on("connectionError",()=>{n[An]=Math.max(1,n[An]-this[Kp]),this._updateBalancedPoolStats()}),n.on("disconnect",(...s)=>{let i=s[2];i&&i.code==="UND_ERR_SOCKET"&&(n[An]=Math.max(1,n[An]-this[Kp]),this._updateBalancedPoolStats())});for(let s of this[Ft])s[An]=this[jp];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;r<this[Ft].length;r++)e=l7(this[Ft][r][An],e);this[UL]=e}removeUpstream(e){let r=_L(e).origin,n=this[Ft].find(s=>s[YB].origin===r&&s.closed!==!0&&s.destroyed!==!0);return n&&this[i7](n),this}get upstreams(){return this[Ft].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[YB].origin)}[o7](){if(this[Ft].length===0)throw new t7;if(!this[Ft].find(i=>!i[cu]&&i.closed!==!0&&i.destroyed!==!0)||this[Ft].map(i=>i[cu]).reduce((i,a)=>i&&a,!0))return;let n=0,s=this[Ft].findIndex(i=>!i[cu]);for(;n++<this[Ft].length;){this[Zo]=(this[Zo]+1)%this[Ft].length;let i=this[Ft][this[Zo]];if(i[An]>this[Ft][s][An]&&!i[cu]&&(s=this[Zo]),this[Zo]===0&&(this[Xo]=this[Xo]-this[UL],this[Xo]<=0&&(this[Xo]=this[jp])),i[An]>=this[Xo]&&!i[cu])return i}return this[Xo]=this[Ft][s][An],this[Zo]=s,this[Ft][s]}};OL.exports=VB});var _c=g((TSe,$L)=>{"use strict";var{InvalidArgumentError:Xp}=Ee(),{kClients:ro,kRunning:HL,kClose:u7,kDestroy:d7,kDispatch:m7,kInterceptors:p7}=Oe(),h7=Ec(),f7=Lc(),g7=Mc(),y7=ce(),E7=Yp(),zL=Symbol("onConnect"),GL=Symbol("onDisconnect"),YL=Symbol("onConnectionError"),C7=Symbol("maxRedirections"),VL=Symbol("onDrain"),JL=Symbol("factory"),JB=Symbol("options");function I7(t,e){return e&&e.connections===1?new g7(t,e):new f7(t,e)}o(I7,"defaultFactory");var $B=class extends h7{static{o(this,"Agent")}constructor({factory:e=I7,maxRedirections:r=0,connect:n,...s}={}){if(typeof e!="function")throw new Xp("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new Xp("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new Xp("maxRedirections must be a positive number");super(s),n&&typeof n!="function"&&(n={...n}),this[p7]=s.interceptors?.Agent&&Array.isArray(s.interceptors.Agent)?s.interceptors.Agent:[E7({maxRedirections:r})],this[JB]={...y7.deepClone(s),connect:n},this[JB].interceptors=s.interceptors?{...s.interceptors}:void 0,this[C7]=r,this[JL]=e,this[ro]=new Map,this[VL]=(i,a)=>{this.emit("drain",i,[this,...a])},this[zL]=(i,a)=>{this.emit("connect",i,[this,...a])},this[GL]=(i,a,c)=>{this.emit("disconnect",i,[this,...a],c)},this[YL]=(i,a,c)=>{this.emit("connectionError",i,[this,...a],c)}}get[HL](){let e=0;for(let r of this[ro].values())e+=r[HL];return e}[m7](e,r){let n;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))n=String(e.origin);else throw new Xp("opts.origin must be a non-empty string or URL.");let s=this[ro].get(n);return s||(s=this[JL](e.origin,this[JB]).on("drain",this[VL]).on("connect",this[zL]).on("disconnect",this[GL]).on("connectionError",this[YL]),this[ro].set(n,s)),s.dispatch(e,r)}async[u7](){let e=[];for(let r of this[ro].values())e.push(r.close());this[ro].clear(),await Promise.all(e)}async[d7](e){let r=[];for(let n of this[ro].values())r.push(n.destroy(e));this[ro].clear(),await Promise.all(r)}};$L.exports=$B});var ZB=g((MSe,i_)=>{"use strict";var{kProxy:WB,kClose:e_,kDestroy:t_,kDispatch:WL,kInterceptors:B7}=Oe(),{URL:ea}=require("node:url"),Q7=_c(),r_=Lc(),n_=Ec(),{InvalidArgumentError:Fc,RequestAbortedError:x7,SecureProxyConnectionError:b7}=Ee(),jL=OA(),s_=Mc(),Zp=Symbol("proxy agent"),eh=Symbol("proxy client"),no=Symbol("proxy headers"),jB=Symbol("request tls settings"),KL=Symbol("proxy tls settings"),XL=Symbol("connect endpoint function"),ZL=Symbol("tunnel proxy");function w7(t){return t==="https:"?443:80}o(w7,"defaultProtocolPort");function N7(t,e){return new r_(t,e)}o(N7,"defaultFactory");var S7=o(()=>{},"noop");function R7(t,e){return e.connections===1?new s_(t,e):new r_(t,e)}o(R7,"defaultAgentFactory");var KB=class extends n_{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:n,factory:s}){if(super(),!e)throw new Fc("Proxy URL is mandatory");this[no]=r,s?this.#e=s(e,{connect:n}):this.#e=new s_(e,{connect:n})}[WL](e,r){let n=r.onHeaders;r.onHeaders=function(c,l,A){if(c===407){typeof r.onError=="function"&&r.onError(new Fc("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 ea(s);a.host=c}return e.headers={...this[no],...a},this.#e[WL](e,r)}async[e_](){return this.#e.close()}async[t_](e){return this.#e.destroy(e)}},XB=class extends n_{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof ea)&&!e.uri)throw new Fc("Proxy uri is mandatory");let{clientFactory:r=N7}=e;if(typeof r!="function")throw new Fc("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[WB]={uri:i,protocol:l},this[B7]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[jB]=e.requestTls,this[KL]=e.proxyTls,this[no]=e.headers||{},this[ZL]=n,e.auth&&e.token)throw new Fc("opts.auth cannot be used in combination with opts.token");e.auth?this[no]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[no]["proxy-authorization"]=e.token:A&&u&&(this[no]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(A)}:${decodeURIComponent(u)}`).toString("base64")}`);let m=jL({...e.proxyTls});this[XL]=jL({...e.requestTls});let p=e.factory||R7,h=o((f,C)=>{let{protocol:y}=new ea(f);return!this[ZL]&&y==="http:"&&this[WB].protocol==="http:"?new KB(this[WB].uri,{headers:this[no],connect:m,factory:p}):p(f,C)},"factory");this[eh]=r(s,{connect:m}),this[Zp]=new Q7({...e,factory:h,connect:o(async(f,C)=>{let y=f.host;f.port||(y+=`:${w7(f.protocol)}`);try{let{socket:E,statusCode:I}=await this[eh].connect({origin:a,port:c,path:y,signal:f.signal,headers:{...this[no],host:f.host},servername:this[KL]?.servername||d});if(I!==200&&(E.on("error",S7).destroy(),C(new x7(`Proxy response (${I}) !== 200 when HTTP Tunneling`))),f.protocol!=="https:"){C(null,E);return}let B;this[jB]?B=this[jB].servername:B=f.servername,this[XL]({...f,servername:B,httpSocket:E},C)}catch(E){E.code==="ERR_TLS_CERT_ALTNAME_INVALID"?C(new b7(E)):C(E)}},"connect")})}dispatch(e,r){let n=v7(e.headers);if(P7(n),n&&!("host"in n)&&!("Host"in n)){let{host:s}=new ea(e.origin);n.host=s}return this[Zp].dispatch({...e,headers:n},r)}#e(e){return typeof e=="string"?new ea(e):e instanceof ea?e:new ea(e.uri)}async[e_](){await this[Zp].close(),await this[eh].close()}async[t_](){await this[Zp].destroy(),await this[eh].destroy()}};function v7(t){if(Array.isArray(t)){let e={};for(let r=0;r<t.length;r+=2)e[t[r]]=t[r+1];return e}return t}o(v7,"buildHeaders");function P7(t){if(t&&Object.keys(t).find(r=>r.toLowerCase()==="proxy-authorization"))throw new Fc("Proxy-Authorization should be sent in ProxyAgent constructor")}o(P7,"throwIfProxyAuthIsSent");i_.exports=XB});var u_=g((_Se,A_)=>{"use strict";var D7=Ec(),{kClose:T7,kDestroy:k7,kClosed:o_,kDestroyed:a_,kDispatch:M7,kNoProxyAgent:lu,kHttpProxyAgent:so,kHttpsProxyAgent:ta}=Oe(),c_=ZB(),L7=_c(),_7={"http:":80,"https:":443},l_=!1,eQ=class extends D7{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#r=null;constructor(e={}){super(),this.#r=e,l_||(l_=!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[lu]=new L7(i);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[so]=new c_({...i,uri:a}):this[so]=this[lu];let c=n??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[ta]=new c_({...i,uri:c}):this[ta]=this[so],this.#n()}[M7](e,r){let n=new URL(e.origin);return this.#i(n).dispatch(e,r)}async[T7](){await this[lu].close(),this[so][o_]||await this[so].close(),this[ta][o_]||await this[ta].close()}async[k7](e){await this[lu].destroy(e),this[so][a_]||await this[so].destroy(e),this[ta][a_]||await this[ta].destroy(e)}#i(e){let{protocol:r,host:n,port:s}=e;return n=n.replace(/:\d*$/,"").toLowerCase(),s=Number.parseInt(s,10)||_7[r]||0,this.#s(n,s)?r==="https:"?this[ta]:this[so]:this[lu]}#s(e,r){if(this.#o&&this.#n(),this.#t.length===0)return!0;if(this.#e==="*")return!1;for(let n=0;n<this.#t.length;n++){let s=this.#t[n];if(!(s.port&&s.port!==r)){if(/^[.*]/.test(s.hostname)){if(e.endsWith(s.hostname.replace(/^\*/,"")))return!1}else if(e===s.hostname)return!1}}return!0}#n(){let e=this.#r.noProxy??this.#a,r=e.split(/[,\s]/),n=[];for(let s=0;s<r.length;s++){let i=r[s];if(!i)continue;let a=i.match(/^(.+):(\d+)$/);n.push({hostname:(a?a[1]:i).toLowerCase(),port:a?Number.parseInt(a[2],10):0})}this.#e=e,this.#t=n}get#o(){return this.#r.noProxy!==void 0?!1:this.#e!==this.#a}get#a(){return process.env.no_proxy??process.env.NO_PROXY??""}};A_.exports=eQ});var th=g((USe,f_)=>{"use strict";var Uc=require("node:assert"),{kRetryHandlerDefaultRetry:d_}=Oe(),{RequestRetryError:Oc}=Ee(),{isDisturbed:m_,parseHeaders:F7,parseRangeHeader:p_,wrapRequestBody:U7}=ce();function O7(t){let e=Date.now();return new Date(t).getTime()-e}o(O7,"calculateRetryAfterHeader");function h_(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 Oc("Content-Length mismatch",r,{headers:t,data:{count:n}}):null}o(h_,"validatePartialResponseContentLength");var tQ=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:U7(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:i??t[d_],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[d_](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)?O7(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=F7(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,r,n,s):(this.abort(new Oc("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 Oc("server does not support the range header and the payload was partially consumed",e,{headers:i,data:{count:this.retryCount}})),!1;let c=p_(i["content-range"]);if(!c)return this.abort(new Oc("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==i.etag)return this.abort(new Oc("ETag mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;let l=h_(i,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:A,size:u,end:d=u-1}=c;return Uc(this.start===A,"content-range mismatch"),Uc(this.end==null||this.end===d,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(e===206){let c=p_(i["content-range"]);if(c==null)return this.handler.onHeaders(e,r,n,s);let l=h_(i,c,e,this.retryCount);if(l!=null)return this.abort(l),!1;let{start:A,size:u,end:d=u-1}=c;Uc(A!=null&&Number.isFinite(A),"content-range mismatch"),Uc(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 Uc(Number.isFinite(this.start)),Uc(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 Oc("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||m_(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||m_(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")}};f_.exports=tQ});var y_=g((qSe,g_)=>{"use strict";var q7=FA(),H7=th(),rQ=class extends q7{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 H7({...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()}};g_.exports=rQ});var cQ=g((zSe,N_)=>{"use strict";var Q_=require("node:assert"),{Readable:z7}=require("node:stream"),{RequestAbortedError:x_,NotSupportedError:G7,InvalidArgumentError:Y7,AbortError:nQ}=Ee(),b_=ce(),{ReadableStreamFrom:V7}=ce(),Tr=Symbol("kConsume"),Au=Symbol("kReading"),io=Symbol("kBody"),E_=Symbol("kAbort"),w_=Symbol("kContentType"),C_=Symbol("kContentLength"),J7=o(()=>{},"noop"),sQ=class extends z7{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[E_]=r,this[Tr]=null,this[io]=null,this[w_]=n,this[C_]=s,this[Au]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new x_),e&&this[E_](),super.destroy(e)}_destroy(e,r){this[Au]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[Au]=!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[Au]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(e,...r){return this.off(e,...r)}push(e){return this[Tr]&&e!==null?(oQ(this[Tr],e),this[Au]?super.push(e):!0):super.push(e)}async text(){return uu(this,"text")}async json(){return uu(this,"json")}async blob(){return uu(this,"blob")}async bytes(){return uu(this,"bytes")}async arrayBuffer(){return uu(this,"arrayBuffer")}async formData(){throw new G7}get bodyUsed(){return b_.isDisturbed(this)}get body(){return this[io]||(this[io]=V7(this),this[Tr]&&(this[io].getReader(),Q_(this[io].locked))),this[io]}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 Y7("signal must be an AbortSignal");return n?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((s,i)=>{this[C_]>r&&this.destroy(new nQ);let a=o(()=>{this.destroy(n.reason??new nQ)},"onAbort");n?.addEventListener("abort",a),this.on("close",function(){n?.removeEventListener("abort",a),n?.aborted?i(n.reason??new nQ):s(null)}).on("error",J7).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function $7(t){return t[io]&&t[io].locked===!0||t[Tr]}o($7,"isLocked");function W7(t){return b_.isDisturbed(t)||$7(t)}o(W7,"isUnusable");async function uu(t,e){return Q_(!t[Tr]),new Promise((r,n)=>{if(W7(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[Tr]={type:e,stream:t,resolve:r,reject:n,length:0,body:[]},t.on("error",function(s){aQ(this[Tr],s)}).on("close",function(){this[Tr].body!==null&&aQ(this[Tr],new x_)}),j7(t[Tr])})})}o(uu,"consume");function j7(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;s<n;s++)oQ(t,e.buffer[s])}else for(let r of e.buffer)oQ(t,r);for(e.endEmitted?B_(this[Tr]):t.stream.on("end",function(){B_(this[Tr])}),t.stream.resume();t.stream.read()!=null;);}o(j7,"consumeStart");function iQ(t,e){if(t.length===0||e===0)return"";let r=t.length===1?t[0]:Buffer.concat(t,e),n=r.length,s=n>2&&r[0]===239&&r[1]===187&&r[2]===191?3:0;return r.utf8Slice(s,n)}o(iQ,"chunksDecode");function I_(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<t.length;++s){let i=t[s];r.set(i,n),n+=i.length}return r}o(I_,"chunksConcat");function B_(t){let{type:e,body:r,resolve:n,stream:s,length:i}=t;try{e==="text"?n(iQ(r,i)):e==="json"?n(JSON.parse(iQ(r,i))):e==="arrayBuffer"?n(I_(r,i).buffer):e==="blob"?n(new Blob(r,{type:s[w_]})):e==="bytes"&&n(I_(r,i)),aQ(t)}catch(a){s.destroy(a)}}o(B_,"consumeEnd");function oQ(t,e){t.length+=e.length,t.body.push(e)}o(oQ,"consumePush");function aQ(t,e){t.body!==null&&(e?t.reject(e):t.resolve(),t.type=null,t.stream=null,t.resolve=null,t.reject=null,t.length=0,t.body=null)}o(aQ,"consumeFinish");N_.exports={Readable:sQ,chunksDecode:iQ}});var lQ=g((YSe,D_)=>{var K7=require("node:assert"),{ResponseStatusCodeError:S_}=Ee(),{chunksDecode:R_}=cQ(),X7=128*1024;async function Z7({callback:t,body:e,contentType:r,statusCode:n,statusMessage:s,headers:i}){K7(e);let a=[],c=0;try{for await(let d of e)if(a.push(d),c+=d.length,c>X7){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${n}${s?`: ${s}`:""}`;if(n===204||!r||!c){queueMicrotask(()=>t(new S_(l,n,i)));return}let A=Error.stackTraceLimit;Error.stackTraceLimit=0;let u;try{v_(r)?u=JSON.parse(R_(a,c)):P_(r)&&(u=R_(a,c))}catch{}finally{Error.stackTraceLimit=A}queueMicrotask(()=>t(new S_(l,n,i,u)))}o(Z7,"getResolveErrorBodyCallback");var v_=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"),P_=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");D_.exports={getResolveErrorBodyCallback:Z7,isContentTypeApplicationJson:v_,isContentTypeText:P_}});var M_=g((JSe,AQ)=>{"use strict";var eee=require("node:assert"),{Readable:tee}=cQ(),{InvalidArgumentError:qc,RequestAbortedError:T_}=Ee(),kr=ce(),{getResolveErrorBodyCallback:ree}=lQ(),{AsyncResource:nee}=require("node:async_hooks"),rh=class extends nee{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new qc("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 qc("invalid callback");if(u&&(typeof u!="number"||u<0))throw new qc("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new qc("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new qc("invalid method");if(c&&typeof c!="function")throw new qc("invalid onInfo callback");super("UNDICI_REQUEST")}catch(d){throw kr.isStream(a)&&kr.destroy(a.on("error",kr.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,kr.isStream(a)&&a.on("error",d=>{this.onError(d)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new T_:this.removeAbortListener=kr.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new T_,this.res?kr.destroy(this.res.on("error",kr.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}eee(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"?kr.parseRawHeaders(r):kr.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}let m=A==="raw"?kr.parseHeaders(r):d,p=m["content-type"],h=m["content-length"],f=new tee({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(ree,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){kr.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(()=>{kr.destroy(r,e)})),s&&(this.body=null,kr.destroy(s,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function k_(t,e){if(e===void 0)return new Promise((r,n)=>{k_.call(this,t,(s,i)=>s?n(s):r(i))});try{this.dispatch(t,new rh(t,e))}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(k_,"request");AQ.exports=k_;AQ.exports.RequestHandler=rh});var du=g((WSe,F_)=>{var{addAbortListener:see}=ce(),{RequestAbortedError:iee}=Ee(),Hc=Symbol("kListener"),ms=Symbol("kSignal");function L_(t){t.abort?t.abort(t[ms]?.reason):t.reason=t[ms]?.reason??new iee,__(t)}o(L_,"abort");function oee(t,e){if(t.reason=null,t[ms]=null,t[Hc]=null,!!e){if(e.aborted){L_(t);return}t[ms]=e,t[Hc]=()=>{L_(t)},see(t[ms],t[Hc])}}o(oee,"addSignal");function __(t){t[ms]&&("removeEventListener"in t[ms]?t[ms].removeEventListener("abort",t[Hc]):t[ms].removeListener("abort",t[Hc]),t[ms]=null,t[Hc]=null)}o(__,"removeSignal");F_.exports={addSignal:oee,removeSignal:__}});var H_=g((KSe,q_)=>{"use strict";var aee=require("node:assert"),{finished:cee,PassThrough:lee}=require("node:stream"),{InvalidArgumentError:zc,InvalidReturnValueError:Aee}=Ee(),qn=ce(),{getResolveErrorBodyCallback:uee}=lQ(),{AsyncResource:dee}=require("node:async_hooks"),{addSignal:mee,removeSignal:U_}=du(),uQ=class extends dee{static{o(this,"StreamHandler")}constructor(e,r,n){if(!e||typeof e!="object")throw new zc("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 zc("invalid callback");if(typeof r!="function")throw new zc("invalid factory");if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new zc("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new zc("invalid method");if(l&&typeof l!="function")throw new zc("invalid onInfo callback");super("UNDICI_STREAM")}catch(d){throw qn.isStream(c)&&qn.destroy(c.on("error",qn.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,qn.isStream(c)&&c.on("error",d=>{this.onError(d)}),mee(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}aee(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"?qn.parseRawHeaders(r):qn.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"?qn.parseHeaders(r):u)["content-type"];d=new lee,this.callback=null,this.runInAsyncScope(uee,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 Aee("expected Writable");cee(d,{readable:!1},p=>{let{callback:h,res:f,opaque:C,trailers:y,abort:E}=this;this.res=null,(p||!f.readable)&&qn.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;U_(this),r&&(this.trailers=qn.parseHeaders(e),r.end())}onError(e){let{res:r,callback:n,opaque:s,body:i}=this;U_(this),this.factory=null,r?(this.res=null,qn.destroy(r,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:s})})),i&&(this.body=null,qn.destroy(i,e))}};function O_(t,e,r){if(r===void 0)return new Promise((n,s)=>{O_.call(this,t,e,(i,a)=>i?s(i):n(a))});try{this.dispatch(t,new uQ(t,e,r))}catch(n){if(typeof r!="function")throw n;let s=t?.opaque;queueMicrotask(()=>r(n,{opaque:s}))}}o(O_,"stream");q_.exports=O_});var V_=g((ZSe,Y_)=>{"use strict";var{Readable:G_,Duplex:pee,PassThrough:hee}=require("node:stream"),{InvalidArgumentError:mu,InvalidReturnValueError:fee,RequestAbortedError:dQ}=Ee(),un=ce(),{AsyncResource:gee}=require("node:async_hooks"),{addSignal:yee,removeSignal:Eee}=du(),z_=require("node:assert"),Gc=Symbol("resume"),mQ=class extends G_{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[Gc]=null}_read(){let{[Gc]:e}=this;e&&(this[Gc]=null,e())}_destroy(e,r){this._read(),r(e)}},pQ=class extends G_{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[Gc]=e}_read(){this[Gc]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new dQ),r(e)}},hQ=class extends gee{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new mu("invalid opts");if(typeof r!="function")throw new mu("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 mu("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new mu("invalid method");if(a&&typeof a!="function")throw new mu("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 mQ().on("error",un.nop),this.ret=new pee({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[Gc]=u},"write"),destroy:o((l,A)=>{let{body:u,req:d,res:m,ret:p,abort:h}=this;!l&&!p._readableState.endEmitted&&(l=new dQ),h&&l&&h(),un.destroy(u,l),un.destroy(d,l),un.destroy(m,l),Eee(this),A(l)},"destroy")}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,yee(this,n)}onConnect(e,r){let{ret:n,res:s}=this;if(this.reason){e(this.reason);return}z_(!s,"pipeline cannot be retried"),z_(!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"?un.parseRawHeaders(r):un.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new pQ(n);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?un.parseRawHeaders(r):un.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",un.nop),l}if(!c||typeof c.on!="function")throw new fee("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;un.destroy(A,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||un.destroy(l,new dQ)}),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,un.destroy(r,e)}};function Cee(t,e){try{let r=new hQ(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new hee().destroy(r)}}o(Cee,"pipeline");Y_.exports=Cee});var X_=g((tRe,K_)=>{"use strict";var{InvalidArgumentError:fQ,SocketError:Iee}=Ee(),{AsyncResource:Bee}=require("node:async_hooks"),J_=ce(),{addSignal:Qee,removeSignal:$_}=du(),W_=require("node:assert"),gQ=class extends Bee{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new fQ("invalid opts");if(typeof r!="function")throw new fQ("invalid callback");let{signal:n,opaque:s,responseHeaders:i}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new fQ("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,Qee(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}W_(this.callback),this.abort=e,this.context=null}onHeaders(){throw new Iee("bad upgrade",null)}onUpgrade(e,r,n){W_(e===101);let{callback:s,opaque:i,context:a}=this;$_(this),this.callback=null;let c=this.responseHeaders==="raw"?J_.parseRawHeaders(r):J_.parseHeaders(r);this.runInAsyncScope(s,null,null,{headers:c,socket:n,opaque:i,context:a})}onError(e){let{callback:r,opaque:n}=this;$_(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function j_(t,e){if(e===void 0)return new Promise((r,n)=>{j_.call(this,t,(s,i)=>s?n(s):r(i))});try{let r=new gQ(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(j_,"upgrade");K_.exports=j_});var n1=g((nRe,r1)=>{"use strict";var xee=require("node:assert"),{AsyncResource:bee}=require("node:async_hooks"),{InvalidArgumentError:yQ,SocketError:wee}=Ee(),Z_=ce(),{addSignal:Nee,removeSignal:e1}=du(),EQ=class extends bee{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new yQ("invalid opts");if(typeof r!="function")throw new yQ("invalid callback");let{signal:n,opaque:s,responseHeaders:i}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new yQ("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=s||null,this.responseHeaders=i||null,this.callback=r,this.abort=null,Nee(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}xee(this.callback),this.abort=e,this.context=r}onHeaders(){throw new wee("bad connect",null)}onUpgrade(e,r,n){let{callback:s,opaque:i,context:a}=this;e1(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?Z_.parseRawHeaders(r):Z_.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;e1(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function t1(t,e){if(e===void 0)return new Promise((r,n)=>{t1.call(this,t,(s,i)=>s?n(s):r(i))});try{let r=new EQ(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(t1,"connect");r1.exports=t1});var s1=g((iRe,Yc)=>{"use strict";Yc.exports.request=M_();Yc.exports.stream=H_();Yc.exports.pipeline=V_();Yc.exports.upgrade=X_();Yc.exports.connect=n1()});var IQ=g((oRe,o1)=>{"use strict";var{UndiciError:See}=Ee(),i1=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),CQ=class t extends See{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[i1]===!0}[i1]=!0};o1.exports={MockNotMatchedError:CQ}});var Vc=g((cRe,a1)=>{"use strict";a1.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 pu=g((lRe,y1)=>{"use strict";var{MockNotMatchedError:ra}=IQ(),{kDispatches:nh,kMockAgent:Ree,kOriginalDispatch:vee,kOrigin:Pee,kGetNetConnect:Dee}=Vc(),{buildURL:Tee}=ce(),{STATUS_CODES:kee}=require("node:http"),{types:{isPromise:Mee}}=require("node:util");function gi(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(gi,"matchValue");function l1(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(l1,"lowerCaseEntries");function A1(t,e){if(Array.isArray(t)){for(let r=0;r<t.length;r+=2)if(t[r].toLocaleLowerCase()===e.toLocaleLowerCase())return t[r+1];return}else return typeof t.get=="function"?t.get(e):l1(t)[e.toLocaleLowerCase()]}o(A1,"getHeaderByName");function xQ(t){let e=t.slice(),r=[];for(let n=0;n<e.length;n+=2)r.push([e[n],e[n+1]]);return Object.fromEntries(r)}o(xQ,"buildHeadersFromArray");function u1(t,e){if(typeof t.headers=="function")return Array.isArray(e)&&(e=xQ(e)),t.headers(e?l1(e):{});if(typeof t.headers>"u")return!0;if(typeof e!="object"||typeof t.headers!="object")return!1;for(let[r,n]of Object.entries(t.headers)){let s=A1(e,r);if(!gi(n,s))return!1}return!0}o(u1,"matchHeaders");function c1(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(c1,"safeUrl");function Lee(t,{path:e,method:r,body:n,headers:s}){let i=gi(t.path,e),a=gi(t.method,r),c=typeof t.body<"u"?gi(t.body,n):!0,l=u1(t,s);return i&&a&&c&&l}o(Lee,"matchKey");function d1(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(d1,"getResponseData");function m1(t,e){let r=e.query?Tee(e.path,e.query):e.path,n=typeof r=="string"?c1(r):r,s=t.filter(({consumed:i})=>!i).filter(({path:i})=>gi(c1(i),n));if(s.length===0)throw new ra(`Mock dispatch not matched for path '${n}'`);if(s=s.filter(({method:i})=>gi(i,e.method)),s.length===0)throw new ra(`Mock dispatch not matched for method '${e.method}' on path '${n}'`);if(s=s.filter(({body:i})=>typeof i<"u"?gi(i,e.body):!0),s.length===0)throw new ra(`Mock dispatch not matched for body '${e.body}' on path '${n}'`);if(s=s.filter(i=>u1(i,e.headers)),s.length===0){let i=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new ra(`Mock dispatch not matched for headers '${i}' on path '${n}'`)}return s[0]}o(m1,"getMockDispatch");function _ee(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(_ee,"addMockDispatch");function BQ(t,e){let r=t.findIndex(n=>n.consumed?Lee(n,e):!1);r!==-1&&t.splice(r,1)}o(BQ,"deleteMockDispatch");function p1(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(p1,"buildKey");function QQ(t){let e=Object.keys(t),r=[];for(let n=0;n<e.length;++n){let s=e[n],i=t[s],a=Buffer.from(`${s}`);if(Array.isArray(i))for(let c=0;c<i.length;++c)r.push(a,Buffer.from(`${i[c]}`));else r.push(a,Buffer.from(`${i}`))}return r}o(QQ,"generateKeyValues");function h1(t){return kee[t]||"unknown"}o(h1,"getStatusText");async function Fee(t){let e=[];for await(let r of t)e.push(r);return Buffer.concat(e).toString("utf8")}o(Fee,"getResponse");function f1(t,e){let r=p1(t),n=m1(this[nh],r);n.timesInvoked++,n.data.callback&&(n.data={...n.data,...n.data.callback(t)});let{data:{statusCode:s,data:i,headers:a,trailers:c,error:l},delay:A,persist:u}=n,{timesInvoked:d,times:m}=n;if(n.consumed=!u&&d>=m,n.pending=d<m,l!==null)return BQ(this[nh],r),e.onError(l),!0;typeof A=="number"&&A>0?setTimeout(()=>{p(this[nh])},A):p(this[nh]);function p(f,C=i){let y=Array.isArray(t.headers)?xQ(t.headers):t.headers,E=typeof C=="function"?C({...t,headers:y}):C;if(Mee(E)){E.then(k=>p(f,k));return}let I=d1(E),B=QQ(a),N=QQ(c);e.onConnect?.(k=>e.onError(k),null),e.onHeaders?.(s,B,h,h1(s)),e.onData?.(Buffer.from(I)),e.onComplete?.(N),BQ(f,r)}o(p,"handleReply");function h(){}return o(h,"resume"),!0}o(f1,"mockDispatch");function Uee(){let t=this[Ree],e=this[Pee],r=this[vee];return o(function(s,i){if(t.isMockActive)try{f1.call(this,s,i)}catch(a){if(a instanceof ra){let c=t[Dee]();if(c===!1)throw new ra(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(g1(c,e))r.call(this,s,i);else throw new ra(`${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(Uee,"buildMockDispatch");function g1(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(n=>gi(n,r.host)))}o(g1,"checkNetConnect");function Oee(t){if(t){let{agent:e,...r}=t;return r}}o(Oee,"buildMockOptions");y1.exports={getResponseData:d1,getMockDispatch:m1,addMockDispatch:_ee,deleteMockDispatch:BQ,buildKey:p1,generateKeyValues:QQ,matchValue:gi,getResponse:Fee,getStatusText:h1,mockDispatch:f1,buildMockDispatch:Uee,checkNetConnect:g1,buildMockOptions:Oee,getHeaderByName:A1,buildHeadersFromArray:xQ}});var PQ=g((uRe,vQ)=>{"use strict";var{getResponseData:qee,buildKey:Hee,addMockDispatch:bQ}=pu(),{kDispatches:sh,kDispatchKey:ih,kDefaultHeaders:wQ,kDefaultTrailers:NQ,kContentLength:SQ,kMockDispatch:oh}=Vc(),{InvalidArgumentError:ps}=Ee(),{buildURL:zee}=ce(),Jc=class{static{o(this,"MockScope")}constructor(e){this[oh]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new ps("waitInMs must be a valid integer > 0");return this[oh].delay=e,this}persist(){return this[oh].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new ps("repeatTimes must be a valid integer > 0");return this[oh].times=e,this}},RQ=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new ps("opts must be an object");if(typeof e.path>"u")throw new ps("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=zee(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[ih]=Hee(e),this[sh]=r,this[wQ]={},this[NQ]={},this[SQ]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:n}){let s=qee(r),i=this[SQ]?{"content-length":s.length}:{},a={...this[wQ],...i,...n.headers},c={...this[NQ],...n.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new ps("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new ps("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 ps("reply options callback must return an object");let A={data:"",responseOptions:{},...l};return this.validateReplyParameters(A),{...this.createMockScopeDispatchData(A)}},"wrappedDefaultsCallback"),a=bQ(this[sh],this[ih],i);return new Jc(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=bQ(this[sh],this[ih],n);return new Jc(s)}replyWithError(e){if(typeof e>"u")throw new ps("error must be defined");let r=bQ(this[sh],this[ih],{error:e});return new Jc(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new ps("headers must be defined");return this[wQ]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new ps("trailers must be defined");return this[NQ]=e,this}replyContentLength(){return this[SQ]=!0,this}};vQ.exports.MockInterceptor=RQ;vQ.exports.MockScope=Jc});var kQ=g((mRe,b1)=>{"use strict";var{promisify:Gee}=require("node:util"),Yee=Mc(),{buildMockDispatch:Vee}=pu(),{kDispatches:E1,kMockAgent:C1,kClose:I1,kOriginalClose:B1,kOrigin:Q1,kOriginalDispatch:Jee,kConnected:DQ}=Vc(),{MockInterceptor:$ee}=PQ(),x1=Oe(),{InvalidArgumentError:Wee}=Ee(),TQ=class extends Yee{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Wee("Argument opts.agent must implement Agent");this[C1]=r.agent,this[Q1]=e,this[E1]=[],this[DQ]=1,this[Jee]=this.dispatch,this[B1]=this.close.bind(this),this.dispatch=Vee.call(this),this.close=this[I1]}get[x1.kConnected](){return this[DQ]}intercept(e){return new $ee(e,this[E1])}async[I1](){await Gee(this[B1])(),this[DQ]=0,this[C1][x1.kClients].delete(this[Q1])}};b1.exports=TQ});var _Q=g((hRe,D1)=>{"use strict";var{promisify:jee}=require("node:util"),Kee=Lc(),{buildMockDispatch:Xee}=pu(),{kDispatches:w1,kMockAgent:N1,kClose:S1,kOriginalClose:R1,kOrigin:v1,kOriginalDispatch:Zee,kConnected:MQ}=Vc(),{MockInterceptor:ete}=PQ(),P1=Oe(),{InvalidArgumentError:tte}=Ee(),LQ=class extends Kee{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new tte("Argument opts.agent must implement Agent");this[N1]=r.agent,this[v1]=e,this[w1]=[],this[MQ]=1,this[Zee]=this.dispatch,this[R1]=this.close.bind(this),this.dispatch=Xee.call(this),this.close=this[S1]}get[P1.kConnected](){return this[MQ]}intercept(e){return new ete(e,this[w1])}async[S1](){await jee(this[R1])(),this[MQ]=0,this[N1][P1.kClients].delete(this[v1])}};D1.exports=LQ});var k1=g((yRe,T1)=>{"use strict";var rte={pronoun:"it",is:"is",was:"was",this:"this"},nte={pronoun:"they",is:"are",was:"were",this:"these"};T1.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,n=r?rte:nte,s=r?this.singular:this.plural;return{...n,count:e,noun:s}}}});var L1=g((IRe,M1)=>{"use strict";var{Transform:ste}=require("node:stream"),{Console:ite}=require("node:console"),ote=process.versions.icu?"\u2705":"Y ",ate=process.versions.icu?"\u274C":"N ";M1.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new ste({transform(r,n,s){s(null,r)}}),this.logger=new ite({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?ote:ate,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var O1=g((QRe,U1)=>{"use strict";var{kClients:na}=Oe(),cte=_c(),{kAgent:FQ,kMockAgentSet:ah,kMockAgentGet:_1,kDispatches:UQ,kIsMockActive:ch,kNetConnect:sa,kGetNetConnect:lte,kOptions:lh,kFactory:Ah}=Vc(),Ate=kQ(),ute=_Q(),{matchValue:dte,buildMockOptions:mte}=pu(),{InvalidArgumentError:F1,UndiciError:pte}=Ee(),hte=FA(),fte=k1(),gte=L1(),OQ=class extends hte{static{o(this,"MockAgent")}constructor(e){if(super(e),this[sa]=!0,this[ch]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new F1("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new cte(e);this[FQ]=r,this[na]=r[na],this[lh]=mte(e)}get(e){let r=this[_1](e);return r||(r=this[Ah](e),this[ah](e,r)),r}dispatch(e,r){return this.get(e.origin),this[FQ].dispatch(e,r)}async close(){await this[FQ].close(),this[na].clear()}deactivate(){this[ch]=!1}activate(){this[ch]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[sa])?this[sa].push(e):this[sa]=[e];else if(typeof e>"u")this[sa]=!0;else throw new F1("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[sa]=!1}get isMockActive(){return this[ch]}[ah](e,r){this[na].set(e,r)}[Ah](e){let r=Object.assign({agent:this},this[lh]);return this[lh]&&this[lh].connections===1?new Ate(e,r):new ute(e,r)}[_1](e){let r=this[na].get(e);if(r)return r;if(typeof e!="string"){let n=this[Ah]("http://localhost:9999");return this[ah](e,n),n}for(let[n,s]of Array.from(this[na]))if(s&&typeof n!="string"&&dte(n,e)){let i=this[Ah](e);return this[ah](e,i),i[UQ]=s[UQ],i}}[lte](){return this[sa]}pendingInterceptors(){let e=this[na];return Array.from(e.entries()).flatMap(([r,n])=>n[UQ].map(s=>({...s,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new gte}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new fte("interceptor","interceptors").pluralize(r.length);throw new pte(`
|
|
${n.count} ${n.noun} ${n.is} pending:
|
|
|
|
${e.format(r)}
|
|
`.trim())}};U1.exports=OQ});var uh=g((bRe,G1)=>{"use strict";var q1=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:yte}=Ee(),Ete=_c();z1()===void 0&&H1(new Ete);function H1(t){if(!t||typeof t.dispatch!="function")throw new yte("Argument agent must implement Agent");Object.defineProperty(globalThis,q1,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(H1,"setGlobalDispatcher");function z1(){return globalThis[q1]}o(z1,"getGlobalDispatcher");G1.exports={setGlobalDispatcher:H1,getGlobalDispatcher:z1}});var dh=g((SRe,Y1)=>{"use strict";Y1.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 J1=g((vRe,V1)=>{"use strict";var Cte=Gp();V1.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 Cte(r,a,s,i);return r(c,l)},"redirectInterceptor")}});var W1=g((DRe,$1)=>{"use strict";var Ite=th();$1.exports=t=>e=>o(function(n,s){return e(n,new Ite({...n,retryOptions:{...t,...n.retryOptions}},{handler:s,dispatch:e}))},"retryInterceptor")});var K1=g((kRe,j1)=>{"use strict";var Bte=ce(),{InvalidArgumentError:Qte,RequestAbortedError:xte}=Ee(),bte=dh(),qQ=class extends bte{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 Qte("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=Bte.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new xte(`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 wte({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(wte,"createDumpInterceptor");j1.exports=wte});var e2=g((LRe,Z1)=>{"use strict";var{isIP:Nte}=require("node:net"),{lookup:Ste}=require("node:dns"),Rte=dh(),{InvalidArgumentError:$c,InformationalError:vte}=Ee(),X1=Math.pow(2,31)-1,HQ=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 vte("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){Ste(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===X1?(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===X1?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 zQ(this,e,r)}},zQ=class extends Rte{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}}};Z1.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new $c("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new $c("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new $c("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new $c("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new $c("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new $c("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 HQ(n);return i=>o(function(c,l){let A=c.origin.constructor===URL?c.origin:new URL(c.origin);return Nte(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 ia=g((FRe,a2)=>{"use strict";var{kConstruct:Pte}=Oe(),{kEnumerableProperty:Wc}=ce(),{iteratorMixin:Dte,isValidHeaderName:hu,isValidHeaderValue:r2}=Pr(),{webidl:he}=Tt(),GQ=require("node:assert"),mh=require("node:util"),mt=Symbol("headers map"),Mr=Symbol("headers map sorted");function t2(t){return t===10||t===13||t===9||t===32}o(t2,"isHTTPWhiteSpaceCharCode");function n2(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(n2,"headerValueNormalize");function s2(t,e){if(Array.isArray(e))for(let r=0;r<e.length;++r){let n=e[r];if(n.length!==2)throw he.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${n.length}.`});YQ(t,n[0],n[1])}else if(typeof e=="object"&&e!==null){let r=Object.keys(e);for(let n=0;n<r.length;++n)YQ(t,r[n],e[r[n]])}else throw he.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}o(s2,"fill");function YQ(t,e,r){if(r=n2(r),hu(e)){if(!r2(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(o2(t)==="immutable")throw new TypeError("immutable");return VQ(t).append(e,r,!1)}o(YQ,"appendHeader");function i2(t,e){return t[0]<e[0]?-1:1}o(i2,"compareHeaderName");var ph=class t{static{o(this,"HeadersList")}cookies=null;constructor(e){e instanceof t?(this[mt]=new Map(e[mt]),this[Mr]=e[Mr],this.cookies=e.cookies===null?null:[...e.cookies]):(this[mt]=new Map(e),this[Mr]=null)}contains(e,r){return this[mt].has(r?e:e.toLowerCase())}clear(){this[mt].clear(),this[Mr]=null,this.cookies=null}append(e,r,n){this[Mr]=null;let s=n?e:e.toLowerCase(),i=this[mt].get(s);if(i){let a=s==="cookie"?"; ":", ";this[mt].set(s,{name:i.name,value:`${i.value}${a}${r}`})}else this[mt].set(s,{name:e,value:r});s==="set-cookie"&&(this.cookies??=[]).push(r)}set(e,r,n){this[Mr]=null;let s=n?e:e.toLowerCase();s==="set-cookie"&&(this.cookies=[r]),this[mt].set(s,{name:e,value:r})}delete(e,r){this[Mr]=null,r||(e=e.toLowerCase()),e==="set-cookie"&&(this.cookies=null),this[mt].delete(e)}get(e,r){return this[mt].get(r?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:r}}of this[mt])yield[e,r]}get entries(){let e={};if(this[mt].size!==0)for(let{name:r,value:n}of this[mt].values())e[r]=n;return e}rawValues(){return this[mt].values()}get entriesList(){let e=[];if(this[mt].size!==0)for(let{0:r,1:{name:n,value:s}}of this[mt])if(r==="set-cookie")for(let i of this.cookies)e.push([n,i]);else e.push([n,s]);return e}toSortedArray(){let e=this[mt].size,r=new Array(e);if(e<=32){if(e===0)return r;let n=this[mt][Symbol.iterator](),s=n.next().value;r[0]=[s[0],s[1].value],GQ(s[1].value!==null);for(let i=1,a=0,c=0,l=0,A=0,u,d;i<e;++i){for(d=n.next().value,u=r[i]=[d[0],d[1].value],GQ(u[1]!==null),l=0,c=i;l<c;)A=l+(c-l>>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],GQ(i!==null);return r.sort(i2)}}},Hn=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){he.util.markAsUncloneable(this),e!==Pte&&(this.#t=new ph,this.#e="none",e!==void 0&&(e=he.converters.HeadersInit(e,"Headers contructor","init"),s2(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"),YQ(this,e,r)}delete(e){if(he.brandCheck(this,t),he.argumentLengthCheck(arguments,1,"Headers.delete"),e=he.converters.ByteString(e,"Headers.delete","name"),!hu(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"),!hu(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"),!hu(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=n2(r),hu(e)){if(!r2(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[Mr](){if(this.#t[Mr])return this.#t[Mr];let e=[],r=this.#t.toSortedArray(),n=this.#t.cookies;if(n===null||n.length===1)return this.#t[Mr]=r;for(let s=0;s<r.length;++s){let{0:i,1:a}=r[s];if(i==="set-cookie")for(let c=0;c<n.length;++c)e.push([i,n[c]]);else e.push([i,a])}return this.#t[Mr]=e}[mh.inspect.custom](e,r){return r.depth??=e,`Headers ${mh.formatWithOptions(r,this.#t.entries)}`}static getHeadersGuard(e){return e.#e}static setHeadersGuard(e,r){e.#e=r}static getHeadersList(e){return e.#t}static setHeadersList(e,r){e.#t=r}},{getHeadersGuard:o2,setHeadersGuard:Tte,getHeadersList:VQ,setHeadersList:kte}=Hn;Reflect.deleteProperty(Hn,"getHeadersGuard");Reflect.deleteProperty(Hn,"setHeadersGuard");Reflect.deleteProperty(Hn,"getHeadersList");Reflect.deleteProperty(Hn,"setHeadersList");Dte("Headers",Hn,Mr,0,1);Object.defineProperties(Hn.prototype,{append:Wc,delete:Wc,get:Wc,has:Wc,set:Wc,getSetCookie:Wc,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[mh.inspect.custom]:{enumerable:!1}});he.converters.HeadersInit=function(t,e,r){if(he.util.Type(t)==="Object"){let n=Reflect.get(t,Symbol.iterator);if(!mh.types.isProxy(t)&&n===Hn.prototype.entries)try{return VQ(t).entriesList}catch{}return typeof n=="function"?he.converters["sequence<sequence<ByteString>>"](t,e,r,n.bind(t)):he.converters["record<ByteString, ByteString>"](t,e,r)}throw he.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};a2.exports={fill:s2,compareHeaderName:i2,Headers:Hn,HeadersList:ph,getHeadersGuard:o2,setHeadersGuard:Tte,setHeadersList:kte,getHeadersList:VQ}});var gu=g((ORe,E2)=>{"use strict";var{Headers:m2,HeadersList:c2,fill:Mte,getHeadersGuard:Lte,setHeadersGuard:p2,setHeadersList:h2}=ia(),{extractBody:l2,cloneBody:_te,mixinBody:Fte,hasFinalizationRegistry:f2,streamRegistry:g2,bodyUnusable:Ute}=Sc(),JQ=ce(),A2=require("node:util"),{kEnumerableProperty:Lr}=JQ,{isValidReasonPhrase:Ote,isCancelled:qte,isAborted:Hte,isBlobLike:zte,serializeJavascriptValueToJSONString:Gte,isErrorLike:Yte,isomorphicEncode:Vte,environmentSettingsObject:Jte}=Pr(),{redirectStatusSet:$te,nullBodyStatus:Wte}=qA(),{kState:He,kHeaders:yi}=Wi(),{webidl:ie}=Tt(),{FormData:jte}=JA(),{URLSerializer:u2}=lr(),{kConstruct:fh}=Oe(),$Q=require("node:assert"),{types:Kte}=require("node:util"),Xte=new TextEncoder("utf-8"),oa=class t{static{o(this,"Response")}static error(){return fu(gh(),"immutable")}static json(e,r={}){ie.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=ie.converters.ResponseInit(r));let n=Xte.encode(Gte(e)),s=l2(n),i=fu(jc({}),"response");return d2(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,Jte.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!$te.has(r))throw new RangeError(`Invalid status code ${r}`);let s=fu(jc({}),"immutable");s[He].status=r;let i=Vte(u2(n));return s[He].headersList.append("location",i,!0),s}constructor(e=null,r={}){if(ie.util.markAsUncloneable(this),e===fh)return;e!==null&&(e=ie.converters.BodyInit(e)),r=ie.converters.ResponseInit(r),this[He]=jc({}),this[yi]=new m2(fh),p2(this[yi],"response"),h2(this[yi],this[He].headersList);let n=null;if(e!=null){let[s,i]=l2(e);n={body:s,type:i}}d2(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?"":u2(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[yi]}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&&JQ.isDisturbed(this[He].body.stream)}clone(){if(ie.brandCheck(this,t),Ute(this))throw ie.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=WQ(this[He]);return f2&&this[He].body?.stream&&g2.register(this,new WeakRef(this[He].body.stream)),fu(e,Lte(this[yi]))}[A2.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 ${A2.formatWithOptions(r,n)}`}};Fte(oa);Object.defineProperties(oa.prototype,{type:Lr,url:Lr,status:Lr,ok:Lr,redirected:Lr,statusText:Lr,headers:Lr,clone:Lr,body:Lr,bodyUsed:Lr,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(oa,{json:Lr,redirect:Lr,error:Lr});function WQ(t){if(t.internalResponse)return y2(WQ(t.internalResponse),t.type);let e=jc({...t,body:null});return t.body!=null&&(e.body=_te(e,t.body)),e}o(WQ,"cloneResponse");function jc(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new c2(t?.headersList):new c2,urlList:t?.urlList?[...t.urlList]:[]}}o(jc,"makeResponse");function gh(t){let e=Yte(t);return jc({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(gh,"makeNetworkError");function Zte(t){return t.type==="error"&&t.status===0}o(Zte,"isNetworkError");function hh(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 $Q(!(n in e)),r[n]=s,!0}})}o(hh,"makeFilteredResponse");function y2(t,e){if(e==="basic")return hh(t,{type:"basic",headersList:t.headersList});if(e==="cors")return hh(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return hh(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return hh(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});$Q(!1)}o(y2,"filterResponse");function ere(t,e=null){return $Q(qte(t)),Hte(t)?gh(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):gh(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(ere,"makeAppropriateNetworkError");function d2(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&&!Ote(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&&Mte(t[yi],e.headers),r){if(Wte.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(d2,"initializeResponse");function fu(t,e){let r=new oa(fh);return r[He]=t,r[yi]=new m2(fh),h2(r[yi],t.headersList),p2(r[yi],e),f2&&t.body?.stream&&g2.register(r,new WeakRef(t.body.stream)),r}o(fu,"fromInnerResponse");ie.converters.ReadableStream=ie.interfaceConverter(ReadableStream);ie.converters.FormData=ie.interfaceConverter(jte);ie.converters.URLSearchParams=ie.interfaceConverter(URLSearchParams);ie.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?ie.converters.USVString(t,e,r):zte(t)?ie.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||Kte.isArrayBuffer(t)?ie.converters.BufferSource(t,e,r):JQ.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}]);E2.exports={isNetworkError:Zte,makeNetworkError:gh,makeResponse:jc,makeAppropriateNetworkError:ere,filterResponse:y2,Response:oa,cloneResponse:WQ,fromInnerResponse:fu}});var Q2=g((HRe,B2)=>{"use strict";var{kConnected:C2,kSize:I2}=Oe(),jQ=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[C2]===0&&this.value[I2]===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[C2]===0&&e[I2]===0&&this.finalizer(r)})}unregister(e){}};B2.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:jQ,FinalizationRegistry:KQ}):{WeakRef,FinalizationRegistry}}});var Kc=g((GRe,F2)=>{"use strict";var{extractBody:tre,mixinBody:rre,cloneBody:nre,bodyUnusable:x2}=Sc(),{Headers:T2,fill:sre,HeadersList:Ih,setHeadersGuard:ZQ,getHeadersGuard:ire,setHeadersList:k2,getHeadersList:b2}=ia(),{FinalizationRegistry:ore}=Q2()(),Eh=ce(),w2=require("node:util"),{isValidHTTPToken:are,sameOrigin:N2,environmentSettingsObject:yh}=Pr(),{forbiddenMethodsSet:cre,corsSafeListedMethodsSet:lre,referrerPolicy:Are,requestRedirect:ure,requestMode:dre,requestCredentials:mre,requestCache:pre,requestDuplex:hre}=qA(),{kEnumerableProperty:pt,normalizedMethodRecordsBase:fre,normalizedMethodRecords:gre}=Eh,{kHeaders:_r,kSignal:Ch,kState:Le,kDispatcher:XQ}=Wi(),{webidl:j}=Tt(),{URLSerializer:yre}=lr(),{kConstruct:Bh}=Oe(),Ere=require("node:assert"),{getMaxListeners:S2,setMaxListeners:R2,getEventListeners:Cre,defaultMaxListeners:v2}=require("node:events"),Ire=Symbol("abortController"),M2=new ore(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),Qh=new WeakMap;function P2(t){return e;function e(){let r=t.deref();if(r!==void 0){M2.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let n=Qh.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()}Qh.delete(r.signal)}}}}o(P2,"buildAbort");var D2=!1,oo=class t{static{o(this,"Request")}constructor(e,r={}){if(j.util.markAsUncloneable(this),e===Bh)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=yh.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[XQ]=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=xh({urlList:[y]}),i="cors"}else this[XQ]=r.dispatcher||e[XQ],Ere(e instanceof t),s=e[Le],c=e[Ch];let l=yh.settingsObject.origin,A="client";if(s.window?.constructor?.name==="EnvironmentSettingsObject"&&N2(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=xh({method:s.method,headersList:s.headersList,unsafeRequest:s.unsafeRequest,client:yh.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&&!N2(E,yh.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=gre[y];if(E!==void 0)s.method=E;else{if(!are(y))throw new TypeError(`'${y}' is not a valid HTTP method.`);let I=y.toUpperCase();if(cre.has(I))throw new TypeError(`'${y}' HTTP method is unsupported.`);y=fre[I]??y,s.method=y}!D2&&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"}),D2=!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[Ire]=m;let y=new WeakRef(m),E=P2(y);try{(typeof S2=="function"&&S2(c)===v2||Cre(c,"abort").length>=v2)&&R2(1500,c)}catch{}Eh.addAbortListener(c,E),M2.register(m,{signal:c,abort:E},E)}}if(this[_r]=new T2(Bh),k2(this[_r],s.headersList),ZQ(this[_r],"request"),d==="no-cors"){if(!lre.has(s.method))throw new TypeError(`'${s.method} is unsupported in no-cors mode.`);ZQ(this[_r],"request-no-cors")}if(u){let y=b2(this[_r]),E=r.headers!==void 0?r.headers:new Ih(y);if(y.clear(),E instanceof Ih){for(let{name:I,value:B}of E.rawValues())y.append(I,B,!1);y.cookies=E.cookies}else sre(this[_r],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]=tre(r.body,s.keepalive);h=y,E&&!b2(this[_r]).contains("content-type",!0)&&this[_r].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(x2(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),yre(this[Le].url)}get headers(){return j.brandCheck(this,t),this[_r]}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&&Eh.isDisturbed(this[Le].body.stream)}get duplex(){return j.brandCheck(this,t),"half"}clone(){if(j.brandCheck(this,t),x2(this))throw new TypeError("unusable");let e=L2(this[Le]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let n=Qh.get(this.signal);n===void 0&&(n=new Set,Qh.set(this.signal,n));let s=new WeakRef(r);n.add(s),Eh.addAbortListener(r.signal,P2(s))}return _2(e,r.signal,ire(this[_r]))}[w2.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 ${w2.formatWithOptions(r,n)}`}};rre(oo);function xh(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 Ih(t.headersList):new Ih}}o(xh,"makeRequest");function L2(t){let e=xh({...t,body:null});return t.body!=null&&(e.body=nre(e,t.body)),e}o(L2,"cloneRequest");function _2(t,e,r){let n=new oo(Bh);return n[Le]=t,n[Ch]=e,n[_r]=new T2(Bh),k2(n[_r],t.headersList),ZQ(n[_r],r),n}o(_2,"fromInnerRequest");Object.defineProperties(oo.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(oo);j.converters.RequestInfo=function(t,e,r){return typeof t=="string"?j.converters.USVString(t,e,r):t instanceof oo?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:Are},{key:"mode",converter:j.converters.DOMString,allowedValues:dre},{key:"credentials",converter:j.converters.DOMString,allowedValues:mre},{key:"cache",converter:j.converters.DOMString,allowedValues:pre},{key:"redirect",converter:j.converters.DOMString,allowedValues:ure},{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:hre},{key:"dispatcher",converter:j.converters.any}]);F2.exports={Request:oo,makeRequest:xh,fromInnerRequest:_2,cloneRequest:L2}});var Eu=g((VRe,Z2)=>{"use strict";var{makeNetworkError:we,makeAppropriateNetworkError:bh,filterResponse:ex,makeResponse:wh,fromInnerResponse:Bre}=gu(),{HeadersList:U2}=ia(),{Request:Qre,cloneRequest:xre}=Kc(),ao=require("node:zlib"),{bytesMatch:bre,makePolicyContainer:wre,clonePolicyContainer:Nre,requestBadPort:Sre,TAOCheck:Rre,appendRequestOriginHeader:vre,responseLocationURL:Pre,requestCurrentURL:hs,setRequestReferrerPolicyOnRedirect:Dre,tryUpgradeRequestToAPotentiallyTrustworthyURL:Tre,createOpaqueTimingInfo:ix,appendFetchMetadata:kre,corsCheck:Mre,crossOriginResourcePolicyCheck:Lre,determineRequestsReferrer:_re,coarsenedSharedCurrentTime:yu,createDeferredPromise:Fre,isBlobLike:Ure,sameOrigin:sx,isCancelled:aa,isAborted:O2,isErrorLike:Ore,fullyReadBody:qre,readableStreamClose:Hre,isomorphicEncode:Nh,urlIsLocal:zre,urlIsHttpHttpsScheme:ox,urlHasHttpsScheme:Gre,clampAndCoarsenConnectionTimingInfo:Yre,simpleRangeHeaderValue:Vre,buildContentRange:Jre,createInflate:$re,extractMimeType:Wre}=Pr(),{kState:G2,kDispatcher:jre}=Wi(),ca=require("node:assert"),{safelyExtractBody:ax,extractBody:q2}=Sc(),{redirectStatusSet:Y2,nullBodyStatus:V2,safeMethodsSet:Kre,requestBodyHeader:Xre,subresourceSet:Zre}=qA(),ene=require("node:events"),{Readable:tne,pipeline:rne,finished:nne}=require("node:stream"),{addAbortListener:sne,isErrored:ine,isReadable:Sh,bufferToLowerCasedHeaderName:H2}=ce(),{dataURLProcessor:one,serializeAMimeType:ane,minimizeSupportedMimeType:cne}=lr(),{getGlobalDispatcher:lne}=uh(),{webidl:Ane}=Tt(),{STATUS_CODES:une}=require("node:http"),dne=["GET","HEAD"],mne=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",tx,Rh=class extends ene{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 pne(t){J2(t,"fetch")}o(pne,"handleFetchDone");function hne(t,e=void 0){Ane.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=Fre(),n;try{n=new Qre(t,e)}catch(u){return r.reject(u),r.promise}let s=n[G2];if(n.signal.aborted)return rx(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 sne(n.signal,()=>{c=!0,ca(l!=null),l.abort(n.signal.reason);let u=a?.deref();rx(r,s,u,n.signal.reason)}),l=W2({request:s,processResponseEndOfBody:pne,processResponse:o(u=>{if(!c){if(u.aborted){rx(r,s,a,l.serializedAbortReason);return}if(u.type==="error"){r.reject(new TypeError("fetch failed",{cause:u.error}));return}a=new WeakRef(Bre(u,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:n[jre]}),r.promise}o(hne,"fetch");function J2(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],n=t.timingInfo,s=t.cacheState;ox(r)&&n!==null&&(t.timingAllowPassed||(n=ix({startTime:n.startTime}),s=""),n.endTime=yu(),t.timingInfo=n,$2(n,r.href,e,globalThis,s))}o(J2,"finalizeAndReportTiming");var $2=performance.markResourceTiming;function rx(t,e,r,n){if(t&&t.reject(n),e.body!=null&&Sh(e.body?.stream)&&e.body.stream.cancel(n).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i}),r==null)return;let s=r[G2];s.body!=null&&Sh(s.body?.stream)&&s.body.stream.cancel(n).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i})}o(rx,"abortFetch");function W2({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:s,processResponseConsumeBody:i,useParallelQueue:a=!1,dispatcher:c=lne()}){ca(c);let l=null,A=!1;t.client!=null&&(l=t.client.globalObject,A=t.client.crossOriginIsolatedCapability);let u=yu(A),d=ix({startTime:u}),m={controller:new Rh(c),request:t,timingInfo:d,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:i,processResponseEndOfBody:s,taskDestination:l,crossOriginIsolatedCapability:A};return ca(!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=Nre(t.client.policyContainer):t.policyContainer=wre()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,Zre.has(t.destination),j2(m).catch(p=>{m.controller.terminate(p)}),m.controller}o(W2,"fetching");async function j2(t,e=!1){let r=t.request,n=null;if(r.localURLsOnly&&!zre(hs(r))&&(n=we("local URLs only")),Tre(r),Sre(r)==="blocked"&&(n=we("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=_re(r)),n===null&&(n=await(async()=>{let i=hs(r);return sx(i,r.url)&&r.responseTainting==="basic"||i.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await z2(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 z2(t)):ox(hs(r))?(r.responseTainting="cors",await K2(t)):we("URL scheme must be a HTTP(S) scheme")})()),e)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=ex(n,"basic"):r.responseTainting==="cors"?n=ex(n,"cors"):r.responseTainting==="opaque"?n=ex(n,"opaque"):ca(!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"||V2.includes(s.status))&&(s.body=null,t.controller.dump=!0),r.integrity){let i=o(c=>nx(t,we(c)),"processBodyError");if(r.responseTainting==="opaque"||n.body==null){i(n.error);return}let a=o(c=>{if(!bre(c,r.integrity)){i("integrity mismatch");return}n.body=ax(c)[0],nx(t,n)},"processBody");await qre(n.body,a,i)}else nx(t,n)}o(j2,"mainFetch");function z2(t){if(aa(t)&&t.request.redirectCount===0)return Promise.resolve(bh(t));let{request:e}=t,{protocol:r}=hs(e);switch(r){case"about:":return Promise.resolve(we("about scheme is not supported"));case"blob:":{tx||(tx=require("node:buffer").resolveObjectURL);let n=hs(e);if(n.search.length!==0)return Promise.resolve(we("NetworkError when attempting to fetch resource."));let s=tx(n.toString());if(e.method!=="GET"||!Ure(s))return Promise.resolve(we("invalid method"));let i=wh(),a=s.size,c=Nh(`${a}`),l=s.type;if(e.headersList.contains("range",!0)){i.rangeRequested=!0;let A=e.headersList.get("range",!0),u=Vre(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=q2(p);i.body=h[0];let f=Nh(`${p.size}`),C=Jre(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=q2(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=hs(e),s=one(n);if(s==="failure")return Promise.resolve(we("failed to fetch the data URL"));let i=ane(s.mimeType);return Promise.resolve(wh({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:i}]],body:ax(s.body)[0]}))}case"file:":return Promise.resolve(we("not implemented... yet..."));case"http:":case"https:":return K2(t).catch(n=>we(n));default:return Promise.resolve(we("unknown scheme"))}}o(z2,"schemeFetch");function fne(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(fne,"finalizeResponse");function nx(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=ix(r),c="");let A=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){A=e.status;let u=Wre(e.headersList);u!=="failure"&&(l.contentType=cne(u))}t.request.initiatorType!=null&&$2(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():nne(s.body.stream,()=>{n()})}o(nx,"fetchFinale");async function K2(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 X2(t),e.responseTainting==="cors"&&Mre(e,r)==="failure")return we("cors failure");Rre(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&Lre(e.origin,e.client,e.destination,n)==="blocked"?we("blocked"):(Y2.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 gne(t,r):ca(!1)),r.timingInfo=s,r)}o(K2,"httpFetch");function gne(t,e){let r=t.request,n=e.internalResponse?e.internalResponse:e,s;try{if(s=Pre(n,hs(r).hash),s==null)return e}catch(a){return Promise.resolve(we(a))}if(!ox(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)&&!sx(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&&!dne.includes(r.method)){r.method="GET",r.body=null;for(let a of Xre)r.headersList.delete(a)}sx(hs(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&&(ca(r.body.source!=null),r.body=ax(r.body.source)[0]);let i=t.timingInfo;return i.redirectEndTime=i.postRedirectStartTime=yu(t.crossOriginIsolatedCapability),i.redirectStartTime===0&&(i.redirectStartTime=i.startTime),r.urlList.push(s),Dre(r,n),j2(t,!0)}o(gne,"httpRedirectFetch");async function X2(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=xre(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=Nh(`${u}`)),d!=null&&i.headersList.append("content-length",d,!0),u!=null&&i.keepalive,i.referrer instanceof URL&&i.headersList.append("referer",Nh(i.referrer.href),!0),vre(i),kre(i),i.headersList.contains("user-agent",!0)||i.headersList.append("user-agent",mne),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)||(Gre(hs(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 yne(s,A,r);!Kre.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():aa(t)?bh(t):we("proxy authentication required");if(a.status===421&&!r&&(n.body==null||n.body.source!=null)){if(aa(t))return bh(t);t.controller.connection.destroy(),a=await X2(t,e,!0)}return a}o(X2,"httpNetworkOrCacheFetch");async function yne(t,e=!1,r=!1){ca(!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){aa(t)||(yield y,t.processRequestBodyChunkLength?.(y.byteLength))},"processBodyChunk"),f=o(()=>{aa(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),C=o(y=>{aa(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=wh({status:f,statusText:C,headersList:y,socket:E});else{let I=h[Symbol.asyncIterator]();t.controller.next=()=>I.next(),s=wh({status:f,statusText:C,headersList:y})}}catch(h){return h.name==="AbortError"?(t.controller.connection.destroy(),bh(t,h)):we(h)}let A=o(async()=>{await t.controller.resume()},"pullAlgorithm"),u=o(h=>{aa(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(O2(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){Hre(t.controller.controller),fne(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),ine(d)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function m(h){O2(t)?(s.aborted=!0,Sh(d)&&t.controller.controller.error(t.controller.serializedAbortReason)):Sh(d)&&t.controller.controller.error(new TypeError("terminated",{cause:Ore(h)?h:void 0})),t.controller.connection.destroy()}return o(m,"onAborted"),s;function p({body:h}){let f=hs(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=Yre(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=yu(t.crossOriginIsolatedCapability)},onResponseStarted(){i.finalNetworkResponseStartTime=yu(t.crossOriginIsolatedCapability)},onHeaders(I,B,N,k){if(I<200)return;let S="",de=new U2;for(let ae=0;ae<B.length;ae+=2)de.append(H2(B[ae]),B[ae+1].toString("latin1"),!0);S=de.get("location",!0),this.body=new tne({read:N});let ye=[],Qe=S&&n.redirect==="follow"&&Y2.has(I);if(n.method!=="HEAD"&&n.method!=="CONNECT"&&!V2.includes(I)&&!Qe){let ae=de.get("content-encoding",!0),De=ae?ae.toLowerCase().split(","):[],ee=5;if(De.length>ee)return E(new Error(`too many content-encodings in response: ${De.length}, maximum allowed is ${ee}`)),!0;for(let Jt=De.length-1;Jt>=0;--Jt){let H=De[Jt].trim();if(H==="x-gzip"||H==="gzip")ye.push(ao.createGunzip({flush:ao.constants.Z_SYNC_FLUSH,finishFlush:ao.constants.Z_SYNC_FLUSH}));else if(H==="deflate")ye.push($re({flush:ao.constants.Z_SYNC_FLUSH,finishFlush:ao.constants.Z_SYNC_FLUSH}));else if(H==="br")ye.push(ao.createBrotliDecompress({flush:ao.constants.BROTLI_OPERATION_FLUSH,finishFlush:ao.constants.BROTLI_OPERATION_FLUSH}));else{ye.length=0;break}}}let Ne=this.onError.bind(this);return y({status:I,statusText:k,headersList:de,body:ye.length?rne(this.body,...ye,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 k=new U2;for(let S=0;S<B.length;S+=2)k.append(H2(B[S]),B[S+1].toString("latin1"),!0);return y({status:I,statusText:une[I],headersList:k,socket:N}),!0}}))}o(p,"dispatch")}o(yne,"httpNetworkFetch");Z2.exports={fetch:hne,Fetch:Rh,fetching:W2,finalizeAndReportTiming:J2}});var cx=g(($Re,eF)=>{"use strict";eF.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 rF=g((WRe,tF)=>{"use strict";var{webidl:Fr}=Tt(),vh=Symbol("ProgressEvent state"),lx=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=Fr.converters.DOMString(e,"ProgressEvent constructor","type"),r=Fr.converters.ProgressEventInit(r??{}),super(e,r),this[vh]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return Fr.brandCheck(this,t),this[vh].lengthComputable}get loaded(){return Fr.brandCheck(this,t),this[vh].loaded}get total(){return Fr.brandCheck(this,t),this[vh].total}};Fr.converters.ProgressEventInit=Fr.dictionaryConverter([{key:"lengthComputable",converter:Fr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"loaded",converter:Fr.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"total",converter:Fr.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"bubbles",converter:Fr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:Fr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:Fr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}]);tF.exports={ProgressEvent:lx}});var sF=g((KRe,nF)=>{"use strict";function Ene(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(Ene,"getEncoding");nF.exports={getEncoding:Ene}});var dF=g((ZRe,uF)=>{"use strict";var{kState:Xc,kError:Ax,kResult:iF,kAborted:Cu,kLastProgressEventFired:ux}=cx(),{ProgressEvent:Cne}=rF(),{getEncoding:oF}=sF(),{serializeAMimeType:Ine,parseMIMEType:aF}=lr(),{types:Bne}=require("node:util"),{StringDecoder:cF}=require("string_decoder"),{btoa:lF}=require("node:buffer"),Qne={enumerable:!0,writable:!1,configurable:!1};function xne(t,e,r,n){if(t[Xc]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[Xc]="loading",t[iF]=null,t[Ax]=null;let i=e.stream().getReader(),a=[],c=i.read(),l=!0;(async()=>{for(;!t[Cu];)try{let{done:A,value:u}=await c;if(l&&!t[Cu]&&queueMicrotask(()=>{co("loadstart",t)}),l=!1,!A&&Bne.isUint8Array(u))a.push(u),(t[ux]===void 0||Date.now()-t[ux]>=50)&&!t[Cu]&&(t[ux]=Date.now(),queueMicrotask(()=>{co("progress",t)})),c=i.read();else if(A){queueMicrotask(()=>{t[Xc]="done";try{let d=bne(a,r,e.type,n);if(t[Cu])return;t[iF]=d,co("load",t)}catch(d){t[Ax]=d,co("error",t)}t[Xc]!=="loading"&&co("loadend",t)});break}}catch(A){if(t[Cu])return;queueMicrotask(()=>{t[Xc]="done",t[Ax]=A,co("error",t),t[Xc]!=="loading"&&co("loadend",t)});break}})()}o(xne,"readOperation");function co(t,e){let r=new Cne(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(co,"fireAProgressEvent");function bne(t,e,r,n){switch(e){case"DataURL":{let s="data:",i=aF(r||"application/octet-stream");i!=="failure"&&(s+=Ine(i)),s+=";base64,";let a=new cF("latin1");for(let c of t)s+=lF(a.write(c));return s+=lF(a.end()),s}case"Text":{let s="failure";if(n&&(s=oF(n)),s==="failure"&&r){let i=aF(r);i!=="failure"&&(s=oF(i.parameters.get("charset")))}return s==="failure"&&(s="UTF-8"),wne(t,s)}case"ArrayBuffer":return AF(t).buffer;case"BinaryString":{let s="",i=new cF("latin1");for(let a of t)s+=i.write(a);return s+=i.end(),s}}}o(bne,"packageData");function wne(t,e){let r=AF(t),n=Nne(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(wne,"decode");function Nne(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(Nne,"BOMSniffing");function AF(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(AF,"combineByteSequences");uF.exports={staticPropertyDescriptors:Qne,readOperation:xne,fireAProgressEvent:co}});var fF=g((tve,hF)=>{"use strict";var{staticPropertyDescriptors:Zc,readOperation:Ph,fireAProgressEvent:mF}=dF(),{kState:la,kError:pF,kResult:Dh,kEvents:Ce,kAborted:Sne}=cx(),{webidl:Re}=Tt(),{kEnumerableProperty:dr}=ce(),zn=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[la]="empty",this[Dh]=null,this[pF]=null,this[Ce]={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}),Ph(this,e,"ArrayBuffer")}readAsBinaryString(e){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=Re.converters.Blob(e,{strict:!1}),Ph(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")),Ph(this,e,"Text",r)}readAsDataURL(e){Re.brandCheck(this,t),Re.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=Re.converters.Blob(e,{strict:!1}),Ph(this,e,"DataURL")}abort(){if(this[la]==="empty"||this[la]==="done"){this[Dh]=null;return}this[la]==="loading"&&(this[la]="done",this[Dh]=null),this[Sne]=!0,mF("abort",this),this[la]!=="loading"&&mF("loadend",this)}get readyState(){switch(Re.brandCheck(this,t),this[la]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return Re.brandCheck(this,t),this[Dh]}get error(){return Re.brandCheck(this,t),this[pF]}get onloadend(){return Re.brandCheck(this,t),this[Ce].loadend}set onloadend(e){Re.brandCheck(this,t),this[Ce].loadend&&this.removeEventListener("loadend",this[Ce].loadend),typeof e=="function"?(this[Ce].loadend=e,this.addEventListener("loadend",e)):this[Ce].loadend=null}get onerror(){return Re.brandCheck(this,t),this[Ce].error}set onerror(e){Re.brandCheck(this,t),this[Ce].error&&this.removeEventListener("error",this[Ce].error),typeof e=="function"?(this[Ce].error=e,this.addEventListener("error",e)):this[Ce].error=null}get onloadstart(){return Re.brandCheck(this,t),this[Ce].loadstart}set onloadstart(e){Re.brandCheck(this,t),this[Ce].loadstart&&this.removeEventListener("loadstart",this[Ce].loadstart),typeof e=="function"?(this[Ce].loadstart=e,this.addEventListener("loadstart",e)):this[Ce].loadstart=null}get onprogress(){return Re.brandCheck(this,t),this[Ce].progress}set onprogress(e){Re.brandCheck(this,t),this[Ce].progress&&this.removeEventListener("progress",this[Ce].progress),typeof e=="function"?(this[Ce].progress=e,this.addEventListener("progress",e)):this[Ce].progress=null}get onload(){return Re.brandCheck(this,t),this[Ce].load}set onload(e){Re.brandCheck(this,t),this[Ce].load&&this.removeEventListener("load",this[Ce].load),typeof e=="function"?(this[Ce].load=e,this.addEventListener("load",e)):this[Ce].load=null}get onabort(){return Re.brandCheck(this,t),this[Ce].abort}set onabort(e){Re.brandCheck(this,t),this[Ce].abort&&this.removeEventListener("abort",this[Ce].abort),typeof e=="function"?(this[Ce].abort=e,this.addEventListener("abort",e)):this[Ce].abort=null}};zn.EMPTY=zn.prototype.EMPTY=0;zn.LOADING=zn.prototype.LOADING=1;zn.DONE=zn.prototype.DONE=2;Object.defineProperties(zn.prototype,{EMPTY:Zc,LOADING:Zc,DONE:Zc,readAsArrayBuffer:dr,readAsBinaryString:dr,readAsText:dr,readAsDataURL:dr,abort:dr,readyState:dr,result:dr,error:dr,onloadstart:dr,onprogress:dr,onload:dr,onabort:dr,onerror:dr,onloadend:dr,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(zn,{EMPTY:Zc,LOADING:Zc,DONE:Zc});hF.exports={FileReader:zn}});var Th=g((nve,gF)=>{"use strict";gF.exports={kConstruct:Oe().kConstruct}});var CF=g((sve,EF)=>{"use strict";var Rne=require("node:assert"),{URLSerializer:yF}=lr(),{isValidHeaderName:vne}=Pr();function Pne(t,e,r=!1){let n=yF(t,r),s=yF(e,r);return n===s}o(Pne,"urlEquals");function Dne(t){Rne(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),vne(r)&&e.push(r);return e}o(Dne,"getFieldValues");EF.exports={urlEquals:Pne,getFieldValues:Dne}});var QF=g((ove,BF)=>{"use strict";var{kConstruct:Tne}=Th(),{urlEquals:kne,getFieldValues:dx}=CF(),{kEnumerableProperty:Aa,isDisturbed:Mne}=ce(),{webidl:G}=Tt(),{Response:Lne,cloneResponse:_ne,fromInnerResponse:Fne}=gu(),{Request:Ei,fromInnerRequest:Une}=Kc(),{kState:Gn}=Wi(),{fetching:One}=Eu(),{urlIsHttpHttpsScheme:kh,createDeferredPromise:el,readAllBytes:qne}=Pr(),mx=require("node:assert"),Mh=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==Tne&&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[Gn];if(!kh(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 Ei(m)[Gn];if(!kh(p.url))throw G.errors.exception({header:r,message:"Expected http/s scheme."});p.initiator="fetch",p.destination="subresource",s.push(p);let h=el();i.push(One({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=dx(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=el(),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 Ei?s=e[Gn]:s=new Ei(e)[Gn],!kh(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[Gn];if(i.status===206)throw G.errors.exception({header:n,message:"Got 206 status"});if(i.headersList.contains("vary")){let p=dx(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&&(Mne(i.body.stream)||i.body.stream.locked))throw G.errors.exception({header:n,message:"Response body is locked or disturbed"});let a=_ne(i),c=el();if(i.body!=null){let h=i.body.stream.getReader();qne(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=el(),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 Ei){if(s=e[Gn],s.method!=="GET"&&!r.ignoreMethod)return!1}else mx(typeof e=="string"),s=new Ei(e)[Gn];let i=[],a={type:"delete",request:s,options:r};i.push(a);let c=el(),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 Ei){if(s=e[Gn],s.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(s=new Ei(e)[Gn]);let i=el(),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=Une(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);mx(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(!kh(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);mx(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=""),!kne(i,a,!0))return!1;if(n==null||s?.ignoreVary||!n.headersList.contains("vary"))return!0;let c=dx(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 Ei){if(s=e[Gn],s.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(s=new Ei(e)[Gn]);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=Fne(c,"immutable");if(a.push(l.clone()),a.length>=n)break}return Object.freeze(a)}};Object.defineProperties(Mh.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:Aa,matchAll:Aa,add:Aa,addAll:Aa,put:Aa,delete:Aa,keys:Aa});var IF=[{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(IF);G.converters.MultiCacheQueryOptions=G.dictionaryConverter([...IF,{key:"cacheName",converter:G.converters.DOMString}]);G.converters.Response=G.interfaceConverter(Lne);G.converters["sequence<RequestInfo>"]=G.sequenceConverter(G.converters.RequestInfo);BF.exports={Cache:Mh}});var bF=g((cve,xF)=>{"use strict";var{kConstruct:Iu}=Th(),{Cache:Lh}=QF(),{webidl:Ut}=Tt(),{kEnumerableProperty:Bu}=ce(),_h=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==Iu&&Ut.illegalConstructor(),Ut.util.markAsUncloneable(this)}async match(e,r={}){if(Ut.brandCheck(this,t),Ut.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=Ut.converters.RequestInfo(e),r=Ut.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new Lh(Iu,n).match(e,r)}}else for(let n of this.#e.values()){let i=await new Lh(Iu,n).match(e,r);if(i!==void 0)return i}}async has(e){Ut.brandCheck(this,t);let r="CacheStorage.has";return Ut.argumentLengthCheck(arguments,1,r),e=Ut.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){Ut.brandCheck(this,t);let r="CacheStorage.open";if(Ut.argumentLengthCheck(arguments,1,r),e=Ut.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let s=this.#e.get(e);return new Lh(Iu,s)}let n=[];return this.#e.set(e,n),new Lh(Iu,n)}async delete(e){Ut.brandCheck(this,t);let r="CacheStorage.delete";return Ut.argumentLengthCheck(arguments,1,r),e=Ut.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return Ut.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(_h.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:Bu,has:Bu,open:Bu,delete:Bu,keys:Bu});xF.exports={CacheStorage:_h}});var NF=g((Ave,wF)=>{"use strict";wF.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var fx=g((uve,PF)=>{"use strict";function Hne(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r>=0&&r<=8||r>=10&&r<=31||r===127)return!0}return!1}o(Hne,"isCTLExcludingHtab");function px(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r<33||r>126||r===34||r===40||r===41||r===60||r===62||r===64||r===44||r===59||r===58||r===92||r===47||r===91||r===93||r===63||r===61||r===123||r===125)throw new Error("Invalid cookie name")}}o(px,"validateCookieName");function hx(t){let e=t.length,r=0;if(t[0]==='"'){if(e===1||t[e-1]!=='"')throw new Error("Invalid cookie value");--e,++r}for(;r<e;){let n=t.charCodeAt(r++);if(n<33||n>126||n===34||n===44||n===59||n===92)throw new Error("Invalid cookie value")}}o(hx,"validateCookieValue");function RF(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r<32||r>126||r===59)throw new Error("Invalid cookie path")}}o(RF,"validateCookiePath");function SF(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}o(SF,"isLetterOrDigit");function zne(t){if(t===" ")return;if(t.length>255)throw new Error("Invalid cookie domain");let e=0;for(let r=0;r<t.length;++r){let n=t.charCodeAt(r);if(n===46){if(e===0)throw new Error("Invalid cookie domain");if(t.charCodeAt(r-1)===45)throw new Error("Invalid cookie domain");e=0;continue}if(e===0&&!SF(n))throw new Error("Invalid cookie domain");if(!SF(n)&&n!==45)throw new Error("Invalid cookie domain");if(++e>63)throw new Error("Invalid cookie domain")}if(e===0||t.charCodeAt(t.length-1)===45)throw new Error("Invalid cookie domain")}o(zne,"validateCookieDomain");var Gne=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Yne=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Fh=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function vF(t){return typeof t=="number"&&(t=new Date(t)),`${Gne[t.getUTCDay()]}, ${Fh[t.getUTCDate()]} ${Yne[t.getUTCMonth()]} ${t.getUTCFullYear()} ${Fh[t.getUTCHours()]}:${Fh[t.getUTCMinutes()]}:${Fh[t.getUTCSeconds()]} GMT`}o(vF,"toIMFDate");function Vne(t){if(t<0)throw new Error("Invalid cookie max-age")}o(Vne,"validateCookieMaxAge");function Jne(t){if(t.name.length===0)return null;px(t.name),hx(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"&&(Vne(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(zne(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(RF(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${vF(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("=");px(i),hx(a),e.push(`${i}=${a}`)}return e.join("; ")}o(Jne,"stringify");PF.exports={isCTLExcludingHtab:Hne,validateCookieName:px,validateCookiePath:RF,validateCookieValue:hx,toIMFDate:vF,stringify:Jne}});var TF=g((mve,DF)=>{"use strict";var{maxNameValuePairSize:$ne,maxAttributeValueSize:Wne}=NF(),{isCTLExcludingHtab:jne}=fx(),{collectASequenceOfCodePointsFast:Uh}=lr(),Kne=require("node:assert");function Xne(t){if(jne(t))return null;let e="",r="",n="",s="";if(t.includes(";")){let i={position:0};e=Uh(";",t,i),r=t.slice(i.position)}else e=t;if(!e.includes("="))s=e;else{let i={position:0};n=Uh("=",e,i),s=e.slice(i.position+1)}return n=n.trim(),s=s.trim(),n.length+s.length>$ne?null:{name:n,value:s,...tl(r)}}o(Xne,"parseSetCookie");function tl(t,e={}){if(t.length===0)return e;Kne(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=Uh(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",s="";if(r.includes("=")){let a={position:0};n=Uh("=",r,a),s=r.slice(a.position+1)}else n=r;if(n=n.trim(),s=s.trim(),s.length>Wne)return tl(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 tl(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 tl(t,e)}o(tl,"parseUnparsedAttributes");DF.exports={parseSetCookie:Xne,parseUnparsedAttributes:tl}});var LF=g((hve,MF)=>{"use strict";var{parseSetCookie:Zne}=TF(),{stringify:ese}=fx(),{webidl:pe}=Tt(),{Headers:Oh}=ia();function tse(t){pe.argumentLengthCheck(arguments,1,"getCookies"),pe.brandCheck(t,Oh,{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(tse,"getCookies");function rse(t,e,r){pe.brandCheck(t,Oh,{strict:!1});let n="deleteCookie";pe.argumentLengthCheck(arguments,2,n),e=pe.converters.DOMString(e,n,"name"),r=pe.converters.DeleteCookieAttributes(r),kF(t,{name:e,value:"",expires:new Date(0),...r})}o(rse,"deleteCookie");function nse(t){pe.argumentLengthCheck(arguments,1,"getSetCookies"),pe.brandCheck(t,Oh,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>Zne(r)):[]}o(nse,"getSetCookies");function kF(t,e){pe.argumentLengthCheck(arguments,2,"setCookie"),pe.brandCheck(t,Oh,{strict:!1}),e=pe.converters.Cookie(e);let r=ese(e);r&&t.append("Set-Cookie",r)}o(kF,"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")}]);MF.exports={getCookies:tse,deleteCookie:rse,getSetCookies:nse,setCookie:kF}});var nl=g((gve,FF)=>{"use strict";var{webidl:z}=Tt(),{kEnumerableProperty:mr}=ce(),{kConstruct:_F}=Oe(),{MessagePort:sse}=require("node:worker_threads"),rl=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===_F){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(_F,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:ise}=rl;delete rl.createFastMessageEvent;var qh=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}},Hh=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(rl.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:mr,origin:mr,lastEventId:mr,source:mr,ports:mr,initMessageEvent:mr});Object.defineProperties(qh.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:mr,code:mr,wasClean:mr});Object.defineProperties(Hh.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:mr,filename:mr,lineno:mr,colno:mr,error:mr});z.converters.MessagePort=z.interfaceConverter(sse);z.converters["sequence<MessagePort>"]=z.sequenceConverter(z.converters.MessagePort);var gx=[{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([...gx,{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<MessagePort>"],defaultValue:o(()=>new Array(0),"defaultValue")}]);z.converters.CloseEventInit=z.dictionaryConverter([...gx,{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([...gx,{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}]);FF.exports={MessageEvent:rl,CloseEvent:qh,ErrorEvent:Hh,createFastMessageEvent:ise}});var ua=g((Eve,UF)=>{"use strict";var ose="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",ase={enumerable:!0,writable:!1,configurable:!1},cse={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},lse={NOT_SENT:0,PROCESSING:1,SENT:2},Ase={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},use=2**16-1,dse={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},mse=Buffer.allocUnsafe(0),pse={string:1,typedArray:2,arrayBuffer:3,blob:4};UF.exports={uid:ose,sentCloseFrameState:lse,staticPropertyDescriptors:ase,states:cse,opcodes:Ase,maxUnsigned16Bit:use,parserStates:dse,emptyBuffer:mse,sendHints:pse}});var Qu=g((Cve,OF)=>{"use strict";OF.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 wu=g((Ive,WF)=>{"use strict";var{kReadyState:xu,kController:hse,kResponse:fse,kBinaryType:gse,kWebSocketURL:yse}=Qu(),{states:bu,opcodes:lo}=ua(),{ErrorEvent:Ese,createFastMessageEvent:Cse}=nl(),{isUtf8:Ise}=require("node:buffer"),{collectASequenceOfCodePointsFast:Bse,removeHTTPWhitespace:qF}=lr();function Qse(t){return t[xu]===bu.CONNECTING}o(Qse,"isConnecting");function xse(t){return t[xu]===bu.OPEN}o(xse,"isEstablished");function bse(t){return t[xu]===bu.CLOSING}o(bse,"isClosing");function wse(t){return t[xu]===bu.CLOSED}o(wse,"isClosed");function yx(t,e,r=(s,i)=>new Event(s,i),n={}){let s=r(t,n);e.dispatchEvent(s)}o(yx,"fireEvent");function Nse(t,e,r){if(t[xu]!==bu.OPEN)return;let n;if(e===lo.TEXT)try{n=$F(r)}catch{zF(t,"Received invalid UTF-8 in text frame.");return}else e===lo.BINARY&&(t[gse]==="blob"?n=new Blob([r]):n=Sse(r));yx("message",t,Cse,{origin:t[yse].origin,data:n})}o(Nse,"websocketMessageReceived");function Sse(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(Sse,"toArrayBuffer");function Rse(t){if(t.length===0)return!1;for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r<33||r>126||r===34||r===40||r===41||r===44||r===47||r===58||r===59||r===60||r===61||r===62||r===63||r===64||r===91||r===92||r===93||r===123||r===125)return!1}return!0}o(Rse,"isValidSubprotocol");function vse(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(vse,"isValidStatusCode");function zF(t,e){let{[hse]:r,[fse]:n}=t;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),e&&yx("error",t,(s,i)=>new Ese(s,i),{error:new Error(e),message:e})}o(zF,"failWebsocketConnection");function GF(t){return t===lo.CLOSE||t===lo.PING||t===lo.PONG}o(GF,"isControlFrame");function YF(t){return t===lo.CONTINUATION}o(YF,"isContinuationFrame");function VF(t){return t===lo.TEXT||t===lo.BINARY}o(VF,"isTextBinaryFrame");function Pse(t){return VF(t)||YF(t)||GF(t)}o(Pse,"isValidOpcode");function Dse(t){let e={position:0},r=new Map;for(;e.position<t.length;){let n=Bse(";",t,e),[s,i=""]=n.split("=");r.set(qF(s,!0,!1),qF(i,!1,!0)),e.position++}return r}o(Dse,"parseExtensions");function Tse(t){if(t.length===0)return!1;for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);if(n<48||n>57)return!1}let e=Number.parseInt(t,10);return e>=8&&e<=15}o(Tse,"isValidClientWindowBits");var JF=typeof process.versions.icu=="string",HF=JF?new TextDecoder("utf-8",{fatal:!0}):void 0,$F=JF?HF.decode.bind(HF):function(t){if(Ise(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};WF.exports={isConnecting:Qse,isEstablished:xse,isClosing:bse,isClosed:wse,fireEvent:yx,isValidSubprotocol:Rse,isValidStatusCode:vse,failWebsocketConnection:zF,websocketMessageReceived:Nse,utf8Decode:$F,isControlFrame:GF,isContinuationFrame:YF,isTextBinaryFrame:VF,isValidOpcode:Pse,parseExtensions:Dse,isValidClientWindowBits:Tse}});var Gh=g((Qve,jF)=>{"use strict";var{maxUnsigned16Bit:kse}=ua(),zh=16386,Ex,Nu=null,sl=zh;try{Ex=require("node:crypto")}catch{Ex={randomFillSync:o(function(e,r,n){for(let s=0;s<e.length;++s)e[s]=Math.random()*255|0;return e},"randomFillSync")}}function Mse(){return sl===zh&&(sl=0,Ex.randomFillSync(Nu??=Buffer.allocUnsafe(zh),0,zh)),[Nu[sl++],Nu[sl++],Nu[sl++],Nu[sl++]]}o(Mse,"generateMask");var Cx=class{static{o(this,"WebsocketFrameSend")}constructor(e){this.frameData=e}createFrame(e){let r=this.frameData,n=Mse(),s=r?.byteLength??0,i=s,a=6;s>kse?(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<s;++l)c[a+l]=r[l]^n[l&3];return c}};jF.exports={WebsocketFrameSend:Cx}});var Bx=g((bve,nU)=>{"use strict";var{uid:Lse,states:Su,sentCloseFrameState:Yh,emptyBuffer:_se,opcodes:Fse}=ua(),{kReadyState:Ru,kSentClose:Vh,kByteParser:XF,kReceivedClose:KF,kResponse:ZF}=Qu(),{fireEvent:Use,failWebsocketConnection:Ao,isClosing:Ose,isClosed:qse,isEstablished:Hse,parseExtensions:zse}=wu(),{channels:il}=hc(),{CloseEvent:Gse}=nl(),{makeRequest:Yse}=Kc(),{fetching:Vse}=Eu(),{Headers:Jse,getHeadersList:$se}=ia(),{getDecodeSplit:Wse}=Pr(),{WebsocketFrameSend:jse}=Gh(),Ix;try{Ix=require("node:crypto")}catch{}function Kse(t,e,r,n,s,i){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=Yse({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let d=$se(new Jse(i.headers));c.headersList=d}let l=Ix.randomBytes(16).toString("base64");c.headersList.append("sec-websocket-key",l),c.headersList.append("sec-websocket-version","13");for(let d of e)c.headersList.append("sec-websocket-protocol",d);return c.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits"),Vse({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=Ix.createHash("sha1").update(l+Lse).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=zse(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&&!Wse("sec-websocket-protocol",c.headersList).includes(C)){Ao(n,"Protocol was not set in the opening handshake.");return}d.socket.on("data",eU),d.socket.on("close",tU),d.socket.on("error",rU),il.open.hasSubscribers&&il.open.publish({address:d.socket.address(),protocol:C,extensions:h}),s(d,f)}})}o(Kse,"establishWebSocketConnection");function Xse(t,e,r,n){if(!(Ose(t)||qse(t)))if(!Hse(t))Ao(t,"Connection was closed before it was established."),t[Ru]=Su.CLOSING;else if(t[Vh]===Yh.NOT_SENT){t[Vh]=Yh.PROCESSING;let s=new jse;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=_se,t[ZF].socket.write(s.createFrame(Fse.CLOSE)),t[Vh]=Yh.SENT,t[Ru]=Su.CLOSING}else t[Ru]=Su.CLOSING}o(Xse,"closeWebSocketConnection");function eU(t){this.ws[XF].write(t)||this.pause()}o(eU,"onSocketData");function tU(){let{ws:t}=this,{[ZF]:e}=t;e.socket.off("data",eU),e.socket.off("close",tU),e.socket.off("error",rU);let r=t[Vh]===Yh.SENT&&t[KF],n=1005,s="",i=t[XF].closingInfo;i&&!i.error?(n=i.code??1005,s=i.reason):t[KF]||(n=1006),t[Ru]=Su.CLOSED,Use("close",t,(a,c)=>new Gse(a,c),{wasClean:r,code:n,reason:s}),il.close.hasSubscribers&&il.close.publish({websocket:t,code:n,reason:s})}o(tU,"onSocketClose");function rU(t){let{ws:e}=this;e[Ru]=Su.CLOSING,il.socketError.hasSubscribers&&il.socketError.publish(t),this.destroy()}o(rU,"onSocketError");nU.exports={establishWebSocketConnection:Kse,closeWebSocketConnection:Xse}});var iU=g((Nve,sU)=>{"use strict";var{createInflateRaw:Zse,Z_DEFAULT_WINDOWBITS:eie}=require("node:zlib"),{isValidClientWindowBits:tie}=wu(),{MessageSizeExceededError:rie}=Ee(),nie=Buffer.from([0,0,255,255]),Jh=Symbol("kBuffer"),vu=Symbol("kLength"),Qx=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=eie;if(this.#t.serverMaxWindowBits){if(!tie(this.#t.serverMaxWindowBits)){n(new Error("Invalid server_max_window_bits"));return}s=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=Zse({windowBits:s})}catch(i){n(i);return}this.#e[Jh]=[],this.#e[vu]=0,this.#e.on("data",i=>{if(this.#e[vu]+=i.length,this.#r>0&&this.#e[vu]>this.#r){n(new rie),this.#e.removeAllListeners(),this.#e=null;return}this.#e[Jh].push(i)}),this.#e.on("error",i=>{this.#e=null,n(i)})}this.#e.write(e),r&&this.#e.write(nie),this.#e.flush(()=>{if(!this.#e)return;let s=Buffer.concat(this.#e[Jh],this.#e[vu]);this.#e[Jh].length=0,this.#e[vu]=0,n(null,s)})}};sU.exports={PerMessageDeflate:Qx}});var hU=g((Rve,pU)=>{"use strict";var{Writable:sie}=require("node:stream"),iie=require("node:assert"),{parserStates:pr,opcodes:ol,states:oie,emptyBuffer:oU,sentCloseFrameState:aU}=ua(),{kReadyState:aie,kSentClose:cU,kResponse:lU,kReceivedClose:AU}=Qu(),{channels:$h}=hc(),{isValidStatusCode:cie,isValidOpcode:lie,failWebsocketConnection:Ur,websocketMessageReceived:uU,utf8Decode:Aie,isControlFrame:xx,isTextBinaryFrame:bx,isContinuationFrame:uie}=wu(),{WebsocketFrameSend:dU}=Gh(),{closeWebSocketConnection:mU}=Bx(),{PerMessageDeflate:die}=iU(),{MessageSizeExceededError:wx}=Ee();function Pu(t,e,r){mU(t,e,r,Buffer.byteLength(r)),Ur(t,r)}o(Pu,"failWebsocketConnectionWithCode");var Nx=class extends sie{static{o(this,"ByteParser")}#e=[];#t=0;#r=0;#i=!1;#s=pr.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 die(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&&!xx(this.#n.opcode)&&this.#n.payloadLength+this.#t>this.#c?(Pu(this.ws,1009,"Payload size exceeds maximum allowed size"),!1):!0}run(e){for(;this.#i;)if(this.#s===pr.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!==ol.CONTINUATION,c=r[1]&127,l=r[0]&64,A=r[0]&32,u=r[0]&16;if(!lie(s))return Ur(this.ws,"Invalid opcode received"),e();if(i)return Ur(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#a.has("permessage-deflate")){Ur(this.ws,"Expected RSV1 to be clear.");return}if(A!==0||u!==0){Ur(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!bx(s)){Ur(this.ws,"Invalid frame type was fragmented.");return}if(bx(s)&&this.#o.length>0){Ur(this.ws,"Expected continuation frame");return}if(this.#n.fragmented&&a){Ur(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&xx(s)){Ur(this.ws,"Control frame either too large or fragmented");return}if(uie(s)&&this.#o.length===0&&!this.#n.compressed){Ur(this.ws,"Unexpected continuation frame");return}if(c<=125){if(this.#n.payloadLength=c,this.#s=pr.READ_DATA,!this.#A())return}else c===126?this.#s=pr.PAYLOADLENGTH_16:c===127&&(this.#s=pr.PAYLOADLENGTH_64);bx(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===pr.PAYLOADLENGTH_16){if(this.#r<2)return e();let r=this.consume(2);if(this.#n.payloadLength=r.readUInt16BE(0),this.#s=pr.READ_DATA,!this.#A())return}else if(this.#s===pr.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){Ur(this.ws,"Received payload length > 2^31 bytes.");return}if(this.#n.payloadLength=s,this.#s=pr.READ_DATA,!this.#A())return}else if(this.#s===pr.READ_DATA){if(this.#r<this.#n.payloadLength)return e();let r=this.consume(this.#n.payloadLength);if(xx(this.#n.opcode))this.#i=this.parseControlFrame(r),this.#s=pr.INFO;else if(this.#n.compressed){this.#a.get("permessage-deflate").decompress(r,this.#n.fin,(n,s)=>{if(n){let i=n instanceof wx?1009:1007;Pu(this.ws,i,n.message);return}if(this.writeFragments(s)){if(this.#c>0&&this.#t>this.#c){Pu(this.ws,1009,new wx().message);return}if(!this.#n.fin){this.#s=pr.INFO,this.#i=!0,this.run(e);return}uU(this.ws,this.#n.binaryType,this.consumeFragments()),this.#i=!0,this.#s=pr.INFO,this.run(e)}}),this.#i=!1;break}else{if(!this.writeFragments(r))return;if(this.#c>0&&this.#t>this.#c){Pu(this.ws,1009,new wx().message);return}!this.#n.fragmented&&this.#n.fin&&uU(this.ws,this.#n.binaryType,this.consumeFragments()),this.#s=pr.INFO}}}consume(e){if(e>this.#r)throw new Error("Called consume() before buffers satiated.");if(e===0)return oU;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?(Pu(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){iie(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!cie(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=Aie(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===ol.CLOSE){if(n===1)return Ur(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 mU(this.ws,s,i,i.length),Ur(this.ws,i),!1}if(this.ws[cU]!==aU.SENT){let s=oU;this.#n.closeInfo.code&&(s=Buffer.allocUnsafe(2),s.writeUInt16BE(this.#n.closeInfo.code,0));let i=new dU(s);this.ws[lU].socket.write(i.createFrame(ol.CLOSE),a=>{a||(this.ws[cU]=aU.SENT)})}return this.ws[aie]=oie.CLOSING,this.ws[AU]=!0,!1}else if(r===ol.PING){if(!this.ws[AU]){let s=new dU(e);this.ws[lU].socket.write(s.createFrame(ol.PONG)),$h.ping.hasSubscribers&&$h.ping.publish({payload:e})}}else r===ol.PONG&&$h.pong.hasSubscribers&&$h.pong.publish({payload:e});return!0}get closingInfo(){return this.#n.closeInfo}};pU.exports={ByteParser:Nx}});var CU=g((Pve,EU)=>{"use strict";var{WebsocketFrameSend:mie}=Gh(),{opcodes:fU,sendHints:al}=ua(),pie=TB(),gU=Buffer[Symbol.species],Sx=class{static{o(this,"SendQueue")}#e=new pie;#t=!1;#r;constructor(e){this.#r=e}add(e,r,n){if(n!==al.blob){let i=yU(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=yU(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 yU(t,e){return new mie(hie(t,e)).createFrame(e===al.string?fU.TEXT:fU.BINARY)}o(yU,"createFrame");function hie(t,e){switch(e){case al.string:return Buffer.from(t);case al.arrayBuffer:case al.blob:return new gU(t);case al.typedArray:return new gU(t.buffer,t.byteOffset,t.byteLength)}}o(hie,"toBuffer");EU.exports={SendQueue:Sx}});var vU=g((Tve,RU)=>{"use strict";var{webidl:X}=Tt(),{URLSerializer:fie}=lr(),{environmentSettingsObject:IU}=Pr(),{staticPropertyDescriptors:uo,states:Du,sentCloseFrameState:gie,sendHints:Wh}=ua(),{kWebSocketURL:BU,kReadyState:Rx,kController:QU,kBinaryType:jh,kResponse:xU,kSentClose:yie,kByteParser:Eie}=Qu(),{isConnecting:Cie,isEstablished:Iie,isClosing:Bie,isValidSubprotocol:Qie,fireEvent:bU}=wu(),{establishWebSocketConnection:xie,closeWebSocketConnection:wU}=Bx(),{ByteParser:bie}=hU(),{kEnumerableProperty:dn,isBlobLike:NU}=ce(),{getGlobalDispatcher:wie}=uh(),{types:SU}=require("node:util"),{ErrorEvent:Nie,CloseEvent:Sie}=nl(),{SendQueue:Rie}=CU(),Or=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<DOMString> or WebSocketInit"](r,n,"options");e=X.converters.USVString(e,n,"url"),r=s.protocols;let i=IU.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=>Qie(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[BU]=new URL(a.href);let c=IU.settingsObject;this[QU]=xie(a,r,c,this,(l,A)=>this.#n(l,A),s),this[Rx]=t.CONNECTING,this[yie]=gie.NOT_SENT,this[jh]="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");wU(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"),Cie(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!Iie(this)||Bie(this)))if(typeof e=="string"){let n=Buffer.byteLength(e);this.#t+=n,this.#s.add(e,()=>{this.#t-=n},Wh.string)}else SU.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#s.add(e,()=>{this.#t-=e.byteLength},Wh.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#s.add(e,()=>{this.#t-=e.byteLength},Wh.typedArray)):NU(e)&&(this.#t+=e.size,this.#s.add(e,()=>{this.#t-=e.size},Wh.blob))}get readyState(){return X.brandCheck(this,t),this[Rx]}get bufferedAmount(){return X.brandCheck(this,t),this.#t}get url(){return X.brandCheck(this,t),fie(this[BU])}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[jh]}set binaryType(e){X.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[jh]="blob":this[jh]=e}#n(e,r){this[xU]=e;let n=this[QU]?.dispatcher?.webSocketOptions,s=n?.maxFragments,i=n?.maxPayloadSize,a=new bie(this,r,{maxFragments:s,maxPayloadSize:i});a.on("drain",vie),a.on("error",Pie.bind(this)),e.socket.ws=this,this[Eie]=a,this.#s=new Rie(e.socket),this[Rx]=Du.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),bU("open",this)}};Or.CONNECTING=Or.prototype.CONNECTING=Du.CONNECTING;Or.OPEN=Or.prototype.OPEN=Du.OPEN;Or.CLOSING=Or.prototype.CLOSING=Du.CLOSING;Or.CLOSED=Or.prototype.CLOSED=Du.CLOSED;Object.defineProperties(Or.prototype,{CONNECTING:uo,OPEN:uo,CLOSING:uo,CLOSED:uo,url:dn,readyState:dn,bufferedAmount:dn,onopen:dn,onerror:dn,onclose:dn,close:dn,onmessage:dn,binaryType:dn,send:dn,extensions:dn,protocol:dn,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Or,{CONNECTING:uo,OPEN:uo,CLOSING:uo,CLOSED:uo});X.converters["sequence<DOMString>"]=X.sequenceConverter(X.converters.DOMString);X.converters["DOMString or sequence<DOMString>"]=function(t,e,r){return X.util.Type(t)==="Object"&&Symbol.iterator in t?X.converters["sequence<DOMString>"](t):X.converters.DOMString(t,e,r)};X.converters.WebSocketInit=X.dictionaryConverter([{key:"protocols",converter:X.converters["DOMString or sequence<DOMString>"],defaultValue:o(()=>new Array(0),"defaultValue")},{key:"dispatcher",converter:X.converters.any,defaultValue:o(()=>wie(),"defaultValue")},{key:"headers",converter:X.nullableConverter(X.converters.HeadersInit)}]);X.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(t){return X.util.Type(t)==="Object"&&!(Symbol.iterator in t)?X.converters.WebSocketInit(t):{protocols:X.converters["DOMString or sequence<DOMString>"](t)}};X.converters.WebSocketSendData=function(t){if(X.util.Type(t)==="Object"){if(NU(t))return X.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||SU.isArrayBuffer(t))return X.converters.BufferSource(t)}return X.converters.USVString(t)};function vie(){this.ws[xU].socket.resume()}o(vie,"onParserDrain");function Pie(t){let e,r;t instanceof Sie?(e=t.reason,r=t.code):e=t.message,bU("error",this,()=>new Nie("error",{error:t,message:e})),wU(this,r)}o(Pie,"onParserError");RU.exports={WebSocket:Or}});var vx=g((Mve,PU)=>{"use strict";function Die(t){return t.indexOf("\0")===-1}o(Die,"isValidLastEventId");function Tie(t){if(t.length===0)return!1;for(let e=0;e<t.length;e++)if(t.charCodeAt(e)<48||t.charCodeAt(e)>57)return!1;return!0}o(Tie,"isASCIINumber");function kie(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(kie,"delay");PU.exports={isValidLastEventId:Die,isASCIINumber:Tie,delay:kie}});var MU=g((_ve,kU)=>{"use strict";var{Transform:Mie}=require("node:stream"),{isASCIINumber:DU,isValidLastEventId:TU}=vx(),Ci=[239,187,191],Px=10,Kh=13,Lie=58,_ie=32,Dx=class extends Mie{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]===Ci[0]){n();return}this.checkBOM=!1,n();return;case 2:if(this.buffer[0]===Ci[0]&&this.buffer[1]===Ci[1]){n();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===Ci[0]&&this.buffer[1]===Ci[1]&&this.buffer[2]===Ci[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,n();return}this.checkBOM=!1;break;default:this.buffer[0]===Ci[0]&&this.buffer[1]===Ci[1]&&this.buffer[2]===Ci[2]&&(this.buffer=this.buffer.subarray(3)),this.checkBOM=!1;break}for(;this.pos<this.buffer.length;){if(this.eventEndCheck){if(this.crlfCheck){if(this.buffer[this.pos]===Px){this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,this.crlfCheck=!1;continue}this.crlfCheck=!1}if(this.buffer[this.pos]===Px||this.buffer[this.pos]===Kh){this.buffer[this.pos]===Kh&&(this.crlfCheck=!0),this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,(this.event.data!==void 0||this.event.event||this.event.id||this.event.retry)&&this.processEvent(this.event),this.clearEvent();continue}this.eventEndCheck=!1;continue}if(this.buffer[this.pos]===Px||this.buffer[this.pos]===Kh){this.buffer[this.pos]===Kh&&(this.crlfCheck=!0),this.parseLine(this.buffer.subarray(0,this.pos),this.event),this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,this.eventEndCheck=!0;continue}this.pos++}n()}parseLine(e,r){if(e.length===0)return;let n=e.indexOf(Lie);if(n===0)return;let s="",i="";if(n!==-1){s=e.subarray(0,n).toString("utf8");let a=n+1;e[a]===_ie&&++a,i=e.subarray(a).toString("utf8")}else s=e.toString("utf8"),i="";switch(s){case"data":r[s]===void 0?r[s]=i:r[s]+=`
|
|
${i}`;break;case"retry":DU(i)&&(r[s]=i);break;case"id":TU(i)&&(r[s]=i);break;case"event":i.length>0&&(r[s]=i);break}}processEvent(e){e.retry&&DU(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&TU(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}}};kU.exports={EventSourceStream:Dx}});var zU=g((Uve,HU)=>{"use strict";var{pipeline:Fie}=require("node:stream"),{fetching:Uie}=Eu(),{makeRequest:Oie}=Kc(),{webidl:Ii}=Tt(),{EventSourceStream:qie}=MU(),{parseMIMEType:Hie}=lr(),{createFastMessageEvent:zie}=nl(),{isNetworkError:LU}=gu(),{delay:Gie}=vx(),{kEnumerableProperty:da}=ce(),{environmentSettingsObject:_U}=Pr(),FU=!1,UU=3e3,Tu=0,OU=1,ku=2,Yie="anonymous",Vie="use-credentials",cl=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#r=!1;#i=Tu;#s=null;#n=null;#o;#a;constructor(e,r={}){super(),Ii.util.markAsUncloneable(this);let n="EventSource constructor";Ii.argumentLengthCheck(arguments,1,n),FU||(FU=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Ii.converters.USVString(e,n,"url"),r=Ii.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:UU};let s=_U,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=Yie;r.withCredentials&&(a=Vie,this.#r=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=_U.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=Oie(c),this.#l()}get readyState(){return this.#i}get url(){return this.#t}get withCredentials(){return this.#r}#l(){if(this.#i===ku)return;this.#i=Tu;let e={request:this.#s,dispatcher:this.#o},r=o(n=>{LU(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#c()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=n=>{if(LU(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?Hie(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=OU,this.dispatchEvent(new Event("open")),this.#a.origin=n.urlList[n.urlList.length-1].origin;let c=new qie({eventSourceSettings:this.#a,push:o(l=>{this.dispatchEvent(zie(l.type,l.options))},"push")});Fie(n.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#n=Uie(e)}async#c(){this.#i!==ku&&(this.#i=Tu,this.dispatchEvent(new Event("error")),await Gie(this.#a.reconnectionTime),this.#i===Tu&&(this.#a.lastEventId.length&&this.#s.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#l()))}close(){Ii.brandCheck(this,t),this.#i!==ku&&(this.#i=ku,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}},qU={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:Tu,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:OU,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:ku,writable:!1}};Object.defineProperties(cl,qU);Object.defineProperties(cl.prototype,qU);Object.defineProperties(cl.prototype,{close:da,onerror:da,onmessage:da,onopen:da,readyState:da,url:da,withCredentials:da});Ii.converters.EventSourceInitDict=Ii.dictionaryConverter([{key:"withCredentials",converter:Ii.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"dispatcher",converter:Ii.converters.any}]);HU.exports={EventSource:cl,defaultReconnectionTime:UU}});var Tx=g((qve,K)=>{"use strict";var Jie=Mc(),GU=FA(),$ie=Lc(),Wie=qL(),jie=_c(),Kie=ZB(),Xie=u_(),Zie=y_(),YU=Ee(),Zh=ce(),{InvalidArgumentError:Xh}=YU,ll=s1(),eoe=OA(),toe=kQ(),roe=O1(),noe=_Q(),soe=IQ(),ioe=th(),{getGlobalDispatcher:VU,setGlobalDispatcher:ooe}=uh(),aoe=dh(),coe=Gp(),loe=Yp();Object.assign(GU.prototype,ll);K.exports.Dispatcher=GU;K.exports.Client=Jie;K.exports.Pool=$ie;K.exports.BalancedPool=Wie;K.exports.Agent=jie;K.exports.ProxyAgent=Kie;K.exports.EnvHttpProxyAgent=Xie;K.exports.RetryAgent=Zie;K.exports.RetryHandler=ioe;K.exports.DecoratorHandler=aoe;K.exports.RedirectHandler=coe;K.exports.createRedirectInterceptor=loe;K.exports.interceptors={redirect:J1(),retry:W1(),dump:K1(),dns:e2()};K.exports.buildConnector=eoe;K.exports.errors=YU;K.exports.util={parseHeaders:Zh.parseHeaders,headerNameToString:Zh.headerNameToString};function Mu(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 Xh("invalid url");if(r!=null&&typeof r!="object")throw new Xh("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new Xh("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(Zh.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=Zh.parseURL(e);let{agent:s,dispatcher:i=VU()}=r;if(s)throw new Xh("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(Mu,"makeDispatcher");K.exports.setGlobalDispatcher=ooe;K.exports.getGlobalDispatcher=VU;var Aoe=Eu().fetch;K.exports.fetch=o(async function(e,r=void 0){try{return await Aoe(e,r)}catch(n){throw n&&typeof n=="object"&&Error.captureStackTrace(n),n}},"fetch");K.exports.Headers=ia().Headers;K.exports.Response=gu().Response;K.exports.Request=Kc().Request;K.exports.FormData=JA().FormData;K.exports.File=globalThis.File??require("node:buffer").File;K.exports.FileReader=fF().FileReader;var{setGlobalOrigin:uoe,getGlobalOrigin:doe}=eB();K.exports.setGlobalOrigin=uoe;K.exports.getGlobalOrigin=doe;var{CacheStorage:moe}=bF(),{kConstruct:poe}=Th();K.exports.caches=new moe(poe);var{deleteCookie:hoe,getCookies:foe,getSetCookies:goe,setCookie:yoe}=LF();K.exports.deleteCookie=hoe;K.exports.getCookies=foe;K.exports.getSetCookies=goe;K.exports.setCookie=yoe;var{parseMIMEType:Eoe,serializeAMimeType:Coe}=lr();K.exports.parseMIMEType=Eoe;K.exports.serializeAMimeType=Coe;var{CloseEvent:Ioe,ErrorEvent:Boe,MessageEvent:Qoe}=nl();K.exports.WebSocket=vU().WebSocket;K.exports.CloseEvent=Ioe;K.exports.ErrorEvent=Boe;K.exports.MessageEvent=Qoe;K.exports.request=Mu(ll.request);K.exports.stream=Mu(ll.stream);K.exports.pipeline=Mu(ll.pipeline);K.exports.connect=Mu(ll.connect);K.exports.upgrade=Mu(ll.upgrade);K.exports.MockClient=toe;K.exports.MockPool=noe;K.exports.MockAgent=roe;K.exports.mockErrors=soe;var{EventSource:xoe}=zU();K.exports.EventSource=xoe});var zu=g((fDe,bO)=>{"use strict";var Yoe="2.0.0",Voe=Number.MAX_SAFE_INTEGER||9007199254740991,Joe=16,$oe=250,Woe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];bO.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Joe,MAX_SAFE_BUILD_LENGTH:$oe,MAX_SAFE_INTEGER:Voe,RELEASE_TYPES:Woe,SEMVER_SPEC_VERSION:Yoe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Gu=g((gDe,wO)=>{"use strict";var joe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};wO.exports=joe});var hl=g((Es,NO)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:eb,MAX_SAFE_BUILD_LENGTH:Koe,MAX_LENGTH:Xoe}=zu(),Zoe=Gu();Es=NO.exports={};var eae=Es.re=[],tae=Es.safeRe=[],M=Es.src=[],rae=Es.safeSrc=[],L=Es.t={},nae=0,tb="[a-zA-Z0-9-]",sae=[["\\s",1],["\\d",Xoe],[tb,Koe]],iae=o(t=>{for(let[e,r]of sae)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),te=o((t,e,r)=>{let n=iae(e),s=nae++;Zoe(t,s,e),L[t]=s,M[s]=e,rae[s]=n,eae[s]=new RegExp(e,r?"g":void 0),tae[s]=new RegExp(n,r?"g":void 0)},"createToken");te("NUMERICIDENTIFIER","0|[1-9]\\d*");te("NUMERICIDENTIFIERLOOSE","\\d+");te("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${tb}*`);te("MAINVERSION",`(${M[L.NUMERICIDENTIFIER]})\\.(${M[L.NUMERICIDENTIFIER]})\\.(${M[L.NUMERICIDENTIFIER]})`);te("MAINVERSIONLOOSE",`(${M[L.NUMERICIDENTIFIERLOOSE]})\\.(${M[L.NUMERICIDENTIFIERLOOSE]})\\.(${M[L.NUMERICIDENTIFIERLOOSE]})`);te("PRERELEASEIDENTIFIER",`(?:${M[L.NONNUMERICIDENTIFIER]}|${M[L.NUMERICIDENTIFIER]})`);te("PRERELEASEIDENTIFIERLOOSE",`(?:${M[L.NONNUMERICIDENTIFIER]}|${M[L.NUMERICIDENTIFIERLOOSE]})`);te("PRERELEASE",`(?:-(${M[L.PRERELEASEIDENTIFIER]}(?:\\.${M[L.PRERELEASEIDENTIFIER]})*))`);te("PRERELEASELOOSE",`(?:-?(${M[L.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${M[L.PRERELEASEIDENTIFIERLOOSE]})*))`);te("BUILDIDENTIFIER",`${tb}+`);te("BUILD",`(?:\\+(${M[L.BUILDIDENTIFIER]}(?:\\.${M[L.BUILDIDENTIFIER]})*))`);te("FULLPLAIN",`v?${M[L.MAINVERSION]}${M[L.PRERELEASE]}?${M[L.BUILD]}?`);te("FULL",`^${M[L.FULLPLAIN]}$`);te("LOOSEPLAIN",`[v=\\s]*${M[L.MAINVERSIONLOOSE]}${M[L.PRERELEASELOOSE]}?${M[L.BUILD]}?`);te("LOOSE",`^${M[L.LOOSEPLAIN]}$`);te("GTLT","((?:<|>)?=?)");te("XRANGEIDENTIFIERLOOSE",`${M[L.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);te("XRANGEIDENTIFIER",`${M[L.NUMERICIDENTIFIER]}|x|X|\\*`);te("XRANGEPLAIN",`[v=\\s]*(${M[L.XRANGEIDENTIFIER]})(?:\\.(${M[L.XRANGEIDENTIFIER]})(?:\\.(${M[L.XRANGEIDENTIFIER]})(?:${M[L.PRERELEASE]})?${M[L.BUILD]}?)?)?`);te("XRANGEPLAINLOOSE",`[v=\\s]*(${M[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${M[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${M[L.XRANGEIDENTIFIERLOOSE]})(?:${M[L.PRERELEASELOOSE]})?${M[L.BUILD]}?)?)?`);te("XRANGE",`^${M[L.GTLT]}\\s*${M[L.XRANGEPLAIN]}$`);te("XRANGELOOSE",`^${M[L.GTLT]}\\s*${M[L.XRANGEPLAINLOOSE]}$`);te("COERCEPLAIN",`(^|[^\\d])(\\d{1,${eb}})(?:\\.(\\d{1,${eb}}))?(?:\\.(\\d{1,${eb}}))?`);te("COERCE",`${M[L.COERCEPLAIN]}(?:$|[^\\d])`);te("COERCEFULL",M[L.COERCEPLAIN]+`(?:${M[L.PRERELEASE]})?(?:${M[L.BUILD]})?(?:$|[^\\d])`);te("COERCERTL",M[L.COERCE],!0);te("COERCERTLFULL",M[L.COERCEFULL],!0);te("LONETILDE","(?:~>?)");te("TILDETRIM",`(\\s*)${M[L.LONETILDE]}\\s+`,!0);Es.tildeTrimReplace="$1~";te("TILDE",`^${M[L.LONETILDE]}${M[L.XRANGEPLAIN]}$`);te("TILDELOOSE",`^${M[L.LONETILDE]}${M[L.XRANGEPLAINLOOSE]}$`);te("LONECARET","(?:\\^)");te("CARETTRIM",`(\\s*)${M[L.LONECARET]}\\s+`,!0);Es.caretTrimReplace="$1^";te("CARET",`^${M[L.LONECARET]}${M[L.XRANGEPLAIN]}$`);te("CARETLOOSE",`^${M[L.LONECARET]}${M[L.XRANGEPLAINLOOSE]}$`);te("COMPARATORLOOSE",`^${M[L.GTLT]}\\s*(${M[L.LOOSEPLAIN]})$|^$`);te("COMPARATOR",`^${M[L.GTLT]}\\s*(${M[L.FULLPLAIN]})$|^$`);te("COMPARATORTRIM",`(\\s*)${M[L.GTLT]}\\s*(${M[L.LOOSEPLAIN]}|${M[L.XRANGEPLAIN]})`,!0);Es.comparatorTrimReplace="$1$2$3";te("HYPHENRANGE",`^\\s*(${M[L.XRANGEPLAIN]})\\s+-\\s+(${M[L.XRANGEPLAIN]})\\s*$`);te("HYPHENRANGELOOSE",`^\\s*(${M[L.XRANGEPLAINLOOSE]})\\s+-\\s+(${M[L.XRANGEPLAINLOOSE]})\\s*$`);te("STAR","(<|>)?=?\\s*\\*");te("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");te("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var af=g((EDe,SO)=>{"use strict";var oae=Object.freeze({loose:!0}),aae=Object.freeze({}),cae=o(t=>t?typeof t!="object"?oae:t:aae,"parseOptions");SO.exports=cae});var rb=g((IDe,PO)=>{"use strict";var RO=/^[0-9]+$/,vO=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=RO.test(t),n=RO.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1},"compareIdentifiers"),lae=o((t,e)=>vO(e,t),"rcompareIdentifiers");PO.exports={compareIdentifiers:vO,rcompareIdentifiers:lae}});var Ot=g((QDe,TO)=>{"use strict";var cf=Gu(),{MAX_LENGTH:DO,MAX_SAFE_INTEGER:lf}=zu(),{safeRe:Af,t:uf}=hl(),Aae=af(),{compareIdentifiers:nb}=rb(),sb=class t{static{o(this,"SemVer")}constructor(e,r){if(r=Aae(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>DO)throw new TypeError(`version is longer than ${DO} characters`);cf("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?Af[uf.LOOSE]:Af[uf.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>lf||this.major<0)throw new TypeError("Invalid major version");if(this.minor>lf||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>lf||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&&i<lf)return i}return s}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(cf("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if(typeof e=="string"&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.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(cf("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 nb(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(cf("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 nb(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?Af[uf.PRERELEASELOOSE]:Af[uf.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]),nb(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}};TO.exports=sb});var ga=g((bDe,MO)=>{"use strict";var kO=Ot(),uae=o((t,e,r=!1)=>{if(t instanceof kO)return t;try{return new kO(t,e)}catch(n){if(!r)return null;throw n}},"parse");MO.exports=uae});var _O=g((NDe,LO)=>{"use strict";var dae=ga(),mae=o((t,e)=>{let r=dae(t,e);return r?r.version:null},"valid");LO.exports=mae});var UO=g((RDe,FO)=>{"use strict";var pae=ga(),hae=o((t,e)=>{let r=pae(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");FO.exports=hae});var HO=g((PDe,qO)=>{"use strict";var OO=Ot(),fae=o((t,e,r,n,s)=>{typeof r=="string"&&(s=n,n=r,r=void 0);try{return new OO(t instanceof OO?t.version:t,r).inc(e,n,s).version}catch{return null}},"inc");qO.exports=fae});var YO=g((TDe,GO)=>{"use strict";var zO=ga(),gae=o((t,e)=>{let r=zO(t,null,!0),n=zO(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");GO.exports=gae});var JO=g((MDe,VO)=>{"use strict";var yae=Ot(),Eae=o((t,e)=>new yae(t,e).major,"major");VO.exports=Eae});var WO=g((_De,$O)=>{"use strict";var Cae=Ot(),Iae=o((t,e)=>new Cae(t,e).minor,"minor");$O.exports=Iae});var KO=g((UDe,jO)=>{"use strict";var Bae=Ot(),Qae=o((t,e)=>new Bae(t,e).patch,"patch");jO.exports=Qae});var ZO=g((qDe,XO)=>{"use strict";var xae=ga(),bae=o((t,e)=>{let r=xae(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");XO.exports=bae});var mn=g((zDe,tq)=>{"use strict";var eq=Ot(),wae=o((t,e,r)=>new eq(t,r).compare(new eq(e,r)),"compare");tq.exports=wae});var nq=g((YDe,rq)=>{"use strict";var Nae=mn(),Sae=o((t,e,r)=>Nae(e,t,r),"rcompare");rq.exports=Sae});var iq=g((JDe,sq)=>{"use strict";var Rae=mn(),vae=o((t,e)=>Rae(t,e,!0),"compareLoose");sq.exports=vae});var df=g((WDe,aq)=>{"use strict";var oq=Ot(),Pae=o((t,e,r)=>{let n=new oq(t,r),s=new oq(e,r);return n.compare(s)||n.compareBuild(s)},"compareBuild");aq.exports=Pae});var lq=g((KDe,cq)=>{"use strict";var Dae=df(),Tae=o((t,e)=>t.sort((r,n)=>Dae(r,n,e)),"sort");cq.exports=Tae});var uq=g((ZDe,Aq)=>{"use strict";var kae=df(),Mae=o((t,e)=>t.sort((r,n)=>kae(n,r,e)),"rsort");Aq.exports=Mae});var Yu=g((tTe,dq)=>{"use strict";var Lae=mn(),_ae=o((t,e,r)=>Lae(t,e,r)>0,"gt");dq.exports=_ae});var mf=g((nTe,mq)=>{"use strict";var Fae=mn(),Uae=o((t,e,r)=>Fae(t,e,r)<0,"lt");mq.exports=Uae});var ib=g((iTe,pq)=>{"use strict";var Oae=mn(),qae=o((t,e,r)=>Oae(t,e,r)===0,"eq");pq.exports=qae});var ob=g((aTe,hq)=>{"use strict";var Hae=mn(),zae=o((t,e,r)=>Hae(t,e,r)!==0,"neq");hq.exports=zae});var pf=g((lTe,fq)=>{"use strict";var Gae=mn(),Yae=o((t,e,r)=>Gae(t,e,r)>=0,"gte");fq.exports=Yae});var hf=g((uTe,gq)=>{"use strict";var Vae=mn(),Jae=o((t,e,r)=>Vae(t,e,r)<=0,"lte");gq.exports=Jae});var ab=g((mTe,yq)=>{"use strict";var $ae=ib(),Wae=ob(),jae=Yu(),Kae=pf(),Xae=mf(),Zae=hf(),ece=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 $ae(t,r,n);case"!=":return Wae(t,r,n);case">":return jae(t,r,n);case">=":return Kae(t,r,n);case"<":return Xae(t,r,n);case"<=":return Zae(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");yq.exports=ece});var Cq=g((hTe,Eq)=>{"use strict";var tce=Ot(),rce=ga(),{safeRe:ff,t:gf}=hl(),nce=o((t,e)=>{if(t instanceof tce)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?ff[gf.COERCEFULL]:ff[gf.COERCE]);else{let l=e.includePrerelease?ff[gf.COERCERTLFULL]:ff[gf.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 rce(`${n}.${s}.${i}${a}${c}`,e)},"coerce");Eq.exports=nce});var Bq=g((gTe,Iq)=>{"use strict";var cb=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}};Iq.exports=cb});var pn=g((ETe,wq)=>{"use strict";var sce=/\s+/g,lb=class t{static{o(this,"Range")}constructor(e,r){if(r=oce(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof Ab)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(sce," "),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=>!xq(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&&mce(s[0])){this.set=[s];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");let r=this.set[e];for(let n=0;n<r.length;n++)n>0&&(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&&uce)|(this.options.loose&&dce))+":"+e,s=Qq.get(n);if(s)return s;let i=this.options.loose,a=i?Xt[qt.HYPHENRANGELOOSE]:Xt[qt.HYPHENRANGE];e=e.replace(a,Qce(this.options.includePrerelease)),_e("hyphen replace",e),e=e.replace(Xt[qt.COMPARATORTRIM],cce),_e("comparator trim",e),e=e.replace(Xt[qt.TILDETRIM],lce),_e("tilde trim",e),e=e.replace(Xt[qt.CARETTRIM],Ace),_e("caret trim",e);let c=e.split(" ").map(d=>pce(d,this.options)).join(" ").split(/\s+/).map(d=>Bce(d,this.options));i&&(c=c.filter(d=>(_e("loose invalid filter",d,this.options),!!d.match(Xt[qt.COMPARATORLOOSE])))),_e("range list",c);let l=new Map,A=c.map(d=>new Ab(d,this.options));for(let d of A){if(xq(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let u=[...l.values()];return Qq.set(n,u),u}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>bq(n,r)&&e.set.some(s=>bq(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 ace(e,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(xce(this.set[r],e,this.options))return!0;return!1}};wq.exports=lb;var ice=Bq(),Qq=new ice,oce=af(),Ab=Vu(),_e=Gu(),ace=Ot(),{safeRe:Xt,t:qt,comparatorTrimReplace:cce,tildeTrimReplace:lce,caretTrimReplace:Ace}=hl(),{FLAG_INCLUDE_PRERELEASE:uce,FLAG_LOOSE:dce}=zu(),xq=o(t=>t.value==="<0.0.0-0","isNullSet"),mce=o(t=>t.value==="","isAny"),bq=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"),pce=o((t,e)=>(t=t.replace(Xt[qt.BUILD],""),_e("comp",t,e),t=gce(t,e),_e("caret",t),t=hce(t,e),_e("tildes",t),t=Ece(t,e),_e("xrange",t),t=Ice(t,e),_e("stars",t),t),"parseComparator"),Zt=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),hce=o((t,e)=>t.trim().split(/\s+/).map(r=>fce(r,e)).join(" "),"replaceTildes"),fce=o((t,e)=>{let r=e.loose?Xt[qt.TILDELOOSE]:Xt[qt.TILDE];return t.replace(r,(n,s,i,a,c)=>{_e("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?(_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"),gce=o((t,e)=>t.trim().split(/\s+/).map(r=>yce(r,e)).join(" "),"replaceCarets"),yce=o((t,e)=>{_e("caret",t,e);let r=e.loose?Xt[qt.CARETLOOSE]:Xt[qt.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 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?(_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"),Ece=o((t,e)=>(_e("replaceXRanges",t,e),t.split(/\s+/).map(r=>Cce(r,e)).join(" ")),"replaceXRanges"),Cce=o((t,e)=>{t=t.trim();let r=e.loose?Xt[qt.XRANGELOOSE]:Xt[qt.XRANGE];return t.replace(r,(n,s,i,a,c,l)=>{_e("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`),_e("xRange return",n),n})},"replaceXRange"),Ice=o((t,e)=>(_e("replaceStars",t,e),t.trim().replace(Xt[qt.STAR],"")),"replaceStars"),Bce=o((t,e)=>(_e("replaceGTE0",t,e),t.trim().replace(Xt[e.includePrerelease?qt.GTE0PRE:qt.GTE0],"")),"replaceGTE0"),Qce=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"),xce=o((t,e,r)=>{for(let n=0;n<t.length;n++)if(!t[n].test(e))return!1;if(e.prerelease.length&&!r.includePrerelease){for(let n=0;n<t.length;n++)if(_e(t[n].semver),t[n].semver!==Ab.ANY&&t[n].semver.prerelease.length>0){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 Vu=g((ITe,Dq)=>{"use strict";var Ju=Symbol("SemVer ANY"),mb=class t{static{o(this,"Comparator")}static get ANY(){return Ju}constructor(e,r){if(r=Nq(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),db("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Ju?this.value="":this.value=this.operator+this.semver.version,db("comp",this)}parse(e){let r=this.options.loose?Sq[Rq.COMPARATORLOOSE]:Sq[Rq.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 vq(n[2],this.options.loose):this.semver=Ju}toString(){return this.value}test(e){if(db("Comparator.test",e,this.options.loose),this.semver===Ju||e===Ju)return!0;if(typeof e=="string")try{e=new vq(e,this.options)}catch{return!1}return ub(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 Pq(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new Pq(this.value,r).test(e.semver):(r=Nq(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("=")||ub(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||ub(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};Dq.exports=mb;var Nq=af(),{safeRe:Sq,t:Rq}=hl(),ub=ab(),db=Gu(),vq=Ot(),Pq=pn()});var $u=g((QTe,Tq)=>{"use strict";var bce=pn(),wce=o((t,e,r)=>{try{e=new bce(e,r)}catch{return!1}return e.test(t)},"satisfies");Tq.exports=wce});var Mq=g((bTe,kq)=>{"use strict";var Nce=pn(),Sce=o((t,e)=>new Nce(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");kq.exports=Sce});var _q=g((NTe,Lq)=>{"use strict";var Rce=Ot(),vce=pn(),Pce=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new vce(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===-1)&&(n=a,s=new Rce(n,r))}),n},"maxSatisfying");Lq.exports=Pce});var Uq=g((RTe,Fq)=>{"use strict";var Dce=Ot(),Tce=pn(),kce=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new Tce(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");Fq.exports=kce});var Hq=g((PTe,qq)=>{"use strict";var pb=Ot(),Mce=pn(),Oq=Yu(),Lce=o((t,e)=>{t=new Mce(t,e);let r=new pb("0.0.0");if(t.test(r)||(r=new pb("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n<t.set.length;++n){let s=t.set[n],i=null;s.forEach(a=>{let c=new pb(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||Oq(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||Oq(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");qq.exports=Lce});var Gq=g((TTe,zq)=>{"use strict";var _ce=pn(),Fce=o((t,e)=>{try{return new _ce(t,e).range||"*"}catch{return null}},"validRange");zq.exports=Fce});var yf=g((MTe,$q)=>{"use strict";var Uce=Ot(),Jq=Vu(),{ANY:Oce}=Jq,qce=pn(),Hce=$u(),Yq=Yu(),Vq=mf(),zce=hf(),Gce=pf(),Yce=o((t,e,r,n)=>{t=new Uce(t,n),e=new qce(e,n);let s,i,a,c,l;switch(r){case">":s=Yq,i=zce,a=Vq,c=">",l=">=";break;case"<":s=Vq,i=Gce,a=Yq,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Hce(t,e,n))return!1;for(let A=0;A<e.set.length;++A){let u=e.set[A],d=null,m=null;if(u.forEach(p=>{p.semver===Oce&&(p=new Jq(">=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");$q.exports=Yce});var jq=g((_Te,Wq)=>{"use strict";var Vce=yf(),Jce=o((t,e,r)=>Vce(t,e,">",r),"gtr");Wq.exports=Jce});var Xq=g((UTe,Kq)=>{"use strict";var $ce=yf(),Wce=o((t,e,r)=>$ce(t,e,"<",r),"ltr");Kq.exports=Wce});var tH=g((qTe,eH)=>{"use strict";var Zq=pn(),jce=o((t,e,r)=>(t=new Zq(t,r),e=new Zq(e,r),t.intersects(e,r)),"intersects");eH.exports=jce});var nH=g((zTe,rH)=>{"use strict";var Kce=$u(),Xce=mn();rH.exports=(t,e,r)=>{let n=[],s=null,i=null,a=t.sort((u,d)=>Xce(u,d,r));for(let u of a)Kce(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<A.length?l:e}});var lH=g((GTe,cH)=>{"use strict";var sH=pn(),fb=Vu(),{ANY:hb}=fb,Wu=$u(),gb=mn(),Zce=o((t,e,r={})=>{if(t===e)return!0;t=new sH(t,r),e=new sH(e,r);let n=!1;e:for(let s of t.set){for(let i of e.set){let a=tle(s,i,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),ele=[new fb(">=0.0.0-0")],iH=[new fb(">=0.0.0")],tle=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===hb){if(e.length===1&&e[0].semver===hb)return!0;r.includePrerelease?t=ele:t=iH}if(e.length===1&&e[0].semver===hb){if(r.includePrerelease)return!0;e=iH}let n=new Set,s,i;for(let p of t)p.operator===">"||p.operator===">="?s=oH(s,p,r):p.operator==="<"||p.operator==="<="?i=aH(i,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(s&&i){if(a=gb(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&&!Wu(p,String(s),r)||i&&!Wu(p,String(i),r))return null;for(let h of e)if(!Wu(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=oH(s,p,r),c===p&&c!==s)return!1}else if(s.operator===">="&&!Wu(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=aH(i,p,r),l===p&&l!==i)return!1}else if(i.operator==="<="&&!Wu(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"),oH=o((t,e,r)=>{if(!t)return e;let n=gb(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),aH=o((t,e,r)=>{if(!t)return e;let n=gb(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");cH.exports=Zce});var Eb=g((VTe,dH)=>{"use strict";var yb=hl(),AH=zu(),rle=Ot(),uH=rb(),nle=ga(),sle=_O(),ile=UO(),ole=HO(),ale=YO(),cle=JO(),lle=WO(),Ale=KO(),ule=ZO(),dle=mn(),mle=nq(),ple=iq(),hle=df(),fle=lq(),gle=uq(),yle=Yu(),Ele=mf(),Cle=ib(),Ile=ob(),Ble=pf(),Qle=hf(),xle=ab(),ble=Cq(),wle=Vu(),Nle=pn(),Sle=$u(),Rle=Mq(),vle=_q(),Ple=Uq(),Dle=Hq(),Tle=Gq(),kle=yf(),Mle=jq(),Lle=Xq(),_le=tH(),Fle=nH(),Ule=lH();dH.exports={parse:nle,valid:sle,clean:ile,inc:ole,diff:ale,major:cle,minor:lle,patch:Ale,prerelease:ule,compare:dle,rcompare:mle,compareLoose:ple,compareBuild:hle,sort:fle,rsort:gle,gt:yle,lt:Ele,eq:Cle,neq:Ile,gte:Ble,lte:Qle,cmp:xle,coerce:ble,Comparator:wle,Range:Nle,satisfies:Sle,toComparators:Rle,maxSatisfying:vle,minSatisfying:Ple,minVersion:Dle,validRange:Tle,outside:kle,gtr:Mle,ltr:Lle,intersects:_le,simplifyRange:Fle,subset:Ule,SemVer:rle,re:yb.re,src:yb.src,tokens:yb.t,SEMVER_SPEC_VERSION:AH.SEMVER_SPEC_VERSION,RELEASE_TYPES:AH.RELEASE_TYPES,compareIdentifiers:uH.compareIdentifiers,rcompareIdentifiers:uH.rcompareIdentifiers}});var SH=g((Kke,NH)=>{NH.exports=function(t,e){for(var r=[],n=0;n<t.length;n++){var s=e(t[n],n);tAe(s)?r.push.apply(r,s):r.push(s)}return r};var tAe=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"}});var TH=g((Xke,DH)=>{"use strict";DH.exports=vH;function vH(t,e,r){t instanceof RegExp&&(t=RH(t,r)),e instanceof RegExp&&(e=RH(e,r));var n=PH(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(vH,"balanced");function RH(t,e){var r=e.match(t);return r?r[0]:null}o(RH,"maybeMatch");vH.range=PH;function PH(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<i&&(i=s,a=A),A=r.indexOf(e,u+1)),u=l<A&&l>=0?l:A;n.length&&(c=[i,a])}return c}o(PH,"range")});var qH=g((tMe,OH)=>{var eMe=SH(),kH=TH();OH.exports=oAe;var MH="\0SLASH"+Math.random()+"\0",LH="\0OPEN"+Math.random()+"\0",vb="\0CLOSE"+Math.random()+"\0",_H="\0COMMA"+Math.random()+"\0",FH="\0PERIOD"+Math.random()+"\0",rAe=1e5,nAe=4e6;function Sb(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(Sb,"numeric");function sAe(t){return t.split("\\\\").join(MH).split("\\{").join(LH).split("\\}").join(vb).split("\\,").join(_H).split("\\.").join(FH)}o(sAe,"escapeBraces");function iAe(t){return t.split(MH).join("\\").split(LH).join("{").split(vb).join("}").split(_H).join(",").split(FH).join(".")}o(iAe,"unescapeBraces");function UH(t){if(!t)return[""];var e=[],r=kH("{","}",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=UH(i);return i.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(UH,"parseCommaParts");function oAe(t,e){if(!t)return[];e=e||{};var r=e.max==null?rAe:e.max,n=e.maxLength==null?nAe:e.maxLength;return t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),Rb(sAe(t),r,n,!0).map(iAe)}o(oAe,"expandTop");function aAe(t){return"{"+t+"}"}o(aAe,"embrace");function cAe(t){return/^-?0\d/.test(t)}o(cAe,"isPadded");function lAe(t,e){return t<=e}o(lAe,"lte");function AAe(t,e){return t>=e}o(AAe,"gte");function ed(t,e,r,n,s,i,a,c){for(var l=[],A=0,u=0;u<t.length;u++)for(var d=0;d<n.length;d++){if(l.length>=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(ed,"combine");function uAe(t,e,r,n){var s=t.split(/\.\./),i=[];if(s[0]===void 0||s[1]===void 0)return i;var a=Sb(s[0]),c=Sb(s[1]),l=Math.max(s[0].length,s[1].length),A=s.length===3&&s[2]!==void 0?Math.max(Math.abs(Sb(s[2])),1):1,u=lAe,d=c<a;d&&(A*=-1,u=AAe);for(var m=s.some(cAe),p=0,h=a;u(h,c)&&i.length<r;h+=A){var f;if(e)f=String.fromCharCode(h),f==="\\"&&(f="");else if(f=String(h),m){var C=l-f.length;if(C>0){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(uAe,"expandSequence");function Rb(t,e,r,n){for(var s=[""],i=[0],a=!1,c=!0,l;;){var A=kH("{","}",t);if(!A)return ed(s,i,t,[""],e,r,a,[]);var u=A.pre;if(/\$$/.test(u))return ed(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+vb+A.post,n=!0,c=!0,a=!1,i=[];for(var f=0;f<s.length;f++)i.push(s[f].length);continue}return ed(s,i,u+"{"+A.body+"}"+A.post,[""],e,r,a,[])}c&&(a=n&&!p,c=!1);var C;if(p)C=uAe(A.body,m,e,r);else{var y=UH(A.body);if(y.length===1&&y[0]!==void 0&&(y=Rb(y[0],e,r,!1).map(aAe),y.length===1)){if(l=[],s=ed(s,i,u+y[0],[""],e,r,a&&!A.post.length,l),i=l,!A.post.length)break;t=A.post;continue}for(var E=a&&!A.post.length&&!u,I=0;E&&I<s.length;I++)s[I].length!==i[I]&&(E=!1);C=[];var B=0;e:for(var N=0;N<y.length;N++)for(var k=Rb(y[N],e,r,!1),S=0;S<k.length;S++){var de=k[S];if(!(E&&!de)){if(C.length>=e||B+de.length>r)break e;C.push(de),B+=de.length}}}if(l=[],s=ed(s,i,u,C,e,r,a&&!A.post.length,l),i=l,!A.post.length)break;t=A.post}return s}o(Rb,"expand")});var JH=g((nMe,VH)=>{VH.exports=Hr;Hr.Minimatch=kt;var td=(function(){try{return require("path")}catch{}})()||{sep:"/"};Hr.sep=td.sep;var Tb=Hr.GLOBSTAR=kt.GLOBSTAR={},dAe=qH(),HH={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Pb="[^/]",Db=Pb+"*?",mAe="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",pAe="(?:(?!(?:\\/|^)\\.).)*?",zH=hAe("().*{}+?[]^$\\!");function hAe(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}o(hAe,"charSet");var GH=/\/+/;Hr.filter=fAe;function fAe(t,e){return e=e||{},function(r,n,s){return Hr(r,t,e)}}o(fAe,"filter");function yo(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(yo,"ext");Hr.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return Hr;var e=Hr,r=o(function(s,i,a){return e(s,i,yo(t,a))},"minimatch");return r.Minimatch=o(function(s,i){return new e.Minimatch(s,yo(t,i))},"Minimatch"),r.Minimatch.defaults=o(function(s){return e.defaults(yo(t,s)).Minimatch},"defaults"),r.filter=o(function(s,i){return e.filter(s,yo(t,i))},"filter"),r.defaults=o(function(s){return e.defaults(yo(t,s))},"defaults"),r.makeRe=o(function(s,i){return e.makeRe(s,yo(t,i))},"makeRe"),r.braceExpand=o(function(s,i){return e.braceExpand(s,yo(t,i))},"braceExpand"),r.match=function(n,s,i){return e.match(n,s,yo(t,i))},r};kt.defaults=function(t){return Hr.defaults(t).Minimatch};function Hr(t,e,r){return Qf(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new kt(e,r).match(t)}o(Hr,"minimatch");function kt(t,e){if(!(this instanceof kt))return new kt(t,e);Qf(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&td.sep!=="/"&&(t=t.split(td.sep).join("/")),this.options=e,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.make()}o(kt,"Minimatch");kt.prototype.debug=function(){};kt.prototype.make=gAe;function gAe(){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(GH)}),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(gAe,"make");kt.prototype.parseNegate=yAe;function yAe(){var t=this.pattern,e=!1,r=this.options,n=0;if(!r.nonegate){for(var s=0,i=t.length;s<i&&t.charAt(s)==="!";s++)e=!e,n++;n&&(this.pattern=t.substr(n)),this.negate=e}}o(yAe,"parseNegate");Hr.braceExpand=function(t,e){return YH(t,e)};kt.prototype.braceExpand=YH;function YH(t,e){return e||(this instanceof kt?e=this.options:e={}),t=typeof t>"u"?this.pattern:t,Qf(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:dAe(t)}o(YH,"braceExpand");var EAe=1024*64,Qf=o(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>EAe)throw new TypeError("pattern is too long")},"assertValidPattern");kt.prototype.parse=CAe;var Bf={};function CAe(t,e){Qf(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return Tb;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+=Db,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<C&&(y=t.charAt(f));f++){if(this.debug("%s %s %s %j",t,f,n,y),i&&zH[y]){n+="\\"+y,i=!1;continue}switch(y){case"/":return!1;case"\\":h(),i=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",t,f,n,y),A){this.debug(" in class"),y==="!"&&f===d+1&&(y="^"),n+=y;continue}p.debug("call clearStateChar %j",l),h(),l=y,r.noext&&h();continue;case"(":if(A){n+="(";continue}if(!l){n+="\\(";continue}a.push({type:l,start:f-1,reStart:n.length,open:HH[l].open,close:HH[l].close}),n+=l==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",l,n),l=!1;continue;case")":if(A||!a.length){n+="\\)";continue}h(),s=!0;var E=a.pop();n+=E.close,E.type==="!"&&c.push(E),E.reEnd=n.length;continue;case"|":if(A||!a.length||i){n+="\\|",i=!1;continue}h(),n+="|";continue;case"[":if(h(),A){n+="\\"+y;continue}A=!0,d=f,u=n.length,n+=y;continue;case"]":if(f===d+1||!A){n+="\\"+y,i=!1;continue}var I=t.substring(d+1,f);try{RegExp("["+I+"]")}catch{var B=this.parse(I,Bf);n=n.substr(0,u)+"\\["+B[0]+"\\]",s=s||B[1],A=!1;continue}s=!0,A=!1,n+=y;continue;default:h(),i?i=!1:zH[y]&&!(y==="^"&&A)&&(n+="\\"),n+=y}}for(A&&(I=t.substr(d+1),B=this.parse(I,Bf),n=n.substr(0,u)+"\\["+B[0],s=s||B[1]),E=a.pop();E;E=a.pop()){var N=n.slice(E.reStart+E.open.length);this.debug("setting tail",n,E),N=N.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(Je,is,vr){return vr||(vr="\\"),is+is+vr+"|"}),this.debug(`tail=%j
|
|
%s`,N,N,E,n);var k=E.type==="*"?Db:E.type==="?"?Pb:"\\"+E.type;s=!0,n=n.slice(0,E.reStart)+k+"\\("+N}h(),i&&(n+="\\\\");var S=!1;switch(n.charAt(0)){case"[":case".":case"(":S=!0}for(var de=c.length-1;de>-1;de--){var ye=c[de],Qe=n.slice(0,ye.reStart),Ne=n.slice(ye.reStart,ye.reEnd-8),ae=n.slice(ye.reEnd-8,ye.reEnd),De=n.slice(ye.reEnd);ae+=De;var ee=Qe.split("(").length-1,Jt=De;for(f=0;f<ee;f++)Jt=Jt.replace(/\)[+*?]?/,"");De=Jt;var H="";De===""&&e!==Bf&&(H="$");var xe=Qe+Ne+De+H+ae;n=xe}if(n!==""&&s&&(n="(?=.)"+n),S&&(n=m+n),e===Bf)return[n,s];if(!s)return BAe(t);var ss=r.nocase?"i":"";try{var Vi=new RegExp("^"+n+"$",ss)}catch{return new RegExp("$.")}return Vi._glob=t,Vi._src=n,Vi}o(CAe,"parse");Hr.makeRe=function(t,e){return new kt(t,e||{}).makeRe()};kt.prototype.makeRe=IAe;function IAe(){if(this.regexp||this.regexp===!1)return this.regexp;var t=this.set;if(!t.length)return this.regexp=!1,this.regexp;var e=this.options,r=e.noglobstar?Db:e.dot?mAe:pAe,n=e.nocase?"i":"",s=t.map(function(i){return i.map(function(a){return a===Tb?r:typeof a=="string"?QAe(a):a._src}).join("\\/")}).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,n)}catch{this.regexp=!1}return this.regexp}o(IAe,"makeRe");Hr.match=function(t,e,r){r=r||{};var n=new kt(e,r);return t=t.filter(function(s){return n.match(s)}),n.options.nonull&&!t.length&&t.push(e),t};kt.prototype.match=o(function(e,r){if(typeof r>"u"&&(r=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;var n=this.options;td.sep!=="/"&&(e=e.split(td.sep).join("/")),e=e.split(GH),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<s.length;a++){var c=s[a],l=e;n.matchBase&&c.length===1&&(l=[i]);var A=this.matchOne(l,c,r);if(A)return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate},"match");kt.prototype.matchOne=function(t,e,r){var n=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var s=0,i=0,a=t.length,c=e.length;s<a&&i<c;s++,i++){this.debug("matchOne loop");var l=e[i],A=t[s];if(this.debug(e,l,A),l===!1)return!1;if(l===Tb){this.debug("GLOBSTAR",[e,l,A]);var u=s,d=i+1;if(d===c){for(this.debug("** at the end");s<a;s++)if(t[s]==="."||t[s]===".."||!n.dot&&t[s].charAt(0)===".")return!1;return!0}for(;u<a;){var m=t[u];if(this.debug(`
|
|
globstar while`,t,u,e,d,m),this.matchOne(t.slice(u),e.slice(d),r))return this.debug("globstar found match!",u,a,m),!0;if(m==="."||m===".."||!n.dot&&m.charAt(0)==="."){this.debug("dot detected!",t,u,e,d);break}this.debug("globstar swallow a segment, and continue"),u++}return!!(r&&(this.debug(`
|
|
>>> no match, partial?`,t,u,e,d),u===a))}var 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 BAe(t){return t.replace(/\\(.)/g,"$1")}o(BAe,"globUnescape");function QAe(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(QAe,"regExpEscape")});var sd=g((bMe,KH)=>{"use strict";var PAe="2.0.0",DAe=Number.MAX_SAFE_INTEGER||9007199254740991,TAe=16,kAe=250,MAe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];KH.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:TAe,MAX_SAFE_BUILD_LENGTH:kAe,MAX_SAFE_INTEGER:DAe,RELEASE_TYPES:MAe,SEMVER_SPEC_VERSION:PAe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var id=g((wMe,XH)=>{"use strict";var LAe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};XH.exports=LAe});var Cl=g((Cs,ZH)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Mb,MAX_SAFE_BUILD_LENGTH:_Ae,MAX_LENGTH:FAe}=sd(),UAe=id();Cs=ZH.exports={};var OAe=Cs.re=[],qAe=Cs.safeRe=[],_=Cs.src=[],HAe=Cs.safeSrc=[],F=Cs.t={},zAe=0,Lb="[a-zA-Z0-9-]",GAe=[["\\s",1],["\\d",FAe],[Lb,_Ae]],YAe=o(t=>{for(let[e,r]of GAe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),re=o((t,e,r)=>{let n=YAe(e),s=zAe++;UAe(t,s,e),F[t]=s,_[s]=e,HAe[s]=n,OAe[s]=new RegExp(e,r?"g":void 0),qAe[s]=new RegExp(n,r?"g":void 0)},"createToken");re("NUMERICIDENTIFIER","0|[1-9]\\d*");re("NUMERICIDENTIFIERLOOSE","\\d+");re("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Lb}*`);re("MAINVERSION",`(${_[F.NUMERICIDENTIFIER]})\\.(${_[F.NUMERICIDENTIFIER]})\\.(${_[F.NUMERICIDENTIFIER]})`);re("MAINVERSIONLOOSE",`(${_[F.NUMERICIDENTIFIERLOOSE]})\\.(${_[F.NUMERICIDENTIFIERLOOSE]})\\.(${_[F.NUMERICIDENTIFIERLOOSE]})`);re("PRERELEASEIDENTIFIER",`(?:${_[F.NONNUMERICIDENTIFIER]}|${_[F.NUMERICIDENTIFIER]})`);re("PRERELEASEIDENTIFIERLOOSE",`(?:${_[F.NONNUMERICIDENTIFIER]}|${_[F.NUMERICIDENTIFIERLOOSE]})`);re("PRERELEASE",`(?:-(${_[F.PRERELEASEIDENTIFIER]}(?:\\.${_[F.PRERELEASEIDENTIFIER]})*))`);re("PRERELEASELOOSE",`(?:-?(${_[F.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${_[F.PRERELEASEIDENTIFIERLOOSE]})*))`);re("BUILDIDENTIFIER",`${Lb}+`);re("BUILD",`(?:\\+(${_[F.BUILDIDENTIFIER]}(?:\\.${_[F.BUILDIDENTIFIER]})*))`);re("FULLPLAIN",`v?${_[F.MAINVERSION]}${_[F.PRERELEASE]}?${_[F.BUILD]}?`);re("FULL",`^${_[F.FULLPLAIN]}$`);re("LOOSEPLAIN",`[v=\\s]*${_[F.MAINVERSIONLOOSE]}${_[F.PRERELEASELOOSE]}?${_[F.BUILD]}?`);re("LOOSE",`^${_[F.LOOSEPLAIN]}$`);re("GTLT","((?:<|>)?=?)");re("XRANGEIDENTIFIERLOOSE",`${_[F.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);re("XRANGEIDENTIFIER",`${_[F.NUMERICIDENTIFIER]}|x|X|\\*`);re("XRANGEPLAIN",`[v=\\s]*(${_[F.XRANGEIDENTIFIER]})(?:\\.(${_[F.XRANGEIDENTIFIER]})(?:\\.(${_[F.XRANGEIDENTIFIER]})(?:${_[F.PRERELEASE]})?${_[F.BUILD]}?)?)?`);re("XRANGEPLAINLOOSE",`[v=\\s]*(${_[F.XRANGEIDENTIFIERLOOSE]})(?:\\.(${_[F.XRANGEIDENTIFIERLOOSE]})(?:\\.(${_[F.XRANGEIDENTIFIERLOOSE]})(?:${_[F.PRERELEASELOOSE]})?${_[F.BUILD]}?)?)?`);re("XRANGE",`^${_[F.GTLT]}\\s*${_[F.XRANGEPLAIN]}$`);re("XRANGELOOSE",`^${_[F.GTLT]}\\s*${_[F.XRANGEPLAINLOOSE]}$`);re("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Mb}})(?:\\.(\\d{1,${Mb}}))?(?:\\.(\\d{1,${Mb}}))?`);re("COERCE",`${_[F.COERCEPLAIN]}(?:$|[^\\d])`);re("COERCEFULL",_[F.COERCEPLAIN]+`(?:${_[F.PRERELEASE]})?(?:${_[F.BUILD]})?(?:$|[^\\d])`);re("COERCERTL",_[F.COERCE],!0);re("COERCERTLFULL",_[F.COERCEFULL],!0);re("LONETILDE","(?:~>?)");re("TILDETRIM",`(\\s*)${_[F.LONETILDE]}\\s+`,!0);Cs.tildeTrimReplace="$1~";re("TILDE",`^${_[F.LONETILDE]}${_[F.XRANGEPLAIN]}$`);re("TILDELOOSE",`^${_[F.LONETILDE]}${_[F.XRANGEPLAINLOOSE]}$`);re("LONECARET","(?:\\^)");re("CARETTRIM",`(\\s*)${_[F.LONECARET]}\\s+`,!0);Cs.caretTrimReplace="$1^";re("CARET",`^${_[F.LONECARET]}${_[F.XRANGEPLAIN]}$`);re("CARETLOOSE",`^${_[F.LONECARET]}${_[F.XRANGEPLAINLOOSE]}$`);re("COMPARATORLOOSE",`^${_[F.GTLT]}\\s*(${_[F.LOOSEPLAIN]})$|^$`);re("COMPARATOR",`^${_[F.GTLT]}\\s*(${_[F.FULLPLAIN]})$|^$`);re("COMPARATORTRIM",`(\\s*)${_[F.GTLT]}\\s*(${_[F.LOOSEPLAIN]}|${_[F.XRANGEPLAIN]})`,!0);Cs.comparatorTrimReplace="$1$2$3";re("HYPHENRANGE",`^\\s*(${_[F.XRANGEPLAIN]})\\s+-\\s+(${_[F.XRANGEPLAIN]})\\s*$`);re("HYPHENRANGELOOSE",`^\\s*(${_[F.XRANGEPLAINLOOSE]})\\s+-\\s+(${_[F.XRANGEPLAINLOOSE]})\\s*$`);re("STAR","(<|>)?=?\\s*\\*");re("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");re("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var wf=g((SMe,ez)=>{"use strict";var VAe=Object.freeze({loose:!0}),JAe=Object.freeze({}),$Ae=o(t=>t?typeof t!="object"?VAe:t:JAe,"parseOptions");ez.exports=$Ae});var _b=g((vMe,nz)=>{"use strict";var tz=/^[0-9]+$/,rz=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=tz.test(t),n=tz.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1},"compareIdentifiers"),WAe=o((t,e)=>rz(e,t),"rcompareIdentifiers");nz.exports={compareIdentifiers:rz,rcompareIdentifiers:WAe}});var Ht=g((DMe,iz)=>{"use strict";var Nf=id(),{MAX_LENGTH:sz,MAX_SAFE_INTEGER:Sf}=sd(),{safeRe:Rf,t:vf}=Cl(),jAe=wf(),{compareIdentifiers:Fb}=_b(),Ub=class t{static{o(this,"SemVer")}constructor(e,r){if(r=jAe(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>sz)throw new TypeError(`version is longer than ${sz} characters`);Nf("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?Rf[vf.LOOSE]:Rf[vf.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>Sf||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Sf||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Sf||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&&i<Sf)return i}return s}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(Nf("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if(typeof e=="string"&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),this.major<e.major?-1:this.major>e.major?1:this.minor<e.minor?-1:this.minor>e.minor?1:this.patch<e.patch?-1:this.patch>e.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(Nf("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 Fb(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(Nf("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 Fb(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?Rf[vf.PRERELEASELOOSE]:Rf[vf.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]),Fb(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}};iz.exports=Ub});var Ca=g((kMe,az)=>{"use strict";var oz=Ht(),KAe=o((t,e,r=!1)=>{if(t instanceof oz)return t;try{return new oz(t,e)}catch(n){if(!r)return null;throw n}},"parse");az.exports=KAe});var lz=g((LMe,cz)=>{"use strict";var XAe=Ca(),ZAe=o((t,e)=>{let r=XAe(t,e);return r?r.version:null},"valid");cz.exports=ZAe});var uz=g((FMe,Az)=>{"use strict";var eue=Ca(),tue=o((t,e)=>{let r=eue(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");Az.exports=tue});var pz=g((OMe,mz)=>{"use strict";var dz=Ht(),rue=o((t,e,r,n,s)=>{typeof r=="string"&&(s=n,n=r,r=void 0);try{return new dz(t instanceof dz?t.version:t,r).inc(e,n,s).version}catch{return null}},"inc");mz.exports=rue});var gz=g((HMe,fz)=>{"use strict";var hz=Ca(),nue=o((t,e)=>{let r=hz(t,null,!0),n=hz(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");fz.exports=nue});var Ez=g((GMe,yz)=>{"use strict";var sue=Ht(),iue=o((t,e)=>new sue(t,e).major,"major");yz.exports=iue});var Iz=g((VMe,Cz)=>{"use strict";var oue=Ht(),aue=o((t,e)=>new oue(t,e).minor,"minor");Cz.exports=aue});var Qz=g(($Me,Bz)=>{"use strict";var cue=Ht(),lue=o((t,e)=>new cue(t,e).patch,"patch");Bz.exports=lue});var bz=g((jMe,xz)=>{"use strict";var Aue=Ca(),uue=o((t,e)=>{let r=Aue(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");xz.exports=uue});var gn=g((XMe,Nz)=>{"use strict";var wz=Ht(),due=o((t,e,r)=>new wz(t,r).compare(new wz(e,r)),"compare");Nz.exports=due});var Rz=g((eLe,Sz)=>{"use strict";var mue=gn(),pue=o((t,e,r)=>mue(e,t,r),"rcompare");Sz.exports=pue});var Pz=g((rLe,vz)=>{"use strict";var hue=gn(),fue=o((t,e)=>hue(t,e,!0),"compareLoose");vz.exports=fue});var Pf=g((sLe,Tz)=>{"use strict";var Dz=Ht(),gue=o((t,e,r)=>{let n=new Dz(t,r),s=new Dz(e,r);return n.compare(s)||n.compareBuild(s)},"compareBuild");Tz.exports=gue});var Mz=g((oLe,kz)=>{"use strict";var yue=Pf(),Eue=o((t,e)=>t.sort((r,n)=>yue(r,n,e)),"sort");kz.exports=Eue});var _z=g((cLe,Lz)=>{"use strict";var Cue=Pf(),Iue=o((t,e)=>t.sort((r,n)=>Cue(n,r,e)),"rsort");Lz.exports=Iue});var od=g((ALe,Fz)=>{"use strict";var Bue=gn(),Que=o((t,e,r)=>Bue(t,e,r)>0,"gt");Fz.exports=Que});var Df=g((dLe,Uz)=>{"use strict";var xue=gn(),bue=o((t,e,r)=>xue(t,e,r)<0,"lt");Uz.exports=bue});var Ob=g((pLe,Oz)=>{"use strict";var wue=gn(),Nue=o((t,e,r)=>wue(t,e,r)===0,"eq");Oz.exports=Nue});var qb=g((fLe,qz)=>{"use strict";var Sue=gn(),Rue=o((t,e,r)=>Sue(t,e,r)!==0,"neq");qz.exports=Rue});var Tf=g((yLe,Hz)=>{"use strict";var vue=gn(),Pue=o((t,e,r)=>vue(t,e,r)>=0,"gte");Hz.exports=Pue});var kf=g((CLe,zz)=>{"use strict";var Due=gn(),Tue=o((t,e,r)=>Due(t,e,r)<=0,"lte");zz.exports=Tue});var Hb=g((BLe,Gz)=>{"use strict";var kue=Ob(),Mue=qb(),Lue=od(),_ue=Tf(),Fue=Df(),Uue=kf(),Oue=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 kue(t,r,n);case"!=":return Mue(t,r,n);case">":return Lue(t,r,n);case">=":return _ue(t,r,n);case"<":return Fue(t,r,n);case"<=":return Uue(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");Gz.exports=Oue});var Vz=g((xLe,Yz)=>{"use strict";var que=Ht(),Hue=Ca(),{safeRe:Mf,t:Lf}=Cl(),zue=o((t,e)=>{if(t instanceof que)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?Mf[Lf.COERCEFULL]:Mf[Lf.COERCE]);else{let l=e.includePrerelease?Mf[Lf.COERCERTLFULL]:Mf[Lf.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 Hue(`${n}.${s}.${i}${a}${c}`,e)},"coerce");Yz.exports=zue});var $z=g((wLe,Jz)=>{"use strict";var zb=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}};Jz.exports=zb});var yn=g((SLe,Xz)=>{"use strict";var Gue=/\s+/g,Gb=class t{static{o(this,"Range")}constructor(e,r){if(r=Vue(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof Yb)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(Gue," "),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=>!jz(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&&Zue(s[0])){this.set=[s];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e<this.set.length;e++){e>0&&(this.formatted+="||");let r=this.set[e];for(let n=0;n<r.length;n++)n>0&&(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&&Kue)|(this.options.loose&&Xue))+":"+e,s=Wz.get(n);if(s)return s;let i=this.options.loose,a=i?er[zt.HYPHENRANGELOOSE]:er[zt.HYPHENRANGE];e=e.replace(a,lde(this.options.includePrerelease)),Fe("hyphen replace",e),e=e.replace(er[zt.COMPARATORTRIM],$ue),Fe("comparator trim",e),e=e.replace(er[zt.TILDETRIM],Wue),Fe("tilde trim",e),e=e.replace(er[zt.CARETTRIM],jue),Fe("caret trim",e);let c=e.split(" ").map(d=>ede(d,this.options)).join(" ").split(/\s+/).map(d=>cde(d,this.options));i&&(c=c.filter(d=>(Fe("loose invalid filter",d,this.options),!!d.match(er[zt.COMPARATORLOOSE])))),Fe("range list",c);let l=new Map,A=c.map(d=>new Yb(d,this.options));for(let d of A){if(jz(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let u=[...l.values()];return Wz.set(n,u),u}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>Kz(n,r)&&e.set.some(s=>Kz(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 Jue(e,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(Ade(this.set[r],e,this.options))return!0;return!1}};Xz.exports=Gb;var Yue=$z(),Wz=new Yue,Vue=wf(),Yb=ad(),Fe=id(),Jue=Ht(),{safeRe:er,t:zt,comparatorTrimReplace:$ue,tildeTrimReplace:Wue,caretTrimReplace:jue}=Cl(),{FLAG_INCLUDE_PRERELEASE:Kue,FLAG_LOOSE:Xue}=sd(),jz=o(t=>t.value==="<0.0.0-0","isNullSet"),Zue=o(t=>t.value==="","isAny"),Kz=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"),ede=o((t,e)=>(t=t.replace(er[zt.BUILD],""),Fe("comp",t,e),t=nde(t,e),Fe("caret",t),t=tde(t,e),Fe("tildes",t),t=ide(t,e),Fe("xrange",t),t=ade(t,e),Fe("stars",t),t),"parseComparator"),tr=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),tde=o((t,e)=>t.trim().split(/\s+/).map(r=>rde(r,e)).join(" "),"replaceTildes"),rde=o((t,e)=>{let r=e.loose?er[zt.TILDELOOSE]:er[zt.TILDE];return t.replace(r,(n,s,i,a,c)=>{Fe("tilde",t,n,s,i,a,c);let l;return tr(s)?l="":tr(i)?l=`>=${s}.0.0 <${+s+1}.0.0-0`:tr(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"),nde=o((t,e)=>t.trim().split(/\s+/).map(r=>sde(r,e)).join(" "),"replaceCarets"),sde=o((t,e)=>{Fe("caret",t,e);let r=e.loose?er[zt.CARETLOOSE]:er[zt.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 tr(i)?A="":tr(a)?A=`>=${i}.0.0${n} <${+i+1}.0.0-0`:tr(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"),ide=o((t,e)=>(Fe("replaceXRanges",t,e),t.split(/\s+/).map(r=>ode(r,e)).join(" ")),"replaceXRanges"),ode=o((t,e)=>{t=t.trim();let r=e.loose?er[zt.XRANGELOOSE]:er[zt.XRANGE];return t.replace(r,(n,s,i,a,c,l)=>{Fe("xRange",t,n,s,i,a,c,l);let A=tr(i),u=A||tr(a),d=u||tr(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"),ade=o((t,e)=>(Fe("replaceStars",t,e),t.trim().replace(er[zt.STAR],"")),"replaceStars"),cde=o((t,e)=>(Fe("replaceGTE0",t,e),t.trim().replace(er[e.includePrerelease?zt.GTE0PRE:zt.GTE0],"")),"replaceGTE0"),lde=o(t=>(e,r,n,s,i,a,c,l,A,u,d,m)=>(tr(n)?r="":tr(s)?r=`>=${n}.0.0${t?"-0":""}`:tr(i)?r=`>=${n}.${s}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,tr(A)?l="":tr(u)?l=`<${+A+1}.0.0-0`:tr(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"),Ade=o((t,e,r)=>{for(let n=0;n<t.length;n++)if(!t[n].test(e))return!1;if(e.prerelease.length&&!r.includePrerelease){for(let n=0;n<t.length;n++)if(Fe(t[n].semver),t[n].semver!==Yb.ANY&&t[n].semver.prerelease.length>0){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 ad=g((vLe,sG)=>{"use strict";var cd=Symbol("SemVer ANY"),$b=class t{static{o(this,"Comparator")}static get ANY(){return cd}constructor(e,r){if(r=Zz(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Jb("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===cd?this.value="":this.value=this.operator+this.semver.version,Jb("comp",this)}parse(e){let r=this.options.loose?eG[tG.COMPARATORLOOSE]:eG[tG.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 rG(n[2],this.options.loose):this.semver=cd}toString(){return this.value}test(e){if(Jb("Comparator.test",e,this.options.loose),this.semver===cd||e===cd)return!0;if(typeof e=="string")try{e=new rG(e,this.options)}catch{return!1}return Vb(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 nG(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new nG(this.value,r).test(e.semver):(r=Zz(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("=")||Vb(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Vb(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};sG.exports=$b;var Zz=wf(),{safeRe:eG,t:tG}=Cl(),Vb=Hb(),Jb=id(),rG=Ht(),nG=yn()});var ld=g((DLe,iG)=>{"use strict";var ude=yn(),dde=o((t,e,r)=>{try{e=new ude(e,r)}catch{return!1}return e.test(t)},"satisfies");iG.exports=dde});var aG=g((kLe,oG)=>{"use strict";var mde=yn(),pde=o((t,e)=>new mde(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");oG.exports=pde});var lG=g((LLe,cG)=>{"use strict";var hde=Ht(),fde=yn(),gde=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new fde(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===-1)&&(n=a,s=new hde(n,r))}),n},"maxSatisfying");cG.exports=gde});var uG=g((FLe,AG)=>{"use strict";var yde=Ht(),Ede=yn(),Cde=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new Ede(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===1)&&(n=a,s=new yde(n,r))}),n},"minSatisfying");AG.exports=Cde});var pG=g((OLe,mG)=>{"use strict";var Wb=Ht(),Ide=yn(),dG=od(),Bde=o((t,e)=>{t=new Ide(t,e);let r=new Wb("0.0.0");if(t.test(r)||(r=new Wb("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n<t.set.length;++n){let s=t.set[n],i=null;s.forEach(a=>{let c=new Wb(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||dG(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||dG(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");mG.exports=Bde});var fG=g((HLe,hG)=>{"use strict";var Qde=yn(),xde=o((t,e)=>{try{return new Qde(t,e).range||"*"}catch{return null}},"validRange");hG.exports=xde});var _f=g((GLe,CG)=>{"use strict";var bde=Ht(),EG=ad(),{ANY:wde}=EG,Nde=yn(),Sde=ld(),gG=od(),yG=Df(),Rde=kf(),vde=Tf(),Pde=o((t,e,r,n)=>{t=new bde(t,n),e=new Nde(e,n);let s,i,a,c,l;switch(r){case">":s=gG,i=Rde,a=yG,c=">",l=">=";break;case"<":s=yG,i=vde,a=gG,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Sde(t,e,n))return!1;for(let A=0;A<e.set.length;++A){let u=e.set[A],d=null,m=null;if(u.forEach(p=>{p.semver===wde&&(p=new EG(">=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");CG.exports=Pde});var BG=g((VLe,IG)=>{"use strict";var Dde=_f(),Tde=o((t,e,r)=>Dde(t,e,">",r),"gtr");IG.exports=Tde});var xG=g(($Le,QG)=>{"use strict";var kde=_f(),Mde=o((t,e,r)=>kde(t,e,"<",r),"ltr");QG.exports=Mde});var NG=g((jLe,wG)=>{"use strict";var bG=yn(),Lde=o((t,e,r)=>(t=new bG(t,r),e=new bG(e,r),t.intersects(e,r)),"intersects");wG.exports=Lde});var RG=g((XLe,SG)=>{"use strict";var _de=ld(),Fde=gn();SG.exports=(t,e,r)=>{let n=[],s=null,i=null,a=t.sort((u,d)=>Fde(u,d,r));for(let u of a)_de(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<A.length?l:e}});var MG=g((ZLe,kG)=>{"use strict";var vG=yn(),Kb=ad(),{ANY:jb}=Kb,Ad=ld(),Xb=gn(),Ude=o((t,e,r={})=>{if(t===e)return!0;t=new vG(t,r),e=new vG(e,r);let n=!1;e:for(let s of t.set){for(let i of e.set){let a=qde(s,i,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),Ode=[new Kb(">=0.0.0-0")],PG=[new Kb(">=0.0.0")],qde=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===jb){if(e.length===1&&e[0].semver===jb)return!0;r.includePrerelease?t=Ode:t=PG}if(e.length===1&&e[0].semver===jb){if(r.includePrerelease)return!0;e=PG}let n=new Set,s,i;for(let p of t)p.operator===">"||p.operator===">="?s=DG(s,p,r):p.operator==="<"||p.operator==="<="?i=TG(i,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(s&&i){if(a=Xb(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&&!Ad(p,String(s),r)||i&&!Ad(p,String(i),r))return null;for(let h of e)if(!Ad(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=DG(s,p,r),c===p&&c!==s)return!1}else if(s.operator===">="&&!Ad(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=TG(i,p,r),l===p&&l!==i)return!1}else if(i.operator==="<="&&!Ad(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"),DG=o((t,e,r)=>{if(!t)return e;let n=Xb(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),TG=o((t,e,r)=>{if(!t)return e;let n=Xb(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");kG.exports=Ude});var UG=g((t_e,FG)=>{"use strict";var Zb=Cl(),LG=sd(),Hde=Ht(),_G=_b(),zde=Ca(),Gde=lz(),Yde=uz(),Vde=pz(),Jde=gz(),$de=Ez(),Wde=Iz(),jde=Qz(),Kde=bz(),Xde=gn(),Zde=Rz(),eme=Pz(),tme=Pf(),rme=Mz(),nme=_z(),sme=od(),ime=Df(),ome=Ob(),ame=qb(),cme=Tf(),lme=kf(),Ame=Hb(),ume=Vz(),dme=ad(),mme=yn(),pme=ld(),hme=aG(),fme=lG(),gme=uG(),yme=pG(),Eme=fG(),Cme=_f(),Ime=BG(),Bme=xG(),Qme=NG(),xme=RG(),bme=MG();FG.exports={parse:zde,valid:Gde,clean:Yde,inc:Vde,diff:Jde,major:$de,minor:Wde,patch:jde,prerelease:Kde,compare:Xde,rcompare:Zde,compareLoose:eme,compareBuild:tme,sort:rme,rsort:nme,gt:sme,lt:ime,eq:ome,neq:ame,gte:cme,lte:lme,cmp:Ame,coerce:ume,Comparator:dme,Range:mme,satisfies:pme,toComparators:hme,maxSatisfying:fme,minSatisfying:gme,minVersion:yme,validRange:Eme,outside:Cme,gtr:Ime,ltr:Bme,intersects:Qme,simplifyRange:xme,subset:bme,SemVer:Hde,re:Zb.re,src:Zb.src,tokens:Zb.t,SEMVER_SPEC_VERSION:LG.SEMVER_SPEC_VERSION,RELEASE_TYPES:LG.RELEASE_TYPES,compareIdentifiers:_G.compareIdentifiers,rcompareIdentifiers:_G.rcompareIdentifiers}});var NY=g((o2e,wY)=>{var Nl=1e3,Sl=Nl*60,Rl=Sl*60,Na=Rl*24,ape=Na*7,cpe=Na*365.25;wY.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return lpe(t);if(r==="number"&&isFinite(t))return e.long?upe(t):Ape(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function lpe(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*cpe;case"weeks":case"week":case"w":return r*ape;case"days":case"day":case"d":return r*Na;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Rl;case"minutes":case"minute":case"mins":case"min":case"m":return r*Sl;case"seconds":case"second":case"secs":case"sec":case"s":return r*Nl;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(lpe,"parse");function Ape(t){var e=Math.abs(t);return e>=Na?Math.round(t/Na)+"d":e>=Rl?Math.round(t/Rl)+"h":e>=Sl?Math.round(t/Sl)+"m":e>=Nl?Math.round(t/Nl)+"s":t+"ms"}o(Ape,"fmtShort");function upe(t){var e=Math.abs(t);return e>=Na?lg(t,e,Na,"day"):e>=Rl?lg(t,e,Rl,"hour"):e>=Sl?lg(t,e,Sl,"minute"):e>=Nl?lg(t,e,Nl,"second"):t+" ms"}o(upe,"fmtLong");function lg(t,e,r,n){var s=e>=r*1.5;return Math.round(t/r)+" "+n+(s?"s":"")}o(lg,"plural")});var x0=g((c2e,SY)=>{function dpe(t){r.debug=r,r.default=r,r.coerce=l,r.disable=i,r.enable=s,r.enabled=a,r.humanize=NY(),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<u.length;m++)d=(d<<5)-d+u.charCodeAt(m),d|=0;return r.colors[Math.abs(d)%r.colors.length]}o(e,"selectColor"),r.selectColor=e;function r(u){let d,m=null,p,h;function f(...C){if(!f.enabled)return;let y=f,E=Number(new Date),I=E-(d||E);y.diff=I,y.prev=d,y.curr=E,d=E,C[0]=r.coerce(C[0]),typeof C[0]!="string"&&C.unshift("%O");let B=0;C[0]=C[0].replace(/%([a-zA-Z%])/g,(k,S)=>{if(k==="%%")return"%";B++;let de=r.formatters[S];if(typeof de=="function"){let ye=C[B];k=de.call(y,ye),C.splice(B,1),B--}return k}),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<p;d++)m[d]&&(u=m[d].replace(/\*/g,".*?"),u[0]==="-"?r.skips.push(new RegExp("^"+u.slice(1)+"$")):r.names.push(new RegExp("^"+u+"$")))}o(s,"enable");function i(){let u=[...r.names.map(c),...r.skips.map(c).map(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<m;d++)if(r.skips[d].test(u))return!1;for(d=0,m=r.names.length;d<m;d++)if(r.names[d].test(u))return!0;return!1}o(a,"enabled");function c(u){return u.toString().substring(2,u.toString().length-2).replace(/\.\*\?$/,"*")}o(c,"toNamespace");function l(u){return u instanceof Error?u.stack||u.message:u}o(l,"coerce");function A(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return o(A,"destroy"),r.enable(r.load()),r}o(dpe,"setup");SY.exports=dpe});var RY=g((Yr,Ag)=>{Yr.formatArgs=ppe;Yr.save=hpe;Yr.load=fpe;Yr.useColors=mpe;Yr.storage=gpe();Yr.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`."))}})();Yr.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 mpe(){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(mpe,"useColors");function ppe(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+Ag.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(ppe,"formatArgs");Yr.log=console.debug||console.log||(()=>{});function hpe(t){try{t?Yr.storage.setItem("debug",t):Yr.storage.removeItem("debug")}catch{}}o(hpe,"save");function fpe(){let t;try{t=Yr.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(fpe,"load");function gpe(){try{return localStorage}catch{}}o(gpe,"localstorage");Ag.exports=x0()(Yr);var{formatters:ype}=Ag.exports;ype.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var PY=g((u2e,vY)=>{"use strict";vY.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<s)}});var kY=g((d2e,TY)=>{"use strict";var Epe=require("os"),DY=require("tty"),Cn=PY(),{env:Nt}=process,Qo;Cn("no-color")||Cn("no-colors")||Cn("color=false")||Cn("color=never")?Qo=0:(Cn("color")||Cn("colors")||Cn("color=true")||Cn("color=always"))&&(Qo=1);"FORCE_COLOR"in Nt&&(Nt.FORCE_COLOR==="true"?Qo=1:Nt.FORCE_COLOR==="false"?Qo=0:Qo=Nt.FORCE_COLOR.length===0?1:Math.min(parseInt(Nt.FORCE_COLOR,10),3));function b0(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o(b0,"translateLevel");function w0(t,e){if(Qo===0)return 0;if(Cn("color=16m")||Cn("color=full")||Cn("color=truecolor"))return 3;if(Cn("color=256"))return 2;if(t&&!e&&Qo===void 0)return 0;let r=Qo||0;if(Nt.TERM==="dumb")return r;if(process.platform==="win32"){let n=Epe.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(w0,"supportsColor");function Cpe(t){let e=w0(t,t&&t.isTTY);return b0(e)}o(Cpe,"getSupportLevel");TY.exports={supportsColor:Cpe,stdout:b0(w0(!0,DY.isatty(1))),stderr:b0(w0(!0,DY.isatty(2)))}});var LY=g((Mt,dg)=>{var Ipe=require("tty"),ug=require("util");Mt.init=Spe;Mt.log=bpe;Mt.formatArgs=Qpe;Mt.save=wpe;Mt.load=Npe;Mt.useColors=Bpe;Mt.destroy=ug.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=kY();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 Bpe(){return"colors"in Mt.inspectOpts?!!Mt.inspectOpts.colors:Ipe.isatty(process.stderr.fd)}o(Bpe,"useColors");function Qpe(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+"+dg.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=xpe()+e+" "+t[0]}o(Qpe,"formatArgs");function xpe(){return Mt.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(xpe,"getDate");function bpe(...t){return process.stderr.write(ug.format(...t)+`
|
|
`)}o(bpe,"log");function wpe(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(wpe,"save");function Npe(){return process.env.DEBUG}o(Npe,"load");function Spe(t){t.inspectOpts={};let e=Object.keys(Mt.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=Mt.inspectOpts[e[r]]}o(Spe,"init");dg.exports=x0()(Mt);var{formatters:MY}=dg.exports;MY.o=function(t){return this.inspectOpts.colors=this.useColors,ug.inspect(t,this.inspectOpts).split(`
|
|
`).map(e=>e.trim()).join(" ")};MY.O=function(t){return this.inspectOpts.colors=this.useColors,ug.inspect(t,this.inspectOpts)}});var mg=g((h2e,N0)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?N0.exports=RY():N0.exports=LY()});var UY=g(Er=>{"use strict";var Rpe=Er&&Er.__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=Er&&Er.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),_Y=Er&&Er.__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)&&Rpe(e,t,r);return vpe(e,t),e};Object.defineProperty(Er,"__esModule",{value:!0});Er.req=Er.json=Er.toBuffer=void 0;var Ppe=_Y(require("http")),Dpe=_Y(require("https"));async function FY(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(FY,"toBuffer");Er.toBuffer=FY;async function Tpe(t){let r=(await FY(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let s=n;throw s.message+=` (input: ${r})`,s}}o(Tpe,"json");Er.json=Tpe;function kpe(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?Dpe:Ppe).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(kpe,"req");Er.req=kpe});var zY=g(Vr=>{"use strict";var qY=Vr&&Vr.__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]})),Mpe=Vr&&Vr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),HY=Vr&&Vr.__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)&&qY(e,t,r);return Mpe(e,t),e},Lpe=Vr&&Vr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&qY(e,t,r)};Object.defineProperty(Vr,"__esModule",{value:!0});Vr.Agent=void 0;var _pe=HY(require("net")),OY=HY(require("http")),Fpe=require("https");Lpe(UY(),Vr);var xs=Symbol("AgentBaseInternalState"),S0=class extends OY.Agent{static{o(this,"Agent")}constructor(e){super(e),this[xs]={}}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 _pe.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)?Fpe.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 OY.Agent)try{return c.addRequest(e,s)}catch(l){return n(l)}this[xs].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(i,a),n(c)})}createConnection(){let e=this[xs].currentSocket;if(this[xs].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[xs].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[xs]&&(this[xs].defaultPort=e)}get protocol(){return this[xs].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[xs]&&(this[xs].protocol=e)}};Vr.Agent=S0});var GY=g(vl=>{"use strict";var Upe=vl&&vl.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(vl,"__esModule",{value:!0});vl.parseProxyResponse=void 0;var Ope=Upe(mg()),pg=(0,Ope.default)("https-proxy-agent:parse-proxy-response");function qpe(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(),pg("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(u){a(),pg("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){pg("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(),k=I.slice(B+1).trimStart(),S=E[N];typeof S=="string"?E[N]=[S,k]:Array.isArray(S)?S.push(k):E[N]=k}pg("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(qpe,"parseProxyResponse");vl.parseProxyResponse=qpe});var jY=g(In=>{"use strict";var Hpe=In&&In.__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]})),zpe=In&&In.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),$Y=In&&In.__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)&&Hpe(e,t,r);return zpe(e,t),e},WY=In&&In.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(In,"__esModule",{value:!0});In.HttpsProxyAgent=void 0;var hg=$Y(require("net")),YY=$Y(require("tls")),Gpe=WY(require("assert")),Ype=WY(mg()),Vpe=zY(),Jpe=require("url"),$pe=GY(),Id=(0,Ype.default)("https-proxy-agent"),VY=o(t=>t.servername===void 0&&t.host&&!hg.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),fg=class extends Vpe.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new Jpe.URL(e):e,this.proxyHeaders=r?.headers??{},Id("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?JY(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:"?(Id("Creating `tls.Socket`: %o",this.connectOpts),s=YY.connect(VY(this.connectOpts))):(Id("Creating `net.Socket`: %o",this.connectOpts),s=hg.connect(this.connectOpts));let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=hg.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,$pe.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",Wpe),r.secureEndpoint?(Id("Upgrading socket connection to TLS"),YY.connect({...JY(VY(r),"host","path","port"),socket:s})):s;s.destroy();let d=new hg.Socket({writable:!1});return d.readable=!0,e.once("socket",m=>{Id("Replaying proxy buffer for failed request"),(0,Gpe.default)(m.listenerCount("data")>0),m.push(u),m.push(null)}),d}};fg.protocols=["http","https"];In.HttpsProxyAgent=fg;function Wpe(t){t.resume()}o(Wpe,"resume");function JY(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(JY,"omit")});var ZY=g(Cr=>{"use strict";var jpe=Cr&&Cr.__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]})),Kpe=Cr&&Cr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),KY=Cr&&Cr.__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)&&jpe(e,t,r);return Kpe(e,t),e};Object.defineProperty(Cr,"__esModule",{value:!0});Cr.req=Cr.json=Cr.toBuffer=void 0;var Xpe=KY(require("http")),Zpe=KY(require("https"));async function XY(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(XY,"toBuffer");Cr.toBuffer=XY;async function ehe(t){let r=(await XY(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let s=n;throw s.message+=` (input: ${r})`,s}}o(ehe,"json");Cr.json=ehe;function the(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?Zpe:Xpe).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(the,"req");Cr.req=the});var nV=g(Jr=>{"use strict";var tV=Jr&&Jr.__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]})),rhe=Jr&&Jr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),rV=Jr&&Jr.__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)&&tV(e,t,r);return rhe(e,t),e},nhe=Jr&&Jr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&tV(e,t,r)};Object.defineProperty(Jr,"__esModule",{value:!0});Jr.Agent=void 0;var she=rV(require("net")),eV=rV(require("http")),ihe=require("https");nhe(ZY(),Jr);var bs=Symbol("AgentBaseInternalState"),R0=class extends eV.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 she.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))?ihe.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 eV.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)}};Jr.Agent=R0});var oV=g(Bn=>{"use strict";var ohe=Bn&&Bn.__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]})),ahe=Bn&&Bn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),iV=Bn&&Bn.__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)&&ohe(e,t,r);return ahe(e,t),e},che=Bn&&Bn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Bn,"__esModule",{value:!0});Bn.HttpProxyAgent=void 0;var lhe=iV(require("net")),Ahe=iV(require("tls")),uhe=che(mg()),dhe=require("events"),mhe=nV(),sV=require("url"),Pl=(0,uhe.default)("http-proxy-agent"),gg=class extends mhe.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new sV.URL(e):e,this.proxyHeaders=r?.headers??{},Pl("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?phe(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 sV.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;Pl("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(Pl("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),Pl("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(Pl("Creating `tls.Socket`: %o",this.connectOpts),i=Ahe.connect(this.connectOpts)):(Pl("Creating `net.Socket`: %o",this.connectOpts),i=lhe.connect(this.connectOpts)),await(0,dhe.once)(i,"connect"),i}};gg.protocols=["http","https"];Bn.HttpProxyAgent=gg;function phe(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(phe,"omit")});var SV=g(Pg=>{"use strict";Object.defineProperty(Pg,"__esModule",{value:!0});Pg.state=void 0;Pg.state={instrumenterImplementation:void 0}});var YV=g(Lg=>{"use strict";Object.defineProperty(Lg,"__esModule",{value:!0});Lg.state=void 0;Lg.state={operationRequestMap:new WeakMap}});var I4=g(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});var tIe=require("os"),rIe=require("util");function nIe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(nIe,"_interopDefaultLegacy");var sIe=nIe(rIe);function iIe(t,...e){process.stderr.write(`${sIe.default.format(t,...e)}${tIe.EOL}`)}o(iIe,"log");var u4=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,m4,pv=[],hv=[],nE=[];u4&&fv(u4);var p4=Object.assign(t=>h4(t),{enable:fv,enabled:gv,disable:oIe,log:iIe});function fv(t){m4=t,pv=[],hv=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?hv.push(new RegExp(`^${n.substr(1)}$`)):pv.push(new RegExp(`^${n}$`));for(let n of nE)n.enabled=gv(n.namespace)}o(fv,"enable");function gv(t){if(t.endsWith("*"))return!0;for(let e of hv)if(e.test(t))return!1;for(let e of pv)if(e.test(t))return!0;return!1}o(gv,"enabled");function oIe(){let t=m4||"";return fv(""),t}o(oIe,"disable");function h4(t){let e=Object.assign(r,{enabled:gv(t),destroy:aIe,log:p4.log,namespace:t,extend:cIe});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),nE.push(e),e}o(h4,"createDebugger");function aIe(){let t=nE.indexOf(this);return t>=0?(nE.splice(t,1),!0):!1}o(aIe,"destroy");function cIe(t){let e=h4(`${this.namespace}:${t}`);return e.log=this.log,e}o(cIe,"extend");var um=p4,f4=new Set,tE=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,sE,iE=um("azure");iE.log=(...t)=>{um.log(...t)};var yv=["verbose","info","warning","error"];tE&&(C4(tE)?g4(tE):console.error(`AZURE_LOG_LEVEL set to unknown log level '${tE}'; logging is not enabled. Acceptable values: ${yv.join(", ")}.`));function g4(t){if(t&&!C4(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${yv.join(",")}`);sE=t;let e=[];for(let r of f4)E4(r)&&e.push(r.namespace);um.enable(e.join(","))}o(g4,"setLogLevel");function lIe(){return sE}o(lIe,"getLogLevel");var d4={verbose:400,info:300,warning:200,error:100};function AIe(t){let e=iE.extend(t);return y4(iE,e),{error:rE(e,"error"),warning:rE(e,"warning"),info:rE(e,"info"),verbose:rE(e,"verbose")}}o(AIe,"createClientLogger");function y4(t,e){e.log=(...r)=>{t.log(...r)}}o(y4,"patchLogMethod");function rE(t,e){let r=Object.assign(t.extend(e),{level:e});if(y4(t,r),E4(r)){let n=um.disable();um.enable(n+","+r.namespace)}return f4.add(r),r}o(rE,"createLogger");function E4(t){return!!(sE&&d4[t.level]<=d4[sE])}o(E4,"shouldEnable");function C4(t){return yv.includes(t)}o(C4,"isAzureLogLevel");Xl.AzureLogger=iE;Xl.createClientLogger=AIe;Xl.getLogLevel=lIe;Xl.setLogLevel=g4});var Iv=g(mm=>{"use strict";Object.defineProperty(mm,"__esModule",{value:!0});var Zl=new WeakMap,oE=new WeakMap,dm=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,Zl.set(this,[]),oE.set(this,!1)}get aborted(){if(!oE.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return oE.get(this)}static get none(){return new t}addEventListener(e,r){if(!Zl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");Zl.get(this).push(r)}removeEventListener(e,r){if(!Zl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=Zl.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 B4(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=Zl.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),oE.set(t,!0)}o(B4,"abortSignal");var Ev=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},Cv=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new dm,!!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(){B4(this._signal)}static timeout(e){let r=new dm,n=setTimeout(B4,e,r);return typeof n.unref=="function"&&n.unref(),r}};mm.AbortController=Cv;mm.AbortError=Ev;mm.AbortSignal=dm});var N4=g(et=>{"use strict";Object.defineProperty(et,"__esModule",{value:!0});var uIe=Iv(),Sv=require("crypto");function Q4(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:s}=e??{};return new Promise((i,a)=>{function c(){a(new uIe.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(Q4,"createAbortablePromise");var dIe="The delay was aborted.";function mIe(t,e){let r,{abortSignal:n,abortErrorMsg:s}=e??{};return Q4(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:s??dIe})}o(mIe,"delay");function pIe(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(pIe,"getRandomIntegerInclusive");function x4(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(x4,"isObject");function b4(t){if(x4(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(b4,"isError");function hIe(t){if(b4(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(hIe,"getErrorMessage");async function fIe(t,e,r){let n=Buffer.from(t,"base64");return Sv.createHmac("sha256",n).update(e).digest(r)}o(fIe,"computeSha256Hmac");async function gIe(t,e){return Sv.createHash("sha256").update(t).digest(e)}o(gIe,"computeSha256Hash");function Rv(t){return typeof t<"u"&&t!==null}o(Rv,"isDefined");function yIe(t,e){if(!Rv(t)||typeof t!="object")return!1;for(let r of e)if(!w4(t,r))return!1;return!0}o(yIe,"isObjectWithProperties");function w4(t,e){return Rv(t)&&typeof t=="object"&&e in t}o(w4,"objectHasProperty");function EIe(){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(EIe,"generateUUID");var Bv,Nv=typeof((Bv=globalThis?.crypto)===null||Bv===void 0?void 0:Bv.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):Sv.randomUUID;Nv||(Nv=EIe);function CIe(){return Nv()}o(CIe,"randomUUID");var Qv,xv,bv,wv,IIe=typeof window<"u"&&typeof window.document<"u",BIe=typeof self=="object"&&typeof self?.importScripts=="function"&&(((Qv=self.constructor)===null||Qv===void 0?void 0:Qv.name)==="DedicatedWorkerGlobalScope"||((xv=self.constructor)===null||xv===void 0?void 0:xv.name)==="ServiceWorkerGlobalScope"||((bv=self.constructor)===null||bv===void 0?void 0:bv.name)==="SharedWorkerGlobalScope"),QIe=typeof process<"u"&&!!process.version&&!!(!((wv=process.versions)===null||wv===void 0)&&wv.node),xIe=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",bIe=typeof Bun<"u"&&typeof Bun.version<"u",wIe=typeof navigator<"u"&&navigator?.product==="ReactNative";function NIe(t,e){switch(e){case"utf-8":return PIe(t);case"base64":return RIe(t);case"base64url":return vIe(t)}}o(NIe,"uint8ArrayToString");function SIe(t,e){switch(e){case"utf-8":return DIe(t);case"base64":return TIe(t);case"base64url":return kIe(t)}}o(SIe,"stringToUint8Array");function RIe(t){return Buffer.from(t).toString("base64")}o(RIe,"uint8ArrayToBase64");function vIe(t){return Buffer.from(t).toString("base64url")}o(vIe,"uint8ArrayToBase64Url");function PIe(t){return Buffer.from(t).toString("utf-8")}o(PIe,"uint8ArrayToUtf8String");function DIe(t){return Buffer.from(t)}o(DIe,"utf8StringToUint8Array");function TIe(t){return Buffer.from(t,"base64")}o(TIe,"base64ToUint8Array");function kIe(t){return Buffer.from(t,"base64url")}o(kIe,"base64UrlToUint8Array");et.computeSha256Hash=gIe;et.computeSha256Hmac=fIe;et.createAbortablePromise=Q4;et.delay=mIe;et.getErrorMessage=hIe;et.getRandomIntegerInclusive=pIe;et.isBrowser=IIe;et.isBun=bIe;et.isDefined=Rv;et.isDeno=xIe;et.isError=b4;et.isNode=QIe;et.isObject=x4;et.isObjectWithProperties=yIe;et.isReactNative=wIe;et.isWebWorker=BIe;et.objectHasProperty=w4;et.randomUUID=CIe;et.stringToUint8Array=SIe;et.uint8ArrayToString=NIe});var $4=g(ja=>{"use strict";Object.defineProperty(ja,"__esModule",{value:!0});var MIe=I4(),S4=Iv(),LIe=N4(),Wa=MIe.createClientLogger("core-lro"),v4=2e3,P4=["succeeded","canceled","failed"];function D4(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(D4,"deserializeState");function R4(t){let{state:e,stateProxy:r,isOperationError:n}=t;return s=>{throw n(s)&&(r.setError(e,s),r.setFailed(e)),s}}o(R4,"setStateError");function _Ie(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(_Ie,"appendReadableErrorMessage");function FIe(t){let e=t.message,r=t.code,n=t;for(;n.innererror;)n=n.innererror,r=n.code,e=_Ie(e,n.message);return{code:r,message:e}}o(FIe,"simplifyError");function T4(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}=FIe(A);u=`. ${m}. ${p}`}let d=`The long-running operation has failed${u}`;r.setError(e,new Error(d)),r.setFailed(e),Wa.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,UIe({response:c,state:e,processResult:i}))}o(T4,"processOperationStatus");function UIe(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}o(UIe,"buildResult");async function k4(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};Wa.verbose("LRO: Operation description:",d);let m=r.initState(d),p=s({response:u,state:m,operationLocation:c});return T4({state:m,status:p,stateProxy:r,response:u,setErrorAsResult:a,processResult:n}),m}o(k4,"initOperation");async function OIe(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(R4({state:r,stateProxy:n,isOperationError:c})),u=i(A,r);if(Wa.verbose(`LRO: Status:
|
|
Polling from: ${r.config.operationLocation}
|
|
Operation status: ${u}
|
|
Polling status: ${P4.includes(u)?"Stopped":"Running"}`),u==="succeeded"){let d=a(A,r);if(d!==void 0)return{response:await e(d).catch(R4({state:r,stateProxy:n,isOperationError:c})),status:u}}return{response:A,status:u}}o(OIe,"pollOperationHelper");async function M4(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 OIe({poll:e,getOperationStatus:i,state:r,stateProxy:n,operationLocation:y,getResourceLocation:a,isOperationError:l,options:s});if(T4({status:I,response:E,state:r,stateProxy:n,isDone:f,processResult:d,getError:m,setErrorAsResult:C}),!P4.includes(I)){let B=u?.(E);B&&h(B);let N=c?.(E,r);if(N!==void 0){let k=y!==N;r.config.operationLocation=N,A?.(N,k)}else A?.(y,!1)}p?.(r,E)}}o(M4,"pollOperation");function L4(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(L4,"getOperationLocationPollingUrl");function _4(t){return t.headers.location}o(_4,"getLocationHeader");function F4(t){return t.headers["operation-location"]}o(F4,"getOperationLocationHeader");function U4(t){return t.headers["azure-asyncoperation"]}o(U4,"getAzureAsyncOperationHeader");function qIe(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(qIe,"findResourceLocation");function O4(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:s}=t,i=F4(e),a=U4(e),c=L4({operationLocation:i,azureAsyncOperation:a}),l=_4(e),A=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:qIe({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(O4,"inferLroMode");function q4(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 Dv(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 Wa.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(q4,"transformStatus");function HIe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return q4({status:r,statusCode:t.statusCode})}o(HIe,"getStatus");function zIe(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 q4({status:i,statusCode:t.statusCode})}o(zIe,"getProvisioningState");function Dv(t){return t===202?"running":t<300?"succeeded":"failed"}o(Dv,"toOperationStatus");function H4({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?GIe(new Date(e)):r*1e3}}o(H4,"parseRetryAfter");function z4(t){let e=t.flatResponse.error;if(!e){Wa.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){Wa.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(z4,"getErrorFromResponse");function GIe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}o(GIe,"calculatePollingIntervalFromDate");function G4(t){let{response:e,state:r,operationLocation:n}=t;function s(){var a;switch((a=r.config.metadata)===null||a===void 0?void 0:a.mode){case void 0:return Dv(e.rawResponse.statusCode);case"Body":return Tv(e,r);default:return"running"}}o(s,"helper");let i=s();return i==="running"&&n===void 0?"succeeded":i}o(G4,"getStatusFromInitialResponse");async function YIe(t){let{stateProxy:e,resourceLocationConfig:r,processResult:n,lro:s,setErrorAsResult:i}=t;return k4({init:o(async()=>{let a=await s.sendInitialRequest(),c=O4({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:G4,setErrorAsResult:i})}o(YIe,"initHttpOperation");function Y4({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return L4({operationLocation:F4(t),azureAsyncOperation:U4(t)});case"ResourceLocation":return _4(t);default:return}}o(Y4,"getOperationLocation");function Tv({rawResponse:t},e){var r;let n=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(n){case"OperationLocation":return HIe(t);case"ResourceLocation":return Dv(t.statusCode);case"Body":return zIe(t);default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}o(Tv,"getOperationStatus");function V4({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(V4,"getResourceLocation");function J4(t){return t.name==="RestError"}o(J4,"isOperationError");async function VIe(t){let{lro:e,stateProxy:r,options:n,processResult:s,updateState:i,setDelay:a,state:c,setErrorAsResult:l}=t;return M4({state:c,stateProxy:r,setDelay:a,processResult:s?({flatResponse:A},u)=>s(A,u):({flatResponse:A})=>A,getError:z4,updateState:i,getPollingInterval:H4,getOperationLocation:Y4,getOperationStatus:Tv,isOperationError:J4,getResourceLocation:V4,options:n,poll:o(async(A,u)=>e.sendPollRequest(A,u),"poll"),setErrorAsResult:l})}o(VIe,"pollHttpOperation");var JIe=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 $Ie(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=v4,restoreFrom:C}=d||{},y=JIe(),E=h?(()=>{let Ne=!1;return(ae,De)=>{De?h(ae):Ne||h(ae),Ne=!0}})():void 0,I=C?D4(C):await k4({init:A,stateProxy:y,processResult:m,getOperationStatus:r,withOperationLocation:E,setErrorAsResult:!l}),B,N=new S4.AbortController,k=new Map,S=o(async()=>k.forEach(Ne=>Ne(I)),"handleProgressEvents"),de="Operation was canceled",ye=f,Qe={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 k.set(ae,Ne),()=>k.delete(ae)},"onProgress"),pollUntilDone:o(Ne=>B??(B=(async()=>{let{abortSignal:ae}=Ne||{},{signal:De}=ae?new S4.AbortController([ae,N.signal]):N;if(!Qe.isDone())for(await Qe.poll({abortSignal:De});!Qe.isDone();)await LIe.delay(ye,{abortSignal:De}),await Qe.poll({abortSignal:De});if(l)return Qe.getResult();switch(I.status){case"succeeded":return Qe.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(Qe.isDone())return}else switch(I.status){case"succeeded":return;case"canceled":throw new Error(de);case"failed":throw I.error}if(await M4({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=>{ye=ae},"setDelay"),setErrorAsResult:!l}),await S(),!l)switch(I.status){case"canceled":throw new Error(de);case"failed":throw I.error}}};return Qe}}o($Ie,"buildCreatePoller");async function WIe(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:s,restoreFrom:i,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return $Ie({getStatusFromInitialResponse:G4,getStatusFromPollResponse:Tv,isOperationError:J4,getOperationLocation:Y4,getResourceLocation:V4,getPollingInterval:H4,getError:z4,resolveOnUnsuccessful:l})({init:o(async()=>{let A=await t.sendInitialRequest(),u=O4({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(WIe,"createHttpPoller");var jIe=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"),vv=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=jIe();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await YIe({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 VIe({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 Wa.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},aE=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},cE=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},lE=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 cE("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 aE("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()}},Pv=class extends lE{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:n=v4,resumeFrom:s,resolveOnUnsuccessful:i=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:A}=r||{},u=s?D4(s):{},d=new vv(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))}};ja.LroEngine=Pv;ja.Poller=lE;ja.PollerCancelledError=cE;ja.PollerStoppedError=aE;ja.createHttpPoller=WIe});var f8=g((fKe,gBe)=>{gBe.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 y8=g((gKe,g8)=>{var yBe=f8();g8.exports={version:yBe.version}});var BE=g(sA=>{"use strict";Object.defineProperty(sA,"__esModule",{value:!0});sA.isJsonObject=sA.typeofJsonValue=void 0;function wBe(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(wBe,"typeofJsonValue");sA.typeofJsonValue=wBe;function NBe(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(NBe,"isJsonObject");sA.isJsonObject=NBe});var xE=g(iA=>{"use strict";Object.defineProperty(iA,"__esModule",{value:!0});iA.base64encode=iA.base64decode=void 0;var Oi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),QE=[];for(let t=0;t<Oi.length;t++)QE[Oi[t].charCodeAt(0)]=t;QE[45]=Oi.indexOf("+");QE[95]=Oi.indexOf("/");function SBe(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<t.length;c++){if(i=QE[t.charCodeAt(c)],i===void 0)switch(t[c]){case"=":s=0;case`
|
|
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(s){case 0:a=i,s=1;break;case 1:r[n++]=a<<2|(i&48)>>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(SBe,"base64decode");iA.base64decode=SBe;function RBe(t){let e="",r=0,n,s=0;for(let i=0;i<t.length;i++)switch(n=t[i],r){case 0:e+=Oi[n>>2],s=(n&3)<<4,r=1;break;case 1:e+=Oi[s|n>>4],s=(n&15)<<2,r=2;break;case 2:e+=Oi[s|n>>6],e+=Oi[n&63],r=0;break}return r&&(e+=Oi[s],e+="=",r==1&&(e+="=")),e}o(RBe,"base64encode");iA.base64encode=RBe});var x8=g(bE=>{"use strict";Object.defineProperty(bE,"__esModule",{value:!0});bE.utf8read=void 0;var Gv=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function vBe(t){if(t.length<1)return"";let e=0,r=[],n=[],s=0,i,a=t.length;for(;e<a;)i=t[e++],i<128?n[s++]=i:i>191&&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(Gv(n)),s=0);return r.length?(s&&r.push(Gv(n.slice(0,s))),r.join("")):Gv(n.slice(0,s))}o(vBe,"utf8read");bE.utf8read=vBe});var Im=g(Xs=>{"use strict";Object.defineProperty(Xs,"__esModule",{value:!0});Xs.WireType=Xs.mergeBinaryOptions=Xs.UnknownFieldHandler=void 0;var PBe;(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")})(PBe=Xs.UnknownFieldHandler||(Xs.UnknownFieldHandler={}));function DBe(t,e){return Object.assign(Object.assign({},t),e)}o(DBe,"mergeBinaryOptions");Xs.mergeBinaryOptions=DBe;var TBe;(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"})(TBe=Xs.WireType||(Xs.WireType={}))});var NE=g(Nr=>{"use strict";Object.defineProperty(Nr,"__esModule",{value:!0});Nr.varint32read=Nr.varint32write=Nr.int64toString=Nr.int64fromString=Nr.varint64write=Nr.varint64read=void 0;function kBe(){let t=0,e=0;for(let n=0;n<28;n+=7){let s=this.buf[this.pos++];if(t|=(s&127)<<n,(s&128)==0)return this.assertBounds(),[t,e]}let r=this.buf[this.pos++];if(t|=(r&15)<<28,e=(r&112)>>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)<<n,(s&128)==0)return this.assertBounds(),[t,e]}throw new Error("invalid varint")}o(kBe,"varint64read");Nr.varint64read=kBe;function MBe(t,e,r){for(let i=0;i<28;i=i+7){let a=t>>>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(MBe,"varint64write");Nr.varint64write=MBe;var wE=65536*65536;function LBe(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>=wE&&(s=s+(n/wE|0),n=n%wE)}return o(i,"add1e6digit"),i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,n,s]}o(LBe,"int64fromString");Nr.int64fromString=LBe;function _Be(t,e){if(e>>>0<=2097151)return""+(wE*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(_Be,"int64toString");Nr.int64toString=_Be;function FBe(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(FBe,"varint32write");Nr.varint32write=FBe;function UBe(){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(UBe,"varint32read");Nr.varint32read=UBe});var Mo=g(ko=>{"use strict";Object.defineProperty(ko,"__esModule",{value:!0});ko.PbLong=ko.PbULong=ko.detectBi=void 0;var Bm=NE(),Pe;function b8(){let t=new DataView(new ArrayBuffer(8));Pe=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(b8,"detectBi");ko.detectBi=b8;b8();function w8(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(w8,"assertBi");var N8=/^-?[0-9]+$/,RE=4294967296,SE=2147483648,vE=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*RE+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},Qm=class t extends vE{static{o(this,"PbULong")}static from(e){if(Pe)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Pe.C(e);case"number":if(e===0)return this.ZERO;e=Pe.C(e);case"bigint":if(!e)return this.ZERO;if(e<Pe.UMIN)throw new Error("signed value for ulong");if(e>Pe.UMAX)throw new Error("ulong too large");return Pe.V.setBigUint64(0,e,!0),new t(Pe.V.getInt32(0,!0),Pe.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!N8.test(e))throw new Error("string is no integer");let[r,n,s]=Bm.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/RE)}throw new Error("unknown value "+typeof e)}toString(){return Pe?this.toBigInt().toString():Bm.int64toString(this.lo,this.hi)}toBigInt(){return w8(Pe),Pe.V.setInt32(0,this.lo,!0),Pe.V.setInt32(4,this.hi,!0),Pe.V.getBigUint64(0,!0)}};ko.PbULong=Qm;Qm.ZERO=new Qm(0,0);var xm=class t extends vE{static{o(this,"PbLong")}static from(e){if(Pe)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Pe.C(e);case"number":if(e===0)return this.ZERO;e=Pe.C(e);case"bigint":if(!e)return this.ZERO;if(e<Pe.MIN)throw new Error("signed long too small");if(e>Pe.MAX)throw new Error("signed long too large");return Pe.V.setBigInt64(0,e,!0),new t(Pe.V.getInt32(0,!0),Pe.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!N8.test(e))throw new Error("string is no integer");let[r,n,s]=Bm.int64fromString(e);if(r){if(s>SE||s==SE&&n!=0)throw new Error("signed long too small")}else if(s>=SE)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/RE):new t(-e,-e/RE).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&SE)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(Pe)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+Bm.int64toString(e.lo,e.hi)}return Bm.int64toString(this.lo,this.hi)}toBigInt(){return w8(Pe),Pe.V.setInt32(0,this.lo,!0),Pe.V.setInt32(4,this.hi,!0),Pe.V.getBigInt64(0,!0)}};ko.PbLong=xm;xm.ZERO=new xm(0,0)});var Yv=g(aA=>{"use strict";Object.defineProperty(aA,"__esModule",{value:!0});aA.BinaryReader=aA.binaryReadOptions=void 0;var oA=Im(),bm=Mo(),S8=NE(),R8={readUnknownField:!0,readerFactory:o(t=>new PE(t),"readerFactory")};function OBe(t){return t?Object.assign(Object.assign({},R8),t):R8}o(OBe,"binaryReadOptions");aA.binaryReadOptions=OBe;var PE=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=S8.varint64read,this.uint32=S8.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 oA.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case oA.WireType.Bit64:this.pos+=4;case oA.WireType.Bit32:this.pos+=4;break;case oA.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case oA.WireType.StartGroup:let s;for(;(s=this.tag()[1])!==oA.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 bm.PbLong(...this.varint64())}uint64(){return new bm.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 bm.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 bm.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new bm.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())}};aA.BinaryReader=PE});var cA=g(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.assertFloat32=Rn.assertUInt32=Rn.assertInt32=Rn.assertNever=Rn.assert=void 0;function qBe(t,e){if(!t)throw new Error(e)}o(qBe,"assert");Rn.assert=qBe;function HBe(t,e){throw new Error(e??"Unexpected object: "+t)}o(HBe,"assertNever");Rn.assertNever=HBe;var zBe=34028234663852886e22,GBe=-34028234663852886e22,YBe=4294967295,VBe=2147483647,JBe=-2147483648;function $Be(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>VBe||t<JBe)throw new Error("invalid int 32: "+t)}o($Be,"assertInt32");Rn.assertInt32=$Be;function WBe(t){if(typeof t!="number")throw new Error("invalid uint 32: "+typeof t);if(!Number.isInteger(t)||t>YBe||t<0)throw new Error("invalid uint 32: "+t)}o(WBe,"assertUInt32");Rn.assertUInt32=WBe;function jBe(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>zBe||t<GBe))throw new Error("invalid float 32: "+t)}o(jBe,"assertFloat32");Rn.assertFloat32=jBe});var Vv=g(AA=>{"use strict";Object.defineProperty(AA,"__esModule",{value:!0});AA.BinaryWriter=AA.binaryWriteOptions=void 0;var wm=Mo(),Nm=NE(),lA=cA(),v8={writeUnknownFields:!0,writerFactory:o(()=>new DE,"writerFactory")};function KBe(t){return t?Object.assign(Object.assign({},v8),t):v8}o(KBe,"binaryWriteOptions");AA.binaryWriteOptions=KBe;var DE=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<this.chunks.length;s++)e+=this.chunks[s].length;let r=new Uint8Array(e),n=0;for(let s=0;s<this.chunks.length;s++)r.set(this.chunks[s],n),n+=this.chunks[s].length;return this.chunks=[],r}fork(){return this.stack.push({chunks:this.chunks,buf:this.buf}),this.chunks=[],this.buf=[],this}join(){let e=this.finish(),r=this.stack.pop();if(!r)throw new Error("invalid state, fork stack empty");return this.chunks=r.chunks,this.buf=r.buf,this.uint32(e.byteLength),this.raw(e)}tag(e,r){return this.uint32((e<<3|r)>>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(lA.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return lA.assertInt32(e),Nm.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){lA.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){lA.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){lA.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return lA.assertInt32(e),e=(e<<1^e>>31)>>>0,Nm.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),s=wm.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=wm.PbULong.from(e);return n.setInt32(0,s.lo,!0),n.setInt32(4,s.hi,!0),this.raw(r)}int64(e){let r=wm.PbLong.from(e);return Nm.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=wm.PbLong.from(e),n=r.hi>>31,s=r.lo<<1^n,i=(r.hi<<1|r.lo>>>31)^n;return Nm.varint64write(s,i,this.buf),this}uint64(e){let r=wm.PbULong.from(e);return Nm.varint64write(r.lo,r.hi,this.buf),this}};AA.BinaryWriter=DE});var Jv=g(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.mergeJsonOptions=Lo.jsonWriteOptions=Lo.jsonReadOptions=void 0;var P8={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},D8={ignoreUnknownFields:!1};function XBe(t){return t?Object.assign(Object.assign({},D8),t):D8}o(XBe,"jsonReadOptions");Lo.jsonReadOptions=XBe;function ZBe(t){return t?Object.assign(Object.assign({},P8),t):P8}o(ZBe,"jsonWriteOptions");Lo.jsonWriteOptions=ZBe;function eQe(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(eQe,"mergeJsonOptions");Lo.mergeJsonOptions=eQe});var Sm=g(TE=>{"use strict";Object.defineProperty(TE,"__esModule",{value:!0});TE.MESSAGE_TYPE=void 0;TE.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var $v=g(kE=>{"use strict";Object.defineProperty(kE,"__esModule",{value:!0});kE.lowerCamelCase=void 0;function tQe(t){let e=!1,r=[];for(let n=0;n<t.length;n++){let s=t.charAt(n);s=="_"?e=!0:/\d/.test(s)?(r.push(s),e=!0):e?(r.push(s.toUpperCase()),e=!1):n==0?r.push(s.toLowerCase()):r.push(s)}return r.join("")}o(tQe,"lowerCamelCase");kE.lowerCamelCase=tQe});var es=g(Bt=>{"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 T8=$v(),rQe;(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"})(rQe=Bt.ScalarType||(Bt.ScalarType={}));var nQe;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(nQe=Bt.LongType||(Bt.LongType={}));var k8;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(k8=Bt.RepeatType||(Bt.RepeatType={}));function sQe(t){var e,r,n,s;return t.localName=(e=t.localName)!==null&&e!==void 0?e:T8.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:T8.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:k8.NO,t.opt=(s=t.opt)!==null&&s!==void 0?s:t.repeat||t.oneof?!1:t.kind=="message",t}o(sQe,"normalizeFieldInfo");Bt.normalizeFieldInfo=sQe;function iQe(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(iQe,"readFieldOptions");Bt.readFieldOptions=iQe;function oQe(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(oQe,"readFieldOption");Bt.readFieldOption=oQe;function aQe(t,e,r){let s=t.options[e];return s===void 0?s:r?r.fromJson(s):s}o(aQe,"readMessageOption");Bt.readMessageOption=aQe});var Wv=g(Sr=>{"use strict";Object.defineProperty(Sr,"__esModule",{value:!0});Sr.getSelectedOneofValue=Sr.clearOneofValue=Sr.setUnknownOneofValue=Sr.setOneofValue=Sr.getOneofValue=Sr.isOneofGroup=void 0;function cQe(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(cQe,"isOneofGroup");Sr.isOneofGroup=cQe;function lQe(t,e){return t[e]}o(lQe,"getOneofValue");Sr.getOneofValue=lQe;function AQe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(AQe,"setOneofValue");Sr.setOneofValue=AQe;function uQe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(uQe,"setUnknownOneofValue");Sr.setUnknownOneofValue=uQe;function dQe(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(dQe,"clearOneofValue");Sr.clearOneofValue=dQe;function mQe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(mQe,"getSelectedOneofValue");Sr.getSelectedOneofValue=mQe});var Kv=g(ME=>{"use strict";Object.defineProperty(ME,"__esModule",{value:!0});ME.ReflectionTypeCheck=void 0;var tt=es(),pQe=Wv(),jv=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<i.req.length||i.req.some(a=>!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(!pQe.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;i<e.length&&i<s;i++)if(!r.isAssignable(e[i],s-1))return!1}else for(let i=0;i<e.length&&i<s;i++)if(!r.is(e[i],s-1))return!1;return!0}scalar(e,r,n){let s=typeof e;switch(r){case tt.ScalarType.UINT64:case tt.ScalarType.FIXED64:case tt.ScalarType.INT64:case tt.ScalarType.SFIXED64:case tt.ScalarType.SINT64:switch(n){case tt.LongType.BIGINT:return s=="bigint";case tt.LongType.NUMBER:return s=="number"&&!isNaN(e);default:return s=="string"}case tt.ScalarType.BOOL:return s=="boolean";case tt.ScalarType.STRING:return s=="string";case tt.ScalarType.BYTES:return e instanceof Uint8Array;case tt.ScalarType.DOUBLE:case tt.ScalarType.FLOAT:return s=="number"&&!isNaN(e);default:return s=="number"&&Number.isInteger(e)}}scalars(e,r,n,s){if(!Array.isArray(e))return!1;if(n<2)return!0;if(Array.isArray(e)){for(let i=0;i<e.length&&i<n;i++)if(!this.scalar(e[i],r,s))return!1}return!0}mapKeys(e,r,n){let s=Object.keys(e);switch(r){case tt.ScalarType.INT32:case tt.ScalarType.FIXED32:case tt.ScalarType.SFIXED32:case tt.ScalarType.SINT32:case tt.ScalarType.UINT32:return this.scalars(s.slice(0,n).map(i=>parseInt(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)}}};ME.ReflectionTypeCheck=jv});var _E=g(LE=>{"use strict";Object.defineProperty(LE,"__esModule",{value:!0});LE.reflectionLongConvert=void 0;var M8=es();function hQe(t,e){switch(e){case M8.LongType.BIGINT:return t.toBigInt();case M8.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(hQe,"reflectionLongConvert");LE.reflectionLongConvert=hQe});var Zv=g(OE=>{"use strict";Object.defineProperty(OE,"__esModule",{value:!0});OE.ReflectionJsonReader=void 0;var L8=BE(),fQe=xE(),Qt=es(),FE=Mo(),Xa=cA(),UE=_E(),Xv=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"&&Xa.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 Xa.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:(Xa.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}Xa.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&&Xa.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?Xa.assertUInt32(c):Xa.assertInt32(c),c;case Qt.ScalarType.INT64:case Qt.ScalarType.SFIXED64:case Qt.ScalarType.SINT64:if(e===null)return UE.reflectionLongConvert(FE.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return UE.reflectionLongConvert(FE.PbLong.from(e),n);case Qt.ScalarType.FIXED64:case Qt.ScalarType.UINT64:if(e===null)return UE.reflectionLongConvert(FE.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return UE.reflectionLongConvert(FE.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 fQe.base64decode(e)}}catch(a){i=a.message}this.assert(!1,s+(i?" - "+i:""),e)}};OE.ReflectionJsonReader=Xv});var tP=g(qE=>{"use strict";Object.defineProperty(qE,"__esModule",{value:!0});qE.ReflectionJsonWriter=void 0;var gQe=xE(),_8=Mo(),ar=es(),Ye=cA(),eP=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;l<r.length;l++){let A=this.scalar(e.T,r[l],e.name,e.opt,!0);Ye.assert(A!==void 0),i.push(A)}break;case"enum":let a=e.T();for(let l=0;l<r.length;l++){Ye.assert(r[l]===void 0||typeof r[l]=="number");let A=this.enum(a,r[l],e.name,e.opt,!0,n.enumAsInteger);Ye.assert(A!==void 0),i.push(A)}break;case"message":let c=e.T();for(let l=0;l<r.length;l++){let A=this.message(c,r[l],e.name,n);Ye.assert(A!==void 0),i.push(A)}break}(n.emitDefaultValues||i.length>0||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 ar.ScalarType.INT32:case ar.ScalarType.SFIXED32:case ar.ScalarType.SINT32:return r===0?a?0:void 0:(Ye.assertInt32(r),r);case ar.ScalarType.FIXED32:case ar.ScalarType.UINT32:return r===0?a?0:void 0:(Ye.assertUInt32(r),r);case ar.ScalarType.FLOAT:Ye.assertFloat32(r);case ar.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 ar.ScalarType.STRING:return r===""?a?"":void 0:(Ye.assert(typeof r=="string"),r);case ar.ScalarType.BOOL:return r===!1?a?!1:void 0:(Ye.assert(typeof r=="boolean"),r);case ar.ScalarType.UINT64:case ar.ScalarType.FIXED64:Ye.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=_8.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case ar.ScalarType.INT64:case ar.ScalarType.SFIXED64:case ar.ScalarType.SINT64:Ye.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=_8.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case ar.ScalarType.BYTES:return Ye.assert(r instanceof Uint8Array),r.byteLength?gQe.base64encode(r):a?"":void 0}}};qE.ReflectionJsonWriter=eP});var zE=g(HE=>{"use strict";Object.defineProperty(HE,"__esModule",{value:!0});HE.reflectionScalarDefault=void 0;var ts=es(),F8=_E(),U8=Mo();function yQe(t,e=ts.LongType.STRING){switch(t){case ts.ScalarType.BOOL:return!1;case ts.ScalarType.UINT64:case ts.ScalarType.FIXED64:return F8.reflectionLongConvert(U8.PbULong.ZERO,e);case ts.ScalarType.INT64:case ts.ScalarType.SFIXED64:case ts.ScalarType.SINT64:return F8.reflectionLongConvert(U8.PbLong.ZERO,e);case ts.ScalarType.DOUBLE:case ts.ScalarType.FLOAT:return 0;case ts.ScalarType.BYTES:return new Uint8Array(0);case ts.ScalarType.STRING:return"";default:return 0}}o(yQe,"reflectionScalarDefault");HE.reflectionScalarDefault=yQe});var nP=g(GE=>{"use strict";Object.defineProperty(GE,"__esModule",{value:!0});GE.ReflectionBinaryReader=void 0;var O8=Im(),lt=es(),Rm=_E(),q8=zE(),rP=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<i;){let[a,c]=e.tag(),l=this.fieldNoToField.get(a);if(!l){let m=n.readUnknownField;if(m=="throw")throw new Error(`Unknown field ${a} (wire type ${c}) for ${this.info.typeName}`);let p=e.skip(c);m!==!1&&(m===!0?O8.UnknownFieldHandler.onRead:m)(this.info.typeName,r,a,c,p);continue}let A=r,u=l.repeat,d=l.localName;switch(l.oneof&&(A=A[l.oneof],A.oneofKind!==d&&(A=r[l.oneof]={oneofKind:d})),l.kind){case"scalar":case"enum":let m=l.kind=="enum"?lt.ScalarType.INT32:l.T,p=l.kind=="scalar"?l.L:void 0;if(u){let C=A[d];if(c==O8.WireType.LengthDelimited&&m!=lt.ScalarType.STRING&&m!=lt.ScalarType.BYTES){let y=e.uint32()+e.pos;for(;e.pos<y;)C.push(this.scalar(e,m,p))}else C.push(this.scalar(e,m,p))}else A[d]=this.scalar(e,m,p);break;case"message":if(u){let C=A[d],y=l.T().internalBinaryRead(e,e.uint32(),n);C.push(y)}else A[d]=l.T().internalBinaryRead(e,e.uint32(),n,A[d]);break;case"map":let[h,f]=this.mapEntry(l,e,n);A[d][h]=f;break}}}mapEntry(e,r,n){let s=r.uint32(),i=r.pos+s,a,c;for(;r.pos<i;){let[l,A]=r.tag();switch(l){case 1:e.K==lt.ScalarType.BOOL?a=r.bool().toString():a=this.scalar(r,e.K,lt.LongType.STRING);break;case 2:switch(e.V.kind){case"scalar":c=this.scalar(r,e.V.T,e.V.L);break;case"enum":c=r.int32();break;case"message":c=e.V.T().internalBinaryRead(r,r.uint32(),n);break}break;default:throw new Error(`Unknown field ${l} (wire type ${A}) in map entry for ${this.info.typeName}#${e.name}`)}}if(a===void 0){let l=q8.reflectionScalarDefault(e.K);a=e.K==lt.ScalarType.BOOL?l.toString():l}if(c===void 0)switch(e.V.kind){case"scalar":c=q8.reflectionScalarDefault(e.V.T,e.V.L);break;case"enum":c=0;break;case"message":c=e.V.T().create();break}return[a,c]}scalar(e,r,n){switch(r){case lt.ScalarType.INT32:return e.int32();case lt.ScalarType.STRING:return e.string();case lt.ScalarType.BOOL:return e.bool();case lt.ScalarType.DOUBLE:return e.double();case lt.ScalarType.FLOAT:return e.float();case lt.ScalarType.INT64:return Rm.reflectionLongConvert(e.int64(),n);case lt.ScalarType.UINT64:return Rm.reflectionLongConvert(e.uint64(),n);case lt.ScalarType.FIXED64:return Rm.reflectionLongConvert(e.fixed64(),n);case lt.ScalarType.FIXED32:return e.fixed32();case lt.ScalarType.BYTES:return e.bytes();case lt.ScalarType.UINT32:return e.uint32();case lt.ScalarType.SFIXED32:return e.sfixed32();case lt.ScalarType.SFIXED64:return Rm.reflectionLongConvert(e.sfixed64(),n);case lt.ScalarType.SINT32:return e.sint32();case lt.ScalarType.SINT64:return Rm.reflectionLongConvert(e.sint64(),n)}}};GE.ReflectionBinaryReader=rP});var iP=g(YE=>{"use strict";Object.defineProperty(YE,"__esModule",{value:!0});YE.ReflectionBinaryWriter=void 0;var en=Im(),ke=es(),uA=cA(),vm=Mo(),sP=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"?ke.ScalarType.INT32:i.T;if(l)if(uA.assert(Array.isArray(a)),l==ke.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?uA.assert(i.opt):this.scalar(r,u,i.no,a,c||i.opt);break;case"message":if(l){uA.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":uA.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?en.UnknownFieldHandler.onWrite:s)(this.info.typeName,e,r)}mapEntry(e,r,n,s,i){e.tag(n.no,en.WireType.LengthDelimited),e.fork();let a=s;switch(n.K){case ke.ScalarType.INT32:case ke.ScalarType.FIXED32:case ke.ScalarType.UINT32:case ke.ScalarType.SFIXED32:case ke.ScalarType.SINT32:a=Number.parseInt(s);break;case ke.ScalarType.BOOL:uA.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,ke.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,en.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;uA.assert(r!==ke.ScalarType.BYTES&&r!==ke.ScalarType.STRING),e.tag(n,en.WireType.LengthDelimited),e.fork();let[,i]=this.scalarInfo(r);for(let a=0;a<s.length;a++)e[i](s[a]);e.join()}scalarInfo(e,r){let n=en.WireType.Varint,s,i=r===void 0,a=r===0;switch(e){case ke.ScalarType.INT32:s="int32";break;case ke.ScalarType.STRING:a=i||!r.length,n=en.WireType.LengthDelimited,s="string";break;case ke.ScalarType.BOOL:a=r===!1,s="bool";break;case ke.ScalarType.UINT32:s="uint32";break;case ke.ScalarType.DOUBLE:n=en.WireType.Bit64,s="double";break;case ke.ScalarType.FLOAT:n=en.WireType.Bit32,s="float";break;case ke.ScalarType.INT64:a=i||vm.PbLong.from(r).isZero(),s="int64";break;case ke.ScalarType.UINT64:a=i||vm.PbULong.from(r).isZero(),s="uint64";break;case ke.ScalarType.FIXED64:a=i||vm.PbULong.from(r).isZero(),n=en.WireType.Bit64,s="fixed64";break;case ke.ScalarType.BYTES:a=i||!r.byteLength,n=en.WireType.LengthDelimited,s="bytes";break;case ke.ScalarType.FIXED32:n=en.WireType.Bit32,s="fixed32";break;case ke.ScalarType.SFIXED32:n=en.WireType.Bit32,s="sfixed32";break;case ke.ScalarType.SFIXED64:a=i||vm.PbLong.from(r).isZero(),n=en.WireType.Bit64,s="sfixed64";break;case ke.ScalarType.SINT32:s="sint32";break;case ke.ScalarType.SINT64:a=i||vm.PbLong.from(r).isZero(),s="sint64";break}return[n,s,i||a]}};YE.ReflectionBinaryWriter=sP});var oP=g(VE=>{"use strict";Object.defineProperty(VE,"__esModule",{value:!0});VE.reflectionCreate=void 0;var EQe=zE(),CQe=Sm();function IQe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},CQe.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]=EQe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(IQe,"reflectionCreate");VE.reflectionCreate=IQe});var aP=g(JE=>{"use strict";Object.defineProperty(JE,"__esModule",{value:!0});JE.reflectionMergePartial=void 0;function BQe(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<n.length;A++)i[c][A]=n[A];else i[c]=n;break;case"message":let l=a.T();if(a.repeat)for(let A=0;A<n.length;A++)i[c][A]=l.create(n[A]);else i[c]===void 0?i[c]=l.create(n):l.mergePartial(i[c],n);break;case"map":switch(a.V.kind){case"scalar":case"enum":Object.assign(i[c],n);break;case"message":let A=a.V.T();for(let u of Object.keys(n))i[c][u]=A.create(n[u]);break}break}}}o(BQe,"reflectionMergePartial");JE.reflectionMergePartial=BQe});var lP=g(WE=>{"use strict";Object.defineProperty(WE,"__esModule",{value:!0});WE.reflectionEquals=void 0;var cP=es();function QQe(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"?cP.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"?z8(n.V.T(),$E(i),$E(a)):H8(n.V.kind=="enum"?cP.ScalarType.INT32:n.V.T,$E(i),$E(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?z8(l,i,a):l.equals(i,a)))return!1;break}}return!0}o(QQe,"reflectionEquals");WE.reflectionEquals=QQe;var $E=Object.values;function G8(t,e,r){if(e===r)return!0;if(t!==cP.ScalarType.BYTES)return!1;let n=e,s=r;if(n.length!==s.length)return!1;for(let i=0;i<n.length;i++)if(n[i]!=s[i])return!1;return!0}o(G8,"primitiveEq");function H8(t,e,r){if(e.length!==r.length)return!1;for(let n=0;n<e.length;n++)if(!G8(t,e[n],r[n]))return!1;return!0}o(H8,"repeatedPrimitiveEq");function z8(t,e,r){if(e.length!==r.length)return!1;for(let n=0;n<e.length;n++)if(!t.equals(e[n],r[n]))return!1;return!0}o(z8,"repeatedMsgEq")});var J8=g(jE=>{"use strict";Object.defineProperty(jE,"__esModule",{value:!0});jE.MessageType=void 0;var xQe=Sm(),bQe=es(),wQe=Kv(),NQe=Zv(),SQe=tP(),RQe=nP(),vQe=iP(),PQe=oP(),AP=aP(),DQe=BE(),Y8=Jv(),TQe=lP(),kQe=Vv(),MQe=Yv(),V8=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),LQe=V8[xQe.MESSAGE_TYPE]={},uP=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(bQe.normalizeFieldInfo),this.options=n??{},LQe.value=this,this.messagePrototype=Object.create(null,V8),this.refTypeCheck=new wQe.ReflectionTypeCheck(this),this.refJsonReader=new NQe.ReflectionJsonReader(this),this.refJsonWriter=new SQe.ReflectionJsonWriter(this),this.refBinReader=new RQe.ReflectionBinaryReader(this),this.refBinWriter=new vQe.ReflectionBinaryWriter(this)}create(e){let r=PQe.reflectionCreate(this);return e!==void 0&&AP.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return AP.reflectionMergePartial(this,r,e),r}equals(e,r){return TQe.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){AP.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=MQe.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=kQe.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 ${DQe.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}};jE.MessageType=uP});var $8=g(KE=>{"use strict";Object.defineProperty(KE,"__esModule",{value:!0});KE.containsMessageType=void 0;var _Qe=Sm();function FQe(t){return t[_Qe.MESSAGE_TYPE]!=null}o(FQe,"containsMessageType");KE.containsMessageType=FQe});var j8=g(Zs=>{"use strict";Object.defineProperty(Zs,"__esModule",{value:!0});Zs.listEnumNumbers=Zs.listEnumNames=Zs.listEnumValues=Zs.isEnumObject=void 0;function W8(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(W8,"isEnumObject");Zs.isEnumObject=W8;function dP(t){if(!W8(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(dP,"listEnumValues");Zs.listEnumValues=dP;function UQe(t){return dP(t).map(e=>e.name)}o(UQe,"listEnumNames");Zs.listEnumNames=UQe;function OQe(t){return dP(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(OQe,"listEnumNumbers");Zs.listEnumNumbers=OQe});var At=g(J=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0});var K8=BE();Object.defineProperty(J,"typeofJsonValue",{enumerable:!0,get:o(function(){return K8.typeofJsonValue},"get")});Object.defineProperty(J,"isJsonObject",{enumerable:!0,get:o(function(){return K8.isJsonObject},"get")});var X8=xE();Object.defineProperty(J,"base64decode",{enumerable:!0,get:o(function(){return X8.base64decode},"get")});Object.defineProperty(J,"base64encode",{enumerable:!0,get:o(function(){return X8.base64encode},"get")});var qQe=x8();Object.defineProperty(J,"utf8read",{enumerable:!0,get:o(function(){return qQe.utf8read},"get")});var mP=Im();Object.defineProperty(J,"WireType",{enumerable:!0,get:o(function(){return mP.WireType},"get")});Object.defineProperty(J,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return mP.mergeBinaryOptions},"get")});Object.defineProperty(J,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return mP.UnknownFieldHandler},"get")});var Z8=Yv();Object.defineProperty(J,"BinaryReader",{enumerable:!0,get:o(function(){return Z8.BinaryReader},"get")});Object.defineProperty(J,"binaryReadOptions",{enumerable:!0,get:o(function(){return Z8.binaryReadOptions},"get")});var e$=Vv();Object.defineProperty(J,"BinaryWriter",{enumerable:!0,get:o(function(){return e$.BinaryWriter},"get")});Object.defineProperty(J,"binaryWriteOptions",{enumerable:!0,get:o(function(){return e$.binaryWriteOptions},"get")});var t$=Mo();Object.defineProperty(J,"PbLong",{enumerable:!0,get:o(function(){return t$.PbLong},"get")});Object.defineProperty(J,"PbULong",{enumerable:!0,get:o(function(){return t$.PbULong},"get")});var pP=Jv();Object.defineProperty(J,"jsonReadOptions",{enumerable:!0,get:o(function(){return pP.jsonReadOptions},"get")});Object.defineProperty(J,"jsonWriteOptions",{enumerable:!0,get:o(function(){return pP.jsonWriteOptions},"get")});Object.defineProperty(J,"mergeJsonOptions",{enumerable:!0,get:o(function(){return pP.mergeJsonOptions},"get")});var HQe=Sm();Object.defineProperty(J,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return HQe.MESSAGE_TYPE},"get")});var zQe=J8();Object.defineProperty(J,"MessageType",{enumerable:!0,get:o(function(){return zQe.MessageType},"get")});var Za=es();Object.defineProperty(J,"ScalarType",{enumerable:!0,get:o(function(){return Za.ScalarType},"get")});Object.defineProperty(J,"LongType",{enumerable:!0,get:o(function(){return Za.LongType},"get")});Object.defineProperty(J,"RepeatType",{enumerable:!0,get:o(function(){return Za.RepeatType},"get")});Object.defineProperty(J,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return Za.normalizeFieldInfo},"get")});Object.defineProperty(J,"readFieldOptions",{enumerable:!0,get:o(function(){return Za.readFieldOptions},"get")});Object.defineProperty(J,"readFieldOption",{enumerable:!0,get:o(function(){return Za.readFieldOption},"get")});Object.defineProperty(J,"readMessageOption",{enumerable:!0,get:o(function(){return Za.readMessageOption},"get")});var GQe=Kv();Object.defineProperty(J,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return GQe.ReflectionTypeCheck},"get")});var YQe=oP();Object.defineProperty(J,"reflectionCreate",{enumerable:!0,get:o(function(){return YQe.reflectionCreate},"get")});var VQe=zE();Object.defineProperty(J,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return VQe.reflectionScalarDefault},"get")});var JQe=aP();Object.defineProperty(J,"reflectionMergePartial",{enumerable:!0,get:o(function(){return JQe.reflectionMergePartial},"get")});var $Qe=lP();Object.defineProperty(J,"reflectionEquals",{enumerable:!0,get:o(function(){return $Qe.reflectionEquals},"get")});var WQe=nP();Object.defineProperty(J,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return WQe.ReflectionBinaryReader},"get")});var jQe=iP();Object.defineProperty(J,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return jQe.ReflectionBinaryWriter},"get")});var KQe=Zv();Object.defineProperty(J,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return KQe.ReflectionJsonReader},"get")});var XQe=tP();Object.defineProperty(J,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return XQe.ReflectionJsonWriter},"get")});var ZQe=$8();Object.defineProperty(J,"containsMessageType",{enumerable:!0,get:o(function(){return ZQe.containsMessageType},"get")});var Pm=Wv();Object.defineProperty(J,"isOneofGroup",{enumerable:!0,get:o(function(){return Pm.isOneofGroup},"get")});Object.defineProperty(J,"setOneofValue",{enumerable:!0,get:o(function(){return Pm.setOneofValue},"get")});Object.defineProperty(J,"getOneofValue",{enumerable:!0,get:o(function(){return Pm.getOneofValue},"get")});Object.defineProperty(J,"clearOneofValue",{enumerable:!0,get:o(function(){return Pm.clearOneofValue},"get")});Object.defineProperty(J,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return Pm.getSelectedOneofValue},"get")});var XE=j8();Object.defineProperty(J,"listEnumValues",{enumerable:!0,get:o(function(){return XE.listEnumValues},"get")});Object.defineProperty(J,"listEnumNames",{enumerable:!0,get:o(function(){return XE.listEnumNames},"get")});Object.defineProperty(J,"listEnumNumbers",{enumerable:!0,get:o(function(){return XE.listEnumNumbers},"get")});Object.defineProperty(J,"isEnumObject",{enumerable:!0,get:o(function(){return XE.isEnumObject},"get")});var exe=$v();Object.defineProperty(J,"lowerCamelCase",{enumerable:!0,get:o(function(){return exe.lowerCamelCase},"get")});var Dm=cA();Object.defineProperty(J,"assert",{enumerable:!0,get:o(function(){return Dm.assert},"get")});Object.defineProperty(J,"assertNever",{enumerable:!0,get:o(function(){return Dm.assertNever},"get")});Object.defineProperty(J,"assertInt32",{enumerable:!0,get:o(function(){return Dm.assertInt32},"get")});Object.defineProperty(J,"assertUInt32",{enumerable:!0,get:o(function(){return Dm.assertUInt32},"get")});Object.defineProperty(J,"assertFloat32",{enumerable:!0,get:o(function(){return Dm.assertFloat32},"get")})});var hP=g(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});ei.readServiceOption=ei.readMethodOption=ei.readMethodOptions=ei.normalizeMethodInfo=void 0;var txe=At();function rxe(t,e){var r,n,s;let i=t;return i.service=e,i.localName=(r=i.localName)!==null&&r!==void 0?r:txe.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(rxe,"normalizeMethodInfo");ei.normalizeMethodInfo=rxe;function nxe(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(nxe,"readMethodOptions");ei.readMethodOptions=nxe;function sxe(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(sxe,"readMethodOption");ei.readMethodOption=sxe;function ixe(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(ixe,"readServiceOption");ei.readServiceOption=ixe});var r$=g(ZE=>{"use strict";Object.defineProperty(ZE,"__esModule",{value:!0});ZE.ServiceType=void 0;var oxe=hP(),fP=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(s=>oxe.normalizeMethodInfo(s,this)),this.options=n??{}}};ZE.ServiceType=fP});var yP=g(eC=>{"use strict";Object.defineProperty(eC,"__esModule",{value:!0});eC.RpcError=void 0;var gP=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(`
|
|
`)}};eC.RpcError=gP});var EP=g(rC=>{"use strict";Object.defineProperty(rC,"__esModule",{value:!0});rC.mergeRpcOptions=void 0;var n$=At();function axe(t,e){if(!e)return t;let r={};tC(t,r),tC(e,r);for(let n of Object.keys(e)){let s=e[n];switch(n){case"jsonOptions":r.jsonOptions=n$.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=n$.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},tC(t.meta,r.meta),tC(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(s):s.concat();break}}return r}o(axe,"mergeRpcOptions");rC.mergeRpcOptions=axe;function tC(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(tC,"copy")});var IP=g(ec=>{"use strict";Object.defineProperty(ec,"__esModule",{value:!0});ec.Deferred=ec.DeferredState=void 0;var ti;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(ti=ec.DeferredState||(ec.DeferredState={}));var CP=class{static{o(this,"Deferred")}constructor(e=!0){this._state=ti.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!==ti.PENDING)throw new Error(`cannot resolve ${ti[this.state].toLowerCase()}`);this._resolve(e),this._state=ti.RESOLVED}reject(e){if(this.state!==ti.PENDING)throw new Error(`cannot reject ${ti[this.state].toLowerCase()}`);this._reject(e),this._state=ti.REJECTED}resolvePending(e){this._state===ti.PENDING&&this.resolve(e)}rejectPending(e){this._state===ti.PENDING&&this.reject(e)}};ec.Deferred=CP});var QP=g(nC=>{"use strict";Object.defineProperty(nC,"__esModule",{value:!0});nC.RpcOutputStreamController=void 0;var s$=IP(),tc=At(),BP=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){tc.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){tc.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){tc.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(){tc.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;tc.assert(e,"bad state"),tc.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 s$.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;tc.assert(n.state==s$.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};nC.RpcOutputStreamController=BP});var bP=g(dA=>{"use strict";var cxe=dA&&dA.__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(dA,"__esModule",{value:!0});dA.UnaryCall=void 0;var xP=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 cxe(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}})}};dA.UnaryCall=xP});var NP=g(mA=>{"use strict";var lxe=mA&&mA.__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(mA,"__esModule",{value:!0});mA.ServerStreamingCall=void 0;var wP=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 lxe(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}})}};mA.ServerStreamingCall=wP});var RP=g(pA=>{"use strict";var Axe=pA&&pA.__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(pA,"__esModule",{value:!0});pA.ClientStreamingCall=void 0;var SP=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 Axe(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}})}};pA.ClientStreamingCall=SP});var PP=g(hA=>{"use strict";var uxe=hA&&hA.__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(hA,"__esModule",{value:!0});hA.DuplexStreamingCall=void 0;var vP=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 uxe(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}})}};hA.DuplexStreamingCall=vP});var o$=g(yA=>{"use strict";var dxe=yA&&yA.__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(yA,"__esModule",{value:!0});yA.TestTransport=void 0;var vn=yP(),sC=At(),i$=QP(),mxe=EP(),pxe=bP(),hxe=NP(),fxe=RP(),gxe=PP(),gA=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 fA?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof fA?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 vn.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof vn.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(sC.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),sC.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return dxe(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)sC.assert(e.O.is(i)),s.push(i);else this.data.response instanceof vn.RpcError||(sC.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 vn.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 vn.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof vn.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 vn.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 vn.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return mxe.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 pxe.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 i$.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 hxe.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 fA(this.data,r.abort),new fxe.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 i$.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 fA(this.data,r.abort),new gxe.DuplexStreamingCall(e,s,this.lastInput,i,a,l,A)}};yA.TestTransport=gA;gA.defaultHeaders={responseHeader:"test"};gA.defaultStatus={code:"OK",detail:"all good"};gA.defaultTrailers={responseTrailer:"test"};function Dt(t,e){return r=>new Promise((n,s)=>{if(e?.aborted)s(new vn.RpcError("user cancel","CANCELLED"));else{let i=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(i),s(new vn.RpcError("user cancel","CANCELLED"))})}})}o(Dt,"delay");var fA=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 vn.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 vn.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 a$=g(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.stackDuplexStreamingInterceptors=Pn.stackClientStreamingInterceptors=Pn.stackServerStreamingInterceptors=Pn.stackUnaryInterceptors=Pn.stackIntercept=void 0;var yxe=At();function Tm(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)}yxe.assertNever(t)}o(Tm,"stackIntercept");Pn.stackIntercept=Tm;function Exe(t,e,r,n){return Tm("unary",t,e,n,r)}o(Exe,"stackUnaryInterceptors");Pn.stackUnaryInterceptors=Exe;function Cxe(t,e,r,n){return Tm("serverStreaming",t,e,n,r)}o(Cxe,"stackServerStreamingInterceptors");Pn.stackServerStreamingInterceptors=Cxe;function Ixe(t,e,r){return Tm("clientStreaming",t,e,r)}o(Ixe,"stackClientStreamingInterceptors");Pn.stackClientStreamingInterceptors=Ixe;function Bxe(t,e,r){return Tm("duplex",t,e,r)}o(Bxe,"stackDuplexStreamingInterceptors");Pn.stackDuplexStreamingInterceptors=Bxe});var c$=g(iC=>{"use strict";Object.defineProperty(iC,"__esModule",{value:!0});iC.ServerCallContextController=void 0;var DP=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)}}};iC.ServerCallContextController=DP});var A$=g(rt=>{"use strict";Object.defineProperty(rt,"__esModule",{value:!0});var Qxe=r$();Object.defineProperty(rt,"ServiceType",{enumerable:!0,get:o(function(){return Qxe.ServiceType},"get")});var TP=hP();Object.defineProperty(rt,"readMethodOptions",{enumerable:!0,get:o(function(){return TP.readMethodOptions},"get")});Object.defineProperty(rt,"readMethodOption",{enumerable:!0,get:o(function(){return TP.readMethodOption},"get")});Object.defineProperty(rt,"readServiceOption",{enumerable:!0,get:o(function(){return TP.readServiceOption},"get")});var xxe=yP();Object.defineProperty(rt,"RpcError",{enumerable:!0,get:o(function(){return xxe.RpcError},"get")});var bxe=EP();Object.defineProperty(rt,"mergeRpcOptions",{enumerable:!0,get:o(function(){return bxe.mergeRpcOptions},"get")});var wxe=QP();Object.defineProperty(rt,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return wxe.RpcOutputStreamController},"get")});var Nxe=o$();Object.defineProperty(rt,"TestTransport",{enumerable:!0,get:o(function(){return Nxe.TestTransport},"get")});var l$=IP();Object.defineProperty(rt,"Deferred",{enumerable:!0,get:o(function(){return l$.Deferred},"get")});Object.defineProperty(rt,"DeferredState",{enumerable:!0,get:o(function(){return l$.DeferredState},"get")});var Sxe=PP();Object.defineProperty(rt,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return Sxe.DuplexStreamingCall},"get")});var Rxe=RP();Object.defineProperty(rt,"ClientStreamingCall",{enumerable:!0,get:o(function(){return Rxe.ClientStreamingCall},"get")});var vxe=NP();Object.defineProperty(rt,"ServerStreamingCall",{enumerable:!0,get:o(function(){return vxe.ServerStreamingCall},"get")});var Pxe=bP();Object.defineProperty(rt,"UnaryCall",{enumerable:!0,get:o(function(){return Pxe.UnaryCall},"get")});var km=a$();Object.defineProperty(rt,"stackIntercept",{enumerable:!0,get:o(function(){return km.stackIntercept},"get")});Object.defineProperty(rt,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return km.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(rt,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return km.stackClientStreamingInterceptors},"get")});Object.defineProperty(rt,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return km.stackServerStreamingInterceptors},"get")});Object.defineProperty(rt,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return km.stackUnaryInterceptors},"get")});var Dxe=c$();Object.defineProperty(rt,"ServerCallContextController",{enumerable:!0,get:o(function(){return Dxe.ServerCallContextController},"get")})});var S$=g((zZe,N$)=>{function Dn(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(Dn,"RetryOperation");N$.exports=Dn;Dn.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};Dn.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};Dn.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};Dn.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)};Dn.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};Dn.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};Dn.prototype.start=Dn.prototype.try;Dn.prototype.errors=function(){return this._errors};Dn.prototype.attempts=function(){return this._attempts};Dn.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,r=0,n=0;n<this._errors.length;n++){var s=this._errors[n],i=s.message,a=(t[i]||0)+1;t[i]=a,a>=r&&(e=s,r=a)}return e}});var R$=g(oc=>{var Gxe=S$();oc.operation=function(t){var e=oc.timeouts(t);return new Gxe(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};oc.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<e.retries;s++)n.push(this.createTimeout(s,e));return t&&t.forever&&!n.length&&n.push(this.createTimeout(s,e)),n.sort(function(i,a){return i-a}),n};oc.createTimeout=function(t,e){var r=e.randomize?Math.random()+1:1,n=Math.round(r*Math.max(e.minTimeout,1)*Math.pow(e.factor,t));return n=Math.min(n,e.maxTimeout),n};oc.wrap=function(t,e,r){if(e instanceof Array&&(r=e,e=null),!r){r=[];for(var n in t)typeof t[n]=="function"&&r.push(n)}for(var s=0;s<r.length;s++){var i=r[s],a=t[i];t[i]=o(function(l){var A=oc.operation(e),u=Array.prototype.slice.call(arguments,1),d=u.pop();u.push(function(m){A.retry(m)||(m&&(arguments[0]=A.mainError()),d.apply(this,arguments))}),A.attempt(function(){l.apply(t,u)})},"retryWrapper").bind(t,a),t[i].options=e}}});var P$=g((JZe,v$)=>{v$.exports=R$()});var T$=g(($Ze,D$)=>{var Yxe=P$();function Vxe(t,e){function r(n,s){var i=e||{},a;"randomize"in i||(i.randomize=!0),a=Yxe.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(Vxe,"retry");D$.exports=Vxe});var K$=g((jZe,Hi)=>{var ve=require("fs"),pC=require("os"),xt=require("path"),k$=require("crypto"),ni={fs:ve.constants,os:pC.constants},M$="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",U$=/XXXXXX/,Jxe=3,O$=(ni.O_CREAT||ni.fs.O_CREAT)|(ni.O_EXCL||ni.fs.O_EXCL)|(ni.O_RDWR||ni.fs.O_RDWR),$xe=pC.platform()==="win32",Wxe=ni.EBADF||ni.os.errno.EBADF,jxe=ni.ENOENT||ni.os.errno.ENOENT,q$=448,H$=384,Kxe="exit",IA=[],z$=ve.rmdirSync.bind(ve),G$=!1;function Xxe(t,e){return ve.rm(t,{recursive:!0},e)}o(Xxe,"rimraf");function Y$(t){return ve.rmSync(t,{recursive:!0})}o(Y$,"FN_RIMRAF_SYNC");function mD(t,e){let r=BA(t,e),n=r[0],s=r[1];cbe(n,function(i,a){if(i)return s(i);let c=a.tries;o((function l(){try{let A=J$(a);ve.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(mD,"tmpName");function pD(t){let e=BA(t),r=e[0],n=lbe(r),s=n.tries;do{let i=J$(n);try{ve.statSync(i)}catch{return i}}while(s-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}o(pD,"tmpNameSync");function Zxe(t,e){let r=BA(t,e),n=r[0],s=r[1];mD(n,o(function(a,c){if(a)return s(a);ve.open(c,O$,n.mode||H$,o(function(A,u){if(A)return s(A);if(n.discardDescriptor)return ve.close(u,o(function(m){return s(m,c,void 0,uD(c,-1,n,!1))},"_discardCallback"));{let d=n.discardDescriptor||n.detachDescriptor;s(null,c,u,uD(c,d?-1:u,n,!1))}},"_fileCreated"))},"_tmpNameCreated"))}o(Zxe,"file");function ebe(t){let e=BA(t),r=e[0],n=r.discardDescriptor||r.detachDescriptor,s=pD(r),i=ve.openSync(s,O$,r.mode||H$);return r.discardDescriptor&&(ve.closeSync(i),i=void 0),{name:s,fd:i,removeCallback:uD(s,n?-1:i,r,!0)}}o(ebe,"fileSync");function tbe(t,e){let r=BA(t,e),n=r[0],s=r[1];mD(n,o(function(a,c){if(a)return s(a);ve.mkdir(c,n.mode||q$,o(function(A){if(A)return s(A);s(null,c,V$(c,n,!1))},"_dirCreated"))},"_tmpNameCreated"))}o(tbe,"dir");function rbe(t){let e=BA(t),r=e[0],n=pD(r);return ve.mkdirSync(n,r.mode||q$),{name:n,removeCallback:V$(n,r,!0)}}o(rbe,"dirSync");function nbe(t,e){let r=o(function(n){if(n&&!dD(n))return e(n);e()},"_handler");0<=t[0]?ve.close(t[0],function(){ve.unlink(t[1],r)}):ve.unlink(t[1],r)}o(nbe,"_removeFileAsync");function sbe(t){let e=null;try{0<=t[0]&&ve.closeSync(t[0])}catch(r){if(!Abe(r)&&!dD(r))throw r}finally{try{ve.unlinkSync(t[1])}catch(r){dD(r)||(e=r)}}if(e!==null)throw e}o(sbe,"_removeFileSync");function uD(t,e,r,n){let s=mC(sbe,[e,t],n),i=mC(nbe,[e,t],n,s);return r.keep||IA.unshift(s),n?s:i}o(uD,"_prepareTmpFileRemoveCallback");function V$(t,e,r){let n=e.unsafeCleanup?Xxe:ve.rmdir.bind(ve),s=e.unsafeCleanup?Y$:z$,i=mC(s,t,r),a=mC(n,t,r,i);return e.keep||IA.unshift(i),r?i:a}o(V$,"_prepareTmpDirRemoveCallback");function mC(t,e,r,n){let s=!1;return o(function i(a){if(!s){let c=n||i,l=IA.indexOf(c);return l>=0&&IA.splice(l,1),s=!0,r||t===z$||t===Y$?t(e):t(e,a||function(){})}},"_cleanupCallback")}o(mC,"_prepareRemoveCallback");function ibe(){if(G$)for(;IA.length;)try{IA[0]()}catch{}}o(ibe,"_garbageCollector");function L$(t){let e=[],r=null;try{r=k$.randomBytes(t)}catch{r=k$.pseudoRandomBytes(t)}for(let n=0;n<t;n++)e.push(M$[r[n]%M$.length]);return e.join("")}o(L$,"_randomChars");function Rr(t){return typeof t>"u"}o(Rr,"_isUndefined");function BA(t,e){if(typeof t=="function")return[{},t];if(Rr(t))return[{},e];let r={};for(let n of Object.getOwnPropertyNames(t))r[n]=t[n];return[r,e]}o(BA,"_parseArguments");function obe(t,e,r){let n=xt.isAbsolute(t)?t:xt.join(e,t);ve.stat(n,function(s){s?ve.realpath(xt.dirname(n),function(i,a){if(i)return r(i);r(null,xt.join(a,xt.basename(n)))}):ve.realpath(n,r)})}o(obe,"_resolvePath");function abe(t,e){let r=xt.isAbsolute(t)?t:xt.join(e,t);try{return ve.statSync(r),ve.realpathSync(r)}catch{let s=ve.realpathSync(xt.dirname(r));return xt.join(s,xt.basename(r))}}o(abe,"_resolvePathSync");function J$(t){let e=t.tmpdir;if(!Rr(t.name))return xt.join(e,t.dir,t.name);if(!Rr(t.template))return xt.join(e,t.dir,t.template).replace(U$,L$(6));let r=[t.prefix?t.prefix:"tmp","-",process.pid,"-",L$(12),t.postfix?"-"+t.postfix:""].join("");return xt.join(e,t.dir,r)}o(J$,"_generateTmpName");function AD(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(AD,"_assertPath");function $$(t){if(!Rr(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(!Rr(t.template)){if(typeof t.template!="string")throw new Error(`template option must be a string, got "${typeof t.template}".`);if(!t.template.match(U$))throw new Error(`Invalid template, found "${t.template}".`)}if(!Rr(t.tries)&&isNaN(t.tries)||t.tries<0)throw new Error(`Invalid tries, found "${t.tries}".`);t.tries=Rr(t.name)?t.tries||Jxe:1,t.keep=!!t.keep,t.detachDescriptor=!!t.detachDescriptor,t.discardDescriptor=!!t.discardDescriptor,t.unsafeCleanup=!!t.unsafeCleanup,t.prefix=Rr(t.prefix)?"":AD("prefix",t.prefix),t.postfix=Rr(t.postfix)?"":AD("postfix",t.postfix),t.template=Rr(t.template)?void 0:AD("template",t.template)}o($$,"_assertOptionsBase");function _$(t,e,r,n){if(Rr(e))return n(null);obe(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(_$,"_getRelativePath");function F$(t,e,r){if(Rr(e))return;let n=abe(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(F$,"_getRelativePathSync");function cbe(t,e){dbe(t,function(r,n){if(r)return e(r);t.tmpdir=n;try{$$(t,n)}catch(s){return e(s)}_$("dir",t.dir,n,function(s,i){if(s)return e(s);t.dir=Rr(i)?"":i,_$("template",t.template,n,function(a,c){if(a)return e(a);t.template=c,e(null,t)})})})}o(cbe,"_assertAndSanitizeOptions");function lbe(t){let e=t.tmpdir=j$(t);$$(t,e);let r=F$("dir",t.dir,e);return t.dir=Rr(r)?"":r,t.template=F$("template",t.template,e),t}o(lbe,"_assertAndSanitizeOptionsSync");function Abe(t){return W$(t,-Wxe,"EBADF")}o(Abe,"_isEBADF");function dD(t){return W$(t,-jxe,"ENOENT")}o(dD,"_isENOENT");function W$(t,e,r){return $xe?t.code===r:t.code===r&&t.errno===e}o(W$,"_isExpectedError");function ube(){G$=!0}o(ube,"setGracefulCleanup");function dbe(t,e){return ve.realpath(t&&t.tmpdir||pC.tmpdir(),e)}o(dbe,"_getTmpDir");function j$(t){return ve.realpathSync(t&&t.tmpdir||pC.tmpdir())}o(j$,"_getTmpDirSync");process.addListener(Kxe,ibe);Object.defineProperty(Hi.exports,"tmpdir",{enumerable:!0,configurable:!1,get:o(function(){return j$()},"get")});Hi.exports.dir=tbe;Hi.exports.dirSync=rbe;Hi.exports.file=Zxe;Hi.exports.fileSync=ebe;Hi.exports.tmpName=mD;Hi.exports.tmpNameSync=pD;Hi.exports.setGracefulCleanup=ube});var cr=g(nn=>{"use strict";nn.__esModule=!0;nn.extend=tW;nn.indexOf=gbe;nn.escapeExpression=ybe;nn.isEmpty=Ebe;nn.createFrame=Cbe;nn.blockParams=Ibe;nn.appendContextPath=Bbe;var mbe={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},pbe=/[&<>"'`=]/g,hbe=/[&<>"'`=]/;function fbe(t){return mbe[t]}o(fbe,"escapeChar");function tW(t){for(var e=1;e<arguments.length;e++)for(var r in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],r)&&(t[r]=arguments[e][r]);return t}o(tW,"extend");var gD=Object.prototype.toString;nn.toString=gD;var fD=o(function(e){return typeof e=="function"},"isFunction");fD(/x/)&&(nn.isFunction=fD=o(function(t){return typeof t=="function"&&gD.call(t)==="[object Function]"},"isFunction"));nn.isFunction=fD;var rW=Array.isArray||function(t){return t&&typeof t=="object"?gD.call(t)==="[object Array]":!1};nn.isArray=rW;function gbe(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}o(gbe,"indexOf");function ybe(t){if(typeof t!="string"){if(t&&t.toHTML)return t.toHTML();if(t==null)return"";if(!t)return t+"";t=""+t}return hbe.test(t)?t.replace(pbe,fbe):t}o(ybe,"escapeExpression");function Ebe(t){return!t&&t!==0?!0:!!(rW(t)&&t.length===0)}o(Ebe,"isEmpty");function Cbe(t){var e=tW({},t);return e._parent=t,e}o(Cbe,"createFrame");function Ibe(t,e){return t.path=e,t}o(Ibe,"blockParams");function Bbe(t,e){return(t?t+".":"")+e}o(Bbe,"appendContextPath")});var sn=g((fC,nW)=>{"use strict";fC.__esModule=!0;var yD=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function ED(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<yD.length;l++)this[yD[l]]=c[yD[l]];Error.captureStackTrace&&Error.captureStackTrace(this,ED);try{r&&(this.lineNumber=n,this.endLineNumber=s,Object.defineProperty?(Object.defineProperty(this,"column",{value:i,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:a,enumerable:!0})):(this.column=i,this.endColumn=a))}catch{}}o(ED,"Exception");ED.prototype=new Error;fC.default=ED;nW.exports=fC.default});var iW=g((gC,sW)=>{"use strict";gC.__esModule=!0;var CD=cr();gC.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(CD.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=CD.createFrame(r.data);i.contextPath=CD.appendContextPath(r.data.contextPath,r.name),r={data:i}}return s(e,r)})};sW.exports=gC.default});var aW=g((yC,oW)=>{"use strict";yC.__esModule=!0;function Qbe(t){return t&&t.__esModule?t:{default:t}}o(Qbe,"_interopRequireDefault");var Um=cr(),xbe=sn(),bbe=Qbe(xbe);yC.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new bbe.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=Um.appendContextPath(r.data.contextPath,r.ids[0])+"."),Um.isFunction(e)&&(e=e.call(this)),r.data&&(c=Um.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:Um.blockParams([e[h],h],[l+h,null])})}if(o(A,"execIteration"),e&&typeof e=="object")if(Um.isArray(e))for(var u=e.length;i<u;i++)i in e&&A(i,i,i===e.length-1);else if(typeof Symbol=="function"&&e[Symbol.iterator]){for(var d=[],m=e[Symbol.iterator](),p=m.next();!p.done;p=m.next())d.push(p.value);e=d;for(var u=e.length;i<u;i++)A(i,i,i===e.length-1)}else(function(){var h=void 0;Object.keys(e).forEach(function(f){h!==void 0&&A(h,i-1),h=f,i++}),h!==void 0&&A(h,i-1,!0)})();return i===0&&(a=s(this)),a})};oW.exports=yC.default});var lW=g((EC,cW)=>{"use strict";EC.__esModule=!0;function wbe(t){return t&&t.__esModule?t:{default:t}}o(wbe,"_interopRequireDefault");var Nbe=sn(),Sbe=wbe(Nbe);EC.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new Sbe.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};cW.exports=EC.default});var mW=g((CC,dW)=>{"use strict";CC.__esModule=!0;function Rbe(t){return t&&t.__esModule?t:{default:t}}o(Rbe,"_interopRequireDefault");var AW=cr(),vbe=sn(),uW=Rbe(vbe);CC.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new uW.default("#if requires exactly one argument");return AW.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||AW.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new uW.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};dW.exports=CC.default});var hW=g((IC,pW)=>{"use strict";IC.__esModule=!0;IC.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],r=arguments[arguments.length-1],n=0;n<arguments.length-1;n++)e.push(arguments[n]);var s=1;r.hash.level!=null?s=r.hash.level:r.data&&r.data.level!=null&&(s=r.data.level),e[0]=s,t.log.apply(t,e)})};pW.exports=IC.default});var gW=g((BC,fW)=>{"use strict";BC.__esModule=!0;BC.default=function(t){t.registerHelper("lookup",function(e,r,n){return e&&n.lookupProperty(e,r)})};fW.exports=BC.default});var EW=g((QC,yW)=>{"use strict";QC.__esModule=!0;function Pbe(t){return t&&t.__esModule?t:{default:t}}o(Pbe,"_interopRequireDefault");var Om=cr(),Dbe=sn(),Tbe=Pbe(Dbe);QC.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new Tbe.default("#with requires exactly one argument");Om.isFunction(e)&&(e=e.call(this));var n=r.fn;if(Om.isEmpty(e))return r.inverse(this);var s=r.data;return r.data&&r.ids&&(s=Om.createFrame(r.data),s.contextPath=Om.appendContextPath(r.data.contextPath,r.ids[0])),n(e,{data:s,blockParams:Om.blockParams([e],[s&&s.contextPath])})})};yW.exports=QC.default});var ID=g(xC=>{"use strict";xC.__esModule=!0;xC.registerDefaultHelpers=$be;xC.moveHelperToHooks=Wbe;function ac(t){return t&&t.__esModule?t:{default:t}}o(ac,"_interopRequireDefault");var kbe=iW(),Mbe=ac(kbe),Lbe=aW(),_be=ac(Lbe),Fbe=lW(),Ube=ac(Fbe),Obe=mW(),qbe=ac(Obe),Hbe=hW(),zbe=ac(Hbe),Gbe=gW(),Ybe=ac(Gbe),Vbe=EW(),Jbe=ac(Vbe);function $be(t){Mbe.default(t),_be.default(t),Ube.default(t),qbe.default(t),zbe.default(t),Ybe.default(t),Jbe.default(t)}o($be,"registerDefaultHelpers");function Wbe(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}o(Wbe,"moveHelperToHooks")});var IW=g((bC,CW)=>{"use strict";bC.__esModule=!0;var jbe=cr();bC.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=jbe.extend({},l,r.partials);var A=e(a,c);return n.partials=l,A},"ret")),r.partials[s.args[0]]=s.fn,i})};CW.exports=bC.default});var BW=g(BD=>{"use strict";BD.__esModule=!0;BD.registerDefaultDecorators=e0e;function Kbe(t){return t&&t.__esModule?t:{default:t}}o(Kbe,"_interopRequireDefault");var Xbe=IW(),Zbe=Kbe(Xbe);function e0e(t){Zbe.default(t)}o(e0e,"registerDefaultDecorators")});var QD=g((wC,QW)=>{"use strict";wC.__esModule=!0;var t0e=cr(),QA={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:o(function(e){if(typeof e=="string"){var r=t0e.indexOf(QA.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},"lookupLevel"),log:o(function(e){if(e=QA.lookupLevel(e),typeof console<"u"&&QA.lookupLevel(QA.level)<=e){var r=QA.methodMap[e];console[r]||(r="log");for(var n=arguments.length,s=Array(n>1?n-1:0),i=1;i<n;i++)s[i-1]=arguments[i];console[r].apply(console,s)}},"log")};wC.default=QA;QW.exports=wC.default});var xD=g(qm=>{"use strict";qm.__esModule=!0;qm.createProtoAccessControl=i0e;qm.resultIsAllowed=o0e;qm.resetLoggedProperties=c0e;function r0e(t){return t&&t.__esModule?t:{default:t}}o(r0e,"_interopRequireDefault");var xW=cr(),n0e=QD(),s0e=r0e(n0e),NC=Object.create(null);function i0e(t){var e=Object.create(null);e.__proto__=!1,xW.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,xW.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}o(i0e,"createProtoAccessControl");function o0e(t,e,r){return bW(typeof t=="function"?e.methods:e.properties,r)}o(o0e,"resultIsAllowed");function bW(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(a0e(e),!1)}o(bW,"checkWhiteList");function a0e(t){NC[t]!==!0&&(NC[t]=!0,s0e.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(a0e,"logUnexpecedPropertyAccessOnce");function c0e(){Object.keys(NC).forEach(function(t){delete NC[t]})}o(c0e,"resetLoggedProperties")});var RC=g(si=>{"use strict";si.__esModule=!0;si.HandlebarsEnvironment=ND;function wW(t){return t&&t.__esModule?t:{default:t}}o(wW,"_interopRequireDefault");var cc=cr(),l0e=sn(),bD=wW(l0e),A0e=ID(),u0e=BW(),d0e=QD(),SC=wW(d0e),m0e=xD(),p0e="4.7.9";si.VERSION=p0e;var h0e=8;si.COMPILER_REVISION=h0e;var f0e=7;si.LAST_COMPATIBLE_COMPILER_REVISION=f0e;var g0e={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"};si.REVISION_CHANGES=g0e;var wD="[object Object]";function ND(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},A0e.registerDefaultHelpers(this),u0e.registerDefaultDecorators(this)}o(ND,"HandlebarsEnvironment");ND.prototype={constructor:ND,logger:SC.default,log:SC.default.log,registerHelper:o(function(e,r){if(cc.toString.call(e)===wD){if(r)throw new bD.default("Arg not supported with multiple helpers");cc.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(cc.toString.call(e)===wD)cc.extend(this.partials,e);else{if(typeof r>"u")throw new bD.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(cc.toString.call(e)===wD){if(r)throw new bD.default("Arg not supported with multiple decorators");cc.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){m0e.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var y0e=SC.default.log;si.log=y0e;si.createFrame=cc.createFrame;si.logger=SC.default});var SW=g((vC,NW)=>{"use strict";vC.__esModule=!0;function SD(t){this.string=t}o(SD,"SafeString");SD.prototype.toString=SD.prototype.toHTML=function(){return""+this.string};vC.default=SD;NW.exports=vC.default});var RW=g(RD=>{"use strict";RD.__esModule=!0;RD.wrapHelper=E0e;function E0e(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(E0e,"wrapHelper")});var MW=g(Fo=>{"use strict";Fo.__esModule=!0;Fo.checkRevision=b0e;Fo.template=w0e;Fo.wrapProgram=PC;Fo.resolvePartial=N0e;Fo.invokePartial=S0e;Fo.noop=TW;function C0e(t){return t&&t.__esModule?t:{default:t}}o(C0e,"_interopRequireDefault");function I0e(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(I0e,"_interopRequireWildcard");var B0e=cr(),xA=I0e(B0e),Q0e=sn(),zi=C0e(Q0e),Gi=RC(),vW=ID(),x0e=RW(),PW=xD();function b0e(t){var e=t&&t[0]||1,r=Gi.COMPILER_REVISION;if(!(e>=Gi.LAST_COMPATIBLE_COMPILER_REVISION&&e<=Gi.COMPILER_REVISION))if(e<Gi.LAST_COMPATIBLE_COMPILER_REVISION){var n=Gi.REVISION_CHANGES[r],s=Gi.REVISION_CHANGES[e];throw new zi.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+n+") or downgrade your runtime to an older version ("+s+").")}else throw new zi.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}o(b0e,"checkRevision");function w0e(t,e){if(!e)throw new zi.default("No environment passed to template");if(!t||!t.main)throw new zi.default("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var r=t.compiler&&t.compiler[0]===7;function n(a,c,l){l.hash&&(c=xA.extend({},c,l.hash),l.ids&&(l.ids[0]=!0)),a=e.VM.resolvePartial.call(this,a,c,l),l.hooks=this.hooks,l.protoAccessControl=this.protoAccessControl;var A=e.VM.invokePartial.call(this,a,c,l);if(A==null&&e.compile&&(l.partials[l.name]=e.compile(a,t.compilerOptions,e),A=l.partials[l.name](c,l)),A!=null){if(l.indent){for(var u=A.split(`
|
|
`),d=0,m=u.length;d<m&&!(!u[d]&&d+1===m);d++)u[d]=l.indent+u[d];A=u.join(`
|
|
`)}return A}else throw new zi.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 zi.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)||PW.resultIsAllowed(A,s.protoAccessControl,l))return A},"lookupProperty"),lookup:o(function(c,l){for(var A=c.length,u=0;u<A;u++){var d=c[u]&&s.lookupProperty(c[u],l);if(d!=null)return d}},"lookup"),lambda:o(function(c,l){return typeof c=="function"?c.call(l):c},"lambda"),escapeExpression:xA.escapeExpression,invokePartial:n,fn:o(function(c){var l=t[c];return l.decorator=t[c+"_d"],l},"fn"),programs:[],program:o(function(c,l,A,u,d){var m=this.programs[c],p=this.fn(c);return l||d||u||A?m=PC(this,c,p,l,A,u,d):m||(m=this.programs[c]=PC(this,c,p)),m},"program"),data:o(function(c,l){for(;c&&l--;)c=c._parent;return c},"data"),mergeIfNeeded:o(function(c,l){var A=c||l;return c&&l&&c!==l&&(A=xA.extend({},l,c)),A},"mergeIfNeeded"),nullContext:Object.seal({}),noop:e.VM.noop,compilerInfo:t.compiler};function i(a){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],l=c.data;i._setup(c),!c.partial&&t.useData&&(l=R0e(a,l));var A=void 0,u=t.useBlockParams?[]:void 0;t.useDepths&&(c.depths?A=a!=c.depths[0]?[a].concat(c.depths):c.depths:A=[a]);function d(m){return""+t.main(s,m,s.helpers,s.partials,l,u,A)}return o(d,"main"),d=kW(t.main,d,s,c.depths||[],l,u),d(a,c)}return o(i,"ret"),i.isTop=!0,i._setup=function(a){if(a.partial)s.protoAccessControl=a.protoAccessControl,s.helpers=a.helpers,s.partials=a.partials,s.decorators=a.decorators,s.hooks=a.hooks;else{var c={};DW(c,e.helpers,s),DW(c,a.helpers,s),s.helpers=c,t.usePartial&&(s.partials=s.mergeIfNeeded(a.partials,e.partials)),(t.usePartial||t.useDecorators)&&(s.decorators=xA.extend({},e.decorators,a.decorators)),s.hooks={},s.protoAccessControl=PW.createProtoAccessControl(a);var l=a.allowCallsToHelperMissing||r;vW.moveHelperToHooks(s,"helperMissing",l),vW.moveHelperToHooks(s,"blockHelperMissing",l)}},i._child=function(a,c,l,A){if(t.useBlockParams&&!l)throw new zi.default("must pass block params");if(t.useDepths&&!A)throw new zi.default("must pass parent depths");return PC(s,a,t[a],c,0,l,A)},i}o(w0e,"template");function PC(t,e,r,n,s,i,a){function c(l){var A=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],u=a;return a&&l!=a[0]&&!(l===t.nullContext&&a[0]===null)&&(u=[l].concat(a)),r(t,l,t.helpers,t.partials,A.data||n,i&&[A.blockParams].concat(i),u)}return o(c,"prog"),c=kW(r,c,t,a,n,i),c.program=e,c.depth=a?a.length:0,c.blockParams=s||0,c}o(PC,"wrapProgram");function N0e(t,e,r){return t?!t.call&&!r.name&&(r.name=t,t=DC(r.partials,t)):r.name==="@partial-block"?t=DC(r.data,"partial-block"):t=DC(r.partials,r.name),t}o(N0e,"resolvePartial");function S0e(t,e,r){var n=DC(r.data,"partial-block");r.partial=!0,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var s=void 0;if(r.fn&&r.fn!==TW&&(function(){r.data=Gi.createFrame(r.data);var i=r.fn;s=r.data["partial-block"]=o(function(c){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return l.data=Gi.createFrame(l.data),l.data["partial-block"]=n,i(c,l)},"partialBlockWrapper"),i.partials&&(r.partials=xA.extend({},r.partials,i.partials))})(),t===void 0&&s&&(t=s),t===void 0)throw new zi.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}o(S0e,"invokePartial");function TW(){return""}o(TW,"noop");function DC(t,e){if(t&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}o(DC,"lookupOwnProperty");function R0e(t,e){return(!e||!("root"in e))&&(e=e?Gi.createFrame(e):{},e.root=t),e}o(R0e,"initData");function kW(t,e,r,n,s,i){if(t.decorator){var a={};e=t.decorator(e,a,r,n&&n[0],s,i,n),xA.extend(e,a)}return e}o(kW,"executeDecorators");function DW(t,e,r){e&&Object.keys(e).forEach(function(n){var s=e[n];t[n]=v0e(s,r)})}o(DW,"addHelpers");function v0e(t,e){var r=e.lookupProperty;return x0e.wrapHelper(t,function(n){return n.lookupProperty=r,n})}o(v0e,"passLookupPropertyOption")});var vD=g((TC,LW)=>{"use strict";TC.__esModule=!0;TC.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}};LW.exports=TC.default});var qW=g((kC,OW)=>{"use strict";kC.__esModule=!0;function DD(t){return t&&t.__esModule?t:{default:t}}o(DD,"_interopRequireDefault");function TD(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(TD,"_interopRequireWildcard");var P0e=RC(),_W=TD(P0e),D0e=SW(),T0e=DD(D0e),k0e=sn(),M0e=DD(k0e),L0e=cr(),PD=TD(L0e),_0e=MW(),FW=TD(_0e),F0e=vD(),U0e=DD(F0e);function UW(){var t=new _W.HandlebarsEnvironment;return PD.extend(t,_W),t.SafeString=T0e.default,t.Exception=M0e.default,t.Utils=PD,t.escapeExpression=PD.escapeExpression,t.VM=FW,t.template=function(e){return FW.template(e,t)},t}o(UW,"create");var Hm=UW();Hm.create=UW;U0e.default(Hm);Hm.default=Hm;kC.default=Hm;OW.exports=kC.default});var kD=g((MC,zW)=>{"use strict";MC.__esModule=!0;var HW={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&&!HW.helpers.scopedId(e)&&!e.depth},"simpleId")}};MC.default=HW;zW.exports=MC.default});var YW=g((LC,GW)=>{"use strict";LC.__esModule=!0;var O0e=(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,k,S,de,ye,Qe={},Ne,ae,De,ee;;){if(k=a[a.length-1],this.defaultActions[k]?S=this.defaultActions[k]:((B===null||typeof B>"u")&&(B=I()),S=A[k]&&A[k][B]),typeof S>"u"||!S.length||!S[0]){var Jt="";if(!p){ee=[];for(Ne in A[k])this.terminals_[Ne]&&Ne>2&&ee.push("'"+this.terminals_[Ne]+"'");this.lexer.showPosition?Jt="Parse error on line "+(d+1)+`:
|
|
`+this.lexer.showPosition()+`
|
|
Expecting `+ee.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Jt="Parse error on line "+(d+1)+": Unexpected "+(B==1?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(Jt,{text:this.lexer.match,token:this.terminals_[B]||B,line:this.lexer.yylineno,loc:C,expected:ee})}}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+k+", token: "+B);switch(S[0]){case 1:a.push(B),c.push(this.lexer.yytext),l.push(this.lexer.yylloc),a.push(S[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_[S[1]][1],Qe.$=c[c.length-ae],Qe._$={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&&(Qe._$.range=[l[l.length-(ae||1)].range[0],l[l.length-1].range[1]]),ye=this.performAction.call(Qe,u,m,d,this.yy,S[1],c,l),typeof ye<"u")return ye;ae&&(a=a.slice(0,-1*ae*2),c=c.slice(0,-1*ae),l=l.slice(0,-1*ae)),a.push(this.productions_[S[1]][0]),c.push(Qe.$),l.push(Qe._$),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;m<d.length&&(c=this._input.match(this.rules[d[m]]),!(c&&(!a||c[0].length>a[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})();LC.default=O0e;GW.exports=LC.default});var OC=g((UC,$W)=>{"use strict";UC.__esModule=!0;function q0e(t){return t&&t.__esModule?t:{default:t}}o(q0e,"_interopRequireDefault");var H0e=sn(),MD=q0e(H0e);function _C(){this.parents=[]}o(_C,"Visitor");_C.prototype={constructor:_C,mutating:!1,acceptKey:o(function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!_C.prototype[n.type])throw new MD.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 MD.default(e.type+" requires "+r)},"acceptRequired"),acceptArray:o(function(e){for(var r=0,n=e.length;r<n;r++)this.acceptKey(e,r),e[r]||(e.splice(r,1),r--,n--)},"acceptArray"),accept:o(function(e){if(e){if(!this[e.type])throw new MD.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var r=this[e.type](e);if(this.current=this.parents.shift(),!this.mutating||r)return r;if(r!==!1)return e}},"accept"),Program:o(function(e){this.acceptArray(e.body)},"Program"),MustacheStatement:FC,Decorator:FC,BlockStatement:VW,DecoratorBlock:VW,PartialStatement:JW,PartialBlockStatement:o(function(e){JW.call(this,e),this.acceptKey(e,"program")},"PartialBlockStatement"),ContentStatement:o(function(){},"ContentStatement"),CommentStatement:o(function(){},"CommentStatement"),SubExpression:FC,PathExpression:o(function(){},"PathExpression"),StringLiteral:o(function(){},"StringLiteral"),NumberLiteral:o(function(){},"NumberLiteral"),BooleanLiteral:o(function(){},"BooleanLiteral"),UndefinedLiteral:o(function(){},"UndefinedLiteral"),NullLiteral:o(function(){},"NullLiteral"),Hash:o(function(e){this.acceptArray(e.pairs)},"Hash"),HashPair:o(function(e){this.acceptRequired(e,"value")},"HashPair")};function FC(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}o(FC,"visitSubExpression");function VW(t){FC.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}o(VW,"visitBlock");function JW(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}o(JW,"visitPartial");UC.default=_C;$W.exports=UC.default});var jW=g((qC,WW)=>{"use strict";qC.__esModule=!0;function z0e(t){return t&&t.__esModule?t:{default:t}}o(z0e,"_interopRequireDefault");var G0e=OC(),Y0e=z0e(G0e);function ii(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}o(ii,"WhitespaceControl");ii.prototype=new Y0e.default;ii.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<i;s++){var a=n[s],c=this.accept(a);if(c){var l=LD(n,s,r),A=_D(n,s,r),u=c.openStandalone&&l,d=c.closeStandalone&&A,m=c.inlineStandalone&&l&&A;c.close&&lc(n,s,!0),c.open&&Uo(n,s,!0),e&&m&&(lc(n,s),Uo(n,s)&&a.type==="PartialStatement"&&(a.indent=/([ \t]+$)/.exec(n[s-1].original)[1])),e&&u&&(lc((a.program||a.inverse).body),Uo(n,s)),e&&d&&(lc(n,s),Uo((a.inverse||a.program).body))}}return t};ii.prototype.BlockStatement=ii.prototype.DecoratorBlock=ii.prototype.PartialBlockStatement=function(t){this.accept(t.program),this.accept(t.inverse);var e=t.program||t.inverse,r=t.program&&t.inverse,n=r,s=r;if(r&&r.chained)for(n=r.body[0].program;s.chained;)s=s.body[s.body.length-1].program;var i={open:t.openStrip.open,close:t.closeStrip.close,openStandalone:_D(e.body),closeStandalone:LD((n||e).body)};if(t.openStrip.close&&lc(e.body,null,!0),r){var a=t.inverseStrip;a.open&&Uo(e.body,null,!0),a.close&&lc(n.body,null,!0),t.closeStrip.open&&Uo(s.body,null,!0),!this.options.ignoreStandalone&&LD(e.body)&&_D(n.body)&&(Uo(e.body),lc(n.body))}else t.closeStrip.open&&Uo(e.body,null,!0);return i};ii.prototype.Decorator=ii.prototype.MustacheStatement=function(t){return t.strip};ii.prototype.PartialStatement=ii.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}};function LD(t,e,r){e===void 0&&(e=t.length);var n=t[e-1],s=t[e-2];if(!n)return r;if(n.type==="ContentStatement")return(s||!r?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original)}o(LD,"isPrevWhitespace");function _D(t,e,r){e===void 0&&(e=-1);var n=t[e+1],s=t[e+2];if(!n)return r;if(n.type==="ContentStatement")return(s||!r?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original)}o(_D,"isNextWhitespace");function lc(t,e,r){var n=t[e==null?0:e+1];if(!(!n||n.type!=="ContentStatement"||!r&&n.rightStripped)){var s=n.value;n.value=n.value.replace(r?/^\s+/:/^[ \t]*\r?\n?/,""),n.rightStripped=n.value!==s}}o(lc,"omitRight");function Uo(t,e,r){var n=t[e==null?t.length-1:e-1];if(!(!n||n.type!=="ContentStatement"||!r&&n.leftStripped)){var s=n.value;return n.value=n.value.replace(r?/\s+$/:/[ \t]+$/,""),n.leftStripped=n.value!==s,n.leftStripped}}o(Uo,"omitLeft");qC.default=ii;WW.exports=qC.default});var KW=g(Tn=>{"use strict";Tn.__esModule=!0;Tn.SourceLocation=$0e;Tn.id=W0e;Tn.stripFlags=j0e;Tn.stripComment=K0e;Tn.preparePath=X0e;Tn.prepareMustache=Z0e;Tn.prepareRawBlock=ewe;Tn.prepareBlock=twe;Tn.prepareProgram=rwe;Tn.preparePartialBlock=nwe;function V0e(t){return t&&t.__esModule?t:{default:t}}o(V0e,"_interopRequireDefault");var J0e=sn(),FD=V0e(J0e);function UD(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new FD.default(t.path.original+" doesn't match "+e,r)}}o(UD,"validateClose");function $0e(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($0e,"SourceLocation");function W0e(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}o(W0e,"id");function j0e(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}o(j0e,"stripFlags");function K0e(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}o(K0e,"stripComment");function X0e(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",s=[],i=0,a=0,c=e.length;a<c;a++){var l=e[a].part,A=e[a].original!==l;if(n+=(e[a].separator||"")+l,!A&&(l===".."||l==="."||l==="this")){if(s.length>0)throw new FD.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(X0e,"preparePath");function Z0e(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(Z0e,"prepareMustache");function ewe(t,e,r,n){UD(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(ewe,"prepareRawBlock");function twe(t,e,r,n,s,i){n&&n.path&&UD(t,n);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,l=void 0;if(r){if(a)throw new FD.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(twe,"prepareBlock");function rwe(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(rwe,"prepareProgram");function nwe(t,e,r,n){return UD(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(nwe,"preparePartialBlock")});var ZW=g(Gm=>{"use strict";Gm.__esModule=!0;Gm.parseWithoutProcessing=XW;Gm.parse=dwe;function swe(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(swe,"_interopRequireWildcard");function HD(t){return t&&t.__esModule?t:{default:t}}o(HD,"_interopRequireDefault");var iwe=YW(),OD=HD(iwe),owe=jW(),awe=HD(owe),cwe=KW(),lwe=swe(cwe),Awe=sn(),zm=HD(Awe),uwe=cr();Gm.parser=OD.default;var HC={};uwe.extend(HC,lwe);function XW(t,e){if(t.type==="Program")return mwe(t),t;OD.default.yy=HC,HC.locInfo=function(n){return new HC.SourceLocation(e&&e.srcName,n)};var r=OD.default.parse(t);return r}o(XW,"parseWithoutProcessing");function dwe(t,e){var r=XW(t,e),n=new awe.default(e);return n.accept(r)}o(dwe,"parse");function mwe(t){qD(t)}o(mwe,"validateInputAst");function qD(t){if(t!=null){if(Array.isArray(t)){t.forEach(qD);return}if(typeof t=="object"){if(t.type==="PathExpression"){if(!pwe(t.depth))throw new zm.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(t.parts))throw new zm.default("Invalid AST: PathExpression.parts must be an array");for(var e=0;e<t.parts.length;e++)if(typeof t.parts[e]!="string")throw new zm.default("Invalid AST: PathExpression.parts must only contain strings")}else if(t.type==="NumberLiteral"){if(typeof t.value!="number"||!isFinite(t.value))throw new zm.default("Invalid AST: NumberLiteral.value must be a number")}else if(t.type==="BooleanLiteral"&&typeof t.value!="boolean")throw new zm.default("Invalid AST: BooleanLiteral.value must be a boolean");Object.keys(t).forEach(function(r){r!=="loc"&&qD(t[r])})}}}o(qD,"validateAstNode");function pwe(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t&&t>=0}o(pwe,"isValidDepth")});var n5=g($m=>{"use strict";$m.__esModule=!0;$m.Compiler=zD;$m.precompile=ywe;$m.compile=Ewe;function t5(t){return t&&t.__esModule?t:{default:t}}o(t5,"_interopRequireDefault");var hwe=sn(),Vm=t5(hwe),Jm=cr(),fwe=kD(),Ym=t5(fwe),gwe=[].slice;function zD(){}o(zD,"Compiler");zD.prototype={compiler:zD,equals:o(function(e){var r=this.opcodes.length;if(e.opcodes.length!==r)return!1;for(var n=0;n<r;n++){var s=this.opcodes[n],i=e.opcodes[n];if(s.opcode!==i.opcode||!r5(s.args,i.args))return!1}r=this.children.length;for(var n=0;n<r;n++)if(!this.children[n].equals(e.children[n]))return!1;return!0},"equals"),guid:0,compile:o(function(e,r){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=r,this.stringParams=r.stringParams,this.trackIds=r.trackIds,r.blockParams=r.blockParams||[],r.knownHelpers=Jm.extend(Object.create(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},r.knownHelpers),this.accept(e)},"compile"),compileProgram:o(function(e){var r=new this.compiler,n=r.compile(e,this.options),s=this.guid++;return this.usePartial=this.usePartial||n.usePartial,this.children[s]=n,this.useDepths=this.useDepths||n.useDepths,s},"compileProgram"),accept:o(function(e){if(!this[e.type])throw new Vm.default("Unknown type: "+e.type,e);this.sourceNode.unshift(e);var r=this[e.type](e);return this.sourceNode.shift(),r},"accept"),Program:o(function(e){this.options.blockParams.unshift(e.blockParams);for(var r=e.body,n=r.length,s=0;s<n;s++)this.accept(r[s]);return this.options.blockParams.shift(),this.isSimple=n===1,this.blockParams=e.blockParams?e.blockParams.length:0,this},"Program"),BlockStatement:o(function(e){e5(e);var r=e.program,n=e.inverse;r=r&&this.compileProgram(r),n=n&&this.compileProgram(n);var s=this.classifySexpr(e);s==="helper"?this.helperSexpr(e,r,n):s==="simple"?(this.simpleSexpr(e),this.opcode("pushProgram",r),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,r,n),this.opcode("pushProgram",r),this.opcode("pushProgram",n),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},"BlockStatement"),DecoratorBlock:o(function(e){var r=e.program&&this.compileProgram(e.program),n=this.setupFullMustacheParams(e,r,void 0),s=e.path;this.useDecorators=!0,this.opcode("registerDecorator",n.length,s.original)},"DecoratorBlock"),PartialStatement:o(function(e){this.usePartial=!0;var r=e.program;r&&(r=this.compileProgram(e.program));var n=e.params;if(n.length>1)throw new Vm.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){e5(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 Vm.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,Ym.default.helpers.simpleId(i))}},"helperSexpr"),PathExpression:o(function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],n=Ym.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<s;n++)this.pushParam(r[n].value);for(;n--;)this.opcode("assignToHash",r[n].key);this.opcode("popHash")},"Hash"),opcode:o(function(e){this.opcodes.push({opcode:e,args:gwe.call(arguments,1),loc:this.sourceNode[0].loc})},"opcode"),addDepth:o(function(e){e&&(this.useDepths=!0)},"addDepth"),classifySexpr:o(function(e){var r=Ym.default.helpers.simpleId(e.path),n=r&&!!this.blockParamIndex(e.path.parts[0]),s=!n&&Ym.default.helpers.helperExpression(e),i=!n&&(s||r);if(i&&!s){var a=e.path.parts[0],c=this.options;c.knownHelpers[a]?s=!0:c.knownHelpersOnly&&(i=!1)}return s?"helper":i?"ambiguous":"simple"},"classifySexpr"),pushParams:o(function(e){for(var r=0,n=e.length;r<n;r++)this.pushParam(e[r])},"pushParams"),pushParam:o(function(e){var r=e.value!=null?e.value:e.original||"";if(this.stringParams)r.replace&&(r=r.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),e.depth&&this.addDepth(e.depth),this.opcode("getContext",e.depth||0),this.opcode("pushStringParam",r,e.type),e.type==="SubExpression"&&this.accept(e);else{if(this.trackIds){var n=void 0;if(e.parts&&!Ym.default.helpers.scopedId(e)&&!e.depth&&(n=this.blockParamIndex(e.parts[0])),n){var s=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",n,s)}else r=e.original||r,r.replace&&(r=r.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",e.type,r)}this.accept(e)}},"pushParam"),setupFullMustacheParams:o(function(e,r,n,s){var i=e.params;return this.pushParams(i),this.opcode("pushProgram",r),this.opcode("pushProgram",n),e.hash?this.accept(e.hash):this.opcode("emptyHash",s),i},"setupFullMustacheParams"),blockParamIndex:o(function(e){for(var r=0,n=this.options.blockParams.length;r<n;r++){var s=this.options.blockParams[r],i=s&&Jm.indexOf(s,e);if(s&&i>=0)return[r,i]}},"blockParamIndex")};function ywe(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new Vm.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(ywe,"precompile");function Ewe(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new Vm.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=Jm.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(Ewe,"compile");function r5(t,e){if(t===e)return!0;if(Jm.isArray(t)&&Jm.isArray(e)&&t.length===e.length){for(var r=0;r<t.length;r++)if(!r5(t[r],e[r]))return!1;return!0}}o(r5,"argEquals");function e5(t){if(!t.path.parts){var e=t.path;t.path={type:"PathExpression",data:!1,depth:0,parts:[e.original+""],original:e.original+"",loc:e.loc}}}o(e5,"transformLiteralToPath")});var i5=g(GD=>{var s5="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");GD.encode=function(t){if(0<=t&&t<s5.length)return s5[t];throw new TypeError("Must be between 0 and 63: "+t)};GD.decode=function(t){var e=65,r=90,n=97,s=122,i=48,a=57,c=43,l=47,A=26,u=52;return e<=t&&t<=r?t-e:n<=t&&t<=s?t-n+A:i<=t&&t<=a?t-i+u:t==c?62:t==l?63:-1}});var JD=g(VD=>{var o5=i5(),YD=5,a5=1<<YD,c5=a5-1,l5=a5;function Cwe(t){return t<0?(-t<<1)+1:(t<<1)+0}o(Cwe,"toVLQSigned");function Iwe(t){var e=(t&1)===1,r=t>>1;return e?-r:r}o(Iwe,"fromVLQSigned");VD.encode=o(function(e){var r="",n,s=Cwe(e);do n=s&c5,s>>>=YD,s>0&&(n|=l5),r+=o5.encode(n);while(s>0);return r},"base64VLQ_encode");VD.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=o5.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));c=!!(l&l5),l&=c5,i=i+(l<<a),a+=YD}while(c);n.value=Iwe(i),n.rest=r},"base64VLQ_decode")});var NA=g(Yt=>{function Bwe(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(Bwe,"getArg");Yt.getArg=Bwe;var A5=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Qwe=/^data:.+\,.+$/;function Wm(t){var e=t.match(A5);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}o(Wm,"urlParse");Yt.urlParse=Wm;function bA(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(bA,"urlGenerate");Yt.urlGenerate=bA;function $D(t){var e=t,r=Wm(t);if(r){if(!r.path)return t;e=r.path}for(var n=Yt.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,bA(r)):e}o($D,"normalize");Yt.normalize=$D;function u5(t,e){t===""&&(t="."),e===""&&(e=".");var r=Wm(e),n=Wm(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),bA(r);if(r||e.match(Qwe))return e;if(n&&!n.host&&!n.path)return n.host=e,bA(n);var s=e.charAt(0)==="/"?e:$D(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=s,bA(n)):s}o(u5,"join");Yt.join=u5;Yt.isAbsolute=function(t){return t.charAt(0)==="/"||A5.test(t)};function xwe(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(xwe,"relative");Yt.relative=xwe;var d5=(function(){var t=Object.create(null);return!("__proto__"in t)})();function m5(t){return t}o(m5,"identity");function bwe(t){return p5(t)?"$"+t:t}o(bwe,"toSetString");Yt.toSetString=d5?m5:bwe;function wwe(t){return p5(t)?t.slice(1):t}o(wwe,"fromSetString");Yt.fromSetString=d5?m5:wwe;function p5(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(p5,"isProtoString");function Nwe(t,e,r){var n=wA(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:wA(t.name,e.name)}o(Nwe,"compareByOriginalPositions");Yt.compareByOriginalPositions=Nwe;function Swe(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=wA(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:wA(t.name,e.name)}o(Swe,"compareByGeneratedPositionsDeflated");Yt.compareByGeneratedPositionsDeflated=Swe;function wA(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}o(wA,"strcmp");function Rwe(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=wA(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:wA(t.name,e.name)}o(Rwe,"compareByGeneratedPositionsInflated");Yt.compareByGeneratedPositionsInflated=Rwe;function vwe(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}o(vwe,"parseSourceMapInput");Yt.parseSourceMapInput=vwe;function Pwe(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=Wm(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=u5(bA(n),e)}return $D(e)}o(Pwe,"computeSourceURL");Yt.computeSourceURL=Pwe});var KD=g(h5=>{var WD=NA(),jD=Object.prototype.hasOwnProperty,Ac=typeof Map<"u";function Yi(){this._array=[],this._set=Ac?new Map:Object.create(null)}o(Yi,"ArraySet");Yi.fromArray=o(function(e,r){for(var n=new Yi,s=0,i=e.length;s<i;s++)n.add(e[s],r);return n},"ArraySet_fromArray");Yi.prototype.size=o(function(){return Ac?this._set.size:Object.getOwnPropertyNames(this._set).length},"ArraySet_size");Yi.prototype.add=o(function(e,r){var n=Ac?e:WD.toSetString(e),s=Ac?this.has(e):jD.call(this._set,n),i=this._array.length;(!s||r)&&this._array.push(e),s||(Ac?this._set.set(e,i):this._set[n]=i)},"ArraySet_add");Yi.prototype.has=o(function(e){if(Ac)return this._set.has(e);var r=WD.toSetString(e);return jD.call(this._set,r)},"ArraySet_has");Yi.prototype.indexOf=o(function(e){if(Ac){var r=this._set.get(e);if(r>=0)return r}else{var n=WD.toSetString(e);if(jD.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},"ArraySet_indexOf");Yi.prototype.at=o(function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},"ArraySet_at");Yi.prototype.toArray=o(function(){return this._array.slice()},"ArraySet_toArray");h5.ArraySet=Yi});var y5=g(g5=>{var f5=NA();function Dwe(t,e){var r=t.generatedLine,n=e.generatedLine,s=t.generatedColumn,i=e.generatedColumn;return n>r||n==r&&i>=s||f5.compareByGeneratedPositionsInflated(t,e)<=0}o(Dwe,"generatedPositionAfter");function zC(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o(zC,"MappingList");zC.prototype.unsortedForEach=o(function(e,r){this._array.forEach(e,r)},"MappingList_forEach");zC.prototype.add=o(function(e){Dwe(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},"MappingList_add");zC.prototype.toArray=o(function(){return this._sorted||(this._array.sort(f5.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},"MappingList_toArray");g5.MappingList=zC});var XD=g(E5=>{var jm=JD(),gt=NA(),GC=KD().ArraySet,Twe=y5().MappingList;function kn(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 GC,this._names=new GC,this._mappings=new Twe,this._sourcesContents=null}o(kn,"SourceMapGenerator");kn.prototype._version=3;kn.fromSourceMap=o(function(e){var r=e.sourceRoot,n=new kn({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");kn.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");kn.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");kn.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 GC,c=new GC;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");kn.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");kn.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;p<h;p++){if(A=m[p],l="",A.generatedLine!==r)for(e=0;A.generatedLine!==r;)l+=";",r++;else if(p>0){if(!gt.compareByGeneratedPositionsInflated(A,m[p-1]))continue;l+=","}l+=jm.encode(A.generatedColumn-e),e=A.generatedColumn,A.source!=null&&(d=this._sources.indexOf(A.source),l+=jm.encode(d-a),a=d,l+=jm.encode(A.originalLine-1-s),s=A.originalLine-1,l+=jm.encode(A.originalColumn-n),n=A.originalColumn,A.name!=null&&(u=this._names.indexOf(A.name),l+=jm.encode(u-i),i=u)),c+=l}return c},"SourceMapGenerator_serializeMappings");kn.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");kn.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");kn.prototype.toString=o(function(){return JSON.stringify(this.toJSON())},"SourceMapGenerator_toString");E5.SourceMapGenerator=kn});var C5=g(uc=>{uc.GREATEST_LOWER_BOUND=1;uc.LEAST_UPPER_BOUND=2;function ZD(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?ZD(a,e,r,n,s,i):i==uc.LEAST_UPPER_BOUND?e<n.length?e:-1:a:a-t>1?ZD(t,a,r,n,s,i):i==uc.LEAST_UPPER_BOUND?a:t<0?-1:t}o(ZD,"recursiveSearch");uc.search=o(function(e,r,n,s){if(r.length===0)return-1;var i=ZD(-1,r.length,e,r,n,s||uc.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 B5=g(I5=>{function eT(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}o(eT,"swap");function kwe(t,e){return Math.round(t+Math.random()*(e-t))}o(kwe,"randomIntInRange");function tT(t,e,r,n){if(r<n){var s=kwe(r,n),i=r-1;eT(t,s,n);for(var a=t[n],c=r;c<n;c++)e(t[c],a)<=0&&(i+=1,eT(t,i,c));eT(t,i+1,c);var l=i+1;tT(t,e,r,l-1),tT(t,e,l+1,n)}}o(tT,"doQuickSort");I5.quickSort=function(t,e){tT(t,e,0,t.length-1)}});var x5=g(YC=>{var O=NA(),rT=C5(),SA=KD().ArraySet,Mwe=JD(),Km=B5().quickSort;function Ue(t,e){var r=t;return typeof t=="string"&&(r=O.parseSourceMapInput(t)),r.sections!=null?new ns(r,e):new _t(r,e)}o(Ue,"SourceMapConsumer");Ue.fromSourceMap=function(t,e){return _t.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,rT.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");YC.SourceMapConsumer=Ue;function _t(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=SA.fromArray(i.map(String),!0),this._sources=SA.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(_t,"BasicSourceMapConsumer");_t.prototype=Object.create(Ue.prototype);_t.prototype.consumer=Ue;_t.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;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1};_t.fromSourceMap=o(function(e,r){var n=Object.create(_t.prototype),s=n._names=SA.fromArray(e._names.toArray(),!0),i=n._sources=SA.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=r,n._absoluteSources=n._sources.toArray().map(function(p){return O.computeSourceURL(n.sourceRoot,p,r)});for(var a=e._mappings.toArray().slice(),c=n.__generatedMappings=[],l=n.__originalMappings=[],A=0,u=a.length;A<u;A++){var d=a[A],m=new Q5;m.generatedLine=d.generatedLine,m.generatedColumn=d.generatedColumn,d.source&&(m.source=i.indexOf(d.source),m.originalLine=d.originalLine,m.originalColumn=d.originalColumn,d.name&&(m.name=s.indexOf(d.name)),l.push(m)),c.push(m)}return Km(n.__originalMappings,O.compareByOriginalPositions),n},"SourceMapConsumer_fromSourceMap");_t.prototype._version=3;Object.defineProperty(_t.prototype,"sources",{get:o(function(){return this._absoluteSources.slice()},"get")});function Q5(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}o(Q5,"Mapping");_t.prototype._parseMappings=o(function(e,r){for(var n=1,s=0,i=0,a=0,c=0,l=0,A=e.length,u=0,d={},m={},p=[],h=[],f,C,y,E,I;u<A;)if(e.charAt(u)===";")n++,u++,s=0;else if(e.charAt(u)===",")u++;else{for(f=new Q5,f.generatedLine=n,E=u;E<A&&!this._charIsMappingSeparator(e,E);E++);if(C=e.slice(u,E),y=d[C],y)u+=C.length;else{for(y=[];u<E;)Mwe.decode(e,u,m),I=m.value,u=m.rest,y.push(I);if(y.length===2)throw new Error("Found a source, but no line and column");if(y.length===3)throw new Error("Found a source and line, but no column");d[C]=y}f.generatedColumn=s+y[0],s=f.generatedColumn,y.length>1&&(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)}Km(h,O.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,Km(p,O.compareByOriginalPositions),this.__originalMappings=p},"SourceMapConsumer_parseMappings");_t.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 rT.search(e,r,i,a)},"SourceMapConsumer_findMapping");_t.prototype.computeColumnSpans=o(function(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(r.generatedLine===n.generatedLine){r.lastGeneratedColumn=n.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}},"SourceMapConsumer_computeColumnSpans");_t.prototype.originalPositionFor=o(function(e){var r={generatedLine:O.getArg(e,"line"),generatedColumn:O.getArg(e,"column")},n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",O.compareByGeneratedPositionsDeflated,O.getArg(e,"bias",Ue.GREATEST_LOWER_BOUND));if(n>=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");_t.prototype.hasContentsOfAllSources=o(function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},"BasicSourceMapConsumer_hasContentsOfAllSources");_t.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");_t.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");YC.BasicSourceMapConsumer=_t;function ns(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 SA,this._names=new SA;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<i.line||l===i.line&&A<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=c,{generatedOffset:{generatedLine:l+1,generatedColumn:A+1},consumer:new Ue(O.getArg(a,"map"),e)}})}o(ns,"IndexedSourceMapConsumer");ns.prototype=Object.create(Ue.prototype);ns.prototype.constructor=Ue;ns.prototype._version=3;Object.defineProperty(ns.prototype,"sources",{get:o(function(){for(var t=[],e=0;e<this._sections.length;e++)for(var r=0;r<this._sections[e].consumer.sources.length;r++)t.push(this._sections[e].consumer.sources[r]);return t},"get")});ns.prototype.originalPositionFor=o(function(e){var r={generatedLine:O.getArg(e,"line"),generatedColumn:O.getArg(e,"column")},n=rT.search(r,this._sections,function(i,a){var c=i.generatedLine-a.generatedOffset.generatedLine;return c||i.generatedColumn-a.generatedOffset.generatedColumn}),s=this._sections[n];return s?s.consumer.originalPositionFor({line:r.generatedLine-(s.generatedOffset.generatedLine-1),column:r.generatedColumn-(s.generatedOffset.generatedLine===r.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},"IndexedSourceMapConsumer_originalPositionFor");ns.prototype.hasContentsOfAllSources=o(function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},"IndexedSourceMapConsumer_hasContentsOfAllSources");ns.prototype.sourceContentFor=o(function(e,r){for(var n=0;n<this._sections.length;n++){var s=this._sections[n],i=s.consumer.sourceContentFor(e,!0);if(i)return i}if(r)return null;throw new Error('"'+e+'" is not in the SourceMap.')},"IndexedSourceMapConsumer_sourceContentFor");ns.prototype.generatedPositionFor=o(function(e){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(O.getArg(e,"source"))!==-1){var s=n.consumer.generatedPositionFor(e);if(s){var i={line:s.line+(n.generatedOffset.generatedLine-1),column:s.column+(n.generatedOffset.generatedLine===s.line?n.generatedOffset.generatedColumn-1:0)};return i}}}return{line:null,column:null}},"IndexedSourceMapConsumer_generatedPositionFor");ns.prototype._parseMappings=o(function(e,r){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var s=this._sections[n],i=s.consumer._generatedMappings,a=0;a<i.length;a++){var c=i[a],l=s.consumer._sources.at(c.source);l=O.computeSourceURL(s.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var A=null;c.name&&(A=s.consumer._names.at(c.name),this._names.add(A),A=this._names.indexOf(A));var u={source:l,generatedLine:c.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(s.generatedOffset.generatedLine===c.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:A};this.__generatedMappings.push(u),typeof u.originalLine=="number"&&this.__originalMappings.push(u)}Km(this.__generatedMappings,O.compareByGeneratedPositionsDeflated),Km(this.__originalMappings,O.compareByOriginalPositions)},"IndexedSourceMapConsumer_parseMappings");YC.IndexedSourceMapConsumer=ns});var w5=g(b5=>{var Lwe=XD().SourceMapGenerator,VC=NA(),_we=/(\r?\n)/,Fwe=10,RA="$$$isSourceNode$$$";function on(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[RA]=!0,n!=null&&this.add(n)}o(on,"SourceNode");on.fromStringWithSourceMap=o(function(e,r,n){var s=new on,i=e.split(_we),a=0,c=o(function(){var m=h(),p=h()||"";return m+p;function h(){return a<i.length?i[a++]:void 0}},"shiftNextLine"),l=1,A=0,u=null;return r.eachMapping(function(m){if(u!==null)if(l<m.generatedLine)d(u,c()),l++,A=0;else{var p=i[a]||"",h=p.substr(0,m.generatedColumn-A);i[a]=p.substr(m.generatedColumn-A),A=m.generatedColumn,d(u,h),u=m;return}for(;l<m.generatedLine;)s.add(c()),l++;if(A<m.generatedColumn){var p=i[a]||"";s.add(p.substr(0,m.generatedColumn)),i[a]=p.substr(m.generatedColumn),A=m.generatedColumn}u=m},this),a<i.length&&(u&&d(u,c()),s.add(i.splice(a).join(""))),r.sources.forEach(function(m){var p=r.sourceContentFor(m);p!=null&&(n!=null&&(m=VC.join(n,m)),s.setSourceContent(m,p))}),s;function d(m,p){if(m===null||m.source===void 0)s.add(p);else{var h=n?VC.join(n,m.source):m.source;s.add(new on(m.originalLine,m.originalColumn,h,p,m.name))}}o(d,"addMappingWithCode")},"SourceNode_fromStringWithSourceMap");on.prototype.add=o(function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[RA]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this},"SourceNode_add");on.prototype.prepend=o(function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[RA]||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");on.prototype.walk=o(function(e){for(var r,n=0,s=this.children.length;n<s;n++)r=this.children[n],r[RA]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})},"SourceNode_walk");on.prototype.join=o(function(e){var r,n,s=this.children.length;if(s>0){for(r=[],n=0;n<s-1;n++)r.push(this.children[n]),r.push(e);r.push(this.children[n]),this.children=r}return this},"SourceNode_join");on.prototype.replaceRight=o(function(e,r){var n=this.children[this.children.length-1];return n[RA]?n.replaceRight(e,r):typeof n=="string"?this.children[this.children.length-1]=n.replace(e,r):this.children.push("".replace(e,r)),this},"SourceNode_replaceRight");on.prototype.setSourceContent=o(function(e,r){this.sourceContents[VC.toSetString(e)]=r},"SourceNode_setSourceContent");on.prototype.walkSourceContents=o(function(e){for(var r=0,n=this.children.length;r<n;r++)this.children[r][RA]&&this.children[r].walkSourceContents(e);for(var s=Object.keys(this.sourceContents),r=0,n=s.length;r<n;r++)e(VC.fromSetString(s[r]),this.sourceContents[s[r]])},"SourceNode_walkSourceContents");on.prototype.toString=o(function(){var e="";return this.walk(function(r){e+=r}),e},"SourceNode_toString");on.prototype.toStringWithSourceMap=o(function(e){var r={code:"",line:1,column:0},n=new Lwe(e),s=!1,i=null,a=null,c=null,l=null;return this.walk(function(A,u){r.code+=A,u.source!==null&&u.line!==null&&u.column!==null?((i!==u.source||a!==u.line||c!==u.column||l!==u.name)&&n.addMapping({source:u.source,original:{line:u.line,column:u.column},generated:{line:r.line,column:r.column},name:u.name}),i=u.source,a=u.line,c=u.column,l=u.name,s=!0):s&&(n.addMapping({generated:{line:r.line,column:r.column}}),i=null,s=!1);for(var d=0,m=A.length;d<m;d++)A.charCodeAt(d)===Fwe?(r.line++,r.column=0,d+1===m?(i=null,s=!1):s&&n.addMapping({source:u.source,original:{line:u.line,column:u.column},generated:{line:r.line,column:r.column},name:u.name})):r.column++}),this.walkSourceContents(function(A,u){n.setSourceContent(A,u)}),{code:r.code,map:n}},"SourceNode_toStringWithSourceMap");b5.SourceNode=on});var N5=g(JC=>{JC.SourceMapGenerator=XD().SourceMapGenerator;JC.SourceMapConsumer=x5().SourceMapConsumer;JC.SourceNode=w5().SourceNode});var P5=g(($C,v5)=>{"use strict";$C.__esModule=!0;var sT=cr(),dc=void 0;try{(typeof define!="function"||!define.amd)&&(S5=N5(),dc=S5.SourceNode)}catch{}var S5;dc||(dc=o(function(t,e,r,n){this.src="",n&&this.add(n)},"SourceNode"),dc.prototype={add:o(function(e){sT.isArray(e)&&(e=e.join("")),this.src+=e},"add"),prepend:o(function(e){sT.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 nT(t,e,r){if(sT.isArray(t)){for(var n=[],s=0,i=t.length;s<i;s++)n.push(e.wrap(t[s],r));return n}else if(typeof t=="boolean"||typeof t=="number")return t+"";return t}o(nT,"castChunk");function R5(t){this.srcFile=t,this.source=[]}o(R5,"CodeGen");R5.prototype={isEmpty:o(function(){return!this.source.length},"isEmpty"),prepend:o(function(e,r){this.source.unshift(this.wrap(e,r))},"prepend"),push:o(function(e,r){this.source.push(this.wrap(e,r))},"push"),merge:o(function(){var e=this.empty();return this.each(function(r){e.add([" ",r,`
|
|
`])}),e},"merge"),each:o(function(e){for(var r=0,n=this.source.length;r<n;r++)e(this.source[r])},"each"),empty:o(function(){var e=this.currentLocation||{start:{}};return new dc(e.start.line,e.start.column,this.srcFile)},"empty"),wrap:o(function(e){var r=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return e instanceof dc?e:(e=nT(e,this,r),new dc(r.start.line,r.start.column,this.srcFile,e))},"wrap"),functionCall:o(function(e,r,n){return n=this.generateList(n),this.wrap([e,r?"."+r+"(":"(",n,")"])},"functionCall"),quotedString:o(function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},"quotedString"),objectLiteral:o(function(e){var r=this,n=[];Object.keys(e).forEach(function(i){var a=nT(e[i],r);a!=="undefined"&&n.push([r.quotedString(i),":",a])});var s=this.generateList(n);return s.prepend("{"),s.add("}"),s},"objectLiteral"),generateList:o(function(e){for(var r=this.empty(),n=0,s=e.length;n<s;n++)n&&r.add(","),r.add(nT(e[n],this));return r},"generateList"),generateArray:o(function(e){var r=this.generateList(e);return r.prepend("["),r.add("]"),r},"generateArray")};$C.default=R5;v5.exports=$C.default});var L5=g((WC,M5)=>{"use strict";WC.__esModule=!0;function k5(t){return t&&t.__esModule?t:{default:t}}o(k5,"_interopRequireDefault");var D5=RC(),Uwe=sn(),iT=k5(Uwe),Owe=cr(),qwe=P5(),T5=k5(qwe);function vA(t){this.value=t}o(vA,"Literal");function PA(){}o(PA,"JavaScriptCompiler");PA.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=D5.COMPILER_REVISION,r=D5.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,n){return Owe.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<A;l++)a=i[l],this.source.currentLocation=a.loc,c=c||a.loc,this[a.opcode].apply(this,a.args);if(this.source.currentLocation=c,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new iT.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),`;
|
|
`]),this.decorators.push("return fn;"),s?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend(`function(fn, props, container, depth0, data, blockParams, depths) {
|
|
`),this.decorators.push(`}
|
|
`),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;l<A;l++)d[l]=p[l],h[l]&&(d[l+"_d"]=h[l],d.useDecorators=!0);return this.environment.usePartial&&(d.usePartial=!0),this.options.data&&(d.useData=!0),this.useDepths&&(d.useDepths=!0),this.useBlockParams&&(d.useBlockParams=!0),this.options.compat&&(d.compat=!0),s?d.compilerOptions=this.options:(d.compiler=JSON.stringify(d.compiler),this.source.currentLocation={start:{line:1,column:0}},d=this.objectLiteral(d),r.srcName?(d=d.toStringWithSourceMap({file:r.destName}),d.map=d.map&&d.map.toString()):d=d.toString()),d},"compile"),preamble:o(function(){this.lastContext=0,this.source=new T5.default(this.options.srcName),this.decorators=new T5.default(this.options.srcName)},"preamble"),createFunctionContext:o(function(e){var r=this,n="",s=this.stackVars.concat(this.registers.list);s.length>0&&(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) {
|
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
return parent[propertyName];
|
|
}
|
|
return undefined
|
|
}
|
|
`.trim()},"lookupPropertyFunctionVarDeclaration"),blockValue:o(function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),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(Hwe(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;A<c;A++)l(A)},"resolvePath"),resolvePossibleLambda:o(function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},"resolvePossibleLambda"),pushStringParam:o(function(e,r){this.pushContext(),this.pushString(r),r!=="SubExpression"&&(typeof e=="string"?this.pushString(e):this.pushStackLiteral(e))},"pushStringParam"),emptyHash:o(function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},"emptyHash"),pushHash:o(function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},"pushHash"),popHash:o(function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},"popHash"),pushString:o(function(e){this.pushStackLiteral(this.quotedString(e))},"pushString"),pushLiteral:o(function(e){this.pushStackLiteral(e)},"pushLiteral"),pushProgram:o(function(e){e!=null?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},"pushProgram"),registerDecorator:o(function(e,r){var n=this.nameLookup("decorators",r,"decorator"),s=this.setupHelperArgs(r,e);this.decorators.push(["var decorator = ",n,";"]),this.decorators.push(['if (typeof decorator !== "function") { throw new Error(',this.quotedString('Missing decorator: "'+r+'"'),"); }"]),this.decorators.push(["fn = ",this.decorators.functionCall("decorator","",["fn","props","container",s])," || fn;"])},"registerDecorator"),invokeHelper:o(function(e,r,n){var s=this.popStack(),i=this.setupHelper(e,r),a=[];n&&a.push(i.name),a.push(s),this.options.strict||a.push(this.aliasable("container.hooks.helperMissing"));var c=["(",this.itemsSeparatedBy(a,"||"),")"],l=this.source.functionCall(c,"call",i.callParams);this.push(l)},"invokeHelper"),itemsSeparatedBy:o(function(e,r){var n=[];n.push(e[0]);for(var s=1;s<e.length;s++)n.push(r,e[s]);return n},"itemsSeparatedBy"),invokeKnownHelper:o(function(e,r){var n=this.setupHelper(e,r);this.push(this.source.functionCall(n.name,"call",n.callParams))},"invokeKnownHelper"),invokeAmbiguous:o(function(e,r){this.useRegister("helper");var n=this.popStack();this.emptyHash();var s=this.setupHelper(0,e,r),i=this.lastHelper=this.nameLookup("helpers",e,"helper"),a=["(","(helper = ",i," || ",n,")"];this.options.strict||(a[0]="(helper = ",a.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",a,s.paramsInit?["),(",s.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",s.callParams)," : helper))"])},"invokeAmbiguous"),invokePartial:o(function(e,r,n){var s=[],i=this.setupParams(r,1,s);e&&(r=this.popStack(),delete i.name),n&&(i.indent=JSON.stringify(n)),i.helpers="helpers",i.partials="partials",i.decorators="container.decorators",e?s.unshift(r):s.unshift(this.nameLookup("partials",r,"partial")),this.options.compat&&(i.depths="depths"),i=this.objectLiteral(i),s.push(i),this.push(this.source.functionCall("container.invokePartial","",s))},"invokePartial"),assignToHash:o(function(e){var r=this.popStack(),n=void 0,s=void 0,i=void 0;this.trackIds&&(i=this.popStack()),this.stringParams&&(s=this.popStack(),n=this.popStack());var a=this.hash;n&&(a.contexts[e]=n),s&&(a.types[e]=s),i&&(a.ids[e]=i),a.values[e]=r},"assignToHash"),pushId:o(function(e,r,n){e==="BlockParam"?this.pushStackLiteral("blockParams["+r[0]+"].path["+r[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):e==="PathExpression"?this.pushString(r):e==="SubExpression"?this.pushStackLiteral("true"):this.pushStackLiteral("null")},"pushId"),compiler:PA,compileChildren:o(function(e,r){for(var n=e.children,s=void 0,i=void 0,a=0,c=n.length;a<c;a++){s=n[a],i=new this.compiler;var l=this.matchExistingProgram(s);if(l==null){var A=this.context.programs.push("")-1;s.index=A,s.name="program"+A,this.context.programs[A]=i.compile(s,r,this.context,!this.precompile),this.context.decorators[A]=i.decorators,this.context.environments[A]=s,this.useDepths=this.useDepths||i.useDepths,this.useBlockParams=this.useBlockParams||i.useBlockParams,s.useDepths=this.useDepths,s.useBlockParams=this.useBlockParams}else s.index=l.index,s.name="program"+l.index,this.useDepths=this.useDepths||l.useDepths,this.useBlockParams=this.useBlockParams||l.useBlockParams}},"compileChildren"),matchExistingProgram:o(function(e){for(var r=0,n=this.context.environments.length;r<n;r++){var s=this.context.environments[r];if(s&&s.equals(e))return s}},"matchExistingProgram"),programExpression:o(function(e){var r=this.environment.children[e],n=[r.index,"data",r.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"container.program("+n.join(", ")+")"},"programExpression"),useRegister:o(function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},"useRegister"),push:o(function(e){return e instanceof vA||(e=this.source.wrap(e)),this.inlineStack.push(e),e},"push"),pushStackLiteral:o(function(e){this.push(new vA(e))},"pushStackLiteral"),pushSource:o(function(e){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),e&&this.source.push(e)},"pushSource"),replaceStack:o(function(e){var r=["("],n=void 0,s=void 0,i=void 0;if(!this.isInline())throw new iT.default("replaceStack on non-inline");var a=this.popStack(!0);if(a instanceof vA)n=[a.value],r=["(",n],i=!0;else{s=!0;var c=this.incrStack();r=["((",this.push(c)," = ",a,")"],n=this.topStack()}var l=e.call(this,n);i||this.popStack(),s&&this.stackSlot--,this.push(r.concat(l,")"))},"replaceStack"),incrStack:o(function(){return this.stackSlot++,this.stackSlot>this.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<n;r++){var s=e[r];if(s instanceof vA)this.compileStack.push(s);else{var i=this.incrStack();this.pushSource([i," = ",s,";"]),this.compileStack.push(i)}}},"flushInline"),isInline:o(function(){return this.inlineStack.length},"isInline"),popStack:o(function(e){var r=this.isInline(),n=(r?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof vA)return n.value;if(!r){if(!this.stackSlot)throw new iT.default("Invalid stack pop");this.stackSlot--}return n},"popStack"),topStack:o(function(){var e=this.isInline()?this.inlineStack:this.compileStack,r=e[e.length-1];return r instanceof vA?r.value:r},"topStack"),contextName:o(function(e){return this.useDepths&&e?"depths["+e+"]":"depth"+e},"contextName"),quotedString:o(function(e){return this.source.quotedString(e)},"quotedString"),objectLiteral:o(function(e){return this.source.objectLiteral(e)},"objectLiteral"),aliasable:o(function(e){var r=this.aliases[e];return r?(r.referenceCount++,r):(r=this.aliases[e]=this.source.wrap(e),r.aliasable=!0,r.referenceCount=1,r)},"aliasable"),setupHelper:o(function(e,r,n){var s=[],i=this.setupHelperArgs(r,e,s,n),a=this.nameLookup("helpers",r,"helper"),c=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:s,paramsInit:i,name:a,callParams:[c].concat(s)}},"setupHelper"),setupParams:o(function(e,r,n){var s={},i=[],a=[],c=[],l=!n,A=void 0;l&&(n=[]),s.name=this.quotedString(e),s.hash=this.popStack(),this.trackIds&&(s.hashIds=this.popStack()),this.stringParams&&(s.hashTypes=this.popStack(),s.hashContexts=this.popStack());var u=this.popStack(),d=this.popStack();(d||u)&&(s.fn=d||"container.noop",s.inverse=u||"container.noop");for(var m=r;m--;)A=this.popStack(),n[m]=A,this.trackIds&&(c[m]=this.popStack()),this.stringParams&&(a[m]=this.popStack(),i[m]=this.popStack());return l&&(s.args=this.source.generateArray(n)),this.trackIds&&(s.ids=this.source.generateArray(c)),this.stringParams&&(s.types=this.source.generateArray(a),s.contexts=this.source.generateArray(i)),this.options.data&&(s.data="data"),this.useBlockParams&&(s.blockParams="blockParams"),s},"setupParams"),setupHelperArgs:o(function(e,r,n,s){var i=this.setupParams(e,r,n);return i.loc=JSON.stringify(this.source.currentLocation),i=this.objectLiteral(i),s?(this.useRegister("options"),n.push("options"),["options=",i]):n?(n.push(i),""):i},"setupHelperArgs")};(function(){for(var t="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),e=PA.RESERVED_WORDS={},r=0,n=t.length;r<n;r++)e[t[r]]=!0})();PA.isValidJavaScriptVariableName=function(t){return!PA.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)};function Hwe(t,e,r,n,s){var i=e.popStack(),a=r.length;t&&a--;for(var c=n;c<a;c++)i=e.nameLookup(i,r[c],s);return t?[e.aliasable("container.strict"),"(",i,", ",e.quotedString(r[a]),", ",JSON.stringify(e.source.currentLocation)," )"]:i}o(Hwe,"strictLookup");WC.default=PA;M5.exports=WC.default});var U5=g((jC,F5)=>{"use strict";jC.__esModule=!0;function Xm(t){return t&&t.__esModule?t:{default:t}}o(Xm,"_interopRequireDefault");var zwe=qW(),Gwe=Xm(zwe),Ywe=kD(),Vwe=Xm(Ywe),oT=ZW(),aT=n5(),Jwe=L5(),$we=Xm(Jwe),Wwe=OC(),jwe=Xm(Wwe),Kwe=vD(),Xwe=Xm(Kwe),Zwe=Gwe.default.create;function _5(){var t=Zwe();return t.compile=function(e,r){return aT.compile(e,r,t)},t.precompile=function(e,r){return aT.precompile(e,r,t)},t.AST=Vwe.default,t.Compiler=aT.Compiler,t.JavaScriptCompiler=$we.default,t.Parser=oT.parser,t.parse=oT.parse,t.parseWithoutProcessing=oT.parseWithoutProcessing,t}o(_5,"create");var DA=_5();DA.create=_5;Xwe.default(DA);DA.Visitor=jwe.default;DA.default=DA;jC.default=DA;F5.exports=jC.default});var O5=g(KC=>{"use strict";KC.__esModule=!0;KC.print=nNe;KC.PrintVisitor=nt;function eNe(t){return t&&t.__esModule?t:{default:t}}o(eNe,"_interopRequireDefault");var tNe=OC(),rNe=eNe(tNe);function nNe(t){return new nt().accept(t)}o(nNe,"print");function nt(){this.padding=0}o(nt,"PrintVisitor");nt.prototype=new rNe.default;nt.prototype.pad=function(t){for(var e="",r=0,n=this.padding;r<n;r++)e+=" ";return e+=t+`
|
|
`,e};nt.prototype.Program=function(t){var e="",r=t.body,n=void 0,s=void 0;if(t.blockParams){var i="BLOCK PARAMS: [";for(n=0,s=t.blockParams.length;n<s;n++)i+=" "+t.blockParams[n];i+=" ]",e+=this.pad(i)}for(n=0,s=r.length;n<s;n++)e+=this.accept(r[n]);return this.padding--,e};nt.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};nt.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};nt.prototype.BlockStatement=nt.prototype.DecoratorBlock=function(t){var e="";return e+=this.pad((t.type==="DecoratorBlock"?"DIRECTIVE ":"")+"BLOCK:"),this.padding++,e+=this.pad(this.SubExpression(t)),t.program&&(e+=this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--),t.inverse&&(t.program&&this.padding++,e+=this.pad("{{^}}"),this.padding++,e+=this.accept(t.inverse),this.padding--,t.program&&this.padding--),this.padding--,e};nt.prototype.PartialStatement=function(t){var e="PARTIAL:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),this.pad("{{> "+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;s<i;s++)r.push(this.accept(e[s]));return e="["+r.join(", ")+"]",n=t.hash?" "+this.accept(t.hash):"",this.accept(t.path)+" "+e+n};nt.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};nt.prototype.StringLiteral=function(t){return'"'+t.value+'"'};nt.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};nt.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};nt.prototype.UndefinedLiteral=function(){return"UNDEFINED"};nt.prototype.NullLiteral=function(){return"NULL"};nt.prototype.Hash=function(t){for(var e=t.pairs,r=[],n=0,s=e.length;n<s;n++)r.push(this.accept(e[n]));return"HASH{"+r.join(", ")+"}"};nt.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var G5=g((oet,z5)=>{var XC=U5().default,H5=O5();XC.PrintVisitor=H5.PrintVisitor;XC.print=H5.print;z5.exports=XC;function q5(t,e){var r=require("fs"),n=r.readFileSync(e,"utf8");t.exports=XC.compile(n)}o(q5,"extension");typeof require<"u"&&require.extensions&&(require.extensions[".handlebars"]=q5,require.extensions[".hbs"]=q5)});var pT=Q(require("os"),1);function oi(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(oi,"toCommandValue");function tI(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}o(tI,"toCommandProperties");function Ji(t,e,r){let n=new rI(t,e,r);process.stdout.write(n.toString()+pT.EOL)}o(Ji,"issueCommand");function nI(t,e=""){Ji(t,{},e)}o(nI,"issue");var mT="::",rI=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=mT+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}=${A9(s)}`)}}return e+=`${mT}${l9(this.message)}`,e}};function l9(t){return oi(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(l9,"escapeData");function A9(t){return oi(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(A9,"escapeProperty");var hT=Q(require("crypto"),1),ip=Q(require("fs"),1),sp=Q(require("os"),1);function sI(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!ip.existsSync(r))throw new Error(`Missing file at path: ${r}`);ip.appendFileSync(r,`${oi(e)}${sp.EOL}`,{encoding:"utf8"})}o(sI,"issueFileCommand");function iI(t,e){let r=`ghadelimiter_${hT.randomUUID()}`,n=oi(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}${sp.EOL}${n}${sp.EOL}${r}`}o(iI,"prepareKeyValueMessage");var $x=Q(require("os"),1);var ef=Q(cI(),1),boe=Q(Tx(),1);var fs;(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"})(fs||(fs={}));var JU;(function(t){t.Accept="accept",t.ContentType="content-type"})(JU||(JU={}));var $U;(function(t){t.ApplicationJson="application/json"})($U||($U={}));var Gve=[fs.MovedPermanently,fs.ResourceMoved,fs.SeeOther,fs.TemporaryRedirect,fs.PermanentRedirect],Yve=[fs.BadGateway,fs.ServiceUnavailable,fs.GatewayTimeout];var KU=require("os"),Lu=require("fs");var Mx=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:Noe,appendFile:Soe,writeFile:Roe}=Lu.promises,jU="GITHUB_STEP_SUMMARY";var Lx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Mx(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 Noe(e,Lu.constants.R_OK|Lu.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}>`:`<${e}${s}>`}write(e){return Mx(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?Roe:Soe)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Mx(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()}},ePe=new Lx;var Vx=Q(require("os"),1);var Yx=require("string_decoder");var Fu=Q(require("os"),1),Gx=Q(require("events"),1),AO=Q(require("child_process"),1),uO=Q(require("path"),1);var iO=require("assert"),qr=Q(require("path"),1);var _u=Q(require("fs"),1),mo=Q(require("path"),1);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())})},{chmod:Fx,copyFile:ZU,lstat:tf,mkdir:eO,open:iPe,readdir:Ux,rename:voe,rm:tO,rmdir:oPe,stat:ma,symlink:rO,unlink:Ox}=_u.promises,gs=process.platform==="win32";function nO(t){return _x(this,void 0,void 0,function*(){let e=yield _u.promises.readlink(t);return gs&&!e.endsWith("\\")?`${e}\\`:e})}o(nO,"readlink");var aPe=_u.constants.O_RDONLY;function ul(t){return _x(this,void 0,void 0,function*(){try{yield ma(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}o(ul,"exists");function rf(t){if(t=Poe(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return gs?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(rf,"isRooted");function qx(t,e){return _x(this,void 0,void 0,function*(){let r;try{r=yield ma(t)}catch(s){s.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${s}`)}if(r&&r.isFile()){if(gs){let s=mo.extname(t).toUpperCase();if(e.some(i=>i.toUpperCase()===s))return t}else if(XU(r))return t}let n=t;for(let s of e){t=n+s,r=void 0;try{r=yield ma(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if(gs){try{let i=mo.dirname(t),a=mo.basename(t).toUpperCase();for(let c of yield Ux(i))if(a===c.toUpperCase()){t=mo.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(XU(r))return t}}return""})}o(qx,"tryGetExecutablePath");function Poe(t){return t=t||"",gs?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(Poe,"normalizeSeparators");function XU(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(XU,"isUnixExecutable");var pa=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 oO(t,e){return pa(this,arguments,void 0,function*(r,n,s={}){let{force:i,recursive:a,copySourceDirectory:c}=Toe(s),l=(yield ul(n))?yield ma(n):null;if(l&&l.isFile()&&!i)return;let A=l&&l.isDirectory()&&c?qr.join(n,qr.basename(r)):n;if(!(yield ul(r)))throw new Error(`no such file or directory: ${r}`);if((yield ma(r)).isDirectory())if(a)yield aO(r,A,0,i);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(qr.relative(r,A)==="")throw new Error(`'${A}' and '${r}' are the same file`);yield cO(r,A,i)}})}o(oO,"cp");function Hx(t){return pa(this,void 0,void 0,function*(){if(gs&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield tO(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(Hx,"rmRF");function ha(t){return pa(this,void 0,void 0,function*(){(0,iO.ok)(t,"a path argument must be provided"),yield eO(t,{recursive:!0})})}o(ha,"mkdirP");function hr(t,e){return pa(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let n=yield hr(t,!1);if(!n)throw gs?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(hr,"which");function Doe(t){return pa(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(gs&&process.env.PATHEXT)for(let s of process.env.PATHEXT.split(qr.delimiter))s&&e.push(s);if(rf(t)){let s=yield qx(t,e);return s?[s]:[]}if(t.includes(qr.sep))return[];let r=[];if(process.env.PATH)for(let s of process.env.PATH.split(qr.delimiter))s&&r.push(s);let n=[];for(let s of r){let i=yield qx(qr.join(s,t),e);i&&n.push(i)}return n})}o(Doe,"findInPath");function Toe(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(Toe,"readCopyOptions");function aO(t,e,r,n){return pa(this,void 0,void 0,function*(){if(r>=255)return;r++,yield ha(e);let s=yield Ux(t);for(let i of s){let a=`${t}/${i}`,c=`${e}/${i}`;(yield tf(a)).isDirectory()?yield aO(a,c,r,n):yield cO(a,c,n)}yield Fx(e,(yield ma(t)).mode)})}o(aO,"cpDirRecursive");function cO(t,e,r){return pa(this,void 0,void 0,function*(){if((yield tf(t)).isSymbolicLink()){try{yield tf(e),yield Ox(e)}catch(s){s.code==="EPERM"&&(yield Fx(e,"0666"),yield Ox(e))}let n=yield nO(t);yield rO(n,e,gs?"junction":null)}else(!(yield ul(e))||r)&&(yield ZU(t,e))})}o(cO,"copyFile");var dO=require("timers");var lO=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())})},nf=process.platform==="win32",sf=class extends Gx.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(nf)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(Fu.EOL);for(;i>-1;){let a=s.substring(0,i);n(a),s=s.substring(i+Fu.EOL.length),i=s.indexOf(Fu.EOL)}return s}catch(s){return this._debug(`error processing line. Failed with error ${s}`),""}}_getSpawnFileName(){return nf&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(nf&&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 lO(this,void 0,void 0,function*(){return!rf(this.toolPath)&&(this.toolPath.includes("/")||nf&&this.toolPath.includes("\\"))&&(this.toolPath=uO.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield hr(this.toolPath,!0),new Promise((e,r)=>lO(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)+Fu.EOL);let s=new zx(n,this.toolPath);if(s.on("debug",A=>{this._debug(A)}),this.options.cwd&&!(yield ul(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),a=AO.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 mO(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;a<t.length;a++){let c=t.charAt(a);if(c==='"'){n?i(c):r=!r;continue}if(c==="\\"&&n){i(c);continue}if(c==="\\"&&r){n=!0;continue}if(c===" "&&!r){s.length>0&&(e.push(s),s="");continue}i(c)}return s.length>0&&e.push(s.trim()),e}o(mO,"argStringToArray");var zx=class t extends Gx.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,dO.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 pO=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 po(t,e,r){return pO(this,void 0,void 0,function*(){let n=mO(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 sf(s,e,r).exec()})}o(po,"exec");function Uu(t,e,r){return pO(this,void 0,void 0,function*(){var n,s;let i="",a="",c=new Yx.StringDecoder("utf8"),l=new Yx.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 po(t,e,Object.assign(Object.assign({},r),{listeners:p}));return i+=c.end(),a+=l.end(),{exitCode:h,stdout:i,stderr:a}})}o(Uu,"getExecOutput");var mPe=Vx.default.platform(),pPe=Vx.default.arch();var Loe=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())})},Jx;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Jx||(Jx={}));function Al(t){Ji("add-mask",{},t)}o(Al,"setSecret");function ml(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(ml,"getInput");function Wx(t,e){let r=["true","True","TRUE"],n=["false","False","FALSE"],s=ml(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(Wx,"getBooleanInput");function hO(t,e){if(process.env.GITHUB_OUTPUT||"")return sI("OUTPUT",iI(t,e));process.stdout.write($x.EOL),Ji("set-output",{name:t},oi(e))}o(hO,"setOutput");function fO(t){process.exitCode=Jx.Failure,pl(t)}o(fO,"setFailed");function fa(){return process.env.RUNNER_DEBUG==="1"}o(fa,"isDebug");function b(t){Ji("debug",{},t)}o(b,"debug");function pl(t,e={}){Ji("error",tI(e),t instanceof Error?t.toString():t)}o(pl,"error");function ht(t,e={}){Ji("warning",tI(e),t instanceof Error?t.toString():t)}o(ht,"warning");function le(t){process.stdout.write(t+$x.EOL)}o(le,"info");function _oe(t){nI("group",t)}o(_oe,"startGroup");function Foe(){nI("endgroup")}o(Foe,"endGroup");function ys(t,e){return Loe(this,void 0,void 0,function*(){_oe(t);let r;try{r=yield e()}finally{Foe()}return r})}o(ys,"group");function of(t,e){if(process.env.GITHUB_STATE||"")return sI("STATE",iI(t,e));Ji("save-state",{name:t},oi(e))}o(of,"saveState");function gO(t){return process.env[`STATE_${t}`]||""}o(gO,"getState");var _m=Q(require("fs"),1),cD=Q(require("os"),1),lD=Q(require("path"),1);var EO=Q(require("os"),1);function qu(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(qu,"toCommandValue");function CO(t,e,r){let n=new jx(t,e,r);process.stdout.write(n.toString()+EO.EOL)}o(CO,"issueCommand");var yO="::",jx=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=yO+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}=${Ooe(s)}`)}}return e+=`${yO}${Uoe(this.message)}`,e}};function Uoe(t){return qu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Uoe,"escapeData");function Ooe(t){return qu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(Ooe,"escapeProperty");var BO=require("os"),Hu=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:qoe,appendFile:Hoe,writeFile:zoe}=Hu.promises,IO="GITHUB_STEP_SUMMARY";var Xx=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[IO];if(!e)throw new Error(`Unable to find environment variable for $${IO}. Check if your runtime environment supports job summaries.`);try{yield qoe(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}>`:`<${e}${s}>`}write(e){return Kx(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?zoe:Hoe)(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(BO.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()}},GPe=new Xx;var Zx=Q(require("os"),1);var WPe=Zx.default.platform(),jPe=Zx.default.arch();var QO;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(QO||(QO={}));function Kt(t){CO("debug",{},t)}o(Kt,"debug");var gr=Q(require("fs"),1);var Ole=Q(Eb(),1);var Ef=Q(require("os"),1),ho=Q(require("path"),1);var hn=Q(Eb(),1);var pH=require("assert");var mH=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 nke=process.platform==="win32",ske=process.platform==="darwin";function hH(t,e,r,n){return mH(this,void 0,void 0,function*(){if(r=hn.clean(r)||r,n=n||Ef.arch(),Kt(`Caching tool ${e} ${r} ${n}`),Kt(`source dir: ${t}`),!gr.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let s=yield zle(e,r,n);for(let i of gr.readdirSync(t)){let a=ho.join(t,i);yield oO(a,s,{recursive:!0})}return Gle(e,r,n),s})}o(hH,"cacheDir");function fH(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||Ef.arch(),!gH(e)){let s=Hle(t,r);e=Yle(s,e)}let n="";if(e){e=hn.clean(e)||"";let s=ho.join(Cf(),t,e,r);Kt(`checking cache: ${s}`),gr.existsSync(s)&&gr.existsSync(`${s}.complete`)?(Kt(`Found tool in cache ${t} ${e} ${r}`),n=s):Kt("not found")}return n}o(fH,"find");function Hle(t,e){let r=[];e=e||Ef.arch();let n=ho.join(Cf(),t);if(gr.existsSync(n)){let s=gr.readdirSync(n);for(let i of s)if(gH(i)){let a=ho.join(n,i,e||"");gr.existsSync(a)&&gr.existsSync(`${a}.complete`)&&r.push(i)}}return r}o(Hle,"findAllVersions");function zle(t,e,r){return mH(this,void 0,void 0,function*(){let n=ho.join(Cf(),t,hn.clean(e)||e,r||"");Kt(`destination ${n}`);let s=`${n}.complete`;return yield Hx(n),yield Hx(s),yield ha(n),n})}o(zle,"_createToolPath");function Gle(t,e,r){let s=`${ho.join(Cf(),t,hn.clean(e)||e,r||"")}.complete`;gr.writeFileSync(s,""),Kt("finished caching tool")}o(Gle,"_completeToolPath");function gH(t){let e=hn.clean(t)||"";Kt(`isExplicit: ${e}`);let r=hn.valid(e)!=null;return Kt(`explicit? ${r}`),r}o(gH,"isExplicitVersion");function Yle(t,e){let r="";Kt(`evaluating ${t.length} versions`),t=t.sort((n,s)=>hn.gt(n,s)?1:-1);for(let n=t.length-1;n>=0;n--){let s=t[n];if(hn.satisfies(s,e)){r=s;break}}return r?Kt(`matched: ${r}`):Kt("match not found"),r}o(Yle,"evaluateVersions");function Cf(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,pH.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(Cf,"_getCacheDirectory");var Lm=Q(require("path"),1);var EH=Q(require("os"),1);function ju(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(ju,"toCommandValue");function CH(t,e,r){let n=new Cb(t,e,r);process.stdout.write(n.toString()+EH.EOL)}o(CH,"issueCommand");var yH="::",Cb=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=yH+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}=${$le(s)}`)}}return e+=`${yH}${Jle(this.message)}`,e}};function Jle(t){return ju(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Jle,"escapeData");function $le(t){return ju(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o($le,"escapeProperty");var BH=require("os"),Ku=require("fs");var Ib=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:Wle,appendFile:jle,writeFile:Kle}=Ku.promises,IH="GITHUB_STEP_SUMMARY";var Bb=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Ib(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[IH];if(!e)throw new Error(`Unable to find environment variable for $${IH}. Check if your runtime environment supports job summaries.`);try{yield Wle(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}>`:`<${e}${s}>`}write(e){return Ib(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?Kle:jle)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Ib(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(BH.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()}},Cke=new Bb;var Qb=Q(require("os"),1);var bke=Qb.default.platform(),wke=Qb.default.arch();var QH;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(QH||(QH={}));function fn(t){CH("debug",{},t)}o(fn,"debug");var El=Q(require("fs"),1);function bb(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,fn(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,fn(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,fn(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,fn(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,fn(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}o(bb,"getOptions");var bf=Q(require("path"),1);var fl=Q(require("path"),1),fo=Q(require("assert"),1);var go=process.platform==="win32";function Qi(t){if(t=Bi(t),go&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=fl.dirname(t);return go&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=Bi(e)),e}o(Qi,"dirname");function If(t,e){if((0,fo.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,fo.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),Xu(e))return e;if(go){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,fo.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(Yn(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,fo.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,fo.default)(Xu(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||go&&t.endsWith("\\")||(t+=fl.sep),t+e}o(If,"ensureAbsoluteRoot");function Xu(t){return(0,fo.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=Yn(t),go?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}o(Xu,"hasAbsoluteRoot");function Zu(t){return(0,fo.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=Yn(t),go?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(Zu,"hasRoot");function Yn(t){return t=t||"",go?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(Yn,"normalizeSeparators");function Bi(t){return t?(t=Yn(t),!t.endsWith(fl.sep)||t===fl.sep||go&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}o(Bi,"safeTrimTrailingSeparator");var Vn;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(Vn||(Vn={}));var xH=process.platform==="win32";function Nb(t){t=t.filter(n=>!n.negate);let e={};for(let n of t){let s=xH?n.searchPath.toUpperCase():n.searchPath;e[s]="candidate"}let r=[];for(let n of t){let s=xH?n.searchPath.toUpperCase():n.searchPath;if(e[s]==="included")continue;let i=!1,a=s,c=Qi(a);for(;c!==a;){if(e[c]){i=!0;break}a=c,c=Qi(a)}i||(r.push(n.searchPath),e[s]="included")}return r}o(Nb,"getSearchPaths");function bH(t,e){let r=Vn.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}o(bH,"match");function wH(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(wH,"partialMatch");var $H=Q(require("os"),1),yl=Q(require("path"),1);var Eo=Q(require("assert"),1),WH=Q(JH(),1);var ya=Q(require("path"),1);var gl=Q(require("assert"),1);var xAe=process.platform==="win32",Ea=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if((0,gl.default)(e,"Parameter 'itemPath' must not be empty"),e=Bi(e),!Zu(e))this.segments=e.split(ya.sep);else{let r=e,n=Qi(r);for(;n!==r;){let s=ya.basename(r);this.segments.unshift(s),r=n,n=Qi(r)}this.segments.unshift(r)}else{(0,gl.default)(e.length>0,"Parameter 'itemPath' must not be an empty array");for(let r=0;r<e.length;r++){let n=e[r];(0,gl.default)(n,"Parameter 'itemPath' must not contain any empty segments"),n=Yn(e[r]),r===0&&Zu(n)?(n=Bi(n),(0,gl.default)(n===Qi(n),"Parameter 'itemPath' root segment contains information for multiple segments"),this.segments.push(n)):((0,gl.default)(!n.includes(ya.sep),"Parameter 'itemPath' contains unexpected path separators"),this.segments.push(n))}}}toString(){let e=this.segments[0],r=e.endsWith(ya.sep)||xAe&&/^[A-Z]:$/i.test(e);for(let n=1;n<this.segments.length;n++)r?r=!1:e+=ya.sep,e+=this.segments[n];return e}};var{Minimatch:bAe}=WH.default,xi=process.platform==="win32",rd=class t{static{o(this,"Pattern")}constructor(e,r=!1,n,s){this.negate=!1;let i;if(typeof e=="string")i=e.trim();else{n=n||[],(0,Eo.default)(n.length,"Parameter 'segments' must not empty");let A=t.getLiteral(n[0]);(0,Eo.default)(A&&Xu(A),"Parameter 'segments' first element must be a root path"),i=new Ea(n).toString().trim(),e&&(i=`!${i}`)}for(;i.startsWith("!");)this.negate=!this.negate,i=i.substr(1).trim();i=t.fixupPattern(i,s),this.segments=new Ea(i).segments,this.trailingSeparator=Yn(i).endsWith(yl.sep),i=Bi(i);let a=!1,c=this.segments.map(A=>t.getLiteral(A)).filter(A=>!a&&!(a=A===""));this.searchPath=new Ea(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),xi?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:xi,nocomment:!0,noext:!0,nonegate:!0};i=xi?i.replace(/\\/g,"/"):i,this.minimatch=new bAe(i,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=Yn(e),!e.endsWith(yl.sep)&&this.isImplicitPattern===!1&&(e=`${e}${yl.sep}`)):e=Bi(e),this.minimatch.match(e)?this.trailingSeparator?Vn.Directory:Vn.All:Vn.None}partialMatch(e){return e=Bi(e),Qi(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(xi?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(xi?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,Eo.default)(e,"pattern cannot be empty");let n=new Ea(e).segments.map(s=>t.getLiteral(s));if((0,Eo.default)(n.every((s,i)=>(s!=="."||i===0)&&s!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,Eo.default)(!Zu(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=Yn(e),e==="."||e.startsWith(`.${yl.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${yl.sep}`))r=r||$H.homedir(),(0,Eo.default)(r,"Unable to determine HOME directory"),(0,Eo.default)(Xu(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(xi&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let s=If("C:\\dummy-root",e.substr(0,2));e.length>2&&!s.endsWith("\\")&&(s+="\\"),e=t.globEscape(s)+e.substr(2)}else if(xi&&(e==="\\"||e.match(/^\\[^\\]/))){let s=If("C:\\dummy-root","\\");s.endsWith("\\")||(s+="\\"),e=t.globEscape(s)+e.substr(1)}else e=If(t.globEscape(process.cwd()),e);return Yn(e)}static getLiteral(e){let r="";for(let n=0;n<e.length;n++){let s=e[n];if(s==="\\"&&!xi&&n+1<e.length){r+=e[++n];continue}else{if(s==="*"||s==="?")return"";if(s==="["&&n+1<e.length){let i="",a=-1;for(let c=n+1;c<e.length;c++){let l=e[c];if(l==="\\"&&!xi&&c+1<e.length){i+=e[++c];continue}else if(l==="]"){a=c;break}else i+=l}if(a>=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 nd=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};var kb=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())})},wAe=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)}},Co=function(t){return this instanceof Co?(this.v=t,this):new Co(t)},NAe=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 Co?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])}},SAe=process.platform==="win32",xf=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=bb(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return kb(this,void 0,void 0,function*(){var e,r,n,s;let i=[];try{for(var a=!0,c=wAe(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 NAe(this,arguments,o(function*(){let r=bb(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 rd(a.negate,!0,a.segments.concat("**")));let s=[];for(let a of Nb(n)){fn(`Search path '${a}'`);try{yield Co(El.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}s.unshift(new nd(a,1))}let i=[];for(;s.length;){let a=s.pop(),c=bH(n,a.path),l=!!c||wH(n,a.path);if(!c&&!l)continue;let A=yield Co(t.stat(a,r,i));if(A&&!(r.excludeHiddenFiles&&bf.basename(a.path).match(/^\./)))if(A.isDirectory()){if(c&Vn.Directory&&r.matchDirectories)yield yield Co(a.path);else if(!l)continue;let u=a.level+1,d=(yield Co(El.promises.readdir(a.path))).map(m=>new nd(bf.join(a.path,m),u));s.push(...d.reverse())}else c&Vn.File&&(yield yield Co(a.path))}},"globGenerator_1"))}static create(e,r){return kb(this,void 0,void 0,function*(){let n=new t(r);SAe&&(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 rd(i));return n.searchPaths.push(...Nb(n.patterns)),n})}static stat(e,r,n){return kb(this,void 0,void 0,function*(){let s;if(r.followSymbolicLinks)try{s=yield El.promises.stat(e.path)}catch(i){if(i.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){fn(`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 El.promises.lstat(e.path);if(s.isDirectory()&&r.followSymbolicLinks){let i=yield El.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(a=>a===i)){fn(`Symlink cycle detected for path '${e.path}' and realpath '${i}'`);return}n.push(i)}return s})}};var RAe=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 jH(t,e){return RAe(this,void 0,void 0,function*(){return yield xf.create(t,e)})}o(jH,"create");var qf=Q(require("crypto"),1),Bl=Q(require("fs"),1),Ia=Q(require("path"),1),qG=Q(UG(),1),HG=Q(require("util"),1);var ud;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(ud||(ud={}));var rr;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(rr||(rr={}));var zr;(function(t){t.GNU="gnu",t.BSD="bsd"})(zr||(zr={}));var Ff=2,Uf=5e3,e0=5e3,t0=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,OG=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,dd="cache.tar",r0="manifest.txt",r_e=10*Math.pow(1024,3),Of="cache read denied:";var Il=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())})},wme=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)}},Nme="1.0";function md(){return Il(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=Ia.join(n,"actions","temp")}let r=Ia.join(e,qf.randomUUID());return yield ha(r),r})}o(md,"createTempDirectory");function Is(t){return Bl.statSync(t).size}o(Is,"getArchiveFileSizeInBytes");function n0(t){return Il(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 jH(t.join(`
|
|
`),{implicitDescendants:!1});try{for(var A=!0,u=wme(l.globGenerator()),d;d=yield u.next(),e=d.done,!e;A=!0){s=d.value,A=!1;let p=Ia.relative(c,s).replace(new RegExp(`\\${Ia.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(n0,"resolvePaths");function pd(t){return Il(this,void 0,void 0,function*(){return HG.promisify(Bl.unlink)(t)})}o(pd,"unlinkFile");function zG(t){return Il(this,arguments,void 0,function*(e,r=[]){let n="";r.push("--version"),b(`Checking ${e} ${r.join(" ")}`);try{yield po(`${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(zG,"getVersion");function hd(){return Il(this,void 0,void 0,function*(){let t=yield zG("zstd",["--quiet"]),e=qG.clean(t);return b(`zstd version: ${e}`),t===""?rr.Gzip:rr.ZstdWithoutLong})}o(hd,"getCompressionMethod");function Io(t){return t===rr.Gzip?ud.Gzip:ud.Zstd}o(Io,"getCacheFileName");function GG(){return Il(this,void 0,void 0,function*(){return Bl.existsSync(t0)?t0:(yield zG("tar")).toLowerCase().includes("gnu tar")?hr("tar"):""})}o(GG,"getGnuTarPathOnWindows");function s0(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(s0,"assertDefined");function Ql(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(Nme),qf.createHash("sha256").update(n.join("|")).digest("hex")}o(Ql,"getCacheVersion");function YG(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(YG,"getRuntimeToken");var gd=Q(require("http"),1),a0=Q(require("https"),1);function i0(t){let e=t.protocol==="https:";if(Sme(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 zf(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new zf(`http://${r}`)}else return}o(i0,"getProxyUrl");function Sme(t){if(!t.hostname)return!1;let e=t.hostname;if(Rme(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(Sme,"checkBypass");function Rme(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(Rme,"isLoopbackAddress");var zf=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 Bo=Q(cI(),1),VG=Q(Tx(),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())})},We;(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"})(We||(We={}));var nr;(function(t){t.Accept="accept",t.ContentType="content-type"})(nr||(nr={}));var bi;(function(t){t.ApplicationJson="application/json"})(bi||(bi={}));var Pme=[We.MovedPermanently,We.ResourceMoved,We.SeeOther,We.TemporaryRedirect,We.PermanentRedirect],Dme=[We.BadGateway,We.ServiceUnavailable,We.GatewayTimeout],Tme=["OPTIONS","GET","DELETE","HEAD"],kme=10,Mme=5,Bs=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},o0=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 wi=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[nr.Accept]=this._getExistingOrDefaultHeader(n,nr.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[nr.Accept]=this._getExistingOrDefaultHeader(i,nr.Accept,bi.ApplicationJson),i[nr.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[nr.Accept]=this._getExistingOrDefaultHeader(i,nr.Accept,bi.ApplicationJson),i[nr.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[nr.Accept]=this._getExistingOrDefaultHeader(i,nr.Accept,bi.ApplicationJson),i[nr.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&&Tme.includes(e)?this._maxRetries+1:1,l=0,A;do{if(A=yield this.requestRaw(a,n),A&&A.message&&A.message.statusCode===We.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&&Pme.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<c&&(yield A.readBody(),yield this._performExponentialBackoff(l))}while(l<c);return A})}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,r){return ot(this,void 0,void 0,function*(){return new Promise((n,s)=>{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 o0(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=i0(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?a0:gd;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({},fd(this.requestOptions.headers),fd(e||{})):fd(e||{})}_getExistingOrDefaultHeader(e,r,n){let s;if(this.requestOptions&&this.requestOptions.headers){let a=fd(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=fd(this.requestOptions.headers)[nr.ContentType];i&&(typeof i=="number"?n=String(i):Array.isArray(i)?n=i.join(", "):n=i)}let s=e[nr.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=i0(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||gd.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?Bo.httpsOverHttps:Bo.httpsOverHttp:l=A?Bo.httpOverHttps:Bo.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new a0.Agent(c):new gd.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 VG.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(kme,e);let r=Mme*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===We.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 Bs(u,i);d.result=a.result,s(d)}else n(a)}))})}},fd=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var Lme=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 xl=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 Lme(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var nA=Q(require("fs"),1),I8=require("url");var Qs=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};var JG=require("node:os"),$G=Q(require("node:util"),1),WG=Q(require("node:process"),1);function jG(t,...e){WG.default.stderr.write(`${$G.default.format(t,...e)}${JG.EOL}`)}o(jG,"log");var KG=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,ZG,c0=[],l0=[],Gf=[];KG&&A0(KG);var eY=Object.assign(t=>tY(t),{enable:A0,enabled:u0,disable:_me,log:jG});function A0(t){ZG=t,c0=[],l0=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?l0.push(r.substring(1)):c0.push(r);for(let r of Gf)r.enabled=u0(r.namespace)}o(A0,"enable");function u0(t){if(t.endsWith("*"))return!0;for(let e of l0)if(XG(t,e))return!1;for(let e of c0)if(XG(t,e))return!0;return!1}o(u0,"enabled");function XG(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<a&&s<i;)if(r[s]==="*"){if(c=s,s++,s===i)return!0;for(;t[n]!==r[s];)if(n++,n===a)return!1;l=n,n++,s++;continue}else if(r[s]===t[n])s++,n++;else if(c>=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(XG,"namespaceMatches");function _me(){let t=ZG||"";return A0(""),t}o(_me,"disable");function tY(t){let e=Object.assign(r,{enabled:u0(t),destroy:Fme,log:eY.log,namespace:t,extend:Ume});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),Gf.push(e),e}o(tY,"createDebugger");function Fme(){let t=Gf.indexOf(this);return t>=0?(Gf.splice(t,1),!0):!1}o(Fme,"destroy");function Ume(t){let e=tY(`${this.namespace}:${t}`);return e.log=this.log,e}o(Ume,"extend");var bl=eY;var d0=["verbose","info","warning","error"],rY={verbose:400,info:300,warning:200,error:100};function nY(t,e){e.log=(...r)=>{t.log(...r)}}o(nY,"patchLogMethod");function sY(t){return d0.includes(t)}o(sY,"isTypeSpecRuntimeLogLevel");function Yf(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,n,s=bl(t.namespace);s.log=(...u)=>{bl.log(...u)};function i(u){if(u&&!sY(u))throw new Error(`Unknown log level '${u}'. Acceptable values: ${d0.join(",")}`);n=u;let d=[];for(let m of e)a(m)&&d.push(m.namespace);bl.enable(d.join(","))}o(i,"contextSetLogLevel"),r&&(sY(r)?i(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${d0.join(", ")}.`));function a(u){return!!(n&&rY[u.level]<=rY[n])}o(a,"shouldEnable");function c(u,d){let m=Object.assign(u.extend(d),{level:d});if(nY(u,m),a(m)){let p=bl.disable();bl.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 nY(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(Yf,"createLoggerContext");var iY=Yf({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),Ome=iY.logger;function yd(t){return iY.createClientLogger(t)}o(yd,"createClientLogger");function Vf(t){return t.toLowerCase()}o(Vf,"normalizeName");function*qme(t){for(let e of t.values())yield[e.name,e.value]}o(qme,"headerIterator");var m0=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 qme(this._headersMap)}};function Gr(t){return new m0(t)}o(Gr,"createHttpHeaders");function Ba(){return crypto.randomUUID()}o(Ba,"randomUUID");var p0=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??Gr(),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||Ba(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function Jf(t){return new p0(t)}o(Jf,"createPipelineRequest");var oY=new Set(["Deserialize","Serialize","Retry","Sign"]),h0=class t{static{o(this,"HttpPipeline")}_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,r={}){if(r.phase&&r.afterPhase)throw new Error("Policies inside a phase cannot specify afterPhase.");if(r.phase&&!oY.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!oY.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 $f(){return h0.create()}o($f,"createEmptyPipeline");function wl(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(wl,"isObject");function Qa(t){if(wl(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(Qa,"isError");var aY=require("node:util"),cY=aY.inspect.custom;var f0="REDACTED",Hme=["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"],zme=["api-version"],Jn=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=Hme.concat(e),r=zme.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)||wl(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,f0);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]=f0;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]=f0;return r}};var Gme=new Jn,sr=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,cY,{value:o(()=>`RestError: ${this.message}
|
|
${Gme.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function Wf(t){return t instanceof sr?!0:Qa(t)&&t.name==="RestError"}o(Wf,"isRestError");function yr(t,e){return Buffer.from(t,e)}o(yr,"stringToUint8Array");var jf=Q(require("node:http"),1),Kf=Q(require("node:https"),1),g0=Q(require("node:zlib"),1),AY=require("node:stream");var En=yd("ts-http-runtime");var Yme={};function Ed(t){return t&&typeof t.pipe=="function"}o(Ed,"isReadableStream");function lY(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(lY,"isStreamComplete");function uY(t){return t&&typeof t.byteLength=="number"}o(uY,"isArrayBuffer");var Xf=class extends AY.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}},y0=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 Qs("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 Jn;En.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=Wme(c);A!==null&&e.headers.set("Content-Length",A)}let l;try{if(c&&e.onUploadProgress){let h=e.onUploadProgress,f=new Xf(h);f.on("error",C=>{En.error("Error in upload progress",C)}),Ed(c)?c.pipe(f):f.end(c),c=f}let A=await this.makeRequest(e,r,c);s!==void 0&&clearTimeout(s);let u=Vme(A),m={status:A.statusCode??0,headers:u,request:e};if(e.method==="HEAD")return A.resume(),m;l=a?Jme(A,u):A;let p=e.onDownloadProgress;if(p){let h=new Xf(p);h.on("error",f=>{En.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 $me(l),m}finally{if(e.abortSignal&&n){let A=Promise.resolve();Ed(c)&&(A=lY(c));let u=Promise.resolve();Ed(l)&&(u=lY(l)),Promise.all([A,u]).then(()=>{n&&e.abortSignal?.removeEventListener("abort",n)}).catch(d=>{En.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?jf.default.request(c,l):Kf.default.request(c,l);u.once("error",d=>{A(new sr(d.message,{code:d.code??sr.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new Qs("The operation was aborted. Rejecting from abort signal callback while making request.");u.destroy(d),A(d)}),n&&Ed(n)?n.pipe(u):n?typeof n=="string"||Buffer.isBuffer(n)?u.end(n):uY(n)?u.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(En.error("Unrecognized body type",n),A(new sr("Unrecognized body type"))):u.end()})}getOrCreateAgent(e,r){let n=e.disableKeepAlive;if(r)return n?jf.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new jf.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return Kf.default.globalAgent;let s=e.tlsSettings??Yme,i=this.cachedHttpsAgents.get(s);return i&&i.options.keepAlive===!n||(En.info("No cached TLS Agent exist, creating a new Agent"),i=new Kf.default.Agent({keepAlive:!n,...s}),this.cachedHttpsAgents.set(s,i)),i}}};function Vme(t){let e=Gr();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(Vme,"getResponseHeaders");function Jme(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=g0.default.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=g0.default.createInflate();return t.pipe(n),n}return t}o(Jme,"getDecodedResponseStream");function $me(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 sr(`Error reading response as text: ${s.message}`,{code:sr.PARSE_ERROR}))})})}o($me,"streamToText");function Wme(t){return t?Buffer.isBuffer(t)?t.length:Ed(t)?null:uY(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(Wme,"getBodyLength");function dY(){return new y0}o(dY,"createNodeHttpClient");function Zf(){return dY()}o(Zf,"createDefaultHttpClient");var E0="logPolicy";function eg(t={}){let e=t.logger??En.info,r=new Jn({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:E0,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(eg,"logPolicy");var tg="redirectPolicy",mY=["GET","HEAD"];function rg(t={}){let{maxRetries:e=20}=t;return{name:tg,async sendRequest(r,n){let s=await n(r);return pY(n,s,e)}}}o(rg,"redirectPolicy");async function pY(t,e,r,n=0){let{request:s,status:i,headers:a}=e,c=a.get("location");if(c&&(i===300||i===301&&mY.includes(s.method)||i===302&&mY.includes(s.method)||i===303&&s.method==="POST"||i===307)&&n<r){let l=new URL(c,s.url);s.url=l.toString(),i===303&&(s.method="GET",s.headers.delete("Content-Length"),delete s.body),s.headers.delete("Authorization");let A=await t(s);return pY(t,A,r,n+1)}return e}o(pY,"handleRedirect");function hY(){return"User-Agent"}o(hY,"getHeaderName");function fY(){return hY()}o(fY,"getUserAgentHeaderName");var B1e=fY();var ng="decompressResponsePolicy";function sg(){return{name:ng,async sendRequest(t,e){return t.method!=="HEAD"&&t.headers.set("Accept-Encoding","gzip,deflate"),e(t)}}}o(sg,"decompressResponsePolicy");function Cd(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(Cd,"getRandomIntegerInclusive");function ig(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+Cd(0,n/2)}}o(ig,"calculateRetryDelay");var jme="The operation was aborted.";function gY(t,e,r){return new Promise((n,s)=>{let i,a,c=o(()=>s(new Qs(r?.abortErrorMsg?r?.abortErrorMsg:jme)),"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(gY,"delay");function yY(t,e){let r=t.headers.get(e);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}o(yY,"parseHeaderValueAsNumber");var C0="Retry-After",Kme=["retry-after-ms","x-ms-retry-after-ms",C0];function EY(t){if(t&&[429,503].includes(t.status))try{for(let s of Kme){let i=yY(t,s);if(i===0||i)return i*(s===C0?1e3:1)}let e=t.headers.get(C0);if(!e)return;let n=Date.parse(e)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}o(EY,"getRetryAfterInMs");function CY(t){return Number.isFinite(EY(t))}o(CY,"isThrottlingRetryResponse");function I0(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=EY(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(I0,"throttlingRetryStrategy");var Xme=1e3,Zme=1e3*64;function og(t={}){let e=t.retryDelayInMs??Xme,r=t.maxRetryDelayInMs??Zme;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:s,responseError:i}){let a=tpe(i),c=a&&t.ignoreSystemErrors,l=epe(s),A=l&&t.ignoreHttpStatusCodes;return s&&(CY(s)||!l)||A||c?{skipStrategy:!0}:i&&!a&&!l?{errorToThrow:i}:ig(n,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(og,"exponentialRetryStrategy");function epe(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(epe,"isExponentialRetryResponse");function tpe(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(tpe,"isSystemError");var rpe=yd("ts-http-runtime retryPolicy"),npe="retryPolicy";function ba(t,e={maxRetries:3}){let r=e.logger||rpe;return{name:npe,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 Qs;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 gY(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 B0="defaultRetryPolicy";function ag(t={}){return{name:B0,sendRequest:ba([I0(),og(t)],{maxRetries:t.maxRetries??3}).sendRequest}}o(ag,"defaultRetryPolicy");var IY=typeof window<"u"&&typeof window.document<"u",BY=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),QY=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",xY=typeof Bun<"u"&&typeof Bun.version<"u",wa=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node;var bY=typeof navigator<"u"&&navigator?.product==="ReactNative";var Q0="formDataPolicy";function spe(t){let e={};for(let[r,n]of t.entries())e[r]??=[],e[r].push(n);return e}o(spe,"formDataToFormDataMap");function cg(){return{name:Q0,async sendRequest(t,e){if(wa&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=spe(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=ipe(t.formData):await ope(t.formData,t),t.formData=void 0}return e(t)}}}o(cg,"formDataPolicy");function ipe(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(ipe,"wwwFormUrlEncode");async function ope(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:Gr({"Content-Disposition":`form-data; name="${s}"`}),body:yr(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=Gr();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(ope,"prepareFormData");var AV=Q(jY(),1),uV=Q(oV(),1);var hhe="HTTPS_PROXY",fhe="HTTP_PROXY",ghe="ALL_PROXY",yhe="NO_PROXY",v0="proxyPolicy",aV=[],dV=!1,Ehe=new Map;function yg(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(yg,"getEnvironmentValue");function mV(){if(!process)return;let t=yg(hhe),e=yg(ghe),r=yg(fhe);return t||e||r}o(mV,"loadEnvironmentProxyValue");function Che(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(Che,"isBypassed");function Ihe(){let t=yg(yhe);return dV=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(Ihe,"loadNoProxy");function P0(t){if(!t&&(t=mV(),!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(P0,"getDefaultProxySettings");function Bhe(){let t=mV();return t?new URL(t):void 0}o(Bhe,"getDefaultProxySettingsInternal");function cV(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(cV,"getUrlFromProxySettings");function lV(t,e,r){if(t.agent)return;let s=new URL(t.url).protocol!=="https:";t.tlsSettings&&En.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 uV.HttpProxyAgent(r,{headers:i})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new AV.HttpsProxyAgent(r,{headers:i})),t.agent=e.httpsProxyAgent)}o(lV,"setProxyAgentOnRequest");function Eg(t,e){dV||aV.push(...Ihe());let r=t?cV(t):Bhe(),n={};return{name:v0,async sendRequest(s,i){return!s.proxySettings&&r&&!Che(s.url,e?.customNoProxyList??aV,e?.customNoProxyList?void 0:Ehe)?lV(s,n,r):s.proxySettings&&lV(s,n,cV(s.proxySettings)),i(s)}}}o(Eg,"proxyPolicy");var D0="agentPolicy";function Cg(t){return{name:D0,sendRequest:o(async(e,r)=>(e.agent||(e.agent=t),r(e)),"sendRequest")}}o(Cg,"agentPolicy");var T0="tlsPolicy";function Ig(t){return{name:T0,sendRequest:o(async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e)),"sendRequest")}}o(Ig,"tlsPolicy");function Bg(t){return typeof t.stream=="function"}o(Bg,"isBlob");var Qg=require("stream");async function*pV(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(pV,"streamAsyncIterator");function Qhe(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=pV.bind(t)),t.values||(t.values=pV.bind(t))}o(Qhe,"makeAsyncIterable");function hV(t){return t instanceof ReadableStream?(Qhe(t),Qg.Readable.fromWeb(t)):t}o(hV,"ensureNodeStream");function xhe(t){return t instanceof Uint8Array?Qg.Readable.from(Buffer.from(t)):Bg(t)?hV(t.stream()):hV(t)}o(xhe,"toStream");async function fV(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(xhe);return Qg.Readable.from((async function*(){for(let r of e)for await(let n of r)yield n})())}}o(fV,"concat");function bhe(){return`----AzSDKFormBoundary${Ba()}`}o(bhe,"generateBoundary");function whe(t){let e="";for(let[r,n]of t)e+=`${r}: ${n}\r
|
|
`;return e}o(whe,"encodeHeaders");function Nhe(t){return t instanceof Uint8Array?t.byteLength:Bg(t)?t.size===-1?void 0:t.size:void 0}o(Nhe,"getLength");function She(t){let e=0;for(let r of t){let n=Nhe(r);if(n===void 0)return;e+=n}return e}o(She,"getTotalLength");async function Rhe(t,e,r){let n=[yr(`--${r}`,"utf-8"),...e.flatMap(i=>[yr(`\r
|
|
`,"utf-8"),yr(whe(i.headers),"utf-8"),yr(`\r
|
|
`,"utf-8"),i.body,yr(`\r
|
|
--${r}`,"utf-8")]),yr(`--\r
|
|
\r
|
|
`,"utf-8")],s=She(n);s&&t.headers.set("Content-Length",s),t.body=await fV(n)}o(Rhe,"buildRequestBody");var Bd="multipartPolicy",vhe=70,Phe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function Dhe(t){if(t.length>vhe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!Phe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(Dhe,"assertValidBoundary");function xg(){return{name:Bd,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=bhe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await Rhe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(xg,"multipartPolicy");function bg(){return $f()}o(bg,"createEmptyPipeline");var gV=Yf({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),eOe=gV.logger;function ws(t){return gV.createClientLogger(t)}o(ws,"createClientLogger");var Ns=ws("core-rest-pipeline");function L0(t={}){return eg({logger:Ns.info,...t})}o(L0,"logPolicy");var _0=tg;function F0(t={}){return rg(t)}o(F0,"redirectPolicy");var wg=Q(require("node:os"),1),Ng=Q(require("node:process"),1);function yV(){return"User-Agent"}o(yV,"getHeaderName");async function EV(t){if(Ng.default&&Ng.default.versions){let e=`${wg.default.type()} ${wg.default.release()}; ${wg.default.arch()}`,r=Ng.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(EV,"setPlatformSpecificData");var Sg="1.22.2";function Ohe(t){let e=[];for(let[r,n]of t){let s=n?`${r}/${n}`:r;e.push(s)}return e.join(" ")}o(Ohe,"getUserAgentString");function CV(){return yV()}o(CV,"getUserAgentHeaderName");async function Rg(t){let e=new Map;e.set("core-rest-pipeline",Sg),await EV(e);let r=Ohe(e);return t?`${t} ${r}`:r}o(Rg,"getUserAgentValue");var IV=CV(),BV="userAgentPolicy";function U0(t={}){let e=Rg(t.userAgentPrefix);return{name:BV,async sendRequest(r,n){return r.headers.has(IV)||r.headers.set(IV,await e),n(r)}}}o(U0,"userAgentPolicy");var $r=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function O0(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:s}=e??{};return new Promise((i,a)=>{function c(){a(new $r(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(O0,"createAbortablePromise");var Yhe="The delay was aborted.";function Qd(t,e){let r,{abortSignal:n,abortErrorMsg:s}=e??{};return O0(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:s??Yhe})}o(Qd,"delay");function xo(t){if(Qa(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(xo,"getErrorMessage");function QV(t){return Qa(t)}o(QV,"isError");function Dl(){return Ba()}o(Dl,"randomUUID");var Ie=wa;var xV=Symbol("rawContent");function H0(t){return typeof t[xV]=="function"}o(H0,"hasRawContent");function bV(t){return H0(t)?t[xV]():t}o(bV,"getRawContent");var vg=Bd;function z0(){let t=xg();return{name:vg,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)H0(n.body)&&(n.body=bV(n.body));return t.sendRequest(e,r)},"sendRequest")}}o(z0,"multipartPolicy");var G0=ng;function Y0(){return sg()}o(Y0,"decompressResponsePolicy");function V0(t={}){return ag(t)}o(V0,"defaultRetryPolicy");function J0(){return cg()}o(J0,"formDataPolicy");function bo(t){return P0(t)}o(bo,"getDefaultProxySettings");function $0(t,e){return Eg(t,e)}o($0,"proxyPolicy");var wV="setClientRequestIdPolicy";function W0(t="x-ms-client-request-id"){return{name:wV,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(W0,"setClientRequestIdPolicy");function j0(t){return Cg(t)}o(j0,"agentPolicy");function K0(t){return Ig(t)}o(K0,"tlsPolicy");var Tl={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function NV(t={}){let e=new X0(t.parentContext);return t.span&&(e=e.setValue(Tl.span,t.span)),t.namespace&&(e=e.setValue(Tl.namespace,t.namespace)),e}o(NV,"createTracingContext");var X0=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 RV=Q(SV(),1),Dg=RV.state;function Vhe(){return{end:o(()=>{},"end"),isRecording:o(()=>!1,"isRecording"),recordException:o(()=>{},"recordException"),setAttribute:o(()=>{},"setAttribute"),setStatus:o(()=>{},"setStatus"),addEvent:o(()=>{},"addEvent")}}o(Vhe,"createDefaultTracingSpan");function Jhe(){return{createRequestHeaders:o(()=>({}),"createRequestHeaders"),parseTraceparentHeader:o(()=>{},"parseTraceparentHeader"),startSpan:o((t,e)=>({span:Vhe(),tracingContext:NV({parentContext:e.tracingContext})}),"startSpan"),withContext(t,e,...r){return e(...r)}}}o(Jhe,"createDefaultInstrumenter");function xd(){return Dg.instrumenterImplementation||(Dg.instrumenterImplementation=Jhe()),Dg.instrumenterImplementation}o(xd,"getInstrumenter");function bd(t){let{namespace:e,packageName:r,packageVersion:n}=t;function s(A,u,d){let m=xd().startSpan(A,{...d,packageName:r,packageVersion:n,tracingContext:u?.tracingOptions?.tracingContext}),p=m.tracingContext,h=m.span;p.getValue(Tl.namespace)||(p=p.setValue(Tl.namespace,e)),h.setAttribute("az.namespace",p.getValue(Tl.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 xd().withContext(A,u,...d)}o(a,"withContext");function c(A){return xd().parseTraceparentHeader(A)}o(c,"parseTraceparentHeader");function l(A){return xd().createRequestHeaders(A)}return o(l,"createRequestHeaders"),{startSpan:s,withSpan:i,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o(bd,"createTracingClient");var Ni=sr;function Sa(t){return Wf(t)}o(Sa,"isRestError");var vV="tracingPolicy";function Z0(t={}){let e=Rg(t.userAgentPrefix),r=new Jn({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),n=$he();return{name:vV,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}=Whe(n,s,c)??{};if(!l||!A)return i(s);try{let u=await n.withContext(A,i,s);return Khe(l,u),u}catch(u){throw jhe(l,u),u}}}}o(Z0,"tracingPolicy");function $he(){try{return bd({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:Sg})}catch(t){Ns.warning(`Error when creating the TracingClient: ${xo(t)}`);return}}o($he,"tryCreateTracingClient");function Whe(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){Ns.warning(`Skipping creating a tracing span due to an error: ${xo(n)}`);return}}o(Whe,"tryCreateSpan");function jhe(t,e){try{t.setStatus({status:"error",error:QV(e)?e:void 0}),Sa(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){Ns.warning(`Skipping tracing span processing due to an error: ${xo(r)}`)}}o(jhe,"tryProcessError");function Khe(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){Ns.warning(`Skipping tracing span processing due to an error: ${xo(r)}`)}}o(Khe,"tryProcessResponse");function Tg(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(Tg,"wrapAbortSignalLike");var Xhe="wrapAbortSignalLikePolicy";function PV(){return{name:Xhe,sendRequest:o(async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:n}=Tg(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}},"sendRequest")}}o(PV,"wrapAbortSignalLikePolicy");function ew(t){let e=bg();return Ie&&(t.agent&&e.addPolicy(j0(t.agent)),t.tlsOptions&&e.addPolicy(K0(t.tlsOptions)),e.addPolicy($0(t.proxyOptions)),e.addPolicy(Y0())),e.addPolicy(PV()),e.addPolicy(J0(),{beforePolicies:[vg]}),e.addPolicy(U0(t.userAgentOptions)),e.addPolicy(W0(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(z0(),{afterPhase:"Deserialize"}),e.addPolicy(V0(t.retryOptions),{phase:"Retry"}),e.addPolicy(Z0({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),Ie&&e.addPolicy(F0(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(L0(t.loggingOptions),{afterPhase:"Sign"}),e}o(ew,"createPipelineFromOptions");function wd(){let t=Zf();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?Tg(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}o(wd,"createDefaultHttpClient");function Si(t){return Gr(t)}o(Si,"createHttpHeaders");function Nd(t){return Jf(t)}o(Nd,"createPipelineRequest");var vze=ws("core-rest-pipeline retryPolicy");var Zhe={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function efe(t,e,r){async function n(){if(Date.now()<r)try{return await t()}catch{return null}else{let i=await t();if(i===null)throw new Error("Failed to refresh access token.");return i}}o(n,"tryGetAccessToken");let s=await n();for(;s===null;)await Qd(e),s=await n();return s}o(efe,"beginRefresh");function tw(t,e){let r=null,n=null,s,i={...Zhe,...e},a={get isRefreshing(){return r!==null},get shouldRefresh(){return a.isRefreshing?!1:n?.refreshAfterTimestamp&&n.refreshAfterTimestamp<Date.now()?!0:(n?.expiresOnTimestamp??0)-i.refreshWindowInMs<Date.now()},get mustRefresh(){return n===null||n.expiresOnTimestamp-i.forcedRefreshWindowInMs<Date.now()}};function c(l,A){return a.isRefreshing||(r=efe(o(()=>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(tw,"createTokenCycler");var MV="bearerTokenAuthenticationPolicy";async function kg(t,e){try{return[await e(t),void 0]}catch(r){if(Sa(r)&&r.response)return[r.response,r];throw r}}o(kg,"trySendRequest");async function tfe(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(tfe,"defaultAuthorizeRequest");function DV(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(DV,"isChallengeResponse");async function TV(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(TV,"authorizeRequestOnCaeChallenge");function kl(t){let{credential:e,scopes:r,challengeCallbacks:n}=t,s=t.logger||Ns,i={authorizeRequest:n?.authorizeRequest?.bind(n)??tfe,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)},a=e?tw(e):()=>Promise.resolve(null);return{name:MV,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 kg(c,l),DV(A)){let m=kV(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 TV({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:s},p),d&&([A,u]=await kg(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 kg(c,l)),DV(A)&&(m=kV(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 TV({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:s},p),d&&([A,u]=await kg(c,l))}}if(u)throw u;return A}}}o(kl,"bearerTokenAuthenticationPolicy");function rfe(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(rfe,"parseChallenges");function kV(t){return t?rfe(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(kV,"getCaeChallengeClaims");function Wr(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(Wr,"isTokenCredential");var rw="DisableKeepAlivePolicy";function LV(){return{name:rw,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(LV,"createDisableKeepAlivePolicy");function _V(t){return t.getOrderedPolicies().some(e=>e.name===rw)}o(_V,"pipelineContainsDisableKeepAlivePolicy");function nw(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(nw,"encodeByteArray");function sw(t){return Buffer.from(t,"base64")}o(sw,"decodeString");function sfe(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(sfe,"isPrimitiveBody");var ife=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function FV(t){return ife.test(t)}o(FV,"isDuration");var ofe=/^[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 UV(t){return ofe.test(t)}o(UV,"isValidUuid");function afe(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(afe,"handleNullableResponseAndWrappableBody");function iw(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 afe({body:t.parsedBody,headers:r,hasNullableType:s,shouldWrapBody:sfe(t.parsedBody,i)})}o(iw,"flattenResponse");var ow=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&&r<l&&s("InclusiveMinimum",l),A!==void 0&&r.length>A&&s("MaxItems",A),u!==void 0&&r.length>u&&s("MaxLength",u),d!==void 0&&r.length<d&&s("MinItems",d),m!==void 0&&r.length<m&&s("MinLength",m),p!==void 0&&r%p!==0&&s("MultipleOf",p),h){let C=typeof h=="string"?new RegExp(h):h;(typeof r!="string"||r.match(C)===null)&&s("Pattern",h)}f&&r.some((C,y,E)=>E.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=mfe(c,n,r):c.match(/^Enum$/i)!==null?a=pfe(n,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=gfe(c,r,n):c.match(/^ByteArray$/i)!==null?a=hfe(n,r):c.match(/^Base64Url$/i)!==null?a=ffe(n,r):c.match(/^Sequence$/i)!==null?a=yfe(this,e,r,n,!!this.isXML,i):c.match(/^Dictionary$/i)!==null?a=Efe(this,e,r,n,!!this.isXML,i):c.match(/^Composite$/i)!==null&&(a=Ife(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=Qfe(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=dfe(r):c.match(/^ByteArray$/i)!==null?a=sw(r):c.match(/^Base64Url$/i)!==null?a=Afe(r):c.match(/^Sequence$/i)!==null?a=bfe(this,e,r,n,i):c.match(/^Dictionary$/i)!==null&&(a=xfe(this,e,r,n,i))}return e.isConstant&&(a=e.defaultValue),a}};function jr(t={},e=!1){return new ow(t,e)}o(jr,"createSerializer");function cfe(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(cfe,"trimEnd");function lfe(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=nw(t);return cfe(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(lfe,"bufferToBase64Url");function Afe(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,"/"),sw(t)}}o(Afe,"base64UrlToByteArray");function aw(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(aw,"splitSerializeName");function ufe(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(ufe,"dateToUnixTime");function dfe(t){if(t)return new Date(t*1e3)}o(dfe,"unixTimeToDate");function mfe(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"&&UV(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(mfe,"serializeBasicTypes");function pfe(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(pfe,"serializeEnumType");function hfe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=nw(e)}return e}o(hfe,"serializeByteArrayType");function ffe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=lfe(e)}return e}o(ffe,"serializeBase64UrlType");function gfe(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=ufe(e)}else if(t.match(/^TimeSpan$/i)!==null&&!FV(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(gfe,"serializeDateTypes");function yfe(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;l<r.length;l++){let A=t.serialize(a,r[l],n,i);if(s&&a.xmlNamespace){let u=a.xmlNamespacePrefix?`xmlns:${a.xmlNamespacePrefix}`:"xmlns";a.type.name==="Composite"?(c[l]={...A},c[l]["$"]={[u]:a.xmlNamespace}):(c[l]={},c[l][i.xml.xmlCharKey]=A,c[l]["$"]={[u]:a.xmlNamespace})}else c[l]=A}return c}o(yfe,"serializeSequenceType");function Efe(t,e,r,n,s,i){if(typeof r!="object")throw new Error(`${n} must be of type object.`);let a=e.type.value;if(!a||typeof a!="object")throw new Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${n}.`);let c={};for(let l of Object.keys(r)){let A=t.serialize(a,r[l],n,i);c[l]=zV(a,A,s,i)}if(s&&e.xmlNamespace){let l=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns",A=c;return A["$"]={[l]:e.xmlNamespace},A}return c}o(Efe,"serializeDictionaryType");function Cfe(t,e,r){let n=e.type.additionalProperties;return!n&&e.type.className?qV(t,e,r)?.type.additionalProperties:n}o(Cfe,"resolveAdditionalProperties");function qV(t,e,r){let n=e.type.className;if(!n)throw new Error(`Class name for model "${r}" is not provided in the mapper "${JSON.stringify(e,void 0,2)}".`);return t.modelMappers[n]}o(qV,"resolveReferencedMapper");function HV(t,e,r){let n=e.type.modelProperties;if(!n){let s=qV(t,e,r);if(!s)throw new Error(`mapper() cannot be null or undefined for model "${e.type.className}".`);if(n=s?.type.modelProperties,!n)throw new Error(`modelProperties cannot be null or undefined in the mapper "${JSON.stringify(s)}" of type "${e.type.className}" for object "${r}".`)}return n}o(HV,"resolveModelProperties");function Ife(t,e,r,n,s,i){if(Mg(t,e)&&(e=GV(t,e,r,"clientName")),r!=null){let a={},c=HV(t,e,n);for(let A of Object.keys(c)){let u=c[A];if(u.readOnly)continue;let d,m=a;if(t.isXML)u.xmlIsWrapped?d=u.xmlName:d=u.xmlElementName||u.xmlName;else{let p=aw(u.serializedName);d=p.pop();for(let h of p){let f=m[h];f==null&&(r[A]!==void 0&&r[A]!==null||u.defaultValue!==void 0)&&(m[h]={}),m=m[h]}}if(m!=null){if(s&&e.xmlNamespace){let y=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns";m["$"]={...m["$"],[y]:e.xmlNamespace}}let p=u.serializedName!==""?n+"."+u.serializedName:n,h=r[A],f=Mg(t,e);f&&f.clientName===A&&h==null&&(h=e.serializedName);let C=t.serialize(u,h,p,i);if(C!==void 0&&d!==void 0&&d!==null){let y=zV(u,C,s,i);s&&u.xmlIsAttribute?(m["$"]=m["$"]||{},m["$"][d]=C):s&&u.xmlIsWrapped?m[d]={[u.xmlElementName]:y}:m[d]=y}}}let l=Cfe(t,e,n);if(l){let A=Object.keys(c);for(let u in r)A.every(m=>m!==u)&&(a[u]=t.serialize(l,r[u],n+'["'+u+'"]',i))}return a}return r}o(Ife,"serializeCompositeType");function zV(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(zV,"getXmlObjectValue");function Bfe(t,e){return["$",e.xml.xmlCharKey].includes(t)}o(Bfe,"isSpecialXmlProperty");function Qfe(t,e,r,n,s){let i=s.xml.xmlCharKey??"_";Mg(t,e)&&(e=GV(t,e,r,"serializedName"));let a=HV(t,e,n),c={},l=[];for(let u of Object.keys(a)){let d=a[u],m=aw(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 S of m){if(!I)break;B++,I=I[S]}I===null&&B<m.length&&(I=void 0),E=I;let N=e.type.polymorphicDiscriminator;N&&u===N.clientName&&E==null&&(E=e.serializedName);let k;if(Array.isArray(r[u])&&a[u].serializedName===""){E=r[u];let S=t.deserialize(d,E,C,s);for(let[de,ye]of Object.entries(c))Object.prototype.hasOwnProperty.call(S,de)||(S[de]=ye);c=S}else(E!==void 0||d.defaultValue!==void 0)&&(k=t.deserialize(d,E,C,s),c[u]=k)}}let A=e.type.additionalProperties;if(A){let u=o(d=>{for(let m in a)if(aw(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)&&!Bfe(u,s)&&(c[u]=r[u]);return c}o(Qfe,"deserializeCompositeType");function xfe(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(xfe,"deserializeDictionaryType");function bfe(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;c<r.length;c++)a[c]=t.deserialize(i,r[c],`${n}[${c}]`,s);return a}return r}o(bfe,"deserializeSequenceType");function wfe(t,e,r){let n=[r];for(;n.length;){let s=n.shift(),i=e===s?e:s+"."+e;if(Object.prototype.hasOwnProperty.call(t,i))return t[i];for(let[a,c]of Object.entries(t))a.startsWith(s+".")&&c.type.uberParent===s&&c.type.className&&n.push(c.type.className)}}o(wfe,"getIndexDiscriminator");function GV(t,e,r,n){let s=Mg(t,e);if(s){let i=s[n];if(i){n==="serializedName"&&(i=i.replace(/\\/gi,""));let a=r[i],c=e.type.uberParent??e.type.className;if(typeof a=="string"&&c){let l=wfe(t.modelMappers.discriminators,a,c);l&&(e=l)}}}return e}o(GV,"getPolymorphicMapper");function Mg(t,e){return e.type.polymorphicDiscriminator||OV(t,e.type.uberParent)||OV(t,e.type.className)}o(Mg,"getPolymorphicDiscriminatorRecursively");function OV(t,e){return e&&t.modelMappers[e]&&t.modelMappers[e].type.polymorphicDiscriminator}o(OV,"getPolymorphicDiscriminatorSafely");var Ss={Base64Url:"Base64Url",Boolean:"Boolean",ByteArray:"ByteArray",Composite:"Composite",Date:"Date",DateTime:"DateTime",DateTimeRfc1123:"DateTimeRfc1123",Dictionary:"Dictionary",Enum:"Enum",Number:"Number",Object:"Object",Sequence:"Sequence",String:"String",Stream:"Stream",TimeSpan:"TimeSpan",UnixTime:"UnixTime"};var VV=Q(YV(),1),cw=VV.state;function No(t,e,r){let n=e.parameterPath,s=e.mapper,i;if(typeof n=="string"&&(n=[n]),Array.isArray(n)){if(n.length>0)if(s.isConstant)i=s.defaultValue;else{let a=JV(t,n);!a.propertyFound&&r&&(a=JV(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=No(t,{parameterPath:l,mapper:c},r);A!==void 0&&(i||(i={}),i[a]=A)}}return i}o(No,"getOperationArgumentValueFromParameter");function JV(t,e){let r={propertyFound:!1},n=0;for(;n<e.length;++n){let s=e[n];if(t&&s in t)t=t[s];else break}return n===e.length&&(r.propertyValue=t,r.propertyFound=!0),r}o(JV,"getPropertyFromParameterPath");var $V=Symbol.for("@azure/core-client original request");function Nfe(t){return $V in t}o(Nfe,"hasOriginalRequest");function Ri(t){if(Nfe(t))return Ri(t[$V]);let e=cw.operationRequestMap.get(t);return e||(e={},cw.operationRequestMap.set(t,e)),e}o(Ri,"getOperationRequestInfo");var Sfe=["application/json","text/json"],Rfe=["application/xml","application/atom+xml"],WV="deserializationPolicy";function lw(t={}){let e=t.expectedContentTypes?.json??Sfe,r=t.expectedContentTypes?.xml??Rfe,n=t.parseXML,s=t.serializerOptions,i={xml:{rootName:s?.xml.rootName??"",includeRoot:s?.xml.includeRoot??!1,xmlCharKey:s?.xml.xmlCharKey??"_"}};return{name:WV,async sendRequest(a,c){let l=await c(a);return Dfe(e,r,l,i,n)}}}o(lw,"deserializationPolicy");function vfe(t){let e,r=t.request,n=Ri(r),s=n?.operationSpec;return s&&(n?.operationResponseGetter?e=n?.operationResponseGetter(s,t):e=s.responses[t.status]),e}o(vfe,"getOperationResponseMap");function Pfe(t){let e=t.request,n=Ri(e)?.shouldDeserialize,s;return n===void 0?s=!0:typeof n=="boolean"?s=n:s=n(t),s}o(Pfe,"shouldDeserializeResponse");async function Dfe(t,e,r,n,s){let i=await Mfe(t,e,r,n,s);if(!Pfe(i))return i;let c=Ri(i.request)?.operationSpec;if(!c||!c.responses)return i;let l=vfe(i),{error:A,shouldReturnResponse:u}=kfe(i,c,l,n);if(A)throw A;if(u)return i;if(l){if(l.bodyMapper){let d=i.parsedBody;c.isXML&&l.bodyMapper.type.name===Ss.Sequence&&(d=typeof d=="object"?d[l.bodyMapper.xmlElementName]:[]);try{i.parsedBody=c.serializer.deserialize(l.bodyMapper,d,"operationRes.parsedBody",n)}catch(m){throw new Ni(`Error ${m} occurred in deserializing the responseBody - ${i.bodyAsText}`,{statusCode:i.status,request:i.request,response:i})}}else c.httpMethod==="HEAD"&&(i.parsedBody=r.status>=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 Tfe(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(Tfe,"isOperationSpecEmpty");function kfe(t,e,r,n){let s=200<=t.status&&t.status<300;if(Tfe(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 Ni(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===Ss.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(kfe,"handleErrorResponse");async function Mfe(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||Ni.PARSE_ERROR;throw new Ni(A,{code:u,statusCode:r.status,request:r.request,response:r})}}return r}o(Mfe,"parse");function jV(t){let e=new Set;for(let r in t.responses){let n=t.responses[r];n.bodyMapper&&n.bodyMapper.type.name===Ss.Stream&&e.add(Number(r))}return e}o(jV,"getStreamingResponseStatusCodes");function Rs(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(Rs,"getPathStringFromParameter");var KV="serializationPolicy";function _g(t={}){let e=t.stringifyXML;return{name:KV,async sendRequest(r,n){let s=Ri(r),i=s?.operationSpec,a=s?.operationArguments;return i&&a&&(Lfe(r,a,i),_fe(r,a,i,e)),n(r)}}}o(_g,"serializationPolicy");function Lfe(t,e,r){if(r.headerParameters)for(let s of r.headerParameters){let i=No(e,s);if(i!=null||s.mapper.required){i=r.serializer.serialize(s.mapper,i,Rs(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||Rs(s),i)}}let n=e.options?.requestOptions?.customHeaders;if(n)for(let s of Object.keys(n))t.headers.set(s,n[s])}o(Lfe,"serializeHeaders");function _fe(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=No(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=Rs(r.requestBody);t.body=r.serializer.serialize(c,t.body,C,i);let y=f===Ss.Stream;if(r.isXML){let E=p?`xmlns:${p}`:"xmlns",I=Ffe(m,E,f,t.body,i);f===Ss.Sequence?t.body=n(Ufe(I,d||u||A,E,m),{rootName:u||A,xmlCharKey:a}):y||(t.body=n(I,{rootName:u||A,xmlCharKey:a}))}else{if(f===Ss.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=No(e,c);if(l!=null){let A=c.mapper.serializedName||Rs(c);t.formData[A]=r.serializer.serialize(c.mapper,l,Rs(c),i)}}}}o(_fe,"serializeRequestBody");function Ffe(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(Ffe,"getXmlValueWithNamespace");function Ufe(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(Ufe,"prepareXMLRootList");function Sd(t={}){let e=ew(t??{});return t.credentialOptions&&e.addPolicy(kl({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(_g(t.serializationOptions),{phase:"Serialize"}),e.addPolicy(lw(t.deserializationOptions),{phase:"Deserialize"}),e}o(Sd,"createClientPipeline");var Aw;function XV(){return Aw||(Aw=wd()),Aw}o(XV,"getCachedDefaultHttpClient");var Ofe={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function eJ(t,e,r,n){let s=qfe(e,r,n),i=!1,a=ZV(t,s);if(e.path){let A=ZV(e.path,s);e.path==="/{nextLink}"&&A.startsWith("/")&&(A=A.substring(1)),Hfe(A)?(a=A,i=!0):a=zfe(a,A)}let{queryParams:c,sequenceParams:l}=Gfe(e,r,n);return a=Vfe(a,c,l,i),a}o(eJ,"getRequestUrl");function ZV(t,e){let r=t;for(let[n,s]of e)r=r.split(n).join(s);return r}o(ZV,"replaceAll");function qfe(t,e,r){let n=new Map;if(t.urlParameters?.length)for(let s of t.urlParameters){let i=No(e,s,r),a=Rs(s);i=t.serializer.serialize(s.mapper,i,a),s.skipEncoding||(i=encodeURIComponent(i)),n.set(`{${s.mapper.serializedName||a}}`,i)}return n}o(qfe,"calculateUrlReplacements");function Hfe(t){return t.includes("://")}o(Hfe,"isAbsoluteUrl");function zfe(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(zfe,"appendPath");function Gfe(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=No(e,i,r);if(a!=null||i.mapper.required){a=t.serializer.serialize(i.mapper,a,Rs(i));let c=i.collectionFormat?Ofe[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||Rs(i),a)}}return{queryParams:n,sequenceParams:s}}o(Gfe,"calculateQueryParameters");function Yfe(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(Yfe,"simpleParseQueryParams");function Vfe(t,e,r,n=!1){if(e.size===0)return t;let s=new URL(t),i=Yfe(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(Vfe,"appendQueryParams");var uw=ws("core-client");var Rd=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&&uw.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||XV(),this.pipeline=e.pipeline||Jfe(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=eJ(n,r,e,this),i=Nd({url:s});i.method=r.httpMethod;let a=Ri(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=jV(r));try{let A=await this.sendRequest(i),u=iw(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=iw(u,r.responses[A.statusCode]||r.responses.default);A.details=d,l?.onResponse&&l.onResponse(u,d,A)}throw A}}};function Jfe(t){let e=$fe(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return Sd({...t,credentialOptions:r})}o(Jfe,"createDefaultPipeline");function $fe(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($fe,"getCredentialScopes");var tJ={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function Wfe(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(Wfe,"isUuid");var Fg=o(async t=>{let e=ege(t.request),r=Xfe(t.response);if(r){let n=Zfe(r),s=Kfe(t,n),i=jfe(n);if(!i)return!1;let a=await t.getAccessToken(s,{...e,tenantId:i});return a?(t.request.headers.set(tJ.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");function jfe(t){let n=new URL(t.authorization_uri).pathname.split("/")[1];if(n&&Wfe(n))return n}o(jfe,"extractTenantId");function Kfe(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=tJ.DefaultScope;let n=r.toString();return n==="https://disk.azure.com/.default"&&(n="https://disk.azure.com//.default"),[n]}o(Kfe,"buildScopes");function Xfe(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(Xfe,"getChallenge");function Zfe(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(Zfe,"parseChallenge");function ege(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(ege,"requestToOptions");var rJ=Symbol("Original PipelineRequest"),tge=Symbol.for("@azure/core-client original request");function Pd(t,e={}){let n=t[rJ],s=Si(t.headers.toJson({preserveCase:!0}));if(n)return n.headers=s,n;{let i=Nd({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[tge]=e.originalRequest),i}}o(Pd,"toPipelineRequest");function Ra(t,e){let r=e?.originalRequest??t,n={url:t.url,method:t.method,headers:Dd(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===rJ?t:i==="clone"?()=>Ra(Pd(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(Ra,"toWebResourceLike");function Dd(t){return new dw(t.toJSON({preserveCase:!0}))}o(Dd,"toHttpHeadersLike");function vd(t){return t.toLowerCase()}o(vd,"getHeaderKey");var dw=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[vd(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[vd(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[vd(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[vd(e)],r}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let r in this._headersMap)e.push(this._headersMap[r]);return e}headerNames(){let e=[],r=this.headersArray();for(let n=0;n<r.length;++n)e.push(r[n].name);return e}headerValues(){let e=[],r=this.headersArray();for(let n=0;n<r.length;++n)e.push(r[n].value);return e}toJson(e={}){let r={};if(e.preserveCase)for(let n in this._headersMap){let s=this._headersMap[n];r[s.name]=s.value}else for(let n in this._headersMap){let s=this._headersMap[n];r[vd(s.name)]=s.value}return r}toString(){return JSON.stringify(this.toJson({preserveCase:!0}))}clone(){let e={};for(let r in this._headersMap){let n=this._headersMap[r];e[n.name]=n.value}return new t(e)}};var nJ=Symbol("Original FullOperationResponse");function Ug(t,e){let r=Ra(t.request),n=Dd(t.headers);return e?.createProxy?new Proxy(t,{get(s,i,a){return i==="headers"?n:i==="request"?r:i===nJ?t:Reflect.get(s,i,a)},set(s,i,a,c){return i==="headers"?n=a:i==="request"&&(r=a),Reflect.set(s,i,a,c)}}):{...t,request:r,headers:n}}o(Ug,"toCompatResponse");function Og(t){let r=t[nJ],n=Si(t.headers.toJson({preserveCase:!0}));return r?(r.headers=n,r):{...t,headers:n,request:Pd(t.request)}}o(Og,"toPipelineResponse");var Td=class extends Rd{static{o(this,"ExtendedServiceClient")}constructor(e){super(e),e.keepAliveOptions?.enable===!1&&!_V(this.pipeline)&&this.pipeline.addPolicy(LV()),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:_0})}async sendOperationRequest(e,r){let n=e?.options?.onResponse,s;function i(c,l,A){s=c,n&&n(c,l,A)}o(i,"onResponse"),e.options={...e.options,onResponse:i};let a=await super.sendOperationRequest(e,r);return s&&Object.defineProperty(a,"_response",{value:Ug(s)}),a}};var mw;(function(t){t[t.ERROR=1]="ERROR",t[t.INFO=3]="INFO",t[t.OFF=0]="OFF",t[t.WARNING=2]="WARNING"})(mw||(mw={}));var rge={log(t,e){},shouldLog(t){return!1}},sJ="RequestPolicyFactoryPolicy";function pw(t){let e=t.slice().reverse();return{name:sJ,async sendRequest(r,n){let s={async sendRequest(c){let l=await n(Pd(c));return Ug(l,{createProxy:!0})}};for(let c of e)s=c.create(s,rge);let i=Ra(r,{createProxy:!0}),a=await s.sendRequest(i);return Og(a)}}}o(pw,"createRequestPolicyFactoryPolicy");function hw(t){return{sendRequest:o(async e=>{let r=await t.sendRequest(Ra(e,{createProxy:!0}));return Og(r)},"sendRequest")}}o(hw,"convertHttpClient");var iJ=":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",sge=iJ+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ige="["+iJ+"]["+sge+"]*",oge=new RegExp("^"+ige+"$");function oJ(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<i;a++)s.push(n[a]);r.push(s),n=e.exec(t)}return r}o(oJ,"getAllMatches");var fw=o(function(t){let e=oge.exec(t);return!(e===null||typeof e>"u")},"isName");function aJ(t){return typeof t<"u"}o(aJ,"isExist");var kd=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],qg=["__proto__","constructor","prototype"];var age={allowBooleanAttributes:!1,unpairedTags:[]};function Hg(t,e){e=Object.assign({},age,e);let r=[],n=!1,s=!1;t[0]==="\uFEFF"&&(t=t.substr(1));for(let i=0;i<t.length;i++)if(t[i]==="<"&&t[i+1]==="?"){if(i+=2,i=cJ(t,i),i.err)return i}else if(t[i]==="<"){let a=i;if(i++,t[i]==="!"){i=lJ(t,i);continue}else{let c=!1;t[i]==="/"&&(c=!0,i++);let l="";for(;i<t.length&&t[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--),!hge(l)){let d;return l.trim().length===0?d="Invalid space after '<'.":d="Tag '"+l+"' is an invalid name.",at("InvalidTag",d,ir(t,i))}let A=Age(t,i);if(A===!1)return at("InvalidAttr","Attributes for '"+l+"' have open quote.",ir(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=AJ(u,e);if(m===!0)n=!0;else return at(m.err.code,m.err.msg,ir(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.",ir(t,a));if(r.length===0)return at("InvalidTag","Closing tag '"+l+"' has not been opened.",ir(t,a));{let d=r.pop();if(l!==d.tagName){let m=ir(t,d.tagStartPos);return at("InvalidTag","Expected closing tag '"+d.tagName+"' (opened in line "+m.line+", col "+m.col+") instead of closing tag '"+l+"'.",ir(t,a))}r.length==0&&(s=!0)}}else return at("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",ir(t,i));else{let d=AJ(u,e);if(d!==!0)return at(d.err.code,d.err.msg,ir(t,i-u.length+d.err.line));if(s===!0)return at("InvalidXml","Multiple possible root nodes found.",ir(t,i));e.unpairedTags.indexOf(l)!==-1||r.push({tagName:l,tagStartPos:a}),n=!0}for(i++;i<t.length;i++)if(t[i]==="<")if(t[i+1]==="!"){i++,i=lJ(t,i);continue}else if(t[i+1]==="?"){if(i=cJ(t,++i),i.err)return i}else break;else if(t[i]==="&"){let d=mge(t,i);if(d==-1)return at("InvalidChar","char '&' is not expected.",ir(t,i));i=d}else if(s===!0&&!Ll(t[i]))return at("InvalidXml","Extra text at the end",ir(t,i));t[i]==="<"&&i--}}else{if(Ll(t[i]))continue;return at("InvalidChar","char '"+t[i]+"' is not expected.",ir(t,i))}if(n){if(r.length==1)return at("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",ir(t,r[0].tagStartPos));if(r.length>0)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(Hg,"validate");function Ll(t){return t===" "||t===" "||t===`
|
|
`||t==="\r"}o(Ll,"isWhiteSpace");function cJ(t,e){let r=e;for(;e<t.length;e++)if(t[e]=="?"||t[e]==" "){let n=t.substr(r,e-r);if(e>5&&n==="xml")return at("InvalidXml","XML declaration allowed only at the start of the document.",ir(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}o(cJ,"readPI");function lJ(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e<t.length;e++)if(t[e]==="-"&&t[e+1]==="-"&&t[e+2]===">"){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<t.length;e++)if(t[e]==="<")r++;else if(t[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<t.length;e++)if(t[e]==="]"&&t[e+1]==="]"&&t[e+2]===">"){e+=2;break}}return e}o(lJ,"readCommentAndCDATA");var cge='"',lge="'";function Age(t,e){let r="",n="",s=!1;for(;e<t.length;e++){if(t[e]===cge||t[e]===lge)n===""?n=t[e]:n!==t[e]||(n="");else if(t[e]===">"&&n===""){s=!0;break}r+=t[e]}return n!==""?!1:{value:r,index:e,tagClosed:s}}o(Age,"readAttributeStr");function uge(t){let e=[],r=t.length,n=0;for(;n<r;){let s=n;for(;n<r&&Ll(t[n]);)n++;if(n>=r)break;if(t[n]==="="){n++;continue}let i=t.slice(s,n),a=n;for(;n<r&&!Ll(t[n])&&t[n]!=="=";)n++;let c=t.slice(a,n),l,A=n;for(;A<r&&Ll(t[A]);)A++;A<r&&t[A]==="="&&(l=t.slice(n,A+1),n=A+1);let u,d,m=n;for(;m<r&&Ll(t[m]);)m++;if(m<r&&(t[m]==='"'||t[m]==="'")){let h=m+1,f=t.indexOf(t[m],h);f!==-1&&(u=t[m],d=t.slice(h,f),n=f+1)}let p={startIndex:s};p[1]=i,p[2]=c,p[3]=l,p[4]=u!==void 0?!0:void 0,p[5]=u,p[6]=d,e.push(p)}return e}o(uge,"scanAttributeTokens");function AJ(t,e){let r=uge(t),n={};for(let s=0;s<r.length;s++){if(r[s][1].length===0)return at("InvalidAttr","Attribute '"+r[s][2]+"' has no space in starting.",Md(r[s]));if(r[s][3]!==void 0&&r[s][4]===void 0)return at("InvalidAttr","Attribute '"+r[s][2]+"' is without value.",Md(r[s]));if(r[s][3]===void 0&&!e.allowBooleanAttributes)return at("InvalidAttr","boolean attribute '"+r[s][2]+"' is not allowed.",Md(r[s]));let i=r[s][2];if(!pge(i))return at("InvalidAttr","Attribute '"+i+"' is an invalid name.",Md(r[s]));if(!Object.prototype.hasOwnProperty.call(n,i))n[i]=1;else return at("InvalidAttr","Attribute '"+i+"' is repeated.",Md(r[s]))}return!0}o(AJ,"validateAttributeString");function dge(t,e){let r=/\d/;for(t[e]==="x"&&(e++,r=/[\da-fA-F]/);e<t.length;e++){if(t[e]===";")return e;if(!t[e].match(r))break}return-1}o(dge,"validateNumberAmpersand");function mge(t,e){if(e++,t[e]===";")return-1;if(t[e]==="#")return e++,dge(t,e);let r=0;for(;e<t.length;e++,r++)if(!(t[e].match(/\w/)&&r<20)){if(t[e]===";")break;return-1}return e}o(mge,"validateAmpersand");function at(t,e,r){return{err:{code:t,msg:e,line:r.line||r,col:r.col}}}o(at,"getErrorObject");function pge(t){return fw(t)}o(pge,"validateAttrName");function hge(t){return fw(t)}o(hge,"validateTagName");function ir(t,e){let r=t.substring(0,e).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}o(ir,"getLineNumberForPosition");function Md(t){return t.startIndex+t[1].length}o(Md,"getPositionFromMatch");var gw={cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",euro:"\u20AC",dollar:"$",fnof:"\u0192",inr:"\u20B9",af:"\u060B",birr:"\u1265\u122D",peso:"\u20B1",rub:"\u20BD",won:"\u20A9",yuan:"\xA5",cedil:"\xB8"};var Ld={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},yw={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 _l=Object.freeze({ALLOW:"allow",BLOCK:"block",THROW:"throw"}),fge=new Set("!?\\\\/[]$%{}^&*()<>|+");function uJ(t){if(t[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${t}"`);for(let e of t)if(fge.has(e))throw new Error(`[EntityReplacer] Invalid character '${e}' in entity name: "${t}"`);return t}o(uJ,"validateEntityName");function _d(...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(_d,"mergeEntityMaps");var va="external",zg="base",Ew="all";function gge(t){return!t||t===va?new Set([va]):t===Ew?new Set([Ew]):t===zg?new Set([zg]):Array.isArray(t)?new Set(t):new Set([va])}o(gge,"parseLimitTiers");var Ir=Object.freeze({allow:0,leave:1,remove:2,throw:3}),yge=new Set([9,10,13]);function Ege(t){if(!t)return{xmlVersion:1,onLevel:Ir.allow,nullLevel:Ir.remove};let e=t.xmlVersion===1.1?1.1:1,r=Ir[t.onNCR]??Ir.allow,n=Ir[t.nullNCR]??Ir.remove,s=Math.max(n,Ir.remove);return{xmlVersion:e,onLevel:r,nullLevel:s}}o(Ege,"parseNCRConfig");var Fl=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=gge(this._limit.applyLimitsTo??va),this._numericAllowed=e.numericAllowed??!0,this._baseMap=_d(Ld,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,this._onExternalEntity=typeof e.onExternalEntity=="function"?e.onExternalEntity:null,this._onInputEntity=typeof e.onInputEntity=="function"?e.onInputEntity:null}_applyRegistrationHook(e,r,n,s){if(!e)return!0;let i=e(r,n);if(i===_l.BLOCK)return!1;if(i===_l.THROW)throw new Error(`[EntityDecoder] Registration of ${s} entity "&${r};" was rejected by hook`);return!0}setExternalEntities(e){if(e)for(let s of Object.keys(e))uJ(s);if(!this._onExternalEntity){this._externalMap=_d(e);return}let r=_d(e),n=Object.create(null);for(let[s,i]of Object.entries(r))this._applyRegistrationHook(this._onExternalEntity,s,i,"external")&&(n[s]=i);this._externalMap=n}addExternalEntity(e,r){uJ(e),typeof r=="string"&&r.indexOf("&")===-1&&this._applyRegistrationHook(this._onExternalEntity,e,r,"external")&&(this._externalMap[e]=r)}addInputEntities(e){if(this._totalExpansions=0,this._expandedLength=0,!this._onInputEntity){this._inputMap=_d(e);return}let r=_d(e),n=Object.create(null);for(let[s,i]of Object.entries(r))this._applyRegistrationHook(this._onInputEntity,s,i,"input")&&(n[s]=i);this._inputMap=n}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||e.indexOf("&")===-1)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;){if(e.charCodeAt(a)!==38){a++;continue}let d=a+1;for(;d<s&&e.charCodeAt(d)!==59&&d-a<=32;)d++;if(d>=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=va);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=zg}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<s&&n.push(e.slice(i));let u=n.length===0?e:n.join("");return this._postCheck(u,r)}_tierCounts(e){return this._limitTiers.has(Ew)?!0:this._limitTiers.has(e)}_resolveName(e){if(e in this._inputMap)return{value:this._inputMap[e],tier:va};if(e in this._externalMap)return{value:this._externalMap[e],tier:va};if(e in this._baseMap)return{value:this._baseMap[e],tier:zg}}_classifyNCR(e){return e===0?this._ncrNullLevel:e>=55296&&e<=57343||this._ncrXmlVersion===1&&e>=1&&e<=31&&!yge.has(e)?Ir.remove:-1}_applyNCRAction(e,r,n){switch(e){case Ir.allow:return String.fromCodePoint(n);case Ir.remove:return"";case Ir.leave:return;case Ir.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&&s<Ir.remove)return;let i=s===-1?this._ncrOnLevel:Math.max(this._ncrOnLevel,s);return this._applyNCRAction(i,e,n)}};var dJ=o(t=>kd.includes(t)?"__"+t:t,"defaultOnDangerousProperty"),Cge={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,unicode:!1},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:dJ};function Ige(t,e){if(typeof t!="string")return;let r=t.toLowerCase();if(kd.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(qg.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}o(Ige,"validatePropertyName");function mJ(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"}:mJ(!0)}o(mJ,"normalizeProcessEntities");var pJ=o(function(t){let e=Object.assign({},Cge,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&&Ige(n,s);return e.onDangerousProperty===null&&(e.onDangerousProperty=dJ),e.processEntities=mJ(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 Pa;typeof Symbol!="function"?Pa="@@xmlMetadata":Pa=Symbol("XML Node Metadata");var Br=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}),this.addStartIndex(r)}addStartIndex(e){e!==void 0&&(this.child[this.child.length-1][Pa]={startIndex:e})}addEndIndex(e){let r=this.child[this.child.length-1];r!==void 0&&r[Pa]!==void 0&&r[Pa].endIndex===void 0&&(r[Pa].endIndex=e)}static getMetaDataSymbol(){return Pa}};var fJ=":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",Bge=fJ+"\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040",gJ=":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}",Qge=gJ+"\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040",xge="\\x20\\x09\\x0D\\x0A",Cw=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}]+(?:[${xge}]+[${e}]+)*$`,r)}},"buildRegexes"),bge=Cw(fJ,Bge),wge=Cw(gJ,Qge,"u"),yJ=":A-Za-z_",Nge=yJ+"\\-\\.\\d",Sge=Cw(yJ,Nge),EJ=o((t="1.0",e=!1)=>e?Sge:t==="1.1"?wge:bge,"getRegexes");var Iw=o((t,{xmlVersion:e="1.0",asciiOnly:r=!1}={})=>typeof t=="string"&&EJ(e,r).qName.test(t),"qName");var hJ=["name","ncName","qName","nmToken","nmTokens"],Rge=256,Gg=o((t,{xmlVersion:e="1.0",asciiOnly:r=!1,maxCacheSize:n=2048}={})=>{if(!hJ.includes(t))throw new TypeError(`Unknown production "${t}". Must be one of: ${hJ.join(", ")}`);let s=EJ(e,r)[t],i=new Map,a=o(c=>{if(typeof c!="string")return!1;let l=i.get(c);if(l!==void 0)return l;let A=s.test(c);return i.size<n&&c.length<=Rge&&i.set(c,A),A},"validator");return a.reset=()=>{i=new Map},a},"createValidator");var Ud=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=null,A="";for(;r<e.length;r++){if(l!==null){e[r]===l&&(l=null),A+=e[r];continue}if(!a&&!c&&(e[r]==='"'||e[r]==="'")){l=e[r],A+=e[r];continue}if(e[r]==="<"&&!c){if(a&&Da(e,"!ENTITY",r)){r+=7;let u,d;if([u,d,r]=this.readEntityExp(e,r+1,this.suppressValidationErr),d.indexOf("&")===-1){if(this.options.enabled!==!1&&this.options.maxEntityCount!=null&&s>=this.options.maxEntityCount)throw new Error(`Entity count (${s+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);n[u]=d,s++}}else if(a&&Da(e,"!ELEMENT",r)){r+=8;let{index:u}=this.readElementExp(e,r+1);r=u}else if(a&&Da(e,"!ATTLIST",r))r+=8;else if(a&&Da(e,"!NOTATION",r)){r+=9;let{index:u}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=u}else if(Da(e,"!--",r))c=!0;else throw new Error("Invalid DOCTYPE");i++,A=""}else if(e[r]===">"){if(c?e[r-1]==="-"&&e[r-2]==="-"&&(c=!1,i--):i--,i===0)break}else e[r]==="["?a=!0:A+=e[r]}if(l!==null||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=Qr(e,r);let n=r;for(;r<e.length&&!/\s/.test(e[r])&&e[r]!=='"'&&e[r]!=="'";)r++;let s=e.substring(n,r);if(Fd(s,{xmlVersion:this.xmlVersion}),r=Qr(e,r),!this.suppressValidationErr){if(e.substring(r,r+6).toUpperCase()==="SYSTEM")throw new Error("External entities are not supported");if(e[r]==="%")throw new Error("Parameter entities are not supported")}let i="";if([r,i]=this.readIdentifierVal(e,r,"entity"),this.options.enabled!==!1&&this.options.maxEntitySize!=null&&i.length>this.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=Qr(e,r);let n=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;let s=e.substring(n,r);!this.suppressValidationErr&&Fd(s,{xmlVersion:this.xmlVersion}),r=Qr(e,r);let i=e.substring(r,r+6).toUpperCase();if(!this.suppressValidationErr&&i!=="SYSTEM"&&i!=="PUBLIC")throw new Error(`Expected SYSTEM or PUBLIC, found "${i}"`);r+=i.length,r=Qr(e,r);let a=null,c=null;if(i==="PUBLIC")[r,a]=this.readIdentifierVal(e,r,"publicIdentifier"),r=Qr(e,r),(e[r]==='"'||e[r]==="'")&&([r,c]=this.readIdentifierVal(e,r,"systemIdentifier"));else if(i==="SYSTEM"&&([r,c]=this.readIdentifierVal(e,r,"systemIdentifier"),!this.suppressValidationErr&&!c))throw new Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:s,publicIdentifier:a,systemIdentifier:c,index:--r}}readIdentifierVal(e,r,n){let s="",i=e[r];if(i!=='"'&&i!=="'")throw new Error(`Expected quoted string, found "${i}"`);r++;let a=r;for(;r<e.length&&e[r]!==i;)r++;if(s=e.substring(a,r),e[r]!==i)throw new Error(`Unterminated ${n} value`);return r++,[r,s]}readElementExp(e,r){r=Qr(e,r);let n=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;let s=e.substring(n,r);if(!this.suppressValidationErr&&!Iw(s,{xmlVersion:this.xmlVersion}))throw new Error(`Invalid element name: "${s}"`);r=Qr(e,r);let i="";if(e[r]==="E"&&Da(e,"MPTY",r))r+=4;else if(e[r]==="A"&&Da(e,"NY",r))r+=2;else if(e[r]==="("){r++;let a=r;for(;r<e.length&&e[r]!==")";)r++;if(i=e.substring(a,r),e[r]!==")")throw new Error("Unterminated content model")}else if(!this.suppressValidationErr)throw new Error(`Invalid Element Expression, found "${e[r]}"`);return{elementName:s,contentModel:i.trim(),index:r}}readAttlistExp(e,r){r=Qr(e,r);let n=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;let s=e.substring(n,r);for(Fd(s,{xmlVersion:this.xmlVersion}),r=Qr(e,r),n=r;r<e.length&&!/\s/.test(e[r]);)r++;let i=e.substring(n,r);if(!Fd(i,{xmlVersion:this.xmlVersion}))throw new Error(`Invalid attribute name: "${i}"`);r=Qr(e,r);let a="";if(e.substring(r,r+8).toUpperCase()==="NOTATION"){if(a="NOTATION",r+=8,r=Qr(e,r),e[r]!=="(")throw new Error(`Expected '(', found "${e[r]}"`);r++;let l=[];for(;r<e.length&&e[r]!==")";){let A=r;for(;r<e.length&&e[r]!=="|"&&e[r]!==")";)r++;let u=e.substring(A,r);if(u=u.trim(),!Fd(u,{xmlVersion:this.xmlVersion}))throw new Error(`Invalid notation name: "${u}"`);l.push(u),e[r]==="|"&&(r++,r=Qr(e,r))}if(e[r]!==")")throw new Error("Unterminated list of notations");r++,a+=" ("+l.join("|")+")"}else{let l=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;a+=e.substring(l,r);let A=["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"];if(!this.suppressValidationErr&&!A.includes(a.toUpperCase()))throw new Error(`Invalid attribute type: "${a}"`)}r=Qr(e,r);let c="";return e.substring(r,r+8).toUpperCase()==="#REQUIRED"?(c="#REQUIRED",r+=8):e.substring(r,r+7).toUpperCase()==="#IMPLIED"?(c="#IMPLIED",r+=7):[r,c]=this.readIdentifierVal(e,r,"ATTLIST"),{elementName:s,attributeName:i,attributeType:a,defaultValue:c,index:r}}},Qr=o((t,e)=>{for(;e<t.length&&/\s/.test(t[e]);)e++;return e},"skipWhitespace");function Da(t,e,r){for(let n=0;n<e.length;n++)if(e[n]!==t[r+n+1])return!1;return!0}o(Da,"hasSeq");function Fd(t,e){if(Iw(t,{xmlVersion:e}))return t;throw new Error(`Invalid entity name ${t}`)}o(Fd,"validateEntityName");var vge=[48,1632,1776,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,65296,120782,120792,120802,120812,120822,66720,68912,69734,69872,69942,70096,70384,70736,70864,71248,71360,71472,71904,72016,72688,72784,73040,73120,73552,92768,92864,93008,123200,123632,124144,125264,130032],Yg=255,Vg=new Map,CJ=65535,IJ=1632,Ul=IJ,Pge=CJ-IJ+1,Jg=new Uint8Array(Pge).fill(Yg);for(let t of vge)for(let e=0;e<10;e++){let r=t+e;r<=CJ?Jg[r-Ul]=e:Vg.set(r,e)}var BJ=48,QJ=57,xJ=45,$g=new Set([8722,65293,65123]);function Dge(t){if(typeof t!="string")return t;let e=t.length;if(e===0)return t;let r=-1;for(let s=0;s<e;s++){let i=t.charCodeAt(s);if(!(i>=BJ&&i<=QJ||i===xJ)){if(i<Ul){if($g.has(i)){r=s;break}continue}if(i>=55296&&i<=56319){if(s+1<e){let a=t.charCodeAt(s+1);if(a>=56320&&a<=57343){let c=65536+(i-55296<<10)+(a-56320);if(Vg.has(c)){r=s;break}}}continue}if(Jg[i-Ul]!==Yg||$g.has(i)){r=s;break}}}if(r===-1)return t;let n=[];r>0&&n.push(t.slice(0,r));for(let s=r;s<e;s++){let i=t.charCodeAt(s);if(i>=BJ&&i<=QJ||i===xJ){n.push(t[s]);continue}if(i<Ul){n.push($g.has(i)?"-":t[s]);continue}if(i>=55296&&i<=56319){if(s+1<e){let c=t.charCodeAt(s+1);if(c>=56320&&c<=57343){let l=65536+(i-55296<<10)+(c-56320),A=Vg.get(l);if(A!==void 0){n.push(String.fromCharCode(A+48)),s++;continue}}}n.push(t[s]);continue}if($g.has(i)){n.push("-");continue}let a=Jg[i-Ul];n.push(a!==Yg?String.fromCharCode(a+48):t[s])}return n.join("")}o(Dge,"anynum");var bJ=Dge;var Tge=/^[-+]?0x[a-fA-F0-9]+$/,kge=/^0b[01]+$/,Mge=/^0o[0-7]+$/,Lge=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,_ge={hex:!0,binary:!1,octal:!1,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original",unicode:!1};function Qw(t,e={}){if(e=Object.assign({},_ge,e),!t||typeof t!="string")return t;let r=t.trim();if(r.length===0)return t;if(e.skipLike!==void 0&&e.skipLike.test(r))return t;if(r==="0"||e.unicode&&(r=bJ(r),r==="0"))return 0;if(e.hex&&Tge.test(r))return Bw(r,16);if(e.binary&&kge.test(r))return Bw(r,2);if(e.octal&&Mge.test(r))return Bw(r,8);if(isFinite(r)){if(r.includes("e")||r.includes("E"))return Uge(t,r,e);{let n=Lge.exec(r);if(n){let s=n[1]||"",i=n[2],a=Oge(n[3]),c=s?r[i.length+1]===".":r[i.length]===".";if(!e.leadingZeros&&(i.length>1||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{let n=Number(r);return Number.isNaN(n)?t:qge(t,n,e)}}o(Qw,"toNumber");var Fge=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function Uge(t,e,r){if(!r.eNotation)return t;let n=e.match(Fge);if(n){let s=n[1]||"",i=n[3].indexOf("e")===-1?"E":"e",a=n[2],c=s?e[a.length+1]===i:e[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?Number(e):t:Number(e)}else return t}o(Uge,"resolveEnotation");function Oge(t){if(t&&t.indexOf(".")!==-1){let e=t.length;for(;e>0&&t.charCodeAt(e-1)===48;)e--;return t=t.slice(0,e),t==="."?t="0":t[0]==="."?t="0"+t:t[t.length-1]==="."&&(t=t.substring(0,t.length-1)),t}return t}o(Oge,"trimZeros");function Bw(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(Bw,"parse_int");function qge(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(qge,"handleInfinity");function xw(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(xw,"getIgnoreAttributesFn");var Kr=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(;n<e.length;)e[n]===this.separator?n+1<e.length&&e[n+1]===this.separator?(s.trim()&&(r.push(this._parseSegment(s.trim())),s=""),r.push({type:"deep-wildcard"}),n+=2):(s.trim()&&r.push(this._parseSegment(s.trim())),s="",n++):(s+=e[n],n++);return s.trim()&&r.push(this._parseSegment(s.trim())),r}_parseSegment(e){let r={type:"tag"},n=null,s=e,i=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(i&&(s=i[1]+i[3],i[2])){let u=i[2].slice(1,-1);u&&(n=u)}let a,c=s;if(s.includes("::")){let u=s.indexOf("::");if(a=s.substring(0,u).trim(),c=s.substring(u+2).trim(),!a)throw new Error(`Invalid namespace in pattern: ${e}`)}let l,A=null;if(c.includes(":")){let u=c.lastIndexOf(":"),d=c.substring(0,u).trim(),m=c.substring(u+1).trim();["first","last","odd","even"].includes(m)||/^nth\(\d+\)$/.test(m)?(l=d,A=m):l=c}else l=c;if(!l)throw new Error(`Invalid segment pattern: ${e}`);if(r.tag=l,a&&(r.namespace=a),n)if(n.includes("=")){let u=n.indexOf("=");r.attrName=n.substring(0,u).trim(),r.attrValue=n.substring(u+1).trim()}else r.attrName=n.trim();if(A){let u=A.match(/^nth\((\d+)\)$/);u?(r.position="nth",r.positionValue=parseInt(u[1],10)):r.position=A}return r}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}};var Ol=class{static{o(this,"ExpressionSet")}constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._deepByTerminalTag=new Map,this._patterns=new Set,this._sealed=!1}add(e){if(this._sealed)throw new TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(e.pattern))return this;if(this._patterns.add(e.pattern),e.hasDeepWildcard()){let i=e.segments[e.segments.length-1];if(i&&i.type!=="deep-wildcard"&&i.tag!=="*"){let a=i.tag;this._deepByTerminalTag.has(a)||this._deepByTerminalTag.set(a,[]),this._deepByTerminalTag.get(a).push(e)}else this._deepWildcards.push(e);return this}let r=e.length,s=e.segments[e.segments.length-1]?.tag;if(!s||s==="*")this._wildcardByDepth.has(r)||this._wildcardByDepth.set(r,[]),this._wildcardByDepth.get(r).push(e);else{let i=`${r}:${s}`;this._byDepthAndTag.has(i)||this._byDepthAndTag.set(i,[]),this._byDepthAndTag.get(i).push(e)}return this}addAll(e){for(let r of e)this.add(r);return this}has(e){return this._patterns.has(e.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(e){return this.findMatch(e)!==null}findMatch(e){let r=e.getDepth(),n=e.getCurrentTag(),s=`${r}:${n}`,i=this._byDepthAndTag.get(s);if(i){for(let l=0;l<i.length;l++)if(e.matches(i[l]))return i[l]}let a=this._wildcardByDepth.get(r);if(a){for(let l=0;l<a.length;l++)if(e.matches(a[l]))return a[l]}let c=this._deepByTerminalTag.get(n);if(c){for(let l=0;l<c.length;l++)if(e.matches(c[l]))return c[l]}for(let l=0;l<this._deepWildcards.length;l++)if(e.matches(this._deepWildcards[l]))return this._deepWildcards[l];return null}};var bw=class{static{o(this,"MatcherView")}constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){let e=this._matcher.path;return e.length>0?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}getAnyParentAttr(e){return this._matcher.getAnyParentAttr(e)}hasAnyParentAttr(e){return this._matcher.hasAnyParentAttr(e)}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)}},vs=class{static{o(this,"Matcher")}constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new bw(this),this._keptAttrs=[]}push(e,r=null,n=null,s=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let i=this.path.length,a=this.siblingStacks[i];a||(a={counts:new Map,total:0},this.siblingStacks[i]=a);let c=n?`${n}:${e}`:e,l=a.counts.get(c)||0,A=a.total;a.counts.set(c,l+1),a.total++;let u={tag:e,position:A,counter:l};n!=null&&(u.namespace=n),r!=null&&(u.values=r),this.path.push(u);let d=this.path.length,m=s!==null?s.keep:null;if(m!=null&&m.length>0&&r)for(let p=0;p<m.length;p++){let h=m[p];r[h]!==void 0&&this._keptAttrs.push({depth:d,name:h,value:r[h]})}}pop(){if(this.path.length===0)return;this._pathStringCache=null;let e=this.path.pop();this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1);let r=this.path.length+1;for(;this._keptAttrs.length>0&&this._keptAttrs[this._keptAttrs.length-1].depth>=r;)this._keptAttrs.pop();return 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}getAnyParentAttr(e){let r=this._keptAttrs;for(let n=r.length-1;n>=0;n--)if(r[n].name===e)return r[n].value}hasAnyParentAttr(e){let r=this._keptAttrs;for(let n=r.length-1;n>=0;n--)if(r[n].name===e)return!0;return!1}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=[],this._keptAttrs=[]}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<e.length;r++)if(!this._matchSegment(e[r],this.path[r],r===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(e){let r=this.path.length-1,n=e.length-1;for(;n>=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=>e&&{counts:new Map(e.counts),total:e.total}),keptAttrs:this._keptAttrs.map(e=>({...e}))}}restore(e){this._pathStringCache=null,this.path=e.path.map(r=>({...r})),this.siblingStacks=e.siblingStacks.map(r=>r&&{counts:new Map(r.counts),total:r.total}),this._keptAttrs=(e.keptAttrs||[]).map(r=>({...r}))}readOnly(){return this._view}};var Hge=[{id:"html-script-open",description:"<script opening tag",pattern:/<script[\s>/]/i},{id:"html-script-close",description:"</script closing tag",pattern:/<\/script[\s>]/i},{id:"html-javascript-protocol",description:"javascript: URI scheme (with optional whitespace/encoding)",pattern:/j[\t\n\r ]*a[\t\n\r ]*v[\t\n\r ]*a[\t\n\r ]*s[\t\n\r ]*c[\t\n\r ]*r[\t\n\r ]*i[\t\n\r ]*p[\t\n\r ]*t[\t\n\r ]*:/i},{id:"html-vbscript-protocol",description:"vbscript: URI scheme",pattern:/vbscript[\t\n\r ]*:/i},{id:"html-data-html",description:"data:text/html URI \u2014 can execute scripts in browsers",pattern:/data[\t\n\r ]*:[\t\n\r ]*text\/html/i},{id:"html-data-xhtml",description:"data:application/xhtml+xml URI",pattern:/data[\t\n\r ]*:[\t\n\r ]*application\/xhtml/i},{id:"html-data-svg",description:"data:image/svg+xml URI \u2014 can execute scripts",pattern:/data[\t\n\r ]*:[\t\n\r ]*image\/svg\+xml/i},{id:"html-inline-event-handler",description:"Inline event handler attributes: onclick=, onerror=, onload=, etc.",pattern:/\bon\w{1,30}\s*=/i},{id:"html-entity-obfuscated-script",description:"HTML-entity-encoded <script (e.g. <script or <script)",pattern:/(?:�*3[Cc];?|�*60;?|<)\s*script/i},{id:"html-entity-obfuscated-javascript",description:'HTML-entity-encoded javascript: (partial \u2014 catches common j or j for "j")',pattern:/(?:�*6[Aa];?|�*106;?)\s*(?:�*61;?|a)[\s\S]{0,80}script\s*:/i},{id:"html-style-expression",description:"CSS expression() \u2014 IE-era code execution in style attributes",pattern:/style[\s\S]{0,20}expression\s*\(/i},{id:"html-object-embed",description:"<object or <embed tags that can load active content",pattern:/<(?:object|embed)[\s>/]/i},{id:"html-base-tag",description:"<base href= \u2014 can hijack all relative URLs on a page",pattern:/<base[\s>]/i},{id:"html-meta-refresh",description:'<meta http-equiv="refresh" \u2014 can redirect users',pattern:/<meta[\s\S]{0,40}http-equiv[\s\S]{0,20}refresh/i},{id:"html-srcdoc",description:"srcdoc= attribute on iframes \u2014 embeds HTML that can run scripts",pattern:/srcdoc\s*=/i},{id:"html-iframe",description:"<iframe tag",pattern:/<iframe[\s>/]/i},{id:"html-form",description:"<form tag \u2014 can be used for phishing / credential harvesting injection",pattern:/<form[\s>/]/i}],Ta=Hge;var zge=[{id:"xml-cdata-injection",description:"CDATA section injection: <![CDATA[ breaks out of text node context",pattern:/<!\[CDATA\[/i},{id:"xml-cdata-close",description:"CDATA close sequence: ]]> can terminate an enclosing CDATA section",pattern:/\]\]>/},{id:"xml-processing-instruction",description:"XML processing instruction: <?xml-stylesheet or <?php etc.",pattern:/<\?(?:xml[\- ]|php|asp)/i},{id:"xml-doctype-injection",description:"DOCTYPE declaration embedded in content \u2014 can define entities",pattern:/<!DOCTYPE(?:[\s[]|$)/i},{id:"xml-entity-system",description:"SYSTEM keyword \u2014 used in external entity declarations (XXE)",pattern:/\bSYSTEM\s+["']/i},{id:"xml-entity-public",description:"PUBLIC keyword \u2014 used in external entity declarations (XXE)",pattern:/\bPUBLIC\s+["']/i},{id:"xml-entity-declaration",description:"<!ENTITY declaration \u2014 defines entities, potential XXE or entity expansion",pattern:/<!ENTITY[\s%]/i},{id:"xml-billion-laughs",description:"Entity reference chaining / billion laughs: repeated &eX; style references",pattern:/(?:&\w{1,20};){3,}/},{id:"xml-namespace-confusion",description:"xmlns: attribute injection \u2014 can redefine namespaces to confuse parsers",pattern:/\bxmlns(?::\w{1,40})?\s*=/i},{id:"xml-comment-injection",description:"<!-- comment injection \u2014 can hide content from some parsers",pattern:/<!--/},{id:"xml-comment-close",description:"--> closes an enclosing XML comment",pattern:/-->/},{id:"xml-pi-close",description:"?> closes an enclosing processing instruction",pattern:/\?>/}],ka=zge;var Gge=[{id:"svg-script-element",description:"<script element inside SVG executes JavaScript",pattern:/<script[\s>/]/i},{id:"svg-xlink-href-javascript",description:"xlink:href with javascript: \u2014 classic SVG XSS via <a> or <use>",pattern:/xlink\s*:\s*href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-href-javascript",description:"href= with javascript: in SVG context (<a>, <animate>, etc.)",pattern:/href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-foreignobject",description:"<foreignObject embeds HTML inside SVG \u2014 can execute scripts",pattern:/<foreignObject[\s>/]/i},{id:"svg-use-external",description:"<use xlink:href or href pointing to external resource (non-fragment URL)",pattern:/<use[\s\S]{0,60}(?:xlink\s*:\s*)?href\s*=\s*(?:["'][^#]|[^"'#\s>])/i},{id:"svg-animate-href",description:'<animate attributeName="href" \u2014 can dynamically change href to javascript:',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*href["']/i},{id:"svg-animate-xlinkhref",description:'<animate attributeName="xlink:href"',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*xlink\s*:\s*href["']/i},{id:"svg-set-javascript",description:'<set to="javascript:..." \u2014 sets an attribute to a javascript: URI',pattern:/<set[\s\S]{0,80}to\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-event-handler",description:"SVG-specific event handler attributes: onload=, onerror=, onactivate=, etc.",pattern:/\bon(?:load|error|activate|begin|end|repeat|focus|blur|click|mouse\w{1,20}|key\w{1,20})\s*=/i},{id:"svg-handler-generic",description:"Generic on* handler catch-all for SVG attributes",pattern:/\bon\w{1,30}\s*=/i},{id:"svg-filter-feimage",description:"<feImage href= \u2014 filter primitive that can load external resources",pattern:/<feImage[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=/i},{id:"svg-image-external",description:"<image xlink:href with http/https or javascript protocol",pattern:/<image[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=\s*["']?\s*(?:https?|javascript)\s*:/i},{id:"svg-style-javascript",description:"style= attribute containing javascript: (e.g. background:url(javascript:...))",pattern:/style\s*=[\s\S]{0,60}javascript\s*:/i}],Wg=Gge;var Yge=[{id:"sql-block-comment-open",description:"SQL block comment open: /* ... */ \u2014 unusual in legitimate user text",pattern:/\/\*/},{id:"sql-union-select",description:"UNION SELECT \u2014 most common SQL injection aggregation attack",pattern:/\bUNION\s{1,20}(?:ALL\s{1,20})?SELECT\b/i},{id:"sql-drop-table",description:"DROP TABLE \u2014 destructive DDL injection",pattern:/\bDROP\s{1,20}TABLE\b/i},{id:"sql-drop-database",description:"DROP DATABASE \u2014 destructive DDL injection",pattern:/\bDROP\s{1,20}DATABASE\b/i},{id:"sql-insert-into",description:"INSERT INTO \u2014 data injection",pattern:/\bINSERT\s{1,20}INTO\b/i},{id:"sql-delete-from",description:"DELETE FROM \u2014 data deletion injection",pattern:/\bDELETE\s{1,20}FROM\b/i},{id:"sql-update-set",description:"UPDATE ... SET \u2014 data modification injection",pattern:/\bUPDATE\b[\s\S]{1,60}\bSET\b/i},{id:"sql-exec-xp",description:"EXEC xp_ \u2014 MSSQL extended stored procedure execution",pattern:/\bEXEC(?:UTE)?\s{1,20}xp_/i},{id:"sql-tautology-string",description:`Classic string tautology: ' OR '1'='1 or " OR "1"="1"`,pattern:/'\s{0,10}OR\s{0,10}'[^']{0,20}'\s*=\s*'[^']{0,20}/i},{id:"sql-tautology-numeric",description:"Numeric tautology: OR 1=1",pattern:/\bOR\s{1,10}1\s*=\s*1\b/i},{id:"sql-always-true-zero",description:"Numeric tautology: OR 0=0",pattern:/\bOR\s{1,10}0\s*=\s*0\b/i},{id:"sql-sleep-benchmark",description:"Time-based blind injection: SLEEP() or BENCHMARK()",pattern:/\b(?:SLEEP|BENCHMARK)\s*\(/i},{id:"sql-waitfor-delay",description:"MSSQL time-based blind injection: WAITFOR DELAY",pattern:/\bWAITFOR\s{1,20}DELAY\b/i},{id:"sql-char-function",description:"CHAR() function \u2014 used to obfuscate injected strings",pattern:/\bCHAR\s*\(\s*\d{1,3}/i},{id:"sql-information-schema",description:"INFORMATION_SCHEMA \u2014 reconnaissance query for table/column enumeration",pattern:/\bINFORMATION_SCHEMA\b/i}],Od=Yge;var Vge=[{id:"shell-path-traversal-unix",description:"Unix path traversal: ../ \u2014 climbing the directory tree",pattern:/\.\.\//},{id:"shell-path-traversal-windows",description:"Windows path traversal: ..\\ \u2014 climbing the directory tree",pattern:/\.\.\\/},{id:"shell-path-traversal-encoded",description:"URL-encoded path traversal: %2e%2e or %2f variants",pattern:/%2e%2e|%2f\.\.|\.\.%2f/i},{id:"shell-null-byte",description:"Null byte injection: \\x00 or %00 \u2014 truncates strings in C-backed functions",pattern:/\x00|%00/},{id:"shell-semicolon",description:"Semicolon command separator: cmd1; cmd2",pattern:/;/},{id:"shell-pipe",description:"Pipe operator: cmd1 | cmd2",pattern:/\|/},{id:"shell-and-operator",description:"AND operator: cmd1 && cmd2",pattern:/&&/},{id:"shell-or-operator",description:"OR operator: cmd1 || cmd2",pattern:/\|\|/},{id:"shell-backtick",description:"Backtick command substitution: `cmd`",pattern:/`/},{id:"shell-dollar-paren",description:"Dollar-paren command substitution: $(cmd)",pattern:/\$\(/},{id:"shell-dollar-brace",description:"Dollar-brace variable expansion: ${var} \u2014 can be abused for injection",pattern:/\$\{/},{id:"shell-redirect-out",description:"Output redirection: cmd > file or cmd >> file",pattern:/>{1,2}/},{id:"shell-redirect-in",description:"Input redirection: cmd < file",pattern:/</},{id:"shell-newline-injection",description:"Newline injection: \\n or \\r \u2014 can inject new shell commands",pattern:/[\n\r]/},{id:"shell-glob-star",description:"Glob expansion: * or ? \u2014 can expand to unintended files",pattern:/[/\\][*?]/},{id:"shell-absolute-root",description:"Absolute root path injection: string starting with / or \\ (Windows UNC)",pattern:/^(?:\/|\\\\)/},{id:"shell-windows-drive",description:"Windows drive letter path injection: C:\\ or D:/",pattern:/^[a-zA-Z]:[/\\]/},{id:"shell-curl-wget",description:"curl/wget with URL or flags \u2014 can exfiltrate data or download payloads",pattern:/\b(?:curl|wget)\s+(?:https?:\/\/|ftp:\/\/|-)/i}],ww=Vge;var Jge=[{id:"redos-nested-quantifier-plus",description:"Nested + quantifier inside a group with outer quantifier: (a+)+, (.+b)*, etc.",pattern:/\([^)]*\+[^)]*\)[+*]/},{id:"redos-nested-quantifier-star",description:"Nested * quantifier: (a*)* or (a*)+ \u2014 catastrophic backtracking",pattern:/\([^)]*\*[^)]*\)[*+]/},{id:"redos-nested-groups",description:"Doubly nested quantified groups: ((a+)+) \u2014 guaranteed catastrophic",pattern:/\(\([^)]{0,40}\)[+*]\)[+*]/},{id:"redos-alternation-overlap",description:"Overlapping alternation under quantifier: (a|a)+ \u2014 ambiguous NFA paths",pattern:/\(([^|()]{1,20})\|(?:\1)(?:\|[^|()]{1,20}){0,5}\)[+*?]{1,2}/},{id:"redos-star-plus-concat",description:"(x*x)+ pattern \u2014 triggers super-linear backtracking",pattern:/\([^)]{0,10}\*[^)]{0,10}\)[+*]/},{id:"redos-dot-star-greedy",description:"(.*){n,} or (.+){n,} \u2014 repeated greedy dot quantifiers",pattern:/\(\.[*+]\)\{?\d/},{id:"redos-large-repetition",description:"Very large fixed or range repetition count {1000,} or {1000,n} \u2014 denial of service via backtracking",pattern:/\{\d{4,}(?:,\d*)?\}/},{id:"redos-catastrophic-alternation",description:"Long alternation with many similar branches \u2014 polynomial backtracking risk",pattern:/\([^)]{0,200}(?:\|[^|)]{0,50}){9,}\)/}],Nw=Jge;var Xr=`["'\\s]*:`,$ge=[{id:"nosql-where-operator",description:"$where \u2014 executes arbitrary JavaScript server-side in MongoDB",pattern:new RegExp(`\\$where${Xr}`,"i")},{id:"nosql-ne-operator",description:'$ne \u2014 "not equal" operator used to bypass equality checks',pattern:new RegExp(`\\$ne${Xr}`,"i")},{id:"nosql-gt-operator",description:'$gt \u2014 "greater than" used to bypass password/value checks',pattern:new RegExp(`\\$gte?${Xr}`,"i")},{id:"nosql-lt-operator",description:'$lt / $lte \u2014 "less than" bypass variants',pattern:new RegExp(`\\$lte?${Xr}`,"i")},{id:"nosql-regex-operator",description:"$regex \u2014 can be used to extract data character by character (blind injection)",pattern:new RegExp(`\\$regex${Xr}`,"i")},{id:"nosql-or-operator",description:"$or \u2014 logical OR; used to create always-true conditions",pattern:new RegExp(`\\$or${Xr}\\s*\\[`,"i")},{id:"nosql-and-operator",description:"$and \u2014 logical AND operator injection",pattern:new RegExp(`\\$and${Xr}\\s*\\[`,"i")},{id:"nosql-nor-operator",description:"$nor \u2014 logical NOR operator injection",pattern:new RegExp(`\\$nor${Xr}\\s*\\[`,"i")},{id:"nosql-exists-operator",description:"$exists \u2014 can enumerate fields to determine schema",pattern:new RegExp(`\\$exists${Xr}`,"i")},{id:"nosql-in-operator",description:"$in \u2014 matches any value in a list; can enumerate values",pattern:new RegExp(`\\$in${Xr}\\s*\\[`,"i")},{id:"nosql-expr-operator",description:"$expr \u2014 allows aggregation expressions in queries (MongoDB 3.6+)",pattern:new RegExp(`\\$expr${Xr}`,"i")},{id:"nosql-function-operator",description:"$function \u2014 executes arbitrary JavaScript in MongoDB 4.4+",pattern:new RegExp(`\\$function${Xr}`,"i")},{id:"nosql-accumulator-operator",description:"$accumulator \u2014 custom aggregation with arbitrary JS execution",pattern:new RegExp(`\\$accumulator${Xr}`,"i")},{id:"nosql-proto-pollution",description:"__proto__ \u2014 prototype pollution via object key injection",pattern:/__proto__/},{id:"nosql-constructor-prototype",description:"constructor.prototype \u2014 alternative prototype pollution vector (dot notation or JSON key)",pattern:/constructor[\s"':.,{\[]*prototype/i},{id:"nosql-proto-bracket",description:'["__proto__"] \u2014 bracket-notation prototype pollution',pattern:/\[["']__proto__["']\]/}],Sw=$ge;var Wge=[{id:"log-crlf-injection",description:"CRLF injection: literal \\r or \\n embeds fake log lines",pattern:/[\r\n]/},{id:"log-url-encoded-crlf",description:"URL-encoded CRLF: %0d, %0a, %0D, %0A \u2014 decoded by some log parsers",pattern:/%0[dDaA]/},{id:"log-unicode-newline",description:"Unicode newline variants: U+2028 (line separator), U+2029 (paragraph separator)",pattern:/[\u2028\u2029]/},{id:"log-log4shell-jndi",description:"Log4Shell: ${jndi:...} triggers remote code execution in Apache Log4j",pattern:/\$\{jndi\s*:/i},{id:"log-log4shell-obfuscated",description:"Obfuscated Log4Shell: ${::-j}... lookup-bypass prefix used to evade WAF detection",pattern:/\$\{::-/},{id:"log-log4j-lookup",description:"Log4j lookup syntax: ${env:...}, ${sys:...}, ${ctx:...} \u2014 data exfiltration",pattern:/\$\{(?:env|sys|ctx|main|map|sd|web|docker|k8s|spring)\s*:/i},{id:"log-ssti-double-brace",description:"SSTI double-brace: {{expression}} \u2014 Jinja2, Twig, Handlebars, etc.",pattern:/\{\{[\s\S]{0,80}\}\}/},{id:"log-ssti-hash-brace",description:"SSTI hash-brace: #{expression} \u2014 Thymeleaf, Velocity, Ruby ERB",pattern:/#\{[\s\S]{0,80}\}/},{id:"log-ssti-dollar-brace",description:"SSTI/EL injection: ${expression with operators or method calls} \u2014 JSP EL, Freemarker, SpEL",pattern:/\$\{[^}]*(?:\.|\(|\*|\+|\bclass\b|\bruntime\b|\bprocess\b|\bexec\b)[^}]{0,80}\}/i},{id:"log-ssti-percent-tag",description:"SSTI ERB/ASP tag: <%= expression %> \u2014 Ruby ERB, ASP",pattern:/<%=[\s\S]{0,80}%>/},{id:"log-null-byte",description:"Null byte: \\x00 or %00 \u2014 can truncate log entries in C-backed loggers",pattern:/\x00|%00/},{id:"log-ansi-escape",description:"ANSI escape sequence: ESC[ \u2014 can manipulate terminal output when logs are tailed",pattern:/\x1b\[/}],Rw=Wge;var jge=[{id:"sql-line-comment",description:"SQL line comment: -- followed by whitespace or end of string",pattern:/--(?:\s|$)/},{id:"sql-stacked-query",description:"Stacked queries: semicolon immediately followed by a SQL keyword",pattern:/;\s{0,10}(?:SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC)\b/i},{id:"sql-hex-encoding",description:"Hex-encoded string injection: 0x41414141 style (MySQL)",pattern:/\b0x[0-9a-f]{4,}/i}],Kge=[...Od,...jge],vw=Kge;var wJ=Object.freeze({colon:":",Tab:" ",NewLine:`
|
|
`}),Xge=/&(?:#[xX]0*([0-9a-fA-F]{1,6});?|#0*([0-9]{1,7});?|([a-zA-Z][a-zA-Z0-9]{1,15});)/g;function Pw(t){return t.indexOf("&")===-1?t:t.replace(Xge,(e,r,n,s)=>{if(s!==void 0)return Object.prototype.hasOwnProperty.call(wJ,s)?wJ[s]:e;let i=r!==void 0?parseInt(r,16):parseInt(n,10);return!Number.isFinite(i)||i>1114111?e:String.fromCodePoint(i)})}o(Pw,"decodeEntities");Ta.label="HTML";ka.label="XML";Wg.label="SVG";Ta.decodeEntities=!0;ka.decodeEntities=!0;Wg.decodeEntities=!0;Od.label="SQL";vw.label="SQL-STRICT";ww.label="SHELL";Nw.label="REDOS";Sw.label="NOSQL";Rw.label="LOG";var y3e=Object.freeze({HTML:Ta,XML:ka,SVG:Wg,SQL:Od,"SQL-STRICT":vw,SHELL:ww,REDOS:Nw,NOSQL:Sw,LOG:Rw});function Zge(t){if(typeof t!="string")throw new TypeError(`is-unsafe: first argument must be a string, got ${typeof t}`)}o(Zge,"assertString");function eye(t){if(!(t instanceof RegExp)){if(Array.isArray(t)){if(t.length===0)throw new TypeError("is-unsafe: context must not be an empty array");if(Array.isArray(t[0])){for(let e of t)if(!Array.isArray(e)||e.length===0)throw new TypeError("is-unsafe: each context in the array must be a non-empty pattern array (PatternList)")}return}throw new TypeError(`is-unsafe: second argument must be a PatternList (e.g. HTML), an array of PatternLists (e.g. [HTML, XML]), or a RegExp. Got: ${typeof t}`)}}o(eye,"assertContext");function tye(t){return t instanceof RegExp?{lists:null,regex:t}:Array.isArray(t[0])?{lists:t,regex:null}:{lists:[t],regex:null}}o(tye,"normalise");function rye(t,e){if(!e.decodeEntities)return null;let r=Pw(t);return r===t?null:r}o(rye,"decodedCopy");function nye(t,e){let r=e.label??"CUSTOM",n=rye(t,e);for(let s of e)if(s.pattern.test(t)||n!==null&&s.pattern.test(n))return{context:r,id:s.id,description:s.description,pattern:s.pattern};return null}o(nye,"matchList");function NJ(t,e){Zge(t),eye(e);let{lists:r,regex:n}=tye(e);if(n)return n.test(t);for(let s of r)if(nye(t,s)!==null)return!0;return!1}o(NJ,"isUnsafe");function sye(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(sye,"extractRawAttributes");function iye(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(iye,"extractNamespace");var qd=class{static{o(this,"OrderedObjParser")}constructor(e,r){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=Aye,this.parseTextData=oye,this.resolveNameSpace=aye,this.buildAttributesMap=lye,this.isItStopNode=pye,this.replaceEntitiesValue=dye,this.readStopNodeData=gye,this.saveTextToParentTag=mye,this.addChild=uye,this.ignoreAttributesFn=xw(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let n={...Ld};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?n=this.options.htmlEntities:this.options.htmlEntities===!0&&(n={...yw,...gw}),this.entityDecoder=new Fl({namedEntities:{...n,...r},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo},onInputEntity:o((i,a)=>NJ(a,[Ta,ka])?_l.BLOCK:_l.ALLOW,"onInputEntity")})),this.matcher=new vs,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new Ol;let s=this.options.stopNodes;if(s&&s.length>0){for(let i=0;i<s.length;i++){let a=s[i];typeof a=="string"?this.stopNodeExpressionsSet.add(new Kr(a)):a instanceof Kr&&this.stopNodeExpressionsSet.add(a)}this.stopNodeExpressionsSet.seal()}}};function oye(t,e,r,n,s,i,a){let c=this.options;if(t!==void 0&&(c.trimValues&&!n&&(t=t.trim()),t.length>0)){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?kw(t,c.parseTagValue,c.numberParseOptions):t}}o(oye,"parseTextData");function aye(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(aye,"resolveNameSpace");var cye=/([^\s=]+)\s*(=\s*(?:"([^"]*)"|'([^']*)'))?/gm;function SJ(t){return t[3]!==void 0?t[3]:t[4]}o(SJ,"attrValue");function lye(t,e,r,n=!1){let s=this.options;if(n===!0||s.ignoreAttributes!==!0&&typeof t=="string"){let i=oJ(t,cye),a=i.length,c={},l=new Array(a),A=!1,u={};for(let p=0;p<a;p++){let h=this.resolveNameSpace(i[p][1]),f=SJ(i[p]);if(h.length&&f!==void 0){let C=f;s.trimValues&&(C=C.trim()),C=this.replaceEntitiesValue(C,r,this.readonlyMatcher),l[p]=C,u[h]=C,A=!0}}A&&typeof e=="object"&&e.updateCurrent&&e.updateCurrent(u);let d=s.jPath?e.toString():this.readonlyMatcher,m=!1;for(let p=0;p<a;p++){let h=this.resolveNameSpace(i[p][1]);if(this.ignoreAttributesFn(h,d))continue;let f=s.attributeNamePrefix+h;if(h.length)if(s.transformAttributeName&&(f=s.transformAttributeName(f)),f=RJ(f,s),SJ(i[p])!==void 0){let C=l[p],y=s.attributeValueProcessor(h,C,d);y==null?c[f]=C:typeof y!=typeof C||y!==C?c[f]=y:c[f]=kw(C,s.parseAttributeValue,s.numberParseOptions),m=!0}else s.allowBooleanAttributes&&(c[f]=!0,m=!0)}if(!m)return;if(s.attributesGroupName&&!s.preserveOrder){let p={};return p[s.attributesGroupName]=c,p}return c}}o(lye,"buildAttributesMap");var Aye=o(function(t){let e=this.options,r=e.captureMetaData?[]:void 0;t=t.replace(/\r\n?/g,e.captureMetaData?(l,A)=>(l.length===2&&r.push(A-r.length),`
|
|
`):`
|
|
`);let n=new Br("!xml"),s=n,i="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let a=new Ud(e.processEntities),c=t.length;for(let l=0;l<c;l++)if(t[l]==="<"){let u=t.charCodeAt(l+1);if(u===47){let d=ql(t,">",l,"Closing Tag is not closed."),m=t.substring(l+2,d).trim();if(e.removeNSPrefix){let h=m.indexOf(":");h!==-1&&(m=m.substr(h+1))}m=Dw(e.transformTagName,m,"",e).tagName,s&&(i=this.saveTextToParentTag(i,s,this.readonlyMatcher));let p=this.matcher.getCurrentTag();if(m&&e.unpairedTagsSet.has(m))throw new Error(`Unpaired tag can not be used as closing tag: </${m}>`);p&&e.unpairedTagsSet.has(p)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,s=this.tagsNodeStack.pop()||n,e.captureMetaData&&s&&s.addEndIndex(Ma(d+1,r)),i="",l=d}else if(u===63){let d=Tw(t,l,!1,"?>");if(!d)throw new Error("Pi Tag is not closed.");i=this.saveTextToParentTag(i,s,this.readonlyMatcher);let m=this.buildAttributesMap(d.tagExp,this.matcher,d.tagName,!0);if(m){let p=m[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(p)||1),a.setXmlVersion(Number(p)||1)}if(!(e.ignoreDeclaration&&d.tagName==="?xml"||e.ignorePiTags)){let p=new Br(d.tagName);p.add(e.textNodeName,""),d.tagName!==d.tagExp&&d.attrExpPresent&&e.ignoreAttributes!==!0&&(p[":@"]=m);let h=e.captureMetaData?Ma(l,r):l;this.addChild(s,p,this.readonlyMatcher,h),e.captureMetaData&&s.addEndIndex(Ma(d.closeIndex+2,r))}l=d.closeIndex+1}else if(u===33&&t.charCodeAt(l+2)===45&&t.charCodeAt(l+3)===45){let d=ql(t,"-->",l+4,"Comment is not closed.");if(e.commentPropName){let m=t.substring(l+4,d-2);i=this.saveTextToParentTag(i,s,this.readonlyMatcher),s.add(e.commentPropName,[{[e.textNodeName]:m}])}l=d}else if(u===33&&t.charCodeAt(l+2)===68){if(this.doctypefound)throw new Error("Multiple DOCTYPE declarations found.");this.doctypefound=!0;let d=a.readDocType(t,l);this.entityDecoder.addInputEntities(d.entities),l=d.i}else if(u===33&&t.charCodeAt(l+2)===91){let d=ql(t,"]]>",l,"CDATA is not closed.")-2,m=t.substring(l+9,d);i=this.saveTextToParentTag(i,s,this.readonlyMatcher);let p=this.parseTextData(m,s.tagname,this.readonlyMatcher,!0,!1,!0,!0);p==null&&(p=""),e.cdataPropName?s.add(e.cdataPropName,[{[e.textNodeName]:m}]):s.add(e.textNodeName,p),l=d+2}else{let d=Tw(t,l,e.removeNSPrefix);if(!d){let S=t.substring(Math.max(0,l-50),Math.min(c,l+50));throw new Error(`readTagExp returned undefined at position ${l}. Context: "${S}"`)}let m=d.tagName,p=d.rawTagName,h=d.tagExp,f=d.attrExpPresent,C=d.closeIndex;if({tagName:m,tagExp:h}=Dw(e.transformTagName,m,h,e),e.strictReservedNames&&(m===e.commentPropName||m===e.cdataPropName||m===e.textNodeName||m===e.attributesGroupName))throw new Error(`Invalid tag name: ${m}`);s&&i&&s.tagname!=="!xml"&&(i=this.saveTextToParentTag(i,s,this.readonlyMatcher,!1));let y=s;y&&e.unpairedTagsSet.has(y.tagname)&&(s=this.tagsNodeStack.pop(),this.matcher.pop());let E=!1;h.length>0&&h.lastIndexOf("/")===h.length-1&&(E=!0,m[m.length-1]==="/"?(m=m.substr(0,m.length-1),h=m):h=h.substr(0,h.length-1),f=m!==h);let I=null,B={},N;N=iye(p),m!==n.tagname&&this.matcher.push(m,{},N),m!==h&&f&&(I=this.buildAttributesMap(h,this.matcher,m),I&&(B=sye(I,e))),m!==n.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let k=e.captureMetaData?Ma(l,r):l;if(this.isCurrentNodeStopNode){let S="";if(E)l=d.closeIndex;else if(e.unpairedTagsSet.has(m))l=d.closeIndex;else{let ye=this.readStopNodeData(t,p,C+1);if(!ye)throw new Error(`Unexpected end of ${p}`);l=ye.i,S=ye.tagContent}let de=new Br(m);I&&(de[":@"]=I),de.add(e.textNodeName,S),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(s,de,this.readonlyMatcher,k),e.captureMetaData&&s.addEndIndex(Ma(l+1,r))}else{if(E){({tagName:m,tagExp:h}=Dw(e.transformTagName,m,h,e));let S=new Br(m);I&&(S[":@"]=I),this.addChild(s,S,this.readonlyMatcher,k),e.captureMetaData&&s.addEndIndex(Ma(C+1,r)),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(e.unpairedTagsSet.has(m)){let S=new Br(m);I&&(S[":@"]=I),this.addChild(s,S,this.readonlyMatcher,k),e.captureMetaData&&s.addEndIndex(Ma(d.closeIndex+1,r)),this.matcher.pop(),this.isCurrentNodeStopNode=!1,l=d.closeIndex;continue}else{let S=new Br(m);if(this.tagsNodeStack.length>e.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(s),I&&(S[":@"]=I),this.addChild(s,S,this.readonlyMatcher,k),s=S}i="",l=C}}}else i+=t[l];return n.child},"parseXml");function Ma(t,e){let r=0,n=e.length;for(;r<n;){let s=Math.floor((r+n)/2);e[s]<t?r=s+1:n=s}return t+r}o(Ma,"getOriginalIndex");function uye(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(uye,"addChild");function dye(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(dye,"replaceEntitiesValue");function mye(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(mye,"saveTextToParentTag");function pye(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}o(pye,"isItStopNode");function hye(t,e,r=">"){let n=t.length,s=r.charCodeAt(0),i=r.length>1?r.charCodeAt(1):-1,a="",c=e;for(let l=e;l<n;l++){let A=t.charCodeAt(l);if(A===34||A===39){if(l=t.indexOf(t[l],l+1),l===-1)return}else if(A===s)if(i!==-1){if(t.charCodeAt(l+1)===i)return a+=t.substring(c,l),{data:a,index:l}}else return a+=t.substring(c,l),{data:a,index:l};else A===9&&(a+=t.substring(c,l)+" ",c=l+1)}}o(hye,"tagExpWithClosingIndex");function ql(t,e,r,n){let s=t.indexOf(e,r);if(s===-1)throw new Error(n);return s+e.length-1}o(ql,"findClosingIndex");function fye(t,e,r,n){let s=t.indexOf(e,r);if(s===-1)throw new Error(n);return s}o(fye,"findClosingChar");function Tw(t,e,r,n=">"){let s=hye(t,e+1,n);if(!s)return;let i=s.data,a=s.index,c=i.search(/\s/),l=i,A=!0;c!==-1&&(l=i.substring(0,c),i=i.substring(c+1).trimStart());let u=l;if(r){let d=l.indexOf(":");d!==-1&&(l=l.substr(d+1),A=l!==s.data.substr(d+1))}return{tagName:l,tagExp:i,closeIndex:a,attrExpPresent:A,rawTagName:u}}o(Tw,"readTagExp");function gye(t,e,r){let n=r,s=1,i=!1,a=-1,c=t.length;for(;r<c;r++)if(t[r]==="<"){let l=t.charCodeAt(r+1);if(l===47){let A=fye(t,">",r,`${e} is not closed`);if(t.substring(r+2,A).trim()===e&&(s--,s===0))return{tagContent:t.substring(n,r),i:A};r=A}else if(l===63)r=ql(t,"?>",r+1,"StopNode is not closed.");else if(l===33&&t.charCodeAt(r+2)===45&&t.charCodeAt(r+3)===45)r=ql(t,"-->",r+3,"StopNode is not closed.");else if(l===33&&t.charCodeAt(r+2)===91)r=ql(t,"]]>",r,"StopNode is not closed.")-2;else{let A=i?void 0:Tw(t,r,!1);if(A)A.tagName===e&&A.tagExp[A.tagExp.length-1]!=="/"&&s++,r=A.closeIndex;else{if(i=!0,a<r&&(a=t.indexOf(">",r),a===-1))return;let u=t.indexOf("<",r+1);if(u===-1||u>a){let d=t.substring(r+1,a),m=d.search(/\s/);(m===-1?d:d.substring(0,m))===e&&d[d.length-1]!=="/"&&s++,r=a}}}}}o(gye,"readStopNodeData");function kw(t,e,r){if(e&&typeof t=="string"){let n=t.trim();return n==="true"?!0:n==="false"?!1:Qw(t,r)}else return aJ(t)?t:""}o(kw,"parseValue");function Dw(t,e,r,n){if(t){let s=t(e);r===e&&(r=s),e=s}return e=RJ(e,n),{tagName:e,tagExp:r}}o(Dw,"transformTagName");function RJ(t,e){if(qg.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return kd.includes(t)?e.onDangerousProperty(t):t}o(RJ,"sanitizeName");var Mw=Br.getMetaDataSymbol();function yye(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(yye,"stripAttributePrefix");function Lw(t,e,r,n){return vJ(t,e,r,n)}o(Lw,"prettify");function vJ(t,e,r,n){let s,i={};for(let a=0;a<t.length;a++){let c=t[a],l=Eye(c);if(l!==void 0&&l!==e.textNodeName){let A=yye(c[":@"]||{},e.attributeNamePrefix);r.push(l,A)}if(l===e.textNodeName)s===void 0?s=c[l]:s+=""+c[l];else{if(l===void 0)continue;if(c[l]){let A=vJ(c[l],e,r,n),u=Iye(A,e);if(Object.keys(A).length===0&&e.alwaysCreateTextNode&&(A[e.textNodeName]=""),c[":@"]?Cye(A,c[":@"],n,e):Object.keys(A).length===1&&A[e.textNodeName]!==void 0&&!e.alwaysCreateTextNode?A=A[e.textNodeName]:Object.keys(A).length===0&&(e.alwaysCreateTextNode?A[e.textNodeName]="":A=""),c[Mw]!==void 0&&typeof A=="object"&&A!==null&&(A[Mw]=c[Mw]),i[l]!==void 0&&Object.prototype.hasOwnProperty.call(i,l))Array.isArray(i[l])||(i[l]=[i[l]]),i[l].push(A);else{let d=e.jPath?n.toString():n;e.isArray(l,d,u)?i[l]=[A]:i[l]=A}l!==void 0&&l!==e.textNodeName&&r.pop()}}}return typeof s=="string"?s.length>0&&(i[e.textNodeName]=s):s!==void 0&&(i[e.textNodeName]=s),i}o(vJ,"compress");function Eye(t){let e=Object.keys(t);for(let r=0;r<e.length;r++){let n=e[r];if(n!==":@")return n}}o(Eye,"propName");function Cye(t,e,r,n){if(e){let s=Object.keys(e),i=s.length;for(let a=0;a<i;a++){let c=s[a],l=c.startsWith(n.attributeNamePrefix)?c.substring(n.attributeNamePrefix.length):c,A=n.jPath?r.toString()+"."+l:r;n.isArray(c,A,!0,!0)?t[c]=[e[c]]:t[c]=e[c]}}}o(Cye,"assignAttributes");function Iye(t,e){let{textNodeName:r}=e,n=Object.keys(t).length;return!!(n===0||n===1&&(t[r]||typeof t[r]=="boolean"||t[r]===0))}o(Iye,"isLeafTag");var Hl=class{static{o(this,"XMLParser")}constructor(e){this.externalEntities={},this.options=pJ(e)}parse(e,r){if(typeof e!="string"&&e.toString)e instanceof Uint8Array&&!(typeof Buffer<"u"&&Buffer.isBuffer(e))?e=new TextDecoder("utf-8",{ignoreBOM:!0}).decode(e):e=e.toString();else if(typeof e!="string")throw new Error("XML data is accepted in String or Bytes[] form.");if(r){r===!0&&(r={});let i=Hg(e,r);if(i!==!0)throw Error(`${i.err.msg}:${i.err.line}:${i.err.col}`)}let n=new qd(this.options,this.externalEntities),s=n.parseXml(e);return this.options.preserveOrder||s===void 0?s:Lw(s,this.options,n.matcher,n.readonlyMatcher)}addEntity(e,r){if(r.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(e.indexOf("&")!==-1||e.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'");if(r==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[e]=r}static getMetaDataSymbol(){return Br.getMetaDataSymbol()}};function Lt(t){return typeof t=="number"&&Object.is(t,-0)?"-0":String(t)}o(Lt,"valToStr");function Hd(t){return Lt(t).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}o(Hd,"safeComment");function jg(t){return Lt(t).replace(/\]\]>/g,"]]]]><![CDATA[>")}o(jg,"safeCdata");function Ps(t){return Lt(t).replace(/"/g,""").replace(/'/g,"'")}o(Ps,"escapeAttribute");function La(t,e,r,n,s){if(!r.sanitizeName)return t;let i=!e&&t[0]==="?",a=i?t.slice(1):t;if(s(a))return t;let c=r.sanitizeName(a,{isAttribute:e,matcher:n.readOnly()});if(typeof c!="string"||!s(c))throw new Error(`sanitizeName returned an invalid XML name for "${a}"`);return i?"?"+c:c}o(La,"resolveName");var Bye=`
|
|
`;function Qye(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(Uw(r)==="?xml"){let s=r[":@"];if(s){let i=e.attributeNamePrefix+"version";if(s[i])return s[i]}}return"1.0"}o(Qye,"detectXmlVersionFromArray");function Fw(t,e){let r="";e.format&&(r=Bye);let n=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let c=0;c<e.stopNodes.length;c++){let l=e.stopNodes[c];typeof l=="string"?n.push(new Kr(l)):l instanceof Kr&&n.push(l)}let s=Qye(t,e),i=Gg("qName",{xmlVersion:s}),a=new vs;return DJ(t,e,r,a,n,i)}o(Fw,"toXml");function DJ(t,e,r,n,s,i){let a="",c=!1;if(e.maxNestedTags&&n.getDepth()>e.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let l=Lt(t);return l=_w(l,e),l}return""}for(let l=0;l<t.length;l++){let A=t[l],u=Uw(A);if(u===void 0)continue;let m=u===e.textNodeName||u===e.cdataPropName||u===e.commentPropName?u:La(u,!1,e,n,i),p=xye(A[":@"],e);n.push(m,p);let h=wye(n,s);if(m===e.textNodeName){let I=A[u];h||(I=e.tagValueProcessor(m,I),I=_w(I,e)),I=Lt(I),c&&(a+=r),a+=I,c=!1,n.pop();continue}else if(m===e.cdataPropName){c&&(a+=r);let I=A[u][0][e.textNodeName],B=jg(I);a+=`<![CDATA[${B}]]>`,c=!1,n.pop();continue}else if(m===e.commentPropName){let I=A[u][0][e.textNodeName],B=Hd(I);a+=r+`<!--${B}-->`,c=!0,n.pop();continue}else if(m[0]==="?"){let I=PJ(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=PJ(A[":@"],e,h,n,i),y=r+`<${m}${C}`,E;h?E=TJ(A[u],e,n.getDepth()):E=DJ(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}</${m}>`:(a+=y+">",E&&r!==""&&(E.includes("/>")||E.includes("</"))?a+=r+e.indentBy+E+r:a+=E,a+=`</${m}>`),c=!0,n.pop()}return a}o(DJ,"arrToStr");function xye(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]=Ps(t[s]),n=!0}return n?r:null}o(xye,"extractAttributeValues");function TJ(t,e,r=0){if(e.maxNestedTags&&r>e.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t))return t!=null?Lt(t):"";let n="";for(let s=0;s<t.length;s++){let i=t[s],a=Uw(i);if(a===e.textNodeName)n+=Lt(i[a]);else if(a===e.cdataPropName)n+=i[a][0][e.textNodeName];else if(a===e.commentPropName)n+=i[a][0][e.textNodeName];else{if(a&&a[0]==="?")continue;if(a){let c=bye(i[":@"],e),l=TJ(i[a],e,r+1);!l||l.length===0?n+=`<${a}${c}/>`:n+=`<${a}${c}>${l}</${a}>`}}}return n}o(TJ,"getRawContent");function bye(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)}="${Ps(s)}"`}return r}o(bye,"attr_to_str_raw");function Uw(t){let e=Object.keys(t);for(let r=0;r<e.length;r++){let n=e[r];if(Object.prototype.hasOwnProperty.call(t,n)&&n!==":@")return n}}o(Uw,"propName");function PJ(t,e,r,n,s){let i="";if(t&&!e.ignoreAttributes)for(let a in t){if(!Object.prototype.hasOwnProperty.call(t,a))continue;let c=a.substr(e.attributeNamePrefix.length),l=r?c:La(c,!0,e,n,s),A;r?A=t[a]:(A=e.attributeValueProcessor(a,t[a]),A=_w(A,e)),A===!0&&e.suppressBooleanAttributes?i+=` ${l}`:i+=` ${l}="${Ps(A)}"`}return i}o(PJ,"attr_to_str");function wye(t,e){if(!e||e.length===0)return!1;for(let r=0;r<e.length;r++)if(t.matches(e[r]))return!0;return!1}o(wye,"checkStopNode");function _w(t,e){if(t&&t.length>0&&e.processEntities)for(let r=0;r<e.entities.length;r++){let n=e.entities[r];t=t.replace(n.regex,n.val)}return t}o(_w,"replaceEntitiesValue");function Ow(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(Ow,"getIgnoreAttributesFn");var Nye={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 xr(t){if(this.options=Object.assign({},Nye,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.options.stopNodes.length;e++){let r=this.options.stopNodes[e];typeof r=="string"?this.stopNodeExpressions.push(new Kr(r)):r instanceof Kr&&this.stopNodeExpressions.push(r)}this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=Ow(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Pye),this.processTextOrObjNode=Rye,this.options.format?(this.indentate=vye,this.tagEndChar=`>
|
|
`,this.newLine=`
|
|
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(xr,"Builder");function Sye(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(Sye,"detectXmlVersionFromObj");xr.prototype.build=function(t){if(this.options.preserveOrder)return Fw(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new vs,r=Sye(t,this.options),n=Gg("qName",{xmlVersion:r});return this.j2x(t,0,e,n).val}};xr.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:La(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=La(d,!0,this.options,r,n);s+=this.buildAttrPairStr(m,Lt(t[l]),c)}else if(!d)if(l===this.options.textNodeName){let m=this.options.tagValueProcessor(l,Lt(t[l]));i+=this.replaceEntitiesValue(m)}else{r.push(u);let m=this.checkStopNode(r);if(r.pop(),m){let p=Lt(t[l]);p===""?i+=this.indentate(e)+"<"+u+this.closeTag(u)+this.tagEndChar:i+=this.indentate(e)+"<"+u+">"+p+"</"+u+this.tagEndChar}else i+=this.buildTextValNode(t[l],u,"",e,r)}}else if(Array.isArray(t[l])){let d=t[l].length,m="",p="";for(let h=0;h<d;h++){let f=t[l][h];if(!(typeof f>"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),C=Lt(C),m+=C}else{r.push(u);let C=this.checkStopNode(r);if(r.pop(),C){let y=Lt(f);y===""?m+=this.indentate(e)+"<"+u+this.closeTag(u)+this.tagEndChar:m+=this.indentate(e)+"<"+u+">"+y+"</"+u+this.tagEndChar}else m+=this.buildTextValNode(f,u,"",e,r)}}this.options.oneListGroup&&(m=this.buildObjectNode(m,u,p,e)),i+=m}else if(this.options.attributesGroupName&&l===this.options.attributesGroupName){let d=Object.keys(t[l]),m=d.length;for(let p=0;p<m;p++){let h=La(d[p],!0,this.options,r,n);s+=this.buildAttrPairStr(h,Lt(t[l][d[p]]),c)}}else i+=this.processTextOrObjNode(t[l],u,e,r,n)}return{attrStr:s,val:i}};xr.prototype.buildAttrPairStr=function(t,e,r){return r||(e=this.options.attributeValueProcessor(t,Lt(e)),e=this.replaceEntitiesValue(e)),this.options.suppressBooleanAttributes&&e==="true"?" "+t:" "+t+'="'+Ps(e)+'"'};function Rye(t,e,r,n,s){let i=this.extractAttributes(t);if(n.push(e,i),this.checkStopNode(n)){let l=this.buildRawContent(t,n.getDepth()),A=this.buildAttributesForStopNode(t);return n.pop(),this.buildObjectNode(l,e,A,r)}let c=this.j2x(t,r+1,n,s);return n.pop(),e[0]==="?"?this.buildTextValNode("",e,c.attrStr,r,n):t[this.options.textNodeName]!==void 0&&Object.keys(t).length===1?this.buildTextValNode(t[this.options.textNodeName],e,c.attrStr,r,n):this.buildObjectNode(c.val,e,c.attrStr,r)}o(Rye,"processTextOrObjNode");xr.prototype.extractAttributes=function(t){if(!t||typeof t!="object")return null;let e={},r=!1;if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){let n=t[this.options.attributesGroupName];for(let s in n){if(!Object.prototype.hasOwnProperty.call(n,s))continue;let i=s.startsWith(this.options.attributeNamePrefix)?s.substring(this.options.attributeNamePrefix.length):s;e[i]=Ps(n[s]),r=!0}}else for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let s=this.isAttribute(n);s&&(e[s]=Ps(t[n]),r=!0)}return r?e:null};xr.prototype.buildRawContent=function(t,e=0){if(this.options.maxNestedTags&&e>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(typeof t=="string")return t;if(typeof t!="object"||t===null)return String(t);if(t[this.options.textNodeName]!==void 0)return t[this.options.textNodeName];let r="";for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n)||this.isAttribute(n)||this.options.attributesGroupName&&n===this.options.attributesGroupName)continue;let s=t[n];if(n===this.options.textNodeName)r+=s;else if(Array.isArray(s)){for(let i of s)if(typeof i=="string"||typeof i=="number")r+=`<${n}>${i}</${n}>`;else if(typeof i=="object"&&i!==null){let a=this.buildRawContent(i,e+1),c=this.buildAttributesForStopNode(i);a===""?r+=`<${n}${c}/>`:r+=`<${n}${c}>${a}</${n}>`}}else if(typeof s=="object"&&s!==null){let i=this.buildRawContent(s,e+1),a=this.buildAttributesForStopNode(s);i===""?r+=`<${n}${a}/>`:r+=`<${n}${a}>${i}</${n}>`}else r+=`<${n}>${s}</${n}>`}return r};xr.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+'="'+Ps(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+'="'+Ps(s)+'"'}}return e};xr.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="</"+e+this.tagEndChar,i="";return e[0]==="?"&&(i="?",s=""),(r||r==="")&&t.indexOf("<")===-1?this.indentate(n)+"<"+e+r+i+">"+t+s:this.options.commentPropName!==!1&&e===this.options.commentPropName&&i.length===0?this.indentate(n)+`<!--${Hd(t)}-->`+this.newLine:this.indentate(n)+"<"+e+r+i+this.tagEndChar+t+this.indentate(n)+s}};xr.prototype.closeTag=function(t){let e="";return this.options.unpairedTags.indexOf(t)!==-1?this.options.suppressUnpairedNode||(e="/"):this.options.suppressEmptyNode?e="/":e=`></${t}`,e};xr.prototype.checkStopNode=function(t){if(!this.stopNodeExpressions||this.stopNodeExpressions.length===0)return!1;for(let e=0;e<this.stopNodeExpressions.length;e++)if(t.matches(this.stopNodeExpressions[e]))return!0;return!1};xr.prototype.buildTextValNode=function(t,e,r,n,s){if(this.options.cdataPropName!==!1&&e===this.options.cdataPropName){let i=jg(t);return this.indentate(n)+`<![CDATA[${i}]]>`+this.newLine}else if(this.options.commentPropName!==!1&&e===this.options.commentPropName){let i=Hd(t);return this.indentate(n)+`<!--${i}-->`+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=Lt(i),i===""?this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar:this.indentate(n)+"<"+e+r+">"+i+"</"+e+this.tagEndChar}}};xr.prototype.replaceEntitiesValue=function(t){if(t&&t.length>0&&this.options.processEntities)for(let e=0;e<this.options.entities.length;e++){let r=this.options.entities[e];t=t.replace(r.regex,r.val)}return t};function vye(t){return this.options.indentBy.repeat(t)}o(vye,"indentate");function Pye(t){return t.startsWith(this.options.attributeNamePrefix)&&t!==this.options.textNodeName?t.substr(this.attrPrefixLen):!1}o(Pye,"isAttribute");var qw=xr;var kJ={validate:Hg};function _J(t){var e;return{attributesGroupName:"$",textNodeName:(e=t.xmlCharKey)!==null&&e!==void 0?e:"_",ignoreAttributes:!1,suppressBooleanAttributes:!1}}o(_J,"getCommonOptions");function Dye(t={}){var e,r;return Object.assign(Object.assign({},_J(t)),{attributeNamePrefix:"@_",format:!0,suppressEmptyNode:!0,indentBy:"",rootNodeName:(e=t.rootName)!==null&&e!==void 0?e:"root",cdataPropName:(r=t.cdataPropName)!==null&&r!==void 0?r:"__cdata"})}o(Dye,"getSerializerOptions");function Tye(t={}){return Object.assign(Object.assign({},_J(t)),{parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:t.stopNodes,processEntities:!0,trimValues:!1})}o(Tye,"getParserOptions");function Kg(t,e={}){let r=Dye(e),n=new qw(r),s={[r.rootNodeName]:t};return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${n.build(s)}`.replace(/\n/g,"")}o(Kg,"stringifyXML");async function Hw(t,e={}){if(!t)throw new Error("Document is empty");let r=kJ.validate(t);if(r!==!0)throw r;let s=new Hl(Tye(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(Hw,"parseXML");var Xg=ws("storage-blob");var OJ=require("events");var FJ=require("node:stream");var Zg=class extends FJ.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)throw new Error("Data size shouldn't be larger than the total length of buffers.")}_read(e){this.pushedBytesLength>=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let r=[],n=0;for(;n<e&&this.pushedBytesLength<this.byteLength;){let s=this.byteLength-this.pushedBytesLength,i=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer,a=Math.min(i,s);if(a>e-n){let c=this.byteOffsetInCurrentBuffer+e-n;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),this.pushedBytesLength+=e-n,this.byteOffsetInCurrentBuffer=c,n=e;break}else{let c=this.byteOffsetInCurrentBuffer+a;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,c)),a===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 UJ=Q(require("node:buffer"),1);var ey=UJ.default.constants.MAX_LENGTH,ty=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/ey);for(let i=0;i<s;i++){let a=i===s-1?e%ey:ey;a===0&&(a=ey),this.buffers.push(Buffer.allocUnsafe(a))}r&&this.fill(r,n)}fill(e,r){this._size=Math.min(this.capacity,r);let n=0,s=0,i=0,a=0,c=0;for(;c<this._size;){let l=e[n],A=this.buffers[s],u=l.copy(A,i,a);c+=u,a+=u,i+=u,a===l.length&&(n++,a=0),i===A.length&&(s++,i=0)}e.splice(0,n),e.length>0&&(e[0]=e[0].slice(a))}getReadableStream(){return new Zg(this.buffers,this.size)}};var ry=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new OJ.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.unresolvedLength<this.bufferSize){let n=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler(()=>n.getReadableStream(),n.size,this.offset).then(e).catch(r)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new ty(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else if(this.numBuffers<this.maxBuffers)e=this.shiftBufferFromUnresolvedDataArray(),this.numBuffers++;else return!1;this.outgoing.push(e),this.triggerOutgoingHandlers()}return!0}async triggerOutgoingHandlers(){let e;do{if(this.executingOutgoingHandlers>=this.concurrency)return;e=this.outgoing.shift(),e&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let r=e.size;this.executingOutgoingHandlers++,this.offset+=r;try{await this.outgoingHandler(()=>e.getReadableStream(),r,this.offset-r)}catch(n){this.emitter.emit("error",n);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}};var zw;function Gw(){return zw||(zw=wd()),zw}o(Gw,"getCachedDefaultHttpClient");var Ds=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 vi={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 So(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(So,"setURLParameter");function ny(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(ny,"setURLHost");function sy(t){try{return new URL(t).pathname}catch{return}}o(sy,"getURLPath");function iy(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<s.length-1});let n={};for(let s of r){let i=s.split("="),a=i[0],c=i[1];n[a]=c}return n}o(iy,"getURLQueries");async function oy(t,e,r){return new Promise((n,s)=>{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(oy,"delay");var zd=class extends Ds{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return Ie?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=So(e.url,vi.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 Gd=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new zd(e,r)}};var _a=class extends Ds{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var Yd=class extends _a{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};var Fa=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};var ze=class extends Fa{static{o(this,"AnonymousCredential")}create(e,r){return new Yd(e,r)}};var qJ=require("node:crypto");var kye=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]),Mye=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]),Lye=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 ay(t,e){return _ye(t,e)?-1:1}o(ay,"compareHeader");function _ye(t,e){let r=[kye,Mye,Lye],n=0,s=0,i=0;for(;n<r.length;){if(n===r.length-1&&s!==i)return s>i;let a=s<t.length?r[n][t[s].charCodeAt(0)]:1,c=i<e.length?r[n][e[i].charCodeAt(0)]:1;if(a===1&&c===1)s=0,i=0,++n;else if(a===c)++s,++i;else if(a===0)++s;else if(c===0)++i;else return a<c}return!1}o(_ye,"isLessThan");var Vd=class extends _a{static{o(this,"StorageSharedKeyCredentialPolicy")}factory;constructor(e,r,n){super(e,r),this.factory=n}signRequest(e){e.headers.set(Z.X_MS_DATE,new Date().toUTCString()),e.body&&(typeof e.body=="string"||e.body!==void 0)&&e.body.length>0&&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)=>ay(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=sy(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let s=iy(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 Fa{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new Vd(e,r,this)}computeHMACSHA256(e){return(0,qJ.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var Et=ws("storage-common");var Qn;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(Qn||(Qn={}));var Ro={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Qn.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Fye=new $r("The operation was aborted."),Jd=class extends Ds{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=Ro){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:Ro.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):Ro.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:Ro.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:Ro.maxRetryDelayInMs):Ro.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:Ro.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:Ro.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=ny(s.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(s.url=So(s.url,vi.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 Qn.EXPONENTIAL:s=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case Qn.FIXED:s=this.retryOptions.retryDelayInMs;break}else s=Math.random()*1e3;return Et.info(`RetryPolicy: Delay for ${s}ms`),oy(s,n,Fye)}};var $d=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new Jd(e,r,this.retryOptions)}};var Uye="storageBrowserPolicy";function HJ(){return{name:Uye,async sendRequest(t,e){return Ie||((t.method==="GET"||t.method==="HEAD")&&(t.url=So(t.url,vi.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(Z.COOKIE),t.headers.delete(Z.CONTENT_LENGTH)),e(t)}}}o(HJ,"storageBrowserPolicy");var Oye="StorageCorrectContentLengthPolicy";function zJ(){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:Oye,async sendRequest(e,r){return t(e),r(e)}}}o(zJ,"storageCorrectContentLengthPolicy");var qye="storageRetryPolicy",zl={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Qn.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Hye=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],zye=new $r("The operation was aborted.");function GJ(t={}){let e=t.retryPolicyType??zl.retryPolicyType,r=t.maxTries??zl.maxTries,n=t.retryDelayInMs??zl.retryDelayInMs,s=t.maxRetryDelayInMs??zl.maxRetryDelayInMs,i=t.secondaryHost??zl.secondaryHost,a=t.tryTimeoutInMs??zl.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 Hye)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 Qn.EXPONENTIAL:d=Math.min((Math.pow(2,u-1)-1)*n,s);break;case Qn.FIXED:d=n;break}else d=Math.random()*1e3;return Et.info(`RetryPolicy: Delay for ${d}ms`),d}return o(l,"calculateDelay"),{name:qye,async sendRequest(A,u){a&&(A.url=So(A.url,vi.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let d=A.url,m=i?ny(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(Sa(I))Et.error(`RetryPolicy: Caught error, message: ${I.message}, code: ${I.code}`),y=I;else throw Et.error(`RetryPolicy: Caught error, message: ${xo(I)}`),I}f=c({isPrimaryRetry:E,attempt:h,response:C,error:y}),f&&await oy(l(E,h),A.abortSignal,zye),h++}if(C)return C;throw y??new Ni("RetryPolicy failed without known error.")}}}o(GJ,"storageRetryPolicy");var YJ=require("node:crypto");var Gye="storageSharedKeyCredentialPolicy";function Yw(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,YJ.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)=>ay(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=sy(i.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=iy(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:Gye,async sendRequest(i,a){return e(i),a(i)}}}o(Yw,"storageSharedKeyCredentialPolicy");var Yye="storageRequestFailureDetailsParserPolicy";function VJ(){return{name:Yye,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(VJ,"storageRequestFailureDetailsParserPolicy");var JJ=require("node:crypto");var cy=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,JJ.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var ly="12.31.0",Ay="2026-02-06";var uy="https://storage.azure.com/.default",Pi={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var $n="",Vw="*",Vye=1*1024*1024;var Jye=4*Vye;var $J="AES256",WJ="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",jJ=["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"],KJ=["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"],XJ="BlobUsesCustomerSpecifiedEncryption",ZJ="BlobDoesNotUseCustomerSpecifiedEncryption",e3=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function Di(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(Di,"isPipelineLike");var Wd=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 Wd([],e);return r._credential=t,r}o(ct,"newPipeline");function $ye(t){let e=[Wye,t3,jye,Kye,Xye,Zye,tEe];if(t.factories.length){let r=t.factories.filter(n=>!e.some(s=>s(n)));if(r.length){let n=r.some(s=>eEe(s));return{wrappedPolicies:pw(r),afterRetry:n}}}}o($ye,"processDownlevelPipeline");function Jw(t){let{httpClient:e,...r}=t.options,n=t._coreHttpClient;n||(n=e?hw(e):Gw(),t._coreHttpClient=n);let s=t._corePipeline;if(!s){let i=`azsdk-js-azure-storage-blob/${ly}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`;s=Sd({...r,loggingOptions:{additionalAllowedHeaderNames:jJ,additionalAllowedQueryParameters:KJ,logger:Xg.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:Kg,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:Hw,serializerOptions:{xml:{xmlCharKey:"#"}}}}),s.removePolicy({phase:"Retry"}),s.removePolicy({name:G0}),s.addPolicy(zJ()),s.addPolicy(GJ(r.retryOptions),{phase:"Retry"}),s.addPolicy(VJ()),s.addPolicy(HJ());let c=$ye(t);c&&s.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=$w(t);Wr(l)?s.addPolicy(kl({credential:l,scopes:r.audience??uy,challengeCallbacks:{authorizeRequestOnChallenge:Fg}}),{phase:"Sign"}):l instanceof je&&s.addPolicy(Yw({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=s}return{...r,allowInsecureConnection:!0,httpClient:n,pipeline:s}}o(Jw,"getCoreClientOptions");function $w(t){if(t._credential)return t._credential;let e=new ze;for(let r of t.factories)if(Wr(r.credential))e=r.credential;else if(t3(r))return r;return e}o($w,"getCredentialFromPipeline");function t3(t){return t instanceof je?!0:t.constructor.name==="StorageSharedKeyCredential"}o(t3,"isStorageSharedKeyCredential");function Wye(t){return t instanceof ze?!0:t.constructor.name==="AnonymousCredential"}o(Wye,"isAnonymousCredential");function jye(t){return Wr(t.credential)}o(jye,"isCoreHttpBearerTokenFactory");function Kye(t){return t instanceof Gd?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(Kye,"isStorageBrowserPolicyFactory");function Xye(t){return t instanceof $d?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(Xye,"isStorageRetryPolicyFactory");function Zye(t){return t.constructor.name==="TelemetryPolicyFactory"}o(Zye,"isStorageTelemetryPolicyFactory");function eEe(t){return t.constructor.name==="InjectorPolicyFactory"}o(eEe,"isInjectorPolicyFactory");function tEe(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(tEe,"isCoreHttpPolicyFactory");var r3;(function(t){t.AES256="AES256"})(r3||(r3={}));var n3;(function(t){t.Backup="backup"})(n3||(n3={}));var s3;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(s3||(s3={}));var i3;(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"})(i3||(i3={}));var Zr={};a9(Zr,{AccessPolicy:()=>mEe,AppendBlobAppendBlockExceptionHeaders:()=>pR,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>fR,AppendBlobAppendBlockFromUrlHeaders:()=>hR,AppendBlobAppendBlockHeaders:()=>mR,AppendBlobCreateExceptionHeaders:()=>dR,AppendBlobCreateHeaders:()=>uR,AppendBlobSealExceptionHeaders:()=>yR,AppendBlobSealHeaders:()=>gR,ArrowConfiguration:()=>NEe,ArrowField:()=>SEe,BlobAbortCopyFromURLExceptionHeaders:()=>FS,BlobAbortCopyFromURLHeaders:()=>_S,BlobAcquireLeaseExceptionHeaders:()=>BS,BlobAcquireLeaseHeaders:()=>IS,BlobBreakLeaseExceptionHeaders:()=>vS,BlobBreakLeaseHeaders:()=>RS,BlobChangeLeaseExceptionHeaders:()=>SS,BlobChangeLeaseHeaders:()=>NS,BlobCopyFromURLExceptionHeaders:()=>LS,BlobCopyFromURLHeaders:()=>MS,BlobCreateSnapshotExceptionHeaders:()=>DS,BlobCreateSnapshotHeaders:()=>PS,BlobDeleteExceptionHeaders:()=>oS,BlobDeleteHeaders:()=>iS,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>fS,BlobDeleteImmutabilityPolicyHeaders:()=>hS,BlobDownloadExceptionHeaders:()=>rS,BlobDownloadHeaders:()=>my,BlobFlatListSegment:()=>pEe,BlobGetAccountInfoExceptionHeaders:()=>qS,BlobGetAccountInfoHeaders:()=>OS,BlobGetPropertiesExceptionHeaders:()=>sS,BlobGetPropertiesHeaders:()=>nS,BlobGetTagsExceptionHeaders:()=>GS,BlobGetTagsHeaders:()=>zS,BlobHierarchyListSegment:()=>yEe,BlobItemInternal:()=>hEe,BlobName:()=>fEe,BlobPrefix:()=>EEe,BlobPropertiesInternal:()=>gEe,BlobQueryExceptionHeaders:()=>HS,BlobQueryHeaders:()=>hy,BlobReleaseLeaseExceptionHeaders:()=>xS,BlobReleaseLeaseHeaders:()=>QS,BlobRenewLeaseExceptionHeaders:()=>wS,BlobRenewLeaseHeaders:()=>bS,BlobServiceProperties:()=>jd,BlobServiceStatistics:()=>Ww,BlobSetExpiryExceptionHeaders:()=>AS,BlobSetExpiryHeaders:()=>lS,BlobSetHttpHeadersExceptionHeaders:()=>dS,BlobSetHttpHeadersHeaders:()=>uS,BlobSetImmutabilityPolicyExceptionHeaders:()=>pS,BlobSetImmutabilityPolicyHeaders:()=>mS,BlobSetLegalHoldExceptionHeaders:()=>yS,BlobSetLegalHoldHeaders:()=>gS,BlobSetMetadataExceptionHeaders:()=>CS,BlobSetMetadataHeaders:()=>ES,BlobSetTagsExceptionHeaders:()=>VS,BlobSetTagsHeaders:()=>YS,BlobSetTierExceptionHeaders:()=>US,BlobSetTierHeaders:()=>py,BlobStartCopyFromURLExceptionHeaders:()=>kS,BlobStartCopyFromURLHeaders:()=>TS,BlobTag:()=>uEe,BlobTags:()=>Xd,BlobUndeleteExceptionHeaders:()=>cS,BlobUndeleteHeaders:()=>aS,Block:()=>CEe,BlockBlobCommitBlockListExceptionHeaders:()=>SR,BlockBlobCommitBlockListHeaders:()=>NR,BlockBlobGetBlockListExceptionHeaders:()=>vR,BlockBlobGetBlockListHeaders:()=>RR,BlockBlobPutBlobFromUrlExceptionHeaders:()=>BR,BlockBlobPutBlobFromUrlHeaders:()=>IR,BlockBlobStageBlockExceptionHeaders:()=>xR,BlockBlobStageBlockFromURLExceptionHeaders:()=>wR,BlockBlobStageBlockFromURLHeaders:()=>bR,BlockBlobStageBlockHeaders:()=>QR,BlockBlobUploadExceptionHeaders:()=>CR,BlockBlobUploadHeaders:()=>ER,BlockList:()=>rN,BlockLookupList:()=>tN,ClearRange:()=>BEe,ContainerAcquireLeaseExceptionHeaders:()=>qN,ContainerAcquireLeaseHeaders:()=>ON,ContainerBreakLeaseExceptionHeaders:()=>JN,ContainerBreakLeaseHeaders:()=>VN,ContainerChangeLeaseExceptionHeaders:()=>WN,ContainerChangeLeaseHeaders:()=>$N,ContainerCreateExceptionHeaders:()=>IN,ContainerCreateHeaders:()=>CN,ContainerDeleteExceptionHeaders:()=>bN,ContainerDeleteHeaders:()=>xN,ContainerFilterBlobsExceptionHeaders:()=>UN,ContainerFilterBlobsHeaders:()=>FN,ContainerGetAccessPolicyExceptionHeaders:()=>RN,ContainerGetAccessPolicyHeaders:()=>SN,ContainerGetAccountInfoExceptionHeaders:()=>tS,ContainerGetAccountInfoHeaders:()=>eS,ContainerGetPropertiesExceptionHeaders:()=>QN,ContainerGetPropertiesHeaders:()=>BN,ContainerItem:()=>cEe,ContainerListBlobFlatSegmentExceptionHeaders:()=>KN,ContainerListBlobFlatSegmentHeaders:()=>jN,ContainerListBlobHierarchySegmentExceptionHeaders:()=>ZN,ContainerListBlobHierarchySegmentHeaders:()=>XN,ContainerProperties:()=>lEe,ContainerReleaseLeaseExceptionHeaders:()=>zN,ContainerReleaseLeaseHeaders:()=>HN,ContainerRenameExceptionHeaders:()=>MN,ContainerRenameHeaders:()=>kN,ContainerRenewLeaseExceptionHeaders:()=>YN,ContainerRenewLeaseHeaders:()=>GN,ContainerRestoreExceptionHeaders:()=>TN,ContainerRestoreHeaders:()=>DN,ContainerSetAccessPolicyExceptionHeaders:()=>PN,ContainerSetAccessPolicyHeaders:()=>vN,ContainerSetMetadataExceptionHeaders:()=>NN,ContainerSetMetadataHeaders:()=>wN,ContainerSubmitBatchExceptionHeaders:()=>_N,ContainerSubmitBatchHeaders:()=>LN,CorsRule:()=>iEe,DelimitedTextConfiguration:()=>bEe,FilterBlobItem:()=>AEe,FilterBlobSegment:()=>Kd,GeoReplication:()=>aEe,JsonTextConfiguration:()=>wEe,KeyInfo:()=>Kw,ListBlobsFlatSegmentResponse:()=>Zw,ListBlobsHierarchySegmentResponse:()=>eN,ListContainersSegmentResponse:()=>jw,Logging:()=>rEe,Metrics:()=>sEe,PageBlobClearPagesExceptionHeaders:()=>XS,PageBlobClearPagesHeaders:()=>KS,PageBlobCopyIncrementalExceptionHeaders:()=>AR,PageBlobCopyIncrementalHeaders:()=>lR,PageBlobCreateExceptionHeaders:()=>$S,PageBlobCreateHeaders:()=>JS,PageBlobGetPageRangesDiffExceptionHeaders:()=>sR,PageBlobGetPageRangesDiffHeaders:()=>nR,PageBlobGetPageRangesExceptionHeaders:()=>rR,PageBlobGetPageRangesHeaders:()=>tR,PageBlobResizeExceptionHeaders:()=>oR,PageBlobResizeHeaders:()=>iR,PageBlobUpdateSequenceNumberExceptionHeaders:()=>cR,PageBlobUpdateSequenceNumberHeaders:()=>aR,PageBlobUploadPagesExceptionHeaders:()=>jS,PageBlobUploadPagesFromURLExceptionHeaders:()=>eR,PageBlobUploadPagesFromURLHeaders:()=>ZS,PageBlobUploadPagesHeaders:()=>WS,PageList:()=>dy,PageRange:()=>IEe,QueryFormat:()=>xEe,QueryRequest:()=>nN,QuerySerialization:()=>QEe,RetentionPolicy:()=>nEe,ServiceFilterBlobsExceptionHeaders:()=>EN,ServiceFilterBlobsHeaders:()=>yN,ServiceGetAccountInfoExceptionHeaders:()=>hN,ServiceGetAccountInfoHeaders:()=>pN,ServiceGetPropertiesExceptionHeaders:()=>aN,ServiceGetPropertiesHeaders:()=>oN,ServiceGetStatisticsExceptionHeaders:()=>lN,ServiceGetStatisticsHeaders:()=>cN,ServiceGetUserDelegationKeyExceptionHeaders:()=>mN,ServiceGetUserDelegationKeyHeaders:()=>dN,ServiceListContainersSegmentExceptionHeaders:()=>uN,ServiceListContainersSegmentHeaders:()=>AN,ServiceSetPropertiesExceptionHeaders:()=>iN,ServiceSetPropertiesHeaders:()=>sN,ServiceSubmitBatchExceptionHeaders:()=>gN,ServiceSubmitBatchHeaders:()=>fN,SignedIdentifier:()=>dEe,StaticWebsite:()=>oEe,StorageError:()=>R,UserDelegationKey:()=>Xw});var jd={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"}}}}},rEe={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"}}}}},nEe={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"}}}}},sEe={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"}}}}},iEe={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"}}}}},oEe={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"}}}}},Ww={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},aEe={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"}}}}},jw={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"}}}}},cEe={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"}}}}}}},lEe={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"}}}}},Kw={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"}}}}},Xw={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"}}}}},Kd={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"}}}}},AEe={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"}}}}},Xd={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"}}}}}}},uEe={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"}}}}},dEe={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"}}}}},mEe={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"}}}}},Zw={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"}}}}},pEe={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"}}}}}}},hEe={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"}}}}},fEe={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"}}}}},gEe={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"}}}}},eN={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"}}}}},yEe={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"}}}}}}},EEe={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},tN={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"}}}}}}},rN={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"}}}}}}},CEe={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"}}}}},dy={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"}}}}},IEe={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"}}}}},BEe={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"}}}}},nN={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"}}}}},QEe={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},xEe={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"}}}}}}},bEe={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"}}}}},wEe={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},NEe={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"}}}}}}},SEe={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"}}}}},sN={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"}}}}},iN={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oN={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"}}}}},aN={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cN={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"}}}}},lN={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AN={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"}}}}},uN={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dN={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"}}}}},mN={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},pN={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"}}}}},hN={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fN={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"}}}}},gN={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yN={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"}}}}},EN={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},CN={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"}}}}},IN={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BN={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"}}}}},QN={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xN={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"}}}}},bN={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wN={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"}}}}},RN={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vN={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"}}}}},PN={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},DN={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"}}}}},TN={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kN={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"}}}}},MN={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LN={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"}}}}},_N={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FN={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"}}}}},UN={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ON={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"}}}}},qN={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},HN={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"}}}}},zN={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GN={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"}}}}},YN={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},VN={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"}}}}},JN={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$N={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"}}}}},WN={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},jN={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"}}}}},KN={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},XN={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"}}}}},ZN={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},eS={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"}}}}},tS={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},my={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"}}}}},rS={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nS={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"}}}}},sS={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iS={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"}}}}},oS={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aS={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"}}}}},cS={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lS={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"}}}}},AS={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uS={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"}}}}},dS={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mS={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"]}}}}},pS={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hS={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"}}}}},fS={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gS={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"}}}}},yS={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ES={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"}}}}},CS={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IS={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"}}}}},BS={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QS={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"}}}}},xS={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bS={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"}}}}},wS={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"}}}}},RS={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"}}}}},vS={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PS={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"}}}}},DS={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TS={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"}}}}},kS={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"}}}}},MS={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"}}}}},LS={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"}}}}},_S={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"}}}}},FS={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},py={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"}}}}},US={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OS={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"}}}}},qS={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hy={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"}}}}},HS={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zS={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"}}}}},GS={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},YS={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"}}}}},VS={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JS={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"}}}}},$S={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},WS={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"}}}}},jS={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},KS={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"}}}}},XS={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ZS={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"}}}}},eR={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"}}}}},tR={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"}}}}},rR={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nR={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"}}}}},sR={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iR={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"}}}}},oR={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aR={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"}}}}},cR={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lR={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"}}}}},AR={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uR={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"}}}}},dR={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},mR={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"}}}}},pR={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hR={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"}}}}},fR={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"}}}}},gR={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"}}}}},yR={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ER={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"}}}}},CR={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IR={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"}}}}},BR={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"}}}}},QR={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"}}}}},xR={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bR={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"}}}}},wR={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"}}}}},RR={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"}}}}},vR={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Ts={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},o3={parameterPath:"blobServiceProperties",mapper:jd},xn={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},v={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},Zd={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"}}},P={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"}}},T={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"}}},a3={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},em={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},tm={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},ks={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},Ms={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},c3={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},l3={parameterPath:"keyInfo",mapper:Kw},A3={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Gl={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},fy={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},gy={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"}}},yy={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},Ey={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Cy={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},Rt={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Gt={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},PR={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},u3={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},d3={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"}}},Iy={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},DR={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},m3={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},By={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},p3={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},h3={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},f3={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},g3={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},y3={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}},wn={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Qy={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},xy={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},by={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},wy={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},vo={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},Ny={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Sy={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Ry={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},vy={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"}}},TR={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"},kR={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},E3={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},or={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},Ls={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},Ua={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},C3={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},I3={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"}}},B3={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},Q3={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},x3={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},b3={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},w3={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}},_s={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},Fs={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},Us={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},Os={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},qs={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},Hs={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},MR={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Wn={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"]}}},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"}}},R3={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ti={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"]}}},LR={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},zs={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},Gs={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},Ys={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},Vs={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},Dy={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},Oa={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},Kn={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},v3={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},Js={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},P3={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},ki={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},Mi={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},Ty={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},Li={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},D3={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},T3={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},k3={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},M3={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},L3={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"]}}},_3={parameterPath:["options","queryRequest"],mapper:nN},F3={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},_R={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},FR={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},UR={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},OR={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},qR={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},U3={parameterPath:["options","tags"],mapper:Xd},Nn={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},$s={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},O3={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},HR={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},zR={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},qa={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Ha={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},za={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},ky={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},GR={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},My={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},Ly={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},_y={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},q3={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Yl={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},H3={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},Vl={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},z3={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},YR={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},G3={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},Y3={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},V3={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},J3={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},$3={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},VR={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},JR={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},Fy={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},Uy={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},W3={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},$R={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},j3={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},WR={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},jR={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},K3={parameterPath:"blocks",mapper:tN},KR={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},X3={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var Oy=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},REe)}getProperties(e){return this.client.sendOperationRequest({options:e},vEe)}getStatistics(e){return this.client.sendOperationRequest({options:e},PEe)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},DEe)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},TEe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},kEe)}submitBatch(e,r,n,s){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:s},MEe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},LEe)}},Po=jr(Zr,!0),REe={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:sN},default:{bodyMapper:R,headersMapper:iN}},requestBody:o3,queryParameters:[Zd,bn,P],urlParameters:[v],headerParameters:[Ts,xn,D,T],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Po},vEe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:jd,headersMapper:oN},default:{bodyMapper:R,headersMapper:aN}},queryParameters:[Zd,bn,P],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:Po},PEe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Ww,headersMapper:cN},default:{bodyMapper:R,headersMapper:lN}},queryParameters:[Zd,P,a3],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:Po},DEe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:jw,headersMapper:AN},default:{bodyMapper:R,headersMapper:uN}},queryParameters:[P,em,tm,ks,Ms,c3],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:Po},TEe={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:Xw,headersMapper:dN},default:{bodyMapper:R,headersMapper:mN}},requestBody:l3,queryParameters:[Zd,P,A3],urlParameters:[v],headerParameters:[Ts,xn,D,T],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Po},kEe={path:"/",httpMethod:"GET",responses:{200:{headersMapper:pN},default:{bodyMapper:R,headersMapper:hN}},queryParameters:[bn,P,Gl],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:Po},MEe={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:fN},default:{bodyMapper:R,headersMapper:gN}},requestBody:fy,queryParameters:[P,gy],urlParameters:[v],headerParameters:[xn,D,T,St,yy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Po},LEe={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Kd,headersMapper:yN},default:{bodyMapper:R,headersMapper:EN}},queryParameters:[P,ks,Ms,Ey,Cy],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:Po};var qy=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},_Ee)}getProperties(e){return this.client.sendOperationRequest({options:e},FEe)}delete(e){return this.client.sendOperationRequest({options:e},UEe)}setMetadata(e){return this.client.sendOperationRequest({options:e},OEe)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},qEe)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},HEe)}restore(e){return this.client.sendOperationRequest({options:e},zEe)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},GEe)}submitBatch(e,r,n,s){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:s},YEe)}filterBlobs(e){return this.client.sendOperationRequest({options:e},VEe)}acquireLease(e){return this.client.sendOperationRequest({options:e},JEe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},$Ee)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},WEe)}breakLease(e){return this.client.sendOperationRequest({options:e},jEe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},KEe)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},XEe)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},ZEe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},eCe)}},vt=jr(Zr,!0),_Ee={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:CN},default:{bodyMapper:R,headersMapper:IN}},queryParameters:[P,Rt],urlParameters:[v],headerParameters:[D,T,U,Gt,PR,u3,d3],isXML:!0,serializer:vt},FEe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:BN},default:{bodyMapper:R,headersMapper:QN}},queryParameters:[P,Rt],urlParameters:[v],headerParameters:[D,T,U,oe],isXML:!0,serializer:vt},UEe={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:xN},default:{bodyMapper:R,headersMapper:bN}},queryParameters:[P,Rt],urlParameters:[v],headerParameters:[D,T,U,oe,ne,se],isXML:!0,serializer:vt},OEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:wN},default:{bodyMapper:R,headersMapper:NN}},queryParameters:[P,Rt,Iy],urlParameters:[v],headerParameters:[D,T,U,Gt,oe,ne],isXML:!0,serializer:vt},qEe={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:RN}},queryParameters:[P,Rt,DR],urlParameters:[v],headerParameters:[D,T,U,oe],isXML:!0,serializer:vt},HEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:vN},default:{bodyMapper:R,headersMapper:PN}},requestBody:m3,queryParameters:[P,Rt,DR],urlParameters:[v],headerParameters:[Ts,xn,D,T,PR,oe,ne,se],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:vt},zEe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:DN},default:{bodyMapper:R,headersMapper:TN}},queryParameters:[P,Rt,By],urlParameters:[v],headerParameters:[D,T,U,p3,h3],isXML:!0,serializer:vt},GEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:kN},default:{bodyMapper:R,headersMapper:MN}},queryParameters:[P,Rt,f3],urlParameters:[v],headerParameters:[D,T,U,g3,y3],isXML:!0,serializer:vt},YEe={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:LN},default:{bodyMapper:R,headersMapper:_N}},requestBody:fy,queryParameters:[P,gy,Rt],urlParameters:[v],headerParameters:[xn,D,T,St,yy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:vt},VEe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Kd,headersMapper:FN},default:{bodyMapper:R,headersMapper:UN}},queryParameters:[P,ks,Ms,Ey,Cy,Rt],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:vt},JEe={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:ON},default:{bodyMapper:R,headersMapper:qN}},queryParameters:[P,Rt,wn],urlParameters:[v],headerParameters:[D,T,U,ne,se,Qy,xy,by],isXML:!0,serializer:vt},$Ee={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:HN},default:{bodyMapper:R,headersMapper:zN}},queryParameters:[P,Rt,wn],urlParameters:[v],headerParameters:[D,T,U,ne,se,wy,vo],isXML:!0,serializer:vt},WEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:GN},default:{bodyMapper:R,headersMapper:YN}},queryParameters:[P,Rt,wn],urlParameters:[v],headerParameters:[D,T,U,ne,se,vo,Ny],isXML:!0,serializer:vt},jEe={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:VN},default:{bodyMapper:R,headersMapper:JN}},queryParameters:[P,Rt,wn],urlParameters:[v],headerParameters:[D,T,U,ne,se,Sy,Ry],isXML:!0,serializer:vt},KEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:$N},default:{bodyMapper:R,headersMapper:WN}},queryParameters:[P,Rt,wn],urlParameters:[v],headerParameters:[D,T,U,ne,se,vo,vy,Py],isXML:!0,serializer:vt},XEe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Zw,headersMapper:jN},default:{bodyMapper:R,headersMapper:KN}},queryParameters:[P,em,tm,ks,Ms,Rt,TR,kR],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:vt},ZEe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:eN,headersMapper:XN},default:{bodyMapper:R,headersMapper:ZN}},queryParameters:[P,em,tm,ks,Ms,Rt,TR,kR,E3],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:vt},eCe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:eS},default:{bodyMapper:R,headersMapper:tS}},queryParameters:[bn,P,Gl],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:vt};var Hy=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},tCe)}getProperties(e){return this.client.sendOperationRequest({options:e},rCe)}delete(e){return this.client.sendOperationRequest({options:e},nCe)}undelete(e){return this.client.sendOperationRequest({options:e},sCe)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},iCe)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},oCe)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},aCe)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},cCe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},lCe)}setMetadata(e){return this.client.sendOperationRequest({options:e},ACe)}acquireLease(e){return this.client.sendOperationRequest({options:e},uCe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},dCe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},mCe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},pCe)}breakLease(e){return this.client.sendOperationRequest({options:e},hCe)}createSnapshot(e){return this.client.sendOperationRequest({options:e},fCe)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},gCe)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},yCe)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},ECe)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},CCe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},ICe)}query(e){return this.client.sendOperationRequest({options:e},BCe)}getTags(e){return this.client.sendOperationRequest({options:e},QCe)}setTags(e){return this.client.sendOperationRequest({options:e},xCe)}},Ge=jr(Zr,!0),tCe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:my},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:my},default:{bodyMapper:R,headersMapper:rS}},queryParameters:[P,or,Ls],urlParameters:[v],headerParameters:[D,T,U,oe,ne,se,Ua,C3,I3,Ke,Xe,Ze,fe,ge,Ae],isXML:!0,serializer:Ge},rCe={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:nS},default:{bodyMapper:R,headersMapper:sS}},queryParameters:[P,or,Ls],urlParameters:[v],headerParameters:[D,T,U,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae],isXML:!0,serializer:Ge},nCe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:iS},default:{bodyMapper:R,headersMapper:oS}},queryParameters:[P,or,Ls,Q3],urlParameters:[v],headerParameters:[D,T,U,oe,ne,se,fe,ge,Ae,B3],isXML:!0,serializer:Ge},sCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:aS},default:{bodyMapper:R,headersMapper:cS}},queryParameters:[P,By],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:Ge},iCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:lS},default:{bodyMapper:R,headersMapper:AS}},queryParameters:[P,x3],urlParameters:[v],headerParameters:[D,T,U,b3,w3],isXML:!0,serializer:Ge},oCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:uS},default:{bodyMapper:R,headersMapper:dS}},queryParameters:[bn,P],urlParameters:[v],headerParameters:[D,T,U,oe,ne,se,fe,ge,Ae,_s,Fs,Us,Os,qs,Hs],isXML:!0,serializer:Ge},aCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:mS},default:{bodyMapper:R,headersMapper:pS}},queryParameters:[P,or,Ls,MR],urlParameters:[v],headerParameters:[D,T,U,se,Wn,jn],isXML:!0,serializer:Ge},cCe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:hS},default:{bodyMapper:R,headersMapper:fS}},queryParameters:[P,or,Ls,MR],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:Ge},lCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:gS},default:{bodyMapper:R,headersMapper:yS}},queryParameters:[P,or,Ls,N3],urlParameters:[v],headerParameters:[D,T,U,S3],isXML:!0,serializer:Ge},ACe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ES},default:{bodyMapper:R,headersMapper:CS}},queryParameters:[P,Iy],urlParameters:[v],headerParameters:[D,T,U,Gt,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,ft],isXML:!0,serializer:Ge},uCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:IS},default:{bodyMapper:R,headersMapper:BS}},queryParameters:[P,wn],urlParameters:[v],headerParameters:[D,T,U,ne,se,Qy,xy,by,fe,ge,Ae],isXML:!0,serializer:Ge},dCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:QS},default:{bodyMapper:R,headersMapper:xS}},queryParameters:[P,wn],urlParameters:[v],headerParameters:[D,T,U,ne,se,wy,vo,fe,ge,Ae],isXML:!0,serializer:Ge},mCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:bS},default:{bodyMapper:R,headersMapper:wS}},queryParameters:[P,wn],urlParameters:[v],headerParameters:[D,T,U,ne,se,vo,Ny,fe,ge,Ae],isXML:!0,serializer:Ge},pCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:NS},default:{bodyMapper:R,headersMapper:SS}},queryParameters:[P,wn],urlParameters:[v],headerParameters:[D,T,U,ne,se,vo,vy,Py,fe,ge,Ae],isXML:!0,serializer:Ge},hCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:RS},default:{bodyMapper:R,headersMapper:vS}},queryParameters:[P,wn],urlParameters:[v],headerParameters:[D,T,U,ne,se,Sy,Ry,fe,ge,Ae],isXML:!0,serializer:Ge},fCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:PS},default:{bodyMapper:R,headersMapper:DS}},queryParameters:[P,R3],urlParameters:[v],headerParameters:[D,T,U,Gt,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,ft],isXML:!0,serializer:Ge},gCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:TS},default:{bodyMapper:R,headersMapper:kS}},queryParameters:[P],urlParameters:[v],headerParameters:[D,T,U,Gt,oe,ne,se,fe,ge,Ae,Wn,jn,Ti,LR,zs,Gs,Ys,Vs,Dy,Oa,Kn,v3,Js],isXML:!0,serializer:Ge},yCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:MS},default:{bodyMapper:R,headersMapper:LS}},queryParameters:[P],urlParameters:[v],headerParameters:[D,T,U,Gt,oe,ne,se,fe,ge,Ae,Wn,jn,ft,Ti,zs,Gs,Ys,Vs,Oa,Kn,Js,P3,ki,Mi,Ty,Li],isXML:!0,serializer:Ge},ECe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:_S},default:{bodyMapper:R,headersMapper:FS}},queryParameters:[P,D3,k3],urlParameters:[v],headerParameters:[D,T,U,oe,T3],isXML:!0,serializer:Ge},CCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:py},202:{headersMapper:py},default:{bodyMapper:R,headersMapper:US}},queryParameters:[P,or,Ls,M3],urlParameters:[v],headerParameters:[D,T,U,oe,Ae,LR,L3],isXML:!0,serializer:Ge},ICe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:OS},default:{bodyMapper:R,headersMapper:qS}},queryParameters:[bn,P,Gl],urlParameters:[v],headerParameters:[D,T,U],isXML:!0,serializer:Ge},BCe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:hy},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:hy},default:{bodyMapper:R,headersMapper:HS}},requestBody:_3,queryParameters:[P,or,F3],urlParameters:[v],headerParameters:[Ts,xn,D,T,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ge},QCe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Xd,headersMapper:zS},default:{bodyMapper:R,headersMapper:GS}},queryParameters:[P,or,Ls,_R],urlParameters:[v],headerParameters:[D,T,U,oe,Ae,FR,UR,OR,qR],isXML:!0,serializer:Ge},xCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:YS},default:{bodyMapper:R,headersMapper:VS}},requestBody:U3,queryParameters:[P,Ls,_R],urlParameters:[v],headerParameters:[Ts,xn,D,T,oe,Ae,FR,UR,OR,qR,Nn,$s],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ge};var zy=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},bCe)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},wCe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},NCe)}uploadPagesFromURL(e,r,n,s,i){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:n,range:s,options:i},SCe)}getPageRanges(e){return this.client.sendOperationRequest({options:e},RCe)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},vCe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},PCe)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},DCe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},TCe)}},_i=jr(Zr,!0),bCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:JS},default:{bodyMapper:R,headersMapper:$S}},queryParameters:[P],urlParameters:[v],headerParameters:[D,T,U,St,Gt,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,_s,Fs,Us,Os,qs,Hs,Wn,jn,ft,Ti,Kn,Js,O3,HR,zR],isXML:!0,serializer:_i},wCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:WS},default:{bodyMapper:R,headersMapper:jS}},requestBody:Ha,queryParameters:[P,ky],urlParameters:[v],headerParameters:[D,T,St,oe,ne,se,Ua,Ke,Xe,Ze,fe,ge,Ae,ft,Nn,$s,qa,za,GR,My,Ly,_y],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:_i},NCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:KS},default:{bodyMapper:R,headersMapper:XS}},queryParameters:[P,ky],urlParameters:[v],headerParameters:[D,T,U,St,oe,ne,se,Ua,Ke,Xe,Ze,fe,ge,Ae,ft,My,Ly,_y,q3],isXML:!0,serializer:_i},SCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ZS},default:{bodyMapper:R,headersMapper:eR}},queryParameters:[P,ky],urlParameters:[v],headerParameters:[D,T,U,St,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,ft,zs,Gs,Ys,Vs,ki,Mi,Li,GR,My,Ly,_y,Yl,H3,Vl,z3],isXML:!0,serializer:_i},RCe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:dy,headersMapper:tR},default:{bodyMapper:R,headersMapper:rR}},queryParameters:[P,ks,Ms,or,YR],urlParameters:[v],headerParameters:[D,T,U,oe,ne,se,Ua,fe,ge,Ae],isXML:!0,serializer:_i},vCe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:dy,headersMapper:nR},default:{bodyMapper:R,headersMapper:sR}},queryParameters:[P,ks,Ms,or,YR,G3],urlParameters:[v],headerParameters:[D,T,U,oe,ne,se,Ua,fe,ge,Ae,Y3],isXML:!0,serializer:_i},PCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:iR},default:{bodyMapper:R,headersMapper:oR}},queryParameters:[bn,P],urlParameters:[v],headerParameters:[D,T,U,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,ft,HR],isXML:!0,serializer:_i},DCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:aR},default:{bodyMapper:R,headersMapper:cR}},queryParameters:[bn,P],urlParameters:[v],headerParameters:[D,T,U,oe,ne,se,fe,ge,Ae,zR,V3],isXML:!0,serializer:_i},TCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:lR},default:{bodyMapper:R,headersMapper:AR}},queryParameters:[P,J3],urlParameters:[v],headerParameters:[D,T,U,ne,se,fe,ge,Ae,Oa],isXML:!0,serializer:_i};var Gy=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},kCe)}appendBlock(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},MCe)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},LCe)}seal(e){return this.client.sendOperationRequest({options:e},_Ce)}},Yy=jr(Zr,!0),kCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:uR},default:{bodyMapper:R,headersMapper:dR}},queryParameters:[P],urlParameters:[v],headerParameters:[D,T,U,St,Gt,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,_s,Fs,Us,Os,qs,Hs,Wn,jn,ft,Kn,Js,$3],isXML:!0,serializer:Yy},MCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:mR},default:{bodyMapper:R,headersMapper:pR}},requestBody:Ha,queryParameters:[P,VR],urlParameters:[v],headerParameters:[D,T,St,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,ft,Nn,$s,qa,za,JR,Fy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Yy},LCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:hR},default:{bodyMapper:R,headersMapper:fR}},queryParameters:[P,VR],urlParameters:[v],headerParameters:[D,T,U,St,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,ft,zs,Gs,Ys,Vs,ki,Mi,Li,Nn,Yl,Vl,JR,Fy,Uy],isXML:!0,serializer:Yy},_Ce={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:gR},default:{bodyMapper:R,headersMapper:yR}},queryParameters:[P,W3],urlParameters:[v],headerParameters:[D,T,U,oe,ne,se,fe,ge,Fy],isXML:!0,serializer:Yy};var Vy=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},FCe)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},UCe)}stageBlock(e,r,n,s){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:s},OCe)}stageBlockFromURL(e,r,n,s){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:s},qCe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},HCe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},zCe)}},$l=jr(Zr,!0),FCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ER},default:{bodyMapper:R,headersMapper:CR}},requestBody:Ha,queryParameters:[P],urlParameters:[v],headerParameters:[D,T,St,Gt,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,_s,Fs,Us,Os,qs,Hs,Wn,jn,ft,Ti,Kn,Js,Nn,$s,qa,za,$R],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:$l},UCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:IR},default:{bodyMapper:R,headersMapper:BR}},queryParameters:[P],urlParameters:[v],headerParameters:[D,T,U,St,Gt,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,_s,Fs,Us,Os,qs,Hs,ft,Ti,zs,Gs,Ys,Vs,Dy,Oa,Kn,ki,Mi,Ty,Li,Nn,$R,j3],isXML:!0,serializer:$l},OCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:QR},default:{bodyMapper:R,headersMapper:xR}},requestBody:Ha,queryParameters:[P,WR,jR],urlParameters:[v],headerParameters:[D,T,St,oe,Ke,Xe,Ze,ft,Nn,$s,qa,za],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:$l},qCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bR},default:{bodyMapper:R,headersMapper:wR}},queryParameters:[P,WR,jR],urlParameters:[v],headerParameters:[D,T,U,St,oe,Ke,Xe,Ze,ft,zs,Gs,Ys,Vs,ki,Mi,Li,Yl,Vl,Uy],isXML:!0,serializer:$l},HCe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NR},default:{bodyMapper:R,headersMapper:SR}},requestBody:K3,queryParameters:[P,KR],urlParameters:[v],headerParameters:[Ts,xn,D,T,Gt,oe,ne,se,Ke,Xe,Ze,fe,ge,Ae,_s,Fs,Us,Os,qs,Hs,Wn,jn,ft,Ti,Kn,Js,Nn,$s],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:$l},zCe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:rN,headersMapper:RR},default:{bodyMapper:R,headersMapper:vR}},queryParameters:[P,or,KR,X3],urlParameters:[v],headerParameters:[D,T,U,oe,Ae],isXML:!0,serializer:$l};var rm=class extends Td{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 Oy(this),this.container=new qy(this),this.blob=new Hy(this),this.pageBlob=new zy(this),this.appendBlob=new Gy(this),this.blockBlob=new Vy(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var nm=class extends rm{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 e4(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=YCe(r),e.pathname=r,e.toString()}o(e4,"escapeURLPath");function GCe(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(GCe,"getProxyUriFromDevConnString");function Ga(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(Ga,"getValueInConnString");function Ya(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=GCe(t),t=WJ);let r=Ga(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=Ga(t,"AccountName"),i=Buffer.from(Ga(t,"AccountKey"),"base64"),!r){n=Ga(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=Ga(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=Ga(t,"SharedAccessSignature"),s=Ga(t,"AccountName");if(s||(s=tv(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(Ya,"extractConnectionStringParts");function YCe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(YCe,"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 Wl(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(Wl,"setURLParameter");function XR(t,e){return new URL(t).searchParams.get(e)??void 0}o(XR,"getURLParameter");function t4(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(t4,"getURLScheme");function sm(t,e){let r=new URL(t),n=r.search;return n?n+="&"+e:n=e,r.search=n,r.toString()}o(sm,"appendToURLQuery");function Be(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(Be,"truncatedISO8061Date");function VCe(t){return Ie?Buffer.from(t).toString("base64"):btoa(t)}o(VCe,"base64encode");function ZR(t,e){t.length>42&&(t=t.slice(0,42));let i=t+JCe(e.toString(),48-t.length,"0");return VCe(i)}o(ZR,"generateBlockID");function JCe(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(JCe,"padStart");function ev(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(ev,"iEqual");function tv(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:Jy(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(tv,"getAccountNameFromUrl");function Jy(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&&e3.includes(t.port)}o(Jy,"isIpEndpointStyle");function Do(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(Do,"toBlobTagsString");function r4(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(r4,"toBlobTags");function $y(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o($y,"toTags");function rv(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(rv,"toQuerySerialization");function Wy(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(Wy,"parseObjectReplicationRecord");function jl(t){return t?t.scheme+" "+t.value:void 0}o(jl,"httpAuthorizationToString");function*nv(t){let e=[],r=[];t.pageRange&&(e=t.pageRange),t.clearRange&&(r=t.clearRange);let n=0,s=0;for(;n<e.length&&s<r.length;)e[n].start<r[s].start?(yield{start:e[n].start,end:e[n].end,isClear:!1},++n):(yield{start:r[s].start,end:r[s].end,isClear:!0},++s);for(;n<e.length;++n)yield{start:e[n].start,end:e[n].end,isClear:!1};for(;s<r.length;++s)yield{start:r[s].start,end:r[s].end,isClear:!0}}o(nv,"ExtractPageRangeInfoItems");function Y(t){if("_response"in t)return t;throw new TypeError(`Unexpected response object ${t}`)}o(Y,"assertResponse");var Kl=class{static{o(this,"StorageClient")}url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,r){this.url=e4(e),this.accountName=tv(e),this.pipeline=r,this.storageClientContext=new nm(this.url,Jw(r)),this.isHttps=ev(t4(this.url)||"","https"),this.credential=$w(r);let n=this.storageClientContext;n.requestContentType=void 0}};var q=bd({packageName:"@azure/storage-blob",packageVersion:ly,namespace:"Microsoft.Storage"});var Ws=class t{static{o(this,"BlobSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"x":r.deleteVersion=!0;break;case"t":r.tag=!0;break;case"m":r.move=!0;break;case"e":r.execute=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;default:throw new RangeError(`Invalid permission: ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.deleteVersion&&(r.deleteVersion=!0),e.tag&&(r.tag=!0),e.move&&(r.move=!0),e.execute&&(r.execute=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),r}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}};var js=class t{static{o(this,"ContainerSASPermissions")}static parse(e){let r=new t;for(let n of e)switch(n){case"r":r.read=!0;break;case"a":r.add=!0;break;case"c":r.create=!0;break;case"w":r.write=!0;break;case"d":r.delete=!0;break;case"l":r.list=!0;break;case"t":r.tag=!0;break;case"x":r.deleteVersion=!0;break;case"m":r.move=!0;break;case"e":r.execute=!0;break;case"i":r.setImmutabilityPolicy=!0;break;case"y":r.permanentDelete=!0;break;case"f":r.filterByTags=!0;break;default:throw new RangeError(`Invalid permission ${n}`)}return r}static from(e){let r=new t;return e.read&&(r.read=!0),e.add&&(r.add=!0),e.create&&(r.create=!0),e.write&&(r.write=!0),e.delete&&(r.delete=!0),e.list&&(r.list=!0),e.deleteVersion&&(r.deleteVersion=!0),e.tag&&(r.tag=!0),e.move&&(r.move=!0),e.execute&&(r.execute=!0),e.setImmutabilityPolicy&&(r.setImmutabilityPolicy=!0),e.permanentDelete&&(r.permanentDelete=!0),e.filterByTags&&(r.filterByTags=!0),r}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;filterByTags=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),this.filterByTags&&e.push("f"),e.join("")}};function Xn(t){return t.end?`${t.start}-${t.end}`:t.start}o(Xn,"ipRangeToString");var n4;(function(t){t.Https="https",t.HttpsAndHttp="https,http"})(n4||(n4={}));var Zn=class{static{o(this,"SASQueryParameters")}version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;preauthorizedAgentObjectId;correlationId;get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,r,n,s,i,a,c,l,A,u,d,m,p,h,f,C,y,E,I,B,N){this.version=e,this.signature=r,n!==void 0&&typeof n!="string"?(this.permissions=n.permissions,this.services=n.services,this.resourceTypes=n.resourceTypes,this.protocol=n.protocol,this.startsOn=n.startsOn,this.expiresOn=n.expiresOn,this.ipRangeInner=n.ipRange,this.identifier=n.identifier,this.delegatedUserObjectId=n.delegatedUserObjectId,this.encryptionScope=n.encryptionScope,this.resource=n.resource,this.cacheControl=n.cacheControl,this.contentDisposition=n.contentDisposition,this.contentEncoding=n.contentEncoding,this.contentLanguage=n.contentLanguage,this.contentType=n.contentType,n.userDelegationKey&&(this.signedOid=n.userDelegationKey.signedObjectId,this.signedTenantId=n.userDelegationKey.signedTenantId,this.signedStartsOn=n.userDelegationKey.signedStartsOn,this.signedExpiresOn=n.userDelegationKey.signedExpiresOn,this.signedService=n.userDelegationKey.signedService,this.signedVersion=n.userDelegationKey.signedVersion,this.preauthorizedAgentObjectId=n.preauthorizedAgentObjectId,this.correlationId=n.correlationId)):(this.services=s,this.resourceTypes=i,this.expiresOn=l,this.permissions=n,this.protocol=a,this.startsOn=c,this.ipRangeInner=A,this.delegatedUserObjectId=N,this.encryptionScope=B,this.identifier=u,this.resource=d,this.cacheControl=m,this.contentDisposition=p,this.contentEncoding=h,this.contentLanguage=f,this.contentType=C,y&&(this.signedOid=y.signedObjectId,this.signedTenantId=y.signedTenantId,this.signedStartsOn=y.signedStartsOn,this.signedExpiresOn=y.signedExpiresOn,this.signedService=y.signedService,this.signedVersion=y.signedVersion,this.preauthorizedAgentObjectId=E,this.correlationId=I))}toString(){let e=["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","sig","rscc","rscd","rsce","rscl","rsct","saoid","scid","sduoid"],r=[];for(let n of e)switch(n){case"sv":this.tryAppendQueryParameter(r,n,this.version);break;case"ss":this.tryAppendQueryParameter(r,n,this.services);break;case"srt":this.tryAppendQueryParameter(r,n,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(r,n,this.protocol);break;case"st":this.tryAppendQueryParameter(r,n,this.startsOn?Be(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(r,n,this.expiresOn?Be(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(r,n,this.ipRange?Xn(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(r,n,this.identifier);break;case"ses":this.tryAppendQueryParameter(r,n,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(r,n,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(r,n,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(r,n,this.signedStartsOn?Be(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(r,n,this.signedExpiresOn?Be(this.signedExpiresOn,!1):void 0);break;case"sks":this.tryAppendQueryParameter(r,n,this.signedService);break;case"skv":this.tryAppendQueryParameter(r,n,this.signedVersion);break;case"sr":this.tryAppendQueryParameter(r,n,this.resource);break;case"sp":this.tryAppendQueryParameter(r,n,this.permissions);break;case"sig":this.tryAppendQueryParameter(r,n,this.signature);break;case"rscc":this.tryAppendQueryParameter(r,n,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(r,n,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(r,n,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(r,n,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(r,n,this.contentType);break;case"saoid":this.tryAppendQueryParameter(r,n,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(r,n,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(r,n,this.delegatedUserObjectId);break}return r.join("&")}tryAppendQueryParameter(e,r,n){n&&(r=encodeURIComponent(r),n=encodeURIComponent(n),r.length>0&&n.length>0&&e.push(`${r}=${n}`))}};function im(t,e,r){return om(t,e,r).sasQueryParameters}o(im,"generateBlobSASQueryParameters");function om(t,e,r){let n=t.version?t.version:Ay,s=e instanceof je?e:void 0,i;if(s===void 0&&r!==void 0&&(i=new cy(r,e)),s===void 0&&i===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")return s!==void 0?jCe(t,s):n>="2025-07-05"?eIe(t,i):ZCe(t,i);if(n>="2018-11-09")return s!==void 0?WCe(t,s):n>="2020-02-10"?XCe(t,i):KCe(t,i);if(n>="2015-04-05"){if(s!==void 0)return $Ce(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(om,"generateBlobSASQueryParametersInternal");function $Ce(t,e){if(t=Ja(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=Ws.parse(t.permissions.toString()).toString():n=js.parse(t.permissions.toString()).toString());let s=[n||"",t.startsOn?Be(t.startsOn,!1):"",t.expiresOn?Be(t.expiresOn,!1):"",Va(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Xn(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 Zn(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($Ce,"generateBlobSASQueryParameters20150405");function WCe(t,e){if(t=Ja(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=Ws.parse(t.permissions.toString()).toString():s=js.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Be(t.startsOn,!1):"",t.expiresOn?Be(t.expiresOn,!1):"",Va(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Xn(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 Zn(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(WCe,"generateBlobSASQueryParameters20181109");function jCe(t,e){if(t=Ja(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=Ws.parse(t.permissions.toString()).toString():s=js.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Be(t.startsOn,!1):"",t.expiresOn?Be(t.expiresOn,!1):"",Va(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Xn(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 Zn(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(jCe,"generateBlobSASQueryParameters20201206");function KCe(t,e){if(t=Ja(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=Ws.parse(t.permissions.toString()).toString():s=js.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Be(t.startsOn,!1):"",t.expiresOn?Be(t.expiresOn,!1):"",Va(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Be(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Be(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?Xn(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 Zn(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(KCe,"generateBlobSASQueryParametersUDK20181109");function XCe(t,e){if(t=Ja(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=Ws.parse(t.permissions.toString()).toString():s=js.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Be(t.startsOn,!1):"",t.expiresOn?Be(t.expiresOn,!1):"",Va(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Be(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Be(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Xn(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 Zn(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(XCe,"generateBlobSASQueryParametersUDK20200210");function ZCe(t,e){if(t=Ja(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=Ws.parse(t.permissions.toString()).toString():s=js.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Be(t.startsOn,!1):"",t.expiresOn?Be(t.expiresOn,!1):"",Va(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Be(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Be(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Xn(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 Zn(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(ZCe,"generateBlobSASQueryParametersUDK20201206");function eIe(t,e){if(t=Ja(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=Ws.parse(t.permissions.toString()).toString():s=js.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Be(t.startsOn,!1):"",t.expiresOn?Be(t.expiresOn,!1):"",Va(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Be(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Be(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?Xn(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 Zn(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(eIe,"generateBlobSASQueryParametersUDK20250705");function Va(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}o(Va,"getCanonicalName");function Ja(t){let e=t.version?t.version:Ay;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(Ja,"SASSignatureValuesSanityCheckAndAutofill");var am=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=Dl()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==$n||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==$n||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!==$n||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==$n||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!==$n||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==$n||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!==$n||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==$n||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!==$n||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==$n||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 s4=require("node:stream");var jy=class extends s4.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 $r("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.maxRetryRequests?(this.retries+=1,this.getter(this.offset).then(r=>{this.source=r,this.setSourceEventHandlers()}).catch(r=>{this.destroy(r)})):this.destroy(new Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(new Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`))},"sourceErrorOrEndHandler");_destroy(e,r){this.removeSourceEventHandlers(),this.source.destroy(),r(e===null?void 0:e)}};var Ky=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 Ie?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,n,s,i={}){this.originalResponse=e,this.blobDownloadStream=new jy(this.originalResponse.readableStreamBody,r,n,s,i)}};var A4=require("node:stream");var sv=new Uint8Array([79,98,106,1]),i4="avro.codec",o4="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)<<s,s+=7;while(a&&s<28);if(a){n=n,c=268435456;do i=await t.readByte(e,r),n+=(i&127)*c,c*=128;while(i&128);let l=(n%2?-(n+1):n)/2;if(l<Number.MIN_SAFE_INTEGER||l>Number.MAX_SAFE_INTEGER)throw new Error("Integer overflow.");return l}return n>>1^-(n&1)}static async readLong(e,r={}){return t.readZigZagLong(e,r)}static async readInt(e,r={}){return t.readZigZagLong(e,r)}static async readNull(){return null}static async readBoolean(e,r={}){let n=await t.readByte(e,r);if(n===1)return!0;if(n===0)return!1;throw new Error("Byte was not a boolean.")}static async readFloat(e,r={}){let n=await t.readFixedBytes(e,4,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat32(0,!0)}static async readDouble(e,r={}){let n=await t.readFixedBytes(e,8,r);return new DataView(n.buffer,n.byteOffset,n.byteLength).getFloat64(0,!0)}static async readBytes(e,r={}){let n=await t.readLong(e,r);if(n<0)throw new Error("Bytes size was negative.");return e.read(n,{abortSignal:r.abortSignal})}static async readString(e,r={}){let n=await t.readBytes(e,r);return new TextDecoder().decode(n)}static async readMapPair(e,r,n={}){let 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}},$a;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})($a||($a={}));var Pt;(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"})(Pt||(Pt={}));var Fi=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 Pt.NULL:case Pt.BOOLEAN:case Pt.INT:case Pt.LONG:case Pt.FLOAT:case Pt.DOUBLE:case Pt.BYTES:case Pt.STRING:return new iv(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new av(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case $a.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 lv(n,e.name);case $a.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 ov(e.symbols);case $a.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new cv(t.fromSchema(e.values));case $a.ARRAY:case $a.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},iv=class extends Fi{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case Pt.NULL:return Ve.readNull();case Pt.BOOLEAN:return Ve.readBoolean(e,r);case Pt.INT:return Ve.readInt(e,r);case Pt.LONG:return Ve.readLong(e,r);case Pt.FLOAT:return Ve.readFloat(e,r);case Pt.DOUBLE:return Ve.readDouble(e,r);case Pt.BYTES:return Ve.readBytes(e,r);case Pt.STRING:return Ve.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},ov=class extends Fi{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]}},av=class extends Fi{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)}},cv=class extends Fi{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)}},lv=class extends Fi{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 Av(t,e){if(t===e)return!0;if(t==null||e==null||t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(t[r]!==e[r])return!1;return!0}o(Av,"arraysEqual");var cm=class{static{o(this,"AvroReader")}_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,r,n,s){this._dataStream=e,this._headerStream=r||e,this._initialized=!1,this._blockOffset=n||0,this._objectIndex=s||0,this._initialBlockOffset=n||0}async initialize(e={}){let r=await Ve.readFixedBytes(this._headerStream,sv.length,{abortSignal:e.abortSignal});if(!Av(r,sv))throw new Error("Stream is not an Avro file.");this._metadata=await Ve.readMap(this._headerStream,Ve.readString,{abortSignal:e.abortSignal});let n=this._metadata[i4];if(!(n==null||n==="null"))throw new Error("Codecs are not supported");this._syncMarker=await Ve.readFixedBytes(this._headerStream,16,{abortSignal:e.abortSignal});let s=JSON.parse(this._metadata[o4]);if(this._itemType=Fi.fromSchema(s),this._blockOffset===0&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await Ve.readLong(this._dataStream,{abortSignal:e.abortSignal}),await Ve.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let i=0;i<this._objectIndex;i++)await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal}),this._itemsRemainingInBlock--}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}async*parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let r=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,this._itemsRemainingInBlock===0){let n=await Ve.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!Av(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 lm=class{static{o(this,"AvroReadable")}};var l4=require("buffer");var c4=new $r("Reading from the avro stream was aborted."),Am=class extends lm{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?l4.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 c4;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(c4)},"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 Xy=class extends A4.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 cm(new Am(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 Zy=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 Ie?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new Xy(this.originalResponse.readableStreamBody,r)}};var uv;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(uv||(uv={}));var dv;(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"})(dv||(dv={}));function To(t){if(t!==void 0)return t}o(To,"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=$J)}o(It,"ensureCpkIfSpecified");var mv;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(mv||(mv={}));function eE(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(eE,"rangeResponseFromModel");var W4=Q($4(),1);var AE=class extends W4.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=pm({...l,blobClient:r,copySource:n,startCopyFromURLOptions:c});super(A),typeof i=="function"&&this.onProgress(i),this.intervalInMs=s}delay(){return Qd(this.intervalInMs)}},KIe=o(async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?pm(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,pm(r)):(r.isCancelled=!0,pm(r))},"cancel"),XIe=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 pm(r)},"update"),ZIe=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function pm(t){return{state:{...t},cancel:KIe,toString:ZIe,update:XIe}}o(pm,"makeBlobBeginCopyFromURLPollOperation");function br(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(br,"rangeToString");var j4=require("events");var hm;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(hm||(hm={}));var fm=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=hm.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new j4.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=hm.Error,r(n)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==hm.Error){if(this.completed>=this.operations.length){this.emitter.emit("finish");return}for(;this.actives<this.concurrency;){let e=this.nextOperation();if(e)e();else return}}}};var uE=Q(require("node:fs"),1),K4=Q(require("node:util"),1);async function X4(t,e,r,n,s){let i=0,a=n-r;return new Promise((c,l)=>{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<a&&l(new Error(`Stream drains before getting enough data needed. Data read: ${i}, data need: ${a}`)),c()}),t.on("error",u=>{clearTimeout(A),l(u)})})}o(X4,"streamToBuffer");async function Z4(t,e){return new Promise((r,n)=>{let s=uE.default.createWriteStream(e);t.on("error",i=>{n(i)}),s.on("error",i=>{n(i)}),s.on("close",r),t.pipe(s)})}o(Z4,"readStreamToLocalFile");var e8=K4.default.promisify(uE.default.stat),t8=uE.default.createReadStream;var Ui=class t extends Kl{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(Di(r))a=e,i=r;else if(Ie&&r instanceof je||r instanceof ze||Wr(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=Ya(e);if(A.kind==="AccountConnString")if(Ie){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=XR(this.url,Pi.Parameters.SNAPSHOT),this._versionId=XR(this.url,Pi.Parameters.VERSIONID)}withSnapshot(e){return new t(Wl(this.url,Pi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(Wl(this.url,Pi.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new mE(this.url,this.pipeline)}getBlockBlobClient(){return new eA(this.url,this.pipeline)}getPageBlobClient(){return new pE(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:Ie?void 0:n.onProgress},range:e===0&&!r?void 0:br({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:Wy(i.objectReplicationRules)};if(!Ie)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 Ky(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:br({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===XJ||n.details.errorCode===ZJ))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:Wy(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:r4(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:$y({blobTagSet:n.blobTagSet})||{}}})}getBlobLeaseClient(e){return new am(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 AE({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:jl(r.sourceAuthorization),tier:To(r.tier),blobTagsString:Do(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(To(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<c)throw new RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${c}`);let d=0,m=new fm(l.concurrency);for(let p=a;p<a+c;p=p+A)m.addOperation(async()=>{let h=a+c;p+A<h&&(h=p+A);let C=(await this.download(p,h-p,{abortSignal:l.abortSignal,conditions:l.conditions,maxRetryRequests:l.maxRetryRequestsPerBlock,customerProvidedKey:l.customerProvidedKey,tracingOptions:u.tracingOptions})).readableStreamBody;await X4(C,i,p-a,h-a),d+=h-p,l.onProgress&&l.onProgress({loadedBytes:d})});return await m.do(),i})}async downloadToFile(e,r=0,n,s={}){return q.withSpan("BlobClient-downloadToFile",s,async i=>{let a=await this.download(r,n,{...s,tracingOptions:i.tracingOptions});return a.readableStreamBody&&await Z4(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(Jy(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:To(r.tier),blobTagsString:Do(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=im({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r(sm(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 om({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=im({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();n(sm(this.url,s))})}generateUserDelegationSasStringToSign(e,r){return om({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})))}},mE=class t extends Ui{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,n,s){let i,a;if(s=s||{},Di(r))a=e,i=r;else if(Ie&&r instanceof je||r instanceof ze||Wr(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=Ya(e);if(A.kind==="AccountConnString")if(Ie){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(Wl(this.url,Pi.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:Do(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:Vw};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:br({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:jl(s.sourceAuthorization),cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:i.tracingOptions})))}},eA=class t extends Ui{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,n,s){let i,a;if(s=s||{},Di(r))a=e,i=r;else if(Ie&&r instanceof je||r instanceof ze||Wr(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=Ya(e);if(A.kind==="AccountConnString")if(Ie){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(Wl(this.url,Pi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(It(r.customerProvidedKey,this.isHttps),!Ie)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:rv(r.inputTextConfiguration),outputSerialization:rv(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions}));return new Zy(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:To(n.tier),blobTagsString:Do(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:jl(r.sourceAuthorization),tier:To(r.tier),blobTagsString:Do(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:br({offset:n,count:s}),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:jl(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:To(r.tier),blobTagsString:Do(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(Ie){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=Dl(),u=0,d=new fm(n.concurrency);for(let m=0;m<c;m++)d.addOperation(async()=>{let p=ZR(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 e8(e)).size;return this.uploadSeekableInternal((i,a)=>()=>t8(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=Dl(),l=0,A=[];return await new ry(e,r,n,async(d,m)=>{let p=ZR(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}))})}},pE=class t extends Ui{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,n,s){let i,a;if(s=s||{},Di(r))a=e,i=r;else if(Ie&&r instanceof je||r instanceof ze||Wr(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=Ya(e);if(A.kind==="AccountConnString")if(Ie){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(Wl(this.url,Pi.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:To(r.tier),blobTagsString:Do(r.tags),tracingOptions:n.tracingOptions})))}async createIfNotExists(e,r={}){return q.withSpan("PageBlobClient-createIfNotExists",r,async n=>{try{let s={ifNoneMatch:Vw},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:br({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,br({offset:r,count:s}),0,br({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:jl(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:br({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:br({offset:e,count:r}),tracingOptions:s.tracingOptions}));return eE(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:br({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*nv(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:br({offset:e,count:r}),tracingOptions:i.tracingOptions}));return eE(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:br({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*nv(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:br({offset:e,count:r}),tracingOptions:i.tracingOptions}));return eE(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 r8;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(r8||(r8={}));var n8;(function(t){t.AES256="AES256"})(n8||(n8={}));var hE=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};var tA=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"}};tA.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var Ka=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"}};Ka.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var gm=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var ABe=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())})},_v=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 s8(t,e,r){return ABe(this,void 0,void 0,function*(){var n;let s=new Ui(t),i=s.getBlockBlobClient(),a=new _v((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 hE(`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(s8,"uploadCacheArchiveSDK");var o8=Q(require("buffer"),1),Ks=Q(require("fs"),1),a8=Q(require("stream"),1),c8=Q(require("util"),1);var fE=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 gE(t){return t?t>=200&&t<300:!1}o(gE,"isSuccessStatusCode");function uBe(t){return t?t>=500:!0}o(uBe,"isServerErrorStatusCode");function dBe(t){return t?[We.BadGateway,We.ServiceUnavailable,We.GatewayTimeout].includes(t):!1}o(dBe,"isRetryableStatusCode");function mBe(t){return fE(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(mBe,"sleep");function i8(t,e,r){return fE(this,arguments,void 0,function*(n,s,i,a=Ff,c=Uf,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),!uBe(m)))return d;if(m&&(p=dBe(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 mBe(c),u++}throw Error(`${n} failed: ${A}`)})}o(i8,"retry");function ym(t,e){return fE(this,arguments,void 0,function*(r,n,s=Ff,i=Uf){return yield i8(r,n,a=>a.statusCode,s,i,a=>{if(a instanceof Bs)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(ym,"retryTypedResponse");function rA(t,e){return fE(this,arguments,void 0,function*(r,n,s=Ff,i=Uf){return yield i8(r,n,a=>a.message.statusCode,s,i)})}o(rA,"retryHttpClientResponse");var Sn=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 pBe(t,e){return Sn(this,void 0,void 0,function*(){yield c8.promisify(a8.pipeline)(t.message,e)})}o(pBe,"pipeResponseToStream");var yE=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 EE(t,e){return Sn(this,void 0,void 0,function*(){let r=Ks.createWriteStream(e),n=new wi("actions/cache"),s=yield rA("downloadCache",()=>Sn(this,void 0,void 0,function*(){return n.get(t)}));s.message.socket.setTimeout(e0,()=>{s.message.destroy(),b(`Aborting download, socket timed out after ${e0} ms`)}),yield pBe(s,r);let i=s.message.headers["content-length"];if(i){let a=parseInt(i),c=Is(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(EE,"downloadCacheHttpClient");function l8(t,e,r){return Sn(this,void 0,void 0,function*(){var n;let s=yield Ks.promises.open(e,"w"),i=new wi("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield rA("downloadCacheMetadata",()=>Sn(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;E<l;E+=u){let I=Math.min(u,l-E);A.push({offset:E,promiseGetter:o(()=>Sn(this,void 0,void 0,function*(){return yield hBe(i,t,E,I)}),"promiseGetter")})}A.reverse();let d=0,m=0,p=new yE(l);p.startDisplayTimer();let h=p.onProgress(),f=[],C,y=o(()=>Sn(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(l8,"downloadCacheHttpClientConcurrent");function hBe(t,e,r,n){return Sn(this,void 0,void 0,function*(){let i=0;for(;;)try{let c=yield u8(3e4,fBe(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(hBe,"downloadSegmentRetry");function fBe(t,e,r,n){return Sn(this,void 0,void 0,function*(){let s=yield rA("downloadCachePart",()=>Sn(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(fBe,"downloadSegment");function A8(t,e,r){return Sn(this,void 0,void 0,function*(){var n;let s=new eA(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 EE(t,e);else{let c=Math.min(134217728,o8.constants.MAX_LENGTH),l=new yE(a),A=Ks.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 u8(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)&&Ks.writeFileSync(A,h)}}finally{l.stopDisplayTimer(),Ks.closeSync(A)}}})}o(A8,"downloadCacheStorageSDK");var u8=o((t,e)=>Sn(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 Fv(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(Fv,"getUploadOptions");function d8(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(d8,"getDownloadOptions");function Uv(){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(Uv,"isGhes");function Em(){return Uv()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(Em,"getCacheServiceVersion");var m8=["none","read","write","write-only"];function Ov(){return(process.env.ACTIONS_CACHE_MODE||"").trim().toLowerCase()}o(Ov,"getCacheMode");function p8(t){return m8.includes(t)?t==="read"||t==="write":!0}o(p8,"isCacheReadable");function h8(t){return m8.includes(t)?t==="write"||t==="write-only":!0}o(h8,"isCacheWritable");function CE(){let t=Em();switch(t){case"v1":return process.env.ACTIONS_CACHE_URL||process.env.ACTIONS_RESULTS_URL||"";case"v2":return process.env.ACTIONS_RESULTS_URL||"";default:throw new Error(`Unsupported cache service version: ${t}`)}}o(CE,"getCacheServiceURL");var E8=Q(y8(),1);function IE(){return`@actions/cache-${E8.version}`}o(IE,"getUserAgentString");var wr=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=CE();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 EBe(t,e){return`${t};api-version=${e}`}o(EBe,"createAcceptHeader");function CBe(){return{headers:{Accept:EBe("application/json","6.0-preview.1")}}}o(CBe,"getRequestOptions");function qv(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new xl(t);return new wi(IE(),[e],CBe())}o(qv,"createHttpClient");function B8(t,e,r){return wr(this,void 0,void 0,function*(){var n;let s=qv(),i=Ql(e,r?.compressionMethod,r?.enableCrossOsArchive),a=`cache?keys=${encodeURIComponent(t.join(","))}&version=${i}`,c=yield ym("getCacheEntry",()=>wr(this,void 0,void 0,function*(){return s.getJson(Cm(a))}));if(c.statusCode===204)return fa()&&(yield IBe(t[0],s,i)),null;if(!gE(c.statusCode)){let u=(n=c.error)===null||n===void 0?void 0:n.message;throw u?.includes(Of)?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 Al(A),b("Cache Result:"),b(JSON.stringify(l)),l})}o(B8,"getCacheEntry");function IBe(t,e,r){return wr(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,s=yield ym("listCache",()=>wr(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(IBe,"printCachesListForDiagnostics");function Hv(t,e,r){return wr(this,void 0,void 0,function*(){let n=new I8.URL(t),s=d8(r);n.hostname.endsWith(".blob.core.windows.net")?s.useAzureSdk?yield A8(t,e,s):s.concurrentBlobDownloads?yield l8(t,e,s):yield EE(t,e):yield EE(t,e)})}o(Hv,"downloadCache");function Q8(t,e,r){return wr(this,void 0,void 0,function*(){let n=qv(),s=Ql(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:s,cacheSize:r?.cacheSize};return yield ym("reserveCache",()=>wr(this,void 0,void 0,function*(){return n.postJson(Cm("caches"),i)}))})}o(Q8,"reserveCache");function C8(t,e){return`bytes ${t}-${e}/*`}o(C8,"getContentRange");function BBe(t,e,r,n,s){return wr(this,void 0,void 0,function*(){b(`Uploading chunk of size ${s-n+1} bytes at offset ${n} with content range: ${C8(n,s)}`);let i={"Content-Type":"application/octet-stream","Content-Range":C8(n,s)},a=yield rA(`uploadChunk (start: ${n}, end: ${s})`,()=>wr(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!gE(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(BBe,"uploadChunk");function QBe(t,e,r,n){return wr(this,void 0,void 0,function*(){let s=Is(r),i=Cm(`caches/${e.toString()}`),a=nA.openSync(r,"r"),c=Fv(n),l=s0("uploadConcurrency",c.uploadConcurrency),A=s0("uploadChunkSize",c.uploadChunkSize),u=[...new Array(l).keys()];b("Awaiting all uploads");let d=0;try{yield Promise.all(u.map(()=>wr(this,void 0,void 0,function*(){for(;d<s;){let m=Math.min(s-d,A),p=d,h=d+m-1;d+=A,yield BBe(t,i,()=>nA.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{nA.closeSync(a)}})}o(QBe,"uploadFile");function xBe(t,e,r){return wr(this,void 0,void 0,function*(){let n={size:r};return yield ym("commitCache",()=>wr(this,void 0,void 0,function*(){return t.postJson(Cm(`caches/${e.toString()}`),n)}))})}o(xBe,"commitCache");function zv(t,e,r,n){return wr(this,void 0,void 0,function*(){if(Fv(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield s8(r,e,n)}else{let i=qv();b("Upload cache"),yield QBe(i,t,e,n),b("Commiting cache");let a=Is(e);le(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield xBe(i,t,a);if(!gE(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);le("Cache saved successfully")}})}o(zv,"saveCache");var g$=Q(A$(),1),ut=Q(At(),1),tn=Q(At(),1),rc=Q(At(),1),nc=Q(At(),1),sc=Q(At(),1);var _P=Q(At(),1),FP=Q(At(),1),p$=Q(At(),1),h$=Q(At(),1),f$=Q(At(),1);var kP=Q(At(),1),MP=Q(At(),1),u$=Q(At(),1),d$=Q(At(),1),m$=Q(At(),1);var LP=class extends m$.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,d$.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,u$.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.scope=e.string();break;case 2:i.permission=e.int64().toString();break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?MP.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.scope!==""&&r.tag(1,kP.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,kP.WireType.Varint).int64(e.permission);let s=n.writeUnknownFields;return s!==!1&&(s==!0?MP.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},oC=new LP;var UP=class extends f$.MessageType{static{o(this,"CacheMetadata$Type")}constructor(){super("github.actions.results.entities.v1.CacheMetadata",[{no:1,name:"repository_id",kind:"scalar",T:3},{no:2,name:"scope",kind:"message",repeat:1,T:o(()=>oC,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,h$.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,p$.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.repositoryId=e.int64().toString();break;case 2:i.scope.push(oC.internalBinaryRead(e,e.uint32(),n));break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?FP.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.repositoryId!=="0"&&r.tag(1,_P.WireType.Varint).int64(e.repositoryId);for(let i=0;i<e.scope.length;i++)oC.internalBinaryWrite(e.scope[i],r.tag(2,_P.WireType.LengthDelimited).fork(),n).join();let s=n.writeUnknownFields;return s!==!1&&(s==!0?FP.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},ri=new UP;var OP=class extends sc.MessageType{static{o(this,"CreateCacheEntryRequest$Type")}constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:o(()=>ri,"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,nc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,rc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.metadata=ri.internalBinaryRead(e,e.uint32(),n,i.metadata);break;case 2:i.key=e.string();break;case 3:i.version=e.string();break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?tn.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.metadata&&ri.internalBinaryWrite(e.metadata,r.tag(1,ut.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,ut.WireType.LengthDelimited).string(e.key),e.version!==""&&r.tag(3,ut.WireType.LengthDelimited).string(e.version);let s=n.writeUnknownFields;return s!==!1&&(s==!0?tn.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},VP=new OP,qP=class extends sc.MessageType{static{o(this,"CreateCacheEntryResponse$Type")}constructor(){super("github.actions.results.api.v1.CreateCacheEntryResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"signed_upload_url",kind:"scalar",T:9},{no:3,name:"message",kind:"scalar",T:9}])}create(e){let r={ok:!1,signedUploadUrl:"",message:""};return globalThis.Object.defineProperty(r,nc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,rc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.ok=e.bool();break;case 2:i.signedUploadUrl=e.string();break;case 3:i.message=e.string();break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?tn.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,ut.WireType.Varint).bool(e.ok),e.signedUploadUrl!==""&&r.tag(2,ut.WireType.LengthDelimited).string(e.signedUploadUrl),e.message!==""&&r.tag(3,ut.WireType.LengthDelimited).string(e.message);let s=n.writeUnknownFields;return s!==!1&&(s==!0?tn.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},JP=new qP,HP=class extends sc.MessageType{static{o(this,"FinalizeCacheEntryUploadRequest$Type")}constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadRequest",[{no:1,name:"metadata",kind:"message",T:o(()=>ri,"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,nc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,rc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.metadata=ri.internalBinaryRead(e,e.uint32(),n,i.metadata);break;case 2:i.key=e.string();break;case 3:i.sizeBytes=e.int64().toString();break;case 4:i.version=e.string();break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?tn.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.metadata&&ri.internalBinaryWrite(e.metadata,r.tag(1,ut.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,ut.WireType.LengthDelimited).string(e.key),e.sizeBytes!=="0"&&r.tag(3,ut.WireType.Varint).int64(e.sizeBytes),e.version!==""&&r.tag(4,ut.WireType.LengthDelimited).string(e.version);let s=n.writeUnknownFields;return s!==!1&&(s==!0?tn.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},$P=new HP,zP=class extends sc.MessageType{static{o(this,"FinalizeCacheEntryUploadResponse$Type")}constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"entry_id",kind:"scalar",T:3},{no:3,name:"message",kind:"scalar",T:9}])}create(e){let r={ok:!1,entryId:"0",message:""};return globalThis.Object.defineProperty(r,nc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,rc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.ok=e.bool();break;case 2:i.entryId=e.int64().toString();break;case 3:i.message=e.string();break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?tn.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,ut.WireType.Varint).bool(e.ok),e.entryId!=="0"&&r.tag(2,ut.WireType.Varint).int64(e.entryId),e.message!==""&&r.tag(3,ut.WireType.LengthDelimited).string(e.message);let s=n.writeUnknownFields;return s!==!1&&(s==!0?tn.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},WP=new zP,GP=class extends sc.MessageType{static{o(this,"GetCacheEntryDownloadURLRequest$Type")}constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLRequest",[{no:1,name:"metadata",kind:"message",T:o(()=>ri,"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,nc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,rc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.metadata=ri.internalBinaryRead(e,e.uint32(),n,i.metadata);break;case 2:i.key=e.string();break;case 3:i.restoreKeys.push(e.string());break;case 4:i.version=e.string();break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?tn.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.metadata&&ri.internalBinaryWrite(e.metadata,r.tag(1,ut.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,ut.WireType.LengthDelimited).string(e.key);for(let i=0;i<e.restoreKeys.length;i++)r.tag(3,ut.WireType.LengthDelimited).string(e.restoreKeys[i]);e.version!==""&&r.tag(4,ut.WireType.LengthDelimited).string(e.version);let s=n.writeUnknownFields;return s!==!1&&(s==!0?tn.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},jP=new GP,YP=class extends sc.MessageType{static{o(this,"GetCacheEntryDownloadURLResponse$Type")}constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLResponse",[{no:1,name:"ok",kind:"scalar",T:8},{no:2,name:"signed_download_url",kind:"scalar",T:9},{no:3,name:"matched_key",kind:"scalar",T:9}])}create(e){let r={ok:!1,signedDownloadUrl:"",matchedKey:""};return globalThis.Object.defineProperty(r,nc.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,rc.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.ok=e.bool();break;case 2:i.signedDownloadUrl=e.string();break;case 3:i.matchedKey=e.string();break;default:let A=n.readUnknownField;if(A==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let u=e.skip(l);A!==!1&&(A===!0?tn.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,ut.WireType.Varint).bool(e.ok),e.signedDownloadUrl!==""&&r.tag(2,ut.WireType.LengthDelimited).string(e.signedDownloadUrl),e.matchedKey!==""&&r.tag(3,ut.WireType.LengthDelimited).string(e.matchedKey);let s=n.writeUnknownFields;return s!==!1&&(s==!0?tn.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},KP=new YP,uZe=new g$.ServiceType("github.actions.results.api.v1.CacheService",[{name:"CreateCacheEntry",options:{},I:VP,O:JP},{name:"FinalizeCacheEntryUpload",options:{},I:$P,O:WP},{name:"GetCacheEntryDownloadURL",options:{},I:jP,O:KP}]);var aC=class{static{o(this,"CacheServiceClientJSON")}constructor(e){this.rpc=e,this.CreateCacheEntry.bind(this),this.FinalizeCacheEntryUpload.bind(this),this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){let r=VP.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",r).then(s=>JP.fromJson(s,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=$P.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(s=>WP.fromJson(s,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=jP.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(s=>KP.fromJson(s,{ignoreUnknownFields:!0}))}};function y$(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(Al(r),Al(encodeURIComponent(r)))}catch(e){b(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(y$,"maskSigUrl");function E$(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"&&y$(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&y$(t.signed_download_url)}o(E$,"maskSecretUrls");var cC=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())})},XP=class{static{o(this,"CacheServiceClient")}constructor(e,r,n,s){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let i=YG();this.baseUrl=CE(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),s&&(this.retryMultiplier=s),this.httpClient=new wi(e,[new xl(i)])}request(e,r,n,s){return cC(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(()=>cC(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 cC(this,void 0,void 0,function*(){let r=0,n="",s="";for(;r<this.maxAttempts;){let i=!1;try{let c=yield e(),l=c.message.statusCode;s=yield c.readBody(),b(`[Response] - ${c.message.statusCode}`),b(`Headers: ${JSON.stringify(c.message.headers,null,2)}`);let A=JSON.parse(s);if(E$(A),b(`Body: ${JSON.stringify(A,null,2)}`),this.isSuccessStatusCode(l))return{response:c,body:A};if(i=this.isRetryableHttpStatusCode(l),n=`Failed request: (${l}) ${c.message.statusMessage}`,A.msg){if(Ka.isUsageErrorMessage(A.msg))throw new Ka;n=`${n}: ${A.msg}`}if(l===We.TooManyRequests){let u=c.message.headers["retry-after"];if(u){let d=parseInt(u,10);!isNaN(d)&&d>0&&ht(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}throw new gm(`Rate limited: ${n}`)}}catch(c){if(c instanceof SyntaxError&&b(`Raw Body: ${s}`),c instanceof Ka||c instanceof gm)throw c;if(tA.isNetworkErrorCode(c?.code))throw new tA(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?[We.BadGateway,We.GatewayTimeout,We.InternalServerError,We.ServiceUnavailable].includes(e):!1}sleep(e){return cC(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 ZP(t){let e=new XP(IE(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new aC(e)}o(ZP,"internalCacheTwirpClient");var lC=require("fs"),rn=Q(require("path"),1);var qi=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())})},_o=process.platform==="win32";function kxe(){return qi(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield GG(),e=OG;if(t)return{path:t,type:zr.GNU};if((0,lC.existsSync)(e))return{path:e,type:zr.BSD};break}case"darwin":{let t=yield hr("gtar",!1);return t?{path:t,type:zr.GNU}:{path:yield hr("tar",!0),type:zr.BSD}}default:break}return{path:yield hr("tar",!0),type:zr.GNU}})}o(kxe,"getTarPath");function Mxe(t,e,r){return qi(this,arguments,void 0,function*(n,s,i,a=""){let c=[`"${n.path}"`],l=Io(s),A="cache.tar",u=C$(),d=n.type===zr.BSD&&s!==rr.Gzip&&_o;switch(i){case"create":c.push("--posix","-cf",d?A:l.replace(new RegExp(`\\${rn.sep}`,"g"),"/"),"--exclude",d?A:l.replace(new RegExp(`\\${rn.sep}`,"g"),"/"),"-P","-C",u.replace(new RegExp(`\\${rn.sep}`,"g"),"/"),"--files-from",r0);break;case"extract":c.push("-xf",d?A:a.replace(new RegExp(`\\${rn.sep}`,"g"),"/"),"-P","-C",u.replace(new RegExp(`\\${rn.sep}`,"g"),"/"));break;case"list":c.push("-tf",d?A:a.replace(new RegExp(`\\${rn.sep}`,"g"),"/"),"-P");break}if(n.type===zr.GNU)switch(process.platform){case"win32":c.push("--force-local");break;case"darwin":c.push("--delay-directory-restore");break}return c})}o(Mxe,"getTarArgs");function eD(t,e){return qi(this,arguments,void 0,function*(r,n,s=""){let i,a=yield kxe(),c=yield Mxe(a,r,n,s),l=n!=="create"?yield Lxe(a,r,s):yield _xe(a,r),A=a.type===zr.BSD&&r!==rr.Gzip&&_o;return A&&n!=="create"?i=[[...l].join(" "),[...c].join(" ")]:i=[[...c].join(" "),[...l].join(" ")],A?i:[i.join(" ")]})}o(eD,"getCommands");function C$(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}o(C$,"getWorkingDirectory");function Lxe(t,e,r){return qi(this,void 0,void 0,function*(){let n=t.type===zr.BSD&&e!==rr.Gzip&&_o;switch(e){case rr.Zstd:return n?["zstd -d --long=30 --force -o",dd,r.replace(new RegExp(`\\${rn.sep}`,"g"),"/")]:["--use-compress-program",_o?'"zstd -d --long=30"':"unzstd --long=30"];case rr.ZstdWithoutLong:return n?["zstd -d --force -o",dd,r.replace(new RegExp(`\\${rn.sep}`,"g"),"/")]:["--use-compress-program",_o?'"zstd -d"':"unzstd"];default:return["-z"]}})}o(Lxe,"getDecompressionProgram");function _xe(t,e){return qi(this,void 0,void 0,function*(){let r=Io(e),n=t.type===zr.BSD&&e!==rr.Gzip&&_o;switch(e){case rr.Zstd:return n?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${rn.sep}`,"g"),"/"),dd]:["--use-compress-program",_o?'"zstd -T0 --long=30"':"zstdmt --long=30"];case rr.ZstdWithoutLong:return n?["zstd -T0 --force -o",r.replace(new RegExp(`\\${rn.sep}`,"g"),"/"),dd]:["--use-compress-program",_o?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(_xe,"getCompressionProgram");function tD(t,e){return qi(this,void 0,void 0,function*(){for(let r of t)try{yield po(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(tD,"execCommands");function Mm(t,e){return qi(this,void 0,void 0,function*(){let r=yield eD(e,"list",t);yield tD(r)})}o(Mm,"listTar");function rD(t,e){return qi(this,void 0,void 0,function*(){let r=C$();yield ha(r);let n=yield eD(e,"extract",t);yield tD(n)})}o(rD,"extractTar");function nD(t,e,r){return qi(this,void 0,void 0,function*(){(0,lC.writeFileSync)(rn.join(t,r0),e.join(`
|
|
`));let n=yield eD(r,"create");yield tD(n,t)})}o(nD,"createTar");var EA=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())})},rs=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},ic=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},sD="cache write denied:",AC=class t extends ic{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},I$=Of,uC=class t extends Error{static{o(this,"CacheReadDeniedError")}constructor(e){super(e),this.name="CacheReadDeniedError",Object.setPrototypeOf(this,t.prototype)}},dC=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function B$(t){if(!t||t.length===0)throw new rs("Path Validation Error: At least one directory or file path is required")}o(B$,"checkPaths");function iD(t){if(t.length>512)throw new rs(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new rs(`Key Validation Error: ${t} cannot contain commas.`)}o(iD,"checkKey");function oD(){return Em()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(oD,"isFeatureAvailable");function Q$(t,e,r,n){return EA(this,arguments,void 0,function*(s,i,a,c,l=!1){let A=Em();b(`Cache service version: ${A}`),B$(s);let u=Ov();if(!p8(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 Uxe(s,i,a,c,l):yield Fxe(s,i,a,c,l)})}o(Q$,"restoreCache");function Fxe(t,e,r,n){return EA(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 rs("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of u)iD(p);let d=yield hd(),m="";try{let p;try{p=yield B8(u,s,{compressionMethod:d,enableCrossOsArchive:l})}catch(f){let C=(A=f?.message)!==null&&A!==void 0?A:"";throw C.includes(I$)?new uC(C):f}if(!p?.archiveLocation)return;if(c?.lookupOnly)return le("Lookup only - skipping download"),p.cacheKey;m=Lm.join(yield md(),Io(d)),b(`Archive Path: ${m}`),yield Hv(p.archiveLocation,m,c),fa()&&(yield Mm(m,d));let h=Is(m);return le(`Cache Size: ~${Math.round(h/(1024*1024))} MB (${h} B)`),yield rD(m,d),le("Cache restored successfully"),p.cacheKey}catch(p){let h=p;if(h.name===rs.name)throw p;h instanceof Bs&&typeof h.statusCode=="number"&&h.statusCode>=500?pl(`Failed to restore: ${p.message}`):ht(`Failed to restore: ${p.message}`)}finally{try{yield pd(m)}catch(p){b(`Failed to delete archive: ${p}`)}}})}o(Fxe,"restoreCacheV1");function Uxe(t,e,r,n){return EA(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 rs("Key Validation Error: Keys are limited to a maximum of 10.");for(let m of u)iD(m);let d="";try{let m=ZP(),p=yield hd(),h={key:i,restoreKeys:a,version:Ql(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(I$)?new uC(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=Lm.join(yield md(),Io(p)),b(`Archive path: ${d}`),b(`Starting download of archive to: ${d}`),yield Hv(f.signedDownloadUrl,d,c);let y=Is(d);return le(`Cache Size: ~${Math.round(y/(1024*1024))} MB (${y} B)`),fa()&&(yield Mm(d,p)),yield rD(d,p),le("Cache restored successfully"),f.matchedKey}catch(m){let p=m;if(p.name===rs.name)throw m;p instanceof Bs&&typeof p.statusCode=="number"&&p.statusCode>=500?pl(`Failed to restore: ${m.message}`):ht(`Failed to restore: ${m.message}`)}finally{try{d&&(yield pd(d))}catch(m){b(`Failed to delete archive: ${m}`)}}})}o(Uxe,"restoreCacheV2");function aD(t,e,r){return EA(this,arguments,void 0,function*(n,s,i,a=!1){let c=Em();b(`Cache service version: ${c}`),B$(n),iD(s);let l=Ov();return h8(l)?c==="v2"?yield qxe(n,s,i,a):yield Oxe(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(aD,"saveCache");function Oxe(t,e,r){return EA(this,arguments,void 0,function*(n,s,i,a=!1){var c,l,A,u,d,m;let p=yield hd(),h=-1,f=yield n0(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 md(),y=Lm.join(C,Io(p));b(`Archive Path: ${y}`);try{yield nD(C,f,p),fa()&&(yield Mm(y,p));let E=10*1024*1024*1024,I=Is(y);if(b(`File Size: ${I}`),I>E&&!Uv())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 Q8(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(sD)?new AC(`Unable to reserve cache with key ${s}. More details: ${N}`):new ic(`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 zv(h,y,"",i)}catch(E){let I=E;if(I.name===rs.name)throw E;I.name===ic.name?le(`Failed to save: ${I.message}`):I instanceof Bs&&typeof I.statusCode=="number"&&I.statusCode>=500?pl(`Failed to save: ${I.message}`):ht(`Failed to save: ${I.message}`)}finally{try{yield pd(y)}catch(E){b(`Failed to delete archive: ${E}`)}}return h})}o(Oxe,"saveCacheV1");function qxe(t,e,r){return EA(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 hd(),A=ZP(),u=-1,d=yield n0(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 md(),p=Lm.join(m,Io(l));b(`Archive Path: ${p}`);try{yield nD(m,d,l),fa()&&(yield Mm(p,l));let h=Is(p);b(`File Size: ${h}`),i.archiveSizeBytes=h,b("Reserving Cache");let f=Ql(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(sD)&&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(sD)?new AC(`Unable to reserve cache with key ${s}. More details: ${N}`):new ic(`Unable to reserve cache with key ${s}, another job may be creating this cache.`)}b(`Attempting to upload cache located at: ${p}`),yield zv(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 dC(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===rs.name)throw h;f.name===ic.name?le(`Failed to save: ${f.message}`):f.name===dC.name?ht(f.message):f instanceof Bs&&typeof f.statusCode=="number"&&f.statusCode>=500?pl(`Failed to save: ${f.message}`):ht(`Failed to save: ${f.message}`)}finally{try{yield pd(p)}catch(h){b(`Failed to delete archive: ${h}`)}}return u})}o(qxe,"saveCacheV2");var x$=Q(require("util"),1);var CA=class t{static{o(this,"Cache")}opts;ghaCacheKey;ghaNoCache;cacheDir;cachePath;static POST_CACHE_KEY="postCache";constructor(e){this.opts=e,this.ghaCacheKey=x$.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform()),this.ghaNoCache=this.opts.ghaNoCache,this.cacheDir=lD.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform()),this.cachePath=lD.default.join(this.cacheDir,this.opts.cacheFile),_m.default.existsSync(this.cacheDir)||_m.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&&oD())if(r)try{b(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`),await aD([this.cacheDir],this.ghaCacheKey)}catch(i){ht(`Failed to save cache: ${i}`)}else b(`Cache.save sending ${this.ghaCacheKey} to post state`),of(t.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}));return n}async find(){try{let e=fH(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&&oD()){if(b("GitHub Actions cache feature available"),await Q$([this.cacheDir],this.ghaCacheKey)){if(le(`Restored ${this.ghaCacheKey} from GitHub Actions cache`),!_m.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=gO(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 aD([r.dir],r.key)}catch(n){ht(`Failed to save cache: ${n}`)}return r}copyToCache(e){return le(`Copying ${e} to ${this.cachePath}`),_m.default.copyFileSync(e,this.cachePath),this.cachePath}async cacheToHostedToolCache(){try{return await hH(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`${cD.default.platform()}-${cD.default.arch()}${e?"v"+e:""}`}};var b$=!!process.env.STATE_isPost;b$||of("isPost","true");async function w$(t,e){if(b$)e&&await e(),await ys("Post cache",async()=>{await CA.post()});else try{await t()}catch(r){fO(r.message)}}o(w$,"run");var uT=Q(require("fs"),1),X5=Q(require("os"),1),tp=Q(require("path"),1),Z5=require("util"),e9=Q(T$(),1);var hD=Q(require("fs"),1),X$=Q(require("os"),1),Z$=Q(require("path"),1),eW=Q(K$(),1);var hC=class t{static{o(this,"Context")}static _tmpDir=hD.default.mkdtempSync(Z$.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||X$.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return hD.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return eW.tmpNameSync(e)}};var Fm=class{static{o(this,"Exec")}static async exec(e,r,n){return b(`Exec.exec: ${e} ${r?.join(" ")}`),po(e,r,n)}static async getExecOutput(e,r,n){return b(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),Uu(e,r,n)}};var AT=Q(require("crypto"),1),j5=Q(require("fs"),1),ep=Q(require("path"),1),K5=Q(G5(),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 Zm=o(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var ZC=o(function(t){let e=[];for(let r=0,n=t.length;r<n;r++){let s=t[r];if(s==null||s===!1)e[r]={disabled:!0};else if(typeof s=="string"||typeof s=="number")e[r]={name:`${s}`};else if(Zm(s)){if(typeof s.name!="string")throw new ue("CSV_OPTION_COLUMNS_MISSING_NAME",["Option columns missing name:",`property "name" is required at position ${r}`,"when column is an object literal"]);e[r]=s}else throw new ue("CSV_INVALID_COLUMN_DEFINITION",["Invalid column definition:","expect a string or a literal object,",`got ${JSON.stringify(s)} at position ${r}`])}return e},"normalize_columns_array");var cT=class{static{o(this,"ResizeableBuffer")}constructor(e=100){this.size=e,this.length=0,this.buf=Buffer.allocUnsafe(e)}prepend(e){if(Buffer.isBuffer(e)){let r=this.length+e.length;if(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}},lT=cT;var Y5=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 lT(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 lT(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 V5=o(function(t){return t.replace(/([A-Z])/g,function(e,r){return"_"+r.toLowerCase()})},"underscore");var TA=o(function(t){let e={};for(let n in t)e[V5(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=ZC(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(!Zm(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(!Zm(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 J5=o(function(t,e){e||({delimiter_auto:e}=TA({delimiter_auto:!0})),typeof t=="string"&&(t=Buffer.from(t)),Buffer.isBuffer(t)&&(t=(s=>{let i=[],a=eI({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<c;a++){let l=s.charCodeAt(a);r[l].lines[i]===void 0&&(r[l].lines[i]=0),r[l].lines[i]++}}),r.map((s,i)=>{s.char_code=i,s.std=sNe(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"),sNe=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 $5=o(function(t){return t.every(e=>e==null||e.toString&&e.toString().trim()==="")},"isRecordEmpty"),iNe=13,oNe=10,kA={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},eI=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=TA(t);return{info:e,original_options:t,options:r,state:Y5(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 m<p},"__needMoreData"),parse:o(function(n,s,i,a){let{bom:c,comment_no_infix:l,delimiter_auto:A,encoding:u,from_line:d,ltrim:m,max_record_size:p,raw:h,relax_quotes:f,rtrim:C,skip_empty_lines:y,to:E,to_line:I}=this.options,{comment:B,escape:N,quote:k,record_delimiter:S}=this.options,{bomSkipped:de,delimiterDiscovered:ye,delimiterBufPrevious:Qe,rawBuffer:Ne,escapeIsQuote:ae}=this.state;if(!ye&&A){let xe;if(Qe===void 0?xe=n:Qe!==void 0&&n===void 0?xe=Qe:xe=Buffer.concat([Qe,n]),n=void 0,s||xe.length>A.size)this.options.delimiter=[Buffer.from(J5(xe,this.options.delimiter_auto))],this.state.previousBuf=xe,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=xe;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 xe in kA)if(kA[xe].compare(ee,0,kA[xe].length)===0){let ss=kA[xe].length;this.state.bufBytesStart+=ss,ee=ee.slice(ss);let Vi=TA({...this.original_options,encoding:xe});for(let Je in Vi)this.options[Je]=Vi[Je];({comment:B,escape:N,quote:k}=this.options);break}this.state.bomSkipped=!0}let Jt=ee.length,H;for(H=0;H<Jt&&!this.__needMoreData(H,Jt,s);H++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),I!==-1&&this.info.lines>I){this.state.stop=!0,a();return}this.state.quoting===!1&&S.length===0&&this.__autoDiscoverRecordDelimiter(ee,H)&&(S=this.options.record_delimiter);let xe=ee[H];if(h===!0&&Ne.append(xe),(xe===iNe||xe===oNe)&&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,xe)&&H+N.length<Jt)if(ae){if(this.__isQuote(ee,H+N.length)){this.state.escaping=!0,H+=N.length-1;continue}}else{this.state.escaping=!0,H+=N.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(ee,H))if(this.state.quoting===!0){let Je=ee[H+k.length],is=C&&this.__isCharTrimable(ee,H+k.length),vr=B!==null&&this.__compareBytes(B,ee,H+k.length,Je),Oo=this.__isDelimiter(ee,H+k.length,Je),rp=S.length===0?this.__autoDiscoverRecordDelimiter(ee,H+k.length):this.__isRecordDelimiter(Je,ee,H+k.length);if(N!==null&&this.__isEscape(ee,H,xe)&&this.__isQuote(ee,H+N.length))H+=N.length-1;else if(!Je||Oo||rp||vr||is){this.state.quoting=!1,this.state.wasQuoting=!0,H+=k.length-1;continue}else if(f===!1){let dT=this.__error(new ue("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(Je)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(dT!==void 0)return dT}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(k),H+=k.length-1}else if(this.state.field.length!==0){if(f===!1){let Je=this.__infoField(),is=Object.keys(kA).map(Oo=>kA[Oo].equals(this.state.field.toString())?Oo:!1).filter(Boolean)[0],vr=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))}`,is?`(${is} bom)`:void 0],this.options,Je,{field:this.state.field}));if(vr!==void 0)return vr}}else{this.state.quoting=!0,H+=k.length-1;continue}if(this.state.quoting===!1){let Je=this.__isRecordDelimiter(xe,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 Oo=this.__onField();if(Oo!==void 0)return Oo;this.info.bytes=this.state.bufBytesStart+H+Je;let rp=this.__onRecord(i);if(rp!==void 0)return rp;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,xe)!==0){this.state.commenting=!0;continue}let is=this.__isDelimiter(ee,H,xe);if(is!==0){this.info.bytes=this.state.bufBytesStart+H;let vr=this.__onField();if(vr!==void 0)return vr;H+=is-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 ss=m===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(ee,H),Vi=C===!1||this.state.wasQuoting===!1;if(ss===!0&&Vi===!0)this.state.field.append(xe);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()));ss===!1&&(H+=this.__isCharTrimable(ee,H)-1);continue}}if(s===!0)if(this.state.quoting===!0){let xe=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(xe!==void 0)return xe}else if(this.state.wasQuoting===!0||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+H;let xe=this.__onField();if(xe!==void 0)return xe;let ss=this.__onRecord(i);if(ss!==void 0)return ss}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&&$5(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&&C<this.state.expectedRecordLength||d===!0&&C>this.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=y;else{let E=this.__error(y);if(E)return E}}if(p===!0&&$5(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<B;I++)s[I]===void 0||s[I].disabled||(i===!0&&Object.hasOwn(E,s[I].name)?Array.isArray(E[s[I].name])?E[s[I].name]=E[s[I].name].concat(f[I]):E[s[I].name]=[E[s[I].name],f[I]]:Object.defineProperty(E,s[I].name,{value:f[I],enumerable:!0,writable:!0,configurable:!0}));if(m===!0||c===!0){let I=Object.assign({record:E},m===!0?{raw:this.state.rawBuffer.toString(a)}:{},c===!0?{info:this.__infoRecord()}:{}),B=this.__push(y===void 0?I:[E[y],I],n);if(B)return B}else{let I=this.__push(y===void 0?E:[E[y],E],n);if(I)return I}}else if(m===!0||c===!0){let E=Object.assign({record:f},m===!0?{raw:this.state.rawBuffer.toString(a)}:{},c===!0?{info:this.__infoRecord()}:{}),I=this.__push(y===void 0?E:[f[y],E],n);if(I)return I}else{let E=this.__push(y===void 0?f:[f[y],f],n);if(E)return E}}this.__resetRecord()},"__onRecord"),__firstLineToColumns:o(function(n){let{firstLineToHeaders:s}=this.state;try{let i=s===void 0?n:s.call(null,n);if(!Array.isArray(i))return this.__error(new ue("CSV_INVALID_COLUMN_MAPPING",["Invalid Column Mapping:","expect an array from column function,",`got ${JSON.stringify(i)}`],this.options,this.__infoField(),{headers:i}));let a=ZC(i);this.state.expectedRecordLength=a.length,this.options.columns=a,this.__resetRecord();return}catch(i){return i}},"__firstLineToColumns"),__resetRecord:o(function(){this.options.raw===!0&&this.state.rawBuffer.reset(),this.state.error=void 0,this.state.record=[],this.state.record_length=0},"__resetRecord"),__onField:o(function(){let{cast:n,encoding:s,rtrim:i,max_record_size:a}=this.options,{enabled:c,wasQuoting:l}=this.state;if(c===!1)return this.__resetField();let A=this.state.field.toString(s);if(i===!0&&l===!1&&(A=A.trimRight()),n===!0){let[u,d]=this.__cast(A);if(u!==void 0)return u;A=d}this.state.record.push(A),a!==0&&typeof A=="string"&&(this.state.record_length+=A.length),this.__resetField()},"__onField"),__resetField:o(function(){this.state.field.reset(),this.state.wasQuoting=!1},"__resetField"),__push:o(function(n,s){let{on_record:i}=this.options;if(i!==void 0){let a=this.__infoRecord();try{n=i.call(null,n,a)}catch(c){return c}if(n==null)return}this.info.bytes_records+=this.info.bytes,s(n)},"__push"),__cast:o(function(n){let{columns:s,relax_column_count:i}=this.options;if(Array.isArray(s)===!0&&i&&this.options.columns.length<=this.state.record.length)return[void 0,void 0];if(this.state.castField!==null)try{let c=this.__infoField();return[void 0,this.state.castField.call(null,n,c)]}catch(c){return[c]}if(this.__isFloat(n))return[void 0,parseFloat(n)];if(this.options.cast_date!==!1){let c=this.__infoField();return[void 0,this.options.cast_date.call(null,n,c)]}return[void 0,n]},"__cast"),__compareBytes:o(function(n,s,i,a){if(n[0]!==a)return 0;let c=n.length;for(let l=1;l<c;l++)if(n[l]!==s[i+l])return 0;return c},"__compareBytes"),__isCharTrimable:o(function(n,s){let{timchars:i,timcharFirstBytes:a}=this.state,c=n[s];if(c===void 0||a[c]===0)return 0;e:for(let l=0;l<i.length;l++){let A=i[l];for(let u=0;u<A.length;u++)if(A[u]!==n[s+u])continue e;return A.length}return 0},"__isCharTrimable"),__isDelimiter:o(function(n,s,i){let{delimiter:a,ignore_last_delimiters:c}=this.options;if(c===!0&&this.state.record.length===this.options.columns.length-1)return 0;if(c!==!1&&typeof c=="number"&&this.state.record.length===c-1)return 0;e:for(let l=0;l<a.length;l++){let A=a[l];if(A[0]===i){for(let u=1;u<A.length;u++)if(A[u]!==n[s+u])continue e;return A.length}}return 0},"__isDelimiter"),__isEscape:o(function(n,s,i){let{escape:a}=this.options;if(a===null)return!1;let c=a.length;if(a[0]===i){for(let l=0;l<c;l++)if(a[l]!==n[s+l])return!1;return!0}return!1},"__isEscape"),__isFloat:o(function(n){return n-parseFloat(n)+1>=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;c<a;c++)if(i[c]!==n[s+c])return!1;return!0},"__isQuote"),__isRecordDelimiter:o(function(n,s,i){let{record_delimiter:a}=this.options,c=a.length;e:for(let l=0;l<c;l++){let A=a[l],u=A.length;if(A[0]===n){for(let d=1;d<u;d++)if(A[d]!==s[i+d])continue e;return A.length}}return 0},"__isRecordDelimiter"),__autoDiscoverRecordDelimiter:o(function(n,s){let{encoding:i}=this.options,a=[Buffer.from(`\r
|
|
`,i),Buffer.from(`
|
|
`,i),Buffer.from("\r",i)];e:for(let c=0;c<a.length;c++){let l=a[c].length;for(let A=0;A<l;A++)if(a[c][A]!==n[s+A])continue e;return this.options.record_delimiter.push(a[c]),this.state.recordDelimiterMaxLength=a[c].length,a[c].length}return 0},"__autoDiscoverRecordDelimiter"),__error:o(function(n){let{encoding:s,raw:i,skip_records_with_error:a}=this.options,c=typeof n=="string"?new Error(n):n;if(a){if(this.state.recordHasError=!0,this.options.on_skip!==void 0)try{this.options.on_skip(c,i?this.state.rawBuffer.toString(s):void 0)}catch(l){return l}return}else return c},"__error"),__infoDataSet:o(function(){return{...this.info,columns:this.options.columns}},"__infoDataSet"),__infoRecord:o(function(){let{columns:n,raw:s,encoding:i}=this.options;return{...this.__infoDataSet(),bytes_records:this.info.bytes,error:this.state.error,header:n===!0,index:this.state.record.length,raw:s?this.state.rawBuffer.toString(i):void 0}},"__infoRecord"),__infoField:o(function(){let{columns:n}=this.options,s=Array.isArray(n),i=this.info.bytes_records;return{...this.__infoRecord(),bytes_records:i,column:s===!0?n.length>this.state.record.length?n[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}},"__infoField")}},"transform");var W5=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],n=eI(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 MA=class t{static{o(this,"Util")}static getInputList(e,r){return this.getList(ml(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let n=[];if(e=="")return n;let s=W5(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=ml(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let n=0;n<e.length;n++)await r(e[n],n,e)}static isValidURL(e){let r;try{r=new URL(e)}catch{return!1}return r.protocol==="http:"||r.protocol==="https:"}static isValidRef(e){if(t.isValidURL(e))return!0;for(let r of["git://","github.com/","git@"])if(e.startsWith(r))return!0;return!1}static async powershellCommand(e,r){let n=await hr("powershell",!0),s=e.replace(/'/g,"''"),i=[];if(r)for(let a in r)i.push(`-${a} '${r[a].replace(/'/g,"''")}'`);return{command:`"${n}"`,args:["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-EncodedCommand",Buffer.from(`& '${s}' ${i.join(" ")}`,"utf16le").toString("base64")]}}static isDirectory(e){try{return j5.default.lstatSync(e).isDirectory()}catch{}return!1}static trimPrefix(e,r){return!e||!r||e.indexOf(r)!==0?e:e.substring(r.length)}static trimSuffix(e,r){if(!e||!r)return e;let n=e.lastIndexOf(r);return n===-1||n+r.length!==e.length?e:e.substring(0,n)}static sleep(e){return new Promise(r=>setTimeout(r,e*1e3))}static hash(e){return AT.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 AT.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,n){return K5.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=ep.default.resolve(e);return ep.default.resolve(r).startsWith(n.endsWith(ep.default.sep)?n:`${n}${ep.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 Vt=class t{static{o(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||tp.default.join(X5.default.homedir(),".docker")}static configFile(){let e=tp.default.join(t.configDir,"config.json");if(uT.default.existsSync(e))return JSON.parse(uT.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await hr("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 Fm.exec("docker",e,t.execOptions(r))}static async getExecOutput(e,r){return Fm.getExecOutput("docker",e,t.execOptions(r))}static getErrorMessage(e){let r=(0,Z5.stripVTControlCharacters)(e).split(/[\r\n]/);for(let n=r.length-1;n>=0;n--){let s=r[n].trim();if(s)return s}return"unknown error"}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 CA({htcName:s,htcVersion:i,baseCacheDir:tp.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: ${t.getErrorMessage(A.stderr)}`)})));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=tp.default.join(hC.tmpDir(),`${MA.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: ${t.getErrorMessage(u.stderr)}`);else{let d=await a.save(A);le(`Image cached to ${d}`)}})}}static async pullWithRetry(e){await(0,e9.default)(async n=>{let s=await t.getExecOutput(["pull",e],{ignoreReturnCode:!0});if(s.stderr.length>0&&s.exitCode!=0){let i=t.getErrorMessage(s.stderr);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 t9(){return{image:ml("image")||"docker.io/tonistiigi/binfmt:latest",platforms:MA.getInputList("platforms").join(",")||"all",reset:Wx("reset"),cacheImage:Wx("cache-image")}}o(t9,"getInputs");w$(async()=>{let t=t9();await ys("Docker info",async()=>{await Vt.printVersion(),await Vt.printInfo()}),await ys("Pulling binfmt Docker image",async()=>{await Vt.pull(t.image,t.cacheImage)}),await ys("Image info",async()=>{await Vt.getExecOutput(["image","inspect",t.image],{ignoreReturnCode:!0}).then(e=>{if(e.exitCode!=0)throw new Error(`Failed to inspect image ${t.image}: ${Vt.getErrorMessage(e.stderr)}`)})}),await ys("Binfmt version",async()=>{await Vt.getExecOutput(["run","--rm","--privileged",t.image,"--version"],{ignoreReturnCode:!0}).then(e=>{if(e.exitCode!=0)throw new Error(`Failed to get binfmt version: ${Vt.getErrorMessage(e.stderr)}`)})}),t.reset&&await ys("Uninstalling current emulators",async()=>{await Vt.getExecOutput(["run","--rm","--privileged",t.image,"--uninstall","qemu-*"],{ignoreReturnCode:!0}).then(e=>{if(e.exitCode!=0)throw new Error(`Failed to uninstall current emulators: ${Vt.getErrorMessage(e.stderr)}`)})}),await ys("Installing QEMU static binaries",async()=>{await Vt.getExecOutput(["run","--rm","--privileged",t.image,"--install",t.platforms],{ignoreReturnCode:!0}).then(e=>{if(e.exitCode!=0)throw new Error(`Failed to install QEMU static binaries: ${Vt.getErrorMessage(e.stderr)}`)})}),await ys("Extracting available platforms",async()=>{await Vt.getExecOutput(["run","--rm","--privileged",t.image],{ignoreReturnCode:!0,silent:!0}).then(e=>{if(e.exitCode!=0)throw new Error(`Failed to extract available platforms: ${Vt.getErrorMessage(e.stderr)}`);let r=JSON.parse(e.stdout.trim());le(`${r.supported.join(",")}`),hO("platforms",r.supported.join(","))})})});
|
|
/*! Bundled license information:
|
|
|
|
undici/lib/web/fetch/body.js:
|
|
(*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> *)
|
|
|
|
undici/lib/web/websocket/frame.js:
|
|
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
|
|
|
|
tmp/lib/tmp.js:
|
|
(*!
|
|
* Tmp
|
|
*
|
|
* Copyright (c) 2011-2017 KARASZI Istvan <github@spam.raszi.hu>
|
|
*
|
|
* MIT Licensed
|
|
*)
|
|
*/
|
|
//# sourceMappingURL=index.cjs.map
|