mirror of
https://github.com/docker/setup-qemu-action.git
synced 2026-05-28 00:58:18 +01:00
150 lines
1.2 MiB
Generated
150 lines
1.2 MiB
Generated
var B5=Object.create;var UC=Object.defineProperty;var Q5=Object.getOwnPropertyDescriptor;var x5=Object.getOwnPropertyNames;var w5=Object.getPrototypeOf,b5=Object.prototype.hasOwnProperty;var h=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),N5=(t,e)=>{for(var r in e)UC(t,r,{get:e[r],enumerable:!0})},S5=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of x5(e))!b5.call(t,s)&&s!==r&&UC(t,s,{get:()=>e[s],enumerable:!(n=Q5(e,s))||n.enumerable});return t};var B=(t,e,r)=>(r=t!=null?B5(w5(t)):{},S5(e||!t||!t.__esModule?UC(r,"default",{value:t,enumerable:!0}):r,t));var YD=h(sc=>{"use strict";var I0e=require("net"),D5=require("tls"),HC=require("http"),HD=require("https"),k5=require("events"),B0e=require("assert"),T5=require("util");sc.httpOverHttp=M5;sc.httpsOverHttp=L5;sc.httpOverHttps=_5;sc.httpsOverHttps=F5;function M5(t){var e=new ti(t);return e.request=HC.request,e}function L5(t){var e=new ti(t);return e.request=HC.request,e.createSocket=zD,e.defaultPort=443,e}function _5(t){var e=new ti(t);return e.request=HD.request,e}function F5(t){var e=new ti(t);return e.request=HD.request,e.createSocket=zD,e.defaultPort=443,e}function ti(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||HC.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",function(n,s,i,o){for(var a=GD(s,i,o),c=0,l=e.requests.length;c<l;++c){var A=e.requests[c];if(A.host===a.host&&A.port===a.port){e.requests.splice(c,1),A.request.onSocket(n);return}}n.destroy(),e.removeSocket(n)})}T5.inherits(ti,k5.EventEmitter);ti.prototype.addRequest=function(e,r,n,s){var i=this,o=zC({request:e},i.options,GD(r,n,s));if(i.sockets.length>=this.maxSockets){i.requests.push(o);return}i.createSocket(o,function(a){a.on("free",c),a.on("close",l),a.on("agentRemove",l),e.onSocket(a);function c(){i.emit("free",a,o)}function l(A){i.removeSocket(a),a.removeListener("free",c),a.removeListener("close",l),a.removeListener("agentRemove",l)}})};ti.prototype.createSocket=function(e,r){var n=this,s={};n.sockets.push(s);var i=zC({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(i.localAddress=e.localAddress),i.proxyAuth&&(i.headers=i.headers||{},i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")),Oi("making CONNECT request");var o=n.request(i);o.useChunkedEncodingByDefault=!1,o.once("response",a),o.once("upgrade",c),o.once("connect",l),o.once("error",A),o.end();function a(u){u.upgrade=!0}function c(u,d,m){process.nextTick(function(){l(u,d,m)})}function l(u,d,m){if(o.removeAllListeners(),d.removeAllListeners(),u.statusCode!==200){Oi("tunneling socket could not be established, statusCode=%d",u.statusCode),d.destroy();var p=new Error("tunneling socket could not be established, statusCode="+u.statusCode);p.code="ECONNRESET",e.request.emit("error",p),n.removeSocket(s);return}if(m.length>0){Oi("got illegal response body from proxy"),d.destroy();var p=new Error("got illegal response body from proxy");p.code="ECONNRESET",e.request.emit("error",p),n.removeSocket(s);return}return Oi("tunneling connection has established"),n.sockets[n.sockets.indexOf(s)]=d,r(d)}function A(u){o.removeAllListeners(),Oi(`tunneling socket could not be established, cause=%s
|
|
`,u.message,u.stack);var d=new Error("tunneling socket could not be established, cause="+u.message);d.code="ECONNRESET",e.request.emit("error",d),n.removeSocket(s)}};ti.prototype.removeSocket=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)})}};function zD(t,e){var r=this;ti.prototype.createSocket.call(r,t,function(n){var s=t.request.getHeader("host"),i=zC({},r.options,{socket:n,servername:s?s.replace(/:.*$/,""):t.host}),o=D5.connect(0,i);r.sockets[r.sockets.indexOf(n)]=o,e(o)})}function GD(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}function zC(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,o=s.length;i<o;++i){var a=s[i];n[a]!==void 0&&(t[a]=n[a])}}return t}var Oi;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?Oi=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)}:Oi=function(){};sc.debug=Oi});var QA=h((x0e,VD)=>{VD.exports=YD()});var Le=h((w0e,JD)=>{JD.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent")}});var ye=h((b0e,yk)=>{"use strict";var WD=Symbol.for("undici.error.UND_ERR"),_e=class extends Error{constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[WD]===!0}[WD]=!0},$D=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),GC=class extends _e{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[$D]===!0}[$D]=!0},jD=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),YC=class extends _e{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[jD]===!0}[jD]=!0},KD=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),VC=class extends _e{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[KD]===!0}[KD]=!0},XD=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),JC=class extends _e{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[XD]===!0}[XD]=!0},ZD=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE"),WC=class extends _e{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[ZD]===!0}[ZD]=!0},ek=Symbol.for("undici.error.UND_ERR_INVALID_ARG"),$C=class extends _e{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[ek]===!0}[ek]=!0},tk=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE"),jC=class extends _e{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[tk]===!0}[tk]=!0},rk=Symbol.for("undici.error.UND_ERR_ABORT"),zm=class extends _e{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[rk]===!0}[rk]=!0},nk=Symbol.for("undici.error.UND_ERR_ABORTED"),KC=class extends zm{constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&e[nk]===!0}[nk]=!0},sk=Symbol.for("undici.error.UND_ERR_INFO"),XC=class extends _e{constructor(e){super(e),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&e[sk]===!0}[sk]=!0},ik=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"),ZC=class extends _e{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[ik]===!0}[ik]=!0},ok=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH"),eI=class extends _e{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[ok]===!0}[ok]=!0},ak=Symbol.for("undici.error.UND_ERR_DESTROYED"),tI=class extends _e{constructor(e){super(e),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&e[ak]===!0}[ak]=!0},ck=Symbol.for("undici.error.UND_ERR_CLOSED"),rI=class extends _e{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[ck]===!0}[ck]=!0},lk=Symbol.for("undici.error.UND_ERR_SOCKET"),nI=class extends _e{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[lk]===!0}[lk]=!0},Ak=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED"),sI=class extends _e{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[Ak]===!0}[Ak]=!0},uk=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM"),iI=class extends _e{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[uk]===!0}[uk]=!0},dk=Symbol.for("undici.error.UND_ERR_HTTP_PARSER"),oI=class extends Error{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[dk]===!0}[dk]=!0},mk=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE"),aI=class extends _e{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[mk]===!0}[mk]=!0},pk=Symbol.for("undici.error.UND_ERR_REQ_RETRY"),cI=class extends _e{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[pk]===!0}[pk]=!0},hk=Symbol.for("undici.error.UND_ERR_RESPONSE"),lI=class extends _e{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[hk]===!0}[hk]=!0},fk=Symbol.for("undici.error.UND_ERR_PRX_TLS"),AI=class extends _e{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[fk]===!0}[fk]=!0},gk=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"),uI=class extends _e{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[gk]===!0}get[gk](){return!0}};yk.exports={AbortError:zm,HTTPParserError:oI,UndiciError:_e,HeadersTimeoutError:YC,HeadersOverflowError:VC,BodyTimeoutError:JC,RequestContentLengthMismatchError:ZC,ConnectTimeoutError:GC,ResponseStatusCodeError:WC,InvalidArgumentError:$C,InvalidReturnValueError:jC,RequestAbortedError:KC,ClientDestroyedError:tI,ClientClosedError:rI,InformationalError:XC,SocketError:nI,NotSupportedError:sI,ResponseContentLengthMismatchError:eI,BalancedPoolMissingUpstreamError:iI,ResponseExceededMaxSizeError:aI,RequestRetryError:cI,ResponseError:lI,SecureProxyConnectionError:AI,MessageSizeExceededError:uI}});var Ym=h((N0e,Ek)=>{"use strict";var Gm={},dI=["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<dI.length;++t){let e=dI[t],r=e.toLowerCase();Gm[e]=Gm[r]=r}Object.setPrototypeOf(Gm,null);Ek.exports={wellknownHeaderNames:dI,headerNameLowerCasedRecord:Gm}});var Qk=h((S0e,Bk)=>{"use strict";var{wellknownHeaderNames:Ck,headerNameLowerCasedRecord:U5}=Ym(),mI=class t{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 o=e.charCodeAt(s);if(o>127)throw new TypeError("key must be ascii string");if(i.code===o)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<o)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}},Vm=class{node=null;insert(e,r){this.node===null?this.node=new mI(e,r,0):this.node.add(e,r)}lookup(e){return this.node?.search(e)?.value??null}},Ik=new Vm;for(let t=0;t<Ck.length;++t){let e=U5[Ck[t]];Ik.insert(e,e)}Bk.exports={TernarySearchTree:Vm,tree:Ik}});var ce=h((R0e,Uk)=>{"use strict";var xA=require("node:assert"),{kDestroyed:wk,kBodyUsed:ic,kListeners:pI,kBody:xk}=Le(),{IncomingMessage:O5}=require("node:http"),$m=require("node:stream"),q5=require("node:net"),{Blob:H5}=require("node:buffer"),z5=require("node:util"),{stringify:G5}=require("node:querystring"),{EventEmitter:Y5}=require("node:events"),{InvalidArgumentError:Qt}=ye(),{headerNameLowerCasedRecord:V5}=Ym(),{tree:bk}=Qk(),[J5,W5]=process.versions.node.split(".").map(t=>Number(t)),Wm=class{constructor(e){this[xk]=e,this[ic]=!1}async*[Symbol.asyncIterator](){xA(!this[ic],"disturbed"),this[ic]=!0,yield*this[xk]}};function $5(t){return jm(t)?(vk(t)===0&&t.on("data",function(){xA(!1)}),typeof t.readableDidRead!="boolean"&&(t[ic]=!1,Y5.prototype.on.call(t,"data",function(){this[ic]=!0})),t):t&&typeof t.pipeTo=="function"?new Wm(t):t&&typeof t!="string"&&!ArrayBuffer.isView(t)&&Pk(t)?new Wm(t):t}function j5(){}function jm(t){return t&&typeof t=="object"&&typeof t.pipe=="function"&&typeof t.on=="function"}function Nk(t){if(t===null)return!1;if(t instanceof H5)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")}}function K5(t,e){if(t.includes("?")||t.includes("#"))throw new Error('Query params cannot be passed when url already contains "?" or "#".');let r=G5(e);return r&&(t+="?"+r),t}function Sk(t){let e=parseInt(t,10);return e===Number(t)&&e>=0&&e<=65535}function Jm(t){return t!=null&&t[0]==="h"&&t[1]==="t"&&t[2]==="t"&&t[3]==="p"&&(t[4]===":"||t[4]==="s"&&t[5]===":")}function Rk(t){if(typeof t=="string"){if(t=new URL(t),!Jm(t.origin||t.protocol))throw new Qt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}if(!t||typeof t!="object")throw new Qt("Invalid URL: The URL argument must be a non-null object.");if(!(t instanceof URL)){if(t.port!=null&&t.port!==""&&Sk(t.port)===!1)throw new Qt("Invalid URL: port must be a valid integer or a string representation of an integer.");if(t.path!=null&&typeof t.path!="string")throw new Qt("Invalid URL path: the path must be a string or null/undefined.");if(t.pathname!=null&&typeof t.pathname!="string")throw new Qt("Invalid URL pathname: the pathname must be a string or null/undefined.");if(t.hostname!=null&&typeof t.hostname!="string")throw new Qt("Invalid URL hostname: the hostname must be a string or null/undefined.");if(t.origin!=null&&typeof t.origin!="string")throw new Qt("Invalid URL origin: the origin must be a string or null/undefined.");if(!Jm(t.origin||t.protocol))throw new Qt("Invalid URL protocol: the URL must start with `http:` or `https:`.");let e=t.port!=null?t.port:t.protocol==="https:"?443:80,r=t.origin!=null?t.origin:`${t.protocol||""}//${t.hostname||""}:${e}`,n=t.path!=null?t.path:`${t.pathname||""}${t.search||""}`;return r[r.length-1]==="/"&&(r=r.slice(0,r.length-1)),n&&n[0]!=="/"&&(n=`/${n}`),new URL(`${r}${n}`)}if(!Jm(t.origin||t.protocol))throw new Qt("Invalid URL protocol: the URL must start with `http:` or `https:`.");return t}function X5(t){if(t=Rk(t),t.pathname!=="/"||t.search||t.hash)throw new Qt("invalid url");return t}function Z5(t){if(t[0]==="["){let r=t.indexOf("]");return xA(r!==-1),t.substring(1,r)}let e=t.indexOf(":");return e===-1?t:t.substring(0,e)}function e9(t){if(!t)return null;xA(typeof t=="string");let e=Z5(t);return q5.isIP(e)?"":e}function t9(t){return JSON.parse(JSON.stringify(t))}function r9(t){return t!=null&&typeof t[Symbol.asyncIterator]=="function"}function Pk(t){return t!=null&&(typeof t[Symbol.iterator]=="function"||typeof t[Symbol.asyncIterator]=="function")}function vk(t){if(t==null)return 0;if(jm(t)){let e=t._readableState;return e&&e.objectMode===!1&&e.ended===!0&&Number.isFinite(e.length)?e.length:null}else{if(Nk(t))return t.size!=null?t.size:null;if(Tk(t))return t.byteLength}return null}function Dk(t){return t&&!!(t.destroyed||t[wk]||$m.isDestroyed?.(t))}function n9(t,e){t==null||!jm(t)||Dk(t)||(typeof t.destroy=="function"?(Object.getPrototypeOf(t).constructor===O5&&(t.socket=null),t.destroy(e)):e&&queueMicrotask(()=>{t.emit("error",e)}),t.destroyed!==!0&&(t[wk]=!0))}var s9=/timeout=(\d+)/;function i9(t){let e=t.toString().match(s9);return e?parseInt(e[1],10)*1e3:null}function kk(t){return typeof t=="string"?V5[t]??t.toLowerCase():bk.lookup(t)??t.toString("latin1").toLowerCase()}function o9(t){return bk.lookup(t)??t.toString("latin1").toLowerCase()}function a9(t,e){e===void 0&&(e={});for(let r=0;r<t.length;r+=2){let n=kk(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(o=>o.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}function c9(t){let e=t.length,r=new Array(e),n=!1,s=-1,i,o,a=0;for(let c=0;c<t.length;c+=2)i=t[c],o=t[c+1],typeof i!="string"&&(i=i.toString()),typeof o!="string"&&(o=o.toString("utf8")),a=i.length,a===14&&i[7]==="-"&&(i==="content-length"||i.toLowerCase()==="content-length")?n=!0:a===19&&i[7]==="-"&&(i==="content-disposition"||i.toLowerCase()==="content-disposition")&&(s=c+1),r[c]=i,r[c+1]=o;return n&&s!==-1&&(r[s]=Buffer.from(r[s]).toString("latin1")),r}function Tk(t){return t instanceof Uint8Array||Buffer.isBuffer(t)}function l9(t,e,r){if(!t||typeof t!="object")throw new Qt("handler must be an object");if(typeof t.onConnect!="function")throw new Qt("invalid onConnect method");if(typeof t.onError!="function")throw new Qt("invalid onError method");if(typeof t.onBodySent!="function"&&t.onBodySent!==void 0)throw new Qt("invalid onBodySent method");if(r||e==="CONNECT"){if(typeof t.onUpgrade!="function")throw new Qt("invalid onUpgrade method")}else{if(typeof t.onHeaders!="function")throw new Qt("invalid onHeaders method");if(typeof t.onData!="function")throw new Qt("invalid onData method");if(typeof t.onComplete!="function")throw new Qt("invalid onComplete method")}}function A9(t){return!!(t&&($m.isDisturbed(t)||t[ic]))}function u9(t){return!!(t&&$m.isErrored(t))}function d9(t){return!!(t&&$m.isReadable(t))}function m9(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}}function p9(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"})}function h9(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"}function f9(t,e){return"addEventListener"in t?(t.addEventListener("abort",e,{once:!0}),()=>t.removeEventListener("abort",e)):(t.addListener("abort",e),()=>t.removeListener("abort",e))}var g9=typeof String.prototype.toWellFormed=="function",y9=typeof String.prototype.isWellFormed=="function";function Mk(t){return g9?`${t}`.toWellFormed():z5.toUSVString(t)}function E9(t){return y9?`${t}`.isWellFormed():Mk(t)===`${t}`}function Lk(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}}function C9(t){if(t.length===0)return!1;for(let e=0;e<t.length;++e)if(!Lk(t.charCodeAt(e)))return!1;return!0}var I9=/[^\t\x20-\x7e\x80-\xff]/;function B9(t){return!I9.test(t)}function Q9(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}function x9(t,e,r){return(t[pI]??=[]).push([e,r]),t.on(e,r),t}function w9(t){for(let[e,r]of t[pI]??[])t.removeListener(e,r);t[pI]=null}function b9(t,e,r){try{e.onError(r),xA(e.aborted)}catch(n){t.emit("error",n)}}var _k=Object.create(null);_k.enumerable=!0;var hI={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"},Fk={...hI,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(hI,null);Object.setPrototypeOf(Fk,null);Uk.exports={kEnumerableProperty:_k,nop:j5,isDisturbed:A9,isErrored:u9,isReadable:d9,toUSVString:Mk,isUSVString:E9,isBlobLike:Nk,parseOrigin:X5,parseURL:Rk,getServerName:e9,isStream:jm,isIterable:Pk,isAsyncIterable:r9,isDestroyed:Dk,headerNameToString:kk,bufferToLowerCasedHeaderName:o9,addListener:x9,removeAllListeners:w9,errorRequest:b9,parseRawHeaders:c9,parseHeaders:a9,parseKeepAliveTimeout:i9,destroy:n9,bodyLength:vk,deepClone:t9,ReadableStreamFrom:p9,isBuffer:Tk,validateHandler:l9,getSocketInfo:m9,isFormDataLike:h9,buildURL:K5,addAbortListener:f9,isValidHTTPToken:C9,isValidHeaderValue:B9,isTokenCharCode:Lk,parseRangeHeader:Q9,normalizedMethodRecordsBase:hI,normalizedMethodRecords:Fk,isValidPort:Sk,isHttpOrHttpsPrefixed:Jm,nodeMajor:J5,nodeMinor:W5,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"],wrapRequestBody:$5}});var oc=h((P0e,qk)=>{"use strict";var Qe=require("node:diagnostics_channel"),gI=require("node:util"),Km=gI.debuglog("undici"),fI=gI.debuglog("fetch"),Fo=gI.debuglog("websocket"),Ok=!1,N9={beforeConnect:Qe.channel("undici:client:beforeConnect"),connected:Qe.channel("undici:client:connected"),connectError:Qe.channel("undici:client:connectError"),sendHeaders:Qe.channel("undici:client:sendHeaders"),create:Qe.channel("undici:request:create"),bodySent:Qe.channel("undici:request:bodySent"),headers:Qe.channel("undici:request:headers"),trailers:Qe.channel("undici:request:trailers"),error:Qe.channel("undici:request:error"),open:Qe.channel("undici:websocket:open"),close:Qe.channel("undici:websocket:close"),socketError:Qe.channel("undici:websocket:socket_error"),ping:Qe.channel("undici:websocket:ping"),pong:Qe.channel("undici:websocket:pong")};if(Km.enabled||fI.enabled){let t=fI.enabled?fI:Km;Qe.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)}),Qe.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)}),Qe.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:s,host:i},error:o}=e;t("connection to %s using %s%s errored - %s",`${i}${s?`:${s}`:""}`,n,r,o.message)}),Qe.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)}),Qe.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)}),Qe.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)}),Qe.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)}),Ok=!0}if(Fo.enabled){if(!Ok){let t=Km.enabled?Km:Fo;Qe.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)}),Qe.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)}),Qe.channel("undici:client:connectError").subscribe(e=>{let{connectParams:{version:r,protocol:n,port:s,host:i},error:o}=e;t("connection to %s%s using %s%s errored - %s",i,s?`:${s}`:"",n,r,o.message)}),Qe.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)})}Qe.channel("undici:websocket:open").subscribe(t=>{let{address:{address:e,port:r}}=t;Fo("connection opened %s%s",e,r?`:${r}`:"")}),Qe.channel("undici:websocket:close").subscribe(t=>{let{websocket:e,code:r,reason:n}=t;Fo("closed connection to %s - %s %s",e.url,r,n)}),Qe.channel("undici:websocket:socket_error").subscribe(t=>{Fo("connection errored - %s",t.message)}),Qe.channel("undici:websocket:ping").subscribe(t=>{Fo("ping received")}),Qe.channel("undici:websocket:pong").subscribe(t=>{Fo("pong received")})}qk.exports={channels:N9}});var Yk=h((v0e,Gk)=>{"use strict";var{InvalidArgumentError:Se,NotSupportedError:S9}=ye(),ri=require("node:assert"),{isValidHTTPToken:zk,isValidHeaderValue:yI,isStream:R9,destroy:P9,isBuffer:v9,isFormDataLike:D9,isIterable:k9,isBlobLike:T9,buildURL:M9,validateHandler:L9,getServerName:_9,normalizedMethodRecords:F9}=ce(),{channels:es}=oc(),{headerNameLowerCasedRecord:Hk}=Ym(),U9=/[^\u0021-\u00ff]/,en=Symbol("handler"),EI=class{constructor(e,{path:r,method:n,body:s,headers:i,query:o,idempotent:a,blocking:c,upgrade:l,headersTimeout:A,bodyTimeout:u,reset:d,throwOnError:m,expectContinue:p,servername:f},E){if(typeof r!="string")throw new Se("path must be a string");if(r[0]!=="/"&&!(r.startsWith("http://")||r.startsWith("https://"))&&n!=="CONNECT")throw new Se("path must be an absolute URL or start with a slash");if(U9.test(r))throw new Se("invalid request path");if(typeof n!="string")throw new Se("method must be a string");if(F9[n]===void 0&&!zk(n))throw new Se("invalid request method");if(l&&typeof l!="string")throw new Se("upgrade must be a string");if(l&&!yI(l))throw new Se("invalid upgrade header");if(A!=null&&(!Number.isFinite(A)||A<0))throw new Se("invalid headersTimeout");if(u!=null&&(!Number.isFinite(u)||u<0))throw new Se("invalid bodyTimeout");if(d!=null&&typeof d!="boolean")throw new Se("invalid reset");if(p!=null&&typeof p!="boolean")throw new Se("invalid expectContinue");if(this.headersTimeout=A,this.bodyTimeout=u,this.throwOnError=m===!0,this.method=n,this.abort=null,s==null)this.body=null;else if(R9(s)){this.body=s;let g=this.body._readableState;(!g||!g.autoDestroy)&&(this.endHandler=function(){P9(this)},this.body.on("end",this.endHandler)),this.errorHandler=y=>{this.abort?this.abort(y):this.error=y},this.body.on("error",this.errorHandler)}else if(v9(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(D9(s)||k9(s)||T9(s))this.body=s;else throw new Se("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=l||null,this.path=o?M9(r,o):r,this.origin=e,this.idempotent=a??(n==="HEAD"||n==="GET"),this.blocking=c??!1,this.reset=d??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=p??!1,Array.isArray(i)){if(i.length%2!==0)throw new Se("headers array must be even");for(let g=0;g<i.length;g+=2)Xm(this,i[g],i[g+1])}else if(i&&typeof i=="object")if(i[Symbol.iterator])for(let g of i){if(!Array.isArray(g)||g.length!==2)throw new Se("headers must be in key-value pair format");Xm(this,g[0],g[1])}else{let g=Object.keys(i);for(let y=0;y<g.length;++y)Xm(this,g[y],i[g[y]])}else if(i!=null)throw new Se("headers must be an object or an array");L9(E,n,l),this.servername=f||_9(this.host),this[en]=E,es.create.hasSubscribers&&es.create.publish({request:this})}onBodySent(e){if(this[en].onBodySent)try{return this[en].onBodySent(e)}catch(r){this.abort(r)}}onRequestSent(){if(es.bodySent.hasSubscribers&&es.bodySent.publish({request:this}),this[en].onRequestSent)try{return this[en].onRequestSent()}catch(e){this.abort(e)}}onConnect(e){if(ri(!this.aborted),ri(!this.completed),this.error)e(this.error);else return this.abort=e,this[en].onConnect(e)}onResponseStarted(){return this[en].onResponseStarted?.()}onHeaders(e,r,n,s){ri(!this.aborted),ri(!this.completed),es.headers.hasSubscribers&&es.headers.publish({request:this,response:{statusCode:e,headers:r,statusText:s}});try{return this[en].onHeaders(e,r,n,s)}catch(i){this.abort(i)}}onData(e){ri(!this.aborted),ri(!this.completed);try{return this[en].onData(e)}catch(r){return this.abort(r),!1}}onUpgrade(e,r,n){return ri(!this.aborted),ri(!this.completed),this[en].onUpgrade(e,r,n)}onComplete(e){this.onFinally(),ri(!this.aborted),this.completed=!0,es.trailers.hasSubscribers&&es.trailers.publish({request:this,trailers:e});try{return this[en].onComplete(e)}catch(r){this.onError(r)}}onError(e){if(this.onFinally(),es.error.hasSubscribers&&es.error.publish({request:this,error:e}),!this.aborted)return this.aborted=!0,this[en].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 Xm(this,e,r),this}};function Xm(t,e,r){if(r&&typeof r=="object"&&!Array.isArray(r))throw new Se(`invalid ${e} header`);if(r===void 0)return;let n=Hk[e];if(n===void 0&&(n=e.toLowerCase(),Hk[n]===void 0&&!zk(n)))throw new Se("invalid header key");if(Array.isArray(r)){let s=[];for(let i=0;i<r.length;i++)if(typeof r[i]=="string"){if(!yI(r[i]))throw new Se(`invalid ${e} header`);s.push(r[i])}else if(r[i]===null)s.push("");else{if(typeof r[i]=="object")throw new Se(`invalid ${e} header`);s.push(`${r[i]}`)}r=s}else if(typeof r=="string"){if(!yI(r))throw new Se(`invalid ${e} header`)}else r===null?r="":r=`${r}`;if(n==="host"){if(t.host!==null)throw new Se("duplicate host header");if(typeof r!="string")throw new Se("invalid host header");t.host=r}else if(n==="content-length"){if(t.contentLength!==null)throw new Se("duplicate content-length header");if(t.contentLength=parseInt(r,10),!Number.isFinite(t.contentLength))throw new Se("invalid content-length header")}else if(t.contentType===null&&n==="content-type")t.contentType=r,t.headers.push(e,r);else{if(n==="transfer-encoding"||n==="keep-alive"||n==="upgrade")throw new Se(`invalid ${n} header`);if(n==="connection"){let s=typeof r=="string"?r.toLowerCase():null;if(s!=="close"&&s!=="keep-alive")throw new Se("invalid connection header");s==="close"&&(t.reset=!0)}else{if(n==="expect")throw new S9("expect header not supported");t.headers.push(e,r)}}}Gk.exports=EI});var wA=h((D0e,Vk)=>{"use strict";var O9=require("node:events"),Zm=class extends O9{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...e){let r=Array.isArray(e[0])?e[0]:e,n=this.dispatch.bind(this);for(let s of r)if(s!=null){if(typeof s!="function")throw new TypeError(`invalid interceptor, expected function received ${typeof s}`);if(n=s(n),n==null||typeof n!="function"||n.length!==2)throw new TypeError("invalid interceptor")}return new CI(this,n)}},CI=class extends Zm{#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)}};Vk.exports=Zm});var Ac=h((k0e,Wk)=>{"use strict";var q9=wA(),{ClientDestroyedError:II,ClientClosedError:H9,InvalidArgumentError:ac}=ye(),{kDestroy:z9,kClose:G9,kClosed:bA,kDestroyed:cc,kDispatch:BI,kInterceptors:Uo}=Le(),ni=Symbol("onDestroyed"),lc=Symbol("onClosed"),ep=Symbol("Intercepted Dispatch"),Jk=Symbol("webSocketOptions"),QI=class extends q9{constructor(e){super(),this[cc]=!1,this[ni]=null,this[bA]=!1,this[lc]=[],this[Jk]=e?.webSocket??{}}get webSocketOptions(){return{maxPayloadSize:this[Jk].maxPayloadSize??128*1024*1024}}get destroyed(){return this[cc]}get closed(){return this[bA]}get interceptors(){return this[Uo]}set interceptors(e){if(e){for(let r=e.length-1;r>=0;r--)if(typeof this[Uo][r]!="function")throw new ac("interceptor must be an function")}this[Uo]=e}close(e){if(e===void 0)return new Promise((n,s)=>{this.close((i,o)=>i?s(i):n(o))});if(typeof e!="function")throw new ac("invalid callback");if(this[cc]){queueMicrotask(()=>e(new II,null));return}if(this[bA]){this[lc]?this[lc].push(e):queueMicrotask(()=>e(null,null));return}this[bA]=!0,this[lc].push(e);let r=()=>{let n=this[lc];this[lc]=null;for(let s=0;s<n.length;s++)n[s](null,null)};this[G9]().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,(o,a)=>o?i(o):s(a))});if(typeof r!="function")throw new ac("invalid callback");if(this[cc]){this[ni]?this[ni].push(r):queueMicrotask(()=>r(null,null));return}e||(e=new II),this[cc]=!0,this[ni]=this[ni]||[],this[ni].push(r);let n=()=>{let s=this[ni];this[ni]=null;for(let i=0;i<s.length;i++)s[i](null,null)};this[z9](e).then(()=>{queueMicrotask(n)})}[ep](e,r){if(!this[Uo]||this[Uo].length===0)return this[ep]=this[BI],this[BI](e,r);let n=this[BI].bind(this);for(let s=this[Uo].length-1;s>=0;s--)n=this[Uo][s](n);return this[ep]=n,n(e,r)}dispatch(e,r){if(!r||typeof r!="object")throw new ac("handler must be an object");try{if(!e||typeof e!="object")throw new ac("opts must be an object.");if(this[cc]||this[ni])throw new II;if(this[bA])throw new H9;return this[ep](e,r)}catch(n){if(typeof r.onError!="function")throw new ac("invalid onError method");return r.onError(n),!1}}};Wk.exports=QI});var PI=h((T0e,Xk)=>{"use strict";var uc=0,xI=1e3,wI=(xI>>1)-1,si,bI=Symbol("kFastTimer"),ii=[],NI=-2,SI=-1,jk=0,$k=1;function RI(){uc+=wI;let t=0,e=ii.length;for(;t<e;){let r=ii[t];r._state===jk?(r._idleStart=uc-wI,r._state=$k):r._state===$k&&uc>=r._idleStart+r._idleTimeout&&(r._state=SI,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===SI?(r._state=NI,--e!==0&&(ii[t]=ii[e])):++t}ii.length=e,ii.length!==0&&Kk()}function Kk(){si?si.refresh():(clearTimeout(si),si=setTimeout(RI,wI),si.unref&&si.unref())}var tp=class{[bI]=!0;_state=NI;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,r,n){this._onTimeout=e,this._idleTimeout=r,this._timerArg=n,this.refresh()}refresh(){this._state===NI&&ii.push(this),(!si||ii.length===1)&&Kk(),this._state=jk}clear(){this._state=SI,this._idleStart=-1}};Xk.exports={setTimeout(t,e,r){return e<=xI?setTimeout(t,e,r):new tp(t,e,r)},clearTimeout(t){t[bI]?t.clear():clearTimeout(t)},setFastTimeout(t,e,r){return new tp(t,e,r)},clearFastTimeout(t){t.clear()},now(){return uc},tick(t=0){uc+=t-xI+1,RI(),RI()},reset(){uc=0,ii.length=0,clearTimeout(si),si=null},kFastTimer:bI}});var NA=h((_0e,nT)=>{"use strict";var Y9=require("node:net"),Zk=require("node:assert"),rT=ce(),{InvalidArgumentError:V9,ConnectTimeoutError:J9}=ye(),rp=PI();function eT(){}var vI,DI;global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?DI=class{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))}}:DI=class{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 W9({allowH2:t,maxCachedSessions:e,socketPath:r,timeout:n,session:s,...i}){if(e!=null&&(!Number.isInteger(e)||e<0))throw new V9("maxCachedSessions must be a positive integer or zero");let o={path:r,...i},a=new DI(e??100);return n=n??1e4,t=t??!1,function({hostname:l,host:A,protocol:u,port:d,servername:m,localAddress:p,httpSocket:f},E){let g;if(u==="https:"){vI||(vI=require("node:tls")),m=m||o.servername||rT.getServerName(A)||null;let C=m||l;Zk(C);let I=s||a.get(C)||null;d=d||443,g=vI.connect({highWaterMark:16384,...o,servername:m,session:I,localAddress:p,ALPNProtocols:t?["http/1.1","h2"]:["http/1.1"],socket:f,port:d,host:l}),g.on("session",function(w){a.set(C,w)})}else Zk(!f,"httpSocket can only be sent on TLS update"),d=d||80,g=Y9.connect({highWaterMark:64*1024,...o,localAddress:p,port:d,host:l});if(o.keepAlive==null||o.keepAlive){let C=o.keepAliveInitialDelay===void 0?6e4:o.keepAliveInitialDelay;g.setKeepAlive(!0,C)}let y=$9(new WeakRef(g),{timeout:n,hostname:l,port:d});return g.setNoDelay(!0).once(u==="https:"?"secureConnect":"connect",function(){if(queueMicrotask(y),E){let C=E;E=null,C(null,this)}}).on("error",function(C){if(queueMicrotask(y),E){let I=E;E=null,I(C)}}),g}}var $9=process.platform==="win32"?(t,e)=>{if(!e.timeout)return eT;let r=null,n=null,s=rp.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>tT(t.deref(),e))})},e.timeout);return()=>{rp.clearFastTimeout(s),clearImmediate(r),clearImmediate(n)}}:(t,e)=>{if(!e.timeout)return eT;let r=null,n=rp.setFastTimeout(()=>{r=setImmediate(()=>{tT(t.deref(),e)})},e.timeout);return()=>{rp.clearFastTimeout(n),clearImmediate(r)}};function tT(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)`,rT.destroy(t,new J9(r))}nT.exports=W9});var sT=h(np=>{"use strict";Object.defineProperty(np,"__esModule",{value:!0});np.enumToMap=void 0;function j9(t){let e={};return Object.keys(t).forEach(r=>{let n=t[r];typeof n=="number"&&(e[r]=n)}),e}np.enumToMap=j9});var iT=h(x=>{"use strict";Object.defineProperty(x,"__esModule",{value:!0});x.SPECIAL_HEADERS=x.HEADER_STATE=x.MINOR=x.MAJOR=x.CONNECTION_TOKEN_CHARS=x.HEADER_CHARS=x.TOKEN=x.STRICT_TOKEN=x.HEX=x.URL_CHAR=x.STRICT_URL_CHAR=x.USERINFO_CHARS=x.MARK=x.ALPHANUM=x.NUM=x.HEX_MAP=x.NUM_MAP=x.ALPHA=x.FINISH=x.H_METHOD_MAP=x.METHOD_MAP=x.METHODS_RTSP=x.METHODS_ICE=x.METHODS_HTTP=x.METHODS=x.LENIENT_FLAGS=x.FLAGS=x.TYPE=x.ERROR=void 0;var K9=sT(),X9;(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"})(X9=x.ERROR||(x.ERROR={}));var Z9;(function(t){t[t.BOTH=0]="BOTH",t[t.REQUEST=1]="REQUEST",t[t.RESPONSE=2]="RESPONSE"})(Z9=x.TYPE||(x.TYPE={}));var e6;(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"})(e6=x.FLAGS||(x.FLAGS={}));var t6;(function(t){t[t.HEADERS=1]="HEADERS",t[t.CHUNKED_LENGTH=2]="CHUNKED_LENGTH",t[t.KEEP_ALIVE=4]="KEEP_ALIVE"})(t6=x.LENIENT_FLAGS||(x.LENIENT_FLAGS={}));var W;(function(t){t[t.DELETE=0]="DELETE",t[t.GET=1]="GET",t[t.HEAD=2]="HEAD",t[t.POST=3]="POST",t[t.PUT=4]="PUT",t[t.CONNECT=5]="CONNECT",t[t.OPTIONS=6]="OPTIONS",t[t.TRACE=7]="TRACE",t[t.COPY=8]="COPY",t[t.LOCK=9]="LOCK",t[t.MKCOL=10]="MKCOL",t[t.MOVE=11]="MOVE",t[t.PROPFIND=12]="PROPFIND",t[t.PROPPATCH=13]="PROPPATCH",t[t.SEARCH=14]="SEARCH",t[t.UNLOCK=15]="UNLOCK",t[t.BIND=16]="BIND",t[t.REBIND=17]="REBIND",t[t.UNBIND=18]="UNBIND",t[t.ACL=19]="ACL",t[t.REPORT=20]="REPORT",t[t.MKACTIVITY=21]="MKACTIVITY",t[t.CHECKOUT=22]="CHECKOUT",t[t.MERGE=23]="MERGE",t[t["M-SEARCH"]=24]="M-SEARCH",t[t.NOTIFY=25]="NOTIFY",t[t.SUBSCRIBE=26]="SUBSCRIBE",t[t.UNSUBSCRIBE=27]="UNSUBSCRIBE",t[t.PATCH=28]="PATCH",t[t.PURGE=29]="PURGE",t[t.MKCALENDAR=30]="MKCALENDAR",t[t.LINK=31]="LINK",t[t.UNLINK=32]="UNLINK",t[t.SOURCE=33]="SOURCE",t[t.PRI=34]="PRI",t[t.DESCRIBE=35]="DESCRIBE",t[t.ANNOUNCE=36]="ANNOUNCE",t[t.SETUP=37]="SETUP",t[t.PLAY=38]="PLAY",t[t.PAUSE=39]="PAUSE",t[t.TEARDOWN=40]="TEARDOWN",t[t.GET_PARAMETER=41]="GET_PARAMETER",t[t.SET_PARAMETER=42]="SET_PARAMETER",t[t.REDIRECT=43]="REDIRECT",t[t.RECORD=44]="RECORD",t[t.FLUSH=45]="FLUSH"})(W=x.METHODS||(x.METHODS={}));x.METHODS_HTTP=[W.DELETE,W.GET,W.HEAD,W.POST,W.PUT,W.CONNECT,W.OPTIONS,W.TRACE,W.COPY,W.LOCK,W.MKCOL,W.MOVE,W.PROPFIND,W.PROPPATCH,W.SEARCH,W.UNLOCK,W.BIND,W.REBIND,W.UNBIND,W.ACL,W.REPORT,W.MKACTIVITY,W.CHECKOUT,W.MERGE,W["M-SEARCH"],W.NOTIFY,W.SUBSCRIBE,W.UNSUBSCRIBE,W.PATCH,W.PURGE,W.MKCALENDAR,W.LINK,W.UNLINK,W.PRI,W.SOURCE];x.METHODS_ICE=[W.SOURCE];x.METHODS_RTSP=[W.OPTIONS,W.DESCRIBE,W.ANNOUNCE,W.SETUP,W.PLAY,W.PAUSE,W.TEARDOWN,W.GET_PARAMETER,W.SET_PARAMETER,W.REDIRECT,W.RECORD,W.FLUSH,W.GET,W.POST];x.METHOD_MAP=K9.enumToMap(W);x.H_METHOD_MAP={};Object.keys(x.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(x.H_METHOD_MAP[t]=x.METHOD_MAP[t])});var r6;(function(t){t[t.SAFE=0]="SAFE",t[t.SAFE_WITH_CB=1]="SAFE_WITH_CB",t[t.UNSAFE=2]="UNSAFE"})(r6=x.FINISH||(x.FINISH={}));x.ALPHA=[];for(let t=65;t<=90;t++)x.ALPHA.push(String.fromCharCode(t)),x.ALPHA.push(String.fromCharCode(t+32));x.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};x.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};x.NUM=["0","1","2","3","4","5","6","7","8","9"];x.ALPHANUM=x.ALPHA.concat(x.NUM);x.MARK=["-","_",".","!","~","*","'","(",")"];x.USERINFO_CHARS=x.ALPHANUM.concat(x.MARK).concat(["%",";",":","&","=","+","$",","]);x.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(x.ALPHANUM);x.URL_CHAR=x.STRICT_URL_CHAR.concat([" ","\f"]);for(let t=128;t<=255;t++)x.URL_CHAR.push(t);x.HEX=x.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);x.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(x.ALPHANUM);x.TOKEN=x.STRICT_TOKEN.concat([" "]);x.HEADER_CHARS=[" "];for(let t=32;t<=255;t++)t!==127&&x.HEADER_CHARS.push(t);x.CONNECTION_TOKEN_CHARS=x.HEADER_CHARS.filter(t=>t!==44);x.MAJOR=x.NUM_MAP;x.MINOR=x.MAJOR;var dc;(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"})(dc=x.HEADER_STATE||(x.HEADER_STATE={}));x.SPECIAL_HEADERS={connection:dc.CONNECTION,"content-length":dc.CONTENT_LENGTH,"proxy-connection":dc.CONNECTION,"transfer-encoding":dc.TRANSFER_ENCODING,upgrade:dc.UPGRADE}});var kI=h((O0e,oT)=>{"use strict";var{Buffer:n6}=require("node:buffer");oT.exports=n6.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGl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IARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYC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ACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJB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BAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBB+sgACwQBAAACAEGQyQALXwMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")});var SA=h((H0e,fT)=>{"use strict";var lT=["GET","HEAD","POST"],i6=new Set(lT),o6=[101,204,205,304],AT=[301,302,303,307,308],a6=new Set(AT),uT=["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"],c6=new Set(uT),dT=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],l6=new Set(dT),A6=["follow","manual","error"],mT=["GET","HEAD","OPTIONS","TRACE"],u6=new Set(mT),d6=["navigate","same-origin","no-cors","cors"],m6=["omit","same-origin","include"],p6=["default","no-store","reload","no-cache","force-cache","only-if-cached"],h6=["content-encoding","content-language","content-location","content-type","content-length"],f6=["half"],pT=["CONNECT","TRACE","TRACK"],g6=new Set(pT),hT=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],y6=new Set(hT);fT.exports={subresource:hT,forbiddenMethods:pT,requestBodyHeader:h6,referrerPolicy:dT,requestRedirect:A6,requestMode:d6,requestCredentials:m6,requestCache:p6,redirectStatus:AT,corsSafeListedMethods:lT,nullBodyStatus:o6,safeMethods:mT,badPorts:uT,requestDuplex:f6,subresourceSet:y6,badPortsSet:c6,redirectStatusSet:a6,corsSafeListedMethodsSet:i6,safeMethodsSet:u6,forbiddenMethodsSet:g6,referrerPolicySet:l6}});var MI=h((z0e,gT)=>{"use strict";var TI=Symbol.for("undici.globalOrigin.1");function E6(){return globalThis[TI]}function C6(t){if(t===void 0){Object.defineProperty(globalThis,TI,{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,TI,{value:e,writable:!0,enumerable:!1,configurable:!1})}gT.exports={getGlobalOrigin:E6,setGlobalOrigin:C6}});var ir=h((G0e,xT)=>{"use strict";var ip=require("node:assert"),I6=new TextEncoder,RA=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,B6=/[\u000A\u000D\u0009\u0020]/,Q6=/[\u0009\u000A\u000C\u000D\u0020]/g,x6=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function w6(t){ip(t.protocol==="data:");let e=CT(t,!0);e=e.slice(5);let r={position:0},n=mc(",",e,r),s=n.length;if(n=v6(n,!0,!0),r.position>=e.length)return"failure";r.position++;let i=e.slice(s+1),o=IT(i);if(/;(\u0020){0,}base64$/i.test(n)){let c=QT(o);if(o=N6(c),o==="failure")return"failure";n=n.slice(0,-6),n=n.replace(/(\u0020)+$/,""),n=n.slice(0,-1)}n.startsWith(";")&&(n="text/plain"+n);let a=LI(n);return a==="failure"&&(a=LI("text/plain;charset=US-ASCII")),{mimeType:a,body:o}}function CT(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}function op(t,e,r){let n="";for(;r.position<e.length&&t(e[r.position]);)n+=e[r.position],r.position++;return n}function mc(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))}function IT(t){let e=I6.encode(t);return b6(e)}function yT(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function ET(t){return t>=48&&t<=57?t-48:(t&223)-55}function b6(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&&!(yT(t[s+1])&&yT(t[s+2]))?r[n++]=37:(r[n++]=ET(t[s+1])<<4|ET(t[s+2]),s+=2)}return e===n?r:r.subarray(0,n)}function LI(t){t=sp(t,!0,!0);let e={position:0},r=mc("/",t,e);if(r.length===0||!RA.test(r)||e.position>t.length)return"failure";e.position++;let n=mc(";",t,e);if(n=sp(n,!1,!0),n.length===0||!RA.test(n))return"failure";let s=r.toLowerCase(),i=n.toLowerCase(),o={type:s,subtype:i,parameters:new Map,essence:`${s}/${i}`};for(;e.position<t.length;){e.position++,op(l=>B6.test(l),t,e);let a=op(l=>l!==";"&&l!=="=",t,e);if(a=a.toLowerCase(),e.position<t.length){if(t[e.position]===";")continue;e.position++}if(e.position>t.length)break;let c=null;if(t[e.position]==='"')c=BT(t,e,!0),mc(";",t,e);else if(c=mc(";",t,e),c=sp(c,!1,!0),c.length===0)continue;a.length!==0&&RA.test(a)&&(c.length===0||x6.test(c))&&!o.parameters.has(a)&&o.parameters.set(a,c)}return o}function N6(t){t=t.replace(Q6,"");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)}function BT(t,e,r){let n=e.position,s="";for(ip(t[e.position]==='"'),e.position++;s+=op(o=>o!=='"'&&o!=="\\",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{ip(i==='"');break}}return r?s:t.slice(n,e.position)}function S6(t){ip(t!=="failure");let{parameters:e,essence:r}=t,n=r;for(let[s,i]of e.entries())n+=";",n+=s,n+="=",RA.test(i)||(i=i.replace(/(\\|")/g,"\\$1"),i='"'+i,i+='"'),n+=i;return n}function R6(t){return t===13||t===10||t===9||t===32}function sp(t,e=!0,r=!0){return _I(t,e,r,R6)}function P6(t){return t===13||t===10||t===9||t===12||t===32}function v6(t,e=!0,r=!0){return _I(t,e,r,P6)}function _I(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)}function QT(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}function D6(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":""}xT.exports={dataURLProcessor:w6,URLSerializer:CT,collectASequenceOfCodePoints:op,collectASequenceOfCodePointsFast:mc,stringPercentDecode:IT,parseMIMEType:LI,collectAnHTTPQuotedString:BT,serializeAMimeType:S6,removeChars:_I,removeHTTPWhitespace:sp,minimizeSupportedMimeType:D6,HTTP_TOKEN_CODEPOINTS:RA,isomorphicDecode:QT}});var vt=h((Y0e,wT)=>{"use strict";var{types:ts,inspect:k6}=require("node:util"),{markAsUncloneable:T6}=require("node:worker_threads"),{toUSVString:M6}=ce(),Q={};Q.converters={};Q.util={};Q.errors={};Q.errors.exception=function(t){return new TypeError(`${t.header}: ${t.message}`)};Q.errors.conversionFailed=function(t){let e=t.types.length===1?"":" one of",r=`${t.argument} could not be converted to${e}: ${t.types.join(", ")}.`;return Q.errors.exception({header:t.prefix,message:r})};Q.errors.invalidArgument=function(t){return Q.errors.exception({header:t.prefix,message:`"${t.value}" is an invalid ${t.type}.`})};Q.brandCheck=function(t,e,r){if(r?.strict!==!1){if(!(t instanceof e)){let 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}};Q.argumentLengthCheck=function({length:t},e,r){if(t<e)throw Q.errors.exception({message:`${e} argument${e!==1?"s":""} required, but${t?" only":""} ${t} found.`,header:r})};Q.illegalConstructor=function(){throw Q.errors.exception({header:"TypeError",message:"Illegal constructor"})};Q.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"}};Q.util.markAsUncloneable=T6||(()=>{});Q.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 o=Number(t);if(o===0&&(o=0),n?.enforceRange===!0){if(Number.isNaN(o)||o===Number.POSITIVE_INFINITY||o===Number.NEGATIVE_INFINITY)throw Q.errors.exception({header:"Integer conversion",message:`Could not convert ${Q.util.Stringify(t)} to an integer.`});if(o=Q.util.IntegerPart(o),o<i||o>s)throw Q.errors.exception({header:"Integer conversion",message:`Value must be between ${i}-${s}, got ${o}.`});return o}return!Number.isNaN(o)&&n?.clamp===!0?(o=Math.min(Math.max(o,i),s),Math.floor(o)%2===0?o=Math.floor(o):o=Math.ceil(o),o):Number.isNaN(o)||o===0&&Object.is(0,o)||o===Number.POSITIVE_INFINITY||o===Number.NEGATIVE_INFINITY?0:(o=Q.util.IntegerPart(o),o=o%Math.pow(2,e),r==="signed"&&o>=Math.pow(2,e)-1?o-Math.pow(2,e):o)};Q.util.IntegerPart=function(t){let e=Math.floor(Math.abs(t));return t<0?-1*e:e};Q.util.Stringify=function(t){switch(Q.util.Type(t)){case"Symbol":return`Symbol(${t.description})`;case"Object":return k6(t);case"String":return`"${t}"`;default:return`${t}`}};Q.sequenceConverter=function(t){return(e,r,n,s)=>{if(Q.util.Type(e)!=="Object")throw Q.errors.exception({header:r,message:`${n} (${Q.util.Stringify(e)}) is not iterable.`});let i=typeof s=="function"?s():e?.[Symbol.iterator]?.(),o=[],a=0;if(i===void 0||typeof i.next!="function")throw Q.errors.exception({header:r,message:`${n} is not iterable.`});for(;;){let{done:c,value:l}=i.next();if(c)break;o.push(t(l,r,`${n}[${a++}]`))}return o}};Q.recordConverter=function(t,e){return(r,n,s)=>{if(Q.util.Type(r)!=="Object")throw Q.errors.exception({header:n,message:`${s} ("${Q.util.Type(r)}") is not an Object.`});let i={};if(!ts.isProxy(r)){let a=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let c of a){let l=t(c,n,s),A=e(r[c],n,s);i[l]=A}return i}let o=Reflect.ownKeys(r);for(let a of o)if(Reflect.getOwnPropertyDescriptor(r,a)?.enumerable){let l=t(a,n,s),A=e(r[a],n,s);i[l]=A}return i}};Q.interfaceConverter=function(t){return(e,r,n,s)=>{if(s?.strict!==!1&&!(e instanceof t))throw Q.errors.exception({header:r,message:`Expected ${n} ("${Q.util.Stringify(e)}") to be an instance of ${t.name}.`});return e}};Q.dictionaryConverter=function(t){return(e,r,n)=>{let s=Q.util.Type(e),i={};if(s==="Null"||s==="Undefined")return i;if(s!=="Object")throw Q.errors.exception({header:r,message:`Expected ${e} to be one of: Null, Undefined, Object.`});for(let o of t){let{key:a,defaultValue:c,required:l,converter:A}=o;if(l===!0&&!Object.hasOwn(e,a))throw Q.errors.exception({header:r,message:`Missing required key "${a}".`});let u=e[a],d=Object.hasOwn(o,"defaultValue");if(d&&u!==null&&(u??=c()),l||d||u!==void 0){if(u=A(u,r,`${n}.${a}`),o.allowedValues&&!o.allowedValues.includes(u))throw Q.errors.exception({header:r,message:`${u} is not an accepted type. Expected one of ${o.allowedValues.join(", ")}.`});i[a]=u}}return i}};Q.nullableConverter=function(t){return(e,r,n)=>e===null?e:t(e,r,n)};Q.converters.DOMString=function(t,e,r,n){if(t===null&&n?.legacyNullToEmptyString)return"";if(typeof t=="symbol")throw Q.errors.exception({header:e,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(t)};Q.converters.ByteString=function(t,e,r){let n=Q.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};Q.converters.USVString=M6;Q.converters.boolean=function(t){return!!t};Q.converters.any=function(t){return t};Q.converters["long long"]=function(t,e,r){return Q.util.ConvertToInt(t,64,"signed",void 0,e,r)};Q.converters["unsigned long long"]=function(t,e,r){return Q.util.ConvertToInt(t,64,"unsigned",void 0,e,r)};Q.converters["unsigned long"]=function(t,e,r){return Q.util.ConvertToInt(t,32,"unsigned",void 0,e,r)};Q.converters["unsigned short"]=function(t,e,r,n){return Q.util.ConvertToInt(t,16,"unsigned",n,e,r)};Q.converters.ArrayBuffer=function(t,e,r,n){if(Q.util.Type(t)!=="Object"||!ts.isAnyArrayBuffer(t))throw Q.errors.conversionFailed({prefix:e,argument:`${r} ("${Q.util.Stringify(t)}")`,types:["ArrayBuffer"]});if(n?.allowShared===!1&&ts.isSharedArrayBuffer(t))throw Q.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.resizable||t.growable)throw Q.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};Q.converters.TypedArray=function(t,e,r,n,s){if(Q.util.Type(t)!=="Object"||!ts.isTypedArray(t)||t.constructor.name!==e.name)throw Q.errors.conversionFailed({prefix:r,argument:`${n} ("${Q.util.Stringify(t)}")`,types:[e.name]});if(s?.allowShared===!1&&ts.isSharedArrayBuffer(t.buffer))throw Q.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw Q.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};Q.converters.DataView=function(t,e,r,n){if(Q.util.Type(t)!=="Object"||!ts.isDataView(t))throw Q.errors.exception({header:e,message:`${r} is not a DataView.`});if(n?.allowShared===!1&&ts.isSharedArrayBuffer(t.buffer))throw Q.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."});if(t.buffer.resizable||t.buffer.growable)throw Q.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."});return t};Q.converters.BufferSource=function(t,e,r,n){if(ts.isAnyArrayBuffer(t))return Q.converters.ArrayBuffer(t,e,r,{...n,allowShared:!1});if(ts.isTypedArray(t))return Q.converters.TypedArray(t,t.constructor,e,r,{...n,allowShared:!1});if(ts.isDataView(t))return Q.converters.DataView(t,e,r,{...n,allowShared:!1});throw Q.errors.conversionFailed({prefix:e,argument:`${r} ("${Q.util.Stringify(t)}")`,types:["BufferSource"]})};Q.converters["sequence<ByteString>"]=Q.sequenceConverter(Q.converters.ByteString);Q.converters["sequence<sequence<ByteString>>"]=Q.sequenceConverter(Q.converters["sequence<ByteString>"]);Q.converters["record<ByteString, ByteString>"]=Q.recordConverter(Q.converters.ByteString,Q.converters.ByteString);wT.exports={webidl:Q}});var br=h((V0e,UT)=>{"use strict";var{Transform:L6}=require("node:stream"),bT=require("node:zlib"),{redirectStatusSet:_6,referrerPolicySet:F6,badPortsSet:U6}=SA(),{getGlobalOrigin:NT}=MI(),{collectASequenceOfCodePoints:Oo,collectAnHTTPQuotedString:O6,removeChars:q6,parseMIMEType:H6}=ir(),{performance:z6}=require("node:perf_hooks"),{isBlobLike:G6,ReadableStreamFrom:Y6,isValidHTTPToken:ST,normalizedMethodRecordsBase:V6}=ce(),qo=require("node:assert"),{isUint8Array:J6}=require("node:util/types"),{webidl:PA}=vt(),RT=[],cp;try{cp=require("node:crypto");let t=["sha256","sha384","sha512"];RT=cp.getHashes().filter(e=>t.includes(e))}catch{}function PT(t){let e=t.urlList,r=e.length;return r===0?null:e[r-1].toString()}function W6(t,e){if(!_6.has(t.status))return null;let r=t.headersList.get("location",!0);return r!==null&&DT(r)&&(vT(r)||(r=$6(r)),r=new URL(r,PT(t))),r&&!r.hash&&(r.hash=e),r}function vT(t){for(let e=0;e<t.length;++e){let r=t.charCodeAt(e);if(r>126||r<32)return!1}return!0}function $6(t){return Buffer.from(t,"binary").toString("utf8")}function DA(t){return t.urlList[t.urlList.length-1]}function j6(t){let e=DA(t);return _T(e)&&U6.has(e.port)?"blocked":"allowed"}function K6(t){return t instanceof Error||t?.constructor?.name==="Error"||t?.constructor?.name==="DOMException"}function X6(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}var Z6=ST;function DT(t){return(t[0]===" "||t[0]===" "||t[t.length-1]===" "||t[t.length-1]===" "||t.includes(`
|
|
`)||t.includes("\r")||t.includes("\0"))===!1}function ej(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 o=n[i-1].trim();if(F6.has(o)){s=o;break}}s!==""&&(t.referrerPolicy=s)}function tj(){return"allowed"}function rj(){return"success"}function nj(){return"success"}function sj(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}function ij(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&&UI(t.origin)&&!UI(DA(t))&&(e=null);break;case"same-origin":lp(t,DA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}function pc(t,e){return t}function oj(t,e,r){return!t?.startTime||t.startTime<e?{domainLookupStartTime:e,domainLookupEndTime:e,connectionStartTime:e,connectionEndTime:e,secureConnectionStartTime:e,ALPNNegotiatedProtocol:t?.ALPNNegotiatedProtocol}:{domainLookupStartTime:pc(t.domainLookupStartTime,r),domainLookupEndTime:pc(t.domainLookupEndTime,r),connectionStartTime:pc(t.connectionStartTime,r),connectionEndTime:pc(t.connectionEndTime,r),secureConnectionStartTime:pc(t.secureConnectionStartTime,r),ALPNNegotiatedProtocol:t.ALPNNegotiatedProtocol}}function aj(t){return pc(z6.now(),t)}function cj(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}}function kT(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function lj(t){return{referrerPolicy:t.referrerPolicy}}function Aj(t){let e=t.referrerPolicy;qo(e);let r=null;if(t.referrer==="client"){let a=NT();if(!a||a.origin==="null")return"no-referrer";r=new URL(a)}else t.referrer instanceof URL&&(r=t.referrer);let n=FI(r),s=FI(r,!0);n.toString().length>4096&&(n=s);let i=lp(t,n),o=vA(n)&&!vA(t.url);switch(e){case"origin":return s??FI(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 a=DA(t);return lp(n,a)?n:vA(n)&&!vA(a)?"no-referrer":s}default:return o?"no-referrer":s}}function FI(t,e){return qo(t instanceof URL),t=new URL(t),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}function vA(t){if(!(t instanceof URL))return!1;if(t.href==="about:blank"||t.href==="about:srcdoc"||t.protocol==="data:"||t.protocol==="file:")return!0;return e(t.origin);function e(r){if(r==null||r==="null")return!1;let 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"))}}function uj(t,e){if(cp===void 0)return!0;let r=TT(e);if(r==="no metadata"||r.length===0)return!0;let n=mj(r),s=pj(r,n);for(let i of s){let o=i.algo,a=i.hash,c=cp.createHash(o).update(t).digest("base64");if(c[c.length-1]==="="&&(c[c.length-2]==="="?c=c.slice(0,-2):c=c.slice(0,-1)),hj(c,a))return!0}return!1}var dj=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function TT(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let s=dj.exec(n);if(s===null||s.groups===void 0||s.groups.algo===void 0)continue;let i=s.groups.algo.toLowerCase();RT.includes(i)&&e.push(s.groups)}return r===!0?"no metadata":e}function mj(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}function pj(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}function hj(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}function fj(t){}function lp(t,e){return t.origin===e.origin&&t.origin==="null"||t.protocol===e.protocol&&t.hostname===e.hostname&&t.port===e.port}function gj(){let t,e;return{promise:new Promise((n,s)=>{t=n,e=s}),resolve:t,reject:e}}function yj(t){return t.controller.state==="aborted"}function Ej(t){return t.controller.state==="aborted"||t.controller.state==="terminated"}function Cj(t){return V6[t.toLowerCase()]??t}function Ij(t){let e=JSON.stringify(t);if(e===void 0)throw new TypeError("Value is not JSON serializable");return qo(typeof e=="string"),e}var Bj=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function MT(t,e,r=0,n=1){class s{#e;#t;#r;constructor(o,a){this.#e=o,this.#t=a,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 o=this.#r,a=this.#e[e],c=a.length;if(o>=c)return{value:void 0,done:!0};let{[r]:l,[n]:A}=a[o];this.#r=o+1;let u;switch(this.#t){case"key":u=l;break;case"value":u=A;break;case"key+value":u=[l,A];break}return{value:u,done:!1}}}return delete s.prototype.constructor,Object.setPrototypeOf(s.prototype,Bj),Object.defineProperties(s.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${t} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(i,o){return new s(i,o)}}function Qj(t,e,r,n=0,s=1){let i=MT(t,r,n,s),o={keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return PA.brandCheck(this,e),i(this,"key")}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return PA.brandCheck(this,e),i(this,"value")}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return PA.brandCheck(this,e),i(this,"key+value")}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(c,l=globalThis){if(PA.brandCheck(this,e),PA.argumentLengthCheck(arguments,1,`${t}.forEach`),typeof c!="function")throw new TypeError(`Failed to execute 'forEach' on '${t}': parameter 1 is not of type 'Function'.`);for(let{0:A,1:u}of i(this,"key+value"))c.call(l,u,A,this)}}};return Object.defineProperties(e.prototype,{...o,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:o.entries.value}})}async function xj(t,e,r){let n=e,s=r,i;try{i=t.stream.getReader()}catch(o){s(o);return}try{n(await LT(i))}catch(o){s(o)}}function wj(t){return t instanceof ReadableStream||t[Symbol.toStringTag]==="ReadableStream"&&typeof t.tee=="function"}function bj(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}}var Nj=/[^\x00-\xFF]/;function ap(t){return qo(!Nj.test(t)),t}async function LT(t){let e=[],r=0;for(;;){let{done:n,value:s}=await t.read();if(n)return Buffer.concat(e,r);if(!J6(s))throw new TypeError("Received non-Uint8Array chunk");e.push(s),r+=s.length}}function Sj(t){qo("protocol"in t);let e=t.protocol;return e==="about:"||e==="blob:"||e==="data:"}function UI(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:"}function _T(t){qo("protocol"in t);let e=t.protocol;return e==="http:"||e==="https:"}function Rj(t,e){let r=t;if(!r.startsWith("bytes"))return"failure";let n={position:5};if(e&&Oo(c=>c===" "||c===" ",r,n),r.charCodeAt(n.position)!==61)return"failure";n.position++,e&&Oo(c=>c===" "||c===" ",r,n);let s=Oo(c=>{let l=c.charCodeAt(0);return l>=48&&l<=57},r,n),i=s.length?Number(s):null;if(e&&Oo(c=>c===" "||c===" ",r,n),r.charCodeAt(n.position)!==45)return"failure";n.position++,e&&Oo(c=>c===" "||c===" ",r,n);let o=Oo(c=>{let l=c.charCodeAt(0);return l>=48&&l<=57},r,n),a=o.length?Number(o):null;return n.position<r.length||a===null&&i===null||i>a?"failure":{rangeStartValue:i,rangeEndValue:a}}function Pj(t,e,r){let n="bytes ";return n+=ap(`${t}`),n+="-",n+=ap(`${e}`),n+="/",n+=ap(`${r}`),n}var OI=class extends L6{#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?bT.createInflate(this.#e):bT.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 vj(t){return new OI(t)}function Dj(t){let e=null,r=null,n=null,s=FT("content-type",t);if(s===null)return"failure";for(let i of s){let o=H6(i);o==="failure"||o.essence==="*/*"||(n=o,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"}function kj(t){let e=t,r={position:0},n=[],s="";for(;r.position<e.length;){if(s+=Oo(i=>i!=='"'&&i!==",",e,r),r.position<e.length)if(e.charCodeAt(r.position)===34){if(s+=O6(e,r),r.position<e.length)continue}else qo(e.charCodeAt(r.position)===44),r.position++;s=q6(s,!0,!0,i=>i===9||i===32),n.push(s),s=""}return n}function FT(t,e){let r=e.get(t,!0);return r===null?null:kj(r)}var Tj=new TextDecoder;function Mj(t){return t.length===0?"":(t[0]===239&&t[1]===187&&t[2]===191&&(t=t.subarray(3)),Tj.decode(t))}var qI=class{get baseUrl(){return NT()}get origin(){return this.baseUrl?.origin}policyContainer=kT()},HI=class{settingsObject=new qI},Lj=new HI;UT.exports={isAborted:yj,isCancelled:Ej,isValidEncodedURL:vT,createDeferredPromise:gj,ReadableStreamFrom:Y6,tryUpgradeRequestToAPotentiallyTrustworthyURL:fj,clampAndCoarsenConnectionTimingInfo:oj,coarsenedSharedCurrentTime:aj,determineRequestsReferrer:Aj,makePolicyContainer:kT,clonePolicyContainer:lj,appendFetchMetadata:sj,appendRequestOriginHeader:ij,TAOCheck:nj,corsCheck:rj,crossOriginResourcePolicyCheck:tj,createOpaqueTimingInfo:cj,setRequestReferrerPolicyOnRedirect:ej,isValidHTTPToken:ST,requestBadPort:j6,requestCurrentURL:DA,responseURL:PT,responseLocationURL:W6,isBlobLike:G6,isURLPotentiallyTrustworthy:vA,isValidReasonPhrase:X6,sameOrigin:lp,normalizeMethod:Cj,serializeJavascriptValueToJSONString:Ij,iteratorMixin:Qj,createIterator:MT,isValidHeaderName:Z6,isValidHeaderValue:DT,isErrorLike:K6,fullyReadBody:xj,bytesMatch:uj,isReadableStreamLike:wj,readableStreamClose:bj,isomorphicEncode:ap,urlIsLocal:Sj,urlHasHttpsScheme:UI,urlIsHttpHttpsScheme:_T,readAllBytes:LT,simpleRangeHeaderValue:Rj,buildContentRange:Pj,parseMetadata:TT,createInflate:vj,extractMimeType:Dj,getDecodeSplit:FT,utf8DecodeBytes:Mj,environmentSettingsObject:Lj}});var qi=h((J0e,OT)=>{"use strict";OT.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}});var GI=h((W0e,qT)=>{"use strict";var{Blob:_j,File:Fj}=require("node:buffer"),{kState:oi}=qi(),{webidl:rs}=vt(),zI=class t{constructor(e,r,n={}){let s=r,i=n.type,o=n.lastModified??Date.now();this[oi]={blobLike:e,name:s,type:i,lastModified:o}}stream(...e){return rs.brandCheck(this,t),this[oi].blobLike.stream(...e)}arrayBuffer(...e){return rs.brandCheck(this,t),this[oi].blobLike.arrayBuffer(...e)}slice(...e){return rs.brandCheck(this,t),this[oi].blobLike.slice(...e)}text(...e){return rs.brandCheck(this,t),this[oi].blobLike.text(...e)}get size(){return rs.brandCheck(this,t),this[oi].blobLike.size}get type(){return rs.brandCheck(this,t),this[oi].blobLike.type}get name(){return rs.brandCheck(this,t),this[oi].name}get lastModified(){return rs.brandCheck(this,t),this[oi].lastModified}get[Symbol.toStringTag](){return"File"}};rs.converters.Blob=rs.interfaceConverter(_j);function Uj(t){return t instanceof Fj||t&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&t[Symbol.toStringTag]==="File"}qT.exports={FileLike:zI,isFileLike:Uj}});var TA=h(($0e,VT)=>{"use strict";var{isBlobLike:Ap,iteratorMixin:Oj}=br(),{kState:Yt}=qi(),{kEnumerableProperty:hc}=ce(),{FileLike:HT,isFileLike:qj}=GI(),{webidl:Re}=vt(),{File:YT}=require("node:buffer"),zT=require("node:util"),GT=globalThis.File??YT,kA=class t{constructor(e){if(Re.util.markAsUncloneable(this),e!==void 0)throw Re.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]});this[Yt]=[]}append(e,r,n=void 0){Re.brandCheck(this,t);let s="FormData.append";if(Re.argumentLengthCheck(arguments,2,s),arguments.length===3&&!Ap(r))throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");e=Re.converters.USVString(e,s,"name"),r=Ap(r)?Re.converters.Blob(r,s,"value",{strict:!1}):Re.converters.USVString(r,s,"value"),n=arguments.length===3?Re.converters.USVString(n,s,"filename"):void 0;let i=YI(e,r,n);this[Yt].push(i)}delete(e){Re.brandCheck(this,t);let r="FormData.delete";Re.argumentLengthCheck(arguments,1,r),e=Re.converters.USVString(e,r,"name"),this[Yt]=this[Yt].filter(n=>n.name!==e)}get(e){Re.brandCheck(this,t);let r="FormData.get";Re.argumentLengthCheck(arguments,1,r),e=Re.converters.USVString(e,r,"name");let n=this[Yt].findIndex(s=>s.name===e);return n===-1?null:this[Yt][n].value}getAll(e){Re.brandCheck(this,t);let r="FormData.getAll";return Re.argumentLengthCheck(arguments,1,r),e=Re.converters.USVString(e,r,"name"),this[Yt].filter(n=>n.name===e).map(n=>n.value)}has(e){Re.brandCheck(this,t);let r="FormData.has";return Re.argumentLengthCheck(arguments,1,r),e=Re.converters.USVString(e,r,"name"),this[Yt].findIndex(n=>n.name===e)!==-1}set(e,r,n=void 0){Re.brandCheck(this,t);let s="FormData.set";if(Re.argumentLengthCheck(arguments,2,s),arguments.length===3&&!Ap(r))throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");e=Re.converters.USVString(e,s,"name"),r=Ap(r)?Re.converters.Blob(r,s,"name",{strict:!1}):Re.converters.USVString(r,s,"name"),n=arguments.length===3?Re.converters.USVString(n,s,"name"):void 0;let i=YI(e,r,n),o=this[Yt].findIndex(a=>a.name===e);o!==-1?this[Yt]=[...this[Yt].slice(0,o),i,...this[Yt].slice(o+1).filter(a=>a.name!==e)]:this[Yt].push(i)}[zT.inspect.custom](e,r){let n=this[Yt].reduce((i,o)=>(i[o.name]?Array.isArray(i[o.name])?i[o.name].push(o.value):i[o.name]=[i[o.name],o.value]:i[o.name]=o.value,i),{__proto__:null});r.depth??=e,r.colors??=!0;let s=zT.formatWithOptions(r,n);return`FormData ${s.slice(s.indexOf("]")+2)}`}};Oj("FormData",kA,Yt,"name","value");Object.defineProperties(kA.prototype,{append:hc,delete:hc,get:hc,getAll:hc,has:hc,set:hc,[Symbol.toStringTag]:{value:"FormData",configurable:!0}});function YI(t,e,r){if(typeof e!="string"){if(qj(e)||(e=e instanceof Blob?new GT([e],"blob",{type:e.type}):new HT(e,"blob",{type:e.type})),r!==void 0){let n={type:e.type,lastModified:e.lastModified};e=e instanceof YT?new GT([e],r,n):new HT(e,r,n)}}return{name:t,value:e}}VT.exports={FormData:kA,makeEntry:YI}});var XT=h((j0e,KT)=>{"use strict";var{isUSVString:JT,bufferToLowerCasedHeaderName:Hj}=ce(),{utf8DecodeBytes:zj}=br(),{HTTP_TOKEN_CODEPOINTS:Gj,isomorphicDecode:WT}=ir(),{isFileLike:Yj}=GI(),{makeEntry:Vj}=TA(),up=require("node:assert"),{File:Jj}=require("node:buffer"),Wj=globalThis.File??Jj,$j=Buffer.from('form-data; name="'),$T=Buffer.from("; filename"),jj=Buffer.from("--"),Kj=Buffer.from(`--\r
|
|
`);function Xj(t){for(let e=0;e<t.length;++e)if((t.charCodeAt(e)&-128)!==0)return!1;return!0}function Zj(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}function eK(t,e){up(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 o=t.length;for(;t[o-1]===10&&t[o-2]===13;)o-=2;for(o!==t.length&&(t=t.subarray(0,o));;){if(t.subarray(i.position,i.position+n.length).equals(n))i.position+=n.length;else return"failure";if(i.position===t.length-2&&dp(t,jj,i)||i.position===t.length-4&&dp(t,Kj,i))return s;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let a=tK(t,i);if(a==="failure")return"failure";let{name:c,filename:l,contentType:A,encoding:u}=a;i.position+=2;let d;{let p=t.indexOf(n.subarray(2),i.position);if(p===-1)return"failure";d=t.subarray(i.position,p-4),i.position+=d.length,u==="base64"&&(d=Buffer.from(d.toString(),"base64"))}if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let m;l!==null?(A??="text/plain",Xj(A)||(A=""),m=new Wj([d],l,{type:A})):m=zj(Buffer.from(d)),up(JT(c)),up(typeof m=="string"&&JT(m)||Yj(m)),s.push(Vj(c,m,l))}}function tK(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 o=fc(a=>a!==10&&a!==13&&a!==58,t,e);if(o=VI(o,!0,!0,a=>a===9||a===32),!Gj.test(o.toString())||t[e.position]!==58)return"failure";switch(e.position++,fc(a=>a===32||a===9,t,e),Hj(o)){case"content-disposition":{if(r=n=null,!dp(t,$j,e)||(e.position+=17,r=jT(t,e),r===null))return"failure";if(dp(t,$T,e)){let a=e.position+$T.length;if(t[a]===42&&(e.position+=1,a+=1),t[a]!==61||t[a+1]!==34||(e.position+=12,n=jT(t,e),n===null))return"failure"}break}case"content-type":{let a=fc(c=>c!==10&&c!==13,t,e);a=VI(a,!1,!0,c=>c===9||c===32),s=WT(a);break}case"content-transfer-encoding":{let a=fc(c=>c!==10&&c!==13,t,e);a=VI(a,!1,!0,c=>c===9||c===32),i=WT(a);break}default:fc(a=>a!==10&&a!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}function jT(t,e){up(t[e.position-1]===34);let r=fc(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)}function fc(t,e,r){let n=r.position;for(;n<e.length&&t(e[n]);)++n;return e.subarray(r.position,r.position=n)}function VI(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)}function dp(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}KT.exports={multipartFormDataParser:eK,validateBoundary:Zj}});var Ec=h((K0e,cM)=>{"use strict";var MA=ce(),{ReadableStreamFrom:rK,isBlobLike:ZT,isReadableStreamLike:nK,readableStreamClose:sK,createDeferredPromise:iK,fullyReadBody:oK,extractMimeType:aK,utf8DecodeBytes:rM}=br(),{FormData:eM}=TA(),{kState:yc}=qi(),{webidl:cK}=vt(),{Blob:lK}=require("node:buffer"),JI=require("node:assert"),{isErrored:nM,isDisturbed:AK}=require("node:stream"),{isArrayBuffer:uK}=require("node:util/types"),{serializeAMimeType:dK}=ir(),{multipartFormDataParser:mK}=XT(),WI;try{let t=require("node:crypto");WI=e=>t.randomInt(0,e)}catch{WI=t=>Math.floor(Math.random(t))}var mp=new TextEncoder;function pK(){}var sM=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,iM;sM&&(iM=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!AK(e)&&!nM(e)&&e.cancel("Response object has been garbage collected").catch(pK)}));function oM(t,e=!1){let r=null;t instanceof ReadableStream?r=t:ZT(t)?r=t.stream():r=new ReadableStream({async pull(c){let l=typeof s=="string"?mp.encode(s):s;l.byteLength&&c.enqueue(l),queueMicrotask(()=>sK(c))},start(){},type:"bytes"}),JI(nK(r));let n=null,s=null,i=null,o=null;if(typeof t=="string")s=t,o="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)s=t.toString(),o="application/x-www-form-urlencoded;charset=UTF-8";else if(uK(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(MA.isFormDataLike(t)){let c=`----formdata-undici-0${`${WI(1e11)}`.padStart(11,"0")}`,l=`--${c}\r
|
|
Content-Disposition: form-data`;let A=E=>E.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),u=E=>E.replace(/\r?\n|\r/g,`\r
|
|
`),d=[],m=new Uint8Array([13,10]);i=0;let p=!1;for(let[E,g]of t)if(typeof g=="string"){let y=mp.encode(l+`; name="${A(u(E))}"\r
|
|
\r
|
|
${u(g)}\r
|
|
`);d.push(y),i+=y.byteLength}else{let y=mp.encode(`${l}; name="${A(u(E))}"`+(g.name?`; filename="${A(g.name)}"`:"")+`\r
|
|
Content-Type: ${g.type||"application/octet-stream"}\r
|
|
\r
|
|
`);d.push(y,g,m),typeof g.size=="number"?i+=y.byteLength+g.size+m.byteLength:p=!0}let f=mp.encode(`--${c}--\r
|
|
`);d.push(f),i+=f.byteLength,p&&(i=null),s=t,n=async function*(){for(let E of d)E.stream?yield*E.stream():yield E},o=`multipart/form-data; boundary=${c}`}else if(ZT(t))s=t,i=t.size,t.type&&(o=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(MA.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:rK(t)}if((typeof s=="string"||MA.isBuffer(s))&&(i=Buffer.byteLength(s)),n!=null){let c;r=new ReadableStream({async start(){c=n(t)[Symbol.asyncIterator]()},async pull(l){let{value:A,done:u}=await c.next();if(u)queueMicrotask(()=>{l.close(),l.byobRequest?.respond(0)});else if(!nM(r)){let d=new Uint8Array(A);d.byteLength&&l.enqueue(d)}return l.desiredSize>0},async cancel(l){await c.return()},type:"bytes"})}return[{stream:r,source:s,length:i},o]}function hK(t,e=!1){return t instanceof ReadableStream&&(JI(!MA.isDisturbed(t),"The body has already been consumed."),JI(!t.locked,"The stream is locked.")),oM(t,e)}function fK(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}function gK(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}function yK(t){return{blob(){return gc(this,r=>{let n=tM(this);return n===null?n="":n&&(n=dK(n)),new lK([r],{type:n})},t)},arrayBuffer(){return gc(this,r=>new Uint8Array(r).buffer,t)},text(){return gc(this,rM,t)},json(){return gc(this,CK,t)},formData(){return gc(this,r=>{let n=tM(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let s=mK(r,n);if(s==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new eM;return i[yc]=s,i}case"application/x-www-form-urlencoded":{let s=new URLSearchParams(r.toString()),i=new eM;for(let[o,a]of s)i.append(o,a);return i}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return gc(this,r=>new Uint8Array(r),t)}}}function EK(t){Object.assign(t.prototype,yK(t))}async function gc(t,e,r){if(cK.brandCheck(t,r),aM(t))throw new TypeError("Body is unusable: Body has already been read");gK(t[yc]);let n=iK(),s=o=>n.reject(o),i=o=>{try{n.resolve(e(o))}catch(a){s(a)}};return t[yc].body==null?(i(Buffer.allocUnsafe(0)),n.promise):(await oK(t[yc].body,i,s),n.promise)}function aM(t){let e=t[yc].body;return e!=null&&(e.stream.locked||MA.isDisturbed(e.stream))}function CK(t){return JSON.parse(rM(t))}function tM(t){let e=t[yc].headersList,r=aK(e);return r==="failure"?null:r}cM.exports={extractBody:oM,safelyExtractBody:hK,cloneBody:fK,mixinBody:EK,streamRegistry:iM,hasFinalizationRegistry:sM,bodyUnusable:aM}});var BM=h((X0e,IM)=>{"use strict";var V=require("node:assert"),Z=ce(),{channels:lM}=oc(),$I=PI(),{RequestContentLengthMismatchError:Ho,ResponseContentLengthMismatchError:AM,RequestAbortedError:yM,HeadersTimeoutError:IK,HeadersOverflowError:BK,SocketError:Cp,InformationalError:Cc,BodyTimeoutError:QK,HTTPParserError:xK,ResponseExceededMaxSizeError:wK}=ye(),{kUrl:EM,kReset:or,kClient:gp,kParser:Ye,kBlocking:FA,kRunning:Mt,kPending:bK,kSize:uM,kWriting:zi,kQueue:Sn,kNoRef:LA,kKeepAliveDefaultTimeout:NK,kHostHeader:SK,kPendingIdx:RK,kRunningIdx:tn,kError:Vt,kPipelining:yp,kSocket:Ic,kKeepAliveTimeoutValue:Ip,kMaxHeadersSize:jI,kKeepAliveMaxTimeout:PK,kKeepAliveTimeoutThreshold:vK,kHeadersTimeout:DK,kBodyTimeout:kK,kStrictContentLength:ZI,kMaxRequests:dM,kCounter:TK,kMaxResponseSize:MK,kOnError:mM,kResume:Hi,kHTTPContext:CM}=Le(),Nr=iT(),pM=Buffer.alloc(0),pp=Buffer[Symbol.species],hp=Z.addListener,LK=Z.removeAllListeners,KI;async function _K(){let t=process.env.JEST_WORKER_ID?kI():void 0,e;try{e=await WebAssembly.compile(cT())}catch{e=await WebAssembly.compile(t||kI())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:(r,n,s)=>0,wasm_on_status:(r,n,s)=>{V(Ge.ptr===r);let i=n-ss+ns.byteOffset;return Ge.onStatus(new pp(ns.buffer,i,s))||0},wasm_on_message_begin:r=>(V(Ge.ptr===r),Ge.onMessageBegin()||0),wasm_on_header_field:(r,n,s)=>{V(Ge.ptr===r);let i=n-ss+ns.byteOffset;return Ge.onHeaderField(new pp(ns.buffer,i,s))||0},wasm_on_header_value:(r,n,s)=>{V(Ge.ptr===r);let i=n-ss+ns.byteOffset;return Ge.onHeaderValue(new pp(ns.buffer,i,s))||0},wasm_on_headers_complete:(r,n,s,i)=>(V(Ge.ptr===r),Ge.onHeadersComplete(n,!!s,!!i)||0),wasm_on_body:(r,n,s)=>{V(Ge.ptr===r);let i=n-ss+ns.byteOffset;return Ge.onBody(new pp(ns.buffer,i,s))||0},wasm_on_message_complete:r=>(V(Ge.ptr===r),Ge.onMessageComplete()||0)}})}var XI=null,eB=_K();eB.catch();var Ge=null,ns=null,fp=0,ss=null,FK=0,_A=1,Bc=2|_A,Ep=4|_A,tB=8|FK,rB=class{constructor(e,r,{exports:n}){V(Number.isFinite(e[jI])&&e[jI]>0),this.llhttp=n,this.ptr=this.llhttp.llhttp_alloc(Nr.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[jI],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength="",this.connection="",this.maxResponseSize=e[MK]}setTimeout(e,r){e!==this.timeoutValue||r&_A^this.timeoutType&_A?(this.timeout&&($I.clearTimeout(this.timeout),this.timeout=null),e&&(r&_A?this.timeout=$I.setFastTimeout(hM,e,new WeakRef(this)):(this.timeout=setTimeout(hM,e,new WeakRef(this)),this.timeout.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=r}resume(){this.socket.destroyed||!this.paused||(V(this.ptr!=null),V(Ge==null),this.llhttp.llhttp_resume(this.ptr),V(this.timeoutType===Ep),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||pM),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){V(this.ptr!=null),V(Ge==null),V(!this.paused);let{socket:r,llhttp:n}=this;e.length>fp&&(ss&&n.free(ss),fp=Math.ceil(e.length/4096)*4096,ss=n.malloc(fp)),new Uint8Array(n.memory.buffer,ss,fp).set(e);try{let s;try{ns=e,Ge=this,s=n.llhttp_execute(this.ptr,ss,e.length)}catch(o){throw o}finally{Ge=null,ns=null}let i=n.llhttp_get_error_pos(this.ptr)-ss;if(s!==Nr.ERROR.OK){let o=e.subarray(i);if(s===Nr.ERROR.PAUSED_UPGRADE)this.onUpgrade(o);else if(s===Nr.ERROR.PAUSED)this.paused=!0,r.unshift(o);else throw this.createError(s,o)}}catch(s){Z.destroy(r,s)}}finish(){V(Ge===null),V(this.ptr!=null),V(!this.paused);let{llhttp:e}=this,r;try{Ge=this,r=e.llhttp_finish(this.ptr)}finally{Ge=null}return r===Nr.ERROR.OK?null:r===Nr.ERROR.PAUSED||r===Nr.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(r,pM)}createError(e,r){let{llhttp:n,contentLength:s,bytesRead:i}=this;if(s&&i!==parseInt(s,10))return new AM;let o=n.llhttp_get_error_reason(this.ptr),a="";if(o){let c=new Uint8Array(n.memory.buffer,o).indexOf(0);a="Response does not match the HTTP/1.1 protocol ("+Buffer.from(n.memory.buffer,o,c).toString()+")"}return new xK(a,Nr.ERROR[e],r)}destroy(){V(this.ptr!=null),V(Ge==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&$I.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[Sn][r[tn]];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=Z.bufferToLowerCasedHeaderName(n);s==="keep-alive"?this.keepAlive+=e.toString():s==="connection"&&(this.connection+=e.toString())}else n.length===14&&Z.bufferToLowerCasedHeaderName(n)==="content-length"&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&Z.destroy(this.socket,new BK)}onUpgrade(e){let{upgrade:r,client:n,socket:s,headers:i,statusCode:o}=this;V(r),V(n[Ic]===s),V(!s.destroyed),V(!this.paused),V((i.length&1)===0);let a=n[Sn][n[tn]];V(a),V(a.upgrade||a.method==="CONNECT"),this.statusCode=null,this.statusText="",this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,s.unshift(e),s[Ye].destroy(),s[Ye]=null,s[gp]=null,s[Vt]=null,LK(s),n[Ic]=null,n[CM]=null,n[Sn][n[tn]++]=null,n.emit("disconnect",n[EM],[n],new Cc("upgrade"));try{a.onUpgrade(o,i,s)}catch(c){Z.destroy(s,c)}n[Hi]()}onHeadersComplete(e,r,n){let{client:s,socket:i,headers:o,statusText:a}=this;if(i.destroyed)return-1;let c=s[Sn][s[tn]];if(!c)return-1;if(V(!this.upgrade),V(this.statusCode<200),e===100)return Z.destroy(i,new Cp("bad response",Z.getSocketInfo(i))),-1;if(r&&!c.upgrade)return Z.destroy(i,new Cp("bad upgrade",Z.getSocketInfo(i))),-1;if(V(this.timeoutType===Bc),this.statusCode=e,this.shouldKeepAlive=n||c.method==="HEAD"&&!i[or]&&this.connection.toLowerCase()==="keep-alive",this.statusCode>=200){let A=c.bodyTimeout!=null?c.bodyTimeout:s[kK];this.setTimeout(A,Ep)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(c.method==="CONNECT")return V(s[Mt]===1),this.upgrade=!0,2;if(r)return V(s[Mt]===1),this.upgrade=!0,2;if(V((this.headers.length&1)===0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&s[yp]){let A=this.keepAlive?Z.parseKeepAliveTimeout(this.keepAlive):null;if(A!=null){let u=Math.min(A-s[vK],s[PK]);u<=0?i[or]=!0:s[Ip]=u}else s[Ip]=s[NK]}else i[or]=!0;let l=c.onHeaders(e,o,this.resume,a)===!1;return c.aborted?-1:c.method==="HEAD"||e<200?1:(i[FA]&&(i[FA]=!1,s[Hi]()),l?Nr.ERROR.PAUSED:0)}onBody(e){let{client:r,socket:n,statusCode:s,maxResponseSize:i}=this;if(n.destroyed)return-1;let o=r[Sn][r[tn]];if(V(o),V(this.timeoutType===Ep),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),V(s>=200),i>-1&&this.bytesRead+e.length>i)return Z.destroy(n,new wK),-1;if(this.bytesRead+=e.length,o.onData(e)===!1)return Nr.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:r,statusCode:n,upgrade:s,headers:i,contentLength:o,bytesRead:a,shouldKeepAlive:c}=this;if(r.destroyed&&(!n||c))return-1;if(s)return;V(n>=100),V((this.headers.length&1)===0);let l=e[Sn][e[tn]];if(V(l),this.statusCode=null,this.statusText="",this.bytesRead=0,this.contentLength="",this.keepAlive="",this.connection="",this.headers=[],this.headersSize=0,!(n<200)){if(l.method!=="HEAD"&&o&&a!==parseInt(o,10))return Z.destroy(r,new AM),-1;if(l.onComplete(i),e[Sn][e[tn]++]=null,r[zi])return V(e[Mt]===0),Z.destroy(r,new Cc("reset")),Nr.ERROR.PAUSED;if(c){if(r[or]&&e[Mt]===0)return Z.destroy(r,new Cc("reset")),Nr.ERROR.PAUSED;e[yp]==null||e[yp]===1?setImmediate(()=>e[Hi]()):e[Hi]()}else return Z.destroy(r,new Cc("reset")),Nr.ERROR.PAUSED}}};function hM(t){let{socket:e,timeoutType:r,client:n,paused:s}=t.deref();r===Bc?(!e[zi]||e.writableNeedDrain||n[Mt]>1)&&(V(!s,"cannot be paused while waiting for headers"),Z.destroy(e,new IK)):r===Ep?s||Z.destroy(e,new QK):r===tB&&(V(n[Mt]===0&&n[Ip]),Z.destroy(e,new Cc("socket idle timeout")))}async function UK(t,e){t[Ic]=e,XI||(XI=await eB,eB=null),e[LA]=!1,e[zi]=!1,e[or]=!1,e[FA]=!1,e[Ye]=new rB(t,e,XI),hp(e,"error",function(n){V(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID");let s=this[Ye];if(n.code==="ECONNRESET"&&s.statusCode&&!s.shouldKeepAlive){let i=s.finish();i&&(this[Vt]=i,this[gp][mM](i));return}this[Vt]=n,this[gp][mM](n)}),hp(e,"readable",function(){let n=this[Ye];n&&n.readMore()}),hp(e,"end",function(){let n=this[Ye];if(n.statusCode&&!n.shouldKeepAlive){let s=n.finish();s&&Z.destroy(this,s);return}Z.destroy(this,new Cp("other side closed",Z.getSocketInfo(this)))}),hp(e,"close",function(){let n=this[gp],s=this[Ye];s&&(!this[Vt]&&s.statusCode&&!s.shouldKeepAlive&&(this[Vt]=s.finish()||this[Vt]),this[Ye].destroy(),this[Ye]=null);let i=this[Vt]||new Cp("closed",Z.getSocketInfo(this));if(n[Ic]=null,n[CM]=null,n.destroyed){V(n[bK]===0);let o=n[Sn].splice(n[tn]);for(let a=0;a<o.length;a++){let c=o[a];Z.errorRequest(n,c,i)}}else if(n[Mt]>0&&i.code!=="UND_ERR_INFO"){let o=n[Sn][n[tn]];n[Sn][n[tn]++]=null,Z.errorRequest(n,o,i)}n[RK]=n[tn],V(n[Mt]===0),n.emit("disconnect",n[EM],[n],i),n[Hi]()});let r=!1;return e.on("close",()=>{r=!0}),{version:"h1",defaultPipelining:1,write(...n){return HK(t,...n)},resume(){OK(t)},destroy(n,s){r?queueMicrotask(s):e.destroy(n).on("close",s)},get destroyed(){return e.destroyed},busy(n){return!!(e[zi]||e[or]||e[FA]||n&&(t[Mt]>0&&!n.idempotent||t[Mt]>0&&(n.upgrade||n.method==="CONNECT")||t[Mt]>0&&Z.bodyLength(n.body)!==0&&(Z.isStream(n.body)||Z.isAsyncIterable(n.body)||Z.isFormDataLike(n.body))))}}}function OK(t){let e=t[Ic];if(e&&!e.destroyed){if(t[uM]===0?!e[LA]&&e.unref&&(e.unref(),e[LA]=!0):e[LA]&&e.ref&&(e.ref(),e[LA]=!1),t[uM]===0)e[Ye].timeoutType!==tB&&e[Ye].setTimeout(t[Ip],tB);else if(t[Mt]>0&&e[Ye].statusCode<200&&e[Ye].timeoutType!==Bc){let r=t[Sn][t[tn]],n=r.headersTimeout!=null?r.headersTimeout:t[DK];e[Ye].setTimeout(n,Bc)}}}function qK(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}function HK(t,e){let{method:r,path:n,host:s,upgrade:i,blocking:o,reset:a}=e,{body:c,headers:l,contentLength:A}=e,u=r==="PUT"||r==="POST"||r==="PATCH"||r==="QUERY"||r==="PROPFIND"||r==="PROPPATCH";if(Z.isFormDataLike(c)){KI||(KI=Ec().extractBody);let[E,g]=KI(c);e.contentType==null&&l.push("content-type",g),c=E.stream,A=E.length}else Z.isBlobLike(c)&&e.contentType==null&&c.type&&l.push("content-type",c.type);c&&typeof c.read=="function"&&c.read(0);let d=Z.bodyLength(c);if(A=d??A,A===null&&(A=e.contentLength),A===0&&!u&&(A=null),qK(r)&&A>0&&e.contentLength!==null&&e.contentLength!==A){if(t[ZI])return Z.errorRequest(t,e,new Ho),!1;process.emitWarning(new Ho)}let m=t[Ic],p=E=>{e.aborted||e.completed||(Z.errorRequest(t,e,E||new yM),Z.destroy(c),Z.destroy(m,new Cc("aborted")))};try{e.onConnect(p)}catch(E){Z.errorRequest(t,e,E)}if(e.aborted)return!1;r==="HEAD"&&(m[or]=!0),(i||r==="CONNECT")&&(m[or]=!0),a!=null&&(m[or]=a),t[dM]&&m[TK]++>=t[dM]&&(m[or]=!0),o&&(m[FA]=!0);let f=`${r} ${n} HTTP/1.1\r
|
|
`;if(typeof s=="string"?f+=`host: ${s}\r
|
|
`:f+=t[SK],i?f+=`connection: upgrade\r
|
|
upgrade: ${i}\r
|
|
`:t[yp]&&!m[or]?f+=`connection: keep-alive\r
|
|
`:f+=`connection: close\r
|
|
`,Array.isArray(l))for(let E=0;E<l.length;E+=2){let g=l[E+0],y=l[E+1];if(Array.isArray(y))for(let C=0;C<y.length;C++)f+=`${g}: ${y[C]}\r
|
|
`;else f+=`${g}: ${y}\r
|
|
`}return lM.sendHeaders.hasSubscribers&&lM.sendHeaders.publish({request:e,headers:f,socket:m}),!c||d===0?fM(p,null,t,e,m,A,f,u):Z.isBuffer(c)?fM(p,c,t,e,m,A,f,u):Z.isBlobLike(c)?typeof c.stream=="function"?gM(p,c.stream(),t,e,m,A,f,u):GK(p,c,t,e,m,A,f,u):Z.isStream(c)?zK(p,c,t,e,m,A,f,u):Z.isIterable(c)?gM(p,c,t,e,m,A,f,u):V(!1),!0}function zK(t,e,r,n,s,i,o,a){V(i!==0||r[Mt]===0,"stream body cannot be pipelined");let c=!1,l=new Bp({abort:t,socket:s,request:n,contentLength:i,client:r,expectsPayload:a,header:o}),A=function(p){if(!c)try{!l.write(p)&&this.pause&&this.pause()}catch(f){Z.destroy(this,f)}},u=function(){c||e.resume&&e.resume()},d=function(){if(queueMicrotask(()=>{e.removeListener("error",m)}),!c){let p=new yM;queueMicrotask(()=>m(p))}},m=function(p){if(!c){if(c=!0,V(s.destroyed||s[zi]&&r[Mt]<=1),s.off("drain",u).off("error",m),e.removeListener("data",A).removeListener("end",m).removeListener("close",d),!p)try{l.end()}catch(f){p=f}l.destroy(p),p&&(p.code!=="UND_ERR_INFO"||p.message!=="reset")?Z.destroy(e,p):Z.destroy(e)}};e.on("data",A).on("end",m).on("error",m).on("close",d),e.resume&&e.resume(),s.on("drain",u).on("error",m),e.errorEmitted??e.errored?setImmediate(()=>m(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>m(null)),(e.closeEmitted??e.closed)&&setImmediate(d)}function fM(t,e,r,n,s,i,o,a){try{e?Z.isBuffer(e)&&(V(i===e.byteLength,"buffer body must have content length"),s.cork(),s.write(`${o}content-length: ${i}\r
|
|
\r
|
|
`,"latin1"),s.write(e),s.uncork(),n.onBodySent(e),!a&&n.reset!==!1&&(s[or]=!0)):i===0?s.write(`${o}content-length: 0\r
|
|
\r
|
|
`,"latin1"):(V(i===null,"no body must not have content length"),s.write(`${o}\r
|
|
`,"latin1")),n.onRequestSent(),r[Hi]()}catch(c){t(c)}}async function GK(t,e,r,n,s,i,o,a){V(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new Ho;let c=Buffer.from(await e.arrayBuffer());s.cork(),s.write(`${o}content-length: ${i}\r
|
|
\r
|
|
`,"latin1"),s.write(c),s.uncork(),n.onBodySent(c),n.onRequestSent(),!a&&n.reset!==!1&&(s[or]=!0),r[Hi]()}catch(c){t(c)}}async function gM(t,e,r,n,s,i,o,a){V(i!==0||r[Mt]===0,"iterator body cannot be pipelined");let c=null;function l(){if(c){let d=c;c=null,d()}}let A=()=>new Promise((d,m)=>{V(c===null),s[Vt]?m(s[Vt]):c=d});s.on("close",l).on("drain",l);let u=new Bp({abort:t,socket:s,request:n,contentLength:i,client:r,expectsPayload:a,header:o});try{for await(let d of e){if(s[Vt])throw s[Vt];u.write(d)||await A()}u.end()}catch(d){u.destroy(d)}finally{s.off("close",l).off("drain",l)}}var Bp=class{constructor({abort:e,socket:r,request:n,contentLength:s,client:i,expectsPayload:o,header:a}){this.socket=r,this.request=n,this.contentLength=s,this.client=i,this.bytesWritten=0,this.expectsPayload=o,this.header=a,this.abort=e,r[zi]=!0}write(e){let{socket:r,request:n,contentLength:s,client:i,bytesWritten:o,expectsPayload:a,header:c}=this;if(r[Vt])throw r[Vt];if(r.destroyed)return!1;let l=Buffer.byteLength(e);if(!l)return!0;if(s!==null&&o+l>s){if(i[ZI])throw new Ho;process.emitWarning(new Ho)}r.cork(),o===0&&(!a&&n.reset!==!1&&(r[or]=!0),s===null?r.write(`${c}transfer-encoding: chunked\r
|
|
`,"latin1"):r.write(`${c}content-length: ${s}\r
|
|
\r
|
|
`,"latin1")),s===null&&r.write(`\r
|
|
${l.toString(16)}\r
|
|
`,"latin1"),this.bytesWritten+=l;let A=r.write(e);return r.uncork(),n.onBodySent(e),A||r[Ye].timeout&&r[Ye].timeoutType===Bc&&r[Ye].timeout.refresh&&r[Ye].timeout.refresh(),A}end(){let{socket:e,contentLength:r,client:n,bytesWritten:s,expectsPayload:i,header:o,request:a}=this;if(a.onRequestSent(),e[zi]=!1,e[Vt])throw e[Vt];if(!e.destroyed){if(s===0?i?e.write(`${o}content-length: 0\r
|
|
\r
|
|
`,"latin1"):e.write(`${o}\r
|
|
`,"latin1"):r===null&&e.write(`\r
|
|
0\r
|
|
\r
|
|
`,"latin1"),r!==null&&s!==r){if(n[ZI])throw new Ho;process.emitWarning(new Ho)}e[Ye].timeout&&e[Ye].timeoutType===Bc&&e[Ye].timeout.refresh&&e[Ye].timeout.refresh(),n[Hi]()}}destroy(e){let{socket:r,client:n,abort:s}=this;r[zi]=!1,e&&(V(n[Mt]<=1,"pipeline should only contain this request"),s(e))}};IM.exports=UK});var PM=h((Z0e,RM)=>{"use strict";var rn=require("node:assert"),{pipeline:YK}=require("node:stream"),Ae=ce(),{RequestContentLengthMismatchError:nB,RequestAbortedError:QM,SocketError:UA,InformationalError:sB}=ye(),{kUrl:Qp,kReset:wp,kClient:Qc,kRunning:bp,kPending:VK,kQueue:Gi,kPendingIdx:iB,kRunningIdx:Rn,kError:vn,kSocket:xt,kStrictContentLength:JK,kOnError:oB,kMaxConcurrentStreams:SM,kHTTP2Session:Pn,kResume:Yi,kSize:WK,kHTTPContext:$K}=Le(),ai=Symbol("open streams"),xM,wM=!1,xp;try{xp=require("node:http2")}catch{xp={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:jK,HTTP2_HEADER_METHOD:KK,HTTP2_HEADER_PATH:XK,HTTP2_HEADER_SCHEME:ZK,HTTP2_HEADER_CONTENT_LENGTH:eX,HTTP2_HEADER_EXPECT:tX,HTTP2_HEADER_STATUS:rX}}=xp;function nX(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}async function sX(t,e){t[xt]=e,wM||(wM=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=xp.connect(t[Qp],{createConnection:()=>e,peerMaxConcurrentStreams:t[SM]});r[ai]=0,r[Qc]=t,r[xt]=e,Ae.addListener(r,"error",oX),Ae.addListener(r,"frameError",aX),Ae.addListener(r,"end",cX),Ae.addListener(r,"goaway",lX),Ae.addListener(r,"close",function(){let{[Qc]:s}=this,{[xt]:i}=s,o=this[xt][vn]||this[vn]||new UA("closed",Ae.getSocketInfo(i));if(s[Pn]=null,s.destroyed){rn(s[VK]===0);let a=s[Gi].splice(s[Rn]);for(let c=0;c<a.length;c++){let l=a[c];Ae.errorRequest(s,l,o)}}}),r.unref(),t[Pn]=r,e[Pn]=r,Ae.addListener(e,"error",function(s){rn(s.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[vn]=s,this[Qc][oB](s)}),Ae.addListener(e,"end",function(){Ae.destroy(this,new UA("other side closed",Ae.getSocketInfo(this)))}),Ae.addListener(e,"close",function(){let s=this[vn]||new UA("closed",Ae.getSocketInfo(this));t[xt]=null,this[Pn]!=null&&this[Pn].destroy(s),t[iB]=t[Rn],rn(t[bp]===0),t.emit("disconnect",t[Qp],[t],s),t[Yi]()});let n=!1;return e.on("close",()=>{n=!0}),{version:"h2",defaultPipelining:1/0,write(...s){return uX(t,...s)},resume(){iX(t)},destroy(s,i){n?queueMicrotask(i):e.destroy(s).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}function iX(t){let e=t[xt];e?.destroyed===!1&&(t[WK]===0&&t[SM]===0?(e.unref(),t[Pn].unref()):(e.ref(),t[Pn].ref()))}function oX(t){rn(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[xt][vn]=t,this[Qc][oB](t)}function aX(t,e,r){if(r===0){let n=new sB(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[xt][vn]=n,this[Qc][oB](n)}}function cX(){let t=new UA("other side closed",Ae.getSocketInfo(this[xt]));this.destroy(t),Ae.destroy(this[xt],t)}function lX(t){let e=this[vn]||new UA(`HTTP/2: "GOAWAY" frame received with code ${t}`,Ae.getSocketInfo(this)),r=this[Qc];if(r[xt]=null,r[$K]=null,this[Pn]!=null&&(this[Pn].destroy(e),this[Pn]=null),Ae.destroy(this[xt],e),r[Rn]<r[Gi].length){let n=r[Gi][r[Rn]];r[Gi][r[Rn]++]=null,Ae.errorRequest(r,n,e),r[iB]=r[Rn]}rn(r[bp]===0),r.emit("disconnect",r[Qp],[r],e),r[Yi]()}function AX(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}function uX(t,e){let r=t[Pn],{method:n,path:s,host:i,upgrade:o,expectContinue:a,signal:c,headers:l}=e,{body:A}=e;if(o)return Ae.errorRequest(t,e,new Error("Upgrade not supported for H2")),!1;let u={};for(let I=0;I<l.length;I+=2){let w=l[I+0],D=l[I+1];if(Array.isArray(D))for(let _=0;_<D.length;_++)u[w]?u[w]+=`,${D[_]}`:u[w]=D[_];else u[w]=D}let d,{hostname:m,port:p}=t[Qp];u[jK]=i||`${m}${p?`:${p}`:""}`,u[KK]=n;let f=I=>{e.aborted||e.completed||(I=I||new QM,Ae.errorRequest(t,e,I),d!=null&&Ae.destroy(d,I),Ae.destroy(A,I),t[Gi][t[Rn]++]=null,t[Yi]())};try{e.onConnect(f)}catch(I){Ae.errorRequest(t,e,I)}if(e.aborted)return!1;if(n==="CONNECT")return r.ref(),d=r.request(u,{endStream:!1,signal:c}),d.id&&!d.pending?(e.onUpgrade(null,null,d),++r[ai],t[Gi][t[Rn]++]=null):d.once("ready",()=>{e.onUpgrade(null,null,d),++r[ai],t[Gi][t[Rn]++]=null}),d.once("close",()=>{r[ai]-=1,r[ai]===0&&r.unref()}),!0;u[XK]=s,u[ZK]="https";let E=n==="PUT"||n==="POST"||n==="PATCH";A&&typeof A.read=="function"&&A.read(0);let g=Ae.bodyLength(A);if(Ae.isFormDataLike(A)){xM??=Ec().extractBody;let[I,w]=xM(A);u["content-type"]=w,A=I.stream,g=I.length}if(g==null&&(g=e.contentLength),(g===0||!E)&&(g=null),AX(n)&&g>0&&e.contentLength!=null&&e.contentLength!==g){if(t[JK])return Ae.errorRequest(t,e,new nB),!1;process.emitWarning(new nB)}g!=null&&(rn(A,"no body must not have content length"),u[eX]=`${g}`),r.ref();let y=n==="GET"||n==="HEAD"||A===null;return a?(u[tX]="100-continue",d=r.request(u,{endStream:y,signal:c}),d.once("continue",C)):(d=r.request(u,{endStream:y,signal:c}),C()),++r[ai],d.once("response",I=>{let{[rX]:w,...D}=I;if(e.onResponseStarted(),e.aborted){let _=new QM;Ae.errorRequest(t,e,_),Ae.destroy(d,_);return}e.onHeaders(Number(w),nX(D),d.resume.bind(d),"")===!1&&d.pause(),d.on("data",_=>{e.onData(_)===!1&&d.pause()})}),d.once("end",()=>{(d.state?.state==null||d.state.state<6)&&e.onComplete([]),r[ai]===0&&r.unref(),f(new sB("HTTP/2: stream half-closed (remote)")),t[Gi][t[Rn]++]=null,t[iB]=t[Rn],t[Yi]()}),d.once("close",()=>{r[ai]-=1,r[ai]===0&&r.unref()}),d.once("error",function(I){f(I)}),d.once("frameError",(I,w)=>{f(new sB(`HTTP/2: "frameError" received - type ${I}, code ${w}`))}),!0;function C(){!A||g===0?bM(f,d,null,t,e,t[xt],g,E):Ae.isBuffer(A)?bM(f,d,A,t,e,t[xt],g,E):Ae.isBlobLike(A)?typeof A.stream=="function"?NM(f,d,A.stream(),t,e,t[xt],g,E):mX(f,d,A,t,e,t[xt],g,E):Ae.isStream(A)?dX(f,t[xt],E,d,A,t,e,g):Ae.isIterable(A)?NM(f,d,A,t,e,t[xt],g,E):rn(!1)}}function bM(t,e,r,n,s,i,o,a){try{r!=null&&Ae.isBuffer(r)&&(rn(o===r.byteLength,"buffer body must have content length"),e.cork(),e.write(r),e.uncork(),e.end(),s.onBodySent(r)),a||(i[wp]=!0),s.onRequestSent(),n[Yi]()}catch(c){t(c)}}function dX(t,e,r,n,s,i,o,a){rn(a!==0||i[bp]===0,"stream body cannot be pipelined");let c=YK(s,n,A=>{A?(Ae.destroy(c,A),t(A)):(Ae.removeAllListeners(c),o.onRequestSent(),r||(e[wp]=!0),i[Yi]())});Ae.addListener(c,"data",l);function l(A){o.onBodySent(A)}}async function mX(t,e,r,n,s,i,o,a){rn(o===r.size,"blob body must have content length");try{if(o!=null&&o!==r.size)throw new nB;let c=Buffer.from(await r.arrayBuffer());e.cork(),e.write(c),e.uncork(),e.end(),s.onBodySent(c),s.onRequestSent(),a||(i[wp]=!0),n[Yi]()}catch(c){t(c)}}async function NM(t,e,r,n,s,i,o,a){rn(o!==0||n[bp]===0,"iterator body cannot be pipelined");let c=null;function l(){if(c){let u=c;c=null,u()}}let A=()=>new Promise((u,d)=>{rn(c===null),i[vn]?d(i[vn]):c=u});e.on("close",l).on("drain",l);try{for await(let u of r){if(i[vn])throw i[vn];let d=e.write(u);s.onBodySent(u),d||await A()}e.end(),s.onRequestSent(),a||(i[wp]=!0),n[Yi]()}catch(u){t(u)}finally{e.off("close",l).off("drain",l)}}RM.exports=sX});var Sp=h((eNe,kM)=>{"use strict";var is=ce(),{kBodyUsed:OA}=Le(),cB=require("node:assert"),{InvalidArgumentError:pX}=ye(),hX=require("node:events"),fX=[300,301,302,303,307,308],vM=Symbol("body"),Np=class{constructor(e){this[vM]=e,this[OA]=!1}async*[Symbol.asyncIterator](){cB(!this[OA],"disturbed"),this[OA]=!0,yield*this[vM]}},aB=class{constructor(e,r,n,s){if(r!=null&&(!Number.isInteger(r)||r<0))throw new pX("maxRedirections must be a positive number");is.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,is.isStream(this.opts.body)?(is.bodyLength(this.opts.body)===0&&this.opts.body.on("data",function(){cB(!1)}),typeof this.opts.body.readableDidRead!="boolean"&&(this.opts.body[OA]=!1,hX.prototype.on.call(this.opts.body,"data",function(){this[OA]=!0}))):this.opts.body&&typeof this.opts.body.pipeTo=="function"?this.opts.body=new Np(this.opts.body):this.opts.body&&typeof this.opts.body!="string"&&!ArrayBuffer.isView(this.opts.body)&&is.isIterable(this.opts.body)&&(this.opts.body=new Np(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||is.isDisturbed(this.opts.body)?null:gX(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:o,search:a}=is.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),c=a?`${o}${a}`:o;this.opts.headers=yX(this.opts.headers,e===303,this.opts.origin!==i),this.opts.path=c,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 gX(t,e){if(fX.indexOf(t)===-1)return null;for(let r=0;r<e.length;r+=2)if(e[r].length===8&&is.headerNameToString(e[r])==="location")return e[r+1]}function DM(t,e,r){if(t.length===4)return is.headerNameToString(t)==="host";if(e&&is.headerNameToString(t).startsWith("content-"))return!0;if(r&&(t.length===13||t.length===6||t.length===19)){let n=is.headerNameToString(t);return n==="authorization"||n==="cookie"||n==="proxy-authorization"}return!1}function yX(t,e,r){let n=[];if(Array.isArray(t))for(let s=0;s<t.length;s+=2)DM(t[s],e,r)||n.push(t[s],t[s+1]);else if(t&&typeof t=="object")for(let s of Object.keys(t))DM(s,e,r)||n.push(s,t[s]);else cB(t==null,"headers must be an object or an array");return n}kM.exports=aB});var Rp=h((tNe,TM)=>{"use strict";var EX=Sp();function CX({maxRedirections:t}){return e=>function(n,s){let{maxRedirections:i=t}=n;if(!i)return e(n,s);let o=new EX(e,i,n,s);return n={...n,maxRedirections:0},e(n,o)}}TM.exports=CX});var bc=h((rNe,GM)=>{"use strict";var ci=require("node:assert"),OM=require("node:net"),IX=require("node:http"),zo=ce(),{channels:xc}=oc(),BX=Yk(),QX=Ac(),{InvalidArgumentError:rt,InformationalError:xX,ClientDestroyedError:wX}=ye(),bX=NA(),{kUrl:os,kServerName:Vi,kClient:NX,kBusy:lB,kConnect:SX,kResuming:Go,kRunning:YA,kPending:VA,kSize:GA,kQueue:Dn,kConnected:RX,kConnecting:wc,kNeedDrain:Wi,kKeepAliveDefaultTimeout:MM,kHostHeader:PX,kPendingIdx:kn,kRunningIdx:li,kError:vX,kPipelining:Pp,kKeepAliveTimeoutValue:DX,kMaxHeadersSize:kX,kKeepAliveMaxTimeout:TX,kKeepAliveTimeoutThreshold:MX,kHeadersTimeout:LX,kBodyTimeout:_X,kStrictContentLength:FX,kConnector:qA,kMaxRedirections:UX,kMaxRequests:AB,kCounter:OX,kClose:qX,kDestroy:HX,kDispatch:zX,kInterceptors:LM,kLocalAddress:HA,kMaxResponseSize:GX,kOnError:YX,kHTTPContext:nt,kMaxConcurrentStreams:VX,kResume:zA}=Le(),JX=BM(),WX=PM(),_M=!1,Ji=Symbol("kClosedResolve"),FM=()=>{};function qM(t){return t[Pp]??t[nt]?.defaultPipelining??1}var uB=class extends QX{constructor(e,{interceptors:r,maxHeaderSize:n,headersTimeout:s,socketTimeout:i,requestTimeout:o,connectTimeout:a,bodyTimeout:c,idleTimeout:l,keepAlive:A,keepAliveTimeout:u,maxKeepAliveTimeout:d,keepAliveMaxTimeout:m,keepAliveTimeoutThreshold:p,socketPath:f,pipelining:E,tls:g,strictContentLength:y,maxCachedSessions:C,maxRedirections:I,connect:w,maxRequestsPerClient:D,localAddress:_,maxResponseSize:ae,autoSelectFamily:ge,autoSelectFamilyAttemptTimeout:Be,maxConcurrentStreams:H,allowH2:ee,webSocket:F}={}){if(super({webSocket:F}),A!==void 0)throw new rt("unsupported keepAlive, use pipelining=0 instead");if(i!==void 0)throw new rt("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(o!==void 0)throw new rt("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(l!==void 0)throw new rt("unsupported idleTimeout, use keepAliveTimeout instead");if(d!==void 0)throw new rt("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(n!=null&&!Number.isFinite(n))throw new rt("invalid maxHeaderSize");if(f!=null&&typeof f!="string")throw new rt("invalid socketPath");if(a!=null&&(!Number.isFinite(a)||a<0))throw new rt("invalid connectTimeout");if(u!=null&&(!Number.isFinite(u)||u<=0))throw new rt("invalid keepAliveTimeout");if(m!=null&&(!Number.isFinite(m)||m<=0))throw new rt("invalid keepAliveMaxTimeout");if(p!=null&&!Number.isFinite(p))throw new rt("invalid keepAliveTimeoutThreshold");if(s!=null&&(!Number.isInteger(s)||s<0))throw new rt("headersTimeout must be a positive integer or zero");if(c!=null&&(!Number.isInteger(c)||c<0))throw new rt("bodyTimeout must be a positive integer or zero");if(w!=null&&typeof w!="function"&&typeof w!="object")throw new rt("connect must be a function or an object");if(I!=null&&(!Number.isInteger(I)||I<0))throw new rt("maxRedirections must be a positive number");if(D!=null&&(!Number.isInteger(D)||D<0))throw new rt("maxRequestsPerClient must be a positive number");if(_!=null&&(typeof _!="string"||OM.isIP(_)===0))throw new rt("localAddress must be valid string IP address");if(ae!=null&&(!Number.isInteger(ae)||ae<-1))throw new rt("maxResponseSize must be a positive number");if(Be!=null&&(!Number.isInteger(Be)||Be<-1))throw new rt("autoSelectFamilyAttemptTimeout must be a positive number");if(ee!=null&&typeof ee!="boolean")throw new rt("allowH2 must be a valid boolean value");if(H!=null&&(typeof H!="number"||H<1))throw new rt("maxConcurrentStreams must be a positive integer, greater than 0");typeof w!="function"&&(w=bX({...g,maxCachedSessions:C,allowH2:ee,socketPath:f,timeout:a,...ge?{autoSelectFamily:ge,autoSelectFamilyAttemptTimeout:Be}:void 0,...w})),r?.Client&&Array.isArray(r.Client)?(this[LM]=r.Client,_M||(_M=!0,process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"}))):this[LM]=[$X({maxRedirections:I})],this[os]=zo.parseOrigin(e),this[qA]=w,this[Pp]=E??1,this[kX]=n||IX.maxHeaderSize,this[MM]=u??4e3,this[TX]=m??6e5,this[MX]=p??2e3,this[DX]=this[MM],this[Vi]=null,this[HA]=_??null,this[Go]=0,this[Wi]=0,this[PX]=`host: ${this[os].hostname}${this[os].port?`:${this[os].port}`:""}\r
|
|
`,this[_X]=c??3e5,this[LX]=s??3e5,this[FX]=y??!0,this[UX]=I,this[AB]=D,this[Ji]=null,this[GX]=ae>-1?ae:-1,this[VX]=H??100,this[nt]=null,this[Dn]=[],this[li]=0,this[kn]=0,this[zA]=de=>dB(this,de),this[YX]=de=>HM(this,de)}get pipelining(){return this[Pp]}set pipelining(e){this[Pp]=e,this[zA](!0)}get[VA](){return this[Dn].length-this[kn]}get[YA](){return this[kn]-this[li]}get[GA](){return this[Dn].length-this[li]}get[RX](){return!!this[nt]&&!this[wc]&&!this[nt].destroyed}get[lB](){return!!(this[nt]?.busy(null)||this[GA]>=(qM(this)||1)||this[VA]>0)}[SX](e){zM(this),this.once("connect",e)}[zX](e,r){let n=e.origin||this[os].origin,s=new BX(n,e,r);return this[Dn].push(s),this[Go]||(zo.bodyLength(s.body)==null&&zo.isIterable(s.body)?(this[Go]=1,queueMicrotask(()=>dB(this))):this[zA](!0)),this[Go]&&this[Wi]!==2&&this[lB]&&(this[Wi]=2),this[Wi]<2}async[qX](){return new Promise(e=>{this[GA]?this[Ji]=e:e(null)})}async[HX](e){return new Promise(r=>{let n=this[Dn].splice(this[kn]);for(let i=0;i<n.length;i++){let o=n[i];zo.errorRequest(this,o,e)}let s=()=>{this[Ji]&&(this[Ji](),this[Ji]=null),r(null)};this[nt]?(this[nt].destroy(e,s),this[nt]=null):queueMicrotask(s),this[zA]()})}},$X=Rp();function HM(t,e){if(t[YA]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){ci(t[kn]===t[li]);let r=t[Dn].splice(t[li]);for(let n=0;n<r.length;n++){let s=r[n];zo.errorRequest(t,s,e)}ci(t[GA]===0)}}async function zM(t){ci(!t[wc]),ci(!t[nt]);let{host:e,hostname:r,protocol:n,port:s}=t[os];if(r[0]==="["){let i=r.indexOf("]");ci(i!==-1);let o=r.substring(1,i);ci(OM.isIP(o)),r=o}t[wc]=!0,xc.beforeConnect.hasSubscribers&&xc.beforeConnect.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[nt]?.version,servername:t[Vi],localAddress:t[HA]},connector:t[qA]});try{let i=await new Promise((o,a)=>{t[qA]({host:e,hostname:r,protocol:n,port:s,servername:t[Vi],localAddress:t[HA]},(c,l)=>{c?a(c):o(l)})});if(t.destroyed){zo.destroy(i.on("error",FM),new wX);return}ci(i);try{t[nt]=i.alpnProtocol==="h2"?await WX(t,i):await JX(t,i)}catch(o){throw i.destroy().on("error",FM),o}t[wc]=!1,i[OX]=0,i[AB]=t[AB],i[NX]=t,i[vX]=null,xc.connected.hasSubscribers&&xc.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[nt]?.version,servername:t[Vi],localAddress:t[HA]},connector:t[qA],socket:i}),t.emit("connect",t[os],[t])}catch(i){if(t.destroyed)return;if(t[wc]=!1,xc.connectError.hasSubscribers&&xc.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:s,version:t[nt]?.version,servername:t[Vi],localAddress:t[HA]},connector:t[qA],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(ci(t[YA]===0);t[VA]>0&&t[Dn][t[kn]].servername===t[Vi];){let o=t[Dn][t[kn]++];zo.errorRequest(t,o,i)}else HM(t,i);t.emit("connectionError",t[os],[t],i)}t[zA]()}function UM(t){t[Wi]=0,t.emit("drain",t[os],[t])}function dB(t,e){t[Go]!==2&&(t[Go]=2,jX(t,e),t[Go]=0,t[li]>256&&(t[Dn].splice(0,t[li]),t[kn]-=t[li],t[li]=0))}function jX(t,e){for(;;){if(t.destroyed){ci(t[VA]===0);return}if(t[Ji]&&!t[GA]){t[Ji](),t[Ji]=null;return}if(t[nt]&&t[nt].resume(),t[lB])t[Wi]=2;else if(t[Wi]===2){e?(t[Wi]=1,queueMicrotask(()=>UM(t))):UM(t);continue}if(t[VA]===0||t[YA]>=(qM(t)||1))return;let r=t[Dn][t[kn]];if(t[os].protocol==="https:"&&t[Vi]!==r.servername){if(t[YA]>0)return;t[Vi]=r.servername,t[nt]?.destroy(new xX("servername changed"),()=>{t[nt]=null,dB(t)})}if(t[wc])return;if(!t[nt]){zM(t);return}if(t[nt].destroyed||t[nt].busy(r))return;!r.aborted&&t[nt].write(r)?t[kn]++:t[Dn].splice(t[kn],1)}}GM.exports=uB});var mB=h((sNe,YM)=>{"use strict";var vp=class{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)}};YM.exports=class{constructor(){this.head=this.tail=new vp}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new vp),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var JM=h((iNe,VM)=>{var{kFree:KX,kConnected:XX,kPending:ZX,kQueued:eZ,kRunning:tZ,kSize:rZ}=Le(),Yo=Symbol("pool"),pB=class{constructor(e){this[Yo]=e}get connected(){return this[Yo][XX]}get free(){return this[Yo][KX]}get pending(){return this[Yo][ZX]}get queued(){return this[Yo][eZ]}get running(){return this[Yo][tZ]}get size(){return this[Yo][rZ]}};VM.exports=pB});var CB=h((oNe,nL)=>{"use strict";var nZ=Ac(),sZ=mB(),{kConnected:hB,kSize:WM,kRunning:$M,kPending:jM,kQueued:JA,kBusy:iZ,kFree:oZ,kUrl:aZ,kClose:cZ,kDestroy:lZ,kDispatch:AZ}=Le(),uZ=JM(),ar=Symbol("clients"),Jt=Symbol("needDrain"),WA=Symbol("queue"),fB=Symbol("closed resolve"),gB=Symbol("onDrain"),KM=Symbol("onConnect"),XM=Symbol("onDisconnect"),ZM=Symbol("onConnectionError"),yB=Symbol("get dispatcher"),tL=Symbol("add client"),rL=Symbol("remove client"),eL=Symbol("stats"),EB=class extends nZ{constructor(e){super(e),this[WA]=new sZ,this[ar]=[],this[JA]=0;let r=this;this[gB]=function(s,i){let o=r[WA],a=!1;for(;!a;){let c=o.shift();if(!c)break;r[JA]--,a=!this.dispatch(c.opts,c.handler)}this[Jt]=a,!this[Jt]&&r[Jt]&&(r[Jt]=!1,r.emit("drain",s,[r,...i])),r[fB]&&o.isEmpty()&&Promise.all(r[ar].map(c=>c.close())).then(r[fB])},this[KM]=(n,s)=>{r.emit("connect",n,[r,...s])},this[XM]=(n,s,i)=>{r.emit("disconnect",n,[r,...s],i)},this[ZM]=(n,s,i)=>{r.emit("connectionError",n,[r,...s],i)},this[eL]=new uZ(this)}get[iZ](){return this[Jt]}get[hB](){return this[ar].filter(e=>e[hB]).length}get[oZ](){return this[ar].filter(e=>e[hB]&&!e[Jt]).length}get[jM](){let e=this[JA];for(let{[jM]:r}of this[ar])e+=r;return e}get[$M](){let e=0;for(let{[$M]:r}of this[ar])e+=r;return e}get[WM](){let e=this[JA];for(let{[WM]:r}of this[ar])e+=r;return e}get stats(){return this[eL]}async[cZ](){this[WA].isEmpty()?await Promise.all(this[ar].map(e=>e.close())):await new Promise(e=>{this[fB]=e})}async[lZ](e){for(;;){let r=this[WA].shift();if(!r)break;r.handler.onError(e)}await Promise.all(this[ar].map(r=>r.destroy(e)))}[AZ](e,r){let n=this[yB]();return n?n.dispatch(e,r)||(n[Jt]=!0,this[Jt]=!this[yB]()):(this[Jt]=!0,this[WA].push({opts:e,handler:r}),this[JA]++),!this[Jt]}[tL](e){return e.on("drain",this[gB]).on("connect",this[KM]).on("disconnect",this[XM]).on("connectionError",this[ZM]),this[ar].push(e),this[Jt]&&queueMicrotask(()=>{this[Jt]&&this[gB](e[aZ],[this,e])}),this}[rL](e){e.close(()=>{let r=this[ar].indexOf(e);r!==-1&&this[ar].splice(r,1)}),this[Jt]=this[ar].some(r=>!r[Jt]&&r.closed!==!0&&r.destroyed!==!0)}};nL.exports={PoolBase:EB,kClients:ar,kNeedDrain:Jt,kAddClient:tL,kRemoveClient:rL,kGetDispatcher:yB}});var Nc=h((aNe,aL)=>{"use strict";var{PoolBase:dZ,kClients:Dp,kNeedDrain:mZ,kAddClient:pZ,kGetDispatcher:hZ}=CB(),fZ=bc(),{InvalidArgumentError:IB}=ye(),sL=ce(),{kUrl:iL,kInterceptors:gZ}=Le(),yZ=NA(),BB=Symbol("options"),QB=Symbol("connections"),oL=Symbol("factory");function EZ(t,e){return new fZ(t,e)}var xB=class extends dZ{constructor(e,{connections:r,factory:n=EZ,connect:s,connectTimeout:i,tls:o,maxCachedSessions:a,socketPath:c,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:A,allowH2:u,...d}={}){if(r!=null&&(!Number.isFinite(r)||r<0))throw new IB("invalid connections");if(typeof n!="function")throw new IB("factory must be a function.");if(s!=null&&typeof s!="function"&&typeof s!="object")throw new IB("connect must be a function or an object");typeof s!="function"&&(s=yZ({...o,maxCachedSessions:a,allowH2:u,socketPath:c,timeout:i,...l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:A}:void 0,...s})),super(d),this[gZ]=d.interceptors?.Pool&&Array.isArray(d.interceptors.Pool)?d.interceptors.Pool:[],this[QB]=r||null,this[iL]=sL.parseOrigin(e),this[BB]={...sL.deepClone(d),connect:s,allowH2:u},this[BB].interceptors=d.interceptors?{...d.interceptors}:void 0,this[oL]=n,this.on("connectionError",(m,p,f)=>{for(let E of p){let g=this[Dp].indexOf(E);g!==-1&&this[Dp].splice(g,1)}})}[hZ](){for(let e of this[Dp])if(!e[mZ])return e;if(!this[QB]||this[Dp].length<this[QB]){let e=this[oL](this[iL],this[BB]);return this[pZ](e),e}}};aL.exports=xB});var dL=h((cNe,uL)=>{"use strict";var{BalancedPoolMissingUpstreamError:CZ,InvalidArgumentError:IZ}=ye(),{PoolBase:BZ,kClients:Lt,kNeedDrain:$A,kAddClient:QZ,kRemoveClient:xZ,kGetDispatcher:wZ}=CB(),bZ=Nc(),{kUrl:wB,kInterceptors:NZ}=Le(),{parseOrigin:cL}=ce(),lL=Symbol("factory"),kp=Symbol("options"),AL=Symbol("kGreatestCommonDivisor"),Vo=Symbol("kCurrentWeight"),Jo=Symbol("kIndex"),nn=Symbol("kWeight"),Tp=Symbol("kMaxWeightPerServer"),Mp=Symbol("kErrorPenalty");function SZ(t,e){if(t===0)return e;for(;e!==0;){let r=e;e=t%e,t=r}return t}function RZ(t,e){return new bZ(t,e)}var bB=class extends BZ{constructor(e=[],{factory:r=RZ,...n}={}){if(super(),this[kp]=n,this[Jo]=-1,this[Vo]=0,this[Tp]=this[kp].maxWeightPerServer||100,this[Mp]=this[kp].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof r!="function")throw new IZ("factory must be a function.");this[NZ]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[lL]=r;for(let s of e)this.addUpstream(s);this._updateBalancedPoolStats()}addUpstream(e){let r=cL(e).origin;if(this[Lt].find(s=>s[wB].origin===r&&s.closed!==!0&&s.destroyed!==!0))return this;let n=this[lL](r,Object.assign({},this[kp]));this[QZ](n),n.on("connect",()=>{n[nn]=Math.min(this[Tp],n[nn]+this[Mp])}),n.on("connectionError",()=>{n[nn]=Math.max(1,n[nn]-this[Mp]),this._updateBalancedPoolStats()}),n.on("disconnect",(...s)=>{let i=s[2];i&&i.code==="UND_ERR_SOCKET"&&(n[nn]=Math.max(1,n[nn]-this[Mp]),this._updateBalancedPoolStats())});for(let s of this[Lt])s[nn]=this[Tp];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let r=0;r<this[Lt].length;r++)e=SZ(this[Lt][r][nn],e);this[AL]=e}removeUpstream(e){let r=cL(e).origin,n=this[Lt].find(s=>s[wB].origin===r&&s.closed!==!0&&s.destroyed!==!0);return n&&this[xZ](n),this}get upstreams(){return this[Lt].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[wB].origin)}[wZ](){if(this[Lt].length===0)throw new CZ;if(!this[Lt].find(i=>!i[$A]&&i.closed!==!0&&i.destroyed!==!0)||this[Lt].map(i=>i[$A]).reduce((i,o)=>i&&o,!0))return;let n=0,s=this[Lt].findIndex(i=>!i[$A]);for(;n++<this[Lt].length;){this[Jo]=(this[Jo]+1)%this[Lt].length;let i=this[Lt][this[Jo]];if(i[nn]>this[Lt][s][nn]&&!i[$A]&&(s=this[Jo]),this[Jo]===0&&(this[Vo]=this[Vo]-this[AL],this[Vo]<=0&&(this[Vo]=this[Tp])),i[nn]>=this[Vo]&&!i[$A])return i}return this[Vo]=this[Lt][s][nn],this[Jo]=s,this[Lt][s]}};uL.exports=bB});var Sc=h((lNe,EL)=>{"use strict";var{InvalidArgumentError:Lp}=ye(),{kClients:$i,kRunning:mL,kClose:PZ,kDestroy:vZ,kDispatch:DZ,kInterceptors:kZ}=Le(),TZ=Ac(),MZ=Nc(),LZ=bc(),_Z=ce(),FZ=Rp(),pL=Symbol("onConnect"),hL=Symbol("onDisconnect"),fL=Symbol("onConnectionError"),UZ=Symbol("maxRedirections"),gL=Symbol("onDrain"),yL=Symbol("factory"),NB=Symbol("options");function OZ(t,e){return e&&e.connections===1?new LZ(t,e):new MZ(t,e)}var SB=class extends TZ{constructor({factory:e=OZ,maxRedirections:r=0,connect:n,...s}={}){if(typeof e!="function")throw new Lp("factory must be a function.");if(n!=null&&typeof n!="function"&&typeof n!="object")throw new Lp("connect must be a function or an object");if(!Number.isInteger(r)||r<0)throw new Lp("maxRedirections must be a positive number");super(s),n&&typeof n!="function"&&(n={...n}),this[kZ]=s.interceptors?.Agent&&Array.isArray(s.interceptors.Agent)?s.interceptors.Agent:[FZ({maxRedirections:r})],this[NB]={..._Z.deepClone(s),connect:n},this[NB].interceptors=s.interceptors?{...s.interceptors}:void 0,this[UZ]=r,this[yL]=e,this[$i]=new Map,this[gL]=(i,o)=>{this.emit("drain",i,[this,...o])},this[pL]=(i,o)=>{this.emit("connect",i,[this,...o])},this[hL]=(i,o,a)=>{this.emit("disconnect",i,[this,...o],a)},this[fL]=(i,o,a)=>{this.emit("connectionError",i,[this,...o],a)}}get[mL](){let e=0;for(let r of this[$i].values())e+=r[mL];return e}[DZ](e,r){let n;if(e.origin&&(typeof e.origin=="string"||e.origin instanceof URL))n=String(e.origin);else throw new Lp("opts.origin must be a non-empty string or URL.");let s=this[$i].get(n);return s||(s=this[yL](e.origin,this[NB]).on("drain",this[gL]).on("connect",this[pL]).on("disconnect",this[hL]).on("connectionError",this[fL]),this[$i].set(n,s)),s.dispatch(e,r)}async[PZ](){let e=[];for(let r of this[$i].values())e.push(r.close());this[$i].clear(),await Promise.all(e)}async[vZ](e){let r=[];for(let n of this[$i].values())r.push(n.destroy(e));this[$i].clear(),await Promise.all(r)}};EL.exports=SB});var kB=h((ANe,PL)=>{"use strict";var{kProxy:RB,kClose:wL,kDestroy:bL,kDispatch:CL,kInterceptors:qZ}=Le(),{URL:Wo}=require("node:url"),HZ=Sc(),NL=Nc(),SL=Ac(),{InvalidArgumentError:Rc,RequestAbortedError:zZ,SecureProxyConnectionError:GZ}=ye(),IL=NA(),RL=bc(),_p=Symbol("proxy agent"),Fp=Symbol("proxy client"),ji=Symbol("proxy headers"),PB=Symbol("request tls settings"),BL=Symbol("proxy tls settings"),QL=Symbol("connect endpoint function"),xL=Symbol("tunnel proxy");function YZ(t){return t==="https:"?443:80}function VZ(t,e){return new NL(t,e)}var JZ=()=>{};function WZ(t,e){return e.connections===1?new RL(t,e):new NL(t,e)}var vB=class extends SL{#e;constructor(e,{headers:r={},connect:n,factory:s}){if(super(),!e)throw new Rc("Proxy URL is mandatory");this[ji]=r,s?this.#e=s(e,{connect:n}):this.#e=new RL(e,{connect:n})}[CL](e,r){let n=r.onHeaders;r.onHeaders=function(a,c,l){if(a===407){typeof r.onError=="function"&&r.onError(new Rc("Proxy Authentication Required (407)"));return}n&&n.call(this,a,c,l)};let{origin:s,path:i="/",headers:o={}}=e;if(e.path=s+i,!("host"in o)&&!("Host"in o)){let{host:a}=new Wo(s);o.host=a}return e.headers={...this[ji],...o},this.#e[CL](e,r)}async[wL](){return this.#e.close()}async[bL](e){return this.#e.destroy(e)}},DB=class extends SL{constructor(e){if(super(),!e||typeof e=="object"&&!(e instanceof Wo)&&!e.uri)throw new Rc("Proxy uri is mandatory");let{clientFactory:r=VZ}=e;if(typeof r!="function")throw new Rc("Proxy opts.clientFactory must be a function.");let{proxyTunnel:n=!0}=e,s=this.#e(e),{href:i,origin:o,port:a,protocol:c,username:l,password:A,hostname:u}=s;if(this[RB]={uri:i,protocol:c},this[qZ]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[PB]=e.requestTls,this[BL]=e.proxyTls,this[ji]=e.headers||{},this[xL]=n,e.auth&&e.token)throw new Rc("opts.auth cannot be used in combination with opts.token");e.auth?this[ji]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[ji]["proxy-authorization"]=e.token:l&&A&&(this[ji]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(l)}:${decodeURIComponent(A)}`).toString("base64")}`);let d=IL({...e.proxyTls});this[QL]=IL({...e.requestTls});let m=e.factory||WZ,p=(f,E)=>{let{protocol:g}=new Wo(f);return!this[xL]&&g==="http:"&&this[RB].protocol==="http:"?new vB(this[RB].uri,{headers:this[ji],connect:d,factory:m}):m(f,E)};this[Fp]=r(s,{connect:d}),this[_p]=new HZ({...e,factory:p,connect:async(f,E)=>{let g=f.host;f.port||(g+=`:${YZ(f.protocol)}`);try{let{socket:y,statusCode:C}=await this[Fp].connect({origin:o,port:a,path:g,signal:f.signal,headers:{...this[ji],host:f.host},servername:this[BL]?.servername||u});if(C!==200&&(y.on("error",JZ).destroy(),E(new zZ(`Proxy response (${C}) !== 200 when HTTP Tunneling`))),f.protocol!=="https:"){E(null,y);return}let I;this[PB]?I=this[PB].servername:I=f.servername,this[QL]({...f,servername:I,httpSocket:y},E)}catch(y){y.code==="ERR_TLS_CERT_ALTNAME_INVALID"?E(new GZ(y)):E(y)}}})}dispatch(e,r){let n=$Z(e.headers);if(jZ(n),n&&!("host"in n)&&!("Host"in n)){let{host:s}=new Wo(e.origin);n.host=s}return this[_p].dispatch({...e,headers:n},r)}#e(e){return typeof e=="string"?new Wo(e):e instanceof Wo?e:new Wo(e.uri)}async[wL](){await this[_p].close(),await this[Fp].close()}async[bL](){await this[_p].destroy(),await this[Fp].destroy()}};function $Z(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}function jZ(t){if(t&&Object.keys(t).find(r=>r.toLowerCase()==="proxy-authorization"))throw new Rc("Proxy-Authorization should be sent in ProxyAgent constructor")}PL.exports=DB});var LL=h((uNe,ML)=>{"use strict";var KZ=Ac(),{kClose:XZ,kDestroy:ZZ,kClosed:vL,kDestroyed:DL,kDispatch:e7,kNoProxyAgent:jA,kHttpProxyAgent:Ki,kHttpsProxyAgent:$o}=Le(),kL=kB(),t7=Sc(),r7={"http:":80,"https:":443},TL=!1,TB=class extends KZ{#e=null;#t=null;#r=null;constructor(e={}){super(),this.#r=e,TL||(TL=!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[jA]=new t7(i);let o=r??process.env.http_proxy??process.env.HTTP_PROXY;o?this[Ki]=new kL({...i,uri:o}):this[Ki]=this[jA];let a=n??process.env.https_proxy??process.env.HTTPS_PROXY;a?this[$o]=new kL({...i,uri:a}):this[$o]=this[Ki],this.#n()}[e7](e,r){let n=new URL(e.origin);return this.#i(n).dispatch(e,r)}async[XZ](){await this[jA].close(),this[Ki][vL]||await this[Ki].close(),this[$o][vL]||await this[$o].close()}async[ZZ](e){await this[jA].destroy(e),this[Ki][DL]||await this[Ki].destroy(e),this[$o][DL]||await this[$o].destroy(e)}#i(e){let{protocol:r,host:n,port:s}=e;return n=n.replace(/:\d*$/,"").toLowerCase(),s=Number.parseInt(s,10)||r7[r]||0,this.#s(n,s)?r==="https:"?this[$o]:this[Ki]:this[jA]}#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 o=i.match(/^(.+):(\d+)$/);n.push({hostname:(o?o[1]:i).toLowerCase(),port:o?Number.parseInt(o[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??""}};ML.exports=TB});var Up=h((dNe,OL)=>{"use strict";var Pc=require("node:assert"),{kRetryHandlerDefaultRetry:_L}=Le(),{RequestRetryError:KA}=ye(),{isDisturbed:FL,parseHeaders:n7,parseRangeHeader:UL,wrapRequestBody:s7}=ce();function i7(t){let e=Date.now();return new Date(t).getTime()-e}var MB=class t{constructor(e,r){let{retryOptions:n,...s}=e,{retry:i,maxRetries:o,maxTimeout:a,minTimeout:c,timeoutFactor:l,methods:A,errorCodes:u,retryAfter:d,statusCodes:m}=n??{};this.dispatch=r.dispatch,this.handler=r.handler,this.opts={...s,body:s7(e.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:i??t[_L],retryAfter:d??!0,maxTimeout:a??30*1e3,minTimeout:c??500,timeoutFactor:l??2,maxRetries:o??5,methods:A??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:m??[500,502,503,504,429],errorCodes:u??["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(p=>{this.aborted=!0,this.abort?this.abort(p):this.reason=p})}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[_L](e,{state:r,opts:n},s){let{statusCode:i,code:o,headers:a}=e,{method:c,retryOptions:l}=n,{maxRetries:A,minTimeout:u,maxTimeout:d,timeoutFactor:m,statusCodes:p,errorCodes:f,methods:E}=l,{counter:g}=r;if(o&&o!=="UND_ERR_REQ_RETRY"&&!f.includes(o)){s(e);return}if(Array.isArray(E)&&!E.includes(c)){s(e);return}if(i!=null&&Array.isArray(p)&&!p.includes(i)){s(e);return}if(g>A){s(e);return}let y=a?.["retry-after"];y&&(y=Number(y),y=Number.isNaN(y)?i7(y):y*1e3);let C=y>0?Math.min(y,d):Math.min(u*m**(g-1),d);setTimeout(()=>s(null),C)}onHeaders(e,r,n,s){let i=n7(r);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,r,n,s):(this.abort(new KA("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 KA("server does not support the range header and the payload was partially consumed",e,{headers:i,data:{count:this.retryCount}})),!1;let a=UL(i["content-range"]);if(!a)return this.abort(new KA("Content-Range mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==i.etag)return this.abort(new KA("ETag mismatch",e,{headers:i,data:{count:this.retryCount}})),!1;let{start:c,size:l,end:A=l-1}=a;return Pc(this.start===c,"content-range mismatch"),Pc(this.end==null||this.end===A,"content-range mismatch"),this.resume=n,!0}if(this.end==null){if(e===206){let a=UL(i["content-range"]);if(a==null)return this.handler.onHeaders(e,r,n,s);let{start:c,size:l,end:A=l-1}=a;Pc(c!=null&&Number.isFinite(c),"content-range mismatch"),Pc(A!=null&&Number.isFinite(A),"invalid content-length"),this.start=c,this.end=A}if(this.end==null){let a=i["content-length"];this.end=a!=null?Number(a)-1:null}return Pc(Number.isFinite(this.start)),Pc(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 o=new KA("Request failed",e,{headers:i,data:{count:this.retryCount}});return this.abort(o),!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||FL(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||FL(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)}}}};OL.exports=MB});var HL=h((mNe,qL)=>{"use strict";var o7=wA(),a7=Up(),LB=class extends o7{#e=null;#t=null;constructor(e,r={}){super(r),this.#e=e,this.#t=r}dispatch(e,r){let n=new a7({...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()}};qL.exports=LB});var HB=h((pNe,KL)=>{"use strict";var JL=require("node:assert"),{Readable:c7}=require("node:stream"),{RequestAbortedError:WL,NotSupportedError:l7,InvalidArgumentError:A7,AbortError:_B}=ye(),$L=ce(),{ReadableStreamFrom:u7}=ce(),Sr=Symbol("kConsume"),XA=Symbol("kReading"),Xi=Symbol("kBody"),zL=Symbol("kAbort"),jL=Symbol("kContentType"),GL=Symbol("kContentLength"),d7=()=>{},FB=class extends c7{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[zL]=r,this[Sr]=null,this[Xi]=null,this[jL]=n,this[GL]=s,this[XA]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new WL),e&&this[zL](),super.destroy(e)}_destroy(e,r){this[XA]?r(e):setImmediate(()=>{r(e)})}on(e,...r){return(e==="data"||e==="readable")&&(this[XA]=!0),super.on(e,...r)}addListener(e,...r){return this.on(e,...r)}off(e,...r){let n=super.off(e,...r);return(e==="data"||e==="readable")&&(this[XA]=this.listenerCount("data")>0||this.listenerCount("readable")>0),n}removeListener(e,...r){return this.off(e,...r)}push(e){return this[Sr]&&e!==null?(OB(this[Sr],e),this[XA]?super.push(e):!0):super.push(e)}async text(){return ZA(this,"text")}async json(){return ZA(this,"json")}async blob(){return ZA(this,"blob")}async bytes(){return ZA(this,"bytes")}async arrayBuffer(){return ZA(this,"arrayBuffer")}async formData(){throw new l7}get bodyUsed(){return $L.isDisturbed(this)}get body(){return this[Xi]||(this[Xi]=u7(this),this[Sr]&&(this[Xi].getReader(),JL(this[Xi].locked))),this[Xi]}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 A7("signal must be an AbortSignal");return n?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((s,i)=>{this[GL]>r&&this.destroy(new _B);let o=()=>{this.destroy(n.reason??new _B)};n?.addEventListener("abort",o),this.on("close",function(){n?.removeEventListener("abort",o),n?.aborted?i(n.reason??new _B):s(null)}).on("error",d7).on("data",function(a){r-=a.length,r<=0&&this.destroy()}).resume()})}};function m7(t){return t[Xi]&&t[Xi].locked===!0||t[Sr]}function p7(t){return $L.isDisturbed(t)||m7(t)}async function ZA(t,e){return JL(!t[Sr]),new Promise((r,n)=>{if(p7(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[Sr]={type:e,stream:t,resolve:r,reject:n,length:0,body:[]},t.on("error",function(s){qB(this[Sr],s)}).on("close",function(){this[Sr].body!==null&&qB(this[Sr],new WL)}),h7(t[Sr])})})}function h7(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++)OB(t,e.buffer[s])}else for(let r of e.buffer)OB(t,r);for(e.endEmitted?VL(this[Sr]):t.stream.on("end",function(){VL(this[Sr])}),t.stream.resume();t.stream.read()!=null;);}function UB(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)}function YL(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}function VL(t){let{type:e,body:r,resolve:n,stream:s,length:i}=t;try{e==="text"?n(UB(r,i)):e==="json"?n(JSON.parse(UB(r,i))):e==="arrayBuffer"?n(YL(r,i).buffer):e==="blob"?n(new Blob(r,{type:s[jL]})):e==="bytes"&&n(YL(r,i)),qB(t)}catch(o){s.destroy(o)}}function OB(t,e){t.length+=e.length,t.body.push(e)}function qB(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)}KL.exports={Readable:FB,chunksDecode:UB}});var zB=h((hNe,r_)=>{var f7=require("node:assert"),{ResponseStatusCodeError:XL}=ye(),{chunksDecode:ZL}=HB(),g7=128*1024;async function y7({callback:t,body:e,contentType:r,statusCode:n,statusMessage:s,headers:i}){f7(e);let o=[],a=0;try{for await(let u of e)if(o.push(u),a+=u.length,a>g7){o=[],a=0;break}}catch{o=[],a=0}let c=`Response status code ${n}${s?`: ${s}`:""}`;if(n===204||!r||!a){queueMicrotask(()=>t(new XL(c,n,i)));return}let l=Error.stackTraceLimit;Error.stackTraceLimit=0;let A;try{e_(r)?A=JSON.parse(ZL(o,a)):t_(r)&&(A=ZL(o,a))}catch{}finally{Error.stackTraceLimit=l}queueMicrotask(()=>t(new XL(c,n,i,A)))}var e_=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",t_=t=>t.length>4&&t[4]==="/"&&t[0]==="t"&&t[1]==="e"&&t[2]==="x"&&t[3]==="t";r_.exports={getResolveErrorBodyCallback:y7,isContentTypeApplicationJson:e_,isContentTypeText:t_}});var i_=h((fNe,GB)=>{"use strict";var E7=require("node:assert"),{Readable:C7}=HB(),{InvalidArgumentError:vc,RequestAbortedError:n_}=ye(),Rr=ce(),{getResolveErrorBodyCallback:I7}=zB(),{AsyncResource:B7}=require("node:async_hooks"),Op=class extends B7{constructor(e,r){if(!e||typeof e!="object")throw new vc("invalid opts");let{signal:n,method:s,opaque:i,body:o,onInfo:a,responseHeaders:c,throwOnError:l,highWaterMark:A}=e;try{if(typeof r!="function")throw new vc("invalid callback");if(A&&(typeof A!="number"||A<0))throw new vc("invalid highWaterMark");if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new vc("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new vc("invalid method");if(a&&typeof a!="function")throw new vc("invalid onInfo callback");super("UNDICI_REQUEST")}catch(u){throw Rr.isStream(o)&&Rr.destroy(o.on("error",Rr.nop),u),u}this.method=s,this.responseHeaders=c||null,this.opaque=i||null,this.callback=r,this.res=null,this.abort=null,this.body=o,this.trailers={},this.context=null,this.onInfo=a||null,this.throwOnError=l,this.highWaterMark=A,this.signal=n,this.reason=null,this.removeAbortListener=null,Rr.isStream(o)&&o.on("error",u=>{this.onError(u)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new n_:this.removeAbortListener=Rr.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new n_,this.res?Rr.destroy(this.res.on("error",Rr.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:o,abort:a,context:c,responseHeaders:l,highWaterMark:A}=this,u=l==="raw"?Rr.parseRawHeaders(r):Rr.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:u});return}let d=l==="raw"?Rr.parseHeaders(r):u,m=d["content-type"],p=d["content-length"],f=new C7({resume:n,abort:a,contentType:m,contentLength:this.method!=="HEAD"&&p?Number(p):null,highWaterMark:A});this.removeAbortListener&&f.on("close",this.removeAbortListener),this.callback=null,this.res=f,i!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(I7,null,{callback:i,body:f,contentType:m,statusCode:e,statusMessage:s,headers:u}):this.runInAsyncScope(i,null,null,{statusCode:e,headers:u,trailers:this.trailers,opaque:o,body:f,context:c}))}onData(e){return this.res.push(e)}onComplete(e){Rr.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(()=>{Rr.destroy(r,e)})),s&&(this.body=null,Rr.destroy(s,e)),this.removeAbortListener&&(r?.off("close",this.removeAbortListener),this.removeAbortListener(),this.removeAbortListener=null)}};function s_(t,e){if(e===void 0)return new Promise((r,n)=>{s_.call(this,t,(s,i)=>s?n(s):r(i))});try{this.dispatch(t,new Op(t,e))}catch(r){if(typeof e!="function")throw r;let n=t?.opaque;queueMicrotask(()=>e(r,{opaque:n}))}}GB.exports=s_;GB.exports.RequestHandler=Op});var eu=h((gNe,c_)=>{var{addAbortListener:Q7}=ce(),{RequestAbortedError:x7}=ye(),Dc=Symbol("kListener"),as=Symbol("kSignal");function o_(t){t.abort?t.abort(t[as]?.reason):t.reason=t[as]?.reason??new x7,a_(t)}function w7(t,e){if(t.reason=null,t[as]=null,t[Dc]=null,!!e){if(e.aborted){o_(t);return}t[as]=e,t[Dc]=()=>{o_(t)},Q7(t[as],t[Dc])}}function a_(t){t[as]&&("removeEventListener"in t[as]?t[as].removeEventListener("abort",t[Dc]):t[as].removeListener("abort",t[Dc]),t[as]=null,t[Dc]=null)}c_.exports={addSignal:w7,removeSignal:a_}});var d_=h((yNe,u_)=>{"use strict";var b7=require("node:assert"),{finished:N7,PassThrough:S7}=require("node:stream"),{InvalidArgumentError:kc,InvalidReturnValueError:R7}=ye(),Tn=ce(),{getResolveErrorBodyCallback:P7}=zB(),{AsyncResource:v7}=require("node:async_hooks"),{addSignal:D7,removeSignal:l_}=eu(),YB=class extends v7{constructor(e,r,n){if(!e||typeof e!="object")throw new kc("invalid opts");let{signal:s,method:i,opaque:o,body:a,onInfo:c,responseHeaders:l,throwOnError:A}=e;try{if(typeof n!="function")throw new kc("invalid callback");if(typeof r!="function")throw new kc("invalid factory");if(s&&typeof s.on!="function"&&typeof s.addEventListener!="function")throw new kc("signal must be an EventEmitter or EventTarget");if(i==="CONNECT")throw new kc("invalid method");if(c&&typeof c!="function")throw new kc("invalid onInfo callback");super("UNDICI_STREAM")}catch(u){throw Tn.isStream(a)&&Tn.destroy(a.on("error",Tn.nop),u),u}this.responseHeaders=l||null,this.opaque=o||null,this.factory=r,this.callback=n,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=a,this.onInfo=c||null,this.throwOnError=A||!1,Tn.isStream(a)&&a.on("error",u=>{this.onError(u)}),D7(this,s)}onConnect(e,r){if(this.reason){e(this.reason);return}b7(this.callback),this.abort=e,this.context=r}onHeaders(e,r,n,s){let{factory:i,opaque:o,context:a,callback:c,responseHeaders:l}=this,A=l==="raw"?Tn.parseRawHeaders(r):Tn.parseHeaders(r);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:A});return}this.factory=null;let u;if(this.throwOnError&&e>=400){let p=(l==="raw"?Tn.parseHeaders(r):A)["content-type"];u=new S7,this.callback=null,this.runInAsyncScope(P7,null,{callback:c,body:u,contentType:p,statusCode:e,statusMessage:s,headers:A})}else{if(i===null)return;if(u=this.runInAsyncScope(i,null,{statusCode:e,headers:A,opaque:o,context:a}),!u||typeof u.write!="function"||typeof u.end!="function"||typeof u.on!="function")throw new R7("expected Writable");N7(u,{readable:!1},m=>{let{callback:p,res:f,opaque:E,trailers:g,abort:y}=this;this.res=null,(m||!f.readable)&&Tn.destroy(f,m),this.callback=null,this.runInAsyncScope(p,null,m||null,{opaque:E,trailers:g}),m&&y()})}return u.on("drain",n),this.res=u,(u.writableNeedDrain!==void 0?u.writableNeedDrain:u._writableState?.needDrain)!==!0}onData(e){let{res:r}=this;return r?r.write(e):!0}onComplete(e){let{res:r}=this;l_(this),r&&(this.trailers=Tn.parseHeaders(e),r.end())}onError(e){let{res:r,callback:n,opaque:s,body:i}=this;l_(this),this.factory=null,r?(this.res=null,Tn.destroy(r,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:s})})),i&&(this.body=null,Tn.destroy(i,e))}};function A_(t,e,r){if(r===void 0)return new Promise((n,s)=>{A_.call(this,t,e,(i,o)=>i?s(i):n(o))});try{this.dispatch(t,new YB(t,e,r))}catch(n){if(typeof r!="function")throw n;let s=t?.opaque;queueMicrotask(()=>r(n,{opaque:s}))}}u_.exports=A_});var f_=h((ENe,h_)=>{"use strict";var{Readable:p_,Duplex:k7,PassThrough:T7}=require("node:stream"),{InvalidArgumentError:tu,InvalidReturnValueError:M7,RequestAbortedError:VB}=ye(),sn=ce(),{AsyncResource:L7}=require("node:async_hooks"),{addSignal:_7,removeSignal:F7}=eu(),m_=require("node:assert"),Tc=Symbol("resume"),JB=class extends p_{constructor(){super({autoDestroy:!0}),this[Tc]=null}_read(){let{[Tc]:e}=this;e&&(this[Tc]=null,e())}_destroy(e,r){this._read(),r(e)}},WB=class extends p_{constructor(e){super({autoDestroy:!0}),this[Tc]=e}_read(){this[Tc]()}_destroy(e,r){!e&&!this._readableState.endEmitted&&(e=new VB),r(e)}},$B=class extends L7{constructor(e,r){if(!e||typeof e!="object")throw new tu("invalid opts");if(typeof r!="function")throw new tu("invalid handler");let{signal:n,method:s,opaque:i,onInfo:o,responseHeaders:a}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new tu("signal must be an EventEmitter or EventTarget");if(s==="CONNECT")throw new tu("invalid method");if(o&&typeof o!="function")throw new tu("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=i||null,this.responseHeaders=a||null,this.handler=r,this.abort=null,this.context=null,this.onInfo=o||null,this.req=new JB().on("error",sn.nop),this.ret=new k7({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:c}=this;c?.resume&&c.resume()},write:(c,l,A)=>{let{req:u}=this;u.push(c,l)||u._readableState.destroyed?A():u[Tc]=A},destroy:(c,l)=>{let{body:A,req:u,res:d,ret:m,abort:p}=this;!c&&!m._readableState.endEmitted&&(c=new VB),p&&c&&p(),sn.destroy(A,c),sn.destroy(u,c),sn.destroy(d,c),F7(this),l(c)}}).on("prefinish",()=>{let{req:c}=this;c.push(null)}),this.res=null,_7(this,n)}onConnect(e,r){let{ret:n,res:s}=this;if(this.reason){e(this.reason);return}m_(!s,"pipeline cannot be retried"),m_(!n.destroyed),this.abort=e,this.context=r}onHeaders(e,r,n){let{opaque:s,handler:i,context:o}=this;if(e<200){if(this.onInfo){let c=this.responseHeaders==="raw"?sn.parseRawHeaders(r):sn.parseHeaders(r);this.onInfo({statusCode:e,headers:c})}return}this.res=new WB(n);let a;try{this.handler=null;let c=this.responseHeaders==="raw"?sn.parseRawHeaders(r):sn.parseHeaders(r);a=this.runInAsyncScope(i,null,{statusCode:e,headers:c,opaque:s,body:this.res,context:o})}catch(c){throw this.res.on("error",sn.nop),c}if(!a||typeof a.on!="function")throw new M7("expected Readable");a.on("data",c=>{let{ret:l,body:A}=this;!l.push(c)&&A.pause&&A.pause()}).on("error",c=>{let{ret:l}=this;sn.destroy(l,c)}).on("end",()=>{let{ret:c}=this;c.push(null)}).on("close",()=>{let{ret:c}=this;c._readableState.ended||sn.destroy(c,new VB)}),this.body=a}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,sn.destroy(r,e)}};function U7(t,e){try{let r=new $B(t,e);return this.dispatch({...t,body:r.req},r),r.ret}catch(r){return new T7().destroy(r)}}h_.exports=U7});var B_=h((CNe,I_)=>{"use strict";var{InvalidArgumentError:jB,SocketError:O7}=ye(),{AsyncResource:q7}=require("node:async_hooks"),g_=ce(),{addSignal:H7,removeSignal:y_}=eu(),E_=require("node:assert"),KB=class extends q7{constructor(e,r){if(!e||typeof e!="object")throw new jB("invalid opts");if(typeof r!="function")throw new jB("invalid callback");let{signal:n,opaque:s,responseHeaders:i}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new jB("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,H7(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}E_(this.callback),this.abort=e,this.context=null}onHeaders(){throw new O7("bad upgrade",null)}onUpgrade(e,r,n){E_(e===101);let{callback:s,opaque:i,context:o}=this;y_(this),this.callback=null;let a=this.responseHeaders==="raw"?g_.parseRawHeaders(r):g_.parseHeaders(r);this.runInAsyncScope(s,null,null,{headers:a,socket:n,opaque:i,context:o})}onError(e){let{callback:r,opaque:n}=this;y_(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function C_(t,e){if(e===void 0)return new Promise((r,n)=>{C_.call(this,t,(s,i)=>s?n(s):r(i))});try{let r=new KB(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}))}}I_.exports=C_});var N_=h((INe,b_)=>{"use strict";var z7=require("node:assert"),{AsyncResource:G7}=require("node:async_hooks"),{InvalidArgumentError:XB,SocketError:Y7}=ye(),Q_=ce(),{addSignal:V7,removeSignal:x_}=eu(),ZB=class extends G7{constructor(e,r){if(!e||typeof e!="object")throw new XB("invalid opts");if(typeof r!="function")throw new XB("invalid callback");let{signal:n,opaque:s,responseHeaders:i}=e;if(n&&typeof n.on!="function"&&typeof n.addEventListener!="function")throw new XB("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=s||null,this.responseHeaders=i||null,this.callback=r,this.abort=null,V7(this,n)}onConnect(e,r){if(this.reason){e(this.reason);return}z7(this.callback),this.abort=e,this.context=r}onHeaders(){throw new Y7("bad connect",null)}onUpgrade(e,r,n){let{callback:s,opaque:i,context:o}=this;x_(this),this.callback=null;let a=r;a!=null&&(a=this.responseHeaders==="raw"?Q_.parseRawHeaders(r):Q_.parseHeaders(r)),this.runInAsyncScope(s,null,null,{statusCode:e,headers:a,socket:n,opaque:i,context:o})}onError(e){let{callback:r,opaque:n}=this;x_(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,e,{opaque:n})}))}};function w_(t,e){if(e===void 0)return new Promise((r,n)=>{w_.call(this,t,(s,i)=>s?n(s):r(i))});try{let r=new ZB(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}))}}b_.exports=w_});var S_=h((BNe,Mc)=>{"use strict";Mc.exports.request=i_();Mc.exports.stream=d_();Mc.exports.pipeline=f_();Mc.exports.upgrade=B_();Mc.exports.connect=N_()});var tQ=h((QNe,P_)=>{"use strict";var{UndiciError:J7}=ye(),R_=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED"),eQ=class t extends J7{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[R_]===!0}[R_]=!0};P_.exports={MockNotMatchedError:eQ}});var Lc=h((xNe,v_)=>{"use strict";v_.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 ru=h((wNe,H_)=>{"use strict";var{MockNotMatchedError:jo}=tQ(),{kDispatches:qp,kMockAgent:W7,kOriginalDispatch:$7,kOrigin:j7,kGetNetConnect:K7}=Lc(),{buildURL:X7}=ce(),{STATUS_CODES:Z7}=require("node:http"),{types:{isPromise:eee}}=require("node:util");function Ai(t,e){return typeof t=="string"?t===e:t instanceof RegExp?t.test(e):typeof t=="function"?t(e)===!0:!1}function k_(t){return Object.fromEntries(Object.entries(t).map(([e,r])=>[e.toLocaleLowerCase(),r]))}function T_(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):k_(t)[e.toLocaleLowerCase()]}function sQ(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)}function M_(t,e){if(typeof t.headers=="function")return Array.isArray(e)&&(e=sQ(e)),t.headers(e?k_(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=T_(e,r);if(!Ai(n,s))return!1}return!0}function D_(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("?")}function tee(t,{path:e,method:r,body:n,headers:s}){let i=Ai(t.path,e),o=Ai(t.method,r),a=typeof t.body<"u"?Ai(t.body,n):!0,c=M_(t,s);return i&&o&&a&&c}function L_(t){return Buffer.isBuffer(t)||t instanceof Uint8Array||t instanceof ArrayBuffer?t:typeof t=="object"?JSON.stringify(t):t.toString()}function __(t,e){let r=e.query?X7(e.path,e.query):e.path,n=typeof r=="string"?D_(r):r,s=t.filter(({consumed:i})=>!i).filter(({path:i})=>Ai(D_(i),n));if(s.length===0)throw new jo(`Mock dispatch not matched for path '${n}'`);if(s=s.filter(({method:i})=>Ai(i,e.method)),s.length===0)throw new jo(`Mock dispatch not matched for method '${e.method}' on path '${n}'`);if(s=s.filter(({body:i})=>typeof i<"u"?Ai(i,e.body):!0),s.length===0)throw new jo(`Mock dispatch not matched for body '${e.body}' on path '${n}'`);if(s=s.filter(i=>M_(i,e.headers)),s.length===0){let i=typeof e.headers=="object"?JSON.stringify(e.headers):e.headers;throw new jo(`Mock dispatch not matched for headers '${i}' on path '${n}'`)}return s[0]}function ree(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}function rQ(t,e){let r=t.findIndex(n=>n.consumed?tee(n,e):!1);r!==-1&&t.splice(r,1)}function F_(t){let{path:e,method:r,body:n,headers:s,query:i}=t;return{path:e,method:r,body:n,headers:s,query:i}}function nQ(t){let e=Object.keys(t),r=[];for(let n=0;n<e.length;++n){let s=e[n],i=t[s],o=Buffer.from(`${s}`);if(Array.isArray(i))for(let a=0;a<i.length;++a)r.push(o,Buffer.from(`${i[a]}`));else r.push(o,Buffer.from(`${i}`))}return r}function U_(t){return Z7[t]||"unknown"}async function nee(t){let e=[];for await(let r of t)e.push(r);return Buffer.concat(e).toString("utf8")}function O_(t,e){let r=F_(t),n=__(this[qp],r);n.timesInvoked++,n.data.callback&&(n.data={...n.data,...n.data.callback(t)});let{data:{statusCode:s,data:i,headers:o,trailers:a,error:c},delay:l,persist:A}=n,{timesInvoked:u,times:d}=n;if(n.consumed=!A&&u>=d,n.pending=u<d,c!==null)return rQ(this[qp],r),e.onError(c),!0;typeof l=="number"&&l>0?setTimeout(()=>{m(this[qp])},l):m(this[qp]);function m(f,E=i){let g=Array.isArray(t.headers)?sQ(t.headers):t.headers,y=typeof E=="function"?E({...t,headers:g}):E;if(eee(y)){y.then(D=>m(f,D));return}let C=L_(y),I=nQ(o),w=nQ(a);e.onConnect?.(D=>e.onError(D),null),e.onHeaders?.(s,I,p,U_(s)),e.onData?.(Buffer.from(C)),e.onComplete?.(w),rQ(f,r)}function p(){}return!0}function see(){let t=this[W7],e=this[j7],r=this[$7];return function(s,i){if(t.isMockActive)try{O_.call(this,s,i)}catch(o){if(o instanceof jo){let a=t[K7]();if(a===!1)throw new jo(`${o.message}: subsequent request to origin ${e} was not allowed (net.connect disabled)`);if(q_(a,e))r.call(this,s,i);else throw new jo(`${o.message}: subsequent request to origin ${e} was not allowed (net.connect is not enabled for this origin)`)}else throw o}else r.call(this,s,i)}}function q_(t,e){let r=new URL(e);return t===!0?!0:!!(Array.isArray(t)&&t.some(n=>Ai(n,r.host)))}function iee(t){if(t){let{agent:e,...r}=t;return r}}H_.exports={getResponseData:L_,getMockDispatch:__,addMockDispatch:ree,deleteMockDispatch:rQ,buildKey:F_,generateKeyValues:nQ,matchValue:Ai,getResponse:nee,getStatusText:U_,mockDispatch:O_,buildMockDispatch:see,checkNetConnect:q_,buildMockOptions:iee,getHeaderByName:T_,buildHeadersFromArray:sQ}});var uQ=h((bNe,AQ)=>{"use strict";var{getResponseData:oee,buildKey:aee,addMockDispatch:iQ}=ru(),{kDispatches:Hp,kDispatchKey:zp,kDefaultHeaders:oQ,kDefaultTrailers:aQ,kContentLength:cQ,kMockDispatch:Gp}=Lc(),{InvalidArgumentError:cs}=ye(),{buildURL:cee}=ce(),_c=class{constructor(e){this[Gp]=e}delay(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new cs("waitInMs must be a valid integer > 0");return this[Gp].delay=e,this}persist(){return this[Gp].persist=!0,this}times(e){if(typeof e!="number"||!Number.isInteger(e)||e<=0)throw new cs("repeatTimes must be a valid integer > 0");return this[Gp].times=e,this}},lQ=class{constructor(e,r){if(typeof e!="object")throw new cs("opts must be an object");if(typeof e.path>"u")throw new cs("opts.path must be defined");if(typeof e.method>"u"&&(e.method="GET"),typeof e.path=="string")if(e.query)e.path=cee(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[zp]=aee(e),this[Hp]=r,this[oQ]={},this[aQ]={},this[cQ]=!1}createMockScopeDispatchData({statusCode:e,data:r,responseOptions:n}){let s=oee(r),i=this[cQ]?{"content-length":s.length}:{},o={...this[oQ],...i,...n.headers},a={...this[aQ],...n.trailers};return{statusCode:e,data:r,headers:o,trailers:a}}validateReplyParameters(e){if(typeof e.statusCode>"u")throw new cs("statusCode must be defined");if(typeof e.responseOptions!="object"||e.responseOptions===null)throw new cs("responseOptions must be an object")}reply(e){if(typeof e=="function"){let i=a=>{let c=e(a);if(typeof c!="object"||c===null)throw new cs("reply options callback must return an object");let l={data:"",responseOptions:{},...c};return this.validateReplyParameters(l),{...this.createMockScopeDispatchData(l)}},o=iQ(this[Hp],this[zp],i);return new _c(o)}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=iQ(this[Hp],this[zp],n);return new _c(s)}replyWithError(e){if(typeof e>"u")throw new cs("error must be defined");let r=iQ(this[Hp],this[zp],{error:e});return new _c(r)}defaultReplyHeaders(e){if(typeof e>"u")throw new cs("headers must be defined");return this[oQ]=e,this}defaultReplyTrailers(e){if(typeof e>"u")throw new cs("trailers must be defined");return this[aQ]=e,this}replyContentLength(){return this[cQ]=!0,this}};AQ.exports.MockInterceptor=lQ;AQ.exports.MockScope=_c});var pQ=h((NNe,$_)=>{"use strict";var{promisify:lee}=require("node:util"),Aee=bc(),{buildMockDispatch:uee}=ru(),{kDispatches:z_,kMockAgent:G_,kClose:Y_,kOriginalClose:V_,kOrigin:J_,kOriginalDispatch:dee,kConnected:dQ}=Lc(),{MockInterceptor:mee}=uQ(),W_=Le(),{InvalidArgumentError:pee}=ye(),mQ=class extends Aee{constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new pee("Argument opts.agent must implement Agent");this[G_]=r.agent,this[J_]=e,this[z_]=[],this[dQ]=1,this[dee]=this.dispatch,this[V_]=this.close.bind(this),this.dispatch=uee.call(this),this.close=this[Y_]}get[W_.kConnected](){return this[dQ]}intercept(e){return new mee(e,this[z_])}async[Y_](){await lee(this[V_])(),this[dQ]=0,this[G_][W_.kClients].delete(this[J_])}};$_.exports=mQ});var gQ=h((SNe,rF)=>{"use strict";var{promisify:hee}=require("node:util"),fee=Nc(),{buildMockDispatch:gee}=ru(),{kDispatches:j_,kMockAgent:K_,kClose:X_,kOriginalClose:Z_,kOrigin:eF,kOriginalDispatch:yee,kConnected:hQ}=Lc(),{MockInterceptor:Eee}=uQ(),tF=Le(),{InvalidArgumentError:Cee}=ye(),fQ=class extends fee{constructor(e,r){if(super(e,r),!r||!r.agent||typeof r.agent.dispatch!="function")throw new Cee("Argument opts.agent must implement Agent");this[K_]=r.agent,this[eF]=e,this[j_]=[],this[hQ]=1,this[yee]=this.dispatch,this[Z_]=this.close.bind(this),this.dispatch=gee.call(this),this.close=this[X_]}get[tF.kConnected](){return this[hQ]}intercept(e){return new Eee(e,this[j_])}async[X_](){await hee(this[Z_])(),this[hQ]=0,this[K_][tF.kClients].delete(this[eF])}};rF.exports=fQ});var sF=h((PNe,nF)=>{"use strict";var Iee={pronoun:"it",is:"is",was:"was",this:"this"},Bee={pronoun:"they",is:"are",was:"were",this:"these"};nF.exports=class{constructor(e,r){this.singular=e,this.plural=r}pluralize(e){let r=e===1,n=r?Iee:Bee,s=r?this.singular:this.plural;return{...n,count:e,noun:s}}}});var oF=h((DNe,iF)=>{"use strict";var{Transform:Qee}=require("node:stream"),{Console:xee}=require("node:console"),wee=process.versions.icu?"\u2705":"Y ",bee=process.versions.icu?"\u274C":"N ";iF.exports=class{constructor({disableColors:e}={}){this.transform=new Qee({transform(r,n,s){s(null,r)}}),this.logger=new xee({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let r=e.map(({method:n,path:s,data:{statusCode:i},persist:o,times:a,timesInvoked:c,origin:l})=>({Method:n,Origin:l,Path:s,"Status code":i,Persistent:o?wee:bee,Invocations:c,Remaining:o?1/0:a-c}));return this.logger.table(r),this.transform.read().toString()}}});var AF=h((kNe,lF)=>{"use strict";var{kClients:Ko}=Le(),Nee=Sc(),{kAgent:yQ,kMockAgentSet:Yp,kMockAgentGet:aF,kDispatches:EQ,kIsMockActive:Vp,kNetConnect:Xo,kGetNetConnect:See,kOptions:Jp,kFactory:Wp}=Lc(),Ree=pQ(),Pee=gQ(),{matchValue:vee,buildMockOptions:Dee}=ru(),{InvalidArgumentError:cF,UndiciError:kee}=ye(),Tee=wA(),Mee=sF(),Lee=oF(),CQ=class extends Tee{constructor(e){if(super(e),this[Xo]=!0,this[Vp]=!0,e?.agent&&typeof e.agent.dispatch!="function")throw new cF("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new Nee(e);this[yQ]=r,this[Ko]=r[Ko],this[Jp]=Dee(e)}get(e){let r=this[aF](e);return r||(r=this[Wp](e),this[Yp](e,r)),r}dispatch(e,r){return this.get(e.origin),this[yQ].dispatch(e,r)}async close(){await this[yQ].close(),this[Ko].clear()}deactivate(){this[Vp]=!1}activate(){this[Vp]=!0}enableNetConnect(e){if(typeof e=="string"||typeof e=="function"||e instanceof RegExp)Array.isArray(this[Xo])?this[Xo].push(e):this[Xo]=[e];else if(typeof e>"u")this[Xo]=!0;else throw new cF("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[Xo]=!1}get isMockActive(){return this[Vp]}[Yp](e,r){this[Ko].set(e,r)}[Wp](e){let r=Object.assign({agent:this},this[Jp]);return this[Jp]&&this[Jp].connections===1?new Ree(e,r):new Pee(e,r)}[aF](e){let r=this[Ko].get(e);if(r)return r;if(typeof e!="string"){let n=this[Wp]("http://localhost:9999");return this[Yp](e,n),n}for(let[n,s]of Array.from(this[Ko]))if(s&&typeof n!="string"&&vee(n,e)){let i=this[Wp](e);return this[Yp](e,i),i[EQ]=s[EQ],i}}[See](){return this[Xo]}pendingInterceptors(){let e=this[Ko];return Array.from(e.entries()).flatMap(([r,n])=>n[EQ].map(s=>({...s,origin:r}))).filter(({pending:r})=>r)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new Lee}={}){let r=this.pendingInterceptors();if(r.length===0)return;let n=new Mee("interceptor","interceptors").pluralize(r.length);throw new kee(`
|
|
${n.count} ${n.noun} ${n.is} pending:
|
|
|
|
${e.format(r)}
|
|
`.trim())}};lF.exports=CQ});var $p=h((TNe,pF)=>{"use strict";var uF=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:_ee}=ye(),Fee=Sc();mF()===void 0&&dF(new Fee);function dF(t){if(!t||typeof t.dispatch!="function")throw new _ee("Argument agent must implement Agent");Object.defineProperty(globalThis,uF,{value:t,writable:!0,enumerable:!1,configurable:!1})}function mF(){return globalThis[uF]}pF.exports={setGlobalDispatcher:dF,getGlobalDispatcher:mF}});var jp=h((LNe,hF)=>{"use strict";hF.exports=class{#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 gF=h((_Ne,fF)=>{"use strict";var Uee=Sp();fF.exports=t=>{let e=t?.maxRedirections;return r=>function(s,i){let{maxRedirections:o=e,...a}=s;if(!o)return r(s,i);let c=new Uee(r,o,s,i);return r(a,c)}}});var EF=h((FNe,yF)=>{"use strict";var Oee=Up();yF.exports=t=>e=>function(n,s){return e(n,new Oee({...n,retryOptions:{...t,...n.retryOptions}},{handler:s,dispatch:e}))}});var IF=h((UNe,CF)=>{"use strict";var qee=ce(),{InvalidArgumentError:Hee,RequestAbortedError:zee}=ye(),Gee=jp(),IQ=class extends Gee{#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 Hee("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 o=qee.parseHeaders(r)["content-length"];if(o!=null&&o>this.#e)throw new zee(`Response size (${o}) 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 Yee({maxSize:t}={maxSize:1024*1024}){return e=>function(n,s){let{dumpMaxSize:i=t}=n,o=new IQ({maxSize:i},s);return e(n,o)}}CF.exports=Yee});var xF=h((ONe,QF)=>{"use strict";var{isIP:Vee}=require("node:net"),{lookup:Jee}=require("node:dns"),Wee=jp(),{InvalidArgumentError:Fc,InformationalError:$ee}=ye(),BF=Math.pow(2,31)-1,BQ=class{#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,(o,a)=>{if(o||a==null||a.length===0){n(o??new $ee("No DNS entries found"));return}this.setRecords(e,a);let c=this.#r.get(e.hostname),l=this.pick(e,c,i.affinity),A;typeof l.port=="number"?A=`:${l.port}`:e.port!==""?A=`:${e.port}`:A="",n(null,`${e.protocol}//${l.family===6?`[${l.address}]`:l.address}${A}`)});else{let o=this.pick(e,s,i.affinity);if(o==null){this.#r.delete(e.hostname),this.runLookup(e,r,n);return}let a;typeof o.port=="number"?a=`:${o.port}`:e.port!==""?a=`:${e.port}`:a="",n(null,`${e.protocol}//${o.family===6?`[${o.address}]`:o.address}${a}`)}}#i(e,r,n){Jee(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(s,i)=>{if(s)return n(s);let o=new Map;for(let a of i)o.set(`${a.address}:${a.family}`,a);n(null,o.values())})}#s(e,r,n){let s=null,{records:i,offset:o}=r,a;if(this.dualStack?(n==null&&(o==null||o===BF?(r.offset=0,n=4):(r.offset++,n=(r.offset&1)===1?6:4)),i[n]!=null&&i[n].ips.length>0?a=i[n]:a=i[n===4?6:4]):a=i[n],a==null||a.ips.length===0)return s;a.offset==null||a.offset===BF?a.offset=0:a.offset++;let c=a.offset%a.ips.length;return s=a.ips[c]??null,s==null?s:Date.now()-s.timestamp>s.ttl?(a.ips.splice(c,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 o=s.records[i.family]??{ips:[]};o.ips.push(i),s.records[i.family]=o}this.#r.set(e.hostname,s)}getHandler(e,r){return new QQ(this,e,r)}},QQ=class extends Wee{#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}}};QF.exports=t=>{if(t?.maxTTL!=null&&(typeof t?.maxTTL!="number"||t?.maxTTL<0))throw new Fc("Invalid maxTTL. Must be a positive number");if(t?.maxItems!=null&&(typeof t?.maxItems!="number"||t?.maxItems<1))throw new Fc("Invalid maxItems. Must be a positive number and greater than zero");if(t?.affinity!=null&&t?.affinity!==4&&t?.affinity!==6)throw new Fc("Invalid affinity. Must be either 4 or 6");if(t?.dualStack!=null&&typeof t?.dualStack!="boolean")throw new Fc("Invalid dualStack. Must be a boolean");if(t?.lookup!=null&&typeof t?.lookup!="function")throw new Fc("Invalid lookup. Must be a function");if(t?.pick!=null&&typeof t?.pick!="function")throw new Fc("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 BQ(n);return i=>function(a,c){let l=a.origin.constructor===URL?a.origin:new URL(a.origin);return Vee(l.hostname)!==0?i(a,c):(s.runLookup(l,a,(A,u)=>{if(A)return c.onError(A);let d=null;d={...a,servername:l.hostname,origin:u,headers:{host:l.hostname,...a.headers}},i(d,s.getHandler({origin:l,dispatch:i,handler:c},a))}),!0)}}});var Zo=h((qNe,vF)=>{"use strict";var{kConstruct:jee}=Le(),{kEnumerableProperty:Uc}=ce(),{iteratorMixin:Kee,isValidHeaderName:nu,isValidHeaderValue:bF}=br(),{webidl:me}=vt(),xQ=require("node:assert"),Kp=require("node:util"),ut=Symbol("headers map"),Pr=Symbol("headers map sorted");function wF(t){return t===10||t===13||t===9||t===32}function NF(t){let e=0,r=t.length;for(;r>e&&wF(t.charCodeAt(r-1));)--r;for(;r>e&&wF(t.charCodeAt(e));)++e;return e===0&&r===t.length?t:t.substring(e,r)}function SF(t,e){if(Array.isArray(e))for(let r=0;r<e.length;++r){let n=e[r];if(n.length!==2)throw me.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${n.length}.`});wQ(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)wQ(t,r[n],e[r[n]])}else throw me.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}function wQ(t,e,r){if(r=NF(r),nu(e)){if(!bF(r))throw me.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw me.errors.invalidArgument({prefix:"Headers.append",value:e,type:"header name"});if(PF(t)==="immutable")throw new TypeError("immutable");return bQ(t).append(e,r,!1)}function RF(t,e){return t[0]<e[0]?-1:1}var Xp=class t{cookies=null;constructor(e){e instanceof t?(this[ut]=new Map(e[ut]),this[Pr]=e[Pr],this.cookies=e.cookies===null?null:[...e.cookies]):(this[ut]=new Map(e),this[Pr]=null)}contains(e,r){return this[ut].has(r?e:e.toLowerCase())}clear(){this[ut].clear(),this[Pr]=null,this.cookies=null}append(e,r,n){this[Pr]=null;let s=n?e:e.toLowerCase(),i=this[ut].get(s);if(i){let o=s==="cookie"?"; ":", ";this[ut].set(s,{name:i.name,value:`${i.value}${o}${r}`})}else this[ut].set(s,{name:e,value:r});s==="set-cookie"&&(this.cookies??=[]).push(r)}set(e,r,n){this[Pr]=null;let s=n?e:e.toLowerCase();s==="set-cookie"&&(this.cookies=[r]),this[ut].set(s,{name:e,value:r})}delete(e,r){this[Pr]=null,r||(e=e.toLowerCase()),e==="set-cookie"&&(this.cookies=null),this[ut].delete(e)}get(e,r){return this[ut].get(r?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:r}}of this[ut])yield[e,r]}get entries(){let e={};if(this[ut].size!==0)for(let{name:r,value:n}of this[ut].values())e[r]=n;return e}rawValues(){return this[ut].values()}get entriesList(){let e=[];if(this[ut].size!==0)for(let{0:r,1:{name:n,value:s}}of this[ut])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[ut].size,r=new Array(e);if(e<=32){if(e===0)return r;let n=this[ut][Symbol.iterator](),s=n.next().value;r[0]=[s[0],s[1].value],xQ(s[1].value!==null);for(let i=1,o=0,a=0,c=0,l=0,A,u;i<e;++i){for(u=n.next().value,A=r[i]=[u[0],u[1].value],xQ(A[1]!==null),c=0,a=i;c<a;)l=c+(a-c>>1),r[l][0]<=A[0]?c=l+1:a=l;if(i!==l){for(o=i;o>c;)r[o]=r[--o];r[c]=A}}if(!n.next().done)throw new TypeError("Unreachable");return r}else{let n=0;for(let{0:s,1:{value:i}}of this[ut])r[n++]=[s,i],xQ(i!==null);return r.sort(RF)}}},Mn=class t{#e;#t;constructor(e=void 0){me.util.markAsUncloneable(this),e!==jee&&(this.#t=new Xp,this.#e="none",e!==void 0&&(e=me.converters.HeadersInit(e,"Headers contructor","init"),SF(this,e)))}append(e,r){me.brandCheck(this,t),me.argumentLengthCheck(arguments,2,"Headers.append");let n="Headers.append";return e=me.converters.ByteString(e,n,"name"),r=me.converters.ByteString(r,n,"value"),wQ(this,e,r)}delete(e){if(me.brandCheck(this,t),me.argumentLengthCheck(arguments,1,"Headers.delete"),e=me.converters.ByteString(e,"Headers.delete","name"),!nu(e))throw me.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){me.brandCheck(this,t),me.argumentLengthCheck(arguments,1,"Headers.get");let r="Headers.get";if(e=me.converters.ByteString(e,r,"name"),!nu(e))throw me.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.get(e,!1)}has(e){me.brandCheck(this,t),me.argumentLengthCheck(arguments,1,"Headers.has");let r="Headers.has";if(e=me.converters.ByteString(e,r,"name"),!nu(e))throw me.errors.invalidArgument({prefix:r,value:e,type:"header name"});return this.#t.contains(e,!1)}set(e,r){me.brandCheck(this,t),me.argumentLengthCheck(arguments,2,"Headers.set");let n="Headers.set";if(e=me.converters.ByteString(e,n,"name"),r=me.converters.ByteString(r,n,"value"),r=NF(r),nu(e)){if(!bF(r))throw me.errors.invalidArgument({prefix:n,value:r,type:"header value"})}else throw me.errors.invalidArgument({prefix:n,value:e,type:"header name"});if(this.#e==="immutable")throw new TypeError("immutable");this.#t.set(e,r,!1)}getSetCookie(){me.brandCheck(this,t);let e=this.#t.cookies;return e?[...e]:[]}get[Pr](){if(this.#t[Pr])return this.#t[Pr];let e=[],r=this.#t.toSortedArray(),n=this.#t.cookies;if(n===null||n.length===1)return this.#t[Pr]=r;for(let s=0;s<r.length;++s){let{0:i,1:o}=r[s];if(i==="set-cookie")for(let a=0;a<n.length;++a)e.push([i,n[a]]);else e.push([i,o])}return this.#t[Pr]=e}[Kp.inspect.custom](e,r){return r.depth??=e,`Headers ${Kp.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:PF,setHeadersGuard:Xee,getHeadersList:bQ,setHeadersList:Zee}=Mn;Reflect.deleteProperty(Mn,"getHeadersGuard");Reflect.deleteProperty(Mn,"setHeadersGuard");Reflect.deleteProperty(Mn,"getHeadersList");Reflect.deleteProperty(Mn,"setHeadersList");Kee("Headers",Mn,Pr,0,1);Object.defineProperties(Mn.prototype,{append:Uc,delete:Uc,get:Uc,has:Uc,set:Uc,getSetCookie:Uc,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[Kp.inspect.custom]:{enumerable:!1}});me.converters.HeadersInit=function(t,e,r){if(me.util.Type(t)==="Object"){let n=Reflect.get(t,Symbol.iterator);if(!Kp.types.isProxy(t)&&n===Mn.prototype.entries)try{return bQ(t).entriesList}catch{}return typeof n=="function"?me.converters["sequence<sequence<ByteString>>"](t,e,r,n.bind(t)):me.converters["record<ByteString, ByteString>"](t,e,r)}throw me.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})};vF.exports={fill:SF,compareHeaderName:RF,Headers:Mn,HeadersList:Xp,getHeadersGuard:PF,setHeadersGuard:Xee,setHeadersList:Zee,getHeadersList:bQ}});var iu=h((HNe,zF)=>{"use strict";var{Headers:_F,HeadersList:DF,fill:ete,getHeadersGuard:tte,setHeadersGuard:FF,setHeadersList:UF}=Zo(),{extractBody:kF,cloneBody:rte,mixinBody:nte,hasFinalizationRegistry:OF,streamRegistry:qF,bodyUnusable:ste}=Ec(),NQ=ce(),TF=require("node:util"),{kEnumerableProperty:vr}=NQ,{isValidReasonPhrase:ite,isCancelled:ote,isAborted:ate,isBlobLike:cte,serializeJavascriptValueToJSONString:lte,isErrorLike:Ate,isomorphicEncode:ute,environmentSettingsObject:dte}=br(),{redirectStatusSet:mte,nullBodyStatus:pte}=SA(),{kState:Fe,kHeaders:ui}=qi(),{webidl:ie}=vt(),{FormData:hte}=TA(),{URLSerializer:MF}=ir(),{kConstruct:eh}=Le(),SQ=require("node:assert"),{types:fte}=require("node:util"),gte=new TextEncoder("utf-8"),ea=class t{static error(){return su(th(),"immutable")}static json(e,r={}){ie.argumentLengthCheck(arguments,1,"Response.json"),r!==null&&(r=ie.converters.ResponseInit(r));let n=gte.encode(lte(e)),s=kF(n),i=su(Oc({}),"response");return LF(i,r,{body:s[0],type:"application/json"}),i}static redirect(e,r=302){ie.argumentLengthCheck(arguments,1,"Response.redirect"),e=ie.converters.USVString(e),r=ie.converters["unsigned short"](r);let n;try{n=new URL(e,dte.settingsObject.baseUrl)}catch(o){throw new TypeError(`Failed to parse URL from ${e}`,{cause:o})}if(!mte.has(r))throw new RangeError(`Invalid status code ${r}`);let s=su(Oc({}),"immutable");s[Fe].status=r;let i=ute(MF(n));return s[Fe].headersList.append("location",i,!0),s}constructor(e=null,r={}){if(ie.util.markAsUncloneable(this),e===eh)return;e!==null&&(e=ie.converters.BodyInit(e)),r=ie.converters.ResponseInit(r),this[Fe]=Oc({}),this[ui]=new _F(eh),FF(this[ui],"response"),UF(this[ui],this[Fe].headersList);let n=null;if(e!=null){let[s,i]=kF(e);n={body:s,type:i}}LF(this,r,n)}get type(){return ie.brandCheck(this,t),this[Fe].type}get url(){ie.brandCheck(this,t);let e=this[Fe].urlList,r=e[e.length-1]??null;return r===null?"":MF(r,!0)}get redirected(){return ie.brandCheck(this,t),this[Fe].urlList.length>1}get status(){return ie.brandCheck(this,t),this[Fe].status}get ok(){return ie.brandCheck(this,t),this[Fe].status>=200&&this[Fe].status<=299}get statusText(){return ie.brandCheck(this,t),this[Fe].statusText}get headers(){return ie.brandCheck(this,t),this[ui]}get body(){return ie.brandCheck(this,t),this[Fe].body?this[Fe].body.stream:null}get bodyUsed(){return ie.brandCheck(this,t),!!this[Fe].body&&NQ.isDisturbed(this[Fe].body.stream)}clone(){if(ie.brandCheck(this,t),ste(this))throw ie.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=RQ(this[Fe]);return OF&&this[Fe].body?.stream&&qF.register(this,new WeakRef(this[Fe].body.stream)),su(e,tte(this[ui]))}[TF.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 ${TF.formatWithOptions(r,n)}`}};nte(ea);Object.defineProperties(ea.prototype,{type:vr,url:vr,status:vr,ok:vr,redirected:vr,statusText:vr,headers:vr,clone:vr,body:vr,bodyUsed:vr,[Symbol.toStringTag]:{value:"Response",configurable:!0}});Object.defineProperties(ea,{json:vr,redirect:vr,error:vr});function RQ(t){if(t.internalResponse)return HF(RQ(t.internalResponse),t.type);let e=Oc({...t,body:null});return t.body!=null&&(e.body=rte(e,t.body)),e}function Oc(t){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...t,headersList:t?.headersList?new DF(t?.headersList):new DF,urlList:t?.urlList?[...t.urlList]:[]}}function th(t){let e=Ate(t);return Oc({type:"error",status:0,error:e?t:new Error(t&&String(t)),aborted:t&&t.name==="AbortError"})}function yte(t){return t.type==="error"&&t.status===0}function Zp(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 SQ(!(n in e)),r[n]=s,!0}})}function HF(t,e){if(e==="basic")return Zp(t,{type:"basic",headersList:t.headersList});if(e==="cors")return Zp(t,{type:"cors",headersList:t.headersList});if(e==="opaque")return Zp(t,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null});if(e==="opaqueredirect")return Zp(t,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null});SQ(!1)}function Ete(t,e=null){return SQ(ote(t)),ate(t)?th(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:e})):th(Object.assign(new DOMException("Request was cancelled."),{cause:e}))}function LF(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&&!ite(String(e.statusText)))throw new TypeError("Invalid statusText");if("status"in e&&e.status!=null&&(t[Fe].status=e.status),"statusText"in e&&e.statusText!=null&&(t[Fe].statusText=e.statusText),"headers"in e&&e.headers!=null&&ete(t[ui],e.headers),r){if(pte.includes(t.status))throw ie.errors.exception({header:"Response constructor",message:`Invalid response status code ${t.status}`});t[Fe].body=r.body,r.type!=null&&!t[Fe].headersList.contains("content-type",!0)&&t[Fe].headersList.append("content-type",r.type,!0)}}function su(t,e){let r=new ea(eh);return r[Fe]=t,r[ui]=new _F(eh),UF(r[ui],t.headersList),FF(r[ui],e),OF&&t.body?.stream&&qF.register(r,new WeakRef(t.body.stream)),r}ie.converters.ReadableStream=ie.interfaceConverter(ReadableStream);ie.converters.FormData=ie.interfaceConverter(hte);ie.converters.URLSearchParams=ie.interfaceConverter(URLSearchParams);ie.converters.XMLHttpRequestBodyInit=function(t,e,r){return typeof t=="string"?ie.converters.USVString(t,e,r):cte(t)?ie.converters.Blob(t,e,r,{strict:!1}):ArrayBuffer.isView(t)||fte.isArrayBuffer(t)?ie.converters.BufferSource(t,e,r):NQ.isFormDataLike(t)?ie.converters.FormData(t,e,r,{strict:!1}):t instanceof URLSearchParams?ie.converters.URLSearchParams(t,e,r):ie.converters.DOMString(t,e,r)};ie.converters.BodyInit=function(t,e,r){return t instanceof ReadableStream?ie.converters.ReadableStream(t,e,r):t?.[Symbol.asyncIterator]?t:ie.converters.XMLHttpRequestBodyInit(t,e,r)};ie.converters.ResponseInit=ie.dictionaryConverter([{key:"status",converter:ie.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:ie.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:ie.converters.HeadersInit}]);zF.exports={isNetworkError:yte,makeNetworkError:th,makeResponse:Oc,makeAppropriateNetworkError:Ete,filterResponse:HF,Response:ea,cloneResponse:RQ,fromInnerResponse:su}});var JF=h((zNe,VF)=>{"use strict";var{kConnected:GF,kSize:YF}=Le(),PQ=class{constructor(e){this.value=e}deref(){return this.value[GF]===0&&this.value[YF]===0?void 0:this.value}},vQ=class{constructor(e){this.finalizer=e}register(e,r){e.on&&e.on("disconnect",()=>{e[GF]===0&&e[YF]===0&&this.finalizer(r)})}unregister(e){}};VF.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")?(process._rawDebug("Using compatibility WeakRef and FinalizationRegistry"),{WeakRef:PQ,FinalizationRegistry:vQ}):{WeakRef,FinalizationRegistry}}});var qc=h((GNe,c2)=>{"use strict";var{extractBody:Cte,mixinBody:Ite,cloneBody:Bte,bodyUnusable:WF}=Ec(),{Headers:n2,fill:Qte,HeadersList:ih,setHeadersGuard:kQ,getHeadersGuard:xte,setHeadersList:s2,getHeadersList:$F}=Zo(),{FinalizationRegistry:wte}=JF()(),nh=ce(),jF=require("node:util"),{isValidHTTPToken:bte,sameOrigin:KF,environmentSettingsObject:rh}=br(),{forbiddenMethodsSet:Nte,corsSafeListedMethodsSet:Ste,referrerPolicy:Rte,requestRedirect:Pte,requestMode:vte,requestCredentials:Dte,requestCache:kte,requestDuplex:Tte}=SA(),{kEnumerableProperty:dt,normalizedMethodRecordsBase:Mte,normalizedMethodRecords:Lte}=nh,{kHeaders:Dr,kSignal:sh,kState:De,kDispatcher:DQ}=qi(),{webidl:$}=vt(),{URLSerializer:_te}=ir(),{kConstruct:oh}=Le(),Fte=require("node:assert"),{getMaxListeners:XF,setMaxListeners:ZF,getEventListeners:Ute,defaultMaxListeners:e2}=require("node:events"),Ote=Symbol("abortController"),i2=new wte(({signal:t,abort:e})=>{t.removeEventListener("abort",e)}),ah=new WeakMap;function t2(t){return e;function e(){let r=t.deref();if(r!==void 0){i2.unregister(e),this.removeEventListener("abort",e),r.abort(this.reason);let n=ah.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()}ah.delete(r.signal)}}}}var r2=!1,Zi=class t{constructor(e,r={}){if($.util.markAsUncloneable(this),e===oh)return;let n="Request constructor";$.argumentLengthCheck(arguments,1,n),e=$.converters.RequestInfo(e,n,"input"),r=$.converters.RequestInit(r,n,"init");let s=null,i=null,o=rh.settingsObject.baseUrl,a=null;if(typeof e=="string"){this[DQ]=r.dispatcher;let g;try{g=new URL(e,o)}catch(y){throw new TypeError("Failed to parse URL from "+e,{cause:y})}if(g.username||g.password)throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+e);s=ch({urlList:[g]}),i="cors"}else this[DQ]=r.dispatcher||e[DQ],Fte(e instanceof t),s=e[De],a=e[sh];let c=rh.settingsObject.origin,l="client";if(s.window?.constructor?.name==="EnvironmentSettingsObject"&&KF(s.window,c)&&(l=s.window),r.window!=null)throw new TypeError(`'window' option '${l}' must be null`);"window"in r&&(l="no-window"),s=ch({method:s.method,headersList:s.headersList,unsafeRequest:s.unsafeRequest,client:rh.settingsObject,window:l,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 A=Object.keys(r).length!==0;if(A&&(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 g=r.referrer;if(g==="")s.referrer="no-referrer";else{let y;try{y=new URL(g,o)}catch(C){throw new TypeError(`Referrer "${g}" is not a valid URL.`,{cause:C})}y.protocol==="about:"&&y.hostname==="client"||c&&!KF(y,rh.settingsObject.baseUrl)?s.referrer="client":s.referrer=y}}r.referrerPolicy!==void 0&&(s.referrerPolicy=r.referrerPolicy);let u;if(r.mode!==void 0?u=r.mode:u=i,u==="navigate")throw $.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(u!=null&&(s.mode=u),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 g=r.method,y=Lte[g];if(y!==void 0)s.method=y;else{if(!bte(g))throw new TypeError(`'${g}' is not a valid HTTP method.`);let C=g.toUpperCase();if(Nte.has(C))throw new TypeError(`'${g}' HTTP method is unsupported.`);g=Mte[C]??g,s.method=g}!r2&&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"}),r2=!0)}r.signal!==void 0&&(a=r.signal),this[De]=s;let d=new AbortController;if(this[sh]=d.signal,a!=null){if(!a||typeof a.aborted!="boolean"||typeof a.addEventListener!="function")throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.");if(a.aborted)d.abort(a.reason);else{this[Ote]=d;let g=new WeakRef(d),y=t2(g);try{(typeof XF=="function"&&XF(a)===e2||Ute(a,"abort").length>=e2)&&ZF(1500,a)}catch{}nh.addAbortListener(a,y),i2.register(d,{signal:a,abort:y},y)}}if(this[Dr]=new n2(oh),s2(this[Dr],s.headersList),kQ(this[Dr],"request"),u==="no-cors"){if(!Ste.has(s.method))throw new TypeError(`'${s.method} is unsupported in no-cors mode.`);kQ(this[Dr],"request-no-cors")}if(A){let g=$F(this[Dr]),y=r.headers!==void 0?r.headers:new ih(g);if(g.clear(),y instanceof ih){for(let{name:C,value:I}of y.rawValues())g.append(C,I,!1);g.cookies=y.cookies}else Qte(this[Dr],y)}let m=e instanceof t?e[De].body:null;if((r.body!=null||m!=null)&&(s.method==="GET"||s.method==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body.");let p=null;if(r.body!=null){let[g,y]=Cte(r.body,s.keepalive);p=g,y&&!$F(this[Dr]).contains("content-type",!0)&&this[Dr].append("content-type",y)}let f=p??m;if(f!=null&&f.source==null){if(p!=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 E=f;if(p==null&&m!=null){if(WF(e))throw new TypeError("Cannot construct a Request with a Request object that has already been used.");let g=new TransformStream;m.stream.pipeThrough(g),E={source:m.source,length:m.length,stream:g.readable}}this[De].body=E}get method(){return $.brandCheck(this,t),this[De].method}get url(){return $.brandCheck(this,t),_te(this[De].url)}get headers(){return $.brandCheck(this,t),this[Dr]}get destination(){return $.brandCheck(this,t),this[De].destination}get referrer(){return $.brandCheck(this,t),this[De].referrer==="no-referrer"?"":this[De].referrer==="client"?"about:client":this[De].referrer.toString()}get referrerPolicy(){return $.brandCheck(this,t),this[De].referrerPolicy}get mode(){return $.brandCheck(this,t),this[De].mode}get credentials(){return this[De].credentials}get cache(){return $.brandCheck(this,t),this[De].cache}get redirect(){return $.brandCheck(this,t),this[De].redirect}get integrity(){return $.brandCheck(this,t),this[De].integrity}get keepalive(){return $.brandCheck(this,t),this[De].keepalive}get isReloadNavigation(){return $.brandCheck(this,t),this[De].reloadNavigation}get isHistoryNavigation(){return $.brandCheck(this,t),this[De].historyNavigation}get signal(){return $.brandCheck(this,t),this[sh]}get body(){return $.brandCheck(this,t),this[De].body?this[De].body.stream:null}get bodyUsed(){return $.brandCheck(this,t),!!this[De].body&&nh.isDisturbed(this[De].body.stream)}get duplex(){return $.brandCheck(this,t),"half"}clone(){if($.brandCheck(this,t),WF(this))throw new TypeError("unusable");let e=o2(this[De]),r=new AbortController;if(this.signal.aborted)r.abort(this.signal.reason);else{let n=ah.get(this.signal);n===void 0&&(n=new Set,ah.set(this.signal,n));let s=new WeakRef(r);n.add(s),nh.addAbortListener(r.signal,t2(s))}return a2(e,r.signal,xte(this[Dr]))}[jF.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 ${jF.formatWithOptions(r,n)}`}};Ite(Zi);function ch(t){return{method:t.method??"GET",localURLsOnly:t.localURLsOnly??!1,unsafeRequest:t.unsafeRequest??!1,body:t.body??null,client:t.client??null,reservedClient:t.reservedClient??null,replacesClientId:t.replacesClientId??"",window:t.window??"client",keepalive:t.keepalive??!1,serviceWorkers:t.serviceWorkers??"all",initiator:t.initiator??"",destination:t.destination??"",priority:t.priority??null,origin:t.origin??"client",policyContainer:t.policyContainer??"client",referrer:t.referrer??"client",referrerPolicy:t.referrerPolicy??"",mode:t.mode??"no-cors",useCORSPreflightFlag:t.useCORSPreflightFlag??!1,credentials:t.credentials??"same-origin",useCredentials:t.useCredentials??!1,cache:t.cache??"default",redirect:t.redirect??"follow",integrity:t.integrity??"",cryptoGraphicsNonceMetadata:t.cryptoGraphicsNonceMetadata??"",parserMetadata:t.parserMetadata??"",reloadNavigation:t.reloadNavigation??!1,historyNavigation:t.historyNavigation??!1,userActivation:t.userActivation??!1,taintedOrigin:t.taintedOrigin??!1,redirectCount:t.redirectCount??0,responseTainting:t.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:t.preventNoCacheCacheControlHeaderModification??!1,done:t.done??!1,timingAllowFailed:t.timingAllowFailed??!1,urlList:t.urlList,url:t.urlList[0],headersList:t.headersList?new ih(t.headersList):new ih}}function o2(t){let e=ch({...t,body:null});return t.body!=null&&(e.body=Bte(e,t.body)),e}function a2(t,e,r){let n=new Zi(oh);return n[De]=t,n[sh]=e,n[Dr]=new n2(oh),s2(n[Dr],t.headersList),kQ(n[Dr],r),n}Object.defineProperties(Zi.prototype,{method:dt,url:dt,headers:dt,redirect:dt,clone:dt,signal:dt,duplex:dt,destination:dt,body:dt,bodyUsed:dt,isHistoryNavigation:dt,isReloadNavigation:dt,keepalive:dt,integrity:dt,cache:dt,credentials:dt,attribute:dt,referrerPolicy:dt,referrer:dt,mode:dt,[Symbol.toStringTag]:{value:"Request",configurable:!0}});$.converters.Request=$.interfaceConverter(Zi);$.converters.RequestInfo=function(t,e,r){return typeof t=="string"?$.converters.USVString(t,e,r):t instanceof Zi?$.converters.Request(t,e,r):$.converters.USVString(t,e,r)};$.converters.AbortSignal=$.interfaceConverter(AbortSignal);$.converters.RequestInit=$.dictionaryConverter([{key:"method",converter:$.converters.ByteString},{key:"headers",converter:$.converters.HeadersInit},{key:"body",converter:$.nullableConverter($.converters.BodyInit)},{key:"referrer",converter:$.converters.USVString},{key:"referrerPolicy",converter:$.converters.DOMString,allowedValues:Rte},{key:"mode",converter:$.converters.DOMString,allowedValues:vte},{key:"credentials",converter:$.converters.DOMString,allowedValues:Dte},{key:"cache",converter:$.converters.DOMString,allowedValues:kte},{key:"redirect",converter:$.converters.DOMString,allowedValues:Pte},{key:"integrity",converter:$.converters.DOMString},{key:"keepalive",converter:$.converters.boolean},{key:"signal",converter:$.nullableConverter(t=>$.converters.AbortSignal(t,"RequestInit","signal",{strict:!1}))},{key:"window",converter:$.converters.any},{key:"duplex",converter:$.converters.DOMString,allowedValues:Tte},{key:"dispatcher",converter:$.converters.any}]);c2.exports={Request:Zi,makeRequest:ch,fromInnerRequest:a2,cloneRequest:o2}});var au=h((YNe,Q2)=>{"use strict";var{makeNetworkError:xe,makeAppropriateNetworkError:lh,filterResponse:TQ,makeResponse:Ah,fromInnerResponse:qte}=iu(),{HeadersList:l2}=Zo(),{Request:Hte,cloneRequest:zte}=qc(),eo=require("node:zlib"),{bytesMatch:Gte,makePolicyContainer:Yte,clonePolicyContainer:Vte,requestBadPort:Jte,TAOCheck:Wte,appendRequestOriginHeader:$te,responseLocationURL:jte,requestCurrentURL:ls,setRequestReferrerPolicyOnRedirect:Kte,tryUpgradeRequestToAPotentiallyTrustworthyURL:Xte,createOpaqueTimingInfo:UQ,appendFetchMetadata:Zte,corsCheck:ere,crossOriginResourcePolicyCheck:tre,determineRequestsReferrer:rre,coarsenedSharedCurrentTime:ou,createDeferredPromise:nre,isBlobLike:sre,sameOrigin:FQ,isCancelled:ta,isAborted:A2,isErrorLike:ire,fullyReadBody:ore,readableStreamClose:are,isomorphicEncode:uh,urlIsLocal:cre,urlIsHttpHttpsScheme:OQ,urlHasHttpsScheme:lre,clampAndCoarsenConnectionTimingInfo:Are,simpleRangeHeaderValue:ure,buildContentRange:dre,createInflate:mre,extractMimeType:pre}=br(),{kState:p2,kDispatcher:hre}=qi(),ra=require("node:assert"),{safelyExtractBody:qQ,extractBody:u2}=Ec(),{redirectStatusSet:h2,nullBodyStatus:f2,safeMethodsSet:fre,requestBodyHeader:gre,subresourceSet:yre}=SA(),Ere=require("node:events"),{Readable:Cre,pipeline:Ire,finished:Bre}=require("node:stream"),{addAbortListener:Qre,isErrored:xre,isReadable:dh,bufferToLowerCasedHeaderName:d2}=ce(),{dataURLProcessor:wre,serializeAMimeType:bre,minimizeSupportedMimeType:Nre}=ir(),{getGlobalDispatcher:Sre}=$p(),{webidl:Rre}=vt(),{STATUS_CODES:Pre}=require("node:http"),vre=["GET","HEAD"],Dre=typeof __UNDICI_IS_NODE__<"u"||typeof esbuildDetection<"u"?"node":"undici",MQ,mh=class extends Ere{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 kre(t){g2(t,"fetch")}function Tre(t,e=void 0){Rre.argumentLengthCheck(arguments,1,"globalThis.fetch");let r=nre(),n;try{n=new Hte(t,e)}catch(A){return r.reject(A),r.promise}let s=n[p2];if(n.signal.aborted)return LQ(r,s,null,n.signal.reason),r.promise;s.client.globalObject?.constructor?.name==="ServiceWorkerGlobalScope"&&(s.serviceWorkers="none");let o=null,a=!1,c=null;return Qre(n.signal,()=>{a=!0,ra(c!=null),c.abort(n.signal.reason);let A=o?.deref();LQ(r,s,A,n.signal.reason)}),c=E2({request:s,processResponseEndOfBody:kre,processResponse:A=>{if(!a){if(A.aborted){LQ(r,s,o,c.serializedAbortReason);return}if(A.type==="error"){r.reject(new TypeError("fetch failed",{cause:A.error}));return}o=new WeakRef(qte(A,"immutable")),r.resolve(o.deref()),r=null}},dispatcher:n[hre]}),r.promise}function g2(t,e="other"){if(t.type==="error"&&t.aborted||!t.urlList?.length)return;let r=t.urlList[0],n=t.timingInfo,s=t.cacheState;OQ(r)&&n!==null&&(t.timingAllowPassed||(n=UQ({startTime:n.startTime}),s=""),n.endTime=ou(),t.timingInfo=n,y2(n,r.href,e,globalThis,s))}var y2=performance.markResourceTiming;function LQ(t,e,r,n){if(t&&t.reject(n),e.body!=null&&dh(e.body?.stream)&&e.body.stream.cancel(n).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i}),r==null)return;let s=r[p2];s.body!=null&&dh(s.body?.stream)&&s.body.stream.cancel(n).catch(i=>{if(i.code!=="ERR_INVALID_STATE")throw i})}function E2({request:t,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:s,processResponseConsumeBody:i,useParallelQueue:o=!1,dispatcher:a=Sre()}){ra(a);let c=null,l=!1;t.client!=null&&(c=t.client.globalObject,l=t.client.crossOriginIsolatedCapability);let A=ou(l),u=UQ({startTime:A}),d={controller:new mh(a),request:t,timingInfo:u,processRequestBodyChunkLength:e,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:i,processResponseEndOfBody:s,taskDestination:c,crossOriginIsolatedCapability:l};return ra(!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=Vte(t.client.policyContainer):t.policyContainer=Yte()),t.headersList.contains("accept",!0)||t.headersList.append("accept","*/*",!0),t.headersList.contains("accept-language",!0)||t.headersList.append("accept-language","*",!0),t.priority,yre.has(t.destination),C2(d).catch(m=>{d.controller.terminate(m)}),d.controller}async function C2(t,e=!1){let r=t.request,n=null;if(r.localURLsOnly&&!cre(ls(r))&&(n=xe("local URLs only")),Xte(r),Jte(r)==="blocked"&&(n=xe("bad port")),r.referrerPolicy===""&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!=="no-referrer"&&(r.referrer=rre(r)),n===null&&(n=await(async()=>{let i=ls(r);return FQ(i,r.url)&&r.responseTainting==="basic"||i.protocol==="data:"||r.mode==="navigate"||r.mode==="websocket"?(r.responseTainting="basic",await m2(t)):r.mode==="same-origin"?xe('request mode cannot be "same-origin"'):r.mode==="no-cors"?r.redirect!=="follow"?xe('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",await m2(t)):OQ(ls(r))?(r.responseTainting="cors",await I2(t)):xe("URL scheme must be a HTTP(S) scheme")})()),e)return n;n.status!==0&&!n.internalResponse&&(r.responseTainting,r.responseTainting==="basic"?n=TQ(n,"basic"):r.responseTainting==="cors"?n=TQ(n,"cors"):r.responseTainting==="opaque"?n=TQ(n,"opaque"):ra(!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=xe()),n.status!==0&&(r.method==="HEAD"||r.method==="CONNECT"||f2.includes(s.status))&&(s.body=null,t.controller.dump=!0),r.integrity){let i=a=>_Q(t,xe(a));if(r.responseTainting==="opaque"||n.body==null){i(n.error);return}let o=a=>{if(!Gte(a,r.integrity)){i("integrity mismatch");return}n.body=qQ(a)[0],_Q(t,n)};await ore(n.body,o,i)}else _Q(t,n)}function m2(t){if(ta(t)&&t.request.redirectCount===0)return Promise.resolve(lh(t));let{request:e}=t,{protocol:r}=ls(e);switch(r){case"about:":return Promise.resolve(xe("about scheme is not supported"));case"blob:":{MQ||(MQ=require("node:buffer").resolveObjectURL);let n=ls(e);if(n.search.length!==0)return Promise.resolve(xe("NetworkError when attempting to fetch resource."));let s=MQ(n.toString());if(e.method!=="GET"||!sre(s))return Promise.resolve(xe("invalid method"));let i=Ah(),o=s.size,a=uh(`${o}`),c=s.type;if(e.headersList.contains("range",!0)){i.rangeRequested=!0;let l=e.headersList.get("range",!0),A=ure(l,!0);if(A==="failure")return Promise.resolve(xe("failed to fetch the data URL"));let{rangeStartValue:u,rangeEndValue:d}=A;if(u===null)u=o-d,d=u+d-1;else{if(u>=o)return Promise.resolve(xe("Range start is greater than the blob's size."));(d===null||d>=o)&&(d=o-1)}let m=s.slice(u,d,c),p=u2(m);i.body=p[0];let f=uh(`${m.size}`),E=dre(u,d,o);i.status=206,i.statusText="Partial Content",i.headersList.set("content-length",f,!0),i.headersList.set("content-type",c,!0),i.headersList.set("content-range",E,!0)}else{let l=u2(s);i.statusText="OK",i.body=l[0],i.headersList.set("content-length",a,!0),i.headersList.set("content-type",c,!0)}return Promise.resolve(i)}case"data:":{let n=ls(e),s=wre(n);if(s==="failure")return Promise.resolve(xe("failed to fetch the data URL"));let i=bre(s.mimeType);return Promise.resolve(Ah({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:i}]],body:qQ(s.body)[0]}))}case"file:":return Promise.resolve(xe("not implemented... yet..."));case"http:":case"https:":return I2(t).catch(n=>xe(n));default:return Promise.resolve(xe("unknown scheme"))}}function Mre(t,e){t.request.done=!0,t.processResponseDone!=null&&queueMicrotask(()=>t.processResponseDone(e))}function _Q(t,e){let r=t.timingInfo,n=()=>{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 a=e.cacheState,c=e.bodyInfo;e.timingAllowPassed||(r=UQ(r),a="");let l=0;if(t.request.mode!=="navigator"||!e.hasCrossOriginRedirects){l=e.status;let A=pre(e.headersList);A!=="failure"&&(c.contentType=Nre(A))}t.request.initiatorType!=null&&y2(r,t.request.url.href,t.request.initiatorType,globalThis,a,c,l)};let o=()=>{t.request.done=!0,t.processResponseEndOfBody!=null&&queueMicrotask(()=>t.processResponseEndOfBody(e)),t.request.initiatorType!=null&&t.controller.reportTimingSteps()};queueMicrotask(()=>o())};t.processResponse!=null&&queueMicrotask(()=>{t.processResponse(e),t.processResponse=null});let s=e.type==="error"?e:e.internalResponse??e;s.body==null?n():Bre(s.body.stream,()=>{n()})}async function I2(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 B2(t),e.responseTainting==="cors"&&ere(e,r)==="failure")return xe("cors failure");Wte(e,r)==="failure"&&(e.timingAllowFailed=!0)}return(e.responseTainting==="opaque"||r.type==="opaque")&&tre(e.origin,e.client,e.destination,n)==="blocked"?xe("blocked"):(h2.has(n.status)&&(e.redirect!=="manual"&&t.controller.connection.destroy(void 0,!1),e.redirect==="error"?r=xe("unexpected redirect"):e.redirect==="manual"?r=n:e.redirect==="follow"?r=await Lre(t,r):ra(!1)),r.timingInfo=s,r)}function Lre(t,e){let r=t.request,n=e.internalResponse?e.internalResponse:e,s;try{if(s=jte(n,ls(r).hash),s==null)return e}catch(o){return Promise.resolve(xe(o))}if(!OQ(s))return Promise.resolve(xe("URL scheme must be a HTTP(S) scheme"));if(r.redirectCount===20)return Promise.resolve(xe("redirect count exceeded"));if(r.redirectCount+=1,r.mode==="cors"&&(s.username||s.password)&&!FQ(r,s))return Promise.resolve(xe('cross origin not allowed for request mode "cors"'));if(r.responseTainting==="cors"&&(s.username||s.password))return Promise.resolve(xe('URL cannot contain credentials for request mode "cors"'));if(n.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(xe());if([301,302].includes(n.status)&&r.method==="POST"||n.status===303&&!vre.includes(r.method)){r.method="GET",r.body=null;for(let o of gre)r.headersList.delete(o)}FQ(ls(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&&(ra(r.body.source!=null),r.body=qQ(r.body.source)[0]);let i=t.timingInfo;return i.redirectEndTime=i.postRedirectStartTime=ou(t.crossOriginIsolatedCapability),i.redirectStartTime===0&&(i.redirectStartTime=i.startTime),r.urlList.push(s),Kte(r,n),C2(t,!0)}async function B2(t,e=!1,r=!1){let n=t.request,s=null,i=null,o=null,a=null,c=!1;n.window==="no-window"&&n.redirect==="error"?(s=t,i=n):(i=zte(n),s={...t},s.request=i);let l=n.credentials==="include"||n.credentials==="same-origin"&&n.responseTainting==="basic",A=i.body?i.body.length:null,u=null;if(i.body==null&&["POST","PUT"].includes(i.method)&&(u="0"),A!=null&&(u=uh(`${A}`)),u!=null&&i.headersList.append("content-length",u,!0),A!=null&&i.keepalive,i.referrer instanceof URL&&i.headersList.append("referer",uh(i.referrer.href),!0),$te(i),Zte(i),i.headersList.contains("user-agent",!0)||i.headersList.append("user-agent",Dre),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)||(lre(ls(i))?i.headersList.append("accept-encoding","br, gzip, deflate",!0):i.headersList.append("accept-encoding","gzip, deflate",!0)),i.headersList.delete("host",!0),a==null&&(i.cache="no-store"),i.cache!=="no-store"&&i.cache,o==null){if(i.cache==="only-if-cached")return xe("only if cached");let d=await _re(s,l,r);!fre.has(i.method)&&d.status>=200&&d.status<=399,c&&d.status,o==null&&(o=d)}if(o.urlList=[...i.urlList],i.headersList.contains("range",!0)&&(o.rangeRequested=!0),o.requestIncludesCredentials=l,o.status===407)return n.window==="no-window"?xe():ta(t)?lh(t):xe("proxy authentication required");if(o.status===421&&!r&&(n.body==null||n.body.source!=null)){if(ta(t))return lh(t);t.controller.connection.destroy(),o=await B2(t,e,!0)}return o}async function _re(t,e=!1,r=!1){ra(!t.controller.connection||t.controller.connection.destroyed),t.controller.connection={abort:null,destroyed:!1,destroy(p,f=!0){this.destroyed||(this.destroyed=!0,f&&this.abort?.(p??new DOMException("The operation was aborted.","AbortError")))}};let n=t.request,s=null,i=t.timingInfo;null==null&&(n.cache="no-store");let a=r?"yes":"no";n.mode;let c=null;if(n.body==null&&t.processRequestEndOfBody)queueMicrotask(()=>t.processRequestEndOfBody());else if(n.body!=null){let p=async function*(g){ta(t)||(yield g,t.processRequestBodyChunkLength?.(g.byteLength))},f=()=>{ta(t)||t.processRequestEndOfBody&&t.processRequestEndOfBody()},E=g=>{ta(t)||(g.name==="AbortError"?t.controller.abort():t.controller.terminate(g))};c=(async function*(){try{for await(let g of n.body.stream)yield*p(g);f()}catch(g){E(g)}})()}try{let{body:p,status:f,statusText:E,headersList:g,socket:y}=await m({body:c});if(y)s=Ah({status:f,statusText:E,headersList:g,socket:y});else{let C=p[Symbol.asyncIterator]();t.controller.next=()=>C.next(),s=Ah({status:f,statusText:E,headersList:g})}}catch(p){return p.name==="AbortError"?(t.controller.connection.destroy(),lh(t,p)):xe(p)}let l=async()=>{await t.controller.resume()},A=p=>{ta(t)||t.controller.abort(p)},u=new ReadableStream({async start(p){t.controller.controller=p},async pull(p){await l(p)},async cancel(p){await A(p)},type:"bytes"});s.body={stream:u,source:null,length:null},t.controller.onAborted=d,t.controller.on("terminated",d),t.controller.resume=async()=>{for(;;){let p,f;try{let{done:g,value:y}=await t.controller.next();if(A2(t))break;p=g?void 0:y}catch(g){t.controller.ended&&!i.encodedBodySize?p=void 0:(p=g,f=!0)}if(p===void 0){are(t.controller.controller),Mre(t,s);return}if(i.decodedBodySize+=p?.byteLength??0,f){t.controller.terminate(p);return}let E=new Uint8Array(p);if(E.byteLength&&t.controller.controller.enqueue(E),xre(u)){t.controller.terminate();return}if(t.controller.controller.desiredSize<=0)return}};function d(p){A2(t)?(s.aborted=!0,dh(u)&&t.controller.controller.error(t.controller.serializedAbortReason)):dh(u)&&t.controller.controller.error(new TypeError("terminated",{cause:ire(p)?p:void 0})),t.controller.connection.destroy()}return s;function m({body:p}){let f=ls(n),E=t.controller.dispatcher;return new Promise((g,y)=>E.dispatch({path:f.pathname+f.search,origin:f.origin,method:n.method,body:E.isMockActive?n.body&&(n.body.source||n.body.stream):p,headers:n.headersList.entries,maxRedirections:0,upgrade:n.mode==="websocket"?"websocket":void 0},{body:null,abort:null,onConnect(C){let{connection:I}=t.controller;i.finalConnectionTimingInfo=Are(void 0,i.postRedirectStartTime,t.crossOriginIsolatedCapability),I.destroyed?C(new DOMException("The operation was aborted.","AbortError")):(t.controller.on("terminated",C),this.abort=I.abort=C),i.finalNetworkRequestStartTime=ou(t.crossOriginIsolatedCapability)},onResponseStarted(){i.finalNetworkResponseStartTime=ou(t.crossOriginIsolatedCapability)},onHeaders(C,I,w,D){if(C<200)return;let _="",ae=new l2;for(let ee=0;ee<I.length;ee+=2)ae.append(d2(I[ee]),I[ee+1].toString("latin1"),!0);_=ae.get("location",!0),this.body=new Cre({read:w});let ge=[],Be=_&&n.redirect==="follow"&&h2.has(C);if(n.method!=="HEAD"&&n.method!=="CONNECT"&&!f2.includes(C)&&!Be){let ee=ae.get("content-encoding",!0),F=ee?ee.toLowerCase().split(","):[],de=5;if(F.length>de)return y(new Error(`too many content-encodings in response: ${F.length}, maximum allowed is ${de}`)),!0;for(let At=F.length-1;At>=0;--At){let He=F[At].trim();if(He==="x-gzip"||He==="gzip")ge.push(eo.createGunzip({flush:eo.constants.Z_SYNC_FLUSH,finishFlush:eo.constants.Z_SYNC_FLUSH}));else if(He==="deflate")ge.push(mre({flush:eo.constants.Z_SYNC_FLUSH,finishFlush:eo.constants.Z_SYNC_FLUSH}));else if(He==="br")ge.push(eo.createBrotliDecompress({flush:eo.constants.BROTLI_OPERATION_FLUSH,finishFlush:eo.constants.BROTLI_OPERATION_FLUSH}));else{ge.length=0;break}}}let H=this.onError.bind(this);return g({status:C,statusText:D,headersList:ae,body:ge.length?Ire(this.body,...ge,ee=>{ee&&this.onError(ee)}).on("error",H):this.body.on("error",H)}),!0},onData(C){if(t.controller.dump)return;let I=C;return i.encodedBodySize+=I.byteLength,this.body.push(I)},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(C){this.abort&&t.controller.off("terminated",this.abort),this.body?.destroy(C),t.controller.terminate(C),y(C)},onUpgrade(C,I,w){if(C!==101)return;let D=new l2;for(let _=0;_<I.length;_+=2)D.append(d2(I[_]),I[_+1].toString("latin1"),!0);return g({status:C,statusText:Pre[C],headersList:D,socket:w}),!0}}))}}Q2.exports={fetch:Tre,Fetch:mh,fetching:E2,finalizeAndReportTiming:g2}});var HQ=h((VNe,x2)=>{"use strict";x2.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 b2=h((JNe,w2)=>{"use strict";var{webidl:kr}=vt(),ph=Symbol("ProgressEvent state"),zQ=class t extends Event{constructor(e,r={}){e=kr.converters.DOMString(e,"ProgressEvent constructor","type"),r=kr.converters.ProgressEventInit(r??{}),super(e,r),this[ph]={lengthComputable:r.lengthComputable,loaded:r.loaded,total:r.total}}get lengthComputable(){return kr.brandCheck(this,t),this[ph].lengthComputable}get loaded(){return kr.brandCheck(this,t),this[ph].loaded}get total(){return kr.brandCheck(this,t),this[ph].total}};kr.converters.ProgressEventInit=kr.dictionaryConverter([{key:"lengthComputable",converter:kr.converters.boolean,defaultValue:()=>!1},{key:"loaded",converter:kr.converters["unsigned long long"],defaultValue:()=>0},{key:"total",converter:kr.converters["unsigned long long"],defaultValue:()=>0},{key:"bubbles",converter:kr.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:kr.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:kr.converters.boolean,defaultValue:()=>!1}]);w2.exports={ProgressEvent:zQ}});var S2=h((WNe,N2)=>{"use strict";function Fre(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"}}N2.exports={getEncoding:Fre}});var L2=h(($Ne,M2)=>{"use strict";var{kState:Hc,kError:GQ,kResult:R2,kAborted:cu,kLastProgressEventFired:YQ}=HQ(),{ProgressEvent:Ure}=b2(),{getEncoding:P2}=S2(),{serializeAMimeType:Ore,parseMIMEType:v2}=ir(),{types:qre}=require("node:util"),{StringDecoder:D2}=require("string_decoder"),{btoa:k2}=require("node:buffer"),Hre={enumerable:!0,writable:!1,configurable:!1};function zre(t,e,r,n){if(t[Hc]==="loading")throw new DOMException("Invalid state","InvalidStateError");t[Hc]="loading",t[R2]=null,t[GQ]=null;let i=e.stream().getReader(),o=[],a=i.read(),c=!0;(async()=>{for(;!t[cu];)try{let{done:l,value:A}=await a;if(c&&!t[cu]&&queueMicrotask(()=>{to("loadstart",t)}),c=!1,!l&&qre.isUint8Array(A))o.push(A),(t[YQ]===void 0||Date.now()-t[YQ]>=50)&&!t[cu]&&(t[YQ]=Date.now(),queueMicrotask(()=>{to("progress",t)})),a=i.read();else if(l){queueMicrotask(()=>{t[Hc]="done";try{let u=Gre(o,r,e.type,n);if(t[cu])return;t[R2]=u,to("load",t)}catch(u){t[GQ]=u,to("error",t)}t[Hc]!=="loading"&&to("loadend",t)});break}}catch(l){if(t[cu])return;queueMicrotask(()=>{t[Hc]="done",t[GQ]=l,to("error",t),t[Hc]!=="loading"&&to("loadend",t)});break}})()}function to(t,e){let r=new Ure(t,{bubbles:!1,cancelable:!1});e.dispatchEvent(r)}function Gre(t,e,r,n){switch(e){case"DataURL":{let s="data:",i=v2(r||"application/octet-stream");i!=="failure"&&(s+=Ore(i)),s+=";base64,";let o=new D2("latin1");for(let a of t)s+=k2(o.write(a));return s+=k2(o.end()),s}case"Text":{let s="failure";if(n&&(s=P2(n)),s==="failure"&&r){let i=v2(r);i!=="failure"&&(s=P2(i.parameters.get("charset")))}return s==="failure"&&(s="UTF-8"),Yre(t,s)}case"ArrayBuffer":return T2(t).buffer;case"BinaryString":{let s="",i=new D2("latin1");for(let o of t)s+=i.write(o);return s+=i.end(),s}}}function Yre(t,e){let r=T2(t),n=Vre(r),s=0;n!==null&&(e=n,s=n==="UTF-8"?3:2);let i=r.slice(s);return new TextDecoder(e).decode(i)}function Vre(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}function T2(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))}M2.exports={staticPropertyDescriptors:Hre,readOperation:zre,fireAProgressEvent:to}});var O2=h((jNe,U2)=>{"use strict";var{staticPropertyDescriptors:zc,readOperation:hh,fireAProgressEvent:_2}=L2(),{kState:na,kError:F2,kResult:fh,kEvents:Ee,kAborted:Jre}=HQ(),{webidl:we}=vt(),{kEnumerableProperty:cr}=ce(),Ln=class t extends EventTarget{constructor(){super(),this[na]="empty",this[fh]=null,this[F2]=null,this[Ee]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(e){we.brandCheck(this,t),we.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer"),e=we.converters.Blob(e,{strict:!1}),hh(this,e,"ArrayBuffer")}readAsBinaryString(e){we.brandCheck(this,t),we.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString"),e=we.converters.Blob(e,{strict:!1}),hh(this,e,"BinaryString")}readAsText(e,r=void 0){we.brandCheck(this,t),we.argumentLengthCheck(arguments,1,"FileReader.readAsText"),e=we.converters.Blob(e,{strict:!1}),r!==void 0&&(r=we.converters.DOMString(r,"FileReader.readAsText","encoding")),hh(this,e,"Text",r)}readAsDataURL(e){we.brandCheck(this,t),we.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL"),e=we.converters.Blob(e,{strict:!1}),hh(this,e,"DataURL")}abort(){if(this[na]==="empty"||this[na]==="done"){this[fh]=null;return}this[na]==="loading"&&(this[na]="done",this[fh]=null),this[Jre]=!0,_2("abort",this),this[na]!=="loading"&&_2("loadend",this)}get readyState(){switch(we.brandCheck(this,t),this[na]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){return we.brandCheck(this,t),this[fh]}get error(){return we.brandCheck(this,t),this[F2]}get onloadend(){return we.brandCheck(this,t),this[Ee].loadend}set onloadend(e){we.brandCheck(this,t),this[Ee].loadend&&this.removeEventListener("loadend",this[Ee].loadend),typeof e=="function"?(this[Ee].loadend=e,this.addEventListener("loadend",e)):this[Ee].loadend=null}get onerror(){return we.brandCheck(this,t),this[Ee].error}set onerror(e){we.brandCheck(this,t),this[Ee].error&&this.removeEventListener("error",this[Ee].error),typeof e=="function"?(this[Ee].error=e,this.addEventListener("error",e)):this[Ee].error=null}get onloadstart(){return we.brandCheck(this,t),this[Ee].loadstart}set onloadstart(e){we.brandCheck(this,t),this[Ee].loadstart&&this.removeEventListener("loadstart",this[Ee].loadstart),typeof e=="function"?(this[Ee].loadstart=e,this.addEventListener("loadstart",e)):this[Ee].loadstart=null}get onprogress(){return we.brandCheck(this,t),this[Ee].progress}set onprogress(e){we.brandCheck(this,t),this[Ee].progress&&this.removeEventListener("progress",this[Ee].progress),typeof e=="function"?(this[Ee].progress=e,this.addEventListener("progress",e)):this[Ee].progress=null}get onload(){return we.brandCheck(this,t),this[Ee].load}set onload(e){we.brandCheck(this,t),this[Ee].load&&this.removeEventListener("load",this[Ee].load),typeof e=="function"?(this[Ee].load=e,this.addEventListener("load",e)):this[Ee].load=null}get onabort(){return we.brandCheck(this,t),this[Ee].abort}set onabort(e){we.brandCheck(this,t),this[Ee].abort&&this.removeEventListener("abort",this[Ee].abort),typeof e=="function"?(this[Ee].abort=e,this.addEventListener("abort",e)):this[Ee].abort=null}};Ln.EMPTY=Ln.prototype.EMPTY=0;Ln.LOADING=Ln.prototype.LOADING=1;Ln.DONE=Ln.prototype.DONE=2;Object.defineProperties(Ln.prototype,{EMPTY:zc,LOADING:zc,DONE:zc,readAsArrayBuffer:cr,readAsBinaryString:cr,readAsText:cr,readAsDataURL:cr,abort:cr,readyState:cr,result:cr,error:cr,onloadstart:cr,onprogress:cr,onload:cr,onabort:cr,onerror:cr,onloadend:cr,[Symbol.toStringTag]:{value:"FileReader",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Ln,{EMPTY:zc,LOADING:zc,DONE:zc});U2.exports={FileReader:Ln}});var gh=h((KNe,q2)=>{"use strict";q2.exports={kConstruct:Le().kConstruct}});var G2=h((XNe,z2)=>{"use strict";var Wre=require("node:assert"),{URLSerializer:H2}=ir(),{isValidHeaderName:$re}=br();function jre(t,e,r=!1){let n=H2(t,r),s=H2(e,r);return n===s}function Kre(t){Wre(t!==null);let e=[];for(let r of t.split(","))r=r.trim(),$re(r)&&e.push(r);return e}z2.exports={urlEquals:jre,getFieldValues:Kre}});var J2=h((ZNe,V2)=>{"use strict";var{kConstruct:Xre}=gh(),{urlEquals:Zre,getFieldValues:VQ}=G2(),{kEnumerableProperty:sa,isDisturbed:ene}=ce(),{webidl:G}=vt(),{Response:tne,cloneResponse:rne,fromInnerResponse:nne}=iu(),{Request:di,fromInnerRequest:sne}=qc(),{kState:_n}=qi(),{fetching:ine}=au(),{urlIsHttpHttpsScheme:yh,createDeferredPromise:Gc,readAllBytes:one}=br(),JQ=require("node:assert"),Eh=class t{#e;constructor(){arguments[0]!==Xre&&G.illegalConstructor(),G.util.markAsUncloneable(this),this.#e=arguments[1]}async match(e,r={}){G.brandCheck(this,t);let n="Cache.match";G.argumentLengthCheck(arguments,1,n),e=G.converters.RequestInfo(e,n,"request"),r=G.converters.CacheQueryOptions(r,n,"options");let s=this.#s(e,r,1);if(s.length!==0)return s[0]}async matchAll(e=void 0,r={}){G.brandCheck(this,t);let n="Cache.matchAll";return e!==void 0&&(e=G.converters.RequestInfo(e,n,"request")),r=G.converters.CacheQueryOptions(r,n,"options"),this.#s(e,r)}async add(e){G.brandCheck(this,t);let r="Cache.add";G.argumentLengthCheck(arguments,1,r),e=G.converters.RequestInfo(e,r,"request");let n=[e];return await this.addAll(n)}async addAll(e){G.brandCheck(this,t);let r="Cache.addAll";G.argumentLengthCheck(arguments,1,r);let n=[],s=[];for(let d of e){if(d===void 0)throw G.errors.conversionFailed({prefix:r,argument:"Argument 1",types:["undefined is not allowed"]});if(d=G.converters.RequestInfo(d),typeof d=="string")continue;let m=d[_n];if(!yh(m.url)||m.method!=="GET")throw G.errors.exception({header:r,message:"Expected http/s scheme when method is not GET."})}let i=[];for(let d of e){let m=new di(d)[_n];if(!yh(m.url))throw G.errors.exception({header:r,message:"Expected http/s scheme."});m.initiator="fetch",m.destination="subresource",s.push(m);let p=Gc();i.push(ine({request:m,processResponse(f){if(f.type==="error"||f.status===206||f.status<200||f.status>299)p.reject(G.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(f.headersList.contains("vary")){let E=VQ(f.headersList.get("vary"));for(let g of E)if(g==="*"){p.reject(G.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(let y of i)y.abort();return}}},processResponseEndOfBody(f){if(f.aborted){p.reject(new DOMException("aborted","AbortError"));return}p.resolve(f)}})),n.push(p.promise)}let a=await Promise.all(n),c=[],l=0;for(let d of a){let m={type:"put",request:s[l],response:d};c.push(m),l++}let A=Gc(),u=null;try{this.#t(c)}catch(d){u=d}return queueMicrotask(()=>{u===null?A.resolve(void 0):A.reject(u)}),A.promise}async put(e,r){G.brandCheck(this,t);let n="Cache.put";G.argumentLengthCheck(arguments,2,n),e=G.converters.RequestInfo(e,n,"request"),r=G.converters.Response(r,n,"response");let s=null;if(e instanceof di?s=e[_n]:s=new di(e)[_n],!yh(s.url)||s.method!=="GET")throw G.errors.exception({header:n,message:"Expected an http/s scheme when method is not GET"});let i=r[_n];if(i.status===206)throw G.errors.exception({header:n,message:"Got 206 status"});if(i.headersList.contains("vary")){let m=VQ(i.headersList.get("vary"));for(let p of m)if(p==="*")throw G.errors.exception({header:n,message:"Got * vary field value"})}if(i.body&&(ene(i.body.stream)||i.body.stream.locked))throw G.errors.exception({header:n,message:"Response body is locked or disturbed"});let o=rne(i),a=Gc();if(i.body!=null){let p=i.body.stream.getReader();one(p).then(a.resolve,a.reject)}else a.resolve(void 0);let c=[],l={type:"put",request:s,response:o};c.push(l);let A=await a.promise;o.body!=null&&(o.body.source=A);let u=Gc(),d=null;try{this.#t(c)}catch(m){d=m}return queueMicrotask(()=>{d===null?u.resolve():u.reject(d)}),u.promise}async delete(e,r={}){G.brandCheck(this,t);let n="Cache.delete";G.argumentLengthCheck(arguments,1,n),e=G.converters.RequestInfo(e,n,"request"),r=G.converters.CacheQueryOptions(r,n,"options");let s=null;if(e instanceof di){if(s=e[_n],s.method!=="GET"&&!r.ignoreMethod)return!1}else JQ(typeof e=="string"),s=new di(e)[_n];let i=[],o={type:"delete",request:s,options:r};i.push(o);let a=Gc(),c=null,l;try{l=this.#t(i)}catch(A){c=A}return queueMicrotask(()=>{c===null?a.resolve(!!l?.length):a.reject(c)}),a.promise}async keys(e=void 0,r={}){G.brandCheck(this,t);let n="Cache.keys";e!==void 0&&(e=G.converters.RequestInfo(e,n,"request")),r=G.converters.CacheQueryOptions(r,n,"options");let s=null;if(e!==void 0)if(e instanceof di){if(s=e[_n],s.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(s=new di(e)[_n]);let i=Gc(),o=[];if(e===void 0)for(let a of this.#e)o.push(a[0]);else{let a=this.#r(s,r);for(let c of a)o.push(c[0])}return queueMicrotask(()=>{let a=[];for(let c of o){let l=sne(c,new AbortController().signal,"immutable");a.push(l)}i.resolve(Object.freeze(a))}),i.promise}#t(e){let r=this.#e,n=[...r],s=[],i=[];try{for(let o of e){if(o.type!=="delete"&&o.type!=="put")throw G.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if(o.type==="delete"&&o.response!=null)throw G.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#r(o.request,o.options,s).length)throw new DOMException("???","InvalidStateError");let a;if(o.type==="delete"){if(a=this.#r(o.request,o.options),a.length===0)return[];for(let c of a){let l=r.indexOf(c);JQ(l!==-1),r.splice(l,1)}}else if(o.type==="put"){if(o.response==null)throw G.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let c=o.request;if(!yh(c.url))throw G.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if(c.method!=="GET")throw G.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(o.options!=null)throw G.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});a=this.#r(o.request);for(let l of a){let A=r.indexOf(l);JQ(A!==-1),r.splice(A,1)}r.push([o.request,o.response]),s.push([o.request,o.response])}i.push([o.request,o.response])}return i}catch(o){throw this.#e.length=0,this.#e=n,o}}#r(e,r,n){let s=[],i=n??this.#e;for(let o of i){let[a,c]=o;this.#i(e,a,c,r)&&s.push(o)}return s}#i(e,r,n=null,s){let i=new URL(e.url),o=new URL(r.url);if(s?.ignoreSearch&&(o.search="",i.search=""),!Zre(i,o,!0))return!1;if(n==null||s?.ignoreVary||!n.headersList.contains("vary"))return!0;let a=VQ(n.headersList.get("vary"));for(let c of a){if(c==="*")return!1;let l=r.headersList.get(c),A=e.headersList.get(c);if(l!==A)return!1}return!0}#s(e,r,n=1/0){let s=null;if(e!==void 0)if(e instanceof di){if(s=e[_n],s.method!=="GET"&&!r.ignoreMethod)return[]}else typeof e=="string"&&(s=new di(e)[_n]);let i=[];if(e===void 0)for(let a of this.#e)i.push(a[1]);else{let a=this.#r(s,r);for(let c of a)i.push(c[1])}let o=[];for(let a of i){let c=nne(a,"immutable");if(o.push(c.clone()),o.length>=n)break}return Object.freeze(o)}};Object.defineProperties(Eh.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:sa,matchAll:sa,add:sa,addAll:sa,put:sa,delete:sa,keys:sa});var Y2=[{key:"ignoreSearch",converter:G.converters.boolean,defaultValue:()=>!1},{key:"ignoreMethod",converter:G.converters.boolean,defaultValue:()=>!1},{key:"ignoreVary",converter:G.converters.boolean,defaultValue:()=>!1}];G.converters.CacheQueryOptions=G.dictionaryConverter(Y2);G.converters.MultiCacheQueryOptions=G.dictionaryConverter([...Y2,{key:"cacheName",converter:G.converters.DOMString}]);G.converters.Response=G.interfaceConverter(tne);G.converters["sequence<RequestInfo>"]=G.sequenceConverter(G.converters.RequestInfo);V2.exports={Cache:Eh}});var $2=h((eSe,W2)=>{"use strict";var{kConstruct:lu}=gh(),{Cache:Ch}=J2(),{webidl:_t}=vt(),{kEnumerableProperty:Au}=ce(),Ih=class t{#e=new Map;constructor(){arguments[0]!==lu&&_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 Ch(lu,n).match(e,r)}}else for(let n of this.#e.values()){let i=await new Ch(lu,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 Ch(lu,s)}let n=[];return this.#e.set(e,n),new Ch(lu,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(Ih.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:Au,has:Au,open:Au,delete:Au,keys:Au});W2.exports={CacheStorage:Ih}});var K2=h((tSe,j2)=>{"use strict";j2.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}});var WQ=h((rSe,rU)=>{"use strict";function ane(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}function X2(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")}}function Z2(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")}}function eU(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")}}function cne(t){if(t.startsWith("-")||t.endsWith(".")||t.endsWith("-"))throw new Error("Invalid cookie domain")}var lne=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Ane=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Bh=Array(61).fill(0).map((t,e)=>e.toString().padStart(2,"0"));function tU(t){return typeof t=="number"&&(t=new Date(t)),`${lne[t.getUTCDay()]}, ${Bh[t.getUTCDate()]} ${Ane[t.getUTCMonth()]} ${t.getUTCFullYear()} ${Bh[t.getUTCHours()]}:${Bh[t.getUTCMinutes()]}:${Bh[t.getUTCSeconds()]} GMT`}function une(t){if(t<0)throw new Error("Invalid cookie max-age")}function dne(t){if(t.name.length===0)return null;X2(t.name),Z2(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"&&(une(t.maxAge),e.push(`Max-Age=${t.maxAge}`)),t.domain&&(cne(t.domain),e.push(`Domain=${t.domain}`)),t.path&&(eU(t.path),e.push(`Path=${t.path}`)),t.expires&&t.expires.toString()!=="Invalid Date"&&e.push(`Expires=${tU(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("; ")}rU.exports={isCTLExcludingHtab:ane,validateCookieName:X2,validateCookiePath:eU,validateCookieValue:Z2,toIMFDate:tU,stringify:dne}});var sU=h((nSe,nU)=>{"use strict";var{maxNameValuePairSize:mne,maxAttributeValueSize:pne}=K2(),{isCTLExcludingHtab:hne}=WQ(),{collectASequenceOfCodePointsFast:Qh}=ir(),fne=require("node:assert");function gne(t){if(hne(t))return null;let e="",r="",n="",s="";if(t.includes(";")){let i={position:0};e=Qh(";",t,i),r=t.slice(i.position)}else e=t;if(!e.includes("="))s=e;else{let i={position:0};n=Qh("=",e,i),s=e.slice(i.position+1)}return n=n.trim(),s=s.trim(),n.length+s.length>mne?null:{name:n,value:s,...Yc(r)}}function Yc(t,e={}){if(t.length===0)return e;fne(t[0]===";"),t=t.slice(1);let r="";t.includes(";")?(r=Qh(";",t,{position:0}),t=t.slice(r.length)):(r=t,t="");let n="",s="";if(r.includes("=")){let o={position:0};n=Qh("=",r,o),s=r.slice(o.position+1)}else n=r;if(n=n.trim(),s=s.trim(),s.length>pne)return Yc(t,e);let i=n.toLowerCase();if(i==="expires"){let o=new Date(s);e.expires=o}else if(i==="max-age"){let o=s.charCodeAt(0);if((o<48||o>57)&&s[0]!=="-"||!/^\d+$/.test(s))return Yc(t,e);let a=Number(s);e.maxAge=a}else if(i==="domain"){let o=s;o[0]==="."&&(o=o.slice(1)),o=o.toLowerCase(),e.domain=o}else if(i==="path"){let o="";s.length===0||s[0]!=="/"?o="/":o=s,e.path=o}else if(i==="secure")e.secure=!0;else if(i==="httponly")e.httpOnly=!0;else if(i==="samesite"){let o="Default",a=s.toLowerCase();a.includes("none")&&(o="None"),a.includes("strict")&&(o="Strict"),a.includes("lax")&&(o="Lax"),e.sameSite=o}else e.unparsed??=[],e.unparsed.push(`${n}=${s}`);return Yc(t,e)}nU.exports={parseSetCookie:gne,parseUnparsedAttributes:Yc}});var aU=h((sSe,oU)=>{"use strict";var{parseSetCookie:yne}=sU(),{stringify:Ene}=WQ(),{webidl:ue}=vt(),{Headers:xh}=Zo();function Cne(t){ue.argumentLengthCheck(arguments,1,"getCookies"),ue.brandCheck(t,xh,{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}function Ine(t,e,r){ue.brandCheck(t,xh,{strict:!1});let n="deleteCookie";ue.argumentLengthCheck(arguments,2,n),e=ue.converters.DOMString(e,n,"name"),r=ue.converters.DeleteCookieAttributes(r),iU(t,{name:e,value:"",expires:new Date(0),...r})}function Bne(t){ue.argumentLengthCheck(arguments,1,"getSetCookies"),ue.brandCheck(t,xh,{strict:!1});let e=t.getSetCookie();return e?e.map(r=>yne(r)):[]}function iU(t,e){ue.argumentLengthCheck(arguments,2,"setCookie"),ue.brandCheck(t,xh,{strict:!1}),e=ue.converters.Cookie(e);let r=Ene(e);r&&t.append("Set-Cookie",r)}ue.converters.DeleteCookieAttributes=ue.dictionaryConverter([{converter:ue.nullableConverter(ue.converters.DOMString),key:"path",defaultValue:()=>null},{converter:ue.nullableConverter(ue.converters.DOMString),key:"domain",defaultValue:()=>null}]);ue.converters.Cookie=ue.dictionaryConverter([{converter:ue.converters.DOMString,key:"name"},{converter:ue.converters.DOMString,key:"value"},{converter:ue.nullableConverter(t=>typeof t=="number"?ue.converters["unsigned long long"](t):new Date(t)),key:"expires",defaultValue:()=>null},{converter:ue.nullableConverter(ue.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:ue.nullableConverter(ue.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:ue.nullableConverter(ue.converters.DOMString),key:"path",defaultValue:()=>null},{converter:ue.nullableConverter(ue.converters.boolean),key:"secure",defaultValue:()=>null},{converter:ue.nullableConverter(ue.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:ue.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:ue.sequenceConverter(ue.converters.DOMString),key:"unparsed",defaultValue:()=>new Array(0)}]);oU.exports={getCookies:Cne,deleteCookie:Ine,getSetCookies:Bne,setCookie:iU}});var Jc=h((iSe,lU)=>{"use strict";var{webidl:z}=vt(),{kEnumerableProperty:lr}=ce(),{kConstruct:cU}=Le(),{MessagePort:Qne}=require("node:worker_threads"),Vc=class t extends Event{#e;constructor(e,r={}){if(e===cU){super(arguments[1],arguments[2]),z.util.markAsUncloneable(this);return}let n="MessageEvent constructor";z.argumentLengthCheck(arguments,1,n),e=z.converters.DOMString(e,n,"type"),r=z.converters.MessageEventInit(r,n,"eventInitDict"),super(e,r),this.#e=r,z.util.markAsUncloneable(this)}get data(){return z.brandCheck(this,t),this.#e.data}get origin(){return z.brandCheck(this,t),this.#e.origin}get lastEventId(){return z.brandCheck(this,t),this.#e.lastEventId}get source(){return z.brandCheck(this,t),this.#e.source}get ports(){return z.brandCheck(this,t),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(e,r=!1,n=!1,s=null,i="",o="",a=null,c=[]){return z.brandCheck(this,t),z.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new t(e,{bubbles:r,cancelable:n,data:s,origin:i,lastEventId:o,source:a,ports:c})}static createFastMessageEvent(e,r){let n=new t(cU,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:xne}=Vc;delete Vc.createFastMessageEvent;var wh=class t extends Event{#e;constructor(e,r={}){let n="CloseEvent constructor";z.argumentLengthCheck(arguments,1,n),e=z.converters.DOMString(e,n,"type"),r=z.converters.CloseEventInit(r),super(e,r),this.#e=r,z.util.markAsUncloneable(this)}get wasClean(){return z.brandCheck(this,t),this.#e.wasClean}get code(){return z.brandCheck(this,t),this.#e.code}get reason(){return z.brandCheck(this,t),this.#e.reason}},bh=class t extends Event{#e;constructor(e,r){let n="ErrorEvent constructor";z.argumentLengthCheck(arguments,1,n),super(e,r),z.util.markAsUncloneable(this),e=z.converters.DOMString(e,n,"type"),r=z.converters.ErrorEventInit(r??{}),this.#e=r}get message(){return z.brandCheck(this,t),this.#e.message}get filename(){return z.brandCheck(this,t),this.#e.filename}get lineno(){return z.brandCheck(this,t),this.#e.lineno}get colno(){return z.brandCheck(this,t),this.#e.colno}get error(){return z.brandCheck(this,t),this.#e.error}};Object.defineProperties(Vc.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:lr,origin:lr,lastEventId:lr,source:lr,ports:lr,initMessageEvent:lr});Object.defineProperties(wh.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:lr,code:lr,wasClean:lr});Object.defineProperties(bh.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:lr,filename:lr,lineno:lr,colno:lr,error:lr});z.converters.MessagePort=z.interfaceConverter(Qne);z.converters["sequence<MessagePort>"]=z.sequenceConverter(z.converters.MessagePort);var $Q=[{key:"bubbles",converter:z.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:z.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:z.converters.boolean,defaultValue:()=>!1}];z.converters.MessageEventInit=z.dictionaryConverter([...$Q,{key:"data",converter:z.converters.any,defaultValue:()=>null},{key:"origin",converter:z.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:z.converters.DOMString,defaultValue:()=>""},{key:"source",converter:z.nullableConverter(z.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:z.converters["sequence<MessagePort>"],defaultValue:()=>new Array(0)}]);z.converters.CloseEventInit=z.dictionaryConverter([...$Q,{key:"wasClean",converter:z.converters.boolean,defaultValue:()=>!1},{key:"code",converter:z.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:z.converters.USVString,defaultValue:()=>""}]);z.converters.ErrorEventInit=z.dictionaryConverter([...$Q,{key:"message",converter:z.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:z.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:z.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:z.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:z.converters.any}]);lU.exports={MessageEvent:Vc,CloseEvent:wh,ErrorEvent:bh,createFastMessageEvent:xne}});var ia=h((oSe,AU)=>{"use strict";var wne="258EAFA5-E914-47DA-95CA-C5AB0DC85B11",bne={enumerable:!0,writable:!1,configurable:!1},Nne={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},Sne={NOT_SENT:0,PROCESSING:1,SENT:2},Rne={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},Pne=2**16-1,vne={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},Dne=Buffer.allocUnsafe(0),kne={string:1,typedArray:2,arrayBuffer:3,blob:4};AU.exports={uid:wne,sentCloseFrameState:Sne,staticPropertyDescriptors:bne,states:Nne,opcodes:Rne,maxUnsigned16Bit:Pne,parserStates:vne,emptyBuffer:Dne,sendHints:kne}});var uu=h((aSe,uU)=>{"use strict";uU.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 pu=h((cSe,CU)=>{"use strict";var{kReadyState:du,kController:Tne,kResponse:Mne,kBinaryType:Lne,kWebSocketURL:_ne}=uu(),{states:mu,opcodes:ro}=ia(),{ErrorEvent:Fne,createFastMessageEvent:Une}=Jc(),{isUtf8:One}=require("node:buffer"),{collectASequenceOfCodePointsFast:qne,removeHTTPWhitespace:dU}=ir();function Hne(t){return t[du]===mu.CONNECTING}function zne(t){return t[du]===mu.OPEN}function Gne(t){return t[du]===mu.CLOSING}function Yne(t){return t[du]===mu.CLOSED}function jQ(t,e,r=(s,i)=>new Event(s,i),n={}){let s=r(t,n);e.dispatchEvent(s)}function Vne(t,e,r){if(t[du]!==mu.OPEN)return;let n;if(e===ro.TEXT)try{n=EU(r)}catch{pU(t,"Received invalid UTF-8 in text frame.");return}else e===ro.BINARY&&(t[Lne]==="blob"?n=new Blob([r]):n=Jne(r));jQ("message",t,Une,{origin:t[_ne].origin,data:n})}function Jne(t){return t.byteLength===t.buffer.byteLength?t.buffer:t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}function Wne(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}function $ne(t){return t>=1e3&&t<1015?t!==1004&&t!==1005&&t!==1006:t>=3e3&&t<=4999}function pU(t,e){let{[Tne]:r,[Mne]:n}=t;r.abort(),n?.socket&&!n.socket.destroyed&&n.socket.destroy(),e&&jQ("error",t,(s,i)=>new Fne(s,i),{error:new Error(e),message:e})}function hU(t){return t===ro.CLOSE||t===ro.PING||t===ro.PONG}function fU(t){return t===ro.CONTINUATION}function gU(t){return t===ro.TEXT||t===ro.BINARY}function jne(t){return gU(t)||fU(t)||hU(t)}function Kne(t){let e={position:0},r=new Map;for(;e.position<t.length;){let n=qne(";",t,e),[s,i=""]=n.split("=");r.set(dU(s,!0,!1),dU(i,!1,!0)),e.position++}return r}function Xne(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}var yU=typeof process.versions.icu=="string",mU=yU?new TextDecoder("utf-8",{fatal:!0}):void 0,EU=yU?mU.decode.bind(mU):function(t){if(One(t))return t.toString("utf-8");throw new TypeError("Invalid utf-8 received.")};CU.exports={isConnecting:Hne,isEstablished:zne,isClosing:Gne,isClosed:Yne,fireEvent:jQ,isValidSubprotocol:Wne,isValidStatusCode:$ne,failWebsocketConnection:pU,websocketMessageReceived:Vne,utf8Decode:EU,isControlFrame:hU,isContinuationFrame:fU,isTextBinaryFrame:gU,isValidOpcode:jne,parseExtensions:Kne,isValidClientWindowBits:Xne}});var Sh=h((lSe,IU)=>{"use strict";var{maxUnsigned16Bit:Zne}=ia(),Nh=16386,KQ,hu=null,Wc=Nh;try{KQ=require("node:crypto")}catch{KQ={randomFillSync:function(e,r,n){for(let s=0;s<e.length;++s)e[s]=Math.random()*255|0;return e}}}function ese(){return Wc===Nh&&(Wc=0,KQ.randomFillSync(hu??=Buffer.allocUnsafe(Nh),0,Nh)),[hu[Wc++],hu[Wc++],hu[Wc++],hu[Wc++]]}var XQ=class{constructor(e){this.frameData=e}createFrame(e){let r=this.frameData,n=ese(),s=r?.byteLength??0,i=s,o=6;s>Zne?(o+=8,i=127):s>125&&(o+=2,i=126);let a=Buffer.allocUnsafe(s+o);a[0]=a[1]=0,a[0]|=128,a[0]=(a[0]&240)+e;a[o-4]=n[0],a[o-3]=n[1],a[o-2]=n[2],a[o-1]=n[3],a[1]=i,i===126?a.writeUInt16BE(s,2):i===127&&(a[2]=a[3]=0,a.writeUIntBE(s,4,6)),a[1]|=128;for(let c=0;c<s;++c)a[o+c]=r[c]^n[c&3];return a}};IU.exports={WebsocketFrameSend:XQ}});var ex=h((ASe,SU)=>{"use strict";var{uid:tse,states:fu,sentCloseFrameState:Rh,emptyBuffer:rse,opcodes:nse}=ia(),{kReadyState:gu,kSentClose:Ph,kByteParser:QU,kReceivedClose:BU,kResponse:xU}=uu(),{fireEvent:sse,failWebsocketConnection:no,isClosing:ise,isClosed:ose,isEstablished:ase,parseExtensions:cse}=pu(),{channels:$c}=oc(),{CloseEvent:lse}=Jc(),{makeRequest:Ase}=qc(),{fetching:use}=au(),{Headers:dse,getHeadersList:mse}=Zo(),{getDecodeSplit:pse}=br(),{WebsocketFrameSend:hse}=Sh(),ZQ;try{ZQ=require("node:crypto")}catch{}function fse(t,e,r,n,s,i){let o=t;o.protocol=t.protocol==="ws:"?"http:":"https:";let a=Ase({urlList:[o],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(i.headers){let u=mse(new dse(i.headers));a.headersList=u}let c=ZQ.randomBytes(16).toString("base64");a.headersList.append("sec-websocket-key",c),a.headersList.append("sec-websocket-version","13");for(let u of e)a.headersList.append("sec-websocket-protocol",u);return a.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits"),use({request:a,useParallelQueue:!0,dispatcher:i.dispatcher,processResponse(u){if(u.type==="error"||u.status!==101){no(n,"Received network error or non-101 status code.");return}if(e.length!==0&&!u.headersList.get("Sec-WebSocket-Protocol")){no(n,"Server did not respond with sent protocols.");return}if(u.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){no(n,'Server did not set Upgrade header to "websocket".');return}if(u.headersList.get("Connection")?.toLowerCase()!=="upgrade"){no(n,'Server did not set Connection header to "upgrade".');return}let d=u.headersList.get("Sec-WebSocket-Accept"),m=ZQ.createHash("sha1").update(c+tse).digest("base64");if(d!==m){no(n,"Incorrect hash received in Sec-WebSocket-Accept header.");return}let p=u.headersList.get("Sec-WebSocket-Extensions"),f;if(p!==null&&(f=cse(p),!f.has("permessage-deflate"))){no(n,"Sec-WebSocket-Extensions header does not match.");return}let E=u.headersList.get("Sec-WebSocket-Protocol");if(E!==null&&!pse("sec-websocket-protocol",a.headersList).includes(E)){no(n,"Protocol was not set in the opening handshake.");return}u.socket.on("data",wU),u.socket.on("close",bU),u.socket.on("error",NU),$c.open.hasSubscribers&&$c.open.publish({address:u.socket.address(),protocol:E,extensions:p}),s(u,f)}})}function gse(t,e,r,n){if(!(ise(t)||ose(t)))if(!ase(t))no(t,"Connection was closed before it was established."),t[gu]=fu.CLOSING;else if(t[Ph]===Rh.NOT_SENT){t[Ph]=Rh.PROCESSING;let s=new hse;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=rse,t[xU].socket.write(s.createFrame(nse.CLOSE)),t[Ph]=Rh.SENT,t[gu]=fu.CLOSING}else t[gu]=fu.CLOSING}function wU(t){this.ws[QU].write(t)||this.pause()}function bU(){let{ws:t}=this,{[xU]:e}=t;e.socket.off("data",wU),e.socket.off("close",bU),e.socket.off("error",NU);let r=t[Ph]===Rh.SENT&&t[BU],n=1005,s="",i=t[QU].closingInfo;i&&!i.error?(n=i.code??1005,s=i.reason):t[BU]||(n=1006),t[gu]=fu.CLOSED,sse("close",t,(o,a)=>new lse(o,a),{wasClean:r,code:n,reason:s}),$c.close.hasSubscribers&&$c.close.publish({websocket:t,code:n,reason:s})}function NU(t){let{ws:e}=this;e[gu]=fu.CLOSING,$c.socketError.hasSubscribers&&$c.socketError.publish(t),this.destroy()}SU.exports={establishWebSocketConnection:fse,closeWebSocketConnection:gse}});var PU=h((uSe,RU)=>{"use strict";var{createInflateRaw:yse,Z_DEFAULT_WINDOWBITS:Ese}=require("node:zlib"),{isValidClientWindowBits:Cse}=pu(),{MessageSizeExceededError:Ise}=ye(),Bse=Buffer.from([0,0,255,255]),vh=Symbol("kBuffer"),yu=Symbol("kLength"),tx=class{#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(!Cse(this.#t.serverMaxWindowBits)){n(new Error("Invalid server_max_window_bits"));return}s=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=yse({windowBits:s})}catch(i){n(i);return}this.#e[vh]=[],this.#e[yu]=0,this.#e.on("data",i=>{if(this.#e[yu]+=i.length,this.#r>0&&this.#e[yu]>this.#r){n(new Ise),this.#e.removeAllListeners(),this.#e=null;return}this.#e[vh].push(i)}),this.#e.on("error",i=>{this.#e=null,n(i)})}this.#e.write(e),r&&this.#e.write(Bse),this.#e.flush(()=>{if(!this.#e)return;let s=Buffer.concat(this.#e[vh],this.#e[yu]);this.#e[vh].length=0,this.#e[yu]=0,n(null,s)})}};RU.exports={PerMessageDeflate:tx}});var OU=h((dSe,UU)=>{"use strict";var{Writable:Qse}=require("node:stream"),xse=require("node:assert"),{parserStates:Ar,opcodes:jc,states:wse,emptyBuffer:vU,sentCloseFrameState:DU}=ia(),{kReadyState:bse,kSentClose:kU,kResponse:TU,kReceivedClose:MU}=uu(),{channels:Dh}=oc(),{isValidStatusCode:Nse,isValidOpcode:Sse,failWebsocketConnection:Ft,websocketMessageReceived:LU,utf8Decode:Rse,isControlFrame:rx,isTextBinaryFrame:nx,isContinuationFrame:Pse}=pu(),{WebsocketFrameSend:_U}=Sh(),{closeWebSocketConnection:vse}=ex(),{PerMessageDeflate:Dse}=PU(),{MessageSizeExceededError:FU}=ye(),sx=class extends Qse{#e=[];#t=0;#r=0;#i=!1;#s=Ar.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 Dse(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&&!rx(this.#n.opcode)&&this.#n.payloadLength>this.#c?(Ft(this.ws,"Payload size exceeds maximum allowed size"),!1):!0}run(e){for(;this.#i;)if(this.#s===Ar.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,o=!n&&s!==jc.CONTINUATION,a=r[1]&127,c=r[0]&64,l=r[0]&32,A=r[0]&16;if(!Sse(s))return Ft(this.ws,"Invalid opcode received"),e();if(i)return Ft(this.ws,"Frame cannot be masked"),e();if(c!==0&&!this.#a.has("permessage-deflate")){Ft(this.ws,"Expected RSV1 to be clear.");return}if(l!==0||A!==0){Ft(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(o&&!nx(s)){Ft(this.ws,"Invalid frame type was fragmented.");return}if(nx(s)&&this.#o.length>0){Ft(this.ws,"Expected continuation frame");return}if(this.#n.fragmented&&o){Ft(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((a>125||o)&&rx(s)){Ft(this.ws,"Control frame either too large or fragmented");return}if(Pse(s)&&this.#o.length===0&&!this.#n.compressed){Ft(this.ws,"Unexpected continuation frame");return}if(a<=125){if(this.#n.payloadLength=a,this.#s=Ar.READ_DATA,!this.#l())return}else a===126?this.#s=Ar.PAYLOADLENGTH_16:a===127&&(this.#s=Ar.PAYLOADLENGTH_64);nx(s)&&(this.#n.binaryType=s,this.#n.compressed=c!==0),this.#n.opcode=s,this.#n.masked=i,this.#n.fin=n,this.#n.fragmented=o}else if(this.#s===Ar.PAYLOADLENGTH_16){if(this.#r<2)return e();let r=this.consume(2);if(this.#n.payloadLength=r.readUInt16BE(0),this.#s=Ar.READ_DATA,!this.#l())return}else if(this.#s===Ar.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){Ft(this.ws,"Received payload length > 2^31 bytes.");return}if(this.#n.payloadLength=s,this.#s=Ar.READ_DATA,!this.#l())return}else if(this.#s===Ar.READ_DATA){if(this.#r<this.#n.payloadLength)return e();let r=this.consume(this.#n.payloadLength);if(rx(this.#n.opcode))this.#i=this.parseControlFrame(r),this.#s=Ar.INFO;else if(this.#n.compressed){this.#a.get("permessage-deflate").decompress(r,this.#n.fin,(n,s)=>{if(n){Ft(this.ws,n.message);return}if(this.writeFragments(s),this.#c>0&&this.#t>this.#c){Ft(this.ws,new FU().message);return}if(!this.#n.fin){this.#s=Ar.INFO,this.#i=!0,this.run(e);return}LU(this.ws,this.#n.binaryType,this.consumeFragments()),this.#i=!0,this.#s=Ar.INFO,this.run(e)}),this.#i=!1;break}else{if(this.writeFragments(r),this.#c>0&&this.#t>this.#c){Ft(this.ws,new FU().message);return}!this.#n.fragmented&&this.#n.fin&&LU(this.ws,this.#n.binaryType,this.consumeFragments()),this.#s=Ar.INFO}}}consume(e){if(e>this.#r)throw new Error("Called consume() before buffers satiated.");if(e===0)return vU;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){xse(e.length!==1);let r;if(e.length>=2&&(r=e.readUInt16BE(0)),r!==void 0&&!Nse(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=Rse(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===jc.CLOSE){if(n===1)return Ft(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 vse(this.ws,s,i,i.length),Ft(this.ws,i),!1}if(this.ws[kU]!==DU.SENT){let s=vU;this.#n.closeInfo.code&&(s=Buffer.allocUnsafe(2),s.writeUInt16BE(this.#n.closeInfo.code,0));let i=new _U(s);this.ws[TU].socket.write(i.createFrame(jc.CLOSE),o=>{o||(this.ws[kU]=DU.SENT)})}return this.ws[bse]=wse.CLOSING,this.ws[MU]=!0,!1}else if(r===jc.PING){if(!this.ws[MU]){let s=new _U(e);this.ws[TU].socket.write(s.createFrame(jc.PONG)),Dh.ping.hasSubscribers&&Dh.ping.publish({payload:e})}}else r===jc.PONG&&Dh.pong.hasSubscribers&&Dh.pong.publish({payload:e});return!0}get closingInfo(){return this.#n.closeInfo}};UU.exports={ByteParser:sx}});var YU=h((mSe,GU)=>{"use strict";var{WebsocketFrameSend:kse}=Sh(),{opcodes:qU,sendHints:Kc}=ia(),Tse=mB(),HU=Buffer[Symbol.species],ix=class{#e=new Tse;#t=!1;#r;constructor(e){this.#r=e}add(e,r,n){if(n!==Kc.blob){let i=zU(e,n);if(!this.#t)this.#r.write(i,r);else{let o={promise:null,callback:r,frame:i};this.#e.push(o)}return}let s={promise:e.arrayBuffer().then(i=>{s.promise=null,s.frame=zU(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 zU(t,e){return new kse(Mse(t,e)).createFrame(e===Kc.string?qU.TEXT:qU.BINARY)}function Mse(t,e){switch(e){case Kc.string:return Buffer.from(t);case Kc.arrayBuffer:case Kc.blob:return new HU(t);case Kc.typedArray:return new HU(t.buffer,t.byteOffset,t.byteLength)}}GU.exports={SendQueue:ix}});var t1=h((pSe,e1)=>{"use strict";var{webidl:K}=vt(),{URLSerializer:Lse}=ir(),{environmentSettingsObject:VU}=br(),{staticPropertyDescriptors:so,states:Eu,sentCloseFrameState:_se,sendHints:kh}=ia(),{kWebSocketURL:JU,kReadyState:ox,kController:WU,kBinaryType:Th,kResponse:$U,kSentClose:Fse,kByteParser:Use}=uu(),{isConnecting:Ose,isEstablished:qse,isClosing:Hse,isValidSubprotocol:zse,fireEvent:jU}=pu(),{establishWebSocketConnection:Gse,closeWebSocketConnection:KU}=ex(),{ByteParser:Yse}=OU(),{kEnumerableProperty:on,isBlobLike:XU}=ce(),{getGlobalDispatcher:Vse}=$p(),{types:ZU}=require("node:util"),{ErrorEvent:Jse,CloseEvent:Wse}=Jc(),{SendQueue:$se}=YU(),Tr=class t extends EventTarget{#e={open:null,error:null,close:null,message:null};#t=0;#r="";#i="";#s;constructor(e,r=[]){super(),K.util.markAsUncloneable(this);let n="WebSocket constructor";K.argumentLengthCheck(arguments,1,n);let s=K.converters["DOMString or sequence<DOMString> or WebSocketInit"](r,n,"options");e=K.converters.USVString(e,n,"url"),r=s.protocols;let i=VU.settingsObject.baseUrl,o;try{o=new URL(e,i)}catch(c){throw new DOMException(c,"SyntaxError")}if(o.protocol==="http:"?o.protocol="ws:":o.protocol==="https:"&&(o.protocol="wss:"),o.protocol!=="ws:"&&o.protocol!=="wss:")throw new DOMException(`Expected a ws: or wss: protocol, got ${o.protocol}`,"SyntaxError");if(o.hash||o.href.endsWith("#"))throw new DOMException("Got fragment","SyntaxError");if(typeof r=="string"&&(r=[r]),r.length!==new Set(r.map(c=>c.toLowerCase())).size)throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(r.length>0&&!r.every(c=>zse(c)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this[JU]=new URL(o.href);let a=VU.settingsObject;this[WU]=Gse(o,r,a,this,(c,l)=>this.#n(c,l),s),this[ox]=t.CONNECTING,this[Fse]=_se.NOT_SENT,this[Th]="blob"}close(e=void 0,r=void 0){K.brandCheck(this,t);let n="WebSocket.close";if(e!==void 0&&(e=K.converters["unsigned short"](e,n,"code",{clamp:!0})),r!==void 0&&(r=K.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");KU(this,e,r,s)}send(e){K.brandCheck(this,t);let r="WebSocket.send";if(K.argumentLengthCheck(arguments,1,r),e=K.converters.WebSocketSendData(e,r,"data"),Ose(this))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!qse(this)||Hse(this)))if(typeof e=="string"){let n=Buffer.byteLength(e);this.#t+=n,this.#s.add(e,()=>{this.#t-=n},kh.string)}else ZU.isArrayBuffer(e)?(this.#t+=e.byteLength,this.#s.add(e,()=>{this.#t-=e.byteLength},kh.arrayBuffer)):ArrayBuffer.isView(e)?(this.#t+=e.byteLength,this.#s.add(e,()=>{this.#t-=e.byteLength},kh.typedArray)):XU(e)&&(this.#t+=e.size,this.#s.add(e,()=>{this.#t-=e.size},kh.blob))}get readyState(){return K.brandCheck(this,t),this[ox]}get bufferedAmount(){return K.brandCheck(this,t),this.#t}get url(){return K.brandCheck(this,t),Lse(this[JU])}get extensions(){return K.brandCheck(this,t),this.#i}get protocol(){return K.brandCheck(this,t),this.#r}get onopen(){return K.brandCheck(this,t),this.#e.open}set onopen(e){K.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 K.brandCheck(this,t),this.#e.error}set onerror(e){K.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 K.brandCheck(this,t),this.#e.close}set onclose(e){K.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 K.brandCheck(this,t),this.#e.message}set onmessage(e){K.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 K.brandCheck(this,t),this[Th]}set binaryType(e){K.brandCheck(this,t),e!=="blob"&&e!=="arraybuffer"?this[Th]="blob":this[Th]=e}#n(e,r){this[$U]=e;let n=this[WU]?.dispatcher?.webSocketOptions?.maxPayloadSize,s=new Yse(this,r,{maxPayloadSize:n});s.on("drain",jse),s.on("error",Kse.bind(this)),e.socket.ws=this,this[Use]=s,this.#s=new $se(e.socket),this[ox]=Eu.OPEN;let i=e.headersList.get("sec-websocket-extensions");i!==null&&(this.#i=i);let o=e.headersList.get("sec-websocket-protocol");o!==null&&(this.#r=o),jU("open",this)}};Tr.CONNECTING=Tr.prototype.CONNECTING=Eu.CONNECTING;Tr.OPEN=Tr.prototype.OPEN=Eu.OPEN;Tr.CLOSING=Tr.prototype.CLOSING=Eu.CLOSING;Tr.CLOSED=Tr.prototype.CLOSED=Eu.CLOSED;Object.defineProperties(Tr.prototype,{CONNECTING:so,OPEN:so,CLOSING:so,CLOSED:so,url:on,readyState:on,bufferedAmount:on,onopen:on,onerror:on,onclose:on,close:on,onmessage:on,binaryType:on,send:on,extensions:on,protocol:on,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}});Object.defineProperties(Tr,{CONNECTING:so,OPEN:so,CLOSING:so,CLOSED:so});K.converters["sequence<DOMString>"]=K.sequenceConverter(K.converters.DOMString);K.converters["DOMString or sequence<DOMString>"]=function(t,e,r){return K.util.Type(t)==="Object"&&Symbol.iterator in t?K.converters["sequence<DOMString>"](t):K.converters.DOMString(t,e,r)};K.converters.WebSocketInit=K.dictionaryConverter([{key:"protocols",converter:K.converters["DOMString or sequence<DOMString>"],defaultValue:()=>new Array(0)},{key:"dispatcher",converter:K.converters.any,defaultValue:()=>Vse()},{key:"headers",converter:K.nullableConverter(K.converters.HeadersInit)}]);K.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(t){return K.util.Type(t)==="Object"&&!(Symbol.iterator in t)?K.converters.WebSocketInit(t):{protocols:K.converters["DOMString or sequence<DOMString>"](t)}};K.converters.WebSocketSendData=function(t){if(K.util.Type(t)==="Object"){if(XU(t))return K.converters.Blob(t,{strict:!1});if(ArrayBuffer.isView(t)||ZU.isArrayBuffer(t))return K.converters.BufferSource(t)}return K.converters.USVString(t)};function jse(){this.ws[$U].socket.resume()}function Kse(t){let e,r;t instanceof Wse?(e=t.reason,r=t.code):e=t.message,jU("error",this,()=>new Jse("error",{error:t,message:e})),KU(this,r)}e1.exports={WebSocket:Tr}});var ax=h((hSe,r1)=>{"use strict";function Xse(t){return t.indexOf("\0")===-1}function Zse(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}function eie(t){return new Promise(e=>{setTimeout(e,t).unref()})}r1.exports={isValidLastEventId:Xse,isASCIINumber:Zse,delay:eie}});var o1=h((fSe,i1)=>{"use strict";var{Transform:tie}=require("node:stream"),{isASCIINumber:n1,isValidLastEventId:s1}=ax(),mi=[239,187,191],cx=10,Mh=13,rie=58,nie=32,lx=class extends tie{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]===mi[0]){n();return}this.checkBOM=!1,n();return;case 2:if(this.buffer[0]===mi[0]&&this.buffer[1]===mi[1]){n();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===mi[0]&&this.buffer[1]===mi[1]&&this.buffer[2]===mi[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,n();return}this.checkBOM=!1;break;default:this.buffer[0]===mi[0]&&this.buffer[1]===mi[1]&&this.buffer[2]===mi[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]===cx){this.buffer=this.buffer.subarray(this.pos+1),this.pos=0,this.crlfCheck=!1;continue}this.crlfCheck=!1}if(this.buffer[this.pos]===cx||this.buffer[this.pos]===Mh){this.buffer[this.pos]===Mh&&(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]===cx||this.buffer[this.pos]===Mh){this.buffer[this.pos]===Mh&&(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(rie);if(n===0)return;let s="",i="";if(n!==-1){s=e.subarray(0,n).toString("utf8");let o=n+1;e[o]===nie&&++o,i=e.subarray(o).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":n1(i)&&(r[s]=i);break;case"id":s1(i)&&(r[s]=i);break;case"event":i.length>0&&(r[s]=i);break}}processEvent(e){e.retry&&n1(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&s1(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}}};i1.exports={EventSourceStream:lx}});var p1=h((gSe,m1)=>{"use strict";var{pipeline:sie}=require("node:stream"),{fetching:iie}=au(),{makeRequest:oie}=qc(),{webidl:pi}=vt(),{EventSourceStream:aie}=o1(),{parseMIMEType:cie}=ir(),{createFastMessageEvent:lie}=Jc(),{isNetworkError:a1}=iu(),{delay:Aie}=ax(),{kEnumerableProperty:oa}=ce(),{environmentSettingsObject:c1}=br(),l1=!1,A1=3e3,Cu=0,u1=1,Iu=2,uie="anonymous",die="use-credentials",Xc=class t extends EventTarget{#e={open:null,error:null,message:null};#t=null;#r=!1;#i=Cu;#s=null;#n=null;#o;#a;constructor(e,r={}){super(),pi.util.markAsUncloneable(this);let n="EventSource constructor";pi.argumentLengthCheck(arguments,1,n),l1||(l1=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=pi.converters.USVString(e,n,"url"),r=pi.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:A1};let s=c1,i;try{i=new URL(e,s.settingsObject.baseUrl),this.#a.origin=i.origin}catch(c){throw new DOMException(c,"SyntaxError")}this.#t=i.href;let o=uie;r.withCredentials&&(o=die,this.#r=!0);let a={redirect:"follow",keepalive:!0,mode:"cors",credentials:o==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};a.client=c1.settingsObject,a.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],a.cache="no-store",a.initiator="other",a.urlList=[new URL(this.#t)],this.#s=oie(a),this.#c()}get readyState(){return this.#i}get url(){return this.#t}get withCredentials(){return this.#r}#c(){if(this.#i===Iu)return;this.#i=Cu;let e={request:this.#s,dispatcher:this.#o},r=n=>{a1(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#l()};e.processResponseEndOfBody=r,e.processResponse=n=>{if(a1(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?cie(s):"failure",o=i!=="failure"&&i.essence==="text/event-stream";if(n.status!==200||o===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#i=u1,this.dispatchEvent(new Event("open")),this.#a.origin=n.urlList[n.urlList.length-1].origin;let a=new aie({eventSourceSettings:this.#a,push:c=>{this.dispatchEvent(lie(c.type,c.options))}});sie(n.body.stream,a,c=>{c?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#n=iie(e)}async#l(){this.#i!==Iu&&(this.#i=Cu,this.dispatchEvent(new Event("error")),await Aie(this.#a.reconnectionTime),this.#i===Cu&&(this.#a.lastEventId.length&&this.#s.headersList.set("last-event-id",this.#a.lastEventId,!0),this.#c()))}close(){pi.brandCheck(this,t),this.#i!==Iu&&(this.#i=Iu,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}},d1={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:Cu,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:u1,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:Iu,writable:!1}};Object.defineProperties(Xc,d1);Object.defineProperties(Xc.prototype,d1);Object.defineProperties(Xc.prototype,{close:oa,onerror:oa,onmessage:oa,onopen:oa,readyState:oa,url:oa,withCredentials:oa});pi.converters.EventSourceInitDict=pi.dictionaryConverter([{key:"withCredentials",converter:pi.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:pi.converters.any}]);m1.exports={EventSource:Xc,defaultReconnectionTime:A1}});var Qu=h((ySe,j)=>{"use strict";var mie=bc(),h1=wA(),pie=Nc(),hie=dL(),fie=Sc(),gie=kB(),yie=LL(),Eie=HL(),f1=ye(),_h=ce(),{InvalidArgumentError:Lh}=f1,Zc=S_(),Cie=NA(),Iie=pQ(),Bie=AF(),Qie=gQ(),xie=tQ(),wie=Up(),{getGlobalDispatcher:g1,setGlobalDispatcher:bie}=$p(),Nie=jp(),Sie=Sp(),Rie=Rp();Object.assign(h1.prototype,Zc);j.exports.Dispatcher=h1;j.exports.Client=mie;j.exports.Pool=pie;j.exports.BalancedPool=hie;j.exports.Agent=fie;j.exports.ProxyAgent=gie;j.exports.EnvHttpProxyAgent=yie;j.exports.RetryAgent=Eie;j.exports.RetryHandler=wie;j.exports.DecoratorHandler=Nie;j.exports.RedirectHandler=Sie;j.exports.createRedirectInterceptor=Rie;j.exports.interceptors={redirect:gF(),retry:EF(),dump:IF(),dns:xF()};j.exports.buildConnector=Cie;j.exports.errors=f1;j.exports.util={parseHeaders:_h.parseHeaders,headerNameToString:_h.headerNameToString};function Bu(t){return(e,r,n)=>{if(typeof r=="function"&&(n=r,r=null),!e||typeof e!="string"&&typeof e!="object"&&!(e instanceof URL))throw new Lh("invalid url");if(r!=null&&typeof r!="object")throw new Lh("invalid opts");if(r&&r.path!=null){if(typeof r.path!="string")throw new Lh("invalid opts.path");let o=r.path;r.path.startsWith("/")||(o=`/${o}`),e=new URL(_h.parseOrigin(e).origin+o)}else r||(r=typeof e=="object"?e:{}),e=_h.parseURL(e);let{agent:s,dispatcher:i=g1()}=r;if(s)throw new Lh("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)}}j.exports.setGlobalDispatcher=bie;j.exports.getGlobalDispatcher=g1;var Pie=au().fetch;j.exports.fetch=async function(e,r=void 0){try{return await Pie(e,r)}catch(n){throw n&&typeof n=="object"&&Error.captureStackTrace(n),n}};j.exports.Headers=Zo().Headers;j.exports.Response=iu().Response;j.exports.Request=qc().Request;j.exports.FormData=TA().FormData;j.exports.File=globalThis.File??require("node:buffer").File;j.exports.FileReader=O2().FileReader;var{setGlobalOrigin:vie,getGlobalOrigin:Die}=MI();j.exports.setGlobalOrigin=vie;j.exports.getGlobalOrigin=Die;var{CacheStorage:kie}=$2(),{kConstruct:Tie}=gh();j.exports.caches=new kie(Tie);var{deleteCookie:Mie,getCookies:Lie,getSetCookies:_ie,setCookie:Fie}=aU();j.exports.deleteCookie=Mie;j.exports.getCookies=Lie;j.exports.getSetCookies=_ie;j.exports.setCookie=Fie;var{parseMIMEType:Uie,serializeAMimeType:Oie}=ir();j.exports.parseMIMEType=Uie;j.exports.serializeAMimeType=Oie;var{CloseEvent:qie,ErrorEvent:Hie,MessageEvent:zie}=Jc();j.exports.WebSocket=t1().WebSocket;j.exports.CloseEvent=qie;j.exports.ErrorEvent=Hie;j.exports.MessageEvent=zie;j.exports.request=Bu(Zc.request);j.exports.stream=Bu(Zc.stream);j.exports.pipeline=Bu(Zc.pipeline);j.exports.connect=Bu(Zc.connect);j.exports.upgrade=Bu(Zc.upgrade);j.exports.MockClient=Iie;j.exports.MockPool=Qie;j.exports.MockAgent=Bie;j.exports.mockErrors=xie;var{EventSource:Gie}=p1();j.exports.EventSource=Gie});var vu=h((kRe,eO)=>{"use strict";var yoe="2.0.0",Eoe=Number.MAX_SAFE_INTEGER||9007199254740991,Coe=16,Ioe=250,Boe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];eO.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Coe,MAX_SAFE_BUILD_LENGTH:Ioe,MAX_SAFE_INTEGER:Eoe,RELEASE_TYPES:Boe,SEMVER_SPEC_VERSION:yoe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Du=h((TRe,tO)=>{"use strict";var Qoe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};tO.exports=Qoe});var nl=h((ms,rO)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:kx,MAX_SAFE_BUILD_LENGTH:xoe,MAX_LENGTH:woe}=vu(),boe=Du();ms=rO.exports={};var Noe=ms.re=[],Soe=ms.safeRe=[],k=ms.src=[],Roe=ms.safeSrc=[],T=ms.t={},Poe=0,Tx="[a-zA-Z0-9-]",voe=[["\\s",1],["\\d",woe],[Tx,xoe]],Doe=t=>{for(let[e,r]of voe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},te=(t,e,r)=>{let n=Doe(e),s=Poe++;boe(t,s,e),T[t]=s,k[s]=e,Roe[s]=n,Noe[s]=new RegExp(e,r?"g":void 0),Soe[s]=new RegExp(n,r?"g":void 0)};te("NUMERICIDENTIFIER","0|[1-9]\\d*");te("NUMERICIDENTIFIERLOOSE","\\d+");te("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Tx}*`);te("MAINVERSION",`(${k[T.NUMERICIDENTIFIER]})\\.(${k[T.NUMERICIDENTIFIER]})\\.(${k[T.NUMERICIDENTIFIER]})`);te("MAINVERSIONLOOSE",`(${k[T.NUMERICIDENTIFIERLOOSE]})\\.(${k[T.NUMERICIDENTIFIERLOOSE]})\\.(${k[T.NUMERICIDENTIFIERLOOSE]})`);te("PRERELEASEIDENTIFIER",`(?:${k[T.NONNUMERICIDENTIFIER]}|${k[T.NUMERICIDENTIFIER]})`);te("PRERELEASEIDENTIFIERLOOSE",`(?:${k[T.NONNUMERICIDENTIFIER]}|${k[T.NUMERICIDENTIFIERLOOSE]})`);te("PRERELEASE",`(?:-(${k[T.PRERELEASEIDENTIFIER]}(?:\\.${k[T.PRERELEASEIDENTIFIER]})*))`);te("PRERELEASELOOSE",`(?:-?(${k[T.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${k[T.PRERELEASEIDENTIFIERLOOSE]})*))`);te("BUILDIDENTIFIER",`${Tx}+`);te("BUILD",`(?:\\+(${k[T.BUILDIDENTIFIER]}(?:\\.${k[T.BUILDIDENTIFIER]})*))`);te("FULLPLAIN",`v?${k[T.MAINVERSION]}${k[T.PRERELEASE]}?${k[T.BUILD]}?`);te("FULL",`^${k[T.FULLPLAIN]}$`);te("LOOSEPLAIN",`[v=\\s]*${k[T.MAINVERSIONLOOSE]}${k[T.PRERELEASELOOSE]}?${k[T.BUILD]}?`);te("LOOSE",`^${k[T.LOOSEPLAIN]}$`);te("GTLT","((?:<|>)?=?)");te("XRANGEIDENTIFIERLOOSE",`${k[T.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);te("XRANGEIDENTIFIER",`${k[T.NUMERICIDENTIFIER]}|x|X|\\*`);te("XRANGEPLAIN",`[v=\\s]*(${k[T.XRANGEIDENTIFIER]})(?:\\.(${k[T.XRANGEIDENTIFIER]})(?:\\.(${k[T.XRANGEIDENTIFIER]})(?:${k[T.PRERELEASE]})?${k[T.BUILD]}?)?)?`);te("XRANGEPLAINLOOSE",`[v=\\s]*(${k[T.XRANGEIDENTIFIERLOOSE]})(?:\\.(${k[T.XRANGEIDENTIFIERLOOSE]})(?:\\.(${k[T.XRANGEIDENTIFIERLOOSE]})(?:${k[T.PRERELEASELOOSE]})?${k[T.BUILD]}?)?)?`);te("XRANGE",`^${k[T.GTLT]}\\s*${k[T.XRANGEPLAIN]}$`);te("XRANGELOOSE",`^${k[T.GTLT]}\\s*${k[T.XRANGEPLAINLOOSE]}$`);te("COERCEPLAIN",`(^|[^\\d])(\\d{1,${kx}})(?:\\.(\\d{1,${kx}}))?(?:\\.(\\d{1,${kx}}))?`);te("COERCE",`${k[T.COERCEPLAIN]}(?:$|[^\\d])`);te("COERCEFULL",k[T.COERCEPLAIN]+`(?:${k[T.PRERELEASE]})?(?:${k[T.BUILD]})?(?:$|[^\\d])`);te("COERCERTL",k[T.COERCE],!0);te("COERCERTLFULL",k[T.COERCEFULL],!0);te("LONETILDE","(?:~>?)");te("TILDETRIM",`(\\s*)${k[T.LONETILDE]}\\s+`,!0);ms.tildeTrimReplace="$1~";te("TILDE",`^${k[T.LONETILDE]}${k[T.XRANGEPLAIN]}$`);te("TILDELOOSE",`^${k[T.LONETILDE]}${k[T.XRANGEPLAINLOOSE]}$`);te("LONECARET","(?:\\^)");te("CARETTRIM",`(\\s*)${k[T.LONECARET]}\\s+`,!0);ms.caretTrimReplace="$1^";te("CARET",`^${k[T.LONECARET]}${k[T.XRANGEPLAIN]}$`);te("CARETLOOSE",`^${k[T.LONECARET]}${k[T.XRANGEPLAINLOOSE]}$`);te("COMPARATORLOOSE",`^${k[T.GTLT]}\\s*(${k[T.LOOSEPLAIN]})$|^$`);te("COMPARATOR",`^${k[T.GTLT]}\\s*(${k[T.FULLPLAIN]})$|^$`);te("COMPARATORTRIM",`(\\s*)${k[T.GTLT]}\\s*(${k[T.LOOSEPLAIN]}|${k[T.XRANGEPLAIN]})`,!0);ms.comparatorTrimReplace="$1$2$3";te("HYPHENRANGE",`^\\s*(${k[T.XRANGEPLAIN]})\\s+-\\s+(${k[T.XRANGEPLAIN]})\\s*$`);te("HYPHENRANGELOOSE",`^\\s*(${k[T.XRANGEPLAINLOOSE]})\\s+-\\s+(${k[T.XRANGEPLAINLOOSE]})\\s*$`);te("STAR","(<|>)?=?\\s*\\*");te("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");te("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Wh=h((MRe,nO)=>{"use strict";var koe=Object.freeze({loose:!0}),Toe=Object.freeze({}),Moe=t=>t?typeof t!="object"?koe:t:Toe;nO.exports=Moe});var Mx=h((LRe,oO)=>{"use strict";var sO=/^[0-9]+$/,iO=(t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=sO.test(t),n=sO.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1},Loe=(t,e)=>iO(e,t);oO.exports={compareIdentifiers:iO,rcompareIdentifiers:Loe}});var Ut=h((_Re,cO)=>{"use strict";var $h=Du(),{MAX_LENGTH:aO,MAX_SAFE_INTEGER:jh}=vu(),{safeRe:Kh,t:Xh}=nl(),_oe=Wh(),{compareIdentifiers:Lx}=Mx(),_x=class t{constructor(e,r){if(r=_oe(r),e instanceof t){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>aO)throw new TypeError(`version is longer than ${aO} characters`);$h("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?Kh[Xh.LOOSE]:Kh[Xh.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>jh||this.major<0)throw new TypeError("Invalid major version");if(this.minor>jh||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>jh||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){let i=+s;if(i>=0&&i<jh)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 Lx(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 Lx(n,s)}while(++r)}inc(e,r,n){if(e.startsWith("pre")){if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let s=`-${r}`.match(this.options.loose?Kh[Xh.PRERELEASELOOSE]:Kh[Xh.PRERELEASE]);if(!s||s[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let s=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[s];else{let i=this.prerelease.length;for(;--i>=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(r){let i=[r,s];n===!1&&(i=[r]),Lx(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};cO.exports=_x});var ua=h((FRe,AO)=>{"use strict";var lO=Ut(),Foe=(t,e,r=!1)=>{if(t instanceof lO)return t;try{return new lO(t,e)}catch(n){if(!r)return null;throw n}};AO.exports=Foe});var dO=h((URe,uO)=>{"use strict";var Uoe=ua(),Ooe=(t,e)=>{let r=Uoe(t,e);return r?r.version:null};uO.exports=Ooe});var pO=h((ORe,mO)=>{"use strict";var qoe=ua(),Hoe=(t,e)=>{let r=qoe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null};mO.exports=Hoe});var gO=h((qRe,fO)=>{"use strict";var hO=Ut(),zoe=(t,e,r,n,s)=>{typeof r=="string"&&(s=n,n=r,r=void 0);try{return new hO(t instanceof hO?t.version:t,r).inc(e,n,s).version}catch{return null}};fO.exports=zoe});var CO=h((HRe,EO)=>{"use strict";var yO=ua(),Goe=(t,e)=>{let r=yO(t,null,!0),n=yO(e,null,!0),s=r.compare(n);if(s===0)return null;let i=s>0,o=i?r:n,a=i?n:r,c=!!o.prerelease.length;if(!!a.prerelease.length&&!c){if(!a.patch&&!a.minor)return"major";if(a.compareMain(o)===0)return a.minor&&!a.patch?"minor":"patch"}let A=c?"pre":"";return r.major!==n.major?A+"major":r.minor!==n.minor?A+"minor":r.patch!==n.patch?A+"patch":"prerelease"};EO.exports=Goe});var BO=h((zRe,IO)=>{"use strict";var Yoe=Ut(),Voe=(t,e)=>new Yoe(t,e).major;IO.exports=Voe});var xO=h((GRe,QO)=>{"use strict";var Joe=Ut(),Woe=(t,e)=>new Joe(t,e).minor;QO.exports=Woe});var bO=h((YRe,wO)=>{"use strict";var $oe=Ut(),joe=(t,e)=>new $oe(t,e).patch;wO.exports=joe});var SO=h((VRe,NO)=>{"use strict";var Koe=ua(),Xoe=(t,e)=>{let r=Koe(t,e);return r&&r.prerelease.length?r.prerelease:null};NO.exports=Xoe});var cn=h((JRe,PO)=>{"use strict";var RO=Ut(),Zoe=(t,e,r)=>new RO(t,r).compare(new RO(e,r));PO.exports=Zoe});var DO=h((WRe,vO)=>{"use strict";var eae=cn(),tae=(t,e,r)=>eae(e,t,r);vO.exports=tae});var TO=h(($Re,kO)=>{"use strict";var rae=cn(),nae=(t,e)=>rae(t,e,!0);kO.exports=nae});var Zh=h((jRe,LO)=>{"use strict";var MO=Ut(),sae=(t,e,r)=>{let n=new MO(t,r),s=new MO(e,r);return n.compare(s)||n.compareBuild(s)};LO.exports=sae});var FO=h((KRe,_O)=>{"use strict";var iae=Zh(),oae=(t,e)=>t.sort((r,n)=>iae(r,n,e));_O.exports=oae});var OO=h((XRe,UO)=>{"use strict";var aae=Zh(),cae=(t,e)=>t.sort((r,n)=>aae(n,r,e));UO.exports=cae});var ku=h((ZRe,qO)=>{"use strict";var lae=cn(),Aae=(t,e,r)=>lae(t,e,r)>0;qO.exports=Aae});var ef=h((ePe,HO)=>{"use strict";var uae=cn(),dae=(t,e,r)=>uae(t,e,r)<0;HO.exports=dae});var Fx=h((tPe,zO)=>{"use strict";var mae=cn(),pae=(t,e,r)=>mae(t,e,r)===0;zO.exports=pae});var Ux=h((rPe,GO)=>{"use strict";var hae=cn(),fae=(t,e,r)=>hae(t,e,r)!==0;GO.exports=fae});var tf=h((nPe,YO)=>{"use strict";var gae=cn(),yae=(t,e,r)=>gae(t,e,r)>=0;YO.exports=yae});var rf=h((sPe,VO)=>{"use strict";var Eae=cn(),Cae=(t,e,r)=>Eae(t,e,r)<=0;VO.exports=Cae});var Ox=h((iPe,JO)=>{"use strict";var Iae=Fx(),Bae=Ux(),Qae=ku(),xae=tf(),wae=ef(),bae=rf(),Nae=(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 Iae(t,r,n);case"!=":return Bae(t,r,n);case">":return Qae(t,r,n);case">=":return xae(t,r,n);case"<":return wae(t,r,n);case"<=":return bae(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}};JO.exports=Nae});var $O=h((oPe,WO)=>{"use strict";var Sae=Ut(),Rae=ua(),{safeRe:nf,t:sf}=nl(),Pae=(t,e)=>{if(t instanceof Sae)return t;if(typeof t=="number"&&(t=String(t)),typeof t!="string")return null;e=e||{};let r=null;if(!e.rtl)r=t.match(e.includePrerelease?nf[sf.COERCEFULL]:nf[sf.COERCE]);else{let c=e.includePrerelease?nf[sf.COERCERTLFULL]:nf[sf.COERCERTL],l;for(;(l=c.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||l.index+l[0].length!==r.index+r[0].length)&&(r=l),c.lastIndex=l.index+l[1].length+l[2].length;c.lastIndex=-1}if(r===null)return null;let n=r[2],s=r[3]||"0",i=r[4]||"0",o=e.includePrerelease&&r[5]?`-${r[5]}`:"",a=e.includePrerelease&&r[6]?`+${r[6]}`:"";return Rae(`${n}.${s}.${i}${o}${a}`,e)};WO.exports=Pae});var KO=h((aPe,jO)=>{"use strict";var qx=class{constructor(){this.max=1e3,this.map=new Map}get(e){let r=this.map.get(e);if(r!==void 0)return this.map.delete(e),this.map.set(e,r),r}delete(e){return this.map.delete(e)}set(e,r){if(!this.delete(e)&&r!==void 0){if(this.map.size>=this.max){let s=this.map.keys().next().value;this.delete(s)}this.map.set(e,r)}return this}};jO.exports=qx});var ln=h((cPe,tq)=>{"use strict";var vae=/\s+/g,Hx=class t{constructor(e,r){if(r=kae(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof zx)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(vae," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(s=>!ZO(s[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let s of this.set)if(s.length===1&&Oae(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&&Fae)|(this.options.loose&&Uae))+":"+e,s=XO.get(n);if(s)return s;let i=this.options.loose,o=i?Wt[Ot.HYPHENRANGELOOSE]:Wt[Ot.HYPHENRANGE];e=e.replace(o,jae(this.options.includePrerelease)),ke("hyphen replace",e),e=e.replace(Wt[Ot.COMPARATORTRIM],Mae),ke("comparator trim",e),e=e.replace(Wt[Ot.TILDETRIM],Lae),ke("tilde trim",e),e=e.replace(Wt[Ot.CARETTRIM],_ae),ke("caret trim",e);let a=e.split(" ").map(u=>qae(u,this.options)).join(" ").split(/\s+/).map(u=>$ae(u,this.options));i&&(a=a.filter(u=>(ke("loose invalid filter",u,this.options),!!u.match(Wt[Ot.COMPARATORLOOSE])))),ke("range list",a);let c=new Map,l=a.map(u=>new zx(u,this.options));for(let u of l){if(ZO(u))return[u];c.set(u.value,u)}c.size>1&&c.has("")&&c.delete("");let A=[...c.values()];return XO.set(n,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>eq(n,r)&&e.set.some(s=>eq(s,r)&&n.every(i=>s.every(o=>i.intersects(o,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new Tae(e,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(Kae(this.set[r],e,this.options))return!0;return!1}};tq.exports=Hx;var Dae=KO(),XO=new Dae,kae=Wh(),zx=Tu(),ke=Du(),Tae=Ut(),{safeRe:Wt,t:Ot,comparatorTrimReplace:Mae,tildeTrimReplace:Lae,caretTrimReplace:_ae}=nl(),{FLAG_INCLUDE_PRERELEASE:Fae,FLAG_LOOSE:Uae}=vu(),ZO=t=>t.value==="<0.0.0-0",Oae=t=>t.value==="",eq=(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},qae=(t,e)=>(t=t.replace(Wt[Ot.BUILD],""),ke("comp",t,e),t=Gae(t,e),ke("caret",t),t=Hae(t,e),ke("tildes",t),t=Vae(t,e),ke("xrange",t),t=Wae(t,e),ke("stars",t),t),$t=t=>!t||t.toLowerCase()==="x"||t==="*",Hae=(t,e)=>t.trim().split(/\s+/).map(r=>zae(r,e)).join(" "),zae=(t,e)=>{let r=e.loose?Wt[Ot.TILDELOOSE]:Wt[Ot.TILDE];return t.replace(r,(n,s,i,o,a)=>{ke("tilde",t,n,s,i,o,a);let c;return $t(s)?c="":$t(i)?c=`>=${s}.0.0 <${+s+1}.0.0-0`:$t(o)?c=`>=${s}.${i}.0 <${s}.${+i+1}.0-0`:a?(ke("replaceTilde pr",a),c=`>=${s}.${i}.${o}-${a} <${s}.${+i+1}.0-0`):c=`>=${s}.${i}.${o} <${s}.${+i+1}.0-0`,ke("tilde return",c),c})},Gae=(t,e)=>t.trim().split(/\s+/).map(r=>Yae(r,e)).join(" "),Yae=(t,e)=>{ke("caret",t,e);let r=e.loose?Wt[Ot.CARETLOOSE]:Wt[Ot.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(s,i,o,a,c)=>{ke("caret",t,s,i,o,a,c);let l;return $t(i)?l="":$t(o)?l=`>=${i}.0.0${n} <${+i+1}.0.0-0`:$t(a)?i==="0"?l=`>=${i}.${o}.0${n} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.0${n} <${+i+1}.0.0-0`:c?(ke("replaceCaret pr",c),i==="0"?o==="0"?l=`>=${i}.${o}.${a}-${c} <${i}.${o}.${+a+1}-0`:l=`>=${i}.${o}.${a}-${c} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.${a}-${c} <${+i+1}.0.0-0`):(ke("no pr"),i==="0"?o==="0"?l=`>=${i}.${o}.${a}${n} <${i}.${o}.${+a+1}-0`:l=`>=${i}.${o}.${a}${n} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.${a} <${+i+1}.0.0-0`),ke("caret return",l),l})},Vae=(t,e)=>(ke("replaceXRanges",t,e),t.split(/\s+/).map(r=>Jae(r,e)).join(" ")),Jae=(t,e)=>{t=t.trim();let r=e.loose?Wt[Ot.XRANGELOOSE]:Wt[Ot.XRANGE];return t.replace(r,(n,s,i,o,a,c)=>{ke("xRange",t,n,s,i,o,a,c);let l=$t(i),A=l||$t(o),u=A||$t(a),d=u;return s==="="&&d&&(s=""),c=e.includePrerelease?"-0":"",l?s===">"||s==="<"?n="<0.0.0-0":n="*":s&&d?(A&&(o=0),a=0,s===">"?(s=">=",A?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):s==="<="&&(s="<",A?i=+i+1:o=+o+1),s==="<"&&(c="-0"),n=`${s+i}.${o}.${a}${c}`):A?n=`>=${i}.0.0${c} <${+i+1}.0.0-0`:u&&(n=`>=${i}.${o}.0${c} <${i}.${+o+1}.0-0`),ke("xRange return",n),n})},Wae=(t,e)=>(ke("replaceStars",t,e),t.trim().replace(Wt[Ot.STAR],"")),$ae=(t,e)=>(ke("replaceGTE0",t,e),t.trim().replace(Wt[e.includePrerelease?Ot.GTE0PRE:Ot.GTE0],"")),jae=t=>(e,r,n,s,i,o,a,c,l,A,u,d)=>($t(n)?r="":$t(s)?r=`>=${n}.0.0${t?"-0":""}`:$t(i)?r=`>=${n}.${s}.0${t?"-0":""}`:o?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,$t(l)?c="":$t(A)?c=`<${+l+1}.0.0-0`:$t(u)?c=`<${l}.${+A+1}.0-0`:d?c=`<=${l}.${A}.${u}-${d}`:t?c=`<${l}.${A}.${+u+1}-0`:c=`<=${c}`,`${r} ${c}`.trim()),Kae=(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(ke(t[n].semver),t[n].semver!==zx.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}});var Tu=h((lPe,aq)=>{"use strict";var Mu=Symbol("SemVer ANY"),Vx=class t{static get ANY(){return Mu}constructor(e,r){if(r=rq(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),Yx("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Mu?this.value="":this.value=this.operator+this.semver.version,Yx("comp",this)}parse(e){let r=this.options.loose?nq[sq.COMPARATORLOOSE]:nq[sq.COMPARATOR],n=e.match(r);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new iq(n[2],this.options.loose):this.semver=Mu}toString(){return this.value}test(e){if(Yx("Comparator.test",e,this.options.loose),this.semver===Mu||e===Mu)return!0;if(typeof e=="string")try{e=new iq(e,this.options)}catch{return!1}return Gx(e,this.operator,this.semver,this.options)}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new oq(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new oq(this.value,r).test(e.semver):(r=rq(r),r.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||Gx(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||Gx(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};aq.exports=Vx;var rq=Wh(),{safeRe:nq,t:sq}=nl(),Gx=Ox(),Yx=Du(),iq=Ut(),oq=ln()});var Lu=h((APe,cq)=>{"use strict";var Xae=ln(),Zae=(t,e,r)=>{try{e=new Xae(e,r)}catch{return!1}return e.test(t)};cq.exports=Zae});var Aq=h((uPe,lq)=>{"use strict";var ece=ln(),tce=(t,e)=>new ece(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" "));lq.exports=tce});var dq=h((dPe,uq)=>{"use strict";var rce=Ut(),nce=ln(),sce=(t,e,r)=>{let n=null,s=null,i=null;try{i=new nce(e,r)}catch{return null}return t.forEach(o=>{i.test(o)&&(!n||s.compare(o)===-1)&&(n=o,s=new rce(n,r))}),n};uq.exports=sce});var pq=h((mPe,mq)=>{"use strict";var ice=Ut(),oce=ln(),ace=(t,e,r)=>{let n=null,s=null,i=null;try{i=new oce(e,r)}catch{return null}return t.forEach(o=>{i.test(o)&&(!n||s.compare(o)===1)&&(n=o,s=new ice(n,r))}),n};mq.exports=ace});var gq=h((pPe,fq)=>{"use strict";var Jx=Ut(),cce=ln(),hq=ku(),lce=(t,e)=>{t=new cce(t,e);let r=new Jx("0.0.0");if(t.test(r)||(r=new Jx("0.0.0-0"),t.test(r)))return r;r=null;for(let n=0;n<t.set.length;++n){let s=t.set[n],i=null;s.forEach(o=>{let a=new Jx(o.semver.version);switch(o.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!i||hq(a,i))&&(i=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${o.operator}`)}}),i&&(!r||hq(r,i))&&(r=i)}return r&&t.test(r)?r:null};fq.exports=lce});var Eq=h((hPe,yq)=>{"use strict";var Ace=ln(),uce=(t,e)=>{try{return new Ace(t,e).range||"*"}catch{return null}};yq.exports=uce});var of=h((fPe,Qq)=>{"use strict";var dce=Ut(),Bq=Tu(),{ANY:mce}=Bq,pce=ln(),hce=Lu(),Cq=ku(),Iq=ef(),fce=rf(),gce=tf(),yce=(t,e,r,n)=>{t=new dce(t,n),e=new pce(e,n);let s,i,o,a,c;switch(r){case">":s=Cq,i=fce,o=Iq,a=">",c=">=";break;case"<":s=Iq,i=gce,o=Cq,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(hce(t,e,n))return!1;for(let l=0;l<e.set.length;++l){let A=e.set[l],u=null,d=null;if(A.forEach(m=>{m.semver===mce&&(m=new Bq(">=0.0.0")),u=u||m,d=d||m,s(m.semver,u.semver,n)?u=m:o(m.semver,d.semver,n)&&(d=m)}),u.operator===a||u.operator===c||(!d.operator||d.operator===a)&&i(t,d.semver))return!1;if(d.operator===c&&o(t,d.semver))return!1}return!0};Qq.exports=yce});var wq=h((gPe,xq)=>{"use strict";var Ece=of(),Cce=(t,e,r)=>Ece(t,e,">",r);xq.exports=Cce});var Nq=h((yPe,bq)=>{"use strict";var Ice=of(),Bce=(t,e,r)=>Ice(t,e,"<",r);bq.exports=Bce});var Pq=h((EPe,Rq)=>{"use strict";var Sq=ln(),Qce=(t,e,r)=>(t=new Sq(t,r),e=new Sq(e,r),t.intersects(e,r));Rq.exports=Qce});var Dq=h((CPe,vq)=>{"use strict";var xce=Lu(),wce=cn();vq.exports=(t,e,r)=>{let n=[],s=null,i=null,o=t.sort((A,u)=>wce(A,u,r));for(let A of o)xce(A,e,r)?(i=A,s||(s=A)):(i&&n.push([s,i]),i=null,s=null);s&&n.push([s,null]);let a=[];for(let[A,u]of n)A===u?a.push(A):!u&&A===o[0]?a.push("*"):u?A===o[0]?a.push(`<=${u}`):a.push(`${A} - ${u}`):a.push(`>=${A}`);let c=a.join(" || "),l=typeof e.raw=="string"?e.raw:String(e);return c.length<l.length?c:e}});var Fq=h((IPe,_q)=>{"use strict";var kq=ln(),$x=Tu(),{ANY:Wx}=$x,_u=Lu(),jx=cn(),bce=(t,e,r={})=>{if(t===e)return!0;t=new kq(t,r),e=new kq(e,r);let n=!1;e:for(let s of t.set){for(let i of e.set){let o=Sce(s,i,r);if(n=n||o!==null,o)continue e}if(n)return!1}return!0},Nce=[new $x(">=0.0.0-0")],Tq=[new $x(">=0.0.0")],Sce=(t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===Wx){if(e.length===1&&e[0].semver===Wx)return!0;r.includePrerelease?t=Nce:t=Tq}if(e.length===1&&e[0].semver===Wx){if(r.includePrerelease)return!0;e=Tq}let n=new Set,s,i;for(let m of t)m.operator===">"||m.operator===">="?s=Mq(s,m,r):m.operator==="<"||m.operator==="<="?i=Lq(i,m,r):n.add(m.semver);if(n.size>1)return null;let o;if(s&&i){if(o=jx(s.semver,i.semver,r),o>0)return null;if(o===0&&(s.operator!==">="||i.operator!=="<="))return null}for(let m of n){if(s&&!_u(m,String(s),r)||i&&!_u(m,String(i),r))return null;for(let p of e)if(!_u(m,String(p),r))return!1;return!0}let a,c,l,A,u=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,d=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1;u&&u.prerelease.length===1&&i.operator==="<"&&u.prerelease[0]===0&&(u=!1);for(let m of e){if(A=A||m.operator===">"||m.operator===">=",l=l||m.operator==="<"||m.operator==="<=",s){if(d&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===d.major&&m.semver.minor===d.minor&&m.semver.patch===d.patch&&(d=!1),m.operator===">"||m.operator===">="){if(a=Mq(s,m,r),a===m&&a!==s)return!1}else if(s.operator===">="&&!_u(s.semver,String(m),r))return!1}if(i){if(u&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===u.major&&m.semver.minor===u.minor&&m.semver.patch===u.patch&&(u=!1),m.operator==="<"||m.operator==="<="){if(c=Lq(i,m,r),c===m&&c!==i)return!1}else if(i.operator==="<="&&!_u(i.semver,String(m),r))return!1}if(!m.operator&&(i||s)&&o!==0)return!1}return!(s&&l&&!i&&o!==0||i&&A&&!s&&o!==0||d||u)},Mq=(t,e,r)=>{if(!t)return e;let n=jx(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},Lq=(t,e,r)=>{if(!t)return e;let n=jx(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t};_q.exports=bce});var Xx=h((BPe,qq)=>{"use strict";var Kx=nl(),Uq=vu(),Rce=Ut(),Oq=Mx(),Pce=ua(),vce=dO(),Dce=pO(),kce=gO(),Tce=CO(),Mce=BO(),Lce=xO(),_ce=bO(),Fce=SO(),Uce=cn(),Oce=DO(),qce=TO(),Hce=Zh(),zce=FO(),Gce=OO(),Yce=ku(),Vce=ef(),Jce=Fx(),Wce=Ux(),$ce=tf(),jce=rf(),Kce=Ox(),Xce=$O(),Zce=Tu(),ele=ln(),tle=Lu(),rle=Aq(),nle=dq(),sle=pq(),ile=gq(),ole=Eq(),ale=of(),cle=wq(),lle=Nq(),Ale=Pq(),ule=Dq(),dle=Fq();qq.exports={parse:Pce,valid:vce,clean:Dce,inc:kce,diff:Tce,major:Mce,minor:Lce,patch:_ce,prerelease:Fce,compare:Uce,rcompare:Oce,compareLoose:qce,compareBuild:Hce,sort:zce,rsort:Gce,gt:Yce,lt:Vce,eq:Jce,neq:Wce,gte:$ce,lte:jce,cmp:Kce,coerce:Xce,Comparator:Zce,Range:ele,satisfies:tle,toComparators:rle,maxSatisfying:nle,minSatisfying:sle,minVersion:ile,validRange:ole,outside:ale,gtr:cle,ltr:lle,intersects:Ale,simplifyRange:ule,subset:dle,SemVer:Rce,re:Kx.re,src:Kx.src,tokens:Kx.t,SEMVER_SPEC_VERSION:Uq.SEMVER_SPEC_VERSION,RELEASE_TYPES:Uq.RELEASE_TYPES,compareIdentifiers:Oq.compareIdentifiers,rcompareIdentifiers:Oq.rcompareIdentifiers}});var sH=h((gve,nH)=>{nH.exports=function(t,e){for(var r=[],n=0;n<t.length;n++){var s=e(t[n],n);Ple(s)?r.push.apply(r,s):r.push(s)}return r};var Ple=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"}});var lH=h((yve,cH)=>{"use strict";cH.exports=oH;function oH(t,e,r){t instanceof RegExp&&(t=iH(t,r)),e instanceof RegExp&&(e=iH(e,r));var n=aH(t,e,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+t.length,n[1]),post:r.slice(n[1]+e.length)}}function iH(t,e){var r=e.match(t);return r?r[0]:null}oH.range=aH;function aH(t,e,r){var n,s,i,o,a,c=r.indexOf(t),l=r.indexOf(e,c+1),A=c;if(c>=0&&l>0){if(t===e)return[c,l];for(n=[],i=r.length;A>=0&&!a;)A==c?(n.push(A),c=r.indexOf(t,A+1)):n.length==1?a=[n.pop(),l]:(s=n.pop(),s<i&&(i=s,o=l),l=r.indexOf(e,A+1)),A=c<l&&c>=0?c:l;n.length&&(a=[i,o])}return a}});var gH=h((Eve,fH)=>{var vle=sH(),AH=lH();fH.exports=Tle;var uH="\0SLASH"+Math.random()+"\0",dH="\0OPEN"+Math.random()+"\0",lw="\0CLOSE"+Math.random()+"\0",mH="\0COMMA"+Math.random()+"\0",pH="\0PERIOD"+Math.random()+"\0";function cw(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function Dle(t){return t.split("\\\\").join(uH).split("\\{").join(dH).split("\\}").join(lw).split("\\,").join(mH).split("\\.").join(pH)}function kle(t){return t.split(uH).join("\\").split(dH).join("{").split(lw).join("}").split(mH).join(",").split(pH).join(".")}function hH(t){if(!t)return[""];var e=[],r=AH("{","}",t);if(!r)return t.split(",");var n=r.pre,s=r.body,i=r.post,o=n.split(",");o[o.length-1]+="{"+s+"}";var a=hH(i);return i.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function Tle(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)),ol(Dle(t),r,!0).map(kle)}function Mle(t){return"{"+t+"}"}function Lle(t){return/^-?0\d/.test(t)}function _le(t,e){return t<=e}function Fle(t,e){return t>=e}function ol(t,e,r){var n=[],s=AH("{","}",t);if(!s||/\$$/.test(s.pre))return[t];var i=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body),o=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body),a=i||o,c=s.body.indexOf(",")>=0;if(!a&&!c)return s.post.match(/,(?!,).*\}/)?(t=s.pre+"{"+s.body+lw+s.post,ol(t,e,!0)):[t];var l;if(a)l=s.body.split(/\.\./);else if(l=hH(s.body),l.length===1&&(l=ol(l[0],e,!1).map(Mle),l.length===1)){var u=s.post.length?ol(s.post,e,!1):[""];return u.map(function(ee){return s.pre+l[0]+ee})}var A=s.pre,u=s.post.length?ol(s.post,e,!1):[""],d;if(a){var m=cw(l[0]),p=cw(l[1]),f=Math.max(l[0].length,l[1].length),E=l.length==3?Math.max(Math.abs(cw(l[2])),1):1,g=_le,y=p<m;y&&(E*=-1,g=Fle);var C=l.some(Lle);d=[];for(var I=m;g(I,p)&&d.length<e;I+=E){var w;if(o)w=String.fromCharCode(I),w==="\\"&&(w="");else if(w=String(I),C){var D=f-w.length;if(D>0){var _=new Array(D+1).join("0");I<0?w="-"+_+w.slice(1):w=_+w}}d.push(w)}}else d=vle(l,function(H){return ol(H,e,!1)});for(var ae=0;ae<d.length;ae++)for(var ge=0;ge<u.length&&n.length<e;ge++){var Be=A+d[ae]+u[ge];(!r||a||Be)&&n.push(Be)}return n}});var QH=h((Cve,BH)=>{BH.exports=_r;_r.Minimatch=Dt;var Gu=(function(){try{return require("path")}catch{}})()||{sep:"/"};_r.sep=Gu.sep;var dw=_r.GLOBSTAR=Dt.GLOBSTAR={},Ule=gH(),yH={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Aw="[^/]",uw=Aw+"*?",Ole="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",qle="(?:(?!(?:\\/|^)\\.).)*?",EH=Hle("().*{}+?[]^$\\!");function Hle(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}var CH=/\/+/;_r.filter=zle;function zle(t,e){return e=e||{},function(r,n,s){return _r(r,t,e)}}function po(t,e){e=e||{};var r={};return Object.keys(t).forEach(function(n){r[n]=t[n]}),Object.keys(e).forEach(function(n){r[n]=e[n]}),r}_r.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return _r;var e=_r,r=function(s,i,o){return e(s,i,po(t,o))};return r.Minimatch=function(s,i){return new e.Minimatch(s,po(t,i))},r.Minimatch.defaults=function(s){return e.defaults(po(t,s)).Minimatch},r.filter=function(s,i){return e.filter(s,po(t,i))},r.defaults=function(s){return e.defaults(po(t,s))},r.makeRe=function(s,i){return e.makeRe(s,po(t,i))},r.braceExpand=function(s,i){return e.braceExpand(s,po(t,i))},r.match=function(n,s,i){return e.match(n,s,po(t,i))},r};Dt.defaults=function(t){return _r.defaults(t).Minimatch};function _r(t,e,r){return df(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new Dt(e,r).match(t)}function Dt(t,e){if(!(this instanceof Dt))return new Dt(t,e);df(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&Gu.sep!=="/"&&(t=t.split(Gu.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()}Dt.prototype.debug=function(){};Dt.prototype.make=Gle;function Gle(){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=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,r),r=this.globParts=r.map(function(n){return n.split(CH)}),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}Dt.prototype.parseNegate=Yle;function Yle(){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}}_r.braceExpand=function(t,e){return IH(t,e)};Dt.prototype.braceExpand=IH;function IH(t,e){return e||(this instanceof Dt?e=this.options:e={}),t=typeof t>"u"?this.pattern:t,df(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:Ule(t)}var Vle=1024*64,df=function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>Vle)throw new TypeError("pattern is too long")};Dt.prototype.parse=Jle;var uf={};function Jle(t,e){df(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return dw;if(t==="")return"";var n="",s=!!r.nocase,i=!1,o=[],a=[],c,l=!1,A=-1,u=-1,d=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",m=this;function p(){if(c){switch(c){case"*":n+=uw,s=!0;break;case"?":n+=Aw,s=!0;break;default:n+="\\"+c;break}m.debug("clearStateChar %j %j",c,n),c=!1}}for(var f=0,E=t.length,g;f<E&&(g=t.charAt(f));f++){if(this.debug("%s %s %s %j",t,f,n,g),i&&EH[g]){n+="\\"+g,i=!1;continue}switch(g){case"/":return!1;case"\\":p(),i=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",t,f,n,g),l){this.debug(" in class"),g==="!"&&f===u+1&&(g="^"),n+=g;continue}m.debug("call clearStateChar %j",c),p(),c=g,r.noext&&p();continue;case"(":if(l){n+="(";continue}if(!c){n+="\\(";continue}o.push({type:c,start:f-1,reStart:n.length,open:yH[c].open,close:yH[c].close}),n+=c==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",c,n),c=!1;continue;case")":if(l||!o.length){n+="\\)";continue}p(),s=!0;var y=o.pop();n+=y.close,y.type==="!"&&a.push(y),y.reEnd=n.length;continue;case"|":if(l||!o.length||i){n+="\\|",i=!1;continue}p(),n+="|";continue;case"[":if(p(),l){n+="\\"+g;continue}l=!0,u=f,A=n.length,n+=g;continue;case"]":if(f===u+1||!l){n+="\\"+g,i=!1;continue}var C=t.substring(u+1,f);try{RegExp("["+C+"]")}catch{var I=this.parse(C,uf);n=n.substr(0,A)+"\\["+I[0]+"\\]",s=s||I[1],l=!1;continue}s=!0,l=!1,n+=g;continue;default:p(),i?i=!1:EH[g]&&!(g==="^"&&l)&&(n+="\\"),n+=g}}for(l&&(C=t.substr(u+1),I=this.parse(C,uf),n=n.substr(0,A)+"\\["+I[0],s=s||I[1]),y=o.pop();y;y=o.pop()){var w=n.slice(y.reStart+y.open.length);this.debug("setting tail",n,y),w=w.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(Zn,_o,nc){return nc||(nc="\\"),_o+_o+nc+"|"}),this.debug(`tail=%j
|
|
%s`,w,w,y,n);var D=y.type==="*"?uw:y.type==="?"?Aw:"\\"+y.type;s=!0,n=n.slice(0,y.reStart)+D+"\\("+w}p(),i&&(n+="\\\\");var _=!1;switch(n.charAt(0)){case"[":case".":case"(":_=!0}for(var ae=a.length-1;ae>-1;ae--){var ge=a[ae],Be=n.slice(0,ge.reStart),H=n.slice(ge.reStart,ge.reEnd-8),ee=n.slice(ge.reEnd-8,ge.reEnd),F=n.slice(ge.reEnd);ee+=F;var de=Be.split("(").length-1,At=F;for(f=0;f<de;f++)At=At.replace(/\)[+*?]?/,"");F=At;var He="";F===""&&e!==uf&&(He="$");var tt=Be+H+F+He+ee;n=tt}if(n!==""&&s&&(n="(?=.)"+n),_&&(n=d+n),e===uf)return[n,s];if(!s)return $le(t);var ei=r.nocase?"i":"";try{var wr=new RegExp("^"+n+"$",ei)}catch{return new RegExp("$.")}return wr._glob=t,wr._src=n,wr}_r.makeRe=function(t,e){return new Dt(t,e||{}).makeRe()};Dt.prototype.makeRe=Wle;function Wle(){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?uw:e.dot?Ole:qle,n=e.nocase?"i":"",s=t.map(function(i){return i.map(function(o){return o===dw?r:typeof o=="string"?jle(o):o._src}).join("\\/")}).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,n)}catch{this.regexp=!1}return this.regexp}_r.match=function(t,e,r){r=r||{};var n=new Dt(e,r);return t=t.filter(function(s){return n.match(s)}),n.options.nonull&&!t.length&&t.push(e),t};Dt.prototype.match=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;Gu.sep!=="/"&&(e=e.split(Gu.sep).join("/")),e=e.split(CH),this.debug(this.pattern,"split",e);var s=this.set;this.debug(this.pattern,"set",s);var i,o;for(o=e.length-1;o>=0&&(i=e[o],!i);o--);for(o=0;o<s.length;o++){var a=s[o],c=e;n.matchBase&&a.length===1&&(c=[i]);var l=this.matchOne(c,a,r);if(l)return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate};Dt.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,o=t.length,a=e.length;s<o&&i<a;s++,i++){this.debug("matchOne loop");var c=e[i],l=t[s];if(this.debug(e,c,l),c===!1)return!1;if(c===dw){this.debug("GLOBSTAR",[e,c,l]);var A=s,u=i+1;if(u===a){for(this.debug("** at the end");s<o;s++)if(t[s]==="."||t[s]===".."||!n.dot&&t[s].charAt(0)===".")return!1;return!0}for(;A<o;){var d=t[A];if(this.debug(`
|
|
globstar while`,t,A,e,u,d),this.matchOne(t.slice(A),e.slice(u),r))return this.debug("globstar found match!",A,o,d),!0;if(d==="."||d===".."||!n.dot&&d.charAt(0)==="."){this.debug("dot detected!",t,A,e,u);break}this.debug("globstar swallow a segment, and continue"),A++}return!!(r&&(this.debug(`
|
|
>>> no match, partial?`,t,A,e,u),A===o))}var m;if(typeof c=="string"?(m=l===c,this.debug("string match",c,l,m)):(m=l.match(c),this.debug("pattern match",c,l,m)),!m)return!1}if(s===o&&i===a)return!0;if(s===o)return r;if(i===a)return s===o-1&&t[s]==="";throw new Error("wtf?")};function $le(t){return t.replace(/\\(.)/g,"$1")}function jle(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}});var Ju=h((Tve,NH)=>{"use strict";var sAe="2.0.0",iAe=Number.MAX_SAFE_INTEGER||9007199254740991,oAe=16,aAe=250,cAe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];NH.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:oAe,MAX_SAFE_BUILD_LENGTH:aAe,MAX_SAFE_INTEGER:iAe,RELEASE_TYPES:cAe,SEMVER_SPEC_VERSION:sAe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Wu=h((Mve,SH)=>{"use strict";var lAe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};SH.exports=lAe});var Al=h((hs,RH)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:pw,MAX_SAFE_BUILD_LENGTH:AAe,MAX_LENGTH:uAe}=Ju(),dAe=Wu();hs=RH.exports={};var mAe=hs.re=[],pAe=hs.safeRe=[],M=hs.src=[],hAe=hs.safeSrc=[],L=hs.t={},fAe=0,hw="[a-zA-Z0-9-]",gAe=[["\\s",1],["\\d",uAe],[hw,AAe]],yAe=t=>{for(let[e,r]of gAe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},re=(t,e,r)=>{let n=yAe(e),s=fAe++;dAe(t,s,e),L[t]=s,M[s]=e,hAe[s]=n,mAe[s]=new RegExp(e,r?"g":void 0),pAe[s]=new RegExp(n,r?"g":void 0)};re("NUMERICIDENTIFIER","0|[1-9]\\d*");re("NUMERICIDENTIFIERLOOSE","\\d+");re("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${hw}*`);re("MAINVERSION",`(${M[L.NUMERICIDENTIFIER]})\\.(${M[L.NUMERICIDENTIFIER]})\\.(${M[L.NUMERICIDENTIFIER]})`);re("MAINVERSIONLOOSE",`(${M[L.NUMERICIDENTIFIERLOOSE]})\\.(${M[L.NUMERICIDENTIFIERLOOSE]})\\.(${M[L.NUMERICIDENTIFIERLOOSE]})`);re("PRERELEASEIDENTIFIER",`(?:${M[L.NONNUMERICIDENTIFIER]}|${M[L.NUMERICIDENTIFIER]})`);re("PRERELEASEIDENTIFIERLOOSE",`(?:${M[L.NONNUMERICIDENTIFIER]}|${M[L.NUMERICIDENTIFIERLOOSE]})`);re("PRERELEASE",`(?:-(${M[L.PRERELEASEIDENTIFIER]}(?:\\.${M[L.PRERELEASEIDENTIFIER]})*))`);re("PRERELEASELOOSE",`(?:-?(${M[L.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${M[L.PRERELEASEIDENTIFIERLOOSE]})*))`);re("BUILDIDENTIFIER",`${hw}+`);re("BUILD",`(?:\\+(${M[L.BUILDIDENTIFIER]}(?:\\.${M[L.BUILDIDENTIFIER]})*))`);re("FULLPLAIN",`v?${M[L.MAINVERSION]}${M[L.PRERELEASE]}?${M[L.BUILD]}?`);re("FULL",`^${M[L.FULLPLAIN]}$`);re("LOOSEPLAIN",`[v=\\s]*${M[L.MAINVERSIONLOOSE]}${M[L.PRERELEASELOOSE]}?${M[L.BUILD]}?`);re("LOOSE",`^${M[L.LOOSEPLAIN]}$`);re("GTLT","((?:<|>)?=?)");re("XRANGEIDENTIFIERLOOSE",`${M[L.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);re("XRANGEIDENTIFIER",`${M[L.NUMERICIDENTIFIER]}|x|X|\\*`);re("XRANGEPLAIN",`[v=\\s]*(${M[L.XRANGEIDENTIFIER]})(?:\\.(${M[L.XRANGEIDENTIFIER]})(?:\\.(${M[L.XRANGEIDENTIFIER]})(?:${M[L.PRERELEASE]})?${M[L.BUILD]}?)?)?`);re("XRANGEPLAINLOOSE",`[v=\\s]*(${M[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${M[L.XRANGEIDENTIFIERLOOSE]})(?:\\.(${M[L.XRANGEIDENTIFIERLOOSE]})(?:${M[L.PRERELEASELOOSE]})?${M[L.BUILD]}?)?)?`);re("XRANGE",`^${M[L.GTLT]}\\s*${M[L.XRANGEPLAIN]}$`);re("XRANGELOOSE",`^${M[L.GTLT]}\\s*${M[L.XRANGEPLAINLOOSE]}$`);re("COERCEPLAIN",`(^|[^\\d])(\\d{1,${pw}})(?:\\.(\\d{1,${pw}}))?(?:\\.(\\d{1,${pw}}))?`);re("COERCE",`${M[L.COERCEPLAIN]}(?:$|[^\\d])`);re("COERCEFULL",M[L.COERCEPLAIN]+`(?:${M[L.PRERELEASE]})?(?:${M[L.BUILD]})?(?:$|[^\\d])`);re("COERCERTL",M[L.COERCE],!0);re("COERCERTLFULL",M[L.COERCEFULL],!0);re("LONETILDE","(?:~>?)");re("TILDETRIM",`(\\s*)${M[L.LONETILDE]}\\s+`,!0);hs.tildeTrimReplace="$1~";re("TILDE",`^${M[L.LONETILDE]}${M[L.XRANGEPLAIN]}$`);re("TILDELOOSE",`^${M[L.LONETILDE]}${M[L.XRANGEPLAINLOOSE]}$`);re("LONECARET","(?:\\^)");re("CARETTRIM",`(\\s*)${M[L.LONECARET]}\\s+`,!0);hs.caretTrimReplace="$1^";re("CARET",`^${M[L.LONECARET]}${M[L.XRANGEPLAIN]}$`);re("CARETLOOSE",`^${M[L.LONECARET]}${M[L.XRANGEPLAINLOOSE]}$`);re("COMPARATORLOOSE",`^${M[L.GTLT]}\\s*(${M[L.LOOSEPLAIN]})$|^$`);re("COMPARATOR",`^${M[L.GTLT]}\\s*(${M[L.FULLPLAIN]})$|^$`);re("COMPARATORTRIM",`(\\s*)${M[L.GTLT]}\\s*(${M[L.LOOSEPLAIN]}|${M[L.XRANGEPLAIN]})`,!0);hs.comparatorTrimReplace="$1$2$3";re("HYPHENRANGE",`^\\s*(${M[L.XRANGEPLAIN]})\\s+-\\s+(${M[L.XRANGEPLAIN]})\\s*$`);re("HYPHENRANGELOOSE",`^\\s*(${M[L.XRANGEPLAINLOOSE]})\\s+-\\s+(${M[L.XRANGEPLAINLOOSE]})\\s*$`);re("STAR","(<|>)?=?\\s*\\*");re("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");re("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var hf=h((Lve,PH)=>{"use strict";var EAe=Object.freeze({loose:!0}),CAe=Object.freeze({}),IAe=t=>t?typeof t!="object"?EAe:t:CAe;PH.exports=IAe});var fw=h((_ve,kH)=>{"use strict";var vH=/^[0-9]+$/,DH=(t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=vH.test(t),n=vH.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1},BAe=(t,e)=>DH(e,t);kH.exports={compareIdentifiers:DH,rcompareIdentifiers:BAe}});var qt=h((Fve,MH)=>{"use strict";var ff=Wu(),{MAX_LENGTH:TH,MAX_SAFE_INTEGER:gf}=Ju(),{safeRe:yf,t:Ef}=Al(),QAe=hf(),{compareIdentifiers:gw}=fw(),yw=class t{constructor(e,r){if(r=QAe(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>TH)throw new TypeError(`version is longer than ${TH} characters`);ff("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?yf[Ef.LOOSE]:yf[Ef.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>gf||this.major<0)throw new TypeError("Invalid major version");if(this.minor>gf||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>gf||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<gf)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(ff("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(ff("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 gw(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(ff("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 gw(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?yf[Ef.PRERELEASELOOSE]:yf[Ef.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]),gw(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}};MH.exports=yw});var fa=h((Uve,_H)=>{"use strict";var LH=qt(),xAe=(t,e,r=!1)=>{if(t instanceof LH)return t;try{return new LH(t,e)}catch(n){if(!r)return null;throw n}};_H.exports=xAe});var UH=h((Ove,FH)=>{"use strict";var wAe=fa(),bAe=(t,e)=>{let r=wAe(t,e);return r?r.version:null};FH.exports=bAe});var qH=h((qve,OH)=>{"use strict";var NAe=fa(),SAe=(t,e)=>{let r=NAe(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null};OH.exports=SAe});var GH=h((Hve,zH)=>{"use strict";var HH=qt(),RAe=(t,e,r,n,s)=>{typeof r=="string"&&(s=n,n=r,r=void 0);try{return new HH(t instanceof HH?t.version:t,r).inc(e,n,s).version}catch{return null}};zH.exports=RAe});var JH=h((zve,VH)=>{"use strict";var YH=fa(),PAe=(t,e)=>{let r=YH(t,null,!0),n=YH(e,null,!0),s=r.compare(n);if(s===0)return null;let i=s>0,o=i?r:n,a=i?n:r,c=!!o.prerelease.length;if(!!a.prerelease.length&&!c){if(!a.patch&&!a.minor)return"major";if(a.compareMain(o)===0)return a.minor&&!a.patch?"minor":"patch"}let A=c?"pre":"";return r.major!==n.major?A+"major":r.minor!==n.minor?A+"minor":r.patch!==n.patch?A+"patch":"prerelease"};VH.exports=PAe});var $H=h((Gve,WH)=>{"use strict";var vAe=qt(),DAe=(t,e)=>new vAe(t,e).major;WH.exports=DAe});var KH=h((Yve,jH)=>{"use strict";var kAe=qt(),TAe=(t,e)=>new kAe(t,e).minor;jH.exports=TAe});var ZH=h((Vve,XH)=>{"use strict";var MAe=qt(),LAe=(t,e)=>new MAe(t,e).patch;XH.exports=LAe});var tz=h((Jve,ez)=>{"use strict";var _Ae=fa(),FAe=(t,e)=>{let r=_Ae(t,e);return r&&r.prerelease.length?r.prerelease:null};ez.exports=FAe});var un=h((Wve,nz)=>{"use strict";var rz=qt(),UAe=(t,e,r)=>new rz(t,r).compare(new rz(e,r));nz.exports=UAe});var iz=h(($ve,sz)=>{"use strict";var OAe=un(),qAe=(t,e,r)=>OAe(e,t,r);sz.exports=qAe});var az=h((jve,oz)=>{"use strict";var HAe=un(),zAe=(t,e)=>HAe(t,e,!0);oz.exports=zAe});var Cf=h((Kve,lz)=>{"use strict";var cz=qt(),GAe=(t,e,r)=>{let n=new cz(t,r),s=new cz(e,r);return n.compare(s)||n.compareBuild(s)};lz.exports=GAe});var uz=h((Xve,Az)=>{"use strict";var YAe=Cf(),VAe=(t,e)=>t.sort((r,n)=>YAe(r,n,e));Az.exports=VAe});var mz=h((Zve,dz)=>{"use strict";var JAe=Cf(),WAe=(t,e)=>t.sort((r,n)=>JAe(n,r,e));dz.exports=WAe});var $u=h((eDe,pz)=>{"use strict";var $Ae=un(),jAe=(t,e,r)=>$Ae(t,e,r)>0;pz.exports=jAe});var If=h((tDe,hz)=>{"use strict";var KAe=un(),XAe=(t,e,r)=>KAe(t,e,r)<0;hz.exports=XAe});var Ew=h((rDe,fz)=>{"use strict";var ZAe=un(),eue=(t,e,r)=>ZAe(t,e,r)===0;fz.exports=eue});var Cw=h((nDe,gz)=>{"use strict";var tue=un(),rue=(t,e,r)=>tue(t,e,r)!==0;gz.exports=rue});var Bf=h((sDe,yz)=>{"use strict";var nue=un(),sue=(t,e,r)=>nue(t,e,r)>=0;yz.exports=sue});var Qf=h((iDe,Ez)=>{"use strict";var iue=un(),oue=(t,e,r)=>iue(t,e,r)<=0;Ez.exports=oue});var Iw=h((oDe,Cz)=>{"use strict";var aue=Ew(),cue=Cw(),lue=$u(),Aue=Bf(),uue=If(),due=Qf(),mue=(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 aue(t,r,n);case"!=":return cue(t,r,n);case">":return lue(t,r,n);case">=":return Aue(t,r,n);case"<":return uue(t,r,n);case"<=":return due(t,r,n);default:throw new TypeError(`Invalid operator: ${e}`)}};Cz.exports=mue});var Bz=h((aDe,Iz)=>{"use strict";var pue=qt(),hue=fa(),{safeRe:xf,t:wf}=Al(),fue=(t,e)=>{if(t instanceof pue)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?xf[wf.COERCEFULL]:xf[wf.COERCE]);else{let c=e.includePrerelease?xf[wf.COERCERTLFULL]:xf[wf.COERCERTL],l;for(;(l=c.exec(t))&&(!r||r.index+r[0].length!==t.length);)(!r||l.index+l[0].length!==r.index+r[0].length)&&(r=l),c.lastIndex=l.index+l[1].length+l[2].length;c.lastIndex=-1}if(r===null)return null;let n=r[2],s=r[3]||"0",i=r[4]||"0",o=e.includePrerelease&&r[5]?`-${r[5]}`:"",a=e.includePrerelease&&r[6]?`+${r[6]}`:"";return hue(`${n}.${s}.${i}${o}${a}`,e)};Iz.exports=fue});var xz=h((cDe,Qz)=>{"use strict";var Bw=class{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}};Qz.exports=Bw});var dn=h((lDe,Sz)=>{"use strict";var gue=/\s+/g,Qw=class t{constructor(e,r){if(r=Eue(r),e instanceof t)return e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease?e:new t(e.raw,r);if(e instanceof xw)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=e.trim().replace(gue," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(s=>!bz(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&&bue(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&&xue)|(this.options.loose&&wue))+":"+e,s=wz.get(n);if(s)return s;let i=this.options.loose,o=i?jt[Ht.HYPHENRANGELOOSE]:jt[Ht.HYPHENRANGE];e=e.replace(o,Lue(this.options.includePrerelease)),Te("hyphen replace",e),e=e.replace(jt[Ht.COMPARATORTRIM],Iue),Te("comparator trim",e),e=e.replace(jt[Ht.TILDETRIM],Bue),Te("tilde trim",e),e=e.replace(jt[Ht.CARETTRIM],Que),Te("caret trim",e);let a=e.split(" ").map(u=>Nue(u,this.options)).join(" ").split(/\s+/).map(u=>Mue(u,this.options));i&&(a=a.filter(u=>(Te("loose invalid filter",u,this.options),!!u.match(jt[Ht.COMPARATORLOOSE])))),Te("range list",a);let c=new Map,l=a.map(u=>new xw(u,this.options));for(let u of l){if(bz(u))return[u];c.set(u.value,u)}c.size>1&&c.has("")&&c.delete("");let A=[...c.values()];return wz.set(n,A),A}intersects(e,r){if(!(e instanceof t))throw new TypeError("a Range is required");return this.set.some(n=>Nz(n,r)&&e.set.some(s=>Nz(s,r)&&n.every(i=>s.every(o=>i.intersects(o,r)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new Cue(e,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(_ue(this.set[r],e,this.options))return!0;return!1}};Sz.exports=Qw;var yue=xz(),wz=new yue,Eue=hf(),xw=ju(),Te=Wu(),Cue=qt(),{safeRe:jt,t:Ht,comparatorTrimReplace:Iue,tildeTrimReplace:Bue,caretTrimReplace:Que}=Al(),{FLAG_INCLUDE_PRERELEASE:xue,FLAG_LOOSE:wue}=Ju(),bz=t=>t.value==="<0.0.0-0",bue=t=>t.value==="",Nz=(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},Nue=(t,e)=>(t=t.replace(jt[Ht.BUILD],""),Te("comp",t,e),t=Pue(t,e),Te("caret",t),t=Sue(t,e),Te("tildes",t),t=Due(t,e),Te("xrange",t),t=Tue(t,e),Te("stars",t),t),Kt=t=>!t||t.toLowerCase()==="x"||t==="*",Sue=(t,e)=>t.trim().split(/\s+/).map(r=>Rue(r,e)).join(" "),Rue=(t,e)=>{let r=e.loose?jt[Ht.TILDELOOSE]:jt[Ht.TILDE];return t.replace(r,(n,s,i,o,a)=>{Te("tilde",t,n,s,i,o,a);let c;return Kt(s)?c="":Kt(i)?c=`>=${s}.0.0 <${+s+1}.0.0-0`:Kt(o)?c=`>=${s}.${i}.0 <${s}.${+i+1}.0-0`:a?(Te("replaceTilde pr",a),c=`>=${s}.${i}.${o}-${a} <${s}.${+i+1}.0-0`):c=`>=${s}.${i}.${o} <${s}.${+i+1}.0-0`,Te("tilde return",c),c})},Pue=(t,e)=>t.trim().split(/\s+/).map(r=>vue(r,e)).join(" "),vue=(t,e)=>{Te("caret",t,e);let r=e.loose?jt[Ht.CARETLOOSE]:jt[Ht.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(s,i,o,a,c)=>{Te("caret",t,s,i,o,a,c);let l;return Kt(i)?l="":Kt(o)?l=`>=${i}.0.0${n} <${+i+1}.0.0-0`:Kt(a)?i==="0"?l=`>=${i}.${o}.0${n} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.0${n} <${+i+1}.0.0-0`:c?(Te("replaceCaret pr",c),i==="0"?o==="0"?l=`>=${i}.${o}.${a}-${c} <${i}.${o}.${+a+1}-0`:l=`>=${i}.${o}.${a}-${c} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.${a}-${c} <${+i+1}.0.0-0`):(Te("no pr"),i==="0"?o==="0"?l=`>=${i}.${o}.${a}${n} <${i}.${o}.${+a+1}-0`:l=`>=${i}.${o}.${a}${n} <${i}.${+o+1}.0-0`:l=`>=${i}.${o}.${a} <${+i+1}.0.0-0`),Te("caret return",l),l})},Due=(t,e)=>(Te("replaceXRanges",t,e),t.split(/\s+/).map(r=>kue(r,e)).join(" ")),kue=(t,e)=>{t=t.trim();let r=e.loose?jt[Ht.XRANGELOOSE]:jt[Ht.XRANGE];return t.replace(r,(n,s,i,o,a,c)=>{Te("xRange",t,n,s,i,o,a,c);let l=Kt(i),A=l||Kt(o),u=A||Kt(a),d=u;return s==="="&&d&&(s=""),c=e.includePrerelease?"-0":"",l?s===">"||s==="<"?n="<0.0.0-0":n="*":s&&d?(A&&(o=0),a=0,s===">"?(s=">=",A?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):s==="<="&&(s="<",A?i=+i+1:o=+o+1),s==="<"&&(c="-0"),n=`${s+i}.${o}.${a}${c}`):A?n=`>=${i}.0.0${c} <${+i+1}.0.0-0`:u&&(n=`>=${i}.${o}.0${c} <${i}.${+o+1}.0-0`),Te("xRange return",n),n})},Tue=(t,e)=>(Te("replaceStars",t,e),t.trim().replace(jt[Ht.STAR],"")),Mue=(t,e)=>(Te("replaceGTE0",t,e),t.trim().replace(jt[e.includePrerelease?Ht.GTE0PRE:Ht.GTE0],"")),Lue=t=>(e,r,n,s,i,o,a,c,l,A,u,d)=>(Kt(n)?r="":Kt(s)?r=`>=${n}.0.0${t?"-0":""}`:Kt(i)?r=`>=${n}.${s}.0${t?"-0":""}`:o?r=`>=${r}`:r=`>=${r}${t?"-0":""}`,Kt(l)?c="":Kt(A)?c=`<${+l+1}.0.0-0`:Kt(u)?c=`<${l}.${+A+1}.0-0`:d?c=`<=${l}.${A}.${u}-${d}`:t?c=`<${l}.${A}.${+u+1}-0`:c=`<=${c}`,`${r} ${c}`.trim()),_ue=(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!==xw.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}});var ju=h((ADe,Tz)=>{"use strict";var Ku=Symbol("SemVer ANY"),Nw=class t{static get ANY(){return Ku}constructor(e,r){if(r=Rz(r),e instanceof t){if(e.loose===!!r.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),bw("comparator",e,r),this.options=r,this.loose=!!r.loose,this.parse(e),this.semver===Ku?this.value="":this.value=this.operator+this.semver.version,bw("comp",this)}parse(e){let r=this.options.loose?Pz[vz.COMPARATORLOOSE]:Pz[vz.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 Dz(n[2],this.options.loose):this.semver=Ku}toString(){return this.value}test(e){if(bw("Comparator.test",e,this.options.loose),this.semver===Ku||e===Ku)return!0;if(typeof e=="string")try{e=new Dz(e,this.options)}catch{return!1}return ww(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 kz(e.value,r).test(this.value):e.operator===""?e.value===""?!0:new kz(this.value,r).test(e.semver):(r=Rz(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("=")||ww(this.semver,"<",e.semver,r)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||ww(this.semver,">",e.semver,r)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};Tz.exports=Nw;var Rz=hf(),{safeRe:Pz,t:vz}=Al(),ww=Iw(),bw=Wu(),Dz=qt(),kz=dn()});var Xu=h((uDe,Mz)=>{"use strict";var Fue=dn(),Uue=(t,e,r)=>{try{e=new Fue(e,r)}catch{return!1}return e.test(t)};Mz.exports=Uue});var _z=h((dDe,Lz)=>{"use strict";var Oue=dn(),que=(t,e)=>new Oue(t,e).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" "));Lz.exports=que});var Uz=h((mDe,Fz)=>{"use strict";var Hue=qt(),zue=dn(),Gue=(t,e,r)=>{let n=null,s=null,i=null;try{i=new zue(e,r)}catch{return null}return t.forEach(o=>{i.test(o)&&(!n||s.compare(o)===-1)&&(n=o,s=new Hue(n,r))}),n};Fz.exports=Gue});var qz=h((pDe,Oz)=>{"use strict";var Yue=qt(),Vue=dn(),Jue=(t,e,r)=>{let n=null,s=null,i=null;try{i=new Vue(e,r)}catch{return null}return t.forEach(o=>{i.test(o)&&(!n||s.compare(o)===1)&&(n=o,s=new Yue(n,r))}),n};Oz.exports=Jue});var Gz=h((hDe,zz)=>{"use strict";var Sw=qt(),Wue=dn(),Hz=$u(),$ue=(t,e)=>{t=new Wue(t,e);let r=new Sw("0.0.0");if(t.test(r)||(r=new Sw("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(o=>{let a=new Sw(o.semver.version);switch(o.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!i||Hz(a,i))&&(i=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${o.operator}`)}}),i&&(!r||Hz(r,i))&&(r=i)}return r&&t.test(r)?r:null};zz.exports=$ue});var Vz=h((fDe,Yz)=>{"use strict";var jue=dn(),Kue=(t,e)=>{try{return new jue(t,e).range||"*"}catch{return null}};Yz.exports=Kue});var bf=h((gDe,jz)=>{"use strict";var Xue=qt(),$z=ju(),{ANY:Zue}=$z,ede=dn(),tde=Xu(),Jz=$u(),Wz=If(),rde=Qf(),nde=Bf(),sde=(t,e,r,n)=>{t=new Xue(t,n),e=new ede(e,n);let s,i,o,a,c;switch(r){case">":s=Jz,i=rde,o=Wz,a=">",c=">=";break;case"<":s=Wz,i=nde,o=Jz,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(tde(t,e,n))return!1;for(let l=0;l<e.set.length;++l){let A=e.set[l],u=null,d=null;if(A.forEach(m=>{m.semver===Zue&&(m=new $z(">=0.0.0")),u=u||m,d=d||m,s(m.semver,u.semver,n)?u=m:o(m.semver,d.semver,n)&&(d=m)}),u.operator===a||u.operator===c||(!d.operator||d.operator===a)&&i(t,d.semver))return!1;if(d.operator===c&&o(t,d.semver))return!1}return!0};jz.exports=sde});var Xz=h((yDe,Kz)=>{"use strict";var ide=bf(),ode=(t,e,r)=>ide(t,e,">",r);Kz.exports=ode});var eG=h((EDe,Zz)=>{"use strict";var ade=bf(),cde=(t,e,r)=>ade(t,e,"<",r);Zz.exports=cde});var nG=h((CDe,rG)=>{"use strict";var tG=dn(),lde=(t,e,r)=>(t=new tG(t,r),e=new tG(e,r),t.intersects(e,r));rG.exports=lde});var iG=h((IDe,sG)=>{"use strict";var Ade=Xu(),ude=un();sG.exports=(t,e,r)=>{let n=[],s=null,i=null,o=t.sort((A,u)=>ude(A,u,r));for(let A of o)Ade(A,e,r)?(i=A,s||(s=A)):(i&&n.push([s,i]),i=null,s=null);s&&n.push([s,null]);let a=[];for(let[A,u]of n)A===u?a.push(A):!u&&A===o[0]?a.push("*"):u?A===o[0]?a.push(`<=${u}`):a.push(`${A} - ${u}`):a.push(`>=${A}`);let c=a.join(" || "),l=typeof e.raw=="string"?e.raw:String(e);return c.length<l.length?c:e}});var uG=h((BDe,AG)=>{"use strict";var oG=dn(),Pw=ju(),{ANY:Rw}=Pw,Zu=Xu(),vw=un(),dde=(t,e,r={})=>{if(t===e)return!0;t=new oG(t,r),e=new oG(e,r);let n=!1;e:for(let s of t.set){for(let i of e.set){let o=pde(s,i,r);if(n=n||o!==null,o)continue e}if(n)return!1}return!0},mde=[new Pw(">=0.0.0-0")],aG=[new Pw(">=0.0.0")],pde=(t,e,r)=>{if(t===e)return!0;if(t.length===1&&t[0].semver===Rw){if(e.length===1&&e[0].semver===Rw)return!0;r.includePrerelease?t=mde:t=aG}if(e.length===1&&e[0].semver===Rw){if(r.includePrerelease)return!0;e=aG}let n=new Set,s,i;for(let m of t)m.operator===">"||m.operator===">="?s=cG(s,m,r):m.operator==="<"||m.operator==="<="?i=lG(i,m,r):n.add(m.semver);if(n.size>1)return null;let o;if(s&&i){if(o=vw(s.semver,i.semver,r),o>0)return null;if(o===0&&(s.operator!==">="||i.operator!=="<="))return null}for(let m of n){if(s&&!Zu(m,String(s),r)||i&&!Zu(m,String(i),r))return null;for(let p of e)if(!Zu(m,String(p),r))return!1;return!0}let a,c,l,A,u=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,d=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1;u&&u.prerelease.length===1&&i.operator==="<"&&u.prerelease[0]===0&&(u=!1);for(let m of e){if(A=A||m.operator===">"||m.operator===">=",l=l||m.operator==="<"||m.operator==="<=",s){if(d&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===d.major&&m.semver.minor===d.minor&&m.semver.patch===d.patch&&(d=!1),m.operator===">"||m.operator===">="){if(a=cG(s,m,r),a===m&&a!==s)return!1}else if(s.operator===">="&&!Zu(s.semver,String(m),r))return!1}if(i){if(u&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===u.major&&m.semver.minor===u.minor&&m.semver.patch===u.patch&&(u=!1),m.operator==="<"||m.operator==="<="){if(c=lG(i,m,r),c===m&&c!==i)return!1}else if(i.operator==="<="&&!Zu(i.semver,String(m),r))return!1}if(!m.operator&&(i||s)&&o!==0)return!1}return!(s&&l&&!i&&o!==0||i&&A&&!s&&o!==0||d||u)},cG=(t,e,r)=>{if(!t)return e;let n=vw(t.semver,e.semver,r);return n>0?t:n<0||e.operator===">"&&t.operator===">="?e:t},lG=(t,e,r)=>{if(!t)return e;let n=vw(t.semver,e.semver,r);return n<0?t:n>0||e.operator==="<"&&t.operator==="<="?e:t};AG.exports=dde});var hG=h((QDe,pG)=>{"use strict";var Dw=Al(),dG=Ju(),hde=qt(),mG=fw(),fde=fa(),gde=UH(),yde=qH(),Ede=GH(),Cde=JH(),Ide=$H(),Bde=KH(),Qde=ZH(),xde=tz(),wde=un(),bde=iz(),Nde=az(),Sde=Cf(),Rde=uz(),Pde=mz(),vde=$u(),Dde=If(),kde=Ew(),Tde=Cw(),Mde=Bf(),Lde=Qf(),_de=Iw(),Fde=Bz(),Ude=ju(),Ode=dn(),qde=Xu(),Hde=_z(),zde=Uz(),Gde=qz(),Yde=Gz(),Vde=Vz(),Jde=bf(),Wde=Xz(),$de=eG(),jde=nG(),Kde=iG(),Xde=uG();pG.exports={parse:fde,valid:gde,clean:yde,inc:Ede,diff:Cde,major:Ide,minor:Bde,patch:Qde,prerelease:xde,compare:wde,rcompare:bde,compareLoose:Nde,compareBuild:Sde,sort:Rde,rsort:Pde,gt:vde,lt:Dde,eq:kde,neq:Tde,gte:Mde,lte:Lde,cmp:_de,coerce:Fde,Comparator:Ude,Range:Ode,satisfies:qde,toComparators:Hde,maxSatisfying:zde,minSatisfying:Gde,minVersion:Yde,validRange:Vde,outside:Jde,gtr:Wde,ltr:$de,intersects:jde,simplifyRange:Kde,subset:Xde,SemVer:hde,re:Dw.re,src:Dw.src,tokens:Dw.t,SEMVER_SPEC_VERSION:dG.SEMVER_SPEC_VERSION,RELEASE_TYPES:dG.RELEASE_TYPES,compareIdentifiers:mG.compareIdentifiers,rcompareIdentifiers:mG.rcompareIdentifiers}});var nY=h(($ke,rY)=>{var gl=1e3,yl=gl*60,El=yl*60,Qa=El*24,Tme=Qa*7,Mme=Qa*365.25;rY.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return Lme(t);if(r==="number"&&isFinite(t))return e.long?Fme(t):_me(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Lme(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*Mme;case"weeks":case"week":case"w":return r*Tme;case"days":case"day":case"d":return r*Qa;case"hours":case"hour":case"hrs":case"hr":case"h":return r*El;case"minutes":case"minute":case"mins":case"min":case"m":return r*yl;case"seconds":case"second":case"secs":case"sec":case"s":return r*gl;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function _me(t){var e=Math.abs(t);return e>=Qa?Math.round(t/Qa)+"d":e>=El?Math.round(t/El)+"h":e>=yl?Math.round(t/yl)+"m":e>=gl?Math.round(t/gl)+"s":t+"ms"}function Fme(t){var e=Math.abs(t);return e>=Qa?Kf(t,e,Qa,"day"):e>=El?Kf(t,e,El,"hour"):e>=yl?Kf(t,e,yl,"minute"):e>=gl?Kf(t,e,gl,"second"):t+" ms"}function Kf(t,e,r,n){var s=e>=r*1.5;return Math.round(t/r)+" "+n+(s?"s":"")}});var nb=h((jke,sY)=>{function Ume(t){r.debug=r,r.default=r,r.coerce=c,r.disable=i,r.enable=s,r.enabled=o,r.humanize=nY(),r.destroy=l,Object.keys(t).forEach(A=>{r[A]=t[A]}),r.names=[],r.skips=[],r.formatters={};function e(A){let u=0;for(let d=0;d<A.length;d++)u=(u<<5)-u+A.charCodeAt(d),u|=0;return r.colors[Math.abs(u)%r.colors.length]}r.selectColor=e;function r(A){let u,d=null,m,p;function f(...E){if(!f.enabled)return;let g=f,y=Number(new Date),C=y-(u||y);g.diff=C,g.prev=u,g.curr=y,u=y,E[0]=r.coerce(E[0]),typeof E[0]!="string"&&E.unshift("%O");let I=0;E[0]=E[0].replace(/%([a-zA-Z%])/g,(D,_)=>{if(D==="%%")return"%";I++;let ae=r.formatters[_];if(typeof ae=="function"){let ge=E[I];D=ae.call(g,ge),E.splice(I,1),I--}return D}),r.formatArgs.call(g,E),(g.log||r.log).apply(g,E)}return f.namespace=A,f.useColors=r.useColors(),f.color=r.selectColor(A),f.extend=n,f.destroy=r.destroy,Object.defineProperty(f,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(m!==r.namespaces&&(m=r.namespaces,p=r.enabled(A)),p),set:E=>{d=E}}),typeof r.init=="function"&&r.init(f),f}function n(A,u){let d=r(this.namespace+(typeof u>"u"?":":u)+A);return d.log=this.log,d}function s(A){r.save(A),r.namespaces=A,r.names=[],r.skips=[];let u,d=(typeof A=="string"?A:"").split(/[\s,]+/),m=d.length;for(u=0;u<m;u++)d[u]&&(A=d[u].replace(/\*/g,".*?"),A[0]==="-"?r.skips.push(new RegExp("^"+A.slice(1)+"$")):r.names.push(new RegExp("^"+A+"$")))}function i(){let A=[...r.names.map(a),...r.skips.map(a).map(u=>"-"+u)].join(",");return r.enable(""),A}function o(A){if(A[A.length-1]==="*")return!0;let u,d;for(u=0,d=r.skips.length;u<d;u++)if(r.skips[u].test(A))return!1;for(u=0,d=r.names.length;u<d;u++)if(r.names[u].test(A))return!0;return!1}function a(A){return A.toString().substring(2,A.toString().length-2).replace(/\.\*\?$/,"*")}function c(A){return A instanceof Error?A.stack||A.message:A}function l(){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 r.enable(r.load()),r}sY.exports=Ume});var iY=h((Or,Xf)=>{Or.formatArgs=qme;Or.save=Hme;Or.load=zme;Or.useColors=Ome;Or.storage=Gme();Or.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`."))}})();Or.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 Ome(){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+)/)}function qme(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+Xf.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,s=>{s!=="%%"&&(r++,s==="%c"&&(n=r))}),t.splice(n,0,e)}Or.log=console.debug||console.log||(()=>{});function Hme(t){try{t?Or.storage.setItem("debug",t):Or.storage.removeItem("debug")}catch{}}function zme(){let t;try{t=Or.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}function Gme(){try{return localStorage}catch{}}Xf.exports=nb()(Or);var{formatters:Yme}=Xf.exports;Yme.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var aY=h((Kke,oY)=>{"use strict";oY.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 AY=h((Xke,lY)=>{"use strict";var Vme=require("os"),cY=require("tty"),pn=aY(),{env:wt}=process,Eo;pn("no-color")||pn("no-colors")||pn("color=false")||pn("color=never")?Eo=0:(pn("color")||pn("colors")||pn("color=true")||pn("color=always"))&&(Eo=1);"FORCE_COLOR"in wt&&(wt.FORCE_COLOR==="true"?Eo=1:wt.FORCE_COLOR==="false"?Eo=0:Eo=wt.FORCE_COLOR.length===0?1:Math.min(parseInt(wt.FORCE_COLOR,10),3));function sb(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function ib(t,e){if(Eo===0)return 0;if(pn("color=16m")||pn("color=full")||pn("color=truecolor"))return 3;if(pn("color=256"))return 2;if(t&&!e&&Eo===void 0)return 0;let r=Eo||0;if(wt.TERM==="dumb")return r;if(process.platform==="win32"){let n=Vme.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}function Jme(t){let e=ib(t,t&&t.isTTY);return sb(e)}lY.exports={supportsColor:Jme,stdout:sb(ib(!0,cY.isatty(1))),stderr:sb(ib(!0,cY.isatty(2)))}});var dY=h((kt,eg)=>{var Wme=require("tty"),Zf=require("util");kt.init=tpe;kt.log=Xme;kt.formatArgs=jme;kt.save=Zme;kt.load=epe;kt.useColors=$me;kt.destroy=Zf.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");kt.colors=[6,2,3,4,5,1];try{let t=AY();t&&(t.stderr||t).level>=2&&(kt.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}kt.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(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 $me(){return"colors"in kt.inspectOpts?!!kt.inspectOpts.colors:Wme.isatty(process.stderr.fd)}function jme(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+"+eg.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=Kme()+e+" "+t[0]}function Kme(){return kt.inspectOpts.hideDate?"":new Date().toISOString()+" "}function Xme(...t){return process.stderr.write(Zf.format(...t)+`
|
|
`)}function Zme(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function epe(){return process.env.DEBUG}function tpe(t){t.inspectOpts={};let e=Object.keys(kt.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=kt.inspectOpts[e[r]]}eg.exports=nb()(kt);var{formatters:uY}=eg.exports;uY.o=function(t){return this.inspectOpts.colors=this.useColors,Zf.inspect(t,this.inspectOpts).split(`
|
|
`).map(e=>e.trim()).join(" ")};uY.O=function(t){return this.inspectOpts.colors=this.useColors,Zf.inspect(t,this.inspectOpts)}});var tg=h((Zke,ob)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?ob.exports=iY():ob.exports=dY()});var hY=h(pr=>{"use strict";var rpe=pr&&pr.__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:function(){return e[r]}}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),npe=pr&&pr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),mY=pr&&pr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&rpe(e,t,r);return npe(e,t),e};Object.defineProperty(pr,"__esModule",{value:!0});pr.req=pr.json=pr.toBuffer=void 0;var spe=mY(require("http")),ipe=mY(require("https"));async function pY(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}pr.toBuffer=pY;async function ope(t){let r=(await pY(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let s=n;throw s.message+=` (input: ${r})`,s}}pr.json=ope;function ape(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?ipe:spe).request(t,e),s=new Promise((i,o)=>{n.once("response",i).once("error",o).end()});return n.then=s.then.bind(s),n}pr.req=ape});var EY=h(qr=>{"use strict";var gY=qr&&qr.__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:function(){return e[r]}}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),cpe=qr&&qr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),yY=qr&&qr.__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)&&gY(e,t,r);return cpe(e,t),e},lpe=qr&&qr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&gY(e,t,r)};Object.defineProperty(qr,"__esModule",{value:!0});qr.Agent=void 0;var Ape=yY(require("net")),fY=yY(require("http")),upe=require("https");lpe(hY(),qr);var Es=Symbol("AgentBaseInternalState"),ab=class extends fY.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 Ape.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)?upe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let s={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(s),o=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,s)).then(a=>{if(this.decrementSockets(i,o),a instanceof fY.Agent)try{return a.addRequest(e,s)}catch(c){return n(c)}this[Es].currentSocket=a,super.createSocket(e,r,n)},a=>{this.decrementSockets(i,o),n(a)})}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)}};qr.Agent=ab});var CY=h(Cl=>{"use strict";var dpe=Cl&&Cl.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Cl,"__esModule",{value:!0});Cl.parseProxyResponse=void 0;var mpe=dpe(tg()),rg=(0,mpe.default)("https-proxy-agent:parse-proxy-response");function ppe(t){return new Promise((e,r)=>{let n=0,s=[];function i(){let A=t.read();A?l(A):t.once("readable",i)}function o(){t.removeListener("end",a),t.removeListener("error",c),t.removeListener("readable",i)}function a(){o(),rg("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}function c(A){o(),rg("onerror %o",A),r(A)}function l(A){s.push(A),n+=A.length;let u=Buffer.concat(s,n),d=u.indexOf(`\r
|
|
\r
|
|
`);if(d===-1){rg("have not received end of HTTP headers yet..."),i();return}let m=u.slice(0,d).toString("ascii").split(`\r
|
|
`),p=m.shift();if(!p)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let f=p.split(" "),E=+f[1],g=f.slice(2).join(" "),y={};for(let C of m){if(!C)continue;let I=C.indexOf(":");if(I===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${C}"`));let w=C.slice(0,I).toLowerCase(),D=C.slice(I+1).trimStart(),_=y[w];typeof _=="string"?y[w]=[_,D]:Array.isArray(_)?_.push(D):y[w]=D}rg("got proxy server response: %o %o",p,y),o(),e({connect:{statusCode:E,statusText:g,headers:y},buffered:u})}t.on("error",c),t.on("end",a),i()})}Cl.parseProxyResponse=ppe});var bY=h(hn=>{"use strict";var hpe=hn&&hn.__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:function(){return e[r]}}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),fpe=hn&&hn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),xY=hn&&hn.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&hpe(e,t,r);return fpe(e,t),e},wY=hn&&hn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(hn,"__esModule",{value:!0});hn.HttpsProxyAgent=void 0;var ng=xY(require("net")),IY=xY(require("tls")),gpe=wY(require("assert")),ype=wY(tg()),Epe=EY(),Cpe=require("url"),Ipe=CY(),Ad=(0,ype.default)("https-proxy-agent"),BY=t=>t.servername===void 0&&t.host&&!ng.isIP(t.host)?{...t,servername:t.host}:t,sg=class extends Epe.Agent{constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new Cpe.URL(e):e,this.proxyHeaders=r?.headers??{},Ad("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?QY(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:"?(Ad("Creating `tls.Socket`: %o",this.connectOpts),s=IY.connect(BY(this.connectOpts))):(Ad("Creating `net.Socket`: %o",this.connectOpts),s=ng.connect(this.connectOpts));let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},o=ng.isIPv6(r.host)?`[${r.host}]`:r.host,a=`CONNECT ${o}:${r.port} HTTP/1.1\r
|
|
`;if(n.username||n.password){let d=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;i["Proxy-Authorization"]=`Basic ${Buffer.from(d).toString("base64")}`}i.Host=`${o}:${r.port}`,i["Proxy-Connection"]||(i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let d of Object.keys(i))a+=`${d}: ${i[d]}\r
|
|
`;let c=(0,Ipe.parseProxyResponse)(s);s.write(`${a}\r
|
|
`);let{connect:l,buffered:A}=await c;if(e.emit("proxyConnect",l),this.emit("proxyConnect",l,e),l.statusCode===200)return e.once("socket",Bpe),r.secureEndpoint?(Ad("Upgrading socket connection to TLS"),IY.connect({...QY(BY(r),"host","path","port"),socket:s})):s;s.destroy();let u=new ng.Socket({writable:!1});return u.readable=!0,e.once("socket",d=>{Ad("Replaying proxy buffer for failed request"),(0,gpe.default)(d.listenerCount("data")>0),d.push(A),d.push(null)}),u}};sg.protocols=["http","https"];hn.HttpsProxyAgent=sg;function Bpe(t){t.resume()}function QY(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}});var RY=h(hr=>{"use strict";var Qpe=hr&&hr.__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:function(){return e[r]}}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),xpe=hr&&hr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),NY=hr&&hr.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&Qpe(e,t,r);return xpe(e,t),e};Object.defineProperty(hr,"__esModule",{value:!0});hr.req=hr.json=hr.toBuffer=void 0;var wpe=NY(require("http")),bpe=NY(require("https"));async function SY(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}hr.toBuffer=SY;async function Npe(t){let r=(await SY(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let s=n;throw s.message+=` (input: ${r})`,s}}hr.json=Npe;function Spe(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?bpe:wpe).request(t,e),s=new Promise((i,o)=>{n.once("response",i).once("error",o).end()});return n.then=s.then.bind(s),n}hr.req=Spe});var kY=h(Hr=>{"use strict";var vY=Hr&&Hr.__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:function(){return e[r]}}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Rpe=Hr&&Hr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),DY=Hr&&Hr.__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)&&vY(e,t,r);return Rpe(e,t),e},Ppe=Hr&&Hr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&vY(e,t,r)};Object.defineProperty(Hr,"__esModule",{value:!0});Hr.Agent=void 0;var vpe=DY(require("net")),PY=DY(require("http")),Dpe=require("https");Ppe(RY(),Hr);var Cs=Symbol("AgentBaseInternalState"),cb=class extends PY.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 vpe.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))?Dpe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let s={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(s),o=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,s)).then(a=>{if(this.decrementSockets(i,o),a instanceof PY.Agent)return a.addRequest(e,s);this[Cs].currentSocket=a,super.createSocket(e,r,n)},a=>{this.decrementSockets(i,o),n(a)})}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)}};Hr.Agent=cb});var LY=h(fn=>{"use strict";var kpe=fn&&fn.__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:function(){return e[r]}}),Object.defineProperty(t,n,s)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),Tpe=fn&&fn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),MY=fn&&fn.__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)&&kpe(e,t,r);return Tpe(e,t),e},Mpe=fn&&fn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(fn,"__esModule",{value:!0});fn.HttpProxyAgent=void 0;var Lpe=MY(require("net")),_pe=MY(require("tls")),Fpe=Mpe(tg()),Upe=require("events"),Ope=kY(),TY=require("url"),Il=(0,Fpe.default)("http-proxy-agent"),ig=class extends Ope.Agent{constructor(e,r){super(r),this.proxy=typeof e=="string"?new TY.URL(e):e,this.proxyHeaders=r?.headers??{},Il("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?qpe(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",o=`${s}//${i}`,a=new TY.URL(e.path,o);r.port!==80&&(a.port=String(r.port)),e.path=String(a);let c=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(n.username||n.password){let l=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;c["Proxy-Authorization"]=`Basic ${Buffer.from(l).toString("base64")}`}c["Proxy-Connection"]||(c["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let l of Object.keys(c)){let A=c[l];A&&e.setHeader(l,A)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let n,s;Il("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(Il("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),Il("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(Il("Creating `tls.Socket`: %o",this.connectOpts),i=_pe.connect(this.connectOpts)):(Il("Creating `net.Socket`: %o",this.connectOpts),i=Lpe.connect(this.connectOpts)),await(0,Upe.once)(i,"connect"),i}};ig.protocols=["http","https"];fn.HttpProxyAgent=ig;function qpe(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}});var sV=h(Eg=>{"use strict";Object.defineProperty(Eg,"__esModule",{value:!0});Eg.state=void 0;Eg.state={instrumenterImplementation:void 0}});var IV=h(xg=>{"use strict";Object.defineProperty(xg,"__esModule",{value:!0});xg.state=void 0;xg.state={operationRequestMap:new WeakMap}});var Z3=h(Ul=>{"use strict";Object.defineProperty(Ul,"__esModule",{value:!0});var aCe=require("os"),cCe=require("util");function lCe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var ACe=lCe(cCe);function uCe(t,...e){process.stderr.write(`${ACe.default.format(t,...e)}${aCe.EOL}`)}var z3=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,Y3,OR=[],qR=[],zy=[];z3&&HR(z3);var V3=Object.assign(t=>J3(t),{enable:HR,enabled:zR,disable:dCe,log:uCe});function HR(t){Y3=t,OR=[],qR=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?qR.push(new RegExp(`^${n.substr(1)}$`)):OR.push(new RegExp(`^${n}$`));for(let n of zy)n.enabled=zR(n.namespace)}function zR(t){if(t.endsWith("*"))return!0;for(let e of qR)if(e.test(t))return!1;for(let e of OR)if(e.test(t))return!0;return!1}function dCe(){let t=Y3||"";return HR(""),t}function J3(t){let e=Object.assign(r,{enabled:zR(t),destroy:mCe,log:V3.log,namespace:t,extend:pCe});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return zy.push(e),e}function mCe(){let t=zy.indexOf(this);return t>=0?(zy.splice(t,1),!0):!1}function pCe(t){let e=J3(`${this.namespace}:${t}`);return e.log=this.log,e}var Kd=V3,W3=new Set,qy=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,Gy,Yy=Kd("azure");Yy.log=(...t)=>{Kd.log(...t)};var GR=["verbose","info","warning","error"];qy&&(X3(qy)?$3(qy):console.error(`AZURE_LOG_LEVEL set to unknown log level '${qy}'; logging is not enabled. Acceptable values: ${GR.join(", ")}.`));function $3(t){if(t&&!X3(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${GR.join(",")}`);Gy=t;let e=[];for(let r of W3)K3(r)&&e.push(r.namespace);Kd.enable(e.join(","))}function hCe(){return Gy}var G3={verbose:400,info:300,warning:200,error:100};function fCe(t){let e=Yy.extend(t);return j3(Yy,e),{error:Hy(e,"error"),warning:Hy(e,"warning"),info:Hy(e,"info"),verbose:Hy(e,"verbose")}}function j3(t,e){e.log=(...r)=>{t.log(...r)}}function Hy(t,e){let r=Object.assign(t.extend(e),{level:e});if(j3(t,r),K3(r)){let n=Kd.disable();Kd.enable(n+","+r.namespace)}return W3.add(r),r}function K3(t){return!!(Gy&&G3[t.level]<=G3[Gy])}function X3(t){return GR.includes(t)}Ul.AzureLogger=Yy;Ul.createClientLogger=fCe;Ul.getLogLevel=hCe;Ul.setLogLevel=$3});var JR=h(Zd=>{"use strict";Object.defineProperty(Zd,"__esModule",{value:!0});var Ol=new WeakMap,Vy=new WeakMap,Xd=class t{constructor(){this.onabort=null,Ol.set(this,[]),Vy.set(this,!1)}get aborted(){if(!Vy.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return Vy.get(this)}static get none(){return new t}addEventListener(e,r){if(!Ol.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");Ol.get(this).push(r)}removeEventListener(e,r){if(!Ol.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=Ol.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 e4(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=Ol.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),Vy.set(t,!0)}var YR=class extends Error{constructor(e){super(e),this.name="AbortError"}},VR=class{constructor(e){if(this._signal=new Xd,!!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(){e4(this._signal)}static timeout(e){let r=new Xd,n=setTimeout(e4,e,r);return typeof n.unref=="function"&&n.unref(),r}};Zd.AbortController=VR;Zd.AbortError=YR;Zd.AbortSignal=Xd});var i4=h(Ke=>{"use strict";Object.defineProperty(Ke,"__esModule",{value:!0});var gCe=JR(),eP=require("crypto");function t4(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:s}=e??{};return new Promise((i,o)=>{function a(){o(new gCe.AbortError(s??"The operation was aborted."))}function c(){n?.removeEventListener("abort",l)}function l(){r?.(),c(),a()}if(n?.aborted)return a();try{t(A=>{c(),i(A)},A=>{c(),o(A)})}catch(A){o(A)}n?.addEventListener("abort",l)})}var yCe="The delay was aborted.";function ECe(t,e){let r,{abortSignal:n,abortErrorMsg:s}=e??{};return t4(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:n,abortErrorMsg:s??yCe})}function CCe(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}function r4(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}function n4(t){if(r4(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}function ICe(t){if(n4(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}`}}async function BCe(t,e,r){let n=Buffer.from(t,"base64");return eP.createHmac("sha256",n).update(e).digest(r)}async function QCe(t,e){return eP.createHash("sha256").update(t).digest(e)}function tP(t){return typeof t<"u"&&t!==null}function xCe(t,e){if(!tP(t)||typeof t!="object")return!1;for(let r of e)if(!s4(t,r))return!1;return!0}function s4(t,e){return tP(t)&&typeof t=="object"&&e in t}function wCe(){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}var WR,ZR=typeof((WR=globalThis?.crypto)===null||WR===void 0?void 0:WR.randomUUID)=="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):eP.randomUUID;ZR||(ZR=wCe);function bCe(){return ZR()}var $R,jR,KR,XR,NCe=typeof window<"u"&&typeof window.document<"u",SCe=typeof self=="object"&&typeof self?.importScripts=="function"&&((($R=self.constructor)===null||$R===void 0?void 0:$R.name)==="DedicatedWorkerGlobalScope"||((jR=self.constructor)===null||jR===void 0?void 0:jR.name)==="ServiceWorkerGlobalScope"||((KR=self.constructor)===null||KR===void 0?void 0:KR.name)==="SharedWorkerGlobalScope"),RCe=typeof process<"u"&&!!process.version&&!!(!((XR=process.versions)===null||XR===void 0)&&XR.node),PCe=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",vCe=typeof Bun<"u"&&typeof Bun.version<"u",DCe=typeof navigator<"u"&&navigator?.product==="ReactNative";function kCe(t,e){switch(e){case"utf-8":return _Ce(t);case"base64":return MCe(t);case"base64url":return LCe(t)}}function TCe(t,e){switch(e){case"utf-8":return FCe(t);case"base64":return UCe(t);case"base64url":return OCe(t)}}function MCe(t){return Buffer.from(t).toString("base64")}function LCe(t){return Buffer.from(t).toString("base64url")}function _Ce(t){return Buffer.from(t).toString("utf-8")}function FCe(t){return Buffer.from(t)}function UCe(t){return Buffer.from(t,"base64")}function OCe(t){return Buffer.from(t,"base64url")}Ke.computeSha256Hash=QCe;Ke.computeSha256Hmac=BCe;Ke.createAbortablePromise=t4;Ke.delay=ECe;Ke.getErrorMessage=ICe;Ke.getRandomIntegerInclusive=CCe;Ke.isBrowser=NCe;Ke.isBun=vCe;Ke.isDefined=tP;Ke.isDeno=PCe;Ke.isError=n4;Ke.isNode=RCe;Ke.isObject=r4;Ke.isObjectWithProperties=xCe;Ke.isReactNative=DCe;Ke.isWebWorker=SCe;Ke.objectHasProperty=s4;Ke.randomUUID=bCe;Ke.stringToUint8Array=TCe;Ke.uint8ArrayToString=kCe});var b4=h(Ha=>{"use strict";Object.defineProperty(Ha,"__esModule",{value:!0});var qCe=Z3(),o4=JR(),HCe=i4(),qa=qCe.createClientLogger("core-lro"),c4=2e3,l4=["succeeded","canceled","failed"];function A4(t){try{return JSON.parse(t).state}catch{throw new Error(`Unable to deserialize input state: ${t}`)}}function a4(t){let{state:e,stateProxy:r,isOperationError:n}=t;return s=>{throw n(s)&&(r.setError(e,s),r.setFailed(e)),s}}function zCe(t,e){let r=t;return r.slice(-1)!=="."&&(r=r+"."),r+" "+e}function GCe(t){let e=t.message,r=t.code,n=t;for(;n.innererror;)n=n.innererror,r=n.code,e=zCe(e,n.message);return{code:r,message:e}}function u4(t){let{state:e,stateProxy:r,status:n,isDone:s,processResult:i,getError:o,response:a,setErrorAsResult:c}=t;switch(n){case"succeeded":{r.setSucceeded(e);break}case"failed":{let l=o?.(a),A="";if(l){let{code:d,message:m}=GCe(l);A=`. ${d}. ${m}`}let u=`The long-running operation has failed${A}`;r.setError(e,new Error(u)),r.setFailed(e),qa.warning(u);break}case"canceled":{r.setCanceled(e);break}}(s?.(a,e)||s===void 0&&["succeeded","canceled"].concat(c?[]:["failed"]).includes(n))&&r.setResult(e,YCe({response:a,state:e,processResult:i}))}function YCe(t){let{processResult:e,response:r,state:n}=t;return e?e(r,n):r}async function d4(t){let{init:e,stateProxy:r,processResult:n,getOperationStatus:s,withOperationLocation:i,setErrorAsResult:o}=t,{operationLocation:a,resourceLocation:c,metadata:l,response:A}=await e();a&&i?.(a,!1);let u={metadata:l,operationLocation:a,resourceLocation:c};qa.verbose("LRO: Operation description:",u);let d=r.initState(u),m=s({response:A,state:d,operationLocation:a});return u4({state:d,status:m,stateProxy:r,response:A,setErrorAsResult:o,processResult:n}),d}async function VCe(t){let{poll:e,state:r,stateProxy:n,operationLocation:s,getOperationStatus:i,getResourceLocation:o,isOperationError:a,options:c}=t,l=await e(s,c).catch(a4({state:r,stateProxy:n,isOperationError:a})),A=i(l,r);if(qa.verbose(`LRO: Status:
|
|
Polling from: ${r.config.operationLocation}
|
|
Operation status: ${A}
|
|
Polling status: ${l4.includes(A)?"Stopped":"Running"}`),A==="succeeded"){let u=o(l,r);if(u!==void 0)return{response:await e(u).catch(a4({state:r,stateProxy:n,isOperationError:a})),status:A}}return{response:l,status:A}}async function m4(t){let{poll:e,state:r,stateProxy:n,options:s,getOperationStatus:i,getResourceLocation:o,getOperationLocation:a,isOperationError:c,withOperationLocation:l,getPollingInterval:A,processResult:u,getError:d,updateState:m,setDelay:p,isDone:f,setErrorAsResult:E}=t,{operationLocation:g}=r.config;if(g!==void 0){let{response:y,status:C}=await VCe({poll:e,getOperationStatus:i,state:r,stateProxy:n,operationLocation:g,getResourceLocation:o,isOperationError:c,options:s});if(u4({status:C,response:y,state:r,stateProxy:n,isDone:f,processResult:u,getError:d,setErrorAsResult:E}),!l4.includes(C)){let I=A?.(y);I&&p(I);let w=a?.(y,r);if(w!==void 0){let D=g!==w;r.config.operationLocation=w,l?.(w,D)}else l?.(g,!1)}m?.(r,y)}}function p4(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}function h4(t){return t.headers.location}function f4(t){return t.headers["operation-location"]}function g4(t){return t.headers["azure-asyncoperation"]}function JCe(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=o())!==null&&e!==void 0?e:s;default:return o()}function o(){switch(i){case"azure-async-operation":return;case"original-uri":return s;default:return r}}}function y4(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:s}=t,i=f4(e),o=g4(e),a=p4({operationLocation:i,azureAsyncOperation:o}),c=h4(e),l=r?.toLocaleUpperCase();return a!==void 0?{mode:"OperationLocation",operationLocation:a,resourceLocation:JCe({requestMethod:l,location:c,requestPath:n,resourceLocationConfig:s})}:c!==void 0?{mode:"ResourceLocation",operationLocation:c}:l==="PUT"&&n?{mode:"Body",operationLocation:n}:void 0}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 sP(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 qa.verbose(`LRO: unrecognized operation status: ${e}`),e}}function WCe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return E4({status:r,statusCode:t.statusCode})}function $Ce(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})}function sP(t){return t===202?"running":t<300?"succeeded":"failed"}function C4({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?jCe(new Date(e)):r*1e3}}function I4(t){let e=t.flatResponse.error;if(!e){qa.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){qa.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}function jCe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}function B4(t){let{response:e,state:r,operationLocation:n}=t;function s(){var o;switch((o=r.config.metadata)===null||o===void 0?void 0:o.mode){case void 0:return sP(e.rawResponse.statusCode);case"Body":return iP(e,r);default:return"running"}}let i=s();return i==="running"&&n===void 0?"succeeded":i}async function KCe(t){let{stateProxy:e,resourceLocationConfig:r,processResult:n,lro:s,setErrorAsResult:i}=t;return d4({init:async()=>{let o=await s.sendInitialRequest(),a=y4({rawResponse:o.rawResponse,requestPath:s.requestPath,requestMethod:s.requestMethod,resourceLocationConfig:r});return Object.assign({response:o,operationLocation:a?.operationLocation,resourceLocation:a?.resourceLocation},a?.mode?{metadata:{mode:a.mode}}:{})},stateProxy:e,processResult:n?({flatResponse:o},a)=>n(o,a):({flatResponse:o})=>o,getOperationStatus:B4,setErrorAsResult:i})}function Q4({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r===void 0?void 0:r.mode){case"OperationLocation":return p4({operationLocation:f4(t),azureAsyncOperation:g4(t)});case"ResourceLocation":return h4(t);default:return}}function iP({rawResponse:t},e){var r;let n=(r=e.config.metadata)===null||r===void 0?void 0:r.mode;switch(n){case"OperationLocation":return WCe(t);case"ResourceLocation":return sP(t.statusCode);case"Body":return $Ce(t);default:throw new Error(`Internal error: Unexpected operation mode: ${n}`)}}function x4({flatResponse:t},e){if(typeof t=="object"){let r=t.resourceLocation;r!==void 0&&(e.config.resourceLocation=r)}return e.config.resourceLocation}function w4(t){return t.name==="RestError"}async function XCe(t){let{lro:e,stateProxy:r,options:n,processResult:s,updateState:i,setDelay:o,state:a,setErrorAsResult:c}=t;return m4({state:a,stateProxy:r,setDelay:o,processResult:s?({flatResponse:l},A)=>s(l,A):({flatResponse:l})=>l,getError:I4,updateState:i,getPollingInterval:C4,getOperationLocation:Q4,getOperationStatus:iP,isOperationError:w4,getResourceLocation:x4,options:n,poll:async(l,A)=>e.sendPollRequest(l,A),setErrorAsResult:c})}var ZCe=()=>({initState:t=>({status:"running",config:t}),setCanceled:t=>t.status="canceled",setError:(t,e)=>t.error=e,setResult:(t,e)=>t.result=e,setRunning:t=>t.status="running",setSucceeded:t=>t.status="succeeded",setFailed:t=>t.status="failed",getError:t=>t.error,getResult:t=>t.result,isCanceled:t=>t.status==="canceled",isFailed:t=>t.status==="failed",isRunning:t=>t.status==="running",isSucceeded:t=>t.status==="succeeded"});function eIe(t){let{getOperationLocation:e,getStatusFromInitialResponse:r,getStatusFromPollResponse:n,isOperationError:s,getResourceLocation:i,getPollingInterval:o,getError:a,resolveOnUnsuccessful:c}=t;return async({init:l,poll:A},u)=>{let{processResult:d,updateState:m,withOperationLocation:p,intervalInMs:f=c4,restoreFrom:E}=u||{},g=ZCe(),y=p?(()=>{let H=!1;return(ee,F)=>{F?p(ee):H||p(ee),H=!0}})():void 0,C=E?A4(E):await d4({init:l,stateProxy:g,processResult:d,getOperationStatus:r,withOperationLocation:y,setErrorAsResult:!c}),I,w=new o4.AbortController,D=new Map,_=async()=>D.forEach(H=>H(C)),ae="Operation was canceled",ge=f,Be={getOperationState:()=>C,getResult:()=>C.result,isDone:()=>["succeeded","failed","canceled"].includes(C.status),isStopped:()=>I===void 0,stopPolling:()=>{w.abort()},toString:()=>JSON.stringify({state:C}),onProgress:H=>{let ee=Symbol();return D.set(ee,H),()=>D.delete(ee)},pollUntilDone:H=>I??(I=(async()=>{let{abortSignal:ee}=H||{},{signal:F}=ee?new o4.AbortController([ee,w.signal]):w;if(!Be.isDone())for(await Be.poll({abortSignal:F});!Be.isDone();)await HCe.delay(ge,{abortSignal:F}),await Be.poll({abortSignal:F});if(c)return Be.getResult();switch(C.status){case"succeeded":return Be.getResult();case"canceled":throw new Error(ae);case"failed":throw C.error;case"notStarted":case"running":throw new Error("Polling completed without succeeding or failing")}})().finally(()=>{I=void 0})),async poll(H){if(c){if(Be.isDone())return}else switch(C.status){case"succeeded":return;case"canceled":throw new Error(ae);case"failed":throw C.error}if(await m4({poll:A,state:C,stateProxy:g,getOperationLocation:e,isOperationError:s,withOperationLocation:y,getPollingInterval:o,getOperationStatus:n,getResourceLocation:i,processResult:d,getError:a,updateState:m,options:H,setDelay:ee=>{ge=ee},setErrorAsResult:!c}),await _(),!c)switch(C.status){case"canceled":throw new Error(ae);case"failed":throw C.error}}};return Be}}async function tIe(t,e){let{resourceLocationConfig:r,intervalInMs:n,processResult:s,restoreFrom:i,updateState:o,withOperationLocation:a,resolveOnUnsuccessful:c=!1}=e||{};return eIe({getStatusFromInitialResponse:B4,getStatusFromPollResponse:iP,isOperationError:w4,getOperationLocation:Q4,getResourceLocation:x4,getPollingInterval:C4,getError:I4,resolveOnUnsuccessful:c})({init:async()=>{let l=await t.sendInitialRequest(),A=y4({rawResponse:l.rawResponse,requestPath:t.requestPath,requestMethod:t.requestMethod,resourceLocationConfig:r});return Object.assign({response:l,operationLocation:A?.operationLocation,resourceLocation:A?.resourceLocation},A?.mode?{metadata:{mode:A.mode}}:{})},poll:t.sendPollRequest},{intervalInMs:n,withOperationLocation:a,restoreFrom:i,updateState:o,processResult:s?({flatResponse:l},A)=>s(l,A):({flatResponse:l})=>l})}var rIe=()=>({initState:t=>({config:t,isStarted:!0}),setCanceled:t=>t.isCancelled=!0,setError:(t,e)=>t.error=e,setResult:(t,e)=>t.result=e,setRunning:t=>t.isStarted=!0,setSucceeded:t=>t.isCompleted=!0,setFailed:()=>{},getError:t=>t.error,getResult:t=>t.result,isCanceled:t=>!!t.isCancelled,isFailed:t=>!!t.error,isRunning:t=>!!t.isStarted,isSucceeded:t=>!!(t.isCompleted&&!t.isCancelled&&!t.error)}),rP=class{constructor(e,r,n,s,i,o,a){this.state=e,this.lro=r,this.setErrorAsResult=n,this.lroResourceLocationConfig=s,this.processResult=i,this.updateState=o,this.isDone=a}setPollerConfig(e){this.pollerConfig=e}async update(e){var r;let n=rIe();this.state.isStarted||(this.state=Object.assign(Object.assign({},this.state),await KCe({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?(o,{rawResponse:a})=>s(o,a):void 0,isDone:i?({flatResponse:o},a)=>i(o,a):void 0,options:e,setDelay:o=>{this.pollerConfig.intervalInMs=o},setErrorAsResult:this.setErrorAsResult}),(r=e?.fireProgress)===null||r===void 0||r.call(e,this.state),this}async cancel(){return qa.error("`cancelOperation` is deprecated because it wasn't implemented"),this}toString(){return JSON.stringify({state:this.state})}},Jy=class t extends Error{constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,t.prototype)}},Wy=class t extends Error{constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,t.prototype)}},$y=class{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=()=>{this.pollOncePromise=void 0};this.pollOncePromise.then(r,r).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new Wy("Operation was canceled");throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(r=>r!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){this.stopped||(this.stopped=!0,this.reject&&this.reject(new Jy("This poller is already stopped")))}isStopped(){return this.stopped}cancelOperation(e={}){if(!this.cancelPromise)this.cancelPromise=this.cancelOnce(e);else if(e.abortSignal)throw new Error("A cancel request is currently pending");return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}},nP=class extends $y{constructor(e,r){let{intervalInMs:n=c4,resumeFrom:s,resolveOnUnsuccessful:i=!1,isDone:o,lroResourceLocationConfig:a,processResult:c,updateState:l}=r||{},A=s?A4(s):{},u=new rP(A,e,!i,a,c,l,o);super(u),this.resolveOnUnsuccessful=i,this.config={intervalInMs:n},u.setPollerConfig(this.config)}delay(){return new Promise(e=>setTimeout(()=>e(),this.config.intervalInMs))}};Ha.LroEngine=nP;Ha.Poller=$y;Ha.PollerCancelledError=Wy;Ha.PollerStoppedError=Jy;Ha.createHttpPoller=tIe});var Y4=h((PJe,QIe)=>{QIe.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 J4=h((vJe,V4)=>{var xIe=Y4();V4.exports={version:xIe.version}});var cE=h(Yl=>{"use strict";Object.defineProperty(Yl,"__esModule",{value:!0});Yl.isJsonObject=Yl.typeofJsonValue=void 0;function DIe(t){let e=typeof t;if(e=="object"){if(Array.isArray(t))return"array";if(t===null)return"null"}return e}Yl.typeofJsonValue=DIe;function kIe(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}Yl.isJsonObject=kIe});var AE=h(Vl=>{"use strict";Object.defineProperty(Vl,"__esModule",{value:!0});Vl.base64encode=Vl.base64decode=void 0;var ki="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),lE=[];for(let t=0;t<ki.length;t++)lE[ki[t].charCodeAt(0)]=t;lE[45]=ki.indexOf("+");lE[95]=ki.indexOf("/");function TIe(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,o=0;for(let a=0;a<t.length;a++){if(i=lE[t.charCodeAt(a)],i===void 0)switch(t[a]){case"=":s=0;case`
|
|
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(s){case 0:o=i,s=1;break;case 1:r[n++]=o<<2|(i&48)>>4,o=i,s=2;break;case 2:r[n++]=(o&15)<<4|(i&60)>>2,o=i,s=3;break;case 3:r[n++]=(o&3)<<6|i,s=0;break}}if(s==1)throw Error("invalid base64 string.");return r.subarray(0,n)}Vl.base64decode=TIe;function MIe(t){let e="",r=0,n,s=0;for(let i=0;i<t.length;i++)switch(n=t[i],r){case 0:e+=ki[n>>2],s=(n&3)<<4,r=1;break;case 1:e+=ki[s|n>>4],s=(n&15)<<2,r=2;break;case 2:e+=ki[s|n>>6],e+=ki[n&63],r=0;break}return r&&(e+=ki[s],e+="=",r==1&&(e+="=")),e}Vl.base64encode=MIe});var Z4=h(uE=>{"use strict";Object.defineProperty(uE,"__esModule",{value:!0});uE.utf8read=void 0;var hP=t=>String.fromCharCode.apply(String,t);function LIe(t){if(t.length<1)return"";let e=0,r=[],n=[],s=0,i,o=t.length;for(;e<o;)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(hP(n)),s=0);return r.length?(s&&r.push(hP(n.slice(0,s))),r.join("")):hP(n.slice(0,s))}uE.utf8read=LIe});var am=h(Vs=>{"use strict";Object.defineProperty(Vs,"__esModule",{value:!0});Vs.WireType=Vs.mergeBinaryOptions=Vs.UnknownFieldHandler=void 0;var _Ie;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,s,i,o)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:s,wireType:i,data:o})},t.onWrite=(r,n,s)=>{for(let{no:i,wireType:o,data:a}of t.list(n))s.tag(i,o).raw(a)},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=r=>r&&Array.isArray(r[t.symbol])})(_Ie=Vs.UnknownFieldHandler||(Vs.UnknownFieldHandler={}));function FIe(t,e){return Object.assign(Object.assign({},t),e)}Vs.mergeBinaryOptions=FIe;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 mE=h(Br=>{"use strict";Object.defineProperty(Br,"__esModule",{value:!0});Br.varint32read=Br.varint32write=Br.int64toString=Br.int64fromString=Br.varint64write=Br.varint64read=void 0;function OIe(){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")}Br.varint64read=OIe;function qIe(t,e,r){for(let i=0;i<28;i=i+7){let o=t>>>i,a=!(!(o>>>7)&&e==0),c=(a?o|128:o)&255;if(r.push(c),!a)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 o=e>>>i,a=!!(o>>>7),c=(a?o|128:o)&255;if(r.push(c),!a)return}r.push(e>>>31&1)}}Br.varint64write=qIe;var dE=65536*65536;function HIe(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,s=0;function i(o,a){let c=Number(t.slice(o,a));s*=r,n=n*r+c,n>=dE&&(s=s+(n/dE|0),n=n%dE)}return i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,n,s]}Br.int64fromString=HIe;function zIe(t,e){if(e>>>0<=2097151)return""+(dE*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,s=e>>16&65535,i=r+n*6777216+s*6710656,o=n+s*8147497,a=s*2,c=1e7;i>=c&&(o+=Math.floor(i/c),i%=c),o>=c&&(a+=Math.floor(o/c),o%=c);function l(A,u){let d=A?String(A):"";return u?"0000000".slice(d.length)+d:d}return l(a,0)+l(o,a)+l(i,1)}Br.int64toString=zIe;function GIe(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)}}Br.varint32write=GIe;function YIe(){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}Br.varint32read=YIe});var Do=h(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.PbLong=vo.PbULong=vo.detectBi=void 0;var cm=mE(),Ne;function eW(){let t=new DataView(new ArrayBuffer(8));Ne=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}vo.detectBi=eW;eW();function tW(t){if(!t)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}var rW=/^-?[0-9]+$/,hE=4294967296,pE=2147483648,fE=class{constructor(e,r){this.lo=e|0,this.hi=r|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*hE+(this.lo>>>0);if(!Number.isSafeInteger(e))throw new Error("cannot convert to safe number");return e}},lm=class t extends fE{static from(e){if(Ne)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Ne.C(e);case"number":if(e===0)return this.ZERO;e=Ne.C(e);case"bigint":if(!e)return this.ZERO;if(e<Ne.UMIN)throw new Error("signed value for ulong");if(e>Ne.UMAX)throw new Error("ulong too large");return Ne.V.setBigUint64(0,e,!0),new t(Ne.V.getInt32(0,!0),Ne.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!rW.test(e))throw new Error("string is no integer");let[r,n,s]=cm.int64fromString(e);if(r)throw new Error("signed value for ulong");return new t(n,s);case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");if(e<0)throw new Error("signed value for ulong");return new t(e,e/hE)}throw new Error("unknown value "+typeof e)}toString(){return Ne?this.toBigInt().toString():cm.int64toString(this.lo,this.hi)}toBigInt(){return tW(Ne),Ne.V.setInt32(0,this.lo,!0),Ne.V.setInt32(4,this.hi,!0),Ne.V.getBigUint64(0,!0)}};vo.PbULong=lm;lm.ZERO=new lm(0,0);var Am=class t extends fE{static from(e){if(Ne)switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=="")throw new Error("string is no integer");e=Ne.C(e);case"number":if(e===0)return this.ZERO;e=Ne.C(e);case"bigint":if(!e)return this.ZERO;if(e<Ne.MIN)throw new Error("signed long too small");if(e>Ne.MAX)throw new Error("signed long too large");return Ne.V.setBigInt64(0,e,!0),new t(Ne.V.getInt32(0,!0),Ne.V.getInt32(4,!0))}else switch(typeof e){case"string":if(e=="0")return this.ZERO;if(e=e.trim(),!rW.test(e))throw new Error("string is no integer");let[r,n,s]=cm.int64fromString(e);if(r){if(s>pE||s==pE&&n!=0)throw new Error("signed long too small")}else if(s>=pE)throw new Error("signed long too large");let i=new t(n,s);return r?i.negate():i;case"number":if(e==0)return this.ZERO;if(!Number.isSafeInteger(e))throw new Error("number is no integer");return e>0?new t(e,e/hE):new t(-e,-e/hE).negate()}throw new Error("unknown value "+typeof e)}isNegative(){return(this.hi&pE)!==0}negate(){let e=~this.hi,r=this.lo;return r?r=~r+1:e+=1,new t(r,e)}toString(){if(Ne)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return"-"+cm.int64toString(e.lo,e.hi)}return cm.int64toString(this.lo,this.hi)}toBigInt(){return tW(Ne),Ne.V.setInt32(0,this.lo,!0),Ne.V.setInt32(4,this.hi,!0),Ne.V.getBigInt64(0,!0)}};vo.PbLong=Am;Am.ZERO=new Am(0,0)});var fP=h(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.BinaryReader=Wl.binaryReadOptions=void 0;var Jl=am(),um=Do(),nW=mE(),sW={readUnknownField:!0,readerFactory:t=>new gE(t)};function VIe(t){return t?Object.assign(Object.assign({},sW),t):sW}Wl.binaryReadOptions=VIe;var gE=class{constructor(e,r){this.varint64=nW.varint64read,this.uint32=nW.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 Jl.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case Jl.WireType.Bit64:this.pos+=4;case Jl.WireType.Bit32:this.pos+=4;break;case Jl.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case Jl.WireType.StartGroup:let s;for(;(s=this.tag()[1])!==Jl.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 um.PbLong(...this.varint64())}uint64(){return new um.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 um.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 um.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new um.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())}};Wl.BinaryReader=gE});var $l=h(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.assertFloat32=Qn.assertUInt32=Qn.assertInt32=Qn.assertNever=Qn.assert=void 0;function JIe(t,e){if(!t)throw new Error(e)}Qn.assert=JIe;function WIe(t,e){throw new Error(e??"Unexpected object: "+t)}Qn.assertNever=WIe;var $Ie=34028234663852886e22,jIe=-34028234663852886e22,KIe=4294967295,XIe=2147483647,ZIe=-2147483648;function eBe(t){if(typeof t!="number")throw new Error("invalid int 32: "+typeof t);if(!Number.isInteger(t)||t>XIe||t<ZIe)throw new Error("invalid int 32: "+t)}Qn.assertInt32=eBe;function tBe(t){if(typeof t!="number")throw new Error("invalid uint 32: "+typeof t);if(!Number.isInteger(t)||t>KIe||t<0)throw new Error("invalid uint 32: "+t)}Qn.assertUInt32=tBe;function rBe(t){if(typeof t!="number")throw new Error("invalid float 32: "+typeof t);if(Number.isFinite(t)&&(t>$Ie||t<jIe))throw new Error("invalid float 32: "+t)}Qn.assertFloat32=rBe});var gP=h(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});Kl.BinaryWriter=Kl.binaryWriteOptions=void 0;var dm=Do(),mm=mE(),jl=$l(),iW={writeUnknownFields:!0,writerFactory:()=>new yE};function nBe(t){return t?Object.assign(Object.assign({},iW),t):iW}Kl.binaryWriteOptions=nBe;var yE=class{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),mm.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,mm.varint32write(e,this.buf),this}sfixed64(e){let r=new Uint8Array(8),n=new DataView(r.buffer),s=dm.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=dm.PbULong.from(e);return n.setInt32(0,s.lo,!0),n.setInt32(4,s.hi,!0),this.raw(r)}int64(e){let r=dm.PbLong.from(e);return mm.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=dm.PbLong.from(e),n=r.hi>>31,s=r.lo<<1^n,i=(r.hi<<1|r.lo>>>31)^n;return mm.varint64write(s,i,this.buf),this}uint64(e){let r=dm.PbULong.from(e);return mm.varint64write(r.lo,r.hi,this.buf),this}};Kl.BinaryWriter=yE});var yP=h(ko=>{"use strict";Object.defineProperty(ko,"__esModule",{value:!0});ko.mergeJsonOptions=ko.jsonWriteOptions=ko.jsonReadOptions=void 0;var oW={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},aW={ignoreUnknownFields:!1};function sBe(t){return t?Object.assign(Object.assign({},aW),t):aW}ko.jsonReadOptions=sBe;function iBe(t){return t?Object.assign(Object.assign({},oW),t):oW}ko.jsonWriteOptions=iBe;function oBe(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}ko.mergeJsonOptions=oBe});var pm=h(EE=>{"use strict";Object.defineProperty(EE,"__esModule",{value:!0});EE.MESSAGE_TYPE=void 0;EE.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")});var EP=h(CE=>{"use strict";Object.defineProperty(CE,"__esModule",{value:!0});CE.lowerCamelCase=void 0;function aBe(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("")}CE.lowerCamelCase=aBe});var Wn=h(Ct=>{"use strict";Object.defineProperty(Ct,"__esModule",{value:!0});Ct.readMessageOption=Ct.readFieldOption=Ct.readFieldOptions=Ct.normalizeFieldInfo=Ct.RepeatType=Ct.LongType=Ct.ScalarType=void 0;var cW=EP(),cBe;(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"})(cBe=Ct.ScalarType||(Ct.ScalarType={}));var lBe;(function(t){t[t.BIGINT=0]="BIGINT",t[t.STRING=1]="STRING",t[t.NUMBER=2]="NUMBER"})(lBe=Ct.LongType||(Ct.LongType={}));var lW;(function(t){t[t.NO=0]="NO",t[t.PACKED=1]="PACKED",t[t.UNPACKED=2]="UNPACKED"})(lW=Ct.RepeatType||(Ct.RepeatType={}));function ABe(t){var e,r,n,s;return t.localName=(e=t.localName)!==null&&e!==void 0?e:cW.lowerCamelCase(t.name),t.jsonName=(r=t.jsonName)!==null&&r!==void 0?r:cW.lowerCamelCase(t.name),t.repeat=(n=t.repeat)!==null&&n!==void 0?n:lW.NO,t.opt=(s=t.opt)!==null&&s!==void 0?s:t.repeat||t.oneof?!1:t.kind=="message",t}Ct.normalizeFieldInfo=ABe;function uBe(t,e,r,n){var s;let i=(s=t.fields.find((o,a)=>o.localName==e||a==e))===null||s===void 0?void 0:s.options;return i&&i[r]?n.fromJson(i[r]):void 0}Ct.readFieldOptions=uBe;function dBe(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;if(!i)return;let o=i[r];return o===void 0?o:n?n.fromJson(o):o}Ct.readFieldOption=dBe;function mBe(t,e,r){let s=t.options[e];return s===void 0?s:r?r.fromJson(s):s}Ct.readMessageOption=mBe});var CP=h(Qr=>{"use strict";Object.defineProperty(Qr,"__esModule",{value:!0});Qr.getSelectedOneofValue=Qr.clearOneofValue=Qr.setUnknownOneofValue=Qr.setOneofValue=Qr.getOneofValue=Qr.isOneofGroup=void 0;function pBe(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}}Qr.isOneofGroup=pBe;function hBe(t,e){return t[e]}Qr.getOneofValue=hBe;function fBe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&(t[e]=r)}Qr.setOneofValue=fBe;function gBe(t,e,r){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=e,r!==void 0&&e!==void 0&&(t[e]=r)}Qr.setUnknownOneofValue=gBe;function yBe(t){t.oneofKind!==void 0&&delete t[t.oneofKind],t.oneofKind=void 0}Qr.clearOneofValue=yBe;function EBe(t){if(t.oneofKind!==void 0)return t[t.oneofKind]}Qr.getSelectedOneofValue=EBe});var BP=h(IE=>{"use strict";Object.defineProperty(IE,"__esModule",{value:!0});IE.ReflectionTypeCheck=void 0;var Xe=Wn(),CBe=CP(),IP=class{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(o=>!s.includes(o))||!n&&s.some(o=>!i.known.includes(o)))return!1;if(r<1)return!0;for(let o of i.oneofs){let a=e[o];if(!CBe.isOneofGroup(a))return!1;if(a.oneofKind===void 0)continue;let c=this.fields.find(l=>l.localName===a.oneofKind);if(!c||!this.field(a[a.oneofKind],c,n,r))return!1}for(let o of this.fields)if(o.oneof===void 0&&!this.field(e[o.localName],o,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,Xe.ScalarType.INT32,s):this.scalar(e,Xe.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),Xe.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 Xe.ScalarType.UINT64:case Xe.ScalarType.FIXED64:case Xe.ScalarType.INT64:case Xe.ScalarType.SFIXED64:case Xe.ScalarType.SINT64:switch(n){case Xe.LongType.BIGINT:return s=="bigint";case Xe.LongType.NUMBER:return s=="number"&&!isNaN(e);default:return s=="string"}case Xe.ScalarType.BOOL:return s=="boolean";case Xe.ScalarType.STRING:return s=="string";case Xe.ScalarType.BYTES:return e instanceof Uint8Array;case Xe.ScalarType.DOUBLE:case Xe.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 Xe.ScalarType.INT32:case Xe.ScalarType.FIXED32:case Xe.ScalarType.SFIXED32:case Xe.ScalarType.SINT32:case Xe.ScalarType.UINT32:return this.scalars(s.slice(0,n).map(i=>parseInt(i)),r,n);case Xe.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,Xe.LongType.STRING)}}};IE.ReflectionTypeCheck=IP});var QE=h(BE=>{"use strict";Object.defineProperty(BE,"__esModule",{value:!0});BE.reflectionLongConvert=void 0;var AW=Wn();function IBe(t,e){switch(e){case AW.LongType.BIGINT:return t.toBigInt();case AW.LongType.NUMBER:return t.toNumber();default:return t.toString()}}BE.reflectionLongConvert=IBe});var xP=h(bE=>{"use strict";Object.defineProperty(bE,"__esModule",{value:!0});bE.ReflectionJsonReader=void 0;var uW=cE(),BBe=AE(),It=Wn(),xE=Do(),Ga=$l(),wE=QE(),QP=class{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=uW.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,o]of Object.entries(e)){let a=this.fMap[i];if(!a){if(!n.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${i}`);continue}let c=a.localName,l;if(a.oneof){if(o===null&&(a.kind!=="enum"||a.T()[0]!=="google.protobuf.NullValue"))continue;if(s.includes(a.oneof))throw new Error(`Multiple members of the oneof group "${a.oneof}" of ${this.info.typeName} are present in JSON.`);s.push(a.oneof),l=r[a.oneof]={oneofKind:c}}else l=r;if(a.kind=="map"){if(o===null)continue;this.assert(uW.isJsonObject(o),a.name,o);let A=l[c];for(let[u,d]of Object.entries(o)){this.assert(d!==null,a.name+" map value",null);let m;switch(a.V.kind){case"message":m=a.V.T().internalJsonRead(d,n);break;case"enum":if(m=this.enum(a.V.T(),d,a.name,n.ignoreUnknownFields),m===!1)continue;break;case"scalar":m=this.scalar(d,a.V.T,a.V.L,a.name);break}this.assert(m!==void 0,a.name+" map value",d);let p=u;a.K==It.ScalarType.BOOL&&(p=p=="true"?!0:p=="false"?!1:p),p=this.scalar(p,a.K,It.LongType.STRING,a.name).toString(),A[p]=m}}else if(a.repeat){if(o===null)continue;this.assert(Array.isArray(o),a.name,o);let A=l[c];for(let u of o){this.assert(u!==null,a.name,null);let d;switch(a.kind){case"message":d=a.T().internalJsonRead(u,n);break;case"enum":if(d=this.enum(a.T(),u,a.name,n.ignoreUnknownFields),d===!1)continue;break;case"scalar":d=this.scalar(u,a.T,a.L,a.name);break}this.assert(d!==void 0,a.name,o),A.push(d)}}else switch(a.kind){case"message":if(o===null&&a.T().typeName!="google.protobuf.Value"){this.assert(a.oneof===void 0,a.name+" (oneof member)",null);continue}l[c]=a.T().internalJsonRead(o,n,l[c]);break;case"enum":if(o===null)continue;let A=this.enum(a.T(),o,a.name,n.ignoreUnknownFields);if(A===!1)continue;l[c]=A;break;case"scalar":if(o===null)continue;l[c]=this.scalar(o,a.T,a.L,a.name);break}}}enum(e,r,n,s){if(e[0]=="google.protobuf.NullValue"&&Ga.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 Ga.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 o=e[1][i];return typeof o>"u"&&s?!1:(Ga.assert(typeof o=="number",`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${r}".`),o)}Ga.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 It.ScalarType.DOUBLE:case It.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 o=Number(e);if(Number.isNaN(o)){i="not a number";break}if(!Number.isFinite(o)){i="too large or small";break}return r==It.ScalarType.FLOAT&&Ga.assertFloat32(o),o;case It.ScalarType.INT32:case It.ScalarType.FIXED32:case It.ScalarType.SFIXED32:case It.ScalarType.SINT32:case It.ScalarType.UINT32:if(e===null)return 0;let a;if(typeof e=="number"?a=e:e===""?i="empty string":typeof e=="string"&&(e.trim().length!==e.length?i="extra whitespace":a=Number(e)),a===void 0)break;return r==It.ScalarType.UINT32?Ga.assertUInt32(a):Ga.assertInt32(a),a;case It.ScalarType.INT64:case It.ScalarType.SFIXED64:case It.ScalarType.SINT64:if(e===null)return wE.reflectionLongConvert(xE.PbLong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return wE.reflectionLongConvert(xE.PbLong.from(e),n);case It.ScalarType.FIXED64:case It.ScalarType.UINT64:if(e===null)return wE.reflectionLongConvert(xE.PbULong.ZERO,n);if(typeof e!="number"&&typeof e!="string")break;return wE.reflectionLongConvert(xE.PbULong.from(e),n);case It.ScalarType.BOOL:if(e===null)return!1;if(typeof e!="boolean")break;return e;case It.ScalarType.STRING:if(e===null)return"";if(typeof e!="string"){i="extra whitespace";break}try{encodeURIComponent(e)}catch(c){c="invalid UTF8";break}return e;case It.ScalarType.BYTES:if(e===null||e==="")return new Uint8Array(0);if(typeof e!="string")break;return BBe.base64decode(e)}}catch(o){i=o.message}this.assert(!1,s+(i?" - "+i:""),e)}};bE.ReflectionJsonReader=QP});var bP=h(NE=>{"use strict";Object.defineProperty(NE,"__esModule",{value:!0});NE.ReflectionJsonWriter=void 0;var QBe=AE(),dW=Do(),nr=Wn(),qe=$l(),wP=class{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 l=this.field(i,s[i.localName],r);l!==void 0&&(n[r.useProtoFieldName?i.name:i.jsonName]=l);continue}let o=s[i.oneof];if(o.oneofKind!==i.localName)continue;let a=i.kind=="scalar"||i.kind=="enum"?Object.assign(Object.assign({},r),{emitDefaultValues:!0}):r,c=this.field(i,o[i.localName],a);qe.assert(c!==void 0),n[r.useProtoFieldName?i.name:i.jsonName]=c}return n}field(e,r,n){let s;if(e.kind=="map"){qe.assert(typeof r=="object"&&r!==null);let i={};switch(e.V.kind){case"scalar":for(let[c,l]of Object.entries(r)){let A=this.scalar(e.V.T,l,e.name,!1,!0);qe.assert(A!==void 0),i[c.toString()]=A}break;case"message":let o=e.V.T();for(let[c,l]of Object.entries(r)){let A=this.message(o,l,e.name,n);qe.assert(A!==void 0),i[c.toString()]=A}break;case"enum":let a=e.V.T();for(let[c,l]of Object.entries(r)){qe.assert(l===void 0||typeof l=="number");let A=this.enum(a,l,e.name,!1,!0,n.enumAsInteger);qe.assert(A!==void 0),i[c.toString()]=A}break}(n.emitDefaultValues||Object.keys(i).length>0)&&(s=i)}else if(e.repeat){qe.assert(Array.isArray(r));let i=[];switch(e.kind){case"scalar":for(let c=0;c<r.length;c++){let l=this.scalar(e.T,r[c],e.name,e.opt,!0);qe.assert(l!==void 0),i.push(l)}break;case"enum":let o=e.T();for(let c=0;c<r.length;c++){qe.assert(r[c]===void 0||typeof r[c]=="number");let l=this.enum(o,r[c],e.name,e.opt,!0,n.enumAsInteger);qe.assert(l!==void 0),i.push(l)}break;case"message":let a=e.T();for(let c=0;c<r.length;c++){let l=this.message(a,r[c],e.name,n);qe.assert(l!==void 0),i.push(l)}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,o){if(e[0]=="google.protobuf.NullValue")return!i&&!s?void 0:null;if(r===void 0){qe.assert(s);return}if(!(r===0&&!i&&!s))return qe.assert(typeof r=="number"),qe.assert(Number.isInteger(r)),o||!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){qe.assert(s);return}let o=i||s;switch(e){case nr.ScalarType.INT32:case nr.ScalarType.SFIXED32:case nr.ScalarType.SINT32:return r===0?o?0:void 0:(qe.assertInt32(r),r);case nr.ScalarType.FIXED32:case nr.ScalarType.UINT32:return r===0?o?0:void 0:(qe.assertUInt32(r),r);case nr.ScalarType.FLOAT:qe.assertFloat32(r);case nr.ScalarType.DOUBLE:return r===0?o?0:void 0:(qe.assert(typeof r=="number"),Number.isNaN(r)?"NaN":r===Number.POSITIVE_INFINITY?"Infinity":r===Number.NEGATIVE_INFINITY?"-Infinity":r);case nr.ScalarType.STRING:return r===""?o?"":void 0:(qe.assert(typeof r=="string"),r);case nr.ScalarType.BOOL:return r===!1?o?!1:void 0:(qe.assert(typeof r=="boolean"),r);case nr.ScalarType.UINT64:case nr.ScalarType.FIXED64:qe.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let a=dW.PbULong.from(r);return a.isZero()&&!o?void 0:a.toString();case nr.ScalarType.INT64:case nr.ScalarType.SFIXED64:case nr.ScalarType.SINT64:qe.assert(typeof r=="number"||typeof r=="string"||typeof r=="bigint");let c=dW.PbLong.from(r);return c.isZero()&&!o?void 0:c.toString();case nr.ScalarType.BYTES:return qe.assert(r instanceof Uint8Array),r.byteLength?QBe.base64encode(r):o?"":void 0}}};NE.ReflectionJsonWriter=wP});var RE=h(SE=>{"use strict";Object.defineProperty(SE,"__esModule",{value:!0});SE.reflectionScalarDefault=void 0;var $n=Wn(),mW=QE(),pW=Do();function xBe(t,e=$n.LongType.STRING){switch(t){case $n.ScalarType.BOOL:return!1;case $n.ScalarType.UINT64:case $n.ScalarType.FIXED64:return mW.reflectionLongConvert(pW.PbULong.ZERO,e);case $n.ScalarType.INT64:case $n.ScalarType.SFIXED64:case $n.ScalarType.SINT64:return mW.reflectionLongConvert(pW.PbLong.ZERO,e);case $n.ScalarType.DOUBLE:case $n.ScalarType.FLOAT:return 0;case $n.ScalarType.BYTES:return new Uint8Array(0);case $n.ScalarType.STRING:return"";default:return 0}}SE.reflectionScalarDefault=xBe});var SP=h(PE=>{"use strict";Object.defineProperty(PE,"__esModule",{value:!0});PE.ReflectionBinaryReader=void 0;var hW=am(),at=Wn(),hm=QE(),fW=RE(),NP=class{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[o,a]=e.tag(),c=this.fieldNoToField.get(o);if(!c){let d=n.readUnknownField;if(d=="throw")throw new Error(`Unknown field ${o} (wire type ${a}) for ${this.info.typeName}`);let m=e.skip(a);d!==!1&&(d===!0?hW.UnknownFieldHandler.onRead:d)(this.info.typeName,r,o,a,m);continue}let l=r,A=c.repeat,u=c.localName;switch(c.oneof&&(l=l[c.oneof],l.oneofKind!==u&&(l=r[c.oneof]={oneofKind:u})),c.kind){case"scalar":case"enum":let d=c.kind=="enum"?at.ScalarType.INT32:c.T,m=c.kind=="scalar"?c.L:void 0;if(A){let E=l[u];if(a==hW.WireType.LengthDelimited&&d!=at.ScalarType.STRING&&d!=at.ScalarType.BYTES){let g=e.uint32()+e.pos;for(;e.pos<g;)E.push(this.scalar(e,d,m))}else E.push(this.scalar(e,d,m))}else l[u]=this.scalar(e,d,m);break;case"message":if(A){let E=l[u],g=c.T().internalBinaryRead(e,e.uint32(),n);E.push(g)}else l[u]=c.T().internalBinaryRead(e,e.uint32(),n,l[u]);break;case"map":let[p,f]=this.mapEntry(c,e,n);l[u][p]=f;break}}}mapEntry(e,r,n){let s=r.uint32(),i=r.pos+s,o,a;for(;r.pos<i;){let[c,l]=r.tag();switch(c){case 1:e.K==at.ScalarType.BOOL?o=r.bool().toString():o=this.scalar(r,e.K,at.LongType.STRING);break;case 2:switch(e.V.kind){case"scalar":a=this.scalar(r,e.V.T,e.V.L);break;case"enum":a=r.int32();break;case"message":a=e.V.T().internalBinaryRead(r,r.uint32(),n);break}break;default:throw new Error(`Unknown field ${c} (wire type ${l}) in map entry for ${this.info.typeName}#${e.name}`)}}if(o===void 0){let c=fW.reflectionScalarDefault(e.K);o=e.K==at.ScalarType.BOOL?c.toString():c}if(a===void 0)switch(e.V.kind){case"scalar":a=fW.reflectionScalarDefault(e.V.T,e.V.L);break;case"enum":a=0;break;case"message":a=e.V.T().create();break}return[o,a]}scalar(e,r,n){switch(r){case at.ScalarType.INT32:return e.int32();case at.ScalarType.STRING:return e.string();case at.ScalarType.BOOL:return e.bool();case at.ScalarType.DOUBLE:return e.double();case at.ScalarType.FLOAT:return e.float();case at.ScalarType.INT64:return hm.reflectionLongConvert(e.int64(),n);case at.ScalarType.UINT64:return hm.reflectionLongConvert(e.uint64(),n);case at.ScalarType.FIXED64:return hm.reflectionLongConvert(e.fixed64(),n);case at.ScalarType.FIXED32:return e.fixed32();case at.ScalarType.BYTES:return e.bytes();case at.ScalarType.UINT32:return e.uint32();case at.ScalarType.SFIXED32:return e.sfixed32();case at.ScalarType.SFIXED64:return hm.reflectionLongConvert(e.sfixed64(),n);case at.ScalarType.SINT32:return e.sint32();case at.ScalarType.SINT64:return hm.reflectionLongConvert(e.sint64(),n)}}};PE.ReflectionBinaryReader=NP});var PP=h(vE=>{"use strict";Object.defineProperty(vE,"__esModule",{value:!0});vE.ReflectionBinaryWriter=void 0;var Wr=am(),ve=Wn(),Xl=$l(),fm=Do(),RP=class{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 o,a,c=i.repeat,l=i.localName;if(i.oneof){let A=e[i.oneof];if(A.oneofKind!==l)continue;o=A[l],a=!0}else o=e[l],a=!1;switch(i.kind){case"scalar":case"enum":let A=i.kind=="enum"?ve.ScalarType.INT32:i.T;if(c)if(Xl.assert(Array.isArray(o)),c==ve.RepeatType.PACKED)this.packed(r,A,i.no,o);else for(let u of o)this.scalar(r,A,i.no,u,!0);else o===void 0?Xl.assert(i.opt):this.scalar(r,A,i.no,o,a||i.opt);break;case"message":if(c){Xl.assert(Array.isArray(o));for(let u of o)this.message(r,n,i.T(),i.no,u)}else this.message(r,n,i.T(),i.no,o);break;case"map":Xl.assert(typeof o=="object"&&o!==null);for(let[u,d]of Object.entries(o))this.mapEntry(r,n,i,u,d);break}}let s=n.writeUnknownFields;s!==!1&&(s===!0?Wr.UnknownFieldHandler.onWrite:s)(this.info.typeName,e,r)}mapEntry(e,r,n,s,i){e.tag(n.no,Wr.WireType.LengthDelimited),e.fork();let o=s;switch(n.K){case ve.ScalarType.INT32:case ve.ScalarType.FIXED32:case ve.ScalarType.UINT32:case ve.ScalarType.SFIXED32:case ve.ScalarType.SINT32:o=Number.parseInt(s);break;case ve.ScalarType.BOOL:Xl.assert(s=="true"||s=="false"),o=s=="true";break}switch(this.scalar(e,n.K,1,o,!0),n.V.kind){case"scalar":this.scalar(e,n.V.T,2,i,!0);break;case"enum":this.scalar(e,ve.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,Wr.WireType.LengthDelimited).fork(),r),e.join())}scalar(e,r,n,s,i){let[o,a,c]=this.scalarInfo(r,s);(!c||i)&&(e.tag(n,o),e[a](s))}packed(e,r,n,s){if(!s.length)return;Xl.assert(r!==ve.ScalarType.BYTES&&r!==ve.ScalarType.STRING),e.tag(n,Wr.WireType.LengthDelimited),e.fork();let[,i]=this.scalarInfo(r);for(let o=0;o<s.length;o++)e[i](s[o]);e.join()}scalarInfo(e,r){let n=Wr.WireType.Varint,s,i=r===void 0,o=r===0;switch(e){case ve.ScalarType.INT32:s="int32";break;case ve.ScalarType.STRING:o=i||!r.length,n=Wr.WireType.LengthDelimited,s="string";break;case ve.ScalarType.BOOL:o=r===!1,s="bool";break;case ve.ScalarType.UINT32:s="uint32";break;case ve.ScalarType.DOUBLE:n=Wr.WireType.Bit64,s="double";break;case ve.ScalarType.FLOAT:n=Wr.WireType.Bit32,s="float";break;case ve.ScalarType.INT64:o=i||fm.PbLong.from(r).isZero(),s="int64";break;case ve.ScalarType.UINT64:o=i||fm.PbULong.from(r).isZero(),s="uint64";break;case ve.ScalarType.FIXED64:o=i||fm.PbULong.from(r).isZero(),n=Wr.WireType.Bit64,s="fixed64";break;case ve.ScalarType.BYTES:o=i||!r.byteLength,n=Wr.WireType.LengthDelimited,s="bytes";break;case ve.ScalarType.FIXED32:n=Wr.WireType.Bit32,s="fixed32";break;case ve.ScalarType.SFIXED32:n=Wr.WireType.Bit32,s="sfixed32";break;case ve.ScalarType.SFIXED64:o=i||fm.PbLong.from(r).isZero(),n=Wr.WireType.Bit64,s="sfixed64";break;case ve.ScalarType.SINT32:s="sint32";break;case ve.ScalarType.SINT64:o=i||fm.PbLong.from(r).isZero(),s="sint64";break}return[n,s,i||o]}};vE.ReflectionBinaryWriter=RP});var vP=h(DE=>{"use strict";Object.defineProperty(DE,"__esModule",{value:!0});DE.reflectionCreate=void 0;var wBe=RE(),bBe=pm();function NBe(t){let e=t.messagePrototype?Object.create(t.messagePrototype):Object.defineProperty({},bBe.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]=wBe.reflectionScalarDefault(r.T,r.L);break;case"enum":e[n]=0;break;case"map":e[n]={};break}}return e}DE.reflectionCreate=NBe});var DP=h(kE=>{"use strict";Object.defineProperty(kE,"__esModule",{value:!0});kE.reflectionMergePartial=void 0;function SBe(t,e,r){let n,s=r,i;for(let o of t.fields){let a=o.localName;if(o.oneof){let c=s[o.oneof];if(c?.oneofKind==null)continue;if(n=c[a],i=e[o.oneof],i.oneofKind=c.oneofKind,n==null){delete i[a];continue}}else if(n=s[a],i=e,n==null)continue;switch(o.repeat&&(i[a].length=n.length),o.kind){case"scalar":case"enum":if(o.repeat)for(let l=0;l<n.length;l++)i[a][l]=n[l];else i[a]=n;break;case"message":let c=o.T();if(o.repeat)for(let l=0;l<n.length;l++)i[a][l]=c.create(n[l]);else i[a]===void 0?i[a]=c.create(n):c.mergePartial(i[a],n);break;case"map":switch(o.V.kind){case"scalar":case"enum":Object.assign(i[a],n);break;case"message":let l=o.V.T();for(let A of Object.keys(n))i[a][A]=l.create(n[A]);break}break}}}kE.reflectionMergePartial=SBe});var TP=h(ME=>{"use strict";Object.defineProperty(ME,"__esModule",{value:!0});ME.reflectionEquals=void 0;var kP=Wn();function RBe(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],o=n.oneof?r[n.oneof][s]:r[s];switch(n.kind){case"enum":case"scalar":let a=n.kind=="enum"?kP.ScalarType.INT32:n.T;if(!(n.repeat?gW(a,i,o):EW(a,i,o)))return!1;break;case"map":if(!(n.V.kind=="message"?yW(n.V.T(),TE(i),TE(o)):gW(n.V.kind=="enum"?kP.ScalarType.INT32:n.V.T,TE(i),TE(o))))return!1;break;case"message":let c=n.T();if(!(n.repeat?yW(c,i,o):c.equals(i,o)))return!1;break}}return!0}ME.reflectionEquals=RBe;var TE=Object.values;function EW(t,e,r){if(e===r)return!0;if(t!==kP.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}function gW(t,e,r){if(e.length!==r.length)return!1;for(let n=0;n<e.length;n++)if(!EW(t,e[n],r[n]))return!1;return!0}function yW(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}});var BW=h(LE=>{"use strict";Object.defineProperty(LE,"__esModule",{value:!0});LE.MessageType=void 0;var PBe=pm(),vBe=Wn(),DBe=BP(),kBe=xP(),TBe=bP(),MBe=SP(),LBe=PP(),_Be=vP(),MP=DP(),FBe=cE(),CW=yP(),UBe=TP(),OBe=gP(),qBe=fP(),IW=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),HBe=IW[PBe.MESSAGE_TYPE]={},LP=class{constructor(e,r,n){this.defaultCheckDepth=16,this.typeName=e,this.fields=r.map(vBe.normalizeFieldInfo),this.options=n??{},HBe.value=this,this.messagePrototype=Object.create(null,IW),this.refTypeCheck=new DBe.ReflectionTypeCheck(this),this.refJsonReader=new kBe.ReflectionJsonReader(this),this.refJsonWriter=new TBe.ReflectionJsonWriter(this),this.refBinReader=new MBe.ReflectionBinaryReader(this),this.refBinWriter=new LBe.ReflectionBinaryWriter(this)}create(e){let r=_Be.reflectionCreate(this);return e!==void 0&&MP.reflectionMergePartial(this,r,e),r}clone(e){let r=this.create();return MP.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){MP.reflectionMergePartial(this,e,r)}fromBinary(e,r){let n=qBe.binaryReadOptions(r);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,r){return this.internalJsonRead(e,CW.jsonReadOptions(r))}fromJsonString(e,r){let n=JSON.parse(e);return this.fromJson(n,r)}toJson(e,r){return this.internalJsonWrite(e,CW.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=OBe.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 ${FBe.typeofJsonValue(e)}.`)}internalJsonWrite(e,r){return this.refJsonWriter.write(e,r)}internalBinaryWrite(e,r,n){return this.refBinWriter.write(e,r,n),r}internalBinaryRead(e,r,n,s){let i=s??this.create();return this.refBinReader.read(e,i,n,r),i}};LE.MessageType=LP});var QW=h(_E=>{"use strict";Object.defineProperty(_E,"__esModule",{value:!0});_E.containsMessageType=void 0;var zBe=pm();function GBe(t){return t[zBe.MESSAGE_TYPE]!=null}_E.containsMessageType=GBe});var wW=h(Js=>{"use strict";Object.defineProperty(Js,"__esModule",{value:!0});Js.listEnumNumbers=Js.listEnumNames=Js.listEnumValues=Js.isEnumObject=void 0;function xW(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}Js.isEnumObject=xW;function _P(t){if(!xW(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}Js.listEnumValues=_P;function YBe(t){return _P(t).map(e=>e.name)}Js.listEnumNames=YBe;function VBe(t){return _P(t).map(e=>e.number).filter((e,r,n)=>n.indexOf(e)==r)}Js.listEnumNumbers=VBe});var ct=h(J=>{"use strict";Object.defineProperty(J,"__esModule",{value:!0});var bW=cE();Object.defineProperty(J,"typeofJsonValue",{enumerable:!0,get:function(){return bW.typeofJsonValue}});Object.defineProperty(J,"isJsonObject",{enumerable:!0,get:function(){return bW.isJsonObject}});var NW=AE();Object.defineProperty(J,"base64decode",{enumerable:!0,get:function(){return NW.base64decode}});Object.defineProperty(J,"base64encode",{enumerable:!0,get:function(){return NW.base64encode}});var JBe=Z4();Object.defineProperty(J,"utf8read",{enumerable:!0,get:function(){return JBe.utf8read}});var FP=am();Object.defineProperty(J,"WireType",{enumerable:!0,get:function(){return FP.WireType}});Object.defineProperty(J,"mergeBinaryOptions",{enumerable:!0,get:function(){return FP.mergeBinaryOptions}});Object.defineProperty(J,"UnknownFieldHandler",{enumerable:!0,get:function(){return FP.UnknownFieldHandler}});var SW=fP();Object.defineProperty(J,"BinaryReader",{enumerable:!0,get:function(){return SW.BinaryReader}});Object.defineProperty(J,"binaryReadOptions",{enumerable:!0,get:function(){return SW.binaryReadOptions}});var RW=gP();Object.defineProperty(J,"BinaryWriter",{enumerable:!0,get:function(){return RW.BinaryWriter}});Object.defineProperty(J,"binaryWriteOptions",{enumerable:!0,get:function(){return RW.binaryWriteOptions}});var PW=Do();Object.defineProperty(J,"PbLong",{enumerable:!0,get:function(){return PW.PbLong}});Object.defineProperty(J,"PbULong",{enumerable:!0,get:function(){return PW.PbULong}});var UP=yP();Object.defineProperty(J,"jsonReadOptions",{enumerable:!0,get:function(){return UP.jsonReadOptions}});Object.defineProperty(J,"jsonWriteOptions",{enumerable:!0,get:function(){return UP.jsonWriteOptions}});Object.defineProperty(J,"mergeJsonOptions",{enumerable:!0,get:function(){return UP.mergeJsonOptions}});var WBe=pm();Object.defineProperty(J,"MESSAGE_TYPE",{enumerable:!0,get:function(){return WBe.MESSAGE_TYPE}});var $Be=BW();Object.defineProperty(J,"MessageType",{enumerable:!0,get:function(){return $Be.MessageType}});var Ya=Wn();Object.defineProperty(J,"ScalarType",{enumerable:!0,get:function(){return Ya.ScalarType}});Object.defineProperty(J,"LongType",{enumerable:!0,get:function(){return Ya.LongType}});Object.defineProperty(J,"RepeatType",{enumerable:!0,get:function(){return Ya.RepeatType}});Object.defineProperty(J,"normalizeFieldInfo",{enumerable:!0,get:function(){return Ya.normalizeFieldInfo}});Object.defineProperty(J,"readFieldOptions",{enumerable:!0,get:function(){return Ya.readFieldOptions}});Object.defineProperty(J,"readFieldOption",{enumerable:!0,get:function(){return Ya.readFieldOption}});Object.defineProperty(J,"readMessageOption",{enumerable:!0,get:function(){return Ya.readMessageOption}});var jBe=BP();Object.defineProperty(J,"ReflectionTypeCheck",{enumerable:!0,get:function(){return jBe.ReflectionTypeCheck}});var KBe=vP();Object.defineProperty(J,"reflectionCreate",{enumerable:!0,get:function(){return KBe.reflectionCreate}});var XBe=RE();Object.defineProperty(J,"reflectionScalarDefault",{enumerable:!0,get:function(){return XBe.reflectionScalarDefault}});var ZBe=DP();Object.defineProperty(J,"reflectionMergePartial",{enumerable:!0,get:function(){return ZBe.reflectionMergePartial}});var eQe=TP();Object.defineProperty(J,"reflectionEquals",{enumerable:!0,get:function(){return eQe.reflectionEquals}});var tQe=SP();Object.defineProperty(J,"ReflectionBinaryReader",{enumerable:!0,get:function(){return tQe.ReflectionBinaryReader}});var rQe=PP();Object.defineProperty(J,"ReflectionBinaryWriter",{enumerable:!0,get:function(){return rQe.ReflectionBinaryWriter}});var nQe=xP();Object.defineProperty(J,"ReflectionJsonReader",{enumerable:!0,get:function(){return nQe.ReflectionJsonReader}});var sQe=bP();Object.defineProperty(J,"ReflectionJsonWriter",{enumerable:!0,get:function(){return sQe.ReflectionJsonWriter}});var iQe=QW();Object.defineProperty(J,"containsMessageType",{enumerable:!0,get:function(){return iQe.containsMessageType}});var gm=CP();Object.defineProperty(J,"isOneofGroup",{enumerable:!0,get:function(){return gm.isOneofGroup}});Object.defineProperty(J,"setOneofValue",{enumerable:!0,get:function(){return gm.setOneofValue}});Object.defineProperty(J,"getOneofValue",{enumerable:!0,get:function(){return gm.getOneofValue}});Object.defineProperty(J,"clearOneofValue",{enumerable:!0,get:function(){return gm.clearOneofValue}});Object.defineProperty(J,"getSelectedOneofValue",{enumerable:!0,get:function(){return gm.getSelectedOneofValue}});var FE=wW();Object.defineProperty(J,"listEnumValues",{enumerable:!0,get:function(){return FE.listEnumValues}});Object.defineProperty(J,"listEnumNames",{enumerable:!0,get:function(){return FE.listEnumNames}});Object.defineProperty(J,"listEnumNumbers",{enumerable:!0,get:function(){return FE.listEnumNumbers}});Object.defineProperty(J,"isEnumObject",{enumerable:!0,get:function(){return FE.isEnumObject}});var oQe=EP();Object.defineProperty(J,"lowerCamelCase",{enumerable:!0,get:function(){return oQe.lowerCamelCase}});var ym=$l();Object.defineProperty(J,"assert",{enumerable:!0,get:function(){return ym.assert}});Object.defineProperty(J,"assertNever",{enumerable:!0,get:function(){return ym.assertNever}});Object.defineProperty(J,"assertInt32",{enumerable:!0,get:function(){return ym.assertInt32}});Object.defineProperty(J,"assertUInt32",{enumerable:!0,get:function(){return ym.assertUInt32}});Object.defineProperty(J,"assertFloat32",{enumerable:!0,get:function(){return ym.assertFloat32}})});var OP=h(Ws=>{"use strict";Object.defineProperty(Ws,"__esModule",{value:!0});Ws.readServiceOption=Ws.readMethodOption=Ws.readMethodOptions=Ws.normalizeMethodInfo=void 0;var aQe=ct();function cQe(t,e){var r,n,s;let i=t;return i.service=e,i.localName=(r=i.localName)!==null&&r!==void 0?r:aQe.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}Ws.normalizeMethodInfo=cQe;function lQe(t,e,r,n){var s;let i=(s=t.methods.find((o,a)=>o.localName===e||a===e))===null||s===void 0?void 0:s.options;return i&&i[r]?n.fromJson(i[r]):void 0}Ws.readMethodOptions=lQe;function AQe(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;if(!i)return;let o=i[r];return o===void 0?o:n?n.fromJson(o):o}Ws.readMethodOption=AQe;function uQe(t,e,r){let n=t.options;if(!n)return;let s=n[e];return s===void 0?s:r?r.fromJson(s):s}Ws.readServiceOption=uQe});var vW=h(UE=>{"use strict";Object.defineProperty(UE,"__esModule",{value:!0});UE.ServiceType=void 0;var dQe=OP(),qP=class{constructor(e,r,n){this.typeName=e,this.methods=r.map(s=>dQe.normalizeMethodInfo(s,this)),this.options=n??{}}};UE.ServiceType=qP});var zP=h(OE=>{"use strict";Object.defineProperty(OE,"__esModule",{value:!0});OE.RpcError=void 0;var HP=class extends Error{constructor(e,r="UNKNOWN",n){super(e),this.name="RpcError",Object.setPrototypeOf(this,new.target.prototype),this.code=r,this.meta=n??{}}toString(){let e=[this.name+": "+this.message];this.code&&(e.push(""),e.push("Code: "+this.code)),this.serviceName&&this.methodName&&e.push("Method: "+this.serviceName+"/"+this.methodName);let r=Object.entries(this.meta);if(r.length){e.push(""),e.push("Meta:");for(let[n,s]of r)e.push(` ${n}: ${s}`)}return e.join(`
|
|
`)}};OE.RpcError=HP});var GP=h(HE=>{"use strict";Object.defineProperty(HE,"__esModule",{value:!0});HE.mergeRpcOptions=void 0;var DW=ct();function mQe(t,e){if(!e)return t;let r={};qE(t,r),qE(e,r);for(let n of Object.keys(e)){let s=e[n];switch(n){case"jsonOptions":r.jsonOptions=DW.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=DW.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},qE(t.meta,r.meta),qE(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(s):s.concat();break}}return r}HE.mergeRpcOptions=mQe;function qE(t,e){if(!t)return;let r=e;for(let[n,s]of Object.entries(t))s instanceof Date?r[n]=new Date(s.getTime()):Array.isArray(s)?r[n]=s.concat():r[n]=s}});var VP=h(Va=>{"use strict";Object.defineProperty(Va,"__esModule",{value:!0});Va.Deferred=Va.DeferredState=void 0;var $s;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})($s=Va.DeferredState||(Va.DeferredState={}));var YP=class{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)}};Va.Deferred=YP});var WP=h(zE=>{"use strict";Object.defineProperty(zE,"__esModule",{value:!0});zE.RpcOutputStreamController=void 0;var kW=VP(),Ja=ct(),JP=class{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){Ja.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){Ja.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){Ja.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(){Ja.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:()=>{let e=this._itState;Ja.assert(e,"bad state"),Ja.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 kW.Deferred,e.p.promise)}}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;Ja.assert(n.state==kW.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};zE.RpcOutputStreamController=JP});var jP=h(Zl=>{"use strict";var pQe=Zl&&Zl.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})};Object.defineProperty(Zl,"__esModule",{value:!0});Zl.UnaryCall=void 0;var $P=class{constructor(e,r,n,s,i,o,a){this.method=e,this.requestHeaders=r,this.request=n,this.headers=s,this.response=i,this.status=o,this.trailers=a}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 pQe(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}})}};Zl.UnaryCall=$P});var XP=h(eA=>{"use strict";var hQe=eA&&eA.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})};Object.defineProperty(eA,"__esModule",{value:!0});eA.ServerStreamingCall=void 0;var KP=class{constructor(e,r,n,s,i,o,a){this.method=e,this.requestHeaders=r,this.request=n,this.headers=s,this.responses=i,this.status=o,this.trailers=a}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 hQe(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}})}};eA.ServerStreamingCall=KP});var ev=h(tA=>{"use strict";var fQe=tA&&tA.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})};Object.defineProperty(tA,"__esModule",{value:!0});tA.ClientStreamingCall=void 0;var ZP=class{constructor(e,r,n,s,i,o,a){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=s,this.response=i,this.status=o,this.trailers=a}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 fQe(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}})}};tA.ClientStreamingCall=ZP});var rv=h(rA=>{"use strict";var gQe=rA&&rA.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})};Object.defineProperty(rA,"__esModule",{value:!0});rA.DuplexStreamingCall=void 0;var tv=class{constructor(e,r,n,s,i,o,a){this.method=e,this.requestHeaders=r,this.requests=n,this.headers=s,this.responses=i,this.status=o,this.trailers=a}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 gQe(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}})}};rA.DuplexStreamingCall=tv});var MW=h(iA=>{"use strict";var yQe=iA&&iA.__awaiter||function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})};Object.defineProperty(iA,"__esModule",{value:!0});iA.TestTransport=void 0;var xn=zP(),GE=ct(),TW=WP(),EQe=GP(),CQe=jP(),IQe=XP(),BQe=ev(),QQe=rv(),sA=class t{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 nA?this.lastInput.sent:typeof this.lastInput=="object"?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof nA?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 xn.RpcError?Promise.reject(r):Promise.resolve(r)}promiseSingleResponse(e){if(this.data.response instanceof xn.RpcError)return Promise.reject(this.data.response);let r;return Array.isArray(this.data.response)?(GE.assert(this.data.response.length>0),r=this.data.response[0]):this.data.response!==void 0?r=this.data.response:r=e.O.create(),GE.assert(e.O.is(r)),Promise.resolve(r)}streamResponses(e,r,n){return yQe(this,void 0,void 0,function*(){let s=[];if(this.data.response===void 0)s.push(e.O.create());else if(Array.isArray(this.data.response))for(let i of this.data.response)GE.assert(e.O.is(i)),s.push(i);else this.data.response instanceof xn.RpcError||(GE.assert(e.O.is(this.data.response)),s.push(this.data.response));try{yield Pt(this.responseDelay,n)(void 0)}catch(i){r.notifyError(i);return}if(this.data.response instanceof xn.RpcError){r.notifyError(this.data.response);return}for(let i of s){r.notifyMessage(i);try{yield Pt(this.betweenResponseDelay,n)(void 0)}catch(o){r.notifyError(o);return}}if(this.data.status instanceof xn.RpcError){r.notifyError(this.data.status);return}if(this.data.trailers instanceof xn.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 xn.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 xn.RpcError?Promise.reject(r):Promise.resolve(r)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let r of e)r.catch(()=>{})}mergeOptions(e){return EQe.mergeRpcOptions({},e)}unary(e,r,n){var s;let i=(s=n.meta)!==null&&s!==void 0?s:{},o=this.promiseHeaders().then(Pt(this.headerDelay,n.abort)),a=o.catch(A=>{}).then(Pt(this.responseDelay,n.abort)).then(A=>this.promiseSingleResponse(e)),c=a.catch(A=>{}).then(Pt(this.afterResponseDelay,n.abort)).then(A=>this.promiseStatus()),l=a.catch(A=>{}).then(Pt(this.afterResponseDelay,n.abort)).then(A=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput={single:r},new CQe.UnaryCall(e,i,r,o,a,c,l)}serverStreaming(e,r,n){var s;let i=(s=n.meta)!==null&&s!==void 0?s:{},o=this.promiseHeaders().then(Pt(this.headerDelay,n.abort)),a=new TW.RpcOutputStreamController,c=o.then(Pt(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,n.abort)).then(Pt(this.afterResponseDelay,n.abort)),l=c.then(()=>this.promiseStatus()),A=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,A),this.lastInput={single:r},new IQe.ServerStreamingCall(e,i,r,o,a,l,A)}clientStreaming(e,r){var n;let s=(n=r.meta)!==null&&n!==void 0?n:{},i=this.promiseHeaders().then(Pt(this.headerDelay,r.abort)),o=i.catch(l=>{}).then(Pt(this.responseDelay,r.abort)).then(l=>this.promiseSingleResponse(e)),a=o.catch(l=>{}).then(Pt(this.afterResponseDelay,r.abort)).then(l=>this.promiseStatus()),c=o.catch(l=>{}).then(Pt(this.afterResponseDelay,r.abort)).then(l=>this.promiseTrailers());return this.maybeSuppressUncaught(a,c),this.lastInput=new nA(this.data,r.abort),new BQe.ClientStreamingCall(e,s,this.lastInput,i,o,a,c)}duplex(e,r){var n;let s=(n=r.meta)!==null&&n!==void 0?n:{},i=this.promiseHeaders().then(Pt(this.headerDelay,r.abort)),o=new TW.RpcOutputStreamController,a=i.then(Pt(this.responseDelay,r.abort)).catch(()=>{}).then(()=>this.streamResponses(e,o,r.abort)).then(Pt(this.afterResponseDelay,r.abort)),c=a.then(()=>this.promiseStatus()),l=a.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(c,l),this.lastInput=new nA(this.data,r.abort),new QQe.DuplexStreamingCall(e,s,this.lastInput,i,o,c,l)}};iA.TestTransport=sA;sA.defaultHeaders={responseHeader:"test"};sA.defaultStatus={code:"OK",detail:"all good"};sA.defaultTrailers={responseTrailer:"test"};function Pt(t,e){return r=>new Promise((n,s)=>{if(e?.aborted)s(new xn.RpcError("user cancel","CANCELLED"));else{let i=setTimeout(()=>n(r),t);e&&e.addEventListener("abort",o=>{clearTimeout(i),s(new xn.RpcError("user cancel","CANCELLED"))})}})}var nA=class{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 xn.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(Pt(r,this.abort))}complete(){if(this.data.inputComplete instanceof xn.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(Pt(e,this.abort))}}});var LW=h(wn=>{"use strict";Object.defineProperty(wn,"__esModule",{value:!0});wn.stackDuplexStreamingInterceptors=wn.stackClientStreamingInterceptors=wn.stackServerStreamingInterceptors=wn.stackUnaryInterceptors=wn.stackIntercept=void 0;var xQe=ct();function Em(t,e,r,n,s){var i,o,a,c;if(t=="unary"){let l=(A,u,d)=>e.unary(A,u,d);for(let A of((i=n.interceptors)!==null&&i!==void 0?i:[]).filter(u=>u.interceptUnary).reverse()){let u=l;l=(d,m,p)=>A.interceptUnary(u,d,m,p)}return l(r,s,n)}if(t=="serverStreaming"){let l=(A,u,d)=>e.serverStreaming(A,u,d);for(let A of((o=n.interceptors)!==null&&o!==void 0?o:[]).filter(u=>u.interceptServerStreaming).reverse()){let u=l;l=(d,m,p)=>A.interceptServerStreaming(u,d,m,p)}return l(r,s,n)}if(t=="clientStreaming"){let l=(A,u)=>e.clientStreaming(A,u);for(let A of((a=n.interceptors)!==null&&a!==void 0?a:[]).filter(u=>u.interceptClientStreaming).reverse()){let u=l;l=(d,m)=>A.interceptClientStreaming(u,d,m)}return l(r,n)}if(t=="duplex"){let l=(A,u)=>e.duplex(A,u);for(let A of((c=n.interceptors)!==null&&c!==void 0?c:[]).filter(u=>u.interceptDuplex).reverse()){let u=l;l=(d,m)=>A.interceptDuplex(u,d,m)}return l(r,n)}xQe.assertNever(t)}wn.stackIntercept=Em;function wQe(t,e,r,n){return Em("unary",t,e,n,r)}wn.stackUnaryInterceptors=wQe;function bQe(t,e,r,n){return Em("serverStreaming",t,e,n,r)}wn.stackServerStreamingInterceptors=bQe;function NQe(t,e,r){return Em("clientStreaming",t,e,r)}wn.stackClientStreamingInterceptors=NQe;function SQe(t,e,r){return Em("duplex",t,e,r)}wn.stackDuplexStreamingInterceptors=SQe});var _W=h(YE=>{"use strict";Object.defineProperty(YE,"__esModule",{value:!0});YE.ServerCallContextController=void 0;var nv=class{constructor(e,r,n,s,i={code:"OK",detail:""}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=r,this.deadline=n,this.trailers={},this._sendRH=s,this.status=i}notifyCancelled(){if(!this._cancelled){this._cancelled=!0;for(let e of this._listeners)e()}}sendResponseHeaders(e){this._sendRH(e)}get cancelled(){return this._cancelled}onCancel(e){let r=this._listeners;return r.push(e),()=>{let n=r.indexOf(e);n>=0&&r.splice(n,1)}}};YE.ServerCallContextController=nv});var UW=h(Ze=>{"use strict";Object.defineProperty(Ze,"__esModule",{value:!0});var RQe=vW();Object.defineProperty(Ze,"ServiceType",{enumerable:!0,get:function(){return RQe.ServiceType}});var sv=OP();Object.defineProperty(Ze,"readMethodOptions",{enumerable:!0,get:function(){return sv.readMethodOptions}});Object.defineProperty(Ze,"readMethodOption",{enumerable:!0,get:function(){return sv.readMethodOption}});Object.defineProperty(Ze,"readServiceOption",{enumerable:!0,get:function(){return sv.readServiceOption}});var PQe=zP();Object.defineProperty(Ze,"RpcError",{enumerable:!0,get:function(){return PQe.RpcError}});var vQe=GP();Object.defineProperty(Ze,"mergeRpcOptions",{enumerable:!0,get:function(){return vQe.mergeRpcOptions}});var DQe=WP();Object.defineProperty(Ze,"RpcOutputStreamController",{enumerable:!0,get:function(){return DQe.RpcOutputStreamController}});var kQe=MW();Object.defineProperty(Ze,"TestTransport",{enumerable:!0,get:function(){return kQe.TestTransport}});var FW=VP();Object.defineProperty(Ze,"Deferred",{enumerable:!0,get:function(){return FW.Deferred}});Object.defineProperty(Ze,"DeferredState",{enumerable:!0,get:function(){return FW.DeferredState}});var TQe=rv();Object.defineProperty(Ze,"DuplexStreamingCall",{enumerable:!0,get:function(){return TQe.DuplexStreamingCall}});var MQe=ev();Object.defineProperty(Ze,"ClientStreamingCall",{enumerable:!0,get:function(){return MQe.ClientStreamingCall}});var LQe=XP();Object.defineProperty(Ze,"ServerStreamingCall",{enumerable:!0,get:function(){return LQe.ServerStreamingCall}});var _Qe=jP();Object.defineProperty(Ze,"UnaryCall",{enumerable:!0,get:function(){return _Qe.UnaryCall}});var Cm=LW();Object.defineProperty(Ze,"stackIntercept",{enumerable:!0,get:function(){return Cm.stackIntercept}});Object.defineProperty(Ze,"stackDuplexStreamingInterceptors",{enumerable:!0,get:function(){return Cm.stackDuplexStreamingInterceptors}});Object.defineProperty(Ze,"stackClientStreamingInterceptors",{enumerable:!0,get:function(){return Cm.stackClientStreamingInterceptors}});Object.defineProperty(Ze,"stackServerStreamingInterceptors",{enumerable:!0,get:function(){return Cm.stackServerStreamingInterceptors}});Object.defineProperty(Ze,"stackUnaryInterceptors",{enumerable:!0,get:function(){return Cm.stackUnaryInterceptors}});var FQe=_W();Object.defineProperty(Ze,"ServerCallContextController",{enumerable:!0,get:function(){return FQe.ServerCallContextController}})});var y8=h((r4e,Mi)=>{var be=require("fs"),ZE=require("os"),Bt=require("path"),t8=require("crypto"),Ks={fs:be.constants,os:ZE.constants},r8="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",o8=/XXXXXX/,jQe=3,a8=(Ks.O_CREAT||Ks.fs.O_CREAT)|(Ks.O_EXCL||Ks.fs.O_EXCL)|(Ks.O_RDWR||Ks.fs.O_RDWR),KQe=ZE.platform()==="win32",XQe=Ks.EBADF||Ks.os.errno.EBADF,ZQe=Ks.ENOENT||Ks.os.errno.ENOENT,c8=448,l8=384,exe="exit",lA=[],A8=be.rmdirSync.bind(be),u8=!1;function txe(t,e){return be.rm(t,{recursive:!0},e)}function d8(t){return be.rmSync(t,{recursive:!0})}function _v(t,e){let r=AA(t,e),n=r[0],s=r[1];uxe(n,function(i,o){if(i)return s(i);let a=o.tries;(function c(){try{let l=p8(o);be.stat(l,function(A){if(!A)return a-- >0?c():s(new Error("Could not get a unique tmp filename, max tries reached "+l));s(null,l)})}catch(l){s(l)}})()})}function Fv(t){let e=AA(t),r=e[0],n=dxe(r),s=n.tries;do{let i=p8(n);try{be.statSync(i)}catch{return i}}while(s-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function rxe(t,e){let r=AA(t,e),n=r[0],s=r[1];_v(n,function(o,a){if(o)return s(o);be.open(a,a8,n.mode||l8,function(l,A){if(l)return s(l);if(n.discardDescriptor)return be.close(A,function(d){return s(d,a,void 0,Mv(a,-1,n,!1))});{let u=n.discardDescriptor||n.detachDescriptor;s(null,a,A,Mv(a,u?-1:A,n,!1))}})})}function nxe(t){let e=AA(t),r=e[0],n=r.discardDescriptor||r.detachDescriptor,s=Fv(r),i=be.openSync(s,a8,r.mode||l8);return r.discardDescriptor&&(be.closeSync(i),i=void 0),{name:s,fd:i,removeCallback:Mv(s,n?-1:i,r,!0)}}function sxe(t,e){let r=AA(t,e),n=r[0],s=r[1];_v(n,function(o,a){if(o)return s(o);be.mkdir(a,n.mode||c8,function(l){if(l)return s(l);s(null,a,m8(a,n,!1))})})}function ixe(t){let e=AA(t),r=e[0],n=Fv(r);return be.mkdirSync(n,r.mode||c8),{name:n,removeCallback:m8(n,r,!0)}}function oxe(t,e){let r=function(n){if(n&&!Lv(n))return e(n);e()};0<=t[0]?be.close(t[0],function(){be.unlink(t[1],r)}):be.unlink(t[1],r)}function axe(t){let e=null;try{0<=t[0]&&be.closeSync(t[0])}catch(r){if(!mxe(r)&&!Lv(r))throw r}finally{try{be.unlinkSync(t[1])}catch(r){Lv(r)||(e=r)}}if(e!==null)throw e}function Mv(t,e,r,n){let s=XE(axe,[e,t],n),i=XE(oxe,[e,t],n,s);return r.keep||lA.unshift(s),n?s:i}function m8(t,e,r){let n=e.unsafeCleanup?txe:be.rmdir.bind(be),s=e.unsafeCleanup?d8:A8,i=XE(s,t,r),o=XE(n,t,r,i);return e.keep||lA.unshift(i),r?i:o}function XE(t,e,r,n){let s=!1;return function i(o){if(!s){let a=n||i,c=lA.indexOf(a);return c>=0&&lA.splice(c,1),s=!0,r||t===A8||t===d8?t(e):t(e,o||function(){})}}}function cxe(){if(u8)for(;lA.length;)try{lA[0]()}catch{}}function n8(t){let e=[],r=null;try{r=t8.randomBytes(t)}catch{r=t8.pseudoRandomBytes(t)}for(let n=0;n<t;n++)e.push(r8[r[n]%r8.length]);return e.join("")}function xr(t){return typeof t>"u"}function AA(t,e){if(typeof t=="function")return[{},t];if(xr(t))return[{},e];let r={};for(let n of Object.getOwnPropertyNames(t))r[n]=t[n];return[r,e]}function lxe(t,e,r){let n=Bt.isAbsolute(t)?t:Bt.join(e,t);be.stat(n,function(s){s?be.realpath(Bt.dirname(n),function(i,o){if(i)return r(i);r(null,Bt.join(o,Bt.basename(n)))}):be.realpath(n,r)})}function Axe(t,e){let r=Bt.isAbsolute(t)?t:Bt.join(e,t);try{return be.statSync(r),be.realpathSync(r)}catch{let s=be.realpathSync(Bt.dirname(r));return Bt.join(s,Bt.basename(r))}}function p8(t){let e=t.tmpdir;if(!xr(t.name))return Bt.join(e,t.dir,t.name);if(!xr(t.template))return Bt.join(e,t.dir,t.template).replace(o8,n8(6));let r=[t.prefix?t.prefix:"tmp","-",process.pid,"-",n8(12),t.postfix?"-"+t.postfix:""].join("");return Bt.join(e,t.dir,r)}function Tv(t){if(t.includes(".."))throw new Error("Relative value not allowed");return t}function h8(t){if(!xr(t.name)){let e=t.name;if(Bt.isAbsolute(e))throw new Error(`name option must not contain an absolute path, found "${e}".`);let r=Bt.basename(e);if(r===".."||r==="."||r!==e)throw new Error(`name option must not contain a path, found "${e}".`)}if(!xr(t.template)&&!t.template.match(o8))throw new Error(`Invalid template, found "${t.template}".`);if(!xr(t.tries)&&isNaN(t.tries)||t.tries<0)throw new Error(`Invalid tries, found "${t.tries}".`);t.tries=xr(t.name)?t.tries||jQe:1,t.keep=!!t.keep,t.detachDescriptor=!!t.detachDescriptor,t.discardDescriptor=!!t.discardDescriptor,t.unsafeCleanup=!!t.unsafeCleanup,t.prefix=xr(t.prefix)?"":Tv(t.prefix),t.postfix=xr(t.postfix)?"":Tv(t.postfix),t.template=xr(t.template)?void 0:Tv(t.template)}function s8(t,e,r,n){if(xr(e))return n(null);lxe(e,r,function(s,i){if(s)return n(s);let o=Bt.relative(r,i);if(o.startsWith("..")||Bt.isAbsolute(o))return n(new Error(`${t} option must be relative to "${r}", found "${o}".`));n(null,o)})}function i8(t,e,r){if(xr(e))return;let n=Axe(e,r),s=Bt.relative(r,n);if(s.startsWith("..")||Bt.isAbsolute(s))throw new Error(`${t} option must be relative to "${r}", found "${s}".`);return s}function uxe(t,e){hxe(t,function(r,n){if(r)return e(r);t.tmpdir=n;try{h8(t,n)}catch(s){return e(s)}s8("dir",t.dir,n,function(s,i){if(s)return e(s);t.dir=xr(i)?"":i,s8("template",t.template,n,function(o,a){if(o)return e(o);t.template=a,e(null,t)})})})}function dxe(t){let e=t.tmpdir=g8(t);h8(t,e);let r=i8("dir",t.dir,e);return t.dir=xr(r)?"":r,t.template=i8("template",t.template,e),t}function mxe(t){return f8(t,-XQe,"EBADF")}function Lv(t){return f8(t,-ZQe,"ENOENT")}function f8(t,e,r){return KQe?t.code===r:t.code===r&&t.errno===e}function pxe(){u8=!0}function hxe(t,e){return be.realpath(t&&t.tmpdir||ZE.tmpdir(),e)}function g8(t){return be.realpathSync(t&&t.tmpdir||ZE.tmpdir())}process.addListener(exe,cxe);Object.defineProperty(Mi.exports,"tmpdir",{enumerable:!0,configurable:!1,get:function(){return g8()}});Mi.exports.dir=sxe;Mi.exports.dirSync=ixe;Mi.exports.file=rxe;Mi.exports.fileSync=nxe;Mi.exports.tmpName=_v;Mi.exports.tmpNameSync=Fv;Mi.exports.setGracefulCleanup=pxe});var sr=h(Kr=>{"use strict";Kr.__esModule=!0;Kr.extend=B8;Kr.indexOf=Cxe;Kr.escapeExpression=Ixe;Kr.isEmpty=Bxe;Kr.createFrame=Qxe;Kr.blockParams=xxe;Kr.appendContextPath=wxe;var fxe={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},gxe=/[&<>"'`=]/g,yxe=/[&<>"'`=]/;function Exe(t){return fxe[t]}function B8(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}var qv=Object.prototype.toString;Kr.toString=qv;var Ov=function(e){return typeof e=="function"};Ov(/x/)&&(Kr.isFunction=Ov=function(t){return typeof t=="function"&&qv.call(t)==="[object Function]"});Kr.isFunction=Ov;var Q8=Array.isArray||function(t){return t&&typeof t=="object"?qv.call(t)==="[object Array]":!1};Kr.isArray=Q8;function Cxe(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function Ixe(t){if(typeof t!="string"){if(t&&t.toHTML)return t.toHTML();if(t==null)return"";if(!t)return t+"";t=""+t}return yxe.test(t)?t.replace(gxe,Exe):t}function Bxe(t){return!t&&t!==0?!0:!!(Q8(t)&&t.length===0)}function Qxe(t){var e=B8({},t);return e._parent=t,e}function xxe(t,e){return t.path=e,t}function wxe(t,e){return(t?t+".":"")+e}});var Xr=h((tC,x8)=>{"use strict";tC.__esModule=!0;var Hv=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function zv(t,e){var r=e&&e.loc,n=void 0,s=void 0,i=void 0,o=void 0;r&&(n=r.start.line,s=r.end.line,i=r.start.column,o=r.end.column,t+=" - "+n+":"+i);for(var a=Error.prototype.constructor.call(this,t),c=0;c<Hv.length;c++)this[Hv[c]]=a[Hv[c]];Error.captureStackTrace&&Error.captureStackTrace(this,zv);try{r&&(this.lineNumber=n,this.endLineNumber=s,Object.defineProperty?(Object.defineProperty(this,"column",{value:i,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:o,enumerable:!0})):(this.column=i,this.endColumn=o))}catch{}}zv.prototype=new Error;tC.default=zv;x8.exports=tC.default});var b8=h((rC,w8)=>{"use strict";rC.__esModule=!0;var Gv=sr();rC.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(Gv.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=Gv.createFrame(r.data);i.contextPath=Gv.appendContextPath(r.data.contextPath,r.name),r={data:i}}return s(e,r)})};w8.exports=rC.default});var S8=h((nC,N8)=>{"use strict";nC.__esModule=!0;function bxe(t){return t&&t.__esModule?t:{default:t}}var xm=sr(),Nxe=Xr(),Sxe=bxe(Nxe);nC.default=function(t){t.registerHelper("each",function(e,r){if(!r)throw new Sxe.default("Must pass iterator to #each");var n=r.fn,s=r.inverse,i=0,o="",a=void 0,c=void 0;r.data&&r.ids&&(c=xm.appendContextPath(r.data.contextPath,r.ids[0])+"."),xm.isFunction(e)&&(e=e.call(this)),r.data&&(a=xm.createFrame(r.data));function l(p,f,E){a&&(a.key=p,a.index=f,a.first=f===0,a.last=!!E,c&&(a.contextPath=c+p)),o=o+n(e[p],{data:a,blockParams:xm.blockParams([e[p],p],[c+p,null])})}if(e&&typeof e=="object")if(xm.isArray(e))for(var A=e.length;i<A;i++)i in e&&l(i,i,i===e.length-1);else if(typeof Symbol=="function"&&e[Symbol.iterator]){for(var u=[],d=e[Symbol.iterator](),m=d.next();!m.done;m=d.next())u.push(m.value);e=u;for(var A=e.length;i<A;i++)l(i,i,i===e.length-1)}else(function(){var p=void 0;Object.keys(e).forEach(function(f){p!==void 0&&l(p,i-1),p=f,i++}),p!==void 0&&l(p,i-1,!0)})();return i===0&&(o=s(this)),o})};N8.exports=nC.default});var P8=h((sC,R8)=>{"use strict";sC.__esModule=!0;function Rxe(t){return t&&t.__esModule?t:{default:t}}var Pxe=Xr(),vxe=Rxe(Pxe);sC.default=function(t){t.registerHelper("helperMissing",function(){if(arguments.length!==1)throw new vxe.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})};R8.exports=sC.default});var T8=h((iC,k8)=>{"use strict";iC.__esModule=!0;function Dxe(t){return t&&t.__esModule?t:{default:t}}var v8=sr(),kxe=Xr(),D8=Dxe(kxe);iC.default=function(t){t.registerHelper("if",function(e,r){if(arguments.length!=2)throw new D8.default("#if requires exactly one argument");return v8.isFunction(e)&&(e=e.call(this)),!r.hash.includeZero&&!e||v8.isEmpty(e)?r.inverse(this):r.fn(this)}),t.registerHelper("unless",function(e,r){if(arguments.length!=2)throw new D8.default("#unless requires exactly one argument");return t.helpers.if.call(this,e,{fn:r.inverse,inverse:r.fn,hash:r.hash})})};k8.exports=iC.default});var L8=h((oC,M8)=>{"use strict";oC.__esModule=!0;oC.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)})};M8.exports=oC.default});var F8=h((aC,_8)=>{"use strict";aC.__esModule=!0;aC.default=function(t){t.registerHelper("lookup",function(e,r,n){return e&&n.lookupProperty(e,r)})};_8.exports=aC.default});var O8=h((cC,U8)=>{"use strict";cC.__esModule=!0;function Txe(t){return t&&t.__esModule?t:{default:t}}var wm=sr(),Mxe=Xr(),Lxe=Txe(Mxe);cC.default=function(t){t.registerHelper("with",function(e,r){if(arguments.length!=2)throw new Lxe.default("#with requires exactly one argument");wm.isFunction(e)&&(e=e.call(this));var n=r.fn;if(wm.isEmpty(e))return r.inverse(this);var s=r.data;return r.data&&r.ids&&(s=wm.createFrame(r.data),s.contextPath=wm.appendContextPath(r.data.contextPath,r.ids[0])),n(e,{data:s,blockParams:wm.blockParams([e],[s&&s.contextPath])})})};U8.exports=cC.default});var Yv=h(lC=>{"use strict";lC.__esModule=!0;lC.registerDefaultHelpers=Kxe;lC.moveHelperToHooks=Xxe;function Ka(t){return t&&t.__esModule?t:{default:t}}var _xe=b8(),Fxe=Ka(_xe),Uxe=S8(),Oxe=Ka(Uxe),qxe=P8(),Hxe=Ka(qxe),zxe=T8(),Gxe=Ka(zxe),Yxe=L8(),Vxe=Ka(Yxe),Jxe=F8(),Wxe=Ka(Jxe),$xe=O8(),jxe=Ka($xe);function Kxe(t){Fxe.default(t),Oxe.default(t),Hxe.default(t),Gxe.default(t),Vxe.default(t),Wxe.default(t),jxe.default(t)}function Xxe(t,e,r){t.helpers[e]&&(t.hooks[e]=t.helpers[e],r||(t.helpers[e]=void 0))}});var H8=h((AC,q8)=>{"use strict";AC.__esModule=!0;var Zxe=sr();AC.default=function(t){t.registerDecorator("inline",function(e,r,n,s){var i=e;return r.partials||(r.partials={},i=function(o,a){var c=n.partials;n.partials=Zxe.extend({},c,r.partials);var l=e(o,a);return n.partials=c,l}),r.partials[s.args[0]]=s.fn,i})};q8.exports=AC.default});var z8=h(Vv=>{"use strict";Vv.__esModule=!0;Vv.registerDefaultDecorators=nwe;function ewe(t){return t&&t.__esModule?t:{default:t}}var twe=H8(),rwe=ewe(twe);function nwe(t){rwe.default(t)}});var Jv=h((uC,G8)=>{"use strict";uC.__esModule=!0;var swe=sr(),uA={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if(typeof e=="string"){var r=swe.indexOf(uA.methodMap,e.toLowerCase());r>=0?e=r:e=parseInt(e,10)}return e},log:function(e){if(e=uA.lookupLevel(e),typeof console<"u"&&uA.lookupLevel(uA.level)<=e){var r=uA.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)}}};uC.default=uA;G8.exports=uC.default});var Wv=h(bm=>{"use strict";bm.__esModule=!0;bm.createProtoAccessControl=cwe;bm.resultIsAllowed=lwe;bm.resetLoggedProperties=uwe;function iwe(t){return t&&t.__esModule?t:{default:t}}var Y8=sr(),owe=Jv(),awe=iwe(owe),dC=Object.create(null);function cwe(t){var e=Object.create(null);e.__proto__=!1,Y8.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,Y8.extend(r,t.allowedProtoMethods),{properties:{whitelist:e,defaultValue:t.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:t.allowProtoMethodsByDefault}}}function lwe(t,e,r){return V8(typeof t=="function"?e.methods:e.properties,r)}function V8(t,e){return t.whitelist[e]!==void 0?t.whitelist[e]===!0:t.defaultValue!==void 0?t.defaultValue:(Awe(e),!1)}function Awe(t){dC[t]!==!0&&(dC[t]=!0,awe.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`))}function uwe(){Object.keys(dC).forEach(function(t){delete dC[t]})}});var pC=h(Xs=>{"use strict";Xs.__esModule=!0;Xs.HandlebarsEnvironment=Kv;function J8(t){return t&&t.__esModule?t:{default:t}}var Xa=sr(),dwe=Xr(),$v=J8(dwe),mwe=Yv(),pwe=z8(),hwe=Jv(),mC=J8(hwe),fwe=Wv(),gwe="4.7.9";Xs.VERSION=gwe;var ywe=8;Xs.COMPILER_REVISION=ywe;var Ewe=7;Xs.LAST_COMPATIBLE_COMPILER_REVISION=Ewe;var Cwe={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=Cwe;var jv="[object Object]";function Kv(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},mwe.registerDefaultHelpers(this),pwe.registerDefaultDecorators(this)}Kv.prototype={constructor:Kv,logger:mC.default,log:mC.default.log,registerHelper:function(e,r){if(Xa.toString.call(e)===jv){if(r)throw new $v.default("Arg not supported with multiple helpers");Xa.extend(this.helpers,e)}else this.helpers[e]=r},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,r){if(Xa.toString.call(e)===jv)Xa.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}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,r){if(Xa.toString.call(e)===jv){if(r)throw new $v.default("Arg not supported with multiple decorators");Xa.extend(this.decorators,e)}else this.decorators[e]=r},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){fwe.resetLoggedProperties()}};var Iwe=mC.default.log;Xs.log=Iwe;Xs.createFrame=Xa.createFrame;Xs.logger=mC.default});var $8=h((hC,W8)=>{"use strict";hC.__esModule=!0;function Xv(t){this.string=t}Xv.prototype.toString=Xv.prototype.toHTML=function(){return""+this.string};hC.default=Xv;W8.exports=hC.default});var j8=h(Zv=>{"use strict";Zv.__esModule=!0;Zv.wrapHelper=Bwe;function Bwe(t,e){if(typeof t!="function")return t;var r=function(){var s=arguments[arguments.length-1];return arguments[arguments.length-1]=e(s),t.apply(this,arguments)};return r}});var r$=h(Mo=>{"use strict";Mo.__esModule=!0;Mo.checkRevision=Swe;Mo.template=Rwe;Mo.wrapProgram=fC;Mo.resolvePartial=Pwe;Mo.invokePartial=vwe;Mo.noop=e$;function Qwe(t){return t&&t.__esModule?t:{default:t}}function xwe(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}var wwe=sr(),dA=xwe(wwe),bwe=Xr(),Li=Qwe(bwe),_i=pC(),K8=Yv(),Nwe=j8(),X8=Wv();function Swe(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 Li.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 Li.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}function Rwe(t,e){if(!e)throw new Li.default("No environment passed to template");if(!t||!t.main)throw new Li.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(o,a,c){c.hash&&(a=dA.extend({},a,c.hash),c.ids&&(c.ids[0]=!0)),o=e.VM.resolvePartial.call(this,o,a,c),c.hooks=this.hooks,c.protoAccessControl=this.protoAccessControl;var l=e.VM.invokePartial.call(this,o,a,c);if(l==null&&e.compile&&(c.partials[c.name]=e.compile(o,t.compilerOptions,e),l=c.partials[c.name](a,c)),l!=null){if(c.indent){for(var A=l.split(`
|
|
`),u=0,d=A.length;u<d&&!(!A[u]&&u+1===d);u++)A[u]=c.indent+A[u];l=A.join(`
|
|
`)}return l}else throw new Li.default("The partial "+c.name+" could not be compiled when running in runtime-only mode")}var s={strict:function(a,c,l){if(!a||!(c in a))throw new Li.default('"'+c+'" not defined in '+a,{loc:l});return s.lookupProperty(a,c)},lookupProperty:function(a,c){var l=a[c];if(l==null||Object.prototype.hasOwnProperty.call(a,c)||X8.resultIsAllowed(l,s.protoAccessControl,c))return l},lookup:function(a,c){for(var l=a.length,A=0;A<l;A++){var u=a[A]&&s.lookupProperty(a[A],c);if(u!=null)return u}},lambda:function(a,c){return typeof a=="function"?a.call(c):a},escapeExpression:dA.escapeExpression,invokePartial:n,fn:function(a){var c=t[a];return c.decorator=t[a+"_d"],c},programs:[],program:function(a,c,l,A,u){var d=this.programs[a],m=this.fn(a);return c||u||A||l?d=fC(this,a,m,c,l,A,u):d||(d=this.programs[a]=fC(this,a,m)),d},data:function(a,c){for(;a&&c--;)a=a._parent;return a},mergeIfNeeded:function(a,c){var l=a||c;return a&&c&&a!==c&&(l=dA.extend({},c,a)),l},nullContext:Object.seal({}),noop:e.VM.noop,compilerInfo:t.compiler};function i(o){var a=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],c=a.data;i._setup(a),!a.partial&&t.useData&&(c=Dwe(o,c));var l=void 0,A=t.useBlockParams?[]:void 0;t.useDepths&&(a.depths?l=o!=a.depths[0]?[o].concat(a.depths):a.depths:l=[o]);function u(d){return""+t.main(s,d,s.helpers,s.partials,c,A,l)}return u=t$(t.main,u,s,a.depths||[],c,A),u(o,a)}return i.isTop=!0,i._setup=function(o){if(o.partial)s.protoAccessControl=o.protoAccessControl,s.helpers=o.helpers,s.partials=o.partials,s.decorators=o.decorators,s.hooks=o.hooks;else{var a={};Z8(a,e.helpers,s),Z8(a,o.helpers,s),s.helpers=a,t.usePartial&&(s.partials=s.mergeIfNeeded(o.partials,e.partials)),(t.usePartial||t.useDecorators)&&(s.decorators=dA.extend({},e.decorators,o.decorators)),s.hooks={},s.protoAccessControl=X8.createProtoAccessControl(o);var c=o.allowCallsToHelperMissing||r;K8.moveHelperToHooks(s,"helperMissing",c),K8.moveHelperToHooks(s,"blockHelperMissing",c)}},i._child=function(o,a,c,l){if(t.useBlockParams&&!c)throw new Li.default("must pass block params");if(t.useDepths&&!l)throw new Li.default("must pass parent depths");return fC(s,o,t[o],a,0,c,l)},i}function fC(t,e,r,n,s,i,o){function a(c){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],A=o;return o&&c!=o[0]&&!(c===t.nullContext&&o[0]===null)&&(A=[c].concat(o)),r(t,c,t.helpers,t.partials,l.data||n,i&&[l.blockParams].concat(i),A)}return a=t$(r,a,t,o,n,i),a.program=e,a.depth=o?o.length:0,a.blockParams=s||0,a}function Pwe(t,e,r){return t?!t.call&&!r.name&&(r.name=t,t=gC(r.partials,t)):r.name==="@partial-block"?t=gC(r.data,"partial-block"):t=gC(r.partials,r.name),t}function vwe(t,e,r){var n=gC(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!==e$&&(function(){r.data=_i.createFrame(r.data);var i=r.fn;s=r.data["partial-block"]=function(a){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return c.data=_i.createFrame(c.data),c.data["partial-block"]=n,i(a,c)},i.partials&&(r.partials=dA.extend({},r.partials,i.partials))})(),t===void 0&&s&&(t=s),t===void 0)throw new Li.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}function e$(){return""}function gC(t,e){if(t&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}function Dwe(t,e){return(!e||!("root"in e))&&(e=e?_i.createFrame(e):{},e.root=t),e}function t$(t,e,r,n,s,i){if(t.decorator){var o={};e=t.decorator(e,o,r,n&&n[0],s,i,n),dA.extend(e,o)}return e}function Z8(t,e,r){e&&Object.keys(e).forEach(function(n){var s=e[n];t[n]=kwe(s,r)})}function kwe(t,e){var r=e.lookupProperty;return Nwe.wrapHelper(t,function(n){return n.lookupProperty=r,n})}});var eD=h((yC,n$)=>{"use strict";yC.__esModule=!0;yC.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}};n$.exports=yC.default});var c$=h((EC,a$)=>{"use strict";EC.__esModule=!0;function rD(t){return t&&t.__esModule?t:{default:t}}function nD(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}var Twe=pC(),s$=nD(Twe),Mwe=$8(),Lwe=rD(Mwe),_we=Xr(),Fwe=rD(_we),Uwe=sr(),tD=nD(Uwe),Owe=r$(),i$=nD(Owe),qwe=eD(),Hwe=rD(qwe);function o$(){var t=new s$.HandlebarsEnvironment;return tD.extend(t,s$),t.SafeString=Lwe.default,t.Exception=Fwe.default,t.Utils=tD,t.escapeExpression=tD.escapeExpression,t.VM=i$,t.template=function(e){return i$.template(e,t)},t}var Nm=o$();Nm.create=o$;Hwe.default(Nm);Nm.default=Nm;EC.default=Nm;a$.exports=EC.default});var sD=h((CC,A$)=>{"use strict";CC.__esModule=!0;var l$={helpers:{helperExpression:function(e){return e.type==="SubExpression"||(e.type==="MustacheStatement"||e.type==="BlockStatement")&&!!(e.params&&e.params.length||e.hash)},scopedId:function(e){return/^\.|this\b/.test(e.original)},simpleId:function(e){return e.parts.length===1&&!l$.helpers.scopedId(e)&&!e.depth}}};CC.default=l$;A$.exports=CC.default});var d$=h((IC,u$)=>{"use strict";IC.__esModule=!0;var zwe=(function(){var t={trace:function(){},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:function(s,i,o,a,c,l,A){var u=l.length-1;switch(c){case 1:return l[u-1];case 2:this.$=a.prepareProgram(l[u]);break;case 3:this.$=l[u];break;case 4:this.$=l[u];break;case 5:this.$=l[u];break;case 6:this.$=l[u];break;case 7:this.$=l[u];break;case 8:this.$=l[u];break;case 9:this.$={type:"CommentStatement",value:a.stripComment(l[u]),strip:a.stripFlags(l[u],l[u]),loc:a.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:l[u],value:l[u],loc:a.locInfo(this._$)};break;case 11:this.$=a.prepareRawBlock(l[u-2],l[u-1],l[u],this._$);break;case 12:this.$={path:l[u-3],params:l[u-2],hash:l[u-1]};break;case 13:this.$=a.prepareBlock(l[u-3],l[u-2],l[u-1],l[u],!1,this._$);break;case 14:this.$=a.prepareBlock(l[u-3],l[u-2],l[u-1],l[u],!0,this._$);break;case 15:this.$={open:l[u-5],path:l[u-4],params:l[u-3],hash:l[u-2],blockParams:l[u-1],strip:a.stripFlags(l[u-5],l[u])};break;case 16:this.$={path:l[u-4],params:l[u-3],hash:l[u-2],blockParams:l[u-1],strip:a.stripFlags(l[u-5],l[u])};break;case 17:this.$={path:l[u-4],params:l[u-3],hash:l[u-2],blockParams:l[u-1],strip:a.stripFlags(l[u-5],l[u])};break;case 18:this.$={strip:a.stripFlags(l[u-1],l[u-1]),program:l[u]};break;case 19:var d=a.prepareBlock(l[u-2],l[u-1],l[u],l[u],!1,this._$),m=a.prepareProgram([d],l[u-1].loc);m.chained=!0,this.$={strip:l[u-2].strip,program:m,chain:!0};break;case 20:this.$=l[u];break;case 21:this.$={path:l[u-1],strip:a.stripFlags(l[u-2],l[u])};break;case 22:this.$=a.prepareMustache(l[u-3],l[u-2],l[u-1],l[u-4],a.stripFlags(l[u-4],l[u]),this._$);break;case 23:this.$=a.prepareMustache(l[u-3],l[u-2],l[u-1],l[u-4],a.stripFlags(l[u-4],l[u]),this._$);break;case 24:this.$={type:"PartialStatement",name:l[u-3],params:l[u-2],hash:l[u-1],indent:"",strip:a.stripFlags(l[u-4],l[u]),loc:a.locInfo(this._$)};break;case 25:this.$=a.preparePartialBlock(l[u-2],l[u-1],l[u],this._$);break;case 26:this.$={path:l[u-3],params:l[u-2],hash:l[u-1],strip:a.stripFlags(l[u-4],l[u])};break;case 27:this.$=l[u];break;case 28:this.$=l[u];break;case 29:this.$={type:"SubExpression",path:l[u-3],params:l[u-2],hash:l[u-1],loc:a.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:l[u],loc:a.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:a.id(l[u-2]),value:l[u],loc:a.locInfo(this._$)};break;case 32:this.$=a.id(l[u-1]);break;case 33:this.$=l[u];break;case 34:this.$=l[u];break;case 35:this.$={type:"StringLiteral",value:l[u],original:l[u],loc:a.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(l[u]),original:Number(l[u]),loc:a.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:l[u]==="true",original:l[u]==="true",loc:a.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:a.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:a.locInfo(this._$)};break;case 40:this.$=l[u];break;case 41:this.$=l[u];break;case 42:this.$=a.preparePath(!0,l[u],this._$);break;case 43:this.$=a.preparePath(!1,l[u],this._$);break;case 44:l[u-2].push({part:a.id(l[u]),original:l[u],separator:l[u-1]}),this.$=l[u-2];break;case 45:this.$=[{part:a.id(l[u]),original:l[u]}];break;case 46:this.$=[];break;case 47:l[u-1].push(l[u]);break;case 48:this.$=[];break;case 49:l[u-1].push(l[u]);break;case 50:this.$=[];break;case 51:l[u-1].push(l[u]);break;case 58:this.$=[];break;case 59:l[u-1].push(l[u]);break;case 64:this.$=[];break;case 65:l[u-1].push(l[u]);break;case 70:this.$=[];break;case 71:l[u-1].push(l[u]);break;case 78:this.$=[];break;case 79:l[u-1].push(l[u]);break;case 82:this.$=[];break;case 83:l[u-1].push(l[u]);break;case 86:this.$=[];break;case 87:l[u-1].push(l[u]);break;case 90:this.$=[];break;case 91:l[u-1].push(l[u]);break;case 94:this.$=[];break;case 95:l[u-1].push(l[u]);break;case 98:this.$=[l[u]];break;case 99:l[u-1].push(l[u]);break;case 100:this.$=[l[u]];break;case 101:l[u-1].push(l[u]);break}},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:function(s,i){throw new Error(s)},parse:function(s){var i=this,o=[0],a=[null],c=[],l=this.table,A="",u=0,d=0,m=0,p=2,f=1;this.lexer.setInput(s),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,typeof this.lexer.yylloc>"u"&&(this.lexer.yylloc={});var E=this.lexer.yylloc;c.push(E);var g=this.lexer.options&&this.lexer.options.ranges;typeof this.yy.parseError=="function"&&(this.parseError=this.yy.parseError);function y(He){o.length=o.length-2*He,a.length=a.length-He,c.length=c.length-He}function C(){var He;return He=i.lexer.lex()||1,typeof He!="number"&&(He=i.symbols_[He]||He),He}for(var I,w,D,_,ae,ge,Be={},H,ee,F,de;;){if(D=o[o.length-1],this.defaultActions[D]?_=this.defaultActions[D]:((I===null||typeof I>"u")&&(I=C()),_=l[D]&&l[D][I]),typeof _>"u"||!_.length||!_[0]){var At="";if(!m){de=[];for(H in l[D])this.terminals_[H]&&H>2&&de.push("'"+this.terminals_[H]+"'");this.lexer.showPosition?At="Parse error on line "+(u+1)+`:
|
|
`+this.lexer.showPosition()+`
|
|
Expecting `+de.join(", ")+", got '"+(this.terminals_[I]||I)+"'":At="Parse error on line "+(u+1)+": Unexpected "+(I==1?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(At,{text:this.lexer.match,token:this.terminals_[I]||I,line:this.lexer.yylineno,loc:E,expected:de})}}if(_[0]instanceof Array&&_.length>1)throw new Error("Parse Error: multiple actions possible at state: "+D+", token: "+I);switch(_[0]){case 1:o.push(I),a.push(this.lexer.yytext),c.push(this.lexer.yylloc),o.push(_[1]),I=null,w?(I=w,w=null):(d=this.lexer.yyleng,A=this.lexer.yytext,u=this.lexer.yylineno,E=this.lexer.yylloc,m>0&&m--);break;case 2:if(ee=this.productions_[_[1]][1],Be.$=a[a.length-ee],Be._$={first_line:c[c.length-(ee||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(ee||1)].first_column,last_column:c[c.length-1].last_column},g&&(Be._$.range=[c[c.length-(ee||1)].range[0],c[c.length-1].range[1]]),ge=this.performAction.call(Be,A,d,u,this.yy,_[1],a,c),typeof ge<"u")return ge;ee&&(o=o.slice(0,-1*ee*2),a=a.slice(0,-1*ee),c=c.slice(0,-1*ee)),o.push(this.productions_[_[1]][0]),a.push(Be.$),c.push(Be._$),F=l[o[o.length-2]][o[o.length-1]],o.push(F);break;case 3:return!0}}return!0}},e=(function(){var n={EOF:1,parseError:function(i,o){if(this.yy.parser)this.yy.parser.parseError(i,o);else throw new Error(i)},setInput: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},input:function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var o=i.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var o=i.length,a=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o-1),this.offset-=o;var c=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),a.length-1&&(this.yylineno-=a.length-1);var l=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:a?(a.length===c.length?this.yylloc.first_column:0)+c[c.length-a.length].length-a[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[l[0],l[0]+this.yyleng-o]),this},more:function(){return this._more=!0,this},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput: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,"")},showPosition:function(){var i=this.pastInput(),o=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
|
`+o+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,o,a,c,l,A;this._more||(this.yytext="",this.match="");for(var u=this._currentRules(),d=0;d<u.length&&(a=this._input.match(this.rules[u[d]]),!(a&&(!o||a[0].length>o[0].length)&&(o=a,c=d,!this.options.flex)));d++);return o?(A=o[0].match(/(?:\r\n?|\n).*/g),A&&(this.yylineno+=A.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:A?A[A.length-1].length-A[A.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,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(o[0].length),this.matched+=o[0],i=this.performAction.call(this,this.yy,this,u[c],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})},lex:function(){var i=this.next();return typeof i<"u"?i:this.lex()},begin:function(i){this.conditionStack.push(i)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(i){this.begin(i)}};return n.options={},n.performAction=function(i,o,a,c){function l(u,d){return o.yytext=o.yytext.substring(u,o.yyleng-d+u)}var A=c;switch(a){case 0:if(o.yytext.slice(-2)==="\\\\"?(l(0,1),this.begin("mu")):o.yytext.slice(-1)==="\\"?(l(0,1),this.begin("emu")):this.begin("mu"),o.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:(l(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(o.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 o.yytext=l(1,2).replace(/\\"/g,'"'),80;break;case 32:return o.yytext=l(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 o.yytext=o.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},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 r.prototype=t,t.Parser=r,new r})();IC.default=zwe;u$.exports=IC.default});var wC=h((xC,h$)=>{"use strict";xC.__esModule=!0;function Gwe(t){return t&&t.__esModule?t:{default:t}}var Ywe=Xr(),iD=Gwe(Ywe);function BC(){this.parents=[]}BC.prototype={constructor:BC,mutating:!1,acceptKey:function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!BC.prototype[n.type])throw new iD.default('Unexpected node type "'+n.type+'" found when accepting '+r+" on "+e.type);e[r]=n}},acceptRequired:function(e,r){if(this.acceptKey(e,r),!e[r])throw new iD.default(e.type+" requires "+r)},acceptArray:function(e){for(var r=0,n=e.length;r<n;r++)this.acceptKey(e,r),e[r]||(e.splice(r,1),r--,n--)},accept:function(e){if(e){if(!this[e.type])throw new iD.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}},Program:function(e){this.acceptArray(e.body)},MustacheStatement:QC,Decorator:QC,BlockStatement:m$,DecoratorBlock:m$,PartialStatement:p$,PartialBlockStatement:function(e){p$.call(this,e),this.acceptKey(e,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:QC,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(e){this.acceptArray(e.pairs)},HashPair:function(e){this.acceptRequired(e,"value")}};function QC(t){this.acceptRequired(t,"path"),this.acceptArray(t.params),this.acceptKey(t,"hash")}function m$(t){QC.call(this,t),this.acceptKey(t,"program"),this.acceptKey(t,"inverse")}function p$(t){this.acceptRequired(t,"name"),this.acceptArray(t.params),this.acceptKey(t,"hash")}xC.default=BC;h$.exports=xC.default});var g$=h((bC,f$)=>{"use strict";bC.__esModule=!0;function Vwe(t){return t&&t.__esModule?t:{default:t}}var Jwe=wC(),Wwe=Vwe(Jwe);function Zs(){var t=arguments.length<=0||arguments[0]===void 0?{}:arguments[0];this.options=t}Zs.prototype=new Wwe.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 o=n[s],a=this.accept(o);if(a){var c=oD(n,s,r),l=aD(n,s,r),A=a.openStandalone&&c,u=a.closeStandalone&&l,d=a.inlineStandalone&&c&&l;a.close&&Za(n,s,!0),a.open&&Lo(n,s,!0),e&&d&&(Za(n,s),Lo(n,s)&&o.type==="PartialStatement"&&(o.indent=/([ \t]+$)/.exec(n[s-1].original)[1])),e&&A&&(Za((o.program||o.inverse).body),Lo(n,s)),e&&u&&(Za(n,s),Lo((o.inverse||o.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:aD(e.body),closeStandalone:oD((n||e).body)};if(t.openStrip.close&&Za(e.body,null,!0),r){var o=t.inverseStrip;o.open&&Lo(e.body,null,!0),o.close&&Za(n.body,null,!0),t.closeStrip.open&&Lo(s.body,null,!0),!this.options.ignoreStandalone&&oD(e.body)&&aD(n.body)&&(Lo(e.body),Za(n.body))}else t.closeStrip.open&&Lo(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 oD(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)}function aD(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)}function Za(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}}function Lo(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}}bC.default=Zs;f$.exports=bC.default});var y$=h(bn=>{"use strict";bn.__esModule=!0;bn.SourceLocation=Kwe;bn.id=Xwe;bn.stripFlags=Zwe;bn.stripComment=ebe;bn.preparePath=tbe;bn.prepareMustache=rbe;bn.prepareRawBlock=nbe;bn.prepareBlock=sbe;bn.prepareProgram=ibe;bn.preparePartialBlock=obe;function $we(t){return t&&t.__esModule?t:{default:t}}var jwe=Xr(),cD=$we(jwe);function lD(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var r={loc:t.path.loc};throw new cD.default(t.path.original+" doesn't match "+e,r)}}function Kwe(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}}function Xwe(t){return/^\[.*\]$/.test(t)?t.substring(1,t.length-1):t}function Zwe(t,e){return{open:t.charAt(2)==="~",close:e.charAt(e.length-3)==="~"}}function ebe(t){return t.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")}function tbe(t,e,r){r=this.locInfo(r);for(var n=t?"@":"",s=[],i=0,o=0,a=e.length;o<a;o++){var c=e[o].part,l=e[o].original!==c;if(n+=(e[o].separator||"")+c,!l&&(c===".."||c==="."||c==="this")){if(s.length>0)throw new cD.default("Invalid path: "+n,{loc:r});c===".."&&i++}else s.push(c)}return{type:"PathExpression",data:t,depth:i,parts:s,original:n,loc:r}}function rbe(t,e,r,n,s,i){var o=n.charAt(3)||n.charAt(2),a=o!=="{"&&o!=="&",c=/\*/.test(n);return{type:c?"Decorator":"MustacheStatement",path:t,params:e,hash:r,escaped:a,strip:s,loc:this.locInfo(i)}}function nbe(t,e,r,n){lD(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}}function sbe(t,e,r,n,s,i){n&&n.path&&lD(t,n);var o=/\*/.test(t.open);e.blockParams=t.blockParams;var a=void 0,c=void 0;if(r){if(o)throw new cD.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),c=r.strip,a=r.program}return s&&(s=a,a=e,e=s),{type:o?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:a,openStrip:t.strip,inverseStrip:c,closeStrip:n&&n.strip,loc:this.locInfo(i)}}function ibe(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}}function obe(t,e,r,n){return lD(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)}}});var C$=h(Rm=>{"use strict";Rm.__esModule=!0;Rm.parseWithoutProcessing=E$;Rm.parse=hbe;function abe(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}function dD(t){return t&&t.__esModule?t:{default:t}}var cbe=d$(),AD=dD(cbe),lbe=g$(),Abe=dD(lbe),ube=y$(),dbe=abe(ube),mbe=Xr(),Sm=dD(mbe),pbe=sr();Rm.parser=AD.default;var NC={};pbe.extend(NC,dbe);function E$(t,e){if(t.type==="Program")return fbe(t),t;AD.default.yy=NC,NC.locInfo=function(n){return new NC.SourceLocation(e&&e.srcName,n)};var r=AD.default.parse(t);return r}function hbe(t,e){var r=E$(t,e),n=new Abe.default(e);return n.accept(r)}function fbe(t){uD(t)}function uD(t){if(t!=null){if(Array.isArray(t)){t.forEach(uD);return}if(typeof t=="object"){if(t.type==="PathExpression"){if(!gbe(t.depth))throw new Sm.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(t.parts))throw new Sm.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 Sm.default("Invalid AST: PathExpression.parts must only contain strings")}else if(t.type==="NumberLiteral"){if(typeof t.value!="number"||!isFinite(t.value))throw new Sm.default("Invalid AST: NumberLiteral.value must be a number")}else if(t.type==="BooleanLiteral"&&typeof t.value!="boolean")throw new Sm.default("Invalid AST: BooleanLiteral.value must be a boolean");Object.keys(t).forEach(function(r){r!=="loc"&&uD(t[r])})}}}function gbe(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t&&t>=0}});var x$=h(km=>{"use strict";km.__esModule=!0;km.Compiler=mD;km.precompile=Ibe;km.compile=Bbe;function B$(t){return t&&t.__esModule?t:{default:t}}var ybe=Xr(),vm=B$(ybe),Dm=sr(),Ebe=sD(),Pm=B$(Ebe),Cbe=[].slice;function mD(){}mD.prototype={compiler:mD,equals: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||!Q$(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},guid:0,compile: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=Dm.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)},compileProgram: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},accept:function(e){if(!this[e.type])throw new vm.default("Unknown type: "+e.type,e);this.sourceNode.unshift(e);var r=this[e.type](e);return this.sourceNode.shift(),r},Program: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},BlockStatement:function(e){I$(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")},DecoratorBlock: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)},PartialStatement:function(e){this.usePartial=!0;var r=e.program;r&&(r=this.compileProgram(e.program));var n=e.params;if(n.length>1)throw new vm.default("Unsupported number of partial arguments: "+n.length,e);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var s=e.name.original,i=e.name.type==="SubExpression";i&&this.accept(e.name),this.setupFullMustacheParams(e,r,void 0,!0);var o=e.indent||"";this.options.preventIndent&&o&&(this.opcode("appendContent",o),o=""),this.opcode("invokePartial",i,s,o),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){I$(e);var r=this.classifySexpr(e);r==="simple"?this.simpleSexpr(e):r==="helper"?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,r,n){var s=e.path,i=s.parts[0],o=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,o)},simpleSexpr:function(e){var r=e.path;r.strict=!0,this.accept(r),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,r,n){var s=this.setupFullMustacheParams(e,r,n),i=e.path,o=i.parts[0];if(this.options.knownHelpers[o])this.opcode("invokeKnownHelper",s.length,o);else{if(this.options.knownHelpersOnly)throw new vm.default("You specified knownHelpersOnly, but used the unknown helper "+o,e);i.strict=!0,i.falsy=!0,this.accept(i),this.opcode("invokeHelper",s.length,i.original,Pm.default.helpers.simpleId(i))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var r=e.parts[0],n=Pm.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")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash: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")},opcode:function(e){this.opcodes.push({opcode:e,args:Cbe.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var r=Pm.default.helpers.simpleId(e.path),n=r&&!!this.blockParamIndex(e.path.parts[0]),s=!n&&Pm.default.helpers.helperExpression(e),i=!n&&(s||r);if(i&&!s){var o=e.path.parts[0],a=this.options;a.knownHelpers[o]?s=!0:a.knownHelpersOnly&&(i=!1)}return s?"helper":i?"ambiguous":"simple"},pushParams:function(e){for(var r=0,n=e.length;r<n;r++)this.pushParam(e[r])},pushParam: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&&!Pm.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)}},setupFullMustacheParams: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},blockParamIndex:function(e){for(var r=0,n=this.options.blockParams.length;r<n;r++){var s=this.options.blockParams[r],i=s&&Dm.indexOf(s,e);if(s&&i>=0)return[r,i]}}};function Ibe(t,e,r){if(t==null||typeof t!="string"&&t.type!=="Program")throw new vm.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);e=e||{},"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=r.parse(t,e),s=new r.Compiler().compile(n,e);return new r.JavaScriptCompiler().compile(s,e)}function Bbe(t,e,r){if(e===void 0&&(e={}),t==null||typeof t!="string"&&t.type!=="Program")throw new vm.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);e=Dm.extend({},e),"data"in e||(e.data=!0),e.compat&&(e.useDepths=!0);var n=void 0;function s(){var o=r.parse(t,e),a=new r.Compiler().compile(o,e),c=new r.JavaScriptCompiler().compile(a,e,void 0,!0);return r.template(c)}function i(o,a){return n||(n=s()),n.call(this,o,a)}return i._setup=function(o){return n||(n=s()),n._setup(o)},i._child=function(o,a,c,l){return n||(n=s()),n._child(o,a,c,l)},i}function Q$(t,e){if(t===e)return!0;if(Dm.isArray(t)&&Dm.isArray(e)&&t.length===e.length){for(var r=0;r<t.length;r++)if(!Q$(t[r],e[r]))return!1;return!0}}function I$(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}}}});var b$=h(pD=>{var w$="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");pD.encode=function(t){if(0<=t&&t<w$.length)return w$[t];throw new TypeError("Must be between 0 and 63: "+t)};pD.decode=function(t){var e=65,r=90,n=97,s=122,i=48,o=57,a=43,c=47,l=26,A=52;return e<=t&&t<=r?t-e:n<=t&&t<=s?t-n+l:i<=t&&t<=o?t-i+A:t==a?62:t==c?63:-1}});var gD=h(fD=>{var N$=b$(),hD=5,S$=1<<hD,R$=S$-1,P$=S$;function Qbe(t){return t<0?(-t<<1)+1:(t<<1)+0}function xbe(t){var e=(t&1)===1,r=t>>1;return e?-r:r}fD.encode=function(e){var r="",n,s=Qbe(e);do n=s&R$,s>>>=hD,s>0&&(n|=P$),r+=N$.encode(n);while(s>0);return r};fD.decode=function(e,r,n){var s=e.length,i=0,o=0,a,c;do{if(r>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(c=N$.decode(e.charCodeAt(r++)),c===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));a=!!(c&P$),c&=R$,i=i+(c<<o),o+=hD}while(a);n.value=xbe(i),n.rest=r}});var hA=h(Gt=>{function wbe(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}Gt.getArg=wbe;var v$=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,bbe=/^data:.+\,.+$/;function Tm(t){var e=t.match(v$);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}Gt.urlParse=Tm;function mA(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}Gt.urlGenerate=mA;function yD(t){var e=t,r=Tm(t);if(r){if(!r.path)return t;e=r.path}for(var n=Gt.isAbsolute(e),s=e.split(/\/+/),i,o=0,a=s.length-1;a>=0;a--)i=s[a],i==="."?s.splice(a,1):i===".."?o++:o>0&&(i===""?(s.splice(a+1,o),o=0):(s.splice(a,2),o--));return e=s.join("/"),e===""&&(e=n?"/":"."),r?(r.path=e,mA(r)):e}Gt.normalize=yD;function D$(t,e){t===""&&(t="."),e===""&&(e=".");var r=Tm(e),n=Tm(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),mA(r);if(r||e.match(bbe))return e;if(n&&!n.host&&!n.path)return n.host=e,mA(n);var s=e.charAt(0)==="/"?e:yD(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=s,mA(n)):s}Gt.join=D$;Gt.isAbsolute=function(t){return t.charAt(0)==="/"||v$.test(t)};function Nbe(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)}Gt.relative=Nbe;var k$=(function(){var t=Object.create(null);return!("__proto__"in t)})();function T$(t){return t}function Sbe(t){return M$(t)?"$"+t:t}Gt.toSetString=k$?T$:Sbe;function Rbe(t){return M$(t)?t.slice(1):t}Gt.fromSetString=k$?T$:Rbe;function M$(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}function Pbe(t,e,r){var n=pA(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:pA(t.name,e.name)}Gt.compareByOriginalPositions=Pbe;function vbe(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=pA(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:pA(t.name,e.name)}Gt.compareByGeneratedPositionsDeflated=vbe;function pA(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function Dbe(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=pA(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:pA(t.name,e.name)}Gt.compareByGeneratedPositionsInflated=Dbe;function kbe(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}Gt.parseSourceMapInput=kbe;function Tbe(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=Tm(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=D$(mA(n),e)}return yD(e)}Gt.computeSourceURL=Tbe});var ID=h(L$=>{var ED=hA(),CD=Object.prototype.hasOwnProperty,ec=typeof Map<"u";function Fi(){this._array=[],this._set=ec?new Map:Object.create(null)}Fi.fromArray=function(e,r){for(var n=new Fi,s=0,i=e.length;s<i;s++)n.add(e[s],r);return n};Fi.prototype.size=function(){return ec?this._set.size:Object.getOwnPropertyNames(this._set).length};Fi.prototype.add=function(e,r){var n=ec?e:ED.toSetString(e),s=ec?this.has(e):CD.call(this._set,n),i=this._array.length;(!s||r)&&this._array.push(e),s||(ec?this._set.set(e,i):this._set[n]=i)};Fi.prototype.has=function(e){if(ec)return this._set.has(e);var r=ED.toSetString(e);return CD.call(this._set,r)};Fi.prototype.indexOf=function(e){if(ec){var r=this._set.get(e);if(r>=0)return r}else{var n=ED.toSetString(e);if(CD.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')};Fi.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};Fi.prototype.toArray=function(){return this._array.slice()};L$.ArraySet=Fi});var U$=h(F$=>{var _$=hA();function Mbe(t,e){var r=t.generatedLine,n=e.generatedLine,s=t.generatedColumn,i=e.generatedColumn;return n>r||n==r&&i>=s||_$.compareByGeneratedPositionsInflated(t,e)<=0}function SC(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}SC.prototype.unsortedForEach=function(e,r){this._array.forEach(e,r)};SC.prototype.add=function(e){Mbe(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};SC.prototype.toArray=function(){return this._sorted||(this._array.sort(_$.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};F$.MappingList=SC});var BD=h(O$=>{var Mm=gD(),ht=hA(),RC=ID().ArraySet,Lbe=U$().MappingList;function Nn(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 RC,this._names=new RC,this._mappings=new Lbe,this._sourcesContents=null}Nn.prototype._version=3;Nn.fromSourceMap=function(e){var r=e.sourceRoot,n=new Nn({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 o=e.sourceContentFor(s);o!=null&&n.setSourceContent(s,o)}),n};Nn.prototype.addMapping=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})};Nn.prototype.setSourceContent=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))};Nn.prototype.applySourceMap=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 o=new RC,a=new RC;this._mappings.unsortedForEach(function(c){if(c.source===s&&c.originalLine!=null){var l=e.originalPositionFor({line:c.originalLine,column:c.originalColumn});l.source!=null&&(c.source=l.source,n!=null&&(c.source=ht.join(n,c.source)),i!=null&&(c.source=ht.relative(i,c.source)),c.originalLine=l.line,c.originalColumn=l.column,l.name!=null&&(c.name=l.name))}var A=c.source;A!=null&&!o.has(A)&&o.add(A);var u=c.name;u!=null&&!a.has(u)&&a.add(u)},this),this._sources=o,this._names=a,e.sources.forEach(function(c){var l=e.sourceContentFor(c);l!=null&&(n!=null&&(c=ht.join(n,c)),i!=null&&(c=ht.relative(i,c)),this.setSourceContent(c,l))},this)};Nn.prototype._validateMapping=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}))}};Nn.prototype._serializeMappings=function(){for(var e=0,r=1,n=0,s=0,i=0,o=0,a="",c,l,A,u,d=this._mappings.toArray(),m=0,p=d.length;m<p;m++){if(l=d[m],c="",l.generatedLine!==r)for(e=0;l.generatedLine!==r;)c+=";",r++;else if(m>0){if(!ht.compareByGeneratedPositionsInflated(l,d[m-1]))continue;c+=","}c+=Mm.encode(l.generatedColumn-e),e=l.generatedColumn,l.source!=null&&(u=this._sources.indexOf(l.source),c+=Mm.encode(u-o),o=u,c+=Mm.encode(l.originalLine-1-s),s=l.originalLine-1,c+=Mm.encode(l.originalColumn-n),n=l.originalColumn,l.name!=null&&(A=this._names.indexOf(l.name),c+=Mm.encode(A-i),i=A)),a+=c}return a};Nn.prototype._generateSourcesContent=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)};Nn.prototype.toJSON=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};Nn.prototype.toString=function(){return JSON.stringify(this.toJSON())};O$.SourceMapGenerator=Nn});var q$=h(tc=>{tc.GREATEST_LOWER_BOUND=1;tc.LEAST_UPPER_BOUND=2;function QD(t,e,r,n,s,i){var o=Math.floor((e-t)/2)+t,a=s(r,n[o],!0);return a===0?o:a>0?e-o>1?QD(o,e,r,n,s,i):i==tc.LEAST_UPPER_BOUND?e<n.length?e:-1:o:o-t>1?QD(t,o,r,n,s,i):i==tc.LEAST_UPPER_BOUND?o:t<0?-1:t}tc.search=function(e,r,n,s){if(r.length===0)return-1;var i=QD(-1,r.length,e,r,n,s||tc.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&n(r[i],r[i-1],!0)===0;)--i;return i}});var z$=h(H$=>{function xD(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function _be(t,e){return Math.round(t+Math.random()*(e-t))}function wD(t,e,r,n){if(r<n){var s=_be(r,n),i=r-1;xD(t,s,n);for(var o=t[n],a=r;a<n;a++)e(t[a],o)<=0&&(i+=1,xD(t,i,a));xD(t,i+1,a);var c=i+1;wD(t,e,r,c-1),wD(t,e,c+1,n)}}H$.quickSort=function(t,e){wD(t,e,0,t.length-1)}});var Y$=h(PC=>{var O=hA(),bD=q$(),fA=ID().ArraySet,Fbe=gD(),Lm=z$().quickSort;function Me(t,e){var r=t;return typeof t=="string"&&(r=O.parseSourceMapInput(t)),r.sections!=null?new Kn(r,e):new Tt(r,e)}Me.fromSourceMap=function(t,e){return Tt.fromSourceMap(t,e)};Me.prototype._version=3;Me.prototype.__generatedMappings=null;Object.defineProperty(Me.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});Me.prototype.__originalMappings=null;Object.defineProperty(Me.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});Me.prototype._charIsMappingSeparator=function(e,r){var n=e.charAt(r);return n===";"||n===","};Me.prototype._parseMappings=function(e,r){throw new Error("Subclasses must implement _parseMappings")};Me.GENERATED_ORDER=1;Me.ORIGINAL_ORDER=2;Me.GREATEST_LOWER_BOUND=1;Me.LEAST_UPPER_BOUND=2;Me.prototype.eachMapping=function(e,r,n){var s=r||null,i=n||Me.GENERATED_ORDER,o;switch(i){case Me.GENERATED_ORDER:o=this._generatedMappings;break;case Me.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;o.map(function(c){var l=c.source===null?null:this._sources.at(c.source);return l=O.computeSourceURL(a,l,this._sourceMapURL),{source:l,generatedLine:c.generatedLine,generatedColumn:c.generatedColumn,originalLine:c.originalLine,originalColumn:c.originalColumn,name:c.name===null?null:this._names.at(c.name)}},this).forEach(e,s)};Me.prototype.allGeneratedPositionsFor=function(e){var r=O.getArg(e,"line"),n={source:O.getArg(e,"source"),originalLine:r,originalColumn:O.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var s=[],i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",O.compareByOriginalPositions,bD.LEAST_UPPER_BOUND);if(i>=0){var o=this._originalMappings[i];if(e.column===void 0)for(var a=o.originalLine;o&&o.originalLine===a;)s.push({line:O.getArg(o,"generatedLine",null),column:O.getArg(o,"generatedColumn",null),lastColumn:O.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++i];else for(var c=o.originalColumn;o&&o.originalLine===r&&o.originalColumn==c;)s.push({line:O.getArg(o,"generatedLine",null),column:O.getArg(o,"generatedColumn",null),lastColumn:O.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++i]}return s};PC.SourceMapConsumer=Me;function Tt(t,e){var r=t;typeof t=="string"&&(r=O.parseSourceMapInput(t));var n=O.getArg(r,"version"),s=O.getArg(r,"sources"),i=O.getArg(r,"names",[]),o=O.getArg(r,"sourceRoot",null),a=O.getArg(r,"sourcesContent",null),c=O.getArg(r,"mappings"),l=O.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);o&&(o=O.normalize(o)),s=s.map(String).map(O.normalize).map(function(A){return o&&O.isAbsolute(o)&&O.isAbsolute(A)?O.relative(o,A):A}),this._names=fA.fromArray(i.map(String),!0),this._sources=fA.fromArray(s,!0),this._absoluteSources=this._sources.toArray().map(function(A){return O.computeSourceURL(o,A,e)}),this.sourceRoot=o,this.sourcesContent=a,this._mappings=c,this._sourceMapURL=e,this.file=l}Tt.prototype=Object.create(Me.prototype);Tt.prototype.consumer=Me;Tt.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=O.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1};Tt.fromSourceMap=function(e,r){var n=Object.create(Tt.prototype),s=n._names=fA.fromArray(e._names.toArray(),!0),i=n._sources=fA.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(m){return O.computeSourceURL(n.sourceRoot,m,r)});for(var o=e._mappings.toArray().slice(),a=n.__generatedMappings=[],c=n.__originalMappings=[],l=0,A=o.length;l<A;l++){var u=o[l],d=new G$;d.generatedLine=u.generatedLine,d.generatedColumn=u.generatedColumn,u.source&&(d.source=i.indexOf(u.source),d.originalLine=u.originalLine,d.originalColumn=u.originalColumn,u.name&&(d.name=s.indexOf(u.name)),c.push(d)),a.push(d)}return Lm(n.__originalMappings,O.compareByOriginalPositions),n};Tt.prototype._version=3;Object.defineProperty(Tt.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function G$(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}Tt.prototype._parseMappings=function(e,r){for(var n=1,s=0,i=0,o=0,a=0,c=0,l=e.length,A=0,u={},d={},m=[],p=[],f,E,g,y,C;A<l;)if(e.charAt(A)===";")n++,A++,s=0;else if(e.charAt(A)===",")A++;else{for(f=new G$,f.generatedLine=n,y=A;y<l&&!this._charIsMappingSeparator(e,y);y++);if(E=e.slice(A,y),g=u[E],g)A+=E.length;else{for(g=[];A<y;)Fbe.decode(e,A,d),C=d.value,A=d.rest,g.push(C);if(g.length===2)throw new Error("Found a source, but no line and column");if(g.length===3)throw new Error("Found a source and line, but no column");u[E]=g}f.generatedColumn=s+g[0],s=f.generatedColumn,g.length>1&&(f.source=a+g[1],a+=g[1],f.originalLine=i+g[2],i=f.originalLine,f.originalLine+=1,f.originalColumn=o+g[3],o=f.originalColumn,g.length>4&&(f.name=c+g[4],c+=g[4])),p.push(f),typeof f.originalLine=="number"&&m.push(f)}Lm(p,O.compareByGeneratedPositionsDeflated),this.__generatedMappings=p,Lm(m,O.compareByOriginalPositions),this.__originalMappings=m};Tt.prototype._findMapping=function(e,r,n,s,i,o){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 bD.search(e,r,i,o)};Tt.prototype.computeColumnSpans=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}};Tt.prototype.originalPositionFor=function(e){var r={generatedLine:O.getArg(e,"line"),generatedColumn:O.getArg(e,"column")},n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",O.compareByGeneratedPositionsDeflated,O.getArg(e,"bias",Me.GREATEST_LOWER_BOUND));if(n>=0){var s=this._generatedMappings[n];if(s.generatedLine===r.generatedLine){var i=O.getArg(s,"source",null);i!==null&&(i=this._sources.at(i),i=O.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var o=O.getArg(s,"name",null);return o!==null&&(o=this._names.at(o)),{source:i,line:O.getArg(s,"originalLine",null),column:O.getArg(s,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}};Tt.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};Tt.prototype.sourceContentFor=function(e,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var s=e;this.sourceRoot!=null&&(s=O.relative(this.sourceRoot,s));var i;if(this.sourceRoot!=null&&(i=O.urlParse(this.sourceRoot))){var o=s.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];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.')};Tt.prototype.generatedPositionFor=function(e){var r=O.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:O.getArg(e,"line"),originalColumn:O.getArg(e,"column")},s=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",O.compareByOriginalPositions,O.getArg(e,"bias",Me.GREATEST_LOWER_BOUND));if(s>=0){var i=this._originalMappings[s];if(i.source===n.source)return{line:O.getArg(i,"generatedLine",null),column:O.getArg(i,"generatedColumn",null),lastColumn:O.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};PC.BasicSourceMapConsumer=Tt;function Kn(t,e){var r=t;typeof t=="string"&&(r=O.parseSourceMapInput(t));var n=O.getArg(r,"version"),s=O.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new fA,this._names=new fA;var i={line:-1,column:0};this._sections=s.map(function(o){if(o.url)throw new Error("Support for url field in sections not implemented.");var a=O.getArg(o,"offset"),c=O.getArg(a,"line"),l=O.getArg(a,"column");if(c<i.line||c===i.line&&l<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=a,{generatedOffset:{generatedLine:c+1,generatedColumn:l+1},consumer:new Me(O.getArg(o,"map"),e)}})}Kn.prototype=Object.create(Me.prototype);Kn.prototype.constructor=Me;Kn.prototype._version=3;Object.defineProperty(Kn.prototype,"sources",{get: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}});Kn.prototype.originalPositionFor=function(e){var r={generatedLine:O.getArg(e,"line"),generatedColumn:O.getArg(e,"column")},n=bD.search(r,this._sections,function(i,o){var a=i.generatedLine-o.generatedOffset.generatedLine;return a||i.generatedColumn-o.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}};Kn.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};Kn.prototype.sourceContentFor=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.')};Kn.prototype.generatedPositionFor=function(e){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(O.getArg(e,"source"))!==-1){var s=n.consumer.generatedPositionFor(e);if(s){var i={line:s.line+(n.generatedOffset.generatedLine-1),column:s.column+(n.generatedOffset.generatedLine===s.line?n.generatedOffset.generatedColumn-1:0)};return i}}}return{line:null,column:null}};Kn.prototype._parseMappings=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,o=0;o<i.length;o++){var a=i[o],c=s.consumer._sources.at(a.source);c=O.computeSourceURL(s.consumer.sourceRoot,c,this._sourceMapURL),this._sources.add(c),c=this._sources.indexOf(c);var l=null;a.name&&(l=s.consumer._names.at(a.name),this._names.add(l),l=this._names.indexOf(l));var A={source:c,generatedLine:a.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(s.generatedOffset.generatedLine===a.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:l};this.__generatedMappings.push(A),typeof A.originalLine=="number"&&this.__originalMappings.push(A)}Lm(this.__generatedMappings,O.compareByGeneratedPositionsDeflated),Lm(this.__originalMappings,O.compareByOriginalPositions)};PC.IndexedSourceMapConsumer=Kn});var J$=h(V$=>{var Ube=BD().SourceMapGenerator,vC=hA(),Obe=/(\r?\n)/,qbe=10,gA="$$$isSourceNode$$$";function Zr(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[gA]=!0,n!=null&&this.add(n)}Zr.fromStringWithSourceMap=function(e,r,n){var s=new Zr,i=e.split(Obe),o=0,a=function(){var d=p(),m=p()||"";return d+m;function p(){return o<i.length?i[o++]:void 0}},c=1,l=0,A=null;return r.eachMapping(function(d){if(A!==null)if(c<d.generatedLine)u(A,a()),c++,l=0;else{var m=i[o]||"",p=m.substr(0,d.generatedColumn-l);i[o]=m.substr(d.generatedColumn-l),l=d.generatedColumn,u(A,p),A=d;return}for(;c<d.generatedLine;)s.add(a()),c++;if(l<d.generatedColumn){var m=i[o]||"";s.add(m.substr(0,d.generatedColumn)),i[o]=m.substr(d.generatedColumn),l=d.generatedColumn}A=d},this),o<i.length&&(A&&u(A,a()),s.add(i.splice(o).join(""))),r.sources.forEach(function(d){var m=r.sourceContentFor(d);m!=null&&(n!=null&&(d=vC.join(n,d)),s.setSourceContent(d,m))}),s;function u(d,m){if(d===null||d.source===void 0)s.add(m);else{var p=n?vC.join(n,d.source):d.source;s.add(new Zr(d.originalLine,d.originalColumn,p,m,d.name))}}};Zr.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[gA]||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};Zr.prototype.prepend=function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[gA]||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};Zr.prototype.walk=function(e){for(var r,n=0,s=this.children.length;n<s;n++)r=this.children[n],r[gA]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})};Zr.prototype.join=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};Zr.prototype.replaceRight=function(e,r){var n=this.children[this.children.length-1];return n[gA]?n.replaceRight(e,r):typeof n=="string"?this.children[this.children.length-1]=n.replace(e,r):this.children.push("".replace(e,r)),this};Zr.prototype.setSourceContent=function(e,r){this.sourceContents[vC.toSetString(e)]=r};Zr.prototype.walkSourceContents=function(e){for(var r=0,n=this.children.length;r<n;r++)this.children[r][gA]&&this.children[r].walkSourceContents(e);for(var s=Object.keys(this.sourceContents),r=0,n=s.length;r<n;r++)e(vC.fromSetString(s[r]),this.sourceContents[s[r]])};Zr.prototype.toString=function(){var e="";return this.walk(function(r){e+=r}),e};Zr.prototype.toStringWithSourceMap=function(e){var r={code:"",line:1,column:0},n=new Ube(e),s=!1,i=null,o=null,a=null,c=null;return this.walk(function(l,A){r.code+=l,A.source!==null&&A.line!==null&&A.column!==null?((i!==A.source||o!==A.line||a!==A.column||c!==A.name)&&n.addMapping({source:A.source,original:{line:A.line,column:A.column},generated:{line:r.line,column:r.column},name:A.name}),i=A.source,o=A.line,a=A.column,c=A.name,s=!0):s&&(n.addMapping({generated:{line:r.line,column:r.column}}),i=null,s=!1);for(var u=0,d=l.length;u<d;u++)l.charCodeAt(u)===qbe?(r.line++,r.column=0,u+1===d?(i=null,s=!1):s&&n.addMapping({source:A.source,original:{line:A.line,column:A.column},generated:{line:r.line,column:r.column},name:A.name})):r.column++}),this.walkSourceContents(function(l,A){n.setSourceContent(l,A)}),{code:r.code,map:n}};V$.SourceNode=Zr});var W$=h(DC=>{DC.SourceMapGenerator=BD().SourceMapGenerator;DC.SourceMapConsumer=Y$().SourceMapConsumer;DC.SourceNode=J$().SourceNode});var X$=h((kC,K$)=>{"use strict";kC.__esModule=!0;var SD=sr(),rc=void 0;try{(typeof define!="function"||!define.amd)&&($$=W$(),rc=$$.SourceNode)}catch{}var $$;rc||(rc=function(t,e,r,n){this.src="",n&&this.add(n)},rc.prototype={add:function(e){SD.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){SD.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}});function ND(t,e,r){if(SD.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}function j$(t){this.srcFile=t,this.source=[]}j$.prototype={isEmpty:function(){return!this.source.length},prepend:function(e,r){this.source.unshift(this.wrap(e,r))},push:function(e,r){this.source.push(this.wrap(e,r))},merge:function(){var e=this.empty();return this.each(function(r){e.add([" ",r,`
|
|
`])}),e},each:function(e){for(var r=0,n=this.source.length;r<n;r++)e(this.source[r])},empty:function(){var e=this.currentLocation||{start:{}};return new rc(e.start.line,e.start.column,this.srcFile)},wrap:function(e){var r=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return e instanceof rc?e:(e=ND(e,this,r),new rc(r.start.line,r.start.column,this.srcFile,e))},functionCall:function(e,r,n){return n=this.generateList(n),this.wrap([e,r?"."+r+"(":"(",n,")"])},quotedString:function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(e){var r=this,n=[];Object.keys(e).forEach(function(i){var o=ND(e[i],r);o!=="undefined"&&n.push([r.quotedString(i),":",o])});var s=this.generateList(n);return s.prepend("{"),s.add("}"),s},generateList:function(e){for(var r=this.empty(),n=0,s=e.length;n<s;n++)n&&r.add(","),r.add(ND(e[n],this));return r},generateArray:function(e){var r=this.generateList(e);return r.prepend("["),r.add("]"),r}};kC.default=j$;K$.exports=kC.default});var n5=h((TC,r5)=>{"use strict";TC.__esModule=!0;function t5(t){return t&&t.__esModule?t:{default:t}}var Z$=pC(),Hbe=Xr(),RD=t5(Hbe),zbe=sr(),Gbe=X$(),e5=t5(Gbe);function yA(t){this.value=t}function EA(){}EA.prototype={nameLookup:function(e,r){return this.internalNameLookup(e,r)},depthedLookup:function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},compilerInfo:function(){var e=Z$.COMPILER_REVISION,r=Z$.REVISION_CHANGES[e];return[e,r]},appendToBuffer:function(e,r,n){return zbe.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:n?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(e,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(r),")"]},lookupPropertyFunctionIsUsed:!1,compile: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,o=void 0,a=void 0,c=void 0,l=void 0;for(c=0,l=i.length;c<l;c++)o=i[c],this.source.currentLocation=o.loc,a=a||o.loc,this[o.opcode].apply(this,o.args);if(this.source.currentLocation=a,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new RD.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 A=this.createFunctionContext(s);if(this.isChild)return A;var u={compiler:this.compilerInfo(),main:A};this.decorators&&(u.main_d=this.decorators,u.useDecorators=!0);var d=this.context,m=d.programs,p=d.decorators;for(c=0,l=m.length;c<l;c++)u[c]=m[c],p[c]&&(u[c+"_d"]=p[c],u.useDecorators=!0);return this.environment.usePartial&&(u.usePartial=!0),this.options.data&&(u.useData=!0),this.useDepths&&(u.useDepths=!0),this.useBlockParams&&(u.useBlockParams=!0),this.options.compat&&(u.compat=!0),s?u.compilerOptions=this.options:(u.compiler=JSON.stringify(u.compiler),this.source.currentLocation={start:{line:1,column:0}},u=this.objectLiteral(u),r.srcName?(u=u.toStringWithSourceMap({file:r.destName}),u.map=u.map&&u.map.toString()):u=u.toString()),u},preamble:function(){this.lastContext=0,this.source=new e5.default(this.options.srcName),this.decorators=new e5.default(this.options.srcName)},createFunctionContext: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(c){var l=r.aliases[c];l.children&&l.referenceCount>1&&(n+=", alias"+ ++i+"="+c,l.children[0]="alias"+i)}),this.lookupPropertyFunctionIsUsed&&(n+=", "+this.lookupPropertyFunctionVarDeclaration());var o=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&o.push("blockParams"),this.useDepths&&o.push("depths");var a=this.mergeSource(n);return e?(o.push(a),Function.apply(this,o)):this.source.wrap(["function(",o.join(","),`) {
|
|
`,a,"}"])},mergeSource:function(e){var r=this.environment.isSimple,n=!this.forceBuffer,s=void 0,i=void 0,o=void 0,a=void 0;return this.source.each(function(c){c.appendToBuffer?(o?c.prepend(" + "):o=c,a=c):(o&&(i?o.prepend("buffer += "):s=!0,a.add(";"),o=a=void 0),i=!0,r||(n=!1))}),n?o?(o.prepend("return "),a.add(";")):i||this.source.push('return "";'):(e+=", buffer = "+(s?"":this.initializeBuffer()),o?(o.prepend("return buffer + "),a.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(s?"":`;
|
|
`)),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return`
|
|
lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
return parent[propertyName];
|
|
}
|
|
return undefined
|
|
}
|
|
`.trim()},blockValue: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))},ambiguousBlockValue: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),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append: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)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext: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)},lookupBlockParam:function(e,r){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",r,1)},lookupData:function(e,r,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,n)},resolvePath:function(e,r,n,s,i){var o=this;if(this.options.strict||this.options.assumeObjects){this.push(Ybe(this.options.strict&&i,this,r,n,e));return}for(var a=r.length,c=function(A){o.replaceStack(function(u){var d=o.nameLookup(u,r[A],e);return s?[" && ",d]:[" != null ? ",d," : ",u]})},l=n;l<a;l++)c(l)},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(e,r){this.pushContext(),this.pushString(r),r!=="SubExpression"&&(typeof e=="string"?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash: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))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){e!=null?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},registerDecorator: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;"])},invokeHelper:function(e,r,n){var s=this.popStack(),i=this.setupHelper(e,r),o=[];n&&o.push(i.name),o.push(s),this.options.strict||o.push(this.aliasable("container.hooks.helperMissing"));var a=["(",this.itemsSeparatedBy(o,"||"),")"],c=this.source.functionCall(a,"call",i.callParams);this.push(c)},itemsSeparatedBy:function(e,r){var n=[];n.push(e[0]);for(var s=1;s<e.length;s++)n.push(r,e[s]);return n},invokeKnownHelper:function(e,r){var n=this.setupHelper(e,r);this.push(this.source.functionCall(n.name,"call",n.callParams))},invokeAmbiguous: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"),o=["(","(helper = ",i," || ",n,")"];this.options.strict||(o[0]="(helper = ",o.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",o,s.paramsInit?["),(",s.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",s.callParams)," : helper))"])},invokePartial: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))},assignToHash: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 o=this.hash;n&&(o.contexts[e]=n),s&&(o.types[e]=s),i&&(o.ids[e]=i),o.values[e]=r},pushId: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")},compiler:EA,compileChildren:function(e,r){for(var n=e.children,s=void 0,i=void 0,o=0,a=n.length;o<a;o++){s=n[o],i=new this.compiler;var c=this.matchExistingProgram(s);if(c==null){var l=this.context.programs.push("")-1;s.index=l,s.name="program"+l,this.context.programs[l]=i.compile(s,r,this.context,!this.precompile),this.context.decorators[l]=i.decorators,this.context.environments[l]=s,this.useDepths=this.useDepths||i.useDepths,this.useBlockParams=this.useBlockParams||i.useBlockParams,s.useDepths=this.useDepths,s.useBlockParams=this.useBlockParams}else s.index=c.index,s.name="program"+c.index,this.useDepths=this.useDepths||c.useDepths,this.useBlockParams=this.useBlockParams||c.useBlockParams}},matchExistingProgram: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}},programExpression: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(", ")+")"},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof yA||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new yA(e))},pushSource: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)},replaceStack:function(e){var r=["("],n=void 0,s=void 0,i=void 0;if(!this.isInline())throw new RD.default("replaceStack on non-inline");var o=this.popStack(!0);if(o instanceof yA)n=[o.value],r=["(",n],i=!0;else{s=!0;var a=this.incrStack();r=["((",this.push(a)," = ",o,")"],n=this.topStack()}var c=e.call(this,n);i||this.popStack(),s&&this.stackSlot--,this.push(r.concat(c,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var r=0,n=e.length;r<n;r++){var s=e[r];if(s instanceof yA)this.compileStack.push(s);else{var i=this.incrStack();this.pushSource([i," = ",s,";"]),this.compileStack.push(i)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var r=this.isInline(),n=(r?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof yA)return n.value;if(!r){if(!this.stackSlot)throw new RD.default("Invalid stack pop");this.stackSlot--}return n},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,r=e[e.length-1];return r instanceof yA?r.value:r},contextName:function(e){return this.useDepths&&e?"depths["+e+"]":"depth"+e},quotedString:function(e){return this.source.quotedString(e)},objectLiteral:function(e){return this.source.objectLiteral(e)},aliasable: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)},setupHelper:function(e,r,n){var s=[],i=this.setupHelperArgs(r,e,s,n),o=this.nameLookup("helpers",r,"helper"),a=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:s,paramsInit:i,name:o,callParams:[a].concat(s)}},setupParams:function(e,r,n){var s={},i=[],o=[],a=[],c=!n,l=void 0;c&&(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 A=this.popStack(),u=this.popStack();(u||A)&&(s.fn=u||"container.noop",s.inverse=A||"container.noop");for(var d=r;d--;)l=this.popStack(),n[d]=l,this.trackIds&&(a[d]=this.popStack()),this.stringParams&&(o[d]=this.popStack(),i[d]=this.popStack());return c&&(s.args=this.source.generateArray(n)),this.trackIds&&(s.ids=this.source.generateArray(a)),this.stringParams&&(s.types=this.source.generateArray(o),s.contexts=this.source.generateArray(i)),this.options.data&&(s.data="data"),this.useBlockParams&&(s.blockParams="blockParams"),s},setupHelperArgs: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}};(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=EA.RESERVED_WORDS={},r=0,n=t.length;r<n;r++)e[t[r]]=!0})();EA.isValidJavaScriptVariableName=function(t){return!EA.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)};function Ybe(t,e,r,n,s){var i=e.popStack(),o=r.length;t&&o--;for(var a=n;a<o;a++)i=e.nameLookup(i,r[a],s);return t?[e.aliasable("container.strict"),"(",i,", ",e.quotedString(r[o]),", ",JSON.stringify(e.source.currentLocation)," )"]:i}TC.default=EA;r5.exports=TC.default});var o5=h((MC,i5)=>{"use strict";MC.__esModule=!0;function _m(t){return t&&t.__esModule?t:{default:t}}var Vbe=c$(),Jbe=_m(Vbe),Wbe=sD(),$be=_m(Wbe),PD=C$(),vD=x$(),jbe=n5(),Kbe=_m(jbe),Xbe=wC(),Zbe=_m(Xbe),e0e=eD(),t0e=_m(e0e),r0e=Jbe.default.create;function s5(){var t=r0e();return t.compile=function(e,r){return vD.compile(e,r,t)},t.precompile=function(e,r){return vD.precompile(e,r,t)},t.AST=$be.default,t.Compiler=vD.Compiler,t.JavaScriptCompiler=Kbe.default,t.Parser=PD.parser,t.parse=PD.parse,t.parseWithoutProcessing=PD.parseWithoutProcessing,t}var CA=s5();CA.create=s5;t0e.default(CA);CA.Visitor=Zbe.default;CA.default=CA;MC.default=CA;i5.exports=MC.default});var a5=h(LC=>{"use strict";LC.__esModule=!0;LC.print=o0e;LC.PrintVisitor=et;function n0e(t){return t&&t.__esModule?t:{default:t}}var s0e=wC(),i0e=n0e(s0e);function o0e(t){return new et().accept(t)}function et(){this.padding=0}et.prototype=new i0e.default;et.prototype.pad=function(t){for(var e="",r=0,n=this.padding;r<n;r++)e+=" ";return e+=t+`
|
|
`,e};et.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};et.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};et.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};et.prototype.BlockStatement=et.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};et.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+" }}")};et.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+" }}")};et.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};et.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};et.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};et.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};et.prototype.StringLiteral=function(t){return'"'+t.value+'"'};et.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};et.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};et.prototype.UndefinedLiteral=function(){return"UNDEFINED"};et.prototype.NullLiteral=function(){return"NULL"};et.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(", ")+"}"};et.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var u5=h((N4e,A5)=>{var _C=o5().default,l5=a5();_C.PrintVisitor=l5.PrintVisitor;_C.print=l5.print;A5.exports=_C;function c5(t,e){var r=require("fs"),n=r.readFileSync(e,"utf8");t.exports=_C.compile(n)}typeof require<"u"&&require.extensions&&(require.extensions[".handlebars"]=c5,require.extensions[".hbs"]=c5)});var FD=B(require("os"),1);function Ui(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}function Om(t,e,r){let n=new OC(t,e,r);process.stdout.write(n.toString()+FD.EOL)}function qC(t,e=""){Om(t,{},e)}var _D="::",OC=class{constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=_D+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}=${P5(s)}`)}}return e+=`${_D}${R5(this.message)}`,e}};function R5(t){return Ui(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function P5(t){return Ui(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}var UD=B(require("crypto"),1),Hm=B(require("fs"),1),qm=B(require("os"),1);function OD(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!Hm.existsSync(r))throw new Error(`Missing file at path: ${r}`);Hm.appendFileSync(r,`${Ui(e)}${qm.EOL}`,{encoding:"utf8"})}function qD(t,e){let r=`ghadelimiter_${UD.randomUUID()}`,n=Ui(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}${qm.EOL}${n}${qm.EOL}${r}`}var Bx=B(require("os"),1);var Fh=B(QA(),1),Yie=B(Qu(),1);var As;(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"})(As||(As={}));var y1;(function(t){t.Accept="accept",t.ContentType="content-type"})(y1||(y1={}));var E1;(function(t){t.ApplicationJson="application/json"})(E1||(E1={}));var CSe=[As.MovedPermanently,As.ResourceMoved,As.SeeOther,As.TemporaryRedirect,As.PermanentRedirect],ISe=[As.BadGateway,As.ServiceUnavailable,As.GatewayTimeout];var I1=require("os"),xu=require("fs"),Ax=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})},{access:Wie,appendFile:$ie,writeFile:jie}=xu.promises,C1="GITHUB_STEP_SUMMARY";var ux=class{constructor(){this._buffer=""}filePath(){return Ax(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 Wie(e,xu.constants.R_OK|xu.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,o])=>` ${i}="${o}"`).join("");return r?`<${e}${s}>${r}</${e}>`:`<${e}${s}>`}write(e){return Ax(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?jie:$ie)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Ax(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(I1.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(o=>this.wrap("li",o)).join(""),i=this.wrap(n,s);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(s=>{let i=s.map(o=>{if(typeof o=="string")return this.wrap("td",o);let{header:a,data:c,colspan:l,rowspan:A}=o,u=a?"th":"td",d=Object.assign(Object.assign({},l&&{colspan:l}),A&&{rowspan:A});return this.wrap(u,c,d)}).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||{},o=Object.assign(Object.assign({},s&&{width:s}),i&&{height:i}),a=this.wrap("img",null,Object.assign({src:e,alt:r},o));return this.addRaw(a).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()}},RSe=new ux;var Ix=B(require("os"),1);var Cx=require("string_decoder");var bu=B(require("os"),1),Ex=B(require("events"),1),T1=B(require("child_process"),1),M1=B(require("path"),1);var R1=require("assert"),Mr=B(require("path"),1);var wu=B(require("fs"),1),io=B(require("path"),1),dx=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})},{chmod:mx,copyFile:Q1,lstat:Uh,mkdir:x1,open:DSe,readdir:px,rename:Kie,rm:w1,rmdir:kSe,stat:aa,symlink:b1,unlink:hx}=wu.promises,us=process.platform==="win32";function N1(t){return dx(this,void 0,void 0,function*(){let e=yield wu.promises.readlink(t);return us&&!e.endsWith("\\")?`${e}\\`:e})}var TSe=wu.constants.O_RDONLY;function el(t){return dx(this,void 0,void 0,function*(){try{yield aa(t)}catch(e){if(e.code==="ENOENT")return!1;throw e}return!0})}function Oh(t){if(t=Xie(t),!t)throw new Error('isRooted() parameter "p" cannot be empty');return us?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}function fx(t,e){return dx(this,void 0,void 0,function*(){let r;try{r=yield aa(t)}catch(s){s.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${s}`)}if(r&&r.isFile()){if(us){let s=io.extname(t).toUpperCase();if(e.some(i=>i.toUpperCase()===s))return t}else if(B1(r))return t}let n=t;for(let s of e){t=n+s,r=void 0;try{r=yield aa(t)}catch(i){i.code!=="ENOENT"&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${i}`)}if(r&&r.isFile()){if(us){try{let i=io.dirname(t),o=io.basename(t).toUpperCase();for(let a of yield px(i))if(o===a.toUpperCase()){t=io.join(i,a);break}}catch(i){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${i}`)}return t}else if(B1(r))return t}}return""})}function Xie(t){return t=t||"",us?(t=t.replace(/\//g,"\\"),t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}function B1(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()}var ca=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})};function P1(t,e){return ca(this,arguments,void 0,function*(r,n,s={}){let{force:i,recursive:o,copySourceDirectory:a}=eoe(s),c=(yield el(n))?yield aa(n):null;if(c&&c.isFile()&&!i)return;let l=c&&c.isDirectory()&&a?Mr.join(n,Mr.basename(r)):n;if(!(yield el(r)))throw new Error(`no such file or directory: ${r}`);if((yield aa(r)).isDirectory())if(o)yield v1(r,l,0,i);else throw new Error(`Failed to copy. ${r} is a directory, but tried to copy without recursive flag.`);else{if(Mr.relative(r,l)==="")throw new Error(`'${l}' and '${r}' are the same file`);yield D1(r,l,i)}})}function gx(t){return ca(this,void 0,void 0,function*(){if(us&&/[*"<>|]/.test(t))throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield w1(t,{force:!0,maxRetries:3,recursive:!0,retryDelay:300})}catch(e){throw new Error(`File was unable to be removed ${e}`)}})}function la(t){return ca(this,void 0,void 0,function*(){(0,R1.ok)(t,"a path argument must be provided"),yield x1(t,{recursive:!0})})}function ur(t,e){return ca(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");if(e){let n=yield ur(t,!1);if(!n)throw us?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 Zie(t);return r&&r.length>0?r[0]:""})}function Zie(t){return ca(this,void 0,void 0,function*(){if(!t)throw new Error("parameter 'tool' is required");let e=[];if(us&&process.env.PATHEXT)for(let s of process.env.PATHEXT.split(Mr.delimiter))s&&e.push(s);if(Oh(t)){let s=yield fx(t,e);return s?[s]:[]}if(t.includes(Mr.sep))return[];let r=[];if(process.env.PATH)for(let s of process.env.PATH.split(Mr.delimiter))s&&r.push(s);let n=[];for(let s of r){let i=yield fx(Mr.join(s,t),e);i&&n.push(i)}return n})}function eoe(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}}function v1(t,e,r,n){return ca(this,void 0,void 0,function*(){if(r>=255)return;r++,yield la(e);let s=yield px(t);for(let i of s){let o=`${t}/${i}`,a=`${e}/${i}`;(yield Uh(o)).isDirectory()?yield v1(o,a,r,n):yield D1(o,a,n)}yield mx(e,(yield aa(t)).mode)})}function D1(t,e,r){return ca(this,void 0,void 0,function*(){if((yield Uh(t)).isSymbolicLink()){try{yield Uh(e),yield hx(e)}catch(s){s.code==="EPERM"&&(yield mx(e,"0666"),yield hx(e))}let n=yield N1(t);yield b1(n,e,us?"junction":null)}else(!(yield el(e))||r)&&(yield Q1(t,e))})}var L1=require("timers"),k1=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})},qh=process.platform==="win32",Hh=class extends Ex.EventEmitter{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(qh)if(this._isCmdFile()){i+=n;for(let o of s)i+=` ${o}`}else if(e.windowsVerbatimArguments){i+=`"${n}"`;for(let o of s)i+=` ${o}`}else{i+=this._windowsQuoteCmdArg(n);for(let o of s)i+=` ${this._windowsQuoteCmdArg(o)}`}else{i+=n;for(let o of s)i+=` ${o}`}return i}_processLineBuffer(e,r,n){try{let s=r+e.toString(),i=s.indexOf(bu.EOL);for(;i>-1;){let o=s.substring(0,i);n(o),s=s.substring(i+bu.EOL.length),i=s.indexOf(bu.EOL)}return s}catch(s){return this._debug(`error processing line. Failed with error ${s}`),""}}_getSpawnFileName(){return qh&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(qh&&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 o of e)if(r.some(a=>a===o)){n=!0;break}if(!n)return e;let s='"',i=!0;for(let o=e.length;o>0;o--)s+=e[o-1],i&&e[o-1]==="\\"?s+="\\":e[o-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 k1(this,void 0,void 0,function*(){return!Oh(this.toolPath)&&(this.toolPath.includes("/")||qh&&this.toolPath.includes("\\"))&&(this.toolPath=M1.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield ur(this.toolPath,!0),new Promise((e,r)=>k1(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug("arguments:");for(let l of this.args)this._debug(` ${l}`);let n=this._cloneExecOptions(this.options);!n.silent&&n.outStream&&n.outStream.write(this._getCommandString(n)+bu.EOL);let s=new yx(n,this.toolPath);if(s.on("debug",l=>{this._debug(l)}),this.options.cwd&&!(yield el(this.options.cwd)))return r(new Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),o=T1.spawn(i,this._getSpawnArgs(n),this._getSpawnOptions(this.options,i)),a="";o.stdout&&o.stdout.on("data",l=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(l),!n.silent&&n.outStream&&n.outStream.write(l),a=this._processLineBuffer(l,a,A=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(A)})});let c="";if(o.stderr&&o.stderr.on("data",l=>{s.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(l),!n.silent&&n.errStream&&n.outStream&&(n.failOnStdErr?n.errStream:n.outStream).write(l),c=this._processLineBuffer(l,c,A=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(A)})}),o.on("error",l=>{s.processError=l.message,s.processExited=!0,s.processClosed=!0,s.CheckComplete()}),o.on("exit",l=>{s.processExitCode=l,s.processExited=!0,this._debug(`Exit code ${l} received from tool '${this.toolPath}'`),s.CheckComplete()}),o.on("close",l=>{s.processExitCode=l,s.processExited=!0,s.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),s.CheckComplete()}),s.on("done",(l,A)=>{a.length>0&&this.emit("stdline",a),c.length>0&&this.emit("errline",c),o.removeAllListeners(),l?r(l):e(A)}),this.options.input){if(!o.stdin)throw new Error("child process missing stdin");o.stdin.end(this.options.input)}}))})}};function _1(t){let e=[],r=!1,n=!1,s="";function i(o){n&&o!=='"'&&(s+="\\"),s+=o,n=!1}for(let o=0;o<t.length;o++){let a=t.charAt(o);if(a==='"'){n?i(a):r=!r;continue}if(a==="\\"&&n){i(a);continue}if(a==="\\"&&r){n=!0;continue}if(a===" "&&!r){s.length>0&&(e.push(s),s="");continue}i(a)}return s.length>0&&e.push(s.trim()),e}var yx=class t extends Ex.EventEmitter{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,L1.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 F1=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})};function oo(t,e,r){return F1(this,void 0,void 0,function*(){let n=_1(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 Hh(s,e,r).exec()})}function Nu(t,e,r){return F1(this,void 0,void 0,function*(){var n,s;let i="",o="",a=new Cx.StringDecoder("utf8"),c=new Cx.StringDecoder("utf8"),l=(n=r?.listeners)===null||n===void 0?void 0:n.stdout,A=(s=r?.listeners)===null||s===void 0?void 0:s.stderr,u=f=>{o+=c.write(f),A&&A(f)},d=f=>{i+=a.write(f),l&&l(f)},m=Object.assign(Object.assign({},r?.listeners),{stdout:d,stderr:u}),p=yield oo(t,e,Object.assign(Object.assign({},r),{listeners:m}));return i+=a.end(),o+=c.end(),{exitCode:p,stdout:i,stderr:o}})}var LSe=Ix.default.platform(),_Se=Ix.default.arch();var noe=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})},U1;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(U1||(U1={}));function Qx(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()}function xx(t,e){let r=["true","True","TRUE"],n=["false","False","FALSE"],s=Qx(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\``)}function O1(t,e){if(process.env.GITHUB_OUTPUT||"")return OD("OUTPUT",qD(t,e));process.stdout.write(Bx.EOL),Om("set-output",{name:t},Ui(e))}function Pe(t){Om("debug",{},t)}function zh(t){process.stdout.write(t+Bx.EOL)}function soe(t){qC("group",t)}function ioe(){qC("endgroup")}function ao(t,e){return noe(this,void 0,void 0,function*(){soe(t);let r;try{r=yield e()}finally{ioe()}return r})}var H1=B(require("os"),1);function co(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}function wx(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}function rl(t,e,r){let n=new bx(t,e,r);process.stdout.write(n.toString()+H1.EOL)}function Nx(t,e=""){rl(t,{},e)}var q1="::",bx=class{constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=q1+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}=${aoe(s)}`)}}return e+=`${q1}${ooe(this.message)}`,e}};function ooe(t){return co(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function aoe(t){return co(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}var z1=B(require("crypto"),1),Yh=B(require("fs"),1),Gh=B(require("os"),1);function G1(t,e){let r=process.env[`GITHUB_${t}`];if(!r)throw new Error(`Unable to find environment variable for file command ${t}`);if(!Yh.existsSync(r))throw new Error(`Missing file at path: ${r}`);Yh.appendFileSync(r,`${co(e)}${Gh.EOL}`,{encoding:"utf8"})}function Y1(t,e){let r=`ghadelimiter_${z1.randomUUID()}`,n=co(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}${Gh.EOL}${n}${Gh.EOL}${r}`}var j1=B(require("os"),1);var Vh=B(QA(),1),loe=B(Qu(),1);var ds;(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"})(ds||(ds={}));var V1;(function(t){t.Accept="accept",t.ContentType="content-type"})(V1||(V1={}));var J1;(function(t){t.ApplicationJson="application/json"})(J1||(J1={}));var sRe=[ds.MovedPermanently,ds.ResourceMoved,ds.SeeOther,ds.TemporaryRedirect,ds.PermanentRedirect],iRe=[ds.BadGateway,ds.ServiceUnavailable,ds.GatewayTimeout];var $1=require("os"),Ru=require("fs"),Sx=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})},{access:Aoe,appendFile:uoe,writeFile:doe}=Ru.promises,W1="GITHUB_STEP_SUMMARY";var Rx=class{constructor(){this._buffer=""}filePath(){return Sx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[W1];if(!e)throw new Error(`Unable to find environment variable for $${W1}. Check if your runtime environment supports job summaries.`);try{yield Aoe(e,Ru.constants.R_OK|Ru.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,o])=>` ${i}="${o}"`).join("");return r?`<${e}${s}>${r}</${e}>`:`<${e}${s}>`}write(e){return Sx(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?doe:uoe)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Sx(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($1.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(o=>this.wrap("li",o)).join(""),i=this.wrap(n,s);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(s=>{let i=s.map(o=>{if(typeof o=="string")return this.wrap("td",o);let{header:a,data:c,colspan:l,rowspan:A}=o,u=a?"th":"td",d=Object.assign(Object.assign({},l&&{colspan:l}),A&&{rowspan:A});return this.wrap(u,c,d)}).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||{},o=Object.assign(Object.assign({},s&&{width:s}),i&&{height:i}),a=this.wrap("img",null,Object.assign({src:e,alt:r},o));return this.addRaw(a).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()}},hRe=new Rx;var Px=B(require("os"),1);var yRe=Px.default.platform(),ERe=Px.default.arch();var poe=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})},vx;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(vx||(vx={}));function Dx(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()}function K1(t){process.exitCode=vx.Failure,hoe(t)}function Lr(t){rl("debug",{},t)}function hoe(t,e={}){rl("error",wx(e),t instanceof Error?t.toString():t)}function lo(t,e={}){rl("warning",wx(e),t instanceof Error?t.toString():t)}function an(t){process.stdout.write(t+j1.EOL)}function foe(t){Nx("group",t)}function goe(){Nx("endgroup")}function X1(t,e){return poe(this,void 0,void 0,function*(){foe(t);let r;try{r=yield e()}finally{goe()}return r})}function Jh(t,e){if(process.env.GITHUB_STATE||"")return G1("STATE",Y1(t,e));rl("save-state",{name:t},co(e))}function Z1(t){return process.env[`STATE_${t}`]||""}var KE=B(require("fs"),1),Dv=B(require("os"),1),kv=B(require("path"),1);var dr=B(require("fs"),1);var mle=B(Xx(),1);var af=B(require("os"),1),Ao=B(require("path"),1);var An=B(Xx(),1);var zq=require("assert");var Hq=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})};var PPe=process.platform==="win32",vPe=process.platform==="darwin";function Zx(t,e,r,n){return Hq(this,void 0,void 0,function*(){if(r=An.clean(r)||r,n=n||af.arch(),Pe(`Caching tool ${e} ${r} ${n}`),Pe(`source dir: ${t}`),!dr.statSync(t).isDirectory())throw new Error("sourceDir is not a directory");let s=yield fle(e,r,n);for(let i of dr.readdirSync(t)){let o=Ao.join(t,i);yield P1(o,s,{recursive:!0})}return gle(e,r,n),s})}function Gq(t,e,r){if(!t)throw new Error("toolName parameter is required");if(!e)throw new Error("versionSpec parameter is required");if(r=r||af.arch(),!Yq(e)){let s=hle(t,r);e=yle(s,e)}let n="";if(e){e=An.clean(e)||"";let s=Ao.join(cf(),t,e,r);Pe(`checking cache: ${s}`),dr.existsSync(s)&&dr.existsSync(`${s}.complete`)?(Pe(`Found tool in cache ${t} ${e} ${r}`),n=s):Pe("not found")}return n}function hle(t,e){let r=[];e=e||af.arch();let n=Ao.join(cf(),t);if(dr.existsSync(n)){let s=dr.readdirSync(n);for(let i of s)if(Yq(i)){let o=Ao.join(n,i,e||"");dr.existsSync(o)&&dr.existsSync(`${o}.complete`)&&r.push(i)}}return r}function fle(t,e,r){return Hq(this,void 0,void 0,function*(){let n=Ao.join(cf(),t,An.clean(e)||e,r||"");Pe(`destination ${n}`);let s=`${n}.complete`;return yield gx(n),yield gx(s),yield la(n),n})}function gle(t,e,r){let s=`${Ao.join(cf(),t,An.clean(e)||e,r||"")}.complete`;dr.writeFileSync(s,""),Pe("finished caching tool")}function Yq(t){let e=An.clean(t)||"";Pe(`isExplicit: ${e}`);let r=An.valid(e)!=null;return Pe(`explicit? ${r}`),r}function yle(t,e){let r="";Pe(`evaluating ${t.length} versions`),t=t.sort((n,s)=>An.gt(n,s)?1:-1);for(let n=t.length-1;n>=0;n--){let s=t[n];if(An.satisfies(s,e)){r=s;break}}return r?Pe(`matched: ${r}`):Pe("match not found"),r}function cf(){let t=process.env.RUNNER_TOOL_CACHE||"";return(0,zq.ok)(t,"Expected RUNNER_TOOL_CACHE to be defined"),t}var Jq=B(require("os"),1);function Fu(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}function ew(t){return Object.keys(t).length?{title:t.title,file:t.file,line:t.startLine,endLine:t.endLine,col:t.startColumn,endColumn:t.endColumn}:{}}function Uu(t,e,r){let n=new tw(t,e,r);process.stdout.write(n.toString()+Jq.EOL)}var Vq="::",tw=class{constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=Vq+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let s=this.properties[n];s&&(r?r=!1:e+=",",e+=`${n}=${Ile(s)}`)}}return e+=`${Vq}${Cle(this.message)}`,e}};function Cle(t){return Fu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function Ile(t){return Fu(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}var Zq=B(require("os"),1);var lf=B(QA(),1),Qle=B(Qu(),1);var ps;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(ps||(ps={}));var Wq;(function(t){t.Accept="accept",t.ContentType="content-type"})(Wq||(Wq={}));var $q;(function(t){t.ApplicationJson="application/json"})($q||($q={}));var FPe=[ps.MovedPermanently,ps.ResourceMoved,ps.SeeOther,ps.TemporaryRedirect,ps.PermanentRedirect],UPe=[ps.BadGateway,ps.ServiceUnavailable,ps.GatewayTimeout];var Kq=require("os"),Ou=require("fs"),rw=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})},{access:xle,appendFile:wle,writeFile:ble}=Ou.promises,jq="GITHUB_STEP_SUMMARY";var nw=class{constructor(){this._buffer=""}filePath(){return rw(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[jq];if(!e)throw new Error(`Unable to find environment variable for $${jq}. Check if your runtime environment supports job summaries.`);try{yield xle(e,Ou.constants.R_OK|Ou.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,o])=>` ${i}="${o}"`).join("");return r?`<${e}${s}>${r}</${e}>`:`<${e}${s}>`}write(e){return rw(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?ble:wle)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return rw(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(o=>this.wrap("li",o)).join(""),i=this.wrap(n,s);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(s=>{let i=s.map(o=>{if(typeof o=="string")return this.wrap("td",o);let{header:a,data:c,colspan:l,rowspan:A}=o,u=a?"th":"td",d=Object.assign(Object.assign({},l&&{colspan:l}),A&&{rowspan:A});return this.wrap(u,c,d)}).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||{},o=Object.assign(Object.assign({},s&&{width:s}),i&&{height:i}),a=this.wrap("img",null,Object.assign({src:e,alt:r},o));return this.addRaw(a).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()}},WPe=new nw;var sw=B(require("os"),1);var KPe=sw.default.platform(),XPe=sw.default.arch();var Xq;(function(t){t[t.Success=0]="Success",t[t.Failure=1]="Failure"})(Xq||(Xq={}));function sl(t){Uu("add-mask",{},t)}function da(){return process.env.RUNNER_DEBUG==="1"}function N(t){Uu("debug",{},t)}function qu(t,e={}){Uu("error",ew(e),t instanceof Error?t.toString():t)}function Fn(t,e={}){Uu("warning",ew(e),t instanceof Error?t.toString():t)}function mt(t){process.stdout.write(t+Zq.EOL)}var Bm=B(require("path"),1);var ll=B(require("fs"),1);function iw(t){let e={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return t&&(typeof t.followSymbolicLinks=="boolean"&&(e.followSymbolicLinks=t.followSymbolicLinks,Pe(`followSymbolicLinks '${e.followSymbolicLinks}'`)),typeof t.implicitDescendants=="boolean"&&(e.implicitDescendants=t.implicitDescendants,Pe(`implicitDescendants '${e.implicitDescendants}'`)),typeof t.matchDirectories=="boolean"&&(e.matchDirectories=t.matchDirectories,Pe(`matchDirectories '${e.matchDirectories}'`)),typeof t.omitBrokenSymbolicLinks=="boolean"&&(e.omitBrokenSymbolicLinks=t.omitBrokenSymbolicLinks,Pe(`omitBrokenSymbolicLinks '${e.omitBrokenSymbolicLinks}'`)),typeof t.excludeHiddenFiles=="boolean"&&(e.excludeHiddenFiles=t.excludeHiddenFiles,Pe(`excludeHiddenFiles '${e.excludeHiddenFiles}'`))),e}var pf=B(require("path"),1);var il=B(require("path"),1),uo=B(require("assert"),1),mo=process.platform==="win32";function fi(t){if(t=hi(t),mo&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(t))return t;let e=il.dirname(t);return mo&&/^\\\\[^\\]+\\[^\\]+\\$/.test(e)&&(e=hi(e)),e}function Af(t,e){if((0,uo.default)(t,"ensureAbsoluteRoot parameter 'root' must not be empty"),(0,uo.default)(e,"ensureAbsoluteRoot parameter 'itemPath' must not be empty"),Hu(e))return e;if(mo){if(e.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let r=process.cwd();return(0,uo.default)(r.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${r}'`),e[0].toUpperCase()===r[0].toUpperCase()?e.length===2?`${e[0]}:\\${r.substr(3)}`:(r.endsWith("\\")||(r+="\\"),`${e[0]}:\\${r.substr(3)}${e.substr(2)}`):`${e[0]}:\\${e.substr(2)}`}else if(Un(e).match(/^\\$|^\\[^\\]/)){let r=process.cwd();return(0,uo.default)(r.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${r}'`),`${r[0]}:\\${e.substr(1)}`}}return(0,uo.default)(Hu(t),"ensureAbsoluteRoot parameter 'root' must have an absolute root"),t.endsWith("/")||mo&&t.endsWith("\\")||(t+=il.sep),t+e}function Hu(t){return(0,uo.default)(t,"hasAbsoluteRoot parameter 'itemPath' must not be empty"),t=Un(t),mo?t.startsWith("\\\\")||/^[A-Z]:\\/i.test(t):t.startsWith("/")}function zu(t){return(0,uo.default)(t,"isRooted parameter 'itemPath' must not be empty"),t=Un(t),mo?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")}function Un(t){return t=t||"",mo?(t=t.replace(/\//g,"\\"),(/^\\\\+[^\\]/.test(t)?"\\":"")+t.replace(/\\\\+/g,"\\")):t.replace(/\/\/+/g,"/")}function hi(t){return t?(t=Un(t),!t.endsWith(il.sep)||t===il.sep||mo&&/^[A-Z]:\\$/i.test(t)?t:t.substr(0,t.length-1)):""}var On;(function(t){t[t.None=0]="None",t[t.Directory=1]="Directory",t[t.File=2]="File",t[t.All=3]="All"})(On||(On={}));var eH=process.platform==="win32";function aw(t){t=t.filter(n=>!n.negate);let e={};for(let n of t){let s=eH?n.searchPath.toUpperCase():n.searchPath;e[s]="candidate"}let r=[];for(let n of t){let s=eH?n.searchPath.toUpperCase():n.searchPath;if(e[s]==="included")continue;let i=!1,o=s,a=fi(o);for(;a!==o;){if(e[a]){i=!0;break}o=a,a=fi(o)}i||(r.push(n.searchPath),e[s]="included")}return r}function tH(t,e){let r=On.None;for(let n of t)n.negate?r&=~n.match(e):r|=n.match(e);return r}function rH(t,e){return t.some(r=>!r.negate&&r.partialMatch(e))}var xH=B(require("os"),1),cl=B(require("path"),1);var ho=B(require("assert"),1),wH=B(QH(),1);var pa=B(require("path"),1);var al=B(require("assert"),1),Kle=process.platform==="win32",ha=class{constructor(e){if(this.segments=[],typeof e=="string")if((0,al.default)(e,"Parameter 'itemPath' must not be empty"),e=hi(e),!zu(e))this.segments=e.split(pa.sep);else{let r=e,n=fi(r);for(;n!==r;){let s=pa.basename(r);this.segments.unshift(s),r=n,n=fi(r)}this.segments.unshift(r)}else{(0,al.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,al.default)(n,"Parameter 'itemPath' must not contain any empty segments"),n=Un(e[r]),r===0&&zu(n)?(n=hi(n),(0,al.default)(n===fi(n),"Parameter 'itemPath' root segment contains information for multiple segments"),this.segments.push(n)):((0,al.default)(!n.includes(pa.sep),"Parameter 'itemPath' contains unexpected path separators"),this.segments.push(n))}}}toString(){let e=this.segments[0],r=e.endsWith(pa.sep)||Kle&&/^[A-Z]:$/i.test(e);for(let n=1;n<this.segments.length;n++)r?r=!1:e+=pa.sep,e+=this.segments[n];return e}};var{Minimatch:Xle}=wH.default,gi=process.platform==="win32",Yu=class t{constructor(e,r=!1,n,s){this.negate=!1;let i;if(typeof e=="string")i=e.trim();else{n=n||[],(0,ho.default)(n.length,"Parameter 'segments' must not empty");let l=t.getLiteral(n[0]);(0,ho.default)(l&&Hu(l),"Parameter 'segments' first element must be a root path"),i=new ha(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 ha(i).segments,this.trailingSeparator=Un(i).endsWith(cl.sep),i=hi(i);let o=!1,a=this.segments.map(l=>t.getLiteral(l)).filter(l=>!o&&!(o=l===""));this.searchPath=new ha(a).toString(),this.rootRegExp=new RegExp(t.regExpEscape(a[0]),gi?"i":""),this.isImplicitPattern=r;let c={dot:!0,nobrace:!0,nocase:gi,nocomment:!0,noext:!0,nonegate:!0};i=gi?i.replace(/\\/g,"/"):i,this.minimatch=new Xle(i,c)}match(e){return this.segments[this.segments.length-1]==="**"?(e=Un(e),!e.endsWith(cl.sep)&&this.isImplicitPattern===!1&&(e=`${e}${cl.sep}`)):e=hi(e),this.minimatch.match(e)?this.trailingSeparator?On.Directory:On.All:On.None}partialMatch(e){return e=hi(e),fi(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(gi?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(gi?e:e.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(e,r){(0,ho.default)(e,"pattern cannot be empty");let n=new ha(e).segments.map(s=>t.getLiteral(s));if((0,ho.default)(n.every((s,i)=>(s!=="."||i===0)&&s!==".."),`Invalid pattern '${e}'. Relative pathing '.' and '..' is not allowed.`),(0,ho.default)(!zu(e)||n[0],`Invalid pattern '${e}'. Root segment must not contain globs.`),e=Un(e),e==="."||e.startsWith(`.${cl.sep}`))e=t.globEscape(process.cwd())+e.substr(1);else if(e==="~"||e.startsWith(`~${cl.sep}`))r=r||xH.homedir(),(0,ho.default)(r,"Unable to determine HOME directory"),(0,ho.default)(Hu(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),e=t.globEscape(r)+e.substr(1);else if(gi&&(e.match(/^[A-Z]:$/i)||e.match(/^[A-Z]:[^\\]/i))){let s=Af("C:\\dummy-root",e.substr(0,2));e.length>2&&!s.endsWith("\\")&&(s+="\\"),e=t.globEscape(s)+e.substr(2)}else if(gi&&(e==="\\"||e.match(/^\\[^\\]/))){let s=Af("C:\\dummy-root","\\");s.endsWith("\\")||(s+="\\"),e=t.globEscape(s)+e.substr(1)}else e=Af(t.globEscape(process.cwd()),e);return Un(e)}static getLiteral(e){let r="";for(let n=0;n<e.length;n++){let s=e[n];if(s==="\\"&&!gi&&n+1<e.length){r+=e[++n];continue}else{if(s==="*"||s==="?")return"";if(s==="["&&n+1<e.length){let i="",o=-1;for(let a=n+1;a<e.length;a++){let c=e[a];if(c==="\\"&&!gi&&a+1<e.length){i+=e[++a];continue}else if(c==="]"){o=a;break}else i+=c}if(o>=0){if(i.length>1)return"";if(i){r+=i,n=o;continue}}}}r+=s}return r}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,"\\$&")}};var Vu=class{constructor(e,r){this.path=e,this.level=r}};var mw=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})},Zle=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=t[i]&&function(o){return new Promise(function(a,c){o=t[i](o),s(a,c,o.done,o.value)})}}function s(i,o,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},o)}},fo=function(t){return this instanceof fo?(this.v=t,this):new fo(t)},eAe=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),a("next"),a("throw"),a("return",o),s[Symbol.asyncIterator]=function(){return this},s;function o(m){return function(p){return Promise.resolve(p).then(m,u)}}function a(m,p){n[m]&&(s[m]=function(f){return new Promise(function(E,g){i.push([m,f,E,g])>1||c(m,f)})},p&&(s[m]=p(s[m])))}function c(m,p){try{l(n[m](p))}catch(f){d(i[0][3],f)}}function l(m){m.value instanceof fo?Promise.resolve(m.value.v).then(A,u):d(i[0][2],m)}function A(m){c("next",m)}function u(m){c("throw",m)}function d(m,p){m(p),i.shift(),i.length&&c(i[0][0],i[0][1])}},tAe=process.platform==="win32",mf=class t{constructor(e){this.patterns=[],this.searchPaths=[],this.options=iw(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return mw(this,void 0,void 0,function*(){var e,r,n,s;let i=[];try{for(var o=!0,a=Zle(this.globGenerator()),c;c=yield a.next(),e=c.done,!e;o=!0){s=c.value,o=!1;let l=s;i.push(l)}}catch(l){r={error:l}}finally{try{!o&&!e&&(n=a.return)&&(yield n.call(a))}finally{if(r)throw r.error}}return i})}globGenerator(){return eAe(this,arguments,function*(){let r=iw(this.options),n=[];for(let o of this.patterns)n.push(o),r.implicitDescendants&&(o.trailingSeparator||o.segments[o.segments.length-1]!=="**")&&n.push(new Yu(o.negate,!0,o.segments.concat("**")));let s=[];for(let o of aw(n)){Pe(`Search path '${o}'`);try{yield fo(ll.promises.lstat(o))}catch(a){if(a.code==="ENOENT")continue;throw a}s.unshift(new Vu(o,1))}let i=[];for(;s.length;){let o=s.pop(),a=tH(n,o.path),c=!!a||rH(n,o.path);if(!a&&!c)continue;let l=yield fo(t.stat(o,r,i));if(l&&!(r.excludeHiddenFiles&&pf.basename(o.path).match(/^\./)))if(l.isDirectory()){if(a&On.Directory&&r.matchDirectories)yield yield fo(o.path);else if(!c)continue;let A=o.level+1,u=(yield fo(ll.promises.readdir(o.path))).map(d=>new Vu(pf.join(o.path,d),A));s.push(...u.reverse())}else a&On.File&&(yield yield fo(o.path))}})}static create(e,r){return mw(this,void 0,void 0,function*(){let n=new t(r);tAe&&(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 Yu(i));return n.searchPaths.push(...aw(n.patterns)),n})}static stat(e,r,n){return mw(this,void 0,void 0,function*(){let s;if(r.followSymbolicLinks)try{s=yield ll.promises.stat(e.path)}catch(i){if(i.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){Pe(`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 ll.promises.lstat(e.path);if(s.isDirectory()&&r.followSymbolicLinks){let i=yield ll.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(o=>o===i)){Pe(`Symlink cycle detected for path '${e.path}' and realpath '${i}'`);return}n.push(i)}return s})}};var rAe=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})};function bH(t,e){return rAe(this,void 0,void 0,function*(){return yield mf.create(t,e)})}var Rf=B(require("crypto"),1),dl=B(require("fs"),1),ga=B(require("path"),1),gG=B(hG(),1),yG=B(require("util"),1);var ed;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(ed||(ed={}));var Xt;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(Xt||(Xt={}));var Fr;(function(t){t.GNU="gnu",t.BSD="bsd"})(Fr||(Fr={}));var Nf=2,Sf=5e3,kw=5e3,Tw=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,fG=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,td="cache.tar",Mw="manifest.txt",xDe=10*Math.pow(1024,3);var ul=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})},Zde=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=t[i]&&function(o){return new Promise(function(a,c){o=t[i](o),s(a,c,o.done,o.value)})}}function s(i,o,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},o)}},eme="1.0";function rd(){return ul(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=ga.join(n,"actions","temp")}let r=ga.join(e,Rf.randomUUID());return yield la(r),r})}function fs(t){return dl.statSync(t).size}function Lw(t){return ul(this,void 0,void 0,function*(){var e,r,n,s,i;let o=[],a=(i=process.env.GITHUB_WORKSPACE)!==null&&i!==void 0?i:process.cwd(),c=yield bH(t.join(`
|
|
`),{implicitDescendants:!1});try{for(var l=!0,A=Zde(c.globGenerator()),u;u=yield A.next(),e=u.done,!e;l=!0){s=u.value,l=!1;let m=ga.relative(a,s).replace(new RegExp(`\\${ga.sep}`,"g"),"/");N(`Matched: ${m}`),m===""?o.push("."):o.push(`${m}`)}}catch(d){r={error:d}}finally{try{!l&&!e&&(n=A.return)&&(yield n.call(A))}finally{if(r)throw r.error}}return o})}function nd(t){return ul(this,void 0,void 0,function*(){return yG.promisify(dl.unlink)(t)})}function EG(t){return ul(this,arguments,void 0,function*(e,r=[]){let n="";r.push("--version"),N(`Checking ${e} ${r.join(" ")}`);try{yield oo(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:s=>n+=s.toString(),stderr:s=>n+=s.toString()}})}catch(s){N(s.message)}return n=n.trim(),N(n),n})}function sd(){return ul(this,void 0,void 0,function*(){let t=yield EG("zstd",["--quiet"]),e=gG.clean(t);return N(`zstd version: ${e}`),t===""?Xt.Gzip:Xt.ZstdWithoutLong})}function go(t){return t===Xt.Gzip?ed.Gzip:ed.Zstd}function CG(){return ul(this,void 0,void 0,function*(){return dl.existsSync(Tw)?Tw:(yield EG("tar")).toLowerCase().includes("gnu tar")?ur("tar"):""})}function _w(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}function ml(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(eme),Rf.createHash("sha256").update(n.join("|")).digest("hex")}function IG(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}var od=B(require("http"),1),Ow=B(require("https"),1);function Fw(t){let e=t.protocol==="https:";if(tme(t))return;let r=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new vf(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new vf(`http://${r}`)}else return}function tme(t){if(!t.hostname)return!1;let e=t.hostname;if(rme(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let s=[t.hostname.toUpperCase()];typeof n=="number"&&s.push(`${s[0]}:${n}`);for(let i of r.split(",").map(o=>o.trim().toUpperCase()).filter(o=>o))if(i==="*"||s.some(o=>o===i||o.endsWith(`.${i}`)||i.startsWith(".")&&o.endsWith(`${i}`)))return!0;return!1}function rme(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}var vf=class extends URL{constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}};var yo=B(QA(),1),BG=B(Qu(),1),st=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})},Ve;(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"})(Ve||(Ve={}));var Zt;(function(t){t.Accept="accept",t.ContentType="content-type"})(Zt||(Zt={}));var yi;(function(t){t.ApplicationJson="application/json"})(yi||(yi={}));var sme=[Ve.MovedPermanently,Ve.ResourceMoved,Ve.SeeOther,Ve.TemporaryRedirect,Ve.PermanentRedirect],ime=[Ve.BadGateway,Ve.ServiceUnavailable,Ve.GatewayTimeout],ome=["OPTIONS","GET","DELETE","HEAD"],ame=10,cme=5,gs=class t extends Error{constructor(e,r){super(e),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,t.prototype)}},Uw=class{constructor(e){this.message=e}readBody(){return st(this,void 0,void 0,function*(){return new Promise(e=>st(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 st(this,void 0,void 0,function*(){return new Promise(e=>st(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 Ei=class{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 st(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,r||{})})}get(e,r){return st(this,void 0,void 0,function*(){return this.request("GET",e,null,r||{})})}del(e,r){return st(this,void 0,void 0,function*(){return this.request("DELETE",e,null,r||{})})}post(e,r,n){return st(this,void 0,void 0,function*(){return this.request("POST",e,r,n||{})})}patch(e,r,n){return st(this,void 0,void 0,function*(){return this.request("PATCH",e,r,n||{})})}put(e,r,n){return st(this,void 0,void 0,function*(){return this.request("PUT",e,r,n||{})})}head(e,r){return st(this,void 0,void 0,function*(){return this.request("HEAD",e,null,r||{})})}sendStream(e,r,n,s){return st(this,void 0,void 0,function*(){return this.request(e,r,n,s)})}getJson(e){return st(this,arguments,void 0,function*(r,n={}){n[Zt.Accept]=this._getExistingOrDefaultHeader(n,Zt.Accept,yi.ApplicationJson);let s=yield this.get(r,n);return this._processResponse(s,this.requestOptions)})}postJson(e,r){return st(this,arguments,void 0,function*(n,s,i={}){let o=JSON.stringify(s,null,2);i[Zt.Accept]=this._getExistingOrDefaultHeader(i,Zt.Accept,yi.ApplicationJson),i[Zt.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,yi.ApplicationJson);let a=yield this.post(n,o,i);return this._processResponse(a,this.requestOptions)})}putJson(e,r){return st(this,arguments,void 0,function*(n,s,i={}){let o=JSON.stringify(s,null,2);i[Zt.Accept]=this._getExistingOrDefaultHeader(i,Zt.Accept,yi.ApplicationJson),i[Zt.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,yi.ApplicationJson);let a=yield this.put(n,o,i);return this._processResponse(a,this.requestOptions)})}patchJson(e,r){return st(this,arguments,void 0,function*(n,s,i={}){let o=JSON.stringify(s,null,2);i[Zt.Accept]=this._getExistingOrDefaultHeader(i,Zt.Accept,yi.ApplicationJson),i[Zt.ContentType]=this._getExistingOrDefaultContentTypeHeader(i,yi.ApplicationJson);let a=yield this.patch(n,o,i);return this._processResponse(a,this.requestOptions)})}request(e,r,n,s){return st(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let i=new URL(r),o=this._prepareRequest(e,i,s),a=this._allowRetries&&ome.includes(e)?this._maxRetries+1:1,c=0,l;do{if(l=yield this.requestRaw(o,n),l&&l.message&&l.message.statusCode===Ve.Unauthorized){let u;for(let d of this.handlers)if(d.canHandleAuthentication(l)){u=d;break}return u?u.handleAuthentication(this,o,n):l}let A=this._maxRedirects;for(;l.message.statusCode&&sme.includes(l.message.statusCode)&&this._allowRedirects&&A>0;){let u=l.message.headers.location;if(!u)break;let d=new URL(u);if(i.protocol==="https:"&&i.protocol!==d.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 l.readBody(),d.hostname!==i.hostname)for(let m in s)m.toLowerCase()==="authorization"&&delete s[m];o=this._prepareRequest(e,d,s),l=yield this.requestRaw(o,n),A--}if(!l.message.statusCode||!ime.includes(l.message.statusCode))return l;c+=1,c<a&&(yield l.readBody(),yield this._performExponentialBackoff(c))}while(c<a);return l})}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,r){return st(this,void 0,void 0,function*(){return new Promise((n,s)=>{function i(o,a){o?s(o):a?n(a):s(new Error("Unknown error"))}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(c,l){s||(s=!0,n(c,l))}let o=e.httpModule.request(e.options,c=>{let l=new Uw(c);i(void 0,l)}),a;o.on("socket",c=>{a=c}),o.setTimeout(this._socketTimeout||3*6e4,()=>{a&&a.end(),i(new Error(`Request timeout: ${e.options.path}`))}),o.on("error",function(c){i(c)}),r&&typeof r=="string"&&o.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){o.end()}),r.pipe(o)):o.end()}getAgent(e){let r=new URL(e);return this._getAgent(r)}getAgentDispatcher(e){let r=new URL(e),n=Fw(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?Ow:od;let o=i?443:80;if(s.options={},s.options.host=s.parsedUrl.hostname,s.options.port=s.parsedUrl.port?parseInt(s.parsedUrl.port):o,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 a of this.handlers)a.prepareRequest(s.options);return s}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},id(this.requestOptions.headers),id(e||{})):id(e||{})}_getExistingOrDefaultHeader(e,r,n){let s;if(this.requestOptions&&this.requestOptions.headers){let o=id(this.requestOptions.headers)[r];o&&(s=typeof o=="number"?o.toString():o)}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=id(this.requestOptions.headers)[Zt.ContentType];i&&(typeof i=="number"?n=String(i):Array.isArray(i)?n=i.join(", "):n=i)}let s=e[Zt.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=Fw(e),s=n&&n.hostname;if(this._keepAlive&&s&&(r=this._proxyAgent),s||(r=this._agent),r)return r;let i=e.protocol==="https:",o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||od.globalAgent.maxSockets),n&&n.hostname){let a={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},c,l=n.protocol==="https:";i?c=l?yo.httpsOverHttps:yo.httpsOverHttp:c=l?yo.httpOverHttps:yo.httpOverHttp,r=c(a),this._proxyAgent=r}if(!r){let a={keepAlive:this._keepAlive,maxSockets:o};r=i?new Ow.Agent(a):new od.Agent(a),this._agent=r}return i&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_getProxyAgentDispatcher(e,r){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let s=e.protocol==="https:";return n=new BG.ProxyAgent(Object.assign({uri:r.href,pipelining:this._keepAlive?1:0},(r.username||r.password)&&{token:`Basic ${Buffer.from(`${r.username}:${r.password}`).toString("base64")}`})),this._proxyAgentDispatcher=n,s&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let r=e||"actions/http-client",n=process.env.ACTIONS_ORCHESTRATION_ID;if(n){let s=n.replace(/[^a-z0-9_.-]/gi,"_");return`${r} actions_orchestration_id/${s}`}return r}_performExponentialBackoff(e){return st(this,void 0,void 0,function*(){e=Math.min(ame,e);let r=cme*Math.pow(2,e);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(e,r){return st(this,void 0,void 0,function*(){return new Promise((n,s)=>st(this,void 0,void 0,function*(){let i=e.message.statusCode||0,o={statusCode:i,result:null,headers:{}};i===Ve.NotFound&&n(o);function a(A,u){if(typeof u=="string"){let d=new Date(u);if(!isNaN(d.valueOf()))return d}return u}let c,l;try{l=yield e.readBody(),l&&l.length>0&&(r&&r.deserializeDates?c=JSON.parse(l,a):c=JSON.parse(l),o.result=c),o.headers=e.message.headers}catch{}if(i>299){let A;c&&c.message?A=c.message:l&&l.length>0?A=l:A=`Failed request: (${i})`;let u=new gs(A,i);u.result=o.result,s(u)}else n(o)}))})}},id=t=>Object.keys(t).reduce((e,r)=>(e[r.toLowerCase()]=t[r],e),{});var lme=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})};var pl=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return lme(this,void 0,void 0,function*(){throw new Error("not implemented")})}};var Gl=B(require("fs"),1),j4=require("url");var ys=class extends Error{constructor(e){super(e),this.name="AbortError"}};var QG=require("node:os"),xG=B(require("node:util"),1),wG=B(require("node:process"),1);function bG(t,...e){wG.default.stderr.write(`${xG.default.format(t,...e)}${QG.EOL}`)}var NG=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,RG,qw=[],Hw=[],Df=[];NG&&zw(NG);var PG=Object.assign(t=>vG(t),{enable:zw,enabled:Gw,disable:Ame,log:bG});function zw(t){RG=t,qw=[],Hw=[];let e=t.split(",").map(r=>r.trim());for(let r of e)r.startsWith("-")?Hw.push(r.substring(1)):qw.push(r);for(let r of Df)r.enabled=Gw(r.namespace)}function Gw(t){if(t.endsWith("*"))return!0;for(let e of Hw)if(SG(t,e))return!1;for(let e of qw)if(SG(t,e))return!0;return!1}function SG(t,e){if(e.indexOf("*")===-1)return t===e;let r=e;if(e.indexOf("**")!==-1){let d=[],m="";for(let p of e)p==="*"&&m==="*"||(m=p,d.push(p));r=d.join("")}let n=0,s=0,i=r.length,o=t.length,a=-1,c=-1;for(;n<o&&s<i;)if(r[s]==="*"){if(a=s,s++,s===i)return!0;for(;t[n]!==r[s];)if(n++,n===o)return!1;c=n,n++,s++;continue}else if(r[s]===t[n])s++,n++;else if(a>=0){if(s=a+1,n=c+1,n===o)return!1;for(;t[n]!==r[s];)if(n++,n===o)return!1;c=n,n++,s++;continue}else return!1;let l=n===t.length,A=s===r.length,u=s===r.length-1&&r[s]==="*";return l&&(A||u)}function Ame(){let t=RG||"";return zw(""),t}function vG(t){let e=Object.assign(r,{enabled:Gw(t),destroy:ume,log:PG.log,namespace:t,extend:dme});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return Df.push(e),e}function ume(){let t=Df.indexOf(this);return t>=0?(Df.splice(t,1),!0):!1}function dme(t){let e=vG(`${this.namespace}:${t}`);return e.log=this.log,e}var hl=PG;var Yw=["verbose","info","warning","error"],DG={verbose:400,info:300,warning:200,error:100};function kG(t,e){e.log=(...r)=>{t.log(...r)}}function TG(t){return Yw.includes(t)}function kf(t){let e=new Set,r=typeof process<"u"&&process.env&&process.env[t.logLevelEnvVarName]||void 0,n,s=hl(t.namespace);s.log=(...A)=>{hl.log(...A)};function i(A){if(A&&!TG(A))throw new Error(`Unknown log level '${A}'. Acceptable values: ${Yw.join(",")}`);n=A;let u=[];for(let d of e)o(d)&&u.push(d.namespace);hl.enable(u.join(","))}r&&(TG(r)?i(r):console.error(`${t.logLevelEnvVarName} set to unknown log level '${r}'; logging is not enabled. Acceptable values: ${Yw.join(", ")}.`));function o(A){return!!(n&&DG[A.level]<=DG[n])}function a(A,u){let d=Object.assign(A.extend(u),{level:u});if(kG(A,d),o(d)){let m=hl.disable();hl.enable(m+","+d.namespace)}return e.add(d),d}function c(){return n}function l(A){let u=s.extend(A);return kG(s,u),{error:a(u,"error"),warning:a(u,"warning"),info:a(u,"info"),verbose:a(u,"verbose")}}return{setLogLevel:i,getLogLevel:c,createClientLogger:l,logger:s}}var MG=kf({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"}),mme=MG.logger;function ad(t){return MG.createClientLogger(t)}function Tf(t){return t.toLowerCase()}function*pme(t){for(let e of t.values())yield[e.name,e.value]}var Vw=class{_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let r of Object.keys(e))this.set(r,e[r])}set(e,r){this._headersMap.set(Tf(e),{name:e,value:String(r).trim()})}get(e){return this._headersMap.get(Tf(e))?.value}has(e){return this._headersMap.has(Tf(e))}delete(e){this._headersMap.delete(Tf(e))}toJSON(e={}){let r={};if(e.preserveCase)for(let n of this._headersMap.values())r[n.name]=n.value;else for(let[n,s]of this._headersMap)r[n]=s.value;return r}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return pme(this._headersMap)}};function Ur(t){return new Vw(t)}function ya(){return crypto.randomUUID()}var Jw=class{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??Ur(),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||ya(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function Mf(t){return new Jw(t)}var LG=new Set(["Deserialize","Serialize","Retry","Sign"]),Ww=class t{_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&&!LG.has(r.phase))throw new Error(`Invalid phase name: ${r.phase}`);if(r.afterPhase&&!LG.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,o)=>a=>o.sendRequest(a,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(p){return{name:p,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}let s=n("Serialize"),i=n("None"),o=n("Deserialize"),a=n("Retry"),c=n("Sign"),l=[s,i,o,a,c];function A(p){return p==="Retry"?a:p==="Serialize"?s:p==="Deserialize"?o:p==="Sign"?c:i}for(let p of this._policies){let f=p.policy,E=p.options,g=f.name;if(r.has(g))throw new Error("Duplicate policy names not allowed in pipeline");let y={policy:f,dependsOn:new Set,dependants:new Set};E.afterPhase&&(y.afterPhase=A(E.afterPhase),y.afterPhase.hasAfterPolicies=!0),r.set(g,y),A(E.phase).policies.add(y)}for(let p of this._policies){let{policy:f,options:E}=p,g=f.name,y=r.get(g);if(!y)throw new Error(`Missing node for policy ${g}`);if(E.afterPolicies)for(let C of E.afterPolicies){let I=r.get(C);I&&(y.dependsOn.add(I),I.dependants.add(y))}if(E.beforePolicies)for(let C of E.beforePolicies){let I=r.get(C);I&&(I.dependsOn.add(y),y.dependants.add(I))}}function u(p){p.hasRun=!0;for(let f of p.policies)if(!(f.afterPhase&&(!f.afterPhase.hasRun||f.afterPhase.policies.size))&&f.dependsOn.size===0){e.push(f.policy);for(let E of f.dependants)E.dependsOn.delete(f);r.delete(f.policy.name),p.policies.delete(f)}}function d(){for(let p of l){if(u(p),p.policies.size>0&&p!==i){i.hasRun||u(i);return}p.hasAfterPolicies&&u(i)}}let m=0;for(;r.size>0;){m++;let p=e.length;if(d(),e.length<=p&&m>1)throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}};function Lf(){return Ww.create()}function fl(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)&&!(t instanceof RegExp)&&!(t instanceof Date)}function Ea(t){if(fl(t)){let e=typeof t.name=="string",r=typeof t.message=="string";return e&&r}return!1}var _G=require("node:util"),FG=_G.inspect.custom;var $w="REDACTED",hme=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],fme=["api-version"],qn=class{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:r=[]}={}){e=hme.concat(e),r=fme.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)||fl(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,$w);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]=$w;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]=$w;return r}};var gme=new qn,er=class t extends Error{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,FG,{value:()=>`RestError: ${this.message}
|
|
${gme.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function _f(t){return t instanceof er?!0:Ea(t)&&t.name==="RestError"}function mr(t,e){return Buffer.from(t,e)}var Ff=B(require("node:http"),1),Uf=B(require("node:https"),1),jw=B(require("node:zlib"),1),OG=require("node:stream");var mn=ad("ts-http-runtime");var yme={};function cd(t){return t&&typeof t.pipe=="function"}function UG(t){return t.readable===!1?Promise.resolve():new Promise(e=>{let r=()=>{e(),t.removeListener("close",r),t.removeListener("end",r),t.removeListener("error",r)};t.on("close",r),t.on("end",r),t.on("error",r)})}function qG(t){return t&&typeof t.byteLength=="number"}var Of=class extends OG.Transform{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}},Kw=class{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=l=>{l.type==="abort"&&r.abort()},e.abortSignal.addEventListener("abort",n)}let s;e.timeout>0&&(s=setTimeout(()=>{let l=new qn;mn.info(`request to '${l.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let i=e.headers.get("Accept-Encoding"),o=i?.includes("gzip")||i?.includes("deflate"),a=typeof e.body=="function"?e.body():e.body;if(a&&!e.headers.has("Content-Length")){let l=Bme(a);l!==null&&e.headers.set("Content-Length",l)}let c;try{if(a&&e.onUploadProgress){let p=e.onUploadProgress,f=new Of(p);f.on("error",E=>{mn.error("Error in upload progress",E)}),cd(a)?a.pipe(f):f.end(a),a=f}let l=await this.makeRequest(e,r,a);s!==void 0&&clearTimeout(s);let A=Eme(l),d={status:l.statusCode??0,headers:A,request:e};if(e.method==="HEAD")return l.resume(),d;c=o?Cme(l,A):l;let m=e.onDownloadProgress;if(m){let p=new Of(m);p.on("error",f=>{mn.error("Error in download progress",f)}),c.pipe(p),c=p}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(d.status)?d.readableStreamBody=c:d.bodyAsText=await Ime(c),d}finally{if(e.abortSignal&&n){let l=Promise.resolve();cd(a)&&(l=UG(a));let A=Promise.resolve();cd(c)&&(A=UG(c)),Promise.all([l,A]).then(()=>{n&&e.abortSignal?.removeEventListener("abort",n)}).catch(u=>{mn.warning("Error when cleaning up abortListener on httpRequest",u)})}}}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 a={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((c,l)=>{let A=i?Ff.default.request(a,c):Uf.default.request(a,c);A.once("error",u=>{l(new er(u.message,{code:u.code??er.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let u=new ys("The operation was aborted. Rejecting from abort signal callback while making request.");A.destroy(u),l(u)}),n&&cd(n)?n.pipe(A):n?typeof n=="string"||Buffer.isBuffer(n)?A.end(n):qG(n)?A.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(mn.error("Unrecognized body type",n),l(new er("Unrecognized body type"))):A.end()})}getOrCreateAgent(e,r){let n=e.disableKeepAlive;if(r)return n?Ff.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new Ff.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return Uf.default.globalAgent;let s=e.tlsSettings??yme,i=this.cachedHttpsAgents.get(s);return i&&i.options.keepAlive===!n||(mn.info("No cached TLS Agent exist, creating a new Agent"),i=new Uf.default.Agent({keepAlive:!n,...s}),this.cachedHttpsAgents.set(s,i)),i}}};function Eme(t){let e=Ur();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}function Cme(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=jw.default.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=jw.default.createInflate();return t.pipe(n),n}return t}function Ime(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 er(`Error reading response as text: ${s.message}`,{code:er.PARSE_ERROR}))})})}function Bme(t){return t?Buffer.isBuffer(t)?t.length:cd(t)?null:qG(t)?t.byteLength:typeof t=="string"?Buffer.from(t).length:null:0}function HG(){return new Kw}function qf(){return HG()}var Xw="logPolicy";function Hf(t={}){let e=t.logger??mn.info,r=new qn({additionalAllowedHeaderNames:t.additionalAllowedHeaderNames,additionalAllowedQueryParameters:t.additionalAllowedQueryParameters});return{name:Xw,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}}}var zf="redirectPolicy",zG=["GET","HEAD"];function Gf(t={}){let{maxRetries:e=20}=t;return{name:zf,async sendRequest(r,n){let s=await n(r);return GG(n,s,e)}}}async function GG(t,e,r,n=0){let{request:s,status:i,headers:o}=e,a=o.get("location");if(a&&(i===300||i===301&&zG.includes(s.method)||i===302&&zG.includes(s.method)||i===303&&s.method==="POST"||i===307)&&n<r){let c=new URL(a,s.url);s.url=c.toString(),i===303&&(s.method="GET",s.headers.delete("Content-Length"),delete s.body),s.headers.delete("Authorization");let l=await t(s);return GG(t,l,r,n+1)}return e}function YG(){return"User-Agent"}function VG(){return YG()}var Ike=VG();var Yf="decompressResponsePolicy";function Vf(){return{name:Yf,async sendRequest(t,e){return t.method!=="HEAD"&&t.headers.set("Accept-Encoding","gzip,deflate"),e(t)}}}function ld(t,e){return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t+1))+t}function Jf(t,e){let r=e.retryDelayInMs*Math.pow(2,t),n=Math.min(e.maxRetryDelayInMs,r);return{retryAfterInMs:n/2+ld(0,n/2)}}var Qme="The operation was aborted.";function JG(t,e,r){return new Promise((n,s)=>{let i,o,a=()=>s(new ys(r?.abortErrorMsg?r?.abortErrorMsg:Qme)),c=()=>{r?.abortSignal&&o&&r.abortSignal.removeEventListener("abort",o)};if(o=()=>(i&&clearTimeout(i),c(),a()),r?.abortSignal&&r.abortSignal.aborted)return a();i=setTimeout(()=>{c(),n(e)},t),r?.abortSignal&&r.abortSignal.addEventListener("abort",o)})}function WG(t,e){let r=t.headers.get(e);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}var Zw="Retry-After",xme=["retry-after-ms","x-ms-retry-after-ms",Zw];function $G(t){if(t&&[429,503].includes(t.status))try{for(let s of xme){let i=WG(t,s);if(i===0||i)return i*(s===Zw?1e3:1)}let e=t.headers.get(Zw);if(!e)return;let n=Date.parse(e)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}function jG(t){return Number.isFinite($G(t))}function eb(){return{name:"throttlingRetryStrategy",retry({response:t}){let e=$G(t);return Number.isFinite(e)?{retryAfterInMs:e}:{skipStrategy:!0}}}}var wme=1e3,bme=1e3*64;function Wf(t={}){let e=t.retryDelayInMs??wme,r=t.maxRetryDelayInMs??bme;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:s,responseError:i}){let o=Sme(i),a=o&&t.ignoreSystemErrors,c=Nme(s),l=c&&t.ignoreHttpStatusCodes;return s&&(jG(s)||!c)||l||a?{skipStrategy:!0}:i&&!o&&!c?{errorToThrow:i}:Jf(n,{retryDelayInMs:e,maxRetryDelayInMs:r})}}}function Nme(t){return!!(t&&t.status!==void 0&&(t.status>=500||t.status===408)&&t.status!==501&&t.status!==505)}function Sme(t){return t?t.code==="ETIMEDOUT"||t.code==="ESOCKETTIMEDOUT"||t.code==="ECONNREFUSED"||t.code==="ECONNRESET"||t.code==="ENOENT"||t.code==="ENOTFOUND":!1}var Rme=ad("ts-http-runtime retryPolicy"),Pme="retryPolicy";function Ia(t,e={maxRetries:3}){let r=e.logger||Rme;return{name:Pme,async sendRequest(n,s){let i,o,a=-1;e:for(;;){a+=1,i=void 0,o=void 0;try{r.info(`Retry ${a}: Attempting to send request`,n.requestId),i=await s(n),r.info(`Retry ${a}: Received a response from request`,n.requestId)}catch(c){if(r.error(`Retry ${a}: Received an error from request`,n.requestId),o=c,!c||o.name!=="RestError")throw c;i=o.response}if(n.abortSignal?.aborted)throw r.error(`Retry ${a}: Request aborted.`),new ys;if(a>=(e.maxRetries??3)){if(r.info(`Retry ${a}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),o)throw o;if(i)return i;throw new Error("Maximum retries reached with no response or error to throw")}r.info(`Retry ${a}: Processing ${t.length} retry strategies.`);t:for(let c of t){let l=c.logger||r;l.info(`Retry ${a}: Processing retry strategy ${c.name}.`);let A=c.retry({retryCount:a,response:i,responseError:o});if(A.skipStrategy){l.info(`Retry ${a}: Skipped.`);continue t}let{errorToThrow:u,retryAfterInMs:d,redirectTo:m}=A;if(u)throw l.error(`Retry ${a}: Retry strategy ${c.name} throws error:`,u),u;if(d||d===0){l.info(`Retry ${a}: Retry strategy ${c.name} retries after ${d}`),await JG(d,void 0,{abortSignal:n.abortSignal});continue e}if(m){l.info(`Retry ${a}: Retry strategy ${c.name} redirects to ${m}`),n.url=m;continue e}}if(o)throw r.info("None of the retry strategies could work with the received error. Throwing it."),o;if(i)return r.info("None of the retry strategies could work with the received response. Returning it."),i}}}}var tb="defaultRetryPolicy";function $f(t={}){return{name:tb,sendRequest:Ia([eb(),Wf(t)],{maxRetries:t.maxRetries??3}).sendRequest}}var KG=typeof window<"u"&&typeof window.document<"u",XG=typeof self=="object"&&typeof self?.importScripts=="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope"),ZG=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",eY=typeof Bun<"u"&&typeof Bun.version<"u",Ba=typeof globalThis.process<"u"&&!!globalThis.process.version&&!!globalThis.process.versions?.node;var tY=typeof navigator<"u"&&navigator?.product==="ReactNative";var rb="formDataPolicy";function vme(t){let e={};for(let[r,n]of t.entries())e[r]??=[],e[r].push(n);return e}function jf(){return{name:rb,async sendRequest(t,e){if(Ba&&typeof FormData<"u"&&t.body instanceof FormData&&(t.formData=vme(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=Dme(t.formData):await kme(t.formData,t),t.formData=void 0}return e(t)}}}function Dme(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()}async function kme(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 o of Array.isArray(i)?i:[i])if(typeof o=="string")n.push({headers:Ur({"Content-Disposition":`form-data; name="${s}"`}),body:mr(o,"utf-8")});else{if(o==null||typeof o!="object")throw new Error(`Unexpected value for key ${s}: ${o}. Value should be serialized to string first.`);{let a=o.name||"blob",c=Ur();c.set("Content-Disposition",`form-data; name="${s}"; filename="${a}"`),c.set("Content-Type",o.type||"application/octet-stream"),n.push({headers:c,body:o})}}e.multipartBody={parts:n}}var OY=B(bY(),1),qY=B(LY(),1);var Hpe="HTTPS_PROXY",zpe="HTTP_PROXY",Gpe="ALL_PROXY",Ype="NO_PROXY",lb="proxyPolicy",_Y=[],HY=!1,Vpe=new Map;function og(t){if(process.env[t])return process.env[t];if(process.env[t.toLowerCase()])return process.env[t.toLowerCase()]}function zY(){if(!process)return;let t=og(Hpe),e=og(Gpe),r=og(zpe);return t||e||r}function Jpe(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}function Wpe(){let t=og(Ype);return HY=!0,t?t.split(",").map(e=>e.trim()).filter(e=>e.length):[]}function Ab(t){if(!t&&(t=zY(),!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}}function $pe(){let t=zY();return t?new URL(t):void 0}function FY(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}function UY(t,e,r){if(t.agent)return;let s=new URL(t.url).protocol!=="https:";t.tlsSettings&&mn.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 qY.HttpProxyAgent(r,{headers:i})),t.agent=e.httpProxyAgent):(e.httpsProxyAgent||(e.httpsProxyAgent=new OY.HttpsProxyAgent(r,{headers:i})),t.agent=e.httpsProxyAgent)}function ag(t,e){HY||_Y.push(...Wpe());let r=t?FY(t):$pe(),n={};return{name:lb,async sendRequest(s,i){return!s.proxySettings&&r&&!Jpe(s.url,e?.customNoProxyList??_Y,e?.customNoProxyList?void 0:Vpe)?UY(s,n,r):s.proxySettings&&UY(s,n,FY(s.proxySettings)),i(s)}}}var ub="agentPolicy";function cg(t){return{name:ub,sendRequest:async(e,r)=>(e.agent||(e.agent=t),r(e))}}var db="tlsPolicy";function lg(t){return{name:db,sendRequest:async(e,r)=>(e.tlsSettings||(e.tlsSettings=t),r(e))}}function Ag(t){return typeof t.stream=="function"}var ug=require("stream");async function*GY(){let t=this.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)return;yield r}}finally{t.releaseLock()}}function jpe(t){t[Symbol.asyncIterator]||(t[Symbol.asyncIterator]=GY.bind(t)),t.values||(t.values=GY.bind(t))}function YY(t){return t instanceof ReadableStream?(jpe(t),ug.Readable.fromWeb(t)):t}function Kpe(t){return t instanceof Uint8Array?ug.Readable.from(Buffer.from(t)):Ag(t)?YY(t.stream()):YY(t)}async function VY(t){return function(){let e=t.map(r=>typeof r=="function"?r():r).map(Kpe);return ug.Readable.from((async function*(){for(let r of e)for await(let n of r)yield n})())}}function Xpe(){return`----AzSDKFormBoundary${ya()}`}function Zpe(t){let e="";for(let[r,n]of t)e+=`${r}: ${n}\r
|
|
`;return e}function ehe(t){return t instanceof Uint8Array?t.byteLength:Ag(t)?t.size===-1?void 0:t.size:void 0}function the(t){let e=0;for(let r of t){let n=ehe(r);if(n===void 0)return;e+=n}return e}async function rhe(t,e,r){let n=[mr(`--${r}`,"utf-8"),...e.flatMap(i=>[mr(`\r
|
|
`,"utf-8"),mr(Zpe(i.headers),"utf-8"),mr(`\r
|
|
`,"utf-8"),i.body,mr(`\r
|
|
--${r}`,"utf-8")]),mr(`--\r
|
|
\r
|
|
`,"utf-8")],s=the(n);s&&t.headers.set("Content-Length",s),t.body=await VY(n)}var ud="multipartPolicy",nhe=70,she=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function ihe(t){if(t.length>nhe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!she.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}function dg(){return{name:ud,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,o]=s;if(o&&r&&o!==r)throw new Error(`Multipart boundary was specified as ${o} in the header, but got ${r} in the request body`);return r??=o,r?ihe(r):r=Xpe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await rhe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}function mg(){return Lf()}var JY=kf({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),lLe=JY.logger;function Is(t){return JY.createClientLogger(t)}var Bs=Is("core-rest-pipeline");function hb(t={}){return Hf({logger:Bs.info,...t})}var fb=zf;function gb(t={}){return Gf(t)}var pg=B(require("node:os"),1),hg=B(require("node:process"),1);function WY(){return"User-Agent"}async function $Y(t){if(hg.default&&hg.default.versions){let e=`${pg.default.type()} ${pg.default.release()}; ${pg.default.arch()}`,r=hg.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}var fg="1.22.2";function mhe(t){let e=[];for(let[r,n]of t){let s=n?`${r}/${n}`:r;e.push(s)}return e.join(" ")}function jY(){return WY()}async function gg(t){let e=new Map;e.set("core-rest-pipeline",fg),await $Y(e);let r=mhe(e);return t?`${t} ${r}`:r}var KY=jY(),XY="userAgentPolicy";function yb(t={}){let e=gg(t.userAgentPrefix);return{name:XY,async sendRequest(r,n){return r.headers.has(KY)||r.headers.set(KY,await e),n(r)}}}var zr=class extends Error{constructor(e){super(e),this.name="AbortError"}};function Eb(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:s}=e??{};return new Promise((i,o)=>{function a(){o(new zr(s??"The operation was aborted."))}function c(){n?.removeEventListener("abort",l)}function l(){r?.(),c(),a()}if(n?.aborted)return a();try{t(A=>{c(),i(A)},A=>{c(),o(A)})}catch(A){o(A)}n?.addEventListener("abort",l)})}var yhe="The delay was aborted.";function dd(t,e){let r,{abortSignal:n,abortErrorMsg:s}=e??{};return Eb(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:n,abortErrorMsg:s??yhe})}function Co(t){if(Ea(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}`}}function ZY(t){return Ea(t)}function Bl(){return ya()}var Ce=Ba;var eV=Symbol("rawContent");function Ib(t){return typeof t[eV]=="function"}function tV(t){return Ib(t)?t[eV]():t}var yg=ud;function Bb(){let t=dg();return{name:yg,sendRequest:async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)Ib(n.body)&&(n.body=tV(n.body));return t.sendRequest(e,r)}}}var Qb=Yf;function xb(){return Vf()}function wb(t={}){return $f(t)}function bb(){return jf()}function Io(t){return Ab(t)}function Nb(t,e){return ag(t,e)}var rV="setClientRequestIdPolicy";function Sb(t="x-ms-client-request-id"){return{name:rV,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}function Rb(t){return cg(t)}function Pb(t){return lg(t)}var Ql={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function nV(t={}){let e=new vb(t.parentContext);return t.span&&(e=e.setValue(Ql.span,t.span)),t.namespace&&(e=e.setValue(Ql.namespace,t.namespace)),e}var vb=class t{_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 iV=B(sV(),1),Cg=iV.state;function Ehe(){return{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}function Che(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(t,e)=>({span:Ehe(),tracingContext:nV({parentContext:e.tracingContext})}),withContext(t,e,...r){return e(...r)}}}function md(){return Cg.instrumenterImplementation||(Cg.instrumenterImplementation=Che()),Cg.instrumenterImplementation}function pd(t){let{namespace:e,packageName:r,packageVersion:n}=t;function s(l,A,u){let d=md().startSpan(l,{...u,packageName:r,packageVersion:n,tracingContext:A?.tracingOptions?.tracingContext}),m=d.tracingContext,p=d.span;m.getValue(Ql.namespace)||(m=m.setValue(Ql.namespace,e)),p.setAttribute("az.namespace",m.getValue(Ql.namespace));let f=Object.assign({},A,{tracingOptions:{...A?.tracingOptions,tracingContext:m}});return{span:p,updatedOptions:f}}async function i(l,A,u,d){let{span:m,updatedOptions:p}=s(l,A,d);try{let f=await o(p.tracingOptions.tracingContext,()=>Promise.resolve(u(p,m)));return m.setStatus({status:"success"}),f}catch(f){throw m.setStatus({status:"error",error:f}),f}finally{m.end()}}function o(l,A,...u){return md().withContext(l,A,...u)}function a(l){return md().parseTraceparentHeader(l)}function c(l){return md().createRequestHeaders(l)}return{startSpan:s,withSpan:i,withContext:o,parseTraceparentHeader:a,createRequestHeaders:c}}var Ci=er;function xa(t){return _f(t)}var oV="tracingPolicy";function Db(t={}){let e=gg(t.userAgentPrefix),r=new qn({additionalAllowedQueryParameters:t.additionalAllowedQueryParameters}),n=Ihe();return{name:oV,async sendRequest(s,i){if(!n)return i(s);let o=await e,a={"http.url":r.sanitizeUrl(s.url),"http.method":s.method,"http.user_agent":o,requestId:s.requestId};o&&(a["http.user_agent"]=o);let{span:c,tracingContext:l}=Bhe(n,s,a)??{};if(!c||!l)return i(s);try{let A=await n.withContext(l,i,s);return xhe(c,A),A}catch(A){throw Qhe(c,A),A}}}}function Ihe(){try{return pd({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:fg})}catch(t){Bs.warning(`Error when creating the TracingClient: ${Co(t)}`);return}}function Bhe(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[o,a]of Object.entries(i))e.headers.set(o,a);return{span:n,tracingContext:s.tracingOptions.tracingContext}}catch(n){Bs.warning(`Skipping creating a tracing span due to an error: ${Co(n)}`);return}}function Qhe(t,e){try{t.setStatus({status:"error",error:ZY(e)?e:void 0}),xa(e)&&e.statusCode&&t.setAttribute("http.status_code",e.statusCode),t.end()}catch(r){Bs.warning(`Skipping tracing span processing due to an error: ${Co(r)}`)}}function xhe(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: ${Co(r)}`)}}function Ig(t){if(t instanceof AbortSignal)return{abortSignal:t};if(t.aborted)return{abortSignal:AbortSignal.abort(t.reason)};let e=new AbortController,r=!0;function n(){r&&(t.removeEventListener("abort",s),r=!1)}function s(){e.abort(t.reason),n()}return t.addEventListener("abort",s),{abortSignal:e.signal,cleanup:n}}var whe="wrapAbortSignalLikePolicy";function aV(){return{name:whe,sendRequest:async(t,e)=>{if(!t.abortSignal)return e(t);let{abortSignal:r,cleanup:n}=Ig(t.abortSignal);t.abortSignal=r;try{return await e(t)}finally{n?.()}}}}function kb(t){let e=mg();return Ce&&(t.agent&&e.addPolicy(Rb(t.agent)),t.tlsOptions&&e.addPolicy(Pb(t.tlsOptions)),e.addPolicy(Nb(t.proxyOptions)),e.addPolicy(xb())),e.addPolicy(aV()),e.addPolicy(bb(),{beforePolicies:[yg]}),e.addPolicy(yb(t.userAgentOptions)),e.addPolicy(Sb(t.telemetryOptions?.clientRequestIdHeaderName)),e.addPolicy(Bb(),{afterPhase:"Deserialize"}),e.addPolicy(wb(t.retryOptions),{phase:"Retry"}),e.addPolicy(Db({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),Ce&&e.addPolicy(gb(t.redirectOptions),{afterPhase:"Retry"}),e.addPolicy(hb(t.loggingOptions),{afterPhase:"Sign"}),e}function hd(){let t=qf();return{async sendRequest(e){let{abortSignal:r,cleanup:n}=e.abortSignal?Ig(e.abortSignal):{};try{return e.abortSignal=r,await t.sendRequest(e)}finally{n?.()}}}}function Ii(t){return Ur(t)}function fd(t){return Mf(t)}var ZFe=Is("core-rest-pipeline retryPolicy");var bhe={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function Nhe(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}}let s=await n();for(;s===null;)await dd(e),s=await n();return s}function Tb(t,e){let r=null,n=null,s,i={...bhe,...e},o={get isRefreshing(){return r!==null},get shouldRefresh(){return o.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 a(c,l){return o.isRefreshing||(r=Nhe(()=>t.getToken(c,l),i.retryIntervalInMs,n?.expiresOnTimestamp??Date.now()).then(u=>(r=null,n=u,s=l.tenantId,n)).catch(u=>{throw r=null,n=null,s=void 0,u})),r}return async(c,l)=>{let A=!!l.claims,u=s!==l.tenantId;return A&&(n=null),u||A||o.mustRefresh?a(c,l):(o.shouldRefresh&&a(c,l),n)}}var uV="bearerTokenAuthenticationPolicy";async function Bg(t,e){try{return[await e(t),void 0]}catch(r){if(xa(r)&&r.response)return[r.response,r];throw r}}async function She(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}`)}function cV(t){return t.status===401&&t.headers.has("WWW-Authenticate")}async function lV(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}function xl(t){let{credential:e,scopes:r,challengeCallbacks:n}=t,s=t.logger||Bs,i={authorizeRequest:n?.authorizeRequest?.bind(n)??She,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)},o=e?Tb(e):()=>Promise.resolve(null);return{name:uV,async sendRequest(a,c){if(!a.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:a,getAccessToken:o,logger:s});let l,A,u;if([l,A]=await Bg(a,c),cV(l)){let d=AV(l.headers.get("WWW-Authenticate"));if(d){let m;try{m=atob(d)}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: ${d}`),l}u=await lV({scopes:Array.isArray(r)?r:[r],response:l,request:a,getAccessToken:o,logger:s},m),u&&([l,A]=await Bg(a,c))}else if(i.authorizeRequestOnChallenge&&(u=await i.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:a,response:l,getAccessToken:o,logger:s}),u&&([l,A]=await Bg(a,c)),cV(l)&&(d=AV(l.headers.get("WWW-Authenticate")),d))){let m;try{m=atob(d)}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: ${d}`),l}u=await lV({scopes:Array.isArray(r)?r:[r],response:l,request:a,getAccessToken:o,logger:s},m),u&&([l,A]=await Bg(a,c))}}if(A)throw A;return l}}}function Rhe(t){let e=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,r=/(\w+)="([^"]*)"/g,n=[],s;for(;(s=e.exec(t))!==null;){let i=s[1],o=s[2],a={},c;for(;(c=r.exec(o))!==null;)a[c[1]]=c[2];n.push({scheme:i,params:a})}return n}function AV(t){return t?Rhe(t).find(r=>r.scheme==="Bearer"&&r.params.claims&&r.params.error==="insufficient_claims")?.params.claims:void 0}function Gr(t){let e=t;return e&&typeof e.getToken=="function"&&(e.signRequest===void 0||e.getToken.length>0)}var Mb="DisableKeepAlivePolicy";function dV(){return{name:Mb,async sendRequest(t,e){return t.disableKeepAlive=!0,e(t)}}}function mV(t){return t.getOrderedPolicies().some(e=>e.name===Mb)}function Lb(t){return(t instanceof Buffer?t:Buffer.from(t.buffer)).toString("base64")}function _b(t){return Buffer.from(t,"base64")}function vhe(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)}var Dhe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function pV(t){return Dhe.test(t)}var khe=/^[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 hV(t){return khe.test(t)}function The(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}function Fb(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 o=i==="Composite"&&n.type.modelProperties||{},a=Object.keys(o).some(c=>o[c].serializedName==="");if(i==="Sequence"||a){let c=t.parsedBody??[];for(let l of Object.keys(o))o[l].serializedName&&(c[l]=t.parsedBody?.[l]);if(r)for(let l of Object.keys(r))c[l]=r[l];return s&&!t.parsedBody&&!r&&Object.getOwnPropertyNames(o).length===0?null:c}return The({body:t.parsedBody,headers:r,hasNullableType:s,shouldWrapBody:vhe(t.parsedBody,i)})}var Ub=class{modelMappers;isXML;constructor(e={},r=!1){this.modelMappers=e,this.isXML=r}validateConstraints(e,r,n){let s=(i,o)=>{throw new Error(`"${n}" with value "${r}" should satisfy the constraint "${i}": ${o}.`)};if(e.constraints&&r!==void 0&&r!==null){let{ExclusiveMaximum:i,ExclusiveMinimum:o,InclusiveMaximum:a,InclusiveMinimum:c,MaxItems:l,MaxLength:A,MinItems:u,MinLength:d,MultipleOf:m,Pattern:p,UniqueItems:f}=e.constraints;if(i!==void 0&&r>=i&&s("ExclusiveMaximum",i),o!==void 0&&r<=o&&s("ExclusiveMinimum",o),a!==void 0&&r>a&&s("InclusiveMaximum",a),c!==void 0&&r<c&&s("InclusiveMinimum",c),l!==void 0&&r.length>l&&s("MaxItems",l),A!==void 0&&r.length>A&&s("MaxLength",A),u!==void 0&&r.length<u&&s("MinItems",u),d!==void 0&&r.length<d&&s("MinLength",d),m!==void 0&&r%m!==0&&s("MultipleOf",m),p){let E=typeof p=="string"?new RegExp(p):p;(typeof r!="string"||r.match(E)===null)&&s("Pattern",p)}f&&r.some((E,g,y)=>y.indexOf(E)!==g)&&s("UniqueItems",f)}}serialize(e,r,n,s={xml:{}}){let i={xml:{rootName:s.xml.rootName??"",includeRoot:s.xml.includeRoot??!1,xmlCharKey:s.xml.xmlCharKey??"_"}},o={},a=e.type.name;n||(n=e.serializedName),a.match(/^Sequence$/i)!==null&&(o=[]),e.isConstant&&(r=e.defaultValue);let{required:c,nullable:l}=e;if(c&&l&&r===void 0)throw new Error(`${n} cannot be undefined.`);if(c&&!l&&r==null)throw new Error(`${n} cannot be null or undefined.`);if(!c&&l===!1&&r===null)throw new Error(`${n} cannot be null.`);return r==null||a.match(/^any$/i)!==null?o=r:a.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null?o=Ohe(a,n,r):a.match(/^Enum$/i)!==null?o=qhe(n,e.type.allowedValues,r):a.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null?o=Ghe(a,r,n):a.match(/^ByteArray$/i)!==null?o=Hhe(n,r):a.match(/^Base64Url$/i)!==null?o=zhe(n,r):a.match(/^Sequence$/i)!==null?o=Yhe(this,e,r,n,!!this.isXML,i):a.match(/^Dictionary$/i)!==null?o=Vhe(this,e,r,n,!!this.isXML,i):a.match(/^Composite$/i)!==null&&(o=Whe(this,e,r,n,!!this.isXML,i)),o}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 o,a=e.type.name;if(n||(n=e.serializedName),a.match(/^Composite$/i)!==null)o=jhe(this,e,r,n,i);else{if(this.isXML){let c=i.xml.xmlCharKey;r["$"]!==void 0&&r[c]!==void 0&&(r=r[c])}a.match(/^Number$/i)!==null?(o=parseFloat(r),isNaN(o)&&(o=r)):a.match(/^Boolean$/i)!==null?r==="true"?o=!0:r==="false"?o=!1:o=r:a.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null?o=r:a.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null?o=new Date(r):a.match(/^UnixTime$/i)!==null?o=Uhe(r):a.match(/^ByteArray$/i)!==null?o=_b(r):a.match(/^Base64Url$/i)!==null?o=_he(r):a.match(/^Sequence$/i)!==null?o=Xhe(this,e,r,n,i):a.match(/^Dictionary$/i)!==null&&(o=Khe(this,e,r,n,i))}return e.isConstant&&(o=e.defaultValue),o}};function Yr(t={},e=!1){return new Ub(t,e)}function Mhe(t,e){let r=t.length;for(;r-1>=0&&t[r-1]===e;)--r;return t.substr(0,r)}function Lhe(t){if(!t)return;if(!(t instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");let e=Lb(t);return Mhe(e,"=").replace(/\+/g,"-").replace(/\//g,"_")}function _he(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,"/"),_b(t)}}function Ob(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}function Fhe(t){if(t)return typeof t.valueOf()=="string"&&(t=new Date(t)),Math.floor(t.getTime()/1e3)}function Uhe(t){if(t)return new Date(t*1e3)}function Ohe(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"&&hV(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}function qhe(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}function Hhe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=Lb(e)}return e}function zhe(t,e){if(e!=null){if(!(e instanceof Uint8Array))throw new Error(`${t} must be of type Uint8Array.`);e=Lhe(e)}return e}function Ghe(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=Fhe(e)}else if(t.match(/^TimeSpan$/i)!==null&&!pV(e))throw new Error(`${r} must be a string in ISO 8601 format. Instead was "${e}".`)}return e}function Yhe(t,e,r,n,s,i){if(!Array.isArray(r))throw new Error(`${n} must be of type Array.`);let o=e.type.element;if(!o||typeof o!="object")throw new Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${n}.`);o.type.name==="Composite"&&o.type.className&&(o=t.modelMappers[o.type.className]??o);let a=[];for(let c=0;c<r.length;c++){let l=t.serialize(o,r[c],n,i);if(s&&o.xmlNamespace){let A=o.xmlNamespacePrefix?`xmlns:${o.xmlNamespacePrefix}`:"xmlns";o.type.name==="Composite"?(a[c]={...l},a[c]["$"]={[A]:o.xmlNamespace}):(a[c]={},a[c][i.xml.xmlCharKey]=l,a[c]["$"]={[A]:o.xmlNamespace})}else a[c]=l}return a}function Vhe(t,e,r,n,s,i){if(typeof r!="object")throw new Error(`${n} must be of type object.`);let o=e.type.value;if(!o||typeof o!="object")throw new Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${n}.`);let a={};for(let c of Object.keys(r)){let l=t.serialize(o,r[c],n,i);a[c]=EV(o,l,s,i)}if(s&&e.xmlNamespace){let c=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns",l=a;return l["$"]={[c]:e.xmlNamespace},l}return a}function Jhe(t,e,r){let n=e.type.additionalProperties;return!n&&e.type.className?gV(t,e,r)?.type.additionalProperties:n}function gV(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]}function yV(t,e,r){let n=e.type.modelProperties;if(!n){let s=gV(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}function Whe(t,e,r,n,s,i){if(Qg(t,e)&&(e=CV(t,e,r,"clientName")),r!=null){let o={},a=yV(t,e,n);for(let l of Object.keys(a)){let A=a[l];if(A.readOnly)continue;let u,d=o;if(t.isXML)A.xmlIsWrapped?u=A.xmlName:u=A.xmlElementName||A.xmlName;else{let m=Ob(A.serializedName);u=m.pop();for(let p of m){let f=d[p];f==null&&(r[l]!==void 0&&r[l]!==null||A.defaultValue!==void 0)&&(d[p]={}),d=d[p]}}if(d!=null){if(s&&e.xmlNamespace){let g=e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns";d["$"]={...d["$"],[g]:e.xmlNamespace}}let m=A.serializedName!==""?n+"."+A.serializedName:n,p=r[l],f=Qg(t,e);f&&f.clientName===l&&p==null&&(p=e.serializedName);let E=t.serialize(A,p,m,i);if(E!==void 0&&u!==void 0&&u!==null){let g=EV(A,E,s,i);s&&A.xmlIsAttribute?(d["$"]=d["$"]||{},d["$"][u]=E):s&&A.xmlIsWrapped?d[u]={[A.xmlElementName]:g}:d[u]=g}}}let c=Jhe(t,e,n);if(c){let l=Object.keys(a);for(let A in r)l.every(d=>d!==A)&&(o[A]=t.serialize(c,r[A],n+'["'+A+'"]',i))}return o}return r}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 a={...e};return a["$"]=i,a}}let o={};return o[n.xml.xmlCharKey]=e,o["$"]=i,o}function $he(t,e){return["$",e.xml.xmlCharKey].includes(t)}function jhe(t,e,r,n,s){let i=s.xml.xmlCharKey??"_";Qg(t,e)&&(e=CV(t,e,r,"serializedName"));let o=yV(t,e,n),a={},c=[];for(let A of Object.keys(o)){let u=o[A],d=Ob(o[A].serializedName);c.push(d[0]);let{serializedName:m,xmlName:p,xmlElementName:f}=u,E=n;m!==""&&m!==void 0&&(E=n+"."+m);let g=u.headerCollectionPrefix;if(g){let y={};for(let C of Object.keys(r))C.startsWith(g)&&(y[C.substring(g.length)]=t.deserialize(u.type.value,r[C],E,s)),c.push(C);a[A]=y}else if(t.isXML)if(u.xmlIsAttribute&&r["$"])a[A]=t.deserialize(u,r["$"][p],E,s);else if(u.xmlIsMsText)r[i]!==void 0?a[A]=r[i]:typeof r=="string"&&(a[A]=r);else{let y=f||p||m;if(u.xmlIsWrapped){let I=r[p]?.[f]??[];a[A]=t.deserialize(u,I,E,s),c.push(p)}else{let C=r[y];a[A]=t.deserialize(u,C,E,s),c.push(y)}}else{let y,C=r,I=0;for(let _ of d){if(!C)break;I++,C=C[_]}C===null&&I<d.length&&(C=void 0),y=C;let w=e.type.polymorphicDiscriminator;w&&A===w.clientName&&y==null&&(y=e.serializedName);let D;if(Array.isArray(r[A])&&o[A].serializedName===""){y=r[A];let _=t.deserialize(u,y,E,s);for(let[ae,ge]of Object.entries(a))Object.prototype.hasOwnProperty.call(_,ae)||(_[ae]=ge);a=_}else(y!==void 0||u.defaultValue!==void 0)&&(D=t.deserialize(u,y,E,s),a[A]=D)}}let l=e.type.additionalProperties;if(l){let A=u=>{for(let d in o)if(Ob(o[d].serializedName)[0]===u)return!1;return!0};for(let u in r)A(u)&&(a[u]=t.deserialize(l,r[u],n+'["'+u+'"]',s))}else if(r&&!s.ignoreUnknownProperties)for(let A of Object.keys(r))a[A]===void 0&&!c.includes(A)&&!$he(A,s)&&(a[A]=r[A]);return a}function Khe(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 o={};for(let a of Object.keys(r))o[a]=t.deserialize(i,r[a],n,s);return o}return r}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 o=[];for(let a=0;a<r.length;a++)o[a]=t.deserialize(i,r[a],`${n}[${a}]`,s);return o}return r}function Zhe(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[o,a]of Object.entries(t))o.startsWith(s+".")&&a.type.uberParent===s&&a.type.className&&n.push(a.type.className)}}function CV(t,e,r,n){let s=Qg(t,e);if(s){let i=s[n];if(i){n==="serializedName"&&(i=i.replace(/\\/gi,""));let o=r[i],a=e.type.uberParent??e.type.className;if(typeof o=="string"&&a){let c=Zhe(t.modelMappers.discriminators,o,a);c&&(e=c)}}}return e}function Qg(t,e){return e.type.polymorphicDiscriminator||fV(t,e.type.uberParent)||fV(t,e.type.className)}function fV(t,e){return e&&t.modelMappers[e]&&t.modelMappers[e].type.polymorphicDiscriminator}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 BV=B(IV(),1),qb=BV.state;function Qo(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 o=QV(t,n);!o.propertyFound&&r&&(o=QV(r,n));let a=!1;o.propertyFound||(a=s.required||n[0]==="options"&&n.length===2),i=a?s.defaultValue:o.propertyValue}}else{s.required&&(i={});for(let o in n){let a=s.type.modelProperties[o],c=n[o],l=Qo(t,{parameterPath:c,mapper:a},r);l!==void 0&&(i||(i={}),i[o]=l)}}return i}function QV(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}var xV=Symbol.for("@azure/core-client original request");function efe(t){return xV in t}function Bi(t){if(efe(t))return Bi(t[xV]);let e=qb.operationRequestMap.get(t);return e||(e={},qb.operationRequestMap.set(t,e)),e}var tfe=["application/json","text/json"],rfe=["application/xml","application/atom+xml"],wV="deserializationPolicy";function Hb(t={}){let e=t.expectedContentTypes?.json??tfe,r=t.expectedContentTypes?.xml??rfe,n=t.parseXML,s=t.serializerOptions,i={xml:{rootName:s?.xml.rootName??"",includeRoot:s?.xml.includeRoot??!1,xmlCharKey:s?.xml.xmlCharKey??"_"}};return{name:wV,async sendRequest(o,a){let c=await a(o);return ife(e,r,c,i,n)}}}function nfe(t){let e,r=t.request,n=Bi(r),s=n?.operationSpec;return s&&(n?.operationResponseGetter?e=n?.operationResponseGetter(s,t):e=s.responses[t.status]),e}function sfe(t){let e=t.request,n=Bi(e)?.shouldDeserialize,s;return n===void 0?s=!0:typeof n=="boolean"?s=n:s=n(t),s}async function ife(t,e,r,n,s){let i=await cfe(t,e,r,n,s);if(!sfe(i))return i;let a=Bi(i.request)?.operationSpec;if(!a||!a.responses)return i;let c=nfe(i),{error:l,shouldReturnResponse:A}=afe(i,a,c,n);if(l)throw l;if(A)return i;if(c){if(c.bodyMapper){let u=i.parsedBody;a.isXML&&c.bodyMapper.type.name===Qs.Sequence&&(u=typeof u=="object"?u[c.bodyMapper.xmlElementName]:[]);try{i.parsedBody=a.serializer.deserialize(c.bodyMapper,u,"operationRes.parsedBody",n)}catch(d){throw new Ci(`Error ${d} occurred in deserializing the responseBody - ${i.bodyAsText}`,{statusCode:i.status,request:i.request,response:i})}}else a.httpMethod==="HEAD"&&(i.parsedBody=r.status>=200&&r.status<300);c.headersMapper&&(i.parsedHeaders=a.serializer.deserialize(c.headersMapper,i.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return i}function ofe(t){let e=Object.keys(t.responses);return e.length===0||e.length===1&&e[0]==="default"}function afe(t,e,r,n){let s=200<=t.status&&t.status<300;if(ofe(e)?s:!!r)if(r){if(!r.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let o=r??e.responses.default,a=t.request.streamResponseStatusCodes?.has(t.status)?`Unexpected status code: ${t.status}`:t.bodyAsText,c=new Ci(a,{statusCode:t.status,request:t.request,response:t});if(!o&&!(t.parsedBody?.error?.code&&t.parsedBody?.error?.message))throw c;let l=o?.bodyMapper,A=o?.headersMapper;try{if(t.parsedBody){let u=t.parsedBody,d;if(l){let p=u;if(e.isXML&&l.type.name===Qs.Sequence){p=[];let f=l.xmlElementName;typeof u=="object"&&f&&(p=u[f])}d=e.serializer.deserialize(l,p,"error.response.parsedBody",n)}let m=u.error||d||u;c.code=m.code,m.message&&(c.message=m.message),l&&(c.response.parsedBody=d)}t.headers&&A&&(c.response.parsedHeaders=e.serializer.deserialize(A,t.headers.toJSON(),"operationRes.parsedHeaders"))}catch(u){c.message=`Error "${u.message}" occurred in deserializing the responseBody - "${t.bodyAsText}" for the default response.`}return{error:c,shouldReturnResponse:!1}}async function cfe(t,e,r,n,s){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let i=r.bodyAsText,o=r.headers.get("Content-Type")||"",a=o?o.split(";").map(c=>c.toLowerCase()):[];try{if(a.length===0||a.some(c=>t.indexOf(c)!==-1))return r.parsedBody=JSON.parse(i),r;if(a.some(c=>e.indexOf(c)!==-1)){if(!s)throw new Error("Parsing XML not supported.");let c=await s(i,n.xml);return r.parsedBody=c,r}}catch(c){let l=`Error "${c}" occurred while parsing the response body - ${r.bodyAsText}.`,A=c.code||Ci.PARSE_ERROR;throw new Ci(l,{code:A,statusCode:r.status,request:r.request,response:r})}}return r}function bV(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}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}var NV="serializationPolicy";function wg(t={}){let e=t.stringifyXML;return{name:NV,async sendRequest(r,n){let s=Bi(r),i=s?.operationSpec,o=s?.operationArguments;return i&&o&&(lfe(r,o,i),Afe(r,o,i,e)),n(r)}}}function lfe(t,e,r){if(r.headerParameters)for(let s of r.headerParameters){let i=Qo(e,s);if(i!=null||s.mapper.required){i=r.serializer.serialize(s.mapper,i,xs(s));let o=s.mapper.headerCollectionPrefix;if(o)for(let a of Object.keys(i))t.headers.set(o+a,i[a]);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])}function Afe(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??"_"}},o=i.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){t.body=Qo(e,r.requestBody);let a=r.requestBody.mapper,{required:c,serializedName:l,xmlName:A,xmlElementName:u,xmlNamespace:d,xmlNamespacePrefix:m,nullable:p}=a,f=a.type.name;try{if(t.body!==void 0&&t.body!==null||p&&t.body===null||c){let E=xs(r.requestBody);t.body=r.serializer.serialize(a,t.body,E,i);let g=f===Qs.Stream;if(r.isXML){let y=m?`xmlns:${m}`:"xmlns",C=ufe(d,y,f,t.body,i);f===Qs.Sequence?t.body=n(dfe(C,u||A||l,y,d),{rootName:A||l,xmlCharKey:o}):g||(t.body=n(C,{rootName:A||l,xmlCharKey:o}))}else{if(f===Qs.String&&(r.contentType?.match("text/plain")||r.mediaType==="text"))return;g||(t.body=JSON.stringify(t.body))}}}catch(E){throw new Error(`Error "${E.message}" occurred in serializing the payload - ${JSON.stringify(l,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0){t.formData={};for(let a of r.formDataParameters){let c=Qo(e,a);if(c!=null){let l=a.mapper.serializedName||xs(a);t.formData[l]=r.serializer.serialize(a.mapper,c,xs(a),i)}}}}function ufe(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}function dfe(t,e,r,n){if(Array.isArray(t)||(t=[t]),!r||!n)return{[e]:t};let s={[e]:t};return s["$"]={[r]:n},s}function gd(t={}){let e=kb(t??{});return t.credentialOptions&&e.addPolicy(xl({credential:t.credentialOptions.credential,scopes:t.credentialOptions.credentialScopes})),e.addPolicy(wg(t.serializationOptions),{phase:"Serialize"}),e.addPolicy(Hb(t.deserializationOptions),{phase:"Deserialize"}),e}var zb;function SV(){return zb||(zb=hd()),zb}var mfe={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function PV(t,e,r,n){let s=pfe(e,r,n),i=!1,o=RV(t,s);if(e.path){let l=RV(e.path,s);e.path==="/{nextLink}"&&l.startsWith("/")&&(l=l.substring(1)),hfe(l)?(o=l,i=!0):o=ffe(o,l)}let{queryParams:a,sequenceParams:c}=gfe(e,r,n);return o=Efe(o,a,c,i),o}function RV(t,e){let r=t;for(let[n,s]of e)r=r.split(n).join(s);return r}function pfe(t,e,r){let n=new Map;if(t.urlParameters?.length)for(let s of t.urlParameters){let i=Qo(e,s,r),o=xs(s);i=t.serializer.serialize(s.mapper,i,o),s.skipEncoding||(i=encodeURIComponent(i)),n.set(`{${s.mapper.serializedName||o}}`,i)}return n}function hfe(t){return t.includes("://")}function ffe(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),o=e.substring(s+1);n=n+i,o&&(r.search=r.search?`${r.search}&${o}`:o)}else n=n+e;return r.pathname=n,r.toString()}function gfe(t,e,r){let n=new Map,s=new Set;if(t.queryParameters?.length)for(let i of t.queryParameters){i.mapper.type.name==="Sequence"&&i.mapper.serializedName&&s.add(i.mapper.serializedName);let o=Qo(e,i,r);if(o!=null||i.mapper.required){o=t.serializer.serialize(i.mapper,o,xs(i));let a=i.collectionFormat?mfe[i.collectionFormat]:"";if(Array.isArray(o)&&(o=o.map(c=>c??"")),i.collectionFormat==="Multi"&&o.length===0)continue;Array.isArray(o)&&(i.collectionFormat==="SSV"||i.collectionFormat==="TSV")&&(o=o.join(a)),i.skipEncoding||(Array.isArray(o)?o=o.map(c=>encodeURIComponent(c)):o=encodeURIComponent(o)),Array.isArray(o)&&(i.collectionFormat==="CSV"||i.collectionFormat==="Pipes")&&(o=o.join(a)),n.set(i.mapper.serializedName||xs(i),o)}}return{queryParams:n,sequenceParams:s}}function yfe(t){let e=new Map;if(!t||t[0]!=="?")return e;t=t.slice(1);let r=t.split("&");for(let n of r){let[s,i]=n.split("=",2),o=e.get(s);o?Array.isArray(o)?o.push(i):e.set(s,[o,i]):e.set(s,i)}return e}function Efe(t,e,r,n=!1){if(e.size===0)return t;let s=new URL(t),i=yfe(s.search);for(let[a,c]of e){let l=i.get(a);if(Array.isArray(l))if(Array.isArray(c)){l.push(...c);let A=new Set(l);i.set(a,Array.from(A))}else l.push(c);else l?(Array.isArray(c)?c.unshift(l):r.has(a)&&i.set(a,[l,c]),n||i.set(a,c)):i.set(a,c)}let o=[];for(let[a,c]of i)if(typeof c=="string")o.push(`${a}=${c}`);else if(Array.isArray(c))for(let l of c)o.push(`${a}=${l}`);else o.push(`${a}=${c}`);return s.search=o.length?`?${o.join("&")}`:"",s.toString()}var Gb=Is("core-client");var yd=class{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&Gb.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||SV(),this.pipeline=e.pipeline||Cfe(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=PV(n,r,e,this),i=fd({url:s});i.method=r.httpMethod;let o=Bi(i);o.operationSpec=r,o.operationArguments=e;let a=r.contentType||this._requestContentType;a&&r.requestBody&&i.headers.set("Content-Type",a);let c=e.options;if(c){let l=c.requestOptions;l&&(l.timeout&&(i.timeout=l.timeout),l.onUploadProgress&&(i.onUploadProgress=l.onUploadProgress),l.onDownloadProgress&&(i.onDownloadProgress=l.onDownloadProgress),l.shouldDeserialize!==void 0&&(o.shouldDeserialize=l.shouldDeserialize),l.allowInsecureConnection&&(i.allowInsecureConnection=!0)),c.abortSignal&&(i.abortSignal=c.abortSignal),c.tracingOptions&&(i.tracingOptions=c.tracingOptions)}this._allowInsecureConnection&&(i.allowInsecureConnection=!0),i.streamResponseStatusCodes===void 0&&(i.streamResponseStatusCodes=bV(r));try{let l=await this.sendRequest(i),A=Fb(l,r.responses[l.status]);return c?.onResponse&&c.onResponse(l,A),A}catch(l){if(typeof l=="object"&&l?.response){let A=l.response,u=Fb(A,r.responses[l.statusCode]||r.responses.default);l.details=u,c?.onResponse&&c.onResponse(A,u,l)}throw l}}};function Cfe(t){let e=Ife(t),r=t.credential&&e?{credentialScopes:e,credential:t.credential}:void 0;return gd({...t,credentialOptions:r})}function Ife(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")}var vV={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function Bfe(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)}var bg=async t=>{let e=Nfe(t.request),r=wfe(t.response);if(r){let n=bfe(r),s=xfe(t,n),i=Qfe(n);if(!i)return!1;let o=await t.getAccessToken(s,{...e,tenantId:i});return o?(t.request.headers.set(vV.HeaderConstants.AUTHORIZATION,`${o.tokenType??"Bearer"} ${o.token}`),!0):!1}return!1};function Qfe(t){let n=new URL(t.authorization_uri).pathname.split("/")[1];if(n&&Bfe(n))return n}function xfe(t,e){if(!e.resource_id)return t.scopes;let r=new URL(e.resource_id);r.pathname=vV.DefaultScope;let n=r.toString();return n==="https://disk.azure.com/.default"&&(n="https://disk.azure.com//.default"),[n]}function wfe(t){let e=t.headers.get("WWW-Authenticate");if(t.status===401&&e)return e}function bfe(t){return`${t.slice(7).trim()} `.split(" ").filter(s=>s).map(s=>(([i,o])=>({[i]:o}))(s.trim().split("="))).reduce((s,i)=>({...s,...i}),{})}function Nfe(t){return{abortSignal:t.abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions}}var DV=Symbol("Original PipelineRequest"),Sfe=Symbol.for("@azure/core-client original request");function Cd(t,e={}){let n=t[DV],s=Ii(t.headers.toJson({preserveCase:!0}));if(n)return n.headers=s,n;{let i=fd({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[Sfe]=e.originalRequest),i}}function wa(t,e){let r=e?.originalRequest??t,n={url:t.url,method:t.method,headers:Id(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,o){return i===DV?t:i==="clone"?()=>wa(Cd(n,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(s,i,o)},set(s,i,o,a){return i==="keepAlive"&&(t.disableKeepAlive=!o),typeof i=="string"&&["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"].includes(i)&&(t[i]=o),Reflect.set(s,i,o,a)}}):n}function Id(t){return new Yb(t.toJSON({preserveCase:!0}))}function Ed(t){return t.toLowerCase()}var Yb=class t{_headersMap;constructor(e){if(this._headersMap={},e)for(let r in e)this.set(r,e[r])}set(e,r){this._headersMap[Ed(e)]={name:e,value:r.toString()}}get(e){let r=this._headersMap[Ed(e)];return r?r.value:void 0}contains(e){return!!this._headersMap[Ed(e)]}remove(e){let r=this.contains(e);return delete this._headersMap[Ed(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[Ed(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 kV=Symbol("Original FullOperationResponse");function Ng(t,e){let r=wa(t.request),n=Id(t.headers);return e?.createProxy?new Proxy(t,{get(s,i,o){return i==="headers"?n:i==="request"?r:i===kV?t:Reflect.get(s,i,o)},set(s,i,o,a){return i==="headers"?n=o:i==="request"&&(r=o),Reflect.set(s,i,o,a)}}):{...t,request:r,headers:n}}function Sg(t){let r=t[kV],n=Ii(t.headers.toJson({preserveCase:!0}));return r?(r.headers=n,r):{...t,headers:n,request:Cd(t.request)}}var Bd=class extends yd{constructor(e){super(e),e.keepAliveOptions?.enable===!1&&!mV(this.pipeline)&&this.pipeline.addPolicy(dV()),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:fb})}async sendOperationRequest(e,r){let n=e?.options?.onResponse,s;function i(a,c,l){s=a,n&&n(a,c,l)}e.options={...e.options,onResponse:i};let o=await super.sendOperationRequest(e,r);return s&&Object.defineProperty(o,"_response",{value:Ng(s)}),o}};var Vb;(function(t){t[t.ERROR=1]="ERROR",t[t.INFO=3]="INFO",t[t.OFF=0]="OFF",t[t.WARNING=2]="WARNING"})(Vb||(Vb={}));var Rfe={log(t,e){},shouldLog(t){return!1}},TV="RequestPolicyFactoryPolicy";function Jb(t){let e=t.slice().reverse();return{name:TV,async sendRequest(r,n){let s={async sendRequest(a){let c=await n(Cd(a));return Ng(c,{createProxy:!0})}};for(let a of e)s=a.create(s,Rfe);let i=wa(r,{createProxy:!0}),o=await s.sendRequest(i);return Sg(o)}}}function Wb(t){return{sendRequest:async e=>{let r=await t.sendRequest(wa(e,{createProxy:!0}));return Sg(r)}}}var MV=":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",vfe=MV+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Dfe="["+MV+"]["+vfe+"]*",kfe=new RegExp("^"+Dfe+"$");function Rg(t,e){let r=[],n=e.exec(t);for(;n;){let s=[];s.startIndex=e.lastIndex-n[0].length;let i=n.length;for(let o=0;o<i;o++)s.push(n[o]);r.push(s),n=e.exec(t)}return r}var $b=function(t){let e=kfe.exec(t);return!(e===null||typeof e>"u")};function LV(t){return typeof t<"u"}var Qd=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],Pg=["__proto__","constructor","prototype"];var Tfe={allowBooleanAttributes:!1,unpairedTags:[]};function vg(t,e){e=Object.assign({},Tfe,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=FV(t,i),i.err)return i}else if(t[i]==="<"){let o=i;if(i++,t[i]==="!"){i=UV(t,i);continue}else{let a=!1;t[i]==="/"&&(a=!0,i++);let c="";for(;i<t.length&&t[i]!==">"&&t[i]!==" "&&t[i]!==" "&&t[i]!==`
|
|
`&&t[i]!=="\r";i++)c+=t[i];if(c=c.trim(),c[c.length-1]==="/"&&(c=c.substring(0,c.length-1),i--),!Hfe(c)){let u;return c.trim().length===0?u="Invalid space after '<'.":u="Tag '"+c+"' is an invalid name.",it("InvalidTag",u,tr(t,i))}let l=_fe(t,i);if(l===!1)return it("InvalidAttr","Attributes for '"+c+"' have open quote.",tr(t,i));let A=l.value;if(i=l.index,A[A.length-1]==="/"){let u=i-A.length;A=A.substring(0,A.length-1);let d=OV(A,e);if(d===!0)n=!0;else return it(d.err.code,d.err.msg,tr(t,u+d.err.line))}else if(a)if(l.tagClosed){if(A.trim().length>0)return it("InvalidTag","Closing tag '"+c+"' can't have attributes or invalid starting.",tr(t,o));if(r.length===0)return it("InvalidTag","Closing tag '"+c+"' has not been opened.",tr(t,o));{let u=r.pop();if(c!==u.tagName){let d=tr(t,u.tagStartPos);return it("InvalidTag","Expected closing tag '"+u.tagName+"' (opened in line "+d.line+", col "+d.col+") instead of closing tag '"+c+"'.",tr(t,o))}r.length==0&&(s=!0)}}else return it("InvalidTag","Closing tag '"+c+"' doesn't have proper closing.",tr(t,i));else{let u=OV(A,e);if(u!==!0)return it(u.err.code,u.err.msg,tr(t,i-A.length+u.err.line));if(s===!0)return it("InvalidXml","Multiple possible root nodes found.",tr(t,i));e.unpairedTags.indexOf(c)!==-1||r.push({tagName:c,tagStartPos:o}),n=!0}for(i++;i<t.length;i++)if(t[i]==="<")if(t[i+1]==="!"){i++,i=UV(t,i);continue}else if(t[i+1]==="?"){if(i=FV(t,++i),i.err)return i}else break;else if(t[i]==="&"){let u=Ofe(t,i);if(u==-1)return it("InvalidChar","char '&' is not expected.",tr(t,i));i=u}else if(s===!0&&!_V(t[i]))return it("InvalidXml","Extra text at the end",tr(t,i));t[i]==="<"&&i--}}else{if(_V(t[i]))continue;return it("InvalidChar","char '"+t[i]+"' is not expected.",tr(t,i))}if(n){if(r.length==1)return it("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",tr(t,r[0].tagStartPos));if(r.length>0)return it("InvalidXml","Invalid '"+JSON.stringify(r.map(i=>i.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return it("InvalidXml","Start tag expected.",1);return!0}function _V(t){return t===" "||t===" "||t===`
|
|
`||t==="\r"}function FV(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 it("InvalidXml","XML declaration allowed only at the start of the document.",tr(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}function UV(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}var Mfe='"',Lfe="'";function _fe(t,e){let r="",n="",s=!1;for(;e<t.length;e++){if(t[e]===Mfe||t[e]===Lfe)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}}var Ffe=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function OV(t,e){let r=Rg(t,Ffe),n={};for(let s=0;s<r.length;s++){if(r[s][1].length===0)return it("InvalidAttr","Attribute '"+r[s][2]+"' has no space in starting.",xd(r[s]));if(r[s][3]!==void 0&&r[s][4]===void 0)return it("InvalidAttr","Attribute '"+r[s][2]+"' is without value.",xd(r[s]));if(r[s][3]===void 0&&!e.allowBooleanAttributes)return it("InvalidAttr","boolean attribute '"+r[s][2]+"' is not allowed.",xd(r[s]));let i=r[s][2];if(!qfe(i))return it("InvalidAttr","Attribute '"+i+"' is an invalid name.",xd(r[s]));if(!Object.prototype.hasOwnProperty.call(n,i))n[i]=1;else return it("InvalidAttr","Attribute '"+i+"' is repeated.",xd(r[s]))}return!0}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}function Ofe(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}function it(t,e,r){return{err:{code:t,msg:e,line:r.line||r,col:r.col}}}function qfe(t){return $b(t)}function Hfe(t){return $b(t)}function tr(t,e){let r=t.substring(0,e).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function xd(t){return t.startIndex+t[1].length}var qV={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"},HV={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"},zV={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"},GV={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"},YV={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"},VV={plus:"+",minus:"\u2212",mnplus:"\u2213",mp:"\u2213",pm:"\xB1",times:"\xD7",div:"\xF7",divide:"\xF7",sdot:"\u22C5",star:"\u2606",starf:"\u2605",bigstar:"\u2605",lowast:"\u2217",ast:"*",midast:"*",compfn:"\u2218",smallcircle:"\u2218",bullet:"\u2022",bull:"\u2022",nbsp:"\xA0",hellip:"\u2026",mldr:"\u2026",prime:"\u2032",Prime:"\u2033",tprime:"\u2034",bprime:"\u2035",backprime:"\u2035",minus:"\u2212",minusd:"\u2238",dotminus:"\u2238",plusdo:"\u2214",dotplus:"\u2214",plusmn:"\xB1",minusplus:"\u2213",mnplus:"\u2213",mp:"\u2213",setminus:"\u2216",smallsetminus:"\u2216",Backslash:"\u2216",setmn:"\u2216",ssetmn:"\u2216",lowbar:"_",verbar:"|",vert:"|",VerticalLine:"|",colon:":",Colon:"\u2237",Proportion:"\u2237",ratio:"\u2236",equals:"=",ne:"\u2260",nequiv:"\u2262",equiv:"\u2261",Congruent:"\u2261",sim:"\u223C",thicksim:"\u223C",thksim:"\u223C",sime:"\u2243",simeq:"\u2243",TildeEqual:"\u2243",asymp:"\u2248",approx:"\u2248",thickapprox:"\u2248",thkap:"\u2248",TildeTilde:"\u2248",ncong:"\u2247",cong:"\u2245",TildeFullEqual:"\u2245",asympeq:"\u224D",CupCap:"\u224D",bump:"\u224E",Bumpeq:"\u224E",HumpDownHump:"\u224E",bumpe:"\u224F",bumpeq:"\u224F",HumpEqual:"\u224F",dotminus:"\u2238",minusd:"\u2238",plusdo:"\u2214",dotplus:"\u2214",le:"\u2264",LessEqual:"\u2264",ge:"\u2265",GreaterEqual:"\u2265",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",greater:">",less:"<"},JV={alefsym:"\u2135",aleph:"\u2135",beth:"\u2136",gimel:"\u2137",daleth:"\u2138",forall:"\u2200",ForAll:"\u2200",part:"\u2202",PartialD:"\u2202",exist:"\u2203",Exists:"\u2203",nexist:"\u2204",nexists:"\u2204",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",varnothing:"\u2205",nabla:"\u2207",Del:"\u2207",isin:"\u2208",isinv:"\u2208",in:"\u2208",Element:"\u2208",notin:"\u2209",notinva:"\u2209",ni:"\u220B",niv:"\u220B",SuchThat:"\u220B",ReverseElement:"\u220B",notni:"\u220C",notniva:"\u220C",prod:"\u220F",Product:"\u220F",coprod:"\u2210",Coproduct:"\u2210",sum:"\u2211",Sum:"\u2211",minus:"\u2212",mp:"\u2213",plusdo:"\u2214",dotplus:"\u2214",setminus:"\u2216",lowast:"\u2217",radic:"\u221A",Sqrt:"\u221A",prop:"\u221D",propto:"\u221D",Proportional:"\u221D",varpropto:"\u221D",infin:"\u221E",infintie:"\u29DD",ang:"\u2220",angle:"\u2220",angmsd:"\u2221",measuredangle:"\u2221",angsph:"\u2222",mid:"\u2223",VerticalBar:"\u2223",nmid:"\u2224",nsmid:"\u2224",npar:"\u2226",parallel:"\u2225",spar:"\u2225",nparallel:"\u2226",nspar:"\u2226",and:"\u2227",wedge:"\u2227",or:"\u2228",vee:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",Integral:"\u222B",conint:"\u222E",ContourIntegral:"\u222E",Conint:"\u222F",DoubleContourIntegral:"\u222F",Cconint:"\u2230",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",becaus:"\u2235",because:"\u2235",Because:"\u2235",ratio:"\u2236",Proportion:"\u2237",minusd:"\u2238",dotminus:"\u2238",mDDot:"\u223A",homtht:"\u223B",sim:"\u223C",bsimg:"\u223D",backsim:"\u223D",ac:"\u223E",mstpos:"\u223E",acd:"\u223F",VerticalTilde:"\u2240",wr:"\u2240",wreath:"\u2240",nsime:"\u2244",nsimeq:"\u2244",nsimeq:"\u2244",ncong:"\u2247",simne:"\u2246",ncongdot:"\u2A6D\u0338",ngsim:"\u2275",nsim:"\u2241",napprox:"\u2249",nap:"\u2249",ngeq:"\u2271",nge:"\u2271",nleq:"\u2270",nle:"\u2270",ngtr:"\u226F",ngt:"\u226F",nless:"\u226E",nlt:"\u226E",nprec:"\u2280",npr:"\u2280",nsucc:"\u2281",nsc:"\u2281"},WV={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"},$V={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"},jV={excl:"!",iexcl:"\xA1",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",nbsp:"\xA0",comma:",",period:".",colon:":",semi:";",vert:"|",Verbar:"\u2016",verbar:"|",dblac:"\u02DD",circ:"\u02C6",caron:"\u02C7",breve:"\u02D8",dot:"\u02D9",ring:"\u02DA",ogon:"\u02DB",tilde:"\u02DC",DiacriticalGrave:"`",DiacriticalAcute:"\xB4",DiacriticalTilde:"\u02DC",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",grave:"`",acute:"\xB4"},Dg={cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",euro:"\u20AC",dollar:"$",euro:"\u20AC",fnof:"\u0192",inr:"\u20B9",af:"\u060B",birr:"\u1265\u122D",peso:"\u20B1",rub:"\u20BD",won:"\u20A9",yuan:"\xA5",cedil:"\xB8"},KV={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"},XV={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"},zfe={...qV,...HV,...zV,...GV,...YV,...VV,...JV,...WV,...$V,...jV,...Dg,...KV,...XV},wd={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},jb={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 Gfe=new Set("!?\\\\/[]$%{}^&*()<>|+");function ZV(t){if(t[0]==="#")throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${t}"`);for(let e of t)if(Gfe.has(e))throw new Error(`[EntityReplacer] Invalid character '${e}' in entity name: "${t}"`);return t}function Kb(...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}var ba="external",kg="base",Xb="all";function Yfe(t){return!t||t===ba?new Set([ba]):t===Xb?new Set([Xb]):t===kg?new Set([kg]):Array.isArray(t)?new Set(t):new Set([ba])}var fr=Object.freeze({allow:0,leave:1,remove:2,throw:3}),Vfe=new Set([9,10,13]);function Jfe(t){if(!t)return{xmlVersion:1,onLevel:fr.allow,nullLevel:fr.remove};let e=t.xmlVersion===1.1?1.1:1,r=fr[t.onNCR]??fr.allow,n=fr[t.nullNCR]??fr.remove,s=Math.max(n,fr.remove);return{xmlVersion:e,onLevel:r,nullLevel:s}}var bl=class{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=Yfe(this._limit.applyLimitsTo??ba),this._numericAllowed=e.numericAllowed??!0,this._baseMap=Kb(wd,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let r=Jfe(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))ZV(r);this._externalMap=Kb(e)}addExternalEntity(e,r){ZV(e),typeof r=="string"&&r.indexOf("&")===-1&&(this._externalMap[e]=r)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=Kb(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,o=0,a=this._maxTotalExpansions>0,c=this._maxExpandedLength>0,l=a||c;for(;o<s;){if(e.charCodeAt(o)!==38){o++;continue}let u=o+1;for(;u<s&&e.charCodeAt(u)!==59&&u-o<=32;)u++;if(u>=s||e.charCodeAt(u)!==59){o++;continue}let d=e.slice(o+1,u);if(d.length===0){o++;continue}let m,p;if(this._removeSet.has(d))m="",p===void 0&&(p=ba);else if(this._leaveSet.has(d)){o++;continue}else if(d.charCodeAt(0)===35){let f=this._resolveNCR(d);if(f===void 0){o++;continue}m=f,p=kg}else{let f=this._resolveName(d);m=f?.value,p=f?.tier}if(m===void 0){o++;continue}if(o>i&&n.push(e.slice(i,o)),n.push(m),i=u+1,o=i,l&&this._tierCounts(p)){if(a&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw new Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(c){let f=m.length-(d.length+2);if(f>0&&(this._expandedLength+=f,this._expandedLength>this._maxExpandedLength))throw new Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}i<s&&n.push(e.slice(i));let A=n.length===0?e:n.join("");return this._postCheck(A,r)}_tierCounts(e){return this._limitTiers.has(Xb)?!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:kg}}_classifyNCR(e){return e===0?this._ncrNullLevel:e>=55296&&e<=57343||this._ncrXmlVersion===1&&e>=1&&e<=31&&!Vfe.has(e)?fr.remove:-1}_applyNCRAction(e,r,n){switch(e){case fr.allow:return String.fromCodePoint(n);case fr.remove:return"";case fr.leave:return;case fr.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<fr.remove)return;let i=s===-1?this._ncrOnLevel:Math.max(this._ncrOnLevel,s);return this._applyNCRAction(i,e,n)}};var eJ=t=>Qd.includes(t)?"__"+t:t,Wfe={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:function(t,e){return e},attributeValueProcessor:function(t,e){return e},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,e,r){return t},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:eJ};function $fe(t,e){if(typeof t!="string")return;let r=t.toLowerCase();if(Qd.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);if(Pg.some(n=>r===n.toLowerCase()))throw new Error(`[SECURITY] Invalid ${e}: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`)}function tJ(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"}:tJ(!0)}var rJ=function(t){let e=Object.assign({},Wfe,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&&$fe(n,s);return e.onDangerousProperty===null&&(e.onDangerousProperty=eJ),e.processEntities=tJ(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};var Tg;typeof Symbol!="function"?Tg="@@xmlMetadata":Tg=Symbol("XML Node Metadata");var gr=class{constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,r){e==="__proto__"&&(e="#__proto__"),this.child.push({[e]:r})}addChild(e,r){e.tagname==="__proto__"&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),r!==void 0&&(this.child[this.child.length-1][Tg]={startIndex:r})}static getMetaDataSymbol(){return Tg}};var nJ=":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",jfe=nJ+"\\-\\.\\d\xB7\u0300-\u036F\u203F-\u2040",sJ=":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}",Kfe=sJ+"\\-\\.\\d\xB7\u0300-\u036F\u0487\u203F-\u2040",iJ=(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)}},Xfe=iJ(nJ,jfe),Zfe=iJ(sJ,Kfe,"u"),ege=(t="1.0")=>t==="1.1"?Zfe:Xfe;var Na=(t,{xmlVersion:e="1.0"}={})=>ege(e).qName.test(t);var Nd=class{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,o=!1,a=!1,c="";for(;r<e.length;r++)if(e[r]==="<"&&!a){if(o&&Sa(e,"!ENTITY",r)){r+=7;let l,A;if([l,A,r]=this.readEntityExp(e,r+1,this.suppressValidationErr),A.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[l]=A,s++}}else if(o&&Sa(e,"!ELEMENT",r)){r+=8;let{index:l}=this.readElementExp(e,r+1);r=l}else if(o&&Sa(e,"!ATTLIST",r))r+=8;else if(o&&Sa(e,"!NOTATION",r)){r+=9;let{index:l}=this.readNotationExp(e,r+1,this.suppressValidationErr);r=l}else if(Sa(e,"!--",r))a=!0;else throw new Error("Invalid DOCTYPE");i++,c=""}else if(e[r]===">"){if(a?e[r-1]==="-"&&e[r-2]==="-"&&(a=!1,i--):i--,i===0)break}else e[r]==="["?o=!0:c+=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=yr(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(bd(s,{xmlVersion:this.xmlVersion}),r=yr(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=yr(e,r);let n=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;let s=e.substring(n,r);!this.suppressValidationErr&&bd(s,{xmlVersion:this.xmlVersion}),r=yr(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=yr(e,r);let o=null,a=null;if(i==="PUBLIC")[r,o]=this.readIdentifierVal(e,r,"publicIdentifier"),r=yr(e,r),(e[r]==='"'||e[r]==="'")&&([r,a]=this.readIdentifierVal(e,r,"systemIdentifier"));else if(i==="SYSTEM"&&([r,a]=this.readIdentifierVal(e,r,"systemIdentifier"),!this.suppressValidationErr&&!a))throw new Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:s,publicIdentifier:o,systemIdentifier:a,index:--r}}readIdentifierVal(e,r,n){let s="",i=e[r];if(i!=='"'&&i!=="'")throw new Error(`Expected quoted string, found "${i}"`);r++;let o=r;for(;r<e.length&&e[r]!==i;)r++;if(s=e.substring(o,r),e[r]!==i)throw new Error(`Unterminated ${n} value`);return r++,[r,s]}readElementExp(e,r){r=yr(e,r);let n=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;let s=e.substring(n,r);if(!this.suppressValidationErr&&!Na(s,{xmlVersion:this.xmlVersion}))throw new Error(`Invalid element name: "${s}"`);r=yr(e,r);let i="";if(e[r]==="E"&&Sa(e,"MPTY",r))r+=4;else if(e[r]==="A"&&Sa(e,"NY",r))r+=2;else if(e[r]==="("){r++;let o=r;for(;r<e.length&&e[r]!==")";)r++;if(i=e.substring(o,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=yr(e,r);let n=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;let s=e.substring(n,r);for(bd(s,{xmlVersion:this.xmlVersion}),r=yr(e,r),n=r;r<e.length&&!/\s/.test(e[r]);)r++;let i=e.substring(n,r);if(!bd(i,{xmlVersion:this.xmlVersion}))throw new Error(`Invalid attribute name: "${i}"`);r=yr(e,r);let o="";if(e.substring(r,r+8).toUpperCase()==="NOTATION"){if(o="NOTATION",r+=8,r=yr(e,r),e[r]!=="(")throw new Error(`Expected '(', found "${e[r]}"`);r++;let c=[];for(;r<e.length&&e[r]!==")";){let l=r;for(;r<e.length&&e[r]!=="|"&&e[r]!==")";)r++;let A=e.substring(l,r);if(A=A.trim(),!bd(A,{xmlVersion:this.xmlVersion}))throw new Error(`Invalid notation name: "${A}"`);c.push(A),e[r]==="|"&&(r++,r=yr(e,r))}if(e[r]!==")")throw new Error("Unterminated list of notations");r++,o+=" ("+c.join("|")+")"}else{let c=r;for(;r<e.length&&!/\s/.test(e[r]);)r++;o+=e.substring(c,r);let l=["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"];if(!this.suppressValidationErr&&!l.includes(o.toUpperCase()))throw new Error(`Invalid attribute type: "${o}"`)}r=yr(e,r);let a="";return e.substring(r,r+8).toUpperCase()==="#REQUIRED"?(a="#REQUIRED",r+=8):e.substring(r,r+7).toUpperCase()==="#IMPLIED"?(a="#IMPLIED",r+=7):[r,a]=this.readIdentifierVal(e,r,"ATTLIST"),{elementName:s,attributeName:i,attributeType:o,defaultValue:a,index:r}}},yr=(t,e)=>{for(;e<t.length&&/\s/.test(t[e]);)e++;return e};function Sa(t,e,r){for(let n=0;n<e.length;n++)if(e[n]!==t[r+n+1])return!1;return!0}function bd(t,e){if(Na(t,{xmlVersion:e}))return t;throw new Error(`Invalid entity name ${t}`)}var tge=/^[-+]?0x[a-fA-F0-9]+$/,rge=/^0b[01]+$/,nge=/^0o[0-7]+$/,sge=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,ige={hex:!0,binary:!1,octal:!1,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original"};function e0(t,e={}){if(e=Object.assign({},ige,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&&tge.test(r))return Zb(r,16);if(e.binary&&rge.test(r))return Zb(r,2);if(e.octal&&nge.test(r))return Zb(r,8);if(isFinite(r)){if(r.includes("e")||r.includes("E"))return age(t,r,e);{let n=sge.exec(r);if(n){let s=n[1]||"",i=n[2],o=cge(n[3]),a=s?t[i.length+1]===".":t[i.length]===".";if(!e.leadingZeros&&(i.length>1||i.length===1&&!a))return t;{let c=Number(r),l=String(c);if(c===0)return c;if(l.search(/[eE]/)!==-1)return e.eNotation?c:t;if(r.indexOf(".")!==-1)return l==="0"||l===o||l===`${s}${o}`?c:t;let A=i?o:r;return i?A===l||s+A===l?c:t:A===l||A===s+l?c:t}}else return t}}else return lge(t,Number(r),e)}var oge=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function age(t,e,r){if(!r.eNotation)return t;let n=e.match(oge);if(n){let s=n[1]||"",i=n[3].indexOf("e")===-1?"E":"e",o=n[2],a=s?t[o.length+1]===i:t[o.length]===i;return o.length>1&&a?t:o.length===1&&(n[3].startsWith(`.${i}`)||n[3][0]===i)?Number(e):o.length>0?r.leadingZeros&&!a?(e=(n[1]||"")+n[3],Number(e)):t:Number(e)}else return t}function cge(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}function Zb(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")}function lge(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}}function t0(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}var Vr=class{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 A=i[2].slice(1,-1);A&&(n=A)}let o,a=s;if(s.includes("::")){let A=s.indexOf("::");if(o=s.substring(0,A).trim(),a=s.substring(A+2).trim(),!o)throw new Error(`Invalid namespace in pattern: ${e}`)}let c,l=null;if(a.includes(":")){let A=a.lastIndexOf(":"),u=a.substring(0,A).trim(),d=a.substring(A+1).trim();["first","last","odd","even"].includes(d)||/^nth\(\d+\)$/.test(d)?(c=u,l=d):c=a}else c=a;if(!c)throw new Error(`Invalid segment pattern: ${e}`);if(r.tag=c,o&&(r.namespace=o),n)if(n.includes("=")){let A=n.indexOf("=");r.attrName=n.substring(0,A).trim(),r.attrValue=n.substring(A+1).trim()}else r.attrName=n.trim();if(l){let A=l.match(/^nth\((\d+)\)$/);A?(r.position="nth",r.positionValue=parseInt(A[1],10)):r.position=l}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 Nl=class{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 a=0;a<i.length;a++)if(e.matches(i[a]))return i[a]}let o=this._wildcardByDepth.get(r);if(o){for(let a=0;a<o.length;a++)if(e.matches(o[a]))return o[a]}for(let a=0;a<this._deepWildcards.length;a++)if(e.matches(this._deepWildcards[a]))return this._deepWildcards[a];return null}};var r0=class{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)}},ws=class{constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new r0(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],o=n?`${n}:${e}`:e,a=i.get(o)||0,c=0;for(let A of i.values())c+=A;i.set(o,a+1);let l={tag:e,position:c,counter:a};n!=null&&(l.namespace=n),r!=null&&(l.values=r),this.path.push(l)}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(o=>o.namespace?`${o.namespace}:${o.tag}`:o.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],o=!1;for(let a=r;a>=0;a--)if(this._matchSegment(i,this.path[a],a===this.path.length-1)){r=a-1,n--,o=!0;break}if(!o)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 Age(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}function uge(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}}var Sd=class{constructor(e,r){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=fge,this.parseTextData=dge,this.resolveNameSpace=mge,this.buildAttributesMap=hge,this.isItStopNode=Cge,this.replaceEntitiesValue=yge,this.readStopNodeData=Qge,this.saveTextToParentTag=Ege,this.addChild=gge,this.ignoreAttributesFn=t0(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0;let n={...wd};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities=="object"?n=this.options.htmlEntities:this.options.htmlEntities===!0&&(n={...jb,...Dg}),this.entityDecoder=new bl({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 ws,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new Nl;let s=this.options.stopNodes;if(s&&s.length>0){for(let i=0;i<s.length;i++){let o=s[i];typeof o=="string"?this.stopNodeExpressionsSet.add(new Vr(o)):o instanceof Vr&&this.stopNodeExpressionsSet.add(o)}this.stopNodeExpressionsSet.seal()}}};function dge(t,e,r,n,s,i,o){let a=this.options;if(t!==void 0&&(a.trimValues&&!n&&(t=t.trim()),t.length>0)){o||(t=this.replaceEntitiesValue(t,e,r));let c=a.jPath?r.toString():r,l=a.tagValueProcessor(e,t,c,s,i);return l==null?t:typeof l!=typeof t||l!==t?l:a.trimValues||t.trim()===t?i0(t,a.parseTagValue,a.numberParseOptions):t}}function mge(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}var pge=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function hge(t,e,r,n=!1){let s=this.options;if(n===!0||s.ignoreAttributes!==!0&&typeof t=="string"){let i=Rg(t,pge),o=i.length,a={},c=new Array(o),l=!1,A={};for(let m=0;m<o;m++){let p=this.resolveNameSpace(i[m][1]),f=i[m][4];if(p.length&&f!==void 0){let E=f;s.trimValues&&(E=E.trim()),E=this.replaceEntitiesValue(E,r,this.readonlyMatcher),c[m]=E,A[p]=E,l=!0}}l&&typeof e=="object"&&e.updateCurrent&&e.updateCurrent(A);let u=s.jPath?e.toString():this.readonlyMatcher,d=!1;for(let m=0;m<o;m++){let p=this.resolveNameSpace(i[m][1]);if(this.ignoreAttributesFn(p,u))continue;let f=s.attributeNamePrefix+p;if(p.length)if(s.transformAttributeName&&(f=s.transformAttributeName(f)),f=oJ(f,s),i[m][4]!==void 0){let E=c[m],g=s.attributeValueProcessor(p,E,u);g==null?a[f]=E:typeof g!=typeof E||g!==E?a[f]=g:a[f]=i0(E,s.parseAttributeValue,s.numberParseOptions),d=!0}else s.allowBooleanAttributes&&(a[f]=!0,d=!0)}if(!d)return;if(s.attributesGroupName&&!s.preserveOrder){let m={};return m[s.attributesGroupName]=a,m}return a}}var fge=function(t){t=t.replace(/\r\n?/g,`
|
|
`);let e=new gr("!xml"),r=e,n="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0;let s=this.options,i=new Nd(s.processEntities),o=t.length;for(let a=0;a<o;a++)if(t[a]==="<"){let l=t.charCodeAt(a+1);if(l===47){let A=Sl(t,">",a,"Closing Tag is not closed."),u=t.substring(a+2,A).trim();if(s.removeNSPrefix){let m=u.indexOf(":");m!==-1&&(u=u.substr(m+1))}u=n0(s.transformTagName,u,"",s).tagName,r&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher));let d=this.matcher.getCurrentTag();if(u&&s.unpairedTagsSet.has(u))throw new Error(`Unpaired tag can not be used as closing tag: </${u}>`);d&&s.unpairedTagsSet.has(d)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),n="",a=A}else if(l===63){let A=s0(t,a,!1,"?>");if(!A)throw new Error("Pi Tag is not closed.");n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let u=this.buildAttributesMap(A.tagExp,this.matcher,A.tagName,!0);if(u){let d=u[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(d)||1),i.setXmlVersion(Number(d)||1)}if(!(s.ignoreDeclaration&&A.tagName==="?xml"||s.ignorePiTags)){let d=new gr(A.tagName);d.add(s.textNodeName,""),A.tagName!==A.tagExp&&A.attrExpPresent&&s.ignoreAttributes!==!0&&(d[":@"]=u),this.addChild(r,d,this.readonlyMatcher,a)}a=A.closeIndex+1}else if(l===33&&t.charCodeAt(a+2)===45&&t.charCodeAt(a+3)===45){let A=Sl(t,"-->",a+4,"Comment is not closed.");if(s.commentPropName){let u=t.substring(a+4,A-2);n=this.saveTextToParentTag(n,r,this.readonlyMatcher),r.add(s.commentPropName,[{[s.textNodeName]:u}])}a=A}else if(l===33&&t.charCodeAt(a+2)===68){let A=i.readDocType(t,a);this.entityDecoder.addInputEntities(A.entities),a=A.i}else if(l===33&&t.charCodeAt(a+2)===91){let A=Sl(t,"]]>",a,"CDATA is not closed.")-2,u=t.substring(a+9,A);n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let d=this.parseTextData(u,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);d==null&&(d=""),s.cdataPropName?r.add(s.cdataPropName,[{[s.textNodeName]:u}]):r.add(s.textNodeName,d),a=A+2}else{let A=s0(t,a,s.removeNSPrefix);if(!A){let D=t.substring(Math.max(0,a-50),Math.min(o,a+50));throw new Error(`readTagExp returned undefined at position ${a}. Context: "${D}"`)}let u=A.tagName,d=A.rawTagName,m=A.tagExp,p=A.attrExpPresent,f=A.closeIndex;if({tagName:u,tagExp:m}=n0(s.transformTagName,u,m,s),s.strictReservedNames&&(u===s.commentPropName||u===s.cdataPropName||u===s.textNodeName||u===s.attributesGroupName))throw new Error(`Invalid tag name: ${u}`);r&&n&&r.tagname!=="!xml"&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher,!1));let E=r;E&&s.unpairedTagsSet.has(E.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let g=!1;m.length>0&&m.lastIndexOf("/")===m.length-1&&(g=!0,u[u.length-1]==="/"?(u=u.substr(0,u.length-1),m=u):m=m.substr(0,m.length-1),p=u!==m);let y=null,C={},I;I=uge(d),u!==e.tagname&&this.matcher.push(u,{},I),u!==m&&p&&(y=this.buildAttributesMap(m,this.matcher,u),y&&(C=Age(y,s))),u!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let w=a;if(this.isCurrentNodeStopNode){let D="";if(g)a=A.closeIndex;else if(s.unpairedTagsSet.has(u))a=A.closeIndex;else{let ae=this.readStopNodeData(t,d,f+1);if(!ae)throw new Error(`Unexpected end of ${d}`);a=ae.i,D=ae.tagContent}let _=new gr(u);y&&(_[":@"]=y),_.add(s.textNodeName,D),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,_,this.readonlyMatcher,w)}else{if(g){({tagName:u,tagExp:m}=n0(s.transformTagName,u,m,s));let D=new gr(u);y&&(D[":@"]=y),this.addChild(r,D,this.readonlyMatcher,w),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(s.unpairedTagsSet.has(u)){let D=new gr(u);y&&(D[":@"]=y),this.addChild(r,D,this.readonlyMatcher,w),this.matcher.pop(),this.isCurrentNodeStopNode=!1,a=A.closeIndex;continue}else{let D=new gr(u);if(this.tagsNodeStack.length>s.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),y&&(D[":@"]=y),this.addChild(r,D,this.readonlyMatcher,w),r=D}n="",a=f}}}else n+=t[a];return e.child};function gge(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))}function yge(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)}function Ege(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}function Cge(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}function Ige(t,e,r=">"){let n=0,s=t.length,i=r.charCodeAt(0),o=r.length>1?r.charCodeAt(1):-1,a="",c=e;for(let l=e;l<s;l++){let A=t.charCodeAt(l);if(n)A===n&&(n=0);else if(A===34||A===39)n=A;else if(A===i)if(o!==-1){if(t.charCodeAt(l+1)===o)return a+=t.substring(c,l),{data:a,index:l}}else return a+=t.substring(c,l),{data:a,index:l};else A===9&&!n&&(a+=t.substring(c,l)+" ",c=l+1)}}function Sl(t,e,r,n){let s=t.indexOf(e,r);if(s===-1)throw new Error(n);return s+e.length-1}function Bge(t,e,r,n){let s=t.indexOf(e,r);if(s===-1)throw new Error(n);return s}function s0(t,e,r,n=">"){let s=Ige(t,e+1,n);if(!s)return;let i=s.data,o=s.index,a=i.search(/\s/),c=i,l=!0;a!==-1&&(c=i.substring(0,a),i=i.substring(a+1).trimStart());let A=c;if(r){let u=c.indexOf(":");u!==-1&&(c=c.substr(u+1),l=c!==s.data.substr(u+1))}return{tagName:c,tagExp:i,closeIndex:o,attrExpPresent:l,rawTagName:A}}function Qge(t,e,r){let n=r,s=1,i=t.length;for(;r<i;r++)if(t[r]==="<"){let o=t.charCodeAt(r+1);if(o===47){let a=Bge(t,">",r,`${e} is not closed`);if(t.substring(r+2,a).trim()===e&&(s--,s===0))return{tagContent:t.substring(n,r),i:a};r=a}else if(o===63)r=Sl(t,"?>",r+1,"StopNode is not closed.");else if(o===33&&t.charCodeAt(r+2)===45&&t.charCodeAt(r+3)===45)r=Sl(t,"-->",r+3,"StopNode is not closed.");else if(o===33&&t.charCodeAt(r+2)===91)r=Sl(t,"]]>",r,"StopNode is not closed.")-2;else{let a=s0(t,r,!1);a&&((a&&a.tagName)===e&&a.tagExp[a.tagExp.length-1]!=="/"&&s++,r=a.closeIndex)}}}function i0(t,e,r){if(e&&typeof t=="string"){let n=t.trim();return n==="true"?!0:n==="false"?!1:e0(t,r)}else return LV(t)?t:""}function n0(t,e,r,n){if(t){let s=t(e);r===e&&(r=s),e=s}return e=oJ(e,n),{tagName:e,tagExp:r}}function oJ(t,e){if(Pg.includes(t))throw new Error(`[SECURITY] Invalid name: "${t}" is a reserved JavaScript keyword that could cause prototype pollution`);return Qd.includes(t)?e.onDangerousProperty(t):t}var o0=gr.getMetaDataSymbol();function xge(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}function a0(t,e,r,n){return aJ(t,e,r,n)}function aJ(t,e,r,n){let s,i={};for(let o=0;o<t.length;o++){let a=t[o],c=wge(a);if(c!==void 0&&c!==e.textNodeName){let l=xge(a[":@"]||{},e.attributeNamePrefix);r.push(c,l)}if(c===e.textNodeName)s===void 0?s=a[c]:s+=""+a[c];else{if(c===void 0)continue;if(a[c]){let l=aJ(a[c],e,r,n),A=Nge(l,e);if(Object.keys(l).length===0&&e.alwaysCreateTextNode&&(l[e.textNodeName]=""),a[":@"]?bge(l,a[":@"],n,e):Object.keys(l).length===1&&l[e.textNodeName]!==void 0&&!e.alwaysCreateTextNode?l=l[e.textNodeName]:Object.keys(l).length===0&&(e.alwaysCreateTextNode?l[e.textNodeName]="":l=""),a[o0]!==void 0&&typeof l=="object"&&l!==null&&(l[o0]=a[o0]),i[c]!==void 0&&Object.prototype.hasOwnProperty.call(i,c))Array.isArray(i[c])||(i[c]=[i[c]]),i[c].push(l);else{let u=e.jPath?n.toString():n;e.isArray(c,u,A)?i[c]=[l]:i[c]=l}c!==void 0&&c!==e.textNodeName&&r.pop()}}}return typeof s=="string"?s.length>0&&(i[e.textNodeName]=s):s!==void 0&&(i[e.textNodeName]=s),i}function wge(t){let e=Object.keys(t);for(let r=0;r<e.length;r++){let n=e[r];if(n!==":@")return n}}function bge(t,e,r,n){if(e){let s=Object.keys(e),i=s.length;for(let o=0;o<i;o++){let a=s[o],c=a.startsWith(n.attributeNamePrefix)?a.substring(n.attributeNamePrefix.length):a,l=n.jPath?r.toString()+"."+c:r;n.isArray(a,l,!0,!0)?t[a]=[e[a]]:t[a]=e[a]}}}function Nge(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))}var Rl=class{constructor(e){this.externalEntities={},this.options=rJ(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=vg(e,r);if(i!==!0)throw Error(`${i.err.msg}:${i.err.line}:${i.err.col}`)}let n=new Sd(this.options,this.externalEntities),s=n.parseXml(e);return this.options.preserveOrder||s===void 0?s:a0(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 gr.getMetaDataSymbol()}};function Mg(t){return String(t).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}function Lg(t){return String(t).replace(/\]\]>/g,"]]]]><![CDATA[>")}function xo(t){return String(t).replace(/"/g,""").replace(/'/g,"'")}var Sge=`
|
|
`;function Rge(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(A0(r)==="?xml"){let s=r[":@"];if(s){let i=e.attributeNamePrefix+"version";if(s[i])return s[i]}}return"1.0"}function lJ(t,e,r,n,s){return!r.sanitizeName||Na(t,{xmlVersion:s})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}function l0(t,e){let r="";e.format&&(r=Sge);let n=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let o=0;o<e.stopNodes.length;o++){let a=e.stopNodes[o];typeof a=="string"?n.push(new Vr(a)):a instanceof Vr&&n.push(a)}let s=Rge(t,e),i=new ws;return AJ(t,e,r,i,n,s)}function AJ(t,e,r,n,s,i){let o="",a=!1;if(e.maxNestedTags&&n.getDepth()>e.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let c=t.toString();return c=c0(c,e),c}return""}for(let c=0;c<t.length;c++){let l=t[c],A=A0(l);if(A===void 0)continue;let d=A===e.textNodeName||A===e.cdataPropName||A===e.commentPropName||A[0]==="?"?A:lJ(A,!1,e,n,i),m=Pge(l[":@"],e);n.push(d,m);let p=Dge(n,s);if(d===e.textNodeName){let C=l[A];p||(C=e.tagValueProcessor(d,C),C=c0(C,e)),a&&(o+=r),o+=C,a=!1,n.pop();continue}else if(d===e.cdataPropName){a&&(o+=r);let C=l[A][0][e.textNodeName],I=Lg(C);o+=`<![CDATA[${I}]]>`,a=!1,n.pop();continue}else if(d===e.commentPropName){let C=l[A][0][e.textNodeName],I=Mg(C);o+=r+`<!--${I}-->`,a=!0,n.pop();continue}else if(d[0]==="?"){let C=cJ(l[":@"],e,p,n,i);o+=(d==="?xml"?"":r)+`<${d}${C}?>`,a=!0,n.pop();continue}let f=r;f!==""&&(f+=e.indentBy);let E=cJ(l[":@"],e,p,n,i),g=r+`<${d}${E}`,y;p?y=uJ(l[A],e):y=AJ(l[A],e,f,n,s,i),e.unpairedTags.indexOf(d)!==-1?e.suppressUnpairedNode?o+=g+">":o+=g+"/>":(!y||y.length===0)&&e.suppressEmptyNode?o+=g+"/>":y&&y.endsWith(">")?o+=g+`>${y}${r}</${d}>`:(o+=g+">",y&&r!==""&&(y.includes("/>")||y.includes("</"))?o+=r+e.indentBy+y+r:o+=y,o+=`</${d}>`),a=!0,n.pop()}return o}function Pge(t,e){if(!t||e.ignoreAttributes)return null;let r={},n=!1;for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let i=s.startsWith(e.attributeNamePrefix)?s.substr(e.attributeNamePrefix.length):s;r[i]=xo(t[s]),n=!0}return n?r:null}function uJ(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=A0(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 o=vge(s[":@"],e),a=uJ(s[i],e);!a||a.length===0?r+=`<${i}${o}/>`:r+=`<${i}${o}>${a}</${i}>`}}}return r}function vge(t,e){let r="";if(t&&!e.ignoreAttributes)for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let s=t[n];s===!0&&e.suppressBooleanAttributes?r+=` ${n.substr(e.attributeNamePrefix.length)}`:r+=` ${n.substr(e.attributeNamePrefix.length)}="${xo(s)}"`}return r}function A0(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}}function cJ(t,e,r,n,s){let i="";if(t&&!e.ignoreAttributes)for(let o in t){if(!Object.prototype.hasOwnProperty.call(t,o))continue;let a=o.substr(e.attributeNamePrefix.length),c=r?a:lJ(a,!0,e,n,s),l;r?l=t[o]:(l=e.attributeValueProcessor(o,t[o]),l=c0(l,e)),l===!0&&e.suppressBooleanAttributes?i+=` ${c}`:i+=` ${c}="${xo(l)}"`}return i}function Dge(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}function c0(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}function u0(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}var kge={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},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 Er(t){if(this.options=Object.assign({},kge,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 Vr(r)):r instanceof Vr&&this.stopNodeExpressions.push(r)}this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=u0(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=_ge),this.processTextOrObjNode=Mge,this.options.format?(this.indentate=Lge,this.tagEndChar=`>
|
|
`,this.newLine=`
|
|
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function Tge(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"}function d0(t,e,r,n,s){return!r.sanitizeName||Na(t,{xmlVersion:s})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}Er.prototype.build=function(t){if(this.options.preserveOrder)return l0(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new ws,r=Tge(t,this.options);return this.j2x(t,0,e,r).val}};Er.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 o=this.options.jPath?r.toString():r,a=this.checkStopNode(r);for(let c in t){if(!Object.prototype.hasOwnProperty.call(t,c))continue;let A=c===this.options.textNodeName||c===this.options.cdataPropName||c===this.options.commentPropName||this.options.attributesGroupName&&c===this.options.attributesGroupName||this.isAttribute(c)||c[0]==="?"?c:d0(c,!1,this.options,r,n);if(typeof t[c]>"u")this.isAttribute(c)&&(i+="");else if(t[c]===null)this.isAttribute(c)||A===this.options.cdataPropName||A===this.options.commentPropName?i+="":A[0]==="?"?i+=this.indentate(e)+"<"+A+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+A+"/"+this.tagEndChar;else if(t[c]instanceof Date)i+=this.buildTextValNode(t[c],A,"",e,r);else if(typeof t[c]!="object"){let u=this.isAttribute(c);if(u&&!this.ignoreAttributesFn(u,o)){let d=d0(u,!0,this.options,r,n);s+=this.buildAttrPairStr(d,""+t[c],a)}else if(!u)if(c===this.options.textNodeName){let d=this.options.tagValueProcessor(c,""+t[c]);i+=this.replaceEntitiesValue(d)}else{r.push(A);let d=this.checkStopNode(r);if(r.pop(),d){let m=""+t[c];m===""?i+=this.indentate(e)+"<"+A+this.closeTag(A)+this.tagEndChar:i+=this.indentate(e)+"<"+A+">"+m+"</"+A+this.tagEndChar}else i+=this.buildTextValNode(t[c],A,"",e,r)}}else if(Array.isArray(t[c])){let u=t[c].length,d="",m="";for(let p=0;p<u;p++){let f=t[c][p];if(!(typeof f>"u"))if(f===null)A[0]==="?"?i+=this.indentate(e)+"<"+A+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+A+"/"+this.tagEndChar;else if(typeof f=="object")if(this.options.oneListGroup){r.push(A);let E=this.j2x(f,e+1,r,n);r.pop(),d+=E.val,this.options.attributesGroupName&&f.hasOwnProperty(this.options.attributesGroupName)&&(m+=E.attrStr)}else d+=this.processTextOrObjNode(f,A,e,r,n);else if(this.options.oneListGroup){let E=this.options.tagValueProcessor(A,f);E=this.replaceEntitiesValue(E),d+=E}else{r.push(A);let E=this.checkStopNode(r);if(r.pop(),E){let g=""+f;g===""?d+=this.indentate(e)+"<"+A+this.closeTag(A)+this.tagEndChar:d+=this.indentate(e)+"<"+A+">"+g+"</"+A+this.tagEndChar}else d+=this.buildTextValNode(f,A,"",e,r)}}this.options.oneListGroup&&(d=this.buildObjectNode(d,A,m,e)),i+=d}else if(this.options.attributesGroupName&&c===this.options.attributesGroupName){let u=Object.keys(t[c]),d=u.length;for(let m=0;m<d;m++){let p=d0(u[m],!0,this.options,r,n);s+=this.buildAttrPairStr(p,""+t[c][u[m]],a)}}else i+=this.processTextOrObjNode(t[c],A,e,r,n)}return{attrStr:s,val:i}};Er.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+'="'+xo(e)+'"'};function Mge(t,e,r,n,s){let i=this.extractAttributes(t);if(n.push(e,i),this.checkStopNode(n)){let c=this.buildRawContent(t),l=this.buildAttributesForStopNode(t);return n.pop(),this.buildObjectNode(c,e,l,r)}let a=this.j2x(t,r+1,n,s);return n.pop(),e[0]==="?"?this.buildTextValNode("",e,a.attrStr,r,n):t[this.options.textNodeName]!==void 0&&Object.keys(t).length===1?this.buildTextValNode(t[this.options.textNodeName],e,a.attrStr,r,n):this.buildObjectNode(a.val,e,a.attrStr,r)}Er.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]=xo(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]=xo(t[n]),r=!0)}return r?e:null};Er.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),o=this.buildAttributesForStopNode(s);i===""?e+=`<${r}${o}/>`:e+=`<${r}${o}>${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};Er.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};Er.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}};Er.prototype.closeTag=function(t){let e="";return this.options.unpairedTags.indexOf(t)!==-1?this.options.suppressUnpairedNode||(e="/"):this.options.suppressEmptyNode?e="/":e=`></${t}`,e};Er.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};Er.prototype.buildTextValNode=function(t,e,r,n,s){if(this.options.cdataPropName!==!1&&e===this.options.cdataPropName){let i=Lg(t);return this.indentate(n)+`<![CDATA[${i}]]>`+this.newLine}else if(this.options.commentPropName!==!1&&e===this.options.commentPropName){let i=Mg(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}}};Er.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 Lge(t){return this.options.indentBy.repeat(t)}function _ge(t){return t.startsWith(this.options.attributeNamePrefix)&&t!==this.options.textNodeName?t.substr(this.attrPrefixLen):!1}var m0=Er;var dJ={validate:vg};function hJ(t){var e;return{attributesGroupName:"$",textNodeName:(e=t.xmlCharKey)!==null&&e!==void 0?e:"_",ignoreAttributes:!1,suppressBooleanAttributes:!1}}function Fge(t={}){var e,r;return Object.assign(Object.assign({},hJ(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"})}function Uge(t={}){return Object.assign(Object.assign({},hJ(t)),{parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:t.stopNodes,processEntities:!0,trimValues:!1})}function _g(t,e={}){let r=Fge(e),n=new m0(r),s={[r.rootNodeName]:t};return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${n.build(s)}`.replace(/\n/g,"")}async function p0(t,e={}){if(!t)throw new Error("Document is empty");let r=dJ.validate(t);if(r!==!0)throw r;let s=new Rl(Uge(e)).parse(t);if(s["?xml"]&&delete s["?xml"],!e.includeRoot)for(let i of Object.keys(s)){let o=s[i];return typeof o=="object"?Object.assign({},o):o}return s}var Fg=Is("storage-blob");var yJ=require("events");var fJ=require("node:stream"),Ug=class extends fJ.Readable{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,o=Math.min(i,s);if(o>e-n){let a=this.byteOffsetInCurrentBuffer+e-n;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,a)),this.pushedBytesLength+=e-n,this.byteOffsetInCurrentBuffer=a,n=e;break}else{let a=this.byteOffsetInCurrentBuffer+o;r.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,a)),o===i?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=a,this.pushedBytesLength+=o,n+=o}}r.length>1?this.push(Buffer.concat(r)):r.length===1&&this.push(r[0])}};var gJ=B(require("node:buffer"),1),Og=gJ.default.constants.MAX_LENGTH,qg=class{buffers=[];capacity;_size;get size(){return this._size}constructor(e,r,n){this.capacity=e,this._size=0;let s=Math.ceil(e/Og);for(let i=0;i<s;i++){let o=i===s-1?e%Og:Og;o===0&&(o=Og),this.buffers.push(Buffer.allocUnsafe(o))}r&&this.fill(r,n)}fill(e,r){this._size=Math.min(this.capacity,r);let n=0,s=0,i=0,o=0,a=0;for(;a<this._size;){let c=e[n],l=this.buffers[s],A=c.copy(l,i,o);a+=A,o+=A,i+=A,o===c.length&&(n++,o=0),i===l.length&&(s++,i=0)}e.splice(0,n),e.length>0&&(e[0]=e[0].slice(o))}getReadableStream(){return new Ug(this.buffers,this.size)}};var Hg=class{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new yJ.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,r,n,s,i,o){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=o}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 qg(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else if(this.numBuffers<this.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 h0;function f0(){return h0||(h0=hd()),h0}var bs=class{_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 Qi={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}},X={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};function wo(t,e,r){let n=new URL(t),s=encodeURIComponent(e),i=r?encodeURIComponent(r):void 0,o=n.search===""?"?":n.search,a=[];for(let c of o.slice(1).split("&"))if(c){let[l]=c.split("=",2);l!==s&&a.push(c)}return i&&a.push(`${s}=${i}`),n.search=a.length?`?${a.join("&")}`:"",n.toString()}function zg(t,e){let r=new URL(t);return r.hostname=e,r.toString()}function Gg(t){try{return new URL(t).pathname}catch{return}}function Yg(t){let e=new URL(t).search;if(!e)return{};e=e.trim(),e=e.startsWith("?")?e.substring(1):e;let r=e.split("&");r=r.filter(s=>{let i=s.indexOf("="),o=s.lastIndexOf("=");return i>0&&i===o&&o<s.length-1});let n={};for(let s of r){let i=s.split("="),o=i[0],a=i[1];n[o]=a}return n}async function Vg(t,e,r){return new Promise((n,s)=>{let i,o=()=>{i!==void 0&&clearTimeout(i),s(r)};i=setTimeout(()=>{e!==void 0&&e.removeEventListener("abort",o),n()},t),e!==void 0&&e.addEventListener("abort",o)})}var Rd=class extends bs{constructor(e,r){super(e,r)}async sendRequest(e){return Ce?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()==="GET"||e.method.toUpperCase()==="HEAD")&&(e.url=wo(e.url,Qi.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(X.COOKIE),e.headers.remove(X.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}};var Pd=class{create(e,r){return new Rd(e,r)}};var Ra=class extends bs{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}};var vd=class extends Ra{constructor(e,r){super(e,r)}};var Pa=class{create(e,r){throw new Error("Method should be implemented in children classes.")}};var Ue=class extends Pa{create(e,r){return new vd(e,r)}};var EJ=require("node:crypto");var Oge=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]),qge=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]),Hge=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function Jg(t,e){return zge(t,e)?-1:1}function zge(t,e){let r=[Oge,qge,Hge],n=0,s=0,i=0;for(;n<r.length;){if(n===r.length-1&&s!==i)return s>i;let o=s<t.length?r[n][t[s].charCodeAt(0)]:1,a=i<e.length?r[n][e[i].charCodeAt(0)]:1;if(o===1&&a===1)s=0,i=0,++n;else if(o===a)++s,++i;else if(o===0)++s;else if(a===0)++i;else return o<a}return!1}var Dd=class extends Ra{factory;constructor(e,r,n){super(e,r),this.factory=n}signRequest(e){e.headers.set(X.X_MS_DATE,new Date().toUTCString()),e.body&&(typeof e.body=="string"||e.body!==void 0)&&e.body.length>0&&e.headers.set(X.CONTENT_LENGTH,Buffer.byteLength(e.body));let r=[e.method.toUpperCase(),this.getHeaderValueToSign(e,X.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,X.CONTENT_ENCODING),this.getHeaderValueToSign(e,X.CONTENT_LENGTH),this.getHeaderValueToSign(e,X.CONTENT_MD5),this.getHeaderValueToSign(e,X.CONTENT_TYPE),this.getHeaderValueToSign(e,X.DATE),this.getHeaderValueToSign(e,X.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,X.IF_MATCH),this.getHeaderValueToSign(e,X.IF_NONE_MATCH),this.getHeaderValueToSign(e,X.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,X.RANGE)].join(`
|
|
`)+`
|
|
`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),n=this.factory.computeHMACSHA256(r);return e.headers.set(X.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`),e}getHeaderValueToSign(e,r){let n=e.headers.get(r);return!n||r===X.CONTENT_LENGTH&&n==="0"?"":n}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(s=>s.name.toLowerCase().startsWith(X.PREFIX_FOR_STORAGE));r.sort((s,i)=>Jg(s.name.toLowerCase(),i.name.toLowerCase())),r=r.filter((s,i,o)=>!(i>0&&s.name.toLowerCase()===o[i-1].name.toLowerCase()));let n="";return r.forEach(s=>{n+=`${s.name.toLowerCase().trimRight()}:${s.value.trimLeft()}
|
|
`}),n}getCanonicalizedResourceString(e){let r=Gg(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let s=Yg(e.url),i={};if(s){let o=[];for(let a in s)if(Object.prototype.hasOwnProperty.call(s,a)){let c=a.toLowerCase();i[c]=s[a],o.push(c)}o.sort();for(let a of o)n+=`
|
|
${a}:${decodeURIComponent(i[a])}`}return n}};var Je=class extends Pa{accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new Dd(e,r,this)}computeHMACSHA256(e){return(0,EJ.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var gt=Is("storage-common");var gn;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(gn||(gn={}));var bo={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:gn.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Gge=new zr("The operation was aborted."),kd=class extends bs{retryOptions;constructor(e,r,n=bo){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:bo.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):bo.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:bo.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:bo.maxRetryDelayInMs):bo.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:bo.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:bo.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,n){let s=e.clone(),i=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||n%2===1;i||(s.url=zg(s.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(s.url=wo(s.url,Qi.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let o;try{if(gt.info(`RetryPolicy: =====> Try=${n} ${i?"Primary":"Secondary"}`),o=await this._nextPolicy.sendRequest(s),!this.shouldRetry(i,n,o))return o;r=r||!i&&o.status===404}catch(a){if(gt.error(`RetryPolicy: Caught error, message: ${a.message}, code: ${a.code}`),!this.shouldRetry(i,n,o,a))throw a}return await this.delay(i,n,e.abortSignal),this.attemptSendRequest(e,r,++n)}shouldRetry(e,r,n,s){if(r>=this.retryOptions.maxTries)return gt.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 o of i)if(s.name.toUpperCase().includes(o)||s.message.toUpperCase().includes(o)||s.code&&s.code.toString().toUpperCase()===o)return gt.info(`RetryPolicy: Network error ${o} found, will retry.`),!0}if(n||s){let o=n?n.status:s?s.statusCode:0;if(!e&&o===404)return gt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(o===503||o===500)return gt.info(`RetryPolicy: Will retry for status code ${o}.`),!0}if(n&&n?.status>=400){let o=n.headers.get(X.X_MS_CopySourceErrorCode);if(o!==void 0)switch(o){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return s?.code==="PARSE_ERROR"&&s?.message.startsWith('Error "Error: Unclosed root tag')?(gt.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 gn.EXPONENTIAL:s=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case gn.FIXED:s=this.retryOptions.retryDelayInMs;break}else s=Math.random()*1e3;return gt.info(`RetryPolicy: Delay for ${s}ms`),Vg(s,n,Gge)}};var Td=class{retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new kd(e,r,this.retryOptions)}};var Yge="storageBrowserPolicy";function CJ(){return{name:Yge,async sendRequest(t,e){return Ce||((t.method==="GET"||t.method==="HEAD")&&(t.url=wo(t.url,Qi.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(X.COOKIE),t.headers.delete(X.CONTENT_LENGTH)),e(t)}}}var Vge="StorageCorrectContentLengthPolicy";function IJ(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(X.CONTENT_LENGTH,Buffer.byteLength(e.body))}return{name:Vge,async sendRequest(e,r){return t(e),r(e)}}}var Jge="storageRetryPolicy",Pl={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:gn.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Wge=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],$ge=new zr("The operation was aborted.");function BJ(t={}){let e=t.retryPolicyType??Pl.retryPolicyType,r=t.maxTries??Pl.maxTries,n=t.retryDelayInMs??Pl.retryDelayInMs,s=t.maxRetryDelayInMs??Pl.maxRetryDelayInMs,i=t.secondaryHost??Pl.secondaryHost,o=t.tryTimeoutInMs??Pl.tryTimeoutInMs;function a({isPrimaryRetry:l,attempt:A,response:u,error:d}){if(A>=r)return gt.info(`RetryPolicy: Attempt(s) ${A} >= maxTries ${r}, no further try.`),!1;if(d){for(let m of Wge)if(d.name.toUpperCase().includes(m)||d.message.toUpperCase().includes(m)||d.code&&d.code.toString().toUpperCase()===m)return gt.info(`RetryPolicy: Network error ${m} found, will retry.`),!0;if(d?.code==="PARSE_ERROR"&&d?.message.startsWith('Error "Error: Unclosed root tag'))return gt.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(u||d){let m=u?.status??d?.statusCode??0;if(!l&&m===404)return gt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(m===503||m===500)return gt.info(`RetryPolicy: Will retry for status code ${m}.`),!0}if(u&&u?.status>=400){let m=u.headers.get(X.X_MS_CopySourceErrorCode);if(m!==void 0)switch(m){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}function c(l,A){let u=0;if(l)switch(e){case gn.EXPONENTIAL:u=Math.min((Math.pow(2,A-1)-1)*n,s);break;case gn.FIXED:u=n;break}else u=Math.random()*1e3;return gt.info(`RetryPolicy: Delay for ${u}ms`),u}return{name:Jge,async sendRequest(l,A){o&&(l.url=wo(l.url,Qi.Parameters.TIMEOUT,String(Math.floor(o/1e3))));let u=l.url,d=i?zg(l.url,i):void 0,m=!1,p=1,f=!0,E,g;for(;f;){let y=m||!d||!["GET","HEAD","OPTIONS"].includes(l.method)||p%2===1;l.url=y?u:d,E=void 0,g=void 0;try{gt.info(`RetryPolicy: =====> Try=${p} ${y?"Primary":"Secondary"}`),E=await A(l),m=m||!y&&E.status===404}catch(C){if(xa(C))gt.error(`RetryPolicy: Caught error, message: ${C.message}, code: ${C.code}`),g=C;else throw gt.error(`RetryPolicy: Caught error, message: ${Co(C)}`),C}f=a({isPrimaryRetry:y,attempt:p,response:E,error:g}),f&&await Vg(c(y,p),l.abortSignal,$ge),p++}if(E)return E;throw g??new Ci("RetryPolicy failed without known error.")}}}var QJ=require("node:crypto");var jge="storageSharedKeyCredentialPolicy";function g0(t){function e(i){i.headers.set(X.X_MS_DATE,new Date().toUTCString()),i.body&&(typeof i.body=="string"||Buffer.isBuffer(i.body))&&i.body.length>0&&i.headers.set(X.CONTENT_LENGTH,Buffer.byteLength(i.body));let o=[i.method.toUpperCase(),r(i,X.CONTENT_LANGUAGE),r(i,X.CONTENT_ENCODING),r(i,X.CONTENT_LENGTH),r(i,X.CONTENT_MD5),r(i,X.CONTENT_TYPE),r(i,X.DATE),r(i,X.IF_MODIFIED_SINCE),r(i,X.IF_MATCH),r(i,X.IF_NONE_MATCH),r(i,X.IF_UNMODIFIED_SINCE),r(i,X.RANGE)].join(`
|
|
`)+`
|
|
`+n(i)+s(i),a=(0,QJ.createHmac)("sha256",t.accountKey).update(o,"utf8").digest("base64");i.headers.set(X.AUTHORIZATION,`SharedKey ${t.accountName}:${a}`)}function r(i,o){let a=i.headers.get(o);return!a||o===X.CONTENT_LENGTH&&a==="0"?"":a}function n(i){let o=[];for(let[c,l]of i.headers)c.toLowerCase().startsWith(X.PREFIX_FOR_STORAGE)&&o.push({name:c,value:l});o.sort((c,l)=>Jg(c.name.toLowerCase(),l.name.toLowerCase())),o=o.filter((c,l,A)=>!(l>0&&c.name.toLowerCase()===A[l-1].name.toLowerCase()));let a="";return o.forEach(c=>{a+=`${c.name.toLowerCase().trimRight()}:${c.value.trimLeft()}
|
|
`}),a}function s(i){let o=Gg(i.url)||"/",a="";a+=`/${t.accountName}${o}`;let c=Yg(i.url),l={};if(c){let A=[];for(let u in c)if(Object.prototype.hasOwnProperty.call(c,u)){let d=u.toLowerCase();l[d]=c[u],A.push(d)}A.sort();for(let u of A)a+=`
|
|
${u}:${decodeURIComponent(l[u])}`}return a}return{name:jge,async sendRequest(i,o){return e(i),o(i)}}}var Kge="storageRequestFailureDetailsParserPolicy";function xJ(){return{name:Kge,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}}}}var wJ=require("node:crypto"),Wg=class{accountName;userDelegationKey;key;constructor(e,r){this.accountName=e,this.userDelegationKey=r,this.key=Buffer.from(r.value,"base64")}computeHMACSHA256(e){return(0,wJ.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var $g="12.31.0",jg="2026-02-06";var Kg="https://storage.azure.com/.default",xi={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var Hn="",y0="*",Xge=1*1024*1024;var Zge=4*Xge;var bJ="AES256",NJ="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",SJ=["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"],RJ=["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"],PJ="BlobUsesCustomerSpecifiedEncryption",vJ="BlobDoesNotUseCustomerSpecifiedEncryption",DJ=["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"}var Md=class{factories;options;constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};function ot(t,e={}){t||(t=new Ue);let r=new Md([],e);return r._credential=t,r}function eye(t){let e=[tye,kJ,rye,nye,sye,iye,aye];if(t.factories.length){let r=t.factories.filter(n=>!e.some(s=>s(n)));if(r.length){let n=r.some(s=>oye(s));return{wrappedPolicies:Jb(r),afterRetry:n}}}}function E0(t){let{httpClient:e,...r}=t.options,n=t._coreHttpClient;n||(n=e?Wb(e):f0(),t._coreHttpClient=n);let s=t._corePipeline;if(!s){let i=`azsdk-js-azure-storage-blob/${$g}`,o=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`;s=gd({...r,loggingOptions:{additionalAllowedHeaderNames:SJ,additionalAllowedQueryParameters:RJ,logger:Fg.info},userAgentOptions:{userAgentPrefix:o},serializationOptions:{stringifyXML:_g,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:p0,serializerOptions:{xml:{xmlCharKey:"#"}}}}),s.removePolicy({phase:"Retry"}),s.removePolicy({name:Qb}),s.addPolicy(IJ()),s.addPolicy(BJ(r.retryOptions),{phase:"Retry"}),s.addPolicy(xJ()),s.addPolicy(CJ());let a=eye(t);a&&s.addPolicy(a.wrappedPolicies,a.afterRetry?{afterPhase:"Retry"}:void 0);let c=C0(t);Gr(c)?s.addPolicy(xl({credential:c,scopes:r.audience??Kg,challengeCallbacks:{authorizeRequestOnChallenge:bg}}),{phase:"Sign"}):c instanceof Je&&s.addPolicy(g0({accountName:c.accountName,accountKey:c.accountKey}),{phase:"Sign"}),t._corePipeline=s}return{...r,allowInsecureConnection:!0,httpClient:n,pipeline:s}}function C0(t){if(t._credential)return t._credential;let e=new Ue;for(let r of t.factories)if(Gr(r.credential))e=r.credential;else if(kJ(r))return r;return e}function kJ(t){return t instanceof Je?!0:t.constructor.name==="StorageSharedKeyCredential"}function tye(t){return t instanceof Ue?!0:t.constructor.name==="AnonymousCredential"}function rye(t){return Gr(t.credential)}function nye(t){return t instanceof Pd?!0:t.constructor.name==="StorageBrowserPolicyFactory"}function sye(t){return t instanceof Td?!0:t.constructor.name==="StorageRetryPolicyFactory"}function iye(t){return t.constructor.name==="TelemetryPolicyFactory"}function oye(t){return t.constructor.name==="InjectorPolicyFactory"}function aye(t){let e=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"],r={sendRequest:async o=>({request:o,headers:o.headers.clone(),status:500})},n={log(o,a){},shouldLog(o){return!1}},i=t.create(r,n).constructor.name;return e.some(o=>i.startsWith(o))}var TJ;(function(t){t.AES256="AES256"})(TJ||(TJ={}));var MJ;(function(t){t.Backup="backup"})(MJ||(MJ={}));var LJ;(function(t){t.NeverExpire="NeverExpire",t.RelativeToCreation="RelativeToCreation",t.RelativeToNow="RelativeToNow",t.Absolute="Absolute"})(LJ||(LJ={}));var _J;(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"})(_J||(_J={}));var Jr={};N5(Jr,{AccessPolicy:()=>Eye,AppendBlobAppendBlockExceptionHeaders:()=>OS,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>HS,AppendBlobAppendBlockFromUrlHeaders:()=>qS,AppendBlobAppendBlockHeaders:()=>US,AppendBlobCreateExceptionHeaders:()=>FS,AppendBlobCreateHeaders:()=>_S,AppendBlobSealExceptionHeaders:()=>GS,AppendBlobSealHeaders:()=>zS,ArrowConfiguration:()=>kye,ArrowField:()=>Tye,BlobAbortCopyFromURLExceptionHeaders:()=>AS,BlobAbortCopyFromURLHeaders:()=>lS,BlobAcquireLeaseExceptionHeaders:()=>WN,BlobAcquireLeaseHeaders:()=>JN,BlobBreakLeaseExceptionHeaders:()=>rS,BlobBreakLeaseHeaders:()=>tS,BlobChangeLeaseExceptionHeaders:()=>eS,BlobChangeLeaseHeaders:()=>ZN,BlobCopyFromURLExceptionHeaders:()=>cS,BlobCopyFromURLHeaders:()=>aS,BlobCreateSnapshotExceptionHeaders:()=>sS,BlobCreateSnapshotHeaders:()=>nS,BlobDeleteExceptionHeaders:()=>DN,BlobDeleteHeaders:()=>vN,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>HN,BlobDeleteImmutabilityPolicyHeaders:()=>qN,BlobDownloadExceptionHeaders:()=>SN,BlobDownloadHeaders:()=>Zg,BlobFlatListSegment:()=>Cye,BlobGetAccountInfoExceptionHeaders:()=>mS,BlobGetAccountInfoHeaders:()=>dS,BlobGetPropertiesExceptionHeaders:()=>PN,BlobGetPropertiesHeaders:()=>RN,BlobGetTagsExceptionHeaders:()=>fS,BlobGetTagsHeaders:()=>hS,BlobHierarchyListSegment:()=>xye,BlobItemInternal:()=>Iye,BlobName:()=>Bye,BlobPrefix:()=>wye,BlobPropertiesInternal:()=>Qye,BlobQueryExceptionHeaders:()=>pS,BlobQueryHeaders:()=>ty,BlobReleaseLeaseExceptionHeaders:()=>jN,BlobReleaseLeaseHeaders:()=>$N,BlobRenewLeaseExceptionHeaders:()=>XN,BlobRenewLeaseHeaders:()=>KN,BlobServiceProperties:()=>Ld,BlobServiceStatistics:()=>I0,BlobSetExpiryExceptionHeaders:()=>LN,BlobSetExpiryHeaders:()=>MN,BlobSetHttpHeadersExceptionHeaders:()=>FN,BlobSetHttpHeadersHeaders:()=>_N,BlobSetImmutabilityPolicyExceptionHeaders:()=>ON,BlobSetImmutabilityPolicyHeaders:()=>UN,BlobSetLegalHoldExceptionHeaders:()=>GN,BlobSetLegalHoldHeaders:()=>zN,BlobSetMetadataExceptionHeaders:()=>VN,BlobSetMetadataHeaders:()=>YN,BlobSetTagsExceptionHeaders:()=>yS,BlobSetTagsHeaders:()=>gS,BlobSetTierExceptionHeaders:()=>uS,BlobSetTierHeaders:()=>ey,BlobStartCopyFromURLExceptionHeaders:()=>oS,BlobStartCopyFromURLHeaders:()=>iS,BlobTag:()=>gye,BlobTags:()=>Fd,BlobUndeleteExceptionHeaders:()=>TN,BlobUndeleteHeaders:()=>kN,Block:()=>bye,BlockBlobCommitBlockListExceptionHeaders:()=>eR,BlockBlobCommitBlockListHeaders:()=>ZS,BlockBlobGetBlockListExceptionHeaders:()=>rR,BlockBlobGetBlockListHeaders:()=>tR,BlockBlobPutBlobFromUrlExceptionHeaders:()=>WS,BlockBlobPutBlobFromUrlHeaders:()=>JS,BlockBlobStageBlockExceptionHeaders:()=>jS,BlockBlobStageBlockFromURLExceptionHeaders:()=>XS,BlockBlobStageBlockFromURLHeaders:()=>KS,BlockBlobStageBlockHeaders:()=>$S,BlockBlobUploadExceptionHeaders:()=>VS,BlockBlobUploadHeaders:()=>YS,BlockList:()=>S0,BlockLookupList:()=>N0,ClearRange:()=>Sye,ContainerAcquireLeaseExceptionHeaders:()=>mN,ContainerAcquireLeaseHeaders:()=>dN,ContainerBreakLeaseExceptionHeaders:()=>EN,ContainerBreakLeaseHeaders:()=>yN,ContainerChangeLeaseExceptionHeaders:()=>IN,ContainerChangeLeaseHeaders:()=>CN,ContainerCreateExceptionHeaders:()=>J0,ContainerCreateHeaders:()=>V0,ContainerDeleteExceptionHeaders:()=>K0,ContainerDeleteHeaders:()=>j0,ContainerFilterBlobsExceptionHeaders:()=>uN,ContainerFilterBlobsHeaders:()=>AN,ContainerGetAccessPolicyExceptionHeaders:()=>tN,ContainerGetAccessPolicyHeaders:()=>eN,ContainerGetAccountInfoExceptionHeaders:()=>NN,ContainerGetAccountInfoHeaders:()=>bN,ContainerGetPropertiesExceptionHeaders:()=>$0,ContainerGetPropertiesHeaders:()=>W0,ContainerItem:()=>pye,ContainerListBlobFlatSegmentExceptionHeaders:()=>QN,ContainerListBlobFlatSegmentHeaders:()=>BN,ContainerListBlobHierarchySegmentExceptionHeaders:()=>wN,ContainerListBlobHierarchySegmentHeaders:()=>xN,ContainerProperties:()=>hye,ContainerReleaseLeaseExceptionHeaders:()=>hN,ContainerReleaseLeaseHeaders:()=>pN,ContainerRenameExceptionHeaders:()=>aN,ContainerRenameHeaders:()=>oN,ContainerRenewLeaseExceptionHeaders:()=>gN,ContainerRenewLeaseHeaders:()=>fN,ContainerRestoreExceptionHeaders:()=>iN,ContainerRestoreHeaders:()=>sN,ContainerSetAccessPolicyExceptionHeaders:()=>nN,ContainerSetAccessPolicyHeaders:()=>rN,ContainerSetMetadataExceptionHeaders:()=>Z0,ContainerSetMetadataHeaders:()=>X0,ContainerSubmitBatchExceptionHeaders:()=>lN,ContainerSubmitBatchHeaders:()=>cN,CorsRule:()=>uye,DelimitedTextConfiguration:()=>vye,FilterBlobItem:()=>fye,FilterBlobSegment:()=>_d,GeoReplication:()=>mye,JsonTextConfiguration:()=>Dye,KeyInfo:()=>Q0,ListBlobsFlatSegmentResponse:()=>w0,ListBlobsHierarchySegmentResponse:()=>b0,ListContainersSegmentResponse:()=>B0,Logging:()=>cye,Metrics:()=>Aye,PageBlobClearPagesExceptionHeaders:()=>xS,PageBlobClearPagesHeaders:()=>QS,PageBlobCopyIncrementalExceptionHeaders:()=>LS,PageBlobCopyIncrementalHeaders:()=>MS,PageBlobCreateExceptionHeaders:()=>CS,PageBlobCreateHeaders:()=>ES,PageBlobGetPageRangesDiffExceptionHeaders:()=>PS,PageBlobGetPageRangesDiffHeaders:()=>RS,PageBlobGetPageRangesExceptionHeaders:()=>SS,PageBlobGetPageRangesHeaders:()=>NS,PageBlobResizeExceptionHeaders:()=>DS,PageBlobResizeHeaders:()=>vS,PageBlobUpdateSequenceNumberExceptionHeaders:()=>TS,PageBlobUpdateSequenceNumberHeaders:()=>kS,PageBlobUploadPagesExceptionHeaders:()=>BS,PageBlobUploadPagesFromURLExceptionHeaders:()=>bS,PageBlobUploadPagesFromURLHeaders:()=>wS,PageBlobUploadPagesHeaders:()=>IS,PageList:()=>Xg,PageRange:()=>Nye,QueryFormat:()=>Pye,QueryRequest:()=>R0,QuerySerialization:()=>Rye,RetentionPolicy:()=>lye,ServiceFilterBlobsExceptionHeaders:()=>Y0,ServiceFilterBlobsHeaders:()=>G0,ServiceGetAccountInfoExceptionHeaders:()=>q0,ServiceGetAccountInfoHeaders:()=>O0,ServiceGetPropertiesExceptionHeaders:()=>k0,ServiceGetPropertiesHeaders:()=>D0,ServiceGetStatisticsExceptionHeaders:()=>M0,ServiceGetStatisticsHeaders:()=>T0,ServiceGetUserDelegationKeyExceptionHeaders:()=>U0,ServiceGetUserDelegationKeyHeaders:()=>F0,ServiceListContainersSegmentExceptionHeaders:()=>_0,ServiceListContainersSegmentHeaders:()=>L0,ServiceSetPropertiesExceptionHeaders:()=>v0,ServiceSetPropertiesHeaders:()=>P0,ServiceSubmitBatchExceptionHeaders:()=>z0,ServiceSubmitBatchHeaders:()=>H0,SignedIdentifier:()=>yye,StaticWebsite:()=>dye,StorageError:()=>b,UserDelegationKey:()=>x0});var Ld={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"}}}}},cye={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"}}}}},lye={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"}}}}},Aye={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"}}}}},uye={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"}}}}},dye={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"}}}}},b={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"}}}}},I0={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},mye={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"}}}}},B0={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"}}}}},pye={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"}}}}}}},hye={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"}}}}},Q0={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"}}}}},x0={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"}}}}},_d={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"}}}}},fye={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"}}}}},Fd={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"}}}}}}},gye={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"}}}}},yye={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"}}}}},Eye={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"}}}}},w0={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"}}}}},Cye={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"}}}}}}},Iye={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"}}}}},Bye={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"}}}}},Qye={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"}}}}},b0={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"}}}}},xye={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"}}}}}}},wye={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},N0={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"}}}}}}},S0={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"}}}}}}},bye={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:!0,xmlName:"Size",type:{name:"Number"}}}}},Xg={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Nye={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"}}}}},Sye={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"}}}}},R0={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"}}}}},Rye={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},Pye={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"}}}}}}},vye={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"}}}}},Dye={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},kye={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"}}}}}}},Tye={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"}}}}},P0={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"}}}}},v0={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},D0={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"}}}}},k0={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},T0={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"}}}}},M0={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},L0={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"}}}}},_0={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},F0={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"}}}}},U0={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},O0={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"}}}}},q0={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},H0={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"}}}}},z0={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},G0={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"}}}}},Y0={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},V0={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"}}}}},J0={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},W0={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"}}}}},$0={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},j0={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"}}}}},K0={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},X0={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"}}}}},Z0={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},eN={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"}}}}},tN={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},rN={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"}}}}},nN={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sN={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"}}}}},iN={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oN={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"}}}}},aN={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},cN={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"}}}}},lN={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AN={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},uN={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dN={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"}}}}},mN={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},pN={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"}}}}},hN={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fN={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"}}}}},gN={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yN={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"}}}}},EN={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},CN={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"}}}}},IN={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BN={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"}}}}},QN={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xN={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wN={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bN={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"}}}}},NN={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Zg={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},SN={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RN={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"}}}}},PN={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vN={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"}}}}},DN={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kN={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"}}}}},TN={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MN={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"}}}}},LN={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_N={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"}}}}},FN={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},UN={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"]}}}}},ON={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qN={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"}}}}},HN={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},zN={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"}}}}},GN={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},YN={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"}}}}},VN={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JN={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"}}}}},WN={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},$N={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"}}}}},jN={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},KN={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"}}}}},XN={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ZN={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"}}}}},eS={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},tS={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"}}}}},rS={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},nS={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"}}}}},sS={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},iS={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"}}}}},oS={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"}}}}},aS={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"}}}}},cS={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"}}}}},lS={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"}}}}},AS={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ey={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},uS={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},dS={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"}}}}},mS={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ty={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},pS={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},hS={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"}}}}},fS={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},gS={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"}}}}},yS={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ES={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"}}}}},CS={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},IS={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"}}}}},BS={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QS={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},xS={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wS={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"}}}}},bS={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"}}}}},NS={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"}}}}},SS={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},RS={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"}}}}},PS={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},vS={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"}}}}},DS={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},kS={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"}}}}},TS={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},MS={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"}}}}},LS={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},_S={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"}}}}},FS={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},US={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"}}}}},OS={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},qS={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"}}}}},HS={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"}}}}},zS={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"}}}}},GS={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},YS={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"}}}}},VS={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},JS={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"}}}}},WS={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"}}}}},jS={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},KS={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"}}}}},XS={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"}}}}},ZS={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"}}}}},eR={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},tR={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"}}}}},rR={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"}}},FJ={parameterPath:"blobServiceProperties",mapper:Ld},yn={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},S={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},Ud={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},En={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},R={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},P={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},v={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},U={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},UJ={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Od={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},qd={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"}}},OJ={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},qJ={parameterPath:"keyInfo",mapper:Q0},HJ={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}},vl={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},ry={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},ny={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bt={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},sy={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},iy={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},oy={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},Nt={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},zt={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},nR={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},zJ={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},GJ={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}},oe={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},ne={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},se={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},ay={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},sR={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},YJ={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},cy={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},VJ={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},JJ={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}},WJ={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}},$J={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},jJ={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}},Cn={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},ly={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Ay={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},uy={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},dy={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},No={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},my={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},py={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},hy={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},fy={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},gy={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},iR={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"},oR={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},KJ={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}},rr={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},Ps={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},va={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},XJ={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},ZJ={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},We={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},$e={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},je={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},pe={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},he={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},le={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},e3={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},t3={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}},r3={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}},n3={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},s3={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"}}},aR={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},zn={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},Gn={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},i3={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}},o3={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"}}},a3={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bi={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"]}}},cR={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},_s={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},Fs={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"}}},yy={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},Da={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},Yn={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},c3={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"}}},l3={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},Ni={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},Si={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},Ey={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},Ri={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},A3={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},u3={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}},d3={parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}},m3={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}},p3={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"]}}},h3={parameterPath:["options","queryRequest"],mapper:R0},f3={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lR={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},AR={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},uR={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},dR={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},mR={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},g3={parameterPath:["options","tags"],mapper:Fd},In={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"}}},y3={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},pR={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},hR={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},ka={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Ta={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},Ma={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"}}},fR={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Iy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},By={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},Qy={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},E3={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Dl={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},C3={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},kl={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},I3={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},gR={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},B3={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}},Q3={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}},x3={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}},w3={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},b3={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},yR={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},ER={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},xy={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},wy={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},N3={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}},CR={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},S3={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}},IR={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},BR={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},R3={parameterPath:"blocks",mapper:N0},QR={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},P3={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}};var by=class{client;constructor(e){this.client=e}setProperties(e,r){return this.client.sendOperationRequest({blobServiceProperties:e,options:r},Mye)}getProperties(e){return this.client.sendOperationRequest({options:e},Lye)}getStatistics(e){return this.client.sendOperationRequest({options:e},_ye)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},Fye)}getUserDelegationKey(e,r){return this.client.sendOperationRequest({keyInfo:e,options:r},Uye)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Oye)}submitBatch(e,r,n,s){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:s},qye)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Hye)}},So=Yr(Jr,!0),Mye={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:P0},default:{bodyMapper:b,headersMapper:v0}},requestBody:FJ,queryParameters:[Ud,En,R],urlParameters:[S],headerParameters:[Ns,yn,P,v],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:So},Lye={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Ld,headersMapper:D0},default:{bodyMapper:b,headersMapper:k0}},queryParameters:[Ud,En,R],urlParameters:[S],headerParameters:[P,v,U],isXML:!0,serializer:So},_ye={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:I0,headersMapper:T0},default:{bodyMapper:b,headersMapper:M0}},queryParameters:[Ud,R,UJ],urlParameters:[S],headerParameters:[P,v,U],isXML:!0,serializer:So},Fye={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:B0,headersMapper:L0},default:{bodyMapper:b,headersMapper:_0}},queryParameters:[R,Od,qd,Ss,Rs,OJ],urlParameters:[S],headerParameters:[P,v,U],isXML:!0,serializer:So},Uye={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:x0,headersMapper:F0},default:{bodyMapper:b,headersMapper:U0}},requestBody:qJ,queryParameters:[Ud,R,HJ],urlParameters:[S],headerParameters:[Ns,yn,P,v],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:So},Oye={path:"/",httpMethod:"GET",responses:{200:{headersMapper:O0},default:{bodyMapper:b,headersMapper:q0}},queryParameters:[En,R,vl],urlParameters:[S],headerParameters:[P,v,U],isXML:!0,serializer:So},qye={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:H0},default:{bodyMapper:b,headersMapper:z0}},requestBody:ry,queryParameters:[R,ny],urlParameters:[S],headerParameters:[yn,P,v,bt,sy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:So},Hye={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:_d,headersMapper:G0},default:{bodyMapper:b,headersMapper:Y0}},queryParameters:[R,Ss,Rs,iy,oy],urlParameters:[S],headerParameters:[P,v,U],isXML:!0,serializer:So};var Ny=class{client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},zye)}getProperties(e){return this.client.sendOperationRequest({options:e},Gye)}delete(e){return this.client.sendOperationRequest({options:e},Yye)}setMetadata(e){return this.client.sendOperationRequest({options:e},Vye)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},Jye)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},Wye)}restore(e){return this.client.sendOperationRequest({options:e},$ye)}rename(e,r){return this.client.sendOperationRequest({sourceContainerName:e,options:r},jye)}submitBatch(e,r,n,s){return this.client.sendOperationRequest({contentLength:e,multipartContentType:r,body:n,options:s},Kye)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Xye)}acquireLease(e){return this.client.sendOperationRequest({options:e},Zye)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},eEe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},tEe)}breakLease(e){return this.client.sendOperationRequest({options:e},rEe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},nEe)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},sEe)}listBlobHierarchySegment(e,r){return this.client.sendOperationRequest({delimiter:e,options:r},iEe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},oEe)}},St=Yr(Jr,!0),zye={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:V0},default:{bodyMapper:b,headersMapper:J0}},queryParameters:[R,Nt],urlParameters:[S],headerParameters:[P,v,U,zt,nR,zJ,GJ],isXML:!0,serializer:St},Gye={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:W0},default:{bodyMapper:b,headersMapper:$0}},queryParameters:[R,Nt],urlParameters:[S],headerParameters:[P,v,U,oe],isXML:!0,serializer:St},Yye={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:j0},default:{bodyMapper:b,headersMapper:K0}},queryParameters:[R,Nt],urlParameters:[S],headerParameters:[P,v,U,oe,ne,se],isXML:!0,serializer:St},Vye={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:X0},default:{bodyMapper:b,headersMapper:Z0}},queryParameters:[R,Nt,ay],urlParameters:[S],headerParameters:[P,v,U,zt,oe,ne],isXML:!0,serializer:St},Jye={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:eN},default:{bodyMapper:b,headersMapper:tN}},queryParameters:[R,Nt,sR],urlParameters:[S],headerParameters:[P,v,U,oe],isXML:!0,serializer:St},Wye={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:rN},default:{bodyMapper:b,headersMapper:nN}},requestBody:YJ,queryParameters:[R,Nt,sR],urlParameters:[S],headerParameters:[Ns,yn,P,v,nR,oe,ne,se],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:St},$ye={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:sN},default:{bodyMapper:b,headersMapper:iN}},queryParameters:[R,Nt,cy],urlParameters:[S],headerParameters:[P,v,U,VJ,JJ],isXML:!0,serializer:St},jye={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:oN},default:{bodyMapper:b,headersMapper:aN}},queryParameters:[R,Nt,WJ],urlParameters:[S],headerParameters:[P,v,U,$J,jJ],isXML:!0,serializer:St},Kye={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:cN},default:{bodyMapper:b,headersMapper:lN}},requestBody:ry,queryParameters:[R,ny,Nt],urlParameters:[S],headerParameters:[yn,P,v,bt,sy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:St},Xye={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:_d,headersMapper:AN},default:{bodyMapper:b,headersMapper:uN}},queryParameters:[R,Ss,Rs,iy,oy,Nt],urlParameters:[S],headerParameters:[P,v,U],isXML:!0,serializer:St},Zye={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:dN},default:{bodyMapper:b,headersMapper:mN}},queryParameters:[R,Nt,Cn],urlParameters:[S],headerParameters:[P,v,U,ne,se,ly,Ay,uy],isXML:!0,serializer:St},eEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:pN},default:{bodyMapper:b,headersMapper:hN}},queryParameters:[R,Nt,Cn],urlParameters:[S],headerParameters:[P,v,U,ne,se,dy,No],isXML:!0,serializer:St},tEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:fN},default:{bodyMapper:b,headersMapper:gN}},queryParameters:[R,Nt,Cn],urlParameters:[S],headerParameters:[P,v,U,ne,se,No,my],isXML:!0,serializer:St},rEe={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:yN},default:{bodyMapper:b,headersMapper:EN}},queryParameters:[R,Nt,Cn],urlParameters:[S],headerParameters:[P,v,U,ne,se,py,hy],isXML:!0,serializer:St},nEe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:CN},default:{bodyMapper:b,headersMapper:IN}},queryParameters:[R,Nt,Cn],urlParameters:[S],headerParameters:[P,v,U,ne,se,No,fy,gy],isXML:!0,serializer:St},sEe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:w0,headersMapper:BN},default:{bodyMapper:b,headersMapper:QN}},queryParameters:[R,Od,qd,Ss,Rs,Nt,iR,oR],urlParameters:[S],headerParameters:[P,v,U],isXML:!0,serializer:St},iEe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:b0,headersMapper:xN},default:{bodyMapper:b,headersMapper:wN}},queryParameters:[R,Od,qd,Ss,Rs,Nt,iR,oR,KJ],urlParameters:[S],headerParameters:[P,v,U],isXML:!0,serializer:St},oEe={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:bN},default:{bodyMapper:b,headersMapper:NN}},queryParameters:[En,R,vl],urlParameters:[S],headerParameters:[P,v,U],isXML:!0,serializer:St};var Sy=class{client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},aEe)}getProperties(e){return this.client.sendOperationRequest({options:e},cEe)}delete(e){return this.client.sendOperationRequest({options:e},lEe)}undelete(e){return this.client.sendOperationRequest({options:e},AEe)}setExpiry(e,r){return this.client.sendOperationRequest({expiryOptions:e,options:r},uEe)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},dEe)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},mEe)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},pEe)}setLegalHold(e,r){return this.client.sendOperationRequest({legalHold:e,options:r},hEe)}setMetadata(e){return this.client.sendOperationRequest({options:e},fEe)}acquireLease(e){return this.client.sendOperationRequest({options:e},gEe)}releaseLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},yEe)}renewLease(e,r){return this.client.sendOperationRequest({leaseId:e,options:r},EEe)}changeLease(e,r,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:r,options:n},CEe)}breakLease(e){return this.client.sendOperationRequest({options:e},IEe)}createSnapshot(e){return this.client.sendOperationRequest({options:e},BEe)}startCopyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},QEe)}copyFromURL(e,r){return this.client.sendOperationRequest({copySource:e,options:r},xEe)}abortCopyFromURL(e,r){return this.client.sendOperationRequest({copyId:e,options:r},wEe)}setTier(e,r){return this.client.sendOperationRequest({tier:e,options:r},bEe)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},NEe)}query(e){return this.client.sendOperationRequest({options:e},SEe)}getTags(e){return this.client.sendOperationRequest({options:e},REe)}setTags(e){return this.client.sendOperationRequest({options:e},PEe)}},Oe=Yr(Jr,!0),aEe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Zg},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Zg},default:{bodyMapper:b,headersMapper:SN}},queryParameters:[R,rr,Ps],urlParameters:[S],headerParameters:[P,v,U,oe,ne,se,va,XJ,ZJ,We,$e,je,pe,he,le],isXML:!0,serializer:Oe},cEe={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:RN},default:{bodyMapper:b,headersMapper:PN}},queryParameters:[R,rr,Ps],urlParameters:[S],headerParameters:[P,v,U,oe,ne,se,We,$e,je,pe,he,le],isXML:!0,serializer:Oe},lEe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:vN},default:{bodyMapper:b,headersMapper:DN}},queryParameters:[R,rr,Ps,t3],urlParameters:[S],headerParameters:[P,v,U,oe,ne,se,pe,he,le,e3],isXML:!0,serializer:Oe},AEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:kN},default:{bodyMapper:b,headersMapper:TN}},queryParameters:[R,cy],urlParameters:[S],headerParameters:[P,v,U],isXML:!0,serializer:Oe},uEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:MN},default:{bodyMapper:b,headersMapper:LN}},queryParameters:[R,r3],urlParameters:[S],headerParameters:[P,v,U,n3,s3],isXML:!0,serializer:Oe},dEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:_N},default:{bodyMapper:b,headersMapper:FN}},queryParameters:[En,R],urlParameters:[S],headerParameters:[P,v,U,oe,ne,se,pe,he,le,vs,Ds,ks,Ts,Ms,Ls],isXML:!0,serializer:Oe},mEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:UN},default:{bodyMapper:b,headersMapper:ON}},queryParameters:[R,rr,Ps,aR],urlParameters:[S],headerParameters:[P,v,U,se,zn,Gn],isXML:!0,serializer:Oe},pEe={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:qN},default:{bodyMapper:b,headersMapper:HN}},queryParameters:[R,rr,Ps,aR],urlParameters:[S],headerParameters:[P,v,U],isXML:!0,serializer:Oe},hEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:zN},default:{bodyMapper:b,headersMapper:GN}},queryParameters:[R,rr,Ps,i3],urlParameters:[S],headerParameters:[P,v,U,o3],isXML:!0,serializer:Oe},fEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:YN},default:{bodyMapper:b,headersMapper:VN}},queryParameters:[R,ay],urlParameters:[S],headerParameters:[P,v,U,zt,oe,ne,se,We,$e,je,pe,he,le,pt],isXML:!0,serializer:Oe},gEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:JN},default:{bodyMapper:b,headersMapper:WN}},queryParameters:[R,Cn],urlParameters:[S],headerParameters:[P,v,U,ne,se,ly,Ay,uy,pe,he,le],isXML:!0,serializer:Oe},yEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:$N},default:{bodyMapper:b,headersMapper:jN}},queryParameters:[R,Cn],urlParameters:[S],headerParameters:[P,v,U,ne,se,dy,No,pe,he,le],isXML:!0,serializer:Oe},EEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:KN},default:{bodyMapper:b,headersMapper:XN}},queryParameters:[R,Cn],urlParameters:[S],headerParameters:[P,v,U,ne,se,No,my,pe,he,le],isXML:!0,serializer:Oe},CEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ZN},default:{bodyMapper:b,headersMapper:eS}},queryParameters:[R,Cn],urlParameters:[S],headerParameters:[P,v,U,ne,se,No,fy,gy,pe,he,le],isXML:!0,serializer:Oe},IEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:tS},default:{bodyMapper:b,headersMapper:rS}},queryParameters:[R,Cn],urlParameters:[S],headerParameters:[P,v,U,ne,se,py,hy,pe,he,le],isXML:!0,serializer:Oe},BEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:nS},default:{bodyMapper:b,headersMapper:sS}},queryParameters:[R,a3],urlParameters:[S],headerParameters:[P,v,U,zt,oe,ne,se,We,$e,je,pe,he,le,pt],isXML:!0,serializer:Oe},QEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:iS},default:{bodyMapper:b,headersMapper:oS}},queryParameters:[R],urlParameters:[S],headerParameters:[P,v,U,zt,oe,ne,se,pe,he,le,zn,Gn,bi,cR,_s,Fs,Us,Os,yy,Da,Yn,c3,qs],isXML:!0,serializer:Oe},xEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:aS},default:{bodyMapper:b,headersMapper:cS}},queryParameters:[R],urlParameters:[S],headerParameters:[P,v,U,zt,oe,ne,se,pe,he,le,zn,Gn,pt,bi,_s,Fs,Us,Os,Da,Yn,qs,l3,Ni,Si,Ey,Ri],isXML:!0,serializer:Oe},wEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:lS},default:{bodyMapper:b,headersMapper:AS}},queryParameters:[R,A3,d3],urlParameters:[S],headerParameters:[P,v,U,oe,u3],isXML:!0,serializer:Oe},bEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ey},202:{headersMapper:ey},default:{bodyMapper:b,headersMapper:uS}},queryParameters:[R,rr,Ps,m3],urlParameters:[S],headerParameters:[P,v,U,oe,le,cR,p3],isXML:!0,serializer:Oe},NEe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:dS},default:{bodyMapper:b,headersMapper:mS}},queryParameters:[En,R,vl],urlParameters:[S],headerParameters:[P,v,U],isXML:!0,serializer:Oe},SEe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ty},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:ty},default:{bodyMapper:b,headersMapper:pS}},requestBody:h3,queryParameters:[R,rr,f3],urlParameters:[S],headerParameters:[Ns,yn,P,v,oe,ne,se,We,$e,je,pe,he,le],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Oe},REe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Fd,headersMapper:hS},default:{bodyMapper:b,headersMapper:fS}},queryParameters:[R,rr,Ps,lR],urlParameters:[S],headerParameters:[P,v,U,oe,le,AR,uR,dR,mR],isXML:!0,serializer:Oe},PEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:gS},default:{bodyMapper:b,headersMapper:yS}},requestBody:g3,queryParameters:[R,Ps,lR],urlParameters:[S],headerParameters:[Ns,yn,P,v,oe,le,AR,uR,dR,mR,In,Hs],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Oe};var Ry=class{client;constructor(e){this.client=e}create(e,r,n){return this.client.sendOperationRequest({contentLength:e,blobContentLength:r,options:n},vEe)}uploadPages(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},DEe)}clearPages(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},kEe)}uploadPagesFromURL(e,r,n,s,i){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:r,contentLength:n,range:s,options:i},TEe)}getPageRanges(e){return this.client.sendOperationRequest({options:e},MEe)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},LEe)}resize(e,r){return this.client.sendOperationRequest({blobContentLength:e,options:r},_Ee)}updateSequenceNumber(e,r){return this.client.sendOperationRequest({sequenceNumberAction:e,options:r},FEe)}copyIncremental(e,r){return this.client.sendOperationRequest({copySource:e,options:r},UEe)}},Pi=Yr(Jr,!0),vEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ES},default:{bodyMapper:b,headersMapper:CS}},queryParameters:[R],urlParameters:[S],headerParameters:[P,v,U,bt,zt,oe,ne,se,We,$e,je,pe,he,le,vs,Ds,ks,Ts,Ms,Ls,zn,Gn,pt,bi,Yn,qs,y3,pR,hR],isXML:!0,serializer:Pi},DEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:IS},default:{bodyMapper:b,headersMapper:BS}},requestBody:Ta,queryParameters:[R,Cy],urlParameters:[S],headerParameters:[P,v,bt,oe,ne,se,va,We,$e,je,pe,he,le,pt,In,Hs,ka,Ma,fR,Iy,By,Qy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Pi},kEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:QS},default:{bodyMapper:b,headersMapper:xS}},queryParameters:[R,Cy],urlParameters:[S],headerParameters:[P,v,U,bt,oe,ne,se,va,We,$e,je,pe,he,le,pt,Iy,By,Qy,E3],isXML:!0,serializer:Pi},TEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wS},default:{bodyMapper:b,headersMapper:bS}},queryParameters:[R,Cy],urlParameters:[S],headerParameters:[P,v,U,bt,oe,ne,se,We,$e,je,pe,he,le,pt,_s,Fs,Us,Os,Ni,Si,Ri,fR,Iy,By,Qy,Dl,C3,kl,I3],isXML:!0,serializer:Pi},MEe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Xg,headersMapper:NS},default:{bodyMapper:b,headersMapper:SS}},queryParameters:[R,Ss,Rs,rr,gR],urlParameters:[S],headerParameters:[P,v,U,oe,ne,se,va,pe,he,le],isXML:!0,serializer:Pi},LEe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Xg,headersMapper:RS},default:{bodyMapper:b,headersMapper:PS}},queryParameters:[R,Ss,Rs,rr,gR,B3],urlParameters:[S],headerParameters:[P,v,U,oe,ne,se,va,pe,he,le,Q3],isXML:!0,serializer:Pi},_Ee={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:vS},default:{bodyMapper:b,headersMapper:DS}},queryParameters:[En,R],urlParameters:[S],headerParameters:[P,v,U,oe,ne,se,We,$e,je,pe,he,le,pt,pR],isXML:!0,serializer:Pi},FEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:kS},default:{bodyMapper:b,headersMapper:TS}},queryParameters:[En,R],urlParameters:[S],headerParameters:[P,v,U,oe,ne,se,pe,he,le,hR,x3],isXML:!0,serializer:Pi},UEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:MS},default:{bodyMapper:b,headersMapper:LS}},queryParameters:[R,w3],urlParameters:[S],headerParameters:[P,v,U,ne,se,pe,he,le,Da],isXML:!0,serializer:Pi};var Py=class{client;constructor(e){this.client=e}create(e,r){return this.client.sendOperationRequest({contentLength:e,options:r},OEe)}appendBlock(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},qEe)}appendBlockFromUrl(e,r,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:r,options:n},HEe)}seal(e){return this.client.sendOperationRequest({options:e},zEe)}},vy=Yr(Jr,!0),OEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:_S},default:{bodyMapper:b,headersMapper:FS}},queryParameters:[R],urlParameters:[S],headerParameters:[P,v,U,bt,zt,oe,ne,se,We,$e,je,pe,he,le,vs,Ds,ks,Ts,Ms,Ls,zn,Gn,pt,Yn,qs,b3],isXML:!0,serializer:vy},qEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:US},default:{bodyMapper:b,headersMapper:OS}},requestBody:Ta,queryParameters:[R,yR],urlParameters:[S],headerParameters:[P,v,bt,oe,ne,se,We,$e,je,pe,he,le,pt,In,Hs,ka,Ma,ER,xy],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:vy},HEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:qS},default:{bodyMapper:b,headersMapper:HS}},queryParameters:[R,yR],urlParameters:[S],headerParameters:[P,v,U,bt,oe,ne,se,We,$e,je,pe,he,le,pt,_s,Fs,Us,Os,Ni,Si,Ri,In,Dl,kl,ER,xy,wy],isXML:!0,serializer:vy},zEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:zS},default:{bodyMapper:b,headersMapper:GS}},queryParameters:[R,N3],urlParameters:[S],headerParameters:[P,v,U,oe,ne,se,pe,he,xy],isXML:!0,serializer:vy};var Dy=class{client;constructor(e){this.client=e}upload(e,r,n){return this.client.sendOperationRequest({contentLength:e,body:r,options:n},GEe)}putBlobFromUrl(e,r,n){return this.client.sendOperationRequest({contentLength:e,copySource:r,options:n},YEe)}stageBlock(e,r,n,s){return this.client.sendOperationRequest({blockId:e,contentLength:r,body:n,options:s},VEe)}stageBlockFromURL(e,r,n,s){return this.client.sendOperationRequest({blockId:e,contentLength:r,sourceUrl:n,options:s},JEe)}commitBlockList(e,r){return this.client.sendOperationRequest({blocks:e,options:r},WEe)}getBlockList(e,r){return this.client.sendOperationRequest({listType:e,options:r},$Ee)}},Ml=Yr(Jr,!0),GEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:YS},default:{bodyMapper:b,headersMapper:VS}},requestBody:Ta,queryParameters:[R],urlParameters:[S],headerParameters:[P,v,bt,zt,oe,ne,se,We,$e,je,pe,he,le,vs,Ds,ks,Ts,Ms,Ls,zn,Gn,pt,bi,Yn,qs,In,Hs,ka,Ma,CR],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Ml},YEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:JS},default:{bodyMapper:b,headersMapper:WS}},queryParameters:[R],urlParameters:[S],headerParameters:[P,v,U,bt,zt,oe,ne,se,We,$e,je,pe,he,le,vs,Ds,ks,Ts,Ms,Ls,pt,bi,_s,Fs,Us,Os,yy,Da,Yn,Ni,Si,Ey,Ri,In,CR,S3],isXML:!0,serializer:Ml},VEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:$S},default:{bodyMapper:b,headersMapper:jS}},requestBody:Ta,queryParameters:[R,IR,BR],urlParameters:[S],headerParameters:[P,v,bt,oe,We,$e,je,pt,In,Hs,ka,Ma],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Ml},JEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:KS},default:{bodyMapper:b,headersMapper:XS}},queryParameters:[R,IR,BR],urlParameters:[S],headerParameters:[P,v,U,bt,oe,We,$e,je,pt,_s,Fs,Us,Os,Ni,Si,Ri,Dl,kl,wy],isXML:!0,serializer:Ml},WEe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ZS},default:{bodyMapper:b,headersMapper:eR}},requestBody:R3,queryParameters:[R,QR],urlParameters:[S],headerParameters:[Ns,yn,P,v,zt,oe,ne,se,We,$e,je,pe,he,le,vs,Ds,ks,Ts,Ms,Ls,zn,Gn,pt,bi,Yn,qs,In,Hs],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Ml},$Ee={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:S0,headersMapper:tR},default:{bodyMapper:b,headersMapper:rR}},queryParameters:[R,rr,QR,P3],urlParameters:[S],headerParameters:[P,v,U,oe,le],isXML:!0,serializer:Ml};var Hd=class extends Bd{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}`,o={...n,...r,userAgentOptions:{userAgentPrefix:i},endpoint:r.endpoint??r.baseUri??"{url}"};super(o),this.url=e,this.version=r.version||"2026-02-06",this.service=new by(this),this.container=new Ny(this),this.blob=new Sy(this),this.pageBlob=new Ry(this),this.appendBlob=new Py(this),this.blockBlob=new Dy(this)}service;container;blob;pageBlob;appendBlob;blockBlob};var zd=class extends Hd{async sendOperationRequest(e,r){let n={...r};return(n.path==="/{containerName}"||n.path==="/{containerName}/{blob}")&&(n.path=""),super.sendOperationRequest(e,n)}};function D3(t){let e=new URL(t),r=e.pathname;return r=r||"/",r=KEe(r),e.pathname=r,e.toString()}function jEe(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}function La(t,e){let r=t.split(";");for(let n of r)if(n.trim().startsWith(e))return n.trim().match(e+"=(.*)")[1];return""}function _a(t){let e="";t.startsWith("UseDevelopmentStorage=true")&&(e=jEe(t),t=NJ);let r=La(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"),o="";if(s=La(t,"AccountName"),i=Buffer.from(La(t,"AccountKey"),"base64"),!r){n=La(t,"DefaultEndpointsProtocol");let a=n.toLowerCase();if(a!=="https"&&a!=="http")throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(o=La(t,"EndpointSuffix"),!o)throw new Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${s}.blob.${o}`}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=La(t,"SharedAccessSignature"),s=La(t,"AccountName");if(s||(s=NR(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}}}function KEe(t){return encodeURIComponent(t).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function yt(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()}function Ll(t,e,r){let n=new URL(t),s=encodeURIComponent(e),i=r?encodeURIComponent(r):void 0,o=n.search===""?"?":n.search,a=[];for(let c of o.slice(1).split("&"))if(c){let[l]=c.split("=",2);l!==s&&a.push(c)}return i&&a.push(`${s}=${i}`),n.search=a.length?`?${a.join("&")}`:"",n.toString()}function xR(t,e){return new URL(t).searchParams.get(e)??void 0}function k3(t){try{let e=new URL(t);return e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol}catch{return}}function Gd(t,e){let r=new URL(t),n=r.search;return n?n+="&"+e:n=e,r.search=n,r.toString()}function Ie(t,e=!0){let r=t.toISOString();return e?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}function XEe(t){return Ce?Buffer.from(t).toString("base64"):btoa(t)}function wR(t,e){t.length>42&&(t=t.slice(0,42));let i=t+ZEe(e.toString(),48-t.length,"0");return XEe(i)}function ZEe(t,e,r=" "){return String.prototype.padStart?t.padStart(e,r):(r=r||" ",t.length>e?t:(e=e-t.length,e>r.length&&(r+=r.repeat(e/r.length)),r.slice(0,e)+t))}function bR(t,e){return t.toLocaleLowerCase()===e.toLocaleLowerCase()}function NR(t){let e=new URL(t),r;try{return e.hostname.split(".")[1]==="blob"?r=e.hostname.split(".")[0]:ky(e)?r=e.pathname.split("/")[1]:r="",r}catch{throw new Error("Unable to extract accountName with provided information.")}}function ky(t){let e=t.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(e)||!!t.port&&DJ.includes(t.port)}function Ro(t){if(t===void 0)return;let e=[];for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];e.push(`${encodeURIComponent(r)}=${encodeURIComponent(n)}`)}return e.join("&")}function T3(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}function Ty(t){if(t===void 0)return;let e={};for(let r of t.blobTagSet)e[r.key]=r.value;return e}function SR(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.")}}function My(t){if(!t||"policy-id"in t)return;let e=[];for(let r in t){let n=r.split("_"),s="or-";n[0].startsWith(s)&&(n[0]=n[0].substring(s.length));let i={ruleId:n[1],replicationStatus:t[r]},o=e.findIndex(a=>a.policyId===n[0]);o>-1?e[o].rules.push(i):e.push({policyId:n[0],rules:[i]})}return e}function _l(t){return t?t.scheme+" "+t.value:void 0}function*RR(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}}function Y(t){if("_response"in t)return t;throw new TypeError(`Unexpected response object ${t}`)}var Fl=class{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,r){this.url=D3(e),this.accountName=NR(e),this.pipeline=r,this.storageClientContext=new zd(this.url,E0(r)),this.isHttps=bR(k3(this.url)||"","https"),this.credential=C0(r);let n=this.storageClientContext;n.requestContentType=void 0}};var q=pd({packageName:"@azure/storage-blob",packageVersion:$g,namespace:"Microsoft.Storage"});var zs=class t{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 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 Vn(t){return t.end?`${t.start}-${t.end}`:t.start}var M3;(function(t){t.Https="https",t.HttpsAndHttp="https,http"})(M3||(M3={}));var Jn=class{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,o,a,c,l,A,u,d,m,p,f,E,g,y,C,I,w){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=c,this.permissions=n,this.protocol=o,this.startsOn=a,this.ipRangeInner=l,this.delegatedUserObjectId=w,this.encryptionScope=I,this.identifier=A,this.resource=u,this.cacheControl=d,this.contentDisposition=m,this.contentEncoding=p,this.contentLanguage=f,this.contentType=E,g&&(this.signedOid=g.signedObjectId,this.signedTenantId=g.signedTenantId,this.signedStartsOn=g.signedStartsOn,this.signedExpiresOn=g.signedExpiresOn,this.signedService=g.signedService,this.signedVersion=g.signedVersion,this.preauthorizedAgentObjectId=y,this.correlationId=C))}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?Ie(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(r,n,this.expiresOn?Ie(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(r,n,this.ipRange?Vn(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?Ie(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(r,n,this.signedExpiresOn?Ie(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 Yd(t,e,r){return Vd(t,e,r).sasQueryParameters}function Vd(t,e,r){let n=t.version?t.version:jg,s=e instanceof Je?e:void 0,i;if(s===void 0&&r!==void 0&&(i=new Wg(r,e)),s===void 0&&i===void 0)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")return s!==void 0?rCe(t,s):n>="2025-07-05"?oCe(t,i):iCe(t,i);if(n>="2018-11-09")return s!==void 0?tCe(t,s):n>="2020-02-10"?sCe(t,i):nCe(t,i);if(n>="2015-04-05"){if(s!==void 0)return eCe(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'.")}function eCe(t,e){if(t=Ua(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?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Fa(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Vn(t.ipRange):"",t.protocol?t.protocol:"",t.version,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
|
|
`),i=e.computeHMACSHA256(s);return{sasQueryParameters:new Jn(t.version,i,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:s}}function tCe(t,e){if(t=Ua(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?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Fa(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Vn(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(`
|
|
`),o=e.computeHMACSHA256(i);return{sasQueryParameters:new Jn(t.version,o,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}}function rCe(t,e){if(t=Ua(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?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Fa(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Vn(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(`
|
|
`),o=e.computeHMACSHA256(i);return{sasQueryParameters:new Jn(t.version,o,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}}function nCe(t,e){if(t=Ua(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?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Fa(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ie(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ie(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?Vn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
|
|
`),o=e.computeHMACSHA256(i);return{sasQueryParameters:new Jn(t.version,o,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}}function sCe(t,e){if(t=Ua(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?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Fa(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ie(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ie(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Vn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
|
|
`),o=e.computeHMACSHA256(i);return{sasQueryParameters:new Jn(t.version,o,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}}function iCe(t,e){if(t=Ua(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?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Fa(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ie(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ie(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Vn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
|
|
`),o=e.computeHMACSHA256(i);return{sasQueryParameters:new Jn(t.version,o,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}}function oCe(t,e){if(t=Ua(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?Ie(t.startsOn,!1):"",t.expiresOn?Ie(t.expiresOn,!1):"",Fa(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Ie(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Ie(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?Vn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
|
|
`),o=e.computeHMACSHA256(i);return{sasQueryParameters:new Jn(t.version,o,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}}function Fa(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}function Ua(t){let e=t.version?t.version:jg;if(t.snapshotTime&&e<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(t.blobName===void 0&&t.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(t.versionId&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(t.blobName===void 0&&t.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(t.permissions&&t.permissions.setImmutabilityPolicy&&e<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(t.permissions&&t.permissions.tag&&e<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(e<"2020-02-10"&&t.permissions&&(t.permissions.move||t.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(e<"2021-04-10"&&t.permissions&&t.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(e<"2020-02-10"&&(t.preauthorizedAgentObjectId||t.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(t.encryptionScope&&e<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return t.version=e,t}var Jd=class{_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=Bl()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Hn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Hn||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return q.withSpan("BlobLeaseClient-acquireLease",r,async n=>Y(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:n.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Hn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Hn||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return q.withSpan("BlobLeaseClient-changeLease",r,async n=>{let s=Y(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return this._leaseId=e,s})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==Hn||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Hn||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return q.withSpan("BlobLeaseClient-releaseLease",e,async r=>Y(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==Hn||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Hn||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return q.withSpan("BlobLeaseClient-renewLease",e,async r=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions}))}async breakLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Hn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Hn||r.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return q.withSpan("BlobLeaseClient-breakLease",r,async n=>{let s={abortSignal:r.abortSignal,breakPeriod:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions};return Y(await this._containerOrBlobOperation.breakLease(s))})}};var L3=require("node:stream"),Ly=class extends L3.Readable{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=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()};sourceAbortedHandler=()=>{let e=new zr("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=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}`))};_destroy(e,r){this.removeSourceEventHandlers(),this.source.destroy(),r(e===null?void 0:e)}};var _y=class{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return Ce?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r,n,s,i={}){this.originalResponse=e,this.blobDownloadStream=new Ly(this.originalResponse.readableStreamBody,r,n,s,i)}};var H3=require("node:stream");var PR=new Uint8Array([79,98,106,1]),_3="avro.codec",F3="avro.schema";var ze=class t{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,o,a;do i=await t.readByte(e,r),o=i&128,n|=(i&127)<<s,s+=7;while(o&&s<28);if(o){n=n,a=268435456;do i=await t.readByte(e,r),n+=(i&127)*a,a*=128;while(i&128);let c=(n%2?-(n+1):n)/2;if(c<Number.MIN_SAFE_INTEGER||c>Number.MAX_SAFE_INTEGER)throw new Error("Integer overflow.");return c}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=(a,c={})=>t.readMapPair(a,r,c),i=await t.readArray(e,s,n),o={};for(let a of i)o[a.key]=a.value;return o}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 o=await r(e,n);s.push(o)}return s}},Oa;(function(t){t.RECORD="record",t.ENUM="enum",t.ARRAY="array",t.MAP="map",t.UNION="union",t.FIXED="fixed"})(Oa||(Oa={}));var Rt;(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"})(Rt||(Rt={}));var vi=class t{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 Rt.NULL:case Rt.BOOLEAN:case Rt.INT:case Rt.LONG:case Rt.FLOAT:case Rt.DOUBLE:case Rt.BYTES:case Rt.STRING:return new vR(e);default:throw new Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new kR(e.map(t.fromSchema))}static fromObjectSchema(e){let r=e.type;try{return t.fromStringSchema(r)}catch{}switch(r){case Oa.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 MR(n,e.name);case Oa.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 DR(e.symbols);case Oa.MAP:if(!e.values)throw new Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new TR(t.fromSchema(e.values));case Oa.ARRAY:case Oa.FIXED:default:throw new Error(`Unexpected Avro type ${r} in ${e}`)}}},vR=class extends vi{_primitive;constructor(e){super(),this._primitive=e}read(e,r={}){switch(this._primitive){case Rt.NULL:return ze.readNull();case Rt.BOOLEAN:return ze.readBoolean(e,r);case Rt.INT:return ze.readInt(e,r);case Rt.LONG:return ze.readLong(e,r);case Rt.FLOAT:return ze.readFloat(e,r);case Rt.DOUBLE:return ze.readDouble(e,r);case Rt.BYTES:return ze.readBytes(e,r);case Rt.STRING:return ze.readString(e,r);default:throw new Error("Unknown Avro Primitive")}}},DR=class extends vi{_symbols;constructor(e){super(),this._symbols=e}async read(e,r={}){let n=await ze.readInt(e,r);return this._symbols[n]}},kR=class extends vi{_types;constructor(e){super(),this._types=e}async read(e,r={}){let n=await ze.readInt(e,r);return this._types[n].read(e,r)}},TR=class extends vi{_itemType;constructor(e){super(),this._itemType=e}read(e,r={}){let n=(s,i)=>this._itemType.read(s,i);return ze.readMap(e,n,r)}},MR=class extends vi{_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 LR(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}var Wd=class{_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 ze.readFixedBytes(this._headerStream,PR.length,{abortSignal:e.abortSignal});if(!LR(r,PR))throw new Error("Stream is not an Avro file.");this._metadata=await ze.readMap(this._headerStream,ze.readString,{abortSignal:e.abortSignal});let n=this._metadata[_3];if(!(n==null||n==="null"))throw new Error("Codecs are not supported");this._syncMarker=await ze.readFixedBytes(this._headerStream,16,{abortSignal:e.abortSignal});let s=JSON.parse(this._metadata[F3]);if(this._itemType=vi.fromSchema(s),this._blockOffset===0&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await ze.readLong(this._dataStream,{abortSignal:e.abortSignal}),await ze.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 ze.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!LR(this._syncMarker,n))throw new Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await ze.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await ze.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield r}}};var $d=class{};var q3=require("buffer"),O3=new zr("Reading from the avro stream was aborted."),jd=class extends $d{_position;_readable;toUint8Array(e){return typeof e=="string"?q3.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 O3;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 o=()=>{this._readable.removeListener("readable",a),this._readable.removeListener("error",c),this._readable.removeListener("end",c),this._readable.removeListener("close",c),r.abortSignal&&r.abortSignal.removeEventListener("abort",l)},a=()=>{let A=this._readable.read(e);A&&(this._position+=A.length,o(),s(this.toUint8Array(A)))},c=()=>{o(),i()},l=()=>{o(),i(O3)};this._readable.on("readable",a),this._readable.once("error",c),this._readable.once("end",c),this._readable.once("close",c),r.abortSignal&&r.abortSignal.addEventListener("abort",l)})}};var Fy=class extends H3.Readable{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 Wd(new jd(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 o=r.description;if(typeof o!="string")throw Error("Invalid description in avro error record.");let a=r.position;if(typeof a!="number")throw Error("Invalid position in avro error record.");this.onError({position:a,name:i,isFatal:s,description:o})}break;default:throw Error(`Unknown schema ${n} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}};var Uy=class{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return Ce?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,r={}){this.originalResponse=e,this.blobDownloadStream=new Fy(this.originalResponse.readableStreamBody,r)}};var _R;(function(t){t.Hot="Hot",t.Cool="Cool",t.Cold="Cold",t.Archive="Archive"})(_R||(_R={}));var FR;(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"})(FR||(FR={}));function Po(t){if(t!==void 0)return t}function Et(t,e){if(t&&!e)throw new RangeError("Customer-provided encryption key must be used over HTTPS.");t&&!t.encryptionAlgorithm&&(t.encryptionAlgorithm=bJ)}var UR;(function(t){t.StorageOAuthScopes="https://storage.azure.com/.default",t.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default"})(UR||(UR={}));function Oy(t){let e=(t._response.parsedBody.pageRange||[]).map(n=>({offset:n.start,count:n.end-n.start})),r=(t._response.parsedBody.clearRange||[]).map(n=>({offset:n.start,count:n.end-n.start}));return{...t,pageRange:e,clearRange:r,_response:{...t._response,parsedBody:{pageRange:e,clearRange:r}}}}var N4=B(b4(),1),jy=class extends N4.Poller{intervalInMs;constructor(e){let{blobClient:r,copySource:n,intervalInMs:s=15e3,onProgress:i,resumeFrom:o,startCopyFromURLOptions:a}=e,c;o&&(c=JSON.parse(o).state);let l=em({...c,blobClient:r,copySource:n,startCopyFromURLOptions:a});super(l),typeof i=="function"&&this.onProgress(i),this.intervalInMs=s}delay(){return dd(this.intervalInMs)}},nIe=async function(e={}){let r=this.state,{copyId:n}=r;return r.isCompleted?em(r):n?(await r.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),r.isCancelled=!0,em(r)):(r.isCancelled=!0,em(r))},sIe=async function(e={}){let r=this.state,{blobClient:n,copySource:s,startCopyFromURLOptions:i}=r;if(r.isStarted){if(!r.isCompleted)try{let o=await r.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:a,copyProgress:c}=o,l=r.copyProgress;c&&(r.copyProgress=c),a==="pending"&&c!==l&&typeof e.fireProgress=="function"?e.fireProgress(r):a==="success"?(r.result=o,r.isCompleted=!0):a==="failed"&&(r.error=new Error(`Blob copy failed with reason: "${o.copyStatusDescription||"unknown"}"`),r.isCompleted=!0)}catch(o){r.error=o,r.isCompleted=!0}}else{r.isStarted=!0;let o=await n.startCopyFromURL(s,i);r.copyId=o.copyId,o.copyStatus==="success"&&(r.result=o,r.isCompleted=!0)}return em(r)},iIe=function(){return JSON.stringify({state:this.state},(e,r)=>{if(e!=="blobClient")return r})};function em(t){return{state:{...t},cancel:nIe,toString:iIe,update:sIe}}function Cr(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}-`}var S4=require("events"),tm;(function(t){t[t.Good=0]="Good",t[t.Error=1]="Error"})(tm||(tm={}));var rm=class{concurrency;actives=0;completed=0;offset=0;operations=[];state=tm.Good;emitter;constructor(e=5){if(e<1)throw new RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new S4.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=tm.Error,r(n)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==tm.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 Ky=B(require("node:fs"),1),R4=B(require("node:util"),1);async function P4(t,e,r,n,s){let i=0,o=n-r;return new Promise((a,c)=>{let l=setTimeout(()=>c(new Error("The operation cannot be completed in timeout.")),1e5);t.on("readable",()=>{if(i>=o){clearTimeout(l),a();return}let A=t.read();if(!A)return;typeof A=="string"&&(A=Buffer.from(A,s));let u=i+A.length>o?o-i:A.length;e.fill(A.slice(0,u),r+i,r+i+u),i+=u}),t.on("end",()=>{clearTimeout(l),i<o&&c(new Error(`Stream drains before getting enough data needed. Data read: ${i}, data need: ${o}`)),a()}),t.on("error",A=>{clearTimeout(l),c(A)})})}async function v4(t,e){return new Promise((r,n)=>{let s=Ky.default.createWriteStream(e);t.on("error",i=>{n(i)}),s.on("error",i=>{n(i)}),s.on("close",r),t.pipe(s)})}var D4=R4.default.promisify(Ky.default.stat),k4=Ky.default.createReadStream;var Di=class t extends Fl{blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,r,n,s){s=s||{};let i,o;if(wi(r))o=e,i=r;else if(Ce&&r instanceof Je||r instanceof Ue||Gr(r))o=e,s=n,i=ot(r,s);else if(!r&&typeof r!="string")o=e,n&&typeof n!="string"&&(s=n),i=ot(new Ue,s);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let a=r,c=n,l=_a(e);if(l.kind==="AccountConnString")if(Ce){let A=new Je(l.accountName,l.accountKey);o=yt(yt(l.url,encodeURIComponent(a)),encodeURIComponent(c)),s.proxyOptions||(s.proxyOptions=Io(l.proxyUri)),i=ot(A,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(l.kind==="SASConnString")o=yt(yt(l.url,encodeURIComponent(a)),encodeURIComponent(c))+"?"+l.accountSas,i=ot(new Ue,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(o,i),{blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl(),this.blobContext=this.storageClientContext.blob,this._snapshot=xR(this.url,xi.Parameters.SNAPSHOT),this._versionId=xR(this.url,xi.Parameters.VERSIONID)}withSnapshot(e){return new t(Ll(this.url,xi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}withVersion(e){return new t(Ll(this.url,xi.Parameters.VERSIONID,e.length===0?void 0:e),this.pipeline)}getAppendBlobClient(){return new Zy(this.url,this.pipeline)}getBlockBlobClient(){return new ql(this.url,this.pipeline)}getPageBlobClient(){return new eE(this.url,this.pipeline)}async download(e=0,r,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},Et(n.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-download",n,async s=>{let i=Y(await this.blobContext.download({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onDownloadProgress:Ce?void 0:n.onProgress},range:e===0&&!r?void 0:Cr({offset:e,count:r}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey,tracingOptions:s.tracingOptions})),o={...i,_response:i._response,objectReplicationDestinationPolicyId:i.objectReplicationPolicyId,objectReplicationSourceProperties:My(i.objectReplicationRules)};if(!Ce)return o;if((n.maxRetryRequests===void 0||n.maxRetryRequests<0)&&(n.maxRetryRequests=5),i.contentLength===void 0)throw new RangeError("File download response doesn't contain valid content length header");if(!i.etag)throw new RangeError("File download response doesn't contain valid etag header");return new _y(o,async a=>{let c={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:Cr({count:e+i.contentLength-a,offset:a}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey};return(await this.blobContext.download({abortSignal:n.abortSignal,...c})).readableStreamBody},e,i.contentLength,{maxRetryRequests:n.maxRetryRequests,onProgress:n.onProgress})})}async exists(e={}){return q.withSpan("BlobClient-exists",e,async r=>{try{return Et(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===PJ||n.details.errorCode===vJ))return!0;throw n}})}async getProperties(e={}){return e.conditions=e.conditions||{},Et(e.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-getProperties",e,async r=>{let n=Y(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,objectReplicationDestinationPolicyId:n.objectReplicationPolicyId,objectReplicationSourceProperties:My(n.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},q.withSpan("BlobClient-delete",e,async r=>Y(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async deleteIfExists(e={}){return q.withSpan("BlobClient-deleteIfExists",e,async r=>{try{let n=Y(await this.delete(r));return{succeeded:!0,...n,_response:n._response}}catch(n){if(n.details?.errorCode==="BlobNotFound")return{succeeded:!1,...n.response?.parsedHeaders,_response:n.response};throw n}})}async undelete(e={}){return q.withSpan("BlobClient-undelete",e,async r=>Y(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}async setHTTPHeaders(e,r={}){return r.conditions=r.conditions||{},Et(r.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-setHTTPHeaders",r,async n=>Y(await this.blobContext.setHttpHeaders({abortSignal:r.abortSignal,blobHttpHeaders:e,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}async setMetadata(e,r={}){return r.conditions=r.conditions||{},Et(r.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-setMetadata",r,async n=>Y(await this.blobContext.setMetadata({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async setTags(e,r={}){return q.withSpan("BlobClient-setTags",r,async n=>Y(await this.blobContext.setTags({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},blobModifiedAccessConditions:r.conditions,tracingOptions:n.tracingOptions,tags:T3(e)})))}async getTags(e={}){return q.withSpan("BlobClient-getTags",e,async r=>{let n=Y(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:r.tracingOptions}));return{...n,_response:n._response,tags:Ty({blobTagSet:n.blobTagSet})||{}}})}getBlobLeaseClient(e){return new Jd(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},Et(e.customerProvidedKey,this.isHttps),q.withSpan("BlobClient-createSnapshot",e,async r=>Y(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:r.tracingOptions})))}async beginCopyFromURL(e,r={}){let n={abortCopyFromURL:(...i)=>this.abortCopyFromURL(...i),getProperties:(...i)=>this.getProperties(...i),startCopyFromURL:(...i)=>this.startCopyFromURL(...i)},s=new jy({blobClient:n,copySource:e,intervalInMs:r.intervalInMs,onProgress:r.onProgress,resumeFrom:r.resumeFrom,startCopyFromURLOptions:r});return await s.poll(),s}async abortCopyFromURL(e,r={}){return q.withSpan("BlobClient-abortCopyFromURL",r,async n=>Y(await this.blobContext.abortCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,tracingOptions:n.tracingOptions})))}async syncCopyFromURL(e,r={}){return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},q.withSpan("BlobClient-syncCopyFromURL",r,async n=>Y(await this.blobContext.copyFromURL(e,{abortSignal:r.abortSignal,metadata:r.metadata,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions?.ifMatch,sourceIfModifiedSince:r.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:r.sourceContentMD5,copySourceAuthorization:_l(r.sourceAuthorization),tier:Po(r.tier),blobTagsString:Ro(r.tags),immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,encryptionScope:r.encryptionScope,copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async setAccessTier(e,r={}){return q.withSpan("BlobClient-setAccessTier",r,async n=>Y(await this.blobContext.setTier(Po(e),{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},rehydratePriority:r.rehydratePriority,tracingOptions:n.tracingOptions})))}async downloadToBuffer(e,r,n,s={}){let i,o=0,a=0,c=s;e instanceof Buffer?(i=e,o=r||0,a=typeof n=="number"?n:0):(o=typeof e=="number"?e:0,a=typeof r=="number"?r:0,c=n||{});let l=c.blockSize??0;if(l<0)throw new RangeError("blockSize option must be >= 0");if(l===0&&(l=4194304),o<0)throw new RangeError("offset option must be >= 0");if(a&&a<=0)throw new RangeError("count option must be greater than 0");return c.conditions||(c.conditions={}),q.withSpan("BlobClient-downloadToBuffer",c,async A=>{if(!a){let m=await this.getProperties({...c,tracingOptions:A.tracingOptions});if(a=m.contentLength-o,a<0)throw new RangeError(`offset ${o} shouldn't be larger than blob size ${m.contentLength}`)}if(!i)try{i=Buffer.alloc(a)}catch(m){throw new Error(`Unable to allocate the buffer of size: ${a}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${m.message}`)}if(i.length<a)throw new RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${a}`);let u=0,d=new rm(c.concurrency);for(let m=o;m<o+a;m=m+l)d.addOperation(async()=>{let p=o+a;m+l<p&&(p=m+l);let E=(await this.download(m,p-m,{abortSignal:c.abortSignal,conditions:c.conditions,maxRetryRequests:c.maxRetryRequestsPerBlock,customerProvidedKey:c.customerProvidedKey,tracingOptions:A.tracingOptions})).readableStreamBody;await P4(E,i,m-o,p-o),u+=p-m,c.onProgress&&c.onProgress({loadedBytes:u})});return await d.do(),i})}async downloadToFile(e,r=0,n,s={}){return q.withSpan("BlobClient-downloadToFile",s,async i=>{let o=await this.download(r,n,{...s,tracingOptions:i.tracingOptions});return o.readableStreamBody&&await v4(o.readableStreamBody,e),o.blobDownloadStream=void 0,o})}getBlobAndContainerNamesFromUrl(){let e,r;try{let n=new URL(this.url);if(n.host.split(".")[1]==="blob"){let s=n.pathname.match("/([^/]*)(/(.*))?");e=s[1],r=s[3]}else if(ky(n)){let s=n.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=s[2],r=s[4]}else{let s=n.pathname.match("/([^/]*)(/(.*))?");e=s[1],r=s[3]}if(e=decodeURIComponent(e),r=decodeURIComponent(r),r=r.replace(/\\/g,"/"),!e)throw new Error("Provided containerName is invalid.");return{blobName:r,containerName:e}}catch{throw new Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,r={}){return q.withSpan("BlobClient-startCopyFromURL",r,async n=>(r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},Y(await this.blobContext.startCopyFromURL(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions.ifMatch,sourceIfModifiedSince:r.sourceConditions.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions.ifUnmodifiedSince,sourceIfTags:r.sourceConditions.tagConditions},immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,rehydratePriority:r.rehydratePriority,tier:Po(r.tier),blobTagsString:Ro(r.tags),sealBlob:r.sealBlob,tracingOptions:n.tracingOptions}))))}generateSasUrl(e){return new Promise(r=>{if(!(this.credential instanceof Je))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let n=Yd({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();r(Gd(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof Je))throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return Vd({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=Yd({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).toString();n(Gd(this.url,s))})}generateUserDelegationSasStringToSign(e,r){return Vd({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},r,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return q.withSpan("BlobClient-deleteImmutabilityPolicy",e,async r=>Y(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:r.tracingOptions})))}async setImmutabilityPolicy(e,r={}){return q.withSpan("BlobClient-setImmutabilityPolicy",r,async n=>Y(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:n.tracingOptions})))}async setLegalHold(e,r={}){return q.withSpan("BlobClient-setLegalHold",r,async n=>Y(await this.blobContext.setLegalHold(e,{tracingOptions:n.tracingOptions})))}async getAccountInfo(e={}){return q.withSpan("BlobClient-getAccountInfo",e,async r=>Y(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:r.tracingOptions})))}},Zy=class t extends Di{appendBlobContext;constructor(e,r,n,s){let i,o;if(s=s||{},wi(r))o=e,i=r;else if(Ce&&r instanceof Je||r instanceof Ue||Gr(r))o=e,s=n,i=ot(r,s);else if(!r&&typeof r!="string")o=e,i=ot(new Ue,s);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let a=r,c=n,l=_a(e);if(l.kind==="AccountConnString")if(Ce){let A=new Je(l.accountName,l.accountKey);o=yt(yt(l.url,encodeURIComponent(a)),encodeURIComponent(c)),s.proxyOptions||(s.proxyOptions=Io(l.proxyUri)),i=ot(A,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(l.kind==="SASConnString")o=yt(yt(l.url,encodeURIComponent(a)),encodeURIComponent(c))+"?"+l.accountSas,i=ot(new Ue,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(o,i),this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(e){return new t(Ll(this.url,xi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},Et(e.customerProvidedKey,this.isHttps),q.withSpan("AppendBlobClient-create",e,async r=>Y(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:Ro(e.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e={}){let r={ifNoneMatch:y0};return q.withSpan("AppendBlobClient-createIfNotExists",e,async n=>{try{let s=Y(await this.create({...n,conditions:r}));return{succeeded:!0,...s,_response:s._response}}catch(s){if(s.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...s.response?.parsedHeaders,_response:s.response};throw s}})}async seal(e={}){return e.conditions=e.conditions||{},q.withSpan("AppendBlobClient-seal",e,async r=>Y(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async appendBlock(e,r,n={}){return n.conditions=n.conditions||{},Et(n.customerProvidedKey,this.isHttps),q.withSpan("AppendBlobClient-appendBlock",n,async s=>Y(await this.appendBlobContext.appendBlock(r,e,{abortSignal:n.abortSignal,appendPositionAccessConditions:n.conditions,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:s.tracingOptions})))}async appendBlockFromURL(e,r,n,s={}){return s.conditions=s.conditions||{},s.sourceConditions=s.sourceConditions||{},Et(s.customerProvidedKey,this.isHttps),q.withSpan("AppendBlobClient-appendBlockFromURL",s,async i=>Y(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:s.abortSignal,sourceRange:Cr({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:_l(s.sourceAuthorization),cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:i.tracingOptions})))}},ql=class t extends Di{_blobContext;blockBlobContext;constructor(e,r,n,s){let i,o;if(s=s||{},wi(r))o=e,i=r;else if(Ce&&r instanceof Je||r instanceof Ue||Gr(r))o=e,s=n,i=ot(r,s);else if(!r&&typeof r!="string")o=e,n&&typeof n!="string"&&(s=n),i=ot(new Ue,s);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let a=r,c=n,l=_a(e);if(l.kind==="AccountConnString")if(Ce){let A=new Je(l.accountName,l.accountKey);o=yt(yt(l.url,encodeURIComponent(a)),encodeURIComponent(c)),s.proxyOptions||(s.proxyOptions=Io(l.proxyUri)),i=ot(A,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(l.kind==="SASConnString")o=yt(yt(l.url,encodeURIComponent(a)),encodeURIComponent(c))+"?"+l.accountSas,i=ot(new Ue,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(o,i),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob}withSnapshot(e){return new t(Ll(this.url,xi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async query(e,r={}){if(Et(r.customerProvidedKey,this.isHttps),!Ce)throw new Error("This operation currently is only supported in Node.js.");return q.withSpan("BlockBlobClient-query",r,async n=>{let s=Y(await this._blobContext.query({abortSignal:r.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:SR(r.inputTextConfiguration),outputSerialization:SR(r.outputTextConfiguration)},leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions}));return new Uy(s,{abortSignal:r.abortSignal,onProgress:r.onProgress,onError:r.onError})})}async upload(e,r,n={}){return n.conditions=n.conditions||{},Et(n.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-upload",n,async s=>Y(await this.blockBlobContext.upload(r,e,{abortSignal:n.abortSignal,blobHttpHeaders:n.blobHTTPHeaders,leaseAccessConditions:n.conditions,metadata:n.metadata,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,immutabilityPolicyExpiry:n.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:n.immutabilityPolicy?.policyMode,legalHold:n.legalHold,tier:Po(n.tier),blobTagsString:Ro(n.tags),tracingOptions:s.tracingOptions})))}async syncUploadFromURL(e,r={}){return r.conditions=r.conditions||{},Et(r.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-syncUploadFromURL",r,async n=>Y(await this.blockBlobContext.putBlobFromUrl(0,e,{...r,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions?.ifMatch,sourceIfModifiedSince:r.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions?.ifUnmodifiedSince,sourceIfTags:r.sourceConditions?.tagConditions},cpkInfo:r.customerProvidedKey,copySourceAuthorization:_l(r.sourceAuthorization),tier:Po(r.tier),blobTagsString:Ro(r.tags),copySourceTags:r.copySourceTags,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async stageBlock(e,r,n,s={}){return Et(s.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-stageBlock",s,async i=>Y(await this.blockBlobContext.stageBlock(e,n,r,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,requestOptions:{onUploadProgress:s.onProgress},transactionalContentMD5:s.transactionalContentMD5,transactionalContentCrc64:s.transactionalContentCrc64,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,tracingOptions:i.tracingOptions})))}async stageBlockFromURL(e,r,n=0,s,i={}){return Et(i.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-stageBlockFromURL",i,async o=>Y(await this.blockBlobContext.stageBlockFromURL(e,0,r,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,sourceRange:n===0&&!s?void 0:Cr({offset:n,count:s}),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:_l(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:o.tracingOptions})))}async commitBlockList(e,r={}){return r.conditions=r.conditions||{},Et(r.customerProvidedKey,this.isHttps),q.withSpan("BlockBlobClient-commitBlockList",r,async n=>Y(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:Po(r.tier),blobTagsString:Ro(r.tags),tracingOptions:n.tracingOptions})))}async getBlockList(e,r={}){return q.withSpan("BlockBlobClient-getBlockList",r,async n=>{let s=Y(await this.blockBlobContext.getBlockList(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return s.committedBlocks||(s.committedBlocks=[]),s.uncommittedBlocks||(s.uncommittedBlocks=[]),s})}async uploadData(e,r={}){return q.withSpan("BlockBlobClient-uploadData",r,async n=>{if(Ce){let s;return e instanceof Buffer?s=e:e instanceof ArrayBuffer?s=Buffer.from(e):(e=e,s=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),this.uploadSeekableInternal((i,o)=>s.slice(i,i+o),s.byteLength,n)}else{let s=new Blob([e]);return this.uploadSeekableInternal((i,o)=>s.slice(i,i+o),s.size,n)}})}async uploadBrowserData(e,r={}){return q.withSpan("BlockBlobClient-uploadBrowserData",r,async n=>{let s=new Blob([e]);return this.uploadSeekableInternal((i,o)=>s.slice(i,i+o),s.size,n)})}async uploadSeekableInternal(e,r,n={}){let s=n.blockSize??0;if(s<0||s>4194304e3)throw new RangeError(`blockSize option must be >= 0 and <= ${4194304e3}`);let i=n.maxSingleShotSize??268435456;if(i<0||i>268435456)throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${268435456}`);if(s===0){if(r>4194304e3*5e4)throw new RangeError(`${r} is too larger to upload to a block blob.`);r>i&&(s=Math.ceil(r/5e4),s<4194304&&(s=4194304))}return n.blobHTTPHeaders||(n.blobHTTPHeaders={}),n.conditions||(n.conditions={}),q.withSpan("BlockBlobClient-uploadSeekableInternal",n,async o=>{if(r<=i)return Y(await this.upload(e(0,r),r,o));let a=Math.floor((r-1)/s)+1;if(a>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 c=[],l=Bl(),A=0,u=new rm(n.concurrency);for(let d=0;d<a;d++)u.addOperation(async()=>{let m=wR(l,d),p=s*d,E=(d===a-1?r:p+s)-p;c.push(m),await this.stageBlock(m,e(p,E),E,{abortSignal:n.abortSignal,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:o.tracingOptions}),A+=E,n.onProgress&&n.onProgress({loadedBytes:A})});return await u.do(),this.commitBlockList(c,o)})}async uploadFile(e,r={}){return q.withSpan("BlockBlobClient-uploadFile",r,async n=>{let s=(await D4(e)).size;return this.uploadSeekableInternal((i,o)=>()=>k4(e,{autoClose:!0,end:o?i+o-1:1/0,start:i}),s,{...r,tracingOptions:n.tracingOptions})})}async uploadStream(e,r=8388608,n=5,s={}){return s.blobHTTPHeaders||(s.blobHTTPHeaders={}),s.conditions||(s.conditions={}),q.withSpan("BlockBlobClient-uploadStream",s,async i=>{let o=0,a=Bl(),c=0,l=[];return await new Hg(e,r,n,async(u,d)=>{let m=wR(a,o);l.push(m),o++,await this.stageBlock(m,u,d,{customerProvidedKey:s.customerProvidedKey,conditions:s.conditions,encryptionScope:s.encryptionScope,tracingOptions:i.tracingOptions}),c+=d,s.onProgress&&s.onProgress({loadedBytes:c})},Math.ceil(n/4*3)).do(),Y(await this.commitBlockList(l,{...s,tracingOptions:i.tracingOptions}))})}},eE=class t extends Di{pageBlobContext;constructor(e,r,n,s){let i,o;if(s=s||{},wi(r))o=e,i=r;else if(Ce&&r instanceof Je||r instanceof Ue||Gr(r))o=e,s=n,i=ot(r,s);else if(!r&&typeof r!="string")o=e,i=ot(new Ue,s);else if(r&&typeof r=="string"&&n&&typeof n=="string"){let a=r,c=n,l=_a(e);if(l.kind==="AccountConnString")if(Ce){let A=new Je(l.accountName,l.accountKey);o=yt(yt(l.url,encodeURIComponent(a)),encodeURIComponent(c)),s.proxyOptions||(s.proxyOptions=Io(l.proxyUri)),i=ot(A,s)}else throw new Error("Account connection string is only supported in Node.js environment");else if(l.kind==="SASConnString")o=yt(yt(l.url,encodeURIComponent(a)),encodeURIComponent(c))+"?"+l.accountSas,i=ot(new Ue,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(o,i),this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(e){return new t(Ll(this.url,xi.Parameters.SNAPSHOT,e.length===0?void 0:e),this.pipeline)}async create(e,r={}){return r.conditions=r.conditions||{},Et(r.customerProvidedKey,this.isHttps),q.withSpan("PageBlobClient-create",r,async n=>Y(await this.pageBlobContext.create(0,e,{abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,blobSequenceNumber:r.blobSequenceNumber,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:Po(r.tier),blobTagsString:Ro(r.tags),tracingOptions:n.tracingOptions})))}async createIfNotExists(e,r={}){return q.withSpan("PageBlobClient-createIfNotExists",r,async n=>{try{let s={ifNoneMatch:y0},i=Y(await this.create(e,{...r,conditions:s,tracingOptions:n.tracingOptions}));return{succeeded:!0,...i,_response:i._response}}catch(s){if(s.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...s.response?.parsedHeaders,_response:s.response};throw s}})}async uploadPages(e,r,n,s={}){return s.conditions=s.conditions||{},Et(s.customerProvidedKey,this.isHttps),q.withSpan("PageBlobClient-uploadPages",s,async i=>Y(await this.pageBlobContext.uploadPages(n,e,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},requestOptions:{onUploadProgress:s.onProgress},range:Cr({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||{},Et(i.customerProvidedKey,this.isHttps),q.withSpan("PageBlobClient-uploadPagesFromURL",i,async o=>Y(await this.pageBlobContext.uploadPagesFromURL(e,Cr({offset:r,count:s}),0,Cr({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:_l(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:o.tracingOptions})))}async clearPages(e=0,r,n={}){return n.conditions=n.conditions||{},q.withSpan("PageBlobClient-clearPages",n,async s=>Y(await this.pageBlobContext.clearPages(0,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:Cr({offset:e,count:r}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:s.tracingOptions})))}async getPageRanges(e=0,r,n={}){return n.conditions=n.conditions||{},q.withSpan("PageBlobClient-getPageRanges",n,async s=>{let i=Y(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:Cr({offset:e,count:r}),tracingOptions:s.tracingOptions}));return Oy(i)})}async listPageRangesSegment(e=0,r,n,s={}){return q.withSpan("PageBlobClient-getPageRangesSegment",s,async i=>Y(await this.pageBlobContext.getPageRanges({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},range:Cr({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*RR(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:(i={})=>this.listPageRangeItemSegments(e,r,i.continuationToken,{maxPageSize:i.maxPageSize,...n})}}async getPageRangesDiff(e,r,n,s={}){return s.conditions=s.conditions||{},q.withSpan("PageBlobClient-getPageRangesDiff",s,async i=>{let o=Y(await this.pageBlobContext.getPageRangesDiff({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},prevsnapshot:n,range:Cr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return Oy(o)})}async listPageRangesDiffSegment(e,r,n,s,i={}){return q.withSpan("PageBlobClient-getPageRangesDiffSegment",i,async o=>Y(await this.pageBlobContext.getPageRangesDiff({abortSignal:i?.abortSignal,leaseAccessConditions:i?.conditions,modifiedAccessConditions:{...i?.conditions,ifTags:i?.conditions?.tagConditions},prevsnapshot:n,range:Cr({offset:e,count:r}),marker:s,maxPageSize:i?.maxPageSize,tracingOptions:o.tracingOptions})))}async*listPageRangeDiffItemSegments(e,r,n,s,i){let o;if(s||s===void 0)do o=await this.listPageRangesDiffSegment(e,r,n,s,i),s=o.continuationToken,yield await o;while(s)}async*listPageRangeDiffItems(e,r,n,s){let i;for await(let o of this.listPageRangeDiffItemSegments(e,r,n,i,s))yield*RR(o)}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={})=>this.listPageRangeDiffItemSegments(e,r,n,o.continuationToken,{maxPageSize:o.maxPageSize,...s})}}async getPageRangesDiffForManagedDisks(e,r,n,s={}){return s.conditions=s.conditions||{},q.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",s,async i=>{let o=Y(await this.pageBlobContext.getPageRangesDiff({abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},prevSnapshotUrl:n,range:Cr({offset:e,count:r}),tracingOptions:i.tracingOptions}));return Oy(o)})}async resize(e,r={}){return r.conditions=r.conditions||{},q.withSpan("PageBlobClient-resize",r,async n=>Y(await this.pageBlobContext.resize(e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async updateSequenceNumber(e,r,n={}){return n.conditions=n.conditions||{},q.withSpan("PageBlobClient-updateSequenceNumber",n,async s=>Y(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:n.abortSignal,blobSequenceNumber:r,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},tracingOptions:s.tracingOptions})))}async startCopyIncremental(e,r={}){return q.withSpan("PageBlobClient-startCopyIncremental",r,async n=>Y(await this.pageBlobContext.copyIncremental(e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}};var T4;(function(t){t[t.LOCKED=0]="LOCKED",t[t.UNLOCKED=1]="UNLOCKED"})(T4||(T4={}));var M4;(function(t){t.AES256="AES256"})(M4||(M4={}));var tE=class extends Error{constructor(e){super(e),this.name="InvalidResponseError"}};var Hl=class extends Error{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"}};Hl.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var za=class extends Error{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"}};za.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var nm=class extends Error{constructor(e){super(e),this.name="RateLimitError"}};var fIe=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})},lP=class{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);mt(`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=()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))};this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function L4(t,e,r){return fIe(this,void 0,void 0,function*(){var n;let s=new Di(t),i=s.getBlockBlobClient(),o=new lP((n=r?.archiveSizeBytes)!==null&&n!==void 0?n:0),a={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:o.onProgress()};try{o.startDisplayTimer(),N(`BlobClient: ${s.name}:${s.accountName}:${s.containerName}`);let c=yield i.uploadFile(e,a);if(c._response.status>=400)throw new tE(`uploadCacheArchiveSDK: upload failed with status code ${c._response.status}`);return c}catch(c){throw Fn(`uploadCacheArchiveSDK: internal error uploading cache archive: ${c.message}`),c}finally{o.stopDisplayTimer()}})}var F4=B(require("buffer"),1),Ys=B(require("fs"),1),U4=B(require("stream"),1),O4=B(require("util"),1);var rE=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})};function nE(t){return t?t>=200&&t<300:!1}function gIe(t){return t?t>=500:!0}function yIe(t){return t?[Ve.BadGateway,Ve.ServiceUnavailable,Ve.GatewayTimeout].includes(t):!1}function EIe(t){return rE(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}function _4(t,e,r){return rE(this,arguments,void 0,function*(n,s,i,o=Nf,a=Sf,c=void 0){let l="",A=1;for(;A<=o;){let u,d,m=!1;try{u=yield s()}catch(p){c&&(u=c(p)),m=!0,l=p.message}if(u&&(d=i(u),!gIe(d)))return u;if(d&&(m=yIe(d),l=`Cache service responded with ${d}`),N(`${n} - Attempt ${A} of ${o} failed with error: ${l}`),!m){N(`${n} - Error is not retryable`);break}yield EIe(a),A++}throw Error(`${n} failed: ${l}`)})}function sm(t,e){return rE(this,arguments,void 0,function*(r,n,s=Nf,i=Sf){return yield _4(r,n,o=>o.statusCode,s,i,o=>{if(o instanceof gs)return{statusCode:o.statusCode,result:null,headers:{},error:o}})})}function zl(t,e){return rE(this,arguments,void 0,function*(r,n,s=Nf,i=Sf){return yield _4(r,n,o=>o.message.statusCode,s,i)})}var Bn=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})};function CIe(t,e){return Bn(this,void 0,void 0,function*(){yield O4.promisify(U4.pipeline)(t.message,e)})}var sE=class{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,N(`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);mt(`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=()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))};this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function iE(t,e){return Bn(this,void 0,void 0,function*(){let r=Ys.createWriteStream(e),n=new Ei("actions/cache"),s=yield zl("downloadCache",()=>Bn(this,void 0,void 0,function*(){return n.get(t)}));s.message.socket.setTimeout(kw,()=>{s.message.destroy(),N(`Aborting download, socket timed out after ${kw} ms`)}),yield CIe(s,r);let i=s.message.headers["content-length"];if(i){let o=parseInt(i),a=fs(e);if(a!==o)throw new Error(`Incomplete download. Expected file size: ${o}, actual file size: ${a}`)}else N("Unable to validate download, no Content-Length header")})}function q4(t,e,r){return Bn(this,void 0,void 0,function*(){var n;let s=yield Ys.promises.open(e,"w"),i=new Ei("actions/cache",void 0,{socketTimeout:r.timeoutInMs,keepAlive:!0});try{let a=(yield zl("downloadCacheMetadata",()=>Bn(this,void 0,void 0,function*(){return yield i.request("HEAD",t,null,{})}))).message.headers["content-length"];if(a==null)throw new Error("Content-Length not found on blob response");let c=parseInt(a);if(Number.isNaN(c))throw new Error(`Could not interpret Content-Length: ${c}`);let l=[],A=4*1024*1024;for(let y=0;y<c;y+=A){let C=Math.min(A,c-y);l.push({offset:y,promiseGetter:()=>Bn(this,void 0,void 0,function*(){return yield IIe(i,t,y,C)})})}l.reverse();let u=0,d=0,m=new sE(c);m.startDisplayTimer();let p=m.onProgress(),f=[],E,g=()=>Bn(this,void 0,void 0,function*(){let y=yield Promise.race(Object.values(f));yield s.write(y.buffer,0,y.count,y.offset),u--,delete f[y.offset],d+=y.count,p({loadedBytes:d})});for(;E=l.pop();)f[E.offset]=E.promiseGetter(),u++,u>=((n=r.downloadConcurrency)!==null&&n!==void 0?n:10)&&(yield g());for(;u>0;)yield g()}finally{i.dispose(),yield s.close()}})}function IIe(t,e,r,n){return Bn(this,void 0,void 0,function*(){let i=0;for(;;)try{let a=yield z4(3e4,BIe(t,e,r,n));if(typeof a=="string")throw new Error("downloadSegmentRetry failed due to timeout");return a}catch(o){if(i>=5)throw o;i++}})}function BIe(t,e,r,n){return Bn(this,void 0,void 0,function*(){let s=yield zl("downloadCachePart",()=>Bn(this,void 0,void 0,function*(){return yield t.get(e,{Range:`bytes=${r}-${r+n-1}`})}));if(!s.readBodyBuffer)throw new Error("Expected HttpClientResponse to implement readBodyBuffer");return{offset:r,count:n,buffer:yield s.readBodyBuffer()}})}function H4(t,e,r){return Bn(this,void 0,void 0,function*(){var n;let s=new ql(t,void 0,{retryOptions:{tryTimeoutInMs:r.timeoutInMs}}),o=(n=(yield s.getProperties()).contentLength)!==null&&n!==void 0?n:-1;if(o<0)N("Unable to determine content length, downloading file with http-client..."),yield iE(t,e);else{let a=Math.min(134217728,F4.constants.MAX_LENGTH),c=new sE(o),l=Ys.openSync(e,"w");try{c.startDisplayTimer();let A=new AbortController,u=A.signal;for(;!c.isDone();){let d=c.segmentOffset+c.segmentSize,m=Math.min(a,o-d);c.nextSegment(m);let p=yield z4(r.segmentTimeoutInMs||36e5,s.downloadToBuffer(d,m,{abortSignal:u,concurrency:r.downloadConcurrency,onProgress:c.onProgress()}));if(p==="timeout")throw A.abort(),new Error("Aborting cache download as the download time exceeded the timeout.");Buffer.isBuffer(p)&&Ys.writeFileSync(l,p)}}finally{c.stopDisplayTimer(),Ys.closeSync(l)}}})}var z4=(t,e)=>Bn(void 0,void 0,void 0,function*(){let r,n=new Promise(s=>{r=setTimeout(()=>s("timeout"),t)});return Promise.race([e,n]).then(s=>(clearTimeout(r),s))});function AP(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),N(`Use Azure SDK: ${e.useAzureSdk}`),N(`Upload concurrency: ${e.uploadConcurrency}`),N(`Upload chunk size: ${e.uploadChunkSize}`),e}function G4(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),N(`Use Azure SDK: ${e.useAzureSdk}`),N(`Download concurrency: ${e.downloadConcurrency}`),N(`Request timeout (ms): ${e.timeoutInMs}`),N(`Cache segment download timeout mins env var: ${process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS}`),N(`Segment download timeout (ms): ${e.segmentTimeoutInMs}`),N(`Lookup only: ${e.lookupOnly}`),e}function uP(){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}function im(){return uP()?"v1":process.env.ACTIONS_CACHE_SERVICE_V2?"v2":"v1"}function oE(){let t=im();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}`)}}var W4=B(J4(),1);function aE(){return`@actions/cache-${W4.version}`}var Ir=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})};function om(t){let e=oE();if(!e)throw new Error("Cache Service Url not found, unable to restore cache.");let r=`${e}_apis/artifactcache/${t}`;return N(`Resource Url: ${r}`),r}function wIe(t,e){return`${t};api-version=${e}`}function bIe(){return{headers:{Accept:wIe("application/json","6.0-preview.1")}}}function dP(){let t=process.env.ACTIONS_RUNTIME_TOKEN||"",e=new pl(t);return new Ei(aE(),[e],bIe())}function K4(t,e,r){return Ir(this,void 0,void 0,function*(){let n=dP(),s=ml(e,r?.compressionMethod,r?.enableCrossOsArchive),i=`cache?keys=${encodeURIComponent(t.join(","))}&version=${s}`,o=yield sm("getCacheEntry",()=>Ir(this,void 0,void 0,function*(){return n.getJson(om(i))}));if(o.statusCode===204)return da()&&(yield NIe(t[0],n,s)),null;if(!nE(o.statusCode))throw new Error(`Cache service responded with ${o.statusCode}`);let a=o.result,c=a?.archiveLocation;if(!c)throw new Error("Cache not found.");return sl(c),N("Cache Result:"),N(JSON.stringify(a)),a})}function NIe(t,e,r){return Ir(this,void 0,void 0,function*(){let n=`caches?key=${encodeURIComponent(t)}`,s=yield sm("listCache",()=>Ir(this,void 0,void 0,function*(){return e.getJson(om(n))}));if(s.statusCode===200){let i=s.result,o=i?.totalCount;if(o&&o>0){N(`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 a of i?.artifactCaches||[])N(`Cache Key: ${a?.cacheKey}, Cache Version: ${a?.cacheVersion}, Cache Scope: ${a?.scope}, Cache Created: ${a?.creationTime}`)}}})}function mP(t,e,r){return Ir(this,void 0,void 0,function*(){let n=new j4.URL(t),s=G4(r);n.hostname.endsWith(".blob.core.windows.net")?s.useAzureSdk?yield H4(t,e,s):s.concurrentBlobDownloads?yield q4(t,e,s):yield iE(t,e):yield iE(t,e)})}function X4(t,e,r){return Ir(this,void 0,void 0,function*(){let n=dP(),s=ml(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:s,cacheSize:r?.cacheSize};return yield sm("reserveCache",()=>Ir(this,void 0,void 0,function*(){return n.postJson(om("caches"),i)}))})}function $4(t,e){return`bytes ${t}-${e}/*`}function SIe(t,e,r,n,s){return Ir(this,void 0,void 0,function*(){N(`Uploading chunk of size ${s-n+1} bytes at offset ${n} with content range: ${$4(n,s)}`);let i={"Content-Type":"application/octet-stream","Content-Range":$4(n,s)},o=yield zl(`uploadChunk (start: ${n}, end: ${s})`,()=>Ir(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!nE(o.message.statusCode))throw new Error(`Cache service responded with ${o.message.statusCode} during upload chunk.`)})}function RIe(t,e,r,n){return Ir(this,void 0,void 0,function*(){let s=fs(r),i=om(`caches/${e.toString()}`),o=Gl.openSync(r,"r"),a=AP(n),c=_w("uploadConcurrency",a.uploadConcurrency),l=_w("uploadChunkSize",a.uploadChunkSize),A=[...new Array(c).keys()];N("Awaiting all uploads");let u=0;try{yield Promise.all(A.map(()=>Ir(this,void 0,void 0,function*(){for(;u<s;){let d=Math.min(s-u,l),m=u,p=u+d-1;u+=l,yield SIe(t,i,()=>Gl.createReadStream(r,{fd:o,start:m,end:p,autoClose:!1}).on("error",f=>{throw new Error(`Cache upload failed because file read failed with ${f.message}`)}),m,p)}})))}finally{Gl.closeSync(o)}})}function PIe(t,e,r){return Ir(this,void 0,void 0,function*(){let n={size:r};return yield sm("commitCache",()=>Ir(this,void 0,void 0,function*(){return t.postJson(om(`caches/${e.toString()}`),n)}))})}function pP(t,e,r,n){return Ir(this,void 0,void 0,function*(){if(AP(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield L4(r,e,n)}else{let i=dP();N("Upload cache"),yield RIe(i,t,e,n),N("Commiting cache");let o=fs(e);mt(`Cache Size: ~${Math.round(o/(1024*1024))} MB (${o} B)`);let a=yield PIe(i,t,o);if(!nE(a.statusCode))throw new Error(`Cache service responded with ${a.statusCode} during commit cache.`);mt("Cache saved successfully")}})}var VW=B(UW(),1),lt=B(ct(),1),$r=B(ct(),1),Wa=B(ct(),1),$a=B(ct(),1),ja=B(ct(),1);var cv=B(ct(),1),lv=B(ct(),1),zW=B(ct(),1),GW=B(ct(),1),YW=B(ct(),1);var iv=B(ct(),1),ov=B(ct(),1),OW=B(ct(),1),qW=B(ct(),1),HW=B(ct(),1),av=class extends HW.MessageType{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,qW.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,OW.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,c]=e.tag();switch(a){case 1:i.scope=e.string();break;case 2:i.permission=e.int64().toString();break;default:let l=n.readUnknownField;if(l==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${c}) for ${this.typeName}`);let A=e.skip(c);l!==!1&&(l===!0?ov.UnknownFieldHandler.onRead:l)(this.typeName,i,a,c,A)}}return i}internalBinaryWrite(e,r,n){e.scope!==""&&r.tag(1,iv.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,iv.WireType.Varint).int64(e.permission);let s=n.writeUnknownFields;return s!==!1&&(s==!0?ov.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},VE=new av;var Av=class extends YW.MessageType{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:()=>VE}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,GW.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,zW.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,c]=e.tag();switch(a){case 1:i.repositoryId=e.int64().toString();break;case 2:i.scope.push(VE.internalBinaryRead(e,e.uint32(),n));break;default:let l=n.readUnknownField;if(l==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${c}) for ${this.typeName}`);let A=e.skip(c);l!==!1&&(l===!0?lv.UnknownFieldHandler.onRead:l)(this.typeName,i,a,c,A)}}return i}internalBinaryWrite(e,r,n){e.repositoryId!=="0"&&r.tag(1,cv.WireType.Varint).int64(e.repositoryId);for(let i=0;i<e.scope.length;i++)VE.internalBinaryWrite(e.scope[i],r.tag(2,cv.WireType.LengthDelimited).fork(),n).join();let s=n.writeUnknownFields;return s!==!1&&(s==!0?lv.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},js=new Av;var uv=class extends ja.MessageType{constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:()=>js},{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,$a.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Wa.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,c]=e.tag();switch(a){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 l=n.readUnknownField;if(l==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${c}) for ${this.typeName}`);let A=e.skip(c);l!==!1&&(l===!0?$r.UnknownFieldHandler.onRead:l)(this.typeName,i,a,c,A)}}return i}internalBinaryWrite(e,r,n){e.metadata&&js.internalBinaryWrite(e.metadata,r.tag(1,lt.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,lt.WireType.LengthDelimited).string(e.key),e.version!==""&&r.tag(3,lt.WireType.LengthDelimited).string(e.version);let s=n.writeUnknownFields;return s!==!1&&(s==!0?$r.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},gv=new uv,dv=class extends ja.MessageType{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,$a.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Wa.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,c]=e.tag();switch(a){case 1:i.ok=e.bool();break;case 2:i.signedUploadUrl=e.string();break;case 3:i.message=e.string();break;default:let l=n.readUnknownField;if(l==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${c}) for ${this.typeName}`);let A=e.skip(c);l!==!1&&(l===!0?$r.UnknownFieldHandler.onRead:l)(this.typeName,i,a,c,A)}}return i}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,lt.WireType.Varint).bool(e.ok),e.signedUploadUrl!==""&&r.tag(2,lt.WireType.LengthDelimited).string(e.signedUploadUrl),e.message!==""&&r.tag(3,lt.WireType.LengthDelimited).string(e.message);let s=n.writeUnknownFields;return s!==!1&&(s==!0?$r.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},yv=new dv,mv=class extends ja.MessageType{constructor(){super("github.actions.results.api.v1.FinalizeCacheEntryUploadRequest",[{no:1,name:"metadata",kind:"message",T:()=>js},{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,$a.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Wa.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,c]=e.tag();switch(a){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 l=n.readUnknownField;if(l==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${c}) for ${this.typeName}`);let A=e.skip(c);l!==!1&&(l===!0?$r.UnknownFieldHandler.onRead:l)(this.typeName,i,a,c,A)}}return i}internalBinaryWrite(e,r,n){e.metadata&&js.internalBinaryWrite(e.metadata,r.tag(1,lt.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,lt.WireType.LengthDelimited).string(e.key),e.sizeBytes!=="0"&&r.tag(3,lt.WireType.Varint).int64(e.sizeBytes),e.version!==""&&r.tag(4,lt.WireType.LengthDelimited).string(e.version);let s=n.writeUnknownFields;return s!==!1&&(s==!0?$r.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},Ev=new mv,pv=class extends ja.MessageType{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,$a.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Wa.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,c]=e.tag();switch(a){case 1:i.ok=e.bool();break;case 2:i.entryId=e.int64().toString();break;case 3:i.message=e.string();break;default:let l=n.readUnknownField;if(l==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${c}) for ${this.typeName}`);let A=e.skip(c);l!==!1&&(l===!0?$r.UnknownFieldHandler.onRead:l)(this.typeName,i,a,c,A)}}return i}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,lt.WireType.Varint).bool(e.ok),e.entryId!=="0"&&r.tag(2,lt.WireType.Varint).int64(e.entryId),e.message!==""&&r.tag(3,lt.WireType.LengthDelimited).string(e.message);let s=n.writeUnknownFields;return s!==!1&&(s==!0?$r.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},Cv=new pv,hv=class extends ja.MessageType{constructor(){super("github.actions.results.api.v1.GetCacheEntryDownloadURLRequest",[{no:1,name:"metadata",kind:"message",T:()=>js},{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,$a.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Wa.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,c]=e.tag();switch(a){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 l=n.readUnknownField;if(l==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${c}) for ${this.typeName}`);let A=e.skip(c);l!==!1&&(l===!0?$r.UnknownFieldHandler.onRead:l)(this.typeName,i,a,c,A)}}return i}internalBinaryWrite(e,r,n){e.metadata&&js.internalBinaryWrite(e.metadata,r.tag(1,lt.WireType.LengthDelimited).fork(),n).join(),e.key!==""&&r.tag(2,lt.WireType.LengthDelimited).string(e.key);for(let i=0;i<e.restoreKeys.length;i++)r.tag(3,lt.WireType.LengthDelimited).string(e.restoreKeys[i]);e.version!==""&&r.tag(4,lt.WireType.LengthDelimited).string(e.version);let s=n.writeUnknownFields;return s!==!1&&(s==!0?$r.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},Iv=new hv,fv=class extends ja.MessageType{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,$a.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,Wa.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,s){let i=s??this.create(),o=e.pos+r;for(;e.pos<o;){let[a,c]=e.tag();switch(a){case 1:i.ok=e.bool();break;case 2:i.signedDownloadUrl=e.string();break;case 3:i.matchedKey=e.string();break;default:let l=n.readUnknownField;if(l==="throw")throw new globalThis.Error(`Unknown field ${a} (wire type ${c}) for ${this.typeName}`);let A=e.skip(c);l!==!1&&(l===!0?$r.UnknownFieldHandler.onRead:l)(this.typeName,i,a,c,A)}}return i}internalBinaryWrite(e,r,n){e.ok!==!1&&r.tag(1,lt.WireType.Varint).bool(e.ok),e.signedDownloadUrl!==""&&r.tag(2,lt.WireType.LengthDelimited).string(e.signedDownloadUrl),e.matchedKey!==""&&r.tag(3,lt.WireType.LengthDelimited).string(e.matchedKey);let s=n.writeUnknownFields;return s!==!1&&(s==!0?$r.UnknownFieldHandler.onWrite:s)(this.typeName,e,r),r}},Bv=new fv,k3e=new VW.ServiceType("github.actions.results.api.v1.CacheService",[{name:"CreateCacheEntry",options:{},I:gv,O:yv},{name:"FinalizeCacheEntryUpload",options:{},I:Ev,O:Cv},{name:"GetCacheEntryDownloadURL",options:{},I:Iv,O:Bv}]);var JE=class{constructor(e){this.rpc=e,this.CreateCacheEntry.bind(this),this.FinalizeCacheEntryUpload.bind(this),this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(e){let r=gv.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",r).then(s=>yv.fromJson(s,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let r=Ev.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",r).then(s=>Cv.fromJson(s,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let r=Iv.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",r).then(s=>Bv.fromJson(s,{ignoreUnknownFields:!0}))}};function JW(t){if(t)try{let r=new URL(t).searchParams.get("sig");r&&(sl(r),sl(encodeURIComponent(r)))}catch(e){N(`Failed to parse URL: ${t} ${e instanceof Error?e.message:String(e)}`)}}function WW(t){if(typeof t!="object"||t===null){N("body is not an object or is null");return}"signed_upload_url"in t&&typeof t.signed_upload_url=="string"&&JW(t.signed_upload_url),"signed_download_url"in t&&typeof t.signed_download_url=="string"&&JW(t.signed_download_url)}var WE=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})},Qv=class{constructor(e,r,n,s){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let i=IG();this.baseUrl=oE(),r&&(this.maxAttempts=r),n&&(this.baseRetryIntervalMilliseconds=n),s&&(this.retryMultiplier=s),this.httpClient=new Ei(e,[new pl(i)])}request(e,r,n,s){return WE(this,void 0,void 0,function*(){let i=new URL(`/twirp/${e}/${r}`,this.baseUrl).href;N(`[Request] ${r} ${i}`);let o={"Content-Type":n};try{let{body:a}=yield this.retryableRequest(()=>WE(this,void 0,void 0,function*(){return this.httpClient.post(i,JSON.stringify(s),o)}));return a}catch(a){throw new Error(`Failed to ${r}: ${a.message}`)}})}retryableRequest(e){return WE(this,void 0,void 0,function*(){let r=0,n="",s="";for(;r<this.maxAttempts;){let i=!1;try{let a=yield e(),c=a.message.statusCode;s=yield a.readBody(),N(`[Response] - ${a.message.statusCode}`),N(`Headers: ${JSON.stringify(a.message.headers,null,2)}`);let l=JSON.parse(s);if(WW(l),N(`Body: ${JSON.stringify(l,null,2)}`),this.isSuccessStatusCode(c))return{response:a,body:l};if(i=this.isRetryableHttpStatusCode(c),n=`Failed request: (${c}) ${a.message.statusMessage}`,l.msg){if(za.isUsageErrorMessage(l.msg))throw new za;n=`${n}: ${l.msg}`}if(c===Ve.TooManyRequests){let A=a.message.headers["retry-after"];if(A){let u=parseInt(A,10);!isNaN(u)&&u>0&&Fn(`You've hit a rate limit, your rate limit will reset in ${u} seconds`)}throw new nm(`Rate limited: ${n}`)}}catch(a){if(a instanceof SyntaxError&&N(`Raw Body: ${s}`),a instanceof za||a instanceof nm)throw a;if(Hl.isNetworkErrorCode(a?.code))throw new Hl(a?.code);i=!0,n=a.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 o=this.getExponentialRetryTimeMilliseconds(r);mt(`Attempt ${r+1} of ${this.maxAttempts} failed with error: ${n}. Retrying request in ${o} ms...`),yield this.sleep(o),r++}throw new Error("Request failed")})}isSuccessStatusCode(e){return e?e>=200&&e<300:!1}isRetryableHttpStatusCode(e){return e?[Ve.BadGateway,Ve.GatewayTimeout,Ve.InternalServerError,Ve.ServiceUnavailable].includes(e):!1}sleep(e){return WE(this,void 0,void 0,function*(){return new Promise(r=>setTimeout(r,e))})}getExponentialRetryTimeMilliseconds(e){if(e<0)throw new Error("attempt should be a positive integer");if(e===0)return this.baseRetryIntervalMilliseconds;let r=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,e),n=r*this.retryMultiplier;return Math.trunc(Math.random()*(n-r)+r)}};function xv(t){let e=new Qv(aE(),t?.maxAttempts,t?.retryIntervalMs,t?.retryMultiplier);return new JE(e)}var $E=require("fs"),jr=B(require("path"),1);var Ti=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})},To=process.platform==="win32";function OQe(){return Ti(this,void 0,void 0,function*(){switch(process.platform){case"win32":{let t=yield CG(),e=fG;if(t)return{path:t,type:Fr.GNU};if((0,$E.existsSync)(e))return{path:e,type:Fr.BSD};break}case"darwin":{let t=yield ur("gtar",!1);return t?{path:t,type:Fr.GNU}:{path:yield ur("tar",!0),type:Fr.BSD}}default:break}return{path:yield ur("tar",!0),type:Fr.GNU}})}function qQe(t,e,r){return Ti(this,arguments,void 0,function*(n,s,i,o=""){let a=[`"${n.path}"`],c=go(s),l="cache.tar",A=$W(),u=n.type===Fr.BSD&&s!==Xt.Gzip&&To;switch(i){case"create":a.push("--posix","-cf",u?l:c.replace(new RegExp(`\\${jr.sep}`,"g"),"/"),"--exclude",u?l:c.replace(new RegExp(`\\${jr.sep}`,"g"),"/"),"-P","-C",A.replace(new RegExp(`\\${jr.sep}`,"g"),"/"),"--files-from",Mw);break;case"extract":a.push("-xf",u?l:o.replace(new RegExp(`\\${jr.sep}`,"g"),"/"),"-P","-C",A.replace(new RegExp(`\\${jr.sep}`,"g"),"/"));break;case"list":a.push("-tf",u?l:o.replace(new RegExp(`\\${jr.sep}`,"g"),"/"),"-P");break}if(n.type===Fr.GNU)switch(process.platform){case"win32":a.push("--force-local");break;case"darwin":a.push("--delay-directory-restore");break}return a})}function wv(t,e){return Ti(this,arguments,void 0,function*(r,n,s=""){let i,o=yield OQe(),a=yield qQe(o,r,n,s),c=n!=="create"?yield HQe(o,r,s):yield zQe(o,r),l=o.type===Fr.BSD&&r!==Xt.Gzip&&To;return l&&n!=="create"?i=[[...c].join(" "),[...a].join(" ")]:i=[[...a].join(" "),[...c].join(" ")],l?i:[i.join(" ")]})}function $W(){var t;return(t=process.env.GITHUB_WORKSPACE)!==null&&t!==void 0?t:process.cwd()}function HQe(t,e,r){return Ti(this,void 0,void 0,function*(){let n=t.type===Fr.BSD&&e!==Xt.Gzip&&To;switch(e){case Xt.Zstd:return n?["zstd -d --long=30 --force -o",td,r.replace(new RegExp(`\\${jr.sep}`,"g"),"/")]:["--use-compress-program",To?'"zstd -d --long=30"':"unzstd --long=30"];case Xt.ZstdWithoutLong:return n?["zstd -d --force -o",td,r.replace(new RegExp(`\\${jr.sep}`,"g"),"/")]:["--use-compress-program",To?'"zstd -d"':"unzstd"];default:return["-z"]}})}function zQe(t,e){return Ti(this,void 0,void 0,function*(){let r=go(e),n=t.type===Fr.BSD&&e!==Xt.Gzip&&To;switch(e){case Xt.Zstd:return n?["zstd -T0 --long=30 --force -o",r.replace(new RegExp(`\\${jr.sep}`,"g"),"/"),td]:["--use-compress-program",To?'"zstd -T0 --long=30"':"zstdmt --long=30"];case Xt.ZstdWithoutLong:return n?["zstd -T0 --force -o",r.replace(new RegExp(`\\${jr.sep}`,"g"),"/"),td]:["--use-compress-program",To?'"zstd -T0"':"zstdmt"];default:return["-z"]}})}function bv(t,e){return Ti(this,void 0,void 0,function*(){for(let r of t)try{yield oo(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}`)}})}function Im(t,e){return Ti(this,void 0,void 0,function*(){let r=yield wv(e,"list",t);yield bv(r)})}function Nv(t,e){return Ti(this,void 0,void 0,function*(){let r=$W();yield la(r);let n=yield wv(e,"extract",t);yield bv(n)})}function Sv(t,e,r){return Ti(this,void 0,void 0,function*(){(0,$E.writeFileSync)(jr.join(t,Mw),e.join(`
|
|
`));let n=yield wv(r,"create");yield bv(n,t)})}var aA=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(A){try{l(n.next(A))}catch(u){o(u)}}function c(A){try{l(n.throw(A))}catch(u){o(u)}}function l(A){A.done?i(A.value):s(A.value).then(a,c)}l((n=n.apply(t,e||[])).next())})},jn=class t extends Error{constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},oA=class t extends Error{constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},jE=class t extends Error{constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function jW(t){if(!t||t.length===0)throw new jn("Path Validation Error: At least one directory or file path is required")}function Rv(t){if(t.length>512)throw new jn(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new jn(`Key Validation Error: ${t} cannot contain commas.`)}function Pv(){return im()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}function KW(t,e,r,n){return aA(this,arguments,void 0,function*(s,i,o,a,c=!1){let l=im();return N(`Cache service version: ${l}`),jW(s),l==="v2"?yield YQe(s,i,o,a,c):yield GQe(s,i,o,a,c)})}function GQe(t,e,r,n){return aA(this,arguments,void 0,function*(s,i,o,a,c=!1){o=o||[];let l=[i,...o];if(N("Resolved Keys:"),N(JSON.stringify(l)),l.length>10)throw new jn("Key Validation Error: Keys are limited to a maximum of 10.");for(let d of l)Rv(d);let A=yield sd(),u="";try{let d=yield K4(l,s,{compressionMethod:A,enableCrossOsArchive:c});if(!d?.archiveLocation)return;if(a?.lookupOnly)return mt("Lookup only - skipping download"),d.cacheKey;u=Bm.join(yield rd(),go(A)),N(`Archive Path: ${u}`),yield mP(d.archiveLocation,u,a),da()&&(yield Im(u,A));let m=fs(u);return mt(`Cache Size: ~${Math.round(m/(1024*1024))} MB (${m} B)`),yield Nv(u,A),mt("Cache restored successfully"),d.cacheKey}catch(d){let m=d;if(m.name===jn.name)throw d;m instanceof gs&&typeof m.statusCode=="number"&&m.statusCode>=500?qu(`Failed to restore: ${d.message}`):Fn(`Failed to restore: ${d.message}`)}finally{try{yield nd(u)}catch(d){N(`Failed to delete archive: ${d}`)}}})}function YQe(t,e,r,n){return aA(this,arguments,void 0,function*(s,i,o,a,c=!1){a=Object.assign(Object.assign({},a),{useAzureSdk:!0}),o=o||[];let l=[i,...o];if(N("Resolved Keys:"),N(JSON.stringify(l)),l.length>10)throw new jn("Key Validation Error: Keys are limited to a maximum of 10.");for(let u of l)Rv(u);let A="";try{let u=xv(),d=yield sd(),m={key:i,restoreKeys:o,version:ml(s,d,c)},p=yield u.GetCacheEntryDownloadURL(m);if(!p.ok){N(`Cache not found for version ${m.version} of keys: ${l.join(", ")}`);return}if(m.key!==p.matchedKey?mt(`Cache hit for restore-key: ${p.matchedKey}`):mt(`Cache hit for: ${p.matchedKey}`),a?.lookupOnly)return mt("Lookup only - skipping download"),p.matchedKey;A=Bm.join(yield rd(),go(d)),N(`Archive path: ${A}`),N(`Starting download of archive to: ${A}`),yield mP(p.signedDownloadUrl,A,a);let E=fs(A);return mt(`Cache Size: ~${Math.round(E/(1024*1024))} MB (${E} B)`),da()&&(yield Im(A,d)),yield Nv(A,d),mt("Cache restored successfully"),p.matchedKey}catch(u){let d=u;if(d.name===jn.name)throw u;d instanceof gs&&typeof d.statusCode=="number"&&d.statusCode>=500?qu(`Failed to restore: ${u.message}`):Fn(`Failed to restore: ${u.message}`)}finally{try{A&&(yield nd(A))}catch(u){N(`Failed to delete archive: ${u}`)}}})}function vv(t,e,r){return aA(this,arguments,void 0,function*(n,s,i,o=!1){let a=im();return N(`Cache service version: ${a}`),jW(n),Rv(s),a==="v2"?yield JQe(n,s,i,o):yield VQe(n,s,i,o)})}function VQe(t,e,r){return aA(this,arguments,void 0,function*(n,s,i,o=!1){var a,c,l,A,u;let d=yield sd(),m=-1,p=yield Lw(n);if(N("Cache Paths:"),N(`${JSON.stringify(p)}`),p.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 f=yield rd(),E=Bm.join(f,go(d));N(`Archive Path: ${E}`);try{yield Sv(f,p,d),da()&&(yield Im(E,d));let g=10*1024*1024*1024,y=fs(E);if(N(`File Size: ${y}`),y>g&&!uP())throw new Error(`Cache size of ~${Math.round(y/(1024*1024))} MB (${y} B) is over the 10GB limit, not saving cache.`);N("Reserving Cache");let C=yield X4(s,n,{compressionMethod:d,enableCrossOsArchive:o,cacheSize:y});if(!((a=C?.result)===null||a===void 0)&&a.cacheId)m=(c=C?.result)===null||c===void 0?void 0:c.cacheId;else throw C?.statusCode===400?new Error((A=(l=C?.error)===null||l===void 0?void 0:l.message)!==null&&A!==void 0?A:`Cache size of ~${Math.round(y/(1024*1024))} MB (${y} B) is over the data cap limit, not saving cache.`):new oA(`Unable to reserve cache with key ${s}, another job may be creating this cache. More details: ${(u=C?.error)===null||u===void 0?void 0:u.message}`);N(`Saving Cache (ID: ${m})`),yield pP(m,E,"",i)}catch(g){let y=g;if(y.name===jn.name)throw g;y.name===oA.name?mt(`Failed to save: ${y.message}`):y instanceof gs&&typeof y.statusCode=="number"&&y.statusCode>=500?qu(`Failed to save: ${y.message}`):Fn(`Failed to save: ${y.message}`)}finally{try{yield nd(E)}catch(g){N(`Failed to delete archive: ${g}`)}}return m})}function JQe(t,e,r){return aA(this,arguments,void 0,function*(n,s,i,o=!1){i=Object.assign(Object.assign({},i),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let a=yield sd(),c=xv(),l=-1,A=yield Lw(n);if(N("Cache Paths:"),N(`${JSON.stringify(A)}`),A.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let u=yield rd(),d=Bm.join(u,go(a));N(`Archive Path: ${d}`);try{yield Sv(u,A,a),da()&&(yield Im(d,a));let m=fs(d);N(`File Size: ${m}`),i.archiveSizeBytes=m,N("Reserving Cache");let p=ml(n,a,o),f={key:s,version:p},E;try{let C=yield c.CreateCacheEntry(f);if(!C.ok)throw C.message&&Fn(`Cache reservation failed: ${C.message}`),new Error(C.message||"Response was not ok");E=C.signedUploadUrl}catch(C){throw N(`Failed to reserve cache: ${C}`),new oA(`Unable to reserve cache with key ${s}, another job may be creating this cache.`)}N(`Attempting to upload cache located at: ${d}`),yield pP(l,d,E,i);let g={key:s,version:p,sizeBytes:`${m}`},y=yield c.FinalizeCacheEntryUpload(g);if(N(`FinalizeCacheEntryUploadResponse: ${y.ok}`),!y.ok)throw y.message?new jE(y.message):new Error(`Unable to finalize cache with key ${s}, another job may be finalizing this cache.`);l=parseInt(y.entryId)}catch(m){let p=m;if(p.name===jn.name)throw m;p.name===oA.name?mt(`Failed to save: ${p.message}`):p.name===jE.name?Fn(p.message):p instanceof gs&&typeof p.statusCode=="number"&&p.statusCode>=500?qu(`Failed to save: ${p.message}`):Fn(`Failed to save: ${p.message}`)}finally{try{yield nd(d)}catch(m){N(`Failed to delete archive: ${m}`)}}return l})}var XW=B(require("util"),1),cA=class t{opts;ghaCacheKey;ghaNoCache;cacheDir;cachePath;static POST_CACHE_KEY="postCache";constructor(e){this.opts=e,this.ghaCacheKey=XW.format("%s-%s-%s",this.opts.htcName,this.opts.htcVersion,this.platform()),this.ghaNoCache=this.opts.ghaNoCache,this.cacheDir=kv.default.join(this.opts.baseCacheDir,this.opts.htcVersion,this.platform()),this.cachePath=kv.default.join(this.cacheDir,this.opts.cacheFile),KE.default.existsSync(this.cacheDir)||KE.default.mkdirSync(this.cacheDir,{recursive:!0})}async save(e,r){Lr(`Cache.save ${e}`);let n=this.copyToCache(e),s=await Zx(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform());if(Lr(`Cache.save cached to hosted tool cache ${s}`),!this.ghaNoCache&&Pv())if(r)try{Lr(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`),await vv([this.cacheDir],this.ghaCacheKey)}catch(i){lo(`Failed to save cache: ${i}`)}else Lr(`Cache.save sending ${this.ghaCacheKey} to post state`),Jh(t.POST_CACHE_KEY,JSON.stringify({dir:this.cacheDir,key:this.ghaCacheKey}));return n}async find(){try{let e=Gq(this.opts.htcName,this.opts.htcVersion,this.platform());if(e)return an(`Restored from hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`);if(!this.ghaNoCache&&Pv()){if(Lr("GitHub Actions cache feature available"),await KW([this.cacheDir],this.ghaCacheKey))return an(`Restored ${this.ghaCacheKey} from GitHub Actions cache`),e=await Zx(this.cacheDir,this.opts.htcName,this.opts.htcVersion,this.platform()),an(`Cached to hosted tool cache ${e}`),this.copyToCache(`${e}/${this.opts.cacheFile}`)}else this.ghaNoCache?an("GitHub Actions cache disabled"):an("GitHub Actions cache feature not available")}catch(e){lo(`Failed to restore cache: ${e}`)}return""}static async post(){let e=Z1(t.POST_CACHE_KEY);if(!e)return an("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{an(`Caching ${r.key} to GitHub Actions cache`),await vv([r.dir],r.key)}catch(n){lo(`Failed to save cache: ${n}`)}return r}copyToCache(e){return an(`Copying ${e} to ${this.cachePath}`),KE.default.copyFileSync(e,this.cachePath),this.cachePath}platform(){let e=process.config.variables.arm_version;return`${Dv.default.platform()}-${Dv.default.arch()}${e?"v"+e:""}`}};var ZW=!!process.env.STATE_isPost;ZW||Jh("isPost","true");async function e8(t,e){if(ZW)e&&await e(),await X1("Post cache",async()=>{await cA.post()});else try{await t()}catch(r){K1(r.message)}}var LD=B(require("fs"),1),C5=B(require("os"),1),Um=B(require("path"),1);var Uv=B(require("fs"),1),E8=B(require("os"),1),C8=B(require("path"),1),I8=B(y8(),1),eC=class t{static _tmpDir=Uv.default.mkdtempSync(C8.default.join(t.ensureDirExists(process.env.RUNNER_TEMP||E8.default.tmpdir()),"docker-actions-toolkit-"));static ensureDirExists(e){return Uv.default.mkdirSync(e,{recursive:!0}),e}static tmpDir(){return t._tmpDir}static tmpName(e){return I8.tmpNameSync(e)}};var Qm=class{static async exec(e,r,n){return Lr(`Exec.exec: ${e} ${r?.join(" ")}`),oo(e,r,n)}static async getExecOutput(e,r,n){return Lr(`Exec.getExecOutput: ${e} ${r?.join(" ")}`),Nu(e,r,n)}};var MD=B(require("crypto"),1),y5=B(require("fs"),1),Fm=B(require("path"),1),E5=B(u5(),1);var fe=class t extends Error{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 o in i){let a=i[o];this[o]=Buffer.isBuffer(a)?a.toString(n.encoding):a==null?a:JSON.parse(JSON.stringify(a))}}};var d5=function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)};var FC=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(d5(s)){if(typeof s.name!="string")throw new fe("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 fe("CSV_INVALID_COLUMN_DEFINITION",["Invalid column definition:","expect a string or a literal object,",`got ${JSON.stringify(s)} at position ${r}`])}return e};var DD=class{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}},kD=DD;var a0e=12,c0e=13,l0e=10,A0e=32,u0e=9,m5=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 kD(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 kD(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([c0e],"utf8").toString(),t.encoding),Buffer.from(Buffer.from([l0e],"utf8").toString(),t.encoding),Buffer.from(Buffer.from([a0e],"utf8").toString(),t.encoding),Buffer.from(Buffer.from([A0e],"utf8").toString(),t.encoding),Buffer.from(Buffer.from([u0e],"utf8").toString(),t.encoding)]}};var p5=function(t){return t.replace(/([A-Z])/g,function(e,r){return"_"+r.toLowerCase()})};var TD=function(t){let e={};for(let n in t)e[p5(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 fe("CSV_INVALID_OPTION_ENCODING",["Invalid option encoding:","encoding must be a string or null to return a buffer,",`got ${JSON.stringify(e.encoding)}`],e);if(e.bom===void 0||e.bom===null||e.bom===!1)e.bom=!1;else if(e.bom!==!0)throw new fe("CSV_INVALID_OPTION_BOM",["Invalid option bom:","bom must be true,",`got ${JSON.stringify(e.bom)}`],e);if(e.cast_function=null,e.cast===void 0||e.cast===null||e.cast===!1||e.cast==="")e.cast=void 0;else if(typeof e.cast=="function")e.cast_function=e.cast,e.cast=!0;else if(e.cast!==!0)throw new fe("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(e.cast)}`],e);if(e.cast_date===void 0||e.cast_date===null||e.cast_date===!1||e.cast_date==="")e.cast_date=!1;else if(e.cast_date===!0)e.cast_date=function(n){let s=Date.parse(n);return isNaN(s)?n:new Date(s)};else if(typeof e.cast_date!="function")throw new fe("CSV_INVALID_OPTION_CAST_DATE",["Invalid option cast_date:","cast_date must be true or a function,",`got ${JSON.stringify(e.cast_date)}`],e);if(e.cast_first_line_to_header=void 0,e.columns===!0)e.cast_first_line_to_header=void 0;else if(typeof e.columns=="function")e.cast_first_line_to_header=e.columns,e.columns=!0;else if(Array.isArray(e.columns))e.columns=FC(e.columns);else if(e.columns===void 0||e.columns===null||e.columns===!1)e.columns=!1;else throw new fe("CSV_INVALID_OPTION_COLUMNS",["Invalid option columns:","expect an array, a function or true,",`got ${JSON.stringify(e.columns)}`],e);if(e.group_columns_by_name===void 0||e.group_columns_by_name===null||e.group_columns_by_name===!1)e.group_columns_by_name=!1;else{if(e.group_columns_by_name!==!0)throw new fe("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","expect an boolean,",`got ${JSON.stringify(e.group_columns_by_name)}`],e);if(e.columns===!1)throw new fe("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","the `columns` mode must be activated."],e)}if(e.comment===void 0||e.comment===null||e.comment===!1||e.comment==="")e.comment=null;else if(typeof e.comment=="string"&&(e.comment=Buffer.from(e.comment,e.encoding)),!Buffer.isBuffer(e.comment))throw new fe("CSV_INVALID_OPTION_COMMENT",["Invalid option comment:","comment must be a buffer or a string,",`got ${JSON.stringify(e.comment)}`],e);if(e.comment_no_infix===void 0||e.comment_no_infix===null||e.comment_no_infix===!1)e.comment_no_infix=!1;else if(e.comment_no_infix!==!0)throw new fe("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(e.comment_no_infix)}`],e);let r=JSON.stringify(e.delimiter);if(Array.isArray(e.delimiter)||(e.delimiter=[e.delimiter]),e.delimiter.length===0)throw new fe("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],e);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 fe("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${r}`],e);return 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 fe("CSV_INVALID_OPTION_IGNORE_LAST_DELIMITERS",["Invalid option `ignore_last_delimiters`:","the value must be a boolean value or an integer,",`got ${JSON.stringify(e.ignore_last_delimiters)}`],e);if(e.ignore_last_delimiters===!0&&e.columns===!1)throw new fe("CSV_IGNORE_LAST_DELIMITERS_REQUIRES_COLUMNS",["The option `ignore_last_delimiters`","requires the activation of the `columns` option"],e);if(e.info===void 0||e.info===null||e.info===!1)e.info=!1;else if(e.info!==!0)throw new Error(`Invalid Option: info must be true, got ${JSON.stringify(e.info)}`);if(e.max_record_size===void 0||e.max_record_size===null||e.max_record_size===!1)e.max_record_size=0;else if(!(Number.isInteger(e.max_record_size)&&e.max_record_size>=0))if(typeof e.max_record_size=="string"&&/\d+/.test(e.max_record_size))e.max_record_size=parseInt(e.max_record_size);else throw new Error(`Invalid Option: max_record_size must be a positive integer, got ${JSON.stringify(e.max_record_size)}`);if(e.objname===void 0||e.objname===null||e.objname===!1)e.objname=void 0;else if(Buffer.isBuffer(e.objname)){if(e.objname.length===0)throw new Error("Invalid Option: objname must be a non empty buffer");e.encoding===null||(e.objname=e.objname.toString(e.encoding))}else if(typeof e.objname=="string"){if(e.objname.length===0)throw new Error("Invalid Option: objname must be a non empty string")}else if(typeof e.objname!="number")throw new Error(`Invalid Option: objname must be a string or a buffer, got ${e.objname}`);if(e.objname!==void 0){if(typeof e.objname=="number"){if(e.columns!==!1)throw Error("Invalid Option: objname index cannot be combined with columns or be defined as a field")}else if(e.columns===!1)throw Error("Invalid Option: objname field must be combined with columns or be defined as an index")}if(e.on_record===void 0||e.on_record===null)e.on_record=void 0;else if(typeof e.on_record!="function")throw new fe("CSV_INVALID_OPTION_ON_RECORD",["Invalid option `on_record`:","expect a function,",`got ${JSON.stringify(e.on_record)}`],e);if(e.on_skip!==void 0&&e.on_skip!==null&&typeof e.on_skip!="function")throw new Error(`Invalid Option: on_skip must be a function, got ${JSON.stringify(e.on_skip)}`);if(e.quote===null||e.quote===!1||e.quote==="")e.quote=null;else if(e.quote===void 0||e.quote===!0?e.quote=Buffer.from('"',e.encoding):typeof e.quote=="string"&&(e.quote=Buffer.from(e.quote,e.encoding)),!Buffer.isBuffer(e.quote))throw new Error(`Invalid Option: quote must be a buffer or a string, got ${JSON.stringify(e.quote)}`);if(e.raw===void 0||e.raw===null||e.raw===!1)e.raw=!1;else if(e.raw!==!0)throw new Error(`Invalid Option: raw must be true, got ${JSON.stringify(e.raw)}`);if(e.record_delimiter===void 0)e.record_delimiter=[];else if(typeof e.record_delimiter=="string"||Buffer.isBuffer(e.record_delimiter)){if(e.record_delimiter.length===0)throw new fe("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer,",`got ${JSON.stringify(e.record_delimiter)}`],e);e.record_delimiter=[e.record_delimiter]}else if(!Array.isArray(e.record_delimiter))throw new fe("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer,",`got ${JSON.stringify(e.record_delimiter)}`],e);if(e.record_delimiter=e.record_delimiter.map(function(n,s){if(typeof n!="string"&&!Buffer.isBuffer(n))throw new fe("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${s},`,`got ${JSON.stringify(n)}`],e);if(n.length===0)throw new fe("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${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};var h5=function(t){return t.every(e=>e==null||e.toString&&e.toString().trim()==="")},d0e=13,m0e=10,IA={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])},f5=function(t={}){let e={bytes:0,bytes_records:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0},r=TD(t);return{info:e,original_options:t,options:r,state:m5(r),__needMoreData:function(n,s,i){if(i)return!1;let{encoding:o,escape:a,quote:c}=this.options,{quoting:l,needMoreDataSize:A,recordDelimiterMaxLength:u}=this.state,d=s-n-1,m=Math.max(A,u===0?Buffer.from(`\r
|
|
`,o).length:u,l?(a===null?0:a.length)+c.length:0,l?c.length+u:0);return d<m},parse:function(n,s,i,o){let{bom:a,comment_no_infix:c,encoding:l,from_line:A,ltrim:u,max_record_size:d,raw:m,relax_quotes:p,rtrim:f,skip_empty_lines:E,to:g,to_line:y}=this.options,{comment:C,escape:I,quote:w,record_delimiter:D}=this.options,{bomSkipped:_,previousBuf:ae,rawBuffer:ge,escapeIsQuote:Be}=this.state,H;if(ae===void 0)if(n===void 0){o();return}else H=n;else ae!==void 0&&n===void 0?H=ae:H=Buffer.concat([ae,n]);if(_===!1)if(a===!1)this.state.bomSkipped=!0;else if(H.length<3){if(s===!1){this.state.previousBuf=H;return}}else{for(let de in IA)if(IA[de].compare(H,0,IA[de].length)===0){let At=IA[de].length;this.state.bufBytesStart+=At,H=H.slice(At);let He=TD({...this.original_options,encoding:de});for(let tt in He)this.options[tt]=He[tt];({comment:C,escape:I,quote:w}=this.options);break}this.state.bomSkipped=!0}let ee=H.length,F;for(F=0;F<ee&&!this.__needMoreData(F,ee,s);F++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),y!==-1&&this.info.lines>y){this.state.stop=!0,o();return}this.state.quoting===!1&&D.length===0&&this.__autoDiscoverRecordDelimiter(H,F)&&(D=this.options.record_delimiter);let de=H[F];if(m===!0&&ge.append(de),(de===d0e||de===m0e)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(I!==null&&this.state.quoting===!0&&this.__isEscape(H,F,de)&&F+I.length<ee)if(Be){if(this.__isQuote(H,F+I.length)){this.state.escaping=!0,F+=I.length-1;continue}}else{this.state.escaping=!0,F+=I.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(H,F))if(this.state.quoting===!0){let tt=H[F+w.length],ei=f&&this.__isCharTrimable(H,F+w.length),wr=C!==null&&this.__compareBytes(C,H,F+w.length,tt),Zn=this.__isDelimiter(H,F+w.length,tt),_o=D.length===0?this.__autoDiscoverRecordDelimiter(H,F+w.length):this.__isRecordDelimiter(tt,H,F+w.length);if(I!==null&&this.__isEscape(H,F,de)&&this.__isQuote(H,F+I.length))F+=I.length-1;else if(!tt||Zn||_o||wr||ei){this.state.quoting=!1,this.state.wasQuoting=!0,F+=w.length-1;continue}else if(p===!1){let nc=this.__error(new fe("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(tt)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(nc!==void 0)return nc}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(w),F+=w.length-1}else if(this.state.field.length!==0){if(p===!1){let tt=this.__infoField(),ei=Object.keys(IA).map(Zn=>IA[Zn].equals(this.state.field.toString())?Zn:!1).filter(Boolean)[0],wr=this.__error(new fe("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(tt.column)} at line ${tt.lines}, value is ${JSON.stringify(this.state.field.toString(l))}`,ei?`(${ei} bom)`:void 0],this.options,tt,{field:this.state.field}));if(wr!==void 0)return wr}}else{this.state.quoting=!0,F+=w.length-1;continue}if(this.state.quoting===!1){let tt=this.__isRecordDelimiter(de,H,F);if(tt!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=A){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),F+=tt-1;continue}if(E===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,F+=tt-1;continue}this.info.bytes=this.state.bufBytesStart+F;let Zn=this.__onField();if(Zn!==void 0)return Zn;this.info.bytes=this.state.bufBytesStart+F+tt;let _o=this.__onRecord(i);if(_o!==void 0)return _o;if(g!==-1&&this.info.records>=g){this.state.stop=!0,o();return}}this.state.commenting=!1,F+=tt-1;continue}if(this.state.commenting)continue;if(C!==null&&(c===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(C,H,F,de)!==0){this.state.commenting=!0;continue}let ei=this.__isDelimiter(H,F,de);if(ei!==0){this.info.bytes=this.state.bufBytesStart+F;let wr=this.__onField();if(wr!==void 0)return wr;F+=ei-1;continue}}}if(this.state.commenting===!1&&d!==0&&this.state.record_length+this.state.field.length>d)return this.__error(new fe("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${d}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let At=u===!1||this.state.quoting===!0||this.state.field.length!==0||!this.__isCharTrimable(H,F),He=f===!1||this.state.wasQuoting===!1;if(At===!0&&He===!0)this.state.field.append(de);else{if(f===!0&&!this.__isCharTrimable(H,F))return this.__error(new fe("CSV_NON_TRIMABLE_CHAR_AFTER_CLOSING_QUOTE",["Invalid Closing Quote:","found non trimable byte after quote",`at line ${this.info.lines}`],this.options,this.__infoField()));At===!1&&(F+=this.__isCharTrimable(H,F)-1);continue}}if(s===!0)if(this.state.quoting===!0){let de=this.__error(new fe("CSV_QUOTE_NOT_CLOSED",["Quote Not Closed:",`the parsing is finished with an opening quote at line ${this.info.lines}`],this.options,this.__infoField()));if(de!==void 0)return de}else if(this.state.wasQuoting===!0||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+F;let de=this.__onField();if(de!==void 0)return de;let At=this.__onRecord(i);if(At!==void 0)return At}else this.state.wasRowDelimiter===!0?this.info.empty_lines++:this.state.commenting===!0&&this.info.comment_lines++;else this.state.bufBytesStart+=F,this.state.previousBuf=H.slice(F);this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1)},__onRecord:function(n){let{columns:s,group_columns_by_name:i,encoding:o,info:a,from:c,relax_column_count:l,relax_column_count_less:A,relax_column_count_more:u,raw:d,skip_records_with_empty_values:m}=this.options,{enabled:p,record:f}=this.state;if(p===!1)return this.__resetRecord();let E=f.length;if(s===!0){if(m===!0&&h5(f)){this.__resetRecord();return}return this.__firstLineToColumns(f)}if(s===!1&&this.info.records===0&&(this.state.expectedRecordLength=E),E!==this.state.expectedRecordLength){let g=s===!1?new fe("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${E} on line ${this.info.lines}`],this.options,this.__infoField(),{record:f}):new fe("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${s.length},`,`got ${E} on line ${this.info.lines}`],this.options,this.__infoField(),{record:f});if(l===!0||A===!0&&E<this.state.expectedRecordLength||u===!0&&E>this.state.expectedRecordLength)this.info.invalid_field_length++,this.state.error=g;else{let y=this.__error(g);if(y)return y}}if(m===!0&&h5(f)){this.__resetRecord();return}if(this.state.recordHasError===!0){this.__resetRecord(),this.state.recordHasError=!1;return}if(this.info.records++,c===1||this.info.records>=c){let{objname:g}=this.options;if(s!==!1){let y={};for(let C=0,I=f.length;C<I;C++)s[C]===void 0||s[C].disabled||(i===!0&&y[s[C].name]!==void 0?Array.isArray(y[s[C].name])?y[s[C].name]=y[s[C].name].concat(f[C]):y[s[C].name]=[y[s[C].name],f[C]]:y[s[C].name]=f[C]);if(d===!0||a===!0){let C=Object.assign({record:y},d===!0?{raw:this.state.rawBuffer.toString(o)}:{},a===!0?{info:this.__infoRecord()}:{}),I=this.__push(g===void 0?C:[y[g],C],n);if(I)return I}else{let C=this.__push(g===void 0?y:[y[g],y],n);if(C)return C}}else if(d===!0||a===!0){let y=Object.assign({record:f},d===!0?{raw:this.state.rawBuffer.toString(o)}:{},a===!0?{info:this.__infoRecord()}:{}),C=this.__push(g===void 0?y:[f[g],y],n);if(C)return C}else{let y=this.__push(g===void 0?f:[f[g],f],n);if(y)return y}}this.__resetRecord()},__firstLineToColumns: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 fe("CSV_INVALID_COLUMN_MAPPING",["Invalid Column Mapping:","expect an array from column function,",`got ${JSON.stringify(i)}`],this.options,this.__infoField(),{headers:i}));let o=FC(i);this.state.expectedRecordLength=o.length,this.options.columns=o,this.__resetRecord();return}catch(i){return i}},__resetRecord:function(){this.options.raw===!0&&this.state.rawBuffer.reset(),this.state.error=void 0,this.state.record=[],this.state.record_length=0},__onField:function(){let{cast:n,encoding:s,rtrim:i,max_record_size:o}=this.options,{enabled:a,wasQuoting:c}=this.state;if(a===!1)return this.__resetField();let l=this.state.field.toString(s);if(i===!0&&c===!1&&(l=l.trimRight()),n===!0){let[A,u]=this.__cast(l);if(A!==void 0)return A;l=u}this.state.record.push(l),o!==0&&typeof l=="string"&&(this.state.record_length+=l.length),this.__resetField()},__resetField:function(){this.state.field.reset(),this.state.wasQuoting=!1},__push:function(n,s){let{on_record:i}=this.options;if(i!==void 0){let o=this.__infoRecord();try{n=i.call(null,n,o)}catch(a){return a}if(n==null)return}this.info.bytes_records+=this.info.bytes,s(n)},__cast: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 a=this.__infoField();return[void 0,this.state.castField.call(null,n,a)]}catch(a){return[a]}if(this.__isFloat(n))return[void 0,parseFloat(n)];if(this.options.cast_date!==!1){let a=this.__infoField();return[void 0,this.options.cast_date.call(null,n,a)]}return[void 0,n]},__isCharTrimable:function(n,s){return((o,a)=>{let{timchars:c}=this.state;e:for(let l=0;l<c.length;l++){let A=c[l];for(let u=0;u<A.length;u++)if(A[u]!==o[a+u])continue e;return A.length}return 0})(n,s)},__isFloat:function(n){return n-parseFloat(n)+1>=0},__compareBytes:function(n,s,i,o){if(n[0]!==o)return 0;let a=n.length;for(let c=1;c<a;c++)if(n[c]!==s[i+c])return 0;return a},__isDelimiter:function(n,s,i){let{delimiter:o,ignore_last_delimiters:a}=this.options;if(a===!0&&this.state.record.length===this.options.columns.length-1)return 0;if(a!==!1&&typeof a=="number"&&this.state.record.length===a-1)return 0;e:for(let c=0;c<o.length;c++){let l=o[c];if(l[0]===i){for(let A=1;A<l.length;A++)if(l[A]!==n[s+A])continue e;return l.length}}return 0},__isRecordDelimiter:function(n,s,i){let{record_delimiter:o}=this.options,a=o.length;e:for(let c=0;c<a;c++){let l=o[c],A=l.length;if(l[0]===n){for(let u=1;u<A;u++)if(l[u]!==s[i+u])continue e;return l.length}}return 0},__isEscape:function(n,s,i){let{escape:o}=this.options;if(o===null)return!1;let a=o.length;if(o[0]===i){for(let c=0;c<a;c++)if(o[c]!==n[s+c])return!1;return!0}return!1},__isQuote:function(n,s){let{quote:i}=this.options;if(i===null)return!1;let o=i.length;for(let a=0;a<o;a++)if(i[a]!==n[s+a])return!1;return!0},__autoDiscoverRecordDelimiter:function(n,s){let{encoding:i}=this.options,o=[Buffer.from(`\r
|
|
`,i),Buffer.from(`
|
|
`,i),Buffer.from("\r",i)];e:for(let a=0;a<o.length;a++){let c=o[a].length;for(let l=0;l<c;l++)if(o[a][l]!==n[s+l])continue e;return this.options.record_delimiter.push(o[a]),this.state.recordDelimiterMaxLength=o[a].length,o[a].length}return 0},__error:function(n){let{encoding:s,raw:i,skip_records_with_error:o}=this.options,a=typeof n=="string"?new Error(n):n;if(o){if(this.state.recordHasError=!0,this.options.on_skip!==void 0)try{this.options.on_skip(a,i?this.state.rawBuffer.toString(s):void 0)}catch(c){return c}return}else return a},__infoDataSet:function(){return{...this.info,columns:this.options.columns}},__infoRecord: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}},__infoField: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}}}};var g5=function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?{}:[],n=f5(e),s=a=>{n.options.objname===void 0?r.push(a):r[a[0]]=a[1]},i=()=>{},o=n.parse(t,!0,s,i);if(o!==void 0)throw o;return r};var BA=class t{static getInputList(e,r){return this.getList(Dx(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let n=[];if(e=="")return n;let s=g5(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=Dx(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 ur("powershell",!0),s=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=[];if(r)for(let o in r)i.push(`-${o} '${r[o].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 y5.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 MD.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 MD.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=Fm.default.resolve(e);return Fm.default.resolve(r).startsWith(n.endsWith(Fm.default.sep)?n:`${n}${Fm.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,o=[];return n&&o.push(`${n}h`),s&&o.push(`${s}m`),(i||o.length===0)&&o.push(`${i}s`),o.join("")}};var Xn=class t{static get configDir(){return process.env.DOCKER_CONFIG||Um.default.join(C5.default.homedir(),".docker")}static configFile(){let e=Um.default.join(t.configDir,"config.json");if(LD.default.existsSync(e))return JSON.parse(LD.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await ur("docker",!0).then(e=>(Lr(`Docker.isAvailable ok: ${e}`),!0)).catch(e=>(Lr(`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 Qm.exec("docker",e,t.execOptions(r))}static async getExecOutput(e,r){return Qm.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,"--"),o=new cA({htcName:s,htcVersion:i,baseCacheDir:Um.default.join(t.configDir,".cache","images",s),cacheFile:"image.tar"}),a;r&&(a=await o.find(),a&&(an(`Image found from cache in ${a}`),await t.getExecOutput(["load","-i",a],{ignoreReturnCode:!0}).then(l=>{l.stderr.length>0&&l.exitCode!=0&&lo(`Failed to load image from cache: ${l.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`)})));let c=!0;if(await t.getExecOutput(["pull",e],{ignoreReturnCode:!0}).then(l=>{if(l.stderr.length>0&&l.exitCode!=0){c=!1;let A=l.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error";if(a)lo(`Failed to pull image, using one from cache: ${A}`);else throw new Error(A)}}),r&&c){let l=Um.default.join(eC.tmpDir(),`${BA.hash(e)}.tar`);await t.getExecOutput(["save","-o",l,e],{ignoreReturnCode:!0}).then(async A=>{if(A.stderr.length>0&&A.exitCode!=0)lo(`Failed to save image: ${A.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);else{let u=await o.save(l);an(`Image cached to ${u}`)}})}}};function I5(){return{image:Qx("image")||"docker.io/tonistiigi/binfmt:latest",platforms:BA.getInputList("platforms").join(",")||"all",reset:xx("reset"),cacheImage:xx("cache-image")}}e8(async()=>{let t=I5();await ao("Docker info",async()=>{await Xn.printVersion(),await Xn.printInfo()}),await ao("Pulling binfmt Docker image",async()=>{await Xn.pull(t.image,t.cacheImage)}),await ao("Image info",async()=>{await Xn.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 ao("Binfmt version",async()=>{await Xn.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 ao("Uninstalling current emulators",async()=>{await Xn.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 ao("Installing QEMU static binaries",async()=>{await Xn.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 ao("Extracting available platforms",async()=>{await Xn.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());zh(`${r.supported.join(",")}`),O1("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
|