mirror of
https://github.com/docker/setup-qemu-action.git
synced 2026-06-29 17:41:21 +00:00
150 lines
1.3 MiB
Generated
150 lines
1.3 MiB
Generated
var n5=Object.create;var km=Object.defineProperty;var s5=Object.getOwnPropertyDescriptor;var i5=Object.getOwnPropertyNames;var o5=Object.getPrototypeOf,a5=Object.prototype.hasOwnProperty;var o=(t,e)=>km(t,"name",{value:e,configurable:!0});var f=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),c5=(t,e)=>{for(var r in e)km(t,r,{get:e[r],enumerable:!0})},l5=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of i5(e))!a5.call(t,s)&&s!==r&&km(t,s,{get:()=>e[s],enumerable:!(n=s5(e,s))||n.enumerable});return t};var Q=(t,e,r)=>(r=t!=null?n5(o5(t)):{},l5(e||!t||!t.__esModule?km(r,"default",{value:t,enumerable:!0}):r,t));var DD=f(ec=>{"use strict";var Kwe=require("net"),m5=require("tls"),DC=require("http"),RD=require("https"),p5=require("events"),Xwe=require("assert"),h5=require("util");ec.httpOverHttp=f5;ec.httpsOverHttp=g5;ec.httpOverHttps=y5;ec.httpsOverHttps=E5;function f5(t){var e=new ri(t);return e.request=DC.request,e}o(f5,"httpOverHttp");function g5(t){var e=new ri(t);return e.request=DC.request,e.createSocket=PD,e.defaultPort=443,e}o(g5,"httpsOverHttp");function y5(t){var e=new ri(t);return e.request=RD.request,e}o(y5,"httpOverHttps");function E5(t){var e=new ri(t);return e.request=RD.request,e.createSocket=PD,e.defaultPort=443,e}o(E5,"httpsOverHttps");function ri(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||DC.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(n,s,i,a){for(var c=vD(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(ri,"TunnelingAgent");h5.inherits(ri,p5.EventEmitter);ri.prototype.addRequest=o(function(e,r,n,s){var i=this,a=kC({request:e},i.options,vD(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");ri.prototype.createSocket=o(function(e,r){var n=this,s={};n.sockets.push(s);var i=kC({},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")),qi("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){qi("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){qi("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 qi("tunneling connection has established"),n.sockets[n.sockets.indexOf(s)]=m,r(m)}o(A,"onConnect");function u(d){a.removeAllListeners(),qi(`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");ri.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 PD(t,e){var r=this;ri.prototype.createSocket.call(r,t,function(n){var s=t.request.getHeader("host"),i=kC({},r.options,{socket:n,servername:s?s.replace(/:.*$/,""):t.host}),a=m5.connect(0,i);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}o(PD,"createSecureSocket");function vD(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(vD,"toOptions");function kC(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(kC,"mergeOptions");var qi;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?qi=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"):qi=o(function(){},"debug");ec.debug=qi});var TC=f((tNe,kD)=>{kD.exports=DD()});var Fe=f((rNe,TD)=>{TD.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 Ce=f((nNe,ik)=>{"use strict";var MD=Symbol.for("undici.error.UND_ERR"),_e=class extends Error{static{o(this,"UndiciError")}constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[MD]===!0}[MD]=!0},LD=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),MC=class extends _e{static{o(this,"ConnectTimeoutError")}constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[LD]===!0}[LD]=!0},FD=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),LC=class extends _e{static{o(this,"HeadersTimeoutError")}constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[FD]===!0}[FD]=!0},_D=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),FC=class extends _e{static{o(this,"HeadersOverflowError")}constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&e[_D]===!0}[_D]=!0},UD=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),_C=class extends _e{static{o(this,"BodyTimeoutError")}constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&e[UD]===!0}[UD]=!0},OD=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),UC=class extends _e{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[OD]===!0}[OD]=!0},qD=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),OC=class extends _e{static{o(this,"InvalidArgumentError")}constructor(e){super(e),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&e[qD]===!0}[qD]=!0},HD=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),qC=class extends _e{static{o(this,"InvalidReturnValueError")}constructor(e){super(e),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&e[HD]===!0}[HD]=!0},zD=Symbol.for("undici.error.UND_ERR_ABORT"),Lm=class extends _e{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError",this.message=e||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&e[zD]===!0}[zD]=!0},GD=Symbol.for("undici.error.UND_ERR_ABORTED"),HC=class extends Lm{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[GD]===!0}[GD]=!0},YD=Symbol.for("undici.error.UND_ERR_INFO"),zC=class extends _e{static{o(this,"InformationalError")}constructor(e){super(e),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&e[YD]===!0}[YD]=!0},VD=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),GC=class extends _e{static{o(this,"RequestContentLengthMismatchError")}constructor(e){super(e),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[VD]===!0}[VD]=!0},JD=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),YC=class extends _e{static{o(this,"ResponseContentLengthMismatchError")}constructor(e){super(e),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&e[JD]===!0}[JD]=!0},WD=Symbol.for("undici.error.UND_ERR_DESTROYED"),VC=class extends _e{static{o(this,"ClientDestroyedError")}constructor(e){super(e),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&e[WD]===!0}[WD]=!0},$D=Symbol.for("undici.error.UND_ERR_CLOSED"),JC=class extends _e{static{o(this,"ClientClosedError")}constructor(e){super(e),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&e[$D]===!0}[$D]=!0},jD=Symbol.for("undici.error.UND_ERR_SOCKET"),WC=class extends _e{static{o(this,"SocketError")}constructor(e,r){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=r}static[Symbol.hasInstance](e){return e&&e[jD]===!0}[jD]=!0},KD=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),$C=class extends _e{static{o(this,"NotSupportedError")}constructor(e){super(e),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&e[KD]===!0}[KD]=!0},XD=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),jC=class extends _e{static{o(this,"BalancedPoolMissingUpstreamError")}constructor(e){super(e),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&e[XD]===!0}[XD]=!0},ZD=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),KC=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[ZD]===!0}[ZD]=!0},ek=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),XC=class extends _e{static{o(this,"ResponseExceededMaxSizeError")}constructor(e){super(e),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&e[ek]===!0}[ek]=!0},tk=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),ZC=class extends _e{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[tk]===!0}[tk]=!0},rk=Symbol.for("undici.error.UND_ERR_RESPONSE"),eI=class extends _e{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[rk]===!0}[rk]=!0},nk=Symbol.for("undici.error.UND_ERR_PRX_TLS"),tI=class extends _e{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[nk]===!0}[nk]=!0},sk=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),rI=class extends _e{static{o(this,"MessageSizeExceededError")}constructor(e){super(e),this.name="MessageSizeExceededError",this.message=e||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&e[sk]===!0}get[sk](){return!0}};ik.exports={AbortError:Lm,HTTPParserError:KC,UndiciError:_e,HeadersTimeoutError:LC,HeadersOverflowError:FC,BodyTimeoutError:_C,RequestContentLengthMismatchError:GC,ConnectTimeoutError:MC,ResponseStatusCodeError:UC,InvalidArgumentError:OC,InvalidReturnValueError:qC,RequestAbortedError:HC,ClientDestroyedError:VC,ClientClosedError:JC,InformationalError:zC,SocketError:WC,NotSupportedError:$C,ResponseContentLengthMismatchError:YC,BalancedPoolMissingUpstreamError:jC,ResponseExceededMaxSizeError:XC,RequestRetryError:ZC,ResponseError:eI,SecureProxyConnectionError:tI,MessageSizeExceededError:rI}});var _m=f((iNe,ok)=>{"use strict";var Fm={},nI=["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<nI.length;++t){let e=nI[t],r=e.toLowerCase();Fm[e]=Fm[r]=r}Object.setPrototypeOf(Fm,null);ok.exports={wellknownHeaderNames:nI,headerNameLowerCasedRecord:Fm}});var Ak=f((oNe,lk)=>{"use strict";var{wellknownHeaderNames:ak,headerNameLowerCasedRecord:C5}=_m(),sI=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}},Um=class{static{o(this,"TernarySearchTree")}node=null;insert(e,r){this.node===null?this.node=new sI(e,r,0):this.node.add(e,r)}lookup(e){return this.node?.search(e)?.value??null}},ck=new Um;for(let t=0;t<ak.length;++t){let e=C5[ak[t]];ck.insert(e,e)}lk.exports={TernarySearchTree:Um,tree:ck}});var le=f((cNe,wk)=>{"use strict";var CA=require("node:assert"),{kDestroyed:dk,kBodyUsed:tc,kListeners:iI,kBody:uk}=Fe(),{IncomingMessage:I5}=require("node:http"),Hm=require("node:stream"),B5=require("node:net"),{Blob:Q5}=require("node:buffer"),x5=require("node:util"),{stringify:b5}=require("node:querystring"),{EventEmitter:w5}=require("node:events"),{InvalidArgumentError:xt}=Ce(),{headerNameLowerCasedRecord:N5}=_m(),{tree:mk}=Ak(),[S5,R5]=process.versions.node.split(".").map(t=>Number(t)),qm=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[uk]=e,this[tc]=!1}async*[Symbol.asyncIterator](){CA(!this[tc],"disturbed"),this[tc]=!0,yield*this[uk]}};function P5(t){return zm(t)?(yk(t)===0&&t.on("data",function(){CA(!1)}),typeof t.readableDidRead!="boolean"&&(t[tc]=!1,w5.prototype.on.call(t,"data",function(){this[tc]=!0})),t):t&&typeof t.pipeTo=="function"?new qm(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&gk(t)?new qm(t):t}o(P5,"wrapRequestBody");function v5(){}o(v5,"nop");function zm(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}o(zm,"isStream");function pk(t){if(t===null)return!1;if(t instanceof Q5)return!0;if(typeof t!="object")return!1;{let e=t[Symbol.toStringTag];return(e==="Blob"||e==="File")&&("stream"in t&&typeof t.stream=="function"||"arrayBuffer"in t&&typeof t.arrayBuffer=="function")}}o(pk,"isBlobLike");function D5(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=b5(e);return r&&(t+="?"+r),t}o(D5,"buildURL");function hk(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}o(hk,"isValidPort");function Om(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}o(Om,"isHttpOrHttpsPrefixed");function fk(t){if(typeof t=="string"){if(t=new URL(t),!Om(t.origin||t.protocol))throw new xt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new xt("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&hk(t.port)===!1)throw new xt("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 xt("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new xt("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new xt("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new xt("Invalid URL origin: the origin must be a string or null/undefined.");if(!Om(t.origin||t.protocol))throw new xt("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(!Om(t.origin||t.protocol))throw new xt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}o(fk,"parseURL");function k5(t){if(t=fk(t),t.pathname!=="/"||t.search||t.hash)throw new xt("invalid url");return t}o(k5,"parseOrigin");function T5(t){if(t[0]==="["){let r=t.indexOf("]");return CA(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}o(T5,"getHostname");function M5(t){if(!t)return null;CA(typeof t=="string");let e=T5(t);return B5.isIP(e)?"":e}o(M5,"getServerName");function L5(t){return JSON.parse(JSON.stringify(t))}o(L5,"deepClone");function F5(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}o(F5,"isAsyncIterable");function gk(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}o(gk,"isIterable");function yk(t){if(t==null)return 0;if(zm(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(pk(t))return t.size!=null?t.size:null;if(Ik(t))return t.byteLength}return null}o(yk,"bodyLength");function Ek(t){return t&&!!(t.destroyed||t[dk]||Hm.isDestroyed?.(t))}o(Ek,"isDestroyed");function _5(t,e){t==null||!zm(t)||Ek(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===I5&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[dk]=!0))}o(_5,"destroy");var U5=/timeout=(\d+)/;function O5(t){let e=t.toString().match(U5);return e?parseInt(e[1],10)*1e3:null}o(O5,"parseKeepAliveTimeout");function Ck(t){return typeof t=="string"?N5[t]??t.toLowerCase():mk.lookup(t)??t.toString("latin1").toLowerCase()}o(Ck,"headerNameToString");function q5(t){return mk.lookup(t)??t.toString("latin1").toLowerCase()}o(q5,"bufferToLowerCasedHeaderName");function H5(t,e){e===void 0&&(e={});for(let r=0;r<t.length;r+=2){let n=Ck(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(H5,"parseHeaders");function z5(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(z5,"parseRawHeaders");function Ik(t){return t instanceof Uint8Array||Buffer.isBuffer(t)}o(Ik,"isBuffer");function G5(t,e,r){if(!t||typeof t!="object")throw new xt("handler must be an object");if(typeof t.onConnect!="function")throw new xt("invalid onConnect method");if(typeof t.onError!="function")throw new xt("invalid onError method");if(typeof t.onBodySent!="function"&&t.onBodySent!==void 0)throw new xt("invalid onBodySent method");if(r||e==="CONNECT"){if(typeof t.onUpgrade!="function")throw new xt("invalid onUpgrade method")}else{if(typeof t.onHeaders!="function")throw new xt("invalid onHeaders method");if(typeof t.onData!="function")throw new xt("invalid onData method");if(typeof t.onComplete!="function")throw new xt("invalid onComplete method")}}o(G5,"validateHandler");function Y5(t){return!!(t&&(Hm.isDisturbed(t)||t[tc]))}o(Y5,"isDisturbed");function V5(t){return!!(t&&Hm.isErrored(t))}o(V5,"isErrored");function J5(t){return!!(t&&Hm.isReadable(t))}o(J5,"isReadable");function W5(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(W5,"getSocketInfo");function $5(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($5,"ReadableStreamFrom");function j5(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(j5,"isFormDataLike");function K5(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(K5,"addAbortListener");var X5=typeof String.prototype.toWellFormed=="function",Z5=typeof String.prototype.isWellFormed=="function";function Bk(t){return X5?`${t}`.toWellFormed():x5.toUSVString(t)}o(Bk,"toUSVString");function e9(t){return Z5?`${t}`.isWellFormed():Bk(t)===`${t}`}o(e9,"isUSVString");function Qk(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(Qk,"isTokenCharCode");function t9(t){if(t.length===0)return!1;for(let e=0;e<t.length;++e)if(!Qk(t.charCodeAt(e)))return!1;return!0}o(t9,"isValidHTTPToken");var r9=/[^\t\x20-\x7e\x80-\xff]/;function n9(t){return!r9.test(t)}o(n9,"isValidHeaderValue");function s9(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(s9,"parseRangeHeader");function i9(t,e,r){return(t[iI]??=[]).push([e,r]),t.on(e,r),t}o(i9,"addListener");function o9(t){for(let[e,r]of t[iI]??[])t.removeListener(e,r);t[iI]=null}o(o9,"removeAllListeners");function a9(t,e,r){try{e.onError(r),CA(e.aborted)}catch(n){t.emit("error",n)}}o(a9,"errorRequest");var xk=Object.create(null);xk.enumerable=!0;var oI={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"},bk={...oI,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(oI,null);Object.setPrototypeOf(bk,null);wk.exports={kEnumerableProperty:xk,nop:v5,isDisturbed:Y5,isErrored:V5,isReadable:J5,toUSVString:Bk,isUSVString:e9,isBlobLike:pk,parseOrigin:k5,parseURL:fk,getServerName:M5,isStream:zm,isIterable:gk,isAsyncIterable:F5,isDestroyed:Ek,headerNameToString:Ck,bufferToLowerCasedHeaderName:q5,addListener:i9,removeAllListeners:o9,errorRequest:a9,parseRawHeaders:z5,parseHeaders:H5,parseKeepAliveTimeout:O5,destroy:_5,bodyLength:yk,deepClone:L5,ReadableStreamFrom:$5,isBuffer:Ik,validateHandler:G5,getSocketInfo:W5,isFormDataLike:j5,buildURL:D5,addAbortListener:K5,isValidHTTPToken:t9,isValidHeaderValue:n9,isTokenCharCode:Qk,parseRangeHeader:s9,normalizedMethodRecordsBase:oI,normalizedMethodRecords:bk,isValidPort:hk,isHttpOrHttpsPrefixed:Om,nodeMajor:S5,nodeMinor:R5,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"],wrapRequestBody:P5}});var rc=f((ANe,Sk)=>{"use strict";var be=require("node:diagnostics_channel"),cI=require("node:util"),Gm=cI.debuglog("undici"),aI=cI.debuglog("fetch"),Lo=cI.debuglog("websocket"),Nk=!1,c9={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(Gm.enabled||aI.enabled){let t=aI.enabled?aI:Gm;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)}),Nk=!0}if(Lo.enabled){if(!Nk){let t=Gm.enabled?Gm:Lo;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;Lo("connection opened %s%s",e,r?`:${r}`:"")}),be.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:n}=t;Lo("closed connection to %s - %s %s",e.url,r,n)}),be.channel("undici:websocket:socket_error").subscribe(t=>{Lo("connection errored - %s",t.message)}),be.channel("undici:websocket:ping").subscribe(t=>{Lo("ping received")}),be.channel("undici:websocket:pong").subscribe(t=>{Lo("pong received")})}Sk.exports={channels:c9}});var Dk=f((uNe,vk)=>{"use strict";var{InvalidArgumentError:Pe,NotSupportedError:l9}=Ce(),ni=require("node:assert"),{isValidHTTPToken:Pk,isValidHeaderValue:lI,isStream:A9,destroy:u9,isBuffer:d9,isFormDataLike:m9,isIterable:p9,isBlobLike:h9,buildURL:f9,validateHandler:g9,getServerName:y9,normalizedMethodRecords:E9}=le(),{channels:ts}=rc(),{headerNameLowerCasedRecord:Rk}=_m(),C9=/[^\u0021-\u00ff]/,rn=Symbol("handler"),AI=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:g},C){if(typeof r!="string")throw new Pe("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new Pe("path must be an absolute URL or start with a slash");if(C9.test(r))throw new Pe("invalid request path");if(typeof n!="string")throw new Pe("method must be a string");if(E9[n]===void 0&&!Pk(n))throw new Pe("invalid request method");if(A&&typeof A!="string")throw new Pe("upgrade must be a string");if(A&&!lI(A))throw new Pe("invalid upgrade header");if(u!=null&&(!Number.isFinite(u)||u<0))throw new Pe("invalid headersTimeout");if(d!=null&&(!Number.isFinite(d)||d<0))throw new Pe("invalid bodyTimeout");if(m!=null&&typeof m!="boolean")throw new Pe("invalid reset");if(h!=null&&typeof h!="boolean")throw new Pe("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(A9(s)){this.body=s;let y=this.body._readableState;(!y||!y.autoDestroy)&&(this.endHandler=o(function(){u9(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(d9(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(m9(s)||p9(s)||h9(s))this.body=s;else throw new Pe("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?f9(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 Pe("headers array must be even");for(let y=0;y<i.length;y+=2)Ym(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 Pe("headers must be in key-value pair format");Ym(this,y[0],y[1])}else{let y=Object.keys(i);for(let E=0;E<y.length;++E)Ym(this,y[E],i[y[E]])}else if(i!=null)throw new Pe("headers must be an object or an array");g9(C,n,A),this.servername=g||y9(this.host),this[rn]=C,ts.create.hasSubscribers&&ts.create.publish({request:this})}onBodySent(e){if(this[rn].onBodySent)try{return this[rn].onBodySent(e)}catch(r){this.abort(r)}}onRequestSent(){if(ts.bodySent.hasSubscribers&&ts.bodySent.publish({request:this}),this[rn].onRequestSent)try{return this[rn].onRequestSent()}catch(e){this.abort(e)}}onConnect(e){if(ni(!this.aborted),ni(!this.completed),this.error)e(this.error);else return this.abort=e,this[rn].onConnect(e)}onResponseStarted(){return this[rn].onResponseStarted?.()}onHeaders(e,r,n,s){ni(!this.aborted),ni(!this.completed),ts.headers.hasSubscribers&&ts.headers.publish({request:this,response:{statusCode:e,headers:r,statusText:s}});try{return this[rn].onHeaders(e,r,n,s)}catch(i){this.abort(i)}}onData(e){ni(!this.aborted),ni(!this.completed);try{return this[rn].onData(e)}catch(r){return this.abort(r),!1}}onUpgrade(e,r,n){return ni(!this.aborted),ni(!this.completed),this[rn].onUpgrade(e,r,n)}onComplete(e){this.onFinally(),ni(!this.aborted),this.completed=!0,ts.trailers.hasSubscribers&&ts.trailers.publish({request:this,trailers:e});try{return this[rn].onComplete(e)}catch(r){this.onError(r)}}onError(e){if(this.onFinally(),ts.error.hasSubscribers&&ts.error.publish({request:this,error:e}),!this.aborted)return this.aborted=!0,this[rn].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 Ym(this,e,r),this}};function Ym(t,e,r){if(r&&typeof r=="object"&&!Array.isArray(r))throw new Pe(`invalid ${e} header`);if(r===void 0)return;let n=Rk[e];if(n===void 0&&(n=e.toLowerCase(),Rk[n]===void 0&&!Pk(n)))throw new Pe("invalid header key");if(Array.isArray(r)){let s=[];for(let i=0;i<r.length;i++)if(typeof r[i]=="string"){if(!lI(r[i]))throw new Pe(`invalid ${e} header`);s.push(r[i])}else if(r[i]===null)s.push("");else{if(typeof r[i]=="object")throw new Pe(`invalid ${e} header`);s.push(`${r[i]}`)}r=s}else if(typeof r=="string"){if(!lI(r))throw new Pe(`invalid ${e} header`)}else r===null?r="":r=`${r}`;if(n==="host"){if(t.host!==null)throw new Pe("duplicate host header");if(typeof r!="string")throw new Pe("invalid host header");t.host=r}else if(n==="content-length"){if(t.contentLength!==null)throw new Pe("duplicate content-length header");if(t.contentLength=parseInt(r,10),!Number.isFinite(t.contentLength))throw new Pe("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 Pe(`invalid ${n} header`);if(n==="connection"){let s=typeof r=="string"?r.toLowerCase():null;if(s!=="close"&&s!=="keep-alive")throw new Pe("invalid connection header");s==="close"&&(t.reset=!0)}else{if(n==="expect")throw new l9("expect header not supported");t.headers.push(e,r)}}}o(Ym,"processHeader");vk.exports=AI});var IA=f((mNe,kk)=>{"use strict";var I9=require("node:events"),Vm=class extends I9{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 uI(this,n)}},uI=class extends Vm{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)}};kk.exports=Vm});var oc=f((hNe,Mk)=>{"use strict";var B9=IA(),{ClientDestroyedError:dI,ClientClosedError:Q9,InvalidArgumentError:nc}=Ce(),{kDestroy:x9,kClose:b9,kClosed:BA,kDestroyed:sc,kDispatch:mI,kInterceptors:Fo}=Fe(),si=Symbol("onDestroyed"),ic=Symbol("onClosed"),Jm=Symbol("Intercepted Dispatch"),Tk=Symbol("webSocketOptions"),pI=class extends B9{static{o(this,"DispatcherBase")}constructor(e){super(),this[sc]=!1,this[si]=null,this[BA]=!1,this[ic]=[],this[Tk]=e?.webSocket??{}}get webSocketOptions(){return{maxPayloadSize:this[Tk].maxPayloadSize??128*1024*1024}}get destroyed(){return this[sc]}get closed(){return this[BA]}get interceptors(){return this[Fo]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[Fo][r]!="function")throw new nc("interceptor must be an function")}this[Fo]=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 nc("invalid callback");if(this[sc]){queueMicrotask(()=>e(new dI,null));return}if(this[BA]){this[ic]?this[ic].push(e):queueMicrotask(()=>e(null,null));return}this[BA]=!0,this[ic].push(e);let r=o(()=>{let n=this[ic];this[ic]=null;for(let s=0;s<n.length;s++)n[s](null,null)},"onClosed");this[b9]().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 nc("invalid callback");if(this[sc]){this[si]?this[si].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new dI),this[sc]=!0,this[si]=this[si]||[],this[si].push(r);let n=o(()=>{let s=this[si];this[si]=null;for(let i=0;i<s.length;i++)s[i](null,null)},"onDestroyed");this[x9](e).then(()=>{queueMicrotask(n)})}[Jm](e,r){if(!this[Fo]||this[Fo].length===0)return this[Jm]=this[mI],this[mI](e,r);let n=this[mI].bind(this);for(let s=this[Fo].length-1;s>=0;s--)n=this[Fo][s](n);return this[Jm]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new nc("handler must be an object");try{if(!e||typeof e!="object")throw new nc("opts must be an object.");if(this[sc]||this[si])throw new dI;if(this[BA])throw new Q9;return this[Jm](e,r)}catch(n){if(typeof r.onError!="function")throw new nc("invalid onError method");return r.onError(n),!1}}};Mk.exports=pI});var II=f((gNe,Uk)=>{"use strict";var ac=0,hI=1e3,fI=(hI>>1)-1,ii,gI=Symbol("kFastTimer"),oi=[],yI=-2,EI=-1,Fk=0,Lk=1;function CI(){ac+=fI;let t=0,e=oi.length;for(;t<e;){let r=oi[t];r._state===Fk?(r._idleStart=ac-fI,r._state=Lk):r._state===Lk&&ac>=r._idleStart+r._idleTimeout&&(r._state=EI,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===EI?(r._state=yI,--e!==0&&(oi[t]=oi[e])):++t}oi.length=e,oi.length!==0&&_k()}o(CI,"onTick");function _k(){ii?ii.refresh():(clearTimeout(ii),ii=setTimeout(CI,fI),ii.unref&&ii.unref())}o(_k,"refreshTimeout");var Wm=class{static{o(this,"FastTimer")}[gI]=!0;_state=yI;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,n){this._onTimeout=e,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===yI&&oi.push(this),(!ii||oi.length===1)&&_k(),this._state=Fk}clear(){this._state=EI,this._idleStart=-1}};Uk.exports={setTimeout(t,e,r){return e<=hI?setTimeout(t,e,r):new Wm(t,e,r)},clearTimeout(t){t[gI]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new Wm(t,e,r)},clearFastTimeout(t){t.clear()},now(){return ac},tick(t=0){ac+=t-hI+1,CI(),CI()},reset(){ac=0,oi.length=0,clearTimeout(ii),ii=null},kFastTimer:gI}});var QA=f((INe,Gk)=>{"use strict";var w9=require("node:net"),Ok=require("node:assert"),zk=le(),{InvalidArgumentError:N9,ConnectTimeoutError:S9}=Ce(),$m=II();function qk(){}o(qk,"noop");var BI,QI;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?QI=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))}}:QI=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 R9({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:n,session:s,...i}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new N9("maxCachedSessions must be a positive integer or zero");let a={path:r,...i},c=new QI(e??100);return n=n??1e4,t=t??!1,o(function({hostname:A,host:u,protocol:d,port:m,servername:p,localAddress:h,httpSocket:g},C){let y;if(d==="https:"){BI||(BI=require("node:tls")),p=p||a.servername||zk.getServerName(u)||null;let I=p||A;Ok(I);let B=s||c.get(I)||null;m=m||443,y=BI.connect({highWaterMark:16384,...a,servername:p,session:B,localAddress:h,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:g,port:m,host:A}),y.on("session",function(N){c.set(I,N)})}else Ok(!g,"httpSocket can only be sent on TLS update"),m=m||80,y=w9.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=P9(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(R9,"buildConnector");var P9=process.platform==="win32"?(t,e)=>{if(!e.timeout)return qk;let r=null,n=null,s=$m.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>Hk(t.deref(),e))})},e.timeout);return()=>{$m.clearFastTimeout(s),clearImmediate(r),clearImmediate(n)}}:(t,e)=>{if(!e.timeout)return qk;let r=null,n=$m.setFastTimeout(()=>{r=setImmediate(()=>{Hk(t.deref(),e)})},e.timeout);return()=>{$m.clearFastTimeout(n),clearImmediate(r)}};function Hk(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)`,zk.destroy(t,new S9(r))}o(Hk,"onConnectTimeout");Gk.exports=R9});var Yk=f(jm=>{"use strict";Object.defineProperty(jm,"__esModule",{value:!0});jm.enumToMap=void 0;function v9(t){let e={};return Object.keys(t).forEach(r=>{let n=t[r];typeof n=="number"&&(e[r]=n)}),e}o(v9,"enumToMap");jm.enumToMap=v9});var Vk=f(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 D9=Yk(),k9;(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"})(k9=w.ERROR||(w.ERROR={}));var T9;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(T9=w.TYPE||(w.TYPE={}));var M9;(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"})(M9=w.FLAGS||(w.FLAGS={}));var L9;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(L9=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=D9.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 F9;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(F9=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 cc;(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"})(cc=w.HEADER_STATE||(w.HEADER_STATE={}));w.SPECIAL_HEADERS={connection:cc.CONNECTION,"content-length":cc.CONTENT_LENGTH,"proxy-connection":cc.CONNECTION,"transfer-encoding":cc.TRANSFER_ENCODING,upgrade:cc.UPGRADE}});var xI=f((wNe,Jk)=>{"use strict";var{Buffer:_9}=require("node:buffer");Jk.exports=_9.from("AGFzbQEAAAABJ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sgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQA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AJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHyAhIyUmKCorLC8wMTIzNDU2Nzk6Ozw9lANAQkRFRklLTk9QUVJTVFVWWFpbXF1eX2BhYmNkZWZ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O8BCyABQQFqIQFBjwEhAwzuAQsgAUEBaiEBQZEBIQMM7QELQacBIQMgASAERg2FAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHtzwBqLQAARw1IIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyGAgsgAkEANgIAIAZBAWohAUERDEkLQagBIQMgASAERg2EAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHCzwBqLQAARw1HIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyFAgsgAkEANgIAIAZBAWohAUEsDEgLQakBIQMgASAERg2DAiACKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEHFzwBqLQAARw1GIABBBEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyEAgsgAkEANgIAIAZBAWohAUErDEcLQaoBIQMgASAERg2CAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHKzwBqLQAARw1FIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyDAgsgAkEANgIAIAZBAWohAUEUDEYLIAEgBEYEQEGrASEDDIICCwJAAkACQAJAIAEtAABBwgBrDg8AAQJHR0dHR0dHR0dHRwNHCyABQQFqIQFBkwEhAwzrAQsgAUEBaiEBQZQBIQMM6gELIAFBAWohAUGVASEDDOkBCyABQQFqIQFBlgEhAwzoAQsgASAERgRAQawBIQMMgQILIAEtAABBxQBHDUIgAUEBaiEBDD0LQa0BIQMgASAERg3/ASACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHNzwBqLQAARw1CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyAAgsgAkEANgIAIAZBAWohAUEODEMLIAEgBEYEQEGuASEDDP8BCyABLQAAQdAARw1AIAFBAWohAUElDEILQa8BIQMgASAERg39ASACKAIAIgAgBCABa2ohBSABIABrQQ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GMHDYCECACQQc2AgxBACEDDLcBCyACQQA2AhwgAiABNgIUIAJBww82AhAgAkEHNgIMQQAhAwy2AQsgAkEANgIcIAIgATYCFCACQcMPNgIQIAJBBzYCDEEAIQMMtQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0RIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMtAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0gIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMswELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgI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LIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAC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G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADDsYBAAECAwQFBgcICQoLDA0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MAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var xA=f((SNe,nT)=>{"use strict";var jk=["GET","HEAD","POST"],O9=new Set(jk),q9=[101,204,205,304],Kk=[301,302,303,307,308],H9=new Set(Kk),Xk=["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"],z9=new Set(Xk),Zk=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],G9=new Set(Zk),Y9=["follow","manual","error"],eT=["GET","HEAD","OPTIONS","TRACE"],V9=new Set(eT),J9=["navigate","same-origin","no-cors","cors"],W9=["omit","same-origin","include"],$9=["default","no-store","reload","no-cache","force-cache","only-if-cached"],j9=["content-encoding","content-language","content-location","content-type","content-length"],K9=["half"],tT=["CONNECT","TRACE","TRACK"],X9=new Set(tT),rT=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],Z9=new Set(rT);nT.exports={subresource:rT,forbiddenMethods:tT,requestBodyHeader:j9,referrerPolicy:Zk,requestRedirect:Y9,requestMode:J9,requestCredentials:W9,requestCache:$9,redirectStatus:Kk,corsSafeListedMethods:jk,nullBodyStatus:q9,safeMethods:eT,badPorts:Xk,requestDuplex:K9,subresourceSet:Z9,badPortsSet:z9,redirectStatusSet:H9,corsSafeListedMethodsSet:O9,safeMethodsSet:V9,forbiddenMethodsSet:X9,referrerPolicySet:G9}});var wI=f((RNe,sT)=>{"use strict";var bI=Symbol.for("undici.globalOrigin.1");function e6(){return globalThis[bI]}o(e6,"getGlobalOrigin");function t6(t){if(t===void 0){Object.defineProperty(globalThis,bI,{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,bI,{value:e,writable:!0,enumerable:!1,configurable:!1})}o(t6,"setGlobalOrigin");sT.exports={getGlobalOrigin:e6,setGlobalOrigin:t6}});var ar=f((vNe,uT)=>{"use strict";var Xm=require("node:assert"),r6=new TextEncoder,bA=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,n6=/[\u000A\u000D\u0009\u0020]/,s6=/[\u0009\u000A\u000C\u000D\u0020]/g,i6=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function o6(t){Xm(t.protocol==="data:");let e=aT(t,!0);e=e.slice(5);let r={position:0},n=lc(",",e,r),s=n.length;if(n=d6(n,!0,!0),r.position>=e.length)return"failure";r.position++;let i=e.slice(s+1),a=cT(i);if(/;(\u0020){0,}base64$/i.test(n)){let l=AT(a);if(a=c6(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=NI(n);return c==="failure"&&(c=NI("text/plain;charset=US-ASCII")),{mimeType:c,body:a}}o(o6,"dataURLProcessor");function aT(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(aT,"URLSerializer");function Zm(t,e,r){let n="";for(;r.position<e.length&&t(e[r.position]);)n+=e[r.position],r.position++;return n}o(Zm,"collectASequenceOfCodePoints");function lc(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(lc,"collectASequenceOfCodePointsFast");function cT(t){let e=r6.encode(t);return a6(e)}o(cT,"stringPercentDecode");function iT(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}o(iT,"isHexCharByte");function oT(t){return t>=48&&t<=57?t-48:(t&223)-55}o(oT,"hexByteToNumber");function a6(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&&!(iT(t[s+1])&&iT(t[s+2]))?r[n++]=37:(r[n++]=oT(t[s+1])<<4|oT(t[s+2]),s+=2)}return e===n?r:r.subarray(0,n)}o(a6,"percentDecode");function NI(t){t=Km(t,!0,!0);let e={position:0},r=lc("/",t,e);if(r.length===0||!bA.test(r)||e.position>t.length)return"failure";e.position++;let n=lc(";",t,e);if(n=Km(n,!1,!0),n.length===0||!bA.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++,Zm(A=>n6.test(A),t,e);let c=Zm(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=lT(t,e,!0),lc(";",t,e);else if(l=lc(";",t,e),l=Km(l,!1,!0),l.length===0)continue;c.length!==0&&bA.test(c)&&(l.length===0||i6.test(l))&&!a.parameters.has(c)&&a.parameters.set(c,l)}return a}o(NI,"parseMIMEType");function c6(t){t=t.replace(s6,"");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(c6,"forgivingBase64");function lT(t,e,r){let n=e.position,s="";for(Xm(t[e.position]==='"'),e.position++;s+=Zm(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{Xm(i==='"');break}}return r?s:t.slice(n,e.position)}o(lT,"collectAnHTTPQuotedString");function l6(t){Xm(t!=="failure");let{parameters:e,essence:r}=t,n=r;for(let[s,i]of e.entries())n+=";",n+=s,n+="=",bA.test(i)||(i=i.replace(/(\\|")/g,"\\$1"),i='"'+i,i+='"'),n+=i;return n}o(l6,"serializeAMimeType");function A6(t){return t===13||t===10||t===9||t===32}o(A6,"isHTTPWhiteSpace");function Km(t,e=!0,r=!0){return SI(t,e,r,A6)}o(Km,"removeHTTPWhitespace");function u6(t){return t===13||t===10||t===9||t===12||t===32}o(u6,"isASCIIWhitespace");function d6(t,e=!0,r=!0){return SI(t,e,r,u6)}o(d6,"removeASCIIWhitespace");function SI(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(SI,"removeChars");function AT(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(AT,"isomorphicDecode");function m6(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(m6,"minimizeSupportedMimeType");uT.exports={dataURLProcessor:o6,URLSerializer:aT,collectASequenceOfCodePoints:Zm,collectASequenceOfCodePointsFast:lc,stringPercentDecode:cT,parseMIMEType:NI,collectAnHTTPQuotedString:lT,serializeAMimeType:l6,removeChars:SI,removeHTTPWhitespace:Km,minimizeSupportedMimeType:m6,HTTP_TOKEN_CODEPOINTS:bA,isomorphicDecode:AT}});var Dt=f((kNe,dT)=>{"use strict";var{types:rs,inspect:p6}=require("node:util"),{markAsUncloneable:h6}=require("node:worker_threads"),{toUSVString:f6}=le(),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=h6||(()=>{});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 p6(t);case"String":return`"${t}"`;default:return`${t}`}};x.sequenceConverter=function(t){return(e,r,n,s)=>{if(x.util.Type(e)!=="Object")throw x.errors.exception({header:r,message:`${n} (${x.util.Stringify(e)}) is not iterable.`});let i=typeof s=="function"?s():e?.[Symbol.iterator]?.(),a=[],c=0;if(i===void 0||typeof i.next!="function")throw x.errors.exception({header:r,message:`${n} is not iterable.`});for(;;){let{done:l,value:A}=i.next();if(l)break;a.push(t(A,r,`${n}[${c++}]`))}return a}};x.recordConverter=function(t,e){return(r,n,s)=>{if(x.util.Type(r)!=="Object")throw x.errors.exception({header:n,message:`${s} ("${x.util.Type(r)}") is not an Object.`});let i={};if(!rs.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=f6;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"||!rs.isAnyArrayBuffer(t))throw x.errors.conversionFailed({prefix:e,argument:`${r} ("${x.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(n?.allowShared===!1&&rs.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"||!rs.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&&rs.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"||!rs.isDataView(t))throw x.errors.exception({header:e,message:`${r} is not a DataView.`});if(n?.allowShared===!1&&rs.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(rs.isAnyArrayBuffer(t))return x.converters.ArrayBuffer(t,e,r,{...n,allowShared:!1});if(rs.isTypedArray(t))return x.converters.TypedArray(t,t.constructor,e,r,{...n,allowShared:!1});if(rs.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);dT.exports={webidl:x}});var Rr=f((TNe,wT)=>{"use strict";var{Transform:g6}=require("node:stream"),mT=require("node:zlib"),{redirectStatusSet:y6,referrerPolicySet:E6,badPortsSet:C6}=xA(),{getGlobalOrigin:pT}=wI(),{collectASequenceOfCodePoints:_o,collectAnHTTPQuotedString:I6,removeChars:B6,parseMIMEType:Q6}=ar(),{performance:x6}=require("node:perf_hooks"),{isBlobLike:b6,ReadableStreamFrom:w6,isValidHTTPToken:hT,normalizedMethodRecordsBase:N6}=le(),Uo=require("node:assert"),{isUint8Array:S6}=require("node:util/types"),{webidl:wA}=Dt(),fT=[],tp;try{tp=require("node:crypto");let t=["sha256","sha384","sha512"];fT=tp.getHashes().filter(e=>t.includes(e))}catch{}function gT(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}o(gT,"responseURL");function R6(t,e){if(!y6.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&ET(r)&&(yT(r)||(r=P6(r)),r=new URL(r,gT(t))),r&&!r.hash&&(r.hash=e),r}o(R6,"responseLocationURL");function yT(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r>126||r<32)return!1}return!0}o(yT,"isValidEncodedURL");function P6(t){return Buffer.from(t,"binary").toString("utf8")}o(P6,"normalizeBinaryStringToUtf8");function SA(t){return t.urlList[t.urlList.length-1]}o(SA,"requestCurrentURL");function v6(t){let e=SA(t);return xT(e)&&C6.has(e.port)?"blocked":"allowed"}o(v6,"requestBadPort");function D6(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}o(D6,"isErrorLike");function k6(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(k6,"isValidReasonPhrase");var T6=hT;function ET(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(`
|
|
`)||t.includes("\r")||t.includes("\0"))===!1}o(ET,"isValidHeaderValue");function M6(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(E6.has(a)){s=a;break}}s!==""&&(t.referrerPolicy=s)}o(M6,"setRequestReferrerPolicyOnRedirect");function L6(){return"allowed"}o(L6,"crossOriginResourcePolicyCheck");function F6(){return"success"}o(F6,"corsCheck");function _6(){return"success"}o(_6,"TAOCheck");function U6(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(U6,"appendFetchMetadata");function O6(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&&PI(t.origin)&&!PI(SA(t))&&(e=null);break;case"same-origin":rp(t,SA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(O6,"appendRequestOriginHeader");function Ac(t,e){return t}o(Ac,"coarsenTime");function q6(t,e,r){return!t?.startTime||t.startTime<e?{domainLookupStartTime:e,domainLookupEndTime:e,connectionStartTime:e,connectionEndTime:e,secureConnectionStartTime:e,ALPNNegotiatedProtocol:t?.ALPNNegotiatedProtocol}:{domainLookupStartTime:Ac(t.domainLookupStartTime,r),domainLookupEndTime:Ac(t.domainLookupEndTime,r),connectionStartTime:Ac(t.connectionStartTime,r),connectionEndTime:Ac(t.connectionEndTime,r),secureConnectionStartTime:Ac(t.secureConnectionStartTime,r),ALPNNegotiatedProtocol:t.ALPNNegotiatedProtocol}}o(q6,"clampAndCoarsenConnectionTimingInfo");function H6(t){return Ac(x6.now(),t)}o(H6,"coarsenedSharedCurrentTime");function z6(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(z6,"createOpaqueTimingInfo");function CT(){return{referrerPolicy:"strict-origin-when-cross-origin"}}o(CT,"makePolicyContainer");function G6(t){return{referrerPolicy:t.referrerPolicy}}o(G6,"clonePolicyContainer");function Y6(t){let e=t.referrerPolicy;Uo(e);let r=null;if(t.referrer==="client"){let c=pT();if(!c||c.origin==="null")return"no-referrer";r=new URL(c)}else t.referrer instanceof URL&&(r=t.referrer);let n=RI(r),s=RI(r,!0);n.toString().length>4096&&(n=s);let i=rp(t,n),a=NA(n)&&!NA(t.url);switch(e){case"origin":return s??RI(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=SA(t);return rp(n,c)?n:NA(n)&&!NA(c)?"no-referrer":s}default:return a?"no-referrer":s}}o(Y6,"determineRequestsReferrer");function RI(t,e){return Uo(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(RI,"stripURLForReferrer");function NA(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(NA,"isURLPotentiallyTrustworthy");function V6(t,e){if(tp===void 0)return!0;let r=IT(e);if(r==="no metadata"||r.length===0)return!0;let n=W6(r),s=$6(r,n);for(let i of s){let a=i.algo,c=i.hash,l=tp.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)),j6(l,c))return!0}return!1}o(V6,"bytesMatch");var J6=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function IT(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let s=J6.exec(n);if(s===null||s.groups===void 0||s.groups.algo===void 0)continue;let i=s.groups.algo.toLowerCase();fT.includes(i)&&e.push(s.groups)}return r===!0?"no metadata":e}o(IT,"parseMetadata");function W6(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(W6,"getStrongestMetadata");function $6(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($6,"filterMetadataListByAlgorithm");function j6(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(j6,"compareBase64Mixed");function K6(t){}o(K6,"tryUpgradeRequestToAPotentiallyTrustworthyURL");function rp(t,e){return t.origin===e.origin&&t.origin==="null"||t.protocol===e.protocol&&t.hostname===e.hostname&&t.port===e.port}o(rp,"sameOrigin");function X6(){let t,e;return{promise:new Promise((n,s)=>{t=n,e=s}),resolve:t,reject:e}}o(X6,"createDeferredPromise");function Z6(t){return t.controller.state==="aborted"}o(Z6,"isAborted");function ej(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}o(ej,"isCancelled");function tj(t){return N6[t.toLowerCase()]??t}o(tj,"normalizeMethod");function rj(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return Uo(typeof e=="string"),e}o(rj,"serializeJavascriptValueToJSONString");var nj=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function BT(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,nj),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(BT,"createIterator");function sj(t,e,r,n=0,s=1){let i=BT(t,r,n,s),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return wA.brandCheck(this,e),i(this,"key")},"keys")},values:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return wA.brandCheck(this,e),i(this,"value")},"values")},entries:{writable:!0,enumerable:!0,configurable:!0,value:o(function(){return wA.brandCheck(this,e),i(this,"key+value")},"entries")},forEach:{writable:!0,enumerable:!0,configurable:!0,value:o(function(l,A=globalThis){if(wA.brandCheck(this,e),wA.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(sj,"iteratorMixin");async function ij(t,e,r){let n=e,s=r,i;try{i=t.stream.getReader()}catch(a){s(a);return}try{n(await QT(i))}catch(a){s(a)}}o(ij,"fullyReadBody");function oj(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}o(oj,"isReadableStreamLike");function aj(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(aj,"readableStreamClose");var cj=/[^\x00-\xFF]/;function ep(t){return Uo(!cj.test(t)),t}o(ep,"isomorphicEncode");async function QT(t){let e=[],r=0;for(;;){let{done:n,value:s}=await t.read();if(n)return Buffer.concat(e,r);if(!S6(s))throw new TypeError("Received non-Uint8Array chunk");e.push(s),r+=s.length}}o(QT,"readAllBytes");function lj(t){Uo("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}o(lj,"urlIsLocal");function PI(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(PI,"urlHasHttpsScheme");function xT(t){Uo("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}o(xT,"urlIsHttpHttpsScheme");function Aj(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(e&&_o(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==61)return"failure";n.position++,e&&_o(l=>l===" "||l===" ",r,n);let s=_o(l=>{let A=l.charCodeAt(0);return A>=48&&A<=57},r,n),i=s.length?Number(s):null;if(e&&_o(l=>l===" "||l===" ",r,n),r.charCodeAt(n.position)!==45)return"failure";n.position++,e&&_o(l=>l===" "||l===" ",r,n);let a=_o(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(Aj,"simpleRangeHeaderValue");function uj(t,e,r){let n="bytes ";return n+=ep(`${t}`),n+="-",n+=ep(`${e}`),n+="/",n+=ep(`${r}`),n}o(uj,"buildContentRange");var vI=class extends g6{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?mT.createInflate(this.#e):mT.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 dj(t){return new vI(t)}o(dj,"createInflate");function mj(t){let e=null,r=null,n=null,s=bT("content-type",t);if(s===null)return"failure";for(let i of s){let a=Q6(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(mj,"extractMimeType");function pj(t){let e=t,r={position:0},n=[],s="";for(;r.position<e.length;){if(s+=_o(i=>i!=='"'&&i!==",",e,r),r.position<e.length)if(e.charCodeAt(r.position)===34){if(s+=I6(e,r),r.position<e.length)continue}else Uo(e.charCodeAt(r.position)===44),r.position++;s=B6(s,!0,!0,i=>i===9||i===32),n.push(s),s=""}return n}o(pj,"gettingDecodingSplitting");function bT(t,e){let r=e.get(t,!0);return r===null?null:pj(r)}o(bT,"getDecodeSplit");var hj=new TextDecoder;function fj(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),hj.decode(t))}o(fj,"utf8DecodeBytes");var DI=class{static{o(this,"EnvironmentSettingsObjectBase")}get baseUrl(){return pT()}get origin(){return this.baseUrl?.origin}policyContainer=CT()},kI=class{static{o(this,"EnvironmentSettingsObject")}settingsObject=new DI},gj=new kI;wT.exports={isAborted:Z6,isCancelled:ej,isValidEncodedURL:yT,createDeferredPromise:X6,ReadableStreamFrom:w6,tryUpgradeRequestToAPotentiallyTrustworthyURL:K6,clampAndCoarsenConnectionTimingInfo:q6,coarsenedSharedCurrentTime:H6,determineRequestsReferrer:Y6,makePolicyContainer:CT,clonePolicyContainer:G6,appendFetchMetadata:U6,appendRequestOriginHeader:O6,TAOCheck:_6,corsCheck:F6,crossOriginResourcePolicyCheck:L6,createOpaqueTimingInfo:z6,setRequestReferrerPolicyOnRedirect:M6,isValidHTTPToken:hT,requestBadPort:v6,requestCurrentURL:SA,responseURL:gT,responseLocationURL:R6,isBlobLike:b6,isURLPotentiallyTrustworthy:NA,isValidReasonPhrase:k6,sameOrigin:rp,normalizeMethod:tj,serializeJavascriptValueToJSONString:rj,iteratorMixin:sj,createIterator:BT,isValidHeaderName:T6,isValidHeaderValue:ET,isErrorLike:D6,fullyReadBody:ij,bytesMatch:V6,isReadableStreamLike:oj,readableStreamClose:aj,isomorphicEncode:ep,urlIsLocal:lj,urlHasHttpsScheme:PI,urlIsHttpHttpsScheme:xT,readAllBytes:QT,simpleRangeHeaderValue:Aj,buildContentRange:uj,parseMetadata:IT,createInflate:dj,extractMimeType:mj,getDecodeSplit:bT,utf8DecodeBytes:fj,environmentSettingsObject:gj}});var Hi=f((LNe,NT)=>{"use strict";NT.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var MI=f((FNe,ST)=>{"use strict";var{Blob:yj,File:Ej}=require("node:buffer"),{kState:ai}=Hi(),{webidl:ns}=Dt(),TI=class t{static{o(this,"FileLike")}constructor(e,r,n={}){let s=r,i=n.type,a=n.lastModified??Date.now();this[ai]={blobLike:e,name:s,type:i,lastModified:a}}stream(...e){return ns.brandCheck(this,t),this[ai].blobLike.stream(...e)}arrayBuffer(...e){return ns.brandCheck(this,t),this[ai].blobLike.arrayBuffer(...e)}slice(...e){return ns.brandCheck(this,t),this[ai].blobLike.slice(...e)}text(...e){return ns.brandCheck(this,t),this[ai].blobLike.text(...e)}get size(){return ns.brandCheck(this,t),this[ai].blobLike.size}get type(){return ns.brandCheck(this,t),this[ai].blobLike.type}get name(){return ns.brandCheck(this,t),this[ai].name}get lastModified(){return ns.brandCheck(this,t),this[ai].lastModified}get[Symbol.toStringTag](){return"File"}};ns.converters.Blob=ns.interfaceConverter(yj);function Cj(t){return t instanceof Ej||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}o(Cj,"isFileLike");ST.exports={FileLike:TI,isFileLike:Cj}});var PA=f((UNe,kT)=>{"use strict";var{isBlobLike:np,iteratorMixin:Ij}=Rr(),{kState:Vt}=Hi(),{kEnumerableProperty:uc}=le(),{FileLike:RT,isFileLike:Bj}=MI(),{webidl:ve}=Dt(),{File:DT}=require("node:buffer"),PT=require("node:util"),vT=globalThis.File??DT,RA=class t{static{o(this,"FormData")}constructor(e){if(ve.util.markAsUncloneable(this),e!==void 0)throw ve.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[Vt]=[]}append(e,r,n=void 0){ve.brandCheck(this,t);let s="FormData.append";if(ve.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=ve.converters.USVString(e,s,"name"),r=np(r)?ve.converters.Blob(r,s,"value",{strict:!1}):ve.converters.USVString(r,s,"value"),n=arguments.length===3?ve.converters.USVString(n,s,"filename"):void 0;let i=LI(e,r,n);this[Vt].push(i)}delete(e){ve.brandCheck(this,t);let r="FormData.delete";ve.argumentLengthCheck(arguments,1,r),e=ve.converters.USVString(e,r,"name"),this[Vt]=this[Vt].filter(n=>n.name!==e)}get(e){ve.brandCheck(this,t);let r="FormData.get";ve.argumentLengthCheck(arguments,1,r),e=ve.converters.USVString(e,r,"name");let n=this[Vt].findIndex(s=>s.name===e);return n===-1?null:this[Vt][n].value}getAll(e){ve.brandCheck(this,t);let r="FormData.getAll";return ve.argumentLengthCheck(arguments,1,r),e=ve.converters.USVString(e,r,"name"),this[Vt].filter(n=>n.name===e).map(n=>n.value)}has(e){ve.brandCheck(this,t);let r="FormData.has";return ve.argumentLengthCheck(arguments,1,r),e=ve.converters.USVString(e,r,"name"),this[Vt].findIndex(n=>n.name===e)!==-1}set(e,r,n=void 0){ve.brandCheck(this,t);let s="FormData.set";if(ve.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=ve.converters.USVString(e,s,"name"),r=np(r)?ve.converters.Blob(r,s,"name",{strict:!1}):ve.converters.USVString(r,s,"name"),n=arguments.length===3?ve.converters.USVString(n,s,"name"):void 0;let i=LI(e,r,n),a=this[Vt].findIndex(c=>c.name===e);a!==-1?this[Vt]=[...this[Vt].slice(0,a),i,...this[Vt].slice(a+1).filter(c=>c.name!==e)]:this[Vt].push(i)}[PT.inspect.custom](e,r){let n=this[Vt].reduce((i,a)=>(i[a.name]?Array.isArray(i[a.name])?i[a.name].push(a.value):i[a.name]=[i[a.name],a.value]:i[a.name]=a.value,i),{__proto__:null});r.depth??=e,r.colors??=!0;let s=PT.formatWithOptions(r,n);return`FormData ${s.slice(s.indexOf("]")+2)}`}};Ij("FormData",RA,Vt,"name","value");Object.defineProperties(RA.prototype,{append:uc,delete:uc,get:uc,getAll:uc,has:uc,set:uc,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function LI(t,e,r){if(typeof e!="string"){if(Bj(e)||(e=e instanceof Blob?new vT([e],"blob",{type:e.type}):new RT(e,"blob",{type:e.type})),r!==void 0){let n={type:e.type,lastModified:e.lastModified};e=e instanceof DT?new vT([e],r,n):new RT(e,r,n)}}return{name:t,value:e}}o(LI,"makeEntry");kT.exports={FormData:RA,makeEntry:LI}});var UT=f((qNe,_T)=>{"use strict";var{isUSVString:TT,bufferToLowerCasedHeaderName:Qj}=le(),{utf8DecodeBytes:xj}=Rr(),{HTTP_TOKEN_CODEPOINTS:bj,isomorphicDecode:MT}=ar(),{isFileLike:wj}=MI(),{makeEntry:Nj}=PA(),sp=require("node:assert"),{File:Sj}=require("node:buffer"),Rj=globalThis.File??Sj,Pj=Buffer.from('form-data; name="'),LT=Buffer.from("; filename"),vj=Buffer.from("--"),Dj=Buffer.from(`--\r
|
|
`);function kj(t){for(let e=0;e<t.length;++e)if((t.charCodeAt(e)&-128)!==0)return!1;return!0}o(kj,"isAsciiString");function Tj(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(Tj,"validateBoundary");function Mj(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&&ip(t,vj,i)||i.position===t.length-4&&ip(t,Dj,i))return s;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let c=Lj(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",kj(u)||(u=""),p=new Rj([m],A,{type:u})):p=xj(Buffer.from(m)),sp(TT(l)),sp(typeof p=="string"&&TT(p)||wj(p)),s.push(Nj(l,p,A))}}o(Mj,"multipartFormDataParser");function Lj(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=dc(c=>c!==10&&c!==13&&c!==58,t,e);if(a=FI(a,!0,!0,c=>c===9||c===32),!bj.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,dc(c=>c===32||c===9,t,e),Qj(a)){case"content-disposition":{if(r=n=null,!ip(t,Pj,e)||(e.position+=17,r=FT(t,e),r===null))return"failure";if(ip(t,LT,e)){let c=e.position+LT.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,n=FT(t,e),n===null))return"failure"}break}case"content-type":{let c=dc(l=>l!==10&&l!==13,t,e);c=FI(c,!1,!0,l=>l===9||l===32),s=MT(c);break}case"content-transfer-encoding":{let c=dc(l=>l!==10&&l!==13,t,e);c=FI(c,!1,!0,l=>l===9||l===32),i=MT(c);break}default:dc(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(Lj,"parseMultipartFormDataHeaders");function FT(t,e){sp(t[e.position-1]===34);let r=dc(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(FT,"parseMultipartFormDataName");function dc(t,e,r){let n=r.position;for(;n<e.length&&t(e[n]);)++n;return e.subarray(r.position,r.position=n)}o(dc,"collectASequenceOfBytes");function FI(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(FI,"removeChars");function ip(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(ip,"bufferStartsWith");_T.exports={multipartFormDataParser:Mj,validateBoundary:Tj}});var hc=f((zNe,$T)=>{"use strict";var vA=le(),{ReadableStreamFrom:Fj,isBlobLike:OT,isReadableStreamLike:_j,readableStreamClose:Uj,createDeferredPromise:Oj,fullyReadBody:qj,extractMimeType:Hj,utf8DecodeBytes:zT}=Rr(),{FormData:qT}=PA(),{kState:pc}=Hi(),{webidl:zj}=Dt(),{Blob:Gj}=require("node:buffer"),_I=require("node:assert"),{isErrored:GT,isDisturbed:Yj}=require("node:stream"),{isArrayBuffer:Vj}=require("node:util/types"),{serializeAMimeType:Jj}=ar(),{multipartFormDataParser:Wj}=UT(),UI;try{let t=require("node:crypto");UI=o(e=>t.randomInt(0,e),"random")}catch{UI=o(t=>Math.floor(Math.random(t)),"random")}var op=new TextEncoder;function $j(){}o($j,"noop");var YT=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,VT;YT&&(VT=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!Yj(e)&&!GT(e)&&e.cancel("Response object has been garbage collected").catch($j)}));function JT(t,e=!1){let r=null;t instanceof ReadableStream?r=t:OT(t)?r=t.stream():r=new ReadableStream({async pull(l){let A=typeof s=="string"?op.encode(s):s;A.byteLength&&l.enqueue(A),queueMicrotask(()=>Uj(l))},start(){},type:"bytes"}),_I(_j(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(Vj(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(vA.isFormDataLike(t)){let l=`----formdata-undici-0${`${UI(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=op.encode(A+`; name="${u(d(C))}"\r
|
|
\r
|
|
${d(y)}\r
|
|
`);m.push(E),i+=E.byteLength}else{let E=op.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 g=op.encode(`--${l}--\r
|
|
`);m.push(g),i+=g.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(OT(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(vA.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:Fj(t)}if((typeof s=="string"||vA.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(!GT(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(JT,"extractBody");function jj(t,e=!1){return t instanceof ReadableStream&&(_I(!vA.isDisturbed(t),"The body has already been consumed."),_I(!t.locked,"The stream is locked.")),JT(t,e)}o(jj,"safelyExtractBody");function Kj(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}o(Kj,"cloneBody");function Xj(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(Xj,"throwIfAborted");function Zj(t){return{blob(){return mc(this,r=>{let n=HT(this);return n===null?n="":n&&(n=Jj(n)),new Gj([r],{type:n})},t)},arrayBuffer(){return mc(this,r=>new Uint8Array(r).buffer,t)},text(){return mc(this,zT,t)},json(){return mc(this,tK,t)},formData(){return mc(this,r=>{let n=HT(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let s=Wj(r,n);if(s==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new qT;return i[pc]=s,i}case"application/x-www-form-urlencoded":{let s=new URLSearchParams(r.toString()),i=new qT;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 mc(this,r=>new Uint8Array(r),t)}}}o(Zj,"bodyMixinMethods");function eK(t){Object.assign(t.prototype,Zj(t))}o(eK,"mixinBody");async function mc(t,e,r){if(zj.brandCheck(t,r),WT(t))throw new TypeError("Body is unusable: Body has already been read");Xj(t[pc]);let n=Oj(),s=o(a=>n.reject(a),"errorSteps"),i=o(a=>{try{n.resolve(e(a))}catch(c){s(c)}},"successSteps");return t[pc].body==null?(i(Buffer.allocUnsafe(0)),n.promise):(await qj(t[pc].body,i,s),n.promise)}o(mc,"consumeBody");function WT(t){let e=t[pc].body;return e!=null&&(e.stream.locked||vA.isDisturbed(e.stream))}o(WT,"bodyUnusable");function tK(t){return JSON.parse(zT(t))}o(tK,"parseJSONFromBytes");function HT(t){let e=t[pc].headersList,r=Hj(e);return r==="failure"?null:r}o(HT,"bodyMimeType");$T.exports={extractBody:JT,safelyExtractBody:jj,cloneBody:Kj,mixinBody:eK,streamRegistry:VT,hasFinalizationRegistry:YT,bodyUnusable:WT}});var lM=f((YNe,cM)=>{"use strict";var J=require("node:assert"),ee=le(),{channels:jT}=rc(),OI=II(),{RequestContentLengthMismatchError:Oo,ResponseContentLengthMismatchError:KT,RequestAbortedError:iM,HeadersTimeoutError:rK,HeadersOverflowError:nK,SocketError:mp,InformationalError:fc,BodyTimeoutError:sK,HTTPParserError:iK,ResponseExceededMaxSizeError:oK}=Ce(),{kUrl:oM,kReset:cr,kClient:Ap,kParser:Ve,kBlocking:TA,kRunning:Lt,kPending:aK,kSize:XT,kWriting:Gi,kQueue:Pn,kNoRef:DA,kKeepAliveDefaultTimeout:cK,kHostHeader:lK,kPendingIdx:AK,kRunningIdx:nn,kError:Jt,kPipelining:up,kSocket:gc,kKeepAliveTimeoutValue:pp,kMaxHeadersSize:qI,kKeepAliveMaxTimeout:uK,kKeepAliveTimeoutThreshold:dK,kHeadersTimeout:mK,kBodyTimeout:pK,kStrictContentLength:GI,kMaxRequests:ZT,kCounter:hK,kMaxResponseSize:fK,kOnError:eM,kResume:zi,kHTTPContext:aM}=Fe(),Pr=Vk(),tM=Buffer.alloc(0),ap=Buffer[Symbol.species],cp=ee.addListener,gK=ee.removeAllListeners,HI;async function yK(){let t=process.env.JEST_WORKER_ID?xI():void 0,e;try{e=await WebAssembly.compile($k())}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)=>{J(Ye.ptr===r);let i=n-is+ss.byteOffset;return Ye.onStatus(new ap(ss.buffer,i,s))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>(J(Ye.ptr===r),Ye.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,n,s)=>{J(Ye.ptr===r);let i=n-is+ss.byteOffset;return Ye.onHeaderField(new ap(ss.buffer,i,s))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,n,s)=>{J(Ye.ptr===r);let i=n-is+ss.byteOffset;return Ye.onHeaderValue(new ap(ss.buffer,i,s))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,n,s,i)=>(J(Ye.ptr===r),Ye.onHeadersComplete(n,!!s,!!i)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,n,s)=>{J(Ye.ptr===r);let i=n-is+ss.byteOffset;return Ye.onBody(new ap(ss.buffer,i,s))||0},"wasm_on_body"),wasm_on_message_complete:o(r=>(J(Ye.ptr===r),Ye.onMessageComplete()||0),"wasm_on_message_complete")}})}o(yK,"lazyllhttp");var zI=null,YI=yK();YI.catch();var Ye=null,ss=null,lp=0,is=null,EK=0,kA=1,yc=2|kA,dp=4|kA,VI=8|EK,JI=class{static{o(this,"Parser")}constructor(e,r,{exports:n}){J(Number.isFinite(e[qI])&&e[qI]>0),this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(Pr.TYPE.RESPONSE),this.client=e,this.socket=r,this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.statusCode=null,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=e[qI],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[fK]}setTimeout(e,r){e!==this.timeoutValue||r&kA^this.timeoutType&kA?(this.timeout&&(OI.clearTimeout(this.timeout),this.timeout=null),e&&(r&kA?this.timeout=OI.setFastTimeout(rM,e,new WeakRef(this)):(this.timeout=setTimeout(rM,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||(J(this.ptr!=null),J(Ye==null),this.llhttp.llhttp_resume(this.ptr),J(this.timeoutType===dp),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||tM),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){J(this.ptr!=null),J(Ye==null),J(!this.paused);let{socket:r,llhttp:n}=this;e.length>lp&&(is&&n.free(is),lp=Math.ceil(e.length/4096)*4096,is=n.malloc(lp)),new Uint8Array(n.memory.buffer,is,lp).set(e);try{let s;try{ss=e,Ye=this,s=n.llhttp_execute(this.ptr,is,e.length)}catch(a){throw a}finally{Ye=null,ss=null}let i=n.llhttp_get_error_pos(this.ptr)-is;if(s!==Pr.ERROR.OK){let a=e.subarray(i);if(s===Pr.ERROR.PAUSED_UPGRADE)this.onUpgrade(a);else if(s===Pr.ERROR.PAUSED)this.paused=!0,r.unshift(a);else throw this.createError(s,a)}}catch(s){ee.destroy(r,s)}}finish(){J(Ye===null),J(this.ptr!=null),J(!this.paused);let{llhttp:e}=this,r;try{Ye=this,r=e.llhttp_finish(this.ptr)}finally{Ye=null}return r===Pr.ERROR.OK?null:r===Pr.ERROR.PAUSED||r===Pr.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(r,tM)}createError(e,r){let{llhttp:n,contentLength:s,bytesRead:i}=this;if(s&&i!==parseInt(s,10))return new KT;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 iK(c,Pr.ERROR[e],r)}destroy(){J(this.ptr!=null),J(Ye==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&OI.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){this.statusText=e.toString()}onMessageBegin(){let{socket:e,client:r}=this;if(e.destroyed)return-1;let n=r[Pn][r[nn]];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=ee.bufferToLowerCasedHeaderName(n);s==="keep-alive"?this.keepAlive+=e.toString():s==="connection"&&(this.connection+=e.toString())}else n.length===14&&ee.bufferToLowerCasedHeaderName(n)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&ee.destroy(this.socket,new nK)}onUpgrade(e){let{upgrade:r,client:n,socket:s,headers:i,statusCode:a}=this;J(r),J(n[gc]===s),J(!s.destroyed),J(!this.paused),J((i.length&1)===0);let c=n[Pn][n[nn]];J(c),J(c.upgrade||c.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,s.unshift(e),s[Ve].destroy(),s[Ve]=null,s[Ap]=null,s[Jt]=null,gK(s),n[gc]=null,n[aM]=null,n[Pn][n[nn]++]=null,n.emit("disconnect",n[oM],[n],new fc("upgrade"));try{c.onUpgrade(a,i,s)}catch(l){ee.destroy(s,l)}n[zi]()}onHeadersComplete(e,r,n){let{client:s,socket:i,headers:a,statusText:c}=this;if(i.destroyed)return-1;let l=s[Pn][s[nn]];if(!l)return-1;if(J(!this.upgrade),J(this.statusCode<200),e===100)return ee.destroy(i,new mp("bad response",ee.getSocketInfo(i))),-1;if(r&&!l.upgrade)return ee.destroy(i,new mp("bad upgrade",ee.getSocketInfo(i))),-1;if(J(this.timeoutType===yc),this.statusCode=e,this.shouldKeepAlive=n||l.method==="HEAD"&&!i[cr]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let u=l.bodyTimeout!=null?l.bodyTimeout:s[pK];this.setTimeout(u,dp)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method==="CONNECT")return J(s[Lt]===1),this.upgrade=!0,2;if(r)return J(s[Lt]===1),this.upgrade=!0,2;if(J((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&s[up]){let u=this.keepAlive?ee.parseKeepAliveTimeout(this.keepAlive):null;if(u!=null){let d=Math.min(u-s[dK],s[uK]);d<=0?i[cr]=!0:s[pp]=d}else s[pp]=s[cK]}else i[cr]=!0;let A=l.onHeaders(e,a,this.resume,c)===!1;return l.aborted?-1:l.method==="HEAD"||e<200?1:(i[TA]&&(i[TA]=!1,s[zi]()),A?Pr.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:n,statusCode:s,maxResponseSize:i}=this;if(n.destroyed)return-1;let a=r[Pn][r[nn]];if(J(a),J(this.timeoutType===dp),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),J(s>=200),i>-1&&this.bytesRead+e.length>i)return ee.destroy(n,new oK),-1;if(this.bytesRead+=e.length,a.onData(e)===!1)return Pr.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:n,upgrade:s,headers:i,contentLength:a,bytesRead:c,shouldKeepAlive:l}=this;if(r.destroyed&&(!n||l))return-1;if(s)return;J(n>=100),J((this.headers.length&1)===0);let A=e[Pn][e[nn]];if(J(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 ee.destroy(r,new KT),-1;if(A.onComplete(i),e[Pn][e[nn]++]=null,r[Gi])return J(e[Lt]===0),ee.destroy(r,new fc("reset")),Pr.ERROR.PAUSED;if(l){if(r[cr]&&e[Lt]===0)return ee.destroy(r,new fc("reset")),Pr.ERROR.PAUSED;e[up]==null||e[up]===1?setImmediate(()=>e[zi]()):e[zi]()}else return ee.destroy(r,new fc("reset")),Pr.ERROR.PAUSED}}};function rM(t){let{socket:e,timeoutType:r,client:n,paused:s}=t.deref();r===yc?(!e[Gi]||e.writableNeedDrain||n[Lt]>1)&&(J(!s,"cannot be paused while waiting for headers"),ee.destroy(e,new rK)):r===dp?s||ee.destroy(e,new sK):r===VI&&(J(n[Lt]===0&&n[pp]),ee.destroy(e,new fc("socket idle timeout")))}o(rM,"onParserTimeout");async function CK(t,e){t[gc]=e,zI||(zI=await YI,YI=null),e[DA]=!1,e[Gi]=!1,e[cr]=!1,e[TA]=!1,e[Ve]=new JI(t,e,zI),cp(e,"error",function(n){J(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let s=this[Ve];if(n.code==="ECONNRESET"&&s.statusCode&&!s.shouldKeepAlive){let i=s.finish();i&&(this[Jt]=i,this[Ap][eM](i));return}this[Jt]=n,this[Ap][eM](n)}),cp(e,"readable",function(){let n=this[Ve];n&&n.readMore()}),cp(e,"end",function(){let n=this[Ve];if(n.statusCode&&!n.shouldKeepAlive){let s=n.finish();s&&ee.destroy(this,s);return}ee.destroy(this,new mp("other side closed",ee.getSocketInfo(this)))}),cp(e,"close",function(){let n=this[Ap],s=this[Ve];s&&(!this[Jt]&&s.statusCode&&!s.shouldKeepAlive&&(this[Jt]=s.finish()||this[Jt]),this[Ve].destroy(),this[Ve]=null);let i=this[Jt]||new mp("closed",ee.getSocketInfo(this));if(n[gc]=null,n[aM]=null,n.destroyed){J(n[aK]===0);let a=n[Pn].splice(n[nn]);for(let c=0;c<a.length;c++){let l=a[c];ee.errorRequest(n,l,i)}}else if(n[Lt]>0&&i.code!=="UND_ERR_INFO"){let a=n[Pn][n[nn]];n[Pn][n[nn]++]=null,ee.errorRequest(n,a,i)}n[AK]=n[nn],J(n[Lt]===0),n.emit("disconnect",n[oM],[n],i),n[zi]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...n){return QK(t,...n)},resume(){IK(t)},destroy(n,s){r?queueMicrotask(s):e.destroy(n).on("close",s)},get destroyed(){return e.destroyed},busy(n){return!!(e[Gi]||e[cr]||e[TA]||n&&(t[Lt]>0&&!n.idempotent||t[Lt]>0&&(n.upgrade||n.method==="CONNECT")||t[Lt]>0&&ee.bodyLength(n.body)!==0&&(ee.isStream(n.body)||ee.isAsyncIterable(n.body)||ee.isFormDataLike(n.body))))}}}o(CK,"connectH1");function IK(t){let e=t[gc];if(e&&!e.destroyed){if(t[XT]===0?!e[DA]&&e.unref&&(e.unref(),e[DA]=!0):e[DA]&&e.ref&&(e.ref(),e[DA]=!1),t[XT]===0)e[Ve].timeoutType!==VI&&e[Ve].setTimeout(t[pp],VI);else if(t[Lt]>0&&e[Ve].statusCode<200&&e[Ve].timeoutType!==yc){let r=t[Pn][t[nn]],n=r.headersTimeout!=null?r.headersTimeout:t[mK];e[Ve].setTimeout(n,yc)}}}o(IK,"resumeH1");function BK(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(BK,"shouldSendContentLength");function QK(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(ee.isFormDataLike(l)){HI||(HI=hc().extractBody);let[C,y]=HI(l);e.contentType==null&&A.push("content-type",y),l=C.stream,u=C.length}else ee.isBlobLike(l)&&e.contentType==null&&l.type&&A.push("content-type",l.type);l&&typeof l.read=="function"&&l.read(0);let m=ee.bodyLength(l);if(u=m??u,u===null&&(u=e.contentLength),u===0&&!d&&(u=null),BK(r)&&u>0&&e.contentLength!==null&&e.contentLength!==u){if(t[GI])return ee.errorRequest(t,e,new Oo),!1;process.emitWarning(new Oo)}let p=t[gc],h=o(C=>{e.aborted||e.completed||(ee.errorRequest(t,e,C||new iM),ee.destroy(l),ee.destroy(p,new fc("aborted")))},"abort");try{e.onConnect(h)}catch(C){ee.errorRequest(t,e,C)}if(e.aborted)return!1;r==="HEAD"&&(p[cr]=!0),(i||r==="CONNECT")&&(p[cr]=!0),c!=null&&(p[cr]=c),t[ZT]&&p[hK]++>=t[ZT]&&(p[cr]=!0),a&&(p[TA]=!0);let g=`${r} ${n} HTTP/1.1\r
|
|
`;if(typeof s=="string"?g+=`host: ${s}\r
|
|
`:g+=t[lK],i?g+=`connection: upgrade\r
|
|
upgrade: ${i}\r
|
|
`:t[up]&&!p[cr]?g+=`connection: keep-alive\r
|
|
`:g+=`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++)g+=`${y}: ${E[I]}\r
|
|
`;else g+=`${y}: ${E}\r
|
|
`}return jT.sendHeaders.hasSubscribers&&jT.sendHeaders.publish({request:e,headers:g,socket:p}),!l||m===0?nM(h,null,t,e,p,u,g,d):ee.isBuffer(l)?nM(h,l,t,e,p,u,g,d):ee.isBlobLike(l)?typeof l.stream=="function"?sM(h,l.stream(),t,e,p,u,g,d):bK(h,l,t,e,p,u,g,d):ee.isStream(l)?xK(h,l,t,e,p,u,g,d):ee.isIterable(l)?sM(h,l,t,e,p,u,g,d):J(!1),!0}o(QK,"writeH1");function xK(t,e,r,n,s,i,a,c){J(i!==0||r[Lt]===0,"stream body cannot be pipelined");let l=!1,A=new hp({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(g){ee.destroy(this,g)}},"onData"),d=o(function(){l||e.resume&&e.resume()},"onDrain"),m=o(function(){if(queueMicrotask(()=>{e.removeListener("error",p)}),!l){let h=new iM;queueMicrotask(()=>p(h))}},"onClose"),p=o(function(h){if(!l){if(l=!0,J(s.destroyed||s[Gi]&&r[Lt]<=1),s.off("drain",d).off("error",p),e.removeListener("data",u).removeListener("end",p).removeListener("close",m),!h)try{A.end()}catch(g){h=g}A.destroy(h),h&&(h.code!=="UND_ERR_INFO"||h.message!=="reset")?ee.destroy(e,h):ee.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(xK,"writeStream");function nM(t,e,r,n,s,i,a,c){try{e?ee.isBuffer(e)&&(J(i===e.byteLength,"buffer body must have content length"),s.cork(),s.write(`${a}content-length: ${i}\r
|
|
\r
|
|
`,"latin1"),s.write(e),s.uncork(),n.onBodySent(e),!c&&n.reset!==!1&&(s[cr]=!0)):i===0?s.write(`${a}content-length: 0\r
|
|
\r
|
|
`,"latin1"):(J(i===null,"no body must not have content length"),s.write(`${a}\r
|
|
`,"latin1")),n.onRequestSent(),r[zi]()}catch(l){t(l)}}o(nM,"writeBuffer");async function bK(t,e,r,n,s,i,a,c){J(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new Oo;let l=Buffer.from(await e.arrayBuffer());s.cork(),s.write(`${a}content-length: ${i}\r
|
|
\r
|
|
`,"latin1"),s.write(l),s.uncork(),n.onBodySent(l),n.onRequestSent(),!c&&n.reset!==!1&&(s[cr]=!0),r[zi]()}catch(l){t(l)}}o(bK,"writeBlob");async function sM(t,e,r,n,s,i,a,c){J(i!==0||r[Lt]===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)=>{J(l===null),s[Jt]?p(s[Jt]):l=m}),"waitForDrain");s.on("close",A).on("drain",A);let d=new hp({abort:t,socket:s,request:n,contentLength:i,client:r,expectsPayload:c,header:a});try{for await(let m of e){if(s[Jt])throw s[Jt];d.write(m)||await u()}d.end()}catch(m){d.destroy(m)}finally{s.off("close",A).off("drain",A)}}o(sM,"writeIterable");var hp=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[Gi]=!0}write(e){let{socket:r,request:n,contentLength:s,client:i,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[Jt])throw r[Jt];if(r.destroyed)return!1;let A=Buffer.byteLength(e);if(!A)return!0;if(s!==null&&a+A>s){if(i[GI])throw new Oo;process.emitWarning(new Oo)}r.cork(),a===0&&(!c&&n.reset!==!1&&(r[cr]=!0),s===null?r.write(`${l}transfer-encoding: chunked\r
|
|
`,"latin1"):r.write(`${l}content-length: ${s}\r
|
|
\r
|
|
`,"latin1")),s===null&&r.write(`\r
|
|
${A.toString(16)}\r
|
|
`,"latin1"),this.bytesWritten+=A;let u=r.write(e);return r.uncork(),n.onBodySent(e),u||r[Ve].timeout&&r[Ve].timeoutType===yc&&r[Ve].timeout.refresh&&r[Ve].timeout.refresh(),u}end(){let{socket:e,contentLength:r,client:n,bytesWritten:s,expectsPayload:i,header:a,request:c}=this;if(c.onRequestSent(),e[Gi]=!1,e[Jt])throw e[Jt];if(!e.destroyed){if(s===0?i?e.write(`${a}content-length: 0\r
|
|
\r
|
|
`,"latin1"):e.write(`${a}\r
|
|
`,"latin1"):r===null&&e.write(`\r
|
|
0\r
|
|
\r
|
|
`,"latin1"),r!==null&&s!==r){if(n[GI])throw new Oo;process.emitWarning(new Oo)}e[Ve].timeout&&e[Ve].timeoutType===yc&&e[Ve].timeout.refresh&&e[Ve].timeout.refresh(),n[zi]()}}destroy(e){let{socket:r,client:n,abort:s}=this;r[Gi]=!1,e&&(J(n[Lt]<=1,"pipeline should only contain this request"),s(e))}};cM.exports=CK});var gM=f((JNe,fM)=>{"use strict";var sn=require("node:assert"),{pipeline:wK}=require("node:stream"),ue=le(),{RequestContentLengthMismatchError:WI,RequestAbortedError:AM,SocketError:MA,InformationalError:$I}=Ce(),{kUrl:fp,kReset:yp,kClient:Ec,kRunning:Ep,kPending:NK,kQueue:Yi,kPendingIdx:jI,kRunningIdx:vn,kError:kn,kSocket:bt,kStrictContentLength:SK,kOnError:KI,kMaxConcurrentStreams:hM,kHTTP2Session:Dn,kResume:Vi,kSize:RK,kHTTPContext:PK}=Fe(),ci=Symbol("open streams"),uM,dM=!1,gp;try{gp=require("node:http2")}catch{gp={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:vK,HTTP2_HEADER_METHOD:DK,HTTP2_HEADER_PATH:kK,HTTP2_HEADER_SCHEME:TK,HTTP2_HEADER_CONTENT_LENGTH:MK,HTTP2_HEADER_EXPECT:LK,HTTP2_HEADER_STATUS:FK}}=gp;function _K(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(_K,"parseH2Headers");async function UK(t,e){t[bt]=e,dM||(dM=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=gp.connect(t[fp],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[hM]});r[ci]=0,r[Ec]=t,r[bt]=e,ue.addListener(r,"error",qK),ue.addListener(r,"frameError",HK),ue.addListener(r,"end",zK),ue.addListener(r,"goaway",GK),ue.addListener(r,"close",function(){let{[Ec]:s}=this,{[bt]:i}=s,a=this[bt][kn]||this[kn]||new MA("closed",ue.getSocketInfo(i));if(s[Dn]=null,s.destroyed){sn(s[NK]===0);let c=s[Yi].splice(s[vn]);for(let l=0;l<c.length;l++){let A=c[l];ue.errorRequest(s,A,a)}}}),r.unref(),t[Dn]=r,e[Dn]=r,ue.addListener(e,"error",function(s){sn(s.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[kn]=s,this[Ec][KI](s)}),ue.addListener(e,"end",function(){ue.destroy(this,new MA("other side closed",ue.getSocketInfo(this)))}),ue.addListener(e,"close",function(){let s=this[kn]||new MA("closed",ue.getSocketInfo(this));t[bt]=null,this[Dn]!=null&&this[Dn].destroy(s),t[jI]=t[vn],sn(t[Ep]===0),t.emit("disconnect",t[fp],[t],s),t[Vi]()});let n=!1;return e.on("close",()=>{n=!0}),{version:"h2",defaultPipelining:1/0,write(...s){return VK(t,...s)},resume(){OK(t)},destroy(s,i){n?queueMicrotask(i):e.destroy(s).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}o(UK,"connectH2");function OK(t){let e=t[bt];e?.destroyed===!1&&(t[RK]===0&&t[hM]===0?(e.unref(),t[Dn].unref()):(e.ref(),t[Dn].ref()))}o(OK,"resumeH2");function qK(t){sn(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[bt][kn]=t,this[Ec][KI](t)}o(qK,"onHttp2SessionError");function HK(t,e,r){if(r===0){let n=new $I(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[bt][kn]=n,this[Ec][KI](n)}}o(HK,"onHttp2FrameError");function zK(){let t=new MA("other side closed",ue.getSocketInfo(this[bt]));this.destroy(t),ue.destroy(this[bt],t)}o(zK,"onHttp2SessionEnd");function GK(t){let e=this[kn]||new MA(`HTTP/2: "GOAWAY" frame received with code ${t}`,ue.getSocketInfo(this)),r=this[Ec];if(r[bt]=null,r[PK]=null,this[Dn]!=null&&(this[Dn].destroy(e),this[Dn]=null),ue.destroy(this[bt],e),r[vn]<r[Yi].length){let n=r[Yi][r[vn]];r[Yi][r[vn]++]=null,ue.errorRequest(r,n,e),r[jI]=r[vn]}sn(r[Ep]===0),r.emit("disconnect",r[fp],[r],e),r[Vi]()}o(GK,"onHTTP2GoAway");function YK(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(YK,"shouldSendContentLength");function VK(t,e){let r=t[Dn],{method:n,path:s,host:i,upgrade:a,expectContinue:c,signal:l,headers:A}=e,{body:u}=e;if(a)return ue.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 _=0;_<k.length;_++)d[N]?d[N]+=`,${k[_]}`:d[N]=k[_];else d[N]=k}let m,{hostname:p,port:h}=t[fp];d[vK]=i||`${p}${h?`:${h}`:""}`,d[DK]=n;let g=o(B=>{e.aborted||e.completed||(B=B||new AM,ue.errorRequest(t,e,B),m!=null&&ue.destroy(m,B),ue.destroy(u,B),t[Yi][t[vn]++]=null,t[Vi]())},"abort");try{e.onConnect(g)}catch(B){ue.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[ci],t[Yi][t[vn]++]=null):m.once("ready",()=>{e.onUpgrade(null,null,m),++r[ci],t[Yi][t[vn]++]=null}),m.once("close",()=>{r[ci]-=1,r[ci]===0&&r.unref()}),!0;d[kK]=s,d[TK]="https";let C=n==="PUT"||n==="POST"||n==="PATCH";u&&typeof u.read=="function"&&u.read(0);let y=ue.bodyLength(u);if(ue.isFormDataLike(u)){uM??=hc().extractBody;let[B,N]=uM(u);d["content-type"]=N,u=B.stream,y=B.length}if(y==null&&(y=e.contentLength),(y===0||!C)&&(y=null),YK(n)&&y>0&&e.contentLength!=null&&e.contentLength!==y){if(t[SK])return ue.errorRequest(t,e,new WI),!1;process.emitWarning(new WI)}y!=null&&(sn(u,"no body must not have content length"),d[MK]=`${y}`),r.ref();let E=n==="GET"||n==="HEAD"||u===null;return c?(d[LK]="100-continue",m=r.request(d,{endStream:E,signal:l}),m.once("continue",I)):(m=r.request(d,{endStream:E,signal:l}),I()),++r[ci],m.once("response",B=>{let{[FK]:N,...k}=B;if(e.onResponseStarted(),e.aborted){let _=new AM;ue.errorRequest(t,e,_),ue.destroy(m,_);return}e.onHeaders(Number(N),_K(k),m.resume.bind(m),"")===!1&&m.pause(),m.on("data",_=>{e.onData(_)===!1&&m.pause()})}),m.once("end",()=>{(m.state?.state==null||m.state.state<6)&&e.onComplete([]),r[ci]===0&&r.unref(),g(new $I("HTTP/2: stream half-closed (remote)")),t[Yi][t[vn]++]=null,t[jI]=t[vn],t[Vi]()}),m.once("close",()=>{r[ci]-=1,r[ci]===0&&r.unref()}),m.once("error",function(B){g(B)}),m.once("frameError",(B,N)=>{g(new $I(`HTTP/2: "frameError" received - type ${B}, code ${N}`))}),!0;function I(){!u||y===0?mM(g,m,null,t,e,t[bt],y,C):ue.isBuffer(u)?mM(g,m,u,t,e,t[bt],y,C):ue.isBlobLike(u)?typeof u.stream=="function"?pM(g,m,u.stream(),t,e,t[bt],y,C):WK(g,m,u,t,e,t[bt],y,C):ue.isStream(u)?JK(g,t[bt],C,m,u,t,e,y):ue.isIterable(u)?pM(g,m,u,t,e,t[bt],y,C):sn(!1)}o(I,"writeBodyH2")}o(VK,"writeH2");function mM(t,e,r,n,s,i,a,c){try{r!=null&&ue.isBuffer(r)&&(sn(a===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),s.onBodySent(r)),c||(i[yp]=!0),s.onRequestSent(),n[Vi]()}catch(l){t(l)}}o(mM,"writeBuffer");function JK(t,e,r,n,s,i,a,c){sn(c!==0||i[Ep]===0,"stream body cannot be pipelined");let l=wK(s,n,u=>{u?(ue.destroy(l,u),t(u)):(ue.removeAllListeners(l),a.onRequestSent(),r||(e[yp]=!0),i[Vi]())});ue.addListener(l,"data",A);function A(u){a.onBodySent(u)}o(A,"onPipeData")}o(JK,"writeStream");async function WK(t,e,r,n,s,i,a,c){sn(a===r.size,"blob body must have content length");try{if(a!=null&&a!==r.size)throw new WI;let l=Buffer.from(await r.arrayBuffer());e.cork(),e.write(l),e.uncork(),e.end(),s.onBodySent(l),s.onRequestSent(),c||(i[yp]=!0),n[Vi]()}catch(l){t(l)}}o(WK,"writeBlob");async function pM(t,e,r,n,s,i,a,c){sn(a!==0||n[Ep]===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)=>{sn(l===null),i[kn]?m(i[kn]):l=d}),"waitForDrain");e.on("close",A).on("drain",A);try{for await(let d of r){if(i[kn])throw i[kn];let m=e.write(d);s.onBodySent(d),m||await u()}e.end(),s.onRequestSent(),c||(i[yp]=!0),n[Vi]()}catch(d){t(d)}finally{e.off("close",A).off("drain",A)}}o(pM,"writeIterable");fM.exports=UK});var Ip=f(($Ne,CM)=>{"use strict";var os=le(),{kBodyUsed:LA}=Fe(),ZI=require("node:assert"),{InvalidArgumentError:$K}=Ce(),jK=require("node:events"),KK=[300,301,302,303,307,308],yM=Symbol("body"),Cp=class{static{o(this,"BodyAsyncIterable")}constructor(e){this[yM]=e,this[LA]=!1}async*[Symbol.asyncIterator](){ZI(!this[LA],"disturbed"),this[LA]=!0,yield*this[yM]}},XI=class{static{o(this,"RedirectHandler")}constructor(e,r,n,s){if(r!=null&&(!Number.isInteger(r)||r<0))throw new $K("maxRedirections must be a positive number");os.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,os.isStream(this.opts.body)?(os.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){ZI(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[LA]=!1,jK.prototype.on.call(this.opts.body,"data",function(){this[LA]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new Cp(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&os.isIterable(this.opts.body)&&(this.opts.body=new Cp(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||os.isDisturbed(this.opts.body)?null:XK(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}=os.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),l=c?`${a}${c}`:a;this.opts.headers=ZK(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 XK(t,e){if(KK.indexOf(t)===-1)return null;for(let r=0;r<e.length;r+=2)if(e[r].length===8&&os.headerNameToString(e[r])==="location")return e[r+1]}o(XK,"parseLocation");function EM(t,e,r){if(t.length===4)return os.headerNameToString(t)==="host";if(e&&os.headerNameToString(t).startsWith("content-"))return!0;if(r&&(t.length===13||t.length===6||t.length===19)){let n=os.headerNameToString(t);return n==="authorization"||n==="cookie"||n==="proxy-authorization"}return!1}o(EM,"shouldRemoveHeader");function ZK(t,e,r){let n=[];if(Array.isArray(t))for(let s=0;s<t.length;s+=2)EM(t[s],e,r)||n.push(t[s],t[s+1]);else if(t&&typeof t=="object")for(let s of Object.keys(t))EM(s,e,r)||n.push(s,t[s]);else ZI(t==null,"headers must be an object or an array");return n}o(ZK,"cleanRequestHeaders");CM.exports=XI});var Bp=f((KNe,IM)=>{"use strict";var eX=Ip();function tX({maxRedirections:t}){return e=>o(function(n,s){let{maxRedirections:i=t}=n;if(!i)return e(n,s);let a=new eX(e,i,n,s);return n={...n,maxRedirections:0},e(n,a)},"Intercept")}o(tX,"createRedirectInterceptor");IM.exports=tX});var Bc=f((ZNe,vM)=>{"use strict";var li=require("node:assert"),NM=require("node:net"),rX=require("node:http"),qo=le(),{channels:Cc}=rc(),nX=Dk(),sX=oc(),{InvalidArgumentError:nt,InformationalError:iX,ClientDestroyedError:oX}=Ce(),aX=QA(),{kUrl:as,kServerName:Ji,kClient:cX,kBusy:eB,kConnect:lX,kResuming:Ho,kRunning:qA,kPending:HA,kSize:OA,kQueue:Tn,kConnected:AX,kConnecting:Ic,kNeedDrain:$i,kKeepAliveDefaultTimeout:BM,kHostHeader:uX,kPendingIdx:Mn,kRunningIdx:Ai,kError:dX,kPipelining:Qp,kKeepAliveTimeoutValue:mX,kMaxHeadersSize:pX,kKeepAliveMaxTimeout:hX,kKeepAliveTimeoutThreshold:fX,kHeadersTimeout:gX,kBodyTimeout:yX,kStrictContentLength:EX,kConnector:FA,kMaxRedirections:CX,kMaxRequests:tB,kCounter:IX,kClose:BX,kDestroy:QX,kDispatch:xX,kInterceptors:QM,kLocalAddress:_A,kMaxResponseSize:bX,kOnError:wX,kHTTPContext:st,kMaxConcurrentStreams:NX,kResume:UA}=Fe(),SX=lM(),RX=gM(),xM=!1,Wi=Symbol("kClosedResolve"),bM=o(()=>{},"noop");function SM(t){return t[Qp]??t[st]?.defaultPipelining??1}o(SM,"getPipelining");var rB=class extends sX{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:g,pipelining:C,tls:y,strictContentLength:E,maxCachedSessions:I,maxRedirections:B,connect:N,maxRequestsPerClient:k,localAddress:_,maxResponseSize:ce,autoSelectFamily:Ee,autoSelectFamilyAttemptTimeout:xe,maxConcurrentStreams:z,allowH2:te,webSocket:U}={}){if(super({webSocket:U}),u!==void 0)throw new nt("unsupported keepAlive, use pipelining=0 instead");if(i!==void 0)throw new nt("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(a!==void 0)throw new nt("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(A!==void 0)throw new nt("unsupported idleTimeout, use keepAliveTimeout instead");if(m!==void 0)throw new nt("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(n!=null&&!Number.isFinite(n))throw new nt("invalid maxHeaderSize");if(g!=null&&typeof g!="string")throw new nt("invalid socketPath");if(c!=null&&(!Number.isFinite(c)||c<0))throw new nt("invalid connectTimeout");if(d!=null&&(!Number.isFinite(d)||d<=0))throw new nt("invalid keepAliveTimeout");if(p!=null&&(!Number.isFinite(p)||p<=0))throw new nt("invalid keepAliveMaxTimeout");if(h!=null&&!Number.isFinite(h))throw new nt("invalid keepAliveTimeoutThreshold");if(s!=null&&(!Number.isInteger(s)||s<0))throw new nt("headersTimeout must be a positive integer or zero");if(l!=null&&(!Number.isInteger(l)||l<0))throw new nt("bodyTimeout must be a positive integer or zero");if(N!=null&&typeof N!="function"&&typeof N!="object")throw new nt("connect must be a function or an object");if(B!=null&&(!Number.isInteger(B)||B<0))throw new nt("maxRedirections must be a positive number");if(k!=null&&(!Number.isInteger(k)||k<0))throw new nt("maxRequestsPerClient must be a positive number");if(_!=null&&(typeof _!="string"||NM.isIP(_)===0))throw new nt("localAddress must be valid string IP address");if(ce!=null&&(!Number.isInteger(ce)||ce<-1))throw new nt("maxResponseSize must be a positive number");if(xe!=null&&(!Number.isInteger(xe)||xe<-1))throw new nt("autoSelectFamilyAttemptTimeout must be a positive number");if(te!=null&&typeof te!="boolean")throw new nt("allowH2 must be a valid boolean value");if(z!=null&&(typeof z!="number"||z<1))throw new nt("maxConcurrentStreams must be a positive integer, greater than 0");typeof N!="function"&&(N=aX({...y,maxCachedSessions:I,allowH2:te,socketPath:g,timeout:c,...Ee?{autoSelectFamily:Ee,autoSelectFamilyAttemptTimeout:xe}:void 0,...N})),r?.Client&&Array.isArray(r.Client)?(this[QM]=r.Client,xM||(xM=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[QM]=[PX({maxRedirections:B})],this[as]=qo.parseOrigin(e),this[FA]=N,this[Qp]=C??1,this[pX]=n||rX.maxHeaderSize,this[BM]=d??4e3,this[hX]=p??6e5,this[fX]=h??2e3,this[mX]=this[BM],this[Ji]=null,this[_A]=_??null,this[Ho]=0,this[$i]=0,this[uX]=`host: ${this[as].hostname}${this[as].port?`:${this[as].port}`:""}\r
|
|
`,this[yX]=l??3e5,this[gX]=s??3e5,this[EX]=E??!0,this[CX]=B,this[tB]=k,this[Wi]=null,this[bX]=ce>-1?ce:-1,this[NX]=z??100,this[st]=null,this[Tn]=[],this[Ai]=0,this[Mn]=0,this[UA]=me=>nB(this,me),this[wX]=me=>RM(this,me)}get pipelining(){return this[Qp]}set pipelining(e){this[Qp]=e,this[UA](!0)}get[HA](){return this[Tn].length-this[Mn]}get[qA](){return this[Mn]-this[Ai]}get[OA](){return this[Tn].length-this[Ai]}get[AX](){return!!this[st]&&!this[Ic]&&!this[st].destroyed}get[eB](){return!!(this[st]?.busy(null)||this[OA]>=(SM(this)||1)||this[HA]>0)}[lX](e){PM(this),this.once("connect",e)}[xX](e,r){let n=e.origin||this[as].origin,s=new nX(n,e,r);return this[Tn].push(s),this[Ho]||(qo.bodyLength(s.body)==null&&qo.isIterable(s.body)?(this[Ho]=1,queueMicrotask(()=>nB(this))):this[UA](!0)),this[Ho]&&this[$i]!==2&&this[eB]&&(this[$i]=2),this[$i]<2}async[BX](){return new Promise(e=>{this[OA]?this[Wi]=e:e(null)})}async[QX](e){return new Promise(r=>{let n=this[Tn].splice(this[Mn]);for(let i=0;i<n.length;i++){let a=n[i];qo.errorRequest(this,a,e)}let s=o(()=>{this[Wi]&&(this[Wi](),this[Wi]=null),r(null)},"callback");this[st]?(this[st].destroy(e,s),this[st]=null):queueMicrotask(s),this[UA]()})}},PX=Bp();function RM(t,e){if(t[qA]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){li(t[Mn]===t[Ai]);let r=t[Tn].splice(t[Ai]);for(let n=0;n<r.length;n++){let s=r[n];qo.errorRequest(t,s,e)}li(t[OA]===0)}}o(RM,"onError");async function PM(t){li(!t[Ic]),li(!t[st]);let{host:e,hostname:r,protocol:n,port:s}=t[as];if(r[0]==="["){let i=r.indexOf("]");li(i!==-1);let a=r.substring(1,i);li(NM.isIP(a)),r=a}t[Ic]=!0,Cc.beforeConnect.hasSubscribers&&Cc.beforeConnect.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[st]?.version,servername:t[Ji],localAddress:t[_A]},connector:t[FA]});try{let i=await new Promise((a,c)=>{t[FA]({host:e,hostname:r,protocol:n,port:s,servername:t[Ji],localAddress:t[_A]},(l,A)=>{l?c(l):a(A)})});if(t.destroyed){qo.destroy(i.on("error",bM),new oX);return}li(i);try{t[st]=i.alpnProtocol==="h2"?await RX(t,i):await SX(t,i)}catch(a){throw i.destroy().on("error",bM),a}t[Ic]=!1,i[IX]=0,i[tB]=t[tB],i[cX]=t,i[dX]=null,Cc.connected.hasSubscribers&&Cc.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[st]?.version,servername:t[Ji],localAddress:t[_A]},connector:t[FA],socket:i}),t.emit("connect",t[as],[t])}catch(i){if(t.destroyed)return;if(t[Ic]=!1,Cc.connectError.hasSubscribers&&Cc.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[st]?.version,servername:t[Ji],localAddress:t[_A]},connector:t[FA],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(li(t[qA]===0);t[HA]>0&&t[Tn][t[Mn]].servername===t[Ji];){let a=t[Tn][t[Mn]++];qo.errorRequest(t,a,i)}else RM(t,i);t.emit("connectionError",t[as],[t],i)}t[UA]()}o(PM,"connect");function wM(t){t[$i]=0,t.emit("drain",t[as],[t])}o(wM,"emitDrain");function nB(t,e){t[Ho]!==2&&(t[Ho]=2,vX(t,e),t[Ho]=0,t[Ai]>256&&(t[Tn].splice(0,t[Ai]),t[Mn]-=t[Ai],t[Ai]=0))}o(nB,"resume");function vX(t,e){for(;;){if(t.destroyed){li(t[HA]===0);return}if(t[Wi]&&!t[OA]){t[Wi](),t[Wi]=null;return}if(t[st]&&t[st].resume(),t[eB])t[$i]=2;else if(t[$i]===2){e?(t[$i]=1,queueMicrotask(()=>wM(t))):wM(t);continue}if(t[HA]===0||t[qA]>=(SM(t)||1))return;let r=t[Tn][t[Mn]];if(t[as].protocol==="https:"&&t[Ji]!==r.servername){if(t[qA]>0)return;t[Ji]=r.servername,t[st]?.destroy(new iX("servername changed"),()=>{t[st]=null,nB(t)})}if(t[Ic])return;if(!t[st]){PM(t);return}if(t[st].destroyed||t[st].busy(r))return;!r.aborted&&t[st].write(r)?t[Mn]++:t[Tn].splice(t[Mn],1)}}o(vX,"_resume");vM.exports=rB});var sB=f((r0e,DM)=>{"use strict";var xp=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)}};DM.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new xp}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new xp),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var TM=f((s0e,kM)=>{var{kFree:DX,kConnected:kX,kPending:TX,kQueued:MX,kRunning:LX,kSize:FX}=Fe(),zo=Symbol("pool"),iB=class{static{o(this,"PoolStats")}constructor(e){this[zo]=e}get connected(){return this[zo][kX]}get free(){return this[zo][DX]}get pending(){return this[zo][TX]}get queued(){return this[zo][MX]}get running(){return this[zo][LX]}get size(){return this[zo][FX]}};kM.exports=iB});var uB=f((o0e,GM)=>{"use strict";var _X=oc(),UX=sB(),{kConnected:oB,kSize:MM,kRunning:LM,kPending:FM,kQueued:zA,kBusy:OX,kFree:qX,kUrl:HX,kClose:zX,kDestroy:GX,kDispatch:YX}=Fe(),VX=TM(),lr=Symbol("clients"),Wt=Symbol("needDrain"),GA=Symbol("queue"),aB=Symbol("closed resolve"),cB=Symbol("onDrain"),_M=Symbol("onConnect"),UM=Symbol("onDisconnect"),OM=Symbol("onConnectionError"),lB=Symbol("get dispatcher"),HM=Symbol("add client"),zM=Symbol("remove client"),qM=Symbol("stats"),AB=class extends _X{static{o(this,"PoolBase")}constructor(e){super(e),this[GA]=new UX,this[lr]=[],this[zA]=0;let r=this;this[cB]=o(function(s,i){let a=r[GA],c=!1;for(;!c;){let l=a.shift();if(!l)break;r[zA]--,c=!this.dispatch(l.opts,l.handler)}this[Wt]=c,!this[Wt]&&r[Wt]&&(r[Wt]=!1,r.emit("drain",s,[r,...i])),r[aB]&&a.isEmpty()&&Promise.all(r[lr].map(l=>l.close())).then(r[aB])},"onDrain"),this[_M]=(n,s)=>{r.emit("connect",n,[r,...s])},this[UM]=(n,s,i)=>{r.emit("disconnect",n,[r,...s],i)},this[OM]=(n,s,i)=>{r.emit("connectionError",n,[r,...s],i)},this[qM]=new VX(this)}get[OX](){return this[Wt]}get[oB](){return this[lr].filter(e=>e[oB]).length}get[qX](){return this[lr].filter(e=>e[oB]&&!e[Wt]).length}get[FM](){let e=this[zA];for(let{[FM]:r}of this[lr])e+=r;return e}get[LM](){let e=0;for(let{[LM]:r}of this[lr])e+=r;return e}get[MM](){let e=this[zA];for(let{[MM]:r}of this[lr])e+=r;return e}get stats(){return this[qM]}async[zX](){this[GA].isEmpty()?await Promise.all(this[lr].map(e=>e.close())):await new Promise(e=>{this[aB]=e})}async[GX](e){for(;;){let r=this[GA].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[lr].map(r=>r.destroy(e)))}[YX](e,r){let n=this[lB]();return n?n.dispatch(e,r)||(n[Wt]=!0,this[Wt]=!this[lB]()):(this[Wt]=!0,this[GA].push({opts:e,handler:r}),this[zA]++),!this[Wt]}[HM](e){return e.on("drain",this[cB]).on("connect",this[_M]).on("disconnect",this[UM]).on("connectionError",this[OM]),this[lr].push(e),this[Wt]&&queueMicrotask(()=>{this[Wt]&&this[cB](e[HX],[this,e])}),this}[zM](e){e.close(()=>{let r=this[lr].indexOf(e);r!==-1&&this[lr].splice(r,1)}),this[Wt]=this[lr].some(r=>!r[Wt]&&r.closed!==!0&&r.destroyed!==!0)}};GM.exports={PoolBase:AB,kClients:lr,kNeedDrain:Wt,kAddClient:HM,kRemoveClient:zM,kGetDispatcher:lB}});var Qc=f((c0e,WM)=>{"use strict";var{PoolBase:JX,kClients:bp,kNeedDrain:WX,kAddClient:$X,kGetDispatcher:jX}=uB(),KX=Bc(),{InvalidArgumentError:dB}=Ce(),YM=le(),{kUrl:VM,kInterceptors:XX}=Fe(),ZX=QA(),mB=Symbol("options"),pB=Symbol("connections"),JM=Symbol("factory");function eZ(t,e){return new KX(t,e)}o(eZ,"defaultFactory");var hB=class extends JX{static{o(this,"Pool")}constructor(e,{connections:r,factory:n=eZ,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 dB("invalid connections");if(typeof n!="function")throw new dB("factory must be a function.");if(s!=null&&typeof s!="function"&&typeof s!="object")throw new dB("connect must be a function or an object");typeof s!="function"&&(s=ZX({...a,maxCachedSessions:c,allowH2:d,socketPath:l,timeout:i,...A?{autoSelectFamily:A,autoSelectFamilyAttemptTimeout:u}:void 0,...s})),super(m),this[XX]=m.interceptors?.Pool&&Array.isArray(m.interceptors.Pool)?m.interceptors.Pool:[],this[pB]=r||null,this[VM]=YM.parseOrigin(e),this[mB]={...YM.deepClone(m),connect:s,allowH2:d},this[mB].interceptors=m.interceptors?{...m.interceptors}:void 0,this[JM]=n,this.on("connectionError",(p,h,g)=>{for(let C of h){let y=this[bp].indexOf(C);y!==-1&&this[bp].splice(y,1)}})}[jX](){for(let e of this[bp])if(!e[WX])return e;if(!this[pB]||this[bp].length<this[pB]){let e=this[JM](this[VM],this[mB]);return this[$X](e),e}}};WM.exports=hB});var ZM=f((A0e,XM)=>{"use strict";var{BalancedPoolMissingUpstreamError:tZ,InvalidArgumentError:rZ}=Ce(),{PoolBase:nZ,kClients:Ft,kNeedDrain:YA,kAddClient:sZ,kRemoveClient:iZ,kGetDispatcher:oZ}=uB(),aZ=Qc(),{kUrl:fB,kInterceptors:cZ}=Fe(),{parseOrigin:$M}=le(),jM=Symbol("factory"),wp=Symbol("options"),KM=Symbol("kGreatestCommonDivisor"),Go=Symbol("kCurrentWeight"),Yo=Symbol("kIndex"),on=Symbol("kWeight"),Np=Symbol("kMaxWeightPerServer"),Sp=Symbol("kErrorPenalty");function lZ(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}o(lZ,"getGreatestCommonDivisor");function AZ(t,e){return new aZ(t,e)}o(AZ,"defaultFactory");var gB=class extends nZ{static{o(this,"BalancedPool")}constructor(e=[],{factory:r=AZ,...n}={}){if(super(),this[wp]=n,this[Yo]=-1,this[Go]=0,this[Np]=this[wp].maxWeightPerServer||100,this[Sp]=this[wp].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new rZ("factory must be a function.");this[cZ]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[jM]=r;for(let s of e)this.addUpstream(s);this._updateBalancedPoolStats()}addUpstream(e){let r=$M(e).origin;if(this[Ft].find(s=>s[fB].origin===r&&s.closed!==!0&&s.destroyed!==!0))return this;let n=this[jM](r,Object.assign({},this[wp]));this[sZ](n),n.on("connect",()=>{n[on]=Math.min(this[Np],n[on]+this[Sp])}),n.on("connectionError",()=>{n[on]=Math.max(1,n[on]-this[Sp]),this._updateBalancedPoolStats()}),n.on("disconnect",(...s)=>{let i=s[2];i&&i.code==="UND_ERR_SOCKET"&&(n[on]=Math.max(1,n[on]-this[Sp]),this._updateBalancedPoolStats())});for(let s of this[Ft])s[on]=this[Np];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;r<this[Ft].length;r++)e=lZ(this[Ft][r][on],e);this[KM]=e}removeUpstream(e){let r=$M(e).origin,n=this[Ft].find(s=>s[fB].origin===r&&s.closed!==!0&&s.destroyed!==!0);return n&&this[iZ](n),this}get upstreams(){return this[Ft].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[fB].origin)}[oZ](){if(this[Ft].length===0)throw new tZ;if(!this[Ft].find(i=>!i[YA]&&i.closed!==!0&&i.destroyed!==!0)||this[Ft].map(i=>i[YA]).reduce((i,a)=>i&&a,!0))return;let n=0,s=this[Ft].findIndex(i=>!i[YA]);for(;n++<this[Ft].length;){this[Yo]=(this[Yo]+1)%this[Ft].length;let i=this[Ft][this[Yo]];if(i[on]>this[Ft][s][on]&&!i[YA]&&(s=this[Yo]),this[Yo]===0&&(this[Go]=this[Go]-this[KM],this[Go]<=0&&(this[Go]=this[Np])),i[on]>=this[Go]&&!i[YA])return i}return this[Go]=this[Ft][s][on],this[Yo]=s,this[Ft][s]}};XM.exports=gB});var xc=f((d0e,oL)=>{"use strict";var{InvalidArgumentError:Rp}=Ce(),{kClients:ji,kRunning:eL,kClose:uZ,kDestroy:dZ,kDispatch:mZ,kInterceptors:pZ}=Fe(),hZ=oc(),fZ=Qc(),gZ=Bc(),yZ=le(),EZ=Bp(),tL=Symbol("onConnect"),rL=Symbol("onDisconnect"),nL=Symbol("onConnectionError"),CZ=Symbol("maxRedirections"),sL=Symbol("onDrain"),iL=Symbol("factory"),yB=Symbol("options");function IZ(t,e){return e&&e.connections===1?new gZ(t,e):new fZ(t,e)}o(IZ,"defaultFactory");var EB=class extends hZ{static{o(this,"Agent")}constructor({factory:e=IZ,maxRedirections:r=0,connect:n,...s}={}){if(typeof e!="function")throw new Rp("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new Rp("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new Rp("maxRedirections must be a positive number");super(s),n&&typeof n!="function"&&(n={...n}),this[pZ]=s.interceptors?.Agent&&Array.isArray(s.interceptors.Agent)?s.interceptors.Agent:[EZ({maxRedirections:r})],this[yB]={...yZ.deepClone(s),connect:n},this[yB].interceptors=s.interceptors?{...s.interceptors}:void 0,this[CZ]=r,this[iL]=e,this[ji]=new Map,this[sL]=(i,a)=>{this.emit("drain",i,[this,...a])},this[tL]=(i,a)=>{this.emit("connect",i,[this,...a])},this[rL]=(i,a,c)=>{this.emit("disconnect",i,[this,...a],c)},this[nL]=(i,a,c)=>{this.emit("connectionError",i,[this,...a],c)}}get[eL](){let e=0;for(let r of this[ji].values())e+=r[eL];return e}[mZ](e,r){let n;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))n=String(e.origin);else throw new Rp("opts.origin must be a non-empty string or URL.");let s=this[ji].get(n);return s||(s=this[iL](e.origin,this[yB]).on("drain",this[sL]).on("connect",this[tL]).on("disconnect",this[rL]).on("connectionError",this[nL]),this[ji].set(n,s)),s.dispatch(e,r)}async[uZ](){let e=[];for(let r of this[ji].values())e.push(r.close());this[ji].clear(),await Promise.all(e)}async[dZ](e){let r=[];for(let n of this[ji].values())r.push(n.destroy(e));this[ji].clear(),await Promise.all(r)}};oL.exports=EB});var xB=f((p0e,gL)=>{"use strict";var{kProxy:CB,kClose:dL,kDestroy:mL,kDispatch:aL,kInterceptors:BZ}=Fe(),{URL:Vo}=require("node:url"),QZ=xc(),pL=Qc(),hL=oc(),{InvalidArgumentError:bc,RequestAbortedError:xZ,SecureProxyConnectionError:bZ}=Ce(),cL=QA(),fL=Bc(),Pp=Symbol("proxy agent"),vp=Symbol("proxy client"),Ki=Symbol("proxy headers"),IB=Symbol("request tls settings"),lL=Symbol("proxy tls settings"),AL=Symbol("connect endpoint function"),uL=Symbol("tunnel proxy");function wZ(t){return t==="https:"?443:80}o(wZ,"defaultProtocolPort");function NZ(t,e){return new pL(t,e)}o(NZ,"defaultFactory");var SZ=o(()=>{},"noop");function RZ(t,e){return e.connections===1?new fL(t,e):new pL(t,e)}o(RZ,"defaultAgentFactory");var BB=class extends hL{static{o(this,"Http1ProxyWrapper")}#e;constructor(e,{headers:r={},connect:n,factory:s}){if(super(),!e)throw new bc("Proxy URL is mandatory");this[Ki]=r,s?this.#e=s(e,{connect:n}):this.#e=new fL(e,{connect:n})}[aL](e,r){let n=r.onHeaders;r.onHeaders=function(c,l,A){if(c===407){typeof r.onError=="function"&&r.onError(new bc("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 Vo(s);a.host=c}return e.headers={...this[Ki],...a},this.#e[aL](e,r)}async[dL](){return this.#e.close()}async[mL](e){return this.#e.destroy(e)}},QB=class extends hL{static{o(this,"ProxyAgent")}constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof Vo)&&!e.uri)throw new bc("Proxy uri is mandatory");let{clientFactory:r=NZ}=e;if(typeof r!="function")throw new bc("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[CB]={uri:i,protocol:l},this[BZ]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[IB]=e.requestTls,this[lL]=e.proxyTls,this[Ki]=e.headers||{},this[uL]=n,e.auth&&e.token)throw new bc("opts.auth cannot be used in combination with opts.token");e.auth?this[Ki]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[Ki]["proxy-authorization"]=e.token:A&&u&&(this[Ki]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(A)}:${decodeURIComponent(u)}`).toString("base64")}`);let m=cL({...e.proxyTls});this[AL]=cL({...e.requestTls});let p=e.factory||RZ,h=o((g,C)=>{let{protocol:y}=new Vo(g);return!this[uL]&&y==="http:"&&this[CB].protocol==="http:"?new BB(this[CB].uri,{headers:this[Ki],connect:m,factory:p}):p(g,C)},"factory");this[vp]=r(s,{connect:m}),this[Pp]=new QZ({...e,factory:h,connect:o(async(g,C)=>{let y=g.host;g.port||(y+=`:${wZ(g.protocol)}`);try{let{socket:E,statusCode:I}=await this[vp].connect({origin:a,port:c,path:y,signal:g.signal,headers:{...this[Ki],host:g.host},servername:this[lL]?.servername||d});if(I!==200&&(E.on("error",SZ).destroy(),C(new xZ(`Proxy response (${I}) !== 200 when HTTP Tunneling`))),g.protocol!=="https:"){C(null,E);return}let B;this[IB]?B=this[IB].servername:B=g.servername,this[AL]({...g,servername:B,httpSocket:E},C)}catch(E){E.code==="ERR_TLS_CERT_ALTNAME_INVALID"?C(new bZ(E)):C(E)}},"connect")})}dispatch(e,r){let n=PZ(e.headers);if(vZ(n),n&&!("host"in n)&&!("Host"in n)){let{host:s}=new Vo(e.origin);n.host=s}return this[Pp].dispatch({...e,headers:n},r)}#e(e){return typeof e=="string"?new Vo(e):e instanceof Vo?e:new Vo(e.uri)}async[dL](){await this[Pp].close(),await this[vp].close()}async[mL](){await this[Pp].destroy(),await this[vp].destroy()}};function PZ(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(PZ,"buildHeaders");function vZ(t){if(t&&Object.keys(t).find(r=>r.toLowerCase()==="proxy-authorization"))throw new bc("Proxy-Authorization should be sent in ProxyAgent constructor")}o(vZ,"throwIfProxyAuthIsSent");gL.exports=QB});var QL=f((f0e,BL)=>{"use strict";var DZ=oc(),{kClose:kZ,kDestroy:TZ,kClosed:yL,kDestroyed:EL,kDispatch:MZ,kNoProxyAgent:VA,kHttpProxyAgent:Xi,kHttpsProxyAgent:Jo}=Fe(),CL=xB(),LZ=xc(),FZ={"http:":80,"https:":443},IL=!1,bB=class extends DZ{static{o(this,"EnvHttpProxyAgent")}#e=null;#t=null;#r=null;constructor(e={}){super(),this.#r=e,IL||(IL=!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[VA]=new LZ(i);let a=r??process.env.http_proxy??process.env.HTTP_PROXY;a?this[Xi]=new CL({...i,uri:a}):this[Xi]=this[VA];let c=n??process.env.https_proxy??process.env.HTTPS_PROXY;c?this[Jo]=new CL({...i,uri:c}):this[Jo]=this[Xi],this.#n()}[MZ](e,r){let n=new URL(e.origin);return this.#i(n).dispatch(e,r)}async[kZ](){await this[VA].close(),this[Xi][yL]||await this[Xi].close(),this[Jo][yL]||await this[Jo].close()}async[TZ](e){await this[VA].destroy(e),this[Xi][EL]||await this[Xi].destroy(e),this[Jo][EL]||await this[Jo].destroy(e)}#i(e){let{protocol:r,host:n,port:s}=e;return n=n.replace(/:\d*$/,"").toLowerCase(),s=Number.parseInt(s,10)||FZ[r]||0,this.#s(n,s)?r==="https:"?this[Jo]:this[Xi]:this[VA]}#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??""}};BL.exports=bB});var Dp=f((y0e,NL)=>{"use strict";var wc=require("node:assert"),{kRetryHandlerDefaultRetry:xL}=Fe(),{RequestRetryError:JA}=Ce(),{isDisturbed:bL,parseHeaders:_Z,parseRangeHeader:wL,wrapRequestBody:UZ}=le();function OZ(t){let e=Date.now();return new Date(t).getTime()-e}o(OZ,"calculateRetryAfterHeader");var wB=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:UZ(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:i??t[xL],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[xL](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:g,methods:C}=A,{counter:y}=r;if(a&&a!=="UND_ERR_REQ_RETRY"&&!g.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)?OZ(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=_Z(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,r,n,s):(this.abort(new JA("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 JA("server does not support the range header and the payload was partially consumed",e,{headers:i,data:{count:this.retryCount}})),!1;let c=wL(i["content-range"]);if(!c)return this.abort(new JA("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==i.etag)return this.abort(new JA("ETag mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;let{start:l,size:A,end:u=A-1}=c;return wc(this.start===l,"content-range mismatch"),wc(this.end==null||this.end===u,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(e===206){let c=wL(i["content-range"]);if(c==null)return this.handler.onHeaders(e,r,n,s);let{start:l,size:A,end:u=A-1}=c;wc(l!=null&&Number.isFinite(l),"content-range mismatch"),wc(u!=null&&Number.isFinite(u),"invalid content-length"),this.start=l,this.end=u}if(this.end==null){let c=i["content-length"];this.end=c!=null?Number(c)-1:null}return wc(Number.isFinite(this.start)),wc(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 JA("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||bL(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||bL(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")}};NL.exports=wB});var RL=f((C0e,SL)=>{"use strict";var qZ=IA(),HZ=Dp(),NB=class extends qZ{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 HZ({...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()}};SL.exports=NB});var kB=f((B0e,_L)=>{"use strict";var TL=require("node:assert"),{Readable:zZ}=require("node:stream"),{RequestAbortedError:ML,NotSupportedError:GZ,InvalidArgumentError:YZ,AbortError:SB}=Ce(),LL=le(),{ReadableStreamFrom:VZ}=le(),vr=Symbol("kConsume"),WA=Symbol("kReading"),Zi=Symbol("kBody"),PL=Symbol("kAbort"),FL=Symbol("kContentType"),vL=Symbol("kContentLength"),JZ=o(()=>{},"noop"),RB=class extends zZ{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[PL]=r,this[vr]=null,this[Zi]=null,this[FL]=n,this[vL]=s,this[WA]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new ML),e&&this[PL](),super.destroy(e)}_destroy(e,r){this[WA]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[WA]=!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[WA]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(e,...r){return this.off(e,...r)}push(e){return this[vr]&&e!==null?(vB(this[vr],e),this[WA]?super.push(e):!0):super.push(e)}async text(){return $A(this,"text")}async json(){return $A(this,"json")}async blob(){return $A(this,"blob")}async bytes(){return $A(this,"bytes")}async arrayBuffer(){return $A(this,"arrayBuffer")}async formData(){throw new GZ}get bodyUsed(){return LL.isDisturbed(this)}get body(){return this[Zi]||(this[Zi]=VZ(this),this[vr]&&(this[Zi].getReader(),TL(this[Zi].locked))),this[Zi]}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 YZ("signal must be an AbortSignal");return n?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((s,i)=>{this[vL]>r&&this.destroy(new SB);let a=o(()=>{this.destroy(n.reason??new SB)},"onAbort");n?.addEventListener("abort",a),this.on("close",function(){n?.removeEventListener("abort",a),n?.aborted?i(n.reason??new SB):s(null)}).on("error",JZ).on("data",function(c){r-=c.length,r<=0&&this.destroy()}).resume()})}};function WZ(t){return t[Zi]&&t[Zi].locked===!0||t[vr]}o(WZ,"isLocked");function $Z(t){return LL.isDisturbed(t)||WZ(t)}o($Z,"isUnusable");async function $A(t,e){return TL(!t[vr]),new Promise((r,n)=>{if($Z(t)){let s=t._readableState;s.destroyed&&s.closeEmitted===!1?t.on("error",i=>{n(i)}).on("close",()=>{n(new TypeError("unusable"))}):n(s.errored??new TypeError("unusable"))}else queueMicrotask(()=>{t[vr]={type:e,stream:t,resolve:r,reject:n,length:0,body:[]},t.on("error",function(s){DB(this[vr],s)}).on("close",function(){this[vr].body!==null&&DB(this[vr],new ML)}),jZ(t[vr])})})}o($A,"consume");function jZ(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++)vB(t,e.buffer[s])}else for(let r of e.buffer)vB(t,r);for(e.endEmitted?kL(this[vr]):t.stream.on("end",function(){kL(this[vr])}),t.stream.resume();t.stream.read()!=null;);}o(jZ,"consumeStart");function PB(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(PB,"chunksDecode");function DL(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(DL,"chunksConcat");function kL(t){let{type:e,body:r,resolve:n,stream:s,length:i}=t;try{e==="text"?n(PB(r,i)):e==="json"?n(JSON.parse(PB(r,i))):e==="arrayBuffer"?n(DL(r,i).buffer):e==="blob"?n(new Blob(r,{type:s[FL]})):e==="bytes"&&n(DL(r,i)),DB(t)}catch(a){s.destroy(a)}}o(kL,"consumeEnd");function vB(t,e){t.length+=e.length,t.body.push(e)}o(vB,"consumePush");function DB(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(DB,"consumeFinish");_L.exports={Readable:RB,chunksDecode:PB}});var TB=f((x0e,zL)=>{var KZ=require("node:assert"),{ResponseStatusCodeError:UL}=Ce(),{chunksDecode:OL}=kB(),XZ=128*1024;async function ZZ({callback:t,body:e,contentType:r,statusCode:n,statusMessage:s,headers:i}){KZ(e);let a=[],c=0;try{for await(let d of e)if(a.push(d),c+=d.length,c>XZ){a=[],c=0;break}}catch{a=[],c=0}let l=`Response status code ${n}${s?`: ${s}`:""}`;if(n===204||!r||!c){queueMicrotask(()=>t(new UL(l,n,i)));return}let A=Error.stackTraceLimit;Error.stackTraceLimit=0;let u;try{qL(r)?u=JSON.parse(OL(a,c)):HL(r)&&(u=OL(a,c))}catch{}finally{Error.stackTraceLimit=A}queueMicrotask(()=>t(new UL(l,n,i,u)))}o(ZZ,"getResolveErrorBodyCallback");var qL=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"),HL=o(t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t","isContentTypeText");zL.exports={getResolveErrorBodyCallback:ZZ,isContentTypeApplicationJson:qL,isContentTypeText:HL}});var VL=f((w0e,MB)=>{"use strict";var e7=require("node:assert"),{Readable:t7}=kB(),{InvalidArgumentError:Nc,RequestAbortedError:GL}=Ce(),Dr=le(),{getResolveErrorBodyCallback:r7}=TB(),{AsyncResource:n7}=require("node:async_hooks"),kp=class extends n7{static{o(this,"RequestHandler")}constructor(e,r){if(!e||typeof e!="object")throw new Nc("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 Nc("invalid callback");if(u&&(typeof u!="number"||u<0))throw new Nc("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new Nc("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new Nc("invalid method");if(c&&typeof c!="function")throw new Nc("invalid onInfo callback");super("UNDICI_REQUEST")}catch(d){throw Dr.isStream(a)&&Dr.destroy(a.on("error",Dr.nop),d),d}this.method=s,this.responseHeaders=l||null,this.opaque=i||null,this.callback=r,this.res=null,this.abort=null,this.body=a,this.trailers={},this.context=null,this.onInfo=c||null,this.throwOnError=A,this.highWaterMark=u,this.signal=n,this.reason=null,this.removeAbortListener=null,Dr.isStream(a)&&a.on("error",d=>{this.onError(d)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new GL:this.removeAbortListener=Dr.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new GL,this.res?Dr.destroy(this.res.on("error",Dr.nop),this.reason):this.abort&&this.abort(this.reason),this.removeAbortListener&&(this.res?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}))}onConnect(e,r){if(this.reason){e(this.reason);return}e7(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,s){let{callback:i,opaque:a,abort:c,context:l,responseHeaders:A,highWaterMark:u}=this,d=A==="raw"?Dr.parseRawHeaders(r):Dr.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:d});return}let m=A==="raw"?Dr.parseHeaders(r):d,p=m["content-type"],h=m["content-length"],g=new t7({resume:n,abort:c,contentType:p,contentLength:this.method!=="HEAD"&&h?Number(h):null,highWaterMark:u});this.removeAbortListener&&g.on("close",this.removeAbortListener),this.callback=null,this.res=g,i!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(r7,null,{callback:i,body:g,contentType:p,statusCode:e,statusMessage:s,headers:d}):this.runInAsyncScope(i,null,null,{statusCode:e,headers:d,trailers:this.trailers,opaque:a,body:g,context:l}))}onData(e){return this.res.push(e)}onComplete(e){Dr.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:r,callback:n,body:s,opaque:i}=this;n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:i})})),r&&(this.res=null,queueMicrotask(()=>{Dr.destroy(r,e)})),s&&(this.body=null,Dr.destroy(s,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function YL(t,e){if(e===void 0)return new Promise((r,n)=>{YL.call(this,t,(s,i)=>s?n(s):r(i))});try{this.dispatch(t,new kp(t,e))}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(YL,"request");MB.exports=YL;MB.exports.RequestHandler=kp});var jA=f((S0e,$L)=>{var{addAbortListener:s7}=le(),{RequestAbortedError:i7}=Ce(),Sc=Symbol("kListener"),cs=Symbol("kSignal");function JL(t){t.abort?t.abort(t[cs]?.reason):t.reason=t[cs]?.reason??new i7,WL(t)}o(JL,"abort");function o7(t,e){if(t.reason=null,t[cs]=null,t[Sc]=null,!!e){if(e.aborted){JL(t);return}t[cs]=e,t[Sc]=()=>{JL(t)},s7(t[cs],t[Sc])}}o(o7,"addSignal");function WL(t){t[cs]&&("removeEventListener"in t[cs]?t[cs].removeEventListener("abort",t[Sc]):t[cs].removeListener("abort",t[Sc]),t[cs]=null,t[Sc]=null)}o(WL,"removeSignal");$L.exports={addSignal:o7,removeSignal:WL}});var ZL=f((P0e,XL)=>{"use strict";var a7=require("node:assert"),{finished:c7,PassThrough:l7}=require("node:stream"),{InvalidArgumentError:Rc,InvalidReturnValueError:A7}=Ce(),Ln=le(),{getResolveErrorBodyCallback:u7}=TB(),{AsyncResource:d7}=require("node:async_hooks"),{addSignal:m7,removeSignal:jL}=jA(),LB=class extends d7{static{o(this,"StreamHandler")}constructor(e,r,n){if(!e||typeof e!="object")throw new Rc("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 Rc("invalid callback");if(typeof r!="function")throw new Rc("invalid factory");if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new Rc("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new Rc("invalid method");if(l&&typeof l!="function")throw new Rc("invalid onInfo callback");super("UNDICI_STREAM")}catch(d){throw Ln.isStream(c)&&Ln.destroy(c.on("error",Ln.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,Ln.isStream(c)&&c.on("error",d=>{this.onError(d)}),m7(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}a7(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"?Ln.parseRawHeaders(r):Ln.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"?Ln.parseHeaders(r):u)["content-type"];d=new l7,this.callback=null,this.runInAsyncScope(u7,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 A7("expected Writable");c7(d,{readable:!1},p=>{let{callback:h,res:g,opaque:C,trailers:y,abort:E}=this;this.res=null,(p||!g.readable)&&Ln.destroy(g,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;jL(this),r&&(this.trailers=Ln.parseHeaders(e),r.end())}onError(e){let{res:r,callback:n,opaque:s,body:i}=this;jL(this),this.factory=null,r?(this.res=null,Ln.destroy(r,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:s})})),i&&(this.body=null,Ln.destroy(i,e))}};function KL(t,e,r){if(r===void 0)return new Promise((n,s)=>{KL.call(this,t,e,(i,a)=>i?s(i):n(a))});try{this.dispatch(t,new LB(t,e,r))}catch(n){if(typeof r!="function")throw n;let s=t?.opaque;queueMicrotask(()=>r(n,{opaque:s}))}}o(KL,"stream");XL.exports=KL});var nF=f((D0e,rF)=>{"use strict";var{Readable:tF,Duplex:p7,PassThrough:h7}=require("node:stream"),{InvalidArgumentError:KA,InvalidReturnValueError:f7,RequestAbortedError:FB}=Ce(),an=le(),{AsyncResource:g7}=require("node:async_hooks"),{addSignal:y7,removeSignal:E7}=jA(),eF=require("node:assert"),Pc=Symbol("resume"),_B=class extends tF{static{o(this,"PipelineRequest")}constructor(){super({autoDestroy:!0}),this[Pc]=null}_read(){let{[Pc]:e}=this;e&&(this[Pc]=null,e())}_destroy(e,r){this._read(),r(e)}},UB=class extends tF{static{o(this,"PipelineResponse")}constructor(e){super({autoDestroy:!0}),this[Pc]=e}_read(){this[Pc]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new FB),r(e)}},OB=class extends g7{static{o(this,"PipelineHandler")}constructor(e,r){if(!e||typeof e!="object")throw new KA("invalid opts");if(typeof r!="function")throw new KA("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 KA("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new KA("invalid method");if(a&&typeof a!="function")throw new KA("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=i||null,this.responseHeaders=c||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new _B().on("error",an.nop),this.ret=new p7({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[Pc]=u},"write"),destroy:o((l,A)=>{let{body:u,req:d,res:m,ret:p,abort:h}=this;!l&&!p._readableState.endEmitted&&(l=new FB),h&&l&&h(),an.destroy(u,l),an.destroy(d,l),an.destroy(m,l),E7(this),A(l)},"destroy")}).on("prefinish",()=>{let{req:l}=this;l.push(null)}),this.res=null,y7(this,n)}onConnect(e,r){let{ret:n,res:s}=this;if(this.reason){e(this.reason);return}eF(!s,"pipeline cannot be retried"),eF(!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"?an.parseRawHeaders(r):an.parseHeaders(r);this.onInfo({statusCode:e,headers:l})}return}this.res=new UB(n);let c;try{this.handler=null;let l=this.responseHeaders==="raw"?an.parseRawHeaders(r):an.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",an.nop),l}if(!c||typeof c.on!="function")throw new f7("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;an.destroy(A,l)}).on("end",()=>{let{ret:l}=this;l.push(null)}).on("close",()=>{let{ret:l}=this;l._readableState.ended||an.destroy(l,new FB)}),this.body=c}onData(e){let{res:r}=this;return r.push(e)}onComplete(e){let{res:r}=this;r.push(null)}onError(e){let{ret:r}=this;this.handler=null,an.destroy(r,e)}};function C7(t,e){try{let r=new OB(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new h7().destroy(r)}}o(C7,"pipeline");rF.exports=C7});var lF=f((T0e,cF)=>{"use strict";var{InvalidArgumentError:qB,SocketError:I7}=Ce(),{AsyncResource:B7}=require("node:async_hooks"),sF=le(),{addSignal:Q7,removeSignal:iF}=jA(),oF=require("node:assert"),HB=class extends B7{static{o(this,"UpgradeHandler")}constructor(e,r){if(!e||typeof e!="object")throw new qB("invalid opts");if(typeof r!="function")throw new qB("invalid callback");let{signal:n,opaque:s,responseHeaders:i}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new qB("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,Q7(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}oF(this.callback),this.abort=e,this.context=null}onHeaders(){throw new I7("bad upgrade",null)}onUpgrade(e,r,n){oF(e===101);let{callback:s,opaque:i,context:a}=this;iF(this),this.callback=null;let c=this.responseHeaders==="raw"?sF.parseRawHeaders(r):sF.parseHeaders(r);this.runInAsyncScope(s,null,null,{headers:c,socket:n,opaque:i,context:a})}onError(e){let{callback:r,opaque:n}=this;iF(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function aF(t,e){if(e===void 0)return new Promise((r,n)=>{aF.call(this,t,(s,i)=>s?n(s):r(i))});try{let r=new HB(t,e);this.dispatch({...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"},r)}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}o(aF,"upgrade");cF.exports=aF});var pF=f((L0e,mF)=>{"use strict";var x7=require("node:assert"),{AsyncResource:b7}=require("node:async_hooks"),{InvalidArgumentError:zB,SocketError:w7}=Ce(),AF=le(),{addSignal:N7,removeSignal:uF}=jA(),GB=class extends b7{static{o(this,"ConnectHandler")}constructor(e,r){if(!e||typeof e!="object")throw new zB("invalid opts");if(typeof r!="function")throw new zB("invalid callback");let{signal:n,opaque:s,responseHeaders:i}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new zB("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=s||null,this.responseHeaders=i||null,this.callback=r,this.abort=null,N7(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}x7(this.callback),this.abort=e,this.context=r}onHeaders(){throw new w7("bad connect",null)}onUpgrade(e,r,n){let{callback:s,opaque:i,context:a}=this;uF(this),this.callback=null;let c=r;c!=null&&(c=this.responseHeaders==="raw"?AF.parseRawHeaders(r):AF.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;uF(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function dF(t,e){if(e===void 0)return new Promise((r,n)=>{dF.call(this,t,(s,i)=>s?n(s):r(i))});try{let r=new GB(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(dF,"connect");mF.exports=dF});var hF=f((_0e,vc)=>{"use strict";vc.exports.request=VL();vc.exports.stream=ZL();vc.exports.pipeline=nF();vc.exports.upgrade=lF();vc.exports.connect=pF()});var VB=f((U0e,gF)=>{"use strict";var{UndiciError:S7}=Ce(),fF=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),YB=class t extends S7{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[fF]===!0}[fF]=!0};gF.exports={MockNotMatchedError:YB}});var Dc=f((q0e,yF)=>{"use strict";yF.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 XA=f((H0e,RF)=>{"use strict";var{MockNotMatchedError:Wo}=VB(),{kDispatches:Tp,kMockAgent:R7,kOriginalDispatch:P7,kOrigin:v7,kGetNetConnect:D7}=Dc(),{buildURL:k7}=le(),{STATUS_CODES:T7}=require("node:http"),{types:{isPromise:M7}}=require("node:util");function ui(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}o(ui,"matchValue");function CF(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}o(CF,"lowerCaseEntries");function IF(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):CF(t)[e.toLocaleLowerCase()]}o(IF,"getHeaderByName");function $B(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($B,"buildHeadersFromArray");function BF(t,e){if(typeof t.headers=="function")return Array.isArray(e)&&(e=$B(e)),t.headers(e?CF(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=IF(e,r);if(!ui(n,s))return!1}return!0}o(BF,"matchHeaders");function EF(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(EF,"safeUrl");function L7(t,{path:e,method:r,body:n,headers:s}){let i=ui(t.path,e),a=ui(t.method,r),c=typeof t.body<"u"?ui(t.body,n):!0,l=BF(t,s);return i&&a&&c&&l}o(L7,"matchKey");function QF(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}o(QF,"getResponseData");function xF(t,e){let r=e.query?k7(e.path,e.query):e.path,n=typeof r=="string"?EF(r):r,s=t.filter(({consumed:i})=>!i).filter(({path:i})=>ui(EF(i),n));if(s.length===0)throw new Wo(`Mock dispatch not matched for path '${n}'`);if(s=s.filter(({method:i})=>ui(i,e.method)),s.length===0)throw new Wo(`Mock dispatch not matched for method '${e.method}' on path '${n}'`);if(s=s.filter(({body:i})=>typeof i<"u"?ui(i,e.body):!0),s.length===0)throw new Wo(`Mock dispatch not matched for body '${e.body}' on path '${n}'`);if(s=s.filter(i=>BF(i,e.headers)),s.length===0){let i=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new Wo(`Mock dispatch not matched for headers '${i}' on path '${n}'`)}return s[0]}o(xF,"getMockDispatch");function F7(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(F7,"addMockDispatch");function JB(t,e){let r=t.findIndex(n=>n.consumed?L7(n,e):!1);r!==-1&&t.splice(r,1)}o(JB,"deleteMockDispatch");function bF(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(bF,"buildKey");function WB(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(WB,"generateKeyValues");function wF(t){return T7[t]||"unknown"}o(wF,"getStatusText");async function _7(t){let e=[];for await(let r of t)e.push(r);return Buffer.concat(e).toString("utf8")}o(_7,"getResponse");function NF(t,e){let r=bF(t),n=xF(this[Tp],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 JB(this[Tp],r),e.onError(l),!0;typeof A=="number"&&A>0?setTimeout(()=>{p(this[Tp])},A):p(this[Tp]);function p(g,C=i){let y=Array.isArray(t.headers)?$B(t.headers):t.headers,E=typeof C=="function"?C({...t,headers:y}):C;if(M7(E)){E.then(k=>p(g,k));return}let I=QF(E),B=WB(a),N=WB(c);e.onConnect?.(k=>e.onError(k),null),e.onHeaders?.(s,B,h,wF(s)),e.onData?.(Buffer.from(I)),e.onComplete?.(N),JB(g,r)}o(p,"handleReply");function h(){}return o(h,"resume"),!0}o(NF,"mockDispatch");function U7(){let t=this[R7],e=this[v7],r=this[P7];return o(function(s,i){if(t.isMockActive)try{NF.call(this,s,i)}catch(a){if(a instanceof Wo){let c=t[D7]();if(c===!1)throw new Wo(`${a.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(SF(c,e))r.call(this,s,i);else throw new Wo(`${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(U7,"buildMockDispatch");function SF(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(n=>ui(n,r.host)))}o(SF,"checkNetConnect");function O7(t){if(t){let{agent:e,...r}=t;return r}}o(O7,"buildMockOptions");RF.exports={getResponseData:QF,getMockDispatch:xF,addMockDispatch:F7,deleteMockDispatch:JB,buildKey:bF,generateKeyValues:WB,matchValue:ui,getResponse:_7,getStatusText:wF,mockDispatch:NF,buildMockDispatch:U7,checkNetConnect:SF,buildMockOptions:O7,getHeaderByName:IF,buildHeadersFromArray:$B}});var rQ=f((G0e,tQ)=>{"use strict";var{getResponseData:q7,buildKey:H7,addMockDispatch:jB}=XA(),{kDispatches:Mp,kDispatchKey:Lp,kDefaultHeaders:KB,kDefaultTrailers:XB,kContentLength:ZB,kMockDispatch:Fp}=Dc(),{InvalidArgumentError:ls}=Ce(),{buildURL:z7}=le(),kc=class{static{o(this,"MockScope")}constructor(e){this[Fp]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new ls("waitInMs must be a valid integer > 0");return this[Fp].delay=e,this}persist(){return this[Fp].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new ls("repeatTimes must be a valid integer > 0");return this[Fp].times=e,this}},eQ=class{static{o(this,"MockInterceptor")}constructor(e,r){if(typeof e!="object")throw new ls("opts must be an object");if(typeof e.path>"u")throw new ls("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=z7(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[Lp]=H7(e),this[Mp]=r,this[KB]={},this[XB]={},this[ZB]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:n}){let s=q7(r),i=this[ZB]?{"content-length":s.length}:{},a={...this[KB],...i,...n.headers},c={...this[XB],...n.trailers};return{statusCode:e,data:r,headers:a,trailers:c}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new ls("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new ls("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 ls("reply options callback must return an object");let A={data:"",responseOptions:{},...l};return this.validateReplyParameters(A),{...this.createMockScopeDispatchData(A)}},"wrappedDefaultsCallback"),a=jB(this[Mp],this[Lp],i);return new kc(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=jB(this[Mp],this[Lp],n);return new kc(s)}replyWithError(e){if(typeof e>"u")throw new ls("error must be defined");let r=jB(this[Mp],this[Lp],{error:e});return new kc(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new ls("headers must be defined");return this[KB]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new ls("trailers must be defined");return this[XB]=e,this}replyContentLength(){return this[ZB]=!0,this}};tQ.exports.MockInterceptor=eQ;tQ.exports.MockScope=kc});var iQ=f((V0e,LF)=>{"use strict";var{promisify:G7}=require("node:util"),Y7=Bc(),{buildMockDispatch:V7}=XA(),{kDispatches:PF,kMockAgent:vF,kClose:DF,kOriginalClose:kF,kOrigin:TF,kOriginalDispatch:J7,kConnected:nQ}=Dc(),{MockInterceptor:W7}=rQ(),MF=Fe(),{InvalidArgumentError:$7}=Ce(),sQ=class extends Y7{static{o(this,"MockClient")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new $7("Argument opts.agent must implement Agent");this[vF]=r.agent,this[TF]=e,this[PF]=[],this[nQ]=1,this[J7]=this.dispatch,this[kF]=this.close.bind(this),this.dispatch=V7.call(this),this.close=this[DF]}get[MF.kConnected](){return this[nQ]}intercept(e){return new W7(e,this[PF])}async[DF](){await G7(this[kF])(),this[nQ]=0,this[vF][MF.kClients].delete(this[TF])}};LF.exports=sQ});var cQ=f((W0e,zF)=>{"use strict";var{promisify:j7}=require("node:util"),K7=Qc(),{buildMockDispatch:X7}=XA(),{kDispatches:FF,kMockAgent:_F,kClose:UF,kOriginalClose:OF,kOrigin:qF,kOriginalDispatch:Z7,kConnected:oQ}=Dc(),{MockInterceptor:eee}=rQ(),HF=Fe(),{InvalidArgumentError:tee}=Ce(),aQ=class extends K7{static{o(this,"MockPool")}constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new tee("Argument opts.agent must implement Agent");this[_F]=r.agent,this[qF]=e,this[FF]=[],this[oQ]=1,this[Z7]=this.dispatch,this[OF]=this.close.bind(this),this.dispatch=X7.call(this),this.close=this[UF]}get[HF.kConnected](){return this[oQ]}intercept(e){return new eee(e,this[FF])}async[UF](){await j7(this[OF])(),this[oQ]=0,this[_F][HF.kClients].delete(this[qF])}};zF.exports=aQ});var YF=f((K0e,GF)=>{"use strict";var ree={pronoun:"it",is:"is",was:"was",this:"this"},nee={pronoun:"they",is:"are",was:"were",this:"these"};GF.exports=class{static{o(this,"Pluralizer")}constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,n=r?ree:nee,s=r?this.singular:this.plural;return{...n,count:e,noun:s}}}});var JF=f((eSe,VF)=>{"use strict";var{Transform:see}=require("node:stream"),{Console:iee}=require("node:console"),oee=process.versions.icu?"\u2705":"Y ",aee=process.versions.icu?"\u274C":"N ";VF.exports=class{static{o(this,"PendingInterceptorsFormatter")}constructor({disableColors:e}={}){this.transform=new see({transform(r,n,s){s(null,r)}}),this.logger=new iee({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:n,path:s,data:{statusCode:i},persist:a,times:c,timesInvoked:l,origin:A})=>({Method:n,Origin:A,Path:s,"Status code":i,Persistent:a?oee:aee,Invocations:l,Remaining:a?1/0:c-l}));return this.logger.table(r),this.transform.read().toString()}}});var KF=f((rSe,jF)=>{"use strict";var{kClients:$o}=Fe(),cee=xc(),{kAgent:lQ,kMockAgentSet:_p,kMockAgentGet:WF,kDispatches:AQ,kIsMockActive:Up,kNetConnect:jo,kGetNetConnect:lee,kOptions:Op,kFactory:qp}=Dc(),Aee=iQ(),uee=cQ(),{matchValue:dee,buildMockOptions:mee}=XA(),{InvalidArgumentError:$F,UndiciError:pee}=Ce(),hee=IA(),fee=YF(),gee=JF(),uQ=class extends hee{static{o(this,"MockAgent")}constructor(e){if(super(e),this[jo]=!0,this[Up]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new $F("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new cee(e);this[lQ]=r,this[$o]=r[$o],this[Op]=mee(e)}get(e){let r=this[WF](e);return r||(r=this[qp](e),this[_p](e,r)),r}dispatch(e,r){return this.get(e.origin),this[lQ].dispatch(e,r)}async close(){await this[lQ].close(),this[$o].clear()}deactivate(){this[Up]=!1}activate(){this[Up]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[jo])?this[jo].push(e):this[jo]=[e];else if(typeof e>"u")this[jo]=!0;else throw new $F("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[jo]=!1}get isMockActive(){return this[Up]}[_p](e,r){this[$o].set(e,r)}[qp](e){let r=Object.assign({agent:this},this[Op]);return this[Op]&&this[Op].connections===1?new Aee(e,r):new uee(e,r)}[WF](e){let r=this[$o].get(e);if(r)return r;if(typeof e!="string"){let n=this[qp]("http://localhost:9999");return this[_p](e,n),n}for(let[n,s]of Array.from(this[$o]))if(s&&typeof n!="string"&&dee(n,e)){let i=this[qp](e);return this[_p](e,i),i[AQ]=s[AQ],i}}[lee](){return this[jo]}pendingInterceptors(){let e=this[$o];return Array.from(e.entries()).flatMap(([r,n])=>n[AQ].map(s=>({...s,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new gee}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new fee("interceptor","interceptors").pluralize(r.length);throw new pee(`
|
|
${n.count} ${n.noun} ${n.is} pending:
|
|
|
|
${e.format(r)}
|
|
`.trim())}};jF.exports=uQ});var Hp=f((sSe,t2)=>{"use strict";var XF=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:yee}=Ce(),Eee=xc();e2()===void 0&&ZF(new Eee);function ZF(t){if(!t||typeof t.dispatch!="function")throw new yee("Argument agent must implement Agent");Object.defineProperty(globalThis,XF,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(ZF,"setGlobalDispatcher");function e2(){return globalThis[XF]}o(e2,"getGlobalDispatcher");t2.exports={setGlobalDispatcher:ZF,getGlobalDispatcher:e2}});var zp=f((aSe,r2)=>{"use strict";r2.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 s2=f((lSe,n2)=>{"use strict";var Cee=Ip();n2.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 Cee(r,a,s,i);return r(c,l)},"redirectInterceptor")}});var o2=f((uSe,i2)=>{"use strict";var Iee=Dp();i2.exports=t=>e=>o(function(n,s){return e(n,new Iee({...n,retryOptions:{...t,...n.retryOptions}},{handler:s,dispatch:e}))},"retryInterceptor")});var c2=f((mSe,a2)=>{"use strict";var Bee=le(),{InvalidArgumentError:Qee,RequestAbortedError:xee}=Ce(),bee=zp(),dQ=class extends bee{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 Qee("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=Bee.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new xee(`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 wee({maxSize:t}={maxSize:1024*1024}){return e=>o(function(n,s){let{dumpMaxSize:i=t}=n,a=new dQ({maxSize:i},s);return e(n,a)},"Intercept")}o(wee,"createDumpInterceptor");a2.exports=wee});var u2=f((hSe,A2)=>{"use strict";var{isIP:Nee}=require("node:net"),{lookup:See}=require("node:dns"),Ree=zp(),{InvalidArgumentError:Tc,InformationalError:Pee}=Ce(),l2=Math.pow(2,31)-1,mQ=class{static{o(this,"DNSInstance")}#e=0;#t=0;#r=new Map;dualStack=!0;affinity=null;lookup=null;pick=null;constructor(e){this.#e=e.maxTTL,this.#t=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#i,this.pick=e.pick??this.#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 Pee("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){See(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===l2?(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===l2?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 pQ(this,e,r)}},pQ=class extends Ree{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}}};A2.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new Tc("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new Tc("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new Tc("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new Tc("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new Tc("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new Tc("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 mQ(n);return i=>o(function(c,l){let A=c.origin.constructor===URL?c.origin:new URL(c.origin);return Nee(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 Ko=f((gSe,y2)=>{"use strict";var{kConstruct:vee}=Fe(),{kEnumerableProperty:Mc}=le(),{iteratorMixin:Dee,isValidHeaderName:ZA,isValidHeaderValue:m2}=Rr(),{webidl:pe}=Dt(),hQ=require("node:assert"),Gp=require("node:util"),dt=Symbol("headers map"),kr=Symbol("headers map sorted");function d2(t){return t===10||t===13||t===9||t===32}o(d2,"isHTTPWhiteSpaceCharCode");function p2(t){let e=0,r=t.length;for(;r>e&&d2(t.charCodeAt(r-1));)--r;for(;r>e&&d2(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}o(p2,"headerValueNormalize");function h2(t,e){if(Array.isArray(e))for(let r=0;r<e.length;++r){let n=e[r];if(n.length!==2)throw pe.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${n.length}.`});fQ(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)fQ(t,r[n],e[r[n]])}else throw pe.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}o(h2,"fill");function fQ(t,e,r){if(r=p2(r),ZA(e)){if(!m2(r))throw pe.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw pe.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(g2(t)==="immutable")throw new TypeError("immutable");return gQ(t).append(e,r,!1)}o(fQ,"appendHeader");function f2(t,e){return t[0]<e[0]?-1:1}o(f2,"compareHeaderName");var Yp=class t{static{o(this,"HeadersList")}cookies=null;constructor(e){e instanceof t?(this[dt]=new Map(e[dt]),this[kr]=e[kr],this.cookies=e.cookies===null?null:[...e.cookies]):(this[dt]=new Map(e),this[kr]=null)}contains(e,r){return this[dt].has(r?e:e.toLowerCase())}clear(){this[dt].clear(),this[kr]=null,this.cookies=null}append(e,r,n){this[kr]=null;let s=n?e:e.toLowerCase(),i=this[dt].get(s);if(i){let a=s==="cookie"?"; ":", ";this[dt].set(s,{name:i.name,value:`${i.value}${a}${r}`})}else this[dt].set(s,{name:e,value:r});s==="set-cookie"&&(this.cookies??=[]).push(r)}set(e,r,n){this[kr]=null;let s=n?e:e.toLowerCase();s==="set-cookie"&&(this.cookies=[r]),this[dt].set(s,{name:e,value:r})}delete(e,r){this[kr]=null,r||(e=e.toLowerCase()),e==="set-cookie"&&(this.cookies=null),this[dt].delete(e)}get(e,r){return this[dt].get(r?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:r}}of this[dt])yield[e,r]}get entries(){let e={};if(this[dt].size!==0)for(let{name:r,value:n}of this[dt].values())e[r]=n;return e}rawValues(){return this[dt].values()}get entriesList(){let e=[];if(this[dt].size!==0)for(let{0:r,1:{name:n,value:s}}of this[dt])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[dt].size,r=new Array(e);if(e<=32){if(e===0)return r;let n=this[dt][Symbol.iterator](),s=n.next().value;r[0]=[s[0],s[1].value],hQ(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],hQ(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[dt])r[n++]=[s,i],hQ(i!==null);return r.sort(f2)}}},Fn=class t{static{o(this,"Headers")}#e;#t;constructor(e=void 0){pe.util.markAsUncloneable(this),e!==vee&&(this.#t=new Yp,this.#e="none",e!==void 0&&(e=pe.converters.HeadersInit(e,"Headers contructor","init"),h2(this,e)))}append(e,r){pe.brandCheck(this,t),pe.argumentLengthCheck(arguments,2,"Headers.append");let n="Headers.append";return e=pe.converters.ByteString(e,n,"name"),r=pe.converters.ByteString(r,n,"value"),fQ(this,e,r)}delete(e){if(pe.brandCheck(this,t),pe.argumentLengthCheck(arguments,1,"Headers.delete"),e=pe.converters.ByteString(e,"Headers.delete","name"),!ZA(e))throw pe.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.contains(e,!1)&&this.#t.delete(e,!1)}get(e){pe.brandCheck(this,t),pe.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=pe.converters.ByteString(e,r,"name"),!ZA(e))throw pe.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){pe.brandCheck(this,t),pe.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=pe.converters.ByteString(e,r,"name"),!ZA(e))throw pe.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){pe.brandCheck(this,t),pe.argumentLengthCheck(arguments,2,"Headers.set");let n="Headers.set";if(e=pe.converters.ByteString(e,n,"name"),r=pe.converters.ByteString(r,n,"value"),r=p2(r),ZA(e)){if(!m2(r))throw pe.errors.invalidArgument({prefix:n,value:r,type:"header value"})}else throw pe.errors.invalidArgument({prefix:n,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){pe.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[kr](){if(this.#t[kr])return this.#t[kr];let e=[],r=this.#t.toSortedArray(),n=this.#t.cookies;if(n===null||n.length===1)return this.#t[kr]=r;for(let s=0;s<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[kr]=e}[Gp.inspect.custom](e,r){return r.depth??=e,`Headers ${Gp.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:g2,setHeadersGuard:kee,getHeadersList:gQ,setHeadersList:Tee}=Fn;Reflect.deleteProperty(Fn,"getHeadersGuard");Reflect.deleteProperty(Fn,"setHeadersGuard");Reflect.deleteProperty(Fn,"getHeadersList");Reflect.deleteProperty(Fn,"setHeadersList");Dee("Headers",Fn,kr,0,1);Object.defineProperties(Fn.prototype,{append:Mc,delete:Mc,get:Mc,has:Mc,set:Mc,getSetCookie:Mc,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[Gp.inspect.custom]:{enumerable:!1}});pe.converters.HeadersInit=function(t,e,r){if(pe.util.Type(t)==="Object"){let n=Reflect.get(t,Symbol.iterator);if(!Gp.types.isProxy(t)&&n===Fn.prototype.entries)try{return gQ(t).entriesList}catch{}return typeof n=="function"?pe.converters["sequence<sequence<ByteString>>"](t,e,r,n.bind(t)):pe.converters["record<ByteString, ByteString>"](t,e,r)}throw pe.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};y2.exports={fill:h2,compareHeaderName:f2,Headers:Fn,HeadersList:Yp,getHeadersGuard:g2,setHeadersGuard:kee,setHeadersList:Tee,getHeadersList:gQ}});var tu=f((ESe,P2)=>{"use strict";var{Headers:x2,HeadersList:E2,fill:Mee,getHeadersGuard:Lee,setHeadersGuard:b2,setHeadersList:w2}=Ko(),{extractBody:C2,cloneBody:Fee,mixinBody:_ee,hasFinalizationRegistry:N2,streamRegistry:S2,bodyUnusable:Uee}=hc(),yQ=le(),I2=require("node:util"),{kEnumerableProperty:Tr}=yQ,{isValidReasonPhrase:Oee,isCancelled:qee,isAborted:Hee,isBlobLike:zee,serializeJavascriptValueToJSONString:Gee,isErrorLike:Yee,isomorphicEncode:Vee,environmentSettingsObject:Jee}=Rr(),{redirectStatusSet:Wee,nullBodyStatus:$ee}=xA(),{kState:Ue,kHeaders:di}=Hi(),{webidl:oe}=Dt(),{FormData:jee}=PA(),{URLSerializer:B2}=ar(),{kConstruct:Jp}=Fe(),EQ=require("node:assert"),{types:Kee}=require("node:util"),Xee=new TextEncoder("utf-8"),Xo=class t{static{o(this,"Response")}static error(){return eu(Wp(),"immutable")}static json(e,r={}){oe.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=oe.converters.ResponseInit(r));let n=Xee.encode(Gee(e)),s=C2(n),i=eu(Lc({}),"response");return Q2(i,r,{body:s[0],type:"application/json"}),i}static redirect(e,r=302){oe.argumentLengthCheck(arguments,1,"Response.redirect"),e=oe.converters.USVString(e),r=oe.converters["unsigned short"](r);let n;try{n=new URL(e,Jee.settingsObject.baseUrl)}catch(a){throw new TypeError(`Failed to parse URL from ${e}`,{cause:a})}if(!Wee.has(r))throw new RangeError(`Invalid status code ${r}`);let s=eu(Lc({}),"immutable");s[Ue].status=r;let i=Vee(B2(n));return s[Ue].headersList.append("location",i,!0),s}constructor(e=null,r={}){if(oe.util.markAsUncloneable(this),e===Jp)return;e!==null&&(e=oe.converters.BodyInit(e)),r=oe.converters.ResponseInit(r),this[Ue]=Lc({}),this[di]=new x2(Jp),b2(this[di],"response"),w2(this[di],this[Ue].headersList);let n=null;if(e!=null){let[s,i]=C2(e);n={body:s,type:i}}Q2(this,r,n)}get type(){return oe.brandCheck(this,t),this[Ue].type}get url(){oe.brandCheck(this,t);let e=this[Ue].urlList,r=e[e.length-1]??null;return r===null?"":B2(r,!0)}get redirected(){return oe.brandCheck(this,t),this[Ue].urlList.length>1}get status(){return oe.brandCheck(this,t),this[Ue].status}get ok(){return oe.brandCheck(this,t),this[Ue].status>=200&&this[Ue].status<=299}get statusText(){return oe.brandCheck(this,t),this[Ue].statusText}get headers(){return oe.brandCheck(this,t),this[di]}get body(){return oe.brandCheck(this,t),this[Ue].body?this[Ue].body.stream:null}get bodyUsed(){return oe.brandCheck(this,t),!!this[Ue].body&&yQ.isDisturbed(this[Ue].body.stream)}clone(){if(oe.brandCheck(this,t),Uee(this))throw oe.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=CQ(this[Ue]);return N2&&this[Ue].body?.stream&&S2.register(this,new WeakRef(this[Ue].body.stream)),eu(e,Lee(this[di]))}[I2.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 ${I2.formatWithOptions(r,n)}`}};_ee(Xo);Object.defineProperties(Xo.prototype,{type:Tr,url:Tr,status:Tr,ok:Tr,redirected:Tr,statusText:Tr,headers:Tr,clone:Tr,body:Tr,bodyUsed:Tr,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(Xo,{json:Tr,redirect:Tr,error:Tr});function CQ(t){if(t.internalResponse)return R2(CQ(t.internalResponse),t.type);let e=Lc({...t,body:null});return t.body!=null&&(e.body=Fee(e,t.body)),e}o(CQ,"cloneResponse");function Lc(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new E2(t?.headersList):new E2,urlList:t?.urlList?[...t.urlList]:[]}}o(Lc,"makeResponse");function Wp(t){let e=Yee(t);return Lc({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}o(Wp,"makeNetworkError");function Zee(t){return t.type==="error"&&t.status===0}o(Zee,"isNetworkError");function Vp(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 EQ(!(n in e)),r[n]=s,!0}})}o(Vp,"makeFilteredResponse");function R2(t,e){if(e==="basic")return Vp(t,{type:"basic",headersList:t.headersList});if(e==="cors")return Vp(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return Vp(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return Vp(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});EQ(!1)}o(R2,"filterResponse");function ete(t,e=null){return EQ(qee(t)),Hee(t)?Wp(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):Wp(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}o(ete,"makeAppropriateNetworkError");function Q2(t,e,r){if(e.status!==null&&(e.status<200||e.status>599))throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in e&&e.statusText!=null&&!Oee(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[Ue].status=e.status),"statusText"in e&&e.statusText!=null&&(t[Ue].statusText=e.statusText),"headers"in e&&e.headers!=null&&Mee(t[di],e.headers),r){if($ee.includes(t.status))throw oe.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[Ue].body=r.body,r.type!=null&&!t[Ue].headersList.contains("content-type",!0)&&t[Ue].headersList.append("content-type",r.type,!0)}}o(Q2,"initializeResponse");function eu(t,e){let r=new Xo(Jp);return r[Ue]=t,r[di]=new x2(Jp),w2(r[di],t.headersList),b2(r[di],e),N2&&t.body?.stream&&S2.register(r,new WeakRef(t.body.stream)),r}o(eu,"fromInnerResponse");oe.converters.ReadableStream=oe.interfaceConverter(ReadableStream);oe.converters.FormData=oe.interfaceConverter(jee);oe.converters.URLSearchParams=oe.interfaceConverter(URLSearchParams);oe.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?oe.converters.USVString(t,e,r):zee(t)?oe.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||Kee.isArrayBuffer(t)?oe.converters.BufferSource(t,e,r):yQ.isFormDataLike(t)?oe.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?oe.converters.URLSearchParams(t,e,r):oe.converters.DOMString(t,e,r)};oe.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?oe.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:oe.converters.XMLHttpRequestBodyInit(t,e,r)};oe.converters.ResponseInit=oe.dictionaryConverter([{key:"status",converter:oe.converters["unsigned short"],defaultValue:o(()=>200,"defaultValue")},{key:"statusText",converter:oe.converters.ByteString,defaultValue:o(()=>"","defaultValue")},{key:"headers",converter:oe.converters.HeadersInit}]);P2.exports={isNetworkError:Zee,makeNetworkError:Wp,makeResponse:Lc,makeAppropriateNetworkError:ete,filterResponse:R2,Response:Xo,cloneResponse:CQ,fromInnerResponse:eu}});var T2=f((ISe,k2)=>{"use strict";var{kConnected:v2,kSize:D2}=Fe(),IQ=class{static{o(this,"CompatWeakRef")}constructor(e){this.value=e}deref(){return this.value[v2]===0&&this.value[D2]===0?void 0:this.value}},BQ=class{static{o(this,"CompatFinalizer")}constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[v2]===0&&e[D2]===0&&this.finalizer(r)})}unregister(e){}};k2.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:IQ,FinalizationRegistry:BQ}):{WeakRef,FinalizationRegistry}}});var Fc=f((QSe,$2)=>{"use strict";var{extractBody:tte,mixinBody:rte,cloneBody:nte,bodyUnusable:M2}=hc(),{Headers:G2,fill:ste,HeadersList:Xp,setHeadersGuard:xQ,getHeadersGuard:ite,setHeadersList:Y2,getHeadersList:L2}=Ko(),{FinalizationRegistry:ote}=T2()(),jp=le(),F2=require("node:util"),{isValidHTTPToken:ate,sameOrigin:_2,environmentSettingsObject:$p}=Rr(),{forbiddenMethodsSet:cte,corsSafeListedMethodsSet:lte,referrerPolicy:Ate,requestRedirect:ute,requestMode:dte,requestCredentials:mte,requestCache:pte,requestDuplex:hte}=xA(),{kEnumerableProperty:mt,normalizedMethodRecordsBase:fte,normalizedMethodRecords:gte}=jp,{kHeaders:Mr,kSignal:Kp,kState:ke,kDispatcher:QQ}=Hi(),{webidl:j}=Dt(),{URLSerializer:yte}=ar(),{kConstruct:Zp}=Fe(),Ete=require("node:assert"),{getMaxListeners:U2,setMaxListeners:O2,getEventListeners:Cte,defaultMaxListeners:q2}=require("node:events"),Ite=Symbol("abortController"),V2=new ote(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),eh=new WeakMap;function H2(t){return e;function e(){let r=t.deref();if(r!==void 0){V2.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let n=eh.get(r.signal);if(n!==void 0){if(n.size!==0){for(let s of n){let i=s.deref();i!==void 0&&i.abort(this.reason)}n.clear()}eh.delete(r.signal)}}}}o(H2,"buildAbort");var z2=!1,eo=class t{static{o(this,"Request")}constructor(e,r={}){if(j.util.markAsUncloneable(this),e===Zp)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=$p.settingsObject.baseUrl,c=null;if(typeof e=="string"){this[QQ]=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=th({urlList:[y]}),i="cors"}else this[QQ]=r.dispatcher||e[QQ],Ete(e instanceof t),s=e[ke],c=e[Kp];let l=$p.settingsObject.origin,A="client";if(s.window?.constructor?.name==="EnvironmentSettingsObject"&&_2(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=th({method:s.method,headersList:s.headersList,unsafeRequest:s.unsafeRequest,client:$p.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&&!_2(E,$p.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=gte[y];if(E!==void 0)s.method=E;else{if(!ate(y))throw new TypeError(`'${y}' is not a valid HTTP method.`);let I=y.toUpperCase();if(cte.has(I))throw new TypeError(`'${y}' HTTP method is unsupported.`);y=fte[I]??y,s.method=y}!z2&&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"}),z2=!0)}r.signal!==void 0&&(c=r.signal),this[ke]=s;let m=new AbortController;if(this[Kp]=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[Ite]=m;let y=new WeakRef(m),E=H2(y);try{(typeof U2=="function"&&U2(c)===q2||Cte(c,"abort").length>=q2)&&O2(1500,c)}catch{}jp.addAbortListener(c,E),V2.register(m,{signal:c,abort:E},E)}}if(this[Mr]=new G2(Zp),Y2(this[Mr],s.headersList),xQ(this[Mr],"request"),d==="no-cors"){if(!lte.has(s.method))throw new TypeError(`'${s.method} is unsupported in no-cors mode.`);xQ(this[Mr],"request-no-cors")}if(u){let y=L2(this[Mr]),E=r.headers!==void 0?r.headers:new Xp(y);if(y.clear(),E instanceof Xp){for(let{name:I,value:B}of E.rawValues())y.append(I,B,!1);y.cookies=E.cookies}else ste(this[Mr],E)}let p=e instanceof t?e[ke].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]=tte(r.body,s.keepalive);h=y,E&&!L2(this[Mr]).contains("content-type",!0)&&this[Mr].append("content-type",E)}let g=h??p;if(g!=null&&g.source==null){if(h!=null&&r.duplex==null)throw new TypeError("RequestInit: duplex option is required when sending a body.");if(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=g;if(h==null&&p!=null){if(M2(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[ke].body=C}get method(){return j.brandCheck(this,t),this[ke].method}get url(){return j.brandCheck(this,t),yte(this[ke].url)}get headers(){return j.brandCheck(this,t),this[Mr]}get destination(){return j.brandCheck(this,t),this[ke].destination}get referrer(){return j.brandCheck(this,t),this[ke].referrer==="no-referrer"?"":this[ke].referrer==="client"?"about:client":this[ke].referrer.toString()}get referrerPolicy(){return j.brandCheck(this,t),this[ke].referrerPolicy}get mode(){return j.brandCheck(this,t),this[ke].mode}get credentials(){return this[ke].credentials}get cache(){return j.brandCheck(this,t),this[ke].cache}get redirect(){return j.brandCheck(this,t),this[ke].redirect}get integrity(){return j.brandCheck(this,t),this[ke].integrity}get keepalive(){return j.brandCheck(this,t),this[ke].keepalive}get isReloadNavigation(){return j.brandCheck(this,t),this[ke].reloadNavigation}get isHistoryNavigation(){return j.brandCheck(this,t),this[ke].historyNavigation}get signal(){return j.brandCheck(this,t),this[Kp]}get body(){return j.brandCheck(this,t),this[ke].body?this[ke].body.stream:null}get bodyUsed(){return j.brandCheck(this,t),!!this[ke].body&&jp.isDisturbed(this[ke].body.stream)}get duplex(){return j.brandCheck(this,t),"half"}clone(){if(j.brandCheck(this,t),M2(this))throw new TypeError("unusable");let e=J2(this[ke]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let n=eh.get(this.signal);n===void 0&&(n=new Set,eh.set(this.signal,n));let s=new WeakRef(r);n.add(s),jp.addAbortListener(r.signal,H2(s))}return W2(e,r.signal,ite(this[Mr]))}[F2.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 ${F2.formatWithOptions(r,n)}`}};rte(eo);function th(t){return{method:t.method??"GET",localURLsOnly:t.localURLsOnly??!1,unsafeRequest:t.unsafeRequest??!1,body:t.body??null,client:t.client??null,reservedClient:t.reservedClient??null,replacesClientId:t.replacesClientId??"",window:t.window??"client",keepalive:t.keepalive??!1,serviceWorkers:t.serviceWorkers??"all",initiator:t.initiator??"",destination:t.destination??"",priority:t.priority??null,origin:t.origin??"client",policyContainer:t.policyContainer??"client",referrer:t.referrer??"client",referrerPolicy:t.referrerPolicy??"",mode:t.mode??"no-cors",useCORSPreflightFlag:t.useCORSPreflightFlag??!1,credentials:t.credentials??"same-origin",useCredentials:t.useCredentials??!1,cache:t.cache??"default",redirect:t.redirect??"follow",integrity:t.integrity??"",cryptoGraphicsNonceMetadata:t.cryptoGraphicsNonceMetadata??"",parserMetadata:t.parserMetadata??"",reloadNavigation:t.reloadNavigation??!1,historyNavigation:t.historyNavigation??!1,userActivation:t.userActivation??!1,taintedOrigin:t.taintedOrigin??!1,redirectCount:t.redirectCount??0,responseTainting:t.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:t.preventNoCacheCacheControlHeaderModification??!1,done:t.done??!1,timingAllowFailed:t.timingAllowFailed??!1,urlList:t.urlList,url:t.urlList[0],headersList:t.headersList?new Xp(t.headersList):new Xp}}o(th,"makeRequest");function J2(t){let e=th({...t,body:null});return t.body!=null&&(e.body=nte(e,t.body)),e}o(J2,"cloneRequest");function W2(t,e,r){let n=new eo(Zp);return n[ke]=t,n[Kp]=e,n[Mr]=new G2(Zp),Y2(n[Mr],t.headersList),xQ(n[Mr],r),n}o(W2,"fromInnerRequest");Object.defineProperties(eo.prototype,{method:mt,url:mt,headers:mt,redirect:mt,clone:mt,signal:mt,duplex:mt,destination:mt,body:mt,bodyUsed:mt,isHistoryNavigation:mt,isReloadNavigation:mt,keepalive:mt,integrity:mt,cache:mt,credentials:mt,attribute:mt,referrerPolicy:mt,referrer:mt,mode:mt,[Symbol.toStringTag]:{value:"Request",configurable:!0}});j.converters.Request=j.interfaceConverter(eo);j.converters.RequestInfo=function(t,e,r){return typeof t=="string"?j.converters.USVString(t,e,r):t instanceof eo?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:Ate},{key:"mode",converter:j.converters.DOMString,allowedValues:dte},{key:"credentials",converter:j.converters.DOMString,allowedValues:mte},{key:"cache",converter:j.converters.DOMString,allowedValues:pte},{key:"redirect",converter:j.converters.DOMString,allowedValues:ute},{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:hte},{key:"dispatcher",converter:j.converters.any}]);$2.exports={Request:eo,makeRequest:th,fromInnerRequest:W2,cloneRequest:J2}});var nu=f((bSe,A_)=>{"use strict";var{makeNetworkError:we,makeAppropriateNetworkError:rh,filterResponse:bQ,makeResponse:nh,fromInnerResponse:Bte}=tu(),{HeadersList:j2}=Ko(),{Request:Qte,cloneRequest:xte}=Fc(),to=require("node:zlib"),{bytesMatch:bte,makePolicyContainer:wte,clonePolicyContainer:Nte,requestBadPort:Ste,TAOCheck:Rte,appendRequestOriginHeader:Pte,responseLocationURL:vte,requestCurrentURL:As,setRequestReferrerPolicyOnRedirect:Dte,tryUpgradeRequestToAPotentiallyTrustworthyURL:kte,createOpaqueTimingInfo:PQ,appendFetchMetadata:Tte,corsCheck:Mte,crossOriginResourcePolicyCheck:Lte,determineRequestsReferrer:Fte,coarsenedSharedCurrentTime:ru,createDeferredPromise:_te,isBlobLike:Ute,sameOrigin:RQ,isCancelled:Zo,isAborted:K2,isErrorLike:Ote,fullyReadBody:qte,readableStreamClose:Hte,isomorphicEncode:sh,urlIsLocal:zte,urlIsHttpHttpsScheme:vQ,urlHasHttpsScheme:Gte,clampAndCoarsenConnectionTimingInfo:Yte,simpleRangeHeaderValue:Vte,buildContentRange:Jte,createInflate:Wte,extractMimeType:$te}=Rr(),{kState:t_,kDispatcher:jte}=Hi(),ea=require("node:assert"),{safelyExtractBody:DQ,extractBody:X2}=hc(),{redirectStatusSet:r_,nullBodyStatus:n_,safeMethodsSet:Kte,requestBodyHeader:Xte,subresourceSet:Zte}=xA(),ere=require("node:events"),{Readable:tre,pipeline:rre,finished:nre}=require("node:stream"),{addAbortListener:sre,isErrored:ire,isReadable:ih,bufferToLowerCasedHeaderName:Z2}=le(),{dataURLProcessor:ore,serializeAMimeType:are,minimizeSupportedMimeType:cre}=ar(),{getGlobalDispatcher:lre}=Hp(),{webidl:Are}=Dt(),{STATUS_CODES:ure}=require("node:http"),dre=["GET","HEAD"],mre=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",wQ,oh=class extends ere{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 pre(t){s_(t,"fetch")}o(pre,"handleFetchDone");function hre(t,e=void 0){Are.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=_te(),n;try{n=new Qte(t,e)}catch(u){return r.reject(u),r.promise}let s=n[t_];if(n.signal.aborted)return NQ(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 sre(n.signal,()=>{c=!0,ea(l!=null),l.abort(n.signal.reason);let u=a?.deref();NQ(r,s,u,n.signal.reason)}),l=o_({request:s,processResponseEndOfBody:pre,processResponse:o(u=>{if(!c){if(u.aborted){NQ(r,s,a,l.serializedAbortReason);return}if(u.type==="error"){r.reject(new TypeError("fetch failed",{cause:u.error}));return}a=new WeakRef(Bte(u,"immutable")),r.resolve(a.deref()),r=null}},"processResponse"),dispatcher:n[jte]}),r.promise}o(hre,"fetch");function s_(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],n=t.timingInfo,s=t.cacheState;vQ(r)&&n!==null&&(t.timingAllowPassed||(n=PQ({startTime:n.startTime}),s=""),n.endTime=ru(),t.timingInfo=n,i_(n,r.href,e,globalThis,s))}o(s_,"finalizeAndReportTiming");var i_=performance.markResourceTiming;function NQ(t,e,r,n){if(t&&t.reject(n),e.body!=null&&ih(e.body?.stream)&&e.body.stream.cancel(n).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i}),r==null)return;let s=r[t_];s.body!=null&&ih(s.body?.stream)&&s.body.stream.cancel(n).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i})}o(NQ,"abortFetch");function o_({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:s,processResponseConsumeBody:i,useParallelQueue:a=!1,dispatcher:c=lre()}){ea(c);let l=null,A=!1;t.client!=null&&(l=t.client.globalObject,A=t.client.crossOriginIsolatedCapability);let u=ru(A),d=PQ({startTime:u}),m={controller:new oh(c),request:t,timingInfo:d,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:i,processResponseEndOfBody:s,taskDestination:l,crossOriginIsolatedCapability:A};return ea(!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=Nte(t.client.policyContainer):t.policyContainer=wte()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,Zte.has(t.destination),a_(m).catch(p=>{m.controller.terminate(p)}),m.controller}o(o_,"fetching");async function a_(t,e=!1){let r=t.request,n=null;if(r.localURLsOnly&&!zte(As(r))&&(n=we("local URLs only")),kte(r),Ste(r)==="blocked"&&(n=we("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=Fte(r)),n===null&&(n=await(async()=>{let i=As(r);return RQ(i,r.url)&&r.responseTainting==="basic"||i.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await e_(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 e_(t)):vQ(As(r))?(r.responseTainting="cors",await c_(t)):we("URL scheme must be a HTTP(S) scheme")})()),e)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=bQ(n,"basic"):r.responseTainting==="cors"?n=bQ(n,"cors"):r.responseTainting==="opaque"?n=bQ(n,"opaque"):ea(!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"||n_.includes(s.status))&&(s.body=null,t.controller.dump=!0),r.integrity){let i=o(c=>SQ(t,we(c)),"processBodyError");if(r.responseTainting==="opaque"||n.body==null){i(n.error);return}let a=o(c=>{if(!bte(c,r.integrity)){i("integrity mismatch");return}n.body=DQ(c)[0],SQ(t,n)},"processBody");await qte(n.body,a,i)}else SQ(t,n)}o(a_,"mainFetch");function e_(t){if(Zo(t)&&t.request.redirectCount===0)return Promise.resolve(rh(t));let{request:e}=t,{protocol:r}=As(e);switch(r){case"about:":return Promise.resolve(we("about scheme is not supported"));case"blob:":{wQ||(wQ=require("node:buffer").resolveObjectURL);let n=As(e);if(n.search.length!==0)return Promise.resolve(we("NetworkError when attempting to fetch resource."));let s=wQ(n.toString());if(e.method!=="GET"||!Ute(s))return Promise.resolve(we("invalid method"));let i=nh(),a=s.size,c=sh(`${a}`),l=s.type;if(e.headersList.contains("range",!0)){i.rangeRequested=!0;let A=e.headersList.get("range",!0),u=Vte(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=X2(p);i.body=h[0];let g=sh(`${p.size}`),C=Jte(d,m,a);i.status=206,i.statusText="Partial Content",i.headersList.set("content-length",g,!0),i.headersList.set("content-type",l,!0),i.headersList.set("content-range",C,!0)}else{let A=X2(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=As(e),s=ore(n);if(s==="failure")return Promise.resolve(we("failed to fetch the data URL"));let i=are(s.mimeType);return Promise.resolve(nh({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:i}]],body:DQ(s.body)[0]}))}case"file:":return Promise.resolve(we("not implemented... yet..."));case"http:":case"https:":return c_(t).catch(n=>we(n));default:return Promise.resolve(we("unknown scheme"))}}o(e_,"schemeFetch");function fre(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}o(fre,"finalizeResponse");function SQ(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=PQ(r),c="");let A=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){A=e.status;let u=$te(e.headersList);u!=="failure"&&(l.contentType=cre(u))}t.request.initiatorType!=null&&i_(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():nre(s.body.stream,()=>{n()})}o(SQ,"fetchFinale");async function c_(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 l_(t),e.responseTainting==="cors"&&Mte(e,r)==="failure")return we("cors failure");Rte(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&Lte(e.origin,e.client,e.destination,n)==="blocked"?we("blocked"):(r_.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 gre(t,r):ea(!1)),r.timingInfo=s,r)}o(c_,"httpFetch");function gre(t,e){let r=t.request,n=e.internalResponse?e.internalResponse:e,s;try{if(s=vte(n,As(r).hash),s==null)return e}catch(a){return Promise.resolve(we(a))}if(!vQ(s))return Promise.resolve(we("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(we("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(s.username||s.password)&&!RQ(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&&!dre.includes(r.method)){r.method="GET",r.body=null;for(let a of Xte)r.headersList.delete(a)}RQ(As(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&&(ea(r.body.source!=null),r.body=DQ(r.body.source)[0]);let i=t.timingInfo;return i.redirectEndTime=i.postRedirectStartTime=ru(t.crossOriginIsolatedCapability),i.redirectStartTime===0&&(i.redirectStartTime=i.startTime),r.urlList.push(s),Dte(r,n),a_(t,!0)}o(gre,"httpRedirectFetch");async function l_(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=xte(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=sh(`${u}`)),d!=null&&i.headersList.append("content-length",d,!0),u!=null&&i.keepalive,i.referrer instanceof URL&&i.headersList.append("referer",sh(i.referrer.href),!0),Pte(i),Tte(i),i.headersList.contains("user-agent",!0)||i.headersList.append("user-agent",mre),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)||(Gte(As(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 yre(s,A,r);!Kte.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():Zo(t)?rh(t):we("proxy authentication required");if(a.status===421&&!r&&(n.body==null||n.body.source!=null)){if(Zo(t))return rh(t);t.controller.connection.destroy(),a=await l_(t,e,!0)}return a}o(l_,"httpNetworkOrCacheFetch");async function yre(t,e=!1,r=!1){ea(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(h,g=!0){this.destroyed||(this.destroyed=!0,g&&this.abort?.(h??new DOMException("The operation was aborted.","AbortError")))}};let 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){Zo(t)||(yield y,t.processRequestBodyChunkLength?.(y.byteLength))},"processBodyChunk"),g=o(()=>{Zo(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},"processEndOfBody"),C=o(y=>{Zo(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);g()}catch(y){C(y)}})()}try{let{body:h,status:g,statusText:C,headersList:y,socket:E}=await p({body:l});if(E)s=nh({status:g,statusText:C,headersList:y,socket:E});else{let I=h[Symbol.asyncIterator]();t.controller.next=()=>I.next(),s=nh({status:g,statusText:C,headersList:y})}}catch(h){return h.name==="AbortError"?(t.controller.connection.destroy(),rh(t,h)):we(h)}let A=o(async()=>{await t.controller.resume()},"pullAlgorithm"),u=o(h=>{Zo(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,g;try{let{done:y,value:E}=await t.controller.next();if(K2(t))break;h=y?void 0:E}catch(y){t.controller.ended&&!i.encodedBodySize?h=void 0:(h=y,g=!0)}if(h===void 0){Hte(t.controller.controller),fre(t,s);return}if(i.decodedBodySize+=h?.byteLength??0,g){t.controller.terminate(h);return}let C=new Uint8Array(h);if(C.byteLength&&t.controller.controller.enqueue(C),ire(d)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function m(h){K2(t)?(s.aborted=!0,ih(d)&&t.controller.controller.error(t.controller.serializedAbortReason)):ih(d)&&t.controller.controller.error(new TypeError("terminated",{cause:Ote(h)?h:void 0})),t.controller.connection.destroy()}return o(m,"onAborted"),s;function p({body:h}){let g=As(n),C=t.controller.dispatcher;return new Promise((y,E)=>C.dispatch({path:g.pathname+g.search,origin:g.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=Yte(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=ru(t.crossOriginIsolatedCapability)},onResponseStarted(){i.finalNetworkResponseStartTime=ru(t.crossOriginIsolatedCapability)},onHeaders(I,B,N,k){if(I<200)return;let _="",ce=new j2;for(let te=0;te<B.length;te+=2)ce.append(Z2(B[te]),B[te+1].toString("latin1"),!0);_=ce.get("location",!0),this.body=new tre({read:N});let Ee=[],xe=_&&n.redirect==="follow"&&r_.has(I);if(n.method!=="HEAD"&&n.method!=="CONNECT"&&!n_.includes(I)&&!xe){let te=ce.get("content-encoding",!0),U=te?te.toLowerCase().split(","):[],me=5;if(U.length>me)return E(new Error(`too many content-encodings in response: ${U.length}, maximum allowed is ${me}`)),!0;for(let ut=U.length-1;ut>=0;--ut){let ze=U[ut].trim();if(ze==="x-gzip"||ze==="gzip")Ee.push(to.createGunzip({flush:to.constants.Z_SYNC_FLUSH,finishFlush:to.constants.Z_SYNC_FLUSH}));else if(ze==="deflate")Ee.push(Wte({flush:to.constants.Z_SYNC_FLUSH,finishFlush:to.constants.Z_SYNC_FLUSH}));else if(ze==="br")Ee.push(to.createBrotliDecompress({flush:to.constants.BROTLI_OPERATION_FLUSH,finishFlush:to.constants.BROTLI_OPERATION_FLUSH}));else{Ee.length=0;break}}}let z=this.onError.bind(this);return y({status:I,statusText:k,headersList:ce,body:Ee.length?rre(this.body,...Ee,te=>{te&&this.onError(te)}).on("error",z):this.body.on("error",z)}),!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 j2;for(let _=0;_<B.length;_+=2)k.append(Z2(B[_]),B[_+1].toString("latin1"),!0);return y({status:I,statusText:ure[I],headersList:k,socket:N}),!0}}))}o(p,"dispatch")}o(yre,"httpNetworkFetch");A_.exports={fetch:hre,Fetch:oh,fetching:o_,finalizeAndReportTiming:s_}});var kQ=f((NSe,u_)=>{"use strict";u_.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 m_=f((SSe,d_)=>{"use strict";var{webidl:Lr}=Dt(),ah=Symbol("ProgressEvent state"),TQ=class t extends Event{static{o(this,"ProgressEvent")}constructor(e,r={}){e=Lr.converters.DOMString(e,"ProgressEvent constructor","type"),r=Lr.converters.ProgressEventInit(r??{}),super(e,r),this[ah]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return Lr.brandCheck(this,t),this[ah].lengthComputable}get loaded(){return Lr.brandCheck(this,t),this[ah].loaded}get total(){return Lr.brandCheck(this,t),this[ah].total}};Lr.converters.ProgressEventInit=Lr.dictionaryConverter([{key:"lengthComputable",converter:Lr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"loaded",converter:Lr.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"total",converter:Lr.converters["unsigned long long"],defaultValue:o(()=>0,"defaultValue")},{key:"bubbles",converter:Lr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:Lr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:Lr.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}]);d_.exports={ProgressEvent:TQ}});var h_=f((PSe,p_)=>{"use strict";function Ere(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(Ere,"getEncoding");p_.exports={getEncoding:Ere}});var Q_=f((DSe,B_)=>{"use strict";var{kState:_c,kError:MQ,kResult:f_,kAborted:su,kLastProgressEventFired:LQ}=kQ(),{ProgressEvent:Cre}=m_(),{getEncoding:g_}=h_(),{serializeAMimeType:Ire,parseMIMEType:y_}=ar(),{types:Bre}=require("node:util"),{StringDecoder:E_}=require("string_decoder"),{btoa:C_}=require("node:buffer"),Qre={enumerable:!0,writable:!1,configurable:!1};function xre(t,e,r,n){if(t[_c]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[_c]="loading",t[f_]=null,t[MQ]=null;let i=e.stream().getReader(),a=[],c=i.read(),l=!0;(async()=>{for(;!t[su];)try{let{done:A,value:u}=await c;if(l&&!t[su]&&queueMicrotask(()=>{ro("loadstart",t)}),l=!1,!A&&Bre.isUint8Array(u))a.push(u),(t[LQ]===void 0||Date.now()-t[LQ]>=50)&&!t[su]&&(t[LQ]=Date.now(),queueMicrotask(()=>{ro("progress",t)})),c=i.read();else if(A){queueMicrotask(()=>{t[_c]="done";try{let d=bre(a,r,e.type,n);if(t[su])return;t[f_]=d,ro("load",t)}catch(d){t[MQ]=d,ro("error",t)}t[_c]!=="loading"&&ro("loadend",t)});break}}catch(A){if(t[su])return;queueMicrotask(()=>{t[_c]="done",t[MQ]=A,ro("error",t),t[_c]!=="loading"&&ro("loadend",t)});break}})()}o(xre,"readOperation");function ro(t,e){let r=new Cre(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}o(ro,"fireAProgressEvent");function bre(t,e,r,n){switch(e){case"DataURL":{let s="data:",i=y_(r||"application/octet-stream");i!=="failure"&&(s+=Ire(i)),s+=";base64,";let a=new E_("latin1");for(let c of t)s+=C_(a.write(c));return s+=C_(a.end()),s}case"Text":{let s="failure";if(n&&(s=g_(n)),s==="failure"&&r){let i=y_(r);i!=="failure"&&(s=g_(i.parameters.get("charset")))}return s==="failure"&&(s="UTF-8"),wre(t,s)}case"ArrayBuffer":return I_(t).buffer;case"BinaryString":{let s="",i=new E_("latin1");for(let a of t)s+=i.write(a);return s+=i.end(),s}}}o(bre,"packageData");function wre(t,e){let r=I_(t),n=Nre(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(wre,"decode");function Nre(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(Nre,"BOMSniffing");function I_(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(I_,"combineByteSequences");B_.exports={staticPropertyDescriptors:Qre,readOperation:xre,fireAProgressEvent:ro}});var N_=f((TSe,w_)=>{"use strict";var{staticPropertyDescriptors:Uc,readOperation:ch,fireAProgressEvent:x_}=Q_(),{kState:ta,kError:b_,kResult:lh,kEvents:Ie,kAborted:Sre}=kQ(),{webidl:Ne}=Dt(),{kEnumerableProperty:Ar}=le(),_n=class t extends EventTarget{static{o(this,"FileReader")}constructor(){super(),this[ta]="empty",this[lh]=null,this[b_]=null,this[Ie]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){Ne.brandCheck(this,t),Ne.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=Ne.converters.Blob(e,{strict:!1}),ch(this,e,"ArrayBuffer")}readAsBinaryString(e){Ne.brandCheck(this,t),Ne.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=Ne.converters.Blob(e,{strict:!1}),ch(this,e,"BinaryString")}readAsText(e,r=void 0){Ne.brandCheck(this,t),Ne.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=Ne.converters.Blob(e,{strict:!1}),r!==void 0&&(r=Ne.converters.DOMString(r,"FileReader.readAsText","encoding")),ch(this,e,"Text",r)}readAsDataURL(e){Ne.brandCheck(this,t),Ne.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=Ne.converters.Blob(e,{strict:!1}),ch(this,e,"DataURL")}abort(){if(this[ta]==="empty"||this[ta]==="done"){this[lh]=null;return}this[ta]==="loading"&&(this[ta]="done",this[lh]=null),this[Sre]=!0,x_("abort",this),this[ta]!=="loading"&&x_("loadend",this)}get readyState(){switch(Ne.brandCheck(this,t),this[ta]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return Ne.brandCheck(this,t),this[lh]}get error(){return Ne.brandCheck(this,t),this[b_]}get onloadend(){return Ne.brandCheck(this,t),this[Ie].loadend}set onloadend(e){Ne.brandCheck(this,t),this[Ie].loadend&&this.removeEventListener("loadend",this[Ie].loadend),typeof e=="function"?(this[Ie].loadend=e,this.addEventListener("loadend",e)):this[Ie].loadend=null}get onerror(){return Ne.brandCheck(this,t),this[Ie].error}set onerror(e){Ne.brandCheck(this,t),this[Ie].error&&this.removeEventListener("error",this[Ie].error),typeof e=="function"?(this[Ie].error=e,this.addEventListener("error",e)):this[Ie].error=null}get onloadstart(){return Ne.brandCheck(this,t),this[Ie].loadstart}set onloadstart(e){Ne.brandCheck(this,t),this[Ie].loadstart&&this.removeEventListener("loadstart",this[Ie].loadstart),typeof e=="function"?(this[Ie].loadstart=e,this.addEventListener("loadstart",e)):this[Ie].loadstart=null}get onprogress(){return Ne.brandCheck(this,t),this[Ie].progress}set onprogress(e){Ne.brandCheck(this,t),this[Ie].progress&&this.removeEventListener("progress",this[Ie].progress),typeof e=="function"?(this[Ie].progress=e,this.addEventListener("progress",e)):this[Ie].progress=null}get onload(){return Ne.brandCheck(this,t),this[Ie].load}set onload(e){Ne.brandCheck(this,t),this[Ie].load&&this.removeEventListener("load",this[Ie].load),typeof e=="function"?(this[Ie].load=e,this.addEventListener("load",e)):this[Ie].load=null}get onabort(){return Ne.brandCheck(this,t),this[Ie].abort}set onabort(e){Ne.brandCheck(this,t),this[Ie].abort&&this.removeEventListener("abort",this[Ie].abort),typeof e=="function"?(this[Ie].abort=e,this.addEventListener("abort",e)):this[Ie].abort=null}};_n.EMPTY=_n.prototype.EMPTY=0;_n.LOADING=_n.prototype.LOADING=1;_n.DONE=_n.prototype.DONE=2;Object.defineProperties(_n.prototype,{EMPTY:Uc,LOADING:Uc,DONE:Uc,readAsArrayBuffer:Ar,readAsBinaryString:Ar,readAsText:Ar,readAsDataURL:Ar,abort:Ar,readyState:Ar,result:Ar,error:Ar,onloadstart:Ar,onprogress:Ar,onload:Ar,onabort:Ar,onerror:Ar,onloadend:Ar,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(_n,{EMPTY:Uc,LOADING:Uc,DONE:Uc});w_.exports={FileReader:_n}});var Ah=f((LSe,S_)=>{"use strict";S_.exports={kConstruct:Fe().kConstruct}});var v_=f((FSe,P_)=>{"use strict";var Rre=require("node:assert"),{URLSerializer:R_}=ar(),{isValidHeaderName:Pre}=Rr();function vre(t,e,r=!1){let n=R_(t,r),s=R_(e,r);return n===s}o(vre,"urlEquals");function Dre(t){Rre(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),Pre(r)&&e.push(r);return e}o(Dre,"getFieldValues");P_.exports={urlEquals:vre,getFieldValues:Dre}});var T_=f((USe,k_)=>{"use strict";var{kConstruct:kre}=Ah(),{urlEquals:Tre,getFieldValues:FQ}=v_(),{kEnumerableProperty:ra,isDisturbed:Mre}=le(),{webidl:Y}=Dt(),{Response:Lre,cloneResponse:Fre,fromInnerResponse:_re}=tu(),{Request:mi,fromInnerRequest:Ure}=Fc(),{kState:Un}=Hi(),{fetching:Ore}=nu(),{urlIsHttpHttpsScheme:uh,createDeferredPromise:Oc,readAllBytes:qre}=Rr(),_Q=require("node:assert"),dh=class t{static{o(this,"Cache")}#e;constructor(){arguments[0]!==kre&&Y.illegalConstructor(),Y.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,r={}){Y.brandCheck(this,t);let n="Cache.match";Y.argumentLengthCheck(arguments,1,n),e=Y.converters.RequestInfo(e,n,"request"),r=Y.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={}){Y.brandCheck(this,t);let n="Cache.matchAll";return e!==void 0&&(e=Y.converters.RequestInfo(e,n,"request")),r=Y.converters.CacheQueryOptions(r,n,"options"),this.#s(e,r)}async add(e){Y.brandCheck(this,t);let r="Cache.add";Y.argumentLengthCheck(arguments,1,r),e=Y.converters.RequestInfo(e,r,"request");let n=[e];return await this.addAll(n)}async addAll(e){Y.brandCheck(this,t);let r="Cache.addAll";Y.argumentLengthCheck(arguments,1,r);let n=[],s=[];for(let m of e){if(m===void 0)throw Y.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(m=Y.converters.RequestInfo(m),typeof m=="string")continue;let p=m[Un];if(!uh(p.url)||p.method!=="GET")throw Y.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let i=[];for(let m of e){let p=new mi(m)[Un];if(!uh(p.url))throw Y.errors.exception({header:r,message:"Expected http/s scheme."});p.initiator="fetch",p.destination="subresource",s.push(p);let h=Oc();i.push(Ore({request:p,processResponse(g){if(g.type==="error"||g.status===206||g.status<200||g.status>299)h.reject(Y.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(g.headersList.contains("vary")){let C=FQ(g.headersList.get("vary"));for(let y of C)if(y==="*"){h.reject(Y.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let E of i)E.abort();return}}},processResponseEndOfBody(g){if(g.aborted){h.reject(new DOMException("aborted","AbortError"));return}h.resolve(g)}})),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=Oc(),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){Y.brandCheck(this,t);let n="Cache.put";Y.argumentLengthCheck(arguments,2,n),e=Y.converters.RequestInfo(e,n,"request"),r=Y.converters.Response(r,n,"response");let s=null;if(e instanceof mi?s=e[Un]:s=new mi(e)[Un],!uh(s.url)||s.method!=="GET")throw Y.errors.exception({header:n,message:"Expected an http/s scheme when method is not GET"});let i=r[Un];if(i.status===206)throw Y.errors.exception({header:n,message:"Got 206 status"});if(i.headersList.contains("vary")){let p=FQ(i.headersList.get("vary"));for(let h of p)if(h==="*")throw Y.errors.exception({header:n,message:"Got * vary field value"})}if(i.body&&(Mre(i.body.stream)||i.body.stream.locked))throw Y.errors.exception({header:n,message:"Response body is locked or disturbed"});let a=Fre(i),c=Oc();if(i.body!=null){let h=i.body.stream.getReader();qre(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=Oc(),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={}){Y.brandCheck(this,t);let n="Cache.delete";Y.argumentLengthCheck(arguments,1,n),e=Y.converters.RequestInfo(e,n,"request"),r=Y.converters.CacheQueryOptions(r,n,"options");let s=null;if(e instanceof mi){if(s=e[Un],s.method!=="GET"&&!r.ignoreMethod)return!1}else _Q(typeof e=="string"),s=new mi(e)[Un];let i=[],a={type:"delete",request:s,options:r};i.push(a);let c=Oc(),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={}){Y.brandCheck(this,t);let n="Cache.keys";e!==void 0&&(e=Y.converters.RequestInfo(e,n,"request")),r=Y.converters.CacheQueryOptions(r,n,"options");let s=null;if(e!==void 0)if(e instanceof mi){if(s=e[Un],s.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(s=new mi(e)[Un]);let i=Oc(),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=Ure(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 Y.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(a.type==="delete"&&a.response!=null)throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#r(a.request,a.options,s).length)throw new DOMException("???","InvalidStateError");let c;if(a.type==="delete"){if(c=this.#r(a.request,a.options),c.length===0)return[];for(let l of c){let A=r.indexOf(l);_Q(A!==-1),r.splice(A,1)}}else if(a.type==="put"){if(a.response==null)throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let l=a.request;if(!uh(l.url))throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(l.method!=="GET")throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(a.options!=null)throw Y.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});c=this.#r(a.request);for(let A of c){let u=r.indexOf(A);_Q(u!==-1),r.splice(u,1)}r.push([a.request,a.response]),s.push([a.request,a.response])}i.push([a.request,a.response])}return i}catch(a){throw this.#e.length=0,this.#e=n,a}}#r(e,r,n){let s=[],i=n??this.#e;for(let a of i){let[c,l]=a;this.#i(e,c,l,r)&&s.push(a)}return s}#i(e,r,n=null,s){let i=new URL(e.url),a=new URL(r.url);if(s?.ignoreSearch&&(a.search="",i.search=""),!Tre(i,a,!0))return!1;if(n==null||s?.ignoreVary||!n.headersList.contains("vary"))return!0;let c=FQ(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 mi){if(s=e[Un],s.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(s=new mi(e)[Un]);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=_re(c,"immutable");if(a.push(l.clone()),a.length>=n)break}return Object.freeze(a)}};Object.defineProperties(dh.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:ra,matchAll:ra,add:ra,addAll:ra,put:ra,delete:ra,keys:ra});var D_=[{key:"ignoreSearch",converter:Y.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreMethod",converter:Y.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"ignoreVary",converter:Y.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];Y.converters.CacheQueryOptions=Y.dictionaryConverter(D_);Y.converters.MultiCacheQueryOptions=Y.dictionaryConverter([...D_,{key:"cacheName",converter:Y.converters.DOMString}]);Y.converters.Response=Y.interfaceConverter(Lre);Y.converters["sequence<RequestInfo>"]=Y.sequenceConverter(Y.converters.RequestInfo);k_.exports={Cache:dh}});var L_=f((qSe,M_)=>{"use strict";var{kConstruct:iu}=Ah(),{Cache:mh}=T_(),{webidl:_t}=Dt(),{kEnumerableProperty:ou}=le(),ph=class t{static{o(this,"CacheStorage")}#e=new Map;constructor(){arguments[0]!==iu&&_t.illegalConstructor(),_t.util.markAsUncloneable(this)}async match(e,r={}){if(_t.brandCheck(this,t),_t.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=_t.converters.RequestInfo(e),r=_t.converters.MultiCacheQueryOptions(r),r.cacheName!=null){if(this.#e.has(r.cacheName)){let n=this.#e.get(r.cacheName);return await new mh(iu,n).match(e,r)}}else for(let n of this.#e.values()){let i=await new mh(iu,n).match(e,r);if(i!==void 0)return i}}async has(e){_t.brandCheck(this,t);let r="CacheStorage.has";return _t.argumentLengthCheck(arguments,1,r),e=_t.converters.DOMString(e,r,"cacheName"),this.#e.has(e)}async open(e){_t.brandCheck(this,t);let r="CacheStorage.open";if(_t.argumentLengthCheck(arguments,1,r),e=_t.converters.DOMString(e,r,"cacheName"),this.#e.has(e)){let s=this.#e.get(e);return new mh(iu,s)}let n=[];return this.#e.set(e,n),new mh(iu,n)}async delete(e){_t.brandCheck(this,t);let r="CacheStorage.delete";return _t.argumentLengthCheck(arguments,1,r),e=_t.converters.DOMString(e,r,"cacheName"),this.#e.delete(e)}async keys(){return _t.brandCheck(this,t),[...this.#e.keys()]}};Object.defineProperties(ph.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:ou,has:ou,open:ou,delete:ou,keys:ou});M_.exports={CacheStorage:ph}});var __=f((zSe,F_)=>{"use strict";F_.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var UQ=f((GSe,z_)=>{"use strict";function Hre(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(Hre,"isCTLExcludingHtab");function U_(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(U_,"validateCookieName");function O_(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(O_,"validateCookieValue");function q_(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r<32||r===127||r===59)throw new Error("Invalid cookie path")}}o(q_,"validateCookiePath");function zre(t){if(t.startsWith("-")||t.endsWith(".")||t.endsWith("-"))throw new Error("Invalid cookie domain")}o(zre,"validateCookieDomain");var Gre=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Yre=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],hh=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function H_(t){return typeof t=="number"&&(t=new Date(t)),`${Gre[t.getUTCDay()]}, ${hh[t.getUTCDate()]} ${Yre[t.getUTCMonth()]} ${t.getUTCFullYear()} ${hh[t.getUTCHours()]}:${hh[t.getUTCMinutes()]}:${hh[t.getUTCSeconds()]} GMT`}o(H_,"toIMFDate");function Vre(t){if(t<0)throw new Error("Invalid cookie max-age")}o(Vre,"validateCookieMaxAge");function Jre(t){if(t.name.length===0)return null;U_(t.name),O_(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"&&(Vre(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(zre(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(q_(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${H_(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("=");e.push(`${n.trim()}=${s.join("=")}`)}return e.join("; ")}o(Jre,"stringify");z_.exports={isCTLExcludingHtab:Hre,validateCookieName:U_,validateCookiePath:q_,validateCookieValue:O_,toIMFDate:H_,stringify:Jre}});var Y_=f((VSe,G_)=>{"use strict";var{maxNameValuePairSize:Wre,maxAttributeValueSize:$re}=__(),{isCTLExcludingHtab:jre}=UQ(),{collectASequenceOfCodePointsFast:fh}=ar(),Kre=require("node:assert");function Xre(t){if(jre(t))return null;let e="",r="",n="",s="";if(t.includes(";")){let i={position:0};e=fh(";",t,i),r=t.slice(i.position)}else e=t;if(!e.includes("="))s=e;else{let i={position:0};n=fh("=",e,i),s=e.slice(i.position+1)}return n=n.trim(),s=s.trim(),n.length+s.length>Wre?null:{name:n,value:s,...qc(r)}}o(Xre,"parseSetCookie");function qc(t,e={}){if(t.length===0)return e;Kre(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=fh(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",s="";if(r.includes("=")){let a={position:0};n=fh("=",r,a),s=r.slice(a.position+1)}else n=r;if(n=n.trim(),s=s.trim(),s.length>$re)return qc(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 qc(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="Default",c=s.toLowerCase();c.includes("none")&&(a="None"),c.includes("strict")&&(a="Strict"),c.includes("lax")&&(a="Lax"),e.sameSite=a}else e.unparsed??=[],e.unparsed.push(`${n}=${s}`);return qc(t,e)}o(qc,"parseUnparsedAttributes");G_.exports={parseSetCookie:Xre,parseUnparsedAttributes:qc}});var W_=f((WSe,J_)=>{"use strict";var{parseSetCookie:Zre}=Y_(),{stringify:ene}=UQ(),{webidl:de}=Dt(),{Headers:gh}=Ko();function tne(t){de.argumentLengthCheck(arguments,1,"getCookies"),de.brandCheck(t,gh,{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(tne,"getCookies");function rne(t,e,r){de.brandCheck(t,gh,{strict:!1});let n="deleteCookie";de.argumentLengthCheck(arguments,2,n),e=de.converters.DOMString(e,n,"name"),r=de.converters.DeleteCookieAttributes(r),V_(t,{name:e,value:"",expires:new Date(0),...r})}o(rne,"deleteCookie");function nne(t){de.argumentLengthCheck(arguments,1,"getSetCookies"),de.brandCheck(t,gh,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>Zre(r)):[]}o(nne,"getSetCookies");function V_(t,e){de.argumentLengthCheck(arguments,2,"setCookie"),de.brandCheck(t,gh,{strict:!1}),e=de.converters.Cookie(e);let r=ene(e);r&&t.append("Set-Cookie",r)}o(V_,"setCookie");de.converters.DeleteCookieAttributes=de.dictionaryConverter([{converter:de.nullableConverter(de.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:de.nullableConverter(de.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")}]);de.converters.Cookie=de.dictionaryConverter([{converter:de.converters.DOMString,key:"name"},{converter:de.converters.DOMString,key:"value"},{converter:de.nullableConverter(t=>typeof t=="number"?de.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:o(()=>null,"defaultValue")},{converter:de.nullableConverter(de.converters["long long"]),key:"maxAge",defaultValue:o(()=>null,"defaultValue")},{converter:de.nullableConverter(de.converters.DOMString),key:"domain",defaultValue:o(()=>null,"defaultValue")},{converter:de.nullableConverter(de.converters.DOMString),key:"path",defaultValue:o(()=>null,"defaultValue")},{converter:de.nullableConverter(de.converters.boolean),key:"secure",defaultValue:o(()=>null,"defaultValue")},{converter:de.nullableConverter(de.converters.boolean),key:"httpOnly",defaultValue:o(()=>null,"defaultValue")},{converter:de.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:de.sequenceConverter(de.converters.DOMString),key:"unparsed",defaultValue:o(()=>new Array(0),"defaultValue")}]);J_.exports={getCookies:tne,deleteCookie:rne,getSetCookies:nne,setCookie:V_}});var zc=f((jSe,j_)=>{"use strict";var{webidl:G}=Dt(),{kEnumerableProperty:ur}=le(),{kConstruct:$_}=Fe(),{MessagePort:sne}=require("node:worker_threads"),Hc=class t extends Event{static{o(this,"MessageEvent")}#e;constructor(e,r={}){if(e===$_){super(arguments[1],arguments[2]),G.util.markAsUncloneable(this);return}let n="MessageEvent constructor";G.argumentLengthCheck(arguments,1,n),e=G.converters.DOMString(e,n,"type"),r=G.converters.MessageEventInit(r,n,"eventInitDict"),super(e,r),this.#e=r,G.util.markAsUncloneable(this)}get data(){return G.brandCheck(this,t),this.#e.data}get origin(){return G.brandCheck(this,t),this.#e.origin}get lastEventId(){return G.brandCheck(this,t),this.#e.lastEventId}get source(){return G.brandCheck(this,t),this.#e.source}get ports(){return G.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 G.brandCheck(this,t),G.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($_,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:ine}=Hc;delete Hc.createFastMessageEvent;var yh=class t extends Event{static{o(this,"CloseEvent")}#e;constructor(e,r={}){let n="CloseEvent constructor";G.argumentLengthCheck(arguments,1,n),e=G.converters.DOMString(e,n,"type"),r=G.converters.CloseEventInit(r),super(e,r),this.#e=r,G.util.markAsUncloneable(this)}get wasClean(){return G.brandCheck(this,t),this.#e.wasClean}get code(){return G.brandCheck(this,t),this.#e.code}get reason(){return G.brandCheck(this,t),this.#e.reason}},Eh=class t extends Event{static{o(this,"ErrorEvent")}#e;constructor(e,r){let n="ErrorEvent constructor";G.argumentLengthCheck(arguments,1,n),super(e,r),G.util.markAsUncloneable(this),e=G.converters.DOMString(e,n,"type"),r=G.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return G.brandCheck(this,t),this.#e.message}get filename(){return G.brandCheck(this,t),this.#e.filename}get lineno(){return G.brandCheck(this,t),this.#e.lineno}get colno(){return G.brandCheck(this,t),this.#e.colno}get error(){return G.brandCheck(this,t),this.#e.error}};Object.defineProperties(Hc.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:ur,origin:ur,lastEventId:ur,source:ur,ports:ur,initMessageEvent:ur});Object.defineProperties(yh.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:ur,code:ur,wasClean:ur});Object.defineProperties(Eh.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:ur,filename:ur,lineno:ur,colno:ur,error:ur});G.converters.MessagePort=G.interfaceConverter(sne);G.converters["sequence<MessagePort>"]=G.sequenceConverter(G.converters.MessagePort);var OQ=[{key:"bubbles",converter:G.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"cancelable",converter:G.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"composed",converter:G.converters.boolean,defaultValue:o(()=>!1,"defaultValue")}];G.converters.MessageEventInit=G.dictionaryConverter([...OQ,{key:"data",converter:G.converters.any,defaultValue:o(()=>null,"defaultValue")},{key:"origin",converter:G.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lastEventId",converter:G.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"source",converter:G.nullableConverter(G.converters.MessagePort),defaultValue:o(()=>null,"defaultValue")},{key:"ports",converter:G.converters["sequence<MessagePort>"],defaultValue:o(()=>new Array(0),"defaultValue")}]);G.converters.CloseEventInit=G.dictionaryConverter([...OQ,{key:"wasClean",converter:G.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"code",converter:G.converters["unsigned short"],defaultValue:o(()=>0,"defaultValue")},{key:"reason",converter:G.converters.USVString,defaultValue:o(()=>"","defaultValue")}]);G.converters.ErrorEventInit=G.dictionaryConverter([...OQ,{key:"message",converter:G.converters.DOMString,defaultValue:o(()=>"","defaultValue")},{key:"filename",converter:G.converters.USVString,defaultValue:o(()=>"","defaultValue")},{key:"lineno",converter:G.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"colno",converter:G.converters["unsigned long"],defaultValue:o(()=>0,"defaultValue")},{key:"error",converter:G.converters.any}]);j_.exports={MessageEvent:Hc,CloseEvent:yh,ErrorEvent:Eh,createFastMessageEvent:ine}});var na=f((XSe,K_)=>{"use strict";var one="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",ane={enumerable:!0,writable:!1,configurable:!1},cne={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},lne={NOT_SENT:0,PROCESSING:1,SENT:2},Ane={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},une=2**16-1,dne={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},mne=Buffer.allocUnsafe(0),pne={string:1,typedArray:2,arrayBuffer:3,blob:4};K_.exports={uid:one,sentCloseFrameState:lne,staticPropertyDescriptors:ane,states:cne,opcodes:Ane,maxUnsigned16Bit:une,parserStates:dne,emptyBuffer:mne,sendHints:pne}});var au=f((ZSe,X_)=>{"use strict";X_.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 Au=f((eRe,aU)=>{"use strict";var{kReadyState:cu,kController:hne,kResponse:fne,kBinaryType:gne,kWebSocketURL:yne}=au(),{states:lu,opcodes:no}=na(),{ErrorEvent:Ene,createFastMessageEvent:Cne}=zc(),{isUtf8:Ine}=require("node:buffer"),{collectASequenceOfCodePointsFast:Bne,removeHTTPWhitespace:Z_}=ar();function Qne(t){return t[cu]===lu.CONNECTING}o(Qne,"isConnecting");function xne(t){return t[cu]===lu.OPEN}o(xne,"isEstablished");function bne(t){return t[cu]===lu.CLOSING}o(bne,"isClosing");function wne(t){return t[cu]===lu.CLOSED}o(wne,"isClosed");function qQ(t,e,r=(s,i)=>new Event(s,i),n={}){let s=r(t,n);e.dispatchEvent(s)}o(qQ,"fireEvent");function Nne(t,e,r){if(t[cu]!==lu.OPEN)return;let n;if(e===no.TEXT)try{n=oU(r)}catch{tU(t,"Received invalid UTF-8 in text frame.");return}else e===no.BINARY&&(t[gne]==="blob"?n=new Blob([r]):n=Sne(r));qQ("message",t,Cne,{origin:t[yne].origin,data:n})}o(Nne,"websocketMessageReceived");function Sne(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}o(Sne,"toArrayBuffer");function Rne(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(Rne,"isValidSubprotocol");function Pne(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}o(Pne,"isValidStatusCode");function tU(t,e){let{[hne]:r,[fne]:n}=t;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),e&&qQ("error",t,(s,i)=>new Ene(s,i),{error:new Error(e),message:e})}o(tU,"failWebsocketConnection");function rU(t){return t===no.CLOSE||t===no.PING||t===no.PONG}o(rU,"isControlFrame");function nU(t){return t===no.CONTINUATION}o(nU,"isContinuationFrame");function sU(t){return t===no.TEXT||t===no.BINARY}o(sU,"isTextBinaryFrame");function vne(t){return sU(t)||nU(t)||rU(t)}o(vne,"isValidOpcode");function Dne(t){let e={position:0},r=new Map;for(;e.position<t.length;){let n=Bne(";",t,e),[s,i=""]=n.split("=");r.set(Z_(s,!0,!1),Z_(i,!1,!0)),e.position++}return r}o(Dne,"parseExtensions");function kne(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(kne,"isValidClientWindowBits");var iU=typeof process.versions.icu=="string",eU=iU?new TextDecoder("utf-8",{fatal:!0}):void 0,oU=iU?eU.decode.bind(eU):function(t){if(Ine(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};aU.exports={isConnecting:Qne,isEstablished:xne,isClosing:bne,isClosed:wne,fireEvent:qQ,isValidSubprotocol:Rne,isValidStatusCode:Pne,failWebsocketConnection:tU,websocketMessageReceived:Nne,utf8Decode:oU,isControlFrame:rU,isContinuationFrame:nU,isTextBinaryFrame:sU,isValidOpcode:vne,parseExtensions:Dne,isValidClientWindowBits:kne}});var Ih=f((rRe,cU)=>{"use strict";var{maxUnsigned16Bit:Tne}=na(),Ch=16386,HQ,uu=null,Gc=Ch;try{HQ=require("node:crypto")}catch{HQ={randomFillSync:o(function(e,r,n){for(let s=0;s<e.length;++s)e[s]=Math.random()*255|0;return e},"randomFillSync")}}function Mne(){return Gc===Ch&&(Gc=0,HQ.randomFillSync(uu??=Buffer.allocUnsafe(Ch),0,Ch)),[uu[Gc++],uu[Gc++],uu[Gc++],uu[Gc++]]}o(Mne,"generateMask");var zQ=class{static{o(this,"WebsocketFrameSend")}constructor(e){this.frameData=e}createFrame(e){let r=this.frameData,n=Mne(),s=r?.byteLength??0,i=s,a=6;s>Tne?(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}};cU.exports={WebsocketFrameSend:zQ}});var YQ=f((sRe,hU)=>{"use strict";var{uid:Lne,states:du,sentCloseFrameState:Bh,emptyBuffer:Fne,opcodes:_ne}=na(),{kReadyState:mu,kSentClose:Qh,kByteParser:AU,kReceivedClose:lU,kResponse:uU}=au(),{fireEvent:Une,failWebsocketConnection:so,isClosing:One,isClosed:qne,isEstablished:Hne,parseExtensions:zne}=Au(),{channels:Yc}=rc(),{CloseEvent:Gne}=zc(),{makeRequest:Yne}=Fc(),{fetching:Vne}=nu(),{Headers:Jne,getHeadersList:Wne}=Ko(),{getDecodeSplit:$ne}=Rr(),{WebsocketFrameSend:jne}=Ih(),GQ;try{GQ=require("node:crypto")}catch{}function Kne(t,e,r,n,s,i){let a=t;a.protocol=t.protocol==="ws:"?"http:":"https:";let c=Yne({urlList:[a],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let d=Wne(new Jne(i.headers));c.headersList=d}let l=GQ.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"),Vne({request:c,useParallelQueue:!0,dispatcher:i.dispatcher,processResponse(d){if(d.type==="error"||d.status!==101){so(n,"Received network error or non-101 status code.");return}if(e.length!==0&&!d.headersList.get("Sec-WebSocket-Protocol")){so(n,"Server did not respond with sent protocols.");return}if(d.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){so(n,'Server did not set Upgrade header to "websocket".');return}if(d.headersList.get("Connection")?.toLowerCase()!=="upgrade"){so(n,'Server did not set Connection header to "upgrade".');return}let m=d.headersList.get("Sec-WebSocket-Accept"),p=GQ.createHash("sha1").update(l+Lne).digest("base64");if(m!==p){so(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let h=d.headersList.get("Sec-WebSocket-Extensions"),g;if(h!==null&&(g=zne(h),!g.has("permessage-deflate"))){so(n,"Sec-WebSocket-Extensions header does not match.");return}let C=d.headersList.get("Sec-WebSocket-Protocol");if(C!==null&&!$ne("sec-websocket-protocol",c.headersList).includes(C)){so(n,"Protocol was not set in the opening handshake.");return}d.socket.on("data",dU),d.socket.on("close",mU),d.socket.on("error",pU),Yc.open.hasSubscribers&&Yc.open.publish({address:d.socket.address(),protocol:C,extensions:h}),s(d,g)}})}o(Kne,"establishWebSocketConnection");function Xne(t,e,r,n){if(!(One(t)||qne(t)))if(!Hne(t))so(t,"Connection was closed before it was established."),t[mu]=du.CLOSING;else if(t[Qh]===Bh.NOT_SENT){t[Qh]=Bh.PROCESSING;let s=new jne;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=Fne,t[uU].socket.write(s.createFrame(_ne.CLOSE)),t[Qh]=Bh.SENT,t[mu]=du.CLOSING}else t[mu]=du.CLOSING}o(Xne,"closeWebSocketConnection");function dU(t){this.ws[AU].write(t)||this.pause()}o(dU,"onSocketData");function mU(){let{ws:t}=this,{[uU]:e}=t;e.socket.off("data",dU),e.socket.off("close",mU),e.socket.off("error",pU);let r=t[Qh]===Bh.SENT&&t[lU],n=1005,s="",i=t[AU].closingInfo;i&&!i.error?(n=i.code??1005,s=i.reason):t[lU]||(n=1006),t[mu]=du.CLOSED,Une("close",t,(a,c)=>new Gne(a,c),{wasClean:r,code:n,reason:s}),Yc.close.hasSubscribers&&Yc.close.publish({websocket:t,code:n,reason:s})}o(mU,"onSocketClose");function pU(t){let{ws:e}=this;e[mu]=du.CLOSING,Yc.socketError.hasSubscribers&&Yc.socketError.publish(t),this.destroy()}o(pU,"onSocketError");hU.exports={establishWebSocketConnection:Kne,closeWebSocketConnection:Xne}});var gU=f((oRe,fU)=>{"use strict";var{createInflateRaw:Zne,Z_DEFAULT_WINDOWBITS:ese}=require("node:zlib"),{isValidClientWindowBits:tse}=Au(),{MessageSizeExceededError:rse}=Ce(),nse=Buffer.from([0,0,255,255]),xh=Symbol("kBuffer"),pu=Symbol("kLength"),VQ=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=ese;if(this.#t.serverMaxWindowBits){if(!tse(this.#t.serverMaxWindowBits)){n(new Error("Invalid server_max_window_bits"));return}s=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=Zne({windowBits:s})}catch(i){n(i);return}this.#e[xh]=[],this.#e[pu]=0,this.#e.on("data",i=>{if(this.#e[pu]+=i.length,this.#r>0&&this.#e[pu]>this.#r){n(new rse),this.#e.removeAllListeners(),this.#e=null;return}this.#e[xh].push(i)}),this.#e.on("error",i=>{this.#e=null,n(i)})}this.#e.write(e),r&&this.#e.write(nse),this.#e.flush(()=>{if(!this.#e)return;let s=Buffer.concat(this.#e[xh],this.#e[pu]);this.#e[xh].length=0,this.#e[pu]=0,n(null,s)})}};fU.exports={PerMessageDeflate:VQ}});var NU=f((cRe,wU)=>{"use strict";var{Writable:sse}=require("node:stream"),ise=require("node:assert"),{parserStates:dr,opcodes:Vc,states:ose,emptyBuffer:yU,sentCloseFrameState:EU}=na(),{kReadyState:ase,kSentClose:CU,kResponse:IU,kReceivedClose:BU}=au(),{channels:bh}=rc(),{isValidStatusCode:cse,isValidOpcode:lse,failWebsocketConnection:Ut,websocketMessageReceived:QU,utf8Decode:Ase,isControlFrame:JQ,isTextBinaryFrame:WQ,isContinuationFrame:use}=Au(),{WebsocketFrameSend:xU}=Ih(),{closeWebSocketConnection:dse}=YQ(),{PerMessageDeflate:mse}=gU(),{MessageSizeExceededError:bU}=Ce(),$Q=class extends sse{static{o(this,"ByteParser")}#e=[];#t=0;#r=0;#i=!1;#s=dr.INFO;#n={};#o=[];#a;#c;constructor(e,r,n={}){super(),this.ws=e,this.#a=r??new Map,this.#c=n.maxPayloadSize??0,this.#a.has("permessage-deflate")&&this.#a.set("permessage-deflate",new mse(r,n))}_write(e,r,n){this.#e.push(e),this.#r+=e.length,this.#i=!0,this.run(n)}#l(){return this.#c>0&&!JQ(this.#n.opcode)&&this.#n.payloadLength>this.#c?(Ut(this.ws,"Payload size exceeds maximum allowed size"),!1):!0}run(e){for(;this.#i;)if(this.#s===dr.INFO){if(this.#r<2)return e();let r=this.consume(2),n=(r[0]&128)!==0,s=r[0]&15,i=(r[1]&128)===128,a=!n&&s!==Vc.CONTINUATION,c=r[1]&127,l=r[0]&64,A=r[0]&32,u=r[0]&16;if(!lse(s))return Ut(this.ws,"Invalid opcode received"),e();if(i)return Ut(this.ws,"Frame cannot be masked"),e();if(l!==0&&!this.#a.has("permessage-deflate")){Ut(this.ws,"Expected RSV1 to be clear.");return}if(A!==0||u!==0){Ut(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(a&&!WQ(s)){Ut(this.ws,"Invalid frame type was fragmented.");return}if(WQ(s)&&this.#o.length>0){Ut(this.ws,"Expected continuation frame");return}if(this.#n.fragmented&&a){Ut(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((c>125||a)&&JQ(s)){Ut(this.ws,"Control frame either too large or fragmented");return}if(use(s)&&this.#o.length===0&&!this.#n.compressed){Ut(this.ws,"Unexpected continuation frame");return}if(c<=125){if(this.#n.payloadLength=c,this.#s=dr.READ_DATA,!this.#l())return}else c===126?this.#s=dr.PAYLOADLENGTH_16:c===127&&(this.#s=dr.PAYLOADLENGTH_64);WQ(s)&&(this.#n.binaryType=s,this.#n.compressed=l!==0),this.#n.opcode=s,this.#n.masked=i,this.#n.fin=n,this.#n.fragmented=a}else if(this.#s===dr.PAYLOADLENGTH_16){if(this.#r<2)return e();let r=this.consume(2);if(this.#n.payloadLength=r.readUInt16BE(0),this.#s=dr.READ_DATA,!this.#l())return}else if(this.#s===dr.PAYLOADLENGTH_64){if(this.#r<8)return e();let r=this.consume(8),n=r.readUInt32BE(0),s=r.readUInt32BE(4);if(n!==0||s>2**31-1){Ut(this.ws,"Received payload length > 2^31 bytes.");return}if(this.#n.payloadLength=s,this.#s=dr.READ_DATA,!this.#l())return}else if(this.#s===dr.READ_DATA){if(this.#r<this.#n.payloadLength)return e();let r=this.consume(this.#n.payloadLength);if(JQ(this.#n.opcode))this.#i=this.parseControlFrame(r),this.#s=dr.INFO;else if(this.#n.compressed){this.#a.get("permessage-deflate").decompress(r,this.#n.fin,(n,s)=>{if(n){Ut(this.ws,n.message);return}if(this.writeFragments(s),this.#c>0&&this.#t>this.#c){Ut(this.ws,new bU().message);return}if(!this.#n.fin){this.#s=dr.INFO,this.#i=!0,this.run(e);return}QU(this.ws,this.#n.binaryType,this.consumeFragments()),this.#i=!0,this.#s=dr.INFO,this.run(e)}),this.#i=!1;break}else{if(this.writeFragments(r),this.#c>0&&this.#t>this.#c){Ut(this.ws,new bU().message);return}!this.#n.fragmented&&this.#n.fin&&QU(this.ws,this.#n.binaryType,this.consumeFragments()),this.#s=dr.INFO}}}consume(e){if(e>this.#r)throw new Error("Called consume() before buffers satiated.");if(e===0)return yU;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){this.#t+=e.length,this.#o.push(e)}consumeFragments(){let e=this.#o;if(e.length===1)return this.#t=0,e.shift();let r=Buffer.concat(e,this.#t);return this.#o=[],this.#t=0,r}parseCloseBody(e){ise(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!cse(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=Ase(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===Vc.CLOSE){if(n===1)return Ut(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 dse(this.ws,s,i,i.length),Ut(this.ws,i),!1}if(this.ws[CU]!==EU.SENT){let s=yU;this.#n.closeInfo.code&&(s=Buffer.allocUnsafe(2),s.writeUInt16BE(this.#n.closeInfo.code,0));let i=new xU(s);this.ws[IU].socket.write(i.createFrame(Vc.CLOSE),a=>{a||(this.ws[CU]=EU.SENT)})}return this.ws[ase]=ose.CLOSING,this.ws[BU]=!0,!1}else if(r===Vc.PING){if(!this.ws[BU]){let s=new xU(e);this.ws[IU].socket.write(s.createFrame(Vc.PONG)),bh.ping.hasSubscribers&&bh.ping.publish({payload:e})}}else r===Vc.PONG&&bh.pong.hasSubscribers&&bh.pong.publish({payload:e});return!0}get closingInfo(){return this.#n.closeInfo}};wU.exports={ByteParser:$Q}});var DU=f((ARe,vU)=>{"use strict";var{WebsocketFrameSend:pse}=Ih(),{opcodes:SU,sendHints:Jc}=na(),hse=sB(),RU=Buffer[Symbol.species],jQ=class{static{o(this,"SendQueue")}#e=new hse;#t=!1;#r;constructor(e){this.#r=e}add(e,r,n){if(n!==Jc.blob){let i=PU(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=PU(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 PU(t,e){return new pse(fse(t,e)).createFrame(e===Jc.string?SU.TEXT:SU.BINARY)}o(PU,"createFrame");function fse(t,e){switch(e){case Jc.string:return Buffer.from(t);case Jc.arrayBuffer:case Jc.blob:return new RU(t);case Jc.typedArray:return new RU(t.buffer,t.byteOffset,t.byteLength)}}o(fse,"toBuffer");vU.exports={SendQueue:jQ}});var HU=f((dRe,qU)=>{"use strict";var{webidl:X}=Dt(),{URLSerializer:gse}=ar(),{environmentSettingsObject:kU}=Rr(),{staticPropertyDescriptors:io,states:hu,sentCloseFrameState:yse,sendHints:wh}=na(),{kWebSocketURL:TU,kReadyState:KQ,kController:MU,kBinaryType:Nh,kResponse:LU,kSentClose:Ese,kByteParser:Cse}=au(),{isConnecting:Ise,isEstablished:Bse,isClosing:Qse,isValidSubprotocol:xse,fireEvent:FU}=Au(),{establishWebSocketConnection:bse,closeWebSocketConnection:_U}=YQ(),{ByteParser:wse}=NU(),{kEnumerableProperty:cn,isBlobLike:UU}=le(),{getGlobalDispatcher:Nse}=Hp(),{types:OU}=require("node:util"),{ErrorEvent:Sse,CloseEvent:Rse}=zc(),{SendQueue:Pse}=DU(),Fr=class t extends EventTarget{static{o(this,"WebSocket")}#e={open:null,error:null,close:null,message:null};#t=0;#r="";#i="";#s;constructor(e,r=[]){super(),X.util.markAsUncloneable(this);let n="WebSocket constructor";X.argumentLengthCheck(arguments,1,n);let s=X.converters["DOMString or sequence<DOMString> or WebSocketInit"](r,n,"options");e=X.converters.USVString(e,n,"url"),r=s.protocols;let i=kU.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=>xse(l)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[TU]=new URL(a.href);let c=kU.settingsObject;this[MU]=bse(a,r,c,this,(l,A)=>this.#n(l,A),s),this[KQ]=t.CONNECTING,this[Ese]=yse.NOT_SENT,this[Nh]="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");_U(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"),Ise(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!Bse(this)||Qse(this)))if(typeof e=="string"){let n=Buffer.byteLength(e);this.#t+=n,this.#s.add(e,()=>{this.#t-=n},wh.string)}else OU.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)):UU(e)&&(this.#t+=e.size,this.#s.add(e,()=>{this.#t-=e.size},wh.blob))}get readyState(){return X.brandCheck(this,t),this[KQ]}get bufferedAmount(){return X.brandCheck(this,t),this.#t}get url(){return X.brandCheck(this,t),gse(this[TU])}get extensions(){return X.brandCheck(this,t),this.#i}get protocol(){return X.brandCheck(this,t),this.#r}get onopen(){return X.brandCheck(this,t),this.#e.open}set onopen(e){X.brandCheck(this,t),this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onerror(){return X.brandCheck(this,t),this.#e.error}set onerror(e){X.brandCheck(this,t),this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}get onclose(){return X.brandCheck(this,t),this.#e.close}set onclose(e){X.brandCheck(this,t),this.#e.close&&this.removeEventListener("close",this.#e.close),typeof e=="function"?(this.#e.close=e,this.addEventListener("close",e)):this.#e.close=null}get onmessage(){return X.brandCheck(this,t),this.#e.message}set onmessage(e){X.brandCheck(this,t),this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get binaryType(){return X.brandCheck(this,t),this[Nh]}set binaryType(e){X.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[Nh]="blob":this[Nh]=e}#n(e,r){this[LU]=e;let n=this[MU]?.dispatcher?.webSocketOptions?.maxPayloadSize,s=new wse(this,r,{maxPayloadSize:n});s.on("drain",vse),s.on("error",Dse.bind(this)),e.socket.ws=this,this[Cse]=s,this.#s=new Pse(e.socket),this[KQ]=hu.OPEN;let i=e.headersList.get("sec-websocket-extensions");i!==null&&(this.#i=i);let a=e.headersList.get("sec-websocket-protocol");a!==null&&(this.#r=a),FU("open",this)}};Fr.CONNECTING=Fr.prototype.CONNECTING=hu.CONNECTING;Fr.OPEN=Fr.prototype.OPEN=hu.OPEN;Fr.CLOSING=Fr.prototype.CLOSING=hu.CLOSING;Fr.CLOSED=Fr.prototype.CLOSED=hu.CLOSED;Object.defineProperties(Fr.prototype,{CONNECTING:io,OPEN:io,CLOSING:io,CLOSED:io,url:cn,readyState:cn,bufferedAmount:cn,onopen:cn,onerror:cn,onclose:cn,close:cn,onmessage:cn,binaryType:cn,send:cn,extensions:cn,protocol:cn,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Fr,{CONNECTING:io,OPEN:io,CLOSING:io,CLOSED:io});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(()=>Nse(),"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(UU(t))return X.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||OU.isArrayBuffer(t))return X.converters.BufferSource(t)}return X.converters.USVString(t)};function vse(){this.ws[LU].socket.resume()}o(vse,"onParserDrain");function Dse(t){let e,r;t instanceof Rse?(e=t.reason,r=t.code):e=t.message,FU("error",this,()=>new Sse("error",{error:t,message:e})),_U(this,r)}o(Dse,"onParserError");qU.exports={WebSocket:Fr}});var XQ=f((pRe,zU)=>{"use strict";function kse(t){return t.indexOf("\0")===-1}o(kse,"isValidLastEventId");function Tse(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(Tse,"isASCIINumber");function Mse(t){return new Promise(e=>{setTimeout(e,t).unref()})}o(Mse,"delay");zU.exports={isValidLastEventId:kse,isASCIINumber:Tse,delay:Mse}});var JU=f((fRe,VU)=>{"use strict";var{Transform:Lse}=require("node:stream"),{isASCIINumber:GU,isValidLastEventId:YU}=XQ(),pi=[239,187,191],ZQ=10,Sh=13,Fse=58,_se=32,ex=class extends Lse{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]===pi[0]){n();return}this.checkBOM=!1,n();return;case 2:if(this.buffer[0]===pi[0]&&this.buffer[1]===pi[1]){n();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===pi[0]&&this.buffer[1]===pi[1]&&this.buffer[2]===pi[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,n();return}this.checkBOM=!1;break;default:this.buffer[0]===pi[0]&&this.buffer[1]===pi[1]&&this.buffer[2]===pi[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]===ZQ){this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,this.crlfCheck=!1;continue}this.crlfCheck=!1}if(this.buffer[this.pos]===ZQ||this.buffer[this.pos]===Sh){this.buffer[this.pos]===Sh&&(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]===ZQ||this.buffer[this.pos]===Sh){this.buffer[this.pos]===Sh&&(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(Fse);if(n===0)return;let s="",i="";if(n!==-1){s=e.subarray(0,n).toString("utf8");let a=n+1;e[a]===_se&&++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":GU(i)&&(r[s]=i);break;case"id":YU(i)&&(r[s]=i);break;case"event":i.length>0&&(r[s]=i);break}}processEvent(e){e.retry&&GU(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&YU(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}}};VU.exports={EventSourceStream:ex}});var t1=f((yRe,e1)=>{"use strict";var{pipeline:Use}=require("node:stream"),{fetching:Ose}=nu(),{makeRequest:qse}=Fc(),{webidl:hi}=Dt(),{EventSourceStream:Hse}=JU(),{parseMIMEType:zse}=ar(),{createFastMessageEvent:Gse}=zc(),{isNetworkError:WU}=tu(),{delay:Yse}=XQ(),{kEnumerableProperty:sa}=le(),{environmentSettingsObject:$U}=Rr(),jU=!1,KU=3e3,fu=0,XU=1,gu=2,Vse="anonymous",Jse="use-credentials",Wc=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#r=!1;#i=fu;#s=null;#n=null;#o;#a;constructor(e,r={}){super(),hi.util.markAsUncloneable(this);let n="EventSource constructor";hi.argumentLengthCheck(arguments,1,n),jU||(jU=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=hi.converters.USVString(e,n,"url"),r=hi.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:KU};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=Vse;r.withCredentials&&(a=Jse,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=qse(c),this.#c()}get readyState(){return this.#i}get url(){return this.#t}get withCredentials(){return this.#r}#c(){if(this.#i===gu)return;this.#i=fu;let e={request:this.#s,dispatcher:this.#o},r=o(n=>{WU(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#l()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=n=>{if(WU(n))if(n.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#l();return}let s=n.headersList.get("content-type",!0),i=s!==null?zse(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=XU,this.dispatchEvent(new Event("open")),this.#a.origin=n.urlList[n.urlList.length-1].origin;let c=new Hse({eventSourceSettings:this.#a,push:o(l=>{this.dispatchEvent(Gse(l.type,l.options))},"push")});Use(n.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#n=Ose(e)}async#l(){this.#i!==gu&&(this.#i=fu,this.dispatchEvent(new Event("error")),await Yse(this.#a.reconnectionTime),this.#i===fu&&(this.#a.lastEventId.length&&this.#s.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#c()))}close(){hi.brandCheck(this,t),this.#i!==gu&&(this.#i=gu,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}},ZU={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:fu,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:XU,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:gu,writable:!1}};Object.defineProperties(Wc,ZU);Object.defineProperties(Wc.prototype,ZU);Object.defineProperties(Wc.prototype,{close:sa,onerror:sa,onmessage:sa,onopen:sa,readyState:sa,url:sa,withCredentials:sa});hi.converters.EventSourceInitDict=hi.dictionaryConverter([{key:"withCredentials",converter:hi.converters.boolean,defaultValue:o(()=>!1,"defaultValue")},{key:"dispatcher",converter:hi.converters.any}]);e1.exports={EventSource:Wc,defaultReconnectionTime:KU}});var tx=f((CRe,K)=>{"use strict";var Wse=Bc(),r1=IA(),$se=Qc(),jse=ZM(),Kse=xc(),Xse=xB(),Zse=QL(),eie=RL(),n1=Ce(),Ph=le(),{InvalidArgumentError:Rh}=n1,$c=hF(),tie=QA(),rie=iQ(),nie=KF(),sie=cQ(),iie=VB(),oie=Dp(),{getGlobalDispatcher:s1,setGlobalDispatcher:aie}=Hp(),cie=zp(),lie=Ip(),Aie=Bp();Object.assign(r1.prototype,$c);K.exports.Dispatcher=r1;K.exports.Client=Wse;K.exports.Pool=$se;K.exports.BalancedPool=jse;K.exports.Agent=Kse;K.exports.ProxyAgent=Xse;K.exports.EnvHttpProxyAgent=Zse;K.exports.RetryAgent=eie;K.exports.RetryHandler=oie;K.exports.DecoratorHandler=cie;K.exports.RedirectHandler=lie;K.exports.createRedirectInterceptor=Aie;K.exports.interceptors={redirect:s2(),retry:o2(),dump:c2(),dns:u2()};K.exports.buildConnector=tie;K.exports.errors=n1;K.exports.util={parseHeaders:Ph.parseHeaders,headerNameToString:Ph.headerNameToString};function yu(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 Rh("invalid url");if(r!=null&&typeof r!="object")throw new Rh("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new Rh("invalid opts.path");let a=r.path;r.path.startsWith("/")||(a=`/${a}`),e=new URL(Ph.parseOrigin(e).origin+a)}else r||(r=typeof e=="object"?e:{}),e=Ph.parseURL(e);let{agent:s,dispatcher:i=s1()}=r;if(s)throw new Rh("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(yu,"makeDispatcher");K.exports.setGlobalDispatcher=aie;K.exports.getGlobalDispatcher=s1;var uie=nu().fetch;K.exports.fetch=o(async function(e,r=void 0){try{return await uie(e,r)}catch(n){throw n&&typeof n=="object"&&Error.captureStackTrace(n),n}},"fetch");K.exports.Headers=Ko().Headers;K.exports.Response=tu().Response;K.exports.Request=Fc().Request;K.exports.FormData=PA().FormData;K.exports.File=globalThis.File??require("node:buffer").File;K.exports.FileReader=N_().FileReader;var{setGlobalOrigin:die,getGlobalOrigin:mie}=wI();K.exports.setGlobalOrigin=die;K.exports.getGlobalOrigin=mie;var{CacheStorage:pie}=L_(),{kConstruct:hie}=Ah();K.exports.caches=new pie(hie);var{deleteCookie:fie,getCookies:gie,getSetCookies:yie,setCookie:Eie}=W_();K.exports.deleteCookie=fie;K.exports.getCookies=gie;K.exports.getSetCookies=yie;K.exports.setCookie=Eie;var{parseMIMEType:Cie,serializeAMimeType:Iie}=ar();K.exports.parseMIMEType=Cie;K.exports.serializeAMimeType=Iie;var{CloseEvent:Bie,ErrorEvent:Qie,MessageEvent:xie}=zc();K.exports.WebSocket=HU().WebSocket;K.exports.CloseEvent=Bie;K.exports.ErrorEvent=Qie;K.exports.MessageEvent=xie;K.exports.request=yu($c.request);K.exports.stream=yu($c.stream);K.exports.pipeline=yu($c.pipeline);K.exports.connect=yu($c.connect);K.exports.upgrade=yu($c.upgrade);K.exports.MockClient=rie;K.exports.MockPool=sie;K.exports.MockAgent=nie;K.exports.mockErrors=iie;var{EventSource:bie}=t1();K.exports.EventSource=bie});var wu=f(($Pe,F1)=>{"use strict";var Vie="2.0.0",Jie=Number.MAX_SAFE_INTEGER||9007199254740991,Wie=16,$ie=250,jie=["major","premajor","minor","preminor","patch","prepatch","prerelease"];F1.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Wie,MAX_SAFE_BUILD_LENGTH:$ie,MAX_SAFE_INTEGER:Jie,RELEASE_TYPES:jie,SEMVER_SPEC_VERSION:Vie,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Nu=f((jPe,_1)=>{"use strict";var Kie=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};_1.exports=Kie});var tl=f((ps,U1)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Bx,MAX_SAFE_BUILD_LENGTH:Xie,MAX_LENGTH:Zie}=wu(),eoe=Nu();ps=U1.exports={};var toe=ps.re=[],roe=ps.safeRe=[],T=ps.src=[],noe=ps.safeSrc=[],M=ps.t={},soe=0,Qx="[a-zA-Z0-9-]",ioe=[["\\s",1],["\\d",Zie],[Qx,Xie]],ooe=o(t=>{for(let[e,r]of ioe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),re=o((t,e,r)=>{let n=ooe(e),s=soe++;eoe(t,s,e),M[t]=s,T[s]=e,noe[s]=n,toe[s]=new RegExp(e,r?"g":void 0),roe[s]=new RegExp(n,r?"g":void 0)},"createToken");re("NUMERICIDENTIFIER","0|[1-9]\\d*");re("NUMERICIDENTIFIERLOOSE","\\d+");re("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Qx}*`);re("MAINVERSION",`(${T[M.NUMERICIDENTIFIER]})\\.(${T[M.NUMERICIDENTIFIER]})\\.(${T[M.NUMERICIDENTIFIER]})`);re("MAINVERSIONLOOSE",`(${T[M.NUMERICIDENTIFIERLOOSE]})\\.(${T[M.NUMERICIDENTIFIERLOOSE]})\\.(${T[M.NUMERICIDENTIFIERLOOSE]})`);re("PRERELEASEIDENTIFIER",`(?:${T[M.NONNUMERICIDENTIFIER]}|${T[M.NUMERICIDENTIFIER]})`);re("PRERELEASEIDENTIFIERLOOSE",`(?:${T[M.NONNUMERICIDENTIFIER]}|${T[M.NUMERICIDENTIFIERLOOSE]})`);re("PRERELEASE",`(?:-(${T[M.PRERELEASEIDENTIFIER]}(?:\\.${T[M.PRERELEASEIDENTIFIER]})*))`);re("PRERELEASELOOSE",`(?:-?(${T[M.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${T[M.PRERELEASEIDENTIFIERLOOSE]})*))`);re("BUILDIDENTIFIER",`${Qx}+`);re("BUILD",`(?:\\+(${T[M.BUILDIDENTIFIER]}(?:\\.${T[M.BUILDIDENTIFIER]})*))`);re("FULLPLAIN",`v?${T[M.MAINVERSION]}${T[M.PRERELEASE]}?${T[M.BUILD]}?`);re("FULL",`^${T[M.FULLPLAIN]}$`);re("LOOSEPLAIN",`[v=\\s]*${T[M.MAINVERSIONLOOSE]}${T[M.PRERELEASELOOSE]}?${T[M.BUILD]}?`);re("LOOSE",`^${T[M.LOOSEPLAIN]}$`);re("GTLT","((?:<|>)?=?)");re("XRANGEIDENTIFIERLOOSE",`${T[M.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);re("XRANGEIDENTIFIER",`${T[M.NUMERICIDENTIFIER]}|x|X|\\*`);re("XRANGEPLAIN",`[v=\\s]*(${T[M.XRANGEIDENTIFIER]})(?:\\.(${T[M.XRANGEIDENTIFIER]})(?:\\.(${T[M.XRANGEIDENTIFIER]})(?:${T[M.PRERELEASE]})?${T[M.BUILD]}?)?)?`);re("XRANGEPLAINLOOSE",`[v=\\s]*(${T[M.XRANGEIDENTIFIERLOOSE]})(?:\\.(${T[M.XRANGEIDENTIFIERLOOSE]})(?:\\.(${T[M.XRANGEIDENTIFIERLOOSE]})(?:${T[M.PRERELEASELOOSE]})?${T[M.BUILD]}?)?)?`);re("XRANGE",`^${T[M.GTLT]}\\s*${T[M.XRANGEPLAIN]}$`);re("XRANGELOOSE",`^${T[M.GTLT]}\\s*${T[M.XRANGEPLAINLOOSE]}$`);re("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Bx}})(?:\\.(\\d{1,${Bx}}))?(?:\\.(\\d{1,${Bx}}))?`);re("COERCE",`${T[M.COERCEPLAIN]}(?:$|[^\\d])`);re("COERCEFULL",T[M.COERCEPLAIN]+`(?:${T[M.PRERELEASE]})?(?:${T[M.BUILD]})?(?:$|[^\\d])`);re("COERCERTL",T[M.COERCE],!0);re("COERCERTLFULL",T[M.COERCEFULL],!0);re("LONETILDE","(?:~>?)");re("TILDETRIM",`(\\s*)${T[M.LONETILDE]}\\s+`,!0);ps.tildeTrimReplace="$1~";re("TILDE",`^${T[M.LONETILDE]}${T[M.XRANGEPLAIN]}$`);re("TILDELOOSE",`^${T[M.LONETILDE]}${T[M.XRANGEPLAINLOOSE]}$`);re("LONECARET","(?:\\^)");re("CARETTRIM",`(\\s*)${T[M.LONECARET]}\\s+`,!0);ps.caretTrimReplace="$1^";re("CARET",`^${T[M.LONECARET]}${T[M.XRANGEPLAIN]}$`);re("CARETLOOSE",`^${T[M.LONECARET]}${T[M.XRANGEPLAINLOOSE]}$`);re("COMPARATORLOOSE",`^${T[M.GTLT]}\\s*(${T[M.LOOSEPLAIN]})$|^$`);re("COMPARATOR",`^${T[M.GTLT]}\\s*(${T[M.FULLPLAIN]})$|^$`);re("COMPARATORTRIM",`(\\s*)${T[M.GTLT]}\\s*(${T[M.LOOSEPLAIN]}|${T[M.XRANGEPLAIN]})`,!0);ps.comparatorTrimReplace="$1$2$3";re("HYPHENRANGE",`^\\s*(${T[M.XRANGEPLAIN]})\\s+-\\s+(${T[M.XRANGEPLAIN]})\\s*$`);re("HYPHENRANGELOOSE",`^\\s*(${T[M.XRANGEPLAINLOOSE]})\\s+-\\s+(${T[M.XRANGEPLAINLOOSE]})\\s*$`);re("STAR","(<|>)?=?\\s*\\*");re("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");re("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Fh=f((XPe,O1)=>{"use strict";var aoe=Object.freeze({loose:!0}),coe=Object.freeze({}),loe=o(t=>t?typeof t!="object"?aoe:t:coe,"parseOptions");O1.exports=loe});var xx=f((eve,z1)=>{"use strict";var q1=/^[0-9]+$/,H1=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=q1.test(t),n=q1.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1},"compareIdentifiers"),Aoe=o((t,e)=>H1(e,t),"rcompareIdentifiers");z1.exports={compareIdentifiers:H1,rcompareIdentifiers:Aoe}});var Ot=f((rve,Y1)=>{"use strict";var _h=Nu(),{MAX_LENGTH:G1,MAX_SAFE_INTEGER:Uh}=wu(),{safeRe:Oh,t:qh}=tl(),uoe=Fh(),{compareIdentifiers:bx}=xx(),wx=class t{static{o(this,"SemVer")}constructor(e,r){if(r=uoe(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>G1)throw new TypeError(`version is longer than ${G1} characters`);_h("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?Oh[qh.LOOSE]:Oh[qh.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>Uh||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Uh||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Uh||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<Uh)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(_h("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(_h("prerelease compare",r,n,s),n===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(n===void 0)return-1;if(n===s)continue;return bx(n,s)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let n=this.build[r],s=e.build[r];if(_h("build compare",r,n,s),n===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(n===void 0)return-1;if(n===s)continue;return bx(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?Oh[qh.PRERELEASELOOSE]:Oh[qh.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]),bx(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}};Y1.exports=wx});var la=f((sve,J1)=>{"use strict";var V1=Ot(),doe=o((t,e,r=!1)=>{if(t instanceof V1)return t;try{return new V1(t,e)}catch(n){if(!r)return null;throw n}},"parse");J1.exports=doe});var $1=f((ove,W1)=>{"use strict";var moe=la(),poe=o((t,e)=>{let r=moe(t,e);return r?r.version:null},"valid");W1.exports=poe});var K1=f((cve,j1)=>{"use strict";var hoe=la(),foe=o((t,e)=>{let r=hoe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");j1.exports=foe});var eO=f((Ave,Z1)=>{"use strict";var X1=Ot(),goe=o((t,e,r,n,s)=>{typeof r=="string"&&(s=n,n=r,r=void 0);try{return new X1(t instanceof X1?t.version:t,r).inc(e,n,s).version}catch{return null}},"inc");Z1.exports=goe});var nO=f((dve,rO)=>{"use strict";var tO=la(),yoe=o((t,e)=>{let r=tO(t,null,!0),n=tO(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");rO.exports=yoe});var iO=f((pve,sO)=>{"use strict";var Eoe=Ot(),Coe=o((t,e)=>new Eoe(t,e).major,"major");sO.exports=Coe});var aO=f((fve,oO)=>{"use strict";var Ioe=Ot(),Boe=o((t,e)=>new Ioe(t,e).minor,"minor");oO.exports=Boe});var lO=f((yve,cO)=>{"use strict";var Qoe=Ot(),xoe=o((t,e)=>new Qoe(t,e).patch,"patch");cO.exports=xoe});var uO=f((Cve,AO)=>{"use strict";var boe=la(),woe=o((t,e)=>{let r=boe(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");AO.exports=woe});var ln=f((Bve,mO)=>{"use strict";var dO=Ot(),Noe=o((t,e,r)=>new dO(t,r).compare(new dO(e,r)),"compare");mO.exports=Noe});var hO=f((xve,pO)=>{"use strict";var Soe=ln(),Roe=o((t,e,r)=>Soe(e,t,r),"rcompare");pO.exports=Roe});var gO=f((wve,fO)=>{"use strict";var Poe=ln(),voe=o((t,e)=>Poe(t,e,!0),"compareLoose");fO.exports=voe});var Hh=f((Sve,EO)=>{"use strict";var yO=Ot(),Doe=o((t,e,r)=>{let n=new yO(t,r),s=new yO(e,r);return n.compare(s)||n.compareBuild(s)},"compareBuild");EO.exports=Doe});var IO=f((Pve,CO)=>{"use strict";var koe=Hh(),Toe=o((t,e)=>t.sort((r,n)=>koe(r,n,e)),"sort");CO.exports=Toe});var QO=f((Dve,BO)=>{"use strict";var Moe=Hh(),Loe=o((t,e)=>t.sort((r,n)=>Moe(n,r,e)),"rsort");BO.exports=Loe});var Su=f((Tve,xO)=>{"use strict";var Foe=ln(),_oe=o((t,e,r)=>Foe(t,e,r)>0,"gt");xO.exports=_oe});var zh=f((Lve,bO)=>{"use strict";var Uoe=ln(),Ooe=o((t,e,r)=>Uoe(t,e,r)<0,"lt");bO.exports=Ooe});var Nx=f((_ve,wO)=>{"use strict";var qoe=ln(),Hoe=o((t,e,r)=>qoe(t,e,r)===0,"eq");wO.exports=Hoe});var Sx=f((Ove,NO)=>{"use strict";var zoe=ln(),Goe=o((t,e,r)=>zoe(t,e,r)!==0,"neq");NO.exports=Goe});var Gh=f((Hve,SO)=>{"use strict";var Yoe=ln(),Voe=o((t,e,r)=>Yoe(t,e,r)>=0,"gte");SO.exports=Voe});var Yh=f((Gve,RO)=>{"use strict";var Joe=ln(),Woe=o((t,e,r)=>Joe(t,e,r)<=0,"lte");RO.exports=Woe});var Rx=f((Vve,PO)=>{"use strict";var $oe=Nx(),joe=Sx(),Koe=Su(),Xoe=Gh(),Zoe=zh(),eae=Yh(),tae=o((t,e,r,n)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return $oe(t,r,n);case"!=":return joe(t,r,n);case">":return Koe(t,r,n);case">=":return Xoe(t,r,n);case"<":return Zoe(t,r,n);case"<=":return eae(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");PO.exports=tae});var DO=f((Wve,vO)=>{"use strict";var rae=Ot(),nae=la(),{safeRe:Vh,t:Jh}=tl(),sae=o((t,e)=>{if(t instanceof rae)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?Vh[Jh.COERCEFULL]:Vh[Jh.COERCE]);else{let l=e.includePrerelease?Vh[Jh.COERCERTLFULL]:Vh[Jh.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 nae(`${n}.${s}.${i}${a}${c}`,e)},"coerce");vO.exports=sae});var TO=f((jve,kO)=>{"use strict";var Px=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}};kO.exports=Px});var An=f((Xve,_O)=>{"use strict";var iae=/\s+/g,vx=class t{static{o(this,"Range")}constructor(e,r){if(r=aae(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof Dx)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().replace(iae," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(s=>!LO(s[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let s of this.set)if(s.length===1&&pae(s[0])){this.set=[s];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;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&&dae)|(this.options.loose&&mae))+":"+e,s=MO.get(n);if(s)return s;let i=this.options.loose,a=i?jt[qt.HYPHENRANGELOOSE]:jt[qt.HYPHENRANGE];e=e.replace(a,xae(this.options.includePrerelease)),Te("hyphen replace",e),e=e.replace(jt[qt.COMPARATORTRIM],lae),Te("comparator trim",e),e=e.replace(jt[qt.TILDETRIM],Aae),Te("tilde trim",e),e=e.replace(jt[qt.CARETTRIM],uae),Te("caret trim",e);let c=e.split(" ").map(d=>hae(d,this.options)).join(" ").split(/\s+/).map(d=>Qae(d,this.options));i&&(c=c.filter(d=>(Te("loose invalid filter",d,this.options),!!d.match(jt[qt.COMPARATORLOOSE])))),Te("range list",c);let l=new Map,A=c.map(d=>new Dx(d,this.options));for(let d of A){if(LO(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let u=[...l.values()];return MO.set(n,u),u}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>FO(n,r)&&e.set.some(s=>FO(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 cae(e,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(bae(this.set[r],e,this.options))return!0;return!1}};_O.exports=vx;var oae=TO(),MO=new oae,aae=Fh(),Dx=Ru(),Te=Nu(),cae=Ot(),{safeRe:jt,t:qt,comparatorTrimReplace:lae,tildeTrimReplace:Aae,caretTrimReplace:uae}=tl(),{FLAG_INCLUDE_PRERELEASE:dae,FLAG_LOOSE:mae}=wu(),LO=o(t=>t.value==="<0.0.0-0","isNullSet"),pae=o(t=>t.value==="","isAny"),FO=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"),hae=o((t,e)=>(t=t.replace(jt[qt.BUILD],""),Te("comp",t,e),t=yae(t,e),Te("caret",t),t=fae(t,e),Te("tildes",t),t=Cae(t,e),Te("xrange",t),t=Bae(t,e),Te("stars",t),t),"parseComparator"),Kt=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),fae=o((t,e)=>t.trim().split(/\s+/).map(r=>gae(r,e)).join(" "),"replaceTildes"),gae=o((t,e)=>{let r=e.loose?jt[qt.TILDELOOSE]:jt[qt.TILDE];return t.replace(r,(n,s,i,a,c)=>{Te("tilde",t,n,s,i,a,c);let l;return Kt(s)?l="":Kt(i)?l=`>=${s}.0.0 <${+s+1}.0.0-0`:Kt(a)?l=`>=${s}.${i}.0 <${s}.${+i+1}.0-0`:c?(Te("replaceTilde pr",c),l=`>=${s}.${i}.${a}-${c} <${s}.${+i+1}.0-0`):l=`>=${s}.${i}.${a} <${s}.${+i+1}.0-0`,Te("tilde return",l),l})},"replaceTilde"),yae=o((t,e)=>t.trim().split(/\s+/).map(r=>Eae(r,e)).join(" "),"replaceCarets"),Eae=o((t,e)=>{Te("caret",t,e);let r=e.loose?jt[qt.CARETLOOSE]:jt[qt.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(s,i,a,c,l)=>{Te("caret",t,s,i,a,c,l);let A;return Kt(i)?A="":Kt(a)?A=`>=${i}.0.0${n} <${+i+1}.0.0-0`:Kt(c)?i==="0"?A=`>=${i}.${a}.0${n} <${i}.${+a+1}.0-0`:A=`>=${i}.${a}.0${n} <${+i+1}.0.0-0`:l?(Te("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`):(Te("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`),Te("caret return",A),A})},"replaceCaret"),Cae=o((t,e)=>(Te("replaceXRanges",t,e),t.split(/\s+/).map(r=>Iae(r,e)).join(" ")),"replaceXRanges"),Iae=o((t,e)=>{t=t.trim();let r=e.loose?jt[qt.XRANGELOOSE]:jt[qt.XRANGE];return t.replace(r,(n,s,i,a,c,l)=>{Te("xRange",t,n,s,i,a,c,l);let A=Kt(i),u=A||Kt(a),d=u||Kt(c),m=d;return s==="="&&m&&(s=""),l=e.includePrerelease?"-0":"",A?s===">"||s==="<"?n="<0.0.0-0":n="*":s&&m?(u&&(a=0),c=0,s===">"?(s=">=",u?(i=+i+1,a=0,c=0):(a=+a+1,c=0)):s==="<="&&(s="<",u?i=+i+1:a=+a+1),s==="<"&&(l="-0"),n=`${s+i}.${a}.${c}${l}`):u?n=`>=${i}.0.0${l} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${a}.0${l} <${i}.${+a+1}.0-0`),Te("xRange return",n),n})},"replaceXRange"),Bae=o((t,e)=>(Te("replaceStars",t,e),t.trim().replace(jt[qt.STAR],"")),"replaceStars"),Qae=o((t,e)=>(Te("replaceGTE0",t,e),t.trim().replace(jt[e.includePrerelease?qt.GTE0PRE:qt.GTE0],"")),"replaceGTE0"),xae=o(t=>(e,r,n,s,i,a,c,l,A,u,d,m)=>(Kt(n)?r="":Kt(s)?r=`>=${n}.0.0${t?"-0":""}`:Kt(i)?r=`>=${n}.${s}.0${t?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Kt(A)?l="":Kt(u)?l=`<${+A+1}.0.0-0`:Kt(d)?l=`<${A}.${+u+1}.0-0`:m?l=`<=${A}.${u}.${d}-${m}`:t?l=`<${A}.${u}.${+d+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),"hyphenReplace"),bae=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(Te(t[n].semver),t[n].semver!==Dx.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 Ru=f((eDe,GO)=>{"use strict";var Pu=Symbol("SemVer ANY"),Mx=class t{static{o(this,"Comparator")}static get ANY(){return Pu}constructor(e,r){if(r=UO(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Tx("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Pu?this.value="":this.value=this.operator+this.semver.version,Tx("comp",this)}parse(e){let r=this.options.loose?OO[qO.COMPARATORLOOSE]:OO[qO.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 HO(n[2],this.options.loose):this.semver=Pu}toString(){return this.value}test(e){if(Tx("Comparator.test",e,this.options.loose),this.semver===Pu||e===Pu)return!0;if(typeof e=="string")try{e=new HO(e,this.options)}catch{return!1}return kx(e,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new zO(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new zO(this.value,r).test(e.semver):(r=UO(r),r.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||kx(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||kx(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};GO.exports=Mx;var UO=Fh(),{safeRe:OO,t:qO}=tl(),kx=Rx(),Tx=Nu(),HO=Ot(),zO=An()});var vu=f((rDe,YO)=>{"use strict";var wae=An(),Nae=o((t,e,r)=>{try{e=new wae(e,r)}catch{return!1}return e.test(t)},"satisfies");YO.exports=Nae});var JO=f((sDe,VO)=>{"use strict";var Sae=An(),Rae=o((t,e)=>new Sae(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");VO.exports=Rae});var $O=f((oDe,WO)=>{"use strict";var Pae=Ot(),vae=An(),Dae=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new vae(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===-1)&&(n=a,s=new Pae(n,r))}),n},"maxSatisfying");WO.exports=Dae});var KO=f((cDe,jO)=>{"use strict";var kae=Ot(),Tae=An(),Mae=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new Tae(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===1)&&(n=a,s=new kae(n,r))}),n},"minSatisfying");jO.exports=Mae});var eq=f((ADe,ZO)=>{"use strict";var Lx=Ot(),Lae=An(),XO=Su(),Fae=o((t,e)=>{t=new Lae(t,e);let r=new Lx("0.0.0");if(t.test(r)||(r=new Lx("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 Lx(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||XO(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||XO(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");ZO.exports=Fae});var rq=f((dDe,tq)=>{"use strict";var _ae=An(),Uae=o((t,e)=>{try{return new _ae(t,e).range||"*"}catch{return null}},"validRange");tq.exports=Uae});var Wh=f((pDe,oq)=>{"use strict";var Oae=Ot(),iq=Ru(),{ANY:qae}=iq,Hae=An(),zae=vu(),nq=Su(),sq=zh(),Gae=Yh(),Yae=Gh(),Vae=o((t,e,r,n)=>{t=new Oae(t,n),e=new Hae(e,n);let s,i,a,c,l;switch(r){case">":s=nq,i=Gae,a=sq,c=">",l=">=";break;case"<":s=sq,i=Yae,a=nq,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(zae(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===qae&&(p=new iq(">=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");oq.exports=Vae});var cq=f((fDe,aq)=>{"use strict";var Jae=Wh(),Wae=o((t,e,r)=>Jae(t,e,">",r),"gtr");aq.exports=Wae});var Aq=f((yDe,lq)=>{"use strict";var $ae=Wh(),jae=o((t,e,r)=>$ae(t,e,"<",r),"ltr");lq.exports=jae});var mq=f((CDe,dq)=>{"use strict";var uq=An(),Kae=o((t,e,r)=>(t=new uq(t,r),e=new uq(e,r),t.intersects(e,r)),"intersects");dq.exports=Kae});var hq=f((BDe,pq)=>{"use strict";var Xae=vu(),Zae=ln();pq.exports=(t,e,r)=>{let n=[],s=null,i=null,a=t.sort((u,d)=>Zae(u,d,r));for(let u of a)Xae(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 Iq=f((QDe,Cq)=>{"use strict";var fq=An(),_x=Ru(),{ANY:Fx}=_x,Du=vu(),Ux=ln(),ece=o((t,e,r={})=>{if(t===e)return!0;t=new fq(t,r),e=new fq(e,r);let n=!1;e:for(let s of t.set){for(let i of e.set){let a=rce(s,i,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),tce=[new _x(">=0.0.0-0")],gq=[new _x(">=0.0.0")],rce=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===Fx){if(e.length===1&&e[0].semver===Fx)return!0;r.includePrerelease?t=tce:t=gq}if(e.length===1&&e[0].semver===Fx){if(r.includePrerelease)return!0;e=gq}let n=new Set,s,i;for(let p of t)p.operator===">"||p.operator===">="?s=yq(s,p,r):p.operator==="<"||p.operator==="<="?i=Eq(i,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(s&&i){if(a=Ux(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&&!Du(p,String(s),r)||i&&!Du(p,String(i),r))return null;for(let h of e)if(!Du(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=yq(s,p,r),c===p&&c!==s)return!1}else if(s.operator===">="&&!Du(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=Eq(i,p,r),l===p&&l!==i)return!1}else if(i.operator==="<="&&!Du(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"),yq=o((t,e,r)=>{if(!t)return e;let n=Ux(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),Eq=o((t,e,r)=>{if(!t)return e;let n=Ux(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");Cq.exports=ece});var qx=f((bDe,xq)=>{"use strict";var Ox=tl(),Bq=wu(),nce=Ot(),Qq=xx(),sce=la(),ice=$1(),oce=K1(),ace=eO(),cce=nO(),lce=iO(),Ace=aO(),uce=lO(),dce=uO(),mce=ln(),pce=hO(),hce=gO(),fce=Hh(),gce=IO(),yce=QO(),Ece=Su(),Cce=zh(),Ice=Nx(),Bce=Sx(),Qce=Gh(),xce=Yh(),bce=Rx(),wce=DO(),Nce=Ru(),Sce=An(),Rce=vu(),Pce=JO(),vce=$O(),Dce=KO(),kce=eq(),Tce=rq(),Mce=Wh(),Lce=cq(),Fce=Aq(),_ce=mq(),Uce=hq(),Oce=Iq();xq.exports={parse:sce,valid:ice,clean:oce,inc:ace,diff:cce,major:lce,minor:Ace,patch:uce,prerelease:dce,compare:mce,rcompare:pce,compareLoose:hce,compareBuild:fce,sort:gce,rsort:yce,gt:Ece,lt:Cce,eq:Ice,neq:Bce,gte:Qce,lte:xce,cmp:bce,coerce:wce,Comparator:Nce,Range:Sce,satisfies:Rce,toComparators:Pce,maxSatisfying:vce,minSatisfying:Dce,minVersion:kce,validRange:Tce,outside:Mce,gtr:Lce,ltr:Fce,intersects:_ce,simplifyRange:Uce,subset:Oce,SemVer:nce,re:Ox.re,src:Ox.src,tokens:Ox.t,SEMVER_SPEC_VERSION:Bq.SEMVER_SPEC_VERSION,RELEASE_TYPES:Bq.RELEASE_TYPES,compareIdentifiers:Qq.compareIdentifiers,rcompareIdentifiers:Qq.rcompareIdentifiers}});var Uq=f((Pke,_q)=>{_q.exports=function(t,e){for(var r=[],n=0;n<t.length;n++){var s=e(t[n],n);rle(s)?r.push.apply(r,s):r.push(s)}return r};var rle=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"}});var Gq=f((vke,zq)=>{"use strict";zq.exports=qq;function qq(t,e,r){t instanceof RegExp&&(t=Oq(t,r)),e instanceof RegExp&&(e=Oq(e,r));var n=Hq(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(qq,"balanced");function Oq(t,e){var r=e.match(t);return r?r[0]:null}o(Oq,"maybeMatch");qq.range=Hq;function Hq(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(Hq,"range")});var Xq=f((kke,Kq)=>{var nle=Uq(),Yq=Gq();Kq.exports=ole;var Vq="\0SLASH"+Math.random()+"\0",Jq="\0OPEN"+Math.random()+"\0",Xx="\0CLOSE"+Math.random()+"\0",Wq="\0COMMA"+Math.random()+"\0",$q="\0PERIOD"+Math.random()+"\0";function Kx(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}o(Kx,"numeric");function sle(t){return t.split("\\\\").join(Vq).split("\\{").join(Jq).split("\\}").join(Xx).split("\\,").join(Wq).split("\\.").join($q)}o(sle,"escapeBraces");function ile(t){return t.split(Vq).join("\\").split(Jq).join("{").split(Xx).join("}").split(Wq).join(",").split($q).join(".")}o(ile,"unescapeBraces");function jq(t){if(!t)return[""];var e=[],r=Yq("{","}",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=jq(i);return i.length&&(a[a.length-1]+=c.shift(),a.push.apply(a,c)),e.push.apply(e,a),e}o(jq,"parseCommaParts");function ole(t,e){if(!t)return[];e=e||{};var r=e.max==null?1/0:e.max;return t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),nl(sle(t),r,!0).map(ile)}o(ole,"expandTop");function ale(t){return"{"+t+"}"}o(ale,"embrace");function cle(t){return/^-?0\d/.test(t)}o(cle,"isPadded");function lle(t,e){return t<=e}o(lle,"lte");function Ale(t,e){return t>=e}o(Ale,"gte");function nl(t,e,r){var n=[],s=Yq("{","}",t);if(!s||/\$$/.test(s.pre))return[t];var i=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body),a=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body),c=i||a,l=s.body.indexOf(",")>=0;if(!c&&!l)return s.post.match(/,(?!,).*\}/)?(t=s.pre+"{"+s.body+Xx+s.post,nl(t,e,!0)):[t];var A;if(c)A=s.body.split(/\.\./);else if(A=jq(s.body),A.length===1&&(A=nl(A[0],e,!1).map(ale),A.length===1)){var d=s.post.length?nl(s.post,e,!1):[""];return d.map(function(te){return s.pre+A[0]+te})}var u=s.pre,d=s.post.length?nl(s.post,e,!1):[""],m;if(c){var p=Kx(A[0]),h=Kx(A[1]),g=Math.max(A[0].length,A[1].length),C=A.length==3?Math.max(Math.abs(Kx(A[2])),1):1,y=lle,E=h<p;E&&(C*=-1,y=Ale);var I=A.some(cle);m=[];for(var B=p;y(B,h)&&m.length<e;B+=C){var N;if(a)N=String.fromCharCode(B),N==="\\"&&(N="");else if(N=String(B),I){var k=g-N.length;if(k>0){var _=new Array(k+1).join("0");B<0?N="-"+_+N.slice(1):N=_+N}}m.push(N)}}else m=nle(A,function(z){return nl(z,e,!1)});for(var ce=0;ce<m.length;ce++)for(var Ee=0;Ee<d.length&&n.length<e;Ee++){var xe=u+m[ce]+d[Ee];(!r||c||xe)&&n.push(xe)}return n}o(nl,"expand")});var sH=f((Mke,nH)=>{nH.exports=Ur;Ur.Minimatch=kt;var Fu=(function(){try{return require("path")}catch{}})()||{sep:"/"};Ur.sep=Fu.sep;var tb=Ur.GLOBSTAR=kt.GLOBSTAR={},ule=Xq(),Zq={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Zx="[^/]",eb=Zx+"*?",dle="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",mle="(?:(?!(?:\\/|^)\\.).)*?",eH=ple("().*{}+?[]^$\\!");function ple(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}o(ple,"charSet");var tH=/\/+/;Ur.filter=hle;function hle(t,e){return e=e||{},function(r,n,s){return Ur(r,t,e)}}o(hle,"filter");function uo(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(uo,"ext");Ur.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return Ur;var e=Ur,r=o(function(s,i,a){return e(s,i,uo(t,a))},"minimatch");return r.Minimatch=o(function(s,i){return new e.Minimatch(s,uo(t,i))},"Minimatch"),r.Minimatch.defaults=o(function(s){return e.defaults(uo(t,s)).Minimatch},"defaults"),r.filter=o(function(s,i){return e.filter(s,uo(t,i))},"filter"),r.defaults=o(function(s){return e.defaults(uo(t,s))},"defaults"),r.makeRe=o(function(s,i){return e.makeRe(s,uo(t,i))},"makeRe"),r.braceExpand=o(function(s,i){return e.braceExpand(s,uo(t,i))},"braceExpand"),r.match=function(n,s,i){return e.match(n,s,uo(t,i))},r};kt.defaults=function(t){return Ur.defaults(t).Minimatch};function Ur(t,e,r){return Zh(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new kt(e,r).match(t)}o(Ur,"minimatch");function kt(t,e){if(!(this instanceof kt))return new kt(t,e);Zh(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&Fu.sep!=="/"&&(t=t.split(Fu.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=fle;function fle(){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(tH)}),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(fle,"make");kt.prototype.parseNegate=gle;function gle(){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(gle,"parseNegate");Ur.braceExpand=function(t,e){return rH(t,e)};kt.prototype.braceExpand=rH;function rH(t,e){return e||(this instanceof kt?e=this.options:e={}),t=typeof t>"u"?this.pattern:t,Zh(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:ule(t)}o(rH,"braceExpand");var yle=1024*64,Zh=o(function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>yle)throw new TypeError("pattern is too long")},"assertValidPattern");kt.prototype.parse=Ele;var Xh={};function Ele(t,e){Zh(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+=eb,s=!0;break;case"?":n+=Zx,s=!0;break;default:n+="\\"+l;break}p.debug("clearStateChar %j %j",l,n),l=!1}}o(h,"clearStateChar");for(var g=0,C=t.length,y;g<C&&(y=t.charAt(g));g++){if(this.debug("%s %s %s %j",t,g,n,y),i&&eH[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,g,n,y),A){this.debug(" in class"),y==="!"&&g===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:g-1,reStart:n.length,open:Zq[l].open,close:Zq[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=g,u=n.length,n+=y;continue;case"]":if(g===d+1||!A){n+="\\"+y,i=!1;continue}var I=t.substring(d+1,g);try{RegExp("["+I+"]")}catch{var B=this.parse(I,Xh);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:eH[y]&&!(y==="^"&&A)&&(n+="\\"),n+=y}}for(A&&(I=t.substr(d+1),B=this.parse(I,Xh),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(es,Mo,Za){return Za||(Za="\\"),Mo+Mo+Za+"|"}),this.debug(`tail=%j
|
|
%s`,N,N,E,n);var k=E.type==="*"?eb:E.type==="?"?Zx:"\\"+E.type;s=!0,n=n.slice(0,E.reStart)+k+"\\("+N}h(),i&&(n+="\\\\");var _=!1;switch(n.charAt(0)){case"[":case".":case"(":_=!0}for(var ce=c.length-1;ce>-1;ce--){var Ee=c[ce],xe=n.slice(0,Ee.reStart),z=n.slice(Ee.reStart,Ee.reEnd-8),te=n.slice(Ee.reEnd-8,Ee.reEnd),U=n.slice(Ee.reEnd);te+=U;var me=xe.split("(").length-1,ut=U;for(g=0;g<me;g++)ut=ut.replace(/\)[+*?]?/,"");U=ut;var ze="";U===""&&e!==Xh&&(ze="$");var rt=xe+z+U+ze+te;n=rt}if(n!==""&&s&&(n="(?=.)"+n),_&&(n=m+n),e===Xh)return[n,s];if(!s)return Ile(t);var ei=r.nocase?"i":"";try{var Sr=new RegExp("^"+n+"$",ei)}catch{return new RegExp("$.")}return Sr._glob=t,Sr._src=n,Sr}o(Ele,"parse");Ur.makeRe=function(t,e){return new kt(t,e||{}).makeRe()};kt.prototype.makeRe=Cle;function Cle(){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?eb:e.dot?dle:mle,n=e.nocase?"i":"",s=t.map(function(i){return i.map(function(a){return a===tb?r:typeof a=="string"?Ble(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(Cle,"makeRe");Ur.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;Fu.sep!=="/"&&(e=e.split(Fu.sep).join("/")),e=e.split(tH),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 Ile(t){return t.replace(/\\(.)/g,"$1")}o(Ile,"globUnescape");function Ble(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(Ble,"regExpEscape")});var Ou=f((nTe,cH)=>{"use strict";var Ple="2.0.0",vle=Number.MAX_SAFE_INTEGER||9007199254740991,Dle=16,kle=250,Tle=["major","premajor","minor","preminor","patch","prepatch","prerelease"];cH.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Dle,MAX_SAFE_BUILD_LENGTH:kle,MAX_SAFE_INTEGER:vle,RELEASE_TYPES:Tle,SEMVER_SPEC_VERSION:Ple,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var qu=f((sTe,lH)=>{"use strict";var Mle=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};lH.exports=Mle});var al=f((hs,AH)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:nb,MAX_SAFE_BUILD_LENGTH:Lle,MAX_LENGTH:Fle}=Ou(),_le=qu();hs=AH.exports={};var Ule=hs.re=[],Ole=hs.safeRe=[],L=hs.src=[],qle=hs.safeSrc=[],F=hs.t={},Hle=0,sb="[a-zA-Z0-9-]",zle=[["\\s",1],["\\d",Fle],[sb,Lle]],Gle=o(t=>{for(let[e,r]of zle)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),ne=o((t,e,r)=>{let n=Gle(e),s=Hle++;_le(t,s,e),F[t]=s,L[s]=e,qle[s]=n,Ule[s]=new RegExp(e,r?"g":void 0),Ole[s]=new RegExp(n,r?"g":void 0)},"createToken");ne("NUMERICIDENTIFIER","0|[1-9]\\d*");ne("NUMERICIDENTIFIERLOOSE","\\d+");ne("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${sb}*`);ne("MAINVERSION",`(${L[F.NUMERICIDENTIFIER]})\\.(${L[F.NUMERICIDENTIFIER]})\\.(${L[F.NUMERICIDENTIFIER]})`);ne("MAINVERSIONLOOSE",`(${L[F.NUMERICIDENTIFIERLOOSE]})\\.(${L[F.NUMERICIDENTIFIERLOOSE]})\\.(${L[F.NUMERICIDENTIFIERLOOSE]})`);ne("PRERELEASEIDENTIFIER",`(?:${L[F.NONNUMERICIDENTIFIER]}|${L[F.NUMERICIDENTIFIER]})`);ne("PRERELEASEIDENTIFIERLOOSE",`(?:${L[F.NONNUMERICIDENTIFIER]}|${L[F.NUMERICIDENTIFIERLOOSE]})`);ne("PRERELEASE",`(?:-(${L[F.PRERELEASEIDENTIFIER]}(?:\\.${L[F.PRERELEASEIDENTIFIER]})*))`);ne("PRERELEASELOOSE",`(?:-?(${L[F.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${L[F.PRERELEASEIDENTIFIERLOOSE]})*))`);ne("BUILDIDENTIFIER",`${sb}+`);ne("BUILD",`(?:\\+(${L[F.BUILDIDENTIFIER]}(?:\\.${L[F.BUILDIDENTIFIER]})*))`);ne("FULLPLAIN",`v?${L[F.MAINVERSION]}${L[F.PRERELEASE]}?${L[F.BUILD]}?`);ne("FULL",`^${L[F.FULLPLAIN]}$`);ne("LOOSEPLAIN",`[v=\\s]*${L[F.MAINVERSIONLOOSE]}${L[F.PRERELEASELOOSE]}?${L[F.BUILD]}?`);ne("LOOSE",`^${L[F.LOOSEPLAIN]}$`);ne("GTLT","((?:<|>)?=?)");ne("XRANGEIDENTIFIERLOOSE",`${L[F.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ne("XRANGEIDENTIFIER",`${L[F.NUMERICIDENTIFIER]}|x|X|\\*`);ne("XRANGEPLAIN",`[v=\\s]*(${L[F.XRANGEIDENTIFIER]})(?:\\.(${L[F.XRANGEIDENTIFIER]})(?:\\.(${L[F.XRANGEIDENTIFIER]})(?:${L[F.PRERELEASE]})?${L[F.BUILD]}?)?)?`);ne("XRANGEPLAINLOOSE",`[v=\\s]*(${L[F.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[F.XRANGEIDENTIFIERLOOSE]})(?:\\.(${L[F.XRANGEIDENTIFIERLOOSE]})(?:${L[F.PRERELEASELOOSE]})?${L[F.BUILD]}?)?)?`);ne("XRANGE",`^${L[F.GTLT]}\\s*${L[F.XRANGEPLAIN]}$`);ne("XRANGELOOSE",`^${L[F.GTLT]}\\s*${L[F.XRANGEPLAINLOOSE]}$`);ne("COERCEPLAIN",`(^|[^\\d])(\\d{1,${nb}})(?:\\.(\\d{1,${nb}}))?(?:\\.(\\d{1,${nb}}))?`);ne("COERCE",`${L[F.COERCEPLAIN]}(?:$|[^\\d])`);ne("COERCEFULL",L[F.COERCEPLAIN]+`(?:${L[F.PRERELEASE]})?(?:${L[F.BUILD]})?(?:$|[^\\d])`);ne("COERCERTL",L[F.COERCE],!0);ne("COERCERTLFULL",L[F.COERCEFULL],!0);ne("LONETILDE","(?:~>?)");ne("TILDETRIM",`(\\s*)${L[F.LONETILDE]}\\s+`,!0);hs.tildeTrimReplace="$1~";ne("TILDE",`^${L[F.LONETILDE]}${L[F.XRANGEPLAIN]}$`);ne("TILDELOOSE",`^${L[F.LONETILDE]}${L[F.XRANGEPLAINLOOSE]}$`);ne("LONECARET","(?:\\^)");ne("CARETTRIM",`(\\s*)${L[F.LONECARET]}\\s+`,!0);hs.caretTrimReplace="$1^";ne("CARET",`^${L[F.LONECARET]}${L[F.XRANGEPLAIN]}$`);ne("CARETLOOSE",`^${L[F.LONECARET]}${L[F.XRANGEPLAINLOOSE]}$`);ne("COMPARATORLOOSE",`^${L[F.GTLT]}\\s*(${L[F.LOOSEPLAIN]})$|^$`);ne("COMPARATOR",`^${L[F.GTLT]}\\s*(${L[F.FULLPLAIN]})$|^$`);ne("COMPARATORTRIM",`(\\s*)${L[F.GTLT]}\\s*(${L[F.LOOSEPLAIN]}|${L[F.XRANGEPLAIN]})`,!0);hs.comparatorTrimReplace="$1$2$3";ne("HYPHENRANGE",`^\\s*(${L[F.XRANGEPLAIN]})\\s+-\\s+(${L[F.XRANGEPLAIN]})\\s*$`);ne("HYPHENRANGELOOSE",`^\\s*(${L[F.XRANGEPLAINLOOSE]})\\s+-\\s+(${L[F.XRANGEPLAINLOOSE]})\\s*$`);ne("STAR","(<|>)?=?\\s*\\*");ne("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ne("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var rf=f((oTe,uH)=>{"use strict";var Yle=Object.freeze({loose:!0}),Vle=Object.freeze({}),Jle=o(t=>t?typeof t!="object"?Yle:t:Vle,"parseOptions");uH.exports=Jle});var ib=f((cTe,pH)=>{"use strict";var dH=/^[0-9]+$/,mH=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=dH.test(t),n=dH.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1},"compareIdentifiers"),Wle=o((t,e)=>mH(e,t),"rcompareIdentifiers");pH.exports={compareIdentifiers:mH,rcompareIdentifiers:Wle}});var Ht=f((ATe,fH)=>{"use strict";var nf=qu(),{MAX_LENGTH:hH,MAX_SAFE_INTEGER:sf}=Ou(),{safeRe:of,t:af}=al(),$le=rf(),{compareIdentifiers:ob}=ib(),ab=class t{static{o(this,"SemVer")}constructor(e,r){if(r=$le(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>hH)throw new TypeError(`version is longer than ${hH} characters`);nf("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?of[af.LOOSE]:of[af.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 ob(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 ob(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?of[af.PRERELEASELOOSE]:of[af.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]),ob(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};fH.exports=ab});var da=f((dTe,yH)=>{"use strict";var gH=Ht(),jle=o((t,e,r=!1)=>{if(t instanceof gH)return t;try{return new gH(t,e)}catch(n){if(!r)return null;throw n}},"parse");yH.exports=jle});var CH=f((pTe,EH)=>{"use strict";var Kle=da(),Xle=o((t,e)=>{let r=Kle(t,e);return r?r.version:null},"valid");EH.exports=Xle});var BH=f((fTe,IH)=>{"use strict";var Zle=da(),eAe=o((t,e)=>{let r=Zle(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null},"clean");IH.exports=eAe});var bH=f((yTe,xH)=>{"use strict";var QH=Ht(),tAe=o((t,e,r,n,s)=>{typeof r=="string"&&(s=n,n=r,r=void 0);try{return new QH(t instanceof QH?t.version:t,r).inc(e,n,s).version}catch{return null}},"inc");xH.exports=tAe});var SH=f((CTe,NH)=>{"use strict";var wH=da(),rAe=o((t,e)=>{let r=wH(t,null,!0),n=wH(e,null,!0),s=r.compare(n);if(s===0)return null;let i=s>0,a=i?r:n,c=i?n:r,l=!!a.prerelease.length;if(!!c.prerelease.length&&!l){if(!c.patch&&!c.minor)return"major";if(c.compareMain(a)===0)return c.minor&&!c.patch?"minor":"patch"}let u=l?"pre":"";return r.major!==n.major?u+"major":r.minor!==n.minor?u+"minor":r.patch!==n.patch?u+"patch":"prerelease"},"diff");NH.exports=rAe});var PH=f((BTe,RH)=>{"use strict";var nAe=Ht(),sAe=o((t,e)=>new nAe(t,e).major,"major");RH.exports=sAe});var DH=f((xTe,vH)=>{"use strict";var iAe=Ht(),oAe=o((t,e)=>new iAe(t,e).minor,"minor");vH.exports=oAe});var TH=f((wTe,kH)=>{"use strict";var aAe=Ht(),cAe=o((t,e)=>new aAe(t,e).patch,"patch");kH.exports=cAe});var LH=f((STe,MH)=>{"use strict";var lAe=da(),AAe=o((t,e)=>{let r=lAe(t,e);return r&&r.prerelease.length?r.prerelease:null},"prerelease");MH.exports=AAe});var mn=f((PTe,_H)=>{"use strict";var FH=Ht(),uAe=o((t,e,r)=>new FH(t,r).compare(new FH(e,r)),"compare");_H.exports=uAe});var OH=f((DTe,UH)=>{"use strict";var dAe=mn(),mAe=o((t,e,r)=>dAe(e,t,r),"rcompare");UH.exports=mAe});var HH=f((TTe,qH)=>{"use strict";var pAe=mn(),hAe=o((t,e)=>pAe(t,e,!0),"compareLoose");qH.exports=hAe});var cf=f((LTe,GH)=>{"use strict";var zH=Ht(),fAe=o((t,e,r)=>{let n=new zH(t,r),s=new zH(e,r);return n.compare(s)||n.compareBuild(s)},"compareBuild");GH.exports=fAe});var VH=f((_Te,YH)=>{"use strict";var gAe=cf(),yAe=o((t,e)=>t.sort((r,n)=>gAe(r,n,e)),"sort");YH.exports=yAe});var WH=f((OTe,JH)=>{"use strict";var EAe=cf(),CAe=o((t,e)=>t.sort((r,n)=>EAe(n,r,e)),"rsort");JH.exports=CAe});var Hu=f((HTe,$H)=>{"use strict";var IAe=mn(),BAe=o((t,e,r)=>IAe(t,e,r)>0,"gt");$H.exports=BAe});var lf=f((GTe,jH)=>{"use strict";var QAe=mn(),xAe=o((t,e,r)=>QAe(t,e,r)<0,"lt");jH.exports=xAe});var cb=f((VTe,KH)=>{"use strict";var bAe=mn(),wAe=o((t,e,r)=>bAe(t,e,r)===0,"eq");KH.exports=wAe});var lb=f((WTe,XH)=>{"use strict";var NAe=mn(),SAe=o((t,e,r)=>NAe(t,e,r)!==0,"neq");XH.exports=SAe});var Af=f((jTe,ZH)=>{"use strict";var RAe=mn(),PAe=o((t,e,r)=>RAe(t,e,r)>=0,"gte");ZH.exports=PAe});var uf=f((XTe,ez)=>{"use strict";var vAe=mn(),DAe=o((t,e,r)=>vAe(t,e,r)<=0,"lte");ez.exports=DAe});var Ab=f((eMe,tz)=>{"use strict";var kAe=cb(),TAe=lb(),MAe=Hu(),LAe=Af(),FAe=lf(),_Ae=uf(),UAe=o((t,e,r,n)=>{switch(e){case"===":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t===r;case"!==":return typeof t=="object"&&(t=t.version),typeof r=="object"&&(r=r.version),t!==r;case"":case"=":case"==":return kAe(t,r,n);case"!=":return TAe(t,r,n);case">":return MAe(t,r,n);case">=":return LAe(t,r,n);case"<":return FAe(t,r,n);case"<=":return _Ae(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}},"cmp");tz.exports=UAe});var nz=f((rMe,rz)=>{"use strict";var OAe=Ht(),qAe=da(),{safeRe:df,t:mf}=al(),HAe=o((t,e)=>{if(t instanceof OAe)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?df[mf.COERCEFULL]:df[mf.COERCE]);else{let l=e.includePrerelease?df[mf.COERCERTLFULL]:df[mf.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 qAe(`${n}.${s}.${i}${a}${c}`,e)},"coerce");rz.exports=HAe});var iz=f((sMe,sz)=>{"use strict";var ub=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}};sz.exports=ub});var pn=f((oMe,lz)=>{"use strict";var zAe=/\s+/g,db=class t{static{o(this,"Range")}constructor(e,r){if(r=YAe(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof mb)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(zAe," "),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=>!az(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&&XAe(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&&jAe)|(this.options.loose&&KAe))+":"+e,s=oz.get(n);if(s)return s;let i=this.options.loose,a=i?Xt[zt.HYPHENRANGELOOSE]:Xt[zt.HYPHENRANGE];e=e.replace(a,cue(this.options.includePrerelease)),Me("hyphen replace",e),e=e.replace(Xt[zt.COMPARATORTRIM],JAe),Me("comparator trim",e),e=e.replace(Xt[zt.TILDETRIM],WAe),Me("tilde trim",e),e=e.replace(Xt[zt.CARETTRIM],$Ae),Me("caret trim",e);let c=e.split(" ").map(d=>ZAe(d,this.options)).join(" ").split(/\s+/).map(d=>aue(d,this.options));i&&(c=c.filter(d=>(Me("loose invalid filter",d,this.options),!!d.match(Xt[zt.COMPARATORLOOSE])))),Me("range list",c);let l=new Map,A=c.map(d=>new mb(d,this.options));for(let d of A){if(az(d))return[d];l.set(d.value,d)}l.size>1&&l.has("")&&l.delete("");let u=[...l.values()];return oz.set(n,u),u}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>cz(n,r)&&e.set.some(s=>cz(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 VAe(e,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(lue(this.set[r],e,this.options))return!0;return!1}};lz.exports=db;var GAe=iz(),oz=new GAe,YAe=rf(),mb=zu(),Me=qu(),VAe=Ht(),{safeRe:Xt,t:zt,comparatorTrimReplace:JAe,tildeTrimReplace:WAe,caretTrimReplace:$Ae}=al(),{FLAG_INCLUDE_PRERELEASE:jAe,FLAG_LOOSE:KAe}=Ou(),az=o(t=>t.value==="<0.0.0-0","isNullSet"),XAe=o(t=>t.value==="","isAny"),cz=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"),ZAe=o((t,e)=>(t=t.replace(Xt[zt.BUILD],""),Me("comp",t,e),t=rue(t,e),Me("caret",t),t=eue(t,e),Me("tildes",t),t=sue(t,e),Me("xrange",t),t=oue(t,e),Me("stars",t),t),"parseComparator"),Zt=o(t=>!t||t.toLowerCase()==="x"||t==="*","isX"),eue=o((t,e)=>t.trim().split(/\s+/).map(r=>tue(r,e)).join(" "),"replaceTildes"),tue=o((t,e)=>{let r=e.loose?Xt[zt.TILDELOOSE]:Xt[zt.TILDE];return t.replace(r,(n,s,i,a,c)=>{Me("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?(Me("replaceTilde pr",c),l=`>=${s}.${i}.${a}-${c} <${s}.${+i+1}.0-0`):l=`>=${s}.${i}.${a} <${s}.${+i+1}.0-0`,Me("tilde return",l),l})},"replaceTilde"),rue=o((t,e)=>t.trim().split(/\s+/).map(r=>nue(r,e)).join(" "),"replaceCarets"),nue=o((t,e)=>{Me("caret",t,e);let r=e.loose?Xt[zt.CARETLOOSE]:Xt[zt.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(s,i,a,c,l)=>{Me("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?(Me("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`):(Me("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`),Me("caret return",A),A})},"replaceCaret"),sue=o((t,e)=>(Me("replaceXRanges",t,e),t.split(/\s+/).map(r=>iue(r,e)).join(" ")),"replaceXRanges"),iue=o((t,e)=>{t=t.trim();let r=e.loose?Xt[zt.XRANGELOOSE]:Xt[zt.XRANGE];return t.replace(r,(n,s,i,a,c,l)=>{Me("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`),Me("xRange return",n),n})},"replaceXRange"),oue=o((t,e)=>(Me("replaceStars",t,e),t.trim().replace(Xt[zt.STAR],"")),"replaceStars"),aue=o((t,e)=>(Me("replaceGTE0",t,e),t.trim().replace(Xt[e.includePrerelease?zt.GTE0PRE:zt.GTE0],"")),"replaceGTE0"),cue=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"),lue=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(Me(t[n].semver),t[n].semver!==mb.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 zu=f((cMe,hz)=>{"use strict";var Gu=Symbol("SemVer ANY"),fb=class t{static{o(this,"Comparator")}static get ANY(){return Gu}constructor(e,r){if(r=Az(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),hb("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Gu?this.value="":this.value=this.operator+this.semver.version,hb("comp",this)}parse(e){let r=this.options.loose?uz[dz.COMPARATORLOOSE]:uz[dz.COMPARATOR],n=e.match(r);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new mz(n[2],this.options.loose):this.semver=Gu}toString(){return this.value}test(e){if(hb("Comparator.test",e,this.options.loose),this.semver===Gu||e===Gu)return!0;if(typeof e=="string")try{e=new mz(e,this.options)}catch{return!1}return pb(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 pz(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new pz(this.value,r).test(e.semver):(r=Az(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("=")||pb(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||pb(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};hz.exports=fb;var Az=rf(),{safeRe:uz,t:dz}=al(),pb=Ab(),hb=qu(),mz=Ht(),pz=pn()});var Yu=f((AMe,fz)=>{"use strict";var Aue=pn(),uue=o((t,e,r)=>{try{e=new Aue(e,r)}catch{return!1}return e.test(t)},"satisfies");fz.exports=uue});var yz=f((dMe,gz)=>{"use strict";var due=pn(),mue=o((t,e)=>new due(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" ")),"toComparators");gz.exports=mue});var Cz=f((pMe,Ez)=>{"use strict";var pue=Ht(),hue=pn(),fue=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new hue(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===-1)&&(n=a,s=new pue(n,r))}),n},"maxSatisfying");Ez.exports=fue});var Bz=f((fMe,Iz)=>{"use strict";var gue=Ht(),yue=pn(),Eue=o((t,e,r)=>{let n=null,s=null,i=null;try{i=new yue(e,r)}catch{return null}return t.forEach(a=>{i.test(a)&&(!n||s.compare(a)===1)&&(n=a,s=new gue(n,r))}),n},"minSatisfying");Iz.exports=Eue});var bz=f((yMe,xz)=>{"use strict";var gb=Ht(),Cue=pn(),Qz=Hu(),Iue=o((t,e)=>{t=new Cue(t,e);let r=new gb("0.0.0");if(t.test(r)||(r=new gb("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 gb(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||Qz(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||Qz(r,i))&&(r=i)}return r&&t.test(r)?r:null},"minVersion");xz.exports=Iue});var Nz=f((CMe,wz)=>{"use strict";var Bue=pn(),Que=o((t,e)=>{try{return new Bue(t,e).range||"*"}catch{return null}},"validRange");wz.exports=Que});var pf=f((BMe,vz)=>{"use strict";var xue=Ht(),Pz=zu(),{ANY:bue}=Pz,wue=pn(),Nue=Yu(),Sz=Hu(),Rz=lf(),Sue=uf(),Rue=Af(),Pue=o((t,e,r,n)=>{t=new xue(t,n),e=new wue(e,n);let s,i,a,c,l;switch(r){case">":s=Sz,i=Sue,a=Rz,c=">",l=">=";break;case"<":s=Rz,i=Rue,a=Sz,c="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Nue(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===bue&&(p=new Pz(">=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");vz.exports=Pue});var kz=f((xMe,Dz)=>{"use strict";var vue=pf(),Due=o((t,e,r)=>vue(t,e,">",r),"gtr");Dz.exports=Due});var Mz=f((wMe,Tz)=>{"use strict";var kue=pf(),Tue=o((t,e,r)=>kue(t,e,"<",r),"ltr");Tz.exports=Tue});var _z=f((SMe,Fz)=>{"use strict";var Lz=pn(),Mue=o((t,e,r)=>(t=new Lz(t,r),e=new Lz(e,r),t.intersects(e,r)),"intersects");Fz.exports=Mue});var Oz=f((PMe,Uz)=>{"use strict";var Lue=Yu(),Fue=mn();Uz.exports=(t,e,r)=>{let n=[],s=null,i=null,a=t.sort((u,d)=>Fue(u,d,r));for(let u of a)Lue(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 Vz=f((vMe,Yz)=>{"use strict";var qz=pn(),Eb=zu(),{ANY:yb}=Eb,Vu=Yu(),Cb=mn(),_ue=o((t,e,r={})=>{if(t===e)return!0;t=new qz(t,r),e=new qz(e,r);let n=!1;e:for(let s of t.set){for(let i of e.set){let a=Oue(s,i,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},"subset"),Uue=[new Eb(">=0.0.0-0")],Hz=[new Eb(">=0.0.0")],Oue=o((t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===yb){if(e.length===1&&e[0].semver===yb)return!0;r.includePrerelease?t=Uue:t=Hz}if(e.length===1&&e[0].semver===yb){if(r.includePrerelease)return!0;e=Hz}let n=new Set,s,i;for(let p of t)p.operator===">"||p.operator===">="?s=zz(s,p,r):p.operator==="<"||p.operator==="<="?i=Gz(i,p,r):n.add(p.semver);if(n.size>1)return null;let a;if(s&&i){if(a=Cb(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&&!Vu(p,String(s),r)||i&&!Vu(p,String(i),r))return null;for(let h of e)if(!Vu(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=zz(s,p,r),c===p&&c!==s)return!1}else if(s.operator===">="&&!Vu(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=Gz(i,p,r),l===p&&l!==i)return!1}else if(i.operator==="<="&&!Vu(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"),zz=o((t,e,r)=>{if(!t)return e;let n=Cb(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},"higherGT"),Gz=o((t,e,r)=>{if(!t)return e;let n=Cb(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t},"lowerLT");Yz.exports=_ue});var jz=f((kMe,$z)=>{"use strict";var Ib=al(),Jz=Ou(),que=Ht(),Wz=ib(),Hue=da(),zue=CH(),Gue=BH(),Yue=bH(),Vue=SH(),Jue=PH(),Wue=DH(),$ue=TH(),jue=LH(),Kue=mn(),Xue=OH(),Zue=HH(),ede=cf(),tde=VH(),rde=WH(),nde=Hu(),sde=lf(),ide=cb(),ode=lb(),ade=Af(),cde=uf(),lde=Ab(),Ade=nz(),ude=zu(),dde=pn(),mde=Yu(),pde=yz(),hde=Cz(),fde=Bz(),gde=bz(),yde=Nz(),Ede=pf(),Cde=kz(),Ide=Mz(),Bde=_z(),Qde=Oz(),xde=Vz();$z.exports={parse:Hue,valid:zue,clean:Gue,inc:Yue,diff:Vue,major:Jue,minor:Wue,patch:$ue,prerelease:jue,compare:Kue,rcompare:Xue,compareLoose:Zue,compareBuild:ede,sort:tde,rsort:rde,gt:nde,lt:sde,eq:ide,neq:ode,gte:ade,lte:cde,cmp:lde,coerce:Ade,Comparator:ude,Range:dde,satisfies:mde,toComparators:pde,maxSatisfying:hde,minSatisfying:fde,minVersion:gde,validRange:yde,outside:Ede,gtr:Cde,ltr:Ide,intersects:Bde,simplifyRange:Qde,subset:xde,SemVer:que,re:Ib.re,src:Ib.src,tokens:Ib.t,SEMVER_SPEC_VERSION:Jz.SEMVER_SPEC_VERSION,RELEASE_TYPES:Jz.RELEASE_TYPES,compareIdentifiers:Wz.compareIdentifiers,rcompareIdentifiers:Wz.rcompareIdentifiers}});var _G=f((_Fe,FG)=>{var pl=1e3,hl=pl*60,fl=hl*60,Ea=fl*24,ome=Ea*7,ame=Ea*365.25;FG.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return cme(t);if(r==="number"&&isFinite(t))return e.long?Ame(t):lme(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function cme(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*ame;case"weeks":case"week":case"w":return r*ome;case"days":case"day":case"d":return r*Ea;case"hours":case"hour":case"hrs":case"hr":case"h":return r*fl;case"minutes":case"minute":case"mins":case"min":case"m":return r*hl;case"seconds":case"second":case"secs":case"sec":case"s":return r*pl;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}o(cme,"parse");function lme(t){var e=Math.abs(t);return e>=Ea?Math.round(t/Ea)+"d":e>=fl?Math.round(t/fl)+"h":e>=hl?Math.round(t/hl)+"m":e>=pl?Math.round(t/pl)+"s":t+"ms"}o(lme,"fmtShort");function Ame(t){var e=Math.abs(t);return e>=Ea?Uf(t,e,Ea,"day"):e>=fl?Uf(t,e,fl,"hour"):e>=hl?Uf(t,e,hl,"minute"):e>=pl?Uf(t,e,pl,"second"):t+" ms"}o(Ame,"fmtLong");function Uf(t,e,r,n){var s=e>=r*1.5;return Math.round(t/r)+" "+n+(s?"s":"")}o(Uf,"plural")});var Vb=f((OFe,UG)=>{function ume(t){r.debug=r,r.default=r,r.coerce=l,r.disable=i,r.enable=s,r.enabled=a,r.humanize=_G(),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 g(...C){if(!g.enabled)return;let y=g,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,_)=>{if(k==="%%")return"%";B++;let ce=r.formatters[_];if(typeof ce=="function"){let Ee=C[B];k=ce.call(y,Ee),C.splice(B,1),B--}return k}),r.formatArgs.call(y,C),(y.log||r.log).apply(y,C)}return o(g,"debug"),g.namespace=u,g.useColors=r.useColors(),g.color=r.selectColor(u),g.extend=n,g.destroy=r.destroy,Object.defineProperty(g,"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(g),g}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(ume,"setup");UG.exports=ume});var OG=f((Hr,Of)=>{Hr.formatArgs=mme;Hr.save=pme;Hr.load=hme;Hr.useColors=dme;Hr.storage=fme();Hr.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`."))}})();Hr.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 dme(){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(dme,"useColors");function mme(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+Of.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(mme,"formatArgs");Hr.log=console.debug||console.log||(()=>{});function pme(t){try{t?Hr.storage.setItem("debug",t):Hr.storage.removeItem("debug")}catch{}}o(pme,"save");function hme(){let t;try{t=Hr.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}o(hme,"load");function fme(){try{return localStorage}catch{}}o(fme,"localstorage");Of.exports=Vb()(Hr);var{formatters:gme}=Of.exports;gme.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var HG=f((zFe,qG)=>{"use strict";qG.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 YG=f((GFe,GG)=>{"use strict";var yme=require("os"),zG=require("tty"),fn=HG(),{env:wt}=process,go;fn("no-color")||fn("no-colors")||fn("color=false")||fn("color=never")?go=0:(fn("color")||fn("colors")||fn("color=true")||fn("color=always"))&&(go=1);"FORCE_COLOR"in wt&&(wt.FORCE_COLOR==="true"?go=1:wt.FORCE_COLOR==="false"?go=0:go=wt.FORCE_COLOR.length===0?1:Math.min(parseInt(wt.FORCE_COLOR,10),3));function Jb(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}o(Jb,"translateLevel");function Wb(t,e){if(go===0)return 0;if(fn("color=16m")||fn("color=full")||fn("color=truecolor"))return 3;if(fn("color=256"))return 2;if(t&&!e&&go===void 0)return 0;let r=go||0;if(wt.TERM==="dumb")return r;if(process.platform==="win32"){let n=yme.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in wt)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in wt)||wt.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in wt)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(wt.TEAMCITY_VERSION)?1:0;if(wt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in wt){let n=parseInt((wt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(wt.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(wt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(wt.TERM)||"COLORTERM"in wt?1:r}o(Wb,"supportsColor");function Eme(t){let e=Wb(t,t&&t.isTTY);return Jb(e)}o(Eme,"getSupportLevel");GG.exports={supportsColor:Eme,stdout:Jb(Wb(!0,zG.isatty(1))),stderr:Jb(Wb(!0,zG.isatty(2)))}});var JG=f((Tt,Hf)=>{var Cme=require("tty"),qf=require("util");Tt.init=Nme;Tt.log=xme;Tt.formatArgs=Bme;Tt.save=bme;Tt.load=wme;Tt.useColors=Ime;Tt.destroy=qf.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Tt.colors=[6,2,3,4,5,1];try{let t=YG();t&&(t.stderr||t).level>=2&&(Tt.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{}Tt.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 Ime(){return"colors"in Tt.inspectOpts?!!Tt.inspectOpts.colors:Cme.isatty(process.stderr.fd)}o(Ime,"useColors");function Bme(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+"+Hf.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=Qme()+e+" "+t[0]}o(Bme,"formatArgs");function Qme(){return Tt.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(Qme,"getDate");function xme(...t){return process.stderr.write(qf.format(...t)+`
|
|
`)}o(xme,"log");function bme(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(bme,"save");function wme(){return process.env.DEBUG}o(wme,"load");function Nme(t){t.inspectOpts={};let e=Object.keys(Tt.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=Tt.inspectOpts[e[r]]}o(Nme,"init");Hf.exports=Vb()(Tt);var{formatters:VG}=Hf.exports;VG.o=function(t){return this.inspectOpts.colors=this.useColors,qf.inspect(t,this.inspectOpts).split(`
|
|
`).map(e=>e.trim()).join(" ")};VG.O=function(t){return this.inspectOpts.colors=this.useColors,qf.inspect(t,this.inspectOpts)}});var zf=f((JFe,$b)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?$b.exports=OG():$b.exports=JG()});var jG=f(gr=>{"use strict";var Sme=gr&&gr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Rme=gr&&gr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),WG=gr&&gr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Sme(e,t,r);return Rme(e,t),e};Object.defineProperty(gr,"__esModule",{value:!0});gr.req=gr.json=gr.toBuffer=void 0;var Pme=WG(require("http")),vme=WG(require("https"));async function $G(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o($G,"toBuffer");gr.toBuffer=$G;async function Dme(t){let r=(await $G(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let s=n;throw s.message+=` (input: ${r})`,s}}o(Dme,"json");gr.json=Dme;function kme(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?vme:Pme).request(t,e),s=new Promise((i,a)=>{n.once("response",i).once("error",a).end()});return n.then=s.then.bind(s),n}o(kme,"req");gr.req=kme});var eY=f(zr=>{"use strict";var XG=zr&&zr.__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]})),Tme=zr&&zr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),ZG=zr&&zr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&XG(e,t,r);return Tme(e,t),e},Mme=zr&&zr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&XG(e,t,r)};Object.defineProperty(zr,"__esModule",{value:!0});zr.Agent=void 0;var Lme=ZG(require("net")),KG=ZG(require("http")),Fme=require("https");Mme(jG(),zr);var Es=Symbol("AgentBaseInternalState"),jb=class extends KG.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Es]={}}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 Lme.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)?Fme.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 KG.Agent)try{return c.addRequest(e,s)}catch(l){return n(l)}this[Es].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(i,a),n(c)})}createConnection(){let e=this[Es].currentSocket;if(this[Es].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Es].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Es]&&(this[Es].defaultPort=e)}get protocol(){return this[Es].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Es]&&(this[Es].protocol=e)}};zr.Agent=jb});var tY=f(gl=>{"use strict";var _me=gl&&gl.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(gl,"__esModule",{value:!0});gl.parseProxyResponse=void 0;var Ume=_me(zf()),Gf=(0,Ume.default)("https-proxy-agent:parse-proxy-response");function Ome(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(),Gf("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(u){a(),Gf("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){Gf("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 g=h.split(" "),C=+g[1],y=g.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(),_=E[N];typeof _=="string"?E[N]=[_,k]:Array.isArray(_)?_.push(k):E[N]=k}Gf("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(Ome,"parseProxyResponse");gl.parseProxyResponse=Ome});var aY=f(gn=>{"use strict";var qme=gn&&gn.__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]})),Hme=gn&&gn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),iY=gn&&gn.__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)&&qme(e,t,r);return Hme(e,t),e},oY=gn&&gn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(gn,"__esModule",{value:!0});gn.HttpsProxyAgent=void 0;var Yf=iY(require("net")),rY=iY(require("tls")),zme=oY(require("assert")),Gme=oY(zf()),Yme=eY(),Vme=require("url"),Jme=tY(),nd=(0,Gme.default)("https-proxy-agent"),nY=o(t=>t.servername===void 0&&t.host&&!Yf.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),Vf=class extends Yme.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new Vme.URL(e):e,this.proxyHeaders=r?.headers??{},nd("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?sY(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:"?(nd("Creating `tls.Socket`: %o",this.connectOpts),s=rY.connect(nY(this.connectOpts))):(nd("Creating `net.Socket`: %o",this.connectOpts),s=Yf.connect(this.connectOpts));let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=Yf.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,Jme.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",Wme),r.secureEndpoint?(nd("Upgrading socket connection to TLS"),rY.connect({...sY(nY(r),"host","path","port"),socket:s})):s;s.destroy();let d=new Yf.Socket({writable:!1});return d.readable=!0,e.once("socket",m=>{nd("Replaying proxy buffer for failed request"),(0,zme.default)(m.listenerCount("data")>0),m.push(u),m.push(null)}),d}};Vf.protocols=["http","https"];gn.HttpsProxyAgent=Vf;function Wme(t){t.resume()}o(Wme,"resume");function sY(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(sY,"omit")});var AY=f(yr=>{"use strict";var $me=yr&&yr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),jme=yr&&yr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),cY=yr&&yr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&$me(e,t,r);return jme(e,t),e};Object.defineProperty(yr,"__esModule",{value:!0});yr.req=yr.json=yr.toBuffer=void 0;var Kme=cY(require("http")),Xme=cY(require("https"));async function lY(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}o(lY,"toBuffer");yr.toBuffer=lY;async function Zme(t){let r=(await lY(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let s=n;throw s.message+=` (input: ${r})`,s}}o(Zme,"json");yr.json=Zme;function epe(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?Xme:Kme).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(epe,"req");yr.req=epe});var pY=f(Gr=>{"use strict";var dY=Gr&&Gr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),tpe=Gr&&Gr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),mY=Gr&&Gr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&dY(e,t,r);return tpe(e,t),e},rpe=Gr&&Gr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&dY(e,t,r)};Object.defineProperty(Gr,"__esModule",{value:!0});Gr.Agent=void 0;var npe=mY(require("net")),uY=mY(require("http")),spe=require("https");rpe(AY(),Gr);var Cs=Symbol("AgentBaseInternalState"),Kb=class extends uY.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Cs]={}}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 npe.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))?spe.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 uY.Agent)return c.addRequest(e,s);this[Cs].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(i,a),n(c)})}createConnection(){let e=this[Cs].currentSocket;if(this[Cs].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Cs].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Cs]&&(this[Cs].defaultPort=e)}get protocol(){return this[Cs].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Cs]&&(this[Cs].protocol=e)}};Gr.Agent=Kb});var gY=f(yn=>{"use strict";var ipe=yn&&yn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),ope=yn&&yn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),fY=yn&&yn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&ipe(e,t,r);return ope(e,t),e},ape=yn&&yn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(yn,"__esModule",{value:!0});yn.HttpProxyAgent=void 0;var cpe=fY(require("net")),lpe=fY(require("tls")),Ape=ape(zf()),upe=require("events"),dpe=pY(),hY=require("url"),yl=(0,Ape.default)("http-proxy-agent"),Jf=class extends dpe.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new hY.URL(e):e,this.proxyHeaders=r?.headers??{},yl("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?mpe(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 hY.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;yl("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(yl("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),yl("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(yl("Creating `tls.Socket`: %o",this.connectOpts),i=lpe.connect(this.connectOpts)):(yl("Creating `net.Socket`: %o",this.connectOpts),i=cpe.connect(this.connectOpts)),await(0,upe.once)(i,"connect"),i}};Jf.protocols=["http","https"];yn.HttpProxyAgent=Jf;function mpe(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}o(mpe,"omit")});var UY=f(ag=>{"use strict";Object.defineProperty(ag,"__esModule",{value:!0});ag.state=void 0;ag.state={instrumenterImplementation:void 0}});var rV=f(dg=>{"use strict";Object.defineProperty(dg,"__esModule",{value:!0});dg.state=void 0;dg.state={operationRequestMap:new WeakMap}});var T3=f(Ll=>{"use strict";Object.defineProperty(Ll,"__esModule",{value:!0});var kEe=require("os"),TEe=require("util");function MEe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(MEe,"_interopDefaultLegacy");var LEe=MEe(TEe);function FEe(t,...e){process.stderr.write(`${LEe.default.format(t,...e)}${kEe.EOL}`)}o(FEe,"log");var x3=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,w3,RR=[],PR=[],vy=[];x3&&vR(x3);var N3=Object.assign(t=>S3(t),{enable:vR,enabled:DR,disable:_Ee,log:FEe});function vR(t){w3=t,RR=[],PR=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?PR.push(new RegExp(`^${n.substr(1)}$`)):RR.push(new RegExp(`^${n}$`));for(let n of vy)n.enabled=DR(n.namespace)}o(vR,"enable");function DR(t){if(t.endsWith("*"))return!0;for(let e of PR)if(e.test(t))return!1;for(let e of RR)if(e.test(t))return!0;return!1}o(DR,"enabled");function _Ee(){let t=w3||"";return vR(""),t}o(_Ee,"disable");function S3(t){let e=Object.assign(r,{enabled:DR(t),destroy:UEe,log:N3.log,namespace:t,extend:OEe});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),vy.push(e),e}o(S3,"createDebugger");function UEe(){let t=vy.indexOf(this);return t>=0?(vy.splice(t,1),!0):!1}o(UEe,"destroy");function OEe(t){let e=S3(`${this.namespace}:${t}`);return e.log=this.log,e}o(OEe,"extend");var Gd=N3,R3=new Set,Ry=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,Dy,ky=Gd("azure");ky.log=(...t)=>{Gd.log(...t)};var kR=["verbose","info","warning","error"];Ry&&(k3(Ry)?P3(Ry):console.error(`AZURE_LOG_LEVEL set to unknown log level '${Ry}'; logging is not enabled. Acceptable values: ${kR.join(", ")}.`));function P3(t){if(t&&!k3(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${kR.join(",")}`);Dy=t;let e=[];for(let r of R3)D3(r)&&e.push(r.namespace);Gd.enable(e.join(","))}o(P3,"setLogLevel");function qEe(){return Dy}o(qEe,"getLogLevel");var b3={verbose:400,info:300,warning:200,error:100};function HEe(t){let e=ky.extend(t);return v3(ky,e),{error:Py(e,"error"),warning:Py(e,"warning"),info:Py(e,"info"),verbose:Py(e,"verbose")}}o(HEe,"createClientLogger");function v3(t,e){e.log=(...r)=>{t.log(...r)}}o(v3,"patchLogMethod");function Py(t,e){let r=Object.assign(t.extend(e),{level:e});if(v3(t,r),D3(r)){let n=Gd.disable();Gd.enable(n+","+r.namespace)}return R3.add(r),r}o(Py,"createLogger");function D3(t){return!!(Dy&&b3[t.level]<=b3[Dy])}o(D3,"shouldEnable");function k3(t){return kR.includes(t)}o(k3,"isAzureLogLevel");Ll.AzureLogger=ky;Ll.createClientLogger=HEe;Ll.getLogLevel=qEe;Ll.setLogLevel=P3});var LR=f(Vd=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});var Fl=new WeakMap,Ty=new WeakMap,Yd=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,Fl.set(this,[]),Ty.set(this,!1)}get aborted(){if(!Ty.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return Ty.get(this)}static get none(){return new t}addEventListener(e,r){if(!Fl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");Fl.get(this).push(r)}removeEventListener(e,r){if(!Fl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=Fl.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 M3(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=Fl.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),Ty.set(t,!0)}o(M3,"abortSignal");var TR=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},MR=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new Yd,!!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(){M3(this._signal)}static timeout(e){let r=new Yd,n=setTimeout(M3,e,r);return typeof n.unref=="function"&&n.unref(),r}};Vd.AbortController=MR;Vd.AbortError=TR;Vd.AbortSignal=Yd});var O3=f(Xe=>{"use strict";Object.defineProperty(Xe,"__esModule",{value:!0});var zEe=LR(),zR=require("crypto");function L3(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:s}=e??{};return new Promise((i,a)=>{function c(){a(new zEe.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(L3,"createAbortablePromise");var GEe="The delay was aborted.";function YEe(t,e){let r,{abortSignal:n,abortErrorMsg:s}=e??{};return L3(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:s??GEe})}o(YEe,"delay");function VEe(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(VEe,"getRandomIntegerInclusive");function F3(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(F3,"isObject");function _3(t){if(F3(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(_3,"isError");function JEe(t){if(_3(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(JEe,"getErrorMessage");async function WEe(t,e,r){let n=Buffer.from(t,"base64");return zR.createHmac("sha256",n).update(e).digest(r)}o(WEe,"computeSha256Hmac");async function $Ee(t,e){return zR.createHash("sha256").update(t).digest(e)}o($Ee,"computeSha256Hash");function GR(t){return typeof t<"u"&&t!==null}o(GR,"isDefined");function jEe(t,e){if(!GR(t)||typeof t!="object")return!1;for(let r of e)if(!U3(t,r))return!1;return!0}o(jEe,"isObjectWithProperties");function U3(t,e){return GR(t)&&typeof t=="object"&&e in t}o(U3,"objectHasProperty");function KEe(){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(KEe,"generateUUID");var FR,HR=typeof((FR=globalThis?.crypto)===null||FR===void 0?void 0:FR.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):zR.randomUUID;HR||(HR=KEe);function XEe(){return HR()}o(XEe,"randomUUID");var _R,UR,OR,qR,ZEe=typeof window<"u"&&typeof window.document<"u",eCe=typeof self=="object"&&typeof self?.importScripts=="function"&&(((_R=self.constructor)===null||_R===void 0?void 0:_R.name)==="DedicatedWorkerGlobalScope"||((UR=self.constructor)===null||UR===void 0?void 0:UR.name)==="ServiceWorkerGlobalScope"||((OR=self.constructor)===null||OR===void 0?void 0:OR.name)==="SharedWorkerGlobalScope"),tCe=typeof process<"u"&&!!process.version&&!!(!((qR=process.versions)===null||qR===void 0)&&qR.node),rCe=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",nCe=typeof Bun<"u"&&typeof Bun.version<"u",sCe=typeof navigator<"u"&&navigator?.product==="ReactNative";function iCe(t,e){switch(e){case"utf-8":return lCe(t);case"base64":return aCe(t);case"base64url":return cCe(t)}}o(iCe,"uint8ArrayToString");function oCe(t,e){switch(e){case"utf-8":return ACe(t);case"base64":return uCe(t);case"base64url":return dCe(t)}}o(oCe,"stringToUint8Array");function aCe(t){return Buffer.from(t).toString("base64")}o(aCe,"uint8ArrayToBase64");function cCe(t){return Buffer.from(t).toString("base64url")}o(cCe,"uint8ArrayToBase64Url");function lCe(t){return Buffer.from(t).toString("utf-8")}o(lCe,"uint8ArrayToUtf8String");function ACe(t){return Buffer.from(t)}o(ACe,"utf8StringToUint8Array");function uCe(t){return Buffer.from(t,"base64")}o(uCe,"base64ToUint8Array");function dCe(t){return Buffer.from(t,"base64url")}o(dCe,"base64UrlToUint8Array");Xe.computeSha256Hash=$Ee;Xe.computeSha256Hmac=WEe;Xe.createAbortablePromise=L3;Xe.delay=YEe;Xe.getErrorMessage=JEe;Xe.getRandomIntegerInclusive=VEe;Xe.isBrowser=ZEe;Xe.isBun=nCe;Xe.isDefined=GR;Xe.isDeno=rCe;Xe.isError=_3;Xe.isNode=tCe;Xe.isObject=F3;Xe.isObjectWithProperties=jEe;Xe.isReactNative=sCe;Xe.isWebWorker=eCe;Xe.objectHasProperty=U3;Xe.randomUUID=XEe;Xe.stringToUint8Array=oCe;Xe.uint8ArrayToString=iCe});var a4=f(_a=>{"use strict";Object.defineProperty(_a,"__esModule",{value:!0});var mCe=T3(),q3=LR(),pCe=O3(),Fa=mCe.createClientLogger("core-lro"),z3=2e3,G3=["succeeded","canceled","failed"];function Y3(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}o(Y3,"deserializeState");function H3(t){let{state:e,stateProxy:r,isOperationError:n}=t;return s=>{throw n(s)&&(r.setError(e,s),r.setFailed(e)),s}}o(H3,"setStateError");function hCe(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}o(hCe,"appendReadableErrorMessage");function fCe(t){let e=t.message,r=t.code,n=t;for(;n.innererror;)n=n.innererror,r=n.code,e=hCe(e,n.message);return{code:r,message:e}}o(fCe,"simplifyError");function V3(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}=fCe(A);u=`. ${m}. ${p}`}let d=`The long-running operation has failed${u}`;r.setError(e,new Error(d)),r.setFailed(e),Fa.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,gCe({response:c,state:e,processResult:i}))}o(V3,"processOperationStatus");function gCe(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}o(gCe,"buildResult");async function J3(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};Fa.verbose("LRO: Operation description:",d);let m=r.initState(d),p=s({response:u,state:m,operationLocation:c});return V3({state:m,status:p,stateProxy:r,response:u,setErrorAsResult:a,processResult:n}),m}o(J3,"initOperation");async function yCe(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(H3({state:r,stateProxy:n,isOperationError:c})),u=i(A,r);if(Fa.verbose(`LRO: Status:
|
|
Polling from: ${r.config.operationLocation}
|
|
Operation status: ${u}
|
|
Polling status: ${G3.includes(u)?"Stopped":"Running"}`),u==="succeeded"){let d=a(A,r);if(d!==void 0)return{response:await e(d).catch(H3({state:r,stateProxy:n,isOperationError:c})),status:u}}return{response:A,status:u}}o(yCe,"pollOperationHelper");async function W3(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:g,setErrorAsResult:C}=t,{operationLocation:y}=r.config;if(y!==void 0){let{response:E,status:I}=await yCe({poll:e,getOperationStatus:i,state:r,stateProxy:n,operationLocation:y,getResourceLocation:a,isOperationError:l,options:s});if(V3({status:I,response:E,state:r,stateProxy:n,isDone:g,processResult:d,getError:m,setErrorAsResult:C}),!G3.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(W3,"pollOperation");function $3(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o($3,"getOperationLocationPollingUrl");function j3(t){return t.headers.location}o(j3,"getLocationHeader");function K3(t){return t.headers["operation-location"]}o(K3,"getOperationLocationHeader");function X3(t){return t.headers["azure-asyncoperation"]}o(X3,"getAzureAsyncOperationHeader");function ECe(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(ECe,"findResourceLocation");function Z3(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:s}=t,i=K3(e),a=X3(e),c=$3({operationLocation:i,azureAsyncOperation:a}),l=j3(e),A=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:ECe({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(Z3,"inferLroMode");function e4(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 JR(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 Fa.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(e4,"transformStatus");function CCe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return e4({status:r,statusCode:t.statusCode})}o(CCe,"getStatus");function ICe(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 e4({status:i,statusCode:t.statusCode})}o(ICe,"getProvisioningState");function JR(t){return t===202?"running":t<300?"succeeded":"failed"}o(JR,"toOperationStatus");function t4({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?BCe(new Date(e)):r*1e3}}o(t4,"parseRetryAfter");function r4(t){let e=t.flatResponse.error;if(!e){Fa.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){Fa.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(r4,"getErrorFromResponse");function BCe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}o(BCe,"calculatePollingIntervalFromDate");function n4(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 JR(e.rawResponse.statusCode);case"Body":return WR(e,r);default:return"running"}}o(s,"helper");let i=s();return i==="running"&&n===void 0?"succeeded":i}o(n4,"getStatusFromInitialResponse");async function QCe(t){let{stateProxy:e,resourceLocationConfig:r,processResult:n,lro:s,setErrorAsResult:i}=t;return J3({init:o(async()=>{let a=await s.sendInitialRequest(),c=Z3({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:n4,setErrorAsResult:i})}o(QCe,"initHttpOperation");function s4({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return $3({operationLocation:K3(t),azureAsyncOperation:X3(t)});case"ResourceLocation":return j3(t);default:return}}o(s4,"getOperationLocation");function WR({rawResponse:t},e){var r;let n=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(n){case"OperationLocation":return CCe(t);case"ResourceLocation":return JR(t.statusCode);case"Body":return ICe(t);default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}o(WR,"getOperationStatus");function i4({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}o(i4,"getResourceLocation");function o4(t){return t.name==="RestError"}o(o4,"isOperationError");async function xCe(t){let{lro:e,stateProxy:r,options:n,processResult:s,updateState:i,setDelay:a,state:c,setErrorAsResult:l}=t;return W3({state:c,stateProxy:r,setDelay:a,processResult:s?({flatResponse:A},u)=>s(A,u):({flatResponse:A})=>A,getError:r4,updateState:i,getPollingInterval:t4,getOperationLocation:s4,getOperationStatus:WR,isOperationError:o4,getResourceLocation:i4,options:n,poll:o(async(A,u)=>e.sendPollRequest(A,u),"poll"),setErrorAsResult:l})}o(xCe,"pollHttpOperation");var bCe=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 wCe(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:g=z3,restoreFrom:C}=d||{},y=bCe(),E=h?(()=>{let z=!1;return(te,U)=>{U?h(te):z||h(te),z=!0}})():void 0,I=C?Y3(C):await J3({init:A,stateProxy:y,processResult:m,getOperationStatus:r,withOperationLocation:E,setErrorAsResult:!l}),B,N=new q3.AbortController,k=new Map,_=o(async()=>k.forEach(z=>z(I)),"handleProgressEvents"),ce="Operation was canceled",Ee=g,xe={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(z=>{let te=Symbol();return k.set(te,z),()=>k.delete(te)},"onProgress"),pollUntilDone:o(z=>B??(B=(async()=>{let{abortSignal:te}=z||{},{signal:U}=te?new q3.AbortController([te,N.signal]):N;if(!xe.isDone())for(await xe.poll({abortSignal:U});!xe.isDone();)await pCe.delay(Ee,{abortSignal:U}),await xe.poll({abortSignal:U});if(l)return xe.getResult();switch(I.status){case"succeeded":return xe.getResult();case"canceled":throw new Error(ce);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(z){if(l){if(xe.isDone())return}else switch(I.status){case"succeeded":return;case"canceled":throw new Error(ce);case"failed":throw I.error}if(await W3({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:z,setDelay:o(te=>{Ee=te},"setDelay"),setErrorAsResult:!l}),await _(),!l)switch(I.status){case"canceled":throw new Error(ce);case"failed":throw I.error}}};return xe}}o(wCe,"buildCreatePoller");async function NCe(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:s,restoreFrom:i,updateState:a,withOperationLocation:c,resolveOnUnsuccessful:l=!1}=e||{};return wCe({getStatusFromInitialResponse:n4,getStatusFromPollResponse:WR,isOperationError:o4,getOperationLocation:s4,getResourceLocation:i4,getPollingInterval:t4,getError:r4,resolveOnUnsuccessful:l})({init:o(async()=>{let A=await t.sendInitialRequest(),u=Z3({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(NCe,"createHttpPoller");var SCe=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"),YR=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=SCe();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await QCe({lro:this.lro,stateProxy:n,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult})));let s=this.updateState,i=this.isDone;return!this.state.isCompleted&&this.state.error===void 0&&await xCe({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 Fa.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},My=class t extends Error{static{o(this,"PollerStoppedError")}constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},Ly=class t extends Error{static{o(this,"PollerCancelledError")}constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},Fy=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 Ly("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 My("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()}},VR=class extends Fy{static{o(this,"LroEngine")}constructor(e,r){let{intervalInMs:n=z3,resumeFrom:s,resolveOnUnsuccessful:i=!1,isDone:a,lroResourceLocationConfig:c,processResult:l,updateState:A}=r||{},u=s?Y3(s):{},d=new YR(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))}};_a.LroEngine=VR;_a.Poller=Fy;_a.PollerCancelledError=Ly;_a.PollerStoppedError=My;_a.createHttpPoller=NCe});var w4=f((n6e,$Ce)=>{$Ce.exports={name:"@actions/cache",version:"6.0.1",description:"Actions cache lib",keywords:["github","actions","cache"],homepage:"https://github.com/actions/toolkit/tree/main/packages/cache",license:"MIT",type:"module",main:"lib/cache.js",types:"lib/cache.d.ts",exports:{".":{types:"./lib/cache.d.ts",import:"./lib/cache.js"}},directories:{lib:"lib",test:"__tests__"},files:["lib","!.DS_Store"],publishConfig:{access:"public"},repository:{type:"git",url:"git+https://github.com/actions/toolkit.git",directory:"packages/cache"},scripts:{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json",test:'echo "Error: run tests from root" && exit 1',tsc:"tsc && cp src/internal/shared/package-version.cjs lib/internal/shared/"},bugs:{url:"https://github.com/actions/toolkit/issues"},dependencies:{"@actions/core":"^3.0.1","@actions/exec":"^3.0.0","@actions/glob":"^0.6.1","@actions/http-client":"^4.0.1","@actions/io":"^3.0.2","@azure/core-rest-pipeline":"^1.23.0","@azure/storage-blob":"^12.31.0","@protobuf-ts/runtime-rpc":"^2.11.1",semver:"^7.7.4"},devDependencies:{"@protobuf-ts/plugin":"^2.11.1","@types/node":"^25.6.0","@types/semver":"^7.7.1",typescript:"^5.9.3"},overrides:{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}});var S4=f((s6e,N4)=>{var jCe=w4();N4.exports={version:jCe.version}});var jy=f(Hl=>{"use strict";Object.defineProperty(Hl,"__esModule",{value:!0});Hl.isJsonObject=Hl.typeofJsonValue=void 0;function sIe(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}o(sIe,"typeofJsonValue");Hl.typeofJsonValue=sIe;function iIe(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}o(iIe,"isJsonObject");Hl.isJsonObject=iIe});var Xy=f(zl=>{"use strict";Object.defineProperty(zl,"__esModule",{value:!0});zl.base64encode=zl.base64decode=void 0;var Ti="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Ky=[];for(let t=0;t<Ti.length;t++)Ky[Ti[t].charCodeAt(0)]=t;Ky[45]=Ti.indexOf("+");Ky[95]=Ti.indexOf("/");function oIe(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=Ky[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(oIe,"base64decode");zl.base64decode=oIe;function aIe(t){let e="",r=0,n,s=0;for(let i=0;i<t.length;i++)switch(n=t[i],r){case 0:e+=Ti[n>>2],s=(n&3)<<4,r=1;break;case 1:e+=Ti[s|n>>4],s=(n&15)<<2,r=2;break;case 2:e+=Ti[s|n>>6],e+=Ti[n&63],r=0;break}return r&&(e+=Ti[s],e+="=",r==1&&(e+="=")),e}o(aIe,"base64encode");zl.base64encode=aIe});var T4=f(Zy=>{"use strict";Object.defineProperty(Zy,"__esModule",{value:!0});Zy.utf8read=void 0;var sP=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function cIe(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(sP(n)),s=0);return r.length?(s&&r.push(sP(n.slice(0,s))),r.join("")):sP(n.slice(0,s))}o(cIe,"utf8read");Zy.utf8read=cIe});var em=f(Vs=>{"use strict";Object.defineProperty(Vs,"__esModule",{value:!0});Vs.WireType=Vs.mergeBinaryOptions=Vs.UnknownFieldHandler=void 0;var lIe;(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")})(lIe=Vs.UnknownFieldHandler||(Vs.UnknownFieldHandler={}));function AIe(t,e){return Object.assign(Object.assign({},t),e)}o(AIe,"mergeBinaryOptions");Vs.mergeBinaryOptions=AIe;var uIe;(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"})(uIe=Vs.WireType||(Vs.WireType={}))});var tE=f(br=>{"use strict";Object.defineProperty(br,"__esModule",{value:!0});br.varint32read=br.varint32write=br.int64toString=br.int64fromString=br.varint64write=br.varint64read=void 0;function dIe(){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(dIe,"varint64read");br.varint64read=dIe;function mIe(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(mIe,"varint64write");br.varint64write=mIe;var eE=65536*65536;function pIe(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>=eE&&(s=s+(n/eE|0),n=n%eE)}return o(i,"add1e6digit"),i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,n,s]}o(pIe,"int64fromString");br.int64fromString=pIe;function hIe(t,e){if(e>>>0<=2097151)return""+(eE*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(hIe,"int64toString");br.int64toString=hIe;function fIe(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(fIe,"varint32write");br.varint32write=fIe;function gIe(){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(gIe,"varint32read");br.varint32read=gIe});var Po=f(Ro=>{"use strict";Object.defineProperty(Ro,"__esModule",{value:!0});Ro.PbLong=Ro.PbULong=Ro.detectBi=void 0;var tm=tE(),Re;function M4(){let t=new DataView(new ArrayBuffer(8));Re=globalThis.BigInt!==void 0&&typeof t.getBigInt64=="function"&&typeof t.getBigUint64=="function"&&typeof t.setBigInt64=="function"&&typeof t.setBigUint64=="function"?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:t}:void 0}o(M4,"detectBi");Ro.detectBi=M4;M4();function L4(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}o(L4,"assertBi");var F4=/^-?[0-9]+$/,nE=4294967296,rE=2147483648,sE=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*nE+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},rm=class t extends sE{static{o(this,"PbULong")}static from(e){if(Re)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Re.C(e);case"number":if(e===0)return this.ZERO;e=Re.C(e);case"bigint":if(!e)return this.ZERO;if(e<Re.UMIN)throw new Error("signed value for ulong");if(e>Re.UMAX)throw new Error("ulong too large");return Re.V.setBigUint64(0,e,!0),new t(Re.V.getInt32(0,!0),Re.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!F4.test(e))throw new Error("string is no integer");let[r,n,s]=tm.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/nE)}throw new Error("unknown value "+typeof e)}toString(){return Re?this.toBigInt().toString():tm.int64toString(this.lo,this.hi)}toBigInt(){return L4(Re),Re.V.setInt32(0,this.lo,!0),Re.V.setInt32(4,this.hi,!0),Re.V.getBigUint64(0,!0)}};Ro.PbULong=rm;rm.ZERO=new rm(0,0);var nm=class t extends sE{static{o(this,"PbLong")}static from(e){if(Re)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Re.C(e);case"number":if(e===0)return this.ZERO;e=Re.C(e);case"bigint":if(!e)return this.ZERO;if(e<Re.MIN)throw new Error("signed long too small");if(e>Re.MAX)throw new Error("signed long too large");return Re.V.setBigInt64(0,e,!0),new t(Re.V.getInt32(0,!0),Re.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!F4.test(e))throw new Error("string is no integer");let[r,n,s]=tm.int64fromString(e);if(r){if(s>rE||s==rE&&n!=0)throw new Error("signed long too small")}else if(s>=rE)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/nE):new t(-e,-e/nE).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&rE)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(Re)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+tm.int64toString(e.lo,e.hi)}return tm.int64toString(this.lo,this.hi)}toBigInt(){return L4(Re),Re.V.setInt32(0,this.lo,!0),Re.V.setInt32(4,this.hi,!0),Re.V.getBigInt64(0,!0)}};Ro.PbLong=nm;nm.ZERO=new nm(0,0)});var iP=f(Yl=>{"use strict";Object.defineProperty(Yl,"__esModule",{value:!0});Yl.BinaryReader=Yl.binaryReadOptions=void 0;var Gl=em(),sm=Po(),_4=tE(),U4={readUnknownField:!0,readerFactory:o(t=>new iE(t),"readerFactory")};function yIe(t){return t?Object.assign(Object.assign({},U4),t):U4}o(yIe,"binaryReadOptions");Yl.binaryReadOptions=yIe;var iE=class{static{o(this,"BinaryReader")}constructor(e,r){this.varint64=_4.varint64read,this.uint32=_4.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 Gl.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case Gl.WireType.Bit64:this.pos+=4;case Gl.WireType.Bit32:this.pos+=4;break;case Gl.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case Gl.WireType.StartGroup:let s;for(;(s=this.tag()[1])!==Gl.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 sm.PbLong(...this.varint64())}uint64(){return new sm.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 sm.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 sm.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new sm.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())}};Yl.BinaryReader=iE});var Vl=f(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.assertFloat32=bn.assertUInt32=bn.assertInt32=bn.assertNever=bn.assert=void 0;function EIe(t,e){if(!t)throw new Error(e)}o(EIe,"assert");bn.assert=EIe;function CIe(t,e){throw new Error(e??"Unexpected object: "+t)}o(CIe,"assertNever");bn.assertNever=CIe;var IIe=34028234663852886e22,BIe=-34028234663852886e22,QIe=4294967295,xIe=2147483647,bIe=-2147483648;function wIe(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>xIe||t<bIe)throw new Error("invalid int 32: "+t)}o(wIe,"assertInt32");bn.assertInt32=wIe;function NIe(t){if(typeof t!="number")throw new Error("invalid uint 32: "+typeof t);if(!Number.isInteger(t)||t>QIe||t<0)throw new Error("invalid uint 32: "+t)}o(NIe,"assertUInt32");bn.assertUInt32=NIe;function SIe(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>IIe||t<BIe))throw new Error("invalid float 32: "+t)}o(SIe,"assertFloat32");bn.assertFloat32=SIe});var oP=f(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.BinaryWriter=Wl.binaryWriteOptions=void 0;var im=Po(),om=tE(),Jl=Vl(),O4={writeUnknownFields:!0,writerFactory:o(()=>new oE,"writerFactory")};function RIe(t){return t?Object.assign(Object.assign({},O4),t):O4}o(RIe,"binaryWriteOptions");Wl.binaryWriteOptions=RIe;var oE=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(Jl.assertUInt32(e);e>127;)this.buf.push(e&127|128),e=e>>>7;return this.buf.push(e),this}int32(e){return Jl.assertInt32(e),om.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){Jl.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){Jl.assertUInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setUint32(0,e,!0),this.raw(r)}sfixed32(e){Jl.assertInt32(e);let r=new Uint8Array(4);return new DataView(r.buffer).setInt32(0,e,!0),this.raw(r)}sint32(e){return Jl.assertInt32(e),e=(e<<1^e>>31)>>>0,om.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),s=im.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=im.PbULong.from(e);return n.setInt32(0,s.lo,!0),n.setInt32(4,s.hi,!0),this.raw(r)}int64(e){let r=im.PbLong.from(e);return om.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=im.PbLong.from(e),n=r.hi>>31,s=r.lo<<1^n,i=(r.hi<<1|r.lo>>>31)^n;return om.varint64write(s,i,this.buf),this}uint64(e){let r=im.PbULong.from(e);return om.varint64write(r.lo,r.hi,this.buf),this}};Wl.BinaryWriter=oE});var aP=f(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.mergeJsonOptions=vo.jsonWriteOptions=vo.jsonReadOptions=void 0;var q4={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},H4={ignoreUnknownFields:!1};function PIe(t){return t?Object.assign(Object.assign({},H4),t):H4}o(PIe,"jsonReadOptions");vo.jsonReadOptions=PIe;function vIe(t){return t?Object.assign(Object.assign({},q4),t):q4}o(vIe,"jsonWriteOptions");vo.jsonWriteOptions=vIe;function DIe(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(DIe,"mergeJsonOptions");vo.mergeJsonOptions=DIe});var am=f(aE=>{"use strict";Object.defineProperty(aE,"__esModule",{value:!0});aE.MESSAGE_TYPE=void 0;aE.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var cP=f(cE=>{"use strict";Object.defineProperty(cE,"__esModule",{value:!0});cE.lowerCamelCase=void 0;function kIe(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(kIe,"lowerCamelCase");cE.lowerCamelCase=kIe});var $n=f(It=>{"use strict";Object.defineProperty(It,"__esModule",{value:!0});It.readMessageOption=It.readFieldOption=It.readFieldOptions=It.normalizeFieldInfo=It.RepeatType=It.LongType=It.ScalarType=void 0;var z4=cP(),TIe;(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"})(TIe=It.ScalarType||(It.ScalarType={}));var MIe;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(MIe=It.LongType||(It.LongType={}));var G4;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(G4=It.RepeatType||(It.RepeatType={}));function LIe(t){var e,r,n,s;return t.localName=(e=t.localName)!==null&&e!==void 0?e:z4.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:z4.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:G4.NO,t.opt=(s=t.opt)!==null&&s!==void 0?s:t.repeat||t.oneof?!1:t.kind=="message",t}o(LIe,"normalizeFieldInfo");It.normalizeFieldInfo=LIe;function FIe(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(FIe,"readFieldOptions");It.readFieldOptions=FIe;function _Ie(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(_Ie,"readFieldOption");It.readFieldOption=_Ie;function UIe(t,e,r){let s=t.options[e];return s===void 0?s:r?r.fromJson(s):s}o(UIe,"readMessageOption");It.readMessageOption=UIe});var lP=f(wr=>{"use strict";Object.defineProperty(wr,"__esModule",{value:!0});wr.getSelectedOneofValue=wr.clearOneofValue=wr.setUnknownOneofValue=wr.setOneofValue=wr.getOneofValue=wr.isOneofGroup=void 0;function OIe(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(OIe,"isOneofGroup");wr.isOneofGroup=OIe;function qIe(t,e){return t[e]}o(qIe,"getOneofValue");wr.getOneofValue=qIe;function HIe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}o(HIe,"setOneofValue");wr.setOneofValue=HIe;function zIe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}o(zIe,"setUnknownOneofValue");wr.setUnknownOneofValue=zIe;function GIe(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}o(GIe,"clearOneofValue");wr.clearOneofValue=GIe;function YIe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}o(YIe,"getSelectedOneofValue");wr.getSelectedOneofValue=YIe});var uP=f(lE=>{"use strict";Object.defineProperty(lE,"__esModule",{value:!0});lE.ReflectionTypeCheck=void 0;var Ze=$n(),VIe=lP(),AP=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(!VIe.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,Ze.ScalarType.INT32,s):this.scalar(e,Ze.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),Ze.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 Ze.ScalarType.UINT64:case Ze.ScalarType.FIXED64:case Ze.ScalarType.INT64:case Ze.ScalarType.SFIXED64:case Ze.ScalarType.SINT64:switch(n){case Ze.LongType.BIGINT:return s=="bigint";case Ze.LongType.NUMBER:return s=="number"&&!isNaN(e);default:return s=="string"}case Ze.ScalarType.BOOL:return s=="boolean";case Ze.ScalarType.STRING:return s=="string";case Ze.ScalarType.BYTES:return e instanceof Uint8Array;case Ze.ScalarType.DOUBLE:case Ze.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 Ze.ScalarType.INT32:case Ze.ScalarType.FIXED32:case Ze.ScalarType.SFIXED32:case Ze.ScalarType.SINT32:case Ze.ScalarType.UINT32:return this.scalars(s.slice(0,n).map(i=>parseInt(i)),r,n);case Ze.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,Ze.LongType.STRING)}}};lE.ReflectionTypeCheck=AP});var uE=f(AE=>{"use strict";Object.defineProperty(AE,"__esModule",{value:!0});AE.reflectionLongConvert=void 0;var Y4=$n();function JIe(t,e){switch(e){case Y4.LongType.BIGINT:return t.toBigInt();case Y4.LongType.NUMBER:return t.toNumber();default:return t.toString()}}o(JIe,"reflectionLongConvert");AE.reflectionLongConvert=JIe});var mP=f(pE=>{"use strict";Object.defineProperty(pE,"__esModule",{value:!0});pE.ReflectionJsonReader=void 0;var V4=jy(),WIe=Xy(),Bt=$n(),dE=Po(),Oa=Vl(),mE=uE(),dP=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=V4.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(V4.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==Bt.ScalarType.BOOL&&(h=h=="true"?!0:h=="false"?!1:h),h=this.scalar(h,c.K,Bt.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"&&Oa.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 Oa.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:(Oa.assert(typeof a=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),a)}Oa.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 Bt.ScalarType.DOUBLE:case Bt.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==Bt.ScalarType.FLOAT&&Oa.assertFloat32(a),a;case Bt.ScalarType.INT32:case Bt.ScalarType.FIXED32:case Bt.ScalarType.SFIXED32:case Bt.ScalarType.SINT32:case Bt.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==Bt.ScalarType.UINT32?Oa.assertUInt32(c):Oa.assertInt32(c),c;case Bt.ScalarType.INT64:case Bt.ScalarType.SFIXED64:case Bt.ScalarType.SINT64:if(e===null)return mE.reflectionLongConvert(dE.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return mE.reflectionLongConvert(dE.PbLong.from(e),n);case Bt.ScalarType.FIXED64:case Bt.ScalarType.UINT64:if(e===null)return mE.reflectionLongConvert(dE.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return mE.reflectionLongConvert(dE.PbULong.from(e),n);case Bt.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case Bt.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 Bt.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return WIe.base64decode(e)}}catch(a){i=a.message}this.assert(!1,s+(i?" - "+i:""),e)}};pE.ReflectionJsonReader=dP});var hP=f(hE=>{"use strict";Object.defineProperty(hE,"__esModule",{value:!0});hE.ReflectionJsonWriter=void 0;var $Ie=Xy(),J4=Po(),ir=$n(),He=Vl(),pP=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);He.assert(l!==void 0),n[r.useProtoFieldName?i.name:i.jsonName]=l}return n}field(e,r,n){let s;if(e.kind=="map"){He.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);He.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);He.assert(u!==void 0),i[l.toString()]=u}break;case"enum":let c=e.V.T();for(let[l,A]of Object.entries(r)){He.assert(A===void 0||typeof A=="number");let u=this.enum(c,A,e.name,!1,!0,n.enumAsInteger);He.assert(u!==void 0),i[l.toString()]=u}break}(n.emitDefaultValues||Object.keys(i).length>0)&&(s=i)}else if(e.repeat){He.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);He.assert(A!==void 0),i.push(A)}break;case"enum":let a=e.T();for(let l=0;l<r.length;l++){He.assert(r[l]===void 0||typeof r[l]=="number");let A=this.enum(a,r[l],e.name,e.opt,!0,n.enumAsInteger);He.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);He.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){He.assert(s);return}if(!(r===0&&!i&&!s))return He.assert(typeof r=="number"),He.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){He.assert(s);return}let a=i||s;switch(e){case ir.ScalarType.INT32:case ir.ScalarType.SFIXED32:case ir.ScalarType.SINT32:return r===0?a?0:void 0:(He.assertInt32(r),r);case ir.ScalarType.FIXED32:case ir.ScalarType.UINT32:return r===0?a?0:void 0:(He.assertUInt32(r),r);case ir.ScalarType.FLOAT:He.assertFloat32(r);case ir.ScalarType.DOUBLE:return r===0?a?0:void 0:(He.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case ir.ScalarType.STRING:return r===""?a?"":void 0:(He.assert(typeof r=="string"),r);case ir.ScalarType.BOOL:return r===!1?a?!1:void 0:(He.assert(typeof r=="boolean"),r);case ir.ScalarType.UINT64:case ir.ScalarType.FIXED64:He.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=J4.PbULong.from(r);return c.isZero()&&!a?void 0:c.toString();case ir.ScalarType.INT64:case ir.ScalarType.SFIXED64:case ir.ScalarType.SINT64:He.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let l=J4.PbLong.from(r);return l.isZero()&&!a?void 0:l.toString();case ir.ScalarType.BYTES:return He.assert(r instanceof Uint8Array),r.byteLength?$Ie.base64encode(r):a?"":void 0}}};hE.ReflectionJsonWriter=pP});var gE=f(fE=>{"use strict";Object.defineProperty(fE,"__esModule",{value:!0});fE.reflectionScalarDefault=void 0;var jn=$n(),W4=uE(),$4=Po();function jIe(t,e=jn.LongType.STRING){switch(t){case jn.ScalarType.BOOL:return!1;case jn.ScalarType.UINT64:case jn.ScalarType.FIXED64:return W4.reflectionLongConvert($4.PbULong.ZERO,e);case jn.ScalarType.INT64:case jn.ScalarType.SFIXED64:case jn.ScalarType.SINT64:return W4.reflectionLongConvert($4.PbLong.ZERO,e);case jn.ScalarType.DOUBLE:case jn.ScalarType.FLOAT:return 0;case jn.ScalarType.BYTES:return new Uint8Array(0);case jn.ScalarType.STRING:return"";default:return 0}}o(jIe,"reflectionScalarDefault");fE.reflectionScalarDefault=jIe});var gP=f(yE=>{"use strict";Object.defineProperty(yE,"__esModule",{value:!0});yE.ReflectionBinaryReader=void 0;var j4=em(),ct=$n(),cm=uE(),K4=gE(),fP=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?j4.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"?ct.ScalarType.INT32:l.T,p=l.kind=="scalar"?l.L:void 0;if(u){let C=A[d];if(c==j4.WireType.LengthDelimited&&m!=ct.ScalarType.STRING&&m!=ct.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,g]=this.mapEntry(l,e,n);A[d][h]=g;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==ct.ScalarType.BOOL?a=r.bool().toString():a=this.scalar(r,e.K,ct.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=K4.reflectionScalarDefault(e.K);a=e.K==ct.ScalarType.BOOL?l.toString():l}if(c===void 0)switch(e.V.kind){case"scalar":c=K4.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 ct.ScalarType.INT32:return e.int32();case ct.ScalarType.STRING:return e.string();case ct.ScalarType.BOOL:return e.bool();case ct.ScalarType.DOUBLE:return e.double();case ct.ScalarType.FLOAT:return e.float();case ct.ScalarType.INT64:return cm.reflectionLongConvert(e.int64(),n);case ct.ScalarType.UINT64:return cm.reflectionLongConvert(e.uint64(),n);case ct.ScalarType.FIXED64:return cm.reflectionLongConvert(e.fixed64(),n);case ct.ScalarType.FIXED32:return e.fixed32();case ct.ScalarType.BYTES:return e.bytes();case ct.ScalarType.UINT32:return e.uint32();case ct.ScalarType.SFIXED32:return e.sfixed32();case ct.ScalarType.SFIXED64:return cm.reflectionLongConvert(e.sfixed64(),n);case ct.ScalarType.SINT32:return e.sint32();case ct.ScalarType.SINT64:return cm.reflectionLongConvert(e.sint64(),n)}}};yE.ReflectionBinaryReader=fP});var EP=f(EE=>{"use strict";Object.defineProperty(EE,"__esModule",{value:!0});EE.ReflectionBinaryWriter=void 0;var jr=em(),De=$n(),$l=Vl(),lm=Po(),yP=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"?De.ScalarType.INT32:i.T;if(l)if($l.assert(Array.isArray(a)),l==De.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?$l.assert(i.opt):this.scalar(r,u,i.no,a,c||i.opt);break;case"message":if(l){$l.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":$l.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?jr.UnknownFieldHandler.onWrite:s)(this.info.typeName,e,r)}mapEntry(e,r,n,s,i){e.tag(n.no,jr.WireType.LengthDelimited),e.fork();let a=s;switch(n.K){case De.ScalarType.INT32:case De.ScalarType.FIXED32:case De.ScalarType.UINT32:case De.ScalarType.SFIXED32:case De.ScalarType.SINT32:a=Number.parseInt(s);break;case De.ScalarType.BOOL:$l.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,De.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,jr.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;$l.assert(r!==De.ScalarType.BYTES&&r!==De.ScalarType.STRING),e.tag(n,jr.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=jr.WireType.Varint,s,i=r===void 0,a=r===0;switch(e){case De.ScalarType.INT32:s="int32";break;case De.ScalarType.STRING:a=i||!r.length,n=jr.WireType.LengthDelimited,s="string";break;case De.ScalarType.BOOL:a=r===!1,s="bool";break;case De.ScalarType.UINT32:s="uint32";break;case De.ScalarType.DOUBLE:n=jr.WireType.Bit64,s="double";break;case De.ScalarType.FLOAT:n=jr.WireType.Bit32,s="float";break;case De.ScalarType.INT64:a=i||lm.PbLong.from(r).isZero(),s="int64";break;case De.ScalarType.UINT64:a=i||lm.PbULong.from(r).isZero(),s="uint64";break;case De.ScalarType.FIXED64:a=i||lm.PbULong.from(r).isZero(),n=jr.WireType.Bit64,s="fixed64";break;case De.ScalarType.BYTES:a=i||!r.byteLength,n=jr.WireType.LengthDelimited,s="bytes";break;case De.ScalarType.FIXED32:n=jr.WireType.Bit32,s="fixed32";break;case De.ScalarType.SFIXED32:n=jr.WireType.Bit32,s="sfixed32";break;case De.ScalarType.SFIXED64:a=i||lm.PbLong.from(r).isZero(),n=jr.WireType.Bit64,s="sfixed64";break;case De.ScalarType.SINT32:s="sint32";break;case De.ScalarType.SINT64:a=i||lm.PbLong.from(r).isZero(),s="sint64";break}return[n,s,i||a]}};EE.ReflectionBinaryWriter=yP});var CP=f(CE=>{"use strict";Object.defineProperty(CE,"__esModule",{value:!0});CE.reflectionCreate=void 0;var KIe=gE(),XIe=am();function ZIe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},XIe.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]=KIe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}o(ZIe,"reflectionCreate");CE.reflectionCreate=ZIe});var IP=f(IE=>{"use strict";Object.defineProperty(IE,"__esModule",{value:!0});IE.reflectionMergePartial=void 0;function eBe(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(eBe,"reflectionMergePartial");IE.reflectionMergePartial=eBe});var QP=f(QE=>{"use strict";Object.defineProperty(QE,"__esModule",{value:!0});QE.reflectionEquals=void 0;var BP=$n();function tBe(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"?BP.ScalarType.INT32:n.T;if(!(n.repeat?X4(c,i,a):e8(c,i,a)))return!1;break;case"map":if(!(n.V.kind=="message"?Z4(n.V.T(),BE(i),BE(a)):X4(n.V.kind=="enum"?BP.ScalarType.INT32:n.V.T,BE(i),BE(a))))return!1;break;case"message":let l=n.T();if(!(n.repeat?Z4(l,i,a):l.equals(i,a)))return!1;break}}return!0}o(tBe,"reflectionEquals");QE.reflectionEquals=tBe;var BE=Object.values;function e8(t,e,r){if(e===r)return!0;if(t!==BP.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(e8,"primitiveEq");function X4(t,e,r){if(e.length!==r.length)return!1;for(let n=0;n<e.length;n++)if(!e8(t,e[n],r[n]))return!1;return!0}o(X4,"repeatedPrimitiveEq");function Z4(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(Z4,"repeatedMsgEq")});var n8=f(xE=>{"use strict";Object.defineProperty(xE,"__esModule",{value:!0});xE.MessageType=void 0;var rBe=am(),nBe=$n(),sBe=uP(),iBe=mP(),oBe=hP(),aBe=gP(),cBe=EP(),lBe=CP(),xP=IP(),ABe=jy(),t8=aP(),uBe=QP(),dBe=oP(),mBe=iP(),r8=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),pBe=r8[rBe.MESSAGE_TYPE]={},bP=class{static{o(this,"MessageType")}constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(nBe.normalizeFieldInfo),this.options=n??{},pBe.value=this,this.messagePrototype=Object.create(null,r8),this.refTypeCheck=new sBe.ReflectionTypeCheck(this),this.refJsonReader=new iBe.ReflectionJsonReader(this),this.refJsonWriter=new oBe.ReflectionJsonWriter(this),this.refBinReader=new aBe.ReflectionBinaryReader(this),this.refBinWriter=new cBe.ReflectionBinaryWriter(this)}create(e){let r=lBe.reflectionCreate(this);return e!==void 0&&xP.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return xP.reflectionMergePartial(this,r,e),r}equals(e,r){return uBe.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){xP.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=mBe.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,t8.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,t8.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=dBe.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 ${ABe.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}};xE.MessageType=bP});var s8=f(bE=>{"use strict";Object.defineProperty(bE,"__esModule",{value:!0});bE.containsMessageType=void 0;var hBe=am();function fBe(t){return t[hBe.MESSAGE_TYPE]!=null}o(fBe,"containsMessageType");bE.containsMessageType=fBe});var o8=f(Js=>{"use strict";Object.defineProperty(Js,"__esModule",{value:!0});Js.listEnumNumbers=Js.listEnumNames=Js.listEnumValues=Js.isEnumObject=void 0;function i8(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(i8,"isEnumObject");Js.isEnumObject=i8;function wP(t){if(!i8(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(wP,"listEnumValues");Js.listEnumValues=wP;function gBe(t){return wP(t).map(e=>e.name)}o(gBe,"listEnumNames");Js.listEnumNames=gBe;function yBe(t){return wP(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}o(yBe,"listEnumNumbers");Js.listEnumNumbers=yBe});var lt=f(W=>{"use strict";Object.defineProperty(W,"__esModule",{value:!0});var a8=jy();Object.defineProperty(W,"typeofJsonValue",{enumerable:!0,get:o(function(){return a8.typeofJsonValue},"get")});Object.defineProperty(W,"isJsonObject",{enumerable:!0,get:o(function(){return a8.isJsonObject},"get")});var c8=Xy();Object.defineProperty(W,"base64decode",{enumerable:!0,get:o(function(){return c8.base64decode},"get")});Object.defineProperty(W,"base64encode",{enumerable:!0,get:o(function(){return c8.base64encode},"get")});var EBe=T4();Object.defineProperty(W,"utf8read",{enumerable:!0,get:o(function(){return EBe.utf8read},"get")});var NP=em();Object.defineProperty(W,"WireType",{enumerable:!0,get:o(function(){return NP.WireType},"get")});Object.defineProperty(W,"mergeBinaryOptions",{enumerable:!0,get:o(function(){return NP.mergeBinaryOptions},"get")});Object.defineProperty(W,"UnknownFieldHandler",{enumerable:!0,get:o(function(){return NP.UnknownFieldHandler},"get")});var l8=iP();Object.defineProperty(W,"BinaryReader",{enumerable:!0,get:o(function(){return l8.BinaryReader},"get")});Object.defineProperty(W,"binaryReadOptions",{enumerable:!0,get:o(function(){return l8.binaryReadOptions},"get")});var A8=oP();Object.defineProperty(W,"BinaryWriter",{enumerable:!0,get:o(function(){return A8.BinaryWriter},"get")});Object.defineProperty(W,"binaryWriteOptions",{enumerable:!0,get:o(function(){return A8.binaryWriteOptions},"get")});var u8=Po();Object.defineProperty(W,"PbLong",{enumerable:!0,get:o(function(){return u8.PbLong},"get")});Object.defineProperty(W,"PbULong",{enumerable:!0,get:o(function(){return u8.PbULong},"get")});var SP=aP();Object.defineProperty(W,"jsonReadOptions",{enumerable:!0,get:o(function(){return SP.jsonReadOptions},"get")});Object.defineProperty(W,"jsonWriteOptions",{enumerable:!0,get:o(function(){return SP.jsonWriteOptions},"get")});Object.defineProperty(W,"mergeJsonOptions",{enumerable:!0,get:o(function(){return SP.mergeJsonOptions},"get")});var CBe=am();Object.defineProperty(W,"MESSAGE_TYPE",{enumerable:!0,get:o(function(){return CBe.MESSAGE_TYPE},"get")});var IBe=n8();Object.defineProperty(W,"MessageType",{enumerable:!0,get:o(function(){return IBe.MessageType},"get")});var qa=$n();Object.defineProperty(W,"ScalarType",{enumerable:!0,get:o(function(){return qa.ScalarType},"get")});Object.defineProperty(W,"LongType",{enumerable:!0,get:o(function(){return qa.LongType},"get")});Object.defineProperty(W,"RepeatType",{enumerable:!0,get:o(function(){return qa.RepeatType},"get")});Object.defineProperty(W,"normalizeFieldInfo",{enumerable:!0,get:o(function(){return qa.normalizeFieldInfo},"get")});Object.defineProperty(W,"readFieldOptions",{enumerable:!0,get:o(function(){return qa.readFieldOptions},"get")});Object.defineProperty(W,"readFieldOption",{enumerable:!0,get:o(function(){return qa.readFieldOption},"get")});Object.defineProperty(W,"readMessageOption",{enumerable:!0,get:o(function(){return qa.readMessageOption},"get")});var BBe=uP();Object.defineProperty(W,"ReflectionTypeCheck",{enumerable:!0,get:o(function(){return BBe.ReflectionTypeCheck},"get")});var QBe=CP();Object.defineProperty(W,"reflectionCreate",{enumerable:!0,get:o(function(){return QBe.reflectionCreate},"get")});var xBe=gE();Object.defineProperty(W,"reflectionScalarDefault",{enumerable:!0,get:o(function(){return xBe.reflectionScalarDefault},"get")});var bBe=IP();Object.defineProperty(W,"reflectionMergePartial",{enumerable:!0,get:o(function(){return bBe.reflectionMergePartial},"get")});var wBe=QP();Object.defineProperty(W,"reflectionEquals",{enumerable:!0,get:o(function(){return wBe.reflectionEquals},"get")});var NBe=gP();Object.defineProperty(W,"ReflectionBinaryReader",{enumerable:!0,get:o(function(){return NBe.ReflectionBinaryReader},"get")});var SBe=EP();Object.defineProperty(W,"ReflectionBinaryWriter",{enumerable:!0,get:o(function(){return SBe.ReflectionBinaryWriter},"get")});var RBe=mP();Object.defineProperty(W,"ReflectionJsonReader",{enumerable:!0,get:o(function(){return RBe.ReflectionJsonReader},"get")});var PBe=hP();Object.defineProperty(W,"ReflectionJsonWriter",{enumerable:!0,get:o(function(){return PBe.ReflectionJsonWriter},"get")});var vBe=s8();Object.defineProperty(W,"containsMessageType",{enumerable:!0,get:o(function(){return vBe.containsMessageType},"get")});var Am=lP();Object.defineProperty(W,"isOneofGroup",{enumerable:!0,get:o(function(){return Am.isOneofGroup},"get")});Object.defineProperty(W,"setOneofValue",{enumerable:!0,get:o(function(){return Am.setOneofValue},"get")});Object.defineProperty(W,"getOneofValue",{enumerable:!0,get:o(function(){return Am.getOneofValue},"get")});Object.defineProperty(W,"clearOneofValue",{enumerable:!0,get:o(function(){return Am.clearOneofValue},"get")});Object.defineProperty(W,"getSelectedOneofValue",{enumerable:!0,get:o(function(){return Am.getSelectedOneofValue},"get")});var wE=o8();Object.defineProperty(W,"listEnumValues",{enumerable:!0,get:o(function(){return wE.listEnumValues},"get")});Object.defineProperty(W,"listEnumNames",{enumerable:!0,get:o(function(){return wE.listEnumNames},"get")});Object.defineProperty(W,"listEnumNumbers",{enumerable:!0,get:o(function(){return wE.listEnumNumbers},"get")});Object.defineProperty(W,"isEnumObject",{enumerable:!0,get:o(function(){return wE.isEnumObject},"get")});var DBe=cP();Object.defineProperty(W,"lowerCamelCase",{enumerable:!0,get:o(function(){return DBe.lowerCamelCase},"get")});var um=Vl();Object.defineProperty(W,"assert",{enumerable:!0,get:o(function(){return um.assert},"get")});Object.defineProperty(W,"assertNever",{enumerable:!0,get:o(function(){return um.assertNever},"get")});Object.defineProperty(W,"assertInt32",{enumerable:!0,get:o(function(){return um.assertInt32},"get")});Object.defineProperty(W,"assertUInt32",{enumerable:!0,get:o(function(){return um.assertUInt32},"get")});Object.defineProperty(W,"assertFloat32",{enumerable:!0,get:o(function(){return um.assertFloat32},"get")})});var RP=f(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws.readServiceOption=Ws.readMethodOption=Ws.readMethodOptions=Ws.normalizeMethodInfo=void 0;var kBe=lt();function TBe(t,e){var r,n,s;let i=t;return i.service=e,i.localName=(r=i.localName)!==null&&r!==void 0?r:kBe.lowerCamelCase(i.name),i.serverStreaming=!!i.serverStreaming,i.clientStreaming=!!i.clientStreaming,i.options=(n=i.options)!==null&&n!==void 0?n:{},i.idempotency=(s=i.idempotency)!==null&&s!==void 0?s:void 0,i}o(TBe,"normalizeMethodInfo");Ws.normalizeMethodInfo=TBe;function MBe(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(MBe,"readMethodOptions");Ws.readMethodOptions=MBe;function LBe(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(LBe,"readMethodOption");Ws.readMethodOption=LBe;function FBe(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(FBe,"readServiceOption");Ws.readServiceOption=FBe});var d8=f(NE=>{"use strict";Object.defineProperty(NE,"__esModule",{value:!0});NE.ServiceType=void 0;var _Be=RP(),PP=class{static{o(this,"ServiceType")}constructor(e,r,n){this.typeName=e,this.methods=r.map(s=>_Be.normalizeMethodInfo(s,this)),this.options=n??{}}};NE.ServiceType=PP});var DP=f(SE=>{"use strict";Object.defineProperty(SE,"__esModule",{value:!0});SE.RpcError=void 0;var vP=class extends Error{static{o(this,"RpcError")}constructor(e,r="UNKNOWN",n){super(e),this.name="RpcError",Object.setPrototypeOf(this,new.target.prototype),this.code=r,this.meta=n??{}}toString(){let e=[this.name+": "+this.message];this.code&&(e.push(""),e.push("Code: "+this.code)),this.serviceName&&this.methodName&&e.push("Method: "+this.serviceName+"/"+this.methodName);let r=Object.entries(this.meta);if(r.length){e.push(""),e.push("Meta:");for(let[n,s]of r)e.push(` ${n}: ${s}`)}return e.join(`
|
|
`)}};SE.RpcError=vP});var kP=f(PE=>{"use strict";Object.defineProperty(PE,"__esModule",{value:!0});PE.mergeRpcOptions=void 0;var m8=lt();function UBe(t,e){if(!e)return t;let r={};RE(t,r),RE(e,r);for(let n of Object.keys(e)){let s=e[n];switch(n){case"jsonOptions":r.jsonOptions=m8.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=m8.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},RE(t.meta,r.meta),RE(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(s):s.concat();break}}return r}o(UBe,"mergeRpcOptions");PE.mergeRpcOptions=UBe;function RE(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(RE,"copy")});var MP=f(Ha=>{"use strict";Object.defineProperty(Ha,"__esModule",{value:!0});Ha.Deferred=Ha.DeferredState=void 0;var $s;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})($s=Ha.DeferredState||(Ha.DeferredState={}));var TP=class{static{o(this,"Deferred")}constructor(e=!0){this._state=$s.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!==$s.PENDING)throw new Error(`cannot resolve ${$s[this.state].toLowerCase()}`);this._resolve(e),this._state=$s.RESOLVED}reject(e){if(this.state!==$s.PENDING)throw new Error(`cannot reject ${$s[this.state].toLowerCase()}`);this._reject(e),this._state=$s.REJECTED}resolvePending(e){this._state===$s.PENDING&&this.resolve(e)}rejectPending(e){this._state===$s.PENDING&&this.reject(e)}};Ha.Deferred=TP});var FP=f(vE=>{"use strict";Object.defineProperty(vE,"__esModule",{value:!0});vE.RpcOutputStreamController=void 0;var p8=MP(),za=lt(),LP=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){za.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){za.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){za.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(){za.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;za.assert(e,"bad state"),za.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 p8.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;za.assert(n.state==p8.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};vE.RpcOutputStreamController=LP});var UP=f(jl=>{"use strict";var OBe=jl&&jl.__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(jl,"__esModule",{value:!0});jl.UnaryCall=void 0;var _P=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 OBe(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}})}};jl.UnaryCall=_P});var qP=f(Kl=>{"use strict";var qBe=Kl&&Kl.__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(Kl,"__esModule",{value:!0});Kl.ServerStreamingCall=void 0;var OP=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 qBe(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}})}};Kl.ServerStreamingCall=OP});var zP=f(Xl=>{"use strict";var HBe=Xl&&Xl.__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(Xl,"__esModule",{value:!0});Xl.ClientStreamingCall=void 0;var HP=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 HBe(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}})}};Xl.ClientStreamingCall=HP});var YP=f(Zl=>{"use strict";var zBe=Zl&&Zl.__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(Zl,"__esModule",{value:!0});Zl.DuplexStreamingCall=void 0;var GP=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 zBe(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}})}};Zl.DuplexStreamingCall=GP});var f8=f(rA=>{"use strict";var GBe=rA&&rA.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};Object.defineProperty(rA,"__esModule",{value:!0});rA.TestTransport=void 0;var wn=DP(),DE=lt(),h8=FP(),YBe=kP(),VBe=UP(),JBe=qP(),WBe=zP(),$Be=YP(),tA=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 eA?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof eA?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 wn.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof wn.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(DE.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),DE.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return GBe(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)DE.assert(e.O.is(i)),s.push(i);else this.data.response instanceof wn.RpcError||(DE.assert(e.O.is(this.data.response)),s.push(this.data.response));try{yield vt(this.responseDelay,n)(void 0)}catch(i){r.notifyError(i);return}if(this.data.response instanceof wn.RpcError){r.notifyError(this.data.response);return}for(let i of s){r.notifyMessage(i);try{yield vt(this.betweenResponseDelay,n)(void 0)}catch(a){r.notifyError(a);return}}if(this.data.status instanceof wn.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof wn.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 wn.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 wn.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return YBe.mergeRpcOptions({},e)}unary(e,r,n){var s;let i=(s=n.meta)!==null&&s!==void 0?s:{},a=this.promiseHeaders().then(vt(this.headerDelay,n.abort)),c=a.catch(u=>{}).then(vt(this.responseDelay,n.abort)).then(u=>this.promiseSingleResponse(e)),l=c.catch(u=>{}).then(vt(this.afterResponseDelay,n.abort)).then(u=>this.promiseStatus()),A=c.catch(u=>{}).then(vt(this.afterResponseDelay,n.abort)).then(u=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput={single:r},new VBe.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(vt(this.headerDelay,n.abort)),c=new h8.RpcOutputStreamController,l=a.then(vt(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,c,n.abort)).then(vt(this.afterResponseDelay,n.abort)),A=l.then(()=>this.promiseStatus()),u=l.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(A,u),this.lastInput={single:r},new JBe.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(vt(this.headerDelay,r.abort)),a=i.catch(A=>{}).then(vt(this.responseDelay,r.abort)).then(A=>this.promiseSingleResponse(e)),c=a.catch(A=>{}).then(vt(this.afterResponseDelay,r.abort)).then(A=>this.promiseStatus()),l=a.catch(A=>{}).then(vt(this.afterResponseDelay,r.abort)).then(A=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new eA(this.data,r.abort),new WBe.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(vt(this.headerDelay,r.abort)),a=new h8.RpcOutputStreamController,c=i.then(vt(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,r.abort)).then(vt(this.afterResponseDelay,r.abort)),l=c.then(()=>this.promiseStatus()),A=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput=new eA(this.data,r.abort),new $Be.DuplexStreamingCall(e,s,this.lastInput,i,a,l,A)}};rA.TestTransport=tA;tA.defaultHeaders={responseHeader:"test"};tA.defaultStatus={code:"OK",detail:"all good"};tA.defaultTrailers={responseTrailer:"test"};function vt(t,e){return r=>new Promise((n,s)=>{if(e?.aborted)s(new wn.RpcError("user cancel","CANCELLED"));else{let i=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",a=>{clearTimeout(i),s(new wn.RpcError("user cancel","CANCELLED"))})}})}o(vt,"delay");var eA=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 wn.RpcError)return Promise.reject(this.data.inputMessage);let r=this.data.inputMessage===void 0?10:this.data.inputMessage;return Promise.resolve(void 0).then(()=>{this._sent.push(e)}).then(vt(r,this.abort))}complete(){if(this.data.inputComplete instanceof wn.RpcError)return Promise.reject(this.data.inputComplete);let e=this.data.inputComplete===void 0?10:this.data.inputComplete;return Promise.resolve(void 0).then(()=>{this._completed=!0}).then(vt(e,this.abort))}}});var g8=f(Nn=>{"use strict";Object.defineProperty(Nn,"__esModule",{value:!0});Nn.stackDuplexStreamingInterceptors=Nn.stackClientStreamingInterceptors=Nn.stackServerStreamingInterceptors=Nn.stackUnaryInterceptors=Nn.stackIntercept=void 0;var jBe=lt();function dm(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)}jBe.assertNever(t)}o(dm,"stackIntercept");Nn.stackIntercept=dm;function KBe(t,e,r,n){return dm("unary",t,e,n,r)}o(KBe,"stackUnaryInterceptors");Nn.stackUnaryInterceptors=KBe;function XBe(t,e,r,n){return dm("serverStreaming",t,e,n,r)}o(XBe,"stackServerStreamingInterceptors");Nn.stackServerStreamingInterceptors=XBe;function ZBe(t,e,r){return dm("clientStreaming",t,e,r)}o(ZBe,"stackClientStreamingInterceptors");Nn.stackClientStreamingInterceptors=ZBe;function eQe(t,e,r){return dm("duplex",t,e,r)}o(eQe,"stackDuplexStreamingInterceptors");Nn.stackDuplexStreamingInterceptors=eQe});var y8=f(kE=>{"use strict";Object.defineProperty(kE,"__esModule",{value:!0});kE.ServerCallContextController=void 0;var VP=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)}}};kE.ServerCallContextController=VP});var C8=f(et=>{"use strict";Object.defineProperty(et,"__esModule",{value:!0});var tQe=d8();Object.defineProperty(et,"ServiceType",{enumerable:!0,get:o(function(){return tQe.ServiceType},"get")});var JP=RP();Object.defineProperty(et,"readMethodOptions",{enumerable:!0,get:o(function(){return JP.readMethodOptions},"get")});Object.defineProperty(et,"readMethodOption",{enumerable:!0,get:o(function(){return JP.readMethodOption},"get")});Object.defineProperty(et,"readServiceOption",{enumerable:!0,get:o(function(){return JP.readServiceOption},"get")});var rQe=DP();Object.defineProperty(et,"RpcError",{enumerable:!0,get:o(function(){return rQe.RpcError},"get")});var nQe=kP();Object.defineProperty(et,"mergeRpcOptions",{enumerable:!0,get:o(function(){return nQe.mergeRpcOptions},"get")});var sQe=FP();Object.defineProperty(et,"RpcOutputStreamController",{enumerable:!0,get:o(function(){return sQe.RpcOutputStreamController},"get")});var iQe=f8();Object.defineProperty(et,"TestTransport",{enumerable:!0,get:o(function(){return iQe.TestTransport},"get")});var E8=MP();Object.defineProperty(et,"Deferred",{enumerable:!0,get:o(function(){return E8.Deferred},"get")});Object.defineProperty(et,"DeferredState",{enumerable:!0,get:o(function(){return E8.DeferredState},"get")});var oQe=YP();Object.defineProperty(et,"DuplexStreamingCall",{enumerable:!0,get:o(function(){return oQe.DuplexStreamingCall},"get")});var aQe=zP();Object.defineProperty(et,"ClientStreamingCall",{enumerable:!0,get:o(function(){return aQe.ClientStreamingCall},"get")});var cQe=qP();Object.defineProperty(et,"ServerStreamingCall",{enumerable:!0,get:o(function(){return cQe.ServerStreamingCall},"get")});var lQe=UP();Object.defineProperty(et,"UnaryCall",{enumerable:!0,get:o(function(){return lQe.UnaryCall},"get")});var mm=g8();Object.defineProperty(et,"stackIntercept",{enumerable:!0,get:o(function(){return mm.stackIntercept},"get")});Object.defineProperty(et,"stackDuplexStreamingInterceptors",{enumerable:!0,get:o(function(){return mm.stackDuplexStreamingInterceptors},"get")});Object.defineProperty(et,"stackClientStreamingInterceptors",{enumerable:!0,get:o(function(){return mm.stackClientStreamingInterceptors},"get")});Object.defineProperty(et,"stackServerStreamingInterceptors",{enumerable:!0,get:o(function(){return mm.stackServerStreamingInterceptors},"get")});Object.defineProperty(et,"stackUnaryInterceptors",{enumerable:!0,get:o(function(){return mm.stackUnaryInterceptors},"get")});var AQe=y8();Object.defineProperty(et,"ServerCallContextController",{enumerable:!0,get:o(function(){return AQe.ServerCallContextController},"get")})});var Z8=f((SKe,Li)=>{var Se=require("fs"),qE=require("os"),Qt=require("path"),L8=require("crypto"),Ks={fs:Se.constants,os:qE.constants},F8="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",q8=/XXXXXX/,BQe=3,H8=(Ks.O_CREAT||Ks.fs.O_CREAT)|(Ks.O_EXCL||Ks.fs.O_EXCL)|(Ks.O_RDWR||Ks.fs.O_RDWR),QQe=qE.platform()==="win32",xQe=Ks.EBADF||Ks.os.errno.EBADF,bQe=Ks.ENOENT||Ks.os.errno.ENOENT,z8=448,G8=384,wQe="exit",oA=[],Y8=Se.rmdirSync.bind(Se),V8=!1;function NQe(t,e){return Se.rm(t,{recursive:!0},e)}o(NQe,"rimraf");function J8(t){return Se.rmSync(t,{recursive:!0})}o(J8,"FN_RIMRAF_SYNC");function wv(t,e){let r=aA(t,e),n=r[0],s=r[1];FQe(n,function(i,a){if(i)return s(i);let c=a.tries;o((function l(){try{let A=$8(a);Se.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(wv,"tmpName");function Nv(t){let e=aA(t),r=e[0],n=_Qe(r),s=n.tries;do{let i=$8(n);try{Se.statSync(i)}catch{return i}}while(s-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}o(Nv,"tmpNameSync");function SQe(t,e){let r=aA(t,e),n=r[0],s=r[1];wv(n,o(function(a,c){if(a)return s(a);Se.open(c,H8,n.mode||G8,o(function(A,u){if(A)return s(A);if(n.discardDescriptor)return Se.close(u,o(function(m){return s(m,c,void 0,xv(c,-1,n,!1))},"_discardCallback"));{let d=n.discardDescriptor||n.detachDescriptor;s(null,c,u,xv(c,d?-1:u,n,!1))}},"_fileCreated"))},"_tmpNameCreated"))}o(SQe,"file");function RQe(t){let e=aA(t),r=e[0],n=r.discardDescriptor||r.detachDescriptor,s=Nv(r),i=Se.openSync(s,H8,r.mode||G8);return r.discardDescriptor&&(Se.closeSync(i),i=void 0),{name:s,fd:i,removeCallback:xv(s,n?-1:i,r,!0)}}o(RQe,"fileSync");function PQe(t,e){let r=aA(t,e),n=r[0],s=r[1];wv(n,o(function(a,c){if(a)return s(a);Se.mkdir(c,n.mode||z8,o(function(A){if(A)return s(A);s(null,c,W8(c,n,!1))},"_dirCreated"))},"_tmpNameCreated"))}o(PQe,"dir");function vQe(t){let e=aA(t),r=e[0],n=Nv(r);return Se.mkdirSync(n,r.mode||z8),{name:n,removeCallback:W8(n,r,!0)}}o(vQe,"dirSync");function DQe(t,e){let r=o(function(n){if(n&&!bv(n))return e(n);e()},"_handler");0<=t[0]?Se.close(t[0],function(){Se.unlink(t[1],r)}):Se.unlink(t[1],r)}o(DQe,"_removeFileAsync");function kQe(t){let e=null;try{0<=t[0]&&Se.closeSync(t[0])}catch(r){if(!UQe(r)&&!bv(r))throw r}finally{try{Se.unlinkSync(t[1])}catch(r){bv(r)||(e=r)}}if(e!==null)throw e}o(kQe,"_removeFileSync");function xv(t,e,r,n){let s=OE(kQe,[e,t],n),i=OE(DQe,[e,t],n,s);return r.keep||oA.unshift(s),n?s:i}o(xv,"_prepareTmpFileRemoveCallback");function W8(t,e,r){let n=e.unsafeCleanup?NQe:Se.rmdir.bind(Se),s=e.unsafeCleanup?J8:Y8,i=OE(s,t,r),a=OE(n,t,r,i);return e.keep||oA.unshift(i),r?i:a}o(W8,"_prepareTmpDirRemoveCallback");function OE(t,e,r,n){let s=!1;return o(function i(a){if(!s){let c=n||i,l=oA.indexOf(c);return l>=0&&oA.splice(l,1),s=!0,r||t===Y8||t===J8?t(e):t(e,a||function(){})}},"_cleanupCallback")}o(OE,"_prepareRemoveCallback");function TQe(){if(V8)for(;oA.length;)try{oA[0]()}catch{}}o(TQe,"_garbageCollector");function _8(t){let e=[],r=null;try{r=L8.randomBytes(t)}catch{r=L8.pseudoRandomBytes(t)}for(let n=0;n<t;n++)e.push(F8[r[n]%F8.length]);return e.join("")}o(_8,"_randomChars");function Nr(t){return typeof t>"u"}o(Nr,"_isUndefined");function aA(t,e){if(typeof t=="function")return[{},t];if(Nr(t))return[{},e];let r={};for(let n of Object.getOwnPropertyNames(t))r[n]=t[n];return[r,e]}o(aA,"_parseArguments");function MQe(t,e,r){let n=Qt.isAbsolute(t)?t:Qt.join(e,t);Se.stat(n,function(s){s?Se.realpath(Qt.dirname(n),function(i,a){if(i)return r(i);r(null,Qt.join(a,Qt.basename(n)))}):Se.realpath(n,r)})}o(MQe,"_resolvePath");function LQe(t,e){let r=Qt.isAbsolute(t)?t:Qt.join(e,t);try{return Se.statSync(r),Se.realpathSync(r)}catch{let s=Se.realpathSync(Qt.dirname(r));return Qt.join(s,Qt.basename(r))}}o(LQe,"_resolvePathSync");function $8(t){let e=t.tmpdir;if(!Nr(t.name))return Qt.join(e,t.dir,t.name);if(!Nr(t.template))return Qt.join(e,t.dir,t.template).replace(q8,_8(6));let r=[t.prefix?t.prefix:"tmp","-",process.pid,"-",_8(12),t.postfix?"-"+t.postfix:""].join("");return Qt.join(e,t.dir,r)}o($8,"_generateTmpName");function Qv(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(Qv,"_assertPath");function j8(t){if(!Nr(t.name)){let e=t.name;if(Qt.isAbsolute(e))throw new Error(`name option must not contain an absolute path, found "${e}".`);let r=Qt.basename(e);if(r===".."||r==="."||r!==e)throw new Error(`name option must not contain a path, found "${e}".`)}if(!Nr(t.template)){if(typeof t.template!="string")throw new Error(`template option must be a string, got "${typeof t.template}".`);if(!t.template.match(q8))throw new Error(`Invalid template, found "${t.template}".`)}if(!Nr(t.tries)&&isNaN(t.tries)||t.tries<0)throw new Error(`Invalid tries, found "${t.tries}".`);t.tries=Nr(t.name)?t.tries||BQe:1,t.keep=!!t.keep,t.detachDescriptor=!!t.detachDescriptor,t.discardDescriptor=!!t.discardDescriptor,t.unsafeCleanup=!!t.unsafeCleanup,t.prefix=Nr(t.prefix)?"":Qv("prefix",t.prefix),t.postfix=Nr(t.postfix)?"":Qv("postfix",t.postfix),t.template=Nr(t.template)?void 0:Qv("template",t.template)}o(j8,"_assertOptionsBase");function U8(t,e,r,n){if(Nr(e))return n(null);MQe(e,r,function(s,i){if(s)return n(s);let a=Qt.relative(r,i);if(a.startsWith("..")||Qt.isAbsolute(a))return n(new Error(`${t} option must be relative to "${r}", found "${a}".`));n(null,a)})}o(U8,"_getRelativePath");function O8(t,e,r){if(Nr(e))return;let n=LQe(e,r),s=Qt.relative(r,n);if(s.startsWith("..")||Qt.isAbsolute(s))throw new Error(`${t} option must be relative to "${r}", found "${s}".`);return s}o(O8,"_getRelativePathSync");function FQe(t,e){qQe(t,function(r,n){if(r)return e(r);t.tmpdir=n;try{j8(t,n)}catch(s){return e(s)}U8("dir",t.dir,n,function(s,i){if(s)return e(s);t.dir=Nr(i)?"":i,U8("template",t.template,n,function(a,c){if(a)return e(a);t.template=c,e(null,t)})})})}o(FQe,"_assertAndSanitizeOptions");function _Qe(t){let e=t.tmpdir=X8(t);j8(t,e);let r=O8("dir",t.dir,e);return t.dir=Nr(r)?"":r,t.template=O8("template",t.template,e),t}o(_Qe,"_assertAndSanitizeOptionsSync");function UQe(t){return K8(t,-xQe,"EBADF")}o(UQe,"_isEBADF");function bv(t){return K8(t,-bQe,"ENOENT")}o(bv,"_isENOENT");function K8(t,e,r){return QQe?t.code===r:t.code===r&&t.errno===e}o(K8,"_isExpectedError");function OQe(){V8=!0}o(OQe,"setGracefulCleanup");function qQe(t,e){return Se.realpath(t&&t.tmpdir||qE.tmpdir(),e)}o(qQe,"_getTmpDir");function X8(t){return Se.realpathSync(t&&t.tmpdir||qE.tmpdir())}o(X8,"_getTmpDirSync");process.addListener(wQe,TQe);Object.defineProperty(Li.exports,"tmpdir",{enumerable:!0,configurable:!1,get:o(function(){return X8()},"get")});Li.exports.dir=PQe;Li.exports.dirSync=vQe;Li.exports.file=SQe;Li.exports.fileSync=RQe;Li.exports.tmpName=wv;Li.exports.tmpNameSync=Nv;Li.exports.setGracefulCleanup=OQe});var or=f(Zr=>{"use strict";Zr.__esModule=!0;Zr.extend=nW;Zr.indexOf=VQe;Zr.escapeExpression=JQe;Zr.isEmpty=WQe;Zr.createFrame=$Qe;Zr.blockParams=jQe;Zr.appendContextPath=KQe;var HQe={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},zQe=/[&<>"'`=]/g,GQe=/[&<>"'`=]/;function YQe(t){return HQe[t]}o(YQe,"escapeChar");function nW(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(nW,"extend");var Pv=Object.prototype.toString;Zr.toString=Pv;var Rv=o(function(e){return typeof e=="function"},"isFunction");Rv(/x/)&&(Zr.isFunction=Rv=o(function(t){return typeof t=="function"&&Pv.call(t)==="[object Function]"},"isFunction"));Zr.isFunction=Rv;var sW=Array.isArray||function(t){return t&&typeof t=="object"?Pv.call(t)==="[object Array]":!1};Zr.isArray=sW;function VQe(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}o(VQe,"indexOf");function JQe(t){if(typeof t!="string"){if(t&&t.toHTML)return t.toHTML();if(t==null)return"";if(!t)return t+"";t=""+t}return GQe.test(t)?t.replace(zQe,YQe):t}o(JQe,"escapeExpression");function WQe(t){return!t&&t!==0?!0:!!(sW(t)&&t.length===0)}o(WQe,"isEmpty");function $Qe(t){var e=nW({},t);return e._parent=t,e}o($Qe,"createFrame");function jQe(t,e){return t.path=e,t}o(jQe,"blockParams");function KQe(t,e){return(t?t+".":"")+e}o(KQe,"appendContextPath")});var en=f((zE,iW)=>{"use strict";zE.__esModule=!0;var vv=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function Dv(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<vv.length;l++)this[vv[l]]=c[vv[l]];Error.captureStackTrace&&Error.captureStackTrace(this,Dv);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(Dv,"Exception");Dv.prototype=new Error;zE.default=Dv;iW.exports=zE.default});var aW=f((GE,oW)=>{"use strict";GE.__esModule=!0;var kv=or();GE.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(kv.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=kv.createFrame(r.data);i.contextPath=kv.appendContextPath(r.data.contextPath,r.name),r={data:i}}return s(e,r)})};oW.exports=GE.default});var lW=f((YE,cW)=>{"use strict";YE.__esModule=!0;function XQe(t){return t&&t.__esModule?t:{default:t}}o(XQe,"_interopRequireDefault");var gm=or(),ZQe=en(),exe=XQe(ZQe);YE.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new exe.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=gm.appendContextPath(r.data.contextPath,r.ids[0])+"."),gm.isFunction(e)&&(e=e.call(this)),r.data&&(c=gm.createFrame(r.data));function A(h,g,C){c&&(c.key=h,c.index=g,c.first=g===0,c.last=!!C,l&&(c.contextPath=l+h)),a=a+n(e[h],{data:c,blockParams:gm.blockParams([e[h],h],[l+h,null])})}if(o(A,"execIteration"),e&&typeof e=="object")if(gm.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(g){h!==void 0&&A(h,i-1),h=g,i++}),h!==void 0&&A(h,i-1,!0)})();return i===0&&(a=s(this)),a})};cW.exports=YE.default});var uW=f((VE,AW)=>{"use strict";VE.__esModule=!0;function txe(t){return t&&t.__esModule?t:{default:t}}o(txe,"_interopRequireDefault");var rxe=en(),nxe=txe(rxe);VE.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new nxe.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};AW.exports=VE.default});var hW=f((JE,pW)=>{"use strict";JE.__esModule=!0;function sxe(t){return t&&t.__esModule?t:{default:t}}o(sxe,"_interopRequireDefault");var dW=or(),ixe=en(),mW=sxe(ixe);JE.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new mW.default("#if requires exactly one argument");return dW.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||dW.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new mW.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};pW.exports=JE.default});var gW=f((WE,fW)=>{"use strict";WE.__esModule=!0;WE.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)})};fW.exports=WE.default});var EW=f(($E,yW)=>{"use strict";$E.__esModule=!0;$E.default=function(t){t.registerHelper("lookup",function(e,r,n){return e&&n.lookupProperty(e,r)})};yW.exports=$E.default});var IW=f((jE,CW)=>{"use strict";jE.__esModule=!0;function oxe(t){return t&&t.__esModule?t:{default:t}}o(oxe,"_interopRequireDefault");var ym=or(),axe=en(),cxe=oxe(axe);jE.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new cxe.default("#with requires exactly one argument");ym.isFunction(e)&&(e=e.call(this));var n=r.fn;if(ym.isEmpty(e))return r.inverse(this);var s=r.data;return r.data&&r.ids&&(s=ym.createFrame(r.data),s.contextPath=ym.appendContextPath(r.data.contextPath,r.ids[0])),n(e,{data:s,blockParams:ym.blockParams([e],[s&&s.contextPath])})})};CW.exports=jE.default});var Tv=f(KE=>{"use strict";KE.__esModule=!0;KE.registerDefaultHelpers=Qxe;KE.moveHelperToHooks=xxe;function Ja(t){return t&&t.__esModule?t:{default:t}}o(Ja,"_interopRequireDefault");var lxe=aW(),Axe=Ja(lxe),uxe=lW(),dxe=Ja(uxe),mxe=uW(),pxe=Ja(mxe),hxe=hW(),fxe=Ja(hxe),gxe=gW(),yxe=Ja(gxe),Exe=EW(),Cxe=Ja(Exe),Ixe=IW(),Bxe=Ja(Ixe);function Qxe(t){Axe.default(t),dxe.default(t),pxe.default(t),fxe.default(t),yxe.default(t),Cxe.default(t),Bxe.default(t)}o(Qxe,"registerDefaultHelpers");function xxe(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}o(xxe,"moveHelperToHooks")});var QW=f((XE,BW)=>{"use strict";XE.__esModule=!0;var bxe=or();XE.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=bxe.extend({},l,r.partials);var A=e(a,c);return n.partials=l,A},"ret")),r.partials[s.args[0]]=s.fn,i})};BW.exports=XE.default});var xW=f(Mv=>{"use strict";Mv.__esModule=!0;Mv.registerDefaultDecorators=Rxe;function wxe(t){return t&&t.__esModule?t:{default:t}}o(wxe,"_interopRequireDefault");var Nxe=QW(),Sxe=wxe(Nxe);function Rxe(t){Sxe.default(t)}o(Rxe,"registerDefaultDecorators")});var Lv=f((ZE,bW)=>{"use strict";ZE.__esModule=!0;var Pxe=or(),cA={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:o(function(e){if(typeof e=="string"){var r=Pxe.indexOf(cA.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},"lookupLevel"),log:o(function(e){if(e=cA.lookupLevel(e),typeof console<"u"&&cA.lookupLevel(cA.level)<=e){var r=cA.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")};ZE.default=cA;bW.exports=ZE.default});var Fv=f(Em=>{"use strict";Em.__esModule=!0;Em.createProtoAccessControl=Txe;Em.resultIsAllowed=Mxe;Em.resetLoggedProperties=Fxe;function vxe(t){return t&&t.__esModule?t:{default:t}}o(vxe,"_interopRequireDefault");var wW=or(),Dxe=Lv(),kxe=vxe(Dxe),eC=Object.create(null);function Txe(t){var e=Object.create(null);e.__proto__=!1,wW.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,wW.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}o(Txe,"createProtoAccessControl");function Mxe(t,e,r){return NW(typeof t=="function"?e.methods:e.properties,r)}o(Mxe,"resultIsAllowed");function NW(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(Lxe(e),!1)}o(NW,"checkWhiteList");function Lxe(t){eC[t]!==!0&&(eC[t]=!0,kxe.default.log("error",'Handlebars: Access has been denied to resolve the property "'+t+`" because it is not an "own property" of its parent.
|
|
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(Lxe,"logUnexpecedPropertyAccessOnce");function Fxe(){Object.keys(eC).forEach(function(t){delete eC[t]})}o(Fxe,"resetLoggedProperties")});var rC=f(Xs=>{"use strict";Xs.__esModule=!0;Xs.HandlebarsEnvironment=Ov;function SW(t){return t&&t.__esModule?t:{default:t}}o(SW,"_interopRequireDefault");var Wa=or(),_xe=en(),_v=SW(_xe),Uxe=Tv(),Oxe=xW(),qxe=Lv(),tC=SW(qxe),Hxe=Fv(),zxe="4.7.9";Xs.VERSION=zxe;var Gxe=8;Xs.COMPILER_REVISION=Gxe;var Yxe=7;Xs.LAST_COMPATIBLE_COMPILER_REVISION=Yxe;var Vxe={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"};Xs.REVISION_CHANGES=Vxe;var Uv="[object Object]";function Ov(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},Uxe.registerDefaultHelpers(this),Oxe.registerDefaultDecorators(this)}o(Ov,"HandlebarsEnvironment");Ov.prototype={constructor:Ov,logger:tC.default,log:tC.default.log,registerHelper:o(function(e,r){if(Wa.toString.call(e)===Uv){if(r)throw new _v.default("Arg not supported with multiple helpers");Wa.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(Wa.toString.call(e)===Uv)Wa.extend(this.partials,e);else{if(typeof r>"u")throw new _v.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(Wa.toString.call(e)===Uv){if(r)throw new _v.default("Arg not supported with multiple decorators");Wa.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){Hxe.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var Jxe=tC.default.log;Xs.log=Jxe;Xs.createFrame=Wa.createFrame;Xs.logger=tC.default});var PW=f((nC,RW)=>{"use strict";nC.__esModule=!0;function qv(t){this.string=t}o(qv,"SafeString");qv.prototype.toString=qv.prototype.toHTML=function(){return""+this.string};nC.default=qv;RW.exports=nC.default});var vW=f(Hv=>{"use strict";Hv.__esModule=!0;Hv.wrapHelper=Wxe;function Wxe(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(Wxe,"wrapHelper")});var FW=f(ko=>{"use strict";ko.__esModule=!0;ko.checkRevision=ebe;ko.template=tbe;ko.wrapProgram=sC;ko.resolvePartial=rbe;ko.invokePartial=nbe;ko.noop=MW;function $xe(t){return t&&t.__esModule?t:{default:t}}o($xe,"_interopRequireDefault");function jxe(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(jxe,"_interopRequireWildcard");var Kxe=or(),lA=jxe(Kxe),Xxe=en(),Fi=$xe(Xxe),_i=rC(),DW=Tv(),Zxe=vW(),kW=Fv();function ebe(t){var e=t&&t[0]||1,r=_i.COMPILER_REVISION;if(!(e>=_i.LAST_COMPATIBLE_COMPILER_REVISION&&e<=_i.COMPILER_REVISION))if(e<_i.LAST_COMPATIBLE_COMPILER_REVISION){var n=_i.REVISION_CHANGES[r],s=_i.REVISION_CHANGES[e];throw new Fi.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 Fi.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(ebe,"checkRevision");function tbe(t,e){if(!e)throw new Fi.default("No environment passed to template");if(!t||!t.main)throw new Fi.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=lA.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 Fi.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 Fi.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)||kW.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:lA.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=sC(this,c,p,l,A,u,d):m||(m=this.programs[c]=sC(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=lA.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=sbe(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=LW(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={};TW(c,e.helpers,s),TW(c,a.helpers,s),s.helpers=c,t.usePartial&&(s.partials=s.mergeIfNeeded(a.partials,e.partials)),(t.usePartial||t.useDecorators)&&(s.decorators=lA.extend({},e.decorators,a.decorators)),s.hooks={},s.protoAccessControl=kW.createProtoAccessControl(a);var l=a.allowCallsToHelperMissing||r;DW.moveHelperToHooks(s,"helperMissing",l),DW.moveHelperToHooks(s,"blockHelperMissing",l)}},i._child=function(a,c,l,A){if(t.useBlockParams&&!l)throw new Fi.default("must pass block params");if(t.useDepths&&!A)throw new Fi.default("must pass parent depths");return sC(s,a,t[a],c,0,l,A)},i}o(tbe,"template");function sC(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=LW(r,c,t,a,n,i),c.program=e,c.depth=a?a.length:0,c.blockParams=s||0,c}o(sC,"wrapProgram");function rbe(t,e,r){return t?!t.call&&!r.name&&(r.name=t,t=iC(r.partials,t)):r.name==="@partial-block"?t=iC(r.data,"partial-block"):t=iC(r.partials,r.name),t}o(rbe,"resolvePartial");function nbe(t,e,r){var n=iC(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!==MW&&(function(){r.data=_i.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=_i.createFrame(l.data),l.data["partial-block"]=n,i(c,l)},"partialBlockWrapper"),i.partials&&(r.partials=lA.extend({},r.partials,i.partials))})(),t===void 0&&s&&(t=s),t===void 0)throw new Fi.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}o(nbe,"invokePartial");function MW(){return""}o(MW,"noop");function iC(t,e){if(t&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}o(iC,"lookupOwnProperty");function sbe(t,e){return(!e||!("root"in e))&&(e=e?_i.createFrame(e):{},e.root=t),e}o(sbe,"initData");function LW(t,e,r,n,s,i){if(t.decorator){var a={};e=t.decorator(e,a,r,n&&n[0],s,i,n),lA.extend(e,a)}return e}o(LW,"executeDecorators");function TW(t,e,r){e&&Object.keys(e).forEach(function(n){var s=e[n];t[n]=ibe(s,r)})}o(TW,"addHelpers");function ibe(t,e){var r=e.lookupProperty;return Zxe.wrapHelper(t,function(n){return n.lookupProperty=r,n})}o(ibe,"passLookupPropertyOption")});var zv=f((oC,_W)=>{"use strict";oC.__esModule=!0;oC.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}};_W.exports=oC.default});var zW=f((aC,HW)=>{"use strict";aC.__esModule=!0;function Yv(t){return t&&t.__esModule?t:{default:t}}o(Yv,"_interopRequireDefault");function Vv(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(Vv,"_interopRequireWildcard");var obe=rC(),UW=Vv(obe),abe=PW(),cbe=Yv(abe),lbe=en(),Abe=Yv(lbe),ube=or(),Gv=Vv(ube),dbe=FW(),OW=Vv(dbe),mbe=zv(),pbe=Yv(mbe);function qW(){var t=new UW.HandlebarsEnvironment;return Gv.extend(t,UW),t.SafeString=cbe.default,t.Exception=Abe.default,t.Utils=Gv,t.escapeExpression=Gv.escapeExpression,t.VM=OW,t.template=function(e){return OW.template(e,t)},t}o(qW,"create");var Cm=qW();Cm.create=qW;pbe.default(Cm);Cm.default=Cm;aC.default=Cm;HW.exports=aC.default});var Jv=f((cC,YW)=>{"use strict";cC.__esModule=!0;var GW={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&&!GW.helpers.scopedId(e)&&!e.depth},"simpleId")}};cC.default=GW;YW.exports=cC.default});var JW=f((lC,VW)=>{"use strict";lC.__esModule=!0;var hbe=(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,g=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(ze){a.length=a.length-2*ze,c.length=c.length-ze,l.length=l.length-ze}o(E,"popStack");function I(){var ze;return ze=i.lexer.lex()||1,typeof ze!="number"&&(ze=i.symbols_[ze]||ze),ze}o(I,"lex");for(var B,N,k,_,ce,Ee,xe={},z,te,U,me;;){if(k=a[a.length-1],this.defaultActions[k]?_=this.defaultActions[k]:((B===null||typeof B>"u")&&(B=I()),_=A[k]&&A[k][B]),typeof _>"u"||!_.length||!_[0]){var ut="";if(!p){me=[];for(z in A[k])this.terminals_[z]&&z>2&&me.push("'"+this.terminals_[z]+"'");this.lexer.showPosition?ut="Parse error on line "+(d+1)+`:
|
|
`+this.lexer.showPosition()+`
|
|
Expecting `+me.join(", ")+", got '"+(this.terminals_[B]||B)+"'":ut="Parse error on line "+(d+1)+": Unexpected "+(B==1?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(ut,{text:this.lexer.match,token:this.terminals_[B]||B,line:this.lexer.yylineno,loc:C,expected:me})}}if(_[0]instanceof Array&&_.length>1)throw new Error("Parse Error: multiple actions possible at state: "+k+", token: "+B);switch(_[0]){case 1:a.push(B),c.push(this.lexer.yytext),l.push(this.lexer.yylloc),a.push(_[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(te=this.productions_[_[1]][1],xe.$=c[c.length-te],xe._$={first_line:l[l.length-(te||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(te||1)].first_column,last_column:l[l.length-1].last_column},y&&(xe._$.range=[l[l.length-(te||1)].range[0],l[l.length-1].range[1]]),Ee=this.performAction.call(xe,u,m,d,this.yy,_[1],c,l),typeof Ee<"u")return Ee;te&&(a=a.slice(0,-1*te*2),c=c.slice(0,-1*te),l=l.slice(0,-1*te)),a.push(this.productions_[_[1]][0]),c.push(xe.$),l.push(xe._$),U=A[a[a.length-2]][a[a.length-1]],a.push(U);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=hbe;VW.exports=lC.default});var mC=f((dC,jW)=>{"use strict";dC.__esModule=!0;function fbe(t){return t&&t.__esModule?t:{default:t}}o(fbe,"_interopRequireDefault");var gbe=en(),Wv=fbe(gbe);function AC(){this.parents=[]}o(AC,"Visitor");AC.prototype={constructor:AC,mutating:!1,acceptKey:o(function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!AC.prototype[n.type])throw new Wv.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 Wv.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 Wv.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:uC,Decorator:uC,BlockStatement:WW,DecoratorBlock:WW,PartialStatement:$W,PartialBlockStatement:o(function(e){$W.call(this,e),this.acceptKey(e,"program")},"PartialBlockStatement"),ContentStatement:o(function(){},"ContentStatement"),CommentStatement:o(function(){},"CommentStatement"),SubExpression:uC,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 uC(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}o(uC,"visitSubExpression");function WW(t){uC.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}o(WW,"visitBlock");function $W(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}o($W,"visitPartial");dC.default=AC;jW.exports=dC.default});var XW=f((pC,KW)=>{"use strict";pC.__esModule=!0;function ybe(t){return t&&t.__esModule?t:{default:t}}o(ybe,"_interopRequireDefault");var Ebe=mC(),Cbe=ybe(Ebe);function Zs(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}o(Zs,"WhitespaceControl");Zs.prototype=new Cbe.default;Zs.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=$v(n,s,r),A=jv(n,s,r),u=c.openStandalone&&l,d=c.closeStandalone&&A,m=c.inlineStandalone&&l&&A;c.close&&$a(n,s,!0),c.open&&To(n,s,!0),e&&m&&($a(n,s),To(n,s)&&a.type==="PartialStatement"&&(a.indent=/([ \t]+$)/.exec(n[s-1].original)[1])),e&&u&&($a((a.program||a.inverse).body),To(n,s)),e&&d&&($a(n,s),To((a.inverse||a.program).body))}}return t};Zs.prototype.BlockStatement=Zs.prototype.DecoratorBlock=Zs.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:jv(e.body),closeStandalone:$v((n||e).body)};if(t.openStrip.close&&$a(e.body,null,!0),r){var a=t.inverseStrip;a.open&&To(e.body,null,!0),a.close&&$a(n.body,null,!0),t.closeStrip.open&&To(s.body,null,!0),!this.options.ignoreStandalone&&$v(e.body)&&jv(n.body)&&(To(e.body),$a(n.body))}else t.closeStrip.open&&To(e.body,null,!0);return i};Zs.prototype.Decorator=Zs.prototype.MustacheStatement=function(t){return t.strip};Zs.prototype.PartialStatement=Zs.prototype.CommentStatement=function(t){var e=t.strip||{};return{inlineStandalone:!0,open:e.open,close:e.close}};function $v(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($v,"isPrevWhitespace");function jv(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(jv,"isNextWhitespace");function $a(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($a,"omitRight");function To(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(To,"omitLeft");pC.default=Zs;KW.exports=pC.default});var ZW=f(Sn=>{"use strict";Sn.__esModule=!0;Sn.SourceLocation=Qbe;Sn.id=xbe;Sn.stripFlags=bbe;Sn.stripComment=wbe;Sn.preparePath=Nbe;Sn.prepareMustache=Sbe;Sn.prepareRawBlock=Rbe;Sn.prepareBlock=Pbe;Sn.prepareProgram=vbe;Sn.preparePartialBlock=Dbe;function Ibe(t){return t&&t.__esModule?t:{default:t}}o(Ibe,"_interopRequireDefault");var Bbe=en(),Kv=Ibe(Bbe);function Xv(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new Kv.default(t.path.original+" doesn't match "+e,r)}}o(Xv,"validateClose");function Qbe(t,e){this.source=t,this.start={line:e.first_line,column:e.first_column},this.end={line:e.last_line,column:e.last_column}}o(Qbe,"SourceLocation");function xbe(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}o(xbe,"id");function bbe(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}o(bbe,"stripFlags");function wbe(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}o(wbe,"stripComment");function Nbe(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 Kv.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(Nbe,"preparePath");function Sbe(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(Sbe,"prepareMustache");function Rbe(t,e,r,n){Xv(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(Rbe,"prepareRawBlock");function Pbe(t,e,r,n,s,i){n&&n.path&&Xv(t,n);var a=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,l=void 0;if(r){if(a)throw new Kv.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(Pbe,"prepareBlock");function vbe(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(vbe,"prepareProgram");function Dbe(t,e,r,n){return Xv(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(Dbe,"preparePartialBlock")});var t$=f(Bm=>{"use strict";Bm.__esModule=!0;Bm.parseWithoutProcessing=e$;Bm.parse=qbe;function kbe(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(kbe,"_interopRequireWildcard");function tD(t){return t&&t.__esModule?t:{default:t}}o(tD,"_interopRequireDefault");var Tbe=JW(),Zv=tD(Tbe),Mbe=XW(),Lbe=tD(Mbe),Fbe=ZW(),_be=kbe(Fbe),Ube=en(),Im=tD(Ube),Obe=or();Bm.parser=Zv.default;var hC={};Obe.extend(hC,_be);function e$(t,e){if(t.type==="Program")return Hbe(t),t;Zv.default.yy=hC,hC.locInfo=function(n){return new hC.SourceLocation(e&&e.srcName,n)};var r=Zv.default.parse(t);return r}o(e$,"parseWithoutProcessing");function qbe(t,e){var r=e$(t,e),n=new Lbe.default(e);return n.accept(r)}o(qbe,"parse");function Hbe(t){eD(t)}o(Hbe,"validateInputAst");function eD(t){if(t!=null){if(Array.isArray(t)){t.forEach(eD);return}if(typeof t=="object"){if(t.type==="PathExpression"){if(!zbe(t.depth))throw new Im.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(t.parts))throw new Im.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 Im.default("Invalid AST: PathExpression.parts must only contain strings")}else if(t.type==="NumberLiteral"){if(typeof t.value!="number"||!isFinite(t.value))throw new Im.default("Invalid AST: NumberLiteral.value must be a number")}else if(t.type==="BooleanLiteral"&&typeof t.value!="boolean")throw new Im.default("Invalid AST: BooleanLiteral.value must be a boolean");Object.keys(t).forEach(function(r){r!=="loc"&&eD(t[r])})}}}o(eD,"validateAstNode");function zbe(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t&&t>=0}o(zbe,"isValidDepth")});var i$=f(wm=>{"use strict";wm.__esModule=!0;wm.Compiler=rD;wm.precompile=Jbe;wm.compile=Wbe;function n$(t){return t&&t.__esModule?t:{default:t}}o(n$,"_interopRequireDefault");var Gbe=en(),xm=n$(Gbe),bm=or(),Ybe=Jv(),Qm=n$(Ybe),Vbe=[].slice;function rD(){}o(rD,"Compiler");rD.prototype={compiler:rD,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||!s$(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=bm.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 xm.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){r$(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 xm.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){r$(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 xm.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,Qm.default.helpers.simpleId(i))}},"helperSexpr"),PathExpression:o(function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],n=Qm.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:Vbe.call(arguments,1),loc:this.sourceNode[0].loc})},"opcode"),addDepth:o(function(e){e&&(this.useDepths=!0)},"addDepth"),classifySexpr:o(function(e){var r=Qm.default.helpers.simpleId(e.path),n=r&&!!this.blockParamIndex(e.path.parts[0]),s=!n&&Qm.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&&!Qm.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&&bm.indexOf(s,e);if(s&&i>=0)return[r,i]}},"blockParamIndex")};function Jbe(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new xm.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(Jbe,"precompile");function Wbe(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new xm.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=bm.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(Wbe,"compile");function s$(t,e){if(t===e)return!0;if(bm.isArray(t)&&bm.isArray(e)&&t.length===e.length){for(var r=0;r<t.length;r++)if(!s$(t[r],e[r]))return!1;return!0}}o(s$,"argEquals");function r$(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(r$,"transformLiteralToPath")});var a$=f(nD=>{var o$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");nD.encode=function(t){if(0<=t&&t<o$.length)return o$[t];throw new TypeError("Must be between 0 and 63: "+t)};nD.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 oD=f(iD=>{var c$=a$(),sD=5,l$=1<<sD,A$=l$-1,u$=l$;function $be(t){return t<0?(-t<<1)+1:(t<<1)+0}o($be,"toVLQSigned");function jbe(t){var e=(t&1)===1,r=t>>1;return e?-r:r}o(jbe,"fromVLQSigned");iD.encode=o(function(e){var r="",n,s=$be(e);do n=s&A$,s>>>=sD,s>0&&(n|=u$),r+=c$.encode(n);while(s>0);return r},"base64VLQ_encode");iD.decode=o(function(e,r,n){var s=e.length,i=0,a=0,c,l;do{if(r>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(l=c$.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));c=!!(l&u$),l&=A$,i=i+(l<<a),a+=sD}while(c);n.value=jbe(i),n.rest=r},"base64VLQ_decode")});var dA=f(Yt=>{function Kbe(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(Kbe,"getArg");Yt.getArg=Kbe;var d$=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,Xbe=/^data:.+\,.+$/;function Nm(t){var e=t.match(d$);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}o(Nm,"urlParse");Yt.urlParse=Nm;function AA(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(AA,"urlGenerate");Yt.urlGenerate=AA;function aD(t){var e=t,r=Nm(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,AA(r)):e}o(aD,"normalize");Yt.normalize=aD;function m$(t,e){t===""&&(t="."),e===""&&(e=".");var r=Nm(e),n=Nm(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),AA(r);if(r||e.match(Xbe))return e;if(n&&!n.host&&!n.path)return n.host=e,AA(n);var s=e.charAt(0)==="/"?e:aD(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=s,AA(n)):s}o(m$,"join");Yt.join=m$;Yt.isAbsolute=function(t){return t.charAt(0)==="/"||d$.test(t)};function Zbe(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(Zbe,"relative");Yt.relative=Zbe;var p$=(function(){var t=Object.create(null);return!("__proto__"in t)})();function h$(t){return t}o(h$,"identity");function ewe(t){return f$(t)?"$"+t:t}o(ewe,"toSetString");Yt.toSetString=p$?h$:ewe;function twe(t){return f$(t)?t.slice(1):t}o(twe,"fromSetString");Yt.fromSetString=p$?h$:twe;function f$(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(f$,"isProtoString");function rwe(t,e,r){var n=uA(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:uA(t.name,e.name)}o(rwe,"compareByOriginalPositions");Yt.compareByOriginalPositions=rwe;function nwe(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=uA(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:uA(t.name,e.name)}o(nwe,"compareByGeneratedPositionsDeflated");Yt.compareByGeneratedPositionsDeflated=nwe;function uA(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}o(uA,"strcmp");function swe(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=uA(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:uA(t.name,e.name)}o(swe,"compareByGeneratedPositionsInflated");Yt.compareByGeneratedPositionsInflated=swe;function iwe(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}o(iwe,"parseSourceMapInput");Yt.parseSourceMapInput=iwe;function owe(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=Nm(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=m$(AA(n),e)}return aD(e)}o(owe,"computeSourceURL");Yt.computeSourceURL=owe});var AD=f(g$=>{var cD=dA(),lD=Object.prototype.hasOwnProperty,ja=typeof Map<"u";function Ui(){this._array=[],this._set=ja?new Map:Object.create(null)}o(Ui,"ArraySet");Ui.fromArray=o(function(e,r){for(var n=new Ui,s=0,i=e.length;s<i;s++)n.add(e[s],r);return n},"ArraySet_fromArray");Ui.prototype.size=o(function(){return ja?this._set.size:Object.getOwnPropertyNames(this._set).length},"ArraySet_size");Ui.prototype.add=o(function(e,r){var n=ja?e:cD.toSetString(e),s=ja?this.has(e):lD.call(this._set,n),i=this._array.length;(!s||r)&&this._array.push(e),s||(ja?this._set.set(e,i):this._set[n]=i)},"ArraySet_add");Ui.prototype.has=o(function(e){if(ja)return this._set.has(e);var r=cD.toSetString(e);return lD.call(this._set,r)},"ArraySet_has");Ui.prototype.indexOf=o(function(e){if(ja){var r=this._set.get(e);if(r>=0)return r}else{var n=cD.toSetString(e);if(lD.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},"ArraySet_indexOf");Ui.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");Ui.prototype.toArray=o(function(){return this._array.slice()},"ArraySet_toArray");g$.ArraySet=Ui});var C$=f(E$=>{var y$=dA();function awe(t,e){var r=t.generatedLine,n=e.generatedLine,s=t.generatedColumn,i=e.generatedColumn;return n>r||n==r&&i>=s||y$.compareByGeneratedPositionsInflated(t,e)<=0}o(awe,"generatedPositionAfter");function fC(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o(fC,"MappingList");fC.prototype.unsortedForEach=o(function(e,r){this._array.forEach(e,r)},"MappingList_forEach");fC.prototype.add=o(function(e){awe(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},"MappingList_add");fC.prototype.toArray=o(function(){return this._sorted||(this._array.sort(y$.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},"MappingList_toArray");E$.MappingList=fC});var uD=f(I$=>{var Sm=oD(),ht=dA(),gC=AD().ArraySet,cwe=C$().MappingList;function Rn(t){t||(t={}),this._file=ht.getArg(t,"file",null),this._sourceRoot=ht.getArg(t,"sourceRoot",null),this._skipValidation=ht.getArg(t,"skipValidation",!1),this._sources=new gC,this._names=new gC,this._mappings=new cwe,this._sourcesContents=null}o(Rn,"SourceMapGenerator");Rn.prototype._version=3;Rn.fromSourceMap=o(function(e){var r=e.sourceRoot,n=new Rn({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=ht.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=ht.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");Rn.prototype.addMapping=o(function(e){var r=ht.getArg(e,"generated"),n=ht.getArg(e,"original",null),s=ht.getArg(e,"source",null),i=ht.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");Rn.prototype.setSourceContent=o(function(e,r){var n=e;this._sourceRoot!=null&&(n=ht.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[ht.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[ht.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},"SourceMapGenerator_setSourceContent");Rn.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=ht.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=ht.join(n,l.source)),i!=null&&(l.source=ht.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=ht.join(n,l)),i!=null&&(l=ht.relative(i,l)),this.setSourceContent(l,A))},this)},"SourceMapGenerator_applySourceMap");Rn.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");Rn.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(!ht.compareByGeneratedPositionsInflated(A,m[p-1]))continue;l+=","}l+=Sm.encode(A.generatedColumn-e),e=A.generatedColumn,A.source!=null&&(d=this._sources.indexOf(A.source),l+=Sm.encode(d-a),a=d,l+=Sm.encode(A.originalLine-1-s),s=A.originalLine-1,l+=Sm.encode(A.originalColumn-n),n=A.originalColumn,A.name!=null&&(u=this._names.indexOf(A.name),l+=Sm.encode(u-i),i=u)),c+=l}return c},"SourceMapGenerator_serializeMappings");Rn.prototype._generateSourcesContent=o(function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=ht.relative(r,n));var s=ht.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null},this)},"SourceMapGenerator_generateSourcesContent");Rn.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");Rn.prototype.toString=o(function(){return JSON.stringify(this.toJSON())},"SourceMapGenerator_toString");I$.SourceMapGenerator=Rn});var B$=f(Ka=>{Ka.GREATEST_LOWER_BOUND=1;Ka.LEAST_UPPER_BOUND=2;function dD(t,e,r,n,s,i){var a=Math.floor((e-t)/2)+t,c=s(r,n[a],!0);return c===0?a:c>0?e-a>1?dD(a,e,r,n,s,i):i==Ka.LEAST_UPPER_BOUND?e<n.length?e:-1:a:a-t>1?dD(t,a,r,n,s,i):i==Ka.LEAST_UPPER_BOUND?a:t<0?-1:t}o(dD,"recursiveSearch");Ka.search=o(function(e,r,n,s){if(r.length===0)return-1;var i=dD(-1,r.length,e,r,n,s||Ka.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 x$=f(Q$=>{function mD(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}o(mD,"swap");function lwe(t,e){return Math.round(t+Math.random()*(e-t))}o(lwe,"randomIntInRange");function pD(t,e,r,n){if(r<n){var s=lwe(r,n),i=r-1;mD(t,s,n);for(var a=t[n],c=r;c<n;c++)e(t[c],a)<=0&&(i+=1,mD(t,i,c));mD(t,i+1,c);var l=i+1;pD(t,e,r,l-1),pD(t,e,l+1,n)}}o(pD,"doQuickSort");Q$.quickSort=function(t,e){pD(t,e,0,t.length-1)}});var w$=f(yC=>{var q=dA(),hD=B$(),mA=AD().ArraySet,Awe=oD(),Rm=x$().quickSort;function Le(t,e){var r=t;return typeof t=="string"&&(r=q.parseSourceMapInput(t)),r.sections!=null?new Xn(r,e):new Mt(r,e)}o(Le,"SourceMapConsumer");Le.fromSourceMap=function(t,e){return Mt.fromSourceMap(t,e)};Le.prototype._version=3;Le.prototype.__generatedMappings=null;Object.defineProperty(Le.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings},"get")});Le.prototype.__originalMappings=null;Object.defineProperty(Le.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:o(function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings},"get")});Le.prototype._charIsMappingSeparator=o(function(e,r){var n=e.charAt(r);return n===";"||n===","},"SourceMapConsumer_charIsMappingSeparator");Le.prototype._parseMappings=o(function(e,r){throw new Error("Subclasses must implement _parseMappings")},"SourceMapConsumer_parseMappings");Le.GENERATED_ORDER=1;Le.ORIGINAL_ORDER=2;Le.GREATEST_LOWER_BOUND=1;Le.LEAST_UPPER_BOUND=2;Le.prototype.eachMapping=o(function(e,r,n){var s=r||null,i=n||Le.GENERATED_ORDER,a;switch(i){case Le.GENERATED_ORDER:a=this._generatedMappings;break;case Le.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=q.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");Le.prototype.allGeneratedPositionsFor=o(function(e){var r=q.getArg(e,"line"),n={source:q.getArg(e,"source"),originalLine:r,originalColumn:q.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",q.compareByOriginalPositions,hD.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:q.getArg(a,"generatedLine",null),column:q.getArg(a,"generatedColumn",null),lastColumn:q.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)s.push({line:q.getArg(a,"generatedLine",null),column:q.getArg(a,"generatedColumn",null),lastColumn:q.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i]}return s},"SourceMapConsumer_allGeneratedPositionsFor");yC.SourceMapConsumer=Le;function Mt(t,e){var r=t;typeof t=="string"&&(r=q.parseSourceMapInput(t));var n=q.getArg(r,"version"),s=q.getArg(r,"sources"),i=q.getArg(r,"names",[]),a=q.getArg(r,"sourceRoot",null),c=q.getArg(r,"sourcesContent",null),l=q.getArg(r,"mappings"),A=q.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);a&&(a=q.normalize(a)),s=s.map(String).map(q.normalize).map(function(u){return a&&q.isAbsolute(a)&&q.isAbsolute(u)?q.relative(a,u):u}),this._names=mA.fromArray(i.map(String),!0),this._sources=mA.fromArray(s,!0),this._absoluteSources=this._sources.toArray().map(function(u){return q.computeSourceURL(a,u,e)}),this.sourceRoot=a,this.sourcesContent=c,this._mappings=l,this._sourceMapURL=e,this.file=A}o(Mt,"BasicSourceMapConsumer");Mt.prototype=Object.create(Le.prototype);Mt.prototype.consumer=Le;Mt.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=q.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};Mt.fromSourceMap=o(function(e,r){var n=Object.create(Mt.prototype),s=n._names=mA.fromArray(e._names.toArray(),!0),i=n._sources=mA.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 q.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 b$;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 Rm(n.__originalMappings,q.compareByOriginalPositions),n},"SourceMapConsumer_fromSourceMap");Mt.prototype._version=3;Object.defineProperty(Mt.prototype,"sources",{get:o(function(){return this._absoluteSources.slice()},"get")});function b$(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}o(b$,"Mapping");Mt.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=[],g,C,y,E,I;u<A;)if(e.charAt(u)===";")n++,u++,s=0;else if(e.charAt(u)===",")u++;else{for(g=new b$,g.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;)Awe.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}g.generatedColumn=s+y[0],s=g.generatedColumn,y.length>1&&(g.source=c+y[1],c+=y[1],g.originalLine=i+y[2],i=g.originalLine,g.originalLine+=1,g.originalColumn=a+y[3],a=g.originalColumn,y.length>4&&(g.name=l+y[4],l+=y[4])),h.push(g),typeof g.originalLine=="number"&&p.push(g)}Rm(h,q.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,Rm(p,q.compareByOriginalPositions),this.__originalMappings=p},"SourceMapConsumer_parseMappings");Mt.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 hD.search(e,r,i,a)},"SourceMapConsumer_findMapping");Mt.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");Mt.prototype.originalPositionFor=o(function(e){var r={generatedLine:q.getArg(e,"line"),generatedColumn:q.getArg(e,"column")},n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",q.compareByGeneratedPositionsDeflated,q.getArg(e,"bias",Le.GREATEST_LOWER_BOUND));if(n>=0){var s=this._generatedMappings[n];if(s.generatedLine===r.generatedLine){var i=q.getArg(s,"source",null);i!==null&&(i=this._sources.at(i),i=q.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var a=q.getArg(s,"name",null);return a!==null&&(a=this._names.at(a)),{source:i,line:q.getArg(s,"originalLine",null),column:q.getArg(s,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},"SourceMapConsumer_originalPositionFor");Mt.prototype.hasContentsOfAllSources=o(function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1},"BasicSourceMapConsumer_hasContentsOfAllSources");Mt.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=q.relative(this.sourceRoot,s));var i;if(this.sourceRoot!=null&&(i=q.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");Mt.prototype.generatedPositionFor=o(function(e){var r=q.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:q.getArg(e,"line"),originalColumn:q.getArg(e,"column")},s=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",q.compareByOriginalPositions,q.getArg(e,"bias",Le.GREATEST_LOWER_BOUND));if(s>=0){var i=this._originalMappings[s];if(i.source===n.source)return{line:q.getArg(i,"generatedLine",null),column:q.getArg(i,"generatedColumn",null),lastColumn:q.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},"SourceMapConsumer_generatedPositionFor");yC.BasicSourceMapConsumer=Mt;function Xn(t,e){var r=t;typeof t=="string"&&(r=q.parseSourceMapInput(t));var n=q.getArg(r,"version"),s=q.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new mA,this._names=new mA;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=q.getArg(a,"offset"),l=q.getArg(c,"line"),A=q.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 Le(q.getArg(a,"map"),e)}})}o(Xn,"IndexedSourceMapConsumer");Xn.prototype=Object.create(Le.prototype);Xn.prototype.constructor=Le;Xn.prototype._version=3;Object.defineProperty(Xn.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")});Xn.prototype.originalPositionFor=o(function(e){var r={generatedLine:q.getArg(e,"line"),generatedColumn:q.getArg(e,"column")},n=hD.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");Xn.prototype.hasContentsOfAllSources=o(function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},"IndexedSourceMapConsumer_hasContentsOfAllSources");Xn.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");Xn.prototype.generatedPositionFor=o(function(e){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(q.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");Xn.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=q.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)}Rm(this.__generatedMappings,q.compareByGeneratedPositionsDeflated),Rm(this.__originalMappings,q.compareByOriginalPositions)},"IndexedSourceMapConsumer_parseMappings");yC.IndexedSourceMapConsumer=Xn});var S$=f(N$=>{var uwe=uD().SourceMapGenerator,EC=dA(),dwe=/(\r?\n)/,mwe=10,pA="$$$isSourceNode$$$";function tn(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[pA]=!0,n!=null&&this.add(n)}o(tn,"SourceNode");tn.fromStringWithSourceMap=o(function(e,r,n){var s=new tn,i=e.split(dwe),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=EC.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?EC.join(n,m.source):m.source;s.add(new tn(m.originalLine,m.originalColumn,h,p,m.name))}}o(d,"addMappingWithCode")},"SourceNode_fromStringWithSourceMap");tn.prototype.add=o(function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[pA]||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");tn.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[pA]||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");tn.prototype.walk=o(function(e){for(var r,n=0,s=this.children.length;n<s;n++)r=this.children[n],r[pA]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})},"SourceNode_walk");tn.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");tn.prototype.replaceRight=o(function(e,r){var n=this.children[this.children.length-1];return n[pA]?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");tn.prototype.setSourceContent=o(function(e,r){this.sourceContents[EC.toSetString(e)]=r},"SourceNode_setSourceContent");tn.prototype.walkSourceContents=o(function(e){for(var r=0,n=this.children.length;r<n;r++)this.children[r][pA]&&this.children[r].walkSourceContents(e);for(var s=Object.keys(this.sourceContents),r=0,n=s.length;r<n;r++)e(EC.fromSetString(s[r]),this.sourceContents[s[r]])},"SourceNode_walkSourceContents");tn.prototype.toString=o(function(){var e="";return this.walk(function(r){e+=r}),e},"SourceNode_toString");tn.prototype.toStringWithSourceMap=o(function(e){var r={code:"",line:1,column:0},n=new uwe(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)===mwe?(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");N$.SourceNode=tn});var R$=f(CC=>{CC.SourceMapGenerator=uD().SourceMapGenerator;CC.SourceMapConsumer=w$().SourceMapConsumer;CC.SourceNode=S$().SourceNode});var k$=f((IC,D$)=>{"use strict";IC.__esModule=!0;var gD=or(),Xa=void 0;try{(typeof define!="function"||!define.amd)&&(P$=R$(),Xa=P$.SourceNode)}catch{}var P$;Xa||(Xa=o(function(t,e,r,n){this.src="",n&&this.add(n)},"SourceNode"),Xa.prototype={add:o(function(e){gD.isArray(e)&&(e=e.join("")),this.src+=e},"add"),prepend:o(function(e){gD.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 fD(t,e,r){if(gD.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(fD,"castChunk");function v$(t){this.srcFile=t,this.source=[]}o(v$,"CodeGen");v$.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 Xa(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 Xa?e:(e=fD(e,this,r),new Xa(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=fD(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(fD(e[n],this));return r},"generateList"),generateArray:o(function(e){var r=this.generateList(e);return r.prepend("["),r.add("]"),r},"generateArray")};IC.default=v$;D$.exports=IC.default});var _$=f((BC,F$)=>{"use strict";BC.__esModule=!0;function L$(t){return t&&t.__esModule?t:{default:t}}o(L$,"_interopRequireDefault");var T$=rC(),pwe=en(),yD=L$(pwe),hwe=or(),fwe=k$(),M$=L$(fwe);function hA(t){this.value=t}o(hA,"Literal");function fA(){}o(fA,"JavaScriptCompiler");fA.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=T$.COMPILER_REVISION,r=T$.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,n){return hwe.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 yD.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 M$.default(this.options.srcName),this.decorators=new M$.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(gwe(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:fA,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 hA||(e=this.source.wrap(e)),this.inlineStack.push(e),e},"push"),pushStackLiteral:o(function(e){this.push(new hA(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 yD.default("replaceStack on non-inline");var a=this.popStack(!0);if(a instanceof hA)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 hA)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 hA)return n.value;if(!r){if(!this.stackSlot)throw new yD.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 hA?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=fA.RESERVED_WORDS={},r=0,n=t.length;r<n;r++)e[t[r]]=!0})();fA.isValidJavaScriptVariableName=function(t){return!fA.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)};function gwe(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(gwe,"strictLookup");BC.default=fA;F$.exports=BC.default});var q$=f((QC,O$)=>{"use strict";QC.__esModule=!0;function Pm(t){return t&&t.__esModule?t:{default:t}}o(Pm,"_interopRequireDefault");var ywe=zW(),Ewe=Pm(ywe),Cwe=Jv(),Iwe=Pm(Cwe),ED=t$(),CD=i$(),Bwe=_$(),Qwe=Pm(Bwe),xwe=mC(),bwe=Pm(xwe),wwe=zv(),Nwe=Pm(wwe),Swe=Ewe.default.create;function U$(){var t=Swe();return t.compile=function(e,r){return CD.compile(e,r,t)},t.precompile=function(e,r){return CD.precompile(e,r,t)},t.AST=Iwe.default,t.Compiler=CD.Compiler,t.JavaScriptCompiler=Qwe.default,t.Parser=ED.parser,t.parse=ED.parse,t.parseWithoutProcessing=ED.parseWithoutProcessing,t}o(U$,"create");var gA=U$();gA.create=U$;Nwe.default(gA);gA.Visitor=bwe.default;gA.default=gA;QC.default=gA;O$.exports=QC.default});var H$=f(xC=>{"use strict";xC.__esModule=!0;xC.print=Dwe;xC.PrintVisitor=tt;function Rwe(t){return t&&t.__esModule?t:{default:t}}o(Rwe,"_interopRequireDefault");var Pwe=mC(),vwe=Rwe(Pwe);function Dwe(t){return new tt().accept(t)}o(Dwe,"print");function tt(){this.padding=0}o(tt,"PrintVisitor");tt.prototype=new vwe.default;tt.prototype.pad=function(t){for(var e="",r=0,n=this.padding;r<n;r++)e+=" ";return e+=t+`
|
|
`,e};tt.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};tt.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};tt.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};tt.prototype.BlockStatement=tt.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};tt.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+" }}")};tt.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+" }}")};tt.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};tt.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};tt.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};tt.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};tt.prototype.StringLiteral=function(t){return'"'+t.value+'"'};tt.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};tt.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};tt.prototype.UndefinedLiteral=function(){return"UNDEFINED"};tt.prototype.NullLiteral=function(){return"NULL"};tt.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(", ")+"}"};tt.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var V$=f((_Xe,Y$)=>{var bC=q$().default,G$=H$();bC.PrintVisitor=G$.PrintVisitor;bC.print=G$.print;Y$.exports=bC;function z$(t,e){var r=require("fs"),n=r.readFileSync(e,"utf8");t.exports=bC.compile(n)}o(z$,"extension");typeof require<"u"&&require.extensions&&(require.extensions[".handlebars"]=z$,require.extensions[".hbs"]=z$)});var ND=Q(require("os"),1);function ti(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(ti,"toCommandValue");function NC(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(NC,"toCommandProperties");function Oi(t,e,r){let n=new SC(t,e,r);process.stdout.write(n.toString()+ND.EOL)}o(Oi,"issueCommand");function RC(t,e=""){Oi(t,{},e)}o(RC,"issue");var wD="::",SC=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=wD+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}=${u5(s)}`)}}return e+=`${wD}${A5(this.message)}`,e}};function A5(t){return ti(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(A5,"escapeData");function u5(t){return ti(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(u5,"escapeProperty");var SD=Q(require("crypto"),1),Mm=Q(require("fs"),1),Tm=Q(require("os"),1);function PC(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!Mm.existsSync(r))throw new Error(`Missing file at path: ${r}`);Mm.appendFileSync(r,`${ti(e)}${Tm.EOL}`,{encoding:"utf8"})}o(PC,"issueFileCommand");function vC(t,e){let r=`ghadelimiter_${SD.randomUUID()}`,n=ti(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}${Tm.EOL}${n}${Tm.EOL}${r}`}o(vC,"prepareKeyValueMessage");var fx=Q(require("os"),1);var vh=Q(TC(),1),wie=Q(tx(),1);var us;(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"})(us||(us={}));var i1;(function(t){t.Accept="accept",t.ContentType="content-type"})(i1||(i1={}));var o1;(function(t){t.ApplicationJson="application/json"})(o1||(o1={}));var QRe=[us.MovedPermanently,us.ResourceMoved,us.SeeOther,us.TemporaryRedirect,us.PermanentRedirect],xRe=[us.BadGateway,us.ServiceUnavailable,us.GatewayTimeout];var l1=require("os"),Eu=require("fs");var nx=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:Sie,appendFile:Rie,writeFile:Pie}=Eu.promises,c1="GITHUB_STEP_SUMMARY";var sx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return nx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[c1];if(!e)throw new Error(`Unable to find environment variable for $${c1}. Check if your runtime environment supports job summaries.`);try{yield Sie(e,Eu.constants.R_OK|Eu.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 nx(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?Pie:Rie)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return nx(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(l1.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()}},kRe=new sx;var px=Q(require("os"),1);var mx=require("string_decoder");var Iu=Q(require("os"),1),dx=Q(require("events"),1),B1=Q(require("child_process"),1),Q1=Q(require("path"),1);var g1=require("assert"),_r=Q(require("path"),1);var Cu=Q(require("fs"),1),oo=Q(require("path"),1);var ix=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},{chmod:ox,copyFile:u1,lstat:Dh,mkdir:d1,open:_Re,readdir:ax,rename:vie,rm:m1,rmdir:URe,stat:ia,symlink:p1,unlink:cx}=Cu.promises,ds=process.platform==="win32";function h1(t){return ix(this,void 0,void 0,function*(){let e=yield Cu.promises.readlink(t);return ds&&!e.endsWith("\\")?`${e}\\`:e})}o(h1,"readlink");var ORe=Cu.constants.O_RDONLY;function Kc(t){return ix(this,void 0,void 0,function*(){try{yield ia(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}o(Kc,"exists");function kh(t){if(t=Die(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return ds?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(kh,"isRooted");function lx(t,e){return ix(this,void 0,void 0,function*(){let r;try{r=yield ia(t)}catch(s){s.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${s}`)}if(r&&r.isFile()){if(ds){let s=oo.extname(t).toUpperCase();if(e.some(i=>i.toUpperCase()===s))return t}else if(A1(r))return t}let n=t;for(let s of e){t=n+s,r=void 0;try{r=yield ia(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if(ds){try{let i=oo.dirname(t),a=oo.basename(t).toUpperCase();for(let c of yield ax(i))if(a===c.toUpperCase()){t=oo.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(A1(r))return t}}return""})}o(lx,"tryGetExecutablePath");function Die(t){return t=t||"",ds?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(Die,"normalizeSeparators");function A1(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(A1,"isUnixExecutable");var oa=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 y1(t,e){return oa(this,arguments,void 0,function*(r,n,s={}){let{force:i,recursive:a,copySourceDirectory:c}=Tie(s),l=(yield Kc(n))?yield ia(n):null;if(l&&l.isFile()&&!i)return;let A=l&&l.isDirectory()&&c?_r.join(n,_r.basename(r)):n;if(!(yield Kc(r)))throw new Error(`no such file or directory: ${r}`);if((yield ia(r)).isDirectory())if(a)yield E1(r,A,0,i);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(_r.relative(r,A)==="")throw new Error(`'${A}' and '${r}' are the same file`);yield C1(r,A,i)}})}o(y1,"cp");function Ax(t){return oa(this,void 0,void 0,function*(){if(ds&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield m1(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}o(Ax,"rmRF");function aa(t){return oa(this,void 0,void 0,function*(){(0,g1.ok)(t,"a path argument must be provided"),yield d1(t,{recursive:!0})})}o(aa,"mkdirP");function mr(t,e){return oa(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let n=yield mr(t,!1);if(!n)throw ds?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 kie(t);return r&&r.length>0?r[0]:""})}o(mr,"which");function kie(t){return oa(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(ds&&process.env.PATHEXT)for(let s of process.env.PATHEXT.split(_r.delimiter))s&&e.push(s);if(kh(t)){let s=yield lx(t,e);return s?[s]:[]}if(t.includes(_r.sep))return[];let r=[];if(process.env.PATH)for(let s of process.env.PATH.split(_r.delimiter))s&&r.push(s);let n=[];for(let s of r){let i=yield lx(_r.join(s,t),e);i&&n.push(i)}return n})}o(kie,"findInPath");function Tie(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(Tie,"readCopyOptions");function E1(t,e,r,n){return oa(this,void 0,void 0,function*(){if(r>=255)return;r++,yield aa(e);let s=yield ax(t);for(let i of s){let a=`${t}/${i}`,c=`${e}/${i}`;(yield Dh(a)).isDirectory()?yield E1(a,c,r,n):yield C1(a,c,n)}yield ox(e,(yield ia(t)).mode)})}o(E1,"cpDirRecursive");function C1(t,e,r){return oa(this,void 0,void 0,function*(){if((yield Dh(t)).isSymbolicLink()){try{yield Dh(e),yield cx(e)}catch(s){s.code==="EPERM"&&(yield ox(e,"0666"),yield cx(e))}let n=yield h1(t);yield p1(n,e,ds?"junction":null)}else(!(yield Kc(e))||r)&&(yield u1(t,e))})}o(C1,"copyFile");var x1=require("timers");var I1=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())})},Th=process.platform==="win32",Mh=class extends dx.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(Th)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(Iu.EOL);for(;i>-1;){let a=s.substring(0,i);n(a),s=s.substring(i+Iu.EOL.length),i=s.indexOf(Iu.EOL)}return s}catch(s){return this._debug(`error processing line. Failed with error ${s}`),""}}_getSpawnFileName(){return Th&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(Th&&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 I1(this,void 0,void 0,function*(){return!kh(this.toolPath)&&(this.toolPath.includes("/")||Th&&this.toolPath.includes("\\"))&&(this.toolPath=Q1.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield mr(this.toolPath,!0),new Promise((e,r)=>I1(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)+Iu.EOL);let s=new ux(n,this.toolPath);if(s.on("debug",A=>{this._debug(A)}),this.options.cwd&&!(yield Kc(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),a=B1.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 b1(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(b1,"argStringToArray");var ux=class t extends dx.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,x1.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 w1=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function ao(t,e,r){return w1(this,void 0,void 0,function*(){let n=b1(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 Mh(s,e,r).exec()})}o(ao,"exec");function Bu(t,e,r){return w1(this,void 0,void 0,function*(){var n,s;let i="",a="",c=new mx.StringDecoder("utf8"),l=new mx.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(g=>{a+=l.write(g),u&&u(g)},"stdErrListener"),m=o(g=>{i+=c.write(g),A&&A(g)},"stdOutListener"),p=Object.assign(Object.assign({},r?.listeners),{stdout:m,stderr:d}),h=yield ao(t,e,Object.assign(Object.assign({},r),{listeners:p}));return i+=c.end(),a+=l.end(),{exitCode:h,stdout:i,stderr:a}})}o(Bu,"getExecOutput");var VRe=px.default.platform(),JRe=px.default.arch();var Fie=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())})},hx;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(hx||(hx={}));function jc(t){Oi("add-mask",{},t)}o(jc,"setSecret");function Zc(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(Zc,"getInput");function gx(t,e){let r=["true","True","TRUE"],n=["false","False","FALSE"],s=Zc(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(gx,"getBooleanInput");function N1(t,e){if(process.env.GITHUB_OUTPUT||"")return PC("OUTPUT",vC(t,e));process.stdout.write(fx.EOL),Oi("set-output",{name:t},ti(e))}o(N1,"setOutput");function S1(t){process.exitCode=hx.Failure,el(t)}o(S1,"setFailed");function ca(){return process.env.RUNNER_DEBUG==="1"}o(ca,"isDebug");function b(t){Oi("debug",{},t)}o(b,"debug");function el(t,e={}){Oi("error",NC(e),t instanceof Error?t.toString():t)}o(el,"error");function ft(t,e={}){Oi("warning",NC(e),t instanceof Error?t.toString():t)}o(ft,"warning");function he(t){process.stdout.write(t+fx.EOL)}o(he,"info");function _ie(t){RC("group",t)}o(_ie,"startGroup");function Uie(){RC("endgroup")}o(Uie,"endGroup");function ms(t,e){return Fie(this,void 0,void 0,function*(){_ie(t);let r;try{r=yield e()}finally{Uie()}return r})}o(ms,"group");function Lh(t,e){if(process.env.GITHUB_STATE||"")return PC("STATE",vC(t,e));Oi("save-state",{name:t},ti(e))}o(Lh,"saveState");function R1(t){return process.env[`STATE_${t}`]||""}o(R1,"getState");var UE=Q(require("fs"),1),Iv=Q(require("os"),1),Bv=Q(require("path"),1);var v1=Q(require("os"),1);function xu(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(xu,"toCommandValue");function D1(t,e,r){let n=new yx(t,e,r);process.stdout.write(n.toString()+v1.EOL)}o(D1,"issueCommand");var P1="::",yx=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=P1+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}=${qie(s)}`)}}return e+=`${P1}${Oie(this.message)}`,e}};function Oie(t){return xu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Oie,"escapeData");function qie(t){return xu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(qie,"escapeProperty");var T1=require("os"),bu=require("fs");var Ex=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},{access:Hie,appendFile:zie,writeFile:Gie}=bu.promises,k1="GITHUB_STEP_SUMMARY";var Cx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Ex(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[k1];if(!e)throw new Error(`Unable to find environment variable for $${k1}. Check if your runtime environment supports job summaries.`);try{yield Hie(e,bu.constants.R_OK|bu.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 Ex(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?Gie:zie)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Ex(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(T1.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()}},QPe=new Cx;var Ix=Q(require("os"),1);var SPe=Ix.default.platform(),RPe=Ix.default.arch();var M1;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(M1||(M1={}));function $t(t){D1("debug",{},t)}o($t,"debug");var hr=Q(require("fs"),1);var qce=Q(qx(),1);var $h=Q(require("os"),1),co=Q(require("path"),1);var un=Q(qx(),1);var wq=require("assert");var bq=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 LDe=process.platform==="win32",FDe=process.platform==="darwin";function Hx(t,e,r,n){return bq(this,void 0,void 0,function*(){if(r=un.clean(r)||r,n=n||$h.arch(),$t(`Caching tool ${e} ${r} ${n}`),$t(`source dir: ${t}`),!hr.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let s=yield Gce(e,r,n);for(let i of hr.readdirSync(t)){let a=co.join(t,i);yield y1(a,s,{recursive:!0})}return Yce(e,r,n),s})}o(Hx,"cacheDir");function Nq(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||$h.arch(),!Sq(e)){let s=zce(t,r);e=Vce(s,e)}let n="";if(e){e=un.clean(e)||"";let s=co.join(jh(),t,e,r);$t(`checking cache: ${s}`),hr.existsSync(s)&&hr.existsSync(`${s}.complete`)?($t(`Found tool in cache ${t} ${e} ${r}`),n=s):$t("not found")}return n}o(Nq,"find");function zce(t,e){let r=[];e=e||$h.arch();let n=co.join(jh(),t);if(hr.existsSync(n)){let s=hr.readdirSync(n);for(let i of s)if(Sq(i)){let a=co.join(n,i,e||"");hr.existsSync(a)&&hr.existsSync(`${a}.complete`)&&r.push(i)}}return r}o(zce,"findAllVersions");function Gce(t,e,r){return bq(this,void 0,void 0,function*(){let n=co.join(jh(),t,un.clean(e)||e,r||"");$t(`destination ${n}`);let s=`${n}.complete`;return yield Ax(n),yield Ax(s),yield aa(n),n})}o(Gce,"_createToolPath");function Yce(t,e,r){let s=`${co.join(jh(),t,un.clean(e)||e,r||"")}.complete`;hr.writeFileSync(s,""),$t("finished caching tool")}o(Yce,"_completeToolPath");function Sq(t){let e=un.clean(t)||"";$t(`isExplicit: ${e}`);let r=un.valid(e)!=null;return $t(`explicit? ${r}`),r}o(Sq,"isExplicitVersion");function Vce(t,e){let r="";$t(`evaluating ${t.length} versions`),t=t.sort((n,s)=>un.gt(n,s)?1:-1);for(let n=t.length-1;n>=0;n--){let s=t[n];if(un.satisfies(s,e)){r=s;break}}return r?$t(`matched: ${r}`):$t("match not found"),r}o(Vce,"evaluateVersions");function jh(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,wq.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}o(jh,"_getCacheDirectory");var hm=Q(require("path"),1);var Pq=Q(require("os"),1);function ku(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(ku,"toCommandValue");function vq(t,e,r){let n=new zx(t,e,r);process.stdout.write(n.toString()+Pq.EOL)}o(vq,"issueCommand");var Rq="::",zx=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=Rq+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}=${$ce(s)}`)}}return e+=`${Rq}${Wce(this.message)}`,e}};function Wce(t){return ku(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Wce,"escapeData");function $ce(t){return ku(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o($ce,"escapeProperty");var kq=require("os"),Tu=require("fs");var Gx=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})},{access:jce,appendFile:Kce,writeFile:Xce}=Tu.promises,Dq="GITHUB_STEP_SUMMARY";var Yx=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Gx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Dq];if(!e)throw new Error(`Unable to find environment variable for $${Dq}. Check if your runtime environment supports job summaries.`);try{yield jce(e,Tu.constants.R_OK|Tu.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 Gx(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?Xce:Kce)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Gx(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){return this._buffer="",this}addRaw(e,r=!1){return this._buffer+=e,r?this.addEOL():this}addEOL(){return this.addRaw(kq.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()}},ZDe=new Yx;var Vx=Q(require("os"),1);var ske=Vx.default.platform(),ike=Vx.default.arch();var Tq;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Tq||(Tq={}));function dn(t){vq("debug",{},t)}o(dn,"debug");var ol=Q(require("fs"),1);function Wx(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,dn(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,dn(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,dn(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,dn(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,dn(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}o(Wx,"getOptions");var tf=Q(require("path"),1);var rl=Q(require("path"),1),lo=Q(require("assert"),1);var Ao=process.platform==="win32";function gi(t){if(t=fi(t),Ao&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=rl.dirname(t);return Ao&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=fi(e)),e}o(gi,"dirname");function Kh(t,e){if((0,lo.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,lo.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),Mu(e))return e;if(Ao){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,lo.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(On(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,lo.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,lo.default)(Mu(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||Ao&&t.endsWith("\\")||(t+=rl.sep),t+e}o(Kh,"ensureAbsoluteRoot");function Mu(t){return(0,lo.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=On(t),Ao?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}o(Mu,"hasAbsoluteRoot");function Lu(t){return(0,lo.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=On(t),Ao?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}o(Lu,"hasRoot");function On(t){return t=t||"",Ao?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}o(On,"normalizeSeparators");function fi(t){return t?(t=On(t),!t.endsWith(rl.sep)||t===rl.sep||Ao&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}o(fi,"safeTrimTrailingSeparator");var qn;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(qn||(qn={}));var Mq=process.platform==="win32";function jx(t){t=t.filter(n=>!n.negate);let e={};for(let n of t){let s=Mq?n.searchPath.toUpperCase():n.searchPath;e[s]="candidate"}let r=[];for(let n of t){let s=Mq?n.searchPath.toUpperCase():n.searchPath;if(e[s]==="included")continue;let i=!1,a=s,c=gi(a);for(;c!==a;){if(e[c]){i=!0;break}a=c,c=gi(a)}i||(r.push(n.searchPath),e[s]="included")}return r}o(jx,"getSearchPaths");function Lq(t,e){let r=qn.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}o(Lq,"match");function Fq(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}o(Fq,"partialMatch");var iH=Q(require("os"),1),il=Q(require("path"),1);var mo=Q(require("assert"),1),oH=Q(sH(),1);var Aa=Q(require("path"),1);var sl=Q(require("assert"),1);var Qle=process.platform==="win32",ua=class{static{o(this,"Path")}constructor(e){if(this.segments=[],typeof e=="string")if((0,sl.default)(e,"Parameter 'itemPath' must not be empty"),e=fi(e),!Lu(e))this.segments=e.split(Aa.sep);else{let r=e,n=gi(r);for(;n!==r;){let s=Aa.basename(r);this.segments.unshift(s),r=n,n=gi(r)}this.segments.unshift(r)}else{(0,sl.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,sl.default)(n,"Parameter 'itemPath' must not contain any empty segments"),n=On(e[r]),r===0&&Lu(n)?(n=fi(n),(0,sl.default)(n===gi(n),"Parameter 'itemPath' root segment contains information for multiple segments"),this.segments.push(n)):((0,sl.default)(!n.includes(Aa.sep),"Parameter 'itemPath' contains unexpected path separators"),this.segments.push(n))}}}toString(){let e=this.segments[0],r=e.endsWith(Aa.sep)||Qle&&/^[A-Z]:$/i.test(e);for(let n=1;n<this.segments.length;n++)r?r=!1:e+=Aa.sep,e+=this.segments[n];return e}};var{Minimatch:xle}=oH.default,yi=process.platform==="win32",_u=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,mo.default)(n.length,"Parameter 'segments' must not empty");let A=t.getLiteral(n[0]);(0,mo.default)(A&&Mu(A),"Parameter 'segments' first element must be a root path"),i=new ua(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 ua(i).segments,this.trailingSeparator=On(i).endsWith(il.sep),i=fi(i);let a=!1,c=this.segments.map(A=>t.getLiteral(A)).filter(A=>!a&&!(a=A===""));this.searchPath=new ua(c).toString(),this.rootRegExp=new RegExp(t.regExpEscape(c[0]),yi?"i":""),this.isImplicitPattern=r;let l={dot:!0,nobrace:!0,nocase:yi,nocomment:!0,noext:!0,nonegate:!0};i=yi?i.replace(/\\/g,"/"):i,this.minimatch=new xle(i,l)}match(e){return this.segments[this.segments.length-1]==="**"?(e=On(e),!e.endsWith(il.sep)&&this.isImplicitPattern===!1&&(e=`${e}${il.sep}`)):e=fi(e),this.minimatch.match(e)?this.trailingSeparator?qn.Directory:qn.All:qn.None}partialMatch(e){return e=fi(e),gi(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(yi?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(yi?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,mo.default)(e,"pattern cannot be empty");let n=new ua(e).segments.map(s=>t.getLiteral(s));if((0,mo.default)(n.every((s,i)=>(s!=="."||i===0)&&s!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,mo.default)(!Lu(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=On(e),e==="."||e.startsWith(`.${il.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${il.sep}`))r=r||iH.homedir(),(0,mo.default)(r,"Unable to determine HOME directory"),(0,mo.default)(Mu(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(yi&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let s=Kh("C:\\dummy-root",e.substr(0,2));e.length>2&&!s.endsWith("\\")&&(s+="\\"),e=t.globEscape(s)+e.substr(2)}else if(yi&&(e==="\\"||e.match(/^\\[^\\]/))){let s=Kh("C:\\dummy-root","\\");s.endsWith("\\")||(s+="\\"),e=t.globEscape(s)+e.substr(1)}else e=Kh(t.globEscape(process.cwd()),e);return On(e)}static getLiteral(e){let r="";for(let n=0;n<e.length;n++){let s=e[n];if(s==="\\"&&!yi&&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==="\\"&&!yi&&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 Uu=class{static{o(this,"SearchState")}constructor(e,r){this.path=e,this.level=r}};var rb=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())})},ble=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)}},po=function(t){return this instanceof po?(this.v=t,this):new po(t)},wle=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(g){return new Promise(function(C,y){i.push([p,g,C,y])>1||l(p,g)})},h&&(s[p]=h(s[p])))}function l(p,h){try{A(n[p](h))}catch(g){m(i[0][3],g)}}function A(p){p.value instanceof po?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])}},Nle=process.platform==="win32",ef=class t{static{o(this,"DefaultGlobber")}constructor(e){this.patterns=[],this.searchPaths=[],this.options=Wx(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return rb(this,void 0,void 0,function*(){var e,r,n,s;let i=[];try{for(var a=!0,c=ble(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 wle(this,arguments,o(function*(){let r=Wx(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 _u(a.negate,!0,a.segments.concat("**")));let s=[];for(let a of jx(n)){dn(`Search path '${a}'`);try{yield po(ol.promises.lstat(a))}catch(c){if(c.code==="ENOENT")continue;throw c}s.unshift(new Uu(a,1))}let i=[];for(;s.length;){let a=s.pop(),c=Lq(n,a.path),l=!!c||Fq(n,a.path);if(!c&&!l)continue;let A=yield po(t.stat(a,r,i));if(A&&!(r.excludeHiddenFiles&&tf.basename(a.path).match(/^\./)))if(A.isDirectory()){if(c&qn.Directory&&r.matchDirectories)yield yield po(a.path);else if(!l)continue;let u=a.level+1,d=(yield po(ol.promises.readdir(a.path))).map(m=>new Uu(tf.join(a.path,m),u));s.push(...d.reverse())}else c&qn.File&&(yield yield po(a.path))}},"globGenerator_1"))}static create(e,r){return rb(this,void 0,void 0,function*(){let n=new t(r);Nle&&(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 _u(i));return n.searchPaths.push(...jx(n.patterns)),n})}static stat(e,r,n){return rb(this,void 0,void 0,function*(){let s;if(r.followSymbolicLinks)try{s=yield ol.promises.stat(e.path)}catch(i){if(i.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){dn(`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 ol.promises.lstat(e.path);if(s.isDirectory()&&r.followSymbolicLinks){let i=yield ol.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(a=>a===i)){dn(`Symlink cycle detected for path '${e.path}' and realpath '${i}'`);return}n.push(i)}return s})}};var Sle=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 aH(t,e){return Sle(this,void 0,void 0,function*(){return yield ef.create(t,e)})}o(aH,"create");var gf=Q(require("crypto"),1),ll=Q(require("fs"),1),ma=Q(require("path"),1),Xz=Q(jz(),1),Zz=Q(require("util"),1);var Ju;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(Ju||(Ju={}));var er;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(er||(er={}));var Or;(function(t){t.GNU="gnu",t.BSD="bsd"})(Or||(Or={}));var hf=2,ff=5e3,Bb=5e3,Qb=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,Kz=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,Wu="cache.tar",xb="manifest.txt",TMe=10*Math.pow(1024,3);var cl=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())})},bde=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)}},wde="1.0";function $u(){return cl(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=ma.join(n,"actions","temp")}let r=ma.join(e,gf.randomUUID());return yield aa(r),r})}o($u,"createTempDirectory");function fs(t){return ll.statSync(t).size}o(fs,"getArchiveFileSizeInBytes");function bb(t){return cl(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 aH(t.join(`
|
|
`),{implicitDescendants:!1});try{for(var A=!0,u=bde(l.globGenerator()),d;d=yield u.next(),e=d.done,!e;A=!0){s=d.value,A=!1;let p=ma.relative(c,s).replace(new RegExp(`\\${ma.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(bb,"resolvePaths");function ju(t){return cl(this,void 0,void 0,function*(){return Zz.promisify(ll.unlink)(t)})}o(ju,"unlinkFile");function eG(t){return cl(this,arguments,void 0,function*(e,r=[]){let n="";r.push("--version"),b(`Checking ${e} ${r.join(" ")}`);try{yield ao(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(s=>n+=s.toString(),"stdout"),stderr:o(s=>n+=s.toString(),"stderr")}})}catch(s){b(s.message)}return n=n.trim(),b(n),n})}o(eG,"getVersion");function Ku(){return cl(this,void 0,void 0,function*(){let t=yield eG("zstd",["--quiet"]),e=Xz.clean(t);return b(`zstd version: ${e}`),t===""?er.Gzip:er.ZstdWithoutLong})}o(Ku,"getCompressionMethod");function ho(t){return t===er.Gzip?Ju.Gzip:Ju.Zstd}o(ho,"getCacheFileName");function tG(){return cl(this,void 0,void 0,function*(){return ll.existsSync(Qb)?Qb:(yield eG("tar")).toLowerCase().includes("gnu tar")?mr("tar"):""})}o(tG,"getGnuTarPathOnWindows");function wb(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(wb,"assertDefined");function Al(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(wde),gf.createHash("sha256").update(n.join("|")).digest("hex")}o(Al,"getCacheVersion");function rG(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(rG,"getRuntimeToken");var Zu=Q(require("http"),1),Rb=Q(require("https"),1);function Nb(t){let e=t.protocol==="https:";if(Nde(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 Ef(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new Ef(`http://${r}`)}else return}o(Nb,"getProxyUrl");function Nde(t){if(!t.hostname)return!1;let e=t.hostname;if(Sde(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(Nde,"checkBypass");function Sde(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(Sde,"isLoopbackAddress");var Ef=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 fo=Q(TC(),1),nG=Q(tx(),1);var it=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())})},Je;(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"})(Je||(Je={}));var tr;(function(t){t.Accept="accept",t.ContentType="content-type"})(tr||(tr={}));var Ei;(function(t){t.ApplicationJson="application/json"})(Ei||(Ei={}));var Pde=[Je.MovedPermanently,Je.ResourceMoved,Je.SeeOther,Je.TemporaryRedirect,Je.PermanentRedirect],vde=[Je.BadGateway,Je.ServiceUnavailable,Je.GatewayTimeout],Dde=["OPTIONS","GET","DELETE","HEAD"],kde=10,Tde=5,gs=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},Sb=class{static{o(this,"HttpClientResponse")}constructor(e){this.message=e}readBody(){return it(this,void 0,void 0,function*(){return new Promise(e=>it(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 it(this,void 0,void 0,function*(){return new Promise(e=>it(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 Ci=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 it(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return it(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return it(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return it(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return it(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return it(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return it(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,s){return it(this,void 0,void 0,function*(){return this.request(e,r,n,s)})}getJson(e){return it(this,arguments,void 0,function*(r,n={}){n[tr.Accept]=this._getExistingOrDefaultHeader(n,tr.Accept,Ei.ApplicationJson);let s=yield this.get(r,n);return this._processResponse(s,this.requestOptions)})}postJson(e,r){return it(this,arguments,void 0,function*(n,s,i={}){let a=JSON.stringify(s,null,2);i[tr.Accept]=this._getExistingOrDefaultHeader(i,tr.Accept,Ei.ApplicationJson),i[tr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Ei.ApplicationJson);let c=yield this.post(n,a,i);return this._processResponse(c,this.requestOptions)})}putJson(e,r){return it(this,arguments,void 0,function*(n,s,i={}){let a=JSON.stringify(s,null,2);i[tr.Accept]=this._getExistingOrDefaultHeader(i,tr.Accept,Ei.ApplicationJson),i[tr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Ei.ApplicationJson);let c=yield this.put(n,a,i);return this._processResponse(c,this.requestOptions)})}patchJson(e,r){return it(this,arguments,void 0,function*(n,s,i={}){let a=JSON.stringify(s,null,2);i[tr.Accept]=this._getExistingOrDefaultHeader(i,tr.Accept,Ei.ApplicationJson),i[tr.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,Ei.ApplicationJson);let c=yield this.patch(n,a,i);return this._processResponse(c,this.requestOptions)})}request(e,r,n,s){return it(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&&Dde.includes(e)?this._maxRetries+1:1,l=0,A;do{if(A=yield this.requestRaw(a,n),A&&A.message&&A.message.statusCode===Je.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&&Pde.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||!vde.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 it(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 Sb(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=Nb(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?Rb:Zu;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({},Xu(this.requestOptions.headers),Xu(e||{})):Xu(e||{})}_getExistingOrDefaultHeader(e,r,n){let s;if(this.requestOptions&&this.requestOptions.headers){let a=Xu(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=Xu(this.requestOptions.headers)[tr.ContentType];i&&(typeof i=="number"?n=String(i):Array.isArray(i)?n=i.join(", "):n=i)}let s=e[tr.ContentType];return s!==void 0?typeof s=="number"?String(s):Array.isArray(s)?s.join(", "):s:n!==void 0?n:r}_getAgent(e){let r,n=Nb(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||Zu.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?fo.httpsOverHttps:fo.httpsOverHttp:l=A?fo.httpOverHttps:fo.httpOverHttp,r=l(c),this._proxyAgent=r}if(!r){let c={keepAlive:this._keepAlive,maxSockets:a};r=i?new Rb.Agent(c):new Zu.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 nG.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 it(this,void 0,void 0,function*(){e=Math.min(kde,e);let r=Tde*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return it(this,void 0,void 0,function*(){return new Promise((n,s)=>it(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===Je.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 gs(u,i);d.result=a.result,s(d)}else n(a)}))})}},Xu=o(t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{}),"lowercaseKeys");var Mde=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 ul=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 Mde(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var ql=Q(require("fs"),1),v4=require("url");var ys=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};var sG=require("node:os"),iG=Q(require("node:util"),1),oG=Q(require("node:process"),1);function aG(t,...e){oG.default.stderr.write(`${iG.default.format(t,...e)}${sG.EOL}`)}o(aG,"log");var cG=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,AG,Pb=[],vb=[],Cf=[];cG&&Db(cG);var uG=Object.assign(t=>dG(t),{enable:Db,enabled:kb,disable:Lde,log:aG});function Db(t){AG=t,Pb=[],vb=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?vb.push(r.substring(1)):Pb.push(r);for(let r of Cf)r.enabled=kb(r.namespace)}o(Db,"enable");function kb(t){if(t.endsWith("*"))return!0;for(let e of vb)if(lG(t,e))return!1;for(let e of Pb)if(lG(t,e))return!0;return!1}o(kb,"enabled");function lG(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(lG,"namespaceMatches");function Lde(){let t=AG||"";return Db(""),t}o(Lde,"disable");function dG(t){let e=Object.assign(r,{enabled:kb(t),destroy:Fde,log:uG.log,namespace:t,extend:_de});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return o(r,"debug"),Cf.push(e),e}o(dG,"createDebugger");function Fde(){let t=Cf.indexOf(this);return t>=0?(Cf.splice(t,1),!0):!1}o(Fde,"destroy");function _de(t){let e=dG(`${this.namespace}:${t}`);return e.log=this.log,e}o(_de,"extend");var dl=uG;var Tb=["verbose","info","warning","error"],mG={verbose:400,info:300,warning:200,error:100};function pG(t,e){e.log=(...r)=>{t.log(...r)}}o(pG,"patchLogMethod");function hG(t){return Tb.includes(t)}o(hG,"isTypeSpecRuntimeLogLevel");function If(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,n,s=dl(t.namespace);s.log=(...u)=>{dl.log(...u)};function i(u){if(u&&!hG(u))throw new Error(`Unknown log level '${u}'. Acceptable values: ${Tb.join(",")}`);n=u;let d=[];for(let m of e)a(m)&&d.push(m.namespace);dl.enable(d.join(","))}o(i,"contextSetLogLevel"),r&&(hG(r)?i(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${Tb.join(", ")}.`));function a(u){return!!(n&&mG[u.level]<=mG[n])}o(a,"shouldEnable");function c(u,d){let m=Object.assign(u.extend(d),{level:d});if(pG(u,m),a(m)){let p=dl.disable();dl.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 pG(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(If,"createLoggerContext");var fG=If({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),Ude=fG.logger;function ed(t){return fG.createClientLogger(t)}o(ed,"createClientLogger");function Bf(t){return t.toLowerCase()}o(Bf,"normalizeName");function*Ode(t){for(let e of t.values())yield[e.name,e.value]}o(Ode,"headerIterator");var Mb=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(Bf(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(Bf(e))?.value}has(e){return this._headersMap.has(Bf(e))}delete(e){this._headersMap.delete(Bf(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 Ode(this._headersMap)}};function qr(t){return new Mb(t)}o(qr,"createHttpHeaders");function pa(){return crypto.randomUUID()}o(pa,"randomUUID");var Lb=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??qr(),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||pa(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function Qf(t){return new Lb(t)}o(Qf,"createPipelineRequest");var gG=new Set(["Deserialize","Serialize","Retry","Sign"]),Fb=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&&!gG.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!gG.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 g=h.policy,C=h.options,y=g.name;if(r.has(y))throw new Error("Duplicate policy names not allowed in pipeline");let E={policy:g,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:g,options:C}=h,y=g.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 g of h.policies)if(!(g.afterPhase&&(!g.afterPhase.hasRun||g.afterPhase.policies.size))&&g.dependsOn.size===0){e.push(g.policy);for(let C of g.dependants)C.dependsOn.delete(g);r.delete(g.policy.name),h.policies.delete(g)}}o(d,"walkPhase");function 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 xf(){return Fb.create()}o(xf,"createEmptyPipeline");function ml(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}o(ml,"isObject");function ha(t){if(ml(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}o(ha,"isError");var yG=require("node:util"),EG=yG.inspect.custom;var _b="REDACTED",qde=["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"],Hde=["api-version"],Hn=class{static{o(this,"Sanitizer")}allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=qde.concat(e),r=Hde.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)||ml(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,_b);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]=_b;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]=_b;return r}};var zde=new Hn,rr=class t extends Error{static{o(this,"RestError")}static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,r={}){super(e),this.name="RestError",this.code=r.code,this.statusCode=r.statusCode,Object.defineProperty(this,"request",{value:r.request,enumerable:!1}),Object.defineProperty(this,"response",{value:r.response,enumerable:!1});let n=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,EG,{value:o(()=>`RestError: ${this.message}
|
|
${zde.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function bf(t){return t instanceof rr?!0:ha(t)&&t.name==="RestError"}o(bf,"isRestError");function fr(t,e){return Buffer.from(t,e)}o(fr,"stringToUint8Array");var wf=Q(require("node:http"),1),Nf=Q(require("node:https"),1),Ub=Q(require("node:zlib"),1),IG=require("node:stream");var hn=ed("ts-http-runtime");var Gde={};function td(t){return t&&typeof t.pipe=="function"}o(td,"isReadableStream");function CG(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(CG,"isStreamComplete");function BG(t){return t&&typeof t.byteLength=="number"}o(BG,"isArrayBuffer");var Sf=class extends IG.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}},Ob=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 ys("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 Hn;hn.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=Wde(c);A!==null&&e.headers.set("Content-Length",A)}let l;try{if(c&&e.onUploadProgress){let h=e.onUploadProgress,g=new Sf(h);g.on("error",C=>{hn.error("Error in upload progress",C)}),td(c)?c.pipe(g):g.end(c),c=g}let A=await this.makeRequest(e,r,c);s!==void 0&&clearTimeout(s);let u=Yde(A),m={status:A.statusCode??0,headers:u,request:e};if(e.method==="HEAD")return A.resume(),m;l=a?Vde(A,u):A;let p=e.onDownloadProgress;if(p){let h=new Sf(p);h.on("error",g=>{hn.error("Error in download progress",g)}),l.pipe(h),l=h}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(m.status)?m.readableStreamBody=l:m.bodyAsText=await Jde(l),m}finally{if(e.abortSignal&&n){let A=Promise.resolve();td(c)&&(A=CG(c));let u=Promise.resolve();td(l)&&(u=CG(l)),Promise.all([A,u]).then(()=>{n&&e.abortSignal?.removeEventListener("abort",n)}).catch(d=>{hn.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?wf.default.request(c,l):Nf.default.request(c,l);u.once("error",d=>{A(new rr(d.message,{code:d.code??rr.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new ys("The operation was aborted. Rejecting from abort signal callback while making request.");u.destroy(d),A(d)}),n&&td(n)?n.pipe(u):n?typeof n=="string"||Buffer.isBuffer(n)?u.end(n):BG(n)?u.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(hn.error("Unrecognized body type",n),A(new rr("Unrecognized body type"))):u.end()})}getOrCreateAgent(e,r){let n=e.disableKeepAlive;if(r)return n?wf.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new wf.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return Nf.default.globalAgent;let s=e.tlsSettings??Gde,i=this.cachedHttpsAgents.get(s);return i&&i.options.keepAlive===!n||(hn.info("No cached TLS Agent exist, creating a new Agent"),i=new Nf.default.Agent({keepAlive:!n,...s}),this.cachedHttpsAgents.set(s,i)),i}}};function Yde(t){let e=qr();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(Yde,"getResponseHeaders");function Vde(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=Ub.default.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=Ub.default.createInflate();return t.pipe(n),n}return t}o(Vde,"getDecodedResponseStream");function Jde(t){return new Promise((e,r)=>{let n=[];t.on("data",s=>{Buffer.isBuffer(s)?n.push(s):n.push(Buffer.from(s))}),t.on("end",()=>{e(Buffer.concat(n).toString("utf8"))}),t.on("error",s=>{s&&s?.name==="AbortError"?r(s):r(new rr(`Error reading response as text: ${s.message}`,{code:rr.PARSE_ERROR}))})})}o(Jde,"streamToText");function Wde(t){return t?Buffer.isBuffer(t)?t.length:td(t)?null:BG(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}o(Wde,"getBodyLength");function QG(){return new Ob}o(QG,"createNodeHttpClient");function Rf(){return QG()}o(Rf,"createDefaultHttpClient");var qb="logPolicy";function Pf(t={}){let e=t.logger??hn.info,r=new Hn({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:qb,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(Pf,"logPolicy");var vf="redirectPolicy",xG=["GET","HEAD"];function Df(t={}){let{maxRetries:e=20}=t;return{name:vf,async sendRequest(r,n){let s=await n(r);return bG(n,s,e)}}}o(Df,"redirectPolicy");async function bG(t,e,r,n=0){let{request:s,status:i,headers:a}=e,c=a.get("location");if(c&&(i===300||i===301&&xG.includes(s.method)||i===302&&xG.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 bG(t,A,r,n+1)}return e}o(bG,"handleRedirect");function wG(){return"User-Agent"}o(wG,"getHeaderName");function NG(){return wG()}o(NG,"getUserAgentHeaderName");var eFe=NG();var kf="decompressResponsePolicy";function Tf(){return{name:kf,async sendRequest(t,e){return t.method!=="HEAD"&&t.headers.set("Accept-Encoding","gzip,deflate"),e(t)}}}o(Tf,"decompressResponsePolicy");function rd(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}o(rd,"getRandomIntegerInclusive");function Mf(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+rd(0,n/2)}}o(Mf,"calculateRetryDelay");var $de="The operation was aborted.";function SG(t,e,r){return new Promise((n,s)=>{let i,a,c=o(()=>s(new ys(r?.abortErrorMsg?r?.abortErrorMsg:$de)),"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(SG,"delay");function RG(t,e){let r=t.headers.get(e);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}o(RG,"parseHeaderValueAsNumber");var Hb="Retry-After",jde=["retry-after-ms","x-ms-retry-after-ms",Hb];function PG(t){if(t&&[429,503].includes(t.status))try{for(let s of jde){let i=RG(t,s);if(i===0||i)return i*(s===Hb?1e3:1)}let e=t.headers.get(Hb);if(!e)return;let n=Date.parse(e)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}o(PG,"getRetryAfterInMs");function vG(t){return Number.isFinite(PG(t))}o(vG,"isThrottlingRetryResponse");function zb(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=PG(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}o(zb,"throttlingRetryStrategy");var Kde=1e3,Xde=1e3*64;function Lf(t={}){let e=t.retryDelayInMs??Kde,r=t.maxRetryDelayInMs??Xde;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:s,responseError:i}){let a=eme(i),c=a&&t.ignoreSystemErrors,l=Zde(s),A=l&&t.ignoreHttpStatusCodes;return s&&(vG(s)||!l)||A||c?{skipStrategy:!0}:i&&!a&&!l?{errorToThrow:i}:Mf(n,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}o(Lf,"exponentialRetryStrategy");function Zde(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}o(Zde,"isExponentialRetryResponse");function eme(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}o(eme,"isSystemError");var tme=ed("ts-http-runtime retryPolicy"),rme="retryPolicy";function ga(t,e={maxRetries:3}){let r=e.logger||tme;return{name:rme,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 ys;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 SG(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(ga,"retryPolicy");var Gb="defaultRetryPolicy";function Ff(t={}){return{name:Gb,sendRequest:ga([zb(),Lf(t)],{maxRetries:t.maxRetries??3}).sendRequest}}o(Ff,"defaultRetryPolicy");var DG=typeof window<"u"&&typeof window.document<"u",kG=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),TG=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",MG=typeof Bun<"u"&&typeof Bun.version<"u",ya=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node;var LG=typeof navigator<"u"&&navigator?.product==="ReactNative";var Yb="formDataPolicy";function nme(t){let e={};for(let[r,n]of t.entries())e[r]??=[],e[r].push(n);return e}o(nme,"formDataToFormDataMap");function _f(){return{name:Yb,async sendRequest(t,e){if(ya&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=nme(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=sme(t.formData):await ime(t.formData,t),t.formData=void 0}return e(t)}}}o(_f,"formDataPolicy");function sme(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(sme,"wwwFormUrlEncode");async function ime(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:qr({"Content-Disposition":`form-data; name="${s}"`}),body:fr(a,"utf-8")});else{if(a==null||typeof a!="object")throw new Error(`Unexpected value for key ${s}: ${a}. Value should be serialized to string first.`);{let c=a.name||"blob",l=qr();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(ime,"prepareFormData");var IY=Q(aY(),1),BY=Q(gY(),1);var ppe="HTTPS_PROXY",hpe="HTTP_PROXY",fpe="ALL_PROXY",gpe="NO_PROXY",Xb="proxyPolicy",yY=[],QY=!1,ype=new Map;function Wf(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}o(Wf,"getEnvironmentValue");function xY(){if(!process)return;let t=Wf(ppe),e=Wf(fpe),r=Wf(hpe);return t||e||r}o(xY,"loadEnvironmentProxyValue");function Epe(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(Epe,"isBypassed");function Cpe(){let t=Wf(gpe);return QY=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}o(Cpe,"loadNoProxy");function Zb(t){if(!t&&(t=xY(),!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(Zb,"getDefaultProxySettings");function Ipe(){let t=xY();return t?new URL(t):void 0}o(Ipe,"getDefaultProxySettingsInternal");function EY(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(EY,"getUrlFromProxySettings");function CY(t,e,r){if(t.agent)return;let s=new URL(t.url).protocol!=="https:";t.tlsSettings&&hn.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 BY.HttpProxyAgent(r,{headers:i})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new IY.HttpsProxyAgent(r,{headers:i})),t.agent=e.httpsProxyAgent)}o(CY,"setProxyAgentOnRequest");function $f(t,e){QY||yY.push(...Cpe());let r=t?EY(t):Ipe(),n={};return{name:Xb,async sendRequest(s,i){return!s.proxySettings&&r&&!Epe(s.url,e?.customNoProxyList??yY,e?.customNoProxyList?void 0:ype)?CY(s,n,r):s.proxySettings&&CY(s,n,EY(s.proxySettings)),i(s)}}}o($f,"proxyPolicy");var ew="agentPolicy";function jf(t){return{name:ew,sendRequest:o(async(e,r)=>(e.agent||(e.agent=t),r(e)),"sendRequest")}}o(jf,"agentPolicy");var tw="tlsPolicy";function Kf(t){return{name:tw,sendRequest:o(async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e)),"sendRequest")}}o(Kf,"tlsPolicy");function Xf(t){return typeof t.stream=="function"}o(Xf,"isBlob");var Zf=require("stream");async function*bY(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}o(bY,"streamAsyncIterator");function Bpe(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=bY.bind(t)),t.values||(t.values=bY.bind(t))}o(Bpe,"makeAsyncIterable");function wY(t){return t instanceof ReadableStream?(Bpe(t),Zf.Readable.fromWeb(t)):t}o(wY,"ensureNodeStream");function Qpe(t){return t instanceof Uint8Array?Zf.Readable.from(Buffer.from(t)):Xf(t)?wY(t.stream()):wY(t)}o(Qpe,"toStream");async function NY(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(Qpe);return Zf.Readable.from((async function*(){for(let r of e)for await(let n of r)yield n})())}}o(NY,"concat");function xpe(){return`----AzSDKFormBoundary${pa()}`}o(xpe,"generateBoundary");function bpe(t){let e="";for(let[r,n]of t)e+=`${r}: ${n}\r
|
|
`;return e}o(bpe,"encodeHeaders");function wpe(t){return t instanceof Uint8Array?t.byteLength:Xf(t)?t.size===-1?void 0:t.size:void 0}o(wpe,"getLength");function Npe(t){let e=0;for(let r of t){let n=wpe(r);if(n===void 0)return;e+=n}return e}o(Npe,"getTotalLength");async function Spe(t,e,r){let n=[fr(`--${r}`,"utf-8"),...e.flatMap(i=>[fr(`\r
|
|
`,"utf-8"),fr(bpe(i.headers),"utf-8"),fr(`\r
|
|
`,"utf-8"),i.body,fr(`\r
|
|
--${r}`,"utf-8")]),fr(`--\r
|
|
\r
|
|
`,"utf-8")],s=Npe(n);s&&t.headers.set("Content-Length",s),t.body=await NY(n)}o(Spe,"buildRequestBody");var sd="multipartPolicy",Rpe=70,Ppe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function vpe(t){if(t.length>Rpe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!Ppe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(vpe,"assertValidBoundary");function eg(){return{name:sd,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?vpe(r):r=xpe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await Spe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(eg,"multipartPolicy");function tg(){return xf()}o(tg,"createEmptyPipeline");var SY=If({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),DUe=SY.logger;function Is(t){return SY.createClientLogger(t)}o(Is,"createClientLogger");var Bs=Is("core-rest-pipeline");function sw(t={}){return Pf({logger:Bs.info,...t})}o(sw,"logPolicy");var iw=vf;function ow(t={}){return Df(t)}o(ow,"redirectPolicy");var rg=Q(require("node:os"),1),ng=Q(require("node:process"),1);function RY(){return"User-Agent"}o(RY,"getHeaderName");async function PY(t){if(ng.default&&ng.default.versions){let e=`${rg.default.type()} ${rg.default.release()}; ${rg.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(PY,"setPlatformSpecificData");var sg="1.22.2";function Upe(t){let e=[];for(let[r,n]of t){let s=n?`${r}/${n}`:r;e.push(s)}return e.join(" ")}o(Upe,"getUserAgentString");function vY(){return RY()}o(vY,"getUserAgentHeaderName");async function ig(t){let e=new Map;e.set("core-rest-pipeline",sg),await PY(e);let r=Upe(e);return t?`${t} ${r}`:r}o(ig,"getUserAgentValue");var DY=vY(),kY="userAgentPolicy";function aw(t={}){let e=ig(t.userAgentPrefix);return{name:kY,async sendRequest(r,n){return r.headers.has(DY)||r.headers.set(DY,await e),n(r)}}}o(aw,"userAgentPolicy");var Yr=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function cw(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:s}=e??{};return new Promise((i,a)=>{function c(){a(new Yr(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(cw,"createAbortablePromise");var Gpe="The delay was aborted.";function id(t,e){let r,{abortSignal:n,abortErrorMsg:s}=e??{};return cw(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:s??Gpe})}o(id,"delay");function yo(t){if(ha(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(yo,"getErrorMessage");function TY(t){return ha(t)}o(TY,"isError");function El(){return pa()}o(El,"randomUUID");var Be=ya;var MY=Symbol("rawContent");function Aw(t){return typeof t[MY]=="function"}o(Aw,"hasRawContent");function LY(t){return Aw(t)?t[MY]():t}o(LY,"getRawContent");var og=sd;function uw(){let t=eg();return{name:og,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)Aw(n.body)&&(n.body=LY(n.body));return t.sendRequest(e,r)},"sendRequest")}}o(uw,"multipartPolicy");var dw=kf;function mw(){return Tf()}o(mw,"decompressResponsePolicy");function pw(t={}){return Ff(t)}o(pw,"defaultRetryPolicy");function hw(){return _f()}o(hw,"formDataPolicy");function Eo(t){return Zb(t)}o(Eo,"getDefaultProxySettings");function fw(t,e){return $f(t,e)}o(fw,"proxyPolicy");var FY="setClientRequestIdPolicy";function gw(t="x-ms-client-request-id"){return{name:FY,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(gw,"setClientRequestIdPolicy");function yw(t){return jf(t)}o(yw,"agentPolicy");function Ew(t){return Kf(t)}o(Ew,"tlsPolicy");var Cl={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function _Y(t={}){let e=new Cw(t.parentContext);return t.span&&(e=e.setValue(Cl.span,t.span)),t.namespace&&(e=e.setValue(Cl.namespace,t.namespace)),e}o(_Y,"createTracingContext");var Cw=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 OY=Q(UY(),1),cg=OY.state;function Ype(){return{end:o(()=>{},"end"),isRecording:o(()=>!1,"isRecording"),recordException:o(()=>{},"recordException"),setAttribute:o(()=>{},"setAttribute"),setStatus:o(()=>{},"setStatus"),addEvent:o(()=>{},"addEvent")}}o(Ype,"createDefaultTracingSpan");function Vpe(){return{createRequestHeaders:o(()=>({}),"createRequestHeaders"),parseTraceparentHeader:o(()=>{},"parseTraceparentHeader"),startSpan:o((t,e)=>({span:Ype(),tracingContext:_Y({parentContext:e.tracingContext})}),"startSpan"),withContext(t,e,...r){return e(...r)}}}o(Vpe,"createDefaultInstrumenter");function od(){return cg.instrumenterImplementation||(cg.instrumenterImplementation=Vpe()),cg.instrumenterImplementation}o(od,"getInstrumenter");function ad(t){let{namespace:e,packageName:r,packageVersion:n}=t;function s(A,u,d){let m=od().startSpan(A,{...d,packageName:r,packageVersion:n,tracingContext:u?.tracingOptions?.tracingContext}),p=m.tracingContext,h=m.span;p.getValue(Cl.namespace)||(p=p.setValue(Cl.namespace,e)),h.setAttribute("az.namespace",p.getValue(Cl.namespace));let g=Object.assign({},u,{tracingOptions:{...u?.tracingOptions,tracingContext:p}});return{span:h,updatedOptions:g}}o(s,"startSpan");async function i(A,u,d,m){let{span:p,updatedOptions:h}=s(A,u,m);try{let g=await a(h.tracingOptions.tracingContext,()=>Promise.resolve(d(h,p)));return p.setStatus({status:"success"}),g}catch(g){throw p.setStatus({status:"error",error:g}),g}finally{p.end()}}o(i,"withSpan");function a(A,u,...d){return od().withContext(A,u,...d)}o(a,"withContext");function c(A){return od().parseTraceparentHeader(A)}o(c,"parseTraceparentHeader");function l(A){return od().createRequestHeaders(A)}return o(l,"createRequestHeaders"),{startSpan:s,withSpan:i,withContext:a,parseTraceparentHeader:c,createRequestHeaders:l}}o(ad,"createTracingClient");var Ii=rr;function Ca(t){return bf(t)}o(Ca,"isRestError");var qY="tracingPolicy";function Iw(t={}){let e=ig(t.userAgentPrefix),r=new Hn({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),n=Jpe();return{name:qY,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}=Wpe(n,s,c)??{};if(!l||!A)return i(s);try{let u=await n.withContext(A,i,s);return jpe(l,u),u}catch(u){throw $pe(l,u),u}}}}o(Iw,"tracingPolicy");function Jpe(){try{return ad({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:sg})}catch(t){Bs.warning(`Error when creating the TracingClient: ${yo(t)}`);return}}o(Jpe,"tryCreateTracingClient");function Wpe(t,e,r){try{let{span:n,updatedOptions:s}=t.startSpan(`HTTP ${e.method}`,{tracingOptions:e.tracingOptions},{spanKind:"client",spanAttributes:r});if(!n.isRecording()){n.end();return}let i=t.createRequestHeaders(s.tracingOptions.tracingContext);for(let[a,c]of Object.entries(i))e.headers.set(a,c);return{span:n,tracingContext:s.tracingOptions.tracingContext}}catch(n){Bs.warning(`Skipping creating a tracing span due to an error: ${yo(n)}`);return}}o(Wpe,"tryCreateSpan");function $pe(t,e){try{t.setStatus({status:"error",error:TY(e)?e:void 0}),Ca(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){Bs.warning(`Skipping tracing span processing due to an error: ${yo(r)}`)}}o($pe,"tryProcessError");function jpe(t,e){try{t.setAttribute("http.status_code",e.status);let r=e.headers.get("x-ms-request-id");r&&t.setAttribute("serviceRequestId",r),e.status>=400&&t.setStatus({status:"error"}),t.end()}catch(r){Bs.warning(`Skipping tracing span processing due to an error: ${yo(r)}`)}}o(jpe,"tryProcessResponse");function lg(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(lg,"wrapAbortSignalLike");var Kpe="wrapAbortSignalLikePolicy";function HY(){return{name:Kpe,sendRequest:o(async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:n}=lg(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}},"sendRequest")}}o(HY,"wrapAbortSignalLikePolicy");function Bw(t){let e=tg();return Be&&(t.agent&&e.addPolicy(yw(t.agent)),t.tlsOptions&&e.addPolicy(Ew(t.tlsOptions)),e.addPolicy(fw(t.proxyOptions)),e.addPolicy(mw())),e.addPolicy(HY()),e.addPolicy(hw(),{beforePolicies:[og]}),e.addPolicy(aw(t.userAgentOptions)),e.addPolicy(gw(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(uw(),{afterPhase:"Deserialize"}),e.addPolicy(pw(t.retryOptions),{phase:"Retry"}),e.addPolicy(Iw({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),Be&&e.addPolicy(ow(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(sw(t.loggingOptions),{afterPhase:"Sign"}),e}o(Bw,"createPipelineFromOptions");function cd(){let t=Rf();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?lg(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}o(cd,"createDefaultHttpClient");function Bi(t){return qr(t)}o(Bi,"createHttpHeaders");function ld(t){return Qf(t)}o(ld,"createPipelineRequest");var cHe=Is("core-rest-pipeline retryPolicy");var Xpe={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function Zpe(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 id(e),s=await n();return s}o(Zpe,"beginRefresh");function Qw(t,e){let r=null,n=null,s,i={...Xpe,...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=Zpe(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(Qw,"createTokenCycler");var VY="bearerTokenAuthenticationPolicy";async function Ag(t,e){try{return[await e(t),void 0]}catch(r){if(Ca(r)&&r.response)return[r.response,r];throw r}}o(Ag,"trySendRequest");async function ehe(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(ehe,"defaultAuthorizeRequest");function zY(t){return t.status===401&&t.headers.has("WWW-Authenticate")}o(zY,"isChallengeResponse");async function GY(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(GY,"authorizeRequestOnCaeChallenge");function Il(t){let{credential:e,scopes:r,challengeCallbacks:n}=t,s=t.logger||Bs,i={authorizeRequest:n?.authorizeRequest?.bind(n)??ehe,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)},a=e?Qw(e):()=>Promise.resolve(null);return{name:VY,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 Ag(c,l),zY(A)){let m=YY(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 GY({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:s},p),d&&([A,u]=await Ag(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 Ag(c,l)),zY(A)&&(m=YY(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 GY({scopes:Array.isArray(r)?r:[r],response:A,request:c,getAccessToken:a,logger:s},p),d&&([A,u]=await Ag(c,l))}}if(u)throw u;return A}}}o(Il,"bearerTokenAuthenticationPolicy");function the(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(the,"parseChallenges");function YY(t){return t?the(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}o(YY,"getCaeChallengeClaims");function Vr(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}o(Vr,"isTokenCredential");var xw="DisableKeepAlivePolicy";function JY(){return{name:xw,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}o(JY,"createDisableKeepAlivePolicy");function WY(t){return t.getOrderedPolicies().some(e=>e.name===xw)}o(WY,"pipelineContainsDisableKeepAlivePolicy");function bw(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}o(bw,"encodeByteArray");function ww(t){return Buffer.from(t,"base64")}o(ww,"decodeString");function nhe(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(nhe,"isPrimitiveBody");var she=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function $Y(t){return she.test(t)}o($Y,"isDuration");var ihe=/^[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 jY(t){return ihe.test(t)}o(jY,"isValidUuid");function ohe(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(ohe,"handleNullableResponseAndWrappableBody");function Nw(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 ohe({body:t.parsedBody,headers:r,hasNullableType:s,shouldWrapBody:nhe(t.parsedBody,i)})}o(Nw,"flattenResponse");var Sw=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:g}=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)}g&&r.some((C,y,E)=>E.indexOf(C)!==y)&&s("UniqueItems",g)}}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=dhe(c,n,r):c.match(/^Enum$/i)!==null?a=mhe(n,e.type.allowedValues,r):c.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?a=fhe(c,r,n):c.match(/^ByteArray$/i)!==null?a=phe(n,r):c.match(/^Base64Url$/i)!==null?a=hhe(n,r):c.match(/^Sequence$/i)!==null?a=ghe(this,e,r,n,!!this.isXML,i):c.match(/^Dictionary$/i)!==null?a=yhe(this,e,r,n,!!this.isXML,i):c.match(/^Composite$/i)!==null&&(a=Che(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=Bhe(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=uhe(r):c.match(/^ByteArray$/i)!==null?a=ww(r):c.match(/^Base64Url$/i)!==null?a=lhe(r):c.match(/^Sequence$/i)!==null?a=xhe(this,e,r,n,i):c.match(/^Dictionary$/i)!==null&&(a=Qhe(this,e,r,n,i))}return e.isConstant&&(a=e.defaultValue),a}};function Jr(t={},e=!1){return new Sw(t,e)}o(Jr,"createSerializer");function ahe(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}o(ahe,"trimEnd");function che(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=bw(t);return ahe(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}o(che,"bufferToBase64Url");function lhe(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,"/"),ww(t)}}o(lhe,"base64UrlToByteArray");function Rw(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(Rw,"splitSerializeName");function Ahe(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}o(Ahe,"dateToUnixTime");function uhe(t){if(t)return new Date(t*1e3)}o(uhe,"unixTimeToDate");function dhe(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"&&jY(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(dhe,"serializeBasicTypes");function mhe(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(mhe,"serializeEnumType");function phe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=bw(e)}return e}o(phe,"serializeByteArrayType");function hhe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=che(e)}return e}o(hhe,"serializeBase64UrlType");function fhe(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=Ahe(e)}else if(t.match(/^TimeSpan$/i)!==null&&!$Y(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}o(fhe,"serializeDateTypes");function ghe(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(ghe,"serializeSequenceType");function yhe(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]=eV(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(yhe,"serializeDictionaryType");function Ehe(t,e,r){let n=e.type.additionalProperties;return!n&&e.type.className?XY(t,e,r)?.type.additionalProperties:n}o(Ehe,"resolveAdditionalProperties");function XY(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(XY,"resolveReferencedMapper");function ZY(t,e,r){let n=e.type.modelProperties;if(!n){let s=XY(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(ZY,"resolveModelProperties");function Che(t,e,r,n,s,i){if(ug(t,e)&&(e=tV(t,e,r,"clientName")),r!=null){let a={},c=ZY(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=Rw(u.serializedName);d=p.pop();for(let h of p){let g=m[h];g==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],g=ug(t,e);g&&g.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=eV(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=Ehe(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(Che,"serializeCompositeType");function eV(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(eV,"getXmlObjectValue");function Ihe(t,e){return["$",e.xml.xmlCharKey].includes(t)}o(Ihe,"isSpecialXmlProperty");function Bhe(t,e,r,n,s){let i=s.xml.xmlCharKey??"_";ug(t,e)&&(e=tV(t,e,r,"serializedName"));let a=ZY(t,e,n),c={},l=[];for(let u of Object.keys(a)){let d=a[u],m=Rw(a[u].serializedName);l.push(m[0]);let{serializedName:p,xmlName:h,xmlElementName:g}=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=g||h||p;if(d.xmlIsWrapped){let B=r[h]?.[g]??[];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 _ of m){if(!I)break;B++,I=I[_]}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 _=t.deserialize(d,E,C,s);for(let[ce,Ee]of Object.entries(c))Object.prototype.hasOwnProperty.call(_,ce)||(_[ce]=Ee);c=_}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(Rw(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)&&!Ihe(u,s)&&(c[u]=r[u]);return c}o(Bhe,"deserializeCompositeType");function Qhe(t,e,r,n,s){let i=e.type.value;if(!i||typeof i!="object")throw new Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${n}`);if(r){let a={};for(let c of Object.keys(r))a[c]=t.deserialize(i,r[c],n,s);return a}return r}o(Qhe,"deserializeDictionaryType");function xhe(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(xhe,"deserializeSequenceType");function bhe(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(bhe,"getIndexDiscriminator");function tV(t,e,r,n){let s=ug(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=bhe(t.modelMappers.discriminators,a,c);l&&(e=l)}}}return e}o(tV,"getPolymorphicMapper");function ug(t,e){return e.type.polymorphicDiscriminator||KY(t,e.type.uberParent)||KY(t,e.type.className)}o(ug,"getPolymorphicDiscriminatorRecursively");function KY(t,e){return e&&t.modelMappers[e]&&t.modelMappers[e].type.polymorphicDiscriminator}o(KY,"getPolymorphicDiscriminatorSafely");var Qs={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 nV=Q(rV(),1),Pw=nV.state;function Io(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=sV(t,n);!a.propertyFound&&r&&(a=sV(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=Io(t,{parameterPath:l,mapper:c},r);A!==void 0&&(i||(i={}),i[a]=A)}}return i}o(Io,"getOperationArgumentValueFromParameter");function sV(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(sV,"getPropertyFromParameterPath");var iV=Symbol.for("@azure/core-client original request");function whe(t){return iV in t}o(whe,"hasOriginalRequest");function Qi(t){if(whe(t))return Qi(t[iV]);let e=Pw.operationRequestMap.get(t);return e||(e={},Pw.operationRequestMap.set(t,e)),e}o(Qi,"getOperationRequestInfo");var Nhe=["application/json","text/json"],She=["application/xml","application/atom+xml"],oV="deserializationPolicy";function vw(t={}){let e=t.expectedContentTypes?.json??Nhe,r=t.expectedContentTypes?.xml??She,n=t.parseXML,s=t.serializerOptions,i={xml:{rootName:s?.xml.rootName??"",includeRoot:s?.xml.includeRoot??!1,xmlCharKey:s?.xml.xmlCharKey??"_"}};return{name:oV,async sendRequest(a,c){let l=await c(a);return vhe(e,r,l,i,n)}}}o(vw,"deserializationPolicy");function Rhe(t){let e,r=t.request,n=Qi(r),s=n?.operationSpec;return s&&(n?.operationResponseGetter?e=n?.operationResponseGetter(s,t):e=s.responses[t.status]),e}o(Rhe,"getOperationResponseMap");function Phe(t){let e=t.request,n=Qi(e)?.shouldDeserialize,s;return n===void 0?s=!0:typeof n=="boolean"?s=n:s=n(t),s}o(Phe,"shouldDeserializeResponse");async function vhe(t,e,r,n,s){let i=await The(t,e,r,n,s);if(!Phe(i))return i;let c=Qi(i.request)?.operationSpec;if(!c||!c.responses)return i;let l=Rhe(i),{error:A,shouldReturnResponse:u}=khe(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===Qs.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 Ii(`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(vhe,"deserializeResponseBody");function Dhe(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}o(Dhe,"isOperationSpecEmpty");function khe(t,e,r,n){let s=200<=t.status&&t.status<300;if(Dhe(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 Ii(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===Qs.Sequence){h=[];let g=A.xmlElementName;typeof d=="object"&&g&&(h=d[g])}m=e.serializer.deserialize(A,h,"error.response.parsedBody",n)}let p=d.error||m||d;l.code=p.code,p.message&&(l.message=p.message),A&&(l.response.parsedBody=m)}t.headers&&u&&(l.response.parsedHeaders=e.serializer.deserialize(u,t.headers.toJSON(),"operationRes.parsedHeaders"))}catch(d){l.message=`Error "${d.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:l,shouldReturnResponse:!1}}o(khe,"handleErrorResponse");async function The(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||Ii.PARSE_ERROR;throw new Ii(A,{code:u,statusCode:r.status,request:r.request,response:r})}}return r}o(The,"parse");function aV(t){let e=new Set;for(let r in t.responses){let n=t.responses[r];n.bodyMapper&&n.bodyMapper.type.name===Qs.Stream&&e.add(Number(r))}return e}o(aV,"getStreamingResponseStatusCodes");function xs(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(xs,"getPathStringFromParameter");var cV="serializationPolicy";function mg(t={}){let e=t.stringifyXML;return{name:cV,async sendRequest(r,n){let s=Qi(r),i=s?.operationSpec,a=s?.operationArguments;return i&&a&&(Mhe(r,a,i),Lhe(r,a,i,e)),n(r)}}}o(mg,"serializationPolicy");function Mhe(t,e,r){if(r.headerParameters)for(let s of r.headerParameters){let i=Io(e,s);if(i!=null||s.mapper.required){i=r.serializer.serialize(s.mapper,i,xs(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||xs(s),i)}}let n=e.options?.requestOptions?.customHeaders;if(n)for(let s of Object.keys(n))t.headers.set(s,n[s])}o(Mhe,"serializeHeaders");function Lhe(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=Io(e,r.requestBody);let c=r.requestBody.mapper,{required:l,serializedName:A,xmlName:u,xmlElementName:d,xmlNamespace:m,xmlNamespacePrefix:p,nullable:h}=c,g=c.type.name;try{if(t.body!==void 0&&t.body!==null||h&&t.body===null||l){let C=xs(r.requestBody);t.body=r.serializer.serialize(c,t.body,C,i);let y=g===Qs.Stream;if(r.isXML){let E=p?`xmlns:${p}`:"xmlns",I=Fhe(m,E,g,t.body,i);g===Qs.Sequence?t.body=n(_he(I,d||u||A,E,m),{rootName:u||A,xmlCharKey:a}):y||(t.body=n(I,{rootName:u||A,xmlCharKey:a}))}else{if(g===Qs.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=Io(e,c);if(l!=null){let A=c.mapper.serializedName||xs(c);t.formData[A]=r.serializer.serialize(c.mapper,l,xs(c),i)}}}}o(Lhe,"serializeRequestBody");function Fhe(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(Fhe,"getXmlValueWithNamespace");function _he(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(_he,"prepareXMLRootList");function Ad(t={}){let e=Bw(t??{});return t.credentialOptions&&e.addPolicy(Il({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(mg(t.serializationOptions),{phase:"Serialize"}),e.addPolicy(vw(t.deserializationOptions),{phase:"Deserialize"}),e}o(Ad,"createClientPipeline");var Dw;function lV(){return Dw||(Dw=cd()),Dw}o(lV,"getCachedDefaultHttpClient");var Uhe={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function uV(t,e,r,n){let s=Ohe(e,r,n),i=!1,a=AV(t,s);if(e.path){let A=AV(e.path,s);e.path==="/{nextLink}"&&A.startsWith("/")&&(A=A.substring(1)),qhe(A)?(a=A,i=!0):a=Hhe(a,A)}let{queryParams:c,sequenceParams:l}=zhe(e,r,n);return a=Yhe(a,c,l,i),a}o(uV,"getRequestUrl");function AV(t,e){let r=t;for(let[n,s]of e)r=r.split(n).join(s);return r}o(AV,"replaceAll");function Ohe(t,e,r){let n=new Map;if(t.urlParameters?.length)for(let s of t.urlParameters){let i=Io(e,s,r),a=xs(s);i=t.serializer.serialize(s.mapper,i,a),s.skipEncoding||(i=encodeURIComponent(i)),n.set(`{${s.mapper.serializedName||a}}`,i)}return n}o(Ohe,"calculateUrlReplacements");function qhe(t){return t.includes("://")}o(qhe,"isAbsoluteUrl");function Hhe(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(Hhe,"appendPath");function zhe(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=Io(e,i,r);if(a!=null||i.mapper.required){a=t.serializer.serialize(i.mapper,a,xs(i));let c=i.collectionFormat?Uhe[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||xs(i),a)}}return{queryParams:n,sequenceParams:s}}o(zhe,"calculateQueryParameters");function Ghe(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(Ghe,"simpleParseQueryParams");function Yhe(t,e,r,n=!1){if(e.size===0)return t;let s=new URL(t),i=Ghe(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(Yhe,"appendQueryParams");var kw=Is("core-client");var ud=class{static{o(this,"ServiceClient")}_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&kw.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||lV(),this.pipeline=e.pipeline||Vhe(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=uV(n,r,e,this),i=ld({url:s});i.method=r.httpMethod;let a=Qi(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=aV(r));try{let A=await this.sendRequest(i),u=Nw(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=Nw(u,r.responses[A.statusCode]||r.responses.default);A.details=d,l?.onResponse&&l.onResponse(u,d,A)}throw A}}};function Vhe(t){let e=Jhe(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return Ad({...t,credentialOptions:r})}o(Vhe,"createDefaultPipeline");function Jhe(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(Jhe,"getCredentialScopes");var dV={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function Whe(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(Whe,"isUuid");var pg=o(async t=>{let e=Zhe(t.request),r=Khe(t.response);if(r){let n=Xhe(r),s=jhe(t,n),i=$he(n);if(!i)return!1;let a=await t.getAccessToken(s,{...e,tenantId:i});return a?(t.request.headers.set(dV.HeaderConstants.AUTHORIZATION,`${a.tokenType??"Bearer"} ${a.token}`),!0):!1}return!1},"authorizeRequestOnTenantChallenge");function $he(t){let n=new URL(t.authorization_uri).pathname.split("/")[1];if(n&&Whe(n))return n}o($he,"extractTenantId");function jhe(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=dV.DefaultScope;let n=r.toString();return n==="https://disk.azure.com/.default"&&(n="https://disk.azure.com//.default"),[n]}o(jhe,"buildScopes");function Khe(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}o(Khe,"getChallenge");function Xhe(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(Xhe,"parseChallenge");function Zhe(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}o(Zhe,"requestToOptions");var mV=Symbol("Original PipelineRequest"),efe=Symbol.for("@azure/core-client original request");function md(t,e={}){let n=t[mV],s=Bi(t.headers.toJson({preserveCase:!0}));if(n)return n.headers=s,n;{let i=ld({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[efe]=e.originalRequest),i}}o(md,"toPipelineRequest");function Ia(t,e){let r=e?.originalRequest??t,n={url:t.url,method:t.method,headers:pd(t.headers),withCredentials:t.withCredentials,timeout:t.timeout,requestId:t.headers.get("x-ms-client-request-id")||t.requestId,abortSignal:t.abortSignal,body:t.body,formData:t.formData,keepAlive:!!t.disableKeepAlive,onDownloadProgress:t.onDownloadProgress,onUploadProgress:t.onUploadProgress,proxySettings:t.proxySettings,streamResponseStatusCodes:t.streamResponseStatusCodes,agent:t.agent,requestOverrides:t.requestOverrides,clone(){throw new Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw new Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return e?.createProxy?new Proxy(n,{get(s,i,a){return i===mV?t:i==="clone"?()=>Ia(md(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(Ia,"toWebResourceLike");function pd(t){return new Tw(t.toJSON({preserveCase:!0}))}o(pd,"toHttpHeadersLike");function dd(t){return t.toLowerCase()}o(dd,"getHeaderKey");var Tw=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[dd(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[dd(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[dd(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[dd(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[dd(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 pV=Symbol("Original FullOperationResponse");function hg(t,e){let r=Ia(t.request),n=pd(t.headers);return e?.createProxy?new Proxy(t,{get(s,i,a){return i==="headers"?n:i==="request"?r:i===pV?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(hg,"toCompatResponse");function fg(t){let r=t[pV],n=Bi(t.headers.toJson({preserveCase:!0}));return r?(r.headers=n,r):{...t,headers:n,request:md(t.request)}}o(fg,"toPipelineResponse");var hd=class extends ud{static{o(this,"ExtendedServiceClient")}constructor(e){super(e),e.keepAliveOptions?.enable===!1&&!WY(this.pipeline)&&this.pipeline.addPolicy(JY()),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:iw})}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:hg(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 tfe={log(t,e){},shouldLog(t){return!1}},hV="RequestPolicyFactoryPolicy";function Lw(t){let e=t.slice().reverse();return{name:hV,async sendRequest(r,n){let s={async sendRequest(c){let l=await n(md(c));return hg(l,{createProxy:!0})}};for(let c of e)s=c.create(s,tfe);let i=Ia(r,{createProxy:!0}),a=await s.sendRequest(i);return fg(a)}}}o(Lw,"createRequestPolicyFactoryPolicy");function Fw(t){return{sendRequest:o(async e=>{let r=await t.sendRequest(Ia(e,{createProxy:!0}));return fg(r)},"sendRequest")}}o(Fw,"convertHttpClient");var fV=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",nfe=fV+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",sfe="["+fV+"]["+nfe+"]*",ife=new RegExp("^"+sfe+"$");function gg(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(gg,"getAllMatches");var _w=o(function(t){let e=ife.exec(t);return!(e===null||typeof e>"u")},"isName");function gV(t){return typeof t<"u"}o(gV,"isExist");var fd=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],yg=["__proto__","constructor","prototype"];var ofe={allowBooleanAttributes:!1,unpairedTags:[]};function Eg(t,e){e=Object.assign({},ofe,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=EV(t,i),i.err)return i}else if(t[i]==="<"){let a=i;if(i++,t[i]==="!"){i=CV(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--),!pfe(l)){let d;return l.trim().length===0?d="Invalid space after '<'.":d="Tag '"+l+"' is an invalid name.",ot("InvalidTag",d,nr(t,i))}let A=lfe(t,i);if(A===!1)return ot("InvalidAttr","Attributes for '"+l+"' have open quote.",nr(t,i));let u=A.value;if(i=A.index,u[u.length-1]==="/"){let d=i-u.length;u=u.substring(0,u.length-1);let m=IV(u,e);if(m===!0)n=!0;else return ot(m.err.code,m.err.msg,nr(t,d+m.err.line))}else if(c)if(A.tagClosed){if(u.trim().length>0)return ot("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",nr(t,a));if(r.length===0)return ot("InvalidTag","Closing tag '"+l+"' has not been opened.",nr(t,a));{let d=r.pop();if(l!==d.tagName){let m=nr(t,d.tagStartPos);return ot("InvalidTag","Expected closing tag '"+d.tagName+"' (opened in line "+m.line+", col "+m.col+") instead of closing tag '"+l+"'.",nr(t,a))}r.length==0&&(s=!0)}}else return ot("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",nr(t,i));else{let d=IV(u,e);if(d!==!0)return ot(d.err.code,d.err.msg,nr(t,i-u.length+d.err.line));if(s===!0)return ot("InvalidXml","Multiple possible root nodes found.",nr(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=CV(t,i);continue}else if(t[i+1]==="?"){if(i=EV(t,++i),i.err)return i}else break;else if(t[i]==="&"){let d=dfe(t,i);if(d==-1)return ot("InvalidChar","char '&' is not expected.",nr(t,i));i=d}else if(s===!0&&!yV(t[i]))return ot("InvalidXml","Extra text at the end",nr(t,i));t[i]==="<"&&i--}}else{if(yV(t[i]))continue;return ot("InvalidChar","char '"+t[i]+"' is not expected.",nr(t,i))}if(n){if(r.length==1)return ot("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",nr(t,r[0].tagStartPos));if(r.length>0)return ot("InvalidXml","Invalid '"+JSON.stringify(r.map(i=>i.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return ot("InvalidXml","Start tag expected.",1);return!0}o(Eg,"validate");function yV(t){return t===" "||t===" "||t===`
|
|
`||t==="\r"}o(yV,"isWhiteSpace");function EV(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 ot("InvalidXml","XML declaration allowed only at the start of the document.",nr(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}o(EV,"readPI");function CV(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(CV,"readCommentAndCDATA");var afe='"',cfe="'";function lfe(t,e){let r="",n="",s=!1;for(;e<t.length;e++){if(t[e]===afe||t[e]===cfe)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(lfe,"readAttributeStr");var Afe=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function IV(t,e){let r=gg(t,Afe),n={};for(let s=0;s<r.length;s++){if(r[s][1].length===0)return ot("InvalidAttr","Attribute '"+r[s][2]+"' has no space in starting.",gd(r[s]));if(r[s][3]!==void 0&&r[s][4]===void 0)return ot("InvalidAttr","Attribute '"+r[s][2]+"' is without value.",gd(r[s]));if(r[s][3]===void 0&&!e.allowBooleanAttributes)return ot("InvalidAttr","boolean attribute '"+r[s][2]+"' is not allowed.",gd(r[s]));let i=r[s][2];if(!mfe(i))return ot("InvalidAttr","Attribute '"+i+"' is an invalid name.",gd(r[s]));if(!Object.prototype.hasOwnProperty.call(n,i))n[i]=1;else return ot("InvalidAttr","Attribute '"+i+"' is repeated.",gd(r[s]))}return!0}o(IV,"validateAttributeString");function ufe(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(ufe,"validateNumberAmpersand");function dfe(t,e){if(e++,t[e]===";")return-1;if(t[e]==="#")return e++,ufe(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(dfe,"validateAmpersand");function ot(t,e,r){return{err:{code:t,msg:e,line:r.line||r,col:r.col}}}o(ot,"getErrorObject");function mfe(t){return _w(t)}o(mfe,"validateAttrName");function pfe(t){return _w(t)}o(pfe,"validateTagName");function nr(t,e){let r=t.substring(0,e).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}o(nr,"getLineNumberForPosition");function gd(t){return t.startIndex+t[1].length}o(gd,"getPositionFromMatch");var BV={amp:"&",AMP:"&",lt:"<",LT:"<",gt:">",GT:">",quot:'"',QUOT:'"',apos:"'",lsquo:"\u2018",rsquo:"\u2019",ldquo:"\u201C",rdquo:"\u201D",lsquor:"\u201A",rsquor:"\u2019",ldquor:"\u201E",bdquo:"\u201E",comma:",",period:".",colon:":",semi:";",excl:"!",quest:"?",num:"#",dollar:"$",percent:"%",amp:"&",ast:"*",commat:"@",lowbar:"_",verbar:"|",vert:"|",sol:"/",bsol:"\\",lbrace:"{",rbrace:"}",lbrack:"[",rbrack:"]",lpar:"(",rpar:")",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",COPY:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",REG:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",half:"\xBD",frac34:"\xBE",iquest:"\xBF",times:"\xD7",div:"\xF7",divide:"\xF7"},QV={Agrave:"\xC0",agrave:"\xE0",Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",Aring:"\xC5",aring:"\xE5",AElig:"\xC6",aelig:"\xE6",Ccedil:"\xC7",ccedil:"\xE7",Egrave:"\xC8",egrave:"\xE8",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Euml:"\xCB",euml:"\xEB",Igrave:"\xCC",igrave:"\xEC",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",Iuml:"\xCF",iuml:"\xEF",ETH:"\xD0",eth:"\xF0",Ntilde:"\xD1",ntilde:"\xF1",Ograve:"\xD2",ograve:"\xF2",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",Oslash:"\xD8",oslash:"\xF8",Ugrave:"\xD9",ugrave:"\xF9",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",THORN:"\xDE",thorn:"\xFE",szlig:"\xDF",yuml:"\xFF",Yuml:"\u0178"},xV={Amacr:"\u0100",amacr:"\u0101",Abreve:"\u0102",abreve:"\u0103",Aogon:"\u0104",aogon:"\u0105",Cacute:"\u0106",cacute:"\u0107",Ccirc:"\u0108",ccirc:"\u0109",Cdot:"\u010A",cdot:"\u010B",Ccaron:"\u010C",ccaron:"\u010D",Dcaron:"\u010E",dcaron:"\u010F",Dstrok:"\u0110",dstrok:"\u0111",Emacr:"\u0112",emacr:"\u0113",Ecaron:"\u011A",ecaron:"\u011B",Edot:"\u0116",edot:"\u0117",Eogon:"\u0118",eogon:"\u0119",Gcirc:"\u011C",gcirc:"\u011D",Gbreve:"\u011E",gbreve:"\u011F",Gdot:"\u0120",gdot:"\u0121",Gcedil:"\u0122",Hcirc:"\u0124",hcirc:"\u0125",Hstrok:"\u0126",hstrok:"\u0127",Itilde:"\u0128",itilde:"\u0129",Imacr:"\u012A",imacr:"\u012B",Iogon:"\u012E",iogon:"\u012F",Idot:"\u0130",IJlig:"\u0132",ijlig:"\u0133",Jcirc:"\u0134",jcirc:"\u0135",Kcedil:"\u0136",kcedil:"\u0137",kgreen:"\u0138",Lacute:"\u0139",lacute:"\u013A",Lcedil:"\u013B",lcedil:"\u013C",Lcaron:"\u013D",lcaron:"\u013E",Lmidot:"\u013F",lmidot:"\u0140",Lstrok:"\u0141",lstrok:"\u0142",Nacute:"\u0143",nacute:"\u0144",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ENG:"\u014A",eng:"\u014B",Omacr:"\u014C",omacr:"\u014D",Odblac:"\u0150",odblac:"\u0151",OElig:"\u0152",oelig:"\u0153",Racute:"\u0154",racute:"\u0155",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",Sacute:"\u015A",sacute:"\u015B",Scirc:"\u015C",scirc:"\u015D",Scedil:"\u015E",scedil:"\u015F",Scaron:"\u0160",scaron:"\u0161",Tcedil:"\u0162",tcedil:"\u0163",Tcaron:"\u0164",tcaron:"\u0165",Tstrok:"\u0166",tstrok:"\u0167",Utilde:"\u0168",utilde:"\u0169",Umacr:"\u016A",umacr:"\u016B",Ubreve:"\u016C",ubreve:"\u016D",Uring:"\u016E",uring:"\u016F",Udblac:"\u0170",udblac:"\u0171",Uogon:"\u0172",uogon:"\u0173",Wcirc:"\u0174",wcirc:"\u0175",Ycirc:"\u0176",ycirc:"\u0177",Zacute:"\u0179",zacute:"\u017A",Zdot:"\u017B",zdot:"\u017C",Zcaron:"\u017D",zcaron:"\u017E"},bV={Alpha:"\u0391",alpha:"\u03B1",Beta:"\u0392",beta:"\u03B2",Gamma:"\u0393",gamma:"\u03B3",Delta:"\u0394",delta:"\u03B4",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",varepsilon:"\u03F5",Zeta:"\u0396",zeta:"\u03B6",Eta:"\u0397",eta:"\u03B7",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",vartheta:"\u03D1",Iota:"\u0399",iota:"\u03B9",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",varkappa:"\u03F0",Lambda:"\u039B",lambda:"\u03BB",Mu:"\u039C",mu:"\u03BC",Nu:"\u039D",nu:"\u03BD",Xi:"\u039E",xi:"\u03BE",Omicron:"\u039F",omicron:"\u03BF",Pi:"\u03A0",pi:"\u03C0",piv:"\u03D6",varpi:"\u03D6",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",varrho:"\u03F1",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",varsigma:"\u03C2",Tau:"\u03A4",tau:"\u03C4",Upsilon:"\u03A5",upsilon:"\u03C5",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",varphi:"\u03D5",Chi:"\u03A7",chi:"\u03C7",Psi:"\u03A8",psi:"\u03C8",Omega:"\u03A9",omega:"\u03C9",ohm:"\u03A9",Gammad:"\u03DC",gammad:"\u03DD",digamma:"\u03DD"},wV={Afr:"\u{1D504}",afr:"\u{1D51E}",Acy:"\u0410",acy:"\u0430",Bcy:"\u0411",bcy:"\u0431",Vcy:"\u0412",vcy:"\u0432",Gcy:"\u0413",gcy:"\u0433",Dcy:"\u0414",dcy:"\u0434",IEcy:"\u0415",iecy:"\u0435",IOcy:"\u0401",iocy:"\u0451",ZHcy:"\u0416",zhcy:"\u0436",Zcy:"\u0417",zcy:"\u0437",Icy:"\u0418",icy:"\u0438",Jcy:"\u0419",jcy:"\u0439",Kcy:"\u041A",kcy:"\u043A",Lcy:"\u041B",lcy:"\u043B",Mcy:"\u041C",mcy:"\u043C",Ncy:"\u041D",ncy:"\u043D",Ocy:"\u041E",ocy:"\u043E",Pcy:"\u041F",pcy:"\u043F",Rcy:"\u0420",rcy:"\u0440",Scy:"\u0421",scy:"\u0441",Tcy:"\u0422",tcy:"\u0442",Ucy:"\u0423",ucy:"\u0443",Fcy:"\u0424",fcy:"\u0444",KHcy:"\u0425",khcy:"\u0445",TScy:"\u0426",tscy:"\u0446",CHcy:"\u0427",chcy:"\u0447",SHcy:"\u0428",shcy:"\u0448",SHCHcy:"\u0429",shchcy:"\u0449",HARDcy:"\u042A",hardcy:"\u044A",Ycy:"\u042B",ycy:"\u044B",SOFTcy:"\u042C",softcy:"\u044C",Ecy:"\u042D",ecy:"\u044D",YUcy:"\u042E",yucy:"\u044E",YAcy:"\u042F",yacy:"\u044F",DJcy:"\u0402",djcy:"\u0452",GJcy:"\u0403",gjcy:"\u0453",Jukcy:"\u0404",jukcy:"\u0454",DScy:"\u0405",dscy:"\u0455",Iukcy:"\u0406",iukcy:"\u0456",YIcy:"\u0407",yicy:"\u0457",Jsercy:"\u0408",jsercy:"\u0458",LJcy:"\u0409",ljcy:"\u0459",NJcy:"\u040A",njcy:"\u045A",TSHcy:"\u040B",tshcy:"\u045B",KJcy:"\u040C",kjcy:"\u045C",Ubrcy:"\u040E",ubrcy:"\u045E",DZcy:"\u040F",dzcy:"\u045F"},NV={plus:"+",minus:"\u2212",mnplus:"\u2213",mp:"\u2213",pm:"\xB1",times:"\xD7",div:"\xF7",divide:"\xF7",sdot:"\u22C5",star:"\u2606",starf:"\u2605",bigstar:"\u2605",lowast:"\u2217",ast:"*",midast:"*",compfn:"\u2218",smallcircle:"\u2218",bullet:"\u2022",bull:"\u2022",nbsp:"\xA0",hellip:"\u2026",mldr:"\u2026",prime:"\u2032",Prime:"\u2033",tprime:"\u2034",bprime:"\u2035",backprime:"\u2035",minus:"\u2212",minusd:"\u2238",dotminus:"\u2238",plusdo:"\u2214",dotplus:"\u2214",plusmn:"\xB1",minusplus:"\u2213",mnplus:"\u2213",mp:"\u2213",setminus:"\u2216",smallsetminus:"\u2216",Backslash:"\u2216",setmn:"\u2216",ssetmn:"\u2216",lowbar:"_",verbar:"|",vert:"|",VerticalLine:"|",colon:":",Colon:"\u2237",Proportion:"\u2237",ratio:"\u2236",equals:"=",ne:"\u2260",nequiv:"\u2262",equiv:"\u2261",Congruent:"\u2261",sim:"\u223C",thicksim:"\u223C",thksim:"\u223C",sime:"\u2243",simeq:"\u2243",TildeEqual:"\u2243",asymp:"\u2248",approx:"\u2248",thickapprox:"\u2248",thkap:"\u2248",TildeTilde:"\u2248",ncong:"\u2247",cong:"\u2245",TildeFullEqual:"\u2245",asympeq:"\u224D",CupCap:"\u224D",bump:"\u224E",Bumpeq:"\u224E",HumpDownHump:"\u224E",bumpe:"\u224F",bumpeq:"\u224F",HumpEqual:"\u224F",dotminus:"\u2238",minusd:"\u2238",plusdo:"\u2214",dotplus:"\u2214",le:"\u2264",LessEqual:"\u2264",ge:"\u2265",GreaterEqual:"\u2265",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",greater:">",less:"<"},SV={alefsym:"\u2135",aleph:"\u2135",beth:"\u2136",gimel:"\u2137",daleth:"\u2138",forall:"\u2200",ForAll:"\u2200",part:"\u2202",PartialD:"\u2202",exist:"\u2203",Exists:"\u2203",nexist:"\u2204",nexists:"\u2204",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",varnothing:"\u2205",nabla:"\u2207",Del:"\u2207",isin:"\u2208",isinv:"\u2208",in:"\u2208",Element:"\u2208",notin:"\u2209",notinva:"\u2209",ni:"\u220B",niv:"\u220B",SuchThat:"\u220B",ReverseElement:"\u220B",notni:"\u220C",notniva:"\u220C",prod:"\u220F",Product:"\u220F",coprod:"\u2210",Coproduct:"\u2210",sum:"\u2211",Sum:"\u2211",minus:"\u2212",mp:"\u2213",plusdo:"\u2214",dotplus:"\u2214",setminus:"\u2216",lowast:"\u2217",radic:"\u221A",Sqrt:"\u221A",prop:"\u221D",propto:"\u221D",Proportional:"\u221D",varpropto:"\u221D",infin:"\u221E",infintie:"\u29DD",ang:"\u2220",angle:"\u2220",angmsd:"\u2221",measuredangle:"\u2221",angsph:"\u2222",mid:"\u2223",VerticalBar:"\u2223",nmid:"\u2224",nsmid:"\u2224",npar:"\u2226",parallel:"\u2225",spar:"\u2225",nparallel:"\u2226",nspar:"\u2226",and:"\u2227",wedge:"\u2227",or:"\u2228",vee:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",Integral:"\u222B",conint:"\u222E",ContourIntegral:"\u222E",Conint:"\u222F",DoubleContourIntegral:"\u222F",Cconint:"\u2230",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",becaus:"\u2235",because:"\u2235",Because:"\u2235",ratio:"\u2236",Proportion:"\u2237",minusd:"\u2238",dotminus:"\u2238",mDDot:"\u223A",homtht:"\u223B",sim:"\u223C",bsimg:"\u223D",backsim:"\u223D",ac:"\u223E",mstpos:"\u223E",acd:"\u223F",VerticalTilde:"\u2240",wr:"\u2240",wreath:"\u2240",nsime:"\u2244",nsimeq:"\u2244",nsimeq:"\u2244",ncong:"\u2247",simne:"\u2246",ncongdot:"\u2A6D\u0338",ngsim:"\u2275",nsim:"\u2241",napprox:"\u2249",nap:"\u2249",ngeq:"\u2271",nge:"\u2271",nleq:"\u2270",nle:"\u2270",ngtr:"\u226F",ngt:"\u226F",nless:"\u226E",nlt:"\u226E",nprec:"\u2280",npr:"\u2280",nsucc:"\u2281",nsc:"\u2281"},RV={larr:"\u2190",leftarrow:"\u2190",LeftArrow:"\u2190",uarr:"\u2191",uparrow:"\u2191",UpArrow:"\u2191",rarr:"\u2192",rightarrow:"\u2192",RightArrow:"\u2192",darr:"\u2193",downarrow:"\u2193",DownArrow:"\u2193",harr:"\u2194",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",varr:"\u2195",updownarrow:"\u2195",UpDownArrow:"\u2195",nwarr:"\u2196",nwarrow:"\u2196",UpperLeftArrow:"\u2196",nearr:"\u2197",nearrow:"\u2197",UpperRightArrow:"\u2197",searr:"\u2198",searrow:"\u2198",LowerRightArrow:"\u2198",swarr:"\u2199",swarrow:"\u2199",LowerLeftArrow:"\u2199",lArr:"\u21D0",Leftarrow:"\u21D0",uArr:"\u21D1",Uparrow:"\u21D1",rArr:"\u21D2",Rightarrow:"\u21D2",dArr:"\u21D3",Downarrow:"\u21D3",hArr:"\u21D4",Leftrightarrow:"\u21D4",iff:"\u21D4",vArr:"\u21D5",Updownarrow:"\u21D5",lAarr:"\u21DA",Lleftarrow:"\u21DA",rAarr:"\u21DB",Rrightarrow:"\u21DB",lrarr:"\u21C6",leftrightarrows:"\u21C6",rlarr:"\u21C4",rightleftarrows:"\u21C4",lrhar:"\u21CB",leftrightharpoons:"\u21CB",ReverseEquilibrium:"\u21CB",rlhar:"\u21CC",rightleftharpoons:"\u21CC",Equilibrium:"\u21CC",udarr:"\u21C5",UpArrowDownArrow:"\u21C5",duarr:"\u21F5",DownArrowUpArrow:"\u21F5",llarr:"\u21C7",leftleftarrows:"\u21C7",rrarr:"\u21C9",rightrightarrows:"\u21C9",ddarr:"\u21CA",downdownarrows:"\u21CA",har:"\u21BD",lhard:"\u21BD",leftharpoondown:"\u21BD",lharu:"\u21BC",leftharpoonup:"\u21BC",rhard:"\u21C1",rightharpoondown:"\u21C1",rharu:"\u21C0",rightharpoonup:"\u21C0",lsh:"\u21B0",Lsh:"\u21B0",rsh:"\u21B1",Rsh:"\u21B1",ldsh:"\u21B2",rdsh:"\u21B3",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",mapstoleft:"\u21A4",mapstoup:"\u21A5",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",crarr:"\u21B5",nwarrow:"\u2196",nearrow:"\u2197",searrow:"\u2198",swarrow:"\u2199",nleftarrow:"\u219A",nleftrightarrow:"\u21AE",nrightarrow:"\u219B",nrarr:"\u219B",larrtl:"\u21A2",rarrtl:"\u21A3",leftarrowtail:"\u21A2",rightarrowtail:"\u21A3",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Larr:"\u219E",Rarr:"\u21A0",larrhk:"\u21A9",rarrhk:"\u21AA",larrlp:"\u21AB",looparrowleft:"\u21AB",rarrlp:"\u21AC",looparrowright:"\u21AC",harrw:"\u21AD",leftrightsquigarrow:"\u21AD",nrarrw:"\u219D\u0338",rarrw:"\u219D",rightsquigarrow:"\u219D",larrbfs:"\u291F",rarrbfs:"\u2920",nvHarr:"\u2904",nvlArr:"\u2902",nvrArr:"\u2903",larrfs:"\u291D",rarrfs:"\u291E",Map:"\u2905",larrsim:"\u2973",rarrsim:"\u2974",harrcir:"\u2948",Uarrocir:"\u2949",lurdshar:"\u294A",ldrdhar:"\u2967",ldrushar:"\u294B",rdldhar:"\u2969",lrhard:"\u296D",rlhar:"\u21CC",uharr:"\u21BE",uharl:"\u21BF",dharr:"\u21C2",dharl:"\u21C3",Uarr:"\u219F",Darr:"\u21A1",zigrarr:"\u21DD",nwArr:"\u21D6",neArr:"\u21D7",seArr:"\u21D8",swArr:"\u21D9",nharr:"\u21AE",nhArr:"\u21CE",nlarr:"\u219A",nlArr:"\u21CD",nrarr:"\u219B",nrArr:"\u21CF",larrb:"\u21E4",LeftArrowBar:"\u21E4",rarrb:"\u21E5",RightArrowBar:"\u21E5"},PV={square:"\u25A1",Square:"\u25A1",squ:"\u25A1",squf:"\u25AA",squarf:"\u25AA",blacksquar:"\u25AA",blacksquare:"\u25AA",FilledVerySmallSquare:"\u25AA",blk34:"\u2593",blk12:"\u2592",blk14:"\u2591",block:"\u2588",srect:"\u25AD",rect:"\u25AD",sdot:"\u22C5",sdotb:"\u22A1",dotsquare:"\u22A1",triangle:"\u25B5",tri:"\u25B5",trine:"\u25B5",utri:"\u25B5",triangledown:"\u25BF",dtri:"\u25BF",tridown:"\u25BF",triangleleft:"\u25C3",ltri:"\u25C3",triangleright:"\u25B9",rtri:"\u25B9",blacktriangle:"\u25B4",utrif:"\u25B4",blacktriangledown:"\u25BE",dtrif:"\u25BE",blacktriangleleft:"\u25C2",ltrif:"\u25C2",blacktriangleright:"\u25B8",rtrif:"\u25B8",loz:"\u25CA",lozenge:"\u25CA",blacklozenge:"\u29EB",lozf:"\u29EB",bigcirc:"\u25EF",xcirc:"\u25EF",circ:"\u02C6",Circle:"\u25CB",cir:"\u25CB",o:"\u25CB",bullet:"\u2022",bull:"\u2022",hellip:"\u2026",mldr:"\u2026",nldr:"\u2025",boxh:"\u2500",HorizontalLine:"\u2500",boxv:"\u2502",boxdr:"\u250C",boxdl:"\u2510",boxur:"\u2514",boxul:"\u2518",boxvr:"\u251C",boxvl:"\u2524",boxhd:"\u252C",boxhu:"\u2534",boxvh:"\u253C",boxH:"\u2550",boxV:"\u2551",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxDl:"\u2555",boxdL:"\u2556",boxDL:"\u2557",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxUl:"\u255C",boxuL:"\u255B",boxUL:"\u255D",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",boxVl:"\u2562",boxvL:"\u2561",boxVL:"\u2563",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C"},vV={excl:"!",iexcl:"\xA1",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",nbsp:"\xA0",comma:",",period:".",colon:":",semi:";",vert:"|",Verbar:"\u2016",verbar:"|",dblac:"\u02DD",circ:"\u02C6",caron:"\u02C7",breve:"\u02D8",dot:"\u02D9",ring:"\u02DA",ogon:"\u02DB",tilde:"\u02DC",DiacriticalGrave:"`",DiacriticalAcute:"\xB4",DiacriticalTilde:"\u02DC",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",grave:"`",acute:"\xB4"},Cg={cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",euro:"\u20AC",dollar:"$",euro:"\u20AC",fnof:"\u0192",inr:"\u20B9",af:"\u060B",birr:"\u1265\u122D",peso:"\u20B1",rub:"\u20BD",won:"\u20A9",yuan:"\xA5",cedil:"\xB8"},DV={frac12:"\xBD",half:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044"},kV={trade:"\u2122",TRADE:"\u2122",telrec:"\u2315",target:"\u2316",ulcorn:"\u231C",ulcorner:"\u231C",urcorn:"\u231D",urcorner:"\u231D",dlcorn:"\u231E",llcorner:"\u231E",drcorn:"\u231F",lrcorner:"\u231F",intercal:"\u22BA",intcal:"\u22BA",oplus:"\u2295",CirclePlus:"\u2295",ominus:"\u2296",CircleMinus:"\u2296",otimes:"\u2297",CircleTimes:"\u2297",osol:"\u2298",odot:"\u2299",CircleDot:"\u2299",oast:"\u229B",circledast:"\u229B",odash:"\u229D",circleddash:"\u229D",ocirc:"\u229A",circledcirc:"\u229A",boxplus:"\u229E",plusb:"\u229E",boxminus:"\u229F",minusb:"\u229F",boxtimes:"\u22A0",timesb:"\u22A0",boxdot:"\u22A1",sdotb:"\u22A1",veebar:"\u22BB",vee:"\u2228",barvee:"\u22BD",and:"\u2227",wedge:"\u2227",Cap:"\u22D2",Cup:"\u22D3",Fork:"\u22D4",pitchfork:"\u22D4",epar:"\u22D5",ltlarr:"\u2976",nvap:"\u224D\u20D2",nvsim:"\u223C\u20D2",nvge:"\u2265\u20D2",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvgt:">\u20D2",nvltrie:"\u22B4\u20D2",nvrtrie:"\u22B5\u20D2",Vdash:"\u22A9",dashv:"\u22A3",vDash:"\u22A8",Vdash:"\u22A9",Vvdash:"\u22AA",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF"},hfe={...BV,...QV,...xV,...bV,...wV,...NV,...SV,...RV,...PV,...vV,...Cg,...DV,...kV},yd={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},Uw={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 ffe=new Set("!?\\\\/[]$%{}^&*()<>|+");function TV(t){if(t[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${t}"`);for(let e of t)if(ffe.has(e))throw new Error(`[EntityReplacer] Invalid character '${e}' in entity name: "${t}"`);return t}o(TV,"validateEntityName");function Ow(...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(Ow,"mergeEntityMaps");var Ba="external",Ig="base",qw="all";function gfe(t){return!t||t===Ba?new Set([Ba]):t===qw?new Set([qw]):t===Ig?new Set([Ig]):Array.isArray(t)?new Set(t):new Set([Ba])}o(gfe,"parseLimitTiers");var Er=Object.freeze({allow:0,leave:1,remove:2,throw:3}),yfe=new Set([9,10,13]);function Efe(t){if(!t)return{xmlVersion:1,onLevel:Er.allow,nullLevel:Er.remove};let e=t.xmlVersion===1.1?1.1:1,r=Er[t.onNCR]??Er.allow,n=Er[t.nullNCR]??Er.remove,s=Math.max(n,Er.remove);return{xmlVersion:e,onLevel:r,nullLevel:s}}o(Efe,"parseNCRConfig");var Ql=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=gfe(this._limit.applyLimitsTo??Ba),this._numericAllowed=e.numericAllowed??!0,this._baseMap=Ow(yd,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=Efe(e.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel}setExternalEntities(e){if(e)for(let r of Object.keys(e))TV(r);this._externalMap=Ow(e)}addExternalEntity(e,r){TV(e),typeof r=="string"&&r.indexOf("&")===-1&&(this._externalMap[e]=r)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=Ow(e)}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=e===1.1?1.1:1}decode(e){if(typeof e!="string"||e.length===0)return e;let r=e,n=[],s=e.length,i=0,a=0,c=this._maxTotalExpansions>0,l=this._maxExpandedLength>0,A=c||l;for(;a<s;){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=Ba);else if(this._leaveSet.has(m)){a++;continue}else if(m.charCodeAt(0)===35){let g=this._resolveNCR(m);if(g===void 0){a++;continue}p=g,h=Ig}else{let g=this._resolveName(m);p=g?.value,h=g?.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 g=p.length-(m.length+2);if(g>0&&(this._expandedLength+=g,this._expandedLength>this._maxExpandedLength))throw new Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}i<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(qw)?!0:this._limitTiers.has(e)}_resolveName(e){if(e in this._inputMap)return{value:this._inputMap[e],tier:Ba};if(e in this._externalMap)return{value:this._externalMap[e],tier:Ba};if(e in this._baseMap)return{value:this._baseMap[e],tier:Ig}}_classifyNCR(e){return e===0?this._ncrNullLevel:e>=55296&&e<=57343||this._ncrXmlVersion===1&&e>=1&&e<=31&&!yfe.has(e)?Er.remove:-1}_applyNCRAction(e,r,n){switch(e){case Er.allow:return String.fromCodePoint(n);case Er.remove:return"";case Er.leave:return;case Er.throw:throw new Error(`[EntityDecoder] Prohibited numeric character reference &${r}; (U+${n.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(n)}}_resolveNCR(e){let r=e.charCodeAt(1),n;if(r===120||r===88?n=parseInt(e.slice(2),16):n=parseInt(e.slice(1),10),Number.isNaN(n)||n<0||n>1114111)return;let s=this._classifyNCR(n);if(!this._numericAllowed&&s<Er.remove)return;let i=s===-1?this._ncrOnLevel:Math.max(this._ncrOnLevel,s);return this._applyNCRAction(i,e,n)}};var MV=o(t=>fd.includes(t)?"__"+t:t,"defaultOnDangerousProperty"),Cfe={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:o(function(t,e){return e},"tagValueProcessor"),attributeValueProcessor:o(function(t,e){return e},"attributeValueProcessor"),stopNodes:[],alwaysCreateTextNode:!1,isArray:o(()=>!1,"isArray"),commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:o(function(t,e,r){return t},"updateTag"),captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:MV};function Ife(t,e){if(typeof t!="string")return;let r=t.toLowerCase();if(fd.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(yg.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}o(Ife,"validatePropertyName");function LV(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"}:LV(!0)}o(LV,"normalizeProcessEntities");var FV=o(function(t){let e=Object.assign({},Cfe,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&&Ife(n,s);return e.onDangerousProperty===null&&(e.onDangerousProperty=MV),e.processEntities=LV(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 Bg;typeof Symbol!="function"?Bg="@@xmlMetadata":Bg=Symbol("XML Node Metadata");var Cr=class{static{o(this,"XmlNode")}constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,r){e==="__proto__"&&(e="#__proto__"),this.child.push({[e]:r})}addChild(e,r){e.tagname==="__proto__"&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),r!==void 0&&(this.child[this.child.length-1][Bg]={startIndex:r})}static getMetaDataSymbol(){return Bg}};var _V=":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",Bfe=_V+"\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040",UV=":A-Za-z_\xC0-\u02FF\u0370-\u037D\u037F-\u0486\u0488-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}",Qfe=UV+"\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040",OV=o((t,e,r="")=>{let n=t.replace(":",""),s=e.replace(":",""),i=`[${n}][${s}]*`;return{name:new RegExp(`^[${t}][${e}]*$`,r),ncName:new RegExp(`^${i}$`,r),qName:new RegExp(`^${i}(?::${i})?$`,r),nmToken:new RegExp(`^[${e}]+$`,r),nmTokens:new RegExp(`^[${e}]+(?:\\s+[${e}]+)*$`,r)}},"buildRegexes"),xfe=OV(_V,Bfe),bfe=OV(UV,Qfe,"u"),wfe=o((t="1.0")=>t==="1.1"?bfe:xfe,"getRegexes");var Qa=o((t,{xmlVersion:e="1.0"}={})=>wfe(e).qName.test(t),"qName");var Cd=class{static{o(this,"DocTypeReader")}constructor(e,r){this.suppressValidationErr=!e,this.options=e,this.xmlVersion=r||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,r){let n=Object.create(null),s=0;if(e[r+3]==="O"&&e[r+4]==="C"&&e[r+5]==="T"&&e[r+6]==="Y"&&e[r+7]==="P"&&e[r+8]==="E"){r=r+9;let i=1,a=!1,c=!1,l="";for(;r<e.length;r++)if(e[r]==="<"&&!c){if(a&&xa(e,"!ENTITY",r)){r+=7;let A,u;if([A,u,r]=this.readEntityExp(e,r+1,this.suppressValidationErr),u.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[A]=u,s++}}else if(a&&xa(e,"!ELEMENT",r)){r+=8;let{index:A}=this.readElementExp(e,r+1);r=A}else if(a&&xa(e,"!ATTLIST",r))r+=8;else if(a&&xa(e,"!NOTATION",r)){r+=9;let{index:A}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=A}else if(xa(e,"!--",r))c=!0;else throw new Error("Invalid DOCTYPE");i++,l=""}else if(e[r]===">"){if(c?e[r-1]==="-"&&e[r-2]==="-"&&(c=!1,i--):i--,i===0)break}else e[r]==="["?a=!0:l+=e[r];if(i!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:n,i:r}}readEntityExp(e,r){r=Ir(e,r);let n=r;for(;r<e.length&&!/\s/.test(e[r])&&e[r]!=='"'&&e[r]!=="'";)r++;let s=e.substring(n,r);if(Ed(s,{xmlVersion:this.xmlVersion}),r=Ir(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=Ir(e,r);let n=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;let s=e.substring(n,r);!this.suppressValidationErr&&Ed(s,{xmlVersion:this.xmlVersion}),r=Ir(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=Ir(e,r);let a=null,c=null;if(i==="PUBLIC")[r,a]=this.readIdentifierVal(e,r,"publicIdentifier"),r=Ir(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=Ir(e,r);let n=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;let s=e.substring(n,r);if(!this.suppressValidationErr&&!Qa(s,{xmlVersion:this.xmlVersion}))throw new Error(`Invalid element name: "${s}"`);r=Ir(e,r);let i="";if(e[r]==="E"&&xa(e,"MPTY",r))r+=4;else if(e[r]==="A"&&xa(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=Ir(e,r);let n=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;let s=e.substring(n,r);for(Ed(s,{xmlVersion:this.xmlVersion}),r=Ir(e,r),n=r;r<e.length&&!/\s/.test(e[r]);)r++;let i=e.substring(n,r);if(!Ed(i,{xmlVersion:this.xmlVersion}))throw new Error(`Invalid attribute name: "${i}"`);r=Ir(e,r);let a="";if(e.substring(r,r+8).toUpperCase()==="NOTATION"){if(a="NOTATION",r+=8,r=Ir(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(),!Ed(u,{xmlVersion:this.xmlVersion}))throw new Error(`Invalid notation name: "${u}"`);l.push(u),e[r]==="|"&&(r++,r=Ir(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=Ir(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}}},Ir=o((t,e)=>{for(;e<t.length&&/\s/.test(t[e]);)e++;return e},"skipWhitespace");function xa(t,e,r){for(let n=0;n<e.length;n++)if(e[n]!==t[r+n+1])return!1;return!0}o(xa,"hasSeq");function Ed(t,e){if(Qa(t,{xmlVersion:e}))return t;throw new Error(`Invalid entity name ${t}`)}o(Ed,"validateEntityName");var Nfe=/^[-+]?0x[a-fA-F0-9]+$/,Sfe=/^0b[01]+$/,Rfe=/^0o[0-7]+$/,Pfe=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,vfe={hex:!0,binary:!1,octal:!1,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original"};function zw(t,e={}){if(e=Object.assign({},vfe,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")return 0;if(e.hex&&Nfe.test(r))return Hw(r,16);if(e.binary&&Sfe.test(r))return Hw(r,2);if(e.octal&&Rfe.test(r))return Hw(r,8);if(isFinite(r)){if(r.includes("e")||r.includes("E"))return kfe(t,r,e);{let n=Pfe.exec(r);if(n){let s=n[1]||"",i=n[2],a=Tfe(n[3]),c=s?t[i.length+1]===".":t[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 return Mfe(t,Number(r),e)}o(zw,"toNumber");var Dfe=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function kfe(t,e,r){if(!r.eNotation)return t;let n=e.match(Dfe);if(n){let s=n[1]||"",i=n[3].indexOf("e")===-1?"E":"e",a=n[2],c=s?t[a.length+1]===i:t[a.length]===i;return a.length>1&&c?t:a.length===1&&(n[3].startsWith(`.${i}`)||n[3][0]===i)?Number(e):a.length>0?r.leadingZeros&&!c?(e=(n[1]||"")+n[3],Number(e)):t:Number(e)}else return t}o(kfe,"resolveEnotation");function Tfe(t){return t&&t.indexOf(".")!==-1&&(t=t.replace(/0+$/,""),t==="."?t="0":t[0]==="."?t="0"+t:t[t.length-1]==="."&&(t=t.substring(0,t.length-1))),t}o(Tfe,"trimZeros");function Hw(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(Hw,"parse_int");function Mfe(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(Mfe,"handleInfinity");function Gw(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(Gw,"getIgnoreAttributesFn");var Wr=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 xl=class{static{o(this,"ExpressionSet")}constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],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())return this._deepWildcards.push(e),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 c=0;c<i.length;c++)if(e.matches(i[c]))return i[c]}let a=this._wildcardByDepth.get(r);if(a){for(let c=0;c<a.length;c++)if(e.matches(a[c]))return a[c]}for(let c=0;c<this._deepWildcards.length;c++)if(e.matches(this._deepWildcards[c]))return this._deepWildcards[c];return null}};var Yw=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}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)}},bs=class{static{o(this,"Matcher")}constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new Yw(this)}push(e,r=null,n=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let s=this.path.length;this.siblingStacks[s]||(this.siblingStacks[s]=new Map);let i=this.siblingStacks[s],a=n?`${n}:${e}`:e,c=i.get(a)||0,l=0;for(let u of i.values())l+=u;i.set(a,c+1);let A={tag:e,position:l,counter:c};n!=null&&(A.namespace=n),r!=null&&(A.values=r),this.path.push(A)}pop(){if(this.path.length===0)return;this._pathStringCache=null;let e=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),e}updateCurrent(e){if(this.path.length>0){let r=this.path[this.path.length-1];e!=null&&(r.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(this.path.length!==0)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(this.path.length===0)return!1;let r=this.path[this.path.length-1];return r.values!==void 0&&e in r.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,r=!0){let n=e||this.separator;if(n===this.separator&&r===!0){if(this._pathStringCache!==null)return this._pathStringCache;let i=this.path.map(a=>a.namespace?`${a.namespace}:${a.tag}`:a.tag).join(n);return this._pathStringCache=i,i}return this.path.map(i=>r&&i.namespace?`${i.namespace}:${i.tag}`:i.tag).join(n)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(e){let r=e.segments;return r.length===0?!1:e.hasDeepWildcard()?this._matchWithDeepWildcard(r):this._matchSimple(r)}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let r=0;r<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=>new Map(e))}}restore(e){this._pathStringCache=null,this.path=e.path.map(r=>({...r})),this.siblingStacks=e.siblingStacks.map(r=>new Map(r))}readOnly(){return this._view}};function Lfe(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(Lfe,"extractRawAttributes");function Ffe(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(Ffe,"extractNamespace");var Id=class{static{o(this,"OrderedObjParser")}constructor(e,r){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=Hfe,this.parseTextData=_fe,this.resolveNameSpace=Ufe,this.buildAttributesMap=qfe,this.isItStopNode=Vfe,this.replaceEntitiesValue=Gfe,this.readStopNodeData=$fe,this.saveTextToParentTag=Yfe,this.addChild=zfe,this.ignoreAttributesFn=Gw(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0;let n={...yd};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?n=this.options.htmlEntities:this.options.htmlEntities===!0&&(n={...Uw,...Cg}),this.entityDecoder=new Ql({namedEntities:{...n,...r},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo}})),this.matcher=new bs,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new xl;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 Wr(a)):a instanceof Wr&&this.stopNodeExpressionsSet.add(a)}this.stopNodeExpressionsSet.seal()}}};function _fe(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?Ww(t,c.parseTagValue,c.numberParseOptions):t}}o(_fe,"parseTextData");function Ufe(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(Ufe,"resolveNameSpace");var Ofe=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function qfe(t,e,r,n=!1){let s=this.options;if(n===!0||s.ignoreAttributes!==!0&&typeof t=="string"){let i=gg(t,Ofe),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]),g=i[p][4];if(h.length&&g!==void 0){let C=g;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 g=s.attributeNamePrefix+h;if(h.length)if(s.transformAttributeName&&(g=s.transformAttributeName(g)),g=qV(g,s),i[p][4]!==void 0){let C=l[p],y=s.attributeValueProcessor(h,C,d);y==null?c[g]=C:typeof y!=typeof C||y!==C?c[g]=y:c[g]=Ww(C,s.parseAttributeValue,s.numberParseOptions),m=!0}else s.allowBooleanAttributes&&(c[g]=!0,m=!0)}if(!m)return;if(s.attributesGroupName&&!s.preserveOrder){let p={};return p[s.attributesGroupName]=c,p}return c}}o(qfe,"buildAttributesMap");var Hfe=o(function(t){t=t.replace(/\r\n?/g,`
|
|
`);let e=new Cr("!xml"),r=e,n="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0;let s=this.options,i=new Cd(s.processEntities),a=t.length;for(let c=0;c<a;c++)if(t[c]==="<"){let A=t.charCodeAt(c+1);if(A===47){let u=bl(t,">",c,"Closing Tag is not closed."),d=t.substring(c+2,u).trim();if(s.removeNSPrefix){let p=d.indexOf(":");p!==-1&&(d=d.substr(p+1))}d=Vw(s.transformTagName,d,"",s).tagName,r&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher));let m=this.matcher.getCurrentTag();if(d&&s.unpairedTagsSet.has(d))throw new Error(`Unpaired tag can not be used as closing tag: </${d}>`);m&&s.unpairedTagsSet.has(m)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),n="",c=u}else if(A===63){let u=Jw(t,c,!1,"?>");if(!u)throw new Error("Pi Tag is not closed.");n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let d=this.buildAttributesMap(u.tagExp,this.matcher,u.tagName,!0);if(d){let m=d[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(m)||1),i.setXmlVersion(Number(m)||1)}if(!(s.ignoreDeclaration&&u.tagName==="?xml"||s.ignorePiTags)){let m=new Cr(u.tagName);m.add(s.textNodeName,""),u.tagName!==u.tagExp&&u.attrExpPresent&&s.ignoreAttributes!==!0&&(m[":@"]=d),this.addChild(r,m,this.readonlyMatcher,c)}c=u.closeIndex+1}else if(A===33&&t.charCodeAt(c+2)===45&&t.charCodeAt(c+3)===45){let u=bl(t,"-->",c+4,"Comment is not closed.");if(s.commentPropName){let d=t.substring(c+4,u-2);n=this.saveTextToParentTag(n,r,this.readonlyMatcher),r.add(s.commentPropName,[{[s.textNodeName]:d}])}c=u}else if(A===33&&t.charCodeAt(c+2)===68){let u=i.readDocType(t,c);this.entityDecoder.addInputEntities(u.entities),c=u.i}else if(A===33&&t.charCodeAt(c+2)===91){let u=bl(t,"]]>",c,"CDATA is not closed.")-2,d=t.substring(c+9,u);n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let m=this.parseTextData(d,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);m==null&&(m=""),s.cdataPropName?r.add(s.cdataPropName,[{[s.textNodeName]:d}]):r.add(s.textNodeName,m),c=u+2}else{let u=Jw(t,c,s.removeNSPrefix);if(!u){let k=t.substring(Math.max(0,c-50),Math.min(a,c+50));throw new Error(`readTagExp returned undefined at position ${c}. Context: "${k}"`)}let d=u.tagName,m=u.rawTagName,p=u.tagExp,h=u.attrExpPresent,g=u.closeIndex;if({tagName:d,tagExp:p}=Vw(s.transformTagName,d,p,s),s.strictReservedNames&&(d===s.commentPropName||d===s.cdataPropName||d===s.textNodeName||d===s.attributesGroupName))throw new Error(`Invalid tag name: ${d}`);r&&n&&r.tagname!=="!xml"&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher,!1));let C=r;C&&s.unpairedTagsSet.has(C.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let y=!1;p.length>0&&p.lastIndexOf("/")===p.length-1&&(y=!0,d[d.length-1]==="/"?(d=d.substr(0,d.length-1),p=d):p=p.substr(0,p.length-1),h=d!==p);let E=null,I={},B;B=Ffe(m),d!==e.tagname&&this.matcher.push(d,{},B),d!==p&&h&&(E=this.buildAttributesMap(p,this.matcher,d),E&&(I=Lfe(E,s))),d!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let N=c;if(this.isCurrentNodeStopNode){let k="";if(y)c=u.closeIndex;else if(s.unpairedTagsSet.has(d))c=u.closeIndex;else{let ce=this.readStopNodeData(t,m,g+1);if(!ce)throw new Error(`Unexpected end of ${m}`);c=ce.i,k=ce.tagContent}let _=new Cr(d);E&&(_[":@"]=E),_.add(s.textNodeName,k),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,_,this.readonlyMatcher,N)}else{if(y){({tagName:d,tagExp:p}=Vw(s.transformTagName,d,p,s));let k=new Cr(d);E&&(k[":@"]=E),this.addChild(r,k,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(s.unpairedTagsSet.has(d)){let k=new Cr(d);E&&(k[":@"]=E),this.addChild(r,k,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1,c=u.closeIndex;continue}else{let k=new Cr(d);if(this.tagsNodeStack.length>s.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),E&&(k[":@"]=E),this.addChild(r,k,this.readonlyMatcher,N),r=k}n="",c=g}}}else n+=t[c];return e.child},"parseXml");function zfe(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(zfe,"addChild");function Gfe(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(Gfe,"replaceEntitiesValue");function Yfe(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(Yfe,"saveTextToParentTag");function Vfe(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}o(Vfe,"isItStopNode");function Jfe(t,e,r=">"){let n=0,s=t.length,i=r.charCodeAt(0),a=r.length>1?r.charCodeAt(1):-1,c="",l=e;for(let A=e;A<s;A++){let u=t.charCodeAt(A);if(n)u===n&&(n=0);else if(u===34||u===39)n=u;else if(u===i)if(a!==-1){if(t.charCodeAt(A+1)===a)return c+=t.substring(l,A),{data:c,index:A}}else return c+=t.substring(l,A),{data:c,index:A};else u===9&&!n&&(c+=t.substring(l,A)+" ",l=A+1)}}o(Jfe,"tagExpWithClosingIndex");function bl(t,e,r,n){let s=t.indexOf(e,r);if(s===-1)throw new Error(n);return s+e.length-1}o(bl,"findClosingIndex");function Wfe(t,e,r,n){let s=t.indexOf(e,r);if(s===-1)throw new Error(n);return s}o(Wfe,"findClosingChar");function Jw(t,e,r,n=">"){let s=Jfe(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(Jw,"readTagExp");function $fe(t,e,r){let n=r,s=1,i=t.length;for(;r<i;r++)if(t[r]==="<"){let a=t.charCodeAt(r+1);if(a===47){let c=Wfe(t,">",r,`${e} is not closed`);if(t.substring(r+2,c).trim()===e&&(s--,s===0))return{tagContent:t.substring(n,r),i:c};r=c}else if(a===63)r=bl(t,"?>",r+1,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===45&&t.charCodeAt(r+3)===45)r=bl(t,"-->",r+3,"StopNode is not closed.");else if(a===33&&t.charCodeAt(r+2)===91)r=bl(t,"]]>",r,"StopNode is not closed.")-2;else{let c=Jw(t,r,!1);c&&((c&&c.tagName)===e&&c.tagExp[c.tagExp.length-1]!=="/"&&s++,r=c.closeIndex)}}}o($fe,"readStopNodeData");function Ww(t,e,r){if(e&&typeof t=="string"){let n=t.trim();return n==="true"?!0:n==="false"?!1:zw(t,r)}else return gV(t)?t:""}o(Ww,"parseValue");function Vw(t,e,r,n){if(t){let s=t(e);r===e&&(r=s),e=s}return e=qV(e,n),{tagName:e,tagExp:r}}o(Vw,"transformTagName");function qV(t,e){if(yg.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return fd.includes(t)?e.onDangerousProperty(t):t}o(qV,"sanitizeName");var $w=Cr.getMetaDataSymbol();function jfe(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(jfe,"stripAttributePrefix");function jw(t,e,r,n){return HV(t,e,r,n)}o(jw,"prettify");function HV(t,e,r,n){let s,i={};for(let a=0;a<t.length;a++){let c=t[a],l=Kfe(c);if(l!==void 0&&l!==e.textNodeName){let A=jfe(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=HV(c[l],e,r,n),u=Zfe(A,e);if(Object.keys(A).length===0&&e.alwaysCreateTextNode&&(A[e.textNodeName]=""),c[":@"]?Xfe(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[$w]!==void 0&&typeof A=="object"&&A!==null&&(A[$w]=c[$w]),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(HV,"compress");function Kfe(t){let e=Object.keys(t);for(let r=0;r<e.length;r++){let n=e[r];if(n!==":@")return n}}o(Kfe,"propName");function Xfe(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(Xfe,"assignAttributes");function Zfe(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(Zfe,"isLeafTag");var wl=class{static{o(this,"XMLParser")}constructor(e){this.externalEntities={},this.options=FV(e)}parse(e,r){if(typeof e!="string"&&e.toString)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=Eg(e,r);if(i!==!0)throw Error(`${i.err.msg}:${i.err.line}:${i.err.col}`)}let n=new Id(this.options,this.externalEntities),s=n.parseXml(e);return this.options.preserveOrder||s===void 0?s:jw(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 Cr.getMetaDataSymbol()}};function Qg(t){return String(t).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}o(Qg,"safeComment");function xg(t){return String(t).replace(/\]\]>/g,"]]]]><![CDATA[>")}o(xg,"safeCdata");function Bo(t){return String(t).replace(/"/g,""").replace(/'/g,"'")}o(Bo,"escapeAttribute");var ege=`
|
|
`;function tge(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(Zw(r)==="?xml"){let s=r[":@"];if(s){let i=e.attributeNamePrefix+"version";if(s[i])return s[i]}}return"1.0"}o(tge,"detectXmlVersionFromArray");function GV(t,e,r,n,s){return!r.sanitizeName||Qa(t,{xmlVersion:s})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(GV,"resolveTagName");function Xw(t,e){let r="";e.format&&(r=ege);let n=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let a=0;a<e.stopNodes.length;a++){let c=e.stopNodes[a];typeof c=="string"?n.push(new Wr(c)):c instanceof Wr&&n.push(c)}let s=tge(t,e),i=new bs;return YV(t,e,r,i,n,s)}o(Xw,"toXml");function YV(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=t.toString();return l=Kw(l,e),l}return""}for(let l=0;l<t.length;l++){let A=t[l],u=Zw(A);if(u===void 0)continue;let m=u===e.textNodeName||u===e.cdataPropName||u===e.commentPropName||u[0]==="?"?u:GV(u,!1,e,n,i),p=rge(A[":@"],e);n.push(m,p);let h=sge(n,s);if(m===e.textNodeName){let I=A[u];h||(I=e.tagValueProcessor(m,I),I=Kw(I,e)),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=xg(I);a+=`<![CDATA[${B}]]>`,c=!1,n.pop();continue}else if(m===e.commentPropName){let I=A[u][0][e.textNodeName],B=Qg(I);a+=r+`<!--${B}-->`,c=!0,n.pop();continue}else if(m[0]==="?"){let I=zV(A[":@"],e,h,n,i);a+=(m==="?xml"?"":r)+`<${m}${I}?>`,c=!0,n.pop();continue}let g=r;g!==""&&(g+=e.indentBy);let C=zV(A[":@"],e,h,n,i),y=r+`<${m}${C}`,E;h?E=VV(A[u],e):E=YV(A[u],e,g,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(YV,"arrToStr");function rge(t,e){if(!t||e.ignoreAttributes)return null;let r={},n=!1;for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let i=s.startsWith(e.attributeNamePrefix)?s.substr(e.attributeNamePrefix.length):s;r[i]=Bo(t[s]),n=!0}return n?r:null}o(rge,"extractAttributeValues");function VV(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let n=0;n<t.length;n++){let s=t[n],i=Zw(s);if(i===e.textNodeName)r+=s[i];else if(i===e.cdataPropName)r+=s[i][0][e.textNodeName];else if(i===e.commentPropName)r+=s[i][0][e.textNodeName];else{if(i&&i[0]==="?")continue;if(i){let a=nge(s[":@"],e),c=VV(s[i],e);!c||c.length===0?r+=`<${i}${a}/>`:r+=`<${i}${a}>${c}</${i}>`}}}return r}o(VV,"getRawContent");function nge(t,e){let r="";if(t&&!e.ignoreAttributes)for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let s=t[n];s===!0&&e.suppressBooleanAttributes?r+=` ${n.substr(e.attributeNamePrefix.length)}`:r+=` ${n.substr(e.attributeNamePrefix.length)}="${Bo(s)}"`}return r}o(nge,"attr_to_str_raw");function Zw(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(Zw,"propName");function zV(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:GV(c,!0,e,n,s),A;r?A=t[a]:(A=e.attributeValueProcessor(a,t[a]),A=Kw(A,e)),A===!0&&e.suppressBooleanAttributes?i+=` ${l}`:i+=` ${l}="${Bo(A)}"`}return i}o(zV,"attr_to_str");function sge(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(sge,"checkStopNode");function Kw(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(Kw,"replaceEntitiesValue");function eN(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(eN,"getIgnoreAttributesFn");var ige={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:o(function(t,e){return e},"tagValueProcessor"),attributeValueProcessor:o(function(t,e){return e},"attributeValueProcessor"),preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function Br(t){if(this.options=Object.assign({},ige,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 Wr(r)):r instanceof Wr&&this.stopNodeExpressions.push(r)}this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=eN(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=lge),this.processTextOrObjNode=age,this.options.format?(this.indentate=cge,this.tagEndChar=`>
|
|
`,this.newLine=`
|
|
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(Br,"Builder");function oge(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(oge,"detectXmlVersionFromObj");function tN(t,e,r,n,s){return!r.sanitizeName||Qa(t,{xmlVersion:s})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}o(tN,"resolveTagName");Br.prototype.build=function(t){if(this.options.preserveOrder)return Xw(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new bs,r=oge(t,this.options);return this.j2x(t,0,e,r).val}};Br.prototype.j2x=function(t,e,r,n){let s="",i="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");let a=this.options.jPath?r.toString():r,c=this.checkStopNode(r);for(let l in t){if(!Object.prototype.hasOwnProperty.call(t,l))continue;let u=l===this.options.textNodeName||l===this.options.cdataPropName||l===this.options.commentPropName||this.options.attributesGroupName&&l===this.options.attributesGroupName||this.isAttribute(l)||l[0]==="?"?l:tN(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=tN(d,!0,this.options,r,n);s+=this.buildAttrPairStr(m,""+t[l],c)}else if(!d)if(l===this.options.textNodeName){let m=this.options.tagValueProcessor(l,""+t[l]);i+=this.replaceEntitiesValue(m)}else{r.push(u);let m=this.checkStopNode(r);if(r.pop(),m){let p=""+t[l];p===""?i+=this.indentate(e)+"<"+u+this.closeTag(u)+this.tagEndChar:i+=this.indentate(e)+"<"+u+">"+p+"</"+u+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 g=t[l][h];if(!(typeof g>"u"))if(g===null)u[0]==="?"?i+=this.indentate(e)+"<"+u+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+u+"/"+this.tagEndChar;else if(typeof g=="object")if(this.options.oneListGroup){r.push(u);let C=this.j2x(g,e+1,r,n);r.pop(),m+=C.val,this.options.attributesGroupName&&g.hasOwnProperty(this.options.attributesGroupName)&&(p+=C.attrStr)}else m+=this.processTextOrObjNode(g,u,e,r,n);else if(this.options.oneListGroup){let C=this.options.tagValueProcessor(u,g);C=this.replaceEntitiesValue(C),m+=C}else{r.push(u);let C=this.checkStopNode(r);if(r.pop(),C){let y=""+g;y===""?m+=this.indentate(e)+"<"+u+this.closeTag(u)+this.tagEndChar:m+=this.indentate(e)+"<"+u+">"+y+"</"+u+this.tagEndChar}else m+=this.buildTextValNode(g,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=tN(d[p],!0,this.options,r,n);s+=this.buildAttrPairStr(h,""+t[l][d[p]],c)}}else i+=this.processTextOrObjNode(t[l],u,e,r,n)}return{attrStr:s,val:i}};Br.prototype.buildAttrPairStr=function(t,e,r){return r||(e=this.options.attributeValueProcessor(t,""+e),e=this.replaceEntitiesValue(e)),this.options.suppressBooleanAttributes&&e==="true"?" "+t:" "+t+'="'+Bo(e)+'"'};function age(t,e,r,n,s){let i=this.extractAttributes(t);if(n.push(e,i),this.checkStopNode(n)){let l=this.buildRawContent(t),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(age,"processTextOrObjNode");Br.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]=Bo(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]=Bo(t[n]),r=!0)}return r?e:null};Br.prototype.buildRawContent=function(t){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 e="";for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r)||this.isAttribute(r)||this.options.attributesGroupName&&r===this.options.attributesGroupName)continue;let n=t[r];if(r===this.options.textNodeName)e+=n;else if(Array.isArray(n)){for(let s of n)if(typeof s=="string"||typeof s=="number")e+=`<${r}>${s}</${r}>`;else if(typeof s=="object"&&s!==null){let i=this.buildRawContent(s),a=this.buildAttributesForStopNode(s);i===""?e+=`<${r}${a}/>`:e+=`<${r}${a}>${i}</${r}>`}}else if(typeof n=="object"&&n!==null){let s=this.buildRawContent(n),i=this.buildAttributesForStopNode(n);s===""?e+=`<${r}${i}/>`:e+=`<${r}${i}>${s}</${r}>`}else e+=`<${r}>${n}</${r}>`}return e};Br.prototype.buildAttributesForStopNode=function(t){if(!t||typeof t!="object")return"";let e="";if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){let r=t[this.options.attributesGroupName];for(let n in r){if(!Object.prototype.hasOwnProperty.call(r,n))continue;let s=n.startsWith(this.options.attributeNamePrefix)?n.substring(this.options.attributeNamePrefix.length):n,i=r[n];i===!0&&this.options.suppressBooleanAttributes?e+=" "+s:e+=" "+s+'="'+i+'"'}}else for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r))continue;let n=this.isAttribute(r);if(n){let s=t[r];s===!0&&this.options.suppressBooleanAttributes?e+=" "+n:e+=" "+n+'="'+s+'"'}}return e};Br.prototype.buildObjectNode=function(t,e,r,n){if(t==="")return e[0]==="?"?this.indentate(n)+"<"+e+r+"?"+this.tagEndChar:this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar;if(e[0]==="?")return this.indentate(n)+"<"+e+r+"?"+this.tagEndChar;{let s="</"+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)+`<!--${t}-->`+this.newLine:this.indentate(n)+"<"+e+r+i+this.tagEndChar+t+this.indentate(n)+s}};Br.prototype.closeTag=function(t){let e="";return this.options.unpairedTags.indexOf(t)!==-1?this.options.suppressUnpairedNode||(e="/"):this.options.suppressEmptyNode?e="/":e=`></${t}`,e};Br.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};Br.prototype.buildTextValNode=function(t,e,r,n,s){if(this.options.cdataPropName!==!1&&e===this.options.cdataPropName){let i=xg(t);return this.indentate(n)+`<![CDATA[${i}]]>`+this.newLine}else if(this.options.commentPropName!==!1&&e===this.options.commentPropName){let i=Qg(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===""?this.indentate(n)+"<"+e+r+this.closeTag(e)+this.tagEndChar:this.indentate(n)+"<"+e+r+">"+i+"</"+e+this.tagEndChar}}};Br.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 cge(t){return this.options.indentBy.repeat(t)}o(cge,"indentate");function lge(t){return t.startsWith(this.options.attributeNamePrefix)&&t!==this.options.textNodeName?t.substr(this.attrPrefixLen):!1}o(lge,"isAttribute");var rN=Br;var JV={validate:Eg};function jV(t){var e;return{attributesGroupName:"$",textNodeName:(e=t.xmlCharKey)!==null&&e!==void 0?e:"_",ignoreAttributes:!1,suppressBooleanAttributes:!1}}o(jV,"getCommonOptions");function Age(t={}){var e,r;return Object.assign(Object.assign({},jV(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(Age,"getSerializerOptions");function uge(t={}){return Object.assign(Object.assign({},jV(t)),{parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:t.stopNodes,processEntities:!0,trimValues:!1})}o(uge,"getParserOptions");function bg(t,e={}){let r=Age(e),n=new rN(r),s={[r.rootNodeName]:t};return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${n.build(s)}`.replace(/\n/g,"")}o(bg,"stringifyXML");async function nN(t,e={}){if(!t)throw new Error("Document is empty");let r=JV.validate(t);if(r!==!0)throw r;let s=new wl(uge(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(nN,"parseXML");var wg=Is("storage-blob");var ZV=require("events");var KV=require("node:stream");var Ng=class extends KV.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 XV=Q(require("node:buffer"),1);var Sg=XV.default.constants.MAX_LENGTH,Rg=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/Sg);for(let i=0;i<s;i++){let a=i===s-1?e%Sg:Sg;a===0&&(a=Sg),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 Ng(this.buffers,this.size)}};var Pg=class{static{o(this,"BufferScheduler")}bufferSize;maxBuffers;readable;outgoingHandler;emitter=new ZV.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 Rg(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 sN;function iN(){return sN||(sN=cd()),sN}o(iN,"getCachedDefaultHttpClient");var ws=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 xi={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 Qo(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(Qo,"setURLParameter");function vg(t,e){let r=new URL(t);return r.hostname=e,r.toString()}o(vg,"setURLHost");function Dg(t){try{return new URL(t).pathname}catch{return}}o(Dg,"getURLPath");function kg(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(kg,"getURLQueries");async function Tg(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(Tg,"delay");var Bd=class extends ws{static{o(this,"StorageBrowserPolicy")}constructor(e,r){super(e,r)}async sendRequest(e){return Be?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=Qo(e.url,xi.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 Qd=class{static{o(this,"StorageBrowserPolicyFactory")}create(e,r){return new Bd(e,r)}};var ba=class extends ws{static{o(this,"CredentialPolicy")}sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var xd=class extends ba{static{o(this,"AnonymousCredentialPolicy")}constructor(e,r){super(e,r)}};var wa=class{static{o(this,"Credential")}create(e,r){throw new Error("Method should be implemented in children classes.")}};var Oe=class extends wa{static{o(this,"AnonymousCredential")}create(e,r){return new xd(e,r)}};var eJ=require("node:crypto");var dge=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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]),mge=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]),pge=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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 Mg(t,e){return hge(t,e)?-1:1}o(Mg,"compareHeader");function hge(t,e){let r=[dge,mge,pge],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(hge,"isLessThan");var bd=class extends ba{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)=>Mg(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=Dg(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let s=kg(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 We=class extends wa{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new bd(e,r,this)}computeHMACSHA256(e){return(0,eJ.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var yt=Is("storage-common");var En;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(En||(En={}));var xo={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:En.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},fge=new Yr("The operation was aborted."),wd=class extends ws{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=xo){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:xo.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):xo.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:xo.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:xo.maxRetryDelayInMs):xo.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:xo.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:xo.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=vg(s.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(s.url=Qo(s.url,xi.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(yt.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(yt.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 yt.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 yt.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 yt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return yt.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')?(yt.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 En.EXPONENTIAL:s=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case En.FIXED:s=this.retryOptions.retryDelayInMs;break}else s=Math.random()*1e3;return yt.info(`RetryPolicy: Delay for ${s}ms`),Tg(s,n,fge)}};var Nd=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new wd(e,r,this.retryOptions)}};var gge="storageBrowserPolicy";function tJ(){return{name:gge,async sendRequest(t,e){return Be||((t.method==="GET"||t.method==="HEAD")&&(t.url=Qo(t.url,xi.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(Z.COOKIE),t.headers.delete(Z.CONTENT_LENGTH)),e(t)}}}o(tJ,"storageBrowserPolicy");var yge="StorageCorrectContentLengthPolicy";function rJ(){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:yge,async sendRequest(e,r){return t(e),r(e)}}}o(rJ,"storageCorrectContentLengthPolicy");var Ege="storageRetryPolicy",Nl={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:En.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Cge=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],Ige=new Yr("The operation was aborted.");function nJ(t={}){let e=t.retryPolicyType??Nl.retryPolicyType,r=t.maxTries??Nl.maxTries,n=t.retryDelayInMs??Nl.retryDelayInMs,s=t.maxRetryDelayInMs??Nl.maxRetryDelayInMs,i=t.secondaryHost??Nl.secondaryHost,a=t.tryTimeoutInMs??Nl.tryTimeoutInMs;function c({isPrimaryRetry:A,attempt:u,response:d,error:m}){if(u>=r)return yt.info(`RetryPolicy: Attempt(s) ${u} >= maxTries ${r}, no further try.`),!1;if(m){for(let p of Cge)if(m.name.toUpperCase().includes(p)||m.message.toUpperCase().includes(p)||m.code&&m.code.toString().toUpperCase()===p)return yt.info(`RetryPolicy: Network error ${p} found, will retry.`),!0;if(m?.code==="PARSE_ERROR"&&m?.message.startsWith('Error "Error: Unclosed root tag'))return yt.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 yt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(p===503||p===500)return yt.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 En.EXPONENTIAL:d=Math.min((Math.pow(2,u-1)-1)*n,s);break;case En.FIXED:d=n;break}else d=Math.random()*1e3;return yt.info(`RetryPolicy: Delay for ${d}ms`),d}return o(l,"calculateDelay"),{name:Ege,async sendRequest(A,u){a&&(A.url=Qo(A.url,xi.Parameters.TIMEOUT,String(Math.floor(a/1e3))));let d=A.url,m=i?vg(A.url,i):void 0,p=!1,h=1,g=!0,C,y;for(;g;){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{yt.info(`RetryPolicy: =====> Try=${h} ${E?"Primary":"Secondary"}`),C=await u(A),p=p||!E&&C.status===404}catch(I){if(Ca(I))yt.error(`RetryPolicy: Caught error, message: ${I.message}, code: ${I.code}`),y=I;else throw yt.error(`RetryPolicy: Caught error, message: ${yo(I)}`),I}g=c({isPrimaryRetry:E,attempt:h,response:C,error:y}),g&&await Tg(l(E,h),A.abortSignal,Ige),h++}if(C)return C;throw y??new Ii("RetryPolicy failed without known error.")}}}o(nJ,"storageRetryPolicy");var sJ=require("node:crypto");var Bge="storageSharedKeyCredentialPolicy";function oN(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,sJ.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)=>Mg(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=Dg(i.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=kg(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:Bge,async sendRequest(i,a){return e(i),a(i)}}}o(oN,"storageSharedKeyCredentialPolicy");var Qge="storageRequestFailureDetailsParserPolicy";function iJ(){return{name:Qge,async sendRequest(t,e){try{return await e(t)}catch(r){throw typeof r=="object"&&r!==null&&r.response&&r.response.parsedBody&&r.response.parsedBody.code==="InvalidHeaderValue"&&r.response.parsedBody.HeaderName==="x-ms-version"&&(r.message=`The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.
|
|
`),r}}}}o(iJ,"storageRequestFailureDetailsParserPolicy");var oJ=require("node:crypto");var Lg=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,oJ.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var Fg="12.31.0",_g="2026-02-06";var Ug="https://storage.azure.com/.default",bi={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var zn="",aN="*",xge=1*1024*1024;var bge=4*xge;var aJ="AES256",cJ="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",lJ=["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"],AJ=["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"],uJ="BlobUsesCustomerSpecifiedEncryption",dJ="BlobDoesNotUseCustomerSpecifiedEncryption",mJ=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function wi(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(wi,"isPipelineLike");var Sd=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 at(t,e={}){t||(t=new Oe);let r=new Sd([],e);return r._credential=t,r}o(at,"newPipeline");function wge(t){let e=[Nge,pJ,Sge,Rge,Pge,vge,kge];if(t.factories.length){let r=t.factories.filter(n=>!e.some(s=>s(n)));if(r.length){let n=r.some(s=>Dge(s));return{wrappedPolicies:Lw(r),afterRetry:n}}}}o(wge,"processDownlevelPipeline");function cN(t){let{httpClient:e,...r}=t.options,n=t._coreHttpClient;n||(n=e?Fw(e):iN(),t._coreHttpClient=n);let s=t._corePipeline;if(!s){let i=`azsdk-js-azure-storage-blob/${Fg}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`;s=Ad({...r,loggingOptions:{additionalAllowedHeaderNames:lJ,additionalAllowedQueryParameters:AJ,logger:wg.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:bg,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:nN,serializerOptions:{xml:{xmlCharKey:"#"}}}}),s.removePolicy({phase:"Retry"}),s.removePolicy({name:dw}),s.addPolicy(rJ()),s.addPolicy(nJ(r.retryOptions),{phase:"Retry"}),s.addPolicy(iJ()),s.addPolicy(tJ());let c=wge(t);c&&s.addPolicy(c.wrappedPolicies,c.afterRetry?{afterPhase:"Retry"}:void 0);let l=lN(t);Vr(l)?s.addPolicy(Il({credential:l,scopes:r.audience??Ug,challengeCallbacks:{authorizeRequestOnChallenge:pg}}),{phase:"Sign"}):l instanceof We&&s.addPolicy(oN({accountName:l.accountName,accountKey:l.accountKey}),{phase:"Sign"}),t._corePipeline=s}return{...r,allowInsecureConnection:!0,httpClient:n,pipeline:s}}o(cN,"getCoreClientOptions");function lN(t){if(t._credential)return t._credential;let e=new Oe;for(let r of t.factories)if(Vr(r.credential))e=r.credential;else if(pJ(r))return r;return e}o(lN,"getCredentialFromPipeline");function pJ(t){return t instanceof We?!0:t.constructor.name==="StorageSharedKeyCredential"}o(pJ,"isStorageSharedKeyCredential");function Nge(t){return t instanceof Oe?!0:t.constructor.name==="AnonymousCredential"}o(Nge,"isAnonymousCredential");function Sge(t){return Vr(t.credential)}o(Sge,"isCoreHttpBearerTokenFactory");function Rge(t){return t instanceof Qd?!0:t.constructor.name==="StorageBrowserPolicyFactory"}o(Rge,"isStorageBrowserPolicyFactory");function Pge(t){return t instanceof Nd?!0:t.constructor.name==="StorageRetryPolicyFactory"}o(Pge,"isStorageRetryPolicyFactory");function vge(t){return t.constructor.name==="TelemetryPolicyFactory"}o(vge,"isStorageTelemetryPolicyFactory");function Dge(t){return t.constructor.name==="InjectorPolicyFactory"}o(Dge,"isInjectorPolicyFactory");function kge(t){let e=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"],r={sendRequest:o(async a=>({request:a,headers:a.headers.clone(),status:500}),"sendRequest")},n={log(a,c){},shouldLog(a){return!1}},i=t.create(r,n).constructor.name;return e.some(a=>i.startsWith(a))}o(kge,"isCoreHttpPolicyFactory");var hJ;(function(t){t.AES256="AES256"})(hJ||(hJ={}));var fJ;(function(t){t.Backup="backup"})(fJ||(fJ={}));var gJ;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(gJ||(gJ={}));var yJ;(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"})(yJ||(yJ={}));var $r={};c5($r,{AccessPolicy:()=>Yge,AppendBlobAppendBlockExceptionHeaders:()=>RS,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>vS,AppendBlobAppendBlockFromUrlHeaders:()=>PS,AppendBlobAppendBlockHeaders:()=>SS,AppendBlobCreateExceptionHeaders:()=>NS,AppendBlobCreateHeaders:()=>wS,AppendBlobSealExceptionHeaders:()=>kS,AppendBlobSealHeaders:()=>DS,ArrowConfiguration:()=>iye,ArrowField:()=>oye,BlobAbortCopyFromURLExceptionHeaders:()=>Z0,BlobAbortCopyFromURLHeaders:()=>X0,BlobAcquireLeaseExceptionHeaders:()=>F0,BlobAcquireLeaseHeaders:()=>L0,BlobBreakLeaseExceptionHeaders:()=>Y0,BlobBreakLeaseHeaders:()=>G0,BlobChangeLeaseExceptionHeaders:()=>z0,BlobChangeLeaseHeaders:()=>H0,BlobCopyFromURLExceptionHeaders:()=>K0,BlobCopyFromURLHeaders:()=>j0,BlobCreateSnapshotExceptionHeaders:()=>J0,BlobCreateSnapshotHeaders:()=>V0,BlobDeleteExceptionHeaders:()=>I0,BlobDeleteHeaders:()=>C0,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>v0,BlobDeleteImmutabilityPolicyHeaders:()=>P0,BlobDownloadExceptionHeaders:()=>g0,BlobDownloadHeaders:()=>qg,BlobFlatListSegment:()=>Vge,BlobGetAccountInfoExceptionHeaders:()=>rS,BlobGetAccountInfoHeaders:()=>tS,BlobGetPropertiesExceptionHeaders:()=>E0,BlobGetPropertiesHeaders:()=>y0,BlobGetTagsExceptionHeaders:()=>iS,BlobGetTagsHeaders:()=>sS,BlobHierarchyListSegment:()=>jge,BlobItemInternal:()=>Jge,BlobName:()=>Wge,BlobPrefix:()=>Kge,BlobPropertiesInternal:()=>$ge,BlobQueryExceptionHeaders:()=>nS,BlobQueryHeaders:()=>zg,BlobReleaseLeaseExceptionHeaders:()=>U0,BlobReleaseLeaseHeaders:()=>_0,BlobRenewLeaseExceptionHeaders:()=>q0,BlobRenewLeaseHeaders:()=>O0,BlobServiceProperties:()=>Rd,BlobServiceStatistics:()=>AN,BlobSetExpiryExceptionHeaders:()=>b0,BlobSetExpiryHeaders:()=>x0,BlobSetHttpHeadersExceptionHeaders:()=>N0,BlobSetHttpHeadersHeaders:()=>w0,BlobSetImmutabilityPolicyExceptionHeaders:()=>R0,BlobSetImmutabilityPolicyHeaders:()=>S0,BlobSetLegalHoldExceptionHeaders:()=>k0,BlobSetLegalHoldHeaders:()=>D0,BlobSetMetadataExceptionHeaders:()=>M0,BlobSetMetadataHeaders:()=>T0,BlobSetTagsExceptionHeaders:()=>aS,BlobSetTagsHeaders:()=>oS,BlobSetTierExceptionHeaders:()=>eS,BlobSetTierHeaders:()=>Hg,BlobStartCopyFromURLExceptionHeaders:()=>$0,BlobStartCopyFromURLHeaders:()=>W0,BlobTag:()=>zge,BlobTags:()=>vd,BlobUndeleteExceptionHeaders:()=>Q0,BlobUndeleteHeaders:()=>B0,Block:()=>Xge,BlockBlobCommitBlockListExceptionHeaders:()=>zS,BlockBlobCommitBlockListHeaders:()=>HS,BlockBlobGetBlockListExceptionHeaders:()=>YS,BlockBlobGetBlockListHeaders:()=>GS,BlockBlobPutBlobFromUrlExceptionHeaders:()=>FS,BlockBlobPutBlobFromUrlHeaders:()=>LS,BlockBlobStageBlockExceptionHeaders:()=>US,BlockBlobStageBlockFromURLExceptionHeaders:()=>qS,BlockBlobStageBlockFromURLHeaders:()=>OS,BlockBlobStageBlockHeaders:()=>_S,BlockBlobUploadExceptionHeaders:()=>MS,BlockBlobUploadHeaders:()=>TS,BlockList:()=>gN,BlockLookupList:()=>fN,ClearRange:()=>eye,ContainerAcquireLeaseExceptionHeaders:()=>r0,ContainerAcquireLeaseHeaders:()=>t0,ContainerBreakLeaseExceptionHeaders:()=>c0,ContainerBreakLeaseHeaders:()=>a0,ContainerChangeLeaseExceptionHeaders:()=>A0,ContainerChangeLeaseHeaders:()=>l0,ContainerCreateExceptionHeaders:()=>LN,ContainerCreateHeaders:()=>MN,ContainerDeleteExceptionHeaders:()=>ON,ContainerDeleteHeaders:()=>UN,ContainerFilterBlobsExceptionHeaders:()=>e0,ContainerFilterBlobsHeaders:()=>ZN,ContainerGetAccessPolicyExceptionHeaders:()=>GN,ContainerGetAccessPolicyHeaders:()=>zN,ContainerGetAccountInfoExceptionHeaders:()=>f0,ContainerGetAccountInfoHeaders:()=>h0,ContainerGetPropertiesExceptionHeaders:()=>_N,ContainerGetPropertiesHeaders:()=>FN,ContainerItem:()=>Oge,ContainerListBlobFlatSegmentExceptionHeaders:()=>d0,ContainerListBlobFlatSegmentHeaders:()=>u0,ContainerListBlobHierarchySegmentExceptionHeaders:()=>p0,ContainerListBlobHierarchySegmentHeaders:()=>m0,ContainerProperties:()=>qge,ContainerReleaseLeaseExceptionHeaders:()=>s0,ContainerReleaseLeaseHeaders:()=>n0,ContainerRenameExceptionHeaders:()=>jN,ContainerRenameHeaders:()=>$N,ContainerRenewLeaseExceptionHeaders:()=>o0,ContainerRenewLeaseHeaders:()=>i0,ContainerRestoreExceptionHeaders:()=>WN,ContainerRestoreHeaders:()=>JN,ContainerSetAccessPolicyExceptionHeaders:()=>VN,ContainerSetAccessPolicyHeaders:()=>YN,ContainerSetMetadataExceptionHeaders:()=>HN,ContainerSetMetadataHeaders:()=>qN,ContainerSubmitBatchExceptionHeaders:()=>XN,ContainerSubmitBatchHeaders:()=>KN,CorsRule:()=>Fge,DelimitedTextConfiguration:()=>nye,FilterBlobItem:()=>Hge,FilterBlobSegment:()=>Pd,GeoReplication:()=>Uge,JsonTextConfiguration:()=>sye,KeyInfo:()=>dN,ListBlobsFlatSegmentResponse:()=>pN,ListBlobsHierarchySegmentResponse:()=>hN,ListContainersSegmentResponse:()=>uN,Logging:()=>Tge,Metrics:()=>Lge,PageBlobClearPagesExceptionHeaders:()=>mS,PageBlobClearPagesHeaders:()=>dS,PageBlobCopyIncrementalExceptionHeaders:()=>bS,PageBlobCopyIncrementalHeaders:()=>xS,PageBlobCreateExceptionHeaders:()=>lS,PageBlobCreateHeaders:()=>cS,PageBlobGetPageRangesDiffExceptionHeaders:()=>ES,PageBlobGetPageRangesDiffHeaders:()=>yS,PageBlobGetPageRangesExceptionHeaders:()=>gS,PageBlobGetPageRangesHeaders:()=>fS,PageBlobResizeExceptionHeaders:()=>IS,PageBlobResizeHeaders:()=>CS,PageBlobUpdateSequenceNumberExceptionHeaders:()=>QS,PageBlobUpdateSequenceNumberHeaders:()=>BS,PageBlobUploadPagesExceptionHeaders:()=>uS,PageBlobUploadPagesFromURLExceptionHeaders:()=>hS,PageBlobUploadPagesFromURLHeaders:()=>pS,PageBlobUploadPagesHeaders:()=>AS,PageList:()=>Og,PageRange:()=>Zge,QueryFormat:()=>rye,QueryRequest:()=>yN,QuerySerialization:()=>tye,RetentionPolicy:()=>Mge,ServiceFilterBlobsExceptionHeaders:()=>TN,ServiceFilterBlobsHeaders:()=>kN,ServiceGetAccountInfoExceptionHeaders:()=>PN,ServiceGetAccountInfoHeaders:()=>RN,ServiceGetPropertiesExceptionHeaders:()=>BN,ServiceGetPropertiesHeaders:()=>IN,ServiceGetStatisticsExceptionHeaders:()=>xN,ServiceGetStatisticsHeaders:()=>QN,ServiceGetUserDelegationKeyExceptionHeaders:()=>SN,ServiceGetUserDelegationKeyHeaders:()=>NN,ServiceListContainersSegmentExceptionHeaders:()=>wN,ServiceListContainersSegmentHeaders:()=>bN,ServiceSetPropertiesExceptionHeaders:()=>CN,ServiceSetPropertiesHeaders:()=>EN,ServiceSubmitBatchExceptionHeaders:()=>DN,ServiceSubmitBatchHeaders:()=>vN,SignedIdentifier:()=>Gge,StaticWebsite:()=>_ge,StorageError:()=>S,UserDelegationKey:()=>mN});var Rd={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"}}}}},Tge={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"}}}}},Mge={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"}}}}},Lge={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"}}}}},Fge={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"}}}}},_ge={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"}}}}},S={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"}}}}},AN={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},Uge={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"}}}}},uN={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"}}}}},Oge={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"}}}}}}},qge={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"}}}}},dN={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"}}}}},mN={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"}}}}},Pd={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"}}}}},Hge={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"}}}}},vd={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"}}}}}}},zge={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"}}}}},Gge={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"}}}}},Yge={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"}}}}},pN={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"}}}}},Vge={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"}}}}}}},Jge={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"}}}}},Wge={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"}}}}},$ge={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"}}}}},hN={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"}}}}},jge={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"}}}}}}},Kge={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},fN={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"}}}}}}},gN={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"}}}}}}},Xge={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"}}}}},Og={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"}}}}},Zge={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"}}}}},eye={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"}}}}},yN={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"}}}}},tye={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},rye={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"}}}}}}},nye={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"}}}}},sye={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},iye={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"}}}}}}},oye={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"}}}}},EN={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"}}}}},CN={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IN={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"}}}}},BN={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QN={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"}}}}},xN={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bN={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"}}}}},wN={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NN={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"}}}}},SN={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RN={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"}}}}},PN={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vN={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"}}}}},DN={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kN={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"}}}}},TN={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MN={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"}}}}},LN={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},FN={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"}}}}},_N={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},UN={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"}}}}},ON={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qN={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"}}}}},HN={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zN={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"}}}}},GN={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},YN={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"}}}}},VN={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JN={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"}}}}},WN={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$N={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"}}}}},jN={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},KN={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"}}}}},XN={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ZN={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"}}}}},e0={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},t0={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"}}}}},r0={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},n0={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"}}}}},s0={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},i0={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"}}}}},o0={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a0={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"}}}}},c0={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},l0={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"}}}}},A0={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},u0={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"}}}}},d0={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},m0={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"}}}}},p0={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},h0={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"}}}}},f0={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qg={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"}}}}},g0={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y0={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"}}}}},E0={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},C0={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"}}}}},I0={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},B0={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"}}}}},Q0={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},x0={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"}}}}},b0={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},w0={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"}}}}},N0={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},S0={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"]}}}}},R0={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},P0={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"}}}}},v0={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},D0={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"}}}}},k0={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},T0={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"}}}}},M0={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},L0={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"}}}}},F0={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_0={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"}}}}},U0={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},O0={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"}}}}},q0={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},H0={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"}}}}},z0={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},G0={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"}}}}},Y0={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},V0={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"}}}}},J0={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},W0={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"}}}}},$0={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"}}}}},j0={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"}}}}},K0={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"}}}}},X0={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"}}}}},Z0={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Hg={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"}}}}},eS={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},tS={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"}}}}},rS={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zg={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"}}}}},nS={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sS={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"}}}}},iS={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oS={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"}}}}},aS={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cS={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"}}}}},lS={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AS={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"}}}}},uS={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dS={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"}}}}},mS={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},pS={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"}}}}},hS={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"}}}}},fS={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"}}}}},gS={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yS={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"}}}}},ES={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},CS={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"}}}}},IS={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BS={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QS={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xS={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"}}}}},bS={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wS={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"}}}}},NS={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SS={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"}}}}},RS={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},PS={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vS={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},DS={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}},kS={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},TS={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"}}}}},MS={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},LS={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"}}}}},FS={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"}}}}},_S={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"}}}}},US={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},OS={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"}}}}},qS={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"}}}}},HS={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"}}}}},zS={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},GS={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"}}}}},YS={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};var Ns={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},EJ={parameterPath:"blobServiceProperties",mapper:Rd},Cn={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},R={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},Dd={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},In={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"}}},v={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},D={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},O={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},CJ={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},kd={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Td={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},Ss={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},Rs={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},IJ={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},BJ={parameterPath:"keyInfo",mapper:dN},QJ={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Sl={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Gg={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},Yg={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Nt={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},Vg={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},Jg={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Wg={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},St={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"}}}}},VS={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},xJ={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},bJ={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}},ae={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},se={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},ie={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},$g={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},JS={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},wJ={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},jg={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},NJ={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},SJ={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},RJ={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},PJ={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},vJ={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}},Bn={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Kg={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Xg={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},Zg={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},ey={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},bo={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},ty={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},ry={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},ny={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},sy={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},iy={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},WS={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"},$S={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},DJ={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},sr={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},Ps={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},Na={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},kJ={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},TJ={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},$e={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},je={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},Ke={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"}}},MJ={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},LJ={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},FJ={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},_J={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},UJ={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}},vs={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},Ds={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},ks={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},Ts={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},Ms={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},Ls={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},jS={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Gn={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},Yn={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},OJ={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},qJ={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},pt={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},HJ={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ni={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"]}}},KS={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},Fs={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},_s={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},Us={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},Os={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},oy={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},Sa={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},Vn={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},zJ={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},qs={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},GJ={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},Si={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},Ri={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},ay={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},Pi={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},YJ={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},VJ={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},JJ={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},WJ={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},$J={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"]}}},jJ={parameterPath:["options","queryRequest"],mapper:yN},KJ={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},XS={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},ZS={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},eR={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},tR={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},rR={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},XJ={parameterPath:["options","tags"],mapper:vd},Qn={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},Hs={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},ZJ={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},nR={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},sR={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},Ra={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Pa={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},va={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},cy={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},iR={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},ly={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},Ay={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},uy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},e3={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Rl={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},t3={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},Pl={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},r3={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},oR={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},n3={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},s3={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},i3={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},o3={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},a3={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},aR={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},cR={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},dy={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},my={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},c3={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lR={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},l3={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},AR={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},uR={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},A3={parameterPath:"blocks",mapper:fN},dR={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},u3={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var py=class{static{o(this,"ServiceImpl")}client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},aye)}getProperties(e){return this.client.sendOperationRequest({options:e},cye)}getStatistics(e){return this.client.sendOperationRequest({options:e},lye)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},Aye)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},uye)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},dye)}submitBatch(e,r,n,s){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:s},mye)}filterBlobs(e){return this.client.sendOperationRequest({options:e},pye)}},wo=Jr($r,!0),aye={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:EN},default:{bodyMapper:S,headersMapper:CN}},requestBody:EJ,queryParameters:[Dd,In,P],urlParameters:[R],headerParameters:[Ns,Cn,v,D],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wo},cye={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Rd,headersMapper:IN},default:{bodyMapper:S,headersMapper:BN}},queryParameters:[Dd,In,P],urlParameters:[R],headerParameters:[v,D,O],isXML:!0,serializer:wo},lye={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:AN,headersMapper:QN},default:{bodyMapper:S,headersMapper:xN}},queryParameters:[Dd,P,CJ],urlParameters:[R],headerParameters:[v,D,O],isXML:!0,serializer:wo},Aye={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:uN,headersMapper:bN},default:{bodyMapper:S,headersMapper:wN}},queryParameters:[P,kd,Td,Ss,Rs,IJ],urlParameters:[R],headerParameters:[v,D,O],isXML:!0,serializer:wo},uye={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:mN,headersMapper:NN},default:{bodyMapper:S,headersMapper:SN}},requestBody:BJ,queryParameters:[Dd,P,QJ],urlParameters:[R],headerParameters:[Ns,Cn,v,D],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wo},dye={path:"/",httpMethod:"GET",responses:{200:{headersMapper:RN},default:{bodyMapper:S,headersMapper:PN}},queryParameters:[In,P,Sl],urlParameters:[R],headerParameters:[v,D,O],isXML:!0,serializer:wo},mye={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:vN},default:{bodyMapper:S,headersMapper:DN}},requestBody:Gg,queryParameters:[P,Yg],urlParameters:[R],headerParameters:[Cn,v,D,Nt,Vg],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wo},pye={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Pd,headersMapper:kN},default:{bodyMapper:S,headersMapper:TN}},queryParameters:[P,Ss,Rs,Jg,Wg],urlParameters:[R],headerParameters:[v,D,O],isXML:!0,serializer:wo};var hy=class{static{o(this,"ContainerImpl")}client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},hye)}getProperties(e){return this.client.sendOperationRequest({options:e},fye)}delete(e){return this.client.sendOperationRequest({options:e},gye)}setMetadata(e){return this.client.sendOperationRequest({options:e},yye)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},Eye)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},Cye)}restore(e){return this.client.sendOperationRequest({options:e},Iye)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},Bye)}submitBatch(e,r,n,s){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:s},Qye)}filterBlobs(e){return this.client.sendOperationRequest({options:e},xye)}acquireLease(e){return this.client.sendOperationRequest({options:e},bye)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},wye)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Nye)}breakLease(e){return this.client.sendOperationRequest({options:e},Sye)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},Rye)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},Pye)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},vye)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Dye)}},Rt=Jr($r,!0),hye={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:MN},default:{bodyMapper:S,headersMapper:LN}},queryParameters:[P,St],urlParameters:[R],headerParameters:[v,D,O,Gt,VS,xJ,bJ],isXML:!0,serializer:Rt},fye={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:FN},default:{bodyMapper:S,headersMapper:_N}},queryParameters:[P,St],urlParameters:[R],headerParameters:[v,D,O,ae],isXML:!0,serializer:Rt},gye={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:UN},default:{bodyMapper:S,headersMapper:ON}},queryParameters:[P,St],urlParameters:[R],headerParameters:[v,D,O,ae,se,ie],isXML:!0,serializer:Rt},yye={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:qN},default:{bodyMapper:S,headersMapper:HN}},queryParameters:[P,St,$g],urlParameters:[R],headerParameters:[v,D,O,Gt,ae,se],isXML:!0,serializer:Rt},Eye={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:zN},default:{bodyMapper:S,headersMapper:GN}},queryParameters:[P,St,JS],urlParameters:[R],headerParameters:[v,D,O,ae],isXML:!0,serializer:Rt},Cye={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:YN},default:{bodyMapper:S,headersMapper:VN}},requestBody:wJ,queryParameters:[P,St,JS],urlParameters:[R],headerParameters:[Ns,Cn,v,D,VS,ae,se,ie],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Rt},Iye={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:JN},default:{bodyMapper:S,headersMapper:WN}},queryParameters:[P,St,jg],urlParameters:[R],headerParameters:[v,D,O,NJ,SJ],isXML:!0,serializer:Rt},Bye={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:$N},default:{bodyMapper:S,headersMapper:jN}},queryParameters:[P,St,RJ],urlParameters:[R],headerParameters:[v,D,O,PJ,vJ],isXML:!0,serializer:Rt},Qye={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:KN},default:{bodyMapper:S,headersMapper:XN}},requestBody:Gg,queryParameters:[P,Yg,St],urlParameters:[R],headerParameters:[Cn,v,D,Nt,Vg],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Rt},xye={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Pd,headersMapper:ZN},default:{bodyMapper:S,headersMapper:e0}},queryParameters:[P,Ss,Rs,Jg,Wg,St],urlParameters:[R],headerParameters:[v,D,O],isXML:!0,serializer:Rt},bye={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:t0},default:{bodyMapper:S,headersMapper:r0}},queryParameters:[P,St,Bn],urlParameters:[R],headerParameters:[v,D,O,se,ie,Kg,Xg,Zg],isXML:!0,serializer:Rt},wye={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:n0},default:{bodyMapper:S,headersMapper:s0}},queryParameters:[P,St,Bn],urlParameters:[R],headerParameters:[v,D,O,se,ie,ey,bo],isXML:!0,serializer:Rt},Nye={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:i0},default:{bodyMapper:S,headersMapper:o0}},queryParameters:[P,St,Bn],urlParameters:[R],headerParameters:[v,D,O,se,ie,bo,ty],isXML:!0,serializer:Rt},Sye={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:a0},default:{bodyMapper:S,headersMapper:c0}},queryParameters:[P,St,Bn],urlParameters:[R],headerParameters:[v,D,O,se,ie,ry,ny],isXML:!0,serializer:Rt},Rye={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:l0},default:{bodyMapper:S,headersMapper:A0}},queryParameters:[P,St,Bn],urlParameters:[R],headerParameters:[v,D,O,se,ie,bo,sy,iy],isXML:!0,serializer:Rt},Pye={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:pN,headersMapper:u0},default:{bodyMapper:S,headersMapper:d0}},queryParameters:[P,kd,Td,Ss,Rs,St,WS,$S],urlParameters:[R],headerParameters:[v,D,O],isXML:!0,serializer:Rt},vye={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:hN,headersMapper:m0},default:{bodyMapper:S,headersMapper:p0}},queryParameters:[P,kd,Td,Ss,Rs,St,WS,$S,DJ],urlParameters:[R],headerParameters:[v,D,O],isXML:!0,serializer:Rt},Dye={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:h0},default:{bodyMapper:S,headersMapper:f0}},queryParameters:[In,P,Sl],urlParameters:[R],headerParameters:[v,D,O],isXML:!0,serializer:Rt};var fy=class{static{o(this,"BlobImpl")}client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},kye)}getProperties(e){return this.client.sendOperationRequest({options:e},Tye)}delete(e){return this.client.sendOperationRequest({options:e},Mye)}undelete(e){return this.client.sendOperationRequest({options:e},Lye)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},Fye)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},_ye)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Uye)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Oye)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},qye)}setMetadata(e){return this.client.sendOperationRequest({options:e},Hye)}acquireLease(e){return this.client.sendOperationRequest({options:e},zye)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Gye)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},Yye)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},Vye)}breakLease(e){return this.client.sendOperationRequest({options:e},Jye)}createSnapshot(e){return this.client.sendOperationRequest({options:e},Wye)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},$ye)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},jye)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},Kye)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},Xye)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Zye)}query(e){return this.client.sendOperationRequest({options:e},eEe)}getTags(e){return this.client.sendOperationRequest({options:e},tEe)}setTags(e){return this.client.sendOperationRequest({options:e},rEe)}},qe=Jr($r,!0),kye={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:qg},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:qg},default:{bodyMapper:S,headersMapper:g0}},queryParameters:[P,sr,Ps],urlParameters:[R],headerParameters:[v,D,O,ae,se,ie,Na,kJ,TJ,$e,je,Ke,fe,ge,Ae],isXML:!0,serializer:qe},Tye={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:y0},default:{bodyMapper:S,headersMapper:E0}},queryParameters:[P,sr,Ps],urlParameters:[R],headerParameters:[v,D,O,ae,se,ie,$e,je,Ke,fe,ge,Ae],isXML:!0,serializer:qe},Mye={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:C0},default:{bodyMapper:S,headersMapper:I0}},queryParameters:[P,sr,Ps,LJ],urlParameters:[R],headerParameters:[v,D,O,ae,se,ie,fe,ge,Ae,MJ],isXML:!0,serializer:qe},Lye={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:B0},default:{bodyMapper:S,headersMapper:Q0}},queryParameters:[P,jg],urlParameters:[R],headerParameters:[v,D,O],isXML:!0,serializer:qe},Fye={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:x0},default:{bodyMapper:S,headersMapper:b0}},queryParameters:[P,FJ],urlParameters:[R],headerParameters:[v,D,O,_J,UJ],isXML:!0,serializer:qe},_ye={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:w0},default:{bodyMapper:S,headersMapper:N0}},queryParameters:[In,P],urlParameters:[R],headerParameters:[v,D,O,ae,se,ie,fe,ge,Ae,vs,Ds,ks,Ts,Ms,Ls],isXML:!0,serializer:qe},Uye={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:S0},default:{bodyMapper:S,headersMapper:R0}},queryParameters:[P,sr,Ps,jS],urlParameters:[R],headerParameters:[v,D,O,ie,Gn,Yn],isXML:!0,serializer:qe},Oye={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:P0},default:{bodyMapper:S,headersMapper:v0}},queryParameters:[P,sr,Ps,jS],urlParameters:[R],headerParameters:[v,D,O],isXML:!0,serializer:qe},qye={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:D0},default:{bodyMapper:S,headersMapper:k0}},queryParameters:[P,sr,Ps,OJ],urlParameters:[R],headerParameters:[v,D,O,qJ],isXML:!0,serializer:qe},Hye={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:T0},default:{bodyMapper:S,headersMapper:M0}},queryParameters:[P,$g],urlParameters:[R],headerParameters:[v,D,O,Gt,ae,se,ie,$e,je,Ke,fe,ge,Ae,pt],isXML:!0,serializer:qe},zye={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:L0},default:{bodyMapper:S,headersMapper:F0}},queryParameters:[P,Bn],urlParameters:[R],headerParameters:[v,D,O,se,ie,Kg,Xg,Zg,fe,ge,Ae],isXML:!0,serializer:qe},Gye={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:_0},default:{bodyMapper:S,headersMapper:U0}},queryParameters:[P,Bn],urlParameters:[R],headerParameters:[v,D,O,se,ie,ey,bo,fe,ge,Ae],isXML:!0,serializer:qe},Yye={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:O0},default:{bodyMapper:S,headersMapper:q0}},queryParameters:[P,Bn],urlParameters:[R],headerParameters:[v,D,O,se,ie,bo,ty,fe,ge,Ae],isXML:!0,serializer:qe},Vye={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:H0},default:{bodyMapper:S,headersMapper:z0}},queryParameters:[P,Bn],urlParameters:[R],headerParameters:[v,D,O,se,ie,bo,sy,iy,fe,ge,Ae],isXML:!0,serializer:qe},Jye={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:G0},default:{bodyMapper:S,headersMapper:Y0}},queryParameters:[P,Bn],urlParameters:[R],headerParameters:[v,D,O,se,ie,ry,ny,fe,ge,Ae],isXML:!0,serializer:qe},Wye={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:V0},default:{bodyMapper:S,headersMapper:J0}},queryParameters:[P,HJ],urlParameters:[R],headerParameters:[v,D,O,Gt,ae,se,ie,$e,je,Ke,fe,ge,Ae,pt],isXML:!0,serializer:qe},$ye={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:W0},default:{bodyMapper:S,headersMapper:$0}},queryParameters:[P],urlParameters:[R],headerParameters:[v,D,O,Gt,ae,se,ie,fe,ge,Ae,Gn,Yn,Ni,KS,Fs,_s,Us,Os,oy,Sa,Vn,zJ,qs],isXML:!0,serializer:qe},jye={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:j0},default:{bodyMapper:S,headersMapper:K0}},queryParameters:[P],urlParameters:[R],headerParameters:[v,D,O,Gt,ae,se,ie,fe,ge,Ae,Gn,Yn,pt,Ni,Fs,_s,Us,Os,Sa,Vn,qs,GJ,Si,Ri,ay,Pi],isXML:!0,serializer:qe},Kye={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:X0},default:{bodyMapper:S,headersMapper:Z0}},queryParameters:[P,YJ,JJ],urlParameters:[R],headerParameters:[v,D,O,ae,VJ],isXML:!0,serializer:qe},Xye={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Hg},202:{headersMapper:Hg},default:{bodyMapper:S,headersMapper:eS}},queryParameters:[P,sr,Ps,WJ],urlParameters:[R],headerParameters:[v,D,O,ae,Ae,KS,$J],isXML:!0,serializer:qe},Zye={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:tS},default:{bodyMapper:S,headersMapper:rS}},queryParameters:[In,P,Sl],urlParameters:[R],headerParameters:[v,D,O],isXML:!0,serializer:qe},eEe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:zg},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:zg},default:{bodyMapper:S,headersMapper:nS}},requestBody:jJ,queryParameters:[P,sr,KJ],urlParameters:[R],headerParameters:[Ns,Cn,v,D,ae,se,ie,$e,je,Ke,fe,ge,Ae],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:qe},tEe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:vd,headersMapper:sS},default:{bodyMapper:S,headersMapper:iS}},queryParameters:[P,sr,Ps,XS],urlParameters:[R],headerParameters:[v,D,O,ae,Ae,ZS,eR,tR,rR],isXML:!0,serializer:qe},rEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:oS},default:{bodyMapper:S,headersMapper:aS}},requestBody:XJ,queryParameters:[P,Ps,XS],urlParameters:[R],headerParameters:[Ns,Cn,v,D,ae,Ae,ZS,eR,tR,rR,Qn,Hs],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:qe};var gy=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},nEe)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},sEe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},iEe)}uploadPagesFromURL(e,r,n,s,i){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:n,range:s,options:i},oEe)}getPageRanges(e){return this.client.sendOperationRequest({options:e},aEe)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},cEe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},lEe)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},AEe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},uEe)}},vi=Jr($r,!0),nEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:cS},default:{bodyMapper:S,headersMapper:lS}},queryParameters:[P],urlParameters:[R],headerParameters:[v,D,O,Nt,Gt,ae,se,ie,$e,je,Ke,fe,ge,Ae,vs,Ds,ks,Ts,Ms,Ls,Gn,Yn,pt,Ni,Vn,qs,ZJ,nR,sR],isXML:!0,serializer:vi},sEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:AS},default:{bodyMapper:S,headersMapper:uS}},requestBody:Pa,queryParameters:[P,cy],urlParameters:[R],headerParameters:[v,D,Nt,ae,se,ie,Na,$e,je,Ke,fe,ge,Ae,pt,Qn,Hs,Ra,va,iR,ly,Ay,uy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:vi},iEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:dS},default:{bodyMapper:S,headersMapper:mS}},queryParameters:[P,cy],urlParameters:[R],headerParameters:[v,D,O,Nt,ae,se,ie,Na,$e,je,Ke,fe,ge,Ae,pt,ly,Ay,uy,e3],isXML:!0,serializer:vi},oEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:pS},default:{bodyMapper:S,headersMapper:hS}},queryParameters:[P,cy],urlParameters:[R],headerParameters:[v,D,O,Nt,ae,se,ie,$e,je,Ke,fe,ge,Ae,pt,Fs,_s,Us,Os,Si,Ri,Pi,iR,ly,Ay,uy,Rl,t3,Pl,r3],isXML:!0,serializer:vi},aEe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Og,headersMapper:fS},default:{bodyMapper:S,headersMapper:gS}},queryParameters:[P,Ss,Rs,sr,oR],urlParameters:[R],headerParameters:[v,D,O,ae,se,ie,Na,fe,ge,Ae],isXML:!0,serializer:vi},cEe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Og,headersMapper:yS},default:{bodyMapper:S,headersMapper:ES}},queryParameters:[P,Ss,Rs,sr,oR,n3],urlParameters:[R],headerParameters:[v,D,O,ae,se,ie,Na,fe,ge,Ae,s3],isXML:!0,serializer:vi},lEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:CS},default:{bodyMapper:S,headersMapper:IS}},queryParameters:[In,P],urlParameters:[R],headerParameters:[v,D,O,ae,se,ie,$e,je,Ke,fe,ge,Ae,pt,nR],isXML:!0,serializer:vi},AEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:BS},default:{bodyMapper:S,headersMapper:QS}},queryParameters:[In,P],urlParameters:[R],headerParameters:[v,D,O,ae,se,ie,fe,ge,Ae,sR,i3],isXML:!0,serializer:vi},uEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:xS},default:{bodyMapper:S,headersMapper:bS}},queryParameters:[P,o3],urlParameters:[R],headerParameters:[v,D,O,se,ie,fe,ge,Ae,Sa],isXML:!0,serializer:vi};var yy=class{static{o(this,"AppendBlobImpl")}client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},dEe)}appendBlock(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},mEe)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},pEe)}seal(e){return this.client.sendOperationRequest({options:e},hEe)}},Ey=Jr($r,!0),dEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wS},default:{bodyMapper:S,headersMapper:NS}},queryParameters:[P],urlParameters:[R],headerParameters:[v,D,O,Nt,Gt,ae,se,ie,$e,je,Ke,fe,ge,Ae,vs,Ds,ks,Ts,Ms,Ls,Gn,Yn,pt,Vn,qs,a3],isXML:!0,serializer:Ey},mEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:SS},default:{bodyMapper:S,headersMapper:RS}},requestBody:Pa,queryParameters:[P,aR],urlParameters:[R],headerParameters:[v,D,Nt,ae,se,ie,$e,je,Ke,fe,ge,Ae,pt,Qn,Hs,Ra,va,cR,dy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Ey},pEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:PS},default:{bodyMapper:S,headersMapper:vS}},queryParameters:[P,aR],urlParameters:[R],headerParameters:[v,D,O,Nt,ae,se,ie,$e,je,Ke,fe,ge,Ae,pt,Fs,_s,Us,Os,Si,Ri,Pi,Qn,Rl,Pl,cR,dy,my],isXML:!0,serializer:Ey},hEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:DS},default:{bodyMapper:S,headersMapper:kS}},queryParameters:[P,c3],urlParameters:[R],headerParameters:[v,D,O,ae,se,ie,fe,ge,dy],isXML:!0,serializer:Ey};var Cy=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},fEe)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},gEe)}stageBlock(e,r,n,s){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:s},yEe)}stageBlockFromURL(e,r,n,s){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:s},EEe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},CEe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},IEe)}},Dl=Jr($r,!0),fEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:TS},default:{bodyMapper:S,headersMapper:MS}},requestBody:Pa,queryParameters:[P],urlParameters:[R],headerParameters:[v,D,Nt,Gt,ae,se,ie,$e,je,Ke,fe,ge,Ae,vs,Ds,ks,Ts,Ms,Ls,Gn,Yn,pt,Ni,Vn,qs,Qn,Hs,Ra,va,lR],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Dl},gEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:LS},default:{bodyMapper:S,headersMapper:FS}},queryParameters:[P],urlParameters:[R],headerParameters:[v,D,O,Nt,Gt,ae,se,ie,$e,je,Ke,fe,ge,Ae,vs,Ds,ks,Ts,Ms,Ls,pt,Ni,Fs,_s,Us,Os,oy,Sa,Vn,Si,Ri,ay,Pi,Qn,lR,l3],isXML:!0,serializer:Dl},yEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:_S},default:{bodyMapper:S,headersMapper:US}},requestBody:Pa,queryParameters:[P,AR,uR],urlParameters:[R],headerParameters:[v,D,Nt,ae,$e,je,Ke,pt,Qn,Hs,Ra,va],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Dl},EEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:OS},default:{bodyMapper:S,headersMapper:qS}},queryParameters:[P,AR,uR],urlParameters:[R],headerParameters:[v,D,O,Nt,ae,$e,je,Ke,pt,Fs,_s,Us,Os,Si,Ri,Pi,Rl,Pl,my],isXML:!0,serializer:Dl},CEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:HS},default:{bodyMapper:S,headersMapper:zS}},requestBody:A3,queryParameters:[P,dR],urlParameters:[R],headerParameters:[Ns,Cn,v,D,Gt,ae,se,ie,$e,je,Ke,fe,ge,Ae,vs,Ds,ks,Ts,Ms,Ls,Gn,Yn,pt,Ni,Vn,qs,Qn,Hs],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Dl},IEe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:gN,headersMapper:GS},default:{bodyMapper:S,headersMapper:YS}},queryParameters:[P,sr,dR,u3],urlParameters:[R],headerParameters:[v,D,O,ae,Ae],isXML:!0,serializer:Dl};var Md=class extends hd{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 py(this),this.container=new hy(this),this.blob=new fy(this),this.pageBlob=new gy(this),this.appendBlob=new yy(this),this.blockBlob=new Cy(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var Ld=class extends Md{static{o(this,"StorageContextClient")}async sendOperationRequest(e,r){let n={...r};return(n.path==="/{containerName}"||n.path==="/{containerName}/{blob}")&&(n.path=""),super.sendOperationRequest(e,n)}};function m3(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=QEe(r),e.pathname=r,e.toString()}o(m3,"escapeURLPath");function BEe(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(BEe,"getProxyUriFromDevConnString");function Da(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}o(Da,"getValueInConnString");function ka(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=BEe(t),t=cJ);let r=Da(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=Da(t,"AccountName"),i=Buffer.from(Da(t,"AccountKey"),"base64"),!r){n=Da(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=Da(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=Da(t,"SharedAccessSignature"),s=Da(t,"AccountName");if(s||(s=fR(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(ka,"extractConnectionStringParts");function QEe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}o(QEe,"escape");function Et(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(Et,"appendToURLPath");function kl(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(kl,"setURLParameter");function mR(t,e){return new URL(t).searchParams.get(e)??void 0}o(mR,"getURLParameter");function p3(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}o(p3,"getURLScheme");function Fd(t,e){let r=new URL(t),n=r.search;return n?n+="&"+e:n=e,r.search=n,r.toString()}o(Fd,"appendToURLQuery");function Qe(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}o(Qe,"truncatedISO8061Date");function xEe(t){return Be?Buffer.from(t).toString("base64"):btoa(t)}o(xEe,"base64encode");function pR(t,e){t.length>42&&(t=t.slice(0,42));let i=t+bEe(e.toString(),48-t.length,"0");return xEe(i)}o(pR,"generateBlockID");function bEe(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(bEe,"padStart");function hR(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}o(hR,"iEqual");function fR(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:Iy(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}o(fR,"getAccountNameFromUrl");function Iy(t){let e=t.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(e)||!!t.port&&mJ.includes(t.port)}o(Iy,"isIpEndpointStyle");function No(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(No,"toBlobTagsString");function h3(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(h3,"toBlobTags");function By(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}o(By,"toTags");function gR(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(gR,"toQuerySerialization");function Qy(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(Qy,"parseObjectReplicationRecord");function Tl(t){return t?t.scheme+" "+t.value:void 0}o(Tl,"httpAuthorizationToString");function*yR(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(yR,"ExtractPageRangeInfoItems");function V(t){if("_response"in t)return t;throw new TypeError(`Unexpected response object ${t}`)}o(V,"assertResponse");var Ml=class{static{o(this,"StorageClient")}url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,r){this.url=m3(e),this.accountName=fR(e),this.pipeline=r,this.storageClientContext=new Ld(this.url,cN(r)),this.isHttps=hR(p3(this.url)||"","https"),this.credential=lN(r);let n=this.storageClientContext;n.requestContentType=void 0}};var H=ad({packageName:"@azure/storage-blob",packageVersion:Fg,namespace:"Microsoft.Storage"});var zs=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 Gs=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 Jn(t){return t.end?`${t.start}-${t.end}`:t.start}o(Jn,"ipRangeToString");var f3;(function(t){t.Https="https",t.HttpsAndHttp="https,http"})(f3||(f3={}));var Wn=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,g,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=g,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?Qe(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(r,n,this.expiresOn?Qe(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(r,n,this.ipRange?Jn(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?Qe(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(r,n,this.signedExpiresOn?Qe(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 _d(t,e,r){return Ud(t,e,r).sasQueryParameters}o(_d,"generateBlobSASQueryParameters");function Ud(t,e,r){let n=t.version?t.version:_g,s=e instanceof We?e:void 0,i;if(s===void 0&&r!==void 0&&(i=new Lg(r,e)),s===void 0&&i===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")return s!==void 0?SEe(t,s):n>="2025-07-05"?DEe(t,i):vEe(t,i);if(n>="2018-11-09")return s!==void 0?NEe(t,s):n>="2020-02-10"?PEe(t,i):REe(t,i);if(n>="2015-04-05"){if(s!==void 0)return wEe(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(Ud,"generateBlobSASQueryParametersInternal");function wEe(t,e){if(t=Ma(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=zs.parse(t.permissions.toString()).toString():n=Gs.parse(t.permissions.toString()).toString());let s=[n||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Ta(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Jn(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 Wn(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(wEe,"generateBlobSASQueryParameters20150405");function NEe(t,e){if(t=Ma(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=zs.parse(t.permissions.toString()).toString():s=Gs.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Ta(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Jn(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 Wn(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(NEe,"generateBlobSASQueryParameters20181109");function SEe(t,e){if(t=Ma(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=zs.parse(t.permissions.toString()).toString():s=Gs.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Ta(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Jn(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 Wn(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(SEe,"generateBlobSASQueryParameters20201206");function REe(t,e){if(t=Ma(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=zs.parse(t.permissions.toString()).toString():s=Gs.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Ta(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Qe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Qe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?Jn(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 Wn(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(REe,"generateBlobSASQueryParametersUDK20181109");function PEe(t,e){if(t=Ma(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=zs.parse(t.permissions.toString()).toString():s=Gs.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Ta(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Qe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Qe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Jn(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 Wn(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(PEe,"generateBlobSASQueryParametersUDK20200210");function vEe(t,e){if(t=Ma(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=zs.parse(t.permissions.toString()).toString():s=Gs.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Ta(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Qe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Qe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Jn(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 Wn(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(vEe,"generateBlobSASQueryParametersUDK20201206");function DEe(t,e){if(t=Ma(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=zs.parse(t.permissions.toString()).toString():s=Gs.parse(t.permissions.toString()).toString());let i=[s||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Ta(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Qe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Qe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?Jn(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 Wn(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(DEe,"generateBlobSASQueryParametersUDK20250705");function Ta(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}o(Ta,"getCanonicalName");function Ma(t){let e=t.version?t.version:_g;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(Ma,"SASSignatureValuesSanityCheckAndAutofill");var Od=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=El()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==zn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==zn||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 H.withSpan("BlobLeaseClient-acquireLease",r,async n=>V(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!==zn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==zn||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 H.withSpan("BlobLeaseClient-changeLease",r,async n=>{let s=V(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!==zn||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==zn||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 H.withSpan("BlobLeaseClient-releaseLease",e,async r=>V(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!==zn||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==zn||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 H.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!==zn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==zn||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 H.withSpan("BlobLeaseClient-breakLease",r,async n=>{let s={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions};return V(await this._containerOrBlobOperation.breakLease(s))})}};var g3=require("node:stream");var xy=class extends g3.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 Yr("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 by=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 Be?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,n,s,i={}){this.originalResponse=e,this.blobDownloadStream=new xy(this.originalResponse.readableStreamBody,r,n,s,i)}};var Q3=require("node:stream");var ER=new Uint8Array([79,98,106,1]),y3="avro.codec",E3="avro.schema";var Ge=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}},La;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(La||(La={}));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 Di=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 CR(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new BR(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case La.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 xR(n,e.name);case La.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 IR(e.symbols);case La.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new QR(t.fromSchema(e.values));case La.ARRAY:case La.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},CR=class extends Di{static{o(this,"AvroPrimitiveType")}_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case Pt.NULL:return Ge.readNull();case Pt.BOOLEAN:return Ge.readBoolean(e,r);case Pt.INT:return Ge.readInt(e,r);case Pt.LONG:return Ge.readLong(e,r);case Pt.FLOAT:return Ge.readFloat(e,r);case Pt.DOUBLE:return Ge.readDouble(e,r);case Pt.BYTES:return Ge.readBytes(e,r);case Pt.STRING:return Ge.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},IR=class extends Di{static{o(this,"AvroEnumType")}_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let n=await Ge.readInt(e,r);return this._symbols[n]}},BR=class extends Di{static{o(this,"AvroUnionType")}_types;constructor(e){super(),this._types=e}async read(e,r={}){let n=await Ge.readInt(e,r);return this._types[n].read(e,r)}},QR=class extends Di{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 Ge.readMap(e,n,r)}},xR=class extends Di{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 bR(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(bR,"arraysEqual");var qd=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 Ge.readFixedBytes(this._headerStream,ER.length,{abortSignal:e.abortSignal});if(!bR(r,ER))throw new Error("Stream is not an Avro file.");this._metadata=await Ge.readMap(this._headerStream,Ge.readString,{abortSignal:e.abortSignal});let n=this._metadata[y3];if(!(n==null||n==="null"))throw new Error("Codecs are not supported");this._syncMarker=await Ge.readFixedBytes(this._headerStream,16,{abortSignal:e.abortSignal});let s=JSON.parse(this._metadata[E3]);if(this._itemType=Di.fromSchema(s),this._blockOffset===0&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await Ge.readLong(this._dataStream,{abortSignal:e.abortSignal}),await Ge.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 Ge.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!bR(this._syncMarker,n))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await Ge.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await Ge.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};var Hd=class{static{o(this,"AvroReadable")}};var B3=require("buffer");var I3=new Yr("Reading from the avro stream was aborted."),zd=class extends Hd{static{o(this,"AvroReadableFromStream")}_position;_readable;toUint8Array(e){return typeof e=="string"?B3.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 I3;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(I3)},"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 wy=class extends Q3.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 qd(new zd(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 Ny=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 Be?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new wy(this.originalResponse.readableStreamBody,r)}};var wR;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(wR||(wR={}));var NR;(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"})(NR||(NR={}));function So(t){if(t!==void 0)return t}o(So,"toAccessTier");function Ct(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=aJ)}o(Ct,"ensureCpkIfSpecified");var SR;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(SR||(SR={}));function Sy(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(Sy,"rangeResponseFromModel");var c4=Q(a4(),1);var _y=class extends c4.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=Jd({...l,blobClient:r,copySource:n,startCopyFromURLOptions:c});super(A),typeof i=="function"&&this.onProgress(i),this.intervalInMs=s}delay(){return id(this.intervalInMs)}},RCe=o(async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?Jd(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,Jd(r)):(r.isCancelled=!0,Jd(r))},"cancel"),PCe=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 Jd(r)},"update"),vCe=o(function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})},"toString");function Jd(t){return{state:{...t},cancel:RCe,toString:vCe,update:PCe}}o(Jd,"makeBlobBeginCopyFromURLPollOperation");function Qr(t){if(t.offset<0)throw new RangeError("Range.offset cannot be smaller than 0.");if(t.count&&t.count<=0)throw new RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return t.count?`bytes=${t.offset}-${t.offset+t.count-1}`:`bytes=${t.offset}-`}o(Qr,"rangeToString");var l4=require("events");var Wd;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(Wd||(Wd={}));var $d=class{static{o(this,"Batch")}concurrency;actives=0;completed=0;offset=0;operations=[];state=Wd.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new l4.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=Wd.Error,r(n)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==Wd.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 Uy=Q(require("node:fs"),1),A4=Q(require("node:util"),1);async function u4(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(u4,"streamToBuffer");async function d4(t,e){return new Promise((r,n)=>{let s=Uy.default.createWriteStream(e);t.on("error",i=>{n(i)}),s.on("error",i=>{n(i)}),s.on("close",r),t.pipe(s)})}o(d4,"readStreamToLocalFile");var m4=A4.default.promisify(Uy.default.stat),p4=Uy.default.createReadStream;var ki=class t extends Ml{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(wi(r))a=e,i=r;else if(Be&&r instanceof We||r instanceof Oe||Vr(r))a=e,s=n,i=at(r,s);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(s=n),i=at(new Oe,s);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=ka(e);if(A.kind==="AccountConnString")if(Be){let u=new We(A.accountName,A.accountKey);a=Et(Et(A.url,encodeURIComponent(c)),encodeURIComponent(l)),s.proxyOptions||(s.proxyOptions=Eo(A.proxyUri)),i=at(u,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=Et(Et(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,i=at(new Oe,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=mR(this.url,bi.Parameters.SNAPSHOT),this._versionId=mR(this.url,bi.Parameters.VERSIONID)}withSnapshot(e){return new t(kl(this.url,bi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(kl(this.url,bi.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new qy(this.url,this.pipeline)}getBlockBlobClient(){return new _l(this.url,this.pipeline)}getPageBlobClient(){return new Hy(this.url,this.pipeline)}async download(e=0,r,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},Ct(n.customerProvidedKey,this.isHttps),H.withSpan("BlobClient-download",n,async s=>{let i=V(await this.blobContext.download({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onDownloadProgress:Be?void 0:n.onProgress},range:e===0&&!r?void 0:Qr({offset:e,count:r}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey,tracingOptions:s.tracingOptions})),a={...i,_response:i._response,objectReplicationDestinationPolicyId:i.objectReplicationPolicyId,objectReplicationSourceProperties:Qy(i.objectReplicationRules)};if(!Be)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 by(a,async c=>{let l={leaseAccessConditions:n.conditions,modifiedAccessConditions:{ifMatch:n.conditions.ifMatch||i.etag,ifModifiedSince:n.conditions.ifModifiedSince,ifNoneMatch:n.conditions.ifNoneMatch,ifUnmodifiedSince:n.conditions.ifUnmodifiedSince,ifTags:n.conditions?.tagConditions},range:Qr({count:e+i.contentLength-c,offset:c}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey};return(await this.blobContext.download({abortSignal:n.abortSignal,...l})).readableStreamBody},e,i.contentLength,{maxRetryRequests:n.maxRetryRequests,onProgress:n.onProgress})})}async exists(e={}){return H.withSpan("BlobClient-exists",e,async r=>{try{return Ct(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===uJ||n.details.errorCode===dJ))return!0;throw n}})}async getProperties(e={}){return e.conditions=e.conditions||{},Ct(e.customerProvidedKey,this.isHttps),H.withSpan("BlobClient-getProperties",e,async r=>{let n=V(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:Qy(n.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},H.withSpan("BlobClient-delete",e,async r=>V(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 H.withSpan("BlobClient-deleteIfExists",e,async r=>{try{let n=V(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 H.withSpan("BlobClient-undelete",e,async r=>V(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},Ct(r.customerProvidedKey,this.isHttps),H.withSpan("BlobClient-setHTTPHeaders",r,async n=>V(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||{},Ct(r.customerProvidedKey,this.isHttps),H.withSpan("BlobClient-setMetadata",r,async n=>V(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 H.withSpan("BlobClient-setTags",r,async n=>V(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},blobModifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions,tags:h3(e)})))}async getTags(e={}){return H.withSpan("BlobClient-getTags",e,async r=>{let n=V(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:By({blobTagSet:n.blobTagSet})||{}}})}getBlobLeaseClient(e){return new Od(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},Ct(e.customerProvidedKey,this.isHttps),H.withSpan("BlobClient-createSnapshot",e,async r=>V(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 _y({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 H.withSpan("BlobClient-abortCopyFromURL",r,async n=>V(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||{},H.withSpan("BlobClient-syncCopyFromURL",r,async n=>V(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:Tl(r.sourceAuthorization),tier:So(r.tier),blobTagsString:No(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 H.withSpan("BlobClient-setAccessTier",r,async n=>V(await this.blobContext.setTier(So(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={}),H.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 $d(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 u4(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 H.withSpan("BlobClient-downloadToFile",s,async i=>{let a=await this.download(r,n,{...s,tracingOptions:i.tracingOptions});return a.readableStreamBody&&await d4(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(Iy(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 H.withSpan("BlobClient-startCopyFromURL",r,async n=>(r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},V(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:So(r.tier),blobTagsString:No(r.tags),sealBlob:r.sealBlob,tracingOptions:n.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof We))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=_d({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r(Fd(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof We))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return Ud({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=_d({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();n(Fd(this.url,s))})}generateUserDelegationSasStringToSign(e,r){return Ud({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return H.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>V(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return H.withSpan("BlobClient-setImmutabilityPolicy",r,async n=>V(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:n.tracingOptions})))}async setLegalHold(e,r={}){return H.withSpan("BlobClient-setLegalHold",r,async n=>V(await this.blobContext.setLegalHold(e,{tracingOptions:n.tracingOptions})))}async getAccountInfo(e={}){return H.withSpan("BlobClient-getAccountInfo",e,async r=>V(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}},qy=class t extends ki{static{o(this,"AppendBlobClient")}appendBlobContext;constructor(e,r,n,s){let i,a;if(s=s||{},wi(r))a=e,i=r;else if(Be&&r instanceof We||r instanceof Oe||Vr(r))a=e,s=n,i=at(r,s);else if(!r&&typeof r!="string")a=e,i=at(new Oe,s);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=ka(e);if(A.kind==="AccountConnString")if(Be){let u=new We(A.accountName,A.accountKey);a=Et(Et(A.url,encodeURIComponent(c)),encodeURIComponent(l)),s.proxyOptions||(s.proxyOptions=Eo(A.proxyUri)),i=at(u,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=Et(Et(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,i=at(new Oe,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(kl(this.url,bi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},Ct(e.customerProvidedKey,this.isHttps),H.withSpan("AppendBlobClient-create",e,async r=>V(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:No(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:aN};return H.withSpan("AppendBlobClient-createIfNotExists",e,async n=>{try{let s=V(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||{},H.withSpan("AppendBlobClient-seal",e,async r=>V(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||{},Ct(n.customerProvidedKey,this.isHttps),H.withSpan("AppendBlobClient-appendBlock",n,async s=>V(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||{},Ct(s.customerProvidedKey,this.isHttps),H.withSpan("AppendBlobClient-appendBlockFromURL",s,async i=>V(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:s.abortSignal,sourceRange:Qr({offset:r,count:n}),sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,leaseAccessConditions:s.conditions,appendPositionAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:s.sourceConditions?.ifMatch,sourceIfModifiedSince:s.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:s.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:s.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:Tl(s.sourceAuthorization),cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:i.tracingOptions})))}},_l=class t extends ki{static{o(this,"BlockBlobClient")}_blobContext;blockBlobContext;constructor(e,r,n,s){let i,a;if(s=s||{},wi(r))a=e,i=r;else if(Be&&r instanceof We||r instanceof Oe||Vr(r))a=e,s=n,i=at(r,s);else if(!r&&typeof r!="string")a=e,n&&typeof n!="string"&&(s=n),i=at(new Oe,s);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=ka(e);if(A.kind==="AccountConnString")if(Be){let u=new We(A.accountName,A.accountKey);a=Et(Et(A.url,encodeURIComponent(c)),encodeURIComponent(l)),s.proxyOptions||(s.proxyOptions=Eo(A.proxyUri)),i=at(u,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=Et(Et(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,i=at(new Oe,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(kl(this.url,bi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(Ct(r.customerProvidedKey,this.isHttps),!Be)throw new Error("This operation currently is only supported in Node.js.");return H.withSpan("BlockBlobClient-query",r,async n=>{let s=V(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:gR(r.inputTextConfiguration),outputSerialization:gR(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions}));return new Ny(s,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,n={}){return n.conditions=n.conditions||{},Ct(n.customerProvidedKey,this.isHttps),H.withSpan("BlockBlobClient-upload",n,async s=>V(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:So(n.tier),blobTagsString:No(n.tags),tracingOptions:s.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},Ct(r.customerProvidedKey,this.isHttps),H.withSpan("BlockBlobClient-syncUploadFromURL",r,async n=>V(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:Tl(r.sourceAuthorization),tier:So(r.tier),blobTagsString:No(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async stageBlock(e,r,n,s={}){return Ct(s.customerProvidedKey,this.isHttps),H.withSpan("BlockBlobClient-stageBlock",s,async i=>V(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 Ct(i.customerProvidedKey,this.isHttps),H.withSpan("BlockBlobClient-stageBlockFromURL",i,async a=>V(await this.blockBlobContext.stageBlockFromURL(e,0,r,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,sourceRange:n===0&&!s?void 0:Qr({offset:n,count:s}),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:Tl(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},Ct(r.customerProvidedKey,this.isHttps),H.withSpan("BlockBlobClient-commitBlockList",r,async n=>V(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:So(r.tier),blobTagsString:No(r.tags),tracingOptions:n.tracingOptions})))}async getBlockList(e,r={}){return H.withSpan("BlockBlobClient-getBlockList",r,async n=>{let s=V(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 H.withSpan("BlockBlobClient-uploadData",r,async n=>{if(Be){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 H.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={}),H.withSpan("BlockBlobClient-uploadSeekableInternal",n,async a=>{if(r<=i)return V(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=El(),u=0,d=new $d(n.concurrency);for(let m=0;m<c;m++)d.addOperation(async()=>{let p=pR(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 H.withSpan("BlockBlobClient-uploadFile",r,async n=>{let s=(await m4(e)).size;return this.uploadSeekableInternal((i,a)=>()=>p4(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={}),H.withSpan("BlockBlobClient-uploadStream",s,async i=>{let a=0,c=El(),l=0,A=[];return await new Pg(e,r,n,async(d,m)=>{let p=pR(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(),V(await this.commitBlockList(A,{...s,tracingOptions:i.tracingOptions}))})}},Hy=class t extends ki{static{o(this,"PageBlobClient")}pageBlobContext;constructor(e,r,n,s){let i,a;if(s=s||{},wi(r))a=e,i=r;else if(Be&&r instanceof We||r instanceof Oe||Vr(r))a=e,s=n,i=at(r,s);else if(!r&&typeof r!="string")a=e,i=at(new Oe,s);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let c=r,l=n,A=ka(e);if(A.kind==="AccountConnString")if(Be){let u=new We(A.accountName,A.accountKey);a=Et(Et(A.url,encodeURIComponent(c)),encodeURIComponent(l)),s.proxyOptions||(s.proxyOptions=Eo(A.proxyUri)),i=at(u,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(A.kind==="SASConnString")a=Et(Et(A.url,encodeURIComponent(c)),encodeURIComponent(l))+"?"+A.accountSas,i=at(new Oe,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(kl(this.url,bi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},Ct(r.customerProvidedKey,this.isHttps),H.withSpan("PageBlobClient-create",r,async n=>V(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:So(r.tier),blobTagsString:No(r.tags),tracingOptions:n.tracingOptions})))}async createIfNotExists(e,r={}){return H.withSpan("PageBlobClient-createIfNotExists",r,async n=>{try{let s={ifNoneMatch:aN},i=V(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||{},Ct(s.customerProvidedKey,this.isHttps),H.withSpan("PageBlobClient-uploadPages",s,async i=>V(await this.pageBlobContext.uploadPages(n,e,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},requestOptions:{onUploadProgress:s.onProgress},range:Qr({offset:r,count:n}),sequenceNumberAccessConditions:s.conditions,transactionalContentMD5:s.transactionalContentMD5,transactionalContentCrc64:s.transactionalContentCrc64,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,tracingOptions:i.tracingOptions})))}async uploadPagesFromURL(e,r,n,s,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},Ct(i.customerProvidedKey,this.isHttps),H.withSpan("PageBlobClient-uploadPagesFromURL",i,async a=>V(await this.pageBlobContext.uploadPagesFromURL(e,Qr({offset:r,count:s}),0,Qr({offset:n,count:s}),{abortSignal:i.abortSignal,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,sequenceNumberAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:Tl(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async clearPages(e=0,r,n={}){return n.conditions=n.conditions||{},H.withSpan("PageBlobClient-clearPages",n,async s=>V(await this.pageBlobContext.clearPages(0,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:Qr({offset:e,count:r}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:s.tracingOptions})))}async getPageRanges(e=0,r,n={}){return n.conditions=n.conditions||{},H.withSpan("PageBlobClient-getPageRanges",n,async s=>{let i=V(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:Qr({offset:e,count:r}),tracingOptions:s.tracingOptions}));return Sy(i)})}async listPageRangesSegment(e=0,r,n,s={}){return H.withSpan("PageBlobClient-getPageRangesSegment",s,async i=>V(await this.pageBlobContext.getPageRanges({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},range:Qr({offset:e,count:r}),marker:n,maxPageSize:s.maxPageSize,tracingOptions:i.tracingOptions})))}async*listPageRangeItemSegments(e=0,r,n,s={}){let i;if(n||n===void 0)do i=await this.listPageRangesSegment(e,r,n,s),n=i.continuationToken,yield await i;while(n)}async*listPageRangeItems(e=0,r,n={}){let s;for await(let i of this.listPageRangeItemSegments(e,r,s,n))yield*yR(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||{},H.withSpan("PageBlobClient-getPageRangesDiff",s,async i=>{let a=V(await this.pageBlobContext.getPageRangesDiff({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},prevsnapshot:n,range:Qr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return Sy(a)})}async listPageRangesDiffSegment(e,r,n,s,i={}){return H.withSpan("PageBlobClient-getPageRangesDiffSegment",i,async a=>V(await this.pageBlobContext.getPageRangesDiff({abortSignal:i?.abortSignal,leaseAccessConditions:i?.conditions,modifiedAccessConditions:{...i?.conditions,ifTags:i?.conditions?.tagConditions},prevsnapshot:n,range:Qr({offset:e,count:r}),marker:s,maxPageSize:i?.maxPageSize,tracingOptions:a.tracingOptions})))}async*listPageRangeDiffItemSegments(e,r,n,s,i){let a;if(s||s===void 0)do a=await this.listPageRangesDiffSegment(e,r,n,s,i),s=a.continuationToken,yield await a;while(s)}async*listPageRangeDiffItems(e,r,n,s){let i;for await(let a of this.listPageRangeDiffItemSegments(e,r,n,i,s))yield*yR(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||{},H.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",s,async i=>{let a=V(await this.pageBlobContext.getPageRangesDiff({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},prevSnapshotUrl:n,range:Qr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return Sy(a)})}async resize(e,r={}){return r.conditions=r.conditions||{},H.withSpan("PageBlobClient-resize",r,async n=>V(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||{},H.withSpan("PageBlobClient-updateSequenceNumber",n,async s=>V(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 H.withSpan("PageBlobClient-startCopyIncremental",r,async n=>V(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}};var h4;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(h4||(h4={}));var f4;(function(t){t.AES256="AES256"})(f4||(f4={}));var zy=class extends Error{static{o(this,"InvalidResponseError")}constructor(e){super(e),this.name="InvalidResponseError"}};var Ul=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"}};Ul.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var Ua=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"}};Ua.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var jd=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var HCe=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())})},XR=class{static{o(this,"UploadProgress")}constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,r=(100*(e/this.contentLength)).toFixed(1),n=Date.now()-this.startTime,s=(e/(1024*1024)/(n/1e3)).toFixed(1);he(`Sent ${e} of ${this.contentLength} (${r}%), ${s} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function g4(t,e,r){return HCe(this,void 0,void 0,function*(){var n;let s=new ki(t),i=s.getBlockBlobClient(),a=new XR((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 zy(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw ft(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(g4,"uploadCacheArchiveSDK");var E4=Q(require("buffer"),1),Ys=Q(require("fs"),1),C4=Q(require("stream"),1),I4=Q(require("util"),1);var Gy=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 Yy(t){return t?t>=200&&t<300:!1}o(Yy,"isSuccessStatusCode");function zCe(t){return t?t>=500:!0}o(zCe,"isServerErrorStatusCode");function GCe(t){return t?[Je.BadGateway,Je.ServiceUnavailable,Je.GatewayTimeout].includes(t):!1}o(GCe,"isRetryableStatusCode");function YCe(t){return Gy(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(YCe,"sleep");function y4(t,e,r){return Gy(this,arguments,void 0,function*(n,s,i,a=hf,c=ff,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),!zCe(m)))return d;if(m&&(p=GCe(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 YCe(c),u++}throw Error(`${n} failed: ${A}`)})}o(y4,"retry");function Kd(t,e){return Gy(this,arguments,void 0,function*(r,n,s=hf,i=ff){return yield y4(r,n,a=>a.statusCode,s,i,a=>{if(a instanceof gs)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(Kd,"retryTypedResponse");function Ol(t,e){return Gy(this,arguments,void 0,function*(r,n,s=hf,i=ff){return yield y4(r,n,a=>a.message.statusCode,s,i)})}o(Ol,"retryHttpClientResponse");var xn=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 VCe(t,e){return xn(this,void 0,void 0,function*(){yield I4.promisify(C4.pipeline)(t.message,e)})}o(VCe,"pipeResponseToStream");var Vy=class{static{o(this,"DownloadProgress")}constructor(e){this.contentLength=e,this.segmentIndex=0,this.segmentSize=0,this.segmentOffset=0,this.receivedBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}nextSegment(e){this.segmentOffset=this.segmentOffset+this.segmentSize,this.segmentIndex=this.segmentIndex+1,this.segmentSize=e,this.receivedBytes=0,b(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`)}setReceivedBytes(e){this.receivedBytes=e}getTransferredBytes(){return this.segmentOffset+this.receivedBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.segmentOffset+this.receivedBytes,r=(100*(e/this.contentLength)).toFixed(1),n=Date.now()-this.startTime,s=(e/(1024*1024)/(n/1e3)).toFixed(1);he(`Received ${e} of ${this.contentLength} (${r}%), ${s} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setReceivedBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function Jy(t,e){return xn(this,void 0,void 0,function*(){let r=Ys.createWriteStream(e),n=new Ci("actions/cache"),s=yield Ol("downloadCache",()=>xn(this,void 0,void 0,function*(){return n.get(t)}));s.message.socket.setTimeout(Bb,()=>{s.message.destroy(),b(`Aborting download, socket timed out after ${Bb} ms`)}),yield VCe(s,r);let i=s.message.headers["content-length"];if(i){let a=parseInt(i),c=fs(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(Jy,"downloadCacheHttpClient");function B4(t,e,r){return xn(this,void 0,void 0,function*(){var n;let s=yield Ys.promises.open(e,"w"),i=new Ci("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let c=(yield Ol("downloadCacheMetadata",()=>xn(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(()=>xn(this,void 0,void 0,function*(){return yield JCe(i,t,E,I)}),"promiseGetter")})}A.reverse();let d=0,m=0,p=new Vy(l);p.startDisplayTimer();let h=p.onProgress(),g=[],C,y=o(()=>xn(this,void 0,void 0,function*(){let E=yield Promise.race(Object.values(g));yield s.write(E.buffer,0,E.count,E.offset),d--,delete g[E.offset],m+=E.count,h({loadedBytes:m})}),"waitAndWrite");for(;C=A.pop();)g[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(B4,"downloadCacheHttpClientConcurrent");function JCe(t,e,r,n){return xn(this,void 0,void 0,function*(){let i=0;for(;;)try{let c=yield x4(3e4,WCe(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(JCe,"downloadSegmentRetry");function WCe(t,e,r,n){return xn(this,void 0,void 0,function*(){let s=yield Ol("downloadCachePart",()=>xn(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(WCe,"downloadSegment");function Q4(t,e,r){return xn(this,void 0,void 0,function*(){var n;let s=new _l(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 Jy(t,e);else{let c=Math.min(134217728,E4.constants.MAX_LENGTH),l=new Vy(a),A=Ys.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 x4(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)&&Ys.writeFileSync(A,h)}}finally{l.stopDisplayTimer(),Ys.closeSync(A)}}})}o(Q4,"downloadCacheStorageSDK");var x4=o((t,e)=>xn(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 ZR(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(ZR,"getUploadOptions");function b4(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(b4,"getDownloadOptions");function eP(){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(eP,"isGhes");function Xd(){return eP()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}o(Xd,"getCacheServiceVersion");function Wy(){let t=Xd();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(Wy,"getCacheServiceURL");var R4=Q(S4(),1);function $y(){return`@actions/cache-${R4.version}`}o($y,"getUserAgentString");var xr=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(a){a(i)})}return o(s,"adopt"),new(r||(r=Promise))(function(i,a){function c(u){try{A(n.next(u))}catch(d){a(d)}}o(c,"fulfilled");function l(u){try{A(n.throw(u))}catch(d){a(d)}}o(l,"rejected");function A(u){u.done?i(u.value):s(u.value).then(c,l)}o(A,"step"),A((n=n.apply(t,e||[])).next())})};function Zd(t){let e=Wy();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(Zd,"getCacheApiUrl");function KCe(t,e){return`${t};api-version=${e}`}o(KCe,"createAcceptHeader");function XCe(){return{headers:{Accept:KCe("application/json","6.0-preview.1")}}}o(XCe,"getRequestOptions");function tP(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new ul(t);return new Ci($y(),[e],XCe())}o(tP,"createHttpClient");function D4(t,e,r){return xr(this,void 0,void 0,function*(){let n=tP(),s=Al(e,r?.compressionMethod,r?.enableCrossOsArchive),i=`cache?keys=${encodeURIComponent(t.join(","))}&version=${s}`,a=yield Kd("getCacheEntry",()=>xr(this,void 0,void 0,function*(){return n.getJson(Zd(i))}));if(a.statusCode===204)return ca()&&(yield ZCe(t[0],n,s)),null;if(!Yy(a.statusCode))throw new Error(`Cache service responded with ${a.statusCode}`);let c=a.result,l=c?.archiveLocation;if(!l)throw new Error("Cache not found.");return jc(l),b("Cache Result:"),b(JSON.stringify(c)),c})}o(D4,"getCacheEntry");function ZCe(t,e,r){return xr(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,s=yield Kd("listCache",()=>xr(this,void 0,void 0,function*(){return e.getJson(Zd(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(ZCe,"printCachesListForDiagnostics");function rP(t,e,r){return xr(this,void 0,void 0,function*(){let n=new v4.URL(t),s=b4(r);n.hostname.endsWith(".blob.core.windows.net")?s.useAzureSdk?yield Q4(t,e,s):s.concurrentBlobDownloads?yield B4(t,e,s):yield Jy(t,e):yield Jy(t,e)})}o(rP,"downloadCache");function k4(t,e,r){return xr(this,void 0,void 0,function*(){let n=tP(),s=Al(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:s,cacheSize:r?.cacheSize};return yield Kd("reserveCache",()=>xr(this,void 0,void 0,function*(){return n.postJson(Zd("caches"),i)}))})}o(k4,"reserveCache");function P4(t,e){return`bytes ${t}-${e}/*`}o(P4,"getContentRange");function eIe(t,e,r,n,s){return xr(this,void 0,void 0,function*(){b(`Uploading chunk of size ${s-n+1} bytes at offset ${n} with content range: ${P4(n,s)}`);let i={"Content-Type":"application/octet-stream","Content-Range":P4(n,s)},a=yield Ol(`uploadChunk (start: ${n}, end: ${s})`,()=>xr(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!Yy(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(eIe,"uploadChunk");function tIe(t,e,r,n){return xr(this,void 0,void 0,function*(){let s=fs(r),i=Zd(`caches/${e.toString()}`),a=ql.openSync(r,"r"),c=ZR(n),l=wb("uploadConcurrency",c.uploadConcurrency),A=wb("uploadChunkSize",c.uploadChunkSize),u=[...new Array(l).keys()];b("Awaiting all uploads");let d=0;try{yield Promise.all(u.map(()=>xr(this,void 0,void 0,function*(){for(;d<s;){let m=Math.min(s-d,A),p=d,h=d+m-1;d+=A,yield eIe(t,i,()=>ql.createReadStream(r,{fd:a,start:p,end:h,autoClose:!1}).on("error",g=>{throw new Error(`Cache upload failed because file read failed with ${g.message}`)}),p,h)}})))}finally{ql.closeSync(a)}})}o(tIe,"uploadFile");function rIe(t,e,r){return xr(this,void 0,void 0,function*(){let n={size:r};return yield Kd("commitCache",()=>xr(this,void 0,void 0,function*(){return t.postJson(Zd(`caches/${e.toString()}`),n)}))})}o(rIe,"commitCache");function nP(t,e,r,n){return xr(this,void 0,void 0,function*(){if(ZR(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield g4(r,e,n)}else{let i=tP();b("Upload cache"),yield tIe(i,t,e,n),b("Commiting cache");let a=fs(e);he(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield rIe(i,t,a);if(!Yy(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);he("Cache saved successfully")}})}o(nP,"saveCache");var N8=Q(C8(),1),At=Q(lt(),1),Kr=Q(lt(),1),Ga=Q(lt(),1),Ya=Q(lt(),1),Va=Q(lt(),1);var KP=Q(lt(),1),XP=Q(lt(),1),x8=Q(lt(),1),b8=Q(lt(),1),w8=Q(lt(),1);var WP=Q(lt(),1),$P=Q(lt(),1),I8=Q(lt(),1),B8=Q(lt(),1),Q8=Q(lt(),1);var jP=class extends Q8.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,B8.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,I8.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?$P.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.scope!==""&&r.tag(1,WP.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,WP.WireType.Varint).int64(e.permission);let s=n.writeUnknownFields;return s!==!1&&(s==!0?$P.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},TE=new jP;var ZP=class extends w8.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(()=>TE,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,b8.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,x8.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(TE.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?XP.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.repositoryId!=="0"&&r.tag(1,KP.WireType.Varint).int64(e.repositoryId);for(let i=0;i<e.scope.length;i++)TE.internalBinaryWrite(e.scope[i],r.tag(2,KP.WireType.LengthDelimited).fork(),n).join();let s=n.writeUnknownFields;return s!==!1&&(s==!0?XP.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},js=new ZP;var ev=class extends Va.MessageType{static{o(this,"CreateCacheEntryRequest$Type")}constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:o(()=>js,"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,Ya.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ga.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=js.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?Kr.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.metadata&&js.internalBinaryWrite(e.metadata,r.tag(1,At.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,At.WireType.LengthDelimited).string(e.key),e.version!==""&&r.tag(3,At.WireType.LengthDelimited).string(e.version);let s=n.writeUnknownFields;return s!==!1&&(s==!0?Kr.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},ov=new ev,tv=class extends Va.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,Ya.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ga.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?Kr.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,At.WireType.Varint).bool(e.ok),e.signedUploadUrl!==""&&r.tag(2,At.WireType.LengthDelimited).string(e.signedUploadUrl),e.message!==""&&r.tag(3,At.WireType.LengthDelimited).string(e.message);let s=n.writeUnknownFields;return s!==!1&&(s==!0?Kr.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},av=new tv,rv=class extends Va.MessageType{static{o(this,"FinalizeCacheEntryUploadRequest$Type")}constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadRequest",[{no:1,name:"metadata",kind:"message",T:o(()=>js,"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,Ya.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ga.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=js.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?Kr.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.metadata&&js.internalBinaryWrite(e.metadata,r.tag(1,At.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,At.WireType.LengthDelimited).string(e.key),e.sizeBytes!=="0"&&r.tag(3,At.WireType.Varint).int64(e.sizeBytes),e.version!==""&&r.tag(4,At.WireType.LengthDelimited).string(e.version);let s=n.writeUnknownFields;return s!==!1&&(s==!0?Kr.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},cv=new rv,nv=class extends Va.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,Ya.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ga.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?Kr.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,At.WireType.Varint).bool(e.ok),e.entryId!=="0"&&r.tag(2,At.WireType.Varint).int64(e.entryId),e.message!==""&&r.tag(3,At.WireType.LengthDelimited).string(e.message);let s=n.writeUnknownFields;return s!==!1&&(s==!0?Kr.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},lv=new nv,sv=class extends Va.MessageType{static{o(this,"GetCacheEntryDownloadURLRequest$Type")}constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLRequest",[{no:1,name:"metadata",kind:"message",T:o(()=>js,"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,Ya.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ga.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=js.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?Kr.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.metadata&&js.internalBinaryWrite(e.metadata,r.tag(1,At.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,At.WireType.LengthDelimited).string(e.key);for(let i=0;i<e.restoreKeys.length;i++)r.tag(3,At.WireType.LengthDelimited).string(e.restoreKeys[i]);e.version!==""&&r.tag(4,At.WireType.LengthDelimited).string(e.version);let s=n.writeUnknownFields;return s!==!1&&(s==!0?Kr.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},Av=new sv,iv=class extends Va.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,Ya.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Ga.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?Kr.UnknownFieldHandler.onRead:A)(this.typeName,i,c,l,u)}}return i}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,At.WireType.Varint).bool(e.ok),e.signedDownloadUrl!==""&&r.tag(2,At.WireType.LengthDelimited).string(e.signedDownloadUrl),e.matchedKey!==""&&r.tag(3,At.WireType.LengthDelimited).string(e.matchedKey);let s=n.writeUnknownFields;return s!==!1&&(s==!0?Kr.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},uv=new iv,Kje=new N8.ServiceType("github.actions.results.api.v1.CacheService",[{name:"CreateCacheEntry",options:{},I:ov,O:av},{name:"FinalizeCacheEntryUpload",options:{},I:cv,O:lv},{name:"GetCacheEntryDownloadURL",options:{},I:Av,O:uv}]);var ME=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=ov.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",r).then(s=>av.fromJson(s,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=cv.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(s=>lv.fromJson(s,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=Av.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(s=>uv.fromJson(s,{ignoreUnknownFields:!0}))}};function S8(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(jc(r),jc(encodeURIComponent(r)))}catch(e){b(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}o(S8,"maskSigUrl");function R8(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"&&S8(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&S8(t.signed_download_url)}o(R8,"maskSecretUrls");var LE=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())})},dv=class{static{o(this,"CacheServiceClient")}constructor(e,r,n,s){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let i=rG();this.baseUrl=Wy(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),s&&(this.retryMultiplier=s),this.httpClient=new Ci(e,[new ul(i)])}request(e,r,n,s){return LE(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(()=>LE(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 LE(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(R8(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(Ua.isUsageErrorMessage(A.msg))throw new Ua;n=`${n}: ${A.msg}`}if(l===Je.TooManyRequests){let u=c.message.headers["retry-after"];if(u){let d=parseInt(u,10);!isNaN(d)&&d>0&&ft(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}throw new jd(`Rate limited: ${n}`)}}catch(c){if(c instanceof SyntaxError&&b(`Raw Body: ${s}`),c instanceof Ua||c instanceof jd)throw c;if(Ul.isNetworkErrorCode(c?.code))throw new Ul(c?.code);i=!0,n=c.message}if(!i)throw new Error(`Received non-retryable error: ${n}`);if(r+1===this.maxAttempts)throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${n}`);let a=this.getExponentialRetryTimeMilliseconds(r);he(`Attempt ${r+1} of ${this.maxAttempts} failed with error: ${n}. Retrying request in ${a} ms...`),yield this.sleep(a),r++}throw new Error("Request failed")})}isSuccessStatusCode(e){return e?e>=200&&e<300:!1}isRetryableHttpStatusCode(e){return e?[Je.BadGateway,Je.GatewayTimeout,Je.InternalServerError,Je.ServiceUnavailable].includes(e):!1}sleep(e){return LE(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 mv(t){let e=new dv($y(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new ME(e)}o(mv,"internalCacheTwirpClient");var FE=require("fs"),Xr=Q(require("path"),1);var Mi=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())})},Do=process.platform==="win32";function dQe(){return Mi(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield tG(),e=Kz;if(t)return{path:t,type:Or.GNU};if((0,FE.existsSync)(e))return{path:e,type:Or.BSD};break}case"darwin":{let t=yield mr("gtar",!1);return t?{path:t,type:Or.GNU}:{path:yield mr("tar",!0),type:Or.BSD}}default:break}return{path:yield mr("tar",!0),type:Or.GNU}})}o(dQe,"getTarPath");function mQe(t,e,r){return Mi(this,arguments,void 0,function*(n,s,i,a=""){let c=[`"${n.path}"`],l=ho(s),A="cache.tar",u=P8(),d=n.type===Or.BSD&&s!==er.Gzip&&Do;switch(i){case"create":c.push("--posix","-cf",d?A:l.replace(new RegExp(`\\${Xr.sep}`,"g"),"/"),"--exclude",d?A:l.replace(new RegExp(`\\${Xr.sep}`,"g"),"/"),"-P","-C",u.replace(new RegExp(`\\${Xr.sep}`,"g"),"/"),"--files-from",xb);break;case"extract":c.push("-xf",d?A:a.replace(new RegExp(`\\${Xr.sep}`,"g"),"/"),"-P","-C",u.replace(new RegExp(`\\${Xr.sep}`,"g"),"/"));break;case"list":c.push("-tf",d?A:a.replace(new RegExp(`\\${Xr.sep}`,"g"),"/"),"-P");break}if(n.type===Or.GNU)switch(process.platform){case"win32":c.push("--force-local");break;case"darwin":c.push("--delay-directory-restore");break}return c})}o(mQe,"getTarArgs");function pv(t,e){return Mi(this,arguments,void 0,function*(r,n,s=""){let i,a=yield dQe(),c=yield mQe(a,r,n,s),l=n!=="create"?yield pQe(a,r,s):yield hQe(a,r),A=a.type===Or.BSD&&r!==er.Gzip&&Do;return A&&n!=="create"?i=[[...l].join(" "),[...c].join(" ")]:i=[[...c].join(" "),[...l].join(" ")],A?i:[i.join(" ")]})}o(pv,"getCommands");function P8(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}o(P8,"getWorkingDirectory");function pQe(t,e,r){return Mi(this,void 0,void 0,function*(){let n=t.type===Or.BSD&&e!==er.Gzip&&Do;switch(e){case er.Zstd:return n?["zstd -d --long=30 --force -o",Wu,r.replace(new RegExp(`\\${Xr.sep}`,"g"),"/")]:["--use-compress-program",Do?'"zstd -d --long=30"':"unzstd --long=30"];case er.ZstdWithoutLong:return n?["zstd -d --force -o",Wu,r.replace(new RegExp(`\\${Xr.sep}`,"g"),"/")]:["--use-compress-program",Do?'"zstd -d"':"unzstd"];default:return["-z"]}})}o(pQe,"getDecompressionProgram");function hQe(t,e){return Mi(this,void 0,void 0,function*(){let r=ho(e),n=t.type===Or.BSD&&e!==er.Gzip&&Do;switch(e){case er.Zstd:return n?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${Xr.sep}`,"g"),"/"),Wu]:["--use-compress-program",Do?'"zstd -T0 --long=30"':"zstdmt --long=30"];case er.ZstdWithoutLong:return n?["zstd -T0 --force -o",r.replace(new RegExp(`\\${Xr.sep}`,"g"),"/"),Wu]:["--use-compress-program",Do?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}o(hQe,"getCompressionProgram");function hv(t,e){return Mi(this,void 0,void 0,function*(){for(let r of t)try{yield ao(r,void 0,{cwd:e,env:Object.assign(Object.assign({},process.env),{MSYS:"winsymlinks:nativestrict"})})}catch(n){throw new Error(`${r.split(" ")[0]} failed with error: ${n?.message}`)}})}o(hv,"execCommands");function pm(t,e){return Mi(this,void 0,void 0,function*(){let r=yield pv(e,"list",t);yield hv(r)})}o(pm,"listTar");function fv(t,e){return Mi(this,void 0,void 0,function*(){let r=P8();yield aa(r);let n=yield pv(e,"extract",t);yield hv(n)})}o(fv,"extractTar");function gv(t,e,r){return Mi(this,void 0,void 0,function*(){(0,FE.writeFileSync)(Xr.join(t,xb),e.join(`
|
|
`));let n=yield pv(r,"create");yield hv(n,t)})}o(gv,"createTar");var sA=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())})},Kn=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},nA=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},_E=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function v8(t){if(!t||t.length===0)throw new Kn("Path Validation Error: At least one directory or file path is required")}o(v8,"checkPaths");function yv(t){if(t.length>512)throw new Kn(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Kn(`Key Validation Error: ${t} cannot contain commas.`)}o(yv,"checkKey");function Ev(){return Xd()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(Ev,"isFeatureAvailable");function D8(t,e,r,n){return sA(this,arguments,void 0,function*(s,i,a,c,l=!1){let A=Xd();return b(`Cache service version: ${A}`),v8(s),A==="v2"?yield gQe(s,i,a,c,l):yield fQe(s,i,a,c,l)})}o(D8,"restoreCache");function fQe(t,e,r,n){return sA(this,arguments,void 0,function*(s,i,a,c,l=!1){a=a||[];let A=[i,...a];if(b("Resolved Keys:"),b(JSON.stringify(A)),A.length>10)throw new Kn("Key Validation Error: Keys are limited to a maximum of 10.");for(let m of A)yv(m);let u=yield Ku(),d="";try{let m=yield D4(A,s,{compressionMethod:u,enableCrossOsArchive:l});if(!m?.archiveLocation)return;if(c?.lookupOnly)return he("Lookup only - skipping download"),m.cacheKey;d=hm.join(yield $u(),ho(u)),b(`Archive Path: ${d}`),yield rP(m.archiveLocation,d,c),ca()&&(yield pm(d,u));let p=fs(d);return he(`Cache Size: ~${Math.round(p/(1024*1024))} MB (${p} B)`),yield fv(d,u),he("Cache restored successfully"),m.cacheKey}catch(m){let p=m;if(p.name===Kn.name)throw m;p instanceof gs&&typeof p.statusCode=="number"&&p.statusCode>=500?el(`Failed to restore: ${m.message}`):ft(`Failed to restore: ${m.message}`)}finally{try{yield ju(d)}catch(m){b(`Failed to delete archive: ${m}`)}}})}o(fQe,"restoreCacheV1");function gQe(t,e,r,n){return sA(this,arguments,void 0,function*(s,i,a,c,l=!1){c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let A=[i,...a];if(b("Resolved Keys:"),b(JSON.stringify(A)),A.length>10)throw new Kn("Key Validation Error: Keys are limited to a maximum of 10.");for(let d of A)yv(d);let u="";try{let d=mv(),m=yield Ku(),p={key:i,restoreKeys:a,version:Al(s,m,l)},h=yield d.GetCacheEntryDownloadURL(p);if(!h.ok){b(`Cache not found for version ${p.version} of keys: ${A.join(", ")}`);return}if(p.key!==h.matchedKey?he(`Cache hit for restore-key: ${h.matchedKey}`):he(`Cache hit for: ${h.matchedKey}`),c?.lookupOnly)return he("Lookup only - skipping download"),h.matchedKey;u=hm.join(yield $u(),ho(m)),b(`Archive path: ${u}`),b(`Starting download of archive to: ${u}`),yield rP(h.signedDownloadUrl,u,c);let C=fs(u);return he(`Cache Size: ~${Math.round(C/(1024*1024))} MB (${C} B)`),ca()&&(yield pm(u,m)),yield fv(u,m),he("Cache restored successfully"),h.matchedKey}catch(d){let m=d;if(m.name===Kn.name)throw d;m instanceof gs&&typeof m.statusCode=="number"&&m.statusCode>=500?el(`Failed to restore: ${d.message}`):ft(`Failed to restore: ${d.message}`)}finally{try{u&&(yield ju(u))}catch(d){b(`Failed to delete archive: ${d}`)}}})}o(gQe,"restoreCacheV2");function Cv(t,e,r){return sA(this,arguments,void 0,function*(n,s,i,a=!1){let c=Xd();return b(`Cache service version: ${c}`),v8(n),yv(s),c==="v2"?yield EQe(n,s,i,a):yield yQe(n,s,i,a)})}o(Cv,"saveCache");function yQe(t,e,r){return sA(this,arguments,void 0,function*(n,s,i,a=!1){var c,l,A,u,d;let m=yield Ku(),p=-1,h=yield bb(n);if(b("Cache Paths:"),b(`${JSON.stringify(h)}`),h.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let g=yield $u(),C=hm.join(g,ho(m));b(`Archive Path: ${C}`);try{yield gv(g,h,m),ca()&&(yield pm(C,m));let y=10*1024*1024*1024,E=fs(C);if(b(`File Size: ${E}`),E>y&&!eP())throw new Error(`Cache size of ~${Math.round(E/(1024*1024))} MB (${E} B) is over the 10GB limit, not saving cache.`);b("Reserving Cache");let I=yield k4(s,n,{compressionMethod:m,enableCrossOsArchive:a,cacheSize:E});if(!((c=I?.result)===null||c===void 0)&&c.cacheId)p=(l=I?.result)===null||l===void 0?void 0:l.cacheId;else throw I?.statusCode===400?new Error((u=(A=I?.error)===null||A===void 0?void 0:A.message)!==null&&u!==void 0?u:`Cache size of ~${Math.round(E/(1024*1024))} MB (${E} B) is over the data cap limit, not saving cache.`):new nA(`Unable to reserve cache with key ${s}, another job may be creating this cache. More details: ${(d=I?.error)===null||d===void 0?void 0:d.message}`);b(`Saving Cache (ID: ${p})`),yield nP(p,C,"",i)}catch(y){let E=y;if(E.name===Kn.name)throw y;E.name===nA.name?he(`Failed to save: ${E.message}`):E instanceof gs&&typeof E.statusCode=="number"&&E.statusCode>=500?el(`Failed to save: ${E.message}`):ft(`Failed to save: ${E.message}`)}finally{try{yield ju(C)}catch(y){b(`Failed to delete archive: ${y}`)}}return p})}o(yQe,"saveCacheV1");function EQe(t,e,r){return sA(this,arguments,void 0,function*(n,s,i,a=!1){i=Object.assign(Object.assign({},i),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let c=yield Ku(),l=mv(),A=-1,u=yield bb(n);if(b("Cache Paths:"),b(`${JSON.stringify(u)}`),u.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let d=yield $u(),m=hm.join(d,ho(c));b(`Archive Path: ${m}`);try{yield gv(d,u,c),ca()&&(yield pm(m,c));let p=fs(m);b(`File Size: ${p}`),i.archiveSizeBytes=p,b("Reserving Cache");let h=Al(n,c,a),g={key:s,version:h},C;try{let I=yield l.CreateCacheEntry(g);if(!I.ok)throw I.message&&ft(`Cache reservation failed: ${I.message}`),new Error(I.message||"Response was not ok");C=I.signedUploadUrl}catch(I){throw b(`Failed to reserve cache: ${I}`),new nA(`Unable to reserve cache with key ${s}, another job may be creating this cache.`)}b(`Attempting to upload cache located at: ${m}`),yield nP(A,m,C,i);let y={key:s,version:h,sizeBytes:`${p}`},E=yield l.FinalizeCacheEntryUpload(y);if(b(`FinalizeCacheEntryUploadResponse: ${E.ok}`),!E.ok)throw E.message?new _E(E.message):new Error(`Unable to finalize cache with key ${s}, another job may be finalizing this cache.`);A=parseInt(E.entryId)}catch(p){let h=p;if(h.name===Kn.name)throw p;h.name===nA.name?he(`Failed to save: ${h.message}`):h.name===_E.name?ft(h.message):h instanceof gs&&typeof h.statusCode=="number"&&h.statusCode>=500?el(`Failed to save: ${h.message}`):ft(`Failed to save: ${h.message}`)}finally{try{yield ju(m)}catch(p){b(`Failed to delete archive: ${p}`)}}return A})}o(EQe,"saveCacheV2");var k8=Q(require("util"),1);var iA=class t{static{o(this,"Cache")}opts;ghaCacheKey;ghaNoCache;cacheDir;cachePath;static POST_CACHE_KEY="postCache";constructor(e){this.opts=e,this.ghaCacheKey=k8.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform()),this.ghaNoCache=this.opts.ghaNoCache,this.cacheDir=Bv.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform()),this.cachePath=Bv.default.join(this.cacheDir,this.opts.cacheFile),UE.default.existsSync(this.cacheDir)||UE.default.mkdirSync(this.cacheDir,{recursive:!0})}async save(e,r){b(`Cache.save ${e}`);let n=this.copyToCache(e),s=await Hx(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform());if(b(`Cache.save cached to hosted tool cache ${s}`),!this.ghaNoCache&&Ev())if(r)try{b(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`),await Cv([this.cacheDir],this.ghaCacheKey)}catch(i){ft(`Failed to save cache: ${i}`)}else b(`Cache.save sending ${this.ghaCacheKey} to post state`),Lh(t.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}));return n}async find(){try{let e=Nq(this.opts.htcName,this.opts.htcVersion,this.platform());if(e)return he(`Restored from hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`);if(!this.ghaNoCache&&Ev()){if(b("GitHub Actions cache feature available"),await D8([this.cacheDir],this.ghaCacheKey))return he(`Restored ${this.ghaCacheKey} from GitHub Actions cache`),e=await Hx(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform()),he(`Cached to hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`)}else this.ghaNoCache?he("GitHub Actions cache disabled"):he("GitHub Actions cache feature not available")}catch(e){ft(`Failed to restore cache: ${e}`)}return""}static async post(){let e=R1(t.POST_CACHE_KEY);if(!e)return he("State not set"),Promise.resolve(void 0);let r;try{r=JSON.parse(e)}catch(n){throw new Error(`Failed to parse cache post state: ${n}`)}if(!r.dir||!r.key)throw new Error(`Invalid cache post state: ${e}`);try{he(`Caching ${r.key} to GitHub Actions cache`),await Cv([r.dir],r.key)}catch(n){ft(`Failed to save cache: ${n}`)}return r}copyToCache(e){return he(`Copying ${e} to ${this.cachePath}`),UE.default.copyFileSync(e,this.cachePath),this.cachePath}platform(){let e=process.config.variables.arm_version;return`${Iv.default.platform()}-${Iv.default.arch()}${e?"v"+e:""}`}};var T8=!!process.env.STATE_isPost;T8||Lh("isPost","true");async function M8(t,e){if(T8)e&&await e(),await ms("Post cache",async()=>{await iA.post()});else try{await t()}catch(r){S1(r.message)}}o(M8,"run");var bD=Q(require("fs"),1),t5=Q(require("os"),1),Dm=Q(require("path"),1);var Sv=Q(require("fs"),1),eW=Q(require("os"),1),tW=Q(require("path"),1),rW=Q(Z8(),1);var HE=class t{static{o(this,"Context")}static _tmpDir=Sv.default.mkdtempSync(tW.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||eW.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return Sv.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return rW.tmpNameSync(e)}};var fm=class{static{o(this,"Exec")}static async exec(e,r,n){return b(`Exec.exec: ${e} ${r?.join(" ")}`),ao(e,r,n)}static async getExecOutput(e,r,n){return b(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),Bu(e,r,n)}};var xD=Q(require("crypto"),1),Z$=Q(require("fs"),1),vm=Q(require("path"),1),e5=Q(V$(),1);var ye=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 J$=o(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var wC=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(J$(s)){if(typeof s.name!="string")throw new ye("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 ye("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 ID=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.slice(0,this.length).toString(e):Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}toJSON(){return this.toString("utf8")}reset(){this.length=0}},BD=ID;var kwe=12,Twe=13,Mwe=10,Lwe=32,Fwe=9,W$=o(function(t){return{bomSkipped:!1,bufBytesStart:0,castField:t.cast_function,commenting:!1,error:void 0,enabled:t.from_line===1,escaping:!1,escapeIsQuote:Buffer.isBuffer(t.escape)&&Buffer.isBuffer(t.quote)&&Buffer.compare(t.escape,t.quote)===0,expectedRecordLength:Array.isArray(t.columns)?t.columns.length:void 0,field:new BD(20),firstLineToHeaders:t.cast_first_line_to_header,needMoreDataSize:Math.max(t.comment!==null?t.comment.length:0,...t.delimiter.map(e=>e.length),t.quote!==null?t.quote.length:0),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new BD(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:t.record_delimiter.length===0?0:Math.max(...t.record_delimiter.map(e=>e.length)),trimChars:[Buffer.from(" ",t.encoding)[0],Buffer.from(" ",t.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:[Buffer.from(Buffer.from([Twe],"utf8").toString(),t.encoding),Buffer.from(Buffer.from([Mwe],"utf8").toString(),t.encoding),Buffer.from(Buffer.from([kwe],"utf8").toString(),t.encoding),Buffer.from(Buffer.from([Lwe],"utf8").toString(),t.encoding),Buffer.from(Buffer.from([Fwe],"utf8").toString(),t.encoding)]}},"init_state");var $$=o(function(t){return t.replace(/([A-Z])/g,function(e,r){return"_"+r.toLowerCase()})},"underscore");var QD=o(function(t){let e={};for(let n in t)e[$$(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 ye("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 ye("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 ye("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 ye("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=wC(e.columns);else if(e.columns===void 0||e.columns===null||e.columns===!1)e.columns=!1;else throw new ye("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 ye("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 ye("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 ye("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 ye("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(e.comment_no_infix)}`],e);let r=JSON.stringify(e.delimiter);if(Array.isArray(e.delimiter)||(e.delimiter=[e.delimiter]),e.delimiter.length===0)throw new ye("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],e);if(e.delimiter=e.delimiter.map(function(n){if(n==null||n===!1)return Buffer.from(",",e.encoding);if(typeof n=="string"&&(n=Buffer.from(n,e.encoding)),!Buffer.isBuffer(n)||n.length===0)throw new ye("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 ye("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 ye("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 ye("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 ye("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 ye("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 ye("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 ye("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 j$=o(function(t){return t.every(e=>e==null||e.toString&&e.toString().trim()==="")},"isRecordEmpty"),_we=13,Uwe=10,yA={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},K$=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=QD(t);return{info:e,original_options:t,options:r,state:W$(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,encoding:A,from_line:u,ltrim:d,max_record_size:m,raw:p,relax_quotes:h,rtrim:g,skip_empty_lines:C,to:y,to_line:E}=this.options,{comment:I,escape:B,quote:N,record_delimiter:k}=this.options,{bomSkipped:_,previousBuf:ce,rawBuffer:Ee,escapeIsQuote:xe}=this.state,z;if(ce===void 0)if(n===void 0){a();return}else z=n;else ce!==void 0&&n===void 0?z=ce:z=Buffer.concat([ce,n]);if(_===!1)if(c===!1)this.state.bomSkipped=!0;else if(z.length<3){if(s===!1){this.state.previousBuf=z;return}}else{for(let me in yA)if(yA[me].compare(z,0,yA[me].length)===0){let ut=yA[me].length;this.state.bufBytesStart+=ut,z=z.slice(ut);let ze=QD({...this.original_options,encoding:me});for(let rt in ze)this.options[rt]=ze[rt];({comment:I,escape:B,quote:N}=this.options);break}this.state.bomSkipped=!0}let te=z.length,U;for(U=0;U<te&&!this.__needMoreData(U,te,s);U++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),E!==-1&&this.info.lines>E){this.state.stop=!0,a();return}this.state.quoting===!1&&k.length===0&&this.__autoDiscoverRecordDelimiter(z,U)&&(k=this.options.record_delimiter);let me=z[U];if(p===!0&&Ee.append(me),(me===_we||me===Uwe)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(B!==null&&this.state.quoting===!0&&this.__isEscape(z,U,me)&&U+B.length<te)if(xe){if(this.__isQuote(z,U+B.length)){this.state.escaping=!0,U+=B.length-1;continue}}else{this.state.escaping=!0,U+=B.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(z,U))if(this.state.quoting===!0){let rt=z[U+N.length],ei=g&&this.__isCharTrimable(z,U+N.length),Sr=I!==null&&this.__compareBytes(I,z,U+N.length,rt),es=this.__isDelimiter(z,U+N.length,rt),Mo=k.length===0?this.__autoDiscoverRecordDelimiter(z,U+N.length):this.__isRecordDelimiter(rt,z,U+N.length);if(B!==null&&this.__isEscape(z,U,me)&&this.__isQuote(z,U+B.length))U+=B.length-1;else if(!rt||es||Mo||Sr||ei){this.state.quoting=!1,this.state.wasQuoting=!0,U+=N.length-1;continue}else if(h===!1){let Za=this.__error(new ye("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(rt)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(Za!==void 0)return Za}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(N),U+=N.length-1}else if(this.state.field.length!==0){if(h===!1){let rt=this.__infoField(),ei=Object.keys(yA).map(es=>yA[es].equals(this.state.field.toString())?es:!1).filter(Boolean)[0],Sr=this.__error(new ye("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(rt.column)} at line ${rt.lines}, value is ${JSON.stringify(this.state.field.toString(A))}`,ei?`(${ei} bom)`:void 0],this.options,rt,{field:this.state.field}));if(Sr!==void 0)return Sr}}else{this.state.quoting=!0,U+=N.length-1;continue}if(this.state.quoting===!1){let rt=this.__isRecordDelimiter(me,z,U);if(rt!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=u){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),U+=rt-1;continue}if(C===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,U+=rt-1;continue}this.info.bytes=this.state.bufBytesStart+U;let es=this.__onField();if(es!==void 0)return es;this.info.bytes=this.state.bufBytesStart+U+rt;let Mo=this.__onRecord(i);if(Mo!==void 0)return Mo;if(y!==-1&&this.info.records>=y){this.state.stop=!0,a();return}}this.state.commenting=!1,U+=rt-1;continue}if(this.state.commenting)continue;if(I!==null&&(l===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(I,z,U,me)!==0){this.state.commenting=!0;continue}let ei=this.__isDelimiter(z,U,me);if(ei!==0){this.info.bytes=this.state.bufBytesStart+U;let Sr=this.__onField();if(Sr!==void 0)return Sr;U+=ei-1;continue}}}if(this.state.commenting===!1&&m!==0&&this.state.record_length+this.state.field.length>m)return this.__error(new ye("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${m}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let ut=d===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(z,U),ze=g===!1||this.state.wasQuoting===!1;if(ut===!0&&ze===!0)this.state.field.append(me);else{if(g===!0&&!this.__isCharTrimable(z,U))return this.__error(new ye("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()));ut===!1&&(U+=this.__isCharTrimable(z,U)-1);continue}}if(s===!0)if(this.state.quoting===!0){let me=this.__error(new ye("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(me!==void 0)return me}else if(this.state.wasQuoting===!0||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+U;let me=this.__onField();if(me!==void 0)return me;let ut=this.__onRecord(i);if(ut!==void 0)return ut}else this.state.wasRowDelimiter===!0?this.info.empty_lines++:this.state.commenting===!0&&this.info.comment_lines++;else this.state.bufBytesStart+=U,this.state.previousBuf=z.slice(U);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:g}=this.state;if(h===!1)return this.__resetRecord();let C=g.length;if(s===!0){if(p===!0&&j$(g)){this.__resetRecord();return}return this.__firstLineToColumns(g)}if(s===!1&&this.info.records===0&&(this.state.expectedRecordLength=C),C!==this.state.expectedRecordLength){let y=s===!1?new ye("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${C} on line ${this.info.lines}`],this.options,this.__infoField(),{record:g}):new ye("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${s.length},`,`got ${C} on line ${this.info.lines}`],this.options,this.__infoField(),{record:g});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&&j$(g)){this.__resetRecord();return}if(this.state.recordHasError===!0){this.__resetRecord(),this.state.recordHasError=!1;return}if(this.info.records++,l===1||this.info.records>=l){let{objname:y}=this.options;if(s!==!1){let E={};for(let I=0,B=g.length;I<B;I++)s[I]===void 0||s[I].disabled||(i===!0&&E[s[I].name]!==void 0?Array.isArray(E[s[I].name])?E[s[I].name]=E[s[I].name].concat(g[I]):E[s[I].name]=[E[s[I].name],g[I]]:E[s[I].name]=g[I]);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:g},m===!0?{raw:this.state.rawBuffer.toString(a)}:{},c===!0?{info:this.__infoRecord()}:{}),I=this.__push(y===void 0?E:[g[y],E],n);if(I)return I}else{let E=this.__push(y===void 0?g:[g[y],g],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 ye("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=wC(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"),__isCharTrimable:o(function(n,s){return o((a,c)=>{let{timchars:l}=this.state;e:for(let A=0;A<l.length;A++){let u=l[A];for(let d=0;d<u.length;d++)if(u[d]!==a[c+d])continue e;return u.length}return 0},"isTrim")(n,s)},"__isCharTrimable"),__isFloat:o(function(n){return n-parseFloat(n)+1>=0},"__isFloat"),__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"),__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"),__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"),__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"),__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"),__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 X$=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?{}:[],n=K$(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 EA=class t{static{o(this,"Util")}static getInputList(e,r){return this.getList(Zc(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let n=[];if(e=="")return n;let s=X$(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=Zc(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 mr("powershell",!0),s=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=[];if(r)for(let a in r)i.push(`-${a} '${r[a].replace(/'/g,"''").replace(/"|\n|\r/g,"")}'`);return{command:`"${n}"`,args:["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${s}' ${i.join(" ")}`]}}static isDirectory(e){try{return Z$.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 xD.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 xD.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,n){return e5.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=vm.default.resolve(e);return vm.default.resolve(r).startsWith(n.endsWith(vm.default.sep)?n:`${n}${vm.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 Zn=class t{static{o(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||Dm.default.join(t5.default.homedir(),".docker")}static configFile(){let e=Dm.default.join(t.configDir,"config.json");if(bD.default.existsSync(e))return JSON.parse(bD.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await mr("docker",!0).then(e=>(b(`Docker.isAvailable ok: ${e}`),!0)).catch(e=>(b(`Docker.isAvailable error: ${e}`),!1))}static async isDaemonRunning(){try{return await t.getExecOutput(["version"],{silent:!0}),!0}catch{return!1}}static async exec(e,r){return fm.exec("docker",e,t.execOptions(r))}static async getExecOutput(e,r){return fm.getExecOutput("docker",e,t.execOptions(r))}static execOptions(e){return e||(e={}),e.env?e.env.DOCKER_CONTENT_TRUST="false":e.env=Object.assign({},process.env,{DOCKER_CONTENT_TRUST:"false"}),e}static async context(e){let r=["context","inspect","--format","{{.Name}}"];return e&&r.push(e),await t.getExecOutput(r,{ignoreReturnCode:!0,silent:!0}).then(n=>{if(n.stderr.length>0&&n.exitCode!=0)throw new Error(n.stderr);return n.stdout.trim()})}static async contextInspect(e){let r=["context","inspect","--format=json"];return e&&r.push(e),await t.getExecOutput(r,{ignoreReturnCode:!0,silent:!0}).then(n=>{if(n.stderr.length>0&&n.exitCode!=0)throw new Error(n.stderr.trim());return JSON.parse(n.stdout.trim())[0]})}static async printVersion(){await t.exec(["version"])}static async printInfo(){await t.exec(["info"])}static parseRepoTag(e){let r,n=e.indexOf("@"),s=e.lastIndexOf(":");if(n>=0)r=n;else if(s>=0)r=s;else return{repository:e,tag:"latest"};let i=e.slice(r+1);return i.indexOf("/")===-1?{repository:e.slice(0,r),tag:i}:{repository:e,tag:"latest"}}static async pull(e,r){let n=t.parseRepoTag(e),s=n.repository.replace(/[^a-zA-Z0-9.]+/g,"--"),i=n.tag.replace(/[^a-zA-Z0-9.]+/g,"--"),a=new iA({htcName:s,htcVersion:i,baseCacheDir:Dm.default.join(t.configDir,".cache","images",s),cacheFile:"image.tar"}),c;r&&(c=await a.find(),c&&(he(`Image found from cache in ${c}`),await t.getExecOutput(["load","-i",c],{ignoreReturnCode:!0}).then(A=>{A.stderr.length>0&&A.exitCode!=0&&ft(`Failed to load image from cache: ${A.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`)})));let l=!0;if(await t.getExecOutput(["pull",e],{ignoreReturnCode:!0}).then(A=>{if(A.stderr.length>0&&A.exitCode!=0){l=!1;let u=A.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error";if(c)ft(`Failed to pull image, using one from cache: ${u}`);else throw new Error(u)}}),r&&l){let A=Dm.default.join(HE.tmpDir(),`${EA.hash(e)}.tar`);await t.getExecOutput(["save","-o",A,e],{ignoreReturnCode:!0}).then(async u=>{if(u.stderr.length>0&&u.exitCode!=0)ft(`Failed to save image: ${u.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);else{let d=await a.save(A);he(`Image cached to ${d}`)}})}}};function r5(){return{image:Zc("image")||"docker.io/tonistiigi/binfmt:latest",platforms:EA.getInputList("platforms").join(",")||"all",reset:gx("reset"),cacheImage:gx("cache-image")}}o(r5,"getInputs");M8(async()=>{let t=r5();await ms("Docker info",async()=>{await Zn.printVersion(),await Zn.printInfo()}),await ms("Pulling binfmt Docker image",async()=>{await Zn.pull(t.image,t.cacheImage)}),await ms("Image info",async()=>{await Zn.getExecOutput(["image","inspect",t.image],{ignoreReturnCode:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error")})}),await ms("Binfmt version",async()=>{await Zn.getExecOutput(["run","--rm","--privileged",t.image,"--version"],{ignoreReturnCode:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error")})}),t.reset&&await ms("Uninstalling current emulators",async()=>{await Zn.getExecOutput(["run","--rm","--privileged",t.image,"--uninstall","qemu-*"],{ignoreReturnCode:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error")})}),await ms("Installing QEMU static binaries",async()=>{await Zn.getExecOutput(["run","--rm","--privileged",t.image,"--install",t.platforms],{ignoreReturnCode:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error")})}),await ms("Extracting available platforms",async()=>{await Zn.getExecOutput(["run","--rm","--privileged",t.image],{ignoreReturnCode:!0,silent:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error");let r=JSON.parse(e.stdout.trim());he(`${r.supported.join(",")}`),N1("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
|